/* FACT Partners People · Brandpakke 1.0 · Etape 2.5. Layout comes from approved.css. */
@font-face{font-family:'Hanken Grotesk';src:url('../assets/fonts/HankenGrotesk-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Hanken Grotesk';src:url('../assets/fonts/HankenGrotesk-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Hanken Grotesk';src:url('../assets/fonts/HankenGrotesk-600.woff') format('woff');font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('../assets/fonts/SpaceGrotesk-400.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('../assets/fonts/SpaceGrotesk-500.woff') format('woff');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('../assets/fonts/SpaceGrotesk-600.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Space Grotesk';src:url('../assets/fonts/SpaceGrotesk-700.woff') format('woff');font-weight:700 900;font-style:normal;font-display:swap}
:root{color-scheme:light;--font:'Hanken Grotesk',Arial,sans-serif;--heading:'Space Grotesk',Arial,sans-serif;--paper:#F4F0E8;--surface:#FBFAF7;--surface-alt:#EEEBE5;--ink:#16243F;--deep:#0C1530;--muted:#5B6B86;--line:#DCDDE0;--accent:#7B2E3F;--accent-ink:#7B2E3F;--accent-hover:#602131;--accent-soft:#F2E5E8;--on-accent:#FBFAF7;--mint:#C77E8E;--lime:#F2E5E8;--teal:#7B2E3F;--publisher:#16243F;--success:#25634F;--success-bg:#E7EFE9;--warning:#805600;--warning-bg:#F4EBD7;--error:#9B233D;--busy-bg:#EDECE8;--shadow-color:#0C153017;--focus:#7B2E3F;--radius-card:14px;--radius-control:8px;background:var(--paper);color:var(--ink);font-family:var(--font)}
:root[data-theme=dark]{color-scheme:dark;--paper:#0C1530;--surface:#16243F;--surface-alt:#1E2E4A;--ink:#F4F0E8;--deep:#FBFAF7;--muted:#B4BFD1;--line:#34425D;--accent:#D998A8;--accent-ink:#D998A8;--accent-hover:#E8AFBB;--accent-soft:#342338;--on-accent:#0C1530;--mint:#C77E8E;--lime:#342338;--teal:#D998A8;--publisher:#F4F0E8;--success:#A2D2B6;--success-bg:#203B38;--warning:#E8C77B;--warning-bg:#3D3426;--error:#F4A7B8;--busy-bg:#26344D;--shadow-color:#00000042;--focus:#C77E8E}
html,body{background:var(--paper);color:var(--ink)}body{font-family:var(--font)}h1,h2,h3,.brand,.stat-number,.analysis-stat-number,.avatar{font-family:var(--heading)}h1,h2,h3{color:var(--ink)}h1{font-weight:600;letter-spacing:-.035em}h2,h3{font-weight:600}button,input,select,textarea{font-family:var(--font)}
.sidebar,.panel,.card,.stat,dialog,.dialog-head,.topbar{background:var(--surface);color:var(--ink)}.topbar{background:var(--surface)}.card,.panel,.stat,.network-box{border-radius:var(--radius-card);border-color:var(--line)}.btn,.search,.toolbar select,.icon-btn,.field input,.field textarea,.field select,textarea.note-input{border-radius:var(--radius-control);border-color:var(--line);background:var(--surface);color:var(--ink)}.field input[readonly]{background:var(--surface-alt);color:var(--muted)}.field input:focus,.field textarea:focus,.field select:focus,.note-input:focus{border-color:var(--focus);box-shadow:0 0 0 2px var(--accent-soft)}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.search:focus-within{outline:2px solid var(--focus);outline-offset:2px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:1}
.btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn.danger{color:var(--error)}.btn.lime{background:var(--accent-soft);border-color:var(--accent-soft);color:var(--accent)}.btn.subtle{background:transparent}.btn:not(.primary):not(:disabled):hover{background:var(--surface-alt)}a,.card-foot button,.analysis-person,.analysis-table summary{color:var(--accent)}button:disabled{opacity:.5}
.nav button,.settings-nav button{color:var(--muted)}.nav button.active,.settings-nav button.active{background:var(--accent-soft);color:var(--accent)}.nav button.active svg{color:var(--accent)}.nav-count{background:var(--accent-soft);color:var(--accent)}.workspace-icon,.view-switch,.availability-mode,.calendar-switch{background:var(--surface-alt)}.view-switch button.active,.calendar-switch button.active,.availability-mode button.active{background:var(--surface);color:var(--accent)}.tabs button.active{color:var(--accent);border-color:var(--accent)}.tabs button:hover,.card button:hover{color:var(--accent)}.card-foot{background:var(--surface)}.tag,.role-tag{background:var(--surface-alt);color:var(--muted)}.role-tag.admin{background:var(--accent-soft);color:var(--accent)}.role-tag.recruiter{background:var(--surface-alt);color:var(--ink)}.role-tag.assistant{background:var(--warning-bg);color:var(--warning)}
.badge.full,.slot.full,.date-cell.full{background:var(--success-bg);color:var(--success)}.badge.partial,.slot.partial,.date-cell.partial{background:var(--warning-bg);color:var(--warning)}.badge.busy,.slot:not(.full):not(.partial){background:var(--busy-bg);color:var(--muted)}.date-cell.full,.date-cell.partial{border-color:var(--line)}.swatch{background:var(--success)}.swatch.partial{background:var(--warning)}.swatch.busy{background:var(--busy-bg)}.capacity-bar i{background:var(--success)!important}.capacity-bar i+ i{background:var(--warning)!important}.capacity-bar{background:var(--surface-alt)}
.network-day,.date-cell,th,.analysis-daily-scroll th{background:var(--surface);color:var(--ink)}.network-day:hover{background:var(--surface-alt);border-color:var(--accent)}.network-day.today{border-color:var(--accent);background:var(--accent-soft)}.network-day.outside{background:var(--paper)}.day-head.today{background:var(--accent-soft)}.timeline>div{border-right-color:var(--line)}.day-count{color:var(--ink)}.slot:hover{box-shadow:inset 0 0 0 1px var(--accent)}.timeline .person,.day-head b{color:var(--ink)}
.note,.info-box,.private-label,.analysis-notice,.analysis-segment,.analysis-skills>div,.profile-export-toolbar,.export-preview-controls{background:var(--surface-alt);color:var(--ink);border-color:var(--line)}.analysis-notice{border-left-color:var(--accent)}.analysis-bar{background:var(--surface-alt)}.analysis-bar i{background:var(--accent)}.stars button,.stars span{color:var(--line)}.stars button.on,.stars span.on,.rating{color:var(--accent)}.rating svg{fill:var(--accent);stroke:var(--accent)}.avatar{background:var(--accent-soft);color:var(--accent)}.avatar.clay,.avatar.blue,.avatar.rose,.avatar.violet,.avatar.gray{background:var(--surface-alt);color:var(--ink)}.form-error{color:var(--error)}.success-icon{background:var(--success-bg);color:var(--success)}#toast{background:var(--ink);color:var(--paper);border-color:var(--line)}
.brand{padding:0;justify-content:center}.product-logo{display:block;width:240px;max-width:100%;line-height:0}.product-logo img{width:100%;height:auto;display:block}.product-logo picture{display:block}.sidebar{overflow-y:auto}.brand .product-logo{width:146px}.brand-dark{display:none!important}:root[data-theme=dark] .brand-light{display:none!important}:root[data-theme=dark] .brand-dark{display:block!important}.customer-brand{display:flex;gap:9px;align-items:center;justify-content:center;margin:20px 4px 0;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.customer-brand img{max-width:32px;max-height:32px;object-fit:contain}.customer-brand span{min-width:0}.brand-name{color:var(--ink)}.settings-logo #logo-preview{width:150px;height:100px;background:var(--surface);padding:12px}.settings-logo #logo-preview .product-logo{width:100%}.settings-logo .product-logo img{max-height:none}
.publisher-credit{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);margin-top:20px;padding-top:18px;color:var(--muted);font-size:12px;line-height:1.65}.publisher-credit strong{color:var(--ink);font-weight:600}.publisher-credit small{display:block;color:var(--muted);font-size:11px;line-height:1.65;letter-spacing:0}.publisher-credit img{display:none}.demo-footer{color:var(--muted)}
.theme-toggle{gap:7px!important;min-height:38px;flex-shrink:0;white-space:nowrap!important}.theme-toggle .theme-moon,.theme-toggle .theme-sun{font:22px/1 Arial,sans-serif}.theme-sun{display:none}:root[data-theme=dark] .theme-moon{display:none}:root[data-theme=dark] .theme-sun{display:inline}.auth-brand{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.auth-brand .product-logo{margin:0;flex:1;max-width:260px}.auth-brand .theme-toggle{width:auto;min-width:42px;margin:0;padding:9px}.auth-brand .theme-toggle>span:last-child{display:none}.auth-shell{position:relative;isolation:isolate;background:var(--paper)}.auth-shell:before{content:'';position:absolute;bottom:0;left:0;right:0;height:220px;z-index:-1;pointer-events:none;background:url('../assets/people/buildings.svg') bottom center/auto 220px repeat-x;opacity:.07}.auth-panel,.auth-register{box-shadow:0 20px 65px var(--shadow-color)}.auth-panel .publisher-credit{margin-top:28px}.auth-panel h1{font-size:27px}.auth-panel>p{line-height:1.65}
.topbar .mode .btn:nth-child(2){max-width:180px}
/* Export previews and printed documents deliberately use light paper in both themes. */
.export-preview{background:#FBFAF7;color:#16243F}.export-preview h1,.export-preview h2,.export-preview h3{color:#16243F}.export-preview .export-brand{border-color:#7B2E3F}.export-preview .export-brand img{width:220px}.export-preview .export-brand p,.export-preview .export-note,.export-preview .export-footer{color:#5B6B86}.export-preview .export-contact,.export-preview .export-summary,.export-preview th{background:#F4F0E8;color:#16243F}.export-preview td,.export-preview th{border-color:#DCDDE0}.export-preview .export-footer{border-color:#DCDDE0}
@media(max-width:760px){.brand{justify-content:flex-start}.brand .product-logo{width:220px}.brand .product-logo img{max-height:92px;object-fit:contain;object-position:left}.nav{overflow-x:auto}.customer-brand{justify-content:flex-start;margin-top:12px}.mode .theme-toggle{padding:7px 9px}.mode .theme-toggle>span:last-child{display:none}.settings-logo{flex-wrap:wrap}.auth-brand{gap:16px}.auth-shell{padding:18px}.auth-panel{padding:25px}.topbar .mode .btn:first-child{max-width:none}.topbar .mode .btn:nth-child(2){max-width:180px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.theme-toggle{display:none!important}}

@media(max-width:600px){.export-preview .export-brand{flex-wrap:wrap}.export-preview .export-brand img{width:220px;max-width:100%}}
/* Mandatory account security uses the approved palettes and existing controls. */
.security-stack{display:grid;gap:20px}.security-stack p{line-height:1.65;margin:12px 0}.security-stack .panel{margin:0}.security-stack form{margin-top:20px}.auth-security{max-width:680px;width:100%}.mfa-setup{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px;align-items:center;margin:24px 0}.mfa-qr{display:block;width:240px;height:240px;background:#fff;border-radius:8px}.mfa-secret{display:block;overflow-wrap:anywhere;font-size:14px;letter-spacing:1px;padding:12px;background:var(--surface-alt);border:1px solid var(--line);border-radius:8px;margin:10px 0}.recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:22px 0}.recovery-codes code{font-size:13px;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt);overflow-wrap:anywhere}.security-stack small{display:block;margin-top:6px;color:var(--muted)}@media(max-width:600px){.mfa-setup{grid-template-columns:1fr}.recovery-codes{grid-template-columns:1fr}.mfa-qr{margin:auto}}
