/* The portal dashboard, from design/client-dashboard.html (the platform template, 11.386), every rule scoped to .dash so it never restyles the site around it. Generated; edit the design, then re-extract. */
.dash{
    --ground:#F3F3F2; --card:#FFFFFF; --sunk:#ECEEEF;
    --ink:#131316; --ink-2:#45474C; --muted:#6A6C70;
    --line:#E2E2E1; --line-2:#EBEBEA;
    --pop:#00B4D8; --pop-hover:#0098B8; --pop-ink:#FFFFFF;
    --attn:#C2410C; --attn-on:#FFFFFF; --hold:#C9CCD1; --pos:#1E7A4F;
    /* A row's state, as a tinted chip (11.795): held, running out, and not held. One set for every list. */
    --ok-bg:#E4F1EA; --ok-ink:#12563C; --warn-bg:#FBEADB; --warn-ink:#8A4A0B; --bad-bg:#FBE4E2; --bad-ink:#A3261E;
    
    --panel:#2A2D32; --panel-fg:#F2F2F1; --panel-muted:#A6A9AF; --panel-line:#3A3D42;
    --track:#E2E2E1; --fill:#3A3D42; --ico-fg:#FFFFFF;

    
    --c-cred:#A8B6FF; --c-study:#CDB5FF; --c-insurance:#FFB4A2; --c-money:#FFB1D0;
    --c-work:#8ED8E6; --c-move:#FFC08A; --c-home:#F4DB7D; --c-vehicles:#A4E2B6;
    --c-tax:#A6CCFF; --c-health:#93DFCF; --c-practice:#EAB2F0; --c-wealth:#D3E98F;
    --c-business:#B9C4D6; --c-receipts:#F2C6B4; --c-family:#FFC9DE;
    --tile-mix:100%; --glyph-mix:42%; --row-mix:34%;

    --f-ui:'Inter','Inter UI',system-ui,-apple-system,'Segoe UI',sans-serif;
    --f-display:'Newsreader','Iowan Old Style','Palatino Linotype',Palatino,Georgia,serif;
    --sh-rest:0 1px 1px rgba(16,18,20,.05);
    /* design/control-centre.html's own: the selected colour, and a real lift (11.766). */
    --haze:#EBE8F7; --haze-ink:#4A4166;
    --sh-raise:0 1px 2px rgba(16,18,20,.06), 0 10px 22px -14px rgba(16,18,20,.5);
    
    --sh-lift:0 1px 2px rgba(16,18,20,.06), 0 12px 26px -16px rgba(16,18,20,.24);
  }
@media (prefers-color-scheme: dark){html:not([data-theme="light"]) .dash{
      --ground:#0F1113; --card:#181B1F; --sunk:#0B0C0E;
      --ink:#F2F2F1; --ink-2:#C4C6CA; --muted:#8E9197;
      --line:#2A2D31; --line-2:#212428;
      --pop:#22C3E3; --pop-hover:#4FD2EC; --pop-ink:#04161B;
      --attn:#F08A5D; --attn-on:#1F0A02; --hold:#3A3E44; --pos:#5CC98E;
      --ok-bg:#12291F; --ok-ink:#6FD1A0; --warn-bg:#2C1F12; --warn-ink:#E8A46B; --bad-bg:#2E1917; --bad-ink:#F09A92;
      --panel:#1E2126; --panel-fg:#F2F2F1; --panel-muted:#8E9197; --panel-line:#30343A;
      --track:#2A2D31; --fill:#C4C6CA; --ico-fg:#0E1013;
      --tile-mix:26%; --glyph-mix:100%; --row-mix:13%;
      --sh-rest:0 1px 1px rgba(0,0,0,.35);
    --haze:#2B2842; --haze-ink:#C6BEE6;
    --sh-raise:0 1px 2px rgba(0,0,0,.4), 0 10px 22px -14px rgba(0,0,0,.85);
      --haze:#2B2842; --haze-ink:#C6BEE6;
      --sh-raise:0 1px 2px rgba(0,0,0,.4), 0 10px 22px -14px rgba(0,0,0,.85);
      --sh-lift:0 1px 2px rgba(0,0,0,.4), 0 12px 26px -16px rgba(0,0,0,.7);
    }

  }
html[data-theme="dark"] .dash{
    --ground:#0F1113; --card:#181B1F; --sunk:#0B0C0E;
    --ink:#F2F2F1; --ink-2:#C4C6CA; --muted:#8E9197;
    --line:#2A2D31; --line-2:#212428;
    --pop:#22C3E3; --pop-hover:#4FD2EC; --pop-ink:#04161B;
    --attn:#F08A5D; --attn-on:#1F0A02; --hold:#3A3E44; --pos:#5CC98E;
    --panel:#1E2126; --panel-fg:#F2F2F1; --panel-muted:#8E9197; --panel-line:#30343A;
    --track:#2A2D31; --fill:#C4C6CA; --ico-fg:#0E1013;
    --tile-mix:26%; --glyph-mix:100%; --row-mix:13%;
    --sh-rest:0 1px 1px rgba(0,0,0,.35);
    --sh-lift:0 1px 2px rgba(0,0,0,.4), 0 12px 26px -16px rgba(0,0,0,.7);
  }
.dash *{box-sizing:border-box;}
.dash{
    margin:0; background:var(--ground); color:var(--ink);
    font-family:var(--f-ui); font-size:14px; line-height:1.42;
    -webkit-font-smoothing:antialiased;
  }
.dash h1, .dash h2{margin:0; font-weight:500;}
.dash p{margin:0;}
.dash ul{margin:0; padding:0; list-style:none;}
.dash button{font:inherit; color:inherit; background:none; border:0; padding:0; cursor:pointer;}
.dash :focus-visible{outline:2px solid var(--pop); outline-offset:2px;}
.dash svg{flex:none;}
.dash .review{background:var(--sunk); border-bottom:1px solid var(--line);}
.dash .review .in{
    max-width:1100px; margin:0 auto; padding:8px 24px;
    display:flex; align-items:center; gap:12px; flex-wrap:wrap; font-size:12px; color:var(--muted);
  }
.dash .review .lbl{font-size:10px; letter-spacing:.13em; text-transform:uppercase; font-weight:600; color:var(--ink-2);}
.dash .seg{display:flex; border:1px solid var(--line); background:var(--card);}
.dash .seg button{padding:5px 11px; font-size:12px; color:var(--ink-2); border-right:1px solid var(--line); white-space:nowrap;}
.dash .seg button:last-child{border-right:0;}
.dash .seg button[aria-pressed="true"]{background:var(--ink); color:var(--ground); font-weight:600;}
.dash .review .disc{margin-left:auto;}
.dash .review .pub{font-size:12px; font-weight:600; color:var(--ink-2); text-underline-offset:3px;}
.dash .wrap{max-width:1100px; margin:0 auto; padding:0 24px 40px;}
.dash header.top{display:flex; align-items:flex-end; gap:18px; padding:24px 0 22px;}   /* 34px, tightened (Gray, 25/09/2026) */
.dash .who{min-width:0;}
.dash .who h1{
    font-family:var(--f-display); font-weight:420; font-optical-sizing:auto;
    font-size:clamp(32px, 3.6vw, 46px); line-height:1.02; letter-spacing:-.018em;
    text-wrap:balance;
  }
