
:root{--paper:#141413;--surface:#1e1e1c;--ink:#ecebe6;--muted:#9c9a93;--line:#33322e;--soft:#262624;
 --accent:#ff6b2c;--accent-ink:#141413;--accent-soft:#3a2418;--ok:#51cf66;--bad:#ff6b6b;--code:#191917;
 --font:"IBM Plex Sans","Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif;--mono:"IBM Plex Mono",ui-monospace,Consolas,monospace;
 color-scheme:dark}
*{box-sizing:border-box}
[hidden]{display:none!important}
.wrap{max-width:1100px;margin:0 auto;padding:26px 16px}
.loginpage{min-height:100vh;display:grid;place-items:center;padding:24px 16px}
.loginpage .card{width:100%;max-width:380px;margin:0}
.loginpage h1{font-size:22px;font-weight:600;margin:0 0 4px}
.loginpage input{width:100%}.loginpage button{width:100%;padding:10px}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 var(--font);font-feature-settings:"tnum" 1}
a{color:var(--accent)}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

/* top bar */
.bar{background:var(--surface);border-bottom:1px solid var(--line)}
.bar-in{max-width:1320px;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:28px;min-height:60px;flex-wrap:wrap}
.brand{font-weight:600;font-size:17px;letter-spacing:-.01em;white-space:nowrap}
.brand b{color:var(--accent);font-weight:600}
nav{display:flex;gap:2px;flex:1;flex-wrap:wrap}
nav a{padding:18px 12px 16px;color:var(--muted);text-decoration:none;font-size:14.5px;font-weight:500;border-bottom:2px solid transparent}
nav a:hover{color:var(--ink)}
nav a.on{color:var(--ink);border-bottom-color:var(--accent)}
.bar .me{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-left:auto}
@media (max-width:700px){.bar-in{gap:6px 14px;padding-top:10px}nav{order:3;width:100%;flex:none;flex-wrap:nowrap;overflow-x:auto}nav a{padding:10px 12px 9px}}

/* page grid: main + team column */
.shell{max-width:1320px;margin:0 auto;padding:26px 20px 70px;display:grid;grid-template-columns:minmax(0,1fr);gap:28px}
.shell>main{min-width:0}.shell.with-team>main{grid-area:main}.shell.with-team>.team{grid-area:team}.shell.with-team>.online{grid-area:online}
.shell.with-team{max-width:1700px;gap:24px;grid-template-columns:190px minmax(0,1fr) 260px;grid-template-areas:"online main team"}
@media (max-width:1400px){.shell.with-team{max-width:none;grid-template-columns:minmax(0,1fr) 250px;grid-template-areas:"main team" "main online"}}
@media (max-width:980px){.shell.with-team{grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "team" "online"}}
.online{align-self:start;position:sticky;top:18px;border-right:1px solid var(--line);padding-right:20px}
@media (max-width:1400px){.adm .team{position:static;padding-left:20px}.online{position:static;border-right:0;padding-right:0;border-left:1px solid var(--line);padding-left:20px}}
@media (max-width:980px){.online{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:22px}}
.online h2{display:flex;justify-content:space-between;align-items:baseline}
.on-row{display:flex;align-items:center;gap:9px;padding:7px 0;border-bottom:1px solid var(--line)}
.on-row .who{min-width:0;flex:1}.on-row b{font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.on-row span{display:block;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.on-dot{width:9px;height:9px;border-radius:50%;flex:none;background:var(--line)}
.on-dot.on{background:var(--ok);box-shadow:0 0 0 3px rgba(81,207,102,.18)}
.adm .bar-in{max-width:1700px}
@media (max-width:1400px){.adm .bar-in{max-width:none}}
.on-sep{font-size:12px;color:var(--muted);margin:14px 0 2px;text-transform:uppercase;letter-spacing:.06em}
.ph{margin:0 0 18px}.ph h1{font-size:23px;font-weight:600;letter-spacing:-.015em;margin:0 0 2px}.ph p{margin:0;color:var(--muted);max-width:70ch}

h2{font-size:15.5px;font-weight:600;margin:0 0 10px;letter-spacing:-.005em}
.card{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:18px 20px;margin-top:16px}
.card.flat{background:transparent;border:0;padding:0}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.grid>.card{margin-top:0}
.gridwrap{margin-top:0}
@media (max-width:760px){.grid{grid-template-columns:1fr}}

input,textarea,button,select{font:inherit;color:inherit}
textarea,input[type=password],input[type=text],input[type=time],select{width:100%;background:var(--code);border:1px solid var(--line);border-radius:7px;padding:9px 11px}
textarea:focus,input:focus,select:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
input[type=file]{font-size:13.5px;color:var(--muted);max-width:100%}
button,.btn{background:var(--accent);color:var(--accent-ink);border:1px solid var(--accent);border-radius:7px;padding:8px 15px;font-weight:500;cursor:pointer;text-decoration:none;display:inline-block;white-space:nowrap;font-size:14.5px}
button:hover,.btn:hover{filter:brightness(1.08)}
.ghost{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line)!important}
.ghost:hover{border-color:var(--muted)!important;filter:none}
.small{padding:4px 10px;font-size:13px}
button:disabled{opacity:.5;cursor:default}
.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>input,.row>select{flex:1;min-width:140px}
.top{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}
.muted{color:var(--muted)}.ok{color:var(--ok)}.bad{color:var(--bad)}
.dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;vertical-align:1px;background:var(--muted)}
.dot.ok{background:var(--ok)}.dot.bad{background:var(--bad)}

