/* K9Tech Aurora. Only opt-in corporate documents use this palette. */
body[data-k9-theme="aurora"]{--k9-bg:#050e15;--k9-surface:#0c202b;--k9-surface-raised:#12323d;--k9-text:#f4fafc;--k9-muted:#c4d7df;--k9-teal:#25d9ca;--k9-line:#466a77;--k9-glow:url('/brand/aurora-background.webp');background:var(--k9-bg);color:var(--k9-text);color-scheme:dark}
body[data-k9-theme] :is(button,input,select,textarea,summary,a):focus-visible{outline:3px solid #65fff1;outline-offset:4px}
body[data-k9-theme] :is(input,textarea)::placeholder{opacity:1}
body[data-k9-theme] :is(button,a){-webkit-tap-highlight-color:#25d9ca33}
body[data-k9-theme] :is(button,input,select,textarea){font-size:16px}
/* Marketing: quiet surfaces behind text, light trails around the product. */
body[data-k9-theme] .refresh-site{--ink:#f4fafc;--navy:#f4fafc;--muted:#c4d7df;--gold:#25d9ca;background:#050e15;color:#f4fafc}
body[data-k9-theme] .refresh-site .marketing-nav{max-width:none;background:#050e15;color:#f4fafc;border-color:#25444f;padding-left:max(5vw,calc((100vw - 1312px)/2));padding-right:max(5vw,calc((100vw - 1312px)/2))}
body[data-k9-theme] .refresh-site .nav-links a{color:#f4fafc}
body[data-k9-theme] .refresh-site .refresh-hero{max-width:none;padding-left:max(5vw,calc((100vw - 1312px)/2));padding-right:max(5vw,calc((100vw - 1312px)/2));gap:48px;background:linear-gradient(90deg,#050e15f2 0%,#050e15ce 42%,#050e1533 72%),var(--k9-glow) center bottom/cover no-repeat;min-height:720px}
body[data-k9-theme] .refresh-site :is(h1,h2,h3,h4){color:#f4fafc}
body[data-k9-theme] .refresh-site :is(.refresh-hero h1 em,h2 em,.mpv-story h3 em){color:#25d9ca}
body[data-k9-theme] .refresh-site :is(.eyebrow,.refresh-benefits>div>span,.product-stage-top,.mpv-story>span,.form-title span,.package-grid article>span,.switch-steps b){color:#83eee3}
body[data-k9-theme] .refresh-site :is(.refresh-hero-copy>p,.section-heading p,.refresh-benefits p,.refresh-choice-grid p,.refresh-founder p,.switch-steps p,.package-grid article p,.package-grid article li,.package-note,.price small,.price span,.setup,.faq details p,.demo-intro>p,.demo-steps,.refresh-trust,.design-caption,.stage-bottom,.refresh-product-stage>p,.mpv-story>p,.mpv-story li,.mpv-story>small,.mpv-stage-label,footer small,footer p){color:#c4d7df}
body[data-k9-theme] .refresh-site :is(.primary-cta,.form-submit){background:#25d9ca;color:#042326!important;border-color:#25d9ca;box-shadow:0 0 24px #25d9ca12;font-weight:500}
body[data-k9-theme] .refresh-site :is(.primary-cta,.form-submit):hover{background:#65eee0;color:#042326!important}
body[data-k9-theme] .refresh-site :is(.text-cta,.design-caption a,footer a){color:#93f6ed}
body[data-k9-theme] .refresh-site .refresh-trust span:before{color:#25d9ca}
body[data-k9-theme] .refresh-product-stage{background:#0c202bd9;border-color:#466a77;box-shadow:0 20px 65px #0006,0 0 45px #25d9ca12}
body[data-k9-theme] .stage-bottom b{color:#83eee3}
body[data-k9-theme] .refresh-product-stage>p{border-color:#466a77}
body[data-k9-theme] .refresh-site .refresh-benefits{background:#07161e;border-color:#294b57;gap:22px;padding-top:30px;padding-bottom:30px}
body[data-k9-theme] .refresh-benefits>div,body[data-k9-theme] .refresh-benefits>div+div{padding:26px;background:linear-gradient(145deg,#10323c,#0a1c26);border:1px solid #466a77;border-radius:15px}
body[data-k9-theme] .refresh-site :is(.journey-band,.websites,.refresh-founder,.faq){background:#050e15}
body[data-k9-theme] .refresh-site :is(.refresh-choice,.switch,.packages,.demo-section){background:#081923;border-color:#294b57}
body[data-k9-theme] .refresh-site :is(.journey-showcase,.refresh-choice-grid article,.package-grid article,.package-grid .featured-package){background:#0c202b!important;color:#f4fafc;border-color:#466a77}
body[data-k9-theme] .refresh-site .package-grid article.featured-package{border-color:#25d9ca}
body[data-k9-theme] .refresh-site :is(.price,.package-grid article .price,.faq summary,.refresh-choice-grid h3,.switch-steps h3,.form-title h3){color:#f4fafc}
body[data-k9-theme] .refresh-site :is(.package-grid article ul,.switch-steps article,.faq details){border-color:#466a77}
body[data-k9-theme] .refresh-site .package-grid article .primary-cta{background:#25d9ca}
body[data-k9-theme] .refresh-site :is(.choice-icon,.step-orbit){background:#173c47;border-color:#4f7e8d;color:#a1fff2}
body[data-k9-theme] .refresh-site :is(.journey-select button,.design-tabs button){background:#0c202b;color:#f4fafc;border-color:#466a77}
body[data-k9-theme] .refresh-site :is(.journey-select small,.design-tabs button small){color:#c4d7df;opacity:1}
body[data-k9-theme] .refresh-site :is(.journey-select button.selected,.design-tabs button[aria-selected=true]){background:#17454e;color:#fff;border-color:#25d9ca;box-shadow:inset 0 0 0 1px #25d9ca}
body[data-k9-theme] .refresh-site .journey-select button.selected small{color:#e1f6f5}
body[data-k9-theme] .refresh-site .journey-select button.selected .step-orbit{background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] .refresh-site .design-caption a{font-weight:500}
/* Marketing form stays light, matching the approved mock-up. */
body[data-k9-theme] .refresh-site .demo-form{color-scheme:light;background:#f8fbfc;border-color:#92b1bc;color:#102d49}
body[data-k9-theme] .refresh-site .demo-form :is(h3,label){color:#102d49}
body[data-k9-theme] .refresh-site .demo-form :is(input,select,textarea){background:#fff;color:#102d49;border-color:#7c93a3}
body[data-k9-theme] .refresh-site .demo-form :is(input,textarea)::placeholder{color:#526477}
body[data-k9-theme] .refresh-site .demo-form :is(.form-title span,small){color:#425b70}
body[data-k9-theme] .refresh-site .demo-form small a{color:#126375}
body[data-k9-theme] .refresh-site .form-message.success{background:#d7f5e9;color:#15492f}
body[data-k9-theme] .refresh-site .form-message.error{background:#ffebe5;color:#7e3025}
body[data-k9-theme] .refresh-site footer.section{background:#030b11;border-top:1px solid #294b57;color:#c4d7df}
/* Keep the illustrative customer phone bright and company-branded. */
body[data-k9-theme] .refresh-site .product-phone{background:#f3f8fd;color:#142b45}
body[data-k9-theme] .refresh-site .product-phone :is(h3,p,small){color:#243e58}
body[data-k9-theme] .refresh-site .product-phone .phone-estimate strong{color:#183c61}
body[data-k9-theme] .refresh-site .browser-chrome{background:#edf4f8;color:#34516b}
/* Company and staff entry: atmospheric exterior, readable light form. */
body[data-k9-theme] :is(.admin-login-shell,.sales-login){background:linear-gradient(90deg,#050e15d9,#050e1599),var(--k9-glow) center bottom/cover no-repeat,#050e15;color:#f4fafc}
body[data-k9-theme] .admin-login-shell::before{display:none}
body[data-k9-theme] .admin-portal-lockup{background:transparent;padding:0;border-radius:0;box-shadow:none;width:min(350px,100%)}
body[data-k9-theme] .admin-portal-message h2{color:#f4fafc}
body[data-k9-theme] .admin-portal-message h2 em{color:#25d9ca}
body[data-k9-theme] :is(.admin-portal-message>span,.admin-portal-foot){color:#afdadf;font-size:13px}
body[data-k9-theme] .admin-portal-message p{color:#d1e0e7}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card){background:#f8fbfc;color:#102d49;border-color:#a0b8c4;color-scheme:light;box-shadow:0 28px 80px #0005}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) :is(h1,h2,h3,label){color:#102d49}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) :is(p,small,.sales-wordmark>span){color:#425b70}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) .admin-kicker{color:#126375}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) :is(input,select,textarea){background:#fff;color:#102d49;border-color:#7c93a3}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) :is(input,textarea)::placeholder{color:#526477}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) button{background:#067b7b;color:#fff;border-color:#067b7b;font-weight:500}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) button:hover:not(:disabled){background:#075f66}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) a{color:#125d72}
body[data-k9-theme] .sales-login-card>button+button,body[data-k9-theme] .sales-login .sales-resend-link{background:#edf6f8;color:#174960;border-color:#7c93a3}
body[data-k9-theme] :is(.admin-login-card,.sales-login-card) :focus-visible,body[data-k9-theme] .refresh-site .demo-form :focus-visible{outline-color:#087e81;box-shadow:0 0 0 3px #1b9a9a22}
body[data-k9-theme] .sales-login-feedback{background:#d7f5e9;border-color:#44866d}
body[data-k9-theme] .sales-login-feedback :is(strong,p){color:#15492f}
body[data-k9-theme] .sales-login .sales-link-requested{background:#d7f5e9;color:#15492f;border-color:#44866d}
body[data-k9-theme] .sales-login .sales-login-error{background:#ffebe5;color:#7e3025;border-color:#be8170}
/* Signed-in company tools and help keep opaque surfaces beneath working text. */
body[data-k9-theme] :is(.dashboard-shell,.sales-live,.invite-onboarding){background:radial-gradient(ellipse at 100% 0,#123d433b,transparent 45%),#050e15;color:#f4fafc}
body[data-k9-theme] :is(.dashboard-header,.sales-session,.invite-onboarding-top){background:#071923;border-color:#466a77;color:#f4fafc}
body[data-k9-theme] .dashboard-shell :is(.lead-detail,.setup-home,.setup-panel,.settings-panel,.billing-panel,.help-panel,.help-navigator,.help-hero,.help-guide,.help-search,.help-send-options>div,.pricing-example){background:#0c202b;border-color:#466a77}
body[data-k9-theme] .dashboard-shell :is(h1,h2,h3,h4,label,.lead-summary){color:#f4fafc}
body[data-k9-theme] .dashboard-shell :is(.help-search-heading p,.help-library-heading p,.help-local-note,.help-route-heading p,.help-send-options p,.help-quick-searches>span,.help-guide-body p,.help-guide-body li,.lead-person span,.lead-route>span,.lead-price span){color:#c4d7df}
body[data-k9-theme] .dashboard-shell :is(.admin-kicker,.help-match-label,.help-search-contact,.help-hero-links a){color:#83eee3}
body[data-k9-theme] .dashboard-shell :is(input,select,textarea){background:#071923;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .dashboard-shell :is(input,textarea)::placeholder{color:#b2c9d3}
body[data-k9-theme] .dashboard-shell :is(.dashboard-nav button,.help-panel button){background:#14303d;color:#f4fafc;border-color:#5b808e}
body[data-k9-theme] .dashboard-shell :is(.dashboard-nav button.active,.help-panel button[aria-pressed=true],.help-submit,.setup-home-primary,.admin-primary-link){background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] .dashboard-shell .context-help-link,body[data-k9-theme] .admin-login-card .context-help-link{background:#e5f7f7;color:#10465b;border-color:#72b7bd}
body[data-k9-theme] .dashboard-shell .help-guide.help-best-match{background:#12343d;border-color:#7ae7dd}
body[data-k9-theme] .invite-onboarding-card{background:#0c202b;border-color:#466a77;color:#f4fafc}
/* Native Sales Desk: same identity, with clear state colours and no glow under fields. */
body[data-k9-theme].k9-sales-desk{--muted:#c4d7df;--border:#466a77;--ink:#f4fafc;--navy:#f4fafc;--gold:#25d9ca;background:#050e15;color:#f4fafc}
body[data-k9-theme] .top{background:#071923;border-color:#466a77}
body[data-k9-theme] .top .wordmark small{color:#c4d7df}
body[data-k9-theme] .practice{background:#12303d;color:#dceef2;border-color:#527887}
body[data-k9-theme] .desk-sidebar{background:#071923;border-right:1px solid #355966}
body[data-k9-theme] .desk-sidebar button{color:#d5e7ed}
body[data-k9-theme] .desk-sidebar button[aria-current]{background:#25d9ca;color:#042326}
body[data-k9-theme] .desk-sidebar button[aria-current] span{color:#042326}
body[data-k9-theme] .desk-sidebar :is(.sidebar-label,.sidebar-foot){color:#b9d3de}
body[data-k9-theme] .shell :is(h1,h2,h3,.heading,.desk-stats strong,.company-card-info strong,.field>span,.ready-list b,.price){color:#f4fafc}
body[data-k9-theme] .shell :is(.intro,.overview-heading p,#overviewLoadStatus,.desk-stats span,.desk-stats small,.field small,.hint,.company-card-info>span,.company-next,.overview-list-heading>span,.coach-question,.ready-list li,.recommendation p,.result-option span,.history small,.help-grid p,.help-bottom p,.footer,.company-picker label,.drawer>summary){color:#c4d7df}
body[data-k9-theme] .shell :is(.eyebrow,.coach-label,.overview-open,.text-button,.status){color:#83eee3}
body[data-k9-theme] .shell :is(.card,.desk-stats>div,.overview-company-card,.recommendation,.message-preview,.result-option,.help-bottom,.brand-strip,.say){background:#0c202b;color:#f4fafc;border-color:#466a77}
body[data-k9-theme] #companyWorkspace :is(.card,.field>span,.hint){color:#f4fafc}
body[data-k9-theme] .shell .overview-company-card:hover{background:#143541;border-color:#7ae7dd}
body[data-k9-theme] .company-avatar,body[data-k9-theme] .help-number{background:#16434d;color:#a2fff0}
body[data-k9-theme] .overview-company-status{background:#173845;color:#c6f6ef}
body[data-k9-theme] .today-start{background:linear-gradient(130deg,#0d2c37,#103e42);border:1px solid #4d848a}
body[data-k9-theme] .today-start .eyebrow{color:#83eee3}
body[data-k9-theme] .today-start p{color:#d0e5eb}
body[data-k9-theme] .today-start .primary{background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] .shell button{background:#153440;color:#f4fafc;border-color:#638895;font-weight:500}
body[data-k9-theme] .shell button:hover{background:#21505a}
body[data-k9-theme] .shell :is(button.primary,#saveCompanyButton,.desk-action-buttons button.primary){background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] .shell :is(input,select,textarea){background:#071923;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .shell :is(input,textarea)::placeholder{color:#b2c9d3}
body[data-k9-theme] .shell :is(.progress button[aria-current],.intro-channels button[aria-pressed=true],.result-option[aria-pressed=true]){background:#17454e;color:#f4fafc;border-color:#25d9ca;box-shadow:inset 0 0 0 1px #25d9ca}
body[data-k9-theme] .shell .result-option[aria-pressed=true] span{color:#d4efed}
body[data-k9-theme] .desk-actions{background:#102d37;border:1px solid #466a77}
body[data-k9-theme] .desk-summary{background:#0c202b;border:1px solid #466a77;border-top:0;color:#c4d7df}
body[data-k9-theme] .desk-summary :is(#followSummary,#messageSummary){color:#c4d7df}
body[data-k9-theme] .desk-summary>span{color:#a1f4c6}
body[data-k9-theme] .brand-strip span{color:#c4d7df}
body[data-k9-theme] #overviewCallbacks #followQueue{background:#2b291a;color:#fff0bc;border-color:#b69d55}
body[data-k9-theme] #followQueue :is(h2,.hint){color:#fff0bc}
body[data-k9-theme] #followQueue .queue-row{background:#36321e;color:#fff9e5;border-color:#b69d55;border-left-color:#e4c66f}
body[data-k9-theme] #followQueue .queue-row :is(small,.queue-priority){color:#f2dfaa}
body[data-k9-theme] .overview-warning{background:#3b3219;color:#fff0bc;border-color:#c3a452}
body[data-k9-theme] .overview-save-row button{background:#fff0bc;color:#392d0d;border-color:#fff0bc}
body[data-k9-theme] .shell :is(.success-card,.status-success){background:#14392e;color:#c5fbe0;border-color:#70be93}
body[data-k9-theme] .shell .success-card h2{color:#d7ffe8}
body[data-k9-theme] .shell :is(.note-save-actions>span,.note-save-actions .save-confirmed-text){color:#a1f4c6}
body[data-k9-theme] .shell :is(.note-save-actions .save-confirmed,#saveCompanyButton.save-confirmed){background:#c5fbe0;color:#103e2a;border-color:#70be93}
body[data-k9-theme] .shell .no-contact{background:#412923;color:#ffe3d9;border-color:#d49b87}
body[data-k9-theme] #savedMessages pre{color:#d7e9ef}
body[data-k9-theme] .modal{background:#0c202b;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .modal .hint{color:#c4d7df}
body[data-k9-theme] .modal .modal-header{border-color:#466a77}
/* No animated glow: reduced motion is respected without losing information. */
@media(max-width:800px){body[data-k9-theme] .refresh-site .refresh-hero{min-height:0;padding-left:24px;padding-right:24px;background-position:65% bottom;gap:32px}body[data-k9-theme] .refresh-site .marketing-nav{padding-left:24px;padding-right:24px}}
@media(max-width:520px){body[data-k9-theme] .refresh-site .refresh-hero{padding-left:22px;padding-right:22px}body[data-k9-theme] .refresh-benefits>div,body[data-k9-theme] .refresh-benefits>div+div{padding:22px}body[data-k9-theme] .refresh-site .nav-links{font-size:14px}body[data-k9-theme] .shell :is(.desk-stats span,.desk-stats small){font-size:12px}body[data-k9-theme] .shell .progress button{font-size:12px}body[data-k9-theme] .top .wordmark small{font-size:13px}}

body[data-k9-theme] #companyWorkspace .card{background:#0c202b;border-color:#466a77}
/* Contrast fixes from the rendered-page audit. */
body[data-k9-theme] .refresh-site .packages .package-grid .eyebrow{color:#83eee3}
body[data-k9-theme] .refresh-site .demo-section .form-title h3{color:#102d49}
body[data-k9-theme] .refresh-site .design-caption>span{color:#c4d7df;font-size:13px}
@media(max-width:760px){body[data-k9-theme] .desk-sidebar button{font-size:13px;line-height:1.4}}
/* The onboarding journey shares the corporate Aurora workspace. */
body[data-k9-theme] .onboarding-mock,body[data-k9-theme] .invite-onboarding-shell{background:linear-gradient(125deg,#050e15ef,#050e15c9),var(--k9-glow) center top/cover fixed,#050e15;color:#f4fafc;color-scheme:dark}
body[data-k9-theme] .onboarding-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #466a77}
body[data-k9-theme] .onboarding-brand img{width:190px;height:auto}
body[data-k9-theme] .onboarding-brand span{font-size:13px;letter-spacing:.1em;color:#c4d7df}
body[data-k9-theme] .setup-page .setup-intro{padding:28px 0 12px}
body[data-k9-theme] .setup-page :is(.setup-card,.setup-progress,.setup-status){background:#0c202b;border-color:#466a77;box-shadow:0 18px 48px #0003}
body[data-k9-theme] .setup-page :is(h1,h2,h3,.setup-field>span,.setup-status strong){color:#f4fafc}
body[data-k9-theme] .setup-page :is(.setup-intro p,.setup-card-heading p,.setup-status small,.setup-field small,.setup-progress small){color:#c4d7df;font-size:14px;line-height:1.6}
body[data-k9-theme] .setup-page :is(.admin-kicker,.setup-card-heading>span){color:#83eee3;font-size:13px}
body[data-k9-theme] .setup-page .setup-card-heading{border-color:#466a77;background:linear-gradient(110deg,#12343d,#0c202b)}
body[data-k9-theme] .setup-page .setup-progress button{color:#e2edf2;opacity:1;min-height:64px}
body[data-k9-theme] .setup-page .setup-progress strong{font-size:15px;font-weight:500;line-height:1.4}
body[data-k9-theme] .setup-page .setup-progress button:hover:not(:disabled){background:#14303d}
body[data-k9-theme] .setup-page .setup-progress button.active{background:#17434a;color:#f4fafc;box-shadow:inset 3px 0 #25d9ca}
body[data-k9-theme] .setup-page .setup-progress button>span{color:#d3e3ea;background:#071923;border-color:#6b8a97;font-size:13px}
body[data-k9-theme] .setup-page .setup-progress button.active>span,body[data-k9-theme] .setup-page .setup-status>span{color:#042326;background:#25d9ca;border-color:#25d9ca}
body[data-k9-theme] .setup-page :is(.setup-text-input,.number-input){background:#071923;color:#f4fafc;border-color:#6b8a97;font-size:16px}
body[data-k9-theme] .setup-page .number-input :is(input,b){color:#f4fafc}
body[data-k9-theme] .setup-page input::placeholder{color:#b2c9d3;opacity:1}
body[data-k9-theme] .setup-page .setup-text-input:focus{background:#0a2631;border-color:#25d9ca;box-shadow:0 0 0 3px #25d9ca33}
body[data-k9-theme] .setup-page .ai-research-note{background:#12343d;color:#f4fafc;border-color:#50888d;margin-top:24px}
body[data-k9-theme] .setup-page .ai-research-note p{color:#d3e3ea;font-size:14px;line-height:1.6}
body[data-k9-theme] .setup-page .ai-research-mark{background:#25d9ca;color:#042326;font-weight:500}
body[data-k9-theme] .setup-page .quote-link-preview{background:#071923;border-color:#466a77;padding:22px}
body[data-k9-theme] .setup-page .quote-link-preview :is(span,strong){color:#83eee3}
body[data-k9-theme] .setup-page .quote-link-preview small{color:#c4d7df;font-size:14px;line-height:1.6}
body[data-k9-theme] .setup-page .setup-actions{background:#071923;border-color:#466a77;align-items:center;flex-wrap:wrap}
body[data-k9-theme] .setup-page .setup-actions button.primary{background:#25d9ca;color:#042326;border:1px solid #25d9ca;font-weight:500;box-shadow:0 5px 25px #25d9ca18}
body[data-k9-theme] .setup-page .mock-source-link{color:#bde6e4;font-size:14px}
body[data-k9-theme] .setup-page .colour-picker .selected{box-shadow:0 0 0 3px #25d9ca}
body[data-k9-theme] .setup-page .company-preview{border:1px solid #6b8a97;background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--preview-colour) 22%,transparent),transparent 62%),#071923}
body[data-k9-theme] .setup-page .company-preview :is(p,small){color:#d3e3ea}
body[data-k9-theme] .setup-page .company-preview :is(.company-preview-top small,.company-preview-detail small){font-size:12px;line-height:1.5;letter-spacing:.08em}
body[data-k9-theme] .setup-page .company-preview-logo:not(.has-logo){color:#071923}
body[data-k9-theme] .setup-page .pricing-success{background:#123b31;color:#c5f9df;border:1px solid #5f9e85}
body[data-k9-theme] .invite-onboarding-top{background:transparent;border:0}
body[data-k9-theme] .invite-onboarding-top img{background:transparent;padding:0;width:170px}
body[data-k9-theme] .invite-onboarding-top span{color:#c4d7df;font-size:13px}
body[data-k9-theme] .invite-onboarding-card{background:linear-gradient(135deg,#12343d,#0c202b 55%);border-color:#466a77;border-radius:20px;padding:34px}
body[data-k9-theme] .invite-onboarding-kicker{color:#83eee3;font-size:13px}
body[data-k9-theme] .invite-onboarding-shell :is(.invite-onboarding-intro,.invite-onboarding-hint,.invite-onboarding-fields small,.invite-onboarding-actions small){color:#c4d7df;font-size:14px;line-height:1.6}
body[data-k9-theme] .invite-onboarding-fields label{color:#f4fafc;font-weight:500;font-size:16px}
body[data-k9-theme] .invite-onboarding-shell :is(.invite-onboarding-fields input,.invite-onboarding-money,.invite-onboarding-price-fields label){background:#071923;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .invite-onboarding-shell .invite-onboarding-money input{background:transparent}
body[data-k9-theme] .invite-onboarding-progress{background:#315661;height:6px}
body[data-k9-theme] .invite-onboarding-progress span{background:#25d9ca}
body[data-k9-theme] .invite-onboarding-actions button{background:#25d9ca;color:#042326;border-color:#25d9ca;font-weight:500;box-shadow:none}
body[data-k9-theme] .invite-onboarding-actions button.invite-onboarding-back,body[data-k9-theme] .invite-onboarding-top button{background:#14303d;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] :is(.setup-page,.invite-onboarding-shell) :focus-visible{outline:3px solid #83eee3;outline-offset:4px}
@media(max-width:600px){body[data-k9-theme] .onboarding-brand img{width:140px}body[data-k9-theme] .onboarding-brand span{font-size:11px;max-width:125px;text-align:right}body[data-k9-theme] .invite-onboarding-card{padding:25px 20px}body[data-k9-theme] .setup-page .setup-intro{padding-top:10px}body[data-k9-theme] .setup-page .setup-progress strong{font-size:13px}}
body[data-k9-theme] .setup-page .company-preview-logo:not(.has-logo){background:#f4fafc;color:#102d49;border:3px solid var(--preview-colour)}
body[data-k9-theme] .setup-page .company-preview-copy>span{color:#e2edf2;font-size:13px;line-height:1.5;letter-spacing:.08em}
/* Complete company workspace surfaces, sharing tools and subscription screens. */
body[data-k9-theme] .dashboard-shell :is(.dashboard-welcome,.share-link-card,.share-guide-card,.company-qr-card,.dashboard-stats>div,.enquiries-panel,.pricing-card,.pricing-quick-guide,.private-test-email,.private-preview-link,.launch-contact-check){background:#0c202b;color:#f4fafc;border-color:#466a77;box-shadow:0 12px 36px #0002}
body[data-k9-theme] .dashboard-shell .dashboard-welcome{background:linear-gradient(110deg,#12343d,#0c202b)}
body[data-k9-theme] .dashboard-shell :is(.dashboard-welcome p,.share-link-card p,.share-guide-card p,.company-qr-details p,.company-qr-details small,.dashboard-stats span,.panel-heading p,.dashboard-message,.pricing-card-heading p,.pricing-quick-guide ol,.private-test-email p,.private-preview-link p,.launch-contact-check span,.pricing-field small){color:#c4d7df}
body[data-k9-theme] .dashboard-shell :is(.share-link-url,.help-signin){color:#83eee3}
body[data-k9-theme] .dashboard-shell :is(.share-link-actions a,.share-guide-footer button,.company-qr-actions button,.dashboard-welcome button,.setup-back,.private-test-email button,.private-preview-link a){background:#14303d;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .dashboard-shell :is(.share-link-actions .share-link-copy,.company-qr-actions button:first-child,.setup-actions .setup-next,.pricing-save-bar button:not(:disabled)){background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] .dashboard-shell :is(.share-guide-sample,.pricing-save-bar){background:#071923;color:#e2edf2;border-color:#466a77}
body[data-k9-theme] .dashboard-shell :is(.lead-card,.panel-heading,.pricing-card-heading){border-color:#466a77}
body[data-k9-theme] .dashboard-shell .lead-summary:hover{background:#14303d}
body[data-k9-theme] .dashboard-shell .panel-heading>span{background:#14303d;color:#d3e3ea}
body[data-k9-theme] :is(.billing-panel,.billing-banner,.billing-status,.billing-consent,.billing-price-grid>div){background:#0c202b;color:#f4fafc;border-color:#466a77}
body[data-k9-theme] :is(.billing-price-grid,.billing-price-grid>div+div,.billing-plan-choice,.billing-test-badge){border-color:#6b8a97}
body[data-k9-theme] :is(.billing-panel .billing-note,.billing-price-grid span,.billing-price-grid small,.billing-banner span,.billing-plan-choice small,.billing-test-badge){color:#c4d7df}
body[data-k9-theme] :is(.billing-panel button,.billing-banner button){background:#14303d;color:#f4fafc;border-color:#6b8a97}
body[data-k9-theme] .billing-panel .billing-primary{background:#25d9ca;color:#042326;border-color:#25d9ca}
body[data-k9-theme] :is(.billing-consent input,.billing-plan-choice input){accent-color:#25d9ca}
body[data-k9-theme] .billing-review{background:#050e15!important;color:#f4fafc}
body[data-k9-theme] .billing-review>.billing-actions button[aria-pressed=true],body[data-k9-theme] .billing-review .billing-actions button[aria-pressed=true]{background:#25d9ca!important;color:#042326!important}
body[data-k9-theme] :is(.billing-panel,.dashboard-shell) :focus-visible{outline:3px solid #83eee3;outline-offset:4px}

/* Salesperson-shared company examples use the same corporate exterior. */
body[data-k9-theme].k9-sales-example{background:linear-gradient(120deg,#050e15ee,#050e15dd),var(--k9-glow) center/cover fixed,#050e15;color:#f4fafc;font-family:"K9 Plex","Segoe UI",sans-serif}
body[data-k9-theme].k9-sales-example :is(.card,.sample,.error){background:#0c202b;border-color:#466a77;color:#f4fafc}
body[data-k9-theme].k9-sales-example :is(p,.notice){color:#c4d7df;font-size:15px}
body[data-k9-theme].k9-sales-example h1{font-weight:300}
body[data-k9-theme].k9-sales-example button:not(.demo-action){background:#25d9ca;color:#042326;border-color:#25d9ca}
/* Explicit specificity keeps package headings bright regardless of bundle order. */
body[data-k9-theme] .refresh-site .package-grid article h3{color:#f4fafc}

/* Complete Aurora coverage for familiar moves and launch review. */
body[data-k9-theme] .setup-page :is(.benchmark-row,.setup-explainer,.calibration-summary,.preview-list article){background:#0c202b;border-color:#466a77;color:#f4fafc;box-shadow:none}
body[data-k9-theme] .setup-page .benchmark-number{background:#25d9ca;color:#042326}
body[data-k9-theme] .setup-page .benchmark-price>div{background:#071923;border-color:#6b8a97}
body[data-k9-theme] .setup-page :is(.benchmark-row p,.benchmark-price>span,.setup-explainer p,.calibration-summary span,.calibration-summary small,.calibration-summary p,.preview-list article span,.preview-list article small){color:#c4d7df}
body[data-k9-theme] .setup-page :is(.benchmark-price input,.benchmark-price b,.calibration-summary strong,.preview-list article strong){color:#f4fafc}
body[data-k9-theme] .setup-page .benchmark-price input:focus-visible{outline-color:#25d9ca}
body[data-k9-theme] .setup-page .setup-intro{background:#071923;border-color:#466a77}
body[data-k9-theme] .setup-page .setup-home-state{background:#12343d;color:#83eee3;border-color:#466a77}

body[data-k9-theme] .setup-page .preview-list .match-pill.good{background:#12443d;color:#c7fff0;border:1px solid #3ea88d}
body[data-k9-theme] .setup-page .preview-list .match-pill.review{background:#44331a;color:#ffe2ae;border:1px solid #9e7f42}

/* Aurora enquiry details: keep nested brief panels in the platform palette. */
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail :is(.brief-card,.brief-highlight,.brief-primary-action){background:#0c202b;border-color:#466a77;color:#f4fafc}
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail .brief-card-heading{border-bottom-color:#466a77}
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail :is(.brief-item,.inventory-list div){border-bottom-color:#365662;color:#c4d7df}
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail .brief-icon{background:#12323d;color:#83eee3}
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail :is(.brief-item span,.brief-highlight>span,.inventory-list div,.empty-detail){color:#c4d7df}
body[data-k9-theme="aurora"] .dashboard-shell .lead-detail :is(.brief-highlight:first-child>strong,.job-brief-header h2 span){color:#83eee3}

/* Light working dialogs own every text/control colour; the dark shell must not leak in. */
body[data-k9-theme].k9-sales-desk #introDialog{
 --dialog-ink:#142b45;--dialog-muted:#425b70;--dialog-line:#7c93a3;
 color-scheme:light;background:#fff;color:var(--dialog-ink);border-color:var(--dialog-line)
}
body[data-k9-theme].k9-sales-desk #introDialog :is(.modal-header,.field>span,.check){color:var(--dialog-ink)}
body[data-k9-theme].k9-sales-desk #introDialog :is(.hint,.field small,.small,#introMode){color:var(--dialog-muted)}
body[data-k9-theme].k9-sales-desk #introDialog :is(input,textarea,select){background:#fff;color:var(--dialog-ink);border-color:var(--dialog-line)}
body[data-k9-theme].k9-sales-desk #introDialog :is(input,textarea)::placeholder{color:#526477;opacity:1}
body[data-k9-theme].k9-sales-desk #introDialog button{background:#edf3f9;color:#173f65;border:1px solid var(--dialog-line)}
body[data-k9-theme].k9-sales-desk #introDialog button:hover:not(:disabled){background:#dce8f2;color:#142b45}
body[data-k9-theme].k9-sales-desk #introDialog :is(button.primary,.intro-channels button[aria-pressed=true]){background:#143d64;color:#fff;border-color:#143d64}
body[data-k9-theme].k9-sales-desk #introDialog :is(button.primary,.intro-channels button[aria-pressed=true]):hover:not(:disabled){background:#0d2d4c;color:#fff}
body[data-k9-theme].k9-sales-desk #introDialog .status{color:#244563}
body[data-k9-theme].k9-sales-desk #introDialog .status-success{background:#e4f4ea;color:#173f2a}
body[data-k9-theme].k9-sales-desk #introDialog :focus-visible{outline-color:#087e81}
body[data-k9-theme] .refresh-site .bqp-gallery-actions>p{color:#c4d7df}

/* Introduction navigation belongs to the dialog, never off-screen below the form. */
body[data-k9-theme].k9-sales-desk #introDialog .modal-header{position:sticky;top:0;z-index:3;background:#fff;gap:12px;flex-wrap:wrap}
body[data-k9-theme].k9-sales-desk #introDialog .modal-header button{min-height:44px;flex-shrink:0}
body[data-k9-theme].k9-sales-desk #introDialog .intro-return-bar{position:sticky;bottom:0;z-index:2;margin:20px -20px -20px;padding:14px 20px;background:#fff;border-top:1px solid #a0b8c4;box-shadow:0 -5px 15px #142b4510}
body[data-k9-theme].k9-sales-desk #introDialog .intro-return-bar button{width:100%;min-height:48px}
@media(max-width:600px){body[data-k9-theme].k9-sales-desk #introDialog .intro-return-bar{margin-left:-16px;margin-right:-16px;margin-bottom:-16px;padding:12px 16px}}
