/* Brand Kit palette and shared identity for the Atlas shell. */
:root[data-theme=dark]{
  --bg:#041223;
  --bg-mid:#071b30;
  --bg-glow:#0b2946;
  --ink:#f4fbff;
  --cyan:#0daef2;
  --blue:#57c9fa;
  --panel:rgba(7,27,48,.89);
  --panel2:#0a233b;
  --panel3:#071b30;
  --line:rgba(13,174,242,.23);
  --line2:rgba(13,174,242,.42);
  --shell:radial-gradient(ellipse at 50% 45%,var(--bg-glow),var(--bg) 75%);
}
body.space .shell{background:var(--shell)}
body.home-mode{--hm-line:var(--line2);--hm-glass:linear-gradient(150deg,#0b2b46f5,#071b30ed);--hm-cyan:var(--blue);--hm-ink:var(--ink)}
body.space .top{background:linear-gradient(#041223f5,#041223ca);border-bottom:1px solid var(--line)}
body.space .brand{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:8px}
body.space .brand::after{content:none}
body.space .brand img.brand-lockup{display:block;width:clamp(170px,24vw,300px);height:auto;max-height:64px;object-fit:contain}
body.space .brand #logo:not([hidden]){display:block;width:28px;height:28px;object-fit:contain}
.auth-lockup{width:150px;max-width:100%;height:auto}
.paper-lockup{width:118px;height:auto;align-self:flex-start}
.print-lockup{display:none}
@media print{
  body.space .shell{background:white}
  .print-lockup{display:block;width:155px;height:auto}
}
.home .gl{padding:12px 14px;border-color:var(--line2)}
.home .gl header{margin-bottom:8px}
.home .regimes{grid-template-columns:repeat(auto-fit,minmax(45px,1fr))}
.home .regimes>div{display:flex;flex-direction:column;gap:3px}
.home .regimes b{font-size:14px}
.home .note{padding:6px 0;margin:0}
.home .gate{top:86px;min-width:0;padding:7px 11px;gap:8px;border-radius:var(--r-md);clip-path:none;box-shadow:none}
.home .gate b{font-size:18px}
.home .gate .gate-ico{width:25px;height:25px;filter:none}
.home .gate em{width:14px}
.home .gate small{margin-top:-5px;letter-spacing:normal}
.home .gate-rocket{left:auto;right:calc(50% + 7px)}
.home .gate-sat{left:calc(50% + 7px)}
.home .gate::after{content:none}
.home .home-scene-meta{flex-direction:column-reverse;gap:4px}
.home-controls{display:flex;gap:4px;padding:4px;border:1px solid var(--line);border-radius:var(--r-md);background:var(--panel3)}
.home-controls button{display:flex;align-items:center;gap:5px;background:transparent;border:0;border-radius:var(--r-sm);padding:5px 7px;color:var(--ink);font-size:11px}
.home-controls button[aria-pressed=true],.home-controls button:hover{background:var(--chip)}
.home-controls svg{width:15px;height:15px}
.launch-chart-title{font-size:12px;color:var(--muted)}
.launch-chart-title b{font-size:22px;color:var(--blue)}
.launch-chart{display:grid;grid-template-columns:repeat(7,1fr);list-style:none;margin:4px 0 6px;padding:0;gap:3px}
.launch-chart li{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;min-width:0;gap:3px;font-size:11px}
.launch-chart i{width:56%;min-width:6px;background:var(--cyan);border-radius:var(--r-sm)}
.launch-chart small{font-size:10px;white-space:nowrap;color:var(--muted)}
.priority-row,.priority-mission{display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;width:100%;background:transparent;color:var(--ink);border:0;border-bottom:1px solid var(--line);padding:8px 2px}
.priority-row:hover,.priority-mission:hover{background:var(--hover)}
.priority-row small,.priority-mission small{display:block;color:var(--muted)}
.priority-badge{display:inline-block;padding:2px 6px;border-radius:var(--r-sm);font-size:11px;white-space:nowrap;background:#123452;color:#bfe7ff}
.priority-badge.watch{background:#443318;color:#ffcf84}
.priority-badge.action{background:#512633;color:#ffc4cf}
.priority-group{padding:6px 0;border-bottom:1px solid var(--line)}
.priority-group summary{cursor:pointer}
.feed-items>span.data-chip{display:block}
.feed-items .data-chip{font-size:10px}
@media(max-width:899px){
  body.home-mode main#pages{position:absolute;top:70px;bottom:0;left:0;right:0;pointer-events:none}
  body.home-mode .home{padding:0 12px 94px}
  body.home-mode .home-gates{order:0;gap:8px;max-width:370px;width:100%;align-self:center}
  body.home-mode .home-scene-meta{margin-top:calc(40vh - 76px);align-items:center}
  body.home-mode #command-scene-status{white-space:normal;text-align:center}
  body.home-mode .home-feed{left:8px;right:8px;bottom:7px;padding:7px 10px}
  body.home-mode .home-feed .feed-title,body.home-mode .home-feed .feed-all,body.home-mode .feed-items>span:first-child{display:none}
  body.home-mode .feed-items{gap:3px 10px}
  body.home-mode .home-gates,.home-col{pointer-events:auto}
}
body.space .brand img.brand-lockup{width:clamp(195px,26vw,395px);max-height:92px}
.workspace-orbit-status{font-size:10px;color:var(--muted);margin-left:auto}
@media(max-width:1300px){.home-feed .feed-activity{display:none}}
@media(max-width:899px){
 body.space .brand img.brand-lockup{width:215px;max-height:66px}
 .workspace-orbit-status{display:none}
 .home-feed .feed-activity{display:none}
}
.home .lw-row .launch-dot{border-color:var(--blue)}
.home .thailand-row{display:flex;min-width:0;width:100%}
