/* Eve Clinics dashboard. The designer's system "1C Data Clarity" (1 Nov 2026, design/assets/style.css), with
   Poppins served from here, the clinic's own logo, and the tracker's own pieces at the end (proposal previews,
   charts, change chips), restyled to match. */
@font-face{font-family:Poppins;font-weight:400;font-display:swap;src:url(/static/fonts/Poppins-Regular.ttf) format("truetype")}
@font-face{font-family:Poppins;font-weight:500;font-display:swap;src:url(/static/fonts/Poppins-Medium.ttf) format("truetype")}
@font-face{font-family:Poppins;font-weight:600;font-display:swap;src:url(/static/fonts/Poppins-SemiBold.ttf) format("truetype")}
@font-face{font-family:Poppins;font-weight:700 800;font-display:swap;src:url(/static/fonts/Poppins-Bold.ttf) format("truetype")}

/* ---- colours, sizes ---- */
:root{
  color-scheme:light;
  --brand:#005560;--brand-deep:#003f48;--brand-hover:#086873;--teal:#0f9280;--teal-dark:#087466;--gold:#e6af2e;
  --bg:#f6faf9;--surface:#ffffff;--surface-alt:#f0f7f6;--surface-subtle:#f8fbfb;
  --text:#193139;--heading:#10282f;--muted:#657980;--line:#dce7e5;--line-strong:#c6d7d3;
  --good:#177b53;--good-bg:#e7f7ef;--warning:#99600e;--warning-bg:#fff4df;--bad:#b3313a;--bad-bg:#fdf0f0;--info:#21718e;--info-bg:#e9f5fb;
  --mint:#e4f6f2;--amber:#fff2dd;--sky:#ebf6fb;--rose:#fceced;
  --shadow:0 2px 5px rgba(12,48,54,.035),0 12px 36px rgba(12,48,54,.045);
  --shadow-strong:0 9px 25px rgba(0,45,50,.16);
  --sidebar-w:228px;--topbar-h:69px;
  --font:Poppins,ui-sans-serif,'Segoe UI',Arial,sans-serif;--mono:ui-monospace,"Cascadia Code",Consolas,monospace;
  --chart-1:#0d9c88;--chart-2:#e6af2e;--chart-3:#7f98a3;--chart-4:#21718e;
  /* lines that must be told apart (checked for colour blindness and contrast, light and dark) */
  --series-1:#0d9c88;--series-2:#2a78d6;--series-3:#eb6834;
  /* the tracker's older names, so every page shares one palette */
  --panel:var(--surface);--ink:var(--text);--accent:var(--teal-dark);--accent-soft:var(--mint);--up:var(--good);
  --down:var(--bad);--warn:var(--warning);--warn-soft:var(--warning-bg);--block-soft:var(--bad-bg);--ok-soft:var(--good-bg);
  --chip:var(--surface-alt);--radius:14px;
}
@media(prefers-color-scheme:dark){:root:not([data-theme='light']){
  color-scheme:dark;--bg:#101e21;--surface:#172a2e;--surface-alt:#20383b;--surface-subtle:#1b3134;--text:#dfeeed;--heading:#f2fbfa;--muted:#a5bcbe;--line:#34494c;--line-strong:#547174;
  --brand:#003d43;--brand-deep:#002e33;--brand-hover:#126771;--teal:#26b59f;--teal-dark:#16a18c;
  --good:#69d5a6;--good-bg:#1d4538;--warning:#ffd079;--warning-bg:#4d3b1d;--bad:#ff9aa1;--bad-bg:#4d2a2f;--info:#88cef1;--info-bg:#234251;
  --mint:#1d4844;--amber:#4a3921;--sky:#1e3b48;--rose:#422d33;--chart-1:#26b59f;--chart-3:#a5bcbe;--chart-4:#88cef1;--series-1:#22ab95;--series-2:#3987e5;--series-3:#d95926;
  --shadow:0 5px 24px rgba(0,0,0,.15);--shadow-strong:0 12px 30px rgba(0,0,0,.35)
}}
:root[data-theme='dark']{
  color-scheme:dark;--bg:#101e21;--surface:#172a2e;--surface-alt:#20383b;--surface-subtle:#1b3134;--text:#dfeeed;--heading:#f2fbfa;--muted:#a5bcbe;--line:#34494c;--line-strong:#547174;
  --brand:#003d43;--brand-deep:#002e33;--brand-hover:#126771;--teal:#26b59f;--teal-dark:#16a18c;
  --good:#69d5a6;--good-bg:#1d4538;--warning:#ffd079;--warning-bg:#4d3b1d;--bad:#ff9aa1;--bad-bg:#4d2a2f;--info:#88cef1;--info-bg:#234251;
  --mint:#1d4844;--amber:#4a3921;--sky:#1e3b48;--rose:#422d33;--chart-1:#26b59f;--chart-3:#a5bcbe;--chart-4:#88cef1;--series-1:#22ab95;--series-2:#3987e5;--series-3:#d95926;
  --shadow:0 5px 24px rgba(0,0,0,.15);--shadow-strong:0 12px 30px rgba(0,0,0,.35)
}
:root[data-theme='light']{color-scheme:light}

/* ---- base ---- */
*{box-sizing:border-box}html{margin:0;min-width:320px;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:13px;line-height:1.65;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:var(--teal-dark);text-decoration:none}a:hover{text-decoration:underline}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--gold)!important;outline-offset:3px}
h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--heading);line-height:1.3;letter-spacing:-.03em}
h1{font-size:28px;font-weight:700;margin:4px 0 6px}h2{font-size:16px;font-weight:700;margin:0 0 12px}h3{font-size:14px;margin:16px 0 8px}
p{margin-bottom:14px}small{font-size:11px}.muted{color:var(--muted)}.icon{width:18px;height:18px;flex:none;vertical-align:middle}.btn .icon{width:16px;height:16px}
[hidden]{display:none!important}
.skip{position:absolute;left:-999px;top:8px;z-index:200;background:var(--surface);padding:8px 12px;border-radius:8px}.skip:focus{left:8px}

