/* Homepage presentation (2026-10-08 overview review, replaces the green-restore five-card version): one line of description,
   the Now board, the market strip, venues at a glance, the top five funding gaps, the tracked-wallet summary, research
   links. No slogan, no call-to-action button, no two-tone title. Widths, gaps and paddings come from the tokens
   (--content-max, --sec-gap, --card-pad); this file adds no spacing numbers of its own. Values are drawn by assets/home-brief.js. */
.home main.wrap { padding-bottom: var(--sec-gap); }
/* one-line description = the h1; it starts the page under the header with the section distance */
.hm-lede { margin: 0; color: var(--text); max-width: 65ch; text-wrap: pretty; }
.hm-lede h1 { font-size: var(--fs-xl); line-height: var(--lh-tight); letter-spacing: var(--ls-title); font-weight: 600; text-wrap: balance; }
.hm-lede p { margin-top: var(--space-2); color: var(--text-mid); font-size: var(--fs-base); line-height: var(--lh-prose); }
.home .hm-sec { margin-top: var(--sec-gap); }
.home .sec-head { gap: var(--space-3); margin-bottom: var(--space-3); }
.home .sec-head .meta { font-size: var(--fs-xs); }
.home .hm-more { font-size: var(--fs-xs); color: var(--accent); text-decoration: none; white-space: nowrap; }
.home .hm-more:hover { text-decoration: underline; }
.hm-research-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--space-3); }
.hm-research-card { display: flex; flex-direction: column; align-items: start; gap: var(--space-2); padding: var(--card-pad); border-radius: var(--radius-card,10px); border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .16s; }
.hm-research-card:hover { background: var(--surface-2); border-color: var(--border-strong); }
.hm-research-card b { font-size: var(--fs-md); font-weight: 600; letter-spacing: var(--ls-title); }
.hm-research-card p { color: var(--text-mid); font-size: var(--fs-xs); line-height: var(--lh-prose); flex: 1; }
.home :is(.hm-research-card,.hm-bd-row,.hm-tr-cell):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (prefers-reduced-motion:reduce) { .hm-research-card { transition: none; } }

/* The Now board (2026-10-08 overview review): one row per kind, fixed tracks on every row:
   kind · symbol + fact · figure (right, tabular) + one small line · where (venue mark) · chevron. Under 760px the figure
   moves to the right of the first line and "where" drops under the fact. */
