/* Global product chrome: esmartbooks books UI. */
:root{
  --esb-font:"Segoe UI","Helvetica Neue",Helvetica,Arial,sans-serif;
  --esb-ink:#1a1a1a;
  --esb-muted:#6b6c72;
  --esb-line:#d4d7dc;
  --esb-bg:#f4f5f8;
  --esb-panel:#fff;
  --esb-green:#0c2340;
  --esb-green-dark:#16365c;
  --esb-link:#0c2340;
  --esb-radius:10px;
}
html:not([data-public-surface="1"]),
html:not([data-public-surface="1"]) body,
html:not([data-public-surface="1"]) #app,
html:not([data-public-surface="1"]) button,
html:not([data-public-surface="1"]) input:not([type=date]),
html:not([data-public-surface="1"]) select,
html:not([data-public-surface="1"]) textarea{
  font-family:var(--esb-font) !important;
}
html:not([data-public-surface="1"]){
  font-size:100% !important;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
html[data-theme="light"]:not([data-public-surface="1"]) body,
html:not([data-public-surface="1"]) body{
  background:var(--esb-bg) !important;
  color:var(--esb-ink);
  font-size:14px !important;
  line-height:1.22;
  -webkit-font-smoothing:antialiased;
}
main{
  background:var(--esb-bg);
}

/* Shared sidebar and KPI styles are maintained in books-ui.css. */

/* Top bar */
html[data-theme="light"] .topbar{
  height:auto !important;
  min-height:44px;
  padding:4px 12px !important;
  background:#fff !important;
  border-bottom:1px solid var(--esb-line) !important;
  box-shadow:none !important;
}
html[data-theme="light"] .topbar h1,
html[data-theme="light"] #page-title{
  font-size:18px !important;
  font-weight:600 !important;
  letter-spacing:-.01em;
  color:var(--esb-ink) !important;
}
html[data-theme="light"] .topbar p,
html[data-theme="light"] #page-subtitle{
  font-size:12px !important;
  color:var(--esb-muted) !important;
  margin:0 !important;
}
#page-subtitle:empty,
#page-subtitle[hidden]{display:none !important}
.sb-search-scope{display:none !important}
.sb-search-wrap{
  background:#fff !important;
  border:1px solid var(--esb-line) !important;
  border-radius:var(--esb-radius) !important;
  min-width:min(280px,40vw);
}
.sb-search-wrap #sb-search{height:32px !important;font-size:14px !important}

/* Buttons — books only. The public sign-in page is styled in public-theme.css. */
html:not([data-public-surface="1"]) .btn{
  border-radius:var(--esb-radius) !important;
  font-weight:600 !important;
  font-size:13px !important;
  padding:5px 10px !important;
}
html:not([data-public-surface="1"]) .btn.primary{
  background:var(--esb-green) !important;
  border-color:var(--esb-green-dark) !important;
  color:#fff !important;
  box-shadow:none !important;
}
html:not([data-public-surface="1"]) .btn.primary:hover{filter:brightness(.96)}

/* Content + cards */
#app.content,
.content{
  padding:8px 12px 14px !important;
  max-width:none !important;
}
.panel,
.form-card,
.metric{
  border:1px solid var(--esb-line) !important;
  border-radius:var(--esb-radius) !important;
  box-shadow:none !important;
  background:var(--esb-panel) !important;
}
.panel-head{padding:8px 12px !important}
.panel-head h2{font-size:13px !important;font-weight:700 !important;color:var(--esb-ink) !important;margin:0 !important}
.panel-subtitle{color:var(--esb-muted) !important;font-size:11px !important;font-weight:400 !important;margin:0 !important}

/* Shared sidebar and KPI styles are maintained in books-ui.css. */

