.hq-screen:is(dialog,.hq-arsenal-panel){
 --hq-panel-gutter:clamp(11px,4.1vw,16px);
 --hq-panel-card:#172f39;
 --hq-panel-line:#3c5964;
 --hq-panel-text:#b8cbd0;
 --hq-panel-body-size:12px;
 --hq-panel-card-title:16px;
 position:fixed;inset:0;
 width:min(100%,540px);height:100dvh;max-width:none;max-height:none;
 margin:0 auto;padding:0;border:0;border-radius:0;
 background:radial-gradient(ellipse at 70% -5%,#1a3a45 0%,#132b36 27%,#0e222d 70%);
 color:#ecf3eb;font:14px/1.35 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
 box-shadow:0 16px 80px #0206097a;overscroll-behavior:contain;
 scrollbar-width:none;
}
.hq-screen::backdrop{background:#0a171e}
.hq-screen-masthead{
 position:sticky;top:0;z-index:4;flex:none;
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 padding:calc(12px + env(safe-area-inset-top,0px)) var(--hq-panel-gutter) 12px;
 border-bottom:1px solid #29465185;
 background:linear-gradient(115deg,#102630,#19343f 68%,#132a35);
}
.hq-screen-identity{
 display:flex;align-items:center;gap:9px;
 color:#b6c9c7;font-size:10px;font-weight:800;letter-spacing:.15em;
}
.hq-screen-mark{
 display:grid;place-items:center;flex:none;width:24px;height:24px;
 border:1px solid #b1c17c;background:#273e36;color:#d5e5a4;
 clip-path:polygon(0 0,75% 0,100% 25%,100% 100%,0 100%);
}
.hq-screen .hq-screen-mark svg,
.hq-screen .hq-screen-close svg{
 width:18px;height:18px;fill:none;stroke:currentColor;
 stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.hq-screen .hq-screen-mark svg{width:15px;height:15px;stroke-width:2}
.hq-screen .hq-screen-close{
 appearance:none;display:grid;place-items:center;flex:none;
 width:40px;height:40px;min-height:40px;margin:0;padding:0;
 border:1px solid #45616a;border-radius:10px;background:#172e39;color:inherit;
 box-shadow:none;cursor:pointer;touch-action:manipulation;
}
.hq-screen .hq-screen-close:active{background:#284651}
.hq-screen .hq-screen-close:focus-visible{outline:2px solid #d4eaab;outline-offset:2px}
.hq-screen-intro{
 display:flex;align-items:flex-end;justify-content:space-between;gap:8px;
 min-height:44px;
}
.hq-screen-intro .hq-screen-title{
 color:inherit;font-size:clamp(25px,8.2vw,32px);font-weight:750;line-height:1;
 letter-spacing:-.047em;margin:0;
}
.hq-screen-intro .hq-screen-kicker{
 margin:0 0 4px;color:#adc38c;font-size:9px;line-height:1.35;
 letter-spacing:.15em;font-weight:800;
}
.hq-screen-tabs{
 display:flex;gap:3px;border-bottom:1px solid #33505c;
}
.hq-screen .hq-screen-tabs button{
 position:relative;flex:1;min-height:44px;padding:4px;
 border:0;border-radius:8px 8px 0 0;background:transparent;color:#c1d3d9;
 font:750 12px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.hq-screen .hq-screen-tabs button[aria-pressed=true]{background:#213c46;color:#ffe0a1}
.hq-screen .hq-screen-tabs button[aria-pressed=true]::after{
 content:"";position:absolute;inset:auto 12px 0;height:2px;border-radius:2px;background:#e2b568;
}
