/* TRP Collect Desk — live skin. Preview twin: /collect-desk.html — keep UX in parallel. */
body.trp-desk #collRunRoot,body.trp-desk #deskChrome{
  --desk-bg:#f4f0e8;
  --desk-card:#fffcf6;
  --desk-ink:#2c2a26;
  --desk-mu:#6d6a63;
  --desk-line:#e4dfd4;
  --desk-sage:#5d6f5a;
  --desk-sage-deep:#3d5348;
  --desk-gold:#9a7d4e;
  --desk-up:#3f7a5a;
  --desk-dn:#9a4f3c;
  --desk-clay:#c45a32;
  background:var(--desk-bg) !important;
}
body.trp-desk #collections-dashboard.cr-on{background:var(--desk-bg) !important}
body.trp-desk #collRunView{
  padding:0 0 calc(118px + env(safe-area-inset-bottom));
  max-width:430px;margin:0 auto;min-height:60vh;
}

/* Header (2026-09-09): the desk hides the host header entirely and paints its own full-width bar —
   brand far left, the XP scorecard + week goal in the middle, Refresh on the right. The Pulse menu
   (Regular menu, view-as, Mobile/Desktop view) opens from the TP thumbnail. */
body.trp-coll-run.trp-desk #appRoot > header{display:none !important}
#deskChrome{position:sticky;top:0;z-index:20;background:#f4f0e8}
.desk-top{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:8px 16px;border-bottom:1px solid var(--desk-line)}
.desk-brand{position:relative;display:flex;align-items:center;gap:10px;min-width:0}
.desk-mark{width:36px;height:36px;border-radius:11px;flex:none;border:0;padding:0;background:#6b5a3e;color:#f7f1e6;display:grid;place-items:center;font:700 12px/1 -apple-system,sans-serif;cursor:pointer;box-shadow:0 1px 0 rgba(44,42,38,.12)}
.desk-mark:hover{background:#5a4b33}
.desk-mark:focus-visible{outline:3px solid var(--desk-gold);outline-offset:2px}
.desk-mark[aria-expanded="true"]{background:#2c2a26}
.desk-brand>div b{display:block;font:700 15px/1.1 -apple-system,sans-serif;color:var(--desk-ink);white-space:nowrap}
.desk-brand>div span{display:block;font:13px/1.2 -apple-system,sans-serif;color:var(--desk-mu);white-space:nowrap}
.desk-brand-menu{position:absolute;top:calc(100% + 8px);left:0;z-index:40;min-width:280px;padding:6px;border:1px solid var(--desk-line);border-radius:14px;background:var(--desk-card);box-shadow:0 14px 36px rgba(44,42,38,.2)}
.desk-brand-menu[hidden]{display:none}
.desk-menu-item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:46px;padding:8px 12px;border:0;border-radius:9px;background:transparent;color:var(--desk-ink);font:600 14px/1.3 -apple-system,sans-serif;text-align:left;cursor:pointer;box-sizing:border-box}
.desk-menu-item[hidden]{display:none}
.desk-menu-item:hover{background:#efeae0}
.desk-menu-item:focus-visible{outline:3px solid var(--desk-gold);outline-offset:-3px}
.desk-menu-link::after{content:'→';color:var(--desk-mu)}
.desk-menu-item small{font:12px/1.3 -apple-system,sans-serif;color:var(--desk-mu);white-space:nowrap}
.desk-menu-select{cursor:default}
.desk-menu-select select{min-height:36px;max-width:170px;padding:4px 8px;border:1px solid var(--desk-line);border-radius:8px;background:#fff;color:var(--desk-ink);font:600 13px/1.3 -apple-system,sans-serif}
.desk-top #deskHud{margin:0;min-height:0;max-width:none;justify-self:stretch}
.desk-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}
.desk-refresh{display:flex;align-items:center;gap:5px;min-height:44px;border:0;background:transparent;color:var(--desk-sage-deep);padding:0 7px;font:700 18px/1 -apple-system,sans-serif;cursor:pointer}
.desk-refresh span{font-size:12px}.desk-refresh:disabled{opacity:.55;cursor:wait}
.desk-refresh:focus-visible{outline:3px solid var(--desk-gold);outline-offset:1px}
body.trp-desk[data-desk-layout="mobile"] .desk-refresh span{display:none}
.desk-book{font:650 11px/1.2 -apple-system,sans-serif;color:var(--desk-mu);text-align:right}
.desk-book span{display:block;color:var(--desk-ink);font-size:12px;font-weight:700}
.desk-pad{padding:12px 14px 8px}
.desk-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.desk-card{background:var(--desk-card);border-radius:18px;padding:14px;box-shadow:0 1px 0 rgba(44,42,38,.04)}
.desk-k{font:700 10px/1.2 -apple-system,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--desk-mu)}
.desk-v{font:600 24px/1.05 Palatino,Georgia,serif;margin:8px 0 4px;color:var(--desk-ink)}
.desk-v.gold{color:#b9892d}.desk-v.up{color:var(--desk-up)}.desk-v.dn{color:var(--desk-dn)}
.desk-v small{font-size:14px;color:var(--desk-mu);font-weight:500}
.desk-bar{height:8px;background:#ece7dc;border-radius:99px;overflow:hidden;margin:8px 0;position:relative}
.desk-bar i{display:block;height:100%;background:var(--desk-sage-deep)}
.desk-bar.clay i{background:var(--desk-clay)}
.desk-bar em{position:absolute;top:-2px;width:2px;height:12px;background:#2c2a26}
.desk-note{font:12.5px/1.35 -apple-system,sans-serif;color:var(--desk-mu)}
.desk-pills{display:flex;flex-direction:column;gap:6px;margin-top:10px}
.desk-pill{align-self:flex-start;border-radius:99px;padding:5px 10px;font:650 12px/1.2 -apple-system,sans-serif}
.desk-pill.adler{background:#e8dcc4;color:#5c4a2e}
.desk-pill.rest{background:#dfe8dc;color:#35513f}
.desk-queue{margin-top:12px;padding:16px 14px 20px}
.desk-qh{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.desk-qh h2{margin:0;font:600 22px/1 Palatino,Georgia,serif}
.desk-sys{border-radius:99px;background:#efe8d8;color:#6a5a3e;padding:5px 10px;font:650 11px/1 -apple-system,sans-serif}
.desk-filters{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 10px}
.desk-chip{border:1px solid var(--desk-line);background:transparent;color:var(--desk-ink);border-radius:99px;padding:8px 12px;font:650 13px/1 -apple-system,sans-serif}
.desk-chip.on{background:#1d1b18;color:#fff;border-color:#1d1b18}
.desk-book-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.desk-book-filters .desk-chip{min-height:40px;white-space:nowrap}
.desk-queue-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:6px 0}
.desk-queue-tools .desk-work-filter{flex:1;max-width:none!important}
.desk-work-filter{min-height:36px;max-width:180px;border:1px solid var(--desk-line);border-radius:8px;padding:4px 8px;background:var(--desk-card);color:var(--desk-ink);font:12px/1.3 -apple-system,sans-serif}
body.trp-desk[data-desk-layout="mobile"] .desk-qh{flex-wrap:wrap}
body.trp-desk[data-desk-layout="mobile"] .desk-queue-tools{margin-left:auto;gap:5px}
body.trp-desk[data-desk-layout="mobile"] .desk-work-filter{max-width:150px;font-size:11px}
.desk-hint{font:12.5px/1.4 -apple-system,sans-serif;color:var(--desk-mu);margin:0 0 10px}
.desk-hint b{color:var(--desk-dn)}
.desk-acct{width:100%;text-align:left;border:1px solid var(--desk-line);background:#fff;border-radius:14px;padding:12px 14px;margin:0 0 8px;display:block;color:inherit;box-shadow:inset 3px 0 0 #2c2a26}
.desk-acct.adler{box-shadow:inset 3px 0 0 #8a7348}
.desk-acct .r{display:flex;justify-content:space-between;gap:10px}
.desk-acct .n{font:700 16px/1.2 -apple-system,sans-serif}
.desk-acct .m{font:600 18px/1 Palatino,Georgia,serif;white-space:nowrap}
.desk-acct .s{margin-top:4px;font:12.5px/1.3 -apple-system,sans-serif;color:var(--desk-mu)}
.desk-acct .why{margin-top:8px;font:12.5px/1.35 -apple-system,sans-serif;color:#4d4a44}
.desk-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.desk-bdg{border-radius:99px;padding:3px 8px;font:700 11px/1.2 -apple-system,sans-serif;background:#eeeae0;color:#4a4741}
.desk-bdg.us{background:#f0d7cc;color:#7a2e18}
.desk-bdg.them{background:#dfe8dc;color:#35513f}
.desk-empty{padding:18px 8px;color:var(--desk-mu)}
.desk-row{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--desk-line);width:100%;text-align:left;background:0;border-left:0;border-right:0;border-bottom:0;font:14px/1.35 -apple-system,sans-serif;color:inherit}
.desk-page h2{font:600 24px/1.1 Palatino,Georgia,serif;margin:0 0 8px}
.desk-hud{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 14px;background:transparent;color:var(--desk-ink);border-radius:12px;padding:7px 10px;min-height:60px}
body.trp-desk.desk-game .desk-hud{background:var(--desk-sage-deep);color:#f4f7f4}
.desk-hud-stats{display:none;align-items:center;gap:24px;flex:1;min-width:0}
body.trp-desk.desk-game .desk-hud-stats{display:flex}
.desk-hud b{display:block;font:700 16px/1 Palatino,Georgia,serif}
.desk-hud span{font-size:11px;opacity:.8}
.desk-goals-button{min-height:52px;border:0;background:transparent;color:inherit;font:700 13px/1 -apple-system,sans-serif;padding:0 8px;white-space:nowrap;cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:stretch;gap:7px}
.desk-goal-main{display:flex;align-items:baseline;justify-content:flex-end;gap:7px}
.desk-goal-main b{font-size:18px}
.desk-goals-link{white-space:nowrap}
.desk-goal-progress{display:grid;grid-template-columns:auto auto auto auto;align-items:center;justify-content:end;gap:5px;font-size:10px;line-height:1}
.desk-goal-progress>span{font-size:10px;opacity:.9}
.desk-goal-progress b{display:inline;font:800 11px/1 -apple-system,sans-serif}
.desk-goal-progress strong{font:800 11px/1 -apple-system,sans-serif}
.desk-goal-track{grid-column:1/-1;width:100%;height:3px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.24)}
.desk-goal-track i{display:block;height:100%;border-radius:inherit;background:#fff}
.desk-rank-hud{align-items:stretch;background:var(--desk-sage-deep)!important;color:#f4f7f4!important;padding:10px 12px;gap:16px}
.desk-rank-card{min-width:0;flex:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.desk-rank-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.desk-rank-head b{font:700 17px/1.2 Georgia,serif}.desk-rank-head strong{font-size:14px;white-space:nowrap}
.desk-rank-track{height:6px;margin:8px 0 6px;border-radius:999px;overflow:hidden;background:rgba(255,255,255,.22)}.desk-rank-track i{display:block;height:100%;border-radius:inherit;background:#d7bc79}
.desk-rank-card p{margin:0;font-size:11px;line-height:1.35;opacity:.88}
.desk-xp-panel{margin:14px 0;padding:14px;border:1px solid var(--desk-line);border-radius:14px;background:#f7f3eb}.desk-xp-panel h3,.desk-xp-panel h4{margin:0 0 10px;font:700 16px/1.3 Georgia,serif}.desk-xp-panel h4{margin-top:16px;font-size:14px}
.desk-xp-panel .desk-rank-card{padding:12px;border-radius:12px;background:var(--desk-sage-deep);color:#f4f7f4}.desk-xp-earned{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;font-size:12px}.desk-xp-earned span{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid var(--desk-line)}.desk-xp-earned b{white-space:nowrap}
.desk-xp-ladder{list-style:none;padding:0;margin:14px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:4px 10px}.desk-xp-level{display:flex;justify-content:space-between;gap:8px;padding:7px 8px;border:1px solid transparent;border-radius:8px;color:var(--desk-mu);font-size:12px}.desk-xp-level b{white-space:nowrap}.desk-xp-level.reached{color:var(--desk-ink)}.desk-xp-level.current{background:#e3eadf;border-color:#b8c7b2;color:var(--desk-sage-deep);font-weight:700}
.desk-personal-goal b{text-align:right}.desk-personal-goal button{margin-left:5px;border:0;background:transparent;color:var(--desk-sage-deep);font-weight:700;text-decoration:underline;cursor:pointer}
.desk-week-strip{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:8px 12px;border:1px solid var(--desk-line);border-radius:12px;background:var(--desk-card);color:var(--desk-ink);font:13px/1.3 -apple-system,sans-serif;text-align:left;cursor:pointer}
.desk-week-strip b{font-size:16px}
.desk-week-more{margin-left:auto;color:var(--desk-sage-deep);font-size:12px;white-space:nowrap}
.desk-goals-dialog{box-sizing:border-box;width:min(520px,calc(100% - 24px));max-height:85dvh;overflow:auto;margin:auto;padding:20px;border:1px solid var(--desk-line);border-radius:20px;background:var(--desk-card);color:var(--desk-ink);box-shadow:0 20px 70px #0003;overscroll-behavior:contain}
.desk-goals-dialog::backdrop{background:rgba(25,35,29,.48)}
.desk-goals-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.desk-goals-head h2{margin:0;font:600 26px/1.2 Palatino,Georgia,serif}
.desk-goals-close{min-width:44px;min-height:44px;border:1px solid var(--desk-line);border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.desk-goals-week{padding:16px 0 20px}
.desk-goals-week .desk-pills{flex-direction:row;flex-wrap:wrap}
.desk-goals-dialog .desk-row b{text-align:right}
.desk-goals-button:focus-visible,.desk-week-strip:focus-visible,.desk-goals-close:focus-visible{outline:3px solid var(--desk-gold);outline-offset:2px}
body.trp-desk[data-desk-layout="mobile"] .desk-goals-dialog{max-width:430px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud{display:block}.desk-rank-hud .desk-goals-button{border-left:1px solid rgba(255,255,255,.18);padding-left:16px}body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goals-button{width:100%;min-height:42px;margin-top:8px;padding:8px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18)}
body.trp-desk[data-desk-layout="mobile"] .desk-xp-earned,body.trp-desk[data-desk-layout="mobile"] .desk-xp-ladder{grid-template-columns:1fr}
body.trp-desk[data-desk-layout="mobile"] .desk-case-title{padding-right:48px}
body.trp-desk[data-desk-layout="mobile"] .desk-filters{gap:6px}
body.trp-desk[data-desk-layout="mobile"] .desk-chip{padding:8px 10px;font-size:12px;min-height:36px}
body.trp-desk #collRunNav,body.trp-desk .cr-nav{display:none !important}
#deskNav.desk-nav{position:fixed;left:0;right:0;bottom:0;z-index:100040;display:flex;justify-content:space-around;background:rgba(255,252,246,.97);border-top:1px solid var(--desk-line);padding:6px 4px max(10px,env(safe-area-inset-bottom))}
.desk-nav button{flex:1;border:0;background:0;color:#8a857b;display:flex;flex-direction:column;align-items:center;gap:3px;font:650 10px/1 -apple-system,sans-serif;min-height:52px}
.desk-nav button.on{color:var(--desk-clay)}
.desk-nav svg{width:22px;height:22px}
body.trp-desk #collRunView > .cr-head,body.trp-desk #collRunView > .cr-pad{display:none !important}
body.trp-desk #trpSignedOut{max-width:430px;margin:0 auto}
body.trp-desk[data-collect-role="collector"] [data-manager-only],
option[value="collection_manager"],option[value="collections_manager"]{display:none !important}

/* Auto layout: wide by default, a phone-sized preview only on request. */
body.trp-desk #collRunRoot{max-width:1440px;width:100%;padding-bottom:0}
body.trp-desk #collRunView{max-width:none;padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
body.trp-desk[data-desk-layout="desktop"] .desk-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
body.trp-desk[data-desk-layout="desktop"] #deskRows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.trp-desk[data-desk-layout="desktop"] .desk-acct{margin:0}
body.trp-desk[data-desk-layout="mobile"] #collRunRoot{max-width:430px}
body.trp-desk[data-desk-layout="mobile"] #deskNav{max-width:430px;left:50%;right:auto;width:100%;transform:translateX(-50%)}
body.trp-desk #deskNav button{justify-content:center;font-size:13px;min-height:52px}
body.trp-desk #deskNav button.on{background:#e8eee5;color:#354e3e;border-radius:10px;font-weight:700}
body.trp-desk #collRunPop .cr-sheet{z-index:100050}
.desk-layout-toggle,.desk-load-more{border:1px solid var(--desk-line);border-radius:10px;min-height:44px;padding:8px 12px;background:var(--desk-card);color:var(--desk-ink);font-weight:600}
.desk-load-more{grid-column:1/-1;width:100%}
.desk-layout-toggle[hidden]{display:none!important}
.desk-more-link{min-height:52px;font-weight:700}
.desk-guide{border-top:1px solid var(--desk-line)}
.desk-guide summary{display:flex;align-items:center;justify-content:space-between;min-height:52px;cursor:pointer;font:700 14px/1.35 -apple-system,sans-serif;list-style:none}
.desk-guide summary::-webkit-details-marker{display:none}
.desk-guide[open] summary span{transform:rotate(180deg)}
.desk-guide-head{display:flex;justify-content:space-between;gap:10px;padding:8px 0;color:var(--desk-mu);font:700 11px/1.3 -apple-system,sans-serif;text-transform:uppercase;letter-spacing:.04em}
.desk-guide .desk-row{padding:10px 0}
.desk-guide .desk-row b{text-align:right}
.desk-acct{min-width:0;overflow-wrap:anywhere}
@media(min-width:769px) and (max-width:1100px){
  body.trp-desk[data-desk-layout="desktop"] .desk-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.desk-nav button:focus-visible,.desk-layout-toggle:focus-visible,.desk-more-link:focus-visible{outline:3px solid var(--desk-gold);outline-offset:-3px}
@media(max-width:768px){
  body.trp-desk #collRunRoot{max-width:430px}
  .desk-brand span{font-size:12px}
  .desk-top{padding-top:calc(10px + env(safe-area-inset-top,0px))}
  body.trp-desk #deskNav button{font-size:11px}
}

.desk-back{border:0;background:transparent;color:var(--desk-sage-deep);min-height:44px;padding:0 8px 0 0;font-weight:700}
.desk-attorney-search{margin:0 14px;padding:6px 0}
.desk-attorney-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.desk-attorney-search>div{display:flex;gap:6px;align-items:center;background:var(--desk-card);border:1px solid var(--desk-line);border-radius:12px;padding:0 6px 0 12px}
.desk-attorney-search input{flex:1;min-width:0;min-height:44px;border:0;background:transparent;color:var(--desk-ink);font:15px/1.3 -apple-system,sans-serif;outline-offset:-2px}
.desk-attorney-search button{min-height:44px;border:0;background:transparent;color:var(--desk-sage-deep);font-size:12px;padding:0 8px}
.desk-attorneys-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.desk-attorney-book{min-height:40px;max-width:160px;padding:6px 10px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink)}
.desk-attorney-lanes{display:flex;gap:6px;padding:4px;margin:10px 0 12px;background:#eae6dc;border-radius:12px}
.desk-attorney-lanes button{flex:1;min-height:40px;border:0;border-radius:9px;background:transparent;color:var(--desk-ink);font:650 14px/1.3 -apple-system,sans-serif;cursor:pointer}
.desk-attorney-lanes button.on{background:var(--desk-sage-deep);color:#fff}
.desk-attorney-row,.desk-attorney-case{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;padding:15px 0;border:0;border-top:1px solid var(--desk-line);background:transparent;color:var(--desk-ink);cursor:pointer}
.desk-attorney-row>span:first-child,.desk-attorney-case>span:first-child{min-width:0;overflow-wrap:anywhere}
.desk-attorney-row b,.desk-attorney-case b{display:block;font:650 14px/1.35 -apple-system,sans-serif}
.desk-attorney-row small,.desk-attorney-case small{display:block;font:12px/1.4 -apple-system,sans-serif;color:var(--desk-mu);margin-top:4px}
.desk-attorney-money,.desk-attorney-case>span:last-child{flex-shrink:0;text-align:right}
.desk-attorney-money b{font-size:17px;color:var(--desk-sage-deep)}
.desk-attorney-dialog{box-sizing:border-box;width:min(700px,calc(100% - 24px));max-height:88dvh;overflow:auto;margin:auto;padding:20px;border:1px solid var(--desk-line);border-radius:20px;background:var(--desk-card);color:var(--desk-ink);overscroll-behavior:contain}
.desk-attorney-dialog::backdrop{background:rgba(25,35,29,.48)}
.desk-attorney-dialog .desk-goals-head{align-items:flex-start}
.desk-attorney-dialog .desk-goals-head h2{font-size:20px;overflow-wrap:anywhere}
.desk-attorney-dialog .desk-goals-close{flex-shrink:0}
.desk-dialog-actions{display:flex;align-items:center;gap:8px}
.desk-attorney-insights{margin:14px 0;padding:14px;border:1px solid var(--desk-line);border-radius:14px;background:rgba(255,255,255,.45)}
.desk-attorney-pattern{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.desk-attorney-pattern b,.desk-attorney-pattern small{display:block}.desk-attorney-pattern small{margin-top:4px;color:var(--desk-muted)}.desk-attorney-pattern>span{font-size:11px;color:var(--desk-muted);white-space:nowrap}
.desk-payment-spark{height:54px;display:flex;align-items:flex-end;gap:5px;padding:8px 0 6px;border-bottom:1px solid var(--desk-line)}.desk-payment-spark i{flex:1;min-height:4px;border-radius:3px 3px 0 0;background:#8ba494}.desk-payment-spark i:last-child{background:#c18b2d}
.desk-insight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 0}.desk-insight-grid div{display:flex;flex-direction:column;gap:3px}.desk-insight-grid span{font-size:11px;color:var(--desk-muted)}.desk-insight-grid b{font-size:16px}
.desk-status-mix h3{margin:6px 0;font:700 13px/1.2 sans-serif;text-transform:uppercase;letter-spacing:.04em}.desk-status-mix .desk-row{padding:8px 0}
.desk-pace-box{margin-top:14px;padding:12px 14px;border:1px solid var(--desk-line);border-radius:12px;background:#f4f0e8}.desk-pace-box .desk-row{padding:9px 0}.desk-pace-box .ahead{color:#2f6849}.desk-pace-box .behind{color:#9a4f3c}
.desk-attorney-row:focus-visible,.desk-attorney-case:focus-visible,.desk-attorney-lanes button:focus-visible{outline:3px solid var(--desk-gold);outline-offset:2px}
.desk-settings-profile{display:flex;flex-direction:column;gap:4px;padding:14px 0}.desk-settings-profile span{font-size:13px;color:var(--desk-mu)}.desk-signout{color:#9a4f3c}
#touchDropOther[hidden]{display:none!important}
.desk-forecast-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.desk-forecast-kpis>div{padding:16px;border-radius:14px;background:#f1ede4}.desk-forecast-kpis span,.desk-forecast-kpis small,.desk-forecast-week span,.desk-forecast-week small{display:block;font-size:12px;color:var(--desk-mu)}.desk-forecast-kpis b{display:block;font:700 28px/1.3 Georgia,serif;margin:5px 0}.desk-forecast-kpis>div:last-child b{color:#a16e1e}.desk-forecast-chart svg{width:100%;max-height:340px}.desk-forecast-chart path{fill:none;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.desk-forecast-chart text{font:13px sans-serif;fill:#716b61}.desk-forecast-legend{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;font-size:12px}.desk-forecast-legend span:before{content:'';display:inline-block;width:16px;height:3px;margin:0 5px 3px 0;background:#3d5348}.desk-forecast-legend .flat:before{background:#6b819a}.desk-forecast-legend .seasonal:before{background:#bc872b}.desk-forecast-legend .goal:before{background:#b45c47}.desk-forecast-gap{font-size:13px;text-align:center;color:#716b61}.desk-forecast-week{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;padding:16px;margin-top:24px;border:1px solid var(--desk-line);border-radius:14px}.desk-forecast-week b{display:block;font:700 27px Georgia,serif;margin:5px 0}.desk-forecast-week label{font-size:12px}.desk-cash-forecast select,.desk-forecast-search input{display:block;min-height:40px;margin-top:5px;padding:8px 12px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink)}.desk-forecast-search{display:block;margin:20px 0 10px;font-size:13px}.desk-forecast-search input{box-sizing:border-box;width:100%;font-size:15px}.desk-forecast-tr{display:grid;grid-template-columns:minmax(0,1fr) 150px 130px;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid var(--desk-line);font-size:13px}.desk-forecast-tr>span:first-child{overflow-wrap:anywhere}.desk-forecast-tr>:not(:first-child){text-align:right}.desk-forecast-tr small{display:block;font-size:11px;color:var(--desk-mu);margin-top:4px}.desk-forecast-th{font-size:11px;color:var(--desk-mu)}
body.trp-desk[data-desk-layout="mobile"] .desk-forecast-kpis{gap:6px}body.trp-desk[data-desk-layout="mobile"] .desk-forecast-kpis>div{padding:10px 8px}body.trp-desk[data-desk-layout="mobile"] .desk-forecast-kpis b{font-size:22px}body.trp-desk[data-desk-layout="mobile"] .desk-forecast-kpis span,body.trp-desk[data-desk-layout="mobile"] .desk-forecast-kpis small{font-size:10px}body.trp-desk[data-desk-layout="mobile"] .desk-forecast-tr{grid-template-columns:minmax(0,1fr) 100px}body.trp-desk[data-desk-layout="mobile"] .desk-forecast-tr>:last-child{display:none}
.desk-reasons h3{margin:24px 0 10px;font-size:16px}.desk-reason-create>label,.desk-reason-merge>label{display:block;font-size:13px;margin-bottom:8px}.desk-reason-create>div,.desk-reason-merge{display:flex;gap:10px;flex-wrap:wrap}.desk-reason-merge{margin:16px 0;align-items:center}.desk-reason-merge>label{width:100%}.desk-reasons input:not([type=checkbox]),.desk-reasons select{min-height:42px;max-width:100%;padding:8px 12px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink);font:14px sans-serif}.desk-reason-create input{flex:1;min-width:180px}.desk-reason-choice{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 0;border-bottom:1px solid var(--desk-line);cursor:pointer}.desk-reason-choice>span{flex:1;overflow-wrap:anywhere}.desk-reasons small{display:block;color:var(--desk-mu);font-size:12px}.desk-reason-choice b{white-space:nowrap;font-size:13px}
body.trp-desk[data-desk-layout="mobile"] .desk-attorney-dialog{max-width:430px;padding:16px}
body.trp-desk[data-desk-layout="mobile"] .desk-insight-grid{grid-template-columns:1fr 1fr}body.trp-desk[data-desk-layout="mobile"] .desk-attorney-pattern{flex-direction:column;gap:4px}
body.trp-desk[data-desk-layout="mobile"] .desk-attorney-row{gap:10px}
body.trp-desk[data-desk-layout="mobile"] .desk-attorney-row small{font-size:11px}

/* Council improvements: compact work rows, explicit deadlines and stable data states. */
.desk-compact-hud{min-height:46px;padding:8px 14px;gap:12px;align-items:center;margin-bottom:6px}
.desk-compact-hud .desk-hud-stats{display:flex;gap:16px;align-items:center;font-size:12px}
.desk-compact-hud .desk-hud-stats b{display:inline;font:700 16px/1.2 sans-serif}
.desk-compact-hud .desk-goals-button{display:flex;align-items:center;gap:10px;min-height:36px;font-size:12px}
body.trp-desk:not(.desk-game) .desk-compact-hud{display:flex}
body.trp-desk:not(.desk-game) .desk-compact-hud .desk-hud-stats{display:none}
.desk-queue-tools{display:flex;flex-wrap:wrap;gap:8px}
.desk-attorney-filter{position:relative;min-width:150px;font:13px/1.4 sans-serif}
.desk-attorney-filter summary{cursor:pointer;box-sizing:border-box;min-height:40px;padding:10px 12px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card)}
.desk-attorney-options{position:absolute;z-index:20;top:calc(100% + 5px);left:0;width:min(390px,calc(100vw - 56px));padding:12px;border:1px solid var(--desk-line);border-radius:12px;background:var(--desk-card);box-shadow:0 8px 24px #0002}
.desk-attorney-options p{margin:0 0 10px;font-size:12px;color:var(--desk-mu)}
.desk-attorney-choices{max-height:260px;overflow:auto;overscroll-behavior:contain}
.desk-attorney-choices label{display:flex;align-items:center;gap:9px;min-height:40px;border-top:1px solid var(--desk-line);cursor:pointer}
.desk-attorney-choices input{flex-shrink:0;width:18px;height:18px;accent-color:var(--desk-sage-deep)}
.desk-attorney-choices span{flex:1;overflow-wrap:anywhere}.desk-attorney-choices small{white-space:nowrap;color:var(--desk-mu)}
.desk-attorney-actions{display:flex;gap:8px;margin-top:12px}.desk-attorney-actions button{min-height:40px;padding:8px 12px;border:1px solid var(--desk-line);border-radius:8px;background:var(--desk-card);color:var(--desk-ink);cursor:pointer}.desk-attorney-actions button:first-child{background:var(--desk-sage-deep);color:white}
.desk-attorney-history{margin:10px 0;font:13px/1.4 sans-serif}.desk-attorney-history summary{cursor:pointer;padding:10px 0;color:var(--desk-sage-deep)}
.desk-active-work{margin:12px 0}.desk-active-work h3,.desk-active-work h4{font:600 13px/1.4 sans-serif;margin:8px 0}.desk-active-work .desk-insight-grid{grid-template-columns:1fr 1fr;padding:8px 0}
.desk-attorney-dialog>small{display:block;margin:4px 0}
#deskCaseSearch{flex:1;min-width:190px;min-height:40px;padding:8px 12px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink);font:14px sans-serif}
.desk-updated{margin:0 0 8px;font-size:11px;color:var(--desk-mu)}
body.trp-desk[data-desk-layout="desktop"] #deskRows{display:block}
.desk-work-row{display:grid;grid-template-columns:minmax(180px,1.15fr) 100px minmax(150px,.85fr) minmax(220px,1.4fr);align-items:center;gap:16px;width:100%;padding:13px 12px!important;border-radius:0!important;border:0!important;border-top:1px solid var(--desk-line)!important;box-shadow:none!important;text-align:left;background:transparent}
.desk-work-row:hover{background:#eeeee4}
.desk-work-row>span{min-width:0;overflow-wrap:anywhere}.desk-work-row b{font:650 14px/1.35 sans-serif}.desk-work-row small{display:block;font:12px/1.4 sans-serif;color:var(--desk-mu);margin-top:4px}.desk-case-money{font:700 19px Georgia,serif}.desk-case-status{font:13px/1.35 sans-serif}
.desk-data-state{grid-column:1/-1;padding:12px;background:#fff0db;border-radius:8px;font-size:13px}.desk-data-state button{border:0;background:transparent;text-decoration:underline;min-height:32px}
.desk-case-meta{display:grid;gap:5px;margin:12px 0;font:12px/1.5 sans-serif;color:var(--desk-mu)}.desk-case-history{max-height:230px;overflow:auto}.desk-case-history article{border-top:1px solid var(--desk-line);padding:10px 0}.desk-case-history p{white-space:pre-wrap;margin:6px 0;font-size:13px}.desk-case-history small{display:block}
.desk-case-title{margin:0!important;font:700 23px/1.2 Georgia,serif!important;overflow-wrap:anywhere}
.desk-case-amount{font-size:13px;margin-top:7px}.desk-case-amount b{margin-left:6px;font-size:18px}
.desk-money-equation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);gap:7px;margin-top:14px;padding:12px 8px;border:1px solid var(--desk-line);border-radius:10px;align-items:center}
.desk-money-equation>div{display:flex;flex-direction:column;gap:5px;min-width:0}.desk-money-equation span{font:11px/1.35 sans-serif;color:var(--desk-mu)}.desk-money-equation b{font:650 13px/1.35 sans-serif;overflow-wrap:anywhere}.desk-money-equation .desk-math-sign{font-size:17px}
.desk-money-source{font:12px/1.4 sans-serif;color:var(--desk-mu);margin:7px 0}
.desk-notes .desk-case-history{max-height:360px;overscroll-behavior:contain;scrollbar-gutter:stable}
/* Edit / delete your own logged entries (2026-09-09). */
#collRunRoot .desk-history-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
#collRunRoot .desk-history-tools button{min-height:32px;padding:4px 12px;border:1px solid var(--desk-line);border-radius:999px;background:transparent;color:var(--desk-sage-deep);font:600 12px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer}
#collRunRoot .desk-history-tools button:hover{background:#eef2ec}
#collRunRoot .desk-history-tools button:disabled{opacity:.55;cursor:default}
#collRunRoot .desk-history-tools .desk-history-danger{color:#9a2f2f;border-color:#e6c5c5}
#collRunRoot .desk-history-tools .desk-history-danger:hover{background:#fbeeee}
#collRunRoot .desk-history-tools .desk-history-save{background:var(--desk-sage-deep);border-color:var(--desk-sage-deep);color:#fff}
#collRunRoot .desk-history-tools .desk-history-save:hover{filter:brightness(1.08);background:var(--desk-sage-deep)}
#collRunRoot .desk-history-editor{display:block;margin:8px 0 0}#collRunRoot .desk-history-editor>span{display:block;margin-bottom:4px;font:600 11px/1.3 sans-serif;color:var(--desk-mu);text-transform:uppercase;letter-spacing:.04em}
#collRunRoot .desk-history-editor textarea{box-sizing:border-box;display:block;width:100%;min-height:96px;resize:vertical;padding:10px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink);font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#collRunRoot .desk-history-editor textarea:focus-visible{outline:2px solid var(--desk-gold);outline-offset:1px}
#collRunRoot .desk-history-entry.is-editing,#collRunRoot .desk-history-entry.is-confirming{background:#f7f5ee;margin:0 -8px;padding:10px 8px;border-radius:10px}
#collRunRoot .desk-history-confirm{margin-top:8px;padding:10px 12px;border:1px solid #e6c5c5;border-radius:10px;background:#fdf4f4}
#collRunRoot .desk-history-confirm>span{display:block;font:13px/1.45 sans-serif;color:#5c2626}
#collRunRoot .desk-history-error{margin:6px 0 0!important;color:#9a2f2f;font-size:12px!important}
.desk-case-history:focus-visible{outline:2px solid var(--desk-gold);outline-offset:2px}
#collRunRoot #touchNextAction{height:auto;min-height:64px;resize:vertical;font-family:var(--cr-sans);line-height:1.4}
#collRunRoot #touchOutcomeOther[hidden],#collRunRoot #touchRoleOther[hidden]{display:none!important}
#deskCommitmentFields{border:1px solid var(--desk-line);border-radius:12px;margin:12px 0;padding:12px}#deskCommitmentFields[hidden],#deskAgreedDate[hidden]{display:none!important}
.desk-ops .desk-layout-toggle{display:inline-block}.desk-ops label{display:block;font-size:13px;margin:8px 0}.desk-ops input,.desk-ops textarea,.desk-ops select{box-sizing:border-box;display:block;max-width:100%;width:100%;min-height:42px;border:1px solid var(--desk-line);border-radius:8px;padding:8px;background:var(--desk-card);color:var(--desk-ink)}.desk-ops textarea{min-height:80px}.desk-escalation,.desk-target-row{border-top:1px solid var(--desk-line);padding:14px 0}.desk-escalation p{white-space:pre-wrap;font-size:13px;line-height:1.5}.desk-target-row{display:grid;grid-template-columns:minmax(150px,1fr) repeat(3,minmax(100px,1fr)) auto;gap:12px;align-items:center}
body.trp-desk[data-desk-layout="mobile"] .desk-compact-hud{flex-wrap:wrap;gap:3px;padding:7px 10px}body.trp-desk[data-desk-layout="mobile"] .desk-compact-hud .desk-hud-stats{gap:14px}body.trp-desk[data-desk-layout="mobile"] .desk-compact-hud .desk-goals-button{margin-left:auto;font-size:11px;gap:6px}
body.trp-desk[data-desk-layout="mobile"] .desk-work-row{grid-template-columns:1fr auto;gap:8px;padding:14px 0!important}body.trp-desk[data-desk-layout="mobile"] .desk-case-status,body.trp-desk[data-desk-layout="mobile"] .desk-case-action{grid-column:1/-1}body.trp-desk[data-desk-layout="mobile"] .desk-case-status small{display:inline;margin-left:8px}body.trp-desk[data-desk-layout="mobile"] .desk-target-row{display:block}
.desk-book-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
body.trp-desk[data-desk-layout="desktop"] .desk-queue{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 14px;margin-top:0;padding:12px 14px}
body.trp-desk[data-desk-layout="desktop"] .desk-qh{grid-column:1/-1;margin:0}
body.trp-desk[data-desk-layout="desktop"] #collRunRoot .desk-qh h2{margin:4px 0;font-size:16px;color:var(--desk-ink)}
body.trp-desk[data-desk-layout="desktop"] .desk-book-filters{grid-column:1;grid-row:2;display:flex;align-items:center;margin:4px 0}
body.trp-desk[data-desk-layout="desktop"] .desk-queue-tools{grid-column:2;grid-row:2;margin:4px 0}
body.trp-desk[data-desk-layout="desktop"] .desk-updated,body.trp-desk[data-desk-layout="desktop"] #deskRows{grid-column:1/-1}
body.trp-desk[data-desk-layout="mobile"] .desk-work-row{padding:12px!important;margin-bottom:8px;border:1px solid var(--desk-line)!important;border-radius:12px!important;background:#fff}
@media(min-width:769px) and (max-width:1100px){body.trp-desk[data-desk-layout="desktop"] .desk-queue-tools{grid-column:1/-1;grid-row:3}body.trp-desk[data-desk-layout="desktop"] .desk-work-row{grid-template-columns:minmax(150px,1fr) 80px minmax(130px,1fr) minmax(170px,1fr)}}


/* Collector Home: monthly seasons and evidence-backed quests. */
.desk-rank-open{appearance:none;display:block;width:100%;padding:0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit;min-height:36px}
.desk-rank-open:focus-visible{outline:3px solid #e9bd65;outline-offset:5px;border-radius:4px}
.desk-engagement{max-width:1000px;margin:0 auto;display:grid;gap:14px;font:400 1rem/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#182033}
.desk-game-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:8px 0}
.desk-game-heading h1{font:750 1.6rem/1.2 system-ui;margin:0 0 6px}
.desk-game-heading p,.desk-game-card p{margin:6px 0;color:#61718a;font-size:.875rem;line-height:1.5}
.desk-game-primary,.desk-home-search button{background:#107c73;color:white;border:0;border-radius:10px;padding:12px 16px;min-height:44px;font:650 .875rem/1.3 system-ui;cursor:pointer}
.desk-home-search{padding:16px 18px;background:white;border:1px solid #dee5ed;border-radius:14px}
.desk-home-search label{display:block;font-size:.875rem;font-weight:650;margin-bottom:8px}
.desk-home-search>div{display:flex;gap:8px}
.desk-home-search input{flex:1;min-width:0;width:100%;font:400 1rem/1.4 system-ui;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;color:#182033;background:white}
.desk-game-card{background:#fff;border:1px solid #dee5ed;border-radius:16px;padding:20px;box-shadow:0 2px 4px #18203305}
.desk-game-card h2{font:720 1.125rem/1.4 system-ui;margin:0 0 8px;color:#182033}
.desk-game-card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.desk-game-card-head h2{margin:0}
.desk-game-card-head h2 span{display:inline-block;margin-left:5px;border-radius:20px;padding:3px 9px;color:#a25b00;background:#fff6e5;text-transform:uppercase;font:700 .75rem/1.5 system-ui}
.desk-game-card-head>b{color:#107c73;font-size:.875rem}
.desk-game-card button:not(.desk-quest-row):not(.desk-game-actions button){font:600 .875rem/1.4 system-ui;border:0;background:transparent;color:#107c73;min-height:44px;padding:8px;cursor:pointer}
.desk-quest-row{display:block;width:100%;font:400 1rem/1.5 system-ui;color:inherit;text-align:left;padding:15px 0;border:0;border-top:1px solid #edf1f6;background:white;cursor:pointer}
.desk-quest-row:first-of-type{margin-top:14px}
.desk-quest-row>span:first-child{display:flex;justify-content:space-between;gap:12px}
.desk-quest-row strong{white-space:nowrap;font-variant-numeric:tabular-nums}
.desk-quest-row small{font-size:.875rem;font-weight:400;color:#61718a}
.desk-quest-track{display:block;height:6px;overflow:hidden;border-radius:8px;background:#e3e8f0;margin:12px 0 6px}
.desk-quest-track i{display:block;height:100%;border-radius:inherit;background:#107c73}
.desk-team-pulse{display:flex;justify-content:space-between;align-items:center;gap:14px}
.desk-team-pulse b{font-size:1rem}
.desk-week-recap{background:linear-gradient(135deg,#f0fcf9,#fff);border-color:#97e9db}
.desk-recap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.desk-recap-grid>div{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fff;border:1px solid #dce4ef;border-radius:12px;padding:12px 6px;text-align:center;min-width:0}
.desk-recap-grid b{font-size:clamp(1rem,3.9vw,1.6rem);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.desk-recap-grid span{font-size:.875rem;color:#61718a}
.desk-game-recap-note{background:#e8faf4;border-radius:10px;padding:12px;color:#107c73!important;font-weight:650}
.desk-game-actions button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px 0;text-align:left;background:transparent;border:0;border-bottom:1px solid #edf1f6;cursor:pointer;color:inherit;font:400 1rem/1.5 system-ui}
.desk-game-actions button:last-child{border-bottom:0}
.desk-game-actions b{display:block;font-weight:500}
.desk-game-actions small{display:block;font-size:.875rem;color:#61718a}
.desk-game-actions strong{white-space:nowrap;font-size:.875rem;color:#107c73;border:1px solid #dce4ef;border-radius:10px;padding:8px 10px}
.desk-game-rules>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;font-size:.875rem}
.desk-game-rules b{white-space:nowrap;color:#107c73}
.desk-log-call .desk-game-actions{margin-bottom:6px;border-bottom:1px solid #edf1f6}
.desk-log-call .desk-game-actions button:last-child{border-bottom:0}
.desk-game-subhead{margin:16px 0 4px;font:700 .75rem/1.5 system-ui;letter-spacing:.06em;text-transform:uppercase;color:#61718a}
.desk-log-call .desk-game-rules>div{border-top:1px solid #edf1f6}
.desk-log-call .desk-game-rules>div:first-child{border-top:0}
.desk-game-cash{padding:16px 20px;border-radius:14px;background:#fff4d9;border:1px solid #ebc870;color:#755000}
.desk-game-cash b,.desk-game-cash span{display:block}
.desk-game-cash span{font-size:.875rem}
.desk-levels-dialog{font:400 1rem/1.5 system-ui}
.desk-levels-dialog .desk-xp-ladder{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;margin:18px 0;gap:8px}
.desk-levels-dialog .desk-xp-level{font-size:.875rem;gap:8px;padding:12px;flex-wrap:wrap}
.desk-levels-dialog .desk-xp-level.current{background:#e6f7f1;border-color:#107c73;color:#0b655c}
.desk-levels-dialog .desk-note{font-size:.875rem;line-height:1.6}
.desk-game-leaderboard{list-style:none;padding:0;margin:0}
.desk-game-leaderboard li{display:flex;align-items:center;gap:14px;padding:12px 8px;border-bottom:1px solid var(--desk-line);font-size:.875rem}
.desk-game-leaderboard li span{flex:1;min-width:0;overflow-wrap:anywhere}
.desk-game-leaderboard li.is-me{background:#e6f7f1;border-radius:8px}
body.trp-desk[data-desk-tab="home"] #collRunRoot,body.trp-desk[data-desk-tab="home"] #deskChrome{--desk-bg:#f5f7f8;--desk-card:#fff;--desk-line:#dee5ed;--desk-ink:#182033;--desk-sage-deep:#107c73}
body.trp-desk[data-desk-tab="home"] #deskHud{max-width:1000px;margin-left:auto;margin-right:auto}
body.trp-desk[data-desk-tab="home"] .desk-rank-hud{background:#fff!important;color:#182033!important;border:1px solid #dee5ed;padding:18px;border-radius:16px}
body.trp-desk[data-desk-tab="home"] .desk-rank-head b,body.trp-desk[data-desk-tab="home"] .desk-rank-head strong{font:750 1.125rem/1.3 system-ui}
body.trp-desk[data-desk-tab="home"] .desk-rank-head strong{color:#107c73}
body.trp-desk[data-desk-tab="home"] .desk-rank-card p{font-size:.875rem;line-height:1.6;color:#61718a}
body.trp-desk[data-desk-tab="home"] .desk-rank-track{background:#e3e8f0;height:6px}
body.trp-desk[data-desk-tab="home"] .desk-rank-track i{background:#107c73}
body.trp-desk[data-desk-tab="home"] .desk-goals-button{color:#182033;border-color:#dee5ed!important}
body.trp-desk[data-desk-tab="home"] #deskNav{background:#fff}
body.trp-desk[data-desk-tab="home"] #deskNav button.on{color:#107c73}
.desk-nav button{font-size:.875rem;line-height:1.3;justify-content:center}
@media(max-width:500px){.desk-game-card{padding:16px}.desk-team-pulse{align-items:flex-start;flex-wrap:wrap}.desk-recap-grid{gap:6px}.desk-recap-grid span{font-size:.8125rem}.desk-game-heading{gap:8px}.desk-game-primary{width:100%}.desk-game-actions button{gap:8px}.desk-game-actions strong{padding:8px}.desk-game-rules>div{gap:8px}.desk-levels-dialog .desk-xp-ladder{grid-template-columns:1fr}.desk-nav button{font-size:.8125rem}.desk-game-heading h1{font-size:1.4rem}body.trp-desk[data-desk-tab="home"] #deskHud{margin-left:14px;margin-right:14px}}

/* Header layout (2026-09-09): scorecard lives in the top bar on every tab; phone layout stacks it. */
body.trp-desk[data-desk-tab] .desk-top #deskHud{max-width:none;margin:0}
body.trp-desk[data-desk-tab] .desk-top .desk-rank-hud{padding:8px 14px;border-radius:12px;gap:16px;min-height:0}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-brand{align-self:center}
.desk-top .desk-rank-head b{font-size:15px}
.desk-top .desk-rank-track{margin:5px 0 3px}
.desk-top .desk-rank-card p{line-height:1.3}
.desk-top .desk-goals-button{min-height:44px}
.desk-top .desk-attorney-search{margin:0}
.desk-brand-menu{max-width:calc(100vw - 28px)}
body.trp-desk[data-desk-layout="mobile"] .desk-top{grid-template-columns:minmax(0,1fr) auto;max-width:430px;margin:0 auto;padding:8px 14px;gap:4px 12px}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-brand{grid-column:1;grid-row:1}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-tools{grid-column:2;grid-row:1}
body.trp-desk[data-desk-layout="mobile"] .desk-top #deskHud{grid-column:1/-1;grid-row:2}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-rank-hud .desk-goals-button{margin-top:6px;padding-top:8px}
/* Stacked layout: the week goal spans the full card — label left, amount right, progress + bar across. */
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goals-button{text-align:left;gap:6px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-main{justify-content:flex-start;align-items:baseline;flex-wrap:wrap;gap:6px 10px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-main>span:first-child{font-size:12px;text-transform:uppercase;letter-spacing:.05em;opacity:.85}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-main b{margin-left:auto;font-size:22px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goals-link{font-size:12px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-progress{grid-template-columns:auto auto auto minmax(0,1fr);justify-content:stretch;gap:5px 6px;font-size:11px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-progress>span{font-size:11px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-progress strong{justify-self:end;font-size:13px}
body.trp-desk[data-desk-layout="mobile"] .desk-rank-hud .desk-goal-track{height:5px;margin-top:2px}
body.trp-desk[data-desk-tab="home"] .desk-goal-track{background:#e3e8f0}
body.trp-desk[data-desk-tab="home"] .desk-goal-track i{background:#107c73}
body.trp-desk[data-desk-tab="home"][data-desk-layout="mobile"] .desk-rank-hud .desk-goals-button{border-top-color:#dee5ed}
@media(max-width:768px){
  .desk-top{padding-top:calc(8px + env(safe-area-inset-top,0px))}
  .desk-brand>div span{font-size:12px}
}

/* 2026-09-09 (afternoon): season beside the brand, lane explainers, the case-manager call sheet and the Who-to-call card. */
.desk-top{grid-template-columns:auto auto minmax(0,1fr) auto}
.desk-season{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:0;padding:0 14px;border-left:1px solid var(--desk-line)}
.desk-season b{font:700 14px/1.15 -apple-system,sans-serif;color:var(--desk-ink);white-space:nowrap}
.desk-season span{font:12px/1.2 -apple-system,sans-serif;color:var(--desk-mu);white-space:nowrap}
/* Phone-width header: brand, momentum, Refresh all on the first row (Angel 2026-09-09) — the momentum
   block sits in the gap the brand leaves, right-aligned against Refresh, and shows the month alone. */
body.trp-desk[data-desk-layout="mobile"] .desk-top{grid-template-columns:auto minmax(0,1fr) auto}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-brand{grid-column:1;grid-row:1}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-season{grid-column:2;grid-row:1;align-items:flex-end;text-align:right;gap:1px;padding:0 8px;border-left:0}
body.trp-desk[data-desk-layout="mobile"] .desk-top .desk-tools{grid-column:3;grid-row:1}
body.trp-desk[data-desk-layout="mobile"] .desk-top #deskHud{grid-column:1/-1;grid-row:2}
body.trp-desk[data-desk-layout="mobile"] .desk-season-reset{display:none}
/* Nothing in the header may overflow: the month truncates before the brand does. */
.desk-season>*{max-width:100%;overflow:hidden;text-overflow:ellipsis}
/* The host stylesheet gives #collRunRoot h2 an 18px top margin, which left a dead band above
   "Today's quest" inside its own tile. Card headings own their spacing (Angel 2026-09-09). */
#collRunRoot .desk-game-card h2,#collRunRoot .desk-game-card-head h2,#collRunRoot .desk-game-card h3{margin-top:0}
#collRunRoot .desk-quest-card{padding-top:16px}
body.trp-desk[data-desk-layout="mobile"] .desk-brand,body.trp-desk[data-desk-layout="mobile"] .desk-brand>div{min-width:0}
body.trp-desk[data-desk-layout="mobile"] .desk-brand>div b,body.trp-desk[data-desk-layout="mobile"] .desk-brand>div span{overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){.desk-season-reset{display:none}.desk-season{padding:0 8px}}
@media(max-width:380px){.desk-season b{font-size:12px}.desk-season span{font-size:10px}}
@media(max-width:1100px){.desk-season b{font-size:13px}.desk-season span{font-size:11px}}
#collRunRoot .desk-quest-card .desk-quest-start{display:block;width:100%;margin-top:14px;padding:12px 16px;min-height:44px;border:0;border-radius:10px;background:#107c73;color:#fff;font:650 .875rem/1.3 system-ui;cursor:pointer}
.desk-qh h2{display:flex;align-items:center;gap:8px}
.desk-lane-info{flex:none;width:20px;height:20px;padding:0;border:1px solid var(--desk-line);border-radius:50%;background:transparent;color:var(--desk-mu);font:700 12px/1 Georgia,serif;font-style:italic;cursor:pointer}
.desk-lane-info:hover,.desk-lane-info[aria-expanded="true"]{background:var(--desk-sage-deep);border-color:var(--desk-sage-deep);color:#fff}
.desk-lane-info:focus-visible{outline:2px solid var(--desk-gold);outline-offset:2px}
.desk-lane-help{position:absolute;z-index:30;top:calc(100% + 8px);left:0;width:min(360px,calc(100vw - 48px));padding:12px 14px;border:1px solid var(--desk-line);border-radius:12px;background:var(--desk-card);color:var(--desk-ink);box-shadow:0 10px 30px rgba(44,42,38,.18);font:400 13px/1.5 -apple-system,sans-serif;text-align:left}
.desk-lane-help[hidden]{display:none}.desk-lane-help b{display:block;margin-bottom:4px;font:700 14px/1.3 -apple-system,sans-serif}.desk-lane-help p{margin:0}
.desk-qh{position:relative}
.desk-lane-tag{display:inline-block;margin-right:6px;padding:1px 7px;border-radius:999px;background:#e8eee5;color:#354e3e;font:700 10px/1.5 -apple-system,sans-serif;text-transform:uppercase;letter-spacing:.04em;font-style:normal}
.desk-call-sheet{margin:12px 14px 0;padding:14px 16px;border-radius:16px;background:var(--desk-sage-deep);color:#f4f7f4}
#collRunRoot .desk-call-sheet .desk-k{color:#d7e0d5}
.desk-call-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
/* The host stylesheet makes #collRunRoot h2 uppercase and muted, and the Pulse theme paints every
   heading with !important — this card is dark, so the name has to override both. */
#collRunRoot .desk-call-sheet h2{margin:2px 0 4px;font:700 22px/1.15 Palatino,Georgia,serif;color:#fff!important;text-transform:none;letter-spacing:0}
#collRunRoot .desk-call-sheet p{margin:0;font:13px/1.4 -apple-system,sans-serif;color:#e4ebe2}
#collRunRoot .desk-call-sheet a{color:#fff;font-weight:700;text-decoration:underline}
#collRunRoot .desk-call-sheet .desk-note{margin-top:10px;color:#d7e0d5;font-size:12.5px}
.desk-call-sheet-done{flex:none;background:#fff;color:var(--desk-sage-deep);border-color:#fff;font-weight:700}
.desk-queue-call-sheet{margin-top:8px}
body.trp-desk[data-desk-tab="home"] .desk-call-sheet{background:#107c73}
#collRunRoot .desk-who-to-call{margin:12px 0 4px;padding:12px 14px;border:1px solid var(--desk-line);border-radius:14px;background:#f7f5ee}
#collRunRoot .desk-who-to-call .desk-wtc-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
#collRunRoot .desk-who-to-call .desk-wtc-edit,#collRunRoot .desk-wtc-link{border:0;background:transparent;padding:0;min-height:0;color:var(--desk-sage-deep);font:600 12px/1.3 -apple-system,sans-serif;text-decoration:underline;cursor:pointer}
#collRunRoot .desk-wtc-firm{margin:4px 0 8px;font:700 17px/1.2 Georgia,serif;color:var(--desk-ink)}
#collRunRoot .desk-wtc-row{display:flex;align-items:flex-start;gap:10px;padding:6px 0;border-top:1px solid rgba(44,42,38,.08);font:13px/1.45 -apple-system,sans-serif;color:var(--desk-ink)}
#collRunRoot .desk-wtc-row:first-of-type{border-top:0}
#collRunRoot .desk-wtc-row>span:not(.desk-wtc-ic){min-width:0;flex:1}
#collRunRoot .desk-wtc-ic{flex:none;width:18px;text-align:center;color:var(--desk-mu);font-size:14px;line-height:1.4}
#collRunRoot .desk-wtc-row small{display:block;color:var(--desk-mu);font-size:11.5px;line-height:1.35}
#collRunRoot .desk-wtc-phone{font:700 17px/1.3 -apple-system,sans-serif;color:var(--desk-sage-deep);text-decoration:none}
#collRunRoot .desk-wtc-phone:hover{text-decoration:underline}
#collRunRoot .desk-wtc-actions{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end;flex:none;max-width:48%}
#collRunRoot .desk-wtc-actions button{min-height:30px;padding:4px 10px;border:1px solid var(--desk-line);border-radius:999px;background:#fff;color:var(--desk-sage-deep);font:600 12px/1.2 -apple-system,sans-serif;cursor:pointer}
#collRunRoot .desk-wtc-actions button:hover{background:#eef2ec}
#collRunRoot .desk-wtc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
#collRunRoot .desk-wtc-chip{min-height:28px;padding:3px 10px;border:1px solid var(--desk-line);border-radius:999px;background:#fff;color:var(--desk-ink);font:600 12px/1.2 -apple-system,sans-serif;cursor:pointer}
#collRunRoot .desk-wtc-chip small{display:inline;color:var(--desk-mu);font-size:11px}
#collRunRoot .desk-wtc-chip:hover{border-color:var(--desk-sage-deep);color:var(--desk-sage-deep)}
#collRunRoot .desk-wtc-chip-all{background:transparent;border-style:dashed;color:var(--desk-sage-deep)}
#collRunRoot .desk-wtc-missing span{color:var(--desk-mu)}
#collRunRoot .desk-who-to-call.is-editing{background:#fffdf8}
#collRunRoot .desk-wtc-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px;margin-top:6px}
#collRunRoot .desk-wtc-form label{display:block;font:600 11px/1.3 -apple-system,sans-serif;color:var(--desk-mu);text-transform:uppercase;letter-spacing:.04em}
#collRunRoot .desk-wtc-form label:nth-child(2),#collRunRoot .desk-wtc-form label:last-child{grid-column:1/-1}
#collRunRoot .desk-wtc-form input{box-sizing:border-box;display:block;width:100%;margin-top:4px;min-height:40px;padding:8px 10px;border:1px solid var(--desk-line);border-radius:10px;background:#fff;color:var(--desk-ink);font:14px/1.3 -apple-system,sans-serif;text-transform:none;letter-spacing:0}
#collRunRoot .desk-wtc-form input:focus-visible{outline:2px solid var(--desk-gold);outline-offset:1px}
#collRunRoot .desk-who-to-call .desk-note{margin:8px 0 2px}
body.trp-desk[data-desk-layout="mobile"] #collRunRoot .desk-wtc-form{grid-template-columns:1fr}
body.trp-desk[data-desk-layout="mobile"] #collRunRoot .desk-wtc-actions{max-width:none;justify-content:flex-start;flex-basis:100%}
body.trp-desk[data-desk-layout="mobile"] #collRunRoot .desk-wtc-ask{flex-wrap:wrap}

/* Display choices are always reachable, including a wide layout on a phone. */
.desk-view-control{position:relative;flex:none}
.desk-view-button{display:flex;align-items:center;gap:4px;min-height:44px;padding:0 8px;border:1px solid var(--desk-line);border-radius:10px;background:var(--desk-card);color:var(--desk-ink);font:650 12px/1.2 -apple-system,sans-serif;cursor:pointer;white-space:nowrap}
.desk-view-button:focus-visible,.desk-view-choices button:focus-visible,.desk-layout-setting select:focus-visible{outline:3px solid var(--desk-gold);outline-offset:2px}
.desk-view-choices{position:absolute;top:calc(100% + 8px);right:0;z-index:45;width:272px;max-width:calc(100vw - 28px);padding:10px;border:1px solid var(--desk-line);border-radius:14px;background:var(--desk-card);box-shadow:0 14px 36px rgba(44,42,38,.2);color:var(--desk-ink)}
.desk-view-choices[hidden]{display:none}
.desk-view-choices>b{display:block;padding:5px 8px 8px;font:700 13px/1.3 -apple-system,sans-serif}
.desk-view-choices button{display:block;width:100%;min-height:54px;padding:9px 10px;border:1px solid transparent;border-radius:10px;background:transparent;color:inherit;text-align:left;cursor:pointer}
.desk-view-choices button[aria-pressed="true"]{border-color:#bed0c3;background:#e8eee5}
.desk-view-choices button span{display:block;font:650 14px/1.3 -apple-system,sans-serif}
.desk-view-choices button small{display:block;margin-top:3px;font:12px/1.35 -apple-system,sans-serif;color:var(--desk-mu)}
.desk-view-choices p{margin:8px 8px 2px;font:12px/1.4 -apple-system,sans-serif;color:var(--desk-mu)}
.desk-layout-setting select{min-height:44px;max-width:170px;padding:6px 10px;border:1px solid var(--desk-line);border-radius:9px;background:var(--desk-card);color:var(--desk-ink);font:600 14px/1.3 -apple-system,sans-serif}
body.trp-desk[data-desk-layout="mobile"] .desk-tools{gap:2px}
body.trp-desk[data-desk-layout="mobile"] .desk-view-button{padding:0 6px}
/* Keep the header and bottom navigation reachable while the wide workspace scrolls. */
@media(max-width:768px){
  body.trp-desk[data-desk-layout="desktop"] #collRunRoot{max-width:none;overflow-x:auto;overscroll-behavior-x:contain}
  body.trp-desk[data-desk-layout="desktop"] #collRunView{min-width:1100px}
  body.trp-desk[data-desk-layout="desktop"] .desk-top{grid-template-columns:auto minmax(0,1fr) auto;gap:4px 8px;padding:8px 14px}
  body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-brand{grid-column:1;grid-row:1}
  body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-season{grid-column:2;grid-row:1;padding:0 4px;border:0;text-align:right;align-items:flex-end}
  body.trp-desk[data-desk-layout="desktop"] .desk-season-reset{display:none}
  body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-tools{grid-column:3;grid-row:1;gap:2px}
  body.trp-desk[data-desk-layout="desktop"] .desk-refresh span{display:none}
  body.trp-desk[data-desk-layout="desktop"] .desk-top #deskHud{grid-column:1/-1;grid-row:2}
  body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-rank-hud{display:block}
  body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-goals-button{width:100%;margin-top:8px;padding:8px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.18)}
}

body.trp-desk[data-desk-layout="mobile"] .desk-top{box-sizing:border-box;width:100%}


/* Status workspace and compact, opt-in XP. */
.desk-xp-collapse{min-width:0;flex:1}
.desk-xp-collapse>summary,.desk-xp-panel>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;font:650 14px/1.3 system-ui;list-style:none}
.desk-xp-collapse>summary::after,.desk-xp-panel>summary::after{content:'+';margin-left:auto}
.desk-xp-collapse[open]>summary::after,.desk-xp-panel[open]>summary::after{content:'−'}
.desk-xp-collapse>summary::-webkit-details-marker,.desk-xp-panel>summary::-webkit-details-marker{display:none}
.desk-xp-collapse>summary:focus-visible,.desk-xp-panel>summary:focus-visible{outline:2px solid var(--desk-gold);outline-offset:2px}
.desk-xp-collapse .desk-rank-card{padding-bottom:8px}
body.trp-desk[data-desk-layout="desktop"] #collRunRoot{box-sizing:border-box;margin:0 auto;width:100%;max-width:1600px;padding:0 24px}
body.trp-desk[data-desk-layout="desktop"] #collRunView{width:100%;max-width:none;min-width:0}
body.trp-desk[data-desk-layout="desktop"] .desk-pad{padding:20px 0}
body.trp-desk[data-desk-layout="desktop"] .desk-queue{display:flex;flex-direction:column;gap:12px;padding:20px}
body.trp-desk[data-desk-layout="desktop"] .desk-queue-tools{display:flex;flex-wrap:wrap;width:100%;gap:10px}
body.trp-desk[data-desk-layout="desktop"] .desk-book-filters{align-self:flex-start}
body.trp-desk[data-desk-layout="desktop"] .desk-work-row{grid-template-columns:minmax(160px,1.3fr) minmax(90px,.6fr) minmax(150px,1fr) minmax(180px,1.2fr);gap:20px}
body.trp-desk[data-desk-layout="desktop"] #deskNav{box-sizing:border-box;max-width:1600px;margin:0 auto}
body.trp-desk[data-desk-layout="mobile"] .desk-queue-tools>*{box-sizing:border-box;max-width:100%;min-width:0}
@media(max-width:1100px){
 body.trp-desk[data-desk-layout="desktop"] .desk-top{grid-template-columns:minmax(0,1fr) auto}
 body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-brand{grid-column:1;grid-row:1}
 body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-tools{grid-column:2;grid-row:1}
 body.trp-desk[data-desk-layout="desktop"] .desk-top .desk-season{display:none}
 body.trp-desk[data-desk-layout="desktop"] .desk-top #deskHud{grid-column:1/-1;grid-row:2}
}
@media(max-width:768px){
 body.trp-desk[data-desk-layout="desktop"] #collRunRoot{padding:0 12px;overflow-x:auto}
 body.trp-desk[data-desk-layout="desktop"] #collRunView{min-width:1000px}
}