.dashboard-hero,
.c360-hero,
.dash-hero{
  background:transparent !important;
  color:var(--esb-ink) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  margin-bottom:4px !important;
}
.dashboard-hero:after{display:none !important}
.dashboard-hero .eyebrow,
.c360-hero .eyebrow,
.dash-hero span{
  color:var(--esb-muted) !important;
  font-size:11px !important;
}
.dashboard-hero h2,
.c360-hero h2,
.dash-hero h2{color:var(--esb-ink) !important;font-size:18px !important;font-weight:600 !important;margin:0 !important}
.dashboard-hero p,
.c360-hero p,
.dash-hero p{color:var(--esb-muted) !important}
.dash-ranges{background:#f4f5f8 !important}
.dash-ranges button{color:#393a3d !important}
.dash-ranges button.active{background:#fff !important;color:var(--esb-ink) !important;box-shadow:0 0 0 1px var(--esb-line)}
.c360-score{
  background:#f4f5f8;
  border:1px solid var(--esb-line);
  border-radius:var(--esb-radius);
  padding:12px 16px;
  min-width:140px;
  text-align:right;
}
.c360-score small{display:block;color:var(--esb-muted);font-size:10px;font-weight:700}
.c360-score strong{display:block;font-size:26px;color:var(--esb-ink)}
.c360-score span{display:block;font-size:11px;color:var(--esb-muted)}

.page-actions{
  align-items:flex-end !important;
  margin-bottom:8px !important;
  gap:6px !important;
}
.page-actions .side-note{
  background:#fff !important;
  border:1px solid var(--esb-line);
  color:var(--esb-ink) !important;
  border-radius:var(--esb-radius);
  font-size:13px;
}
.c360-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
  align-items:flex-end;
  justify-content:space-between;
  margin:0;
}
.c360-toolbar label{display:block;font-size:11px;font-weight:700;color:var(--esb-muted);margin-bottom:2px}
.c360-toolbar select{
  min-width:240px;
  height:40px;
  border:1px solid var(--esb-line);
  border-radius:var(--esb-radius);
  padding:0 8px;
  font:inherit;
  background:#fff;
}
.c360-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:20px;margin:0}
.c360-profile{padding:12px 20px}
.c360-profile p{display:flex;justify-content:space-between;gap:16px;margin:0;padding:12px 0;border-bottom:1px solid var(--esb-line);font-size:13px}
.c360-profile p:last-child{border:0}
.c360-profile b{color:var(--esb-muted);font-weight:600}
.c360-profile span{text-align:right;overflow-wrap:anywhere;max-width:65%}
.c360-page{display:grid;gap:20px;min-width:0}
.c360-page .panel{margin:0;min-width:0}
.c360-page .panel-head{padding:16px 20px;align-items:center;gap:12px;flex-wrap:wrap}
.c360-page .panel-head h2{font-size:16px;margin:0}
.c360-page .panel-subtitle{display:block;line-height:1.5;margin-top:4px}
#app .c360-page .c360-hero{display:flex!important;flex-direction:row;justify-content:space-between;align-items:center;gap:20px;padding:20px;margin:0}
.c360-actions{display:flex;gap:8px;flex-wrap:wrap}
#app .c360-page .cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0}
#app .c360-page .metric{padding:16px 20px!important;min-width:0;align-items:flex-start!important}
html body[data-auth-state="authenticated"] #app .c360-page .cards .metric strong{text-align:left!important;font-size:26px!important;margin:8px 0 0!important;align-self:flex-start!important;float:none!important}
.c360-secondary{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.c360-module-details>summary{cursor:pointer;padding:18px 20px;font-weight:650}
.c360-module-details>summary span{float:right;color:var(--esb-muted);font-size:13px;font-weight:400}
.c360-company-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border:1px solid var(--esb-line);border-radius:var(--esb-radius)}
.c360-company-status p{margin:4px 0 0;font-size:13px;color:var(--esb-muted)}
@media(max-width:600px){
  .c360-toolbar>div,.c360-toolbar select{width:100%;min-width:0}
  .c360-actions .btn{flex:1}
  #app .c360-page .c360-hero{align-items:flex-start;flex-direction:column}
  .c360-score{width:100%;text-align:left}
  html body[data-auth-state="authenticated"] #app .c360-page .cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .c360-company-status{align-items:flex-start;flex-direction:column}
}

table th{
  background:#fafbfc !important;
  color:var(--esb-muted) !important;
  font-size:11px !important;
  font-weight:700 !important;
  text-transform:uppercase;
  letter-spacing:.04em;
}
table td{font-size:13px}
.badge{border-radius:10px;font-weight:700}

.global-menubar{
  background:#fff !important;
  border-bottom:1px solid var(--esb-line) !important;
  font-size:13px !important;
}

@media(max-width:900px){
  .c360-grid{grid-template-columns:1fr}
  #app .cards,.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
html[data-theme="dark"]{
  --esb-ink:#edf5ff;
  --esb-muted:#9eb1c5;
  --esb-line:#263d55;
  --esb-bg:#07182b;
  --esb-panel:#0d2238;
}
html[data-theme="dark"] .dashboard-hero,
html[data-theme="dark"] .c360-hero,
html[data-theme="dark"] .dash-hero,
html[data-theme="dark"] .c360-score{
  background:var(--esb-panel) !important;
  color:var(--esb-ink) !important;
}
html[data-theme="dark"] .dashboard-hero h2,
html[data-theme="dark"] .c360-hero h2,
html[data-theme="dark"] .c360-score strong{color:var(--esb-ink) !important}

/* Tight windows and lists */
.sidebar{
  padding:10px 8px !important;
}
.brand{padding:0 6px 10px !important;gap:8px !important}
.sidebar .brandmark{width:40px !important;height:40px !important}
.create-btn{padding:7px 10px !important;margin-bottom:8px !important}
.sidebar nav{gap:1px !important}
.nav-item{padding:6px 8px !important}
.sidebar-foot{padding:8px 6px !important;line-height:1.35 !important}

#app h1,#app h2,#app h3{margin:0 0 4px;line-height:1.2}
#app p{margin:0 0 4px;line-height:1.3}
#app .panel + .panel,
#app .cards + .panel,
#app .dashboard-hero + .cards,
#app .c360-hero + .cards{margin-top:0}

table th,table td{padding:6px 10px !important;line-height:1.25}
.table-wrap{margin:0}

.modal-backdrop{padding:12px !important;align-items:center !important;overflow:auto !important}
.modal{
  border-radius:var(--esb-radius) !important;
  width:min(var(--sb-dialog-width,860px),calc(100vw - 32px)) !important;
  max-width:calc(100vw - 24px) !important;
  max-height:min(92dvh,calc(100dvh - 24px)) !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
.modal-head,.modal-foot{padding:14px 20px !important;flex:0 0 auto;gap:12px}
.modal-head h2{margin:0;font-size:19px!important;font-weight:600;line-height:1.3}
.modal-foot{background:var(--bg,#f5f7fa);border-top:1px solid var(--line,#dfe5ed)}
.modal-body{padding:18px 20px !important;flex:1 1 auto !important;min-height:0 !important;overflow:auto !important}
.form-grid{gap:8px !important}
:is(#app, #modal-root) .field label{margin-bottom:3px !important}
:is(#app, #modal-root) .field input:not([type=date]),:is(#app, #modal-root) .field select,:is(#app, #modal-root) .field textarea{padding:6px 8px !important}

.empty,.loading{padding:20px 12px !important}
.side-note{padding:8px 10px !important}
.page-actions .side-note{padding:8px 10px !important}

.dashMain{gap:8px !important}
.dash-charts,.dash-tables,.dash-block{gap:6px !important}
.dash-block>h3{margin:0 0 2px !important;line-height:1.2}
.dash-head{margin-bottom:2px !important}
.dash-hero p{margin:2px 0 0 !important;line-height:1.25 !important}
#app.content.route-dashboard{padding:8px 12px 12px !important;max-width:none !important;margin:0 !important}
#app.content.route-dashboard > .sb-suite-banner{display:none !important}

.global-menubar{min-height:36px !important;height:36px !important}
.form-card{padding:10px 12px !important;margin-bottom:8px !important}

#app .panel,
#app .form-card,
#app .dashMain,
#app .cards,
#app .table-wrap{
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box;
}
#app .table-wrap{overflow-x:auto !important}

@media(max-width:1000px){
  html body[data-auth-state="authenticated"] main{margin-left:246px !important}
}

/* Obsolete hide-copy pass: it collapsed notes/subtitles after first paint on every module. */
/*
#page-subtitle,
header.topbar p,
#app .panel-subtitle,
#app .page-subtitle,
#app .config-help,
#modal-root .config-help,
#app .commercial-notice,
#app .sbpay-lead,
#app .center-scale-note,
#app .docform-dc-note,
#app .docform-kicker,
#app .im-fulfillment-note,
#app .sb-report-intro,
#app .dashboard-hero p,
#app .c360-hero p,
#app .esb-owner-hero p,
#app .side-note:not(#ex-no-accounts):not(label),
#modal-root .side-note:not(label){
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:0 !important;
}
*/
#app .esb-help-body .side-note,
#app .esb-help-hits .side-note{
  display:block !important;
  height:auto !important;
  margin:0 0 8px !important;
  padding:8px 10px !important;
  overflow:visible !important;
}
#app .page-actions:not(:has(button,.btn,input,select,a,[data-sb-action],label)){
  display:none !important;
}
#app .dash-hero,
#app header.dash-hero{
  display:flex !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  margin-bottom:4px !important;
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
}
#app .dash-hero h2{
  display:none !important;
}
#app .dash-hero p{
  display:block !important;
  height:auto !important;
  margin:2px 0 0 !important;
  padding:0 !important;
  overflow:visible !important;
  border:0 !important;
}
#app .dash-hero-actions,
#app .dash-ranges{
  display:flex !important;
  height:auto !important;
  overflow:visible !important;
}