.dash .who h1.page{font-size:clamp(30px, 3.1vw, 40px);}
.dash .who .sub{display:flex; flex-wrap:wrap; align-items:center; gap:4px 14px; font-size:13px; color:var(--muted); margin-top:10px;}
.dash .back{display:none; align-items:center; gap:6px; font-size:12.5px; color:var(--muted); margin-bottom:12px;}
.dash .back svg{width:6px; height:11px;}
.dash .live{display:inline-flex; align-items:center; gap:6px;}
.dash .live i{width:6px; height:6px; background:#1E9E62; display:block;}
.dash .top .acts{margin-left:auto; display:flex; align-items:center; gap:12px; padding-bottom:4px;}
.dash .gear{display:inline-flex; color:var(--muted); padding:6px;}
.dash .gear:hover{color:var(--ink);}
.dash .gear svg{width:18px; height:18px;}
.dash .btn{font-size:13px; padding:8px 14px; border:1px solid var(--line); background:var(--card); color:var(--ink); white-space:nowrap; display:inline-flex; align-items:center; gap:7px;}
.dash .btn:hover{border-color:var(--ink-2);}
.dash .btn svg{width:14px; height:14px;}
.dash .nav{display:flex; gap:1px; flex-wrap:wrap; border-bottom:1px solid var(--line); margin-bottom:28px; align-items:flex-end;}
.dash .nav button{font-size:13px; padding:9px 14px; color:var(--ink-2); display:inline-flex; align-items:center; gap:6px; white-space:nowrap;}
.dash .nav button:hover{color:var(--ink);}
.dash .nav button[aria-current="page"]{
    color:var(--ink); font-weight:600; background:var(--card);
    border:1px solid var(--line); border-bottom-color:var(--card); box-shadow:var(--sh-rest); margin-bottom:-1px;
  }
.dash .nav .dot{width:5px; height:5px; background:var(--attn); display:block;}
/* The panel spans the bar, not the four buttons that open it (11.744). Gray, 23/09/2026: "Mega menu needs
   tweaking", with a shot of four groups stacked in one narrow column. The CSS is the prototype's, but the
   prototype's .nav is a full-width row of its own while the built one sits beside the wordmark and is only as wide
   as its buttons, so a panel pinned left:0/right:0 to it came out 240px wide. It is pinned to the bar instead. */
.dash .appbar .in{position:relative;}
.dash .nav{position:static;}
.dash .nav .tg .chev{width:12px; height:12px; transition:transform .15s;}
.dash .nav .tg[aria-expanded="true"] .chev{transform:rotate(180deg);}
.dash .nav .tg.on{color:var(--ink); font-weight:600; background:var(--card); border:1px solid var(--line); border-bottom-color:var(--card); box-shadow:var(--sh-rest); margin-bottom:-1px;}
.dash .pmega{position:absolute; left:0; right:0; top:100%; margin-top:1px; background:var(--card); border:1px solid var(--line); box-shadow:0 1px 2px rgba(16,18,20,.06), 0 18px 40px -22px rgba(16,18,20,.28); z-index:30;}
.dash .pin{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px 28px; align-items:start; padding:20px 22px 22px; max-width:1180px; margin:0 auto;}
/* Below the four-column width the groups go two up, then one, rather than squeezing every line to three words. */
@media (max-width:1080px){.dash .pin{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:620px){.dash .pin{grid-template-columns:minmax(0,1fr);}}
.dash .pmg h3{font-size:10.5px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; margin:0 0 6px;}
.dash .nav .pml{display:grid; grid-template-columns:auto minmax(0,1fr); gap:10px; align-items:center; width:100%; padding:7px 6px; text-align:left; white-space:normal;}
.dash .nav .pml:hover, .dash .nav .pml[aria-current="page"]{background:var(--sunk); border:0; box-shadow:none; margin:0;}
.dash .pml b{display:block; font-size:13.5px; font-weight:600; color:var(--ink);}
.dash .pml small{display:block; font-size:12px; color:var(--muted); font-weight:400;}
.dash .pml .dot{display:inline-block; margin-left:6px; vertical-align:middle;}
.dash .pml .ico{width:30px; height:30px;}
@media (prefers-reduced-motion: reduce){.dash .nav .tg .chev{transition:none;}
 }
.dash .nav .tsep{width:1px; height:18px; background:var(--line); margin:0 6px 9px; display:block;}
@media (max-width:900px){.dash .nav{display:none;}
.dash .back{display:inline-flex;}
 }
.dash .cols{display:grid; grid-template-columns:minmax(0,1.7fr) minmax(0,1fr); column-gap:32px; align-items:start;}
.dash .coll, .dash .colr{display:flex; flex-direction:column; gap:30px; min-width:0;}
.dash .sec-h{display:flex; align-items:baseline; gap:10px; margin-bottom:9px;}
.dash .sec-h h2{font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.dash .badge{font-size:10.5px; font-weight:700; color:var(--attn-on); background:var(--attn); padding:1px 6px;}
.dash .sec-h .note{margin-left:auto; font-size:12.5px; color:var(--ink-2); font-weight:500;}
/* What a list claims, beside its name and quieter than it (11.771): a sentence, not another heading. */
.dash .sec-h .claim{font-size:11.5px; color:var(--muted); font-weight:400; letter-spacing:0; text-transform:none;}
@media (max-width:560px){.dash .sec-h{flex-wrap:wrap; gap:2px 10px;} .dash .sec-h .claim{flex-basis:100%;}}
.dash .ico{
    width:28px; height:28px; display:flex; align-items:center; justify-content:center;
    background:color-mix(in srgb, var(--c) var(--tile-mix), var(--card));
    color:color-mix(in srgb, var(--c) var(--glyph-mix), #131316);
  }
.dash .ico svg{width:16px; height:16px;}
.dash .row .ico, .dash .svc .ico{background:color-mix(in srgb, var(--c) var(--row-mix), var(--card));}
.dash .act{font-size:12.5px; padding:7px 12px; border:1px solid var(--line); color:var(--ink); white-space:nowrap; min-width:108px; text-align:center; background:var(--card);}
.dash .act:hover{border-color:var(--ink-2);}
.dash .act.pri{background:var(--pop); color:var(--pop-ink); border-color:var(--pop); font-weight:600;}
.dash .act.pri:hover{background:var(--pop-hover); border-color:var(--pop-hover);}
.dash .rows{background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest);}
.dash .row{display:grid; grid-template-columns:auto minmax(0,1fr) auto auto; gap:16px; align-items:center; padding:13px 16px; border-bottom:1px solid var(--line-2);}
.dash .row:last-child{border-bottom:0;}
.dash .row .t{font-size:14.5px; font-weight:500; color:var(--ink); min-width:0; letter-spacing:-.003em;}
.dash .row .w{font-size:12.5px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums;}
.dash .row .w.hot{color:var(--attn); font-weight:600;}
.dash .svc{background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest);}
.dash .svc .sr{display:grid; grid-template-columns:auto 132px minmax(0,1fr) auto 6px; gap:14px; align-items:center; width:100%; text-align:left; padding:12px 16px; border-bottom:1px solid var(--line-2);}
.dash .svc li:last-child .sr{border-bottom:0;}
.dash .svc button.sr:hover{background:var(--sunk);}
.dash .svc .k{font-size:14px; font-weight:600; color:var(--ink);}
.dash .svc .n{font-size:14px; color:var(--ink-2); min-width:0; font-variant-numeric:tabular-nums;}
.dash .svc .wait{font-size:12px; color:var(--muted); white-space:nowrap;}
.dash .chev{width:6px; height:11px; color:var(--muted);}
.dash .svc p.none{padding:12px 16px; font-size:14px; color:var(--muted);}
.dash .tiles{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px 18px;}
/* Icon, name, count: three columns, so the rows line up whatever the numbers are (11.743). Gray, 23/09/2026:
   "The larger numbers don't fit / align ... noting that some people will have 1'000's of documents." The name and
   its count were one run of text, so "Credentials · 48" wrapped onto two lines and pushed its row out of line
   with the three beside it. The name now takes the space that is left and the count sits in its own column. */
.dash .tile{display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:11px; padding:8px 0; text-align:left; min-width:0;}
.dash .tile .ico{width:32px; height:32px;}
.dash .tile .ico svg{width:17px; height:17px;}
.dash .tile .l{font-size:13px; font-weight:500; color:var(--ink); line-height:1.25; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
/* Tabular figures so 113 and 470 are the same width, and the counts stack in a true column. */
.dash .tile .n{display:flex; align-items:center; gap:8px; min-height:14px; font-size:13px; font-weight:500; color:var(--ink-2); font-variant-numeric:tabular-nums; white-space:nowrap; justify-self:end;}
.dash .tile.empty .n{color:var(--muted);}
.dash .tile .dot{width:6px; height:6px; background:var(--attn); display:block; flex:none;}
.dash .tile.empty .ico{background:transparent; color:var(--hold); border:1px solid var(--line);}
.dash .tile.empty .l{color:var(--muted); font-weight:400;}
.dash .cover{display:block; height:4px; background:var(--track); margin-top:12px;}
.dash .cover i{display:block; height:4px; background:var(--fill);}
/* Coming up is a glance, not a read (11.750). Gray, 23/09/2026: "Reduce text size for this section - font is too
   big". At 14.5px a two-line title used three lines of the column and the list filled the page. */
.dash .soon li{display:grid; grid-template-columns:52px minmax(0,1fr); gap:11px; align-items:baseline; padding:8px 0; border-bottom:1px solid var(--line);}
/* How far off, at the end of the row (11.796): the thing a list of future dates can say that a deadline list cannot. */
.dash .soon .aw{font-size:11.5px; color:var(--muted); white-space:nowrap; justify-self:end;}
.dash .soon li:last-child{border-bottom:0;}
.dash .soon .d{font-size:11.5px; color:var(--muted); font-variant-numeric:tabular-nums;}
.dash .soon .t{font-size:13px; line-height:1.35; color:var(--ink);}
.dash .ea{background:var(--panel); border:1px solid var(--panel-line); padding:18px; display:flex; flex-direction:column; gap:14px; min-height:340px;}
.dash .ea:focus-within{border-color:var(--pop);}
.dash .ea-h{display:flex; align-items:baseline; gap:12px;}
.dash .ea-h h2{font-size:17px; font-weight:600; color:var(--panel-fg); letter-spacing:-.005em;}
.dash .ea .work{margin-left:auto; display:flex; align-items:center; gap:7px; font-size:12px; color:var(--panel-muted); white-space:nowrap;}
.dash .ea .work i{width:6px; height:6px; background:var(--pop); display:block;}
.dash .ask{flex:1; display:flex; flex-direction:column; background:color-mix(in srgb, var(--panel-fg) 9%, var(--panel)); border:1px solid var(--panel-line);}
.dash .ask textarea{
    flex:1; min-height:180px; resize:none; border:0; outline:0; background:transparent;
    color:var(--panel-fg); font:inherit; font-size:16px; line-height:1.45; padding:14px 14px 6px;
  }
.dash .ask textarea::placeholder{color:var(--panel-muted);}
.dash .ask-f{display:flex; align-items:center; justify-content:space-between; padding:10px 12px 12px;}
.dash .ask .mic{display:flex; align-items:center; gap:6px; font-size:12px; color:var(--panel-fg); border:1px solid var(--panel-line); padding:5px 9px;}
.dash .ask .mic svg{width:14px; height:14px;}
.dash .ask .send{width:38px; height:38px; display:flex; align-items:center; justify-content:center; border:1px solid var(--pop); color:var(--pop);}
.dash .ask .send:hover{background:color-mix(in srgb, var(--pop) 14%, transparent);}
.dash .ask .send svg{width:18px; height:18px;}
.dash .stack{display:flex; flex-direction:column; gap:10px;}
.dash .mod{background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-lift);}
.dash .mod-h{display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:14px; align-items:center; padding:14px 16px; border-bottom:1px solid var(--line-2);}
.dash .mod-h .ico{width:36px; height:36px;}
.dash .mod-h .ico svg{width:19px; height:19px;}
.dash .mod-h .t{display:block; font-size:16.5px; font-weight:600; letter-spacing:-.008em; color:var(--ink);}
.dash .mod-h .m{display:block; font-size:12.5px; color:var(--muted); margin-top:2px; font-variant-numeric:tabular-nums;}
.dash .mod-h .st{display:flex; flex-direction:column; align-items:flex-end; gap:7px;}
.dash .stl{display:flex; align-items:center; gap:10px;}
.dash .tag{font-size:11px; font-weight:600; padding:2px 7px; border:1px solid var(--line); color:var(--ink-2); letter-spacing:.01em; white-space:nowrap;}
.dash .stl .when{font-size:12.5px; color:var(--ink); font-weight:500; white-space:nowrap; font-variant-numeric:tabular-nums;}
.dash .meter{display:flex; align-items:center; gap:3px;}
.dash .meter i{width:7px; height:7px; background:var(--track); display:block;}
.dash .meter i.on{background:var(--fill);}
.dash .meter span{margin-left:7px; font-size:12px; color:var(--muted); white-space:nowrap;}
.dash .spec{display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin:0; background:color-mix(in srgb, var(--sunk) 55%, var(--card)); border-bottom:1px solid var(--line-2);}
.dash .spec div{padding:9px 16px 10px; border-right:1px solid var(--line-2); min-width:0;}
.dash .spec div:last-child{border-right:0;}
.dash .spec dt{font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.dash .spec dd{margin:3px 0 0; font-size:13px; line-height:1.3; color:var(--ink); font-variant-numeric:tabular-nums;}
.dash table.bids{width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums;}
.dash .bids th{font-size:10px; letter-spacing:.1em; line-height:1.3; text-transform:uppercase; color:var(--muted); font-weight:600; text-align:left; vertical-align:bottom; padding:12px 12px 6px;}
.dash .bids td{padding:11px 12px; border-top:1px solid var(--line-2); font-size:13.5px; color:var(--ink-2);}
.dash .bids th:first-child, .dash .bids td:first-child{padding-left:16px;}
.dash .bids .cost, .dash .bids .by, .dash .bids .val{white-space:nowrap;}
.dash .bids .num{text-align:right;}
.dash .bids tbody tr{cursor:pointer;}
.dash .bids tbody tr:hover{background:var(--sunk);}
.dash .bids .rk{width:30px; padding-right:0; color:var(--muted); font-size:12px;}
.dash .bids .pv button{font-weight:500; color:var(--ink); text-align:left;}
.dash .bids .cost{font-size:15px; font-weight:600; color:var(--ink);}
.dash .bids .by{color:var(--ink);}
.dash .bids .by.est{color:var(--muted);}
.dash .bids .go{width:30px; padding-left:0; text-align:right;}
.dash .chip{display:inline-block; font-size:11px; padding:1px 7px; border:1px solid var(--line); color:var(--muted); white-space:nowrap;}
.dash .chip.yes{color:var(--pos); border-color:color-mix(in srgb, var(--pos) 40%, transparent); background:color-mix(in srgb, var(--pos) 8%, transparent); font-weight:600;}
.dash .mod .lbl{display:block; font-size:10px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); font-weight:600; padding:12px 16px 2px;}
.dash .moments{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:0;}
.dash .moments div{padding:8px 16px 14px; min-width:0;}
.dash .moments dt{display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; color:var(--ink);}
.dash .moments dt i{width:9px; height:9px; border:1.5px solid var(--hold); display:block; flex:none;}
.dash .moments dt i.next{border-color:var(--ink); background:var(--ink);}
.dash .moments dd{margin:3px 0 0 17px; font-size:12.5px; color:var(--muted);}
.dash .mod-f{display:flex; align-items:center; gap:10px; flex-wrap:wrap; padding:12px 16px; border-top:1px solid var(--line-2);}
.dash .mod-f .cap{font-size:12.5px; color:var(--muted); margin-right:auto;}
.dash .recs li button{display:grid; grid-template-columns:minmax(0,1fr) auto 6px; gap:14px; align-items:baseline; width:100%; text-align:left; padding:10px 0; border-bottom:1px solid var(--line);}
.dash .recs li:last-child button{border-bottom:0;}
.dash .recs .n{font-size:14px; color:var(--ink); min-width:0;}
.dash .recs .s{font-size:12.5px; color:var(--muted); white-space:nowrap; font-variant-numeric:tabular-nums;}
.dash .recs li button:hover .n{text-decoration:underline; text-underline-offset:3px; text-decoration-color:var(--line);}
.dash .todo{border:1px dashed var(--line); padding:28px 20px; font-size:13px; color:var(--muted);}
@media (max-width:980px){.dash .cols{grid-template-columns:minmax(0,1fr); row-gap:30px;}
.dash .tiles{grid-template-columns:repeat(3,minmax(0,1fr));}

  }
@media (max-width:640px){.dash .wrap{padding:0 14px 30px;}
.dash .review .in{padding:8px 14px;}
.dash .review .disc{margin-left:0;}
.dash header.top{padding-top:24px;}
.dash .top .acts .btn{display:none;}
.dash .tiles{grid-template-columns:repeat(2,minmax(0,1fr));}
.dash .row{grid-template-columns:auto minmax(0,1fr) auto;}
.dash .row .act{grid-column:2 / -1; justify-self:start;}
.dash .svc .sr{grid-template-columns:auto minmax(0,1fr) 6px; row-gap:3px;}
.dash .svc .n, .dash .svc .wait{grid-column:2;}
.dash .svc .chev{grid-column:3; grid-row:1;}
.dash .ea{min-height:0;}
.dash .ask textarea{min-height:120px;}
.dash .mod-h{grid-template-columns:auto minmax(0,1fr);}
.dash .mod-h .st{grid-column:2; align-items:flex-start;}
.dash .spec{grid-template-columns:repeat(2,minmax(0,1fr));}
.dash .spec div{border-bottom:1px solid var(--line-2);}
.dash .moments{grid-template-columns:minmax(0,1fr);}
.dash .bids thead{display:none;}
.dash .bids, .dash .bids tbody{display:block;}
.dash .bids tr{display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:4px 10px; align-items:baseline; padding:11px 16px; border-top:1px solid var(--line-2);}
.dash .bids tbody tr:first-child{border-top:0;}
.dash .bids td, .dash .bids th:first-child, .dash .bids td:first-child{padding:0; border:0;}
.dash .bids .by{grid-column:2; grid-row:2; font-size:12.5px;}
.dash .bids .by::before{content:attr(data-h) ": "; color:var(--muted);}
.dash .bids .val{grid-column:3; grid-row:2; justify-self:end;}
.dash .bids .go{display:none;}

  }
@media (prefers-reduced-motion: reduce){.dash *{transition:none !important;}
 }


/* Settings, as panels behind a menu (11.745). The tabs are the top bar's own, at the page's own scale: a quiet
   row, the one you are on sitting on the card the panel is drawn on, so the two read as one surface. */
.dash .setnav{display:flex; flex-wrap:wrap; gap:1px; align-items:flex-end; border-bottom:1px solid var(--line); margin:0 0 26px;}
.dash .setnav button{font-size:13px; padding:9px 14px; color:var(--ink-2); white-space:nowrap;}
.dash .setnav button:hover{color:var(--ink);}
.dash .setnav button[aria-current="page"]{
  color:var(--ink); font-weight:600; background:var(--card);
  border:1px solid var(--line); border-bottom-color:var(--card); box-shadow:var(--sh-rest); margin-bottom:-1px;
}
/* The first heading in a panel sits under the tabs, so it does not need the gap a heading normally carries. */
.dash .setnav + template + .sub-h, .dash .view > .setnav ~ .sub-h:first-of-type{margin-top:0;}
@media (max-width:620px){.dash .setnav{gap:0;} .dash .setnav button{padding:9px 10px; font-size:12.5px;}}

/* ── Settings rows (11.747) ─────────────────────────────────────────────────────────────────────
   Gray, 23/09/2026: "This is incredibly basic design ... we have a clear design language developed
   over prototypes etc. That includes buttons, CTA's, getting alignment perfect etc."

   He is right, and the fault was reusing `.recs li.sender`, a list that already carries four variants
   and whose `.s` is right-aligned inside a left-aligned column, so every row read as three loose
   fragments. This is the design's own row instead (design/control-centre.html `.rows` / `.row`): a
   card of rows, everything on one left edge, the control alone on the right, on one baseline. */
.dash .setl{background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-rest); list-style:none; margin:0 0 18px; padding:0;}
.dash .setl li{display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; row-gap:3px;
  align-items:center; padding:14px 18px; border-bottom:1px solid var(--line-2);}
.dash .setl li:last-child{border-bottom:0;}
.dash .setl li:hover{background:color-mix(in srgb, var(--pop) 3%, var(--surface));}
/* Both lines start on the same edge. Nothing in a row is ever right-aligned except its control. */
.dash .setl .n{grid-column:1; text-align:left; font-size:14.5px; font-weight:500; color:var(--ink); line-height:1.3; min-width:0;}
.dash .setl .s{grid-column:1; text-align:left; font-size:12.5px; line-height:1.45; color:var(--muted); white-space:normal; max-width:70ch;}
.dash .setl .ctl{grid-column:2; grid-row:1 / span 2; justify-self:end; align-self:center; display:flex; align-items:center; gap:10px;}
.dash .setl code{font-size:11px; color:var(--muted); background:var(--sunk); padding:1px 5px;}

/* The site's own button (.btn, above): a line border on the card, the border darkening on hover. There is no
   accent-outlined button anywhere in the design and inventing one was wrong (11.758). Gray, 24/09/2026: "nowhere
   have we ever had a button that looks like this, you have just created a new design element that looks shite". */
.dash .btn.ghost{color:var(--ink-2);}
.dash .btn.ghost:hover{color:var(--ink);}
.dash .btn[disabled]{opacity:.45; cursor:default; border-color:var(--line);}
/* Actions under a card sit on one baseline: the primary, then anything else as plain text beside it. */
/* The same air above every actions row, whatever it follows (11.763). Gray: "there is a gap for one button, and
   not the other??? WHY???" One row followed a card and one followed a paragraph, and only the bottom margin was
   set, so they sat at different distances from the thing above them. */
.dash .setacts{display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; margin:14px 0 30px;}
.dash .setl + .setacts{margin-top:14px;}
.dash .setacts .fix{font-size:12.5px;}
/* A link beside a button sits on the button's centre line, not its baseline, so the row reads as one row. */
.dash .setacts{align-items:center;}

/* A row's own on/off, from design/ask-vaile.html `.seg`. A state is a control, not a link. */
.dash .setl .seg button{padding:6px 13px; font-size:12px;}

/* Selects, so Profession is not two unstyled browser boxes. */
.dash .prof{display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:0 0 30px;}
.dash .prof select{font:inherit; font-size:13px; color:var(--ink); background:var(--surface);
  border:1px solid var(--line); padding:7px 30px 7px 12px; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8088' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 9px center; background-size:13px;}
.dash .prof select:hover{border-color:var(--ink-2);}

/* The panel's lead paragraph is measured for reading, not stretched to the window. */
.dash .view .setlede{max-width:74ch; margin:0 0 16px; font-size:13.5px; line-height:1.55; color:var(--ink-2);}
.dash .view .setnote{max-width:74ch; margin:-6px 0 26px; font-size:12.5px; line-height:1.5; color:var(--muted);}
@media (max-width:620px){
  .dash .setl li{grid-template-columns:minmax(0,1fr); }
  .dash .setl .ctl{grid-column:1; grid-row:auto; justify-self:start; margin-top:8px;}
}

/* Whose documents, as the bar's second disclosure (11.748). It sits at the right-hand end, because the left of the
   bar is where you are and the right is whose records you are looking at. */
.dash .nav .who-tg{margin-left:auto;}
/* Sized to its content and anchored to its button, not stretched across the bar (11.754). */
.dash .whowrap{position:relative; display:inline-flex; align-items:stretch;}
.dash .whomega{position:absolute; left:0; right:auto; top:100%; min-width:max-content;}
.dash .whomega .pin{grid-template-columns:repeat(3,max-content); gap:22px 38px; max-width:none; margin:0; padding:18px 22px 20px;}
.dash .whomega .pmg{min-width:max-content;}
/* A name and its count, on one line, the count in tabular figures so the column is true. */
.dash .nav .pml.flat{grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:baseline;}
.dash .pml.flat b{font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.dash .pml.flat .c{font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums;}
/* 11.756's accent rule and 11.761's wash are both gone: the prototype marks a chosen thing with --haze, and that
   is what the rules above do (11.766). Only the row's own padding is kept from here. */
.dash .nav .pml.flat{padding-left:10px;}
@media (max-width:1080px){.dash .whomega .pin{grid-template-columns:repeat(2,max-content);}}
@media (max-width:620px){.dash .whomega{left:auto; right:0;} .dash .whomega .pin{grid-template-columns:max-content;}}

/* ── The bar, signed in (11.749) ─────────────────────────────────────────────────────────────
   Vault and whose documents on the left, the two things she does here on the right. */
.dash .nav .who-near{margin-left:4px;}
/* The bar's two actions (11.767). The accent fill is the marketing pages' primary and in a utility bar it only
   shouts: a slab of cyan beside a faint unlabelled glyph. The design's own confident control is the ink one, which
   prototype.css uses wherever something is to be pressed (.totop:hover, .go-link:hover both go to ink on ground).
   So: Add a document is solid ink, Settings is a named quiet control beside it, and the two read as a pair. */
.dash .barcts{margin-left:auto; display:flex; align-items:center; gap:6px; padding:5px 0 5px 16px;}
.dash .barcts .btn{
  padding:9px 15px; font-size:13px; font-weight:500; letter-spacing:-.004em;
  background:var(--ink); border:1px solid var(--ink); color:var(--ground);
  box-shadow:var(--sh-rest);
  transition:background .13s ease, border-color .13s ease, box-shadow .13s ease, transform .13s ease;
}
.dash .barcts .btn:hover{
  background:var(--graphite); border-color:var(--graphite); color:var(--ground);
  box-shadow:var(--sh-raise); transform:translateY(-1px);
}
.dash .barcts .btn:active{transform:translateY(1px); box-shadow:var(--sh-rest);}
.dash .barcts .btn svg{width:15px; height:15px; stroke-width:2; flex:none;}
.dash .barcts .btn[disabled]{background:var(--sunk); border-color:var(--line); color:var(--muted); box-shadow:none; transform:none;}
.dash .barcts .gear{
  display:inline-flex; align-items:center; gap:7px; padding:9px 12px;
  border:1px solid transparent; color:var(--ink-2); font-size:13px; white-space:nowrap;
  transition:background .13s ease, color .13s ease;
}
/* No block of colour behind it (11.768). Gray, 24/09/2026: "revert to the icon used originally - the circle with
   8 rays - with no stupid hover highlight behind it. But leave 'Settings'." The word does the work; the control
   answers by darkening, as every other text control in the bar does. */
.dash .barcts .gear:hover{background:transparent; color:var(--ink);}
.dash .barcts .gear[aria-current="page"]{background:transparent; color:var(--ink); font-weight:600;}
.dash .barcts .gear svg{width:16px; height:16px; flex:none;}
@media (max-width:620px){.dash .barcts .gear{padding:8px 9px;} .dash .barcts .gear span{display:none;}}
@media (max-width:560px){
  .dash .barcts{padding-left:8px; gap:6px;}
  .dash .barcts .btn{padding:6px 10px; font-size:12px;}
}

/* ── The prototype's own state (11.766) ────────────────────────────────────────────────────────
   design/control-centre.html marks the chosen thing with --haze and its ink, and lifts a card with
   --sh-raise. Both existed in the design from the start and neither had been carried into the build,
   which is why the states here were invented, and why they looked it. */

/* The Everything dropdown's selected name keeps the prototype's haze, which is wanted (11.768). */
.dash .nav .pml.flat[aria-current="page"],
.dash .nav .pml[aria-current="page"],

.dash .nav .pml.flat[aria-current="page"] b{font-weight:600; color:var(--haze-ink);}
.dash .nav .pml.flat[aria-current="page"] .c{color:var(--haze-ink); opacity:.75;}

/* Hovered: the row takes a breath rather than turning grey. */
.dash .setl li, .dash .nav .pml{transition:background .13s ease, box-shadow .13s ease, transform .13s ease;}
.dash .setl li:hover, .dash .nav .pml:hover{background:var(--sunk);}
.dash .nav .pml.flat[aria-current="page"]:hover{background:var(--haze);}

/* A card is raised, not outlined flat against the page. */
.dash .setl, .dash .pmega{box-shadow:var(--sh-raise);}

/* The tiles sit still (11.768): the lift was mine to try and his to reject. */

/* A mouse click leaves focus on a button, and the ring was staying put. Keyboard only. */
.dash button:focus:not(:focus-visible){outline:none;}

.dash .btn{box-shadow:var(--sh-rest); transition:border-color .13s ease, background .13s ease, box-shadow .13s ease, transform .13s ease;}
.dash .btn:hover{background:var(--sunk); border-color:var(--ink-2);}
.dash .btn:active{transform:translateY(1px);}

/* Every action in a row is the same object at two weights (11.763). Gray, 24/09/2026, of a boxed button beside an
   underlined link: "Do you think this is consistent design????????" It was not: two different objects doing the
   same job, sitting on different baselines. A quiet action is the same button with its border held back until it
   is wanted, so the row reads as a set and the primary still leads. */
.dash .btn.ghost{background:transparent; border-color:transparent; color:var(--ink-2); box-shadow:none;}
.dash .btn.ghost:hover{background:var(--sunk); border-color:var(--line); color:var(--ink);}
.dash .setacts{gap:8px;}

/* A row's action is small and quiet until the row is wanted, so a list of twenty does not read as twenty buttons. */
.dash .setl .ctl .btn{font-size:12.5px; padding:5px 11px;}
.dash .setl li:hover .ctl .btn.ghost{border-color:var(--line);}

/* Settings tabs stay the bar's own tab (11.768): a card on the line it is drawn against, as the top navigation
   marks the page you are on. Only the Everything dropdown keeps its haze, which is wanted. */
.dash .setnav{gap:1px; margin:0 0 30px;}
.dash .setnav button{border:1px solid transparent; transition:color .13s ease;}
.dash .setnav button:hover{color:var(--ink);}
.dash .view .setlede{margin:0 0 18px;}
.dash .setl li{padding:15px 18px;}
.dash .setl .n{font-size:14px;}
.dash .sub-h{margin-top:34px;}
.dash .setnav + .sub-h, .dash .view > .sub-h:first-of-type{margin-top:0;}

/* A state module reads as one thing: a fraction, a bar, then only what needs her (11.774). */
.dash .standing{margin:0 0 30px;}
.dash .standing .meter{height:3px; background:var(--line); margin:0 0 16px; overflow:hidden;}
.dash .standing .meter i{display:block; height:3px; background:var(--ink); transition:width .3s ease;}
/* A row's parts belong to the row, not to one page that happens to use it (11.781): scoped to .standing, the
   chip had no style on the findings page and ran straight into the name: "Childcare subsidyNot watched yet". */
.dash .setl .n{display:flex; flex-wrap:wrap; align-items:baseline; gap:10px;}
.dash .setl .st{font-size:10.5px; letter-spacing:.08em; text-transform:uppercase; font-weight:600; color:var(--muted); background:var(--sunk); border:0; padding:3px 9px; white-space:nowrap;}
.dash .setl .st-missing .st, .dash .setl .st-expired .st, .dash .setl .st-too_old .st{background:var(--bad-bg); color:var(--bad-ink);}
.dash .setl .st-expiring .st{background:var(--warn-bg); color:var(--warn-ink);}
.dash .setl .st-not_applicable{opacity:.55;}

/* Is the mail still being read (11.777): the same pulse the first read shows, kept on afterwards, and still
   when it has stopped, because a connection that has quietly stalled is the thing she most needs told. */
.dash .sub .pulse-line{display:inline-flex; align-items:center; gap:7px; color:var(--muted);}
.dash .sub .pulse-line i{width:6px; height:6px; flex:none; background:#12563C; border-radius:50%; animation:vbeat 2.4s ease-in-out infinite;}
/* Only a real stall is coloured, and even then it is ink rather than alarm: a mailbox that has gone quiet for
   half an hour is worth saying, not worth shouting (11.789). */
.dash .sub .pulse-line.off{color:var(--ink-2);}
.dash .sub .pulse-line.off i{background:var(--muted); animation:none;}
@keyframes vbeat{0%,100%{opacity:1;} 50%{opacity:.35;}}
@media (prefers-reduced-motion: reduce){.dash .sub .pulse-line i{animation:none;}}

/* The second surface (11.779): the same row and the same grammar as standing, so the two read as one system.
   Watching, waiting on something named, and no rule yet: three states, three tints (11.795). */
.dash .ents2 .st-watching .st{background:var(--ok-bg); color:var(--ok-ink);}
.dash .ents2 .st-needs .st{background:var(--haze); color:var(--haze-ink);}
.dash .ents2 .st-no_rule{opacity:.62;}
.dash .ents2 .st-no_rule .st{background:var(--sunk); color:var(--muted);}

/* ── The state band (11.780) ───────────────────────────────────────────────────────────────────
   design/control-centre.html: "Two columns so the whole thing sits in one screen", and three
   surfaces used consistently so sections stop blending. These are the white card, which is the
   surface for where she acts. Each is one number, one bar and one line: the rows are the page
   behind it, because an overview carries the few numbers needing attention and not the lists. */
.dash .state{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px;}
.dash .state:has(.scard:only-child){grid-template-columns:minmax(0,1fr);}
.dash .scard{
  display:flex; flex-direction:column; gap:9px; align-items:stretch; text-align:left;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-rest);
  padding:14px 16px 15px; min-width:0;
  transition:border-color .13s ease, box-shadow .13s ease, transform .13s ease;
}
.dash .scard:hover{border-color:var(--ink-2); box-shadow:var(--sh-raise); transform:translateY(-1px);}
.dash .scard:active{transform:none; box-shadow:var(--sh-rest);}
.dash .scard .sh{
  display:flex; align-items:baseline; gap:10px;
  font-size:10.5px; letter-spacing:.13em; text-transform:uppercase; color:var(--ink-2); font-weight:600;
}
/* The number is the point of the card, so it carries the weight the heading does not. */
.dash .scard .sn{margin-left:auto; font-family:var(--f-display,inherit); font-size:20px; letter-spacing:-.02em;
  color:var(--ink); font-weight:600; font-variant-numeric:tabular-nums; text-transform:none;}
.dash .scard .sn i{font-style:normal; font-size:13px; color:var(--muted); font-weight:500;}
.dash .scard .meter{display:block; height:3px; background:var(--line); overflow:hidden;}
.dash .scard .meter i{display:block; height:3px; background:var(--ink); transition:width .3s ease;}
.dash .scard .sl{font-size:12.5px; line-height:1.45; color:var(--muted); min-height:2.9em;}
@media (max-width:760px){.dash .state{grid-template-columns:minmax(0,1fr);} .dash .scard .sl{min-height:0;}}

/* The rating is the design's own switch (11.781), not four links with the chosen one as a black slab. */
.dash .fr{margin:12px 0 0;}
.dash .fr .seg button{padding:5px 12px; font-size:12px;}

/* A cited document is a chip on one line, not a full-width row with a rule under it (11.782). `.recs li button`
   is a grid row with a border-bottom, and these are buttons inside `.recs li`, so each cited document was drawing
   its own dividing line. Gray: "Too many dividing lines here". */
.dash .recs.findings .fm .cite{
  display:inline-flex; align-items:baseline; gap:5px; width:auto; padding:2px 8px;
  border:1px solid var(--line-2); border-bottom:1px solid var(--line-2); background:var(--surface);
  font-size:12px; color:var(--ink-2); text-align:left;
}
.dash .recs.findings .fm .cite:hover{border-color:var(--ink-2); color:var(--ink);}
.dash .recs.findings .fm .cite i{font-style:normal; color:var(--muted); font-variant-numeric:tabular-nums;}
.dash .recs.findings .fr{margin-top:10px;}

/* Her record (11.812): the document a figure came from is a link, not a chip, so a row stays one line. Documents
   Vaile looked at and did not use open under the row, each with the reason. */
.dash .fieldl.rec .cite{display:inline; width:auto; padding:0; border:0; background:none; font:inherit; color:var(--ink-2); text-decoration:underline; text-underline-offset:2px; text-align:left; cursor:pointer;}
.dash .fieldl.rec .cite:hover{color:var(--ink);}
.dash .fieldl.rec .cite.warn{color:var(--warn-ink);}
.dash .fieldl.rec .turned{grid-column:1 / -1; margin:6px 0 2px; padding:0; list-style:none; font-size:13px; color:var(--muted);}
.dash .fieldl.rec .turned li{padding:3px 0; border:0; display:block;}

/* Her own Vaile address (11.786): an address is read and typed, so it is set in the mono face at a size that can
   be read off a screen, with one button beside it. */
.dash .addr{display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px; margin:0 0 10px;}
.dash .addr code{font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:14px; color:var(--ink);
  background:var(--surface); border:1px solid var(--line); padding:9px 13px; user-select:all; word-break:break-all;}
/* The other way a document gets in (11.788): under the bar's own line, aligned with the button it belongs with,
   quiet, and the whole thing copies on a press because an address is only useful somewhere else. */
.dash .addr-bar .in{max-width:1100px; margin:0 auto; padding:7px 24px 0; display:flex; justify-content:flex-end;}
.dash .addr-under{display:flex; align-items:baseline; gap:6px; padding:0; font-size:11.5px; color:var(--muted);}
.dash .addr-under code{font-family:ui-monospace, SFMono-Regular, Menlo, monospace; font-size:11.5px; color:var(--ink-2);}
.dash .addr-under:hover{color:var(--ink-2);}
.dash .addr-under:hover code{color:var(--ink); text-decoration:underline; text-underline-offset:2px;}
@media (max-width:620px){.dash .addr-bar{display:none;}}

/* Three ways in (11.791): the button opens them rather than doing one of them. The menu is the design's raised
   card, sized to its content, under the button it belongs to. */
.dash .addwrap{position:relative; display:inline-flex;}
.dash .addwrap .btn .chev{width:12px; height:12px; margin-left:1px; opacity:.75; transition:transform .13s;}
.dash .addwrap .btn[aria-expanded="true"] .chev{transform:rotate(180deg);}
.dash .addmenu{
  position:absolute; right:0; top:100%; margin-top:5px; z-index:30; min-width:max-content;
  background:var(--surface); border:1px solid var(--line); box-shadow:var(--sh-raise); padding:5px;
}
.dash .addmenu button{display:block; width:100%; text-align:left; padding:9px 12px; transition:background .13s ease;}
.dash .addmenu button:hover{background:var(--sunk);}
.dash .addmenu b{display:block; font-size:13px; font-weight:500; color:var(--ink);}
.dash .addmenu small{display:block; font-size:11.5px; color:var(--muted); margin-top:1px;}

/* The camera, as a sheet over the page (11.793): what it sees, at the size of the sheet, and one button. */
.dash .sheet.cam video{display:block; width:100%; max-height:62vh; background:#101214; object-fit:contain;}
.dash .sheet.cam .setacts{margin:14px 0 0;}
/* The dismiss on an insight sits with the sentence, as it does on every other thing Vaile surfaces. */
.dash .recs.findings .ft{position:relative; padding-right:26px;}
.dash .recs.findings .ft .x{position:absolute; right:0; top:0; color:var(--muted); padding:0 4px; line-height:1.4;}
.dash .recs.findings .ft .x:hover{color:var(--ink);}
.dash .recs.findings .why{font-size:12.5px; color:var(--ink-2); margin-right:10px;}
/* What a figure is for, where its name alone does not say (11.812). Gray, of "Whether the family thresholds apply":
   "anything like this needs a description otherwise its just random noise". */
.dash .fieldl.rec .n .help{display:block; margin-top:2px; font-size:12.5px; font-weight:400; line-height:1.45; color:var(--muted);}

/* One card per topic (11.814): the rule, the answer, her figures, what would change it. Two across on a wide
   screen, one on a phone. The answer is the one bold line; everything else is quieter. */
.dash .topics{display:grid; grid-template-columns:repeat(auto-fill, minmax(340px, 1fr)); gap:14px; margin:6px 0 30px;}
.dash .topic{background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest); padding:18px 18px 16px; display:flex; flex-direction:column; gap:10px; min-width:0;}
.dash .topic .th{display:flex; align-items:center; gap:10px;}
.dash .topic .th h4{margin:0; font-size:15px; font-weight:600;}
.dash .topic .rule{font-size:13px; line-height:1.5; color:var(--ink-2);}
.dash .topic .rule a{color:var(--muted); font-size:12px; text-underline-offset:2px;}
.dash .topic .ans{font-size:15px; font-weight:600; line-height:1.4; color:var(--ink);}
.dash .topic .more{font-size:13.5px; line-height:1.45; color:var(--ink-2);}
.dash .topic.st-waiting .ans, .dash .topic.st-ask .ans{font-weight:500;}
.dash .topic ul{display:flex; flex-direction:column; gap:6px;}
.dash .topic .finds li{font-size:13px; padding:6px 10px; background:var(--warn-bg); color:var(--warn-ink);}
.dash .topic .whatif li{font-size:13px; line-height:1.45; color:var(--ink-2); padding-left:10px; border-left:2px solid var(--pop);}
.dash .topic .figs{display:flex; flex-direction:column; gap:12px; margin:4px 0 0; padding:14px 16px; background:var(--sunk); border:0; grid-template-columns:none;}   /* the site's own .figs grid leaked in with no padding (Gray, 25/09/2026: "should have some air around it") */
.dash .topic .figs li{display:grid; grid-template-columns:1fr auto; gap:2px 16px; font-size:13px; padding:0; background:none;}
.dash .topic .figs .fl{color:var(--ink-2);}
.dash .topic .figs .fv{font-weight:600; font-variant-numeric:tabular-nums; text-align:right;}
.dash .topic .figs .fs{grid-column:1 / -1; font-size:12px; color:var(--muted); line-height:1.45;}
.dash .topic .cite{display:inline; padding:0; border:0; background:none; font:inherit; color:var(--ink-2); text-decoration:underline; text-underline-offset:2px; cursor:pointer;}
.dash .topic .miss li{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; font-size:13px; color:var(--ink-2);}
.dash .topic .dep{font-size:12px; color:var(--muted);}
.dash .topic .try summary{font-size:13px; color:var(--ink-2); cursor:pointer;}
.dash .topic .tryf{display:grid; grid-template-columns:repeat(auto-fill, minmax(140px, 1fr)); gap:8px; margin:10px 0;}
.dash .topic .tryf label{display:flex; flex-direction:column; gap:4px; font-size:12px; color:var(--muted);}
.dash .topic .tryf input{font:inherit; font-size:13px; padding:7px 9px; border:1px solid var(--line); background:var(--card); color:var(--ink);}
@media (max-width: 720px){.dash .topics{grid-template-columns:1fr;}}
/* One figure's panel (11.815): the ways to add its document, side by side. */
.dash .figadd{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 16px;}
.dash .figadd .btn{flex-direction:column; align-items:flex-start; gap:2px;}
.dash .figadd .btn small{font-size:11.5px; color:var(--muted); font-weight:400;}
.dash .sheet .turned{margin:6px 0 0; padding:0; list-style:none; font-size:13px; color:var(--muted);}
.dash .sheet .turned li{padding:3px 0;}
.dash .sheet .cite{display:inline; padding:0; border:0; background:none; font:inherit; color:var(--ink-2); text-decoration:underline; cursor:pointer;}
/* A card waiting on a document says which, in one line (11.826). */
.dash .topic .wait{font-size:14px; color:var(--ink-2); display:flex; align-items:center; justify-content:space-between; gap:12px;}

.dash .topic .rule .src{margin-left:4px; white-space:nowrap;}

/* The cards by category (11.829): a row of tabs, the open one on the card colour. */
.dash .ctabs{display:flex; flex-wrap:wrap; gap:6px; margin:8px 0 14px;}
.dash .ctabs button{font-size:13px; padding:7px 12px; border:1px solid var(--line); background:var(--card); color:var(--ink-2); display:inline-flex; gap:8px; align-items:baseline;}
.dash .ctabs button span{font-size:11.5px; color:var(--muted); font-variant-numeric:tabular-nums;}
.dash .ctabs button[aria-pressed="true"]{background:var(--ink); color:var(--ground); border-color:var(--ink);}
.dash .ctabs button[aria-pressed="true"] span{color:var(--ground); opacity:.75;}
/* Cards that are not hers are not greyed (11.846: Gray, "Doesn't need to be greyed out"). */
.dash .topic .forwhom{font-size:13px; color:var(--muted);}

/* One row of tabs (11.831): her record, family and documents first, set apart from the card categories. */
.dash .ctabs button.fixed{border-style:dashed;}
.dash .ctabs button.fixed + button:not(.fixed){margin-left:10px;}
/* A card's evidence (11.831): each document, to open, confirm or dismiss. */
.dash .topic .evid{list-style:none; margin:6px 0 0; padding:0; display:flex; flex-direction:column; gap:6px; font-size:12.5px;}
.dash .topic .evid li{display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding-top:6px; border-top:1px solid var(--line);}
.dash .topic .evid .cite{text-align:left;}
.dash .topic .evid .evc{display:inline-flex; gap:10px; white-space:nowrap;}
.dash .topic .evid .st{color:var(--muted);}
.dash .topic .evid li.ok .st{color:var(--ink-2);}
.dash .topic .evid li.out .cite{text-decoration:line-through; color:var(--muted);}
.dash .topic .evid li.off .cite{color:var(--muted);}

/* Two navigations (11.832): the record's own, as underlined text; the card categories below, as chips in their own section. */
.dash .ptabs{display:flex; flex-wrap:wrap; gap:4px 26px; margin:6px 0 18px; border-bottom:1px solid var(--line);}
.dash .ptabs button{background:none; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; padding:8px 0 10px; font-size:14px; color:var(--ink-2); display:inline-flex; gap:8px; align-items:baseline; cursor:pointer;}
.dash .ptabs button span{font-size:12px; color:var(--muted); font-variant-numeric:tabular-nums;}
.dash .ptabs button[aria-pressed="true"]{color:var(--ink); border-bottom-color:var(--ink); font-weight:600;}
.dash .cardsec{margin-top:26px; padding-top:18px; border-top:1px solid var(--line);}
.dash .cardsec > .sub-h{margin-top:0;}
/* A card's evidence in two lists (11.832): what is counted with its totals, then what is not. */
.dash .topic .evh{margin:10px 0 0; font-size:12px; font-weight:600; color:var(--ink-2); display:flex; justify-content:space-between; gap:12px;}
.dash .topic .evh span{font-weight:600; font-variant-numeric:tabular-nums; color:var(--ink);}

/* The record's figures in one column (11.832). Gray, 25/09/2026: "The data points should all be neatly aligned --- and
   change button should not push everything out of alignment". The value takes the first column, right-aligned; Change
   has a column of its own, kept empty where there is nothing to change. */
.dash .fieldl.rec > li > .ctl{display:grid; grid-template-columns:auto 64px; align-items:baseline; column-gap:14px; justify-items:end;}
.dash .fieldl.rec > li > .ctl .fval{grid-column:1;}
.dash .fieldl.rec > li > .ctl .fix{grid-column:2; justify-self:start;}
.dash .fieldl.rec > li > .ctl .fix.use{grid-column:1 / -1; justify-self:end; margin-top:4px;}

/* The card categories directly under the record's tabs, always in view (11.832). */
.dash .cardnav{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap; margin:-4px 0 22px;}
.dash .cardnav .lbl{font-size:11.5px; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.dash .cardnav .ctabs{margin:0;}

/* A rule's publisher on its own line, flush with the rule (11.832: "slightly inset which looks odd"). */
.dash .topic .rule .src{display:block; margin:4px 0 0; white-space:normal;}

/* A list's heading (11.833): its name, its totals on their own line, each total kept whole; its action at the right. */
.dash .topic .evh{display:grid; grid-template-columns:1fr auto; align-items:baseline; gap:4px 12px; margin:12px 0 0;}
.dash .topic .evh .nm{font-size:12px; font-weight:600; color:var(--ink-2);}
.dash .topic .evh .fix{grid-column:2; grid-row:1;}
.dash .topic .evh .tots{grid-column:1 / -1; display:flex; flex-wrap:wrap; gap:2px 14px; font-size:13px;}
.dash .topic .evh .tots b{font-weight:600; font-variant-numeric:tabular-nums; white-space:nowrap; color:var(--ink);}
.dash .topic details.claimed{margin-top:4px; font-size:12.5px;}
.dash .topic details.claimed summary{cursor:pointer; color:var(--muted);}

/* + Add another receipt (11.833). */
.dash .topic .addon{margin-top:12px;}
.dash .topic .addpanel{margin-top:8px; display:flex; flex-direction:column; gap:8px;}
.dash .topic .addpanel .ways{display:flex; gap:8px; flex-wrap:wrap;}
.dash .topic .addpanel input[type=search]{font:inherit; font-size:13px; padding:8px 10px; border:1px solid var(--line); background:var(--card); color:var(--ink); width:100%;}
.dash .topic .addpanel .none{color:var(--muted); border-top:0;}

/* A set on a card (11.834): a move or a tax year, named, its lists under it. */
.dash .topic .evset{margin-top:14px; padding-top:12px; border-top:1px solid var(--line);}
.dash .topic .evset:first-of-type{margin-top:10px;}
.dash .topic .evsn{display:flex; align-items:baseline; justify-content:space-between; gap:12px;}
.dash .topic .evsn h5{margin:0; font-size:14px; font-weight:600; color:var(--ink);}
.dash .topic .evsn input{font:inherit; font-size:13px; padding:6px 8px; border:1px solid var(--line); background:var(--card); color:var(--ink); flex:1;}

/* Documents we need: its count in red, as Needs you carries it (11.834). */
.dash .ptabs button span.badge{font-size:10.5px; font-weight:700; color:var(--attn-on); background:var(--attn); padding:1px 6px; align-self:center;}

/* Key figures as banners (11.837): a row of tiles, the figure large, what it is under it. */
.dash .keyfigs{display:grid; grid-template-columns:repeat(auto-fill, minmax(190px, 1fr)); gap:12px; margin:4px 0 22px;}
.dash .keyfigs .kf{display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:14px 16px; background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest); text-align:left; cursor:pointer;}
.dash .keyfigs .kf:hover{border-color:var(--ink-2); box-shadow:var(--sh-raise);}
.dash .keyfigs .kv{font-family:var(--f-display,inherit); font-size:26px; letter-spacing:-.02em; line-height:1; color:var(--ink); font-variant-numeric:tabular-nums;}
.dash .keyfigs .kl{font-size:12.5px; line-height:1.35; color:var(--ink-2);}
.dash .keyfigs .kf.need .badge{font-family:var(--f-ui); font-size:15px; padding:2px 9px;}

/* Each card its own height (11.837: Gray, "cards should stay their own height - not extend to align with ones that are longer"). */
.dash .topics{align-items:start;}

/* A card's extra lines are text, not the site's "more" link (11.837): no underline, no 32px gap, no bold. */
.dash .topic .more{display:block; margin-top:6px; font-weight:400; text-decoration:none;}

/* One header across the sub-pages (11.838): no rule under the title, as on Your affairs. */
.dash .phead{border-bottom:0; padding-bottom:0; margin-bottom:6px;}
/* Who a pack is for, and as what: spaced items, a picker only as wide as a name. */
.dash .credfor{display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 18px; margin:0 0 12px; font-size:13.5px; color:var(--ink-2);}
.dash .credfor select{width:auto; max-width:260px; font:inherit; padding:6px 10px; border:1px solid var(--line); background:var(--card); color:var(--ink);}
/* A button after a list sits clear of it, the same everywhere (11.838). */
.dash .more-mail{margin:18px 0 12px;}
.dash .topics.one{grid-template-columns:minmax(0, 560px);}

/* A folder row's Archive (11.841): quiet, at the row's end. */
.dash .pick .fix.archive{align-self:center; margin-left:8px; font-size:12px; color:var(--muted); white-space:nowrap;}

/* The site's calculators in Your affairs (11.842): their own markup and styles, two across, each its own height. */
.dash .vwidgets{margin-top:10px;}
.dash .vwgrid{display:grid; grid-template-columns:repeat(auto-fill, minmax(420px, 1fr)); gap:14px; align-items:start;}
@media (max-width: 720px){.dash .vwgrid{grid-template-columns:1fr;}}
.dash .vw > article.chk, .dash .vw > .tool{margin:0; background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest); padding:18px;}

/* Masonry (11.843): items sit at their own height; the script sets each one's row span. */
.dash .topics > .topic, .dash .vwgrid > .vw{align-self:start;}

/* Archive, quiet (11.843): small and muted, never in the main line of a list. */
.dash .quietact{margin:-6px 0 12px; font-size:12px;}
.dash .quietact .fix, .dash .fix.quiet{color:var(--muted); font-size:12px;}

/* Calculator cards (11.844): the cards' own figures list, with each figure editable in place. */
.dash .topic.calc .figs li{align-items:center;}
.dash .topic.calc .figs .fv input, .dash .topic.calc .figs .fv select{font:inherit; font-weight:600; color:var(--ink); background:transparent; border:0; border-bottom:1px solid var(--line); padding:2px 0; text-align:right; max-width:13em; min-width:0; font-variant-numeric:tabular-nums;}
.dash .topic.calc .figs .fv select{text-align:left; cursor:pointer;}
.dash .topic.calc .figs .fv input:focus, .dash .topic.calc .figs .fv select:focus{outline:none; border-bottom-color:var(--ink);}
.dash .topic.calc .figs .fv input[type=checkbox]{width:auto;}
.dash .topic.calc .cblock{margin:4px 0 0; padding:0;}
.dash .topic.calc .cfigs{display:flex; flex-direction:column; gap:8px;}
.dash .topic.calc .cfigs > div{display:grid; grid-template-columns:1fr auto; gap:0 16px; font-size:13px;}
.dash .topic.calc .cfigs dt{color:var(--ink-2);}
.dash .topic.calc .cfigs dd{margin:0; font-weight:600; text-align:right;}
.dash .topic.calc .cfigs dd small{display:block; font-weight:400; font-size:12px; color:var(--muted);}
.dash .topic.calc .figs li{grid-template-columns:minmax(0, 1fr) minmax(0, 62%);}
.dash .topic.calc .figs .fv select{max-width:100%; width:100%; text-overflow:ellipsis;}
.dash .topic.calc .figs.top{margin:2px 0 4px;}

/* Your affairs in bands (11.847): answers in full; waiting, tools and other people's cards one line each. */
.dash .band{margin-top:30px;}
.dash .band:first-of-type{margin-top:4px;}
.dash .band .sub-h{margin:0 0 12px;}
.dash .bandfold{all:unset; cursor:pointer; display:inline-flex; gap:8px; align-items:baseline;}
.dash .bandfold::after{content:'\25BE'; font-size:11px; color:var(--muted);}
.dash .bandfold[aria-expanded="true"]::after{content:'\25B4';}
.dash .blines{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fill, minmax(420px, 1fr)); gap:8px 14px;}
@media (max-width: 720px){.dash .blines, .dash .tools{grid-template-columns:1fr;}}
.dash .blines li, .dash .calcline{display:flex; align-items:center; gap:12px; background:var(--card); border:1px solid var(--line); padding:12px 16px; margin:0;}
.dash .blines li.open{border-color:var(--ink);}
.dash .bl{all:unset; cursor:pointer; flex:1; min-width:0; display:flex; flex-direction:column; gap:3px;}
.dash .bl .bt{font-size:14.5px; font-weight:500; color:var(--ink); line-height:1.35;}
.dash .bl .bs{font-size:13px; color:var(--ink-2); line-height:1.4; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.dash .bl:hover .bt, .dash .bl:focus-visible .bt{text-decoration:underline;}
.dash .band .blines + .topics{margin-top:14px;}
.dash .tools{display:grid; grid-template-columns:repeat(auto-fill, minmax(420px, 1fr)); gap:14px; align-items:start;}
.dash .tools > .topic.calc{grid-column:1 / -1;}
.dash .topic.calc .th{display:flex; align-items:center; gap:12px;}
.dash .topic.calc .th .fold{margin-left:auto;}
.dash .topic.calc .cfold summary{cursor:pointer; font-size:13.5px; color:var(--ink-2); padding:4px 0;}

/* What a tool does and what it gives back (11.848), under its title. */
.dash .topic.calc .what{font-size:13.5px; line-height:1.45; color:var(--ink-2); margin:0;}

/* A card's connective tissue (11.849): what it joins, what the next document starts, what else it moves. */
.dash .topic .chain{list-style:none; margin:6px 0 0; padding:12px 16px; background:var(--sunk); display:flex; flex-direction:column; gap:8px;}
.dash .topic .chain li{display:grid; grid-template-columns:minmax(0, 1fr) auto; gap:0 16px; font-size:13px; align-items:baseline;}
.dash .topic .chain .cl{color:var(--ink); padding-left:16px; position:relative;}
.dash .topic .chain .cl::before{content:''; position:absolute; left:0; top:.45em; width:8px; height:8px; border-radius:50%; border:1.5px solid var(--ink-2);}
.dash .topic .chain li.have .cl::before{background:var(--ink); border-color:var(--ink);}
.dash .topic .chain .cf{color:var(--muted); text-align:right; font-size:12.5px;}
.dash .topic .chain li.not .cf{color:var(--ink-2);}
.dash .topic .unlock{font-size:14px; line-height:1.45; color:var(--ink); display:flex; gap:12px; align-items:baseline; justify-content:space-between; border-left:2px solid var(--ink); padding-left:12px; margin:4px 0 0;}
.dash .topic .rel{margin:0; font-size:13.5px;}
.dash .topic .rel .cite{text-align:left;}
.dash .topic .cardtools{margin-top:4px;}
.dash .topic .cardtools .calcline{background:var(--ground);}
.dash .unlocks .bl.static{cursor:default;}
.dash .unlocks .bs .cite{font-size:13px;}

/* The feature card (11.850): one figure, what it is built from, one action, then its links. Salary packaging first. */
.dash .topics > .topic.hero{grid-column:1 / -1; display:grid; grid-template-columns:minmax(0, 1.45fr) minmax(0, 1fr); gap:0; padding:0; overflow:hidden;}
.dash .topic.hero .hmain{padding:26px 28px 22px; display:flex; flex-direction:column; gap:10px;}
.dash .topic.hero .th h4{font-size:14px; font-weight:500; color:var(--ink-2);}
.dash .topic.hero .hfig{display:flex; flex-direction:column; gap:4px; margin:10px 0 4px;}
.dash .topic.hero .hv{font-family:var(--f-display); font-size:52px; line-height:1; letter-spacing:-.025em; color:var(--ink); font-variant-numeric:tabular-nums;}
.dash .topic.hero .hl{font-size:13px; color:var(--muted);}
.dash .topic.hero .hans{font-size:15.5px; line-height:1.5; color:var(--ink); margin:0; max-width:46ch;}
.dash .topic.hero .hmore{font-size:13.5px; line-height:1.5; color:var(--ink-2); margin:0; max-width:52ch;}
.dash .topic.hero .hside{background:var(--sunk); padding:26px 24px 24px; display:flex; flex-direction:column; gap:14px;}
.dash .topic.hero .hk{font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); margin:0;}
.dash .topic.hero .hchain{margin:0; display:flex; flex-direction:column;}
.dash .topic.hero .hchain > div{display:flex; justify-content:space-between; gap:14px; padding:9px 0; border-top:1px solid var(--line); font-size:13px;}
.dash .topic.hero .hchain > div:first-child{border-top:0; padding-top:0;}
.dash .topic.hero .hchain dt{color:var(--ink); font-weight:500;}
.dash .topic.hero .hchain dd{margin:0; color:var(--ink-2); text-align:right;}
.dash .topic.hero .hchain .not dt{color:var(--muted); font-weight:400;}
.dash .topic.hero .hchain .not dd{color:var(--muted);}
.dash .topic.hero .quiet{all:unset; cursor:pointer; color:var(--ink-2);}
.dash .topic.hero .quiet:hover{color:var(--ink);}
.dash .topic.hero .hunlock{margin-top:auto; display:flex; flex-direction:column; gap:12px; padding-top:16px; border-top:1px solid var(--line);}
.dash .topic.hero .hunlock p{margin:0; font-size:13.5px; line-height:1.5; color:var(--ink);}
.dash .btn.solid{background:var(--ink); color:var(--card); border-color:var(--ink); padding:10px 16px; font-weight:500; align-self:flex-start;}
.dash .btn.solid:hover{opacity:.88;}
.dash .topic.hero .hlinks{grid-column:1 / -1; display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); border-top:1px solid var(--line);}
.dash .topic.hero .hlink{all:unset; cursor:pointer; display:grid; grid-template-columns:1fr auto; gap:4px 16px; padding:16px 28px; border-left:1px solid var(--line);}
.dash .topic.hero .hlink:first-child{border-left:0;}
.dash .topic.hero .hlink:hover{background:var(--ground);}
.dash .topic.hero .hlink .hk{grid-column:1;}
.dash .topic.hero .hlink .ht{grid-column:1; font-size:14px; line-height:1.4; color:var(--ink);}
.dash .topic.hero .hlink .ha{grid-column:2; grid-row:1 / span 2; align-self:center; font-size:16px; color:var(--ink-2);}
.dash .topic.hero .htool{grid-column:1 / -1; border-top:1px solid var(--line); padding:6px 16px 16px; background:var(--ground);}
.dash .topic.hero .htool > .topic{box-shadow:none;}
.dash .topic.hero .hfoot{grid-column:1 / -1; margin:0; padding:12px 28px 14px; border-top:1px solid var(--line); font-size:12px; line-height:1.5; color:var(--muted);}
.dash .topic.hero .hfoot a{color:var(--ink-2); text-decoration:none;}
.dash .topic.hero .hfoot a:hover{color:var(--ink);}
@media (max-width: 860px){
  .dash .topics > .topic.hero{grid-template-columns:1fr;}
  .dash .topic.hero .hmain, .dash .topic.hero .hside{padding:20px;}
  .dash .topic.hero .hv{font-size:42px;}
  .dash .topic.hero .hlink{border-left:0; border-top:1px solid var(--line); padding:14px 20px;}
  .dash .topic.hero .hlink:first-child{border-top:0;}
}
/* Add next (11.850): each missing document as a tile with what it opens across Vaile. */
.dash .unlocks .utiles{display:grid; grid-template-columns:repeat(auto-fill, minmax(250px, 1fr)); gap:14px;}
.dash .unlocks .utile{all:unset; cursor:pointer; display:flex; flex-direction:column; gap:8px; padding:18px 20px; background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest);}
.dash .unlocks .utile:hover{border-color:var(--ink-2); box-shadow:var(--sh-raise);}
.dash .unlocks .ud{font-size:14px; font-weight:500; color:var(--ink);}
.dash .unlocks .un{font-family:var(--f-display); font-size:32px; line-height:1; letter-spacing:-.02em; color:var(--ink); display:flex; align-items:baseline; gap:8px;}
.dash .unlocks .un small{font-family:var(--f-ui); font-size:12.5px; color:var(--muted); letter-spacing:0;}
.dash .unlocks .ua{font-size:12.5px; line-height:1.45; color:var(--ink-2);}
/* One grid, top to bottom (11.851): Gray, "the BUILT FROM section is a weird width compared to the strips below". The
   strip takes the card's own two columns, so the line between the figure and Built from runs straight through it, and
   each cell keeps its column's padding. */
