:root {
  color-scheme: dark;
  --page: #1c1c1e; --navbg: #0d0d0f; --panel: #151517; --panel2: #1f1f22; --line: #2c2c31; --line2: #3a3a40; --well: #000;
  --text: #f5f5f7; --muted: #8e8e93; --faint: #55555c;
  --cyan: #4ddbff; --yellow: #ffd60a; --orange: #ff8c00; --red: #ff453a; --green: #30d158;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --navh: 48px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--navh) + 12px); }
body { margin: 0; background: var(--page); color: var(--text); font: 15px/1.45 -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", sans-serif; padding-top: var(--navh); }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.num { font-variant-numeric: tabular-nums; }
.small { font-size: 12px; }

/* frame: the same on every page */
.nav { position: fixed; inset: 0 0 auto 0; height: var(--navh); z-index: 20; background: var(--navbg); border-bottom: 1px solid var(--line); }
.nav-in { height: 100%; padding: 0 24px; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15px; white-space: nowrap; letter-spacing: -0.01em; }
.nav nav, .nav-r { display: flex; align-items: center; gap: 6px; }
.nav nav { flex: 1; }
.nav nav a, .nav-r a { font: 12px var(--mono); color: var(--muted); border: 1px solid var(--line2); padding: 4px 10px; white-space: nowrap; }
.nav nav a:hover, .nav-r a:hover { color: var(--text); border-color: var(--muted); }
.nav nav a.on, .nav-r a.on, .nav nav a.on:hover, .nav-r a.on:hover { color: #000; background: var(--text); border-color: var(--text); }
.frame { padding: 28px 24px 56px; }
h1.page { font-size: 30px; font-weight: 700; margin: 0; letter-spacing: -0.02em; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.foot { margin-top: 30px; font: 12px var(--mono); color: var(--faint); }
.foot a:hover { color: var(--text); }
body.in main > .foot { display: none; }
body.untitled h1.page { font-size: 0; line-height: 0; padding: 0; border: 0; }
body.untitled .frame { padding-top: 4px; }
body.untitled h1.page .live { margin: 0; }
body.untitled h1.page .live:not(.stale) { display: none; }

/* pieces */
.badge { display: inline-grid; place-items: center; min-width: 22px; height: 16px; padding: 0 3px; background: var(--a); color: #000; font: 800 9px/1 -apple-system, system-ui, sans-serif; font-style: normal; flex: none; }
.badge.dim { opacity: 0.35; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 20%, transparent); flex: none; display: inline-block; }
.dot.slow { background: var(--yellow); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 20%, transparent); }
.dot.down { background: var(--red); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 20%, transparent); }
.dot.none { background: var(--faint); box-shadow: none; }
.chip { width: 9px; height: 9px; border-radius: 2px; background: var(--a); flex: none; display: inline-block; }
.btn { font: 12px var(--mono); color: var(--text); border: 1px solid var(--line2); padding: 5px 12px; background: var(--panel2); cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn.on:hover { color: #000; background: #d9d9de; }
.btn.on { color: #000; background: var(--text); border-color: var(--text); }
.bar { position: relative; height: 14px; border: 1.5px solid var(--a); border-radius: 3px; background: var(--well); overflow: hidden; }
.bar .fill { position: absolute; inset: 0 auto 0 0; background: #f5f5f7; }
.bar .fill.ahead { background: var(--yellow); } .bar .fill.warn { background: var(--orange); } .bar .fill.crit { background: var(--red); }
.bar .tick { position: absolute; bottom: 0; width: 1px; height: 4px; background: #555; }
.bar .now { position: absolute; top: -1px; bottom: -1px; width: 2px; background: #fff; box-shadow: 0 0 0 1px #000; }
.strip { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; height: 14px; }
.strip i { background: #26262a; border-radius: 1px; }
.strip i.up { background: color-mix(in srgb, var(--green) 70%, #000); }
.strip i.slow { background: var(--yellow); } .strip i.down { background: var(--red); }
.pill { font: 11px var(--mono); padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.pill.running { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); }
.pill.revise, .pill.failed, .pill.waiting { color: var(--yellow); border-color: color-mix(in srgb, var(--yellow) 50%, transparent); }
.pill.pr, .pill.accept { color: var(--green); border-color: color-mix(in srgb, var(--green) 50%, transparent); }
.stale { color: var(--yellow); }
.down-t { color: var(--red); }

/* A: instrument panel */
section { margin-top: 30px; }
h2.sec { font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; display: flex; gap: 10px; align-items: center; }
h2.sec > span { flex: 1; height: 1px; background: var(--line); }
h2.sec em { font-style: normal; color: var(--faint); }
.rows { background: var(--panel); border: 1px solid var(--line); }
.row { display: grid; align-items: center; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line); min-width: 0; }
.row:first-child { border-top: 0; }
a.row:hover { background: var(--panel2); }
.apps .row { grid-template-columns: 28px 150px 1fr 220px 74px 90px; }
.apps .row > span:nth-child(2) { min-width: 0; }
.apps .key { font: 11px var(--mono); color: var(--faint); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apps .desc { font-size: 13px; color: var(--muted); }
.apps .ms, .q .pct { text-align: right; font-weight: 700; }
.apps .ms span { color: var(--muted); font-weight: 400; }
.apps .mach { font: 11px var(--mono); color: var(--faint); }
.q .acct { border-top: 1px solid var(--line); padding-bottom: 8px; }
.q .acct:first-child { border-top: 0; }
.q .ahead { display: flex; align-items: center; gap: 10px; padding: 12px 16px 4px; }
.q .ahead b { font-size: 15px; }
.q .ahead .muted { font-size: 12px; }
.q .ahead .upd { margin-left: auto; font: 11px var(--mono); color: var(--faint); }
.q .row { grid-template-columns: 70px 1fr 180px 50px; padding: 6px 16px; border-top: 0; }
.q .lab { position: relative; height: 15px; font: 11px var(--mono); color: var(--muted); margin-bottom: 3px; }
.q .lab span { position: absolute; white-space: nowrap; }
.q .lab b { position: absolute; transform: translateX(-50%); color: var(--text); white-space: nowrap; }
.q .reset { color: var(--muted); text-align: right; font-size: 13px; white-space: nowrap; }
.q .pct { font-size: 16px; }
.q .say { padding: 2px 16px 0 102px; font-size: 12px; color: var(--yellow); }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
/* runs: title on its own line, pills under it, so narrow columns keep the title readable */
.runs .row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
.runs .row > .pills { grid-column: 1; grid-row: 2; justify-content: flex-start; }
.runs .row > .age { grid-column: 2; grid-row: 1; align-self: start; }
.approvals .row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.approvals .say { display: inline-block; margin: 4px 0; color: var(--muted); }
.approvals .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.edit { display: grid; gap: 8px; min-width: 0; }
.edit input, .edit textarea { width: 100%; box-sizing: border-box; background: var(--panel2); border: 1px solid var(--line2); padding: 8px; font: 13px var(--mono); }
.edit textarea { resize: vertical; line-height: 1.45; }
.edit .acts { justify-content: flex-end; }
.approvals .view { display: block; color: inherit; text-decoration: none; min-width: 0; }
.thumbs { display: flex; gap: 6px; margin-top: 8px; }
.thumbs img { height: 72px; width: auto; max-width: none; flex: none; border: 1px solid var(--line2); }
.goal .gtitle { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 6px; }
.ghead { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.ghead > .sub2 { grid-column: 1 / -1; }
.ghead a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.goal .acts { display: inline-flex; gap: 8px; }
.shots { display: flex; flex-wrap: wrap; gap: 12px; }
.shots a { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.shots img { max-height: 520px; max-width: 100%; border: 1px solid var(--line2); }
.instr { white-space: pre-wrap; word-break: break-word; font: 13px/1.5 var(--mono); background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; margin: 0; }
.facts .row { grid-template-columns: 110px 1fr; padding: 8px 16px; }
.history .row { grid-template-columns: 44px 52px minmax(0, 1fr); gap: 12px; padding: 8px 16px; align-items: start; overflow-wrap: anywhere; }
.hfilter { display: flex; flex-wrap: wrap; gap: 8px; }
.hfilter select { background: #0f0f11; border: 1px solid var(--line2); padding: 5px 8px; font-size: 13px; max-width: 100%; }
.facts code { font: 12px var(--mono); }
.machines .row { grid-template-columns: 28px 200px 110px minmax(0, 1.3fr) minmax(0, 1fr) 70px; align-items: start; }
.machines .work a:hover { text-decoration: underline; }
.machines .svcs { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.svc { font: 11px var(--mono); padding: 1px 6px; border: 1px solid var(--line2); color: var(--muted); white-space: nowrap; }
.svc.ok { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.svc.failed { color: var(--red); border-color: color-mix(in srgb, var(--red) 60%, transparent); }
.svc.off { color: var(--faint); }
.inbox .row { grid-template-columns: 1fr auto; }
.projects .row { grid-template-columns: 1fr auto; }
.sub2 { font: 11px var(--mono); color: var(--faint); }
.big { font: 700 22px system-ui; }
.age { font: 12px var(--mono); color: var(--muted); text-align: right; }
.meta { font: 11px var(--mono); color: var(--faint); margin-top: 6px; }
.empty { padding: 12px 16px; font: 12px var(--mono); color: var(--faint); }
.prose { max-width: 760px; margin-top: 24px; font-size: 15px; line-height: 1.6; padding: 4px 24px 18px; }
.prose h2 { font-size: 15px; margin: 22px 0 6px; }
.prose a { text-decoration: underline; }

/* C: timeline */
.tl { background: var(--panel); border: 1px solid var(--line); padding: 16px 16px 12px; margin-top: 24px; }
.tl .axis, .tl .lane { display: grid; grid-template-columns: 170px 1fr; gap: 14px; align-items: center; }
.tl .scale { position: relative; height: 18px; font: 11px var(--mono); color: var(--muted); }
.tl .scale span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.tl .lane { height: 30px; }
.tl .lane .name { font-size: 13px; display: flex; gap: 8px; align-items: center; white-space: nowrap; overflow: hidden; }
.tl .track { position: relative; height: 18px; background: #000; border: 1px solid #262629; overflow: hidden; }
.tl .span { position: absolute; top: 2px; bottom: 2px; border: 1.5px solid var(--a); background: color-mix(in srgb, var(--a) 18%, transparent); }
.tl .span i { position: absolute; inset: 0 auto 0 0; background: var(--a); opacity: 0.85; }
.tl .hr { position: absolute; top: 3px; bottom: 3px; border-radius: 1px; }
.tl .nowline { position: absolute; top: 0; bottom: 0; width: 2px; background: #fff; box-shadow: 0 0 12px rgba(255,255,255,0.4); }
.cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.panel { background: var(--panel); border: 1px solid var(--line); padding: 6px 0; }
.panel h3 { font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 10px 16px 6px; display: flex; justify-content: space-between; }
.item { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); }
.item .chip { justify-self: center; }
.item .t1 { font-weight: 600; } .item .t2 { font-size: 12px; color: var(--muted); }
a.item:hover { background: var(--panel2); }
.mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.mini div { background: var(--panel); padding: 12px 16px; }
.mini b { display: block; font: 650 22px system-ui; }
.mini small { font: 11px var(--mono); color: var(--muted); }

/* admin */
.toolbar { display: flex; gap: 8px; align-items: center; margin-top: 20px; }
.toolbar .note { font: 11px var(--mono); color: var(--muted); margin-left: 8px; }
.admin .row { grid-template-columns: 28px 1.2fr 110px 70px 1.6fr 200px 70px; gap: 14px; padding: 10px 16px; }
.admin .src .row { grid-template-columns: 1fr auto; }
.admin input[type=text], .admin select { width: 100%; background: #0f0f11; border: 1px solid var(--line2); padding: 5px 8px; font-size: 13px; }
.admin input[type=color] { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; }
.admin .order { display: flex; gap: 4px; }
.admin .order button { background: var(--panel2); border: 1px solid var(--line2); width: 28px; height: 28px; cursor: pointer; }
.admin .detail { font: 11px var(--mono); color: var(--faint); margin-top: 4px; }
.admin .ms { text-align: right; font-weight: 700; }

@media (max-width: 1000px) {
  .admin .row { grid-template-columns: 28px minmax(0, 1fr) 110px 64px; }
  .admin .row > * { min-width: 0; }
  .admin .row > :nth-child(5), .admin .row > :nth-child(6) { grid-column: 2 / 4; }
  .admin .row > :nth-child(7) { grid-column: 4; }
}
@media (max-width: 760px) {
  .apps .row { grid-template-columns: 28px 1fr 64px; }
  .apps .row > .strip, .apps .row > .mach { display: none; }
  .apps .row > .desc { grid-column: 2 / -1; grid-row: 2; margin-top: -8px; }
  .machines .row { grid-template-columns: 28px 1fr auto; }
  .machines .row > .runner { grid-column: 2; grid-row: 2; }
  .machines .row > .work { grid-column: 2 / -1; grid-row: 3; }
  .machines .row > .svcs { grid-column: 2 / -1; grid-row: 4; }
  .machines .row > .age { grid-column: 3; grid-row: 1; }
  .q .row { grid-template-columns: 56px 1fr 50px; }
  .q .ahead { flex-wrap: wrap; }
  .q .ahead .upd { margin-left: 0; flex-basis: 100%; }
  .q .say { padding-left: 16px; }
  .q .row > .reset { grid-column: 2; text-align: left; font-size: 12px; margin-top: -8px; }
  .q .row > .pct { grid-column: 3; grid-row: auto; }
  .two, .cols { grid-template-columns: 1fr; }
  .tl .axis, .tl .lane { grid-template-columns: 90px 1fr; }
}
@media (max-width: 560px) {
  .nav-in { gap: 8px; padding: 0 10px; }
  .brand span { display: none; }
  .nav nav, .nav-r { gap: 4px; }
  .nav nav a, .nav-r a { padding: 4px 6px; font-size: 11px; }
  .nav-r a:not(.btn):not(:last-child) { display: none; }
  .q .lab span { display: none; }
  .frame { padding: 16px 12px 40px; }
  h1.page { font-size: 24px; padding-bottom: 12px; }
  .cols3 { margin-top: 8px; }
}

/* quota chips in the bar, after the Claude Profiles menu bar chips */
.qchips { display: flex; gap: 6px; margin-right: 4px; }
.qchip { width: 34px; height: 22px; border: 1.5px solid var(--a); background: #000; display: grid; grid-template-rows: 1fr 1fr; gap: 2px; padding: 2px; }
.qchip i { position: relative; background: #1d1d20; }
.qchip i b { position: absolute; inset: 0 auto 0 0; background: #d9d9de; }
.qchip i b.ahead { background: var(--yellow); } .qchip i b.warn { background: var(--orange); } .qchip i b.crit { background: var(--red); }
.qchip i u { position: absolute; top: -1px; bottom: -1px; width: 2px; background: #fff; }
@media (max-width: 760px) { .qchips { display: none; } }
/* phones: the links scroll sideways, faded at the edge while more is off screen (capture.js sets .more-right) */
.more { display: none; position: relative; }
.more summary { list-style: none; font: 14px var(--mono); color: var(--text); border: 1px solid var(--line2); padding: 2px 9px; cursor: pointer; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary { color: #000; background: var(--text); }
.more div { position: absolute; right: 0; top: calc(100% + 10px); display: grid; gap: 6px; min-width: 150px; padding: 10px; background: var(--navbg); border: 1px solid var(--line2); }
.more div a { font: 13px var(--mono); color: var(--muted); border: 1px solid var(--line2); padding: 8px 10px; }
@media (max-width: 560px) {
  .nav nav { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav nav.more-right { mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
}
@media (max-width: 560px) { .admin .row { grid-template-columns: 28px minmax(0, 1fr) 92px 64px; gap: 8px; padding: 10px 12px; } }
/* phones: Admin and Sign out live in the menu; below 340 px Projects and the brand too */
.nav-in:has(.more) .more { display: block; }
@media (max-width: 340px) { .nav-in:has(.more) .brand { display: none; } }

/* capture, on every signed-in page */
.cap-btn { font: 600 12px var(--mono); color: #000; background: var(--yellow); border: 1px solid var(--yellow); padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.cap-fab { display: none; position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30; width: 62px; height: 62px; background: var(--yellow); color: #000; font: 800 12px var(--mono); border: 2px solid #000; box-shadow: 0 0 0 1px var(--yellow); cursor: pointer; }
#capture { display: none; position: fixed; z-index: 40; top: calc(var(--navh) + 6px); right: 16px; width: 400px; background: #101012; border: 1px solid var(--line2); padding: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.7); }
#capture.on { display: block; }
#capture .hd { display: flex; justify-content: space-between; align-items: center; font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
#capture .hd button { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }
#capture .hd .tabs { display: flex; gap: 4px; }
#capture .hd .tabs button { font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px; border: 1px solid transparent; }
#capture .hd .tabs button.on { color: var(--text); border-color: var(--line2); }
#capture .goalf textarea { margin-top: 8px; }
#capture .fld select { width: 100%; background: #000; border: 1px solid var(--line2); padding: 6px 8px; font-size: 14px; }
#capture .mic { display: block; width: 100%; height: 56px; margin: 12px 0 10px; background: var(--panel2); border: 1px solid var(--line2); font: 700 15px system-ui; cursor: pointer; }
#capture .mic.rec { background: var(--red); border-color: var(--red); color: #000; }
#capture .mic.busy { color: var(--muted); }
#capture textarea, #capture .fld input, .ed input, .ed textarea, .rw input { width: 100%; background: #000; border: 1px solid var(--line2); padding: 8px 10px; font-size: 15px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; align-items: center; }
.chips button, .size button { font: 12px var(--mono); border: 1px solid var(--line2); background: none; color: var(--muted); padding: 5px 10px; cursor: pointer; }
.chips button.on, .size button:hover { color: #000; background: var(--text); border-color: var(--text); }
.chips i { width: 6px; }
.dlab { display: inline-flex; gap: 6px; align-items: center; font: 11px var(--mono); color: var(--faint); }
.dlab input[type=date] { min-width: 130px; min-height: 28px; }
.chips input[type=date] { background: #000; border: 1px solid var(--line2); padding: 4px 6px; font: 12px var(--mono); color: var(--muted); color-scheme: dark; }
#capture .fld { margin-top: 8px; display: grid; grid-template-columns: 46px 1fr; gap: 8px; align-items: center; font: 11px var(--mono); color: var(--faint); }
#capture .fld input { padding: 6px 8px; font-size: 14px; }
#capture .foot { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
#capture .note { flex: 1; font: 11px var(--mono); color: var(--muted); }
#capture .foot .btn { padding: 8px 22px; font-size: 13px; }
#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 50; background: var(--text); color: #000; font: 600 13px var(--mono); padding: 8px 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
#toast.on { opacity: 1; transform: translate(-50%, 0); }

/* inbox */
.next { background: var(--panel); border: 1.5px solid var(--text); margin-top: 24px; padding: 16px; }
.next .k { font: 600 11px var(--mono); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.next .t { font: 700 22px system-ui; margin: 6px 0 4px; letter-spacing: -0.01em; }
.next .m, .item .m { font: 12px var(--mono); color: var(--faint); }
.next .m b, .item .m b { color: var(--muted); font-weight: 400; }
.next .m a, .item .m a { text-decoration: underline; color: var(--muted); }
.next .nnote { margin-top: 8px; font-size: 13px; color: var(--muted); white-space: pre-wrap; }
.next .acts { display: flex; gap: 8px; margin-top: 14px; }
.next .acts .btn { padding: 8px 16px; font-size: 13px; }
.game { background: var(--panel); border: 1px solid var(--line); margin-top: 16px; }
.g-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px 4px; flex-wrap: wrap; }
.g-head .upd { margin-left: auto; font: 11px var(--mono); color: var(--faint); }
.g-row { display: grid; grid-template-columns: 70px 1fr 50px; gap: 16px; align-items: end; padding: 6px 16px; }
.g-row > .mono { font-size: 12px; padding-bottom: 1px; }
.g-row .lab { position: relative; height: 15px; font: 11px var(--mono); color: var(--muted); margin-bottom: 3px; }
.g-row .lab span { position: absolute; white-space: nowrap; }
.g-row .lab b { position: absolute; transform: translateX(-50%); color: var(--text); white-space: nowrap; font-weight: 400; }
.g-row .pct { text-align: right; font-weight: 700; font-size: 16px; }
.bar .fill.behind { background: var(--yellow); }
.game .say { padding: 2px 16px 12px 102px; font-size: 12px; color: var(--yellow); }
.inbox-two { margin-top: 0; }
.inbox-two.wide { grid-template-columns: 1fr; }
.ilist .row { grid-template-columns: 24px 1fr auto 34px; gap: 12px; padding: 10px 16px; }
.ilist .body { cursor: pointer; min-width: 0; }
.ilist .t { font-weight: 600; overflow-wrap: anywhere; }
.ilist .pts { font: 12px var(--mono); color: var(--muted); text-align: right; }
.ilist .done .t { color: var(--faint); text-decoration: line-through; }
.ck { width: 24px; height: 24px; border: 1.5px solid var(--line2); background: #000; cursor: pointer; padding: 0; }
.ck:hover { border-color: var(--green); }
.ck.on { background: var(--green); border-color: var(--green); }
.size { display: flex; gap: 4px; }
.size button { padding: 3px 8px; }
.ilist .row.edit { grid-template-columns: 1fr; }
.ed { display: grid; gap: 8px; }
.ed .chips { margin: 0; }
.ed audio { width: 100%; height: 36px; }
.ed .foot { display: flex; gap: 8px; align-items: center; }
.ed .foot .sub2 { flex: 1; }
.rw { grid-template-columns: 1fr auto auto; }
.rw .t { font-weight: 600; } .rw .m { font: 11px var(--mono); color: var(--faint); }
.rw.done .t { color: var(--faint); }
.rw .pts { font: 12px var(--mono); color: var(--muted); }
.rw .racts { display: flex; gap: 6px; align-items: center; }
.rw .x { background: none; border: 0; color: var(--faint); font-size: 18px; cursor: pointer; }
.rw .x:hover { color: var(--red); }
.rw.add { grid-template-columns: 1fr 70px auto; }
.rw.goal { grid-template-columns: 1fr 70px auto; }
.rw input { padding: 5px 8px; font-size: 13px; }
.btn.dis { color: var(--faint); cursor: default; }
.board { display: grid; grid-template-columns: repeat(8, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.board > div { background: var(--panel); min-height: 200px; padding: 8px; min-width: 0; }
.board h4 { margin: -8px -8px 8px; padding: 8px; font: 600 11px var(--mono); color: var(--muted); display: flex; justify-content: space-between; }
.board h4.today { color: #000; background: var(--text); }
.card { display: block; width: 100%; text-align: left; border: 1px solid var(--line2); background: var(--panel2); padding: 6px 7px; margin-bottom: 6px; font: 600 12px system-ui; cursor: pointer; overflow-wrap: anywhere; }
.card .m { display: block; font: 10px var(--mono); color: var(--faint); font-weight: 400; margin-top: 2px; }
.card.d { opacity: 0.45; text-decoration: line-through; }
.card.on { border-color: var(--text); }

@media (max-width: 760px) {
  .cap-btn span { display: none; }
  .cap-fab { display: block; }
  body.capturing .cap-fab { display: none; }
  #capture { top: auto; bottom: 0; left: 0; right: 0; width: auto; border-width: 1px 0 0; padding: 14px 14px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -30px 60px rgba(0,0,0,0.6); }
  #capture .mic { height: 64px; }
  .game .say { padding-left: 16px; }
  .g-row { grid-template-columns: 44px 1fr 44px; gap: 10px; }
  .g-head .upd { margin-left: 0; flex-basis: 100%; }
  .board { grid-template-columns: 1fr; }
  .board > div { min-height: 0; }
  .board > div.empty-day { display: none; }
  .ilist .row { padding: 12px 12px; }
  .frame { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}
.ed .dlab input[type=date] { width: auto; padding: 4px 6px; font: 12px var(--mono); color-scheme: dark; }

/* today */
.today-next { margin-top: 0; }
.alerts { display: flex; flex-wrap: wrap; gap: 8px; }
.alert { display: inline-flex; gap: 8px; align-items: center; border: 1px solid var(--line2); background: var(--panel); padding: 8px 12px; font-size: 13px; }
.alert:hover { border-color: var(--muted); }
details.grp { display: block; padding: 0; }
details.grp summary { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 12px 16px; cursor: pointer; list-style: none; }
details.grp summary::-webkit-details-marker { display: none; }
details.grp[open] summary { background: var(--panel2); }
.sub-row { display: block; padding: 8px 16px 8px 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.sub-row:hover { color: var(--text); }
.older { margin-top: 30px; }
.older > summary { list-style: none; display: inline-block; }
.older > summary::-webkit-details-marker { display: none; }
.older[open] > summary { color: #000; background: var(--text); border-color: var(--text); }
h2.sec em a { text-decoration: underline; color: var(--muted); }
@media (max-width: 760px) {
  .ilist .row { grid-template-columns: 24px 1fr 34px; }
  .ilist .row > .size { grid-column: 2; grid-row: 2; }
  .ilist .row > .pts { grid-column: 3; grid-row: 1; }
}
@media (max-width: 560px) { .g-row .lab span { display: none; } }
.older > .rows, .older > section { margin-top: 10px; }
section > .older { margin-top: 10px; }
.admin input[data-f=machine] { margin-top: 4px; }
.pills { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; min-width: 0; }
.pills .pill { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pill.ck-passed { color: var(--green); border-color: color-mix(in srgb, var(--green) 50%, transparent); }
.pill.ck-failed { color: var(--red); border-color: color-mix(in srgb, var(--red) 60%, transparent); }
.pill.ck-pending { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); }

/* nav counts */
.nav nav a .n { color: var(--yellow); margin-left: 6px; }
.nav nav a.on .n { color: #000; }

/* sections in three columns (Today, Agents); on phones one column in each section's --o order */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; margin-top: 24px; }
.cols3 > .col > section:first-of-type { margin-top: 18px; }
.colh { font: 700 13px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0; padding-bottom: 8px; border-bottom: 2px solid var(--line2); display: flex; justify-content: space-between; align-items: baseline; }
.colh a, .colh em { font: 400 12px var(--mono); letter-spacing: 0; text-transform: none; color: var(--faint); font-style: normal; }
.colh a:hover { color: var(--text); }
h2.sec.hot { color: var(--yellow); }
.today-next .over { color: var(--orange); font-weight: 600; }
/* chat side panel on every signed-in page (public/chat.js) */
#chatp { display: none; position: fixed; z-index: 30; top: var(--navh); right: 0; bottom: 0; width: min(440px, 100vw); background: var(--panel); border-left: 1px solid var(--line2); flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.5); }
#chatp.on { display: flex; }
#chatp .hd { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px; font: 600 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line2); }
#chatp .hd button { background: none; border: 0; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.chat-btn.on { color: #000; background: var(--text); border-color: var(--text); }
#chat { display: flex; flex-direction: column; flex: 1; min-height: 0; }
#chat .ctx { font: 11px var(--mono); color: var(--faint); padding: 6px 10px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
#chat .ctx select { flex: 1; min-width: 0; background: var(--well); border: 1px solid var(--line2); color: var(--text); font: 12px var(--mono); padding: 4px 6px; }
#chat .sline { font: 10px var(--mono); color: var(--muted); padding: 4px 10px; border-bottom: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
#chat .sline .sess { flex: 1; min-width: 0; overflow-wrap: anywhere; }
#chat .sline .sess.cold { color: var(--yellow); }
#chat .sline .btn { padding: 2px 8px; font-size: 10px; }
#chat .sdiv { align-self: stretch; text-align: center; font: 10px var(--mono); color: var(--faint); border-top: 1px solid var(--line); padding-top: 4px; }
#chat .msgs { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; }
#chat .msg { max-width: 88%; padding: 8px 11px; font-size: 13.5px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
#chat .msg.me { align-self: end; background: var(--panel2); border: 1px solid var(--line2); }
#chat .msg.ai { align-self: start; padding-left: 0; }
#chat .msg.failed { color: var(--red); }
#chat .eng { display: block; margin-top: 4px; font: 10px var(--mono); color: var(--faint); white-space: normal; }
#chat .act { display: block; margin-top: 6px; font: 11px var(--mono); color: var(--green); border: 1px solid var(--line2); padding: 4px 8px; background: var(--well); white-space: normal; }
#chat .act.err { color: var(--red); }
#chat .opts { display: grid; gap: 6px; margin-top: 8px; padding: 8px; border: 1px solid var(--line2); background: var(--well); white-space: normal; }
#chat .opts label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
#chat .opts label input[name="other"], #chat .opts textarea { flex: 1; min-width: 0; width: 100%; box-sizing: border-box; background: var(--panel2); border: 1px solid var(--line2); padding: 5px 8px; font: 13px var(--mono); color: var(--text); }
#chat .opts .btn { justify-self: end; }
#chat .wait { align-self: start; font: 11px var(--mono); color: var(--muted); }
#chat .inp { border-top: 1px solid var(--line2); padding: 8px; display: flex; gap: 6px; align-items: end; }
#chat .inp textarea { flex: 1; background: var(--well); border: 1px solid var(--line2); padding: 7px 10px; font-size: 14px; resize: none; color: var(--text); }
@media (max-width: 1100px) {
  .cols3 { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .cols3 > .col { display: contents; }
  .cols3 > .col > .colh { display: none; }
  .cols3 section, .cols3 > .col > * { order: var(--o, 99); }
  /* System: machines, quota and settings above the columns */
  .agents { display: flex; flex-direction: column; }
  .agents > .cols3 { display: contents; }
  .agents > * { order: var(--o, 99); }
}

.btn.ghost { background: none; border-color: transparent; color: var(--muted); }

/* one-line rows */
.row.line { grid-template-columns: auto minmax(0, 1fr) auto; padding: 9px 16px; }
.row.line > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.applines .row.line { grid-template-columns: 10px minmax(0, 1fr) 240px; }
.applines .more-row { grid-template-columns: 1fr; }
.irow { grid-template-columns: 22px 20px minmax(0, 1fr) auto; gap: 12px; padding: 8px 16px; }
.irow .ck { width: 20px; height: 20px; }
.irow .sz { font: 700 10px var(--mono); color: var(--muted); border: 1px solid var(--line2); text-align: center; line-height: 18px; }
.irow .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irow .day { font: 12px var(--mono); color: var(--muted); }
.repos details.grp summary { grid-template-columns: 1fr auto; padding: 9px 16px; }
.repos .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repos .first { font: 12px var(--mono); color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.repos .cnt { font: 700 15px var(--mono); }

/* quota pools on Agents */
.pools { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.pool { background: var(--panel); border: 1px solid var(--line); padding: 10px 14px 12px; }
.pn { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.pn b { font-size: 14px; }
.pn .sub2 { margin-left: auto; }
.qbs { display: grid; grid-template-columns: max-content 1fr 44px; gap: 8px 10px; align-items: center; }
.qbs .pct { text-align: right; font-weight: 700; }

/* apps: one lane per app */
.lanes .row { grid-template-columns: 28px 240px minmax(120px, 0.6fr) minmax(300px, 2fr) 70px 130px 64px; }
.lanes .row.axis { padding-top: 6px; padding-bottom: 2px; }
.lanes .marks { position: relative; height: 16px; font: 11px var(--mono); color: var(--faint); }
.lanes .marks span, .lanes .marks b { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.lanes .marks b { color: var(--text); font-weight: 400; }
.lanes .row > a { min-width: 0; }
.lanes .key { font: 11px var(--mono); color: var(--faint); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lanes .desc { font-size: 13px; color: var(--muted); }
.lanes .ms { text-align: right; font-weight: 700; }
.lanes .ms span { color: var(--muted); font-weight: 400; }
.lanes .mach { font: 12px var(--mono); }
.lanes .mach a { color: var(--cyan); }
.lane { position: relative; height: 16px; background: #000; border: 1px solid #262629; display: block; overflow: hidden; }
.lane i { position: absolute; top: 2px; bottom: 2px; }
.lane i.up { background: color-mix(in srgb, var(--green) 70%, #000); }
.lane i.slow { background: var(--yellow); } .lane i.down { background: var(--red); }
.lane i.fut { right: 0; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, transparent 0 4px, #1a1a1d 4px 6px); }
.lane i.nowl { top: 0; bottom: 0; width: 2px; background: #fff; }
.pill.pub { color: var(--cyan); border-color: color-mix(in srgb, var(--cyan) 50%, transparent); }
@media (max-width: 1100px) {
  .lanes .row { grid-template-columns: 28px minmax(0, 1fr) 64px; }
  .lanes .row > .desc, .lanes .row > .mach, .lanes .row > .pill, .lanes .row.axis { display: none; }
  .lanes .row > .lane { grid-column: 2 / -1; grid-row: 2; }
}

/* life, wide: list | week board | game and rewards */
.lifecols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 0.75fr); gap: 28px; align-items: start; }
.lifecols .game { margin-top: 24px; }
.lifecols .game .say { padding-left: 16px; }
.lifecols .board > div { min-height: 160px; }
.lifecols .card { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.lifecols .card .m { display: none; }

/* phones: cards run edge to edge; headings and loose text keep the gutter */
@media (max-width: 560px) {
  .frame { padding-left: 0; padding-right: 0; }
  h1.page, h2.sec, .ghead, .toolbar, .alerts, .meta, .foot, .older > summary, .shots, .edit, .dcard .dt, .dcard > .sub2, .say, .wfilter { margin-left: 12px; margin-right: 12px; }
  .rows, .next, .pool, .game, .board, .instr, .tl, .pics { border-left: 0; border-right: 0; }
}

/* runner settings on /agents */
.rs .row.rp { grid-template-columns: minmax(200px, 240px) auto 110px 1fr; padding-block: 8px; }
.rs .row.rp b { white-space: nowrap; }
.rs .row.rb { grid-template-columns: auto auto auto auto minmax(80px, 1fr) auto; }
.rs .row.ra { grid-template-columns: 80px auto minmax(0, 420px) 1fr; padding-block: 6px; }
.rs .row.ra input[type="text"] { width: auto; }
.rs .row.rb > span { white-space: nowrap; }
.rs .chip { min-width: 26px; }
.rs .seg { display: inline-flex; }
.rs .seg button, .rs .chip { font: 11px var(--mono); padding: 3px 9px; border: 1px solid var(--line2); background: none; color: var(--muted); cursor: pointer; margin-left: -1px; }
.rs .seg button:disabled { color: var(--faint); cursor: not-allowed; }
.rs .seg button.on, .rs .chip.on { color: #000; background: var(--text); border-color: var(--text); position: relative; }
.rs .seg button[data-v="yolo"].on { background: var(--yellow); border-color: var(--yellow); }
.rs .seg button[data-v="off"].on { background: var(--muted); border-color: var(--muted); }
.rs input[type="number"], .rs input[type="time"], .rs input[type="text"] { background: var(--panel2); border: 1px solid var(--line2); padding: 3px 6px; font: 12px var(--mono); width: 56px; }
.rs input[type="time"] { width: 86px; }
.rs input[type="text"] { width: 100%; box-sizing: border-box; }
.rs .gifts { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: flex-end; }
.rs .giftw { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.rs .gplan.hot { color: var(--yellow); }
.rs .gplan .btn { padding: 1px 8px; }
.rs .gift { font: 11px var(--mono); color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.rs .x { background: none; border: none; color: var(--faint); cursor: pointer; font-size: 14px; }
.rs .grid { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); }
.rs table { border-collapse: collapse; width: 100%; font: 12px var(--mono); }
.rs th, .rs td { padding: 6px 10px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.rs th:first-child, .rs td:first-child { text-align: left; }
.rs th { color: var(--muted); font-weight: 400; }
.rs th button { font: 10px var(--mono); background: none; border: none; color: var(--faint); cursor: pointer; display: block; margin-left: auto; }
.rs td input[type="number"] { width: 40px; text-align: right; }
.rs td input.rec::placeholder { color: var(--muted); }
.scores { overflow-x: auto; background: var(--panel); border: 1px solid var(--line); }
.scores table { border-collapse: collapse; width: 100%; font: 12px var(--mono); }
.scores th, .scores td { padding: 6px 10px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.scores th:nth-child(-n+2), .scores td:nth-child(-n+2) { text-align: left; }
.scores th { color: var(--muted); font-weight: 400; }
.rs .bar2 { display: flex; gap: 10px; align-items: center; margin: 10px 0 18px; }
.rs .note { font: 12px var(--mono); color: var(--muted); }
.rs .note.err { color: var(--red); }
.rsd > .rs { margin-top: 10px; }
@media (max-width: 760px) {
  .rs .row.rp { grid-template-columns: minmax(0, 1fr) auto; }
  .rs .row.rp > .seg { grid-column: 1 / -1; grid-row: 2; }
  .rs .row.rp > .gifts { grid-column: 1 / -1; justify-content: flex-start; }
  .rs .row.rb { display: flex; flex-wrap: wrap; gap: 8px 12px; }
}
@media (max-width: 560px) { .rs .bar2 { margin-left: 12px; margin-right: 12px; } }

.resets { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; }
.reset { font: 11px var(--mono); color: var(--muted); }
.reset.gift { color: var(--text); }
.promote select { background: var(--well); border: 1px solid var(--line2); padding: 4px 6px; max-width: 12em; }

/* Admin usage (2026-10-13) */
.ut .row { grid-template-columns: minmax(0, 1fr) repeat(var(--n), 90px); padding: 8px 16px; }
.ut .row > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ut .row > .num { text-align: right; }
.ut .row.sub2 > :not(:first-child) { text-align: right; }
.hours { display: flex; align-items: flex-end; gap: 2px; height: 60px; }
.hours i { flex: 1; background: var(--line2); min-height: 1px; }
.hours-x { display: flex; justify-content: space-between; margin-top: 4px; }
@media (max-width: 560px) { .ut .row { grid-template-columns: minmax(0, 1fr) repeat(var(--n), 44px); gap: 6px; padding: 8px 12px; } }

/* iOS browsers (Safari, Arc, Chrome: all WebKit) zoom into a focused field whose text is under 16px. */
@media (pointer: coarse) { input, textarea, select { font-size: 16px !important; } }

/* live pages, paging and busy buttons (public/live.js) */
h1.page .live { font: 400 11px var(--mono); letter-spacing: 0; color: var(--faint); margin-left: 14px; vertical-align: middle; white-space: nowrap; }
h1.page .live.stale { color: var(--yellow); }
.btn.busy, button.busy { cursor: progress; opacity: 0.6; }
.row.leaving { display: none; }
.today-next.leaving { opacity: 0.4; pointer-events: none; }
.listpage > .btn { display: inline-block; margin-bottom: 18px; }

/* Today: the decide stack, one card at a time, then waiting and answered, then Life and problems (2026-10-14) */
.cols3.today3 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.cols3.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dcard { margin-top: 0; }
.pics { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line2); }
.pics img { width: 100%; height: clamp(180px, 34vw, 340px); object-fit: cover; object-position: top; display: block; background: var(--panel); }
.pics img:only-child { grid-column: 1 / -1; }
.dcard .dt { font: 600 19px system-ui; margin: 12px 0 2px; white-space: pre-line; letter-spacing: -0.01em; }
.say .acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.say .acts .btn { padding: 8px 14px; font-size: 13px; }
.say .free { display: flex; gap: 6px; margin-top: 10px; }
.say .free textarea { flex: 1; min-width: 0; background: var(--well); border: 1px solid var(--line2); padding: 8px 10px; font: 14px var(--mono); color: var(--text); resize: vertical; }
.say .free textarea:focus { outline: none; border-color: var(--yellow); }
.say .mic { background: var(--yellow); color: #000; border-color: var(--yellow); }
.say .mic.rec { background: var(--red); border-color: var(--red); }
.dcard.leaving { opacity: 0.4; pointer-events: none; }
button.lnk { background: none; border: 0; padding: 0; font: inherit; color: var(--yellow); cursor: pointer; letter-spacing: inherit; text-transform: inherit; }
.row.line > .btn { padding: 2px 8px; font-size: 11px; }
.pill.live { color: #bf5af2; border-color: color-mix(in srgb, #bf5af2 50%, transparent); }

/* Work: one board of goals in lanes; three lanes a row below 1100 px, one below 560 px (guesses) */
.wfilter { margin: 20px 0 0; }
.wfilter select { background: var(--well); border: 1px solid var(--line2); padding: 5px 8px; font: 12px var(--mono); }
.wboard { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.wboard section { margin-top: 18px; }
.wcards .row.wcard { display: block; padding: 8px 10px; font-size: 13px; }
.wcard .pills { justify-content: flex-start; margin-top: 4px; align-items: center; }
.wcard.need > a { color: var(--text); text-decoration: none; display: block; }
.wcard.need > a:hover { text-decoration: underline; }
.wcard.need .ask { display: block; font: 11px var(--mono); color: var(--yellow); margin-top: 4px; overflow-wrap: anywhere; }
.wcard.need .pills { justify-content: space-between; flex-wrap: nowrap; }
.wcard.need .acts { display: flex; gap: 6px; }
.wcard.need .acts .btn { padding: 2px 10px; font-size: 11px; }
.wcard.need.leaving { opacity: 0.4; pointer-events: none; }
/* Shipped: what merged, newest first, its stitched before/after screen on top */
.ships { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; align-items: start; }
.ship { display: block; background: var(--panel); border: 1px solid var(--line2); color: var(--text); text-decoration: none; }
.ship:hover { border-color: var(--muted); }
.ship img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; background: var(--well); border-bottom: 1px solid var(--line2); }
.ship .t { display: block; padding: 8px 10px 0; font-size: 13px; }
.ship .pills { display: flex; gap: 6px; padding: 4px 10px 8px; align-items: center; flex-wrap: wrap; }
@media (max-width: 1100px) { .wboard { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .wboard { grid-template-columns: minmax(0, 1fr); gap: 0; } .ships { margin: 0 12px; } }
.today3 .row.line { grid-template-columns: minmax(0, 1fr) auto auto; }
.today3 .row.line > :first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) { .dcard .dt, .wfilter { margin-left: 12px; margin-right: 12px; } }