.hm-bd { border: 1px solid var(--border); border-radius: var(--radius-card,10px); background: var(--surface); overflow: hidden; }
.hm-bd > .state-line { margin: 0; padding: var(--space-3) var(--card-pad); }
.hm-bd-head, .hm-bd-row { display: grid; grid-template-columns: 10.5rem minmax(0,1fr) 19rem 11rem 1.25rem; grid-template-areas: "k what amt where go"; align-items: center; gap: var(--space-1) var(--space-3); padding: var(--space-3) var(--card-pad); }
.hm-bd-head { padding-block: var(--space-2); font-size: var(--fs-xs); font-weight: 500; color: var(--text-mid); background: var(--surface-2); }
.hm-bd-head > span:nth-child(3) { text-align: right; }
.hm-bd-row { min-height: 56px; color: var(--text); text-decoration: none; border-top: 1px solid var(--border); }
.hm-bd-k { grid-area: k; display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; font-size: var(--fs-md); font-weight: 500; color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-bd-ic { flex: none; color: var(--accent); width: var(--icon-sm); height: var(--icon-sm); }
.hm-bd-what { grid-area: what; display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }

.hm-bd-what-t { flex: 1 1 auto; min-width: 0; font-size: var(--fs-base); line-height: var(--lh-prose); white-space: normal; }
.hm-bd-what-t b { font-weight: 600; }
.hm-bd-what-t > span { color: var(--text); }   /* what changed is the row's content, not supporting text (design system 2026-10-14) */
.hm-bd-constraint { font-size: var(--fs-xs); line-height: var(--lh-prose); color: var(--text-mid); white-space: normal; }
.hm-bd-amt { grid-area: amt; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; min-width: 0; text-align: right; }
.hm-bd-amt b { font-size: var(--fs-lg); font-weight: 600; letter-spacing: var(--ls-title); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-bd-amt .badge-est { margin-left: var(--space-1); }
.hm-bd-vs { color: var(--text-mid); }   /* vs the board an hour ago (2026-10-09 item 6): a number, no arrow */
.hm-bd-sub { font-size: var(--fs-xs); color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hm-bd-where { grid-area: where; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; font-size: var(--fs-md); }
.hm-bd-where .vmark { max-width: 100%; }
.hm-bd-where .vmark-n, .hm-bd-where-t { overflow: hidden; text-overflow: ellipsis; }
.hm-bd-where-t { color: var(--text); white-space: nowrap; }
.hm-bd-more { font-size: var(--fs-xs); color: var(--text-dim); white-space: nowrap; }
.hm-bd-go { grid-area: go; text-align: right; }
.hm-bd-go::after { margin-left: 0; }
.kc-glyph { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); flex: none; }

/* Market strip: the tracked-wallet cells (below) reused for volume · open interest · Hyperliquid share · stablecoins */
.hm-chg { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; margin-left: var(--space-1); }

/* Venues at a glance: a plain table, one row per venue, numbers right; kind header rows only when two kinds exist */
.hm-glance .vn-scroll { background: var(--surface); }
.hm-glance .tbl th, .hm-glance .tbl td { padding: var(--space-1) var(--space-3); }
.hm-glance .tbl th:first-child, .hm-glance .tbl td:first-child { padding-left: var(--card-pad); }
.hm-glance .tbl th:last-child, .hm-glance .tbl td:last-child { padding-right: var(--card-pad); }
.hm-glance .tbl th.num, .hm-glance .tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-glance .tbl td { color: var(--text); }
.hm-glance .tbl tr.vn-dim td { opacity: .5; }
.hm-glance .tbl tr.hm-gl-kind td { padding-block: var(--space-1); font-size: var(--fs-xs); color: var(--text-mid); background: var(--surface-2); }
.hm-gl-sub { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--text-dim); }

/* Top five funding gaps: a plain table, numbers right, text left (Kai 2026-10-08 green-restore) */
.hm-gaps .vn-scroll { background: var(--surface); }
.hm-gaps .tbl th, .hm-gaps .tbl td { padding: var(--space-1) var(--space-3); }
.hm-gaps .tbl th:first-child, .hm-gaps .tbl td:first-child { padding-left: var(--card-pad); }
.hm-gaps .tbl th:last-child, .hm-gaps .tbl td:last-child { padding-right: var(--card-pad); }
.hm-gaps .tbl th.num, .hm-gaps .tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-gaps .tbl td.num.hm-lede-num { font-weight: 600; }
.hm-gaps .hm-legs { white-space: nowrap; color: var(--text-mid); }
/* two-line legs with venue marks (COMPETITORS.md proposal 4, 2026-10-09) */
.hm-gaps .hm-legs2 { display: inline-flex; flex-direction: column; gap: 3px; }
.hm-gaps .hm-leg { display: inline-flex; align-items: center; gap: var(--space-1); white-space: nowrap; }
.hm-gaps .hm-leg i { font-style: normal; font-size: var(--fs-xs); color: var(--text-dim); min-width: 34px; letter-spacing: var(--ls-tag); }
.hm-gaps .hm-legs b { color: var(--text); font-weight: 500; }
.hm-gaps .state-line { margin: 0; padding: var(--space-3) var(--card-pad); }
.hm-gaps .hm-m { display: none; }

/* one small note under a block */
.hm-now-note { margin: var(--space-2) 0 0; font-size: var(--fs-xs); color: var(--text-dim); line-height: var(--lh-prose); }

/* Tracked-wallet summary: four cells, one link to /traders/tracked/ */
.hm-tracked { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--border); border-radius: var(--radius-card,10px); background: var(--surface); overflow: hidden; }
.hm-tr-cell { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: var(--card-pad); }
.hm-tr-cell + .hm-tr-cell { border-left: 1px solid var(--border); }
.hm-tr-l { font-size: var(--fs-xs); color: var(--text-mid); }
.hm-tr-v { font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--ls-title); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.hm-tr-c { font-size: var(--fs-xs); color: var(--text-dim); font-variant-numeric: tabular-nums; line-height: var(--lh-ui); }
.hm-tracked > .state-line { grid-column: 1 / -1; margin: 0; padding: var(--space-3) var(--card-pad); }