.dash .topic.hero{--hpad-main:28px; --hpad-side:28px;}
.dash .topic.hero .hmain{padding-left:var(--hpad-main); padding-right:var(--hpad-main);}
.dash .topic.hero .hside{padding-left:var(--hpad-side); padding-right:var(--hpad-side);}
.dash .topic.hero .hlinks{grid-template-columns:subgrid;}
.dash .topic.hero .hlink{padding:16px var(--hpad-main);}
.dash .topic.hero .hlink:nth-child(2){padding-left:var(--hpad-side); padding-right:var(--hpad-side);}
.dash .topic.hero .hlink:only-child{grid-column:1 / -1;}
.dash .topic.hero .hfoot{padding-left:var(--hpad-main); padding-right:var(--hpad-main);}
@media (max-width: 860px){
  .dash .topic.hero{--hpad-main:20px; --hpad-side:20px;}
  .dash .topic.hero .hlinks{grid-template-columns:1fr;}
}

/* Unlock more (11.851): the document, then what it gets her. */
.dash .unlocks .ud{font-size:15px; font-weight:600;}
.dash .unlocks .uk{font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase; color:var(--muted); margin-top:4px;}
.dash .unlocks .ug{list-style:none; margin:0; padding:0; display:flex; flex-direction:column;}
.dash .unlocks .ug li{font-size:14px; line-height:1.4; color:var(--ink); padding:7px 0; border-top:1px solid var(--line-2);}
.dash .unlocks .ug li:first-child{border-top:0; padding-top:2px;}
/* One box on the page, the card (11.851). Gray, 25/09/2026: "cards and cards and tabs and cards - too much of the same".
   The key figures are an open strip ruled by hairlines, and the category tabs are text, like the record tabs above. */
