/* LaunchPad: dark, calm, in the resume's navy and brass. Phone first; a sidebar and a detail panel on a laptop. */
:root {
  --bg: #0E141C; --bg-2: #121A24; --surface: #172230; --card: #1A2634; --card-2: #203044; --line: #2B3A4C; --line-2: #243243;
  --ink: #EDF1F6; --text: #D5DDE7; --slate: #A6B2C1; --mute: #7D8A99;
  --navy: #1F3A5F; --navy-2: #2B4C78; --brass: #C9A66B; --brass-2: #E0C28C; --brass-ink: #1A1408;
  --pale: #22364F; --pale-ink: #BFD2EC; --ok: #6CC79A; --ok-bg: #163327; --warn: #E6B86F; --warn-bg: #3A2D14; --bad: #F08A8A;
  --ui: "Avenir Next", "Segoe UI", -apple-system, system-ui, Inter, Helvetica, Arial, sans-serif;
  --prose: Charter, "Iowan Old Style", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --r: 14px; --side: 240px; --panel: 440px; --main: 760px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 var(--ui); min-height: 100dvh; }
a { color: var(--brass-2); }
button { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
p { margin: 0; }
::selection { background: var(--navy-2); color: #fff; }
.hide { display: none !important; }

/* Shell -------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg-2); border-bottom: 1px solid var(--line-2); color: var(--ink); padding: calc(10px + env(safe-area-inset-top)) 16px 10px; display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 12.5px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand .mark { width: 28px; height: 28px; border-radius: 8px; background: var(--brass); display: grid; place-items: center; flex: none; }
.brand .mark svg { width: 16px; height: 16px; }
.brand .mark svg path, .brand .mark svg rect { fill: var(--brass-ink); }
.top .who { width: 32px; height: 32px; border-radius: 50%; background: var(--pale); color: var(--pale-ink); display: grid; place-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.side { display: none; }
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; background: var(--bg-2); border-top: 1px solid var(--line-2); display: flex; padding-bottom: env(safe-area-inset-bottom); }
.tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; color: var(--mute); text-decoration: none; position: relative; }
.tabs a svg { width: 22px; height: 22px; }
.tabs a.on { color: var(--brass-2); }
.tabs a .n { position: absolute; top: 4px; left: calc(50% + 6px); background: var(--brass); color: var(--brass-ink); font-size: 10px; border-radius: 9px; padding: 0 5px; line-height: 16px; font-weight: 700; }
.view { padding: 16px 16px calc(84px + env(safe-area-inset-bottom)); max-width: var(--main); margin: 0 auto; }
.panel { display: none; }
body.auth .tabs, body.auth .top .who { display: none; }

@media (min-width: 980px) {
  body { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); grid-template-areas: "side main"; }
  .top, .tabs { display: none; }
  .side { grid-area: side; display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; background: var(--bg-2); border-right: 1px solid var(--line-2); padding: 22px 14px; }
  .side .brand { padding: 4px 10px 18px; }
  .side .sub { font-size: 13px; color: var(--mute); padding: 0 10px 16px; line-height: 1.45; font-family: var(--prose); }
  .side a.nav { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--slate); text-decoration: none; font-weight: 500; font-size: 15px; }
  .side a.nav svg { width: 20px; height: 20px; flex: none; }
  .side a.nav:hover { background: var(--surface); color: var(--ink); }
  .side a.nav.on { background: var(--card-2); color: var(--ink); box-shadow: inset 3px 0 0 var(--brass); }
  .side a.nav .n { margin-left: auto; background: var(--brass); color: var(--brass-ink); font-size: 11px; border-radius: 10px; padding: 1px 7px; font-weight: 700; }
  .side .spacer { flex: 1; }
  .side .foot { padding: 10px 10px 0; font-size: 12.5px; color: var(--mute); display: flex; flex-direction: column; gap: 8px; }
  .side .foot a { color: var(--slate); }
  .side select { width: 100%; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; font: 14px var(--ui); margin: 0 0 14px; }
  .view { grid-area: main; padding: 34px 36px 56px; margin: 0; max-width: none; }
  .view > .wrap { max-width: var(--main); }
  body.auth { display: block; }
  body.auth .side { display: none; }
}
@media (min-width: 1240px) {
  body.has-panel { grid-template-columns: var(--side) minmax(0, 1fr) var(--panel); grid-template-areas: "side main panel"; }
  body.has-panel .panel { grid-area: panel; display: block; position: sticky; top: 0; height: 100dvh; overflow: auto; background: var(--surface); border-left: 1px solid var(--line-2); }
}

/* Typography blocks ------------------------------------------------------------------------------------ */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); }
.h1 { font-size: 28px; line-height: 1.2; margin: 4px 0 4px; }
.lede { color: var(--slate); font-size: 15.5px; margin-bottom: 18px; font-family: var(--prose); }
.prose { font-family: var(--prose); font-size: 16px; line-height: 1.55; color: var(--text); }
.prose.m { color: var(--slate); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sect { margin: 28px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sect h2 { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.sect .cnt { font-size: 13px; color: var(--mute); }

/* How it works, strip, note ------------------------------------------------------------------------------ */
.how { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, #1C2B40, #16202E); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.how .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; flex: 1; }
.how .step { font-size: 14px; color: var(--text); line-height: 1.4; }
.how .step b { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin-bottom: 2px; }
.how .x { border: 0; background: transparent; color: var(--mute); cursor: pointer; padding: 2px; flex: none; }
.how .x svg { width: 16px; height: 16px; }
@media (max-width: 560px) { .how .steps { grid-template-columns: 1fr; gap: 8px; } }
.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.tile { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; }
.tile .k { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.tile .v { font-size: 26px; color: var(--ink); font-weight: 600; line-height: 1.2; margin-top: 4px; }
.tile .v small { font-size: 14px; color: var(--text); font-weight: 500; }
.tile .s { font-size: 13px; color: var(--slate); margin-top: 2px; }
.tile.accent { border-color: rgba(201,166,107,0.45); }
.tile.accent .v { color: var(--brass-2); }
.note { background: var(--card); border: 1px solid var(--line-2); border-left: 3px solid var(--brass); border-radius: var(--r); padding: 14px 18px; margin-bottom: 18px; }
.note .from { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 4px; }
.note .prose { font-size: 15.5px; }

/* Filters ----------------------------------------------------------------------------------------------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--slate); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.chip:hover { color: var(--ink); border-color: var(--mute); }
.filters .chip.on { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); font-weight: 600; }
.filters select, .filters input[type=search] { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 12px; font: 13px var(--ui); color: var(--text); }
.filters input[type=search] { flex: 1; min-width: 140px; }
.filters .sp { flex: 1; }

/* Cards ----------------------------------------------------------------------------------------------- */
.list { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 18px 14px; position: relative; touch-action: pan-y; transition: transform 160ms ease, opacity 160ms ease, border-color 120ms; outline: none; }
.card:hover { border-color: var(--line); }
.card:focus-visible, .card.sel { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,166,107,0.18); }
.card.leaving { opacity: 0; transform: translateX(var(--dx, 0)); }
.card .row1 { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.card .co { font-weight: 600; color: var(--brass-2); font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.card .ttl { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 3px; line-height: 1.3; }
.card .meta, .detail .meta { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 9px 0 10px; font-size: 13px; color: var(--slate); align-items: center; }
.tag { background: var(--pale); color: var(--pale-ink); border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: 12px; letter-spacing: 0.02em; }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.card .why, .card .watch { font-family: var(--prose); font-size: 15.5px; line-height: 1.5; margin-top: 6px; color: var(--text); }
.card .why b, .card .watch b, .lbl { font-family: var(--ui); font-weight: 600; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); margin-right: 7px; }
.card .watch { color: var(--slate); }
.card .watch b { color: var(--warn); }
.card .acts { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.card .acts.decide { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 12px; }
.card .acts .sp { flex: 1; }
.card .swipe { position: absolute; inset: 0; border-radius: var(--r); display: flex; align-items: center; padding: 0 22px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; pointer-events: none; opacity: 0; }
.card .swipe.r { background: var(--ok-bg); color: var(--ok); justify-content: flex-start; }
.card .swipe.l { background: var(--card-2); color: var(--mute); justify-content: flex-end; }
.stars { display: inline-flex; gap: 1px; color: var(--brass); }
.stars svg { width: 15px; height: 15px; }
.stars svg.off { color: var(--line); }
.src { font-size: 11.5px; color: var(--mute); letter-spacing: 0.04em; }
.stage { display: inline-flex; align-items: center; gap: 6px; background: var(--pale); color: var(--pale-ink); border-radius: 7px; padding: 4px 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer; }
.stage:hover { border-color: var(--line); }
.stage.gray { background: var(--surface); color: var(--mute); }
.stage.ok { background: var(--ok-bg); color: var(--ok); }
.stage.warn { background: var(--warn-bg); color: var(--warn); }

/* Buttons ---------------------------------------------------------------------------------------------- */
.btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding: 10px 15px; font-weight: 600; font-size: 14px; cursor: pointer; min-height: 42px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; line-height: 1; transition: background 120ms, border-color 120ms; }
.btn:hover { background: var(--card-2); border-color: var(--mute); }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--brass); color: var(--brass-ink); border-color: var(--brass); }
.btn.primary:hover { background: var(--brass-2); border-color: var(--brass-2); }
.btn.navy { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.btn.navy:hover { background: #34598a; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--slate); padding-left: 8px; padding-right: 8px; }
.btn.quiet:hover { color: var(--ink); background: var(--surface); border-color: transparent; }
.btn.gray { color: var(--mute); }
.btn.sm { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.btn.brass { color: var(--brass-2); border-color: rgba(201,166,107,0.5); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.block { width: 100%; justify-content: center; }
.reasons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.reasons .chip { font-size: 13px; }
.reasons .q { width: 100%; font-size: 13px; color: var(--slate); margin-bottom: 2px; }

/* Forms ------------------------------------------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.field label { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--mute); }
.field input, .field textarea, .field select { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 15px var(--ui); color: var(--ink); background: var(--bg-2); color-scheme: dark; }
.field textarea { font-family: var(--prose); line-height: 1.5; min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(201,166,107,0.18); }
.err { color: var(--bad); font-size: 14px; margin-top: 8px; }
.ok-line { color: var(--ok); font-size: 14px; font-weight: 600; }

/* Detail panel and sheet ----------------------------------------------------------------------------------- */
.sheet-scrim { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 30; opacity: 0; transition: opacity 160ms; }
.sheet-scrim.on { opacity: 1; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; background: var(--surface); border-radius: 20px 20px 0 0; max-height: 92dvh; overflow: auto; transform: translateY(100%); transition: transform 220ms ease; padding: 8px 18px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet.on { transform: translateY(0); }
.sheet .grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line); margin: 6px auto 14px; }
.detail .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.detail .co { color: var(--brass-2); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.detail .ttl { font-size: 21px; font-weight: 600; line-height: 1.25; margin: 3px 0 6px; color: var(--ink); }
.detail .x { border: 0; background: var(--card-2); width: 34px; height: 34px; border-radius: 50%; color: var(--slate); cursor: pointer; display: grid; place-items: center; flex: none; }
.detail .x svg { width: 16px; height: 16px; }
.detail h3 { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); margin: 20px 0 6px; }
.detail .prose { font-size: 15.5px; }
.detail .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.detail .coach { background: var(--warn-bg); border-radius: 10px; padding: 10px 12px; font-family: var(--prose); font-size: 15px; color: var(--text); }
.detail .coach b { font-family: var(--ui); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--warn); display: block; margin-bottom: 2px; }
.kit { display: flex; flex-direction: column; gap: 10px; }
.kit .ans { border: 1px solid var(--line-2); background: var(--bg-2); border-radius: 10px; padding: 10px 12px; }
.kit .ans .q { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--mute); display: flex; justify-content: space-between; align-items: center; }
.kit .ans textarea { width: 100%; border: 0; padding: 6px 0 0; font: 15px/1.5 var(--prose); color: var(--text); resize: vertical; min-height: 56px; background: transparent; }
.kit .ans textarea:focus { outline: none; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: flex; gap: 10px; font-size: 13.5px; color: var(--slate); padding: 6px 0; border-top: 1px solid var(--line-2); }
.timeline li .t { color: var(--mute); flex: none; width: 92px; }
.panel .detail { padding: 24px 22px 40px; }
.docs { display: flex; flex-wrap: wrap; gap: 8px; }

/* Pipeline ------------------------------------------------------------------------------------------- */
.kanban { display: flex; flex-direction: column; gap: 18px; }
.col h2 { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; display: flex; justify-content: space-between; }
.col .list { gap: 10px; }
.col .empty, .empty { border: 1px dashed var(--line); border-radius: var(--r); padding: 16px; color: var(--mute); font-size: 14.5px; text-align: center; font-family: var(--prose); }
.empty { padding: 30px 18px; font-size: 16px; color: var(--slate); }
.pcard { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; cursor: pointer; }
.pcard:hover { border-color: var(--line); }
.pcard .co { font-weight: 600; color: var(--brass-2); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.pcard .ttl { font-size: 15.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.pcard .sub { font-size: 13px; color: var(--slate); margin-top: 8px; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: center; }
.pcard .sub .warn { color: var(--warn); font-weight: 600; }
@media (min-width: 980px) {
  .kanban { flex-direction: row; align-items: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .col { flex: 1 0 236px; max-width: 300px; }
  .view.wide > .wrap { max-width: none; }
}
.menu { position: absolute; z-index: 25; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 14px 40px rgba(0,0,0,0.45); padding: 6px; min-width: 200px; }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.menu button:hover { background: var(--card-2); color: var(--ink); }
.menu button.cur { color: var(--brass-2); font-weight: 600; }
.menu button:disabled { color: var(--mute); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: default; }

/* Prep ------------------------------------------------------------------------------------------------- */
.iv { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; }
.iv .when { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.iv .co { font-size: 18px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.iv .ttl { font-size: 14px; color: var(--slate); }
.iv .acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.iv.past { opacity: 0.8; }

/* People, feed ------------------------------------------------------------------------------------------ */
.table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line-2); vertical-align: top; }
.table th { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); border-top: 0; background: var(--surface); }
.copybox { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; display: flex; gap: 10px; align-items: flex-start; color: var(--text); margin-top: 8px; }
.copybox .btn { flex: none; }
.drop { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 14px 16px; }
.drop .k { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.drop .nums { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--slate); margin-top: 6px; }
.sig { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }

/* Auth ------------------------------------------------------------------------------------------------- */
.auth .view { max-width: 460px; margin: 0 auto; padding-top: 10vh; }
.authcard { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px; }
.authcard .mark { width: 52px; height: 52px; border-radius: 14px; background: var(--brass); display: grid; place-items: center; margin-bottom: 18px; }
.authcard .mark svg { width: 28px; height: 28px; }
.authcard .mark svg path, .authcard .mark svg rect { fill: var(--brass-ink); }
.authcard h1 { font-size: 26px; }
.authcard p { color: var(--slate); margin: 8px 0 18px; font-family: var(--prose); font-size: 16.5px; }

/* Undo ------------------------------------------------------------------------------------------------- */
.undo { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); border-radius: 12px; padding: 10px 10px 10px 16px; font-size: 14px; font-weight: 500; display: flex; gap: 14px; align-items: center; opacity: 0; pointer-events: none; transition: opacity 160ms, transform 160ms; z-index: 40; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.undo.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.undo button { border: 0; background: var(--navy); color: #fff; border-radius: 8px; padding: 6px 12px; font-weight: 600; cursor: pointer; }
@media (min-width: 980px) { .undo { bottom: 28px; } }
.kbd { font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; color: var(--slate); }
.hint { display: none; color: var(--mute); font-size: 13px; margin: 10px 0 0; }
@media (min-width: 980px) and (hover: hover) { .hint { display: block; } }

/* v2: tables, forms, interactions, home steps ------------------------------------------------------------ */
.table2 { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.table2 .thead, .table2 .trow { display: grid; grid-template-columns: 2.2fr 1fr 1.1fr 1.1fr; gap: 12px; align-items: center; padding: 11px 16px; }
.table2 .thead { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 600; background: var(--surface); }
.table2 .trow { border-top: 1px solid var(--line-2); cursor: pointer; font-size: 14px; color: var(--text); outline: none; }
.table2 .trow:hover, .table2 .trow:focus-visible { background: var(--card-2); }
.table2 .co { font-weight: 600; color: var(--ink); font-size: 15px; }
.table2 .sub { font-size: 13px; color: var(--slate); margin-top: 1px; }
.table2 .c2 .sub { margin-top: 4px; }
.mute { color: var(--mute); }
.fu { color: var(--pale-ink); font-weight: 600; font-size: 13px; }
.fu.today { color: var(--brass-2); }
.fu.over { color: var(--warn); }
.fu.done { color: var(--ok); }
@media (max-width: 700px) {
  .table2 .thead { display: none; }
  .table2 .trow { grid-template-columns: 1fr auto; grid-template-areas: "a b" "c d"; padding: 12px 14px; }
  .table2 .c1 { grid-area: a; } .table2 .c2 { grid-area: b; text-align: right; } .table2 .c3 { grid-area: c; font-size: 13px; color: var(--slate); } .table2 .c4 { grid-area: d; text-align: right; font-size: 13px; }
}
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.toggle button { border: 0; background: transparent; color: var(--slate); padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.toggle button.on { background: var(--card-2); color: var(--ink); }
.moremenu { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 0 10px; }
.moremenu a { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; background: var(--card); }
.moremenu a svg { width: 20px; height: 20px; color: var(--brass-2); }
.moremenu a.on { border-color: var(--brass); }
.moremenu a .n { margin-left: auto; background: var(--brass); color: var(--brass-ink); font-size: 11px; border-radius: 10px; padding: 1px 7px; font-weight: 700; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; margin-top: 8px; }
.fgrid .field { grid-column: span 2; margin: 8px 0; }
.fgrid .field.half { grid-column: span 1; }
@media (max-width: 480px) { .fgrid .field.half { grid-column: span 2; } }
.ilist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ilist li { background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 14px; cursor: pointer; }
.ilist li:hover { border-color: var(--line); }
.ilist .when { font-size: 12.5px; color: var(--mute); font-weight: 600; letter-spacing: 0.04em; display: flex; align-items: center; }
.ilist .about { font-size: 13px; color: var(--brass-2); font-weight: 600; margin-top: 3px; }
.ilist .sum { font-family: var(--prose); font-size: 15px; color: var(--text); margin-top: 4px; line-height: 1.45; }
.ilist .fu { margin-top: 6px; display: flex; align-items: center; gap: 8px; }
.steps { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-direction: column; gap: 8px; }
.steps li { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; font-size: 15px; color: var(--ink); }
.steps li:hover { border-color: var(--brass); }
.steps li .k { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; color: var(--brass-2); flex: none; min-width: 92px; }
.steps li .k.over { color: var(--warn); }
.steps li .sp { flex: 1; }
.steps li svg { width: 16px; height: 16px; color: var(--mute); }
.tile[onclick], .tile { cursor: default; }
.strip .tile { cursor: pointer; }
.strip .tile:hover { border-color: var(--line); }

/* v2.1: nav groups, search, stepper, groups, avatars, fab, quick add ------------------------------------------- */
.side .gsearch { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; margin: 0 0 14px; color: var(--mute); }
.side .gsearch svg { width: 16px; height: 16px; flex: none; }
.side .gsearch input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--ink); font: 14px var(--ui); outline: none; }
.side .glabel { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 600; padding: 14px 12px 6px; }
.side a.nav { padding: 8px 12px; font-size: 14.5px; }
.stepper { display: flex; align-items: flex-start; margin: 14px 0 6px; position: relative; }
.stepper::before { content: ""; position: absolute; left: 10px; right: 10px; top: 7px; height: 2px; background: var(--line); }
.stepper button { flex: 1; background: transparent; border: 0; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; color: var(--mute); }
.stepper .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); box-sizing: border-box; }
.stepper .lbl { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; }
.stepper button.done .dot { background: var(--ok); border-color: var(--ok); }
.stepper button.done { color: var(--slate); }
.stepper button.cur .dot { background: var(--brass); border-color: var(--brass-2); box-shadow: 0 0 0 4px rgba(201,166,107,0.2); }
.stepper button.cur { color: var(--brass-2); }
.stepper button:hover .dot { border-color: var(--brass-2); }
.tgroup { display: flex; justify-content: space-between; padding: 8px 16px 6px; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 700; background: var(--surface); border-top: 1px solid var(--line-2); }
.tgroup span { color: var(--mute); font-weight: 600; }
.ti { display: inline-flex; width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; color: var(--mute); }
.ti svg { width: 14px; height: 14px; }
.table2 .sub.who { color: var(--pale-ink); margin-top: 3px; }
.c1.withav { display: flex; align-items: center; gap: 12px; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--pale); color: var(--pale-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; flex: none; }
.chip .cnt2 { color: var(--mute); font-weight: 500; }
.filters .chip.on .cnt2 { color: var(--brass-ink); opacity: 0.75; }
.ilist .when .dim { color: var(--mute); font-weight: 500; }
.undo .ok-ic { display: inline-flex; width: 16px; height: 16px; color: var(--ok); }
.undo .ok-ic svg { width: 16px; height: 16px; }
.steps li .ic { display: inline-flex; width: 18px; height: 18px; color: var(--brass-2); flex: none; }
.steps li .ic svg { width: 18px; height: 18px; }
.fab { position: fixed; right: 18px; bottom: calc(76px + env(safe-area-inset-bottom)); width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--brass); color: var(--brass-ink); box-shadow: 0 10px 28px rgba(0,0,0,0.45); z-index: 21; cursor: pointer; display: grid; place-items: center; }
.fab svg { width: 24px; height: 24px; }
@media (min-width: 980px) { .fab { display: none; } }
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 0 10px; }
.qa button { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--card); border: 1px solid var(--line-2); border-radius: 14px; padding: 14px; color: var(--ink); cursor: pointer; }
.qa button > span:first-child { display: inline-flex; width: 22px; height: 22px; color: var(--brass-2); flex: none; }
.qa button svg { width: 22px; height: 22px; }
.qa button b { display: block; font-size: 15px; }
.qa button small { display: block; color: var(--mute); font-size: 12.5px; margin-top: 2px; }
.empty p { margin: 0; }