/* Professional company rail */
html body[data-auth-state="authenticated"] aside.sidebar{
  width:248px !important;
  padding:0 !important;
  background:#0c2340 !important;
  background-image:linear-gradient(180deg,#0c2340 0%,#0c2340 55%,#061221 100%) !important;
  color:#eef3f8 !important;
  border-right:1px solid rgba(255,255,255,.08) !important;
  box-shadow:4px 0 24px rgba(12,35,64,.18) !important;
  display:flex !important;
  flex-direction:column !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .brand{
  background:#fff !important;
  margin:0 !important;
  padding:14px 14px 12px !important;
  gap:10px !important;
  align-items:center !important;
  border-bottom:1px solid #eef3f8 !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .brandmark{
  width:42px !important;
  height:42px !important;
  border-radius:50% !important;
  object-fit:contain !important;
  box-shadow:var(--esb-logo-shadow,none) !important;
  background:var(--esb-logo-background,transparent) !important;
  filter:var(--esb-logo-filter,none) !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .esb-word,
html body[data-auth-state="authenticated"] aside.sidebar .esb-sb,
html body[data-auth-state="authenticated"] aside.sidebar .brand strong{
  color:#0c2340 !important;
  font-size:15.5px !important;
  font-weight:800 !important;
  letter-spacing:-.02em !important;
  line-height:1.1 !important;
  -webkit-text-fill-color:currentColor !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .esb-word,
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .esb-sb,
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .brand strong{
  color:#f4f6f8 !important;
  -webkit-text-fill-color:#f4f6f8 !important;
}
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .esb-e{
  color:#e8c85a !important;
  -webkit-text-fill-color:#e8c85a !important;
}
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .esb-tag,
html[data-theme="dark"] body[data-auth-state="authenticated"] aside.sidebar .brand small{
  color:#c5d4e6 !important;
  -webkit-text-fill-color:#c5d4e6 !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .esb-tag,
html body[data-auth-state="authenticated"] aside.sidebar .brand small{
  color:#16365c !important;
  font-size:11px !important;
  font-weight:600 !important;
  margin-top:2px !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .create-btn{
  margin:12px 12px 8px !important;
  padding:11px 12px !important;
  border-radius:10px !important;
  font-size:14px !important;
  font-weight:800 !important;
  letter-spacing:.01em !important;
  box-shadow:none !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .create-btn:hover{
  filter:brightness(1.05);
}
html body[data-auth-state="authenticated"] aside.sidebar nav,
html body[data-auth-state="authenticated"] aside.sidebar #nav{
  flex:1 1 auto !important;
  padding:4px 10px 12px !important;
  gap:2px !important;
}
html body[data-auth-state="authenticated"] aside.sidebar #nav .nav-item{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:40px !important;
  padding:8px 10px !important;
  border-radius:9px !important;
  color:#d5dee8 !important;
  font-size:13.5px !important;
  font-weight:650 !important;
  letter-spacing:.01em !important;
  background:transparent !important;
  box-shadow:none !important;
}
html body[data-auth-state="authenticated"] aside.sidebar #nav .nav-item:hover{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
}
html body[data-auth-state="authenticated"] aside.sidebar #nav .nav-item.active{
  background:rgba(255,255,255,.16) !important;
  color:#fff !important;
}
html body[data-auth-state="authenticated"] aside.sidebar #nav .nav-svg{
  width:18px !important;
  height:18px !important;
  color:currentColor !important;
  stroke:currentColor !important;
  opacity:.92 !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .sidebar-foot{
  margin-top:auto !important;
  padding:12px 14px 14px !important;
  border-top:1px solid rgba(255,255,255,.1) !important;
  color:#c5d4e6 !important;
  font-size:12.5px !important;
  font-weight:650 !important;
}
html body[data-auth-state="authenticated"] aside.sidebar .sidebar-foot small{
  color:#4a5b6b !important;
  font-weight:500 !important;
}

/* Presentation Studio — keynote / hero deck */
#app.content:has(.presentation-studio),
.content:has(.presentation-studio){
  padding:0 !important;
  max-width:none !important;
}
html[data-theme="dark"] #app:has(.presentation-studio),
html[data-theme="dark"] #app.content:has(.presentation-studio){
  background:#07141c !important;
}
.presentation-studio{
  --pres-ink:#f4f6f8;
  --pres-muted:#c5d4e6;
  --pres-line:rgba(255,255,255,.12);
  --pres-green:#1d4e89;
  --pres-navy:#07161f;
  --pres-panel:#102833;
  display:flex;
  flex-direction:column;
  min-height:calc(100dvh - 86px);
  background:
    radial-gradient(1200px 520px at 8% -10%, rgba(22,54,92,.28), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, rgba(56,189,248,.14), transparent 50%),
    linear-gradient(180deg, #0a1c24 0%, #07141c 100%);
  color:var(--pres-ink);
}
.presentation-studio .presentation-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:14px 18px;
  padding:16px 22px 12px;
  margin:0;
}
.presentation-studio .pres-brand{display:grid;gap:2px;min-width:0;flex:1}
.presentation-studio .pres-brand small,
.presentation-studio .pres-kicker,
.presentation-studio .pres-slide-meta span:first-child{
  margin:0;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8eb0d4 !important;
}
.presentation-studio .pres-brand b{
  font-size:15px;
  font-weight:700;
  letter-spacing:-.02em;
  color:#fff;
}
.presentation-studio .pres-company{
  display:grid;
  gap:3px;
  margin:0;
}
.presentation-studio .pres-company span{
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--pres-muted);
}
.presentation-studio .pres-company select{
  min-width:220px;
  height:36px;
  border:1px solid var(--pres-line);
  border-radius:10px;
  background:#0d2430;
  color:#fff;
  padding:0 10px;
  font:inherit;
}
.presentation-studio .pres-actions{display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}
.presentation-studio .btn{
  height:36px !important;
  padding:0 14px !important;
  border-radius:10px !important;
  border:1px solid var(--pres-line) !important;
  background:rgba(255,255,255,.06) !important;
  color:#f4f6f8 !important;
}
.presentation-studio .btn.primary{
  background:#0c2340 !important;
  border-color:#16365c !important;
  color:#fff !important;
}
.presentation-studio .btn:disabled{opacity:.35}
.presentation-studio .presentation-stage{
  flex:1;
  display:flex;
  flex-direction:column;
  margin:0 16px 16px;
  border:1px solid var(--pres-line);
  border-radius:22px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(16,40,51,.72), rgba(7,20,28,.92));
  box-shadow:0 30px 80px rgba(0,0,0,.35);
}
.presentation-studio .presentation-progress{
  height:3px;
  background:rgba(255,255,255,.08);
}
.presentation-studio .presentation-progress span{
  display:block;
  height:100%;
  background:linear-gradient(90deg,#0c2340,#8eb0d4);
  transition:width .25s ease;
}
.presentation-studio .presentation-slide{
  flex:1;
  min-height:min(62vh,640px);
  padding:28px clamp(22px,5vw,64px) 36px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:var(--pres-ink);
}
.presentation-studio .pres-slide-meta{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
  color:var(--pres-muted);
  font-size:12px;
  font-weight:650;
}
#app .presentation-studio h1{
  margin:8px 0 14px !important;
  font-size:clamp(36px,5.4vw,64px) !important;
  line-height:1.05 !important;
  font-weight:750 !important;
  letter-spacing:-.04em;
  max-width:14ch;
  color:#fff !important;
}
#app .presentation-studio h2{
  margin:4px 0 12px !important;
  font-size:clamp(26px,3.4vw,42px) !important;
  line-height:1.12 !important;
  font-weight:750 !important;
  letter-spacing:-.03em;
  color:#fff !important;
}
#app .presentation-studio .pres-lead{
  margin:0 0 22px !important;
  max-width:42rem;
  font-size:17px !important;
  line-height:1.55 !important;
  color:var(--pres-muted) !important;
}
.presentation-studio .pres-hero{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:28px 48px;
  align-items:center;
}
.presentation-studio .pres-proof{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none;
}
.presentation-studio .pres-proof li{
  margin:0;
  padding:7px 12px;
  border:1px solid var(--pres-line);
  border-radius:999px;
  background:rgba(255,255,255,.05);
  font-size:12px;
  font-weight:700;
  color:#eef3f8;
}
.presentation-studio .pres-hero-panel{
  background:rgba(255,255,255,.05);
  border:1px solid var(--pres-line);
  border-radius:18px;
  padding:8px 22px 10px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.presentation-studio .pres-hero-panel ol,
.presentation-studio .pres-agenda{
  margin:0;
  padding:0;
  list-style:none;
  counter-reset:pres;
}
.presentation-studio .pres-hero-panel li,
.presentation-studio .pres-agenda li{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  column-gap:12px;
  padding:13px 0;
  border-top:1px solid var(--pres-line);
}
.presentation-studio .pres-hero-panel li:first-child,
.presentation-studio .pres-agenda li:first-child{border-top:0}
.presentation-studio .pres-hero-panel li::before,
.presentation-studio .pres-agenda li::before{
  counter-increment:pres;
  content:counter(pres, decimal-leading-zero);
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  color:#8eb0d4;
  margin-top:3px;
}
#app .presentation-studio .pres-hero-panel b,
#app .presentation-studio .pres-agenda b{
  display:block;
  margin:0 0 3px;
  font-size:15px;
  color:#fff;
}
#app .presentation-studio .pres-hero-panel p,
#app .presentation-studio .pres-agenda p,
#app .presentation-studio .pres-tiles p,
#app .presentation-studio .pres-rail p{
  margin:0 !important;
  font-size:13.5px !important;
  line-height:1.45 !important;
  color:var(--pres-muted) !important;
}
.presentation-studio .pres-agenda{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 32px;
  max-width:980px;
}
.presentation-studio .pres-rail{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:10px;
  margin:8px 0 0;
  padding:0;
  list-style:none;
}
.presentation-studio .pres-rail li{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:132px;
  padding:16px 16px 18px;
  border-radius:16px;
  border:1px solid var(--pres-line);
  background:rgba(255,255,255,.04);
}
.presentation-studio .pres-rail em{
  font-style:normal;
  font-size:11px;
  font-weight:800;
  letter-spacing:.1em;
  color:#8eb0d4;
}
#app .presentation-studio .pres-rail b,
#app .presentation-studio .pres-tiles b{
  font-size:15px;
  letter-spacing:-.02em;
  color:#fff;
}
.presentation-studio .pres-tiles{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  margin-top:4px;
}
.presentation-studio .pres-tiles article{
  padding:16px 16px 18px;
  border-radius:16px;
  border:1px solid var(--pres-line);
  background:rgba(255,255,255,.04);
}
.presentation-studio .pres-tiles article.is-accent{
  border-color:rgba(29,78,137,.45);
  background:rgba(12,35,64,.14);
}
.presentation-studio .presentation-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 18px 16px;
  border-top:1px solid var(--pres-line);
}
.presentation-studio .pres-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
.presentation-studio .pres-dot{
  width:8px;
  height:8px;
  margin:0;
  border:0;
  border-radius:999px;
  background:rgba(255,255,255,.28);
  cursor:pointer;
}
.presentation-studio .pres-dot.active{
  width:22px;
  background:#1d4e89;
}
.tour-overlay{
  background:rgba(5,14,20,.78);
  backdrop-filter:blur(8px);
}
.tour-card{
  width:min(980px,96vw);
  background:#102833;
  color:#f4f6f8;
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  box-shadow:0 40px 90px rgba(0,0,0,.45);
}
.tour-card .pres-hero,
.tour-card .pres-rail,
.tour-card .pres-tiles,
.tour-card .pres-agenda{color:inherit}
.tour-head small{letter-spacing:.1em;text-transform:uppercase;color:#8eb0d4;font-weight:800}
.tour-head button{color:#fff}
.tour-card .pres-kicker{
  margin:0 0 6px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#8eb0d4;
}
.tour-card h2{color:#fff;letter-spacing:-.03em}
.tour-card .pres-lead{color:#c5d4e6;max-width:40rem;line-height:1.5}
.tour-card .pres-hero{display:grid;gap:18px}
.tour-card .pres-hero-panel,
.tour-card .pres-rail li,
.tour-card .pres-tiles article{
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.04);
}
.tour-card .pres-hero-panel{padding:8px 18px}
.tour-card .pres-rail,
.tour-card .pres-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;list-style:none;margin:8px 0 0;padding:0}
.tour-card .pres-rail li,
.tour-card .pres-tiles article{padding:12px 14px;min-height:0}
.tour-card .pres-proof{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.tour-card .pres-proof li{padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);font-size:12px;font-weight:700}
@media(max-width:900px){
  .presentation-studio{min-height:calc(100dvh - 64px)}
  .presentation-studio .pres-hero,
  .presentation-studio .pres-agenda{grid-template-columns:1fr}
  .presentation-studio .presentation-slide{min-height:0;padding:22px 18px 28px}
  .presentation-studio .pres-actions{margin-left:0}
}
@media print{
  .presentation-studio{
    background:#fff !important;
    color:#111 !important;
    min-height:0;
  }
  .presentation-studio .presentation-stage{
    border:0;
    box-shadow:none;
    background:#fff !important;
  }
  .presentation-studio .presentation-slide,
  #app .presentation-studio h1,
  #app .presentation-studio h2,
  #app .presentation-studio .pres-lead,
  #app .presentation-studio .pres-hero-panel p,
  #app .presentation-studio .pres-rail b,
  #app .presentation-studio .pres-tiles b{
    color:#111 !important;
  }
}