.dash .keyfigs{display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:0; margin:6px 0 30px; border-top:1px solid var(--line); border-bottom:1px solid var(--line);}
.dash .keyfigs .kf{background:none; border:0; border-left:1px solid var(--line); box-shadow:none; padding:18px 22px 20px;}
.dash .keyfigs .kf:first-child{border-left:0; padding-left:0;}
.dash .keyfigs .kf:hover{background:none; box-shadow:none; border-color:var(--line);}
.dash .keyfigs .kf:hover .kv{text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px;}
.dash .keyfigs .kv{font-size:30px;}
.dash .keyfigs .kl{color:var(--muted);}
.dash .cardnav{margin:0 0 26px; gap:18px; border-bottom:1px solid var(--line);}
.dash .ctabs{gap:0 22px; margin:0;}
.dash .ctabs button{border:0; background:none; padding:10px 0 12px; font-size:14px; color:var(--ink-2); border-bottom:2px solid transparent; margin-bottom:-1px;}
.dash .ctabs button:hover{color:var(--ink);}
.dash .ctabs button[aria-pressed="true"]{background:none; color:var(--ink); border-bottom-color:var(--ink); font-weight:500;}
@media (max-width: 720px){
  .dash .keyfigs{grid-template-columns:1fr 1fr;}
  .dash .keyfigs .kf{padding:14px 14px 16px;}
  .dash .keyfigs .kf:nth-child(odd){border-left:0; padding-left:0;}
  .dash .ctabs{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none;}
}
/* Tighter (11.853): Gray, "Get rid of this and tighten up section". No label over the category tabs; the figure strip
   sits closer to what is round it, with less air inside each figure. */
