/* Light business theme. Loaded after layout styles. */
:root{color-scheme:light;--ink:#ffffff;--navy:#18181b;--blue:#303036;--signal:#18181b;--ice:#f4f4f5;--paper:#fafafa;--muted:#52525b;--line:#d4d4d8;--white:#18181b;--good:#187347;--warn:#895300;--bad:#b42332}
html,body{background:#fff;color:#18181b}
body{background:#fff}
.noise{display:none}
.topbar{background:#fff}
.brand-mark{border-color:#18181b}
.rail{background:#fafafa}
.rail-label,.eyebrow{color:#52525b;font-size:12px;letter-spacing:.14em}
.steps li,.steps li span,.steps li.done b,.rail-foot{color:#52525b}
.steps li.active,.steps li.active span{color:#18181b;font-weight:700}
.steps li small,.rail-foot span{font-size:12px}
.steps li.active:before{content:"";position:absolute;left:-12px;top:20px;width:3px;height:34px;background:#18181b}
.hero-row p,.section-head p{font-size:15px;color:#52525b}
.hero-orbit,.hero-orbit:before,.hero-orbit:after{border-color:#d4d4d8}
.hero-orbit i,.live-dot{box-shadow:none}
.form-grid label>span{font-size:14px;color:#3f3f46;letter-spacing:0}
input,textarea{background:#fff;color:#18181b;border:1px solid #b7b7bf;font-family:inherit;font-size:15px;line-height:1.6}
input:focus,textarea:focus{border-color:#18181b;box-shadow:0 0 0 3px #18181b12}
::placeholder{color:#686871;opacity:1}
.form-note{color:#52525b;font-size:13px;line-height:1.7}
.primary,.ghost,.history-trigger{font-family:inherit;font-size:14px;line-height:1.4}
.primary{background:#18181b;color:#fff;box-shadow:none}
.primary:hover{background:#303036;box-shadow:none;transform:none}
.primary:disabled{opacity:1;color:#686871;background:#e4e4e7}
.ghost,.history-trigger{background:#fff;color:#303036;border-color:#b7b7bf}
.ghost:hover,.history-trigger:hover{background:#f4f4f5;color:#18181b;border-color:#18181b}
button:focus-visible{outline:3px solid #18181b;outline-offset:3px}
.history-trigger span{color:#18181b}
.question-row{background:#fafafa;border-color:#d4d4d8}
.question-row:hover{border-color:#a1a1aa}
.question-row .num,.category,.delete{color:#52525b}
.category,.question-row .num{font-size:12px}
.question-row input{background:transparent;color:#18181b}
.engine-card{background:#fafafa;color:#18181b;border-color:#d4d4d8}
.engine-card:hover,.engine-card.selected{background:#f4f4f5;border-color:#18181b;transform:none}
.engine-card.selected{box-shadow:inset 0 0 0 1px #18181b}
.engine-card small{color:#52525b;font-size:12px;overflow-wrap:anywhere}
.engine-card .engine-state{font-size:11px}
.engine-card.disabled{opacity:1;background:#f4f4f5;color:#686871;border-style:dashed}
.audit-card{background:#fafafa}
.audit-card strong{font-size:15px}
.audit-card p{color:#52525b;font-size:13px;line-height:1.6}
.status-pill{color:#52525b;font-size:12px;border-color:#b7b7bf}
.run-stats span{color:#52525b;font-size:13px}
.progress-wrap{background:#fafafa;border-color:#d4d4d8;box-shadow:none}
.progress-top{font-size:14px}
.progress{background:#e4e4e7}
.progress i{background:#18181b;box-shadow:none}
.progress i:after{background:#18181b;box-shadow:none}
.progress-wrap p{color:#52525b;font-size:13px}
.activity-head span{color:#3f3f46;font-size:11px}
.activity-head small{color:#52525b;font-size:12px}
.activity-stream{scrollbar-color:#a1a1aa #f4f4f5}
.activity-item{background:#fff;border-color:#d4d4d8}
.activity-item.running{background:#f4f4f5;border-color:#18181b}
.activity-item.failed{background:#fff5f5;border-color:#c96b75}
.activity-model b{font-size:13px}
.activity-model small{color:#52525b;font-size:12px}
.activity-content strong{color:#18181b;font-size:14px}
.activity-content p,.activity-item.running .activity-content p{color:#52525b;font-size:13px;line-height:1.7}
.activity-empty{color:#52525b;border-color:#a1a1aa;font-size:13px}
.activity-empty i{border-color:#d4d4d8;border-top-color:#18181b}
.activity-model i,.engine-beacon,.record-status:before{box-shadow:none}
.score-disc{border-color:#a1a1aa}
.score-disc:after{border-color:#e4e4e7;border-top-color:#18181b}
.score-disc small,.report-title p,.metric small{color:#52525b}
.report-title p{font-size:15px}
.metric{background:#fafafa}
.metric small{font-size:14px}
.engine-table th,.engine-table td{font-size:14px;color:#303036}
.engine-table th{font-weight:600;background:#fafafa}
.risk-item,.recommend-item{background:#fafafa;color:#303036;font-size:15px;line-height:1.7}
.recommend-item strong,.audit-check b{color:#18181b}
.audit-check{background:#fafafa;color:#3f3f46;font-size:14px;line-height:1.7}
.audit-check.ok{border-color:#b0c9bc}
.audit-check.bad{border-color:#d5a2a9}
details.sample summary{color:#303036;font-size:14px;line-height:1.7}
details.sample pre,.run-answer pre{color:#303036;background:#f4f4f5;font-family:inherit;font-size:14px;line-height:1.8}
.toast{background:#18181b;color:#fff;box-shadow:0 8px 28px #0002}
.history-titlebar p{color:#52525b;font-size:14px;line-height:1.7}
.history-record{background:#fafafa;color:#18181b;border-color:#d4d4d8;border-left-color:#a1a1aa}
.history-record:hover,.history-record:focus-visible,.history-record.selected{background:#f4f4f5;border-color:#18181b}
.history-record>p,.record-top>small,.record-foot time,.record-status{color:#52525b;font-size:13px}
.record-foot b{color:#18181b}
.record-link{color:#18181b;font-size:14px;font-weight:600}
.history-loading,.history-placeholder,.history-placeholder p{color:#52525b;font-size:14px}
.history-placeholder h2{color:#18181b}
.archive-hero p,.archive-score small,.archive-statusline,.archive-section-title p{color:#52525b;font-size:13px;line-height:1.7}
.archive-score{background:#fafafa;border-color:#a1a1aa}
.archive-section-title>span{font-size:12px}
.fact-grid>div{background:#fafafa}
.fact-grid small{color:#52525b;font-size:13px}
.fact-grid p{color:#18181b;font-size:14px;line-height:1.8}
.archive-notice{background:#fff9ee;color:#724500;font-size:13px;line-height:1.7}
.question-compare>div{background:#fafafa}
.question-compare h4{color:#18181b;font-size:14px}
.question-compare h4 small,.question-compare li small{color:#52525b;font-size:12px}
.question-compare li>span{color:#52525b;font-size:12px}
.question-compare li p{color:#18181b;font-size:14px;line-height:1.7}
.run-archive{background:#fafafa}
.run-archive-head strong{font-size:14px}
.run-archive-head small,.run-counts,.run-citations{color:#52525b;font-size:12px}
.run-item summary>span{color:#52525b;font-size:12px}
.run-item summary>b{color:#18181b;font-size:14px}
.run-item summary>small{font-size:12px}
.run-error{background:#fff0f1;color:#a51c2a;font-size:14px;line-height:1.7}
.report-preview{background:#fafafa}
.report-preview small{color:#52525b;font-size:13px}
.question-loading{background:#fafafa;border-color:#b7b7bf}
.question-loading:before{display:none}
.question-loading strong{color:#18181b}
.question-loading p{color:#52525b;font-size:13px;line-height:1.7}
.question-loader{border-color:#a1a1aa}
.question-loader i{box-shadow:none}
.loading-scan{background:linear-gradient(90deg,transparent,#00000006,transparent)}
@media(max-width:600px){.form-actions,.matrix-actions{flex-wrap:wrap;gap:16px}.matrix-actions>div{flex-wrap:wrap;gap:12px}.audit-card{align-items:flex-start;gap:14px;flex-wrap:wrap}.run-box{flex-wrap:wrap;gap:20px}.run-stats{gap:20px}.activity-head{flex-wrap:wrap;gap:10px}.engine-table th,.engine-table td{padding:10px 5px;font-size:12px}.recommend-item{grid-template-columns:34px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Airy navy / porcelain direction: readable type, softly layered surfaces. */
:root{--navy:#17314f;--blue:#245c91;--signal:#245c91;--ice:#edf4fb;--paper:#f6f8fb;--muted:#506176;--line:#d6e0eb;--white:#20354d}
html{background:#f6f8fb;color:#20354d}
body{background-color:#fff;background-image:linear-gradient(135deg,#f8fafc 0%,#f1f5fa 100%);color:#20354d}
.topbar{background:#ffffffed;border-bottom-color:#d6e0eb;box-shadow:0 2px 14px #17314f04}
.brand{color:#17314f}.brand-mark{color:#245c91;border-color:#245c91;background:#f4f8fd}
.top-meta{color:#506176;letter-spacing:.05em}
.rail{background:linear-gradient(180deg,#edf3f9,#f5f8fc);border-right-color:#d6e0eb}
.rail-label,.eyebrow{color:#466687;font-weight:600}
.steps li,.steps li span,.steps li.done b,.rail-foot{color:#506176}
.steps li.active,.steps li.active span{color:#17314f}.steps li.active:before{background:#245c91;border-radius:3px}
.workspace{padding-top:36px}
.hero-row{background:linear-gradient(110deg,#fff 5%,#eef4fc 100%);border:1px solid #d6e0eb;border-radius:14px;padding:26px 30px;margin-top:18px;box-shadow:0 10px 36px #17314f05}
.hero-row h1,.section-head h2,.history-titlebar h1,.report-title h1,.archive-hero h2,.report-section h2,.archive-section-title h3{color:#17314f}
.hero-row em{color:#245c91}.hero-row p,.section-head p{color:#506176}
.hero-orbit{background:radial-gradient(circle,#ffffff 28%,#e7eff9 75%);border-color:#b3c8dd;color:#245c91}
.hero-orbit:before,.hero-orbit:after{border-color:#c5d5e5}.hero-orbit i{background:#245c91}
.form-grid{padding:28px;background:#fff;border:1px solid #d6e0eb;border-radius:12px;box-shadow:0 8px 28px #17314f04}
.form-grid label>span{color:#344a63;font-weight:500}
input,textarea{background:#fbfcfe;border-color:#b8c8d9;color:#20354d;border-radius:6px}
input:focus,textarea:focus{background:#fff;border-color:#245c91;box-shadow:0 0 0 3px #245c9112}
::placeholder{color:#64748b}.form-note{color:#506176}
.primary{background:#17314f;border-radius:6px;box-shadow:0 4px 12px #17314f14}
.primary:hover{background:#245c91;box-shadow:0 6px 16px #17314f1c}
.ghost,.history-trigger{background:#ffffffc9;color:#344a63;border-color:#b8c8d9;border-radius:6px}
.ghost:hover,.history-trigger:hover{background:#edf4fb;color:#17314f;border-color:#245c91}
button:focus-visible{outline-color:#245c91}.history-trigger span{color:#245c91}
.section-head{padding-top:8px;border-bottom-color:#d6e0eb}
.question-row{background:#fff;border-color:#d6e0eb;border-radius:8px;box-shadow:0 3px 12px #17314f03}
.question-row:hover{border-color:#91abc5}.question-row input{color:#20354d}
.category{color:#245c91;font-weight:600}.question-row .num,.delete{color:#506176}
.engine-card{background:#fff;border-color:#d6e0eb;border-radius:10px;box-shadow:0 4px 14px #17314f04;color:#17314f}
.engine-card:hover,.engine-card.selected{background:#edf4fb;border-color:#6d91b6}
.engine-card.selected{box-shadow:inset 0 3px #245c91,0 5px 18px #17314f07}
.engine-card small{color:#506176}.engine-card.selected:after{color:#245c91}
.audit-card{background:#edf4fb;border-color:#cfdeed;border-radius:10px}
.audit-card p,.run-stats span,.status-pill{color:#506176}
.status-pill{background:#ffffffb3;border-color:#c5d5e5}
.progress-wrap{background:#fff;border-color:#cfdeed;border-radius:12px;box-shadow:0 10px 32px #17314f06}
.progress{background:#e4edf6;border-radius:4px}.progress i{background:linear-gradient(90deg,#17314f,#3f83b9)}.progress i:after{background:#3f83b9}
.progress-wrap p,.activity-head small,.activity-model small,.activity-content p,.activity-item.running .activity-content p{color:#506176}
.activity-head span{color:#245c91}.activity-content strong{color:#20354d}
.activity-item{border-color:#d6e0eb;border-radius:7px;background:#fafcfe}
.activity-item.running{background:#edf4fb;border-color:#91abc5}.activity-item.failed{background:#fff5f5;border-color:#c96b75}
.activity-stream{scrollbar-color:#91abc5 #edf4fb}
.report-hero{background:linear-gradient(110deg,#fff,#edf4fb);padding:28px;border:1px solid #cfdeed;border-radius:14px;box-shadow:0 10px 32px #17314f05}
.score-disc{background:#fff;border-color:#b3c8dd;color:#17314f;box-shadow:0 5px 20px #17314f08}
.score-disc:after{border-color:#e4edf6;border-top-color:#245c91}
.score-disc small,.report-title p,.metric small{color:#506176}
.metric-grid{background:transparent;gap:14px}.metric{background:#fff;border:1px solid #d6e0eb;border-radius:10px;padding:22px;box-shadow:0 4px 16px #17314f04}.metric b{color:#17314f}
.report-section{background:#fff;border:1px solid #d6e0eb;border-radius:12px;padding:26px;margin:20px 0;box-shadow:0 4px 18px #17314f03}
.engine-table th{background:#edf4fb;color:#344a63}.engine-table td{color:#20354d}
.risk-item,.recommend-item{background:#f6f9fc;border-radius:0 7px 7px 0;color:#344a63}.recommend-item strong,.audit-check b{color:#17314f}
.audit-check{background:#f6f9fc;color:#344a63;border-radius:7px}details.sample summary{color:#344a63}
details.sample pre,.run-answer pre{background:#f1f5fa;color:#344a63;border-radius:7px}
.history-titlebar p{color:#506176}.history-record{background:linear-gradient(135deg,#fff,#f7fafe);border-color:#d6e0eb;border-left:3px solid #91abc5;border-radius:10px;box-shadow:0 5px 20px #17314f04}
.history-record:hover,.history-record:focus-visible,.history-record.selected{background:#edf4fb;border-color:#6d91b6;box-shadow:0 8px 24px #17314f09}
.history-record>strong,.record-foot b{color:#17314f}.record-link{color:#245c91}
.history-record>p,.record-top>small,.record-foot time,.record-status,.history-loading,.history-placeholder,.history-placeholder p{color:#506176}
.archive-score{background:#edf4fb;border-color:#b3c8dd;border-radius:10px;color:#17314f}
.archive-hero p,.archive-score small,.archive-statusline,.archive-section-title p{color:#506176}
.fact-grid{background:transparent;gap:12px}.fact-grid>div{background:#fff;border:1px solid #d6e0eb;border-radius:8px}.fact-grid small{color:#506176}.fact-grid p{color:#20354d}
.question-compare>div,.run-archive{background:#fff;border-color:#d6e0eb;border-radius:9px;overflow:hidden}
.question-compare h4,.run-archive-head{background:#edf4fb;color:#17314f}.question-compare li p,.run-item summary>b{color:#20354d}
.question-compare h4 small,.question-compare li small,.question-compare li>span,.run-archive-head small,.run-counts,.run-citations,.run-item summary>span{color:#506176}
.report-preview{background:#edf4fb;border-radius:10px}.report-preview small{color:#506176}
.question-loading{background:linear-gradient(110deg,#fff,#edf4fb);border-color:#cfdeed;border-radius:12px}.question-loading strong{color:#17314f}.question-loading p{color:#506176}.question-loader{border-color:#91abc5}.loading-scan{background:linear-gradient(90deg,transparent,#245c9108,transparent)}
.toast{background:#17314f;color:#fff}
@media(max-width:1200px){.hero-row{grid-template-columns:minmax(0,1fr) 180px;padding:24px}.form-grid{padding:22px}.report-hero{padding:22px}.metric-grid{gap:10px}.metric{padding:18px}}
@media(max-width:900px){.hero-row{grid-template-columns:1fr}.report-section{padding:20px}}
@media(max-width:600px){.hero-row{padding:20px}.hero-row h1{font-size:42px}.form-grid{padding:18px}.metric{padding:15px}.report-hero{padding:20px}.report-section{padding:16px}.audit-checks{grid-template-columns:1fr}}
@media print{html,body{background:#fff;color:#20354d}.report-panel{color:#20354d}.report-hero,.metric,.report-section,.score-disc{box-shadow:none}.report-section{break-inside:auto}.report-section h2{break-after:avoid}}
