:root{color-scheme:light;--bg: #f5f7f9;--surface: #ffffff;--surface-soft: #f9fafb;--border: #dfe3e8;--border-strong: #c7ced6;--text: #17202a;--muted: #637282;--sidebar: #22303a;--sidebar-active: #314451;--primary: #1f7a8c;--primary-strong: #166070;--danger: #b42318;--success: #1f7a4f;--warning: #9a6700;--shadow: 0 12px 32px rgba(23, 32, 42, .08)}*{box-sizing:border-box}html{min-width:320px}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--text);background:var(--bg)}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}#root{min-height:100vh}.login-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(180deg,#fffc,#f5f7f9),var(--bg)}.login-panel{width:min(420px,100%);border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:var(--shadow);padding:28px}.brand-lockup{display:flex;align-items:center;gap:12px}.brand-lockup h1,.brand-lockup p,.brand-lockup strong,.brand-lockup small{margin:0}.brand-lockup>div{min-width:0;display:grid;gap:2px}.brand-lockup h1{font-size:1.35rem}.brand-lockup p,.brand-lockup small{color:var(--muted);font-size:.9rem}.brand-mark{width:38px;height:38px;border-radius:8px;display:inline-grid;place-items:center;background:var(--primary);color:#fff;font-weight:800}.login-form,.stacked-form{display:grid;gap:14px;margin-top:22px}.admin-shell{min-height:100vh;display:grid;grid-template-columns:236px minmax(0,1fr)}.sidebar{background:var(--sidebar);color:#eef4f6;padding:18px 14px;display:flex;flex-direction:column;gap:24px}.sidebar-brand{padding:6px 8px}.side-nav{display:grid;gap:4px}.side-nav a,.sidebar-action{min-height:38px;display:flex;align-items:center;width:100%;border:0;padding:0 12px;border-radius:6px;background:transparent;color:#d7e1e5;font-size:.92rem;text-align:left;cursor:pointer}.side-nav a.active,.side-nav a:hover,.sidebar-action:hover{background:var(--sidebar-active);color:#fff}.sidebar-footer{margin-top:auto;display:grid;gap:4px}.admin-main{min-width:0;padding:22px;display:grid;gap:18px;align-content:start}.topbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:16px}.topbar h1{margin:2px 0 4px;font-size:1.55rem;line-height:1.2}.topbar-actions,.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.justify-end{justify-content:flex-end}.eyebrow{margin:0;color:var(--primary-strong);font-size:.72rem;font-weight:800;letter-spacing:0;text-transform:uppercase}.subtle-text{color:var(--muted);font-size:.86rem;word-break:break-word}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric-card,.panel,.link-output-panel,.card{border:1px solid var(--border);border-radius:8px;background:var(--surface)}.metric-card{min-height:98px;padding:16px;display:grid;gap:6px;align-content:start}.metric-card span,.metric-card small{color:var(--muted);font-size:.82rem}.metric-card strong{font-size:1.8rem;line-height:1}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(340px,.9fr);gap:18px;align-items:start}.panel{min-width:0;overflow:hidden;padding:16px}.panel-header{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:14px}.panel-header h2{margin:2px 0 0;font-size:1.05rem}.control-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;align-items:end;margin-bottom:16px}.client-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin-bottom:18px}.client-table-panel{display:grid;gap:14px}.filter-grid{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(160px,1fr)) auto;gap:10px;align-items:end}.table-count{min-height:28px;display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:999px;background:var(--surface-soft);color:var(--muted);padding:2px 10px;font-size:.78rem;font-weight:800;white-space:nowrap}.field{min-width:0;display:grid;gap:6px;color:#3d4b59;font-size:.82rem;font-weight:700}input,select,textarea{width:100%;min-height:38px;border:1px solid var(--border-strong);border-radius:6px;background:#fff;color:var(--text);padding:8px 10px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px #1f7a8c24}textarea{min-height:110px;resize:vertical}input[type=file]{padding:5px}input[type=file]::file-selector-button{min-height:28px;margin-right:10px;border:1px solid var(--border-strong);border-radius:5px;background:var(--surface-soft);color:var(--text);font-weight:700;cursor:pointer}.hidden-file-input{display:none}input[readonly]{background:var(--surface-soft)}.primary-action,.secondary-action,.ghost-action,.icon-action,a.secondary{min-height:38px;border-radius:6px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;cursor:pointer;white-space:nowrap;font-weight:700}.primary-action{background:var(--primary);border-color:var(--primary);color:#fff}.primary-action:hover:not(:disabled){background:var(--primary-strong)}.secondary-action,a.secondary{background:#fff;border-color:var(--border-strong);color:var(--text)}.ghost-action{background:transparent;color:var(--muted)}.icon-action{width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border-color:var(--border-strong);background:#fff;color:#3d4b59}.document-action{position:relative}.document-action.attention{border-color:#f2bf8f;background:#fff8f1;color:#945412}.document-action.complete{border-color:#bde7ca;background:#eefaf2;color:var(--success)}.document-action.empty{color:#7a8793}.document-action-count{position:absolute;top:-7px;right:-7px;min-width:17px;height:17px;display:inline-grid;place-items:center;border:2px solid #ffffff;border-radius:999px;background:#7a8793;color:#fff;font-size:.62rem;font-weight:900;line-height:1}.document-action.attention .document-action-count{background:#d26a17}.document-action.complete .document-action-count{background:var(--success)}.button-svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.compact{min-height:32px;padding:5px 9px;font-size:.82rem}.full-width{width:100%}.align-end{align-self:end}.align-right{text-align:right}.button-icon{width:18px;height:18px;border-radius:4px;display:inline-grid;place-items:center;font-size:.72rem;font-weight:900;background:#ffffff2e}.secondary-action .button-icon{background:var(--surface-soft)}button:disabled,input:disabled{opacity:.55;cursor:not-allowed}.table-wrap{width:100%;min-width:0;overflow-x:auto;border:1px solid var(--border);border-radius:8px}table{width:100%;min-width:760px;border-collapse:collapse;background:#fff}.client-table{min-width:1080px}.client-table td:first-child{display:grid;gap:3px}.client-table td:first-child strong{font-size:.9rem}.client-table td:first-child span{color:var(--muted);font-size:.78rem}thead th{background:var(--surface-soft);color:#4d5c69;font-size:.76rem;text-align:left;text-transform:uppercase;letter-spacing:0}th,td{padding:10px 12px;border-bottom:1px solid #edf0f3;vertical-align:middle;font-size:.88rem}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}.status-pill{min-height:24px;display:inline-flex;align-items:center;border-radius:999px;padding:2px 9px;border:1px solid transparent;font-size:.75rem;font-weight:800}.status-pill.active{color:var(--success);background:#eaf7ef;border-color:#bde7ca}.status-pill.danger{color:var(--danger);background:#fff0ed;border-color:#f4c7c1}.status-pill.muted{color:#596773;background:#eef1f4;border-color:#d9dfe5}.status-pill.complete{color:#6b4e00;background:#fff7db;border-color:#ead58e}.code-badge{min-height:24px;display:inline-flex;align-items:center;border:1px solid #c7d8df;border-radius:5px;background:#f2f8fa;color:#1c5d6a;padding:2px 7px;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.78rem;font-weight:800;letter-spacing:0;white-space:nowrap}.link-output-panel{padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.link-output-panel span{display:block;color:var(--muted);font-size:.78rem;font-weight:800;margin-bottom:6px}.privacy-note{margin-top:16px;padding:12px;display:grid;gap:5px;border:1px solid #bee3db;border-radius:8px;background:#f1fbf8;color:#26584f;font-size:.84rem}.message-banner{border-radius:8px;padding:10px 12px;font-weight:700}.message-banner.success{border:1px solid #bde7ca;background:#eefaf2;color:var(--success)}.message-banner.neutral{border:1px solid #c7d7fe;background:#f5f8ff;color:#344054}.message-banner.error,.form-error,.error{color:var(--danger)}.message-banner.error{border:1px solid #f4c7c1;background:#fff4f1}.form-error{margin:0;font-size:.84rem;font-weight:700}.empty-state{color:var(--muted);text-align:center;padding:26px 12px}.card{width:min(940px,calc(100% - 32px));margin:24px auto;padding:18px}.card h1,.card h2{margin-top:0}.label{display:grid;gap:8px}.intake-access-panel,.intake-summary{display:grid;gap:16px}.intake-page{min-height:100vh;padding:22px;background:var(--bg)}.intake-workspace{width:min(980px,100%);margin:0 auto;display:grid;gap:16px}.intake-header,.intake-section{border:1px solid var(--border);border-radius:8px;background:var(--surface)}.intake-header{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px}.intake-header h1{margin:0;font-size:1.28rem}.intake-form-grid{display:grid;gap:16px}.intake-section{padding:16px}.intake-section .panel-header{margin-bottom:12px}.no-margin{margin:0}.checkbox-field{display:flex;align-items:flex-start;gap:10px;color:#3d4b59;font-size:.9rem;font-weight:700}.checkbox-field input{width:16px;min-width:16px;min-height:16px;margin-top:2px}.intake-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:14px}.chat-intake-page{padding:18px}.chat-intake-shell{width:min(1180px,100%);min-height:calc(100vh - 36px);margin:0 auto;display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px}.chat-progress-panel,.chat-panel{min-width:0;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.chat-progress-panel{padding:16px;display:grid;gap:16px;align-content:start}.chat-progress-panel h1{margin:0;font-size:1.05rem}.chat-progress-card{display:grid;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.chat-progress-card span{font-weight:800}.chat-progress-card small{color:var(--muted);font-size:.78rem}.progress-track{height:8px;overflow:hidden;border-radius:999px;background:#dfe6ea}.progress-fill{height:100%;border-radius:inherit;background:var(--primary)}.compact-detail-list{gap:8px}.compact-detail-list div{grid-template-columns:74px minmax(0,1fr)}.section-rail{display:grid;gap:6px}.section-step{min-height:32px;display:flex;align-items:center;width:100%;border:0;border-left:3px solid transparent;border-radius:6px;background:transparent;color:var(--muted);padding:6px 9px;font-size:.83rem;font-weight:700;text-align:left;cursor:pointer}.section-step.active{border-left-color:var(--primary);background:#edf8fa;color:var(--primary-strong)}.section-step.done{color:var(--success)}.section-step:disabled{opacity:.55;cursor:not-allowed}.chat-panel{min-height:calc(100vh - 36px);display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden}.chat-panel-header{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding:14px 16px}.chat-panel-header h2{margin:2px 0 0;font-size:1.12rem}.chat-transcript{min-height:0;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:12px;background:linear-gradient(180deg,#f9fafbbf,#fffffff2),var(--surface)}.chat-message-row{display:flex;align-items:flex-end;gap:8px}.chat-message-row.user{justify-content:flex-end}.chat-avatar{width:28px;height:28px;min-width:28px;border-radius:8px;display:inline-grid;place-items:center;background:var(--primary);color:#fff;font-size:.8rem;font-weight:900}.chat-bubble{max-width:min(680px,78%);border:1px solid var(--border);padding:11px 13px;box-shadow:0 8px 20px #17202a0f}.chat-bubble.assistant{border-radius:14px 14px 14px 4px;background:#fff}.chat-bubble.user{border-color:#b7d7de;border-radius:14px 14px 4px;background:#eaf7fa}.chat-bubble p{margin:0;line-height:1.45;white-space:pre-wrap}.chat-meta{display:block;margin-bottom:5px;color:var(--primary-strong);font-size:.72rem;font-weight:900;letter-spacing:0;text-transform:uppercase}.chat-composer-panel,.chat-review-panel{border-top:1px solid var(--border);background:#fff;padding:12px}.quick-replies{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:10px}.chat-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.chat-input{min-height:42px}.chat-composer textarea.chat-input{min-height:82px}.composer-actions{display:flex;gap:6px;align-items:center}.chat-review-panel{display:grid;gap:12px}.experience-stage-wrap{min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:16px;overflow:auto;padding:18px;background:linear-gradient(180deg,#fbfcfd,#fff 42%),var(--surface)}.question-stage{min-height:520px;display:grid;align-content:center;gap:18px;border:1px solid var(--border);border-radius:8px;background:#fff;padding:clamp(20px,4vw,44px);box-shadow:0 18px 46px #17202a14;animation:question-enter .28s ease-out}.assistant-presence{display:flex;align-items:center;gap:12px}.assistant-presence h3{margin:2px 0 0;font-size:1rem}.assistant-orb{width:42px;height:42px;min-width:42px;display:inline-grid;place-items:center;border-radius:8px;background:var(--primary);color:#fff;font-weight:900;box-shadow:0 0 #1f7a8c38;animation:assistant-pulse 2.6s ease-in-out infinite}.question-meter{height:7px;overflow:hidden;border-radius:999px;background:#e4e9ed}.question-meter span{display:block;height:100%;border-radius:inherit;background:var(--primary);transition:width .26s ease}.section-intro,.question-copy{max-width:680px;margin:0;color:var(--muted);line-height:1.55}.question-title{max-width:760px;margin:0;font-size:clamp(1.45rem,2.3vw,2.3rem);line-height:1.18}.question-helper{width:fit-content;margin:0;border:1px solid #d8e7ec;border-radius:999px;background:#f2f8fa;color:var(--primary-strong);padding:5px 10px;font-size:.78rem;font-weight:800}.answer-chips{display:flex;flex-wrap:wrap;gap:10px}.answer-chip{min-height:46px;border:1px solid var(--border-strong);border-radius:8px;background:#fff;color:var(--text);padding:10px 14px;font-weight:800;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.answer-chip:hover{border-color:var(--primary);box-shadow:0 10px 24px #1f7a8c1f;transform:translateY(-1px)}.experience-composer{display:grid;gap:12px}.experience-input{min-height:52px;border-radius:8px;font-size:1rem}textarea.experience-input{min-height:138px}.experience-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.answer-strip{min-width:0;height:fit-content;display:grid;gap:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:14px;animation:question-enter .32s ease-out}.answer-strip>div:first-child{display:grid;gap:2px}.answer-strip strong{font-size:.94rem}.answer-preview-list{display:grid;gap:8px}.answer-preview{width:100%;min-height:56px;display:grid;gap:4px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);padding:9px 10px;text-align:left;cursor:pointer}.answer-preview span{color:var(--muted);font-size:.74rem;font-weight:800;text-transform:uppercase}.answer-preview strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}.review-stage{align-content:start}.answer-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.answer-summary-card{min-height:78px;display:grid;gap:7px;align-content:start;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft);padding:12px}.answer-summary-card span{width:fit-content;border-radius:999px;background:#eaf7ef;color:var(--success);padding:2px 8px;font-size:.75rem;font-weight:900}.answer-summary-card strong{font-size:.9rem}.review-confirmation{margin-top:4px}@keyframes question-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes assistant-pulse{0%,to{box-shadow:0 0 #1f7a8c2e}50%{box-shadow:0 0 0 8px #1f7a8c00}}@media(prefers-reduced-motion:reduce){.assistant-orb,.question-stage,.answer-strip{animation:none}.question-meter span,.answer-chip{transition:none}}.streamlit-chat-page{height:100dvh;padding:0;background:#f6f8fa;overflow:hidden}.streamlit-chat-shell{width:min(920px,100%);height:100dvh;min-height:0;margin:0 auto;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;overflow:hidden}.streamlit-chat-header{position:sticky;top:0;z-index:10;display:grid;gap:8px;border-bottom:1px solid #edf1f5;background:#fffffff0;padding:14px 16px;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.streamlit-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.streamlit-title-row h1{margin:0;color:#101828;font-size:clamp(1.08rem,3.8vw,1.34rem);line-height:1.2;letter-spacing:0}.streamlit-title-row p{margin:3px 0 0;color:#667085;font-size:.8rem;line-height:1.4}.streamlit-status{min-height:26px;display:inline-flex;align-items:center;border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#475467;padding:3px 9px;font-size:.68rem;font-weight:900;white-space:nowrap}.streamlit-document-status-list{display:flex;flex-wrap:wrap;gap:8px}.streamlit-document-status-chip{min-width:0;max-width:100%;min-height:38px;display:inline-flex;align-items:center;gap:8px;border:1px solid transparent;border-radius:999px;padding:6px 11px 6px 9px}.streamlit-document-status-chip.sent{border-color:#bde7ca;background:#eefaf2;color:var(--success)}.streamlit-document-status-chip.missing{border-color:#f4c7c1;background:#fff4f1;color:var(--danger)}.streamlit-document-status-chip .chat-svg{width:15px;height:15px;flex:0 0 auto}.streamlit-document-status-chip span{min-width:0;display:grid;gap:1px}.streamlit-document-status-chip strong,.streamlit-document-status-chip small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.streamlit-document-status-chip strong{color:inherit;font-size:.75rem;font-weight:900}.streamlit-document-status-chip small{color:#475467;font-size:.68rem;font-weight:800}.streamlit-meta-grid{display:grid;grid-template-columns:1fr;gap:6px;color:#475467;font-size:.8rem;font-weight:700}.streamlit-meta-grid span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.streamlit-section-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.streamlit-section-tabs::-webkit-scrollbar,.streamlit-quick-replies::-webkit-scrollbar{display:none}.streamlit-section-tab{min-height:34px;flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;border:1px solid #e4e7ec;border-radius:999px;background:#fff;color:#667085;padding:5px 10px 5px 6px;font-size:.78rem;font-weight:800;cursor:pointer}.streamlit-section-tab span{width:22px;height:22px;display:inline-grid;place-items:center;border-radius:999px;background:#f2f4f7;color:#475467;font-size:.72rem}.streamlit-section-tab.active{border-color:#9ccfd8;background:#f4fbfc;color:#166070}.streamlit-section-tab.active span{background:#1f7a8c;color:#fff}.streamlit-section-tab.done{border-color:#bde7ca;color:var(--success)}.streamlit-section-tab:disabled{opacity:.52;cursor:not-allowed}.streamlit-chat-scroll{min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:11px;padding:16px 16px 20px;scroll-behavior:smooth}.streamlit-focus-review{position:sticky;top:0;z-index:8;display:grid;gap:12px;border:1px solid #d9e8ec;border-top:4px solid #1f7a8c;border-radius:12px;background:#fffffff7;padding:14px;box-shadow:0 14px 36px #10182817;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.streamlit-focus-review-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.streamlit-focus-review-header span{color:#1f7a8c;font-size:.68rem;font-weight:900;text-transform:uppercase}.streamlit-focus-review-header strong{min-width:0;color:#101828;font-size:.96rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.streamlit-focus-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0}.streamlit-focus-detail-item{min-width:0;display:grid;grid-template-columns:minmax(92px,.42fr) minmax(0,1fr);gap:10px;align-items:baseline;border-top:1px solid #edf1f5;padding:9px 0}.streamlit-focus-detail-item dt,.streamlit-focus-detail-item dd{min-width:0;margin:0}.streamlit-focus-detail-item dt{color:#667085;font-size:.68rem;font-weight:900;text-transform:uppercase}.streamlit-focus-detail-item dd{color:#101828;font-size:.92rem;font-weight:800;overflow-wrap:anywhere}.streamlit-start-screen{min-height:0;overflow-y:auto;display:grid;align-content:start;gap:14px;padding:20px 16px calc(20px + env(safe-area-inset-bottom))}.streamlit-start-hero{display:flex;align-items:flex-start;gap:12px;padding:6px 0 2px}.streamlit-avatar.large{width:44px;min-width:44px;height:44px;font-size:.95rem}.streamlit-start-hero h2{margin:3px 0 4px;color:#111827;font-size:clamp(1.35rem,5vw,1.9rem);line-height:1.1}.streamlit-start-hero p:last-child{margin:0;color:#667085;line-height:1.45}.streamlit-start-options{display:grid;gap:10px}.streamlit-start-option{width:100%;min-height:88px;display:flex;align-items:center;gap:12px;border:1px solid #e4e7ec;border-radius:8px;background:#fff;color:#344054;padding:14px;text-align:left;cursor:pointer;box-shadow:0 8px 22px #10182809}.streamlit-start-option:hover:not(:disabled),.streamlit-start-option.active{border-color:#9ccfd8;background:#f4fbfc}.streamlit-start-option.active{box-shadow:0 0 0 3px #1f7a8c1a}.streamlit-start-option:disabled{cursor:not-allowed;opacity:.72}.streamlit-start-option>span:last-child{min-width:0;display:grid;gap:4px}.streamlit-start-option strong,.streamlit-start-option small{min-width:0;overflow:hidden;text-overflow:ellipsis}.streamlit-start-option strong{color:#111827;font-size:1rem}.streamlit-start-option small{color:#667085;font-size:.82rem;line-height:1.35;white-space:normal}.streamlit-start-actions{display:grid;gap:10px}.streamlit-start-actions .primary-action,.streamlit-composer .primary-action{border-radius:12px;font-weight:800;box-shadow:0 8px 20px #1f7a8c24;transition:box-shadow .15s ease,transform .15s ease,background .15s ease}.streamlit-start-actions .primary-action:hover:not(:disabled),.streamlit-composer .primary-action:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 26px #1f7a8c2e}.streamlit-upload-card{padding:2px 0 6px}.streamlit-upload-button{width:100%;min-height:70px;display:flex;align-items:center;gap:12px;border:1px dashed #cfd6df;border-radius:8px;background:#fafbfc;color:#344054;padding:12px;text-align:left;cursor:pointer}.streamlit-upload-button:hover{border-color:#9ccfd8;background:#f4fbfc}.streamlit-upload-button span:last-child{min-width:0;display:grid;gap:3px}.streamlit-upload-button strong,.streamlit-upload-button small{min-width:0;overflow:hidden;text-overflow:ellipsis}.streamlit-upload-button strong{white-space:normal}.streamlit-upload-button small{white-space:nowrap}.streamlit-upload-button small{color:#667085;font-size:.78rem;font-weight:700}.streamlit-upload-icon{width:40px;min-width:40px;height:40px;display:inline-grid;place-items:center;border-radius:8px;background:#eef9fb;color:#1f7a8c}.streamlit-message-row{display:flex;align-items:flex-start;gap:10px;animation:streamlit-message-enter .22s ease-out}.streamlit-message-row.user{justify-content:flex-end}.streamlit-avatar{width:30px;height:30px;min-width:30px;display:inline-grid;place-items:center;border-radius:999px;background:#1f7a8c;color:#fff;font-size:.76rem;font-weight:900}.streamlit-bubble{max-width:min(700px,86%);border:1px solid transparent;padding:12px 14px;color:#101828;box-shadow:0 8px 24px #10182809}.streamlit-bubble.assistant{border-color:#edf1f5;border-radius:14px 14px 14px 4px;background:#fff}.streamlit-bubble.user{max-width:min(620px,82%);border-color:#e4e7ec;border-radius:14px 14px 4px;background:#f3f6f8}.streamlit-bubble p{margin:0;line-height:1.52;white-space:pre-wrap;word-break:break-word}.formatted-message{display:grid;gap:10px}.formatted-paragraph{margin:0;line-height:1.52;white-space:pre-wrap;word-break:break-word}.formatted-detail-grid{display:grid;gap:7px;margin:2px 0}.formatted-detail-row{display:grid;grid-template-columns:minmax(118px,170px) minmax(0,1fr);gap:10px;align-items:center;border:1px solid #edf1f5;border-radius:8px;background:#fbfcfd;padding:9px 11px}.formatted-detail-row dt,.formatted-detail-row dd{min-width:0;margin:0}.formatted-detail-row dt{color:#667085;font-size:.7rem;font-weight:900;text-transform:uppercase}.formatted-detail-row dd{color:#101828;font-weight:700;overflow-wrap:anywhere}.streamlit-message-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.streamlit-doc-request{display:grid;gap:10px;margin-top:10px;border:1px solid #d9e1e8;border-radius:8px;background:#fbfcfd;padding:10px}.streamlit-doc-request strong{display:block;color:#344054;font-size:.82rem;font-weight:900}.streamlit-doc-reference-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.streamlit-doc-reference-list span{min-height:26px;display:inline-flex;align-items:center;border:1px solid #d9e1e8;border-radius:999px;background:#fff;color:#475467;padding:4px 9px;font-size:.72rem;font-weight:800;text-transform:uppercase}.streamlit-supporting-files{display:grid;gap:6px;margin-top:8px}.streamlit-supporting-files .streamlit-file-chip{margin-top:0}.streamlit-doc-request .message-action-button{width:fit-content}.message-action-button{min-height:36px;display:inline-flex;align-items:center;gap:7px;border:1px solid #d9e1e8;border-radius:999px;background:#fff;color:#344054;padding:7px 12px;font-weight:900;cursor:pointer}.message-action-button:hover:not(:disabled){border-color:#9ccfd8;color:#166070}.message-action-button:disabled{cursor:not-allowed;opacity:.62}.message-action-button .chat-svg{width:15px;height:15px}.streamlit-helper{width:fit-content;max-width:100%;display:inline-flex;align-items:center;margin-top:9px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#475467;padding:4px 9px;font-size:.75rem;font-weight:800}.streamlit-file-chip{width:fit-content;max-width:100%;display:inline-flex;align-items:center;gap:6px;margin-top:9px;border:1px solid #d0d5dd;border-radius:999px;background:#fbfcfd;color:#344054;padding:5px 9px;font-size:.78rem;font-weight:800}.streamlit-file-chip .chat-svg{width:15px;height:15px}.streamlit-bubble.typing{display:inline-flex;align-items:center;justify-content:center;min-width:64px;min-height:40px;border-color:#edf1f5;background:#fff}.typing-ellipsis{display:inline-flex;align-items:center;gap:5px;color:#667085;font-size:1.3rem;font-weight:900;line-height:.8}.typing-ellipsis span{animation:typing-dot .9s ease-in-out infinite}.typing-ellipsis span:nth-child(2){animation-delay:.12s}.typing-ellipsis span:nth-child(3){animation-delay:.24s}.typing-ellipsis.compact{gap:3px;color:#8a96a3;font-size:1.1rem}.streamlit-review-card{display:grid;gap:13px;border:1px solid #edf1f5;border-radius:8px;background:#fff;padding:14px;box-shadow:0 10px 24px #1018280a}.streamlit-review-actions{display:flex;gap:8px;flex-wrap:wrap}.streamlit-composer-panel{position:sticky;bottom:0;z-index:9;display:grid;gap:9px;border-top:1px solid #edf1f5;background:#fffffff5;padding:10px 16px calc(10px + env(safe-area-inset-bottom));box-shadow:0 -18px 44px #10182814;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.streamlit-composer-waiting{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #edf1f5;border-radius:999px;background:#fbfcfd;color:#475467;padding:10px 14px;font-size:.88rem;font-weight:800}.streamlit-quick-replies{display:flex;gap:8px;overflow-x:auto;padding:1px 0 3px;scrollbar-width:none}.streamlit-quick-replies .answer-chip{flex:0 0 auto;min-height:36px;border-color:#d9e1e8;border-radius:999px;background:#fff;color:#344054;padding:8px 13px;box-shadow:none}.streamlit-quick-replies .answer-chip:hover{border-color:#9ccfd8;background:#f4fbfc;box-shadow:none;transform:translateY(-1px)}.streamlit-composer{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;align-items:center}.streamlit-chat-input{height:52px;min-height:52px;max-height:96px;border-color:#d6e0e7;border-radius:999px;background:#fff;padding:14px 18px;color:#101828;line-height:1.35;overflow-y:auto;resize:none;box-shadow:0 8px 24px #1018280d;scrollbar-width:thin}.streamlit-chat-input::placeholder{color:#8a96a3}.streamlit-chat-input:focus{border-color:#9ccfd8;box-shadow:0 0 0 4px #1f7a8c1c,0 8px 24px #1018280f}.streamlit-chat-input[rows="3"]{height:52px;border-radius:999px}.composer-send{width:48px;min-width:48px;height:48px;min-height:48px;border-radius:999px;padding:0;background:#1f7a8c;border-color:#1f7a8c;box-shadow:0 10px 22px #1f7a8c38}.composer-send:hover:not(:disabled){background:#166070;border-color:#166070;transform:translateY(-1px)}.composer-send:disabled{background:#d9e6ea;border-color:#d9e6ea;color:#7a8d94;box-shadow:none}.chat-svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}@keyframes streamlit-message-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes typing-dot{0%,to{opacity:.35;transform:translateY(0)}50%{opacity:1;transform:translateY(-3px)}}@media(min-width:640px){.streamlit-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.streamlit-start-screen{padding:24px 22px}.streamlit-start-options{grid-template-columns:repeat(2,minmax(0,1fr))}.streamlit-composer{grid-template-columns:minmax(0,1fr) 48px}.composer-send{min-width:48px}}@media(min-width:920px){.streamlit-chat-page{background:#f6f8fa;padding:20px}.streamlit-chat-shell{height:calc(100dvh - 40px);min-height:0;border:1px solid #e4e9ee;border-radius:8px;box-shadow:0 22px 60px #10182814;overflow:hidden}.streamlit-chat-header,.streamlit-chat-scroll,.streamlit-composer-panel{padding-left:24px;padding-right:24px}}@media(max-width:560px){.streamlit-title-row{align-items:flex-start;flex-direction:column}.streamlit-status{align-self:flex-start}.streamlit-document-status-list{display:grid;grid-template-columns:1fr}.streamlit-document-status-chip{width:100%;border-radius:12px}.streamlit-focus-review{border-radius:10px;padding:12px}.streamlit-focus-review-header{align-items:flex-start;flex-direction:column;gap:3px}.streamlit-focus-detail-grid{grid-template-columns:1fr}.streamlit-focus-detail-item{grid-template-columns:minmax(0,1fr);gap:4px}.streamlit-bubble,.streamlit-bubble.user{max-width:88%}.formatted-detail-row{grid-template-columns:minmax(0,1fr);gap:4px}.message-action-button{flex:1 1 100%;justify-content:center}.streamlit-review-actions .primary-action,.streamlit-review-actions .secondary-action{flex:1 1 100%}}@media(prefers-reduced-motion:reduce){.streamlit-message-row,.typing-ellipsis span{animation:none}}.detail-list{display:grid;gap:10px;margin:0}.detail-list div{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;align-items:center}.detail-list dt{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.detail-list dd{margin:0;min-width:0;font-size:.92rem;font-weight:700;word-break:break-word}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:grid;place-items:center;padding:18px;background:#17202a5c}.modal-panel{width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 24px 72px #17202a38;padding:18px}.documents-modal{width:min(620px,100%)}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px}.modal-header h2{margin:2px 0 0;font-size:1.12rem}.modal-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.modal-wide-field{grid-column:1 / -1}.modal-footer{grid-column:1 / -1;display:flex;justify-content:flex-end;gap:8px;padding-top:6px}.document-request-list{display:grid;gap:10px}.document-request-item{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid var(--border);border-radius:8px;background:#fbfcfd;padding:12px}.document-request-item div:first-child{min-width:0;display:grid;gap:4px}.document-request-item strong{color:var(--text);font-size:.92rem}.document-request-item span,.document-request-item small{min-width:0;color:var(--muted);font-size:.78rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-request-meta{display:grid;justify-items:end;gap:6px;text-align:right}.modal-empty-state{margin:0;border:1px dashed var(--border-strong);border-radius:8px;background:var(--surface-soft)}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.success{color:var(--success)}.info{color:var(--primary-strong)}@media(max-width:1400px){.workspace-grid{grid-template-columns:1fr}.metrics-grid,.client-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:820px){.admin-shell{grid-template-columns:1fr}.chat-intake-shell{min-height:auto;grid-template-columns:1fr}.chat-progress-panel{gap:12px}.section-rail{display:flex;overflow-x:auto;padding-bottom:2px}.section-step{flex:0 0 auto}.chat-panel{min-height:680px}.experience-stage-wrap{grid-template-columns:1fr}.answer-strip{order:-1}.sidebar{position:static;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.side-nav{display:flex;overflow-x:auto}.side-nav a,.sidebar-action{flex:0 0 auto;width:auto}.sidebar-footer{margin-top:0}.admin-main{padding:16px}.topbar{align-items:flex-start;flex-direction:column}.topbar-actions{width:100%;justify-content:flex-start}.control-grid{grid-template-columns:1fr}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-form-grid,.link-output-panel{grid-template-columns:1fr}}@media(max-width:560px){.metrics-grid{grid-template-columns:1fr}.sidebar{align-items:flex-start;flex-direction:column}.login-panel{padding:20px}.admin-main,.intake-page{padding:12px}.chat-intake-page{padding:10px}.chat-panel{min-height:calc(100vh - 20px)}.chat-panel-header{align-items:flex-start;flex-direction:column}.chat-transcript{padding:12px}.chat-bubble{max-width:88%}.question-stage{min-height:460px;padding:20px}.question-title{font-size:1.38rem}.answer-summary-grid,.chat-composer{grid-template-columns:1fr}.composer-actions{justify-content:stretch}.composer-actions .primary-action,.composer-actions .ghost-action{flex:1 1 0}.experience-actions{justify-content:stretch}.experience-actions .primary-action,.experience-actions .ghost-action{flex:1 1 0}.intake-header{align-items:flex-start;flex-direction:column}.filter-grid,.modal-form-grid{grid-template-columns:1fr}.intake-actions{justify-content:stretch}.intake-actions .primary-action,.intake-actions .secondary-action{flex:1 1 100%}.modal-footer{justify-content:stretch}.modal-footer .primary-action,.modal-footer .secondary-action{flex:1 1 0}.document-request-item{grid-template-columns:1fr}.document-request-meta{justify-items:start;text-align:left}}