@media (max-width:1100px) {
  .hm-bd-head, .hm-bd-row { grid-template-columns: 8.5rem minmax(0,1fr) 15rem 8.5rem 1rem; }
}
@media (max-width:760px) {
  .hm-lede { font-size: var(--fs-base); }
  /* phone (design system 2026-10-14): the head keeps only the data hour; a row reads subject, then measure and figure, then
     why, then kind and venue. The figure's window detail, the vs-an-hour-ago figure and the per-kind limits sentence (the
     note under the board says it for all rows) stay on the destination page. */
  .hm-bd-head { display: block; padding-block: var(--space-2); }
  .hm-bd-head > span:not(:nth-child(2)), .hm-bd-head > span:nth-child(2) > span[aria-hidden] { display: none; }
  .hm-bd-asof { margin-left: 0; }
  .hm-bd-row { grid-template-columns: minmax(0,1fr) auto; grid-template-areas: "what what" "amt amt" "k where"; gap: var(--space-1) var(--space-2); align-items: start; }
  .hm-bd-what { align-items: flex-start; }
  .hm-bd-what > .sym-ic, .hm-bd-what > .kc-glyph { align-self: flex-start; margin-top: calc((var(--fs-base) * 1.6 - var(--icon-sm)) / 2); }
  .hm-bd-what-c .hm-bd-constraint, .hm-bd-what-c .hm-bd-why + .hm-bd-constraint + .hm-bd-why, .hm-bd-amt .hm-bd-sub, .hm-bd-amt .hm-bd-vs { display: none; }
  .hm-bd-amt { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-2); }
  .hm-bd-where { justify-self: end; }
  .hm-bd-amt { align-items: flex-start; text-align: left; }
  .hm-bd-k { font-size: var(--fs-xs); }
  .hm-bd-what-t { white-space: normal; overflow: visible; }
  .hm-bd-go { display: none; }
  .hm-bd-amt b { font-size: var(--fs-base); }
  .hm-bd-where { flex-direction: row; align-items: center; gap: var(--space-2); }
  .hm-research-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-2); }
  .hm-tracked { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hm-tr-cell:nth-child(3) { border-left: 0; }
  .hm-tr-cell:nth-child(n+3) { border-top: 1px solid var(--border); }
  .hm-tr-v { font-size: var(--fs-xl); }
}
@media (max-width:560px) {
  /* Funding gaps as cards: symbol · 7-day net, the legs, then three labelled figures. No sideways scroll. */
  .hm-gaps .vn-scroll { overflow: visible; }
  .hm-gaps-tbl, .hm-gaps-tbl tbody { display: block; width: 100%; }
  .hm-gaps-tbl thead { display: none; }
  .hm-gaps-tbl tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-areas: "sym sym net" "legs legs legs" "gap be oi"; gap: var(--space-1) var(--space-2); padding: var(--space-3) var(--card-pad); }
  .hm-gaps-tbl tr + tr { border-top: 1px solid var(--border); }
  .hm-gaps .tbl td, .hm-gaps .tbl td:first-child, .hm-gaps .tbl td:last-child { display: block; padding: 0; border: 0; min-width: 0; }
  .hm-gaps-tbl td:nth-child(1) { grid-area: sym; }
  .hm-gaps-tbl td:nth-child(2) { grid-area: legs; }
  .hm-gaps-tbl td:nth-child(3) { grid-area: net; }
  .hm-gaps-tbl td:nth-child(4) { grid-area: gap; text-align: left; }
  .hm-gaps-tbl td:nth-child(5) { grid-area: be; text-align: left; }
  .hm-gaps-tbl td:nth-child(6) { grid-area: oi; text-align: right; }
  .hm-gaps-tbl td[colspan] { grid-column: 1 / -1; }
  .hm-gaps .hm-legs { white-space: normal; }
  .hm-gaps .hm-m { display: block; font-size: var(--fs-xs); font-weight: 400; color: var(--text-dim); }
}

