:root {
	--bg: #0D1424;
	--bg-deep: #090F1C;
	--panel: #121B2E;
	--panel-2: #18233A;
	--line: #26334D;
	--line-soft: #1C2740;
	--text: #E7EDF7;
	--muted: #8D9AB2;
	--faint: #5B6886;
	--focus: #9FE7FF;

	--live: #4FE0A6;
	--beta: #7CC4FF;
	--building: #FFC24D;
	--planned: #A58BFF;
	--idea: #56647F;
	--blocked: #FF6577;

	--r-lg: 18px;
	--r-md: 10px;
	--r-sm: 6px;
	--font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { overflow-x: hidden; }
body {
	background:
		radial-gradient(1200px 700px at 78% -10%, rgba(124, 196, 255, 0.07), transparent 60%),
		radial-gradient(900px 600px at -10% 110%, rgba(165, 139, 255, 0.06), transparent 60%),
		var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	font-variant-numeric: tabular-nums;
	min-height: 100vh;
	-webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* ---------- shell ---------- */
.top {
	position: sticky; top: 0; z-index: 20;
	display: flex; align-items: center; gap: 20px;
	padding: 14px 28px;
	background: rgba(13, 20, 36, 0.86);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; flex: none; }
.brand img { width: 28px; height: 28px; }
.brand b { font-weight: 700; font-stretch: 112%; letter-spacing: 0.01em; font-size: 16px; }
.brand span { color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 2px; margin-left: 8px; flex-wrap: nowrap; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav a {
	text-decoration: none; color: var(--muted); padding: 6px 11px; border-radius: 999px; font-size: 14px; white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a[aria-current="page"] { color: var(--text); background: var(--panel-2); }
.top .spacer { flex: 1; }
.syncline { color: var(--faint); font-size: 12.5px; text-align: right; line-height: 1.35; }
.syncline b { color: var(--muted); font-weight: 500; }

.btn {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid var(--line); background: var(--panel); color: var(--text);
	padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 14px; white-space: nowrap;
}
.btn:hover { border-color: #3A4A6B; background: var(--panel-2); }
.btn.primary { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.btn.primary:hover { background: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); background: var(--panel); }
.btn:disabled { opacity: 0.5; cursor: progress; }

main { max-width: 1440px; margin: 0 auto; padding: 28px 28px 80px; }

/* ---------- overview hero ---------- */
.hero {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr); gap: 28px; align-items: stretch;
}
.sky-wrap {
	position: relative; background: linear-gradient(180deg, rgba(18, 27, 46, 0.9), rgba(13, 20, 36, 0.4));
	border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px 18px 8px;
}
.sky-wrap h1 {
	margin: 4px 6px 0; font-size: 30px; line-height: 1.1; font-weight: 750; font-stretch: 118%; letter-spacing: -0.01em;
}
.sky-wrap .lede { margin: 6px 6px 0; color: var(--muted); max-width: 60ch; font-size: 14px; }
svg.sky { display: block; width: 100%; height: auto; max-height: 760px; }
.sky .ring { fill: none; stroke: var(--line-soft); }
.sky .ring-label { fill: var(--faint); font-size: 10.5px; letter-spacing: 0.04em; }
.sky .wedge-line { stroke: var(--line); stroke-dasharray: 2 5; }
.sky .wedge-hit { fill: transparent; cursor: pointer; }
.sky .wedge-hit:hover { fill: rgba(159, 231, 255, 0.035); }
.sky .sector-name { fill: var(--text); font-size: 15px; font-weight: 650; font-stretch: 110%; }
.sky .sector-sub { fill: var(--muted); font-size: 12px; }
.sky .dot { cursor: pointer; transition: r 120ms ease; }
.sky .dot:hover, .sky .dot.hot { stroke: #fff; stroke-width: 2; }
.sky .halo { fill: none; stroke: var(--blocked); stroke-width: 1.6; pointer-events: none; }
.sky .core-num { fill: var(--text); font-size: 46px; font-weight: 760; font-stretch: 120%; }
.sky .core-sub { fill: var(--muted); font-size: 12px; }
.sky .core { fill: rgba(79, 224, 166, 0.07); stroke: rgba(79, 224, 166, 0.35); }
@media (prefers-reduced-motion: no-preference) {
	.sky .dot { animation: rise 700ms cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--i, 0) * 1.2ms); }
	@keyframes rise { from { opacity: 0; transform: scale(0.2); } to { opacity: 1; transform: none; } }
	.sky .dot { transform-box: fill-box; transform-origin: center; }
}

.side { display: flex; flex-direction: column; gap: 18px; }
.panel {
	background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px 20px;
}
.panel h2 { margin: 0 0 12px; font-size: 15px; font-weight: 650; font-stretch: 108%; }
.panel h2 small { color: var(--muted); font-weight: 400; margin-left: 6px; font-stretch: 100%; }

.tally { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.tally div { padding: 10px 10px 8px; border-radius: var(--r-md); background: var(--panel-2); }
.tally b { display: block; font-size: 24px; font-weight: 720; font-stretch: 115%; line-height: 1.1; }
.tally span { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }

.sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sw.live { background: var(--live); } .sw.beta { background: var(--beta); } .sw.building { background: var(--building); }
.sw.planned { background: var(--planned); } .sw.idea { background: var(--idea); } .sw.blocked { background: transparent; box-shadow: inset 0 0 0 2px var(--blocked); }

.readiness { display: flex; align-items: baseline; gap: 12px; }
.readiness b { font-size: 40px; font-weight: 760; font-stretch: 120%; line-height: 1; }
.readiness p { margin: 0; color: var(--muted); font-size: 13.5px; }

.bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--line-soft); }
.bar i { display: block; height: 100%; }
.bar i.live { background: var(--live); } .bar i.beta { background: var(--beta); } .bar i.building { background: var(--building); }
.bar i.planned { background: var(--planned); } .bar i.idea { background: var(--idea); }

.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 8px 0; border-top: 1px solid var(--line-soft); display: flex; gap: 10px; align-items: baseline; }
.list-plain li:first-child { border-top: 0; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-align: left; color: var(--text); }
.linkish:hover { text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; }
.dim { color: var(--muted); }
.faint { color: var(--faint); }

/* ---------- sector cards ---------- */
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 40px 2px 14px; }
.section-title h2 { margin: 0; font-size: 21px; font-weight: 720; font-stretch: 116%; }
.section-title p { margin: 0; color: var(--muted); font-size: 14px; }

