/* ============================================================================================================
   Builder theme · "Matchday" (2026-10-17)
   Loaded after the builder's own <style> blocks, so every rule here wins without touching markup, ids or JS.
   Goal: a tool the sales staff trust as the source of truth on sight. Calm surfaces, one obvious action per
   screen, real depth, crisp type, readable at Chase's half-width window (1100–1240px).
   Contract with other code: old token names (--bg --bg2 --bg3 --fg --fg2 --fg3 --line --line2 --ok --warn
   --bad --orange --green --r --ink) keep their meaning; new tokens only add. No class or id is renamed.
   ============================================================================================================ */

:root{
  /* palette: club ink, pitch green, sunset orange, trophy gold */
  --ink:#071B1A; --ink2:#0D2A27; --ink3:#14403A;
  --green:#215245; --green-50:#E8F2EE;
  --orange:#EB5E2A; --orange-600:#D24E1D; --orange-50:#FFF2EB; --orange-100:#FDE1D3;
  --gold:#F2C66D; --gold-50:#FFF8E6;
  /* surfaces */
  --bg:#F3F6F4; --bg2:#FFFFFF; --bg3:#EBF0ED; --bg4:#F8FAF9;
  --fg:#0A1F1D; --fg2:#3A514D; --fg3:#677D79;
  --line:#DFE7E3; --line2:#C6D3CE;
  --ok:#17794A; --ok-50:#E5F5EC; --warn:#9A5A00; --warn-50:#FFF5E2; --bad:#B3261E; --bad-50:#FDECEA;
  /* shape + depth */
  --r:10px; --r-sm:7px; --r-lg:14px; --r-xl:18px;
  --sh-1:0 1px 2px rgba(7,27,26,.06),0 1px 1px rgba(7,27,26,.04);
  --sh-2:0 2px 6px rgba(7,27,26,.06),0 8px 24px -8px rgba(7,27,26,.12);
  --sh-3:0 12px 40px -12px rgba(7,27,26,.35),0 4px 12px rgba(7,27,26,.08);
  --ring:0 0 0 3px rgba(235,94,42,.28);
  --ease:cubic-bezier(.2,.7,.2,1);
  --display:"Kenyan Coffee","Arial Narrow",sans-serif;
  --body:Poppins,"Helvetica Neue",Arial,sans-serif;
}

/* ---------- base ---------- */
html{background:var(--bg)}
body{background:var(--bg);color:var(--fg);font-size:14.5px;line-height:1.5;text-rendering:optimizeLegibility}
::selection{background:var(--orange-100)}
a{text-underline-offset:2px;text-decoration-thickness:1px}
.main{padding:24px clamp(16px,2.6vw,36px) 72px;gap:20px;max-width:1480px}
.main>*{animation:th-rise .28s var(--ease) both}
@keyframes th-rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
h1{font-size:2.15rem;letter-spacing:.012em;line-height:1}
h2{font-weight:700;letter-spacing:-.005em}
.tag{color:var(--fg3)}
:focus-visible{outline:none;box-shadow:var(--ring)!important;border-radius:var(--r-sm)}