/* Start here (Kai 2026-10-11 review item 2): three ways in, a live fact each, before the board */
.hm-start { display: grid; grid-template-columns: minmax(0,1.4fr) repeat(2,minmax(0,1fr)); gap: var(--space-3); margin: 0 0 var(--sec-gap); }
.hm-start-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-card,10px); background: var(--surface); }
.hm-start-card:first-child { background: var(--surface-2); }
.hm-start-card:hover { background: var(--surface-2); border-color: var(--border-strong); }
.hm-start-a { display: grid; grid-template-columns: auto minmax(0,1fr); align-content: start; align-items: center; gap: var(--space-2); flex: 1; padding: var(--card-pad); color: var(--text); text-decoration: none; }
.hm-start-a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-card,10px); }
.hm-start-ic { color: var(--accent); width: var(--icon-sm); height: var(--icon-sm); }
.hm-start-a b { font-size: var(--fs-xl); font-weight: 600; letter-spacing: var(--ls-title); }
.hm-start-d, .hm-start-f { grid-column: 1 / -1; }
.hm-start-d { color: var(--text-mid); font-size: var(--fs-base); line-height: var(--lh-prose); }
.hm-start-f { font-size: var(--fs-md); color: var(--text-mid); font-variant-numeric: tabular-nums; }
.hm-start-f:empty { display: none; }
.hm-start-f b { color: var(--text); font-weight: 600; font-size: var(--fs-base); }
.hm-start-f b.gain { color: var(--gain); } .hm-start-f b.loss { color: var(--loss); }
.hm-start-also { display: flex; flex-wrap: wrap; gap: var(--space-1) var(--space-4); margin: 0; padding: var(--space-2) var(--card-pad) var(--space-3); border-top: 1px solid var(--border); font-size: var(--fs-md); }
.hm-start-also a { color: var(--text-mid); text-decoration: none; white-space: nowrap; }
.hm-start-also a:hover { color: var(--accent); }

/* board: what changed · why it is listed, and the measure/window over each figure (review item 6) */
.hm-bd-what-c { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.hm-bd-why { font-size: var(--fs-xs); color: var(--text-dim); white-space: normal; line-height: var(--lh-prose); }
.hm-bd-m { font-size: var(--fs-xs); color: var(--text-mid); white-space: nowrap; }
.hm-bd-all { border-top: 1px solid var(--border); }
.hm-bd-all > summary { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--card-pad); cursor: pointer; list-style: none; font-size: var(--fs-md); color: var(--text-mid); }
.hm-bd-all > summary::-webkit-details-marker { display: none; }
.hm-bd-all > summary::after { content: "›"; margin-left: auto; transition: transform .14s; }
.hm-bd-all[open] > summary::after { transform: rotate(90deg); }
.hm-bd-all > summary:hover { color: var(--text); }
.hm-bd-all-n { font-variant-numeric: tabular-nums; color: var(--text); }
.hm-bd-grp { padding: var(--space-2) var(--card-pad); font-size: var(--fs-xs); font-weight: 500; color: var(--text-mid); background: var(--surface-2); border-top: 1px solid var(--border); }
.hm-context { margin-block: var(--sec-gap); border-top: 1px solid var(--border); }
.hm-context > summary { min-height: 44px; display: flex; align-items: center; gap: var(--space-2); cursor: pointer; color: var(--text-mid); font-size: var(--fs-md); }
.hm-context > summary::before { content: '+'; }
.hm-context[open] > summary::before { content: '−'; }
.hm-context > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width:760px) {
  .hm-start { grid-template-columns: minmax(0,1fr); gap: var(--space-2); }
  .hm-start-d { font-size: var(--fs-md); }
  .hm-bd-why { white-space: normal; }
}

/* Density (Kai 2026-10-13, approved mock docs/density-2026-10-13): the first screen was 35-55 % header. One-line lede,
   start cards without the description line (kept for screen readers), board rows on one line on wide screens with the
   why / limits / time lines in the row's hover title (assets/home-brief.js). Spacing from the space tokens only. */
