/* Invocursor website, demo and new-customer workspace only. */
@font-face{font-family:'Invocursor Manrope';src:url('/assets/brand-fonts/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Invocursor Manrope';src:url('/assets/brand-fonts/manrope-bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:'Invocursor Sora';src:url('/assets/brand-fonts/sora-semibold.ttf') format('truetype');font-weight:500 800;font-display:swap}
@font-face{font-family:'Manrope';src:url('/assets/brand-fonts/manrope-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Manrope';src:url('/assets/brand-fonts/manrope-bold.ttf') format('truetype');font-weight:600 800;font-display:swap}
@font-face{font-family:'Sora';src:url('/assets/brand-fonts/sora-semibold.ttf') format('truetype');font-weight:500 800;font-display:swap}
:root{--ic-bg:#f7f1e7;--ic-surface:#fffdf9;--ic-rail:#fff8ed;--ic-ink:#281b11;--ic-muted:#715d4b;--ic-line:#e7d7c3;--ic-accent:#ea7b1d;--ic-action:#b7540c;--ic-soft:#fbe7cc;--ic-shadow:0 8px 28px #7042140a;--ic-font:'Invocursor Manrope',system-ui,sans-serif;--ic-heading:'Invocursor Sora',system-ui,sans-serif}
html[data-theme=dark]{--ic-bg:#17110d;--ic-surface:#251c15;--ic-rail:#21170f;--ic-ink:#fff2df;--ic-muted:#d3bda7;--ic-line:#503b29;--ic-accent:#f89a48;--ic-action:#b7540c;--ic-soft:#3d2919;--ic-shadow:0 8px 28px #0002}
body.invocursor-site,body.invocursor-demo,body.ops{font-family:var(--ic-font);color:var(--ic-ink)}
.invocursor-site :is(h1,h2,h3,h4,.nav-brand-text),.ops :is(h1,h2,h3,.workspace-brand),.invocursor-demo :is(h1,h2,h3,.inv-product-brand){font-family:var(--ic-heading)}
body.invocursor-site{--bg:var(--ic-bg);--text:var(--ic-ink);--muted:var(--ic-muted)}
.invocursor-site :is(button,a,input,summary):focus-visible,.ops :is(button,a,input,select,summary):focus-visible,.invocursor-demo :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--ic-action);outline-offset:4px}
.invocursor-site .nav{background:var(--bg-panel);border-color:var(--ic-line);box-shadow:0 10px 32px #7042140d}
.invocursor-site :is(.button,.button-outline){border-radius:999px;min-height:44px;transition:box-shadow .18s,background .18s,transform .18s}
.invocursor-site .button{background:var(--ic-action);color:#fff;box-shadow:0 5px 16px #b7540c20}
.invocursor-site .button:hover{background:#944106;box-shadow:0 7px 22px #b7540c30;transform:translateY(-1px)}
.invocursor-site .button-outline{border-color:var(--ic-line)}
.invocursor-site :is(.panel,.price-card,.pricing-card,.feature-card){border-radius:28px;border-color:var(--ic-line)}
.invocursor-site .nav-menu{border-radius:22px;box-shadow:0 16px 40px #7042141a}
.invocursor-site .nav-links a[aria-current=page]{color:var(--ic-action);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px}
.invocursor-site .workspace-entry{color:var(--ic-muted);font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;padding:10px 3px}
.invocursor-site .workspace-entry:hover{color:var(--ic-action)}
.invocursor-site .nav-actions{gap:12px}
.invocursor-site .nav-burger svg,.invocursor-site [data-theme-toggle] svg{display:block;width:20px;height:20px}
.invocursor-site .mobile-menu{border-radius:24px;border-color:var(--ic-line)}
.invocursor-site .mobile-menu>.button{display:flex;width:100%;margin-top:14px}

/* Same material, typography and shapes across both workspace modes. */
body.ops{--bg:var(--ic-bg);--bg-panel:var(--ic-surface);--bg-panel-strong:var(--ic-surface);--text:var(--ic-ink);--muted:var(--ic-muted);--border:var(--ic-line);--accent:var(--ic-accent);--accent-strong:var(--ic-action);--accent-soft:var(--ic-soft);background:radial-gradient(ellipse at 85% 0,#ffddb33d,transparent 40%),var(--ic-bg)}
.ops .layout{padding:16px;gap:20px;grid-template-columns:236px minmax(0,1fr)}
.ops .rail{background:var(--ic-rail);color:var(--ic-ink);border:1px solid var(--ic-line);border-radius:28px;padding:25px 16px;box-shadow:var(--ic-shadow);position:sticky;top:16px;align-self:start;min-height:calc(100dvh - 32px)}
.ops .workspace-brand{color:var(--ic-ink);font-size:21px;letter-spacing:-1px}
.ops .workspace-brand img,.inv-product-brand img{width:32px;height:32px;border-radius:11px;background:#fff}
.ops .workspace-label{border:1px solid var(--ic-line);border-radius:18px;background:var(--ic-surface)}
.ops .workspace-label strong{color:var(--ic-ink)}
.ops .workspace-label small,.ops .rail-footer small{color:var(--ic-muted)}
.ops .workspace-label .avatar,.ops .avatar{background:var(--ic-soft);color:#804010}
.ops .rail nav{gap:8px}
.ops .rail nav button{color:var(--ic-muted);border-radius:14px;min-height:46px}
.ops .rail nav button:hover{background:var(--ic-soft);color:var(--ic-ink)}
.ops .rail nav button[aria-current=page]{background:var(--ic-action);color:#fff;border-color:var(--ic-action);box-shadow:0 5px 14px #b7540c20}
.ops .rail-footer a{color:var(--ic-muted)}
.ops .main{padding:0 8px 24px;min-width:0}
.ops .workspace-top{margin:0 0 28px;padding:15px 20px;background:var(--ic-surface);border:1px solid var(--ic-line);border-radius:24px;box-shadow:var(--ic-shadow)}
.ops .crumb{color:var(--ic-muted)}
.ops .workspace-top .avatar{width:34px;height:34px}
.ops .demo-indicator{background:var(--ic-soft);color:#804010;border-color:#e7c89f;border-radius:999px;padding:6px 11px}
.ops .page-heading{margin:0 4px 24px}
.ops h1{font-size:27px;letter-spacing:-1px;line-height:1.25}
.ops h2{font-size:16px;line-height:1.45;letter-spacing:-.5px}
.ops .card{border-radius:24px;background:var(--ic-surface);border-color:var(--ic-line);box-shadow:var(--ic-shadow)}
.ops .stat{border-top:3px solid #eda65f}
.ops .stat strong{font-family:var(--ic-heading);font-size:34px;letter-spacing:-1.5px;color:var(--ic-ink)}
.ops .stat small{color:var(--ic-muted);line-height:1.55}
.ops :is(button,.button){border-radius:999px;min-height:40px;font-family:var(--ic-font)}
.ops .primary{background:var(--ic-action);border-color:var(--ic-action);color:#fff}
.ops .primary:hover{background:#944106}
.ops :is(input,select,textarea){border-radius:13px;border-color:#d1b89b;background:var(--ic-surface);font-family:var(--ic-font)}
.ops .trend{background:repeating-linear-gradient(to top,var(--ic-line) 0,var(--ic-line) 1px,transparent 1px,transparent 40px)}
.ops .trend-bar{border-radius:9px 9px 0 0;background:linear-gradient(#eea350,#d36b14)}
.ops .progress{background:var(--ic-soft)}
.ops .badge{border-radius:999px}.ops .badge.neutral{background:#f2e9dc;color:#69513c}
.ops .badge.good{background:#e7f0e5;color:#3a633b}
.ops th{background:var(--ic-rail);color:var(--ic-muted)}
.ops th:first-child{border-radius:12px 0 0 12px}.ops th:last-child{border-radius:0 12px 12px 0}
.ops tbody tr:hover{background:var(--ic-rail)}
.ops .calendar button{border-radius:12px}
.ops .calendar button[aria-pressed=true]{background:var(--ic-soft);color:#804010;border-color:#d9ac79}
.ops .calendar button[aria-pressed=false]{background:var(--ic-surface);color:var(--ic-muted);border-color:var(--ic-line)}
.ops .session-details,.ops .operator-entry{color:var(--ic-muted)}
.ops .customer-login{border-radius:30px;background:var(--ic-surface);border-color:var(--ic-line);box-shadow:0 16px 55px #70421410}
.ops .customer-login h1{font-size:30px}
.ops .shell-top{margin:16px auto;border-radius:28px;width:calc(100% - 32px);border:1px solid var(--ic-line);background:var(--ic-surface);box-shadow:var(--ic-shadow)}
.ops dialog{border-radius:26px;background:var(--ic-surface);border-color:var(--ic-line)}

/* Native sample app: isolated selectors, no changes to the legacy widget. */
body.invocursor-demo{background:var(--ic-bg);color:var(--ic-ink);--cp-primary:#ea7b1d!important;--cp-primary-dark:#b7540c!important;--cp-primary-rgb:234,123,29!important;--cp-primary-dark-rgb:183,84,12!important}
.invocursor-demo .app-shell{padding:16px;gap:20px}
body.invocursor-demo .sidebar{width:222px;top:16px;height:calc(100dvh - 32px);padding:20px 12px;background:var(--ic-rail);color:var(--ic-ink);border:1px solid var(--ic-line);border-radius:28px;box-shadow:var(--ic-shadow)}
.inv-product-brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:700;letter-spacing:-1px;color:var(--ic-ink);text-decoration:none;padding:2px 8px 22px}
.invocursor-demo .sidebar-logo{color:var(--ic-ink);border:1px solid var(--ic-line);background:var(--ic-surface);border-radius:16px;font-size:13px;padding:13px}
.invocursor-demo .sidebar-section{color:var(--ic-muted);padding-left:12px}
body.invocursor-demo .sidebar-link{color:var(--ic-muted);background:transparent;border:1px solid transparent;border-radius:14px;padding:10px 12px;margin:4px 0;font-family:var(--ic-font)}
body.invocursor-demo .sidebar-link:hover{background:var(--ic-soft);color:var(--ic-ink)}
body.invocursor-demo .sidebar-link.active{color:#fff;background:var(--ic-action);border-color:var(--ic-action)}
.invocursor-demo .sidebar-link .badge{background:var(--ic-soft);color:#804010}
body.invocursor-demo .topbar{border-radius:24px;border:1px solid var(--ic-line);background:var(--ic-surface);top:16px;padding:16px 22px;box-shadow:var(--ic-shadow)}
.invocursor-demo .topbar h1{color:var(--ic-ink);font-size:21px}
.invocursor-demo .topbar-user{color:var(--ic-muted)}
.invocursor-demo .avatar{background:var(--ic-soft);color:#804010}
body.invocursor-demo .content{background:transparent;padding:24px 0}
body.invocursor-demo :is(.card,.stat-card){border-radius:24px;background:var(--ic-surface);border-color:var(--ic-line);box-shadow:var(--ic-shadow)}
body.invocursor-demo :is(.btn,.btn-primary,.btn-outline,.mini-btn){border-radius:999px;font-family:var(--ic-font)}
body.invocursor-demo .btn-primary{background:var(--ic-action);color:#fff}
body.invocursor-demo :is(input,textarea,select){border-radius:12px;border-color:#d1b89b;color:var(--ic-ink);font-family:var(--ic-font)}
body.invocursor-demo th{background:var(--ic-rail);color:var(--ic-muted)}
body.invocursor-demo .demo-tour-strip{border-radius:20px;background:var(--ic-surface)!important;border-color:var(--ic-line)!important;color:var(--ic-ink)}
body.invocursor-demo .demo-tour-strip a{color:var(--ic-action)}
body.invocursor-demo #cp-widget{--cp-primary:#ea7b1d!important;--cp-primary-dark:#b7540c!important;--cp-primary-rgb:234,123,29!important;font-family:var(--ic-font)}
body.invocursor-demo #cp-widget #cp-panel{border-radius:26px;border-color:#dfc5a6;box-shadow:0 16px 50px #70421426}
body.invocursor-demo #cp-widget #cp-header{background:#fff1dc!important;border-bottom:1px solid #e7d7c3!important;padding:16px}
body.invocursor-demo #cp-widget #cp-header h3{color:#442c18!important;font-family:var(--ic-heading);font-size:14px}
body.invocursor-demo #cp-widget :is(#cp-clear,#cp-close,#cp-history-btn){background:#f3dfc3!important;color:#654322!important;border-radius:11px}
body.invocursor-demo #cp-widget .cp-teach-toggle .cp-teach-label{color:#654322!important}
body.invocursor-demo #cp-widget #cp-log{background:#fffaf2}
body.invocursor-demo #cp-widget .cp-msg{border-radius:17px;font-family:var(--ic-font)}
body.invocursor-demo #cp-widget #cp-input{border-radius:16px;min-height:48px;font-family:var(--ic-font)}
body.invocursor-demo #cp-widget :is(#cp-send,#cp-mic){border-radius:14px}
body.invocursor-demo #cp-widget #cp-send{background:var(--ic-action)!important}
body.invocursor-demo #cp-widget .demo-chat-footer{font-family:var(--ic-font)}
@media(max-width:1100px){.ops .layout{grid-template-columns:205px minmax(0,1fr);gap:14px}.ops .workspace-top{padding:14px 16px}.ops .main{padding:0 0 24px}.invocursor-site .nav{gap:12px}.invocursor-site .nav-links{gap:12px}}
@media(max-width:860px){.invocursor-demo .app-shell{padding:10px;gap:14px}body.invocursor-demo .sidebar{width:100%;height:auto;position:static;display:flex;flex-wrap:wrap;padding:12px;border-radius:22px;overflow:visible;gap:6px}.invocursor-demo .inv-product-brand{width:100%;padding:3px 4px 10px;font-size:19px}.invocursor-demo .sidebar-logo{display:none}body.invocursor-demo .sidebar-link{padding:8px 11px;margin:0;font-size:12px;flex:0 0 auto}body.invocursor-demo .topbar{position:static;padding:15px;border-radius:22px;gap:12px;flex-wrap:wrap}.invocursor-demo .topbar h1{font-size:19px}body.invocursor-demo .content{padding:4px 0}.invocursor-demo .topbar-user{display:none}.invocursor-site .nav-actions .workspace-entry{font-size:12px}}
@media(max-width:700px){.ops .layout{display:block;padding:10px}.ops .rail{position:static;min-height:0;padding:16px 12px;border-radius:24px}.ops .rail nav{gap:5px}.ops .rail nav button{border-radius:12px;font-size:11px;min-height:38px}.ops .workspace-top{margin:14px 0 24px;border-radius:22px}.ops .main{padding:0 0 20px}.ops .card{border-radius:21px}.ops .cards{gap:10px}.ops .stat strong{font-size:29px}.ops .page-heading{margin-left:4px}.ops .shell-top{margin:10px;width:calc(100% - 20px);padding:14px;border-radius:24px}.ops .workspace-top>.inline{gap:6px}.ops .demo-indicator{font-size:10px;padding:5px 8px}.invocursor-site .nav-actions{gap:8px}.invocursor-site .nav-actions>.workspace-entry{display:none}.invocursor-site .mobile-menu .workspace-entry{display:block;border-top:1px solid var(--ic-line);margin-top:14px;padding:15px 0}}
@media(prefers-reduced-motion:reduce){.invocursor-site *,.ops *,.invocursor-demo *{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:640px){.invocursor-site .nav{border-radius:24px}.invocursor-site .nav-brand-text{display:inline;font-size:17px}.invocursor-site .nav-actions>.button{display:none}.invocursor-site .nav-brand img{width:35px;height:35px}.invocursor-site .nav-actions{margin-left:auto}}

/* Keep each header group on one baseline; collapse before the pill gets crowded. */
.invocursor-site>nav>.shell{width:min(100%,1440px);max-width:1440px}
.invocursor-site .nav{display:flex;flex-wrap:nowrap;gap:28px;padding:14px 22px}
.invocursor-site .nav-brand,.invocursor-site .nav-actions{flex:0 0 auto}
.invocursor-site .nav-links{flex:1;justify-content:center;gap:clamp(16px,1.7vw,26px)}
.invocursor-site .nav-links :is(a,button){font-size:14px;white-space:nowrap;line-height:1.4}
.invocursor-site .nav-actions{gap:16px;margin-left:auto;align-items:center}
.invocursor-site .nav-actions .button{font-size:13px;padding:13px 19px;white-space:nowrap}
.invocursor-site .nav-actions .workspace-entry{font-size:12px;padding:10px 0}
.invocursor-site .theme-toggle{width:42px;height:42px;flex:0 0 42px;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:1240px){.invocursor-site .nav .nav-links{display:none}.invocursor-site .nav .nav-burger{display:inline-flex}.invocursor-site .nav{gap:18px}.invocursor-site .nav-brand{margin-right:auto}}
@media(max-width:640px){.invocursor-site .nav{padding:12px 16px;gap:12px}.invocursor-site .nav-actions{gap:10px}.invocursor-site .nav-actions .theme-toggle{display:none}}

/* Northstar is a different product: distinguish the sample app from Invocursor. */
body.invocursor-demo{--ic-bg:#eef6f5;--ic-surface:#fcfffe;--ic-rail:#103d40;--ic-ink:#143b3e;--ic-muted:#506d6c;--ic-line:#cde1dc;--ic-accent:#16877f;--ic-action:#096b65;--ic-soft:#d8eee7;--ic-shadow:0 8px 28px #123f3a0c}
body.invocursor-demo .sidebar{color:#effbf6}
.invocursor-demo .sidebar .inv-product-brand{color:#effbf6}
.invocursor-demo .sidebar .sidebar-logo{background:#1d5051;border-color:#3a6866;color:#effbf6}
.invocursor-demo .sidebar .sidebar-section{color:#a6cbc2}
body.invocursor-demo .sidebar-link{color:#c9e3dc}
body.invocursor-demo .sidebar-link:hover{background:#235d5b;color:#fff}
body.invocursor-demo .sidebar-link.active{background:#b9e4cc;color:#123d39;border-color:#b9e4cc}
.invocursor-demo .sidebar-link .badge{background:#3a7168;color:#fff}
.invocursor-demo .topbar-actions>a{color:#096b65!important;border-color:#8ec3b8!important}
body.invocursor-demo :is(.stat-card,.btn-outline){border-color:#aacfc2;color:#1a5a50}
.invocursor-demo .topbar .avatar{background:#d8eee7;color:#1a5a50}
body.invocursor-demo th{background:#e6f2ed}
body.invocursor-demo #cp-widget #cp-send{background:#b7540c!important}
@media(max-width:860px){body.invocursor-demo .sidebar{border-radius:22px}.invocursor-demo .sidebar .inv-product-brand{font-size:18px}}

.ops .availability-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.3fr);gap:20px;align-items:start}
.ops .date-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin:20px 0}
.ops .date-calendar .day-name{font-size:11px;text-align:center;color:var(--ic-muted);padding:7px 0}
.ops .date-calendar button{min-width:0;min-height:44px;padding:5px 0;border-radius:13px;display:flex;flex-direction:column;gap:0;font-size:13px;border-color:transparent}
.ops .date-calendar button i{height:9px;font-size:14px;line-height:8px;color:var(--ic-action)}
.ops .date-calendar button[aria-pressed=true]{background:var(--ic-action);color:#fff}.ops .date-calendar button[aria-pressed=true] i{color:#fff}
.ops .date-calendar .outside-month{color:#9f8d7e}.ops .date-calendar button:disabled{opacity:.3}
.ops .availability-range{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:22px 0}.ops .availability-range label{flex:1;min-width:110px}
.ops .time-slots{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0 24px}.ops .time-slots .empty{width:100%}
.ops .time-slots button{background:var(--ic-soft);border-color:#dfc2a2;font-size:12px;gap:10px}.ops .time-slots button span{font-size:11px}.ops .time-slots button:disabled{background:#eae7e2;color:#5b564f;opacity:1}
.ops .time-slots button[aria-pressed=true]{background:var(--ic-action);color:#fff}
.ops .availability-save{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:22px;padding-top:20px;border-top:1px solid var(--ic-line)}
.ops .booking-flow h2,.ops .booking-success h2{font-size:25px;margin:10px 0}.ops .booking-flow form{display:grid;gap:16px}.ops .booking-summary{border-radius:16px;background:var(--ic-soft);padding:12px;font-weight:700;font-size:13px}.ops .booking-success{padding:20px 0}
.ops #booking-notice:empty{display:none}
@media(max-width:1050px){.ops .availability-layout{grid-template-columns:1fr}.ops .date-calendar{max-width:420px}.ops .availability-save{flex-wrap:wrap}}
