/* R307: native numeric entry and readable ruler bands on narrow screens. */
[data-luban-r307] {min-width:0}
[data-luban-r307] .dq-input {font-size:16px;min-height:44px;width:100%;box-sizing:border-box}
[data-luban-r307] .luban-bands {grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;border:0;overflow:visible}
[data-luban-r307] .luban-band {writing-mode:horizontal-tb;min-height:48px;padding:10px 6px;display:grid;place-items:center;border-radius:8px;overflow-wrap:anywhere;font-size:15px;line-height:1.4;color:#132e26}
[data-luban-r307] .luban-band.active {outline:3px solid #75520a;outline-offset:-3px;font-weight:700}
[data-luban-r307] [data-luban-result] {line-height:1.65;overflow-wrap:anywhere}
[data-luban-r307] :focus-visible {outline:3px solid #b98b2e;outline-offset:3px}
@media(min-width:700px){[data-luban-r307] .luban-bands{grid-template-columns:repeat(8,minmax(0,1fr))}[data-luban-r307] .luban-bands[data-luban-count="10"]{grid-template-columns:repeat(10,minmax(0,1fr))}}
@media(max-width:380px){[data-luban-r307] .luban-bands{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* DQ_APP_COMPACT_R315_START */
/* App only: hide the family shortcut and the website overview/FAQ footer. */
#app .home-content > section.dq308-legacy-panel[data-r308-tools],
body > aside.dq312-app-overview {
  display: none !important;
}
/* DQ_APP_COMPACT_R315_END */