.hm-lede { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-1) var(--space-4); max-width: none; margin: var(--space-4) 0 var(--space-3); }
.hm-lede p { margin-top: 0; font-size: var(--fs-md); line-height: var(--lh-prose); }
.hm-start { margin-bottom: var(--space-4); }
.hm-start-a { padding: var(--space-2) var(--space-3); row-gap: var(--space-1); }
.hm-start-a b { font-size: var(--fs-lg); }
.hm-start-d { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.home .hm-sec.hm-board { margin-top: var(--space-4); }
.hm-bd-grp { padding-block: var(--space-1); }
.hm-bd-asof { margin-left: var(--space-2); color: var(--text-dim); white-space: nowrap; }
@media (min-width: 761px) {
  /* design system 2026-10-14: one line per row (40 px): measure label and figure side by side, venue and "+N more" side by
     side; the figure's window detail and the why/limits lines open in the shared hover card */
  .hm-bd-row { padding-block: var(--space-1); min-height: var(--row-h); }
  .hm-bd-what-c .hm-bd-why, .hm-bd-what-c .hm-bd-constraint, .hm-bd-amt .hm-bd-vs, .hm-bd-amt .hm-bd-sub { display: none; }
  .hm-bd-amt { flex-direction: row; align-items: baseline; justify-content: flex-end; gap: var(--space-2); }
  .hm-bd-where { flex-direction: row; align-items: baseline; gap: var(--space-2); white-space: nowrap; }
  .hm-bd-what-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .hm-bd-head, .hm-bd-row { grid-template-columns: 10.5rem minmax(0,1fr) 24rem 11rem 1.25rem; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .hm-bd-head, .hm-bd-row { grid-template-columns: 8.5rem minmax(0,1fr) 15rem 8.5rem 1rem; }
  .hm-bd-amt { flex-direction: column; align-items: flex-end; gap: 0; }   /* measure over figure: the label stays on screen */
  .hm-bd-where { flex-direction: column; align-items: flex-start; gap: 0; }
}
.hm-bd-k > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }

/* Home desk (IA 2026-10-14, assets/home-desk.js): hero table two thirds, two side blocks one third from 1101 px;
   stacked below. One big figure per side block at most; the hero's answer line is text, not a figure. */
.dk-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); margin-bottom: var(--sec-gap); }
@media (min-width: 1101px) { .dk-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 2fr); align-items: start; } }
.dk-intro { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding-block: var(--space-8); }
.dk-intro .hm-lede { max-width: 56ch; }
.dk-calculator { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: var(--control-height); padding: var(--space-2) var(--space-4); border: 1px solid var(--border-strong); border-radius: var(--radius-ctl); background: var(--surface-2); color: var(--accent); font-size: var(--fs-md); font-weight: var(--fw-medium); text-decoration: none; white-space: nowrap; }
.dk-calculator:hover { border-color: var(--accent); }
.dk-task-nav { display: flex; flex-wrap: wrap; gap: var(--space-1); border-bottom: 1px solid var(--border-strong); margin-bottom: var(--space-6); }
.dk-task-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: var(--control-height); padding: var(--space-2) var(--space-4); font-size: var(--fs-md); color: var(--text-mid); text-decoration: none; border-bottom: 2px solid transparent; }
.dk-task-nav a:hover { color: var(--text); background: var(--surface); }
.dk-task-nav a[aria-current] { color: var(--accent); border-bottom-color: var(--accent); background: var(--surface-2); font-weight: var(--fw-semibold); }
.dk-hero { min-width: 0; padding: var(--card-pad); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); }
.dk-hero .sec-head { margin-bottom: var(--space-2); }
.dk-hero .sec-head h2 { font-size: var(--fs-base); }
.dk-toolbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-3); color: var(--text-mid); font-size: var(--fs-xs); }
.dk-view-toggle { display: none; min-height: var(--control-height); padding: var(--space-2) var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-ctl); background: var(--surface-2); color: var(--accent); font: inherit; cursor: pointer; }
.dk-view-toggle:hover { border-color: var(--accent); }
.dk-scroll-hint { display: none; margin: 0 0 var(--space-2); color: var(--text-mid); font-size: var(--fs-xs); }
.dk-hero .vn-scroll { border: 0; border-radius: 0; background: transparent; --scroll-bg: var(--surface); }
.dk-answer { margin: 0 0 var(--space-3); font-size: var(--fs-xl); line-height: var(--lh-tight); font-weight: 600; letter-spacing: var(--ls-title); color: var(--text); text-wrap: balance; }
.dk-tbl th { color: var(--text-mid); background: var(--surface-2); }
.dk-tbl tbody tr:hover td, .dk-tbl tbody tr:focus-within td { background: var(--surface-2); }
.dk-best { display: block; color: var(--accent); font-size: var(--fs-xs); font-weight: var(--fw-medium); }
.dk-tbl th.num, .dk-tbl td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dk-tbl td.dk-cost { font-weight: 600; }
.dk-tbl tr[data-best] td { background: rgba(var(--accent-rgb), .06); }
.dk-tbl tr[data-best] td:first-child { box-shadow: inset 2px 0 0 var(--accent); }
.dk-tbl .dk-pts { white-space: nowrap; }
.dk-pt { color: var(--text); text-decoration: none; }
.dk-pt:hover { text-decoration: underline; }
.dk-tbl .dk-go { white-space: nowrap; }
.dk-dim { color: var(--text-dim); }
.dk-m-only { display: none; }
.dk-sub { font-size: var(--fs-xs); line-height: var(--lh-ui); padding-left: calc(var(--icon-sm) + var(--icon-gap)); }
.dk-note { margin: var(--space-2) 0 0; font-size: var(--fs-xs); line-height: var(--lh-ui); color: var(--text-dim); }
.dk-side { display: grid; gap: var(--space-3); min-width: 0; }
@media (min-width: 768px) and (max-width: 1100px) { .dk-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dk-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: var(--card-pad); min-width: 0; }
.dk-card-t { margin: 0 0 var(--space-3); font-size: var(--fs-base); line-height: var(--lh-tight); font-weight: 600; color: var(--text); }
.dk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.dk-list li { display: grid; gap: var(--space-1); padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); font-size: var(--fs-md); line-height: var(--lh-ui); }
.dk-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.dk-li-a { display: flex; align-items: center; gap: var(--icon-gap); min-width: 0; }
.dk-li-v { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dk-li-b { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-xs); color: var(--text-mid); padding-left: calc(var(--icon-sm) + var(--icon-gap)); min-width: 0; }
.dk-li-who { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-li-b .dk-watch { flex: none; }
.dk-big { margin: 0 0 var(--space-3); font-size: var(--fs-xl); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--ls-title); font-variant-numeric: tabular-nums; }
.dk-big-l { font-size: var(--fs-xs); font-weight: 400; color: var(--text-mid); letter-spacing: 0; }
.dk-empty { margin: 0; font-size: var(--fs-md); color: var(--text-mid); }
.dk-links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin: 0 0 var(--sec-gap); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: var(--fs-md); }
.dk-links a { color: var(--text-mid); }
.dk-links a:hover { color: var(--text); }
.dk-assets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border-strong); }
.dk-asset { display: grid; gap: var(--space-1); padding: var(--space-2); border-radius: var(--radius-ctl); color: var(--text); text-decoration: none; min-width: 0; }
.dk-asset:hover { background: var(--surface-2); }
.dk-asset-h, .dk-asset-v { display: flex; align-items: center; gap: var(--icon-gap); font-size: var(--fs-md); line-height: var(--lh-ui); }
.dk-asset-v b { margin-left: auto; font-variant-numeric: tabular-nums; }
.dk-asset-n { font-size: var(--fs-xs); color: var(--text-dim); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .dk-intro { display: block; padding-block: var(--space-6); }
  .dk-calculator { margin-top: var(--space-4); }
  .dk-task-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-1); }
  .dk-task-nav a { padding-inline: 0; font-size: var(--fs-xs); white-space: nowrap; }
  .dk-view-toggle { display: inline-flex; align-items: center; }
  .dk-tbl .dk-m-hide { display: none; }
  .dk-expanded .dk-tbl .dk-m-hide { display: table-cell; }
  .dk-expanded .dk-scroll-hint { display: block; }
  .dk-expanded .dk-tbl .dk-m-only { display: none; }
  .dk-expanded .dk-tbl { min-width: 48rem; }
  .dk-tbl tr[data-venue] td:first-child .vmark a { white-space: nowrap; }
  .dk-assets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2); }
  .dk-asset { padding: var(--space-2); }
  .dk-asset-vn, .dk-asset-n { display: none; }
  .dk-tbl .dk-m-only { display: block; }
}
.home :is(.dk-task-nav a, .dk-calculator, .dk-view-toggle, .dk-asset, .dk-hero .vn-scroll):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
html[lang="ko"] :is(.dk-intro, .dk-task-nav, .dk-toolbar, .dk-answer, .dk-card-t) { word-break: keep-all; overflow-wrap: anywhere; }
.hm-more, .dk-links a, .dk-li-b a { display: inline-flex; align-items: center; min-height: 24px; }
.dk-pt { display: inline-flex; align-items: center; min-height: 24px; }
.dk-tbl .vopen-ref a { display: inline-flex; align-items: center; min-height: 24px; }

/* Share buttons in the desk block heads (P9-06 / P10-09, 2026-10-15): right side, never wrapping */
.dk-hero .sec-head .sw-share-btn { margin-left: var(--space-2); }
@media (max-width: 767px) { .dk-hero .sec-head .sw-share-btn { margin-left: auto; } }
.dk-card-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-3); }
.dk-card-head .dk-card-t { margin: 0; min-width: 0; }

/* Watch button on the home wallet rows (2026-10-15): the same swan-watch button, compact */
.dk-watch { font: inherit; font-size: var(--fs-xs); }