.dash .keyfigs{margin:0 0 16px;}
.dash .keyfigs .kf{padding:12px 20px 13px; gap:4px;}
.dash .keyfigs .kv{font-size:28px;}
.dash .keyfigs .kl{font-size:12.5px; line-height:1.35;}
.dash .cardnav{margin:0 0 22px;}

/* The feature card, structured (11.853): how the figure works out as a table; what it rests on, each with its figure. */
.dash .topic.hero .hbasis{margin:6px 0 0; font-size:13px; color:var(--ink-2);}
.dash .topic.hero .htab{width:100%; border-collapse:collapse; margin:2px 0 0; font-variant-numeric:tabular-nums;}
.dash .topic.hero .htab th, .dash .topic.hero .htab td{padding:10px 0; border-top:1px solid var(--line); vertical-align:baseline; font-size:14px;}
.dash .topic.hero .htab tr:first-child th, .dash .topic.hero .htab tr:first-child td{border-top:0;}
.dash .topic.hero .htab th{text-align:left; font-weight:400; color:var(--ink);}
.dash .topic.hero .htab th small{display:block; font-size:12px; color:var(--muted); margin-top:2px;}
.dash .topic.hero .htab td{text-align:right; font-weight:500; color:var(--ink); white-space:nowrap; padding-left:16px;}
.dash .topic.hero .htab tr.total th, .dash .topic.hero .htab tr.total td{font-weight:600; border-top:1.5px solid var(--ink);}
.dash .topic.hero .hchain > div{display:grid; grid-template-columns:18px minmax(0, 1fr) auto; gap:0 12px; align-items:baseline; padding:11px 0;}
.dash .topic.hero .hchain .hic{width:16px; height:16px; align-self:start; margin-top:1px; color:var(--ink);}
.dash .topic.hero .hchain .hic svg{width:16px; height:16px; display:block;}
.dash .topic.hero .hchain .not .hic{color:var(--muted);}
.dash .topic.hero .hchain dt small{display:block; font-size:12px; font-weight:400; color:var(--muted); margin-top:2px;}
.dash .topic.hero .hchain dt small .quiet{color:var(--muted);}
.dash .topic.hero .hchain dt small .quiet:hover{color:var(--ink);}
.dash .topic.hero .hchain dd{font-weight:600; color:var(--ink); font-variant-numeric:tabular-nums; white-space:nowrap;}
.dash .topic.hero .hchain .not dd{font-weight:400; color:var(--muted);}
.dash .topic.hero .hlink{grid-template-columns:auto 1fr auto; column-gap:14px;}
.dash .topic.hero .hlink .hi{grid-column:1; grid-row:1 / span 2; align-self:center;}
.dash .topic.hero .hlink .hk, .dash .topic.hero .hlink .ht{grid-column:2;}
.dash .topic.hero .hlink .ha{grid-column:3;}
.dash .topic.hero .hlink .hi .ico{width:30px; height:30px;}
/* The page title's own figure (11.856). Gray, 26/09/2026: "This now feels like it's floating all by itself --- should be
   aligned more neatly so the screen has more balance". It sits on the title's baseline, at the right edge the tabs
   below end on: the count and its words on one line, the bar under them, nothing ruled beneath. */
