@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}:root{color:#1f2933;letter-spacing:0;background:#f4f7f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{color:#fff;cursor:pointer;background:#244c45;border:0;border-radius:6px;min-height:40px;padding:0 14px;font-weight:700}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{color:#1f2933;background:#fff;border:1px solid #c9d4cf;border-radius:6px;width:100%;padding:10px 12px}textarea{resize:vertical;min-height:128px}.login-shell{place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{background:#fff;border:1px solid #d5ded9;border-radius:8px;width:min(420px,100%);padding:28px}.login-panel h1,.sidebar h1,.panel h2{margin:0}.login-panel label,.grid-form label{gap:8px;font-weight:700;display:grid}.login-panel button{width:100%;margin-top:16px}.app-shell{grid-template-columns:280px 1fr;min-height:100vh;display:grid}.sidebar{background:#fcfdfb;border-right:1px solid #d5ded9;flex-direction:column;gap:22px;padding:24px;display:flex}.sidebar p{color:#6b7280;margin:8px 0 0;font-weight:700}.sidebar nav{gap:8px;display:grid}.sidebar nav button{color:#1f2933;text-align:left;background:0 0;justify-content:flex-start}.sidebar nav button.active{background:#dbe7e2}.workspace{align-content:start;gap:18px;padding:24px;display:grid}.panel{gap:18px;max-width:1180px;display:grid}.panel header,.actions,.delivery-grid{justify-content:space-between;align-items:center;gap:12px;display:flex}.panel header span{color:#5b4b19;background:#efe5c7;border-radius:999px;padding:6px 10px;font-weight:800}.grid-form{grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;align-items:end;gap:12px;display:grid}.intake,.answer-box,.delivery-grid>div{gap:12px;display:grid}.question-stack{gap:8px;display:grid}.question-stack p,.brief-grid>div,.candidate-card,.stage,.answer-box,.delivery-grid>div,.delivery-grid pre,.notice{background:#fff;border:1px solid #d5ded9;border-radius:8px;margin:0;padding:14px}.brief-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;display:grid}.brief-grid span{color:#5f6f68;text-transform:uppercase;font-size:12px;font-weight:800}.brief-grid p,.candidate-card p,.answer-box p{margin:6px 0 0}.candidate-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.candidate-card{gap:10px;display:grid}.candidate-card h3,.candidate-card strong,.answer-box h3,.delivery-grid h3{margin:0}.timeline{gap:8px;display:grid}.stage{grid-template-columns:minmax(160px,1fr) auto;display:grid}.stage.complete{border-left:8px solid #2f7d54}.stage.current{border-left:8px solid #d39b2a}.stage.pending{border-left:8px solid #9aa6ac}.split{grid-template-columns:minmax(280px,420px) minmax(320px,1fr)}pre,code{color:#e9f2ef;background:#17211f;border-radius:6px;padding:12px;overflow:auto}.delivery-grid{align-items:stretch}.delivery-grid>*{flex:1;min-width:0}.error{color:#9f1d35}.notice.error{background:#fff7f8;border-color:#e7b8c1}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #d5ded9;border-right:0}.grid-form,.split{grid-template-columns:1fr}.panel header,.actions,.delivery-grid{flex-direction:column;align-items:stretch}}.notice.working{color:#2f3e36;background:#eef2f0;border:1px solid #cfd9d2;align-items:center;gap:.6rem;display:flex}.spinner{border:2px solid #b9c8bf;border-top-color:#2f5d44;border-radius:50%;flex:none;width:14px;height:14px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.intake-head{justify-content:space-between;align-items:baseline;margin-bottom:.4rem;display:flex}.intake-head h3{margin:0}.progress{color:#5b6b62;background:#eef2f0;border-radius:999px;padding:.15rem .6rem;font-size:.85rem}.hint{color:#5b6b62;margin:.3rem 0 .6rem;font-size:.9rem}.hint.success{color:#2f5d44;font-weight:600}ol.question-stack{margin:0 0 .6rem;padding-left:1.2rem}ol.question-stack li{color:#2f3e36;margin-bottom:.4rem}.brief-grid>div.captured{background:#f6f9f7;border-color:#cfd9d2}.brief-grid>div.missing{opacity:.7;border-style:dashed}.brief-grid p{white-space:pre-wrap}.sr-only{clip:rect(0,0,0,0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.tagline{color:#7a8a80;margin:.1rem 0 0;font-size:.8rem}.expert-picker{color:#5b6b62;flex-direction:column;gap:.25rem;margin-bottom:.4rem;font-size:.78rem;display:flex}.workflow-nav{flex-direction:column;gap:.25rem;display:flex}.workflow-nav button{text-align:left;color:#2f3e36;font:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:.55rem;padding:.5rem .6rem;display:flex}.workflow-nav button:hover:not(:disabled){background:#eef2f0}.workflow-nav button.active{background:#dfe8e2;font-weight:600}.workflow-nav button:disabled{opacity:.45;cursor:not-allowed}.workflow-nav .step-index{color:#2f5d44;background:#cfd9d2;border-radius:50%;flex:none;place-items:center;width:20px;height:20px;font-size:.72rem;font-weight:700;display:grid}.workflow-nav button.active .step-index{color:#fff;background:#2f5d44}.workflow-nav .lock{margin-left:auto;font-size:.75rem}.next-step{background:#f6f9f7;border:1px solid #cfd9d2;border-left:4px solid #2f5d44;border-radius:10px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1.1rem;display:flex}.next-step-stage{letter-spacing:.04em;text-transform:uppercase;color:#2f5d44;background:#e2ece6;border-radius:999px;padding:.1rem .5rem;font-size:.7rem;display:inline-block}.next-step h2{margin:.35rem 0 .2rem;font-size:1.15rem}.next-step-event{color:#2f5d44;margin:0 0 .2rem;font-size:.85rem}.next-step-note{color:#4a5a51;margin:0;font-size:.92rem}.next-step-blocked{color:#8a5a2f;margin:.35rem 0 0;font-size:.85rem}.next-step-action{color:#fff;font:inherit;cursor:pointer;background:#2f5d44;border:none;border-radius:8px;flex:none;padding:.6rem .9rem;font-weight:600}.next-step-action:hover{background:#264c38}.tabs{gap:.4rem;margin-bottom:.7rem;display:flex}.tabs button{font:inherit;cursor:pointer;color:#4a5a51;background:#eef2f0;border:1px solid #cfd9d2;border-radius:8px;padding:.4rem .8rem}.tabs button.active{color:#fff;background:#2f5d44;border-color:#2f5d44}.guided-grid{grid-template-columns:1fr 1fr;gap:.8rem;margin-bottom:.7rem;display:grid}.guided-grid label{color:#2f3e36;flex-direction:column;gap:.3rem;font-size:.82rem;font-weight:600;display:flex}.guided-grid textarea{min-height:70px;font:inherit;resize:vertical;border:1px solid #cfd9d2;border-radius:8px;padding:.5rem;font-weight:400}.candidate-head{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.candidate-head h3{margin:0}.candidate-card .archetype{color:#2f5d44;margin:.3rem 0;font-weight:600}.candidate-card .watch{color:#6a5a3a}.candidate-card .evidence{border-top:1px dashed #cfd9d2;margin:.5rem 0;padding-top:.4rem}.evidence-badge{text-transform:uppercase;letter-spacing:.03em;border-radius:999px;margin-bottom:.35rem;padding:.1rem .45rem;font-size:.68rem;display:inline-block}.evidence-badge.seeded{color:#8a5a2f;background:#f6e9d0}.evidence-badge.real{color:#1f6b3f;background:#d9efe0}.evidence-badge.unverified{color:#4a6275;background:#e7eef3}.evidence-badge.disputed{color:#9a3434;background:#f5dada}.evidence-item{color:#5b6b62;margin:.15rem 0;font-size:.82rem}.evidence-item a{color:#2f5d44;text-decoration:underline}.candidate-card .candidate-meta{color:#6a7770;margin:.25rem 0;font-size:.78rem}.status-list{flex-direction:column;gap:.5rem;display:flex}.status-row{border:1px solid #e2e8e4;border-radius:8px;padding:.6rem .8rem}.status-row.current{background:#f6f9f7;border-color:#2f5d44}.status-row.complete{opacity:.85}.status-row.unavailable{opacity:.6}.status-row-head{justify-content:space-between;align-items:center;display:flex}.status-stage{font-weight:600}.status-row p{color:#5b6b62;margin:.25rem 0 0;font-size:.85rem}.status-pill{text-transform:uppercase;letter-spacing:.03em;color:#5b6b62;background:#e2e8e4;border-radius:999px;padding:.12rem .5rem;font-size:.7rem}.status-pill.complete{color:#2f5d44;background:#dbe9df}.status-pill.current{color:#fff;background:#2f5d44}.status-pill.unavailable{color:#8a5a2f;background:#efe3d3}.connect-status{border-radius:8px;margin-bottom:.8rem;padding:.6rem .8rem;font-size:.9rem}.connect-status.ready{color:#2f5d44;background:#dbe9df}.connect-status.preview{color:#8a5a2f;background:#f6e9d0}.connect-grid{flex-direction:column;gap:.5rem;display:flex}.connect-row{background:#f6f9f7;border:1px solid #e2e8e4;border-radius:8px;align-items:center;gap:.7rem;padding:.45rem .6rem;display:flex}.connect-row>span{color:#5b6b62;flex:0 0 150px;font-size:.8rem}.connect-row code{word-break:break-all;font-size:.85rem}.key-row .key-actions{gap:.4rem;margin-left:auto;display:flex}.connect-actions{gap:.5rem;display:flex}button.link{color:#2f5d44;cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.hint.warn{color:#8a5a2f}.muted{color:#9aa8a0}.complete-actions{flex-direction:column;align-items:flex-start;gap:.4rem}@media(max-width:760px){.next-step{flex-direction:column;align-items:stretch}.guided-grid{grid-template-columns:1fr}}