/* ---- the frame: menu, top bar, phone tabs ---- */
.app-shell{display:flex;min-height:100vh;width:100%}
.sidebar{width:var(--sidebar-w);flex:none;background:linear-gradient(165deg,var(--brand-deep),var(--brand) 62%,#004a53);color:#dbeeed;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;z-index:20;box-shadow:5px 0 24px rgba(0,43,48,.07)}
.brand{display:flex;align-items:center;min-height:91px;padding:22px 22px 18px}.brand img{display:block}.brand .logo{width:150px;height:auto}.brand .leaf{display:none;width:28px;height:auto}.brand:hover{text-decoration:none}
.nav-scroll{flex:1;overflow:auto;padding:0 12px 10px;scrollbar-width:thin}.nav-group{margin-bottom:12px}
.nav-label{margin:14px 10px 6px;font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#96b8b8;font-weight:600}
.nav-link{min-height:39px;padding:9px 10px;margin:3px 0;display:flex;align-items:center;gap:12px;color:#d7e9e7;border-radius:9px;font-size:11.5px;font-weight:500;transition:background .12s}
.nav-link .icon{width:17px;height:17px}.nav-link:hover{background:rgba(255,255,255,.085);text-decoration:none;color:#fff}
.nav-link.active{color:#fff;background:linear-gradient(100deg,#087c72,#0e9a83);font-weight:700;box-shadow:0 5px 14px rgba(0,35,34,.12)}
.nav-count{margin-left:auto;background:rgba(255,255,255,.19);color:#fff;padding:0 6px;border-radius:10px;font-size:10px}
.sidebar-foot{padding:12px 11px 16px;border-top:1px solid rgba(255,255,255,.11)}
.profile{display:flex;gap:10px;align-items:center;color:#fff;padding:8px 7px;border-radius:9px}.profile:hover{background:rgba(255,255,255,.07);text-decoration:none}
.profile>span:nth-child(2){display:grid;line-height:1.25;flex:1;min-width:0}.profile b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small{font-size:10px;color:#bbd9d7}
.signout{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;color:#bbd9d7;font-size:11px;padding:8px 7px;border-radius:9px;text-align:left}.signout:hover{background:rgba(255,255,255,.07);color:#fff}.signout .icon{width:16px}
.avatar,.header-avatar{width:35px;height:35px;border-radius:100%;display:grid;place-items:center;font-weight:700;background:linear-gradient(150deg,#0f9e8d,#086e6c);color:#fff;font-size:11px;flex:none}
.workspace{flex:1;min-width:0}
.topbar{height:var(--topbar-h);background:var(--surface);border-bottom:1px solid var(--line);padding:0 35px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:10}
.topbar-start,.topbar-tools{display:flex;align-items:center;gap:12px;min-width:0}.topbar-crumb{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-crumb span{margin:0 7px;color:var(--line-strong)}
.topbar-tools{gap:12px}.data-updated{font-size:10px;color:var(--muted);white-space:nowrap}.job-on{display:inline-flex;align-items:center;gap:5px;color:var(--teal-dark);font-weight:600}
.icon-button,.mobile-menu{display:grid;place-items:center;border:0;background:transparent;color:var(--text);width:36px;height:36px;border-radius:100%;position:relative}.icon-button:hover{background:var(--surface-alt);text-decoration:none}
.notification-dot{position:absolute;right:6px;top:6px;width:7px;height:7px;border-radius:50%;background:#e04441;border:2px solid var(--surface)}
.header-avatar{height:33px;width:33px}.header-avatar:hover{text-decoration:none}
.theme-dark-only{display:none}:root[data-theme='dark'] .theme-dark-only{display:inline}:root[data-theme='dark'] .theme-light-only{display:none}
@media(prefers-color-scheme:dark){:root:not([data-theme='light']) .theme-dark-only{display:inline}:root:not([data-theme='light']) .theme-light-only{display:none}}
.main-content{width:min(1450px,100%);margin:0 auto;padding:28px 34px 46px;min-height:calc(100vh - var(--topbar-h))}
.mobile-menu,.mobile-brand,.bottomnav,.menu-scrim{display:none}

/* ---- page heading, sections ---- */
.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:24px}
.page-heading p{color:var(--muted);font-size:12px;margin:0}.page-heading .eyebrow{font-size:9.5px;letter-spacing:.14em;font-weight:700;color:var(--teal-dark);margin:0 0 5px;text-transform:uppercase}
.page-heading h1{overflow-wrap:anywhere}
.page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end;padding-top:8px}.page-actions form{margin:0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 0 12px}.section-head h2{font-size:16px;margin:0}
.back-link{display:inline-flex;align-items:center;gap:4px;font-weight:600;font-size:11px;margin-bottom:6px}.back-link .icon{width:14px;height:14px}

/* ---- buttons ---- */
.btn{min-height:40px;padding:9px 16px;border-radius:9px;border:1px solid var(--line-strong);background:var(--surface);color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:11.5px;font-weight:700;line-height:1.3;white-space:normal;text-align:center;text-decoration:none;transition:transform .12s,box-shadow .12s,background .12s;cursor:pointer}
.btn:hover{text-decoration:none;transform:translateY(-1px);background:var(--surface-alt)}
.btn-primary,.btn.primary{background:linear-gradient(110deg,#087d70,#006e6b);color:#fff;border-color:#007c77;box-shadow:0 3px 8px rgba(0,120,105,.09)}
.btn-primary:hover,.btn.primary:hover{background:#046b62;color:#fff}
.btn-secondary{background:var(--surface);border-color:var(--line-strong);color:var(--text)}
.btn-quiet{background:transparent;border-color:transparent;color:var(--teal-dark)}.btn-quiet:hover{background:var(--surface-alt)}
.btn-danger-quiet,.btn.danger{background:var(--bad-bg);border-color:transparent;color:var(--bad)}.btn-danger-quiet:hover,.btn.danger:hover{background:var(--bad-bg)}
.btn:disabled,.btn[disabled],button:disabled{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
.btn.small{min-height:32px;padding:5px 11px;font-size:11px;border-radius:8px}
.btn.full{width:100%;margin-bottom:8px}
.button-row{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:12px}.button-row:empty{display:none}.button-row form{margin:0}
.action-row{display:flex;gap:8px;justify-content:flex-end;padding-top:18px;border-top:1px solid var(--line);margin-top:20px;flex-wrap:wrap}
.text-link,.linkish{border:0;background:none;color:var(--teal-dark);font-weight:700;padding:0;font-size:inherit}.text-link:hover,.linkish:hover{text-decoration:underline}

/* ---- number tiles ---- */
.stats{display:grid;gap:13px;margin:0 0 18px}.stats-2{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}.stats-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.stat{min-height:116px;border-radius:14px;border:1px solid var(--line);background:var(--surface);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:18px 19px;position:relative;overflow:hidden;color:var(--text)}
a.stat:hover{text-decoration:none;border-color:var(--line-strong)}
.stat-mint{background:linear-gradient(125deg,var(--mint),var(--surface) 96%)}.stat-amber{background:linear-gradient(125deg,var(--amber),var(--surface) 96%)}.stat-sky{background:linear-gradient(125deg,var(--sky),var(--surface) 96%)}.stat-rose{background:linear-gradient(125deg,var(--rose),var(--surface) 96%)}
.stat-icon{position:absolute;right:17px;top:16px;color:var(--teal);opacity:.95}.stat-amber .stat-icon,.stat-rose .stat-icon{color:var(--warning)}.stat-sky .stat-icon{color:var(--info)}
.stat-value{font-size:29px;font-weight:800;line-height:1.13;color:var(--heading);letter-spacing:-.05em}.stat-label{font-size:11px;font-weight:600;color:var(--muted);margin-top:5px}
.stat-trend{font-weight:700;margin-top:4px;color:var(--muted)}.stat-trend.up{color:var(--good)}.stat-trend.down{color:var(--bad)}

/* ---- panels ---- */
.panel{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:0 0 16px;box-shadow:var(--shadow);min-width:0;overflow:hidden}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 21px 14px;flex-wrap:wrap}.panel-head h2{margin:0}
.panel-head a{display:inline-flex;align-items:center;gap:5px;font-weight:700;font-size:11px;white-space:nowrap}.panel-head a .icon{width:13px;height:13px}
.panel-body{padding:4px 21px 20px}.panel-body>p:first-child{margin-top:0}.panel-body>:last-child{margin-bottom:0}
.grid-dashboard{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(245px,.75fr);gap:17px}.grid-dashboard.grid-equal{grid-template-columns:1fr 1fr}.grid-dashboard>.panel{margin-bottom:16px}
.legend{display:flex;align-items:center;gap:18px;flex-wrap:wrap;color:var(--muted);font-size:10px;margin-top:4px}.legend span{display:flex;align-items:center;gap:6px}.legend i{display:inline-block;width:8px;height:8px;border-radius:50%}
.approval-sums{display:grid;gap:2px}.approval-sums>a{display:flex;align-items:center;gap:10px;padding:13px 2px;color:var(--text);border-bottom:1px solid var(--line);font-size:11px}.approval-sums>a:last-child{border:0}.approval-sums>a:hover{text-decoration:none;background:var(--surface-subtle)}
.approval-sums>a>.icon:first-child{color:var(--teal)}.approval-sums .warn-ic{color:var(--warning)!important}.approval-sums .info-ic{color:var(--info)!important}
.approval-sums b{font-size:20px;color:var(--heading);min-width:26px}.approval-sums span{flex:1}.approval-sums>a>.icon:last-child{width:14px;color:var(--muted)}
.mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.mini-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.mini{border-right:1px solid var(--line);padding:4px 4px 5px 2px;display:flex;flex-direction:column;gap:3px;min-width:0}.mini:last-child{border-right:0}.mini>span{font-size:10px;color:var(--muted)}
.mini strong{font-size:19px;font-weight:800;letter-spacing:-.04em;color:var(--heading);line-height:1.3;overflow-wrap:anywhere}.mini small{font-weight:700;color:var(--muted)}.mini small.up{color:var(--good)}.mini small.down{color:var(--bad)}

/* ---- task rows ---- */
.task-list{display:grid;gap:0}
.task{display:flex;align-items:center;gap:12px;min-height:67px;padding:10px 0;color:var(--text);border-bottom:1px solid var(--line)}.task:last-child{border-bottom:0}.task:hover{text-decoration:none;background:var(--surface-subtle)}
.task>.icon{width:15px;color:var(--muted)}.task-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.task-copy strong{font-size:12px;color:var(--heading);overflow-wrap:anywhere}.task-copy small{color:var(--muted)}
.media-thumb{width:49px;height:49px;flex:none;display:grid;place-items:center;border-radius:9px;background:linear-gradient(140deg,#d1ede6,#9ebcb6 55%,#648983);color:#fff;overflow:hidden}
.media-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.media-video{background:linear-gradient(145deg,#275f68,#8eb8a9 60%,#ebbc91)}.media-photo{background:linear-gradient(145deg,#f3dcc0,#c4af82 50%,#7eaa9e)}.media-website{background:linear-gradient(145deg,#e5f7fc,#69aebd)}
.media-thumb svg{width:23px;height:23px;filter:drop-shadow(0 1px 4px rgba(0,0,0,.18))}
.empty-state{padding:28px 12px;text-align:center;display:grid;justify-items:center;gap:6px}.empty-state>.icon{width:34px;height:34px;color:var(--teal-dark)}.empty-state h3{margin:6px 0 0}.empty-state p{color:var(--muted);margin:0}

/* ---- chips, notices, tabs ---- */
.chip{display:inline-flex;align-items:center;gap:5px;width:max-content;max-width:100%;padding:3px 9px;border-radius:100px;font-size:10px;font-weight:700;line-height:1.45;white-space:nowrap;background:var(--surface-alt);color:var(--muted);vertical-align:middle}
.chip .icon{width:12px;height:12px}
.chip-neutral{background:var(--surface-alt);color:var(--muted)}.chip-success{background:var(--good-bg);color:var(--good)}.chip-warning{background:var(--warning-bg);color:var(--warning)}
.chip-danger{background:var(--bad-bg);color:var(--bad)}.chip-info{background:var(--info-bg);color:var(--info)}.chip-working{background:var(--sky);color:var(--teal)}
.notice{display:flex;align-items:flex-start;gap:10px;background:var(--info-bg);color:var(--info);border:1px solid transparent;border-radius:10px;padding:13px 15px;margin:0 0 17px;font-size:11.5px;line-height:1.7}
.notice .icon{flex:none;margin-top:2px;width:18px}.notice>div,.notice>span{flex:1;min-width:0;overflow-wrap:anywhere}.notice a{color:inherit;text-decoration:underline}
.notice-warning{background:var(--warning-bg);color:var(--warning)}.notice-danger{background:var(--bad-bg);color:var(--bad)}.notice-success{background:var(--good-bg);color:var(--good)}.notice strong{font-weight:700}
.tabs{display:flex;align-items:center;gap:6px;overflow:auto;padding:2px 0 12px;scrollbar-width:none;margin:0}
.tab,.tabs>a{border:1px solid transparent;background:none;padding:9px 12px;min-height:39px;color:var(--muted);font-size:11px;font-weight:700;white-space:nowrap;border-radius:8px;display:inline-flex;align-items:center;gap:6px}
.tab.active,.tabs>a.on{background:var(--mint);color:var(--teal-dark);border-color:var(--line)}.tab:hover,.tabs>a:hover{background:var(--surface-alt);text-decoration:none}
.tab-panel[hidden]{display:none}

/* ---- tables, search ---- */
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin:0 0 14px}
.search-field{border:1px solid var(--line-strong);background:var(--surface);border-radius:9px;display:flex;gap:8px;align-items:center;padding:0 11px;min-width:250px}
.search-field .icon{width:16px;color:var(--muted)}.search-field input{border:none!important;padding:11px 0!important;width:100%;background:none!important;color:var(--text);outline:0;font-size:12px;min-height:0!important}
.table-wrap{max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:9px}
table{border-collapse:collapse;width:100%;font-size:11.5px;text-align:left;line-height:1.5}
th{color:var(--muted);background:var(--surface-alt);font-weight:700;white-space:nowrap;font-size:10px;text-align:left}
td,th{padding:10px 12px;border-bottom:1px solid var(--line);vertical-align:top}
tr:last-child td{border-bottom:0}tbody tr:hover td{background:var(--surface-subtle)}
td.n,th.n{text-align:right;font-variant-numeric:tabular-nums}
table.sortable th{cursor:pointer}table.sortable th[data-dir=asc]:after{content:" ▲";font-size:8px}table.sortable th[data-dir=desc]:after{content:" ▼";font-size:8px}
td small.cell-sub{display:block;color:var(--muted);margin-top:2px}
.check,label.check{display:inline-flex;align-items:center;gap:9px;color:var(--text);font-size:11.5px;cursor:pointer;padding:4px 0;margin:0;font-weight:500}
.check input,label.check input{accent-color:var(--teal);width:17px;height:17px;flex:none;margin:0}

/* ---- forms ---- */
label{font-size:11px;font-weight:600;color:var(--text);display:block;margin:10px 0 5px}
input[type=text],input[type=search],input[type=date],input[type=email],input[type=password],input[type=url],input[type=number],
input[type=datetime-local],input[type=time],input:not([type]),select,textarea{
  background:var(--surface);color:var(--text);border:1px solid var(--line-strong);border-radius:9px;min-height:42px;width:100%;padding:9px 12px;outline:0;font:inherit;font-size:12.5px;font-weight:400}
input:focus,select:focus,textarea:focus{border-color:var(--teal)}
textarea{min-height:110px;resize:vertical;line-height:1.55}textarea.code{font-family:var(--mono);font-size:12px}
textarea.words,.field textarea{font-family:var(--font);font-size:13px}
input::placeholder,textarea::placeholder{color:var(--muted);opacity:.75}
input[type=file]{font-size:11px;max-width:100%}input[type=color]{width:46px;height:38px;padding:2px;border:1px solid var(--line-strong);border-radius:8px;background:var(--surface)}
.field{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0 0 12px}.field>label{margin:0}.field-hint{color:var(--muted);font-size:10.5px;font-weight:400}
.form-grid{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;row-gap:2px}.span2{grid-column:1/-1}
.dropzone{min-height:96px;border:1.5px dashed var(--line-strong);background:var(--surface-subtle);display:grid;place-items:center;align-content:center;gap:6px;border-radius:10px;color:var(--muted);font-size:11px;text-align:center;padding:12px;cursor:pointer;margin:0;font-weight:500}
.dropzone input{max-width:230px;font-size:10px}.dropzone .icon{color:var(--teal)}
fieldset{border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:0 0 12px}legend{font-size:11px;font-weight:700;color:var(--muted);padding:0 6px}
.stack{display:grid;gap:12px}.stack label{margin:0}

/* ---- detail pages: content, then a side panel with the decision ---- */
.detail-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,.72fr);align-items:start;gap:16px}
.detail-aside{position:sticky;top:86px}.detail-aside .panel{margin-bottom:14px}.detail-aside .btn.full{margin:5px 0}.detail-aside form{margin:0}
.approve-banner{display:flex;align-items:center;gap:11px;background:var(--mint);border:1px solid var(--line);padding:15px 18px;border-radius:13px;margin:0 0 16px;color:var(--teal-dark)}
.approve-banner>.icon{width:25px;height:25px}.approve-banner>div{flex:1;display:flex;flex-direction:column}.approve-banner strong{font-size:13px}.approve-banner span{font-size:11px}.approve-banner .chip{align-self:center}
.approve-banner.warn{background:var(--warning-bg);color:var(--warning)}.approve-banner.bad{background:var(--bad-bg);color:var(--bad)}.approve-banner.done{background:var(--good-bg);color:var(--good)}
.decision-status{display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:6px 10px 15px;color:var(--teal-dark)}.decision-status .icon{width:32px;height:32px}
.decision-status strong{color:var(--heading);font-size:14px}.decision-status span{font-size:11px;color:var(--muted)}.decision-status.warn{color:var(--warning)}.decision-status.bad{color:var(--bad)}
.stack-links{display:grid;gap:8px;margin-top:12px}.stack-links>a{display:flex;align-items:center;gap:6px;font-weight:600}.stack-links>a>.icon{width:13px}
.approval-line{display:flex;align-items:center;gap:8px;margin:11px 0;font-size:11.5px}.approval-line span{flex:1}.approval-line .icon{color:var(--teal)}.approval-line .icon.wait{color:var(--muted)}
.metadata{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;margin:0;font-size:11.5px}.metadata dt{color:var(--muted)}.metadata dd{margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}
.mobile-actionbar{display:none}

/* ---- social: pictures, captions, scripts ---- */
.post-visual{display:flex;gap:22px;align-items:flex-start}.post-visual>.media{flex:none;width:260px}
.post-side{flex:1;min-width:0;color:var(--muted)}.post-side b{color:var(--heading)}
.slides{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.slides figure{margin:0;flex:0 0 82%;max-width:300px;scroll-snap-align:start}
.slides img,.media img{width:100%;border-radius:11px;border:1px solid var(--line);display:block}
.slides figcaption{font-size:10px;color:var(--muted);margin-top:4px}
.preview-video{width:100%;max-height:640px;background:#000;border-radius:12px;display:block}
.caption-preview{background:var(--surface-subtle);border:1px solid var(--line);padding:15px 17px;border-radius:10px;white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere}
.caption-heading{display:flex;gap:8px;align-items:center;font-weight:700;margin-bottom:8px}
.presenter-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.presenter-task{border:1px solid var(--line);background:var(--surface-subtle);border-radius:12px;padding:14px;display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;min-width:0;color:var(--text)}
.presenter-task div{flex:1;min-width:140px}.presenter-task div strong,.presenter-task div small{display:block}.presenter-task div small{color:var(--muted)}
.presenter-task .btn-like{display:block;width:100%;padding:11px;background:var(--teal-dark);color:#fff;text-align:center;border-radius:8px;font-size:12px;font-weight:700}.presenter-task:hover{text-decoration:none;border-color:var(--line-strong)}
.person-card{display:flex;align-items:center;gap:13px;padding:13px 0;border-bottom:1px solid var(--line)}.person-card:last-child{border:0}.person-card>div:nth-child(2){flex:1;min-width:0}
.person-card strong,.person-card small{display:block}.person-card small{color:var(--muted)}
.script-paragraph{border:1px solid var(--line);border-radius:10px;padding:17px 19px;margin-bottom:12px;background:var(--surface-subtle)}
.script-paragraph small{font-size:9.5px;font-weight:700;color:var(--teal);letter-spacing:.1em;text-transform:uppercase}
.script-paragraph p{font-size:16px;line-height:1.85;font-weight:500;margin:8px 0 0;white-space:pre-wrap;color:var(--heading)}
.progress-row{margin:0 0 15px}.progress-row>div:first-child{display:flex;justify-content:space-between;font-size:11px;margin-bottom:8px}.progress-row>div:first-child span{color:var(--muted)}
.progress{height:9px;background:var(--surface-alt);border-radius:10px;overflow:hidden}.progress span{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#086f78,#11a48f)}
.progress.going span{width:40%;animation:going 1.6s ease-in-out infinite alternate}@keyframes going{from{margin-left:0}to{margin-left:60%}}
.timeline{display:grid;gap:5px}.timeline p{display:flex;gap:13px;align-items:center;padding:10px 0;margin:0;border-bottom:1px solid var(--line);font-size:11.5px;flex-wrap:wrap}
.timeline p strong{color:var(--heading);min-width:112px}.timeline p>span:not(.chip){flex:1;min-width:150px}.timeline p:last-child{border:0}
.steps{display:grid;gap:11px;margin:8px 0 16px;padding:0;list-style:none}.steps>div,.steps>li{display:flex;gap:12px;align-items:center}
.steps b{height:27px;width:27px;display:grid;place-items:center;flex:none;background:var(--mint);border:1px solid var(--line);border-radius:9px;color:var(--teal-dark);font-size:11px}.steps span{font-size:11.5px}
.connection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.connection{display:grid;gap:7px;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface-subtle);align-content:start}
.connection>.icon{color:var(--teal)}.connection b{font-size:12px}.connection small{color:var(--muted)}
.compare{display:grid;grid-template-columns:1fr 1fr;gap:12px}.compare>div{padding:14px;border:1px solid var(--line);border-radius:10px;min-width:0}
.compare>div>small{font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-size:10px}.compare p{margin:10px 0 0}

/* ---- teleprompter ---- */
.teleprompter-view{background:#080a0b;color:#f7f7f7;min-height:100vh;display:flex;flex-direction:column;padding:20px 6vw}

/* ---- signing in ---- */
.auth-page{min-height:100vh;background:radial-gradient(ellipse at 90% 0%,var(--mint),var(--bg) 60%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px 18px}
.auth-brand{margin-bottom:26px}.auth-brand img{width:190px;height:auto;display:block}
.auth-panel{background:var(--surface);width:100%;max-width:420px;border-radius:20px;border:1px solid var(--line);box-shadow:var(--shadow);padding:32px}
.auth-emblem{width:44px;height:44px;border-radius:13px;background:var(--mint);display:grid;place-items:center;color:var(--teal-dark);margin-bottom:19px}
.auth-panel h1{font-size:24px}.auth-panel>p{color:var(--muted)}.auth-fields{margin-top:20px}.auth-help{font-size:11px;color:var(--muted);text-align:center;margin-top:18px}
.auth-footer{font-size:10px;color:var(--muted);margin-top:26px}
.otp{font-size:22px!important;letter-spacing:.4em;text-align:center;font-family:var(--mono)!important}
.qr{display:block;margin:12px auto;background:#fff;padding:10px;border-radius:12px;width:200px;height:200px}

/* ---- confirmation sheet ---- */
.modal-backdrop{position:fixed;inset:0;z-index:100;background:rgba(0,22,26,.58);display:grid;place-items:center;padding:16px}
.modal{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:26px;max-width:440px;width:100%;box-shadow:var(--shadow-strong)}
.modal h2{font-size:19px;margin:10px 0}.modal p{color:var(--text);white-space:pre-wrap}.modal-symbol{color:var(--warning)}.modal-symbol .icon{width:28px;height:28px}.modal .button-row{justify-content:flex-end}

@media(max-width:1100px){:root{--sidebar-w:205px}.main-content{padding:24px 24px 40px}.topbar{padding:0 24px}.detail-layout{grid-template-columns:minmax(0,1.6fr) minmax(230px,.7fr)}.grid-dashboard{grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr)}.connection-grid{grid-template-columns:repeat(2,1fr)}.stats-5{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* tablets: an icon rail */
@media(max-width:850px){
  :root{--sidebar-w:68px}.sidebar .brand{padding:14px 12px;justify-content:center;min-height:76px}.sidebar .brand .logo{display:none}.sidebar .brand .leaf{display:block}
  .sidebar .nav-label,.sidebar .nav-link span,.sidebar .nav-count,.sidebar-foot .profile>span:nth-child(2),.sidebar-foot .signout span{display:none}
  .nav-scroll{padding:4px 9px}.nav-link{justify-content:center;padding:11px;margin:2px 0;min-height:45px;position:relative}.nav-link .icon{width:20px;height:20px}
  .nav-link.has-count:after{content:"";position:absolute;right:9px;top:9px;width:7px;height:7px;border-radius:50%;background:var(--gold)}
  .sidebar-foot{padding:9px}.sidebar-foot .profile,.sidebar-foot .signout{justify-content:center;padding:5px}
  .main-content{padding:23px 20px 35px}.grid-dashboard{grid-template-columns:1fr 1fr}.detail-layout{grid-template-columns:1fr}
  .detail-aside{position:static;display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-aside .panel{margin:0}.detail-aside .panel:first-child{grid-column:1/-1}
  .stats-4,.stats-5{grid-template-columns:repeat(2,1fr)}.data-updated .when{display:none}
}
/* phones: header, bottom tabs, a menu that slides in, one column, tables as cards */
@media(max-width:600px){
  :root{--topbar-h:60px}.app-shell{display:block}
  .sidebar{position:fixed;left:0;top:0;bottom:0;width:272px;height:100dvh;transform:translateX(-110%);transition:transform .2s;z-index:80}
  .app-shell.menu-open .sidebar{transform:translateX(0);box-shadow:30px 0 120px rgba(0,0,0,.4)}
  .app-shell.menu-open .menu-scrim{display:block;position:fixed;inset:0;z-index:70;background:rgba(0,22,26,.45)}
  .sidebar .nav-label,.sidebar .nav-link span,.sidebar .nav-count,.sidebar-foot .profile>span:nth-child(2),.sidebar-foot .signout span{display:block}
  .sidebar .brand{justify-content:flex-start;padding:16px 24px}.sidebar .brand .logo{display:block;width:140px}.sidebar .brand .leaf{display:none}
  .sidebar .nav-link{justify-content:flex-start;padding:10px 13px;min-height:44px}.sidebar .nav-link.has-count:after{display:none}.sidebar .nav-scroll{padding:4px 13px}
  .sidebar-foot .profile,.sidebar-foot .signout{justify-content:flex-start;padding:8px 7px;min-height:44px}
  .workspace{width:100%}.topbar{padding:0 10px 0 6px;height:var(--topbar-h)}
  .mobile-menu{display:grid;width:44px;height:44px}.mobile-brand{display:flex;align-items:center}.mobile-brand img{height:30px;width:auto;display:block}
  .topbar-crumb,.data-updated,.topbar-tools .header-avatar{display:none}.topbar-start{gap:2px}.topbar-tools{gap:0}.icon-button{width:44px;height:44px}
  .main-content{padding:18px 14px 110px}
  .page-heading{margin-bottom:16px;flex-direction:column;gap:9px}.page-heading h1{font-size:23px}.page-heading .eyebrow{font-size:9px}.page-heading p{font-size:11.5px}
  .page-actions{padding:0;justify-content:flex-start;width:100%}.page-actions .btn,.page-actions form{flex:1}.page-actions form .btn{width:100%}
  .stats{gap:8px;margin-bottom:13px}.stats-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-4,.stats-5{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stat{min-height:96px;padding:12px 8px 11px;border-radius:11px;align-items:center;text-align:center;justify-content:flex-end}
  .stat-icon{position:static;display:block;order:-1;margin:0 0 6px}.stat-icon .icon{width:17px;height:17px}.stat-value{font-size:24px}.stat-label{font-size:9.5px;line-height:1.25}.stat-trend{font-size:9.5px}
  .grid-dashboard,.grid-dashboard.grid-equal{display:block}.grid-dashboard>.panel{margin-bottom:13px}
  .panel{margin-bottom:13px;border-radius:13px}.panel-head{padding:15px 15px 11px}.panel-head h2{font-size:14px}.panel-body{padding:2px 15px 16px}
  .mini-grid,.mini-grid.four{gap:6px}.mini-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.mini-grid.four .mini:nth-child(2){border-right:0}
  .mini{padding-right:5px}.mini strong{font-size:16px}.mini>span{font-size:9.5px}
  .task{gap:10px;min-height:64px}.task .chip{display:none}.task-copy strong{font-size:12px}.task-copy small{font-size:10.5px}.media-thumb{width:45px;height:45px}
  .detail-layout{display:block}.detail-aside{display:block}.detail-aside .panel.phone-hide{display:none}
  .approve-banner{padding:11px 13px}.approve-banner .chip{display:none}.approve-banner strong{font-size:12.5px}
  .post-visual{flex-direction:column;align-items:stretch;gap:14px}.post-visual>.media{width:100%;max-width:340px;margin:0 auto}
  .compare{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span2{grid-column:1}
  .presenter-cards{grid-template-columns:1fr}.connection-grid{grid-template-columns:1fr 1fr}
  .btn{min-height:44px}.btn.small{min-height:38px;padding:7px 12px}.check,label.check{min-height:40px}
  input[type=text],input[type=search],input[type=date],input[type=email],input[type=password],input[type=url],input[type=number],
  input[type=datetime-local],input[type=time],input:not([type]),select,textarea{font-size:16px;min-height:46px}
  .search-field{min-width:0;width:100%}
  .bottomnav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:30;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -5px 20px rgba(10,44,48,.05)}
  .bottomnav>a,.bottomnav>button{flex:1;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10px;font-weight:600;border:0;background:transparent;min-width:0;position:relative}
  .bottomnav .icon{width:21px;height:21px}.bottomnav>a:hover,.bottomnav>button:hover{color:var(--teal-dark);text-decoration:none}.bottomnav>a.on{color:var(--teal-dark)}
  .bottomnav .dot{position:absolute;top:8px;left:calc(50% + 6px);min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#e04441;color:#fff;font-size:9px;line-height:16px;font-weight:700}
  .mobile-actionbar{display:flex;align-items:center;gap:10px;position:fixed;bottom:calc(64px + env(safe-area-inset-bottom));left:0;right:0;z-index:25;padding:9px 12px;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -4px 20px rgba(0,45,45,.08)}
  .mobile-actionbar>*{flex:1;margin:0}.mobile-actionbar .btn{width:100%;min-height:48px;padding:10px 8px;font-size:11.5px}
  .main-content:has(.mobile-actionbar){padding-bottom:180px}
  .responsive-table{border:0;background:transparent;overflow:visible}
  .responsive-table table,.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table thead{display:none}
  .responsive-table tr{background:var(--surface-subtle);border:1px solid var(--line);border-radius:10px;margin-bottom:9px;padding:8px 12px}
  .responsive-table tbody tr:hover td{background:transparent}
  .responsive-table td{display:flex;justify-content:space-between;gap:15px;align-items:center;border:0;padding:5px 0;text-align:right;font-size:12px;min-height:30px}
  .responsive-table td:before{content:attr(data-label);color:var(--muted);font-size:10.5px;flex:0 0 38%;text-align:left}
  .responsive-table td[data-label=""]:before{display:none}.responsive-table td[data-label=""]{justify-content:flex-start;text-align:left}
  .responsive-table td>*{max-width:62%}.responsive-table td[data-label=""]>*{max-width:100%}
  .responsive-table td .chip{white-space:normal;text-align:left}.responsive-table td small.cell-sub{text-align:right}
  .table-wrap:not(.responsive-table){overflow-x:auto}
  .modal-backdrop{place-items:end center;padding:0}.modal{border-radius:18px 18px 0 0;max-width:100%;padding:24px 20px calc(30px + env(safe-area-inset-bottom))}
  .modal .button-row{display:grid;grid-template-columns:1fr 1fr}
  .slides figure{flex-basis:86%}
}
@media(max-width:390px){.main-content{padding-left:11px;padding-right:11px}.stat{padding:11px 5px}.stat-label{font-size:9px}.panel-head,.panel-body{padding-left:13px;padding-right:13px}.btn{font-size:11px}.mobile-actionbar .btn{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* ============================================================================================================
   The tracker's own pieces (proposal previews, charts, change kinds), in the new colours.
   ============================================================================================================ */
.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:18px 21px;box-shadow:var(--shadow);min-width:0}
.card+.card{margin-top:16px}.grid>.card+.card{margin-top:0}
.card>h2:first-child,.card>.row:first-child h2{margin-bottom:12px}
.sub{color:var(--muted);margin:0 0 22px;font-size:12px}
.grid{display:grid;gap:16px}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
.kpi .label{color:var(--muted);font-size:11px;font-weight:600}.kpi .value{font-size:26px;font-weight:800;margin:2px 0;color:var(--heading);letter-spacing:-.04em}
.up{color:var(--good)}.down{color:var(--bad)}.flat{color:var(--muted)}
.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.row>form{margin:0}.spacer{flex:1}
.small{font-size:11.5px}.mono{font-family:var(--mono);font-size:12px}
.flash{padding:12px 15px;border-radius:10px;margin-bottom:16px;font-size:12px}.flash.ok{background:var(--good-bg);color:var(--good)}.flash.err{background:var(--bad-bg);color:var(--bad)}
.lint{padding:11px 14px;border-radius:10px;margin:10px 0;font-size:12px;overflow-wrap:anywhere}.lint.block{background:var(--bad-bg);color:var(--text)}.lint.warn{background:var(--warning-bg);color:var(--text)}.lint.ok{background:var(--good-bg);color:var(--text)}
.chip.meta,.chip.faq_schema,.chip.k-question{background:var(--info-bg);color:var(--info)}
.chip.content,.chip.k-carousel{background:var(--sky);color:var(--teal-dark)}
.chip.internal_link,.chip.plain,.chip.win,.chip.k-google{background:var(--good-bg);color:var(--good)}
.chip.new_page,.chip.external,.chip.k-video,.chip.k-clip{background:var(--warning-bg);color:var(--warning)}
.chip.compliance,.chip.loss{background:var(--bad-bg);color:var(--bad)}.chip.advice{background:var(--surface-alt);color:var(--muted)}
.tidy del{text-decoration:line-through}.tidy ins{text-decoration:none;font-weight:600;background:var(--good-bg)}
.serp{font-family:Arial,sans-serif;max-width:620px}.serp .url{color:var(--muted);font-size:12px}
.serp .t{color:#1a0dab;font-size:19px;line-height:1.3}.serp .d{color:var(--muted);font-size:13px}
:root[data-theme='dark'] .serp .t{color:#99c3ff}@media(prefers-color-scheme:dark){:root:not([data-theme='light']) .serp .t{color:#99c3ff}}
.preview{border:1px dashed var(--line-strong);border-radius:10px;padding:12px 16px;background:var(--surface-subtle);overflow-wrap:anywhere}
.preview.before{opacity:.8}.preview.after{border-color:var(--good)}.preview h2{font-size:18px}.preview h3{font-size:15px}.preview img{max-width:100%;height:auto}
.op{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.chart{position:relative;height:260px}.chart.tall{height:320px}
/* the search traffic chart: date range, one measure at a time (its tiles), changes on or off */
.chart-tools{display:flex;align-items:center;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 12px}
.seg{display:inline-flex;gap:2px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--surface-alt);overflow-x:auto;max-width:100%;scrollbar-width:none}
.seg button{border:0;background:none;color:var(--muted);font:inherit;font-size:11px;font-weight:700;padding:7px 11px;min-height:32px;border-radius:7px;white-space:nowrap;cursor:pointer}
.seg button:hover{color:var(--text)}.seg button[aria-pressed=true]{background:var(--surface);color:var(--teal-dark);box-shadow:0 1px 3px rgba(10,44,48,.12)}
.chart-check{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--muted);cursor:pointer;margin:0}.chart-check input{width:16px;height:16px;min-height:0;margin:0;accent-color:var(--teal-dark)}
.metric-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 14px}
.metric-tile{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;font:inherit;color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:11px 14px;cursor:pointer;min-width:0}
.metric-tile:hover{background:var(--surface-subtle)}.metric-tile[aria-pressed=true]{border-color:var(--chart-1);box-shadow:inset 0 3px 0 var(--chart-1);background:var(--surface-subtle)}
.mt-label{font-size:10.5px;font-weight:700;color:var(--muted)}.mt-value{font-size:21px;font-weight:800;letter-spacing:-.03em;color:var(--heading);line-height:1.25}
.mt-delta{font-size:10px;font-weight:600;color:var(--muted)}.mt-delta.up{color:var(--good)}.mt-delta.down{color:var(--bad)}
.chart-note{margin:8px 0 0}.chart-key{display:flex;flex-wrap:wrap;gap:4px 14px;margin:8px 0 0;font-size:10.5px;font-weight:600;color:var(--muted)}.chart-key span{display:inline-flex;align-items:center;gap:6px}.chart-key i{width:9px;height:9px;border-radius:50%;background:var(--c)}
@media(max-width:600px){.metric-tiles{gap:6px}.metric-tile{padding:9px 9px}.mt-value{font-size:16px}.mt-delta{font-size:9px}.seg button{padding:7px 8px}}
details{margin:6px 0}details summary{cursor:pointer;color:var(--teal-dark);font-weight:600}
.empty{text-align:center;color:var(--muted);padding:34px 0}
pre{white-space:pre-wrap;color:var(--muted);background:var(--surface-alt);padding:10px;border-radius:8px;overflow-wrap:anywhere}
pre.log{max-height:220px;overflow:auto;font-size:11px}
.scroll{overflow-x:auto}.ro-note{margin:0 0 16px}
.thumb{width:48px;height:60px;object-fit:cover;border-radius:6px;border:1px solid var(--line);display:block}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.gallery figure{margin:0}.gallery img{width:100%;border-radius:8px;border:1px solid var(--line);display:block}
.caption{white-space:pre-wrap;background:var(--surface-subtle);border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin-top:8px;font-size:13px}
.warn-text{color:var(--warning)}
.caption,.script,.lint{overflow-wrap:anywhere}td{overflow-wrap:break-word}
@media(max-width:1000px){.g2,.g3,.g4{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){
  .card{padding:15px;border-radius:13px}
  .card table:not(.keep){display:block;overflow-x:auto}
  .gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  h1{font-size:23px}.sub{margin-bottom:14px}
}

/* ---- a post as it will look on each platform (always light, as in the apps) ---- */
.pf{max-width:360px;margin:0 auto;background:#fff;color:#0f1419;border:1px solid #dbdbdb;border-radius:16px;overflow:hidden;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:13.5px;line-height:1.45;box-shadow:var(--shadow)}
.pf a{color:#00376b}.pf .tag{color:#00376b}.pf-head{display:flex;align-items:center;gap:9px;padding:10px 12px}
.pf-av{width:34px;height:34px;border-radius:50%;background:#005560 url(/static/brand/leaf-white.png) center/16px no-repeat;flex:none;border:2px solid #fff;box-shadow:0 0 0 2px #e6af2e}
.pf-name{font-weight:600;font-size:13.5px;line-height:1.2}.pf-sub{font-size:11.5px;color:#65676b}
.pf-media{position:relative;background:#eef2f2;display:block}.pf-media img,.pf-media video{width:100%;display:block;object-fit:cover}
.pf-media.r45 img{aspect-ratio:4/5}.pf-media.r916 img,.pf-media.r916 video{aspect-ratio:9/16;max-height:560px;background:#000}
.pf-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.pf-strip::-webkit-scrollbar{display:none}.pf-strip img{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:4/5;object-fit:cover}
.pf-count{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;padding:2px 8px;border-radius:12px}
.pf-dots{display:flex;justify-content:center;gap:4px;padding:8px 0 0}.pf-dots i{width:6px;height:6px;border-radius:50%;background:#c7c7c7}.pf-dots i:first-child{background:#0095f6}
.pf-icons{display:flex;gap:14px;padding:8px 12px 4px;color:#0f1419}.pf-icons svg{width:24px;height:24px}.pf-icons .end{margin-left:auto}
.pf-text{padding:2px 12px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.pf-text b{font-weight:600}
.pf-fb .pf-text{padding:0 12px 10px}.pf-fb-bar{display:flex;justify-content:space-around;border-top:1px solid #e4e6eb;margin:0 12px;padding:6px 0;color:#65676b;font-weight:600;font-size:12.5px}
.pf-yt{background:#000;color:#fff;border-color:#000}.pf-yt .pf-media{background:#000}.pf-yt-over{position:absolute;left:0;right:0;bottom:0;padding:40px 12px 14px;background:linear-gradient(transparent,rgba(0,0,0,.75));color:#fff}
.pf-yt-over b{display:block;font-size:14px;margin-top:6px}.pf-yt .pf-text{color:#ddd;padding:10px 12px 12px}.pf-yt-over .pf-av{width:26px;height:26px;display:inline-block;vertical-align:middle;margin-right:6px}
.pf-g .pf-media img{aspect-ratio:4/3}.pf-cta{display:inline-block;margin:0 12px 14px;padding:8px 18px;border-radius:18px;background:#1a73e8;color:#fff;font-weight:600;font-size:13px}
.pf-wait{position:absolute;inset:auto 10px 10px 10px;background:rgba(0,0,0,.65);color:#fff;font-size:12px;padding:8px 10px;border-radius:10px;text-align:center}
.pf-note{max-width:360px;margin:10px auto 0;text-align:center;font-size:11px;color:var(--muted)}
/* ---- the simple decision ---- */
.decide-main{display:block;width:100%;min-height:56px;font-size:15px;border-radius:12px}
.decide-when{text-align:center;color:var(--muted);font-size:11.5px;margin:8px 0 2px}
.choices{display:grid;gap:8px;margin-top:14px;border-top:1px solid var(--line);padding-top:14px}
.choice{border:1px solid var(--line-strong);border-radius:12px;background:var(--surface);padding:0;margin:0}
.choice>summary{list-style:none;display:flex;align-items:center;gap:10px;padding:12px 14px;min-height:50px;color:var(--text);font-weight:700;font-size:13px}
.choice>summary::-webkit-details-marker{display:none}.choice>summary small{display:block;font-weight:400;color:var(--muted);font-size:11px}
.choice>summary .icon{color:var(--teal-dark)}.choice.no>summary .icon{color:var(--bad)}.choice[open]{border-color:var(--teal)}.choice.no[open]{border-color:var(--bad)}
.choice>form,.choice>div{padding:0 14px 14px}
.check-line{display:flex;gap:8px;align-items:flex-start;font-size:12px;margin:0 0 10px;padding:10px 12px;border-radius:10px}
.check-line.ok{background:var(--good-bg);color:var(--good)}.check-line.warn{background:var(--warning-bg);color:var(--warning)}.check-line.bad{background:var(--bad-bg);color:var(--bad)}
.check-line .icon{flex:none;margin-top:1px}
.radio-row{display:grid;gap:6px;margin:4px 0 10px}.radio-row label{display:flex;gap:8px;align-items:flex-start;margin:0;font-weight:500;font-size:12px;padding:8px 10px;border:1px solid var(--line);border-radius:9px}
.radio-row input{accent-color:var(--bad);margin-top:3px}
.more-details>summary{font-size:14px;font-weight:700;color:var(--heading);padding:6px 0}

/* ---- the SEO pages' own headings and number tiles, in the new look ---- */
.eyebrow-line{font-size:9.5px;letter-spacing:.14em;font-weight:700;color:var(--teal-dark);margin:0 0 5px;text-transform:uppercase}
.eyebrow-line+h1{margin-top:0}
.card.kpi{min-height:112px;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(125deg,var(--sky),var(--surface) 96%)}
.card.kpi:has(.value.up){background:linear-gradient(125deg,var(--mint),var(--surface) 96%)}
.card.kpi:has(.value.down){background:linear-gradient(125deg,var(--rose),var(--surface) 96%)}
.card.kpi:has(.value[style*="warn"]){background:linear-gradient(125deg,var(--amber),var(--surface) 96%)}
.card.kpi .value{font-size:29px}
@media(max-width:1000px){.grid.g4:has(>.kpi),.grid.g3:has(>.kpi){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.card.kpi{min-height:92px;padding:12px}.card.kpi .value{font-size:23px}.card.kpi .label{font-size:10px}}
@media(max-width:600px){
  .responsive-table td{flex-wrap:wrap;column-gap:6px}
  .responsive-table td[data-label=""]{display:block;text-align:left}
  .responsive-table td:empty{display:none}
}

/* ---- posting calendar: a month grid, a list of days on phones ---- */
.cal-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:14px 16px 6px}.cal-bar>a:last-child{justify-self:end}
.cal-title{text-align:center}.cal-title h2{margin:0}.cal-title a{font-size:11px;font-weight:700}
.cal-legend{justify-content:center;padding:0 16px 14px;margin:0}.cal-legend b{color:var(--heading)}
.cal-dot-approved{background:var(--teal)}.cal-dot-waiting{background:transparent;border:1.5px dashed var(--warning)}.cal-dot-posted{background:var(--line-strong)}.cal-dot-attention{background:var(--bad)}.cal-dot-free{background:transparent;border:1.5px solid var(--teal)}
.cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line)}
.cal-dow{padding:8px 9px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);border-bottom:1px solid var(--line);background:var(--surface-subtle)}
.cal-day{min-height:112px;padding:6px 6px 8px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px;min-width:0}
.cal-day:nth-child(7n+7){border-right:0}.cal-day.out{background:var(--surface-subtle)}.cal-day.out .cal-date{color:var(--line-strong)}
.cal-date{font-size:11px;font-weight:700;color:var(--muted);padding:1px 3px}.cal-date small{font-size:9px;color:var(--teal-dark);text-transform:uppercase;letter-spacing:.05em}
.cal-day.today{background:var(--mint)}.cal-day.today .cal-date{color:var(--teal-dark)}
.cal-post{display:flex;align-items:flex-start;gap:4px;min-width:0;padding:3px 6px;border-radius:6px;font-size:10.5px;line-height:1.35;color:var(--heading);border:1px solid transparent}
.cal-post:hover{text-decoration:none;filter:brightness(.97)}.cal-post .icon{width:11px;height:11px;flex:none;margin-top:2px}.cal-post b{flex:none;font-weight:700}
.cal-post span{overflow:hidden;min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cal-approved{background:var(--mint);border-left:3px solid var(--teal)}
.cal-waiting{background:transparent;border:1px dashed var(--warning);color:var(--text)}
.cal-posted{background:var(--surface-alt);color:var(--muted)}
.cal-attention{background:var(--bad-bg);color:var(--bad)}
.cal-free{margin-top:auto;align-self:flex-start;font-size:9.5px;font-weight:600;color:var(--teal-dark);border:1px solid var(--teal);border-radius:100px;padding:0 7px;opacity:.75}
.cal-agenda{display:none;padding:0 14px 8px}
.cal-agenda-day{padding:10px 0;border-top:1px solid var(--line)}.cal-agenda-day h3{font-size:12.5px;margin:0 0 6px}.cal-agenda-day h3 small{font-size:9.5px;color:var(--teal-dark);text-transform:uppercase;letter-spacing:.05em}
.cal-row{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:9px;margin:5px 0;color:var(--heading)}.cal-row:hover{text-decoration:none}
.cal-row>b{flex:none;font-size:12px;min-width:38px}.cal-row>span{display:grid;min-width:0;flex:1}.cal-row strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cal-row small{color:var(--muted);font-size:10.5px}.cal-row>.icon{width:14px;height:14px;color:var(--muted)}
@media(max-width:850px){.cal-day{min-height:96px;padding:5px 4px}.cal-post b{display:none}}
@media(max-width:600px){.cal-grid{display:none}.cal-agenda{display:block}.cal-bar{padding:12px 8px 6px}.cal-bar .btn span{display:none}.cal-legend{gap:10px 14px}.cal-legend span:last-child{display:none}}

/* ---- adverts: the Google search advert, the Meta advert's link bar, budgets and set-up steps ---- */
.gad{max-width:600px;margin:0 auto;background:#fff;color:#202124;border:1px solid #dadce0;border-radius:12px;padding:16px 18px;font-family:Arial,Helvetica,sans-serif}
.gad-top{font-weight:700;font-size:13px;margin-bottom:10px}.gad-site{display:flex;align-items:center;gap:10px}
.gad-fav{width:28px;height:28px;border-radius:50%;background:#005560 url(/static/brand/leaf-white.png) center/12px no-repeat;border:1px solid #dadce0;flex:none}
.gad-name{font-size:14px;line-height:1.3}.gad-url{font-size:12px;color:#4d5156;line-height:1.3}
.gad-title{color:#1a0dab;font-size:20px;line-height:1.3;margin:8px 0 4px}.gad-desc{font-size:14px;line-height:1.58;color:#4d5156}
.ad-lines{max-width:600px;margin:14px auto 0}.ad-lines h3{font-size:12px;margin:12px 0 4px}.ad-lines ol{margin:0;padding-left:22px}
.ad-lines li{padding:3px 0;border-bottom:1px solid var(--line)}.ad-lines li span{display:inline}.ad-lines li small{float:right;font-weight:700}
.pf-more{color:#65676b}.pf-link{display:flex;align-items:center;gap:10px;justify-content:space-between;background:#f0f2f5;padding:10px 12px}
.pf-link>div{display:grid;min-width:0}.pf-link small{font-size:11px;color:#65676b}.pf-link b{font-size:14px;line-height:1.3}.pf-link span{font-size:12.5px;color:#65676b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pf-btn{flex:none;background:#e4e6eb;color:#050505;font-weight:600;font-size:13px;padding:7px 12px;border-radius:6px}
.pf-igcta{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#0095f6;color:#fff;font-weight:600;font-size:13.5px}
.budget-bar{margin:-6px 0 18px}
.budget-table{margin:12px 0}.budget-table .total td{border-top:2px solid var(--line-strong)}
.month-share{margin:10px 0;font-size:11.5px}.month-share .progress{display:flex;margin-top:5px}.month-share .progress span{border-radius:0}
.month-share .progress span:first-child{background:var(--line-strong)}.month-share .progress .this{background:linear-gradient(90deg,#086f78,#11a48f)}
.month-share .progress.over .this{background:var(--bad)}
.kw-list{display:flex;flex-wrap:wrap;gap:6px}.kw{font-family:var(--mono);font-size:11.5px;background:var(--surface-alt);border-radius:6px;padding:3px 8px}
.setup-steps{padding-left:20px;margin:12px 0}.setup-steps>li{margin:0 0 14px;padding-left:4px}
.copy-line{display:flex;align-items:center;gap:10px;justify-content:space-between;background:var(--surface-subtle);border:1px solid var(--line);border-radius:9px;padding:8px 10px;margin:6px 0}
.copy-line>span{display:grid;min-width:0}.copy-line small{color:var(--muted);font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.copy-text{white-space:pre-line;overflow-wrap:anywhere;font-size:12px;max-height:7.5em;overflow:auto}
.setup-done{max-width:420px;margin:14px 0 0}.plain-list{margin:0;padding-left:18px}.plain-list li{margin:0 0 8px}
@media(max-width:600px){.gad-title{font-size:17px}.copy-line{flex-direction:column;align-items:stretch}.copy-line .btn{align-self:flex-start}}
.connection>strong{display:flex;align-items:center;gap:7px}
