/* ORYX Hub theme, from the Staff Dashboard Brand Pack (29 Sep 2026).
   Loaded after hub.css and pipeline.css on every page; rules are prefixed with `body` so they also beat each page's
   inline <style>. Black structure, gold for the next action, white working surfaces on a warm canvas.
   Layout: 240 px navigation, flexible main, 32 px gutters. Type: DM Sans for the interface, Anton for overview headlines only.
   Spacing scale 4 8 12 16 24 32 48. Cards 12 px, controls 8 px, 1 px #DAD6CD borders. */
:root{
  --black:#101010; --gold:#D6B66C; --gold-hover:#C9A85C; --canvas:#F3F0E9; --white:#fff;
  --gold-deep:#B8893A; --cream:#F3EAD7; --text-2:#62615B; --link:#745619; --border:#DAD6CD; --border-soft:#E8E4DA; --field:#A8A59C; --head:#F7F5F0; --wash:#F3EAD7; --sunk:#ECE8DF;
  --done:#246747; --done-bg:#EAF4ED; --review:#245A85; --review-bg:#EAF1F8; --risk:#875411; --risk-bg:#FFF2D8; --blocked:#A03232; --blocked-bg:#FBEDEC; --idle:#4A4943; --idle-bg:#EFECE5;
  /* names the older stylesheets and page styles read */
  --yellow:var(--gold); --yellow-deep:var(--link); --grey:var(--canvas); --grey-2:var(--sunk);
  --paper:#fff; --bone:var(--canvas); --surface:#fff; --band:var(--head);
  --ink:var(--black); --charcoal:#2A2A2A; --body:#2A2A2A; --muted:var(--text-2);
  --gold-2:var(--gold-hover); --gold-wash:var(--wash); --gold-soft:var(--wash);
  --line:var(--border); --line-soft:var(--border-soft);
  --shadow:none; --shadow-lg:0 24px 48px -28px rgba(16,16,16,.35);
  --display:'Anton','Arial Narrow',Impact,sans-serif; --sans:'DM Sans',Arial,sans-serif;
  --side:240px;
}
html{background:var(--canvas)}
body{font-family:var(--sans); background:var(--canvas); background-image:none; color:var(--body); font-size:14px; line-height:22px; font-variant-numeric:tabular-nums}
body a{color:inherit}
body :focus-visible{outline:2px solid var(--link); outline-offset:2px}
body .wrap{max-width:1240px; padding:0 32px}
body h1,body h2,body h3{font-family:var(--sans); font-weight:700; letter-spacing:0; text-transform:none; color:var(--black)}
body main h2,body main h3,body main h4{font-family:var(--sans)!important} /* older page styles name a serif that is never loaded */

