:root {
  color-scheme: dark;
  --bg: #081119;
  --sidebar: #09131d;
  --panel: #101d29;
  --panel-deep: #0c1823;
  --raised: #152533;
  --line: #253847;
  --line-soft: #1f303f;
  --text: #eef7fa;
  --muted: #a1b4c1;
  --dim: #8197a7;
  --mint: #8ef1dc;
  --gold: #f5c77f;
  --violet: #c4b0fa;
  --blue: #91cafa;
  --red: #ffaaa9;
  --radius: 15px;
  --body: "Segoe UI", system-ui, sans-serif;
  --display: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  -webkit-tap-highlight-color: transparent;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 300px; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
a, button, input, select, textarea { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--mint); }
button:disabled { cursor: default; opacity: .48; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, strong { overflow-wrap: anywhere; }
svg { flex: 0 0 auto; vertical-align: middle; }
::selection { background: var(--mint); color: var(--bg); }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-160%); z-index: 50; padding: 10px 18px; background: var(--mint); color: var(--bg); border-radius: 6px; }
.skip-link:focus { transform: none; }
.tone-mint { --tone: var(--mint); }
.tone-gold { --tone: var(--gold); }
.tone-violet { --tone: var(--violet); }
.tone-blue { --tone: var(--blue); }
.tone-red { --tone: var(--red); }