/* activity log */
details.log{margin-top:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
details.log summary{cursor:pointer;padding:12px 20px;font-weight:600;font-size:14.5px;list-style:none;display:flex;justify-content:space-between}
details.log summary::-webkit-details-marker{display:none}
details.log summary::after{content:"Show";color:var(--muted);font-weight:400}
details.log[open] summary::after{content:"Hide"}
/* OnlyFans page on PC / MacBook: header, summary boxes, table grouped by poster, login + runs boxes */
.ofdh{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.ofdh h1{margin:0 0 4px;font-size:30px;letter-spacing:-.01em}.ofdh p{margin:0;color:var(--muted)}
.ofdbtns{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ofdbtns #runmsg{font-size:13px;margin-right:4px}.ofdbtns #runmsg:empty{display:none}
.ofdbtns .btn.small{padding:7px 12px;font-weight:600;border-radius:9px}
.ofdrun{display:inline-flex;align-items:center;gap:7px;border-radius:10px;padding:8px 16px;font-weight:700}
.ofdrun svg{width:13px;height:13px;fill:currentColor}
.ofkpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px;font-variant-numeric:tabular-nums}
.ofkpi{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 16px;min-width:0}
.ofkpi>span{display:block;font-size:12.5px;color:var(--muted);margin-bottom:6px}
.ofkpi b{display:block;font-size:26px;font-weight:700;line-height:1.1}.ofkpi b em{font-style:normal;font-size:15px;color:var(--muted);font-weight:500}
.ofkpi small{display:block;margin-top:6px;color:var(--muted);font-size:12.5px}
.ofkg .ofdtrack{display:block;width:100%;margin:2px 0 6px}
.ofdtrack{display:inline-block;height:6px;border-radius:4px;background:#2b2f36;overflow:hidden;vertical-align:middle}
.ofdtrack i{display:block;height:100%;width:0;background:var(--accent);border-radius:4px}.ofdtrack i.done{background:var(--ok)}
.ofdp{color:var(--ok)}.ofdn{color:var(--bad)}.ofdz{color:#5f6470}
.ofwrap{overflow-x:auto}.ofdt{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.ofdt th{font-size:12.5px;font-weight:500;color:var(--muted);text-align:left;padding:12px 10px 10px;border-bottom:1px solid var(--line)}
.ofdt th.n{text-align:right}.ofdt th.gl{padding-left:40px}
.ofdt td{padding:11px 10px;border-bottom:1px solid #1d2025;font-size:15px;text-align:left}
.ofdt td.n,.ofdt th.n{width:120px;text-align:right}.ofdt td.w{color:var(--ink);font-weight:600}
.ofdt td.gl,.ofdt th.gl{width:300px;padding-left:40px;text-align:right}.ofdt th.gl{text-align:left}
.ofdt tr.ofg td{background:var(--raised);border-bottom:0;padding:9px 10px;font-size:14px}
.ofdt tbody tr.ofg:not(:first-child) td{box-shadow:0 -10px 0 var(--surface)}
.ofdt tbody tr:hover td{background:#1b1e23}.ofdt tbody tr.ofg:hover td{background:var(--raised)}.ofdt tbody tr.ofg:hover>td:first-child{background:var(--raised)!important}
/* the last model of a member: the next member's header draws a 10px gap over its bottom - give that room back, and keep the hover colour out of the gap (no strip, no corners peeking through) */
.ofdt tbody tr:not(.ofg):has(+ tr.ofg)>td{padding-bottom:21px}.ofdt tbody tr:not(.ofg):has(+ tr.ofg):hover>td,.ofdt tbody tr:not(.ofg):has(+ tr.ofg):hover>td:first-child{background:linear-gradient(#1b1e23 calc(100% - 10px),transparent 0)!important}
.ofgh{display:inline-flex;align-items:center;gap:10px}.ofcnt{color:var(--muted);font-size:13px}
.ofav{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font-size:11px;font-weight:700;flex-shrink:0;
 background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c)}
.ofgs{color:var(--muted);font-size:13px}
.ofdt td.nm{padding-left:44px;font-weight:600}
.ofdt th.rd,.ofdt td.rd{width:210px;text-align:left;white-space:nowrap}
.ofdt td.rd a.ofrd{color:#8fb7ff;text-decoration:none;font-size:13.5px;font-weight:500}.ofdt td.rd a.ofrd:hover{text-decoration:underline}
.ofdt td.rd .mlbtn.ofrdm{margin-left:6px;padding:1px 7px!important;border-radius:9px;background:var(--raised)!important;color:var(--muted)!important;font-size:11.5px;font-weight:600;vertical-align:1px}
.ofdt td.rd .mlbtn.ofrdm:hover{color:var(--accent)!important}
.ofdt td.nm a,.ofdt td.nm .sub-name{color:var(--ink);text-decoration:none}.ofdt td.nm a:hover{color:var(--accent)}
.ofdnew{margin-left:8px;font-size:12px;font-weight:500;color:var(--accent)}
.ofdt .ofgbar,.ofdt .ofset{background:none!important;border:0!important;padding:2px 0!important;margin:0;font:inherit;color:inherit;cursor:pointer;filter:none!important}
.ofgbar{display:inline-flex;align-items:center;gap:10px}.ofgbar .ofgtxt{color:var(--muted);font-size:13px;min-width:70px;text-align:right}
.ofgbar .ofdtrack{width:150px}.ofgbar b{font-size:14px;width:40px;text-align:right}
.ofgbar:hover .ofgtxt,.ofgbar:hover b{color:var(--accent)}
.ofdt .ofset{color:#6b717c;font-size:13px}.ofdt .ofset:hover{color:var(--accent)}
.ofdt td.gl .goal{justify-content:flex-end}
.ofdempty{color:var(--muted);text-align:center!important;padding:28px!important}
.ofdgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;align-items:start}
.ofdgrid>.card{margin:0;padding:18px 20px;border-radius:14px}
.ofch{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}.ofch h2{margin:0}.ofch .muted{font-size:13px}
.ofpill{display:inline-flex;align-items:center;gap:7px;padding:4px 11px;border-radius:20px;font-size:12.5px;font-weight:600;white-space:nowrap}
.ofpill:empty{display:none}.ofpill i{width:7px;height:7px;border-radius:50%;background:currentColor}
.ofpill.ok{background:rgba(60,207,135,.12);color:var(--ok)}.ofpill.warn{background:rgba(229,179,59,.14);color:#e5b33b}
.ofpill.bad{background:rgba(242,112,109,.14);color:var(--bad)}.ofpill.off{background:var(--raised);color:var(--muted)}
.oflgst{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.oflgst>div{background:var(--raised);border-radius:10px;padding:10px 12px;min-width:0}
.oflgst span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}.oflgst b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oflgst small{display:block;font-size:12px;margin-top:1px}
.ofok{color:var(--ok)}.ofwarn{color:#e5b33b}.ofbad{color:var(--bad)}
.oflgbar{margin:14px 0}.oflgbar .ofdtrack{display:block;width:100%}.oflgbar .ofdtrack i{background:var(--ok)}
.oflgbar.warn .ofdtrack i{background:#e5b33b}.oflgbar.bad .ofdtrack i{background:var(--bad)}
.oflgbar small{display:block;margin-top:7px;color:var(--muted);font-size:12.5px}.oflgbar small:empty{display:none}
.ofdrop{position:relative;display:flex;align-items:center;gap:12px;border:1.5px dashed #3a3f48;border-radius:12px;padding:14px 16px;color:var(--muted);font-size:14px;cursor:pointer}
.ofdrop:hover,.ofdrop.over{border-color:var(--accent);background:rgba(255,116,51,.05)}
.ofdrop input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.ofdrop b{color:var(--ink)}.ofdrop u{color:var(--accent);text-decoration:none}
.ofdrop svg{width:22px;height:22px;flex-shrink:0;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ofhint{margin:10px 0 14px;color:var(--muted);font-size:13px}.ofhint b{color:var(--ink);font-weight:600}
.ofbtns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ofbtns .small{padding:7px 12px;font-weight:600;border-radius:9px}
.ofbtns #ofdmsg{font-size:13px;flex-basis:100%}.ofbtns #ofdmsg:empty{display:none}
.ofrdots{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-bottom:10px}
.ofrdots i{width:16px;height:16px;border-radius:4px;background:rgba(60,207,135,.75)}.ofrdots i.bad{background:var(--bad)}
.ofrdots span{margin-left:10px;color:var(--muted);font-size:12.5px}
.ofrrow{display:grid;grid-template-columns:minmax(0,auto) 64px minmax(0,1fr);gap:10px;align-items:center;padding:10px 0;border-top:1px solid #1d2025;font-size:14.5px}
.ofrlist:not(.all) .ofrrow.more{display:none}
.ofrd{font-weight:600;white-space:nowrap}.ofrd small{margin-left:8px;color:var(--muted);font-weight:400;font-size:13px}
.ofrok{justify-self:start;font-size:12px;font-weight:700;color:var(--ok);background:rgba(60,207,135,.12);padding:2px 8px;border-radius:6px}
.ofrrow.bad .ofrok{color:var(--bad);background:rgba(242,112,109,.14)}
.ofrn{text-align:right;color:var(--muted)}.ofrrow.bad .ofrn{color:var(--bad);white-space:normal;font-size:13px}
.ofrmore{display:block;width:100%;text-align:left;margin:0;padding:12px 0 0!important;border:0!important;border-top:1px solid #1d2025!important;border-radius:0!important;
 background:none!important;color:var(--accent)!important;font-size:13.5px;font-weight:600}
@media (min-width:641px){
 .ofold{display:none!important}
 .ofcard{padding:6px 18px 10px;border-radius:14px}
 details.oflog{border-radius:12px}
 details.oflog summary{justify-content:flex-start;align-items:center;gap:14px;padding:13px 20px}
 details.oflog summary::after{content:"Show log";margin-left:auto;font-size:13.5px}
 details.oflog[open] summary::after{content:"Hide log"}
 .oflogst{color:var(--muted);font-weight:400;font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* the table follows its own width (laptops, tablets, Team panel open or not) */
@media (min-width:641px){.ofcard{container-type:inline-size}}
@container (max-width:999px){.ofdnew{display:block;margin:2px 0 0}.ofdt td.n,.ofdt th.n{width:100px}.ofdt td.gl,.ofdt th.gl{width:250px;padding-left:20px}.ofgbar .ofdtrack{width:110px}}
@container (max-width:859px){.ofdt th.rd,.ofdt td.rd{display:none}.ofdt th,.ofdt td,.ofdt tr.ofg td{padding-left:7px;padding-right:7px}.ofdt td.n,.ofdt th.n{width:84px}
 .ofdt td.gl,.ofdt th.gl{width:170px;padding-left:14px}.ofgbar .ofgtxt{display:none}.ofgbar .ofdtrack{width:86px}.ofdt td.nm{padding-left:22px}}
@container (max-width:699px){.ofdt th{font-size:11.5px}.ofdt td{font-size:14px}.ofdt td.n,.ofdt th.n{width:70px}
 .ofdt td.gl,.ofdt th.gl{width:124px;padding-left:10px}.ofgbar{gap:7px}.ofgbar .ofdtrack{width:58px}.ofgbar b{width:36px;font-size:13px}
 .ofgh{flex-wrap:wrap;row-gap:0}.ofcnt{flex-basis:100%;padding-left:34px;font-size:12px}.ofdt td.nm{padding-left:14px}}
@media (max-width:1180px){.ofdgrid{grid-template-columns:1fr}}
@media (max-width:1100px){.ofkpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ofkpi b{font-size:22px}}
/* Clients page on PC / MacBook: clients ranked on the left, the picked client on the right */
.cdwrap{container:cdw/inline-size}
.cdgrid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:14px;align-items:start}
.cdgrid>.card{margin:0;border-radius:14px;padding:16px}
.cdl h2 .muted{font-weight:400;font-size:13px;margin-left:6px}
.cdli{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:11px 10px!important;margin:0 0 2px;border:0!important;border-radius:10px!important;
 background:transparent!important;color:var(--ink)!important;font:inherit;font-weight:400;cursor:pointer;filter:none!important;white-space:normal}
.cdli:hover{background:var(--soft)!important}.cdli.on{background:var(--raised)!important;box-shadow:inset 3px 0 0 var(--accent)}
.cdlin{flex:1;min-width:0;display:block}
.cdlit{display:flex;justify-content:space-between;gap:8px;font-size:15px;margin-bottom:6px}.cdlit b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cdlit .pos{font-weight:700}.cdlit .cdv{white-space:nowrap;flex-shrink:0}
.cdtrack{display:block;height:6px;border-radius:4px;background:#2b2f36;overflow:hidden}.cdtrack i{display:block;height:100%;border-radius:4px}
.cdlin small{display:block;color:var(--muted);font-size:12px;margin-top:5px}
.cdav{display:inline-grid;place-items:center;border-radius:50%;flex-shrink:0;font-weight:700;background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c)}
.cdfree{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:11px 14px;border-radius:12px;border:1px solid rgba(229,179,59,.35);background:rgba(229,179,59,.07);font-size:13px}
.cdfree b{font-weight:600}.cdfdot{width:8px;height:8px;border-radius:50%;background:#e5b33b}
.cdchip{padding:2px 9px;border-radius:12px;background:var(--raised);font-size:12.5px}
.cdlink{background:none!important;border:0!important;padding:0!important;color:var(--accent)!important;font-weight:600;font-size:13.5px;cursor:pointer;flex-basis:100%;text-align:left;filter:none!important}
.cdlink:hover{text-decoration:underline}
.cdhd{display:flex;align-items:center;gap:14px;margin-bottom:16px;flex-wrap:wrap}.cdht{min-width:0}.cdht h2{margin:0 0 2px;font-size:20px}.cdht small{color:var(--muted);font-size:13px}
.cdacts{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.cdacts .small{padding:7px 12px;font-weight:600;border-radius:9px}.cdacts .cdrm{color:var(--bad)!important}
.cdstats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px;font-variant-numeric:tabular-nums}
.cdstats>div{background:var(--raised);border-radius:10px;padding:10px 12px;min-width:0}.cdstats>div>span{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.cdstats b{font-size:20px;white-space:nowrap}.cdstats>div.hl{background:rgba(60,207,135,.08)}
.cdt{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}
.cdt th{font-size:12.5px;font-weight:500;color:var(--muted);text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
.cdt td{padding:10px 8px;border-bottom:1px solid #1d2025;font-size:14.5px;text-align:left}.cdt tr:last-child td{border-bottom:0}
.cdt .n{text-align:right;width:96px}.cdt td.w{font-weight:600}.cdt .mn{font-weight:600}.cdt .sh{width:170px;padding-left:24px}.cdt .sh .cdtrack{width:140px}
.cdt tbody tr:hover td{background:#1b1e23}
.cdnew{margin-left:8px;font-size:12px;font-weight:500;color:var(--accent)}
.cdnone{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:20px 4px;color:var(--muted);font-size:14px}.cdnone b{color:var(--ink);font-size:15px}
.cdnone .cdlink{flex-basis:auto}
.cdwrap .ofz,.cdkpis .ofz{color:#5f6470}.cdwrap .clst{color:var(--muted);font-size:11px;margin-left:1px}
.cdr{container:cdr/inline-size}
@container cdw (max-width:899px){.cdgrid{grid-template-columns:1fr}#cdlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:8px}}
@container cdr (max-width:640px){.cdstats{grid-template-columns:repeat(3,minmax(0,1fr))}.cdt .m30,.cdt .sh{display:none}}
@media (min-width:641px){
 .clph,#clist,.clcard>.top,#cfree{display:none!important}
 .clcard{display:none}.clcard:has(#cform:not([hidden])),.clcard:has(#cmsg:not(:empty)){display:block;margin:0 0 14px}
 .clcard #cmsg{margin:0}.clcard:has(#cform:not([hidden])) #cmsg{margin-top:8px}.clcard #cmsg:empty{display:none}.clcard .cform{margin-top:0!important}
}
/* Models page on PC / MacBook: one box per poster */
.m2{container:m2/inline-size}
.m2>.card.m2form{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 14px;padding:14px 16px;border-radius:14px}.m2>.card.m2form[hidden]{display:none}
.m2form b{flex-basis:100%;font-size:14.5px}.m2form input{flex:1 1 260px;min-width:0}.m2form select{flex:0 1 190px}
#m2msg{margin:0 0 10px}#m2msg:empty{display:none}
.m2filt{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.m2filt input{flex:0 1 240px;min-width:150px;padding:8px 14px;border-radius:10px;background:var(--surface);border:1px solid var(--line)}
.m2fp{display:inline-flex;align-items:center;gap:7px;padding:6px 12px!important;border-radius:20px!important;background:var(--surface)!important;border:1px solid var(--line)!important;
 color:var(--ink)!important;font-size:13px!important;font-weight:400;filter:none!important}
.m2fp i{width:8px;height:8px;border-radius:50%}.m2fp em{font-style:normal;color:var(--muted)}
.m2fp:hover{border-color:#3a3f48!important}.m2fp.on{background:var(--raised)!important;border-color:#4a505b!important;font-weight:600}
.m2fp.warn{border-color:rgba(229,179,59,.4)!important;color:#e5b33b!important}.m2fp.warn em{color:#e5b33b}.m2fp.warn.on{background:rgba(229,179,59,.1)!important}
.m2groups{display:grid;gap:12px}
.m2groups>.card.m2g{margin:0;padding:4px 18px 6px;border-radius:14px}.m2g.inact{opacity:.75}
.m2gh{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.m2av{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;flex-shrink:0;font-weight:700;font-size:15px;background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c)}
.m2gt{min-width:0}.m2gt b{display:block;font-size:16px}.m2gt small{color:var(--muted);font-size:12.5px}
.m2ghr{margin-left:auto;display:flex;align-items:center;gap:12px}.m2ghr .small{padding:6px 12px;font-weight:600;border-radius:9px}
.m2act{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:12.5px;cursor:pointer}
.m2gm{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.m2ren{display:flex;align-items:center;gap:8px}.m2ren label{color:var(--muted);font-size:12.5px}.m2ren input{width:200px;padding:6px 10px}
.m2ren button{padding:6px 14px;border-radius:9px;font-weight:600;font-size:13px}.m2gnote{font-size:12.5px}
.m2pen{background:none!important;border:0!important;padding:0 0 0 6px!important;color:var(--muted)!important;font-size:13px;font-weight:400;cursor:pointer;opacity:0;filter:none!important;vertical-align:1px}
.m2gh:hover .m2pen,.m2pen:focus-visible{opacity:1}.m2pen:hover{color:var(--accent)!important}
.m2r{display:grid;grid-template-columns:minmax(0,.58fr) minmax(0,.57fr) minmax(0,1.4fr) auto 46px 30px;gap:16px;align-items:center;padding:9px 0;border-bottom:1px solid #1d2025}
.m2rd{display:flex;flex-wrap:wrap;gap:6px;min-width:0;align-items:center}
.rdu{display:inline-grid;place-items:center;flex-shrink:0;width:17px;height:17px;border-radius:50%;background:#ff4f1f;color:#fff;font-size:8.5px;font-weight:800;letter-spacing:-.04em;line-height:1}
.m2chip.rd{gap:7px}.mlitem .rdu{display:inline-grid;vertical-align:-3px;margin-right:8px}
.m2g>.m2r:last-child,.m2g>.m2ed:last-child{border-bottom:0}
.m2r.off .m2nb,.m2r.off .m2fs,.m2r.off .m2rd{opacity:.5}
.m2nb{display:block;min-width:0;text-align:left;background:none!important;border:0!important;padding:2px 0!important;color:var(--ink)!important;font:inherit;cursor:pointer;filter:none!important;white-space:normal}
.m2nb b{display:block;font-size:14.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m2nb small{display:block;color:var(--muted);font-size:12.5px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.m2nb:hover b{color:var(--accent)}
.m2fs{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
.m2chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:8px;background:var(--raised);font-size:12.5px;color:var(--ink);text-decoration:none;white-space:nowrap}
.m2chip:hover{color:var(--accent)}.m2chip svg{width:14px;height:14px;fill:none;stroke:#8fb7ff;stroke-width:1.8;stroke-linejoin:round}
.m2fadd{background:none!important;border:0!important;padding:0!important;color:#6b717c!important;font-size:13px;font-weight:400;cursor:pointer;filter:none!important}.m2fadd:hover{color:var(--accent)!important}
.m2cl{display:flex;align-items:center;gap:10px;justify-self:end}.m2lbl{color:var(--muted);font-size:12.5px}
.m2noc{color:var(--accent);font-size:13px}
.m2sel{position:relative;display:inline-flex;align-items:center}
.m2sel i{position:absolute;left:12px;width:8px;height:8px;border-radius:50%;background:var(--c);pointer-events:none}
.m2sel select{min-width:140px;padding:6px 26px 6px 27px;border-radius:9px;background-color:var(--raised);border:1px solid transparent;color:var(--ink);font-size:13.5px;cursor:pointer}
.m2sel select:hover{border-color:#3a3f48}.m2sel.warn select{background-color:rgba(229,179,59,.1);color:#e5b33b}
.m2sw{position:relative;display:inline-block;width:36px;height:20px;cursor:pointer;justify-self:center}
.m2sw input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.m2sw i{position:absolute;inset:0;border-radius:12px;background:#3a3f48;transition:background .15s;pointer-events:none}
.m2sw i::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;transition:left .15s}
.m2sw input:checked+i{background:var(--ok)}.m2sw input:checked+i::after{left:18px}
.m2sw input:focus-visible+i{outline:2px solid var(--accent);outline-offset:2px}
.m2dots{background:none!important;border:0!important;padding:2px 6px!important;color:var(--muted)!important;font-size:18px;line-height:1;cursor:pointer;filter:none!important;border-radius:7px!important}
.m2dots:hover,.m2dots.on{color:var(--ink)!important;background:var(--raised)!important}
.m2ed{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 16px;padding:12px 14px 14px;margin:0 -6px 8px;border-radius:12px;background:var(--raised)}
.m2ed label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600}.m2ed label small{font-weight:400;color:var(--muted)}
.m2ed input,.m2ed select{width:100%;min-width:0;margin-top:auto}
.m2edf{grid-column:1/-1;display:flex;align-items:center;gap:10px}.m2edf .small{margin-left:auto;padding:6px 14px;border-radius:9px;font-weight:600}
.m2del{background:none!important;border:1px solid rgba(242,112,109,.4)!important;color:var(--bad)!important;padding:6px 12px!important;border-radius:9px!important;font-size:13px;font-weight:600;filter:none!important}
.m2del:hover{background:rgba(242,112,109,.1)!important}
.m2empty{color:var(--muted);font-size:13.5px;margin:12px 0}
.m2addmem{margin-top:12px}.m2memb{width:100%;padding:13px!important;border:1.5px dashed #3a3f48!important;border-radius:14px!important;background:none!important;color:var(--accent)!important;font-weight:600;filter:none!important}
.m2memb:hover{border-color:var(--accent)!important}
.m2memf{display:flex;gap:10px;align-items:center;padding:12px 14px;border:1.5px dashed #3a3f48;border-radius:14px}.m2memf input{flex:0 1 280px}
.m2foot{color:var(--muted);font-size:12.5px;margin:12px 0 0}.m2foot a{margin-left:6px}
@container m2 (max-width:820px){.m2r{grid-template-columns:minmax(0,1fr) auto 46px 30px}.m2fs,.m2rd{display:none}.m2ed{grid-template-columns:1fr 1fr}}
@container m2 (max-width:560px){.m2lbl{display:none}.m2ed{grid-template-columns:1fr}.m2ghr .m2act span:first-child{display:none}}
@media (min-width:641px){.mdph,.mgrid{display:none!important}}
/* Subreddit research on PC / MacBook: one search bar, logins as small tags, a cleaner results table */
.srman{background:none!important;border:0!important;padding:0 4px!important;color:var(--accent)!important;font-weight:600;font-size:13px;filter:none!important}
.srman:hover{text-decoration:underline}
.srfoot{color:var(--muted);font-size:12.5px;margin:10px 0 2px}
.srpills{display:flex;gap:6px;flex-wrap:wrap}
.srlp{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:14px;background:var(--raised);font-size:12.5px;white-space:nowrap}
.srlp i{width:7px;height:7px;border-radius:50%;background:#5f6470}.srlp b{font-weight:500;color:var(--muted)}
.srlp.on i{background:var(--accent)}.srlp.on b{color:var(--accent)}.srlp.ok i{background:var(--ok)}.srlp.bad i{background:var(--bad)}.srlp.bad b{color:var(--bad)}
.srseg{display:inline-flex;background:var(--raised);border-radius:9px;padding:3px;gap:2px}
.srseg button{background:none!important;border:0!important;color:var(--muted)!important;padding:4px 12px!important;border-radius:7px!important;font-size:13px;font-weight:500;filter:none!important}
.srseg button.on{background:var(--surface)!important;color:var(--ink)!important;font-weight:600}
.srsn{display:inline-flex;align-items:center;gap:12px;text-align:left}
.srav{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;flex-shrink:0;font-weight:700;font-size:13px;background:color-mix(in srgb,var(--c) 20%,transparent);color:var(--c)}
.srsn .sub-name{font-size:15px;font-weight:600}.srmeta{display:block;color:var(--muted);font-size:12.5px;margin-top:1px;font-weight:400}
.srbig{font-size:16px}.srage{display:block;font-weight:600}
.srbb{display:inline-block;padding:2px 10px;border-radius:10px;font-size:12.5px;font-weight:600}.srbb.no{background:var(--raised);color:var(--ink)}.srbb.yes{background:rgba(242,112,109,.15);color:var(--bad)}
.ofdbtns .btn em{font-style:normal;color:var(--muted);margin-left:4px}
@media (min-width:641px){
 .srph{display:none!important}
 .srcard{padding:14px 16px;border-radius:14px}
 .srcard #runform{flex-wrap:nowrap;align-items:center!important;gap:10px;border:1px solid var(--line);border-radius:12px;padding:6px 6px 6px 16px;background:var(--paper)}
 .srcard #runform::before{content:"⌕";color:var(--muted);font-size:19px;line-height:1}
 .srcard #runform:focus-within{border-color:#4a505b}
 .srcard #subs{flex:1;border:0!important;background:transparent!important;padding:8px 2px!important;font-size:15px;box-shadow:none!important;outline:none!important;min-width:0}
 .srcard #runform>button{border-radius:9px;padding:9px 22px;font-weight:700}
 .srcard #runform>a.btn{display:none!important}
 .srconn{align-items:center;gap:12px;flex-wrap:wrap;font-size:13.5px}
 .srconn>.row{margin-left:auto;gap:12px;align-items:center}
 .srconn #checkbtn{padding:6px 12px;font-weight:600;border-radius:9px}
 .srcard #logins{display:none}.srcard.lopen #logins,.srcard.lneed #logins{display:block}
 .srres{padding:14px 18px 10px;border-radius:14px}
 .srres>.top{align-items:center;gap:14px;margin-bottom:4px}.srres>.top>h2{margin:0}
 .srres #subdbsel{display:none}
 .srres #count{font-size:13px}.srres #count a{color:var(--accent);font-weight:600;text-decoration:none;margin-left:4px}.srres #count a::after{content:" →"}
 .srres #tbl.srt tr>th{font-size:12.5px;font-weight:500;color:var(--muted);padding:12px 10px 10px;width:auto;white-space:nowrap}
 .srres #tbl.srt tr>td{padding:12px 10px;font-size:15px;border-bottom-color:#1d2025;width:auto;vertical-align:middle}
 .srres #tbl.srt tr>td:first-child,.srres #tbl.srt tr>th:first-child{padding-left:16px;text-align:left}
 .srres #tbl.srt tbody tr:last-child>td{border-bottom:0}
 .srres #tbl.srt tbody tr>td{transition:background .12s}
 .srres #tbl.srt tbody tr:hover>td{background:var(--soft)!important}
 .srres #tbl.srt tbody tr:hover .srbb.no{background:#2e3239}
 .srres #tbl.srt .ulink{display:block;max-width:150px;margin-left:auto;color:#8fb7ff!important;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .srres #tbl.srt tr>td:last-child,.srres #tbl.srt tr>th:last-child{text-align:center}
}
pre{background:var(--code);border-top:1px solid var(--line);padding:12px 20px;height:220px;overflow:auto;margin:0;font:12.5px/1.5 var(--mono);white-space:pre-wrap;border-radius:0 0 10px 10px}

/* tables - the main thing on every page */
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-size:14.5px}
th,td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
th:first-child,td:first-child,th.l,td.l{text-align:left;padding-left:0}
td:last-child,th:last-child{padding-right:0}
th{color:var(--muted);font-weight:500;font-size:13px;border-bottom-color:var(--line)}
th.s{cursor:pointer;user-select:none}th.s:hover,th.sorted{color:var(--ink)}
tbody tr:hover td{background:var(--soft)}
td.num{font-variant-numeric:tabular-nums}
.big td.num{font-size:15.5px;font-weight:500}
.sub-name{font-weight:600}
.sub-meta{display:block;color:var(--muted);font-size:12.5px;font-weight:400}
.pos{color:var(--ok)}.neg{color:var(--bad)}
/* Home (Posters + Team Leaders) */
.hhero{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 18px}
.hhero h1{font-size:26px;font-weight:650;letter-spacing:-.02em;margin:0 0 4px}.hhero p{margin:0;color:var(--muted)}
.hwk{font-size:13px;color:var(--muted);text-align:right}.hwk b{color:var(--ink);font-size:15px}
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tile{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px 18px;min-width:0}
.tile .k{font-size:12.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.tile .v{font-size:28px;font-weight:650;margin-top:6px;letter-spacing:-.02em}.tile .v small{font-size:17px;color:var(--muted);font-weight:600}
.tile .s{font-size:13px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hgrid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}.hgrid>.card,.hgrid>div>.card:first-child{margin-top:0}
.mcard{border:1px solid var(--line);border-radius:12px;padding:16px;margin-top:12px;background:var(--paper)}
.mtop{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.mname{font-size:17px;font-weight:650;margin-right:4px}
.hbadge{display:inline-block;font-size:12px;font-weight:600;padding:3px 9px;border-radius:999px;background:var(--soft);color:var(--muted);margin:2px 0 0 4px}
.hbadge.fire{background:rgba(255,120,40,.14);color:#ff8a3d}.hbadge.best{background:rgba(70,200,120,.14);color:var(--ok)}
.mnums{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 12px}
.mnums div{font-size:12.5px;color:var(--muted)}.mnums b{display:block;font-size:19px;color:var(--ink);margin-top:2px}
.bigbar{height:10px;border-radius:5px;background:var(--line);overflow:hidden}.bigbar span{display:block;height:100%;background:var(--accent);border-radius:5px}
.bigbar.done span{background:var(--ok)}
.barlbl{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-top:7px;color:var(--muted)}.barlbl b{color:var(--ink)}
.todo{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:flex-start}.todo:last-child{border-bottom:0}
.todo .ic{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;font-size:17px;background:var(--soft);flex:none}
.todo .t{font-size:14px;min-width:0}.todo .t small{display:block;color:var(--muted);font-size:12.5px;margin-top:2px}
.todo .btn{margin-left:auto;flex:none}
.lb{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:9px}
.lb .r{width:22px;color:var(--muted);font-weight:600}.lb .n{flex:1}.lb .g{font-weight:600}
.lb.me{background:var(--accent-soft)}.lb.me .r,.lb.me .n{color:var(--accent);font-weight:650}
.tiles.three{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:1000px){.tiles,.tiles.three{grid-template-columns:repeat(2,minmax(0,1fr))}.hgrid{grid-template-columns:minmax(0,1fr)}}
@media (max-width:520px){.tiles,.tiles.three{grid-template-columns:minmax(0,1fr)}.mnums b{font-size:17px}}
/* weekly goal progress */
.goal{display:flex;align-items:center;justify-content:flex-end;gap:8px;white-space:nowrap}
.goal .trk{width:84px;height:6px;border-radius:3px;background:var(--line);overflow:hidden;flex:none}
.goal .fill{display:block;height:100%;background:var(--accent);border-radius:3px}
.goal.done .fill{background:var(--ok)}
.goal .pct{min-width:38px;text-align:right;font-variant-numeric:tabular-nums}
.goal.done .pct{color:var(--ok)}
.goal .of{color:var(--muted);font-size:12.5px}
.goalbtn{background:none;border:0;padding:2px 4px;color:var(--muted);cursor:pointer;font:inherit;font-size:12.5px}
.goalbtn:hover{color:var(--ink)}
.goalin{width:84px;padding:4px 8px;font-size:13px;text-align:right}
/* OnlyFans table: Model / Member / Subscribers stay compact, the numbers + goal get the room */
#tbl th:nth-child(-n+3),#tbl td:nth-child(-n+3){width:1%;white-space:nowrap;padding-right:40px}
.chip{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--soft);font-size:12.5px}
.tag{font-size:11.5px;border:1px solid var(--line);border-radius:999px;padding:1px 8px;color:var(--muted);font-weight:500}
td a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:3px}td a:hover{color:var(--accent)}
.empty{padding:28px 0;color:var(--muted)}

/* team column */
.team{border-left:1px solid var(--line);padding-left:24px;align-self:start;position:sticky;top:18px}
@media (max-width:980px){.team{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:22px;position:static}}
.team h2{display:flex;justify-content:space-between;align-items:baseline}
.member{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.avatar{width:30px;height:30px;border-radius:50%;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;font-weight:600;font-size:13px;flex:none}
.member .who{flex:1;min-width:0}.member .who b{font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis}
.member .who span{font-size:12.5px;color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.member{flex-wrap:wrap}.member .acts{display:none;gap:8px;width:100%;padding-left:0;align-items:center;justify-content:flex-start;flex-wrap:nowrap;margin-top:6px}
.member .acts-r{display:flex;gap:0}
.renbtn{background:none!important;border:0!important;color:var(--muted)!important;padding:0 0 0 6px!important;font-size:13px;cursor:pointer;opacity:0;vertical-align:1px}
.member:hover .renbtn,.renbtn:focus{opacity:1}.renbtn:hover{color:var(--accent)!important}
@media (hover:none){.renbtn{opacity:1}}
.rolesel{padding:3px 0 3px 5px;font-size:12.5px;width:auto;flex:0 0 auto;min-width:0}
.member .acts-r .iconbtn{padding-left:3px;padding-right:3px;white-space:nowrap}
.member:hover .acts,.member:focus-within .acts{display:flex}
@media (hover:none){.member .acts{display:flex}}
.iconbtn{background:none!important;border:0!important;color:var(--muted)!important;padding:4px 6px;font-size:12.5px;text-decoration:underline}
.iconbtn:hover{color:var(--ink)!important}
.addform{margin-top:16px;display:grid;gap:8px}
.addform .two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#teammsg{font-size:13px;min-height:1.2em;margin:6px 0 0}
.filters{margin:0 0 2px}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:7px;overflow:hidden}
.seg button{background:transparent!important;color:var(--muted)!important;border:0!important;border-radius:0;padding:7px 12px;font-size:13.5px}
.seg button+button{border-left:1px solid var(--line)!important}
.seg button.on{background:var(--accent-soft)!important;color:var(--accent)!important}
.chart{position:relative;margin-top:6px}
.chart .gl{stroke:var(--line);stroke-width:1}
.chart .ax{fill:var(--muted);font-size:11.5px;font-family:var(--font)}
.chart .lbl{fill:var(--ink);font-size:12.5px;font-weight:600;font-family:var(--font)}
.chart .xh{stroke:var(--muted);stroke-width:1;stroke-dasharray:3 3}
.tip{position:absolute;pointer-events:none;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:13px;min-width:150px;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.tip b{display:block;font-size:15px}.tip span{color:var(--muted)}
.gain{display:block;font-size:12px;line-height:1.2}
#dbt td{vertical-align:top}
.sublink{color:var(--ink)!important;text-decoration:none!important}.sublink:hover{text-decoration:underline!important}
.mtable td,.mtable th{padding-left:10px;padding-right:10px}.mtable th:first-child,.mtable td:first-child{padding-left:0}
.mtable{table-layout:fixed;width:100%}
.mtable th:nth-child(1){width:15%}.mtable th:nth-child(2){width:22%}.mtable th:nth-child(3){width:30%}.mtable th:nth-child(4){width:14%}.mtable th:nth-child(5){width:10%}.mtable th:nth-child(6){width:9%}
.mtable td:nth-child(2){overflow:hidden;text-overflow:ellipsis}.mtable th{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mtable .linkin,.mtable .dispin,.mtable select{width:100%;min-width:0;padding:6px 10px;font-size:13.5px}
.mlbtn{background:none!important;border:0!important;padding:0!important;font:inherit;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:6px;color:var(--ink)!important}
.mlcount{font-size:11px;font-weight:600;padding:0 6px;border-radius:9px;background:var(--accent-soft);color:var(--accent)}
.mlpop{position:fixed;z-index:60;min-width:160px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:4px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.rgmenu{min-width:280px;max-height:60vh;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.rgmenu .rgmi>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.rgmenu .rgmi>span.muted{white-space:nowrap;flex:none}
.rgmi{display:flex;justify-content:space-between;gap:16px;width:100%;background:none!important;border:0!important;color:var(--ink)!important;padding:8px 10px!important;border-radius:6px;font-size:13.5px;text-align:left;font-weight:400}
.rgmi:hover:not(:disabled){background:var(--soft)!important}.rgmi:disabled{opacity:.45;cursor:default}
.rgmsep{height:1px;background:var(--line);margin:4px 2px}
.mlitem{display:block;padding:7px 10px;border-radius:6px;font-size:13.5px;color:var(--ink)!important;text-decoration:none!important;white-space:nowrap}
.mlitem:hover{background:var(--soft)}
.mtable td:last-child{text-align:right}
.dbgrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
@media (max-width:1000px){.dbgrid{grid-template-columns:minmax(0,1fr)}}
.dbauto{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;font-size:13.5px}
.dblabel{display:block;margin-top:16px;font-size:13px;font-weight:600}
.dbnum{width:76px!important;padding:5px 8px!important;font-size:13.5px}
.dbq{margin-top:14px;border:1px solid var(--line);border-radius:10px;padding:14px;background:var(--code)}
.dbqhead{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.dblist{max-height:260px;overflow:auto;font-size:13px}.dblist>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid var(--line)}
.dblist>div span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dbb{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12.5px;font-weight:600;background:var(--soft);color:var(--muted);white-space:nowrap}
.dbb.on{background:var(--accent-soft);color:var(--accent)}
.dbt{table-layout:fixed;width:100%}.dbt th:nth-child(1){width:18%}.dbt th:nth-child(2){width:29%}.dbt th:nth-child(3){width:17%}.dbt th:nth-child(4){width:13%}.dbt th:nth-child(5){width:13%}.dbt th:nth-child(6){width:10%}
.dbt tbody td{vertical-align:middle!important}.dbt td:last-child,.dbt th:last-child{padding-right:0;text-align:right}
.dbt td,.dbt th{padding-left:8px;padding-right:8px}.dbt th:first-child,.dbt td:first-child{padding-left:0}
.dbin{width:100%;min-width:0;padding:6px 10px;font-size:13px;background:var(--code);border:1px solid var(--line);border-radius:7px}
.dbin:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.subx{padding:3px 9px!important;font-size:12px!important;line-height:1}.subx:hover{border-color:var(--bad,#e5484d)!important;color:var(--bad,#e5484d)!important}
.ulink{display:block;font-size:12.5px;font-weight:400;color:var(--ink)!important;text-decoration:none!important;margin-top:1px}
.ulink:hover{text-decoration:underline!important}
/* Telegram "Send to" rows (Settings) */
.tgr{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line)}
.tgr:last-child{border-bottom:0}.tgr .who{flex:1;min-width:0}.tgr .who small{display:block;color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tgr select{flex:0 0 46%;min-width:0;max-width:46%}
/* clients panel (database page, admin only) */
.clist{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;margin-top:16px}
.client{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:16px 18px}
.client .ctop{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.cpick{color:var(--ink);text-decoration:none;font-weight:600;font-size:16px}
.cpick:hover{color:var(--accent)}
.cstats{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:8px 0 6px}
.cstats div{white-space:nowrap;background:var(--soft);border-radius:7px;padding:5px 7px;font-variant-numeric:tabular-nums;font-size:13.5px;font-weight:500;min-width:0;overflow:hidden;text-overflow:ellipsis}
.cstats small{display:block;color:var(--muted);font-size:11px;font-weight:400}
.cstats div{font-size:14.5px}
.cchips{display:flex;flex-wrap:wrap;gap:4px}
.client .acts{display:flex;gap:2px;margin:4px 0 0 -6px}
.cform{display:grid;gap:10px;max-width:520px}
.cform h3{margin:0;font-size:14px;font-weight:600}
.picklist{max-height:260px;overflow:auto;border:1px solid var(--line);border-radius:7px;background:var(--paper)}
.picklist label{display:flex;gap:9px;align-items:flex-start;padding:7px 10px;border-bottom:1px solid var(--line);cursor:pointer;font-size:14px}
.picklist label:last-child{border-bottom:0}
.picklist label:hover{background:var(--soft)}
.picklist input{margin-top:3px;accent-color:var(--accent)}
.picklist small{display:block;color:var(--muted);font-size:12px}
.mgrid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.mgrid>.card:nth-child(2){max-width:560px}
.mgrid>.card{margin-top:0}
@media (max-width:900px){.mgrid{grid-template-columns:minmax(0,1fr)}}
.addrow{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 6px}.addrow input{flex:2;min-width:160px}.addrow select{flex:1;min-width:130px;width:auto}
#mt select{width:100%;min-width:0;padding:6px 8px;font-size:13.5px}
#mt td{vertical-align:middle}
.sw{display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:13.5px;color:var(--muted)}
.sw input{accent-color:var(--accent);width:16px;height:16px}
tr.off td{opacity:.55}
.mmsg{font-size:13px;min-height:1.2em;margin:4px 0 0}
#ct th.grp{text-align:center;color:var(--ink);border-bottom:0;padding-bottom:0}
#ct td.seen,#ct th.seen{background:var(--accent-soft)}
#ct th.seen{color:var(--accent)}
#ct tfoot td{font-weight:600;border-top:2px solid var(--line)}
/* karma accounts table: fits without sideways scrolling; the account name never gets cut off */
.kt th{white-space:normal;line-height:1.3}
.kt td:nth-child(7){font-size:13.5px;color:var(--muted)}
.kt td:nth-child(8){white-space:normal;min-width:60px;font-size:13.5px}
.kt td:nth-child(9){white-space:nowrap}
.kt td:nth-child(9) .iconbtn{padding:2px 4px}
.kt th:first-child,.kt td:first-child{position:sticky;left:0;z-index:1;background:var(--surface);padding-right:12px}
.kt tbody tr:hover td:first-child{background:var(--soft)}
#act tr.mrow td{font-weight:600;border-top:2px solid var(--line)}
#act tr.arow td:first-child{padding-left:18px;color:var(--muted)}
/* subreddit tables: fit without sideways scrolling */
.subt th{white-space:normal;line-height:1.3;vertical-align:bottom}
.subt th,.subt td{padding-left:8px;padding-right:8px}
.subt td{font-size:14.5px}
.subt th:first-child,.subt td:first-child{position:sticky;left:0;z-index:1;background:var(--surface)}
.subt tbody tr:hover td:first-child{background:var(--soft)}
/* Reddit logins box */
.logins{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.lhead{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-bottom:6px}.lhead .muted{font-size:13px}
.lrow{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;padding:10px 12px;border-radius:8px;background:var(--code);margin-top:8px}
.lname{display:flex;align-items:baseline;gap:12px;min-width:0}.lname b{font-weight:500;min-width:70px}
.lname [data-st]{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lacts{display:grid;grid-template-columns:auto auto 86px 34px;gap:6px;align-items:center}
.lacts .btn,.lacts button{width:100%;text-align:center}
.lacts label.btn{cursor:pointer}
.lslot{display:block}.lslot>*{width:100%}
.pill{display:inline-block;text-align:center;padding:4px 0;border-radius:7px;font-size:13px;font-weight:500;border:1px solid var(--line);color:var(--muted)}
.pill.on{background:var(--accent-soft);border-color:transparent;color:var(--accent)}
.lrm{padding:4px 0!important}
.ltest{grid-column:1/-1;font-size:13px}
@media (max-width:640px){.lrow{grid-template-columns:1fr}}
/* RedGifs tab */
.rgform{display:grid;gap:8px;background:var(--code);border:1px solid var(--line);border-radius:8px;padding:12px;margin:12px 0}
.rgfields{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:760px){.rgfields{grid-template-columns:1fr}}
.rgacts{display:inline-flex;gap:6px;align-items:center}.rgacts label{cursor:pointer}
#rgt td{vertical-align:middle}
tr.rgq td{background:var(--code);white-space:normal}
.rgfile{display:flex;gap:12px;align-items:baseline;padding:3px 0;font-size:13.5px}.rgfile span:first-child{flex:1;overflow:hidden;text-overflow:ellipsis}
/* live view of the server's browser */
.live{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:16px}
.livebox{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;width:min(1320px,100%);max-height:100%;overflow:auto}
.livebar{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:8px}.livebar b{font-weight:600;margin-right:6px}
.livebar input{padding:6px 10px;font-size:13.5px}
.rgver{padding:2px 8px;font-family:inherit;font-size:13px;font-weight:500;cursor:pointer;background:transparent}.rgver:hover{filter:brightness(1.25)}
.rgopts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 22px;margin:12px 0 0}.rgopts .sw{font-size:13px;line-height:16px}.rgopts .sw input{margin:0}
.rglogin{display:flex;gap:6px;margin-top:6px}.rglogin .btn{cursor:pointer}
.livescreen{position:relative;background:#000;border-radius:8px;overflow:hidden;aspect-ratio:1280/800}
.livescreen img{display:block;width:100%;height:100%;cursor:pointer;outline:none}
.livescreen img:focus{box-shadow:inset 0 0 0 2px var(--accent)}
#liveload{position:absolute;inset:0;display:grid;place-items:center}
.livefoot{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-top:8px;font-size:13px}
#lbt tr.mine td{background:var(--accent-soft)}#lbt tr.mine:hover>td:first-child{background:var(--accent-soft)!important}
#lbt td:first-child,#lbt th:first-child{width:56px;padding-left:10px}
#lbt td:last-child,#lbt th:last-child{padding-right:12px}
#lbt tr.mine .rank:not(.r1){background:var(--surface)}
.rank{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--soft);font-size:13px;font-weight:600}
.rank.r1{background:var(--accent);color:var(--accent-ink)}.rank.r2,.rank.r3{background:var(--accent-soft);color:var(--accent)}
#cmsg{font-size:13px;margin:4px 0 8px;min-height:1.2em}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ================= new look (sidebar design) ================= */
:root{--paper:#101114;--surface:#17191d;--raised:#1e2126;--ink:#eceef2;--muted:#8b919d;--line:#24272e;--soft:#1e2126;
 --accent:#ff7433;--accent-ink:#16110d;--accent-soft:#2c1c13;--ok:#3ccf87;--bad:#f2706d;--code:#121418;
 --font:"Inter","IBM Plex Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;--side:236px}
body{font-size:14.5px;line-height:1.55;letter-spacing:-.003em;background:var(--paper)}
/* sidebar instead of the top bar */
.bar{position:fixed;inset:0 auto 0 0;width:var(--side);background:#0c0d10;border:0;border-right:1px solid #1b1d22;z-index:20}
.bar-in,.adm .bar-in{max-width:none;height:100%;flex-direction:column;align-items:stretch;flex-wrap:nowrap;gap:0;padding:22px 14px 18px;min-height:0}
.bar-in::before{content:"Reddit Server";display:block;font-weight:650;font-size:16px;letter-spacing:-.01em;padding:6px 10px 26px 50px;color:var(--ink)}
.bar::before{content:"";position:absolute;left:24px;top:22px;width:32px;height:32px;border-radius:9px;background:url(/favicon) center/cover}
nav{flex-direction:column;flex:none;gap:2px}
nav a{display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;border-radius:10px;font-size:14.5px;font-weight:500;color:var(--muted)}
nav a::before{content:"";width:19px;height:19px;flex:none;background:currentColor;-webkit-mask:var(--ic) no-repeat center/contain;mask:var(--ic) no-repeat center/contain}
nav a:hover{background:#15171b;color:var(--ink)}
nav a.on{background:#1b1d22;color:var(--ink);border:0}
nav a.on::before{background:var(--accent)}
nav a[href="/home"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 10.5 12 3l9 7.5'/><path d='M5 9.5V20h5v-6h4v6h5V9.5'/></svg>")}
nav a[href="/subs"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><path d='m20 20-3.5-3.5'/></svg>")}
nav a[href="/onlyfans"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2.5 20c.8-3.6 3.4-5.5 6.5-5.5s5.7 1.9 6.5 5.5'/><circle cx='17.5' cy='9' r='2.5'/><path d='M17 14.5c2.4.2 4 1.8 4.5 4.5'/></svg>")}
nav a[href="/karma"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 17l6-6 4 4 8-8'/><path d='M15 7h6v6'/></svg>")}
nav a[href="/redgifs"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='3'/><path d='m10 9.5 5 2.5-5 2.5z'/></svg>")}
nav a[href="/content"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 7.5A2.5 2.5 0 0 1 5.5 5H9l2 2.5h7.5A2.5 2.5 0 0 1 21 10v7.5a2.5 2.5 0 0 1-2.5 2.5h-13A2.5 2.5 0 0 1 3 17.5z'/></svg>")}
nav a[href="/salaries"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='6' width='18' height='13' rx='2.5'/><path d='M3 10h18M7 15h3'/></svg>")}
nav a[href="/admin"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M4 6h10M18 6h2M4 12h4M12 12h8M4 18h12M20 18h0'/><circle cx='16' cy='6' r='2'/><circle cx='10' cy='12' r='2'/><circle cx='18' cy='18' r='2'/></svg>")}

.bar .me{margin:auto 0 0;flex-direction:column;align-items:stretch;gap:8px;padding:14px 10px 0;border-top:1px solid #1b1d22;font-size:13.5px}
.bar .me>span{color:var(--ink);font-weight:500;padding:2px 2px}
.bar .me form label{display:block;margin-bottom:4px}.bar .me select{width:100%!important;margin:0!important}
.bar .me .btn,.bar .me button{width:100%;text-align:center}
body:has(header.bar){padding-left:var(--side)}
/* page frame */
.shell{max-width:1240px;padding:34px 40px 80px;gap:28px}
.shell.with-team{max-width:1480px;grid-template-columns:minmax(0,1fr) 270px;grid-template-areas:"main team" "main online"}
.online{position:static;border:0;padding:18px;background:var(--surface);border-radius:16px}
.adm .team{padding:18px;background:var(--surface);border-radius:16px;align-self:start}
.on-row{border-bottom-color:var(--line)}
.ph{margin:0 0 22px}.ph h1{font-size:27px;font-weight:650;letter-spacing:-.025em;margin:0 0 4px}.ph p{font-size:15px}
h2{font-size:15.5px;font-weight:600}
.card,details.log{background:var(--surface);border:0;border-radius:16px;padding:22px 24px;margin-top:18px}
details.log{padding:0}details.log summary{padding:16px 24px}
pre{background:var(--code);border-top:1px solid var(--line);border-radius:0 0 16px 16px}
/* tables */
table{font-size:14.5px}
th,td{padding:13px 14px;border-bottom:1px solid var(--line)}
th{font-size:12.5px;font-weight:500;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap}
tbody tr:hover td{background:#1b1e23}
tbody tr:last-child td{border-bottom:0}
/* controls */
textarea,input[type=password],input[type=text],input[type=time],input[type=number],select{background:var(--code);border:1px solid #262a31;border-radius:10px;padding:10px 12px}
button,.btn{border-radius:10px;padding:9px 16px;font-weight:600}
.ghost{background:var(--raised)!important;border:1px solid transparent!important}
.ghost:hover{background:#252931!important;border-color:transparent!important}
.small{padding:6px 12px;font-size:13px}
.tag{border-radius:6px}
/* team: who is online right in the list */
.shell.with-team{grid-template-areas:"main team"}.online{display:none!important}
.member .avatar{position:relative}
.member .avatar::after{content:"";position:absolute;right:-2px;bottom:-2px;width:11px;height:11px;border-radius:50%;background:#3a3e46;border:2.5px solid var(--surface)}
.member.is-on .avatar::after{background:#3ccf87;box-shadow:0 0 0 3px rgba(60,207,135,.18)}
.member .who span .seen{display:inline;color:var(--muted)}.member.is-on .who span .seen{color:#3ccf87}
table th{white-space:nowrap!important}
/* home */
.tile{border:0;border-radius:16px;background:var(--surface)}.tile .k{text-transform:none;letter-spacing:0;font-size:13.5px}
.mcard{border:0;background:var(--raised);border-radius:14px}
.hgrid>.card,.hgrid>div>.card{margin-top:0}.hgrid>div>.card+.card{margin-top:18px}
.todo .ic{background:var(--raised)}
.todo .ic.fbad{background:rgba(239,68,68,.14);color:#f87171;font-weight:700;font-size:15px}
.todo .ic.fwarn{background:rgba(245,158,11,.14);color:#fbbf24;font-weight:700;font-size:15px}
.todo .farea{display:inline-block;font-size:11.5px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 7px;margin-right:6px;vertical-align:1px}
#fixcard .todo .t small{overflow-wrap:anywhere}
#fixcard .fixacts{margin-left:auto;display:flex;gap:6px;flex:none;align-items:center}
@media (max-width:640px){#fixcard .todo{flex-wrap:wrap}#fixcard .fixacts{margin-left:46px}}
.allgood{display:flex;align-items:center;gap:10px;margin:12px 0 0;color:var(--ok)}
.spos .top{align-items:center}.spos h2 small{font-size:13px;color:var(--muted);font-weight:500;margin-left:6px}
.spos .amt{font-size:22px;font-weight:700;letter-spacing:-.01em;margin-right:12px}
.spos table td.hit{color:var(--ok)}.spos tfoot td{font-weight:650}
.sweeks{display:flex;flex-wrap:wrap;gap:6px 14px;margin:12px 0 0;font-size:13px;color:var(--muted)}.sweeks b{color:var(--ink);font-weight:600}
.sofar{margin:8px 0 0;font-size:13px;color:var(--muted)}.paidtag{color:var(--ok);font-weight:600;font-size:13.5px;margin-right:8px}
.gs{display:inline-block;padding:1px 9px;border-radius:999px;background:rgba(34,197,94,.14);color:#4ade80;font-size:12.5px;font-weight:600;white-space:nowrap;line-height:1.6}
/* login */
.loginpage .card{position:relative}
.loginpage .card::before{content:"Reddit Server";display:block;font-weight:650;font-size:15px;color:var(--muted);padding:4px 0 22px 42px}
.loginpage .card::after{content:"";position:absolute;left:32px;top:30px;width:32px;height:32px;border-radius:9px;background:url(/favicon) center/cover}
.loginpage{background:radial-gradient(1200px 600px at 50% -10%,#1a1410 0,transparent 60%),var(--paper)}
.loginpage .card{padding:34px 32px;border-radius:20px}
.loginpage h1{font-size:26px;letter-spacing:-.02em}
/* phones: sidebar becomes a top bar again */
@media (max-width:900px){body:has(header.bar){padding-left:0}.bar{position:static;width:auto;border-right:0;border-bottom:1px solid #1b1d22}
 .bar-in,.adm .bar-in{flex-direction:row;flex-wrap:wrap;height:auto;align-items:center;padding:12px 14px;gap:8px}
 .bar-in::before{padding:4px 8px 4px 44px}.bar::before{left:16px;top:14px;width:28px;height:28px}.bar{position:relative}nav{flex-direction:row;overflow-x:auto;width:100%;order:3}
 nav a{padding:8px 10px;white-space:nowrap}.bar .me{margin:0 0 0 auto;flex-direction:row;border:0;padding:0}.bar .me>span{display:none}.bar .me .btn,.bar .me button{width:auto}
 .shell,.shell.with-team{padding:22px 16px 60px;grid-template-columns:minmax(0,1fr);grid-template-areas:"main" "team" "online"}}
/* tables: room on the far left and right, so text never sits on the edge of a highlighted row */
table th:first-child,table td:first-child{padding-left:16px}
table th:last-child,table td:last-child{padding-right:16px}
table th.l,table td.l{padding-left:16px}
tfoot td:first-child{padding-left:16px}tfoot td:last-child{padding-right:16px}
/* a highlighted row is highlighted all the way, also the first column that stays put when scrolling sideways */
table tbody tr:hover>td:first-child{background:#1b1e23!important}
.teamtoggle,.teamclose,.teamshade,.mebtn,.subcards,.ofhead,.ofcards,.schead,.scphone,.mdhead,.mdphone,.clhead,.clphone,.kahead,.kaphone,.pchead,.pcphone,.pcday,.gnhead,.gnphone,.rghead,.rgphone,.rgrecp,.rgpprog,.cohead,.cotiles,.coacts,.comsg,.cophone,.cosub,.cosum{display:none}
@media (max-width:1699px){
 .shell.with-team,.adm .shell.with-team{max-width:1480px;grid-template-columns:minmax(0,1fr);grid-template-areas:"main"}
 .shell.with-team>.team,.adm .shell.with-team>.team{position:fixed!important;top:0;right:0;bottom:0;width:min(340px,90vw);z-index:70;overflow-y:auto;
   margin:0;border:0;border-left:1px solid var(--line);border-radius:0;background:var(--surface);padding:22px 20px 40px!important;
   transform:translateX(105%);visibility:hidden;transition:transform .22s ease,visibility 0s .22s;box-shadow:-14px 0 34px rgba(0,0,0,.45)}
 body.teamopen .shell.with-team>.team{transform:none;visibility:visible;transition:transform .22s ease}
 .teamshade{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:69}body.teamopen .teamshade{display:block}
 .teamclose{display:inline-flex;margin-left:auto;padding:4px 10px!important}
 .team>h2:first-child{display:flex;align-items:center;gap:8px}
 .teamtoggle{display:flex;align-items:center;gap:10px;width:100%;margin:6px 0 0;padding:10px 12px;border:0;border-radius:10px;background:none;
   color:var(--muted);font:inherit;font-size:14.5px;font-weight:500;text-align:left;cursor:pointer}
 .teamtoggle:hover,body.teamopen .teamtoggle{background:#15171b;color:var(--ink)}
 .teamtoggle::before{content:"";width:19px;height:19px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.2'/><path d='M3.5 19c.6-3.2 2.9-5 5.5-5s4.9 1.8 5.5 5'/><circle cx='17' cy='9' r='2.5'/><path d='M16 14.2c2.4-.3 4.1 1.2 4.6 4.3'/></svg>") no-repeat center/contain;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.2'/><path d='M3.5 19c.6-3.2 2.9-5 5.5-5s4.9 1.8 5.5 5'/><circle cx='17' cy='9' r='2.5'/><path d='M16 14.2c2.4-.3 4.1 1.2 4.6 4.3'/></svg>") no-repeat center/contain}
 .teamtoggle .tcount{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--ok);font-weight:500}
 /* wide tables a bit tighter, so they fit next to the sidebar without scrolling sideways */
 table.kt th{white-space:normal!important;line-height:1.3;vertical-align:bottom}
 table.kt th,table.kt td{padding-left:10px;padding-right:10px}
 #tbl.kt th:nth-child(-n+3),#tbl.kt td:nth-child(-n+3){width:auto;padding-right:10px}
 table.kt th:first-child,table.kt td:first-child{padding-left:16px}table.kt th:last-child,table.kt td:last-child{padding-right:16px}
 table.srt th,table.srt td,#tbl.srt th:nth-child(-n+3),#tbl.srt td:nth-child(-n+3){padding-left:6px;padding-right:6px}
 table.srt th:first-child,table.srt td:first-child{padding-left:16px}table.srt th:last-child,table.srt td:last-child{padding-right:16px}
 table.srt select{max-width:132px;font-size:12px}table.srt .ulink{max-width:100px}
 /* a table that doesn't fit (class "tight", set by the page): smaller text, less space */
 table.tight{font-size:13px}table.tight th{font-size:11.5px;white-space:normal!important;line-height:1.3;vertical-align:bottom}
 table.tight th,table.tight td,#tbl.tight th:nth-child(-n+3),#tbl.tight td:nth-child(-n+3){padding-left:6px;padding-right:6px;width:auto}
 table.tight th:first-child,table.tight td:first-child{padding-left:12px}table.tight th:last-child,table.tight td:last-child{padding-right:12px}
 table.tight .sub-meta{white-space:normal}
 table.tight select{max-width:116px}table.tight .ulink{max-width:92px}
 /* a table too wide for the screen (class "stack", set by the page): one small card per row */
 table.stack,table.stack tbody,table.stack tfoot{display:block;width:100%}
 table.stack thead{display:none}
 table.stack tr{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:9px 12px;padding:13px 12px 14px;border-bottom:1px solid var(--line)}
 table.stack tbody tr:last-child{border-bottom:0}table.stack tfoot tr{border-top:1px solid var(--line);border-bottom:0}
 table.stack td{display:block;padding:0!important;border:0!important;text-align:left!important;white-space:normal!important;position:static!important;
   box-shadow:none!important;background:none!important;min-width:0!important;width:auto!important;max-width:none!important;font-size:14px;overflow-wrap:anywhere}
 table.stack td::before{content:attr(data-label);display:block;font-size:11.5px;line-height:1.35;color:var(--muted);font-weight:500;margin-bottom:2px}
 table.stack td:first-child{grid-column:1/-1;font-size:15px;font-weight:600}
 table.stack td:first-child::before,table.stack td[data-label=""]::before{content:none}
 table.stack td[colspan],table.stack td:has(.goal),table.stack td:has(select){grid-column:1/-1}
 table.stack td:empty{display:none}
 table.stack.stkrank td:first-child{grid-column:1/2;font-weight:600}table.stack.stkrank td:nth-child(2){grid-column:2/-1;font-weight:600}
 table.stack.stkrank td:nth-child(2)::before{content:none}
 table.stack tbody tr:hover>td:first-child{background:none!important}
 table.stack .goal{display:flex;align-items:center;gap:10px}table.stack .goal .trk{flex:1}
 table.stack td .sub-meta{display:block}
 table.stack .ulink{margin-left:0;max-width:100%;display:block}
 table.stack td[data-label=""]:not(:first-child){grid-column:1/-1}table.stack td *{flex-wrap:wrap}
}
/* ---- tablets + phones (top bar instead of the sidebar) */
@media (max-width:900px){
 .bar-in,.adm .bar-in{gap:8px 10px;padding:10px 14px 8px}
 .bar-in::before{padding:4px 8px 4px 40px;font-size:15.5px}.bar::before{left:14px;top:12px;width:28px;height:28px}
 .teamtoggle{order:1;width:auto;margin:0 0 0 auto;padding:7px 11px;font-size:13.5px;background:var(--raised);color:var(--ink)}
 .teamtoggle::before{width:17px;height:17px}.teamtoggle .tcount{margin-left:2px}
 .mebtn{order:2;display:grid;place-items:center;width:36px;height:36px;margin:0 0 0 auto;padding:0;border:0;border-radius:50%;
   background:var(--accent-soft);color:var(--accent);font-weight:650;font-size:15px;cursor:pointer}
 .teamtoggle~.mebtn{margin-left:0}
 .bar-in::before{flex:0 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
 .bar .me{display:none;position:absolute;right:12px;top:56px;z-index:80;width:250px;flex-direction:column;align-items:stretch;gap:8px;
   margin:0;padding:14px;background:var(--surface);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px rgba(0,0,0,.45)}
 body.meopen .bar .me{display:flex}
 .bar .me>span{display:block;color:var(--ink);font-weight:600;padding:0 2px 4px}
 .bar .me form label{display:block;margin-bottom:4px}.bar .me select{width:100%!important;margin:0!important}
 .bar .me .btn,.bar .me button{width:100%;text-align:center}
 nav{order:3;scrollbar-width:none;margin:2px -14px 0;padding:0 10px;width:calc(100% + 28px)}nav::-webkit-scrollbar{display:none}
 nav a{padding:8px 11px;font-size:14px}
 .hhero{flex-wrap:wrap}.hwk{text-align:left}
}
/* ---- phones */
@media (max-width:640px){
 body{font-size:14px}
 .teamtoggle{padding:7px 10px;gap:7px}.teamtoggle .tw{display:none}
 table.stack tr{grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px 10px}
 /* OnlyFans subscribers on a phone: no subscriber count - Member | Since last reading | This week in one row */
 table.stack.oft td[data-label="Subscribers"]:not([colspan]){display:none}
 table.stack.oft tr{grid-template-columns:repeat(3,minmax(0,1fr))}
 table.stack.oft td[data-label="Since last reading"]::before{content:"Since last"}
 /* OnlyFans on a phone: small header, then one line per model - Last 24h | Week | goal ring - models of the same poster together */
 .ofph,.oftop,.ofwrap,.ofdh,.ofkpis,.ofdgrid,.oflogst{display:none}
 .ofhead{display:block;margin:0 0 12px}
 .ofh-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
 .ofh-top h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}
 .ofh-top p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .ofrun{flex:none;display:inline-flex;align-items:center;gap:6px;margin-top:2px;padding:8px 14px;border-radius:999px;font-size:13.5px;font-weight:650}
 .ofrun svg{width:12px;height:12px;fill:currentColor}
 .ofrunmsg{margin:6px 0 0;font-size:12.5px;color:var(--accent)}.ofrunmsg:empty{display:none}
 .oflinks{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin-top:12px}
 .oflinks a{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 0 7px;border-radius:11px;background:var(--surface);
   color:#c9ccd3;font-size:11.5px;font-weight:600;text-decoration:none}
 .oflinks svg{width:17px;height:17px;fill:none;stroke:#9aa0ab;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 .ofcards{display:block;margin:-4px 0 -6px}
 .ofc-row{display:grid;grid-template-columns:minmax(0,1fr) 62px 58px 56px 42px;align-items:center;padding:9px 0;border-top:1px solid #1d2025;font-variant-numeric:tabular-nums}
 .ofc-row.grp{border-top-color:#2e323a}
 .ofc-row .nm{min-width:0;font-size:14px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
 .ofc-row .nm>.sub-name{display:flex;align-items:center;gap:6px;max-width:100%;min-width:0}
 .ofc-row .nm .ofnm{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ofc-row .nm .mlcount{flex-shrink:0}
 .ofc-s{text-align:right;padding-right:12px;font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;transform:translateY(1px)}
 .ofc-hd .ofc-s{color:var(--muted);transform:none}.ofc-hd span{white-space:nowrap}
 .ofc-row .nm small{display:block;margin-top:1px;font-size:11.5px;font-weight:400;color:var(--muted)}
 .ofc-row .nm .gs{font-size:11px;padding:0 7px;line-height:1.55}
 .ofc-row .sublink{color:var(--ink)}
 .ofc-l{text-align:center;font-size:15.5px;font-weight:700}
 .ofc-w{text-align:center;padding-right:6px;font-size:15.5px;font-weight:700}
 .ofc-g{justify-self:center;display:grid;place-items:center;width:34px;height:34px}
 .ofz{color:#5f6470;font-weight:500}
 .ofnew{display:block;color:var(--accent)}
 .ofc-all{border:0;margin:0 -8px 2px;padding:9px 8px;border-radius:10px;background:var(--raised);grid-template-columns:minmax(0,1fr) 62px 58px 56px 42px}
 .ofc-all .nm{font-size:14.5px;font-weight:700}
 .ofc-hd{border:0;padding:8px 0 6px;font-size:10.5px;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
 .ofc-hd span{font-size:inherit!important;font-weight:inherit!important}
 .ofring{position:relative;padding:0;margin:0;border:0;background:none;border-radius:50%;color:var(--ink);cursor:pointer;filter:none!important}
 .ofring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
 .ofring .rt{fill:none;stroke:#2b2f36;stroke-width:3.2}.ofring .rf{fill:none;stroke:var(--accent);stroke-width:3.2;stroke-linecap:round}.ofring .rf.done{stroke:var(--ok)}
 .ofring b{position:relative;top:1.25px;display:flex;align-items:baseline;line-height:1;font-size:10.5px;font-weight:700;color:#e3e6eb;letter-spacing:-.02em}
 .ofring b.l3{font-size:9.5px}
 .ofring b small{font-size:7px;font-weight:600;color:var(--muted);margin-left:.5px;letter-spacing:0}
 .ofc-all .ofring{width:42px;height:42px}.ofc-all .ofring b{top:1.5px;font-size:12.5px}.ofc-all .ofring b small{font-size:9px;margin-left:1px}
 .ofring.none{color:#7d828d;font-size:17px;font-weight:500;width:30px;height:30px;border:1px dashed #3a3f48}
 .ofc-edit{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px 12px;margin:0 -8px 6px;border-radius:10px;background:var(--raised)}
 .ofc-edit label{flex:1 1 100%;font-size:12.5px;color:var(--muted)}.ofc-edit label b{color:var(--ink)}
 .ofc-edit input{flex:1;min-width:0;width:auto}
 /* OnlyFans Subs page on a phone: tabs + one line per model - Real | Fake (what the member sees) */
 .scph,.sccard{display:none}
 .schead{display:block;margin:0 0 12px}
 .schead .back{display:inline-flex;align-items:center;gap:4px;margin-bottom:10px;padding:5px 11px;border-radius:999px;background:var(--surface);
   color:#c9ccd3;font-size:13px;font-weight:600;text-decoration:none}
 .schead h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}
 .schead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .row.scfilt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 12px}
 .scfilt select{max-width:none!important;width:100%!important;margin:0;min-width:0}
 .scphone{display:block}
 .sctabs{display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-radius:11px;padding:3px;margin-bottom:12px}
 .sctabs button{background:none;border:0;border-radius:8px;padding:7px 0;color:var(--muted);font-size:13px;font-weight:600;filter:none}
 .sctabs button.on{background:var(--raised);color:var(--ink)}
 .scwk{margin:0 2px 10px;font-size:13px;color:var(--muted)}.scwk b{color:var(--ink)}
 .scsum{display:grid;grid-template-columns:repeat(2,1fr);background:var(--surface);border-radius:12px;padding:10px 0;margin-bottom:12px;font-variant-numeric:tabular-nums}
 .scsum div{text-align:center}.scsum div+div{border-left:1px solid var(--line)}
 .scsum b{display:block;font-size:18px;font-weight:700}.scsum div>span{font-size:11px;color:var(--muted)}
 .card.sclist{margin-top:0;padding:4px 14px 6px}
 .scr{display:grid;grid-template-columns:minmax(0,1fr) 70px 70px;align-items:center;padding:9px 0;border-top:1px solid #1d2025;font-variant-numeric:tabular-nums}
 .scr.grp{border-top-color:#2e323a}
 .scr .nm{min-width:0;font-size:14px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
 .scr .nm small{display:block;margin-top:1px;font-size:11.5px;font-weight:400;color:var(--muted)}
 .scr .nm .gs{font-size:11px;padding:0 7px;line-height:1.55}.scr .sublink{color:var(--ink)}
 .scr>span{text-align:center;font-size:15.5px;font-weight:700}
 .scr.schd{border-top:0;padding:10px 0 7px}
 .scr.schd>span{font-size:10.5px;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;text-align:center}.scr.schd>span:first-child{text-align:left}
 .scf{color:#f2b07e}
 .scnote{font-size:11.5px;color:var(--muted);margin:10px 4px 0;line-height:1.45}
 /* OnlyFans Models page on a phone: one clean line per model, tap to open its settings */
 .mdph,.mgrid,.m2{display:none}
 .mdhead{display:block;margin:0 0 12px}
 .mdpills{display:flex;gap:6px;margin-bottom:10px}
 .mdhead .back{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:var(--surface);color:#c9ccd3;font-size:13px;font-weight:600;text-decoration:none}
 .mdhead h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}
 .mdhead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .mdphone{display:block}
 .mdaddc{background:var(--surface);border-radius:14px;padding:10px;margin:0 0 12px}
 .mdaddc input{width:100%;min-width:0}
 .mdaddr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.mdaddr select{width:100%;min-width:0}
 .mdphone .mmsg:empty{display:none}
 .card.mdlist{margin-top:0;padding:4px 12px}
 .mdr{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #1d2025;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .mdr:first-child{border-top:0}
 .mdav{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#22252b;background:color-mix(in srgb,var(--c) 18%,transparent);
   color:var(--c);font-weight:700;font-size:14px}
 .mdr .t{flex:1;min-width:0}
 .mdr .t b{display:block;font-size:14px;font-weight:600;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mdr .t span{display:block;margin-top:1px;font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mdr .gsx{font-style:normal;color:var(--ok)}
 .mdr.off .t b{color:#9aa0ab}
 .mdr .meta{flex:none;display:flex;align-items:center;gap:6px}.mdr .lkn{font-size:11px;color:var(--muted)}
 .mdr .paused{font-size:10.5px;font-weight:600;color:#d9b26a;background:rgba(240,180,80,.12);border-radius:999px;padding:1px 7px}
 .mdr .chev{flex:none;width:12px;text-align:right;color:#5f6470;font-size:15px}
 .mdr.open .t b{color:var(--accent)}
 .mded{background:var(--raised);border-radius:11px;padding:4px 11px 11px;margin:0 -4px 8px}
 .mded>label{display:block;margin:9px 0 4px;font-size:11.5px;font-weight:500;color:var(--muted)}.mded>label small{color:#5f6470;font-weight:400}
 .mded input[type=text],.mded select{width:100%;min-width:0;font-size:14px}
 .mdlk{display:flex;flex-wrap:wrap;gap:5px}.mdlk+input{margin-top:6px}
 .mdchip{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;border:1px solid #2c3037;background:var(--surface);
   color:#c9ccd3;font:inherit;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer;filter:none!important}
 .mdchip.add{border-style:dashed;background:none;color:var(--muted)}
 .mdedf{display:flex;justify-content:space-between;align-items:center;margin-top:12px}
 .mdsw{position:relative;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:var(--ink);cursor:pointer}
 .mdsw input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
 .mdsw i{position:relative;flex:none;width:34px;height:20px;border-radius:999px;background:#2f333b;transition:background .15s}
 .mdsw i::after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#8b919d;transition:left .15s}
 .mdsw input:checked+i{background:rgba(60,207,135,.85)}.mdsw input:checked+i::after{left:16px;background:#fff}
 .mdsw input:focus-visible+i{box-shadow:0 0 0 3px var(--accent-soft)}
 .mddel{background:none;border:0;padding:4px 0;color:var(--bad);font:inherit;font-size:13px;font-weight:600;filter:none!important}
 .card.mdmem{margin-top:12px;padding:4px 12px 12px}
 .mdch{display:flex;justify-content:space-between;align-items:center;padding:8px 0 6px}.mdch b{font-size:15px}
 .mdlink{background:none;border:0;padding:4px 0;color:var(--accent);font:inherit;font-size:13px;font-weight:650;filter:none!important}
 .mdbadd{display:flex;gap:8px;margin:0 0 8px}.mdbadd[hidden]{display:none}.mdbadd input{flex:1;min-width:0}
 .mdgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .mdtile{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;padding:7px 9px;border-radius:10px;background:var(--raised);border:1px solid transparent;
   color:var(--ink);font:inherit;font-size:13px;text-align:left;cursor:pointer;filter:none!important}
 .mdtile .mdav{width:26px;height:26px;font-size:11px}
 .mdtile b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
 .mdtile>span:last-child{margin-left:auto;color:var(--muted);font-size:12px;font-weight:500}
 .mdtile.on{border-color:#3a3f48;background:#23262c}.mdtile.off{opacity:.6}
 .mdmact{display:flex;align-items:center;gap:12px;margin-top:8px;padding:9px 11px;border-radius:10px;background:var(--raised)}
 .mdmact>div{flex:1;min-width:0}.mdmact>div b{display:block;font-size:13.5px}.mdmact>div span{font-size:11.5px;color:var(--muted)}
 .mdnote{font-size:11.5px;color:var(--muted);margin:10px 2px 0;line-height:1.45}
 /* OnlyFans Clients page on a phone: totals, then one card per client - 24h (big) | This week | 7 days | 30 days */
 .clph,#clist,#cnote,.clcard>.top,#cfree,.cdwrap{display:none!important}
 .clcard{display:none}.clcard:has(#cform:not([hidden])),.clcard:has(#cmsg:not(:empty)){display:block;margin:0 0 12px;padding:14px 13px}
 .clcard #cmsg{margin:0}.clcard:has(#cform:not([hidden])) #cmsg{margin-top:8px}.clcard #cmsg:empty{display:none}
 .clcard .cform{max-width:none;margin-top:0!important;gap:9px}.clcard .cform h3{font-size:16px}
 .clcard .cform input[type=text]{width:100%;font-size:14px}
 .clcard .picklist{max-height:52vh;border-radius:11px;background:var(--surface)}
 .clcard .picklist label{align-items:center;padding:9px 11px;font-size:14px}.clcard .picklist input{width:19px;height:19px;accent-color:var(--accent);flex:none}
 .clcard .picklist small{display:block;font-size:11.5px;color:var(--muted)}
 .clcard .cform .row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.clcard .cform .row #cpickcount{grid-column:1/-1;order:-1;text-align:right}
 .clhead{display:block;margin:0 0 12px}
 .clpills{display:flex;gap:6px;margin-bottom:10px}
 .clhead .back{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:var(--surface);color:#c9ccd3;font-size:13px;font-weight:600;text-decoration:none}
 .clht{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
 .clht h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.clht p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .cladd{flex:none;margin-top:2px;padding:8px 13px;border-radius:999px;font-size:13px;font-weight:650}
 .clphone{display:block}
 .cltot{display:grid;grid-template-columns:repeat(3,1fr);background:var(--surface);border-radius:12px;padding:10px 0;margin-bottom:8px;font-variant-numeric:tabular-nums}
 .cltot div{text-align:center}.cltot div+div{border-left:1px solid var(--line)}
 .cltot div>span,.cl4 div>span{display:block;font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
 .cltot b{display:block;font-size:18px;font-weight:700;margin-top:1px}
 .clfree{display:flex;align-items:center;gap:8px;padding:8px 12px;margin-bottom:10px;border-radius:10px;background:rgba(240,180,80,.07);font-size:12.5px;color:#c9ccd3}
 .clfree i{flex:none;width:7px;height:7px;border-radius:50%;background:#e6bf74}.clfree b{color:#e6bf74;font-weight:600}
 .clc{position:relative;background:var(--surface);border-radius:14px;padding:11px 12px 12px 14px;margin-bottom:8px}
 .clc::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:var(--c)}
 .clch{position:relative;display:flex;align-items:center;gap:10px}
 .clc .t{flex:1;min-width:0}.clc .t b{display:block;font-size:15.5px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .clc .t span{display:block;margin-top:1px;font-size:11.5px;color:var(--muted)}
 .clsubs{text-align:right;line-height:1.1;font-variant-numeric:tabular-nums}.clsubs b{display:block;font-size:16px;font-weight:700}.clsubs small{font-size:10.5px;color:var(--muted)}
 .cldots{flex:none;display:grid;place-items:center;width:30px;height:30px;margin-right:-5px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);
   font:inherit;font-size:17px;line-height:1;filter:none!important}.cldots.on{background:var(--raised);color:var(--ink)}
 .clmenu{position:absolute;right:-4px;top:38px;z-index:20;width:200px;padding:5px;border-radius:12px;background:#23262c;border:1px solid #33373f;box-shadow:0 14px 34px rgba(0,0,0,.55)}
 .clmenu button,.clmenu a{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:500;text-align:left;text-decoration:none;filter:none!important}
 .clmenu button:active,.clmenu a:active{background:rgba(255,255,255,.05)}.clmenu .red{color:var(--bad)}
 .cl4{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;margin-top:10px;border-radius:11px;background:var(--raised);overflow:hidden;font-variant-numeric:tabular-nums}
 .cl4 div{min-width:0;padding:8px 0 8px 10px}.cl4 div+div{border-left:1px solid #2a2e35}
 .cl4 b{display:block;margin-top:2px;font-size:15px;font-weight:700;white-space:nowrap}
 .cl4 .hl{background:rgba(60,207,135,.08)}.cl4 .hl b{font-size:20px;line-height:1.1}
 .clst{color:var(--muted);font-size:10px;margin-left:1px}
 .clchips{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
 .clchips span{padding:2px 9px;border-radius:999px;background:var(--raised);color:#c9ccd3;font-size:11.5px;font-weight:500}
 .clmore{padding:1px 9px;border:1px dashed #3a3f48;border-radius:999px;background:none;color:var(--accent);font:inherit;font-size:11.5px;font-weight:600;filter:none!important}
 .clc.clempty{display:flex;align-items:center;gap:10px;padding:10px 12px}.clc.clempty::before{display:none}
 .claddm{flex:none;padding:4px 10px;border:0;border-radius:999px;background:rgba(255,116,51,.1);color:var(--accent);font:inherit;font-size:12px;font-weight:650;filter:none!important}
 .clnote{font-size:11.5px;color:var(--muted);margin:10px 4px 0;line-height:1.45}
 /* Karma page on a phone: header, leaderboard podium, per member, accounts with filter chips */
 .kaph,.kagrid,.kalbc,.kamtc,.kaaccc{display:none!important}
 .kahead{display:block;margin:0 0 4px}
 .kaht{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
 .kaht h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.kaht p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .kacheck{flex:none;white-space:nowrap;margin-top:2px;padding:8px 14px;border-radius:999px;font-size:13px;font-weight:650}
 .kabtns{display:flex;gap:6px;margin-top:10px}
 .kagb{display:inline-flex;align-items:center;padding:6px 12px;border:0;border-radius:999px;background:var(--surface);color:#c9ccd3;font:inherit;font-size:12.5px;font-weight:600;text-decoration:none;filter:none!important}
 .kagb.on{background:#2b2f36;color:var(--ink);box-shadow:inset 0 0 0 1px #3a3f48}
 .karunmsg{margin:6px 2px 0;font-size:12.5px;color:var(--accent)}.karunmsg:empty{display:none}
 .kaaddf{background:var(--surface);border-radius:14px;padding:10px 12px 12px;margin-top:10px}.kaaddf[hidden]{display:none}
 .kaaddf input{width:100%;min-width:0}.kaaddr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}
 .kaaddf p{margin:6px 0 0;font-size:12.5px}.kaaddf p:empty{display:none}
 .kax{background:none;border:0;padding:2px 4px;color:var(--muted);font:inherit;font-size:14px;filter:none!important}
 .kaphone{display:block}
 .kacard{background:var(--surface);border-radius:14px;padding:10px 12px 8px;margin-top:12px}
 .kach{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:2px 0 6px}.kach b{font-size:15.5px}
 .kamut{font-size:12px;color:var(--muted)}.kaempty{font-size:13px;color:var(--muted);margin:6px 0 8px}
 .katabs{display:inline-grid;grid-template-columns:1fr 1fr;padding:2px;border-radius:9px;background:var(--raised)}
 .katabs button{padding:5px 10px;border:0;border-radius:7px;background:none;color:var(--muted);font:inherit;font-size:12px;font-weight:600;filter:none!important}
 .katabs button.on{background:#2b2f36;color:var(--ink)}
 .karng{margin:0 0 18px;font-size:11.5px;color:var(--muted)}
 .kapod{display:grid;grid-template-columns:1fr 1.15fr 1fr;gap:6px;align-items:end;margin:0 0 8px;padding-top:4px}
 .kapod.n2{grid-template-columns:1fr 1.15fr}.kapod.n1{grid-template-columns:minmax(0,180px);justify-content:center}
 .kapd{position:relative;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;padding:14px 4px 10px;border-radius:12px;background:var(--raised);text-align:center}
 .kapd.p1{padding:18px 4px 16px;background:linear-gradient(180deg,rgba(255,116,51,.16),var(--raised))}
 .kapd b{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}
 .kapd .kag{font-size:15px;font-weight:700}.kapd.p1 .kag{font-size:18px}.kapd small{font-size:10.5px;color:var(--muted)}
 .kapd>i{position:absolute;top:-10px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:20px;height:20px;border-radius:50%;
   background:#3a2a20;color:#ffb27f;font-style:normal;font-size:11px;font-weight:800}
 .kapd.p1>i{background:var(--accent);color:#16110d}
 .kapd.mine{box-shadow:inset 0 0 0 1px rgba(255,116,51,.5)}
 .kapd .kahide{position:absolute;top:4px;right:4px}
 .kahide{flex:none;width:22px;height:22px;padding:0;border:0;border-radius:6px;background:none;color:#4f545d;font:inherit;font-size:11px;line-height:1;filter:none!important}
 .kaav{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#22252b;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font-weight:700;font-size:13px}
 .kaav.lg{width:40px;height:40px;font-size:16px}
 .kabest{margin:0 0 6px;font-size:11.5px;line-height:1.5;color:var(--muted)}.kabest a{color:#c9ccd3;font-weight:600;text-decoration:none}
 .kalr,.kapm,.kaar{position:relative;display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #1d2025;font-variant-numeric:tabular-nums}
 .kalr.mine .t b{color:var(--accent)}
 .karank{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--raised);color:#c9ccd3;font-size:12.5px;font-weight:700}
 .kaphone .t{flex:1;min-width:0}.kaphone .t b{display:block;font-size:14px;font-weight:600;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .kaphone .t>span{display:block;margin-top:1px;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .kaphone .t a{color:inherit;text-decoration:none}
 .kav{flex:none;text-align:right;line-height:1.15}.kav b{display:block;font-size:15px;font-weight:700}.kav small{font-size:10.5px;color:var(--muted);white-space:nowrap}
 .kalr .kav b{font-size:16px}
 .kahid{margin:6px 0 4px;font-size:11.5px;color:var(--muted)}.kahid a{color:var(--accent)}
 .kachips{display:flex;flex-wrap:wrap;gap:5px;margin:2px 0 4px}
 .kachips button{padding:3px 10px;border:0;border-radius:999px;background:var(--raised);color:#c9ccd3;font:inherit;font-size:11.5px;font-weight:600;filter:none!important}
 .kachips button.on{background:#2b2f36;color:var(--ink);box-shadow:inset 0 0 0 1px #3a3f48}
 .kachips button.bad{background:rgba(242,112,109,.12);color:var(--bad)}.kachips button.bad.on{box-shadow:inset 0 0 0 1px rgba(242,112,109,.5)}
 .kaar.off{opacity:.6}.kaar .t b{font-size:13.5px}
 .kast{flex:none;max-width:84px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:1px 7px;border-radius:999px;font-size:10.5px;font-weight:600}
 .kast.ok{color:var(--ok);background:rgba(60,207,135,.12)}.kast.bad{color:var(--bad);background:rgba(242,112,109,.13)}.kast.pz{color:#d9b26a;background:rgba(240,180,80,.12)}
 .kadots{flex:none;display:grid;place-items:center;width:28px;height:28px;margin-right:-6px;padding:0;border:0;border-radius:7px;background:none;color:var(--muted);font:inherit;font-size:16px;line-height:1;filter:none!important}
 .kadots.on{background:var(--raised);color:var(--ink)}
 .kamenu{position:absolute;right:-4px;top:40px;z-index:20;width:200px;padding:5px;border-radius:12px;background:#23262c;border:1px solid #33373f;box-shadow:0 14px 34px rgba(0,0,0,.55)}
 .kamenu a,.kamenu button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:500;text-align:left;text-decoration:none;filter:none!important}
 .kamenu .red{color:var(--bad)}
 .kamore{display:block;width:100%;margin:6px 0 2px;padding:8px 0;border:0;background:none;color:var(--accent);font:inherit;font-size:12.5px;font-weight:650;filter:none!important}
 .kamsg{margin:10px 4px 0;font-size:12.5px;color:var(--accent)}.kamsg:empty{display:none}
 /* Karma > Posts & comments on a phone: 7 day boxes per account (tap for details), By day with a single-day dropdown */
 .pcph,.pccard{display:none!important}
 .pchead{display:block;margin:0 0 12px}
 .pchead .back{display:inline-flex;align-items:center;margin-bottom:10px;padding:5px 11px;border-radius:999px;background:var(--surface);color:#c9ccd3;font-size:13px;font-weight:600;text-decoration:none}
 .pchead h1{font-size:22px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.pchead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .row.pcfilt{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 10px}
 .pcfilt .seg{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;padding:3px;border:0;border-radius:11px;background:var(--surface)}
 .pcfilt .seg button{padding:7px 0;border-radius:8px;font-weight:600}.pcfilt .seg button+button{border-left:0!important}
 .pcfilt .seg button.on{background:var(--raised)!important;color:var(--ink)!important}
 .pcfilt select{width:100%!important;max-width:none!important;min-width:0;margin:0}
 .pcfilt.byday .pcday{display:block}
 .pcphone{display:block}
 .pcsum{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:10px;padding:10px 0;border-radius:12px;background:var(--surface);font-variant-numeric:tabular-nums}
 .pcsum div{text-align:center}.pcsum div+div{border-left:1px solid var(--line)}
 .pcsum span{display:block;font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.pcsum b{display:block;margin-top:1px;font-size:18px;font-weight:700}
 .pcpo{color:#ff9a52;font-style:normal;font-weight:650}.pcco{color:#5aa9ff;font-style:normal;font-weight:650}.pctt{color:var(--accent)}
 .pccap{color:var(--muted);font-size:10px;margin-left:1px}
 .pccard2{padding:4px 12px 4px;border-radius:14px;background:var(--surface);font-variant-numeric:tabular-nums}
 .pcmut{font-size:11.5px;color:var(--muted)}.pcempty{font-size:13px;color:var(--muted);margin:8px 2px}
 .pcmh{display:flex;align-items:center;gap:9px;padding:11px 0 7px;border-top:1px solid var(--line)}.pcmh:first-child{border-top:0}.pcmh b{font-size:14.5px}
 .pcmt{margin-left:auto;font-size:16px;font-weight:750;color:var(--accent)}
 .pcav{flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#22252b;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font-size:11px;font-weight:700}
 .pcac{padding:8px 0 9px;border-top:1px solid #1d2025}
 .pcat{display:flex;justify-content:space-between;align-items:baseline;gap:6px;min-width:0}
 .pcat a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:13.5px;font-weight:600;text-decoration:none}
 .pcat>span{flex:none;font-size:11.5px;color:var(--muted);white-space:nowrap}.pcat>span b{color:var(--ink)}
 .pcwk{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:6px}
 .pcwk>*{display:block;min-width:0;padding:3px 0 4px;border:0;border-radius:7px;background:var(--raised);color:var(--ink);font:inherit;text-align:center;line-height:1.15;filter:none!important}
 .pcwk span{display:block;font-size:9.5px;color:var(--muted)}.pcwk b{font-size:13px}
 .pcwk .no{opacity:.45}.pcwk button.on{background:rgba(255,116,51,.16);box-shadow:inset 0 0 0 1.5px var(--accent)}.pcwk button.on span{color:var(--accent)}
 .pcdet{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin-top:9px;padding:9px 11px;border-radius:10px;background:#23262c;border:1px solid #33373f;font-size:13px}
 .pcdet::before{content:"";position:absolute;top:-6px;left:calc(var(--x) - 6px);width:10px;height:10px;background:#23262c;border-left:1px solid #33373f;border-top:1px solid #33373f;transform:rotate(45deg)}
 .pcdet b{font-size:13.5px}.pcchk{margin-left:auto;font-size:11px;color:var(--muted)}
 .pcnote{margin:10px 4px 0;font-size:11.5px;line-height:1.45;color:var(--muted)}
 .pcdr{display:grid;grid-template-columns:minmax(0,1fr) 44px 46px 48px;align-items:center;padding:7px 0;border-top:1px solid #1d2025}
 .pcdr>span{text-align:center;font-size:14px}.pcdr .pctt2{font-weight:750}
 .pcdr .pcat{display:block}.pcdr .pcat a{display:block}.pcdr .pcat>span{display:block;margin-top:2px}
 .pchd{border-top:0;padding:10px 0 6px}.pchd>span{font-size:10.5px!important;font-weight:500;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}.pchd>span:first-child{text-align:left}
 .pctag{display:inline-block;padding:0 7px;border-radius:999px;background:#22252b;background:color-mix(in srgb,var(--c) 15%,transparent);color:var(--c);font-size:10.5px;font-style:normal;font-weight:600;line-height:18px}
 .pcdh{display:flex;align-items:center;gap:8px;padding:11px 0 7px;border-top:1px solid var(--line)}
 .pchd+.pcdh{border-top:1px solid var(--line)}
 .pcdh button{padding:0;border:0;background:none;color:var(--ink);font:inherit;font-size:14.5px;font-weight:650;filter:none!important}
 .pcdt{margin-left:auto;font-size:13px;color:var(--muted);white-space:nowrap}.pcdt b{color:var(--ink)}
 .pcnav{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:0 2px 10px}
 .pcnav button{padding:0;border:0;background:none;color:var(--accent);font:inherit;font-size:12px;font-weight:600;filter:none!important}.pcnav b{font-size:13px;text-align:center}
 .pcmore{display:block;width:100%;margin:6px 0 4px;padding:8px 0;border:0;background:none;color:var(--accent);font:inherit;font-size:12.5px;font-weight:650;filter:none!important}
 /* OnlyFans for team members on a phone: one goal card per model */
 .gnph,.gncard{display:none!important}
 .gnhead{display:block;margin:0 2px 12px}.gnhead h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.gnhead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .gnphone{display:block}
 .gnc{margin-bottom:8px;padding:12px 14px;border-radius:14px;background:var(--surface);font-variant-numeric:tabular-nums}
 .gnh{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
 .gnh .sub-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:16px;font-weight:650}.gnh .mlcount{font-size:10.5px}
 .gnd{flex:none;font-size:13.5px;font-weight:700}.gnd small{font-size:10.5px;font-weight:500;color:var(--muted)}
 .gnn{display:flex;align-items:baseline;gap:6px;margin-top:8px}.gnn b{font-size:26px;line-height:1;color:var(--ok)}.gnn b.z{color:#5f6470}
 .gnn span{font-size:13px;color:var(--muted)}.gnn em{margin-left:auto;font-style:normal;font-size:15px;font-weight:700}
 .gnbar{height:8px;margin-top:8px;border-radius:9px;background:#262a31;overflow:hidden}.gnbar i{display:block;height:100%;border-radius:9px;background:var(--accent)}
 .gnbar.done i{background:var(--ok)}
 .gnpace{margin:8px 0 0;font-size:12px;color:var(--muted)}.gnpace b{color:var(--ink)}.gnpace .gnok{color:var(--ok)}
 .gnnote{margin:10px 4px 0;font-size:11.5px;color:var(--muted)}.gnempty{font-size:13.5px;color:var(--muted);margin:8px 2px}
 /* RedGifs on a phone: run box on top, one card per account, recent uploads as a list */
 .rgph,.rgacccard>.tablewrap,.rgreccard>.tablewrap{display:none!important}
 .rghead{display:block;margin:0 2px 12px}.rghead h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.rghead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .card.rgruncard{padding:11px 12px 12px;background:linear-gradient(135deg,rgba(255,116,51,.1),var(--surface) 60%)}
 .rgruncard>.top{align-items:center}.rgruncard h2{font-size:15px}
 .rgruncard #rgstate{font-size:12px}.rgruncard #rgstate:empty::before{content:"● Idle";color:#5f6470}
 .rgruncard #rgrun{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px!important}
 #rgsound{flex:none;display:grid;grid-template-columns:1fr 1fr;padding:3px;border:0;border-radius:11px;background:var(--paper)}
 #rgsound button{font-size:0!important;padding:7px 11px;border-radius:8px}#rgsound button+button{border-left:0!important}
 #rgsound button::before{font-size:13px;font-weight:600}#rgsound button[data-v=on]::before{content:"🔊 On"}#rgsound button[data-v=off]::before{content:"🔇 Off"}
 #rgsound button.on{background:var(--raised)!important;color:var(--ink)!important}
 #rgstart{flex:1;min-width:0;border-radius:11px;font-size:14.5px;font-weight:650}
 #rgstop{flex-basis:100%}
 #rgmsg:empty{display:none}
 .card.rgacccard{margin-top:16px;padding:0;background:none;border:0;box-shadow:none}
 .rgacccard>.top{align-items:center;margin:0 2px 8px}.rgacccard>.top h2{font-size:16px}
 .rgacccard>.top .btn,.rgacccard>.top button{padding:5px 11px;border:0;border-radius:999px;background:var(--surface);color:#c9ccd3;font-size:12.5px;font-weight:600}
 .rgacccard .rgform{margin:0 0 10px}.rgacccard .rgopts{margin:10px 2px 0}
 .rgpprog{display:block;margin:0 2px 8px;font-size:12.5px}.rgpprog:empty{display:none}
 .rgphone{display:block}
 .rgc{position:relative;margin-bottom:8px;padding:11px 12px 12px;border-radius:14px;background:var(--surface);font-variant-numeric:tabular-nums}
 .rgc.warn{box-shadow:inset 0 0 0 1px rgba(242,112,109,.38)}.rgc.off{opacity:.6}
 .rgch{position:relative;display:flex;align-items:center;gap:10px}
 .rgav{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#22252b;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font-size:14px;font-weight:700}
 .rgc .t{flex:1;min-width:0}.rgc .t b{display:block;font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .rgc .t>span{display:block;margin-top:1px;font-size:12px;color:var(--muted)}.rgc .t .gs{font-size:11px;padding:0 7px;line-height:1.55}
 .rgvp{flex:none;padding:2px 9px;border:0;border-radius:999px;background:var(--raised);color:var(--muted);font:inherit;font-size:11px;font-weight:650;filter:none!important}
 .rgvp.on{background:rgba(255,116,51,.12);color:var(--accent)}
 .rgdots{flex:none;display:grid;place-items:center;width:30px;height:30px;margin-right:-5px;padding:0;border:0;border-radius:8px;background:none;color:var(--muted);font:inherit;font-size:17px;line-height:1;filter:none!important}
 .rgdots.on{background:var(--raised);color:var(--ink)}
 .rgpmenu{position:absolute;right:-4px;top:38px;z-index:20;width:210px;padding:5px;border-radius:12px;background:#23262c;border:1px solid #33373f;box-shadow:0 14px 34px rgba(0,0,0,.55)}
 .rgpmenu label,.rgpmenu button{display:block;width:100%;padding:10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:500;text-align:left;cursor:pointer;filter:none!important}
 .rgpmenu .red{color:var(--bad)}
 .rgcs{margin:9px 0 0 2px}
 .rgls{display:inline-flex;align-items:center;gap:6px;font-size:12.5px}.rgls i{flex:none;width:7px;height:7px;border-radius:50%}
 .rgls.ok{color:#9be3bf}.rgls.ok i{background:var(--ok)}.rgls.bad{color:var(--bad)}.rgls.bad i{background:var(--bad)}
 .rgcf{display:flex;align-items:center;gap:6px;margin-top:10px;padding:6px 6px 6px 12px;border-radius:11px;background:var(--raised)}
 .rgstat{min-width:52px;margin-right:6px;padding:0;border:0;background:none;color:var(--ink);font:inherit;text-align:left;line-height:1.1;filter:none!important}
 .rgstat b{display:block;font-size:17px;font-weight:700}.rgstat span{font-size:10.5px;color:var(--muted)}
 .rgaddv{margin-left:auto;padding:8px 13px;border-radius:9px;font-size:13.5px;font-weight:650;cursor:pointer}
 .rgql{margin-top:8px;padding:2px 2px 0}.rgql .muted{font-size:12.5px}
 .rgqf{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid #23262c;font-size:12.5px}.rgqf:first-child{border-top:0}
 .rgqf span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rgqf small{color:var(--muted);white-space:nowrap}
 .rgqf button{padding:2px 6px;border:0;background:none;color:var(--muted);font:inherit;font-size:12px;filter:none!important}
 .rgmore{display:block;width:100%;margin:2px 0 0;padding:8px 0;border:0;background:none;color:var(--accent);font:inherit;font-size:13px;font-weight:650;filter:none!important}
 .rgempty{font-size:13px;color:var(--muted);margin:6px 2px}
 .card.rgreccard{padding:8px 12px 6px}.rgreccard>.top{align-items:center}.rgreccard h2{font-size:15px}
 .rgrecp{display:block}
 .rgrr{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid #1d2025}
 .rgrt{flex:none;width:44px;font-size:11.5px;color:var(--muted)}
 .rgrr .t{flex:1;min-width:0}.rgrr .t b{display:block;font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rgrr .t span{font-size:11.5px;color:var(--muted)}
 .rgrr a{flex:none;color:var(--accent);font-size:12px;font-weight:600;text-decoration:none}
 /* Content on a phone: status tiles, Check all + Settings, quick check, one line per model (tap to edit) */
 .coph,.comodels>.tablewrap,.comodels>p.muted,#mcount,.coquick>p.muted{display:none!important}
 .cohead{display:block;margin:0 2px 12px}.cohead h1{font-size:23px;font-weight:650;letter-spacing:-.02em;margin:0;line-height:1.2}.cohead p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
 .cotiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .cotiles button{display:block;min-width:0;padding:9px 10px;border:0;border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;text-align:left;filter:none!important}
 .cotiles span{display:block;font-size:10.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
 .cotiles b{display:block;margin-top:2px;font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .cotiles .ok b{color:var(--ok)}.cotiles .no b{color:var(--bad)}
 .coacts{display:flex;gap:8px;margin-top:10px}
 #coall{flex:1;min-width:0;padding:10px 14px;border-radius:11px;font-size:14px;font-weight:650}#coall.busy{background:var(--raised);border-color:var(--raised);color:var(--ink)}
 .coset{flex:none;padding:10px 13px;border:0;border-radius:11px;background:var(--surface);color:#c9ccd3;font-size:13px;font-weight:600}
 body.cosetopen .coset{background:var(--raised);color:var(--ink)}
 .comsg{display:block;margin:8px 2px 0;font-size:12.5px}.comsg:empty{display:none}
 .dbgrid{display:flex!important;flex-direction:column;align-items:stretch!important;gap:12px!important;margin-top:12px}
 .coauto{display:none!important;order:-1}body.cosetopen .coauto{display:block!important}
 .card.coauto,.card.coquick{padding:12px 12px 13px;border-radius:14px}
 .coquick h2{font-size:14.5px;margin:0 0 8px}.cosub{display:inline;margin-left:6px;font-size:11.5px;font-weight:400;color:var(--muted)}
 .coquick #qform{flex-wrap:nowrap;gap:8px}.coquick #qurl{flex:1;min-width:0}
 .card.comodels{margin-top:12px;padding:8px 12px 6px}
 .comodels>.top{align-items:center;flex-wrap:wrap;row-gap:8px}.comodels>.top h2{font-size:15.5px}
 .cosum{display:inline;margin-left:auto;font-size:12px;color:var(--muted)}
 .comodels #filter{flex-basis:100%;max-width:none!important;padding:9px 11px!important;font-size:13.5px!important}
 .cophone{display:block;margin-top:4px}
 .corow{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #1d2025;cursor:pointer;-webkit-tap-highlight-color:transparent}
 .corow.open .t b{color:var(--accent)}
 .coav{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#22252b;background:color-mix(in srgb,var(--c) 18%,transparent);color:var(--c);font-size:13px;font-weight:700}
 .corow .t{flex:1;min-width:0}.corow .t b{display:block;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .corow .t>span{display:block;margin-top:1px;font-size:11.5px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .corow .t .gs{font-size:10.5px;padding:0 6px;line-height:1.5}
 .cored{color:var(--bad)}.codim{color:#5f6470}
 .cocnt{flex:none;display:flex;gap:4px;font-variant-numeric:tabular-nums}
 .cocnt>span{padding:3px 7px;border-radius:999px;background:var(--raised);font-size:11.5px;white-space:nowrap}.cocnt b{font-size:12.5px;color:var(--ok)}
 .cocnt.z{opacity:.5}.cocnt.z b{color:var(--ink)}
 .cochev{flex:none;width:10px;text-align:right;color:#5f6470}
 .coed{margin:0 -4px 8px;padding:4px 11px 11px;border-radius:11px;background:var(--raised)}
 .coed>label{display:block;margin:9px 0 4px;font-size:11.5px;font-weight:500;color:var(--muted)}.coed>label small{color:#5f6470;font-weight:400}
 .coed .dbin{width:100%;font-size:14px;padding:8px 10px}
 .colks{display:flex;flex-wrap:wrap;gap:5px}.colks+input{margin-top:6px}
 .colk{display:inline-flex;align-items:center;padding:3px 10px;border:1px solid #2c3037;border-radius:999px;background:var(--surface);color:#c9ccd3;font:inherit;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer;filter:none!important}
 .colk.add{border-style:dashed;background:none;color:var(--muted)}
 .coedf{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;font-size:11.5px;color:var(--muted)}
 .coedf button{flex:none;padding:7px 13px;border-radius:9px;font-size:13px;font-weight:650}
 .coempty{font-size:13px;color:var(--muted);margin:8px 2px}
 /* Subreddit research on a phone: cards instead of the table */
 .top:has(>#subdbsel,>#subdbname){align-items:center}.top:has(>#subdbsel,>#subdbname)>h2{margin:0;line-height:1.3}
 .top:has(>#subdbsel,>#subdbname)>#count{flex-basis:100%;margin-left:0!important;margin-top:-2px;text-align:left}
 .subwrap{display:none}.subcards{display:block}
 .srpills,.srman,.srfoot,.srseg{display:none!important}
 .sc{padding:14px 0;border-bottom:1px solid var(--line)}.sc:last-child{border-bottom:0}
 .sc-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
 .sc-name{font-size:16px;font-weight:650;color:var(--ink);text-decoration:none}.sc-meta{font-size:12.5px;color:var(--muted);margin-top:1px}
 .sc-bb{flex:none;font-size:11.5px;font-weight:600;border-radius:999px;padding:2px 8px;white-space:nowrap;background:var(--raised);color:var(--muted)}
 .sc-bb.no{background:rgba(60,207,135,.12);color:var(--ok)}.sc-bb.yes{background:rgba(242,112,109,.14);color:var(--bad)}
 .sc-uv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--raised);border-radius:10px;margin-top:10px;padding:9px 4px}
 .sc-uv div{text-align:center;min-width:0}.sc-uv div+div{border-left:1px solid #2c3037}
 .sc-uv b{display:block;font-size:16.5px;font-weight:650}.sc-uv span{font-size:11px;color:var(--muted)}
 .sc-req{font-size:11.5px;color:var(--muted);margin:10px 0 5px}
 .sc-chips{display:flex;flex-wrap:wrap;gap:6px}
 .sc-chip{border:1px solid var(--line);border-radius:8px;padding:4px 8px;font-size:12.5px}.sc-chip b{font-weight:650}
 .sc-who{font-size:11.5px;color:var(--muted);margin-top:7px}.sc-who a{color:#c9ccd3}
 .sc-adm{display:flex;align-items:center;gap:8px;margin-top:10px;font-size:12.5px;color:var(--muted)}.sc-adm select{flex:1;min-width:0}
 table.stack td[colspan]::before{content:none}
 .shell,.shell.with-team{padding:18px 14px 56px}
 .ph{margin:0 0 16px}.ph h1{font-size:23px}.ph p{font-size:14px}
 .ph .top{flex-wrap:wrap;gap:10px}.ph .top select{width:100%!important}
 .card,details.log{padding:16px;border-radius:14px;margin-top:14px}
 details.log{padding:0;margin-top:12px}details.log summary{padding:11px 12px;font-size:14px;align-items:center}
 details.log summary::after{font-size:12.5px}details.log pre{padding:10px 12px;height:200px;font-size:11.5px;border-radius:0 0 14px 14px}
 .tiles,.tiles.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .tile{padding:13px 14px;border-radius:14px}.tile .k{font-size:12.5px}.tile .v{font-size:22px;margin-top:4px}.tile .s,.tile .v small{font-size:12px}
 .top{flex-wrap:wrap;row-gap:8px}
 /* tables: smaller and the first column stays put while you swipe sideways */
 table{font-size:13.5px}table th{font-size:12px}
 table th,table td{padding:10px 9px}
 table th:first-child,table td:first-child{padding-left:12px}table th:last-child,table td:last-child{padding-right:12px}
 .tablewrap table th:first-child,.tablewrap table td:first-child{position:sticky;left:0;z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--line)}
 .tablewrap{-webkit-overflow-scrolling:touch}
 /* lists with an icon: icon + text on one line, the buttons underneath */
 .todo{align-items:flex-start;flex-wrap:wrap}.todo .t{flex:1 1 0;min-width:0}
 #fixcard .fixacts{margin-left:46px;width:calc(100% - 46px)}
 /* forms: fields one under the other */
 #addform{flex-wrap:wrap}#addform input{flex:1 1 100%;min-width:0}
 .row>input[type=text],.row>input[type=number],.row>input[type=search]{min-width:0}
}
/* subreddit tables: fit on one screen - headers wrap to two lines, tighter columns, long usernames get "..." */
table.srt th{white-space:normal!important;line-height:1.3;vertical-align:bottom}
table.srt th,table.srt td{padding:12px 8px}
table.srt th:first-child,table.srt td:first-child{padding-left:16px}
table.srt th:last-child,table.srt td:last-child{padding-right:16px}
table.srt td:first-child{white-space:normal;min-width:150px}
table.srt .sub-name{white-space:nowrap}
table.srt .ulink{max-width:118px;margin-left:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
table.srt select{padding:4px 6px;font-size:12.5px}
table.srt .subx{padding:4px 9px}
#tbl.srt th:nth-child(-n+3),#tbl.srt td:nth-child(-n+3){width:auto;padding-right:8px}
#tbl.srt td:first-child{white-space:normal}
#tbl.srt th:nth-child(-n+3),#tbl.srt td:nth-child(-n+3){width:auto;padding-right:8px}
#tbl.srt td:first-child{white-space:normal}
/* Home on PC / MacBook for the whole team (Admin): models grouped by poster + "Behind pace". Phones keep the model cards. */
.h3wrap,.h3note,.h3by,.hbehind,.h3lav,.h3new{display:none}
.h3lav{place-items:center;width:24px;height:24px;border-radius:50%;flex-shrink:0;font-size:11px;font-weight:700;background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c)}
@media (min-width:641px){
 .tile .h3new{display:inline}.tile .h3old{display:none}
 .hgrid.h3{grid-template-columns:minmax(0,1fr)}
 .hgrid.h3 #mlist{display:none}
 .hgrid.h3 .h3wrap{display:block;container:h3/inline-size;margin-top:8px}
 .hgrid.h3 #mhead{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 5px}
 .hgrid.h3 .h3by{display:inline}
 .hgrid.h3 .h3note{display:inline;margin-left:auto;padding-left:12px;font-size:12.5px;font-weight:400;color:var(--muted);white-space:nowrap}
 .hgrid.h3 .hbehind:not([hidden]){display:block;background:var(--surface);border-radius:16px;padding:22px 24px;margin-bottom:18px}
 .hgrid.h3 .h3lav{display:inline-grid}
 .hgrid.h3 #board .lb{gap:10px}
}
@media (min-width:1200px){.hgrid.h3{grid-template-columns:minmax(0,1fr) 340px}}
@media (min-width:641px) and (max-width:1199px){
 .hgrid.h3>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
 .hgrid.h3>div:last-child>*{margin:0!important}
}
@media (min-width:641px) and (max-width:860px){.hgrid.h3>div:last-child{grid-template-columns:minmax(0,1fr)}}
.h3r{display:grid;grid-template-columns:minmax(0,200px) 50px minmax(0,1fr) 100px 84px;gap:12px;align-items:center;padding:7px 8px;font-size:14px;border-radius:9px;font-variant-numeric:tabular-nums}
.h3r:not(.h3h):hover{background:#1b1e23}
.h3h{font-size:11.5px;color:var(--muted);padding:2px 8px 0}
.h3n{display:flex;align-items:center;min-width:0;font-weight:600}
.h3nm{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);text-decoration:none}
a.h3nm:hover{text-decoration:underline;text-underline-offset:3px}
.h3stk,.h3best{flex-shrink:0;margin-left:7px;padding:1px 7px;border-radius:9px;font-size:11.5px;font-weight:600;white-space:nowrap}
.h3stk{background:rgba(255,116,51,.13);color:var(--accent)}.h3best{background:rgba(60,207,135,.13);color:var(--ok)}
.h3d,.h3v,.h3p{text-align:right;white-space:nowrap}
.h3z{color:#5f6470}
.h3v{color:var(--muted);font-size:13px}.h3v b{color:var(--ink);font-size:14px;font-weight:650}
.h3bt{position:relative;display:block;height:8px;border-radius:5px;background:#2b2f36}
.h3bt i{position:absolute;left:0;top:0;bottom:0;border-radius:5px;background:var(--muted)}
.h3bt i.ok{background:var(--ok)}.h3bt i.mid{background:#e5b33b}.h3bt i.bad{background:var(--accent)}
.h3bt em{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:#cfd3da;border-radius:1px;opacity:.7}
.h3nog{color:#5f6470;font-size:12.5px}
.h3tag{display:inline-block;font-size:12px;font-weight:600;padding:2px 8px;border-radius:9px}
.h3tag.ok{background:rgba(60,207,135,.13);color:var(--ok)}.h3tag.mid{background:rgba(229,179,59,.14);color:#e5b33b}.h3tag.bad{background:rgba(255,116,51,.14);color:var(--accent)}
.h3gp{display:flex;align-items:center;gap:10px;margin:12px 0 2px;padding:7px 8px;border-radius:10px;background:var(--raised);font-size:14px}
.h3gp b{font-weight:600}.h3gs{margin-left:auto;font-size:12.5px;color:var(--muted);white-space:nowrap}
.h3av{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;flex-shrink:0;font-size:11.5px;font-weight:700;background:color-mix(in srgb,var(--c) 22%,transparent);color:var(--c)}
@container h3 (max-width:600px){
 .h3r{grid-template-columns:minmax(0,1fr) 44px 92px 76px;row-gap:6px}
 .h3n{grid-column:1;grid-row:1}.h3d{grid-column:2;grid-row:1}.h3v{grid-column:3;grid-row:1}.h3p{grid-column:4;grid-row:1}
 .h3b{grid-column:1/-1;grid-row:2}.h3h .h3b{display:none}
}
.hbehind h2{margin-bottom:6px!important}
.h3at{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:8px 0;border-top:1px solid var(--line);font-size:14px}
.h3at:first-child{border-top:0}
.h3at>b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.h3at>span{color:var(--muted);font-size:12.5px;white-space:nowrap}.h3at>span b{color:var(--accent);font-weight:700}
.h3ok{margin:8px 0 0;color:var(--ok);font-size:14px}
/* Content on PC / MacBook: header + tiles, quick check as one bar, models grouped by poster, 3 settings cards. Phones keep their own layout. */
@media (max-width:640px){.codwrap,.cosets,.codbtn,.codrun{display:none!important}}
@media (min-width:641px){
 .coph,.coauto{display:none!important}
 .dbgrid{display:block}
 .codh svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
 .codbtn{display:inline-flex;align-items:center;gap:7px}
 #codmsg{font-size:13px;margin-right:4px;max-width:420px}#codmsg:empty{display:none}#codmsg.ok{color:var(--ok)}#codmsg.bad{color:var(--bad)}#codmsg.muted{color:var(--muted)}
 .codrun.busy{background:var(--raised);color:var(--ink)}
 .cokpis .bad{color:var(--bad)}
 .card.coquick{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:0;padding:14px 18px;border-radius:14px}
 .coquick h2{margin:0;font-size:14.5px;white-space:nowrap}
 .coquick .cosub{display:inline;margin-left:8px;font-size:12.5px;font-weight:400;color:var(--muted)}
 .coquick>p.muted{display:none}
 .coquick #qform{flex:1;min-width:260px;margin:0;flex-wrap:nowrap;gap:8px}.coquick #qurl{flex:1;min-width:0}
 .coquick #qbtn{background:var(--raised);color:var(--ink);border-color:transparent}.coquick #qbtn:hover{background:#262a31}
 .coquick #qout{flex-basis:100%;margin-top:2px}
}
@media (min-width:641px) and (max-width:1100px){.coquick .cosub{display:none}}
@media (min-width:641px){
 .card.comodels{margin-top:16px;padding:18px 20px 10px;border-radius:14px}
 .comodels>p.muted{display:none}
 .comodels>.top{margin-bottom:6px}.comodels>.top h2{display:flex;align-items:baseline;gap:10px}
 .comodels #mcount{font-weight:400;font-size:13px}
 .codwrap{container:cod/inline-size}
 table.codt{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
 table.codt th{font-size:12.5px;font-weight:500;color:var(--muted);text-align:left;padding:10px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
 table.codt td{padding:10px;border-bottom:1px solid #1d2025;font-size:14px;text-align:left;vertical-align:middle!important}
 table.codt th:first-child,table.codt td:first-child{padding-left:14px}table.codt th:last-child,table.codt td:last-child{padding-right:6px;text-align:right}
 .codt th.cm{width:21%}.codt th.cf{width:31%}.codt th.cd{width:15%}.codt th.cn{width:12%}.codt th.cl{width:12%}.codt th.cb{width:9%}
 table.codt tbody tr:last-child td{border-bottom:0}
 table.codt tbody tr:hover td{background:#1b1e23}
 table.codt tr.codg td{background:var(--raised)!important;border-bottom:0;padding:8px 10px;font-size:14px}
 table.codt tr.codg td:first-child{border-radius:10px;padding-left:10px}
 table.codt tbody tr.codg:not(:first-child) td{box-shadow:0 -8px 0 var(--surface)}
 table.codt tr.hl td:first-child{box-shadow:inset 3px 0 0 var(--ok)}
 .codgh{display:flex;align-items:center;gap:10px}.codgh b{font-weight:600}.codgh span:last-child{color:var(--muted);font-size:13px}
 .codnm{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .codt td small{display:block;color:var(--muted);font-size:12.5px;margin-top:1px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .codfl{display:flex;align-items:center;gap:8px;min-width:0}
 .codpv{flex-shrink:0;font-size:11.5px;font-weight:600;color:#c9ccd3;background:var(--raised);padding:2px 7px;border-radius:6px}
 .codlt{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;text-decoration:none}.codlt:hover{color:var(--ink);text-decoration:underline}
 .codmore{flex-shrink:0;font-size:12px;color:var(--muted)}
 .codt button.codpen,.codt button.coddc,.codt button.codadd{background:none!important;border:0!important;padding:0;margin:0;font:inherit;cursor:pointer;filter:none!important;box-shadow:none}
 .codt button.codpen{flex-shrink:0;display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px!important;color:var(--muted)}.codt button.codpen:hover{background:var(--raised)!important;color:var(--ink)}
 .codt .codpg i{font-style:normal}
 .codt .codpen svg,.codt .coddc svg,.codt .codnw svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 .codt button.coddc{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#c9ccd3;max-width:100%;overflow:hidden;white-space:nowrap}.codt button.coddc svg{color:var(--muted)}.codt button.coddc:hover{color:var(--ink)}
 .codt button.codadd{color:var(--accent);font-weight:600;font-size:13px}.codt button.codadd:hover{text-decoration:underline}
 .coder{color:var(--bad);font-size:12.5px;margin-top:4px;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
 .codt .codin{width:100%;font-size:13px;padding:6px 9px}
 .codnw{display:inline-flex;gap:12px;white-space:nowrap}.codnw span{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:#4f545e}
 .codnw span.on{color:var(--ink)}.codnw span.on svg{color:var(--ok)}
 .codz{color:#4f545e}.codck{color:#c9ccd3;white-space:nowrap}.codpg{color:var(--ok);font-size:12.5px;white-space:nowrap}
 .cosets{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:16px;margin-top:16px;align-items:start}
 .cosets>.card{margin:0;padding:18px 20px;border-radius:14px}
 .cosh{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.cosh h2{margin:0}
 .cook{color:var(--ok);font-size:12.5px;font-weight:600}.cono{color:var(--bad);font-size:12.5px;font-weight:600}
 .cotgl{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13px}.cotgl input{position:absolute;opacity:0;width:0;height:0}
 .cotgl span{position:relative;width:34px;height:20px;border-radius:10px;background:#2b2f36;transition:background .15s}
 .cotgl span::after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#8b919d;transition:left .15s}
 .cotgl input:checked+span{background:var(--accent)}.cotgl input:checked+span::after{left:17px;background:#fff}
 .cotgl input:focus-visible+span{box-shadow:0 0 0 3px var(--accent-soft)}
 .coline{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;font-size:13.5px;color:#c9ccd3}
 .cotime{display:inline-flex;align-items:center;gap:5px;color:var(--muted);white-space:nowrap}
 .cotime input{width:58px;padding:5px 8px!important;font-size:13.5px;font-weight:600;text-align:center}
 .conext{margin-top:12px;font-size:13px;color:var(--muted)}.conext b{color:var(--ink)}
 .conext .cobar{display:block;height:5px;border-radius:3px;background:#2b2f36;margin-top:8px;overflow:hidden}.conext .cobar i{display:block;height:100%;background:var(--accent);border-radius:3px}
 .cosp{margin:0 0 14px;color:var(--muted);font-size:13px;line-height:1.5}.cosp b{color:#c9ccd3;font-weight:600}
 #cdhookrow{margin:0 0 12px;flex-wrap:nowrap}#cdhookrow input{flex:1;min-width:0}
 .cosets+details.oflog{margin-top:16px}
}
.codt td small.codsub{display:none;align-items:center;gap:5px;margin-top:4px}
.codsub svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* Settings on PC / MacBook: 4 tiles, Telegram on the left, daily runs + logo on the right (both columns end on the same line), roles below. Phones keep the plain cards. */
.stsec,.sttbl,.stgrid{display:contents}
.stdp,.stic,.std,.stnx,.sts,.stl,.sttgh,.sttrh,.stdrop,.sttgd,.stbot,.sthint,.sttab,.stmh2,.tgprice,.stprice{display:none}
@media (min-width:641px){
 .ph>.stmp{display:none}.ph>.stdp{display:block}
 .stgrid{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-rows:auto 1fr auto;grid-template-areas:"tg runs" "tg logo" "roles roles";gap:16px;align-items:stretch}
 .stgrid .sttgc{grid-area:tg}.stgrid .strunsc{grid-area:runs}.stgrid .stlogo{grid-area:logo}.stgrid .stroles{grid-area:roles}
 .card.stcard{max-width:none!important;margin:0!important;border-radius:16px;padding:20px 24px}
 .stcard>h2{margin:0 0 12px;font-size:15.5px}.stcard .stx,.stmh{display:none!important}
 .stcard svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
 /* daily runs: name + "next ..." on the left, time + switch on the right */
 .strunsc{display:flex;flex-direction:column}
 #schedform .strun{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"nm tm sw" "nx tm sw";column-gap:10px;row-gap:1px;align-items:center;margin:0!important;padding:10px 0;border-top:1px solid #1d2025}
 #schedform .strun:first-child{border-top:0;padding-top:2px}
 .strun>.stic,.strun .std{display:none!important}
 .strun>label:first-of-type{grid-area:nm;min-width:0!important;font-weight:600;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .strun>.stnx{grid-area:nx;display:block;font-size:12.5px;color:var(--muted);white-space:nowrap}
 #schedform .strun>input{grid-area:tm;width:72px!important;min-width:0!important;max-width:none!important;text-align:center;font-weight:600;font-size:14px;padding:7px 8px;letter-spacing:.02em}
 .strun>label.stsw{grid-area:sw}
 label.stsw{position:relative;display:inline-flex;align-items:center;gap:8px;font-size:0;cursor:pointer;flex-shrink:0}
 label.stsw input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}
 .stsw .sts{display:inline-block;position:relative;width:34px;height:20px;border-radius:10px;background:#2b2f36;transition:background .15s}
 .stsw .sts::after{content:"";position:absolute;left:3px;top:3px;width:14px;height:14px;border-radius:50%;background:#8b919d;transition:left .15s}
 .stsw input:checked+.sts{background:var(--accent)}.stsw input:checked+.sts::after{left:17px;background:#fff}
 .stsw input:focus-visible+.sts{box-shadow:0 0 0 3px var(--accent-soft)}
 .stsw .stl{display:inline;font-size:13px;font-weight:600;color:var(--muted)}.stsw .stl::before{content:"Off"}
 .stsw input:checked~.stl{color:var(--ink)}.stsw input:checked~.stl::before{content:"On"}
 .strun .stsw .stl{display:none}
 #schedform{display:flex;flex-direction:column;flex:1}
 .stfoot{justify-content:flex-end;margin:auto 0 0!important;padding-top:16px;border-top:1px solid var(--line)}
 #schedform .strun:last-of-type{margin-bottom:16px!important}
 .stfoot #schedmsg{order:-1;margin-right:auto;font-size:13px}
 /* telegram */
 .sttgc{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:0;align-content:start;container:sttg/inline-size}
 .sttgc>*{grid-column:1/-1}.sttgc>h2{display:none}
 .sttgh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
 .sttgh h3{margin:0;font-size:15.5px;font-weight:600}.sttgh h3 span{margin-left:8px;font-size:13px;font-weight:400;color:var(--muted)}
 .sttgd{display:block;margin:0 0 14px;color:var(--muted);font-size:13.5px;line-height:1.5}
 .stbot{display:flex;align-items:center;gap:10px;background:var(--raised);border-radius:12px;padding:10px 12px;margin-bottom:14px}
 .stbot>div{flex:1;min-width:0}.stbot b{display:block;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stbot small{display:block;font-size:12.5px}
 .stbot button{background:transparent!important;border-color:transparent!important}.stbot button:hover{background:#262a31!important}
 .sttgi{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:rgba(91,141,239,.14);color:#8fb1f7;flex-shrink:0}
 .sttok{display:none!important}
 .sttgc.tokopen .sttok,.sttgc.notok .sttok{display:flex!important;flex-wrap:nowrap;margin:0 0 14px!important}
 .sttok>label{min-width:90px!important;font-weight:600;font-size:13.5px}
 .sttbl{display:block}
 .sttrh{display:grid;grid-template-columns:120px minmax(0,1fr) 210px 104px;gap:12px;padding:0 4px 8px;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--muted)}
 .sttbl .tgr{display:grid;grid-template-columns:120px minmax(0,1fr) 210px 104px;gap:12px;align-items:center;padding:8px 4px;border-bottom:1px solid #1d2025}
 .sttbl .tgr:last-child{border-bottom:0}
 .sttbl .tgr .who{display:contents;font-weight:600;font-size:14px}
 .sttbl .tgr{font-weight:600;font-size:14px}
 .sttbl .tgr .who small{font-weight:400;font-size:13px;color:var(--muted);margin:0}
 .sttbl .tgr select{flex:none;width:100%;max-width:none;font-weight:400}
 .sttbl #tgroutes>p{padding:10px 4px;margin:0!important}
 .sttbl .tgprice{display:block;position:relative;font-weight:400}.sttbl .tgprice em{font-style:normal;font-size:12.5px;color:var(--muted)}
 .tgpin{position:relative;display:block}.tgpin i{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-style:normal;color:var(--muted);font-size:13.5px;pointer-events:none}
 .tgpin input{width:100%;padding:7px 8px 7px 22px!important;font-size:13.5px;font-weight:600;min-width:0}
 .stprice{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 0;padding:12px 4px 0;border-top:1px solid #1d2025;font-size:13.5px}
 .stprice label{font-weight:600}.stprice .tgpin{width:104px}.stprice small{color:var(--muted);font-size:12.5px;flex:1;min-width:220px}
 .sttgc>.sthow{grid-column:1;order:1;margin:14px 0 0!important;padding-top:24px;border-top:1px solid var(--line);font-size:13px}
 .sttgc>.sthow ol{font-size:13px}
 .sttgc>.stbtns{grid-column:2;order:2;margin:14px 0 0!important;padding:14px 0 0 12px;border-top:1px solid var(--line);flex-wrap:nowrap;justify-content:flex-end}
 .stbtns #tgsave{order:2}.stbtns #tgmsg{order:-1;font-size:13px;max-width:300px}.stbtns #tgmsg:empty{display:none}
 /* logo */
 .stlogo{display:flex;flex-direction:column}
 .stlogo>.row{display:grid;grid-template-columns:48px auto auto minmax(0,1fr);grid-template-areas:"img up def ." "img hint hint hint";column-gap:8px;row-gap:6px;align-items:center}
 .stlogo #iconprev{grid-area:img;width:48px;height:48px;border-radius:12px!important;margin-right:6px}
 .stlogo #iconform{display:contents}
 .stlogo #iconform input[type=file],.stlogo #iconform>button:not(#iconreset){display:none}
 .stlogo #iconreset{grid-area:def}
 .stdrop{grid-area:up;display:inline-flex;align-items:center;gap:7px;background:var(--raised);border:1px solid transparent;border-radius:10px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--ink);cursor:pointer;white-space:nowrap}
 .stdrop:hover,.stdrop.on{background:#262a31;border-color:var(--accent)}
 .sthint{grid-area:hint;display:block;color:var(--muted);font-size:12px}
 .stlogo #iconmsg:empty{display:none}
 .stlogo>.row{margin-bottom:16px}
 .sttab{display:flex;margin-top:auto;padding:8px 10px 0;background:#0e0f12;border-radius:10px 10px 0 0;border-bottom:1px solid #2b2f36}
 .sttab span{display:inline-flex;align-items:center;gap:8px;background:var(--raised);border-radius:8px 8px 0 0;padding:7px 12px;font-size:12.5px;color:var(--ink);min-width:200px}
 .sttab img{width:16px;height:16px;border-radius:4px}.sttab i{margin-left:auto;font-style:normal;color:var(--muted)}
 /* roles */
 .stroles>h2{display:flex;align-items:baseline;gap:10px}.stmh2{display:inline;font-size:13px;font-weight:400;color:var(--muted)}
 .stroles table,.stroles tbody{display:block;margin:0}.stroles tbody tr:hover>td:first-child{background:transparent!important}
 .stroles tbody{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
 .stroles tr{display:block;background:var(--raised);border-radius:12px;padding:12px 14px;--c:#8b919d}
 .stroles td{display:block;padding:0!important;border:0!important;font-size:12.5px;background:transparent!important}
 .stroles td:first-child{font-size:13.5px;margin-bottom:5px}
 .stroles td:first-child::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--c);margin-right:8px;vertical-align:1px}
 .stroles td:last-child{color:var(--muted);line-height:1.45}
 .stroles tr:nth-child(1){--c:#ff7433}.stroles tr:nth-child(2){--c:#c06bd6}.stroles tr:nth-child(3){--c:#5b8def}.stroles tr:nth-child(4){--c:#7cc46a}
 .stkpis .g{color:var(--ok)}
}
@container sttg (max-width:600px){
 .sttrh{grid-template-columns:minmax(0,1fr) 190px 96px}.sttrh span:nth-child(2){display:none}
 .sttbl .tgr{grid-template-columns:minmax(0,1fr) 190px 96px}.sttbl .tgr .who{display:block;min-width:0}
 .sttbl .tgr .who small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (min-width:641px) and (max-width:1199px){
 .stgrid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:"tg tg" "runs logo" "roles roles"}
 .stroles tbody{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
}
@media (min-width:641px) and (max-width:820px){
 .stgrid{grid-template-columns:minmax(0,1fr);grid-template-areas:"tg" "runs" "logo" "roles"}
}
@container cod (max-width:980px){.codt .codpg{display:block;font-size:12px}.codt .codpg i{display:none}}
@container cod (max-width:760px){
 .codt th.cd,.codt td:nth-child(3){display:none}.codt th.cm{width:25%}.codt th.cf{width:36%}.codt th.cn{width:14%}.codt th.cl{width:13%}.codt th.cb{width:12%}
 .codt td small.codsub{display:flex}
}
/* Shift tracker (Admin + Team Leader) */
nav a[href="/shifts"]{--ic:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v5l3 2'/></svg>")}
@media (max-width:900px){nav a[href="/shifts"]{order:99}}
.shp{font-variant-numeric:tabular-nums}
.shp .mu{color:var(--muted);font-size:13px}
.shhd{margin:0 0 18px}.shhd h1{margin:0 0 4px;font-size:30px;letter-spacing:-.01em}.shhd p{margin:0;color:var(--muted)}
.shg{display:grid;grid-template-columns:330px minmax(0,1fr);gap:16px;align-items:start}
.shp .card{margin:0 0 16px;border-radius:16px}
.shic{width:15px;height:15px;flex-shrink:0}
.shlp{padding:20px!important}.shlp h2{margin:0 0 14px}
.shlb{display:block;font-weight:600;font-size:13px;margin:14px 0 7px}
.shaddr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:start}
.shp .shaddr textarea{resize:none;height:36px;min-height:36px;padding:7px 10px;font-size:13.5px;line-height:20px;overflow-y:hidden;border-radius:9px;font-family:inherit;display:block}
.shp .shaddr select{width:auto;max-width:130px;height:36px;padding:0 10px;font-size:13px;border-radius:9px}
.shp .shaddr button{height:36px;padding:0 13px;font-size:13.5px}
.shhint{display:block;color:var(--muted);font-size:12px;margin-top:5px;line-height:1.4}
.shmsg{font-size:12.5px;margin-top:6px;line-height:1.4}.shmsg:empty{display:none}.shmsg.err{color:var(--bad)}.shmsg.ok{color:var(--ok)}
.shmbls{margin-top:12px;border-top:1px solid var(--line)}
.shmbl{padding:10px 0;border-bottom:1px solid var(--line)}
.shmbh{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13.5px}.shmbh .mu{margin-left:auto;font-size:12.5px}
.shmch{display:flex;flex-wrap:wrap;gap:5px}
.shchip{display:inline-flex;align-items:center;gap:2px;background:var(--raised);border-radius:8px;padding:3px 3px 3px 9px;font-size:12px;font-weight:600;max-width:100%}
.shp .shchip button{background:none;border:0;color:var(--muted);padding:0 5px;font-size:13px;line-height:1.2;font-weight:400;border-radius:5px}.shp .shchip button:hover{color:var(--bad);filter:none}
.shempty{color:var(--muted);font-size:12.5px;padding:10px 0;line-height:1.45}
.shav{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,116,51,.13);color:var(--accent);font-weight:700;font-size:13px;flex-shrink:0}
.shav.sm{width:22px;height:22px;font-size:11px}.shav.none{background:var(--raised);color:var(--muted)}
.shtwo{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}
.shp input[type=date]{width:100%;min-width:0;background:var(--code);border:1px solid #262a31;border-radius:9px;padding:7px 9px;font-size:13px;color-scheme:dark}
.shchips{display:flex;gap:6px;flex-wrap:wrap}
.shp .shchips button{background:var(--raised);border:0;color:var(--muted);border-radius:20px;padding:5px 11px;font-size:12.5px;font-weight:600}
.shp .shchips button.on{background:rgba(255,116,51,.14);color:var(--accent)}
.shb{display:flex;align-items:center;gap:10px;background:var(--raised);border-radius:12px;padding:9px 12px;margin-bottom:8px}.shb b{display:block;font-size:13px;margin-bottom:4px}
.shtm{display:flex;align-items:center;gap:6px;color:var(--muted)}
.shp input.shtin{width:64px;padding:4px 8px;font-weight:600;font-size:13.5px;text-align:center;border-radius:8px;border-color:#262a31}
.shi{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;flex-shrink:0}.shi.m{background:rgba(229,179,59,.14);color:#e5b33b}.shi.n{background:rgba(143,177,247,.14);color:#8fb1f7}
.shnote{margin:2px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.shnote:empty{display:none}.shnote.warn{color:#e5b33b}
.shtz{display:flex;align-items:center;gap:8px;background:var(--code);border:1px solid #262a31;border-radius:9px;padding:0 0 0 11px}.shtz .shic{color:var(--muted);width:14px;height:14px}
.shtz:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.shp .shtz input{border:0;background:none;padding:8px 11px 8px 0;font-size:13.5px;box-shadow:none}
.shp .shpb{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:18px;font-weight:700;font-size:14px}.shpb .shic{fill:currentColor;stroke:none}
.shp .shwide{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;margin-top:8px;font-size:13.5px}
.shp .shwide[hidden],.shp .shpb[hidden]{display:none}
.shprog{margin-top:14px;border-top:1px solid var(--line);padding-top:8px}
.shpr{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px}.shpr .ok{color:var(--ok);display:inline-flex}.shpr b{min-width:0}
.shpr .mu{margin-left:auto;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.shpr span.mu:only-child{margin-left:0;white-space:normal}
.shpr.err{color:var(--bad);font-size:12.5px;line-height:1.4;overflow-wrap:anywhere}.shpr.wait{color:#e5b33b;font-size:12.5px;line-height:1.4}
.shp .shwide.shretry{margin:6px 0 4px}
.shpbar{height:5px;border-radius:3px;background:#2b2f36;overflow:hidden;margin:4px 0 6px}.shpbar i{display:block;height:100%;background:var(--accent);border-radius:3px;transition:width .3s}
.shspin{width:13px;height:13px;border:2px solid #3a3f48;border-top-color:var(--accent);border-radius:50%;animation:shspin .8s linear infinite;flex-shrink:0}
@keyframes shspin{to{transform:rotate(360deg)}}
.shp .ofkpi b.r{color:var(--bad)}.shp .ofkpi b.g{color:var(--ok)}.shp .ofkpi b.dim{color:#4f545e}
.shbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:2px 0 12px}.shbar[hidden]{display:none}.shbar h2{margin:0}
.shseg{display:inline-flex;background:var(--raised);border-radius:10px;padding:3px;flex-wrap:wrap}
.shp .shseg button{background:none;border:0;color:var(--muted);padding:5px 10px;font-size:12px;font-weight:600;border-radius:8px}
.shp .shseg button.on{background:#2a2e36;color:var(--ink)}.shseg em{font-style:normal;color:#6b707a;margin-left:3px}
.shonly{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);cursor:pointer}.shonly input{width:15px;height:15px;accent-color:var(--accent);margin:0}
.shlg{display:flex;gap:14px;font-size:12.5px;color:var(--muted);margin-left:auto}.shlg [hidden]{display:none}
.shlg i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}.shlg i.ok{background:rgba(60,207,135,.5)}.shlg i.miss{background:rgba(242,112,109,.55)}.shlg i.wait{background:#3a3f48}
.shmg{margin:0 0 18px}
.shmgh{display:flex;align-items:center;gap:10px;padding:4px 2px 10px;margin-bottom:12px;border-bottom:1px solid var(--line);cursor:pointer;user-select:none;flex-wrap:wrap}
.shmgh b{font-size:16px}.shmgh:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.shmgm{margin-left:auto;font-size:12.5px;font-weight:700;padding:3px 10px;border-radius:20px;white-space:nowrap}.shmgm:empty{padding:0}
.shmgm.bad{background:rgba(242,112,109,.12);color:var(--bad)}.shmgm.good{background:rgba(60,207,135,.12);color:var(--ok)}
.shmgc{color:var(--muted);display:inline-grid;place-items:center;width:18px;transition:transform .15s}.shmg.closed .shmgc{transform:rotate(180deg)}
.shmg.closed .shacg{display:none}.shmg.closed .shmgh{margin-bottom:0}
.shacg{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.shac{background:var(--surface);border-radius:14px;padding:14px 16px;border:1px solid transparent;transition:border-color .15s;min-width:0}
.shac[data-a]{cursor:pointer}.shac[data-a]:hover{border-color:#2c3038}.shac.sel{border-color:rgba(255,116,51,.5)!important}
.shach{display:flex;align-items:baseline;justify-content:space-between;gap:8px;white-space:nowrap}
.shach a{font-size:14.5px;font-weight:700;color:var(--ink);text-decoration:none;overflow:hidden;text-overflow:ellipsis;min-width:0}.shach a:hover{color:var(--accent)}.shach .mu{font-size:12px;flex-shrink:0}
.shacn{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}.shacn>div{background:var(--raised);border-radius:10px;padding:7px 10px}
.shacn span{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--muted)}.shacn .shic{width:12px;height:12px}.shacn b{font-size:18px}.shacn b.r{color:var(--bad)}.shacn b.g{color:var(--ok)}
.shdots{display:grid;grid-template-columns:16px minmax(0,1fr);gap:6px 8px;align-items:center;color:var(--muted)}.shdots .shic{width:13px;height:13px}
.shdots>div{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px}.shdots.many>div{gap:2px}
.shdots i{height:9px;border-radius:3px;background:#3a3f48}.shdots i.on{background:var(--ok)}.shdots i.off{background:var(--bad)}
.shacerr{color:var(--bad);font-size:12.5px;margin-top:10px;line-height:1.4}.shacwait{color:var(--muted);font-size:12.5px;margin-top:10px}
.shp .shnone{padding:28px 24px;color:var(--muted);text-align:center}
.shdh{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.shdh>div{display:flex;align-items:baseline;gap:10px}.shdh h2{margin:0}
.shp .shdh select{width:auto;max-width:260px;padding:6px 10px;font-size:13.5px;font-weight:600;border-radius:9px}
.shdw{overflow-x:auto}
.shtb{width:100%;border-collapse:collapse}.shp .shtb th{font-size:12.5px;padding:10px 12px;text-align:left}.shtb th .shic{width:13px;height:13px;vertical-align:-2px}
.shp .shtb td{padding:10px 12px;font-size:14px;border-bottom:1px solid #1d2025;text-align:left;white-space:nowrap}.shp .shtb .n{text-align:right}
.shp .shtb td.zero{background:rgba(242,112,109,.09);color:var(--bad)}.shp .shtb td.wait{color:var(--muted)}
.shdsub{margin:-4px 0 12px;color:var(--muted);font-size:12.5px;line-height:1.45}
.shp .shtb tr.shdr{cursor:pointer}.shp .shtb tr.shdr:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.shcar{display:inline-grid;place-items:center;width:16px;margin-right:6px;color:var(--muted);vertical-align:-2px;transition:transform .15s}.shcar .shic{width:13px;height:13px}
.shdr.open .shcar{transform:rotate(90deg);color:var(--accent)}.shp .shtb tr.shdr.open td{border-bottom-color:transparent;background:#1b1e23}
.shp .shtb tr.shpx td{padding:0 12px 12px;background:#1b1e23;white-space:normal}.shp .shtb tr.shpx:hover td{background:#1b1e23}
.shposts{display:flex;flex-direction:column;gap:2px;background:var(--code);border-radius:10px;padding:8px 10px}
.shpi{display:grid;grid-template-columns:96px 84px minmax(90px,160px) minmax(0,1fr) auto;align-items:center;gap:10px;padding:5px 2px;font-size:13px;border-bottom:1px solid #1d2025}.shpi:last-child{border-bottom:0}
.shpt{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.shps{color:#c9ccd3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shptt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}
.shbadge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:600;padding:2px 8px;border-radius:8px;width:max-content}.shbadge .shic{width:11px;height:11px}
.shbadge.m{background:rgba(229,179,59,.13);color:#e5b33b}.shbadge.n{background:rgba(143,177,247,.13);color:#8fb1f7}.shbadge.o{background:var(--raised);color:var(--muted)}
.shlk{display:inline-flex;align-items:center;gap:5px;color:var(--accent);font-weight:600;font-size:12.5px;text-decoration:none;white-space:nowrap}.shlk .shic{width:12px;height:12px}
@media (max-width:1100px){.shg{grid-template-columns:290px minmax(0,1fr)}}
@media (max-width:900px){.shg{grid-template-columns:minmax(0,1fr)}}
@media (max-width:640px){
 .shp .ofkpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 .shhd h1{font-size:23px;font-weight:650;letter-spacing:-.02em}.shhd p{font-size:13px}
 .shacg{grid-template-columns:minmax(0,1fr)}
 .shlg{margin-left:0;width:100%}
 .shp .shtb td,.shp .shtb th{padding:9px 8px;font-size:13px}
 .shp .card.shday,.shlp{padding:16px!important}
 .shmgh .mu{order:5;width:100%;font-size:12.5px}
 .shpi{grid-template-columns:auto auto minmax(0,1fr) auto;row-gap:2px}.shpi .shptt{grid-column:1/-1;white-space:normal}
}
/* Shift database (Monday to Sunday sheet) */
.shp a.shwide{text-decoration:none;padding:9px 16px;border-radius:10px;font-weight:600}
.sdhd{margin:0 0 16px}.sdback{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:13px;font-weight:600;text-decoration:none}.sdback:hover{color:var(--ink)}.sdback .shic{width:14px;height:14px}
.sdhd h1{margin:4px 0;font-size:30px;letter-spacing:-.01em}.sdhd p{margin:0;color:var(--muted)}
.sdbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.sdwk{display:flex;align-items:center;gap:10px;background:var(--surface);border-radius:12px;padding:5px 6px}
.shp .sdnb{display:grid;place-items:center;width:32px;height:32px;padding:0;background:var(--raised);border:0;border-radius:9px;color:var(--ink)}
.sdwl{display:flex;flex-direction:column;min-width:190px;line-height:1.3}.sdwl b{font-size:14px}.sdwl span{font-size:12px;color:var(--muted)}.sdwl .r{color:var(--bad)}.sdwl .g{color:var(--ok)}
.sdbar .shlg{margin-left:auto}
.shp .card.sdc{padding:16px 18px}.sdw{overflow-x:auto}
.sdmx{width:100%;border-collapse:separate;border-spacing:3px}
.shp .sdmx th{font-size:12px;color:var(--muted);font-weight:500;text-align:center;padding:0 0 6px;border:0;background:none}
.sdmx th b{display:block;color:var(--ink);font-size:12.5px}.sdmx th span{font-size:11.5px}.sdmx th.td b,.sdmx th.td span{color:var(--accent)}
.shp .sdmx th.an{text-align:left;padding-left:4px}.shp .sdmx th.tt{padding-left:8px}
.shp .sdmx td{padding:0;border:0;vertical-align:middle;background:none}
.shp .sdmx td.an{padding:0 12px 0 4px;white-space:nowrap;font-size:13.5px;font-weight:600}
.sdmx td.an a{color:var(--ink);text-decoration:none}.sdmx td.an a:hover{color:var(--accent)}
.sdmx td.an small{display:block;font-size:11.5px;font-weight:500;color:var(--muted)}.sdmx td.an small.r{color:var(--bad)}
.shp .sdmx tr.gr td{padding:14px 4px 4px}.shp .sdmx tr.gr td.an{display:flex;align-items:center;gap:8px;font-size:14px}
.sdmx .mc{display:flex;align-items:center;gap:5px;width:100%;min-width:92px;border:0;border-radius:6px;padding:3px 7px;font:inherit;font-size:12px;font-weight:400;margin:2px 0;white-space:nowrap;background:none;color:inherit;text-align:left}
.sdmx .mc .shic{width:12px;height:12px}
.sdmx .mc em{font-style:normal;font-weight:700;color:var(--ink);min-width:12px}.sdmx .mc span{margin-left:auto;color:#aeb2bb}
.sdmx .mc.ok{background:rgba(60,207,135,.09)}.sdmx .mc.ok .shic{color:var(--ok)}
.sdmx .mc.miss{background:rgba(242,112,109,.12);color:var(--bad)}.sdmx .mc.miss span{color:var(--bad);margin-left:0}
.sdmx .mc.w{background:var(--raised);color:var(--muted)}.sdmx .mc.w span{margin-left:0;color:var(--muted)}.sdmx .mc.f{opacity:.5}
.shp .sdmx tbody tr:not(.gr):hover>td{background:#1b1e23}.shp .sdmx tbody tr.gr:hover>td:first-child{background:none!important}
.sdmx button.mc{cursor:pointer}.sdmx button.mc:hover{filter:brightness(1.3)}.sdmx .mc.sel{outline:2px solid var(--accent);outline-offset:-1px}
.shp .sdmx td.tt{padding-left:10px;font-size:13px;font-weight:700;white-space:nowrap}.sdmx td.tt div{display:flex;align-items:center;gap:6px;margin:3px 0}.sdmx td.tt .shic{width:12px;height:12px;color:var(--muted)}
.sdhint{margin:12px 0 0;color:var(--muted);font-size:12.5px;line-height:1.5}.sdhint .shic{width:12px;height:12px;vertical-align:-1px}
.shp .sdmx td.sdnone{padding:24px;text-align:center;color:var(--muted)}
.sdph{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.sdph h2{margin:0}.sdph>div{display:flex;align-items:baseline;gap:10px}
.shp .sdclose{display:grid;place-items:center;width:32px;height:32px;padding:0}
@media (max-width:640px){
 .sdhd h1{font-size:23px;font-weight:650;letter-spacing:-.02em}.sdhd p{font-size:13px}
 .sdwk{width:100%}.sdwl{flex:1;min-width:0}.sdbar .shlg{margin-left:0;width:100%;flex-wrap:wrap;gap:8px 14px}
 .shp .sdmx td.an,.shp .sdmx th.an{position:sticky;left:0;z-index:1;background:var(--surface)}
 .shp .card.sdc{padding:12px}
}
