/* November 4: shared visual language and a visible, source-backed setup journey.
   V8 marketing tokens: compose.py NAVY #05183e, BLUE #276bf5, LIME #ceff68. */
:root{--studio-night:#05183e;--studio-deep:#276bf5;--studio-lime:#ceff68;--studio-line:#dce5e6;--studio-muted:#526b72}
body:not(.auth-screen)>aside{background:var(--studio-night);color:#e6f0ed;border-right:0;box-shadow:6px 0 28px #142b3508}
body:not(.auth-screen)>aside .brand{color:#fff;font-size:25px;line-height:1.2;letter-spacing:-1px;padding:10px 0 22px;border-bottom:1px solid #ffffff1f}
body:not(.auth-screen)>aside .brand span{color:var(--studio-lime);font-size:8px;letter-spacing:2.5px;margin-top:12px}
body:not(.auth-screen)>aside #nav a,body:not(.auth-screen)>aside #sidebar-settings{color:#c2d2d5;border-radius:12px;font-size:13px}
body:not(.auth-screen)>aside #nav a:hover,body:not(.auth-screen)>aside #sidebar-settings:hover{background:#ffffff0d;color:#fff}
body:not(.auth-screen)>aside #nav a[aria-current=page]{background:var(--studio-lime);color:var(--studio-night);font-weight:750;box-shadow:0 4px 14px #00000012}
body:not(.auth-screen)>aside #sidebar-toggle,body:not(.auth-screen)>aside #return-admin{color:#d1e0e2;background:#ffffff08;border-color:#ffffff25;font-size:11px}
body:not(.auth-screen)>aside #sidebar-settings[aria-current=page]{background:#ffffff12;color:#fff}
body:not(.auth-screen)>aside .aside-note,body:not(.auth-screen)>aside .eyebrow{color:#91aaa9}
body:not(.auth-screen)>main{max-width:1600px;padding:24px clamp(20px,3vw,48px) 56px}
body:not(.auth-screen)>main>header{border-bottom:1px solid var(--studio-line);padding-bottom:20px;min-height:64px;color:var(--studio-muted)}
#context{font-size:12px;line-height:1.7;max-width:60ch}#view>h1{font-size:clamp(28px,3vw,40px);font-weight:750;letter-spacing:-1.3px}#view>.lead{color:var(--studio-muted)}
.studio-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);align-items:center;gap:42px;background:var(--studio-night);border:1px solid #1f4651;border-radius:28px;padding:clamp(28px,4vw,52px);margin:28px 0;position:relative;overflow:hidden;box-shadow:0 16px 40px #142c3510}
.studio-hero-main{position:relative;z-index:1;min-width:0}.studio-hero .eyebrow{color:var(--studio-lime);font-size:10px;letter-spacing:2.6px;margin:0 0 22px}.studio-hero h2{font-size:clamp(32px,3.5vw,52px);line-height:1.04;font-weight:700;letter-spacing:-2px;max-width:15ch;margin:0 0 20px;color:white;text-wrap:balance}.studio-hero .studio-hero-description{color:#c1d2d6;font-size:15px;max-width:44ch;line-height:1.7}.studio-hero .studio-hero-status{color:#e0eccc;font-size:12px;margin:22px 0 12px}.studio-hero .studio-action{background:var(--studio-lime);color:var(--studio-night);border:0;min-height:48px;padding:14px 23px;box-shadow:0 6px 18px #00000012}.studio-action::after,.studio-text-link::after{content:' ↗';margin-left:8px}.studio-hero label{font-size:12px;color:#dbe8e8;max-width:350px}.studio-hero select{color:var(--studio-night)}
.studio-progress-panel{position:relative;border:1px solid #ffffff29;background:#ffffff08;border-radius:22px;padding:28px;min-width:0;color:white}.studio-panel-label{font-size:9px!important;letter-spacing:1.8px;font-weight:700;color:#b7d7c2!important;margin:0 0 18px}.studio-progress-value{font-size:clamp(44px,5vw,68px);font-weight:600;letter-spacing:-3px;line-height:1}.studio-progress-panel>p:not(.studio-panel-label){font-size:13px;margin:10px 0 18px;color:#d4e3e2}.studio-progress-track{height:7px;background:#ffffff21;border-radius:20px;overflow:hidden}.studio-progress-track span{height:100%;display:block;background:var(--studio-lime);border-radius:20px;transition:width .3s ease}.studio-progress-panel .studio-panel-note{font-size:11px!important;color:#a9c4c4!important;margin:20px 0 0!important}
.studio-section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 22px}.studio-section-heading .eyebrow{font-size:9px;letter-spacing:2px;color:#5a7778;margin:0 0 8px}.studio-section-heading h2{font-size:23px;letter-spacing:-.7px;margin:0}.studio-text-link{display:inline-flex;align-items:center;min-height:44px;font-size:12px;font-weight:650;color:#205e68;text-decoration:none}.studio-text-link:hover{text-decoration:underline}
.studio-weekboard{padding:28px;background:#fff;border:1px solid var(--studio-line);border-radius:22px;margin:24px 0}.studio-week-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.studio-day{display:flex;flex-direction:column;min-width:0;gap:10px;padding:18px 15px;background:#f5f8f7;border:1px solid #e4ece8;border-radius:14px;text-decoration:none;color:var(--studio-night);min-height:142px;transition:background .15s,border-color .15s}.studio-day:hover{background:#eef5e5;border-color:#aacb7c;color:var(--studio-night)}.studio-day-label{font-size:10px;text-transform:uppercase;font-weight:750;letter-spacing:1px;color:#58766e}.studio-day strong{font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.studio-day small{font-size:10px;line-height:1.5;margin-top:auto;color:#637e77}.studio-social-note{grid-column:1/-1;margin:0;font-size:14px;line-height:1.7}
.studio-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.studio-summary-card{position:relative;padding:26px!important;border-radius:20px;border-color:var(--studio-line);display:flex;flex-direction:column;align-items:flex-start}.studio-card-number{font-size:11px;color:#587477;border:1px solid #d6e1de;border-radius:8px;padding:6px 9px;margin:0 0 18px}.studio-summary-card h2{font-size:18px}.studio-summary-card p{font-size:13px;color:var(--studio-muted);line-height:1.7;flex:1}.studio-summary-card .studio-text-link{padding:0}.studio-completion{background:#eaf3dd;border-color:#d6e4c3;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 28px}.studio-completion h2{font-size:19px}.studio-completion p{font-size:13px;margin:0;color:#4b6454}.studio-completion .studio-action{white-space:nowrap;background:var(--studio-night);color:white;border:0}
.studio-directory-art{padding:30px 26px;border:1px solid #ffffff26;border-radius:22px;background:#ffffff06;position:relative;min-width:0}.studio-directory-art strong{display:block;color:var(--studio-lime);font-size:34px;line-height:1.15;letter-spacing:-1.2px;margin:22px 0}.studio-directory-art p{font-size:12px;color:#b8cdd1;max-width:27ch;margin:0}.studio-directory{padding:30px!important}.studio-directory>label{max-width:520px;font-size:12px}.studio-directory input{padding:14px 18px;background:#f7faf9;border-color:var(--studio-line)}.studio-account-list{gap:14px;margin-top:24px}.studio-account-list .account-result{display:grid;grid-template-columns:42px minmax(0,1fr) auto;column-gap:14px;align-items:center;position:relative;background:#fff;color:var(--studio-night);border:1px solid var(--studio-line);border-radius:16px;padding:22px;margin:0;min-height:108px;text-align:left}.studio-account-list .account-result:hover{background:#f3f8ed;border-color:#b3c89f}.studio-account-monogram{grid-row:1/3;width:42px;height:42px;display:grid;place-items:center;background:#e9f1e3;border-radius:12px;color:#335f45;font-size:20px;font-weight:650}.studio-account-list .account-result strong{font-size:15px}.studio-account-list .account-result small{grid-column:2;font-size:11px;color:#6b7f80}.studio-account-list .account-badge{font-size:10px;white-space:nowrap;color:#647c79}.studio-portfolio-stats{display:flex;gap:30px;border-left:1px solid #ffffff25;padding:24px 0 24px 36px}.studio-portfolio-stats>div{min-width:0}.studio-portfolio-stats strong{display:block;color:var(--studio-lime);font-size:56px;line-height:1;letter-spacing:-2px}.studio-portfolio-stats span{display:block;color:#c4d5d7;font-size:12px;margin-top:12px}.studio-portfolio{border-radius:22px}.studio-business-row{padding:24px 0}.studio-business-row strong{font-size:18px}
/* The setup map shares the same progress language and puts the next action first. */
.setup-home{max-width:none}.setup-hero{background:var(--studio-night);border:1px solid #234852;border-radius:28px;padding:42px;gap:34px}.setup-hero h2{font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:-2px}.setup-hero .setup-eyebrow{color:var(--studio-lime);letter-spacing:2.5px}.setup-rhythm{border-radius:20px;background:#ffffff08;padding:28px}.setup-rhythm strong{color:var(--studio-lime);font-size:30px}.setup-rhythm p{font-size:12px}.setup-rhythm small{font-size:10px}.setup-flow{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px;margin:24px 0 28px}.setup-flow button{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;text-align:left;padding:13px 10px!important;margin:0;border:1px solid var(--studio-line)!important;background:#fff!important;color:#4a6668!important;border-radius:12px!important}.setup-flow button span{font-size:10px;color:#7c9390}.setup-flow button strong{font-size:11px;line-height:1.3}.setup-flow button[aria-current=step]{background:var(--studio-night)!important;color:#fff!important;border-color:var(--studio-night)!important}.setup-flow button[aria-current=step] span{color:var(--studio-lime)}.setup-flow button[data-saved=true]{background:#eef5e5!important;border-color:#d6e7c7!important}.setup-progress-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:12px;color:#5d7673;margin:22px 0 0}.setup-progress-caption strong{color:var(--studio-night)}
.setup-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}.setup-step{grid-template-columns:38px minmax(0,1fr);align-items:start;gap:16px;padding:26px;border-radius:20px;border-color:var(--studio-line)}.setup-step.is-next{background:#f2f8e8;border-color:#abc67b;box-shadow:0 5px 20px #284d2110}.setup-step-actions{grid-column:2;min-width:0;flex-direction:row;flex-wrap:wrap;margin-top:3px}.setup-step-actions button{margin:0;min-height:44px}.setup-number{background:#edf3f2;color:#4f7471;border-radius:11px}.setup-number.is-done{background:#dcefc7}.setup-step h3{font-size:17px;line-height:1.3;letter-spacing:-.4px}.setup-step-copy p{font-size:12px;color:#637c75}.setup-step-title{gap:8px}.setup-pill{font-size:9px;letter-spacing:.2px}.setup-support{border-top:1px solid var(--studio-line);padding:26px 0;margin-top:30px}
/* Page identity is separated from the tab bar and operational controls. */
.social-page-heading{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);gap:12px 40px;align-items:end;padding:34px 38px;margin:24px 0 20px;border:1px solid #234852;border-radius:25px;background:var(--studio-night);color:white}.social-page-heading .eyebrow{grid-column:1/-1;color:var(--studio-lime);font-size:10px;letter-spacing:2.2px;margin:0}.social-page-heading h1{margin:0;color:white;font-size:clamp(32px,4vw,50px);line-height:1.06;letter-spacing:-1.8px;max-width:16ch;text-wrap:balance}.social-page-heading .lead{margin:0;color:#c1d5d8;font-size:13px;line-height:1.75;max-width:40ch}.social-tabs{background:#eaf0ee;border:0;border-radius:13px;padding:6px;display:inline-flex;gap:4px;margin:0 0 24px;max-width:100%}.social-tabs a{border-radius:9px;font-size:12px;min-height:42px;padding:11px 20px;color:#5c7475}.social-tabs a[aria-current=page]{background:#fff;color:var(--studio-night);box-shadow:0 2px 6px #1832390a}.social-context{background:#eef5e7;border-color:#dce7cf;border-radius:16px;padding:18px 22px;font-size:13px}.social-context strong{color:#244d3a}.social-context small{color:#607463;font-size:11px}.social-network-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.social-network{border-color:var(--studio-line);border-radius:18px;padding:24px;box-shadow:none;gap:12px}.social-network-icon{background:#e8efec;color:#355b58;border-radius:12px;width:45px;height:45px}.social-network:has(.connected){border-color:#a9c990;background:#fcfef9}.social-network:has(.connected) .social-network-icon{background:#dff0cb;color:#34552d}.social-network:has(.connected) .social-connection-state{background:#eaf4de;border-radius:20px;padding:3px 8px;font-size:10px;letter-spacing:.2px}.social-network h2{font-size:18px}.social-network button{margin-top:auto}.social-network-choice{font-size:11px}.social-network small{font-size:11px;color:#6d827e}
.social-stat-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}.social-stat-strip>div{padding:22px 24px;background:#fff;border:1px solid var(--studio-line);border-radius:18px}.social-stat-strip span{display:block;color:#647e7b;font-size:11px}.social-stat-strip strong{font-size:38px;letter-spacing:-1.5px;color:var(--studio-night);line-height:1.4;font-weight:650}.social-event{border-left:4px solid #bacdbd!important;border-radius:16px;margin:14px 0;padding:26px 28px!important}.social-event[data-state=approved]{border-left-color:#719c3b!important;background:#fcfef9}.social-event[data-state=scheduled]{border-left-color:#2673ff!important}.social-event h2{font-size:18px}.social-event p{font-size:12px}.social-event .social-event-state{display:inline-flex;padding:4px 10px;border:1px solid #d8e3df;background:#f3f7f5;border-radius:24px;color:#52726b;font-size:10px;letter-spacing:.3px}.social-metric-grid .card{background:#fff;border-color:var(--studio-line);border-radius:18px;padding:26px}.social-metric-grid .card h2{font-size:12px;color:#5e7877;font-weight:500}.social-metric{color:var(--studio-night);font-size:50px;line-height:1.2}.social-workspace>.card{border-color:var(--studio-line);border-radius:18px;margin:18px 0}.social-workspace>.card>p{font-size:13px;max-width:80ch}.social-toolbar{justify-content:flex-start}.social-toolbar button:not(.secondary){margin-left:auto}.social-toolbar small{font-size:11px}
/* Guided entry feels like the same product, including on a narrow screen. */
.guided-setup{border:0;border-radius:28px;box-shadow:0 32px 100px #0c26374d}.guided-setup .guide-rail{background:var(--studio-night);padding:40px 30px}.guide-brand{font-size:29px}.guide-brand>span{color:var(--studio-lime)}.guide-rail-title{font-size:34px;letter-spacing:-1.3px;line-height:1.15;margin-top:58px}.guide-rail-copy{font-size:13px;color:#b7cece}.guided-setup .guide-main{padding:28px 48px 20px}.guide-meter{gap:7px;margin-top:24px}.guide-meter span{height:5px;background:#e8efec}.guide-meter span.active{background:#597c55}.guide-body{padding-top:36px}.guided-setup h1{font-size:clamp(28px,3vw,40px);font-weight:700;letter-spacing:-1.6px}.guided-setup .guide-choice{border-radius:16px;border-color:#dce6e1;padding:24px 20px}.guided-setup .guide-choice:has(input:checked){background:#f0f7e5;border-color:#a5c37e;box-shadow:0 0 0 1px #a5c37e}.guided-setup .guide-primary{background:var(--studio-night);border-radius:12px;padding:13px 23px}.guided-setup .guide-primary:hover{background:#25525a}.guide-footer{padding-top:20px}.guide-kicker{color:#4a6e51;letter-spacing:2px}.guide-field input{background:#fbfcfa!important}.guide-summary{background:#f7faf3;border-color:#dce6d3;padding:8px 22px}
.auth-screen .auth-brand{color:var(--studio-night)}.auth-screen .auth-card{border-radius:24px;box-shadow:0 20px 60px #173c3310;border-color:#dce5df}.auth-screen main{position:relative}.auth-screen .auth-eyebrow{color:#527367!important}
@media(max-width:1100px){.studio-hero{gap:26px;padding:32px}.studio-hero h2{font-size:40px}.setup-flow{grid-template-columns:repeat(4,minmax(0,1fr))}.setup-flow button{flex-direction:row;align-items:center;gap:8px}.studio-summary-card{padding:22px!important}.studio-account-list .account-result{grid-template-columns:36px minmax(0,1fr)}.studio-account-list .account-badge{grid-column:2}.studio-account-monogram{width:36px;height:36px}.studio-directory-art strong{font-size:30px}}
@media(max-width:850px){.studio-hero{grid-template-columns:1fr;gap:24px}.studio-hero h2{max-width:20ch}.studio-progress-panel{padding:22px;display:grid;grid-template-columns:auto 1fr;gap:6px 18px;align-items:center}.studio-progress-panel .studio-panel-label{grid-column:1/-1;margin:0 0 8px}.studio-progress-value{grid-row:2/4;font-size:46px}.studio-progress-panel>p:not(.studio-panel-label){margin:0}.studio-progress-panel .studio-panel-note{grid-column:1/-1;margin-top:12px!important}.studio-directory-art{display:none}.studio-portfolio-stats{border-left:0;border-top:1px solid #ffffff25;padding:20px 0 0}.studio-portfolio-stats strong{font-size:40px}.studio-summary-grid{grid-template-columns:1fr}.studio-summary-card{display:grid;grid-template-columns:34px 1fr;gap:0 16px}.studio-summary-card .studio-card-number{grid-row:1/4;align-self:start;text-align:center;padding:6px 0}.studio-summary-card p{grid-column:2}.studio-summary-card .studio-text-link{grid-column:2}.studio-week-days{gap:7px}.studio-day{padding:14px 10px}.social-page-heading{grid-template-columns:1fr;gap:16px;padding:30px}.social-page-heading .lead{max-width:60ch}.setup-hero{padding:30px}.setup-steps{grid-template-columns:1fr}.setup-step{padding:24px}.studio-account-list{grid-template-columns:1fr}.guided-setup .guide-main{padding:24px 30px 18px}}
@media(max-width:600px){body:not(.auth-screen)>main{padding:16px 14px 36px}body:not(.auth-screen)>main>header{gap:12px;align-items:center}#context{font-size:10px;line-height:1.5}#account-controls{gap:4px}#switch-account{padding:9px 11px;font-size:10px;min-height:40px}#view>h1{font-size:28px;margin-top:24px}.studio-hero{padding:26px 22px;border-radius:22px;margin:22px 0}.studio-hero h2{font-size:34px;letter-spacing:-1.4px;max-width:15ch}.studio-hero .eyebrow{font-size:8px;margin-bottom:17px}.studio-hero .studio-hero-description{font-size:12px}.studio-hero .studio-hero-status{font-size:11px}.studio-progress-panel{padding:20px}.studio-progress-value{font-size:38px}.studio-progress-panel>p:not(.studio-panel-label){font-size:11px}.studio-progress-panel .studio-panel-note{font-size:10px!important}.studio-weekboard{padding:22px 17px;border-radius:18px}.studio-section-heading{align-items:flex-start;flex-direction:column;gap:5px;margin-bottom:16px}.studio-section-heading h2{font-size:20px}.studio-week-days{grid-template-columns:1fr}.studio-day{display:grid;grid-template-columns:35px 1fr;min-height:0;gap:4px 12px;padding:14px}.studio-day-label{grid-row:1/3;align-self:center}.studio-day strong{font-size:12px;-webkit-line-clamp:2}.studio-day small{font-size:10px}.studio-summary-card h2{font-size:17px}.studio-summary-card p{font-size:12px}.studio-completion{flex-direction:column;align-items:flex-start;padding:24px}.studio-completion .studio-action{width:100%;text-align:center;font-size:12px}.studio-directory{padding:22px!important}.studio-account-list .account-result{padding:18px;min-height:95px}.studio-account-list .account-result strong{font-size:13px}.studio-portfolio-stats{gap:28px}.studio-business-row{gap:14px}.studio-business-row strong{font-size:16px}.setup-hero{padding:28px 22px!important;border-radius:22px}.setup-hero h2{font-size:36px;letter-spacing:-1.5px}.setup-rhythm{padding:20px}.setup-rhythm strong{font-size:24px}.setup-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:18px 0}.setup-flow button{padding:12px!important}.setup-flow button strong{font-size:11px}.setup-step{padding:22px 18px;gap:12px;grid-template-columns:30px minmax(0,1fr)}.setup-number{height:30px;width:30px}.setup-step h3{font-size:16px}.setup-step-actions{flex-direction:column}.setup-progress-caption{font-size:10px;align-items:flex-start}.social-page-heading{padding:28px 22px;border-radius:22px;margin-top:22px}.social-page-heading h1{font-size:34px;letter-spacing:-1.4px}.social-page-heading .lead{font-size:12px}.social-tabs{display:flex;width:100%;gap:2px}.social-tabs a{flex:1;text-align:center;font-size:10px;padding:12px 5px}.social-context{padding:18px;font-size:12px;gap:9px}.social-context small{font-size:10px}.social-network-grid{grid-template-columns:1fr}.social-network{padding:22px}.social-stat-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.social-stat-strip>div{padding:14px 10px;border-radius:12px}.social-stat-strip span{font-size:9px;line-height:1.5}.social-stat-strip strong{font-size:28px}.social-event{padding:22px 18px!important}.social-toolbar{gap:8px}.social-toolbar button:not(.secondary){margin-left:0}.social-toolbar button{font-size:11px}.guided-setup{border-radius:0}.guided-setup .guide-rail{padding:20px 24px;background:var(--studio-night)}.guide-brand{font-size:23px;color:white}.guide-brand>span{font-size:7px}.guided-setup .guide-main{padding:18px 24px max(18px,env(safe-area-inset-bottom))}.guide-meter{margin-top:14px}.guide-body{padding-top:26px}.guided-setup h1{font-size:30px;letter-spacing:-1px}.guided-setup .guide-choice{padding:20px 16px}.guide-footer{gap:12px}.guided-setup .guide-primary{padding:13px 18px}.guide-save-status{font-size:10px}}
@media(prefers-reduced-motion:no-preference){.studio-hero,.studio-weekboard,.setup-hero,.social-page-heading{animation:studio-arrive .28s ease-out}@keyframes studio-arrive{from{transform:translateY(6px)}to{transform:none}}}
@media(prefers-reduced-motion:reduce){.studio-progress-track span,.studio-day{transition:none}.studio-hero,.studio-weekboard,.setup-hero,.social-page-heading{animation:none}}

/* Shared dashboard reporting; use the approved Studio tokens, not a second palette. */
.dashboard-trends{--brand:var(--studio-deep);--border:var(--studio-line);--muted:var(--studio-muted)}
.trend-header{background:var(--studio-night);border-radius:24px;padding:28px 30px;margin-bottom:22px}
.trend-header h2{color:var(--studio-lime);font-size:28px;letter-spacing:-.7px}
.trend-header .trend-intro{color:#e6f0ed;margin:0;max-width:75ch;line-height:1.7}
.dashboard-trends .trend-card{border-color:var(--studio-line);border-radius:20px;background:white;box-shadow:0 6px 22px #142b3505}
.dashboard-trends .trend-legend button[aria-pressed=true]{background:var(--studio-lime);color:var(--studio-night);border-color:var(--studio-deep)}
.dashboard-trends .trend-controls select,.dashboard-trends .trend-scope select{border-color:var(--studio-line);border-radius:10px;color:var(--studio-night);background:#fff}
.dashboard-trends .trend-custom button,.trend-businesses button{background:var(--studio-deep);color:white}
.dashboard-kpis .kpi,.dashboard-charts .card{border-color:var(--studio-line);border-radius:20px;background:white}
.dashboard-charts{--brand-soft:var(--studio-lime)}
.dashboard-kpis .kpi strong,.dashboard-kpis .kpi .number{color:var(--studio-night)}
@media(max-width:550px){.trend-header{padding:22px}.trend-header h2{font-size:24px}}

/* Retained-media timing editor. */
.video-timing-editor { margin-block: 20px; border: 1px solid #cad9dc; border-radius: 12px; padding: 16px; }
.video-timing-editor summary { cursor: pointer; font-weight: 700; }
.video-timing-editor fieldset { min-width: 0; margin: 12px 0; border: 1px solid #cad9dc; padding: 12px; border-radius: 8px; }
.video-timing-editor label { display: block; margin: 10px 0; }
.video-timing-editor input:not([type=checkbox]), .video-timing-editor textarea, .video-timing-editor select { width: 100%; max-width: 100%; box-sizing: border-box; }
.video-timing-editor input[type=checkbox] { margin-right: 8px; }
.video-timing-editor button { margin: 4px; white-space: normal; }
.video-timing-editor .timing-cues { max-height: 560px; overflow: auto; }

.socials{background:white;color:var(--studio-night);border:1px solid var(--studio-line);border-radius:20px;padding:clamp(16px,3vw,28px);margin:16px 0}
.social-heading h2,.social-location h4,.social-rules h4{margin:0}.social-heading p,.social-row small,.social-location small{color:var(--studio-muted)}
.social-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,285px),1fr));gap:0 24px}
.social-grid .social-row{display:flex;align-items:center;gap:12px;text-align:left;background:white;color:var(--studio-night);border:0;border-top:1px solid var(--studio-line);border-radius:0;padding:12px 2px;min-width:0;width:100%}
.social-row:hover,.social-row:focus-visible{background:var(--studio-lime)}.social-icon{display:grid;place-items:center;flex:0 0 34px;height:34px;background:var(--studio-night);color:var(--studio-lime);font-size:16px;font-weight:750;border-radius:9px}
.social-row-name,.social-row-status{display:grid;gap:4px}.social-row-name{flex:1}.social-row small,.social-badge{font-size:.78rem}
.social-badge{display:inline-flex;gap:6px;align-items:center}.social-badge i{width:9px;height:9px;border-radius:50%;background:#717780}
.social-badge[data-state=connected] i{background:#13774b}.social-badge[data-state=partial] i{background:#b47719}.social-badge[data-state=reconnect] i{background:#ba4836}.social-badge[data-state=disconnected] i{background:white;box-shadow:inset 0 0 0 2px #666}.social-badge[data-state=unavailable] i{border-radius:2px}
.social-location,.social-rules{border-top:1px solid var(--studio-line);padding:14px 0}.social-location small{display:block}.social-location button{margin:8px 8px 0 0}.social-rules summary{cursor:pointer}.social-rules h4{margin-top:14px}.social-rules p,.social-location p{margin:5px 0}.social-notice{color:var(--studio-muted)}

.social-row .social-icon{background:transparent;color:var(--studio-night)}.social-icon svg,.social-icon img{width:28px;height:28px;object-fit:contain}.social-row-status{justify-items:end}.socials .social-row{cursor:pointer}

#view:has(> .socials[data-channel-detail=open]) > :not(.socials[data-channel-detail=open]){display:none}
.socials .social-back{background:transparent;border:0;color:var(--studio-deep);text-decoration:underline;padding:4px 0;margin-bottom:12px}
.channel-location{display:grid;grid-template-columns:minmax(9em,1fr) minmax(9em,1fr) auto;align-items:center;gap:12px}
.channel-location h3{margin:.15rem 0}.channel-location-actions button:disabled{opacity:1;background:var(--studio-line);color:var(--studio-muted);cursor:default}
@media(max-width:700px){.channel-location{grid-template-columns:1fr 1fr}.channel-location-actions{grid-column:1/-1}}

.channel-breadcrumb,.channel-tabs,.channel-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.channel-breadcrumb button,.channel-breadcrumb span{font-size:.85rem}.channel-breadcrumb button{background:transparent;color:var(--studio-deep);border:0;padding:4px 0}
.channel-counts{display:flex;flex-wrap:wrap;gap:1px;padding:1px;background:var(--studio-line);border-radius:12px;overflow:hidden}
.channel-counts div{flex:1 1 95px;background:white;padding:10px 12px}.channel-counts dt{font-size:.78rem;color:var(--studio-muted)}.channel-counts dd{margin:2px 0 0;font-size:1.4rem;font-weight:700}
.channel-tabs button[aria-pressed=true]{background:var(--studio-lime);color:var(--studio-night)}.channel-toolbar{margin:16px 0}.channel-toolbar input,.channel-toolbar select{max-width:100%;min-width:0}
.channel-table-row,.channel-table-head{display:grid;grid-template-columns:1.2fr 1.2fr 1fr 1fr;gap:12px;align-items:start}.channel-table-head{font-size:.8rem;padding:8px 0;color:var(--studio-muted)}.channel-table-row>div{overflow-wrap:anywhere}.channel-table-row strong{display:block}.channel-table-row .mobile-column-label{display:none}
@media(max-width:740px){.channel-table-head{display:none}.channel-table-row{grid-template-columns:1fr 1fr}.channel-table-row .mobile-column-label{display:block}.channel-table-row button{width:100%;margin:4px 0}.channel-counts div{flex:1 1 68px}.channel-toolbar input,.channel-toolbar select{width:100%}}

.planner-scheduling-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 28px;padding:24px;margin:8px 0 24px;border:1px solid #dbe5db;border-radius:18px;background:#f5faf3}
.planner-ai-heading{display:flex;align-items:center;gap:24px;justify-content:space-between}.planner-ai-heading h2{margin:8px 0;font-size:1.4rem}.planner-ai-intro p{margin:4px 0;max-width:720px;color:#566254}
.planner-ai-toggle{border-radius:30px;min-width:76px;background:#e2e7df;color:#30412d}.planner-ai-toggle[aria-checked=true]{background:#224f34;color:white}
.planner-range{align-self:center;display:grid;gap:8px;font-weight:600}.planner-range select{min-width:140px}.planner-scheduling-controls>p,.planner-scheduling-controls>details{grid-column:1/-1;margin:0}.planner-scheduling-status{font-weight:600}
.planner-manual-frame{position:relative;min-height:280px}.planner-manual-frame.ai-enabled{max-height:580px;overflow:hidden;border-radius:18px;background:#111b16}.planner-manual-frame.ai-enabled .planner-manual{opacity:.12;filter:grayscale(1);pointer-events:none;user-select:none}
.planner-ai-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:36px;text-align:center;color:#fff;background:rgba(8,18,12,.82)}.planner-ai-cover[hidden]{display:none}.planner-ai-cover p{max-width:460px;color:#d6e1d8}.planner-ai-symbol{font-size:36px;color:#aee1ad}.planner-ai-cover button{background:#d5f0b9;color:#203923}
.media-library{background:white;border:1px solid var(--studio-line);border-radius:20px;padding:clamp(12px,3vw,28px)}.media-library .media-folder-heading{display:block}.media-actions{display:flex;gap:8px;flex-wrap:wrap}.upload-link-details input{width:100%}.media-library form{padding:15px 0}.media-library [hidden]{display:none}


/* Focused publishing calendar, sharing the Studio palette and main navigation. */
.business-calendar{max-width:100%;min-width:0;color:var(--studio-night)}
.calendar-heading{display:flex;align-items:baseline;gap:16px;margin-bottom:18px}.calendar-heading h1{margin:0;font-size:30px;letter-spacing:-1px}.calendar-heading span{font-size:13px}
.calendar-controls{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.calendar-controls label{display:grid;gap:5px;margin:0;min-width:140px;flex:1;font-size:12px;color:var(--studio-muted)}.calendar-controls select{width:100%;min-width:0;margin:0;padding:9px 12px;font-size:13px;background:white;border:1px solid var(--studio-line);border-radius:8px}
.calendar-surface{border:1px solid var(--studio-line);border-radius:14px;background:white;overflow:hidden}
.calendar-toolbar,.calendar-date-controls,.calendar-view-controls{display:flex;align-items:center;gap:8px}.calendar-toolbar{justify-content:space-between;flex-wrap:wrap;padding:16px 18px 10px}.calendar-toolbar button{margin:0;padding:7px 11px;border-radius:7px;font-size:13px;line-height:1.4;min-height:34px}.calendar-date-controls h2{font-size:18px;white-space:nowrap;margin:0 10px 0 3px;letter-spacing:-.3px}.calendar-date-controls>button:nth-child(-n+2){font-size:21px;padding:2px 10px}.calendar-view-switch{display:flex;border:1px solid var(--studio-line);border-radius:8px;padding:2px;background:#f4f6f5}.calendar-view-switch button{border:0;background:transparent;color:var(--studio-muted)}.calendar-view-switch button[aria-pressed=true]{background:white;color:var(--studio-deep);box-shadow:0 1px 4px #183b2f20;font-weight:700}.calendar-ai{background:var(--studio-deep);color:white}.calendar-info{display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px;padding:0 18px 12px;color:var(--studio-muted);font-size:11px}.calendar-empty{font-size:13px;margin:0;padding:9px 18px;border-top:1px solid var(--studio-line);background:#f7faf4;color:var(--studio-muted)}
.calendar-scroll{overflow:auto;max-width:100%;overscroll-behavior-inline:contain}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--studio-line);gap:1px;border-top:1px solid var(--studio-line)}.calendar-week{min-width:980px;min-height:510px}.calendar-month{min-width:770px}.calendar-weekday{font-size:11px;letter-spacing:.04em;text-align:center;padding:9px;background:#f6f8f7;color:var(--studio-muted)}
.calendar-day{min-width:0;min-height:130px;background:white;cursor:pointer}.calendar-week .calendar-day{min-height:480px}.calendar-day.outside-month{background:#f7f9f8}.calendar-day.is-today{background:#fbfdf6}.calendar-day-trigger{display:flex;align-items:center;gap:7px;width:100%;border:0;border-radius:0;padding:10px;text-align:left;background:transparent;color:var(--studio-night);font-weight:600;min-height:43px;margin:0}.calendar-week .calendar-day-trigger{padding:13px 10px;border-bottom:1px solid var(--studio-line);margin-bottom:8px}.calendar-day-trigger:hover,.calendar-day-trigger[aria-pressed=true]{background:#ecf3e6}.calendar-day-name{font-size:12px;color:var(--studio-muted);font-weight:500}.calendar-day-number{display:grid;place-items:center;min-width:27px;height:27px;font-size:14px;border-radius:50%}.is-today .calendar-day-number{background:var(--studio-deep);color:white}.calendar-day-add{margin-left:auto;font-size:17px;color:#6b7c73}.calendar-day-posts{display:grid;gap:8px;padding:0 7px 10px}.calendar-post{min-width:0;border:1px solid #dfe6e2;border-radius:8px;background:white;box-shadow:0 2px 5px #142b3505;overflow:hidden;padding:9px;cursor:default}.calendar-post-top{display:flex;align-items:center;justify-content:space-between;gap:3px}.calendar-post-status{font-size:10px;font-weight:600;color:#62716a}.calendar-post[data-state=published] .calendar-post-status{color:#247a53}.calendar-post[data-state=scheduled] .calendar-post-status{color:#365d9e}.calendar-post[data-state=pending_approval] .calendar-post-status{color:#966618}.calendar-post[data-state=needs_reconciliation] .calendar-post-status,.calendar-post[data-state=partial_failure] .calendar-post-status{color:#b04436}.calendar-post-action{border:0;background:transparent;color:#6b7c73;padding:0 3px;margin:0;font-size:19px;line-height:1;min-width:24px;min-height:24px}.calendar-post-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:5px 0 7px}.calendar-network{display:inline-flex;width:16px;height:16px}.calendar-network svg{width:16px;height:16px}.calendar-post-meta time{font-size:11px;color:var(--studio-muted);margin-left:auto}.calendar-post-copy{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;border:0;background:transparent;padding:0;margin:0;width:100%;text-align:left;font-size:12px;font-weight:400;line-height:1.5;color:var(--studio-night);overflow-wrap:anywhere}.calendar-post-copy:hover{color:var(--studio-deep);background:transparent;text-decoration:underline}.calendar-post-location{display:block;font-size:10px;color:var(--studio-muted);margin:6px 0 0;overflow-wrap:anywhere}.calendar-post-media{display:grid;place-items:center;width:100%;aspect-ratio:4/3;padding:0;border:0;border-radius:5px;background:#edf2ef;color:var(--studio-deep);font-size:12px;margin:9px 0 0;overflow:hidden}.calendar-post-media img{width:100%;height:100%;object-fit:contain}.calendar-month .calendar-post{padding:7px}.calendar-month .calendar-post-media{aspect-ratio:16/9}.calendar-month .calendar-post-copy{-webkit-line-clamp:2}
.calendar-list{padding:0 18px}.calendar-list .calendar-day{min-height:0;display:grid;grid-template-columns:120px minmax(0,1fr);border-top:1px solid var(--studio-line);padding:10px 0}.calendar-list .calendar-day-trigger{align-self:start;justify-content:flex-start;border-radius:8px}.calendar-list .calendar-day-posts{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));padding:0 0 0 10px}.calendar-list .calendar-day:not(:has(.calendar-post)){padding:4px 0}.calendar-unscheduled{border-top:1px solid var(--studio-line);padding:12px 18px;font-size:13px}.calendar-unscheduled summary{cursor:pointer}.calendar-unscheduled-posts{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-top:12px}
.calendar-day-menu{position:fixed;inset:auto;margin:0;padding:8px;border:1px solid var(--studio-line);border-radius:10px;min-width:245px;max-width:calc(100vw - 16px);box-shadow:0 12px 35px #142b3528;background:white;color:var(--studio-night)}.calendar-day-menu strong{display:block;padding:8px;font-size:11px;color:var(--studio-muted)}.calendar-day-menu button{display:block;width:100%;margin:0;border:0;background:white;text-align:left;padding:11px;border-radius:6px;font-size:13px;color:var(--studio-night)}.calendar-day-menu button:hover,.calendar-day-menu button:focus-visible{background:var(--studio-lime)}
.calendar-dialog{box-sizing:border-box;width:min(820px,calc(100vw - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--studio-line);border-radius:16px;padding:24px;color:var(--studio-night);background:white;box-shadow:0 24px 90px #142b3530}.calendar-dialog::backdrop{background:#132b3555}.calendar-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-dialog-heading h2{font-size:22px;margin:0}.calendar-dialog-heading button{margin:0}.calendar-chosen-date{font-weight:600;color:var(--studio-deep)}.calendar-dialog label{display:block;margin:12px 0}.calendar-dialog input:not([type=checkbox]),.calendar-dialog textarea,.calendar-dialog select{width:100%;max-width:100%;box-sizing:border-box}.calendar-dialog textarea{min-height:100px}.calendar-dialog .card{margin:16px 0;padding:18px}.calendar-dialog .social-variant{display:block}.calendar-dialog .social-variant>label{display:block;width:100%;margin:10px 0}.calendar-dialog .social-variant>label:first-child{display:flex;gap:10px;align-items:center}.calendar-dialog .social-variant input[type=checkbox]{width:auto}.calendar-dialog form fieldset{min-width:0}.calendar-dialog button{white-space:normal}.calendar-dialog .social-workspace>header,.calendar-dialog .social-tabs{display:none}
@media(max-width:750px){.calendar-toolbar{gap:12px;padding:12px}.calendar-date-controls h2{font-size:16px;margin-right:4px}.calendar-view-controls{width:100%}.calendar-view-switch{margin-right:auto}.calendar-info{padding:0 12px 10px}.calendar-heading{margin-bottom:14px;flex-wrap:wrap;gap:5px 12px}.calendar-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calendar-controls label{min-width:0}.calendar-list{padding:0 8px}.calendar-list .calendar-day{grid-template-columns:85px minmax(0,1fr)}.calendar-list .calendar-day-posts{grid-template-columns:1fr}.calendar-dialog{padding:16px}.calendar-dialog-heading h2{font-size:19px}.calendar-dialog .card{padding:12px}.planner-scheduling-controls{grid-template-columns:1fr;padding:18px;gap:14px}.planner-ai-heading{gap:12px}.planner-ai-heading h2{font-size:1.15rem}.planner-range{width:100%}.planner-ai-cover{padding:20px}}

.calendar-scroll:has(.calendar-week){max-height:70dvh;min-height:360px}.calendar-week .calendar-day-trigger{position:sticky;top:0;z-index:1;background:#fff}.calendar-week .is-today .calendar-day-trigger{background:#f1f7e9}.calendar-week .calendar-day-trigger[aria-pressed=true]{background:#ecf3e6}

/* Calendar composition shares the existing draft and review workflow. */
.calendar-compose-dialog{width:min(1140px,calc(100vw - 32px))}.calendar-dialog .post-composer{padding:0;border:0;box-shadow:none}.post-composer-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:start}.post-composer-layout form{min-width:0}.post-composer-layout fieldset{border:1px solid var(--studio-line);border-radius:12px;padding:12px 16px}.post-composer-layout legend{font-weight:650;padding:0 6px}.post-composer-layout textarea{min-height:150px;resize:vertical}.post-composer-layout details{margin:12px 0}.post-composer-layout summary{cursor:pointer;color:var(--studio-deep);font-size:13px}.post-composer-layout .social-variant{border:0;padding:0;margin:0}.post-live-preview{position:sticky;top:0;background:#f3f6f5;border:1px solid var(--studio-line);border-radius:16px;padding:24px;min-width:0}.post-live-preview h3{margin:0 0 20px;font-size:16px}.post-preview-card{background:white;border:1px solid #dce4e1;border-radius:12px;overflow:hidden;margin-bottom:16px;box-shadow:0 4px 16px #183e3010}.post-preview-identity{display:flex;gap:12px;align-items:center;padding:20px 20px 0}.post-preview-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--studio-deep);color:white;font-weight:700;flex-shrink:0}.post-preview-identity strong,.post-preview-identity small{display:block;overflow-wrap:anywhere}.post-preview-identity small{color:#65766e;margin-top:4px;font-size:12px}.post-preview-body{padding:20px;margin:0;min-height:180px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.post-preview-body.is-placeholder{color:#75847d}.post-composer-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.post-composer-actions button{margin:0}.post-composer button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:750px){.post-composer-layout{grid-template-columns:1fr;gap:20px}.post-live-preview{position:static;padding:16px}.calendar-compose-dialog{width:calc(100vw - 16px)}}
.post-preview-card .post-preview-identity{justify-content:flex-start;border-bottom:0}.post-preview-identity>div{min-width:0}

.calendar-planner-dialog{width:min(940px,calc(100vw - 32px))}.calendar-plan-summary{background:#f4f7f1;border:1px solid var(--studio-line);padding:16px;border-radius:12px;margin:18px 0}.calendar-plan-summary h3:first-child{margin-top:0}.calendar-plan-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.calendar-plan-days article{border:1px solid var(--studio-line);border-radius:10px;padding:12px}.calendar-plan-days span{display:block;font-size:12px;color:var(--studio-muted);margin-top:8px}.calendar-plan-days p{font-size:13px}.calendar-plan-notice{padding:12px;border-left:3px solid var(--studio-deep);background:#f4f7f1}@media(max-width:650px){.calendar-plan-days{grid-template-columns:1fr}.calendar-plan-days article{padding:10px}.calendar-plan-days p{margin-bottom:0}}

/* Focused Overview: upcoming content, channel engagement, evidence. */
.overview-context{margin:0 0 18px}.overview-context label{max-width:320px}.overview-section{margin-bottom:22px;padding:26px}.overview-section h2{margin:0}.overview-section .studio-section-heading{margin-bottom:20px;gap:14px}.overview-period{display:flex;gap:8px;margin-bottom:16px}.overview-period button[aria-pressed=true]{background:#172c27;color:#fff}.overview-post{display:grid;grid-template-columns:145px 1fr auto;gap:18px;align-items:center;padding:16px 0;border-top:1px solid #e5e9e5;color:inherit;text-decoration:none}.overview-post small{display:block;margin-top:5px;color:#66726b}.overview-post-status{font-size:12px;text-transform:capitalize;background:#f0f4ee;padding:6px 10px;border-radius:20px}.overview-channels{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.overview-channels>p{grid-column:1/-1}.overview-channel{padding:18px;background:#f7f9f5;border-radius:12px}.overview-channel h3{margin:0 0 12px}.overview-channel small,.overview-post-date{color:#66726b;font-size:12px}.overview-metrics{display:flex;flex-wrap:wrap;gap:20px}.overview-metrics dt{font-size:12px;text-transform:capitalize}.overview-metrics dd{margin:4px 0;font-size:24px;font-weight:650}@media(max-width:640px){.overview-section{padding:18px}.overview-section .studio-section-heading{align-items:flex-start;flex-direction:column}.overview-post{grid-template-columns:1fr auto;gap:8px}.overview-post-date{grid-column:1/-1}.overview-channels{grid-template-columns:1fr}}

body #view .overview-period button{background:#fff!important;color:#28443c!important}body #view .overview-period button[aria-pressed=true]{background:#172c27!important;color:#fff!important}
/* Focused business settings */
.business-identity-card,.business-settings-disclosure{max-width:980px}
.business-identity-form{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:20px 32px;align-items:start}
.business-identity-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.business-identity-fields label{margin:0;min-width:0}
.business-identity-fields input{width:100%;min-width:0;margin-top:7px}
.business-identity-form .branding-preview{margin:0;min-height:170px;display:flex;align-items:center;justify-content:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:14px;padding:20px;text-align:center}
.business-identity-form .branding-preview img{max-width:100%;max-height:140px;object-fit:contain}
.business-identity-form .branding-preview [hidden]{display:none}
.business-identity-form>p,.business-identity-form>button{grid-column:1/-1;justify-self:start;margin:0}
.business-identity-form>p:empty{display:none}
.business-settings-disclosure>summary{font-weight:650;font-size:18px;cursor:pointer}
.business-settings-disclosure .social-workspace{margin-top:18px}
.business-source-section{padding:18px 0;border-top:1px solid #e2e8f0;overflow-wrap:anywhere}
.business-source-section>summary{cursor:pointer;font-weight:600;font-size:15px}
.business-source-section .source-field{padding:14px;background:#f8fafc;border-radius:10px;margin:10px 0}
.business-source-section .source-field input{width:auto}
.media-add-options{padding:24px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;margin:20px 0}
.media-add-options h3{margin:0 0 8px}.media-add-options .media-actions{display:flex;gap:12px;flex-wrap:wrap}
.media-add-options form{max-width:650px;margin-top:20px;padding-top:18px;border-top:1px solid #e2e8f0}
.media-cloud-help{margin-top:18px;color:#64748b;font-size:14px}
@media(max-width:700px){.business-identity-form,.business-identity-fields{grid-template-columns:minmax(0,1fr)}.business-identity-form .branding-preview{min-height:120px}.business-settings-disclosure button{max-width:100%;white-space:normal}.media-add-options{padding:18px}}

.business-identity-form{grid-template-columns:minmax(0,1fr)}.business-settings-logos{max-width:980px}.media-drive-source{padding:22px;border:1px solid #e2e8f0;border-radius:16px;margin:18px 0}.media-drive-source summary{cursor:pointer;font-weight:650}.media-drive-source summary svg{vertical-align:middle;margin-right:10px}.media-drive-source button{margin:8px 10px 8px 0;max-width:100%;white-space:normal}
.quick-update .quick-talk{display:inline-flex;align-items:center;gap:.5rem}
.quick-update .quick-talk::before{display:none}
.quick-update .quick-website{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;margin:1rem 0}
.quick-update .quick-website small{display:flex;gap:.35rem;flex-wrap:wrap}
.quick-update [data-quick-review] textarea{min-height:4.5rem}
.quick-update blockquote{margin:.35rem 0 .75rem;padding-left:.8rem;border-left:3px solid var(--studio-line);overflow-wrap:anywhere}
.quick-update fieldset,.quick-update pre{min-width:0;white-space:pre-wrap;overflow-wrap:anywhere}

/* Feedback remains readable in the Calendar review dialog on narrow screens. */
.prepublication-feedback{min-width:0;display:grid;gap:.8rem}
.prepublication-feedback>label:has(textarea){display:grid;gap:.5rem}
.prepublication-feedback textarea{width:100%;min-width:0;min-height:7rem;box-sizing:border-box;resize:vertical}
.prepublication-feedback>button{width:100%;white-space:normal}
.prepublication-feedback p{margin:0}
.calendar-feedback-badge{font-size:.72rem;border-radius:1rem;padding:.2rem .5rem;font-weight:650}
.calendar-feedback-badge[data-color=green]{background:#e6f4eb;color:#185a35}
.calendar-feedback-badge[data-color=yellow]{background:#fff2cb;color:#674b00}
.calendar-feedback-badge[data-color=red]{background:#ffe6e5;color:#922725}

/* Optional channel tasks stay compact while connection setup remains primary. */
.channel-tools{margin-top:28px}.channel-tool-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.channel-tool-group{min-width:0;padding:18px;border:1px solid var(--studio-line);border-radius:14px;background:#fff;align-self:start}.channel-tool-group>h3{margin:0 0 6px;font-size:16px;color:var(--studio-night)}.channel-tool-group>p{margin:0 0 14px;font-size:13px;line-height:1.5}.channel-tool{border-top:1px solid var(--studio-line)}.channel-tool>summary{padding:14px 2px;cursor:pointer;font-size:13px;font-weight:650;color:var(--studio-deep)}.channel-tool>summary:hover{color:var(--studio-night)}.channel-tool[open]>summary{color:var(--studio-night)}.channel-tool-body{padding:0 2px 16px;display:grid;gap:10px;min-width:0}.channel-tool-body>p{font-size:13px;margin:0;line-height:1.55}.channel-tool-body label{font-size:13px;margin:0}.channel-tool-body input:not([type=checkbox]),.channel-tool-body select,.channel-tool-body textarea{width:100%;min-width:0;box-sizing:border-box}.channel-tool-body button{justify-self:start;margin:0}.channel-tool-body article{padding:12px 0;border-top:1px solid var(--studio-line)}.channel-tool-body a{overflow-wrap:anywhere}.social-network-icon img{object-fit:contain;display:block}.social-network-icon{flex:none}.social-network:has(.connected) .social-network-icon{background:#e8efec}@media(max-width:760px){.channel-tool-groups{grid-template-columns:1fr;gap:14px}.channel-tool-group{padding:14px}}

.weekly-service{margin-top:24px}.weekly-service>label{max-width:360px}.weekly-service-status{font-weight:700;color:var(--studio-deep);margin-bottom:6px}.weekly-service-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.weekly-service-actions .button,.weekly-service-actions button{margin:0}.weekly-settings{border-top:1px solid var(--studio-line);margin-top:16px;padding-top:12px}.weekly-settings>summary{cursor:pointer;color:var(--studio-deep);font-weight:650;font-size:13px}.weekly-settings>div{padding-top:12px;font-size:13px}.weekly-settings li{margin:6px 0}.weekly-settings-links{display:flex;gap:16px;flex-wrap:wrap}.weekly-service>div>p{max-width:65ch}

.channel-card-options{width:100%;border-top:1px solid var(--studio-line);padding-top:10px}.channel-card-options>summary{cursor:pointer;color:var(--studio-deep);font-size:12px;font-weight:650}.channel-card-options>button{display:block;width:100%;text-align:left;margin-top:8px}.channel-card-options>p:empty{display:none}

/* Reporting: source-scoped summaries and charts, with detailed reads on demand. */
.reporting-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.reporting-toolbar label{max-width:210px;font-size:12px}.reporting-toolbar input{width:100%;box-sizing:border-box}.reporting-freshness,.reporting-period,.reporting-footnote{color:var(--studio-muted);font-size:12px;line-height:1.6}.reporting-channel-tabs{display:flex;gap:8px;overflow:auto;padding:14px 0 2px}.reporting-channel-tabs button{display:flex;align-items:center;gap:8px;white-space:nowrap;flex:none;margin:0}.reporting-channel-tabs button[aria-pressed=true]{background:var(--studio-deep);border-color:var(--studio-deep);color:white}.reporting-channel-tabs svg{background:white;padding:3px;border-radius:5px;box-sizing:content-box}.reporting-channel-heading{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:700;margin-top:24px}.reporting-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0 24px}.reporting-kpi{background:#fff;border:1px solid var(--studio-line);border-radius:16px;padding:22px}.reporting-kpi h3{font-size:12px;color:var(--studio-muted);font-weight:600;margin:0 0 14px}.reporting-kpi strong{display:block;font-size:32px;letter-spacing:-1px;color:var(--studio-deep);font-variant-numeric:tabular-nums}.reporting-kpi small{font-size:11px;color:var(--studio-muted)}.reporting-chart-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:16px}.reporting-chart-card{margin:0!important;min-width:0}.reporting-chart-card label{font-size:12px;max-width:280px}.reporting-trend-chart{display:block;width:100%;height:auto;margin:20px 0 10px}.reporting-empty{padding:24px 20px;border:1px dashed var(--studio-line);border-radius:14px;background:#f7faf7;margin:16px 0}.reporting-empty h3{font-size:16px;margin:0 0 8px;color:var(--studio-deep)}.reporting-empty p{font-size:13px;color:var(--studio-muted);line-height:1.6;margin:0}.reporting-empty .button{margin-top:14px}.reporting-donut-layout{display:flex;align-items:center;gap:16px;margin-top:16px}.reporting-donut{width:150px;max-width:45%;flex:none}.reporting-legend{list-style:none;padding:0;flex:1;max-height:240px;overflow:auto;margin:0}.reporting-legend li{display:flex;gap:8px;align-items:center;font-size:12px;margin:10px 0}.reporting-legend strong{margin-left:auto}.reporting-dot{width:9px;height:9px;flex:none;border-radius:50%}.reporting-comparison{display:flex;gap:36px;flex-wrap:wrap}.reporting-comparison>div{display:grid;gap:7px}.reporting-comparison strong{font-size:28px;color:var(--studio-deep)}.reporting-comparison span,.reporting-comparison small{font-size:12px;color:var(--studio-muted)}.reporting-channel-bars{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 34px;margin:22px 0}.reporting-channel-bar>div:first-child{display:flex;align-items:center;gap:9px;font-size:13px}.reporting-channel-bar strong{margin-left:auto;font-size:13px}.reporting-channel-bar small{color:var(--studio-muted);font-size:10px}.reporting-bar-track{height:7px;background:#e8efec;border-radius:7px;overflow:hidden;margin:10px 0 4px}.reporting-bar-track span{display:block;height:100%;background:#37796c;border-radius:7px}.reporting-details{padding:16px 0;border-top:1px solid var(--studio-line);margin:18px 0}.reporting-details>summary{cursor:pointer;font-weight:650;color:var(--studio-deep);font-size:13px}.reporting-details table{font-size:12px}.reporting-details article{padding:12px 0;border-bottom:1px solid var(--studio-line)}.reporting-details article h3{font-size:14px}.reporting-content>.card{margin:20px 0}.reporting-dashboard table{overflow-wrap:anywhere;table-layout:fixed}.reporting-dashboard label input,.reporting-dashboard label select{max-width:100%;box-sizing:border-box}@media(max-width:900px){.reporting-chart-grid{grid-template-columns:1fr}.reporting-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.reporting-kpi{padding:16px}.reporting-kpi strong{font-size:26px}.reporting-channel-bars{grid-template-columns:1fr}.reporting-donut-layout{gap:10px}.reporting-channel-tabs{max-width:100%}.reporting-overview{padding:18px}.reporting-trend-chart{min-height:150px}}

.subscription-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;order:1;flex:none;max-width:100%;padding:7px 11px;border:1px solid #cfddc4;border-radius:20px;background:#eef5e7;color:#173d45;font-size:12px;font-weight:650;text-decoration:none;white-space:normal}.subscription-badge[hidden]{display:none}main>header>#account-controls{order:2}main>header>#context{margin-right:auto}main>header{gap:12px;flex-wrap:wrap}.subscription-badge:hover{background:#e1eecd;color:#122b35}@media(max-width:600px){.subscription-badge{font-size:11px;padding:6px 9px}}
/* Keep Calendar's mobile controls readable when the fixed sidebar narrows the content area. */
@media(max-width:750px){.calendar-date-controls{width:100%;flex-wrap:wrap}.calendar-date-controls>button{flex-shrink:0;white-space:nowrap;overflow-wrap:normal;word-break:normal}.calendar-view-controls{flex-wrap:wrap}.calendar-view-switch{flex:0 0 auto;max-width:100%}.calendar-view-switch button{flex-shrink:0;min-width:48px;white-space:nowrap;overflow-wrap:normal;word-break:normal}.calendar-view-controls .calendar-ai{flex:1 0 170px}.calendar-view-controls>button:not(.calendar-ai){flex-shrink:0}}

/* Location overview task layout; external CSS respects the workspace CSP. */
.overview-work-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:20px;align-items:start}.overview-work-row>.overview-actions{grid-column:2;grid-row:1}.overview-work-row>.overview-section{grid-column:1;grid-row:1}.overview-task-scroll{max-height:32rem;overflow:auto}.overview-task-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.overview-task-table th,.overview-task-table td{padding:10px 6px;text-align:left;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #e0e7e3}.overview-task-table th:last-child,.overview-task-table td:last-child{text-align:right}.overview-task-table small{display:block;margin-top:6px}.overview-task-table a{display:inline-block;margin-top:6px}@media(max-width:800px){.overview-work-row{display:block}.overview-task-table{font-size:12px}.overview-task-table th,.overview-task-table td{padding:8px 4px}}

.planning-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.planning-period{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;border-top:1px solid #dce3e0;padding:18px 0}.planning-period article{margin-top:14px}.planning-period h4{margin-bottom:6px}.planning-period ul{margin-top:6px}.planning-conversation{position:sticky;top:16px;min-width:0}.planning-conversation:empty{display:none}.planning-conversation .phone-interview{padding:12px}.planning-mercedes{min-width:0}@media(max-width:800px){.planning-workspace{display:block}.planning-period{grid-template-columns:minmax(0,1fr)}.planning-conversation{position:static}}

@media(min-width:801px){.planning-workspace:has(.planning-conversation:not(:empty)){grid-template-columns:minmax(0,3fr) minmax(280px,2fr)}}

/* Fit the primary review and actions on ordinary desktop and phone viewports. */
.calendar-dialog:has(.post-review-media){padding:16px}.calendar-dialog:has(.post-review-media) .calendar-dialog-heading{margin-bottom:8px;padding-bottom:8px}.calendar-dialog:has(.post-review-media)>p{margin:6px 0 10px;font-size:12px}.calendar-dialog .social-event:has(.post-review-media){padding:14px!important;margin:8px 0}.calendar-dialog .social-event:has(.post-review-media) h2{margin:0 0 8px;padding-right:110px;font-size:17px}.calendar-dialog .social-event:has(.post-review-media) p{margin:6px 0}.post-review-media video,.post-review-media img{max-height:30dvh!important;object-fit:contain;margin:8px auto}.post-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.post-review-actions button{width:auto!important;min-height:44px;padding:8px 12px;margin:0!important;font-size:12px}.calendar-dialog .social-event:has(.post-review-media)>details{margin:8px 0;font-size:12px}.calendar-dialog .post-review-content>details{margin:8px 0;font-size:12px}
@media(max-width:700px){.post-review-media video,.post-review-media img,.post-review-content .post-review-media video,.post-review-content .post-review-media img{max-height:26dvh!important}.calendar-dialog .social-event:has(.post-review-media) h2{padding-right:0;margin-top:20px}.post-review-actions{gap:6px}.post-review-actions button{padding:8px 10px}.post-review-actions img{width:22px!important;height:22px!important}}

/* V8 Mercedes by Bizinga brand colors; review-state colors retain their semantics. */
:root{--chart-current:#276bf5;--chart-prior:#05183e;--focus-ring:#276bf5}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--focus-ring);outline-offset:3px}
.bizinga-help-launcher,.contextual-mercedes button,.interview-call-controls button:not(:last-child){background:var(--studio-night);color:#fff}.bizinga-help-panel>header{background:#eef3ff}.interview-wave i{background:var(--studio-deep)!important}.studio-text-link{color:#174bb7}.card{border-color:#dbe3f0}.dashboard-controls{display:flex;align-items:end;gap:16px;flex-wrap:wrap;margin:20px 0 12px}.dashboard-controls label{margin:0}.dashboard-controls select,.dashboard-controls input{min-height:44px}.dashboard-controls>a{margin-left:auto}.dashboard-notice{color:var(--studio-muted);font-size:12px;margin-bottom:20px}
.dashboard-grid.overview-work-row{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:24px}.dashboard-performance{min-width:0}.dashboard-performance>header{padding-bottom:12px;margin-bottom:16px;border:0}.dashboard-metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.dashboard-metric{background:white;border:1px solid #dbe3f0;border-radius:18px;padding:18px;min-width:0}.dashboard-metric:first-child{background:var(--studio-night);color:white;border-color:var(--studio-night)}.dashboard-metric:first-child strong{color:var(--studio-lime)}.dashboard-metric p{font-size:13px;margin-bottom:8px}.dashboard-metric strong{display:block;font-size:32px;line-height:1.2}.dashboard-metric small{display:block;margin-top:8px;font-size:11px;opacity:.85}.dashboard-chart{padding:22px;border-radius:20px;margin:0}.dashboard-chart h3{font-size:18px}.dashboard-network{padding:16px 0;border-bottom:1px solid #e4eaf3}.dashboard-network>strong{display:block;text-transform:capitalize}.dashboard-network>small{display:block;color:var(--studio-muted);font-size:11px;margin-bottom:8px}.dashboard-network>span{font-size:12px}.dashboard-bar-row{display:grid;grid-template-columns:110px minmax(40px,1fr) auto;align-items:center;gap:10px;font-size:12px;margin:8px 0}.dashboard-bar-row meter{width:100%;height:18px;accent-color:var(--chart-current)}.dashboard-bar-row meter::-webkit-meter-bar{background:#edf1f8;border:0;border-radius:4px}.dashboard-bar-row.current meter::-webkit-meter-optimum-value{background:var(--chart-current)}.dashboard-bar-row.prior meter::-webkit-meter-optimum-value{background:var(--chart-prior)}.dashboard-bar-row.current meter::-moz-meter-bar{background:var(--chart-current)}.dashboard-bar-row.prior meter::-moz-meter-bar{background:var(--chart-prior)}.dashboard-legend{display:flex;gap:22px;align-items:center;font-size:12px;padding:12px}.dashboard-legend label{margin:0;display:flex;gap:8px;align-items:center}.legend-current:before,.legend-prior:before{content:'';display:inline-block;width:10px;height:10px;margin-right:7px;border-radius:2px;background:var(--chart-current)}.legend-prior:before{background:var(--chart-prior)}
.dashboard-grid>.overview-actions{border-top:4px solid var(--studio-lime);border-radius:20px;padding:18px;margin:0}.overview-actions .studio-section-heading{border:0;padding:0 0 12px}.overview-actions h2{font-size:19px;margin:0}.dashboard-count{background:var(--studio-night);color:white;padding:4px 10px;border-radius:30px}.dashboard-grid .overview-task-scroll{height:390px;max-height:390px;overflow:auto;overscroll-behavior:contain}.overview-task-table th{position:sticky;top:0;background:#f4f7fc;font-size:10px;z-index:1}.overview-task-table td{font-size:11px;padding:12px 5px}.overview-task-table th:first-child{width:17%}.overview-task-table th:nth-child(2){width:20%}.overview-task-table th:nth-child(3){width:33%}.overview-task-table small{color:var(--studio-muted);font-size:11px}.overview-task-table button{font-size:11px;padding:8px;min-height:36px;margin:8px 0 0;white-space:normal;width:100%}.dashboard-empty{padding:25px 0;color:var(--studio-muted)}.dashboard-lower{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.dashboard-lower>.card{margin:0;padding:22px;border-radius:20px}.dashboard-lower h2{font-size:19px}.dashboard-upcoming,.dashboard-planning-row{padding:12px 0;border-bottom:1px solid #e4eaf3}.dashboard-upcoming small,.dashboard-planning-row small{display:block;color:var(--studio-muted);font-size:12px}.dashboard-calendar-counts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:15px}.dashboard-calendar-counts strong{display:block;font-size:28px;color:var(--studio-night)}.dashboard-calendar-counts span{font-size:11px}.dashboard-dialog{max-height:94dvh;overflow:auto}.dashboard-dialog:has(.planning-workspace){width:min(1080px,calc(100vw - 24px))}
@media(max-width:1000px){.dashboard-grid.overview-work-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.dashboard-grid.overview-work-row{display:flex;flex-direction:column}.dashboard-grid>*{width:100%}.dashboard-grid>.overview-actions{order:-1}.dashboard-grid .overview-task-scroll{height:280px;max-height:280px}.dashboard-lower{grid-template-columns:1fr}.dashboard-controls>a{margin-left:0}.dashboard-bar-row{grid-template-columns:95px minmax(30px,1fr) auto}.dashboard-chart{padding:16px}.dashboard-legend{flex-wrap:wrap}.dashboard-metric{padding:14px}}

/* Keep the canonical Mercedes portrait complete inside circular entry points. */
.planning-mercedes img[src="/marketing/hope.png"],.bizinga-help-launcher img[src="/marketing/hope.png"],.post-review-actions img[src="/marketing/hope.png"],.calendar-ai img[src="/marketing/hope.png"]{object-fit:contain!important;object-position:center!important;padding:3px;box-sizing:border-box;background:#fff}

/* Keep connection actions concise and the dark metric card readable. */
.dashboard-task-detail{font-size:13px;line-height:1.5;overflow-wrap:anywhere;background:#eef3ff;border-radius:10px;padding:12px}.dashboard-metric:first-child small{color:#dbe6ff;opacity:1}

/* One compact performance box beside the equally wide task panel. */
.dashboard-chart{padding:18px}.dashboard-chart-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border:0;margin:0;padding:0}.dashboard-chart-header h2{font-size:18px;line-height:1.25;margin:0;max-width:21ch}.dashboard-chart-header label{font-size:10px;margin:0;flex:none}.dashboard-chart-header select{min-height:36px;max-width:150px;font-size:12px;padding:7px}.dashboard-period-caption{font-size:11px;color:var(--studio-muted);margin:10px 0}.dashboard-custom-dates{display:flex;flex-wrap:wrap;gap:8px}.dashboard-custom-dates label{font-size:11px}.dashboard-custom-dates input{max-width:150px}.dashboard-network-columns,.dashboard-network{display:grid;grid-template-columns:minmax(110px,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}.dashboard-network-columns{font-size:10px;color:var(--studio-muted);padding:8px 0;border-bottom:1px solid var(--studio-line)}.dashboard-network{padding:10px 0;min-height:48px}.dashboard-network-name{min-width:0}.dashboard-network-name strong{display:block;text-transform:capitalize;font-size:12px;line-height:1.3}.dashboard-network-name small{display:block;color:var(--studio-muted);font-size:10px;line-height:1.3;margin:2px 0 0}.dashboard-network .dashboard-bar-row{display:flex;gap:6px;align-items:center;min-width:0;margin:0;font-size:11px}.dashboard-network .dashboard-bar-row meter{flex:1;min-width:12px;width:0;height:12px}.dashboard-network .dashboard-bar-row strong{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.dashboard-network-list.comparison-hidden .dashboard-network-columns,.dashboard-network-list.comparison-hidden .dashboard-network{grid-template-columns:minmax(110px,1.15fr) minmax(0,2fr)}.dashboard-chart .dashboard-legend{padding:12px 0 8px;font-size:11px;gap:14px}.dashboard-chart-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;border:0;padding:0;margin:0}.dashboard-chart-foot small{font-size:10px;color:var(--studio-muted)}.dashboard-chart-foot a{font-size:11px}
@media(max-width:600px){.dashboard-chart{padding:14px}.dashboard-chart-header h2{font-size:16px}.dashboard-chart-header select{max-width:130px;font-size:11px}.dashboard-network-columns,.dashboard-network{grid-template-columns:minmax(86px,1.15fr) minmax(0,1fr) minmax(0,1fr);gap:6px}.dashboard-network-name strong,.dashboard-network .dashboard-bar-row strong{font-size:10px}.dashboard-network .dashboard-bar-row{gap:3px}.dashboard-network-columns{font-size:9px}.dashboard-network-name small{font-size:9px}}

.dashboard-chart-controls{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.dashboard-chart-controls select{max-width:134px}.dashboard-selected-total{font-size:13px;font-weight:600;margin:12px 0 0}.dashboard-chart-header{flex-wrap:wrap}.dashboard-chart-header h2{flex:1;min-width:140px}.dashboard-chart-controls{margin-left:auto}.dashboard-network{min-height:40px;padding:8px 0}.dashboard-network .dashboard-bar-row strong{white-space:normal;overflow-wrap:normal}
@media(max-width:600px){.dashboard-chart-header h2{max-width:none;flex-basis:100%}.dashboard-chart-controls{width:100%;justify-content:flex-end}.dashboard-chart-controls select{max-width:124px}.dashboard-network-columns,.dashboard-network{grid-template-columns:minmax(76px,1.1fr) minmax(0,1fr) minmax(0,1fr)}}

.dashboard-grid.tasks-page{display:block}.dashboard-grid.tasks-page .overview-task-scroll{height:auto;max-height:none;overflow:visible}.task-due-proposal{margin:16px 0;color:var(--muted,#506079);font-size:13px}.dashboard-post-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dashboard-upcoming{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;border:1px solid #dce3ec;border-radius:14px;padding:12px;background:#fff}.dashboard-upcoming header{display:flex;flex-direction:column;gap:4px}.dashboard-upcoming-media{background:#f1f4f8;border-radius:9px;overflow:hidden}.dashboard-upcoming-media img,.dashboard-upcoming-media video{display:block;width:100%;max-height:220px;object-fit:contain}.dashboard-upcoming-caption{font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto;margin:0}.dashboard-upcoming button{margin-top:auto}.dashboard-lower>.card:has(.dashboard-post-previews){grid-column:1/-1}@media(max-width:800px){.dashboard-post-previews{grid-template-columns:1fr}.tasks-page .overview-task-scroll{max-height:none}.dashboard-upcoming-media img,.dashboard-upcoming-media video{max-height:260px}}

.planning-period{display:block;padding:18px 0}.planning-period-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.planning-period-header h3{margin:0;font-size:16px}.planning-period-header>strong{font-size:13px;color:#26744d;white-space:nowrap}.planning-period-header button{margin:0}.planning-topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.planning-topic-grid article{margin:0;padding:15px;border:1px solid #dce3ec;border-radius:12px;background:#fff;min-width:0}.planning-topic-grid h4{margin:0 0 9px;font-size:15px;line-height:1.35;overflow-wrap:anywhere}.planning-topic-grid ul{margin:0;padding-left:18px;font-size:13px;line-height:1.5}.planning-topic-grid li+li{margin-top:5px}.planning-topic-grid small{display:block;margin-top:12px;color:#26744d}.planning-period>details{margin-top:12px}@media(max-width:800px){.planning-topic-grid{grid-template-columns:1fr}.planning-period-header h3{font-size:13px}.planning-period-header button{font-size:12px;padding:8px}.planning-period-header{gap:8px}}

/* Total activity: each network uses vertically stacked comparable periods. */
.dashboard-network,.dashboard-network-list.comparison-hidden .dashboard-network{grid-template-columns:minmax(110px,.8fr) minmax(0,1.5fr);gap:14px;padding:10px 0}
.dashboard-period-bars{display:grid;gap:5px;min-width:0}.dashboard-network .dashboard-bar-row{display:grid;grid-template-columns:46px minmax(20px,1fr) auto;gap:7px;min-height:18px}.dashboard-network .dashboard-bar-row meter{width:100%;height:14px}.dashboard-bar-label{font-size:10px;color:var(--studio-muted)}.dashboard-unknown{grid-column:2/4;color:var(--studio-muted);font-weight:500}.dashboard-selected-total{cursor:help}.dashboard-chart-controls .dashboard-period-pill{border-radius:999px;background:#edf2ff;border:1px solid #bed0ff;color:var(--studio-night);font-weight:650;min-height:40px;max-width:170px;padding:8px 12px}.dashboard-chart-controls label{font-size:11px}
@media(max-width:600px){.dashboard-network,.dashboard-network-list.comparison-hidden .dashboard-network{grid-template-columns:minmax(82px,.8fr) minmax(0,1.5fr);gap:8px}.dashboard-network .dashboard-bar-row{grid-template-columns:40px minmax(16px,1fr) auto;gap:4px}.dashboard-bar-label{font-size:9px}.dashboard-chart-controls .dashboard-period-pill{max-width:170px;font-size:12px}}

.post-destination-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}.post-destination-icon{display:inline-flex;width:28px;height:28px;padding:4px;border:1px solid var(--studio-line);border-radius:50%;background:white}.post-destination-icon svg{width:100%;height:100%}.post-destination-icon[data-blocked=true]{border-color:#c96622;outline:1px dashed #c96622}.post-destination-strip small{font-size:10px;color:var(--studio-muted)}.post-review-schedule{padding:14px;border:1px solid var(--studio-line);border-radius:12px}.post-approval-intent{font-size:12px;color:var(--studio-muted)}

.planning-period{border:1px solid var(--studio-line);border-radius:18px;background:white;padding:18px;margin:18px 0}.planning-period-header{margin-top:0}.planning-topic-grid article>small{display:block;font-size:11px;color:var(--studio-muted);margin:8px 0}.planning-post-preview .post-review-badge{display:inline-block}.planning-post-preview>label{display:block;margin:8px 0}@media(max-width:600px){.planning-period{padding:12px;border-radius:14px}.planning-period-header{gap:10px}}

.dashboard-post-previews{display:block}.dashboard-video-family{margin:14px 0}.dashboard-video-family>header{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;margin-bottom:10px}.dashboard-video-family h3{font-size:16px;margin:0}.dashboard-video-family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:start}.dashboard-upcoming h4{font-size:13px;margin:0}.dashboard-upcoming>div{min-width:0;display:flex;flex-direction:column;gap:8px}.dashboard-upcoming small{display:block;font-size:11px}.dashboard-upcoming-caption{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-height:4.5em;font-size:12px}.dashboard-upcoming-media video{max-height:160px}.dashboard-upcoming select{max-width:100%;min-width:0;font-size:11px}@media(max-width:900px){.dashboard-video-family-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.dashboard-video-family-grid{grid-template-columns:1fr}.dashboard-upcoming-media video{max-height:220px}}
@media(max-width:700px){.post-review-media video,.post-review-media img,.post-review-content .post-review-media video,.post-review-content .post-review-media img{max-height:20dvh!important}}

.dashboard-family-destinations{display:flex;flex-wrap:wrap;gap:4px}.dashboard-family-destinations .post-destination-strip{margin:2px 0;gap:4px}.dashboard-family-destinations .post-destination-strip small{display:none}.dashboard-family-captions{font-size:12px}.dashboard-family-captions p{white-space:pre-wrap;overflow-wrap:anywhere}.overview-task-table td,.overview-task-table small{font-size:13px}.overview-task-table th{font-size:12px}.overview-task-table button{font-size:13px}.dashboard-network-name,.dashboard-network-value,.dashboard-network small{font-size:13px}.dashboard-grid .muted{font-size:13px}

.dashboard-network-name strong{font-size:13px}.dashboard-bar-row strong{font-size:14px}.dashboard-bar-row>span{font-size:11px}
.dashboard-grid>.overview-actions,.overview-task-scroll{min-width:0;max-width:100%}.overview-task-table{width:100%;table-layout:fixed}.overview-task-table td,.overview-task-table th{overflow-wrap:anywhere}
.dashboard-grid>*{box-sizing:border-box}

/* Full-width Tasks above Performance; the combined card owns its first row. */
.overview-work-row{display:flex;flex-direction:column;gap:20px}.overview-work-row>.overview-actions,.overview-work-row>.dashboard-performance{width:100%;min-width:0}.dashboard-network-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-network-list .dashboard-network,.dashboard-network-list.comparison-hidden .dashboard-network{display:block;border:1px solid var(--studio-line);border-radius:12px;padding:14px;min-width:0;box-sizing:border-box}.dashboard-network-name{margin-bottom:10px}.dashboard-total-row{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dashboard-network-total{background:#f3f6ff}.dashboard-selected-total{display:none}.overview-work-row:not(.tasks-page) .overview-task-scroll{max-height:280px;overflow:auto}.dashboard-network-name strong[tabindex]{cursor:help}
@media(max-width:600px){.dashboard-network-list,.dashboard-total-row{grid-template-columns:minmax(0,1fr)}.dashboard-network-list .dashboard-network{padding:12px}}

/* Readable application text: retain hierarchy without shrinking task controls. */
body:not(.auth-screen){font-size:16px;line-height:1.5}
body:not(.auth-screen) :is(#view,.dashboard-dialog) :is(p,td,label,button,input,select,textarea){font-size:16px;line-height:1.5}
body:not(.auth-screen) :is(#view,.dashboard-dialog) :is(small,th,.muted,.dashboard-notice,.dashboard-period-caption,.dashboard-bar-label,.dashboard-chart-foot,.dashboard-legend){font-size:14px;line-height:1.5}
body:not(.auth-screen)>aside #nav a,body:not(.auth-screen)>aside #sidebar-settings{font-size:16px}
body:not(.auth-screen) #view .dashboard-network-name strong{font-size:18px;line-height:1.4}
body:not(.auth-screen) #view .dashboard-bar-row :is(strong,span){font-size:14px;line-height:1.5}
body:not(.auth-screen) #view .dashboard-network .dashboard-bar-row{grid-template-columns:62px minmax(16px,1fr) auto;min-height:24px}
body:not(.auth-screen) #view .dashboard-chart-controls select{max-width:210px;min-height:44px}
body:not(.auth-screen) #view .overview-task-table button{min-height:44px;padding:10px}
body:not(.auth-screen) #view .dashboard-calendar-counts span{font-size:14px}
body:not(.auth-screen) #view .dashboard-upcoming h4{font-size:17px;line-height:1.4}
@media(max-width:600px){
 .overview-task-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .overview-task-table tbody,.overview-task-table tr{display:block;width:100%}
 .overview-task-table tr{padding:12px 0;border-bottom:1px solid var(--studio-line)}
 .overview-task-table td{display:block;width:100%;padding:4px 8px;border:0}
 .overview-task-table td:first-child:before{content:'Due: ';font-weight:600}
 .overview-task-table td:nth-child(2):before{content:'Location: ';font-weight:600}
 .overview-task-table td:last-child button{width:auto;max-width:100%}
 body:not(.auth-screen) #view .dashboard-chart-controls select{max-width:100%}
}

/* Keep readable review actions available while long captions scroll. */
@media(max-width:700px){.calendar-dialog .post-review-actions{position:sticky;bottom:0;z-index:2;background:white;padding:10px 0;border-top:1px solid var(--studio-line);box-shadow:0 -8px 12px #ffffffee}}

/* Compact numeric totals share the Performance header; profile bars follow directly. */
.dashboard-chart-header{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(260px,1.4fr) minmax(170px,1fr);align-items:center;gap:16px}
.dashboard-chart-header h2{min-width:0;margin:0}.dashboard-total-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.dashboard-total-box{padding:12px 16px;background:#e8edf8;border:1px solid #cbd5e6;border-radius:12px;text-align:center;min-width:0}.dashboard-total-box span{display:block;font-size:14px;color:var(--studio-muted)}
body:not(.auth-screen) #view .dashboard-total-box strong{display:block;font-size:26px;line-height:1.3;overflow-wrap:anywhere}.dashboard-chart-controls{min-width:0;margin-left:0;align-items:center}
.overview-work-row:not(.tasks-page) .overview-task-scroll{height:auto;max-height:520px}
@media(max-width:900px){.dashboard-chart-header{grid-template-columns:minmax(0,1fr) minmax(170px,1fr)}.dashboard-total-summary{grid-column:1/-1;grid-row:2}.dashboard-chart-controls{grid-column:2;grid-row:1}}
@media(max-width:600px){.dashboard-chart-header{grid-template-columns:minmax(0,1fr)}.dashboard-chart-controls{grid-column:1;grid-row:2;justify-content:flex-end}.dashboard-total-summary{grid-column:1;grid-row:3;grid-template-columns:minmax(0,1fr)}.overview-work-row:not(.tasks-page) .overview-task-scroll{max-height:70dvh}}

/* Shared focused Planning conversation, regardless of its originating page. */
.mercedes-planning-dialog{width:min(900px,calc(100vw - 24px))}.mercedes-planning-dialog .phone-interview{max-width:none;margin:12px 0;padding:24px}.mercedes-planning-dialog .phone-interview .interview-hero{float:right;width:180px!important;max-width:180px!important;margin:0 0 20px 24px!important}.mercedes-planning-dialog .phone-interview .interview-call-controls{clear:both}.mercedes-planning-dialog textarea{width:100%;box-sizing:border-box}.mercedes-planning-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}@media(max-width:600px){.mercedes-planning-dialog .phone-interview .interview-hero{float:none;margin:0 auto 20px!important}.mercedes-planning-dialog .phone-interview{padding:16px}}
