/* Fieldcraft identity is the default; approved business palettes replace these tokens. */
:root{color-scheme:light;--fc-brand-primary:#b94716;--fc-brand-logo-background:#ffffff;--fc-brand-secondary:#000000;--fc-brand-accent:#b94716;--fc-brand-background:#f3f3f3;--fc-brand-surface:#ffffff;--fc-brand-text:#171717;--fc-brand-on-surface:#171717;--fc-brand-on-primary:#ffffff;--fc-brand-on-secondary:#ffffff;--fc-brand-on-accent:#ffffff;--fc-brand-muted:#646464;--fc-brand-muted-surface:#686868;--fc-brand-border:#c2c2c2;--fc-brand-control-border:#000000;--fc-brand-background-control-border:#000000;--fc-brand-background-focus:#b94716;--fc-brand-background-primary-border:#b94716;--fc-brand-background-secondary-border:#000000;--fc-brand-focus:#b94716;--fc-brand-primary-border:#b94716;--fc-brand-secondary-border:#000000;--fc-brand-accent-border:#b94716;--fc-brand-hover:#a33e13;--fc-brand-on-hover:#ffffff;--fc-brand-link:#b94716;--fc-brand-background-link:#b94716;--fc-semantic-good-background:#e6f4ea;--fc-semantic-good-text:#175c2d;--fc-semantic-good-border:#34824c;--fc-semantic-attention-background:#fff4cc;--fc-semantic-attention-text:#624b00;--fc-semantic-attention-border:#927300;--fc-semantic-action-background:#fde9e7;--fc-semantic-action-text:#9b201b;--fc-semantic-action-border:#bc443b;--fc-semantic-unassessed-background:#eef0f3;--fc-semantic-unassessed-text:#44505f;--fc-semantic-unassessed-border:#738092;--bg:var(--fc-brand-background);--surface:var(--fc-brand-surface);--raised:var(--fc-brand-surface);--edge:var(--fc-brand-border);--muted:var(--fc-brand-muted);--text:var(--fc-brand-text);--blue:var(--fc-brand-primary);--blue-dark:var(--fc-brand-hover);--red:#9b201b;--red-dark:#7d1713;--amber:#624b00;--fc-ink:var(--fc-brand-on-surface);--fc-blue:var(--fc-brand-link);--fc-light:var(--fc-brand-surface)}
body{background:var(--fc-brand-background);color:var(--fc-brand-text)}
body :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--fc-brand-background-focus);outline-offset:3px}
body :is(input,textarea,select){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}
body :is(input,textarea)::placeholder{color:var(--fc-brand-muted-surface);opacity:1}
.site-header{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-bottom-color:var(--fc-brand-border)}.site-header .brand{gap:12px}.brand img{width:48px;height:48px;object-fit:contain;border-radius:8px;background:var(--fc-brand-logo-background,#fff);padding:4px}.practice-brand-name{color:var(--fc-brand-on-surface)}.practice-brand-name small{color:var(--fc-brand-muted-surface)}.site-header .nav-button{color:var(--fc-brand-muted-surface)}.site-header .nav-button.selected{color:var(--fc-brand-link);border-bottom-color:var(--fc-brand-primary-border)}.site-header .nav-button.selected::after{background:var(--fc-brand-primary-border)}.site-footer{background:var(--fc-brand-surface);color:var(--fc-brand-muted-surface)}.site-footer strong{color:var(--fc-brand-on-surface)}.fieldcraft-account{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}
body .fieldcraft-view{color:var(--fc-brand-text)}body .fieldcraft-view :is(h1,.fc-heading h1){color:var(--fc-brand-text)}body .fieldcraft-view .fc-heading p{color:var(--fc-brand-muted)}.fc-home-heading h1{letter-spacing:-.04em}.fc-home-heading .section-label,.section-label{color:var(--fc-brand-background-link)}
body .fc-random-call{background:var(--fc-brand-secondary);color:var(--fc-brand-on-secondary);border-color:var(--fc-brand-secondary-border);box-shadow:none}.fc-random-call:after{border-color:var(--fc-brand-on-secondary)}body .fc-random-call .fc-random-label{color:var(--fc-brand-on-secondary)}
body .fc-secondary-start>button{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .fc-secondary-start span{color:var(--fc-brand-muted-surface)}body .fc-secondary-start>button:hover{text-decoration:underline;text-underline-offset:3px}.fc-home-tools{border-color:var(--fc-brand-border)}body .fc-home-tools :is(.text-button,label,details){color:var(--fc-brand-text)}.fc-home-tools nav span{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface)}body :is(.fc-exercise-heading>span,.fc-continue>span,.fc-continue .text-button,.fc-legacy,.fc-legacy .text-button){color:var(--fc-brand-muted)}.fc-continue{border-color:var(--fc-brand-border)}
body .fc-training-tile{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-border);box-shadow:none}body .fc-training-tile small{color:var(--fc-brand-muted-surface)}body .fc-training-tile>span{background:var(--fc-brand-accent);color:var(--fc-brand-on-accent)}body .fc-boss{background:var(--fc-brand-surface)}
body :is(.fc-card,.fc-next){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-border)}body :is(.fc-card,.fc-next) :is(h1,h2,h3){color:var(--fc-brand-on-surface)}body :is(.fc-card,.fc-next) p{color:var(--fc-brand-muted-surface)}body :is(.fc-card,.fc-next) .text-button{color:var(--fc-brand-link)}body .fc-next{border-top-color:var(--fc-brand-accent-border)}.fc-next:after{border-color:var(--fc-brand-border)}
body :is(.button-blue,.button-red){background:var(--fc-brand-primary);border-color:var(--fc-brand-primary-border);color:var(--fc-brand-on-primary);box-shadow:none}body :is(.button-blue,.button-red):hover{background:var(--fc-brand-hover);color:var(--fc-brand-on-hover);filter:none}body .button-outline{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .button-outline:hover{border-color:var(--fc-brand-control-border);text-decoration:underline;text-underline-offset:3px}body .fc-person{color:var(--fc-brand-muted)}body .fc-person select{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}
body .fieldcraft-platform{--fp-primary:var(--fc-brand-primary);--fp-secondary:var(--fc-brand-secondary);--fp-on-primary:var(--fc-brand-on-primary);--fp-ink:var(--fc-brand-on-surface);--fp-muted:var(--fc-brand-muted-surface);--fp-line:var(--fc-brand-border);--fp-paper:var(--fc-brand-surface);--fp-wash:var(--fc-brand-surface)}.fieldcraft-platform h1{font-size:clamp(28px,5vw,52px);line-height:1.08;letter-spacing:-.04em;overflow-wrap:anywhere;margin:0 0 14px}.fieldcraft-platform input,.fieldcraft-platform select{max-width:100%;min-width:0}.fieldcraft-platform table{width:100%;text-align:left;border-collapse:collapse}.fieldcraft-platform th,.fieldcraft-platform td{padding:12px 8px;border-bottom:1px solid var(--fc-brand-border)}.fieldcraft-platform .fp-panel+ .fp-panel{margin-top:20px}body .fieldcraft-platform .fp-button{border-color:var(--fc-brand-primary-border)}body .fieldcraft-platform .fp-button.fp-quiet{border-color:var(--fc-brand-control-border)}body .fieldcraft-platform :is(input,select){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .fieldcraft-platform .fp-state{background:var(--fc-semantic-unassessed-background);color:var(--fc-semantic-unassessed-text)}body .fieldcraft-platform .fp-state-on{background:var(--fc-semantic-good-background);color:var(--fc-semantic-good-text)}
.arena-mark{width:64px;height:64px;object-fit:contain}.fieldcraft-view [hidden],.site-header [hidden]{display:none!important}.fc-secondary-start>button:disabled,.fc-training-tile:disabled{opacity:1;cursor:not-allowed;color:var(--fc-brand-muted-surface);border-style:dashed}.fp-business-name{font-weight:700}.fp-cover img{object-fit:contain}
@media(max-width:760px){.site-header{flex-wrap:wrap;gap:10px}.brand{flex:1}.main-nav{order:3;width:100%;overflow:auto}.main-nav .nav-button{min-width:76px}.practice-brand-name small{max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.connection-badge{font-size:11px}}
@media print{body{background:#fff;color:#171717}.site-header,.site-footer{background:#fff;color:#171717}}

body :is(.site-header,.fieldcraft-platform,.fc-card,.fc-next) :is(button,a,input,textarea,select,summary):focus-visible{outline-color:var(--fc-brand-focus)}

body .fieldcraft-platform .fp-error{background:var(--fc-semantic-action-background);color:var(--fc-semantic-action-text)!important;border-radius:3px;padding:8px 10px}body .fieldcraft-platform .fp-businesses{--fp-ink:var(--fc-brand-text);--fp-muted:var(--fc-brand-muted)}body .fieldcraft-platform .fp-business.is-selected{color:var(--fc-brand-on-surface)}body .fieldcraft-platform .fp-business.is-selected small{color:var(--fc-brand-muted-surface)}

/* The active conversation and dispatch brief use the selected business palette too. */
body :is(.voice-panel,.voice-visual,.transcript-panel,.diagnostics,.setup-notice,.config-group,.scenario-card,.drill-builder,.fieldcraft-menu,.fc-prep-dialog){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-border);box-shadow:none}
body .voice-panel-top{background:var(--fc-brand-primary);color:var(--fc-brand-on-primary);border-color:var(--fc-brand-primary-border)}body .voice-panel-top #timer{color:var(--fc-brand-on-primary)}body :is(.voice-visual p,.audio-options>label,.setup-notice p,.config-group small,.group-fields label,.seed-detail label,.diagnostics label,.customer-line,.scenario-copy,.fc-prep-clock span,.fc-dispatch-property dt,.fc-dispatch-source,.fc-dispatch-mode,.fc-prep-dialog>footer>p){color:var(--fc-brand-muted-surface)}body :is(.setup-notice strong,.setup-icon,.setup-notice .text-button,.range-heading output,.inline-check){color:var(--fc-brand-on-surface)}body :is(.audio-options,.fc-challenge,.fc-prep-dialog>footer){border-color:var(--fc-brand-border)}body .fc-challenge{color:var(--fc-brand-on-surface)}body .fc-challenge>small{color:var(--fc-brand-muted-surface)}body .fc-prep-dialog .button-outline{color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}
body :is(.call-brief,.help-panel){background:var(--fc-brand-secondary);color:var(--fc-brand-on-secondary);border-color:var(--fc-brand-secondary-border)}body :is(.call-brief,.help-panel) :is(h2,p,li,small,.field-hint,.section-label,.text-button),body .brief-reminder,body #sessionBrief .fc-challenge,body #sessionBrief .fc-challenge :is(small,p,strong,span){color:var(--fc-brand-on-secondary)}body #sessionBrief .fc-challenge{border-color:var(--fc-brand-on-secondary)}body .brief-reminder{border-color:var(--fc-brand-on-secondary)}
body .fieldcraft-menu>button,body .pill{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .notice{background:var(--fc-semantic-attention-background);color:var(--fc-semantic-attention-text);border-color:var(--fc-semantic-attention-border)}body .button-end{background:var(--fc-semantic-action-background);color:var(--fc-semantic-action-text);border-color:var(--fc-semantic-action-border)}

/* Legacy setup and manual option views share the current surface contract. */
body .field-hint{color:var(--fc-brand-muted)}body .text-button{color:var(--fc-brand-background-link)}body .text-button:hover{color:inherit;text-decoration:underline;text-underline-offset:3px}
body #setupArea .custom-practice,body #configForm :is(.customer-picker,.scenario-preview-strip,.scenario-input-wrap,.builder-tools){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-border);box-shadow:none}
body #setupArea .custom-practice>summary span,body #configForm :is(.field-hint,.builder-heading>span,.builder-privacy,.customer-picker-heading p,.profile-hint,.advanced-settings>summary small,.advanced-plus,.advanced-content>.section-heading>p,.struggle-row small,.seed-detail,.scenario-copy,.customer-line,.scenario-specs span,#dictationStatus,#scenarioCount){color:var(--fc-brand-muted-surface)}
body #configForm :is(.dial-heading label,.dial-heading output,.dial-scale,.random-switch,.challenge-label,.persona-search,.persona-voice,.customer-picker-heading h2,.scenario-preview-strip>summary,.scenario-specs>div),body #configForm .scenario-preview-strip>summary>span:first-child,body #configForm .preview-content :is(h2,h3,strong){color:var(--fc-brand-on-surface)}
body #configForm :is(.text-button,.subscription-button),body #configForm :is(.text-button,.subscription-button):hover{color:var(--fc-brand-link);border-color:var(--fc-brand-control-border)}
body #configForm :is(.preview-content,.scenario-specs,.advanced-settings,.struggle-row){border-color:var(--fc-brand-border)}body #configForm .scenario-preview-strip>summary:after{color:var(--fc-brand-link)}
body #configForm .customer-tile{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body #configForm .customer-tile-copy strong{color:var(--fc-brand-on-surface)}body #configForm .customer-tile-copy :is(strong span,small){color:var(--fc-brand-muted-surface)}body #configForm .customer-tile:is(.selected,:hover){border-color:var(--fc-brand-primary-border);box-shadow:inset 0 0 0 2px var(--fc-brand-primary-border)}
body #configForm :is(.profile-random,.dictate-button){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body #configForm .profile-random.selected,body #configForm .dictate-button[aria-pressed=true]{background:var(--fc-brand-primary);color:var(--fc-brand-on-primary);border-color:var(--fc-brand-primary-border)}
body #configForm input[type=range]{accent-color:var(--fc-brand-primary)}body #configForm :is(button,a,input,textarea,select,summary):focus-visible{outline-color:var(--fc-brand-focus)}body #configForm .scenario-input-wrap:focus-within{border-color:var(--fc-brand-focus);outline:2px solid var(--fc-brand-focus);outline-offset:2px}

body .solutions-v3{--solutions-ink:var(--fc-brand-on-surface);--solutions-line:var(--fc-brand-border);--solutions-soft:var(--fc-brand-surface);color:var(--fc-brand-text)}
body .solutions-v3 .solutions-heading h2{color:var(--fc-brand-text)}body .solutions-v3 :is(.solutions-heading p,.solutions-privacy,.solutions-status){color:var(--fc-brand-muted)}
body .solutions-v3 :is(.solutions-customer,.solutions-catalog,.solutions-builder,.solutions-start,.solutions-private-preview,.solutions-private-preview article,.solutions-no-work,.solutions-relationships,.solutions-findings,.fc-source-review){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-border)}
body .solutions-v3 :is(.solutions-customer,.solutions-start,.solutions-private-preview,.solutions-no-work,.solutions-relationships,.solutions-findings,.fc-source-review) :is(h2,h3,h4,strong,summary,label){color:var(--fc-brand-on-surface)}
body .solutions-v3 .solutions-terms,body .solutions-v3 .solutions-no-work [data-status]{color:var(--fc-brand-on-surface)}
body .solutions-v3 :is(.solutions-customer p,.solutions-session-tag,.solutions-source,.solutions-item p,.solutions-item small,.solutions-source-details,.solutions-line-controls>span small,.solutions-total-note,.solutions-save small,.solutions-empty p,.solutions-private-preview>p,.solutions-private-preview strong small,.solutions-private-preview article p,.solutions-private-preview article li,.solutions-line-scope,.solutions-line-scope>small,.solutions-start p,.solutions-start small,.solutions-relationships [role=status]){color:var(--fc-brand-muted-surface)}
body .solutions-v3 :is(.solutions-avatar,.solutions-category-tiles button,.solutions-view-toggle button,.solutions-option-tab){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}
body .solutions-v3 .solutions-option-tab.selected,body .solutions-v3 .solutions-view-toggle button[aria-pressed=true]{background:var(--fc-brand-secondary);color:var(--fc-brand-on-secondary);border-color:var(--fc-brand-secondary-border);box-shadow:none}
body .solutions-v3 :is(.solutions-customer img,.solutions-item,.solutions-lines li,.solutions-total,.solutions-save,.solutions-catalog-tiles .solutions-item,.solutions-relationships fieldset,.solutions-line-scope){border-color:var(--fc-brand-border)}body .solutions-v3 .solutions-save{background:var(--fc-brand-surface)}
body .solutions-v3 :is(input:not([type=checkbox]),select,textarea){background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .solutions-v3 :is(input,textarea)::placeholder{color:var(--fc-brand-muted-surface)}
body .solutions-v3 :is(.text-button,.solutions-breadcrumbs button){color:var(--fc-brand-link)}body .solutions-v3 .button-outline{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface);border-color:var(--fc-brand-control-border)}body .solutions-v3 .button-outline:hover{background:var(--fc-brand-surface);color:var(--fc-brand-on-surface)}
body .solutions-v3 .solutions-heading>.button-outline{background:transparent;color:var(--fc-brand-text);border-color:var(--fc-brand-background-control-border)}body .solutions-v3 .button-blue{background:var(--fc-brand-primary);color:var(--fc-brand-on-primary);border-color:var(--fc-brand-primary-border)}body .solutions-v3 .button-blue:hover{background:var(--fc-brand-hover);color:var(--fc-brand-on-hover)}
body .solutions-v3 .solutions-status.is-error,body .solutions-v3 .solutions-no-work [data-status].is-error{background:var(--fc-semantic-action-background);color:var(--fc-semantic-action-text);border-color:var(--fc-semantic-action-border)}body .solutions-v3 .solutions-unavailable{background:var(--fc-semantic-attention-background);color:var(--fc-semantic-attention-text)}
body .solutions-v3 :is(button,input,textarea,select,summary):focus-visible{outline-color:var(--fc-brand-focus)}body .solutions-v3 .solutions-heading :focus-visible{outline-color:var(--fc-brand-background-focus)}body .solutions-v3 :is(button,textarea):disabled{opacity:1;border-style:dashed}