.dash .phead.bare{display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:18px;}
.dash .phead.bare .pstat{display:grid; grid-template-columns:auto auto; align-items:baseline; justify-content:end; gap:4px 10px; width:220px; margin:0 0 6px; padding:0; border:0;}
.dash .phead.bare .pstat .sn{font-family:var(--f-display); font-size:28px; line-height:1; letter-spacing:-.02em; color:var(--ink);}
.dash .phead.bare .pstat .sn i{font-style:normal; font-size:15px; color:var(--muted); letter-spacing:0;}
.dash .phead.bare .pstat .sl{font-size:12px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); text-align:right;}
.dash .phead.bare .pstat .meter{grid-column:1 / -1; grid-row:2; display:block; height:3px; background:var(--line); border:0; margin:6px 0 0; position:relative;}
.dash .phead.bare .pstat .meter i{display:block; height:100%; background:var(--ink);}
@media (max-width: 720px){ .dash .phead.bare{flex-direction:column; align-items:stretch;} .dash .phead.bare .pstat{width:auto; justify-content:start;} }

/* Unlock more as one panel (11.856), in the feature card's language. */
.dash .unlocks .upanel{display:grid; grid-template-columns:minmax(200px, .9fr) repeat(var(--ucols, 2), minmax(0, 1fr)); background:var(--card); border:1px solid var(--line); box-shadow:var(--sh-rest);}
.dash .unlocks .ulead{background:var(--sunk); padding:24px 26px; display:flex; flex-direction:column; gap:8px;}
.dash .unlocks .ulead h3{margin:0; font-family:var(--f-display); font-weight:420; font-size:26px; line-height:1.1; letter-spacing:-.01em; color:var(--ink);}
.dash .unlocks .ulead p{margin:0; font-size:13.5px; line-height:1.5; color:var(--ink-2); max-width:24ch;}
.dash .unlocks .ucol{display:flex; flex-direction:column; gap:12px; padding:24px 26px; border-left:1px solid var(--line);}
.dash .unlocks .ucol:nth-child(2){border-left:0;}
.dash .unlocks .uico .ico{width:34px; height:34px;}
.dash .unlocks .ucol h4{margin:0; font-size:15.5px; font-weight:600; color:var(--ink);}
.dash .unlocks .ug{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px;}
.dash .unlocks .ug li{display:grid; grid-template-columns:14px 1fr; gap:10px; align-items:baseline; font-size:14px; line-height:1.4; color:var(--ink); padding:0; border:0;}
.dash .unlocks .ug .um svg{width:12px; height:12px; display:block; color:var(--ink-2); transform:translateY(1px);}
.dash .unlocks .ucol .btn{margin-top:auto; align-self:flex-start;}
@media (max-width: 860px){
  .dash .unlocks .upanel{grid-template-columns:1fr;}
  .dash .unlocks .ucol{border-left:0; border-top:1px solid var(--line);}
}

