/* The chosen look: C · Bento (picked 12 Nov 2026).
   Soft and rounded: floating light menu, a gold header tile, rounded tiles, sans titles, Bodoni numbers.
   Sizes revised 12 Nov after Audrey's note "less zoomed": smaller type and tiles, more on one screen,
   and one fluid layout from a small phone to a big monitor (iPhone Duo: about 466 wide closed, 626 open). */
:root{
  --canvas:#EBE2D1;--card:#FCFAF5;--card-line:transparent;--well:#F3EDE0;
  --nav-w:226px;--nav-bg:#FCFAF5;--nav-line:transparent;--nav-active-bg:#2A241D;--nav-active-fg:#F3EDE2;--nav-hover:#F3EDE0;
  --radius:22px;--radius-s:13px;--gap:12px;--pad:18px;--page-x:20px;
  --shadow:0 1px 0 rgba(255,255,255,.9) inset,0 14px 30px -24px rgba(92,66,20,.42);
  --display-size:26px;--stat-size:34px;--h2-size:15px;
  --btn-radius:999px;--field-radius:999px;--field-bg:#FCFAF5;
  --tag-bg:rgba(252,250,245,.94);--cover-bg:linear-gradient(160deg,#F0DDAF,#E3C98F);
  --check:#2A241D;--check-bg:#E4DCCB;--seg-check:#2A241D;
}
body{font-size:13.5px}
.ic{width:16px;height:16px}

/* ---------- frame ---------- */
.hub{padding:12px 0 0 12px}
.nav{top:12px;height:calc(100vh - 24px);border-radius:22px;border:0;box-shadow:var(--shadow);padding:20px 12px 12px;gap:20px}
.brand .logo-mark{width:26px}
.brand .logo-wordmark{width:100px}
.brand-client{margin-top:-10px}
.brand-client .logo{width:54px}
.nav-label{font-size:9px;padding-bottom:8px}
.nav-item{border-radius:999px;padding:9px 12px;font-size:13px;gap:10px}
.nav-acc{font-size:12.5px;padding:6px 12px}
.nav-item .count{background:#C9A75B;color:#2A241D}
.nav-foot{border-top:0;background:#F3EDE0;border-radius:16px;padding:8px}
.avatar{width:30px;height:30px;font-size:10.5px;background:linear-gradient(140deg,#8E6B2B,#D2B26A)}
.who b{font-size:12.5px}.who small{font-size:11px}
.top{padding-top:6px}
.search{width:min(320px,100%);padding:8px 12px}
.search,.chip{border-color:transparent;box-shadow:var(--shadow)}
.chip{padding:8px 11px;font-size:12px}
.btn{padding:9px 14px;font-size:12.5px}
.btn .ic{width:15px;height:15px}
.btn-quiet,.btn-ghost{background:#FCFAF5;border-color:transparent;box-shadow:var(--shadow)}
.btn-approve,.view-approve .btn-primary,.view-check .btn-primary{background:linear-gradient(140deg,#8E6B2B,#C9A75B);color:#fff}
.link{font-size:12.5px}
.pill{padding:5px 9px;font-size:11px}
.pill-check::before{background:#C9A75B}

/* ---------- page ---------- */
.view{padding-top:12px;padding-bottom:96px}
.hero{position:relative;overflow:hidden;align-items:center;margin:0;padding:20px 24px;border-radius:22px;background:linear-gradient(118deg,#7E5E24 0%,#A8823A 42%,#D6B871 100%);color:#fff;box-shadow:0 22px 40px -30px rgba(92,66,20,.8)}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.26);pointer-events:none}
.hero::before{width:360px;height:360px;right:-110px;top:-190px}
.hero::after{width:220px;height:220px;right:-40px;top:-120px;border-color:rgba(255,255,255,.38)}
.hero>*{position:relative;z-index:1}
.hero-text{gap:7px}
.kicker{font-size:9.5px}
.hero .kicker{color:#F6E7C2}
.display{font:800 var(--display-size)/1.08 var(--f-body);letter-spacing:-.03em}
.lede{font-size:13.5px}
.hero .lede{color:rgba(255,255,255,.9)}
.hero .lede b{color:#fff}
.hero-side{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.countdown{display:flex;align-items:center;gap:10px;line-height:1.25;font-size:11.5px;color:rgba(255,255,255,.9)}
.countdown b{font:500 44px/1 var(--f-display);color:#fff}
.hero .btn-primary{background:#FCFAF5;color:#2A241D}
.hero .btn-ghost{background:rgba(42,36,29,.26);color:#fff;box-shadow:none;border-color:transparent}

.stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.stat{border:0;padding:14px 16px;min-height:98px;gap:5px}
.stat-label{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--ink)}
.stat-label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--seg-todo);flex:none}
.stat-todo .stat-label::before{background:#D8CDB8}.stat-made .stat-label::before{background:var(--seg-made)}.stat-wait .stat-label::before{background:var(--seg-wait)}.stat-ok .stat-label::before{background:var(--seg-ok)}.stat-ready .stat-label::before{background:var(--seg-ready)}.stat-gold .stat-label::before,.stat-you .stat-label::before{background:#C9A75B}
.stat-num small{font-size:12.5px}
.stat-note{font-size:11.5px}
.stat.hot{background:#2A241D;color:#F3EDE2}
.stat.hot .stat-label{color:#F3EDE2}
.stat.hot .stat-note,.stat.hot .stat-num small{color:#B9AD98}
.stat.hot .stat-num{color:#E4CC8E}
.stat.hot .up{color:#C9D49B}
.stat.is-link{cursor:pointer;transition:transform .15s}
.stat.is-link:hover{transform:translateY(-2px)}
/* the flow on the home page: five tiles, left to right */
.pipe{grid-template-columns:repeat(5,minmax(0,1fr))}
.pipe .stat{overflow:visible}
.pipe .stat:not(:last-child)::after{content:"›";position:absolute;right:-15px;top:50%;transform:translateY(-50%);z-index:2;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#FCFAF5;color:#86662A;font:700 13px/1 var(--f-body);box-shadow:0 2px 6px -2px rgba(92,66,20,.5)}

.panel-head{margin-bottom:12px}
.panel h2{font:800 var(--h2-size)/1.2 var(--f-body);letter-spacing:-.015em}
.panel-sub{background:var(--well);padding:5px 9px;border-radius:999px;font-weight:600;font-size:11px}

/* ---------- home ---------- */
.acc-row{grid-template-columns:32px minmax(110px,1.1fr) minmax(90px,1.6fr) 104px 112px;gap:12px;border-top:0;padding:6px 0}
.acc-badge{border-radius:50%;width:32px;height:32px;font-size:10px}
.acc-id b{font-size:13px}.acc-id span{font-size:11.5px}
.acc-count{font-size:12px}
.bar{height:10px;gap:3px}
.legend{border-top:0;background:var(--well);padding:9px 12px;border-radius:13px;margin-top:8px;font-size:11.5px;gap:6px 14px}
.note{border-top:0;background:var(--well);padding:12px!important;border-radius:16px;margin-top:8px;gap:10px}
.panel-head + .note{margin-top:0}
.note-req{background:#F6EBCB}
.note-meta{font-size:12px}
.note-text{font:600 13.5px/1.45 var(--f-body);font-style:normal;margin:4px 0 9px}
.avatar-client{font-size:13px}
.week{gap:8px}
.day{border-radius:16px;padding:10px;min-height:104px;gap:8px}
.day-head{font-size:10px}
.day-head b{font-size:18px}
.slot{border-radius:999px;padding:6px 9px;font-size:11.5px;box-shadow:0 6px 12px -10px rgba(92,66,20,.5)}
.news-row{border-top:0;padding:6px 0;grid-template-columns:9px minmax(0,1fr) auto 124px}
.news-row b{font-size:13px}
.pips i{height:9px;width:9px}
.client-card{border-color:transparent;border-radius:18px;padding:14px;min-height:84px}
.client-logo{width:64px}
.client-new{border:1.5px dashed var(--gold-line)}
.client-plus{width:34px;height:34px}

/* ---------- approval + your check ---------- */
.tabs{gap:6px}
.tab{border-color:transparent;box-shadow:var(--shadow);padding:9px 13px;font-size:12.5px}
.tab em{font-size:11px}
.approve-bar{padding:10px 14px;border-radius:999px;gap:14px}
.ring{width:38px;height:38px}
.approve-count{font-size:16px}
.approve-progress span{font-size:12px}
.filter{padding:7px 11px;font-size:12px}
.filter.is-on{background:#2A241D;color:#F3EDE2}
.posts{grid-template-columns:repeat(auto-fill,minmax(clamp(176px,15vw,230px),1fr))}
.post{border:0;padding:8px;container-type:inline-size}
.post-media{display:block;width:100%;border-radius:15px;text-align:left;cursor:zoom-in}
.post-body{padding:10px 5px 4px;gap:5px}
.post-meta{font-size:9px}
.post-title{font-weight:700;font-size:13.5px;line-height:1.3}
.post-caption{font:500 12.5px/1.4 var(--f-body);font-style:normal}
.post-date{left:8px;top:8px;border-radius:999px;padding:6px 10px;font-size:11px}
.post-date b{font:800 13px/1 var(--f-body)}
.post-format{right:8px;top:8px;padding:6px 9px;font-size:11px}
.post-actions{gap:6px;padding-top:6px}
.post-actions .btn{padding:9px 8px}
.post-state{font-size:12.5px;padding-top:8px}
.post-note{font-size:12.5px;padding:8px 10px}
.post.is-ok{background:#F1F2E3}
.post.is-change{background:#F8E9E0}
.cover-type{padding:18px;gap:10px}
.cover-kicker{font-size:8.5px}
.cover-hook{font:800 20px/1.1 var(--f-body);letter-spacing:-.03em}
.cover-brand{left:18px;bottom:16px;width:62px}
.cover-brand em{font:700 9px/1 var(--f-label);letter-spacing:.2em;text-transform:uppercase;white-space:nowrap}
/* covers in the look of each account (text covers stand in until the pictures exist) */
.cover-alc{background:linear-gradient(165deg,#DCEBE9,#A9CDCB);color:#1F4A4C}
.cover-alc.cover-build{background:linear-gradient(165deg,#F3EBDC,#E2D2B4);color:#2A241D}
.cover-alc.cover-area{background:linear-gradient(165deg,#3F8183,#2B5F66);color:#F3EDE2}
.cover-alc.cover-greeting{background:linear-gradient(165deg,#F6E7C2,#E3C98F);color:#2A241D}
@container (max-width:236px){.post-actions{flex-direction:column}.post-actions .btn{flex:none;width:100%}.post-format{display:none}}
.plist-row{border-top:0;background:var(--well);border-radius:999px;padding:9px 16px;margin-top:5px;font-size:13px;grid-template-columns:88px 132px minmax(0,1fr) 20px}
.list-panel,.soon{max-width:none}
.soon{padding:44px 24px}
.soon h2{font-size:20px}
.soon-art{width:54px;height:54px;background:linear-gradient(140deg,#8E6B2B,#D2B26A);color:#fff;flex:none}
.sentbox{display:flex;gap:18px;align-items:flex-start}
.sentbox h2{font-size:18px;margin-bottom:4px}
.sentbox p{color:var(--fg-soft)}
.sentbox .wa{margin:10px 0 12px;padding:12px 14px;border-radius:16px;background:var(--well);color:var(--fg);font-weight:600}
.askbox{display:flex;flex-direction:column;gap:10px}
.askbox b{display:block;font-weight:800;font-size:14px}
.askbox span{color:var(--fg-soft)}
.askbox textarea{width:100%;resize:vertical;padding:11px 14px;border-radius:16px;border:1px solid var(--accent);background:#fff;outline:0}
.askbox .post-actions{padding:0;max-width:320px}
.askbox.is-sent{flex-direction:row;align-items:center;background:#F1F2E3;color:var(--ok)}
.askbox.is-sent span{color:var(--fg-soft)}
.askbox.is-sent .ic{width:22px;height:22px}

/* the big view of one post (tap the picture) */
html.has-sheet{overflow:hidden}
.shade{position:fixed;inset:0;z-index:60;background:rgba(42,36,29,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.sheet{position:fixed;z-index:61;left:50%;top:50%;transform:translate(-50%,-50%);width:min(820px,94vw);max-height:90vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--card);border-radius:26px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.55)}
.sheet-media{position:relative;aspect-ratio:4/5;background:var(--well);overflow:hidden}
.sheet-media img{width:100%;height:100%;object-fit:cover}
.sheet-media .cover-type{padding:34px}
.sheet-media .cover-hook{font-size:34px}
.sheet-media .cover-brand{left:34px;bottom:28px;width:96px}
.sheet-body{position:relative;display:flex;flex-direction:column;gap:9px;padding:26px 24px 22px;overflow-y:auto}
.sheet-close{position:absolute;right:14px;top:14px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--well)}
.sheet-title{font:800 20px/1.2 var(--f-body);letter-spacing:-.02em;padding-right:40px}
.sheet-facts{display:flex;flex-wrap:wrap;gap:6px}
.sheet-facts .pill::before{display:none}
.sheet-label{font:700 9px/1 var(--f-label);letter-spacing:.18em;text-transform:uppercase;color:var(--accent-text);margin-top:8px}
.sheet-caption{font-size:14.5px;line-height:1.5}
.sheet .post-actions,.sheet .post-state,.sheet .post-edit{margin-top:auto}
/* the pen (12 Nov): draw on the picture when asking for a change */
.ink{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95))}
.ink path{fill:none;stroke:#E4502B;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.post-media .ink path,.note-shot .ink path{stroke-width:2.2}
.pen-pad{position:absolute;inset:0;touch-action:none;cursor:crosshair;-webkit-user-select:none;user-select:none}
.pen-hint{position:absolute;left:12px;top:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 11px 6px 9px;border-radius:999px;background:rgba(31,26,21,.74);color:#fff;font-size:12px;font-weight:600;pointer-events:none}
.pen-hint .ic{width:14px;height:14px}
.sheet-media.has-ink .pen-hint{display:none}
.pen-tools{position:absolute;right:12px;bottom:12px;display:none;gap:6px}
.sheet-media.has-ink .pen-tools{display:flex}
.pen-tools button{padding:7px 12px;border-radius:999px;background:#FCFAF5;color:#2A241D;font-size:12px;font-weight:700;box-shadow:0 6px 16px -6px rgba(0,0,0,.45)}
.note-ink{display:inline-flex;align-items:center;gap:5px;margin-top:6px;font-size:11.5px;font-weight:700;color:var(--change)}
.note-ink .ic{width:13px;height:13px}
.note-shot{position:relative;display:block;width:96px;aspect-ratio:4/5;border-radius:12px;overflow:hidden;margin:6px 0 4px;cursor:zoom-in}
.note-shot img{width:100%;height:100%;object-fit:cover;display:block}
.sheet .post-actions .btn{padding:12px}

/* ---------- report ---------- */
.days{height:128px}
.dbar i{border-radius:999px;max-width:22px}
.days-note{font-size:12.5px;margin-top:10px}
.points{gap:8px}
.points li{background:var(--well);padding:10px 12px;border-radius:16px;gap:10px}
.points .mark{background:#fff;width:24px;height:24px}
.points div span{font-size:12.5px}
.tbl{font-size:13px}
.tbl th{border-bottom:0;padding-bottom:5px}
.tbl td{border-bottom:0;padding-top:7px;padding-bottom:7px}
.tbl td.best{font:500 12.5px/1.3 var(--f-body);font-style:normal}
/* The "By account" table looks at the room its own panel has, not at the screen: the panel is narrow on a phone AND on a laptop, where it sits beside the newsletter.
   "Best post" takes the room that is left and ends in "…". Too little room: it goes, then the cells tighten, then a long account name takes two lines.
   The table can never push the page sideways. */
.panel-table{container-type:inline-size;overflow-x:auto}
.tbl td.best{max-width:0;width:100%}
@container (max-width:650px){.tbl th.best,.tbl td.best{display:none}}
@container (max-width:500px){.tbl th,.tbl td{padding-left:10px}.tbl th:not(:first-child){width:auto}}
@container (max-width:420px){.tbl{font-size:12px}.tbl th,.tbl td{padding-left:9px}.tbl th{font-size:8.5px;letter-spacing:.08em}.tbl .acc{white-space:normal;gap:7px;line-height:1.25}}
@container (max-width:340px){.tbl{font-size:11.5px}.tbl th,.tbl td{padding-left:6px}.tbl th{font-size:8px;letter-spacing:.04em}}
.tops{gap:8px}
.top-post{background:var(--well);padding:7px 12px 7px 7px;border-radius:16px;gap:10px}
.top-post img{width:42px;height:52px}
.top-post b{font-size:13px}.top-post span{font-size:11.5px}
.top-post strong{font-size:18px}
.mail-stats{border-bottom:0;padding-bottom:0;margin-bottom:12px;gap:8px}
.mail-stat{background:var(--well);padding:10px 12px;border-radius:16px}
.mail-stat b{font-size:24px}
.mail-stat span{font-size:11.5px}
.mbar{font-size:12.5px;padding:4px 0;grid-template-columns:140px minmax(0,1fr) 36px}
.mbar .track{height:10px}
.web-soon{border-radius:16px;padding:16px}
.web-soon b{font-size:16px}

/* ---------- login ---------- */
.login{grid-template-columns:1fr 1fr;padding:12px;gap:12px}
.login-side{border-radius:24px;padding:40px}
.login-quote{font:800 32px/1.08 var(--f-body);letter-spacing:-.03em}
.login-main{background:#FCFAF5;border-radius:24px;box-shadow:var(--shadow)}
.login-card{width:min(340px,100%);gap:12px}
.login-card .logo-full{width:92px}
.login-card .display{font-size:30px}
.field input{padding:12px 16px;background:#F3EDE0;border-color:transparent}
.login-card .btn{padding:13px;background:linear-gradient(140deg,#8E6B2B,#C9A75B);color:#fff}
#labbar button{padding:8px 11px}

/* ---------- the bell, the drop box, Evergreen ---------- */
.top{position:relative;z-index:25}
.bell-wrap{position:relative}
.bell{position:relative;width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:#FCFAF5;box-shadow:var(--shadow)}
.bell .count{position:absolute;right:-4px;top:-4px;min-width:17px;height:17px;padding:0 4px;border-radius:99px;display:grid;place-items:center;background:#B5553B;color:#fff;font:800 10px/1 var(--f-body)}
.bell-pop{position:absolute;right:0;top:43px;width:min(310px,84vw);padding:8px;border-radius:20px;background:#FCFAF5;box-shadow:0 24px 50px -20px rgba(42,36,29,.5),0 0 0 1px rgba(42,36,29,.06)}
.bell-title{font:700 9px/1 var(--f-label);letter-spacing:.2em;text-transform:uppercase;color:var(--accent-text);padding:8px 8px 6px}
.bell-item{display:flex;gap:10px;align-items:flex-start;padding:8px;border-radius:14px;line-height:1.35}
.bell-item:hover{background:var(--well)}
.bell-item .mark{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--well);color:var(--fg-soft);flex:none}
.bell-item .mark .ic{width:14px;height:14px}
.bell-item.is-new .mark{background:linear-gradient(140deg,#8E6B2B,#D2B26A);color:#fff}
.bell-item b{display:block;font-weight:700;font-size:13px}
.bell-item small{font-size:11.5px;color:var(--fg-soft);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.dropbox{display:flex;flex-direction:column;gap:6px;padding:10px;border:1.5px dashed var(--gold-line);border-radius:16px;margin-bottom:8px}
.dropbox textarea{width:100%;border:0;outline:0;background:none;resize:none;line-height:1.4}
.drop-actions{display:flex;gap:6px 10px;justify-content:space-between;align-items:center;flex-wrap:wrap}
.drop-hint{display:flex;gap:6px;align-items:center;font-size:11.5px;line-height:1.35;color:var(--fg-soft);flex:1 1 180px}
.drop-hint .ic{width:14px;height:14px;flex:none}
.drop-actions .btn{margin-left:auto}
.drop-actions .btn{padding:7px 12px;font-size:12px;cursor:pointer}
.note-files{display:inline-flex;gap:6px;align-items:center;margin:0 0 9px;padding:4px 10px 4px 8px;border-radius:999px;background:#fff;font-size:11.5px;font-weight:600}
.note-files .ic{width:14px;height:14px;color:var(--accent-text)}
.note-result{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;line-height:1.4;color:var(--ok);margin:0 0 9px}
.note-result .ic{margin-top:2px;width:14px;height:14px}
.view-shelf .post-media{cursor:default;position:relative;aspect-ratio:4/5}
.is-shelf .post-caption{color:var(--fg-soft)}
.shelf-state{margin-top:2px}
.cover-lan{background:linear-gradient(165deg,#EEF4F8,#BCD3E4);color:#27455C}
.cover-jar{background:linear-gradient(165deg,#EEF0E2,#C5D0B4);color:#2F4226}
.cover-sot{background:linear-gradient(165deg,#3A342C,#1F1B16);color:#E9D39A}
.cover-hub{background:linear-gradient(165deg,#F3EDE2,#DDD3BE);color:#2A241D}

/* ---------- smaller headers on the inside pages, and a compact report (Audrey, 12 Nov) ---------- */
.view-report .hero,.view-approve .hero,.view-check .hero,.view-shelf .hero{padding:13px 20px}
.view-report .display,.view-approve .display,.view-check .display,.view-shelf .display{font-size:20px}
.view-report .lede,.view-approve .lede,.view-check .lede,.view-shelf .lede{font-size:12.5px;max-width:74ch}
.view-report .stat{min-height:72px;padding:10px 14px;gap:2px}
.view-report .stat-num{font-size:25px}
.view-report .stat-label{font-size:11.5px}
.grid>.panel-reach{grid-column:span 5}
.grid>.panel-days{grid-column:span 3}
.grid>.panel-top{grid-column:span 4}
.grid>.panel-table{grid-column:span 7}
.grid>.panel-mail{grid-column:span 5}
.grid>.panel-web{grid-column:1/-1}
.chart-box{height:120px;overflow:hidden}
.chart{display:block}
.ch-axis{font-size:10px}
.ch-line{stroke-width:2}
.days{height:100px;gap:5px}
.dbar{font-size:10.5px;gap:4px}
.dbar b{font-size:10px}
.panel-web .web-soon{flex-direction:row;align-items:center;gap:12px;padding:11px 16px}
.panel-web .web-soon b{font-size:14px;font-family:var(--f-body);font-weight:800;white-space:nowrap}
.panel-web .web-soon .ic{width:20px;height:20px}

/* ---------- Audrey's own report (12 Nov): Pablo's numbers on top, then the part only she sees ---------- */
.band{display:flex;align-items:center;gap:8px;margin:14px 4px 8px;font:700 9.5px/1 var(--f-label);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-text)}
.band::after{content:"";flex:1;height:1px;background:var(--gold-line);opacity:.55;order:1}
.band .ic{width:14px;height:14px}
.band a{order:2;font:600 11.5px/1 var(--f-body);letter-spacing:0;text-transform:none;color:var(--fg);text-decoration:underline;text-underline-offset:3px}
.view-mine .stats{margin:0}
.rflow{margin-top:var(--gap);padding:10px 14px}
.rsteps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.rsteps li{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:14px;background:var(--well);min-width:0}
.rsteps .mark{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;flex:none;background:#fff;color:var(--fg-soft);font:700 11px/1 var(--f-body)}
.rsteps .mark .ic{width:12px;height:12px}
.rsteps b{display:block;font-size:12.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rsteps div{min-width:0;line-height:1.3}
.rsteps div span{font-size:11px;color:var(--fg-soft)}
.rsteps .is-done .mark{background:var(--ok-bg);color:var(--ok)}
.rsteps .is-now{background:#2A241D;color:#F3EDE2}
.rsteps .is-now .mark{background:#C9A75B;color:#1F1A15}
.rsteps .is-now div span{color:#D9CDB6}
.rsent{display:flex;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.rsent .wa{flex:1 1 260px;margin:0;padding:9px 12px;border-radius:14px;background:var(--well);font-weight:600;font-size:12.5px}
.grid>.panel-acct{grid-column:span 8;grid-row:span 2}
.grid>.panel-work,.grid>.panel-weak{grid-column:span 4}
.panel-acct{display:flex;flex-direction:column}
.arows{display:flex;flex-direction:column;gap:5px;flex:1}
.arow{flex:1}
.arow{display:grid;grid-template-columns:minmax(0,1fr) 54px 54px 76px 86px 104px;align-items:center;gap:10px;padding:8px 12px;border-radius:16px;background:var(--well)}
.arow-id{min-width:0;line-height:1.3}
.arow-id .acc{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px}
.arow-id small{display:block;margin:1px 0 0 17px;font-size:11.5px;color:var(--fg-soft)}
.arow-n{text-align:right;line-height:1.15}
.arow-n b{display:block;font:500 17px/1.1 var(--f-display);font-variant-numeric:lining-nums tabular-nums}
.arow-n i{font-style:normal;font-size:10px;color:var(--fg-soft);white-space:nowrap}
.arow-n.up b{color:var(--ok)}
.arow-n.nil b{color:var(--fg-soft);opacity:.55}
.arow .pill{justify-self:end}
.work-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.work-stats .mail-stat b{font-size:22px;white-space:nowrap}
.panel-weak .points{display:grid;grid-template-columns:1fr}
.panel-weak .mark{background:#fff;color:var(--change)}

/* ---------- the video part (drawn 17 Nov): Pablo's ideas, the scripts he approves, Simone's desk ---------- */
.view-video .hero,.view-desk .hero{padding:13px 20px}
.view-video .display,.view-desk .display{font-size:20px}
.view-video .lede,.view-desk .lede{font-size:12.5px;max-width:74ch}
.view-desk .stat{min-height:72px;padding:10px 14px;gap:2px}
.view-desk .stat-num{font-size:25px}
.view-desk .stat-label{font-size:11.5px}
.stat-change .stat-label::before{background:var(--seg-change)}
.grid>.panel-scripts{grid-column:span 7}
.grid>.panel-ideas{grid-column:span 5}
.panel-scripts,.panel-ideas{align-self:start}          /* each tile is as tall as what is in it: no empty room under the shorter one */
/* one script: a row that unfolds. Folded it shows its first line, unfolded its facts and every line with a number */
.script{background:var(--well);border-radius:16px;margin-top:8px}
.panel-head + .script{margin-top:0}
.script.is-ok,.script.is-filmed{background:#F1F2E3}
.script.is-change{background:#F8E9E0}
.script-head{display:flex;align-items:center;gap:10px;width:100%;padding:11px 12px;text-align:left;border-radius:16px}
.script-no{flex:none;font:700 9.5px/1 var(--f-label);letter-spacing:.16em;color:var(--accent-text);white-space:nowrap}
.script-hook{flex:1;min-width:0;font-weight:700;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.script-meta{flex:1;min-width:0;display:none;font-size:12px;line-height:1.3;color:var(--fg-soft)}
.script.is-open .script-hook{display:none}
.script.is-open .script-meta{display:block}
.script-head .pill{flex:none}
.script-head .ic-chev{color:var(--fg-soft);transition:transform .2s}
.script.is-open .ic-chev{transform:rotate(180deg)}
.script-body{display:flex;flex-direction:column;gap:8px;padding:0 12px 12px}
.lines{list-style:none;margin:0;padding:6px;background:#fff;border-radius:13px;counter-reset:line}
.lines li{counter-increment:line;position:relative;padding:6px 10px 6px 34px;border-radius:9px;line-height:1.5}
.lines li::before{content:counter(line);position:absolute;left:6px;top:7px;width:18px;text-align:right;font:700 10px/1.9 var(--f-body);color:var(--accent-text);opacity:.8}
.lines .is-key{font-weight:700}
.lines .is-marked{background:var(--change-bg);box-shadow:inset 3px 0 0 var(--change)}
.lines.is-pick li{cursor:pointer}
.lines.is-pick li:not(.is-marked):hover{background:var(--well)}
.script-hint{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--change)}
.script-hint .ic{width:14px;height:14px}
.script-empty{padding:12px;border-radius:13px;background:#fff;color:var(--fg-soft)}
.script-body .post-actions{margin-top:0;padding-top:2px;flex-wrap:wrap}
.script-body .post-actions .btn{flex:0 1 auto;padding:9px 16px}
.script-body .post-state{margin-top:0;padding:2px 4px 0}
.script-body .post-note{background:#fff}
.script-edit{gap:0}
.script-edit textarea,.script-text{width:100%;resize:vertical;padding:11px 14px;border-radius:13px;border:1px solid var(--accent);background:#fff;outline:0;line-height:1.5}
.state-wait{color:var(--wait)}
.script-new{display:flex;flex-direction:column;gap:8px;padding:10px;border:1.5px dashed var(--gold-line);border-radius:16px;margin-bottom:8px}
.script-new .post-actions{margin-top:0;padding-top:0}
.script-new .post-actions .btn{flex:0 1 auto;padding:9px 16px}
.script-from{display:flex;gap:7px;align-items:flex-start;font-size:12.5px;line-height:1.4;color:var(--fg-soft)}
.script-from .ic{width:14px;height:14px;margin-top:2px;color:var(--accent-text)}
/* the ideas: Pablo's box, and each idea with Simone's answer */
.idea-link{display:flex;align-items:center;gap:6px;flex:1 1 190px;min-width:0;padding:7px 11px;border-radius:999px;background:var(--well);color:var(--fg-soft)}
.idea-link .ic{width:14px;height:14px}
.idea-link input{flex:1;min-width:0;border:0;outline:0;background:none;padding:0}
.idea .note-text{margin-bottom:8px}
.idea.is-new{background:#F6EBCB}
.idea-answer{margin:0 0 9px;padding:8px 11px;border-radius:13px;background:#fff;font-size:12.5px;line-height:1.4}
.idea-answer b{display:block;margin-bottom:4px;font:700 9px/1 var(--f-label);letter-spacing:.16em;text-transform:uppercase;color:var(--accent-text)}
.idea-word{display:block;width:100%;margin:0 0 8px;padding:8px 13px;border-radius:999px;border:1px solid transparent;background:#fff;outline:0}
.idea-word:focus{border-color:var(--accent)}
.idea-acts{display:flex;flex-wrap:wrap;gap:6px}
.idea-acts .btn{padding:8px 12px;font-size:12px}
.idea-acts .btn-change{background:#FCFAF5;border-color:transparent}
.bell-none{padding:6px 8px 10px;font-size:12.5px;color:var(--fg-soft)}

/* =====================================================================
   Every screen size. Post tiles fill the row by themselves (auto-fill),
   so a wider screen simply shows more of them.
   ===================================================================== */
@media (pointer:coarse){input,textarea{font-size:16px}}   /* stops the iPhone from zooming when you type */

/* up to 1100 wide (iPad, iPhone Duo open and turned, half a laptop screen): the side menu becomes a top bar */
@media (max-width:1100px){
  .hub{display:block;padding:0}
  .nav{position:sticky;top:0;z-index:20;height:auto;flex-direction:row;align-items:center;gap:6px;padding:8px 12px;padding-top:max(8px,env(safe-area-inset-top));border-radius:0 0 20px 20px;overflow-x:auto;scrollbar-width:none}
  .nav::-webkit-scrollbar,.tabs::-webkit-scrollbar,.week::-webkit-scrollbar,#labbar::-webkit-scrollbar{display:none}
  .nav-label,.nav-clients,.nav-accounts,.nav-foot .who,.brand-client,.search,.crumb{display:none}
  .brand{padding:0 6px 0 2px}
  .brand .logo-wordmark{display:none}
  .brand .logo-mark{width:30px}
  .nav-main{flex-direction:row;gap:2px}
  .nav-item{white-space:nowrap}
  .nav-foot{background:none;padding:0;margin-left:auto}
  .top{padding-top:10px}
  .grid>.panel{grid-column:span 6}
  .grid>.panel-accounts,.grid>.panel-week,.grid>.panel-clients,.grid>.panel-table,.grid>.panel-top{grid-column:1/-1}
  .tops{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid>.panel-acct,.grid>.panel-work,.grid>.panel-weak{grid-column:1/-1;grid-row:auto}
  .panel-weak .points{grid-template-columns:repeat(3,minmax(0,1fr))}
  .work-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
  .grid>.panel-scripts{grid-column:span 7}
  .grid>.panel-ideas{grid-column:span 5}
}
/* up to 900 wide: the scripts take the full width, the ideas go under them */
@media (max-width:900px){
  .grid>.panel-scripts,.grid>.panel-ideas{grid-column:1/-1}
}
/* up to 720 wide (iPhone Duo open, big phones turned): one column of panels */
@media (max-width:720px){
  :root{--page-x:14px;--pad:16px}
  .grid>.panel{grid-column:1/-1}
  .panel-head{flex-wrap:wrap}
  .hero{padding:16px 18px;align-items:flex-start}
  .chip-date{display:none}
  .pipe .stat{min-height:0;padding:12px}
  .pipe .stat-note{display:none}
  .pipe .stat-label{white-space:nowrap;font-size:11.5px;gap:5px}
  .hero-side{width:100%;justify-content:space-between}
  .acc-row{grid-template-columns:32px minmax(0,1fr) auto;row-gap:6px}
  .acc-row .bar{grid-column:1/-1;grid-row:2}
  .acc-count{display:none}
  .week{display:flex;overflow-x:auto;margin:0 calc(var(--pad)*-1);padding:0 var(--pad) 4px;scrollbar-width:none}
  .day{flex:0 0 132px}
  .clients{grid-template-columns:1fr}
  .tabs{flex-wrap:nowrap;overflow-x:auto;margin:0 calc(var(--page-x)*-1);padding:2px var(--page-x) 8px;scrollbar-width:none}
  .tab{flex:none}
  .approve-bar{position:static;border-radius:22px;padding:14px}
  .filters{margin-left:0;flex-wrap:wrap;width:100%}
  .approve-bar>.btn{width:100%}
  .tbl th.best,.tbl td.best{display:none}
  .tops{grid-template-columns:1fr}
  .view-report .hero-side{position:absolute;right:12px;top:12px;width:auto}
  .view-report .hero-actions .btn{font-size:0;gap:0;padding:9px;border-radius:50%}
  .view-report .hero-text{padding-right:44px}
  .view-report .stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .view-report .stat{padding:9px 10px;min-height:0}
  .view-report .stat-num{font-size:20px;gap:4px}
  .view-report .stat-num small{font-size:10.5px}
  .view-report .stat-label{font-size:10.5px;gap:5px;white-space:nowrap}
  .view-report .stat-label::before{width:6px;height:6px}
  .view-report .stat-note{font-size:10.5px;line-height:1.3}
  .view-mine .hero{flex-wrap:nowrap;align-items:center;gap:12px}
  .view-mine .hero-side{position:static;width:auto;flex:none}
  .view-mine .hero-actions .btn{font-size:12.5px;gap:7px;padding:9px 13px;border-radius:999px}
  .view-mine .hero-text{padding-right:0;min-width:0}
  .rflow{padding:8px 10px}
  .rsteps{gap:6px}
  .rsteps li{padding:6px 9px;gap:7px}
  .arow{grid-template-columns:repeat(4,minmax(0,1fr));gap:3px 8px;padding:8px 12px}
  .arow-id{grid-column:1/4}
  .arow .pill{grid-column:4;grid-row:1;align-self:start}
  .arow-n{text-align:left;display:flex;align-items:baseline;gap:0 5px;flex-wrap:wrap}
  .arow-n b{font-size:15px}
  .panel-weak .points{grid-template-columns:1fr}
  .panel-web .web-soon{flex-wrap:wrap}
  .panel-web .web-soon b{white-space:normal}
  .tbl th:not(:first-child){width:auto}
  .plist-row{grid-template-columns:76px minmax(0,1fr) 20px;border-radius:16px}
  .plist-fmt{display:none}
  .sentbox{flex-direction:column}
  .login{grid-template-columns:1fr}
  .login-side{display:none}
  .login-main{padding:36px 20px;min-height:calc(100vh - 24px)}
  .sheet{left:0;right:0;top:auto;bottom:0;transform:none;width:100%;max-height:92vh;grid-template-columns:1fr;border-radius:24px 24px 0 0;overflow-y:auto}
  .sheet-media{aspect-ratio:5/4}
  .sheet-media.is-ink{aspect-ratio:4/5;width:min(100%,calc(54vh*.8));margin:0 auto;border-radius:0 0 18px 18px}
  .sheet-body{overflow:visible;padding-bottom:max(22px,env(safe-area-inset-bottom))}
}
/* phones, and the iPhone Duo closed (up to 560 wide): posts become a tidy list, picture left, text right */
@media (max-width:560px){
  body{font-size:14px}
  :root{--display-size:23px;--stat-size:30px}
  .stats{grid-template-columns:1fr 1fr}
  .pipe{grid-template-columns:repeat(6,minmax(0,1fr))}
  .pipe .stat{grid-column:span 2}
  .pipe .stat:nth-child(n+4){grid-column:span 3}
  .pipe .stat::after{display:none!important}
  .stat{min-height:88px}
  .countdown b{font-size:36px}
  .posts{grid-template-columns:1fr;gap:8px}
  .post{flex-direction:row;align-items:stretch}
  .post-media{width:36%;flex:none;align-self:flex-start}
  .post-body{padding:2px 4px 2px 12px;min-width:0}
  .post-format{display:none}
  .post-date{left:6px;top:6px;padding:5px 8px}
  .post-date span{display:none}
  .cover-type{padding:10px;gap:6px}
  .cover-hook{font-size:13.5px}
  .cover-kicker,.cover-brand{display:none}
  .post-actions{flex-direction:row}
  .post-actions .btn{width:auto;flex:1}
  .mbar{grid-template-columns:112px minmax(0,1fr) 36px}
  .rsteps,.work-stats{grid-template-columns:1fr 1fr}
  .sheet-media .cover-hook{font-size:26px}
  .sheet-media .cover-type{padding:24px}
  .script-head{flex-wrap:wrap;row-gap:6px}
  .script-no{flex:1}
  .script-hook,.script-meta{order:5;flex:1 1 100%;white-space:normal}
  .script-body{padding:0 8px 10px}
  .lines li{padding-left:30px}
  .script-body .post-actions .btn,.script-new .post-actions .btn{flex:1}
}
@media (max-width:380px){
  .post-actions{flex-direction:column}
  .post-actions .btn{width:100%;flex:none}
}
@media (max-width:430px){
  .view-report .stats{grid-template-columns:1fr 1fr}
  .view-mine .hero{flex-wrap:wrap}
  .view-mine .hero-side{width:100%}
}
