@font-face{font-family:Manrope;src:url('/static/brand-font-body.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:Manrope;src:url('/static/brand-font-semibold.woff2') format('woff2');font-weight:600 800;font-display:swap}
@font-face{font-family:Oswald;src:url('/static/brand-font-heading.woff2') format('woff2');font-weight:500 800;font-display:swap}
:root[data-avi-theme=brand]{--design-popover:#20201c;--design-input:#20201c;--design-radius:8px;--design-glass:none;--theme-danger:#f2a09a;color-scheme:dark;--avi-bg:#171714;--avi-surface:#20201c;--avi-surface-soft:#272722;--avi-text:#f0efe7;--avi-text-2:#d6d5cc;--avi-muted:#aaa99e;--avi-blue:#fa4b00;--avi-blue-hover:#ff702f;--avi-blue-soft:#38261d;--avi-border:#414139;--avi-green:#abd0a2;--avi-green-soft:#25342a;--avi-amber:#e9bd77;--avi-amber-soft:#3a3021;--avi-red:#f2a09a;--avi-red-soft:#3b2525;--theme-accent:#fa4b00;--theme-on-accent:#171714;--theme-canvas:#171714;--theme-card:#20201c;--theme-panel:#272722;--theme-nav:#191916;--theme-soft:#38261d;--theme-border:#414139;--theme-ink:#f0efe7;--theme-muted:#aaa99e;--theme-shadow:0 8px 28px #00000020;--theme-chart1:#fa4b00;--theme-chart2:#b8c99b;--theme-chart3:#a6b8c9;--theme-chart4:#e7be80;--theme-chart5:#c9a4ba;--soft-text:#f0efe7;--soft-secondary:#aaa99e;--soft-blue:#fa4b00;--soft-blue-hover:#ff702f;--soft-card:#20201c;--soft-panel:#272722;--soft-nav:#191916;--soft-line:#414139;--soft-input:#20201c;--soft-shadow:0 8px 28px #00000020}
html[data-avi-theme=brand] body.avi-glass-app{font-family:Manrope,Arial,sans-serif!important}
html[data-avi-theme=brand] .avi-glass-app :is(h1,h2,.brandmark strong,.page-title){font-family:Oswald,'Arial Narrow',sans-serif;letter-spacing:-.02em}
html[data-avi-theme=brand] .avi-glass-app :is(h1,.page-title){font-weight:600}
html[data-avi-theme=brand] .avi-glass-app :is(.card,.panel,.quote-panel,.form-card,.wizard-card,.day-list,.day-counter,.crm-card,.login-card){border-radius:8px!important;backdrop-filter:none!important}
html[data-avi-theme=brand] .avi-glass-app :is(.btn,button,.primary,.secondary,input,select,textarea){border-radius:5px}
html[data-avi-theme=brand] .avi-glass-app :is(table,thead,tbody,tr,td,th){background-color:transparent;color:var(--theme-ink);border-color:var(--theme-border)}
html[data-avi-theme=brand] .avi-glass-app :is(thead,th){background-color:#272722!important}
html[data-avi-theme=brand] .avi-glass-app tbody tr:hover{background:#2b2b25}
html[data-avi-theme=brand] .avi-glass-app :is(input,textarea)::placeholder{color:#96968c;opacity:1}
html[data-avi-theme=brand] .avi-glass-app :is(a,button,input,select,textarea):focus-visible{outline:2px solid #ff7a40;outline-offset:3px}
.avi-theme-swatch.brand-theme{background:linear-gradient(135deg,#171714 55%,#fa4b00 55%);border:1px solid #777!important}
.avi-theme-menu .avi-theme-swatch{display:inline-block;width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important;flex:0 0 22px!important;margin:0!important;padding:0!important}
.avi-theme-menu button{min-width:0;white-space:normal;text-align:left;align-items:center;gap:10px}
.avi-theme-menu button>span{min-width:0;overflow-wrap:anywhere;line-height:1.4}
html[data-avi-theme=brand] .avi-glass-app :is(.avi-theme-menu,.setup-step,.home-cabinet-cell){background:#20201c!important;color:var(--theme-ink)!important;border-color:var(--theme-border)!important}
html[data-avi-theme=brand] .avi-glass-app :is(.notice.success,.today-ready.active){background:#25342a!important;color:#c9e0c2!important;border-color:#435c49!important}
html[data-avi-theme=brand] .avi-glass-app :is(.today-mini-btn,.today-telegram){background:#272722!important;color:var(--theme-ink)!important;border-color:var(--theme-border)!important}
html[data-avi-theme=brand] .avi-glass-app :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#20201c!important;color:#f0efe7!important;border-color:#505046!important}
html[data-avi-theme=brand] .avi-glass-app select option{background:#20201c;color:#f0efe7}
html[data-avi-theme=brand] .avi-theme-menu button[aria-pressed=true]{box-shadow:inset 3px 0 #fa4b00}
.brand-pilot-chip{font:600 10px/1.25 Manrope,Arial,sans-serif;letter-spacing:.07em;text-transform:uppercase;border:1px solid currentColor;border-radius:3px;padding:5px 7px;white-space:nowrap;color:var(--theme-muted,#777)}
/* Public entry pages are deliberately independent of CRM theme preferences. */
.brand-public{--accent:#fa4b00;--paper:#efeee5;--muted:#a9a99d;--line:#35352e;margin:0;background:#171714;color:var(--paper);font:14px/1.7 Manrope,Arial,sans-serif;color-scheme:dark}
.brand-public *{box-sizing:border-box}.brand-public a{color:inherit;text-decoration:none}.brand-public button,.brand-public input{font:inherit}.brand-public :focus-visible{outline:2px solid #ff8b57;outline-offset:5px}
.brand-public .wrap{width:min(1320px,calc(100% - 96px));margin:auto}.brand-public .public-header{border-bottom:1px solid var(--line)}
.brand-public .header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand-public .brand-lockup{display:flex;align-items:center;gap:13px}.brand-public .brand-icon{width:39px;height:39px;flex:none}.brand-public .wordmark{font:600 23px/1.05 Oswald,'Arial Narrow',sans-serif;letter-spacing:.01em}.brand-public .wordmark small{display:block;font:400 9px/1.7 Manrope,Arial,sans-serif;color:var(--muted);letter-spacing:.13em;text-transform:uppercase;margin-top:4px}
.brand-public .public-nav{display:flex;align-items:center;gap:30px;font:500 12px Oswald,sans-serif;letter-spacing:.06em;text-transform:uppercase}.brand-public .public-nav a:hover{color:var(--accent)}
.brand-public .action{display:inline-flex;justify-content:center;align-items:center;gap:32px;min-height:56px;padding:16px 25px;background:var(--accent);color:#171714;font:600 13px Oswald,sans-serif;letter-spacing:.04em;text-transform:uppercase;border:1px solid var(--accent);cursor:pointer}.brand-public .action:hover{background:#ff6b2b}.brand-public .action .arrow{font:28px/1 Arial,sans-serif}.brand-public .action.secondary{background:transparent;color:var(--paper);border-color:#59594d}
.brand-public .hero{display:grid;grid-template-columns:1.12fr 1fr;gap:65px;align-items:center;min-height:690px;padding-top:62px;padding-bottom:65px}.brand-public .eyebrow{display:flex;align-items:center;gap:11px;font:500 11px Oswald,sans-serif;letter-spacing:.11em;text-transform:uppercase;color:var(--muted);margin:0 0 30px}.brand-public .eyebrow:before{content:'';width:5px;height:5px;background:var(--accent);flex:none}
.brand-public h1{font:600 clamp(48px,6.4vw,91px)/1.05 Oswald,'Arial Narrow',sans-serif;letter-spacing:-.045em;margin:0 0 30px;text-transform:uppercase}.brand-public h1 span{display:block}.brand-public .highlight{width:max-content;max-width:100%;background:var(--accent);padding:2px 10px 9px;margin-left:-8px;margin-top:8px;transform:rotate(-1.2deg)}
.brand-public .hero-copy{font-size:15px;line-height:1.9;color:#c1c1b6;max-width:480px;margin:0 0 28px}.brand-public .actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.brand-public .quiet-link{font:500 11px Oswald,sans-serif;letter-spacing:.06em;text-transform:uppercase;border-bottom:1px solid #66665a;padding-bottom:5px}.brand-public .quiet-link:hover{color:var(--accent)}
.brand-public .pilot-note{border-left:2px solid var(--accent);padding-left:14px;color:var(--muted);font-size:12px;max-width:450px;margin-top:24px}.brand-public .pilot-note strong{display:block;color:var(--paper);font-weight:600;margin-bottom:3px}
.brand-public .workflow{position:relative;background:radial-gradient(ellipse at 90% 70%,#fa4b0014,transparent 65%),#1d1d19;border:1px solid var(--line);padding:27px;min-height:470px}.brand-public .workflow-top{display:flex;justify-content:space-between;gap:10px;color:var(--muted);font:500 10px Oswald,sans-serif;letter-spacing:.1em;text-transform:uppercase}.brand-public .workflow-top span:last-child{color:var(--accent)}.brand-public .flow-heading{font:600 48px/1.12 Oswald,sans-serif;text-transform:uppercase;letter-spacing:-.03em;margin:35px 0 30px}.brand-public .flow-heading em{font-style:normal;color:var(--accent)}
.brand-public .flow-row{display:grid;grid-template-columns:27px 1fr auto;gap:14px;align-items:center;border-top:1px solid var(--line);padding:15px 0}.brand-public .flow-row .number{color:var(--accent);font:500 12px Oswald,sans-serif}.brand-public .flow-row strong{display:block;font-size:13px;font-weight:600}.brand-public .flow-row small{font-size:11px;color:var(--muted)}.brand-public .flow-check{color:#a7be98;font-size:18px}.brand-public .workflow-footer{border-top:1px solid var(--line);padding-top:17px;margin-top:8px;color:var(--muted);font:400 10px Oswald,sans-serif;letter-spacing:.09em;text-transform:uppercase}
.brand-public .section{border-top:1px solid var(--line);padding:52px 0 60px}.brand-public .section-head{display:flex;justify-content:space-between;gap:30px;align-items:start;margin-bottom:30px}.brand-public .section h2{font:600 40px/1.15 Oswald,sans-serif;letter-spacing:-.02em;text-transform:uppercase;margin:0}.brand-public .section-head p{max-width:410px;color:var(--muted);margin:0}.brand-public .features{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line)}.brand-public .feature{padding:29px;background:#171714}.brand-public .feature .index{color:var(--accent);font:500 12px Oswald,sans-serif}.brand-public .feature h3{font:500 24px Oswald,sans-serif;text-transform:uppercase;margin:16px 0 12px}.brand-public .feature p{color:var(--muted);font-size:13px;margin:0;line-height:1.85}
.brand-public .public-footer{border-top:1px solid var(--line);padding:24px 0;color:var(--muted);font-size:11px}.brand-public .footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-public .public-footer a:hover{color:var(--accent)}
.brand-public .auth-layout{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center;min-height:calc(100vh - 158px);padding:60px 0}.brand-public .auth-intro h1{font-size:clamp(44px,5vw,72px)}.brand-public .entry-card{max-width:460px;width:100%;justify-self:end;background:#20201c;border:1px solid #414139;padding:35px}.brand-public .entry-card h2{font:500 30px/1.2 Oswald,sans-serif;text-transform:uppercase;margin:0 0 12px}.brand-public .entry-card>p{color:var(--muted);font-size:12px;margin:0 0 25px}.brand-public .entry-card label{display:block;font-size:12px;color:#d6d5cc;margin:20px 0}.brand-public .entry-card label span{display:block;margin-bottom:8px}.brand-public .entry-card input:not([type=hidden]){display:block;width:100%;background:#171714;border:1px solid #505046;min-height:48px;padding:12px;color:var(--paper);border-radius:0}.brand-public .entry-card .action{width:100%;justify-content:space-between;margin-top:5px}.brand-public .entry-card details{margin-top:25px;color:var(--muted);font-size:11px}.brand-public .entry-card summary{cursor:pointer;color:#d6d5cc}.brand-public .entry-card details a{text-decoration:underline}.brand-public .auth-error{padding:12px;border:1px solid #a76557;color:#ffb9a5;background:#3c2521;font-size:12px;margin:15px 0}.brand-public .closed-card{border-left:3px solid var(--accent)}
@media(min-width:1500px){.brand-public .hero{min-height:740px}}
@media(max-width:1050px){.brand-public .wrap{width:calc(100% - 48px)}.brand-public .hero{gap:32px}.brand-public h1{font-size:clamp(42px,6.3vw,75px)}.brand-public .workflow{padding:22px}.brand-public .flow-heading{font-size:39px}.brand-public .auth-layout{gap:40px}.brand-public .public-nav{gap:20px}}
@media(max-width:760px){.brand-public .wrap{width:calc(100% - 36px)}.brand-public .header-inner{min-height:76px}.brand-public .public-nav>a:not(.action){display:none}.brand-public .public-nav .action{min-height:42px;padding:10px 15px;gap:16px}.brand-public .wordmark{font-size:20px}.brand-public .wordmark small{font-size:7px}.brand-public .hero{grid-template-columns:1fr;gap:34px;padding-top:42px;padding-bottom:42px;min-height:0}.brand-public h1{font-size:clamp(40px,10vw,72px);letter-spacing:-.035em}.brand-public .eyebrow{margin-bottom:22px}.brand-public .hero-copy{font-size:14px}.brand-public .workflow{min-height:0;padding:23px}.brand-public .flow-heading{font-size:40px;margin:25px 0}.brand-public .section-head{display:block}.brand-public .section-head p{margin-top:20px}.brand-public .section h2{font-size:34px}.brand-public .features{grid-template-columns:1fr}.brand-public .feature{padding:25px}.brand-public .auth-layout{grid-template-columns:1fr;gap:30px;padding:38px 0}.brand-public .auth-intro h1{font-size:clamp(32px,9vw,48px)}.brand-public .entry-card{max-width:none;padding:25px}.brand-public .footer-inner{align-items:start;flex-direction:column;gap:8px}.brand-pilot-chip{display:none}}
@media(prefers-reduced-motion:reduce){.brand-public *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

html[data-avi-theme=brand] body.avi-glass-app .app-main.login-main{background:#171714!important}
