
:root{--bg:#fff;--panel:#fff;--ink:#000;--muted:#8a8a8a;--line:#e8e8e8;--soft:#f5f5f5;--mark:#101820;--eye:#fff;color-scheme:light}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#000;--panel:#000;--ink:#fff;--muted:#7a7a7a;--line:#222;--soft:#111;--mark:#fff;--eye:#000;color-scheme:dark}}
:root[data-theme="dark"]{--bg:#000;--panel:#000;--ink:#fff;--muted:#7a7a7a;--line:#222;--soft:#111;--mark:#fff;--eye:#000;color-scheme:dark}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Instrument Sans",system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);font-size:15px;-webkit-font-smoothing:antialiased}
h1,h2,h3,.logo,.pb b{font-family:Archivo,"Helvetica Neue",Arial,sans-serif;letter-spacing:-0.02em}
button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}
a{color:inherit;text-decoration:none}
/* the height the screen shows (iPad, 29 October 2026: 100vh counts Safari's toolbars as hidden, so every page scrolled a little) */
:root{--vh:100vh}@supports(height:100dvh){:root{--vh:100dvh}}
.app{display:grid;grid-template-columns:220px 1fr;min-height:calc(var(--vh, 100vh) / var(--z, 1))}
aside{background:var(--soft);border-right:1px solid var(--line);padding:22px 14px;display:flex;flex-direction:column;gap:2px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;padding:0 8px 18px}
.mini{width:30px;height:30px}
.nav a{display:flex;justify-content:space-between;align-items:center;padding:9px 10px;border-radius:8px}
.nav a.on{background:var(--bg);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.nav a span{color:var(--muted);font-size:12px}
.me{margin-top:auto;display:flex;gap:10px;align-items:center;padding:10px;border-top:1px solid var(--line)}
.av{width:32px;height:32px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-weight:600;font-size:12px}
main{padding:24px 40px 40px;min-width:0}
.page{display:none}.page.on{display:block}
h1{font-size:26px}
.sub{color:var(--muted);margin-top:4px}
.card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:18px}
.card h3{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.card h3 a{font-size:12px;text-transform:none;letter-spacing:0;color:var(--ink)}
.src{font-size:11px;color:var(--muted);margin-top:12px;border-top:1px solid var(--line);padding-top:8px}
.grid{display:grid;gap:18px;margin-top:18px}
.g2{grid-template-columns:1fr 1fr}
/* the living part — from the original hub */
.stage{width:100%;margin:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 0 8px}
.buddy{width:118px;height:118px;cursor:pointer;touch-action:manipulation;transition:transform .35s cubic-bezier(.3,1.6,.5,1)}
.buddy .body{transform-origin:50% 50%;transform-box:view-box;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
.buddy .eyes{transition:transform .18s ease-out}
.buddy .eye{transform-box:fill-box;transform-origin:center;transition:opacity .15s;fill:var(--eye)}
.buddy .smile{opacity:0;transition:opacity .15s;stroke:var(--eye)}
.buddy.happy .eye{opacity:0}.buddy.happy .smile{opacity:1}
.buddy.tilt-l .body{transform:rotate(-9deg)}.buddy.tilt-r .body{transform:rotate(8deg)}
.buddy .mark{fill:var(--mark)}
.buddy.boop{transform:scale(.9)}
.buddy.idle{animation:float 5s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-6px)}}
@keyframes blink{0%,100%{transform:scaleY(1)}50%{transform:scaleY(.1)}}
.blinking .eye{animation:blink .18s}
.mini{color:var(--mark)}
.say{margin-top:16px;font-family:Archivo,sans-serif;font-weight:700;font-size:clamp(26px,5vw,34px);line-height:1.1;min-height:2.2em;max-width:18ch}
.say .cur{display:inline-block;width:2px;height:.9em;background:var(--ink);margin-left:3px;vertical-align:-2px;animation:caret 1s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
.ask{width:100%;max-width:760px;margin-top:16px;border-radius:12px;padding:2px;background:var(--line)}
.ask:focus-within{background:var(--ink)}
.ask-in{display:flex;gap:8px;align-items:center;background:var(--bg);border-radius:12px;padding:6px 6px 6px 18px}
.ask input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:17px;color:var(--ink);padding:10px 0}
.ask input::placeholder{color:var(--muted)}
.go{border:0;background:var(--ink);color:var(--bg);border-radius:10px;width:46px;height:46px;display:grid;place-items:center;flex:none;font-size:20px}
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:12px}
.chips span{border:1px solid var(--line);border-radius:999px;padding:8px 14px;font-size:14px;color:var(--ink);cursor:pointer}
.chips span:hover{border-color:var(--ink)}
.status{margin-top:10px;font-size:13px;color:var(--muted)}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.98)}}
.start{width:100%;margin-top:14px;display:flex;align-items:center;gap:16px;border-radius:12px;background:var(--ink);color:var(--bg);padding:18px 18px 18px 20px;text-align:left;animation:pop .35s}
.ring{width:54px;height:54px;flex:none}
.start b{font-family:Archivo,sans-serif;font-size:18px;display:block}
.start span{font-size:14px;opacity:.7}
.start .arr{margin-left:auto;font-size:22px}
.drawers{margin:26px 0 0;display:grid;grid-template-columns:1fr 1fr;gap:0 40px}
.drawer{align-self:start}
.drawer{border-bottom:1px solid var(--line)}
.dh{width:100%;display:flex;align-items:center;gap:12px;background:none;border:0;padding:16px 2px;cursor:pointer;text-align:left}
.dh h2{font-size:18px;font-weight:700}
.count{font-size:13px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 9px}
.plus{margin-left:auto;width:28px;height:28px;border-radius:50%;background:var(--soft);display:grid;place-items:center;transition:transform .3s}
.drawer.open .plus{transform:rotate(45deg)}
.db{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.drawer.open .db{grid-template-rows:1fr}
.db>div{overflow:hidden}
.db .row{padding:10px 2px}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* lists */
.row{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--line);align-items:center}
.row:last-child{border:0}
.row small{color:var(--muted);white-space:nowrap}
.tag{font-size:10px;text-transform:uppercase;letter-spacing:.05em;border:1px solid var(--line);border-radius:4px;padding:2px 6px;margin-right:8px;color:var(--muted)}
.tag.g{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tag.c{background:var(--soft)}
/* playbooks page */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.filters span{border:1px solid var(--line);background:var(--bg);border-radius:12px;padding:6px 12px;font-size:13px;color:var(--muted)}
.filters span.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.pb{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:8px;min-height:140px}
.pb b{font-size:15px}
.pb p{color:var(--muted);line-height:1.45;flex:1}
.pb .meta{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}
.phase{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}
/* training page */
.path{display:flex;gap:14px;align-items:center;background:var(--ink);color:var(--bg);border-radius:10px;padding:18px;margin-top:18px}
.thumb{width:120px;aspect-ratio:16/9;border-radius:10px;background:var(--muted);display:grid;place-items:center;font-size:22px;flex:none}
.path p{opacity:.7;margin-top:4px}
.mods{margin-top:18px}
.mod{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.mod .n{width:26px;height:26px;border-radius:50%;border:2px solid var(--ink);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none}
.mod .n.d{background:var(--ink);color:var(--bg)}
.mod small{color:var(--muted);display:block}
.hide{display:none!important}
.note{margin-top:26px;color:var(--muted);font-size:12px;text-align:center;line-height:1.6}

/* ---- responsive ---- */
.tabbar{display:none}
.mhead{display:none}
@media(max-width:1100px) and (min-width:861px){
  .app{grid-template-columns:190px 1fr}
  main{padding:20px 22px 40px}
  .cards{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .app{grid-template-columns:1fr;grid-template-rows:auto 1fr}
  .app>aside{display:none}
  .mhead{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--bg);z-index:5}
  .mhead .logo{padding:0;font-size:16px}
  main{padding:14px 16px calc(84px + env(safe-area-inset-bottom,0px))}
      .g2{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .drawers{grid-template-columns:1fr}
  .stage{padding-top:10px}
  .buddy{width:100px;height:100px}
  .say{font-size:clamp(24px,7vw,30px)}
  .ask input{font-size:16px}
  .chips{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;width:100%;padding-bottom:4px;scrollbar-width:none}
  .chips::-webkit-scrollbar{display:none}
  .chips span{flex:none}
  .path{flex-direction:column;align-items:flex-start}
  .thumb{width:100%}
  h1{font-size:22px}
  .tabbar{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;position:fixed;left:0;right:0;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:6px 0 calc(6px + env(safe-area-inset-bottom,0px));z-index:10}
  .tabbar a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--muted);padding:4px 0}
  .tabbar a.on{color:var(--ink);font-weight:600}
  .tabbar svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
}
@media(max-width:400px){.buddy{width:88px;height:88px}.say{min-height:2.4em}}

.theme{margin-top:6px;display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:var(--muted);width:100%;text-align:left}
.theme:hover{color:var(--ink)}
.theme svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}
.mhead .theme{width:auto;margin:0;padding:6px}

/* ---- app additions ---- */
.signin{min-height:calc(var(--vh, 100vh) / var(--z, 1));display:grid;place-items:center;padding:24px}
.signin .stage{max-width:520px}
.gbtn{display:inline-flex;align-items:center;gap:10px;margin-top:22px;background:var(--ink);color:var(--bg);border-radius:10px;padding:14px 22px;font-weight:600;font-size:16px}
.gbtn svg{width:20px;height:20px}
.fine{margin-top:14px;font-size:13px;color:var(--muted);max-width:42ch}
.results{width:100%;max-width:760px;text-align:left;margin-top:8px;border:1px solid var(--line);border-radius:10px;background:var(--bg);overflow:hidden}
.results a,.results button{display:flex;justify-content:space-between;gap:10px;width:100%;padding:11px 16px;border-bottom:1px solid var(--line);text-align:left}
.results a:last-child,.results button:last-child{border-bottom:0}
.results a:hover,.results button:hover{background:var(--soft)}
.results .askrow{font-weight:600}
.results small{color:var(--muted)}
.wait,.answer{width:100%;max-width:760px;text-align:left;margin-top:14px;border-radius:12px;background:var(--soft);padding:18px 20px;animation:pop .35s cubic-bezier(.3,1.4,.5,1)}
.wait .row{border:0;padding:0;justify-content:flex-start;gap:12px}
.dots{display:inline-flex;gap:5px}
.dots i{width:8px;height:8px;border-radius:50%;background:var(--ink);opacity:.25;animation:dot 1.2s infinite}
.dots i:nth-child(2){animation-delay:.2s}.dots i:nth-child(3){animation-delay:.4s}
@keyframes dot{40%{opacity:1;transform:translateY(-3px)}}
.wait small{display:block;color:var(--muted);font-size:13px;margin-top:6px}
.short{font-family:Archivo,sans-serif;font-weight:700;font-size:20px;line-height:1.25;margin:0 0 12px}
.label{font-size:13px;color:var(--muted);margin:14px 0 6px}
.todo{list-style:none;counter-reset:s}
.todo li{counter-increment:s;display:flex;gap:12px;padding:6px 0;font-size:16px;line-height:1.4}
.todo li::before{content:counter(s);flex:none;width:24px;height:24px;border-radius:50%;background:var(--ink);color:var(--bg);display:grid;place-items:center;font-size:13px;font-weight:600;margin-top:1px}
.tip{margin-top:12px;padding:10px 12px;border-radius:12px;background:var(--bg);font-size:15px;color:var(--ink)}
.tpl{display:flex;flex-wrap:wrap;gap:8px}
.tpl a{display:inline-flex;align-items:center;gap:8px;background:var(--ink);color:var(--bg);border-radius:12px;padding:9px 14px;font-size:14px;font-weight:600}
.from{margin-top:14px;font-size:13px;color:var(--muted)}
.from a{color:var(--ink);text-decoration:underline}
.buddy.thinking .eyes{animation:scan .9s ease-in-out infinite alternate}
@keyframes scan{from{transform:translate(-5px,-5px)}to{transform:translate(6px,-5px)}}
.buddy.hmm .body{transform:rotate(-10deg)}
.empty{padding:22px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);text-align:center;line-height:1.5}
.pb{cursor:pointer;transition:border-color .2s}
.pb:hover{border-color:var(--ink)}
.toolbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin:18px 0}
.toolbar .filters{margin:0}
.filters span{cursor:pointer}
.find{border:1px solid var(--line);border-radius:10px;padding:9px 12px;background:var(--bg);color:var(--ink);font:inherit;min-width:220px}
.mod{cursor:default}
.mod a{flex:1}
.mod .n{cursor:pointer}
.linkish{color:var(--muted);font-size:13px;text-decoration:underline}
.meRow{display:flex;justify-content:space-between;align-items:center;width:100%}
.signout{font-size:12px;color:var(--muted);text-decoration:underline}
.av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.av{overflow:hidden}
.err{color:var(--muted);font-size:14px;margin-top:12px}

[hidden]{display:none!important}

/* reader */
.reader{max-width:760px;line-height:1.55;font-size:16px}
.reader .short{font-size:22px}
.plain{list-style:none;padding:0}
.plain li{padding:6px 0 6px 20px;position:relative}
.plain li::before{content:"";position:absolute;left:4px;top:15px;width:6px;height:6px;border-radius:50%;background:var(--ink)}
[dir=rtl] .plain li{padding:6px 20px 6px 0}[dir=rtl] .plain li::before{left:auto;right:4px}
.det{color:var(--muted)}
.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px}
.person{background:var(--soft);border-radius:12px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.person span{color:var(--muted);font-size:14px}
.tip .plain li{padding-top:4px;padding-bottom:4px}
@media(max-width:860px){#p-rd .card{padding:16px}.reader .short{font-size:19px}#p-rd .toolbar{flex-direction:column;align-items:flex-start}}

/* playbook page */
/* Reader: playbooks and training, styled for reading (like a Claude answer) */
.doc-tags{margin-top:14px;display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.eyebrow{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.doc-title{margin-top:8px;font-size:clamp(24px,3.4vw,32px);line-height:1.15;max-width:34ch}
.doc-meta{margin:8px 0 18px}.doc-meta .sub{margin:0}
.rd-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
@media(min-width:1180px){.rd-wrap:has(.toc:not([hidden])){grid-template-columns:minmax(0,1fr) 220px}.toc{order:2}}
.toc{position:sticky;top:calc(var(--hub-top,0px) + 24px);font-size:13px;border-inline-start:1px solid var(--line);padding:2px 0 2px 16px;max-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 48px - var(--hub-top,0px));overflow:auto}
.toc-label{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.toc a{display:block;color:var(--muted);padding:5px 0;line-height:1.35}.toc a:hover{color:var(--ink)}
@media(max-width:1179px){.toc{display:none}}
#p-rd .doc-card{padding:clamp(18px,4vw,40px) clamp(16px,5vw,48px)}
.doc-body{max-width:70ch;font-size:16.5px;line-height:1.7;overflow-wrap:break-word}
.doc-body>:first-child{margin-top:0}
.doc-body h2,.doc-body h3,.doc-body h4{font-family:Archivo,"Helvetica Neue",Arial,sans-serif;text-transform:none;letter-spacing:-0.015em;color:var(--ink);display:block;line-height:1.25;scroll-margin-top:24px}
.doc-body h2{font-size:22px;font-weight:600;margin:40px 0 12px;padding-top:4px}
.doc-body h3{font-size:18px;font-weight:700;margin:28px 0 8px}
.doc-body h4{font-size:16px;font-weight:700;margin:22px 0 6px}
.doc-body p{margin:0 0 14px}
.doc-body strong,.doc-body b{font-weight:650}
.doc-body em{color:inherit}
.doc-body>p:first-child em:only-child,.doc-body>p:first-child em{color:var(--muted)}
.doc-body ul,.doc-body ol{margin:0 0 16px;padding-inline-start:24px}
.doc-body li{margin:6px 0;padding-inline-start:4px}
.doc-body li>ul,.doc-body li>ol{margin:6px 0 4px}
.doc-body li::marker{color:var(--muted)}
.doc-body li:has(>input[type=checkbox]){list-style:none;position:relative;padding-inline-start:28px;margin-inline-start:-24px}
.doc-body li>input[type=checkbox]{appearance:none;-webkit-appearance:none;position:absolute;inset-inline-start:0;top:.3em;width:16px;height:16px;margin:0;border:1.5px solid var(--muted);border-radius:4px;background:transparent}
.doc-body li>input[type=checkbox]:checked{background:var(--ink);border-color:var(--ink)}
.doc-body a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.doc-body hr{border:0;border-top:1px solid var(--line);margin:32px 0}
.doc-body blockquote{margin:0 0 16px;padding:12px 16px;border-inline-start:3px solid var(--ink);background:var(--soft);border-radius:0 10px 10px 0}
.doc-body blockquote>:last-child{margin-bottom:0}
.doc-body code{font:0.9em/1.4 ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--soft);border:1px solid var(--line);border-radius:5px;padding:1px 5px}
.doc-body pre{background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:14px;overflow:auto;margin:0 0 16px}
.doc-body pre code{border:0;padding:0;background:none}
.doc-body img{max-width:100%;height:auto;border-radius:8px}
.tablewrap{overflow-x:auto;margin:4px 0 20px;border:1px solid var(--line);border-radius:10px}
.doc-body table{border-collapse:collapse;width:100%;font-size:14.5px;line-height:1.5}
.doc-body th,.doc-body td{border-bottom:1px solid var(--line);padding:10px 12px;text-align:start;vertical-align:top}
.doc-body th+th,.doc-body td+td{border-inline-start:1px solid var(--line)}
.doc-body tr:last-child td{border-bottom:0}
.doc-body th{background:var(--soft);font-weight:650;white-space:nowrap}
.doc-body .scenario{margin:22px 0 10px;font-family:Archivo,"Helvetica Neue",Arial,sans-serif;font-weight:700;font-size:18px;line-height:1.35}
.doc-body .scenario strong{display:block;font-family:"Instrument Sans",system-ui,sans-serif;font-weight:500;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.doc-body ul.choices{list-style:none;padding:0;margin:0 0 12px;display:grid;gap:8px}
.doc-body ul.choices li{margin:0;padding:12px 14px;border:1.5px solid var(--line);border-radius:12px}
.doc-body ul.choices li strong:first-child{margin-inline-end:4px}
.doc-body details.answer{margin:0 0 18px;border-radius:12px;background:var(--soft);padding:0 16px}
.doc-body details.answer>summary{cursor:pointer;list-style:none;padding:12px 0;font-weight:600}
.doc-body details.answer>summary::-webkit-details-marker{display:none}
.doc-body details.answer>summary::before{content:"＋ ";color:var(--muted)}
.doc-body details.answer[open]>summary::before{content:"－ "}
.doc-body details.answer[open]{padding-bottom:4px}
.doc-body details.answer blockquote{background:var(--panel)}
.doc-done{margin-top:28px}.doc-done .gbtn{margin:0}
@media(max-width:860px){.doc-body{font-size:16px}.doc-body h2{font-size:20px;margin-top:32px}.doc-body th{white-space:normal}}

.tag.need{border-color:var(--ink);color:var(--ink);font-weight:600}
.doc-body .video,#rdBody>.video{position:relative;aspect-ratio:16/9;margin:6px 0 18px;border-radius:12px;overflow:hidden;background:#000}
.video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- The character's personality (fun.js) ---------- */
.buddy{overflow:visible}
.buddy .acc{display:none}
.buddy.glasses .acc-glasses{display:inline}
.buddy[data-hat="cap"] .acc-cap,.buddy[data-hat="santa"] .acc-santa,.buddy[data-hat="party"] .acc-party,.buddy[data-hat="crescent"] .acc-crescent{display:inline}
.buddy.sleepy .eye{transform:scaleY(.28)}
.buddy.sleepy .acc-zzz{display:inline;animation:zzz 2.6s ease-in-out infinite}
@keyframes zzz{0%,100%{opacity:.25;transform:translateY(0)}50%{opacity:1;transform:translateY(-6px)}}
.buddy.watching .eyes{transform:translate(-5px,-3px)!important}
.pal{position:fixed;right:30px;bottom:24px;z-index:20;display:flex;align-items:flex-end;gap:10px;pointer-events:none}
.pal[hidden]{display:none!important}
.pal-btn{all:unset;cursor:pointer;pointer-events:auto;display:block;width:60px;height:60px;border-radius:12px}
.pal-btn:focus-visible{outline:2px solid var(--ink);outline-offset:4px}
.pal .buddy{width:60px;height:60px}
.pal-say{pointer-events:auto;max-width:240px;background:var(--mark);color:var(--eye);font:600 14px/1.35 "Instrument Sans",system-ui,sans-serif;padding:10px 14px;border-radius:10px 14px 4px 14px;margin-bottom:34px;animation:pop .25s ease-out}
@media(max-width:860px){.pal{right:12px;bottom:calc(70px + env(safe-area-inset-bottom,0px))}.pal-btn,.pal .buddy{width:48px;height:48px}.pal-say{margin-bottom:26px;font-size:13px}}
@media print{.pal{display:none}}
.confetti{position:fixed;inset:0;pointer-events:none;z-index:80;overflow:hidden}
.confetti>div{position:absolute;will-change:transform}
.done-modal{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px;animation:pop .25s ease-out}
.done-card{width:min(440px,100%);background:var(--panel);border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.done-art{background:#000;color:#fff;padding:30px 28px 26px;display:grid;gap:4px}
.done-art .buddy{width:74px;height:74px;margin-bottom:14px;--mark:#fff;--eye:#000;cursor:default}
.done-kicker{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.done-title{font-family:Archivo,sans-serif;font-weight:600;font-size:30px;line-height:1.1;letter-spacing:-.02em}
.done-sub{color:rgba(255,255,255,.8);font-size:15px}
.done-meta{color:rgba(255,255,255,.55);font-size:13px;margin-top:14px}
.done-actions{display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.done-actions .gbtn{margin:0}
.mods h3 [data-card]{font-size:12px;letter-spacing:0;text-transform:none}
body.touring{overflow:hidden}
.tour{position:fixed;inset:0;z-index:40}
.tour-spot{position:fixed;border-radius:10px;box-shadow:0 0 0 2px var(--ink),0 0 0 9999px rgba(0,0,0,.6);transition:all .35s cubic-bezier(.3,1.2,.5,1);pointer-events:none}
.tour-tip{position:fixed;width:min(360px,calc(100vw - 32px));background:var(--panel);border:1px solid var(--line);color:var(--ink);border-radius:12px;padding:16px;box-shadow:0 24px 60px -20px rgba(0,0,0,.5);transition:top .35s,left .35s;animation:pop .25s ease-out}
.tour-head{display:flex;gap:12px;align-items:flex-start}
.tour-head .buddy{width:46px;height:46px;flex:none;cursor:default}
.tour-head p{margin:2px 0 0;font-size:15px;line-height:1.45;font-weight:500}
.tour-foot{display:flex;justify-content:space-between;align-items:center;margin-top:14px;gap:10px}
.tour-foot .gbtn{margin:0 0 0 12px;padding:10px 18px}
.tour-dots{display:flex;gap:5px}.tour-dots i{width:6px;height:6px;border-radius:50%;background:var(--line)}.tour-dots i.on{background:var(--ink)}
[data-tour] svg{fill:none;stroke:currentColor;stroke-width:2}
@media(prefers-reduced-motion:reduce){.tour-spot,.tour-tip{transition:none}}

.video.audio{aspect-ratio:auto;height:150px}

/* ---------- What's new: bar, home list, pop-up, birthday prompt ---------- */
.annbar{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 18px;padding:11px 16px;border-radius:10px;background:var(--ink);color:var(--bg);font:inherit;font-size:14px;text-align:left;cursor:pointer;animation:pop .35s cubic-bezier(.3,1.4,.5,1)}
.annbar[hidden]{display:none}
.annbar .ab-dot{width:8px;height:8px;border-radius:50%;background:var(--info);flex:none;box-shadow:0 0 0 0 rgba(47,91,255,.6);animation:ping 1.6s infinite}
.annbar b{font-weight:700;flex:none}
.annbar .ab-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.annbar small{opacity:.7;flex:none}
.annbar .ab-go{flex:none;font-weight:600;border:1px solid currentColor;border-radius:999px;padding:3px 12px;font-size:13px}
@keyframes ping{0%{box-shadow:0 0 0 0 rgba(47,91,255,.6)}70%{box-shadow:0 0 0 9px rgba(47,91,255,0)}100%{box-shadow:0 0 0 0 rgba(47,91,255,0)}}
.news{width:100%;margin-top:22px;display:grid;gap:10px;text-align:left}
.news[hidden]{display:none}
.news-item{border:1px solid var(--line);border-radius:12px;padding:14px 18px;background:var(--panel)}
.news-item.new{border-color:var(--ink)}
.news-item small{display:block;color:var(--muted);font-size:12px;margin-bottom:3px}
.news-item b{display:block;font-family:Archivo,sans-serif;font-size:17px;letter-spacing:-.01em}
.news-item p{margin-top:4px;line-height:1.5;font-size:14.5px}
.news-item p a{text-decoration:underline}
.news-item.k-mybday,.news-item.k-holiday{background:var(--soft)}
.ann-modal{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:18px;animation:fade .2s ease-out}
@keyframes fade{from{opacity:0}}
.ann-card{background:var(--bg);color:var(--ink);border-radius:12px;width:100%;max-width:460px;max-height:calc(86vh / var(--z, 1));overflow:auto;padding:26px 26px 22px;animation:pop .35s cubic-bezier(.3,1.4,.5,1)}
.ann-top{display:flex;align-items:center;gap:14px}
.ann-top .buddy{width:64px;height:64px;flex:none}
.ann-kicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);font-weight:600}
.ann-items{margin-top:14px;display:grid;gap:16px}
.ann-item+.ann-item{border-top:1px solid var(--line);padding-top:14px}
.ann-item small{color:var(--muted);font-size:12px}
.ann-item h2{font-family:Archivo,sans-serif;font-size:24px;line-height:1.15;letter-spacing:-.02em}
.ann-item p{margin-top:6px;line-height:1.55}
.ann-item p a{text-decoration:underline}
.ann-actions{margin-top:20px;display:flex;justify-content:flex-end}
.bday-ask{width:100%;margin-top:22px;text-align:left;border:1px dashed var(--muted);border-radius:12px;padding:16px 18px}
.bday-ask[hidden]{display:none}
.bday-ask b{font-family:Archivo,sans-serif;font-size:17px}
.bday-ask p{color:var(--muted);font-size:14px;margin-top:2px}
.bd-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:10px}
.bd-row select{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.bd-never{margin-top:8px;font-size:13px;color:var(--muted)}
.annform{display:grid;gap:8px;margin-bottom:12px}
.annform input,.annform textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:9px 12px;width:100%}
.annform textarea{resize:vertical}
.annrow{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.annrow input{width:auto;margin-left:6px}
.tag.p{background:var(--ink);color:var(--bg)}
.tag.a{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.tag.lock{border:1px solid var(--ink);background:transparent;color:var(--ink)}
.phase.lockhead small{font-weight:400;color:var(--muted);margin-left:8px;text-transform:none;letter-spacing:0}
@media(max-width:860px){.annbar{margin-bottom:12px}.annbar small{display:none}}
.bd-row .gbtn,.annrow .gbtn,.ann-actions .gbtn{margin:0;padding:10px 18px;font-size:15px}
.tag.p{border-color:var(--ink)}
/* ---------- Client pages ---------- */
.cp-up{margin-top:18px}
.bb-h{font-family:Archivo,sans-serif;font-size:22px;margin:44px 0 0}
.bb-pw{font-size:12.5px;color:var(--muted)}
.bb-pw code{letter-spacing:.04em}
.btn-s.danger{color:var(--bad);border-color:var(--bad)}
#bbTools .frow{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cp-pick{cursor:pointer;margin-top:0}
.cp-up .sub{margin-top:8px;font-size:13px}
.cp-msg{margin-top:14px;border:1px solid var(--ink);border-radius:10px;padding:14px 16px;font-size:14.5px;line-height:1.5}
.cp-msg.bad{border-color:var(--bad);color:var(--bad)}
.cp-msg small{display:block;margin-top:6px;color:var(--muted)}
.cp-row{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;padding:14px 0;border-bottom:1px solid var(--line);flex-wrap:wrap}
.cp-row:last-child{border-bottom:0}
.cp-row.off .cp-main b,.cp-row.off code{color:var(--muted)}
.cp-main{min-width:0;flex:1 1 320px}
.cp-main b{font-family:Archivo,sans-serif;font-size:16px;margin-right:8px}
.cp-main small{display:block;color:var(--muted);font-size:12.5px;margin-top:4px}
.cp-link{margin-top:4px;display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.cp-link code{font-size:12.5px;background:var(--soft);border-radius:6px;padding:3px 7px;overflow-wrap:anywhere;word-break:break-all}
.cp-link.big{margin:8px 0 2px}
.cp-link.big code{font-size:14px}
.cp-act{display:flex;gap:6px;flex-wrap:wrap}
.btn-s{font:inherit;font-size:13px;border:1px solid var(--line);border-radius:999px;padding:6px 12px;background:var(--bg);color:var(--ink);cursor:pointer;white-space:nowrap}
.btn-s:hover{border-color:var(--ink)}
.btn-s.pri{background:var(--ink);color:var(--bg);border-color:var(--ink)}
/* Content */
.ct-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ct-add{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:14px}
.ct-card{padding:4px 18px}
.ct-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
.ct-row:last-child{border-bottom:0}
.ct-name{flex:1;min-width:0;color:var(--ink);text-decoration:none}
.ct-name b{font-family:Archivo,sans-serif;font-size:16px;margin-right:8px}
.ct-name small{color:var(--muted)}
.ct-name:hover b{text-decoration:underline}
.ct-pill{font-size:12px;border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--muted);white-space:nowrap}
.ct-pill.none,.ct-pill.s-empty{border-style:dashed}
.ct-pill.s-sent,.ct-pill.s-changes{border-color:var(--ink);color:var(--ink)}
.ct-pill.s-approved{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.ct-owner{font:inherit;font-size:13px;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:6px 8px;max-width:170px}
.ct-quiet{margin-top:18px}
.ct-quiet.right{text-align:right;margin-top:34px}
.ct-quiet button{font:inherit;font-size:12.5px;color:var(--muted);background:none;border:0;padding:0;cursor:pointer}
.ct-quiet button:hover{color:var(--ink);text-decoration:underline}
.ct-back{display:inline-block;color:var(--muted);font-size:14px;margin-bottom:10px;text-decoration:none}
.ct-back:hover{color:var(--ink)}
.ct-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:18px}
.ct-months{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}
.ct-month{display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;font:inherit;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;min-height:112px;text-decoration:none;cursor:pointer}
.ct-month:hover{border-color:var(--ink)}
.ct-month b{font-family:Archivo,sans-serif;font-size:17px}
.ct-month small{color:var(--muted);font-size:13px}
.ct-month .ct-pill{margin-top:auto}
.ct-month.new{border-style:dashed;align-items:center;justify-content:center;text-align:center}
.ct-month.new b{font-size:24px;font-weight:500}
@media(max-width:860px){.ct-row{flex-wrap:wrap}.ct-name{flex:1 1 100%}.ct-tools{width:100%}.ct-tools .find{flex:1;min-width:0}}
/* Content: month editor */
.ed-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.ed-right{display:flex;align-items:center;gap:14px}
.ed-right .filters{margin:0}
.ed-saved{font-size:12.5px;color:var(--muted)}
.ed-saved.bad{color:var(--bad)}
.ed{display:grid;grid-template-columns:200px minmax(0,1fr) 300px;gap:18px;align-items:start}
.ed-rail,.ed-insp{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:10px}
.ed-rail{max-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 150px);overflow:auto;position:sticky;top:calc(var(--hub-top,0px) + 16px)}
.ed-rail ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ed-item{display:flex;gap:10px;align-items:center;padding:6px;border:1px solid transparent;border-radius:10px;cursor:grab;user-select:none;-webkit-user-select:none;touch-action:pan-y;background:var(--panel)}
.ed-item:hover{background:var(--soft)}
.ed-item.on{border-color:var(--ink)}
.ed-item.drag,.ph .t.drag{opacity:.3}
.ed-item.over{box-shadow:0 -3px 0 var(--ink)}
.ed-th{width:40px;height:50px;border-radius:6px;background:var(--soft);display:grid;place-items:center;color:var(--muted);font-size:13px;overflow:hidden;flex:none}
.ed-th img{width:100%;height:100%;object-fit:cover;display:block}
.ed-tx{display:grid;min-width:0}
.ed-tx b{font-size:14px}
.ed-tx small{color:var(--muted);font-size:12px}
.ed-add{width:100%;margin-top:8px;padding:10px;border:1px dashed var(--muted);border-radius:10px;background:none;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
.ed-add:hover{background:var(--soft)}
.ed-stage{display:flex;justify-content:center}
.ed-insp{padding:14px;position:sticky;top:calc(var(--hub-top,0px) + 16px)}
.ed-insp:empty{display:none}
.ed-f{margin-bottom:14px}
.ed-f>label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.ed-f .filters{margin:0;gap:6px}
.ed-f .find{width:100%;min-width:0;box-sizing:border-box}
.ed-f textarea{resize:vertical;line-height:1.5}
.ed-media{display:flex;flex-wrap:wrap;gap:6px}
.ed-media:not(:empty){margin-bottom:8px}
.ed-m{position:relative;width:60px;height:75px;border-radius:8px;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.ed-m img{width:100%;height:100%;object-fit:cover;display:block}
.ed-m a{color:var(--ink);display:grid;place-items:center;width:100%;height:100%}
.ed-m svg{width:22px;height:22px;fill:currentColor}
.ed-m button{position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.7);color:#fff;font-size:14px;line-height:1;cursor:pointer;padding:0}
.ed-btns{display:flex;gap:6px;flex-wrap:wrap}
.ed-link{display:flex;gap:6px;margin-top:8px}
.ed-link .find{flex:1}
.ed-copy{position:fixed;z-index:1000;pointer-events:none;opacity:.95;box-shadow:0 12px 30px rgba(0,0,0,.35);transform:rotate(-2deg) scale(1.04);margin:0;list-style:none;border-radius:10px;overflow:hidden}
body.ed-dragging{user-select:none;-webkit-user-select:none;cursor:grabbing}
/* the phone */
.ph{--pb:#0c1014;--pt:#f5f5f5;--pm:#a8adb4;--pl:#262b31;width:min(360px,100%);height:min(720px,calc(calc(var(--vh, 100vh) / var(--z, 1)) - 170px));min-height:460px;background:var(--pb);color:var(--pt);border-radius:30px;overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.25);font:14px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif;display:flex;flex-direction:column;border:1px solid var(--pl)}
.ph .scr{overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain;scrollbar-width:none}
.ph .tb{padding:14px 14px 10px;font-weight:700;font-size:17px;border-bottom:1px solid var(--pl);flex:none}
.ph .prof{display:grid;grid-template-columns:70px minmax(0,1fr);gap:16px;align-items:center;padding:14px}
.ph .pav{width:70px;height:70px;border-radius:50%;background:#fff;color:#0c1014;display:grid;place-items:center;font:800 28px Archivo,Arial,sans-serif}
.ph .pname{font-weight:600;margin-bottom:6px}
.ph .stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.ph .stats b{display:block;font-size:16px}
.ph .stats span{font-size:12px;color:var(--pm)}
.ph .hl{display:flex;gap:12px;padding:2px 14px 12px;overflow-x:auto}
.ph .hl button{border:0;background:none;color:inherit;padding:0;font:inherit;font-size:11.5px;display:grid;gap:4px;justify-items:center;min-width:60px;cursor:pointer}
.ph .hl i{width:58px;height:58px;border-radius:50%;padding:3px;border:2px solid #fff;display:block;box-sizing:border-box;background:#1a1e23}
.ph .hl i.sel{outline:2px solid #fff;outline-offset:2px}
.ph .hl img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.ph .g{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
.ph .t{position:relative;border:0;padding:0;background:#1a1e23;display:block;color:#fff;cursor:grab;aspect-ratio:3/4;overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.ph .t img{display:block;width:100%;height:100%;object-fit:cover}
.ph .e{display:grid;place-items:center;width:100%;height:100%;color:var(--pm);font-size:12px}
.ph .t .k{position:absolute;top:6px;right:6px}
.ph .k svg{width:18px;height:18px;fill:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.ph .t .nw{position:absolute;left:6px;bottom:6px;background:#fff;color:#000;border-radius:5px;font-size:10px;font-weight:600;padding:1px 5px}
.ph .t.cur{outline:3px solid #fff;outline-offset:-3px}
.ph .t.over{outline:3px dashed #fff;outline-offset:-3px}
.ph .hd{display:flex;gap:10px;align-items:center;padding:12px}
.ph .hd .a{width:32px;height:32px;border-radius:50%;background:#fff;color:#0c1014;display:grid;place-items:center;font:800 13px Archivo,Arial,sans-serif}
.ph .hd b{font-size:14px;display:block}
.ph .hd small{color:var(--pm);font-size:12px}
.ph .media{position:relative;background:#1a1e23;width:100%}
.ph .media img{width:100%;height:100%;object-fit:cover;display:block}
.ph .media .play{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.55);display:grid;place-items:center}
.ph .media .play svg{width:30px;height:30px;fill:#fff}
.ph .media .nav{position:absolute;top:50%;transform:translateY(-50%);width:28px;height:28px;border-radius:50%;border:0;background:rgba(255,255,255,.85);color:#000;font-size:18px;line-height:1;cursor:pointer;padding:0}
.ph .media .nav.l{left:8px}.ph .media .nav.r{right:8px}
.ph .dots{display:flex;gap:4px;justify-content:center;padding:10px 0 0}
.ph .dots i{width:6px;height:6px;border-radius:50%;background:#4a5058}
.ph .dots i.on{background:#fff}
.ph .cap{padding:10px 12px 4px;line-height:1.55;overflow-wrap:anywhere}
.ph .cap b{margin-inline-end:6px}
.ph .cap.ph0{color:var(--pm)}
.ph .when{padding:0 12px 16px;color:var(--pm);font-size:12px}
.ph-empty{display:grid;place-items:center;height:100%;color:var(--pm)}
.ed-copy.t{aspect-ratio:auto;background:#1a1e23}
.ed-copy.t img{width:100%;height:100%;object-fit:cover;display:block}
.ed-copy.t .k,.ed-copy.t .nw{display:none}
@media(max-width:1100px){.ed{grid-template-columns:170px minmax(0,1fr)}.ed-insp{grid-column:1/-1;position:static}}
@media(max-width:860px){.ed{grid-template-columns:1fr}.ed-rail{position:static;max-height:none}.ed-rail ol{grid-auto-flow:column;grid-auto-columns:150px;overflow-x:auto}.ed-item{touch-action:pan-x}}
/* Content: Drive picker */
.dr-back{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:900;display:grid;place-items:center;padding:16px}
.dr{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:10px;width:min(760px,100%);height:min(640px,calc(calc(var(--vh, 100vh) / var(--z, 1)) - 32px));display:flex;flex-direction:column;overflow:hidden}
.dr-top{display:flex;gap:8px;padding:14px;border-bottom:1px solid var(--line)}
.dr-top .find{flex:1;min-width:0}
.dr-trail{padding:10px 14px 0;font-size:13px;color:var(--muted)}
.dr-trail:empty{display:none}
.dr-trail button{font:inherit;color:var(--ink);background:none;border:0;padding:0;cursor:pointer}
.dr-trail button:hover{text-decoration:underline}
.dr-body{flex:1;overflow:auto;padding:14px}
.dr-note{color:var(--muted);text-align:center;padding:40px 0}
.dr-folders{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;margin-bottom:14px}
.dr-folders button{font:inherit;text-align:left;color:var(--ink);background:var(--soft);border:1px solid transparent;border-radius:10px;padding:10px 12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dr-folders button:hover{border-color:var(--ink)}
.dr-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px}
.dr-grid button{font:inherit;color:var(--ink);background:none;border:2px solid transparent;border-radius:10px;padding:3px;cursor:pointer;display:grid;gap:4px;min-width:0}
.dr-grid button.on{border-color:var(--ink)}
.dr-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:7px;background:var(--soft);display:block}
.dr-grid small{font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dr-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
/* Content: publish, share, client feedback */
.ed-right{position:relative;flex-wrap:wrap;justify-content:flex-end}
.btn-s:disabled{opacity:.45;cursor:default}
.ed-share{position:absolute;right:0;top:calc(100% + 8px);z-index:50;width:min(360px,90vw);background:var(--bg);border:1px solid var(--ink);border-radius:10px;padding:12px;display:grid;gap:8px;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.ed-share .find{width:100%;min-width:0;font-size:13px}
.ed-share a.btn-s{text-decoration:none}
.ed-dot{width:9px;height:9px;border-radius:50%;margin-left:auto;flex:none;background:var(--muted)}
.ed-dot.ok{background:var(--ok)}.ed-dot.chg{background:var(--warn)}.ed-dot.upd{background:var(--info)}
.ed-client{border-bottom:1px solid var(--line);padding-bottom:14px}
.ct-pill.s-wait,.ct-pill.s-upd{border-color:var(--ink);color:var(--ink)}
.ct-pill.s-ok{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.ct-pill.s-chg{border-color:var(--warn);color:var(--warn)}
.ed-said{margin-top:8px;background:var(--soft);border-radius:10px;padding:8px 10px;font-size:13.5px;white-space:pre-wrap;overflow-wrap:anywhere}
.ed-said b{display:block;font-size:11.5px;color:var(--muted);font-weight:600;margin-bottom:2px}
.ed-said.fixed{opacity:.6}
/* Content: video preview and covers */
.ph .media iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
.ph .media button.play{border:0;padding:0;cursor:pointer}
.ph .media .e{position:absolute;inset:0}
.ed-m a.v{position:absolute;inset:0;background:rgba(0,0,0,.25);color:#fff}
.ed-m:not(:has(img)) a.v{background:none;color:var(--ink)}
.ed-m button.cv{top:auto;right:3px;left:3px;bottom:3px;width:auto;height:18px;border-radius:5px;font-size:10.5px}
/* Content: campaigns */
.ph .cc{display:grid;gap:8px;padding:14px;border-bottom:1px solid var(--pl)}
.ph .cc>b,.cc .st b{font-size:16px}
.ph .cc p{margin:0;line-height:1.5;white-space:pre-wrap}
.ph .cc .cr small{display:block;color:var(--pm);font-size:12px;margin-bottom:1px}
.ph .cc .cr div{white-space:pre-wrap;overflow-wrap:anywhere}
.ph .cc .cnote{color:var(--pm);font-size:12.5px}
.ph .cc .cv{display:flex;gap:6px;flex-wrap:wrap}
.ph .cc .cv img{width:64px;height:80px;object-fit:cover;border-radius:8px;display:block}
.ph .cc{cursor:pointer}
.ph .cc.cur{box-shadow:inset 3px 0 0 #fff}
.ed-sec{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:10px;background:var(--soft);border-radius:10px;padding:3px}
.ed-sec button{font:inherit;font-size:13px;font-weight:600;border:0;background:none;color:var(--muted);border-radius:8px;padding:7px 4px;cursor:pointer}
.ed-sec button.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.ed-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.ed-check{display:flex;gap:8px;align-items:center;font-size:14px;margin-bottom:6px;cursor:pointer}
.ed-m.pk{border:2px solid transparent;padding:0;cursor:pointer;opacity:.45}
.ed-m.pk.on{border-color:var(--ink);opacity:1}
.ed-item[data-cid]{cursor:pointer}
.ed-two .ed-f{min-width:0}
.ed-two .find{min-width:0;padding-left:8px;padding-right:6px}
.ph .cc .media{border-radius:12px;overflow:hidden}
.ph .cc .dots{padding:2px 0 0}
.ed-right a.btn-s{text-decoration:none}
.ct-pill.s-changes{border-color:var(--warn);color:var(--warn)}
select.find{appearance:auto}
@media(max-width:860px){.tabbar a{font-size:10px}}
/* Content: client stages and discovery */
.ct-stages{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.ct-stage{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:12px 16px;color:var(--ink);text-decoration:none;background:var(--panel)}
.ct-stage:hover{border-color:var(--ink)}
.ct-stage b{font-family:Archivo,sans-serif;font-size:16px}
.ds{display:grid;grid-template-columns:230px minmax(0,1fr);gap:28px;align-items:start}
.ds-nav{list-style:none;margin:0;padding:0;display:grid;gap:2px;position:sticky;top:calc(var(--hub-top,0px) + 16px)}
.ds-nav .ds-gap{height:12px}
.ds-nav button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;font:inherit;font-size:14px;color:var(--muted);background:none;border:0;border-radius:8px;padding:7px 10px;cursor:pointer}
.ds-nav button:hover,.ds-nav button.on{background:var(--soft);color:var(--ink)}
.ds-nav button.on{font-weight:600}
.ds-nav i{width:20px;height:20px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center;font-size:11px;font-style:normal;flex:none}
.ds-nav button.done i{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.ds-main{max-width:720px}
.ds-eyebrow{font-size:12.5px;color:var(--muted);display:flex;gap:10px;align-items:center}
.ds-type{font:inherit;font-size:12.5px;color:var(--muted);background:none;border:1px solid var(--line);border-radius:999px;padding:2px 10px;cursor:pointer}
.ds-type:hover{border-color:var(--ink);color:var(--ink)}
.ds-main h2{font-family:Archivo,sans-serif;font-size:15px;color:var(--muted);font-weight:500;margin:6px 0 18px}
.ds-q{margin-bottom:26px}
.ds-q label{display:block;font-family:Archivo,sans-serif;font-size:22px;line-height:1.3;font-weight:700;margin-bottom:8px}
.ds-q .ds-f{font-size:13.5px;color:var(--muted);margin:0 0 10px;border-inline-start:3px solid var(--line);padding-inline-start:10px}
.ds-q .ds-sales{display:inline-block;margin-inline-start:8px;padding:1px 8px;border-radius:999px;font-size:11.5px;font-weight:600;background:var(--soft);color:var(--ink);vertical-align:middle}
.ds-q .find{width:100%;min-width:0;box-sizing:border-box;font-size:16px;line-height:1.55}
.ds-q textarea{resize:vertical}
.ds-opts{margin:0}
.ds-opts span{font-size:14.5px;padding:9px 16px;color:var(--ink)}
.ds-metaf .ds-q label{font-family:inherit;font-size:12px;font-weight:400;color:var(--muted);margin-bottom:6px}
.ds-metaf .ds-q{margin-bottom:22px}
.ds-foot{display:flex;justify-content:space-between;margin-top:8px}
.ds-foot .btn-s{padding:10px 22px;font-size:14.5px}
.ds-sentence{font-family:Archivo,sans-serif;font-size:20px;line-height:1.45;border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin:0 0 22px}
.ds-sentence b{border-bottom:2px solid var(--ink)}
.ds-sentence i{color:var(--muted);font-style:normal}
.ds-pick{max-width:720px}
a.ds-type{text-decoration:none;display:inline-block}
.ds-nobt p{margin:0 0 10px}
.ds-types{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.ds-types button{font:inherit;text-align:start;color:var(--ink);background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px;cursor:pointer;display:grid;gap:4px}
.ds-types button:hover{border-color:var(--ink)}
.ds-types b{font-family:Archivo,sans-serif;font-size:16px}
.ds-types small{color:var(--muted);font-size:13px}
.ds-read{max-width:760px}
.ds-meta{color:var(--muted);font-size:13.5px;margin-bottom:16px}
.ds-sec{margin-bottom:26px}
.ds-sec h2{font-family:Archivo,sans-serif;font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:6px;margin-bottom:12px}
.ds-a{margin-bottom:14px}
.ds-a small{display:block;color:var(--muted);font-size:13px;margin-bottom:2px}
.ds-a p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.55}
@media(max-width:860px){.ds{grid-template-columns:1fr}.ds-nav{position:static;display:flex;overflow-x:auto;gap:4px}.ds-nav button{white-space:nowrap}.ds-nav .ds-gap{display:none}.ds-q label{font-size:19px}}
@media print{aside,.mhead,.tabbar,.ed-right,.ct-back,.ct-quiet,#annBar,#pal,.pal{display:none!important}main{padding:0!important}.app{display:block!important}}
/* Content: strategy */
.st-h{font-family:Archivo,sans-serif;font-size:24px!important;color:var(--ink)!important;font-weight:700!important;margin:0 0 18px!important}
.st-main .ed-f .find{font-size:15.5px;line-height:1.5}
.st-item{border:1px solid var(--line);border-radius:10px;padding:14px 14px 2px;margin-bottom:12px;background:var(--panel)}
.st-item-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12.5px;color:var(--muted)}
.st-item-h button{font:inherit;font-size:15px;line-height:1;width:26px;height:26px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);cursor:pointer;margin-left:4px}
.st-item-h button:disabled{opacity:.3;cursor:default}
.st-main .ed-add{margin:0 0 18px}
.st-mix{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;margin-bottom:14px}
.st-mix label{display:grid;gap:5px;font-size:12.5px;color:var(--muted);align-content:end}
.st-mix .find{width:100%;min-width:0;box-sizing:border-box}
.st-mix label span{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.st-mix .tot b{font-family:Archivo,sans-serif;font-size:24px;color:var(--ink);line-height:42px}
.ds.with-side{grid-template-columns:200px minmax(0,1fr) minmax(260px,360px)}
.st-side{border:1px solid var(--line);border-radius:10px;padding:14px;position:sticky;top:calc(var(--hub-top,0px) + 16px);max-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 40px - var(--hub-top,0px));overflow:auto;display:block;background:var(--panel)}
.st-side-h{font-family:Archivo,sans-serif;font-weight:700;margin-bottom:10px}
/* strategy: English / Arabic, the new fields, the topic bank by series, Import (public/strategy.js, Rami 11 October 2026) */
.st-lang{margin:0}.st-lang span,.ed-right .filters span{cursor:pointer}
.st-tr .st-en{font-size:13.5px;line-height:1.5;color:var(--muted);background:var(--soft);border-radius:8px;padding:8px 10px;margin-bottom:6px;white-space:pre-wrap}
.st-tr .st-en.none{font-style:italic}
.st-ar .ed-f textarea,.st-ar .ed-f input{font-size:16px}
.st-flag{display:flex!important;gap:8px;align-items:center;font-size:14px!important;color:var(--ink)!important;cursor:pointer}
.st-castl{margin:2px 0 14px}.st-castl>label{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.st-cast-r{display:grid;grid-template-columns:1fr 1.6fr 1fr auto;gap:8px;align-items:end}.st-cast-r .ed-f{margin-bottom:8px}
.st-cast>b{display:block;font-size:12px;color:var(--muted);margin:6px 0}
.st-x{font:inherit;width:30px;height:38px;margin-bottom:8px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);cursor:pointer}
.st-tgroup{margin-bottom:22px}.st-tgroup h3{font-family:Archivo,sans-serif;font-size:17px;margin:0 0 10px}.st-tgroup h3 small{color:var(--muted);font-weight:500}
.st-topic{padding-bottom:10px}.st-trow{display:grid;grid-template-columns:90px 1fr 80px;gap:10px}
.st-tags{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.st-tl{font-size:12px;color:var(--muted);display:flex;gap:6px;align-items:center;margin-inline-start:6px}
.st-tag{font:inherit;font-size:12.5px;font-weight:600;border:1px solid var(--line);background:var(--bg);color:var(--muted);border-radius:999px;padding:3px 10px;cursor:pointer}
.st-tag.on{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.st-tags select.find{padding:4px 8px;font-size:13px}
.st-old{margin-top:26px;padding-top:14px;border-top:1px dashed var(--line)}.st-old h3{font-size:15px;margin:0 0 4px}
.ds-nav .st-team{font-size:10.5px;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 6px;margin-inline-start:auto}
.st-imp{max-width:760px}.st-imp-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 16px}.st-imp-row .sub{flex:1 1 240px;margin:0}
.st-prev{border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--panel);margin-top:8px}.st-prev h3{margin:0 0 10px;font-family:Archivo,sans-serif}
.st-prev .btn-s{margin:6px 6px 0 0}
.st-found{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:4px;font-size:14.5px}.st-found b{display:inline-block;min-width:200px}
.st-warn{border-inline-start:3px solid var(--warn);padding:6px 12px;margin:0 0 12px;font-size:14px}.st-warn ul{margin:6px 0 0;padding-inline-start:18px}
.st-bad{color:var(--bad);font-weight:600}.st-note{margin:0 0 12px}
.sr-flag{font-size:12px;font-family:inherit;letter-spacing:.08em;text-transform:uppercase;border:1px solid currentColor;border-radius:999px;padding:1px 8px;vertical-align:middle}
.sr-by{font-size:13px;color:var(--muted);margin-top:4px}
.sr-team{border:1px dashed var(--line);border-radius:14px;padding:18px 22px;margin:0 0 22px}.sr-team .sr-label{margin-bottom:8px}
.deck .slide.sr-long{aspect-ratio:auto}
@media(max-width:860px){.st-cast-r{grid-template-columns:1fr 1fr}.st-trow{grid-template-columns:70px 1fr 60px}.st-found b{min-width:0;display:block}}
.st-side .ds-sentence{font-size:15px;padding:12px}
.st-side .ds-a p{font-size:14px}
.sr-doc{max-width:860px}
.sr-cover{background:var(--ink);color:var(--bg);border-radius:12px;padding:40px 36px;margin-bottom:28px}
.sr-cover h1{font-size:44px;line-height:1.05;margin:10px 0 14px}
.sr-big{font-family:Archivo,sans-serif;font-size:26px;line-height:1.2;font-weight:700;opacity:.92}
.sr-credits{margin-top:26px;font-size:13.5px;opacity:.75}
.sr-label{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:8px}
.sr-cover .sr-label{color:inherit;opacity:.6}
.sr-sec{padding:26px 0;border-top:1px solid var(--line)}
.sr-sec h2{font-family:Archivo,sans-serif;font-size:30px;line-height:1.12;margin:0 0 12px}
.sr-sec h3{font-family:Archivo,sans-serif;font-size:18px;margin:16px 0 6px}
.sr-sec p{margin:0 0 10px;white-space:pre-wrap;font-size:16.5px;line-height:1.6;max-width:68ch}
.sr-sec ul,.sr-sec ol{margin:6px 0 12px;padding-inline-start:22px;font-size:16px;line-height:1.6}
.sr-sec li{margin-bottom:4px}
.sr-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:12px}
.sr-card,.sr-pillar{border:1px solid var(--line);border-radius:10px;padding:16px}
.sr-card h3,.sr-pillar h3{margin-top:0}
.sr-card p{font-size:15px}
.sr-pillar{margin-bottom:12px}
.sr-pillar h3{font-size:22px}
.sr-enemy{margin-top:12px;border-top:2px solid var(--ink);padding-top:8px;display:grid;gap:2px}
.sr-enemy b{font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.sr-sec table{width:100%;border-collapse:collapse;margin:8px 0 12px;font-size:15.5px}
.sr-sec caption{text-align:start;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding-bottom:6px}
.sr-sec td{border-top:1px solid var(--line);padding:9px 8px;vertical-align:top}
.sr-sec td.n{text-align:end;white-space:nowrap;font-weight:600}
.sr-sec td.k{font-weight:600;white-space:nowrap}
@media(max-width:1100px){.ds.with-side{grid-template-columns:1fr}.st-side{position:static;max-height:none}}
@media print{.sr-cover{-webkit-print-color-adjust:exact;print-color-adjust:exact}.sr-sec,.sr-pillar,.sr-card{break-inside:avoid}}
.ct-facts button,.ct-year summary{font:inherit;color:var(--muted);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ct-facts button{margin-left:6px}
.ct-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;align-items:end;border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:18px;background:var(--panel)}
.ct-edit label{display:grid;gap:5px;font-size:12px;color:var(--muted)}
.ct-edit .find{width:100%;min-width:0;box-sizing:border-box}
.ct-band{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}
.ct-year{margin-bottom:16px}
.ct-year h3{font-family:Archivo,sans-serif;font-size:15px;margin:0 0 8px}
.ct-year summary{text-decoration:none;font-size:14px;margin-bottom:10px}
.ed-steps{display:flex;gap:4px;margin-bottom:18px;background:var(--soft);border-radius:12px;padding:4px;width:max-content;max-width:100%;overflow-x:auto}
.ed-steps button{font:inherit;font-size:14px;font-weight:600;border:0;background:none;color:var(--muted);border-radius:9px;padding:8px 16px;cursor:pointer;white-space:nowrap;display:flex;align-items:center;gap:6px}
.ed-steps button.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
.sh{max-width:720px}
.sh h3{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:22px 0 12px}
.sh h3:first-child{margin-top:0}
.sh .ed-f .find,.sh-set>.find{font-size:15px}
.sh-row{display:grid;grid-template-columns:1fr 1fr 1.4fr 30px;gap:6px;margin-bottom:6px}
.sh-row.two{grid-template-columns:1fr 30px}
.sh-row .find,.sh-set>.find{width:100%;min-width:0;box-sizing:border-box}
.sh-row button{font:inherit;font-size:16px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);cursor:pointer}
.sh-fact{font-size:15px}
.sh details{margin-top:6px}.sh summary{cursor:pointer;color:var(--muted);font-size:13px;margin-bottom:12px}
.sh-ok{display:flex;align-items:center;gap:10px;margin-bottom:18px}
.sh-x{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.sh-set{border:1px solid var(--line);border-radius:10px;padding:14px;margin-bottom:12px;background:var(--panel)}
.sh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:4px;margin-top:10px}
.sh-grid .t{position:relative;aspect-ratio:4/5;border:0;padding:0;background:var(--soft);cursor:pointer;overflow:hidden;border-radius:4px;font:inherit;color:var(--muted)}
.sh-grid .t img{width:100%;height:100%;object-fit:cover;display:block}
.sh-grid .t .e{font-size:11.5px;padding:6px;display:block}
.sh-grid .t.cur{outline:2px solid var(--ink);outline-offset:-2px}
.sh-grid .t.add{font-size:24px;border:1px dashed var(--line);background:none}
.sh-grid .t .k{position:absolute;top:5px;right:5px;width:16px;height:16px}.sh-grid .t .k svg{fill:#fff;width:100%;height:100%}
@media(max-width:900px){.sh-x{grid-template-columns:1fr}.sh-row{grid-template-columns:1fr 1fr 30px}.sh-row input:nth-child(3){grid-column:1/3;grid-row:2}}
.pf{max-width:820px}
.pf-sec{margin-bottom:30px}
.pf-sec h2{font-family:Archivo,sans-serif;font-size:19px;margin:0 0 12px}
.pf .find{width:100%;min-width:0;box-sizing:border-box;font-size:15px}
.pf-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.pf-foot{display:flex;justify-content:space-between;align-items:center;margin:10px 0 12px}
.pf-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr) 24px 30px;gap:8px;align-items:center;margin-bottom:8px}
.pf-row.dates{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto 30px}
.pf-row>a{text-decoration:none;color:var(--ink);text-align:center}
.pf-row>button,.pf-foot>button{font:inherit;font-size:16px;width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);cursor:pointer}
.pf-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.pf-sec .ed-add{margin-bottom:14px}
.pf-note{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;margin-bottom:14px}
.pf-said{border-bottom:1px solid var(--line);padding:10px 0}
.pf-said p{margin:0 0 4px;white-space:pre-wrap;overflow-wrap:anywhere}
.pf-said small,.pf-from small{color:var(--muted);font-size:12.5px}
.pf-said button{font:inherit;color:inherit;background:none;border:0;padding:0;margin-left:8px;text-decoration:underline;cursor:pointer}
.pf-soon{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.pf-soon span{border:1px solid var(--line);border-radius:999px;padding:5px 12px;font-size:13px;color:var(--muted);background:var(--panel)}
.pf-soon b{color:var(--ink);font-weight:600}
.pf-from{border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-bottom:24px;background:var(--panel)}
.pf-from summary{cursor:pointer;font-size:13px;color:var(--muted)}
.pf-from p{margin:2px 0 10px;white-space:pre-wrap}
@media(max-width:860px){.pf-grid{grid-template-columns:1fr 1fr}.pf-two{grid-template-columns:1fr}.pf-row,.pf-row.dates{grid-template-columns:1fr 1fr 30px}.pf-row>a,.pf-row>span{display:none}.pf-row.dates input:first-child{grid-column:1/-1}}
.pl-row{display:grid;grid-template-columns:minmax(0,1fr) 72px minmax(0,2fr);gap:8px;align-items:center;margin-bottom:6px}
.pl-row b{font-size:14.5px;font-weight:600}
.pl-row small{display:block;font-weight:400;font-size:12px;color:var(--muted)}
.pl-row.tot{color:var(--muted);margin-top:8px}.pl-row.tot b:last-child{color:var(--ink);font-family:Archivo,sans-serif;font-size:20px;padding-left:12px}
.pl-row.ser{grid-template-columns:minmax(0,1fr) minmax(0,2fr);min-height:42px}
.pl-row.ser small{display:inline;margin-left:6px}
@media(max-width:860px){.pl-row{grid-template-columns:minmax(0,1fr) 72px}.pl-row>input:last-child{grid-column:1/-1}.pl-row.ser{grid-template-columns:1fr}}
.lk{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:16px}
.lk .filters{margin:0}
.lk-sw{display:flex;gap:4px;padding:5px;border-radius:12px;border:1px solid var(--line)}
.lk-sw i{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700}
.lk a.btn-s{text-decoration:none}
.ed-wipe{margin-top:28px}
.sh-show{margin-bottom:14px;font-weight:600}
.ct-quiet button+button{margin-left:20px}
.ct-left{color:var(--muted);font-size:13px;white-space:nowrap}
.ct-bin{margin-top:18px}.ct-bin .ct-row{display:flex;align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}.ct-bin .ct-name{flex:1}
.rm{background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:12px;width:min(460px,100%);padding:22px;display:grid;gap:14px}
.rm h2{font-family:Archivo,sans-serif;font-size:21px;margin:0}
.rm-opt{border:1px solid var(--line);border-radius:10px;padding:14px;display:grid;gap:8px;justify-items:start;background:var(--panel)}
.rm-opt p{margin:0;font-size:14px;color:var(--muted);line-height:1.45}.rm-opt i{font-style:normal;font-weight:600;color:var(--ink)}
.rm-opt form{display:flex;gap:8px;width:100%;flex-wrap:wrap}.rm-opt .find{flex:1;min-width:150px}
.rm-msg{font-size:14px;color:var(--bad)}.rm-msg:empty{display:none}
.rm-foot{display:flex;justify-content:flex-end}
.ct-ticks{display:flex;gap:12px;flex-shrink:0}
.ct-tick{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted);white-space:nowrap}
.ct-tick i{width:17px;height:17px;border-radius:5px;border:1.5px solid var(--line);display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:700;color:#fff}
.ct-tick.on{color:var(--ink)}.ct-tick.on i{background:var(--ok);border-color:var(--ok)}
.ct-group{display:flex;justify-content:space-between;align-items:baseline;padding:14px 0 6px;font-family:Archivo,sans-serif;font-size:15px;font-weight:700;border-top:1px solid var(--line)}
.ct-group:first-child{border-top:0}.ct-group small{font-weight:400;font-family:inherit;color:var(--muted);font-size:12.5px}
@media(max-width:860px){.ct-tick{font-size:0;gap:0}.ct-ticks{gap:5px}}
.ct-who{display:grid;grid-template-columns:150px 170px;gap:14px;font-size:13.5px;flex-shrink:0}
.ct-who span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-who small{display:block;font-size:11px;color:var(--muted)}
.ct-row .ct-name{flex:1;min-width:150px}
@media(max-width:1100px){.ct-who{grid-template-columns:120px 130px}}
@media(max-width:900px){.ct-row{flex-wrap:wrap}.ct-who{order:5;flex-basis:100%;grid-template-columns:1fr 1fr}}
.ct-book{margin-bottom:6px}.ct-book.cp-row{border:1px solid var(--line);border-radius:10px;padding:14px 16px;background:var(--panel)}
.ct-quiet a{color:inherit;margin-left:20px}
.ct-row .ct-tick.bk{margin-left:0}
.ct-quiet.right{padding-right:64px}
.ct-table{padding-top:4px}
.ct-tr{display:grid;grid-template-columns:minmax(150px,1.5fr) minmax(0,1fr) minmax(0,1.1fr) 78px 70px 84px 200px;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.ct-tr:last-child{border-bottom:0}
.ct-head2{font-size:12px;color:var(--muted);padding:8px 0}
.ct-head2>span:nth-child(n+4):not(:last-child){text-align:center}
.ct-th{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:left;display:inline-flex;gap:5px;align-items:center}
.ct-th i{font-style:normal;opacity:.45}.ct-th.on{color:var(--ink);font-weight:600}.ct-th.on i{opacity:1}
.ct-tr .ct-name{min-width:0}.ct-tr .ct-name b{font-family:Archivo,sans-serif;font-size:15.5px}
.ct-cell{font-size:13.5px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-tr .ct-tick{justify-content:center}.ct-tr .ct-tick em{display:none}
.ct-status{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){
  .ct-head2{grid-template-columns:auto auto auto;justify-content:start;gap:16px}.ct-head2>span{display:none}
  .ct-tr:not(.ct-head2){grid-template-columns:repeat(6,1fr);gap:8px 10px}
  .ct-tr:not(.ct-head2) .ct-name,.ct-status{grid-column:1/-1}
  .ct-cell{grid-column:span 3}.ct-cell::before{content:attr(data-l);display:block;font-size:11px;color:var(--muted)}
  .ct-tr:not(.ct-head2) .ct-tick{grid-column:span 2;justify-content:flex-start;gap:6px;font-size:12px}.ct-tr:not(.ct-head2) .ct-tick em{display:inline;font-style:normal}
}
.ct-quiet a{font-size:12.5px;color:var(--muted);text-decoration:none}
.sh-open{text-decoration:none;display:inline-block;margin:0 0 14px 12px}
.sh-hint{display:block;color:var(--muted);font-size:13px;margin:-8px 0 14px 24px}
.sh-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.sh-links a{text-decoration:none}

/* ============ The soft look (Oct 2026): a grey page, big rounded cards with no outlines, pills, one bright accent. ============
   Everything above still sets the structure; this block only changes surfaces, corners and colour. To try another accent
   (a brand colour, or a gradient), change --accent and --accent-ink here and nothing else. */
:root{--page:#e7e7e7;--bg:#fff;--panel:#f4f4f4;--soft:#dddddd;--line:rgba(0,0,0,.09);--muted:#7c7c7c;--ink:#0c0c0c;--accent:#b7f04e;--accent-ink:#0c0c0c}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--page:#0b0b0b;--bg:#000;--panel:#191919;--soft:#2a2a2a;--line:rgba(255,255,255,.1);--muted:#8d8d8d;--ink:#fff}}
:root[data-theme="dark"]{--page:#0b0b0b;--bg:#000;--panel:#191919;--soft:#2a2a2a;--line:rgba(255,255,255,.1);--muted:#8d8d8d;--ink:#fff}
body{background:var(--page)}
aside{background:transparent;border-right:0;padding:26px 16px}
.nav{display:grid;gap:4px}
.nav a{border-radius:999px;padding:10px 16px}
.nav a:hover{background:var(--panel)}
.nav a.on{background:var(--ink);color:var(--bg);box-shadow:none}
.nav a span{background:var(--panel);border-radius:999px;padding:1px 8px;color:var(--ink);font-size:11.5px}
.nav a span:empty{display:none}
.nav a.on span{background:var(--accent);color:var(--accent-ink)}
.me{border-top:0;background:var(--panel);border-radius:12px;padding:12px}
main{padding:30px 44px 48px}
h1{font-size:34px;letter-spacing:-.03em}
.card{border:0;border-radius:12px;padding:22px}
.btn-s{border:0;background:var(--bg);padding:8px 16px;font-weight:500}
.btn-s:hover{box-shadow:0 0 0 1.5px var(--ink) inset}
.btn-s.pri{background:var(--ink);color:var(--bg)}
.btn-s.danger{box-shadow:0 0 0 1.5px var(--bad) inset}
.find{border:0;border-radius:999px;padding:11px 18px;background:var(--bg)}
textarea.find{border-radius:12px;padding:14px 18px}
select.find,select.ct-owner{border-radius:999px}
.find:focus-visible,.btn-s:focus-visible,.nav a:focus-visible{outline:2.5px solid var(--accent);outline-offset:2px}
.filters span{border:0;background:var(--bg);padding:8px 16px;color:var(--ink)}
.filters span.on{background:var(--ink);color:var(--bg)}
.ct-pill{border:0;background:var(--soft);color:var(--ink);padding:4px 12px}
.ct-pill.none,.ct-pill.s-empty{background:none;box-shadow:0 0 0 1px var(--line) inset;color:var(--muted)}
.ct-pill.s-sent,.ct-pill.s-wait,.ct-pill.s-upd{background:var(--bg);color:var(--ink)}
.ct-pill.s-approved,.ct-pill.s-ok{background:var(--accent);color:var(--accent-ink)}
.ct-pill.s-changes,.ct-pill.s-chg{background:var(--warn-bg);color:var(--warn-ink)}
.ct-tick.on i{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.ct-tick i{border-radius:50%;width:20px;height:20px;border-color:var(--soft);background:var(--bg)}
/* the client list: every client is its own soft card */
.ct-table{background:none;padding:0;border-radius:0}
.ct-tr{background:var(--panel);border:0;border-radius:12px;padding:15px 22px;margin-bottom:8px}
.ct-tr:not(.ct-head2):hover{background:var(--bg)}
.ct-head2{background:none;padding:6px 22px;margin-bottom:4px}
.ct-tr .ct-name b{font-size:17px}
/* one client */
.ct-stage,.ct-month,.ct-book.cp-row,.ct-edit,.sh-set,.st-item,.ed-rail,.ed-insp,.pf-from,.rm-opt{border:0}
.ct-stage{border-radius:999px;padding:12px 20px}
.ct-stage:hover,.ct-month:hover{background:var(--bg);box-shadow:none}
.ct-month{border-radius:12px;padding:20px;min-height:128px}
.ct-month b{font-size:20px}
.ct-month.new{background:none;box-shadow:0 0 0 1.5px var(--line) inset}
.ct-book.cp-row{border-radius:12px;padding:20px 22px}
.ct-edit{border-radius:12px;padding:20px}
.ct-band{color:var(--ink);opacity:.55}
.cp-link code{background:var(--soft)}
/* inside a month and the writing screens */
.ed-steps,.ed-sec{background:var(--panel)}
.ed-steps button.on,.ed-sec button.on{background:var(--ink);color:var(--bg);box-shadow:none}
.ed-rail,.ed-insp{border-radius:12px;padding:14px}
.ed-item{border-radius:10px}
.ed-add{border-radius:999px;border-color:var(--line)}
.sh-set,.st-item{border-radius:12px}
.ds-nav button{border-radius:999px;padding:8px 14px}
.ds-nav button.on{background:var(--ink);color:var(--bg)}
.ds-nav button.on i{border-color:transparent;background:var(--accent);color:var(--accent-ink)}
.ds-nav button.done i{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.pf-soon span{border:0;background:var(--accent);color:var(--accent-ink)}.pf-soon b{color:inherit}
.rm,.dr{border:0;border-radius:12px}
.cp-msg{border-radius:12px}
@media(max-width:860px){main{padding:18px 16px 96px}h1{font-size:28px}.tabbar{border-top:0;background:var(--panel)}}
:root{--page:#e3e3e3}
.pb{border:0;border-radius:12px;padding:20px}
.pb:hover{background:var(--bg)}
@media(max-width:860px){.ct-tools .find{flex:1 1 100%}}

/* ---- Usability pass: the rules project tools follow, so the Hub reads and taps the way people expect ----
   1 readable grey text (4.5:1 or better)  2 one clear focus ring for keyboard use  3 controls a comfortable size, 44px on phones
   4 pages don't stretch on wide screens  5 column titles stay in view while scrolling  6 "not done" looks empty, not like a box to tick
   7 press feedback, and no motion for people who turn it off */
:root{--muted:#5c5c5c}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--muted:#a6a6a6}}
:root[data-theme="dark"]{--muted:#a6a6a6}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.find:focus-visible,.btn-s:focus-visible,.nav a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.btn-s,.filters span{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13.5px;transition:box-shadow .12s,transform .06s,background .12s}
.filters span:hover{box-shadow:0 0 0 1.5px var(--ink) inset}
.btn-s:active,.filters span:active,.nav a:active,.ct-month:active,.ct-stage:active{transform:scale(.98)}
.find{min-height:40px}
.nav a{min-height:40px;display:flex;align-items:center;justify-content:space-between;transition:background .12s}
.ct-head2{position:sticky;top:0;z-index:3;background:var(--page);border-radius:0;font-size:12.5px}
.ct-head2 button{min-height:32px}
.ct-tr:not(.ct-head2){transition:background .12s;cursor:pointer}
.ct-tick:not(.on) i{border:0;background:none;width:20px;height:20px}
.ct-tick:not(.on) i::before{content:"";width:8px;height:2px;border-radius:2px;background:var(--muted);opacity:.45}
.ct-pill{font-weight:500}
h1{text-wrap:balance}
/* the person signed in, bottom left: one tap to their profile */
a.me{text-decoration:none;color:inherit;transition:background .12s}
a.me:hover{background:var(--bg)}
.me-t{min-width:0;display:grid}.me-t b,.me-t small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.me-t small{color:var(--muted);font-size:12px}
a.av{text-decoration:none}
/* your profile */
.me-card{max-width:560px;margin-top:18px;background:var(--panel)}
.me-head{display:flex;gap:14px;align-items:center;margin-bottom:20px}
.me-head b{display:block;font-family:Archivo,sans-serif;font-size:19px}.me-head small{color:var(--muted)}
.me-av{width:56px;height:56px;font-size:20px;flex-shrink:0}
.me-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.me-wide{grid-column:1/-1}
.me-card .fld{display:grid;gap:6px;min-width:0}
.me-card .fld>span{font-size:12.5px;font-weight:600}
.me-card .fld small{color:var(--muted);font-size:12px}
.me-card .find{width:100%;min-width:0}
.me-card .find[readonly]{background:none;box-shadow:0 0 0 1px var(--line) inset;color:var(--muted)}
.me-bd{display:grid;grid-template-columns:110px 1fr;gap:8px}
/* At Circle: what an Owner or Admin set (position, type, where, start day) */
.me-atc{margin-top:18px;padding:14px 16px;border-radius:12px;background:var(--soft,rgba(127,127,127,.07))}
.me-atc>b{font-size:12.5px;font-weight:600}
.me-atc dl{margin:8px 0 6px;display:grid;gap:6px}
.me-atc dl div{display:grid;grid-template-columns:140px 1fr;gap:10px;font-size:13.5px}
.me-atc dt{color:var(--muted)}.me-atc dd{margin:0;min-width:0}
.me-atc small,.me-unset{color:var(--muted);font-size:12px}
@media(max-width:560px){.me-atc dl div{grid-template-columns:1fr;gap:0}}
.me-foot{display:flex;gap:12px;align-items:center;margin-top:20px}
.me-msg{color:var(--muted);font-size:13px}
.me-out{margin-top:16px}
@media(max-width:860px){
  .btn-s,.filters span,.find,.ct-stage{min-height:44px}
  .find,textarea.find,select.find{font-size:16px} /* stops phones zooming in on tap */
  .mhead .av{width:40px;height:40px}.mhead .theme{min-width:44px;min-height:44px;display:grid;place-items:center}
  .tabbar a{min-height:56px;font-size:11px}
  .ct-head2{top:var(--mhead-h,0)}
  .me-grid{grid-template-columns:1fr}.me-card{padding:18px}
  .me-foot .btn-s,.me-out{flex:1;width:100%}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.me-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px;max-width:560px}.me-links .me-out{margin-top:0}
.me-links a.btn-s{text-decoration:none}
a.gbtn{text-decoration:none;display:inline-flex;align-items:center}

/* ---- Inside a client (Oct 2026). One header on every screen; the client's own screen splits "Every month" from "Set up once";
   monthly screens carry a stepper, one-time screens carry a section list. ---- */
.ct-crumb{font-size:13px;color:var(--muted);display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:10px}
.ct-crumb a{color:inherit;text-decoration:none}.ct-crumb a:hover{color:var(--ink);text-decoration:underline}
.ct-crumb i{font-style:normal;opacity:.6}.ct-crumb span{color:var(--ink)}
.ct-hd-row{display:flex;gap:12px;align-items:center}
.ct-hd-row h1{margin:0}
.ct-badge{width:42px;height:42px;border-radius:10px;background:var(--ink);color:var(--accent);display:grid;place-items:center;font-family:Archivo,sans-serif;font-weight:600;font-size:17px;flex-shrink:0}
.ed-top{align-items:flex-end}
.ct-top{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.ct-top+.ct-facts{margin:8px 0 0 54px}
.ct-menu{position:relative}
.ct-menu summary{list-style:none;width:40px;height:40px;border-radius:50%;background:var(--bg);display:grid;place-items:center;cursor:pointer;font-weight:600;letter-spacing:1px}
.ct-menu summary::-webkit-details-marker{display:none}
.ct-menu>div{position:absolute;right:0;top:46px;z-index:5;background:var(--bg);border-radius:12px;padding:6px;min-width:190px;box-shadow:0 12px 34px rgba(0,0,0,.16);display:grid}
.ct-menu button{font:inherit;font-size:14px;text-align:left;background:none;border:0;color:var(--ink);padding:10px 14px;border-radius:12px;cursor:pointer}
.ct-menu button:hover{background:var(--panel)}
.ct-menu #ctDelete{color:var(--bad)}
.cl2{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start;margin-top:26px}
.cl2-h{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:40px;margin-bottom:12px}
.cl2-h h2{font-family:Archivo,sans-serif;font-size:19px;font-weight:600;letter-spacing:-.01em;margin:0}
.cm-hero{background:var(--bg);border-radius:12px;padding:24px;display:grid;gap:10px}
.cm-t{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.cm-t b{font-family:Archivo,sans-serif;font-size:27px;letter-spacing:-.02em;line-height:1.1}
.cm-hero small{color:var(--muted);font-size:13.5px}
.cm-hero a.btn-s{text-decoration:none;margin-top:6px;min-height:40px;padding:0 20px;font-weight:600}
.cm-list{background:var(--panel);border-radius:12px;padding:6px 22px;margin-top:14px}
.cm-row{display:grid;grid-template-columns:minmax(120px,1.1fr) minmax(0,1fr) minmax(0,1.2fr) auto;gap:12px;align-items:center;padding:13px 0;color:inherit;text-decoration:none}
.cm-row+.cm-row{border-top:1px solid var(--line)}
.cm-row b{font-size:15.5px}.cm-row small{color:var(--muted);font-size:13px}
.cm-row .ct-pill{justify-self:start}
.cm-row:hover .btn-s{box-shadow:0 0 0 1.5px var(--ink) inset}
.cm-old{margin-top:14px}.cm-old summary{cursor:pointer;color:var(--muted);font-size:13.5px;padding:0 4px}
.cs{border-radius:12px;padding:6px 20px;box-shadow:0 0 0 1.5px var(--line) inset}
.cs-row{display:flex;gap:12px;align-items:center;padding:13px 0}
.cs-row+.cs-row{border-top:1px solid var(--line)}
.cs-row>i{width:26px;height:26px;border-radius:50%;background:var(--soft);display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:600;flex-shrink:0}
.cs-row.done>i{background:var(--accent);color:var(--accent-ink)}
.cs-row.info>i{background:none;box-shadow:0 0 0 1.5px var(--soft) inset}
.cs-row>div{flex:1;min-width:0}.cs-row b{display:block;font-size:14.5px}.cs-row small{color:var(--muted);font-size:12.5px}
.cs-go{font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);background:none;border:0;cursor:pointer;text-decoration:none;padding:8px 0 8px 8px}
.cs-go:hover{text-decoration:underline}
.cl2+.ct-book{margin-top:18px}
/* monthly: a stepper with ticks */
.ed-steps{background:none;padding:0;gap:0;align-items:center;border-radius:0}
.ed-steps u{width:22px;height:2px;background:var(--soft);flex-shrink:0;text-decoration:none}
.ed-steps button{border-radius:999px;padding:8px 14px 8px 10px;gap:8px}
.ed-steps button b{width:22px;height:22px;border-radius:50%;background:var(--soft);color:var(--ink);display:grid;place-items:center;font-size:11px;font-weight:600}
.ed-steps button.done b{background:var(--accent);color:var(--accent-ink)}
.ed-steps button.on b{background:var(--bg);color:var(--ink)}
.ed-steps button:not(.on):hover{background:var(--panel)}
/* one-time: the section list sits in its own card */
.ds{gap:16px}
.ds-nav{background:var(--panel);border-radius:12px;padding:10px}
@media(max-width:860px){
  .cl2{grid-template-columns:1fr;gap:28px}
  .cm-row{grid-template-columns:1fr auto;row-gap:4px}.cm-row small{grid-column:1}.cm-row .ct-pill{grid-row:1;grid-column:2}.cm-row .btn-s{display:none}
  .cm-t b{font-size:23px}.cm-hero a.btn-s{min-height:48px;justify-content:center}
  .ct-top+.ct-facts{margin-left:0}
  .ed-steps u{width:10px}.ed-steps{overflow-x:auto;max-width:100%}
  .ds-nav{border-radius:999px;padding:5px}
}
.ds-main{background:var(--panel);border-radius:12px;padding:24px}
.ds-nav button.on:not(.done) i{background:var(--bg);color:var(--ink)}
@media(max-width:860px){.ds-main{padding:18px;border-radius:12px}}

/* The month's steps: an "i" beside each one, the plan next to what it is built from, and the lead's approval */
.ed-st{display:inline-flex;align-items:center;gap:2px;flex-shrink:0}
.ed-i{width:22px;height:22px;border-radius:50%;border:0;background:none;box-shadow:0 0 0 1.5px var(--soft) inset;color:var(--muted);font:italic 700 12px Georgia,serif;cursor:pointer;display:grid;place-items:center;flex-shrink:0}
.ed-i:hover,.ed-i[aria-expanded="true"]{background:var(--ink);color:var(--bg);box-shadow:none}
.ed-info{background:var(--bg);border-radius:12px;padding:14px 18px;margin:-6px 0 18px;max-width:640px;display:flex;gap:12px;align-items:flex-start}
.ed-info[hidden]{display:none}.ed-info p{margin:0;font-size:14px;line-height:1.5}.ed-info .ct-pill{flex-shrink:0}
.sh2{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}
.sh-ref{background:var(--panel);border-radius:12px;padding:18px 20px;position:sticky;top:calc(var(--hub-top,0px) + 16px)}
.sh-ref h3{font-family:Archivo,sans-serif;font-size:15px;margin:0 0 8px}.sh-ref h3:not(:first-child){margin-top:18px}
.rf{padding:7px 0;font-size:13.5px;white-space:pre-wrap}.rf+.rf{border-top:1px solid var(--line)}
.rf small{display:block;color:var(--muted);font-size:12px;margin-bottom:2px}
.sh-ref .cs-go{display:inline-block;padding-left:0}
.sh-ok{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.cm-p{display:flex;gap:6px;flex-wrap:wrap;justify-self:start}
@media(max-width:860px){.sh2{grid-template-columns:1fr}.sh-ref{position:static;order:-1}.ed-info{flex-direction:column;gap:8px}.cm-row .cm-p{grid-row:1;grid-column:2;justify-self:end}.ed-i{width:28px;height:28px}}
.ed-steps .ed-i{padding:0;border-radius:50%;box-shadow:0 0 0 1.5px var(--soft) inset;background:none;color:var(--muted);font:italic 700 12px Georgia,serif;justify-content:center}
.ed-steps .ed-i:hover,.ed-steps .ed-i[aria-expanded="true"]{background:var(--ink);color:var(--bg);box-shadow:none}
@media(max-width:860px){.sh2{grid-template-columns:minmax(0,1fr)}.sh-ref{order:0}.ed-info{max-width:100%}}
main,.page{min-width:0}
@media(max-width:860px){.ed-steps{max-width:calc(100vw - 32px)}}
.ed-steps button.ed-i:hover,.ed-steps button.ed-i[aria-expanded="true"]{background:var(--ink);color:var(--bg);box-shadow:none}

/* the "i" sits small in the corner of its step; Post / Feed sits right above the phone */
.ed-st{position:relative;margin-right:6px}
.ed-steps .ed-i{position:absolute;top:-5px;right:-7px;width:17px;height:17px;font-size:10px;background:var(--page);box-shadow:0 0 0 1.5px var(--soft) inset}
.ed-steps{padding-top:6px;overflow:visible}
.ed-mid{display:grid;gap:12px;justify-items:center;min-width:0}
.ed-view{margin:0;display:flex;gap:4px}
.ed-view[hidden]{display:none}
@media(max-width:860px){.ed-steps{overflow-x:auto;padding-right:8px}.ed-steps .ed-i{width:20px;height:20px;top:-4px}}

/* ============ Inside a month (Oct 2026, second pass): folder tabs on one panel. Left picks, centre edits, the darker right previews.
   Inside the panel things are flat: thin dividers and squared fields, so the only round shapes are the phone and the Publish button. ============ */
.ed-top .ed-right{gap:22px}
.ed-top .ed-right .btn-s:not(.pri){background:none;padding:0;min-height:0;font-weight:600;font-size:14px;border-radius:0}
.ed-top .ed-right .btn-s:not(.pri):hover{box-shadow:none;text-decoration:underline}
.ed-top .ed-right .btn-s.pri{min-height:40px;padding:0 20px;font-weight:600}
.ed-tabs{display:flex;align-items:flex-end;gap:12px;margin-top:6px}
.ed-steps{display:flex;gap:4px;align-items:flex-end;margin:0;padding:0;width:auto;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}
.ed-steps::-webkit-scrollbar{display:none}
.ed-steps button{border-radius:10px 14px 0 0;background:var(--soft);color:var(--muted);padding:11px 20px;gap:8px;font-size:14.5px;font-weight:600;flex-shrink:0}
.ed-steps button.on{background:var(--panel);color:var(--ink);padding-top:14px;box-shadow:none}
.ed-steps button:not(.on):hover{background:var(--panel)}
.ed-steps button b{width:17px;height:17px;font-size:9.5px;background:none;box-shadow:0 0 0 1.5px var(--muted) inset;color:inherit;opacity:.8}
.ed-steps button.on b{background:none;color:inherit}
.ed-steps button.done b,.ed-steps button.on.done b{background:var(--accent);color:var(--accent-ink);box-shadow:none;opacity:1}
.ed-about{font:inherit;font-size:13px;color:var(--muted);background:none;border:0;cursor:pointer;display:flex;gap:7px;align-items:center;padding:10px 4px;white-space:nowrap;flex-shrink:0}
.ed-about b{font:italic 700 11px Georgia,serif;width:17px;height:17px;border-radius:50%;box-shadow:0 0 0 1.5px var(--muted) inset;display:grid;place-items:center}
.ed-about:hover,.ed-about[aria-expanded="true"]{color:var(--ink)}
.ed-about[aria-expanded="true"] b{background:var(--ink);color:var(--bg);box-shadow:none}
.ed-panel{background:var(--panel);border-radius:0 24px 24px 24px;overflow:hidden;--well:rgba(0,0,0,.04)}
:root[data-theme="dark"] .ed-panel{--well:rgba(255,255,255,.04)}
.ed-panel .ed-info{margin:0;max-width:none;border-radius:0;background:var(--bg);border-bottom:1px solid var(--line);padding:14px 24px}
/* calendar: list | settings | preview */
.ed-panel .ed{grid-template-columns:230px minmax(0,1fr) 400px;grid-template-areas:"rail insp mid";gap:0;align-items:stretch;min-height:620px}
.ed-panel .ed[hidden]{display:none}
.ed-panel .ed-rail{grid-area:rail}.ed-panel .ed-insp{grid-area:insp}.ed-panel .ed-mid{grid-area:mid}
.ed-panel .ed-rail,.ed-panel .ed-insp{background:none;border:0;border-radius:0;padding:20px;position:static;max-height:none}
.ed-panel .ed>.ed-insp{border-left:1px solid var(--line)}
.ed-panel .ed>.ed-insp:empty{display:block}
.ed-panel .ed>.ed-insp>*{max-width:460px}
.ed-panel .ed-mid{background:var(--well);border-left:1px solid var(--line);padding:20px;align-content:start}
.ed-panel .ph{box-shadow:none;width:min(340px,100%)}
/* quiet switches: underlined text */
.ed-panel .ed-sec,.ed-panel .ed-view{display:flex;gap:18px;background:none;padding:0;border-radius:0;margin-bottom:14px}
.ed-panel .ed-view{margin-bottom:0}
.ed-panel .ed-sec button,.ed-panel .ed-view span{background:none;border:0;border-radius:0;padding:0 0 4px;min-height:0;font-size:13.5px;font-weight:600;color:var(--muted);box-shadow:none;border-bottom:2px solid transparent}
.ed-panel .ed-sec button.on,.ed-panel .ed-view span.on{background:none;color:var(--ink);border-bottom-color:var(--ink)}
.ed-panel .ed-view span:hover{box-shadow:none;color:var(--ink)}
/* the list: flat rows, the open one white with a bar */
.ed-panel .ed-rail ol{gap:0;margin:0 -20px}
.ed-panel .ed-item{border:0;border-left:3px solid transparent;border-radius:0;background:none;padding:9px 20px 9px 17px}
.ed-panel .ed-item:hover{background:var(--well)}
.ed-panel .ed-item.on{background:var(--bg);border-left-color:var(--ink)}
.ed-panel .ed-th{border-radius:4px}
.ed-panel .ed-add{border:0;border-radius:0;background:none;text-align:left;padding:8px 0;margin-top:10px;width:auto;font-size:13.5px;font-weight:700}
.ed-panel .ed-add::before{content:"+ "}
.ed-panel .ed-add:hover{background:none;text-decoration:underline}
/* fields: squared, thin border */
.ed-panel .find{border-radius:8px;box-shadow:0 0 0 1px var(--line) inset;padding:9px 12px;min-height:38px}
.ed-panel textarea.find{border-radius:8px;padding:10px 12px}
.ed-panel .find:focus-visible{outline:2px solid var(--ink);outline-offset:0}
.ed-panel .ed-f .filters{display:flex;gap:0;background:var(--soft);border-radius:9px;padding:3px;flex-wrap:nowrap}
.ed-panel .ed-f .filters span{flex:1;border-radius:7px;background:none;padding:6px 8px;min-height:0;font-size:13px;font-weight:600;color:var(--muted)}
.ed-panel .ed-f .filters span.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 2px rgba(0,0,0,.12)}
.ed-panel .ed-f .filters span:hover{box-shadow:none;color:var(--ink)}
.ed-panel .ed-f .filters span.on:hover{box-shadow:0 1px 2px rgba(0,0,0,.12)}
.ed-panel .ed-btns{gap:16px;margin-top:10px}
.ed-panel .ed-btns .btn-s,.ed-panel .sh-links .btn-s{background:none;padding:0;min-height:0;border-radius:0;font-weight:600}
.ed-panel .ed-btns .btn-s:hover,.ed-panel .sh-links .btn-s:hover{box-shadow:none;text-decoration:underline}
.ed-panel .ed-m,.ed-panel .ed-m img{border-radius:5px}
.ed-panel .ct-quiet.right{padding-right:0}
/* brief, plan, extras */
.ed-panel #edSheet{padding:0}
.ed-panel .sh{max-width:none;padding:24px}
.ed-panel .sh-brief{display:grid;grid-template-columns:1fr 1fr;gap:0 20px;max-width:920px}
.ed-panel .sh-brief>.ed-f:nth-child(-n+2){grid-column:1/-1}
.ed-panel .sh2{grid-template-columns:minmax(0,1fr) 340px;gap:0;align-items:stretch;min-height:620px}
.ed-panel .sh2>.sh>*{max-width:680px}
.ed-panel .sh2 .sh-ok{max-width:none;margin:-24px -24px 20px;padding:12px 24px;border-bottom:1px solid var(--line)}
.ed-panel .sh2 .sh-ok .btn-s{margin-left:auto}
.ed-panel .sh-ref{background:var(--well);border-radius:0;border-left:1px solid var(--line);padding:24px;position:static}
.ed-panel .sh-links{gap:18px}
.ed-panel .sh-x{grid-template-columns:minmax(0,1fr) 380px;gap:0;padding:0;align-items:stretch;min-height:620px}
.ed-panel .sh-x>div:first-child{padding:24px}
.ed-panel .sh-x>.ed-insp{border-left:1px solid var(--line);padding:24px}
.ed-panel .sh-set{border:0;border-radius:0;background:none;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.ed-panel .sh-row button{border:0;background:none}
.ed-wipe{padding-right:0}
@media(max-width:1100px){
  .ed-panel .ed{grid-template-columns:210px minmax(0,1fr);grid-template-areas:"rail insp" "mid mid"}
  .ed-panel .ed-mid{border-left:0;border-top:1px solid var(--line)}
}
@media(max-width:860px){
  .ed-tabs{flex-wrap:wrap}.ed-steps{flex:1 1 100%;order:2;max-width:none}.ed-about{order:1;margin-left:auto;padding:4px}
  .ed-steps button{padding:10px 14px}.ed-steps button.on{padding-top:12px}
  .ed-panel{border-radius:0 0 20px 20px;margin:0 -16px}
  .ed-panel .ed{grid-template-columns:minmax(0,1fr);grid-template-areas:"rail" "mid" "insp";min-height:0}
  .ed-panel .ed>.ed-insp{border-left:0;border-top:1px solid var(--line)}
  .ed-panel .ed-rail ol{margin:0 -20px;padding:0 20px}
  .ed-panel .ed-item{border-left:0;border-bottom:3px solid transparent;padding:8px}.ed-panel .ed-item.on{border-bottom-color:var(--ink)}
  .ed-panel .sh-brief,.ed-panel .sh2,.ed-panel .sh-x{grid-template-columns:minmax(0,1fr);min-height:0}
  .ed-panel .sh-ref,.ed-panel .sh-x>.ed-insp{border-left:0;border-top:1px solid var(--line)}
  .ed-panel .sh{padding:18px}.ed-panel .sh2 .sh-ok{margin:-18px -18px 16px;padding:12px 18px}
  .ed-panel .find{min-height:44px}
}
.sh-ref button.cs-go{text-align:left;padding-left:0}
.ed-panel .sh-x>div:first-child{min-height:200px}

/* the post list: a plus on a post's top or bottom edge adds one there, and a cross removes the post */
.ed-panel .ed-item{position:relative}
.ed-x,.ed-ins{position:absolute;border:0;cursor:pointer;display:grid;place-items:center;opacity:0;transition:opacity .12s;font:inherit;line-height:1;padding:0}
.ed-x{right:10px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:none;color:var(--muted);font-size:18px}
.ed-x:hover{background:var(--soft);color:var(--bad)}
.ed-ins{left:50%;transform:translate(-50%,-50%);width:22px;height:22px;border-radius:50%;background:var(--ink);color:var(--bg);font-size:15px;font-weight:700;z-index:2;box-shadow:0 0 0 3px var(--panel)}
.ed-ins.up{top:0}.ed-ins.dn{top:100%}
.ed-item:hover .ed-x,.ed-item.on .ed-x,.ed-x:focus-visible,.ed-ins:focus-visible{opacity:1}
.ed-item:hover .ed-ins{opacity:.35}
.ed-item .ed-ins:hover{opacity:1}
.ed-item:has(.ed-x) .ed-dot{margin-right:30px}
.ed-item.drag .ed-ins,.ed-item.drag .ed-x,body.ed-dragging .ed-ins{display:none}
@media(max-width:860px){.ed-ins{display:none}.ed-x{right:2px;top:2px;transform:none;background:var(--bg);width:22px;height:22px;font-size:15px}.ed-item:not(.on) .ed-x{display:none}}
.ed-panel .ed-rail ol{padding-top:11px}
.ed-item:hover+.ed-item .ed-ins.up{opacity:0}
/* hovering a post also lights the plus on its top edge, which belongs to the post above */
.ed-item:has(+.ed-item:hover) .ed-ins.dn{opacity:.35}
.ed-item:has(+.ed-item:hover) .ed-ins.dn:hover{opacity:1}

/* the client's links on each month, and a status pill that shows on the white card */
.cm-hero .ct-pill.s-sent,.cm-hero .ct-pill.s-wait,.cm-hero .ct-pill.s-upd{background:var(--panel)}
.cm-act{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:6px}.cm-act a.btn-s{margin-top:0}
.cm-links{display:flex;gap:16px;flex-wrap:wrap}
.cm-links button{font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--soft)}
.cm-links button:hover{text-decoration-color:var(--ink)}
.cm-row{grid-template-columns:minmax(120px,1.1fr) minmax(0,1fr) minmax(0,.9fr) minmax(0,auto) auto;cursor:pointer}
.cm-row>a:first-child{color:inherit;text-decoration:none}
.cm-row a.btn-s{text-decoration:none}
.cm-row .cm-links{justify-content:flex-end}
@media(max-width:860px){.cm-row{grid-template-columns:1fr auto}.cm-row .cm-links{grid-column:1/-1;justify-content:flex-start}.cm-row a.btn-s{display:none}}
.cm-row{grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"name pills open" "count links open";row-gap:4px;column-gap:14px}
.cm-row>a:first-child{grid-area:name}.cm-row .cm-p{grid-area:pills;flex-wrap:nowrap}.cm-row>small{grid-area:count;white-space:nowrap}
.cm-row .cm-links{grid-area:links;justify-content:flex-start}.cm-row a.btn-s{grid-area:open}
@media(max-width:860px){.cm-row{grid-template-columns:minmax(0,1fr);grid-template-areas:"name" "pills" "count" "links"}.cm-row .cm-p{justify-self:start;flex-wrap:wrap}}
/* the client hub's controls on the client's screen */
.cl2-h2{margin-top:22px}
.ct-edit .ce-wide{grid-column:1/-1;flex-basis:100%}
.cs-row>i{font-size:13px}

/* what the client wrote about themselves that the profile doesn't have, and what is coming up */
.says{display:grid;gap:0}.says>b{font-size:13px;margin-bottom:4px}
.says-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-top:1px solid var(--line);font-size:14px}
.says-row span{flex:1;min-width:0;display:grid;gap:1px}.says-row small{color:var(--muted);font-size:12px}
.soon-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin:14px 0;display:grid;gap:2px;text-align:start}
.soon-card>b{font-size:13px;margin-bottom:4px}
.soon-card a{display:flex;gap:10px;align-items:baseline;padding:7px 0;border-top:1px solid var(--line);font-size:14px;color:inherit;text-decoration:none}
.soon-card a span{flex:1;min-width:0}.soon-card a small{color:var(--muted);white-space:nowrap}.soon-card a em{font-style:normal;font-weight:600;white-space:nowrap}

/* the performance sheet */
.pv-seg{display:inline-flex;gap:4px;background:var(--panel);border:1px solid var(--line);border-radius:999px;padding:4px}
.pv-seg button{border:0;background:none;border-radius:999px;padding:7px 16px;font:inherit;font-weight:600;font-size:13.5px;color:var(--muted);cursor:pointer;min-height:34px}
.pv-seg button.on{background:var(--ink);color:var(--bg)}
.pv-goal{display:grid;grid-template-columns:2fr 1fr 1fr .8fr 1.2fr;gap:8px}
.pv .pf-foot{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}.pv .pf-foot .ed-check{margin-inline-end:auto}
.pv-st{font-size:12.5px;font-weight:600;padding:4px 11px;border-radius:999px;background:var(--panel);border:1px solid var(--line);color:var(--muted);white-space:nowrap}
.pv-st.on,.pv-st.reached{background:var(--accent);color:var(--accent-ink);border-color:transparent}.pv-st.behind{background:var(--warn-bg);color:var(--warn-ink);border-color:transparent}
.pv-ov{width:auto}.pf-row.pv-soc{grid-template-columns:2fr 1fr 30px}
@media(max-width:860px){.pv-goal{grid-template-columns:1fr 1fr}.pv-goal>:first-child{grid-column:1/-1}}
.pv .pf-foot select.find{width:auto;flex:none;min-width:150px}
.pv .pf-foot>button{flex:none}
/* performance reports, one per month */
.pv-months{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin:4px 0 22px}
.pv-months>button{border:1px solid var(--line);background:var(--panel);border-radius:999px;padding:8px 15px;font:inherit;font-size:13.5px;font-weight:600;color:var(--muted);cursor:pointer;min-height:38px}
.pv-months>button.on{background:var(--ink);color:var(--bg);border-color:transparent}
.pv-months>.pv-plus{border-style:dashed;color:var(--ink)}
.pv-add{display:inline-flex;gap:6px;align-items:center}.pv-add .find{width:auto}
.pv-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.pv-head h2{margin:0}
.pv label.ed-f{display:grid;gap:4px;min-width:0}.pv label.ed-f>span{font-size:12px;color:var(--muted)}
.pf-row.pv-soc{grid-template-columns:2fr 1.2fr 1fr 30px;align-items:end}
.pv-ovl{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.pv-del{border:0;background:none;color:var(--muted);font:inherit;font-size:13px;text-decoration:underline;cursor:pointer;padding:6px 0}
@media(max-width:860px){.pf-row.pv-soc{grid-template-columns:1fr 1fr}}

/* a client's screen: the picture and name open the profile, the client hub sits in the header, the work is in tabs */
.cav{width:60px;height:60px;border-radius:50%;background:var(--ink);color:var(--accent);display:grid;place-items:center;font-family:Archivo,sans-serif;font-weight:600;font-size:23px;flex:none;overflow:hidden}
.cav img{width:100%;height:100%;object-fit:cover;display:block}
.cav.sm{width:42px;height:42px;font-size:17px}.cav.lg{width:96px;height:96px;font-size:36px}
.ch-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:8px}
.ch-who{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none;padding:6px 16px 6px 6px;border-radius:999px;transition:background .15s;min-width:0}
.ch-who:hover,.ch-who:focus-visible{background:var(--panel)}
.ch-av{position:relative;flex:none;border-radius:50%;box-shadow:0 0 0 3px var(--page,var(--bg)),0 0 0 5px var(--ink)}
.ch-av em{position:absolute;top:-5px;right:-5px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--warn);color:#fff;font:800 12px/22px Archivo,sans-serif;text-align:center;box-shadow:0 0 0 2px var(--page,var(--bg))}
.ch-who h1{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.1}.ch-who small{color:var(--muted);font-size:13px}
.ch-view{font-size:12.5px;font-weight:600;color:var(--muted);opacity:0;transition:opacity .15s;white-space:nowrap}.ch-who:hover .ch-view,.ch-who:focus-visible .ch-view{opacity:1}
.ch-hub{margin-left:auto;display:flex;align-items:center;gap:8px;background:var(--panel);border-radius:999px;padding:5px 5px 5px 16px;font-size:13.5px;font-weight:600;white-space:nowrap}
.ch-dot{width:9px;height:9px;border-radius:50%;background:var(--muted)}.ch-dot.on{background:var(--ok)}
.ch-tabs{display:flex;gap:2px;margin:18px 0 16px;border-bottom:1px solid var(--line);overflow-x:auto}
.ch-tabs button{border:0;background:none;font:inherit;font-weight:600;font-size:15px;color:var(--muted);padding:12px 16px;border-bottom:3px solid transparent;margin-bottom:-1px;cursor:pointer;white-space:nowrap;display:flex;gap:8px;align-items:center;min-height:44px}
.ch-tabs button.on{color:var(--ink);border-color:var(--ink)}
.ch-tabs i{font-style:normal;font-size:11.5px;font-weight:700;border-radius:999px;padding:2px 8px;background:var(--warn-bg);color:var(--warn-ink)}
.ch-panel{max-width:none}.ch-panel .cl2-h{justify-content:flex-end}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* the profile reads as a profile: picture, name, facts; what the client told us is set apart */
.pc{display:flex;gap:20px;align-items:center;flex-wrap:wrap;background:var(--bg);border-radius:12px;padding:22px;margin:10px 0 16px}
.pc h1{margin:0;font-size:28px}.pc small{color:var(--muted)}
.pc-av{position:relative;cursor:pointer;border-radius:50%;display:block}
.pc-av>span:last-child{position:absolute;inset:auto 0 0 0;text-align:center;font-size:11.5px;font-weight:700;color:#fff;background:rgba(0,0,0,.6);padding:4px 0 7px;border-radius:0 0 96px 96px;opacity:0;transition:opacity .15s}
.pc-av:hover>span:last-child,.pc-av:focus-within>span:last-child{opacity:1}
.pc-av.ro{cursor:default}.pc-av.ro>span:last-child{display:none} /* the picture, for someone who may not change the client's details (8 November 2026) */
.pc-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.pc-chips span{font-size:12.5px;font-weight:600;background:var(--panel);border-radius:999px;padding:5px 11px}
.pc-rm{border:0;background:none;color:var(--muted);font:inherit;font-size:12.5px;text-decoration:underline;cursor:pointer;padding:6px 0 0;display:block}
.pc-says{background:var(--tint-amber);color:var(--ink);border-radius:12px;padding:6px 18px 8px;margin:0 0 18px;max-width:none}
.pc-says h2{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--warn-ink);margin:0;padding:12px 0 6px}
.pc-says .says-row{border-color:var(--line)}.pc-says .says-row small{color:var(--muted)}
@media(max-width:860px){.ch-hub{margin-left:0;flex:1;justify-content:space-between}.ch-view{display:none}}

/* the client list without the brand book and month columns */
.ct-tr{grid-template-columns:minmax(150px,1.6fr) minmax(0,1fr) minmax(0,1.1fr) 90px 90px minmax(0,170px)}
.ct-status{justify-content:flex-end}
@media(max-width:860px){.ct-tr:not(.ct-head2) .ct-tick{grid-column:span 3}.ct-status:empty{display:none}}
/* people on a client's profile, as contact cards */
.pp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px;margin-bottom:12px}
.pp-card{background:var(--bg);border-radius:12px;padding:14px;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-items:start;text-align:start;border:0;font:inherit;color:inherit;cursor:pointer;min-width:0}
.pp-card:hover,.pp-card:focus-visible{box-shadow:0 0 0 2px var(--ink)}
.pp-card>i{grid-row:span 4;width:44px;height:44px;border-radius:50%;background:var(--ink);color:var(--accent);display:grid;place-items:center;font-style:normal;font-family:Archivo,sans-serif;font-weight:600;font-size:17px}
.pp-card b{font-size:15px;overflow:hidden;text-overflow:ellipsis}.pp-card small{color:var(--muted);font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pp-card em{font-style:normal;font-size:11.5px;font-weight:700;background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:2px 8px;justify-self:start;margin-top:2px}
.pp-edit{margin-bottom:12px}
.pp-edit .pf-foot .btn-s{width:auto;height:auto;min-height:36px;padding:8px 16px;border-radius:999px;margin-left:auto;font-size:13px}

/* the weekly check-in */
.hc-list{display:grid;gap:8px;margin-top:14px}
.hc-row{background:var(--panel);border-radius:12px;padding:14px 18px;display:grid;grid-template-columns:minmax(140px,1fr) 2.4fr 1.6fr;gap:10px 18px;align-items:center}
.hc-row.done{box-shadow:inset 4px 0 0 var(--ok)}
.hc-name{color:inherit;text-decoration:none;display:grid}.hc-name b{font-family:Archivo,sans-serif;font-size:16px}.hc-name small{color:var(--muted);font-size:12px}
.hc-checks{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;font-size:13.5px}
@media(max-width:900px){.hc-row{grid-template-columns:1fr}.hc-checks{grid-template-columns:1fr}}
/* client health */
.hh-sum{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:10px 0 16px}.hh-sum .btn-s{margin-left:auto}
.hh-pill{border-radius:999px;padding:7px 14px;font-size:13.5px;background:var(--panel)}.hh-pill b{font-family:Archivo,sans-serif;font-size:16px;margin-right:4px}
.hh-pill.red,.hh-score.red,.hh-part i.red{background:var(--bad-bg);color:var(--bad-ink)}.hh-pill.yellow,.hh-score.yellow,.hh-part i.yellow{background:var(--review-bg);color:var(--review-ink)}.hh-pill.green,.hh-score.green,.hh-part i.green{background:var(--ok-bg);color:var(--ok-ink)}
.hh-weights{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end;background:var(--panel);border-radius:12px;padding:14px 18px;margin-bottom:14px}
.hh-weights label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.hh-weights input{width:92px}.hh-weights small{color:var(--muted);flex-basis:100%}
.hh-list{display:grid;gap:8px}
.hh-row{display:grid;grid-template-columns:minmax(170px,1.6fr) 120px repeat(5,minmax(0,1fr));gap:10px;align-items:center;width:100%;text-align:start;font:inherit;color:inherit;border:0;background:var(--panel);border-radius:12px;padding:12px 18px;cursor:pointer}
.hh-head{background:none;cursor:default;font-size:12px;color:var(--muted);padding:4px 18px}.hh-head span{display:grid}.hh-head small{font-size:11px}
.hh-head span:nth-child(n+3),.hh-part{text-align:center;justify-self:center}
.hh-name{display:flex;gap:10px;align-items:center;min-width:0}.hh-name span{display:grid;min-width:0}.hh-name b{font-family:Archivo,sans-serif;font-size:15.5px}.hh-name small{color:var(--muted);font-size:12px}
.hh-main{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.hh-main small{font-size:12px;font-weight:700}.hh-main .up{color:var(--ok)}.hh-main .down{color:var(--bad)}
.hh-score{font-family:Archivo,sans-serif;font-weight:600;font-size:20px;border-radius:10px;min-width:54px;padding:6px 10px;text-align:center;background:var(--bg)}
.hh-part i{font-style:normal;font-weight:700;font-size:13px;border-radius:999px;padding:4px 11px;display:inline-block;min-width:44px;background:var(--bg);color:var(--muted)}
.hh-item.open .hh-row{border-radius:12px 20px 0 0}
.hh-more{background:var(--panel);border-radius:0 0 20px 20px;padding:4px 18px 18px;display:grid;grid-template-columns:1.3fr 1fr;gap:18px;border-top:1px solid var(--line)}
.hh-notes{display:grid;gap:10px;font-size:14px;align-content:start;padding-top:12px}.hh-notes small{display:block;color:var(--muted);font-size:12px}
.hh-stars{display:flex;gap:6px;flex-wrap:wrap;margin-top:5px}.hh-stars em{font-style:normal;font-size:12px;background:var(--bg);border-radius:999px;padding:3px 9px}.hh-stars em.low{background:var(--bad-bg);color:var(--bad-ink)}
.hh-notes q{display:block;margin-top:6px;color:var(--muted)}
.hh-ctx{display:grid;gap:10px;padding-top:12px;align-content:start}.hh-ctx label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.hh-ctx div{display:flex;gap:8px;align-items:center}
@media(max-width:900px){.hh-head{display:none}.hh-row{grid-template-columns:1fr auto}.hh-part{display:none}.hh-more{grid-template-columns:1fr}}

/* client health as a read-only dashboard */
.hc-row{grid-template-columns:minmax(140px,.9fr) 2.2fr 2fr}.hc-notes{display:grid;gap:6px}
.hh-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:10px;margin:14px 0 6px}
.hh-tile{grid-column:span 3;border-radius:12px;padding:16px 18px}.hh-tile b{font-family:Archivo,sans-serif;font-size:40px;letter-spacing:-.04em;line-height:1;display:block}.hh-tile span{font-size:13.5px;font-weight:600}
.hh-tile.red{background:var(--bad-bg);color:var(--bad-ink)}.hh-tile.yellow{background:var(--review-bg);color:var(--review-ink)}.hh-tile.green{background:var(--ok-bg);color:var(--ok-ink)}.hh-tile.none{background:var(--bg);color:var(--muted)}
.hh-c{background:var(--panel);border-radius:12px;padding:16px 18px;min-width:0}.hh-c.w7{grid-column:span 7}.hh-c.w5{grid-column:span 5}.hh-c.w4{grid-column:span 4}
.hh-k{font-size:11.5px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.hh-mix{display:flex;align-items:flex-end;gap:10px;height:170px}
.hh-mix>div{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:2px;height:100%;min-width:0}
.hh-mix i{font-style:normal;font-size:11.5px;font-weight:700;border-radius:5px;display:grid;place-items:center;min-height:16px}
.hh-mix i.green{background:var(--ok-bg);color:var(--ok-ink)}.hh-mix i.yellow{background:var(--review-bg);color:var(--review-ink)}.hh-mix i.red{background:var(--bad-bg);color:var(--bad-ink)}
.hh-mix small{font-size:11.5px;color:var(--muted);text-align:center;margin-top:4px}
.hh-mix .soon i{height:55%;background:repeating-linear-gradient(45deg,var(--line),var(--line) 5px,transparent 5px,transparent 10px);opacity:.6}
.hh-pb{display:grid;grid-template-columns:118px 1fr 34px;gap:10px;align-items:center;font-size:13.5px;padding:6px 0}
.hh-pb u{display:block;height:10px;border-radius:999px;background:var(--line);overflow:hidden;text-decoration:none}.hh-pb u i{display:block;height:100%;border-radius:999px;background:var(--ink)}
.hh-pb.low u i{background:var(--bad)}.hh-pb b{text-align:right;font-variant-numeric:tabular-nums}
.hh-none{display:block;color:var(--muted);font-size:13px;margin-top:8px}
.hh-rk{display:flex;align-items:center;gap:10px;padding:7px 0;border-top:1px solid var(--line);font-size:14px;color:inherit;text-decoration:none}.hh-k+.hh-rk{border-top:0}
.hh-rk span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hh-rk em,.hh-main em{font-style:normal;font-size:12px;font-weight:700}
.hh-rk .up,.hh-main .up{color:var(--ok)}.hh-rk .down,.hh-main .down{color:var(--bad)}
.hh-rk .hh-score{font-size:14px;min-width:40px;padding:3px 9px;border-radius:10px}
.hh-score.none{color:var(--muted)}.hh-main small{font-weight:500;color:var(--muted)}
.hh-bar{display:flex;justify-content:flex-end;margin:10px 0 2px}
.hh-more{grid-template-columns:1fr 1fr;padding-top:14px}.hh-more .btn-s{display:inline-block;margin-top:12px}
.hh-notes{padding-top:0}
.hh-line{display:block;width:100%;height:70px;color:var(--ink)}.hh-line circle.red{fill:var(--bad)}.hh-line circle.yellow{fill:var(--review)}.hh-line circle.green{fill:var(--ok)}
.hh-lx{display:flex;justify-content:space-between;font-size:12px;margin:2px 0 14px}
.hh-tl{display:grid;gap:8px}.hh-tl>div{background:var(--bg);border-radius:10px;padding:10px 13px;font-size:14px}.hh-tl small{display:block;font-size:12px;color:var(--muted);margin-bottom:3px}
.hh-tl .w{box-shadow:inset 4px 0 0 var(--warn)}.hh-tl .miss{color:var(--muted)}
@media(max-width:900px){.hh-tile{grid-column:span 6}.hh-c.w7,.hh-c.w5,.hh-c.w4{grid-column:1/-1}.hc-row{grid-template-columns:1fr}}

.tour-tip.busy{opacity:.6;pointer-events:none}

.ct-sample{font-style:normal;font-family:"Instrument Sans",system-ui,sans-serif;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;background:var(--accent);color:var(--accent-ink);border-radius:999px;padding:3px 9px;margin-inline-start:8px;vertical-align:middle}
.hh-item.demo{opacity:.92}.tour-link{display:inline-block;margin-top:10px;font-weight:700;font-size:14px;color:inherit;text-decoration:underline;text-underline-offset:3px}

.tour-dots{min-width:0;flex-wrap:wrap}.tour-dots b{font-size:12.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.tour-foot>span:last-child{display:flex;align-items:center;flex:none}

/* Staging copy only: functions/_middleware.js marks the page, this shows the strip. Never appears on the live Hub. */
html[data-stage]::before{content:"STAGING · test copy · nothing here reaches clients";position:fixed;left:0;right:0;bottom:0;z-index:99999;padding:5px 10px;background:var(--warn);color:#fff;font:600 12px/1.3 system-ui,sans-serif;text-align:center;letter-spacing:.02em;pointer-events:none}
html[data-stage] body{padding-bottom:28px}

/* Admin: backups */
#bkBody .bk-bad{color:var(--bad)}
#bkBody .bk-pick{gap:10px;flex-wrap:wrap;justify-content:flex-start}
#bkBody select{font:inherit;padding:4px 8px;border-radius:8px;border:1px solid var(--line,#ddd);background:transparent;color:inherit}
.nav-flag{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--bad,#d33);margin-inline-start:auto;flex:none;font-style:normal}

/* Admin: error log */
#erBody details.er{border-top:1px solid var(--line,#e6e6e6);padding:9px 0}
#erBody details.er summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;list-style:none}
#erBody details.er summary::-webkit-details-marker{display:none}
#erBody details.er summary span{display:flex;flex-direction:column;gap:2px;min-width:0}
#erBody details.er summary b{font-weight:600;overflow-wrap:anywhere}
#erBody details.er summary>small{white-space:nowrap}
#erBody details.er pre{margin:8px 0 2px;padding:10px;border-radius:10px;background:rgba(127,127,127,.12);font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}

/* Month editor: someone else changed the same thing */
.ed-conf{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:10px 0;padding:12px 14px;border-radius:10px;background:var(--review-bg);color:var(--review-ink);border:1px solid var(--review-line);font-size:14px}
.ed-conf-b{display:flex;gap:8px;flex:none}

/* Phones: the client list's sort buttons wrap instead of running into each other; long names in Admin wrap inside the card */
@media(max-width:900px){
  .ct-tr.ct-head2{display:flex;flex-wrap:wrap;gap:6px 14px;position:static}
  .ct-tr.ct-head2>*{flex:none;white-space:nowrap}
  #p-qs .row{flex-wrap:wrap}
  #p-qs .row>span,#p-qs .row>small{min-width:0;overflow-wrap:anywhere}
}

/* Activity: who changed what */
.act-list{padding-top:6px;padding-bottom:6px}
.act-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px;padding:11px 0;border-bottom:1px solid var(--line)}
.act-row:last-child{border-bottom:0}
.act-main{min-width:0;flex:1 1 320px;font-size:14.5px;overflow-wrap:anywhere}
.act-main small{color:var(--muted);font-size:12.5px}
.act-meta{display:block;margin-top:2px}
.act-row.by-client .act-main b{color:var(--info)}
.act-do{display:flex;gap:8px;flex:none}
.act-prev{flex:1 1 100%;padding:10px 12px;border-radius:10px;background:rgba(127,127,127,.12);font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}

/* Pill switches reachable by keyboard */
.filters > span:focus-visible,.filters > a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* "A new version is ready" */
.new-ver{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:9997;display:flex;align-items:center;gap:12px;padding:10px 12px 10px 18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:14px;box-shadow:0 8px 30px rgba(0,0,0,.25)}
.new-ver .btn-s{background:var(--bg);color:var(--ink)}
@media(max-width:900px){.new-ver{bottom:84px;width:max-content;max-width:calc(100vw - 24px)}}

/* Admin: Work */
#wkBody details{border-bottom:1px solid var(--line);padding:11px 0}
#wkBody summary{cursor:pointer;list-style-position:inside}
#wkBody summary small,#wkBody .row small{color:var(--muted)}
#wkBody details .sub{margin:8px 0 2px}
.wk-list{display:flex;flex-wrap:wrap;gap:6px 16px;padding:8px 0}
.wk-list label{display:flex;gap:6px;align-items:center;font-size:13.5px;min-height:28px}
.wk-team{border-top:1px solid var(--line);padding:12px 0}
.wk-head{display:flex;gap:10px;align-items:center;justify-content:space-between}
.wk-head .find{font-weight:600;min-width:0;flex:1;max-width:320px}
.wk-chain{display:flex;flex-wrap:wrap;gap:8px 14px;padding:10px 0 2px}
.wk-chain label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}
.wk-pick{min-width:150px}
.wk-foot{border-bottom:0}
.wk-save:not(:disabled){background:var(--ink);color:var(--bg);border-color:var(--ink)}
.wk-save:disabled{opacity:.5;cursor:default}
.wk-qa,.wk-rules label{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13.5px;padding:6px 0}
/* Work: My work, the month's boxes, shoots */
.wk-item{display:flex;justify-content:space-between;align-items:center;gap:8px 14px;flex-wrap:wrap;padding:12px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.card>h3+.wk-item,.wk-h+.wk-item{border-top:0}
.wk-item.done .wk-what{opacity:.55}
.wk-what{min-width:0;flex:1 1 260px}.wk-what p{margin:3px 0}.wk-what small{color:var(--muted)}.wk-what>small:last-child{display:block}.wk-what small a{color:inherit;text-decoration:underline}
.wk-plan{white-space:pre-wrap;color:var(--muted)}
.wk-item.fresh p{font-weight:600}
.wk-item>.wk-form{flex:1 1 100%}
.wk-h{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:14px 0 0;padding-top:12px;border-top:1px solid var(--line);font-weight:600}
.card>h3+.wk-h{border-top:0;padding-top:0;margin-top:4px}
.wk-do{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.wk-chips{display:flex;flex-wrap:wrap;gap:6px}
.wk-tag{font-style:normal;font-size:12px;border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--muted);white-space:nowrap}
.wk-tag.ok,.wk-tag.done,.wk-tag.confirmed{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.wk-tag.changes,.wk-tag.hot,.wk-tag.declined{border-color:var(--bad);color:var(--bad)}
.wk-tag.waiting,.wk-tag.open,.wk-tag.doing{color:var(--ink)}
.wk-form{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;margin-top:8px}.wk-form textarea{flex:1 1 260px;min-width:0;resize:vertical}
.wk-book{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 14px;padding:10px 0}
.wk-book label,.wk-lab{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}
.wk-book .find{min-width:0;width:100%;color:var(--ink)}.wk-book .wk-wide{grid-column:1/-1}.wk-book .wk-qa,.wk-book .wk-list label{flex-direction:row;align-items:center;color:var(--ink);font-size:13.5px}
.wk-tabs{margin:0 0 14px}.wk-tabs a{color:inherit;text-decoration:none;padding:6px 14px;border-radius:999px;border:1px solid var(--line);font-size:13.5px}.wk-tabs a.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.wk-area{display:flex;flex-direction:column;gap:8px;margin:0 0 12px}
.wk-box{border:1px solid var(--line);border-radius:10px;padding:4px 14px}
.wk-box.flat{padding:8px 14px}
.wk-box>header{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between;padding:6px 0}
.wk-fold{font:inherit;color:inherit;background:none;border:0;padding:4px 0;cursor:pointer;text-align:start}.wk-fold small,.wk-box>header>small{color:var(--muted)}
.wk-fold::before{content:"▾";display:inline-block;width:16px;color:var(--muted)}.wk-box.shut .wk-fold::before{content:"▸"}
.wk-line{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;justify-content:space-between}
.wk-note{font-size:13.5px;margin:8px 0;color:var(--muted)}.wk-note.esc{color:var(--bad)}
.tabbar a.dot{position:relative}.tabbar a.dot::after{content:"";position:absolute;top:2px;left:calc(50% + 8px);width:8px;height:8px;border-radius:50%;background:var(--bad)}
/* Post library */
.lb-find{display:flex;flex-direction:column;gap:10px}
.lb-q{width:100%;min-width:0;font-size:16px;padding:12px 16px}
.lb-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.lb-filters .find{min-width:0;flex:1 1 150px;max-width:240px}
.lb-group{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:baseline}.lb-group>small{color:var(--muted);font-size:12px;min-width:92px}
.lb-cloud{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 240px}.lb-cloud.topics{max-height:96px;overflow:auto}
.lb-tag{font:inherit;font-size:12.5px;border:1px solid var(--line);border-radius:999px;padding:3px 10px;background:var(--bg);color:var(--ink);cursor:pointer}
.lb-tag i{font-style:normal;color:var(--muted);font-size:11.5px}.lb-tag.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.lb-tag.on i{color:inherit;opacity:.7}
.lb-count{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 2px 10px}.lb-count b{font-size:15px}
.lb-list{display:flex;flex-direction:column;gap:10px}
.lb-card{display:flex;gap:14px;background:var(--card,var(--bg));border:1px solid var(--line);border-radius:12px;padding:12px}
.lb-pic{flex:0 0 120px;height:120px;border-radius:12px;overflow:hidden;position:relative;background:var(--line)}.lb-pic img{width:100%;height:100%;object-fit:cover;display:block}
.lb-pic i{position:absolute;right:6px;top:6px;font-style:normal;font-size:11.5px;background:rgba(0,0,0,.7);color:#fff;border-radius:999px;padding:1px 7px}
.lb-body{min-width:0;flex:1;display:flex;flex-direction:column;gap:6px}.lb-meta{color:var(--muted)}.lb-meta b{color:var(--ink)}
.lb-cap{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text;max-height:9em;overflow:auto}
.lb-foot{display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;align-items:center;margin-top:auto}
.lb-more{text-align:center;margin:14px 0}
.lb-set{margin-bottom:12px}.lb-inds{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 14px;max-height:340px;overflow:auto}
.lb-inds label{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}.lb-inds .find{min-width:0;width:100%}
.lb-up{cursor:pointer}
@media (max-width:560px){.lb-card{flex-direction:column}.lb-pic{flex:none;width:100%;height:200px}}
/* Work in the month: three thin rows in one frame */
.wk-area{display:block;border:1px solid var(--line);border-radius:10px;padding:0 14px;margin:0 0 12px}
.wk-sec{padding:8px 0;border-top:1px solid var(--line)}.wk-sec:first-child{border-top:0}
.wk-rowline{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.wk-name{flex:0 0 68px;font-size:13.5px}
.wk-groups{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;flex:1 1 300px;min-width:0;font-size:13.5px}.wk-groups>small{color:var(--muted)}
.wk-grp{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;border:1px solid var(--line);border-radius:12px;padding:3px 5px 3px 10px;min-height:34px}
.wk-grp.changes{border-color:var(--bad)}.wk-grp.ok{border-color:var(--ink)}
.wk-gl{font-size:13px}.wk-gl small{color:var(--muted)}
.wk-grp .btn-s,.wk-end .btn-s{padding:4px 10px;font-size:12.5px}
.wk-end{margin-left:auto;padding-left:10px;border-left:1px solid var(--line)}.wk-end:empty{display:none}
button.wk-post{cursor:pointer;background:var(--bg);font:inherit;font-size:12px}button.wk-post:hover{border-color:var(--ink);color:var(--ink)}
.wk-brief{display:flex;flex-direction:column;gap:6px}.wk-brief>label{display:flex;justify-content:space-between;align-items:center;gap:8px}
.wk-brief .find{min-width:0;width:100%}
.wk-ref{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.wk-ref img{width:64px;height:64px;object-fit:cover;border-radius:10px;display:block}.wk-ref label{cursor:pointer}.wk-said{color:var(--muted)}
.wk-brief>small{color:var(--muted);font-size:12px;margin-top:4px}
/* Work: discussion on a post */
.wk-talk{display:flex;flex-direction:column;gap:6px}.wk-talk>label{display:flex;justify-content:space-between;align-items:center;gap:8px}.wk-talk>label small{color:var(--muted);font-weight:400}
.wk-thread{display:flex;flex-direction:column;gap:6px;max-height:320px;overflow:auto}
.wk-say{border:1px solid var(--line);border-radius:12px;padding:7px 10px;background:var(--bg)}.wk-say small{color:var(--muted);font-size:11.5px}.wk-say small b{color:var(--ink)}
.wk-say p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13.5px}.wk-say .btn-s{margin-top:6px;padding:3px 10px;font-size:12px}
.wk-say.edit{border-color:var(--bad)}.wk-say.done{opacity:.6}.wk-say.client{border-style:dashed}
.wk-write{position:relative;display:flex;flex-direction:column;gap:6px}.wk-write .find{min-width:0;width:100%}
.wk-at{position:absolute;left:0;right:0;bottom:100%;background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:4px;display:flex;flex-direction:column;z-index:5;box-shadow:0 6px 20px rgba(0,0,0,.12)}
.wk-at button{font:inherit;font-size:13.5px;text-align:start;background:none;border:0;padding:6px 10px;border-radius:8px;color:var(--ink);cursor:pointer}.wk-at button:hover,.wk-at button:focus-visible{background:var(--line)}
.wk-mark{font-size:10.5px;border:1px solid var(--line);border-radius:999px;padding:0 6px;color:var(--muted);margin-inline-start:6px;white-space:nowrap;align-self:center}.wk-mark.hot{border-color:var(--bad);color:var(--bad)}
/* Work: the month as a list, and the design status of a post */
.wk-views{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;padding:14px 24px 0}.wk-vt{display:flex;gap:18px;margin:0}.wk-vt span{cursor:pointer}
.wk-chips{display:flex;flex-wrap:wrap;gap:6px;flex:1 1 200px;min-width:0}.wk-all{margin-inline-start:auto}.wk-err{color:var(--bad)}
.wk-fc{font:inherit;font-size:12px;cursor:pointer;background:none;border:1px solid var(--line);border-radius:999px;padding:3px 10px;color:var(--muted);white-space:nowrap}
.wk-fc.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.wk-fc.changes:not(.on),.wk-fc.stuck:not(.on){border-color:var(--bad);color:var(--bad)}.wk-fc.review:not(.on),.wk-fc.approved:not(.on){border-color:var(--ink);color:var(--ink)}
.wk-plist{padding:8px 24px 20px}.wk-pt{overflow-x:auto}
.ed-panel:not(.wk-listing) .wk-plist,.ed-panel.wk-listing>.ed:not([hidden]){display:none}
.ed-panel:has(>.ed[hidden]) .wk-plist,.ed-panel:has(>.ed[hidden]) .wk-views{display:none}
.wk-lr{--rb:var(--panel);display:grid;grid-template-columns:30px 32px 48px 96px 80px minmax(210px,2fr) minmax(150px,1.2fr) minmax(120px,1fr) 176px 150px 150px 96px;min-width:1340px;height:44px;border-top:1px solid var(--line);align-items:center;font-size:13.5px;cursor:pointer}
.wk-lr.head{border-top:0;cursor:default;height:30px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.wk-lr:not(.head):not(.none):hover{--rb:color-mix(in srgb,var(--panel) 93%,var(--ink))}.wk-lr:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.wk-lr>span{min-width:0;height:100%;display:flex;align-items:center;padding:0 8px;background:var(--rb);overflow:hidden}
.wk-lr>span[dir]{display:block;line-height:43px;white-space:nowrap;text-overflow:ellipsis}
.wk-lr>span:nth-child(-n+4){position:sticky;z-index:1}.wk-lr>span:nth-child(1){left:0;padding:0 6px}.wk-lr>span:nth-child(2){left:30px;padding:0 4px}.wk-lr>span:nth-child(3){left:62px;padding:0 4px}.wk-lr>span:nth-child(4){left:110px;white-space:nowrap}
.wk-lr.sel{--rb:color-mix(in srgb,var(--panel) 80%,var(--accent))}.wk-r1.sel{background:color-mix(in srgb,var(--panel) 80%,var(--accent))}
.wk-lr small{color:var(--muted);font-size:12px}.wk-lr.none{cursor:default;display:flex;padding:0 8px}
.wk-lp img{width:36px;height:36px;object-fit:cover;border-radius:8px;display:block}
.wk-plist .ed-add{margin-top:12px}
select.wk-st{min-width:0;width:100%;max-width:168px;height:30px;min-height:0;padding:0 10px;font-size:12.5px;border-radius:999px;border:1px solid var(--line);background-color:var(--bg);color:var(--ink)}
.wk-brief>label select.wk-st{width:auto}
select.wk-st.none{color:var(--muted)}select.wk-st.requested,select.wk-st.doing{border-color:var(--ink)}
select.wk-st.review{background-color:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}
select.wk-st.approved{background-color:var(--ink);color:var(--bg);border-color:var(--ink);font-weight:600}
select.wk-st.changes,select.wk-st.stuck,.wk-tag.stuck,.wk-mark.changes,.wk-mark.stuck{border-color:var(--bad);color:var(--bad)}
select.wk-st option{background:var(--bg);color:var(--ink);font-weight:400}
.wk-tag.none{color:var(--muted)}.wk-tag.requested,.wk-tag.review,.wk-mark.review,.wk-tag.approved{color:var(--ink);border-color:var(--ink)}
@media (max-width:860px){.wk-views,.wk-plist{padding-left:16px;padding-right:16px}.wk-lr>span:nth-child(3),.wk-lr>span:nth-child(4){position:static}}
/* Work: the checks button beside Publish, and its panel */
.wk-ck{position:relative;display:inline-flex}.wk-ck:empty{display:none}
.ed-top .ed-right .wk-ckb.hot{background:var(--accent);color:var(--accent-ink);padding:6px 12px;border-radius:999px}
.wk-pop{position:absolute;top:calc(100% + 10px);inset-inline-end:0;z-index:30;width:min(380px,calc(100vw - 32px));background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:6px 14px;box-shadow:0 12px 34px rgba(0,0,0,.16);font-size:13.5px}
.wk-pl{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:9px 0;border-top:1px solid var(--line)}.wk-pop>.wk-pl:first-child{border-top:0}.wk-pl small{color:var(--muted)}
.wk-pl .wk-do{flex-basis:100%;justify-content:flex-end}
.ed-top .ed-right .wk-pop .btn-s{background:var(--panel);padding:5px 12px;min-height:30px;border-radius:999px;font-size:12.5px;font-weight:500}.ed-top .ed-right .wk-pop .btn-s.pri{background:var(--ink);color:var(--bg)}
.wk-pop .wk-form{display:flex;flex-direction:column;gap:6px;padding:8px 0}.wk-pop .wk-form .find{width:100%;min-width:0;height:72px;min-height:0}.wk-pop .wk-note{margin:0 0 8px}
@media (max-width:560px){.wk-pop{position:fixed;left:16px;right:16px;top:auto;bottom:calc(84px + env(safe-area-inset-bottom,0px));width:auto}}
/* The menu: five places to work, one "Resources" line that opens, Admin at the bottom */
.nav{flex:1;display:flex;flex-direction:column;gap:4px}
.nav #navQs{margin-top:auto}
.nav-more{font:inherit;color:inherit;background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:8px;min-height:40px;padding:10px 16px;border-radius:999px;margin-top:10px;color:var(--muted);text-align:start}
.nav-more:hover{background:var(--panel)}.nav-more:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.nav-more svg{width:14px;height:14px;margin-inline-start:auto;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .12s}
.nav-more[aria-expanded="true"] svg{transform:rotate(90deg)}
.nav-more i{width:8px;height:8px;border-radius:50%;background:var(--accent);display:none}.nav-more.dot[aria-expanded="false"] i{display:block}
.nav-in{display:flex;flex-direction:column;gap:2px;padding-inline-start:10px}.nav-in a{min-height:36px;padding:7px 16px;font-size:14px}
.nav-in .theme{margin:0;padding:7px 16px;font-size:14px;border-radius:999px}
aside .me{margin-top:8px}
.more{display:none}
@media(max-width:860px){
  .more:not([hidden]){display:grid;grid-template-columns:1fr 1fr;gap:6px;position:fixed;left:12px;right:12px;bottom:calc(74px + env(safe-area-inset-bottom,0px));background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:40}
  .more a{padding:14px 16px;border-radius:12px;background:var(--panel);font-size:15px;color:inherit;text-decoration:none}.more a.on{background:var(--ink);color:var(--bg)}
  .tabbar button{font:inherit;background:none;border:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--muted);padding:4px 0;min-height:56px;justify-content:center}
  .tabbar button.on,.tabbar button[aria-expanded="true"]{color:var(--ink);font-weight:600}.tabbar button svg{fill:currentColor;stroke:none}
  .tabbar a{justify-content:center}
}
/* (old) the menu, in groups */
.nav-g{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:14px 16px 2px;font-weight:600}
/* A client's team chat */
.ch-chat{position:relative}.ch-chat em{font-style:normal;font-size:11px;font-weight:700;background:var(--bad);color:#fff;border-radius:999px;padding:0 6px;margin-inline-start:6px}.ch-chat em:empty{display:none}
.wk-chat{display:flex;flex-direction:column;gap:10px}
.wk-msgs{display:flex;flex-direction:column;gap:6px;height:min(calc(56vh / var(--z, 1)),560px);overflow:auto;padding:2px}
.wk-msg{max-width:min(78%,640px);border:1px solid var(--line);border-radius:10px;padding:7px 12px;background:var(--bg);align-self:flex-start}
.wk-msg.mine{align-self:flex-end;background:var(--ink);color:var(--bg);border-color:var(--ink)}
.wk-msg small{font-size:11.5px;color:var(--muted)}.wk-msg.mine small{color:inherit;opacity:.7}.wk-msg small b{color:inherit}
.wk-msg p{margin:2px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}
.wk-day{align-self:center;font-size:11.5px;color:var(--muted);margin:8px 0 2px}.wk-empty{margin:auto;color:var(--muted)}
/* Shoots: list and calendar */
.wk-bar2{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.wk-bar2 .wk-tabs{margin:0;display:flex;gap:6px}.wk-bar2 .find{min-width:0;flex:0 1 180px}
.wk-when{display:flex;align-items:center;gap:6px}.wk-when b{min-width:128px;text-align:center;font-size:14.5px}.wk-when .btn-s{padding:4px 11px;font-size:15px;line-height:1}
.wk-cal{margin-top:10px}
.wk-dow{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;padding:0 2px 4px}
.wk-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.wk-cell{min-height:92px;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:5px;display:flex;flex-direction:column;gap:3px;align-items:stretch;text-align:start;font:inherit;color:inherit;cursor:pointer;min-width:0}
.wk-cell.out{border-color:transparent;background:none;cursor:default}
.wk-cell.off{background:repeating-linear-gradient(135deg,transparent 0 6px,var(--line) 6px 7px)}
.wk-cell.today .wk-dn{background:var(--ink);color:var(--bg)}
.wk-cell.on{box-shadow:0 0 0 2px var(--ink)}.wk-cell:focus-visible{outline:2px solid var(--ink);outline-offset:1px}
.wk-dn{font-size:12px;font-variant-numeric:tabular-nums;align-self:flex-start;border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;color:var(--muted)}
.wk-chip{font-size:11.5px;border-radius:6px;padding:2px 5px;background:var(--line);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-chip.confirmed{background:var(--ink);color:var(--bg)}.wk-chip.declined{outline:1px solid var(--bad);color:var(--bad);background:none}.wk-chip.cancelled{text-decoration:line-through;opacity:.55}.wk-chip.more{background:none;color:var(--muted)}
.wk-dots{display:none;font-style:normal}
@media (max-width:640px){.wk-cell{min-height:52px;align-items:center;padding:4px 2px}.wk-chip{display:none}.wk-dn{align-self:center}.wk-cell.has .wk-dots{display:grid;place-items:center;min-width:18px;height:18px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:11px}.wk-when b{min-width:104px}}
/* Production line and a shoot's checklist */
.wk-top{margin:0 0 14px;display:flex;gap:6px}
.wk-table{display:flex;flex-direction:column;margin-top:6px}
.wk-tr{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,1.2fr) minmax(0,1.2fr) minmax(0,1.3fr) minmax(0,1fr);gap:6px 14px;padding:10px 0;border-top:1px solid var(--line);color:inherit;text-decoration:none;align-items:start;font-size:13.5px}
.wk-tr.head{border-top:0;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding-bottom:4px}
.wk-tr span{min-width:0;overflow-wrap:anywhere}.wk-tr small{display:block;color:var(--muted);font-size:12px}.wk-tr.late>span:last-child{color:var(--bad)}
a.wk-tr:hover b{text-decoration:underline}
@media (max-width:860px){.wk-tr{grid-template-columns:1fr 1fr}.wk-tr>span:first-child{grid-column:1/-1}.wk-tr.head{display:none}}
.wk-step{padding:12px 0;border-top:1px solid var(--line)}.wk-step.off{opacity:.6}
.wk-st-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 14px}
.wk-need{font-size:12.5px;color:var(--muted);font-weight:400;margin-inline-start:8px;white-space:nowrap}
.wk-fill{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;align-items:center}.wk-fill textarea{flex:1 1 100%;min-width:0;resize:vertical}.wk-fill input{flex:1 1 260px;min-width:0}
.wk-cat{padding:6px 0;gap:10px;flex-wrap:wrap}@media (min-width:601px){.wk-cat{display:grid;grid-template-columns:minmax(0,320px) 1fr 90px}.wk-cat label{justify-self:end}.wk-cat>button{justify-self:end}}/* the same columns on every row, with or without Remove */.wk-cat label{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--muted)}.wk-cat input[type=number]{width:74px;min-width:0}

/* Work: lists where every line is the same height. One line of text per cell; wider than the screen, the list scrolls sideways. */
.wk-t1{overflow-x:auto;margin-top:8px}
.wk-r1{display:grid;grid-template-columns:var(--c);min-width:var(--w);height:44px;align-items:center;border-top:1px solid var(--line);color:inherit;text-decoration:none;font-size:13.5px}
.wk-r1.head{border-top:0;height:30px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.wk-r1>span{min-width:0;padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wk-r1>span:first-child{padding-inline-start:0}
.wk-r1 .wk-tag{margin-inline-end:4px}.wk-r1.late>span:last-child{color:var(--bad)}.wk-r1.off{opacity:.5}
a.wk-r1:hover{background:var(--well,rgba(0,0,0,.03))}a.wk-r1:hover b{text-decoration:underline}
.wk-asg{font-size:13.5px;color:var(--muted)}.wk-asg b{color:var(--ink)}
.wk-sub{margin:16px 0 0;display:flex;gap:8px;align-items:center}.wk-sub i{font-style:normal;color:var(--muted)}
.wk-r1 select.wk-st,.wk-r1 input.wk-st{max-width:100%;width:100%;height:30px;min-height:0;padding:0 8px;font-size:12.5px;border-radius:999px;border:1px solid var(--line);background-color:var(--bg);color:var(--ink)}
.wk-r1 a{color:inherit;text-decoration:none}.wk-r1 a:hover b{text-decoration:underline}.wk-r1 small{color:var(--muted)}
div.wk-r1:not(.head):hover{background:rgba(0,0,0,.025)}
.wk-tabs a .wk-tag{margin-inline-start:6px;font-size:11px;padding:1px 7px}
#wkJob{margin-top:14px}#wkJob .wk-do small{color:var(--muted)}
.wk-bulk{align-items:center;gap:10px}.wk-bulk select.wk-st{width:auto;max-width:200px;height:30px;min-height:0;padding:0 10px;font-size:12.5px;border-radius:999px;border:1px solid var(--ink);background-color:var(--bg);color:var(--ink)}
.wk-r1>span:first-child input,.wk-lr input[type=checkbox]{width:16px;height:16px;margin:0;cursor:pointer}
.wk-jd{padding:10px 8px 14px 34px;border-top:1px dashed var(--line);display:flex;flex-direction:column;gap:8px;align-items:flex-start;min-width:var(--w);font-size:13.5px}.wk-jd p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-width:70ch}
.wk-refs{display:flex;flex-wrap:wrap;gap:8px}.wk-refs img{width:72px;height:72px;object-fit:cover;border-radius:10px;display:block}
/* Shoots: a new line to book one, and the shoot's own page */
.wk-new{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 0 2px;border-top:1px solid var(--line);margin-top:0}
.wk-new .find{min-width:0;width:auto;height:34px;min-height:0;padding:0 10px;font-size:13px}.wk-new select.find{max-width:170px}
.wk-newwho{display:flex;gap:10px;font-size:13px}.wk-newwho label{display:flex;gap:5px;align-items:center}
.wk-sbar{display:inline-flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;background:var(--bg)}
.wk-sbar button,.wk-sbar span{font:inherit;font-size:13px;border:0;background:none;color:var(--muted);padding:7px 14px;cursor:pointer;border-inline-start:1px solid var(--line)}.wk-sbar>:first-child{border-inline-start:0}
.wk-sbar .was{color:var(--ink)}.wk-sbar .on{background:var(--ink);color:var(--bg);font-weight:600}.wk-sbar button:hover:not(.on){background:var(--panel)}
.wk-facts{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;padding-top:12px}.wk-facts small{color:var(--muted)}.wk-facts .find{flex:1 1 220px;min-width:0;height:34px;min-height:0;font-size:13px}
.wk-cks{display:flex;flex-wrap:wrap;gap:6px 18px;padding-top:12px}.wk-ck2{display:flex;gap:6px;align-items:center;font-size:13.5px;cursor:pointer}.wk-ck2.late,.wk-lk.late,.wk-tabs a.late{color:var(--bad)}
.wk-lks{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px 16px;padding-top:12px}
.wk-lk{display:flex;flex-direction:column;gap:4px;font-size:12.5px;color:var(--muted)}.wk-lk>span{display:flex;gap:6px;align-items:center}.wk-lk .find{flex:1;min-width:0;height:34px;min-height:0;font-size:13px}

/* ---- Lists as tables: column icons, lines between cells, groups by status, soft coloured tags, a floating bar for what is ticked ---- */
.wk-ic{width:14px;height:14px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-2px;margin-inline-end:6px;transition:transform .12s}.wk-ic.open{transform:rotate(90deg)}
.wk-r1>span,.wk-lr>span{border-inline-start:1px solid var(--line)}.wk-r1>span:first-child,.wk-lr>span:first-child{border-inline-start:0}
.wk-r1>span{height:100%;display:flex;align-items:center;gap:4px}.wk-r1>span[dir]{display:block;line-height:43px}.wk-r1.head>span{line-height:29px}
.wk-r1.wk-gr>span:first-child{justify-content:center;padding:0}
.wk-top2{align-items:center}.wk-top2 .wk-end{border:0;gap:8px}.wk-search{width:180px;min-width:0;height:36px;min-height:0;font-size:13px}
.wk-top2 .btn-s.on{box-shadow:inset 0 0 0 1.5px var(--ink)}
.wk-fpop{display:grid;gap:10px;padding:14px;width:min(260px,calc(100vw - 32px))}.wk-fpop label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.wk-fpop .find{min-width:0;width:100%;height:36px;min-height:0;font-size:13px}
.wk-gh{display:flex;align-items:center;justify-content:space-between;min-width:var(--w,0);background:var(--bg);border-radius:10px;margin-top:14px;padding:0 6px 0 4px;height:36px}
.wk-gh button{font:inherit;background:none;border:0;cursor:pointer;color:var(--ink);display:flex;align-items:center;gap:8px;height:100%;padding:0 6px}
.wk-gh i{width:4px;height:16px;border-radius:2px;background:var(--muted)}.wk-gh em{font-style:normal;font-size:11.5px;color:var(--muted);background:var(--panel);border-radius:6px;padding:1px 7px}
.wk-gh.reserved i{background:var(--muted)}.wk-gh.confirmed i{background:var(--info)}.wk-gh.shot i{background:var(--review)}.wk-gh.uploaded i{background:var(--ok)}.wk-gh.cancelled i{background:var(--bad)}.wk-gh.draft i{background:transparent;box-shadow:inset 0 0 0 1.5px var(--muted)}
.wk-plus{font-size:18px!important;color:var(--muted)!important;width:30px;justify-content:center}
.wk-in{width:100%;min-width:0;height:30px;min-height:0;padding:0 6px;font-size:13px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--ink)}
.wk-in:hover:not(:disabled),.wk-in:focus{border-color:var(--line);background:var(--bg)}.wk-in.empty{color:var(--muted);border-style:dashed;border-color:var(--line)}
.wk-gr .btn-s{padding:3px 9px;font-size:12px;min-height:26px}.wk-gr small{overflow:hidden;text-overflow:ellipsis}
/* a group's "+ New …" row (kit.js addRow): the last line of the group, a quiet place to type the next item's name */
.bk-add{border-bottom:1px solid var(--line);background:none}
.bk-add>span{min-height:40px}
.bk-add .bk-add-n{display:flex;flex-direction:column;justify-content:center;min-width:0}
.bk-add input[name=name]{width:100%;border:0;background:none;font:inherit;font-size:13.5px;color:var(--ink);outline:none;padding:9px 6px;border-radius:6px}
.bk-add input[name=name]::placeholder{color:var(--muted)}
.bk-add input[name=name]:focus{background:var(--bg);box-shadow:0 0 0 1px var(--line) inset}
.bk-add:focus-within{background:color-mix(in srgb,var(--bg) 70%,transparent)}
.bk-add select,.bk-add input[type=date]{font-size:12.5px;max-width:100%}
.bk-add-e{color:var(--bad,#c43d3d);font-size:12px;padding:0 6px 4px}
.wk-quick{display:flex;align-items:center;gap:10px;height:44px;border-top:1px solid var(--line);margin:0;padding:0 8px;color:var(--muted)}
.wk-quick input{flex:1;min-width:0;font:inherit;font-size:13.5px;border:0;background:none;color:var(--ink);height:100%;outline:none}.wk-quick:focus-within{background:var(--bg);border-radius:0 0 10px 10px}
.wk-newp{margin:14px 0 4px;padding:14px;border:1px solid var(--line);border-radius:10px}
.wk-title{font:inherit;color:inherit;letter-spacing:inherit;border:0;background:none;width:100%;min-width:0;padding:0;border-radius:8px}.wk-title:hover,.wk-title:focus{background:var(--panel);outline:none}
.wk-sbar span:not(.on){cursor:default}
.wk-tag.warn{border-color:var(--warn);color:var(--warn)}
.wk-tag.hot{background:var(--bad-bg)}.wk-tag.warn{background:var(--warn-bg)}.wk-tag.requested,.wk-tag.doing{background:var(--info-bg);border-color:var(--info-line);color:var(--info-ink)}
.wk-tag.review{background:var(--review-bg);border-color:var(--review-line);color:var(--review-ink)}.wk-tag.approved,.wk-tag.ok{background:var(--ok-bg);border-color:var(--ok-line);color:var(--ok-ink)}
.wk-float{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(22px + env(safe-area-inset-bottom,0px));z-index:45;display:flex;flex-wrap:wrap;align-items:center;gap:10px;background:var(--ink);color:var(--bg);border-radius:10px;padding:10px 14px;box-shadow:0 14px 40px rgba(0,0,0,.28);font-size:13.5px;max-width:calc(100vw - 24px)}
.wk-float .find{min-width:0;width:auto;height:34px;min-height:0;font-size:13px;border-radius:999px;padding:0 12px;background-color:var(--bg);color:var(--ink);border:0}
.wk-float .btn-s{background:rgba(255,255,255,.14);color:inherit;padding:6px 12px;min-height:34px;font-size:13px}.wk-float .btn-s.danger{background:var(--bad);color:#fff}
:root[data-theme="dark"] .wk-float .btn-s{background:rgba(0,0,0,.12)}
@media(max-width:860px){.wk-float{bottom:calc(84px + env(safe-area-inset-bottom,0px))}.wk-search{width:120px}}
.wk-lr.head>span,.wk-r1.head>span{white-space:nowrap;overflow:hidden}

/* ============ The calm look (Oct 2026). Replaces the soft look's lime and pills.
   A grey ground with the menu on it; one white sheet holds the page; boxes are drawn with thin borders.
   Black and white do the work. Colour means status only (ok, info, review, warn, bad); the tint-* colours may
   lightly set apart a box that benefits from it. Archivo stays for headings, at a lighter weight. ============ */
:root{--page:#f2f2f2;--bg:#fff;--panel:#f7f7f7;--soft:#ececec;--line:#e4e4e4;--line-2:#d4d4d4;--muted:#636363;--ink:#0c0c0c;
  --ok:#1a7f37;--ok-bg:#e7f5ec;--ok-ink:#116329;--ok-line:#a8dbb8;
  --info:#2563eb;--info-bg:#eaf1fe;--info-ink:#1d4ed8;--info-line:#b3cbfa;
  --review:#b7791f;--review-bg:#fdf4e2;--review-ink:#7c4f00;--review-line:#f0d39a;
  --warn:#c2410c;--warn-bg:#fdede4;--warn-ink:#9a3412;--warn-line:#f5c2a6;
  --bad:#b42318;--bad-bg:#fdeceb;--bad-ink:#8c1d14;--bad-line:#f4b9b4;
  --tint-blue:#f3f6fc;--tint-green:#f1f7f3;--tint-amber:#fbf7ee;--tint-rose:#fbf2f2;--tint-violet:#f6f3fb;
  --accent:var(--ok-bg);--accent-ink:var(--ok-ink);--radius:8px;--radius-card:12px}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--page:#0b0b0b;--bg:#151515;--panel:#1c1c1c;--soft:#2a2a2a;--line:#2a2a2a;--line-2:#3a3a3a;--muted:#a3a3a3;--ink:#f2f2f2;
  --ok:#4ac26b;--ok-bg:#12271a;--ok-ink:#7ee2a0;--ok-line:#23543a;--info:#6ea8fe;--info-bg:#132037;--info-ink:#9ec5ff;--info-line:#24436f;
  --review:#e3b341;--review-bg:#2a2112;--review-ink:#f2cc60;--review-line:#5a4518;--warn:#f0883e;--warn-bg:#2e1a10;--warn-ink:#ffab70;--warn-line:#6a3416;
  --bad:#f47067;--bad-bg:#331618;--bad-ink:#ffa198;--bad-line:#6e2a2a;
  --tint-blue:#161b24;--tint-green:#151c17;--tint-amber:#1d1a13;--tint-rose:#1f1616;--tint-violet:#1a1722}}
:root[data-theme="dark"]{--page:#0b0b0b;--bg:#151515;--panel:#1c1c1c;--soft:#2a2a2a;--line:#2a2a2a;--line-2:#3a3a3a;--muted:#a3a3a3;--ink:#f2f2f2;
  --ok:#4ac26b;--ok-bg:#12271a;--ok-ink:#7ee2a0;--ok-line:#23543a;--info:#6ea8fe;--info-bg:#132037;--info-ink:#9ec5ff;--info-line:#24436f;
  --review:#e3b341;--review-bg:#2a2112;--review-ink:#f2cc60;--review-line:#5a4518;--warn:#f0883e;--warn-bg:#2e1a10;--warn-ink:#ffab70;--warn-line:#6a3416;
  --bad:#f47067;--bad-bg:#331618;--bad-ink:#ffa198;--bad-line:#6e2a2a;
  --tint-blue:#161b24;--tint-green:#151c17;--tint-amber:#1d1a13;--tint-rose:#1f1616;--tint-violet:#1a1722}
.tint-blue{background:var(--tint-blue)!important}.tint-green{background:var(--tint-green)!important}.tint-amber{background:var(--tint-amber)!important}.tint-rose{background:var(--tint-rose)!important}.tint-violet{background:var(--tint-violet)!important}

/* frame: the menu on the grey ground, the page on one white sheet */
body{background:var(--page)}
aside{padding:18px 12px}
main{background:var(--bg);border:1px solid var(--line);border-radius:14px;margin:10px 10px 10px 0;min-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 20px);padding:28px 36px 44px}
@media(max-width:860px){main{margin:0;border:0;border-radius:0;min-height:0;padding:16px 16px 96px}.tabbar{background:var(--bg);border-top:1px solid var(--line)}}

/* type: Archivo at a lighter weight */
h1,h2,h3{font-weight:500}
h1{font-size:28px;letter-spacing:-.025em}
@media(max-width:860px){h1{font-size:24px}}
.say{font-weight:500}
.cl2-h h2,.st-h,.me-head b,.cm-t b{font-weight:500!important}
.hh-tile b,.hh-pill b{font-weight:500}
.card h3,.ct-head2,.wk-r1.head,.wk-lr.head{letter-spacing:0;text-transform:none;font-size:12.5px}

/* menu */
.nav a{border-radius:var(--radius);padding:8px 12px;min-height:36px;font-size:14px}
.nav a:hover{background:var(--soft)}
.nav a.on{background:var(--bg);color:var(--ink);font-weight:600;box-shadow:0 0 0 1px var(--line)}
.nav a span,.nav a.on span{background:none;color:var(--muted);padding:0;font-size:12px}
.nav-more{border-radius:var(--radius);padding:8px 12px;min-height:36px}.nav-more:hover{background:var(--soft)}
.nav-more i{background:var(--ink)}
.me,a.me{background:var(--bg);border-radius:var(--radius-card);box-shadow:0 0 0 1px var(--line)}
a.me:hover{background:var(--panel)}

/* controls: 8px corners, thin borders, black for the one main action */
.btn-s{border-radius:var(--radius);background:var(--bg);box-shadow:0 0 0 1px var(--line-2) inset;min-height:34px;padding:6px 14px;font-weight:500}
.btn-s:hover{box-shadow:0 0 0 1px var(--ink) inset}
.btn-s.pri{background:var(--ink);color:var(--bg);box-shadow:none}
.btn-s.pri:hover{opacity:.88}
.btn-s.danger{color:var(--bad);box-shadow:0 0 0 1px var(--bad-line) inset}
.btn-s.danger:hover{background:var(--bad-bg)}
.find{border-radius:var(--radius);background:var(--bg);box-shadow:0 0 0 1px var(--line-2) inset;padding:9px 12px;min-height:36px}
.find:hover{box-shadow:0 0 0 1px var(--muted) inset}
textarea.find{border-radius:var(--radius-card);padding:12px 14px}
select.find,select.ct-owner{border-radius:var(--radius)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible,.find:focus-visible,.btn-s:focus-visible,.nav a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.filters span{border-radius:var(--radius);background:var(--bg);box-shadow:0 0 0 1px var(--line-2) inset;padding:6px 12px;min-height:32px;font-size:13px}
.filters span:hover{box-shadow:0 0 0 1px var(--ink) inset}
.filters span.on{background:var(--ink);color:var(--bg);box-shadow:none}
.wk-fc{border-radius:var(--radius);border-color:var(--line-2);padding:4px 10px}
.wk-tabs a{border-radius:var(--radius);border-color:var(--line-2)}
.wk-sbar{border-radius:var(--radius);border-color:var(--line-2)}
.ed-steps button,.ds-nav button{border-radius:var(--radius)}
.ed-steps button.on,.ds-nav button.on{background:var(--ink);color:var(--bg)}
.ds-nav button.on i,.ds-nav button.on:not(.done) i{background:var(--bg);color:var(--ink);border-color:transparent}
.ct-stage{border-radius:var(--radius-card)}
.ct-menu summary{border-radius:var(--radius);box-shadow:0 0 0 1px var(--line-2) inset}
.wk-search,.wk-new .find,.wk-facts .find,.wk-lk .find,.wk-fpop .find{border-radius:var(--radius)}
select.wk-st,.wk-r1 select.wk-st,.wk-r1 input.wk-st,.wk-bulk select.wk-st{border-radius:var(--radius);border-color:var(--line-2)}

/* boxes: white with a thin border on the white sheet; grey only for wells, trays and hover */
.card,.pb,.ct-month,.ed-rail,.ed-insp,.st-item,.st-side,.ct-edit,.sh-set,.ct-book.cp-row,.ct-tr:not(.ct-head2),.me-card,.cm-list,.ds-nav,.ds-main,.sh-ref,.soon-card,.hc-row,.hh-row,.hh-c,.news-item,.done-card,.pf-from,.rm-opt,.rm,.dr,.cm-hero,.cs,.ct-stage{background:var(--bg);box-shadow:0 0 0 1px var(--line) inset}
.card,.pb,.ct-month,.ct-edit,.ct-book.cp-row,.me-card,.cm-list,.ds-main,.cm-hero,.cs{border-radius:var(--radius-card)}
.ct-tr:not(.ct-head2){border-radius:var(--radius-card)}
.ct-tr:not(.ct-head2):hover,.pb:hover,.ct-stage:hover,.ct-month:hover{background:var(--panel)}
.ct-month.new{background:none;box-shadow:0 0 0 1px var(--line-2) inset;border-style:dashed}
.ct-head2{background:var(--bg)}
.ed-panel{background:var(--bg);box-shadow:0 0 0 1px var(--line) inset;border-radius:var(--radius-card)}
.wk-gh{background:var(--panel);border-radius:var(--radius)}
.wk-gh em{background:var(--bg)}
.ed-info{background:var(--panel)}
.ct-badge,.cav,.pp-card>i{color:var(--bg)}

/* status, in colour */
.ct-pill{border-radius:999px;background:var(--panel);color:var(--ink);box-shadow:0 0 0 1px var(--line) inset}
.ct-pill.s-sent,.ct-pill.s-wait,.ct-pill.s-upd,.cm-hero .ct-pill.s-sent,.cm-hero .ct-pill.s-wait,.cm-hero .ct-pill.s-upd{background:var(--info-bg);color:var(--info-ink);box-shadow:0 0 0 1px var(--info-line) inset}
.ct-pill.s-approved,.ct-pill.s-ok{background:var(--ok-bg);color:var(--ok-ink);box-shadow:0 0 0 1px var(--ok-line) inset}
.ct-pill.s-changes,.ct-pill.s-chg{background:var(--warn-bg);color:var(--warn-ink);box-shadow:0 0 0 1px var(--warn-line) inset}
.ct-tick.on i,.cs-row.done>i,.ed-steps button.done b,.ed-steps button.on.done b,.ds-nav button.done i{background:var(--ok);border-color:var(--ok);color:#fff}
.pf-soon span{background:var(--info-bg);color:var(--info-ink)}
.pv-st.on,.pv-st.reached,.pp-card em{background:var(--ok-bg);color:var(--ok-ink)}
.ct-sample{background:var(--soft);color:var(--ink)}
.wk-lr.sel{--rb:var(--soft)}.wk-r1.sel{background:var(--soft)}
select.wk-st.review{background-color:var(--review-bg);color:var(--review-ink);border-color:var(--review-line)}
select.wk-st.approved{background-color:var(--ok-bg);color:var(--ok-ink);border-color:var(--ok-line)}
select.wk-st.requested,select.wk-st.doing{background-color:var(--info-bg);color:var(--info-ink);border-color:var(--info-line)}
select.wk-st.lang{background-color:var(--warn-bg,#fbecd5);color:var(--warn-ink,#8f4a00);border-color:var(--warn-line,#fbc99a)} /* waiting for the language check (lib/langcheck.js) */
select.wk-st.changes,select.wk-st.stuck{background-color:var(--bad-bg);color:var(--bad-ink);border-color:var(--bad-line)}
.wk-tag.review{color:var(--review-ink)}
.ed-top .ed-right .wk-ckb.hot{background:var(--warn-bg);color:var(--warn-ink);border-radius:var(--radius)}
.wk-float{border-radius:var(--radius-card)}
.wk-float .btn-s{box-shadow:none}
.wk-float .btn-s.danger{background:var(--bad);color:#fff}
.hh-pill{box-shadow:0 0 0 1px var(--line) inset}
.hh-tile.none{box-shadow:0 0 0 1px var(--line) inset}
.ct-table{box-shadow:none!important;background:none}

/* ---- Stages (stages.js): ticked stages joined by a line, the current one marked, a stopped one in red ---- */
.stg{display:flex;align-items:center;list-style:none;margin:0;padding:6px 10px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--bg);font-size:13.5px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.stg.bare{border:0;padding:0;background:none;border-radius:0}
.stg.sm{font-size:12.5px;padding:4px 8px}
.stg-s{display:flex;align-items:center;flex:0 0 auto;min-width:0}
.stg-s+.stg-s{flex:1 0 auto}
.stg-s+.stg-s::before{content:"";flex:1 1 44px;min-width:28px;height:1.5px;background:var(--line-2);margin:0 6px}
.stg-s.done+.stg-s::before{background:var(--ok)}
.stg-s.done+.stg-s.bad::before{background:var(--bad)}
.stg-s>button,.stg-s>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;padding:5px 8px;border-radius:6px;color:var(--muted);font:inherit;background:none;border:0;text-align:start}
.stg-s>button{cursor:pointer}.stg-s>button:hover{background:var(--panel);color:var(--ink)}
.stg-i{width:16px;height:16px;flex:none}.stg.sm .stg-i{width:14px;height:14px}
.stg-i .r{fill:none;stroke:var(--line-2);stroke-width:1.5}
.stg-i .k{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.stg-s.done>*{color:var(--ink)}.stg-s.done .stg-i .f{fill:var(--ok)}
.stg-s.now>*{color:var(--ink);font-weight:600}.stg-s.now .stg-i .r{stroke:#f5c400;stroke-width:2}.stg-s.now .stg-i .f{fill:#f5c400} /* the step being worked on is yellow, as everywhere (Rami, 31 October 2026) */
.stg-s.bad>*{color:var(--bad)}.stg-s.bad .stg-i .f{fill:var(--bad)}
.stg-s.sel>button{background:var(--ink);color:var(--bg)}.stg-s.sel>button:hover{background:var(--ink);color:var(--bg)}
.stg-s.sel .stg-i .r{stroke:var(--bg)}.stg-s.sel.now .stg-i .f{fill:var(--bg)}
.stg-s .ed-dot{position:static;margin-inline-start:2px}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .stg-i .k{stroke:#0b0b0b}}
:root[data-theme="dark"] .stg-i .k{stroke:#0b0b0b}
/* a card's left edge can carry its status */
.edge-ok{box-shadow:inset 3px 0 0 var(--ok),inset 0 0 0 1px var(--line)!important}
.edge-info{box-shadow:inset 3px 0 0 var(--info),inset 0 0 0 1px var(--line)!important}
.edge-review{box-shadow:inset 3px 0 0 var(--review),inset 0 0 0 1px var(--line)!important}
.edge-warn{box-shadow:inset 3px 0 0 var(--warn),inset 0 0 0 1px var(--line)!important}
.edge-bad{box-shadow:inset 3px 0 0 var(--bad),inset 0 0 0 1px var(--line)!important}
.wk-hint{color:var(--muted);font-size:12.5px}
#edSteps{background:none;padding:0;gap:0;border-radius:0;box-shadow:none}#edSteps .stg{width:100%}
/* menu icons: a 16px line icon before each label, counts pushed to the end */
.nav a,.nav-more{justify-content:flex-start;gap:10px}
.nav a span{margin-inline-start:auto}
.ni{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.nav a.on .ni{opacity:1}
.nav-in{padding-inline-start:0}
.nav-more .ni{margin-inline-start:0;width:16px;height:16px;stroke-width:1.8;transform:none!important}
aside>.theme{padding:8px 12px;font-size:14px}aside>.theme .ni{width:16px;height:16px}
.nav-in .theme{padding:7px 12px}.nav-in .theme svg{width:16px;height:16px}

/* ---- Side panel (panel.js): one thing in detail, sliding in from the right, the page still behind it ---- */
.sp-back{position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.18);opacity:0;transition:opacity .2s}
.sp-back.in{opacity:1}
.sp{position:fixed;top:10px;right:10px;bottom:10px;z-index:61;width:min(580px,calc(100vw - 20px));display:flex;flex-direction:column;background:var(--bg);border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.22);transform:translateX(calc(100% + 24px));transition:transform .24s cubic-bezier(.2,.8,.2,1)}
.sp.in{transform:none}.sp.now,.sp-back.now{transition:none}
.sp-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}
.sp-h b{display:block;font-family:Archivo,sans-serif;font-weight:500;font-size:19px;letter-spacing:-.01em}.sp-h small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.sp-x{width:32px;height:32px;border-radius:var(--radius);display:grid;place-items:center;font-size:20px;line-height:1;color:var(--muted);flex:none}.sp-x:hover{background:var(--panel);color:var(--ink)}
.sp-b{flex:1;overflow:auto;padding:16px 18px 24px;display:grid;gap:16px;align-content:start}
.sp-b .ed-f{display:grid;gap:6px}.sp-b .ed-f>label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:600;font-size:13.5px}
.sp-b .ed-f .find{width:100%;min-width:0}
.sp-sec{display:grid;gap:6px}.sp-sec>small{color:var(--muted);font-size:12.5px}
.sp-media{display:flex;gap:8px;overflow-x:auto}.sp-media img{height:220px;width:auto;max-width:100%;border-radius:10px;object-fit:cover;background:var(--panel)}
.sp-cap{white-space:pre-wrap;font-size:14.5px;line-height:1.55;margin:0}
.sp-facts{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px;color:var(--muted)}.sp-facts b{color:var(--ink);font-weight:500}
.sp-foot{display:flex;gap:8px;flex-wrap:wrap;padding-top:4px}
@media(max-width:860px){.sp{top:auto;left:0;right:0;bottom:0;width:auto;max-height:calc(88vh / var(--z, 1));border-radius:16px 16px 0 0;transform:translateY(100%)}}
@media(prefers-reduced-motion:reduce){.sp,.sp-back{transition:none}}
/* My work: a month's posts under it, each one opens in the side panel */
.wk-dzp{flex:1 1 100%;display:grid;gap:4px;margin-top:2px}
.wk-dzr{display:grid;grid-template-columns:140px minmax(0,1fr) auto auto;gap:12px;align-items:center;text-align:start;width:100%;padding:8px 10px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg);font-size:13.5px;color:var(--ink);cursor:pointer;transition:background .12s,border-color .12s}
.wk-dzr:hover{background:var(--panel);border-color:var(--line-2)}
.wk-dzr>span:first-child{color:var(--muted);white-space:nowrap}
.wk-dzr>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-dzr .btn-s{min-height:28px;padding:3px 12px;font-size:12.5px}
@media(max-width:860px){.wk-dzr{grid-template-columns:1fr auto}.wk-dzr>span:nth-child(2){grid-column:1/-1;grid-row:2}.wk-dzr .btn-s{display:none}}
/* the month editor: the journey line, then its tools set apart */
#edSteps{display:flex;align-items:center;gap:14px;flex-wrap:wrap}#edSteps .stg{width:auto;flex:1 1 360px}
.ed-tools{display:flex;gap:6px;padding-inline-start:14px;border-inline-start:1px solid var(--line)}
.ed-tool{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 12px;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line-2) inset;font-size:13.5px;color:var(--ink);background:var(--bg)}
.ed-tool:hover{box-shadow:0 0 0 1px var(--ink) inset}
.ed-tool.on{background:var(--ink);color:var(--bg);box-shadow:none}
@media(max-width:860px){.ed-tools{padding-inline-start:0;border:0}}
/* Production: the queues are the page's top level, tabs with an underline above the card */
.wk-qtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:4px 0 18px;overflow-x:auto;scrollbar-width:none}
.wk-qtabs a{display:inline-flex;align-items:center;gap:8px;padding:10px 14px 12px;margin-bottom:-1px;border-bottom:2px solid transparent;color:var(--muted);text-decoration:none;font-size:15px;font-weight:500;white-space:nowrap}
.wk-qtabs a:hover{color:var(--ink)}
.wk-qtabs a.on{color:var(--ink);border-bottom-color:var(--ink)}
.wk-qtabs .ni{width:18px;height:18px}
.wk-qtabs em{font-style:normal;font-size:12px;color:var(--muted);background:var(--panel);border-radius:999px;padding:1px 8px;box-shadow:0 0 0 1px var(--line) inset}
.wk-qtabs a.on em{color:var(--ink)}
/* a form that drops down from the bar like a drawer: its own surface and header, a shadow under it, the list pushed down below */
.wk-drawer{margin:12px 0 20px;background:var(--panel);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:0 14px 28px -18px rgba(0,0,0,.35);overflow:hidden;transform-origin:top center}
.wk-drawer-h{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:14px 16px 10px;border-bottom:1px solid var(--line);background:var(--bg)}
.wk-drawer-h b{display:block;font-family:Archivo,sans-serif;font-weight:500;font-size:17px}.wk-drawer-h small{display:block;color:var(--muted);font-size:13px;margin-top:2px}
.wk-drawer .wk-book{margin:0;padding:14px 16px 16px;border:0;background:none;box-shadow:none}
.wk-drawer .wk-book .find{background:var(--bg)}
.wk-drawer.anim{animation:drawer .32s cubic-bezier(.2,.8,.2,1)}
@keyframes drawer{from{opacity:0;clip-path:inset(0 0 100% 0 round 12px);transform:translateY(-10px)}to{opacity:1;clip-path:inset(0 0 0 0 round 12px);transform:none}}
@media(prefers-reduced-motion:reduce){.wk-drawer.anim{animation:none}}
/* the shoots calendar: chips you can press and drag, a + on each day to book one */
.wk-cell{position:relative}
.wk-chip{font:inherit;font-size:11.5px;border:0;text-align:start;cursor:pointer;color:var(--ink);background:var(--panel);box-shadow:0 0 0 1px var(--line) inset;touch-action:none;user-select:none;-webkit-user-select:none;transition:transform .12s,box-shadow .12s}
.wk-chip[data-drag]{cursor:grab}.wk-chip:hover{box-shadow:0 0 0 1px var(--ink) inset}
.wk-chip.st-reserved{background:var(--panel)}
.wk-chip.st-confirmed{background:var(--info-bg);color:var(--info-ink);box-shadow:0 0 0 1px var(--info-line) inset}
.wk-chip.st-shot{background:var(--review-bg);color:var(--review-ink);box-shadow:0 0 0 1px var(--review-line) inset}
.wk-chip.st-uploaded{background:var(--ok-bg);color:var(--ok-ink);box-shadow:0 0 0 1px var(--ok-line) inset}
.wk-chip.st-draft{background:none;box-shadow:0 0 0 1px var(--line-2) inset;border-style:dashed;color:var(--muted)}
.wk-chip.st-cancelled{text-decoration:line-through;opacity:.55;cursor:pointer}
.wk-chip.declined{background:var(--bad-bg);color:var(--bad-ink);box-shadow:0 0 0 1px var(--bad-line) inset}
.wk-chip.more{background:none;box-shadow:none;color:var(--muted);cursor:default}
.wk-cadd{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:6px;display:grid;place-items:center;font-size:16px;line-height:1;color:var(--muted);background:var(--bg);box-shadow:0 0 0 1px var(--line-2) inset;opacity:0;transform:scale(.8);transition:opacity .12s,transform .12s}
.wk-cell:hover .wk-cadd,.wk-cell:focus-within .wk-cadd{opacity:1;transform:none}
.wk-cadd:hover{color:var(--bg);background:var(--ink);box-shadow:none}
.wk-cell.drop-over{background:var(--info-bg);box-shadow:0 0 0 2px var(--info) inset;transition:background .12s}
.wk-chip.wk-lifted{opacity:.3}
.wk-ghost{position:fixed;z-index:80;margin:0;pointer-events:none;cursor:grabbing;--x:0px;--y:0px;transform:none;translate:var(--x) var(--y);scale:1;rotate:0deg;transition:scale .16s cubic-bezier(.2,.8,.2,1),rotate .16s,box-shadow .16s}
.wk-ghost.up{scale:1.08;rotate:-2deg;box-shadow:0 14px 30px rgba(0,0,0,.28),0 0 0 1px var(--ink) inset}
.wk-ghost.land{transition:translate .22s cubic-bezier(.2,.8,.2,1),scale .22s,rotate .22s,box-shadow .22s}
body.wk-dragging,body.wk-dragging *{cursor:grabbing!important}
.wk-chip.wk-landed{animation:landed .38s cubic-bezier(.2,.8,.2,1)}
@keyframes landed{0%{transform:scale(1.08)}55%{transform:scale(.96)}100%{transform:none}}
.sp-list{display:grid;gap:2px}.sp-list>span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 0;border-top:1px solid var(--line)}.sp-list>span:first-child{border-top:0}.sp-list small{color:var(--muted);font-size:12px;white-space:nowrap}
@media(prefers-reduced-motion:reduce){.wk-ghost,.wk-ghost.land{transition:none}.wk-chip.wk-landed{animation:none}}
@media(max-width:640px){.wk-cadd{display:none}}
/* stages inside the side panel: tighter, so four or five fit its width */
.sp .stg-s+.stg-s::before{flex:1 1 12px;min-width:8px;margin:0 3px}
.sp .stg-s>button,.sp .stg-s>span{padding:4px 5px;gap:5px}
.wk-dzr{grid-template-columns:170px minmax(0,1fr) auto auto}
#edSteps .stg{flex:0 1 620px}
#edSteps .ed-tool{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 12px;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line-2) inset;font-size:13.5px;font-weight:500;color:var(--ink);background:var(--bg)}
#edSteps .ed-tool:hover{box-shadow:0 0 0 1px var(--ink) inset;background:var(--bg)}
#edSteps .ed-tool.on{background:var(--ink);color:var(--bg);box-shadow:none}
#edSteps .ed-tools{margin-inline-start:auto}

/* ---- Admin: sections (menu items under Admin; tabs on a phone), and People & teams ---- */
.adm-tabs{display:none}
@media(max-width:860px){.adm-tabs{display:flex;margin-top:12px}}
#p-qs .card[data-sec]{margin-top:14px!important}
#p-qs .adm-tabs+.card{margin-top:18px!important}
.ut-bar{display:flex;align-items:center;gap:12px;margin-bottom:10px}.ut-bar .find{flex:0 1 280px;min-width:0}.ut-bar small{color:var(--muted)}
.ut-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius-card)}
.ut{width:100%;border-collapse:collapse;font-size:13.5px}
.ut th,.ut td{padding:8px 12px;border-top:1px solid var(--line);text-align:center;vertical-align:middle;white-space:nowrap}
.ut thead th{border-top:0;font-weight:500;color:var(--muted);font-size:12.5px;background:var(--panel)}
.ut thead th small{display:block;font-size:11px;color:var(--muted);font-weight:400}
.ut th[scope=row]{text-align:start;font-weight:400;min-width:220px}.ut-who{display:flex;align-items:center;gap:10px}.ut-rm{margin-inline-start:auto;flex:none}
.ut thead th:first-child{text-align:start}
.ut th[scope=row] b{display:block;font-weight:500}.ut th[scope=row] small{display:block;color:var(--muted);font-size:12px}
.ut tbody tr:hover{background:var(--panel)}
.ut-av{width:28px;height:28px;font-size:11px;flex:none}
.ut-tick{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.ut-tick input{width:16px;height:16px;cursor:pointer}
.ut-tick em{font-style:normal;font-size:11px;color:var(--info-ink);background:var(--info-bg);border-radius:999px;padding:1px 7px}
.ut-h{margin:20px 0 4px;font-size:15px}
.ut-teams{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:10px;margin:10px 0}
.ut-team{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--bg)}
.ut-team>small{color:var(--muted)}
.ut-team .wk-head{display:flex;gap:8px;align-items:center}.ut-team .wk-head .find{flex:1;min-width:0}
.ut-team .wk-chain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ut-team .wk-chain label{display:grid;gap:3px;font-size:12px;color:var(--muted)}.ut-team .wk-chain .find{width:100%;min-width:0}
#wkTeams details{margin-top:14px}

/* ---- My work: one set of tasks, as a compact list or a board ---- */
.mw-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.mw-views button{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;border:0;background:none;color:var(--muted);padding:6px 12px;cursor:pointer;border-inline-start:1px solid var(--line)}
.mw-views button:first-child{border-inline-start:0}.mw-views button.on{background:var(--ink);color:var(--bg);font-weight:600}
.mw-count{color:var(--muted)}
.mw-dot{font-style:normal;font-size:11px;font-weight:600;background:var(--bad);color:#fff;border-radius:999px;padding:0 6px;margin-inline-start:4px}
.mw-open{font:inherit;color:inherit;text-decoration:none;background:none;border:0;padding:0;text-align:start;cursor:pointer;min-width:0}
.mw-row{cursor:pointer}.mw-row:hover .mw-open b{text-decoration:underline}
.mw-row .mw-k{font-size:12px;color:var(--muted)}
.mw-row>span:nth-child(2){gap:6px}.mw-row>span:nth-child(2) small{color:var(--muted);overflow:hidden;text-overflow:ellipsis}
.mw-row .mw-open{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
.mw-acts{justify-content:flex-end;gap:6px}.mw-acts .btn-s{min-height:28px;padding:3px 10px;font-size:12.5px}
.mw-g.todo i{background:var(--ink)}.mw-g.doing i{background:var(--info)}.mw-g.review i{background:var(--review)}.mw-g.waiting i{background:var(--muted)}
.mw-g button{font:inherit;background:none;border:0;cursor:pointer;color:var(--ink);display:flex;align-items:center;gap:8px;height:100%;padding:0 6px}
.mw-board{display:grid;grid-template-columns:repeat(4,minmax(240px,1fr));gap:12px;margin-top:14px;overflow-x:auto;align-items:start}
.mw-col{background:var(--panel);border-radius:var(--radius-card);padding:8px;display:grid;gap:8px;min-width:0}
.mw-col header{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 2px}.mw-col header b{font-size:13.5px;font-weight:600}
.mw-col header em{font-style:normal;font-size:12px;color:var(--muted);background:var(--bg);border-radius:999px;padding:1px 8px;box-shadow:0 0 0 1px var(--line) inset}
.mw-card{background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;display:grid;gap:6px;cursor:pointer;transition:border-color .12s,box-shadow .12s}
.mw-card:hover{border-color:var(--line-2);box-shadow:0 4px 14px -8px rgba(0,0,0,.25)}
.mw-card .mw-open{display:grid;gap:3px}
.mw-card .mw-k{display:flex;justify-content:space-between;font-size:11.5px;color:var(--muted)}
/* Production: each type's colour dot */
.pr-tdot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--tc,#6b7280);margin-inline-end:6px;vertical-align:middle;flex:none}
.mw-card b{font-size:13.5px;font-weight:500;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mw-card small{color:var(--muted);font-size:12px}.mw-card .mw-st{color:var(--ink);opacity:.7}
.mw-card .wk-do .btn-s{min-height:28px;padding:3px 10px;font-size:12.5px}
.mw-none{color:var(--muted);font-size:12.5px;padding:6px}
.mw-col:has(.mw-none){align-self:start}
@media(max-width:860px){.mw-board{grid-template-columns:repeat(4,minmax(240px,80vw))}}
.sp-b .wk-form{display:grid;gap:10px}.sp-b .wk-form .find{width:100%;min-width:0}
.sp-b>.wk-item{padding:10px 0}
.ut-team .find{min-width:0;width:100%}
.ut-team .wk-head{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}
.ut-team .wk-chain{grid-template-columns:repeat(3,minmax(0,1fr))}
.ut-team .wk-qa{display:flex;gap:8px;align-items:center;font-size:13.5px}
.ut-team .wk-qa input{width:16px;height:16px;flex:none;margin:0}.ut-teams{grid-template-columns:repeat(auto-fill,minmax(340px,1fr))}

/* ---- The client profile: quick links under the name, then two columns (the people and what they want | the facts) ---- */
.pf.pf2{max-width:none;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:16px;align-items:start}
.pf2 .pf-main,.pf2 .pf-side{display:grid;gap:14px;min-width:0}
.pf2 .pf-sec{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px 18px;margin:0}
.pf2 .pf-sec h2{font-size:15px;font-weight:600;margin:0 0 12px}
.pf2 .pf-side .pf-grid{grid-template-columns:1fr 1fr}
.pf2 .pf-side .pf-two{grid-template-columns:1fr}
.pf2 .pf-side .pf-row{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 24px 24px}
.pf2 .pv-one{grid-template-columns:minmax(0,1fr) 24px!important}
.pf2 .find{min-width:0;width:100%}
.pc{flex-wrap:wrap}.pc-go{display:flex;flex-wrap:wrap;gap:8px;flex-basis:100%;padding-top:4px}.pc-go:empty{display:none}
@media(max-width:1000px){.pf.pf2{grid-template-columns:1fr}}

/* ---- Team chat: pictures, link cards, replies, pins, search; and its Library (Media, Links, Files) ---- */
.ch-top{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ch-tabs{margin:4px 0 12px;flex:1}.ch-find{margin-bottom:12px}.ch-find .find{width:240px;min-width:0}
.wk-msgs{height:min(calc(62vh / var(--z, 1)),640px)}
.wk-msg{position:relative;display:grid;gap:4px}
.wk-msg.pinned{box-shadow:0 0 0 1px var(--review-line)}
.wk-msg.flash{animation:chflash 1.6s ease}@keyframes chflash{0%,40%{box-shadow:0 0 0 3px var(--info)}100%{box-shadow:none}}
.wk-msg p a{color:inherit;text-decoration:underline;overflow-wrap:anywhere}
/* reactions take their own room (9 November 2026: on a Samsung with a bigger text size the pill, hung below the bubble at a fixed size,
   sat on the next message's name and first line). The pill is now in the bubble's own flow, on its last line beside the time (the time drops below it when both don't fit), and grows
   with the text; a message never shrinks to make room. Fixed in app.css only; work.js draws the same markup. */
html body .wk-msgs>.wk-row:not(#_):not(#_){flex:none}
html body .wk-row.has-rx:not(#_):not(#_){margin-bottom:0}
html body .wk-row.has-rx .wk-msg:not(#_):not(#_){display:flex;flex-wrap:wrap;align-items:flex-end;column-gap:8px}
html body .wk-row.has-rx .wk-msg>:not(.ch-rx):not(.wk-meta):not(.ch-rxpick):not(.ch-more):not(.ch-smile):not(.ch-rxwho):not(#_){flex:0 0 100%;min-width:0}
html body .wk-row.has-rx .wk-msg>.ch-rx:not(#_):not(#_){position:relative;bottom:auto;inset-inline-start:auto;flex:none;order:1;height:auto;min-height:24px;max-width:100%;white-space:nowrap;padding:2px 8px;margin:3px 0 1px;margin-inline-start:-4px;z-index:auto;box-shadow:none}
html body .wk-row.has-rx .wk-msg>.wk-meta:not(#_):not(#_){order:2;margin-inline-start:auto;align-self:flex-end}
html body .wk-row.has-rx .wk-msg>.ch-rxwho:not(#_):not(#_){order:3}
html body .ch-rx span:not(#_):not(#_){height:auto;line-height:1.35}
html body .ch-rx b:not(#_):not(#_){line-height:1.35}
.ch-quote{font:inherit;font-size:12.5px;text-align:start;color:inherit;background:rgba(127,127,127,.12);border:0;border-inline-start:3px solid currentColor;border-radius:6px;padding:4px 8px;cursor:pointer;opacity:.85;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.ch-pics{display:grid;gap:4px;grid-template-columns:repeat(2,minmax(0,160px))}.ch-pics.n1{grid-template-columns:minmax(0,280px)}
.ch-pic{padding:0;border:0;background:var(--panel);border-radius:8px;overflow:hidden;cursor:zoom-in;display:block;aspect-ratio:1}.ch-pics.n1 .ch-pic{aspect-ratio:auto}
.ch-pic img{width:100%;height:100%;object-fit:cover;display:block}.ch-pics.n1 .ch-pic img{max-height:320px;height:auto}
.ch-card{display:flex;align-items:center;gap:10px;max-width:420px;border:1px solid var(--line);border-radius:10px;padding:8px;background:var(--bg);color:var(--ink);text-decoration:none;overflow:hidden}
.ch-card:hover{border-color:var(--line-2)}.ch-card img{width:56px;height:56px;object-fit:cover;border-radius:6px;flex:none}
.ch-card span{min-width:0;display:grid}.ch-card b{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-card small{font-size:12px;color:var(--muted)}
.ch-traf{display:grid;gap:10px;margin-top:8px;max-width:460px;background:var(--bg);color:var(--ink);border-radius:12px;padding:12px}
.ch-tbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
.ch-tb{background:var(--soft,#f5f5f4);border-radius:10px;padding:10px 10px 8px;display:grid;gap:2px}.ch-tb b{font-size:28px;font-weight:700;line-height:1;letter-spacing:-.02em}.ch-tb span{font-size:12px;color:var(--muted);line-height:1.25}
.ch-traf{--tb-bad:#fde8e8;--tb-bad-fg:#b42318;--tb-warn:#fdf1df;--tb-warn-fg:#9a4a00}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .ch-traf{--tb-bad:#3b1a1a;--tb-bad-fg:#ff8a80;--tb-warn:#3a2a12;--tb-warn-fg:#ffb35c}}
:root[data-theme="dark"] .ch-traf{--tb-bad:#3b1a1a;--tb-bad-fg:#ff8a80;--tb-warn:#3a2a12;--tb-warn-fg:#ffb35c}
.ch-tb.bad{background:var(--tb-bad)}.ch-tb.bad b{color:var(--tb-bad-fg)}.ch-tb.warn{background:var(--tb-warn)}.ch-tb.warn b{color:var(--tb-warn-fg)}
.ch-tl{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px}.ch-tl small{color:var(--muted)}
.ch-tlate{display:grid;gap:3px;font-size:13px}.ch-tlate small{color:var(--muted)}.ch-tlate em{font-style:normal;color:var(--tb-bad-fg)}
html body .wk-msg .ch-traf .ch-tlate a:not(#_){color:var(--ink);text-decoration:none;border-radius:6px;margin:0 -4px;padding:2px 4px}html body .wk-msg .ch-traf .ch-tlate a:hover:not(#_){background:var(--soft)}html body .wk-msg .ch-traf .ch-tlate a b:not(#_){text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
@media (max-width:560px){.ch-tbs{grid-template-columns:repeat(2,minmax(0,1fr))}}
.ch-tstale{margin:0;font-size:12.5px;color:var(--muted)}html body .wk-msg .ch-traf .ch-tstale a:not(#_){color:var(--ink);text-underline-offset:2px}
.wk-msg.mine .ch-card{color:var(--ink)}.wk-msg.mine .ch-card small{color:var(--muted);opacity:1}
.ch-pins{border:1px solid var(--review-line);background:var(--review-bg);border-radius:10px;padding:8px 12px;font-size:13.5px}
.ch-pins summary{display:flex;gap:8px;align-items:center;cursor:pointer;list-style:none}.ch-pins summary::-webkit-details-marker{display:none}
.ch-pins summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted)}
.ch-pin{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;border-top:1px solid var(--review-line)}.ch-pin .mw-open{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ch-pin .btn-s{min-height:26px;padding:2px 10px;font-size:12px}
.ch-write{display:grid;gap:6px}
.ch-in{display:flex;gap:8px;align-items:flex-end}.ch-in textarea{flex:1;min-width:0;resize:none;min-height:40px}
.ch-add{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:var(--radius);box-shadow:0 0 0 1px var(--line-2) inset;cursor:pointer;color:var(--muted)}.ch-add:hover{color:var(--ink);box-shadow:0 0 0 1px var(--ink) inset}.ch-add .ni{width:18px;height:18px}
.ch-pends{display:flex;gap:6px;flex-wrap:wrap}.ch-pends:empty{display:none}
.ch-pend{position:relative}.ch-pend img{width:64px;height:64px;object-fit:cover;border-radius:8px;display:block}
.ch-pend button{position:absolute;top:-6px;right:-6px;width:20px;height:20px;border-radius:50%;border:0;background:var(--ink);color:var(--bg);cursor:pointer;line-height:1}
.ch-replying{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12.5px;background:var(--panel);border-inline-start:3px solid var(--ink);border-radius:6px;padding:5px 8px}
.ch-replying>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ch-replying button{border:0;background:none;font-size:16px;cursor:pointer;color:var(--muted)}
.wk-chat.drop{box-shadow:0 0 0 2px var(--info) inset;background:var(--info-bg)}
.ch-found{display:grid;gap:4px;max-height:min(calc(62vh / var(--z, 1)),640px);overflow:auto}.ch-fh{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:6px}
.ch-hit{display:grid;gap:2px;text-align:start;font:inherit;font-size:13.5px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;cursor:pointer;color:var(--ink)}.ch-hit:hover{background:var(--panel)}.ch-hit small{color:var(--muted)}
.ch-libbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.ch-libbar .find{width:240px;min-width:0}
.ch-libbar .wk-sbar button{font:inherit;font-size:13px;border:0;background:none;color:var(--muted);padding:6px 14px;cursor:pointer;border-inline-start:1px solid var(--line)}.ch-libbar .wk-sbar button:first-child{border-inline-start:0}
.ch-libbar .wk-sbar button.on{background:var(--ink);color:var(--bg)}.ch-libbar em{font-style:normal;opacity:.7;margin-inline-start:2px}
.ch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:6px}
.ch-lrow{display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 0;border-top:1px solid var(--line)}.ch-lrow:first-of-type{border-top:0}.ch-lrow small{color:var(--muted)}
.ch-lrow .btn-s{min-height:28px;padding:3px 10px;font-size:12.5px}
@media(max-width:860px){.ch-lrow{grid-template-columns:1fr}}
.ch-lbx{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.82);display:grid;place-items:center;gap:12px;padding:24px;cursor:zoom-out}
.ch-lbx img{max-width:min(1200px,100%);max-height:calc(84vh / var(--z, 1));border-radius:8px;object-fit:contain}

/* ---- The menu stays put, the height of the window, whatever the page does; the open item joins the page like a tab ---- */
@media(min-width:861px){
  .app{align-items:start}
  .app>aside{position:sticky;top:0;height:calc(var(--vh, 100vh) / var(--z, 1));overflow-y:auto;overflow-x:visible;z-index:3;scrollbar-width:thin}
  main{position:relative;z-index:1;border-inline-start:0;border-start-start-radius:0;border-end-start-radius:0}
  /* the open item: white like the page, no border on the page's side, reaching across the gap into the page's edge */
  .nav a.on{position:relative;z-index:4;background:var(--bg);box-shadow:none;border:1px solid var(--line);border-inline-end:0;border-radius:10px 0 0 10px;margin-inline-end:-12px;padding-inline-end:24px}
  /* two small curves where it meets the page, above and below, so the tab flows into the sheet */
  .nav a.on::before,.nav a.on::after{content:"";position:absolute;right:0;width:12px;height:12px;pointer-events:none}
  .nav a.on::before{bottom:100%;background:radial-gradient(circle at 0 0,transparent 11px,var(--line) 11px,var(--line) 12px,var(--bg) 12px)}
  .nav a.on::after{top:100%;background:radial-gradient(circle at 0 100%,transparent 11px,var(--line) 11px,var(--line) 12px,var(--bg) 12px)}
}

/* ============ The soft panels look (Oct 2026), after the reference boards Rami shared. Still black and white; colour means status.
   The page is a soft grey sheet; on it sit white cards with big round corners and no outlines; inside a card, grey sections hold white
   fields. Buttons are white on the sheet and grey inside a card. Headings are large and light. The open menu item still joins the sheet. ============ */
:root{--page:#e8e8e7;--sheet:#f3f3f2;--bg:#fff;--panel:#f1f1f0;--soft:#e7e7e6;--line:#ebebea;--line-2:#dcdcdb;--radius:12px;--radius-card:20px;--shadow-card:0 1px 2px rgba(0,0,0,.03)}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--page:#070707;--sheet:#111;--bg:#1b1b1b;--panel:#232323;--soft:#2b2b2b;--line:#262626;--line-2:#333;--shadow-card:none}}
:root[data-theme="dark"]{--page:#070707;--sheet:#111;--bg:#1b1b1b;--panel:#232323;--soft:#2b2b2b;--line:#262626;--line-2:#333;--shadow-card:none}

/* the sheet */
main{background:var(--sheet);border-color:transparent}
@media(max-width:860px){main{background:var(--sheet)}}
.ct-head2{background:var(--sheet)}
@media(min-width:861px){
  main{padding:34px 40px 48px}
  .nav a.on{background:var(--sheet);border-color:transparent}
  .nav a.on::before{background:radial-gradient(circle at 0 0,transparent 11.5px,var(--sheet) 12px)}
  .nav a.on::after{background:radial-gradient(circle at 0 100%,transparent 11.5px,var(--sheet) 12px)}
}
/* the menu: a little larger and airier */
.nav{gap:6px}
.nav a,.nav-more{font-size:15px;min-height:42px;padding:10px 14px;border-radius:var(--radius)}
.nav-in a{font-size:14.5px;min-height:38px}
.nav a:hover,.nav-more:hover{background:var(--soft)}
.ni{width:18px;height:18px;stroke-width:1.6}
.me,a.me{border-radius:16px;box-shadow:none;background:var(--bg)}

/* headings: large and light */
h1,.h1{font-size:40px;font-weight:400;letter-spacing:-.035em;line-height:1.1}
@media(max-width:860px){h1,.h1{font-size:30px}}
.cl2-h h2,.st-h,.ut-h,.sp-h b{font-weight:400!important;letter-spacing:-.02em}
.cl2-h h2{font-size:24px}
.card>h3,.card h3:first-child{font-family:Archivo,sans-serif;font-size:20px;font-weight:400;letter-spacing:-.015em;text-transform:none;color:var(--ink);margin-bottom:14px}
.sub{color:var(--muted)}

/* cards: white, round, no outline */
.card,.pb,.ct-month,.ed-rail,.ed-insp,.st-item,.st-side,.ct-edit,.sh-set,.ct-book.cp-row,.me-card,.cm-list,.ds-nav,.ds-main,.sh-ref,.soon-card,.hc-row,.hh-row,.hh-c,.news-item,.done-card,.pf-from,.rm-opt,.rm,.dr,.cm-hero,.cs,.ct-stage,.ed-panel,.pf2 .pf-sec,.ut-team,.wk-drawer,.mw-card{background:var(--bg);box-shadow:var(--shadow-card);border-color:transparent}
.card,.ct-month,.ct-edit,.ct-book.cp-row,.me-card,.cm-list,.ds-main,.cm-hero,.cs,.ed-panel,.pf2 .pf-sec,.wk-drawer,.ut-team{border-radius:var(--radius-card)}
.card{padding:24px}
.ct-tr:not(.ct-head2){background:var(--bg);box-shadow:var(--shadow-card);border-radius:16px}
.ct-tr:not(.ct-head2):hover,.pb:hover,.ct-stage:hover,.ct-month:hover{background:var(--bg);box-shadow:0 0 0 1px var(--line-2)}
.ct-month.new{background:none;box-shadow:0 0 0 1.5px var(--line-2) inset}
/* grey sections inside a card hold white things */
.mw-col,.wk-gh,.ed-info,.ut .thead,.ch-pins{border-radius:16px}
.mw-col{background:var(--panel)}
.wk-drawer-h{background:var(--bg);border-color:var(--line)}
.wk-drawer{background:var(--panel);box-shadow:0 18px 40px -24px rgba(0,0,0,.35)}

/* buttons and fields: white on the sheet, grey inside a card; black for the main action */
.btn-s{border-radius:var(--radius);background:var(--bg);box-shadow:none;min-height:38px;padding:7px 16px;font-size:14px}
.btn-s:hover{box-shadow:0 0 0 1px var(--line-2) inset;background:var(--bg)}
.btn-s.pri{background:var(--ink);color:var(--bg)}.btn-s.pri:hover{opacity:.9;box-shadow:none}
.btn-s.danger{background:var(--bad-bg);color:var(--bad-ink);box-shadow:none}
.find{border-radius:var(--radius);background:var(--bg);box-shadow:none;min-height:40px;padding:9px 14px}
.find:hover{box-shadow:0 0 0 1px var(--line-2) inset}
.find:focus{box-shadow:0 0 0 1px var(--ink) inset;outline:none}
:is(.card,.ed-panel,.sp,.ut-team,.mw-card,.pf2 .pf-sec,.pc,.cm-hero,.cm-list,.ds-main,.me-card,.wk-pop) :is(.btn-s,.find):not(.pri):not(.danger):not(.wk-save:enabled){background:var(--panel)}
:is(.card,.ed-panel,.sp,.ut-team,.mw-card,.pf2 .pf-sec,.pc,.cm-hero,.cm-list,.ds-main,.me-card,.wk-pop) :is(.btn-s,.find):not(.pri):not(.danger):not(.wk-save:enabled):hover{background:var(--soft);box-shadow:none}
.wk-drawer .wk-book .find,.wk-drawer .wk-book .btn-s:not(.pri){background:var(--bg)}
.filters span{border-radius:var(--radius);background:var(--bg);box-shadow:none;min-height:36px}
.filters span.on{background:var(--ink);color:var(--bg)}
:is(.card,.ed-panel) .filters span:not(.on){background:var(--panel)}
.ed-tool,#edSteps .ed-tool{background:var(--bg);box-shadow:none}
/* tags: thin outlined pills, as in the reference */
.wk-tag,.ct-pill{padding:4px 11px;font-size:12.5px}
.ct-pill{background:var(--bg);box-shadow:0 0 0 1px var(--line-2) inset}
.wk-tag:not([class*=" "]){border-color:var(--line-2)}
/* lists inside a card: quieter lines, rounder group headers */
.wk-r1,.wk-lr{border-top-color:var(--line)}
.wk-gh{background:var(--panel);height:40px;margin-top:16px}
.wk-t1{border-radius:16px}
/* side panel and the Production queue tabs */
.sp{border-radius:24px;border-color:transparent;background:var(--sheet)}
.sp-h{border-bottom-color:var(--line)}
.sp-b .ed-f .find,.sp-b .find{background:var(--bg)}
.wk-qtabs{border-bottom-color:var(--line-2)}
.wk-qtabs a{font-size:16px}
.stg{background:var(--bg);border-color:transparent;border-radius:14px;box-shadow:var(--shadow-card)}
:is(.card,.sp-b) .stg{background:var(--panel)}
.stg.bare{background:none;box-shadow:none}
/* status tags carry a dot, so a status never rests on colour alone; numbers in lists line up */
.wk-tag::before,.ct-pill::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-inline-end:6px;vertical-align:1px;opacity:.85}
.ct-pill.none::before,.wk-tag:empty::before{display:none}
.wk-r1,.wk-lr,.ut,.mw-row,.hh-tile b{font-variant-numeric:tabular-nums}
.pf2 .pf-side{padding:0;background:none;border:0}
.ct-head2{background:var(--panel)!important;border-radius:12px}
@media(max-width:860px){
  .mw-bar .wk-end{flex-wrap:wrap}
}
@media(max-width:860px){.mw-bar .wk-end{border:0;padding:0}}

/* ---- One shoot: details editable in place, stages, brief and lists, the checklist beside ---- */
.sd-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.sd-head .h1{flex:1 1 360px;min-width:0}.sd-head .wk-title{font-size:inherit;font-weight:inherit}
.sd-stages{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 16px}
.sd-draft{background:var(--review-bg);color:var(--review-ink);border-radius:var(--radius);padding:10px 14px;margin-bottom:14px;font-size:14px}
.sd-need{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.sd{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:16px;align-items:start}
.sd-main,.sd-side{display:grid;gap:16px;min-width:0}
.sd-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.sd-f{display:grid;gap:6px;min-width:0}.sd-f.wide{grid-column:1/-1}
.sd-f>span{font-size:12.5px;color:var(--muted)}
.sd-f .find{width:100%;min-width:0}
.sd-f.need>span::after{content:" · not set yet";color:var(--muted)}
.sd-who{display:flex;flex-wrap:wrap;gap:8px}
.sd-person{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:var(--radius);background:var(--panel);cursor:pointer;font-size:14px}
.sd-person.on{background:var(--ink);color:var(--bg)}.sd-person.on small{color:inherit;opacity:.7}
.sd-person input{width:16px;height:16px;accent-color:var(--ink)}.sd-person span{display:grid}.sd-person small{font-size:11.5px;color:var(--muted)}
.sd-foot{display:block;color:var(--muted);font-size:12.5px;margin-top:12px}
/* Earlier versions of a shoot tab (lib/docversions.js) */
.sd-vrow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.sd-vrow .sd-foot{margin-top:0}.sd-vrow{margin-top:12px}
.sv-k{display:block;margin-top:8px;font-size:12.5px;color:var(--muted)}.sv-k:first-child{margin-top:0}.sv-txt p{margin:2px 0}
.sv-list{display:grid;gap:8px}.sv-it{border:1px solid var(--line);border-radius:10px;padding:10px 12px}.sv-it summary{cursor:pointer;display:flex;justify-content:space-between;gap:10px;font-size:13.5px;font-weight:500}.sv-it summary small{color:var(--muted);font-weight:400}
.sv-txt{margin:10px 0;max-height:280px;overflow:auto;font-size:13.5px;line-height:1.5;white-space:normal;background:var(--panel);border-radius:8px;padding:10px 12px}
.sd-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.sd-tabs button{font:inherit;font-size:13.5px;border:0;border-radius:var(--radius);background:var(--panel);color:var(--ink);padding:7px 14px;cursor:pointer}
.sd-tabs button.on{background:var(--ink);color:var(--bg)}.sd-tabs button.late:not(.on){color:var(--bad)}
.sd .wk-fill textarea{width:100%;min-width:0}
.sd-link{display:flex;gap:8px;align-items:center;margin-top:8px}.sd-link .find{flex:1;min-width:0}
.sd-step{display:grid;gap:3px;padding:10px 0;border-top:1px solid var(--line)}.sd-step:first-of-type{border-top:0;padding-top:0}
.sd-step small{color:var(--muted);font-size:12px}.sd-step.late small{color:var(--bad)}.sd-step.done .wk-ck2{color:var(--muted)}
.sd-lk{display:grid;gap:4px;font-size:13.5px}
@media(max-width:1000px){.sd{grid-template-columns:1fr}.sd-grid{grid-template-columns:1fr 1fr}}
.sd .wk-fill{display:grid;gap:0}.sd .wk-fill .sd-foot{margin-top:8px}

/* ---- Home: one calm column. Character and search; Today; the newest announcement; celebrations; training while unfinished; jump back in ---- */
#p-home .stage,#p-home .drawers{max-width:760px;margin-inline:auto}
#p-home .drawers{display:block}
#p-home .status{font-size:12.5px;color:var(--muted);margin-top:10px}
#p-home kbd{font:inherit;font-size:11.5px;background:var(--bg);border-radius:6px;padding:1px 6px;box-shadow:0 0 0 1px var(--line-2) inset}
.ask{max-width:760px}.ask-in{background:var(--bg);border-radius:18px;box-shadow:var(--shadow-card)}
.results{max-width:760px;max-height:min(calc(60vh / var(--z, 1)),520px);overflow:auto;border:0;border-radius:18px;background:var(--bg);box-shadow:0 18px 40px -20px rgba(0,0,0,.3);padding:6px}
.sr-h{font-size:11.5px;color:var(--muted);padding:10px 12px 4px;text-transform:none}
.results .sr-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 12px;border-radius:10px;color:var(--ink);text-decoration:none;border:0;width:100%;background:none;font:inherit;font-size:14px;text-align:start;cursor:pointer}
.results .sr-row>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.results .sr-row small{color:var(--muted);flex:none;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.results .sr-row:hover,.results .sr-row.pick{background:var(--panel)}
.results .askrow{font-weight:500}.sr-none{padding:12px;color:var(--muted);font-size:13.5px}
.today:where(:not(.pc-day,.wk-cell,.sh-wday,span)){width:100%;display:flex;flex-wrap:wrap;gap:10px;margin-top:26px;align-items:stretch;text-align:start}
.today-h{width:100%;font-family:Archivo,sans-serif;font-weight:400;font-size:18px}
.today-c{flex:1 1 150px;display:grid;gap:2px;background:var(--bg);border-radius:16px;padding:14px 16px;color:var(--ink);text-decoration:none;box-shadow:var(--shadow-card);transition:box-shadow .12s}
.today-c:hover{box-shadow:0 0 0 1px var(--line-2)}
.today-c b{font-family:Archivo,sans-serif;font-weight:400;font-size:26px;letter-spacing:-.02em;line-height:1.1}.today-c span{font-size:13px;color:var(--muted)}
#annHome{margin-top:18px}
#annHome .news-item{background:var(--bg);border:0;border-radius:16px;padding:14px 16px;box-shadow:var(--shadow-card)}
.news-more{margin-top:8px;text-align:start}.news-more summary{cursor:pointer;color:var(--muted);font-size:13px;padding:4px 2px}.news-more .news-item{margin-top:8px}
.celebrate{width:100%;display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:18px;text-align:start}
.cel-h{font-size:12.5px;color:var(--muted);margin-inline-end:4px}
.cel{display:inline-flex;gap:6px;align-items:center;font-size:13px;background:var(--bg);border-radius:999px;padding:6px 12px;color:var(--ink);text-decoration:none}
.cel em{font-style:normal;color:var(--muted)}a.cel:hover{box-shadow:0 0 0 1px var(--line-2) inset}
.start{background:var(--bg);color:var(--ink);border-radius:16px;box-shadow:var(--shadow-card);margin-top:18px}
.start .ring circle{color:var(--ink)}
#p-home .drawer{background:var(--bg);border-radius:18px;padding:6px 16px;margin-top:22px;border:0}
#p-home .ask{position:relative}#p-home .results{position:absolute;z-index:20;top:calc(100% + 8px);left:0;right:0;margin:0;width:auto}

/* People and teams: tabs, the shoot crew's switches and working days */
.ut-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 16px;overflow-x:auto;scrollbar-width:none}
.ut-tabs button{display:inline-flex;align-items:center;gap:7px;padding:10px 14px 12px;margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:500;white-space:nowrap;cursor:pointer}
.ut-tabs button:hover{color:var(--ink)}
.ut-tabs button.on{color:var(--ink);border-bottom-color:var(--ink)}
.ut-tabs em{font-style:normal;font-size:12px;font-weight:400;color:var(--muted);background:var(--panel);border-radius:999px;padding:1px 8px}
.ut-pane>.sub{margin:0 0 12px}
.ut.crew td{text-align:start}
.sw{position:relative;display:inline-block;width:38px;height:22px;cursor:pointer;vertical-align:middle}
.sw input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.sw i{position:absolute;inset:0;border-radius:999px;background:var(--line-2);transition:background .15s}
.sw i::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform .15s}
.sw input:checked+i{background:var(--ink)}
.sw input:checked+i::after{transform:translateX(16px)}
.sw input:focus-visible+i{outline:2px solid var(--ink);outline-offset:2px}
.days{display:inline-flex;gap:4px}
.day{position:relative;cursor:pointer}
.day input{position:absolute;opacity:0;width:1px;height:1px}
.day span{display:inline-grid;place-items:center;width:30px;height:28px;border:1px solid var(--line);border-radius:8px;font-size:12px;color:var(--muted);background:var(--bg)}
.day input:checked+span{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.day input:focus-visible+span{outline:2px solid var(--ink);outline-offset:2px}
.ut-add{margin-top:10px}.ut-add .find{max-width:320px}
.ut-sign .row:first-child{border-top:0}

.ut tbody tr:hover{background:none}.ut tbody tr:hover>*{background:var(--panel)}
@media(max-width:860px){.days{gap:2px}.day span{width:26px}}
@media(max-width:860px){
  .ut.crew thead{display:none}
  .ut.crew,.ut.crew tbody{display:block}
  .ut.crew tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:12px;border-top:1px solid var(--line)}
  .ut.crew tr:first-child{border-top:0}
  .ut.crew th,.ut.crew td{border:0;padding:0;min-width:0}
  .ut.crew th[scope=row]{grid-column:1/-1}
  .ut.crew td:nth-of-type(1)::after{content:" Photos"}.ut.crew td:nth-of-type(2)::after{content:" Video"}
  .ut.crew td:nth-of-type(1),.ut.crew td:nth-of-type(2){font-size:13px;color:var(--muted)}
  .ut.crew td:nth-of-type(3){grid-column:1/-1}
  .ut.crew td:nth-of-type(4){grid-column:1/-1;text-align:end}
  .ut.crew tbody tr:hover>*{background:none}
}

/* Branding: the list, the board and a project's page */
.br-bar{flex-wrap:wrap;row-gap:10px}
.br-bar .wk-sbar em{font-style:normal;font-size:11.5px;color:var(--muted);margin-inline-start:2px}
.br-bar .br-q{flex:0 1 240px;min-width:0}
.br-none{padding:28px 4px}
.br-board .mw-col.over{outline:2px dashed var(--ink);outline-offset:-4px}
.br-card{display:block;text-decoration:none;color:inherit}
.br-card.dragging{opacity:.4}
.br-card.late{box-shadow:inset 3px 0 0 var(--bad)}
.br-hint{display:block;color:var(--muted);font-size:12.5px;margin-top:8px}
.br-timer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;margin:0 0 14px;border-radius:var(--radius);background:var(--ok-bg);color:var(--ok-ink);font-size:14px}
.br-timer a{color:inherit;font-weight:500}.br-timer b{font-variant-numeric:tabular-nums;margin-inline-start:auto}
.br-timer.in{margin:0 0 10px}
.br-dot{width:8px;height:8px;border-radius:50%;background:var(--ok);animation:brPulse 1.6s ease-in-out infinite}
@keyframes brPulse{50%{opacity:.3}}
@media(prefers-reduced-motion:reduce){.br-dot{animation:none}}
.br-lab{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.br-pkgs button{min-width:84px}
.br-picks summary{cursor:pointer;font-size:14px;font-weight:500}.br-picks summary small{font-weight:400;color:var(--muted);margin-inline-start:6px}
.br-pickgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:10px}
.br-pick{border:1px solid var(--line);border-radius:var(--radius);padding:8px 12px 10px;margin:0;background:var(--bg)}
.br-pick legend{font-size:12px;color:var(--muted);padding:0 4px}
.br-pick label{display:flex;gap:8px;align-items:flex-start;font-size:13.5px;padding:3px 0;cursor:pointer}
/* the project page */
.br-line{margin:14px 0 10px;overflow-x:auto}
.br-line .stg button{cursor:pointer}
.br-sd{display:block;font-size:11px;color:var(--muted);font-weight:400}.br-sd.late{color:var(--bad)}
.br-now-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px;font-size:14px}
.br-now-bar .wk-tag{vertical-align:1px}
.br-saved{color:var(--muted);font-size:12.5px}.br-saved.bad{color:var(--bad)}
.br-stages .sub{margin:-4px 0 12px}
.br-stage{border:1px solid var(--line);border-radius:var(--radius);margin-top:10px;background:var(--bg)}
.br-stage.cur{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.br-stage>header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:10px 12px;border-bottom:1px solid var(--line)}
.br-sn{display:flex;align-items:center;gap:8px;min-width:0;flex:1 1 220px}
.br-sn .stg{margin:0;padding:0}.br-sn .stg-s span:not(.sr){display:none}
.br-sn small{color:var(--muted)}
.br-name{border:0;background:none;font:inherit;font-weight:500;font-size:15px;color:var(--ink);min-width:0;flex:1;padding:4px 6px;border-radius:8px}
.br-name:hover,.br-name:focus{background:var(--panel);outline:none}
.br-now{font-style:normal;font-size:11.5px;background:var(--ink);color:var(--bg);border-radius:999px;padding:2px 9px;flex:none}
.br-mk{flex:none;font-size:12px;padding:4px 10px}
.br-sf{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.br-sel{height:32px;min-height:0;padding:0 8px;font-size:12.5px;max-width:170px}
.br-date{height:32px;min-height:0;padding:0 8px;font-size:12.5px;width:138px}
.br-date.late,.find.late{color:var(--bad);border-color:var(--bad)}
.br-tm{color:var(--muted);font-size:12px}
.br-mv{display:inline-flex}
.br-x{border:0;background:none;color:var(--muted);width:28px;height:28px;border-radius:8px;cursor:pointer;font-size:15px;line-height:1}
.br-x:hover:not(:disabled){background:var(--panel);color:var(--ink)}.br-x:disabled{opacity:.3;cursor:default}
.br-items{padding:4px 12px 10px}
.br-item{display:grid;grid-template-columns:26px minmax(0,1fr) 140px 138px 140px 28px;gap:6px;align-items:center;padding:4px 0;border-bottom:1px solid var(--line)}
.br-item.done .br-it{text-decoration:line-through;color:var(--muted)}
.br-item.late .br-date{color:var(--bad);border-color:var(--bad)}
.br-ck input{width:17px;height:17px;cursor:pointer}
.br-it{height:32px;min-height:0;padding:0 8px;font-size:13.5px;border-color:transparent;background:none}
.br-it:hover,.br-it:focus{border-color:var(--line);background:var(--bg)}
.br-item .br-sel,.br-item .br-date{max-width:none;width:100%}
.br-add{display:grid;grid-template-columns:minmax(0,1fr) 140px 138px auto;gap:6px;margin-top:8px;padding-inline-start:32px}
.br-add .find{height:32px;min-height:0;font-size:13px}
.br-addst{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.br-addst .find{max-width:260px}
.br-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.br-facts label{display:grid;gap:4px;font-size:12.5px;color:var(--muted);min-width:0}.br-facts label.wide{grid-column:1/-1}
.br-facts .find{width:100%;min-width:0}
.br-time h3 small{font-weight:400;color:var(--muted);font-size:13px;margin-inline-start:6px}
.br-tf{display:flex;gap:6px;flex-wrap:wrap}.br-tf .find{flex:1 1 120px;min-width:0}
.br-manual{margin-top:12px}.br-manual summary{cursor:pointer;font-size:13.5px;color:var(--muted)}.br-manual .br-tf{margin-top:8px}
.br-tp{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:14px;font-size:13px;color:var(--muted)}.br-tp b{color:var(--ink);font-weight:500}
.br-tl{margin-top:10px;border-top:1px solid var(--line)}
.br-tl>div{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px}
.br-tl>div>span{flex:1;min-width:0}.br-tl small{display:block;color:var(--muted);font-size:11.5px}.br-tl b{font-weight:500;font-variant-numeric:tabular-nums}
.br-del{margin-top:4px}
@media(max-width:860px){
  .br-item{grid-template-columns:26px minmax(0,1fr) 28px;row-gap:4px}
  .br-item .br-sel,.br-item .br-date{grid-column:2/3}
  .br-add{grid-template-columns:1fr 1fr;padding-inline-start:0}.br-add .find:first-child{grid-column:1/-1}
  .br-sf{width:100%}.br-sel{max-width:none;flex:1 1 120px}
}
.br-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);grid-template-columns:none;overflow-x:auto;padding-bottom:6px}
.br-sdot{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:inset 0 0 0 2px var(--line-2)}
.br-sdot.d{background:var(--ink);box-shadow:none}.br-sdot.n{box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--bg);background:var(--ink)}.br-sdot.b{background:var(--bad);box-shadow:none}
.br-on{font-weight:500;padding:4px 6px}
.br-stage>header{display:grid;grid-template-columns:1fr;gap:8px}
.br-sn{flex:none}
.br-mv{margin-inline-start:auto}
.br-sf .br-sel{flex:1 1 130px}.br-sf .br-date{flex:0 0 138px}
.br-item{grid-template-columns:24px minmax(0,1fr) 116px 128px 118px 26px}
.br-add{grid-template-columns:minmax(0,1fr) 116px 128px auto;padding-inline-start:30px}
.sd.br-grid{grid-template-columns:minmax(0,2.2fr) minmax(290px,1fr)}
@media(max-width:1100px){.sd.br-grid{grid-template-columns:1fr}}
.br-add .find,.br-item .find,.br-sf .find{min-width:0;width:100%}
.br-add .btn-s{white-space:nowrap}
@media(max-width:860px){
  .br-item{grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) 26px;grid-template-areas:"ck t t x" ". o d d" ". s s s";row-gap:6px;padding:8px 0}
  .br-item .br-ck{grid-area:ck}.br-item .br-it{grid-area:t}.br-item [data-bi=owner]{grid-area:o}.br-item [data-bi=due]{grid-area:d}.br-item [data-bi=state]{grid-area:s}.br-item .br-x{grid-area:x}
  .br-add{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-inline-start:0}.br-add .find:first-child{grid-column:1/-1}.br-add .btn-s{grid-column:1/-1}
  .br-sf{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.br-sf .br-date{width:100%}
  .br-sn{flex-wrap:wrap}.br-name{flex:1 1 140px}
  .br-facts{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .sd.br-grid>*{min-width:0}
  .br-now-bar{align-items:flex-start}
}
.stg{position:relative}
.pf-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pf-stats>div{background:var(--panel);border-radius:var(--radius);padding:10px 12px;display:grid;gap:1px}
.pf-stats b{font-family:Archivo,sans-serif;font-weight:400;font-size:24px;line-height:1.1}.pf-stats span{font-size:12.5px;color:var(--muted)}.pf-stats small{font-size:11.5px;color:var(--muted)}
.pf-jobs{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:10px;font-size:12.5px;color:var(--muted)}.pf-jobs b{color:var(--ink);font-weight:500}
.pf-brand{margin-top:10px;border-top:1px solid var(--line)}
.pf-brand a{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}
.pf-brand a>span{flex:1;min-width:0}.pf-brand b{display:block;font-weight:500;font-size:13.5px}.pf-brand small{color:var(--muted);font-size:12px}.pf-brand i{font-style:normal;color:var(--muted)}
.pf-brand a:hover b{text-decoration:underline}
.pf-tot{display:block;margin-top:8px;color:var(--muted);font-size:12px}

/* Routines: the panel, the Admin editor and the report */
.rt-who{margin:0 0 12px}
.rt-list{display:grid;gap:10px}
.rt-row{border:1px solid var(--line);border-radius:var(--radius);padding:10px 12px;background:var(--bg)}
.rt-row.done{border-color:var(--ok-line);background:color-mix(in srgb,var(--ok-bg) 45%,var(--bg))}
.rt-row header{display:flex;align-items:center;gap:8px;margin-bottom:6px}.rt-row header a{color:inherit;text-decoration:none}.rt-row header a:hover b{text-decoration:underline}.rt-row header b{font-weight:500}.rt-row header small{color:var(--muted);font-size:12px}
.rt-ticks{display:grid;gap:2px;margin-bottom:6px}.rt-ticks .ed-check{font-size:14px}
.rt-note{display:grid;gap:3px;font-size:12.5px;color:var(--muted);margin-top:6px}.rt-note .find{width:100%}
.rt-by{display:block;color:var(--muted);font-size:11.5px;margin-top:4px;min-height:1em}.rt-by.bad{color:var(--bad)}
.rt-all{display:grid;gap:6px}
.rt-pick{display:flex;align-items:center;gap:10px;width:100%;text-align:start;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);padding:10px 12px;cursor:pointer;font:inherit;color:inherit}
.rt-pick:hover{border-color:var(--ink)}.rt-pick span{flex:1;min-width:0}.rt-pick b{display:block;font-weight:500}.rt-pick small{color:var(--muted);font-size:12px}
.rt-pick em{font-style:normal;font-variant-numeric:tabular-nums;font-size:13px;color:var(--muted)}.rt-pick em.late{color:var(--bad)}.rt-pick.done em{color:var(--ok-ink)}
.rt-ed{display:grid;gap:8px}
.rt-def{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg)}
.rt-def.off{opacity:.65}
.rt-def summary{cursor:pointer;padding:10px 14px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}.rt-def summary b{font-weight:500}.rt-def summary small{color:var(--muted)}
.rt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;padding:4px 14px 14px}
.rt-grid label{display:grid;gap:4px;font-size:12.5px;color:var(--muted)}.rt-grid .wide{grid-column:1/-1}.rt-grid .find{width:100%;min-width:0}
.rp-rt h3 small{font-weight:400;color:var(--muted);font-size:13px;margin-inline-start:6px}
.rp-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.rp-cols h4{margin:0 0 8px;font-size:13.5px;font-weight:500}.rp-cols h4 small{display:block;color:var(--muted);font-weight:400;font-size:12px}
.rp-row{display:grid;grid-template-columns:minmax(90px,1fr) 2fr 56px auto;gap:10px;align-items:center;padding:5px 0;font-size:13.5px}
.rp-row b{font-weight:500;font-variant-numeric:tabular-nums;text-align:end}
.rp-bar{height:8px;border-radius:999px;background:var(--panel);overflow:hidden}.rp-bar i{display:block;height:100%;background:var(--ink);border-radius:inherit}.rp-bar i.ok{background:var(--ok)}.rp-bar i.late{background:var(--bad)}
.rp-rt+.rp-rt{margin-top:14px}
@media(max-width:860px){.rp-cols{grid-template-columns:1fr}}
.rt-who{flex:none;align-self:flex-start}
.rt-list,.rt-row,.rt-all,.sp-b>.wk-note{flex:none}
.rt-ticks{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));column-gap:12px}
.rt-row .rt-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:0 10px}
.rt-ed{margin-top:12px}
.sp-b .rt-who{margin-bottom:12px;width:max-content;max-width:100%}

/* Clients overview */
.ct-views a{font-size:13px;padding:7px 14px;color:var(--muted);text-decoration:none;border-inline-start:1px solid var(--line)}.ct-views a:first-child{border-inline-start:0}.ct-views a.on{background:var(--ink);color:var(--bg);font-weight:600}.ct-views a:not(.on):hover{background:var(--panel)}
.toolbar .ct-views{margin-inline-end:10px}
.ob-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}.ob-bar .ob-q{flex:0 1 220px;min-width:0}.ob-bar .ob-who{max-width:210px}
.ob-wrap{overflow:auto;max-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 230px);border:1px solid var(--line);border-radius:var(--radius)}
.ob-t{border-collapse:separate;border-spacing:0;width:100%;font-size:13px;min-width:1180px}
.ob-t th,.ob-t td{border-bottom:1px solid var(--line);padding:6px 8px;text-align:start;vertical-align:middle;white-space:nowrap;background:var(--bg)}
.ob-t thead th{position:sticky;z-index:2;font-weight:500;color:var(--muted);font-size:12px;background:var(--panel)}
.ob-h1 th{top:0}.ob-h2 th{top:31px}.ob-h1 th[rowspan]{z-index:3}
.ob-t thead small{display:block;font-weight:400;font-variant-numeric:tabular-nums}.ob-t thead small b{color:var(--bad);font-weight:600}
.ob-grp{text-align:center!important;color:var(--ink)!important;font-family:Archivo,sans-serif;font-size:13px!important}
.ob-grp.live{background:color-mix(in srgb,var(--panel) 80%,var(--info-bg))!important}
.ob-split{border-inline-start:2px solid var(--line-2)!important}
.ob-sticky{position:sticky;inset-inline-start:0;z-index:1;min-width:170px;max-width:220px}
thead .ob-sticky{z-index:4}
.ob-t tbody th.ob-sticky{font-weight:400}.ob-sticky a{color:inherit;text-decoration:none;font-weight:500;display:block;overflow:hidden;text-overflow:ellipsis}.ob-sticky a:hover{text-decoration:underline}
.ob-st{border:0;background:none;color:var(--muted);font:inherit;font-size:11.5px;padding:0;cursor:pointer}
.ob-onb{display:block;border:0;background:var(--review-bg);color:var(--review-ink);border-radius:999px;font:inherit;font-size:11px;padding:1px 8px;margin-top:3px;cursor:pointer}
.ob-g th{background:var(--sheet)!important;padding:0}.ob-g button{display:flex;align-items:center;gap:6px;border:0;background:none;font:inherit;font-weight:600;font-size:13px;padding:8px;cursor:pointer;color:var(--ink);position:sticky;inset-inline-start:0}.ob-g em{font-style:normal;font-weight:400;color:var(--muted)}
.ob-team{min-width:70px}.ob-av{width:24px;height:24px;font-size:10px;margin-inline-end:-6px;border:2px solid var(--bg);display:inline-grid}.ob-av.ob-me{outline:2px solid var(--ink);outline-offset:1px}
.ob-c{position:relative;display:flex;align-items:center;gap:4px;width:100%;min-height:28px;border:0;border-radius:8px;padding:4px 8px;font:inherit;font-size:12.5px;cursor:pointer;text-align:start;background:var(--panel);color:var(--muted)}
.ob-c:hover{outline:1px solid var(--ink)}
.ob-c.ok{background:var(--ok-bg);color:var(--ok-ink)}.ob-c.wait{background:var(--info-bg);color:var(--info-ink)}.ob-c.bad{background:var(--bad-bg);color:var(--bad-ink)}.ob-c.hold{background:var(--warn-bg);color:var(--warn-ink)}
.ob-n{position:absolute;top:-4px;inset-inline-end:-4px;width:15px;height:15px;border-radius:50%;background:var(--bad);color:#fff;font-style:normal;font-size:10px;font-weight:700;display:grid;place-items:center}
.ob-chips{display:inline-flex;gap:3px;flex-wrap:nowrap}.ob-chips i{font-style:normal;font-size:11px;padding:1px 6px;border-radius:999px;background:var(--bg);color:var(--muted)}
.ob-chips i.ok{background:var(--ok);color:#fff}.ob-chips i.bad{background:var(--bad);color:#fff}.ob-chips i.wait{background:var(--info-bg);color:var(--info-ink)}
.ob-camp{height:28px;min-height:0;font-size:12.5px;padding:0 6px;border-radius:8px;max-width:150px}
.ob-camp.ok{background:var(--ok-bg);color:var(--ok-ink)}.ob-camp.bad{background:var(--bad-bg);color:var(--bad-ink)}.ob-camp.wait{background:var(--info-bg);color:var(--info-ink)}
.ob-note{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;color:var(--bad);font-size:11px}
.ob-big{display:inline-block;font-family:Archivo,sans-serif;font-weight:400;font-size:20px;padding:4px 12px;border-radius:10px;background:var(--panel)}
.ob-big.ok{background:var(--ok-bg);color:var(--ok-ink)}.ob-big.bad{background:var(--bad-bg);color:var(--bad-ink)}.ob-big.wait{background:var(--info-bg);color:var(--info-ink)}.ob-big.hold{background:var(--warn-bg);color:var(--warn-ink)}
.ob-said{margin:10px 0 0;color:var(--bad-ink)}.ob-said small{color:var(--muted)}
.ob-over{display:grid;gap:8px}.ob-over h4{margin:0;font-size:13px}.ob-over .wk-sbar label{font-size:13px;padding:7px 12px;cursor:pointer;color:var(--muted);border-inline-start:1px solid var(--line)}.ob-over .wk-sbar label:first-child{border-inline-start:0}.ob-over .wk-sbar label.on{background:var(--ink);color:var(--bg)}.ob-over .wk-sbar input{position:absolute;opacity:0;width:1px;height:1px}
.ob-onbl{display:grid;gap:8px;margin-bottom:12px}.ob-onbl small{color:var(--muted)}.ob-onbl .done{color:var(--muted)}
.ch-status{height:34px;min-height:0;font-size:13px;padding:0 10px;border-radius:999px;width:auto}
.ch-status.st-onboarding{background:var(--review-bg);color:var(--review-ink)}.ch-status.st-hold{background:var(--warn-bg);color:var(--warn-ink)}.ch-status.st-inactive{color:var(--muted)}
select.find.ch-status{width:auto;flex:none;max-width:160px}
.ob-t td.ob-td{max-width:170px}.ob-c span{overflow:hidden;text-overflow:ellipsis}

/* A client's page: its sections as tabs */
.ct-shell{margin-bottom:16px}.ed-top .ct-shell{flex:1;min-width:0;margin-bottom:0}
.ct-shell .ct-hd-row{display:flex;align-items:center;gap:12px;margin:6px 0 4px}.ct-shell h1{margin:0}
.ct-st{font-size:12px;border-radius:999px;padding:3px 10px;text-decoration:none;background:var(--panel);color:var(--muted)}.ct-st.st-onboarding{background:var(--review-bg);color:var(--review-ink)}.ct-st.st-hold{background:var(--warn-bg);color:var(--warn-ink)}
.ct-tabs{overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;margin-top:10px}
.ct-tabs a{border:0;background:none;color:var(--muted);padding:10px 14px 12px;margin-bottom:-1px;border-bottom:2px solid transparent;text-decoration:none;font-size:15px;font-weight:500;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.ct-tabs a:hover{color:var(--ink)}.ct-tabs a.on{color:var(--ink);border-bottom-color:var(--ink)}
.ct-tabs em{font-style:normal;font-size:11px;background:var(--bad);color:#fff;border-radius:999px;padding:0 6px}.ct-tabs em:empty{display:none}
.ov-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px;align-items:start}
.ov-card{margin:0}.ov-card h3{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.ov-more{font-size:13px;font-weight:400;color:var(--muted)}.ov-more:hover{color:var(--ink)}
.ov-chips{display:flex;flex-wrap:wrap;gap:6px}.ov-chips span{background:var(--panel);border-radius:999px;padding:4px 12px;font-size:13px}
.ov-chips .ov-st.st-active{background:var(--ok-bg);color:var(--ok-ink)}.ov-chips .ov-st.st-onboarding{background:var(--review-bg);color:var(--review-ink)}.ov-chips .ov-st.st-hold{background:var(--warn-bg);color:var(--warn-ink)}
.ov-card>.ov-more{display:inline-block;margin-top:10px}
.ov-m{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line)}.ov-m:first-of-type{border-top:0}
.ov-m>span:first-child{display:grid;min-width:110px;margin-inline-end:auto}.ov-m>span small{color:var(--muted);font-size:12px}.ov-m b{font-weight:500}.ov-m>small{color:var(--muted)}
.ov-says{display:block;background:var(--review-bg);color:var(--review-ink);border-radius:var(--radius);padding:10px 14px;margin-bottom:12px;text-decoration:none}
.ov-h{margin:0 0 10px;font-size:15px}.ov-hrow{display:flex;justify-content:space-between;align-items:center}
.ov-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ct-empty{padding:14px 0}.ct-empty p{color:var(--muted);margin:0 0 12px}
.ct-set{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;align-items:end}
.ct-set label{display:grid;gap:4px;font-size:12.5px;color:var(--muted)}.ct-set .ce-wide{grid-column:1/-1}
.ce-svc{border:1px solid var(--line);border-radius:var(--radius);padding:10px 14px;display:flex;flex-wrap:wrap;gap:6px 18px}.ce-svc legend{font-size:12.5px;color:var(--muted);padding:0 4px}.ce-svc small{flex-basis:100%;color:var(--muted);font-size:12px}
.ct-danger{margin-top:18px}
/* Social media */
.sm-r{--c:minmax(200px,1.6fr) minmax(170px,1fr) minmax(170px,1fr) minmax(120px,.7fr) minmax(120px,.7fr) 84px;grid-template-columns:var(--c);min-width:760px;height:auto;min-height:50px}
.sm-r a{color:inherit;text-decoration:none}.sm-r a b{font-weight:500}.sm-r a:hover b{text-decoration:underline}.sm-r small{color:var(--muted)}
.sm-r>span{display:flex;align-items:center;gap:8px}
.ps-r{--c:34px minmax(240px,2fr) 150px 120px minmax(180px,1.3fr) minmax(150px,1fr) 140px 170px 170px 150px 150px 90px;grid-template-columns:var(--c);min-width:1800px;height:auto;min-height:48px}
.ps-mbox{margin-top:18px}.ps-mnote{color:var(--muted);font-size:13px;margin:6px 0 8px 14px}.ps-mr{display:grid;grid-template-columns:minmax(0,1fr) 90px 170px;gap:10px;align-items:center;padding:6px 6px 6px 14px;border-top:1px solid var(--line)}.ps-mc{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ps-mt{color:var(--muted);text-transform:capitalize;font-size:13px}
.ps-mr>input:not(#_){width:100%;min-width:0;box-sizing:border-box}
@media (max-width:640px){.ps-mr:not(#_){grid-template-columns:minmax(0,1fr);gap:6px}.ps-mt{display:none}.ps-mr>input:not(#_){max-width:100%!important}}
.ps-r>span{display:flex;align-items:center;gap:6px;min-width:0;padding-right:8px}.ps-r a{color:inherit}.ps-r>span>:is(input,select):not([type=hidden]):not(#_){width:100%;min-width:0;flex:1 1 auto}
.sm-c{display:inline-flex;align-items:baseline;gap:6px;border-radius:999px;padding:3px 10px;font-size:12.5px;background:var(--panel);color:var(--muted)}
.sm-c small{font-size:11px;opacity:.8}.sm-c.ok{background:var(--ok-bg);color:var(--ok-ink)}.sm-c.wait{background:var(--info-bg);color:var(--info-ink)}.sm-c.bad{background:var(--bad-bg);color:var(--bad-ink)}
a.sm-c:hover{outline:1px solid var(--ink)}
.sm-c{flex:none}
.ed-top+.pc{padding:14px 18px;min-height:0}.ed-top+.pc .pc-av .cav{width:64px;height:64px;font-size:26px}
.ct-set .ce-svc label{display:inline-flex;align-items:center;gap:6px;color:var(--ink);font-size:14px}
.ct-name .ct-st{font-style:normal;margin-inline-start:8px;font-size:11.5px;font-weight:500}.card.ch-panel+.card.ch-panel{margin-top:14px}
.ct-add{flex-wrap:wrap}.ct-svc{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;border:1px solid var(--line);border-radius:var(--radius);padding:6px 12px;margin:0;flex-basis:100%}.ct-svc legend{font-size:12.5px;color:var(--muted);padding:0 4px}.ct-svc label{font-size:14px}

/* Branding project: one row per stage, its tasks under it */
.br-tbl{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:var(--bg);margin-top:4px}
.br-r{display:grid;grid-template-columns:minmax(0,1fr) 140px 150px 136px 60px 96px;gap:8px;align-items:center;min-height:44px;padding:4px 12px;border-top:1px solid var(--line)}
.br-r>*{min-width:0}
.br-head>span:not(:first-child){position:relative}.br-head .lt-rz{inset-inline-end:-9px}
.br-head{border-top:0;min-height:32px;font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);background:var(--panel)}
.br-c1{display:flex;align-items:center;gap:8px;min-width:0}
.br-c6{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.br-srow{background:var(--bg)}.br-srow .br-name,.br-srow .br-on{font-weight:600;font-size:14.5px}
.br-srow.cur{box-shadow:inset 3px 0 0 var(--ink)}
.br-srow.late .br-date{color:var(--bad);border-color:var(--bad)}
.br-task{background:color-mix(in srgb,var(--panel) 45%,var(--bg))}
.br-task .br-c1{padding-inline-start:26px;position:relative}
.br-task .br-c1::before{content:"";position:absolute;inset-inline-start:9px;top:-10px;bottom:50%;width:10px;border-inline-start:1.5px solid var(--line-2);border-bottom:1.5px solid var(--line-2);border-end-start-radius:6px}
.br-task.done .br-it{text-decoration:line-through;color:var(--muted)}
.br-task.late .br-date{color:var(--bad);border-color:var(--bad)}
.br-ck{width:16px;height:16px;flex:none;cursor:pointer}
.br-plus{width:16px;text-align:center;color:var(--muted);flex:none}
.br-addt .br-it::placeholder{color:var(--muted)}
.br-r .br-sel,.br-r .br-date{width:100%;max-width:none;height:32px}
.br-r .br-it{height:32px;flex:1;min-width:0}
.br-mk{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;opacity:0;padding:2px 6px;border-radius:6px;white-space:nowrap}
.br-srow:hover .br-mk,.br-mk:focus{opacity:1}.br-mk:hover{background:var(--panel);color:var(--ink)}
.br-other{background:var(--panel)}.br-other small{color:var(--muted);margin-inline-start:6px}
.br-titles{flex:1 1 360px;min-width:0}.br-cl{display:inline-block;margin-top:2px;font-size:14px;color:var(--muted)}.br-cl:not(.none):hover{color:var(--ink)}
.br-facts label span small{font-weight:400;margin-inline-start:4px}
@media(max-width:860px){.br-mk{opacity:1}}
.br-exp{border:0;background:none;width:24px;height:24px;border-radius:6px;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;color:var(--muted)}.br-exp:hover{background:var(--panel);color:var(--ink)}
.br-sub{border-top:1px solid var(--line);background:color-mix(in srgb,var(--panel) 55%,var(--bg));padding:6px 0 10px 40px;min-width:var(--w,1160px)}
.br-sr{display:grid;grid-template-columns:minmax(220px,2fr) 150px minmax(120px,1fr) 100px;gap:10px;align-items:center;min-height:36px;padding:2px 12px;font-size:13.5px;border-bottom:1px solid var(--line)}
.br-sr.task>span:first-child{padding-inline-start:22px;display:flex;align-items:center;gap:8px}.br-sr.task.done>span:first-child{color:var(--muted);text-decoration:line-through}.br-sr.task.late>span:nth-child(4){color:var(--bad)}
.br-sr .br-sel{height:28px;width:100%}.br-sr.cur>span:first-child b{text-decoration:underline;text-underline-offset:3px}
.br-sopen{display:inline-block;margin:8px 12px 0;font-size:13px;color:var(--muted)}.br-sopen:hover{color:var(--ink)}
.sd.br-grid{grid-template-columns:1fr}
.sd.br-grid>.sd-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;align-items:start}
.sd.br-grid>.sd-side>.br-del{grid-column:1/-1;justify-self:start}
.br-sr{max-width:860px}
.br-srow .br-name{border:0;background:none;font:inherit;font-weight:600;font-size:14.5px;color:var(--ink);padding:4px 6px;border-radius:6px;flex:1;min-width:0}
.br-srow .br-name:hover,.br-srow .br-name:focus{background:var(--panel);outline:none}
.br-other .br-c1{flex-wrap:nowrap;white-space:nowrap}
.br-addl{min-height:30px;padding-top:0;padding-bottom:0;background:var(--bg)}.br-addl .br-c1::before{display:none}
.br-addb{border:0;background:none;color:var(--muted);font:inherit;font-size:12.5px;cursor:pointer;padding:3px 6px;border-radius:6px}.br-addb:hover{background:var(--panel);color:var(--ink)}

/* Lists: sort by a column, drag a column's edge, Filter (public/lists.js) */
.lt-h{position:relative}
.lt-th{cursor:pointer;user-select:none}.lt-th:hover{color:var(--ink)}.lt-th:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}
.lt-ar{margin-inline-start:4px;font-size:10.5px;opacity:.45}.lt-th.on .lt-ar{opacity:1}.lt-th.on{color:var(--ink)}
.lt-rz{position:absolute;top:0;bottom:0;inset-inline-end:-5px;width:10px;cursor:col-resize;z-index:2;touch-action:none}
.lt-rz::after{content:"";position:absolute;top:22%;bottom:22%;left:4px;width:2px;border-radius:2px;background:transparent;transition:background .15s}
.lt-h:hover .lt-rz::after,.lt-rz:hover::after{background:var(--line-2)}.lt-resizing .lt-rz::after{background:var(--ink)}
.lt-resizing,.lt-resizing *{cursor:col-resize!important;user-select:none!important}
.wk-r1>.lt-h:not(:first-child){overflow:visible}
.lt-bar{display:flex;justify-content:flex-end;margin:0 0 8px}
.lt-bar .wk-ck{position:relative}
.lt-fb.on{background:var(--ink);color:var(--bg)}
.lt-pop{max-height:min(calc(70vh / var(--z, 1)),560px);overflow:auto;padding:10px 14px}
.lt-fg{padding:8px 0;border-top:1px solid var(--line)}.lt-fg:first-child{border-top:0}.lt-fg b{display:block;font-size:12.5px;font-weight:600;color:var(--muted);margin-bottom:6px}
.lt-chips{display:flex;flex-wrap:wrap;gap:6px}
.lt-chip{border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:4px 11px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--ink)}
.lt-chip:hover{border-color:var(--ink)}.lt-chip.on{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.lt-pf{display:flex;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px solid var(--line);margin-top:4px}
.ob-t th.lt-h{overflow:visible}
.lt-bar.in{display:inline-flex;margin:0}
.lt-bar.in .wk-pop{inset-inline-end:0}

/* Dragging cards between board columns (public/drag.js) */
[data-dboard] [data-dcard]{cursor:grab;touch-action:pan-y}
.dg-on,.dg-on *{cursor:grabbing!important;user-select:none!important}
.dg-ghost{box-shadow:0 18px 40px -12px rgba(0,0,0,.35),0 0 0 1px var(--line);border-radius:var(--radius);background:var(--bg);opacity:.97;will-change:transform;transform-origin:30% 20%}
.dg-src{opacity:.28;filter:saturate(.4)}
.mw-col{transition:background .15s,box-shadow .15s}
.mw-col.dg-over{background:color-mix(in srgb,var(--info-bg) 70%,var(--panel));box-shadow:inset 0 0 0 2px var(--info)}
.mw-col.dg-no{background:color-mix(in srgb,var(--bad-bg) 60%,var(--panel));box-shadow:inset 0 0 0 2px var(--bad)}
.br-card.dragging{opacity:1}
/* Reports, Routines */
.rp-tiles{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-bottom:14px}
.rp-two{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px;margin-bottom:14px}.rp-two .card{margin:0}
.rp-p{display:grid;grid-template-columns:minmax(0,1fr) 2fr 48px;gap:10px;align-items:center;padding:7px 0;border-top:1px solid var(--line)}.rp-p:first-of-type{border-top:0}
.rp-p b{display:block;font-weight:500}.rp-p small{color:var(--muted);font-size:12px}.rp-p em{font-style:normal;text-align:end;font-variant-numeric:tabular-nums}
.rp-flags{display:grid}.rp-f{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-top:1px solid var(--line);font-size:14px}.rp-f:first-child{border-top:0}
.rp-f small{display:block;color:var(--muted);font-size:12px}.rp-f .wk-tag{flex:none;margin-top:1px}
.rp-how{margin-top:10px;font-size:13px;color:var(--muted)}.rp-how summary{cursor:pointer}
.card h3 small{font-weight:400;color:var(--muted);font-size:13px;margin-inline-start:6px}
.rp-pos+.rp-pos,.card+.rp-pos{margin-top:14px}
.rp-r{--c:minmax(220px,2.4fr) minmax(150px,1.2fr) 70px 60px 70px 60px 70px;grid-template-columns:var(--c);min-width:760px;height:auto;min-height:48px}
.rp-r small{display:block;color:var(--muted);font-size:11.5px;white-space:normal}.rp-r b{font-weight:500}
.rp-r>span:nth-child(2){display:flex;align-items:center;gap:8px}.rp-r .rp-bar{flex:1}
.rp-bad{color:var(--bad);font-weight:600}
.rp-r>span:first-child{display:grid;white-space:normal;align-content:center;padding-block:6px}
/* Performance: the tracking plan, mid-month and final numbers */
.pv-tbl,.pv-plan{display:flex;flex-direction:column;gap:2px;margin-top:14px;overflow-x:auto}
.pv-r{display:grid;grid-template-columns:minmax(150px,2fr) minmax(80px,1fr) minmax(80px,1fr) minmax(96px,1.1fr) minmax(96px,1.1fr) minmax(90px,.9fr);gap:10px;align-items:center;padding:7px 4px;border-bottom:1px solid var(--line);min-width:640px}
.pv-r.head{font-size:12px;font-weight:600;color:var(--muted);border-bottom:0;padding-bottom:2px}
.pv-r.head small{display:block;font-weight:400}.pv-r.head .due{color:var(--ink)}
.pv-g{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:16px 4px 2px;min-width:640px}
.pv-m{display:flex;flex-direction:column;min-width:0}.pv-m small{color:var(--muted);font-size:12px}
.pv-last{color:var(--muted)}
.pv-n{width:100%;min-width:0}.pv-r>span:has(>.pv-tg){display:flex;align-items:center;gap:4px}.pv-r>span>.pv-tg{flex:1}.pv-stand.pv-def{display:block;margin-top:4px}.pv-apply{display:inline-flex;align-items:center;gap:6px;margin-inline-end:8px;font-size:13px}.pv-n.due{border-color:var(--ink)}.pv-n:disabled{background:transparent;border-color:transparent;color:var(--ink)}
.pv-stand{display:inline-block;font-size:13px;color:var(--muted);margin-top:4px}
.pv-stand.ok{color:var(--ok-ink)}.pv-stand.wait{color:var(--ink)}.pv-stand.bad{color:var(--warn-ink);font-weight:600}
.pv-head .wk-do{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.pv-hint{display:block;color:var(--muted);margin-top:10px}
.pv-guess{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:var(--warn-bg);color:var(--warn-ink);border-radius:12px;padding:12px 16px;margin-bottom:16px}
.pv-p{display:grid;grid-template-columns:minmax(104px,1fr) minmax(120px,1.5fr) minmax(96px,.9fr) 64px 92px minmax(170px,1.3fr) 36px;gap:8px;align-items:start;padding:8px 0;border-bottom:1px solid var(--line)}
.pv-p>span{min-width:0}.pv-p .find{height:40px;box-sizing:border-box;font-size:14px;padding:8px 10px;text-overflow:ellipsis}
.pv-p.head{align-items:end}
.pv-del{width:36px;height:40px;border:0;border-radius:10px;background:var(--field);color:var(--muted);cursor:pointer;display:grid;place-items:center}.pv-del:hover{background:#e5484d;color:#fff}.pv-del svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pv-p.head{font-size:12px;font-weight:600;color:var(--muted);border-bottom:0}
.pv-p .find{width:100%;min-width:0}
.pv-ck{display:flex;flex-direction:column;gap:4px;font-size:12.5px}.pv-ck label{display:flex;gap:6px;align-items:center}
.pv-adds{display:flex;gap:6px;flex-wrap:wrap;margin:14px 0}
/* What we track fits its box (Rami, 2 November 2026: it scrolled sideways and hid the Ad spend tick): it sits in a month's Results tab beside the month's details, on Performance and on a phone, so the lines follow the box's own width; a narrow box makes each line a card, each field with its name */
.pv-plan{container-type:inline-size}
@container (max-width:860px){.pv-p{grid-template-columns:1fr 1fr;gap:8px 10px;padding:12px 0}.pv-p.head{display:none}.pv-p>span[data-l]::before{content:attr(data-l);display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:4px}.pv-p>.pv-wide{grid-column:1 / -1;order:1}.pv-p>.pv-x{justify-self:end;align-self:end}}
.pv-pf{display:flex;gap:8px;align-items:center}
.pv-cur{display:inline-flex;gap:6px;align-items:center;font-size:13px;color:var(--muted)}.pv-cur .find{width:auto}
.pv-months i{font-style:normal;color:var(--ok-ink)}
.pv-mo{display:none}
@media(max-width:860px){.pv-tbl{overflow:visible}.pv-r,.pv-g{min-width:0}.pv-r{grid-template-columns:1fr 1fr;row-gap:6px;padding:10px 0}.pv-r.head{display:none}.pv-r .pv-m{grid-column:1/-1}.pv-r>:last-child:empty{display:none}.pv-mo{display:inline;color:var(--muted)}.pv-head .wk-do{margin-left:0}}
/* a page inside a section: where you are, the client, and a way back to the client */
.mh-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.mh-row h1{margin:0}.mh-row .mh-go{margin-left:auto}
.ov-h-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.ov-h-row .ov-h{margin:0}
/* the client list: columns picked by each person; scrolls sideways when there are many */
.ct-scroll{overflow-x:auto}
.ct-scroll .ct-tr{grid-template-columns:var(--ctc);min-width:var(--ctw)}
.ct-scroll .ct-head2>span{text-align:left!important}
.ct-cell .sm-c{margin-right:4px}.ct-cell a{color:inherit}.ct-dash{color:var(--border-strong,#7c818a)}
.ct-colw{position:relative}
.ct-cols{position:absolute;right:0;top:calc(100% + 6px);z-index:30;display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;padding:14px 16px;min-width:340px;font-size:13.5px}
.ct-cols label{display:flex;gap:8px;align-items:center;white-space:nowrap}.ct-cols button{grid-column:1/-1;justify-self:start;margin-top:6px}
@media(max-width:860px){.ct-scroll .ct-tr:not(.ct-head2){min-width:0;grid-template-columns:1fr 1fr}.ct-scroll .ct-head2{display:none}.ct-scroll .ct-cell{grid-column:auto;white-space:normal}.ct-scroll .ct-cell:has(.ct-dash){display:none}.ct-cols{right:auto;left:0;min-width:0;grid-template-columns:1fr}}
.ct-cell .sm-c{display:inline-flex;width:auto;vertical-align:middle}
.br-detsave{display:flex;align-items:center;gap:10px;margin-top:12px}.br-detsave small{color:var(--muted)}

/* Branding stages: one row per stage and task at every width; narrow screens scroll sideways with the names kept in view */
.br-tbl{overflow-x:auto}
.br-tin{min-width:860px}
.br-r{grid-template-columns:minmax(230px,1fr) 128px 128px 128px 46px 52px 96px}
.br-c1{position:sticky;inset-inline-start:0;z-index:1;background:inherit;align-self:stretch;padding-block:4px}
.br-srow .br-c1,.br-head>span:first-child{background:var(--bg)}.br-head>span:first-child{position:sticky;inset-inline-start:0;z-index:1;background:var(--panel)}
.br-task .br-c1{background:color-mix(in srgb,var(--panel) 45%,var(--bg))}
button.br-fold{border:0;background:none;width:22px;height:22px;border-radius:6px;display:grid;place-items:center;cursor:pointer;flex:none;padding:0;color:var(--muted)}
button.br-fold svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .18s ease}button.br-fold.open svg{transform:rotate(90deg)}button.br-fold:hover{background:var(--panel);color:var(--ink)}
.br-cnt{flex:none;font-size:11.5px;color:var(--muted);background:var(--panel);border-radius:999px;padding:1px 7px}
.br-task .br-c1{padding-inline-start:48px}.br-task .br-c1::before{inset-inline-start:31px}
.br-ghost{font-size:12.5px;color:var(--muted);padding-inline-start:12px}
.br-c7{display:flex;justify-content:center}
.br-nb{display:inline-flex;align-items:center;gap:3px;border:0;background:none;border-radius:8px;padding:4px 6px;cursor:pointer;color:var(--soft);font:inherit;font-size:12px}
.br-nb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.br-nb.has{color:var(--ink)}.br-nb:hover,.br-nb.on{background:var(--panel);color:var(--ink)}
.br-notes{border-top:1px solid var(--line);background:var(--panel);padding:12px 16px 14px 48px;display:flex;flex-direction:column;gap:10px;position:sticky;inset-inline-start:0;max-width:min(860px,100%)}
.br-n{background:var(--bg);border-radius:12px;padding:10px 12px}
.br-nh{display:flex;align-items:center;gap:8px;font-size:13px}.br-nh small{color:var(--muted)}.br-nh .br-x{margin-inline-start:auto}
.br-nf{font-size:11.5px;border-radius:999px;padding:1px 8px;background:var(--panel);color:var(--muted)}.br-nf.client{background:var(--info-bg);color:var(--info-ink)}
.br-n p{margin:6px 0 0;white-space:pre-wrap;font-size:14px;line-height:1.45}
.br-npics{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.br-npic{border:0;padding:0;background:none;cursor:zoom-in;border-radius:8px;overflow:hidden;width:84px;height:84px}.br-npic img{width:100%;height:100%;object-fit:cover;display:block}
.br-nnone{margin:0;color:var(--muted);font-size:13.5px}
.br-nform textarea{width:100%;min-height:64px;resize:vertical;background:var(--bg)}
.br-nbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}.br-nbar .pri{margin-inline-start:auto}
.br-npicks{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.br-npicks span{position:relative;width:44px;height:44px;border-radius:7px;overflow:hidden}.br-npicks img{width:100%;height:100%;object-fit:cover}
.br-npicks span button{position:absolute;top:1px;right:1px;border:0;border-radius:50%;width:18px;height:18px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;line-height:1;cursor:pointer;padding:0}
.br-npicks small{color:var(--muted)}
.br-nwho button{font-size:12.5px}
.br-intro{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.br-folds{margin-inline-start:auto;display:inline-flex;gap:4px}
@media(max-width:860px){.br-notes{padding-inline-start:16px}.br-tin{min-width:820px}.br-r{grid-template-columns:minmax(190px,1fr) 124px 124px 124px 40px 48px 92px}}
.br-other .br-c1{background:var(--panel)}.br-addl .br-c1,.br-addl{background:var(--bg)}
.br-notes{max-width:none}
@media(max-width:860px){.br-notes{max-width:calc(100vw - 48px)}}
/* Size: each person's scale for the whole Hub (under Dark mode) */
.ui-size{display:flex;align-items:center;gap:2px;margin:4px 0 0;padding:6px 10px;color:var(--muted);font-size:13px}
.ui-size span{margin-inline-end:auto}
.ui-size button{border:0;background:none;color:var(--muted);border-radius:7px;width:28px;height:28px;cursor:pointer;font-weight:600;line-height:1}
.ui-size button:nth-of-type(1){font-size:11px}.ui-size button:nth-of-type(2){font-size:13px}.ui-size button:nth-of-type(3){font-size:15px}.ui-size button:nth-of-type(4){font-size:17px}.ui-size button:nth-of-type(5){font-size:19px}.ui-size button:nth-of-type(6){font-size:21px}
.me-srow .ui-size{margin:0;padding:0;flex:1}
@media (max-width:860px){.ui-size [data-ui-size="1.2"],.ui-size [data-ui-size="1.3"]{display:none}} /* a phone goes up to Large (index.html) */
.ui-size button:hover{background:var(--panel);color:var(--ink)}.ui-size button.on{background:var(--ink);color:var(--bg)}
.more .ui-size{padding:10px 14px}
.ct-cols{display:flex;flex-direction:column;gap:2px;min-width:300px;max-height:min(calc(70vh / var(--z, 1)),560px);overflow:auto}
.ct-colh{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:6px 0 4px}
.ct-colr{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0}.ct-colr span{display:inline-flex}
.ct-colmore{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}
.ct-cols>button{margin-top:10px;align-self:flex-start}
/* Decks: a client's discovery and strategy, read as slides (public/deck.js presents them) */
.deck{max-width:1000px;counter-reset:slide}
.deck-bar{display:flex;gap:8px;justify-content:flex-end;margin:0 0 14px}
.deck .slide{position:relative;counter-increment:slide;background:var(--bg);border:1px solid var(--line);border-radius:20px;aspect-ratio:16/9;padding:clamp(28px,4.6vw,60px) clamp(28px,5vw,68px) clamp(40px,5vw,64px);margin:0 0 22px;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(0,0,0,.04),0 14px 34px rgba(0,0,0,.06)}
.deck .slide::after{content:counter(slide);position:absolute;right:28px;bottom:20px;font-size:12px;color:var(--soft);font-variant-numeric:tabular-nums}
.deck .slide .sr-label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0}
.deck .slide h2{font-family:Archivo,sans-serif;font-size:clamp(28px,3.4vw,42px);line-height:1.08;letter-spacing:-.015em;margin:10px 0 24px;text-transform:none;color:var(--ink);border:0;padding:0}
.deck .slide-b{font-size:17.5px;line-height:1.55;max-width:70ch}.deck .slide-b p{margin:0 0 12px}.deck .slide-b ul,.deck .slide-b ol{margin:6px 0 12px;padding-inline-start:22px}.deck .slide-b li{margin:4px 0}
.deck .slide-b h3{font-size:19px;margin:18px 0 6px}.deck .slide-b table{width:100%;border-collapse:collapse;font-size:15px}.deck .slide-b td{padding:6px 8px;border-bottom:1px solid var(--line)}
.deck .slide.cover{background:var(--ink);color:var(--bg);border-color:transparent;justify-content:flex-end}
.deck .slide.cover .sr-label{color:inherit;opacity:.6}.deck .slide.cover h1{font-family:Archivo,sans-serif;font-size:clamp(44px,6.4vw,80px);line-height:1;margin:14px 0 18px;letter-spacing:-.02em}
.deck .slide.cover .sr-big{font-size:clamp(18px,2vw,24px);line-height:1.4;max-width:46ch;opacity:.92;margin:0 0 18px}.deck .slide.cover .sr-big b{font-weight:600}.deck .slide.cover .sr-big i{opacity:.5}
.deck .slide.cover .sr-credits{font-size:13px;opacity:.65}.deck .slide.cover::after{color:inherit;opacity:.4}
.deck .sr-sec{border-top:0}.deck .sr-plist{font-family:Archivo,sans-serif;font-size:clamp(20px,2.2vw,28px);line-height:1.35;padding-inline-start:1.3em}
.deck .ds-sec .slide-b{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px 36px;max-width:none}
.deck .ds-a small{display:block;font-size:13px;color:var(--muted);line-height:1.35;margin-bottom:4px}.deck .ds-a p{margin:0;font-size:17px;white-space:pre-wrap}
/* Present: one slide at a time, filling the screen */
.deck.showing{position:fixed;inset:0;z-index:2000;max-width:none;margin:0;background:#0b0b0c;display:flex;align-items:center;justify-content:center;padding:calc(3vh / var(--z, 1)) 3vw;cursor:pointer}
.deck.showing .deck-bar{display:none}.deck.showing .slide{display:none;width:min(94vw,calc(160vh / var(--z, 1)));max-height:calc(94vh / var(--z, 1));overflow:auto;margin:0;box-shadow:none;cursor:default}.deck.showing .slide.now{display:flex}
.deck-count{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);color:#fff;opacity:.55;font-size:12.5px;font-variant-numeric:tabular-nums;z-index:2001}
@media(max-width:860px){.deck .slide{aspect-ratio:auto;min-height:60vw;border-radius:14px}.deck .slide-b{font-size:16px}}
@media print{.deck .slide{box-shadow:none;break-inside:avoid;break-after:page;border-color:#ddd}.deck-bar{display:none}}
.deck.showing .slide::after{display:none}.deck .slide.cover .ds-sentence{border:0;padding:0;background:none;color:inherit;font-weight:400}.deck .slide.cover .ds-sentence b{font-weight:650}
/* Branding project page: status at the top right, the details always beside the stages, stages and tasks open in a side panel */
.br-hr{align-items:center;flex-wrap:wrap;justify-content:flex-end}
.br-status{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);margin-inline-end:6px}.br-status b{color:var(--ink)}.br-status small{color:var(--muted)}
.sd.br-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start}
.sd.br-grid>.sd-side{display:grid;grid-template-columns:1fr;gap:12px;position:sticky;top:calc(var(--hub-top,0px) + 16px)}
@media(max-width:1100px){.sd.br-grid{grid-template-columns:1fr}.sd.br-grid>.sd-side{position:static}}
.br-side{padding-top:14px}.br-stabs{margin:0 0 14px;display:flex;gap:4px;flex-wrap:wrap}
.br-side .br-facts{grid-template-columns:1fr}
.br-ttot{font-size:14px;color:var(--muted);margin-bottom:10px}.br-ttot b{font-size:22px;color:var(--ink);font-family:Archivo,sans-serif;margin-inline-end:4px}
.br-cs{font-size:14px;line-height:1.5;max-height:min(calc(62vh / var(--z, 1)),640px);overflow:auto}
.br-cs h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:14px 0 6px}.br-cs p{margin:0 0 8px}
.br-cs .ds-sec h2{font-size:11.5px;margin:14px 0 6px;padding:0;border:0}.br-cs .ds-a{margin:0 0 10px}.br-cs .ds-a small{display:block;color:var(--muted);font-size:12px}.br-cs .ds-a p{margin:2px 0 0}
.br-cs .ds-sentence{border:0;padding:0;margin:0 0 10px;font-size:14.5px}
.br-csbig{font-family:Archivo,sans-serif;font-size:18px;line-height:1.3}.br-csp{margin:0 0 10px}.br-csp p{color:var(--muted);margin:2px 0 0}
.br-csl{margin-top:12px}
.br-op{border:0;background:none;width:26px;height:26px;border-radius:7px;display:inline-grid;place-items:center;cursor:pointer;color:var(--soft);padding:0;flex:none}
.br-op svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.br-op:hover{background:var(--panel);color:var(--ink)}
.br-c1 .br-op{opacity:0}.br-r:hover .br-c1 .br-op,.br-c1 .br-op:focus{opacity:1}
@media(hover:none){.br-c1 .br-op{opacity:1}}
.br-c6{display:flex;align-items:center;justify-content:flex-end;gap:2px}
.sd.br-grid .br-tin{min-width:780px}.sd.br-grid .br-r{grid-template-columns:minmax(200px,1fr) 118px 118px 118px 40px 48px 88px}
/* the side panel of a stage or task */
.br-srow .br-srm{opacity:.4;font-size:16px}.br-srow:hover .br-srm,.br-srm:focus-visible{opacity:1}@media (hover:none){.br-srow .br-srm{opacity:1}}
.br-pnl{display:flex;flex-direction:column;gap:12px}
.br-pnl h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:8px 0 0}.br-pnl h4 small{text-transform:none;letter-spacing:0;margin-inline-start:6px}
.br-pf{display:grid;grid-template-columns:1fr 1fr;gap:10px}.br-pf label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.br-pf .find{width:100%;height:36px}
.br-pt{display:flex;align-items:center;gap:10px}.br-pt .find{flex:1;font-size:16px;font-weight:600;height:40px}
.br-pback{align-self:flex-start;border:0;background:none;color:var(--muted);font:inherit;font-size:13px;cursor:pointer;padding:2px 0}.br-pback:hover{color:var(--ink)}
.br-pmeta{display:flex;align-items:center;gap:10px}.br-pmeta small{color:var(--muted)}
.br-ptasks{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.br-ptask{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;padding:9px 12px;border-top:1px solid var(--line)}.br-ptask:first-child{border-top:0}
.br-ptask small{grid-column:2;color:var(--muted);font-size:12px}.br-ptask.done .br-plink{text-decoration:line-through;color:var(--muted)}
.br-plink{border:0;background:none;padding:0;font:inherit;font-size:14px;text-align:start;cursor:pointer;color:var(--ink)}.br-plink:hover{text-decoration:underline}
.br-ptasks .br-nnone{padding:10px 12px}
.br-padd{display:flex;gap:8px}.br-padd .find{flex:1}
.br-pnl .br-notes{position:static;max-width:none;padding:0;background:none;border:0}.br-pnl .br-n{background:var(--panel)}
.br-pfoot{margin-top:6px}
.sd.br-grid .br-tin{min-width:692px}.sd.br-grid .br-r{grid-template-columns:minmax(220px,1fr) 112px 112px 116px 48px 40px}
.br-intro{justify-content:space-between}.br-folds{white-space:nowrap}
.br-r .br-name{min-width:60px}
/* A shoot's page, laid out like a branding project: status at the top right, stages full width, details beside */
.br-line .stg{width:100%;justify-content:space-between}
.sh-grid .sd-grid{grid-template-columns:1fr 1fr}.sh-grid .sd-grid .wide,.sh-grid .sd-grid .sd-f.wide{grid-column:1/-1}
.sh-grid .sd-main textarea{min-height:360px}
/* ---------- Phones: tighter everywhere, one line per row in lists (they scroll sideways), lists instead of boards ---------- */
@media(max-width:860px){
  .no-phone{display:none!important}
  .card{padding:14px}
  .h1,#ctBody>h1,.page h1.h1{font-size:28px;margin:0 0 10px}
  .btn-s{padding:6px 11px;min-height:32px;font-size:13px}
  input.find:not([type=checkbox]):not([type=radio]),select.find{min-height:38px;height:38px}
  /* bars of buttons: one line that scrolls sideways instead of rows of wrapped buttons */
  .mw-bar,.ob-bar,.br-bar,.toolbar{gap:6px}
  .mw-bar .wk-end,.br-bar .wk-end,.ed-right,.sd-head .wk-do,.br-hr{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%}
  .mw-bar .wk-end::-webkit-scrollbar,.ed-right::-webkit-scrollbar,.sd-head .wk-do::-webkit-scrollbar,.br-hr::-webkit-scrollbar{display:none}
  .mw-bar .wk-end>*,.ed-right>*,.sd-head .wk-do>*,.br-hr>*{flex:none}
  .lt-bar{margin:0 0 6px}
  /* tabs: a row that scrolls sideways, never up and down */
  .ct-tabs,.ch-tabs,.wk-qtabs,.ut-tabs,.sd-tabs,.wk-tabs{overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none}
  .ct-tabs::-webkit-scrollbar,.ch-tabs::-webkit-scrollbar,.sd-tabs::-webkit-scrollbar{display:none}
  .ct-tabs a,.ch-tabs a{flex:none;white-space:nowrap;padding:8px 12px}
  /* a client, and pages inside a section */
  .ct-hd-row h1,.mh-row h1{font-size:26px}
  /* the client's name keeps the rest of the first line; the pills (status, Checklists, account manager) wrap under it, never squeeze it */
  .ct-hd-row,.mh-row{flex-wrap:wrap;row-gap:8px}
  .ct-hd-row h1,.mh-row h1{flex:1 1 calc(100% - 60px);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .ct-crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}.ct-crumb>*{display:inline}
  .ov-card{padding:14px}.ov-m{flex-wrap:nowrap;gap:8px}.ov-m>span:first-child{flex:1;min-width:0}.ov-m .btn-s{margin-inline-start:auto}
  /* the clients list: one line per client, scrolling sideways with the name kept in view */
  .ct-table.card{padding:0;overflow-x:auto}
  .ct-scroll .ct-head2{display:grid;grid-template-columns:var(--ctc);min-width:var(--ctw);padding:8px 12px}
  .ct-scroll .ct-head2>span{display:block}
  .ct-scroll .ct-tr:not(.ct-head2){grid-template-columns:var(--ctc);min-width:var(--ctw);gap:10px;padding:8px 12px;min-height:44px}
  .ct-scroll .ct-tr:not(.ct-head2) .ct-name{grid-column:auto}
  .ct-scroll .ct-cell{grid-column:auto;white-space:nowrap}.ct-scroll .ct-cell::before{content:none}.ct-scroll .ct-cell:has(.ct-dash){display:block}
  .ct-scroll .ct-name,.ct-scroll .ct-head2>span:first-child{position:sticky;left:0;z-index:1;background:var(--bg);padding-inline-end:8px}
  .ct-scroll .ct-name b{font-size:14.5px}.ct-scroll .ct-status{grid-column:auto}
  .ct-tools{display:flex;gap:6px;flex-wrap:wrap;width:100%}.ct-tools .find{flex:1 1 150px;min-width:0}
  /* lists that are tables of rows: less padding */
  .wk-r1{padding-block:6px}
  /* project pages (Branding and Shoots) */
  .sd.br-grid{grid-template-columns:minmax(0,1fr)}
  .br-line .stg{width:max-content;min-width:100%}
  .sh-grid .sd-grid{grid-template-columns:1fr}.sh-grid .sd-main textarea{min-height:180px}
  .sd-head h1 .wk-title{font-size:26px}
  /* the month editor's top */
  .ed-top{gap:6px}
}
.sd-main>*,.sd-side>*{min-width:0} /* a wide table inside scrolls, it does not widen the page */
/* a chip's "wait" tone is not the Ask answer box (.wait above) */
.sm-c.wait{width:auto;max-width:none;margin:0;padding:3px 10px;border-radius:999px;animation:none;text-align:start}
@media(max-width:860px){
  /* rows that scroll sideways start at the left, so nothing is pushed off the start */
  .mw-bar .wk-end,.br-bar .wk-end,.ed-right,.sd-head .wk-do{justify-content:flex-start}
  .br-hr{flex-wrap:wrap;overflow:visible;justify-content:flex-start}.br-hr .br-status{flex-basis:100%;margin:0 0 4px}
  .ed-top{flex-direction:column;align-items:stretch}.ed-top>.ct-hd{width:100%}
  .ct-crumb>i{margin:0 5px}
  .ct-scroll .ct-head2>span:first-child{background:var(--panel)}
  .sd.br-grid .br-r{grid-template-columns:minmax(170px,1fr) 112px 112px 116px 48px 40px}.sd.br-grid .br-tin{min-width:642px}
}
@media(max-width:860px){
  /* a page's description under its title is for bigger screens */
  h1.h1+.sub,#ctBody>h1+.sub,.page h1+.sub{display:none}
  .ct-tools .lt-fbtn,.ct-tools .btn-s{flex:none}
}
@media(max-width:860px){
  .sd-head .br-hr{flex-wrap:wrap;overflow:visible;justify-content:flex-start;gap:6px}
  .sh-grid .sd-main textarea{height:180px;min-height:140px}
  .ov-m>span:first-child b{white-space:nowrap}.ov-m .ct-pill{display:none}
  .cs{padding:0}.cs-row{padding:10px 0}
  .sd.br-grid .br-r{grid-template-columns:minmax(205px,1fr) 112px 112px 116px 48px 40px}.sd.br-grid .br-tin{min-width:672px}
  button.br-fold{width:20px}.br-srow .br-c1{gap:5px}
}
.bd-guide{width:100%;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 230px);min-height:560px;border:0;border-radius:16px;background:var(--bg);display:block}
.bs{display:flex;flex-direction:column;gap:14px;max-width:900px}.bs-sec h3{margin:0 0 10px}.bs-sec .ed-f{margin-bottom:10px}
.bs-fill{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--info-bg);color:var(--info-ink);border-radius:12px;padding:12px 16px}
@media(max-width:860px){.bd-guide{height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 170px);border-radius:10px}}
.bd-guide{width:100%;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 230px);min-height:560px;border:0;border-radius:16px;background:var(--bg);display:block}
.bs{display:flex;flex-direction:column;gap:14px;max-width:900px}.bs-sec h3{margin:0 0 10px}.bs-sec .ed-f{margin-bottom:10px}
.bs-fill{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--info-bg);color:var(--info-ink);border-radius:12px;padding:12px 16px}
@media(max-width:860px){.bd-guide{height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 170px);border-radius:10px}}
/* ---------- The phone shell: a slim top bar with the page's name, a bottom bar (Home, My work, Clients, where you are, Menu), and Menu ---------- */
@media(max-width:860px){
  .mhead{padding:8px 12px 8px 16px;min-height:52px;gap:10px}
  .mhead .logo{display:flex;align-items:center;gap:10px;min-width:0;font-size:17px}.mhead .logo .mini{width:24px;height:24px;flex:none}
  #mTitle{font-family:Archivo,sans-serif;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .mh-r{display:flex;align-items:center;gap:6px}.mhead .av{width:34px;height:34px;font-size:13px}
  .mh-ic{border:0;background:none;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;color:var(--ink);cursor:pointer;padding:0}
  .mh-ic svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
  .tabbar a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;padding:0 2px}
  .tabbar button{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:11px;color:var(--muted);padding:4px 0;border:0;background:none;font-family:inherit}
  .tabbar button svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round}
  .tabbar button[aria-expanded="true"]{color:var(--ink);font-weight:600}
  /* Menu: a sheet over the page, above the bottom bar */
  .more{position:fixed;inset:0 0 calc(62px + env(safe-area-inset-bottom,0px)) 0;z-index:40;background:var(--bg);overflow-y:auto;padding:0 16px 24px;display:block;border:0;border-radius:0;box-shadow:none;width:auto;max-height:none}
  .more[hidden]{display:none}
  .mn-h{position:sticky;top:0;background:var(--bg);display:flex;align-items:center;justify-content:space-between;padding:12px 0 8px;z-index:1}.mn-h b{font-family:Archivo,sans-serif;font-size:22px}
  .more section{margin:10px 0 0}.more h3{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:8px 0 8px;font-weight:600}
  .mn-g{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  .mn-t{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:76px;padding:10px 6px;border-radius:14px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:12.5px;text-align:center;line-height:1.2}
  .mn-t svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mn-t.on{background:var(--ink);color:var(--bg)}
  .mn-set{display:flex;flex-direction:column;gap:6px;margin-top:18px!important}
  .mn-row{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:12px;background:var(--panel);color:var(--ink);text-decoration:none;border:0;font:inherit;font-size:14.5px;text-align:start;width:100%}
  .more .ui-size{background:var(--panel);border-radius:12px;min-height:46px;padding:0 10px 0 14px;margin:0}
  body.mn-on{overflow:hidden}
}
@media(max-width:860px){
  .more:not([hidden]){display:block;left:0;right:0;top:0;bottom:calc(62px + env(safe-area-inset-bottom,0px));border:0;border-radius:0;box-shadow:none;padding:0 16px 24px}
  .more a.mn-t{padding:10px 6px;font-size:12.5px}.more a.mn-row{padding:0 14px;font-size:14.5px}
}
@media(max-width:860px){
  /* the top bar shows the page's name, so the page's own big title goes (not an item's: a shoot, a proposal with its number and state) */
  .page h1.h1:not(.sd-head h1):not(.ip-tl h1):not(.pp-h h1),#ctBody>h1:first-child,#rpPage>h1,#smPage>h1{display:none}
}
/* a toolbar's less-used buttons: behind ⋯ on a phone */
.ph-more{display:none}
@media(max-width:860px){
  .ph-more{display:inline-flex;align-items:center;gap:4px;font-size:16px;line-height:1;min-width:38px;justify-content:center}
  .ph-box .ph-x{display:none!important}
  .ph-box.ph-open{flex-wrap:wrap!important;overflow:visible!important}.ph-box.ph-open .ph-x{display:inline-flex!important}
  .ph-box.ph-open .ph-more{background:var(--ink);color:var(--bg)}
}
@media(max-width:860px){
  /* lists sit straight on the page: no card around them */
  .page .card:has([data-list]),.page .card:has(.wk-t1),.page .card:has(.ct-tr){background:none;box-shadow:none;border:0;padding:0;border-radius:0}
  .ct-table.card{background:var(--bg);border-radius:12px}
  /* My work: no column headings (each task says its kind); slimmer group lines */
  [data-list="mywork"] .wk-r1.head,[data-list="mywork"]>.head{display:none}
  .mw-gh,.wk-gh{padding:6px 10px!important;min-height:0!important}
  /* status tabs: one line that scrolls */
  .wk-qtabs,.br-states{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
  .br-states button{white-space:nowrap}
  /* things a phone does not need */
  .ct-quiet{display:none!important}
  .toolbar{margin-top:0}
}
/* touch: no double-tap zoom delay, a quiet tap highlight, sheets and panels keep their scrolling to themselves */
a,button,input,select,textarea,label,summary,[data-dcard]{touch-action:manipulation}
html{-webkit-tap-highlight-color:rgba(0,0,0,.06)}
.more,.sp,.sp-b,.deck.showing{overscroll-behavior:contain}
@media(max-width:860px){
  .mhead{padding-top:max(8px,env(safe-area-inset-top))}
  main{padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
}
@media(max-width:860px){
  .mw-g{min-height:36px!important;padding:0 4px!important}
  .br-bar .wk-sbar{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%}.br-bar .wk-sbar button{white-space:nowrap;flex:none;padding:6px 12px}.br-bar .wk-sbar button em{display:inline;margin-inline-start:4px}
  main{padding-top:10px}
}
@media(max-width:860px){
  .wk-top2{display:flex!important;flex-wrap:wrap;gap:6px;align-items:center;grid-template-columns:none!important}
  .wk-top2 .wk-end{flex:1 1 100%;display:flex;flex-wrap:nowrap;gap:6px;align-items:center;margin:0}
  .wk-top2 .wk-search{flex:1 1 auto;min-width:0;width:auto}
}
@media(max-width:860px){
  /* the top bar has the section's name and a back arrow, so no breadcrumb */
  .page .ct-crumb{display:none}
  .ct-hd-row,.mh-row{gap:10px}.ct-hd-row .cav,.mh-row .cav{width:34px;height:34px;font-size:14px}
  .ct-hd-row h1,.mh-row h1{font-size:22px}
  .ct-hd{margin-bottom:6px}.ct-tabs{margin-top:6px}
  /* a branding project and a shoot: one compact head */
  .sd-head{gap:6px}.sd-head h1{margin:0}
  .br-hr select.find{height:34px;min-height:34px;width:auto}
  .br-stages{padding:0!important;background:none!important;box-shadow:none!important}.br-stages>h3,.br-stages>.br-intro{display:none}
  .br-tbl{border-radius:12px}
  .ov-card{padding:12px 14px}.ov-card h3{font-size:17px}
}
@media(max-width:860px){
  .br-side textarea,.sd-side textarea{max-height:140px}
  .br-side{padding:12px!important}
}
@media(max-width:860px){
  /* the section lists (Social media, Performance, Strategy): mine/all and Filter on one line, the search under them */
  .ob-bar{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.ob-bar .mw-count{display:none}
  .ob-bar .ob-q{order:3;flex:1 1 100%;min-width:0;width:auto}.ob-bar .lt-fbtn,.ob-bar .lt-bar{margin-inline-start:auto}
  /* a client's months in Performance: one line that scrolls */
  .pv-months{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:2px 0 14px}.pv-months>button{flex:none;padding:6px 12px;min-height:32px;font-size:13px}
}
@media(max-width:860px){
  /* away from Home, the page goes all the way up: its name (and a back arrow) in a line that scrolls away, no logo, search or profile */
  body:not(.on-home) .mhead{position:static;border:0;min-height:0;padding:max(10px,env(safe-area-inset-top)) 14px 2px;background:var(--sheet)}
  body:not(.on-home){background:var(--sheet)}
  body:not(.on-home) .mhead .mh-r,body:not(.on-home) #mLogo{display:none!important}
  body:not(.on-home) #mTitle{font-size:22px;letter-spacing:-.01em}
  body:not(.on-home) #mBack{margin-inline-start:-8px}
  body:not(.on-home) main{padding-top:6px}
}
.ov-none{color:var(--muted);font-size:13px;margin-right:4px}

/* ---- Boards, More, and the phone bar as Monday has it ---- */
.mh-hi{display:none}
.mo-me{display:flex;align-items:center;gap:14px;padding:14px 16px;margin:16px 0 14px;border-radius:18px;background:var(--panel);border:1px solid var(--line);color:var(--ink);text-decoration:none}
.mo-me .av{width:48px;height:48px;font-size:18px;flex:none}
.mo-me b{display:block;font-size:17px}.mo-me small{color:#2f6fdf;font-size:13px}
.mo-g{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:4px 16px;margin-bottom:14px}
.mo-g h3{font-size:15px;font-weight:600;margin:14px 0 4px}
.mo-row{display:flex;align-items:center;gap:14px;width:100%;min-height:58px;padding:8px 0;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);text-decoration:none;font:inherit;text-align:start;cursor:pointer}
.mo-g>.mo-row:first-child,.mo-g h3+.mo-row{border-top:0}
.mo-ic svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block}
.mo-t{flex:1;min-width:0}.mo-t b{display:block;font-weight:500;font-size:15px}.mo-t small{display:block;color:var(--muted);font-size:13px;margin-top:1px}
.mo-go{width:18px;height:18px;stroke:var(--muted);fill:none;stroke-width:1.8;flex:none}
.mo-size .ui-size{display:flex;margin:0;padding:0;border:0}.mo-size .ui-size span{display:none}
@media(max-width:860px){
  .tabbar{left:14px;right:14px;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:6px!important;gap:4px;border:1px solid var(--line)!important;border-radius:34px;background:var(--panel)!important;box-shadow:0 10px 30px rgba(0,0,0,.16)}
  .tabbar a{min-height:50px;border-radius:28px;padding:0;color:var(--muted);justify-content:center}
  .tabbar a.on{background:var(--ink);color:var(--bg)}
  .tabbar svg{width:24px;height:24px}
  main{padding-bottom:110px!important}
  body.on-home #mLogo,body.on-home #mTitle,body.on-home .mh-r>.av{display:none!important}
  body.on-home .mhead{border-bottom:0;min-height:64px}
  body.on-home .mh-hi{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none}
  .mh-hi .av{width:42px;height:42px;font-size:16px;flex:none}
  .mh-hi small{display:block;color:var(--muted);font-size:13px}.mh-hi b{display:block;font-size:17px;font-weight:600}
  body.on-home .mh-r .mh-ic{width:44px;height:44px;border-radius:14px;background:var(--soft)}
  #p-mo .h1,#p-bd .h1{display:none}
}
/* the board's floating bar and taller rows (phones) */
.fl,.mh-rows{display:none}
@media(max-width:860px){
  .mhead{gap:8px}
  body.fl-on .mh-rows:not([hidden]){display:grid;place-items:center;margin-inline-start:auto;width:42px;height:42px;border-radius:13px;background:var(--soft);border:0;color:var(--ink)}
  .mh-rows svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}
  .mh-rows[aria-pressed="true"]{background:var(--ink);color:var(--bg)}
  .fl:not([hidden]){display:flex;align-items:center;gap:8px;position:fixed;left:14px;right:14px;bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:9;padding:7px;border-radius:26px;background:var(--panel);border:1px solid var(--line);box-shadow:0 10px 30px rgba(0,0,0,.16)}
  .fl-q{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;border-radius:19px;background:var(--soft)}
  .fl-q[hidden]{display:none}
  .fl-q svg,.fl-b svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;flex:none}
  .fl-q input{flex:1;min-width:0;border:0;background:none;font:inherit;font-size:16px;color:var(--ink);outline:none}
  .fl-q:focus-within{box-shadow:0 0 0 1.5px var(--ink)}
  /* the box inside the pill is the pill (Rami, 17 October 2026: "some thick inner border"): no colour, border or ring of its own, in any
     state; the pill alone shows it is in use */
  html body .fl-q input:not(#_):not(#__),html body .fl-q input:not(#_):not(#__):is(:focus,:focus-visible,:hover){background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important;border-radius:0!important;-webkit-appearance:none;appearance:none;padding:0!important}
  html body .fl-q input::-webkit-search-decoration,html body .fl-q input::-webkit-search-cancel-button{-webkit-appearance:none}
  .fl-b{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;border:0;background:var(--soft);color:var(--ink);position:relative;flex:none}
  .fl-b[hidden]{display:none}
  .fl-b.on::after{content:"";position:absolute;top:8px;right:8px;width:8px;height:8px;border-radius:50%;background:#2f6fdf}
  .fl-n{background:var(--ink);color:var(--bg)}
  body.fl-on main{padding-bottom:170px!important}
  body.fl-on .page.on :is(.bk-q,.bk-new,.bk-f .wk-ck>button:first-child,.lt-cw,.ob-q,.br-q,[data-svq],.lt-fb,[data-svf],[data-lf=filt],[data-lf=open],[data-bnew],.wk-end>[data-shf=open],.mw-count){display:none!important}
  body.fl-on .page.on .ph-more{display:none!important}
  /* a filter opens as a sheet from the bottom */
  body.fl-on .wk-fpop{position:fixed!important;left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;max-width:none!important;max-height:calc(78vh / var(--z, 1));overflow:auto;overscroll-behavior:contain;margin:0;padding:20px 18px calc(22px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;z-index:60;box-shadow:0 0 0 100vmax rgba(0,0,0,.38)}
  /* taller rows: each row a card */
  body.rows-tall.fl-on .page.on .wk-t1 .head,body.rows-tall.fl-on .page.on .wk-t1 [role=row].head{display:none!important}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head){display:flex!important;flex-wrap:wrap;align-items:center;gap:8px 10px;min-width:0!important;height:auto!important;padding:14px 16px;margin:0 0 10px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head)>*{min-width:0;width:auto!important;border:0!important;padding:0!important;flex:0 1 auto}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head)>:first-child{flex:1 0 100%;font-size:16px;font-weight:600}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head)>:empty{display:none}
  body.rows-tall.fl-on .page.on .wk-t1{overflow:visible!important;min-width:0!important}
}
@media(max-width:860px){.fl:not([hidden]):not(:has(.fl-q:not([hidden])) ){left:auto}}
@media(max-width:860px){
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head)>:first-child:has(>input[type=checkbox]){display:none}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head):has(>:first-child>input[type=checkbox])>:nth-child(2){flex:1 0 100%;font-size:16px}
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head) .wk-in{height:36px;border-radius:10px;background:var(--soft);padding:0 10px}
}

/* ---- the board kit (kit.js): every board the same ---- */
:root{--client:#7c3aed}
.bk-h{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:14px}
.bk-h .h1{margin:0}
.bk-new{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 16px 0 12px;font-size:14px}
.bk-new .ni{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round}
.bk-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;padding-bottom:14px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.bk-l,.bk-r{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.bk-r{margin-inline-start:auto}
.bk-q{width:220px;height:38px}
.bk-f:empty{display:none}
.bk-f{display:inline-flex;align-items:center;gap:6px}
.bk-tabs em{font-style:normal;font-size:11px;opacity:.6;margin-inline-start:6px}
.bk-tabs .ni{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8;margin-inline-end:6px;vertical-align:-3px}
.bk-when{display:flex;align-items:center;gap:6px}.bk-when b{min-width:128px;text-align:center;font-weight:600}
.bk-more{position:relative}.bk-more summary{list-style:none;cursor:pointer;min-width:38px;text-align:center}.bk-more summary::-webkit-details-marker{display:none}
.bk-pop{position:absolute;inset-inline-end:0;top:calc(100% + 6px);z-index:30;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:220px;padding:8px}
.bk-pop>*{justify-content:flex-start;text-align:start}
.bk-g.t-none i{background:var(--muted)}.bk-g.t-work i{background:var(--info)}.bk-g.t-client i{background:var(--client)}.bk-g.t-bad i{background:var(--bad)}.bk-g.t-ok i{background:var(--ok)}.bk-g.t-warn i{background:var(--warn)}
.bk-chip{display:inline-flex;align-items:baseline;gap:6px;border-radius:999px;padding:3px 10px;font-size:12.5px;white-space:nowrap;background:var(--soft);color:var(--muted)}
.bk-chip small{font-size:11px;opacity:.8}
.bk-chip.t-work{background:var(--info-bg);color:var(--info-ink)}.bk-chip.t-client{background:color-mix(in srgb,var(--client) 13%,transparent);color:var(--client)}
.bk-chip.t-bad{background:var(--bad-bg);color:var(--bad)}.bk-chip.t-ok{background:var(--ok-bg);color:var(--ok-ink)}.bk-chip.t-warn{background:var(--warn-bg);color:var(--warn)}
/* a new … form in the side panel: one column, the buttons at the bottom */
.bk-form .wk-book,.bk-form form{display:grid;grid-template-columns:1fr!important;gap:14px;padding:4px 0}
.bk-form .wk-wide{grid-column:auto}
.bk-form .find{width:100%}
/* Production › ⋯ › Deleted jobs (Rami, 31 October 2026): one row a job, Restore on the right */
.jt-list{list-style:none;margin:0;padding:0}.jt-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}
.jt-row>div{display:grid;gap:2px;min-width:0}.jt-row small{color:var(--muted)}.jt-row .wk-err{margin:4px 0 0;font-size:.85em}.jt-row .btn-s{flex:none}
.bk-form .wk-do:last-child,.bk-form .bk-act{display:flex;gap:8px;align-items:center;padding-top:6px}
@media(max-width:860px){
  .bk-h{display:none}
  .bk-bar{border-bottom:0;padding-bottom:8px}
  .bk-r{margin:0}
}
.bk-form .wk-book{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0}
.bk-note{color:var(--muted);font-size:12.5px}.bk-note a{color:inherit;text-decoration:underline}
@media(max-width:860px){
  .bk-l{max-width:100%;min-width:0}
  .bk-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;max-width:100%;scrollbar-width:none}
  .bk-tabs::-webkit-scrollbar{display:none}
  .bk-tabs button{white-space:nowrap;flex:none}
  .bk-note{flex-basis:100%}
}
.ct-board{padding-bottom:6px;margin-bottom:12px}.ct-board .bk-bar{border-bottom:0;margin:0;padding-bottom:8px}
.ct-table .bk-g{min-width:var(--ctw);margin:14px 0 4px}
.bk-form .ct-svc{display:flex;flex-direction:column;gap:8px;border:0;padding:0;margin:0}
.bk-form .ct-svc legend{font-size:12.5px;color:var(--muted);padding:0;margin-bottom:6px}
.bk-form .ct-svc label{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:14px;color:var(--ink)}
/* an opened item: its status next to its name; Delete / Cancel at the bottom of its details */
.sd-head>.bk-chip,.ct-hd-row>.bk-chip,.br-head .bk-chip{align-self:center;font-size:13px;padding:4px 12px}
.bk-danger{border-top:1px solid var(--line);margin-top:16px;padding-top:14px}
.bk-stsel{width:auto!important;height:30px!important;border-radius:999px!important;padding:0 28px 0 12px!important;font-size:13px!important;border:0!important;align-self:center;background-color:var(--soft)!important;color:var(--muted)}
.bk-stsel.t-work{background-color:var(--info-bg)!important;color:var(--info-ink)}.bk-stsel.t-ok{background-color:var(--ok-bg)!important;color:var(--ok-ink)}.bk-stsel.t-warn{background-color:var(--warn-bg)!important;color:var(--warn)}
.sd-head .br-titles+.bk-stsel{margin-inline-start:4px;margin-top:10px;align-self:flex-start}
.bk-title{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}
.bk-title .h1{flex:0 1 auto;min-width:0;margin:0}
.bk-title .wk-title{field-sizing:content;min-width:6ch;max-width:100%}
.bk-title .bk-stsel{margin:0!important}
.bk-title select.bk-stsel.find{width:auto!important;min-width:0!important;max-width:170px!important;flex:none!important;field-sizing:content;height:30px!important;min-height:0!important}
/* month and year pickers */
.bk-jump{position:relative}
.bk-jump summary{list-style:none;cursor:pointer;min-width:132px;text-align:center;font-weight:600;padding:6px 8px;border-radius:10px}
.bk-jump summary::-webkit-details-marker{display:none}.bk-jump summary:hover{background:var(--soft)}
.bk-jpop{position:absolute;left:50%;transform:translateX(-50%);top:calc(100% + 6px);z-index:30;width:260px;padding:12px}
.bk-jy{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.bk-jy b{font-size:15px}
.bk-jm{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.bk-jm .btn-s{justify-content:center;padding:6px 0}.bk-jm .btn-s.on{background:var(--ink);color:var(--bg)}
.bk-ym{display:flex;gap:8px}.bk-ym select{flex:1;min-width:0}
.bk-when>b{display:none}
@media(max-width:860px){.bk-jpop{left:0;transform:none}}
.bk-ch{display:flex;align-items:center;gap:8px;padding:2px 2px 8px}
.bk-ch i{width:4px;height:16px;border-radius:2px;background:var(--muted);flex:none}
.bk-ch b{font-weight:600}.bk-ch em{font-style:normal;font-size:11.5px;color:var(--muted);background:var(--panel);border-radius:6px;padding:1px 7px}
.bk-ch .wk-plus{margin-inline-start:auto}
.bk-ch.t-work i{background:var(--info)}.bk-ch.t-client i{background:var(--client)}.bk-ch.t-bad i{background:var(--bad)}.bk-ch.t-ok i{background:var(--ok)}.bk-ch.t-warn i{background:var(--warn)}
.mw-col header.bk-ch{justify-content:flex-start;padding:4px 6px 6px}

/* ---- a month's posts: a list like every board; a post opens in a side panel (Details | Preview), Feed is the profile grid ---- */
.ed-side{display:contents}
.ed-ph,.ed-pf,.ed-shade{display:none}
.wk-pbar{border-bottom:0;padding:4px 0 10px}
.wk-pt .bk-g{margin:12px 0 2px}
.wk-lr.on{background:var(--info-bg)}
.ed-panel.wk-listing.ed-open>.ed:not([hidden]),.ed-panel.ed-feed.ed-open .ed-side{display:flex!important;flex-direction:column;position:fixed;top:10px;right:10px;bottom:10px;width:min(600px,calc(100vw - 20px));z-index:61;margin:0;padding:0;gap:0;background:var(--sheet);border-radius:24px;box-shadow:0 18px 50px rgba(0,0,0,.22);overflow:hidden;animation:edIn .22s cubic-bezier(.2,.8,.2,1)}
@keyframes edIn{from{transform:translateX(40px);opacity:0}}
@media(prefers-reduced-motion:reduce){.ed-panel.ed-open .ed,.ed-panel.ed-open .ed-side{animation:none}}
.ed-panel.ed-open .ed-shade{display:block;position:fixed;inset:0;z-index:60;background:rgba(0,0,0,.28)}
.ed-panel.wk-listing.ed-open .ed-rail{display:none}
.ed-panel.wk-listing.ed-open .ed-side{display:flex;flex-direction:column;flex:1;min-height:0}
.ed-panel.ed-open .ed-ph{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:16px 18px 10px;border-bottom:1px solid var(--line);flex:none}
.ed-ph-t{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.ed-ph-t b{font-size:17px;font-weight:600}
.ed-ph-r{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
.ed-ptabs{flex-basis:100%}
.ed-panel.ed-open .ed-insp{display:block;flex:1;min-height:0;overflow:auto;padding:14px 18px;width:auto;max-width:none;position:static}
.ed-panel.ed-open .ed-pf{display:block;flex:none;padding:0 18px 16px}.ed-pf .bk-danger{margin-top:4px}
.ed-panel.wk-listing.ed-open .ed-mid{display:none}
.ed-panel.wk-listing.ed-open.ed-tab-preview .ed-side{flex:none}
.ed-panel.wk-listing.ed-open.ed-tab-preview .ed-insp,.ed-panel.wk-listing.ed-open.ed-tab-preview .ed-pf{display:none}
.ed-panel.wk-listing.ed-open.ed-tab-preview .ed-mid{display:flex;flex-direction:column;align-items:center;flex:1;min-height:0;overflow:auto;padding:16px}
.ed-panel.wk-listing.ed-open.ed-tab-preview .ed-mid .ed-view{display:none}
/* Feed: the profile grid in the page, the panel holds the post's details */
.ed-panel.ed-feed>.ed{grid-template-columns:minmax(0,1fr)}
.ed-panel.ed-feed .ed-rail,.ed-panel.ed-feed .ed-mid .ed-view{display:none}
.ed-panel.ed-feed:not(.ed-open) .ed-side,.ed-panel.ed-feed:not(.ed-open) .ed-insp{display:none}
.ed-panel.ed-feed .ed-mid{display:flex;justify-content:center}
@media(max-width:860px){
  .ed-panel.wk-listing.ed-open>.ed:not([hidden]),.ed-panel.ed-feed.ed-open .ed-side{top:auto;left:0;right:0;bottom:0;width:auto;max-height:calc(92vh / var(--z, 1));border-radius:22px 22px 0 0;animation:none}
}
.ed-panel.ed-feed>.ed{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"mid"!important;min-height:0}
.ed-panel.ed-feed .ed-mid{grid-area:mid;border:0;background:none;padding:12px 0 24px}
.ed-panel.ed-open .ed-side{order:-1}
.ed-panel.ed-open>.ed>.ed-mid{border:0;background:var(--well,var(--soft))}
/* the month editor: its tools sit apart from the content, Export is a button like the page's other links,
   and the phone is always a phone: one size and shape, whatever is in it */
.ed-tabs{align-items:center;margin:6px 0 14px}
#edSteps .ed-tools{align-self:center}
.ed-top .ed-right .btn-s:not(.pri):not(.wk-ckb){background:var(--bg);padding:7px 16px;min-height:38px;display:inline-flex;align-items:center;font-weight:500;font-size:14px;border-radius:var(--radius);text-decoration:none}
.ed-top .ed-right .btn-s:not(.pri):not(.wk-ckb):hover{text-decoration:none;box-shadow:0 0 0 1px var(--line-2) inset}
.ph,.ed-panel .ph{width:340px!important;max-width:100%;height:auto!important;min-height:0!important;aspect-ratio:9/19.5;flex:none;align-self:center}
@media(max-width:860px){.ph,.ed-panel .ph{width:300px!important}}
/* Production: a job nobody has yet stands out (amber, like its group); assigned jobs are plain */
.wk-r1.unas{background:var(--warn-bg);box-shadow:inset 3px 0 0 var(--warn)}
.wk-r1.unas>span:nth-child(2) b{color:var(--warn-ink)}
select.wk-st.wk-unas{background-color:var(--bg)!important;color:var(--warn-ink)!important;box-shadow:0 0 0 1.5px var(--warn) inset!important;font-weight:600}
.wk-give:not(#_){margin:0 4px 0 0;padding:3px 9px;font-size:12px;border-radius:999px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1 1 auto;max-width:calc(100% - 34px);background:var(--accent-soft,rgba(91,91,214,.12));color:var(--ink)}
.wk-give:not(#_)+select:not(#_){flex:0 0 30px;width:30px!important;min-width:30px;padding:0!important;color:transparent!important}
:has(>.wk-give){display:flex!important;align-items:center;min-width:0}
.lt-bar.in{display:inline-flex;gap:8px;align-items:center}
.lt-cpop{min-width:230px}.lt-ch{display:block;font-size:13px;margin-bottom:8px}
.lt-cl{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:14px;cursor:pointer}
.ct-board .bk-f{display:inline-flex}.ct-board .bk-f .ct-colw{order:2}
.md-sub{margin:-6px 0 14px;color:var(--muted)}
.rp-sub{margin:-6px 0 14px;color:var(--muted)}.rp-ro{align-self:center}.rp-sub a{color:inherit;text-decoration:underline}
@media(max-width:860px){.md-sub,.rp-sub{display:none}}
@media(max-width:860px){#p-rp .bk-h{display:flex}#p-rp .bk-h .h1{display:none}}
/* activity: when, who, (item), what, before › after */
.ac{display:flex;flex-direction:column}
.ac-d{margin:14px 0 2px;font-size:12px;font-weight:600;letter-spacing:.02em;color:var(--muted);text-transform:uppercase}.ac-d:first-child{margin-top:2px}
.ac-r{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;padding:7px 0;border-top:1px solid var(--line);font-size:13.5px}
.ac-d+.ac-r{border-top:0}
.ac-t{color:var(--muted);font-size:12px;font-variant-numeric:tabular-nums;padding-top:1px}
.ac-b{min-width:0;display:flex;flex-direction:column;gap:3px}
.ac-l1{display:flex;align-items:baseline;gap:8px;min-width:0}
.ac-who{font-weight:600;white-space:nowrap}
.ac-item{min-width:0;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ac-item::before{content:"·";margin-inline-end:8px;color:var(--muted)}
.ac-l2{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;color:var(--ink)}
.ac-tx{min-width:0;color:var(--ink)}
.ac-f{color:var(--muted);white-space:nowrap}.ac-f::after{content:":"}
.ac-ch{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.ac-v{display:inline-block;max-width:100%;padding:2px 8px;border-radius:7px;background:var(--soft);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12.5px}
.ac-ch .ac-v:last-child{background:var(--info-bg);color:var(--info-ink)}
.ac-v.none{color:var(--muted);font-style:italic;background:none;padding:2px 0}.ac-ch .ac-v.bad{background:var(--bad-bg);color:var(--bad)}
.ac-ar{font-style:normal;color:var(--muted)}
.ac-bar{display:flex;gap:8px;margin-bottom:6px}.ac-bar select{max-width:220px}
.ac-none{padding:8px 0}
.ed-act{display:none}
.ed-panel.ed-open.ed-tab-act .ed-insp,.ed-panel.ed-open.ed-tab-act .ed-pf{display:none!important}
.ed-panel.ed-open.ed-tab-act .ed-act{display:block;flex:1;min-height:0;overflow:auto;padding:10px 18px}
.wk-jd .wk-jact{float:right}
.sd-actc .ac{max-height:420px;overflow:auto}
}

/* ---- a month: one list; Campaigns its own step; Preview pops out; client feedback per post ---- */
.ed-sec{display:none!important} /* Posts | Campaigns is now the steps: Calendar, Campaigns */
.ed-panel.ed-camps .wk-views,.ed-panel.ed-camps .wk-float{display:none!important}
.mh-name{color:inherit;text-decoration:none}.mh-name:hover{text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:2px}
/* client feedback on a row, and in the panel */
.wk-fb{min-height:26px!important;padding:2px 10px!important;font-size:12px!important}
.wk-fb.open{background:var(--bad-bg)!important;color:var(--bad)!important}
.ed-fb{display:none}
.ed-panel.ed-open.ed-tab-fb .ed-insp,.ed-panel.ed-open.ed-tab-fb .ed-pf,.ed-panel.ed-open.ed-tab-fb .ed-act{display:none!important}
.ed-panel.ed-open.ed-tab-fb .ed-fb{display:block;flex:1;min-height:0;overflow:auto;padding:12px 18px}
.fb-list{display:flex;flex-direction:column;gap:10px}
.fb-i{background:var(--panel);border-radius:14px;padding:10px 14px}.fb-i.client{box-shadow:inset 3px 0 0 var(--client)}.fb-i.done{opacity:.6}
.fb-h{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.fb-h small{margin-inline-start:auto;color:var(--muted)}
.fb-i p{margin:6px 0 0;white-space:pre-wrap}.fb-tip{margin-top:12px}
/* Preview: a phone over the page */
.wk-prev .ni{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8;margin-inline-end:6px;vertical-align:-3px}
.pv-pop{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:16px}
.pv-shade{position:absolute;inset:0;background:rgba(0,0,0,.5)}
.pv-ph{position:relative;z-index:1;box-shadow:0 30px 80px rgba(0,0,0,.45)!important}
.pv-ph .tb{display:flex;align-items:center;gap:8px}.pv-ph .tb span{flex:1}
.pv-x,.pv-b{border:0;background:none;color:inherit;font-size:22px;line-height:1;cursor:pointer;padding:0 4px}
.pv-ph .g .t{border:0;padding:0;cursor:pointer}
.pv-post header{display:flex;align-items:center;gap:8px;padding:8px 10px;font-size:12.5px}
.pv-post header i{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:#000;font-style:normal;font-size:12px;font-weight:700}
.pv-media{aspect-ratio:4/5;background:#1c2026;display:grid;place-items:center;position:relative;overflow:hidden}
.pv-media img{width:100%;height:100%;object-fit:cover}.pv-media .e{color:#8a9099;font-size:12px}
.pv-cnt{position:absolute;top:8px;right:8px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;padding:2px 7px;border-radius:999px}
.pv-post p{margin:0;padding:8px 10px 16px;font-size:12.5px;line-height:1.4;white-space:pre-wrap}
.st-panel .deck-bar{display:none}

/* Production: Design, Video, Photo as tabs joined to the card (kit spaces). The chosen tab is a soft pastel of its colour
   that runs down into the card and fades to white, so the kind of work on screen is clear without shouting. */
.bk-spaces{display:flex;align-items:flex-end;gap:2px;margin:0;overflow-x:auto;scrollbar-width:none;position:relative;z-index:1}
.bk-spaces::-webkit-scrollbar{display:none}
.bk-sp{flex:none;display:flex;align-items:center;gap:8px;font:inherit;font-size:14.5px;font-weight:600;color:var(--muted);background:color-mix(in srgb,var(--ink) 4%,transparent);border:0;border-radius:16px 16px 0 0;padding:11px 22px 10px;cursor:pointer;transition:background-color .16s,color .16s}
.bk-sp:hover{color:var(--ink);background:color-mix(in srgb,var(--qc) 7%,transparent)}
.bk-sp i{display:grid;place-items:center;color:color-mix(in srgb,var(--qc) 70%,var(--muted))}
.bk-sp i .ni{width:17px;height:17px;margin:0;stroke:currentColor;fill:none;stroke-width:1.8}
.bk-sp span{display:flex}.bk-sp b{font-weight:inherit}
.bk-sp.on{color:var(--ink);background:linear-gradient(color-mix(in srgb,var(--qc) 20%,var(--bg)),color-mix(in srgb,var(--qc) 11%,var(--bg)));padding-top:13px}
.bk-sp b{position:relative}.bk-sp.on b::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2.5px;border-radius:2px;background:var(--qc)}
.bk-sp.on i{color:var(--qc)}
.card.bk-space{border-top-left-radius:0;background:linear-gradient(color-mix(in srgb,var(--qc) 11%,var(--bg)),var(--bg) 160px)}
@media(max-width:860px){.bk-sp{flex:1 1 0;justify-content:center;padding:10px 8px 9px;font-size:13.5px}.bk-sp.on{padding-top:12px}}

/* Motion: short, transform and opacity only, so nothing waits on it. Off for people who ask for less motion. */
@keyframes pgIn{from{opacity:0}}
@keyframes hIn{from{opacity:0;transform:translateY(6px)}}
@keyframes rowIn{from{opacity:0;transform:translateY(-4px)}}
@keyframes popIn{from{opacity:0;transform:translateY(-4px) scale(.98)}}
@keyframes shadeIn{from{opacity:0}}
@keyframes zoomIn{from{opacity:0;transform:scale(.96)}}
.page.on{animation:pgIn .18s ease-out}.page.on .bk-h{animation:hIn .24s cubic-bezier(.2,.8,.2,1)}
.bk-in{animation:rowIn .18s cubic-bezier(.2,.8,.2,1) both}
.bk-jump[open] .bk-jpop,.wk-ck>.wk-pop:not(.wk-fpop),.lc-pop,details[open]>.wk-pop{animation:popIn .14s ease-out}
.pv-shade{animation:shadeIn .18s ease-out}.pv-pop .pv-ph{animation:zoomIn .2s cubic-bezier(.2,.8,.2,1)}
.cp-msg{animation:popIn .2s ease-out}
.btn-s,.bk-new,.wk-plus,.mw-open,.bk-tabs button,.bk-g>button,.wk-fb{transition:box-shadow .14s,background-color .14s,color .14s,transform .1s}
.btn-s:active,.bk-new:active,.wk-plus:active,.bk-tabs button:active,.bk-sp:active,.wk-fb:active,.ed-tool:active{transform:scale(.96)}
.wk-r1:not(.head){transition:background-color .12s}
.bk-g>button svg{transition:transform .18s cubic-bezier(.2,.8,.2,1)}
.wk-st,select.find,input.find{transition:box-shadow .14s,border-color .14s,background-color .14s}
@media(prefers-reduced-motion:reduce){.page.on,.bk-in,.pv-shade,.pv-pop .pv-ph,.cp-msg{animation:none}.bk-sp,.btn-s{transition:none}}

/* Production: where the finished files are (a Google Drive link) */
.wk-fl{display:inline-flex;align-items:center;gap:4px}
.wk-file{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;color:var(--ink);background:var(--panel);border-radius:999px;padding:4px 10px;text-decoration:none;transition:background-color .14s}
.wk-file:hover{background:color-mix(in srgb,var(--ok) 18%,var(--panel))}
.wk-file .ni{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8;margin:0}
.wk-fed{border:0;background:none;color:var(--muted);cursor:pointer;font-size:13px;padding:2px 4px;border-radius:6px}.wk-fed:hover{color:var(--ink);background:var(--panel)}
.wk-files{width:100%;min-width:0;font-size:12px}
.wk-none{color:var(--muted)}

/* Preview: drag a post onto another to swap their dates */
.pv-ph .g .t{position:relative;touch-action:pan-y}
.pv-ph .g .t.pv-dg{cursor:grab}
.pv-d{position:absolute;left:5px;bottom:5px;font-size:10px;font-weight:600;color:#fff;background:rgba(0,0,0,.55);border-radius:999px;padding:1px 6px;pointer-events:none}
.pv-tip{margin:0 0 8px;padding:0 12px;font-size:11px;color:var(--pm);text-align:center}
.pv-ph .g .t.pv-lifted{opacity:.25}
.pv-ph .g .t.pv-over{outline:3px solid #3b82f6;outline-offset:-3px;filter:brightness(1.08)}
.pv-ghost{position:fixed;z-index:90;margin:0;border:0;padding:0;pointer-events:none;overflow:hidden;border-radius:6px;box-shadow:0 18px 40px rgba(0,0,0,.35);transition:transform .05s linear}
.pv-ghost img{width:100%;height:100%;object-fit:cover;display:block}
body.pv-dragging,body.pv-dragging *{cursor:grabbing!important;user-select:none}
.pv-toast{position:absolute;left:50%;bottom:16px;transform:translateX(-50%);z-index:3;background:rgba(20,20,20,.92);color:#fff;font-size:12.5px;border-radius:999px;padding:8px 8px 8px 14px;display:flex;align-items:center;gap:10px;white-space:nowrap;animation:popIn .16s ease-out}
.pv-toast[hidden]{display:none}
.pv-toast button{border:0;background:#fff;color:#000;font:inherit;font-weight:700;border-radius:999px;padding:4px 10px;cursor:pointer}
.pv-post header small{margin-inline-start:auto;color:var(--muted);font-size:11px}

/* Campaigns: the same list as the posts; a campaign opens in the side panel */
.wk-cr{grid-template-columns:40px minmax(200px,2fr) 150px 110px minmax(120px,1fr) minmax(150px,1.2fr) 160px;min-width:900px}
.wk-cr>span:first-child{padding-inline-start:12px;color:var(--muted)}
.wk-cbar{margin:0 0 10px}
.ed-panel.ed-camps.ed-open .ed-insp .ct-quiet:has(#edDelC){display:none}

/* The helper's panel: how this part of the Hub works (from the SOPs), or ask */
.hp .bk-tabs{margin:0 0 16px}
.hp-intro{margin:0 0 16px;font-size:14.5px;line-height:1.5}
.hp-steps{list-style:none;margin:0 0 6px;padding:0;position:relative}
.hp-steps li{display:flex;gap:12px;position:relative;padding-bottom:16px}
.hp-steps li:not(:last-child)::before{content:"";position:absolute;left:13px;top:28px;bottom:2px;width:2px;background:var(--line)}
.hp-steps i{flex:none;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:13px;font-weight:700;background:var(--bg);color:var(--ink);box-shadow:0 0 0 1.5px var(--line);position:relative}
.hp-steps b{display:block;font-size:14.5px;margin-top:4px}
.hp-steps p{margin:3px 0 0;font-size:13.5px;line-height:1.5;color:color-mix(in srgb,var(--ink) 75%,var(--muted))}
.hp-h{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:18px 0 8px;font-weight:600}
.hp-rules{margin:0;padding:0;list-style:none;display:grid;gap:6px}
.hp-rules li{background:var(--panel);border-radius:10px;padding:9px 12px;font-size:13.5px;line-height:1.45}
.hp-docs{display:grid;gap:6px}
.hp-docs a,.hp-src{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:10px;border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:13.5px;font-weight:500;transition:background-color .14s}
.hp-docs a:hover{background:var(--panel)}
.hp-docs .ni{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;margin:0}
.hp-thin{font-size:13px;color:var(--muted);margin:12px 0 0}
.hp-other{display:flex;flex-wrap:wrap;gap:6px}
.hp-form textarea{width:100%;resize:vertical;font:inherit;font-size:14px}
.hp-do{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.hp-do small{color:var(--muted)}
.hp-wait{display:flex;align-items:center;gap:10px;margin-top:16px;font-size:13.5px;color:var(--muted)}
.hp-ans{margin-top:16px;font-size:14px;line-height:1.55}.hp-ans ol{padding-inline-start:20px;margin:8px 0}.hp-ans li{margin:4px 0}
.hp-tip{background:var(--panel);border-radius:10px;padding:9px 12px;font-size:13.5px}
.pal-btn{transition:transform .15s cubic-bezier(.2,.8,.2,1)}.pal-btn:hover{transform:translateY(-3px) rotate(-4deg)}
/* on a phone the helper sits in the top bar, beside the page's own button */
@media(max-width:860px){
  .pal{top:calc(10px + env(safe-area-inset-top,0px));bottom:auto;right:12px;z-index:41} /* in the corner (Rami, 17 October 2026) */
  .pal-btn,.pal .buddy{width:36px!important;height:36px!important}
  .pal-say{display:none!important}
}

/* Checklists: a small pill in the client's header; the checklists open in the side panel */
.ck-pill,.am-btn{display:inline-flex;align-items:center;gap:7px;border:0;background:var(--bg);color:var(--ink);font:inherit;font-size:12.5px;font-weight:500;border-radius:999px;padding:5px 12px 5px 7px;cursor:pointer;box-shadow:0 0 0 1px var(--line) inset;transition:box-shadow .14s,background-color .14s;margin-inline-start:4px;white-space:nowrap}
.ck-pill:hover,.am-btn:hover{box-shadow:0 0 0 1.5px var(--ink) inset}
.ck-pill b{font-weight:700}
.ck-pill i{font-style:normal;background:var(--bad,#e5484d);color:#fff;font-size:11px;font-weight:700;border-radius:999px;min-width:18px;height:18px;display:grid;place-items:center;padding:0 5px}
.ck-pill.none{color:var(--muted)}
.ck-ring{width:18px;height:18px;transform:rotate(-90deg)}
.ck-ring circle{fill:none;stroke-width:2.6;stroke:var(--line)}
.ck-ring circle+circle{stroke:var(--ok,#30a46c);stroke-linecap:round;transition:stroke-dasharray .4s cubic-bezier(.2,.8,.2,1)}
.ck-pill.late .ck-ring circle+circle{stroke:var(--warn,#f5a524)}
.ck-top{display:flex;justify-content:flex-end;margin:0 0 10px}
.ck-l{border:1px solid var(--line);border-radius:16px;padding:14px 16px;margin:0 0 14px;background:var(--bg)}
.ck-l>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.ck-l>header b{display:block;font-size:15px}.ck-l>header small{color:var(--muted);font-size:12.5px}
.ck-anc{display:flex;flex-direction:column;gap:2px;font-size:11px;color:var(--muted);text-align:end}.ck-anc input{font-size:12px;padding:4px 8px;width:auto}
.ck-bar{height:5px;border-radius:5px;background:var(--panel);margin:10px 0 6px;overflow:hidden}.ck-bar i{display:block;height:100%;background:var(--ok,#30a46c);border-radius:5px;transition:width .4s cubic-bezier(.2,.8,.2,1)}
.ck-l h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:12px 0 2px}
.ck-items{list-style:none;margin:0;padding:0}
.ck-i{display:flex;gap:10px;padding:9px 0;border-top:1px solid var(--line)}.ck-items .ck-i:first-child{border-top:0}
.ck-c input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--ok,#30a46c);cursor:pointer}
.ck-t{flex:1;min-width:0}.ck-t b{font-size:13.5px;font-weight:600;display:block}.ck-t b small{font-weight:400;color:var(--muted)}
.ck-t p{margin:2px 0 0;font-size:12.5px;color:var(--muted);line-height:1.4}
.ck-m{display:block;margin-top:3px;font-size:11.5px;color:var(--muted)}.ck-m .bad{color:var(--bad,#e5484d);font-weight:600}.ck-m .ok{color:var(--ok,#30a46c)}
.ck-i.done .ck-t b{color:var(--muted);text-decoration:line-through;text-decoration-color:color-mix(in srgb,var(--muted) 60%,transparent)}
.ck-i.mine:not(.done) .ck-t b::after{content:"You";margin-inline-start:6px;font-size:10px;font-weight:700;background:var(--panel);border-radius:999px;padding:1px 6px;vertical-align:1px}
.ck-i.focus{background:color-mix(in srgb,var(--info,#3b82f6) 9%,transparent);border-radius:10px;padding-inline:8px;margin-inline:-8px}
.ck-in{width:100%;margin-top:6px;font-size:12.5px}
.ck-l>footer{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:10px;font-size:12px}.ck-l>footer a{color:var(--muted)}
.ck-rm{margin-inline-start:auto;border:0;background:none;color:var(--muted);font:inherit;font-size:12px;cursor:pointer}.ck-rm:hover{color:var(--bad,#e5484d)}
.ck-edit{display:flex;flex-direction:column;gap:8px;padding:12px 0}.ck-edit b{font-size:13.5px}.ck-edit small{color:var(--muted)}.ck-edit textarea{width:100%;font:inherit;line-height:1.5}
.ck-l header .btn-s{flex:none}
.ck-new{display:flex;flex-wrap:wrap;align-items:flex-end;gap:8px;padding:14px 16px;border:1.5px dashed var(--line);border-radius:16px;margin:0 0 14px}
.ck-new b{width:100%;font-size:13.5px}.ck-new select{flex:1;min-width:180px}.ck-new label{display:flex;flex-direction:column;font-size:11px;color:var(--muted)}
.ck-done summary{cursor:pointer;color:var(--muted);font-size:13px;margin:4px 0 10px}
.ck-l.done{opacity:.75}
/* Skip and Delete (13 October 2026): a short reason, asked right in the checklist */
.ck-rm+.ck-rm{margin-inline-start:0}
.ck-why{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding:12px 14px;border-radius:12px;background:var(--panel)}
.ck-why b{font-size:13.5px}.ck-why small{color:var(--muted);font-size:12px;line-height:1.4}.ck-why input{width:100%}
.ck-skip{margin:8px 0 0;font-size:12.5px;color:var(--muted);line-height:1.4}.ck-skip span:first-child{font-weight:600}
.ck-l.skipped .ck-bar i{background:var(--muted)}

/* Reports and Performance: less height, the same information */
.hh-g{margin:6px 0 4px}
.hh-tile{padding:10px 14px;display:flex;align-items:baseline;gap:10px}.hh-tile b{font-size:28px}.hh-tile span{margin:0}
.hh-c{padding:12px 14px}
.hh-mix{height:96px}
.hh-row{padding:7px 14px}.hh-head{padding:2px 14px}
.hh-name .av,.hh-name .ct-av{width:30px;height:30px;font-size:12px}
.hh-score{font-size:16px;padding:3px 8px;min-width:46px}
.hh-list{display:grid;gap:6px}
#p-rp .bk-h{margin-bottom:6px}
.hh-name .cav{width:30px;height:30px;min-width:30px;font-size:12px}
.hh-main{flex-wrap:nowrap}.hh-main small{white-space:nowrap;font-weight:500;color:var(--muted)}
.ct-stsel{width:auto;min-width:118px;font-size:12.5px}
.ct-stsel.st-onboarding{background:var(--info-bg,#e6efff);color:var(--info-ink,#1d4ed8)}.ct-stsel.st-active{background:var(--ok-bg);color:var(--ok-ink)}.ct-stsel.st-hold{background:var(--review-bg);color:var(--review-ink)}.ct-stsel.st-inactive{background:var(--panel);color:var(--muted)}

/* Preview: a real phone. The body and its buttons, the island, the status bar, Instagram's own bars; it rises in with a spring,
   a post slides in from the right (the grid moves left and dims), lists bounce at their ends, a double tap pops a heart. */
@keyframes pvRise{from{opacity:0;transform:translateY(60px) scale(.92)}60%{opacity:1}to{transform:none}}
@keyframes pvFall{to{opacity:0;transform:translateY(40px) scale(.95)}}
@keyframes pvHeart{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}15%{opacity:.95;transform:translate(-50%,-50%) scale(1.2)}30%{transform:translate(-50%,-50%) scale(.95)}45%{transform:translate(-50%,-50%) scale(1.05)}80%{opacity:.95;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-80%) scale(.6)}}
@keyframes pvPop{40%{transform:scale(1.3)}70%{transform:scale(.9)}}
.pv-pop{--ph-h:min(780px,calc(calc(var(--vh, 100vh) / var(--z, 1)) - 48px));--ph-w:calc(var(--ph-h) * .462)}
.pv-shade{position:absolute;inset:0;background:rgba(10,12,14,.55);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.pv-close{position:absolute;top:18px;right:20px;z-index:2;border:0;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font:600 13px/1 system-ui,sans-serif;padding:10px 16px;cursor:pointer;backdrop-filter:blur(10px)}
.pv-close:hover{background:rgba(255,255,255,.24)}
.pv-dev{position:relative;z-index:1;width:var(--ph-w);height:var(--ph-h);padding:11px;border-radius:calc(var(--ph-w) * .16);background:linear-gradient(145deg,#3a3d42,#17181b 40%,#2a2c30);box-shadow:0 0 0 1.5px #55585e,0 40px 90px rgba(0,0,0,.55),inset 0 0 0 2px #0c0d0f;animation:pvRise .55s cubic-bezier(.2,1.1,.3,1)}
.pv-pop.out .pv-dev{animation:pvFall .2s cubic-bezier(.25,1,.5,1) forwards}.pv-pop.out .pv-shade,.pv-pop.out .pv-close{transition:opacity .24s;opacity:0}
.pv-hw{position:absolute;width:3px;border-radius:2px;background:#2c2e32;box-shadow:inset 0 0 0 1px #4a4d52}
.pv-hw.a{left:-3px;top:17%;height:5%}.pv-hw.b{left:-3px;top:25%;height:9%}.pv-hw.c{left:-3px;top:36%;height:9%}.pv-hw.d{right:-3px;top:28%;height:13%}
.pv-dev .ph.pv-ph{width:100%;height:100%;min-height:0;border:0;border-radius:calc(var(--ph-w) * .13);box-shadow:none!important;position:relative;overflow:hidden;background:#000;font:14px/1.35 -apple-system,"SF Pro Text",system-ui,sans-serif;animation:none}
.pv-sb{flex:none;height:46px;display:flex;align-items:center;justify-content:space-between;padding:6px 26px 0 30px;font-size:14.5px;position:relative;z-index:3;color:#fff}
.pv-clock{font-weight:600;letter-spacing:-.01em}
.pv-island{position:absolute;left:50%;top:9px;transform:translateX(-50%);width:31%;height:27px;border-radius:20px;background:#000;box-shadow:0 0 0 1px #111}
.pv-ics{display:flex;align-items:center;gap:5px}.pv-ics svg{height:11px;width:auto;fill:#fff}
.pv-views{position:relative;flex:1;min-height:0;overflow:hidden}
.pv-view{position:absolute;inset:0;display:flex;flex-direction:column;background:#000;transition:transform .42s cubic-bezier(.32,.72,0,1),filter .42s}
.pv-fv{transform:translateX(100%);box-shadow:-10px 0 30px rgba(0,0,0,.5)}
.pv-views.pushed .pv-fv{transform:none}.pv-views.pushed .pv-gv{transform:translateX(-28%);filter:brightness(.55)}
.pv-top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 14px 8px;font-size:17px}
.pv-top b{font-weight:700}.pv-fv .pv-top b{flex:1;text-align:center;font-size:16px}
.pv-ti{display:flex;gap:16px}.pv-ti svg,.pv-b svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.pv-b{border:0;background:none;padding:2px;cursor:pointer;display:grid}.pv-fv .pv-top span{width:28px}
.pv-scroll{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.pv-in{will-change:transform}
.pv-prof{display:flex;align-items:center;gap:18px;padding:6px 16px 10px}
.pv-av{flex:none;width:78px;height:78px;border-radius:50%;padding:3px;background:conic-gradient(from 210deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5,#feda75)}
.pv-av i{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:#fff;color:#000;font-style:normal;font-weight:700;font-size:26px;border:3px solid #000}
.pv-stats{flex:1;display:flex;justify-content:space-around;text-align:center}.pv-stats b{display:block;font-size:16px}.pv-stats span{font-size:12.5px;color:#d0d4d8}
.pv-bio{padding:0 16px 10px;font-size:13.5px}
.pv-acts{display:flex;gap:6px;padding:0 16px 12px}.pv-acts span{flex:1;text-align:center;background:#262a2f;border-radius:9px;padding:7px 0;font-size:13px;font-weight:600}
.pv-tabs{display:flex;border-top:1px solid #1c1f23}.pv-tabs span{flex:1;display:grid;place-items:center;padding:9px 0;opacity:.5}.pv-tabs span.on{opacity:1;box-shadow:inset 0 -1.5px #fff}
.pv-tabs svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.6}
.pv-dev .pv-tip{color:#8e959c;margin:6px 0}
.pv-dev .g .t{border-radius:0;aspect-ratio:4/5;transition:transform .12s,filter .12s}.pv-dev .g .t:active{transform:scale(.97);filter:brightness(.85)}
.pv-k{position:absolute;top:6px;right:6px}.pv-k svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:2;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6))}
.pv-tab{flex:none;display:flex;justify-content:space-around;align-items:center;padding:10px 8px 4px;border-top:1px solid #16191c;background:#000}
.pv-tab svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round}.pv-tab svg:first-child{fill:#fff}
.pv-me{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#fff;color:#000;font:700 11px/1 system-ui;font-style:normal;box-shadow:0 0 0 1.5px #000,0 0 0 2.6px #fff}
.pv-homebar{flex:none;height:22px;display:grid;place-items:center;background:#000}.pv-homebar::after{content:"";width:36%;height:5px;border-radius:5px;background:#fff}
.pv-post header{padding:10px 12px}.pv-post header small{color:#8e959c}
.pv-media{aspect-ratio:4/5;position:relative;overflow:hidden;background:#111;touch-action:pan-x pan-y}
.pv-car{display:flex;width:100%;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.pv-car::-webkit-scrollbar{display:none}.pv-car img{flex:none;width:100%;height:100%;object-fit:cover;scroll-snap-align:center;scroll-snap-stop:always;user-select:none}
.pv-cnt{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.6);color:#fff;font-size:11.5px;font-weight:600;border-radius:999px;padding:3px 8px}
.pv-big{position:absolute;left:50%;top:50%;opacity:0;pointer-events:none}.pv-big svg{width:96px;height:96px;fill:#fff;filter:drop-shadow(0 4px 18px rgba(0,0,0,.35))}
.pv-big.go{animation:pvHeart .9s cubic-bezier(.2,.9,.3,1) forwards}
.pv-row{display:flex;align-items:center;gap:14px;padding:9px 12px 4px}.pv-row svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round}
.pv-row>svg:last-child{margin-inline-start:auto}.pv-row>span{flex:1;display:flex;justify-content:center;gap:4px}
.pv-like{border:0;background:none;padding:0;cursor:pointer;display:grid}.pv-like.on svg{fill:#ff3040;stroke:#ff3040}.pv-like.pop{animation:pvPop .35s ease}
.pv-dots i{width:6px;height:6px;border-radius:50%;background:#5a6066;transition:background .2s}.pv-dots i.on{background:#3897f0}
.pv-dev .pv-post p{padding:4px 12px 2px}.pv-when{display:block;padding:2px 12px 18px;color:#8e959c;font-size:11px}
.pv-dev .pv-toast{bottom:84px}
@media(max-width:600px){.pv-pop{--ph-h:min(760px,calc(calc(var(--vh, 100vh) / var(--z, 1)) - 80px))}.pv-close{top:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.pv-dev,.pv-view,.pv-big.go,.pv-like.pop{animation:none!important;transition:none!important}}
.pv-done{display:none;border:0;background:none;color:#fff;font:600 15px/1 -apple-system,system-ui,sans-serif;padding:2px 0 2px 6px;cursor:pointer}
/* on a phone the preview is the phone's own screen: no drawn phone around it, edge to edge */
@media(max-width:600px){
  .pv-pop{padding:0;place-items:stretch}
  .pv-close,.pv-hw,.pv-sb{display:none}
  .pv-dev{width:100%;height:100%;padding:0;border-radius:0;background:#000;box-shadow:none;animation:pvUp .38s cubic-bezier(.32,.72,0,1)}
  .pv-dev .ph.pv-ph{border-radius:0;padding-top:env(safe-area-inset-top,0px)}
  .pv-ti svg{display:none}.pv-done{display:block}
  .pv-homebar{height:calc(6px + env(safe-area-inset-bottom,0px))}.pv-homebar::after{display:none}
  .pv-pop.out .pv-dev{animation:pvDown .2s cubic-bezier(.25,1,.5,1) forwards}
}
@keyframes pvUp{from{transform:translateY(100%)}}
@keyframes pvDown{to{transform:translateY(100%)}}
@media(max-width:600px){.pv-pop{inset:auto;top:0;left:0;width:calc(100vw / var(--z, 1));height:calc(100dvh / var(--z, 1))}}
.pv-dev .ph.pv-ph{width:100%!important;height:100%!important;aspect-ratio:auto;align-self:stretch}

/* The vault: unlike the rest of the Hub on purpose. Dark, a striped Restricted band, a lock, and a green dot only while it is open. */
.ct-vlk{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;vertical-align:-2px;margin-inline-end:5px}
.vt{--v-bg:#0f1318;--v-panel:#171c23;--v-line:#262d36;--v-ink:#e8ecf1;--v-muted:#8b95a3;--v-amber:#f0b429;--v-ok:#3ccf8e;
  background:var(--v-bg);color:var(--v-ink);border-radius:20px;overflow:hidden;box-shadow:0 0 0 1px #000,0 18px 40px rgba(0,0,0,.18);margin-top:8px}
.vt-band{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 20px;background:repeating-linear-gradient(-45deg,#1a1f26 0 14px,#151a20 14px 28px);border-bottom:2px solid var(--v-amber)}
.vt-band span{display:flex;align-items:center;gap:10px}.vt-band b{font:700 15px/1 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase}
.vt-band em{font-style:normal;font-size:12px;color:var(--v-amber);letter-spacing:.04em}
.vt-band .vt-lk{width:22px;height:22px;stroke:var(--v-amber)}
.vt-lk{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.vt-gate{display:grid;justify-items:center;text-align:center;gap:6px;padding:46px 20px 50px}
.vt-gate>.vt-lk{width:64px;height:64px;stroke:var(--v-muted);margin-bottom:8px}
.vt.closed .vt-gate>.vt-lk{stroke:#e5484d}
.vt-gate h2{margin:0;font-size:22px}.vt-gate p{margin:0;max-width:46ch;color:var(--v-muted);line-height:1.5}
.vt-sm{font-size:12.5px;color:var(--v-muted)}
.vt .btn-s.vt-go{margin:14px 0 6px;background:var(--v-amber);color:#111;font-weight:700;padding:11px 22px;text-decoration:none;border:0}
.vt .btn-s.vt-go:hover{box-shadow:0 0 0 3px rgba(240,180,41,.3)}
.vt-msg{margin:14px 20px 0;background:#3a1a1c;color:#ffb4b4;border-radius:10px;padding:10px 14px;font-size:13.5px}
.vt-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px 20px;border-bottom:1px solid var(--v-line)}
.vt-open{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--v-muted);margin-inline-end:auto}.vt-open b{color:var(--v-ink);font-variant-numeric:tabular-nums}
.vt-open i{width:8px;height:8px;border-radius:50%;background:var(--v-ok);box-shadow:0 0 0 0 rgba(60,207,142,.6);animation:ping 1.8s infinite}
.vt-fl{font-size:12.5px;color:var(--v-ok)}
.vt .btn-s{background:var(--v-panel);color:var(--v-ink);box-shadow:0 0 0 1px var(--v-line) inset}.vt .btn-s:hover{box-shadow:0 0 0 1.5px var(--v-muted) inset}
.vt .btn-s.pri{background:var(--v-ink);color:var(--v-bg)}
.vt-tabs{display:flex;align-items:center;gap:4px;padding:12px 20px 0;flex-wrap:wrap}
.vt-tabs>button:not(.btn-s){border:0;background:none;color:var(--v-muted);font:inherit;font-size:13.5px;font-weight:600;padding:8px 12px;border-radius:9px;cursor:pointer}
.vt-tabs>button.on{background:var(--v-panel);color:var(--v-ink)}
.vt-new{margin-inline-start:auto}
.vt-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;padding:16px 20px 22px}
.vt-e{background:var(--v-panel);border:1px solid var(--v-line);border-radius:14px;padding:14px 16px;min-width:0}
.vt-e header{display:flex;align-items:center;gap:10px}.vt-e header div{flex:1;min-width:0}.vt-e header b{display:block;font-size:15px}.vt-e header small{color:var(--v-muted);font-size:12px}
.vt-ic{width:30px;height:30px;padding:6px;border-radius:9px;background:#222934;fill:none;stroke:var(--v-amber);stroke-width:1.8;flex:none}
.vt-e dl{margin:12px 0 8px;display:grid;gap:8px}.vt-e dl div{display:grid;gap:3px}
.vt-e dt{font-size:11.5px;color:var(--v-muted)}
.vt-e dd{margin:0;display:flex;align-items:center;gap:6px;min-width:0}
.vt-e code{flex:1;min-width:0;overflow-wrap:anywhere;font:500 13.5px/1.4 ui-monospace,Menlo,monospace;background:#0c1014;border-radius:8px;padding:6px 9px;letter-spacing:.12em;color:var(--v-muted)}
.vt-e code.on{color:var(--v-ink);letter-spacing:0;box-shadow:0 0 0 1px var(--v-amber) inset}
.vt-b{border:0;background:#222934;color:var(--v-ink);font:inherit;font-size:12px;font-weight:600;border-radius:8px;padding:6px 9px;cursor:pointer}.vt-b:hover{background:#2c3542}
.vt-e footer{font-size:11.5px;color:var(--v-muted)}
.vt-empty{padding:30px 20px;color:var(--v-muted);text-align:center}
.vt-acc{list-style:none;margin:12px 20px;padding:0;display:grid;gap:6px}.vt-acc li{display:flex;align-items:center;gap:10px;background:var(--v-panel);border-radius:10px;padding:10px 14px}
.vt-acc li small{color:var(--v-muted);margin-inline-end:auto}
.vt-tabs~.vt-sm{padding:12px 20px 0;margin:0}
.vt-add{display:flex;gap:8px;padding:0 20px 20px}.vt-add select{flex:1;max-width:320px;background:var(--v-panel);color:var(--v-ink);border-color:var(--v-line)}
.vt-log{list-style:none;margin:10px 20px 20px;padding:0;font-size:13px}.vt-log li{padding:8px 0;border-bottom:1px solid var(--v-line);color:var(--v-muted)}
.vt-log time{display:inline-block;min-width:130px;font-variant-numeric:tabular-nums}.vt-log b,.vt-log i{color:var(--v-ink);font-style:normal}
.vt-form label{display:grid;gap:4px;margin:0 0 12px;font-size:13px}.vt-in{display:flex;gap:6px}.vt-in input{flex:1}
.vt-form .vt-b{background:var(--panel);color:var(--ink)}
@media(max-width:600px){.vt-band,.vt-bar,.vt-tabs,.vt-list{padding-inline:14px}.vt-list{grid-template-columns:minmax(0,1fr)}.vt-log time{display:block}}

.sm-start{font-size:12.5px;padding:5px 11px;color:var(--muted)}.sm-start:hover{color:var(--ink)}
.ed-wipe.bk-danger{display:flex;justify-content:flex-end;margin:18px 0 8px}
/* a client's Social media: this month and next as two cards side by side */
.cm-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cm-two .cm-hero{align-content:start}
.cm-lab{font-size:11.5px!important;text-transform:uppercase;letter-spacing:.07em;font-weight:600}
.cm-hero.cm-none{background:transparent;box-shadow:0 0 0 1.5px var(--line) inset}
.cm-hero.cm-none .cm-t b{color:var(--muted)}
.cm-hero button.btn-s{margin-top:6px;min-height:40px;padding:0 20px;font-weight:600}
.cm-more{font-size:13px;color:var(--muted);font-weight:600;margin:18px 0 6px}
@media(max-width:860px){.cm-two{grid-template-columns:minmax(0,1fr)}}
/* the client picker's "+ Add new client": two fields right under it */
.kcp-new{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;padding:10px;border-radius:12px;background:var(--panel);animation:popIn .14s ease-out}
.kcp-new input{flex:1 1 130px;min-width:0}.kcp-new .wk-err{flex-basis:100%}
.sm-off{border:0;background:none;color:var(--muted);font:inherit;font-size:15px;line-height:1;padding:5px 9px;border-radius:999px;cursor:pointer;opacity:.55}
.wk-r1:hover .sm-off,.sm-off:focus-visible,.sm-off.sure{opacity:1}.sm-off:hover{background:var(--panel);color:var(--ink)}
.sm-off.sure{font-size:12px;font-weight:600;background:var(--bad-bg);color:var(--bad-ink)}
.md-add{font-size:12.5px;color:var(--muted);text-decoration:none;padding:3px 9px;border-radius:999px;box-shadow:0 0 0 1px var(--line) inset}.md-add:hover{color:var(--ink);box-shadow:0 0 0 1.5px var(--ink) inset}
.cs-add{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding-top:12px;border-top:1px solid var(--line)}.cs-add small{color:var(--muted);margin-inline-end:4px}.cs-add a{text-decoration:none;font-size:12.5px}
.ce-svc{display:grid;gap:6px}.ce-svc small{color:var(--muted);font-size:12px}
.ov-chips a{text-decoration:none;color:inherit}.ov-chips a:hover{box-shadow:0 0 0 1.5px var(--ink) inset}

/* Team: who is available, the week, time off and its settings */
.tm-sum{display:flex;flex-wrap:wrap;gap:8px 18px;margin:4px 0 12px;font-size:13px;color:var(--muted)}.tm-sum span{display:inline-flex;align-items:center;gap:6px}
.tm-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--muted);flex:none}
.tm-dot.in{background:var(--ok,#30a46c)}.tm-dot.shoot{background:#f59e0b}.tm-dot.off{background:#a1a1aa}.tm-dot.out{background:var(--accent-rose,#e5484d)}.tm-dot.away{background:transparent;box-shadow:inset 0 0 0 2px #a1a1aa}
.tm-r{grid-template-columns:minmax(200px,1fr) minmax(220px,1.4fr);min-width:0;height:auto;min-height:52px}
.tm-who{display:flex;align-items:center;gap:10px}.tm-who small{color:var(--muted);font-weight:400}
.tm-av{position:relative;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:var(--panel);font-style:normal;font-weight:700;font-size:13px}
.tm-av .tm-dot{position:absolute;right:-1px;bottom:-1px;box-shadow:0 0 0 2px var(--bg)}.tm-av .tm-dot.away{box-shadow:inset 0 0 0 2px #a1a1aa,0 0 0 2px var(--bg)}
.tm-st{font-size:13.5px}.tm-st.in{color:var(--ok-ink,#16794a)}.tm-st.shoot{color:#b45309}.tm-st.off,.tm-st.away{color:var(--muted)}
.tm-wbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0 12px}.tm-wbar>b{min-width:150px;text-align:center}
.tm-key{display:flex;gap:6px;margin-inline-start:auto}
.tm-scroll{overflow-x:auto}.tm-grid{min-width:880px}
.tm-h,.tm-row{display:grid;grid-template-columns:180px repeat(7,minmax(90px,1fr));gap:4px}
.tm-h span{font-size:12px;color:var(--muted);padding:6px 4px;text-align:center}.tm-h span b{color:var(--ink);font-size:14px}.tm-h span.today{color:var(--ink);font-weight:600}.tm-h span.today b{background:var(--ink);color:var(--bg);border-radius:999px;padding:1px 7px}
.tm-gh{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;margin:12px 0 4px}
.tm-row{min-height:46px;margin-bottom:4px}
.tm-name{display:flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-c{background:var(--panel);border-radius:8px;padding:4px;display:flex;flex-direction:column;gap:3px;min-width:0}
.tm-c.closed{background:repeating-linear-gradient(-45deg,var(--panel) 0 6px,transparent 6px 12px)}
.tm-c.today{box-shadow:inset 0 0 0 1.5px var(--ink)}
.tm-no{font-size:11px;color:var(--muted);margin:auto}
.tm-b{display:block;font-size:11.5px;font-weight:600;border-radius:6px;padding:3px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tm-b small{display:block;font-weight:500;opacity:.8}
.tm-b.off{background:#e4e4e7;color:#3f3f46}.tm-b.asked{background:transparent;color:var(--muted);border:1.5px dashed currentColor;padding:2px 5px}.tm-b.shoot{background:#fef3c7;color:#92400e}.tm-b.out{background:var(--accent-rose-soft,#fde8ec);color:var(--c-ink)}
.tm-key .tm-b{display:inline-block}
.tm-sec{font-size:13px;color:var(--muted);font-weight:600;margin:18px 0 8px}.tm-sec small{font-weight:400}
.tm-bal{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.tm-bal div{background:var(--panel);border-radius:12px;padding:12px 14px}.tm-bal b{display:block;font-size:24px;font-variant-numeric:tabular-nums}.tm-bal span{font-size:12px;color:var(--muted)}
.tm-bal div:first-child{background:var(--ink);color:var(--bg)}.tm-bal div:first-child span{color:inherit;opacity:.75}
.tm-req{border:1px solid var(--line);border-radius:14px;padding:12px 14px;margin-bottom:8px}.tm-req.wait{border-color:var(--ink)}
.tm-rh{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tm-rh>span{color:var(--muted);font-size:13px}.tm-x{margin-inline-start:auto}
.tm-req p{margin:6px 0 0;font-size:13.5px}.tm-req>small{display:block;margin-top:4px;color:var(--muted);font-size:12px}
.tm-warn{margin:8px 0 0;padding:8px 12px 8px 26px;background:var(--review-bg);color:var(--review-ink);border-radius:10px;font-size:12.5px}
.tm-do{display:flex;gap:6px;margin-top:10px;flex-wrap:wrap}.tm-do input{flex:1;min-width:160px}
.tm-steps{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.tm-steps span{font-size:12px;color:var(--muted);background:var(--panel);border-radius:999px;padding:3px 10px}.tm-steps .ok{color:var(--ok-ink)}.tm-steps .bad{color:var(--bad-ink)}
.tm-set label{display:grid;gap:4px;font-size:13px}.tm-row2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}
.tm-ck{display:flex!important;align-items:center;gap:8px}.tm-lab{display:block;font-size:13px;margin:8px 0 6px}
.tm-hours{display:grid;gap:4px;max-width:460px}.tm-hours label{display:grid;grid-template-columns:20px 110px 1fr 1fr;align-items:center;gap:8px}
.tm-over{border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin-bottom:6px}.tm-over summary{cursor:pointer;display:flex;gap:10px;align-items:baseline}.tm-over summary small{color:var(--muted)}
.tm-over[open]{display:grid;gap:8px}.tm-add{margin:6px 0 14px;max-width:320px}
@media(max-width:860px){.tm-bal{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-bal div:first-child{grid-column:1/-1}.tm-row2{grid-template-columns:minmax(0,1fr)}.tm-r{grid-template-columns:minmax(0,1fr)}.tm-key{display:none}}
:root[data-theme="dark"] .tm-b.off{background:#3f3f46;color:#e4e4e7}:root[data-theme="dark"] .tm-b.shoot{background:#4a3410;color:#fcd34d}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .tm-b.off{background:#3f3f46;color:#e4e4e7}:root:not([data-theme="light"]) .tm-b.shoot{background:#4a3410;color:#fcd34d}}
@media(max-width:860px){#p-tm .bk-h{display:flex;justify-content:flex-end;margin-bottom:10px}#p-tm .bk-h .h1{display:none}}
/* Team: meetings, the day by hours, holidays, the calendar prompt */
.tm-dot.meeting{background:#8b5cf6}.tm-st.meeting{color:#6d28d9}
.tm-b.meeting{background:#ede9fe;color:#5b21b6}.tm-b.holiday{background:#dbeafe;color:#1e40af}
:root[data-theme="dark"] .tm-b.meeting{background:#2e1f5e;color:#c4b5fd}:root[data-theme="dark"] .tm-b.holiday{background:#172554;color:#93c5fd}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .tm-b.meeting{background:#2e1f5e;color:#c4b5fd}:root:not([data-theme="light"]) .tm-b.holiday{background:#172554;color:#93c5fd}}
.tm-conn{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:var(--panel);border-radius:12px;padding:10px 14px;margin-bottom:12px;font-size:13px}.tm-conn span{flex:1;min-width:220px}
.tm-day{min-width:900px}
.tm-dh,.tm-drow{display:grid;grid-template-columns:180px 1fr;gap:8px;align-items:center}
.tm-ticks{position:relative;height:22px;margin-right:12px}.tm-ticks i{position:absolute;transform:translateX(-50%);font-style:normal;font-size:11px;color:var(--muted)}
.tm-drow{min-height:40px;margin-bottom:4px}
.tm-track{position:relative;height:34px;margin-right:12px;background:repeating-linear-gradient(90deg,var(--line) 0 1px,transparent 1px calc(100% / 14));border-radius:8px;background-color:var(--panel)}
.tm-work{position:absolute;top:0;bottom:0;background:var(--bg);border-radius:6px;box-shadow:inset 0 0 0 1px var(--line)}
.tm-track .tm-no{position:absolute;left:10px;top:9px}
.tm-bar{position:absolute;top:4px;bottom:4px;display:flex;align-items:center;padding:0 6px;font-size:11px}
.tm-now{position:absolute;top:-4px;bottom:-4px;width:2px;background:#ef4444;border-radius:2px}
.tm-hols{display:flex;flex-direction:column;gap:6px;max-width:460px;margin-bottom:12px;align-items:flex-start}
.tm-hol{display:grid;grid-template-columns:150px 1fr 36px;gap:6px;width:100%}
.tm-off{max-width:620px;margin-bottom:12px;padding:10px 12px;border-radius:12px;background:var(--bg)}
.tm-offh{display:flex;gap:8px;align-items:center}.tm-offh input{flex:1;max-width:240px}.tm-offh small{color:var(--muted)}
.tm-offw{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-top:8px}.tm-offw select{max-width:220px}
.tm-ofp{display:inline-flex;gap:4px;align-items:center;padding:2px 4px 2px 10px;border-radius:999px;background:var(--panel)}
.tm-lab small{font-weight:400;color:var(--muted)}
/* ---------- Sales (public/sales.js) ---------- */
.sl-board{grid-template-columns:repeat(6,minmax(170px,1fr))!important}
.sl-p,.sl-p *{min-width:0}.sl-p .find{min-width:0;max-width:100%}
.sl-sum{display:block;padding:0 8px;font-size:12px;color:var(--muted);margin-top:-4px}
.sl-card{gap:5px}.sl-card,.sl-card>*{min-width:0}.sl-card.late{box-shadow:inset 3px 0 0 var(--bad)}.sl-card.idle{box-shadow:inset 3px 0 0 var(--line-2)}
.sl-card .mw-k span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-av,.am-av{font-style:normal;width:22px;height:22px;border-radius:999px;background:var(--soft);color:var(--ink);font-size:10px;font-weight:700;display:grid;place-items:center;flex:none}
.sl-val{font-size:13px;font-weight:600;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}.sl-val small{font-weight:400;color:var(--muted);font-size:11.5px}
.sl-next{display:flex;align-items:center;gap:5px;min-width:0}.sl-next span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sl-ic{width:14px;height:14px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.75}
.sl-late{color:var(--bad)}.sl-none{color:var(--muted);font-size:12.5px}
.sl-money{display:grid;grid-template-columns:1fr 84px;gap:6px}
.sl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}
.sl-stat{background:var(--panel);border-radius:12px;padding:14px 16px;display:grid;gap:2px}.sl-stat b{font-size:24px;font-weight:650;letter-spacing:-.02em}.sl-stat span{font-size:13px}.sl-stat small{color:var(--muted);font-size:12px}
.sl-rep{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.sl-rep h3{font-size:13.5px;font-weight:600;margin:0 0 8px}
.sl-bar{display:grid;grid-template-columns:minmax(90px,1fr) 2fr 28px;gap:8px;align-items:center;font-size:12.5px;padding:4px 0}
.sl-bar i{height:8px;border-radius:99px;background:var(--soft);position:relative;overflow:hidden}.sl-bar i::after{content:"";position:absolute;inset:0;width:var(--p);background:var(--ink);opacity:.75;border-radius:inherit}
.sl-bar b{text-align:end;font-weight:600}.sl-bar small{grid-column:2/-1;color:var(--muted);margin-top:-4px}
.sl-p{display:grid;gap:18px}.sl-p section h3{font-size:13.5px;font-weight:600;margin:0 0 8px;display:flex;align-items:center;gap:8px}
.sl-steps{display:flex;gap:3px}
.sl-steps button{flex:1;border:0;background:var(--soft);color:var(--muted);font:inherit;font-size:11.5px;padding:7px 4px;cursor:pointer;min-width:0;clip-path:polygon(0 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,0 100%,7px 50%);transition:background-color .14s,color .14s}
.sl-steps button:first-child{clip-path:polygon(0 0,calc(100% - 7px) 0,100% 50%,calc(100% - 7px) 100%,0 100%);border-radius:6px 0 0 6px}
.sl-steps button span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 6px}
.sl-steps button.d{background:var(--ok-bg);color:var(--ok-ink)}.sl-steps button.n{background:var(--ink);color:var(--bg);font-weight:600}
.sl-steps button:not([disabled]):hover{background:var(--line-2);color:var(--ink)}.sl-steps button[disabled]{cursor:default}
.sl-wl{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sl-won{background:var(--ok-bg)!important;color:var(--ok-ink)!important;box-shadow:0 0 0 1px var(--ok-line) inset!important;font-weight:600}
.sl-lost{background:var(--bad-bg)!important;color:var(--bad)!important;box-shadow:0 0 0 1px var(--bad-line) inset!important;font-weight:600}
.sl-res{border-radius:10px;padding:10px 12px;font-size:13.5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sl-res.won{background:var(--ok-bg);color:var(--ok-ink)}.sl-res.lost{background:var(--bad-bg);color:var(--bad-ink)}.sl-res .btn-s{margin-inline-start:auto}
.sl-box{border-radius:12px;padding:12px 14px;display:grid;gap:10px;box-shadow:0 0 0 1px var(--line-2) inset}.sl-box p{margin:0;font-size:13px;color:var(--muted);line-height:1.45}
.sl-box.win{background:var(--ok-bg)}.sl-box.lose{background:var(--bad-bg)}
.sl-box label,.sl-grid label,.sl-ho label{display:grid;gap:4px;font-size:12.5px}.sl-box label span,.sl-grid label span,.sl-ho label span{color:var(--muted)}
.sl-ho label em{font-style:normal;font-size:11px;color:var(--warn);margin-inline-start:4px}
.sl-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.sl-grid .find,.sl-ho .find,.sl-box .find{width:100%}
.sl-acts{display:grid;gap:4px}
.sl-act{display:grid;grid-template-columns:auto auto 1fr auto;gap:8px;align-items:center;padding:6px 8px;border-radius:8px;background:var(--panel)}
.sl-act span{display:grid;min-width:0}.sl-act b{font-weight:500;font-size:13px}.sl-act small{color:var(--muted);font-size:11.5px}
.sl-act.late small{color:var(--bad)}.sl-act.done b{text-decoration:line-through;color:var(--muted)}
.sl-x{border:0;background:none;color:var(--muted);font-size:17px;cursor:pointer;padding:0 4px}.sl-x:hover{color:var(--bad)}
.sl-addact{display:grid;grid-template-columns:1.1fr 1.2fr 1fr auto;gap:6px;margin-top:6px}.sl-addact input[name=title],.sl-addact input[name=orgName]{grid-column:1/-1}#slLink{grid-template-columns:1fr auto}#slLink input{grid-column:auto}
.sl-org{display:grid;gap:10px}.sl-lab{font-size:12.5px;color:var(--muted)}
.sl-ppl{display:grid;gap:6px}.sl-pp{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.3fr;gap:6px}.sl-pp .find{width:100%;min-width:0}
.sl-ho{display:grid;gap:10px}.sl-hint{margin:0;font-size:12.5px;color:var(--muted);line-height:1.45}
.sl-note{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:end}.sl-note .find{width:100%}
.sl-log{display:grid;gap:2px;margin-top:8px}.sl-li{display:grid;gap:1px;padding:6px 0;border-top:1px solid var(--line);font-size:13px}.sl-li small{color:var(--muted);font-size:11.5px}
.sl-li.note span{background:var(--warn-bg);border-radius:8px;padding:6px 8px;white-space:pre-wrap}.sl-li.won span{color:var(--ok-ink);font-weight:600}.sl-li.lost span{color:var(--bad)}
.sl-chk{display:flex;gap:8px;align-items:center;font-size:13.5px;padding:4px 0}
.am-pills{display:contents}
.am-btn.need{background:var(--bad-bg);color:var(--bad);box-shadow:0 0 0 1px var(--bad-line) inset;padding-inline:12px}
.am-btn[disabled]{cursor:default;opacity:1}.am-btn[disabled]:hover{box-shadow:0 0 0 1px var(--line) inset}
.ho{display:grid;gap:4px;padding-bottom:14px}.ho+.ho{border-top:1px solid var(--line);padding-top:14px}
.ho-top{display:flex;gap:6px;flex-wrap:wrap}.ho-meta{color:var(--muted);font-size:12.5px;margin:4px 0 2px}
.ho h4{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:600;margin:10px 0 0}.ho p{margin:2px 0;font-size:14px;line-height:1.5}
@media(max-width:860px){.sl-stats{grid-template-columns:1fr 1fr}.sl-rep{grid-template-columns:1fr}.sl-grid{grid-template-columns:1fr}.sl-addact{grid-template-columns:1fr 1fr}.sl-pp{grid-template-columns:1fr 1fr}.sl-steps button{font-size:10.5px}.sl-steps button span{padding:0 2px}}
/* phones: the bar at the bottom is on every page (Rami, 11 November 2026: "the menu needs to be on every single page ... there are so many
   layers deep ... we need an easy way to either go back or go to different places quickly"; until then it was on the five main pages
   only); deeper pages have the back arrow too. The floating buttons sit above the bar everywhere. */
@media(max-width:860px){
  body.sub-lv #mBack:not([hidden]){display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--soft);border:0;color:var(--ink);margin-inline-end:4px}
  body.sub-lv #mBack svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
}
/* Production on a phone: each job a card */
.jc-list{display:grid;gap:8px;margin:6px 0 12px}
.jc{display:grid;gap:6px;padding:12px 14px;border-radius:16px;background:var(--bg);border:1px solid var(--line)}
.jc.unas{box-shadow:inset 3px 0 0 #e8930c}.jc.late{box-shadow:inset 3px 0 0 var(--bad)}
.jc-h{font-size:15.5px;line-height:1.35;min-width:0}.jc-h a,.jc-h button{color:inherit;text-decoration:none;background:none;border:0;padding:0;font:inherit;text-align:start}
.jc-h b{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.jc-m{font-size:12.5px;color:var(--muted);display:flex;flex-wrap:wrap;gap:4px 6px;align-items:center}
.jc-a{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.jc-a>.wk-st,.jc-a>.wk-tag,.jc-a>.jc-who{height:34px;font-size:13px;flex:1 1 0;min-width:0;width:auto;max-width:none}
.jc-a .jc-f{flex:1 0 100%;display:flex}.jc-a .jc-f .wk-files{width:100%;height:34px;font-size:13px}.jc-a .jc-f:has(.wk-none){display:none}
.jc-who{font-size:13px}
@media(max-width:860px){
  .bk-spaces .bk-sp{padding:9px 10px;min-height:0}.bk-spaces .bk-sp b{font-size:14px}.bk-spaces .bk-sp i .ni{width:17px;height:17px}
}
/* Home: my time off */
.today-off{border:0;font:inherit;text-align:start;cursor:pointer}
.today-off em{font-style:normal;font-size:13px;font-weight:600;color:var(--ink);margin-top:4px;display:inline-flex;align-items:center;gap:4px}
.today-off em::before{content:"+";font-size:16px;line-height:1}
.today-ok{margin-top:10px;font-size:13.5px;color:var(--ok-ink);background:var(--ok-bg);border-radius:12px;padding:10px 14px;text-align:start;width:100%}
/* Home: shortcuts under the search */
/* phones: a list's rows as cards, the item on top and each value under its column's name */
@media(max-width:860px){
  body.rows-tall.fl-on .page.on .ct-table .ct-head2{display:none!important}
  body.rows-tall.fl-on .page.on .ct-table .bk-g{min-width:0!important;width:auto!important}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>[data-e]{display:none!important}
  body.rows-tall.fl-on .page.on .ct-table{overflow:visible!important;background:none!important;box-shadow:none!important;padding:0!important}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2)){position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start;min-width:0!important;width:auto!important;height:auto!important;padding:14px 16px;margin:0 0 8px;border:1px solid var(--line);border-radius:16px;background:var(--bg)}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>*{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;width:auto!important;border:0!important;padding:0!important;font-size:13.5px;font-weight:400;overflow:visible;white-space:normal;height:auto}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>[data-l]::before{content:attr(data-l);font-size:11px;font-weight:500;color:var(--muted);letter-spacing:.01em}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>:first-child,
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head):has(>:first-child>input[type=checkbox])>:nth-child(2){grid-column:1/-1;font-size:16px;font-weight:600;flex-direction:row;align-items:center;padding-inline-end:56px!important}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>:first-child::before,
  body.rows-tall.fl-on .page.on .wk-t1 .wk-r1:not(.head):has(>:first-child>input[type=checkbox])>:nth-child(2)::before{display:none}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>:is(:empty,[hidden]){display:none!important}
  /* a cell with no column name (a lone button: take off, Open, Set up) sits top right */
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2))>:not([data-l]):not(:first-child):last-child{position:absolute;top:10px;right:12px}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2)) :is(select.find,input.find){width:100%;max-width:100%;height:34px!important;min-height:0!important;font-size:13px;flex:none}
  body.rows-tall.fl-on .page.on :is(.wk-t1 .wk-r1:not(.head),.ct-table .ct-tr:not(.ct-head2)) b{font-weight:600}
}
/* the helper doing something: what it will do, for Confirm */
.hp-act{margin-top:12px;border-radius:14px;padding:14px;background:var(--soft);display:grid;gap:10px;font-size:14px}
.hp-act.ok{background:var(--ok-bg);color:var(--ok-ink)}.hp-act.bad{background:var(--bad-bg);color:var(--bad-ink)}
.hp-act p{margin:0;line-height:1.45}.hp-act dl{display:grid;grid-template-columns:auto 1fr;gap:6px 12px;margin:0}
.hp-act dt{color:var(--muted);font-size:12.5px}.hp-act dd{margin:0;min-width:0;overflow-wrap:anywhere}
.hp-act .hp-do{display:flex;flex-wrap:wrap;gap:6px}.hp-warn{color:var(--warn);font-size:12.5px}
.hp-choices{display:flex;flex-wrap:wrap;gap:6px}
/* Circle, the helper: a chat */
.hp-chat .hp-b{display:flex;flex-direction:column;min-height:calc(100% - 50px)}
.hc-log{display:grid;gap:12px;align-content:start;flex:1;padding-bottom:8px}
.hc-m{display:flex;gap:8px;align-items:flex-start;max-width:100%;font-size:14px;line-height:1.45;animation:popIn .18s ease-out}
.hc-m.me{justify-self:end;max-width:85%;background:var(--ink);color:var(--bg);padding:9px 13px;border-radius:16px 16px 4px 16px;white-space:pre-wrap;overflow-wrap:anywhere}
.hc-m.bot>div{background:var(--soft);padding:10px 13px;border-radius:4px 16px 16px 16px;display:grid;gap:8px;min-width:0;max-width:92%}
.hc-m.bot.ok>div{background:var(--ok-bg);color:var(--ok-ink)}.hc-m.bot.bad>div{background:var(--bad-bg);color:var(--bad-ink)}
.hc-m p{margin:0}.hc-m p+p,.hc-m p+.hc-ul,.hc-m .hc-ul+p{margin-top:8px}.hc-m .hc-ul{margin:6px 0 0;padding-inline-start:18px;display:grid;gap:3px}.hc-m ol{margin:0;padding-inline-start:18px;display:grid;gap:4px}
.hc-av{width:26px;height:26px;flex:none;color:var(--ink);margin-top:2px}
.hc-card{background:var(--bg);border-radius:12px;padding:12px;display:grid;gap:8px;box-shadow:0 0 0 1px var(--line) inset;color:var(--ink)}
.hc-card dl{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;margin:0;font-size:13.5px}.hc-card dt{color:var(--muted)}.hc-card dd{margin:0;min-width:0;overflow-wrap:anywhere}
.hc-card small{color:var(--muted);font-size:12.5px}.hc-card .hp-warn{color:var(--warn)}
/* Kasper's form card: several things asked at once (help.js formHtml) */
.hc-form .hc-f{display:grid;gap:6px}.hc-form .hc-f[hidden]{display:none}.hc-form .hc-f>span,.hc-form .hc-f label>span{font-size:12.5px;color:var(--muted)}
.hc-form .hc-f label{display:grid;gap:6px}.hc-form .hc-f .find{width:100%;box-sizing:border-box}
.hc-opts{display:flex;flex-wrap:wrap;gap:6px}.hc-opt{position:relative;cursor:pointer}.hc-opt input{position:absolute;opacity:0;pointer-events:none}
.hc-opt span{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border-radius:999px;box-shadow:0 0 0 1px var(--line) inset;font-size:13.5px}
html body .hc-opt input:checked+span:not(#_){background:var(--primary)!important;color:var(--on-primary)!important;box-shadow:none}.hc-opt input:focus-visible+span{outline:2px solid var(--focus,currentColor);outline-offset:2px}
.hc-quick{display:flex;flex-wrap:wrap;gap:6px}.hc-quick .btn-s{min-height:28px;padding:0 10px;font-size:12.5px}html body .hc-quick .btn-s.on:not(#_){background:var(--primary)!important;color:var(--on-primary)!important;border-color:transparent!important}
.hc-do,.hc-ch{display:flex;flex-wrap:wrap;gap:6px}.hc-ch .btn-s{text-decoration:none}
/* kept conversations (/api/kchat) */
.hc-top{display:flex;gap:6px;justify-content:flex-end;margin-bottom:10px}
/* pinned to the top of Kasper's panel, like the message box to the bottom: New chat, From an email and Earlier chats stay in reach in a long
   conversation (Rami, 22 October 2026: "they are all the way on the top of the conversation... annoying to scroll up") */
.sp-b .hc-top{position:sticky;top:-16px;z-index:3;margin:-16px -18px 10px;padding:10px 18px;background:var(--panel, var(--bg));border-bottom:1px solid var(--line)}
html body .sp .sp-b :is(.hc-top,.hc-in):not(#_){max-width:none} /* edge to edge: the panel's "nothing wider than the panel" rule cut both bars short of the right edge */.hc-was{display:block;color:var(--muted);font-size:12.5px;margin-top:4px}
.hc-past{display:grid;gap:6px}.hc-past button{display:grid;gap:2px;text-align:start;padding:10px 12px;border-radius:10px;border:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer}.hc-past button:hover{background:var(--panel)}.hc-past small{color:var(--muted);font-weight:400}
.hc-in{position:sticky;bottom:-24px;margin:0 -18px -24px;padding:10px 18px calc(14px + env(safe-area-inset-bottom,0px));background:var(--panel, var(--bg));display:flex;gap:8px;align-items:flex-end;border-top:1px solid var(--line)}
.hc-in textarea{flex:1;resize:none;min-height:42px;max-height:140px;font-size:15px;line-height:1.4;padding:10px 12px;border-radius:14px}
.hc-in .btn-s{height:42px}
/* talking to Kasper (public/kvoice.js): the mic beside Send; red and pulsing while it listens; the read-aloud switch in the top bar */
.hc-in .hc-mic{width:42px;padding:0;display:inline-grid;place-items:center;flex:none}
.hc-in .hc-mic.rec{background:var(--bad);border-color:var(--bad);color:#fff;animation:hcmic 1.2s ease-in-out infinite}
@keyframes hcmic{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--bad) 45%,transparent)}50%{box-shadow:0 0 0 7px color-mix(in srgb,var(--bad) 0%,transparent)}}
.hc-top .hc-spk.on{border-color:var(--ink);font-weight:600}
.hc-top .hc-spk{display:inline-flex;gap:6px;align-items:center}@media(max-width:600px){.hc-top .hc-spk-t{display:none}.hc-top .hc-spk{padding-inline:10px}} /* a phone: the speaker only, so From an email and New chat fit */
/* Kasper pops up: a bob, and what he says can be tapped to talk to him */
.pal.peek .pal-btn{animation:kpeek .9s cubic-bezier(.3,1.6,.5,1)}
@keyframes kpeek{0%{transform:translateY(70px) scale(.6);opacity:0}55%{transform:translateY(-10px) scale(1.06);opacity:1}100%{transform:none}}
.pal-say.tap{cursor:pointer}.pal-say.tap:hover{filter:brightness(1.08)}
@media(prefers-reduced-motion:reduce){.pal.peek .pal-btn{animation:none}}
@media(max-width:860px){
  .pal-say.tap:not([hidden]){display:block!important;position:fixed;top:calc(56px + env(safe-area-inset-top,0px));right:14px;max-width:min(280px,calc(100vw - 28px));margin:0;border-radius:14px 4px 14px 14px;box-shadow:0 10px 30px rgba(0,0,0,.18);z-index:42}
  .pal.peek .pal-btn{animation:kpeekm .9s cubic-bezier(.3,1.6,.5,1)}
}
@keyframes kpeekm{0%{transform:translateY(-40px) scale(.6);opacity:0}55%{transform:translateY(4px) scale(1.1);opacity:1}100%{transform:none}}
/* Kasper's moves (HubFun.act): he hops, wiggles, waves, looks around, peeks, spins; he notices you come close and leans your way */
.buddy.hop .body{transform-origin:50% 100%;animation:kHop .7s cubic-bezier(.3,1.4,.5,1)}
@keyframes kHop{0%{transform:none}18%{transform:scale(1.08,.88)}45%{transform:translateY(-16px) scale(.95,1.06)}70%{transform:translateY(0) scale(1.06,.93)}85%{transform:scale(.98,1.02)}100%{transform:none}}
.buddy.squish .body{transform-origin:50% 100%;animation:kSquish .45s cubic-bezier(.3,1.6,.5,1)}
@keyframes kSquish{0%{transform:none}30%{transform:scale(1.14,.82)}65%{transform:scale(.94,1.08)}100%{transform:none}}
.buddy.wiggle .body{animation:kWiggle .8s ease-in-out}
@keyframes kWiggle{0%,100%{transform:none}20%{transform:rotate(-8deg)}40%{transform:rotate(7deg)}60%{transform:rotate(-5deg)}80%{transform:rotate(3deg)}}
.buddy.wave .body{transform-origin:50% 100%;animation:kWave 1.2s ease-in-out}
@keyframes kWave{0%,100%{transform:none}15%{transform:rotate(-11deg)}35%{transform:rotate(9deg)}55%{transform:rotate(-8deg)}75%{transform:rotate(5deg)}}
.buddy.spin .body{animation:kSpin .9s cubic-bezier(.5,0,.3,1.3)}
@keyframes kSpin{to{transform:rotate(360deg)}}
.buddy.wow .eye{animation:kWow .9s ease-out}
@keyframes kWow{0%,100%{transform:none}25%,60%{transform:scale(1.22,1.3)}}
.buddy.look-l .eye{animation:kLookL 1.1s ease-in-out}.buddy.look-r .eye{animation:kLookR 1.1s ease-in-out}
@keyframes kLookL{0%,100%{transform:none}25%,75%{transform:translateX(-7px)}}
@keyframes kLookR{0%,100%{transform:none}25%,75%{transform:translateX(7px)}}
.buddy.peekaboo .eye{animation:kPeekaboo 1.3s ease-in-out}
@keyframes kPeekaboo{0%,100%{transform:none}15%,55%{transform:scaleY(.08)}70%{transform:scale(1.15,1.25)}}
.buddy.lean-l .body{transform:rotate(-6deg)}.buddy.lean-r .body{transform:rotate(6deg)}
@media(prefers-reduced-motion:reduce){.buddy.hop .body,.buddy.squish .body,.buddy.wiggle .body,.buddy.wave .body,.buddy.spin .body{animation:none}}
/* the chat: a live Kasper while he works */
.hc-live{display:flex;align-items:center;gap:10px}.hc-live .buddy{width:34px;height:34px;flex:none;cursor:default}
.hc-kb{display:inline-flex}.hc-kb .buddy{width:26px;height:26px;cursor:default}.hc-kb .buddy .acc{display:none!important}
/* Kasper while you wait (fun.js turns every "Loading…" into him; #boot is the first start) */
.k-host{display:block!important}
.k-load{display:flex;flex-direction:column;align-items:center;gap:6px;padding:26px 0;color:var(--muted);font-size:13px;opacity:0;animation:kLoadIn .3s .25s ease-out forwards}
.k-load .buddy{width:46px;height:46px;cursor:default;overflow:visible;animation:kBob .9s ease-in-out infinite}
.k-load .buddy .acc{display:none!important}
.k-load .eyes{animation:scan .9s ease-in-out infinite alternate}
.k-load .k-shadow{display:block;width:30px;height:5px;margin-top:-2px;border-radius:50%;background:var(--ink);opacity:.12;animation:kShadow .9s ease-in-out infinite}
@keyframes kLoadIn{to{opacity:1}}
@keyframes kBob{0%,100%{transform:translateY(0) scale(1.03,.97)}50%{transform:translateY(-9px) scale(.98,1.02)}}
@keyframes kShadow{0%,100%{transform:scaleX(1);opacity:.14}50%{transform:scaleX(.65);opacity:.07}}
.boot{position:fixed;inset:0;display:grid;place-items:center;background:var(--bg);z-index:5}
.boot[hidden]{display:none}
.boot .k-load{animation-delay:.15s}.boot .buddy{width:84px;height:84px}.boot .k-shadow{width:54px;height:8px}
@media(prefers-reduced-motion:reduce){.k-load .buddy,.k-load .k-shadow{animation:none}}
/* Home's box → Kasper's chat: the words fly in (help.js), the chat rises a little slower and, on a phone, almost to the top */
.hc-fly{position:fixed;z-index:70;margin:0;pointer-events:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transform-origin:0 0;box-sizing:border-box}
.hc-fly.on{overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}
.sp.sp-rise{transition-duration:.42s;transition-timing-function:cubic-bezier(.2,.9,.25,1)}
@media(max-width:860px){.sp.sp-tall{max-height:none;top:calc(env(safe-area-inset-top,0px) + 14px)}}
/* Kasper's chat fills the panel: the box sits at the bottom and the talk stacks up above it, like a chat app */
.sp-b:has(> .hp-chat){display:flex;flex-direction:column}
.sp-b > .hp-chat{flex:1;display:flex;flex-direction:column;gap:16px}
.sp-b > .hp-chat .hp-b{flex:1;min-height:0}
.sp-b > .hp-chat .hc-log{align-content:end}
/* ===== Home: the morning brief (app.js renderBrief). A black welcome panel with Circle's one soft glow (the aurora), Kasper and the
   day's sentence, and the things that need you as numbered cards to swipe through; then up next, a few numbers, today's schedule. ===== */
:root{--aurora:radial-gradient(60% 85% at 6% 120%,rgba(118,50,255,.95),transparent 70%),radial-gradient(48% 80% at 36% 125%,rgba(228,30,160,.82),transparent 70%),radial-gradient(42% 70% at 64% 122%,rgba(255,84,70,.66),transparent 70%),radial-gradient(55% 85% at 100% 118%,rgba(36,100,255,.92),transparent 70%),radial-gradient(120% 95% at 50% 140%,rgba(46,26,170,.95),transparent 75%),#050507}
.stage.briefed>.buddy,.stage.briefed>.say,.stage.briefed>.status{display:none}
.stage.briefed{max-width:none;margin:0;align-items:stretch;padding-top:0}
#p-home .stage.briefed,#p-home .stage.briefed~.drawers{max-width:none}
.stage.briefed .ask{max-width:none;width:100%;margin-top:4px}
.bf-date{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 4px 8px}
.today.is-brief{display:block;margin:0 0 14px;width:100%}
.bf{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:10px;text-align:start}
/* the welcome panel */
.bf-hero{position:relative;isolation:isolate;background:var(--aurora);color:#fff;border-radius:20px;padding:20px 0 20px 22px;display:grid;grid-template-columns:minmax(240px,30%) minmax(0,1fr);gap:18px;align-items:center;overflow:hidden}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-hero{padding:20px 22px 20px 0}
.bf-hi{display:grid;gap:10px;align-content:center;justify-items:start;padding-inline-end:4px}
.bf .bf-k .buddy{width:58px;height:58px;--mark:#fff;--eye:#050507;cursor:default}
.bf-hi>small{font-size:14px;color:rgba(255,255,255,.7)}
.bf-hi h2{margin:0;font-family:Archivo,sans-serif;font-weight:500;font-size:clamp(24px,2.6vw,32px);line-height:1.15;letter-spacing:-.02em}
.bf-prog{display:grid;gap:6px;width:min(100%,260px)}.bf-prog>span{height:6px;border-radius:9px;background:rgba(255,255,255,.14);overflow:hidden}.bf-prog i{display:block;height:100%;border-radius:9px;background:#fff;transition:width .6s}
.bf-prog small{font-size:12.5px;color:rgba(255,255,255,.65)}
.bf-all{margin-top:4px;display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 18px;border-radius:999px;background:#fff;color:#111;font-weight:700;font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;text-decoration:none}
/* the deck: frosted cards the glow shows through; the first, where to start, plain white */
.bf-deck{display:grid;grid-auto-flow:column;grid-auto-columns:196px;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 22px 4px 2px;scroll-padding-inline-start:2px;outline:0;overscroll-behavior-x:contain}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-deck{padding:4px 2px 4px 22px}
.bf-deck::-webkit-scrollbar{display:none}
.bf-card{scroll-snap-align:start;display:flex;flex-direction:column;gap:8px;min-height:214px;padding:14px;border-radius:16px;color:#fff;text-decoration:none;background:rgba(255,255,255,.07);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);box-shadow:0 0 0 1px rgba(255,255,255,.1) inset;transition:transform .25s cubic-bezier(.2,.9,.3,1)}
.bf-card:hover{transform:translateY(-4px)}
.bf-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.bf-top small{font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums}
.bf-card .bf-tag{font-style:normal;font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;background:transparent;box-shadow:0 0 0 1.2px rgba(255,255,255,.55) inset;color:#fff}
.bf-card.k-overdue .bf-tag{background:#fff;color:#0c0c0c;box-shadow:none}
.bf-ic svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-top:4px}
.bf-ti{font-family:Archivo,sans-serif;font-weight:600;font-size:17px;line-height:1.22;letter-spacing:-.01em}
.bf-why{font-size:12.5px;line-height:1.4;opacity:.7}
.bf-act{margin-top:auto;align-self:flex-start;display:inline-flex;align-items:center;gap:3px;height:34px;padding:0 12px 0 14px;border-radius:999px;background:#fff;color:#0c0c0c;font-weight:600;font-size:13px}
.bf-act svg,.bf-arr svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.bf-deck>.bf-card.first{background:#fff;color:#0c0c0c;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 18px 40px rgba(0,0,0,.35)}
.bf-deck>.bf-card.first .bf-tag{box-shadow:0 0 0 1.2px #0c0c0c inset;color:#0c0c0c}
.bf-deck>.bf-card.first.k-overdue .bf-tag{background:#0c0c0c;color:#fff;box-shadow:none}
.bf-deck>.bf-card.first .bf-act{background:#0c0c0c;color:#fff}
.bf-card.k-done{background:rgba(255,255,255,.03);color:rgba(255,255,255,.45)}.bf-card.k-done .bf-ti{text-decoration:line-through;text-decoration-thickness:1.5px}
.bf-card.k-done .bf-tag{box-shadow:0 0 0 1px rgba(255,255,255,.2) inset;color:inherit}
.bf-dk{position:relative;min-width:0}
/* a card cut off at the edge fades into the dark hero; the fade also keeps the frosted blur from pulling in the page beyond the hero (the white smear) */
.bf-dk .bf-deck{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 64px),transparent)}
.bf-dk.can-back .bf-deck{-webkit-mask-image:linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(to right,transparent,#000 48px,#000 calc(100% - 64px),transparent)}
.bf-dk:not(.can-go):not(.can-back) .bf-deck{-webkit-mask-image:none;mask-image:none}
.bf-dk.can-back:not(.can-go) .bf-deck{-webkit-mask-image:linear-gradient(to right,transparent,#000 48px);mask-image:linear-gradient(to right,transparent,#000 48px)}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-dk .bf-deck{-webkit-mask-image:linear-gradient(to left,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(to left,#000 calc(100% - 64px),transparent)}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-dk.can-back .bf-deck{-webkit-mask-image:linear-gradient(to left,transparent,#000 48px,#000 calc(100% - 64px),transparent);mask-image:linear-gradient(to left,transparent,#000 48px,#000 calc(100% - 64px),transparent)}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-dk:not(.can-go):not(.can-back) .bf-deck{-webkit-mask-image:none;mask-image:none}
:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-dk.can-back:not(.can-go) .bf-deck{-webkit-mask-image:linear-gradient(to left,transparent,#000 48px);mask-image:linear-gradient(to left,transparent,#000 48px)}
.bf-arr{position:absolute;top:50%;z-index:2;width:36px;height:36px;margin-top:-18px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;color:#fff;
  background:rgba(20,20,26,.55);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 0 0 1px rgba(255,255,255,.14) inset;opacity:0;pointer-events:none;transition:opacity .2s,background .2s}
.bf-arr:hover{background:#fff;color:#0c0c0c}
.bf-arr.prev{inset-inline-start:8px}.bf-arr.next{inset-inline-end:14px}
@media(hover:hover){.bf-dk.can-back .bf-arr.prev,.bf-dk.can-go .bf-arr.next{opacity:1;pointer-events:auto}}
/* up next, the numbers, today, the team */
.bf-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:10px;align-items:stretch}
.bf-row:has(> .bf-tiles:only-child){grid-template-columns:1fr}
.bf-next{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#0b0b0c;color:#fff;border-radius:16px;padding:14px 16px;text-decoration:none;box-shadow:0 16px 36px rgba(0,0,0,.18)}
.bf-next span{display:grid;gap:2px;min-width:0}.bf-next small{font-size:12.5px;color:rgba(255,255,255,.6)}.bf-next b{font-size:17px;font-weight:600}.bf-next em{font-style:normal;font-size:14px;color:rgba(255,255,255,.8)}
.bf-next i{font-style:normal;flex:none;background:#fff;color:#0c0c0c;font-weight:700;font-size:13.5px;padding:10px 16px;border-radius:12px}
.bf-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.bf-tile{display:grid;align-content:space-between;gap:10px;background:var(--bg);border:0;border-radius:16px;padding:14px;color:var(--ink);text-decoration:none;font:inherit;text-align:start;cursor:pointer;box-shadow:var(--shadow-card)}
.bf-tile b{font-family:Archivo,sans-serif;font-weight:400;font-size:30px;letter-spacing:-.02em;line-height:1}.bf-tile span{font-size:12.5px;color:var(--muted);line-height:1.3}
.bf-tile:hover{box-shadow:0 0 0 1.5px var(--ink) inset}
.bf-row2{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:10px}
.bf-row2:has(> :only-child){grid-template-columns:1fr}
.bf-today,.bf-teamc{background:var(--bg);border-radius:16px;padding:14px 16px;box-shadow:var(--shadow-card);color:var(--ink);text-decoration:none;display:grid;gap:12px;align-content:start}
.bf-today h3,.bf-teamc h3{margin:0;font-family:Archivo,sans-serif;font-weight:500;font-size:17px}
.bf-today ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.bf-today li{display:grid;grid-template-columns:56px minmax(0,1fr);gap:10px;align-items:center;padding:7px 10px;border-radius:12px}
.bf-today li.shoot,.bf-today li.meeting{background:var(--panel)}.bf-today li.off{color:var(--muted)}
.bf-today time{font-weight:700;font-size:14px;font-variant-numeric:tabular-nums}.bf-today span{display:grid;min-width:0}.bf-today b{font-weight:500;font-size:14px}.bf-today small{font-size:12px;color:var(--muted)}
.bf-teamc p{margin:0;font-size:14.5px;line-height:1.45}.bf-teamc span{font-size:13px;font-weight:600}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]) .bf-hero{box-shadow:0 0 0 1px rgba(255,255,255,.07) inset}:root:not([data-theme=light]) .bf-next{background:#161618;box-shadow:none}}
:root[data-theme=dark] .bf-hero{box-shadow:0 0 0 1px rgba(255,255,255,.07) inset}:root[data-theme=dark] .bf-next{background:#161618;box-shadow:none}
@media(max-width:860px){
  .bf-hero{grid-template-columns:minmax(0,1fr);padding:22px 0 20px 20px;gap:18px;border-radius:24px}:is(.bf[dir=rtl],[dir=rtl] .bf) .bf-hero{padding:22px 20px 20px 0}
  .bf-deck{grid-auto-columns:72%;padding-inline-end:20px}
  .bf .bf-k .buddy{width:46px;height:46px}
  .bf-row,.bf-row2{grid-template-columns:1fr}
  .bf-arr{display:none}
}
@media(max-width:860px){.stage.briefed{padding-top:6px}.bf-hi h2{font-size:25px}.bf-card{min-height:220px}.bf-tile b{font-size:26px}}
@media(prefers-reduced-motion:reduce){.bf-card{transition:none}.bf-card:hover{transform:none}}
/* Home on a phone: the brief greets you, so no top bar (no second greeting, name, account or search); the date is a small line in the panel */
.bf-hi>small.bf-day{font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.5);margin-bottom:-6px}
@media(max-width:860px){
  body.on-home .mhead{display:none!important}
  body.on-home main{padding-top:max(12px,env(safe-area-inset-top))!important}
}
/* Home while the brief loads: the panel is there from the first frame, its lines and cards softly pulsing */
.bf-skel .sk{display:block;height:14px;border-radius:8px;background:rgba(255,255,255,.12);animation:skPulse 1.2s ease-in-out infinite}
.bf-skel .sk.big{height:28px;border-radius:10px}
.bf-skel .sk-card{min-height:214px;animation:skPulse 1.2s ease-in-out infinite}
@keyframes skPulse{50%{opacity:.45}}
@media(prefers-reduced-motion:reduce){.bf-skel .sk,.bf-skel .sk-card{animation:none}}
/* Home on a phone: the welcome panel runs edge to edge (no gap at the top, left or right), its bottom corners rounded */
@media(max-width:860px){
  body.on-home main{padding-top:0!important}
  body.on-home .stage.briefed{padding-top:0}
  body.on-home .bf-hero{margin:0 -16px;border-radius:0 0 26px 26px;padding-top:calc(env(safe-area-inset-top,0px) + 18px)}
  body.on-home :is(.bf[dir=rtl],[dir=rtl] .bf) .bf-hero{padding-top:calc(env(safe-area-inset-top,0px) + 18px)}
}
/* Boards: each card a live preview, drawn like Home's cards (black, a soft glow in the board's colour, white type and a white pill) */
.bv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px;margin-top:16px}
.bv-card{display:flex;flex-direction:column;gap:10px;padding:14px 14px 16px;border-radius:18px;background:var(--bg);border:1px solid var(--line);color:var(--ink);text-decoration:none;transition:transform .15s ease,box-shadow .15s ease}
.bv-card:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.bv-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.07)}
.bv-top{display:flex;align-items:center;gap:10px}
.bv-ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--bd) 14%,transparent);flex:none}
.bv-ic svg{width:17px;height:17px;fill:none;stroke:var(--bd);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bv-top b{font-size:15px;font-weight:600;flex:1}
.bv-need{font-style:normal;font-size:11px;font-weight:600;padding:3px 8px;border-radius:999px;background:var(--ink);color:var(--bg);white-space:nowrap}
.bv-big{display:flex;align-items:baseline;gap:7px}
.bv-big b{font-family:Archivo,sans-serif;font-weight:500;font-size:30px;line-height:1;letter-spacing:-.03em}
.bv-big small{font-size:13px;color:var(--muted)}
.bv-line{font-size:12.5px;color:var(--muted);margin-top:-5px}
.bv-bar{display:flex;gap:3px;height:6px}.bv-bar i{border-radius:3px;background:var(--bd);opacity:var(--o,1)}
.bv-dots{display:flex;gap:4px;flex-wrap:wrap}.bv-dots i{width:9px;height:9px;border-radius:50%;background:color-mix(in srgb,var(--bd) 18%,transparent)}.bv-dots i.on{background:var(--bd)}.bv-dots i.mid{background:color-mix(in srgb,var(--bd) 50%,transparent)}.bv-dots i.stuck{background:#e5484d}
.bv-week{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
.bv-week span{display:grid;justify-items:center;gap:3px;padding:4px 0;border-radius:8px;font-size:11px;color:var(--muted)}
.bv-week i{width:6px;height:6px;border-radius:50%;background:var(--bd)}.bv-week i.no{background:transparent}
.bv-week .is-today{color:var(--ink);font-weight:600;background:color-mix(in srgb,var(--bd) 12%,transparent)}
@media(max-width:860px){.bv-grid{grid-template-columns:1fr;gap:8px}.bv-big b{font-size:26px}}
@media(prefers-reduced-motion:reduce){.bv-card{transition:none}.bv-card:hover{transform:none}}
/* ===== The Circle look across the Hub : the glow only on hero moments; everywhere else, labels, titles, corners ===== */
/* page titles: a small label above, a bigger, tighter title */
.bk-h{flex-wrap:wrap}.bk-eye{flex-basis:100%;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin-bottom:-6px}
.bk-h .h1,#p-tm h1,#p-rp h1,#p-pf h1{font-weight:500;letter-spacing:-.035em}
/* softer corners everywhere */
.card,.bk-g,.wk-item.card{border-radius:22px}.sp{border-radius:26px}
@media(max-width:860px){.sp{border-radius:24px 24px 0 0}}
/* sign-in and the first start: black, Kasper, the glow rising behind him */
.signin,.boot{background:var(--aurora);color:#fff}
.signin .buddy,.boot .buddy{--mark:#fff;--eye:#050507}
.signin .say{color:#fff}.signin .fine{color:rgba(255,255,255,.65)}
.signin .gbtn{background:#fff;color:#111;border-radius:999px}
.boot .k-txt{color:rgba(255,255,255,.75)}.boot .k-shadow{background:#fff}
/* Kasper's chat: his header glows */
.sp:has(.hp-panel)>.sp-h{background:var(--aurora);background-size:100% 260%;background-position:0 100%;color:#fff;border-bottom:0;border-radius:inherit;border-bottom-left-radius:0;border-bottom-right-radius:0}
.sp:has(.hp-panel)>.sp-h small{color:rgba(255,255,255,.7)}.sp:has(.hp-panel)>.sp-h .sp-x{color:#fff;background:rgba(255,255,255,.12)}
/* second-level pages (a client, a client's month, a branding project, a shoot): one header with Circle's glow, the full width of
   the page. Only the name and where it stands live in it; tabs and buttons sit under it, on the page. */
.ct-hd,.hero{background:var(--aurora);background-size:100% 230%;background-position:0 100%;color:#fff;border-radius:26px;padding:20px 24px 16px;margin-bottom:12px;width:100%;box-sizing:border-box}
.ct-hd .ct-crumb,.ct-hd .ct-crumb a,.hero .ct-crumb,.hero .ct-crumb a{color:rgba(255,255,255,.6)}
.ct-hd .ct-crumb span,.hero .ct-crumb span{color:#fff}
.ct-hd h1,.hero h1{color:#fff}
.ct-hd .cav{background:#fff;color:#111}
.ct-hd .am-btn,.ct-hd .ck-pill{background:rgba(255,255,255,.12);color:#fff;border-color:transparent}
.hero .sd-head{margin:0}
.hero .wk-title{color:#fff;background:transparent}.hero .wk-title::placeholder{color:rgba(255,255,255,.5)}
.hero .wk-title:hover,.hero .wk-title:focus{background:rgba(255,255,255,.08)}
.hero .br-cl{color:rgba(255,255,255,.72)}.hero .br-cl:not(.none):hover{color:#fff}
.hero .br-status,.hero .br-status small{color:rgba(255,255,255,.75)}.hero .br-status b{color:#fff}
.hero-acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
/* the month page: the header takes the whole row; Checks, Export, Share and Publish go under it, on the right */
.ed-top>.ct-hd{flex:1 1 100%;margin-bottom:0}
.ed-top>.ed-right{margin-inline-start:auto}
@media(max-width:860px){.ct-hd,.hero{border-radius:22px;padding:16px 16px 12px}}
/* ===== Shell, after the reference: a dark navigation panel and a white work area floating on soft grey; no outlines anywhere,
   shapes told apart by tints (light-grey cards on white, white rows inside them) and corners that nest ===== */
:root:not([data-theme=dark]){--page:#e9e9ec;--sheet:#fff;--bg:#f4f4f6;--panel:#fff;--soft:#ececef;--line:#ececef;--line-2:#e0e0e4;--shadow-card:none}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--page:#000;--sheet:#0f0f11;--bg:#18181b;--panel:#222226;--soft:#26262a;--line:#232327;--line-2:#2e2e33;--shadow-card:none}}
:root[data-theme=dark]{--page:#000;--sheet:#0f0f11;--bg:#18181b;--panel:#222226;--soft:#26262a;--line:#232327;--line-2:#2e2e33;--shadow-card:none}
@media(min-width:861px){
  body{background:var(--page)}
  .app{grid-template-columns:248px 1fr}
  /* the menu follows light or dark mode: the same sheet as the work area, the chosen page an ink pill */
  .app>aside{background:var(--sheet);color:var(--ink);margin:10px;border-radius:26px;padding:20px 14px;position:sticky;top:10px;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 20px);overflow-y:auto;scrollbar-width:none}
  aside .logo{color:var(--ink)}
  aside .nav a,aside .nav-more,aside .theme{color:var(--muted)}
  aside .nav a:hover,aside .nav-more:hover,aside .theme:hover{background:var(--bg);color:var(--ink)}
  aside .nav a.on{background:var(--ink);color:var(--sheet);font-weight:600}
  aside .nav a.on svg{stroke:var(--sheet)}
  aside .nav a span{background:var(--bg);color:var(--ink)}
  aside .nav a.on span{background:color-mix(in srgb,var(--sheet) 20%,transparent);color:var(--sheet)}
  aside .nav-in{position:relative;margin-inline-start:22px;padding-inline-start:10px;border-inline-start:1px solid var(--line-2)}
  aside .me{background:var(--bg);border-radius:18px;color:var(--ink)}aside .me small{color:var(--muted)}
  aside [class*=size] button,aside .sz button{color:var(--muted)}
  main{background:var(--sheet)!important;border:0!important;border-radius:28px!important;margin:10px 10px 10px 0!important;box-shadow:0 10px 40px rgba(0,0,0,.05)}
}
/* the Ask Kasper card at the foot of the menu, with Circle's glow (desktop only) */
.side-k{display:none}
@media(min-width:861px){
  .side-k{display:grid;gap:4px;justify-items:start;text-align:start;margin:14px 2px 8px;padding:16px;border:0;border-radius:20px;color:#fff;font:inherit;cursor:pointer;
    background:radial-gradient(70% 90% at 0% 120%,rgba(118,50,255,.9),transparent 70%),radial-gradient(60% 80% at 60% 125%,rgba(228,30,160,.7),transparent 70%),radial-gradient(70% 90% at 110% 110%,rgba(36,100,255,.85),transparent 70%),#16161b}
  .side-k-b .buddy{width:34px;height:34px;--mark:#fff;--eye:#16161b;cursor:pointer}
  .side-k b{font-size:15px;margin-top:6px}.side-k small{font-size:12.5px;line-height:1.35;color:rgba(255,255,255,.72)}
  .side-k em{font-style:normal;margin-top:8px;font-size:12.5px;font-weight:600;background:rgba(255,255,255,.14);padding:6px 12px;border-radius:10px}
  .side-k:hover em{background:#fff;color:#111}
}
/* segmented tabs: a soft grey track, the chosen one a white pill with a soft shadow */
.wk-sbar{border:0!important;background:var(--soft);padding:3px;border-radius:12px!important;gap:2px}
.wk-sbar button,.wk-sbar span{border:0!important;border-radius:9px;padding:6px 13px}
.wk-sbar .on{background:var(--sheet)!important;color:var(--ink)!important;box-shadow:0 1px 3px rgba(0,0,0,.08),0 4px 12px rgba(0,0,0,.05)}
/* list headers: small capitals, like the reference's table */
.ct-head2{text-transform:uppercase;letter-spacing:.08em;font-size:11px!important;font-weight:600}
/* cards: no outlines, no lines, just the tint */
main .card,main .bk-g,main .ov-card{border:0!important;box-shadow:none!important}
@media(min-width:861px){
  .app>aside{box-sizing:border-box;width:auto;min-width:0;overflow-x:hidden}
  aside .nav a.on{box-shadow:none}
  aside .nav,aside .nav-in{margin-inline-end:0}
  .side-k{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px 14px;margin:12px 0 8px}
  .side-k small{display:none}.side-k b{margin:0;font-size:14px}.side-k em{margin:0;padding:5px 10px}
  .side-k-b .buddy{width:28px;height:28px}
}
@media(min-width:861px){
  aside .nav a,aside .nav-more{margin-inline-end:8px!important}
  .side-k b,.side-k em{white-space:nowrap}
  /* the whole card opens the chat, so no separate "Chat" pill (it did not fit) */
  .side-k{box-sizing:border-box;width:calc(100% - 4px);grid-template-columns:auto minmax(0,1fr)}.side-k em{display:none}
}
@media(min-width:861px){
  aside .nav a.on{border:0!important;border-radius:999px!important;margin-inline-end:8px!important;padding-inline-end:16px!important}
  aside .nav a.on::before,aside .nav a.on::after{display:none!important}
}
/* ===== Tight, after the reference: small even gaps to the edges, less padding, the whole width used (desktop) ===== */
@media(min-width:861px){
  .app{grid-template-columns:232px 1fr}
  .app>aside{margin:8px;border-radius:22px;padding:14px 10px;top:8px;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 16px)}
  aside .logo{padding:2px 8px 10px;font-size:15px}
  aside .nav{gap:2px}
  aside .nav a,aside .nav-more{min-height:34px;padding:7px 12px;font-size:13.5px;margin-inline-end:4px!important}
  aside .nav-more{margin-top:6px}
  aside .nav-in{margin-inline-start:18px;padding-inline-start:8px}
  aside .me{padding:8px 10px;border-radius:14px}
  .side-k{margin:8px 0 6px;padding:10px 12px;border-radius:16px}
  main{margin:8px 8px 8px 0!important;border-radius:22px!important;padding:18px 22px 26px!important;min-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 16px)}
  /* titles: smaller, closer to their content */
  .bk-h{margin-bottom:12px;gap:4px 10px;align-items:flex-end}
  .bk-h .h1,#p-tm h1,#p-rp h1,#p-pf h1{font-size:28px!important;line-height:1.1}
  .bk-eye{font-size:10.5px;margin-bottom:0}
  .bk-new{height:36px}
  /* cards and the spaces between them */
  main .card,main .ov-card{padding:16px;border-radius:18px}
  main .bk-g{border-radius:18px}
  .ov-grid{gap:10px}
  .ct-hd,.hero{border-radius:20px;padding:16px 20px 14px;margin-bottom:10px}
  .ct-hd h1{font-size:34px}
  /* lists: tighter rows */
  .wk-sbar button,.wk-sbar span{padding:5px 12px}
}
/* ===== Form fields you can see: a filled field, a step darker (or lighter, in dark mode) than the card or page it sits on; no
   outlines. The field brightens on hover and turns to the page colour while you type in it. ===== */
:root{--field:#e7e7ec;--field-hi:#dcdce3}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--field:#2b2b31;--field-hi:#35353c}}
:root[data-theme=dark]{--field:#2b2b31;--field-hi:#35353c}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea):not(.wk-title):not(.bare):not(.ask-in input){
  background-color:var(--field)!important;border-color:transparent!important;box-shadow:none}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),select,textarea):not(.wk-title):not(.bare):not(.ask-in input):hover{background-color:var(--field-hi)!important}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),textarea):not(.wk-title):not(.bare):not(.ask-in input):focus{background-color:var(--sheet,var(--bg))!important;box-shadow:0 0 0 2px var(--ink)}
/* the Home box is one field: the box is filled, the text line inside it is not */
main .ask-in{background:var(--field)!important;box-shadow:none!important}main .ask-in input{background:transparent!important}
html body :is(input,select,textarea)::placeholder{color:var(--muted);opacity:1}
/* the searchable dropdown (pick.js) */
.pk{position:fixed;z-index:1000;display:flex;flex-direction:column;background:var(--sheet,var(--bg));color:var(--ink);border-radius:14px;box-shadow:0 16px 48px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.08);overflow:hidden}
.pk.pk-sheet{top:calc(env(safe-area-inset-top,0px) + 10px);left:10px;right:10px;max-height:min(440px,62vh);box-shadow:0 0 0 100vmax rgba(0,0,0,.38),0 16px 48px rgba(0,0,0,.3)}
.pk.pk-sheet .pk-q{font-size:16px}.pk.pk-sheet .pk-o{min-height:44px;font-size:15px;padding:11px 12px}
.pk .pk-q{margin:8px 8px 4px;padding:9px 12px;border-radius:10px;font:inherit;font-size:14px;color:var(--ink);outline:0;background:var(--field)!important}
.pk-l{overflow-y:auto;padding:2px 6px 8px;display:block;flex:1 1 auto;min-height:0}
.pk-l>*{margin-bottom:1px}
.pk .pk-q{flex:none}
.pk-o{display:block;width:100%;min-height:36px;box-sizing:border-box;flex:none;text-align:start;border:0;background:none;color:inherit;font:inherit;font-size:14px;line-height:1.35;padding:8px 10px;border-radius:9px;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pk-o:hover,.pk-o.hi{background:var(--field)}
.pk-o.on{font-weight:600}.pk-o.on::after{content:"  ✓"}
.pk-o[disabled]{opacity:.45;cursor:default}
.pk-o.pk-new{font-weight:600}
.pk-o.pk-none{color:var(--muted)}
.pk-o.pk-sug{background:color-mix(in srgb,#7a3cff 12%,transparent);font-weight:600;margin-bottom:4px;min-height:52px}
.pk-o.pk-sug small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.pk-h{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);padding:8px 10px 2px}
.pk-0{padding:10px;color:var(--muted);font-size:13.5px}
/* "Is it Nama? Use it": a client suggested from the project's or shoot's name */
.pk-tip{display:inline-block;width:fit-content;justify-self:start;align-self:flex-start;margin-top:6px;border:0;border-radius:999px;padding:5px 11px;font:inherit;font-size:12.5px;cursor:pointer;color:var(--ink);background:color-mix(in srgb,#7a3cff 12%,transparent)}
.pk-tip:hover{background:color-mix(in srgb,#7a3cff 22%,transparent)}
.br-due{display:flex;gap:6px;align-items:center}.br-due input{flex:1;min-width:0}html body .br-due .btn-s{white-space:nowrap;background:var(--field);height:40px}
html body .pk-mbtn{background:var(--field)!important;border:0!important;min-height:40px;text-align:start;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;color:var(--ink)}.pk-mbtn.empty{color:var(--muted)}
/* brand discovery: a "Full screen" for the meeting, the guide over the whole window (the menu and the rest step aside) */
.bd-wrap{position:relative}
/* the checklists above the notes, beside the brand discovery */
#bdChecks:empty{display:none}.bd-notes #bdChecks{flex:0 1 auto;display:flex;flex-direction:column;min-height:0;max-height:62%}
.bd-ck{flex:1 1 auto;display:flex;flex-direction:column;gap:6px;min-height:0;padding-bottom:12px;border-bottom:1px solid var(--line,rgba(128,128,128,.2))}
.bd-ck ul{flex:1 1 auto;min-height:0;list-style:none;margin:0;padding:0;overflow:auto;display:flex;flex-direction:column;gap:2px}.bd-ck .bd-nh,.bd-ck .bd-ckdone{flex:none}
.bd-ck li button{display:flex;gap:9px;align-items:flex-start;width:100%;border:0;background:none;padding:6px 4px;border-radius:8px;text-align:start;font:inherit;font-size:13px;line-height:1.4;color:var(--ink);cursor:pointer}.bd-ck li button:hover{background:var(--field)}
.bd-ck li button i{flex:none;width:16px;height:16px;margin-top:1px;border-radius:5px;box-shadow:inset 0 0 0 1.5px var(--muted)}.bd-ck li button[aria-pressed=true] i{background:var(--ink);box-shadow:none;position:relative}.bd-ck li button[aria-pressed=true] i::after{content:"";position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid var(--bg,#fff);border-width:0 2px 2px 0;transform:rotate(45deg)}
.bd-ck li button[aria-pressed=true] span{color:var(--muted);text-decoration:line-through}
html body .bd-ckdone{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:1px;margin-top:4px;height:auto!important;min-height:36px;padding:7px 12px!important;line-height:1.25}.bd-ckdone small{font-size:11px;color:var(--muted);font-weight:400}.bd-ckagain{border:0;background:none;padding:0 0 8px;font:inherit;font-size:12px;color:var(--muted);text-decoration:underline;cursor:pointer;text-align:start}
/* the brand strategy's notes, beside its sections */
.bs-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:16px;align-items:start}
@media(max-width:1100px){.bs-wrap{grid-template-columns:1fr}.bs-wrap .ds-notes{position:static;height:240px;min-height:0}}
/* the marketing discovery's notes: a third column, beside the questions */
.ds.has-notes{grid-template-columns:230px minmax(0,1fr) minmax(240px,300px)}
.ds-notes{position:sticky;top:calc(var(--hub-top,0px) + 16px);display:flex;flex-direction:column;gap:8px;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 150px);min-height:420px;background:var(--panel,var(--card));border-radius:12px;padding:14px}
.ds-notes textarea{flex:1;min-height:0;resize:none;border:0;border-radius:10px;background:var(--field);color:var(--ink);padding:12px;font:inherit;font-size:14px;line-height:1.55}
@media(max-width:1100px){.ds.has-notes{grid-template-columns:200px minmax(0,1fr)}.ds.has-notes .ds-notes{grid-column:1/-1;position:static;height:240px;min-height:0}}
@media(max-width:860px){.ds.has-notes{grid-template-columns:1fr}}
/* the notes beside the guide, always there as the discovery goes on (Rami, 15 October 2026) */
.bd-wrap.has-notes{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:14px;align-items:start}
.bd-wrap.has-notes>.bd-guide{grid-column:1;grid-row:1}.bd-wrap.has-notes>.bd-notes{grid-column:2;grid-row:1}.bd-wrap:not(.full)>.bd-fs-x{display:none!important}
.bd-notes{display:flex;flex-direction:column;gap:8px;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 230px);min-height:560px;background:var(--card);border-radius:16px;padding:14px}
.bd-nh{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.bd-nh b{font-size:14px}.bd-nh span{font-size:12px;color:var(--muted)}.bd-nh span.bad{color:var(--red,#d92c2c)}
.bd-notes textarea{flex:1;min-height:0;resize:none;border:0;border-radius:10px;background:var(--field);color:var(--ink);padding:12px;font:inherit;font-size:14px;line-height:1.55}
.bd-wrap.full.has-notes{gap:0;grid-template-columns:minmax(0,1fr) 340px}.bd-wrap.full .bd-notes{height:100vh;min-height:0;border-radius:0}
@media(max-width:900px){.bd-wrap.has-notes{grid-template-columns:1fr}.bd-wrap.has-notes>.bd-notes{grid-column:1;grid-row:2}.bd-notes{height:280px;min-height:0}.bd-wrap.full.has-notes{grid-template-rows:minmax(0,1fr) 200px;height:100vh}.bd-wrap.full .bd-guide{height:100%}.bd-wrap.full .bd-notes{height:auto}}
.bd-fs-x{display:none}
.bd-wrap.full{position:fixed;inset:0;z-index:900;background:var(--bg)}
.bd-wrap.full .bd-guide{height:100vh;min-height:0;border-radius:0}
.bd-wrap.full .bd-fs-x{display:inline-flex;position:absolute;bottom:16px;inset-inline-start:16px;z-index:2}
body.bd-full-on{overflow:hidden}
body.bd-full-on :is(aside,.mhead,.tabbar,.pal,#pal){display:none!important}
body.bd-full-on main{margin:0!important;transform:none!important;filter:none!important;contain:none!important}
/* undo (undo.js): a small note after a change, with Undo */
.un-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom,0px));transform:translate(-50%,20px);z-index:1200;display:flex;align-items:center;gap:12px;max-width:min(560px,calc(100vw - 32px));padding:9px 10px 9px 16px;border-radius:999px;background:var(--ink);color:var(--bg);font-size:13.5px;box-shadow:0 12px 32px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .18s,transform .18s}
.un-toast.on{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.un-toast span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.un-toast small{opacity:.6;margin-inline-start:4px}.un-toast a{color:inherit}
.un-toast button{flex:none;border:0;border-radius:999px;padding:6px 14px;font:inherit;font-weight:600;cursor:pointer;background:var(--bg);color:var(--ink)}
@media(max-width:860px){.un-toast{bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
/* the profile's Time off card */
.me-off{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:12px 0;max-width:560px;box-sizing:border-box;text-decoration:none;color:var(--ink)}
.me-off>span{display:grid;flex:1}.me-off b{font-size:16px}.me-off small{color:var(--muted)}
.me-off em{font-style:normal;font-weight:600;font-size:14px;color:var(--ink);background:var(--field);border-radius:999px;padding:5px 12px}
.me-off .mo-go{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.pf.pv{max-width:none}.pf.pv .pv-plan{overflow-x:auto}
.wk-grp{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-inline-start:10px}.wk-grp .find{min-width:0;width:auto;height:36px;padding:6px 10px}
/* uploads (upload.js): a panel in the corner, a ring per file */
.up-tray{position:fixed;right:20px;bottom:24px;z-index:1150;width:min(340px,calc(100vw - 32px));background:var(--sheet,var(--bg));color:var(--ink);border-radius:16px;box-shadow:0 16px 48px rgba(0,0,0,.22),0 2px 8px rgba(0,0,0,.08);overflow:hidden;opacity:0;transform:translateY(12px);pointer-events:none;transition:opacity .2s,transform .2s}
.up-tray.on{opacity:1;transform:none;pointer-events:auto}
.up-h{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;background:var(--field);font-size:14px}
.up-h button{border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:var(--muted)}
.up-tray ul{list-style:none;margin:0;padding:6px 8px 10px;max-height:240px;overflow-y:auto}
.up-tray li{display:flex;align-items:center;gap:10px;padding:7px 6px;font-size:13.5px}
.up-n{flex:1;min-width:0;display:grid;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.up-n small{color:var(--muted);font-size:12px}
.up-r{width:24px;height:24px;flex:none;transform:rotate(-90deg)}
.up-r circle{fill:none;stroke-width:3}.up-r .bg{stroke:var(--field)}.up-r .fg{stroke:#2f6fdf;stroke-linecap:round;transition:stroke-dasharray .2s}
.up-r .ok{fill:#2f9e5b;stroke:none}.up-r .no{fill:#e5484d;stroke:none}.up-r .tick{fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(90deg);transform-origin:12px 12px}
@media(max-width:860px){.up-tray{right:16px;bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
/* Home: routines get their own block, tinted with Circle's glow, set apart from the other blocks */
.rt-home{margin:10px 0;padding:14px 16px 16px;border-radius:20px;background:linear-gradient(120deg,color-mix(in srgb,#7a3cff 13%,var(--bg)),color-mix(in srgb,#e0349a 9%,var(--bg)) 55%,color-mix(in srgb,#2f6fdf 11%,var(--bg)))}
.rt-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}.rt-h b{font-size:16px}.rt-h small{color:var(--muted);flex:1}
.rt-pin{border:0;border-radius:999px;padding:6px 12px;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;background:color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink)}
.rt-pin.on{background:var(--ink);color:var(--bg)}
.rt-l{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.rt-i{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;gap:6px 10px;align-items:center;text-align:start;border:0;border-radius:14px;padding:11px 12px;font:inherit;color:var(--ink);cursor:pointer;background:color-mix(in srgb,var(--sheet,var(--bg)) 78%,transparent)}
.rt-i:hover{background:var(--sheet,var(--bg))}
.rt-n{display:grid;min-width:0}.rt-n b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rt-n small{color:var(--muted);font-size:12px}.rt-n em{font-style:normal;color:#e5484d;font-weight:600}
.rt-bar{grid-column:1/-1;height:5px;border-radius:9px;background:color-mix(in srgb,var(--ink) 9%,transparent);overflow:hidden}.rt-bar i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#7a3cff,#e0349a,#2f6fdf)}
.rt-go{grid-row:1;grid-column:2;font-size:12.5px;font-weight:600;border-radius:999px;padding:5px 11px;background:var(--ink);color:var(--bg)}
.rt-i.done .rt-go{background:#2f9e5b;color:#fff}.rt-i.done .rt-n b{color:var(--muted)}
.rt-i.late{box-shadow:inset 3px 0 0 #e5484d}
/* Home: the small number tiles take a light wash of the same glow */
.bf-tile{background:linear-gradient(135deg,color-mix(in srgb,#7a3cff 7%,var(--bg)),color-mix(in srgb,#2f6fdf 7%,var(--bg)))!important}
/* the routines kept on top, on every page */
.rt-pill{position:fixed;left:50%;transform:translateX(-50%);bottom:22px;z-index:70;display:inline-flex;align-items:center;gap:8px;border:0;border-radius:999px;padding:8px 14px;font:inherit;font-size:13px;cursor:pointer;color:#fff;background:linear-gradient(110deg,#5b2bd6,#b8287f 55%,#2a5fd0);box-shadow:0 10px 26px rgba(80,40,160,.3)}
.rt-pill b{font-weight:700}.rt-pill .rt-dot{width:8px;height:8px;border-radius:50%;background:#fff;opacity:.9}.rt-pill.late .rt-dot{background:#ffb4b4;box-shadow:0 0 0 3px rgba(255,120,120,.35)}
@media(max-width:860px){.rt-pill{bottom:calc(92px + env(safe-area-inset-bottom,0px))}}
body:has(#rtPill) .un-toast{bottom:76px}
@media(min-width:861px){.un-toast[style*="--un-up"]{bottom:var(--un-up)}} /* above a selection bar or the routines pill (public/undo.js lift) */
/* lists: the item's column stays put when the list scrolls sideways (lists.js) */
.lt-stick{position:sticky!important;z-index:2;background:var(--lt-bg)}
.lt-stick-end{box-shadow:6px 0 8px -6px rgba(0,0,0,.18)}
[dir=rtl] .lt-stick-end{box-shadow:-6px 0 8px -6px rgba(0,0,0,.18)}
/* a group's name stays in view too when its list scrolls sideways */
.wk-t1 .wk-gh>button:first-child{position:sticky;inset-inline-start:0;z-index:3}
/* lists edited in place: the title is the way into the item */
.sl-open{color:inherit;text-decoration:none;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sl-open:hover{text-decoration:underline;text-underline-offset:3px}
.wk-r1 .wk-in{max-width:100%}
.bk-how{width:26px;height:26px;border-radius:50%;border:0;background:var(--field);color:var(--muted);font:inherit;font-weight:700;font-size:13px;cursor:pointer;align-self:center;flex:none}.bk-how:hover{background:var(--ink);color:var(--bg)}
.sp:has(.hp-panel){padding:0;overflow:hidden}
/* Language: English or عربي, under Size */
.ui-lang{display:flex;align-items:center;gap:2px;padding:2px 10px 6px;color:var(--muted);font-size:13px}
.ui-lang span{margin-inline-end:auto;white-space:nowrap}
.ui-lang button{border:0;background:none;color:var(--muted);border-radius:7px;height:28px;padding:0 9px;cursor:pointer;font:inherit;font-weight:600}
.ui-lang button:hover{background:var(--panel);color:var(--ink)}.ui-lang button.on{background:var(--ink);color:var(--bg)}
.mo-size .ui-lang{padding:0;flex:1}
/* Arabic reads right to left: an Arabic-friendly face first, and the few parts placed by hand turn round */
html.ar body{font-family:"IBM Plex Sans Arabic","Noto Sans Arabic","Segoe UI","Geeza Pro",Tahoma,"Instrument Sans",system-ui,sans-serif}
html.ar{letter-spacing:0}
/* small things */
.sp-say{position:fixed;inset-inline-start:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;pointer-events:none;z-index:9500;display:flex;align-items:center;gap:10px;background:var(--ink);color:var(--bg);padding:10px 16px 10px 12px;border-radius:999px;font-size:14px;font-weight:500;transition:opacity .25s,transform .25s;max-width:calc(100vw - 32px)}
[dir=rtl] .sp-say{transform:translate(50%,20px)}
.sp-say.on{opacity:1;transform:translate(-50%,0)}[dir=rtl] .sp-say.on{transform:translate(50%,0)}
.sp-say svg{width:22px;height:22px;flex:none}.sp-say svg path{fill:var(--bg)}.sp-say svg .e{fill:var(--ink)}
.sp-sweep{position:fixed;inset:0;z-index:9400;pointer-events:none;background:var(--aurora);mix-blend-mode:screen;animation:spSweep 1.6s ease forwards;clip-path:circle(0% at 50% 50%)}
@keyframes spSweep{40%{clip-path:circle(75% at 50% 50%);opacity:.55}100%{clip-path:circle(150% at 50% 50%);opacity:0}}
body.sp-roll{animation:spRoll 1.2s cubic-bezier(.6,0,.3,1)}@keyframes spRoll{to{transform:rotate(360deg)}}
body.sp-pop :is(.card,.kb-card,.bf-it,.wk-row,.hm-card,.hm-ci,.bn,.mw-card,.mk-row,button){animation:spPop .6s cubic-bezier(.3,1.6,.5,1) both}
@keyframes spPop{0%{transform:scale(.85)}60%{transform:scale(1.08)}100%{transform:none}}
html.sp-disco{animation:spDisco .9s linear infinite}@keyframes spDisco{to{filter:hue-rotate(360deg)}}
.buddy.sp-dizzy .body{animation:spDizzy 2s ease-in-out}@keyframes spDizzy{0%{transform:none}50%{transform:rotate(720deg) scale(.9)}75%{transform:rotate(700deg)}100%{transform:rotate(720deg)}}
.buddy .body{transform-box:fill-box;transform-origin:center}
.sp-ring{position:fixed;left:50%;top:50%;width:120px;height:120px;margin:-60px 0 0 -60px;border:3px solid var(--ink);border-radius:50%;z-index:9400;pointer-events:none;animation:spRing 1.6s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes spRing{0%{transform:scale(.1);opacity:.9}100%{transform:scale(9);opacity:0;border-width:1px}}
.buddy.sp-wink .eye:last-of-type{transform:scaleY(.12)}.buddy.sp-wink .eye:first-of-type{transform:scaleY(1.08)}
.pal-btn{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
.sp-ant{position:fixed;bottom:calc(6px + env(safe-area-inset-bottom,0px));left:-30px;z-index:9400;font-size:12px;animation:spAnt 9s linear forwards;cursor:default}
@keyframes spAnt{0%{left:-30px;transform:translateY(0)}25%{transform:translateY(-2px)}50%{transform:translateY(0)}100%{left:calc(100vw + 30px)}}
.sp-rain{position:fixed;inset:0;pointer-events:none;z-index:9400;overflow:hidden}
.sp-rain span{position:absolute;top:-40px;animation:spFall 2.6s cubic-bezier(.4,0,.8,1) forwards}
@keyframes spFall{to{transform:translateY(calc(100vh + 80px)) rotate(200deg)}}
.sp-credits{position:fixed;inset:0;z-index:9600;background:#050507;color:#fff;overflow:hidden;display:flex;justify-content:center;text-align:center}
.sp-credits>button{position:absolute;top:14px;inset-inline-end:16px;border:0;background:none;color:#fff;font-size:28px;cursor:pointer;opacity:.7}
.sp-roll-in{position:absolute;top:100%;width:min(520px,90vw);animation:spCred 24s linear forwards}
.sp-roll-in h2{font-size:40px;margin:0 0 30px;color:#fff;text-shadow:0 0 40px rgba(228,30,160,.7),0 0 80px rgba(36,100,255,.6)}
.sp-roll-in small{display:block;text-transform:uppercase;letter-spacing:.14em;opacity:.55;font-size:12px;margin-top:6px}.sp-roll-in p{margin:4px 0;font-size:18px}
@keyframes spCred{to{transform:translateY(calc(-100vh - 100%))}}
.sp-game{position:fixed;inset:0;z-index:9600;background:rgba(0,0,0,.55);display:grid;place-items:center;padding:16px}
.sp-g-box{background:var(--bg);color:var(--ink);border-radius:18px;padding:14px;width:min(790px,100%);box-shadow:0 30px 80px rgba(0,0,0,.35)}
.sp-g-hd{display:flex;align-items:center;gap:12px;margin:0 4px 10px}.sp-g-hd b{font-size:16px}.sp-g-sc{margin-inline-start:auto;color:var(--muted);font-variant-numeric:tabular-nums;font-size:13px}
.sp-g-hd button{border:0;background:none;color:var(--ink);font-size:24px;cursor:pointer;line-height:1}
.sp-game canvas{width:100%;height:auto;display:block;border-radius:12px;touch-action:manipulation;cursor:pointer}
.sp-g-box p{margin:10px 4px 2px;color:var(--muted);font-size:12.5px}
/* right to left: arrows and chevrons point the way you read */
[dir=rtl] svg:has(> path:is([d="M9 6l6 6-6 6"],[d="M15 6l-6 6 6 6"],[d="M15 5l-7 7 7 7"],[d="M15 4l-8 8 8 8"],[d="M9 18l6-6-6-6"],[d="M5 12h14"],[d^="M5 12h14"])),[dir=rtl] .go,[dir=rtl] .flip-rtl{transform:scaleX(-1)}
[dir=rtl] .pal{right:auto;left:30px}[dir=rtl] .up-tray{right:auto;left:20px}
@media(max-width:860px){[dir=rtl] .pal{left:12px}[dir=rtl] .up-tray{left:16px}}
/* Branding: the deadline, in the project header; asking before the stages move with it; dates that run past what they belong to */
.br-dl{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap;margin-inline-start:14px}
.br-dl label{display:inline-flex;align-items:center;gap:8px;margin:0;font-size:12.5px;opacity:.85}
.br-dl input.br-date{width:auto;min-width:0;height:30px;padding:0 10px;border-radius:9px;font-size:13px}
.hero .br-dl input.br-date{background:rgba(255,255,255,.14);color:#fff;color-scheme:dark}
.hero .br-dl input.br-date.late{background:rgba(242,65,61,.35)}
.br-dl small{font-size:12.5px;font-weight:600;opacity:.9}.br-dl small.soon{color:#ffd166}.br-dl small.late{color:#ff8a80}
.hero .br-dl .btn-s{background:rgba(255,255,255,.16);color:#fff;border:0}.hero .br-dl .btn-s:hover{background:rgba(255,255,255,.28)}
.br-ask{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0 0;padding:12px 16px;border-radius:14px;background:color-mix(in srgb,#7a3cff 10%,var(--bg));font-size:14px}
.br-ask span{flex:1;min-width:220px}
input.br-date.after{background:color-mix(in srgb,#f5a623 22%,var(--field,var(--soft)));color:var(--ink)}
.br-dw{position:relative;display:block}.br-dw small{position:absolute;inset-inline-start:11px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:13px;pointer-events:none}
.br-dw input.br-inh:not(:focus){color:transparent}.br-dw input.br-inh:focus+small{display:none}
.br-dw input.br-inh:not(:focus)::-webkit-datetime-edit{color:transparent}
.hero .br-dl input.br-date,.hero .br-dl input.br-date::-webkit-datetime-edit{color:#fff;-webkit-text-fill-color:#fff;opacity:1}
.br-dw small{font-style:italic;opacity:.75}
html body .hero .br-dl input.br-date{background:rgba(255,255,255,.16)!important}html body .hero .br-dl input.br-date.late{background:rgba(242,65,61,.4)!important}
.br-dl label{opacity:1}
.hero .br-dl{--field:rgba(255,255,255,.16);--field-hi:rgba(255,255,255,.26)}.hero .br-dl:has(input.late){--field:rgba(242,65,61,.4)}
.am-av.am-2{margin-inline-start:-8px;box-shadow:0 0 0 2px var(--bg)}.am-pill small{opacity:.7;font-weight:500}
/* a link to one task: it shows on its own, lit up for a moment */
.mw-spot{display:flex;align-items:center;gap:12px;margin:0 0 10px;padding:10px 14px;border-radius:14px;background:var(--tint,color-mix(in srgb,#7a3cff 9%,var(--bg)));font-size:14px}.mw-spot span{flex:1}
.mw-lit{animation:mwLit 3s ease}@keyframes mwLit{0%,55%{box-shadow:inset 0 0 0 2px #7a3cff;background:color-mix(in srgb,#7a3cff 10%,transparent)}100%{box-shadow:none}}
/* the soft gradient of Home's routines and tiles, for the Hub's other "at a glance" blocks: numbers, notices, asks */
:root{--soft-aurora:linear-gradient(120deg,color-mix(in srgb,#7a3cff 10%,var(--bg)),color-mix(in srgb,#e0349a 7%,var(--bg)) 55%,color-mix(in srgb,#2f6fdf 9%,var(--bg)));--soft-aurora-2:linear-gradient(135deg,color-mix(in srgb,#7a3cff 7%,var(--bg)),color-mix(in srgb,#2f6fdf 7%,var(--bg)))}
.pf-stats>div,.me-off,.br-ask,.mw-spot,.ck-sum{background:var(--soft-aurora-2)!important}
.cp-msg{border:0!important;background:var(--soft-aurora)}
.ov-card .pf-stats>div{border-radius:14px}
/* the menu folds to a rail of icons */
.nav-fold{margin-inline-start:auto;border:0;background:none;color:var(--muted);width:30px;height:30px;border-radius:9px;display:grid;place-items:center;cursor:pointer;flex:none}
.nav-fold:hover{background:var(--panel);color:var(--ink)}.nav-fold svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
@media(min-width:861px){
  html.nav-mini .app{grid-template-columns:76px 1fr!important}
  html.nav-mini .app>aside{padding-inline:10px!important}
  html.nav-mini .app>aside .logo{flex-direction:column;gap:10px;padding-inline:0;justify-content:center}
  html.nav-mini .app>aside .logo-t{display:none}html.nav-mini .nav-fold{margin:0}
  html.nav-mini .app>aside :is(.nav a,.nav .nav-more,.theme){font-size:0!important;justify-content:center;gap:0;padding-inline:0}
  html.nav-mini .app>aside :is(.nav a,.nav .nav-more,.theme) svg.ni{margin:0}
  html.nav-mini .app>aside :is(.nav a,.nav .nav-more) span,html.nav-mini .app>aside .nav-more i{display:none}
  html.nav-mini .app>aside .nav-in{padding:0!important;margin:0!important;border:0!important}
  html.nav-mini .app>aside .nav-in a{padding-inline:0!important}
  html.nav-mini .app>aside .side-k{padding:10px 0;justify-content:center}html.nav-mini .app>aside .side-k :is(b,small,em){display:none}
  html.nav-mini .app>aside .me{justify-content:center;padding-inline:0}html.nav-mini .app>aside .me-t{display:none}
}
/* Settings, on your profile: look, size, language */
.me-set{max-width:560px;box-sizing:border-box;margin:12px 0}.me-set h3{margin:0 0 8px;font-size:15px}.me-set h3 small{color:var(--muted);font-weight:400}
.me-srow{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 0;font-size:14px}
.me-srow .ui-size,.me-srow .ui-lang{flex:1;padding:0}
.me-srow>span{color:var(--muted)}
@media(min-width:861px){html.nav-mini .app>aside .nav-more>svg:not(.ni){display:none}html.nav-mini .app>aside .nav-in{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px 0!important;margin:4px 0!important}}
/* checks: what to look at, and sending again to the checks picked */
.ck-sum{margin:6px 0 10px;padding:10px 12px;border-radius:12px;font-size:13px;line-height:1.45}.ck-sum p{margin:0 0 4px}.ck-sum p:last-child{margin:0}.ck-sum .btn-s{margin-inline-start:6px;padding:3px 10px;font-size:12px}
.ck-send{gap:8px}.ck-lanes{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13.5px}.ck-lanes legend{font-weight:600;margin:0 0 6px;padding:0;font-size:13px}
.ck-lanes label{display:inline-flex;align-items:center;gap:6px}.ck-lanes small{color:var(--muted)}
.wk-pop .ck-send textarea.find{height:64px}
@media(min-width:861px){aside .nav .nav-more.on{background:var(--ink);color:var(--sheet);font-weight:600;border-radius:999px}aside .nav .nav-more.on svg{stroke:currentColor}}
.wk-gh>.gh-all{margin:0 4px 0 8px;width:16px;height:16px;flex:none;cursor:pointer;accent-color:var(--ink)}
.wk-gh:has(>.gh-all)>button:not(.wk-plus){margin-inline-end:auto}
/* Home, calmer: a bigger welcome; notifications under it; the summary; search; then Today, Announcements and Shortcuts side by side */
.bf-hi h2{font-size:clamp(30px,3.4vw,46px)!important;line-height:1.08}
.bf-hi>small:not(.bf-day){font-size:16px}
.bf-notes{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:18px;background:var(--soft-aurora);margin:10px 0}
.bf-bell{position:relative;flex:none;width:38px;height:38px;border-radius:12px;background:var(--ink);color:var(--bg);display:grid;place-items:center}
.bf-bell svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.bf-bell i{position:absolute;top:-5px;inset-inline-end:-5px;min-width:18px;height:18px;border-radius:9px;background:#e0349a;color:#fff;font:700 11px/18px system-ui;font-style:normal;text-align:center;padding:0 4px;box-sizing:border-box}
.bf-nl{flex:1;min-width:0;display:grid;gap:3px}.bf-nl a{color:var(--ink);text-decoration:none;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bf-nl a:hover{text-decoration:underline}
.bf-nall{flex:none;font-size:13px;font-weight:600;color:var(--ink);text-decoration:none;padding:7px 12px;border-radius:999px;background:var(--bg)}
.bf-slot[data-slot="search"]{margin:12px 0}.bf-slot .ask{margin:0;max-width:none}
.bf-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:stretch;margin-top:2px}.bf-three.bf-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.bf-col{background:var(--bg);border-radius:16px;padding:14px 16px;display:grid;gap:10px;align-content:start;min-width:0}
.bf-col h3{margin:0;font-family:Archivo,sans-serif;font-weight:500;font-size:17px}
.bf-empty{margin:0;color:var(--muted);font-size:13.5px;display:none}
.bf-today .bf-empty,.bf-col:has(#annHome[hidden]) .bf-empty,.bf-col:not(:has(#annHome)) .bf-empty{display:block}
.bf-col #annHome{margin:0}.bf-col .news-item{margin:0}
@media(max-width:1000px){.bf-three,.bf-three.bf-two{grid-template-columns:1fr}}
/* your own shortcuts: an empty dashed pill says more can be added */
.q-pick{display:grid;gap:2px}.q-pick label{display:flex;align-items:center;gap:10px;padding:9px 6px;border-radius:10px;cursor:pointer;font-size:14.5px}.q-pick label:hover{background:var(--panel)}
.q-pick svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;color:var(--muted)}
/* Home's welcome takes half the screen */
.bf-hero{min-height:calc(50vh / var(--z, 1));align-items:center;box-sizing:border-box}
.ck-again{justify-content:flex-end;margin:-2px 0 6px}.ck-again .btn-s{font-size:12px;padding:3px 10px}
/* Kasper on a phone: he takes the whole screen, his chat box at the bottom above the keyboard */
@media(max-width:860px){
  .sp:has(.hp-panel){inset:0!important;top:0!important;bottom:0!important;width:100%!important;height:100dvh!important;max-height:none!important;border-radius:0!important;z-index:2000!important;display:flex;flex-direction:column}
  .sp:has(.hp-panel) .sp-h,.sp:has(.hp-panel)>header{padding-top:calc(env(safe-area-inset-top,0px) + 14px)!important;border-radius:0!important}
  .sp:has(.hp-panel) .sp-b{flex:1;min-height:0}
  body:has(.sp.in .hp-panel) :is(.tabbar,.pal,#rtPill){display:none!important}
}
/* Chat: the list of chats, the conversation beside it */
#p-ch{padding-bottom:0}
.cx{display:grid;grid-template-columns:300px minmax(0,1fr);gap:12px;height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 64px);min-height:480px}
.cx-list{display:flex;flex-direction:column;min-height:0;background:var(--bg);border-radius:20px;padding:14px 10px 6px}
.cx-top{display:flex;align-items:center;justify-content:space-between;padding:0 6px 10px}.cx-top .h1{margin:0;font-size:26px}
.cx-q{margin:0 4px 8px;width:auto}
/* Circle Chat (the app at /chat): its install / notifications line under the title */
.cx-app{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 4px 10px;padding:10px 12px;border-radius:var(--radius-md,12px);background:var(--surface-2,#f5f5f5);font-size:12.5px;color:var(--ink-muted,#555)}.cx-app small{flex-basis:100%}
html.chatapp .cx-top{padding-top:6px}
/* Circle Chat has no top bar, so its own title stays on a phone, and the phone list keeps a side gutter (1 November 2026) */
@media(max-width:860px){html.chatapp .cx-top .h1{display:block!important}html.chatapp #chatPage .cx-list.cx-phone{padding-left:max(14px,env(safe-area-inset-left,0px));padding-right:max(14px,env(safe-area-inset-right,0px));padding-top:max(10px,env(safe-area-inset-top,0px))}}
.cx-scroll{overflow-y:auto;flex:1;min-height:0;padding-bottom:10px;scrollbar-width:thin}
.cx-sec{margin-top:8px}.cx-sh{display:flex;align-items:center;justify-content:space-between;padding:6px 8px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cx-plus{border:0;background:none;color:var(--muted);font-size:18px;line-height:1;width:24px;height:24px;border-radius:7px;cursor:pointer}.cx-plus:hover{background:var(--panel);color:var(--ink)}
.cx-none{display:block;padding:4px 10px 8px;color:var(--muted);font-size:12.5px}
.cx-row{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:12px;color:var(--ink);text-decoration:none}
.cx-row:hover{background:var(--panel)}.cx-row.on{background:var(--ink);color:var(--bg)}.cx-row.on small{color:color-mix(in srgb,var(--bg) 70%,transparent)}
.cx-ic{flex:none;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--soft);color:var(--ink);overflow:hidden}
.cx-ic img{width:100%;height:100%;object-fit:cover}.cx-ic.k-dm{border-radius:50%}.cx-ic.k-group{font-size:15px;font-weight:500;background:var(--soft-aurora-2)}
.cx-row.on .cx-ic{background:color-mix(in srgb,var(--bg) 18%,transparent);color:var(--bg)}
.cx-t{flex:1;min-width:0;display:grid}.cx-t b{font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-t small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-row.new .cx-t b{font-weight:800}
.cx-m{flex:none;display:grid;justify-items:end;gap:3px}.cx-m small{font-size:11px;color:var(--muted)}
.cx-m i{font-style:normal;min-width:18px;height:18px;border-radius:9px;background:#e0349a;color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;padding:0 5px;box-sizing:border-box}
.cx-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:var(--bg);border-radius:20px;padding:14px 16px;overflow:hidden}
.cx-main .wk-chat{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;box-shadow:none}
.cx-main .wk-msgs{flex:1;min-height:0;max-height:none!important;overflow-y:auto}
.cx-main .ch-lib{flex:1;min-height:0;overflow-y:auto}
.cx-head{display:flex;align-items:center;gap:12px;padding:0 0 12px;margin-bottom:10px;border-bottom:1px solid var(--line)}
.cx-ht{flex:1;min-width:0;display:grid}.cx-ht b{font-size:18px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cx-ht small{color:var(--muted);font-size:12.5px}
.cx-back{display:none;border:0;background:none;color:var(--ink);width:34px;height:34px;border-radius:10px;cursor:pointer;flex:none}.cx-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2}
.cx-empty{margin:auto;text-align:center;display:grid;gap:6px;max-width:320px;color:var(--muted)}.cx-empty b{color:var(--ink);font-size:17px}
.cx-mem{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}.cx-mem span{display:inline-flex;align-items:center;gap:4px;background:var(--panel);border-radius:999px;padding:4px 6px 4px 12px;font-size:13px}
.cx-newpick{display:grid;gap:8px}.cx-newpick .btn-s{justify-content:flex-start;height:44px}
.ck-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}
@media(max-width:860px){
  .cx{grid-template-columns:1fr;height:calc(100dvh - 150px);gap:0}
  .cx.has-room-x{}
  #chatPage:not(.has-room) .cx-main{display:none}#chatPage.has-room .cx-list{display:none}
  .cx-back{display:grid;place-items:center}
  .cx-list,.cx-main{border-radius:18px}
}
/* Shortcuts: three to a row, as tiles (icon over the name); the fourth starts a new row */
/* the welcome grows with its half of the screen */
@media(min-width:861px){
  .bf-hero{grid-template-columns:minmax(320px,44%) minmax(0,1fr)!important;padding:clamp(24px,4vh,48px) 0 clamp(24px,4vh,48px) clamp(24px,3vw,48px)!important}
  .bf-hi{gap:clamp(10px,1.6vh,18px)}
  .bf-hi h2{font-size:clamp(38px,4.4vw,76px)!important;line-height:1.02;letter-spacing:-.03em}
  .bf-hi>small:not(.bf-day){font-size:clamp(16px,1.4vw,22px)}
  .bf-hi>small.bf-day{font-size:12px}
  .bf .bf-k .buddy{width:clamp(52px,5vw,76px);height:clamp(52px,5vw,76px)}
  .bf-prog{max-width:420px}
}
/* the message box, as in WhatsApp: + on the left, a round field, a round send arrow */
.ch-in{align-items:flex-end;gap:8px}
.ch-in .ch-add{width:40px;height:40px;border-radius:50%;box-shadow:none;background:var(--panel);color:var(--ink)}
.ch-in .ch-add svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ch-in textarea.find{border-radius:22px!important;min-height:40px;padding:10px 16px;font-size:14.5px;line-height:1.35}
.ch-send{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:var(--ink);color:var(--bg);display:grid;place-items:center;cursor:pointer}
.ch-send svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ch-send:disabled{opacity:.4}
.cx-tool{flex:none;width:36px;height:36px;border:0;border-radius:50%;background:none;color:var(--ink);display:grid;place-items:center;cursor:pointer}.cx-tool:hover{background:var(--panel)}
.cx-tool svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
/* the chat's header, as in WhatsApp (Rami, 2 November 2026: the header, the Chat / Library row and the big search box wasted the top of the screen):
   one slim bar with the chat's picture, its name and who is on it, and small buttons for Search, Library and Members; the messages run edge to edge under it */
.cx-hav{width:40px;height:40px;border-radius:50%;font-size:14px}
.cx-tool.on{background:var(--ink);color:var(--bg)}
a.cx-tool{text-decoration:none}
#p-ch .ch-tabs{display:none}
#p-ch .cx-main:not(.tools) .ch-top{display:none}
#p-ch .ch-top .ch-find{flex:1}
@media(min-width:861px){
  #p-ch .cx-main{padding:0}
  #p-ch .cx-head{padding:10px 12px 10px 16px;margin:0;gap:12px;min-height:62px;box-sizing:border-box}
  #p-ch .cx-ht b{font-size:16px}#p-ch .cx-ht small{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  #p-ch .cx-head .cx-tool{width:40px;height:40px}
  #p-ch .wk-chat{border-radius:0;margin:0;background:transparent;padding:0;gap:0}
  #p-ch .ch-lib{border-radius:0;margin:0;padding:12px 16px}
  html body #p-ch .wk-msgs:not(#_){border-radius:0;padding:12px 24px}
  #p-ch .ch-write{padding:10px 16px 12px}
  #p-ch .ch-top .ch-find .find{width:100%}
  #p-ch .ch-top{padding:8px 16px}
}
/* Chat on a phone: the conversation gets the screen, like WhatsApp */
@media(max-width:860px){
  body:has(#chatPage.has-room) :is(.mhead,.tabbar,.pal,#rtPill){display:none!important}
  body:has(#chatPage.has-room) main{padding:0!important}
  /* One frame for an open chat (Rami, 12 November 2026, the "Mobile chat keyboard & viewport" handoff): the name, the messages (the
     only part that scrolls) and the message box, as one column sized and placed exactly on the part of the screen the phone says is
     visible. public/phonekit.js measures it in one place (--chat-h, --chat-top: the visual viewport's height and offset) whenever the
     keyboard moves, the app comes back, a page comes back or the phone turns, so the box sits on the keyboard in every browser and
     the home-screen app, and no other rule sets the chat's height. */
  #chatPage.has-room .cx{position:fixed;left:0;right:0;top:var(--chat-top,0px);bottom:auto;height:var(--chat-h,100dvh)!important;min-height:0;gap:0;grid-template-rows:minmax(0,1fr);overflow:hidden}
  /* the STAGING strip never covers the message box */
  html[data-stage]:has(#chatPage.has-room)::before{display:none}
  html.kb-open #p-ch .ch-write{padding-bottom:6px}
  /* a scroll inside the chat stays inside it: it never moves the page behind (that moved the chat the wrong way on an iPhone) */
  #p-ch .wk-msgs{overscroll-behavior:contain}
  html:has(#p-ch.on #chatPage.has-room),body:has(#p-ch.on #chatPage.has-room){overflow:hidden}
  #chatPage.has-room .cx-main{border-radius:0;padding:0;background:var(--sheet,var(--bg))}
  #p-ch .cx-head{padding:calc(env(safe-area-inset-top,0px) + 8px) 8px 8px;margin:0;gap:6px}
  #p-ch .cx-ht b{font-size:16px}#p-ch .cx-ht small{font-size:12px}
  #p-ch .cx-hav{width:34px;height:34px;font-size:12.5px}
  #p-ch .cx-main:not(.tools) .ch-top,#p-ch .cx-main>.sub{display:none}
  #p-ch .ch-top{padding:0 10px}
  #p-ch .wk-chat{border-radius:0;padding:0 10px;background:transparent}
  #p-ch .ch-pins{margin:0 0 6px}
  #p-ch .wk-msgs{padding:6px 0}
  #p-ch .ch-write{padding:6px 0 max(6px,calc(env(safe-area-inset-bottom,0px) - 6px))} /* as WhatsApp: only the home bar's room under the box (Rami, 2 November 2026: it sat a bit too far above the edge) */
  #p-ch .ch-in textarea.find{font-size:16px;min-height:38px;padding:8px 14px} /* 16px: an iPhone zooms the page in on a smaller box (12 November 2026) */
  #p-ch .wk-msg{font-size:14px}
  /* the conversation has the whole screen: Feedback and Escalate sat on its header */
  body:has(#chatPage.has-room) :is(.fb-fab,.esc-fab){display:none!important}
  /* a message pressed and held: it is outlined while its menu is open (the menu: public/cadence.css .ch-menu) */
  .wk-chat .wk-msg{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}
  .wk-chat .wk-msg.acts{box-shadow:0 0 0 2px var(--info)}
  /* the list: Find a chat, the strip, the rows, + at the bottom */
  .cx{grid-template-columns:minmax(0,1fr)}
  .cx-list.cx-phone{background:none!important;border:0!important;padding:4px 0 0;min-width:0}
  .cx-list.cx-phone .mk-fab{left:auto;right:16px;transform:none;bottom:calc(96px + env(safe-area-inset-bottom,0px));padding:0;background:var(--ink)}
  .cx-list.cx-phone .mk-fab>*{width:56px;height:56px}
  .cx-list.cx-phone .cx-q{margin:0 0 10px;width:100%;box-sizing:border-box}
  .cx-list.cx-phone .mk-strip{margin:0 0 6px}
  .cx-list.cx-phone .cx-scroll{padding-bottom:120px}
  .cx-list.cx-phone .cx-row{padding:10px 6px;gap:12px;border-radius:14px}
  .cx-list.cx-phone .cx-ic{width:46px;height:46px;border-radius:50%;font-size:15px}
  .cx-list.cx-phone .cx-ic.k-group{border-radius:14px;font-size:18px}
  .cx-list.cx-phone .cx-t b{font-size:16px}.cx-list.cx-phone .cx-t small{font-size:14px}
  .cx-list.cx-phone .cx-m small{font-size:12px}
  .cx-list.cx-phone .cx-m i{min-width:22px;height:22px;line-height:22px;border-radius:11px;font-size:12px}
  .cx-list.cx-phone .cx-online{margin:4px 0 8px}
  .cx-padd{margin:10px 6px}
  .cx-pgrp{min-height:50vh}
}
.ch-copy{display:none}@media(max-width:860px){.ch-copy{display:inline-block}}
@media(min-width:861px){
  html.nav-mini .app>aside .nav a,html.nav-mini .app>aside .nav .nav-more,html.nav-mini .app>aside .theme{width:44px!important;height:40px!important;min-height:0!important;margin:2px auto!important;padding:0!important;border-radius:12px!important;display:grid!important;place-items:center!important;box-sizing:border-box}
  html.nav-mini .app>aside .nav a.on{margin:2px auto!important;padding:0!important;border-radius:12px!important}
  html.nav-mini .app>aside .nav .nav-more[aria-expanded="true"]{box-shadow:none;outline:0}
  html.nav-mini .app>aside .nav svg.ni{width:19px;height:19px}
}
/* Home's Ask Kasper: a slimmer, lighter box, not the whole width; the training bar inverts with the theme */
.bf-slot[data-slot="search"]{display:flex;justify-content:center}
.bf-slot .ask{width:100%;max-width:680px}
main .bf-slot .ask-in{background:var(--bg)!important;border-radius:999px;padding:4px 4px 4px 20px;box-shadow:0 1px 0 rgba(0,0,0,.04),0 6px 22px rgba(60,30,140,.08)!important}
.bf-slot .ask-in input{font-size:15px;height:40px}
.bf-slot .ask-in .go{width:40px;height:40px;border-radius:50%}
.start{background:var(--ink)!important;color:var(--bg)!important;box-shadow:none!important}
.start small,.start span{color:color-mix(in srgb,var(--bg) 75%,transparent)}.start b{color:var(--bg)}
/* Kasper in the welcome: he floats, looks around, follows you, and says hello */
.bf .bf-k{display:inline-block;animation:kFloat 4.5s ease-in-out infinite;transform-origin:50% 100%}
@keyframes kFloat{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-6px) rotate(-2deg)}60%{transform:translateY(-2px) rotate(1.5deg)}}
.bf .bf-k .buddy .eyes{transition:transform .12s ease-out}
.bf .bf-k .buddy{cursor:pointer}
@media(prefers-reduced-motion:reduce){.bf .bf-k{animation:none}}
.stage.briefed .bf-slot .ask{max-width:640px!important;width:100%}
html body main .stage.briefed .bf-slot .ask-in{background:var(--panel)!important;box-shadow:0 0 0 1px var(--line),0 8px 24px rgba(60,30,140,.08)!important}
.stage.briefed .bf-slot .ask{background:none!important;box-shadow:none!important;padding:0!important;border:0!important}
/* Ask Kasper's row: the box, and a few questions to tap beside it */
.bf-askrow{display:flex;align-items:center;gap:10px;margin:12px 0;flex-wrap:wrap}
.bf-askrow .bf-slot[data-slot="search"]{flex:1 1 440px;margin:0;justify-content:flex-start}
.stage.briefed .bf-askrow .bf-slot .ask{max-width:none!important}
.bf-asks{display:flex;gap:8px;flex-wrap:wrap;flex:0 1 auto}
.bf-askc{border:0;border-radius:999px;padding:0 16px;height:42px;font:inherit;font-size:13.5px;font-weight:500;color:var(--ink);background:var(--soft-aurora-2);cursor:pointer;white-space:nowrap}
.bf-askc:hover{background:var(--soft-aurora)}
@media(max-width:860px){.bf-asks{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;width:100%}.bf-askc{flex:none}}
/* Arabic: side panels open from the left, clear of the menu on the right, and slide in from that side */
[dir=rtl] .sp{right:auto;left:10px;transform:translateX(calc(-100% - 24px))}[dir=rtl] .sp.in{transform:none}
[dir=rtl] .ed-panel.wk-listing.ed-open>.ed:not([hidden]),[dir=rtl] .ed-panel.ed-feed.ed-open .ed-side{right:auto!important;left:10px;animation-name:edInR}
@keyframes edInR{from{transform:translateX(-40px);opacity:0}}
[dir=rtl] .pal{right:auto;left:30px}[dir=rtl] .up-tray{right:auto;left:20px}
/* tables: a caption or note in Arabic reads from its own start, whatever language the page is in */
td,th,.lt-cell,.bk-cell{unicode-bidi:plaintext}
/* an empty box in Arabic shows its hint from the right; once someone types, the box follows what they type */
[dir=rtl] :is(textarea,input)[dir=auto]:placeholder-shown{direction:rtl}
/* My work › a post: the design itself goes on here */
.sp-deliver{display:grid;gap:8px}.sp-dvb{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.sp-dvl{display:flex;gap:6px;flex:1;min-width:220px}.sp-dvl input{flex:1;min-width:0}
.sp-dvlist{margin:0;padding:0;list-style:none;display:grid;gap:4px;font-size:13px}.sp-dvlist a{color:var(--ink)}
/* a post's copy and publishing status: same look as the design status, its own colours */
.wk-mk{height:30px;font-size:12.5px;padding:0 8px;border-radius:8px;width:100%}
.wk-mk.ready,.wk-mk.verified{background:color-mix(in srgb,var(--ok,#1f9d55) 16%,transparent);color:var(--ok-ink,#13703c)}
.wk-mk.rework{background:color-mix(in srgb,var(--bad,#d33) 14%,transparent);color:var(--bad,#b42318)}
.wk-mk.drafting,.wk-mk.scheduled{background:color-mix(in srgb,var(--review-ink,#3b6fd8) 14%,transparent);color:var(--review-ink,#2c55a8)}
.wk-mk.published{background:color-mix(in srgb,#7a3cff 14%,transparent);color:#5a2bc0}
.wk-mf{height:32px;font-size:12.5px;max-width:170px}
/* My work › Grid: tiles, several to a row, reflowing to the screen */
.mw-gridv{display:grid;gap:8px}
.mw-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;padding:6px 2px 14px}
.mw-tile{min-height:132px;display:flex;flex-direction:column;gap:6px}.mw-tile .wk-do{margin-top:auto}
.mw-tile.hot{box-shadow:0 0 0 1.5px color-mix(in srgb,var(--bad,#d33) 55%,transparent) inset}
.ov-per{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 14px}
.wk-whyb{border:0;background:none;color:var(--muted);font:inherit;font-size:12px;text-decoration:underline;cursor:pointer;padding:0 4px}
.wk-why{height:30px;font-size:12.5px;width:170px}
.ut-add{display:grid;gap:8px;padding:12px 14px;margin:8px 0 12px;border-radius:14px;background:var(--panel)}.ut-add small{color:var(--muted)}
.ut-addf{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:8px}.ut-addb{display:flex;gap:8px}
.wk-pbar select.wk-mf{flex:0 0 auto!important;width:auto!important;min-width:0;max-width:170px}
.mw-tiles .mw-tile{background:var(--sheet,#fff)!important;border-radius:14px!important;padding:12px 14px!important;box-shadow:0 0 0 1px var(--line),0 1px 3px rgba(0,0,0,.05)!important}
/* a card on a board drags from anywhere: no native link drag or text selection getting in the way */
[data-dboard] [data-dcard]{user-select:none;-webkit-user-select:none}[data-dboard] [data-dcard] a,[data-dboard] [data-dcard] img{-webkit-user-drag:none;user-drag:none}
/* a date shown as "Sun 11 Oct" with the browser's picker under it */
.dpick{position:relative;display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:8px;background:var(--panel);cursor:pointer;font-size:12.5px;white-space:nowrap}
.dpick b{font-weight:500}.dpick input{position:absolute;inset:0;opacity:0;width:100%;height:100%;border:0;padding:0;cursor:pointer}
.dneed{display:block;color:var(--muted);font-size:11px;line-height:1.2}
@media (max-width:560px){.wk-pop.bk-pop{position:fixed;left:16px!important;right:16px!important;top:auto;bottom:calc(96px + env(safe-area-inset-bottom,0px));width:auto;min-width:0}}
@media (max-width:560px){.sp .stg{flex-wrap:wrap;row-gap:6px;overflow:visible}.sp .stg-s+.stg-s{flex:0 0 auto}}
.sh-map{text-decoration:none}.sh-ln{margin-inline-end:4px;text-decoration:none}
/* Shoots on a phone: a week at a time */
.sh-week{display:grid;gap:10px}.sh-wnav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sh-wnav b{flex:1;text-align:center;font-size:14px}
.sh-wday{background:var(--bg);border-radius:14px;padding:10px 12px}.sh-wday h4{margin:0 0 6px;font-size:13.5px}.sh-wday.today{box-shadow:0 0 0 1.5px var(--ink) inset}
.wk-at button.on{background:var(--panel);font-weight:600}
/* Chat: a green dot with how many messages wait on me (direct messages and @mentions) */
.nav a span.cx-dot,.nav a.on span.cx-dot,aside .nav a span.cx-dot{background:#1f9d55;color:#fff;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:700}
.cx-m i.cx-pill{background:#1f9d55;color:#fff}
.sl-cl{color:var(--accent-sky,var(--ink));font-weight:600;cursor:pointer}.sl-cl:hover{text-decoration:underline}
/* Escalate: the button by Kasper on every page, the client header pill, the panel */
.esc-fab{position:fixed;inset-inline-end:104px;bottom:34px;z-index:20;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px 0 11px;border:0;border-radius:999px;background:var(--sheet,#fff);color:var(--ink);font:600 13px/1 inherit;box-shadow:0 4px 18px rgba(0,0,0,.14);cursor:pointer}
.esc-fab svg{width:16px;height:16px;fill:none;stroke:#d64545;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.esc-fab:hover{background:#d64545;color:#fff}.esc-fab:hover svg{stroke:#fff}
@media(max-width:860px){.esc-fab{inset-inline-end:16px;bottom:calc(86px + env(safe-area-inset-bottom,0px));height:34px;padding:0 10px}.esc-fab span{display:none}}
@media print{.esc-fab{display:none}}
.esc-pill{border:0;border-radius:999px;padding:3px 10px;background:var(--bad-bg,#fde8e8);color:var(--bad-ink,#b42318);font:600 12px/1.4 inherit;cursor:pointer}
.esc-from{margin:0 0 4px;color:var(--muted);font-size:13px}
.esc-row{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}.esc-row p{margin:0}.esc-row small{color:var(--muted)}
.esc-row.done{opacity:.75}.esc-tr{padding-inline-start:10px;border-inline-start:2px solid var(--line)}.esc-tr.ok{border-color:#1f9d55}
.esc-re{margin:4px 0 0;padding:8px 12px;border-radius:12px;background:var(--soft,rgba(127,127,127,.1));max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere}.esc-re:not(#_){display:block}.esc-re small:not(#_){display:block;margin-bottom:2px;white-space:nowrap}.esc-re{justify-self:start}.esc-re.me{justify-self:end;background:var(--sel,rgba(80,120,255,.12))}
.esc-reply{display:grid;gap:6px;margin-top:14px}.esc-reply textarea{width:100%}
.tr-h{font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:14px 0 4px}
.tr-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line)}.tr-row>div{display:grid;gap:2px;min-width:0}.tr-row small{color:var(--muted)}.tr-row .wk-do{flex-wrap:wrap;justify-content:flex-end}
/* notes and Undo stay clear of buttons and fields: little notes sit at the top; on a phone Undo does too (the keyboard and the bar are at the bottom) */
.sp-say{bottom:auto;top:calc(16px + env(safe-area-inset-top,0px));transform:translate(-50%,-20px)}[dir=rtl] .sp-say{transform:translate(50%,-20px)}
@media(max-width:860px){.un-toast{bottom:auto;top:calc(10px + env(safe-area-inset-top,0px));transform:translate(-50%,-20px)}.un-toast.on{transform:translate(-50%,0)}}
.up-n small.why{color:var(--bad-ink,#b42318);white-space:normal}
.dr-note{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 6px;padding:8px 10px;border-radius:10px;background:var(--warn-bg,#fff4d6);color:var(--warn-ink,#7a5200);font-size:13px}.dr-note span{flex:1 1 auto;text-align:start}
.sh-wh{display:inline-flex!important;align-items:center;gap:6px;min-width:0}.sh-wh>*{display:inline!important;margin:0!important;padding:0!important}.sh-wh>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sh-week .sh-wday.today{display:block}.sh-wh{max-width:100%}.sh-wh>span{white-space:normal}
.pp-r{display:flex;align-items:center;gap:8px;margin-inline-start:auto}.pp-lv{width:auto;min-width:120px}.pp-chip{font-style:normal;font-size:12px;padding:2px 9px;border-radius:999px;background:var(--panel)}.pp-chip.lv-owner{background:#111;color:#fff}.pp-chip.lv-admin{background:var(--accent);color:var(--accent-ink)}
.pp-heads{display:flex;flex-wrap:wrap;gap:12px}.pp-head{display:grid;gap:4px;font-size:13px;min-width:220px}.pp-head span{color:var(--muted)}
.who-top{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:10px}.who-top input{flex:1 1 280px;max-width:420px}.who-top small{color:var(--muted)}
.who-g{border-top:1px solid var(--line);padding:4px 0}.who-g>summary{cursor:pointer;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:10px 2px;list-style:none}.who-g>summary::-webkit-details-marker{display:none}.who-g>summary small{color:var(--muted)}
.who-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,220px) minmax(170px,240px);gap:12px;align-items:center;padding:6px 2px 6px 14px;border-top:1px dashed var(--line)}.who-when{color:var(--muted)}.who-c select{width:100%}.who-sel.changed{box-shadow:0 0 0 1.5px var(--accent) inset}
@media(max-width:860px){.who-row{grid-template-columns:1fr;gap:4px}}
.pp-levels small{white-space:normal}
.who-row{grid-template-columns:minmax(0,1fr) minmax(120px,200px) minmax(200px,280px)}
main{padding-bottom:max(72px,var(--main-pb,0px))}
.no-open{max-width:520px;margin:12vh auto 0;text-align:center;display:grid;gap:10px;justify-items:center}.no-open .buddy{width:64px;height:64px}.no-open h1{font-size:26px;margin:6px 0 0}.no-do{display:flex;gap:8px;justify-content:center}.no-open small{color:var(--muted)}
.acc-h{margin:16px 0 4px;font-size:15px}.acc-t{width:100%;border-collapse:collapse;margin:8px 0 6px;font-size:13.5px}.acc-t th,.acc-t td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:center}.acc-t th[scope=row]{text-align:start;font-weight:600}.acc-t th[scope=row] small{display:block;font-weight:400;color:var(--muted)}.acc-t thead th{font-weight:500;color:var(--muted);font-size:12.5px}
.acc-ask{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:10px}.acc-al{margin:4px 0 8px;font-size:13px}.acc-al li{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;margin:6px 0}.acc-tb{display:inline-flex;gap:6px;align-items:center}
/* lists: column menu, chips of what is in use, totals, views */
.lt-h{position:relative}.lt-cmb{border:0;background:none;padding:0 4px;margin-inline-start:2px;color:var(--muted);cursor:pointer;opacity:0;font-size:12px;line-height:1}.lt-h:hover .lt-cmb,.lt-cmb:focus-visible{opacity:1}
.lt-cmp{z-index:80;display:grid;gap:2px;min-width:220px;max-width:320px;padding:6px}.lt-cmp>button{all:unset;cursor:pointer;padding:7px 10px;border-radius:8px;font-size:13px}.lt-cmp>button:hover{background:var(--panel)}.lt-cmf{padding:6px 10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.lt-cmf small{color:var(--muted)}
.lt-sc{display:inline-flex;flex-wrap:wrap;gap:6px;align-items:center;order:-1;margin-inline-end:auto}.lt-sch{border:0;border-radius:999px;padding:3px 10px;font-size:12.5px;background:var(--panel);color:var(--ink);cursor:pointer}.lt-sch.f{background:color-mix(in srgb,var(--accent) 14%,transparent)}.lt-sch i{font-style:normal;opacity:.6;margin-inline-start:4px}
.lt-psc{display:flex;margin:0 0 6px}/* a plain table's sort chip, just above it (public/lists.js plainSort; 22 November 2026) */
.lt-bar{gap:8px;flex-wrap:wrap;align-items:center}
.lt-tot{display:flex;flex-wrap:wrap;gap:6px 18px;padding:8px 12px;font-size:12.5px;color:var(--muted);border-top:1px solid var(--line)}.lt-tot b{color:var(--ink);font-weight:600}
.lt-vr{display:flex;align-items:center;gap:4px}.lt-vgo{all:unset;cursor:pointer;flex:1;padding:6px 8px;border-radius:8px}.lt-vgo:hover{background:var(--panel)}.lt-vx{border:0;background:none;color:var(--muted);cursor:pointer;font-size:16px}
@media(max-width:860px){.lt-tot{padding:8px 4px}.lt-cmb{opacity:1}}
.lt-vb:not(.has) span{display:none}.lt-vb:not(.has){padding-inline:10px}
.lt-bar .lt-vpop{inset-inline-end:0;inset-inline-start:auto;left:auto;right:0;width:auto;min-width:300px;max-width:min(360px,calc(100vw - 32px))}[dir=rtl] .lt-bar .lt-vpop{right:auto}
/* the video list: "ready" is said with a button, not by typing */
.sd-ready{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}
.sd-ready small{color:var(--muted);font-size:12.5px}
.sd-rdy{color:var(--ok,#1f7a4d);font-weight:600;font-size:13px}
/* "done before the day?": asked in a small box by the control, nothing on the page moves */
.sh-ask{position:fixed;z-index:400;max-width:340px;background:var(--surface,#fff);color:var(--c-ink,#111);border:1px solid var(--border,#e5e5e5);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.16);padding:12px 14px;display:grid;gap:10px;font-size:13.5px;animation:shAsk .14s ease-out}
.sh-ask p{margin:0;line-height:1.4}
.sh-ask span{display:flex;gap:8px;justify-content:flex-end}
.sh-ask .sh-askf{justify-content:stretch}.sh-ask .sh-askf input{flex:1;min-width:0;width:auto}.sh-ask .wk-err:empty{display:none} /* Postpone's new day and time (public/work.js askDay) */
.sh-ask.mid{left:50%;bottom:96px;transform:translateX(-50%)}
@keyframes shAsk{from{opacity:0;transform:translateY(-4px)}}
.sh-ask.mid{animation:none}
/* the shoots list: Where is typed into the line itself */
.sh-wh{display:flex!important;width:100%}.sh-wh>input.wk-in{display:block!important;flex:1;min-width:0;padding:4px 8px!important;text-overflow:ellipsis}
/* My work, Dashboard: bento boxes by kind of to-do; urgent across the top, My tasks the big box */
.mw-bento{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;padding:12px 0 4px;align-items:start}
.bn{background:var(--sheet,#fff);border:1px solid var(--line);border-radius:14px;padding:12px 14px 8px;min-width:0;display:flex;flex-direction:column}
.bn header{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding-bottom:8px;border-bottom:1px solid var(--line)}
.bn header b{font-size:14px;font-weight:650}
.bn header small{color:var(--muted);font-size:12px;flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bn-n{font-style:normal;font-size:11.5px;font-weight:600;color:var(--muted);background:var(--panel,#f3f3f5);border-radius:99px;padding:1px 7px}
.bn-more{margin-inline-start:auto;background:none;border:0;color:var(--ink,#111);text-decoration:underline;text-underline-offset:3px;font-size:12.5px;font-weight:500;cursor:pointer;padding:0}
.bn-list{display:flex;flex-direction:column}
.bn-it{display:flex;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid var(--line);cursor:pointer;min-width:0}
.bn-it:last-child{border-bottom:0}
.bn-it:hover{background:var(--panel,#f7f7f8)}
.bn-open{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:baseline;flex:1;min-width:0;text-align:start;background:none;border:0;padding:0;color:inherit;font:inherit;cursor:pointer;text-decoration:none}
.bn-open b{font-weight:550;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bn-open small{grid-column:2;color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bn-k{font-size:11px;color:var(--muted);border:1px solid var(--line);border-radius:6px;padding:0 5px;white-space:nowrap}
.bn-r{display:flex;align-items:center;gap:6px;flex:none}
.bn-r .wk-do .btn-s{padding:3px 9px;font-size:12px}
.bn-when{color:var(--muted);font-size:12px;white-space:nowrap}
.bn-it.hot .bn-when{color:#c4320a;font-weight:600}
.bn-it.new .bn-k{background:#2563eb;color:#fff;border-color:transparent}
.bn-none{color:var(--muted);font-size:13px;margin:10px 2px 6px}
.bn-urgent{grid-column:1/-1;border-color:var(--bad-line,#f3c9bd);background:var(--bad-bg,#fbe2ea)} /* a solid pale red, the Hub's warning colour; no gradient (Rami, 31 October 2026) */
.bn-urgent header b{color:var(--bad,#b42318)}
.bn-urgent .bn-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(440px,1fr));column-gap:28px}
.bn-urgent .bn-it:last-child{border-bottom:1px solid var(--line)}
.bn-urgent .bn-it:hover{background:color-mix(in srgb,var(--bad-line,#f3c9bd) 45%,transparent)} /* a deeper pink, not the grey of the other boxes (Rami, 31 October 2026) */
.bn-calm{flex-direction:row;gap:8px;align-items:baseline;padding:10px 14px;border-color:var(--line);background:var(--sheet,#fff)}
.bn-calm b{color:#1f7a4d;font-size:13.5px}.bn-calm small{color:var(--muted)}
.bn-mine,.bn-todos{grid-column:span 3}
.bn-stack{grid-column:span 2;display:flex;flex-direction:column;gap:12px;min-width:0}
.bn-soon,.bn-others{grid-column:span 2}
@media (max-width:1100px){.mw-bento{grid-template-columns:repeat(2,minmax(0,1fr))}.bn-mine,.bn-todos,.bn-stack{grid-column:1/-1}.bn-soon,.bn-others{grid-column:span 1}}
html[data-theme="dark"] .bn-urgent{background:color-mix(in srgb,var(--bad-bg) 60%,var(--sheet));border-color:#5b2a20}
@media(prefers-color-scheme:dark){html:not([data-theme="light"]) .bn-urgent{background:color-mix(in srgb,var(--bad-bg) 60%,var(--sheet));border-color:#5b2a20}} /* dark by the device's own setting too (iPad, 29 October 2026: the Urgent box stayed white) */
/* in a box only what needs an eye shows as a chip (Late, Urgent…); the quieter ones are in the line's own words. Buttons stay light */
.bn-r .wk-chips .wk-tag:not(.hot){display:none}
.bn-r .wk-chips{flex-wrap:nowrap}
.bn-r .wk-do .btn-s.pri{background:transparent!important;color:var(--ink,#111)!important;box-shadow:inset 0 0 0 1px var(--line-2,#d6d6db)!important;border:0!important}
.bn-r .wk-do .btn-s.pri:hover{background:var(--panel,#f3f3f5)!important}
/* My work, clean slate (Rami, 13 October 2026): a checklist's thin progress bar, All clear, Done today, and the short "Done ✓" */
.mw-prog{display:block;grid-column:2;width:min(160px,100%);height:3px;border-radius:3px;background:var(--panel,#f3f3f5);overflow:hidden;margin-top:5px}
.mw-prog i{display:block;height:100%;background:var(--ok,#30a46c);border-radius:3px;transition:width .4s cubic-bezier(.2,.8,.2,1)}
.mw-row .mw-prog{display:inline-block;width:72px;margin:0 0 0 6px;vertical-align:middle}
.mw-card .mw-prog{width:100%;margin-top:2px}
.mw-clear{display:flex;align-items:center;gap:14px;padding:28px 6px 22px}
.mw-clear-i{flex:none;width:44px;height:44px;border-radius:50%;background:var(--ok-bg,#e2f5ea);display:grid;place-items:center}
.mw-clear-i svg,.mw-donet-i svg{width:22px;height:22px;fill:none;stroke:var(--ok,#30a46c);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mw-clear b{display:block;font-size:22px;font-weight:700;letter-spacing:-.01em}.mw-clear small{display:block;color:var(--muted);font-size:13.5px;margin-top:2px}
.mw-clear.mw-daydone{padding:14px 6px 12px}.mw-daydone b{font-size:18px} /* Done for today: the work that can wait shows under it */
.mw-today{margin:14px 0 4px;border-top:1px solid var(--line);padding-top:10px}
.mw-today summary{cursor:pointer;font-size:13px;font-weight:600;color:var(--muted);display:flex;align-items:center;gap:8px;list-style:none}
.mw-today summary::-webkit-details-marker{display:none}
.mw-today-i{width:18px;height:18px;border-radius:50%;background:var(--ok-bg,#e2f5ea);color:var(--ok,#30a46c);display:grid;place-items:center;font-size:11px}
.mw-today ul{list-style:none;margin:8px 0 0;padding:0}
.mw-today li{display:flex;align-items:baseline;gap:8px;padding:6px 2px;border-bottom:1px solid var(--line);font-size:13px;min-width:0}.mw-today li:last-child{border-bottom:0}
.mw-today li>a,.mw-today li>span[dir]{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink,inherit)}
.mw-today li>a::before,.mw-today li>span[dir]::before{content:"✓ ";color:var(--good,#1f8a4c);font-weight:700}
.mw-today li small{color:var(--muted);font-size:12px;white-space:nowrap}.mw-today .mw-today-at{margin-inline-start:auto}
.mw-donet{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);z-index:90;display:flex;align-items:center;gap:8px;padding:9px 16px 9px 10px;border-radius:999px;background:var(--ink,#111);color:var(--on-ink,#fff);box-shadow:var(--shadow-menu,0 8px 24px rgba(0,0,0,.14));font-size:13.5px;max-width:calc(100vw - 32px);animation:mwDone 1.6s ease forwards;pointer-events:none}
.mw-donet small{opacity:.75;font-size:12.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mw-donet-i{width:22px;height:22px;border-radius:50%;background:var(--ok,#30a46c);display:grid;place-items:center}.mw-donet-i svg{width:14px;height:14px;stroke:#fff;stroke-width:3}
@keyframes mwDone{0%{opacity:0;transform:translate(-50%,8px) scale(.96)}12%{opacity:1;transform:translate(-50%,0) scale(1)}80%{opacity:1}100%{opacity:0}}
@media(prefers-reduced-motion:reduce){.mw-donet{animation:none}.mw-prog i{transition:none}}
/* the month's list: the date and the type are changed right in the line */
.wk-lr{grid-template-columns:30px 32px 48px 150px 104px minmax(210px,2fr) minmax(150px,1.2fr) minmax(120px,1fr) 176px 150px 150px 96px;min-width:1420px}
/* Production: Urgent is a press in the line (shown faint until it is on) */
.wk-urg{font:inherit;font-size:11.5px;font-weight:600;border-radius:99px;padding:2px 9px;border:1px dashed var(--line-2,#d6d6db);background:transparent;color:var(--muted);cursor:pointer;opacity:.55}
.wk-r1:hover .wk-urg,.wk-urg:focus-visible{opacity:1}
.wk-urg.on{opacity:1;border:1px solid #f3b8a8;background:#fdecec;color:#b42318}
/* campaigns: runs (two days), budget and where are changed in the line */
.wk-cr{grid-template-columns:40px minmax(200px,2fr) 270px 120px minmax(140px,1fr) minmax(150px,1.2fr) 160px;min-width:1050px}
.wk-cruns{display:flex!important;align-items:center;gap:4px}.wk-cruns i{font-style:normal;color:var(--muted)}.wk-cruns input{min-width:0;flex:1}
.dneed .dpick,.dneed .dpick b{font-size:11px!important;font-weight:500!important;color:var(--muted)!important;padding:0!important;background:none!important;box-shadow:none!important;white-space:nowrap}
.dneed .dpick:hover b{color:var(--ink)!important;text-decoration:underline}

/* The vault as a night room: while it is open the page around it goes dark too (the menu stays as it is, to find the way out) */
html.vault-night main{background:#0b0e12!important;color:#e8ecf1;transition:background .35s ease}
html.vault-night main :is(.ct-hd,.hero,.ed-top){background:transparent!important;border-color:#1f262f!important}
html.vault-night main :is(.ct-hd,.ed-top) :is(h1,.mh-name,b){color:#e8ecf1!important}
html.vault-night main :is(.ct-hd,.ed-top) :is(a,small,.ct-crumb,.ct-crumb *,span){color:#8b95a3!important}
html.vault-night main :is(.ct-hd,.ed-top) :is(button,[class*="pill"]){background:#141920!important;color:#c9d1db!important;border-color:#262d36!important}
html.vault-night main .ct-tabs{border-color:#1f262f!important}
html.vault-night main .ct-tabs a{color:#8b95a3!important}html.vault-night main .ct-tabs a.on{color:#f0b429!important;border-color:#f0b429!important}
html.vault-night main .cav{background:#141920!important;color:#e8ecf1!important;box-shadow:0 0 0 1px #262d36!important}
html.vault-night .bk-h,html.vault-night main>.bk-h{background:#0b0e12!important;border-color:#1f262f!important}
html.vault-night .vt{box-shadow:0 0 0 1px #1f262f,0 24px 60px rgba(0,0,0,.5)}
/* Kasper's terminal in the vault */
.vt-term{margin:14px 20px 0;border-radius:12px;background:#07090c;border:1px solid #232a33;box-shadow:inset 0 1px 0 rgba(255,255,255,.03);overflow:hidden;font:13px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.vt-tt{display:flex;align-items:center;gap:6px;padding:8px 12px;background:#11161c;border-bottom:1px solid #1d232b;color:#6b7684;font-size:11.5px}
.vt-tt i{width:10px;height:10px;border-radius:50%;background:#e5484d}.vt-tt i:nth-child(2){background:#f0b429}.vt-tt i:nth-child(3){background:#3ccf8e}
.vt-tt span{margin-inline-start:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vt-tb{padding:10px 14px 12px;max-height:230px;overflow:auto;direction:ltr;text-align:left}
.vt-l{white-space:pre-wrap;word-break:break-word;color:#c9d1db}
.vt-l b{color:#3ccf8e;font-weight:600}
.vt-l.dim{color:#6b7684}.vt-l.warn{color:#f0b429}
.vt-p{display:flex;align-items:center;gap:6px;margin:0}
.vt-p input{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;outline:0;color:#e8ecf1;font:inherit;padding:0;caret-color:#3ccf8e}
.vt-p input::placeholder{color:#3a434e}
.vt-empty code{background:#0c1014;border-radius:6px;padding:1px 6px;color:#f0b429}
html.vault-night body main .ct-hd :is(.ck-pill,.am-btn,.am-pill):not(.ct-st),html.vault-night body main :is(.ck-pill,.am-btn,.am-pill):not(.ct-st):not(.x){background:#141920!important;color:#c9d1db!important;box-shadow:0 0 0 1px #262d36!important;border-color:#262d36!important}
html.vault-night main :is(.ck-pill,.am-btn) *{color:inherit!important}
html.vault-night main :is(.ck-pill,.am-btn) i,html.vault-night main .am-btn .av{background:#222934!important;color:#e8ecf1!important}
html body .vt-term .vt-p input,html body .vt-term .vt-p input:focus{background:transparent!important;box-shadow:none!important;border:0!important;color:#e8ecf1!important;padding:0!important;height:auto!important}
/* Kasper docked beside the page on a wide screen (Attio's side panel): no shade, the page narrows to make room */
@media(min-width:1200px){
  html.sp-docked .sp-back{background:transparent!important;pointer-events:none}
  html.sp-docked body main{margin-right:min(440px,34vw)!important;transition:margin-right .22s ease}
  html.sp-docked .sp.sp-dock{top:0;right:0;bottom:0;width:min(440px,34vw);border-radius:0!important;border:0!important;border-left:1px solid var(--line)!important;box-shadow:none!important}
}
/* Quick actions: the button at the top of the menu, and the box */
.nav-qk{display:flex;align-items:center;gap:8px;width:calc(100% - 12px);margin:4px 6px 8px;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:var(--sheet,#fff);color:var(--muted);font:inherit;font-size:13px;cursor:pointer;text-align:start}
.nav-qk:hover{color:var(--ink);border-color:var(--line-2,#d6d6db)}
.nav-qk svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;flex:none}.nav-qk span{flex:1}
.nav-kbd,.qk kbd,.qk-sheet kbd{font:500 11px/1 ui-sans-serif,system-ui,sans-serif;color:var(--muted);border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;padding:2px 5px;background:var(--bg,#fff)}
html.nav-mini .nav-qk span,html.nav-mini .nav-qk .nav-kbd{display:none}html.nav-mini .nav-qk{justify-content:center;padding:7px 0}
@media(max-width:860px){.nav-qk{display:none}}
.qk{position:fixed;inset:0;z-index:300;background:rgba(15,17,22,.28);display:flex;justify-content:center;align-items:flex-start;padding-top:12vh;animation:qkIn .12s ease-out}
@keyframes qkIn{from{opacity:0}}
.qk-w{width:min(620px,calc(100vw - 32px));background:var(--sheet,#fff);border-radius:14px;box-shadow:0 24px 70px rgba(0,0,0,.25),0 0 0 1px var(--line);overflow:hidden;display:flex;flex-direction:column;max-height:70vh}
.qk-q{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line)}
.qk-q svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:2;flex:none}
.qk-q input{flex:1;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;font:inherit;font-size:16px;color:var(--ink);padding:0!important}
.qk-l{overflow:auto;padding:6px}
.qk-i{display:flex;align-items:center;gap:10px;width:100%;padding:9px 10px;border:0;border-radius:8px;background:none;color:var(--ink);font:inherit;font-size:14px;text-align:start;cursor:pointer}
.qk-i svg{width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;flex:none}
.qk-i span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.qk-i small{color:var(--muted);font-size:12px}
.qk-i.on,.qk-i:hover{background:var(--panel,#f3f3f5)}
.qk-none{padding:16px;color:var(--muted);margin:0}
.qk footer{display:flex;gap:16px;padding:8px 14px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.qk footer span{display:flex;gap:4px;align-items:center}
.qk-sheet{display:grid;gap:8px;margin:0}.qk-sheet div{display:flex;align-items:center;gap:12px}.qk-sheet dt{min-width:90px;display:flex;gap:4px}.qk-sheet dd{margin:0;color:var(--ink)}
/* an empty list: an icon, a line, and the next thing to do */
.kt-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:44px 20px 48px;color:var(--muted)}
.kt-empty svg{width:40px;height:40px;fill:none;stroke:var(--muted);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;padding:10px;border-radius:12px;background:var(--panel,#f3f3f5);margin-bottom:6px;box-sizing:content-box}
.kt-empty b{color:var(--ink);font-size:15px;font-weight:600}
.kt-empty small{max-width:46ch;font-size:13px;line-height:1.5}
.kt-empty .btn-s{margin-top:10px;display:inline-flex;align-items:center;gap:6px}
.kt-empty .btn-s svg{width:14px;height:14px;padding:0;background:none;margin:0;stroke:currentColor;stroke-width:2.2}
/* how long ago something was asked for, as "12d" */
.wk-age,.bn-age{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;margin-inline-start:4px}
.bn-age{border:1px solid var(--line);border-radius:6px;padding:0 5px;margin:0}
/* a job with nobody on it stays red in its several-people picker too */
html body .pk-mbtn.wk-unas.empty{color:#b42318!important;font-weight:600}
/* The tour: a dark veil with a lit hole around the part being shown, and a card beside it */
.tr{position:fixed;inset:0;z-index:500}
.tr-hole{position:fixed;border-radius:12px;box-shadow:0 0 0 9999px rgba(12,14,20,.55),0 0 0 2px rgba(255,255,255,.9) inset;transition:all .28s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.tr.mid{background:rgba(12,14,20,.55)}
.tr-card{position:fixed;width:min(380px,calc(100vw - 24px));background:var(--sheet,#fff);color:var(--ink);border-radius:14px;padding:18px 18px 14px;box-shadow:0 24px 60px rgba(0,0,0,.3);transition:top .28s,left .28s}
.tr.mid .tr-card{top:50%;left:50%;transform:translate(-50%,-50%)}
/* opened by itself on Home: a card in the corner, nothing behind it is blocked (Grok round 2) */
.tr.mid.free{background:none;pointer-events:none}.tr.mid.free .tr-card{pointer-events:auto;top:auto;left:auto;right:20px;bottom:20px;transform:none;max-height:min(560px,calc(100vh - 100px));border:1px solid var(--line)}
.tr-n{font-size:11.5px;color:var(--muted);font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.tr-card h3{margin:6px 0 6px;font-size:18px;font-weight:650;letter-spacing:-.01em}
.tr-card p{margin:0 0 14px;line-height:1.55;font-size:14px;color:var(--ink)}
.tr-card textarea{width:100%;box-sizing:border-box;margin:0 0 6px}
.tr-msg{display:block;min-height:16px;color:var(--muted);font-size:12.5px;margin-bottom:6px}
.tr-do{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tr-do span{display:flex;gap:8px}
.tr-skip{background:none;border:0;color:var(--muted);font:inherit;font-size:13px;cursor:pointer;padding:6px 0}.tr-skip:hover{color:var(--ink)}
/* guided tours: the picker, and what happens behind a step */
.tr-card{max-height:calc(100vh - 24px);overflow:auto}
.tr-list{display:grid;gap:6px;margin:0 0 12px}
.tr-t{display:grid;grid-template-columns:1fr auto;gap:2px 10px;text-align:start;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:9px 12px;font:inherit;color:var(--ink);cursor:pointer}
.tr-t:hover,.tr-t:focus-visible{border-color:var(--ink)}
.tr-t b{font-weight:600;font-size:14px}.tr-t small{grid-column:1;color:var(--muted);font-size:12.5px;line-height:1.4}
.tr-t i{grid-column:2;grid-row:1/3;align-self:center;font-style:normal;font-size:12px;color:var(--muted);white-space:nowrap}
.tr-t.done i{color:var(--ok,#1a7f4b);font-weight:600}
.tr-more{margin:0 0 12px}.tr-more summary{cursor:pointer;font-size:13px;color:var(--muted);margin-bottom:6px}
.tr-why{display:grid;gap:1px;border-inline-start:3px solid var(--line);padding:2px 0 2px 10px;margin:0 0 10px;font-size:13px;line-height:1.45}
.tr-why b{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:650}
.tr-auto{border-color:#6b5bd6}.tr-told{border-color:#d9822b}.tr-gate{border-color:#c43d3d}
.tr-wiki{display:inline-block;font-size:13px;margin:0 0 12px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
/* the team tour (public/tour.js teamCard, teamCheck, teamFinish): Kasper's words, a story, the part's question and its finish */
.tr .tr-k b{font-weight:650}.tr .tr-story{margin:-4px 0 12px;padding:8px 12px;border-radius:10px;background:var(--soft);font-size:13.5px;line-height:1.45}
.tr .tr-qs{display:flex;flex-direction:column;gap:8px;margin:10px 0}
.tr .tr-q{text-align:left;padding:10px 14px;border-radius:10px;border:1px solid var(--line);background:var(--card,#fff);color:var(--ink);font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.tr .tr-q:hover:not(:disabled){border-color:var(--ink)}.tr .tr-q.ok{background:var(--accent-green-soft,#e2f5ea);border-color:var(--accent-green,#14804a)}.tr .tr-q.no{background:var(--status-stuck-bg,#fbe2ea);border-color:var(--status-stuck-fg,#b01e4f)}
.tr .tr-q:disabled{cursor:default}.tr .tr-qmsg{min-height:1.2em;font-size:13.5px;margin:0 0 10px}.tr .tr-qmsg.ok{color:var(--accent-green,#14804a)}.tr .tr-qmsg.no{color:var(--status-stuck-fg,#b01e4f)}
.tr .tr-fin h3{font-size:20px;line-height:1.3}
@media(max-width:860px){.tr .tr-card,.tr.mid .tr-card{top:calc(12px + env(safe-area-inset-top))!important;left:12px!important;right:12px;bottom:auto;transform:none;width:auto;max-height:70vh;overflow:auto}.tr{background:rgba(12,14,20,.45)}.tr.mid.free{background:none}.tr.mid.free .tr-card{top:auto!important;bottom:calc(84px + env(safe-area-inset-bottom))!important;max-height:55vh}}
.fb-ctx{margin-top:6px;font-size:12.5px;color:var(--muted)}.fb-ctx summary{cursor:pointer}.fb-ctx p{margin:6px 0 2px}.fb-ctx ul,.fb-ctx ol{margin:0;padding-inline-start:20px}.fb-ctx li{margin:1px 0}
.tr-fb textarea{width:100%;box-sizing:border-box;margin-bottom:10px}
/* Feedback's files (Rami, 14 November 2026): Attach files, each file a chip (its picture, name, size or what went wrong, ×), a note's files where notes are read */
.fb-att{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}.fb-att label{cursor:pointer}
.fb-chips{display:flex;flex-wrap:wrap;gap:8px}.fb-chips:not(:empty){margin-bottom:10px}
.fb-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;min-width:0;padding:5px 4px 5px 8px;border-radius:10px;background:var(--soft);font-size:13px}
.fb-chip img{width:32px;height:32px;border-radius:6px;object-fit:cover;flex:none}
.fb-chip>span{display:flex;flex-direction:column;min-width:0}.fb-chip b{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:200px}
.fb-chip small{color:var(--muted);font-size:11.5px}.fb-chip.bad small{color:var(--status-stuck-fg,#b01e4f)}
.fb-chip button{border:0;background:none;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:4px 7px;border-radius:6px;min-height:0}.fb-chip button:hover{background:var(--line)}
.fb-files{display:flex;flex-wrap:wrap;gap:8px;margin:2px 0 6px}.fb-files img{width:96px;height:72px;object-fit:cover;border-radius:8px;display:block}
.fb-files .fb-doc{display:inline-block;padding:6px 10px;border-radius:8px;background:var(--soft);font-size:13px;color:var(--ink)}
/* phone: a long tag in My work wraps instead of pushing the page wider than the screen */
@media(max-width:860px){main .mw-row .wk-chips,main .mw-card .wk-chips{flex-wrap:wrap;min-width:0;max-width:100%}main .mw-row .wk-tag,main .mw-card .wk-tag{white-space:normal;max-width:100%}main .mw-row>span{min-width:0}}
@media(max-width:860px){.tr.low .tr-card{top:auto!important;bottom:calc(16px + env(safe-area-inset-bottom))}.tr:not(.mid){background:none}}
/* phone cards: My work's buttons (Done, Start…) sit in the card, not floated out of it like a row's corner menu */
body.rows-tall.fl-on .page.on .wk-t1 .wk-r1.mw-row>.mw-acts{position:static!important;justify-content:flex-start;margin-top:6px}
/* the Feedback button on every page, while the team tests the Hub; beside Escalate */
.fb-fab{position:fixed;z-index:20;bottom:34px;inset-inline-end:222px;height:36px;box-sizing:border-box;display:flex;align-items:center;gap:7px;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:var(--sheet,#fff);color:var(--ink);font:inherit;font-size:13.5px;font-weight:550;box-shadow:0 6px 18px rgba(0,0,0,.1);cursor:pointer}
.fb-fab svg{width:16px;height:16px;fill:none;stroke:#2563eb;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.fb-fab:hover{border-color:var(--line-2,#d6d6db);box-shadow:0 8px 22px rgba(0,0,0,.14)}
html.sp-docked .fb-fab{display:none}
@media(max-width:860px){.fb-fab{inset-inline-end:16px;bottom:calc(130px + env(safe-area-inset-bottom,0px));height:34px;padding:0 10px}.fb-fab span{display:none}}
/* Admin › Feedback */
.fb-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.fb-top .bk-sp{display:flex;gap:4px}.fb-top .bk-sp button{border:0;background:none;font:inherit;font-size:13.5px;padding:6px 10px;border-radius:8px;color:var(--muted);cursor:pointer}.fb-top .bk-sp button.on{background:var(--panel,#f3f3f5);color:var(--ink);font-weight:600}
.fb-sw{display:flex;align-items:center;gap:8px;font-size:13.5px}
.fb-g{border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
.fb-g header{display:flex;align-items:baseline;gap:10px;padding:10px 14px;background:var(--panel,#f7f7f8);border-bottom:1px solid var(--line)}
.fb-g header b{font-size:14px}.fb-g header a{font-size:12.5px;color:var(--muted)}.fb-g header i{margin-inline-start:auto;font-style:normal;font-size:12px;color:var(--muted)}
.fb-n{display:flex;gap:12px;padding:12px 14px;border-top:1px solid var(--line)}.fb-n:first-of-type{border-top:0}
.fb-n p{margin:0 0 4px;white-space:pre-wrap;line-height:1.5}.fb-n small{color:var(--muted);font-size:12px}
.fb-n.done p{color:var(--muted);text-decoration:line-through}
.fb-read{margin-top:16px}.fb-read #fbRead:not(:empty){margin-top:10px;max-height:50vh;overflow:auto;background:var(--soft);border-radius:10px}
.fb-ck input{width:16px;height:16px;margin-top:3px}
/* missions for the testing week (Home, and a panel from Quick actions) */
.ms{border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin:14px 0;background:var(--sheet,#fff)}
.ms-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.ms-top h3{margin:0;font-size:16px}.ms-top small{color:var(--muted)}
.ms-top .gs-bar{flex:1;min-width:80px;height:6px;border-radius:9px;background:var(--panel,#eee);overflow:hidden}.ms-top .gs-bar i{display:block;height:100%;background:#1f7a4d}
.ms-sub{color:var(--muted);font-size:13px;margin:6px 0 4px}
.ms h4{margin:14px 0 4px;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.ms ol{list-style:none;margin:0;padding:0}
.ms li{display:flex;align-items:center;gap:12px;padding:9px 0;border-top:1px solid var(--line)}
.ms li div{flex:1;min-width:0}.ms li b{display:block;font-size:14px}.ms li small{color:var(--muted);font-size:12.5px;line-height:1.45}
.ms li.done b{color:var(--muted);text-decoration:line-through}
.ms-ck input{width:17px;height:17px}
.ms-c{border:0;padding:0;margin:0}
/* Admin › System › Testing week */
.tw-l{list-style:none;margin:0 0 12px;padding:0}
.tw-l li{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.tw-l li div{flex:1}.tw-l li b{display:block;font-size:13.5px}.tw-l li small{color:var(--muted);font-size:12.5px}
.tw-l i{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:700;flex:none}
.tw-l li.ok i{background:#e7f6ee;color:#1f7a4d}.tw-l li.no i{background:#fdecec;color:#b42318}
.tw-fresh{border:1px solid #f3c9bd;border-radius:12px;padding:12px 14px;display:grid;gap:6px;margin-top:10px}
.tw-fresh small{color:var(--muted);line-height:1.45}.tw-fresh span{display:flex;gap:8px;flex-wrap:wrap}.tw-fresh input{max-width:220px}
.tw-imp{border-color:var(--border,#ddd)}.tw-imp label{display:flex;gap:8px;align-items:center;font-size:13px}.tw-imp input[type=checkbox]{max-width:none}.tw-msg details{margin-top:6px}.tw-msg ul{margin:6px 0 0;padding-inline-start:18px;font-size:12.5px;max-height:240px;overflow:auto}
.tw-msg{font-size:13px;margin:10px 0 0}
/* Bring in from monday (public/mondaypull.js) */
.mp{display:grid;gap:12px}.mp h4{margin:8px 0 0;font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.mp-boards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.mp-board{display:grid;gap:2px;text-align:start;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:none;color:inherit;font:inherit;cursor:pointer}.mp-board:hover{border-color:var(--ink)}.mp-board small{color:var(--muted)}
.mp-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.mp-top b{font-size:17px}
.mp-kind{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.mp-kind span{color:var(--muted);margin-inline-end:4px}
.mp-cols summary{cursor:pointer;font-weight:600}.mp-map{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 12px;margin-top:8px}.mp-map label{display:grid;gap:4px;font-size:13px}
.mp-bar{position:sticky;top:var(--hub-top,0px);z-index:2;background:var(--bg);display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--line)}.mp-bar .find{flex:1;min-width:160px}.mp-bar>span{color:var(--muted);font-size:13px}
.mp-all,.mp-gh{display:flex;align-items:center;gap:8px}.mp-gh{padding:8px 0 4px;font-size:14px}.mp-gh small{color:var(--muted)}
.mp-row{display:flex;gap:10px;align-items:flex-start;padding:8px 4px;border-top:1px solid var(--line);cursor:pointer}.mp-row.off{opacity:.6;cursor:default}
.mp-row>span{display:grid;gap:2px;min-width:0}.mp-row small{color:var(--muted)}.mp-row i{justify-self:start;font-size:11px}.mp-row em{font-style:normal;font-size:12px;color:var(--muted)}
.mp-err{color:var(--bad,#d1242f);margin:0}.mp-busy{color:var(--muted);margin:0}.mp-none{color:var(--muted)}.mp-res details{margin-top:6px;font-size:13px}
/* Bring in from Pipedrive (public/pipedrive.js; 4 November 2026) */
.pd{display:grid;gap:12px}.pd p{margin:0}
.pd-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.pd-steps li{padding:5px 12px;border-radius:999px;background:var(--soft);font-size:13px;color:var(--muted)}.pd-steps li.on{background:var(--ink);color:var(--bg)}.pd-steps li.ok{color:var(--ok-ink,var(--ink))}
.pd-steps button{all:unset;cursor:pointer}.pd-steps button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.pd-up{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pd-file{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:var(--muted)}.pd-file b{color:var(--ink)}
.pd-bar{position:sticky;top:var(--hub-top,0px);z-index:2;background:var(--bg);display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--line)}.pd-bar .find{flex:1;min-width:180px}.pd-bar>span{color:var(--muted);font-size:13px}
.pd-fs{display:flex;gap:6px;flex-wrap:wrap}.pd-fs small{opacity:.7;margin-inline-start:2px}
.pd-list{display:grid;gap:10px}
.pd-line{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel,var(--bg))}.pd-line.pd-todo{border-color:var(--ink)}.pd-line.pd-done{opacity:.7}.pd-line.pd-leave{opacity:.75}
.pd-line header{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.pd-line header b{font-size:16px}.pd-line header small{color:var(--muted)}.pd-n{color:var(--muted);font-size:13px;margin-inline-start:auto}
.pd-ds,.pd-ps{list-style:none;margin:0;padding:0;display:grid;gap:3px}.pd-d{display:flex;gap:8px;align-items:baseline;flex-wrap:wrap;font-size:14px}.pd-d small{color:var(--muted)}.pd-d.won b::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--ok,#1a7f37);margin-inline-end:6px;vertical-align:middle}
.pd-ps{font-size:13px;color:var(--muted)}
.pd-sug,.pd-act,.pd-client,.pd-dup{display:flex;gap:6px;align-items:center;flex-wrap:wrap;font-size:13px}.pd-sug>span,.pd-client>span{color:var(--muted)}
.pd-sug .btn-s{display:inline-flex;gap:6px;align-items:baseline}.pd-sug .btn-s small{opacity:.75}
.pd-dup{background:var(--bad-bg,#fdecea);color:var(--bad-ink,var(--ink));padding:8px 10px;border-radius:10px}
.pd-client.need{background:var(--soft);padding:6px 10px;border-radius:10px}
.pd-ch{font-size:13px;color:var(--muted);margin-inline-end:auto}
.pd-pick{display:grid;gap:8px;padding:10px;border-radius:10px;background:var(--soft)}.pd-opts{display:flex;gap:6px;flex-wrap:wrap}.pd-opts small{opacity:.7}
.pd-need{font-size:13px;color:var(--bad,#d1242f)}
.pd-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}.pd-tile{display:grid;gap:2px;padding:12px;border-radius:12px;background:var(--soft)}.pd-tile b{font-size:24px;line-height:1.1}.pd-tile small{color:var(--muted)}
.pd-probs ul{margin:6px 0 0;padding-inline-start:18px;display:grid;gap:4px}.pd-go{all:unset;cursor:pointer;text-decoration:underline;font-size:13px}.pd-go:focus-visible{outline:2px solid currentColor}
.pd-undo{display:grid;gap:8px;padding:12px 14px;border-radius:12px;background:var(--bad-bg,#fdecea);color:var(--bad-ink,var(--ink))}
.pd-bring{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.pd-bring small{color:var(--muted)}.pd-rep ul{max-height:280px;overflow:auto;font-size:13px}

/* Lists and tables: row and column lines that can be seen (every list carries data-list, so its lines use the stronger colour) */
:root{--grid:#d4d4da}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){--grid:#3b3b42}}
:root[data-theme=dark]{--grid:#3b3b42}
[data-list],.doc-body table,.ut,.ob-t{--line:var(--grid)}
/* Column titles: one line, cut with … when narrow (lists.js puts the title in .lt-tx); they never wrap or change height */
.lt-h{white-space:nowrap}
.lt-tx{display:inline-block;min-width:0;max-width:100%;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;line-height:1.35}
.lt-tx *{display:inline!important;white-space:nowrap}
th.lt-h .lt-tx{max-width:calc(100% - 34px)}
.lt-ar,.lt-cmb{flex:none;vertical-align:middle}
/* The floating buttons (Feedback, Escalate, Kasper) sit bottom right: every page ends with room enough to scroll its last Save clear of them */
@media screen{main{padding-bottom:max(120px,var(--main-pb,0px))!important}}
@media screen and (max-width:860px){main{padding-bottom:calc(190px + env(safe-area-inset-bottom,0px))!important}}
/* The month's plan, when the client has no strategy yet: one note, not empty pillar and series rows */
.sh-nostrat{display:grid;gap:6px;justify-items:start;padding:12px 14px;border-radius:12px;background:var(--soft);font-size:13.5px}
.sh-nostrat span{color:var(--muted);line-height:1.45}.sh-nostrat .btn-s{margin-top:4px}
/* To-dos (public/todos.js) */
.td-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.td-f .ed-f label small{color:var(--muted);font-weight:400}
.td-foot{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
/* a to-do's status, first in its panel, with Done beside it */
.td-state{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:0 0 14px;border-radius:12px;background:var(--soft)}
.td-state span{display:grid;gap:2px}.td-state small{color:var(--muted);font-size:12px}.td-state b{font-size:16px}
.td-state .btn-s{min-height:44px;padding:0 20px;font-size:15px}
.td-state.is-done b{color:var(--ok,#1a7f37)}
@media(max-width:600px){.td-two{grid-template-columns:1fr}}
/* Groups in lists (public/lists.js groupHeads): space between groups, the group's name in its colour, its own column titles, and a
   thin edge in the group's colour down the start of every row, so where one group ends and the next begins reads at a glance. */
[data-list] .bk-g.lt-grp{margin-top:30px}
[data-list] .bk-g.lt-grp:first-child,[data-list] .lt-bar+.bk-g.lt-grp{margin-top:6px}
[data-list] .bk-g.lt-grp>button b{color:color-mix(in srgb,var(--gc) 78%,var(--ink));font-weight:700}
[data-list] .bk-g.lt-grp i{width:5px;height:18px}
[data-list] .lt-ing>:first-child{box-shadow:inset 3px 0 0 var(--gc)}
[dir=rtl] [data-list] .lt-ing>:first-child,[data-list][dir=rtl] .lt-ing>:first-child{box-shadow:inset -3px 0 0 var(--gc)}
[data-list] .head.lt-ing,[data-list] .lt-hclone{background:color-mix(in srgb,var(--gc) 7%,var(--lt-bg,var(--bg)))}
[data-list] .head,[data-list] .lt-hclone{position:relative;z-index:4}
[data-list] .head.lt-pinned,[data-list] .lt-hclone.lt-pinned{background:color-mix(in srgb,var(--gc,var(--muted)) 7%,var(--lt-bg,var(--bg)));box-shadow:0 6px 12px -8px rgba(0,0,0,.25)}
[data-list] .head .lt-stick,[data-list] .lt-hclone .lt-stick{background:inherit}
@media(prefers-reduced-motion:no-preference){[data-list] .head,[data-list] .lt-hclone{will-change:transform}}
/* The row menu (public/rowmenu.js): ⋯ beside the row under the pointer, and its menu */
.rm-dot{position:fixed;z-index:30;width:26px;height:26px;border:1px solid var(--line-2,var(--line));border-radius:8px;background:var(--sheet,var(--bg));color:var(--ink);display:grid;place-items:center;padding:0;cursor:pointer;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.rm-dot svg{width:16px;height:16px;fill:currentColor}
.rm-dot:hover,.rm-dot[aria-expanded="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.rm-dot:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.rm-menu,.rm-sub{position:fixed;z-index:60;min-width:220px;max-width:320px;background:var(--sheet,var(--bg));color:var(--ink);border:1px solid var(--line-2,var(--line));border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.18);padding:6px;display:grid;gap:1px}
.rm-sub{position:absolute;max-height:min(60vh,420px);overflow:auto}
.rm-menu hr{border:0;border-top:1px solid var(--line);margin:5px 6px}
.rm-it{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;font:inherit;font-size:13.5px;color:inherit;text-align:start;padding:8px 10px;border-radius:8px;cursor:pointer}
.rm-it:hover,.rm-it:focus-visible{background:var(--soft);outline:0}
.rm-it span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-it small{color:var(--muted);font-size:12px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-it.bad{color:var(--bad,#c0392b)}
.rm-it.on{font-weight:600}
.rm-i,.rm-ch,.rm-ck{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.rm-i{color:var(--muted)}.rm-it.bad .rm-i{color:inherit}
[dir=rtl] .rm-ch{transform:scaleX(-1)}
.rm-none{margin:6px 10px;color:var(--muted);font-size:13px;max-width:240px}
@media print{.rm-dot,.rm-menu{display:none!important}}
[data-list] .wk-r1.lt-ing>:first-child:not(:has(input[type=checkbox])),[data-list] .ct-tr.lt-ing>:first-child{padding-inline-start:12px}
/* The Wiki (public/wiki.js): a contents rail with search and "For", the article in a reading column */
.wi{display:grid;grid-template-columns:260px minmax(0,1fr);gap:32px;align-items:start}
.wi-rail{position:sticky;top:calc(var(--hub-top,0px) + 16px);max-height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 32px - var(--hub-top,0px));overflow:auto;display:grid;gap:14px;padding-inline-end:4px}
.wi-tools{display:grid;gap:8px}.wi-for{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.wi-for select{flex:1;min-width:0}
.wi-nav h3{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:10px 0 4px;font-weight:700}
.wi-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:1px}
.wi-nav a{display:block;padding:5px 8px;border-radius:8px;color:var(--ink);text-decoration:none;font-size:13.5px;line-height:1.35}
.wi-nav a:hover{background:var(--soft)}.wi-nav a[aria-current]{background:var(--ink);color:var(--bg)}
.wi-main{min-width:0;background:var(--sheet,var(--bg));border-radius:var(--radius-card,18px);padding:28px clamp(18px,4vw,48px) 36px}
.wi-eye{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.wi-art{max-width:78ch}.wi-art h1{margin-top:0}
.wi-art table{display:block;overflow-x:auto;max-width:100%}
.wi-art strong{font-weight:650}
.wi-art a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.wi-pn{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:16px;border-top:1px solid var(--line)}
.wi-pn a{display:grid;gap:2px;text-decoration:none;color:var(--ink);max-width:48%}.wi-pn a small{color:var(--muted);font-size:12px}.wi-pn a.nx{text-align:end;margin-inline-start:auto}
.wi-hits{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:8px}
.wi-hits a{display:grid;gap:3px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:var(--ink)}
.wi-hits a:hover{border-color:var(--ink)}.wi-hits small{color:var(--muted);font-size:12px}.wi-hits span{color:var(--muted);font-size:13.5px}
.wi-hits mark{background:color-mix(in srgb,var(--accent,#b7f04e) 55%,transparent);color:inherit;border-radius:3px}
.wi-links a{display:flex;justify-content:space-between;gap:8px}.wi-links small{color:var(--muted)}
@media(max-width:860px){.wi{grid-template-columns:1fr}.wi-rail{position:static;max-height:none}.wi-nav{display:none}.wi-main{padding:20px 16px}}
/* month posts: add row and Open button */
/* a line no longer opens on a click (its cells are edited in place): the Open button beside its number opens the side panel */
[data-list=posts] .wk-lr{grid-template-columns:30px 60px 48px 150px 104px minmax(220px,2fr) minmax(170px,1.3fr) minmax(150px,1fr) 140px 170px 170px 176px 150px 150px 110px;min-width:1940px}
[data-list=posts] .wk-lr>span:nth-child(3){left:90px}[data-list=posts] .wk-lr>span:nth-child(4){left:138px}
.wk-pt .wk-lr[data-wl]{cursor:default}
.wk-pt .wk-no{justify-content:space-between;gap:2px}
.wk-open{display:inline-grid;place-items:center;width:26px;height:26px;padding:0;flex:none;border:1px solid var(--line-2,var(--line));border-radius:7px;background:var(--panel,var(--bg));color:var(--ink);cursor:pointer;opacity:0}
.wk-open svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wk-open:hover{border-color:var(--ink)}
.wk-lr:hover .wk-open,.wk-lr:focus-within .wk-open,.wk-lr.on .wk-open,.wk-open:focus-visible{opacity:1}
@media(hover:none){.wk-open{opacity:1}}
/* "+ New post": the list's last line, on the list's columns; on a phone the box stays in view while the list scrolls sideways */
.wk-pt .bk-add{height:44px;padding-block:0}
@media(max-width:860px){.wk-pt .bk-add{display:flex}.wk-pt .bk-add>span:not(.bk-add-n){display:none!important}.wk-pt .bk-add .bk-add-n{position:sticky;inset-inline-start:0;flex:0 0 min(100%,calc(100vw - 32px));padding:0 4px}}
/* add rows: branding, sales, clients, to-dos */
.bk-add .bk-add-n input[name=name]{width:100%;height:auto;min-height:30px;cursor:text} /* not the 16px tick box of a list's first column */
.bk-add select,.bk-add input[type=date]{color:var(--muted)}.bk-add select:focus,.bk-add input[type=date]:focus,.bk-add:focus-within select,.bk-add:focus-within input[type=date]{color:var(--ink)}
.bk-add>span:has(.kcp-new){height:auto;flex-direction:column;align-items:stretch;gap:4px;padding-block:6px;overflow:visible}.bk-add:has(.kcp-new){height:auto}
.bk-add .kcp-new{display:grid;gap:4px}.bk-add .kcp-new .find{height:30px;min-height:0;font-size:12.5px}

/* ---------- solid statuses (Monday's way), light and dark, every screen ----------
   A status is a block of colour with white words, centred, no arrow: a quick read of where things are. kit.js puts each status
   dropdown's value in data-sv; read-only status tags use their class.
   :not(#_) makes these rules stronger than the list rules that make fields see-through. Grey: not started · blue: asked for / waiting to start ·
   orange: being worked on · purple: with someone to review (or the client) · red: needs changes, stuck, late · green: done ·
   slate: skipped, cancelled, closed. */
:root{--s-none:#c4c4c4;--s-blue:#579bfc;--s-orange:#fdab3d;--s-purple:#a25ddc;--s-red:#e2445c;--s-green:#00c875;--s-teal:#4eccc6;--s-slate:#797e93;--s-dark-green:#037f4c}
:root.look-night,:root[data-theme="dark"]{--s-none:#5b5f69}
select[data-sv]:not(#_){-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:none!important;text-align:center;text-align-last:center;
  border:0!important;box-shadow:none!important;color:#fff!important;-webkit-text-fill-color:#fff;font-weight:600;padding:0 8px!important;border-radius:6px!important;cursor:pointer;background-color:var(--s-none)!important}
select[data-sv]:not(#_) option{color:var(--ink);-webkit-text-fill-color:var(--ink);background:var(--page,#fff);font-weight:400;text-align:start}
select[data-sv]:not(#_):hover{filter:brightness(1.06)}select[data-sv]:not(#_):focus-visible{outline:2px solid var(--ink);outline-offset:2px}
/* in a list the status fills its cell, edge to edge */
.wk-r1>span:has(>select[data-sv]:not(#_)),.wk-lr>[data-l]:has(>select[data-sv]:not(#_)){padding:3px!important}
.wk-r1>span>select[data-sv]:not(#_),.wk-lr [data-l]>select[data-sv]:not(#_){width:100%!important;max-width:none!important;height:100%!important;min-height:34px}
select[data-sv=requested]:not(#_),select[data-sv=todo]:not(#_),select[data-sv=open]:not(#_),select[data-sv=scheduled]:not(#_),select[data-sv=onboarding]:not(#_),select[data-sv=lead]:not(#_){background-color:var(--s-blue)!important}
select[data-sv=doing]:not(#_),select[data-sv=drafting]:not(#_),select[data-sv=editing]:not(#_),select[data-sv=confirmed]:not(#_),select[data-sv=hold]:not(#_),select[data-sv=paused]:not(#_),select[data-sv=proposal]:not(#_){background-color:var(--s-orange)!important}
select[data-sv=review]:not(#_),select[data-sv=client]:not(#_),select[data-sv=ready]:not(#_),select[data-sv=shot]:not(#_),select[data-sv=interested]:not(#_),select[data-sv=negotiation]:not(#_){background-color:var(--s-purple)!important}
select[data-sv=changes]:not(#_),select[data-sv=stuck]:not(#_),select[data-sv=rework]:not(#_){background-color:var(--s-red)!important}
select[data-sv=approved]:not(#_),select[data-sv=done]:not(#_),select[data-sv=uploaded]:not(#_),select[data-sv=published]:not(#_),select[data-sv=active]:not(#_),select[data-sv=contract]:not(#_){background-color:var(--s-green)!important}
select[data-sv=verified]:not(#_){background-color:var(--s-dark-green)!important}
select[data-sv=meeting]:not(#_){background-color:var(--s-teal)!important}
select[data-sv=skip]:not(#_),select[data-sv=cancelled]:not(#_),select[data-sv=inactive]:not(#_),select[data-sv=archived]:not(#_){background-color:var(--s-slate)!important}
/* read-only status tags: the same colours */
.wk-tag:is(.none,.requested,.doing,.review,.changes,.approved,.stuck,.done,.ok,.confirmed,.open,.waiting,.hot,.warn,.declined){border:0!important;color:#fff!important;font-weight:600;padding:3px 10px}
.wk-tag.none{background:var(--s-none)!important}.wk-tag:is(.requested,.open,.waiting){background:var(--s-blue)!important}.wk-tag:is(.doing,.warn){background:var(--s-orange)!important}
.wk-tag.review{background:var(--s-purple)!important}.wk-tag:is(.changes,.stuck,.hot,.declined){background:var(--s-red)!important}.wk-tag:is(.approved,.done,.ok,.confirmed){background:var(--s-green)!important}
/* who is online (presence.js): a green dot on a person, and "Online now" at the top of Chat */
.cx-live{position:relative}.cx-live::after{content:"";position:absolute;inset-inline-end:-2px;bottom:-2px;width:10px;height:10px;border-radius:50%;background:#00c875;box-shadow:0 0 0 2px var(--page,#fff)}
.cx-online{padding:6px 12px 10px;border-bottom:1px solid var(--line)}.cx-online>small{display:block;color:var(--muted);font-size:11.5px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;margin:2px 0 8px}
.cx-online>div{display:flex;gap:10px;overflow-x:auto;padding-bottom:2px}
.cx-op{display:grid;justify-items:center;gap:4px;background:none;border:0;padding:2px;font:inherit;font-size:11.5px;color:var(--ink);cursor:pointer;min-width:44px}.cx-op:hover span:last-child{text-decoration:underline}
/* a "+ New …" line among phone cards: no table to line up with, so its parts stack inside the screen's width */
.jc-list form.bk-add{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;min-width:0!important;width:auto!important;gap:6px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;margin:6px 0}
.jc-list form.bk-add>span:empty{display:none}.jc-list form.bk-add>.bk-add-n{grid-column:1/-1}.jc-list form.bk-add>span{min-height:0;border:0!important;padding:0!important}
.jc-list form.bk-add,.jc-list form.bk-add>span{height:auto!important;max-height:none!important;overflow:visible!important}
.jc-list form.bk-add :is(input,select){min-height:40px;height:40px!important;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box}
/* a post's fields typed right in its line (the month's list): a plain line of text until you click it */
[data-list=posts] .wk-lr>span:has(>.wk-tx){padding:2px 4px!important}
[data-list=posts] input.wk-tx{width:100%;height:34px;border:0!important;background:transparent!important;font:inherit;font-size:13.5px;padding:0 6px;border-radius:6px;color:var(--ink);text-overflow:ellipsis}
[data-list=posts] input.wk-tx:hover{box-shadow:0 0 0 1px var(--line-2) inset}
[data-list=posts] input.wk-tx:focus{background:var(--page,#fff)!important;box-shadow:0 0 0 2px var(--ink) inset;outline:0}
[data-list=posts] input.wk-tx::placeholder{color:var(--faint,#9a9ea6)}




.wk-edc{position:relative;overflow:visible!important}.wk-edb{width:100%;justify-content:center}
.wk-edpop{position:absolute;top:calc(100% + 4px);inset-inline-end:0;z-index:30;width:300px;display:grid;gap:8px;padding:10px;cursor:default}
.wk-edpop textarea{width:100%;box-sizing:border-box}
/* every list (inline.js): a field typed right in a line is a plain line of text until it is pointed at or clicked; an item's name
   keeps its link, with a pencil beside it that turns it into a box in place */
:is(.wk-r1,.ct-tr,.jc,.wk-jd) input.wk-tx{width:100%;min-width:0;height:32px;border:0!important;background:transparent!important;font:inherit;font-size:13.5px;padding:0 6px;border-radius:6px;color:var(--ink);text-overflow:ellipsis;box-shadow:none}
:is(.wk-r1,.ct-tr,.jc,.wk-jd) input.wk-tx:hover{box-shadow:0 0 0 1px var(--line-2,#d6d8dc) inset}
:is(.wk-r1,.ct-tr,.jc,.wk-jd) input.wk-tx:focus{background:var(--page,#fff)!important;box-shadow:0 0 0 2px var(--ink) inset;outline:0}
:is(.wk-r1,.ct-tr,.jc,.wk-jd) input.wk-tx::placeholder{color:var(--faint,#9a9ea6)}
.wk-r1>span:has(>input.wk-tx),.wk-r1>span:has(>.wk-renbox){padding-block:2px!important}
.wk-ren{display:inline-flex;align-items:center;vertical-align:middle;opacity:0;flex:none}.wk-ren svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
:is(.wk-r1,.ct-tr,.jc):hover .wk-ren,.wk-ren:focus-visible{opacity:1}
@media(hover:none){.wk-ren{opacity:.7}}
.wk-renbox{font-weight:600}
.wk-cell2{display:flex;align-items:center;gap:2px;min-width:0}.wk-cell2>a,.wk-cell2>button.mw-open{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* the clients list: the name and its pencil share the first cell */
.ct-nmw{display:flex;align-items:center;gap:2px}.ct-nmw>a.ct-name{position:static;padding:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ct-nmw:hover>a.ct-name:not(:hover) b{text-decoration:none}
/* a step ticked right in a shoot's line, and a link pasted there */
.sh-tk{display:flex;justify-content:center}.sh-tk input{width:18px;height:18px}
/* a sales deal's next step: ticked done from the line */
.sl-next .sl-ndone{width:16px;height:16px;margin:0 4px 0 0;flex:none}
/* a job's own details, opened under its line: its details and reference link, changed there (kept on several lines) */
.wk-jd .wk-jdf{display:grid;gap:4px;width:min(680px,100%);margin:0}.wk-jdf>span:first-child{font-size:12px;color:var(--muted);font-weight:600}
.wk-jdf :is(textarea,input).find{width:100%!important;max-width:none!important;box-sizing:border-box;border:1px solid var(--line)!important;background:var(--page,#fff)!important;border-radius:8px!important;padding:8px 10px!important;min-height:38px;font-size:13.5px;color:var(--ink)}
/* a box's height is never forced on a text box: dragging its corner sets it (Rami, 15 October 2026) */
.wk-jdf input.find{height:auto!important}
.wk-jdf textarea.find{min-height:76px;resize:vertical}.wk-jdf .sd-link{display:flex;gap:6px;align-items:center}
.jc-list .wk-jd{min-width:0;max-width:100%;padding-inline-start:12px;overflow-x:auto;box-sizing:border-box}

/* the gates before Send to client, in the month's Checks panel */
.wk-gates{border-top:1px solid var(--line);margin-top:8px;padding-top:8px;display:grid;gap:6px}
.wk-gh2{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.wk-gate{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;font-size:13px}
.wk-gate span{display:grid;gap:2px}.wk-gate small{color:var(--muted)}.wk-gate.shut b{color:var(--ink)}
.wk-gok{color:var(--s-green,#1f9d55);font-style:normal;font-weight:700;text-align:center}
.wk-glk{color:var(--s-red,#d64545);display:flex;justify-content:center}.wk-glk .ni,.wk-ckb .ni{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2}
.wk-ckb.locked{display:inline-flex;align-items:center;gap:6px}
/* Admin › Work › Steps and gates */
.wk-garea{display:grid;gap:2px;padding:10px 0;border-top:1px solid var(--line)}.wk-garea>b{font-size:13px;margin-bottom:4px}
.wk-grow{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;align-items:start;font-size:13.5px;padding:5px 0}
.wk-grow span{display:grid;gap:2px}.wk-grow small{color:var(--muted)}.wk-grow input{margin-top:3px}

.ps-r>span>input[type=checkbox]:not(#_){width:16px!important;flex:0 0 16px}
/* The client rail (rail.js): every client A–Z beside a list area's page */
main.has-rail{display:grid;grid-template-columns:216px minmax(0,1fr);column-gap:22px;align-items:start}
main.has-rail>:not(#cRail){grid-column:2;min-width:0}
.crail{grid-column:1;grid-row:1/span 40;position:sticky;top:calc(var(--hub-top,0px) + 12px);height:calc(calc(var(--vh, 100vh) / var(--z, 1)) - 70px - var(--hub-top,0px));box-sizing:border-box;display:flex;flex-direction:column;gap:8px;padding:4px 14px 8px 0;border-right:1px solid var(--line);min-width:0}
.crail-h{display:flex;align-items:center;justify-content:space-between;gap:8px}.crail-h b{font-size:14px}
.crail-h .wk-sbar button{padding:3px 9px;font-size:12px}
.crail-q:not(#_){width:100%;max-width:100%;box-sizing:border-box;height:32px;font-size:13px}
.crail-l{overflow:auto;display:flex;flex-direction:column;gap:1px;margin:0 -6px;padding:0 6px 8px}
.crail-l button{display:flex;align-items:center;gap:9px;width:100%;text-align:left;border:0;background:transparent;color:var(--ink);font:inherit;font-size:13.5px;padding:6px 8px;border-radius:8px;cursor:pointer}
.crail-l button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.crail-l button i{flex:0 0 22px;height:22px;border-radius:6px;display:grid;place-items:center;font-style:normal;font-size:11px;font-weight:600;background:var(--panel-2,rgba(127,127,127,.12));color:var(--muted)}
.crail-l button:hover{background:var(--hover,rgba(127,127,127,.1))}
.crail-l button.on{background:var(--ink);color:var(--bg)}.crail-l button.on i{background:rgba(255,255,255,.18);color:inherit}
.crail-none{color:var(--muted);font-size:13px;padding:6px 8px}
@media (max-width:900px){main.has-rail{display:block}.crail{position:static;border:0;padding:0;height:auto;margin-bottom:10px}
  .crail-m{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted)}.crail-m select:not(#_){flex:1;min-width:0;width:auto}}
.crail-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:var(--panel-2,rgba(127,127,127,.12));font-size:13px;font-weight:600;margin-left:8px}
#cRail input.crail-q:not(#_){width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
/* Light ↔ dark (app.js flipTheme): a circle of the new look spreading from the button; a colour fade where that is not possible */
html.theme-vt::view-transition-old(root),html.theme-vt::view-transition-new(root){animation:none;mix-blend-mode:normal}
html.theme-vt::view-transition-new(root){animation:theme-in .2s linear both}
@keyframes theme-reveal{from{clip-path:circle(0 at var(--tx,50%) var(--ty,50%))}to{clip-path:circle(150vmax at var(--tx,50%) var(--ty,50%))}}
html.theme-anim body{transition:background-color .2s linear,color .2s linear!important}
.crail-r{display:flex;align-items:center;gap:2px}.crail-r>button[data-rail]{flex:1;min-width:0}
.crail-l .crail-x{flex:0 0 26px;width:26px;justify-content:center;padding:4px 0;color:var(--muted);opacity:0;font-size:16px}
.crail-r:hover .crail-x,.crail-l .crail-x:focus-visible{opacity:1}.crail-l .crail-x:hover{color:var(--s-red,#d64545)}
@media (hover:none){.crail-l .crail-x{opacity:.6}}
.crail-add{display:grid;gap:6px;padding-top:6px;border-top:1px solid var(--line)}.crail-add select:not(#_){width:100%;min-width:0}
.crail-add>button{justify-self:start}.crail-err{color:var(--s-red,#d64545);font-size:12.5px;margin:0}

/* the Strategy board's discovery statuses (worked out from the answers): solid like every other status */
.wk-tag.sv-todo:not(#_),.wk-tag.sv-doing:not(#_),.wk-tag.sv-done:not(#_){display:inline-flex;justify-content:center;min-width:120px;padding:5px 10px;border-radius:6px;border:0;color:#fff;font-style:normal;font-weight:600;font-size:12.5px}
.wk-tag.sv-todo:not(#_){background:var(--s-none,#c4c7cc);color:var(--ink)}.wk-tag.sv-doing:not(#_){background:var(--s-orange,#e8912d)}.wk-tag.sv-done:not(#_){background:var(--s-green,#2fa36b)}
.sg-r{--c:minmax(170px,1.3fr) minmax(170px,1.2fr) 170px minmax(130px,1fr) minmax(120px,.8fr) 80px;grid-template-columns:var(--c);min-width:900px;height:auto;min-height:48px}.sg-r>span{display:flex;align-items:center;gap:6px;min-width:0;padding-right:8px}.sg-r select{width:100%}
.wk-tag.sv-todo::before,.wk-tag.sv-doing::before,.wk-tag.sv-done::before{display:none!important}
/* every list group in its own container (kit.js group): the header, its rows and its + New line, apart from the next group */
.bk-gbox{display:block;min-width:min-content;margin:14px 0 0;padding:2px 10px 10px;border:1px solid var(--line);border-radius:14px;background:var(--bg)}
.bk-gbox:first-child{margin-top:4px}
.bk-gbox>.wk-gh:not(#_){margin-top:4px!important;background:transparent!important;box-shadow:none!important}
.bk-gbox>.wk-gh+*{margin-top:2px}
.bk-gbox>:last-child{border-bottom-left-radius:8px;border-bottom-right-radius:8px}
html[data-theme=dark] .bk-gbox,html:not([data-theme=light]) .bk-gbox{border-color:var(--line)}
@media (max-width:860px){.bk-gbox{padding:2px 6px 8px;border-radius:12px;margin-top:12px}}
.ov-boards{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px}.ov-boards small{color:var(--muted);margin-right:4px}
/* ---- One frame for every list area: the toolbar's pieces always the same size and in the same order ---- */
/* the toolbar in two rows (kit.js bar): view switch | tools on one line that never wraps, then the board's own choices */
.bk-bar:not(#_){display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px 12px;padding-bottom:12px;margin-bottom:6px}
.bk-bar>.bk-l,.bk-bar>.bk-sub{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
.bk-bar>.bk-l:empty{display:none}.bk-bar>.bk-l:empty+.bk-r{grid-column:1/-1}
.bk-bar>.bk-r:not(#_){display:flex;flex-wrap:nowrap;align-items:center;gap:8px;justify-self:end;min-width:0;margin:0;max-width:100%}
.bk-bar>.bk-sub{grid-column:1/-1}
.bk-bar>.bk-r>.bk-q:not(#_){flex:0 1 220px;min-width:110px;width:0}
.bk-bar>.bk-r>*{flex:none}
.bk-bar :is(.btn-s,.bk-q,.wk-sbar,.bk-grp select,.bk-when>button,.bk-jump>summary):not(#_){height:36px;box-sizing:border-box}
.bk-bar .wk-sbar:not(#_){display:inline-flex;align-items:center}.bk-bar .wk-sbar button:not(#_){height:30px}
.bk-grp{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--muted)}.bk-grp select:not(#_){width:auto;min-width:120px;padding-inline:10px}
/* Filter · Columns · Views, then ⋯: one order whoever adds them (a board's own Filter, or lists.js) */
.bk-f:not(#_){display:inline-flex;align-items:center;gap:8px}
.bk-f>:is(.wk-ck,.lt-fw,.ob-filt){order:1}.bk-f :is(.lt-cw,.ct-colw){order:2}.bk-f .lt-vw{order:3}
.bk-f>.lt-bar.in{display:contents}.bk-f>.lt-bar.in>.lt-fw{order:1}.bk-f>.lt-bar.in>.lt-cw{order:2}.bk-f>.lt-bar.in>.lt-vw{order:3}.bk-f .lt-sc{order:0}
.bk-r>.bk-more{order:9}
.bk-more>summary{position:relative}.bk-dot{position:absolute;top:5px;right:5px;width:8px;height:8px;border-radius:50%;background:var(--s-red,#d64545)}
.bk-f>.ob-who:not(#_){order:1;width:auto;max-width:190px;height:36px;box-sizing:border-box}.cov .ob-foot{display:block;margin-top:10px}
@media(max-width:860px){.bk-bar>.bk-r:not(#_){flex-wrap:wrap;justify-content:flex-end}}
/* the filter column (rail.js): pick what it shows, then the values with their counts */
.crail-h small{font-size:12px;color:var(--muted)}
.crail.fa .fa-col:not(#_){width:100%;min-width:0;height:34px;box-sizing:border-box;font-size:13px}
.crail-l.fa-l button i{font-size:12px;background:transparent;border:1.5px solid var(--line);color:inherit}
.crail-l.fa-l button.on i{background:transparent;border-color:currentColor}
.crail-l.fa-l button em{margin-inline-start:auto;font-style:normal;font-size:12px;color:var(--muted);padding-inline-start:6px}.crail-l.fa-l button.on em{color:inherit;opacity:.75}
.crail .fa-x,.crail .fa-open{border:0;background:transparent;color:var(--muted);font:inherit;font-size:18px;line-height:1;width:28px;height:28px;border-radius:8px;cursor:pointer}
.crail .fa-x:hover,.crail .fa-open:hover{background:var(--hover,rgba(127,127,127,.1));color:var(--ink)}
.crail .fa-open{position:relative}.crail .fa-open .bk-dot{top:2px;right:2px}
.crail .fa-clr{align-self:flex-start}
main.has-rail.rail-shut{grid-template-columns:28px minmax(0,1fr)}main.has-rail.rail-shut>.crail{padding-inline-end:0;border-right:0}
@media (max-width:900px){.crail.fa .crail-m .fa-col:not(#_){flex:0 0 auto;width:auto;max-width:42%}}
.bk-bar>.lt-sc{grid-column:1/-1;order:9;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.bk-bar>.lt-sc:empty{display:none}
/* Strategy as cards (modules.js): one card per client, four pills */
.sg-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:12px;padding-top:4px}
.sg-card{border:1px solid var(--line);border-radius:14px;padding:14px;background:var(--bg);display:flex;flex-direction:column;gap:12px;min-width:0}
.sg-card header{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.sg-card header a{color:var(--ink);text-decoration:none;font-size:15px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sg-card header a:hover{text-decoration:underline}
.sg-card header small{color:var(--muted);font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-pills{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sg-pc{display:flex;flex-direction:column;gap:5px;min-width:0}
.sg-pill{--pc:var(--muted);display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:52px;box-sizing:border-box;padding:8px 11px;border-radius:12px;text-decoration:none;color:var(--ink);background:color-mix(in srgb,var(--pc) 14%,transparent);border:1.5px solid color-mix(in srgb,var(--pc) 45%,transparent);min-width:0}
.sg-pill span{font-size:13px;font-weight:600;line-height:1.25}
.sg-pill small{font-size:11.5px;color:color-mix(in srgb,var(--pc) 70%,var(--ink));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-pill:hover{filter:brightness(.97)}
.sg-pill.t-orange{--pc:var(--s-orange,#e8912d)}.sg-pill.t-green{--pc:var(--s-green,#2fa36b)}.sg-pill.t-blue{--pc:var(--s-blue,#2f7de1)}.sg-pill.t-purple{--pc:var(--s-purple,#8b5cf6)}
.sg-pill.add{flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;background:transparent;border:1.5px dashed var(--line);color:var(--muted)}
.sg-pill.add i{font-style:normal;font-size:16px;line-height:1;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;border:1.5px dashed currentColor;flex:none}
.sg-pill.add span{font-weight:500}
.sg-pill.add:hover{color:var(--ink);border-color:var(--muted);filter:none}
.sg-pc .sg-set:not(#_){height:28px;font-size:12px;padding:0 8px;width:100%;min-width:0;box-sizing:border-box}
@media (max-width:340px){.sg-pills{grid-template-columns:1fr}}
@media (max-width:860px){.bk-bar>.bk-r>.bk-q:not(#_){flex:1 1 140px;width:auto}.bk-bar>.bk-l:empty+.bk-r:not(#_){justify-self:stretch}}
button.sg-pill{font:inherit;text-align:start;cursor:pointer;width:100%}
.sg-tag{--pc:var(--muted);display:inline-flex;flex-direction:column;gap:1px;padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:600;text-decoration:none;color:color-mix(in srgb,var(--pc) 75%,var(--ink));background:color-mix(in srgb,var(--pc) 14%,transparent);max-width:100%}
.sg-tag small{font-weight:400;font-size:11px;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-tag.add{background:transparent;border:1.5px dashed var(--line);color:var(--muted);font-weight:500}.sg-tag.add:hover{color:var(--ink);border-color:var(--muted)}
.sg-tag.t-orange,.sg-cell.t-orange{--pc:var(--s-orange,#e8912d)}.sg-tag.t-green,.sg-cell.t-green{--pc:var(--s-green,#2fa36b)}.sg-tag.t-blue,.sg-cell.t-blue{--pc:var(--s-blue,#2f7de1)}.sg-tag.t-purple,.sg-cell.t-purple{--pc:var(--s-purple,#8b5cf6)}
.md-sg .sg-cell:not(#_){--pc:var(--muted);height:30px;font-size:12.5px;font-weight:600;border-radius:999px;padding:0 26px 0 10px;width:auto;min-width:0;max-width:calc(100% - 26px);background-color:color-mix(in srgb,var(--pc) 14%,transparent);color:color-mix(in srgb,var(--pc) 75%,var(--ink))}
.md-sg .sg-go{color:var(--muted);text-decoration:none;font-size:13px;padding:2px 4px;border-radius:6px}.md-sg .sg-go:hover{color:var(--ink);background:var(--hover,rgba(127,127,127,.1))}
.sg-pn{display:grid;gap:14px}.sg-pn p{margin:0}.sg-pn .sg-tag{display:inline-flex}
.sg-pst{display:flex;flex-wrap:wrap;gap:6px}
.sg-pn>a.btn-s{justify-self:start}
button.sg-tag{border:0;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;text-align:start}button.sg-tag:hover{filter:brightness(.96)}
/* Every control in a list cell looks the same (Rami, October 2026: "drop down cells … must be the same"; Sales is the reference):
   a dropdown, a box to type in or a date is one filled field, the same height and corners in every list; a status is one solid
   block filling its cell, whether it can be changed there or only shown */
.wk-r1>span :is(select.find,input.find:not([type=checkbox]):not([type=radio])):not([data-sv]):not(#_){height:34px;min-height:34px;border-radius:8px;font-size:13px;box-sizing:border-box}
.wk-r1>span:has(>i.wk-tag:only-child:is(.none,.requested,.doing,.review,.changes,.approved,.stuck,.done,.ok,.confirmed,.open,.waiting,.declined)):not(#_){padding:3px!important}
.wk-r1>span>i.wk-tag:only-child:is(.none,.requested,.doing,.review,.changes,.approved,.stuck,.done,.ok,.confirmed,.open,.waiting,.declined):not(#_){display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:34px;box-sizing:border-box;border-radius:6px!important;font-size:13.5px!important;font-weight:600!important;letter-spacing:normal!important;font-style:normal;padding:0 8px!important}
.wk-r1>span>i.wk-tag:only-child::before{display:none!important}
/* the toolbar never runs past its card: on a narrow card Filter and Columns show only their icons */
.bk-bar{container-type:inline-size}
@container (max-width:560px){.bk-f :is(.lt-fb,.lt-cb)>span,.bk-f .ct-colw>button{font-size:0}.bk-f :is(.lt-fb,.lt-cb)>span:not(:empty)::after{content:none}.bk-f :is(.lt-fb,.lt-cb){gap:0;padding-inline:10px}}
/* the tools on the right always fit; when space runs out the view switch on the left scrolls sideways instead */
.bk-bar:not(#_){grid-template-columns:fit-content(55%) minmax(min-content,1fr)}
.bk-bar>.bk-l:not(#_){flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.bk-bar>.bk-l::-webkit-scrollbar{display:none}
.bk-bar>.bk-l>*{flex:none}
/* the social media planner's calendar (posts.js): a month, the week from Sunday; each day its posts as cards */
.pc-un{border:1.5px dashed var(--line);border-radius:12px;padding:10px 12px;margin:4px 0 12px;display:grid;gap:6px}
.pc-un>b{font-size:13px}.pc-un>small{color:var(--muted);font-size:12px}
.pc-unl{display:flex;flex-wrap:wrap;gap:8px}.pc-unl .pc-card{width:180px}
.pc-un.drop{border-color:var(--ink);background:var(--hover,rgba(127,127,127,.06))}
.pc-grid{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.pc-wh,.pc-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.pc-wh span{padding:8px 10px;font-size:12px;font-weight:600;color:var(--muted);border-bottom:1px solid var(--line);background:var(--panel-2,rgba(127,127,127,.06))}
.pc-day{min-height:118px;padding:6px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:6px;min-width:0;background:var(--bg)}
.pc-day:nth-child(7n){border-right:0}
.pc-day.out{background:var(--panel-2,rgba(127,127,127,.05))}.pc-day.out .pc-dh span{opacity:.5}
.pc-day.drop{outline:2px solid var(--ink);outline-offset:-2px}
.pc-dh{display:flex;align-items:center;justify-content:space-between;font-size:12.5px;font-weight:600;padding:0 2px}
.pc-day.today .pc-dh span{background:var(--ink);color:var(--bg);border-radius:999px;min-width:22px;height:22px;display:grid;place-items:center;padding:0 6px}
.pc-add{border:0;background:transparent;color:var(--muted);font:inherit;font-size:16px;line-height:1;width:24px;height:24px;border-radius:6px;cursor:pointer;opacity:0}
.pc-day:hover .pc-add,.pc-add:focus-visible{opacity:1}.pc-add:hover{background:var(--hover,rgba(127,127,127,.12));color:var(--ink)}
@media (hover:none){.pc-add{opacity:.7}}
.pc-card{--pc:var(--s-none);display:flex;flex-direction:column;gap:4px;width:100%;text-align:start;font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-left:4px solid var(--pc);border-radius:8px;padding:6px 8px;cursor:grab;min-width:0}
.pc-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.08)}.pc-card.dragging{opacity:.4}
.pc-card.t-blue{--pc:var(--s-blue)}.pc-card.t-orange{--pc:var(--s-orange)}.pc-card.t-purple{--pc:var(--s-purple)}.pc-card.t-red{--pc:var(--s-red)}.pc-card.t-green{--pc:var(--s-green)}
.pc-pic{display:block;border-radius:5px;overflow:hidden;aspect-ratio:4/5;max-height:96px;background:var(--panel-2,rgba(127,127,127,.08))}.pc-pic img{width:100%;height:100%;object-fit:cover;display:block}
.pc-t{display:flex;justify-content:space-between;gap:6px;font-size:11.5px;min-width:0}.pc-t b{font-weight:600}.pc-t i{font-style:normal;color:color-mix(in srgb,var(--pc) 70%,var(--ink));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-c{font-size:12px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}
.pc-new{display:grid;gap:4px}.pc-new .find:not(#_){height:30px;font-size:12.5px;width:100%;min-width:0}
/* a phone: a real month grid; each day's posts are coloured dots, and the picked day's posts are listed under the grid */
@media (max-width:860px){.pc-wh span{padding:6px 2px;text-align:center;font-size:11px}.pc-day{min-height:54px;padding:4px 3px;flex-direction:row;flex-wrap:wrap;align-content:flex-start;gap:3px;cursor:pointer}
  .pc-day .pc-dh{width:100%;justify-content:center;font-size:12px}.pc-day .pc-add{display:none}
  .pc-grid .pc-day .pc-card{width:8px;height:8px;min-width:0;padding:0;border:0;border-radius:50%;background:var(--pc);font-size:0;pointer-events:none;flex:none}
  .pc-grid .pc-day .pc-card>*{display:none}.pc-day.sel{outline:2px solid var(--ink);outline-offset:-2px}
  .pc-sel{display:grid;gap:8px;margin-top:12px}.pc-selh{display:flex;align-items:center;justify-content:space-between;gap:8px}}
.pc-wd{display:none}
@media (max-width:860px){.bk-bar:not(#_){grid-template-columns:auto minmax(0,1fr)}.bk-bar>.bk-l:not(#_){overflow:visible}}
.pc-tap{display:none}@media (hover:none){.pc-hov{display:none}.pc-tap{display:block}.pc-un.pc-none{display:none}}
/* no coloured side bars (Rami, October 2026: "i really dont like how you create that side color highlight"): a row has no colour
   edge, a group (and a board column) shows its colour as a small dot beside its name, a calendar card shows its status as a dot */
[data-list] .lt-ing>:first-child:not(#_),[dir=rtl] [data-list] .lt-ing>:first-child:not(#_){box-shadow:none}
[data-list] .wk-r1.lt-ing>:first-child:not(:has(input[type=checkbox])):not(#_),[data-list] .ct-tr.lt-ing>:first-child:not(#_){padding-inline-start:8px}
[data-list] .head.lt-ing:not(#_),[data-list] .lt-hclone:not(#_){background:var(--lt-bg,var(--bg))}
.wk-gh i:not(#_),.bk-ch i:not(#_),[data-list] .bk-g.lt-grp i:not(#_){width:8px;height:8px;border-radius:50%;flex:none}
.pc-card:not(#_){border-left:1px solid var(--line)}
.pc-t i{display:inline-flex;align-items:center;gap:5px}.pc-t i::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--pc);flex:none}
/* the planner's feed (posts.js): the client's grid as it will look, a phone's width */
.pf-wrap{display:flex;flex-direction:column;align-items:center;gap:10px;padding:8px 0 4px}
.pf-phone{width:min(100%,430px);border:1px solid var(--line);border-radius:18px;padding:14px 10px 10px;background:var(--bg)}
.pf-head{display:flex;align-items:center;gap:12px;padding:0 4px 12px}.pf-head b{display:block;font-size:15px}.pf-head small{color:var(--muted);font-size:12px}
.pf-av{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:20px;background:var(--panel-2,rgba(127,127,127,.12));flex:none}
.pf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.pf-t{position:relative;aspect-ratio:4/5;border:0;padding:0;margin:0;background:var(--panel-2,rgba(127,127,127,.1));cursor:grab;overflow:hidden;font:inherit;color:var(--ink)}
.pf-t img{width:100%;height:100%;object-fit:cover;display:block}
.pf-t.nopic{display:flex;align-items:center;justify-content:center;padding:8px}
.pf-cap{font-size:11px;line-height:1.3;color:var(--muted);display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;text-align:center}
.pf-mk{position:absolute;top:6px;right:6px;width:18px;height:18px}.pf-mk svg{width:18px;height:18px;fill:#fff;stroke:#fff;stroke-width:1.5;filter:drop-shadow(0 1px 2px rgba(0,0,0,.5))}
.pf-play{position:absolute;top:6px;right:6px;display:inline-flex;align-items:center;gap:4px;height:26px;min-width:26px;padding:0 5px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;cursor:pointer;z-index:2;transition:padding .15s ease,background .15s ease}
.pf-play svg{width:16px;height:16px;fill:#fff;flex:none}.pf-play b{font-size:12px;font-weight:600;max-width:0;overflow:hidden;white-space:nowrap;transition:max-width .15s ease}
.pf-play:hover,.pf-play:focus-visible{background:rgba(0,0,0,.8);padding:0 9px 0 6px}.pf-play:hover b,.pf-play:focus-visible b{max-width:40px}
@media (hover:none){.pf-play{height:30px;min-width:30px;padding:0 9px 0 7px}.pf-play b{max-width:40px}}
.pf-t.nopic .pf-mk svg{fill:var(--muted);stroke:var(--muted);filter:none}
.pf-d{--pc:var(--s-none);position:absolute;left:4px;bottom:4px;display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:600;padding:2px 6px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff}
.pf-d i{width:6px;height:6px;border-radius:50%;background:var(--pc)}
.pf-d.t-blue{--pc:var(--s-blue)}.pf-d.t-orange{--pc:var(--s-orange)}.pf-d.t-purple{--pc:var(--s-purple)}.pf-d.t-red{--pc:var(--s-red)}.pf-d.t-green{--pc:var(--s-green)}
.pf-t.past{opacity:.8}.pf-t.dragging{opacity:.4}.pf-t.drop{outline:3px solid var(--ink);outline-offset:-3px}
.pf-note{color:var(--muted);font-size:12px;margin:0;text-align:center}
.pf-hint{display:block;color:var(--muted);font-size:12px;margin-top:4px;line-height:1.4}
/* Green Invoice on a client's Details and Sales tabs (public/greeninvoice.js) */
.gi-on{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-radius:10px;background:var(--surface-2,rgba(0,0,0,.04))}
.gi-res{display:grid;gap:4px;margin-top:6px}.gi-pick{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;text-align:start;cursor:pointer}.gi-pick:hover,.gi-pick:focus-visible{background:var(--surface-2,rgba(0,0,0,.05))}
.gi-t{width:100%}.gi-t td:last-child{text-align:end}.gi-t td,.gi-t th{white-space:nowrap}.gi-list{overflow-x:auto}
.sg-pill.add.need:not(#_){border-color:color-mix(in srgb,var(--s-orange) 70%,transparent);color:var(--ink)}.sg-pill.add.need i{border-color:var(--s-orange);color:var(--s-orange)}
.sg-pill.add.need small{display:block;font-size:11px;font-weight:600;color:var(--s-orange)}
.sg-tier{font-style:normal;font-size:11px;font-weight:600;padding:1px 7px;border-radius:999px;background:var(--panel-2,rgba(127,127,127,.12));color:var(--ink);margin-inline-end:6px}

/* A month's bar in a client's posts (posts.js monthBar): Brief and Plan, the checks, the client's side and Send. It stays in view
   while the list scrolls sideways (the list is its container), and wraps on narrow screens. Light and dark from the tokens. */
.ps .wk-t1{container-type:inline-size}
.mb-bar{position:sticky;left:10px;width:calc(100cqw - 20px);box-sizing:border-box;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding:8px 10px 10px}
.mb-track{display:flex;align-items:center;flex-wrap:wrap;gap:6px;flex:0 1 auto;min-width:0}
.mb-sep{width:1px;height:20px;background:var(--line);margin:0 4px}
.mb-c{--pc:var(--s-none,#c4c7cc);display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px 0 5px;border:1px solid var(--line);border-radius:999px;background:var(--card,var(--bg));color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.mb-c:hover{border-color:var(--muted)}
.mb-c:focus-visible,.mb-open:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.mb-c i{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:10px;font-weight:700;color:#fff;background:var(--pc)}
.mb-c i.t-green{--pc:var(--s-green,#2fa36b)}.mb-c i.t-blue{--pc:var(--s-blue,#2f7de1)}.mb-c i.t-purple{--pc:var(--s-purple,#8b5cf6)}.mb-c i.t-orange{--pc:var(--s-orange,#e8912d)}.mb-c i.t-none{--pc:var(--s-none,#c4c7cc)}
.mb-c.add{border-style:dashed;color:var(--muted);font-weight:500;padding:0 10px}
.mb-end{display:flex;align-items:center;gap:8px;margin-left:auto}
.mb-st{--pc:var(--s-none,#c4c7cc);height:28px;display:inline-flex;align-items:center;padding:0 10px;border-radius:7px;font-size:12.5px;font-weight:600;font-style:normal;white-space:nowrap;background:color-mix(in srgb,var(--pc) 18%,transparent);color:color-mix(in srgb,var(--pc) 60%,var(--ink))}
.mb-st.t-green{--pc:var(--s-green,#2fa36b)}.mb-st.t-blue{--pc:var(--s-blue,#2f7de1)}.mb-st.t-purple{--pc:var(--s-purple,#8b5cf6)}.mb-st.t-none{--pc:var(--muted)}
.mb-send{height:28px;white-space:nowrap}
.mb-open{font-size:12.5px;color:var(--muted);text-decoration:none;white-space:nowrap}.mb-open:hover{color:var(--ink)}
.mb-pn .ed-f{margin-top:12px}.mb-pn .ed-f label{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.mb-pn textarea,.mb-pn input{width:100%;box-sizing:border-box}
.mb-pn .sub{margin:8px 0 0}
.mb-pact{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px}.mb-saved{font-size:13px;color:var(--ok,#1f7a46);font-weight:500}.mb-saved:empty{display:none}
@media (max-width:860px){.mb-bar{left:6px;width:calc(100cqw - 12px);padding:8px 4px 10px}.mb-end{margin-left:0;width:100%}.mb-open{margin-left:auto}}

/* the Campaigns board (campaigns.js): one line per campaign, as every list */
.cp-r{--c:minmax(220px,1.6fr) 160px 150px 150px 150px 120px 140px 170px 170px 120px 80px;grid-template-columns:var(--c);min-width:1620px;min-height:48px;height:auto}
.cp-r>span{display:flex;align-items:center;gap:6px;min-width:0;padding-right:8px}.cp-r>span>:is(input,select):not(#_){width:100%;min-width:0;flex:1 1 auto}
.cp-name{all:unset;cursor:pointer;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cp-name:hover b{text-decoration:underline}.cp-name:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:4px}
.cp-bud small{color:var(--muted);font-size:12.5px}.cp-dash{color:var(--muted);font-size:12.5px}
.cp-pn .ed-f{margin-top:12px}.cp-pn .ed-f label{display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.cp-pn :is(textarea,input,select){width:100%;box-sizing:border-box}
/* The client's page, October 2026: Contacts in one column; the discovery's answers beside the fields they belong to; Strategy's
   Voice and rules and Files' links as cards inside their tab; the Overview's person to call */
.pf.pf-one{max-width:860px;display:grid;gap:14px}
.pf-one .pf-sec{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-card);padding:16px 18px;margin:0}
.pf-one .pf-sec h2{font-size:15px;font-weight:600;margin:0 0 12px}
.pf-disc{margin:10px 0 4px;padding:8px 12px;border-radius:var(--radius);background:var(--panel);border-inline-start:3px solid var(--line-2)}
.pf-disc small{display:block;font-size:12px;color:var(--muted);margin-bottom:2px}.pf-disc p{margin:0;font-size:13.5px;white-space:pre-wrap}
.pf-lab{display:block;font-size:12px;color:var(--muted);margin:14px 0 6px}
.pf-part{margin-top:16px;display:grid;gap:12px}.pf-part .ov-h-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.pf-part .ov-h{margin:0}
.pf-part .ed-right{display:flex;align-items:center;gap:10px}.pf-part .sub{margin:0}
.ov-who{display:grid;gap:2px;margin-bottom:10px}.ov-who b{font-size:15px}.ov-who small{color:var(--muted)}
#ctFiles+.ch-panel{margin-top:16px}
.ed-top>*{min-width:0;max-width:100%} /* a client tab with Save beside its header: the tabs scroll instead of widening the page on a phone */
.wk-tag.cancelled{color:var(--muted);border-color:var(--line)} /* Production: a job cancelled by mistake, in its own folded group */
/* light ↔ dark: a quick even fade of the whole screen (Rami, 9 October 2026: the spreading circle stuttered; "smoother and faster") */
@keyframes theme-out{to{opacity:0}}@keyframes theme-in{from{opacity:0}}
.ct-nmw.ck{justify-content:flex-start;gap:10px}.ct-pickw{display:flex;flex:none}.ct-pick{margin:0}
/* a date column shown another way (lists.js): the text in front, the date box under it, still opening on a click */
.lt-dcell{position:relative}.lt-dfmt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.lt-dfmt.none{color:var(--mut,#8a8a8a)}
.lt-dcell input[type=date]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.lt-dcell input[type=date]:focus{opacity:1;z-index:1}
.lt-dcell:not(.lt-dtext){display:flex;align-items:center}.lt-dtext{font-size:0}.lt-dtext>:not(.lt-dfmt){display:none}
/* A list runs the full height of the page and the page scrolls (Rami, 27 October 2026: "it should always be expanded all the way,
   the full screen, and just keep scrolling ... for any list"); it used to scroll inside its own frame. It still scrolls sideways on its
   own when its columns are wider than the page, and its column titles stay under the top bar as the page scrolls (public/lists.js pin). */
@media (min-width:861px){
  .wk-t1[data-list]{overflow-x:auto;overflow-y:hidden}
  html body .wk-t1[data-list] .bk-gbox:not(#_){overflow:clip}
  .wk-t1[data-list] :is(.head,.lt-hclone){position:relative;z-index:4;background:color-mix(in srgb,var(--gc,var(--muted)) 7%,var(--lt-bg,var(--bg)))}
}
/* Admin › Routines by position (Rami, 10 October 2026): a position's routines in three columns, each check under the SOP's three kinds */
.rt-pos{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 14px}.rt-pos small{opacity:.6;margin-inline-start:2px}
.rt-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
.rt-col{display:flex;flex-direction:column;gap:10px;min-width:0;background:var(--panel,rgba(0,0,0,.03));border-radius:14px;padding:12px}
.rt-col>h4{margin:0 2px 2px;font-size:14px;display:flex;align-items:baseline;gap:8px}.rt-col>h4 small{font-weight:400;color:var(--muted);font-size:12px}
.rt-none{margin:0 2px}.rt-add{align-self:flex-start}
.rt-card{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:10px 12px;min-width:0}
.rt-card.off{opacity:.6}.rt-card.open{border-color:var(--accent,#3b82f6)}.rt-editing{display:grid;gap:12px;margin-bottom:14px}
.rt-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:6px}
.rt-card>header>span{display:flex;flex-direction:column;min-width:0}.rt-card>header small{color:var(--muted);font-size:12px}
.rt-cats{display:flex;flex-direction:column;gap:8px}
.rt-cat h5,.rt-catf legend{margin:0 0 3px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:650}
.rt-cat ul{margin:0;padding-inline-start:16px;font-size:13px;line-height:1.45}.rt-cat li.q{list-style:"✎ "}
.c-work h5,.c-work legend{color:#2563eb}.c-care h5,.c-care legend{color:#059669}.c-growth h5,.c-growth legend{color:#9333ea}.c-other h5,.c-other legend{color:var(--muted)}
.rt-catf{border:1px solid var(--line);border-radius:10px;padding:8px 10px 10px;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}
.rt-catf legend{padding:0 4px}
.rt-card.open .rt-grid{margin-top:4px}
@media (max-width:900px){.rt-cols{grid-template-columns:1fr}.rt-catf{grid-template-columns:1fr}}
.rt-g+.rt-g{margin-top:10px}.rt-g>h5{margin:0 0 4px;font-size:11px;letter-spacing:.04em;text-transform:uppercase;font-weight:650}
.rt-g.c-work>h5{color:#2563eb}.rt-g.c-care>h5{color:#059669}.rt-g.c-growth>h5{color:#9333ea}.rt-g.c-other>h5{color:var(--muted)}

/* Published: one tick per post (Rami, 10 October 2026) */

.pf-t:not(.nopic) .pf-cap{display:none}
/* the client's brand from the brand book (Branding tab), and a brand logo as the client's picture: whole, on white */

.cav img.bl,img[src*="/logo?b="]{object-fit:contain!important;padding:14%;background:#fff}
.cbk-row{display:flex;gap:24px;flex-wrap:wrap;align-items:flex-start}.br-pic{display:grid;gap:6px;justify-items:center;text-align:center}.br-pic small,.br-fonts small{color:var(--muted);font-size:12px}
.br-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px;flex:1;min-width:240px}.br-sw{display:flex;gap:10px;align-items:center}.br-sw i{width:36px;height:36px;border-radius:10px;flex:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}.br-sw span{display:grid;font-size:13px}.br-sw small{color:var(--muted);font-family:ui-monospace,Menlo,monospace;font-size:11.5px}
.br-fonts{display:grid;gap:2px;min-width:140px}.br-fonts b{font-weight:600;margin-bottom:6px}
/* the client's logo in every client thumbnail (Rami, 13 October 2026): a logo set by hand fills the circle; a brand book logo shows whole on white */
:is(.ccd-av,.crail-l button[data-rail]>i,.pf-av,.sx-kd,.sx-av,.pav,.hd .a){overflow:hidden}
:is(.ccd-av,.crail-l button[data-rail]>i,.pf-av,.sx-kd,.pav,.hd .a) img{width:100%;height:100%;object-fit:cover;display:block;border-radius:inherit}

/* Pinned notes (sticky.js): My notes as a yellow sticky note over every page. Deliberately unlike the Hub's own screens (Rami,
   14 October 2026: "the list should look very different"): paper yellow in light and dark mode, a strip of tape, ruled lines,
   a slight tilt that straightens while you use it. Under side panels, over the page. */
.stk{position:fixed;z-index:90;width:268px;max-width:calc(100vw - 16px);background:#FFE45C;color:#1d1a10;border-radius:3px 3px 14px 3px;
  box-shadow:0 1px 0 rgba(0,0,0,.08),0 14px 28px -10px rgba(60,45,0,.45),0 3px 8px rgba(60,45,0,.18);transform:rotate(-1.2deg);
  transition:transform .18s ease,box-shadow .18s ease;font-size:14px;line-height:1.35;color-scheme:light}
.stk:hover,.stk:focus-within,.stk.drag{transform:rotate(0)}
.stk.drag{box-shadow:0 24px 40px -12px rgba(60,45,0,.55),0 6px 14px rgba(60,45,0,.22);cursor:grabbing}
.stk::before{content:"";position:absolute;top:-9px;left:50%;width:74px;height:20px;margin-left:-37px;background:rgba(255,255,255,.55);
  box-shadow:0 1px 2px rgba(0,0,0,.08);transform:rotate(2deg);pointer-events:none}
.stk-h{display:flex;align-items:center;gap:6px;padding:12px 8px 8px 14px;cursor:grab;touch-action:none;user-select:none}
.stk-h b{font-size:15px;font-weight:800;letter-spacing:-.01em;flex:1}
.stk-h em{font-style:normal;font-weight:700;font-size:12px;background:#1d1a10;color:#FFE45C;border-radius:99px;padding:1px 8px;min-width:22px;text-align:center}
.stk-h em:empty{display:none}
.stk-h button{all:unset;cursor:pointer;width:26px;height:26px;display:grid;place-items:center;border-radius:50%;font-size:17px;font-weight:700;color:#1d1a10}
.stk-h button:hover{background:rgba(0,0,0,.09)}
.stk-h button:focus-visible{outline:2px solid #1d1a10;outline-offset:1px}
.stk.min{width:auto;min-width:168px;border-radius:3px 3px 10px 3px}
.stk.min .stk-h{padding-bottom:10px}
.stk-l{list-style:none;margin:0;padding:0 12px;max-height:min(46vh,380px);overflow:auto}
.stk-l li{display:flex;align-items:flex-start;gap:9px;padding:8px 0 7px;border-bottom:1px solid rgba(120,90,0,.24);transition:opacity .25s,transform .25s}
.stk-l li.going{opacity:0;transform:translateX(14px)}
.stk-l li.going .stk-tick{background:#1d1a10}
.stk-tick{all:unset;cursor:pointer;flex:none;width:16px;height:16px;margin-top:1px;border:2px solid #1d1a10;border-radius:50%;box-sizing:border-box}
.stk-tick:hover{background:rgba(0,0,0,.14)}
.stk-tick:focus-visible,.stk-t:focus-visible{outline:2px solid #1d1a10;outline-offset:2px}
.stk-t{all:unset;cursor:pointer;flex:1;min-width:0;overflow-wrap:anywhere;font-weight:500}
.stk-t:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.stk-t small{display:block;font-size:11.5px;font-weight:600;opacity:.62;margin-top:1px}
.stk-l li.late .stk-t small{opacity:1;color:#a3200f}
.stk-none{opacity:.7;font-style:italic}
.stk-err{margin:6px 14px 0;font-size:12.5px;color:#a3200f;font-weight:600}
.stk-add{padding:8px 12px 14px}
html body .stk .stk-add input:not(#_){all:unset;box-sizing:border-box;width:100%;padding:7px 2px!important;border:0!important;border-bottom:2px dashed rgba(29,26,16,.45)!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;outline:none!important;min-height:0!important;height:auto!important;font:inherit;font-size:14px!important;color:#1d1a10!important}
html body .stk .stk-add input:not(#_)::placeholder{color:rgba(29,26,16,.55)}
html body .stk .stk-add input:not(#_):focus{border-bottom:2px solid #1d1a10!important}
@media (prefers-reduced-motion:reduce){.stk,.stk-l li{transition:none}.stk{transform:none}}

/* Sales board (Rami, 15 October 2026): stages run the full height (a card drops anywhere in a column), as many columns as stages,
   rotting deals in red, the new deal lit, and the Won / Lost / Delete drop areas along the bottom while a card is dragged */
html body .sl-board:not(#_){grid-template-columns:repeat(var(--n,6),minmax(190px,1fr))!important;align-items:stretch;min-height:calc(100dvh - 250px)}
html body .sl-board .mw-col:not(#_){align-self:stretch;align-content:start}
html body .sl-card.rot:not(#_){box-shadow:inset 3px 0 0 var(--bad),0 0 0 1px color-mix(in srgb,var(--bad) 35%,transparent);background:color-mix(in srgb,var(--bad) 7%,var(--bg))!important}
html body .sl-card .sl-rot:not(#_){display:inline-block;justify-self:start;width:auto;padding:2px 9px;border-radius:999px;background:var(--bad)!important;color:#fff!important;font-size:11px;font-weight:700;line-height:1.4}
.sl-card.sl-new{animation:slNew 2.2s ease-out}
@keyframes slNew{0%,30%{box-shadow:0 0 0 3px var(--info),0 10px 24px -10px var(--info)}100%{box-shadow:none}}
@media (prefers-reduced-motion:reduce){.sl-card.sl-new{animation:none;outline:3px solid var(--info)}}
.dg-zones{position:fixed;left:0;right:0;bottom:0;z-index:998;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--bg);box-shadow:0 -10px 30px -12px rgba(0,0,0,.25)}
.dg-zone{display:grid;place-items:center;height:64px;border-radius:12px;border:2px dashed currentColor;font-weight:700;font-size:15px;transition:background .12s,transform .12s}
.dg-zone.ok{color:var(--ok,#16a34a)}.dg-zone.bad{color:var(--bad,#dc2626)}.dg-zone.del{color:var(--muted)}
.dg-zone.dg-over{background:color-mix(in srgb,currentColor 16%,transparent);border-style:solid;transform:scale(1.02)}
html body dialog.sl-dlg:not(#_){inset:0;margin:auto;height:fit-content;width:min(460px,calc(100vw - 32px));border:0;border-radius:14px;padding:22px 24px;background:var(--bg);color:var(--ink);box-shadow:0 30px 70px -20px rgba(0,0,0,.45)}
.sl-dlg::backdrop{background:rgba(20,16,30,.45)}
.sl-dlgf{display:grid;gap:12px}.sl-dlgf h3{margin:0;font-size:18px}.sl-dlgf label{display:grid;gap:5px}.sl-dlgf label span{font-size:12.5px;font-weight:600;color:var(--muted)}
.sl-stg{display:grid;gap:8px}
html body .sl-stg .sl-stg-h:not(#_),html body .sl-stg .sl-stg-r:not(#_){display:grid;grid-template-columns:30px minmax(0,1fr) 62px 62px;gap:6px;align-items:center}
.sl-stg-h{font-size:12px;font-weight:600;color:var(--muted)}
.sl-stg-r > *{min-width:0}
html body .sl-stg .sl-stg-r input:not(#_){width:100%;min-width:0;box-sizing:border-box}
.sl-stg-mv{display:grid;gap:2px}html body .sl-stg-mv .btn-s:not(#_){padding:0 6px;min-height:20px;height:20px;font-size:11px;line-height:1}
html body .sl-stg-r .btn-s.danger:not(#_){padding:4px 6px;font-size:12px}
.sl-stg-keep{font-size:12px;color:var(--muted);text-align:center;cursor:help}
html body .sl-stg .sl-stg-r.gone:not(#_){grid-template-columns:30px minmax(0,1fr) 62px;color:var(--muted);font-size:13px}
.sl-stg-r.gone select{margin-top:4px}
/* A deal's own page (Rami, 15 October 2026, like Pipedrive): the deal and its company on the left; Activity, Notes and Files; History */
.sl-dp{display:grid;gap:14px;max-width:var(--page-max)}
.sl-dp,.sl-dp *{min-width:0}.sl-dp .find{min-width:0;max-width:100%}
.sl-back{justify-self:start;font-size:13px;font-weight:600;color:var(--muted);text-decoration:none}.sl-back:hover{color:var(--ink)}
.sl-dh{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
.sl-dh h1{margin:0;font-size:24px;font-weight:700;letter-spacing:-.01em}.sl-dh p{margin:4px 0 0;color:var(--muted);font-size:13px}
.sl-dh .sl-wl,.sl-dh .sl-res{margin:0}
.sl-dg{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:16px;align-items:start}
.sl-ds,.sl-dm{display:grid;gap:16px}
.sl-dp .card h3{font-size:13.5px;font-weight:600;margin:0 0 10px;display:flex;align-items:center;gap:8px}
.sl-dp .pp-block h3{margin-top:0}
.sl-ds .sl-grid{grid-template-columns:1fr}
.sl-ro{display:block;padding:7px 0;font-size:13.5px}
.sl-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:-4px 0 14px}
html body .sl-tabs button:not(#_){all:unset;cursor:pointer;padding:9px 14px;font-size:13.5px;font-weight:600;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px}
html body .sl-tabs button.on:not(#_){color:var(--ink);border-bottom-color:var(--ink)}
.sl-tabs em{font-style:normal;font-size:11.5px;padding:0 6px;border-radius:9px;background:var(--soft);margin-inline-start:4px}
.sl-sched{display:grid;gap:8px;padding:12px;border-radius:12px;background:var(--panel);margin-bottom:14px}
.sl-types{display:flex;flex-wrap:wrap;gap:6px}
html body .sl-types button:not(#_){all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:600;background:var(--bg);box-shadow:inset 0 0 0 1px var(--line)}
html body .sl-types button.on:not(#_){background:var(--ink);color:var(--bg);box-shadow:none}
.sl-types .sl-ic{width:14px;height:14px}
.sl-sched-r{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px}
.sl-sub{margin:14px 0 6px;font-size:12px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.sl-dp .sl-act{margin-bottom:6px}
.sl-act .sl-an{display:block;white-space:pre-wrap;margin-top:2px}
.sl-cal{display:block;margin-top:2px;font-weight:600}.sl-cal.in{color:var(--ok-ink,#15803d)}.sl-cal.no{color:var(--bad)}
.sl-note{display:grid;gap:8px;margin-bottom:12px}
.sl-notei{padding:10px 12px;border-radius:10px;background:var(--warn-bg,#fff8e6);margin-bottom:8px}.sl-notei p{margin:0 0 4px;font-size:13.5px}.sl-notei small{color:var(--muted);font-size:11.5px}
.sl-drop{display:grid;place-items:center;gap:4px;padding:18px;border-radius:12px;border:2px dashed var(--line-2);cursor:pointer;text-align:center;margin-bottom:12px}
.sl-drop:hover{border-color:var(--ink)}.sl-drop input{position:absolute;opacity:0;width:1px;height:1px}.sl-drop small{color:var(--muted);font-size:12px}
.sl-files{display:grid;gap:6px}
.sl-file{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:8px 10px;border-radius:8px;background:var(--panel)}
.sl-file a{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sl-file small{grid-column:1;color:var(--muted);font-size:11.5px}.sl-file .sl-x{grid-row:1/3;grid-column:2;align-self:center}
.sl-calp p{font-size:13.5px;line-height:1.5}
@media (max-width:900px){.sl-dg{grid-template-columns:1fr}}
.sl-dp .sl-li{text-align:start}.sl-dp .sl-li span{display:block}
html body .sl-ds .sl-pp:not(#_){display:grid;grid-template-columns:1fr 1fr;gap:6px;padding-bottom:8px;margin-bottom:6px;border-bottom:1px solid var(--line)}
/* every board of stage columns: the columns run the full height, so a card can be dropped anywhere in one (Rami, 15 October 2026) */
html body .mw-board:not(#_){align-items:stretch;min-height:calc(100dvh - 250px)}
html body .mw-board .mw-col:not(#_){align-self:stretch;align-content:start}
html body .mw-board[data-dboard="mywork"]:not(#_){grid-auto-flow:column;grid-auto-columns:minmax(230px,1fr);grid-template-columns:none}
.sd-f .sd-ro{display:block;padding:8px 0;font-size:13.5px}
/* the row menu on a touch screen: a sheet from the bottom, opened by a long press on a row (phone version, 16 October 2026) */
.rm-scrim{position:fixed;inset:0;z-index:69;background:var(--scrim,rgba(15,16,17,.45))}
.rm-menu.rm-sheet{z-index:70;left:0!important;right:0;top:auto!important;bottom:0;min-width:0;max-width:none;max-height:80vh;overflow:auto;border-radius:18px 18px 0 0;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px))}
.rm-sheet .rm-head{font-weight:600;font-size:15px;color:var(--muted);padding:10px 12px 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rm-sheet .rm-it{font-size:16px;min-height:48px;padding:10px 12px}
.rm-sheet .rm-sub{position:fixed;left:0!important;right:0;top:auto!important;bottom:0;max-width:none;max-height:80vh;border-radius:18px 18px 0 0;padding:8px 10px calc(10px + env(safe-area-inset-bottom,0px))}
@media (hover:none){[data-list]{-webkit-touch-callout:none}}
/* the guided-tours card that opens by itself on a phone: small, with See the tours (phone version, 16 October 2026) */
.tr-card.tr-mini :is(p,.tr-list,.tr-more){display:none}
.tr-card.tr-mini h3{margin-bottom:6px}
.tr-card.tr-mini .tr-off{margin:4px 0 8px}
/* Quick actions on a touch screen: no keyboard, so no shortcut keys or key hints (phone version, 16 October 2026) */
@media (hover:none){.qk-w kbd,.qk-w footer{display:none}.qk-i{min-height:48px}}
/* More › Your phone bar (Rami, 16 October 2026): tick three pages; the ticked ones show their place on the bar */
.mo-bar .mo-sub{margin:0 0 6px;font-size:13.5px;color:var(--muted)}
.mo-bar .mo-warn:empty{display:none}.mo-bar .mo-warn{color:var(--bad,#c0392b)}
.mo-pick{cursor:pointer}.mo-pick input{width:22px;height:22px;flex:none;accent-color:var(--ink);margin:0}
.mo-pick .mo-no{margin-inline-start:auto;font-style:normal;font-weight:600;font-size:13px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:var(--bg)}
/* a count on the bar (My work's, Chat's unread) */
#tabbar a{position:relative}
#tabbar .tb-n{position:absolute;top:4px;inset-inline-end:calc(50% - 22px);min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--bad,#e5484d);color:#fff;font:600 11px/18px var(--font-sans,system-ui);font-style:normal;text-align:center}
#tabbar .tb-n:empty{display:none}
.mo-bar>summary{list-style:none;cursor:pointer}.mo-bar>summary::-webkit-details-marker{display:none}
.mo-bar>summary small{display:block;color:var(--muted);font-size:13px}
.mo-bar[open]>summary .mo-go{transform:rotate(90deg)}
/* Today: Home on a phone (public/today.js, 16 October 2026) */
.td .td-hero{padding-bottom:20px}
.td-body{display:grid;gap:14px;margin-top:14px}
.td-part{background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:6px 14px 10px}
.td-part h3{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;margin:10px 0 4px}
.td-part h3 i{font-style:normal;font-size:12px;font-weight:600;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:var(--soft);display:inline-grid;place-items:center}
#tdYes h3 i{background:var(--ink);color:var(--bg)}
.td-plus{margin-inline-start:auto;border:0;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:600;min-height:36px;padding:0 4px;cursor:pointer}
.td-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line);color:var(--ink);text-decoration:none;flex-wrap:wrap;transition:opacity .3s}
.td-part h3+.td-row,.td-g+.td-row{border-top:0}
.td-row.is-done{opacity:.35}
.td-t{flex:1 1 180px;min-width:0;display:grid;gap:2px;color:inherit;text-decoration:none}
.td-t b{font-weight:600;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-t small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.td-link{font-size:13px;color:var(--accent,#2b5fd9);margin-top:2px}
.td-acts{display:flex;gap:8px;flex-wrap:wrap}
.td-open{font-size:13px;font-weight:600;color:var(--muted)}
.td-n{min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--bad,#e5484d);color:#fff;font-size:12px;font-weight:600;display:grid;place-items:center}
.td-tick{width:36px;height:36px;flex:none;border-radius:50%;border:1.5px solid var(--line-2,var(--line));background:none;display:grid;place-items:center;cursor:pointer;color:var(--muted)}
.td-tick svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;opacity:.35}
.td-tick:active svg,.td-row.is-done .td-tick svg{opacity:1}
.td-dot{width:36px;flex:none;display:grid;place-items:center}.td-dot::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--muted)}
.td-task{flex-wrap:nowrap}
.td-g{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:10px 0 0}
.td-g-late{color:var(--bad,#c0392b)}
.td-none{margin:6px 0 4px;color:var(--muted);font-size:14px}
.td-more{display:block;margin-top:6px;font-size:14px;font-weight:600;color:var(--ink);min-height:32px;line-height:32px}
.td-note{margin:0;padding:10px 14px;border-radius:12px;background:var(--soft);font-size:14px}
.td-shoot{display:grid;gap:4px;padding:6px 0 4px}.td-shoot b{font-size:16px}.td-shoot small{color:var(--muted)}.td-shoot .td-acts{margin-top:6px}
.td-add{display:grid;gap:8px;padding:6px 0 10px}
.td-when{display:flex;gap:6px}.td-when button{border:1px solid var(--line);background:none;border-radius:999px;min-height:36px;padding:0 14px;font:inherit;font-size:13px;color:var(--ink)}
.td-when button[aria-checked="true"]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.td-part>.td-row:first-child{border-top:0}
.td-late{font-style:normal;font-weight:600;color:var(--bad,#c0392b)}
.td-rest{display:grid;gap:14px}.td-rest:empty{display:none}
/* On set: the top of a shoot's page on a phone (16 October 2026) */
.os-card{display:grid;gap:10px;padding:14px 16px}
.os-when{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.os-when b{font-size:18px}.os-when span{font-size:16px;color:var(--muted)}
.os-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--line)}
.os-row>span:first-child{flex:1 1 160px;min-width:0;display:grid;gap:2px}.os-row small{color:var(--muted)}
.os-crew{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--line)}
.os-crew>span{display:grid;padding:6px 12px;border-radius:12px;background:var(--soft)}.os-crew small{color:var(--muted);font-size:12.5px}
.os-acts{display:flex;gap:8px;flex-wrap:wrap}.os-go{padding-top:10px;border-top:1px solid var(--line)}
/* Shoots on a phone: the month that fits the screen, the strip of days, Next up (16 October 2026, from the Simple Hub) */
.pm{display:grid;gap:10px;touch-action:pan-y}
.pm-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}
.pm-grid>small{text-align:center;font-size:11px;font-weight:600;color:var(--muted);padding:2px 0}
.pm-d{display:flex;flex-direction:column;align-items:center;gap:2px;min-height:58px;padding:4px 1px;border:0;border-radius:10px;background:var(--soft);color:var(--ink);font:inherit;cursor:pointer;overflow:hidden}
.pm-d>span{font-size:13px;font-weight:600}
.pm-d.out{opacity:.4}.pm-d.today>span{background:var(--ink);color:var(--bg);border-radius:999px;padding:0 6px}
.pm-d.on{outline:2px solid var(--ink);outline-offset:-2px}
.pm-d em{font-style:normal;font-size:10px;line-height:14px;padding:0 3px;border-radius:4px;background:var(--bg);max-width:100%;overflow:hidden;white-space:nowrap}
.pm-d em.ok,.pm-key i.ok{background:var(--accent-green-soft,#e2f5ea);color:var(--accent-green,#14804a)}
/* a shoot in its status's colour, as on the computer's calendar (pc-card t-*), with the same five-colour key (phone round, 15 November 2026) */
:is(.pm-d em,.pm-sh,.pm-key i).t-blue{--pmc:var(--s-blue)}:is(.pm-d em,.pm-sh,.pm-key i).t-orange{--pmc:var(--s-orange)}:is(.pm-d em,.pm-sh,.pm-key i).t-purple{--pmc:var(--s-purple)}:is(.pm-d em,.pm-sh,.pm-key i).t-red{--pmc:var(--s-red)}:is(.pm-d em,.pm-sh,.pm-key i).t-green{--pmc:var(--s-green)}:is(.pm-d em,.pm-sh,.pm-key i).t-yellow{--pmc:var(--st-warn)}
:is(.pm-d em,.pm-sh):is(.t-blue,.t-orange,.t-purple,.t-red,.t-green,.t-yellow){background:color-mix(in srgb,var(--pmc) 18%,var(--bg));box-shadow:inset 3px 0 0 var(--pmc)}
.pm-key i:is(.t-blue,.t-orange,.t-purple,.t-red,.t-green,.t-yellow){background:var(--pmc);border-color:var(--pmc)}
.pm-key{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--muted)}.pm-key span{display:inline-flex;align-items:center;gap:6px}
.pm-key i{width:12px;height:12px;border-radius:4px;background:var(--bg);border:1px solid var(--line)}
.pm-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:2px 0 10px}.pm-strip::-webkit-scrollbar{display:none}
.pm-sd{flex:none;display:grid;justify-items:center;gap:1px;width:46px;padding:6px 0;border:1px solid var(--line);border-radius:12px;background:var(--bg);color:var(--ink);font:inherit;cursor:pointer}
.pm-sd small{font-size:11px;color:var(--muted)}.pm-sd b{font-size:16px}
.pm-sd i{width:6px;height:6px;border-radius:50%;background:transparent}.pm-sd.has i{background:var(--muted)}.pm-sd.ok i{background:var(--accent-green,#14804a)}
.pm-sd.today{border-color:var(--ink)}.pm-sd.on{background:var(--ink);color:var(--bg)}.pm-sd.on small{color:inherit}
.pm-pick,.pm-next{display:grid;gap:6px;margin-bottom:12px}.pm-next>small{font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}
.pm-sh{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 10px;padding:10px 12px;border-radius:12px;background:var(--soft);color:var(--ink);text-decoration:none}
.pm-sh b{grid-row:span 2}.pm-sh span{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pm-sh small{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pm-sh.ok{background:var(--accent-green-soft,#e2f5ea)}
.pm-next .pm-sh{background:var(--ink);color:var(--bg)}.pm-next .pm-sh.pm-sh{background:var(--ink);box-shadow:none}.pm-next .pm-sh small{color:inherit;opacity:.75}
.pm-none{margin:0;color:var(--muted);font-size:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.pm-h{display:flex;align-items:center;justify-content:space-between;gap:10px}.pm-h b{font-size:17px}.pm-h .btn-s{min-width:44px;justify-content:center;font-size:18px}
.sl-reach{display:flex;gap:6px;flex-wrap:wrap;grid-column:1/-1}
.pm-ph{display:flex;align-items:center;gap:8px}.pm-ph b{flex:1;min-width:0}
.pm-d.sh-off{background:repeating-linear-gradient(135deg,var(--soft) 0 6px,var(--bg) 6px 12px)}
/* Done on a computer, on a phone (public/desk.js, 16 October 2026) */
.dk{position:fixed;inset:0;z-index:72;display:grid;place-items:end center;background:var(--scrim,rgba(15,16,17,.45));padding:0}
.dk.dk-page{place-items:center;background:var(--bg);top:calc(56px + env(safe-area-inset-top,0px));bottom:0;z-index:40}
.dk-card{width:100%;max-width:520px;background:var(--sheet,var(--bg));border-radius:18px 18px 0 0;padding:22px 20px calc(18px + env(safe-area-inset-bottom,0px));display:grid;gap:10px;justify-items:start}
.dk-page .dk-card{border-radius:18px;padding:24px 20px}
.dk-ic{width:34px;height:34px;fill:none;stroke:var(--ink);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dk-card h2{margin:0;font-size:20px}.dk-card p{margin:0;color:var(--muted);font-size:15px}
.dk-acts{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}.dk-done:empty{display:none}
html body :is(input,textarea)[data-dk]:read-only:not(#_):not(#__),html body [data-dk][contenteditable="false"]:not(#_):not(#__){background-color:var(--soft)!important;border-color:transparent!important;cursor:default}
.dk-note{margin:8px 0;padding:8px 12px;border-radius:10px;background:var(--soft);font-size:13.5px;color:var(--muted)}

/* On a phone, scrolled: a strip behind the buttons that float at the top (Feedback, Escalate, Kasper; z-index 41), so the page doesn't
   show through them (app.js ph-scrolled) */
@media (max-width:860px){html.ph-scrolled body::before{content:"";position:fixed;top:0;left:0;right:0;height:calc(62px + env(safe-area-inset-top,0px));background:var(--bg);box-shadow:0 1px 0 var(--line);z-index:40;pointer-events:none}}
/* Home's greeting is tapped ten times for Flappy Kasper (fun.js): no zoom on a quick double tap, no text selected */
.hm-hi h2{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}
/* Sales on a phone (public/sales.js phoneSteps / phoneDeals; Rami, 16 October 2026): Next steps and Deals, like Pipedrive's app */
.mk-page{display:grid;gap:14px;padding-bottom:90px}
.mk-why{margin:0 14px 6px;font-size:13px;color:var(--muted)}
.mk-item{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 14px;border-top:1px solid var(--line)}
.mk-item.is-done{opacity:.4;text-decoration:line-through}
.mk-tick{flex:none;width:30px;height:30px;border-radius:50%;border:1.5px solid var(--muted);background:none;display:grid;place-items:center;padding:0;color:transparent}
.mk-tick svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.mk-tick:active,.mk-item.is-done .mk-tick{background:var(--ok,#1a7f37);border-color:var(--ok,#1a7f37);color:#fff}
.mk-body{flex:1;min-width:0;display:flex;align-items:flex-start;gap:8px;color:inherit;text-decoration:none}
.mk-body .sl-ic{flex:none;width:18px;height:18px;margin-top:2px}
.mk-body span{display:grid;min-width:0}
.mk-body b{font-weight:600;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mk-body small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-item.late .mk-body small{color:var(--bad,#d1242f)}
.mk-reach{display:flex;gap:6px;flex:none}
.mk-btn{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--ink)}
.mk-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mk-none{margin:24px 4px;color:var(--muted);text-align:center}
.mk-strip{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0;margin:0 -2px;scroll-snap-type:x proximity}
.mk-strip::-webkit-scrollbar{display:none}
.mk-pill{flex:none;scroll-snap-align:center;display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-size:14px}
.mk-pill i{font-style:normal;color:var(--muted);font-size:13px}
.mk-pill.on{background:var(--ink);color:var(--bg);border-color:var(--ink)}.mk-pill.on i{color:inherit;opacity:.7}
.mk-pill.won:not(.on){color:var(--ok,#1a7f37)}.mk-pill.lost:not(.on){color:var(--bad,#d1242f)}
.mk-sh{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:2px 4px}
.mk-sh b{font-size:18px}.mk-sh span{color:var(--muted);font-size:14px}
.mk-list{display:grid;gap:0;background:var(--card,var(--bg));border-radius:16px;overflow:hidden;min-height:120px;touch-action:pan-y}
.mk-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid var(--line);color:inherit;text-decoration:none}
.mk-list .mk-card:first-child{border-top:0}
.mk-card.rot{background:color-mix(in srgb,var(--bad,#d1242f) 7%,transparent)}
.mk-ct{flex:1;min-width:0;display:grid;gap:2px}
.mk-ct b{font-size:15px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-ct small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-nx{display:flex;align-items:center;gap:5px}.mk-nx .sl-ic{width:14px;height:14px}.mk-nx.late{color:var(--bad,#d1242f)!important}
.mk-st{flex:none;display:grid;justify-items:center;gap:3px}.mk-st em{font-style:normal;font-size:12px;color:var(--bad,#d1242f)}
.mk-dot{width:10px;height:10px;border-radius:50%;background:var(--muted)}
.mk-dot.ok,.mk-dot.won{background:var(--ok,#1a7f37)}.mk-dot.late,.mk-dot.lost{background:var(--bad,#d1242f)}.mk-dot.idle{background:var(--muted);opacity:.6}
/* A deal on a phone (public/sales.js phoneDeal): read first, change one thing at a time in a sheet, act from the floating bar */
.mk-deal{padding-bottom:110px}
.mk-h{display:grid;gap:6px}
html body .mk-h h1:not(#_){margin:0;font:700 24px/1.2 var(--font-sans)!important;letter-spacing:-.01em}
.mk-h>p{margin:0;color:var(--muted);font-size:15px}
.mk-who{display:flex;align-items:center;gap:8px;color:var(--ink)!important}
.mk-who svg{width:18px;height:18px;fill:none;stroke:var(--muted);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.mk-stage{position:relative;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:6px;padding:10px 6px 16px;border-radius:14px;background:var(--card,var(--soft))}
.mk-stage>span{display:grid;text-align:center}.mk-stage>span b{font-size:16px}.mk-stage>span small{color:var(--muted);font-size:12.5px}
.mk-arr{width:44px;height:44px;border-radius:50%;border:0;background:none;color:var(--ink);font-size:26px;line-height:1}
.mk-arr:disabled{opacity:.25}
.mk-bar{position:absolute;left:12px;right:12px;bottom:7px;display:flex;gap:4px}
.mk-bar em{flex:1;height:4px;border-radius:2px;background:var(--line)}.mk-bar em.on{background:var(--ok,#1a7f37)}
.mk-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mk-two .btn-s{min-height:46px;font-size:16px;justify-content:center}
.mk-tabs,.mk-seg{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px;padding:4px;border-radius:12px;background:var(--soft)}
.mk-tabs button,.mk-seg button{min-height:40px;border:0;border-radius:9px;background:none;color:var(--muted);font:inherit;font-weight:600}
.mk-tabs button.on,.mk-seg button.on{background:var(--bg);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.12)}
/* the phone's building blocks (public/phonekit.js): a section with its heading (and a count), rows, the done circle, the empty line */
.mk-sec{display:grid;gap:0;background:var(--card,var(--bg));border-radius:16px;overflow:hidden}
html body .mk-sec h3:not(#_):not(#__){display:flex;align-items:center;gap:8px;margin:0;padding:12px 14px 8px;font:600 12.5px/1.2 var(--font-sans)!important;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
html body .mk-sec h3:not(#_) i{font-style:normal;font-weight:600;color:var(--muted);margin-inline-start:auto}
html body .mk-sec.late h3:not(#_):not(#__){color:var(--bad,#d1242f)}
.mk-sec .mk-none{margin:0;padding:6px 14px 14px;font-size:14px;text-align:start}
.mk-act{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-top:1px solid var(--line)}
.mk-tk{display:grid;place-items:center;flex:none;margin:-10px -6px -10px -10px;padding:10px 6px 10px 10px;cursor:pointer;position:relative}
.mk-act .mk-x{margin-inline-start:auto;flex:none;align-self:center;min-width:40px;min-height:40px;background:none;border:0;color:var(--muted);font:inherit;font-size:20px;line-height:1;cursor:pointer}.mk-rot{color:var(--bad,#d1242f);font-size:12px}.sl-pw{overflow-x:auto;max-width:100%}
.mk-tk input{position:absolute;opacity:0;pointer-events:none}
.mk-act .mk-tick{margin-top:-3px}.mk-tk input:checked+.mk-tick{background:var(--ok,#1a7f37);border-color:var(--ok,#1a7f37);color:#fff}.mk-tk input:focus-visible+.mk-tick{outline:2px solid var(--accent,#2f6fdb);outline-offset:2px}
.mk-act .sl-ic{flex:none;width:18px;height:18px;margin-top:2px}
.mk-act>span{display:grid;min-width:0}.mk-act b{font-weight:600}.mk-act small{color:var(--muted);font-size:13px}
.mk-act.late small:first-of-type{color:var(--bad,#d1242f)}
.mk-note{margin:8px 12px;padding:12px 14px;border-radius:12px;background:color-mix(in srgb,#f5c518 18%,transparent)}
.mk-note p{margin:0 0 6px}.mk-note small,.mk-li small{color:var(--muted);font-size:12.5px}
.mk-li{display:grid;gap:2px;padding:10px 14px;border-top:1px solid var(--line);font-size:14px}
.mk-done{display:flex;align-items:flex-start;gap:10px}.mk-done .sl-ic{flex:none;width:18px;height:18px;margin-top:1px}.mk-done>span{display:grid;gap:2px}.mk-done p{margin:2px 0;color:var(--ink)}
button.mk-body{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:start;cursor:pointer}
.mk-nodot{flex:none;width:30px}
.mk-item .mw-late{font-style:normal;font-weight:600;color:var(--bad,#d1242f)}
/* Production on a phone (public/work.js phoneProd; Rami, 18 October 2026): a status dot, then the job; its tags under the line */
.pq-dot{flex:none;width:10px;height:10px;border-radius:50%;background:var(--st-none,#d9dce1)}
.pq-dot.requested{background:var(--st-new,#a9c4f7)}.pq-dot.doing{background:var(--st-work,#fbc99a)}.pq-dot.review{background:var(--st-client,#cfb8f3)}
.pq-dot.changes,.pq-dot.stuck{background:var(--st-bad,#f7b3c6)}.pq-dot.approved{background:var(--st-ok,#a8dcc0)}.pq-dot.withclient{background:var(--st-teal,#a3dcd8)}.pq-dot.clientok{background:var(--st-cok,#7cc99e)}.pq-dot.done{background:var(--st-cok,#7cc99e)}
.pq-row.gone{opacity:.55}
.pq-tags{display:flex!important;flex-wrap:wrap;gap:4px;margin-top:4px}.pq-tags i{font-size:11px}
.pq-phone .mk-tabs+.mk-strip{margin-top:-4px}
.mw-pi .mw-acts{flex:none;display:flex;gap:6px}.mw-pi .mw-acts .btn-s{min-height:36px;padding:0 12px}
.mw-pi .mw-prog{display:block;grid-column:auto;margin-top:6px}
.mw-pi .mk-body small{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.mk-row{position:relative;display:grid;gap:2px;width:100%;text-align:start;padding:12px 14px;border:0;border-top:1px solid var(--line);background:none;color:var(--ink);font:inherit}
.mk-sec>.mk-row:first-child,.mk-sec>h3+.mk-row{border-top:0}
.mk-row small{color:var(--muted);font-size:12.5px}.mk-row span{font-size:15.5px}.mk-row i{color:var(--muted);font-style:normal}
.mk-row:not(:disabled)::after{content:"›";position:absolute;right:16px;margin-top:8px;color:var(--muted);font-size:20px}
.mk-person{display:flex;align-items:center;gap:10px;padding:10px 14px;border-top:1px solid var(--line)}
.mk-person>span:first-child{flex:1;min-width:0;display:grid}.mk-person small{color:var(--muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mk-link{border:0;border-top:1px solid var(--line);background:none;color:var(--ink);font:inherit;font-weight:600;text-align:start;padding:12px 14px}
.mk-fab{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(84px + env(safe-area-inset-bottom,0px));z-index:30;display:flex;gap:4px;padding:6px;border-radius:999px;background:var(--ink);box-shadow:0 6px 20px rgba(0,0,0,.3)}
.mk-fab>*{width:52px;height:46px;border-radius:999px;border:0;background:none;color:var(--bg);display:grid;place-items:center}
.mk-fab svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.mk-sheet{display:grid;gap:12px;min-width:0}
.mk-sheet .sl-sched-r{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px}.mk-sheet .sl-sched-r>*{min-width:0;width:100%}
.mk-sheet .sl-sched{padding:0;background:none}.mk-sheet .sl-money{display:grid;grid-template-columns:1fr 110px;gap:8px}
.mk-sheet .find{min-height:46px;font-size:16px}
/* A new deal on a phone (public/sales.js newForm): one list of rows like Pipedrive's Add deal, label left, value right, no boxes;
   Create deal stays in view at the bottom */
@media (max-width:860px){
  html body #slNew:not(#_){display:grid;gap:0;background:var(--card,var(--soft));border-radius:16px;overflow:hidden;margin-bottom:96px}
  html body #slNew>label:not(#_){display:grid;grid-template-columns:38% 1fr;align-items:center;gap:8px;min-height:54px;margin:0;padding:4px 14px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
  html body #slNew>label:first-child:not(#_){border-top:0}
  html body #slNew>label .find:not(#_),html body #slNew .sl-money .find:not(#_){border:0!important;background:none!important;box-shadow:none!important;min-height:44px;padding:0 4px;font-size:16px;color:var(--ink);text-align:end}
  html body #slNew>label select.find:not(#_){text-align-last:end;-webkit-appearance:none;appearance:none;background-image:none!important;padding-inline-end:4px}
  html body #slNew .sl-money:not(#_){display:grid;grid-template-columns:1fr auto;gap:4px}
  html body #slNew>.sl-wsel:not(#_){padding:12px 14px;border-top:1px solid var(--line)}
  html body #slNew>.wk-do:not(#_){position:fixed;left:12px;right:12px;bottom:calc(82px + env(safe-area-inset-bottom,0px));z-index:5;display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:22px;background:var(--bg);box-shadow:0 8px 28px rgba(17,18,20,.16),0 0 0 1px var(--line)} /* above the bar at the bottom (11 November 2026) */
  html body #slNew>.wk-do .btn-s.pri:not(#_){flex:1;min-height:48px;justify-content:center;font-size:16px}
}
/* A shoot on a phone (public/work.js phoneShoot; Rami, 17 October 2026): the kit's page, its status line, a detail's sheet */
.sd-pst{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-radius:14px;background:var(--card,var(--bg))}
.sd-pst>span{color:var(--muted);font-size:13px}.sd-pst select{min-height:40px;max-width:60%}
.sd-phone .card{margin:0}
/* the Write tabs on a phone (Rami, 22 October 2026: the Video list tab was under Strategy and Kasper on a 390px phone): the tabs have
   the whole first line and scroll sideways if they must; Strategy and Write with Kasper go on the line under them. Every button on the
   shoot's phone page is at least 40px tall, the formatting bar's too. */
html body .sd-phone .ip-tabrow:not(#_):not(#_):not(#_):not(#_){flex-wrap:wrap;row-gap:6px;padding-bottom:6px}
html body .sd-phone .ip-tabrow>.ip-tabs:not(#_):not(#_):not(#_):not(#_){flex:1 0 100%;overflow-x:auto;scrollbar-width:none}
html body .sd-phone .ip-tabrow>:is(.sd-strat,.ai-go):not(#_):not(#_):not(#_):not(#_){margin-inline-start:8px;margin-inline-end:0}
html body .sd-phone .ip-tabrow .tr-l:not(#_){display:inline}
html body .sd-phone :is(.btn-s,.sd-strat,.ai-go,.ip-tabs>button,select.find,input.find):not(#_):not(#_):not(#_):not(#_){min-height:40px}
html body .sd-phone .rx-bar .rx-b:not(#_):not(#_):not(#_){min-width:40px;min-height:40px}
html body .sd-phone .sd-pst select.bk-stsel:not(#_):not(#_):not(#_){height:40px!important;min-height:40px!important}
.mk-sheet .sd-sheet{grid-template-columns:minmax(0,1fr)!important}.mk-sheet .sd-sheet .sd-f{grid-column:1/-1}
.mk-sheet .sd-sheet input,.mk-sheet .sd-sheet select{width:100%;min-height:44px}
.mk-sheet .sd-step{display:grid;gap:4px;padding:10px 0;border-top:1px solid var(--line)}
/* A client's month on a phone (public/posts.js; Rami, 17 October 2026): the kit's page, the months strip, a post as a row with its picture */

.ps-pi{align-items:center}

.ps-pi .mk-body b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}


.sm-pm{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;padding:4px 6px;border-radius:14px;background:var(--card,var(--bg))}.sm-pm b{font-size:17px}
.sm-pi.t-chg .mk-body small:first-of-type{color:var(--bad,#d1242f)}.sm-pi.t-ok .mk-body small:first-of-type{color:var(--ok,#1a7f37)}
.sm-pi .mk-body small{white-space:normal}

.sm-phone .sm-pbar{padding:0!important;margin:0!important;border:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
.mk-page>.sm-pbar:empty{display:none}

/* Clients on a phone (public/content.js; Rami, 17 October 2026): a client as a row with its picture or initial */
.ct-pi{align-items:center}.ct-pi .ccd-av{flex:none}
.ct-pi .mk-body small{white-space:normal}
/* A client's month on a phone, rebuilt (public/posts.js phoneMonth; Rami, 17 October 2026: "like an app, not a desktop page") */
.ps-ptop{display:flex;align-items:center;gap:8px;min-width:0}




:is(.ps-pst,.ps-dot).t-work i{background:var(--accent-orange,#c2540a)}:is(.ps-pst).t-sent i{background:var(--accent-sky,#0b74c9)}


.ps-pmore>summary::-webkit-details-marker{display:none}
.ps-pmore{position:relative;flex:none}




/* the stories as circles */





/* Calendar: the days as a strip, one list under it with sticky day headings */




.ps-dd{width:6px;height:6px;border-radius:50%;background:transparent}.ps-dd.t-none{background:var(--muted)}.ps-dd.t-work{background:var(--accent-sky,#0b74c9)}.ps-dd.t-warn{background:var(--accent-orange,#c2540a)}.ps-dd.t-client{background:var(--accent-violet,#7a2fd0)}.ps-dd.t-bad{background:var(--bad,#d1242f)}.ps-dd.t-ok{background:var(--ok,#1a7f37)}







/* the month picker */


/* Preview: the client's profile grid, full screen */
html.ps-preving,html.ps-preving body{overflow:hidden}
.ps-prev{position:fixed;inset:0;z-index:200;background:var(--bg);display:flex;flex-direction:column;overflow-y:auto;padding-bottom:env(safe-area-inset-bottom,0px)}
.ps-prh{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top,0px)) 14px 12px;background:var(--bg)}
.ps-prx{flex:none;width:42px;height:42px;border-radius:50%;border:0;background:var(--soft);color:var(--ink);font-size:18px}
.ps-prav{flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--soft);font-weight:700}.ps-prav img{width:100%;height:100%;object-fit:cover}
.ps-prh b{display:block;font-size:16px}.ps-prh small{color:var(--muted);font-size:13px}
.ps-prg{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.ps-prt{position:relative;aspect-ratio:4/5;border:0;padding:0;background:var(--soft);color:var(--ink);overflow:hidden;font:inherit}
.ps-prt img{width:100%;height:100%;object-fit:cover;display:block}.ps-prt span{position:absolute;inset:0;display:grid;place-items:center;padding:8px;font-size:12px;line-height:1.3;color:var(--muted);text-align:center;overflow:hidden}
.ps-prt .ps-dd{position:absolute;top:7px;right:7px;width:8px;height:8px;box-shadow:0 0 0 2px rgba(0,0,0,.35)}
.ps-prt em{position:absolute;left:6px;bottom:6px;font-style:normal;font-size:11px;padding:2px 6px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff}
.ps-prn{padding:24px;color:var(--muted)}



/* A post on a phone (public/posts.js ppPhone; Rami, 17 October 2026): the design large, then the post's way around */
.ps-pn.pp-phone{display:grid;gap:12px;padding-bottom:8px}
.pp-phone .pp-phero{margin:0 -4px}.pp-phone .pp-hero{display:block;border-radius:14px;overflow:hidden;aspect-ratio:4/5;background:var(--soft)}
.pp-phone .pp-hero img{width:100%;height:100%;object-fit:cover;display:block}.pp-phone .pp-hero.none{display:grid;place-content:center;gap:4px;text-align:center;color:var(--muted)}
.pp-gal{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:6px;border-radius:14px;scrollbar-width:none}.pp-gal::-webkit-scrollbar{display:none}
.pp-gal a{flex:0 0 100%;scroll-snap-align:center;aspect-ratio:4/5;border-radius:14px;overflow:hidden;background:var(--soft)}.pp-gal img{width:100%;height:100%;object-fit:cover;display:block}
.pp-galn{display:block;text-align:center;color:var(--muted);font-size:12px;margin-top:4px}
.pp-pnav{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;font-weight:600;width:100%}
.pp-pst{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pp-phone .pp-det{display:grid;gap:10px}.pp-phone .pp-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pp-phone .pp-meta .pp-date{grid-column:1/-1}
.pp-phone .pp-meta>*{min-width:0;width:100%;min-height:44px}
.pp-pjudge{position:sticky;bottom:0;z-index:2;margin:0 -16px -8px;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));background:var(--panel);box-shadow:0 -8px 20px rgba(0,0,0,.18)}
.pp-pjudge .pp-judge{margin:0;padding:0;border:0;background:none}.pp-pjudge .pp-do{display:flex;gap:8px}.pp-pjudge .pp-do .btn-s{flex:1;min-height:46px;justify-content:center}

/* Notification settings (public/noticeset.js) */
.ns{display:grid;gap:14px}.ns-intro{margin:0}.ns-tabs{display:flex;gap:4px}.ns-tabs button{border:0;background:none;border-radius:999px;padding:6px 12px;font:inherit;font-size:13px;color:var(--ink-muted);cursor:pointer}.ns-tabs button.on{background:var(--c-ink,#111);color:var(--surface,#fff);font-weight:600}
.ns-g{display:grid;gap:2px}.ns-g h4{margin:6px 0 2px;font-size:12px;font-weight:600;color:var(--ink-muted);text-transform:none}
.ns-head,.ns-row{display:grid;grid-template-columns:1fr 64px 64px;align-items:center;gap:8px}.ns-head span{font-size:11.5px;color:var(--ink-muted);text-align:center}
.ns-row{padding:8px 0;border-top:1px solid var(--line,#eee)}.ns-row.ns-also{padding-inline-start:18px;border-top:0;padding-top:0}.ns-t{display:grid;gap:2px;min-width:0}.ns-t b{font-weight:500;font-size:13.5px}.ns-t small{font-size:12px;color:var(--ink-muted)}.ns-who{opacity:.85}
.ns-tick{display:flex;justify-content:center}.ns-tick input{width:18px;height:18px}.ns-lock{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;vertical-align:-2px;margin-inline-end:4px;color:var(--ink-muted)}
.ns-row .ns-mode{grid-column:1 / -1;justify-self:start;max-width:100%;font-size:12.5px;padding:4px 8px}
.sp-tools{display:flex;align-items:center;gap:4px;margin-inline-start:auto}.sp-cog{display:grid;place-items:center;width:32px;height:32px;border:0;border-radius:999px;background:none;color:var(--ink-muted);cursor:pointer}.sp-cog:hover{background:var(--surface-2,#f2f2f2);color:var(--ink)}.sp-cog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* a client's marketing package on Setup (public/pkg.js) */
.pk-f{grid-column:1/-1}.pk-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pk-now{font-size:15px}
.pk-pend{margin-top:10px;padding:10px 12px;border-radius:10px;background:color-mix(in srgb,var(--st-client,#cfb8f3) 35%,var(--bg));display:grid;gap:4px}
.pk-pend small{color:var(--ink-2)}.pk-acts{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:4px}.pk-acts input{min-width:220px;flex:1}
.pk-ask{margin-top:10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.pk-ask label{display:grid;gap:4px;font-size:12.5px;color:var(--ink-2)}.pk-ask .pk-wide,.pk-ask .pk-acts{grid-column:1/-1}
.pk-hist{margin-top:10px}.pk-hist summary{cursor:pointer;font-size:13px;font-weight:600}.pk-hist ul{list-style:none;margin:6px 0 0;padding:0;display:grid;gap:6px}
.pk-hist li{display:grid;gap:2px;padding:6px 0;border-top:1px solid var(--line)}.pk-hist li span,.pk-hist li small{font-size:12.5px;color:var(--ink-2)}.pk-hist li.pk-declined b,.pk-hist li.pk-cancelled b{text-decoration:line-through;opacity:.7}
@media (max-width:760px){.pk-ask{grid-template-columns:1fr}}

/* the library's grid (17 October 2026) and the post in the side panel */
.lb-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px 14px}
.lb-tile{all:unset;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;cursor:pointer;min-width:0}
.lb-tile:focus-visible .lb-sq{outline:2px solid var(--ink);outline-offset:2px}
.lb-sq{position:relative;display:block;aspect-ratio:4/5;border-radius:12px;overflow:hidden;background:var(--panel)}
.lb-sq img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.lb-tile:hover .lb-sq img{transform:scale(1.03)}
.lb-sq.txt{display:flex;align-items:center;padding:16px}.lb-sq.txt>span{font-size:13.5px;line-height:1.45;color:var(--ink);display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.lb-kind{position:absolute;right:8px;top:8px;font-style:normal;font-size:11.5px;font-weight:600;background:rgba(0,0,0,.65);color:#fff;border-radius:999px;padding:2px 8px}
.lb-ok{position:absolute;left:9px;top:9px;width:9px;height:9px;border-radius:50%;background:#2fa36b;box-shadow:0 0 0 2px #fff}
.lb-tmeta{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;min-width:0}.lb-tmeta b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lb-tmeta small{color:var(--muted);white-space:nowrap}
.lb-tcap{font-size:12.5px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.lb-view button{padding:5px 14px;min-height:30px}
.lbx{display:flex;flex-direction:column;gap:12px}.lbx-pics{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory}
.lbx-pics a{flex:0 0 100%;scroll-snap-align:start}.lbx-pics img{width:100%;max-height:60vh;object-fit:contain;border-radius:12px;background:var(--panel);display:block}
.lbx-cap{max-height:none}
@media (max-width:560px){.lb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}}
.lbx-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.lbx-chips .wk-tag{flex:none}
/* Your profile › Settings › Phone app (public/app-install.js) */
.app-row{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
/* an Approved post changed since (public/posts.js, Rami 17 Oct 2026: stay approved, but flag it) */
.pp-edited{margin:0 0 12px;padding:9px 12px;border-radius:10px;background:var(--warn-soft,#fff4d6);color:var(--ink);font-size:13px}
/* the kinds' colours (a branding project's Booked time, Book time's chips); the Calendar page has its own in public/cal.css */
.k-event{--k:var(--accent-sky);--kb:var(--accent-sky-soft)}.k-shoot{--k:var(--accent-violet);--kb:var(--accent-violet-soft)}.k-sales{--k:var(--accent-orange);--kb:var(--accent-orange-soft)}.k-off{--k:var(--ink-subtle);--kb:var(--surface-sunken)}.k-google{--k:var(--ink-muted);--kb:var(--surface-sunken)}
.k-personal{--k:var(--ink-subtle);--kb:repeating-linear-gradient(135deg,var(--surface-sunken) 0 6px,var(--surface) 6px 12px)}
/* a small form in a sheet (Consulting's Skip a session) */
.cal-form{display:flex;flex-direction:column;gap:12px;min-width:0}.cal-form .find{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.cal-form label{display:flex;flex-direction:column;gap:6px}.cal-form label.wk-qa{flex-direction:row;align-items:center}
.mw-cal{margin-top:12px}.mw-phone .mw-cal{margin-top:8px}
.sh-busy{display:flex;flex-direction:column;gap:4px;margin-top:6px}.sh-busy a{color:var(--focus);font-weight:500}
/* Shoots › From your calendar (1 November 2026): invites that look like shoots, and linked shoots whose invite moved or was cancelled */
.sh-cal{display:grid;gap:6px;margin:8px 0 12px;padding:10px 12px;border-radius:12px;background:var(--surface-sunken,#f5f5f5)}.sh-cal h3{margin:0;font-size:14px}.sh-cal-sub{color:var(--muted)}
.sh-cal.one{margin:0 0 10px}.sh-cal-it{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;padding:6px 0;border-top:1px solid var(--line,#e5e5e5)}.sh-cal.one .sh-cal-it{border-top:0;padding:0}
.sh-cal-t{display:grid;gap:2px;min-width:0;flex:1 1 220px}.sh-cal-t b{overflow-wrap:anywhere}.sh-cal-t small{color:var(--muted)}.sh-cal-it.al .sh-cal-t small{color:var(--text,inherit);font-weight:500}.sh-cal-do{display:flex;flex-wrap:wrap;gap:6px}
/* Events and Digital rows with their sub-items in Production (public/work.js; Rami, 18 October 2026). The sub-items read as a
   table of their own (after monday): set in from the left, a line curving in from the row, their own title line, a coloured edge
   down the side and rounded corners top and bottom. The columns stay under the list's own, so the box is drawn behind the cells. */
.wk-r1.jsub-par .wk-cell2 b{font-weight:700}
.jsub-t{display:inline-flex;align-items:center;gap:2px;border:0;background:none;padding:0 6px 0 0;cursor:pointer;color:var(--muted);font:inherit;vertical-align:middle}
.jsub-t svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;transition:transform .15s}.jsub-t.open svg{transform:rotate(90deg)}.jsub-t small{font-size:11px}
.wk-r1.jsub-row{position:relative;background:transparent!important;isolation:isolate}
.wk-r1.jsub-row::before{content:"";position:absolute;z-index:-1;inset:0 0 0 30px;background:var(--surface-sunken,#f3f3f5);border-left:4px solid var(--acc,var(--focus,#2b5fd9))}
.wk-r1.jsub-row::after{content:"";position:absolute;left:14px;top:0;bottom:0;border-left:1.5px solid var(--border-strong,#999);opacity:.5}
.wk-r1.jsub-head::after{top:-6px;bottom:50%;width:14px;border-bottom:1.5px solid var(--border-strong,#999);border-bottom-left-radius:10px}
.wk-r1.jsub-head~.jsub-row:not(.jsub-head)::after{display:none}
.wk-r1.jsub-head{min-height:30px!important;font-size:11.5px;font-weight:600;color:var(--ink-subtle,#666);margin-top:4px}
.wk-r1.jsub-head::before{border-top-left-radius:10px;border-top-right-radius:10px;background:var(--surface-hover,#ececef)}
.wk-r1.jsub-head>span{display:flex;align-items:center;justify-content:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wk-r1.jsub-head>span:nth-child(2){justify-content:flex-start;padding-left:20px}
.wk-r1.jsub-last{margin-bottom:8px}.wk-r1.jsub-last::before{border-bottom-left-radius:10px;border-bottom-right-radius:10px}
.wk-r1.jsub-row:not(.jsub-head)>span:nth-child(2){padding-left:20px}
.wk-r1.jsub-row>span:first-child{position:relative;z-index:1}
.jsub-add input,.jsub-add select{width:100%}.jsub-add .wk-err{display:block}
/* the list's own row and cell colours are stronger than the lines above: the same rules, made to win, so the box shows behind the cells */
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_){background:transparent!important;border-top-color:transparent!important;box-shadow:none!important}
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_)>*:not(.wk-st):not(:has(>.wk-st)){background-color:transparent!important}
/* a sub-item's pinned columns when the list scrolls sideways (lists.js .lt-stick): the sub-item band's colour (its first, outside the band:
   the page's), so nothing slides into sight under them (Rami, 4 November 2026: "the sticky columns has no background") */
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_):not(#_)>.lt-stick{background-color:var(--surface-sunken,#f3f3f5)!important}
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_):not(#_)>.lt-stick:first-child{background:linear-gradient(90deg,var(--lt-bg,var(--bg)) 30px,var(--surface-sunken,#f3f3f5) 30px)!important}
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_)>*{border-color:color-mix(in srgb,var(--border,#ddd) 60%,transparent)!important}
html body [data-list] .wk-r1.jsub-row:not(#_):not(#_):not(#_)>span:first-child{border-color:transparent!important}
html body [data-list] .wk-r1.jsub-head:not(#_):not(#_):not(#_)>*{font-size:11.5px!important;font-weight:600!important;color:var(--ink-subtle,#666)!important}

.jsub-in{display:block;color:var(--muted);font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* branding stage/task panel: Request and Delivery (public/kit.js zone) */
.br-pw{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted)}.br-pw .find{width:100%}.iz .br-notes{margin:0}.iz h4{margin-top:4px}
/* Circle Town (public/town.js): the pixel town on black, the log beside it */
.tw-intro{max-width:760px;margin:2px 0 10px}
.tw-bar{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}
.tw-bar .tw-sp,.tw-bar .tw-nm{display:inline-flex;align-items:center;gap:6px;font-size:13px}.tw-bar .tw-sp select{height:32px;width:72px!important;min-width:0}
.tw-err{color:var(--accent-red,#c0392b)}
.tw-grid{display:grid;grid-template-columns:minmax(0,min(1500px,calc((100vh - 200px) * 1.4 + 16px))) minmax(280px,1fr);gap:16px;align-items:stretch}
.tw-cv{background:#fff;border-radius:12px;padding:8px;line-height:0;align-self:start}
.tw-cv canvas{display:block;width:100%;height:auto}
.tw-sidecol{position:relative;min-height:320px}.tw-sidein{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px}
.tw-sidein>.card{margin:0}.tw-sidein .tw-side{flex:1;min-height:0;display:flex;flex-direction:column}
.tw-ch{display:flex;flex-direction:column;gap:2px;margin-bottom:6px}.tw-ch small{color:var(--ink-muted)}
.tw-load{font-size:13px;margin:0 0 6px;color:var(--ink-muted)}.tw-load b{color:var(--accent-red,#c0392b);font-weight:600}
.tw-card{max-height:45%;overflow:auto;flex:none}.tw-card ul,.tw-log{list-style:none;margin:0;padding:0}.tw-card li{font-size:13px;padding:3px 0;color:var(--ink-muted)}
.tw-side h3{margin:0 0 8px}.tw-log{flex:1;min-height:0;overflow:auto}
.tw-log li{display:grid;grid-template-columns:42px minmax(0,1fr);gap:6px;font-size:13px;line-height:1.35;padding:6px 0;border-top:1px solid var(--border)}
.tw-log li:first-child{border-top:0}.tw-log time,.tw-card time{font-variant-numeric:tabular-nums;color:var(--ink-muted)}.tw-log small{color:var(--ink-muted)}
.tw-log .tw-none{display:block;color:var(--ink-muted)}
@media(max-width:900px){.tw-grid{grid-template-columns:1fr}.tw-sidecol{min-height:0}.tw-sidein{position:static}.tw-card{max-height:none}.tw-log{max-height:320px}}
html body .tw-bar .tw-nm input[type=checkbox]:not(#_):not(#_){width:22px;height:22px;margin:0}
.tw-fullb{display:inline-flex;align-items:center;gap:6px}.tw-fullb svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.tw-x,.tw-turn{display:none}
/* Full screen: the building alone, as big as the screen allows; the card over it while someone is picked */
html.tw-lock,html.tw-lock body{overflow:hidden}
.tw-full .tw-grid{position:fixed;inset:0;z-index:10000;background:#fff;display:flex;align-items:center;justify-content:center;gap:0;margin:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
.tw-full .tw-cv{padding:0;border-radius:0;max-width:none;min-width:0;width:min(100vw,calc(100dvh * 1.4));align-self:center}
.tw-full .tw-x{display:grid;place-items:center;position:absolute;top:calc(10px + env(safe-area-inset-top));right:calc(10px + env(safe-area-inset-right));z-index:2;width:40px;height:40px;border:0;border-radius:50%;background:#000;color:#fff;font:400 26px/1 var(--font-sans,system-ui);cursor:pointer}
.tw-full .tw-sidecol{position:absolute;left:calc(12px + env(safe-area-inset-left));bottom:calc(12px + env(safe-area-inset-bottom));width:min(320px,calc(100vw - 24px));min-height:0;z-index:2;display:none}
.tw-full.tw-has-sel .tw-sidecol{display:block}.tw-full .tw-sidein{position:static}.tw-full .tw-side{display:none}
.tw-full .tw-card{max-height:40dvh;box-shadow:0 8px 30px rgba(0,0,0,.18);background:#fff;color:#111}
@media (orientation:portrait) and (max-width:900px){.tw-full .tw-turn{display:block;position:absolute;top:calc(14px + env(safe-area-inset-top));left:16px;right:64px;margin:0;padding:8px 14px;border-radius:999px;background:#000;color:#fff;font-size:13px;text-align:center}}
/* My team (public/myteam.js; Rami, 21 October 2026): a table per team, a person's list under their row */
.mt-pick{display:flex;gap:8px;align-items:center;margin:0 0 10px}.mt-pick span{color:var(--muted);font-size:13px}.mt-one{margin:0 0 10px}
.mt-t{width:100%;border-collapse:collapse;font-size:14px}.mt-t th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:6px 4px;border-bottom:1px solid var(--line)}.mt-t td{padding:6px 4px;border-bottom:1px solid var(--line);vertical-align:top}
.mt-n{text-align:center;font-variant-numeric:tabular-nums;width:64px}.mt-n.late{color:var(--bad);font-weight:700}.mt-t th:not(:first-child){text-align:center}
.mt-who{all:unset;cursor:pointer;display:grid;gap:1px}.mt-who:focus-visible{outline:2px solid var(--accent,#111);outline-offset:2px}.mt-who small{color:var(--muted);font-size:12px}.mt-who .mt-off{color:var(--bad)}.mt-p.on td{background:var(--soft,rgba(0,0,0,.03))}
.mt-list td{padding:4px 4px 10px 14px}.mt-it{display:grid;gap:1px;padding:6px 0;color:inherit;text-decoration:none;border-bottom:1px dashed var(--line)}.mt-it small{color:var(--muted)}.mt-it.late small{color:var(--bad)}
.mt-help{margin:8px 0 0;font-size:12px}.mt-ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.mt-ul li{display:grid;gap:1px}.mt-ul small{color:var(--muted)}
@media (max-width:760px){.mt-n{width:auto}.mt-t{font-size:13px}}
/* The month, from brief to published (Rami, 21 October 2026): a post's outcome in the month's list (Outcome missing in red), a reel's
   video job on its post, and the account manager's Send to client sheet (public/work.js sendSheet) */
select.ps-out.miss{border-color:var(--bad);color:var(--bad)}
/* a reel's Video, beside its Status (Rami, 10 November 2026, lib/reelmade.js): Already made / Needs making */
select.ps-made{display:block;margin-top:4px;width:auto;max-width:100%;font-size:12px}
.pp-meta select.ps-made{display:inline-block;margin-top:0}
/* a reel's Video, its own column after Status (Rami, 10 November 2026, lib/reelmade.js madeState): one pill on one line, like the
   status pills. Ready green (already made), To make amber (needs making), Made by the team neutral (made in Production, read-only);
   while it can be changed the pill is a small picker */









.pp-reel{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px}.pp-reel>span:first-child{display:grid;gap:2px;min-width:0}.pp-reel small{color:var(--muted)}
.pp-jobs{display:grid;gap:6px;width:100%}.pp-jobpick{display:grid;gap:2px;text-align:start;padding:8px 10px;border-radius:10px;background:var(--bg);border:1px solid var(--line);cursor:pointer;color:inherit;font:inherit}.pp-jobpick small{color:var(--muted)}
.ss-sheet{display:grid;gap:10px}.ss-sheet .ss-k{font-size:12px;color:var(--muted)}.ss-who{display:grid;gap:2px}.ss-who small{color:var(--muted)}.ss-sheet textarea{width:100%;min-height:120px}.ss-done{display:grid;gap:4px;margin:0}
/* Reassign (public/reassign.js; 22 October 2026): a person to pick for each line of someone's work */
.ra{display:grid;gap:10px}.ra-all{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ra-all span{font-weight:500}
.ra-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.ra-list li{display:grid;grid-template-columns:1fr minmax(150px,220px);gap:10px;align-items:center;padding:6px 0;border-bottom:1px dashed var(--line)}
.ra-list li span{display:grid;gap:1px;min-width:0}.ra-list a{color:inherit}.ra-list small{color:var(--muted)}
@media (max-width:560px){.ra-list li{grid-template-columns:1fr}}
.mt-off-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
/* HubSure.text (public/sure.js; 22 October 2026): a few words or a day typed in the confirm card, instead of the browser's box */
.sure-card .sure-in{display:block;width:100%;min-width:240px;margin:6px 0 2px;box-sizing:border-box}.sure-card .wk-err{display:block;min-height:0}
.sure-card .sure-picks{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}.sure-card .sure-picks .btn-s{font-size:12px;padding:4px 10px}
.md-slot{display:contents}.md-done{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:13px;color:var(--muted)}

/* Turn an email into work (public/mailjobs.js; Rami, 22 October 2026): the paste box, Kasper's reading, My work's From your email, Connections */
.ml-box textarea{width:100%;box-sizing:border-box;min-height:140px;resize:vertical;font:inherit;font-size:13.5px}
.ml-away{margin-top:4px}.ml-away>summary{cursor:pointer;font-weight:600;font-size:13px;padding:6px 0}.ml-away>.sub{display:block;margin-bottom:6px}
.ml-awr{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-top:1px solid var(--line)}.ml-awr span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ml-awr .btn-s{flex:none}
.ml-dup{font-size:13px;padding:8px 10px;border-radius:10px;background:var(--surface-sunken,rgba(0,0,0,.04));display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.ml-none{margin:0;font-size:13px;color:var(--muted)}
.ml-g{display:grid;gap:6px;justify-items:start}.ml-msg{color:var(--ink);font-size:12.5px}
.hc-m .ml-card{width:100%;box-sizing:border-box}.hc-m>div:has(>.ml-card){min-width:0;flex:1;grid-template-columns:minmax(0,1fr)}
/* An email as cards (Rami approved review/email-cards-mockup.html, 15 November 2026): one card per email, its pieces of work as cards */
html body .mc-em:not(#_){container:mc / inline-size;background:var(--surface);color:var(--c-ink);border:1px solid var(--border-strong);border-radius:var(--radius-lg,12px);overflow:clip;min-width:0;max-width:100%;overflow-wrap:anywhere;font-size:14px;line-height:20px;text-align:start}
html body .mc-em :is(h3,h4,p):not(#_){margin:0}
html body .mc-em .mc-eh:not(#_){display:flex;align-items:center;gap:12px;padding:12px 16px;width:100%;border:0;border-radius:0;background:none;color:inherit;text-align:start;cursor:pointer;font:inherit;min-height:0}
html body .mc-em .mc-eh:not(#_):hover{background:var(--surface-hover)}
.mc-av{width:36px;height:36px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--accent-violet-pastel);color:#17181a;font-weight:700;font-size:13px}
.mc-who{flex:1;min-width:0}
.mc-who b{display:block;font-size:16px;line-height:22px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-who small{display:block;color:var(--ink-muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mc-prog{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.mc-prog small{color:var(--ink-muted);font-size:12px;line-height:16px;font-variant-numeric:tabular-nums}
.mc-segs{display:flex;gap:3px}.mc-segs i{width:18px;height:6px;border-radius:3px;background:var(--border)}
.mc-segs i.ready{background:var(--primary)}.mc-segs i.added{background:var(--accent-green)}.mc-segs i.skipped{background:var(--border-strong);opacity:.55}.mc-segs i.dup{background:var(--accent-orange)}
.mc-chev{width:16px;height:16px;flex:none;color:var(--ink-muted);transition:transform var(--dur-base,200ms) var(--ease-out,ease)}
.mc-em.is-open>.mc-eh .mc-chev,.mc-bulkt[aria-expanded="true"] .mc-chev{transform:rotate(180deg)}
.mc-tick{width:16px;height:16px;flex:none}
.mc-eb{border-top:1px solid var(--border)}
.mc-sec{padding:14px 16px;border-top:1px solid var(--border)}.mc-eb>.mc-sec:first-child{border-top:0}
.mc-lbl{display:block;font:600 12px/16px var(--font-sans);letter-spacing:.02em;color:var(--ink-muted);margin-bottom:4px}
.mc-pill{display:inline-flex;align-items:center;gap:6px;height:22px;padding:0 10px;border-radius:var(--radius-pill,999px);font:600 12px/16px var(--font-sans);color:var(--on-status);background:var(--status-idle-fill);white-space:nowrap}
.mc-pill.ready{background:var(--primary)}.mc-pill.added{background:var(--accent-green-pastel)}.mc-pill.dup{background:var(--status-working-fill)}
/* Kasper read this */
.mc-kas{display:flex;gap:12px}
.mc-buddy{width:32px;height:32px;flex:none;overflow:visible}.mc-buddy .mc-mark{fill:var(--c-ink)}.mc-buddy .mc-eye{fill:var(--surface)}
.mc-kast{flex:1;min-width:0}.mc-kast .mc-lbl{margin-bottom:2px}
html body .mc-kast>p:not(#_){font-size:15px;line-height:22px;max-width:68ch}
.mc-facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.mc-fact{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:var(--radius-pill,999px);background:var(--surface-sunken);color:var(--ink-muted);font-size:12px;font-weight:600}
.mc-kast .hp-warn{display:block;margin-top:8px}
html body .mc-em .mc-origt:not(#_){margin-top:10px;border:0;background:none;padding:4px 0;min-height:0;color:var(--status-done-fg);font-weight:600;cursor:pointer;display:inline-flex;font:inherit;font-weight:600}
html body .mc-em .mc-origt:not(#_):hover{text-decoration:underline}
.mc-orig{margin-top:8px;padding:12px 14px;background:var(--surface-sunken);border-radius:var(--radius-md,8px);white-space:pre-wrap;font-size:14px;line-height:22px;max-height:240px;overflow:auto;unicode-bidi:plaintext;text-align:start}
.mc-origm{font-size:12px;color:var(--ink-muted);margin-top:6px}
/* the client */
.mc-clq{font-weight:600;font-size:15px}.mc-said{display:block;color:var(--ink-muted);margin-top:2px;font-size:12.5px}
.mc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;align-items:center}
html body .mc-em .mc-chip:not(#_){display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid var(--border-strong);border-radius:var(--radius-pill,999px);background:var(--surface);color:var(--c-ink);font:600 14px/1 var(--font-sans);cursor:pointer}
html body .mc-em .mc-chip:not(#_):hover{background:var(--surface-hover)}
.mc-chip small{font-weight:500;color:var(--ink-muted);font-size:12px}
html body .mc-em .mc-chip.guess:not(#_){border-width:2px;border-color:var(--c-ink)}
.mc-chips .mc-sel{width:200px;max-width:100%}
.mc-clset{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.mc-clset .mc-lbl{margin:0}.mc-clset b{font-size:16px;font-weight:600}.mc-clset small{color:var(--ink-muted)}.mc-clset .btn-s{margin-inline-start:auto}
.mc-savec{display:flex;align-items:center;gap:8px;margin-top:10px;color:var(--ink-muted);cursor:pointer;width:fit-content;font-size:13px}.mc-savec input{width:18px;height:18px;margin:0}
.mc-need{margin-top:10px;padding:8px 12px;border-radius:var(--radius-md,8px);background:var(--accent-orange-soft);color:var(--status-working-fg);font-weight:600;font-size:13px}
/* the pieces of work */
.mc-lane{background:var(--surface-sunken);padding:14px 16px 16px;border-top:1px solid var(--border)}
.mc-laneh{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-bottom:10px}
html body .mc-em .mc-laneh h3:not(#_){font-size:15px;line-height:20px;font-weight:700}.mc-laneh small{color:var(--ink-muted)}
.mc-bulk{background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius-lg,12px);margin-bottom:12px}
html body .mc-em .mc-bulkt:not(#_){width:100%;border:0;background:none;color:inherit;display:flex;align-items:center;gap:8px;padding:10px 14px;min-height:0;cursor:pointer;font:600 14px/20px var(--font-sans);text-align:start}
.mc-bulkt small{font-weight:400;color:var(--ink-muted);margin-inline-start:auto;font-size:12.5px}
.mc-bulkb{padding:0 14px 14px}
.mc-slots{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px 12px}
.mc-slots>label{display:block;min-width:0}
.mc-sel{position:relative;display:block}
html body .mc-em :is(.mc-sel select,input.mc-in,.mc-edit .find):not(#_){width:100%;min-width:0;max-width:100%;min-height:36px;box-sizing:border-box}
html body .mc-em .mc-sel.todo select:not(#_),html body .mc-em input.mc-in.todo:not(#_){border-style:dashed;color:var(--ink-muted)}
html body .mc-em .mc-sel.set select:not(#_):not(#_),html body .mc-em input.mc-in.set:not(#_):not(#_){background-color:var(--primary-soft)!important;font-weight:600}
.mc-cards{display:flex;flex-direction:column;gap:10px}
.mc-pc{background:var(--surface);border:1px solid var(--border);border-inline-start:4px solid var(--border-strong);border-radius:var(--radius-lg,12px);box-shadow:var(--shadow-raised);padding:14px 16px;animation:mc-in var(--dur-base,200ms) var(--ease-out,ease)}
.mc-pc.ready{border-inline-start-color:var(--primary-hover)}.mc-pc.dup{border-inline-start-color:var(--accent-orange)}
.mc-pct{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.mc-pn{color:var(--ink-subtle);font:600 12px/16px var(--font-sans);font-variant-numeric:tabular-nums}.mc-pct .mc-pill{margin-inline-start:auto}
html body .mc-em .mc-pc h4:not(#_){font-size:17px;line-height:24px;font-weight:600;unicode-bidi:plaintext;text-align:start}
html body .mc-em .mc-gist:not(#_){margin-top:4px;max-width:66ch}.mc-gist span{color:var(--ink-muted);font-weight:600}
.mc-quote{margin:10px 0 0;padding:8px 12px;border-radius:var(--radius-md,8px);background:var(--surface-sunken)}.mc-quote .mc-lbl{margin-bottom:2px}
html body .mc-em .mc-quote p:not(#_){unicode-bidi:plaintext;text-align:start;font-size:14px;line-height:22px;white-space:pre-line;max-height:11em;overflow:auto}
.mc-pc .mc-slots{margin-top:14px}
.mc-hint{display:block;margin-top:4px;font-size:12px;line-height:16px;color:var(--ink-muted)}
html body .mc-em .mc-hint button:not(#_){border:0;background:none;padding:0;min-height:0;color:var(--status-done-fg);font:600 12px/16px var(--font-sans);cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.mc-sim{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding:8px 12px;border-radius:var(--radius-md,8px);background:var(--accent-orange-soft);color:var(--status-working-fg)}
.mc-sim span{flex:1;min-width:200px}.mc-sim b{unicode-bidi:isolate}
.mc-pc>.hp-warn{display:block;margin-top:10px}
.mc-pcf{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}
.mc-out{flex:1;min-width:220px;display:flex;gap:8px;align-items:flex-start;color:var(--ink-muted);font-size:13px;line-height:18px}
.mc-out svg{width:16px;height:16px;flex:none;margin-top:1px}.mc-out.ok{color:var(--c-ink)}.mc-out.ok b{font-weight:600}.mc-out .mc-lbl{margin:0}.mc-out .mc-warn{color:var(--status-working-fg);font-weight:600}
.mc-acts{display:flex;align-items:center;gap:4px;margin-inline-start:auto}.mc-acts .pri{min-width:96px;margin-inline-start:6px}
html body .mc-em .btn-s.mc-quiet:not(#_){border-color:transparent;background:none;box-shadow:none;color:var(--ink-muted)}
html body .mc-em .btn-s.mc-quiet:not(#_):hover{background:var(--surface-hover);color:var(--c-ink)}
.mc-edit{display:grid;grid-template-columns:1fr 170px;gap:10px 12px}.mc-edit label{display:block;min-width:0}.mc-edit .mc-row{grid-column:1/-1;display:flex;gap:8px}
/* a decided piece folds to one line */
.mc-rowd{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg,12px);padding:8px 12px 8px 14px;min-height:48px}
.mc-okic{width:22px;height:22px;border-radius:50%;background:var(--accent-green-pastel);color:#17181a;display:grid;place-items:center;flex:none}
.mc-t{flex:1;min-width:0}.mc-t b{display:block;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;unicode-bidi:plaintext;text-align:start}.mc-t small{display:block;color:var(--ink-muted);font-size:12px;line-height:16px}
.mc-rowd.off{background:none;border-style:dashed}.mc-rowd.off .mc-t b{color:var(--ink-muted);font-weight:500}
.mc-foot{display:flex;align-items:center;gap:12px}.mc-foot small{flex:1;color:var(--ink-muted)}.mc-foot .btn-s{margin-inline-start:auto}
.mc-donen{display:flex;gap:8px;align-items:center;color:var(--accent-green);font-weight:600}
/* My work's panel: Add all ready, at the foot of the open email while it scrolls */
.mc-bar{position:sticky;bottom:-24px;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border-top:1px solid var(--border-strong)}
.mc-bar small{flex:1;min-width:0;color:var(--ink-muted);font-size:12px;line-height:16px}
.ml-pnote b{color:var(--c-ink)}
@keyframes mc-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* a narrow place (a phone's sheet, Kasper's chat): the mockup's Phone size */
@container mc (max-width:560px){
  html body .mc-em .mc-eh:not(#_){padding:12px}
  .mc-prog small,.mc-bar .mc-segs,.mc-bulkt small{display:none}
  .mc-segs i{width:10px}
  .mc-sec,.mc-lane{padding-inline:12px}
  .mc-slots{grid-template-columns:1fr}
  .mc-pc{padding:12px}
  .mc-pcf{flex-direction:column;align-items:stretch}
  .mc-out{min-width:0}
  .mc-acts{margin:0;display:grid;grid-template-columns:auto auto 1fr;gap:6px}.mc-acts .pri{order:3;margin:0}
  .mc-edit{grid-template-columns:1fr}
  .mc-chips .mc-sel{width:100%}
  html body .mc-em .mc-chip:not(#_){flex:1 1 auto;justify-content:center;height:44px}
  .mc-clset .btn-s{margin:0}
  .mc-bar{padding:10px 12px}
  .mc-foot{flex-wrap:wrap}
}
@media (prefers-reduced-motion:reduce){.mc-pc{animation:none}.mc-chev{transition:none}}

/* Branding project: the client's brand discovery and strategy (public/brand.js docBtn) */
.br-docs{display:grid;gap:8px}.br-docs h3{margin:0;font-size:14px}.br-docl{display:flex;flex-wrap:wrap;gap:8px}.br-pnl>.br-doc{justify-self:start;margin-bottom:4px}
/* Branding project: one Updates feed for the whole project (Rami, 22 October 2026), the stage's finished-work link under its row,
   and the row a link points at, lit for a moment (public/brand.js feed / linkRow / FOCUS) */
.br-feed{display:grid;gap:10px}.br-feed h3{margin:0;font-size:15px}
.br-feed .br-nform{display:grid;gap:8px}.br-feed .br-nbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.br-feed .br-nbar .btn-s.pri{margin-inline-start:auto}
.br-feed .br-notes{display:grid;gap:10px;max-height:min(70vh,640px);overflow:auto;padding-inline-end:2px}
.br-feed .br-n{display:grid;gap:4px;padding:10px 12px;border-radius:12px;background:var(--surface-sunken,var(--panel))}
.br-feed .br-nh{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.br-feed .br-nh small{color:var(--muted)}.br-feed .br-nh .br-x{margin-inline-start:auto}
.br-feed .br-n p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.br-feed .br-nst{font-size:11.5px;padding:1px 8px;border-radius:999px;background:var(--surface,var(--bg));color:var(--muted)}
.br-feed .br-hub{display:flex;gap:8px;justify-content:space-between;align-items:baseline;padding:2px 4px;background:none;color:var(--muted);font-size:12.5px}
.br-feed .br-hub small{flex:none;font-size:11.5px}
.br-linkr .br-c1{display:flex;align-items:center;gap:8px;grid-column:1/-1}.br-linkr .br-lab{flex:none;font-size:12.5px;color:var(--muted)}.br-linkr input{flex:1;min-width:0}
.br-docl1{display:inline-flex;align-items:center;gap:4px;margin-inline-start:8px;font-size:12px;color:var(--muted);text-decoration:none;white-space:nowrap}.br-docl1:hover{color:var(--ink);text-decoration:underline}.br-docl1 svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}
#brPage .br-lit{animation:br-lit 2.2s ease-out}@keyframes br-lit{0%,40%{background:color-mix(in srgb,var(--primary,#2563eb) 16%,transparent)}100%{background:transparent}}
.br-sdot.br-sdb{border:0;padding:0;cursor:pointer;background:transparent}.br-sdot.br-sdb.d{background:var(--ink)}.br-sdot.br-sdb.b{background:var(--bad)}@media (hover:hover){.br-sdot.br-sdb:hover{box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--bg);background:var(--ink)}}
/* A branding project's stages table, like every Hub list (Rami, 22 October 2026: "make the styling of the table just like all other
   tables in the Hub"): rows and sub-items as in Production (wk-r1, jsub-*); the Link column; a task's name opens it beside the page */
.br-stages .br-tbar{display:flex;justify-content:flex-end;margin-bottom:4px}
.br-stages .wk-t1{margin-top:0}
.br-srow .wk-cell2{display:flex;align-items:center;gap:8px}.br-srow .wk-cell2 small{color:var(--muted);font-size:12px}
.br-now{font-style:normal;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;background:var(--focus,#2b5fd9);color:#fff}
.br-tname{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.br-tname:hover{text-decoration:underline}
.br-task.done .br-tname{color:var(--muted);text-decoration:line-through}
.br-lkc{display:flex;align-items:center;gap:4px;min-width:0}.br-lkc input{flex:1;min-width:0}
.br-lko,.br-doclk{display:inline-flex;align-items:center;gap:4px;color:var(--ink-subtle,#555);font-size:12.5px;text-decoration:none;white-space:nowrap}
.br-lko svg,.br-doclk svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.br-lko:hover,.br-doclk:hover{color:var(--focus)}
.br-other .wk-cell2{font-weight:600}
.sp.br-pnlw{width:min(640px,100vw)}
.br-pnl .br-pf{margin-bottom:14px}.br-pup h3{margin:6px 0 8px;font-size:14px}
/* Pop out chat (public/chat.js): the Hub at ?pop=1 in the floating window shows only Chat */
.cx-topb{display:flex;gap:6px;align-items:center}
html.pop :is(#app>aside,#tbar,.mhead,.tabbar,.pal,#rtPill,.fb-fab,.fb-tab,.esc-fab,.mk-fab,.cx-popb){display:none!important}
/* no announcement bar over Circle Chat and the pop-out: it pushed Chat's bar off the bottom of a phone, and announcements are in Chat's Updates (2 November 2026) */
html.pop #annBar{display:none!important}
html.pop main{padding:0!important;margin:0!important}
html.pop .app{display:block!important} /* no column kept for the hidden menu: Chat takes the whole window (Circle Chat on a computer, 1 November 2026) */
html.pop #chatPage .cx{gap:0;min-height:0}
/* the window's height for Circle Chat's list, and for an open chat on a computer; an open chat on a phone is the one frame on the visible
   part of the screen (the phone block above, public/phonekit.js), never 100vh: this rule covered the box with the keyboard in Circle Chat
   added to an iPhone's home screen (Rami, 12 November 2026) */
html.pop #chatPage:not(.has-room) .cx{height:100vh!important}
@media(min-width:861px){html.pop #chatPage.has-room .cx{height:100vh!important}}
html.pop #chatPage .cx-list,html.pop #chatPage .cx-main{border-radius:0}
/* a row swiped on a phone (public/phonekit.js rowSwipe): it follows the finger over a coloured strip saying what will happen */
.mk-swbg{position:absolute;display:flex;align-items:center;padding:0 22px;font-weight:700;font-size:14px;color:#fff;border-radius:12px;pointer-events:none;z-index:0;opacity:.75;transition:opacity .12s}
.mk-swbg.go{opacity:1}.mk-swbg.ok{background:#1f9d55}.mk-swbg.bad{background:#d64545}.mk-swbg.left{justify-content:flex-end}
.mk-swiping{position:relative;z-index:1;background:var(--bg);box-shadow:0 2px 10px -6px rgba(0,0,0,.35)}
.mk-swback{transition:transform .18s ease}
@media(max-width:860px){#brPage :is(.br-srow,.br-task){touch-action:pan-y}}
@media(max-width:860px){:is(.mk-item,.mk-act,.td-row){touch-action:pan-y}}.mk-act.is-done{opacity:.4;text-decoration:line-through}:has(> .mk-swiping){overflow-x:clip}
/* Fill from the meeting (public/meetfill.js; Rami, 25 October 2026): the panel over a discovery while Kasper reads the meeting */
.bd-wrap.filling{display:none!important}
.mf{display:grid;gap:14px;padding:20px;margin:0 0 14px}
.mf .hint{margin:6px 0 0;font-size:12px;color:var(--ink-muted)}
.mf-files{list-style:none;margin:10px 0 0;padding:0;display:grid;gap:6px}
.mf-files li{display:flex;align-items:center;gap:10px}.mf-files li span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mf-files small{color:var(--ink-muted)}
.mf-do{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.mf-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.mf-a{display:grid;gap:8px;padding:12px 14px;border-radius:12px;background:var(--surface-2,var(--page))}
.mf-a label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}.mf-a label span{display:grid;gap:2px}.mf-a label small,.mf-now small,.mf-new small{font-size:11px;color:var(--ink-muted)}
.mf-now p,.mf-new p{margin:2px 0 0;white-space:pre-wrap;line-height:1.5}.mf-now p{color:var(--ink-muted)}
.mf-new{padding-left:12px;border-left:3px solid var(--primary)}
.mf-h{margin:6px 0 0;font-size:15px}.mf-sub{margin:-8px 0 0}
.mf-more{margin:0;padding-left:20px;display:grid;gap:6px;line-height:1.5}.mf-more small{color:var(--ink-muted)}
.mf-opt{display:flex;gap:8px;align-items:center;font-size:13px}
/* Admin › People: each person's profile line and the Profile panel (lib/staff.js) */
.ut-pl{display:block;color:var(--muted);font-size:11.5px;margin-top:1px}
.ut-prof{margin-inline-start:auto;flex:none}
.pp-prof h4{margin:6px 0 0;font-size:13px}.pp-prof h4 small{display:block;font-weight:400;color:var(--muted);font-size:12px}
.pp-prof label>small{color:var(--muted);font-size:12px}
.pp-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pp-acts{display:flex;gap:8px;flex-wrap:wrap}
.pp-lab{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
@media(max-width:560px){.pp-two{grid-template-columns:1fr}}
/* a picture copied in from a Drive link: the link it came from (lib/drivecopy.js) */
html body .pp-src:not(#_){position:absolute;left:4px;bottom:4px;font-size:10.5px;padding:1px 6px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;text-decoration:none}
/* a Drive link whose pictures are still being copied in after the save (public/drivewait.js, lib/drivecopy.js) */
html body .pp-th .dw-n:not(#_){position:absolute;left:4px;right:4px;top:4px;display:flex;align-items:center;gap:5px;font-size:10.5px;line-height:1.3;padding:2px 7px;border-radius:10px;background:rgba(0,0,0,.65);color:#fff;pointer-events:none;white-space:normal}
html body .pp-th .dw-n.bad:not(#_){background:rgba(150,40,20,.85)}
.dw-b{position:absolute;right:5px;bottom:5px;z-index:1;display:inline-flex;align-items:center;gap:4px;padding:1px 7px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font:600 10.5px/1.45 Inter,system-ui,sans-serif;font-style:normal;pointer-events:none;white-space:nowrap}
.dw-b.bad{background:rgba(150,40,20,.85)}

.dw-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;font-style:normal;animation:dw-pulse 1.1s ease-in-out infinite}
@keyframes dw-pulse{0%,100%{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}
@media (prefers-reduced-motion:reduce){.dw-dot{animation:none}}
.dw-l{margin:0 0 6px;font-size:12.5px;display:flex;align-items:center;gap:6px;color:var(--muted)}
.dw-l.bad{color:#b3361b}
html body .pp-hero.none small:not(#_){padding:0 16px;text-align:center}

/* The language check page (#language; Rami, 27 October 2026; public/langcheck.js) */
.lc-diff del,.ld-diff del{color:var(--accent-rose,#cf2456);background:var(--accent-rose-soft,#fde6ee);border-radius:3px;padding:0 2px}
.lc-diff ins,.ld-diff ins{color:var(--accent-green,#14804a);background:var(--accent-green-soft,#e2f5ea);text-decoration:none;border-radius:3px;padding:0 2px}
.lc-empty{display:flex;flex-direction:column;gap:4px;padding:28px;background:var(--surface,var(--panel));border-radius:12px;color:var(--muted)}.lc-empty b{color:var(--ink);font-size:16px}
.ld-diff{display:grid;gap:12px}.ld-diff h4{margin:0 0 4px;font-size:13px;color:var(--muted)}.ld-diff p{margin:0;line-height:1.8;font-family:"IBM Plex Sans Arabic",var(--font-sans,inherit)}
.wk-lvp{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}.wk-lvp a{font-size:13px;color:var(--ink)}

@media (max-width:860px){.lv-pic{width:84px}}
/* The Publishing page (public/publishing.js; Rami, 30 October 2026, from his approved mockup): the title with pill tabs on one line, Mine and
   a client picker on the right; the posts grouped by day, three cards a row (one on a phone), each with the design, the caption per language
   with Copy, and Download, Open the post, Scheduled, Published and the other outcomes. Cadence tokens only, so dark mode follows. */
.pb{max-width:var(--page-max)}
.pb-top{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-bottom:14px}.pb-top .h1{margin:0}.pb-sp{flex:1}
.pb-tabs{display:flex;gap:2px;background:var(--surface-sunken);border-radius:var(--radius-pill);padding:3px;max-width:100%;overflow-x:auto;scrollbar-width:none}.pb-tabs::-webkit-scrollbar{display:none}
.pb-tabs button{flex:none;border:0;background:none;color:var(--ink-muted);font:500 13px/18px var(--font-sans,inherit);padding:6px 12px;border-radius:var(--radius-pill);cursor:pointer;white-space:nowrap}
.pb-tabs button em{font-style:normal;font-weight:600;color:var(--ink);margin-inline-start:6px}
.pb-tabs button.on{background:var(--surface);color:var(--ink);font-weight:600;box-shadow:var(--shadow-raised)}
.pb-mine{border:1px solid var(--border-strong);background:var(--surface);color:var(--ink);border-radius:var(--radius-pill);padding:6px 14px;font:600 13px/18px var(--font-sans,inherit);cursor:pointer}
.pb-mine.on{background:var(--ink);color:var(--surface);border-color:var(--ink)}
html body select.pb-pick:not(#_){border-radius:var(--radius-pill)!important;min-width:150px;height:32px;padding:0 12px}
.pb-dsub{margin:0 0 12px}
.pb-day{margin:0 0 20px}
.pb-dh{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0 0 8px}.pb-dh h2{font-size:14px;margin:0}.pb-dh small{color:var(--ink-muted)}
.pb-late{font-style:normal;font-size:12px;font-weight:600;padding:1px 9px;border-radius:var(--radius-pill);background:var(--status-stuck-bg);color:var(--status-stuck-fg)}
.pb-znote{flex-basis:100%;text-align:end;color:var(--ink-muted)}
.pb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pb-card{background:var(--surface);border-radius:16px;padding:12px;display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;align-content:start;position:relative}
.pb-card.late{box-shadow:0 0 0 1.5px var(--status-stuck-fill)}
.pb-pic{position:relative;border-radius:10px;overflow:hidden;background:var(--surface-sunken);aspect-ratio:4/5;align-self:start;display:flex;align-items:center;justify-content:center}
.pb-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.pb-pic>i{font-style:normal;font-size:12px;color:var(--ink-subtle);padding:6px;text-align:center}
.pb-ct{position:absolute;top:6px;inset-inline-end:6px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;font-weight:600;padding:2px 7px;border-radius:var(--radius-pill)}
.pb-side{display:flex;flex-direction:column;gap:6px;min-width:0}
.pb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:12px;color:var(--ink-muted)}
.pb-cl{display:inline-flex;align-items:center;gap:5px;font-weight:600;color:var(--ink)}.pb-cl i{width:10px;height:10px;border-radius:50%;flex:none}
.pb-st{font-size:12px;color:var(--ink-muted)}
.pb-cap{position:relative;background:var(--surface-sunken);border-radius:8px;padding:6px 52px 6px 8px;font-size:13px;line-height:1.45}
.pb-cap[lang=ar],.pb-cap[lang=he]{padding:6px 8px 6px 52px;font-family:"IBM Plex Sans Arabic",var(--font-sans,inherit)}
.pb-cap p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;max-height:9.5em;overflow:auto}
.pb-copy{position:absolute;top:5px;right:6px;border:0;background:var(--surface);color:var(--ink);font:700 11px/16px var(--font-sans,inherit);padding:2px 8px;border-radius:var(--radius-pill);cursor:pointer}
.pb-cap[lang=ar] .pb-copy,.pb-cap[lang=he] .pb-copy{left:6px;right:auto}
.pb-none{margin:0;font-size:13px;color:var(--ink-subtle)}
.pb-prob{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:13px;background:var(--status-stuck-bg);color:var(--status-stuck-fg);border-radius:10px;padding:7px 10px}.pb-prob span{flex:1;min-width:0;overflow-wrap:anywhere}.pb-prob small{opacity:.8}
.pb-acts{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.pb-do{display:flex;align-items:center;gap:6px;margin-inline-start:auto;flex-wrap:nowrap}
html body .pb-acts :is(.btn-s,a.btn-s):not(#_),html body .pb-zip:not(#_),html body .pb-prob .btn-s:not(#_){border-radius:var(--radius-pill);font-size:12px;padding:0 11px}
.pb-more{position:relative}.pb-more>summary{list-style:none;cursor:pointer;width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--ink-muted);font-weight:700}.pb-more>summary::-webkit-details-marker{display:none}.pb-more>summary:hover{background:var(--surface-hover)}
.pb-menu{position:absolute;bottom:32px;right:0;z-index:20;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-menu);padding:4px;display:flex;flex-direction:column;min-width:180px}
.pb-menu button{border:0;background:none;color:var(--ink);text-align:start;font:500 13px/18px var(--font-sans,inherit);padding:7px 10px;border-radius:6px;cursor:pointer}.pb-menu button:hover{background:var(--surface-hover)}
.pb-msg{grid-column:1/-1;margin:0}
/* By client (Rami, 31 October 2026): one QA-style white section per client (.qa-m, .qa-strip from QA's Design check), its posts side by side */
.pb-by{margin-inline-end:4px}
@media (max-width:860px){.pb-by button{min-height:36px;padding:8px 2px}} /* By client / By date big enough for a thumb (robot, 31 October 2026) */
.pb-crow.late .qa-dot{box-shadow:0 0 0 3px var(--status-stuck-bg)}
.pb-strip .pb-card{flex:none;width:min(420px,84vw);box-shadow:0 0 0 1px var(--border)}
.pb-strip .pb-card.late{box-shadow:0 0 0 1.5px var(--status-stuck-fill)}
.pb-when{font-weight:600;color:var(--ink)}.pb-when.late{color:var(--status-stuck-fg)}
.pb-st{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.pb-pill{font-style:normal;font-size:11.5px;font-weight:600;padding:1px 9px;border-radius:var(--radius-pill)}
.pb-pill.sch{background:var(--status-working-bg);color:var(--status-working-fg)}.pb-pill.pub{background:var(--status-done-bg,var(--surface-sunken));color:var(--status-done-fg,var(--ink))}
@media (max-width:1180px){.pb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:860px){.pb-top .h1,.pb-top .q-help{display:none}.pb-top{gap:8px}.pb-tabs{order:-1;flex-basis:100%}.pb-top .pb-sp{display:none}html body select.pb-pick:not(#_){flex:1;min-width:0}
  .pb-grid{grid-template-columns:1fr}.pb-card{grid-template-columns:96px minmax(0,1fr)}.pb-dh .pb-zip{flex-basis:100%}
  .pb-copy{min-height:28px;min-width:52px;top:4px}.pb-cap{padding-inline-end:62px;min-height:36px}.pb-cap[lang=ar],.pb-cap[lang=he]{padding:6px 8px 6px 62px}}
/* the menu's QA group keeps its label on a computer too (the other headings are hidden there, frame.css): "a whole section in the hub for checks we call QA" (Rami, 30 October 2026) */
/* My work's list of marketing strategies waiting (public/work.js stratList): each client, how far it is, and its status to set */
.stl-list{display:grid;gap:8px;margin-top:12px}
.stl-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:12px;background:var(--panel)}
.stl-row>div{display:grid;gap:2px;min-width:0}.stl-row a{font-weight:600;color:var(--ink);text-decoration:none}.stl-row a:hover{text-decoration:underline}
.stl-row small{color:var(--muted)}.stl-row select{flex:none;max-width:52%}
/* a video set as Post, a reel with no video (public/posts.js typeWarn): the note in the post panel with its one tap, and the month's line */
.pp-tw{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 12px;padding:9px 12px;border-radius:10px;background:var(--warn-soft,#fff4d6);color:var(--ink);font-size:13px}
.pp-tw .btn-s{flex:none}

/* Home's grid (public/homegrid.js): 12 columns, rows of 20px; while arranging, blocks are lifted, the held one follows the pointer,
   a ghost shows where it will land, and the dot grid shows the cells it snaps to */
.hg-bar{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:18px 0 10px;min-height:32px}
.hg-bar .hg-arr{opacity:.7}.hg-bar .hg-arr:hover{opacity:1}
.hg-bar.on{justify-content:flex-start}.hg-bar .hg-tip{margin-inline-end:auto;font-size:13px;color:var(--muted)}
.hg{position:relative;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:var(--hg-row,20px);gap:var(--hg-gap,20px)}
.hg-b{position:relative;min-width:0;min-height:0;transition:grid-area .2s ease}
.hg-b>.hg-in{height:100%;overflow:auto;border-radius:22px;scrollbar-width:thin}
.hg-b.auto>.hg-in{height:auto;overflow:visible}
.hg-b:has(> .hg-in > .hm-bars:empty),.hg-b:has(> .hg-in > .hm-team:empty){display:none}
.hg.arr .hg-b{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;border-radius:22px;outline:2px dashed color-mix(in srgb,var(--ink) 22%,transparent);outline-offset:4px}
.hg.arr .hg-b>.hg-in{pointer-events:none}
.hg.arr .hg-b:focus-visible{outline:2px solid var(--accent,#5b5bd6)}
.hg.arr .hg-b.held{z-index:5;cursor:grabbing;box-shadow:0 18px 40px rgba(0,0,0,.18);transition:none;opacity:.92}
.hg-rz{position:absolute;inset-inline-end:-6px;bottom:-6px;width:22px;height:22px;border-radius:7px;background:var(--ink);cursor:nwse-resize;z-index:6;box-shadow:0 0 0 3px var(--bg)}
[dir=rtl] .hg-rz{cursor:nesw-resize}
.hg-rz::after{content:"";position:absolute;inset:6px;border-inline-end:2px solid var(--bg);border-bottom:2px solid var(--bg)}
.hg-ghost{border-radius:22px;background:color-mix(in srgb,var(--accent,#5b5bd6) 12%,transparent);outline:2px dashed color-mix(in srgb,var(--accent,#5b5bd6) 60%,transparent);pointer-events:none}
.hg.moving::before{content:"";position:absolute;inset:-10px;z-index:0;pointer-events:none;background-image:radial-gradient(circle,color-mix(in srgb,var(--ink) 30%,transparent) 1.4px,transparent 1.6px);background-size:calc((100% + 20px - 20px * 0) / 12) 40px;background-position:-10px -10px;opacity:.9;animation:hg-dots .18s ease}
@keyframes hg-dots{from{opacity:0}to{opacity:.9}}
@media (prefers-reduced-motion:reduce){.hg-b{transition:none}.hg.moving::before{animation:none}}
/* Reports › Client results › one client over time (public/perfreport.js hDraw) */
.ph-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:4px 0 16px}
.ph-back{flex-basis:100%;font-size:13px;color:var(--muted);text-decoration:none}.ph-back:hover{color:var(--ink)}
.ph-title{margin-inline-end:auto;min-width:0}.ph-title h2{margin:0;font-size:26px;letter-spacing:-.02em}.ph-title small{color:var(--muted);font-size:13px}
.ph-tiles{margin-bottom:16px}.ph-tile{cursor:default}.ph-tile b{font-size:20px}.ph-tile span{display:block;font-size:12px;color:var(--muted);margin-top:2px}
.ph-card{margin:0 0 16px}.ph-card h3{margin:0 0 12px;font-size:15px}
.ph-ch{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ph-ch h3{margin:0}.ph-ch label{font-size:13px;color:var(--muted);display:flex;gap:8px;align-items:center}
.ph-chart{overflow-x:auto;margin-top:8px}.ph-chart svg{display:block;max-width:none}
.ph-base{stroke:var(--line,#e3e3e3);stroke-width:1}
.ph-bar{fill:color-mix(in srgb,var(--ink) 22%,transparent)}.ph-bar.g{fill:var(--ok,#2f9e6b)}.ph-bar.r{fill:var(--bad,#d64545)}
.ph-t{stroke:var(--ink);stroke-width:2;stroke-dasharray:4 3}
.ph-v{font-size:11px;font-weight:600;fill:var(--ink);text-anchor:middle}.ph-m{font-size:11px;fill:var(--muted);text-anchor:middle}
.ph-key{font-size:12px;color:var(--muted);margin:10px 0 0;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ph-sw{display:inline-block;width:10px;height:10px;border-radius:3px;background:color-mix(in srgb,var(--ink) 22%,transparent);margin-inline-start:8px}.ph-sw.g{background:var(--ok,#2f9e6b)}.ph-sw.r{background:var(--bad,#d64545)}
.ph-tk{display:inline-block;width:14px;border-top:2px dashed var(--ink);margin-inline-start:8px}
.ph-scroll{overflow-x:auto}.ph-t{min-width:max-content}
.ph-c.g{color:var(--ok-ink,#1e7a50);font-weight:600}.ph-c.r{color:var(--bad-ink,#b42318);font-weight:600}
.ph-sum{font-size:13px}
.ph-note{padding:10px 0;border-top:1px solid var(--line,#eee)}.ph-note:first-of-type{border-top:0}.ph-note p{margin:4px 0 0;white-space:pre-wrap;font-size:14px}
a.pr-name{color:inherit;text-decoration:none}a.pr-name:hover{text-decoration:underline}
/* the results report's preview (public/perfreport.js report): the PDF as it will be, over the page, with its toolbar */
.ph-rep{position:fixed;inset:0;z-index:900;background:color-mix(in srgb,var(--bg) 92%,#000);display:flex;flex-direction:column}
.ph-rep[hidden]{display:none}html.ph-ron{overflow:hidden}
.ph-rbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 18px;background:var(--panel,#fff);box-shadow:0 1px 0 var(--line,#e6e6e6)}
.ph-rbar b{margin-inline-end:6px}.ph-rmsg{margin-inline-end:auto;font-size:13px;color:var(--muted)}
.ph-rf{flex:1;width:min(1000px,100%);margin:16px auto 0;border:0;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 10px 40px rgba(0,0,0,.18)}
.ph-rwait{flex:1;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:15px}
.ph-rdot{width:10px;height:10px;border-radius:50%;background:var(--ink);animation:ph-pulse 1s ease-in-out infinite alternate}
@keyframes ph-pulse{from{opacity:.25;transform:scale(.8)}to{opacity:1;transform:scale(1.15)}}
@media (prefers-reduced-motion:reduce){.ph-rdot{animation:none}}
@media (max-width:860px){.ph-rbar b{flex-basis:100%}.ph-rf{margin:0;border-radius:0}}

/* Client page rework (Rami, 28 October 2026): the Overview's At a glance, quick links and documents; Strategy's rows; Setup's checklist */
.ov-top{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);margin-bottom:14px}
.ov-facts{display:grid;gap:12px}
.ov-f{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px;align-items:baseline}
.ov-f>small{color:var(--muted);font-size:12.5px}
.ov-f>span{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 8px;min-width:0}
.ov-f em{font-style:normal;color:var(--muted);font-size:13px}
.ov-chip{font-style:normal;font-size:12px;font-weight:600;padding:2px 10px;border-radius:999px;background:var(--surface-sunken,var(--soft))}
.ov-chip.k{background:var(--ink);color:var(--bg)}
.ov-wl{font-variant-numeric:tabular-nums}
.ov-qls{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.ov-ql{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;background:var(--surface-sunken,var(--soft));color:var(--ink);text-decoration:none;min-width:0;font-size:13.5px;transition:background .15s}
.ov-ql:hover{background:var(--line)}
.ov-ql span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ql-i{width:18px;height:18px;flex:none}
.ov-files{display:grid;gap:2px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}
.ov-files a{display:flex;align-items:center;gap:8px;padding:6px 0;color:var(--ink);text-decoration:none;font-size:13.5px;min-width:0}
.ov-files a:hover{text-decoration:underline}
.ov-files span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cst-row{margin:0 0 14px}
.cst-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:stretch}
.cst-arr{align-self:center;color:var(--muted);font-size:18px}
html[dir=rtl] .cst-arr{transform:scaleX(-1)}
.pf-todo{margin:0 0 14px;padding:14px 18px}
.pf-todo-h{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.pf-todo-bar{flex:1;max-width:240px;height:6px;border-radius:99px;background:var(--surface-sunken,var(--soft));overflow:hidden}
.pf-todo-bar i{display:block;height:100%;background:var(--ink);border-radius:inherit}
.pf-todo-l{display:flex;flex-wrap:wrap;gap:6px}
.pf-ti{font:inherit;font-size:12.5px;padding:4px 12px 4px 10px;border-radius:999px;border:0;background:var(--surface-sunken,var(--soft));color:var(--ink);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.pf-ti::before{content:"";width:8px;height:8px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--muted)}
.pf-ti.ok{color:var(--muted)}
.pf-ti.ok::before{background:var(--ok,#2e9d5b);box-shadow:none}
.pf.pf2.pf1{grid-template-columns:minmax(0,1fr);max-width:900px}
/* About and Setup (1 November 2026): Fill from the discovery, Setup read only, Green Invoice's Clients see line, Brand's Company details */
.pf-fill{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 12px}
.pf-fill .pf-hint{flex:1 1 180px;margin:0}
.pf-ro{margin:0 0 8px;font-size:13.5px;overflow-wrap:anywhere}
.pf-ronote{margin:0 0 12px}
.gi-see{display:block;margin-top:8px}
.pf-part .pf-row.pv-one{grid-template-columns:minmax(0,1fr) 24px}
.gi-see button{font:inherit;background:none;border:0;padding:0;color:var(--ink);text-decoration:underline;cursor:pointer}
@keyframes pfFlash{from{box-shadow:0 0 0 3px var(--ink)}to{box-shadow:0 0 0 3px transparent}}
.pf-flash{animation:pfFlash 1.2s ease-out}
@media (max-width:760px){
  .ov-top{grid-template-columns:minmax(0,1fr)}
  .ov-f{grid-template-columns:minmax(0,1fr);gap:2px}
  .cst-flow{grid-template-columns:minmax(0,1fr)}
  .cst-arr{transform:rotate(90deg);justify-self:center}
  html[dir=rtl] .cst-arr{transform:rotate(90deg)}
}
.ov-two{grid-template-columns:repeat(auto-fit,minmax(320px,1fr))}
/* the Sales tab's key numbers (Rami, 29 October 2026) */
.pf-nums{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:0 0 14px}
.pf-num{display:grid;gap:2px;padding:14px 18px;border-radius:var(--radius-card,14px);background:var(--bg)}
.pf-num small{color:var(--muted);font-size:12.5px}
.pf-num b{font-size:24px;line-height:1.15;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.pf-num span{color:var(--muted);font-size:12.5px}
.pf-facts.pf-facts0{margin-top:0;padding-top:0;border-top:0;margin-bottom:12px}
/* the month header's i (Rami, 29 October 2026): what the status means, the checks and the posts to look at, behind one small button */






/* an Other item waiting for the account manager (5 November 2026): Waiting for AM, and Approve for the account manager, under its caption */


.pp-lback .pp-do{margin-top:6px}.pp-lwait{margin:0 0 10px;font-size:13px}

/* a post sent back by the language check: why, inside the post (Rami, 29 October 2026) */
.pp-lback{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:var(--bad-bg);color:var(--ink);display:flex;flex-direction:column;gap:3px;font-size:13px}.pp-lback p{margin:2px 0;white-space:pre-wrap;font-size:14px}.pp-lback small{color:var(--muted)}
.ov-says.ov-lback{background:var(--bad-bg);color:var(--ink)}
.mp-need{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 8px;font-size:14px}.mp-need input{margin:0}
.wk-lrow{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:end;margin-bottom:10px}.wk-lrow>b{flex-basis:100%;font-size:13px}

/* ---------- The Workflow board (#workflow; public/workflow.js, lib/workboard.js) ---------- */
.wf{max-width:none}
.wf-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-bottom:10px}.wf-head .h1{margin:0}
.wf-month{display:flex;align-items:center;gap:6px}.wf-month b{min-width:140px;text-align:center;font-size:15px}
.wf-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border,var(--line));margin-bottom:12px}
.wf-tabs button{border:0;background:none;padding:8px 12px;cursor:pointer;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-1px;font:inherit}
.wf-tabs button[aria-selected="true"]{color:var(--ink);border-color:var(--ink);font-weight:600}
.wf-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:12px}.wf-legend{color:var(--muted);margin-inline-start:auto}
.wf-wrap{overflow-x:auto;overflow-y:hidden;background:var(--surface,var(--panel));border:1px solid var(--border-strong,var(--line));border-radius:12px}
.wf-t{border-collapse:collapse;min-width:100%;font-variant-numeric:tabular-nums}
.wf-t th,.wf-t td{border-right:1px solid var(--border,var(--line));border-bottom:1px solid var(--border,var(--line));padding:0;height:40px;white-space:nowrap}
.wf-t thead th{position:sticky;top:0;z-index:4;background:var(--surface-sunken,var(--panel));font-weight:500;font-size:12.5px;color:var(--muted);padding:0 10px;text-align:center;box-shadow:inset 0 -1px 0 var(--border-strong,var(--line))}
.wf-t th.wf-first,.wf-t td.wf-first{position:sticky;left:0;z-index:2;background:var(--surface,var(--panel));text-align:start;min-width:230px;border-right:1px solid var(--border-strong,var(--line))}
.wf-t thead th.wf-first{z-index:5;background:var(--surface-sunken,var(--panel))}.wf-t thead th.wf-first b{color:var(--ink)}
.wf-grp td{height:44px;border-right:0;background:var(--surface,var(--panel))}
.wf-gt{position:sticky;left:0;display:inline-flex;align-items:baseline;gap:6px;padding:0 14px;font-weight:700;font-size:15px}.wf-gt span{color:var(--muted);font-weight:500;font-size:13px}
.wf-g-active .wf-gt{color:var(--accent-green)}.wf-g-new .wf-gt{color:var(--accent-violet)}
.wf-gap td,.wf-gap td.wf-first{height:12px;background:var(--c-bg,var(--page));border-right:0}
.wf-row td{border-top:1px solid var(--border-strong,var(--line))}
.wf-r-active td.wf-first{box-shadow:inset 4px 0 0 var(--accent-green)}.wf-r-new td.wf-first{box-shadow:inset 4px 0 0 var(--accent-violet)}
.wf-cl{display:flex;align-items:center;gap:8px;padding:0 10px 0 16px;height:40px;color:var(--ink);text-decoration:none}.wf-cl small{color:var(--muted);margin-inline-start:auto;font-size:12px}
.wf-cl:hover b{text-decoration:underline}
/* a step is a pill as wide as its words, centred in its cell (Rami, 31 October 2026: "Not started →" no longer fills the whole cell) */
.wf-t td.wf-td{position:relative;padding:0 8px;text-align:center}
.wf-cw{position:relative;display:inline-flex;max-width:100%;vertical-align:middle}
.wf-c{display:inline-flex;align-items:center;justify-content:center;width:auto;max-width:100%;height:26px;min-width:0;padding:0 10px;border:0;border-radius:999px;color:var(--on-status,#17181a);font:inherit;font-size:13px;line-height:1;white-space:nowrap;cursor:pointer;transition:opacity .15s}
.wf-c:hover{filter:brightness(.95)}.wf-c:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.wf-c.s-done{background:var(--accent-green-pastel)}.wf-c.s-work{background:var(--status-working-fill)}.wf-c.s-stuck{background:var(--status-stuck-fill)}.wf-c.s-review{background:var(--status-review-fill)}.wf-c.s-skip{background:var(--status-done-fill)}.wf-c.s-idle{background:var(--status-idle-fill);color:var(--on-status,#17181a);font-weight:400;opacity:.85} /* the fills are pastel in both themes: dark words on them */
.wf-menu button.s-done{background:var(--accent-green-pastel)}.wf-menu button.s-work{background:var(--status-working-fill)}.wf-menu button.s-stuck{background:var(--status-stuck-fill)}.wf-menu button.s-review{background:var(--status-review-fill)}.wf-menu button.s-idle{background:var(--status-idle-fill)}
.wf-mine .wf-c:not(.wf-my):not(.wf-just){opacity:.28}.wf-mine .wf-c.wf-my{box-shadow:inset 0 0 0 2px var(--ink)}
.wf-c.wf-just{box-shadow:inset 0 0 0 2px var(--accent-green)}
.wf-warn,.wf-tick{position:absolute;top:-6px;inset-inline-end:-6px;width:16px;height:16px;border-radius:50%;color:#fff;font-size:11px;font-weight:700;line-height:16px;text-align:center;pointer-events:none}
.wf-warn{background:var(--accent-rose)}.wf-tick{background:var(--accent-green);font-size:10px}
.wf-prog{display:flex;align-items:center;gap:8px;padding:0 10px;min-width:140px}.wf-prog span{flex:1;height:8px;border-radius:999px;background:var(--status-idle-fill);overflow:hidden}.wf-prog i{display:block;height:100%;background:var(--accent-green)}.wf-prog small{color:var(--muted);font-size:12px}
.wf-ghost{position:sticky;left:240px;color:var(--muted);font-style:italic;font-size:12.5px;padding:0 12px}
.wf-empty{padding:24px 16px;color:var(--muted);margin:0}
.wf-tip{position:fixed;z-index:60;max-width:260px;background:var(--c-ink,var(--ink));color:var(--surface,#fff);font-size:12.5px;line-height:1.4;padding:7px 10px;border-radius:8px;pointer-events:none;white-space:normal}.wf-tip b{font-weight:600}.wf-tipw{color:#ffb3c8}
.wf-menu{position:fixed;z-index:60;background:var(--surface,var(--panel));border-radius:10px;box-shadow:var(--shadow-menu);padding:4px;display:grid;gap:2px;width:max-content;min-width:0;max-width:calc(100vw - 16px)}
.wf-menu button{border:0;border-radius:999px;height:28px;padding:0 12px;cursor:pointer;color:var(--on-status,#17181a);font:inherit;font-size:13px;line-height:1;white-space:nowrap;text-align:start}.wf-menu button[aria-pressed="true"]{outline:2px solid var(--ink);outline-offset:1px}
.wf-c.wf-set::after{content:"";flex:none;width:10px;height:10px;margin-inline-start:6px;opacity:.7;background:currentColor;-webkit-mask:var(--caret-down) center/contain no-repeat;mask:var(--caret-down) center/contain no-repeat}
.wf-c.st-go{font-weight:600}.wf-c.st-go.sg-idle{--sg-bg:var(--status-idle-bg)} /* not started yet: a pale grey pill, so it still reads as one on the white row */
@media (prefers-reduced-motion:reduce){.wf-c{transition:none}}
@media (max-width:860px){.wf-c{height:32px;padding:0 12px}.wf-t th.wf-first,.wf-t td.wf-first{min-width:150px;max-width:150px}.wf-cl small{display:none}.wf-cl b{overflow:hidden;text-overflow:ellipsis}.wf-ghost{left:160px}.wf-legend{margin-inline-start:0}}
/* Review here (public/work.js rvOpen; Rami, 29 October 2026): what waits for your review, big over My work, Approve and Send back under it */
.rvw{position:fixed;inset:0;z-index:80;background:rgba(10,10,14,.62);display:flex;align-items:center;justify-content:center;padding:24px}
.rvw-card{width:min(1180px,100%);height:min(calc(100dvh - 48px),900px);display:flex;flex-direction:column;gap:10px;background:var(--bg);color:var(--ink);border-radius:16px;padding:14px 16px 12px;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.rvw-top{display:flex;align-items:center;gap:12px}.rvw-t{display:flex;flex-direction:column;min-width:0;flex:1}.rvw-t b{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rvw-t small{color:var(--muted)}
.rvw-n{color:var(--muted);font-size:13px;white-space:nowrap}.rvw-x{border:0;background:transparent;color:var(--ink);font-size:24px;line-height:1;width:36px;height:36px;border-radius:50%;cursor:pointer}.rvw-x:hover{background:var(--panel)}
.rvw-stage{flex:1;min-height:0;position:relative;border-radius:12px;overflow:hidden;background:var(--panel);display:flex;align-items:center;justify-content:center}
.rvw-stage iframe{width:100%;height:100%;border:0;background:#fff}.rvw-stage.pic{background:#111}.rvw-stage img{max-width:100%;max-height:100%;object-fit:contain}
.rvw-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px}.rvw-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.45);cursor:pointer}.rvw-dots button[aria-current]{background:#fff}
.rvw-none{text-align:center;display:grid;gap:10px;justify-items:center;color:var(--muted)}
.rvw-tip{color:var(--muted)}.rvw-do{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.rvw-sp{flex:1}.rvw-said{min-height:1em;color:var(--bad,#c0392b)}
@media (max-width:860px){.rvw{padding:0}.rvw-card{height:100dvh;width:100%;border-radius:0;padding:calc(10px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}.rvw-do .btn-s{flex:1 1 auto}.rvw-sp{display:none}}
.rvw-tip a{color:inherit;text-decoration:underline}.rvw-again{border:0;background:none;padding:0;font:inherit;color:inherit;text-decoration:underline;cursor:pointer}

/* A status that takes you somewhere (Rami, 29 October 2026, look C): it still fills its place, but pale with coloured words and a →.
   A strong colour (with ▾) is one you change right there. Add .st-go plus one tone: sg-done, sg-work, sg-stuck, sg-review, sg-skip, sg-idle. */
.st-go{--sg-bg:var(--surface,#fff);--sg-ink:var(--ink-muted,var(--muted));background:var(--sg-bg)!important;color:var(--sg-ink)!important;text-decoration:none}
.st-go.sg-done{--sg-bg:var(--accent-green-soft);--sg-ink:var(--accent-green)}.st-go.sg-work{--sg-bg:var(--status-working-bg);--sg-ink:var(--status-working-fg)}.st-go.sg-stuck{--sg-bg:var(--status-stuck-bg);--sg-ink:var(--status-stuck-fg)}.st-go.sg-review{--sg-bg:var(--status-review-bg);--sg-ink:var(--status-review-fg)}.st-go.sg-skip{--sg-bg:var(--status-done-bg);--sg-ink:var(--status-done-fg)}
.st-go::after{content:"";display:inline-block;flex:none;width:12px;height:12px;vertical-align:middle;margin-inline-start:6px;background:currentColor;-webkit-mask:var(--arrow-go) center/contain no-repeat;mask:var(--arrow-go) center/contain no-repeat;transition:transform .15s} /* drawn, so it sits on the middle of the words in any font (Rami, 31 October 2026) */
.st-go:hover,.st-go:focus-visible{filter:brightness(.97)}.st-go:hover::after,.st-go:focus-visible::after{transform:translateX(3px)}
[dir=rtl] .st-go::after{transform:scaleX(-1)}[dir=rtl] .st-go:hover::after,[dir=rtl] .st-go:focus-visible::after{transform:scaleX(-1) translateX(3px)}
@media (prefers-reduced-motion:reduce){.st-go::after{transition:none}}

.st-go.sg-new{--sg-bg:var(--accent-sky-soft);--sg-ink:var(--accent-sky)}.st-go.sg-warn{--sg-bg:color-mix(in srgb,var(--st-warn) 30%,var(--surface,#fff));--sg-ink:var(--sta-warn)}
html body .st-go.st-pill:not(#_):not(#_){display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap}
/* …and a status that only tells you is a dot and a word everywhere, the kit's chips too (they were solid fills, which read as changeable) */
html body .bk-chip:is(.t-none,.t-new,.t-work,.t-client,.t-bad,.t-ok,.t-warn):not(#_):not(#_):not(#_){display:inline-flex;align-items:center;gap:6px;background:transparent!important;color:var(--ink)!important;padding:0 2px!important;border:0!important;box-shadow:none!important;font-weight:600}
html body .bk-chip:is(.t-none,.t-new,.t-work,.t-client,.t-bad,.t-ok,.t-warn):not(#_):not(#_):not(#_)::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--chipdot,var(--sta-none))}
html body .bk-chip.t-new{--chipdot:var(--sta-new)}html body .bk-chip.t-work{--chipdot:var(--sta-work)}html body .bk-chip.t-client{--chipdot:var(--sta-client)}html body .bk-chip.t-bad{--chipdot:var(--sta-bad)}html body .bk-chip.t-ok{--chipdot:var(--sta-ok)}html body .bk-chip.t-warn{--chipdot:var(--sta-warn)}
/* a status dropdown you can't use here (locked) shows as it is: no fill, no ▾, a dot and the word */
html body select[data-sv]:disabled:not(#_):not(#_):not(#_):not(#_){background-color:transparent!important;background-image:radial-gradient(circle at 10px 50%,var(--svdot,var(--sta-none)) 4px,transparent 4.5px)!important;background-size:auto!important;background-position:0 0!important;padding-inline-start:22px!important;padding-inline-end:4px!important;color:var(--ink)!important;opacity:1;cursor:default;appearance:none;-webkit-appearance:none;border:0!important;box-shadow:none!important;font-weight:600}
[dir=rtl] select[data-sv]:disabled:not(#_):not(#_):not(#_):not(#_){background-image:radial-gradient(circle at calc(100% - 10px) 50%,var(--svdot,var(--sta-none)) 4px,transparent 4.5px)!important}
:is(select[data-sv=requested],select[data-sv=confirmed],select[data-sv=open],select[data-sv=scheduled],select[data-sv=lead]){--svdot:var(--sta-new)}select[data-sv=reserved]{--svdot:var(--sta-none)}
:is(select[data-sv=doing],select[data-sv=drafting],select[data-sv=editing],select[data-sv=onboarding],select[data-sv=meeting],select[data-sv=interested],select[data-sv=negotiation]){--svdot:var(--sta-work)}
:is(select[data-sv=review],select[data-sv=client],select[data-sv=ready],select[data-sv=shot],select[data-sv=proposal],select[data-sv=contract]){--svdot:var(--sta-client)}
:is(select[data-sv=changes],select[data-sv=stuck],select[data-sv=rework]){--svdot:var(--sta-bad)}
:is(select[data-sv=approved],select[data-sv=done],select[data-sv=uploaded],select[data-sv=published],select[data-sv=active],select[data-sv=verified]){--svdot:var(--sta-ok)}
:is(select[data-sv=hold],select[data-sv=paused],select[data-sv=assign]){--svdot:var(--sta-warn)}
/* Client health: plain facts, no score (29 October 2026) */
.hh-c.w12{grid-column:1/-1}
.hh-rk em.hh-why{flex:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500;color:var(--muted)}
.hh-rk .hh-pill,.hh-main .hh-pill{padding:3px 10px;font-size:12px;font-weight:700;white-space:nowrap}
.hh-pill.none{color:var(--muted)}

/* a live check problem under its post in a month on a phone, with Fixed (public/posts.js phoneMonth) */
.ps-pi:has(.ps-pfix){flex-wrap:wrap}
/* Skipped steps (Rami, 31 October 2026, lib/skipped.js): a post set past Send to design by hand */
.pp-skip{margin:0 0 10px;padding:8px 12px;border-radius:10px;background:var(--bad-bg);display:flex;flex-direction:column;gap:2px;font-size:13px}.pp-skip small{color:var(--muted)}
.lc-late{margin:0 0 8px;font-size:13px}
/* Branding step 1 (Rami, 31 October 2026, public/brand.js): a stage's chain of steps as pills (green done, black where it is, grey to
   come, dashed passed over), what needs attention as small pills, the dark Next up card, and a stage's work (its versions) */
.br-chain{display:inline-flex;flex-wrap:wrap;gap:3px;align-items:center}
.br-step{font-style:normal;font-size:11px;font-weight:600;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap;background:var(--status-idle-bg);color:var(--ink-subtle)}
.br-step.done{background:var(--accent-green-pastel);color:var(--on-status)}
.br-step.now{background:var(--c-ink);color:var(--surface)}
.br-step.skip{background:transparent;color:var(--ink-subtle);box-shadow:inset 0 0 0 1px var(--border);text-decoration:line-through}
.br-flags{display:inline-flex;flex-wrap:wrap;gap:4px;align-items:center}
.br-flag{font-style:normal;font-size:11px;font-weight:600;line-height:1;padding:4px 8px;border-radius:999px;white-space:nowrap;background:var(--status-idle-fill);color:var(--on-status)}
.br-flag.warn{background:var(--status-working-fill)}.br-flag.hot{background:var(--status-stuck-fill)}.br-flag.review{background:var(--status-review-fill)}.br-flag.client{background:var(--accent-sky-pastel)}
html body .wk-r1>span.br-nx:not(#_){display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;white-space:normal}
.br-nx small{font-size:12px;color:var(--ink-muted);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body .br-card:not(#_){display:flex!important;flex-direction:column;align-items:stretch;gap:5px}
html body .br-card>*:not(.mw-k):not(#_){display:block}html body .br-card>.br-chain:not(#_),html body .br-card>.br-flags:not(#_){display:flex}
.br-card .br-cnow{font-size:12.5px;color:var(--ink-muted)}.br-card .br-cst{color:var(--ink);font-weight:600}
.br-card .br-cnext{font-size:12px;color:var(--ink-muted);line-height:1.35}
.br-card .br-chain,.br-card .br-flags{margin-top:2px}
.br-attn{margin-left:12px;font:600 12.5px/1 var(--font-sans);padding:7px 12px;border-radius:999px;border:0;background:var(--status-stuck-fill);color:var(--on-status);cursor:pointer;min-height:28px}
.br-attn.on{background:var(--c-ink);color:var(--surface)}
.br-where{font-size:12px;color:var(--ink-muted);line-height:1.3}
.br-pday{display:inline-flex;gap:6px;align-items:center}.br-pday .br-date{width:140px}
.br-ask2{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-start;width:100%}.br-ask2 textarea{flex:1 1 260px;min-height:56px}
/* A branding project's page (Rami, 31 October 2026: the stages table, its pills on every row and the dark Next up card were "cluttered"):
   like a Social media month (ps-grid, the month's Steps, pst-*). On the right the Steps: each stage a line, the current one dark with its
   one button, the one shown lit; under them the last client contact, then Details and the Checklist, folded. On the left the stage shown:
   its person, date and version, its work big, its other buttons, then its own Updates and Tasks. */
.br-pg .br-main{display:grid;gap:12px;align-content:start;min-width:0}

.br-psel{border:0;background:none;padding:0;margin:0;font:inherit;color:inherit;text-align:start;cursor:pointer;min-width:0;display:grid;gap:1px}
.br-psel:focus-visible{outline:2px solid var(--focus,#2b5fd9);outline-offset:3px;border-radius:4px}
html body .br-pst:not(.now):not(#_):hover{background:var(--panel)}
html body .br-pst.sel:not(.now):not(#_){background:var(--panel);box-shadow:inset 0 0 0 1.5px var(--border-strong)}
html body .pst.now.sel:not(#_){box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--c-ink)}

.br-pst .br-pwh{font-size:12px;color:var(--ink);line-height:1.35}
html body .pst.now .br-pwh:not(#_){color:var(--surface);opacity:1}
.br-pst .br-flags{margin-top:4px}
.br-ctc{display:grid;gap:6px;margin:10px 4px 0;padding-top:10px;border-top:1px solid var(--border)}
.br-ctc small{font-size:12px;color:var(--ink-muted)}.br-ctc small.late{color:var(--bad);font-weight:600}
.br-ctc span{display:flex;gap:6px;flex-wrap:wrap}
.br-fold summary small{color:var(--ink-muted);font-weight:500;margin-inline-start:4px;white-space:nowrap}
.br-fold .br-det{margin-top:8px}.br-fold .sh-ckbar{margin:8px 0}.br-fold .sh-ckl{margin:0;padding:0}
.br-docl{display:flex;gap:6px;flex-wrap:wrap}
.br-addst{display:grid;gap:6px}
/* the stage shown */
.br-stage{display:grid;gap:12px}
.br-sth{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.br-stn{margin:0;font-size:20px;font-weight:700;letter-spacing:-.01em;flex:1 1 auto;min-width:0}
.br-stf{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-muted)}.br-stf .find{min-width:132px}
.br-stv{font-size:12px;font-weight:600;color:var(--ink-muted)}
.br-stl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.br-back{margin:0;padding:10px 12px;border-radius:10px;background:var(--bad-bg);font-size:13.5px;line-height:1.45;white-space:pre-wrap}
.br-work2{display:grid;gap:6px}
.br-big{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.br-big:has(>:only-child){grid-template-columns:minmax(0,1fr)}
.br-wf{position:relative;display:inline-flex}
.br-wf.big{display:block;min-width:0}
.br-wimg{border:0;padding:0;background:none;cursor:zoom-in;border-radius:8px;overflow:hidden;display:block}.br-wimg img{display:block;width:132px;height:96px;object-fit:cover;background:var(--surface)}
.br-wf.big .br-wimg{width:100%;border-radius:12px}.br-wf.big .br-wimg img{width:100%;height:auto;max-height:560px;object-fit:contain;background:var(--surface-sunken)}
.br-wpdf{display:inline-flex;align-items:center;gap:8px;max-width:260px;padding:8px 10px;border-radius:8px;background:var(--surface);color:var(--ink);text-decoration:none;font-size:12.5px;min-height:28px}
.br-wpdf i{font-style:normal;font-weight:700;font-size:10.5px;padding:3px 6px;border-radius:4px;background:var(--status-stuck-fill);color:var(--on-status)}.br-wpdf span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-wf.big .br-wpdf{display:flex;flex-direction:column;justify-content:center;max-width:none;width:100%;height:200px;box-sizing:border-box;border-radius:12px;background:var(--surface-sunken);font-size:13.5px}
.br-wf.big .br-wpdf i{font-size:13px;padding:6px 10px}
.br-wf .br-x{position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-raised)}
.br-wv>small,.br-wnone,.br-wvl{font-size:12px;color:var(--ink-muted);margin:0}
.br-wnone{padding:28px 16px;border-radius:12px;background:var(--surface-sunken);text-align:center}
.br-wfiles{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.br-vlist{display:grid;gap:14px}
.br-wbar,.br-sec{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.br-wbar .br-lkc{flex:1 1 260px;display:flex;gap:6px;align-items:center;min-width:0}.br-wbar .br-lkc input{flex:1;min-width:0}
.br-lko svg,.br-doclk svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.br-sec{padding-top:10px;border-top:1px solid var(--border)}
.br-sec .btn-s{min-height:28px}
.br-up{cursor:pointer}
/* the stage, calmer (Rami, 1 November 2026): one header line (name, steps, who, due, ⋯), where it stands, one next button, a quiet row */
.br-sthr{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin-inline-start:auto}
.br-sth .br-chain{flex:none}
.br-do{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.br-do small{color:var(--ink-muted);font-size:12px}
.br-quiet{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:10px;border-top:1px solid var(--border)}.br-quiet .btn-s{min-height:28px}
.br-stage .ip-more{flex:none}
/* its feed: the current Work large, the box, then older Work and notes */
.br-wpost{display:grid;gap:8px;padding:10px 12px;border-radius:12px;background:var(--surface-sunken,var(--panel))}
.br-wpost.cur{padding:0;background:none;gap:10px}
.br-wpost p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.45}
.br-wpost .br-nh,.br-n .br-nh{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.br-wpost .br-nh .ip-more,.br-n .br-nh .ip-more{margin-inline-start:auto}
.br-wpost .br-wfiles{margin-top:0}
.br-links{display:flex;flex-wrap:wrap;gap:8px}.br-lcw{position:relative;display:inline-flex;max-width:100%}.br-lcw .br-x{position:absolute;top:-6px;right:-6px;width:24px;height:24px;border-radius:50%;background:var(--surface);box-shadow:var(--shadow-raised)}
.br-lcard{background:var(--surface)}.br-lcard>span{gap:1px}.br-lico{display:inline-block;width:14px;height:14px;vertical-align:-2px;margin-inline-end:4px}.br-lico img{width:14px;height:14px!important;border-radius:3px}
.br-lcard.big{flex-direction:column;align-items:stretch;max-width:420px;padding:0;gap:0}.br-lcard.big>img{width:100%;height:auto;max-height:240px;border-radius:10px 10px 0 0;object-fit:cover}.br-lcard.big>span{padding:10px 12px}
.br-cmp{display:grid;gap:8px}.br-clink{display:flex;gap:6px;align-items:center}.br-clink input{flex:1;min-width:0}
.br-npicks span.br-clk{max-width:260px}
.br-addsb{justify-self:start;margin-top:8px}
.br-stset td{text-align:center}
/* its Updates and Tasks */
.br-sbox{display:grid;gap:12px;min-width:0}
.br-feed .br-n.client{box-shadow:inset 3px 0 0 var(--info-ink,#2b5fd9)}
.br-proj{margin-top:4px}.br-proj summary{cursor:pointer;color:var(--ink-muted);font-size:12.5px;padding:4px 0}.br-proj .br-notes,.br-proj .br-tasks{margin-top:8px}
.br-nfiles{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}
.br-npicks span.file{width:auto;max-width:200px;padding:0 24px 0 8px;display:inline-flex;align-items:center;background:var(--panel);font-size:12px}.br-npicks span.file i{font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br-tasks{overflow-x:auto}
/* the header: ← Branding · the client · the project · package · deadline · ⋯ */
.br-h1{display:flex;align-items:center;gap:8px;min-width:0}.br-hcl{white-space:nowrap}
.br-hm{display:inline-flex;gap:8px;align-items:center;font-size:13px;color:var(--ink-muted);white-space:nowrap}.br-hm>span+span::before{content:"·";margin-inline-end:8px}
.br-hdl.late{color:var(--bad);font-weight:600}.br-hdl.soon{color:var(--warn-ink)}
/* the stage's Updates and Tasks: one white box, the picked tab joining it (as a month's posts) */
html body .card.br-sbox:not(#_):not(#_):not(#_):not(#_){background:var(--surface)!important;border:1px solid var(--border)!important;border-top-color:transparent!important;padding:0 18px 18px!important}
html body .br-sbox>.ip-tabs:not(#_):not(#_):not(#_){margin:0 -18px;max-width:none}
html body .br-sbox>.ip-tabs>button:not(#_):not(#_){display:inline-flex;align-items:center;gap:4px;min-height:34px;box-sizing:border-box}
html body .br-sbox .br-notes:not(#_){position:static;max-width:none;padding:0;background:none;border:0}
html body .br-fold>summary:not(#_):not(#_){display:flex;align-items:center;gap:6px;min-height:30px;font-size:13px;font-weight:600;color:var(--ink);list-style:none}
html body .br-fold>summary:not(#_):not(#_)::-webkit-details-marker{display:none}
html body .br-fold>summary:not(#_):not(#_)::before{content:"";width:6px;height:6px;border:solid currentColor;border-width:0 1.6px 1.6px 0;transform:rotate(-45deg);margin-inline-end:4px;transition:transform .15s}
html body .br-fold[open]>summary:not(#_):not(#_)::before{transform:rotate(45deg)}
html body .br-hcl:not(#_){color:var(--ink-muted);font-weight:500}
/* narrower: the Steps above the stage */
@media(max-width:1100px){html body .br-pg>:is(.ps-side,.ps-stopen):not(#_):not(#_){order:-1}}
@media(max-width:860px){
  .br-attn{margin-left:0}
  .br-stn{font-size:18px;flex-basis:100%}
  .br-sth .br-stf{flex:1 1 140px}.br-stf .find{min-width:0;width:100%}
  .br-sec .btn-s,.br-wbar .btn-s,.br-ctc .btn-s{min-height:32px}
  .br-big{grid-template-columns:minmax(0,1fr)}
  .br-hm{white-space:normal;flex-wrap:wrap}
  html body #brPage .ip-more:not([open]) .ip-menu:not(#_){display:none} /* the closed ⋯ menu at the screen's edge made the page scroll sideways */
  /* a long item name in the phone's top bar ("Hand & Tool brand") is cut with … instead of widening the page (it scrolled sideways) */
  html body .mhead:not(#_){min-width:0}html body .mhead .logo>b:not(#_){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
/* Branding part 2 (Rami, 31 October 2026): estimates, meetings, and the Branding week (Week.dc.html: grey work, blue meetings, red late;
   each person's row with how full their week is, a bar green / amber / red) */
.br-est{min-width:0;width:auto}
.br-stf .br-est{min-width:118px}
.br-pkgest{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink-muted);margin:2px 0 8px}.br-pkgest .find{width:auto}
.br-pkgest0{margin:0 0 10px}.br-pkgest0>span{font-weight:600;color:var(--ink);font-size:13px}
.br-card .br-cmeet{font-size:12px;color:var(--accent-sky);font-weight:600;line-height:1.35}
.br-meets{display:grid;gap:6px;margin:10px 4px 0;padding-top:10px;border-top:1px solid var(--border)}
.br-mh{display:flex;align-items:center;justify-content:space-between;gap:8px}.br-mh b{font-size:13px}
.br-mnone{font-size:12px;color:var(--ink-muted)}
/* the client's page on a branding project (branding part 3): its Client's link and the brand details the client sent */
.br-cpage .br-mh{position:relative}.br-cpage summary{font-size:12.5px;cursor:pointer}
.br-cpl{list-style:none;margin:6px 0;padding:0;display:grid;gap:6px}.br-cpl li{display:grid;gap:1px;font-size:12.5px;line-height:1.35;padding-inline-start:12px;position:relative}
.br-cpl li::before{content:"";position:absolute;inset-inline-start:0;top:6px;width:5px;height:5px;border-radius:50%;background:var(--ink-subtle)}.br-cpl li.ok::before{background:var(--ok,#1a7f37)}
.br-cpl b{font-size:12px;font-weight:600}.br-cpl span{color:var(--ink-muted);overflow-wrap:anywhere}
.br-mmsg{margin:0;font-size:12.5px;line-height:1.4;padding:8px 10px;border-radius:10px;background:var(--accent-sky-soft)}.br-mmsg.bad{background:var(--bad-bg)}
.br-mt{display:flex;align-items:flex-start;gap:8px;padding:6px 0}
.br-mdot{width:5px;height:5px;border-radius:50%;background:var(--accent-sky);flex:none;margin-top:7px}.br-mt.held .br-mdot{background:var(--ink-subtle)}
.br-mtx{display:grid;gap:1px;flex:1;min-width:0}.br-mtx b{font-size:13px}.br-mtx small{font-size:12px;color:var(--ink-muted);line-height:1.35}.br-mtx .bad{color:var(--bad)}
.br-mt .btn-s{flex:none;min-height:26px}
.br-smeets{display:grid;gap:2px;padding:6px 12px;border-radius:12px;background:var(--accent-sky-soft)}
.br-mmode{display:inline-flex;margin-top:4px}
.br-mform .br-mg a{font-weight:600}
.k-brand{--k:var(--accent-green);--kb:var(--accent-green-soft)}
.brw-nav{display:inline-flex;align-items:center;gap:6px;margin-inline-start:12px;font-size:13.5px;white-space:nowrap}.brw-nav b{font-weight:600}
.brw{overflow-x:auto}
.brw-r{display:grid;grid-template-columns:180px repeat(5,minmax(120px,1fr)) 160px;gap:8px;align-items:start;padding:14px 4px;border-bottom:1px solid var(--border);min-width:980px}
.brw-r.head{font-size:12px;color:var(--ink-muted);padding:8px 4px}.brw-r.head .now{color:var(--ink);font-weight:700}
.brw-who{display:grid;gap:2px}.brw-who b{font-size:14px;font-weight:600}.brw-who small{font-size:12px;color:var(--ink-muted)}
.brw-day{display:flex;flex-direction:column;gap:6px;min-height:64px;border-radius:10px;min-width:0}
.brw-day.off{background:repeating-linear-gradient(135deg,var(--surface-sunken) 0 6px,transparent 6px 12px);padding:4px}
.brw-off{font-size:11px;font-weight:600;color:var(--ink-muted)}
.brw-it{display:grid;gap:2px;padding:7px 9px;border-radius:10px;background:var(--surface-sunken);color:var(--ink);text-decoration:none;font-size:12px;line-height:1.35;min-width:0}
.brw-it b{font-weight:500;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.brw-it small{font-size:11px;color:var(--ink-muted)}
.brw-it:hover{box-shadow:inset 0 0 0 1.5px var(--border-strong)}
.brw-it.k-meet{background:var(--accent-sky-soft)}.brw-it.k-meet b{font-weight:600}
.brw-it.late{background:var(--bad-bg)}.brw-it.late b{font-weight:600}.brw-it.late small{color:var(--bad)}
.brw-full{display:grid;gap:5px}.brw-full b{font-size:14px}.brw-full small{font-size:12px;color:var(--ink-muted)}
.brw-bar{display:block;height:6px;border-radius:999px;background:var(--surface-sunken);overflow:hidden}.brw-bar i{display:block;height:100%;border-radius:999px;background:var(--accent-green)}
.brw-full.t-ok b{color:var(--accent-green)}.brw-full.t-warn b{color:var(--warn-ink)}.brw-full.t-warn .brw-bar i{background:var(--accent-orange)}
.brw-full.t-over b{color:var(--bad)}.brw-full.t-over .brw-bar i{background:var(--bad)}.brw-full.t-away .brw-bar i{background:var(--ink-subtle)}
.brw-none,.brw-wait{padding:16px 4px}
.brw-ph{display:grid;gap:12px}
.brw-card{display:grid;gap:10px;padding:14px;border-radius:14px;background:var(--surface);border:1px solid var(--border)}
.brw-pd{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:start}.brw-pd .brw-day{min-height:0}
.brw-dh{font-size:12px;font-weight:600;color:var(--ink-muted);padding-top:7px}.brw-pd.now .brw-dh{color:var(--ink)}
@media(max-width:860px){.brw-nav{margin-inline-start:6px;font-size:13px}.brw-nav .btn-s{min-height:32px}}
/* My work › From your email: one small button when there are emails, opening them in the side panel (Rami, 31 October 2026) */
.ml-work:empty{display:none}.ml-work{margin:0 0 10px}
.ml-chip{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 14px;border:0;border-radius:999px;background:var(--surface);color:var(--ink);font:500 13px/1 var(--font-sans);cursor:pointer;box-shadow:var(--shadow-sm,0 1px 2px rgba(0,0,0,.06))}
.ml-chip b{background:var(--c-ink);color:var(--surface);border-radius:999px;padding:3px 7px;font-size:11.5px}.ml-chip span{color:var(--muted)}
.ml-panel{display:grid;gap:10px}.ml-pnote{margin:0}
/* the client hub card: what the client sees from Drive (public/content.js whatTheySee) */
.hub-wts{display:grid;gap:6px;margin-top:14px}.hub-wts>small{color:var(--muted)}
.hub-wf{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:9px 12px;border-radius:10px;background:var(--soft,rgba(0,0,0,.03))}
.hub-wf>span{display:grid;gap:1px;min-width:0}.hub-wf b{font-size:13.5px;font-weight:600;font-family:inherit;margin:0}.hub-wf small{color:var(--muted);font-size:12.5px}
.hub-wf select{font:inherit;font-size:13px;min-height:34px;border-radius:8px}
/* What we do › × (Owners and Admins; Rami, 1 November 2026: a service added by mistake comes off) */
.pf-facts .pf-svx{border:0;background:none;padding:0 0 0 6px;margin:0;font:inherit;font-size:13px;line-height:1;color:var(--ink-subtle);cursor:pointer}
.pf-facts .pf-svx:hover,.pf-facts .pf-svx:focus-visible{color:var(--danger,#c0392b)}
/* the Brand book stage and Brand Builder 3.0 (1 November 2026): its brand books, Start the brand book, Or connect one already started… */
.br-bbk{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 10px}.br-bbk>b{font-size:12.5px;color:var(--ink-muted,#555);font-weight:600;margin-right:4px}.br-bbk select{max-width:260px}.br-bbk .wk-err{flex-basis:100%;margin:0}
/* a new client's Drive folders and Ask to add this client (public/clientfolders.js): a small window on top of everything */
.cf-dlg{border:0;padding:0;margin:auto;inset:0;position:fixed;border-radius:20px;background:var(--bg);color:var(--ink);width:min(520px,calc(100vw - 32px));max-height:calc(100vh - 40px);box-shadow:var(--shadow-modal)}
.cf-dlg::backdrop{background:var(--scrim)}
.cf-in{display:flex;flex-direction:column;margin:0}
.cf-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line)}
.cf-h b{font-family:Archivo,sans-serif;font-weight:500;font-size:19px;letter-spacing:-.01em}
.cf-b{padding:14px 18px 18px;overflow:auto;display:flex;flex-direction:column;gap:10px}
.cf-b label{display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--muted)}
.cf-b .find{width:100%;box-sizing:border-box}
.cf-code input{font-weight:600;letter-spacing:.06em;text-transform:uppercase;max-width:160px}
.cf-say{margin:0;font-size:13px;color:var(--muted);min-height:1em}.cf-say.bad,.cf-b small.bad{color:var(--status-stuck-fg)}
.cf-warn{margin:0;padding:10px 12px;border-radius:12px;background:var(--status-working-bg);color:var(--status-working-fg);font-size:13px}
.cf-ok{margin:0;color:var(--accent-green)}
.cf-tree{padding:10px 12px;border-radius:12px;background:var(--surface-sunken);font-size:13px}.cf-tree ul{margin:6px 0;padding-left:18px}.cf-tree small{color:var(--muted)}
.cf-bar{display:block;height:6px;border-radius:6px;background:var(--surface-sunken);overflow:hidden}.cf-bar i{display:block;height:100%;background:var(--primary);transition:width .3s}
.cf-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.cf-list li{display:flex;justify-content:space-between;align-items:center;gap:8px}
.cf-card .wk-do{margin-top:6px}.cf-codeb{letter-spacing:.06em}
/* HR (public/hr.js; Rami, 1 November 2026): sick leave on Time off and Your profile, the emergency contact, Admin › HR */
.me-sick{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:12px 0;max-width:560px;box-sizing:border-box}.me-sick>span{display:grid;flex:1}.me-sick b{font-size:16px}.me-sick small{color:var(--muted)}
.me-em{max-width:560px;box-sizing:border-box;padding:16px 18px;margin:12px 0}.me-em h3 small{color:var(--muted);font-weight:400}
.sk-up{cursor:pointer}.hr-tiles{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.hr-tile{display:grid;padding:14px 18px;border-radius:14px;background:var(--surface-sunken);min-width:160px}.hr-tile b{font-size:22px}.hr-tile span{color:var(--muted);font-size:13px}
.hr-acts{flex-wrap:wrap;gap:10px;align-items:center}.hr-month{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center}
.hr-t{width:100%;border-collapse:collapse;font-size:13px}.hr-t th,.hr-t td{padding:8px 10px;text-align:left;vertical-align:top}.hr-t th{color:var(--muted);font-weight:500;white-space:nowrap}.hr-t tbody tr:nth-child(odd){background:var(--surface-sunken)}.hr-t input.find{width:90px}
/* HR (1 Nov 2026 screenshot review): dates and numbers on one line, the table scrolls sideways; the emergency contact's labels sit above their boxes */
.hr-t td{white-space:nowrap}.hr-t td:first-child{white-space:normal;min-width:170px}
.me-em label{display:grid;gap:4px;align-content:start}
/* The Hub and Circle Chat as iPhone home-screen apps (Rami, 2 November 2026): with the clock bar set to "default" the iPhone drew the app
   below the clock but kept the whole screen's height, so the bottom of every page (Chat's message box, the bar at the bottom) ran off the
   screen. The app now draws under the clock bar ("black-translucent", public/index.html), at its true height; each page's top already keeps
   clear of the clock (env(safe-area-inset-top)), and this strip under the clock keeps its white letters readable in light mode too. */
@media (display-mode: standalone){
  html::before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top,0px);background:#111;z-index:2147483000;pointer-events:none}
  html[data-theme="dark"]::before{background:var(--bg)}
}
@media (display-mode: standalone) and (prefers-color-scheme: dark){html:not([data-theme="light"])::before{background:var(--bg)}}
/* the Hub's Chat page has no announcement strip (2 November 2026): it pushed the message box below the window on a computer; the
   announcements are in Chat's Updates tab, and the strip stays on every other page */
body:has(#p-ch.on) #annBar{display:none!important}
/* What's new as a pop-up on Home (2 November 2026): the newest day's entries, their points as a short list, three buttons that wrap */
.wn-pop .ann-items{max-height:min(56vh,520px);overflow-y:auto}
.wn-pts{margin:6px 0 0;padding-inline-start:18px;display:grid;gap:6px;font-size:13.5px;line-height:1.45;color:var(--ink-muted,var(--muted))}
.wn-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
.wn-actions .btn-s{text-decoration:none}
/* Training › Who finished (Owners and Admins, 2 November 2026): each file, who ticked it and who hasn't; Admin › System › Tools in the Hub */
.tr-who{margin-top:12px}
.tr-who h3 small{font-size:13px;font-weight:400;color:var(--muted);margin-inline-start:6px}
.tr-cols{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px}
.tr-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.tr-cols li{display:flex;justify-content:space-between;gap:10px;font-size:14px;padding:4px 0;border-bottom:1px solid var(--line)}
.tr-cols li b{font-weight:500}
.tr-cols li small{color:var(--muted);white-space:nowrap}
.tr-cols li.d b::before{content:"✓ ";color:var(--ok,#1a7f37)}
@media (max-width:640px){.tr-cols{grid-template-columns:1fr}}
.ts-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.ts-row b{font-weight:500}
.ts-row small{display:block;color:var(--muted)}
.ts-row label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;cursor:pointer}
/* Send the welcome (public/welcome.js; Rami, 2 November 2026): the language pills and the notes on the sheet */
.wl-langs{display:flex;gap:2px;background:var(--soft);border-radius:999px;padding:3px;width:max-content}
.wl-langs button{border:0;background:none;border-radius:999px;padding:6px 14px;font:inherit;font-size:13px;font-weight:600;color:var(--muted);min-height:32px;cursor:pointer}
.wl-langs button.on{background:var(--ink);color:var(--bg)}
.wl-note{margin:0;padding:10px 12px;border-radius:12px;background:var(--soft);font-size:13.5px}.wl-note.warn{background:#FFF4D6;color:#5C4300}.wl-note.ok{background:#E7F6EC;color:#14532D}
.pw-tos{display:grid;gap:6px}.pw-to{display:flex;align-items:baseline;gap:8px;font-size:14px;flex-wrap:wrap}.pw-to small{color:var(--muted)}.pw-sheet input.find{width:100%}
.wl-sheet textarea[dir="rtl"],.pw-sheet [dir="rtl"]{font-family:"IBM Plex Sans Arabic","Noto Sans Hebrew",Inter,system-ui,sans-serif}
/* Trash (#trash; public/trash.js, lib/trash.js; Rami, 2 November 2026) */
.tx-sub{max-width:760px}
.tx-bar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:14px 0 18px}.tx-bar input[type=search]{flex:1 1 220px;min-width:0}.tx-bar select{flex:0 1 200px;min-width:0}
.tx-bar [data-txempty]{margin-left:auto}
.tx-g{padding:16px 18px;margin:0 0 14px}.tx-g h2{display:flex;align-items:baseline;gap:10px;margin:0 0 8px;font-size:18px;letter-spacing:-.01em}.tx-g h2 small{font-size:12.5px;font-weight:500;color:var(--muted)}
.tx-list{list-style:none;margin:0;padding:0;display:grid}
.tx-row{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:12px 0;border-top:1px solid var(--line)}.tx-row:first-child{border-top:0}
.tx-main{display:grid;gap:3px;min-width:0}.tx-main b{font-size:15px;overflow-wrap:anywhere}
.tx-kind{justify-self:start;font-size:11.5px;font-weight:600;letter-spacing:.02em;padding:2px 9px;border-radius:999px;background:var(--soft);color:var(--muted)}
.tx-where,.tx-who{color:var(--muted);font-size:13px}.tx-soon{color:var(--sta-bad,#B42318);font-weight:600}
.tx-why{margin:4px 0 0;font-size:13px;padding:6px 10px;border-radius:10px;background:#FFF4D6;color:#5C4300}
.tx-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto}
.tx-bad:not(.pri){color:var(--sta-bad,#B42318)}.tx-bad.pri{background:var(--sta-bad,#B42318);border-color:var(--sta-bad,#B42318);color:#fff}
.tx-note{margin:12px 0 0;padding:10px 14px;border-radius:12px;background:#E7F6EC;color:#14532D;font-size:14px}.tx-note a{color:inherit;font-weight:600}.tx-err{color:#7A1C10}
.tx-ask{margin:0;color:var(--muted);line-height:1.45}.tx-askfoot{display:flex;gap:8px;justify-content:flex-end}
@media (max-width:860px){.tx-row{flex-direction:column;align-items:stretch}.tx-acts{justify-content:flex-start}.tx-bar select{flex:1 1 45%}.tx-bar [data-txempty]{margin-left:0}.tx-g{padding:14px}}
.cp-danger{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}.cp-danger small{flex:1 1 220px}
html body .tx-bad:not(.pri):not(#_){color:var(--sta-bad,#B42318)}html body .tx-bad.pri:not(#_){background:var(--sta-bad,#B42318);border-color:var(--sta-bad,#B42318);color:#fff}
/* Your checks on a post (Rami, 2 November 2026: answer the checks from the post itself): one line per check, its buttons beside it */
.pp-cks{margin:0 0 12px;padding:10px 12px;border-radius:10px;background:var(--panel-2,#f5f5f5);display:flex;flex-direction:column;gap:8px}.pp-cks h3{margin:0;font-size:13px}
.pp-ck{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;font-size:13px}.pp-ckt{flex:1 1 150px;display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:0;text-align:start}.pp-ck small{color:var(--muted)}
.pp-ck .pp-do{display:flex;gap:6px;flex-wrap:wrap}.pp-ckn{flex-basis:100%;display:flex;flex-direction:column;gap:6px}

/* A client that may already be there (public/clientdupe.js; Rami, 3 November 2026) */
.cdup-box[hidden]{display:none}
.cdup{display:flex;gap:10px;align-items:flex-start;margin:8px 0 4px;padding:12px 14px;border-radius:var(--radius-lg);background:var(--status-working-bg);color:var(--c-ink);flex-basis:100%;animation:popIn .14s ease-out}
.cdup-dot{flex:none;width:5px;height:5px;border-radius:50%;background:var(--status-working-fg);margin-top:9px}
.cdup-b{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.cdup p{margin:0;line-height:1.45}
.cdup-t,.cdup-r{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.cdup-n{overflow-wrap:anywhere}.cdup-n i{font-style:normal;color:var(--ink-muted)}
.cdup-do{display:inline-flex;flex-wrap:wrap;gap:6px}
.cdup-t>.cdup-w{order:1}.cdup-t>.cdup-do{order:2;flex-basis:100%}
.cdup-s{color:var(--ink-muted);font-size:13px}
.cdup .btn-s{min-height:30px}
/* Merge into another client… (public/clientmerge.js) */
.cm{display:flex;flex-direction:column;gap:10px}
.cm-step{margin:0;font-weight:600;display:flex;align-items:center;gap:8px}.cm-step b{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--c-ink);color:var(--surface);font-size:12px}
.cm-list{display:flex;flex-direction:column;max-height:min(52vh,460px);overflow:auto;border-radius:var(--radius-md);background:var(--surface-sunken)}
.cm-pick{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;background:none;border:0;border-bottom:1px solid var(--border);color:inherit;font:inherit;text-align:start;cursor:pointer;min-height:var(--row-height-touch)}
.cm-pick:last-child{border-bottom:0}.cm-pick:hover,.cm-pick:focus-visible{background:var(--surface-hover)}
.cm-like{flex:none;padding:2px 8px;border-radius:var(--radius-pill);background:var(--status-working-bg);color:var(--status-working-fg);font-size:12px}
.cm-ft{margin:0;display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:16px}.cm-ft i{font-style:normal;color:var(--ink-muted)}
.cm-t{width:100%;border-collapse:collapse;font-size:14px}.cm-t caption{text-align:start;color:var(--ink-muted);font-size:13px;padding-bottom:6px}
.cm-t td{padding:7px 10px}.cm-t tr:nth-child(odd) td{background:var(--row-alt)}.cm-t td.num{text-align:end;font-variant-numeric:tabular-nums;font-weight:600;width:4em}
.cm-h{margin:6px 0 0;font-size:13px;color:var(--ink-muted);font-weight:600}
.cm-l{margin:0;padding-inline-start:18px;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:1.45}
/* a client from your deals (lib/restrict.js; Rami, 4 November 2026): to read, for a salesperson without Member; and "No Member" on Admin › People */
.dc-page{max-width:760px;margin:0 auto;padding:8px 16px 32px}.dc-page h3{margin:22px 0 8px;font-size:15px}.dc-list{list-style:none;margin:0;padding:0}.dc-list li{padding:10px 12px;border-radius:10px;line-height:1.5}.dc-list li:nth-child(odd){background:var(--row-alt,var(--panel))}.dc-list a{margin-inline-end:10px}
.pp-chip.lv-none{background:transparent;border:1px dashed var(--line,#ccc);color:var(--ink-muted)}
.pp-rm{display:flex;flex-direction:column;min-width:0;white-space:normal}.pp-rm small{display:block;white-space:normal;line-height:1.35;color:var(--ink-muted)}

/* View as (Owners; lib/viewas.js, public/app.js vaBar): the read-only bar across the top of every page while an Owner sees the Hub as
   someone else. Exit always shows; a refused change is said in the bar for a few seconds. */
.va-bar{position:sticky;top:0;z-index:2147483001;display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:8px 16px;padding-top:calc(8px + env(safe-area-inset-top,0px));background:#111;color:#fff;font:500 14px/1.35 Inter,system-ui,sans-serif}
.va-bar .va-t{flex:1;min-width:0}.va-bar b{font-weight:700}
.va-bar .va-msg{display:none;font-size:13px;color:#ffd166}.va-bar.said .va-msg{display:block;flex-basis:100%;order:3}
.va-bar .va-exit{flex:none;border:0;border-radius:999px;background:#fff;color:#111;font:600 13px/1 Inter,system-ui,sans-serif;padding:8px 16px;cursor:pointer;min-height:32px}
.va-bar .va-exit:focus-visible{outline:2px solid #ffd166;outline-offset:2px}
.ro-va{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}.ro-vam{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-muted)}

/* Pick a display name: its own box at the top of Home (5 November 2026) */
.name-ask { margin-bottom: 20px; }

/* the top-right button before every post is ready: what is still being made (5 November 2026) */

/* A post's design versions and Undo (5 November 2026, lib/postversions.js): v2, v3… on the design's picture in the list, the feed, the
   calendar and the post's panel; Undo and Versions under the panel's thumbnails */
.ver-b{position:absolute;top:5px;left:5px;z-index:1;padding:1px 6px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font:600 10.5px/1.45 Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.02em;pointer-events:none}
html body .pc-pic:not(#_),html body .ps-pn .pp-hero:not(#_),html body .pp-phero:not(#_){position:relative}

html body .pc-pic .ver-b:not(#_){top:3px;left:3px;padding:0 4px;font-size:9px}
html body .ps-pn .pp-hero .ver-b:not(#_),html body .pp-phero .ver-b:not(#_){top:10px;left:10px;font-size:12px;padding:2px 8px}
.pp-undo{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:8px 0;padding:8px 10px;border-radius:10px;background:var(--surface-sunken,rgba(127,127,127,.1));font-size:13px}
.pp-undo small{display:block;color:var(--ink-muted,var(--muted))}
.pp-vers{margin:8px 0}
.pp-vers .pp-n{font-style:normal;margin-left:4px;opacity:.7}
.pp-verl{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}
.pp-ver{display:flex;gap:10px;align-items:flex-start;padding:6px 8px;border-radius:8px;background:var(--surface-sunken,rgba(127,127,127,.08))}
.pp-ver>b{flex:none;min-width:26px;font-size:13px}
.pp-ver>span{display:grid;gap:4px;min-width:0}
.pp-ver small{color:var(--ink-muted,var(--muted))}.pp-ver small em{font-style:normal;font-weight:600;color:var(--ink)}
.pp-vths{display:flex;flex-wrap:wrap;gap:4px}.pp-vths img{width:44px;height:55px;object-fit:cover;border-radius:5px;display:block}
.pp-vths .pp-vlink{font-size:12px}
/* A video's captions, the line editor (public/captions.js; 5 November 2026): each line's times, then its words */
.vc-sheet .vc{display:flex;flex-direction:column;gap:12px}
.vc-sheet .vc-top p{margin:4px 0 8px}
.vc-sheet .vc-do{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.vc-sheet .vc-said{color:var(--ink-muted);font-size:12.5px}
.vc-sheet .vc-files{display:flex;gap:6px;flex-wrap:wrap;margin:0}
.vc-sheet .vc-lines{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.vc-sheet .vc-l{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:var(--radius-md,10px);background:var(--surface-sunken,#f5f5f5)}
.vc-sheet .vc-l.ch{box-shadow:inset 3px 0 0 var(--st-warn,#f5c84c)}
.vc-sheet .vc-t{font-size:12px;color:var(--ink-muted);font-variant-numeric:tabular-nums;unicode-bidi:isolate}
.vc-sheet .vc-t b{color:var(--ink);margin-inline-end:6px}
.vc-sheet textarea.vc-x{width:100%;min-height:38px;resize:vertical;font-size:15px;line-height:1.5}
.vc-sheet p.vc-x{margin:0;white-space:pre-wrap;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.vc-sheet .vc-was{color:var(--ink-muted);font-size:12.5px;text-decoration:line-through;white-space:pre-wrap}
.vc-sheet .vc-foot{padding-top:4px}
/* a reel's shoot video and the client (8 November 2026): "Not sent to the client yet" until its account manager sends it from the shoot */
.pp-rcl{display:inline-block;margin-inline-start:8px;font-style:normal;font-size:12px;font-weight:600;border-radius:999px;padding:1px 8px;background:var(--accent-sky-soft);color:var(--accent-sky)}.pp-rcl.todo{background:var(--accent-violet-soft);color:var(--accent-violet)}
/* The month's Brief and Plan (Rami, 8 November 2026: "far too tall"): two columns where the panel is wide enough, small boxes that grow
   as you type (field-sizing; posts.js grows them where the browser can't), tighter spacing, so the brief fits a laptop screen */
html body .mb-pn .mb-fg:not(#_):not(#_){display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,max(300px,calc(50% - 8px))),1fr));gap:8px 16px;margin-top:10px}
html body .mb-pn .mb-fg>.ed-f:not(#_):not(#_){margin:0;min-width:0}
html body .mb-pn .mb-fg>.ed-f>label:not(#_):not(#_){margin-bottom:3px;font-size:12px;font-weight:600}
html body .mb-pn textarea[data-grow]:not(#_):not(#_):not(#_){field-sizing:content;height:auto;min-height:44px;max-height:180px;padding-block:7px;line-height:1.4;resize:vertical;overflow:auto}
html body .mb-pn.mb-bp>.ed-f:not(#_):not(#_){margin-top:8px}
html body .mb-pn.mb-bp .mp-flow:not(#_):not(#_){margin-top:10px}
html body .mb-pn.mb-bp .mb-pact:not(#_):not(#_){margin-top:10px}
/* Book time (public/booktime.js, Rami's approved mockup, 9 November 2026): one popup, two columns (what and when; who and notes), kinds as chips */
html body .btk-dlg:not(#_):not(#_):not(#_){border:0;padding:0;margin:auto;inset:0;position:fixed;border-radius:16px;background:var(--surface);color:var(--c-ink);width:min(1000px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 24px 70px rgba(0,0,0,.35)}
html body .btk-dlg:not(#_):not(#_)::backdrop{background:var(--scrim)}
html body .btk-dlg .bk:not(#_):not(#_){display:flex;flex-direction:column;min-height:0}
html body .btk-dlg .btk-h:not(#_):not(#_){display:flex;align-items:center;gap:12px;padding:16px 22px 12px}html body .btk-dlg .btk-h h2:not(#_):not(#_){font-size:20px;margin:0;letter-spacing:-.01em}
html body .btk-x:not(#_):not(#_):not(#_){margin-inline-start:auto;width:30px;height:30px;border-radius:50%;border:0;background:var(--surface-sunken);color:var(--ink-muted);font-size:16px;cursor:pointer;display:grid;place-items:center;padding:0}
html body .btk-dlg .btk-kinds:not(#_):not(#_){display:flex;gap:8px;padding:0 22px 14px;border-bottom:1px solid var(--border);align-items:center;flex-wrap:wrap}
html body .btk-dlg .btk-q:not(#_):not(#_){font-size:12px;font-weight:700;color:var(--ink-subtle);margin-inline-end:4px}
html body .btk-k:not(#_):not(#_):not(#_){display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:999px;font:inherit;font-weight:600;font-size:13px;background:var(--surface-sunken);color:var(--ink-muted);border:0;cursor:pointer;min-height:0}
html body .btk-k.on:not(#_):not(#_):not(#_){background:var(--c-ink);color:var(--surface)}html body .btk-dlg .btk-k:disabled:not(#_):not(#_){opacity:.45;cursor:default}
html body .btk-dlg .btk-k i:not(#_):not(#_){width:9px;height:9px;border-radius:50%;display:inline-block;background:var(--ink-subtle)}
html body .btk-dlg .btk-k.k-meet i:not(#_):not(#_){background:var(--accent-sky)}html body .btk-dlg .btk-k.k-work i:not(#_):not(#_){background:#e0a21b}html body .btk-dlg .btk-k.k-out i:not(#_):not(#_){background:var(--accent-rose)}html body .btk-dlg .btk-k.k-shoot i:not(#_):not(#_){background:var(--accent-violet)}html body .btk-dlg .btk-k.k-sales i:not(#_):not(#_){background:var(--accent-orange)}
html body .btk-dlg .btk-say:not(#_):not(#_){font-size:12.5px;color:var(--ink-subtle);margin-inline-start:8px}
html body .btk-dlg .btk-body:not(#_):not(#_){display:grid;grid-template-columns:minmax(0,1fr) 360px}
html body .btk-dlg .btk-l:not(#_):not(#_){padding:16px 22px 18px;border-inline-end:1px solid var(--border);min-width:0}
html body .btk-dlg .btk-r:not(#_):not(#_){padding:16px 20px 18px;background:var(--c-bg);min-width:0}
html body .btk-dlg .btk-lbl:not(#_):not(#_){font-size:11px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin:0 0 12px;color:var(--ink-subtle)}
html body .btk-dlg .btk-f:not(#_):not(#_){display:block;margin-bottom:14px}
html body .btk-dlg .btk-lab:not(#_):not(#_){display:flex;align-items:baseline;gap:6px;font-weight:600;font-size:12.5px;color:var(--ink-muted);margin-bottom:5px}html body .btk-dlg .btk-lab small:not(#_):not(#_){font-weight:500;color:var(--ink-subtle);font-size:11.5px;margin-inline-start:auto}
html body .btk-dlg .btk-in:not(#_):not(#_):not(#_):not(#_){display:block;width:100%;box-sizing:border-box;border:1px solid var(--border-strong);border-radius:9px;padding:8px 11px;font:inherit;font-size:13.5px;background:var(--surface);color:var(--c-ink);min-height:37px;margin:0}
html body .btk-dlg .btk-in.big:not(#_):not(#_):not(#_):not(#_){font-size:16px;font-weight:600;padding:10px 12px}
html body .btk-dlg .btk-in:disabled:not(#_):not(#_):not(#_):not(#_){background:var(--surface-sunken);color:var(--ink-subtle);border-color:var(--border)}
html body .btk-dlg textarea.btk-in:not(#_):not(#_):not(#_):not(#_){min-height:72px;resize:vertical}
html body .btk-dlg .btk-when:not(#_):not(#_){border:1px solid var(--border);border-radius:12px;padding:12px}
html body .btk-dlg .btk-ft2:not(#_):not(#_){display:grid;grid-template-columns:44px minmax(0,1fr) 120px;gap:8px;align-items:center;margin-bottom:8px}html body .btk-dlg .btk-ft2>span:not(#_):not(#_){font-weight:600;font-size:12.5px;color:var(--ink-muted)}
html body .btk-dlg .btk-togs:not(#_):not(#_){display:flex;gap:22px;align-items:center;margin-top:4px;padding-top:10px;border-top:1px solid var(--border)}
html body .btk-dlg .btk-tog:not(#_):not(#_){display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600;cursor:pointer}html body .btk-dlg .btk-tog input:not(#_):not(#_){position:absolute;opacity:0;width:1px;height:1px}
html body .btk-dlg .btk-tog input:focus-visible+.btk-sw:not(#_):not(#_){outline:2px solid var(--accent-sky);outline-offset:2px}
html body .btk-dlg .btk-sw:not(#_):not(#_){flex:none;display:inline-block;width:32px;height:18px;border-radius:9px;background:var(--border-strong);position:relative}html body .btk-dlg .btk-sw:not(#_):not(#_)::after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:#fff;top:2px;inset-inline-start:2px;transition:inset-inline-start .15s}
html body .btk-dlg .btk-sw.on:not(#_):not(#_){background:var(--ok,#30a46c)}html body .btk-dlg .btk-sw.on:not(#_):not(#_)::after{inset-inline-start:16px}
html body .btk-dlg .btk-len:not(#_):not(#_){font-size:12px;color:var(--ink-subtle);margin-inline-start:auto}
html body .btk-dlg .btk-ft:not(#_):not(#_){font-size:11.5px;color:var(--ink-subtle);margin:5px 0 0}
html body .btk-dlg .btk-none:not(#_):not(#_):not(#_):not(#_){display:flex;align-items:center;gap:10px;text-align:start;cursor:pointer;color:var(--ink-muted)}html body .btk-dlg .btk-none small:not(#_):not(#_){margin-inline-start:auto;color:var(--ink-subtle);font-size:12px}
html body .btk-dlg .btk-pick:not(#_):not(#_){border:1px solid var(--c-ink);border-radius:10px;background:var(--surface);box-shadow:0 10px 26px rgba(0,0,0,.14);overflow:hidden}
html body .btk-dlg .btk-srch:not(#_):not(#_){display:flex;align-items:center;gap:8px;padding:4px 11px;border-bottom:1px solid var(--border);font-size:13.5px;color:var(--ink-subtle)}
html body .btk-dlg .btk-qin:not(#_):not(#_):not(#_):not(#_){flex:1;border:0;background:transparent;font:inherit;font-size:13.5px;padding:6px 0;color:var(--c-ink);outline:0;min-height:0;box-shadow:none}
html body .btk-dlg .btk-res:not(#_):not(#_){max-height:280px;overflow:auto}
html body .btk-dlg .btk-grp:not(#_):not(#_){font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink-subtle);padding:7px 11px 3px;margin:0}
html body .btk-it:not(#_):not(#_):not(#_){display:flex;align-items:center;gap:9px;padding:6px 11px;font:inherit;font-size:13px;width:100%;border:0;background:none;color:var(--c-ink);text-align:start;cursor:pointer;min-height:0;border-radius:0}
html body .btk-it:hover:not(#_):not(#_):not(#_),html body .btk-it:focus-visible:not(#_):not(#_):not(#_){background:var(--accent-sky-soft)}html body .btk-dlg .btk-it b:not(#_):not(#_){font-weight:600}html body .btk-dlg .btk-it small:not(#_):not(#_){color:var(--ink-subtle);font-size:11.5px;margin-inline-start:auto}
html body .btk-it.none:not(#_):not(#_):not(#_){border-top:1px solid var(--border);color:var(--ink-muted)}
html body .btk-dlg .btk-ic:not(#_):not(#_){width:20px;height:20px;border-radius:5px;display:grid;place-items:center;font-size:10px;font-weight:700;font-style:normal;flex:none;background:var(--surface-sunken);color:var(--ink-muted)}
html body .btk-dlg .btk-ic.t-brand:not(#_):not(#_){background:var(--accent-violet-soft);color:var(--accent-violet)}html body .btk-dlg .btk-ic.t-client:not(#_):not(#_){background:var(--accent-green-soft);color:var(--accent-green)}html body .btk-dlg .btk-ic.t-shoot:not(#_):not(#_){background:var(--accent-orange-soft);color:var(--accent-orange)}
html body .btk-dlg .btk-chosen:not(#_):not(#_){display:flex;align-items:center;gap:10px;border:1px solid var(--border-strong);border-radius:10px;padding:8px 11px;background:var(--surface)}
html body .btk-dlg .btk-chosen>span:not(#_):not(#_){display:grid;min-width:0}html body .btk-dlg .btk-chosen b:not(#_):not(#_){font-size:13.5px}html body .btk-dlg .btk-chosen small:not(#_):not(#_){color:var(--ink-subtle);font-size:12px}
html body .btk-chg:not(#_):not(#_):not(#_){margin-inline-start:auto;font:inherit;font-size:12px;font-weight:600;color:var(--accent-sky);background:none;border:0;cursor:pointer;padding:4px;min-height:0}
html body .btk-dlg .btk-stg:not(#_):not(#_),html body .btk-dlg .btk-where:not(#_):not(#_){display:flex;gap:6px;flex-wrap:wrap}html body .btk-dlg .btk-stg:not(#_):not(#_){margin-top:8px}
html body :is(.btk-stg,.btk-where) button:not(#_):not(#_):not(#_){font:inherit;font-size:12.5px;font-weight:600;padding:5px 12px;border-radius:999px;background:var(--surface-sunken);color:var(--ink-muted);border:0;cursor:pointer;min-height:0}
html body :is(.btk-stg,.btk-where) button.on:not(#_):not(#_):not(#_){background:var(--c-ink);color:var(--surface)}
html body .btk-dlg .btk-who:not(#_):not(#_){display:flex;flex-direction:column;gap:6px}
html body .btk-dlg .btk-pp:not(#_):not(#_){display:flex;gap:9px;align-items:center;border:1px solid var(--border);border-radius:9px;padding:7px 10px;background:var(--surface);font-size:13px}
html body .btk-dlg .btk-pp small:not(#_):not(#_){color:var(--ink-subtle);font-size:11.5px;margin-inline-start:auto}
html body .btk-rm:not(#_):not(#_):not(#_){margin-inline-start:auto;border:0;background:none;color:var(--ink-subtle);font-size:14px;cursor:pointer;padding:0 4px;min-height:0}
html body .btk-dlg .btk-av:not(#_):not(#_){width:22px;height:22px;border-radius:50%;background:var(--accent-sky-soft);color:var(--accent-sky);display:inline-grid;place-items:center;font-weight:700;font-size:10.5px;font-style:normal;flex:none}
html body .btk-dlg .btk-add:not(#_):not(#_):not(#_):not(#_){border-style:dashed;color:var(--ink-muted)}
html body .btk-dlg .btk-away:not(#_):not(#_){border-inline-start:3px solid var(--accent-rose);background:var(--accent-rose-soft);border-radius:0 9px 9px 0;padding:9px 12px;font-size:12.5px;margin-bottom:14px}html body .btk-dlg .btk-away b:not(#_):not(#_){display:block;font-size:13px;margin-bottom:2px}
html body .btk-dlg .btk-inv:not(#_):not(#_){border-inline-start:3px solid var(--accent-sky);background:var(--accent-sky-soft);border-radius:0 9px 9px 0;padding:10px 12px;margin-bottom:14px}html body .btk-dlg .btk-inv .btk-f:not(#_):not(#_){margin-bottom:0}
html body .btk-dlg .btk-tick:not(#_):not(#_){display:flex;gap:8px;align-items:center;font-size:12.5px;color:var(--ink-muted)}
html body .btk-dlg .btk-err:not(#_):not(#_),html body .btk-dlg .btk-clash:not(#_):not(#_){margin:0 22px 10px}html body .btk-dlg .btk-clash:not(#_):not(#_){display:grid;gap:4px}html body .btk-dlg .btk-clash .btn-s:not(#_):not(#_){justify-self:start;margin-top:4px}
html body .btk-dlg .btk-foot:not(#_):not(#_){display:flex;align-items:center;gap:10px;padding:12px 22px;border-top:1px solid var(--border);flex-wrap:wrap}
html body .btk-dlg .btk-hint:not(#_):not(#_){font-size:13px;color:var(--ink-muted);display:flex;align-items:center;gap:7px;min-width:0}html body .btk-dlg .btk-hint a:not(#_):not(#_){font-weight:600}
html body .btk-dlg .btk-g:not(#_):not(#_){width:16px;height:16px;border-radius:4px;background:conic-gradient(#4285f4 0 25%,#34a853 0 50%,#fbbc05 0 75%,#ea4335 0);flex:none}
html body .btk-dlg .btk-sp:not(#_):not(#_){margin-inline-start:auto}
html body .btk-btn:not(#_):not(#_):not(#_){display:inline-block;border-radius:999px;padding:9px 20px;font:inherit;font-weight:600;font-size:13.5px;background:var(--c-ink);color:var(--surface);white-space:nowrap;border:0;cursor:pointer;min-height:0}
html body .btk-btn.ghost:not(#_):not(#_):not(#_){background:none;color:var(--ink-muted);border:1px solid var(--border-strong)}html body .btk-dlg .btk-btn:disabled:not(#_):not(#_){opacity:.6}
@media(max-width:860px){html body .btk-dlg:not(#_):not(#_):not(#_){width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}html body .btk-dlg .btk-body:not(#_):not(#_){grid-template-columns:1fr}html body .btk-dlg .btk-l:not(#_):not(#_){border-inline-end:0}html body .btk-dlg .btk-say:not(#_):not(#_){flex-basis:100%;margin:0}html body .btk-dlg .btk-ft2:not(#_):not(#_){grid-template-columns:40px minmax(0,1fr) 96px}}
/* the Calendar: Work time and Out (Book time) beside meetings */
.k-work{--k:#e0a21b;--kb:#fdf3d8}.k-out{--k:var(--accent-rose);--kb:var(--accent-rose-soft)}
:root[data-theme="dark"] .k-work{--kb:#3b2f12}@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .k-work{--kb:#3b2f12}}
.br-booked{margin-top:14px}.br-booked h4{font-size:12px;font-weight:700;color:var(--ink-subtle);text-transform:uppercase;letter-spacing:.05em;margin:0 0 6px}
.br-bk{display:flex;align-items:center;gap:8px;padding:5px 0;font-size:13px}.br-bk i{width:8px;height:8px;border-radius:50%;background:var(--k);flex:none}.br-bk small{color:var(--ink-muted)}
/* Book time's guests (9 November 2026): several emails as chips, the client's people one press each */
html body .btk-dlg .btk-gbox:not(#_):not(#_){display:flex;flex-wrap:wrap;gap:5px;align-items:center;border:1px solid var(--border-strong);border-radius:9px;padding:5px 7px;background:var(--surface);min-height:37px;box-sizing:border-box}
html body .btk-dlg .btk-gbox:focus-within:not(#_):not(#_){outline:2px solid var(--accent-sky);outline-offset:1px}
html body .btk-dlg .btk-gc:not(#_):not(#_){display:inline-flex;align-items:center;gap:4px;padding:2px 4px 2px 9px;border-radius:999px;background:var(--accent-sky-soft);color:var(--c-ink);font-size:12.5px;max-width:100%}
html body .btk-dlg .btk-gc>span:not(#_):not(#_){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body .btk-dlg .btk-gc.bad:not(#_):not(#_){background:var(--accent-rose-soft);color:var(--bad,#d1242f);text-decoration:underline wavy}
html body .btk-dlg .btk-gc button:not(#_):not(#_):not(#_){border:0;background:none;color:inherit;cursor:pointer;font-size:14px;padding:0 4px;min-height:0;line-height:1}
html body .btk-dlg .btk-gq:not(#_):not(#_):not(#_):not(#_):not(#_){border:0!important;outline:0!important;flex:1;min-width:140px;border:0;background:transparent;font:inherit;font-size:13.5px;padding:4px 2px;color:var(--c-ink);outline:0;min-height:0;box-shadow:none}
html body .btk-dlg .btk-gsug:not(#_):not(#_){display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-top:7px;font-size:12px;color:var(--ink-subtle)}
html body .btk-dlg .btk-gsug button:not(#_):not(#_):not(#_){font:inherit;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;border:1px dashed var(--border-strong);background:var(--surface);color:var(--c-ink);cursor:pointer;min-height:0}
html body .btk-dlg .btk-k.k-event i:not(#_):not(#_){background:var(--accent-green,#30a46c)}
html body .btk-dlg .btk-ic.t-consult:not(#_):not(#_){background:var(--accent-sky-soft);color:var(--accent-sky)}
html body .btk-dlg .btk-body:not(:has(.btk-r)):not(#_):not(#_){grid-template-columns:minmax(0,1fr)}
.br-have{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--ink-muted);cursor:pointer;margin-top:2px}.br-have input{margin:0;width:15px;height:15px}
/* Reviewing on a phone (11 November 2026, the approved phone mockups): Send back and Approve big at the bottom; swipe the picture for the next one */
@media (max-width:860px){
  html body .rvw .rvw-do:not(#_){flex-wrap:nowrap}
  html body .rvw .rvw-do [data-rvgo]:not(#_):not(#_){display:none!important}
  html body .rvw .rvw-do .btn-s:not(#_):not(#_){min-height:52px;border-radius:999px;font-size:16px;justify-content:center}
  html body .rvw .rvw-do a.btn-s:not(#_):not(#_){flex:0 0 auto;padding:0 14px}
  html body .rvw .rvw-do [data-ljgo="approved"]:not(#_):not(#_){flex:1.4 1 auto}
}
.pq-rvall{display:flex;justify-content:center;align-items:center;width:100%;min-height:48px;margin:0 0 10px;border-radius:999px;background:var(--ink);color:var(--bg);border:0;font:inherit;font-weight:600;font-size:15px;cursor:pointer}
/* a phone's button press (public/hl-phone.css): none with Reduce motion on */
@media (max-width:860px) and (prefers-reduced-motion:reduce){html body :is(.btn-s,.btn,.bk-new,#flF,#flN,.mk-tabs button,.qa-seg>button,.wk-sbar>button,.mk-pill,.mk-row,.mk-btn,.ph-sheet .pri):active:not(#_):not(#_){transform:none!important}}
/* A page drawn from its last copy while the fresh one comes (11 November 2026, public/work.js staleOn): faded, not to be pressed, Updating… */
html body #wkPage.wk-stale:not(#_){opacity:.62;transition:opacity .12s}
html body #wkPage.wk-stale:not(#_)::after{content:"Updating…";position:fixed;top:calc(env(safe-area-inset-top, 0px) + 64px);left:50%;transform:translateX(-50%);background:var(--c-ink);color:var(--surface);padding:6px 14px;border-radius:999px;font-size:13px;font-weight:600;z-index:60;pointer-events:none}
@media (prefers-reduced-motion: reduce){html body #wkPage.wk-stale:not(#_){transition:none}}
/* Preview on a phone, like Instagram (Rami, 12 November 2026; public/posts.js igOpen): a post pressed in the grid opens the month as a
   feed from that post: the client at the top, the pictures swiped across with their dots or the video playing in place, the caption, the day */
.ps-prev.ig-on>:not(.ig-feed){display:none!important}
.ig-feed{display:grid;gap:0;padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
.ig-h .ps-prx{font-size:26px;line-height:1}
.ig-post{display:grid;gap:0;padding:6px 0 18px;border-bottom:1px solid var(--line);scroll-margin-top:calc(70px + env(safe-area-inset-top,0px))}
.ig-ph{display:flex;align-items:center;gap:10px;padding:8px 14px}
.ig-ph .ps-prav{width:32px;height:32px;font-size:13px}
.ig-ph b{font-size:14.5px}
.ig-media{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;aspect-ratio:4/5;background:#000;overscroll-behavior-x:contain}
.ig-media::-webkit-scrollbar{display:none}
.ig-sl{flex:0 0 100%;scroll-snap-align:center;display:grid;place-items:center;min-width:0}
.ig-sl img{width:100%;height:100%;object-fit:cover;display:block}
.ig-sl video,.ig-sl iframe{width:100%;height:100%;border:0;background:#000;object-fit:contain}
.ig-none{background:var(--soft);color:var(--muted);display:grid;place-items:center;padding:24px;text-align:center;font-size:14px;line-height:1.4}
.ig-link{display:grid;place-items:center;gap:10px;width:100%;height:100%;color:#fff;text-decoration:none;font-weight:600}.ig-link img{max-height:70%;object-fit:contain}
.ig-dots{display:flex;justify-content:center;gap:5px;padding:10px 0 0}.ig-dots i{width:6px;height:6px;border-radius:9px;background:var(--line)}.ig-dots i.on{background:var(--accent-sky,#3b82f6)}
.ig-cap{padding:10px 14px 0;font-size:14.5px;line-height:1.45;overflow-wrap:anywhere}.ig-cap b{font-weight:700}.ig-nocap{color:var(--muted)}
.ig-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 14px 0}.ig-foot small{color:var(--muted);font-size:12.5px}
/* Training's list for Owners and Admins (lib/traininglinks.js): + Add a link, the forms, each item's ⋯ and Removed */
.tr-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0 0 12px}
.tr-form{display:grid;gap:10px;margin-bottom:12px}
.tr-f{display:grid;gap:4px}.tr-f span{font-size:12px;color:var(--muted)}
.tr-f input{font:inherit;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink);width:100%;box-sizing:border-box}
.tr-keep{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tr-keep small{color:var(--muted)}
.tr-btns{display:flex;gap:12px;align-items:center}
.tr-form .err{color:#c0392b;font-size:13px}
.mod .tag{margin-right:6px}
.tr-more{position:relative;flex:none}
.tr-more>summary{list-style:none;cursor:pointer;padding:4px 8px;border-radius:6px;color:var(--muted)}
.tr-more>summary::-webkit-details-marker{display:none}
.tr-more[open]>summary{background:var(--line)}
.tr-menu{position:absolute;right:0;top:100%;z-index:20;background:var(--bg);border:1px solid var(--line);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);display:grid;min-width:170px;padding:4px}
.tr-menu button{font:inherit;text-align:left;background:none;border:0;padding:8px 10px;border-radius:6px;color:var(--ink);cursor:pointer}
.tr-menu button:hover{background:var(--line)}
