.self-sheet-history{border:1px solid var(--border,#d8dee8);background:var(--surface,#fff);border-radius:14px;margin:0 0 24px;padding:24px}.self-sheet-history>header span,.self-sheet-task>header span{color:#1d5fd1;letter-spacing:.08em;text-transform:uppercase;font-size:12px;font-weight:700}.self-sheet-history h2,.self-sheet-task h3{margin:5px 0 7px}.self-sheet-history header p,.self-sheet-task header p,.self-sheet-history__state{color:var(--text-muted,#637083);margin:0}.self-sheet-history__list{border-top:1px solid var(--border,#d8dee8);margin-top:20px}.self-sheet-history__list article{border-bottom:1px solid var(--border,#d8dee8);grid-template-columns:minmax(180px,1.2fr) minmax(230px,.8fr) minmax(170px,.7fr) auto;align-items:center;gap:20px;padding:16px 0;display:grid}.self-sheet-history__list article>p{color:#8a5b16;grid-column:1/-1;margin:-12px 0 0;font-size:12px}.self-sheet-history__source{align-items:baseline;gap:8px;min-width:0;display:flex}.self-sheet-history__source strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.self-sheet-history__source small{color:var(--text-muted,#637083);margin-left:auto}.self-sheet-history dl{grid-template-columns:repeat(3,1fr);gap:10px;margin:0;display:grid}.self-sheet-history dl div{border-left:1px solid var(--border,#d8dee8);padding-left:10px}.self-sheet-history dt{color:var(--text-muted,#637083);font-size:11px}.self-sheet-history dd{margin:3px 0 0;font-weight:700}.self-sheet-history__action{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.self-sheet-history__action code{color:var(--text-muted,#637083);font-size:11px}@media (width<=760px){.self-sheet-history{padding:18px}.self-sheet-history__list article{grid-template-columns:1fr;gap:12px}.self-sheet-history__source small{margin-left:0}.self-sheet-history__action{justify-content:space-between}}.self-sheet-task{border:1px solid var(--border,#d8dee8);background:var(--surface,#fff);border-radius:14px;margin:24px 0 0;padding:24px}.self-sheet-task__table-wrap{margin-top:20px;overflow-x:auto}.self-sheet-task table{border-collapse:collapse;width:100%;min-width:720px}.self-sheet-task th,.self-sheet-task td{border-bottom:1px solid var(--border,#d8dee8);border-left:1px solid var(--border,#d8dee8);text-align:left;vertical-align:top;padding:12px}.self-sheet-task th:first-child,.self-sheet-task td:first-child{border-left:0}.self-sheet-task td small{color:var(--text-muted,#637083);margin-top:4px;display:block}.self-sheet-task select,.self-sheet-task td input:not([type=checkbox]){color:#182231;background:#fff;border:1px solid #aeb8c7;border-radius:7px;width:100%;min-height:38px;padding:7px 9px}.self-sheet-task__preview{background:#f4f8ff;border:1px solid #9db7e4;border-radius:8px;margin-top:16px;padding:14px}.self-sheet-task__preview.is-blocked,.self-sheet-task__error{color:#8b2b2b}.self-sheet-task__success{color:#1d6842;font-weight:700}.self-sheet-task__actions{justify-content:flex-end;gap:10px;margin-top:18px;display:flex}@media (width<=760px){.self-sheet-task{padding:18px}.self-sheet-task__actions{flex-direction:column;align-items:stretch}}.spreadsheet-page{max-width:none;min-height:100%;color:var(--ink);padding:24px}.spreadsheet-page__header{justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:18px;display:flex}.spreadsheet-page__header h1{letter-spacing:-.02em;margin:3px 0 6px;font-size:28px;line-height:1.12}.spreadsheet-page__header>div:first-child>p:last-child{max-width:760px;color:var(--muted);margin:0;font-size:13px;line-height:1.5}.spreadsheet-page__kicker{color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:11px;font-weight:780}.spreadsheet-steps{border:1px solid var(--line);background:var(--surface);border-radius:10px;flex:none;gap:4px;padding:3px;display:inline-flex}.spreadsheet-steps span{min-height:32px;color:var(--muted);border-radius:7px;align-items:center;gap:5px;padding:0 10px;font-size:11px;font-weight:720;display:inline-flex}.spreadsheet-steps span.is-active{background:var(--accent-bg);color:var(--accent-strong)}.spreadsheet-steps span.is-done{color:var(--good-strong)}.spreadsheet-catalog-stage,.spreadsheet-upload-stage,.spreadsheet-chat-layout{border:1px solid var(--line);background:var(--surface);border-radius:14px;overflow:hidden}.spreadsheet-catalog-stage{grid-template-rows:auto minmax(0,1fr) auto;height:calc(100dvh - 154px);min-height:590px;display:grid}.spreadsheet-stage-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-end;gap:24px;padding:20px 22px 18px;display:flex}.spreadsheet-stage-heading span,.spreadsheet-selected-catalog>span,.spreadsheet-chat-head span,.spreadsheet-ledger__head>div>span{color:var(--accent-strong);letter-spacing:.07em;text-transform:uppercase;font-size:10px;font-weight:780}.spreadsheet-stage-heading h2,.spreadsheet-chat-head h2,.spreadsheet-ledger__head h2{margin:4px 0 3px;font-size:16px;line-height:1.25}.spreadsheet-stage-heading p,.spreadsheet-chat-head p{max-width:720px;color:var(--muted);margin:0;font-size:12px;line-height:1.45}.spreadsheet-catalog-search{border:1px solid var(--line);background:var(--surface-soft);width:min(320px,34vw);min-height:38px;color:var(--muted);border-radius:9px;align-items:center;gap:8px;padding:0 11px;display:flex}.spreadsheet-catalog-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-bg)}.spreadsheet-catalog-search svg{width:16px;height:16px}.spreadsheet-catalog-search input{width:100%;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;font-size:12px}.spreadsheet-catalog-list{background:var(--surface-soft);padding:18px 22px 30px;overflow-y:auto}.spreadsheet-catalog-group+.spreadsheet-catalog-group{margin-top:22px}.spreadsheet-catalog-group h3{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:10px;font-weight:780}.spreadsheet-catalog-group>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.spreadsheet-catalog-option{border:1px solid var(--line);background:var(--surface);min-width:0;color:var(--ink);text-align:left;border-radius:10px;grid-template-columns:18px minmax(0,1fr);gap:10px;padding:12px;display:grid}.spreadsheet-catalog-option:hover{border-color:var(--line-strong)}.spreadsheet-catalog-option.is-selected{border-color:var(--accent)}.spreadsheet-radio{border:1px solid var(--line-strong);border-radius:50%;place-items:center;width:16px;height:16px;margin-top:1px;display:grid}.is-selected .spreadsheet-radio{border-color:var(--accent)}.is-selected .spreadsheet-radio span{background:var(--accent);border-radius:50%;width:8px;height:8px}.spreadsheet-catalog-option strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.35;display:block;overflow:hidden}.spreadsheet-catalog-option code{color:var(--muted);font-family:var(--font-mono,monospace);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:10px;line-height:1.35;display:-webkit-box;overflow:hidden}.spreadsheet-stage-actions,.spreadsheet-upload-footer{border-top:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:18px;padding:12px 16px;display:flex}.spreadsheet-stage-actions>span,.spreadsheet-upload-footer>span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.spreadsheet-primary,.spreadsheet-secondary{border:1px solid var(--line-strong);background:var(--surface);min-height:36px;color:var(--ink-soft);border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:0 13px;font-size:12px;font-weight:740;display:inline-flex}.spreadsheet-primary{border-color:var(--accent-strong);background:var(--accent-strong);color:#fff}.spreadsheet-primary:disabled{cursor:not-allowed;opacity:.45}.spreadsheet-primary svg,.spreadsheet-secondary svg{width:16px;height:16px}.spreadsheet-upload-stage{width:min(900px,100%);margin:34px auto 0}.spreadsheet-selected-catalog{border-bottom:1px solid var(--line);background:var(--surface-soft);gap:4px;padding:17px 86px 16px 20px;display:grid;position:relative}.spreadsheet-selected-catalog strong{font-size:14px}.spreadsheet-selected-catalog code{color:var(--muted);font-size:10px}.spreadsheet-selected-catalog button{color:var(--accent-strong);font-size:11px;font-weight:740;position:absolute;top:16px;right:18px}.spreadsheet-dropzone{border:1px dashed var(--line-strong);background:var(--surface);text-align:center;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;min-height:360px;margin:24px;padding:44px 28px;display:flex}.spreadsheet-dropzone.is-dragging{border-color:var(--accent);background:var(--accent-bg)}.spreadsheet-dropzone__icon{border:1px solid var(--accent);background:var(--surface);width:48px;height:48px;color:var(--accent-strong);border-radius:13px;place-items:center;display:grid}.spreadsheet-dropzone__icon svg{width:23px;height:23px}.spreadsheet-dropzone h2{margin:15px 0 7px;font-size:18px}.spreadsheet-dropzone>p{max-width:640px;color:var(--muted);margin:0;font-size:12px;line-height:1.5}.spreadsheet-dropzone__prompt{color:var(--ink-soft);margin:21px 0 10px;font-size:12px}.spreadsheet-file-chip{border:1px solid var(--accent);background:var(--surface);text-align:left;border-radius:10px;align-items:center;gap:10px;width:min(520px,100%);margin-top:22px;padding:12px 13px;display:flex}.spreadsheet-file-chip>svg{color:var(--accent-strong);flex:none}.spreadsheet-file-chip>span{flex:1;min-width:0}.spreadsheet-file-chip strong,.spreadsheet-file-chip small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.spreadsheet-file-chip strong{font-size:12px}.spreadsheet-file-chip small{color:var(--muted);margin-top:2px;font-size:10px}.spreadsheet-file-chip button{width:28px;height:28px;color:var(--muted);border-radius:7px;font-size:20px}.spreadsheet-error{border:1px solid var(--danger-line);background:var(--danger-bg);color:var(--danger-strong);border-radius:9px;margin:0 24px 14px;padding:10px 14px;font-size:11px}.spreadsheet-chat-layout{grid-template-columns:minmax(480px,1fr) minmax(350px,430px);height:calc(100dvh - 154px);min-height:620px;display:grid}.spreadsheet-chat-workspace{flex-direction:column;min-width:0;min-height:0;display:flex}.spreadsheet-chat-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:20px;padding:16px 18px;display:flex}.spreadsheet-workbook-strip{border-bottom:1px solid var(--line);background:var(--surface-soft);min-height:38px;color:var(--muted);align-items:center;gap:8px;padding:0 18px;font-size:10px;display:flex}.spreadsheet-workbook-strip svg{width:15px;color:var(--accent-strong)}.spreadsheet-workbook-strip strong{color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.spreadsheet-workbook-strip em{background:var(--warm-bg);color:var(--warm-strong);border-radius:4px;padding:2px 5px;font-style:normal;font-weight:700}.spreadsheet-conversation{overscroll-behavior:contain;background:linear-gradient(180deg, #f8fafce0, #fffffffa), var(--surface);flex:1;min-height:0;padding:22px;overflow-y:auto}.spreadsheet-message,.spreadsheet-thinking{align-items:flex-start;gap:9px;max-width:min(720px,88%);margin-bottom:16px;display:flex}.spreadsheet-message--manager{flex-direction:row-reverse;margin-left:auto}.spreadsheet-message__avatar,.spreadsheet-thinking>span{border:1px solid var(--line);background:var(--surface);width:28px;height:28px;color:var(--accent-strong);border-radius:9px;flex:0 0 28px;place-items:center;font-size:11px;font-weight:800;display:grid}.spreadsheet-message--manager .spreadsheet-message__avatar{border-color:var(--accent);background:var(--accent-bg)}.spreadsheet-message>div,.spreadsheet-thinking>div{min-width:0}.spreadsheet-message strong,.spreadsheet-thinking strong{color:var(--muted);margin:0 0 4px 2px;font-size:10px;display:block}.spreadsheet-message p,.spreadsheet-thinking>div>div{border:1px solid var(--line);background:var(--surface);width:fit-content;max-width:100%;color:var(--ink-soft);white-space:pre-wrap;border-radius:13px;margin:0;padding:11px 13px;font-size:13px;line-height:1.5}.spreadsheet-message--manager p{border-color:var(--accent);background:var(--accent-bg);color:var(--ink)}.spreadsheet-quick-actions{border-top:1px solid var(--line);background:var(--surface-soft);gap:8px;padding:9px 18px;display:flex}.spreadsheet-quick-actions button{border:1px solid var(--line-strong);background:var(--surface);min-height:31px;color:var(--ink-soft);border-radius:8px;padding:0 10px;font-size:11px;font-weight:720}.spreadsheet-quick-actions button:first-child{border-color:var(--good-line);color:var(--good-strong)}.spreadsheet-chat-workspace>.chat-composer{border-top:1px solid var(--line)}.spreadsheet-error--chat{margin:0 18px 12px}.spreadsheet-ledger{border-left:1px solid var(--line);background:var(--surface-soft);min-width:0;overflow-y:auto}.spreadsheet-ledger__head{z-index:2;border-bottom:1px solid var(--line);background:color-mix(in srgb, var(--surface-soft) 94%, transparent);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:16px 17px;position:sticky;top:0}.spreadsheet-ledger__head h2{padding-right:130px}.spreadsheet-ledger-status{border:1px solid var(--warm-line);background:var(--warm-bg);color:var(--warm-strong);border-radius:999px;padding:4px 7px;font-size:9px;font-weight:750;position:absolute;top:16px;right:16px}.spreadsheet-ledger-status.is-ready{border-color:var(--good-line);background:var(--good-bg);color:var(--good-strong)}.spreadsheet-confidence{margin-top:12px}.spreadsheet-confidence>span{color:var(--muted);justify-content:space-between;font-size:10px;display:flex}.spreadsheet-confidence>div{background:var(--line);border-radius:999px;height:4px;margin-top:5px;overflow:hidden}.spreadsheet-confidence>div>span{border-radius:inherit;background:var(--accent);height:100%;display:block}.spreadsheet-ledger__body{padding:10px}.spreadsheet-ledger-section{border:1px solid var(--line);background:var(--surface);border-radius:9px;margin-bottom:8px}.spreadsheet-ledger-section summary{cursor:pointer;min-height:38px;color:var(--ink-soft);justify-content:space-between;align-items:center;padding:0 11px;font-size:11px;font-weight:760;list-style:none;display:flex}.spreadsheet-ledger-section summary::-webkit-details-marker{display:none}.spreadsheet-ledger-section summary span{color:var(--muted);transition:transform var(--motion-fast) var(--ease-out)}.spreadsheet-ledger-section[open] summary span{transform:rotate(180deg)}.spreadsheet-ledger-section>div{border-top:1px solid var(--line);padding:0 11px 11px}.spreadsheet-ledger-fact,.spreadsheet-parameter{border-bottom:1px solid var(--line);grid-template-columns:112px minmax(0,1fr);gap:8px;padding:8px 0;font-size:10px;display:grid}.spreadsheet-ledger-fact:last-child,.spreadsheet-parameter:last-child{border-bottom:0}.spreadsheet-ledger-fact span,.spreadsheet-parameter span{color:var(--muted)}.spreadsheet-ledger-fact strong,.spreadsheet-parameter strong{overflow-wrap:anywhere;color:var(--ink-soft);font-weight:670}.spreadsheet-mapping,.spreadsheet-formula-card,.spreadsheet-quality{border-bottom:1px solid var(--line);padding:9px 0}.spreadsheet-mapping:last-child,.spreadsheet-formula-card:last-child,.spreadsheet-quality:last-child{border-bottom:0}.spreadsheet-mapping>div,.spreadsheet-formula-card>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.spreadsheet-mapping strong,.spreadsheet-formula-card strong,.spreadsheet-quality strong{color:var(--ink-soft);font-size:10px}.spreadsheet-mapping span,.spreadsheet-formula-card span,.spreadsheet-parameter em{background:var(--surface-soft);color:var(--muted);border-radius:4px;padding:2px 5px;font-size:8px;font-style:normal;font-weight:730}.spreadsheet-mapping .is-confirmed,.spreadsheet-formula-card .is-confirmed,.spreadsheet-parameter .is-confirmed{background:var(--good-bg);color:var(--good-strong)}.spreadsheet-mapping .is-missing,.spreadsheet-formula-card .is-missing,.spreadsheet-parameter .is-missing{background:var(--danger-bg);color:var(--danger-strong)}.spreadsheet-mapping .is-needs_confirmation,.spreadsheet-formula-card .is-needs_confirmation,.spreadsheet-parameter .is-needs_confirmation{background:var(--warm-bg);color:var(--warm-strong)}.spreadsheet-mapping p,.spreadsheet-formula-card p,.spreadsheet-quality p{color:var(--ink-soft);margin:5px 0 3px;font-size:10px;line-height:1.45}.spreadsheet-mapping small,.spreadsheet-formula-card small{color:var(--muted);font-size:9px;line-height:1.4;display:block}.spreadsheet-catalog-formula{background:var(--accent-bg);color:var(--accent-strong);white-space:normal;border-radius:7px;margin-top:9px;padding:8px;font-size:9px;line-height:1.45;display:block}.spreadsheet-parameter{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.spreadsheet-quality{border-left:2px solid var(--line-strong);padding-left:9px}.spreadsheet-ledger-list{margin:0;padding:8px 0 0 16px}.spreadsheet-ledger-list li{color:var(--ink-soft);padding:3px 0;font-size:10px;line-height:1.4}.spreadsheet-ledger-empty,.spreadsheet-empty{color:var(--muted);font-size:11px}.spreadsheet-empty{text-align:center;padding:34px}@media (width<=1020px){.spreadsheet-page{padding:18px}.spreadsheet-page__header{flex-direction:column;align-items:flex-start;gap:14px}.spreadsheet-catalog-stage,.spreadsheet-chat-layout{height:calc(100dvh - 198px)}.spreadsheet-chat-layout{grid-template-columns:minmax(420px,1fr) 340px}}@media (width<=760px){.spreadsheet-page{padding:12px}.spreadsheet-page__header h1{font-size:23px}.spreadsheet-steps{width:100%}.spreadsheet-steps span{flex:1;justify-content:center;min-width:0;padding:0 5px;font-size:9px}.spreadsheet-catalog-stage,.spreadsheet-chat-layout{height:auto;min-height:calc(100dvh - 190px)}.spreadsheet-stage-heading,.spreadsheet-chat-head{flex-direction:column;align-items:stretch}.spreadsheet-catalog-search{width:100%}.spreadsheet-catalog-list{max-height:62dvh;padding:14px}.spreadsheet-catalog-group>div{grid-template-columns:1fr}.spreadsheet-stage-actions{flex-direction:column;align-items:stretch}.spreadsheet-stage-actions>span{white-space:normal}.spreadsheet-primary{width:100%}.spreadsheet-upload-stage{margin-top:14px}.spreadsheet-dropzone{min-height:330px;margin:14px;padding:28px 16px}.spreadsheet-upload-footer{flex-direction:column;align-items:stretch}.spreadsheet-upload-footer>span{white-space:normal}.spreadsheet-chat-layout{flex-direction:column;display:flex;overflow:visible}.spreadsheet-chat-workspace{min-height:70dvh}.spreadsheet-ledger{border-top:1px solid var(--line);border-left:0;max-height:none}.spreadsheet-ledger__head{position:static}.spreadsheet-conversation{min-height:45dvh;padding:15px}.spreadsheet-message,.spreadsheet-thinking{max-width:96%}.spreadsheet-quick-actions{overflow-x:auto}}.spreadsheet-match-stage{border:1px solid var(--line);background:var(--surface);border-radius:12px;gap:16px;padding:20px;display:grid;box-shadow:0 8px 24px #0f10150d}.spreadsheet-match-stage__header,.spreadsheet-match-stage__actions{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.spreadsheet-match-stage__header span{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;font-size:11px;font-weight:800}.spreadsheet-match-stage__header h2,.spreadsheet-match-stage__header p{margin:4px 0 0}.spreadsheet-match-stage__candidates{gap:10px;display:grid}.spreadsheet-match-recommendation{border:1px solid var(--accent);background:var(--accent-bg);color:var(--ink);border-radius:10px;gap:10px;padding:18px;display:grid}.spreadsheet-match-recommendation__badge{background:var(--accent);width:fit-content;color:var(--surface);letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}.spreadsheet-match-recommendation h3,.spreadsheet-match-recommendation ul{margin:0}.spreadsheet-match-recommendation ul{color:var(--ink-soft);gap:6px;padding-left:20px;font-size:13px;display:grid}.spreadsheet-match-alternatives{border-top:1px solid var(--line);padding-top:2px}.spreadsheet-match-alternatives summary{color:var(--accent-strong);cursor:pointer;padding:10px 0;font-size:13px;font-weight:700}.spreadsheet-match-candidate{border:1px solid var(--line-strong);background:var(--surface-soft);width:100%;color:var(--ink);text-align:left;border-radius:10px;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:14px;display:grid}.spreadsheet-match-candidate.is-selected{border-color:var(--accent);background:var(--accent-bg)}.spreadsheet-match-candidate__body{gap:6px;display:grid}.spreadsheet-match-candidate__body small{color:var(--muted)}.spreadsheet-match-candidate__evidence{border-top:1px solid var(--line);flex-wrap:wrap;gap:8px 16px;padding-top:8px;font-size:12px;display:flex}.spreadsheet-match-stage__actions{justify-content:flex-end;align-items:center;padding-top:4px}.spreadsheet-catalog-option.is-held{background:var(--surface-soft);color:var(--muted);cursor:not-allowed;opacity:1;border-style:dashed}.spreadsheet-catalog-option.is-held:hover{border-color:var(--line)}.spreadsheet-catalog-status{gap:2px;margin-top:8px;display:grid}.spreadsheet-catalog-status b{background:var(--accent-bg);width:fit-content;color:var(--accent);border-radius:999px;padding:2px 6px;font-size:9px;line-height:1.4}.spreadsheet-catalog-option.is-held .spreadsheet-catalog-status b{background:var(--surface);color:var(--muted)}.spreadsheet-catalog-status small{color:var(--muted);font-size:9px;line-height:1.35}.spreadsheet-catalog-loading{justify-content:center;align-items:center;gap:10px;min-height:160px;display:flex}.spreadsheet-live-mapping{border:1px solid var(--line);background:var(--surface);border-radius:16px;gap:18px;padding:24px;display:grid}.spreadsheet-live-mapping.is-held{background:#fff9f5;border-color:#c97c5d}.spreadsheet-live-mapping>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.spreadsheet-live-mapping>header span{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:700}.spreadsheet-live-mapping>header h2{margin:5px 0 7px}.spreadsheet-live-mapping>header p,.spreadsheet-live-mapping__next p{max-width:760px;color:var(--muted);margin:0}.spreadsheet-live-mapping__facts{border:1px solid var(--line);border-radius:12px;grid-template-columns:repeat(5,minmax(110px,1fr));margin:0;display:grid;overflow:hidden}.spreadsheet-live-mapping__facts div{border-right:1px solid var(--line);background:var(--surface-soft);gap:4px;padding:12px;display:grid}.spreadsheet-live-mapping__facts div:last-child{border-right:0}.spreadsheet-live-mapping__facts dt{color:var(--muted);font-size:10px}.spreadsheet-live-mapping__facts dd{margin:0;font-size:14px;font-weight:700}.spreadsheet-live-mapping__fields{flex-wrap:wrap;gap:8px;display:flex}.spreadsheet-live-mapping__fields span{color:#1f6847;background:#f3fbf7;border:1px solid #b5d4c4;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:700}.spreadsheet-live-mapping__next,.spreadsheet-live-mapping__missing{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;padding:16px}.spreadsheet-live-mapping__next ol,.spreadsheet-live-mapping__missing ul{gap:8px;margin:12px 0 0;padding-left:22px;display:grid}@media (width<=900px){.spreadsheet-live-mapping__facts{grid-template-columns:repeat(2,minmax(120px,1fr))}.spreadsheet-live-mapping__facts div{border-bottom:1px solid var(--line)}.spreadsheet-live-mapping>header{flex-direction:column}}.spreadsheet-live-decision{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;gap:16px;padding:18px;display:grid}.spreadsheet-live-decision h3,.spreadsheet-live-execution-result h3{margin:4px 0 6px;font-size:18px}.spreadsheet-live-decision p,.spreadsheet-live-execution-result p{color:var(--muted);margin:0;line-height:1.55}.spreadsheet-live-decision__step,.spreadsheet-live-execution-result>div:first-child>span{background:var(--accent-bg);width:fit-content;color:var(--accent-strong);letter-spacing:.05em;text-transform:uppercase;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.spreadsheet-live-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.spreadsheet-live-choice-grid>label,.spreadsheet-live-choice-grid>button{border:1px solid var(--line-strong);background:var(--surface);min-height:78px;color:var(--ink-soft);text-align:left;cursor:pointer;border-radius:10px;align-items:flex-start;gap:10px;padding:12px;display:flex}.spreadsheet-live-choice-grid>label.is-selected,.spreadsheet-live-choice-grid>button.is-selected{border-color:var(--accent-strong);box-shadow:0 0 0 2px var(--accent-bg)}.spreadsheet-live-choice-grid label>span,.spreadsheet-live-choice-grid button{gap:4px;display:grid}.spreadsheet-live-choice-grid small,.spreadsheet-live-choice-grid em{color:var(--muted);font-size:10px;font-style:normal;line-height:1.4}.spreadsheet-live-decision__actions{justify-content:space-between;align-items:center;gap:12px;padding-top:4px;display:flex}.spreadsheet-live-variant-tabs{flex-wrap:wrap;gap:8px;display:flex}.spreadsheet-live-variant-tabs button{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-soft);border-radius:8px;padding:7px 10px}.spreadsheet-live-variant-tabs button.is-selected{border-color:var(--accent-strong);background:var(--accent-bg)}.spreadsheet-live-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.spreadsheet-live-scope-grid label{color:var(--ink-soft);gap:7px;font-size:11px;display:grid}.spreadsheet-live-scope-grid select{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--ink);border-radius:8px;padding:0 10px}.spreadsheet-live-execution-result{background:#f8fcfa;border:1px solid #b5d4c4;border-radius:12px;gap:16px;padding:18px;display:grid}.spreadsheet-live-execution-result.is-held{background:#fff9f5;border-color:#c97c5d}.spreadsheet-live-execution-result__counts{border:1px solid var(--line);border-radius:10px;grid-template-columns:repeat(4,minmax(110px,1fr));margin:0;display:grid;overflow:hidden}.spreadsheet-live-execution-result__counts div{border-right:1px solid var(--line);background:var(--surface);gap:4px;padding:11px;display:grid}.spreadsheet-live-execution-result__counts div:last-child{border-right:0}.spreadsheet-live-execution-result__counts dt{color:var(--muted);font-size:10px}.spreadsheet-live-execution-result__counts dd{margin:0;font-size:17px;font-weight:800}.spreadsheet-live-execution-result__table-wrap{border:1px solid var(--line);background:var(--surface);border-radius:10px;overflow-x:auto}.spreadsheet-live-execution-result table{border-collapse:collapse;width:100%;min-width:760px}.spreadsheet-live-execution-result th,.spreadsheet-live-execution-result td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);text-align:left;vertical-align:top;padding:10px;font-size:11px}.spreadsheet-live-execution-result th:last-child,.spreadsheet-live-execution-result td:last-child{border-right:0}.spreadsheet-live-execution-result tbody tr:last-child td{border-bottom:0}.spreadsheet-live-execution-result th{background:var(--surface-soft);color:var(--muted)}.spreadsheet-live-execution-result__empty{border:1px dashed var(--line-strong);border-radius:10px;padding:14px}@media (width<=900px){.spreadsheet-live-choice-grid,.spreadsheet-live-scope-grid{grid-template-columns:1fr}.spreadsheet-live-execution-result__counts{grid-template-columns:repeat(2,minmax(110px,1fr))}}.spreadsheet-guided-conversation{gap:14px;display:grid}.spreadsheet-page{box-sizing:border-box;width:100%;min-width:0;container-type:inline-size}.spreadsheet-chat-layout.is-file-meaning{grid-template-columns:minmax(0,760px);justify-content:center}@container (width<=900px){.spreadsheet-chat-layout:not(.is-file-meaning){flex-direction:column;height:auto;min-height:calc(100dvh - 198px);display:flex;overflow:visible}.spreadsheet-chat-layout:not(.is-file-meaning) .spreadsheet-chat-workspace{min-height:70dvh}.spreadsheet-chat-layout:not(.is-file-meaning) .spreadsheet-ledger{border-top:1px solid var(--line);border-left:0;max-height:none}.spreadsheet-chat-layout:not(.is-file-meaning) .spreadsheet-ledger__head{position:static}}.spreadsheet-conversation-history{border:1px solid var(--line);background:var(--surface);border-radius:10px}.spreadsheet-conversation-history summary{cursor:pointer;min-height:38px;color:var(--muted);letter-spacing:.04em;text-transform:uppercase;justify-content:space-between;align-items:center;gap:12px;padding:0 12px;font-size:10.5px;font-weight:750;list-style:none;display:flex}.spreadsheet-conversation-history summary::-webkit-details-marker{display:none}.spreadsheet-conversation-history summary strong{background:var(--surface-warm);min-width:22px;height:22px;color:var(--ink-soft);font-family:var(--font-mono);border-radius:999px;place-items:center;font-size:10px;display:grid}.spreadsheet-conversation-history>div{border-top:1px solid var(--line);padding:14px 14px 0}.spreadsheet-current-decision{border:1px solid var(--accent);background:var(--accent-bg);border-radius:12px;padding:14px}.spreadsheet-current-decision>span{color:var(--accent-strong);letter-spacing:.06em;text-transform:uppercase;margin-bottom:10px;font-size:10.5px;font-weight:800;display:block}.spreadsheet-current-decision .spreadsheet-message{max-width:100%;margin-bottom:0}.spreadsheet-file-meaning{border:1px solid var(--accent);background:var(--surface);border-radius:12px;overflow:hidden}.spreadsheet-file-meaning>header{border-bottom:1px solid var(--line);background:var(--accent-bg);padding:16px}.spreadsheet-file-meaning>header span{color:var(--accent-strong);font-size:13px;font-weight:800;display:block}.spreadsheet-file-meaning>header p{color:var(--ink-soft);margin:5px 0 0;font-size:11px;line-height:1.5}.spreadsheet-file-meaning__summary{padding:16px}.spreadsheet-file-meaning__summary>p{color:var(--ink);margin:0 0 14px;font-size:13px;font-weight:700;line-height:1.55}.spreadsheet-file-meaning__summary dl{gap:0;margin:0;display:grid}.spreadsheet-file-meaning__summary dl>div{border-top:1px solid var(--line);grid-template-columns:minmax(90px,.35fr) minmax(0,1fr);gap:12px;padding:9px 0;display:grid}.spreadsheet-file-meaning__summary dt,.spreadsheet-file-meaning__summary dd{margin:0}.spreadsheet-file-meaning__summary dt{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:750}.spreadsheet-file-meaning__summary dd{color:var(--ink-soft);font-size:11.5px;font-weight:650;line-height:1.45}.spreadsheet-file-meaning__question{border-top:1px solid var(--line);background:var(--surface-warm);padding:13px 16px}.spreadsheet-file-meaning__question strong{color:var(--ink);font-size:12px;line-height:1.5}.spreadsheet-threshold-decision{border:1px solid var(--accent);background:var(--surface);border-radius:12px;overflow:hidden}.spreadsheet-threshold-decision>header{border-bottom:1px solid var(--line);background:var(--accent-bg);padding:16px}.spreadsheet-threshold-decision>header span{color:var(--accent-strong);font-size:13px;font-weight:800;display:block}.spreadsheet-threshold-decision>header p{color:var(--ink-soft);margin:5px 0 10px;font-size:11px;line-height:1.5}.spreadsheet-threshold-decision>header code{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:6px;padding:6px 8px;font-size:10.5px;display:inline-block}.spreadsheet-threshold-distribution{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;display:flex}.spreadsheet-threshold-distribution strong,.spreadsheet-threshold-distribution span{background:var(--surface-warm);color:var(--ink-soft);border-radius:999px;padding:5px 8px;font-size:10px}.spreadsheet-threshold-distribution strong{background:var(--ink);color:var(--surface)}.spreadsheet-threshold-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:14px;display:grid}.spreadsheet-threshold-options article{border:1px solid var(--line);background:var(--surface);border-radius:9px;flex-direction:column;min-width:0;padding:12px;display:flex}.spreadsheet-threshold-options article>div{justify-content:space-between;align-items:flex-start;gap:6px;display:flex}.spreadsheet-threshold-options article strong{color:var(--ink);font-size:11px;line-height:1.35}.spreadsheet-threshold-options article em{background:var(--good-bg);color:var(--good-strong);text-transform:uppercase;border-radius:5px;padding:3px 5px;font-size:8px;font-style:normal;font-weight:800}.spreadsheet-threshold-options article>p{min-height:46px;color:var(--muted);margin:8px 0;font-size:9.5px;line-height:1.45}.spreadsheet-threshold-options dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 0 10px;display:grid}.spreadsheet-threshold-options dl>div{background:var(--surface-warm);border-radius:6px;padding:7px}.spreadsheet-threshold-options dt,.spreadsheet-threshold-options dd{margin:0}.spreadsheet-threshold-options dt{color:var(--muted);text-transform:uppercase;font-size:8px;font-weight:750}.spreadsheet-threshold-options dd{color:var(--ink);font-family:var(--font-mono);margin-top:3px;font-size:12px;font-weight:800}.spreadsheet-threshold-options article>button,.spreadsheet-threshold-custom>button{border:1px solid var(--accent);background:var(--accent);min-height:34px;color:var(--surface);border-radius:7px;font-size:10px;font-weight:800}.spreadsheet-threshold-options article>button{margin-top:auto}.spreadsheet-threshold-options button:disabled,.spreadsheet-threshold-custom>button:disabled{cursor:not-allowed;opacity:.5}.spreadsheet-threshold-custom{border-top:1px solid var(--line);background:var(--surface-soft);justify-content:flex-end;align-items:flex-end;gap:8px;padding:12px 14px;display:flex}.spreadsheet-threshold-custom label{gap:5px;display:grid}.spreadsheet-threshold-custom output{border:1px solid var(--good-strong);background:var(--good-bg);min-width:180px;color:var(--good-strong);border-radius:7px;padding:8px 10px;font-size:10px;font-weight:800}.spreadsheet-threshold-custom output:empty{display:none}.spreadsheet-threshold-custom label span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:750}.spreadsheet-threshold-custom input{border:1px solid var(--line-strong);background:var(--surface);width:120px;min-height:34px;color:var(--ink);font-family:var(--font-mono);border-radius:7px;padding:0 9px}.spreadsheet-threshold-custom>button{padding:0 12px}.spreadsheet-ownership-decision{border:1px solid var(--accent);background:var(--surface);border-radius:12px;overflow:hidden}.spreadsheet-ownership-decision>header{border-bottom:1px solid var(--line);background:var(--accent-bg);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;display:flex}.spreadsheet-ownership-decision>header span{color:var(--accent-strong);font-size:13px;font-weight:800}.spreadsheet-ownership-decision>header p{max-width:620px;color:var(--ink-soft);margin:5px 0 0;font-size:11px;line-height:1.5}.spreadsheet-ownership-decision>header>strong{background:var(--ink);min-width:34px;height:34px;color:var(--surface);font-family:var(--font-mono);border-radius:999px;place-items:center;font-size:12px;display:grid}.spreadsheet-ownership-table-wrap{overflow-x:auto}.spreadsheet-ownership-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:920px}.spreadsheet-ownership-table th,.spreadsheet-ownership-table td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:11px 12px}.spreadsheet-ownership-table th+th,.spreadsheet-ownership-table td+td{border-left:1px solid var(--line)}.spreadsheet-ownership-table th{background:var(--surface-warm);color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:800}.spreadsheet-ownership-table th:first-child{width:19%}.spreadsheet-ownership-table th:nth-child(2){width:17%}.spreadsheet-ownership-table th:nth-child(3){width:23%}.spreadsheet-ownership-table th:nth-child(4){width:16%}.spreadsheet-ownership-table td{color:var(--ink-soft);font-size:10px;line-height:1.45}.spreadsheet-ownership-table td>strong,.spreadsheet-ownership-table td>span,.spreadsheet-ownership-table td>code{display:block}.spreadsheet-ownership-table td>strong{color:var(--ink);margin-bottom:4px;font-size:11px}.spreadsheet-ownership-table td>span+span{margin-top:2px}.spreadsheet-ownership-table td>code{color:var(--muted);text-overflow:ellipsis;margin-top:4px;font-size:9px;overflow:hidden}.spreadsheet-ownership-table .is-decline{color:var(--danger-strong);margin-top:4px}.spreadsheet-ownership-table .is-review{color:var(--danger-strong)}.spreadsheet-ownership-table tr[data-recipient-status=manager_review] td{background:var(--danger-bg)}.spreadsheet-ownership-decision>footer{background:var(--surface-soft);justify-content:flex-end;gap:8px;padding:12px 14px;display:flex}.spreadsheet-ownership-decision>footer>button:last-child{border:1px solid var(--accent);background:var(--accent);min-height:36px;color:var(--surface);border-radius:7px;padding:0 14px;font-size:10px;font-weight:800}.spreadsheet-ownership-decision>footer button:disabled{cursor:not-allowed;opacity:.5}.spreadsheet-catalog-draft{border:1px solid var(--accent);background:var(--surface);border-radius:12px;overflow:hidden}.spreadsheet-catalog-draft>header{border-bottom:1px solid var(--line);background:var(--accent-bg);justify-content:space-between;align-items:flex-start;gap:16px;padding:16px;display:flex}.spreadsheet-catalog-draft>header span{color:var(--accent-strong);font-size:13px;font-weight:800}.spreadsheet-catalog-draft>header p{max-width:620px;color:var(--ink-soft);margin:5px 0 0;font-size:11px;line-height:1.5}.spreadsheet-catalog-draft>header>strong{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink-soft);font-family:var(--font-mono);border-radius:6px;padding:5px 7px;font-size:10px}.spreadsheet-catalog-draft__steps{border-bottom:1px solid var(--line);background:var(--surface-soft);grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.spreadsheet-catalog-draft__steps span{color:var(--muted);text-align:center;border-bottom:2px solid #0000;padding:9px 12px;font-size:9px;font-weight:750}.spreadsheet-catalog-draft__steps span+span{border-left:1px solid var(--line)}.spreadsheet-catalog-draft__steps span.is-active{border-bottom-color:var(--accent);background:var(--surface);color:var(--accent-strong)}.spreadsheet-catalog-draft__form{gap:12px;padding:14px;display:grid}.spreadsheet-catalog-draft__group{border:1px solid var(--line);background:var(--surface);border-radius:9px;min-width:0;margin:0;padding:12px}.spreadsheet-catalog-draft__group legend{color:var(--ink);letter-spacing:.03em;text-transform:uppercase;padding:0 6px;font-size:10px;font-weight:800}.spreadsheet-catalog-draft__group>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.spreadsheet-catalog-draft__threshold-options{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.spreadsheet-catalog-draft__threshold-options article{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;gap:7px;padding:10px;display:grid}.spreadsheet-catalog-draft__threshold-options article>div{justify-content:space-between;align-items:center;gap:8px;display:flex}.spreadsheet-catalog-draft__threshold-options em{color:var(--accent-strong);font-size:9px;font-style:normal;font-weight:800}.spreadsheet-catalog-draft__threshold-options p,.spreadsheet-catalog-draft__threshold-options span{color:var(--ink-soft);margin:0;font-size:10px;line-height:1.45}.spreadsheet-catalog-draft__group label{align-content:start;gap:5px;min-width:0;display:grid}.spreadsheet-catalog-draft__group label.is-wide,.spreadsheet-catalog-draft__person-rule{grid-column:1/-1}.spreadsheet-catalog-draft__group label>span{color:var(--muted);text-transform:uppercase;font-size:9px;font-weight:750}.spreadsheet-catalog-draft__group input,.spreadsheet-catalog-draft__group select,.spreadsheet-catalog-draft__group textarea{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-width:0;color:var(--ink);font:inherit;border-radius:7px;font-size:11px}.spreadsheet-catalog-draft__group input,.spreadsheet-catalog-draft__group select{min-height:36px;padding:0 9px}.spreadsheet-catalog-draft__group textarea{resize:vertical;padding:8px 9px;line-height:1.45}.spreadsheet-catalog-draft__group input:focus,.spreadsheet-catalog-draft__group select:focus,.spreadsheet-catalog-draft__group textarea:focus{border-color:var(--accent);outline:2px solid var(--accent-bg);outline-offset:1px}.spreadsheet-catalog-draft__person-rule{border:1px solid var(--line);background:var(--surface-warm);color:var(--ink-soft);border-radius:7px;margin:0;padding:9px 10px;font-size:10px;line-height:1.5}.spreadsheet-catalog-draft>footer{border-top:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:flex-end;gap:16px;padding:14px;display:flex}.spreadsheet-catalog-draft__status{min-width:0}.spreadsheet-catalog-draft__status>span{color:var(--danger-strong);text-transform:uppercase;font-size:10px;font-weight:800}.spreadsheet-catalog-draft__status>strong{color:var(--good-strong);font-size:11px;display:block}.spreadsheet-catalog-draft__status ul{color:var(--danger-strong);flex-wrap:wrap;gap:5px 14px;margin:7px 0;padding-left:16px;font-size:9.5px;line-height:1.4;display:flex}.spreadsheet-catalog-draft__status small{color:var(--muted);margin-top:6px;font-size:9px;display:block}.spreadsheet-catalog-draft__actions{flex:none;gap:8px;display:flex}.spreadsheet-catalog-draft__actions button{min-height:36px;padding:0 12px}.spreadsheet-catalog-draft__actions button:disabled{cursor:not-allowed;opacity:.5}@media (width<=760px){.spreadsheet-threshold-options{grid-template-columns:1fr}.spreadsheet-threshold-options article>p{min-height:0}.spreadsheet-threshold-custom{flex-direction:column;align-items:stretch}.spreadsheet-threshold-custom input{width:100%}.spreadsheet-catalog-draft__group>div,.spreadsheet-catalog-draft__threshold-options{grid-template-columns:1fr}.spreadsheet-catalog-draft>footer,.spreadsheet-catalog-draft__actions{flex-direction:column;align-items:stretch}.spreadsheet-catalog-draft__steps{grid-template-columns:1fr}.spreadsheet-catalog-draft__steps span+span{border-top:1px solid var(--line);border-left:0}}.spreadsheet-complete,.spreadsheet-demo-complete{border-top:1px solid var(--good-line);background:var(--good-bg);grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 18px;display:grid}.spreadsheet-complete>span,.spreadsheet-demo-complete>span{border:1px solid var(--good-line);background:var(--surface);width:32px;height:32px;color:var(--good-strong);border-radius:9px;place-items:center;font-weight:800;display:grid}.spreadsheet-complete strong,.spreadsheet-demo-complete strong{color:var(--ink);font-size:12px;display:block}.spreadsheet-complete p,.spreadsheet-demo-complete p{color:var(--muted);margin:3px 0 0;font-size:10px;line-height:1.4}.spreadsheet-demo-complete{grid-template-columns:32px minmax(0,1fr)}.spreadsheet-complete--held{border-top-color:var(--warm-line);background:var(--warm-bg);grid-template-columns:32px minmax(0,1fr)}.spreadsheet-complete--error{border-color:var(--warm-line);background:var(--warm-bg)}.spreadsheet-complete--error>span{border-color:var(--warm-line);color:var(--warm-strong);background:var(--surface)}.spreadsheet-complete--held>span{border-color:var(--warm-line);color:var(--warm-strong)}.spreadsheet-upload-choices{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.spreadsheet-upload-choices a{text-decoration:none}@media (width<=760px){.spreadsheet-complete,.spreadsheet-demo-complete{grid-template-columns:32px minmax(0,1fr)}.spreadsheet-complete .spreadsheet-primary{grid-column:1/-1}}.spreadsheet-published-result{border:1px solid var(--border-strong,#c8d0dc);background:var(--surface-raised,#fff);border-radius:18px;gap:20px;padding:24px;display:grid}.spreadsheet-published-result>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.spreadsheet-published-result>header span{color:var(--text-muted,#596273);letter-spacing:.04em;text-transform:uppercase;font-size:.82rem;font-weight:700}.spreadsheet-published-result>header h2{margin:6px 0}.spreadsheet-published-result>header p{color:var(--text-muted,#596273);margin:0}.spreadsheet-published-result__table-wrap{border:1px solid var(--border-strong,#c8d0dc);border-radius:12px;overflow-x:auto}.spreadsheet-published-result table{border-collapse:collapse;width:100%;min-width:900px}.spreadsheet-published-result th,.spreadsheet-published-result td{border-bottom:1px solid var(--border-subtle,#e5e9ef);text-align:left;vertical-align:top;padding:12px 14px}.spreadsheet-published-result th+th,.spreadsheet-published-result td+td{border-left:1px solid var(--border-strong,#c8d0dc)}.spreadsheet-published-result th{background:var(--surface-subtle,#f3f5f8);color:var(--text-muted,#596273);font-size:.78rem}.spreadsheet-published-result tbody tr:last-child td{border-bottom:0}.spreadsheet-published-result__empty{border:1px dashed var(--border-strong,#c8d0dc);text-align:center;border-radius:12px;padding:24px}.spreadsheet-upload-expectation,.spreadsheet-upload-overview{border:1px solid var(--line-strong);background:var(--surface);border-radius:18px;padding:18px}.spreadsheet-upload-expectation__heading,.spreadsheet-upload-expectation__actions,.spreadsheet-upload-overview>div:first-child,.spreadsheet-upload-overview__items article{justify-content:space-between;align-items:center;gap:16px;display:flex}.spreadsheet-upload-expectation h3,.spreadsheet-upload-overview h2{margin:0}.spreadsheet-upload-expectation p,.spreadsheet-upload-overview p{color:var(--muted);margin:5px 0 0}.spreadsheet-upload-expectation__form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin-top:16px;display:grid}.spreadsheet-upload-expectation__form label,.spreadsheet-upload-expectation__role{color:var(--muted);gap:7px;font-size:13px;display:grid}.spreadsheet-upload-expectation select,.spreadsheet-upload-expectation input[type=number],.spreadsheet-upload-expectation input[type=time]{border:1px solid var(--line-strong);background:var(--surface);min-height:42px;color:var(--ink);border-radius:10px;padding:8px 10px}.spreadsheet-upload-expectation__role strong{border:1px solid var(--line);background:var(--surface);min-height:42px;color:var(--ink);border-radius:10px;align-items:center;padding:8px 10px;display:flex}.spreadsheet-upload-expectation__toggle{align-items:center;gap:9px;margin-top:14px;display:flex}.spreadsheet-upload-expectation__evidence{background:var(--line);border:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:16px 0;display:grid}.spreadsheet-upload-expectation__evidence div{background:var(--surface);padding:12px}.spreadsheet-upload-expectation__evidence dt{color:var(--muted);font-size:12px}.spreadsheet-upload-expectation__evidence dd{margin:4px 0 0}.spreadsheet-upload-state{border:1px solid var(--line);white-space:nowrap;border-radius:999px;padding:5px 9px;font-size:12px}.spreadsheet-upload-state.is-overdue{color:#b52929;background:#fff1f1;border-color:#d85151}.spreadsheet-upload-state.is-due{color:#8a5b00;background:#fff8e6;border-color:#d69b28}.spreadsheet-upload-state.is-scheduled{color:#276d49;background:#edf9f2;border-color:#55a47a}.spreadsheet-upload-overview{margin-bottom:18px}.spreadsheet-upload-overview.is-loading{min-height:96px}.spreadsheet-upload-overview__items{gap:8px;margin-top:14px;display:grid}.spreadsheet-upload-overview__items article{border-top:1px solid var(--line);padding-top:10px}.spreadsheet-upload-overview__items article>div{gap:3px;min-width:0;display:grid}.spreadsheet-upload-overview__items article>div span,.spreadsheet-upload-overview__items article>span:last-child{color:var(--muted);font-size:13px}.spreadsheet-upload-overview__empty{margin-top:14px!important}@media (width<=680px){.spreadsheet-upload-expectation__heading,.spreadsheet-upload-overview>div:first-child,.spreadsheet-upload-overview__items article{flex-direction:column;align-items:flex-start}.spreadsheet-upload-expectation__evidence{grid-template-columns:1fr}}.team-view__inactive-action{appearance:none;border:1px solid var(--good-line);background:var(--good-bg);color:var(--good-strong);cursor:pointer;transition:border-color var(--motion-fast) var(--ease-out), background var(--motion-fast) var(--ease-out);border-radius:999px;padding:6px 12px;font-family:inherit;font-size:12.5px;font-weight:700}.team-view__inactive-action:hover{border-color:var(--good);background:var(--surface)}.team-view__inactive-modal{width:min(520px,100vw - 32px)}.team-view__inactive-list{gap:8px;margin:16px 0;display:grid}.team-view__inactive-row{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:16px;padding:12px;display:flex}.team-view__inactive-row strong,.team-view__inactive-row span{display:block}.team-view__inactive-row span{color:var(--muted);margin-top:3px;font-size:12px}.team-view__inactive-restore{border:1px solid var(--good);background:var(--good);color:var(--surface);font:inherit;cursor:pointer;border-radius:8px;flex:none;padding:7px 10px;font-size:12px;font-weight:700}.team-view__inactive-restore:disabled{cursor:wait;opacity:.55}.team-view__inactive-error{color:var(--critical-strong);background:var(--critical-bg);border:1px solid var(--critical-line);border-radius:8px;padding:10px 12px}.team-view__inactive-empty{color:var(--muted);margin:16px 0}.team-view{min-height:0;font-family:var(--font,"Plus Jakarta Sans", system-ui, sans-serif);color:var(--ink);flex-direction:column;flex:1;gap:14px;display:flex}.team-view__head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;display:flex}.team-view__title-block{flex-wrap:wrap;align-items:baseline;gap:14px;display:flex}.team-view__title{letter-spacing:-.01em;color:var(--ink);margin:0;font-size:18px;font-weight:600}.team-view__stats{color:var(--muted);font-size:13px}.team-view__stats strong{color:var(--ink);font-weight:600}.team-view__stats-sep{opacity:.4;margin:0 8px}.team-view__actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.team-view__toggle-button--organization{min-width:148px}.team-view__family-filter{border:1px solid var(--line);background:var(--surface);border-radius:999px;align-items:center;gap:6px;padding:3px;display:inline-flex}.team-view__family-chip{appearance:none;color:var(--muted);cursor:pointer;transition:background var(--motion-fast,.12s) var(--ease-out,ease), border-color var(--motion-fast,.12s) var(--ease-out,ease), color var(--motion-fast,.12s) var(--ease-out,ease);background:0 0;border:1px solid #0000;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-family:inherit;font-size:12px;font-weight:700;line-height:1;display:inline-flex}.team-view__family-chip[aria-pressed=true]{background:var(--ink);color:var(--surface)}.team-view__family-chip--focus-a:not([aria-pressed=true]){color:var(--accent);background:var(--accent-bg);border-color:#3399d92e}.team-view__family-chip--focus-b:not([aria-pressed=true]){color:var(--good-strong);border-color:var(--good-line,#1c7a4433);background:var(--good-bg)}.team-view__family-chip--akaryakit:not([aria-pressed=true]){color:#0369a1;background:#0369a114;border-color:#0369a133}.team-view__family-chip--focus-c:not([aria-pressed=true]){color:var(--warm-strong);border-color:var(--warm-line,#b4530933);background:var(--warm-bg)}.team-view__family-chip--focus-d:not([aria-pressed=true]){color:var(--critical-strong);border-color:var(--critical-line,#c2382b33);background:var(--critical-bg)}.team-view__family-count{font-variant-numeric:tabular-nums;opacity:.75;font-size:11px;font-weight:800}.team-view__toggle{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:2px;display:inline-flex;overflow:hidden}.team-view__toggle-button{appearance:none;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:999px;padding:5px 14px;font-family:inherit;font-size:12.5px;font-weight:500;transition:background .12s,color .12s}.team-view__toggle-button[aria-selected=true]{background:var(--ink);color:var(--surface)}.team-view__add{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:999px;padding:6px 12px;font-family:inherit;font-size:12.5px;font-weight:500;transition:all .12s}.team-view__add:hover{border-color:var(--accent);background:var(--surface-warm)}.team-view__list{border:1px solid var(--line);border-radius:var(--radius-md,8px);background:var(--surface);overflow:hidden}.team-view__row{border-bottom:1px solid #0000000a;grid-template-columns:1.5fr .7fr 1.9fr 1.1fr 1.1fr .6fr .3fr;align-items:center;gap:12px;padding:8px 14px;font-size:13px;display:grid}.team-view__row--head{background:var(--surface-soft);border-bottom:1px solid var(--line);text-transform:uppercase;letter-spacing:.06em;color:var(--muted);padding:9px 14px;font-size:10.5px;font-weight:600}.team-view__row:hover:not(.team-view__row--head){background:var(--surface-warm)}.team-view__row:last-child{border-bottom:0}.team-view__row-person{align-items:center;gap:10px;min-width:0;display:flex}.team-view__row-name{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.team-view__row-role{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;display:block;overflow:hidden}.team-view__row-region,.team-view__row-reports{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11.5px;overflow:hidden}.team-view__row-email{color:var(--ink-soft,#3a3d44);white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.team-view__row-phone{color:var(--ink-soft,#3a3d44);white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.team-view__row-reports strong{color:var(--ink);font-weight:500}.team-view__row-count{text-align:center;font-variant-numeric:tabular-nums;color:var(--ink);font-size:13px;font-weight:600}.team-view__row-count--zero{color:var(--muted);font-weight:400}.team-view__row-actions{opacity:.4;justify-content:flex-end;gap:4px;transition:opacity .12s;display:flex}.team-view__row:hover .team-view__row-actions{opacity:1}.team-view__icon-button{appearance:none;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:26px;height:26px;font-family:inherit;font-size:14px;display:grid}.team-view__icon-button:hover{color:var(--ink);background:#0000000f}.team-view__icon-button--danger:hover{background:var(--critical-bg);color:var(--critical)}.team-view__avatar{color:#fff;letter-spacing:.02em;background:var(--accent);border-radius:50%;flex-shrink:0;place-items:center;font-weight:600;display:grid}.team-view__avatar--sm{width:24px;height:24px;font-size:9.5px}.team-view__avatar--md{width:30px;height:30px;font-size:11px}.team-view__pill{background:var(--surface-soft);color:var(--ink);letter-spacing:.01em;text-transform:capitalize;border-radius:999px;align-items:center;padding:2px 7px;font-size:10.5px;font-weight:600;display:inline-flex}.team-view__pill--owner{color:var(--warm-strong);background:#b8860b21}.team-view__pill--manager{color:var(--info-strong);background:#4b658221}.team-view__pill--employee{color:var(--good-strong);background:#4a7c5921}.team-view__channel-tag{background:var(--good-bg);color:var(--good);text-transform:lowercase;border-radius:4px;align-items:center;gap:3px;padding:1px 6px;font-size:10px;font-weight:500;display:inline-flex}.team-view__you-badge{background:var(--ink);color:var(--surface);border-radius:999px;margin-left:6px;padding:1px 6px;font-size:10px;font-weight:600;display:inline-flex}.team-view__tree{border:1px solid var(--line);border-radius:var(--radius-md,8px);background:var(--surface);flex:1;min-height:0;padding:8px 4px;overflow:auto}.team-view__tree-roots{flex-direction:column;gap:2px;display:flex}.team-view__tree-node{flex-direction:column;display:flex;position:relative}.team-view__tree-row{cursor:pointer;border-radius:6px;grid-template-columns:18px 30px minmax(160px,1.4fr) auto auto auto 1fr auto auto;align-items:center;gap:10px;min-height:32px;padding:5px 10px;font-size:13px;transition:background .12s;display:grid}.team-view__tree-row--parent{background:color-mix(in srgb, var(--surface-warm) 44%, transparent);border:1px solid color-mix(in srgb, var(--line) 72%, transparent)}.team-view__tree-row:hover{background:var(--surface-warm)}.team-view__tree-row--leaf{cursor:default}.team-view__tree-chevron{width:18px;height:18px;color:var(--surface);background:var(--ink);-webkit-user-select:none;user-select:none;border-radius:50%;place-items:center;font-size:10px;transition:transform .15s;display:grid}.team-view__tree-chevron--leaf{opacity:.28;color:var(--muted);background:0 0}.team-view__tree-chevron--open{transform:rotate(90deg)}.team-view__tree-name{color:var(--ink);white-space:nowrap;text-overflow:ellipsis;min-width:0;font-weight:600;overflow:hidden}.team-view__tree-role{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:400;overflow:hidden}.team-view__tree-meta{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;background:#00000008;border-radius:999px;align-items:center;gap:3px;padding:2px 7px;font-size:10.5px;display:inline-flex}.team-view__tree-meta strong{color:var(--ink);font-weight:600}.team-view__tree-meta--zero{opacity:.5}.team-view__tree-toggle-label{border:1px solid var(--line);background:var(--surface);min-width:54px;color:var(--ink);border-radius:999px;justify-content:center;padding:2px 8px;font-size:10.5px;font-weight:700;display:inline-flex}.team-view__tree-region{color:var(--muted);white-space:nowrap;text-overflow:ellipsis;font-size:11px;overflow:hidden}.team-view__tree-children{border-left:2px solid color-mix(in srgb, var(--accent) 36%, var(--line));margin-left:26px;padding-left:26px;position:relative}.team-view__tree-children>.team-view__tree-node:before{content:"";border-top:2px solid color-mix(in srgb, var(--accent) 36%, var(--line));width:13px;position:absolute;top:16px;left:-13px}.team-org-chart{border:1px solid var(--line);border-radius:var(--radius-md,8px);background:color-mix(in srgb, var(--surface-soft) 82%, var(--surface));flex:1;min-height:420px;overflow:auto}.team-org-chart__canvas{box-sizing:border-box;justify-content:center;min-width:100%;padding:32px 28px 48px;display:inline-flex}.team-org-chart__forest{justify-content:center;align-items:flex-start;gap:40px;min-width:max-content;display:flex}.team-org-chart__root,.team-org-chart__children{justify-content:center;align-items:flex-start;margin:0;padding:0;display:flex;position:relative}.team-org-chart__branch{text-align:center;flex-direction:column;align-items:center;padding:30px 8px 0;list-style:none;display:flex;position:relative}.team-org-chart__children{width:max-content}.team-org-chart__root>.team-org-chart__branch{padding-top:0}.team-org-chart__children:before{content:"";border-left:1px solid color-mix(in srgb, var(--accent) 45%, var(--line));height:30px;position:absolute;top:0;left:50%}.team-org-chart__children>.team-org-chart__branch:before,.team-org-chart__children>.team-org-chart__branch:after{content:"";border-top:1px solid color-mix(in srgb, var(--accent) 45%, var(--line));width:50%;height:30px;position:absolute;top:0}.team-org-chart__children>.team-org-chart__branch:before{right:50%}.team-org-chart__children>.team-org-chart__branch:after{border-left:1px solid color-mix(in srgb, var(--accent) 45%, var(--line));left:50%}.team-org-chart__children>.team-org-chart__branch:first-child:before,.team-org-chart__children>.team-org-chart__branch:last-child:after{border-top-color:#0000}.team-org-chart__children>.team-org-chart__branch:only-child:before,.team-org-chart__children>.team-org-chart__branch:only-child:after{display:none}.team-org-chart__card{box-sizing:border-box;border:1px solid var(--line);border-top:3px solid var(--accent);background:var(--surface);width:196px;min-height:156px;transition:min-height var(--motion-base) var(--ease-out);border-radius:10px;flex-direction:column;align-items:center;gap:7px;padding:16px 14px 13px;display:flex;position:relative;box-shadow:0 7px 18px #0f172a0f}.team-org-chart__card--compact{min-height:116px}.team-org-chart__details-toggle{border:1px solid var(--line-strong);background:var(--surface-soft);color:var(--muted);font:700 9px/1 var(--font,"Plus Jakarta Sans", system-ui, sans-serif);cursor:pointer;transition:background var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out);border-radius:999px;align-items:center;gap:3px;padding:4px 6px;display:inline-flex;position:absolute;top:8px;right:8px}.team-org-chart__details-toggle:hover,.team-org-chart__details-toggle:focus-visible{border-color:var(--accent);background:var(--accent-bg);color:var(--accent-strong);outline:none}.team-org-chart__avatar{border:3px solid var(--surface);width:42px;height:42px;box-shadow:0 0 0 1px var(--line);color:#fff;letter-spacing:.03em;border-radius:50%;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.team-org-chart__identity{flex-direction:column;align-items:center;gap:2px;width:100%;min-width:0;display:flex}.team-org-chart__identity strong,.team-org-chart__identity span,.team-org-chart__scope{text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:block;overflow:hidden}.team-org-chart__details{flex-direction:column;flex:1;gap:7px;width:100%;display:flex}.team-org-chart__identity strong{color:var(--ink);font-size:13px;font-weight:700}.team-org-chart__identity span{color:var(--muted);font-size:11px}.team-org-chart__scope{width:100%;color:var(--ink-soft,#3a3d44);font-size:10.5px}.team-org-chart__metrics{border-top:1px solid var(--line);width:100%;color:var(--muted);grid-template-columns:1fr 1fr;margin-top:auto;padding-top:8px;font-size:9.5px;line-height:1.25;display:grid}.team-org-chart__metrics span+span{border-left:1px solid var(--line)}.team-org-chart__metrics strong{color:var(--ink);font-variant-numeric:tabular-nums;font-size:12px;display:block}.team-org-chart__toggle{border:1px solid color-mix(in srgb, var(--accent) 55%, var(--line));background:var(--surface);width:22px;height:22px;color:var(--accent);font:700 14px/1 var(--font,"Plus Jakarta Sans", system-ui, sans-serif);cursor:pointer;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;bottom:-11px;left:50%;transform:translate(-50%)}.team-org-chart__toggle:hover,.team-org-chart__toggle:focus-visible{background:var(--accent-bg);outline:none}@media (width<=720px){.team-org-chart{min-height:360px}.team-org-chart__canvas{justify-content:flex-start;padding:24px 18px 40px}}.team-view__modal-backdrop{z-index:90;background:#0000006b;place-items:center;display:grid;position:fixed;inset:0}.team-view__modal{background:var(--surface);width:min(520px,92vw);max-height:86vh;box-shadow:var(--shadow-lift,0 30px 60px #0000002e);border-radius:12px;flex-direction:column;gap:14px;padding:22px 26px;display:flex;overflow:auto}.team-view__modal h3{margin:0;font-size:15px;font-weight:600}.team-view__field{flex-direction:column;gap:4px;display:flex}.team-view__field label{color:var(--muted);text-transform:uppercase;letter-spacing:.06em;font-size:11px;font-weight:600}.team-view__field input,.team-view__field select{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:8px;outline:none;padding:7px 10px;font-family:inherit;font-size:13px}.team-view__field input:focus,.team-view__field select:focus{border-color:var(--accent)}.team-view__field-hint{color:var(--muted);margin-top:2px;font-size:11px}.team-view__field-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.team-view__modal-actions{justify-content:flex-end;gap:8px;margin-top:4px;display:flex}.team-view__btn{appearance:none;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;border-radius:8px;padding:7px 16px;font-family:inherit;font-size:13px;font-weight:500}.team-view__btn--primary{background:var(--ink);color:var(--surface);border-color:var(--ink)}.team-view__load-error{text-align:center;place-content:center;gap:12px;min-height:240px;display:grid}.team-view__load-error p{color:var(--danger-text,#991b1b);margin:0}.team-view__empty{text-align:center;color:var(--muted);padding:40px 20px;font-size:13px}.team-org-workspace{flex:1;grid-template-columns:minmax(0,1fr);gap:12px;min-height:calc(100dvh - 132px);display:grid}.team-org-workspace--panel-open{grid-template-columns:minmax(0,1fr) minmax(280px,340px)}.team-org-workspace--ai-open{grid-template-columns:minmax(360px,1fr) minmax(560px,680px)}.team-org-workspace .team-org-chart{cursor:grab;overscroll-behavior:contain;touch-action:pan-x pan-y;scrollbar-gutter:stable;min-width:0;min-height:100%;position:relative}.team-org-workspace .team-org-chart--panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.team-org-chart__toolbar{z-index:20;border:1px solid var(--line-strong);background:var(--surface);border-radius:9px;grid-template-columns:34px 72px 34px;width:max-content;margin:12px 0 -48px 12px;display:inline-grid;position:sticky;top:12px;left:12px;overflow:hidden;box-shadow:0 5px 16px #0f172a1a}.team-org-chart__toolbar button{border:0;border-right:1px solid var(--line);background:var(--surface);min-width:34px;min-height:34px;color:var(--ink);font:700 15px/1 var(--font,"Plus Jakarta Sans", system-ui, sans-serif);cursor:pointer;padding:0}.team-org-chart__toolbar button:last-child{border-right:0}.team-org-chart__toolbar button:hover,.team-org-chart__toolbar button:focus-visible{background:var(--accent-bg);color:var(--accent-strong);outline:none}.team-org-chart__toolbar button:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed;opacity:.55}.team-org-chart__toolbar .team-org-chart__zoom-value{font-variant-numeric:tabular-nums;flex-direction:column;justify-content:center;align-items:center;gap:1px;font-size:11px;display:flex}.team-org-chart__zoom-value small{color:var(--muted);font-size:8px;font-weight:600}.team-org-workspace .team-org-chart__canvas{transform-origin:top;min-height:100%;padding-top:64px}.team-org-workspace .team-org-chart__card{transition:min-height var(--motion-base) var(--ease-out), border-color var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);gap:0;padding:0;display:block}.team-org-workspace .team-org-chart__card--expanded{min-height:156px}.team-org-workspace .team-org-chart__card--selected{border-color:var(--accent);border-top-color:var(--accent-strong);box-shadow:0 0 0 2px var(--accent-bg), 0 9px 22px #0f172a1a}.team-org-chart__card-select{width:100%;min-height:113px;color:inherit;font:inherit;text-align:center;cursor:pointer;background:0 0;border:0;border-radius:7px;flex-direction:column;align-items:center;gap:7px;padding:16px 14px 13px;display:flex}.team-org-chart__card--expanded .team-org-chart__card-select{min-height:153px}.team-org-chart__card-select:hover{background:color-mix(in srgb, var(--accent-bg) 45%, transparent)}.team-org-chart__card-select:focus-visible{outline:2px solid var(--accent);outline-offset:-4px}.team-org-workspace .team-org-chart__details-toggle{z-index:3}.team-org-member{border:1px solid var(--line);border-radius:var(--radius-md,8px);background:var(--surface);min-width:0;max-height:calc(100vh - 190px);overflow:hidden;box-shadow:0 8px 24px #0f172a14}.team-org-member__header{border-bottom:1px solid var(--line);background:var(--surface-soft);grid-template-columns:46px minmax(0,1fr) 30px;align-items:center;gap:11px;padding:16px;display:grid;position:relative}.team-org-member__header>div:nth-child(2){min-width:0}.team-org-member__header>div>span{color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;font-size:9px;font-weight:800;display:block}.team-org-member__header h2,.team-org-member__header p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.team-org-member__header h2{color:var(--ink);font-size:15px;line-height:1.25}.team-org-member__header p{color:var(--muted);margin-top:3px;font-size:11px}.team-org-member__header button{border:1px solid var(--line-strong);background:var(--surface);width:30px;height:30px;color:var(--ink);cursor:pointer;border-radius:50%;padding:0;font-size:19px;line-height:1}.team-org-member__header button:hover,.team-org-member__header button:focus-visible{border-color:var(--accent);background:var(--accent-bg);color:var(--accent-strong);outline:none}.team-org-member__avatar{border:3px solid var(--surface);width:46px;height:46px;box-shadow:0 0 0 1px var(--line);color:#fff;border-radius:50%;place-items:center;font-size:12px;font-weight:800;display:grid}.team-org-chart__avatar[data-department-tone="0"],.team-org-member__avatar[data-department-tone="0"]{background:var(--accent-strong)}.team-org-chart__avatar[data-department-tone="1"],.team-org-member__avatar[data-department-tone="1"]{background:var(--ink-soft)}.team-org-chart__avatar[data-department-tone="2"],.team-org-member__avatar[data-department-tone="2"]{background:var(--info)}.team-org-chart__avatar[data-department-tone="3"],.team-org-member__avatar[data-department-tone="3"]{background:var(--good)}.team-org-chart__avatar[data-department-tone="4"],.team-org-member__avatar[data-department-tone="4"]{background:var(--warm)}.team-org-chart__avatar[data-department-tone="5"],.team-org-member__avatar[data-department-tone="5"]{background:var(--muted)}.team-org-chart__avatar[data-department-tone=neutral],.team-org-member__avatar[data-department-tone=neutral]{background:var(--muted-soft)}.team-org-member__body{max-height:calc(100vh - 280px);padding:0 16px 18px;overflow-y:auto}.team-org-member__body section{border-bottom:1px solid var(--line);padding:15px 0}.team-org-member__body section:last-child{border-bottom:0}.team-org-member__body h3{color:var(--ink);letter-spacing:.03em;margin:0 0 10px;font-size:11px;font-weight:800}.team-org-member__facts{gap:8px;margin:0;display:grid}.team-org-member__facts>div{grid-template-columns:108px minmax(0,1fr);gap:8px;display:grid}.team-org-member__facts dt,.team-org-member__facts dd{overflow-wrap:anywhere;margin:0;font-size:11px}.team-org-member__facts dt{color:var(--muted)}.team-org-member__facts dd{color:var(--ink);text-align:right;font-weight:600}.team-org-member__contact-editor,.team-org-member__contact-form{gap:10px;display:grid}.team-org-member__section-title h3{margin:0}.team-org-member__section-title>button,.team-org-member__contact-actions button{border:1px solid var(--line-strong);background:var(--surface-soft);min-height:30px;color:var(--ink);font:inherit;cursor:pointer;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:750}.team-org-member__section-title>button:hover,.team-org-member__section-title>button:focus-visible,.team-org-member__contact-actions button:hover,.team-org-member__contact-actions button:focus-visible{border-color:var(--accent);background:var(--accent-bg);color:var(--accent-strong);outline:none}.team-org-member__contact-form label{color:var(--muted);gap:5px;font-size:10px;font-weight:700;display:grid}.team-org-member__contact-form input,.team-org-member__contact-form select{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:34px;color:var(--ink);font:inherit;border-radius:7px;padding:7px 8px;font-size:11px}.team-org-member__contact-form input:focus,.team-org-member__contact-form select:focus{border-color:var(--accent);outline:2px solid var(--accent-bg);outline-offset:1px}.team-org-member__contact-preview{border:1px solid var(--line);background:var(--surface-soft);border-radius:7px;gap:0;margin:0;display:grid;overflow:hidden}.team-org-member__contact-preview>div{border-bottom:1px solid var(--line);grid-template-columns:92px minmax(0,1fr);gap:8px;padding:8px;display:grid}.team-org-member__contact-preview>div:last-child{border-bottom:0}.team-org-member__contact-preview dt,.team-org-member__contact-preview dd{overflow-wrap:anywhere;margin:0;font-size:10px}.team-org-member__contact-preview dt{color:var(--muted)}.team-org-member__contact-preview dd{color:var(--ink);grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:5px;display:grid}.team-org-member__contact-preview dd>span[aria-hidden=true]{color:var(--muted)}.team-org-member__contact-actions{grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:7px;display:grid}.team-org-member__contact-actions .team-org-member__contact-primary{border-color:var(--accent-strong);background:var(--accent-strong);color:var(--surface)}.team-org-member__contact-actions button:disabled{cursor:not-allowed;opacity:.5}.team-org-member__contact-error,.team-org-member__contact-success{border-radius:7px;margin:0;padding:8px;font-size:10px;line-height:1.4}.team-org-member__contact-error{border:1px solid var(--critical);background:var(--critical-bg);color:var(--critical-strong)}.team-org-member__contact-success{border:1px solid var(--good);background:var(--good-bg);color:var(--good-strong)}.team-org-member__chips{flex-wrap:wrap;gap:5px;margin-top:10px;display:flex}.team-org-member__chips span{border:1px solid var(--line-strong);background:var(--surface-soft);max-width:100%;color:var(--ink-soft);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:4px 7px;font-size:9.5px;overflow:hidden}.team-org-member__section-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.team-org-member__section-title>span{background:var(--accent-bg);min-width:22px;color:var(--accent-strong);text-align:center;border-radius:999px;padding:3px 6px;font-size:10px;font-weight:800}.team-org-member__tasks{gap:7px;margin:0;padding:0;list-style:none;display:grid}.team-org-member__tasks li{min-width:0}.team-org-member__tasks button{border:1px solid var(--line);background:var(--surface-soft);width:100%;color:inherit;font:inherit;text-align:left;cursor:pointer;border-radius:7px;gap:3px;padding:9px 32px 9px 10px;display:grid;position:relative}.team-org-member__tasks button:hover,.team-org-member__tasks button:focus-visible{border-color:var(--accent);background:var(--accent-bg);outline:none}.team-org-member__tasks button:focus-visible{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--accent)}.team-org-member__tasks strong{color:var(--ink);font-size:10.5px;line-height:1.35}.team-org-member__tasks small{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10px;line-height:1.35;display:-webkit-box;overflow:hidden}.team-org-member__tasks span,.team-org-member__empty{color:var(--muted);margin:0;font-size:10px}.team-org-member__tasks .team-org-member__task-arrow{color:var(--accent-strong);font-size:14px;font-weight:800;position:absolute;top:50%;right:11px;transform:translateY(-50%)}@media (width<=980px){.team-org-workspace--panel-open{grid-template-columns:minmax(0,1fr) minmax(260px,300px)}.team-org-workspace--ai-open{grid-template-columns:minmax(300px,1fr) minmax(480px,560px)}}@media (width<=760px){.team-org-workspace--panel-open{grid-template-columns:minmax(0,1fr)}.team-org-workspace .team-org-chart{min-height:430px}.team-org-member{max-height:none}.team-org-member__body{max-height:420px}}.team-view__ai-action{appearance:none;color:#fff;font:inherit;cursor:pointer;background:#0f172a;border:1px solid #0f172a;border-radius:999px;padding:7px 13px;font-size:12px;font-weight:700}.team-view__ai-action:hover,.team-view__ai-action:focus-visible{outline:2px solid color-mix(in srgb, var(--accent) 38%, transparent);outline-offset:2px;background:#1e293b}.team-org-member__header-actions{gap:6px;display:flex}.team-org-chart__remove-member{z-index:5;color:#b91c1c;opacity:0;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:50%;width:24px;height:24px;font-size:15px;line-height:1;transition:opacity .12s,background .12s;position:absolute;top:7px;left:7px}.team-org-chart__card:hover .team-org-chart__remove-member,.team-org-chart__remove-member:focus-visible{opacity:1}.team-org-chart__remove-member:hover{background:#fef2f2}.team-org-member__header:has(.team-org-member__header-actions){grid-template-columns:46px minmax(0,1fr) auto}.team-org-member__header .team-org-member__remove{color:#b91c1c;opacity:.55;border-color:#fecaca}.team-org-member__header .team-org-member__edit{border-color:var(--line-strong);background:var(--surface);color:var(--accent-strong);font-size:16px}.team-org-member:hover .team-org-member__remove,.team-org-member__remove:focus-visible{opacity:1}.team-org-manager{border:1px solid var(--line);border-radius:var(--radius-md,8px);background:var(--surface);flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.team-org-manager__header{border-bottom:1px solid var(--line);background:var(--surface-soft);justify-content:space-between;align-items:center;gap:12px;padding:15px 16px;display:flex}.team-org-manager__header span,.team-org-manager__preview-heading span{color:var(--accent-strong);letter-spacing:.08em;text-transform:uppercase;font-size:10.5px;font-weight:800}.team-org-manager__header h2{margin:3px 0 0}.team-org-manager__header h2,.team-org-manager__preview-heading h3{color:var(--ink);font-size:18px}.team-org-manager__header button{border:1px solid var(--line-strong);background:var(--surface);width:30px;height:30px;color:var(--ink);cursor:pointer;border-radius:50%;font-size:18px}.team-org-manager__form,.team-org-manager__remove,.team-org-manager__chat{padding:16px;overflow:auto}.team-org-manager__ai-workspace{flex:1;grid-template-columns:minmax(250px,.85fr) minmax(280px,1.15fr);min-height:0;display:grid}.team-org-manager__ai-workspace>.team-org-manager__chat{border-right:1px solid var(--line)}.team-org-manager__ai-editor{min-width:0;min-height:0;overflow:auto}.team-org-manager__chat{flex-direction:column;height:100%;min-height:0;padding:0;display:flex;overflow:hidden}.team-org-manager__form,.team-org-manager__form label,.team-org-manager__dependencies,.team-org-manager__dependencies label{gap:6px;display:grid}.team-org-manager__form{gap:12px}.team-org-manager__preview{gap:14px;padding:16px;display:grid;overflow:auto}.team-org-manager__preview-heading{gap:5px;display:grid}.team-org-manager__preview-heading h3,.team-org-manager__preview-heading p{margin:0}.team-org-manager__preview-heading p{color:var(--muted);font-size:12px;line-height:1.5}.team-org-manager__preview dl{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:0;margin:0;display:grid;overflow:hidden}.team-org-manager__preview dl>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(100px,.42fr) minmax(0,1fr);gap:10px;padding:9px 10px;display:grid}.team-org-manager__preview dl>div:last-child{border-bottom:0}.team-org-manager__preview dt{color:var(--muted);font-size:11px;font-weight:700}.team-org-manager__preview dd{overflow-wrap:anywhere;min-width:0;color:var(--ink);margin:0;font-size:12px;font-weight:600}.team-org-manager__preview dd:has(>span){grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:start;gap:6px;display:grid}.team-org-manager__preview dd>span[aria-hidden=true]{color:var(--muted)}.team-org-manager__change-summary{border:1px solid var(--line);background:var(--accent-bg);color:var(--ink-soft);border-radius:8px;margin:0;padding:9px 10px;font-size:11px;line-height:1.5}.team-org-manager__routing-impact{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;gap:9px;padding:11px;display:grid}.team-org-manager__routing-impact h4,.team-org-manager__routing-impact p{margin:0}.team-org-manager__routing-impact h4{color:var(--ink);font-size:12px}.team-org-manager__routing-impact p,.team-org-manager__routing-impact small{color:var(--muted);font-size:10px;line-height:1.45}.team-org-manager__routing-impact fieldset{border:1px solid var(--line);background:var(--surface);border-radius:7px;gap:8px;margin:0;padding:10px;display:grid}.team-org-manager__scope-decision{border:1px solid var(--line-strong);background:var(--surface-soft);border-radius:8px;gap:8px;margin:0;padding:12px;display:grid}.team-org-manager__scope-decision label{color:var(--ink);align-items:flex-start;gap:8px;font-size:11px;font-weight:700;display:flex}.team-org-manager__scope-decision input{flex:none;width:15px;height:15px;margin-top:1px}.team-org-manager__routing-impact legend{color:var(--ink);padding:0 4px;font-size:10px;font-weight:750}.team-org-manager__routing-impact label{color:var(--ink-soft);align-items:flex-start;gap:7px;font-size:11px;display:flex}.team-org-manager__preview-actions{grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:8px;display:grid}.team-org-manager__preview-actions>button:first-child{border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);font:inherit;cursor:pointer;border-radius:8px;font-size:12px;font-weight:700}.team-org-manager__task-transfer{border:1px solid var(--line);background:var(--surface-soft);border-radius:8px;gap:9px;margin:2px 0 0;padding:12px;display:grid}.team-org-manager__task-transfer legend{color:var(--ink);padding:0 5px;font-size:11px;font-weight:800}.team-org-manager__task-transfer>p,.team-org-manager__task-options p{color:var(--muted);margin:0;font-size:10px;line-height:1.45}.team-org-manager__task-transfer>label,.team-org-manager__task-options label{grid-template-columns:none;align-items:flex-start;gap:8px;display:flex}.team-org-manager__task-transfer input[type=radio],.team-org-manager__task-options input[type=checkbox]{width:15px;height:15px;accent-color:var(--accent-strong);flex:none;margin:1px 0 0}.team-org-manager__task-options{border:1px solid var(--line);background:var(--surface);border-radius:7px;gap:8px;max-height:210px;padding:9px;display:grid;overflow-y:auto}.team-org-manager__task-options label>span{gap:3px;min-width:0;display:grid}.team-org-manager__task-options strong{color:var(--ink);font-size:10px;line-height:1.4}.team-org-manager__task-options small{color:var(--muted);font-size:9px;font-weight:600}.team-org-manager__transfer-cards{max-height:320px}.team-org-manager__transfer-card{box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface);width:100%;color:var(--ink);font:inherit;text-align:left;border-radius:8px;gap:6px;padding:11px 12px;display:grid}.team-org-manager__transfer-card--interactive{cursor:pointer}.team-org-manager__transfer-card--interactive:hover{border-color:var(--accent);background:color-mix(in srgb, var(--accent) 5%, var(--surface))}.team-org-manager__transfer-card--interactive:focus-visible{border-color:var(--accent);outline:2px solid color-mix(in srgb, var(--accent) 22%, transparent);outline-offset:2px}.team-org-manager__form label,.team-org-manager__dependencies label{color:var(--muted);font-size:11px;font-weight:650}.team-org-manager input,.team-org-manager select,.team-org-manager textarea{box-sizing:border-box;border:1px solid var(--line-strong);background:var(--surface);width:100%;color:var(--ink);font:inherit;border-radius:7px;padding:9px 10px;font-size:12px}.team-org-manager textarea{resize:vertical;min-height:72px}.team-org-manager input:focus,.team-org-manager select:focus,.team-org-manager textarea:focus{border-color:var(--accent);outline:2px solid color-mix(in srgb, var(--accent) 22%, transparent)}.team-org-manager__primary,.team-org-manager__danger{width:100%;font:inherit;cursor:pointer;border:1px solid #0f172a;border-radius:8px;padding:10px 12px;font-size:12px;font-weight:750}.team-org-manager__primary{color:#fff;background:#0f172a}.team-org-manager__danger{color:#fff;background:#b91c1c;border-color:#b91c1c}.team-org-manager__primary:disabled,.team-org-manager__danger:disabled{cursor:not-allowed;opacity:.45}.team-org-manager__loading,.team-org-manager__chat-intro{color:var(--muted);padding:16px;font-size:12px;line-height:1.5}.team-org-manager__dependencies{border-top:1px solid var(--line);gap:10px;margin:18px 0;padding-top:14px}.team-org-manager__dependencies h3{color:var(--ink);justify-content:space-between;margin:0;font-size:12px;display:flex}.team-org-manager__dependencies h3 span{background:var(--surface-soft);border-radius:999px;place-items:center;min-width:22px;height:22px;display:grid}.team-org-manager__dependencies small{color:#b45309;font-weight:600}.team-org-manager__dependencies small[data-error=true]{color:var(--critical-strong)}.team-org-manager__dependencies label>span{justify-content:space-between;align-items:center;gap:8px;display:flex}.team-org-manager__dependencies em{background:var(--surface-soft);width:20px;height:20px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-style:normal;display:grid}.team-org-manager__dependencies em[data-status=done]{color:#166534;background:#dcfce7}.team-org-manager__dependencies em[data-status=error]{color:#991b1b;background:#fee2e2}.team-org-manager__error,.team-org-manager__success,.team-org-manager__partial{border-radius:7px;padding:9px 10px;font-size:11px;line-height:1.45}.team-org-manager__partial{border:1px solid color-mix(in srgb, var(--warm) 35%, var(--line));background:var(--warm-bg);color:var(--warm-strong);margin:16px}.team-org-manager__partial h3,.team-org-manager__partial p{margin:0 0 9px}.team-org-manager__partial ul{margin:0 0 12px;padding-left:18px}.team-org-manager__error{color:#991b1b;background:#fef2f2}.team-org-manager__success{color:#166534;background:#ecfdf5}.team-org-manager__turns{overscroll-behavior:contain;scroll-behavior:smooth;flex-direction:column;flex:1;gap:8px;min-height:0;padding:16px;display:flex;overflow-y:auto}.team-org-manager__turns>div{border:1px solid var(--line);background:var(--surface-soft);max-width:88%;color:var(--ink);border-radius:10px;padding:9px 10px;font-size:12.5px;line-height:1.45}.team-org-manager__turns>div[data-role=manager]{background:#eff6ff;border-color:#bfdbfe;align-self:flex-end}.team-org-manager__turns>div[data-status=thinking]{gap:4px;width:max-content;display:flex}.team-org-manager__turns>div[data-status=thinking] span{background:var(--muted);border-radius:50%;width:5px;height:5px}.team-org-manager__chat-action{border:1px solid var(--accent-strong);background:var(--accent-strong);color:var(--surface);font:inherit;cursor:pointer;border-radius:8px;align-self:flex-start;padding:8px 10px;font-size:12px;font-weight:700}.team-org-manager__composer{border-top:1px solid var(--line);background:var(--surface);grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px 12px 5px;display:grid}.team-org-manager .team-org-manager__composer textarea{resize:none;min-height:38px;max-height:96px;padding:9px 11px}.team-org-manager__composer button{border:1px solid var(--accent-strong);background:var(--accent-strong);width:38px;height:38px;color:var(--surface);cursor:pointer;border-radius:8px;padding:0;font-weight:700}.team-org-manager__composer button:disabled{border-color:var(--line-strong);background:var(--surface-soft);color:var(--muted-soft);cursor:not-allowed}.team-org-manager__composer-hint{background:var(--surface);color:var(--muted);text-align:right;padding:0 13px 9px;font-size:10.5px}@media (width<=980px){.team-org-manager,.team-org-manager__form,.team-org-manager__remove{max-height:none}.team-org-manager__chat{height:100%;min-height:420px}}@media (width<=760px){.team-org-manager__ai-workspace{grid-template-columns:minmax(0,1fr)}.team-org-manager__ai-workspace>.team-org-manager__chat{border-right:0;border-bottom:1px solid var(--line)}}
