:root {
    --page: #e0dfdb;       /* warm grey page */
    --shell: #faf9f6;      /* floating off-white app shell */
    --card: #ffffff;
    --sub: #f6f5f1;
    --sub-2: #eeede8;
    --ink: #221f1b;        /* warm near-black */
    --ink-2: #6b6860;
    --ink-3: #9a978e;
    --ink-4: #c2bfb6;
    --line: #edece7;
    --hair: #f3f2ee;

    --brand: #ef5f3c;      /* coral — primary accent */
    --brand-2: #f47a5b;
    --brand-grad: linear-gradient(140deg, #f4713f, #ec5730);
    --brand-bg: #fceae3;
    --brand-ink: #c1481f;

    --sys: #5a5ce0;        /* system-created */
    --sys-grad: linear-gradient(140deg, #6f70e8, #5153dd);
    --sys-bg: #ebebfa;
    --sys-ink: #4441c4;
    --usr: #ef5f3c;        /* user-created (= brand) */
    --usr-grad: var(--brand-grad);
    --usr-bg: #fceae3;
    --usr-ink: #c1481f;

    --ok: #1a9d68;  --ok-bg: #e4f3eb;
    --info:#3b7cdd; --info-bg:#e9f0fb;
    --warn:#bc851d; --warn-bg:#f7eed6;
    --bad: #db4a3d; --bad-bg: #fae5e2;

    --sh-1: 0 1px 3px rgba(45,38,28,.05);
    --sh-2: 0 2px 5px rgba(45,38,28,.04), 0 8px 26px rgba(45,38,28,.055);
    --sh-3: 0 10px 24px rgba(45,38,28,.08), 0 30px 70px rgba(45,38,28,.10);
    --shell-sh: 0 4px 14px rgba(45,38,28,.06), 0 20px 60px rgba(45,38,28,.10);
    --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display","SF Pro Text","Segoe UI", system-ui, sans-serif;
    --mono: ui-monospace,"SF Mono","SFMono-Regular",Menlo,monospace;
    --r: 20px; --r-sm: 13px; --r-lg: 24px;
  }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
    --page:#0e0e12; --shell:#16161c; --card:#1e1e26; --sub:#24242d; --sub-2:#2a2a34; --ink:#f1f1f5; --ink-2:#b3b3bd; --ink-3:#83838e; --ink-4:#5c5c67;
    --line:#2c2c36; --hair:#26262f;
    --brand:#f4744f; --brand-2:#f68c6b; --brand-bg:#31201a; --brand-ink:#f8a88a;
    --sys:#8886f0; --sys-bg:#20203c; --sys-ink:#b3b1f7; --usr:#f4744f; --usr-bg:#31201a; --usr-ink:#f8a88a;
    --ok:#3fc08a; --ok-bg:#12301f; --info:#63a0f0; --info-bg:#172740; --warn:#dcab4e; --warn-bg:#302713; --bad:#ee6a5e; --bad-bg:#331b19;
    --sh-1:0 1px 2px rgba(0,0,0,.3); --sh-2:0 2px 10px rgba(0,0,0,.34); --sh-3:0 24px 60px rgba(0,0,0,.5); --shell-sh:0 20px 60px rgba(0,0,0,.5);
  }}
  :root[data-theme="dark"]{
    --page:#0e0e12; --shell:#16161c; --card:#1e1e26; --sub:#24242d; --sub-2:#2a2a34; --ink:#f1f1f5; --ink-2:#b3b3bd; --ink-3:#83838e; --ink-4:#5c5c67;
    --line:#2c2c36; --hair:#26262f;
    --brand:#f4744f; --brand-2:#f68c6b; --brand-bg:#31201a; --brand-ink:#f8a88a;
    --sys:#8886f0; --sys-bg:#20203c; --sys-ink:#b3b1f7; --usr:#f4744f; --usr-bg:#31201a; --usr-ink:#f8a88a;
    --ok:#3fc08a; --ok-bg:#12301f; --info:#63a0f0; --info-bg:#172740; --warn:#dcab4e; --warn-bg:#302713; --bad:#ee6a5e; --bad-bg:#331b19;
    --sh-1:0 1px 2px rgba(0,0,0,.3); --sh-2:0 2px 10px rgba(0,0,0,.34); --sh-3:0 24px 60px rgba(0,0,0,.5); --shell-sh:0 20px 60px rgba(0,0,0,.5);
  }

  * { box-sizing: border-box; }
  body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans);
    font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding: 18px; }
  h1,h2,h3 { margin: 0; letter-spacing: -.018em; text-wrap: balance; }
  .tnum { font-variant-numeric: tabular-nums; }
  ::selection { background: var(--brand-bg); }
  .ic { width: 1em; height: 1em; flex: none; }

  .app { display: grid; grid-template-columns: 250px minmax(0,1fr); max-width: 1240px; margin: 0 auto;
    background: var(--shell); border-radius: 28px; box-shadow: var(--shell-sh); min-height: calc(100vh - 36px); }

  /* ---------------- sidebar ---------------- */
  .side { padding: 24px 16px; position: sticky; top: 18px; align-self: start; max-height: calc(100vh - 36px); overflow-y: auto;
    border-right: 1px solid var(--hair); }
  .brand { display: flex; align-items: center; gap: 11px; padding: 4px 10px 22px; }
  .brand-mk { width: 34px; height: 34px; border-radius: 11px; background: var(--ink); color: var(--card);
    display: grid; place-items: center; font-weight: 750; font-size: 16px; }
  .brand-t { font-size: 15.5px; font-weight: 700; letter-spacing: -.02em; }
  .brand-t small { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
  .side-lbl { font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .09em; color: var(--ink-3);
    padding: 0 12px; margin-bottom: 9px; }

  .urow { width: 100%; text-align: left; background: none; border: none; cursor: pointer; border-radius: 14px;
    padding: 9px 10px; margin-bottom: 4px; display: flex; align-items: center; gap: 11px; font-family: inherit;
    color: var(--ink); transition: background .15s; }
  .urow:hover { background: rgba(0,0,0,.035); }
  .urow.on { background: var(--card); box-shadow: var(--sh-1); }
  .urow:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
  .av { width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center; color: #fff;
    font-weight: 680; font-size: 14.5px; letter-spacing: -.03em; }
  .uinfo { min-width: 0; flex: 1; display: flex; flex-direction: column; }
  .uinfo .n { font-size: 13.5px; font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .uinfo .t { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; max-width: 100%; }
  .sdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .sdot.on { background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
  .sdot.off { background: var(--ink-4); }
  .side-foot { margin: 16px 12px 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11.5px;
    color: var(--ink-4); line-height: 1.5; }

  /* ---------------- main ---------------- */
  .main { padding: 22px 0 90px; min-width: 0; }
  .wrap { max-width: 940px; margin: 0 auto; padding: 0 clamp(16px,3vw,34px); display: flex; flex-direction: column; gap: 16px; }
  .card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-2); }

  /* identity */
  .id-top { display: flex; gap: 20px; padding: 26px 28px 22px; align-items: flex-start; }
  .big-av { width: 74px; height: 74px; border-radius: 20px; flex: none; display: grid; place-items: center; color: #fff;
    font-weight: 700; font-size: 27px; letter-spacing: -.03em; box-shadow: var(--sh-2); }
  .id-main { flex: 1; min-width: 0; }
  .id-name { font-size: 26px; font-weight: 730; line-height: 1.12; }
  .id-sub { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 9px; color: var(--ink-2); font-size: 13.5px; }
  .id-sub .sep { color: var(--ink-4); }
  .id-id { font-family: var(--mono); font-size: 11px; color: var(--ink-3); background: var(--sub); padding: 3px 8px;
    border-radius: 7px; }
  .id-score { text-align: right; flex: none; }
  .id-score .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 640; }
  .id-score .v { font-size: 36px; font-weight: 770; letter-spacing: -.03em; line-height: 1; margin-top: 4px; }
  .id-score .d { font-size: 12.5px; font-weight: 650; margin-top: 4px; display: inline-flex; align-items: center; gap: 3px; }
  .d.up { color: var(--ok); } .d.down { color: var(--bad); } .d.flat { color: var(--ink-3); }

  .id-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px,1fr)); border-top: 1px solid var(--hair); }
  .fact { padding: 15px 20px; border-right: 1px solid var(--hair); min-width: 0; }
  .fact:last-child { border-right: none; }
  .fact .fk { display: flex; align-items: center; gap: 5px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em;
    color: var(--ink-3); font-weight: 640; }
  .fact .fk .ic { width: 12px; height: 12px; color: var(--ink-4); }
  .fact .fv { font-size: 14.5px; font-weight: 620; margin-top: 5px; font-variant-numeric: tabular-nums; line-height: 1.3; }
  .fact .fv small { display: block; font-weight: 500; color: var(--ink-3); font-size: 12px; margin-top: 1px; }

  .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 620; padding: 3px 10px;
    border-radius: 30px; white-space: nowrap; }
  .pill .pd { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
  .pill .ic { width: 12px; height: 12px; }
  .pill.ok{background:var(--ok-bg);color:var(--ok)} .pill.info{background:var(--info-bg);color:var(--info)}
  .pill.warn{background:var(--warn-bg);color:var(--warn)} .pill.bad{background:var(--bad-bg);color:var(--bad)}
  .pill.sys{background:var(--sys-bg);color:var(--sys-ink)} .pill.usr{background:var(--usr-bg);color:var(--usr-ink)}
  .pill.neut{background:var(--sub-2);color:var(--ink-2)}

  /* section header (shared) */
  .sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 20px 24px 4px; }
  .sec-hd .t { font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
  .sec-hd .s { font-size: 12px; color: var(--ink-3); }

  /* human rows */
  .human { padding-bottom: 8px; }
  .hrow { display: grid; grid-template-columns: 42px 1fr auto; gap: 15px; padding: 15px 24px; align-items: start;
    border-top: 1px solid var(--hair); }
  .hrow:first-of-type { border-top: 1px solid var(--hair); }
  .hic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
  .hic .ic { width: 19px; height: 19px; }
  .hic.sys{background:var(--sys-bg);color:var(--sys)} .hic.usr{background:var(--usr-bg);color:var(--usr)}
  .hic.ok{background:var(--ok-bg);color:var(--ok)} .hic.info{background:var(--info-bg);color:var(--info)}
  .hic.warn{background:var(--warn-bg);color:var(--warn)} .hic.bad{background:var(--bad-bg);color:var(--bad)}
  .hic.neut{background:var(--sub-2);color:var(--ink-3)}
  .hbody { min-width: 0; }
  .hcat { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
  .hcat.sys{color:var(--sys)} .hcat.usr{color:var(--usr)} .hcat.ok{color:var(--ok)} .hcat.info{color:var(--info)}
  .hcat.warn{color:var(--warn)} .hcat.bad{color:var(--bad)} .hcat.neut{color:var(--ink-3)}
  .hfact { font-size: 14.5px; font-weight: 560; color: var(--ink); line-height: 1.5; max-width: 68ch; }
  .hquote { font-size: 13px; color: var(--ink-2); margin-top: 7px; padding-left: 12px; border-left: 2px solid var(--line);
    line-height: 1.55; }
  .hdate { font-size: 11.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 2px; }

  /* score chart */
  .sc-wrap { padding: 4px 22px 14px; position: relative; }
  .sc-hit { cursor: pointer; }
  .sc-tip { position: absolute; z-index: 20; display: none; pointer-events: none; background: var(--ink); color: #fff;
    border-radius: 11px; padding: 9px 12px; box-shadow: var(--sh-3); min-width: 128px; max-width: 250px;
    transform: translate(-50%, calc(-100% - 14px)); }
  .sc-tip.below { transform: translate(-50%, 14px); }
  .sc-tip .tip-d { font-size: 11px; opacity: .68; letter-spacing: .01em; }
  .sc-tip .tip-v { font-size: 17px; font-weight: 730; margin-top: 3px; display: flex; align-items: center; gap: 8px; }
  .sc-tip .tip-delta { font-size: 10.5px; font-weight: 700; padding: 1.5px 7px; border-radius: 20px; letter-spacing: .01em; white-space: nowrap; }
  .tip-delta.up { background: rgba(63,192,138,.24); color: #74e0ac; }
  .tip-delta.down { background: rgba(238,106,94,.26); color: #f3a69f; }
  .tip-delta.flat { background: rgba(255,255,255,.16); color: #cfcfcf; }
  .sc-tip .tip-note { font-size: 11.5px; opacity: .9; margin-top: 7px; line-height: 1.5; border-top: 1px solid rgba(255,255,255,.16); padding-top: 6px; }
  svg { display: block; width: 100%; height: auto; overflow: visible; }

  /* tabs */
  .seg { display: inline-flex; background: var(--card); border-radius: 14px; padding: 4px; gap: 3px; box-shadow: var(--sh-1);
    position: sticky; top: 14px; z-index: 6; align-self: flex-start; }
  .seg button { border: none; background: none; font-family: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink-3);
    padding: 8px 16px; border-radius: 10px; cursor: pointer; transition: all .15s; display: inline-flex; align-items: center; gap: 8px; }
  .seg button .ic { width: 15px; height: 15px; }
  .seg button .cnt { font-size: 11px; font-weight: 700; background: var(--sub-2); color: var(--ink-3); padding: 1px 7px;
    border-radius: 20px; min-width: 20px; text-align: center; }
  .seg button:hover { color: var(--ink); }
  .seg button.on { background: var(--ink); color: var(--card); }
  .seg button.on .cnt { background: rgba(255,255,255,.2); color: #fff; }
  .seg button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

  /* jobs */
  .grp { margin-top: 6px; }
  .grp-hd { display: flex; align-items: center; gap: 10px; margin: 8px 2px 6px; }
  .grp-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; }
  .grp-ic .ic { width: 15px; height: 15px; }
  .grp-ic.sys{background:var(--sys-bg);color:var(--sys)} .grp-ic.usr{background:var(--usr-bg);color:var(--usr)}
  .grp-hd .gl { font-size: 14px; font-weight: 680; }
  .grp-hd .gn { font-size: 12px; color: var(--ink-3); font-weight: 600; background: var(--sub-2); padding: 1px 8px; border-radius: 20px; }
  .grp-note { font-size: 12.5px; color: var(--ink-3); margin: 0 2px 12px; line-height: 1.5; max-width: 74ch; }

  .job { background: var(--card); border-radius: var(--r); box-shadow: var(--sh-1); margin-bottom: 10px; overflow: hidden;
    transition: box-shadow .16s; }
  .job.open-x { box-shadow: var(--sh-2); }
  .job-head { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; padding: 16px 18px; cursor: pointer; align-items: start; }
  .job-head:hover { background: var(--sub); }
  .job-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
  .job-ic .ic { width: 21px; height: 21px; }
  .job-ic.sys{background:var(--sys-bg);color:var(--sys)} .job-ic.usr{background:var(--usr-bg);color:var(--usr)}
  .job-lead { min-width: 0; }
  .job-tags { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; }
  .job-title { font-size: 15.5px; font-weight: 660; letter-spacing: -.01em; line-height: 1.3; }
  .job-sum { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .job.open-x .job-sum { -webkit-line-clamp: unset; }
  .job-right { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; }
  .job-date { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .job-foot { display: flex; align-items: center; gap: 15px; padding: 0 18px 13px 76px; font-size: 11.5px; color: var(--ink-3); }
  .job-foot .mi { display: inline-flex; align-items: center; gap: 5px; }
  .job-foot .mi .ic { width: 14px; height: 14px; }
  .job-foot .chev { margin-left: auto; color: var(--ink-4); transition: transform .2s; }
  .job-foot .chev .ic { width: 17px; height: 17px; }
  .job.open-x .job-foot .chev { transform: rotate(180deg); }

  .job-body { display: none; border-top: 1px solid var(--hair); padding: 2px 18px 12px 76px; background: var(--sub); }
  .job.open-x .job-body { display: block; }
  .statusline { font-size: 12.5px; color: var(--ink-2); background: var(--card); box-shadow: var(--sh-1); border-radius: 11px;
    padding: 10px 14px; margin: 14px 0 6px; line-height: 1.5; }
  .statusline b { color: var(--ink-3); font-weight: 640; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; margin-right: 7px; }
  .conf { background: var(--usr-bg); border-radius: 10px; padding: 9px 13px; margin: 8px 0 4px; font-size: 12.5px;
    color: var(--usr-ink); line-height: 1.5; }
  .conf b { font-weight: 700; }
  .sub-lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 650; margin: 16px 0 6px; }

  /* case timeline */
  .ctl-row { display: grid; grid-template-columns: 68px 20px 1fr; align-items: start; }
  .ctl-date { font-size: 11px; color: var(--ink-3); text-align: right; padding: 9px 10px 0 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .ctl-mid { position: relative; display: flex; justify-content: center; padding-top: 11px; }
  .ctl-mid::before { content:""; position: absolute; top: 0; bottom: -4px; width: 2px; background: var(--line); }
  .ctl-row:first-child .ctl-mid::before { top: 11px; }
  .ctl-row:last-child .ctl-mid::before { bottom: auto; height: 11px; }
  .ctl-node { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; z-index: 1; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line); }
  .ctl-node .ic { width: 12px; height: 12px; }
  .ctl-node.created{color:var(--sys)} .ctl-node.status_change{color:var(--info)} .ctl-node.email_out{color:var(--sys)}
  .ctl-node.email_in{color:var(--usr)} .ctl-node.milestone{color:var(--ok)} .ctl-node.chat{color:var(--ink-3)}
  .ctl-body { padding: 8px 0 8px 8px; }
  .ctl-t { font-size: 13.5px; font-weight: 550; line-height: 1.4; }
  .ctl-d { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }

  /* email thread */
  .mail { border-radius: 13px; margin: 7px 0; padding: 12px 14px; background: var(--card); box-shadow: var(--sh-1);
    display: grid; grid-template-columns: 30px 1fr; gap: 11px; }
  .mail .md { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
  .mail .md .ic { width: 15px; height: 15px; }
  .mail.out .md { background: var(--sys-bg); color: var(--sys); }
  .mail.in .md { background: var(--usr-bg); color: var(--usr); }
  .mail-b { min-width: 0; }
  .mail-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
  .mail-subj { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
  .mail-dt { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; flex: none; }
  .mail-party { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
  .mail-snip { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
  .mail-more { background: none; border: none; font-family: inherit; font-size: 11.5px; font-weight: 620; color: var(--brand-ink);
    cursor: pointer; padding: 7px 0 1px; display: inline-flex; align-items: center; gap: 4px; }
  .mail-more .ic { width: 13px; height: 13px; transition: transform .2s; }
  .mail-more.open .ic { transform: rotate(180deg); }
  .mail-full { white-space: pre-wrap; word-break: break-word; font-size: 12.5px; color: var(--ink-2); line-height: 1.62; margin-top: 8px;
    padding: 12px 14px; background: var(--sub); border-radius: 11px; max-height: 360px; overflow: auto; font-family: var(--sans); }

  /* journey */
  .jrow { display: grid; grid-template-columns: 78px 24px 1fr; align-items: start; }
  .jrow .jd { font-size: 11.5px; color: var(--ink-3); text-align: right; padding: 12px 12px 0 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .jrow .jm { position: relative; display: flex; justify-content: center; padding-top: 12px; }
  .jrow .jm::before { content:""; position: absolute; top:0; bottom:-4px; width:2px; background: var(--line); }
  .jrow:first-child .jm::before { top: 12px; }
  .jrow:last-child .jm::before { bottom:auto; height:12px; }
  .jnode { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; z-index: 1; background: var(--card);
    box-shadow: inset 0 0 0 1px var(--line); }
  .jnode .ic { width: 13px; height: 13px; }
  .jnode.milestone{color:var(--brand)} .jnode.event{color:var(--info)} .jnode.topic{color:var(--sys)}
  .jbody { padding: 9px 6px 9px 10px; }
  .jt { font-size: 14px; font-weight: 560; line-height: 1.4; }
  .jdt { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }
  .jmon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3);
    padding: 14px 6px 2px 6px; }
  .jmon:first-child { padding-top: 6px; }

  /* topics */
  .trow { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 14px 24px; border-top: 1px solid var(--hair); align-items: start; }
  .trow:first-child { border-top: none; }
  .tmain { min-width: 0; }
  .tname { font-size: 14.5px; font-weight: 640; }
  .tq { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; padding-left: 11px; border-left: 2px solid var(--line); line-height: 1.55; }
  .tmeta { text-align: right; flex: none; }
  .tmeta .c { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
  .tmeta .cl { font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
  .tmeta .dr { font-size: 11px; color: var(--ink-3); margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }

  /* caveats */
  .caveats { background: var(--warn-bg); border-radius: var(--r); padding: 15px 20px; }
  .caveats .ch { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 700; color: var(--warn); margin-bottom: 8px; }
  .caveats ul { margin: 0; padding-left: 18px; } .caveats li { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; margin: 5px 0; }

  .pane { display: flex; flex-direction: column; }
  .hide { display: none !important; }
  .empty { display: grid; place-items: center; min-height: 70vh; text-align: center; color: var(--ink-3); padding: 20px; }
  .empty .eav { width: 58px; height: 58px; border-radius: 17px; background: var(--card); box-shadow: var(--sh-1);
    display: grid; place-items: center; margin: 0 auto 16px; color: var(--ink-3); }
  .empty .eav .ic { width: 26px; height: 26px; }
  .spin { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--line); border-top-color: var(--brand);
    border-radius: 50%; animation: sp .8s linear infinite; vertical-align: -2px; margin-right: 7px; }
  @keyframes sp { to { transform: rotate(360deg); } }
  @media (prefers-reduced-motion: reduce){ .spin { animation: none; } }
  .empty .em-id { font-family: var(--mono); font-size: 11px; margin-top: 10px; color: var(--ink-4); }

  @media (max-width: 700px){
    .app { grid-template-columns: 1fr; }
    .side { position: static; height: auto; }
    .id-top { flex-wrap: wrap; } .id-score { text-align: left; }
    .job-head { grid-template-columns: 40px 1fr; } .job-right { grid-column: 2; align-items: flex-start; text-align: left; }
    .job-foot, .job-body { padding-left: 18px; }
  }
