/* Viewport contract: external switch + one app frame; only content panes scroll. */
body.is-compact{height:100dvh;overflow:hidden}body.is-compact>.topbar{box-sizing:border-box;flex-wrap:nowrap;height:64px;min-height:64px}
body.is-compact>#app{height:calc(100dvh - 64px);min-height:0;overflow:hidden}
body.is-compact .cu-device:not(.cu-editor-device){box-sizing:border-box;height:100%;max-height:100%;margin-top:0;margin-bottom:0}
.cu-app,.cu-main,.cu-shared-home,.cu-nearby,.cu-simple-page{box-sizing:border-box;max-width:100%}.cu-main{overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain}
.cu-nearby,.cu-simple-page{height:auto;min-height:100%;overflow:visible}.cu-nearby>.cu-result-pages{flex:0 0 auto}.cu-simple-page>.cu-fill{min-height:120px;height:auto;overflow:visible}
.cu-app button,.cu-app select,.topbar nav button,.modal button,.modal a,.sidebar button{min-height:44px;min-width:44px;box-sizing:border-box}
.cu-pager{height:44px}.cu-pager button{height:44px}.cu-filter{width:44px}.cu-search-row input{height:44px}.cu-newcomer{min-height:44px}.cu-coupon{grid-template-rows:minmax(0,1fr) 44px}
.cu-section-tabs{gap:8px}.cu-section-tabs button{padding-left:5px;padding-right:5px}.cu-brand-options{display:flex;flex-direction:column;gap:4px;max-height:176px;padding:4px;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y}.cu-brand-options button{flex:0 0 auto;text-align:left}.cu-brand-options .on{background:#e4edda;color:#214f35;font-weight:bold}
.cu-brand-trigger{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border:1px solid #dae3cf;background:#fff;border-radius:9px;padding:6px 10px;color:#36583b}.cu-brand-trigger span{font-size:12px;color:#386047}
.cu-horizontal{touch-action:pan-x;overscroll-behavior-x:contain;padding-right:4px}.cu-coupon{overflow-y:auto}.cu-local-scroll{-webkit-overflow-scrolling:touch}.sidebar{overscroll-behavior:contain}
.audit-sample{display:block;text-align:center;color:#526c45;background:#eef2e5;border-radius:8px;padding:8px;font-size:12px;margin:0 0 6px}.audit-status{font-size:12px;line-height:1.6;color:#7a6240;margin:4px 0}
@media(min-width:700px){body.is-compact .cu-device:not(.cu-editor-device){height:min(900px,100%);margin:0 auto}}
@media(max-width:699px){.topbar .brand{display:none!important}.topbar nav{margin:auto!important}.cu-nearby{padding:8px 12px 12px}}
/* Coupon content must not be clipped when tabs and touch targets grow. */
.cu-shared-home .cu-module-panel{min-height:max(220px,var(--configured-height));flex-basis:max(220px,var(--configured-height))}.cu-synced-panel>.cu-section-content{min-height:170px}.cu-shared-home .cu-coupon{min-height:160px}.cu-app *{overflow-wrap:anywhere}.cu-app input{overflow-wrap:normal}