.sectors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sector { min-width: 0;
	display: flex; flex-direction: column; gap: 12px; text-decoration: none;
	background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 18px;
}
.sector:hover { border-color: var(--line); background: #141E33; }
.sector h3 { margin: 0; font-size: 16px; font-weight: 680; font-stretch: 110%; line-height: 1.2; }
.sector .blurb { margin: 0; color: var(--muted); font-size: 13px; min-height: 3.9em; }
.sector .pct { display: flex; align-items: baseline; gap: 8px; }
.sector .pct b { font-size: 34px; font-weight: 760; font-stretch: 120%; line-height: 1; }
.sector .pct span { color: var(--muted); font-size: 13px; }
.groups { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.groups li { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; font-size: 12.5px; }
.groups li .bar { grid-column: 1 / -1; height: 4px; }
.groups li span:last-of-type { color: var(--muted); }
.next { border-top: 1px solid var(--line-soft); padding-top: 10px; font-size: 12.5px; color: var(--muted); }
.next div { color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- lanes ---------- */
.lanes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lane { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 14px; min-height: 120px; }
.lane h3 { margin: 0 0 10px; font-size: 14px; font-weight: 650; display: flex; justify-content: space-between; }
.lane h3 span { color: var(--muted); font-weight: 400; }
.chip {
	display: flex; gap: 8px; align-items: flex-start; width: 100%; text-align: left;
	background: var(--panel-2); border: 1px solid transparent; border-radius: var(--r-md);
	padding: 8px 10px; margin-bottom: 6px; cursor: pointer; font-size: 13px; line-height: 1.3;
}
.chip:hover { border-color: var(--line); }
.chip .sw { margin-top: 4px; }
.chip small { display: block; color: var(--faint); font-size: 11.5px; margin-top: 2px; }
.lane .more { font-size: 12.5px; color: var(--muted); padding: 4px 2px; }

.split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.blocked-item { border-top: 1px solid var(--line-soft); padding: 10px 0; }
.blocked-item:first-of-type { border-top: 0; }
.blocked-item .why { color: var(--muted); font-size: 13px; margin-top: 2px; }
.blocked-item .fix { font-size: 13px; margin-top: 2px; color: #C9D6EA; }
.blocked-item .fix::before { content: 'Unblock: '; color: var(--blocked); }

.feed li { font-size: 13px; display: block; }
.feed .when { color: var(--faint); font-size: 12px; }
.feed pre { margin: 2px 0 0; font: inherit; white-space: pre-wrap; color: var(--muted); }

/* ---------- table views ---------- */
.page-head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: 34px; font-weight: 760; font-stretch: 120%; line-height: 1.05; }
.page-head p { color: var(--muted); max-width: 70ch; margin: 8px 0 0; }
.page-head .stats, .panel .stats, .drawer .stats { display: flex; gap: 22px; margin-top: 14px; flex-wrap: wrap; }
.page-head .stats div b, .panel .stats div b, .drawer .stats div b { display: block; font-size: 22px; font-weight: 720; font-stretch: 115%; }
.page-head .stats div span, .panel .stats div span, .drawer .stats div span { color: var(--muted); font-size: 12.5px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.toolbar input[type=search], .toolbar select {
	background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px;
}
.toolbar input[type=search] { min-width: 240px; }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 5px 11px; border-radius: 999px; cursor: pointer; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: var(--panel-2); color: var(--text); }

.group-block { margin-bottom: 26px; }
.group-block h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; font-size: 15px; font-weight: 660; }
.group-block h3 .bar { width: 140px; height: 5px; }
.group-block h3 span { color: var(--muted); font-weight: 400; font-size: 13px; }

table.ft { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
.ft th, .ft td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line-soft); font-size: 13.5px; vertical-align: top; }
.ft thead th { border-top: 0; color: var(--muted); font-weight: 500; font-size: 12.5px; background: #101828; white-space: nowrap; }
.ft thead th button { background: none; border: 0; color: inherit; cursor: pointer; padding: 0; font: inherit; }
.ft thead th button[data-dir]::after { content: attr(data-dir); margin-left: 4px; color: var(--text); }
.ft tbody tr { cursor: pointer; }
.ft tbody tr:hover td { background: rgba(159, 231, 255, 0.03); }
.ft td.title b { font-weight: 560; display: block; }
.ft td.title small { color: var(--faint); display: block; margin-top: 2px; max-width: 70ch; }
.ft .num { text-align: center; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; }
.pips { display: inline-flex; gap: 2px; }
.pips i { width: 6px; height: 10px; border-radius: 2px; background: var(--line); }
.pips i.on { background: #B8C6DD; }
.prio { display: inline-block; min-width: 26px; text-align: center; font-size: 12px; font-weight: 650; padding: 1px 6px; border-radius: 6px; background: var(--panel-2); color: var(--muted); }
.prio.p0 { background: rgba(255, 101, 119, 0.16); color: #FF97A3; }
.prio.p1 { background: rgba(255, 194, 77, 0.14); color: #FFD27F; }
.mini-progress { width: 70px; height: 5px; background: var(--line); border-radius: 999px; overflow: hidden; margin-top: 6px; }
.mini-progress i { display: block; height: 100%; background: var(--muted); }
.flag-blocked { color: var(--blocked); font-size: 12.5px; white-space: nowrap; }
.empty { padding: 40px; text-align: center; color: var(--muted); }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(5, 9, 18, 0.55); z-index: 40; }
.drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: min(720px, 100vw); z-index: 41;
	background: var(--bg); border-left: 1px solid var(--line); overflow-y: auto;
	box-shadow: -30px 0 60px rgba(0, 0, 0, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
	.drawer { animation: slide 220ms cubic-bezier(.2,.7,.2,1); }
	@keyframes slide { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.drawer header { position: sticky; top: 0; background: rgba(13, 20, 36, 0.94); backdrop-filter: blur(10px); padding: 18px 24px 14px; border-bottom: 1px solid var(--line-soft); z-index: 2; }
.drawer header .crumbs { color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; }
.drawer h2 { margin: 6px 0 0; font-size: 24px; font-weight: 720; font-stretch: 112%; line-height: 1.2; }
.drawer h2 input { width: 100%; background: transparent; border: 0; border-bottom: 1px dashed transparent; font-size: inherit; font-weight: inherit; font-stretch: inherit; padding: 0; }
.drawer h2 input:hover, .drawer h2 input:focus { border-bottom-color: var(--line); outline: none; }
.drawer .body { padding: 18px 24px 60px; display: grid; gap: 22px; }
.field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.field label, .field .lbl { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.field input[type=text], .field input[type=date], .field select, .field textarea {
	width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 8px 10px; font-size: 14px;
}
.field textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
.field.wide { grid-column: 1 / -1; }
.statusbar { display: flex; flex-wrap: wrap; gap: 6px; }
.statusbar button { border: 1px solid var(--line); background: var(--panel); border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; gap: 7px; align-items: center; font-size: 13.5px; color: var(--muted); }
.statusbar button[aria-pressed="true"] { color: var(--text); border-color: #50628A; background: var(--panel-2); }
.scale { display: inline-flex; gap: 4px; }
.scale button { width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; font-size: 13px; color: var(--muted); }
.scale button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 650; }
.progress-row { display: flex; align-items: center; gap: 12px; }
.progress-row input[type=range] { flex: 1; accent-color: var(--live); }
.callout { border-radius: var(--r-md); padding: 12px 14px; background: var(--panel); border: 1px solid var(--line-soft); font-size: 13.5px; }
.callout.blocked { border-color: rgba(255, 101, 119, 0.45); background: rgba(255, 101, 119, 0.06); }
.callout.prod { display: flex; gap: 10px; align-items: center; }
.callout.prod.warn, .callout.test.fail { border-color: rgba(255, 196, 87, 0.5); background: rgba(255, 196, 87, 0.07); }
.callout.test.fail { border-color: rgba(255, 101, 119, 0.45); background: rgba(255, 101, 119, 0.06); }
.callout.test.pass { border-color: rgba(79, 224, 166, 0.35); }
.callout.test input { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.callout code { word-break: break-all; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.btn.small { padding: 3px 10px; font-size: 12.5px; }
.chk { font-size: 11.5px; white-space: nowrap; }
.chk.pass { color: var(--live); } .chk.fail { color: var(--blocked); } .chk.none { color: var(--muted); }
.mismatch { color: #FFC457; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; }
.toggle input { accent-color: var(--blocked); width: 16px; height: 16px; }
.evidence { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.thread { display: grid; gap: 10px; }
.thread .ev { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.thread .ev .mark { width: 24px; height: 24px; border-radius: 50%; background: var(--panel-2); display: grid; place-items: center; font-size: 11px; color: var(--muted); }
.thread .ev.comment .mark { background: #23365A; color: var(--text); }
.thread .ev .who { font-size: 12.5px; color: var(--muted); }
.thread .ev .who b { color: var(--text); font-weight: 560; }
.thread .ev .txt { white-space: pre-wrap; font-size: 14px; margin-top: 2px; }
.thread .ev:not(.comment) .txt { color: var(--muted); font-size: 13px; }
.composer { display: grid; gap: 8px; }
.composer textarea { width: 100%; min-height: 70px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; resize: vertical; }
.composer .row { display: flex; justify-content: flex-end; gap: 8px; }
.drawer h4 { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.save-state { font-size: 12.5px; color: var(--faint); }

/* ---------- auth ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth .card { width: min(440px, 100%); background: var(--panel); border: 1px solid var(--line-soft); border-radius: 22px; padding: 34px 30px; }
.auth h1 { margin: 18px 0 6px; font-size: 26px; font-weight: 760; font-stretch: 118%; line-height: 1.1; }
.auth p { color: var(--muted); margin: 0 0 18px; font-size: 14px; }
.auth form { display: grid; gap: 12px; }
.auth input { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 11px 12px; font-size: 15px; }
.auth .btn { justify-content: center; padding: 11px 16px; font-size: 15px; }
.auth .err { color: #FF97A3; font-size: 13.5px; min-height: 1.2em; margin: 0; }

/* ---------- misc ---------- */
#tip {
	position: fixed; z-index: 60; pointer-events: none; max-width: 300px;
	background: #1B2742; border: 1px solid #33456A; border-radius: 10px; padding: 9px 11px; font-size: 13px; line-height: 1.35;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
#tip small { display: block; color: var(--muted); margin-top: 3px; }
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 70; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 550; }
.menu { position: relative; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--panel-2); border: 1px solid var(--line); border-radius: 14px; padding: 6px; min-width: 220px; display: grid; z-index: 30; box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.menu-pop button { text-align: left; background: none; border: 0; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; }
.menu-pop button:hover { background: var(--panel); }
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 80; background: rgba(5, 9, 18, 0.6); padding: 20px; }
.modal .card { width: min(560px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 14px; }
.modal h3 { margin: 0; font-size: 18px; }
.modal .row { display: flex; gap: 8px; justify-content: flex-end; }
.copybox { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; word-break: break-all; font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
	.sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1500px) { .syncline { display: none; } }
@media (max-width: 1380px) {
	.top { flex-wrap: wrap; }
	.nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
}
@media (max-width: 980px) {
	.hero, .split { grid-template-columns: 1fr; }
	.page-head { grid-template-columns: 1fr; }
	.page-head svg { max-width: 220px; }
	.syncline { display: none; }
}
@media (max-width: 720px) {
	main { padding: 18px 16px 60px; }
	.top { padding: 10px 16px; gap: 8px; }
	.brand b { font-size: 14px; }
	#sync-btn, #menu-btn { padding: 7px 10px; }
	#add-btn { display: none; }
	.top .spacer { display: none; }
	.tally b { font-size: 20px; }
	.page-head .stats { gap: 14px; }
	table.ft { display: block; overflow-x: auto; }
	.sectors, .lanes { grid-template-columns: 1fr; }
	.tally { grid-template-columns: repeat(3, 1fr); }
	.field-grid { grid-template-columns: 1fr 1fr; }
	.ft .hide-sm { display: none; }
	.toolbar input[type=search] { min-width: 0; width: 100%; }
}

/* ---------- failover ---------- */
.red-badge { display: inline-block; min-width: 34px; text-align: center; font-size: 11.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.red-badge.full { background: rgba(79, 224, 166, 0.14); color: #7DEBC0; }
.red-badge.partial { background: rgba(255, 194, 77, 0.14); color: #FFD27F; }
.red-badge.none { background: rgba(255, 101, 119, 0.16); color: #FF97A3; }

/* ---------- competition ---------- */
svg.threat { max-height: none; }
.threat .comp-dot { cursor: pointer; }
.threat .comp-dot:hover circle, .threat .comp-dot:focus circle { stroke-width: 2.5; }
.threat .comp-label { fill: var(--text); font-size: 11px; paint-order: stroke; stroke: var(--panel); stroke-width: 3px; }
.threat-pill { display: inline-block; font-size: 11.5px; font-weight: 650; padding: 1px 7px; border-radius: 6px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.threat-pill.t4, .threat-pill.t5 { background: rgba(255, 101, 119, 0.16); color: #FF97A3; }
.threat-pill.t3 { background: rgba(255, 194, 77, 0.14); color: #FFD27F; }
.toplist { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.gaps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gap { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 8px; }
.gap.adopted { opacity: 0.7; }
.gap-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.gap-head b { font-size: 15px; }
.gap-scores { margin-left: auto; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.gap-body { color: #C9D6EA; font-size: 13.5px; }
.gap-how { font-size: 13px; color: var(--muted); }
.gap-how span { color: var(--text); font-weight: 560; }
.gap-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.comp-list { display: grid; gap: 8px; }
.comp-card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.comp-card summary { cursor: pointer; padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; list-style: none; }
.comp-card summary::-webkit-details-marker { display: none; }
.comp-card[open] summary { border-bottom: 1px solid var(--line-soft); }
.comp-meta { margin-left: auto; color: var(--faint); font-size: 12.5px; }
.comp-body { padding: 4px 16px 14px; font-size: 13.5px; }
.comp-body p { max-width: 95ch; }
.comp-body dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; margin: 0 0 10px; }
.comp-body dt { color: var(--muted); }
.comp-body dd { margin: 0; }
.comp-body h4 { margin: 12px 0 6px; font-size: 13.5px; }
.comp-body ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.comp-body a, .feed a, .gap a { color: #A9D8FF; text-decoration: none; }
.comp-body a:hover, .feed a:hover { text-decoration: underline; }
button.sector { font: inherit; color: inherit; cursor: pointer; width: 100%; }
@media (max-width: 980px) { .gaps { grid-template-columns: 1fr; } }
svg.sky { overflow: hidden; }
.seg { flex-wrap: wrap; border-radius: 16px; }
.gap, .comp-card { min-width: 0; overflow-wrap: anywhere; }
.gap { grid-template-columns: minmax(0, 1fr); } .gap .status-pill { white-space: normal; } .gap-scores { white-space: normal; }
.inline-edit { background: transparent; border: 1px solid transparent; border-radius: 8px; padding: 3px 6px; margin-left: -6px; font-size: 14.5px; font-weight: 560; width: min(100%, 320px); }
.inline-edit:hover, .inline-edit:focus { border-color: var(--line); background: var(--bg); outline: none; }
.inline-edit.boxed { border-color: var(--line); background: var(--bg); margin-left: 0; padding: 8px 10px; font-weight: 400; flex: 1; min-width: 160px; }

/* ---------- v0.6: gated status, goal bars, sub-nav, to-dos, recent work ---------- */
:root { --gated: #49C6C0; }
.sw.gated { background: var(--gated); } .bar i.gated { background: var(--gated); }
.count { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: 11.5px; font-weight: 650; text-align: center; line-height: 18px; }
.nav a[aria-current="page"] .count { background: var(--line); }

.subnav { display: flex; gap: 4px; flex-wrap: wrap; margin: -6px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.subnav a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-radius: 8px; font-size: 14px; }
.subnav a:hover { color: var(--text); background: var(--panel); }
.subnav a[aria-current="page"] { color: var(--text); background: var(--panel-2); box-shadow: inset 0 -2px 0 var(--live); }

.goals { padding: 22px 24px 18px; }
.goals-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 18px; }
.goals-head h1 { margin: 0; font-size: 30px; font-weight: 760; font-stretch: 118%; line-height: 1.1; }
.goals-head .lede { margin: 8px 0 0; color: var(--muted); max-width: 75ch; font-size: 14px; }
.goal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.goal-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg { display: inline-block; width: 14px; height: 9px; border-radius: 3px; }
.lg.gd { background: var(--live); } .lg.gg { background: var(--gated); } .lg.gb { background: var(--building); } .lg.ge { background: #1E2A44; box-shadow: inset 0 0 0 1px var(--line); }

.goal-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 330px; gap: 18px; align-items: center; padding: 14px 6px; border-top: 1px solid var(--line-soft); text-decoration: none; border-radius: 10px; }
a.goal-row:hover { background: rgba(159, 231, 255, 0.035); }
.goal-row.total { border-top: 0; padding-top: 4px; padding-bottom: 20px; }
.goal-row.solo { grid-template-columns: minmax(0, 1fr) 320px; border-top: 0; padding: 14px 0 4px; max-width: 900px; }
.goal-name b { display: block; font-size: 15.5px; font-weight: 680; font-stretch: 110%; }
.goal-name span { color: var(--faint); font-size: 12.5px; }
.goal-nums { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--muted); }
.gn b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }
.gn.is-next { color: var(--text); }
.gn em { font-style: normal; color: var(--building); }

.goalbar { position: relative; padding: 0 64px 22px 0; }
.gtrack { position: relative; height: 16px; border-radius: 6px; background: #1E2A44; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.goalbar.big .gtrack { height: 26px; border-radius: 8px; }
.gz { position: absolute; top: 0; bottom: 0; display: flex; border-right: 2px solid var(--bg); }
.gz:last-child { border-right: 0; }
.gz i { display: block; height: 100%; }
.gz .gd { background: var(--live); } .gz .gg { background: var(--gated); } .gz .gb { background: repeating-linear-gradient(135deg, var(--building) 0 4px, rgba(255, 194, 77, 0.55) 4px 8px); }
.gz.is-next { box-shadow: inset 0 0 0 1px rgba(231, 237, 247, 0.55); }
.gmarks { position: absolute; left: 0; right: 64px; top: 16px; height: 34px; }
.goalbar.big .gmarks { top: 26px; }
.gm { position: absolute; transform: translateX(-100%); white-space: nowrap; font-size: 11px; color: var(--faint); padding-right: 4px; border-right: 1px solid var(--line); line-height: 14px; }
.gm b { color: var(--muted); font-weight: 600; }
.gm.is-next b { color: var(--text); }
.glater { position: absolute; right: 0; top: 0; font-size: 11.5px; color: var(--faint); line-height: 16px; }
.goalbar.big .glater { line-height: 26px; }

.ms-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.lane.ms.is-next { border-color: rgba(231, 237, 247, 0.3); }
.lane .more { display: block; text-decoration: none; }
.tally-link { display: block; text-decoration: none; padding: 10px 10px 8px; border-radius: var(--r-md); background: var(--panel-2); }
.tally-link:hover { background: #1D2944; }
.tally-link b { display: block; font-size: 24px; font-weight: 720; font-stretch: 115%; line-height: 1.1; }
.tally-link span { font-size: 12px; color: var(--muted); }
.flag-ready { color: #7DEBC0; font-size: 12.5px; }
.callout.deps { font-size: 13.5px; }
.pr-link { display: inline-block; padding: 1px 7px; margin-right: 4px; border-radius: 6px; background: var(--panel-2); color: #A9D8FF; text-decoration: none; }

.todo-add { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.todos { display: grid; gap: 10px; }
.todo { background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 14px 16px; display: grid; gap: 8px; min-width: 0; overflow-wrap: anywhere; }
.todo.closed { opacity: 0.7; }
.todo-head { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.todo-head b { font-size: 15.5px; }
.todo-head .faint { margin-left: auto; font-size: 12.5px; }
.todo-detail { margin: 0; color: #C9D6EA; font-size: 13.5px; max-width: 100ch; }
.todo-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.opt { border: 1px solid var(--line); background: var(--panel-2); border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; }
.opt:hover:not(:disabled) { border-color: var(--live); }
.todo-unblocks { font-size: 13px; color: var(--muted); }
.todo-answer { font-size: 13.5px; } .todo-answer span { color: var(--live); font-weight: 600; }
.todo-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.todo-actions .inline-edit.boxed { min-width: 220px; }
.todo-thread { border-top: 1px solid var(--line-soft); padding-top: 10px; }
.closed-todos { margin-top: 18px; } .closed-todos summary { cursor: pointer; color: var(--muted); margin-bottom: 10px; }

.rk { display: inline-block; min-width: 92px; font-size: 11.5px; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--panel-2); color: var(--muted); text-align: center; white-space: nowrap; }
.rk.shipped, .rk.todo-done { background: rgba(79, 224, 166, 0.14); color: #7DEBC0; }
.rk.added { background: rgba(124, 196, 255, 0.14); color: #A9D8FF; }
.rk.removed, .rk.todo-dropped { background: rgba(255, 101, 119, 0.12); color: #FF97A3; }

@media (max-width: 1100px) { .goal-row { grid-template-columns: 120px minmax(0, 1fr); } .goal-row .goal-nums { grid-column: 2; flex-direction: row; flex-wrap: wrap; gap: 4px 14px; } .goal-row.solo { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .goal-row { grid-template-columns: 1fr; gap: 8px; } .goal-row .goal-nums { grid-column: auto; } .ms-cols { grid-template-columns: 1fr; } .gm { font-size: 10px; } .gm b + * { display: none; } }

/* ---------- v0.7 pricing ---------- */
.pt td small { display: block; }
.pst { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); color: var(--muted); white-space: nowrap; }
.pst.live, .pst.current, .pst.active { color: var(--live); } .pst.built { color: var(--beta); } .pst.planned { color: var(--planned); }
.pst.supplier { color: var(--text); }
.mg { font-variant-numeric: tabular-nums; color: var(--live); } .mg.thin { color: var(--planned); } .mg.neg, .neg { color: var(--blocked) !important; }
.flagct { color: var(--planned); font-size: 12.5px; white-space: nowrap; }
.flag-ready { color: var(--beta); font-size: 12.5px; white-space: nowrap; }
.panel .stats.terms { margin-top: 4px; }
.panel .stats.big4 { margin-top: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.drawer.wide { width: min(920px, 100vw); }
.est { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; }
.ft.edit input, .ft.edit select, .ov-row input { width: 100%; min-width: 56px; background: var(--panel-2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 5px 7px; font: inherit; font-size: 13px; }
.ft.edit td { padding: 4px 6px; }
.ov-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ov-row label { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.big4 b { font-size: 22px; }
.est-out { position: sticky; top: 12px; }
.proj { width: 100%; height: auto; }
.proj .pl { fill: none; stroke-width: 2.2; } .proj .pl.rev { stroke: var(--live); } .proj .pl.cost { stroke: var(--blocked); } .proj .pl.margin { stroke: var(--beta); stroke-dasharray: 5 4; }
.lg { display: inline-block; width: 12px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.md { font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.md .md-h { margin: 18px 0 6px; } .md h2.md-h { font-size: 20px; margin-top: 0; } .md h3.md-h { font-size: 16px; } .md h4.md-h, .md h5.md-h { font-size: 14px; }
.md p, .md .md-l { margin: 6px 0; } .md .md-t { margin: 8px 0; font-size: 13px; display: block; overflow-x: auto; }
.md pre { white-space: pre-wrap; }
@media (max-width: 900px) { .est { grid-template-columns: minmax(0, 1fr); } .est-out { position: static; } .ft.edit { display: block; overflow-x: auto; } }
#es-sc { max-width: 100%; min-width: 0; }
@media (max-width: 600px) { .est-toolbar, .toolbar { flex-wrap: wrap; } #es-sc { flex: 1 1 100%; } }
/* v0.8 password sign-in */
.pw-alt { margin-top: 16px; text-align: left; border-top: 1px solid var(--line-soft); padding-top: 12px; }
.pw-alt summary { cursor: pointer; color: var(--muted); font-size: 13.5px; }
.pw-alt form { display: grid; gap: 10px; margin-top: 10px; }
.pw-alt p { margin-top: 8px; }

/* ---------- v0.9 goal grid + plan strip ---------- */
.ggrid { display: grid; gap: 0; }
.ghead, .grow { display: grid; grid-template-columns: 150px repeat(3, minmax(0, 1fr)) 48px; gap: 0 14px; align-items: center; }
.ghead { padding: 0 6px 10px; border-bottom: 1px solid var(--line-soft); }
.gh { display: flex; flex-direction: column; gap: 1px; padding-left: 10px; border-left: 2px solid var(--line); }
.gh b { font-size: 14px; font-weight: 700; font-stretch: 110%; }
.gh span { font-size: 12.5px; color: var(--muted); } .gh span i { font-style: normal; color: var(--faint); }
.gh em { font-style: normal; font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.gh.is-next { border-left-color: var(--live); } .gh.is-next em { color: var(--live); }
.gh.past { opacity: .55; }
.gh.later { border-left: 0; padding-left: 0; color: var(--faint); font-size: 12px; text-align: right; }
.grow { padding: 12px 6px; border-top: 1px solid var(--line-soft); text-decoration: none; border-radius: 10px; color: inherit; }
.ghead + .grow { border-top: 0; }
a.grow:hover { background: rgba(159, 231, 255, 0.035); }
a.grow:hover .gmeter { box-shadow: inset 0 0 0 1px rgba(159, 231, 255, 0.35); }
.gcell { position: relative; padding: 4px 10px; border-left: 2px solid transparent; min-width: 0; }
.gcell.is-next { border-left-color: rgba(79, 224, 166, 0.35); background: linear-gradient(90deg, rgba(79, 224, 166, 0.06), transparent 70%); border-radius: 0 8px 8px 0; }
.gml { display: none; font-size: 11px; color: var(--faint); margin-bottom: 3px; }
.gmeter { position: relative; height: 12px; border-radius: 999px; background: #1A2540; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; transition: box-shadow .15s; }
.grow.big .gmeter { height: 20px; }
.gmeter i { display: block; height: 100%; }
.gmeter .gd { background: linear-gradient(90deg, #2FBF86, var(--live)); box-shadow: 0 0 12px rgba(79, 224, 166, 0.55); }
.gmeter .gg { background: var(--gated); } .gmeter .gb { background: repeating-linear-gradient(135deg, var(--building) 0 4px, rgba(255, 194, 77, 0.45) 4px 8px); }
.gmeter u { position: absolute; top: 3px; bottom: 3px; width: 1px; background: rgba(231, 237, 247, 0.12); }
.gcap { display: flex; align-items: baseline; gap: 8px; margin-top: 5px; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; }
.gcap b { font-size: 15px; color: var(--text); font-weight: 720; font-variant-numeric: tabular-nums; font-stretch: 110%; }
.grow.big .gcap b { font-size: 20px; }
.gcap em { font-style: normal; color: var(--live); }
.gcell.full .gmeter { box-shadow: inset 0 0 0 1px rgba(79, 224, 166, 0.6), 0 0 14px rgba(79, 224, 166, 0.25); }
.gcell.empty .gmeter { opacity: .4; }
.glater2 { text-align: right; font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.grow.big { padding-bottom: 16px; }
.ggrid.solo { max-width: 1000px; margin: 8px 0 4px; }

.plan { margin-top: 18px; padding: 20px 24px; }
.plan-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .plan-head h2 { margin: 0; }
.plan-head .faint { font-size: 12.5px; }
.ptrack { position: relative; height: 76px; margin: 30px 10px 22px; border-bottom: 2px solid var(--line); }
.pdone { position: absolute; left: 0; bottom: -2px; height: 2px; background: var(--live); box-shadow: 0 0 10px rgba(79, 224, 166, 0.6); }
.pwin { position: absolute; bottom: -6px; height: 10px; background: repeating-linear-gradient(135deg, rgba(124, 196, 255, 0.22) 0 6px, rgba(124, 196, 255, 0.08) 6px 12px); border-radius: 5px; border: 1px solid rgba(124, 196, 255, 0.4); }
.pwin span { position: absolute; left: 2px; top: 14px; font-size: 10.5px; color: var(--beta); white-space: nowrap; text-transform: uppercase; letter-spacing: .06em; }
.pmonth { position: absolute; top: 0; bottom: 0; border-left: 1px dotted rgba(231, 237, 247, 0.1); padding-left: 4px; font-size: 11px; color: var(--faint); }
.ptoday { position: absolute; bottom: -2px; top: 6px; width: 0; border-left: 1px dashed rgba(231, 237, 247, 0.5); }
.ptoday span { position: absolute; top: -18px; left: 0; transform: translateX(-50%); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pnode { position: absolute; bottom: -8px; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: 6px; }
.pnode i { width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--muted); }
.pnode.is-next i { border-color: var(--live); background: var(--live); box-shadow: 0 0 0 4px rgba(79, 224, 166, 0.18), 0 0 16px rgba(79, 224, 166, 0.6); animation: pulse 2.4s ease-in-out infinite; }
.pnode.past i { background: var(--muted); }
.pnode span { display: flex; flex-direction: column; align-items: center; font-size: 11.5px; color: var(--muted); white-space: nowrap; line-height: 1.25; }
.pnode span b { color: var(--text); font-size: 12.5px; font-weight: 680; }
.pnode.launch90 { transform: translateX(-85%); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(79, 224, 166, 0.08), 0 0 22px rgba(79, 224, 166, 0.8); } }
@media (prefers-reduced-motion: reduce) { .pnode.is-next i { animation: none; } }
.pcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 34px; }
.pcol { padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.012); }
.pcol.is-next { border-color: rgba(79, 224, 166, 0.35); }
.pcol h3 { margin: 0 0 6px; font-size: 14.5px; } .pcol h3 span { display: block; font-weight: 400; font-size: 12px; color: var(--faint); margin-top: 2px; }
.pcol p { margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.pcol ul { margin: 0; padding-left: 18px; font-size: 13px; } .pcol li { margin: 2px 0; }
@media (max-width: 1000px) {
	.ghead { display: none; }
	.grow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
	.gml { display: block; }
	.gcell { padding: 2px 0 2px 10px; }
	.glater2 { text-align: left; }
	.pcols { grid-template-columns: minmax(0, 1fr); }
	.pnode span { font-size: 10.5px; } .pnode span b { font-size: 11px; }
}

/* intake badge */
.intake-badge { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 6px; background: rgba(124, 156, 255, 0.16); color: #A9BDFF; white-space: nowrap; vertical-align: 1px; }
.callout.intake { font-size: 13.5px; }

/* ---------- apps & sites ---------- */
.apps-subnav { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; }
.apps-subnav a { white-space: nowrap; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.app-card { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line-soft); color: inherit; text-decoration: none; min-width: 0; }
.app-card:hover { border-color: var(--line); background: var(--panel-2); }
.app-card h3 { margin: 0; font-size: 17px; font-weight: 680; font-stretch: 110%; overflow-wrap: anywhere; }
.app-card-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.app-stage { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.app-hosts { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.app-hosts code { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 1px 6px; color: var(--muted); overflow-wrap: anywhere; }
.app-purpose { margin: 0; color: var(--muted); font-size: 13.5px; flex: 1; }
.app-pct { display: flex; align-items: baseline; gap: 10px; }
.app-pct b { font-size: 26px; font-weight: 740; font-stretch: 118%; line-height: 1; }
.app-pct span { color: var(--muted); font-size: 13px; }
.app-meter { position: relative; height: 8px; border-radius: 99px; background: var(--panel-2); overflow: hidden; }
.app-meter.big { height: 12px; max-width: 640px; margin-top: 8px; }
.app-meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
.app-meter .am-w { background: rgba(255, 194, 77, 0.55); }
.app-meter .am-d { background: var(--live); }
.app-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }
.app-foot b { color: var(--text); font-weight: 600; }
.app-also { display: flex; flex-wrap: wrap; gap: 6px; }
.tagchip { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 99px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line-soft); text-decoration: none; }
a.tagchip:hover { color: var(--text); border-color: var(--line); }
.tagchip.gtm { color: #9FE7FF; border-color: rgba(159, 231, 255, 0.3); }
.req-badge { display: inline-block; font-size: 11.5px; padding: 1px 8px; border-radius: 99px; background: rgba(165, 139, 255, 0.16); color: #C9B9FF; }
.apps-table tr[data-app] { cursor: pointer; }
.apps-table tr[data-app]:hover td { background: var(--panel-2); }
.app-head h1 { margin: 6px 0 8px; overflow-wrap: anywhere; }
.app-big { margin: 14px 0 6px; }
.crumbs-line { font-size: 13px; }
pre.howto { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 10px 12px; font-size: 11.5px; white-space: pre-wrap; word-break: break-all; color: var(--muted); }
@media (max-width: 720px) { .app-grid { grid-template-columns: 1fr; } #app-link { min-width: 0 !important; width: 100%; } }

/* repo paths and URLs in text: open on GitHub in a new tab */
a.repo-link { color: #9FE7FF; text-decoration: underline; text-decoration-color: rgba(159, 231, 255, 0.35); text-underline-offset: 2px; overflow-wrap: anywhere; }
a.repo-link:hover { text-decoration-color: currentColor; }
.links-in { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 6px; font-size: 12.5px; }

/* ---------- domains ---------- */
.dom-card h3 { font-size: 16px; }
.tagchip.dom-pick { color: #9FE7FF; border-color: rgba(159, 231, 255, 0.3); }
.tagchip.dom-sends { color: #C9B9FF; border-color: rgba(165, 139, 255, 0.3); }
.tagchip.dom-warn { color: #FFC24D; border-color: rgba(255, 194, 77, 0.35); }
.apps-table tr[data-domain] { cursor: pointer; }
.apps-table tr[data-domain]:hover td { background: var(--panel-2); }

/* Waiting on you: one big card at a time (R-1: 18px+ body) */
.waiting-card { max-width: 820px; margin: 0 auto; font-size: 18px; line-height: 1.55; }
.wait-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.wait-title { font-size: 28px; line-height: 1.25; margin: 0 0 12px; }
.wait-body { font-size: 18px; }
.wait-opts { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.wait-opt { font-size: 18px; padding: 14px 18px; border: 1px solid var(--line); background: var(--panel-2); border-radius: 12px; cursor: pointer; text-align: left; }
.wait-opt.rec { border-color: var(--live); font-weight: 600; }
.wait-answer textarea { width: 100%; min-height: 90px; font-size: 18px; padding: 10px; margin-bottom: 8px; }
/* Plans view */
.plans-bar { display: flex; gap: 12px; align-items: center; margin: 4px 0 12px; } .plans-bar input { min-width: 260px; }
.plans-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.plan-card { display: block; padding: 8px 0; color: inherit; text-decoration: none; } .plan-card:hover b { text-decoration: underline; }
.plan-card b, .plan-card small, .plan-decide { display: block; } .plan-decide { margin: 4px 0; }
.plan-read .md.plan-body { font-size: 18px; line-height: 1.6; max-width: none; } .plan-read .md.plan-body .md-t { font-size: 16px; }
@media (max-width: 900px) { .plans-cols { grid-template-columns: 1fr; } }