/* The strip's links centred (11.858): Gray, "Need centering". Icon, words and arrow on one centre line. */
.dash .topic.hero .hlink{display:flex; align-items:center; gap:16px;}
.dash .topic.hero .hlink .htx{display:flex; flex-direction:column; gap:4px; flex:1; min-width:0;}
.dash .topic.hero .hlink .hi, .dash .topic.hero .hlink .ha{flex:none; align-self:center;}
.dash .topic.hero .hlink .hi{display:flex; align-items:center; justify-content:center;}

/* One reveal (11.858): placeholders in the final shape, then the sections fade in together. */
.dash .skel .skrow{display:flex; align-items:center; gap:14px; min-height:56px;}
.dash .skel .skrow i{display:block; height:12px; background:linear-gradient(90deg, var(--sunk) 0%, var(--line-2) 50%, var(--sunk) 100%); background-size:200% 100%; animation:vshimmer 1.4s ease-in-out infinite;}
.dash .skel .skb{width:30px; height:30px !important;}
.dash .skel .skl{flex:1; max-width:52%;}
.dash .skel .skw{width:84px; margin-left:auto;}
.dash .skel .skd{width:70px;}
.dash .skel .soon .skrow{min-height:34px;}
@keyframes vshimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
.dash .reveal{animation:vreveal .32s ease-out both;}
@keyframes vreveal{from{opacity:0; transform:translateY(4px)}to{opacity:1; transform:none}}
@media (prefers-reduced-motion: reduce){ .dash .skel .skrow i, .dash .reveal{animation:none;} }