.shell { min-height: 100vh; display: grid; grid-template-columns: 224px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100dvh; align-self: start; display: flex; flex-direction: column; padding: 27px 14px 18px; border-right: 1px solid var(--line-soft); background: var(--sidebar); overflow-y: auto; scrollbar-width: thin; z-index: 12; }
.wordmark { display: flex; align-items: center; gap: 10px; padding: 0 10px 25px; color: var(--mint); }
.wordmark > span { font-family: var(--display); font-weight: 700; color: var(--text); letter-spacing: .14em; font-size: 18px; white-space: nowrap; }
.wordmark small { display: block; font: 9px var(--mono); color: var(--dim); letter-spacing: .13em; margin-top: 4px; }
.nav-groups { display: grid; gap: 19px; }
.nav-group { display: grid; gap: 4px; }
.nav-group p { font-size: 10px; text-transform: uppercase; color: var(--dim); letter-spacing: .14em; font-weight: 750; padding: 2px 12px 5px; }
.nav-link { display: flex; align-items: center; gap: 11px; min-height: 43px; padding: 8px 11px; font-size: 13px; font-weight: 650; color: var(--muted); border: 1px solid transparent; border-radius: 8px; }
.nav-link:hover { background: var(--panel); color: var(--text); }
.nav-link.selected { color: var(--mint); background: #142b32; border-color: #23414a; }
.nav-count { margin-left: auto; min-width: 20px; text-align: center; font: 10px var(--mono); color: var(--mint); border-radius: 12px; padding: 3px 5px; background: #213d48; }
.side-bottom { margin-top: auto; padding-top: 22px; }
.pilot-card { width: 100%; min-height: 63px; border-radius: 11px; border: 1px solid var(--line); padding: 9px; gap: 9px; display: flex; align-items: center; text-align: left; background: var(--panel-deep); }
.pilot-card:hover { border-color: #47746e; }
.pilot-card > span:nth-child(2) { flex: 1; min-width: 0; }
.pilot-card strong { display: block; font-size: 13px; }
.pilot-card small { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 10px; margin-top: 4px; }
.pilot-emblem { background: #183340; border-radius: 9px; width: 35px; height: 35px; color: var(--mint); display: grid; place-items: center; flex: none; }
.signal-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px #8ef1dc80; flex: none; }
.signal-dot.warn { background: var(--gold); box-shadow: none; }
.mobile-brand, .mobile-nav { display: none; }

.workspace { min-width: 0; }
.topbar { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px clamp(16px, 2.65vw, 42px); min-height: 76px; border-bottom: 1px solid var(--line-soft); background: #0b1722f5; backdrop-filter: blur(12px); }
.resource-strip { display: flex; align-items: center; min-width: 0; gap: clamp(12px, 2.4vw, 40px); }
.resource { display: flex; align-items: center; gap: 9px; min-width: 0; }
.resource > div { display: grid; grid-template-columns: auto auto; column-gap: 7px; align-items: baseline; }
.resource-label { grid-column: 1 / -1; color: var(--muted); font-size: 10px; font-weight: 650; }
.resource strong { font: 650 19px var(--display); letter-spacing: .02em; white-space: nowrap; }
.resource-rate { color: var(--tone); font-size: 10px; }
.top-actions { display: flex; gap: 7px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; min-height: 42px; color: var(--muted); background: #13222e; border: 1px solid var(--line); border-radius: 9px; position: relative; }
.icon-button:hover { color: var(--text); border-color: #5f7a8d; }
.notification i { position: absolute; top: 8px; right: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--panel); }
.content { width: min(100%, 1510px); min-height: calc(100vh - 126px); padding: 24px clamp(16px, 2.65vw, 42px) 30px; margin: 0 auto; }
.content:focus { outline: none; }
.desktop-footer { display: flex; justify-content: space-between; gap: 12px; padding: 16px clamp(16px, 2.65vw, 42px); border-top: 1px solid var(--line-soft); font: 10px var(--mono); letter-spacing: .14em; color: var(--dim); }
.location-bar { display: flex; align-items: end; justify-content: space-between; gap: 13px; margin-bottom: 19px; }
.eyebrow { font-size: 10px; text-transform: uppercase; font-weight: 700; color: var(--tone, var(--muted)); letter-spacing: .14em; line-height: 1.4; }
.location-bar .eyebrow { color: var(--mint); margin-bottom: 6px; }
.location-bar h1 { font: 700 clamp(26px, 3.3vw, 38px)/1.08 var(--display); letter-spacing: -.022em; }
.location { display: flex; gap: 10px; align-items: center; min-height: 48px; padding: 7px 11px; border: 1px solid var(--line); background: #101d29; border-radius: 9px; text-align: left; max-width: 50%; }
.location:hover { border-color: #5b7a8c; }
.location > svg:first-child { color: var(--mint); }
.location > svg:last-child { color: var(--dim); }
.location strong, .location small { display: block; }
.location strong { font-size: 13px; line-height: 1.3; }
.location small { color: var(--muted); font-size: 10px; margin-top: 3px; white-space: nowrap; }

.panel { background: var(--panel-deep); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.section-title h2, .panel-heading h2 { font: 650 20px/1.15 var(--display); letter-spacing: -.012em; }
.icon-tile { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 10px; color: var(--tone, var(--mint)); background: color-mix(in srgb, var(--tone, var(--mint)) 11%, #10202c); border: 1px solid color-mix(in srgb, var(--tone, var(--mint)) 20%, #152633); }
.icon-tile.large { width: 57px; height: 57px; border-radius: 14px; }
.icon-tile.large svg { width: 27px; height: 27px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; border-radius: 8px; border: 1px solid transparent; min-height: 44px; padding: 8px 14px; font-weight: 700; font-size: 13px; text-align: center; line-height: 1.2; }
.btn.primary { background: var(--mint); color: #072324; border-color: #a9ffe9; box-shadow: 0 2px 10px #0004; }
.btn.primary:hover:not(:disabled) { background: #b7ffeb; }
.btn.secondary, .btn.tab { background: #162632; color: var(--text); border-color: #314756; }
.btn.secondary:hover:not(:disabled), .btn.tab:hover { background: #203642; border-color: #627f8c; }
.btn.glass { background: #07131abf; color: var(--text); border-color: #99c5cf57; backdrop-filter: blur(6px); }
.btn.glass:hover { background: #132c37; }
.btn.quiet { background: transparent; color: var(--muted); }
.btn.quiet:hover { background: var(--raised); color: var(--text); }
.btn.compact { min-height: 38px; padding: 6px 10px; font-size: 12px; }
.btn.wide { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 33px; font-weight: 700; font-size: 12px; color: var(--mint); white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.pill { color: var(--tone, var(--muted)); background: #152632; border: 1px solid #283c49; font: 10px var(--mono); border-radius: 7px; padding: 4px 7px; white-space: nowrap; }
.timer { color: var(--mint); font: 600 12px var(--mono); white-space: nowrap; }
.meter { height: 5px; border-radius: 4px; background: #253945; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--tone); border-radius: inherit; transition: width .25s linear; }
.notice { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); background: var(--panel); color: var(--tone, var(--muted)); padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.4; margin: 0 0 14px; }
.empty { display: flex; gap: 10px; align-items: center; padding: 14px 0; color: var(--muted); font-size: 13px; }
.empty svg { color: var(--dim); }
.loading, .no-script { color: var(--muted); padding: 30px; }
.mono { font-family: var(--mono); color: var(--dim); font-size: 11px; }
.stack { display: grid; align-content: start; gap: 16px; min-width: 0; }

.feature { overflow: hidden; position: relative; isolation: isolate; display: flex; align-items: center; min-height: 323px; padding: clamp(25px, 4vw, 53px); border: 1px solid #2c495b; border-radius: 17px; background: #0a1e29; box-shadow: 0 10px 30px #02080e49; }
.feature-image, .feature-veil { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 43%; display: block; }
.feature-veil { background: linear-gradient(90deg, #06121bec 0%, #07141dcc 29%, #08141d38 68%, #08141d17), linear-gradient(0deg, #07111b91 0%, transparent 50%); }
.feature-content { max-width: 500px; }
.feature-content h2 { font: 720 clamp(44px, 6vw, 86px)/.97 var(--display); letter-spacing: -.047em; margin: 11px 0; text-shadow: 0 4px 35px #00101d7a; }
.feature-content p:not(.eyebrow) { max-width: 370px; line-height: 1.45; color: #c7dade; font-size: 15px; }
.feature-content .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--mint); }
.feature-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 23px; }
.theme-storm .feature-image img { filter: hue-rotate(33deg) saturate(.7); }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 13px 0 20px; }
.metric { display: flex; align-items: center; min-width: 0; gap: 12px; padding: 13px; }
.metric p { color: var(--muted); font-size: 11px; }
.metric strong { font: 650 clamp(18px, 2.25vw, 24px)/1.1 var(--display); display: block; margin: 4px 0; }
.metric small { display: block; color: var(--dim); font-size: 10px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(236px, .38fr); gap: 16px; align-items: start; }
.queue, .objectives { padding: 15px; }
.panel-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.panel-heading p { margin-top: 4px; color: var(--muted); font-size: 11px; }
.objective { display: flex; gap: 9px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line-soft); }
.objective:first-of-type { margin-top: 4px; }
.objective:last-child { border-bottom: 0; padding-bottom: 2px; }
.objective > div { flex: 1; min-width: 0; }
.objective-marker { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--dim); background: #122532; flex: none; }
.objective-marker.done { color: var(--mint); background: #17352f; }
.objective h3 { font-size: 12px; line-height: 1.3; }
.objective p { font-size: 11px; line-height: 1.35; color: var(--muted); margin-top: 3px; }
.objective .icon-button { width: 34px; min-height: 34px; }
.objective .costs { margin-top: 5px; }
.cleared { display: flex; align-items: center; gap: 8px; padding-top: 18px; color: var(--mint); }
.queue-item { border-top: 1px solid var(--line-soft); padding: 10px 0 3px; }
.queue-item > div:first-child { display: flex; justify-content: space-between; gap: 6px; margin-bottom: 8px; font-size: 12px; }
.queue-item > div:first-child > span { text-align: right; font-size: 10px; color: var(--muted); }
.queue-item .btn { margin-top: 4px; }
.job-grid, .two-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; align-items: stretch; }
.job-card { display: flex; flex-direction: column; min-width: 0; gap: 9px; padding: 13px; }
.job-card header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.job-card header > div { flex: 1; }
.job-card header h3 { font: 650 18px/1.15 var(--display); }
.job-card header .eyebrow { font-size: 9px; margin-bottom: 3px; }
.job-card > p, .page-intro { color: var(--muted); font-size: 13px; line-height: 1.48; }
.page-intro { margin: 0 0 19px; }
.job-card footer { margin-top: auto; padding-top: 9px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: space-between; }
.job-time { display: flex; align-items: center; gap: 4px; color: var(--dim); font: 11px var(--mono); margin-top: 5px; }
.costs { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.costs > span { display: inline-flex; align-items: center; gap: 3px; color: var(--tone); font: 11px var(--mono); }
.costs small { margin-left: 3px; color: var(--muted); font: 11px var(--body); }
.requirement, .unit-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.requirement { color: var(--gold); }
.unit-stats span { display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.tabs { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 12px; }
.btn.tab { min-height: 40px; padding-inline: 13px; color: var(--muted); }
.btn.tab.on { color: var(--mint); border-color: #4e837d; background: #1c3a40; }
.sector-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .42fr); gap: 12px; align-items: stretch; }
.target-card { display: grid; align-content: center; justify-items: start; padding: clamp(15px, 2.2vw, 25px); }
.target-card > header { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-bottom: 17px; }
.target-card h2 { font: 650 clamp(24px, 3vw, 32px)/1.05 var(--display); margin: 6px 0 9px; }
.target-card > p:not(.eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 8px; }
.target-card > p.risk { color: var(--gold); }
.target-card .btn { margin-top: 12px; }
.target-index { margin-top: 14px; padding: 14px; }
.target-row { display: flex; align-items: center; gap: 11px; padding: 7px 8px; min-height: 53px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 8px; }
.target-row:hover, .target-row.on { background: var(--panel); border-color: var(--line); }
.target-row > span:nth-child(2) { flex: 1; }
.target-row strong, .target-row small { display: block; }
.target-row strong { font-size: 13px; }
.target-row small { font-size: 11px; color: var(--muted); margin-top: 4px; }
.target-row > svg { color: var(--mint); }
.target-row .icon-tile { width: 35px; height: 35px; }
.target-row .icon-tile svg { width: 17px; height: 17px; }

.guest-clan { position: relative; isolation: isolate; overflow: hidden; min-height: 265px; padding: clamp(18px, 3vw, 36px); background: #0b1a26; margin-bottom: 16px; border-color: #30444d; }
.guest-clan > div { max-width: 470px; }
.guest-clan::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, #0a1825 0, #0a1825f4 32%, #0a182573 67%, #0a182533); }
.guest-clan h2 { font: 700 clamp(29px, 4.8vw, 53px)/1.08 var(--display); letter-spacing: -.025em; margin: 5px 0; }
.guest-clan .eyebrow { color: var(--mint); margin-top: 12px; }
.guest-clan p:not(.eyebrow) { color: #c5d6e0; font-size: 14px; line-height: 1.5; margin: 7px 0 17px; }
.clan-hero { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 13px; padding: 19px; background: linear-gradient(105deg, #183840, var(--panel-deep) 80%); margin-bottom: 14px; }
.clan-hero > div:first-of-type { display: flex; align-items: center; gap: 13px; }
.clan-hero h2, .active-operation h2 { font: 700 28px/1.1 var(--display); margin: 3px 0; }
.clan-hero p:not(.eyebrow), .active-operation > p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.invite { min-width: min(100%, 234px); }
.invite > div { display: flex; align-items: center; gap: 6px; }
.invite input { font-family: var(--mono); letter-spacing: .08em; width: 100%; min-width: 0; }
.operation-catalog, .clan-detail, .market-offers { margin-top: 17px; }
.operation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.operation-card { display: flex; flex-direction: column; align-items: start; padding: 16px; min-width: 0; }
.operation-card > .eyebrow { margin-top: 12px; }
.operation-card h3 { font: 650 21px/1.15 var(--display); margin: 5px 0; }
.operation-card p:not(.eyebrow) { font-size: 13px; line-height: 1.45; color: var(--muted); flex: 1; margin: 4px 0 10px; }
.operation-reward { width: 100%; padding-top: 11px; margin-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: 11px; color: var(--muted); }
.operation-card > button { margin-top: 13px; }
.active-operation { padding: clamp(14px, 2.4vw, 22px); border-color: #42676e; }
.active-operation header { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.active-operation header > div { flex: 1; }
.op-goals { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 126px), 1fr)); gap: 8px; margin: 13px 0; }
.op-goals > div { background: #152732; border: 1px solid var(--line); padding: 10px; border-radius: 8px; }
.op-goals strong, .op-goals span { display: block; }
.op-goals span { color: var(--muted); font-size: 11px; margin: 4px 0 7px; }
.op-members > div:not(.empty) { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 12px; }
.op-members > div > span:nth-child(2) { flex: 1; min-width: 0; }
.op-members strong, .op-members small { display: block; }
.op-members small { color: var(--muted); margin-top: 3px; }
.op-members b { color: var(--mint); }
.active-operation .row-actions { margin-top: 11px; }
.member, .timeline, .offer { font-size: 13px; padding: 9px 0; border-top: 1px solid var(--line-soft); }
.member { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.member small, .timeline small { color: var(--muted); font-size: 11px; }
.timeline small { display: block; margin-bottom: 3px; }
.row-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.form-panel { padding: 16px; min-width: 0; }
.form-panel h2 { font: 650 22px var(--display); }
.form-panel > p:not(.member, .timeline) { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 6px 0 12px; }
.form-panel > .btn { margin-top: 11px; }
label { display: grid; gap: 5px; font-size: 12px; font-weight: 650; color: var(--muted); }
input, select { min-height: 42px; padding: 7px 9px; border: 1px solid #415867; border-radius: 7px; background: #0a1520; color: var(--text); min-width: 0; font-size: 15px; }
input[readonly] { color: var(--mint); background: #0c212b; }
input::placeholder { color: var(--dim); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.offer p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.ranking { display: grid; list-style: none; counter-reset: ranked; margin: 0; padding: 0; }
.ranking li { counter-increment: ranked; display: flex; gap: 9px; align-items: center; padding: 11px 5px; border-top: 1px solid var(--line-soft); font-size: 13px; }
.ranking li::before { content: counter(ranked, decimal-leading-zero); font: 12px var(--mono); color: var(--dim); margin-right: 3px; }
.ranking li > div { flex: 1; }
.ranking small { display: block; color: var(--muted); margin-top: 3px; }
.ranking b, .ranking .my-rank { color: var(--mint); }
.reports { padding: 5px 15px; }
.report { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 11px; padding: 12px 0; }
.report + .report { border-top: 1px solid var(--line-soft); }
.report h3 { font: 650 17px/1.17 var(--display); margin: 3px 0; }
.report p:not(.eyebrow), .report time { color: var(--muted); font-size: 12px; line-height: 1.5; }
.report time { font-family: var(--mono); font-size: 10px; white-space: nowrap; }

dialog { width: min(100% - 22px, 560px); max-height: min(88dvh, 850px); color: var(--text); border: 1px solid #3f5e6b; border-radius: 15px; background: var(--panel-deep); padding: 0; box-shadow: 0 20px 65px #0009; overscroll-behavior: contain; }
dialog::backdrop { background: #03080dc9; backdrop-filter: blur(3px); }
.modal-heading { position: sticky; top: 0; z-index: 2; background: #0d1b26fa; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.modal-heading h2 { font: 650 22px var(--display); }
.modal-body { padding: 14px 16px 17px; }
.modal-body .nav-group { margin-bottom: 9px; }
.modal-body .nav-group .nav-link { min-height: 39px; }
.dialog-lead { display: flex; align-items: start; gap: 9px; margin-bottom: 11px; }
.dialog-lead h3, .pvp-card h3 { font: 650 18px var(--display); }
.dialog-lead p, .modal-note, .pvp-card p { font-size: 13px; color: var(--muted); line-height: 1.45; margin: 4px 0; }
.modal-note { margin-bottom: 10px; }
.dialog-form { display: grid; gap: 9px; }
.dialog-form .dialog-lead { margin-bottom: 1px; }
.dialog-form .modal-note { margin: 1px 0; }
.dialog-quote { display: flex; flex-wrap: wrap; gap: 7px 12px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #14232e; color: var(--text); }
.dialog-quote > span:not(.costs) { display: inline-flex; align-items: center; gap: 4px; font: 11px var(--mono); }
.dialog-quote > span > svg { color: var(--mint); }
.dialog-quote > p { width: 100%; color: var(--tone, var(--red)); font-size: 12px; line-height: 1.45; }
.form-error, .dialog-form .form-error { color: var(--red); font-size: 12px; }
.form-error:empty { display: none; }
fieldset { border: 1px solid var(--line); border-radius: 9px; padding: 7px; min-width: 0; margin: 0; }
legend { padding: 0 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.ship-picker label { display: flex; align-items: center; gap: 8px; padding: 5px; }
.ship-picker label + label { border-top: 1px solid var(--line-soft); }
.ship-picker label > span:nth-child(2) { flex: 1; min-width: 0; }
.ship-picker strong, .ship-picker small { display: block; }
.ship-picker strong { color: var(--text); }
.ship-picker small { font-size: 11px; margin-top: 2px; }
.ship-picker input { width: 64px; }
.ship-picker .icon-tile { width: 33px; height: 33px; }
.ship-picker .icon-tile svg { width: 17px; height: 17px; }
.ship-picker > p { padding: 6px; font-size: 12px; color: var(--muted); }
.cargo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.pvp-card { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.pvp-card button { margin-top: 7px; }
.toasts { position: fixed; top: 82px; right: 16px; z-index: 25; display: grid; gap: 6px; width: min(350px, calc(100% - 32px)); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 7px; min-height: 43px; padding: 10px 13px; color: var(--text); box-shadow: 0 6px 24px #0008; background: #172934; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--tone) 33%, var(--line)); font-size: 13px; }
.toast svg { color: var(--tone); }

@media (max-width: 1170px) {
  .shell { grid-template-columns: 192px minmax(0, 1fr); }
  .wordmark { padding-left: 3px; }
  .wordmark > span { font-size: 15px; }
  .wordmark svg { width: 34px; height: 34px; }
  .job-card header .pill { margin-left: auto; }
}
@media (max-width: 955px) {
  .shell { grid-template-columns: 170px minmax(0, 1fr); }
  .sidebar { padding-inline: 9px; }
  .page-grid { grid-template-columns: minmax(0, 1fr); }
  .page-grid .queue { order: -1; }
  .page-grid aside.stack { order: -1; }
}
@media (max-width: 740px) {
  .shell { display: block; }
  .sidebar, .desktop-footer { display: none; }
  .topbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; padding: max(5px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) 6px max(12px, env(safe-area-inset-left)); min-height: auto; }
  .mobile-brand { display: flex; align-items: center; gap: 5px; color: var(--mint); font: 700 15px var(--display); letter-spacing: .16em; }
  .mobile-brand span { color: var(--text); }
  .top-actions { grid-column: 2; grid-row: 1; gap: 5px; }
  .top-actions .icon-button { width: 38px; min-height: 38px; }
  .resource-strip { grid-row: 2; grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .resource { background: #12222e; padding: 5px; gap: 5px; border-radius: 7px; }
  .resource .icon-tile { width: 28px; height: 28px; border-radius: 6px; }
  .resource svg { width: 16px; height: 16px; }
  .resource strong { font-size: 15px; }
  .resource > div { column-gap: 4px; }
  .resource-label { font-size: 9px; }
  .resource-rate { font-size: 9px; white-space: nowrap; }
  .content { padding: 15px 12px 90px; }
  .location-bar { align-items: center; margin-bottom: 12px; }
  .location-bar h1 { font-size: clamp(21px, 5.6vw, 34px); }
  .location-bar .eyebrow { font-size: 9px; margin-bottom: 4px; }
  .location { min-height: 43px; padding: 5px 6px; gap: 5px; }
  .location > svg:first-child { display: none; }
  .location strong { font-size: 11px; }
  .location small { font-size: 9px; }
  .location > svg:last-child { width: 13px; }
  .mobile-nav { position: fixed; inset: auto 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; z-index: 11; padding: 5px max(7px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left)); background: #0c1722f7; border-top: 1px solid #334650; box-shadow: 0 -4px 25px #02080c73; backdrop-filter: blur(13px); }
  .mobile-nav .nav-link { min-height: 51px; flex-direction: column; justify-content: center; gap: 5px; padding: 4px 1px; font-size: 9px; border-radius: 8px; }
  .mobile-nav .nav-link span { overflow-wrap: normal; }
  .feature { padding: 19px 15px 26px; min-height: 259px; border-radius: 12px; }
  .feature-content h2 { font-size: clamp(36px, 11vw, 60px); }
  .feature-content p:not(.eyebrow) { font-size: 13px; max-width: 250px; }
  .feature-image img { object-position: 60% 37%; }
  .feature-veil { background: linear-gradient(90deg, #06121be6 3%, #07141d9e 47%, #07141d35), linear-gradient(0deg, #06121b80 0%, transparent 56%); }
  .feature-actions { margin-top: 15px; gap: 6px; }
  .feature-actions .btn { min-height: 42px; padding-inline: 8px; font-size: 12px; }
  .metrics { gap: 5px; margin: 8px 0 14px; }
  .metric { display: grid; padding: 7px; gap: 4px; }
  .metric .icon-tile { display: none; }
  .metric p { font-size: 9px; }
  .metric strong { font-size: 15px; }
  .metric small { font-size: 8px; }
  .sector-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .target-card > header { margin-bottom: 5px; }
  .operation-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
  .toasts { top: auto; bottom: calc(72px + env(safe-area-inset-bottom)); }
  dialog { max-height: 91dvh; }
  input, select { font-size: 16px; }
}
@media (max-width: 510px) {
  .two-column, .job-grid { grid-template-columns: minmax(0, 1fr); gap: 7px; }
  .report { grid-template-columns: auto minmax(0, 1fr); gap: 6px 8px; }
  .report > time { grid-column: 2; }
}
@media (max-width: 374px) {
  .resource-rate { display: none; }
  .feature-actions .btn { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; scroll-behavior: auto !important; }
}
.op-signal { margin: 12px 0 0; }
.maneuver { margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--line); }
.maneuver > p, .maneuver-options p, .reserve p { color: var(--muted); font-size: 13px; line-height: 1.45; margin-bottom: 10px; }
.maneuver-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.maneuver-options article { display: grid; gap: 7px; padding: 11px; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; }
.maneuver-options article > div { display: flex; gap: 8px; align-items: start; justify-content: space-between; }
.maneuver-options h3 { font: 650 16px var(--display); margin-bottom: 3px; }
.maneuver-options p { font-size: 11px; margin-bottom: 0; }
.reserve { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 13px; }
.reserve > div { display: flex; align-items: start; gap: 8px; }
.reserve h2 { font: 650 18px var(--display); margin-bottom: 2px; }
.reserve p { font-size: 11px; margin-bottom: 5px; }
@media (max-width: 510px) {
  .maneuver-options { grid-template-columns: minmax(0, 1fr); }
}
.clan-hero { position: relative; isolation: isolate; overflow: hidden; }
.clan-hero .feature-image img { object-position: center 47%; }
.clan-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #122630ed, #132530bb 55%, #0a1622d5); }

.member .pilot-signal { display: inline-flex; align-items: center; gap: 3px; color: var(--tone); }
.clan-signal { padding-block: 10px; border-block: 1px solid var(--line); margin-bottom: 5px; }
.clan-signal p { color: var(--muted); font-size: 11px; font-weight: 650; margin-bottom: 6px; }
.formation-actions { margin-top: -4px; }
.formation-actions p { color: var(--mint); font-size: 11px; padding: 0 8px 4px; }
.formation-actions p:empty { display: none; }
.flight-track { position: absolute; inset: 0; background: #8ef1dc66; pointer-events: none; }
.flight-beacon { position: absolute; width: 8px; height: 8px; background: var(--mint); box-shadow: 0 0 12px #8ef1dc; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
@media (max-width: 740px) {
  .btn.compact { min-height: 44px; }
  .objective .icon-button { width: 41px; min-height: 41px; }
  .resource-label { font-size: 10px; }
  .metric small { font-size: 9px; }
}
.maneuver-options article > div:first-child { justify-content: flex-start; }
.frontier-status { display: grid; gap: 5px; padding: 10px; width: 100%; margin: 4px 0; background: var(--panel); border-radius: 8px; font-size: 12px; color: var(--muted); }
.frontier-status b { color: var(--gold); }
.pilot-activity { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.pilot-activity > div { display: grid; gap: 4px; padding: 8px; border-radius: 7px; background: var(--panel); }
.pilot-activity span { color: var(--muted); font-size: 11px; }
.duel-rules { display: grid; gap: 5px; padding: 8px; color: var(--muted); font-size: 12px; border: 1px solid var(--line); border-radius: 8px; }
.duel-rules strong { color: var(--text); }
.duel-formations { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 118px), 1fr)); gap: 6px; }
.auto-build .check-setting { display: flex; gap: 8px; align-items: center; }
.auto-build .check-setting input { min-height: 18px; width: 18px; accent-color: var(--mint); }
.auto-build .auto-reserve { margin: 7px 0 3px !important; }
.auto-build .costs { margin-bottom: 3px; line-height: 1.5; }
.command-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .46fr); align-items: start; gap: 14px; }
.traffic-board, .production-board { min-width: 0; padding: 15px; }
.traffic-board > .section-title { margin-bottom: 12px; }
.traffic-scene { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: space-between; gap: 20px; min-height: 320px; padding: clamp(15px, 2vw, 27px); border: 1px solid #355462; border-radius: 12px; background: #081622; }
.traffic-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #06131be0, #08162296 56%, #06131bc4), linear-gradient(0deg, #06131bea, #06131b16 58%); pointer-events: none; }
.traffic-scene .feature-image img { object-position: 69% 51%; }
.traffic-grid { position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(#59899c26 1px, transparent 1px), linear-gradient(90deg, #59899c26 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(transparent 12%, #000 71%); pointer-events: none; }
.traffic-scene > header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px; }
.lane-state, .sealed { display: inline-flex; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid color-mix(in srgb, var(--tone, var(--mint)) 40%, #193543); border-radius: 7px; color: var(--tone, var(--mint)); background: #0b1d2be8; font-size: 11px; font-weight: 700; }
.sealed { color: var(--gold); border-color: #6d583b; }
.traffic-vector { display: grid; grid-template-columns: minmax(70px, auto) minmax(27px, 1fr) minmax(70px, auto); gap: 8px; align-items: center; }
.traffic-end { display: flex; align-items: center; gap: 7px; min-width: 0; }
.traffic-end.destination { flex-direction: row-reverse; text-align: right; }
.traffic-end > span { display: grid; place-items: center; border-radius: 50%; flex: none; width: 31px; height: 31px; color: var(--tone); background: #102b39; border: 1px solid var(--tone); box-shadow: 0 0 18px #73cace4a; }
.traffic-end b { display: block; font: 680 clamp(13px, 1.7vw, 21px)/1.08 var(--display); text-shadow: 0 2px 10px #000; overflow-wrap: anywhere; }
.traffic-end small, .traffic-arrival small { display: block; font: 9px var(--mono); color: #b6d2dc; letter-spacing: .11em; margin-bottom: 4px; }
.traffic-vector .meter { height: 3px; overflow: visible; background: repeating-linear-gradient(90deg, #84baceb3 0, #84baceb3 4px, #84bace16 4px, #84bace16 9px); }
.traffic-vector .meter > i { position: relative; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.traffic-vector .meter > i::after { content: ""; position: absolute; top: 50%; right: -4px; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; border: 2px solid var(--tone); background: #eaffff; box-shadow: 0 0 12px var(--tone), 0 0 24px var(--tone); }
.traffic-wait { text-align: center; color: var(--muted); font-size: 11px; border-bottom: 1px dashed var(--tone); }
.traffic-arrival { justify-self: start; display: flex; gap: 16px; align-items: end; padding: 9px 11px; border: 1px solid #3f5d6c; border-radius: 9px; background: #071620d9; box-shadow: 0 7px 22px #030b12b3; }
.traffic-arrival .timer { color: var(--tone); font: 700 26px/.98 var(--display); }
.traffic-arrival strong { font: 12px var(--mono); color: #d3e8f1; }
.traffic-standby { min-height: 320px; align-content: space-between; }
.traffic-standby::after { background: linear-gradient(90deg, #06131be0, #0816226b 56%, #06131b33), linear-gradient(0deg, #06131bd9, transparent 68%); }
.traffic-standby h3 { font: 720 clamp(27px, 5vw, 66px)/.98 var(--display); letter-spacing: -.03em; margin: 7px 0; }
.traffic-standby p { color: #c7dce6; font-size: 14px; margin: 9px 0 13px; }
.traffic-list { display: grid; gap: 5px; margin-top: 8px; }
.traffic-item { display: flex; align-items: center; gap: 8px; min-height: 51px; text-align: left; padding: 6px 9px; border: 1px solid var(--line-soft); background: #0c1925; border-radius: 8px; }
.traffic-item.on, .traffic-item:hover { border-color: color-mix(in srgb, var(--tone) 44%, #1a2d3b); background: #142936; }
.traffic-item > span:nth-child(2) { flex: 1; }
.traffic-item strong, .traffic-item small { display: block; }
.traffic-item strong { font-size: 12px; }
.traffic-item small { color: var(--muted); font-size: 11px; margin-top: 3px; }
.traffic-item .icon-tile { width: 33px; height: 33px; }
.traffic-item .icon-tile svg { width: 17px; height: 17px; }
.traffic-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 6px; }
.production-colony { padding: 11px 9px; border: 1px solid var(--line-soft); border-radius: 10px; background: #101e2a; }
.production-colony + .production-colony { margin-top: 8px; }
.production-colony.on { border-color: #34575f; }
.production-colony header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.production-colony header > div { flex: 1; }
.production-colony h3 { font: 680 19px var(--display); }
.production-colony header p { color: var(--muted); font-size: 10px; margin-top: 3px; }
.production-colony .icon-tile { width: 36px; height: 36px; }
.production-colony .icon-tile svg { width: 18px; height: 18px; }
.production-rows { display: grid; gap: 0; }
.production-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(48px, auto); align-items: center; gap: 8px; padding: 8px 1px; border-top: 1px solid var(--line-soft); }
.production-row > span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--tone); font-size: 11px; }
.production-row > strong { font: 650 14px var(--display); font-variant-numeric: tabular-nums; }
.production-row > small { color: var(--tone); font: 11px var(--mono); text-align: right; white-space: nowrap; }
.production-meta { display: flex; flex-wrap: wrap; gap: 5px 11px; border-top: 1px solid var(--line-soft); padding-top: 8px; color: var(--muted); font-size: 10px; }
.production-meta > span { display: inline-flex; align-items: center; gap: 3px; }
.tutorial-step { display: grid; justify-items: start; gap: 14px; }
.tutorial-step .eyebrow { color: var(--mint); margin-top: 11px; }
.tutorial-step h2 { font: 680 26px/1.05 var(--display); margin: 6px 0; }
.tutorial-step p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.tutorial-step .meter { width: 100%; }
@media (max-width: 1085px) {
  .command-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 740px) {
  .traffic-board, .production-board { padding: 10px; }
  .traffic-scene, .traffic-standby { min-height: 221px; gap: 13px; padding: 12px; }
  .traffic-scene .feature-image img { object-position: 63% 51%; }
  .traffic-end { gap: 4px; }
  .traffic-end b { font-size: 12px; }
  .traffic-end > span { width: 22px; height: 22px; }
  .traffic-end > span svg { width: 13px; height: 13px; }
  .traffic-end small, .traffic-arrival small { font-size: 8px; }
  .traffic-arrival .timer { font-size: 21px; }
  .traffic-arrival { padding: 7px 9px; }
}
.frontier-entry { margin-bottom: 11px; }
.crew-operation { position: relative; isolation: isolate; overflow: hidden; }
.crew-operation::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #0a1726f0, #071520c9 62%, #081722a1), linear-gradient(0deg, #071521, transparent 85%); pointer-events: none; }
.crew-operation .feature-image img { object-position: 70% center; }
.crew-label { margin-top: 3px; color: #b9d1db; font-size: 12px; }
.crew-roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 16px 0 13px; }
.crew-role { display: flex; flex-wrap: wrap; align-items: start; align-content: start; gap: 9px; padding: 10px; border: 1px solid color-mix(in srgb, var(--tone) 23%, var(--line)); background: #0c1c29ed; border-radius: 9px; }
.crew-role > div { flex: 1; min-width: min(100%, 95px); }
.crew-role h3, .crew-intel h3 { font: 700 17px var(--display); margin: 2px 0 3px; }
.crew-role p, .crew-role small, .crew-intel p, .crew-flight p { color: var(--muted); font-size: 12px; line-height: 1.42; }
.crew-role small { display: block; margin-top: 3px; }
.crew-role .btn { width: 100%; }
.crew-prep { display: grid; justify-items: start; gap: 10px; }
.crew-prep .notice { margin: 0; }
.crew-intel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 9px 11px; border: 1px solid #426779; border-radius: 8px; background: #102b38dc; }
.crew-intel > div { display: flex; align-items: center; gap: 9px; }
.crew-intel > div > svg { color: var(--blue); }
.crew-intel-stock { font-size: 11px; color: var(--muted); }
.crew-intel-stock .costs { margin-left: 4px; }
.crew-numbers { display: flex; flex-wrap: wrap; gap: 6px; }
.crew-numbers > span { padding: 6px 9px; border-radius: 6px; background: #142632; border: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.crew-numbers b { color: var(--mint); }
.crew-flight { padding: 12px; border: 1px solid #436978; border-radius: 9px; background: #0e2230e5; }
.crew-flight > span { display: inline-flex; align-items: center; gap: 8px; color: var(--mint); font: 690 12px var(--mono); }
.crew-flight .meter { margin: 9px 0; }
.crew-flight .meter i { box-shadow: 0 0 12px var(--mint); }

dialog.probe-modal { width: min(1040px, 100% - 16px); max-height: 95dvh; }
.probe-modal .modal-body { padding: 0; }
.probe-modal .modal-heading { padding: 10px 14px; }
.probe-interface { background: #07131e; }
.probe-hud { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; padding: 12px 14px; gap: 8px 24px; border-bottom: 1px solid #2c4a58; }
.probe-hud > div { display: grid; min-width: 0; gap: 2px; }
.probe-hud span { color: #8bb2c2; font: 10px var(--mono); letter-spacing: .09em; line-height: 1.3; }
.probe-hud strong { color: var(--mint); font: 700 clamp(16px, 2.1vw, 25px)/1.1 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.probe-screen { position: relative; isolation: isolate; overflow: hidden; height: clamp(230px, 51dvh, 515px); background: radial-gradient(ellipse at 32% 45%, #31515c45, #0b20307c 42%, #030811 86%), radial-gradient(ellipse at 63% 33%, #163b60cb, #09131deb 54%, #020711); }
.probe-screen canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: crosshair; outline-offset: -3px; }
.probe-screen canvas:focus-visible { outline-color: #57bdbe80; }
.probe-scanlines { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 48%, transparent 54%, #02070c99 100%), repeating-linear-gradient(0deg, #a9d7e209 0px, #a9d7e209 1px, transparent 1px, transparent 5px); }
.probe-aim { position: absolute; transform: translate(-50%, -50%); width: 37px; height: 37px; display: grid; place-items: center; z-index: 2; border: 1px dashed #6df3dccc; border-radius: 50%; color: var(--mint); pointer-events: none; box-shadow: 0 0 10px #61e6cc51; }
.probe-aim.gold { border-color: var(--gold); color: var(--gold); }
.probe-aim span { position: absolute; top: 112%; font: 10px var(--mono); background: #0b1a27dd; padding: 2px 4px; border-radius: 4px; white-space: nowrap; }
.probe-lock { position: absolute; top: 10%; left: 50%; transform: translateX(-50%); z-index: 3; color: var(--mint); border: 1px solid #86f5deb0; border-radius: 7px; padding: 6px 10px; background: #0d2731ec; font: 700 12px var(--mono); pointer-events: none; white-space: nowrap; }
.probe-aim[hidden], .probe-lock[hidden], [data-probe-start][hidden] { display: none; }
.probe-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px; padding: 13px 14px 15px; border-top: 1px solid #2f4857; }
.probe-footer > div:first-child { flex: 1 1 290px; }
.probe-footer p { color: #d5ebef; font-size: 13px; line-height: 1.4; }
.probe-footer .probe-controls { display: flex; align-items: center; gap: 5px; margin-top: 6px; color: var(--muted); font-size: 11px; }
@media (max-width: 740px) {
  .crew-roles { grid-template-columns: minmax(0, 1fr); }
  .crew-role .btn { width: auto; }
  .probe-hud { padding: 8px 9px; gap: 8px; }
  .probe-hud span { font-size: 8px; }
  .probe-modal .modal-heading { padding: 6px 9px; }
  .probe-screen { height: clamp(230px, 48dvh, 455px); }
  .probe-footer { padding: 9px 10px 10px; }
  .probe-aim { width: 31px; height: 31px; }
  .probe-aim svg { width: 19px; height: 19px; }
}
.probe-screen::before { content: ""; position: absolute; inset: -32px; z-index: -1; background: linear-gradient(135deg, #0b172a0f, #04101c2f 78%), url("/assets/sondenkorridor-1500.webp") center / cover; transform: translate(var(--drift-x, 0), var(--drift-y, 0)); pointer-events: none; }
@media (max-width: 740px) {
  .probe-screen::before { background-image: linear-gradient(135deg, #0b172a0f, #04101c2f 78%), url("/assets/sondenkorridor-768.webp"); }
}
.boss-brief { display:flex; justify-content:space-between; gap:12px; align-items:center; padding:12px 15px 9px; background:#0d2231; }
.boss-brief h3 { margin:4px 0; font:700 clamp(18px,3vw,27px) var(--display); }
.boss-brief p:not(.eyebrow) { color:var(--muted); font-size:12px; }
.boss-controls { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; padding:8px 15px; gap:7px; background:#0a1a26; }
.boss-radio { display:grid; gap:5px; color:var(--blue); font-size:12px; }
.boss-controls .btn { min-height:39px; }
.boss-controls .btn[aria-pressed=true] { border:1px solid var(--mint); box-shadow:inset 0 0 10px #63dfc338; }
.btn.gold-crew-btn { background:#392b20; border:1px solid #ac825573; color:var(--gold); }
.boss-crew { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:5px; padding:6px 13px; }
.boss-crew article { display:grid; gap:3px; background:#132631; padding:6px 7px; border:1px solid #35505a; border-radius:6px; font-size:11px; }
.boss-crew strong { color:var(--mint); }
.boss-crew svg { margin-right:4px; color:var(--blue); }
.boss-feedback { padding:5px 15px; color:var(--muted); font-size:12px; }
.boss-interface .probe-screen { height:clamp(230px,40dvh,415px); }
.boss-interface .probe-screen::before { filter:hue-rotate(334deg); }
.boss-interface .probe-hud { padding-top:7px; padding-bottom:7px; }
@media(max-width:740px){ .boss-interface .probe-screen {height:clamp(220px,35dvh,345px)} .boss-controls .btn{font-size:11px;padding-inline:7px;} }

/* Orbitaldock: anthracite consoles, copper selectors and ice-blue instrumentation. */
:root {
  --bg: #080c13; --sidebar: #0b1017; --panel-deep: #11171f; --panel: #171f29;
  --line: #38414b; --line-soft: #29323d; --text: #f0efea; --muted: #b2bdc9;
  --mint: #99d9da; --gold: #ffaf71; --copper: #ffa766; --radius: 5px;
}
.workspace { background: radial-gradient(ellipse at 80% 5%, #1e273680, transparent 53%), var(--bg); }
.sidebar { background: linear-gradient(160deg,#17202a 0%,#0a0f16 30%,#10151d 92%); border-right-color: #323a43; }
.wordmark { color: var(--text); }
.wordmark > span { font-style: italic; letter-spacing: .16em; }
.wordmark small { font-style: normal; color: var(--copper); }
.nav-group p { color: #a4aab1; font: 600 9px var(--mono); letter-spacing: .19em; }
.nav-link { border-radius: 2px; color: #b9c3cc; }
.nav-link > svg { width: 21px; height: 21px; color: #a0b1bd; }
.nav-link.selected { color: #ffcb9d; border-color: #604939; background: linear-gradient(90deg,#3a2b22,#1b1b1c); box-shadow: inset 3px 0 var(--copper); }
.nav-link.selected > svg { color: var(--copper); }
.topbar { background: #0e141cec; border-bottom-color: #343c45; }
.resource-strip { gap: clamp(12px,3vw,48px); }
.resource .icon-tile { width: 38px; height: 38px; background: transparent; border: 0; }
.resource .icon-tile svg { width: 30px; height: 30px; }
.resource-label { letter-spacing: .07em; }
.location, .icon-button, .pilot-card, .pill, .btn, .icon-tile, .feature, dialog { border-radius: 4px; }
.location-bar h1 { font-size: clamp(24px,3.1vw,42px); font-weight: 650; letter-spacing: -.035em; }
.location-bar .eyebrow { color: var(--copper); font-family: var(--mono); }
.panel { background: linear-gradient(125deg,#19222c,#10151c 70%); }
.section-title h2 { font-weight: 650; }
.btn.primary { color: #21160d; background: linear-gradient(110deg,#ffc092,#f69d58); border-color: #ffbb87; }
.btn.primary:hover:not(:disabled) { background: #ffcb9c; }
.traffic-board { padding: 0; background: #090e15; border-color: #455261; overflow: hidden; }
.traffic-board .traffic-scene { border: 0; border-radius: 0; }
.traffic-board .traffic-list, .traffic-board .traffic-footer { padding: 8px 15px; }
.traffic-standby { min-height: clamp(300px,27vw,430px); padding: clamp(20px,2.4vw,40px); }
.traffic-standby::after { background: linear-gradient(90deg,#090d14a6,transparent 65%),linear-gradient(0deg,#080d16aa,transparent 50%); }
.traffic-standby .feature-image img { object-position: 55% 50%; }
.traffic-standby > header { align-self: start; align-items: center; color: #dde9ec; font: 600 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.dock-locator, .dock-coordinates { display: inline-flex; align-items: center; gap: 9px; background: #080e16ad; padding: 6px 9px; }
.dock-locator { border-left: 2px solid var(--copper); }
.traffic-standby .dock-label { color: #ffc39a; text-transform: uppercase; letter-spacing: .21em; font: 600 10px var(--mono); margin: 0 0 5px; }
.traffic-standby h3 { font-size: clamp(45px,5.5vw,83px); font-weight: 640; line-height: .98; }
.dock-caption > p { text-shadow: 0 1px 5px #000; }
.dock-decks { margin-top: 20px; grid-template-columns: minmax(0,1.7fr) minmax(265px,1fr); align-items: stretch; }
.hangar-deck, .production-board { border: 1px solid var(--line-soft); border-top-color: #4a535b; min-width: 0; padding: 15px; background: linear-gradient(145deg,#1a222d,#10151c); border-radius: 4px; }
.berths { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.berth { display: grid; min-width: 0; position: relative; text-align: left; padding: 0; border: 1px solid #35404b; border-radius: 3px; overflow: hidden; background: #090e14; }
.berth:hover, .berth:focus-visible { border-color: var(--copper); }
.berth img { width: 100%; aspect-ratio: 1.48; object-fit: contain; background: #080c14; }
.berth-stock { position: absolute; top: 5px; right: 5px; padding: 3px 5px; color: #c1e3df; background: #111923df; font: 10px var(--mono); }
.berth-info { display: grid; gap: 2px; padding: 9px 10px 10px; border-top: 1px solid #27333c; background: linear-gradient(120deg,#202a34,#121922); }
.berth-info small { font: 9px var(--mono); letter-spacing: .07em; color: #afbfcd; text-transform: uppercase; }
.berth-info strong { font: 650 clamp(15px,1.6vw,23px) var(--display); }
.production-colony, .production-colony.on { background: #10171e; border-color: #303c46; border-radius: 3px; }
.ship-plate { width: 100%; height: clamp(125px,13vw,205px); object-fit: contain; background: #090d14; }
.job-card:has(.ship-plate) { overflow: hidden; }
.job-card .icon-tile, .ship-picker .icon-tile { border-radius: 2px; }
@media (max-width: 1085px) {
  .dock-decks { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .resource-strip { gap: 5px; }
  .resource .icon-tile { width: 24px; height: 24px; }
  .resource .icon-tile svg { width: 23px; height: 23px; }
  .traffic-standby { min-height: 285px; padding: 15px; }
  .traffic-standby .feature-image img { object-position: 69% 45%; }
  .traffic-standby::after { background: linear-gradient(0deg,#060c15ef 0%,#060b1477 39%,transparent 71%); }
  .dock-decks { margin-top: 12px; gap: 12px; }
  .berths { gap: 5px; }
  .hangar-deck,.production-board { padding: 10px; }
  .berth img { aspect-ratio: 1.12; }
  .berth-info { padding: 6px; }
  .berth-info small { font-size: 8px; letter-spacing: 0; }
  .mobile-nav .nav-link.selected { box-shadow: inset 0 2px var(--copper); }
}
.admin-trigger { position: relative; }
.admin-trigger.admin-on { color: var(--mint); border-color: #498279; background: #153136; }
.admin-trigger i { position:absolute; top:7px; right:7px; width:6px; height:6px; border-radius:50%; background:var(--mint); }
dialog.playtest-modal { width:min(100% - 22px, 485px); }
.playtest-modal .modal-heading { padding:13px 17px; }
.playtest-modal .modal-body { padding:13px 16px 16px; }
.playtest-modal [hidden] { display:none; }
.admin-tabs { display:flex; gap:5px; padding:4px; background:#091520; border:1px solid var(--line); border-radius:10px; margin-bottom:12px; }
.admin-tabs .btn { flex:1; min-width:0; justify-content:center; padding:0 5px; font-size:12px; }
.admin-tabs .tab:not(.on) { background:transparent; border-color:transparent; }
.admin-form { display:grid; gap:10px; }
.admin-form > button { justify-self:start; }
.admin-master { display:flex; gap:9px; align-items:center; padding:8px 11px; background:linear-gradient(110deg,#18343a,#142834); color:var(--mint); border:1px solid #315b60; border-radius:10px; }
.admin-master .admin-toggle { flex:1; }
.admin-box { border:1px solid var(--line); border-radius:10px; background:#101f2b; padding:10px 11px; }
.admin-box + .admin-box { margin-top:10px; }
.admin-form .admin-box + .admin-box { margin-top:0; }
.admin-box h3 { display:flex; align-items:center; justify-content:space-between; gap:6px; font:650 16px var(--display); margin-bottom:5px; }
.admin-box h3 span { color:var(--muted); font:550 11px var(--display); }
.admin-toggle { position:relative; display:flex; gap:12px; align-items:center; justify-content:space-between; min-height:40px; cursor:pointer; }
.admin-toggle strong { color:var(--text); font-size:13px; }
.admin-toggle small { display:block; color:var(--muted); font-size:11px; line-height:1.45; margin-top:2px; }
.admin-toggle + .admin-toggle { border-top:1px solid var(--line-soft); }
.admin-toggle input { position:absolute; opacity:0; inline-size:40px; block-size:32px; inset-inline-end:0; min-height:0; margin:0; }
.admin-toggle i { flex:0 0 36px; height:21px; background:#26394a; border:1px solid #546976; border-radius:18px; display:flex; align-items:center; padding:2px; }
.admin-toggle i::after { content:""; display:block; width:15px; height:15px; border-radius:50%; background:#bacbd3; transition:transform 140ms ease; }
.admin-toggle input:checked + i { background:#225d58; border-color:#66baac; }
.admin-toggle input:checked + i::after { background:var(--mint); transform:translateX(14px); }
.admin-toggle input:focus-visible + i { outline:2px solid var(--mint); outline-offset:3px; }
.admin-dial { display:grid; gap:2px; margin-top:5px; }
.admin-dial-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.admin-dial-head label { font-size:13px; }
.admin-number { display:inline-flex; align-items:center; gap:5px; background:#0b1924; border:1px solid #3a5363; border-radius:7px; padding-right:8px; color:var(--mint); font:600 13px var(--mono); }
.admin-number input { border:0; width:75px; min-height:32px; background:transparent; padding:4px 6px; color:var(--mint); text-align:right; font:inherit; appearance:textfield; }
.admin-number input::-webkit-inner-spin-button { appearance:none; }
.admin-dial input[type=range] { background:transparent; border:0; accent-color:var(--mint); padding:0; width:100%; min-height:30px; cursor:pointer; }
.admin-presets { display:flex; gap:5px; flex-wrap:wrap; margin:2px 0 4px; }
.admin-presets button { background:#122532; color:var(--muted); border:1px solid #365164; border-radius:6px; padding:3px 7px; min-height:30px; font:600 11px var(--mono); cursor:pointer; }
.admin-presets button[aria-pressed=true] { color:var(--mint); background:#193a3b; border-color:#4b857d; }
.admin-time { color:var(--muted); font-size:12px; line-height:1.4; margin-top:7px; }
.admin-submit { display:flex; gap:8px; flex-wrap:wrap; justify-content:space-between; align-items:center; }
.admin-submit p, .admin-message { color:var(--mint); font-size:12px; }
.admin-submit p:empty { display:none; }
.admin-submit .btn { margin-left:auto; }
[data-admin-status].is-error { color:var(--red); }
.admin-accounts { margin:0; padding:0; list-style:none; }
.admin-accounts li { display:flex; gap:8px; justify-content:space-between; align-items:center; padding:7px 0; font-size:13px; }
.admin-accounts li + li { border-top:1px solid var(--line-soft); }
.admin-accounts small { display:block; color:var(--muted); }
.admin-accounts .btn { min-height:34px; padding:0 6px; }

/* Pilot briefings, actionable requirements and reconnaissance console */
.welcome-briefing > p, .profile-choice p { color: var(--muted); line-height: 1.5; }
.welcome-briefing, .profile-choice { display: grid; gap: 14px; }
.welcome-briefing > header, .profile-choice article > header, .upgrade-card > header { display: flex; align-items: center; gap: 11px; }
.welcome-briefing h3 { font: 650 27px/1.13 var(--display); }
.welcome-briefing footer { justify-content: flex-end; padding-top: 10px; border-top: 1px solid var(--line-soft); }
.briefing-links { margin-bottom: 13px; }
.profile-choice article, .upgrade-card {
  padding:11px; border:1px solid var(--edge); min-width:0;
}
.profile-choice article { display:grid; justify-items:start; gap:8px; }
.profile-choice article b { color:var(--tone); font-size:12px; }
.upgrade-deck { display:grid; gap:6px; width:100%; }
.upgrade-card { display:grid; gap:7px; border-left:2px solid #a59175; }
.upgrade-card small { display:block; color:var(--muted); font-size:11px; }
.upgrade-card .btn { justify-self:start; margin:0; }
.stock-check { display:flex; flex-wrap:wrap; gap:5px; }
.stock-check > span { display:flex; align-items:center; gap:6px; padding:4px 6px; color:var(--tone); }
.stock-check .icon-tile { width:26px; height:26px; border:none; }
.stock-check .icon-tile svg { width:15px; height:15px; }
.stock-check b { display:block; font:620 11px var(--mono); }
.stock-check small { display:block; font:10px var(--mono); color:var(--muted); }
.stock-check small.short { color:#ffab94; }
.stock-check small.ready { color:#a4e6be; }
.intel-quiet svg { display: inline; vertical-align: middle; }
.modal-body .dialog-quote:has(.upgrade-deck) > .upgrade-deck { flex-basis: 100%; }
@media(max-width: 420px) {
  .top-actions .icon-button { width: 32px; height: 34px; }
}

/* Shared station materials for screens and overlays. */
:root { --raised:#202932; --surface:#121923; --inset:#0d131b; --edge:#48525c; }
.modal-heading { background:#161d26fa; border-bottom-color:var(--edge); box-shadow: inset 3px 0 var(--copper); }
dialog { background:var(--surface); border-color:var(--edge); }
dialog::backdrop { background:#06080dd4; }
input, select, textarea, .post-form textarea { background:var(--inset); border-color:var(--edge); border-radius:3px; }
input[readonly] { background:var(--panel-deep); }
.btn.secondary, .btn.tab { background:#222b35; border-color:#505b65; }
.btn.secondary:hover:not(:disabled), .btn.tab:hover { background:#2a3640; border-color:#a2a5a2; }
.btn.tab.on { color:#ffcca0; border-color:#8e684b; background:#352820; box-shadow:inset 0 -2px var(--copper); }
.notice,.frontier-status,.pilot-activity > div,.duel-rules,.post-chat-log li,.post-waves,.target-row { border-radius:3px; }
.notice,.dialog-quote,.crew-goals,.frontier-status,.pilot-activity > div { background:var(--inset); border-color:var(--line); }
.notice { border-left:2px solid var(--tone,var(--copper)); }
.nav-count,.pill { background:#202932; border-color:var(--edge); }
.offer,.report,.ranking li { border-color:var(--line-soft); }
.reports .report { padding-inline:3px; }
.pilot-card,.icon-button { background:#151d26; border-color:var(--line); }
.modal-heading .icon-button { background:var(--inset); }
.profile-choice article,.upgrade-card { background:linear-gradient(145deg,#212a35,#111820); }
.stock-check > span { background:var(--inset); }
.crew-intel,.op-goals > div,.maneuver-options article { border-color:var(--line); background:var(--surface); }

/* Shared section headers with location art from the game. */
.content[data-route=atlas] { --department-art:url("/assets/chart-nebula.webp"); }
.content[data-route=market] { --department-art:url("/assets/orbitaldock-768.webp"); }
.content[data-route=duel] { --department-art:url("/assets/hangar-768.webp"); }
.content[data-route=journal],.content[data-route=rank],.content[data-route=tutorial] { --department-art:url("/assets/meridian-768.webp"); }
.content:is([data-route=atlas],[data-route=market],[data-route=duel],[data-route=journal],[data-route=rank],[data-route=tutorial]) > .location-bar {
  position:relative; isolation:isolate; padding:clamp(14px,2.4vw,28px);
  min-height:clamp(98px,10vw,138px); align-items:center; border:1px solid var(--edge); border-left:2px solid var(--copper);
  background:linear-gradient(90deg,#111820,#111923 27%,#0b121db8 59%,#10151c5e),var(--department-art) 70% center / cover no-repeat;
}
.atlas-signal { gap:9px; }
.atlas-signal > div { flex:1; }
.atlas-beacon { display:grid; place-items:center; width:37px; height:37px; background:#15252b; color:var(--mint);
  clip-path:polygon(20% 0,100% 0,100% 80%,80% 100%,0 100%,0 20%); }
.assault-requests summary { cursor:pointer; font-size:12px; color:var(--mint); }
.assault-requests .upgrade-deck { margin-top:8px; }
.recovery-plan, .advanced-briefing article { border:1px solid var(--line); background:var(--panel); padding:12px; }
.recovery-plan summary { font-weight:750; font-size:15px; }
.recovery-plan summary svg { vertical-align:middle; margin-inline:4px; }
.recovery-plan p, .advanced-briefing p, .admin-box > p { margin-block:8px; }
.recovery-plan .form-grid, .advanced-briefing .form-grid { grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr)); }
.recovery-plan [data-recovery-custom][hidden] { display:none; }
.recovery-plan .assault-metrics { margin-top:10px; }
.advanced-briefing { margin-top:16px; scroll-margin-top:110px; }
.advanced-briefing h3 { margin-top:8px; }
.admin-reset-confirm { margin-top:12px; }
.admin-universe .admin-box h3 { justify-content:flex-start; }
@media(max-width:420px) {
  .content .location-bar > div { min-width:0; }
  .atlas-beacon { width:29px; height:29px; }
  .atlas-beacon svg { width:16px; }
}

.requirements-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:3px 10px;
  margin:0 0 11px; padding:4px 8px; border:1px solid var(--line); background:var(--surface); font-size:12px; color:var(--muted); }
.requirements-toolbar > span { display:inline-flex; align-items:center; gap:6px; }
.job-card.is-blocked { border-top-color:#ab624f; }
.job-prerequisites { border:1px solid #81544a; border-left:3px solid #e58772; background:#251d21; }
.job-prerequisites summary { display:flex; align-items:center; gap:8px; cursor:pointer; padding:9px 10px; color:#ffb3a0; list-style:none; }
.job-prerequisites summary::-webkit-details-marker { display:none; }
.job-prerequisites summary > span { flex:1; min-width:0; }
.job-prerequisites summary small { display:block; color:#d8bcb3; font-size:11px; line-height:1.35; margin-top:3px; }
.job-prerequisites[open] summary > svg:last-child { transform:rotate(180deg); }
.prerequisite-projects { border-top:1px solid #754f47; padding:7px; background:#151b22; }
.job-art { position:relative; min-width:0; }
.job-art .ship-plate { display:block; }
.job-order-banner { display:grid; gap:3px; background:#101c23; border:1px solid #5b8d86; color:#d9ecec; min-width:0; }
.job-art .job-order-banner { position:absolute; inset:0 0 auto; background:#0d171ef3; box-shadow:0 5px 18px #0007; }
.job-order-line { padding:5px 7px; border-left:3px solid var(--mint); }
.job-order-line.queued { border-left-color:var(--gold); }
.job-order-line > div:first-child { display:flex; align-items:center; gap:5px; }
.job-order-line > div:first-child > div { flex:1; min-width:0; }
.job-order-line strong { font:720 13px var(--display); color:var(--mint); }
.job-order-line.queued strong { color:var(--gold); }
.job-order-line small,.job-order-line > div > span { display:block; font:10px var(--mono); color:var(--muted); }
.job-order-line .meter { margin-top:4px; }
.test-world-bar { justify-content:space-between; flex-wrap:wrap; }
.test-world-bar .btn { min-height:36px; padding:5px 10px; }

.job-card footer > :is(.stock-check,.job-cost-label), .dialog-quote > .stock-check { flex-basis:100%; }
.job-card footer > .stock-check { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(139px,100%),1fr)); }
.job-card footer > .stock-check > span { align-items:center; border:1px solid var(--line-soft); }
.job-card footer .system-next { margin:0; }
.job-card footer > .job-cost-label { margin:0; }

dialog.pilot-modal { width:min(100% - 22px, 780px); }
.pilot-modal .modal-body { padding:0; }
.pilot-dossier { display:grid; gap:14px; padding:14px; }
.dossier-hero { position:relative; isolation:isolate; overflow:hidden; display:grid; gap:16px; min-height:155px; align-content:end;
  padding:18px; border:1px solid var(--edge); background:var(--inset); border-left:2px solid var(--copper); }
.dossier-hero::after { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(90deg,#0b141eee,#0b141e58 75%),linear-gradient(0deg,#0b141ebf,transparent 72%); }
.dossier-hero .feature-image img { object-position:65% 45%; }
.dossier-id { display:flex; align-items:center; gap:10px; }
.dossier-id h3 { font:750 clamp(24px,5vw,38px)/1.1 var(--display); overflow-wrap:anywhere; }
.dossier-rank { display:flex; flex-wrap:wrap; gap:7px; }
.dossier-rank > div,.contact-status { display:inline-flex; align-items:center; gap:7px; padding:6px 9px; border:1px solid var(--line);
  background:#101a24e8; color:var(--muted); font:12px var(--mono); }
.dossier-rank svg,.contact-status svg { color:var(--mint); }
.dossier-rank b { color:var(--text); }
.dossier-panels { display:grid; grid-template-columns: 2fr 1fr; gap:9px; }
.dossier-home,.dossier-clan { display:flex; flex-wrap:wrap; align-items:center; gap:10px; min-width:0; padding:12px;
  border:1px solid var(--line); background:var(--panel-deep); }
.dossier-home > div:nth-child(2), .dossier-clan > div { flex:1 1 118px; min-width:0; overflow-wrap:anywhere; }
.dossier-home h4 { font:700 18px var(--display); }
.dossier-home small { color:var(--muted); }
.dossier-coordinates { color:var(--mint); font:700 15px var(--mono); margin:4px 0; }
.dossier-planet { display:grid; place-items:center; width:49px; height:49px; color:var(--mint); }
.dossier-planet .celestial-body { width:45px; }
.dossier-actions .btn { min-height:40px; }
.dossier-activity { border-top:1px solid var(--line); padding-top:10px; }
.pilot-dossier .pilot-activity { grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; }
.pilot-dossier .pilot-activity > div { border:1px solid var(--line-soft); gap:7px; }
.pilot-activity dt { display:flex; align-items:center; gap:6px; overflow-wrap:anywhere; }
.pilot-activity dt svg { color:var(--mint); flex:none; }
.pilot-activity dd { margin:0; font:700 18px var(--mono); }
.clan-contact-nav { margin-bottom:12px; }
.contact-channel { min-width:0; }
.friends-channel { margin-top:12px; }
.contact-card { display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:10px; align-items:center;
  padding:10px; margin-top:7px; border:1px solid var(--line-soft); background:var(--inset); }
.contact-card h3 { font:700 15px var(--display); overflow-wrap:anywhere; }
.contact-card small { color:var(--muted); }
.public-clan-hero { min-height:120px; }
@media (max-width:620px) {
  .dossier-panels { grid-template-columns:1fr; }
  .pilot-dossier .pilot-activity { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:430px) {
  .pilot-dossier { padding:10px; gap:10px; }
  .dossier-hero { min-height:132px; padding:12px; }
  .contact-card { grid-template-columns:auto minmax(0,1fr); }
  .contact-card > :last-child:not(h3) { grid-column:2; justify-self:start; }
}
.admin-pause { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; padding:9px;
  border:1px solid var(--line); background:var(--inset); }
.admin-pause.paused { border-left:3px solid var(--copper); }
.admin-pause p { color:var(--muted); font-size:11px; line-height:1.35; }

.colony-telemetry { display:flex; align-items:end; gap:clamp(11px,2vw,27px); flex:1; min-width:0; }
.telemetry-readings { min-width:0; }
.telemetry-planet { display:flex; align-items:center; gap:5px; margin:0 0 3px; font:650 10px var(--mono); color:#e2ded7; }
.telemetry-planet > span { color:var(--muted); }
.telemetry-planet > i { width:5px; height:5px; background:var(--mint); border-radius:50%; }
.colony-telemetry .resource-strip { gap:clamp(6px,1.35vw,20px); }
.colony-telemetry .resource { gap:5px; }
.colony-telemetry .resource .icon-tile { width:31px; height:31px; }
.colony-telemetry .resource .icon-tile svg { width:23px; height:23px; }
.power-readout strong { color:var(--tone); }
.colony-queues { display:flex; align-items:center; flex-wrap:wrap; gap:6px 10px; align-self:center; border-left:1px solid var(--edge); padding-left:clamp(9px,1.5vw,18px); }
.top-queue { display:grid; grid-template-columns:auto auto; align-items:center; gap:3px 6px; color:#ccd7df; font:10px var(--mono); min-width:0; }
.top-queue-label { color:var(--muted); white-space:nowrap; }
.top-queue-label svg { color:var(--copper); }
.top-queue-count { white-space:nowrap; }
.top-queue-count b { color:var(--mint); }
.top-queue.full .top-queue-count b { color:var(--red); }
.top-queue > i { display:flex; gap:2px; grid-column:1 / -1; }
.top-queue > i > span { flex:1; height:2px; background:#34434c; }
.top-queue > i > span.used { background:var(--copper); }
.top-queue:hover .top-queue-label,.power-readout:hover .resource-label { color:var(--copper); }
@media(max-width:1140px) and (min-width:741px) {
 .colony-telemetry .resource-rate { display:block; margin:1px 0 0; line-height:1; }
 .colony-telemetry .resource .icon-tile { width:22px; }
 .colony-telemetry .resource .icon-tile svg { width:18px; height:18px; }
 .top-queue-label svg { display:none; }
}
@media(max-width:880px) and (min-width:741px) {
 .colony-telemetry { display:grid; gap:3px; }
 .colony-queues { justify-self:start; border-left:0; padding-left:0; }
}
@media(max-width:740px) {
 .colony-telemetry { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 7px; align-items:center; }
 .telemetry-readings { display:contents; }
 .telemetry-planet { grid-row:2; grid-column:1; margin:0; min-width:0; }
 .telemetry-planet > b { min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
 .telemetry-planet > span { display:none; }
 .telemetry-planet > i { flex:none; }
 .colony-telemetry .resource-strip { grid-row:1; grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
 .colony-telemetry .resource { padding:4px; gap:3px; border-radius:3px; }
 .colony-telemetry .resource > div { grid-template-columns:minmax(0,1fr); column-gap:0; }
 .colony-telemetry .resource .icon-tile { width:19px; height:23px; }
 .colony-telemetry .resource .icon-tile svg { width:17px; height:17px; }
 .colony-telemetry .resource-label { font-size:9px; letter-spacing:0; }
 .colony-telemetry .resource strong { font-size:13px; }
 .colony-telemetry .resource-rate { display:block; margin:1px 0 0; line-height:1; font-size:9px; }
 .colony-queues { grid-row:2; grid-column:2; gap:8px; padding-left:7px; }
 .top-queue { font-size:9px; gap:2px 4px; }
 .top-queue-label svg { width:12px; height:12px; }
}
@media(max-width:359px) {
 .colony-telemetry .resource .icon-tile { width:14px; }
 .colony-telemetry .resource .icon-tile svg { width:13px; height:13px; }
 .colony-telemetry .resource { padding-inline:2px; }
}
