/* Product working surfaces; preserve the existing editorial composition. */
*{box-sizing:border-box}html,body{width:100%;min-width:0}body{font-family:var(--data-font,Arial,sans-serif)}h1,h2,h3{font-family:var(--heading-font,Georgia,serif)}.shell>*,.workspace>*,.form-grid>*,.two-col>*,.cards>*,.toolbar>*,.panel,.kpi,.heading>*,.app-top>*,.sale-line>*{min-width:0}input,select,textarea{max-width:100%;min-width:0;font-family:var(--data-font);color:var(--ink);background:var(--card)}button{min-height:42px;overflow-wrap:anywhere}input[type=checkbox]{width:20px;height:20px;min-height:20px;accent-color:var(--accent);flex-shrink:0}input[type=color]{width:100%;height:48px;padding:4px;cursor:pointer}fieldset{min-width:0;border:1px solid var(--line);border-radius:8px;padding:16px}legend{padding:0 7px;font-size:14px}.color-editors{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.color-editors label{margin-top:12px}input:focus-visible,select:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.primary,.bottom-nav .quick,.tabs .active{background:var(--accent);color:var(--primary-ink);border-color:var(--accent)}.primary:hover{filter:brightness(.94);background:var(--accent)}.official-logo{width:46px!important;height:46px!important;object-fit:contain!important;filter:none!important;transform:none!important;flex-shrink:0;border-radius:0;background:#fff}.brand{display:flex;align-items:center;gap:10px;min-width:0;text-align:left!important}.brand>span{font-family:Georgia,serif;font-size:21px;line-height:1.2;letter-spacing:-.5px}.brand small{font-family:Arial,sans-serif;font-size:9px!important;letter-spacing:.3px!important;line-height:1.4;white-space:normal!important;margin-top:6px}.sidebar>.brand{width:100%;padding:0}.sidebar .studio{min-width:0}.studio>div{overflow-wrap:anywhere}.app-top>span{display:flex;align-items:center;gap:8px}.app-top .ui-icon{flex-shrink:0}.kpi strong,.product-metrics b,.sale-line,input,select,textarea,td,.price-value,.result-strip strong,.production-list strong{font-family:var(--data-font)!important;font-variant-numeric:tabular-nums}h1,h2,h3,p,small,b,strong,td{overflow-wrap:anywhere}.kpi strong{font-size:clamp(22px,2.3vw,32px)}.table-wrap{max-width:100%;overflow:auto}td{max-width:380px}.toolbar{flex-wrap:wrap}.toolbar>input{min-width:0}.toolbar>label{max-width:100%}.toolbar select{max-width:100%}.heading{flex-wrap:wrap;gap:16px}.result-strip{display:flex;flex-direction:column;gap:10px;border-block:1px solid var(--line);padding:20px 0;margin:20px 0}.result-strip strong{font-size:26px;line-height:1.25}.result-strip span{font-size:14px}.tools-top h2{font-size:32px}.tools-top p{font-size:14px}.production-list>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-bottom:1px solid var(--line);padding:18px 0}.production-list>div>span{flex:1;min-width:120px}.production-list small{display:block;margin-top:8px;font-size:12px;line-height:1.6}.production-list strong{font-size:18px}.time-list>div{padding:12px 0;border-bottom:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap;align-items:center}.time-list button{margin-left:auto}form>.secondary,form>.primary{margin-top:16px}.theme-preview{max-width:700px}.hand-note,.note p{font-family:var(--hand-font);font-size:23px}body[data-coverage=Headings] h1,body[data-coverage=Headings] h2,body[data-coverage=Headings] h3,body[data-coverage='Full Look'] h1,body[data-coverage='Full Look'] h2,body[data-coverage='Full Look'] h3{font-family:var(--hand-font)}body[data-coverage='Full Look'] .nav-item b,body[data-coverage='Full Look'] p,body[data-coverage='Full Look'] button:not(.brand){font-family:var(--hand-font);font-size:20px}.sidebar,.app-top,.bottom-nav{background:var(--card);color:var(--ink)}.panel,.kpi,.event-card{background:var(--card);color:var(--ink)}.panel p,.panel small,.kpi small,.kpi>span{color:inherit;opacity:.85}.nav-item{color:var(--ink)}.nav-item.selected{background:var(--accent);color:var(--primary-ink)}.brand,.brand small{color:var(--ink)}.dark-surface .notice,.dark-surface .insight,.dark-surface .demo-banner,.dark-surface .event-art,.dark-surface .weekday,.dark-surface .day.today,.dark-surface .badge,.dark-surface .calendar-item,.dark-surface .studio{background:#303a30;color:#f4f5ed}.dark-surface .secondary,.dark-surface .pick,.dark-surface .text:hover{background:var(--card);color:var(--ink)}.dark-surface .text,.dark-surface .icon,.dark-surface .sidebar-bottom p,.dark-surface .nav-item,.dark-surface .brand small{color:var(--ink)}.dark-surface .nav-item.selected{color:var(--primary-ink)}.dark-surface .welcome h1,.dark-surface .welcome h2,.dark-surface .welcome h3{color:inherit}.dark-surface .preview-frame{color:#24221f}.calm *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.calendar-controls{flex-wrap:wrap;gap:12px}.calendar-controls label{max-width:190px}.calendar-controls h2{flex:1;min-width:150px}.print-selection{display:flex;flex-wrap:wrap;gap:16px;padding:16px 0}.print-selection label{display:flex;gap:8px;align-items:center}.print-preview-wrap{max-width:100%;overflow:auto;margin-top:30px;padding:12px;background:#dedcd5}.print-sheet{background:white;color:#20221f;padding:24px;min-height:500px}.print-sheet p,.print-sheet small{color:#4d514b}.print-brand{display:flex;align-items:center;gap:12px;margin-bottom:20px}.print-brand img{width:42px;height:42px;object-fit:contain;filter:none}.print-brand b{font:20px Georgia,serif}.print-brand small{display:block;font:11px Arial,sans-serif;margin-top:4px}.print-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.print-cards>article{border:1px dashed #a3a69c;padding:20px;break-inside:avoid}.print-cards h2{font-size:27px}.price-value{display:block;font-size:35px}.print-sheet h1,.print-sheet h2{color:#20221f}.print-sheet footer{font:11px Arial,sans-serif;border-top:1px solid #ccc;padding-top:16px;margin-top:25px}.print-sheet .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.print-sheet .kpi{background:#fff;color:#20221f}.print-sheet td,.print-sheet th{color:#20221f;border-color:#bbb}.shop-sign{text-align:center;padding:25px}.shop-sign .print-brand{justify-content:center}.shop-qr{width:260px;max-width:100%;margin:30px auto}.shop-qr svg{display:block;width:100%;height:auto}.ink-saver{background:white!important;color:black!important}.ink-saver *:not(img){color:black!important;border-color:#888!important}.intro-monogram{background:transparent;border:0;border-radius:0}.intro-monogram img{width:100%;height:100%;object-fit:contain;filter:none}
@media(max-width:1100px){.color-editors{grid-template-columns:1fr}.tools-top{grid-template-columns:1fr}.shell{grid-template-columns:210px minmax(0,1fr)}.sidebar>.brand .official-logo{width:38px!important;height:38px!important}.sidebar>.brand>span{font-size:19px}}
@media(max-width:800px){.shell,.collapsed{display:block}.sidebar,.collapsed .sidebar{position:fixed;inset:0 auto 0 0;width:280px;max-width:90vw;z-index:40;transform:translateX(-100%);height:100dvh;overflow-y:auto;padding:24px 18px}.sidebar.mobile-open{transform:translateX(0)}.app-top>.mobile-menu{display:block}.bottom-nav{display:flex;position:fixed;inset:auto 0 0;z-index:20;justify-content:space-around;padding:8px 4px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line)}.bottom-nav button{font-size:11px;padding:10px 7px}.workspace{padding-bottom:100px}.collapsed .sidebar .brand,.collapsed .studio,.collapsed .nav-item b,.collapsed .sidebar h4{display:revert}.app-top{gap:8px;padding:0 12px}.dashboard-month{max-width:140px!important;font-size:12px!important}.two-col{grid-template-columns:1fr}.app-top>div{gap:8px}.app-top .avatar{display:none}.calendar{display:block;border:0}.calendar .weekday,.calendar .day.muted{display:none}.calendar .day{min-height:48px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;border:1px solid var(--line);margin-bottom:6px;padding:10px}.calendar .day>b{width:22px;font-size:14px}.calendar-item{width:auto;flex:1;text-align:left;font-size:12px;min-width:120px}.print-cards{grid-template-columns:1fr}.print-preview-wrap{padding:5px}.print-sheet{padding:14px}.shop-sign{padding:10px}.welcome header{flex-wrap:wrap}.welcome .brand{flex:1}.hero-values{flex-wrap:wrap}.preview-frame{max-width:100%}.calendar-controls h2{font-size:24px}}
@media(max-width:420px){.workspace{padding-inline:12px}.panel{padding:16px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{padding:12px}.kpi strong{font-size:24px}.sale-line{grid-template-columns:minmax(0,1fr) 60px 80px 32px}.sale-line>b{grid-column:1/-1}.product-picks{grid-template-columns:1fr}.app-top>span{font-size:11px}.dashboard-month{max-width:128px!important}.heading h1{font-size:32px}.form-grid{grid-template-columns:1fr}dialog{padding:18px 14px;width:calc(100vw - 16px)}dialog footer{flex-wrap:wrap}.studio-kpis .ui-icon{display:none}}
@media print{body.printing-studio{background:white!important}body.printing-studio #app *{visibility:hidden}body.printing-studio #printPreview,body.printing-studio #printPreview *{visibility:visible}body.printing-studio #printPreview{position:absolute;left:0;top:0;width:100%;margin:0}body.printing-studio #printPreview .print-sheet{padding:0;min-height:0}body.printing-studio .print-cards{grid-template-columns:repeat(2,minmax(0,1fr))}body.printing-studio #printControls,body.printing-studio dialog,body.printing-studio #toast{display:none!important}.print-sheet th,.print-sheet td{white-space:normal;padding:8px;font-size:11px}.print-sheet tr,.print-cards>article{break-inside:avoid}.print-sheet thead{display:table-header-group}.print-sheet h2{break-after:avoid}.print-sheet .kpis{display:grid}.print-sheet .kpi{break-inside:avoid}.print-brand{display:flex!important}.print-preview-wrap{overflow:visible;padding:0;background:white}.print-sheet .shop-sign{break-inside:avoid}}
.sidebar>.brand:before,.collapsed .sidebar>.brand:before{content:none;display:none}.sidebar>.brand{display:flex;position:static;height:auto;min-height:62px;margin:0;padding:0 4px;color:var(--ink);white-space:normal}.sidebar .brand small,.sidebar .studio,.sidebar nav h4,.sidebar .nav-item,.sidebar .nav-item>span,.sidebar-bottom p,.sidebar-bottom em,.sidebar-bottom .text{color:var(--ink)}.sidebar .studio{margin:14px 0 10px;padding:16px 8px;border-color:var(--line);font-family:var(--heading-font)}.sidebar .nav-item.selected,.sidebar .nav-item.selected>span{background:var(--accent);color:var(--primary-ink)}.sidebar .nav-item:hover{background:var(--accent);color:var(--primary-ink)}.sidebar .nav-item:hover>span{color:var(--primary-ink)}.studio-kpis .kpi strong{font-size:clamp(27px,3vw,43px);color:var(--ink)}.studio-kpis .kpi>span{color:var(--ink)}.kpi strong{color:inherit}.tabs .active{color:var(--primary-ink);background:var(--accent)}.dark-surface .dashboard-heading p,.dark-surface .market-location,.dark-surface .chart-legend,.dark-surface .chart-axis,.dark-surface .chart-week>span,.dark-surface .period-caption,.dark-surface .packing-label,.dark-surface .packing-ratio>span,.dark-surface .checklist .text,.dark-surface .help summary{color:var(--ink)}.dark-surface th{background:var(--card);color:var(--ink)}
@media(max-width:800px){.sidebar,.collapsed .sidebar{background:var(--card)}.collapsed .sidebar>.brand{display:flex}.collapsed .sidebar .brand small{display:block}.studio-kpis .kpi strong{font-size:32px}.sidebar .official-logo{width:46px!important;height:46px!important}}
.toolbar label select{width:100%}.toolbar>label:has(#toolsEvent){flex:1;max-width:520px}.toolbar>label:has(#toolsEvent) select{min-width:0}
.color-editors input[data-hex],.dark-surface input:not([type=checkbox]),.dark-surface textarea,.dark-surface select{background:var(--card);color:var(--ink)}.dark-surface .eyebrow,.dark-surface .workspace-footer{color:var(--muted)}

/* User-selected gold serif A, copied unchanged from Cake & Cookie Studio. */
.official-logo{background:transparent!important}.sidebar>.brand{flex-direction:column;align-items:center;gap:10px;text-align:center!important;padding:12px 4px 18px}.sidebar>.brand .official-logo{width:74px!important;height:74px!important}.sidebar>.brand>span{font:29px/1.15 Georgia,serif;letter-spacing:-.8px}.sidebar .brand small{font:11px/1.5 Arial,sans-serif!important;letter-spacing:.3px!important;margin-top:7px}.print-brand img{background:transparent}.intro-monogram{background:transparent}.collapsed .sidebar>.brand{padding:0}.collapsed .sidebar>.brand .official-logo{width:42px!important;height:42px!important}.collapsed .sidebar>.brand>span{display:none}
@media(max-width:800px){.sidebar>.brand,.collapsed .sidebar>.brand{flex-direction:column;align-items:center;padding:8px 4px 16px}.sidebar>.brand .official-logo,.collapsed .sidebar>.brand .official-logo{width:64px!important;height:64px!important}.collapsed .sidebar>.brand>span{display:block}.sidebar>.brand>span{font-size:27px}}
.sidebar>.brand,.sidebar>.studio,.sidebar>nav,.sidebar>.sidebar-bottom{flex-shrink:0}.sidebar>.brand{min-height:158px}.collapsed .sidebar>.brand{min-height:50px}
@media(max-width:800px){.sidebar>.brand,.collapsed .sidebar>.brand{min-height:145px}}
/* Centered entrance, with a single synchronized dissolve into the workspace. */
.studio-entrance{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;overflow:auto;background:#faf7f0;color:#88734d;opacity:1;transition:opacity .32s ease;outline:none!important}
.studio-entrance.entrance-leaving{opacity:0;pointer-events:none}
.entrance-lockup{text-align:center;padding:30px 24px;max-width:100%;animation:entranceRise .7s cubic-bezier(.2,.7,.2,1) both}
.entrance-logo{display:block;width:112px;height:112px;margin:0 auto 20px;object-fit:contain;filter:none}
.entrance-wordmark{color:#88734d;font:400 clamp(38px,7vw,58px)/1.15 Georgia,serif;letter-spacing:-1.7px}
.entrance-purpose{font:12px/1.5 Arial,sans-serif;letter-spacing:2px;margin-top:14px}
.entrance-hairline{width:78px;height:1px;background:#c8ae72;margin:26px auto;transform-origin:center;animation:entranceLine .8s ease .15s both}
.entrance-enter{position:static;display:inline-flex;align-items:center;justify-content:center;gap:24px;font:14px Arial,sans-serif;min-height:46px;padding:12px 16px;background:transparent;color:#88734d;border:0;border-radius:0;cursor:pointer;transition:transform .18s,opacity .18s}
.entrance-enter:hover{transform:translateY(-2px);background:transparent;color:#695839}.entrance-enter:active{transform:translateY(0)}
.entrance-enter:focus-visible{outline:1px solid #c8ae72;outline-offset:5px}
.entrance-pending{visibility:hidden}
@keyframes entranceRise{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes entranceLine{from{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}
@media(max-width:420px){.entrance-logo{width:92px;height:92px}.entrance-purpose{font-size:10px;letter-spacing:1.5px}}
@media(prefers-reduced-motion:reduce){.studio-entrance,.studio-entrance *{animation:none!important;transition:none!important;translate:none!important}}
@media print{.studio-entrance{display:none!important}.entrance-pending{visibility:visible!important}}
body:has(>.studio-entrance){overflow:hidden}

/* The wordmark stays unframed. Keyboard navigation uses a text underline. */
.sidebar button.brand,.sidebar button.brand:focus,.sidebar button.brand:active{border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.sidebar button.brand:focus-visible>span{text-decoration:underline;text-underline-offset:7px}
main h1[tabindex="-1"]:focus{outline:none}
.insights-section{min-width:0;margin:28px 0}
.studio-dashboard>.insights-section{grid-column:1/-1;margin:0}
.insights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.insight-chart{min-width:0;overflow:hidden;align-self:start}
.insight-chart .panel-title{align-items:flex-start;gap:12px;flex-wrap:wrap}
.insight-chart h3{font-size:clamp(23px,2.2vw,32px);line-height:1.15}
.insight-chart .panel-title button{white-space:nowrap;font-size:12px;min-height:38px}
.chart-note{font-size:13px;line-height:1.65;opacity:.75;margin:10px 0 20px;max-width:75ch}
.trend-chart{width:100%;height:auto;display:block;overflow:visible}
.trend-chart text{font:11px var(--data-font);fill:var(--ink)}
.chart-grid line{stroke:var(--line);stroke-width:.7;stroke-dasharray:3 5}
.chart-grid .zero-axis{stroke:var(--ink);stroke-dasharray:none;opacity:.4}
.trend-line{animation:chart-reveal 1s ease-out both}
.chart-key{display:flex;flex-wrap:wrap;gap:16px;font-size:12px;margin-bottom:12px}
.chart-key span{display:flex;gap:7px;align-items:center}
.chart-key i,.chart-legend i{width:9px;height:9px;border-radius:50%;display:inline-block;flex-shrink:0}
.donut-layout{display:grid;grid-template-columns:minmax(150px,1fr) minmax(130px,1fr);gap:20px;align-items:center;min-height:240px}
.donut-figure{position:relative;max-width:260px;width:100%;margin:auto}
.donut-figure svg{display:block;width:100%;height:auto}
.donut-center{position:absolute;inset:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none}
.donut-center strong{font:600 clamp(14px,1.5vw,23px) var(--data-font);max-width:180%;overflow-wrap:anywhere}
.donut-center span{font-size:11px;margin-top:6px}
.donut-segment{animation:donut-in 1.1s ease-out both;transition:stroke-width .2s}
.donut-segment:hover{stroke-width:26}
.chart-legend{display:grid;gap:12px;font-size:12px;max-height:290px;overflow:auto}
.chart-legend>div{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:5px 8px;align-items:center}
.chart-legend span{overflow-wrap:anywhere}.chart-legend small{grid-column:2/4;opacity:.7}
.chart-data{border-top:1px solid var(--line);margin-top:22px;padding-top:13px}
.chart-data summary{font-size:12px;cursor:pointer;padding:6px 0}
.chart-data table{font-size:12px}.chart-data td,.chart-data th{white-space:nowrap}
.metric-bars{display:grid;gap:16px;max-height:330px;overflow:auto;padding:5px 4px 5px 0}
.metric-bar>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:7px}
.metric-bar span{overflow-wrap:anywhere}.metric-bar b{white-space:nowrap;font-family:var(--data-font)}
.metric-track{height:9px;background:color-mix(in srgb,var(--line) 25%,transparent);border-radius:6px;overflow:hidden}
.metric-track i{display:block;height:100%;width:var(--bar);background:var(--accent);transform-origin:left;animation:bar-in .9s ease-out both}
.metric-track i.negative{background:repeating-linear-gradient(135deg,var(--gold) 0 4px,var(--ink) 4px 6px)}
.statistics-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:22px 0 30px}
.statistics-strip>div{border-left:1px solid var(--line);padding-left:18px;display:flex;flex-direction:column;gap:10px;min-width:0}
.statistics-strip span{font-size:13px}.statistics-strip strong{font:500 clamp(23px,2.4vw,36px) var(--data-font);overflow-wrap:anywhere;letter-spacing:-1px}
.statistics-strip small{font-size:11px;line-height:1.5;opacity:.7}
.statistical-summary{margin:22px 0}.ledger-equation{display:flex;flex-wrap:wrap;gap:12px;font:500 20px var(--data-font)}
.analytics-filters label{min-width:150px;flex:1;max-width:350px}.analytics-filters select{width:100%}
.chart-empty{min-height:90px;display:grid;place-items:center;text-align:center;font-size:14px;opacity:.7}
@keyframes chart-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes donut-in{from{opacity:0;stroke-width:0}to{opacity:1;stroke-width:20}}
@keyframes bar-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@media(max-width:1100px){.donut-layout{grid-template-columns:1fr}.chart-legend{max-height:180px;grid-template-columns:repeat(2,minmax(0,1fr))}.statistics-strip{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.insights-grid{grid-template-columns:1fr}.donut-layout{grid-template-columns:minmax(120px,1fr) minmax(110px,1fr);gap:10px}.chart-legend{grid-template-columns:1fr}.insight-chart{padding:18px}.donut-center strong{font-size:17px}.statistics-strip{gap:18px 10px}.statistics-strip>div{padding-left:10px}.insight-chart h3{font-size:25px}}
@media(max-width:370px){.donut-layout{grid-template-columns:1fr}.donut-figure{max-width:210px}}
.calm .trend-line,.calm .donut-segment,.calm .metric-track i{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.trend-line,.donut-segment,.metric-track i{animation:none!important;transition:none!important}}
@media print{.insights-grid{display:block}.insight-chart{margin-bottom:18px;break-inside:avoid}.chart-data{display:block}.chart-data::details-content{content-visibility:visible}.chart-data>*{display:block}.chart-data summary,.insight-chart .panel-title button{display:none}.metric-bars,.chart-legend{max-height:none;overflow:visible}.trend-line,.donut-segment,.metric-track i{animation:none!important}}

/* A maker’s three steps, animated only during the light welcome. */
.entrance-journey{display:flex;align-items:flex-start;justify-content:center;gap:14px;margin:34px auto 0;width:min(290px,100%)}
.entrance-step{display:flex;flex-direction:column;align-items:center;gap:10px;animation:makerStep .65s ease both}
.entrance-step:nth-child(1){animation-delay:.35s}.entrance-step:nth-child(3){animation-delay:.75s}.entrance-step:nth-child(5){animation-delay:1.15s}
.entrance-step>span{display:grid;place-items:center;width:48px;height:48px;border:1px solid #e4d8bc;border-radius:50%;background:#fffcf6;animation:makerFloat 2.4s ease-in-out .8s infinite}
.entrance-step:nth-child(3)>span{animation-delay:1.1s}.entrance-step:nth-child(5)>span{animation-delay:1.4s}
.entrance-step svg{width:23px;height:23px;stroke:#a58b53;color:#a58b53}
.entrance-step small{font:11px Arial,sans-serif;letter-spacing:1px;color:#88734d}
.entrance-connector{width:32px;height:1px;background:#dfd0ac;margin-top:24px;transform-origin:left;animation:entranceLine .5s ease .7s both}
.entrance-connector:nth-child(4){animation-delay:1.1s}
.entrance-hairline{animation-duration:2.5s;animation-delay:.3s}
@keyframes makerStep{from{opacity:0;transform:translateY(10px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes makerFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(max-height:620px){.entrance-logo{width:72px;height:72px;margin-bottom:12px}.entrance-lockup{padding:18px}.entrance-journey{margin-top:20px}.entrance-hairline{margin:18px auto}}

/* Keep branding in view; only the navigation list scrolls. */
.shell>.sidebar{position:sticky;top:0;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden;align-self:start;padding-top:22px;padding-bottom:10px}
.sidebar>nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 3px 12px}
.sidebar>nav section{flex-shrink:0}.sidebar .nav-item{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:10px 12px;text-align:left}
.sidebar .nav-item>span{width:24px;flex:0 0 24px;display:grid;place-items:center}.sidebar .nav-item b{min-width:0;line-height:1.35;overflow-wrap:normal}
.sidebar>.sidebar-bottom{flex:0 0 auto;margin:0;padding:4px 6px;border-top:1px solid var(--line)}.sidebar-bottom>p{display:none}
.sidebar>.business-name{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;min-height:0;margin:16px 0 10px;padding:12px 10px;text-align:left;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);white-space:normal}
.business-name .business-label{font:9px Arial,sans-serif;letter-spacing:1.4px;opacity:.7}.business-name .business-value{font:20px/1.2 var(--heading-font);max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.business-name>small{display:block!important;font:11px Arial,sans-serif;opacity:.7}
.business-name:hover{background:color-mix(in srgb,var(--gold) 10%,transparent)}
@media(min-width:801px){.collapsed .sidebar>.business-name{display:none}.collapsed .sidebar>nav .nav-item{justify-content:center;padding-inline:4px}}
@media(max-width:800px){.shell>.sidebar,.shell.collapsed>.sidebar{position:fixed;inset:0 auto 0 0;height:100dvh;overflow:hidden;padding:18px 14px 12px}.sidebar>.brand,.collapsed .sidebar>.brand{min-height:130px}.sidebar>.business-name{margin-top:10px}.sidebar .nav-item{font-size:14px}.sidebar>.sidebar-bottom{display:none}}
@media(max-height:650px){.sidebar>.brand,.collapsed .sidebar>.brand{min-height:90px}.sidebar>.brand .official-logo{width:44px!important;height:44px!important}.sidebar>.brand>span{font-size:22px}.sidebar>.business-name{gap:4px;margin:8px 0;padding:8px}.business-name .business-value{font-size:17px}}
.business-name>small,.business-name>small span{color:var(--ink)!important;opacity:.8}

@media(prefers-reduced-motion:reduce){.studio-entrance *{animation:none!important;transition:none!important}}

/* A coordinated color system for the entire workspace. Gold logo is an asset. */
body{background:var(--bg);color:var(--ink)}.shell>.sidebar{background:var(--sidebar-bg);color:var(--sidebar-ink);border-color:var(--sidebar-line)}
.sidebar .brand,.sidebar .brand small,.sidebar .brand>span,.sidebar .business-name,.sidebar .business-name>small,.sidebar .business-name>small span,.sidebar .business-label,.sidebar .business-value,.sidebar nav h4,.sidebar .nav-item,.sidebar .nav-item>span,.sidebar-bottom .text{color:var(--sidebar-ink)!important}
.sidebar>.business-name{background:var(--sidebar-active);border-color:var(--sidebar-line);padding:14px 12px;border-radius:6px}.sidebar>.business-name:hover{background:var(--sidebar-active);filter:brightness(1.06)}
.sidebar .nav-item.selected,.sidebar .nav-item.selected>span{background:var(--sidebar-active);color:var(--sidebar-ink)!important}.sidebar .nav-item:hover{background:var(--sidebar-active)}.sidebar .nav-item:focus-visible,.sidebar .business-name:focus-visible{outline-color:var(--sidebar-ink)}
.sidebar nav section:last-child,.sidebar>.sidebar-bottom{border-color:var(--sidebar-line)}
.app-top,.bottom-nav{background:var(--header-bg);color:var(--ink)}.app-top{border-color:var(--line)}
.panel,.kpi,.event-card,.note,dialog,.print-selection{background:var(--card);color:var(--ink);border-color:var(--line)}
.workspace h1,.workspace h2,.workspace h3,dialog h2{color:var(--heading-color)}
.notice,.insight,.demo-banner,.event-art,.weekday,.day.today,.badge,.calendar-item,.dark-surface .notice,.dark-surface .insight,.dark-surface .badge,.dark-surface .demo-banner{background:var(--soft);color:var(--soft-ink)}
input,select,textarea,.secondary,.dark-surface .secondary,.dark-surface .pick{background:var(--field-bg);color:var(--ink);border-color:var(--line)}
.progress i,.bar-track i{background:var(--chart)}.eyebrow,.workspace .text{color:var(--heading-color)}
.theme-introduction{max-width:640px;margin:0 0 30px}.theme-introduction h2{font-size:clamp(28px,3vw,40px);margin:12px 0}.theme-introduction p{line-height:1.6}
.palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:36px}.palette-option{text-align:left;padding:9px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);min-width:0;cursor:pointer}.palette-option[aria-pressed=true]{outline:2px solid var(--chart);outline-offset:2px}.palette-scene{height:108px;background:var(--sample-bg);border-radius:5px;display:grid;grid-template-columns:23% 1fr;overflow:hidden;gap:12px}.palette-sidebar{background:var(--sample-main)}.palette-scene>div{padding:20px 14px 12px 0;display:flex;flex-direction:column;gap:12px}.palette-title{width:60%;height:7px;background:var(--sample-main);border-radius:3px}.palette-panels{display:flex;gap:7px;flex:1}.palette-panels>i{flex:1;background:color-mix(in srgb,var(--sample-main) 13%,white);border:1px solid color-mix(in srgb,var(--sample-main) 22%,transparent);border-radius:3px}.palette-panels>i:last-child{background:color-mix(in srgb,var(--sample-accent) 25%,white)}.palette-footer{height:5px;width:40%;background:var(--sample-accent);border-radius:2px}.palette-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:13px 5px 5px;font-size:13px}.palette-caption strong{font-family:var(--data-font)}.palette-selected{visibility:hidden}.palette-option[aria-pressed=true] .palette-selected{visibility:visible}
.theme-workbench{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:24px;align-items:start}.theme-workbench>*{min-width:0}.theme-workbench h2{font-size:30px}.theme-workbench .color-editors{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.color-editors small{display:block;font-size:11px;line-height:1.5;margin:10px 0}.theme-workbench fieldset{padding:10px}.theme-workbench legend{font-size:12px}.theme-workbench .theme-preview{position:sticky;top:90px;max-width:none;border-top:4px solid var(--gold)}.preview-business{background:var(--sidebar-bg);color:var(--sidebar-ink);padding:18px;margin:20px 0;font:20px var(--heading-font);border-radius:5px}.preview-sample{background:var(--soft);padding:20px;border-radius:6px}.preview-sample h3{font-size:25px}.preview-sample-lines{display:grid;gap:10px}.preview-sample-lines i{height:6px;background:var(--chart);opacity:.35;border-radius:5px}.preview-sample-lines i:nth-child(2){width:72%;background:var(--gold);opacity:.8}.preview-sample-lines i:nth-child(3){width:45%}.theme-preview .hand-note{font-size:26px;line-height:1.6}.theme-preview .tiny{margin-top:18px}
@media(max-width:1100px){.theme-workbench{grid-template-columns:1fr}.theme-workbench .theme-preview{position:static}.palette-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.palette-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.palette-scene{height:90px;gap:8px}.palette-caption{font-size:11px}.theme-workbench .color-editors{grid-template-columns:1fr}.theme-workbench h2{font-size:27px}}
@media print{.print-sheet,.print-sheet h1,.print-sheet h2,.print-sheet h3{color:#20221f;background:white}}
