/* Phone layout and touch targets only; native visibility, limits and actions stay in charge. */
@media screen and (max-width:1000px){
 body.gcbg-sketchbook-preview #gc-navigation a{font-size:16px;line-height:1.45;min-height:48px;display:flex;align-items:center;padding:11px 8px;white-space:normal}
 body.gcbg-sketchbook-preview #gc-navigation.is-open{max-height:calc(100svh - var(--gcbg-mobile-nav-top,94px) - 12px);overflow-y:auto;overscroll-behavior:contain;gap:3px}
 body.gcbg-sketchbook-preview .gc-menu-toggle{min-height:46px;min-width:76px;font-size:16px}
}
@media screen and (max-width:780px){
 body.gcbg-sketchbook-preview :is(#gcbg-q,#gcbg-c,#gcbg-m,#gcbg-account-panel,#gcbg-sharing-panel,#gcbg-registry-app,.gcbr-hub) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:max(16px,1em);min-height:46px;box-sizing:border-box;min-width:0;max-width:100%}
 body.gcbg-sketchbook-preview :is(#gcbg-q,#gcbg-c,#gcbg-m,#gcbg-account-panel,#gcbg-sharing-panel,#gcbg-registry-app,.gcbr-hub) :is(button,.a-button,.r-button){min-height:44px;white-space:normal;overflow-wrap:anywhere}
 body.gcbg-sketchbook-preview :is(#gcbg-c .c-product-body,#gcbg-q .q-item>div,#gcbg-q .q-product-card,#gcbg-account-panel .a-card,#gcbg-sharing-panel .a-card,#gcbg-registry-app .r-panel,#gcbg-registry-app .r-product-info,#gcbg-registry-app .r-hero>div){min-width:0}
 body.gcbg-sketchbook-preview :is(#gcbg-c .c-product h3,#gcbg-c .c-unit,#gcbg-q .q-product-card h3,#gcbg-account-panel .a-card li,#gcbg-sharing-panel .s-access,#gcbg-registry-app #r-title,#gcbg-registry-app #r-intro,#gcbg-registry-app .r-product-info h3,#gcbg-registry-app .r-message,#gcbg-registry-app .r-gift-note){overflow-wrap:anywhere;word-break:normal}
 body.gcbg-sketchbook-preview :is(#gcbg-q,#gcbg-c,#gcbg-m,#gcbg-account-panel,#gcbg-sharing-panel,#gcbg-registry-app) :is(summary){min-height:44px;padding-block:11px;box-sizing:border-box;font-size:16px;line-height:1.4;cursor:pointer}
 body.gcbg-sketchbook-preview #gcbg-q[data-gcbg-flow-questionnaire=ready] .q-progress{display:none}
 body.gcbg-sketchbook-preview #gcbg-q :is(.q-choice,.q-affordable-label){min-height:46px}
 body.gcbg-sketchbook-preview #gcbg-q .q-affordable-label{display:flex;align-items:center;gap:10px;padding-block:8px;font-size:15px}
 body.gcbg-sketchbook-preview #gcbg-q label[for^=ready-]{display:flex;align-items:center;min-height:44px;padding-block:8px;font-size:16px;line-height:1.45}
 body.gcbg-sketchbook-preview :is(#gcbg-c .c-check,#gcbg-m .m-check,#gcbg-sharing-panel .s-check,#gcbg-registry-app .r-check){display:flex;align-items:flex-start;min-height:44px;padding-block:8px;gap:10px;font-size:15px;line-height:1.5}
 body.gcbg-sketchbook-preview :is(#gcbg-q .q-affordable-label,#gcbg-c .c-check,#gcbg-m .m-check,#gcbg-sharing-panel .s-check,#gcbg-registry-app .r-check) input[type=checkbox]{flex:0 0 21px;width:21px;height:21px;margin-top:2px}
 body.gcbg-sketchbook-preview :is(#gcbg-q .q-product-actions a,#gcbg-c .c-bottom>a,#gcbg-m td>a,#gcbg-registry-app .r-retailer){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 12px;font-size:15px;line-height:1.45;box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
 body.gcbg-sketchbook-preview :is(#gcbg-q,#gcbg-c,#gcbg-m,#gcbg-registry-app) a.gcbg-amazon-link{display:flex;align-items:center;justify-content:center;min-height:46px;padding:11px 12px;font-size:15px;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 body.gcbg-sketchbook-preview :is(#gcbg-m .m-scroll,#gcbg-q .q-inline-comparison){max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
 body.gcbg-sketchbook-preview :is(#gcbg-q,#gcbg-c,#gcbg-m,#gcbg-account-panel,#gcbg-sharing-panel,#gcbg-registry-app) :is([tabindex='-1'],form,[id$='-results']){scroll-margin-top:calc(var(--gcbg-mobile-sticky-top,104px) + 12px)}
 body.gcbg-sketchbook-preview :is(#gcbg-account-panel,#gcbg-sharing-panel) :is(.a-text,.a-actions>a,.a-actions>button,.a-card>a){display:inline-flex;align-items:center;min-height:46px;padding:10px 12px;box-sizing:border-box;line-height:1.45;font-size:15px;max-width:100%;overflow-wrap:anywhere}
 body.gcbg-sketchbook-preview #gcbg-sharing-panel #s-url{min-width:0;max-width:100%;width:100%;box-sizing:border-box;font-size:16px}
 body.gcbg-sketchbook-preview #gcbg-registry-app :is(.r-text-button,.r-removed-row button){min-height:44px;padding:10px 12px;font-size:15px;line-height:1.4;max-width:100%}
 body.gcbg-sketchbook-preview #gcbg-registry-app input[readonly]{font-size:16px}
 body.gcbg-sketchbook-preview .r-toast{box-sizing:border-box;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;max-width:none;padding:18px 90px 18px 18px;overflow-wrap:anywhere;font-size:15px}
 body.gcbg-sketchbook-preview .r-toast .r-toast-close{top:4px;right:4px;min-width:70px;min-height:44px;padding:10px 8px;font-size:14px;line-height:1.4}
 body.gcbg-sketchbook-preview .gc-footer-links a{display:flex;align-items:center;min-height:44px;padding-block:9px;font-size:16px;line-height:1.45}
 body.gcbg-sketchbook-preview .gc-footer-bottom{gap:14px;flex-wrap:wrap}
}
@media screen and (max-width:640px){
 body.gcbg-sketchbook-preview .gc-header-inner{padding:12px 16px;gap:12px}
 body.gcbg-sketchbook-preview .gc-header .gc-wordmark{min-width:0;gap:8px}
 body.gcbg-sketchbook-preview .gc-header .gc-wordmark svg{width:34px;height:34px;flex:0 0 34px}
 body.gcbg-sketchbook-preview .gc-header .gc-wordmark strong{font-size:27px;white-space:nowrap}
 body.gcbg-sketchbook-preview .gc-header .gc-wordmark small{font-size:9px;letter-spacing:.14em}
 body.gcbg-sketchbook-preview #gc-navigation.is-open{padding:10px 16px}
 body.gcbg-sketchbook-preview .gcbg-flow-compare-bar{top:var(--gcbg-mobile-sticky-top,98px);display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px 12px}
 body.gcbg-sketchbook-preview .gcbg-flow-compare-bar>span{font-size:14px;line-height:1.4;min-width:0}
 body.gcbg-sketchbook-preview #gcbg-c .gcbg-flow-compare-bar button{min-height:44px;padding:10px 12px;font-size:14px;line-height:1.4;white-space:nowrap}
 body.gcbg-sketchbook-preview #gcbg-c .gcbg-flow-compare-bar button:disabled{display:none}
 body.gcbg-sketchbook-preview .gcbg-flow-compare-bar:has(button:disabled){grid-template-columns:minmax(0,1fr) auto}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-search-form{grid-template-columns:minmax(0,1fr)}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-search-form button{grid-column:auto;width:100%}
}
@media screen and (max-width:480px){
 body.gcbg-sketchbook-preview #gcbg-q .q-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 body.gcbg-sketchbook-preview #gcbg-q .q-actions>*{width:100%;flex:auto;min-width:0}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-reserve-form{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:stretch}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-reserve-form .r-label{min-width:0;max-width:none;margin:10px 0 0}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-reserve-form button{width:100%;min-height:46px}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-removed-row{flex-direction:column;align-items:stretch;gap:10px}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-removed-row span{min-width:0;overflow-wrap:anywhere}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-removed-row button{width:100%}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
 body.gcbg-sketchbook-preview #gcbg-registry-app .r-actions>*{width:100%;box-sizing:border-box}
}
@media screen and (max-width:480px){
 body.gcbg-sketchbook-preview #gcbg-q .q-card{padding:18px 16px}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-panel{display:flex;flex-direction:column;padding:18px 14px}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-panel>h3{order:0}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-panel>.gcbg-flow-actions{order:1;margin-top:2px}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-status{order:2}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-instructions{order:3;margin-top:14px}
 body.gcbg-sketchbook-preview #gcbg-q #gcbg-flow-q-context{order:4}
}
