/* Smartphone layout: preserve desktop styling above 700px. */
@media screen and (max-width:700px){
html,body{min-width:0}*{box-sizing:border-box}
.shell,.shell:has(header nav[hidden]){margin-left:0!important;padding:0 12px}.rail{display:none}
header, .shell:has(header nav[hidden]) header{min-height:76px;padding:14px 0 14px 54px;gap:10px;flex-wrap:wrap}
header .menu-toggle{left:12px;top:16px;z-index:22;background:var(--panel);min-height:44px}
header nav{left:0;top:0;bottom:0;width:min(290px,85vw);z-index:21;padding-top:80px;box-shadow:8px 0 30px #0005}
header .profile{max-width:100%;margin-left:0;flex-wrap:wrap;gap:8px;font-size:13px;overflow-wrap:anywhere}
.site-logo img{width:95px}.mobile-menu-shade{position:fixed;inset:0;background:#0007;z-index:20;border:0;border-radius:0}
.heading{display:block;margin:18px 0}.heading-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
h1{font-size:28px;line-height:1.2;overflow-wrap:anywhere}h2{font-size:21px;overflow-wrap:anywhere}h3{font-size:18px}
.panel,.quote-result{padding:16px;border-radius:16px;min-width:0}.panel .quote-result{padding:12px}
.panel-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.panel-head h2{width:100%}
.form-grid,.detail-grid,.press-dialog .detail-grid,.operator-workspace>.detail-grid,.launch-verification>.detail-grid{grid-template-columns:1fr!important;gap:16px}
input,select,textarea{font-size:16px!important;max-width:100%;min-width:0}input:not([type=checkbox]):not([type=radio]),select{min-height:48px}label{min-width:0;overflow-wrap:anywhere}
button,.nav,.text-button{min-height:44px;white-space:normal}.form-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}.form-actions button{width:100%}
.reel-controls{display:block}.reel-counter{width:100%;margin-bottom:16px}.reel-controls .form-actions{width:100%}.reel-controls button{min-height:60px}
.handoff-steps{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px;padding:0}.handoff-steps li{min-width:0;padding:10px;overflow-wrap:anywhere}
.press-legend{gap:6px}.press-status{white-space:normal}.task-pending{width:100%;max-width:100%}.notice-eye{min-width:44px;min-height:44px}
.table-wrap{max-width:100%;overflow-x:auto}table.mobile-cards{min-width:0!important;width:100%;table-layout:auto}table.mobile-cards thead{display:none}table.mobile-cards tbody{display:block}table.mobile-cards tr{display:block;border:1px solid var(--line);border-radius:12px;padding:12px;margin-bottom:12px}table.mobile-cards td{display:block!important;width:100%!important;max-width:none!important;white-space:normal!important;border:0;padding:8px 0;overflow-wrap:anywhere}table.mobile-cards td:before{content:attr(data-mobile-label);display:block;color:var(--muted);font-size:12px;margin-bottom:5px}table.mobile-cards td[colspan]:before{display:none}
dialog,.press-dialog,.notice-dialog{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 24px);padding:16px;margin:auto;overflow:auto}dialog::backdrop{background:#0009}
footer{flex-direction:column;gap:8px;line-height:1.5}.history strong,.detail-grid strong{overflow-wrap:anywhere}.stats,.dashboard-grid,.cards{grid-template-columns:1fr!important}
}
@media screen and (min-width:701px){.mobile-menu-shade{display:none!important}}