/* ---------- sidebar: a calm dark rail with icons and one bright "you are here" ---------- */
.nav{background:linear-gradient(180deg,var(--ink2) 0%,var(--ink) 38%,#051413 100%);box-shadow:inset -1px 0 0 rgba(255,255,255,.06);gap:16px}
@media (min-width:1101px){.nav.nav{width:176px;padding:18px 10px 14px}}
.nav .brand{padding:2px 4px 12px;border-bottom:1px solid rgba(255,255,255,.07);font-size:1.12rem}
.nav .brand img{width:36px;height:36px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.4))}
.nav .brand small{color:#8FA6A2;letter-spacing:.1em;font-size:.58rem}
.nav .links{gap:3px}
.nav .links>a,.nav details a{position:relative;display:flex;align-items:center;gap:10px;white-space:normal;line-height:1.2;transition:background .15s,color .15s}
.nav .links>a{padding:9px 10px;font-size:.92rem;font-weight:600;color:#C9D8D3;border-radius:9px}
.nav .links>a:hover,.nav details a:hover{background:rgba(255,255,255,.07);color:#fff}
.nav .links>a[aria-current="page"],.nav details a[aria-current="page"]{background:var(--orange);color:#0B1C1B;box-shadow:0 6px 18px -6px rgba(235,94,42,.7),inset 0 1px 0 rgba(255,255,255,.25)}
.nav .links>a[aria-current="page"]::before,.nav details a[aria-current="page"]::before{background:#0B1C1B;opacity:1}
.nav details{margin-top:14px}
.nav details summary{padding:6px 10px;color:#7E9692;font-size:.62rem;letter-spacing:.18em;border-radius:6px}
.nav details summary:hover{color:#C9D8D3}
.nav details a{padding:7px 10px 7px 10px;font-size:.85rem;color:#B5C7C2;border-radius:8px}
.nav details a.sub{padding-left:38px;font-size:.8rem}
.nav .links>a.help{margin-top:14px;color:#8FA6A2}
.nav .me{border-top:1px solid rgba(255,255,255,.08);padding:12px 6px 0}
.nav .me .lvl{color:var(--gold)}
/* icons: one quiet glyph per destination, drawn from the href so no markup changes */
.nav .links>a::before,.nav details a::before{content:"";flex:none;width:17px;height:17px;background:currentColor;opacity:.78;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.nav details a.sub::before{display:none}
/* a default glyph for any page the nav gains later (other code injects links), so nothing renders as a blank square */
.nav .links>a,.nav details a{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.5'/%3E%3C/svg%3E")}
.nav a[href="#/proposals"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9h18M8 14h4'/%3E%3C/svg%3E")}
.nav a[href="#/pipeline"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18l-7 8v6l-4-2v-4z'/%3E%3C/svg%3E")}
.nav a[href^="/builder/renewal-plan"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3C/svg%3E")}
.nav a[href="#/activity"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h4l3-8 4 16 3-8h4'/%3E%3C/svg%3E")}
.nav a[href="#/ops"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6h11M9 12h11M9 18h11'/%3E%3Cpath d='m3 6 1.5 1.5L7 5M3 12l1.5 1.5L7 11M3 18l1.5 1.5L7 17'/%3E%3C/svg%3E")}
.nav a[href="#/gamedays"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E")}
.nav a[href="#/inventory"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 3 9 5-9 5-9-5z'/%3E%3Cpath d='m3 13 9 5 9-5'/%3E%3C/svg%3E")}
.nav a[href="#/media"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Ccircle cx='9' cy='10' r='2'/%3E%3Cpath d='m21 17-5-5-9 8'/%3E%3C/svg%3E")}
.nav a[href="#/settings"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v14H4z'/%3E%3Cpath d='M8 9h8M8 13h5'/%3E%3C/svg%3E")}
.nav a[href="#/recap"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M17 6h3v2a3 3 0 0 1-3 3M7 6H4v2a3 3 0 0 0 3 3'/%3E%3C/svg%3E")}
.nav a[href="#/contracts"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H6v18h12V7z'/%3E%3Cpath d='M14 3v4h4M9 13h6M9 17h4'/%3E%3C/svg%3E")}
.nav a[href="#/team"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20a6.5 6.5 0 0 1 13 0'/%3E%3Cpath d='M16 4.5a3.5 3.5 0 0 1 0 7M18 14.5a6.5 6.5 0 0 1 3.5 5.5'/%3E%3C/svg%3E")}
.nav a[href="#/archive"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='5' rx='1'/%3E%3Cpath d='M5 9v11h14V9M10 13h4'/%3E%3C/svg%3E")}
.nav a[href="#/training"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m10 8.5 6 3.5-6 3.5z'/%3E%3C/svg%3E")}
.nav a[href="#/command"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 14l4-4'/%3E%3Cpath d='M3.5 18a9 9 0 1 1 17 0z'/%3E%3C/svg%3E")}
.nav a[href="#/margin"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5 5 19'/%3E%3Ccircle cx='7' cy='7' r='2.5'/%3E%3Ccircle cx='17' cy='17' r='2.5'/%3E%3C/svg%3E")}
.nav a[href="#/costing"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h2M12 11h2M8 15h2M12 15h4'/%3E%3C/svg%3E")}
.nav a[href="#/econ"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M15 7h6v6'/%3E%3C/svg%3E")}
.nav a[href="#/hubspot"]{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 0 1 14-5.3L20 9'/%3E%3Cpath d='M20 4v5h-5M20 12a8 8 0 0 1-14 5.3L4 15'/%3E%3Cpath d='M4 20v-5h5'/%3E%3C/svg%3E")}
@media (max-width:1100px){.nav{background:var(--ink)}.nav .brand{border-bottom:0;padding:0}.nav .links>a{padding:7px 10px}.nav .links>a::before{display:none}}

/* ---------- buttons: one weight of primary, everything else quiet ---------- */
.btn{height:36px;padding:0 14px;border-radius:var(--r-sm);border:1px solid var(--line2);background:var(--bg2);color:var(--fg);font-weight:600;font-size:.85rem;box-shadow:var(--sh-1);transition:background .15s,border-color .15s,box-shadow .15s,transform .06s;box-sizing:border-box}
.btn:hover{border-color:#9FB3AD;background:var(--bg4)}
.btn:active{transform:translateY(1px)}
.btn.primary{background:linear-gradient(180deg,#F06A37 0%,var(--orange) 55%,var(--orange-600) 100%);color:#fff;border-color:var(--orange-600);box-shadow:0 1px 0 rgba(255,255,255,.25) inset,0 6px 16px -8px rgba(210,78,29,.8);text-shadow:0 1px 0 rgba(0,0,0,.12)}
.btn.primary:hover{background:linear-gradient(180deg,#F27443 0%,#EE6531 55%,var(--orange-600) 100%);border-color:#B9441A}
.btn.quiet{background:transparent;border-color:transparent;box-shadow:none;color:var(--fg2)}
.btn.quiet:hover{background:var(--bg3);color:var(--fg)}
.btn.danger{color:var(--bad)}.btn.danger:hover{background:var(--bad-50);border-color:#F0B8B3}
.btn.sm{height:30px;padding:0 11px;font-size:.78rem;border-radius:6px}
.btn.big{height:44px;padding:0 22px;font-size:.98rem;border-radius:9px}
.btn[disabled]{opacity:.45;box-shadow:none}
.btn.ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.28);color:#fff;box-shadow:none;backdrop-filter:blur(6px)}
.btn.ghost:hover{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.5)}

/* ---------- surfaces ---------- */
.card{border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-1);padding:18px 20px}
.card.tbl,.card.deals{padding:0}
.notice{border-radius:var(--r);background:var(--warn-50);border-color:#F1D39A}
.empty{border-radius:var(--r-lg);background:var(--bg4);border-color:var(--line2);padding:36px}
.internal{background:var(--warn-50);border-color:#F1D9A8}
.tmplbanner{border-radius:var(--r)}
.head{gap:10px}
.hrow{margin-top:6px}
.hrow h2,.what .head h2{font-size:1.35rem;letter-spacing:.03em}
.help{font-size:.8rem}

/* ---------- form controls: white, roomy, one focus ring ---------- */
.field{font-size:.8rem;font-weight:500;color:var(--fg2);gap:5px}
.field input,.field select,.field textarea,.crow input,.mtool input[type=search],.fbar select,.pkgrow .pname,.pline input,.optrow .oname,.gsheet input[type=date],.gsheet input[type=text],.opsst,.opsnote,.pipe td.na input{background:var(--bg2);border:1px solid var(--line2);border-radius:var(--r-sm);color:var(--fg);transition:border-color .15s,box-shadow .15s}
.field input,.field select{min-height:38px}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#A9BBB5}
.field input:focus,.field select:focus,.field textarea:focus,.crow input:focus,.pline input:focus,.pkgrow .pname:focus,.pkgrow .pprice .pannual:focus,.fbar input.search:focus,.pipe td.na input:focus{outline:none;border-color:var(--orange);box-shadow:var(--ring)}
.field input::placeholder,.field textarea::placeholder{color:#9AACA8}
.hint{background:var(--bg3);color:var(--fg2)}
input[type=checkbox],input[type=radio]{accent-color:var(--orange)}

/* ---------- tables: the deal list is the product; make it easy to scan ---------- */
table.list{border:0;border-radius:var(--r-lg);background:var(--bg2);font-size:.88rem}
.card table.list,.card.tbl table.list{border-radius:0}
.list th{background:var(--bg4);color:var(--fg3);font-size:.64rem;letter-spacing:.13em;padding:11px 14px;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:1}
.list td{padding:12px 14px;border-bottom:1px solid #EDF2EF}
.list tr.row{transition:background .12s}
.list tr.row:hover td{background:#F6FAF8}
.list td a b,.list td>a>b{text-decoration:none}
.deals td a{text-decoration:none}.deals td a:hover b{color:var(--orange-600);text-decoration:underline}
.list tfoot td{background:var(--bg4)}
.deals tr.row td:first-child{border-left-width:4px}
.fbar{background:var(--bg2);padding:12px 14px;border-bottom:1px solid var(--line);border-radius:var(--r-lg) var(--r-lg) 0 0}
.fbar input.search{height:38px;background:var(--bg4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23677D79' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") 12px center/16px no-repeat;padding-left:36px;border-color:var(--line)}
.fbar select{height:38px}

/* ---------- pills, chips, badges ---------- */
.pill{padding:3px 9px;font-size:.66rem;letter-spacing:.07em;font-weight:700;border-radius:999px;line-height:1.35}
.pill.sent{background:#FFE9DE;color:#8A3410}.pill.won,.pill.signed{background:var(--ok-50);color:#11643C}.pill.draft{background:#EEF2F0;color:var(--fg2)}.pill.lost{background:var(--bad-50);color:#8E1E17}.pill.verbal{background:#EEE9FA;color:#4A2E7A;border:0}
.chip{height:32px;box-sizing:border-box;display:inline-flex;align-items:center;padding:0 13px;border-radius:999px;border:1px solid var(--line2);background:var(--bg2);font-size:.78rem;font-weight:600;color:var(--fg2);transition:background .15s,border-color .15s,color .15s}
.chip:hover{border-color:#9FB3AD;color:var(--fg)}
.chip.on{background:var(--ink);border-color:var(--ink);color:#fff;box-shadow:0 4px 12px -6px rgba(7,27,26,.6)}
.badge{background:var(--orange);color:#fff}

/* ---------- the dark bands (home scoreboard, deal cover, run of show) ---------- */
.band{border-radius:var(--r-xl);padding:26px 28px 24px;box-shadow:var(--sh-3)}
.band::before{background:linear-gradient(95deg,rgba(7,27,26,.97) 0%,rgba(7,27,26,.86) 48%,rgba(7,27,26,.5) 100%),radial-gradient(60% 100% at 88% 40%,rgba(235,94,42,.32),transparent 70%)}
.band::after{content:"";position:absolute;inset:auto 0 0 0;height:4px;background:linear-gradient(90deg,#DF3122,var(--orange) 45%,var(--gold));z-index:1;border-radius:0 0 var(--r-xl) var(--r-xl)}
.band h1{font-size:2.6rem}
.band .eb{color:var(--gold);letter-spacing:.18em}
.score .d{border-radius:7px;background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.04));box-shadow:inset 0 -2px 0 rgba(0,0,0,.25)}
.week div{border-radius:10px;background:rgba(255,255,255,.07)}
.bandlink{color:var(--gold)}

/* ---------- home ---------- */
.todo{gap:10px}
.todo a{border-radius:var(--r);border:1px solid var(--line);border-left:4px solid var(--orange);box-shadow:var(--sh-1);padding:12px 14px;transition:box-shadow .15s,transform .15s,border-color .15s}
.todo a:hover{box-shadow:var(--sh-2);transform:translateY(-1px);border-color:var(--line2)}
.kit div{border-radius:var(--r);box-shadow:var(--sh-1);padding:12px 8px 10px}
.kit div.got{background:var(--ok-50);border-color:#A9DCC0}
.kit div.now{background:var(--orange-50);border-color:#F6BFA6;box-shadow:0 0 0 3px rgba(235,94,42,.12)}
.tile{border-radius:var(--r-lg);box-shadow:var(--sh-1);padding:14px 16px}
.tile:hover{box-shadow:var(--sh-2)}
.tile b{font-size:2rem}
.tile .gbar{height:7px;border-radius:4px}.tile .gbar i{background:linear-gradient(90deg,var(--orange),var(--gold));border-radius:4px}

/* ---------- the deal page ---------- */
.slides{border-radius:var(--r-lg);background:var(--bg2);box-shadow:var(--sh-1);padding:12px 14px;border-color:var(--line)}
.slide{border-radius:7px;width:132px;height:74px;box-shadow:0 2px 6px rgba(7,27,26,.18);transition:transform .15s,box-shadow .15s}
.slide:hover,.slide:focus-visible{transform:translateY(-2px);box-shadow:0 8px 18px -6px rgba(7,27,26,.45)}
.nextbar{border:1px solid var(--line);border-left:5px solid var(--orange);border-radius:var(--r-lg);box-shadow:var(--sh-2);padding:14px 18px;background:linear-gradient(90deg,var(--orange-50),var(--bg2) 38%)}
.nextbar.go{border-left-color:var(--ok);background:linear-gradient(90deg,var(--ok-50),var(--bg2) 38%)}
.nextbar .k{color:var(--orange-600);letter-spacing:.16em}.nextbar.go .k{color:var(--ok)}
.nextbar .t{font-size:.95rem}
.nextbar .checks{gap:6px 10px}
.nextbar .checks span{background:var(--bg2);border:1px solid var(--line);border-radius:999px;padding:3px 10px 3px 4px}
.nextbar .checks a{color:var(--bad);font-weight:600;text-decoration:none}.nextbar .checks a:hover{text-decoration:underline}
.side .sc{border-radius:var(--r-lg)}
.side .sc>h4{padding:13px 16px 6px}
.nums{padding:0 16px 14px}.nums .tot .big{font-size:2.1rem}
.who .lg{border-radius:9px}
/* packages card: name and actions on one tidy line, lines as a clean list */
.pkgrow{border-radius:var(--r);box-shadow:var(--sh-1);padding:12px 14px;background:var(--bg2)}
.pkgrow .phead{flex-wrap:nowrap}
.pkgrow .phead>*:not(.pname){flex:none}
.pkgrow .pname{min-width:0;height:36px;font-size:.98rem}
.pkgrow .phead .btn{height:30px;padding:0 9px;box-shadow:none;border-color:transparent;background:transparent;color:var(--fg2);font-size:.78rem}
.pkgrow .phead .btn:hover{background:var(--bg3)}
.pline{border-radius:var(--r-sm);background:var(--bg4);border-color:var(--line)}
.pline input{height:32px;box-sizing:border-box}
.pkgrow .pprice .pannual{height:40px;box-sizing:border-box;font-size:1.05rem;border-radius:var(--r-sm)}
.pkgrow.chosen{box-shadow:0 0 0 2px var(--orange),var(--sh-2)}
.el{border-radius:var(--r);box-shadow:var(--sh-1);padding:12px 14px}
.el .edit{border-radius:6px}
@media (max-width:1240px){.pkgrow .phead{flex-wrap:wrap}.pkgrow .pname{flex-basis:100%}}
/* "Everything else": its summary line reused the round "?" hint class and rendered as a struck-through blob */
.else{border-radius:var(--r-lg)}
.else>summary{padding:14px 18px}
.else>summary .hint{display:inline;width:auto;height:auto;border-radius:0;background:none;line-height:1.45;text-align:left;font-weight:400;font-size:.8rem;color:var(--fg3);cursor:pointer;vertical-align:baseline}
.egrid{border-radius:0 0 var(--r-lg) var(--r-lg);overflow:hidden}
.fold{border-radius:var(--r)}

/* ---------- media library ---------- */
.drop{border-radius:var(--r-lg);background:var(--bg2);border-color:var(--line2);transition:border-color .15s,background .15s}
.drop:hover{border-color:var(--orange);background:var(--orange-50)}
.m{border-radius:var(--r);box-shadow:var(--sh-1);transition:box-shadow .15s}
.m:hover{box-shadow:var(--sh-2)}

/* ---------- run of show ---------- */
.gday{border-radius:var(--r-lg);overflow:hidden}
.gday.next{box-shadow:0 0 0 2px var(--orange),var(--sh-2)}

/* ---------- overlays ---------- */
.modal{background:rgba(5,20,19,.5);backdrop-filter:blur(4px)}
.modal .box{border-radius:var(--r-xl);box-shadow:var(--sh-3);padding:20px 24px}
.modal .box>.head{margin:-20px -24px 0;padding:18px 24px 12px}
.modal .foot{margin:0 -24px -20px;padding:14px 24px 18px;bottom:-20px}
.toast{border-radius:999px;padding:11px 20px;box-shadow:var(--sh-3);font-weight:600}
.train{border-radius:var(--r-lg)}

@media (prefers-reduced-motion:reduce){.main>*{animation:none}.todo a,.slide,.btn{transition:none}}

/* package exclusivity row (category + premium + floor) */
.pkgrow .pexcl{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px 14px;align-items:flex-end}
.pkgrow .pexcl.on{padding:10px 12px;border:1px solid #F1D39A;border-radius:var(--r-sm);background:var(--gold-50)}
.pkgrow .pexcl .field{flex:1 1 200px}
.pkgrow .pexcl .xfloor{flex-basis:100%}
.pkgrow .phead .btn.primary.prec{background:var(--gold);border-color:#D9AE4F;color:#0B1C1B;text-shadow:none;box-shadow:none}

/* Stage (Everything else): three steps stacked full width, number on the left, name and one line of meaning beside it.
   Side by side they were squeezed into a ~200px column and wrapped one word per line into the next block. */
.egrid{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr))}
.stageseg{grid-template-columns:1fr!important;gap:8px}
.stageseg button{display:grid!important;grid-template-columns:1fr;gap:2px;padding:11px 14px 11px 46px!important;border-radius:var(--r);min-width:0;box-sizing:border-box;width:100%}
.stageseg button i{left:13px!important;top:12px!important}
.stageseg button b{font-size:.95rem;line-height:1.25}
.stageseg button span{font-size:.8rem;line-height:1.4;white-space:normal;overflow-wrap:normal;word-break:normal}
/* keep every Everything-else block to its column; a wide table (the margin breakdown) scrolls inside it instead of stretching it */
.egrid .it{grid-template-columns:minmax(0,1fr);min-width:0}
.egrid .it table{display:block;max-width:100%;overflow-x:auto}
.egrid .it .lu-wrap,.egrid .it .lu-sec{min-width:0;max-width:100%}
.egrid .it .lu-sec{grid-template-columns:minmax(0,1fr)}
.egrid .it .lu-tiles{grid-template-columns:repeat(auto-fit,minmax(min(170px,100%),1fr))}
