@media(max-width:899px){
body.mobile-preview-active main{margin:0;padding:0;width:100%;min-height:0}
body.mobile-preview-active main>header{height:62px;min-height:62px;padding:8px 14px;display:flex;justify-content:space-between;gap:8px;position:relative}
.mobile-preview-active main>header>a{font-size:13px;color:#303030;text-decoration:none;white-space:nowrap}
.mobile-preview-active main>header nav{display:flex;gap:3px;align-items:flex-start}
.mobile-preview-active main>header nav>span{color:#bbb;padding-top:5px;font-size:12px}
.mobile-preview-active main>header button{padding:5px 7px;border:0;background:none;font-size:13px;line-height:1.3;display:flex;flex-direction:column;align-items:center}
.mobile-preview-active main>header button small{display:flex;align-items:center;font-size:10px;color:#999}
.mobile-preview-active main>header button[aria-disabled]{color:#999}
.mobile-preview-active main>header button[aria-current]{background:#f0f0fc;color:var(--brand-accent);border-radius:20px}
.mobile-preview-page{padding:14px;--mobile-stage-height:clamp(300px,calc(100dvh - 300px),460px)}
.mobile-preview-meta{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin-bottom:12px}
.mobile-preview-meta h1{font-family:Antonio,'Arial Narrow',sans-serif;letter-spacing:-0.2px;font-size:26px;line-height:1.1;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.mobile-preview-meta p{font-size:11px;color:#777;margin:0;flex-shrink:0}
.mobile-preview-tabs{display:grid;grid-template-columns:repeat(3,1fr);padding:4px;background:#efefef;border-radius:30px}
.mobile-preview-tabs button{border:0;background:none;font-size:13px;height:36px;padding:0;border-radius:30px}
.mobile-preview-tabs button[aria-selected=true]{background:#fff;box-shadow:0 1px 3px #0001}
#mobile-preview-content{margin-top:12px}
.mobile-preview-page .preview-model-stage,.mobile-preview-page .flat-zoom-stage,.mobile-preview-page .mobile-media-stage{height:var(--mobile-stage-height);min-height:var(--mobile-stage-height);margin:0;border-radius:22px;background:#f4f2ee;overflow:hidden;position:relative}
.mobile-preview-page .preview-model-stage #carton{translate:0 10px}
.mobile-preview-page .rotation-symbol{width:32px;height:30px;top:12px}
.mobile-preview-page .panel-view-chips{top:12px;left:12px}
.mobile-preview-page .stage-hint{bottom:12px;font-size:12px}
.mobile-preview-page .flat-zoom-controls{height:52px;padding-top:12px;gap:10px}
.mobile-preview-page .flat-zoom-controls button{height:40px;min-width:40px;padding:0 12px;border-radius:30px;font-size:14px}
.mobile-preview-page .flat-zoom-controls button:disabled{opacity:.35}
.mobile-media-stage img{width:100%;height:100%;object-fit:cover}
.mobile-mockup-bar{height:52px;display:flex;align-items:end;justify-content:space-between;font-size:13px}
.mobile-mockup-bar button{height:40px;font-size:13px}
.mobile-preview-foot{display:flex;justify-content:space-between;margin-top:22px;font-size:12px;color:#777}
.mobile-preview-foot a{color:#303030;text-decoration:underline}
dialog.mobile-desktop-sheet{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:92dvh;margin:0;padding:32px 20px 20px;border:0;border-radius:24px 24px 0 0;overflow:auto;animation:mobile-sheet-in .3s ease-out}
.mobile-desktop-sheet::backdrop{background:#20202870}
.mobile-desktop-sheet .sheet-grip{position:absolute;top:8px;left:calc(50% - 40px);width:80px;height:20px;touch-action:none}
.sheet-grip:before{content:'';display:block;width:44px;height:5px;background:#ccc;border-radius:6px;margin:auto}
.mobile-desktop-sheet .sheet-close{position:absolute;right:12px;top:12px;padding:0;width:34px;height:34px}
.mobile-desktop-sheet h2{font-family:Antonio,'Arial Narrow',sans-serif;letter-spacing:-0.2px;font-size:30px;margin:12px 0 8px}.mobile-desktop-sheet h3{font-size:15px;margin:0}
.mobile-desktop-sheet p{font-size:14px;color:#777;margin:8px 0 16px}.mobile-desktop-sheet small{display:block;text-align:center;font-size:12px;color:#777;margin-top:8px}
.mobile-desktop-sheet .primary{width:100%;height:50px}.mobile-desktop-sheet .copied{background:#1f7a4a}
.mobile-desktop-sheet hr{border:0;border-top:1px solid #eee;margin:20px 0 16px}
.laptop-mark{background:#f0f0fc;color:var(--brand-accent);border-radius:16px;width:52px;height:52px;display:grid;place-items:center}.laptop-mark svg{width:28px;height:28px}
.notify-row{display:flex;gap:8px}.notify-row input{min-width:0;flex:1;font-size:16px}.notify-row button{white-space:nowrap;font-size:13px}
@keyframes mobile-sheet-in{from{transform:translateY(100%)}to{transform:translateY(0)}}
}
@media(prefers-reduced-motion:reduce){dialog.mobile-desktop-sheet{animation:none}}

.mobile-desktop-sheet .notify-contact{display:inline-flex;align-items:center;justify-content:center;height:46px;padding:0 20px;border:1px solid #303030;border-radius:14px;color:#303030;text-decoration:none;font-size:14px;font-weight:600}