/* ---------- shell: navigation, top bar ---------- */
body.shell{padding-left:var(--side)}
.side{position:fixed; inset:0 auto 0 0; width:var(--side); background:var(--black); color:var(--white); border-right:none; display:flex; flex-direction:column; padding:24px 16px 16px; z-index:70; overflow-y:auto}
.side .logo,.top .mlogo{display:flex; align-items:center; gap:12px; text-decoration:none}
.side .logo{padding:0 8px}
.mk{width:44px; height:44px; border-radius:10px; background:var(--cream); display:grid; place-items:center; flex:none} .mk img{height:34px; width:auto; display:block}
.wm{font:700 20px/1 var(--sans); letter-spacing:.24em; color:var(--white); white-space:nowrap} /* ORYX is one word: the .24em tracking must never wrap the X onto its own line (Emile 2026-11-11: "it should be 1 word always") */
.side .ws{font-size:12px; line-height:18px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--gold); margin:16px 8px 16px; padding-bottom:20px; border-bottom:1px solid #2E2C27}
.side nav{display:grid; gap:4px}
.side nav a{display:flex; align-items:center; gap:12px; min-height:44px; padding:0 12px; border-radius:8px; font-size:14px; font-weight:500; color:#E9E5DA; text-decoration:none}
.side nav a svg,.tabbar a svg,.top .menu svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none}
.side nav a svg{stroke:var(--gold)}
.side nav a:hover{background:#1F1E1B; color:var(--white)}
.side nav a.on{background:var(--gold); color:var(--black); font-weight:700} .side nav a.on svg{stroke:var(--black)}
.side nav a .count{margin-left:auto; min-width:24px; text-align:center; font-size:12px; font-weight:700; background:#2E2C27; color:var(--gold); border-radius:6px; padding:1px 6px} .side nav a.on .count{background:var(--black)}
.side nav .grp{font-size:12px; line-height:18px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:#9C978A; margin:16px 12px 4px}
.side .foot{margin-top:auto; padding-top:16px; border-top:1px solid #2E2C27; display:grid; gap:4px}
.side .foot a,.side .foot button{display:flex; align-items:center; min-height:40px; padding:0 12px; border-radius:8px; font:500 13px/18px var(--sans); color:#B9B4A7; background:none; border:none; cursor:pointer; text-align:left; text-decoration:none}
.side .foot a:hover,.side .foot button:hover{background:#1F1E1B; color:var(--white)}
.side .user{display:flex; gap:12px; align-items:center; padding:8px 12px 0}
.side .avatar,.top .avatar{width:32px; height:32px; border-radius:50%; background:var(--gold); color:var(--black); display:grid; place-items:center; font:700 12px/1 var(--sans); flex:none}
.side .user .who-name b{display:block; font:600 14px/20px var(--sans); color:var(--white)} .side .user .who-name span{display:block; font:400 12px/18px var(--sans); color:#B9B4A7}
.side :focus-visible{outline-color:var(--gold)}
.side .nav-fold{position:absolute; top:32px; right:12px; width:28px; height:28px; display:none; place-items:center; border:1px solid #2E2C27; border-radius:8px; background:#1F1E1B; color:var(--gold); cursor:pointer; padding:0}
.side .nav-fold:hover{background:var(--gold); color:var(--black); border-color:var(--gold)}
.side .nav-fold svg{width:16px; height:16px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .16s}
.scrim{display:none; position:fixed; inset:0; background:rgba(16,16,16,.45); z-index:65}

body header.top{background:var(--white); border-bottom:1px solid var(--border); border-top:3px solid var(--gold); box-shadow:none; padding:0; position:sticky; top:0; z-index:50}
body header.top .wrap{min-height:72px; display:flex; align-items:center; gap:16px; flex-wrap:nowrap; max-width:none}
body.shell header.top .brand,body.shell header.top .who,body.shell header.top .lock,body.shell #hubNav a{display:none}
body header.top .brand{font:700 18px/1 var(--sans); letter-spacing:.2em; color:var(--black); white-space:nowrap} body header.top .brand span{display:none}
.top .crumb{font:400 14px/22px var(--sans); color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis} .top .crumb b{font-weight:500; color:var(--black)}
.top .menu{display:grid; flex:none; width:44px; height:44px; border:1px solid var(--border); border-radius:8px; background:var(--white); color:var(--black); cursor:pointer; place-items:center}
.top .mlogo{display:none} .top .mlogo .mk{width:36px; height:36px; border-radius:8px} .top .mlogo .mk img{height:28px} .top .mlogo .wm{font-size:16px; color:var(--black)}
body #hubNav{gap:4px; margin-left:auto; order:9}
body #hubNav button{font:500 16px/1 var(--sans); letter-spacing:0; text-transform:none; width:40px; height:40px; padding:0; border:1px solid var(--border); border-radius:8px; background:var(--white); color:var(--black)}
body #hubNav button:hover{background:var(--canvas); border-color:var(--border); color:var(--black)}
body .pill{background:var(--canvas); color:var(--text-2); border:none; border-radius:6px; font:500 12px/18px var(--sans); letter-spacing:0; text-transform:none; padding:4px 10px} body .pill a{color:var(--link)}
.tabbar{display:none}

/* ---------- page heading ---------- */
body .hero{background:none; border:none; margin:0; padding:32px 0 8px}
body .hero .eyebrow,body .eyebrow{font:700 12px/18px var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--link)}
body .hero h1{font:700 28px/36px var(--sans); letter-spacing:0; text-transform:none; margin:4px 0 0; color:var(--black)}
body.overview .hero h1{font:400 36px/44px var(--display); letter-spacing:.01em; text-transform:uppercase}
body .hero h1::after{content:""; display:block; width:56px; height:4px; border-radius:2px; background:var(--gold); margin-top:12px}
body .hero p{font:400 14px/22px var(--sans); color:var(--text-2); margin:8px 0 0; max-width:70ch}
body main{padding:16px 0 96px}
body section{margin-top:32px}
body .sec-head{border-bottom:2px solid var(--gold); padding-bottom:12px; margin-bottom:16px}
body .sec-head h2{font:700 18px/26px var(--sans)} body .sec-head .n{font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)}

/* ---------- tabs and filters ---------- */
body .switch{display:flex; gap:24px; flex-wrap:wrap; border:none; border-bottom:1px solid var(--border); border-radius:0; background:none; box-shadow:none; padding:0; margin:0 0 24px; overflow:visible}
body .switch a{font:500 14px/22px var(--sans); letter-spacing:0; text-transform:none; color:var(--text-2); background:none; border:none; border-bottom:2px solid transparent; border-radius:0; padding:12px 0; margin-bottom:-1px}
body .switch a:hover{color:var(--black)}
body .switch a.on{color:var(--black); font-weight:700; background:none; border-bottom:3px solid var(--gold)}
body .bar{gap:8px; margin:16px 0}
body .bar a.v{display:inline-flex; align-items:center; min-height:40px; padding:0 14px; font:600 14px/20px var(--sans); letter-spacing:0; text-transform:none; color:var(--black); background:var(--white); border:1px solid var(--border); border-radius:8px}
body .bar a.v:hover{background:var(--head)}
body .bar a.v.on{background:var(--black); color:var(--white); border-color:var(--black)}

/* ---------- fields ---------- */
body input,body select,body textarea{font-family:var(--sans); font-size:14px; line-height:22px; color:var(--black); background:var(--white); border:1px solid var(--field); border-radius:8px; padding:10px 12px}
body input[type=checkbox],body input[type=radio]{width:18px; height:18px; padding:0; accent-color:var(--gold-deep); border-radius:4px}
body .bar input,body .bar select{min-height:40px; padding:8px 12px; border-color:var(--border)}
body input::placeholder,body textarea::placeholder{color:#8A877F}
body input:focus,body select:focus,body textarea:focus{outline:2px solid var(--link); outline-offset:2px; border-color:var(--black)}
body label,body legend{font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)}

/* ---------- actions ---------- */
body button.go,body a.go,body #gate button,body #pw button,body .btns #copy,body #imp .go,body #bulk .go{display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px; font:600 14px/20px var(--sans); letter-spacing:0; text-transform:none; color:var(--black); background:var(--gold); border:1px solid var(--gold); border-radius:8px; box-shadow:none; cursor:pointer; transition:background .14s}
body button.go:hover,body a.go:hover,body #gate button:hover,body #pw button:hover{background:var(--gold-hover); border-color:var(--gold-hover); color:var(--black); transform:none; box-shadow:none}
body button.go:disabled,body #gate button:disabled{background:var(--idle-bg); border-color:var(--idle-bg); color:#8A877F; cursor:not-allowed; opacity:1}
body button.sm,body a.sm,body td .sm,body .tools a,body .copy,body #scriptDrawer .dh button,body .tabs button,body #scriptDrawer .dh .x{display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:0 12px; font:600 13px/18px var(--sans); letter-spacing:0; text-transform:none; color:var(--black); background:var(--white); border:1px solid var(--border); border-radius:8px; text-decoration:none; cursor:pointer}
body button.sm:hover,body a.sm:hover,body td .sm:hover,body .tools a:hover,body .tabs button:hover{background:var(--cream); border-color:var(--gold)}
body button.dark,body a.dark{background:var(--black); color:var(--white); border-color:var(--black)}
body #scriptDrawer .dh button.on,body .tabs button.on{background:var(--black); color:var(--white); border-color:var(--black)}
body .research a.sm,body .tpl button.sm{background:var(--canvas); border-color:var(--canvas)} body .research a.sm:hover,body .tpl button.sm:hover{background:var(--sunk)}
body #scriptBtn{background:var(--gold); color:var(--black); border:none; border-radius:8px; font:600 14px/20px var(--sans); letter-spacing:0; text-transform:none; min-height:44px; padding:0 18px; box-shadow:0 8px 24px -12px rgba(16,16,16,.5)}
body kbd.k,body .outs button kbd{font:500 11px/16px ui-monospace,Consolas,monospace; color:var(--text-2); background:var(--white); border:1px solid var(--border); border-radius:4px; padding:0 5px}

/* ---------- surfaces ---------- */
body .tile,body .panel,body .dial,body .block,body .stat,body .form,body .card,body table.list,body table#tbl,body .tree,body .doc,body .box,body #imp,body #bulk,body #newLead,body #sendBox,body .notice,body .modal .box{background:var(--white); border:1px solid var(--border); border-radius:12px; box-shadow:none}
body .panel,body .dial,body .block{border-top:1px solid var(--border); padding:24px}
body .panel h2,body .dial .head h2,body .block h2,body .card h2,body .doc h1,body .doc h2,body #gate h2,body .modal .box h3,body #askTitle,body #scriptDrawer .db h1,body #scriptDrawer .db h2{font-family:var(--sans)!important; font-weight:700!important; text-transform:none; letter-spacing:0; color:var(--black)}
body .panel h2,body .dial .head h2{font-size:22px; line-height:30px}
body .block h2{font-size:18px; line-height:26px} body .block h2 .n{font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)}
body .blocks .block{border-top-color:var(--border)}
body .kv b,body .act h3,body .dial .pos,body .dir,body .to{font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)}
body .act{border-top:1px solid var(--border); margin-top:16px; padding-top:16px}
body .kv a,body .file a.dl,body .log .t,body #pw .msg a,body .item .t{color:var(--link)}
body .big,body .big a,body .dial .num,body .dial .num a{font:700 28px/36px var(--sans); letter-spacing:0; color:var(--black)}
body .muted{color:var(--text-2); font-size:12px; line-height:18px}
body .empty{color:var(--text-2); font-size:14px}
body .note,body .notice{background:var(--head)!important; border:1px solid var(--border)!important; border-radius:8px; padding:10px 14px; color:#2A2A2A; font-size:13px; line-height:20px}
body #newLead,body #imp,body #bulk,body #sendBox{padding:24px}
body .item{border-top:1px solid var(--border-soft); font-size:14px}
body .dark-card{background:var(--black); color:var(--white); border-radius:12px; padding:24px} body .dark-card h3{font:400 24px/30px var(--display); text-transform:uppercase; color:var(--white)} body .dark-card p{color:#CFCABD} body .dark-card a{color:var(--gold); font-weight:600}

/* metrics: label, figure, note */
body .stats{display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:16px 0}
body .stat,body .stats .stat:nth-child(n){background:var(--white); color:var(--black); border:1px solid var(--border); border-top:3px solid var(--gold); border-radius:12px; padding:16px 18px; display:flex; flex-direction:column-reverse; justify-content:flex-end; gap:4px; text-align:left}
body .stat b,body .stats .stat b{font:700 28px/36px var(--sans); color:var(--black)}
body .stat span,body .stats .stat span{font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2); opacity:1}
body .stat small{order:-1; font:400 12px/18px var(--sans); color:var(--text-2)}
body button.stat{cursor:pointer; font-family:inherit} body button.stat:hover{border-color:var(--gold)}
body .stat.on,body .stats .stat.on{background:var(--black); border-color:var(--black); border-top-color:var(--gold); box-shadow:none}
body .stat.on b,body .stats .stat.on b{color:var(--gold)} body .stat.on span,body .stats .stat.on span{color:var(--white)} body .stat.on small{color:#B9B4A7}

/* overview tiles */
body .grid{gap:16px}
body .tile,body .tile.tinted,body .tile.client{border-top:1px solid var(--border); padding:20px; min-height:0}
body .tile{--brand:var(--black); --on:var(--gold)}
body .tile,body .tile.tinted,body .tile.client{border-top:4px solid var(--brand); background:linear-gradient(180deg,color-mix(in srgb,var(--brand) 10%,#fff) 0,#fff 112px)}
body .tile:hover{border-color:var(--brand); transform:none; box-shadow:0 12px 24px -18px color-mix(in srgb,var(--brand) 70%,#000)}
body .tile .ic,body .tile.tinted .ic{width:44px; height:44px; background:var(--brand); border:none; border-radius:10px; margin-bottom:16px} body .tile .ic svg,body .tile.tinted .ic svg{width:22px; height:22px; stroke:var(--on)}
body .tile .ic.initials{background:var(--brand); color:var(--on); font:700 14px/1 var(--sans); letter-spacing:.04em}
body .tile h3{font:600 16px/24px var(--sans); text-transform:none; letter-spacing:0} body .tile p{font:400 13px/20px var(--sans); color:var(--text-2)}
body .tile .go{font:700 13px/18px var(--sans); letter-spacing:0; text-transform:none; color:var(--black); margin-top:16px} body .tile .go svg{stroke:var(--brand)} body .tile .go .ext{color:var(--text-2); letter-spacing:0; font-size:12px}

/* ---------- tables ---------- */
body table.list,body table#tbl{border-collapse:separate; border-spacing:0; overflow:hidden; font-size:14px}
body table.list th,body table#tbl th,body .doc th{background:var(--black); color:var(--gold); font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; padding:12px 16px; border:none; white-space:nowrap; text-align:left}
body table.list td,body table#tbl td{padding:14px 16px; font-size:14px; line-height:22px; color:var(--black); border:none; border-top:1px solid var(--border-soft); vertical-align:top; overflow-wrap:break-word}
body table.list tbody tr:first-child td{border-top:none}
body tr.row:nth-child(even) td{background:var(--white)}
body tr.row:hover td{background:#FBF6EA}
body tr.row.sel td{background:var(--wash); box-shadow:none} body tr.row.sel td:first-child{box-shadow:inset 3px 0 0 var(--gold)}
body .due{color:var(--blocked); font-weight:600}
body .file:hover{background:var(--head)} body .file .ext{background:var(--canvas); border:none; color:var(--black); border-radius:6px}

/* ---------- prospect lists: company logo, gap score, tap-to-call ---------- */
body .cocell{display:flex; gap:12px; align-items:flex-start; justify-content:space-between}
body .cocell .cotext{min-width:0; flex:1}
body .clogo{flex:none; width:84px; height:52px; border-radius:8px; border:1px solid var(--border); background:var(--white); display:grid; place-items:center; padding:5px; overflow:hidden}
body .clogo img{max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block}
body .clogo.lg{width:120px; height:72px; padding:8px}
body .score{background:var(--idle-bg); color:var(--black)} body .score.A{background:var(--gold); color:var(--black)} body .score.B{background:var(--cream); color:var(--black)}
body .score.seo.good{background:var(--done-bg); color:var(--done)} body .score.seo.fair{background:var(--review-bg); color:var(--review)} body .score.seo.weak{background:var(--risk-bg); color:var(--risk)} body .score.seo.poor{background:var(--blocked-bg); color:var(--blocked)}
body td .sz{display:block; font-weight:600; white-space:nowrap}
body td .ph a,body a.tel{color:var(--black); text-decoration:none} body td .ph a:hover{text-decoration:underline}
body a.callbtn{display:none}

/* ---------- side panels fold away; the list takes the room back ---------- */
body .fold-btn{float:right; margin:0 0 8px 12px}
.fold-tab{display:none; position:fixed; right:0; top:50%; transform:translateY(-50%); z-index:45; writing-mode:vertical-rl; padding:16px 8px; border:none; border-radius:8px 0 0 8px; background:var(--black); color:var(--gold); font:600 12px/16px var(--sans); letter-spacing:.06em; text-transform:uppercase; cursor:pointer}
.fold-tab:hover{background:var(--gold); color:var(--black)}
@media (min-width:1000px){
  body .layout.folds{grid-template-columns:minmax(0,1fr) 440px; transition:grid-template-columns .2s ease,gap .2s ease}
  body .layout.folds > .panel{min-width:0; transition:opacity .2s ease; top:88px; max-height:calc(100vh - 104px)}
  body .layout.folds.folded{grid-template-columns:minmax(0,1fr) 0px; gap:0}
  body .layout.folds.folded > .panel{opacity:0; visibility:hidden; pointer-events:none; padding-left:0; padding-right:0; border-width:0; overflow:hidden}
  body.panel-folded .fold-tab{display:block}
}
@media (max-width:999px){ body .fold-btn{display:none} }
/* sections inside a detail panel open and close */
body details.act > summary{list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:32px}
body details.act > summary::-webkit-details-marker{display:none}
body details.act > summary h3{margin:0}
body details.act > summary::after{content:""; flex:none; width:8px; height:8px; border-right:2px solid var(--text-2); border-bottom:2px solid var(--text-2); transform:rotate(-135deg); transition:transform .16s; margin-right:4px}
body details.act:not([open]) > summary::after{transform:rotate(45deg)}
body details.act[open] > summary{margin-bottom:8px}

/* ---------- status: the label is always visible, colour only supports it ---------- */
body .tag{display:inline-block; font:600 12px/18px var(--sans); letter-spacing:0; text-transform:none; white-space:nowrap; border:none; border-radius:6px; padding:2px 8px; background:var(--idle-bg); color:var(--idle)}
body .tag::first-letter{text-transform:uppercase}
body .tag.spoke,body .tag.booked,body .tag.call_booked,body .tag.qualified,body .tag.completed,body .tag.core,body .tag.verified,body .tag.ready{background:var(--done-bg); color:var(--done)}
body .tag.call_done,body .tag.proposal,body .tag.build,body .tag.retainer,body .tag.known,body .tag.in_cold,body .tag.in_warm,body .tag.seen,body .tag.family{background:var(--review-bg); color:var(--review)}
body .tag.attempted,body .tag.nurture,body .tag.rescheduled,body .tag.adjacent,body .tag.no_number,body .tag.unverified{background:var(--risk-bg); color:var(--risk)}
body .tag.no_show,body .tag.cancelled,body .tag.dnc,body .tag.b2c,body .tag.unread{background:var(--blocked-bg); color:var(--blocked)}
body .tag.new,body .tag.untouched,body .tag.dead,body .tag.recycle,body .tag.off,body .tag.not_fit{background:var(--idle-bg); color:var(--idle)}
body .msg{font-size:13px; line-height:20px; color:#2A2A2A}
body .ok-msg{background:var(--done-bg); color:var(--done); border-radius:8px; padding:12px 16px} body .risk-msg{background:var(--risk-bg); color:var(--risk); border-radius:8px; padding:12px 16px} body .err-msg{background:var(--blocked-bg); color:var(--blocked); border-radius:8px; padding:12px 16px}

/* ---------- board ---------- */
body .col,body .col[data-stage]{background:var(--sunk); border:none; border-radius:12px; padding:12px}
body .col h3{font:600 14px/22px var(--sans); letter-spacing:0; text-transform:none; color:var(--black); border-bottom:none; padding-bottom:4px} body .col h3 span{font:700 12px/18px var(--sans); background:var(--gold); border-radius:6px; padding:1px 8px; color:var(--black)}
body .col[data-stage] .card,body .col .card{background:var(--white); border:1px solid var(--border); border-left:1px solid var(--border); border-radius:8px; box-shadow:none; padding:12px; font-size:13px}
body .col.over{outline:2px dashed var(--link); outline-offset:-4px}
body .dropbar{background:var(--black); border-top:none} body .dropbar .zone{border-radius:8px; font:600 13px/18px var(--sans); letter-spacing:0; text-transform:none}

/* ---------- call card ---------- */
body .outs button{min-height:44px; border-radius:8px; background:var(--white); border:1px solid var(--border); color:var(--black); font:500 13px/18px var(--sans); padding:0 12px}
body .outs button:hover{background:var(--head)} body .outs button.on{background:var(--black); color:var(--white); border-color:var(--black)}
body .outs button.on kbd{color:var(--white); background:transparent; border-color:#555}
body .log div{border-top:1px solid var(--border-soft); color:var(--black)}

/* ---------- script drawer, documents ---------- */
body #scriptDrawer{background:var(--white); border-left:1px solid var(--border)} body #scriptDrawer .dh{background:var(--head); border-bottom:1px solid var(--border)} body #scriptDrawer .db{color:#2A2A2A}
body #scriptDrawer .db h2,body .doc h2{font-size:18px; line-height:26px; border-bottom:1px solid var(--border)}
body #scriptDrawer .db blockquote,body .doc blockquote{background:var(--head); border-radius:8px}
body #scriptDrawer .db mark{background:var(--risk-bg)} body #scriptDrawer .db mark.cur{background:var(--gold); color:var(--black)}
body .doc{padding:32px 40px} body .doc h1{font-size:28px; line-height:36px} body .doc table{border-radius:0} body .doc td{border-color:var(--border)}
body .tabs{border-bottom:1px solid var(--border)} body .tabs button{border-radius:8px 8px 0 0}
body .btns #sms{background:var(--black); color:var(--white); border-radius:8px} body .btns #wa{border-radius:8px; border:1px solid var(--border)}
body .opt{border-radius:8px; background:var(--white); border-color:var(--border)} body .opt:has(input:checked){background:var(--wash); border-color:var(--black)}
body .modal .box{border-radius:12px}

/* ---------- sign in ---------- */
body #gate{background:var(--canvas)}
body #gate .card{background:var(--white); border:1px solid var(--border); border-radius:12px; padding:40px 32px; max-width:420px; text-align:left; box-shadow:none}
body #gate .bm{font:700 18px/1 var(--sans); letter-spacing:.2em; color:var(--black); white-space:nowrap} body #gate .bm span{display:block; font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2); margin-top:8px}
body #gate h2{font-size:22px; line-height:30px; margin:24px 0 16px}
body #gate input{min-height:48px} body #gate button{width:100%; min-height:48px; margin-top:8px}
body #gate .err{color:var(--blocked)}
body #pw{background:var(--head); border:1px solid var(--border); border-radius:8px}

/* ---------- footer ---------- */
body footer{background:none; border-top:1px solid var(--border); margin-top:48px} body footer span,body footer a{font:400 12px/18px var(--sans); letter-spacing:0; text-transform:none; color:var(--text-2)} body footer a{color:var(--link)}

/* ---------- responsive: >=1200 full navigation, 768-1199 collapsible, <768 bottom bar and cards ---------- */
@media (min-width:1200px){
  body.shell .hero .switch{display:none}
  /* collapsed navigation: an icon rail */
  body.shell{transition:padding-left .16s} .side{transition:width .16s,padding .16s}
  body.shell.nav-rail{padding-left:72px}
  body.nav-rail .side{width:72px; padding:24px 12px 16px; overflow-x:hidden}
  body.nav-rail .side .logo{padding:0; justify-content:center; margin-bottom:24px}
  body.nav-rail .side .wm,body.nav-rail .side .ws,body.nav-rail .side nav a span,body.nav-rail .side .who-name,body.nav-rail .side .foot a,body.nav-rail .side .foot button{display:none}
  body.nav-rail .side nav a{justify-content:center; padding:0} body.nav-rail .side nav a svg{width:20px; height:20px}
  body.nav-rail .side nav .grp{font-size:0; line-height:0; height:1px; margin:12px 8px; background:#2E2C27}
  body.nav-rail .side .user{justify-content:center; padding:8px 0 0}
  .side .nav-fold{display:grid}
  body.nav-rail .side .nav-fold{position:static; margin:0 auto 16px} body.nav-rail .side .nav-fold svg{transform:rotate(180deg)}
  body.nav-rail .side .logo{margin-bottom:16px}
}
@media (max-width:1199px){
  body.shell{padding-left:0}
  .side{transform:translateX(-100%); transition:transform .16s; box-shadow:var(--shadow-lg)}
  body.nav-open .side{transform:none} body.nav-open .scrim{display:block}
  .top .menu{display:grid} .top .mlogo{display:flex}
  body .wrap{padding:0 24px}
}
@media (max-width:767px){
  body{font-size:16px; line-height:24px; padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
  body .wrap{padding:0 16px}
  body header.top{background:var(--black); border-bottom:none}
  body header.top .wrap{min-height:60px} .top .menu{display:none} .top .crumb{display:none}
  .top .mlogo .wm{color:var(--white)}
  body header.top .sm{min-height:40px}
  body #hubNav button{background:#1F1E1B; border-color:#2E2C27; color:var(--white)}
  body .hero{padding:20px 0 4px} body .hero h1{font-size:24px; line-height:32px} body.overview .hero h1{font-size:30px; line-height:36px}
  body .hero h1::after{margin-top:8px} body .hero p{font-size:14px; line-height:22px}
  body main{padding:8px 0 48px}
  body button.go,body a.go{min-height:48px} body input,body select,body textarea{font-size:16px; min-height:48px}
  body input[type=checkbox],body input[type=radio]{min-height:0; width:22px; height:22px}
  body button.sm,body a.sm,body td .sm{min-height:44px}
  body .panel,body .dial,body .block,body #newLead,body #imp,body #bulk,body #sendBox{padding:16px}
  /* metric tiles: a compact two-column grid inside the gutters; nothing runs off the screen edge */
  body .stats{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px; margin:12px 0; overflow:visible}
  body .stat,body .stats .stat:nth-child(n){flex-direction:row; justify-content:flex-start; align-items:center; gap:10px; min-width:0; padding:10px 12px; border-top:1px solid var(--border)}
  body .stats .stat:first-child:nth-last-child(odd){grid-column:1/-1}
  body .stat.on,body .stats .stat.on{border-color:var(--black); border-left-color:var(--gold)}
  body .stat b,body .stats .stat b{font-size:22px; line-height:28px; flex:none} body .stat span,body .stats .stat span{font-size:11px; line-height:14px; min-width:0; overflow-wrap:anywhere} body .stat small{display:none}
  body select{text-overflow:ellipsis}
  body .bar{display:flex; flex-wrap:wrap; gap:8px} body .bar input:not([type=checkbox]){flex:1 1 100%; min-width:0!important} body .bar select{flex:1 1 40%; min-width:0} body .bar a.v{min-height:40px; padding:0 12px; font-size:14px} body .bar button.sm,body .bar button.go,body .bar a.go{flex:1 1 40%; justify-content:center}
  body .kv{grid-template-columns:88px 1fr}
  .tabbar{display:grid; grid-auto-flow:column; grid-auto-columns:1fr; position:fixed; left:0; right:0; bottom:0; z-index:60; background:var(--black); border-top:2px solid var(--gold); padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px))}
  .tabbar a,.tabbar button{display:grid; justify-items:center; gap:2px; min-height:48px; padding:6px 0; font:500 12px/16px var(--sans); color:#B9B4A7; background:none; border:none; border-radius:8px; text-decoration:none; cursor:pointer}
  .tabbar a.on{color:var(--gold); font-weight:700} .tabbar a.on svg{stroke:var(--gold)}
  .tabbar button svg{width:18px; height:18px; stroke:currentColor; fill:currentColor; stroke-width:0}
  body.shell .hero .switch{display:none}
  body #scriptBtn{bottom:84px}
  body .panel{position:static; max-height:none}
  body footer{display:none}
  body a.callbtn{display:inline-flex}
  /* typing never zooms the page: iOS zooms into any field under 16px */
  body input:not([type=checkbox]):not([type=radio]):not([type=range]),body select,body textarea{font-size:16px!important}
  /* home: the tools read as a list, one row each, so the whole set fits in a few thumb scrolls */
  body .grid:has(> .tile){grid-template-columns:1fr; gap:8px}
  body .grid > .tile,body .grid > .tile.tinted,body .grid > .tile.client{display:grid; grid-template-columns:40px minmax(0,1fr) 16px; column-gap:12px; align-items:center; padding:12px 14px; border-top:1px solid var(--border); background:var(--white)}
  body .grid > .tile .ic{grid-row:1 / span 2; width:40px; height:40px; margin:0; border-radius:10px} body .grid > .tile .ic svg{width:20px; height:20px}
  body .grid > .tile .ic.logo{width:40px; height:40px; padding:3px}
  body .grid > .tile h3{grid-column:2; font-size:15px; line-height:20px}
  body .grid > .tile p{grid-column:2; margin:2px 0 0; font-size:12.5px; line-height:18px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
  body .grid > .tile .go{grid-column:3; grid-row:1 / span 2; margin:0; font-size:0; gap:0} body .grid > .tile .go .ext{display:none}
  /* list tables: every row a card, every cell labelled with its column (hub.js sets data-l, .blank, .wide) */
  body table.list:not(.cards),body table#tbl{display:block; border:none; background:transparent; overflow:visible}
  body table.list:not(.cards) thead,body table#tbl thead{display:none}
  body table.list:not(.cards) tbody,body table#tbl tbody{display:block}
  body table.list:not(.cards) tbody tr,body table#tbl tbody tr{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 12px; background:var(--white); border:1px solid var(--border); border-radius:12px; padding:12px 14px; margin:0 0 8px}
  body table.list:not(.cards) tbody tr.sel,body table#tbl tbody tr.sel{border-color:var(--gold); box-shadow:inset 4px 0 0 var(--gold)}
  body table.list:not(.cards) tbody td,body table#tbl tbody td{display:block; padding:0; border:none; background:transparent!important; box-shadow:none!important; font-size:14px; line-height:20px; min-width:0; text-align:left}
  body table.list:not(.cards) tbody td.title,body table#tbl tbody td.title,body table.list:not(.cards) tbody td.wide,body table#tbl tbody td.wide{grid-column:1 / -1}
  body table.list:not(.cards) tbody td.title,body table#tbl tbody td.title{font-weight:600}
  body table.list:not(.cards) tbody td.rank,body table#tbl tbody td.rank{grid-column:1 / -1; font:700 12px/16px var(--sans); color:var(--text-2)} body table.list:not(.cards) tbody td.rank::before{content:"#"}
  body table.list:not(.cards) tbody td.blank,body table#tbl tbody td.blank{display:none}
  body table.list:not(.cards) tbody td[data-l]::before,body table#tbl tbody td[data-l]::before{content:attr(data-l); display:block; font:600 10.5px/14px var(--sans); letter-spacing:.05em; text-transform:uppercase; color:var(--text-2); margin-bottom:2px}
  body .tblwrap{overflow:visible}
  /* money cards (stat.kpi): label, figure, note stacked; the figure never breaks mid-number */
  body .stats .stat.kpi{flex-direction:column-reverse; align-items:flex-start; justify-content:flex-end; gap:2px; padding:12px; border-left:1px solid var(--border); border-top:3px solid var(--st,var(--gold))}
  body .stats .stat.kpi:first-child:nth-last-child(odd){grid-column:auto}
  body .stats .stat.kpi small{display:block; order:0; font-size:11px; line-height:14px; color:var(--text-2)}
  body .stats .stat b,body .fs b{white-space:nowrap; overflow-wrap:normal; font-size:clamp(16px,5.2vw,22px)}
}
@media (prefers-reduced-motion:reduce){ *{transition:none!important; animation:none!important; scroll-behavior:auto!important} }

/* ---------- CRM (2026-10-05, CRM.md): client page, companies, deals, tasks, reports, global search ---------- */
/* lifecycle and deal stage: the label always shows, colour supports it */
body .tag.lc-prospect,body .tag.lc-past-client{background:var(--idle-bg); color:var(--idle)}
body .tag.lc-lead,body .tag.dl-qualified{background:var(--review-bg); color:var(--review)}
body .tag.lc-opportunity,body .tag.dl-proposal,body .tag.dl-negotiation{background:var(--risk-bg); color:var(--risk)}
body .tag.lc-client,body .tag.dl-won{background:var(--done-bg); color:var(--done)}
body .tag.lc-not-a-fit,body .tag.dl-lost,body .tag.c-late,body .tag.c-high{background:var(--blocked-bg); color:var(--blocked)}
/* filter chips with counts, and section tabs */
body .fchips{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0}
body .fchip,body .ctabs button{display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:0 14px; font:600 13px/18px var(--sans); color:var(--black); background:var(--white); border:1px solid var(--border); border-radius:999px; cursor:pointer; text-decoration:none}
body .fchip .n,body .ctabs button .n{font-weight:500; color:var(--text-2)}
body .fchip.on,body .ctabs button.on{background:var(--black); color:var(--white); border-color:var(--black)} body .fchip.on .n,body .ctabs button.on .n{color:var(--gold)}
body .ctabs{display:flex; gap:8px; margin:24px 0 16px; overflow-x:auto; scrollbar-width:none; padding-bottom:2px} body .ctabs::-webkit-scrollbar{display:none}
body .ctabs button{border-radius:8px; flex:none}
/* the client header card */
body .chead{background:var(--white); border:1px solid var(--border); border-top:3px solid var(--gold); border-radius:12px; padding:24px; display:grid; gap:16px}
body .chead .nm{display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px} body .chead h2{font:700 26px/34px var(--sans); margin:0; overflow-wrap:anywhere}
body .chead .facts{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px 24px}
body .chead .facts div{min-width:0} body .chead .facts b{display:block; font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)} body .chead .facts span,body .chead .facts a{font:500 15px/22px var(--sans); color:var(--black); overflow-wrap:anywhere} body .chead .facts a{color:var(--link)}
body .cacts{display:flex; flex-wrap:wrap; gap:8px} body .cacts .sm,body .cacts .go{min-height:44px}
/* forms that open in place */
body .cform{background:var(--head); border:1px solid var(--border); border-radius:12px; padding:16px; margin:12px 0; display:grid; gap:12px}
body .cform h3{margin:0; font:700 15px/22px var(--sans)}
body .cform .fl{display:grid; grid-template-columns:1fr; gap:12px}
body .cform .fl > label,body .cform > label{display:grid; gap:4px; min-width:0} body .cform input,body .cform select,body .cform textarea{width:100%; min-width:0; min-height:44px}
body .cform textarea{min-height:88px; resize:vertical}
body .cform .row{display:flex; flex-wrap:wrap; gap:8px; align-items:center}
body .cform label.ck{display:flex; align-items:center; gap:8px; text-transform:none; letter-spacing:0; font:500 14px/20px var(--sans); color:var(--black); min-height:44px}
@media (min-width:768px){ body .cform .fl{grid-template-columns:repeat(2,minmax(0,1fr))} body .cform .fl > .full{grid-column:1 / -1} }
@media (min-width:1100px){ body .cform .fl.three{grid-template-columns:repeat(3,minmax(0,1fr))} }
/* the search-as-you-type picker under an input */
body .cpick{display:none; background:var(--white); border:1px solid var(--border); border-radius:8px; margin-top:4px; max-height:240px; overflow:auto}
body .cpick.on{display:block} body .cpick > div{padding:10px 12px}
body .cpick button{display:flex; flex-direction:column; align-items:flex-start; width:100%; min-height:44px; padding:8px 12px; border:none; border-top:1px solid var(--border-soft); background:none; text-align:left; font:600 14px/20px var(--sans); color:var(--black); cursor:pointer}
body .cpick button:first-child{border-top:none} body .cpick button:hover,body .cpick button:focus-visible{background:var(--wash)}
/* timeline */
body .ctl{background:var(--white); border:1px solid var(--border); border-radius:12px; padding:4px 20px}
body .ctli{display:grid; grid-template-columns:36px minmax(0,1fr); gap:12px; padding:14px 0; border-top:1px solid var(--border-soft)} body .ctli:first-child{border-top:none}
body .ctli .ic{width:36px; height:36px; border-radius:10px; background:var(--head); display:grid; place-items:center}
body .ctli .ic svg{width:18px; height:18px; stroke:var(--link); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round}
body .ctli.k-email .ic{background:var(--review-bg)} body .ctli.k-email .ic svg{stroke:var(--review)}
body .ctli.k-deal .ic,body .ctli.k-billing .ic{background:var(--done-bg)} body .ctli.k-deal .ic svg,body .ctli.k-billing .ic svg{stroke:var(--done)}
body .ctli.k-task .ic,body .ctli.k-note .ic{background:var(--wash)}
body .ctli .tt{font:600 14px/20px var(--sans); color:var(--black); overflow-wrap:anywhere} body .ctli .tt a{color:var(--black)}
body .ctli .td{font:400 13px/20px var(--sans); color:#2A2A2A; margin-top:2px; white-space:pre-line; overflow-wrap:anywhere}
body .ctli .tw{font:400 12px/18px var(--sans); color:var(--text-2); margin-top:2px}
/* task rows: a big tick box, the title, when and who */
body .ctasks{background:var(--white); border:1px solid var(--border); border-radius:12px; padding:4px 12px}
body .ctask{display:flex; align-items:flex-start; gap:8px; padding:8px 0; border-top:1px solid var(--border-soft)} body .ctask:first-child{border-top:none}
body .ctick{flex:none; width:44px; height:44px; display:grid; place-items:center; border:none; background:none; padding:0; cursor:pointer; border-radius:8px}
body .ctick i{width:22px; height:22px; border:2px solid var(--field); border-radius:6px; display:grid; place-items:center; background:var(--white)}
body .ctick svg{width:14px; height:14px; stroke:var(--white); fill:none; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; opacity:0}
body .ctick.on i{background:var(--done); border-color:var(--done)} body .ctick.on svg{opacity:1} body .ctick:hover i{border-color:var(--black)} body .ctick:disabled{cursor:wait; opacity:.6}
body .ctask .tb{flex:1; min-width:0; padding-top:10px} body .ctask .tb b{display:block; font:600 14px/20px var(--sans); color:var(--black); overflow-wrap:anywhere}
body .ctask.done .tb b{text-decoration:line-through; color:var(--text-2)}
body .ctask .tb .tw{display:flex; flex-wrap:wrap; gap:4px 10px; font:400 12.5px/18px var(--sans); color:var(--text-2); margin-top:2px} body .ctask .tb .tw a{color:var(--link)}
body .ctask .tb .tw .late{color:var(--blocked); font-weight:600}
/* deal board: a column per stage with its weighted total; one column under the other on phones */
body .dboard{display:grid; grid-template-columns:1fr; gap:12px; align-items:start}
@media (min-width:768px){ body .dboard{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))} }
@media (min-width:1200px){ body .dboard{grid-template-columns:repeat(5,minmax(0,1fr))} }
body .dcol{background:var(--sunk); border-radius:12px; padding:12px; min-height:120px}
body .dcol.over{outline:2px dashed var(--link); outline-offset:-4px}
body .dcol h3{display:flex; align-items:baseline; justify-content:space-between; gap:8px; margin:0 0 4px; font:600 14px/22px var(--sans)} body .dcol h3 span{font:700 12px/18px var(--sans); background:var(--gold); border-radius:6px; padding:1px 8px; color:var(--black)}
body .dcol .sum{font:600 12px/18px var(--sans); color:var(--text-2); margin:0 0 8px}
body .dlcard{display:block; width:100%; text-align:left; background:var(--white); border:1px solid var(--border); border-radius:8px; padding:12px; margin:0 0 8px; font:400 13px/19px var(--sans); color:var(--black); cursor:pointer; min-height:44px}
body .dlcard[draggable=true]{cursor:grab} body .dlcard:hover{border-color:var(--gold)}
body .dlcard b{display:block; font:600 14px/20px var(--sans); overflow-wrap:anywhere} body .dlcard .muted{display:block}
body .dlcard .v{display:flex; justify-content:space-between; gap:8px; margin-top:6px; font-weight:600}
body .fcast{display:grid; grid-auto-flow:column; grid-auto-columns:minmax(120px,1fr); gap:8px; overflow-x:auto; margin:12px 0 20px; padding-bottom:4px}
body .fcast div{background:var(--white); border:1px solid var(--border); border-top:3px solid var(--gold); border-radius:12px; padding:12px 14px; min-width:0}
body .fcast b{display:block; font:700 20px/28px var(--sans); color:var(--black); white-space:nowrap} body .fcast span{display:block; font:600 12px/18px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)} body .fcast small{display:block; font:400 12px/18px var(--sans); color:var(--text-2)}
/* a small sheet for picking a stage (deals) */
body .csheet{position:fixed; inset:0; z-index:120; background:rgba(16,16,16,.45); display:none; align-items:center; justify-content:center; padding:16px}
body .csheet.on{display:flex}
body .csheet .box{background:var(--white); border:1px solid var(--border); border-radius:12px; width:min(440px,100%); padding:20px; display:grid; gap:12px}
body .csheet .box h3{margin:0; font:700 18px/26px var(--sans)} body .csheet .opts{display:grid; grid-template-columns:1fr 1fr; gap:8px} body .csheet .sm{min-height:44px; justify-content:center}
body .csheet .box.wide{width:min(640px,100%)} body .csheet .dbody{display:grid; gap:12px; min-width:0}
body .csheet .dbody .fl{display:grid; grid-template-columns:1fr 1fr; gap:10px} body .csheet .dbody .fl .full{grid-column:1 / -1}
body .csheet .dbody label{display:grid; gap:4px; font:600 12px/18px var(--sans); color:var(--text-2)} body .csheet .dbody :is(input,select,textarea){font:400 14px/20px var(--sans); color:var(--black); padding:9px 10px; border:1px solid var(--border); border-radius:8px; background:var(--white); min-height:40px} body .csheet .dbody label > :is(input,select,textarea){width:100%}
body .csheet .dbody label small{font:400 11.5px/16px var(--sans); color:var(--text-2)}
body .csheet .dbody .row{display:flex; gap:8px; align-items:center; flex-wrap:wrap} body .csheet .dbody .msg{font:400 12.5px/18px var(--sans); color:var(--text-2); min-height:18px}
body .csheet .dbody .msg.err{color:var(--blocked,#A03232)}
@media (max-width:480px){ body .csheet .dbody .fl{grid-template-columns:1fr} }
/* the context menu (hub.js Hub.menu): right-click, long press, or the "⋯" on a card */
body .cmenu-back{position:fixed; inset:0; z-index:130; background:transparent}
body .cmenu{position:fixed; z-index:131; min-width:220px; max-width:min(320px,calc(100vw - 16px)); max-height:calc(100vh - 16px); overflow:auto; background:var(--white); color:var(--black); border:1px solid var(--border); border-radius:12px; box-shadow:0 18px 40px -18px rgba(16,16,16,.55), 0 2px 8px rgba(16,16,16,.08); padding:6px; font:400 13.5px/20px var(--sans); animation:o6-pop .18s var(--ease) backwards}
body .cmenu.sheet{left:0; right:0; bottom:0; top:auto; max-width:none; border-radius:16px 16px 0 0; padding:8px 8px calc(8px + env(safe-area-inset-bottom)); max-height:min(80vh,calc(100vh - 40px))}
body .cmenu.sheet .cm-item{min-height:48px}
body .cmenu .cm-title{font:700 13px/18px var(--sans); color:var(--text-2); padding:6px 10px 4px; letter-spacing:.02em; overflow:hidden; text-overflow:ellipsis; white-space:nowrap}
body .cmenu .cm-head{font:700 11px/16px var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--text-2); padding:8px 10px 2px}
body .cmenu .cm-sep{height:1px; background:var(--border); margin:6px 4px}
body .cmenu .cm-item{display:flex; align-items:center; gap:10px; width:100%; text-align:left; min-height:40px; padding:8px 10px; border:0; border-radius:8px; background:transparent; color:inherit; font:inherit; cursor:pointer; text-decoration:none}
body .cmenu .cm-item:hover,body .cmenu .cm-item:focus-visible{background:var(--sunk); outline:none; box-shadow:inset 0 0 0 2px var(--gold)}
body .cmenu .cm-item[disabled]{opacity:.45; cursor:default; box-shadow:none; background:transparent}
body .cmenu .cm-item.danger{color:var(--blocked,#A03232)} body .cmenu .cm-item.cm-cancel{justify-content:center; font-weight:600; margin-top:4px; border-top:1px solid var(--border); border-radius:0 0 10px 10px}
body .cmenu .cm-ic{display:inline-flex; width:18px; height:18px; flex:none; color:var(--text-2)} body .cmenu .cm-ic svg{width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
body .cmenu .cm-l{flex:1 0 7rem; min-width:0; overflow-wrap:break-word} body .cmenu .cm-h{flex:0 1 auto; min-width:0; max-width:55%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:600 12px/18px var(--sans); color:var(--text-2)}
body .cmenu .cm-chips{display:flex; flex-wrap:wrap; gap:6px; padding:4px 10px 8px; align-items:center} body .cmenu .cm-chipl{font:600 12px/18px var(--sans); color:var(--text-2); margin-right:2px}
body .cmenu .cm-chip{font:600 12.5px/18px var(--sans); color:var(--black); background:var(--sunk); border:1px solid var(--border); border-radius:999px; padding:5px 10px; min-height:30px; cursor:pointer}
body .cmenu .cm-chip.on,body .cmenu .cm-chip:hover,body .cmenu .cm-chip:focus-visible{background:var(--gold); border-color:var(--gold); color:#101010; outline:none}
body .dlcard .more{position:absolute; top:6px; right:6px; width:32px; height:32px; border:0; border-radius:8px; background:transparent; color:var(--text-2); font:700 16px/1 var(--sans); cursor:pointer; opacity:.7}
body .dlcard .more:hover,body .dlcard .more:focus-visible{opacity:1; background:var(--sunk); color:var(--black); outline:2px solid var(--gold); outline-offset:-2px}
body .dlcard{position:relative; padding-right:40px} body .dlcard .split{display:block; font:400 12px/18px var(--sans); color:var(--text-2)}
body .dlcard .w{display:block; font:600 12px/18px var(--sans); color:var(--text-2)} body .dlcard .w b{display:inline; font:700 12px/18px var(--sans); color:var(--black)}
body .cm-hint{font:400 12px/18px var(--sans); color:var(--text-2); margin:0 0 8px}
/* the ⋯ on a list row (warm leads, call list): the same menu as right-click, for phones and for anyone who prefers a button */
body tr.row td.mo{width:36px; padding:0 4px; text-align:right} body tr.row .more{width:32px; height:32px; border:0; border-radius:8px; background:transparent; color:var(--text-2); font:700 16px/1 var(--sans); cursor:pointer; opacity:.7; vertical-align:middle}
body tr.row .more:hover,body tr.row .more:focus-visible{opacity:1; background:var(--sunk); color:var(--black); outline:2px solid var(--gold); outline-offset:-2px}
body table.list.cards tr.row td.mo,body table.list tr.row td.mo[data-l]{text-align:left}
/* a press-and-hold opens the menu, so the hold must not also select text or raise the copy callout */
body :is(tr.row,.card,.dlcard){-webkit-user-select:none; user-select:none; -webkit-touch-callout:none}
/* reports */
body .rgrid{display:grid; grid-template-columns:1fr; gap:24px}
@media (min-width:1100px){ body .rgrid{grid-template-columns:repeat(2,minmax(0,1fr))} body .rgrid .full{grid-column:1 / -1} }
body .rgrid h2{font:700 18px/26px var(--sans); margin:0 0 12px}
body.crm table.list td.num,body.crm table.list th.num{text-align:right; white-space:nowrap}
@media (max-width:767px){ body.crm table.list td.num{text-align:left} }
/* client page: two lists side by side on a wide screen */
body .twocol{display:grid; grid-template-columns:1fr; gap:24px} @media (min-width:1100px){ body .twocol{grid-template-columns:repeat(2,minmax(0,1fr))} }
body .sechead{display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px; margin:0 0 12px} body .sechead h2{font:700 18px/26px var(--sans); margin:0}
body .cpeople{list-style:none; margin:8px 0; padding:0; display:grid; gap:6px} body .cpeople li{font:400 13px/19px var(--sans); color:var(--black)} body .cpeople li b{font-weight:600} body .cpeople a{color:var(--link)}
/* global search (hub.js) */
.top .gsbtn{order:8; margin-left:auto; display:inline-flex; align-items:center; gap:8px; height:40px; padding:0 12px; border:1px solid var(--border); border-radius:8px; background:var(--white); color:var(--text-2); font:500 14px/20px var(--sans); cursor:pointer; flex:none}
.top .gsbtn svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.top .gsbtn:hover{background:var(--canvas); color:var(--black)} .top .gsbtn kbd{margin-left:8px}
body.has-gs #hubNav{margin-left:0}
/* the bell: the person's hub inbox (hub.js notifSetup) */
.top .nbell{order:9; position:relative; display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin-left:8px; border:1px solid var(--border); border-radius:8px; background:var(--white); color:var(--text-2); cursor:pointer; flex:none}
.top .nbell:first-of-type{margin-left:auto}
.top .nbell svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.top .nbell:hover,.top .nbell.has{background:var(--canvas); color:var(--black)}
.top .nbell .n{position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--gold); color:#101010; font:700 11px/18px var(--sans); text-align:center}
#npanel{position:fixed; z-index:141; width:min(400px,calc(100vw - 16px)); max-height:min(70vh,560px); display:flex; flex-direction:column; background:var(--white); border:1px solid var(--border); border-radius:12px; box-shadow:var(--shadow-lg); overflow:hidden}
#npanel[hidden]{display:none}
#npanel .nh{display:flex; align-items:center; gap:10px; padding:10px 12px 10px 16px; border-bottom:1px solid var(--border); font:700 14px/20px var(--sans); color:var(--black)} #npanel .nh .sp{flex:1}
#npanel .nh .sm{min-height:32px; padding:0 10px; border:1px solid var(--border); border-radius:8px; background:var(--white); font:600 12px/18px var(--sans); color:var(--black); cursor:pointer}
#npanel .nl{overflow-y:auto; padding:6px}
#npanel .nn{padding:16px 12px; font:400 14px/20px var(--sans); color:var(--text-2)}
#npanel a.ni{display:grid; grid-template-columns:10px minmax(0,1fr); gap:10px; align-items:start; padding:10px; border-radius:8px; text-decoration:none; color:var(--black); font:400 13.5px/19px var(--sans)}
#npanel a.ni:hover{background:var(--wash)} #npanel a.ni.unread{background:var(--gold-wash)}
#npanel .nd{width:10px; height:10px; border-radius:50%; margin-top:5px; background:var(--idle)} #npanel .money .nd{background:var(--done)} #npanel .booking .nd{background:var(--review)} #npanel .alarm .nd{background:var(--blocked)} #npanel .lead .nd{background:var(--risk)}
#npanel .nt small{display:block; font:400 12px/16px var(--sans); color:var(--text-2); margin-top:2px}
#npanel .nh a.sm{text-decoration:none; display:inline-flex; align-items:center}
/* the unread count on the Notifications entry of the side menu (and hidden in the icon rail, where there is no room) */
.side nav a b.n{margin-left:auto; min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--gold); color:#101010; font:700 11px/18px var(--sans); text-align:center}
.side nav a b.n[hidden]{display:none} body.nav-rail .side nav a b.n{display:none}
/* the Notifications page (notifications.html): the same rows as the bell, grouped by day */
.inbox .day{font:700 11px/16px var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--text-2); margin:18px 0 6px} .inbox .day:first-child{margin-top:0}
.inbox a.ni{display:grid; grid-template-columns:10px minmax(0,1fr) auto; gap:12px; align-items:start; padding:12px 14px; border:1px solid var(--border); border-radius:10px; margin-bottom:6px; text-decoration:none; color:var(--black); background:var(--white); font:400 14px/20px var(--sans)}
.inbox a.ni:hover{border-color:var(--gold)} .inbox a.ni.unread{background:var(--gold-wash); border-color:var(--gold)}
.inbox .nd{width:10px; height:10px; border-radius:50%; margin-top:5px; background:var(--idle)} .inbox .money .nd{background:var(--done)} .inbox .booking .nd{background:var(--review)} .inbox .alarm .nd{background:var(--blocked)} .inbox .lead .nd{background:var(--risk)}
.inbox .nt small{display:block; font:400 12px/16px var(--sans); color:var(--text-2); margin-top:2px}
.inbox .nk{font:600 11px/18px var(--sans); letter-spacing:.06em; text-transform:uppercase; color:var(--text-2); white-space:nowrap}
.inbox .empty{padding:28px 16px; text-align:center; color:var(--text-2); font:400 14px/20px var(--sans); border:1px dashed var(--border); border-radius:10px}
.side nav .gsn{display:flex; align-items:center; gap:12px; min-height:44px; padding:0 12px; border-radius:8px; font:500 14px/20px var(--sans); color:#E9E5DA; background:none; border:1px solid #2E2C27; cursor:pointer; text-align:left; width:100%; margin-bottom:8px}
.side nav .gsn svg{width:18px; height:18px; stroke:var(--gold); fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; flex:none} .side nav .gsn:hover{background:#1F1E1B; color:var(--white)}
@media (min-width:1200px){ body.nav-rail .side nav .gsn{justify-content:center; padding:0} body.nav-rail .side nav .gsn span{display:none} }
#gsearch{position:fixed; inset:0; z-index:140; background:rgba(16,16,16,.5); display:none; padding:10vh 16px 16px}
#gsearch.on{display:block}
#gsearch .gbox{max-width:640px; margin:0 auto; background:var(--white); border-radius:12px; overflow:hidden; box-shadow:var(--shadow-lg); display:flex; flex-direction:column; max-height:76vh}
#gsearch .gin{display:flex; align-items:center; gap:10px; padding:0 8px 0 16px; border-bottom:1px solid var(--border)}
#gsearch .gin > svg{width:20px; height:20px; stroke:var(--text-2); fill:none; stroke-width:1.8; stroke-linecap:round; flex:none}
body #gsearch #gsq{flex:1; min-width:0; min-height:56px; border:none; border-radius:0; padding:0; font-size:17px; background:none; outline:none}
#gsearch .gx{flex:none; min-height:44px; padding:0 12px; border:1px solid var(--border); border-radius:8px; background:var(--white); font:600 13px/18px var(--sans); color:var(--black); cursor:pointer}
#gsearch .glist{overflow-y:auto; padding:6px}
#gsearch .gnote{padding:16px 12px; font:400 14px/20px var(--sans); color:var(--text-2)}
#gsearch a.gr{display:grid; grid-template-columns:32px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:52px; padding:6px 10px; border-radius:8px; text-decoration:none; color:var(--black)}
#gsearch a.gr.on,#gsearch a.gr:hover{background:var(--wash)}
#gsearch .gi{width:32px; height:32px; border-radius:8px; background:var(--head); display:grid; place-items:center} #gsearch .gi svg{width:16px; height:16px; stroke:var(--link); fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
#gsearch .gm{min-width:0} #gsearch .gm b{display:block; font:600 14px/20px var(--sans); white-space:nowrap; overflow:hidden; text-overflow:ellipsis} #gsearch .gm span{display:block; font:400 12.5px/18px var(--sans); color:var(--text-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
#gsearch .gt{font:600 11px/16px var(--sans); letter-spacing:.04em; text-transform:uppercase; color:var(--text-2)}
#gsearch .gfoot{display:flex; gap:16px; padding:8px 16px; border-top:1px solid var(--border); font:400 12px/18px var(--sans); color:var(--text-2)} #gsearch .gfoot kbd{margin-right:4px}
body.gs-open{overflow:hidden}
@media (max-width:767px){
  .top .gsbtn{width:40px; padding:0; justify-content:center; background:#1F1E1B; border-color:#2E2C27; color:var(--white)} .top .gsbtn span,.top .gsbtn kbd{display:none}
  .top .nbell{background:#1F1E1B; border-color:#2E2C27; color:var(--white)}
  #gsearch{padding:0} #gsearch .gbox{max-width:none; height:100%; max-height:none; border-radius:0} #gsearch .gfoot{display:none}
  body .chead{padding:16px} body .chead h2{font-size:22px; line-height:30px}
  body .cacts .sm,body .cacts .go{flex:1 1 calc(50% - 4px); justify-content:center}
  body .fchip{min-height:44px} body .ctabs button{min-height:44px}
  body .ctl{padding:4px 14px}
}
/* the hidden attribute wins over the display rules above (CRM pages, forms, the board's client link) */
body.crm [hidden],body .cform [hidden],body .cform[hidden],body a.sm[hidden]{display:none!important}
body .fcast{grid-auto-columns:minmax(140px,1fr)}
@media (max-width:767px){
  body .fchips.scroll{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin-right:-16px; padding-right:16px} body .fchips.scroll::-webkit-scrollbar{display:none} body .fchips.scroll .fchip{flex:none}
  body .chead .facts{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 16px}
}
body .cform input[type=checkbox]{width:22px; height:22px; min-height:0; flex:none}
body .dlcard .v > span{white-space:nowrap} body .dlcard .v > span:first-child{white-space:normal}
body.crm .bar input[type=search]{flex:1 1 260px; min-width:0}
body .rgrid > *{min-width:0}
@media (min-width:1100px) and (max-width:1439px){ body .rgrid{grid-template-columns:1fr} }
body.crm .stats .stat b{white-space:nowrap; font-size:clamp(20px,2.2vw,28px)}
/* the one line under a board title that says what moving a card changes */
body .hero p.what{background:var(--cream,#FBF6EA); border-radius:8px; padding:8px 12px; color:var(--black); margin-bottom:6px} body .hero p.what a{color:var(--link)}
body .dlcard .auto{font-size:11.5px; font-style:italic}
/* a callback in My list: a phone to tap (it opens the lead), never a tick box; it clears when the call is logged */
body .ctick.cbgo i{border:none; background:var(--done-bg); border-radius:50%; width:30px; height:30px} body .ctick.cbgo svg{opacity:1; stroke:var(--done); width:16px; height:16px; stroke-width:2}
/* the Undo bar (Hub.undo): bottom centre, above the phone tab bar */
#undoBar{position:fixed; left:50%; transform:translateX(-50%); bottom:24px; z-index:90; display:flex; align-items:center; gap:12px; max-width:calc(100vw - 32px); background:#1A1509; color:#F2E7D6; border-radius:10px; padding:10px 10px 10px 16px; box-shadow:0 12px 28px -12px rgba(0,0,0,.55); font:500 14px/20px var(--sans)}
#undoBar span{min-width:0; overflow-wrap:anywhere} #undoBar button{flex:none; min-height:44px; border:none; border-radius:8px; padding:0 12px; font:700 13px/18px var(--sans); background:var(--gold); color:#1A1509; cursor:pointer} #undoBar button.x{background:transparent; color:#B9B4A7; font-size:20px; padding:0 8px}
@media (max-width:767px){ #undoBar{bottom:calc(84px + env(safe-area-inset-bottom,0px)); width:calc(100vw - 32px)} }
/* CRM delete: a small × beside a task, contact, deal or note line (delete with Undo, Hub.undo); a 44px target, always visible (no hover-only) */
body .cdel{flex:none; width:44px; height:44px; display:grid; place-items:center; border:none; background:none; padding:0; margin:0 0 0 auto; cursor:pointer; border-radius:8px; color:var(--text-2); font:400 24px/1 var(--sans)}
body .cdel:hover, body .cdel:focus-visible{color:var(--blocked); background:var(--sunk)} body .cdel:disabled{cursor:wait; opacity:.5}
body .ctli.has-del{grid-template-columns:36px minmax(0,1fr) 44px} body .ctli.has-del .cdel{margin:-8px -8px 0 0}
body.crm .sm.del{color:var(--blocked)} body.crm .sm.del:disabled{opacity:.5; cursor:wait}
body.crm td .cdel{display:inline-grid; margin:0}
body.crm .dlrow{display:flex; flex-wrap:wrap; gap:6px; align-items:center}

/* profile avatars anywhere on a page (Hub.avatar): round, centred initials in the person's colour */
body .avatar{display:inline-grid; place-items:center; border-radius:50%; font-weight:700; line-height:1; flex:none; vertical-align:middle; font-family:var(--sans)}

/* quick bar in the top bar on wide screens: the same four as the phone tab bar */
.topnav{display:none; align-items:center; gap:4px; margin-left:8px}
@media(min-width:1000px){.topnav{display:flex}}
.topnav a{display:flex; align-items:center; gap:8px; height:40px; padding:0 14px; border-radius:8px; font:600 13px/1 var(--sans); color:var(--text-2); text-decoration:none; position:relative; white-space:nowrap}
.topnav a svg{width:18px; height:18px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round}
.topnav a:hover{background:var(--head); color:var(--black)} .topnav a.on{background:var(--black); color:var(--gold)} .topnav a.on svg{stroke:var(--gold)}
.topnav a .n{min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:var(--gold); color:var(--black); font:700 11px/18px var(--sans); text-align:center}
@media(min-width:1000px) and (max-width:1300px){.topnav a span{display:none} .topnav a{padding:0 11px}}

/* ---------- sections: the side menu lists eight sections; each page shows its section's tabs in one strip ---------- */
body .ptabs{display:flex; gap:4px; flex-wrap:wrap; margin:0 0 14px; padding:0 0 10px; border-bottom:1px solid var(--border)}
body .ptabs a{font:600 13px/18px var(--sans); color:var(--text-2); text-decoration:none; padding:8px 12px; border-radius:8px; min-height:36px; display:inline-flex; align-items:center}
body .ptabs a:hover{color:var(--black); background:var(--cream)}
body .ptabs a.on{color:var(--black); background:var(--gold-wash,#F7EDD6); box-shadow:inset 0 -3px 0 var(--gold)}
@media (max-width:767px){
  body .ptabs{flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; margin:0 -16px 12px; padding:0 16px 10px; -webkit-mask-image:linear-gradient(90deg,#000 92%,transparent)} body .ptabs::-webkit-scrollbar{display:none} body .ptabs a{flex:none; min-height:44px}
}

/* ---------- readability floor (2026-10-15): small labels at 11px, secondary text at 4.5:1 on white and cream ---------- */
body main small{font-size:max(11px,.8em)}
body .cal .wd{font-size:11px; color:#5E5A52} body .cal .d i{font-size:9.5px} body .cal .foot,body .chip .n,body .ev .team .n{color:#5E5A52}
body .ev .tags .tag{font-size:11px} body .ev .pin{font-size:11px; color:#5E5A52}
body .fs span,body .job .mods span{font-size:11px}
body .tabs2 button .n{color:#7A5A12; font-weight:700}
body .run .n span,body .focusnote .kw{font-size:11px} body .chip.focus .tag{font-size:10px}
body .node .lane{font-size:11px; color:color-mix(in srgb,var(--c,var(--gold-deep)) 65%,#000)} body .node .n{background:color-mix(in srgb,var(--c,var(--gold)) 75%,#000)}
body .heat .c small{font-size:11px; opacity:.9}
@media (max-width:767px){ body .flow .lab{font-size:10px} }
body .course b{color:var(--link)} body main .nav a{font-size:12px; color:var(--link)}
body .legend .st{filter:brightness(.72)}
body .pod.first .bk span{color:#B9B4A7}
body header.top .brand{flex:none}
/* pages without the shell (Message) keep their logo and title readable on the black phone header */
@media (max-width:767px){ body:not(.shell) header.top .brand{color:var(--white)} body:not(.shell) header.top .who{color:#B9B4A7; font-size:11px} }
body .dchip span{font-size:10.5px} body .ev .why span{font-size:11px}
body .stages a .c small{font-size:11px} @media (max-width:767px){ body .stages a .c small{font-size:10.5px} }
body .nav a[href="/"]{font-size:12px; color:var(--link)}

/* ======================================================================================================================
   OPTION 6 (chosen 2026-10-23; canvas "Staff Hub Element Styles"). Option 1's framed desktop shell with option 2's phone
   layout: a warm frame, a white floating menu with a colour per section, white 22 px tiles, pill buttons, every tab as a
   tinted row, gold for the thing that matters now. Admins see all of it as the black console.
   Only looks change here: every page keeps its markup, its data and its behaviour. Motion is the block after this one.
   ====================================================================================================================== */
:root{--canvas:#F6F4EF; --text-2:#4A4943; --card-line:#EAE6DE; --ease:cubic-bezier(.2,.8,.2,1)}
html,body{background:var(--canvas)}
body{font-size:15px; line-height:23px}

/* ---------- the menu: a white card floating on the frame ---------- */
body .side{inset:16px auto 16px 16px; width:232px; background:#fff; color:#2A2A2A; border-radius:24px; padding:20px 14px 14px; box-shadow:0 1px 0 rgba(16,16,16,.03),0 24px 48px -36px rgba(16,16,16,.45)}
body .side .mk{background:#101010} body .side .wm{color:#101010}
body .side .ws{color:#8A857A; border-bottom-color:#EDE9E1; margin:14px 8px 12px; padding-bottom:14px}
body .side nav{gap:2px}
body .side nav a{position:relative; min-height:42px; border-radius:12px; color:#4A4943; font-weight:500; transition:background .18s ease,color .18s ease}
body .side nav a svg{stroke:var(--c,#101010); transition:transform .3s var(--ease)}
body .side nav a:hover{background:#F3F0E9; color:#101010} body .side nav a:hover svg{transform:scale(1.14)}
body .side nav a.on{background:#F3EAD7; color:#101010; font-weight:700} body .side nav a.on svg{stroke:var(--c,#101010)}
body .side nav a.on::before{content:""; position:absolute; left:-14px; top:9px; width:4px; height:24px; border-radius:0 4px 4px 0; background:var(--gold); animation:o6-mark .5s var(--ease) .1s backwards}
body .side nav .grp{color:#8A857A}
body .side nav .gsn{border-color:#E8E4DA; color:#4A4943; border-radius:999px; transition:background .18s} body .side nav .gsn svg{stroke:#101010} body .side nav .gsn:hover{background:#F3F0E9; color:#101010}
body .side .foot{border-top-color:#EDE9E1}
body .side .foot a,body .side .foot button{color:#4A4943; border-radius:12px; transition:background .18s} body .side .foot a:hover,body .side .foot button:hover{background:#F3F0E9; color:#101010}
body .side .user{background:#101010; border-radius:18px; padding:12px; margin-top:6px} body .side .user .who-name b{color:#fff} body .side .user .who-name span{color:#CFCABD}
body .side .nav-fold{background:#fff; border-color:#E8E4DA; color:#101010} body .side .nav-fold:hover{background:var(--gold); border-color:var(--gold); color:#101010}
body .side :focus-visible{outline-color:var(--link)}
@media (min-width:1200px){
  body.shell{padding-left:264px} body.shell.nav-rail{padding-left:104px}
  body.nav-rail .side{width:72px; padding:20px 10px 14px} body.nav-rail .side nav a.on::before{left:-10px}
  body.nav-rail .side .user{background:none; padding:8px 0 0}
}
@media (max-width:1199px){ body .side{transform:translateX(calc(-100% - 24px))} body.nav-open .side{transform:none} }

/* ---------- the top bar: a white bar with round ends on the frame ---------- */
body header.top{background:#fff; border:none; border-radius:24px; margin:16px 16px 0 16px; top:16px; box-shadow:0 24px 48px -40px rgba(16,16,16,.45)}
body header.top::before{content:""; position:absolute; left:-16px; right:-16px; top:-17px; height:17px; background:var(--canvas)} /* the frame shows above it while the page scrolls */
body.shell header.top{margin-left:0}
@media (max-width:1199px){ body.shell header.top{margin-left:16px} }
body header.top .wrap{min-height:64px; padding:0 12px 0 16px}
body .top .menu,body #hubNav button{border-radius:999px; border-color:#E8E4DA}
.top .gsbtn{border:none; border-radius:999px; background:var(--canvas)} .top .gsbtn:hover{background:#ECE8DF}
.topnav a{border-radius:999px; transition:background .18s,color .18s}

/* ---------- headings ---------- */
body .hero h1{letter-spacing:-.01em}
body.overview .hero h1{font:700 34px/42px var(--sans); letter-spacing:-.02em; text-transform:none}
body .hero h1::after{transform-origin:left}
body .sec-head{border-bottom:none; background:linear-gradient(var(--gold),var(--gold)) left bottom / 100% 2px no-repeat}
body .sec-head .n{color:#4A4943}
body .ptabs{gap:6px; border-bottom-color:#E8E4DA}
body .ptabs a{border-radius:999px; transition:background .18s,color .18s}
body .ptabs a.on{background:#101010; color:#fff; box-shadow:none}

/* ---------- surfaces: white tiles, 22 px, a hairline instead of a border ---------- */
body .tile,body .panel,body .dial,body .block,body .stat,body .form,body .card,body table.list,body table#tbl,body .tree,body .doc,body .box,body #imp,body #bulk,body #newLead,body #sendBox,body .modal .box,body .chart,body .chead,body .ctl,body .ctasks,body .rings,body .csheet .box{border-radius:22px; border-color:var(--card-line)}
body .note,body .notice{border-radius:16px}
body .stat,body .stats .stat:nth-child(n){border-radius:20px; border:1px solid var(--card-line); padding:18px 20px}
body .stat b,body .stats .stat b{font-size:30px; line-height:38px; letter-spacing:-.01em}
body .stat.on,body .stats .stat.on{border-color:#101010}
body .cform{border-radius:18px} body .fcast div{border-radius:18px; border-top:1px solid var(--card-line); border-color:var(--card-line)}
body .col,body .col[data-stage],body .dcol{border-radius:20px}
body .col[data-stage] .card,body .col .card,body .dlcard{border-radius:14px; transition:transform .18s var(--ease),box-shadow .18s,border-color .18s}
body .dlcard:hover,body .col .card:hover{transform:translateY(-2px); box-shadow:0 14px 24px -20px rgba(16,16,16,.45)}
@media (min-width:768px){ body .chead{border-top:1px solid var(--card-line)} }

/* ---------- controls: pills ---------- */
body button.go,body a.go,body #gate button,body #pw button,body .btns #copy,body #imp .go,body #bulk .go,body #scriptBtn{border-radius:999px; transition:background .15s,transform .12s var(--ease)}
body button.sm,body a.sm,body td .sm,body .tools a,body .copy,body #scriptDrawer .dh button,body .bar a.v,body .ctabs button,body .outs button{border-radius:999px; transition:background .15s,border-color .15s,transform .12s var(--ease)}
body button.go:active,body a.go:active,body button.sm:active,body a.sm:active,body .outs button:active,body .fchip:active{transform:scale(.96)}
body input,body select,body textarea{border-radius:12px}
body .tag{border-radius:999px; padding:2px 10px}

/* ---------- Home: every tab as a tinted row (tint, white icon circle, title, one line, black chip) ---------- */
body .grid:has(> .tile){grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr)); gap:12px}
body .grid > .tile,body .grid > .tile.tinted,body .grid > .tile.client{display:grid; grid-template-columns:44px minmax(0,1fr) auto; grid-template-rows:auto auto; column-gap:14px; align-content:center; align-items:center; min-height:78px; padding:14px 14px 14px 16px; border:none; border-radius:20px; background:color-mix(in srgb,var(--brand) 11%,#fff); box-shadow:none; transition:transform .25s var(--ease),box-shadow .25s var(--ease),background .25s}
body .grid > .tile:hover{transform:translateY(-3px); background:color-mix(in srgb,var(--brand) 16%,#fff); box-shadow:0 18px 30px -22px color-mix(in srgb,var(--brand) 85%,#000)}
body .grid > .tile .ic,body .grid > .tile.tinted .ic{grid-row:1 / span 2; width:44px; height:44px; margin:0; border:none; border-radius:50%; background:#fff; transition:transform .35s var(--ease)}
body .grid > .tile .ic svg,body .grid > .tile.tinted .ic svg{width:20px; height:20px; stroke:var(--brand)}
body .grid > .tile .ic.initials{background:var(--brand); color:var(--on)}
body .grid > .tile .ic.logo{border-radius:12px; padding:4px; background:#fff}
body .grid > .tile:hover .ic{transform:scale(1.08) rotate(-6deg)}
body .grid > .tile h3{grid-column:2; align-self:end; font:700 15px/20px var(--sans); color:#101010}
body .grid > .tile p{grid-column:2; align-self:start; margin:2px 0 0; font:400 13px/18px var(--sans); color:color-mix(in srgb,var(--brand) 45%,#262626); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden}
body .grid > .tile .go{grid-column:3; grid-row:1 / span 2; margin:0; display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; background:#101010; color:#fff; font:700 12.5px/18px var(--sans)}
body .grid > .tile .go svg{stroke:var(--gold); width:13px; height:13px}
body .grid > .tile:hover .go svg{transform:translateX(3px)}
body .grid > .tile .go .ext{display:none}
body .grid > .tile[target=_blank] .go::after{content:"↗"; color:var(--gold); font-weight:700; margin-left:-2px}

/* ---------- Today: rings tile, black money tile, tinted rows, the next call in gold ---------- */
body .rings{border:1px solid var(--card-line); padding:18px 12px}
body .ring .rv span,body .ring .rl{color:#4A4943}
body .earn{border-radius:22px; background:radial-gradient(circle at 100% 0,rgba(214,182,108,.26),transparent 55%),#101010}
body .block,body .blocks .block{border:1px solid var(--card-line); border-radius:22px}
body .block .item{border-top:none; margin-top:8px; padding:10px 12px; gap:12px; border-radius:16px; background:#F6F4EF; color:#2A2A2A; transition:transform .2s var(--ease),background .2s}
body .block .item:first-of-type{border-top:none}
body .block .item:hover{transform:translateX(4px); background:#EFEBE2}
body .block .item:has(.do.call){background:#E3EDE6} body .block .item:has(.do.text){background:#E1EAF2} body .block .item:has(.do.email){background:#F3EAD7}
body .block .item .t{min-width:66px; padding:6px 10px; border-radius:12px; background:#fff; color:#101010; text-align:center; font-weight:700}
body .block .item.due .t{color:var(--blocked)}
body .block .item .n small{color:#4A4943; font-size:13px}
body .block .item .do,body .block .item .do.call,body .block .item .do.text,body .block .item .do.email,body .block .item .do.wait{background:#101010; color:#fff; padding:3px 11px}
/* the next step on a row is its own link just after it (a link cannot sit inside a link): a chip under the row, the row tinted by it */
body .block .item:has(+ .do.call){background:#E3EDE6} body .block .item:has(+ .do.text){background:#E1EAF2} body .block .item:has(+ .do.email){background:#F3EAD7}
body .block .item + .do{display:inline-flex; align-items:center; gap:4px; width:max-content; max-width:calc(100% - 12px); margin:6px 0 2px 12px; padding:3px 12px; border-radius:999px; background:#101010; color:#fff; font:600 12.5px/18px var(--sans); text-decoration:none; transition:transform .15s var(--ease),background .15s}
body .block .item + .do:hover{transform:translateX(3px); background:#2A2A2A}
#booked > .item:first-child{background:var(--gold); color:#101010}
#booked > .item:first-child .n small{color:#2A2A2A}
#booked > .item:first-child .do{background:#101010; color:var(--gold)}
body .block .ctasks{background:none; border:none; padding:0}
body .block .ctask{border-top:none; margin-top:8px; padding:2px 10px 2px 2px; border-radius:16px; background:#F6F4EF; transition:transform .2s var(--ease),background .2s}
body .block .ctask:hover{transform:translateX(4px)}
body .block .ctask:has(.cbgo){background:#E3EDE6} body .block .ctask:has(.late){background:#FBEDEC} body .block .ctask.done{opacity:.6}
body .block .ctask .tb .tw{color:#4A4943}

/* ---------- phones: option 2's layout (light header, full-width tinted rows, a floating black dock) ---------- */
@media (max-width:767px){
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
  body .side{inset:10px auto 10px 10px; width:min(280px,calc(100vw - 48px))}
  body header.top,body.shell header.top{margin:0; border-radius:0 0 22px 22px; top:0; background:rgba(255,255,255,.94); -webkit-backdrop-filter:saturate(1.4) blur(10px); backdrop-filter:saturate(1.4) blur(10px)}
  body header.top::before{display:none}
  .top .mlogo .wm{color:#101010}
  body #hubNav button{background:#fff; border-color:#E8E4DA; color:#101010}
  .top .gsbtn{background:var(--canvas); color:#101010}
  body:not(.shell) header.top .brand{color:#101010} body:not(.shell) header.top .who{color:#4A4943}
  .tabbar{left:12px; right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); border-top:none; border-radius:999px; padding:6px 8px; box-shadow:0 20px 40px -18px rgba(16,16,16,.6)}
  .tabbar a,.tabbar button{border-radius:999px; color:#CFCABD; transition:color .18s,background .18s}
  .tabbar a.on{background:#1F1E1B}
  #undoBar{bottom:calc(96px + env(safe-area-inset-bottom,0px))}
  body #scriptBtn{bottom:96px}
  body.overview .hero h1{font-size:28px; line-height:34px}
  body .grid > .tile,body .grid > .tile.tinted,body .grid > .tile.client{min-height:68px; padding:12px; column-gap:12px; border-left:none}
  body .grid > .tile .ic{width:40px; height:40px}
  body .grid > .tile .go{font-size:0; gap:0; padding:8px 9px}
  body .grid > .tile[target=_blank] .go::after{font-size:12px; margin-left:2px}
  body .stat,body .stats .stat:nth-child(n){border-radius:16px}
  body .stat b,body .stats .stat b{font-size:22px; line-height:28px}
}

/* ---------- dark palette; the legacy adm class now follows the user's colour preference ---------- */
/* No white flash between pages: workspace.js applies the saved colour preference before CSS, so the dark canvas
   paints before hub.js adds body.adm (Emile 2026-11-11: tab clicks "flash white ... need smoother transitions"). The body is
   empty until the shell renders, so inheriting --canvas is enough to paint the whole first frame dark. */
html.adm{--canvas:#0B0B0A; background:#0B0B0A; color-scheme:dark}
html:has(body.adm){background:#0B0B0A}
body.adm{--canvas:#0B0B0A; --card-line:#2A2824; background:#0B0B0A; color:#E9E5DA; color-scheme:dark}
/* the palette, turned: surfaces dark, text light, status chips dark with light words. "Black" accents (a selected
   filter, a dark button) turn light so they still stand out on the dark page. */
body.adm{--white:#161513; --paper:#161513; --surface:#161513; --bone:#0B0B0A; --grey:#0B0B0A; --head:#1F1E1B; --band:#1F1E1B; --sunk:#1F1E1B; --grey-2:#1F1E1B;
  --black:#F2EEE4; --ink:#F2EEE4; --charcoal:#E9E5DA; --body:#E9E5DA; --text-2:#D4CFC2; --muted:#D4CFC2;
  --border:#3A3730; --border-soft:#2A2824; --line:#3A3730; --line-soft:#2A2824; --field:#6B675F;
  --cream:#2A2416; --wash:#2A2416; --gold-wash:#2A2416; --gold-soft:#2A2416; --link:#E4C783; --yellow-deep:#E4C783; --gold-deep:#E0BE73;
  --done:#8FD0A8; --done-bg:#16261E; --review:#9DC1E6; --review-bg:#15202C; --risk:#E8C77A; --risk-bg:#2A2416; --blocked:#F0A99F; --blocked-bg:#2E1A18; --idle:#D4CFC2; --idle-bg:#24221E;
  --shadow-lg:0 24px 48px -28px rgba(0,0,0,.8)}
body.adm table.list th,body.adm table#tbl th,body.adm .doc th{background:#0B0B0A; color:var(--gold); box-shadow:inset 0 -1px 0 #2A2824}
body.adm tr.row:hover td{background:#1F1E1B} body.adm tr.row.sel td{background:#2A2416}
body.adm .stat.on,body.adm .stats .stat.on{background:#2A2416; border-color:var(--gold)} body.adm .stat.on b{color:var(--gold)} body.adm .stat.on span{color:#F2EEE4}
body.adm .fchip.on .n,body.adm .ctabs button.on .n{color:#101010}
body.adm button.dark,body.adm a.dark,body.adm .bar a.v.on,body.adm .fchip.on,body.adm .ctabs button.on,body.adm .tabs button.on,body.adm .outs button.on,body.adm #scriptDrawer .dh button.on{background:var(--gold); border-color:var(--gold); color:#101010}
body.adm .dark-card{background:#161513; box-shadow:inset 0 0 0 1px #3A3426} body.adm .dark-card h3{color:#fff}
body.adm .dropbar{background:#0B0B0A}
body.adm #gsearch .gbox{background:#161513} body.adm #gsearch a.gr{color:#F2EEE4}
body.adm #undoBar{background:#2A2416; box-shadow:inset 0 0 0 1px #3A3426,0 12px 28px -12px #000}
body.adm .modal,body.adm .csheet{background:rgba(0,0,0,.6)}
body.adm img.logo,body.adm .clogo{background:#fff} /* client logos are drawn for white */
body.adm a{color:inherit}
/* gold stays gold, so whatever sits on gold keeps black words */
body.adm :is(button.go,a.go,.chip.on,.col h3 span,.dcol h3 span,.score.A,.topnav a .n,.stages a.on .no,.undo button,.tpl button.mark,.switch a.on,.side .avatar,.top .avatar,.cal .d.end){color:#101010}
body.adm #scriptBtn,body.adm #pw button,body.adm .btns #copy,body.adm #imp .go,body.adm #bulk .go,body.adm #undoBar button,body.adm #scriptDrawer .db mark.cur{color:#101010}
body.adm button.go:disabled{color:#A39E92!important}
body.adm .stages a.on{background:#2A2416; color:#fff; box-shadow:inset 0 0 0 1px var(--gold)}
body.adm .earn .row b{color:#fff}
body.adm #scriptDrawer .db{color:var(--body)}
/* Tracker: chart colours that read on the dark card */
body.adm{--c-bar:#A39E92; --c-a:#C9A35A; --c-b:#F2EEE4; --c-c:#6E9CCB; --c-ok:#5DAE7E; --c-bad:#E0796B}
body.adm .legend,body.adm .hb .l{color:#E9E5DA} body.adm .fn .step .b{color:#101010!important}
body.adm .heat .c{color:#101010} body.adm .heat .c.dark{color:#fff}
body.adm .tag.on{background:var(--done-bg); color:var(--done)}
/* Leaderboard, Events, Expenses, Learn */
body.adm .pod.first{background:#2A2416; border-color:var(--gold)} body.adm .pod.first .nm,body.adm .pod.first .bk{color:#fff} body.adm .pod.first .sub,body.adm .pod.first .bk span{color:#D4CFC2}
body.adm .cal .wd,body.adm .cal .foot,body.adm .chip .n,body.adm .ev .team .n,body.adm .ev .pin{color:#B9B4A7}
body.adm .cal .d i,body.adm .snap .cam,body.adm .snap .cam span,body.adm .dot{color:#101010}
body.adm .ev .why span{color:#E9E5DA} body.adm .sep{color:#6B675F!important} body.adm .c-why-cell .why{color:#E9E5DA}
@media (max-width:767px){ body.adm table.list tr.row{background:#161513; border-color:#2A2824} }
body.adm .tools a.go{background:var(--gold); border-color:var(--gold); color:#101010}
/* DISC, the Admin console tabs, How it runs */
body.adm .p .dot{color:#fff} body.adm .p .st,body.adm .legend .st{filter:brightness(1.9)}
body.adm .tabs2 button .n{color:var(--gold)}
body.adm .node .lane{color:color-mix(in srgb,var(--c,var(--gold)) 50%,#fff)}
body.adm .note,body.adm .notice{color:#E9E5DA!important} body.adm .notice :is(b,summary,strong){color:inherit}
body.adm .side{background:#161513; color:#E9E5DA; box-shadow:0 0 0 1px #2A2824}
body.adm .side .mk{background:#F3EAD7} body.adm .side .wm{color:#fff}
body.adm .side .ws{color:#A39E92; border-bottom-color:#2A2824}
body.adm .side nav a{color:#D4CFC2} body.adm .side nav a:hover{background:#1F1E1B; color:#fff}
body.adm .side nav a svg{stroke:color-mix(in srgb,var(--c,#D6B66C) 45%,#F2EEE4)}
body.adm .side nav a.on{background:#2A2416; color:#fff} body.adm .side nav a.on svg{stroke:var(--gold)}
body.adm .side nav .grp{color:#A39E92}
body.adm .side nav .gsn{border-color:#2A2824; color:#D4CFC2} body.adm .side nav .gsn svg{stroke:var(--gold)} body.adm .side nav .gsn:hover{background:#1F1E1B; color:#fff}
body.adm .side .foot{border-top-color:#2A2824} body.adm .side .foot a,body.adm .side .foot button{color:#D4CFC2} body.adm .side .foot a:hover,body.adm .side .foot button:hover{background:#1F1E1B; color:#fff}
body.adm .side .user{background:#0B0B0A; box-shadow:inset 0 0 0 1px #3A3426}
body.adm .side .nav-fold{background:#1F1E1B; border-color:#2A2824; color:var(--gold)}
body.adm header.top{background:#161513; box-shadow:0 0 0 1px #2A2824}
body.adm .top .crumb{color:#D4CFC2} body.adm .top .crumb b{color:#fff}
body.adm .top .menu,body.adm #hubNav button{background:#1F1E1B; border-color:#2A2824; color:#F2EEE4}
body.adm .top .gsbtn{background:#1F1E1B; color:#D4CFC2} body.adm .top .gsbtn:hover{background:#2A2824; color:#fff}
body.adm .top kbd.k{background:#0B0B0A; border-color:#3A3730; color:#D4CFC2}
body.adm .topnav a{color:#D4CFC2} body.adm .topnav a:hover{background:#1F1E1B; color:#fff} body.adm .topnav a.on{background:var(--gold); color:#101010} body.adm .topnav a.on svg{stroke:#101010}
body.adm .hero h1{color:#fff} body.adm .hero p,body.adm main p{color:#D4CFC2} body.adm .hero .eyebrow{color:var(--gold)}
body.adm .ptabs{border-bottom-color:#2A2824} body.adm .ptabs a{color:#D4CFC2} body.adm .ptabs a:hover{background:#1F1E1B; color:#fff} body.adm .ptabs a.on{background:var(--gold); color:#101010}
body.adm .sec-head h2{color:#fff} body.adm .sec-head .n{color:#A39E92}
body.adm .grid > .tile{background:color-mix(in srgb,var(--brand) 20%,#161513); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 30%,#2A2824)}
body.adm .grid > .tile:hover{background:color-mix(in srgb,var(--brand) 28%,#161513); box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--brand) 55%,#2A2824),0 18px 30px -22px #000}
body.adm .grid > .tile .ic svg{stroke:color-mix(in srgb,var(--brand) 80%,#000)}
body.adm .grid > .tile h3{color:#fff}
body.adm .grid > .tile p{color:color-mix(in srgb,var(--brand) 30%,#E9E5DA)}
body.adm .grid > .tile .go{background:var(--gold); color:#101010} body.adm .grid > .tile .go svg{stroke:#101010}
body.adm .block,body.adm .rings,body.adm .stat,body.adm .stats .stat:nth-child(n){background:#161513; border-color:#2A2824; color:#E9E5DA}
body.adm .block h2,body.adm .stat b,body.adm .stats .stat b,body.adm .ring .rv b{color:#fff}
body.adm .block h2 .n,body.adm .stat span,body.adm .stats .stat span,body.adm .ring .rv span,body.adm .ring .rl,body.adm .muted,body.adm .msg{color:#D4CFC2}
body.adm .ring .bg{stroke:#2A2824}
body.adm .earn{background:radial-gradient(circle at 100% 0,rgba(214,182,108,.22),transparent 55%),#161513; box-shadow:inset 0 0 0 1px #3A3426}
body.adm .block .item{background:#1F1E1B; color:#E9E5DA} body.adm .block .item:hover{background:#26241F}
body.adm .block .item:has(.do.call){background:#16261E} body.adm .block .item:has(.do.text){background:#15202C} body.adm .block .item:has(.do.email){background:#2A2416}
body.adm .block .item .t{background:#0B0B0A; color:#fff} body.adm .block .item.due .t{color:#F0A99F}
body.adm .block .item .n small{color:#D4CFC2}
body.adm .block .item .do{background:var(--gold); color:#101010}
body.adm .block .item:has(+ .do.call){background:#16261E} body.adm .block .item:has(+ .do.text){background:#15202C} body.adm .block .item:has(+ .do.email){background:#2A2416}
body.adm .block .item + .do{background:var(--gold); color:#101010} body.adm .block .item + .do:hover{background:#E4C783}
body.adm /* the next step on a row is its own link just after it (a link cannot sit inside a link): a chip under the row, the row tinted by it */
body .block .item:has(+ .do.call){background:#E3EDE6} body .block .item:has(+ .do.text){background:#E1EAF2} body .block .item:has(+ .do.email){background:#F3EAD7}
body .block .item + .do{display:inline-flex; align-items:center; gap:4px; width:max-content; max-width:calc(100% - 12px); margin:6px 0 2px 12px; padding:3px 12px; border-radius:999px; background:#101010; color:#fff; font:600 12.5px/18px var(--sans); text-decoration:none; transition:transform .15s var(--ease),background .15s}
body .block .item + .do:hover{transform:translateX(3px); background:#2A2A2A}
#booked > .item:first-child{background:var(--gold); color:#101010} body.adm #booked > .item:first-child .n small{color:#2A2A2A} body.adm #booked > .item:first-child .t{background:#101010; color:var(--gold)} body.adm #booked > .item:first-child .do{background:#101010; color:var(--gold)}
body.adm .block .ctask{background:#1F1E1B} body.adm .block .ctask:has(.cbgo){background:#16261E} body.adm .block .ctask:has(.late){background:#2E1A18}
body.adm .ctask .tb b,body.adm .ctask .tb b a{color:#F2EEE4} body.adm .block .ctask .tb .tw{color:#D4CFC2} body.adm .ctask .tb .tw a{color:var(--gold)} body.adm .ctask .tb .tw .late{color:#F0A99F}
body.adm .ctick i{background:#0B0B0A; border-color:#A39E92} body.adm .cdel{color:#D4CFC2} body.adm .cdel:hover{background:#2A2824; color:#F0A99F}
body.adm input,body.adm select,body.adm textarea{background:#0B0B0A; border-color:#3A3730; color:#F2EEE4} body.adm input::placeholder{color:#A39E92}
body.adm label{color:#D4CFC2}
body.adm button.sm,body.adm a.sm{background:#1F1E1B; border-color:#3A3730; color:#F2EEE4} body.adm button.sm:hover,body.adm a.sm:hover{background:#2A2416; border-color:var(--gold)}
body.adm #pw{background:#161513; border-color:#2A2824; color:#E9E5DA}
body.adm footer{border-top-color:#2A2824} body.adm footer span{color:#A39E92} body.adm footer a{color:var(--gold)}
body.adm .rank a,body.adm .earn .rank b{color:var(--gold)}
@media (max-width:767px){ body.adm header.top,body.adm.shell header.top{background:rgba(22,21,19,.94)} body.adm .top .mlogo .wm{color:#fff} }

/* ======================================================================================================================
   MOTION (option 6). Pieces rise or slide in as they are drawn, one after another; rings draw, bars grow, the section
   rule and the heading underline sweep across, the next call glows. Hover and press have their own small moves.
   hub.js marks a piece `still` when a page draws it again unchanged, and counts the big figures up. The reduced-motion
   rule above switches every animation and transition off.
   ====================================================================================================================== */
@keyframes o6-rise{from{opacity:0; transform:translateY(14px)}}
@keyframes o6-slide{from{opacity:0; transform:translateX(-12px)}}
@keyframes o6-pop{from{opacity:0; transform:translateY(8px) scale(.97)}}
@keyframes o6-fade{from{opacity:0}}
@keyframes o6-grow{from{transform:scaleY(0)}}
@keyframes o6-growx{from{transform:scaleX(0)}}
@keyframes o6-ring{from{stroke-dashoffset:213.6}}
@keyframes o6-mark{from{transform:scaleY(0)}}
@keyframes o6-rule{from{background-size:0 2px}}
@keyframes o6-glow{0%{box-shadow:0 0 0 0 rgba(16,16,16,.32)}70%{box-shadow:0 0 0 10px rgba(16,16,16,0)}100%{box-shadow:0 0 0 0 rgba(16,16,16,0)}}
@keyframes o6-dock{from{opacity:0; transform:translateY(24px)}}
@keyframes o6-undo{from{opacity:0; transform:translate(-50%,16px)}}

/* page heading, section rules */
body .hero h1{animation:o6-rise .55s var(--ease) backwards}
body .hero h1::after{animation:o6-growx .8s var(--ease) .2s backwards}
body .hero p,body .hero .eyebrow{animation:o6-fade .6s ease .15s backwards}
body .ptabs a{animation:o6-pop .4s var(--ease) backwards}
body .ptabs a:nth-child(2){animation-delay:.04s} body .ptabs a:nth-child(3){animation-delay:.08s} body .ptabs a:nth-child(4){animation-delay:.12s} body .ptabs a:nth-child(n+5){animation-delay:.16s}
body .sec-head{animation:o6-rule .9s var(--ease) .1s backwards}
body .sec-head h2{animation:o6-slide .5s var(--ease) backwards}

/* tiles and cards rise */
body :is(.grid > .tile,.stats > .stat,.rings,.earn,.block,.chart,.chead,.fcast > div,.pod,.dcol,.col,.ctl,main .card,.rgrid > *){animation:o6-rise .6s var(--ease) backwards}
/* rows slide in */
body :is(.block .item,.block .item + .do,.block .ctask,.ctli,.dlcard,.col .card,table.list tbody tr:nth-child(-n+30),table#tbl tbody tr:nth-child(-n+30)){animation:o6-slide .45s var(--ease) backwards}
/* one after another */
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(2){animation-delay:.04s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(3){animation-delay:.08s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(4){animation-delay:.12s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(5){animation-delay:.16s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(6){animation-delay:.2s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(7){animation-delay:.24s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(8){animation-delay:.28s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(9){animation-delay:.32s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(10){animation-delay:.36s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(11){animation-delay:.4s}
body :is(.grid > .tile,.stats > .stat,.block .item,.block .ctask,.ctli,.dlcard,.col .card,.fcast > div,.dcol,.col,tbody tr,.blocks > .block,.rgrid > *):nth-child(n+12){animation-delay:.44s}
/* Today: the rings draw, their figures pop up, the money tile follows; the next call glows */
body .ring .fg{animation:o6-ring 1.3s var(--ease) .2s backwards}
body .ring:nth-child(2) .fg{animation-delay:.32s} body .ring:nth-child(3) .fg{animation-delay:.44s}
body .ring .rv{animation:o6-pop .5s var(--ease) .5s backwards}
body .earn{animation-delay:.12s}
#booked > .item:first-child .t{animation:o6-glow 2.4s ease-out 1.2s infinite}
/* Tracker and Leaderboard: columns grow from the axis, one after another */
body .cc .cb{transform-origin:bottom; animation:o6-grow .9s var(--ease) backwards}
body .cc:nth-child(2) .cb{animation-delay:.04s} body .cc:nth-child(3) .cb{animation-delay:.08s} body .cc:nth-child(4) .cb{animation-delay:.12s} body .cc:nth-child(5) .cb{animation-delay:.16s} body .cc:nth-child(6) .cb{animation-delay:.2s} body .cc:nth-child(7) .cb{animation-delay:.24s} body .cc:nth-child(8) .cb{animation-delay:.28s} body .cc:nth-child(n+9) .cb{animation-delay:.32s}
body .cc .cv{animation:o6-fade .5s ease .7s backwards}
/* menu, dock, dialogs, the Undo bar */
body .side nav a{animation:o6-slide .4s var(--ease) backwards}
body .side nav a:nth-child(2){animation-delay:.03s} body .side nav a:nth-child(3){animation-delay:.06s} body .side nav a:nth-child(4){animation-delay:.09s} body .side nav a:nth-child(5){animation-delay:.12s} body .side nav a:nth-child(6){animation-delay:.15s} body .side nav a:nth-child(7){animation-delay:.18s} body .side nav a:nth-child(n+8){animation-delay:.21s}
@media (max-width:767px){ .tabbar{animation:o6-dock .5s var(--ease) .1s backwards} }
body .modal .box,body .csheet.on .box,#gsearch.on .gbox{animation:o6-pop .28s var(--ease) backwards}
#undoBar{animation:o6-undo .35s var(--ease) backwards}
/* a piece drawn again unchanged just appears (hub.js) */
body .still,body .still .fg,body .still .rv,body .still .cb,body .still .cv{animation:none!important}

/* ---------- three kinds of control, three looks (2026-10-23: "3 sets of pills, a bit annoying") ----------
   Actions are buttons (rounded squares, the main one gold, Delete pushed to the end as a quiet red link);
   sections are tabs (an underline, like the page tabs in any app); filters are small soft chips inside the content. */
body .cacts{align-items:center}
body .cacts .sm,body .cacts .go{border-radius:12px}
body .cacts .sm.del{margin-left:auto; background:none; border-color:transparent; color:var(--blocked)}
body .cacts .sm.del:hover{background:var(--blocked-bg); border-color:transparent}
body .ctabs{gap:2px; margin:28px 0 16px; padding:0; border-bottom:1px solid var(--border)}
body .ctabs button,body .ctabs button.on{min-height:44px; padding:0 14px; border:none; border-radius:0; background:none; color:var(--text-2); font-weight:600; box-shadow:inset 0 -3px 0 transparent; transition:color .18s,box-shadow .25s var(--ease)}
body .ctabs button:hover{background:none; color:var(--black); box-shadow:inset 0 -3px 0 var(--border)}
body .ctabs button.on,body.adm .ctabs button.on{background:none; border:none; color:var(--black); font-weight:700; box-shadow:inset 0 -3px 0 var(--gold)}
body .ctabs button .n,body .ctabs button.on .n,body.adm .ctabs button.on .n{color:var(--link); font-weight:700}
body .fchips{gap:6px; margin:4px 0 14px}
body .fchip{min-height:32px; padding:0 12px; border:none; background:var(--sunk); font-size:12.5px; font-weight:600; color:var(--text-2)}
body .fchip:hover{color:var(--black); background:var(--border-soft)}
body .fchip.on{background:var(--black); color:var(--white)}
body.adm .fchip.on{background:var(--gold); color:#101010}
@media (max-width:767px){ body .fchip{min-height:40px} body .cacts .sm.del{margin-left:0} }
body.adm .ctli .td{color:#D4CFC2}
body.adm :is(.act input,.act textarea,.act select,#imp input,#imp textarea,#bulk select){color:#F2EEE4; background:#0B0B0A}
body.adm .tabs2 button.on{background:var(--gold); border-color:var(--gold); color:#101010} body.adm .tabs2 button.on .n{color:#101010}
body.adm .chip.on .muted,body.adm .chip.on .n{color:#101010; opacity:.75}
body.adm #finance .flow td.pos{color:#8FD0A8} body.adm #finance .flow td.neg{color:#F0A99F}
/* money tiles sit four to a narrow column: the figure stays on one line */
@media (min-width:768px){ body .stats .stat.kpi{padding:16px} body .stats .stat.kpi b{font-size:clamp(20px,1.75vw,26px); line-height:34px; white-space:nowrap; letter-spacing:-.02em} }
body.adm{--c-a:#9A7432}

/* the gold button in the middle of the phone bar (hub.js): Get next lead for callers, Approvals for admins */
@keyframes o6-fab{0%{opacity:0; transform:translateY(10px) scale(.6)}70%{transform:scale(1.08)}100%{opacity:1; transform:none}}
.tabbar a.fab{justify-self:center; align-self:center; width:52px; height:52px; min-height:0; padding:0; border-radius:50%; background:var(--gold); display:grid; place-items:center; box-shadow:0 10px 22px -10px rgba(214,182,108,.85); transition:transform .15s var(--ease),background .15s}
.tabbar a.fab svg{width:22px; height:22px; stroke:#101010; fill:none; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round}
.tabbar a.fab:hover{background:var(--gold-hover)} .tabbar a.fab:active{transform:scale(.92)}
.tabbar a.fab:focus-visible{outline:2px solid #fff; outline-offset:3px}
@media (max-width:767px){ .tabbar a.fab{animation:o6-fab .55s var(--ease) .35s backwards} }
/* the rest of the "black" pieces on the black console: the phone bar stays dark, accents turn gold */
body.adm .tabbar{background:#1F1E1B; box-shadow:inset 0 0 0 1px #3A3730,0 20px 40px -18px #000} body.adm .tabbar a.on{background:#2A2416}
body.adm :is(.fold-tab,.undo,.stop,.dec){background:#2A2416; color:#fff; box-shadow:inset 0 0 0 1px #3A3426}
body.adm :is(.btns #sms,.seg .sm.on,.score.A,table.list.cards td .ph a.mob,.cal .d.end i){background:var(--gold); color:#101010}

/* your profile card opens Settings > Your profile */
body .side a.user{text-decoration:none; transition:box-shadow .18s,transform .15s var(--ease)}
body .side a.user:hover{box-shadow:inset 0 0 0 1px var(--gold)} body .side a.user:active{transform:scale(.98)}
body .side a.user:focus-visible{outline:2px solid var(--gold); outline-offset:2px}
/* View as staff (admins): a switch above the profile card, and a bar on every page while it is on */
body .side .viewas{display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; min-height:40px; padding:0 12px; border:none; border-radius:12px; background:none; cursor:pointer; font:500 13px/18px var(--sans); color:inherit}
body .side .viewas:hover{background:#F3F0E9} body.adm .side .viewas{color:#D4CFC2} body.adm .side .viewas:hover{background:#1F1E1B; color:#fff}
body .side .viewas i{position:relative; flex:none; width:36px; height:20px; border-radius:999px; background:#CFCABD; transition:background .2s}
body .side .viewas i::after{content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .25s var(--ease)}
body .side .viewas[aria-pressed=true] i{background:var(--gold)} body .side .viewas[aria-pressed=true] i::after{transform:translateX(16px)}
body.adm .side .viewas i{background:#3A3730}
body.nav-rail .side .viewas span{display:none} body.nav-rail .side .viewas{justify-content:center; padding:0}
.viewbar{position:fixed; left:50%; transform:translateX(-50%); bottom:20px; z-index:85; display:flex; align-items:center; gap:12px; max-width:calc(100vw - 32px); padding:8px 8px 8px 16px; border-radius:999px; background:#101010; color:#E9E5DA; font:400 13px/18px var(--sans); box-shadow:0 16px 32px -14px rgba(16,16,16,.6); animation:o6-undo .4s var(--ease) .4s backwards}
.viewbar b{color:var(--gold)} .viewbar button{flex:none; min-height:36px; padding:0 14px; border:none; border-radius:999px; background:var(--gold); color:#101010; font:700 13px/18px var(--sans); cursor:pointer}
@media (min-width:1200px){ body.shell .viewbar{left:calc(50% + 132px)} }
@media (max-width:767px){ .viewbar{bottom:calc(92px + env(safe-area-inset-bottom,0px)); border-radius:16px; font-size:12.5px} }

/* ---------- chart tooltips (hub.js data-tip): hover, focus or tap a bar for the detail behind it ---------- */
.ctip{position:fixed; z-index:160; pointer-events:none; min-width:180px; max-width:300px; padding:10px 12px; border-radius:14px; background:#101010; color:#E9E5DA; font:400 12.5px/18px var(--sans,'DM Sans',sans-serif); box-shadow:0 18px 36px -16px rgba(0,0,0,.55); display:grid; grid-template-columns:1fr auto; column-gap:14px; row-gap:2px; opacity:0; transform:translateY(4px); transition:opacity .14s,transform .14s}
.ctip.on{opacity:1; transform:none}
.ctip b{grid-column:1/-1; font-weight:700; color:var(--gold,#D6B66C); margin-bottom:4px}
.ctip span{color:#B9B4A7} .ctip em{font-style:normal; font-weight:700; color:#fff; text-align:right; font-variant-numeric:tabular-nums}
.ctip p{grid-column:1/-1; margin:2px 0 0; color:#B9B4A7}
body.adm .ctip{background:#2A2416; box-shadow:inset 0 0 0 1px #4A3F28,0 18px 36px -16px #000}
[data-tip]{cursor:default} [data-tip]:focus{outline:none} [data-tip]:focus-visible{outline:2px solid var(--gold); outline-offset:2px}

/* ---------- Finance (Admin → Finance) ---------- */
body #finance .fgroups{display:grid; gap:18px; margin-bottom:20px}
body #finance .fgrp h4{margin:0 0 8px; font:700 12px/18px var(--sans); letter-spacing:.08em; text-transform:uppercase; color:var(--text-2)}
body #finance .ftiles{margin-bottom:0}
body #finance .ftile{border-radius:18px; border:1px solid var(--card-line,var(--border)); border-top:1px solid var(--card-line,var(--border)); padding:16px 18px; position:relative; transition:transform .2s var(--ease),box-shadow .2s}
body #finance .ftile:hover{transform:translateY(-2px); box-shadow:0 14px 26px -20px rgba(16,16,16,.45)}
body #finance .ftile::before{content:""; position:absolute; top:18px; right:18px; width:8px; height:8px; border-radius:50%; background:var(--gold)}
body #finance .ftile.good::before{background:var(--done)} body #finance .ftile.risk::before{background:var(--blocked)}
body #finance .ftile.good b{color:var(--done)} body #finance .ftile.risk b{color:var(--blocked)}
body #finance .ftile b{font:800 24px/30px var(--sans); letter-spacing:-.01em; padding-right:16px}
body #finance .fcard{border-radius:22px; border-color:var(--card-line,var(--border)); padding:20px 22px}
/* the projection: a month lights up under the pointer */
body #finance .fchart .col{cursor:pointer; outline:none}
body #finance .fchart .band{fill:var(--gold); opacity:0; transition:opacity .15s}
body #finance .fchart .col:hover .band,body #finance .fchart .col.tipon .band{opacity:.12} body #finance .fchart .col:focus-visible .band{opacity:.2}
body #finance .fchart .col.tipon .axl{fill:var(--black); font-weight:800}
body #finance .fchart polyline,body #finance .fchart line,body #finance .fchart > text{pointer-events:none}
body #finance .fchart .b{transform-box:fill-box; transform-origin:bottom; animation:o6-grow .8s var(--ease) backwards; animation-delay:calc(var(--i,0) * 40ms)}
body #finance .fchart .col .b{animation-delay:calc(var(--i) * 40ms)}
/* bar lists: a row lights up, the total sits underneath */
body #finance .fhb .hrow{display:grid; grid-column:1/-1; grid-template-columns:subgrid; align-items:center; padding:4px 6px; margin:0 -6px; border-radius:10px; transition:background .15s}
body #finance .fhb .hrow:hover,body #finance .fhb .hrow.tipon{background:var(--head)}
body #finance .fhb .hrow .t i{transform-origin:left; animation:o6-growx .8s var(--ease) backwards; animation-delay:calc(var(--i,0) * 50ms); transition:filter .15s}
body #finance .fhb .hrow:hover .t i,body #finance .fhb .hrow.tipon .t i{filter:brightness(1.08) saturate(1.2)}
body #finance .fhb .hrow.tot{border-top:1px solid var(--border); border-radius:0; margin-top:4px; padding-top:8px} body #finance .fhb .hrow.tot .l,body #finance .fhb .hrow.tot .v{font-weight:800}
/* cashflow ahead: in beside out per month, the net under each */
body #finance .fflow{display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:10px; margin:4px 0 8px}
body #finance .fm{display:grid; justify-items:center; gap:4px; padding:8px 4px 6px; border-radius:14px; cursor:pointer; transition:background .15s}
body #finance .fm:hover,body #finance .fm.tipon{background:var(--head)}
body #finance .fm .fb{height:120px; width:100%; display:flex; justify-content:center; align-items:flex-end; gap:4px}
body #finance .fm .fb i{width:min(22px,38%); border-radius:6px 6px 2px 2px; transform-origin:bottom; animation:o6-grow .8s var(--ease) backwards; animation-delay:calc(var(--i,0) * 60ms)}
body #finance .fm .fb i.in{background:var(--gold)} body #finance .fm .fb i.out{background:repeating-linear-gradient(135deg,var(--text-2) 0 2px,transparent 2px 6px); box-shadow:inset 0 0 0 1px var(--text-2)}
body #finance .fm b{font:800 13px/18px var(--sans); white-space:nowrap} body #finance .fm b.pos{color:var(--done)} body #finance .fm b.neg{color:var(--blocked)}
body #finance .fm span{font:600 12px/16px var(--sans); color:var(--text-2)}
body #finance .leg .sout{background:repeating-linear-gradient(135deg,var(--text-2) 0 2px,transparent 2px 5px); box-shadow:inset 0 0 0 1px var(--text-2)}
@media (max-width:767px){ body #finance .fflow{gap:4px} body #finance .fm b{font-size:11px} body #finance .fm .fb{height:90px} }
body.adm #finance .fchart .col.tipon .axl{fill:#fff}
body #finance .fm .fb i{border-radius:4px 4px 1px 1px; min-height:2px}
body.viewing-staff main{padding-bottom:120px}
/* Messages sits in the frame like every other page: a rounded panel under the top bar */
@media (min-width:1001px){ body.chat .chat-app{margin:16px; height:calc(100vh - 112px); border-radius:22px; overflow:hidden; box-shadow:0 0 0 1px var(--card-line)} }
@media (min-width:1200px){ body.chat.shell .chat-app{margin-left:0} }
body.chat .chat-app > *{margin-top:0} /* the page-wide section spacing never reaches the three columns */
/* Finance on a phone: the projection as month rows (manage.html monthRows); the wide chart, its legend and the long
   explanation stay for a computer */
body #finance .fmob{display:none}
@media (max-width:767px){
  body #finance .fchart,body #finance .pleg,body #finance .fexp{display:none}
  body #finance .fmob{display:block}
  body #finance .pkey{display:flex; flex-wrap:wrap; gap:6px 14px; margin:4px 0 10px; font:600 12px/18px var(--sans); color:var(--text-2)}
  body #finance .pkey span{display:inline-flex; align-items:center; gap:6px} body #finance .pkey .tap{flex-basis:100%; font-weight:500}
  body #finance .pkey i{width:12px; height:12px; border-radius:3px} body #finance .pkey i.tg{width:3px; height:14px; border-radius:2px}
  body #finance .lk{background:var(--gold-deep,#A87E1F)} body #finance .pj{background:var(--gold-2,#E0B958); opacity:.6} body #finance .tg{background:var(--black)}
  body #finance .prs{display:grid; gap:2px}
  body #finance .pr{display:grid; grid-template-columns:52px minmax(0,1fr) 62px; align-items:center; gap:10px; min-height:44px; padding:0 8px; margin:0 -8px; border-radius:12px; transition:background .15s}
  body #finance .pr:hover,body #finance .pr.tipon{background:var(--head)}
  body #finance .pr.now{background:var(--wash)} body #finance .pr.now .pm{color:var(--black); font-weight:800}
  body #finance .pr.past{opacity:.75}
  body #finance .pm{font:600 13px/18px var(--sans); color:var(--text-2)}
  body #finance .pt{position:relative; display:flex; height:14px; border-radius:7px; background:var(--sunk); overflow:visible}
  body #finance .pt i{display:block; height:100%; transform-origin:left; animation:o6-growx .7s var(--ease) backwards; animation-delay:calc(var(--i,0) * 40ms)}
  body #finance .pt i.lk{border-radius:7px 0 0 7px} body #finance .pt i.pj:last-of-type{border-radius:0 7px 7px 0}
  body #finance .pt .tg{position:absolute; top:-4px; width:2px; height:22px; border-radius:1px}
  body #finance .pv{font:700 13px/18px var(--sans); color:var(--black); text-align:right; white-space:nowrap}
  body #finance .pgone{margin-top:8px} body #finance .pgone summary{min-height:44px; display:flex; align-items:center; font:600 13px/18px var(--sans); color:var(--link); cursor:pointer}
}

/* ---------- edit in place (2026-11-11): any value marked data-edit opens its own editor (Hub.edit / Hub.editable) ---------- */
.hub-ed{cursor:text; border-radius:6px; transition:box-shadow .12s var(--ease)} .hub-ed:hover,.hub-ed:focus-visible{box-shadow:inset 0 0 0 1px var(--gold); outline:none}
.hub-blank{color:var(--border)} td.hub-editing,dd.hub-editing{padding:4px 6px}
.hub-editor{width:100%; min-width:120px; font:400 13.5px/20px var(--sans); padding:5px 8px; border:1px solid var(--gold); border-radius:6px; background:var(--white); color:var(--black); min-height:32px; box-sizing:border-box} textarea.hub-editor{resize:vertical; min-height:72px}
.hub-pen{display:inline-flex; vertical-align:middle; margin-left:6px; opacity:0; color:var(--gold); font-style:normal; transition:opacity .12s} .hub-ed:hover .hub-pen,.hub-ed:focus-visible .hub-pen{opacity:1} .hub-pen svg{width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
@media (hover:none){.hub-pen{opacity:.6}}
.phone-copy{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:6px;padding:5px;min-width:30px;min-height:30px;border:1px solid var(--border,#8d8778);border-radius:7px;background:transparent;color:inherit;cursor:pointer;line-height:1;flex-shrink:0}.phone-copy:hover,.phone-copy:focus-visible{background:var(--head,#f5edd8);outline:2px solid var(--gold,#d6b75c);outline-offset:2px}.phone-copy.copied{color:var(--done,#24784c)}.phone-copy-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;padding:10px 16px;border-radius:9px;background:var(--ink,#1a211c);color:var(--paper,#fff);box-shadow:0 4px 18px #0003;font-size:14px}.phone-copy-status[hidden]{display:none}@media(pointer:coarse){.phone-copy{min-width:44px;min-height:44px}}