.dash .skaffairs{display:flex; flex-direction:column; gap:16px; margin-top:6px;}
.dash .skaffairs .skcard{display:block; height:300px; border:1px solid var(--line); background:linear-gradient(90deg, var(--card) 0%, var(--sunk) 50%, var(--card) 100%); background-size:200% 100%; animation:vshimmer 1.6s ease-in-out infinite;}
.dash .skaffairs .skcard.short{height:150px;}

/* Three or more links share the strip evenly (11.859): Gray's screenshot left one alone on a second row. Hairlines drawn
   by the gap, so every cell is ruled the same whichever row it lands on. */
.dash .topic.hero .hlinks.many{grid-template-columns:repeat(var(--nl, 3), minmax(0, 1fr)); gap:1px; background:var(--line);}
.dash .topic.hero .hlinks.many .hlink{border-left:0; background:var(--card); padding-left:28px; padding-right:28px;}
.dash .topic.hero .hlinks.many .hlink:hover{background:var(--ground);}
@media (max-width: 860px){ .dash .topic.hero .hlinks.many{grid-template-columns:1fr;} }
/* Add sits bottom right of each column (11.860: Gray, "Add buttons would look better positioned to the right bottom
   side of each card"), level across the panel because every column pushes it to its foot. */
.dash .unlocks .ucol .btn{align-self:flex-end;}

/* The documents behind a feature card (11.861), full width under its two halves. */
.dash .topic.hero .hevid{grid-column:1 / -1; border-top:1px solid var(--line); padding:0 28px;}
.dash .topic.hero .hevid[open]{padding-bottom:20px;}
.dash .topic.hero .hevid[open] > :not(summary){margin-top:10px;}
.dash .topic.hero .hevid > summary{list-style:none; cursor:pointer; padding:16px 0; display:flex; align-items:center; justify-content:space-between;}
.dash .topic.hero .hevid > summary::-webkit-details-marker{display:none;}
.dash .topic.hero .hevid > summary .hk{margin:0;}
.dash .topic.hero .hevid > summary::after{content:''; width:8px; height:8px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); margin:-4px 4px 0 0; transition:transform .15s;}
.dash .topic.hero .hevid[open] > summary::after{transform:rotate(-135deg); margin-top:4px;}
.dash .topic.hero .hevid .evset{margin:0;}
/* The same on every other card (11.866): closed until opened, headed by what the documents are. */
.dash .topic .cevid{border-top:1px solid var(--line); margin-top:14px;}
.dash .topic .cevid > summary{list-style:none; cursor:pointer; padding:12px 0; display:flex; align-items:center; justify-content:space-between;}
.dash .topic .cevid > summary::-webkit-details-marker{display:none;}
.dash .topic .cevid > summary h5{margin:0; font-size:12px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);}
.dash .topic .cevid > summary::after{content:''; width:8px; height:8px; border-right:1.5px solid var(--muted); border-bottom:1.5px solid var(--muted); transform:rotate(45deg); margin:-4px 4px 0 0; transition:transform .15s;}
.dash .topic .cevid[open] > summary::after{transform:rotate(-135deg); margin-top:4px;}
.dash .topic .cevid[open]{padding-bottom:6px;}
.dash .topic.hero .hchain .fixbtn{margin-left:10px; font-size:12px; font-weight:400; color:var(--muted); text-decoration:underline; text-underline-offset:3px;}
.dash .topic.hero .hchain .fixin{width:6em; font:inherit; font-weight:600; border:0; border-bottom:1px solid var(--ink); background:transparent; text-align:right; padding:0 2px;}
/* Both cells of a strip the same shape (11.862): Gray, "These strips still havent been balanced - it looks lopsided".
   Every link's icon is the same 34px tile, the words start at the same place, the arrow sits the same distance in. */
.dash .topic.hero .hlink .hi{width:34px; height:34px;}
.dash .topic.hero .hlink .hi .ico{width:34px; height:34px; display:flex; align-items:center; justify-content:center;}
.dash .topic.hero .hlink .ha{width:16px; text-align:center;}
.dash .unlocks .uread{margin:-4px 0 2px; font-size:12.5px; line-height:1.45; color:var(--muted);}

/* A tab's own documents (11.867): one panel, a row per kind, held or to add. */
.dash .dsuite .dsl{list-style:none; margin:0; padding:0; background:var(--surface); border:1px solid var(--line);}
.dash .dsuite .dsl > li{border-top:1px solid var(--line); padding:14px 22px;}
.dash .dsuite .dsl > li:first-child{border-top:0;}
.dash .dsuite .dsr{display:grid; grid-template-columns:28px 1fr auto; gap:14px; align-items:center;}
.dash .dsuite .dsm{width:24px; height:24px; border-radius:50%; display:grid; place-items:center; font-size:13px; line-height:1; border:1.5px solid var(--line); color:var(--muted);}
.dash .dsuite li.held .dsm{border-color:transparent; background:var(--ink); color:var(--surface);}
.dash .dsuite .dst{display:flex; flex-direction:column; gap:2px; min-width:0;}
.dash .dsuite .dst b{font-weight:600;}
.dash .dsuite .dst small{color:var(--muted); font-size:13px;}
.dash .dsuite .dsc{display:flex; gap:16px; align-items:center; justify-content:flex-end; white-space:nowrap;}
.dash .dsuite .dsd{list-style:none; margin:10px 0 0 42px; padding:0;}
.dash .dsuite .dsd li{display:flex; justify-content:space-between; gap:12px; padding:6px 0; border-top:1px solid var(--line); font-size:14px;}
.dash .dsuite .dsa{margin:12px 0 0 42px; display:flex; flex-wrap:wrap; gap:10px; align-items:center;}
.dash .dsuite .dsa input{flex:1 1 220px; min-width:0;}
.dash .dsuite .dsa .dsd{flex-basis:100%; margin-left:0;}
@media (max-width:640px){
  .dash .dsuite .dsl > li{padding:12px 14px;}
  .dash .dsuite .dsr{grid-template-columns:24px 1fr; }
  .dash .dsuite .dsc{grid-column:2; justify-content:flex-start;}
  .dash .dsuite .dsd, .dash .dsuite .dsa{margin-left:0;}
}
