:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;color:#182230;background:#f4f6f8;font-synthesis:none;text-rendering:optimizeLegibility;--surface: #ffffff;--surface-muted: #f7f8fa;--surface-rail: #172130;--border: #dce1e7;--border-strong: #c2cbd5;--text: #182230;--text-muted: #596779;--text-faint: #738195;--accent: #2457a7;--accent-strong: #17417f;--accent-soft: #e9f0fb;--warning: #8a4b06;--warning-soft: #fff4dc;--danger: #a32d2d;--danger-soft: #fff0ef;--success: #267052;--focus: #2f6fca;--radius: 12px}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f6f8}button,input,select,textarea{font:inherit}button,select,input,textarea{min-height:40px}button{color:inherit}.environment-banner{min-height:42px;padding:10px 24px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #dfc48f;background:var(--warning-soft);color:#684019;font-size:.9rem;font-weight:700;line-height:1.45;text-align:center;overflow-wrap:anywhere}.runtime-blocked-state{min-height:100vh;padding:24px;display:grid;place-items:center}.runtime-blocked-state p{max-width:68ch;margin:0;padding:14px 18px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface);color:var(--text-muted);line-height:1.55;overflow-wrap:anywhere}.runtime-blocked-state [role=alert]{border-color:#e3b3af;background:var(--danger-soft);color:var(--danger)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.app-shell{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.side-rail{position:sticky;top:0;height:100vh;padding:24px 16px 18px;display:flex;flex-direction:column;background:var(--surface-rail);color:#edf3fa}.brand-lockup{display:flex;align-items:center;gap:12px;margin:0 8px 32px}.brand-lockup>span:last-child{display:grid;gap:2px}.brand-lockup strong{font-size:1.05rem;letter-spacing:-.02em}.brand-lockup small,.pilot-boundary small{color:#aab8c9}.brand-mark{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#edf4ff;color:#17417f;font-weight:800}.side-rail nav a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:9px;color:#dbe5ef;text-decoration:none}.side-rail nav{display:grid;gap:4px}.side-rail nav a[aria-current=page]{background:#26364b;color:#fff}.side-rail svg,.task-search svg,.risk-strip svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pilot-boundary{margin-top:auto;display:grid;gap:3px;padding:12px;border-top:1px solid #33445a;font-size:.8rem}.app-frame{min-width:0}.top-bar{min-height:64px;padding:10px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);background:#fffffffa}.top-bar>div:first-child{display:flex;align-items:center;gap:10px}.top-bar>div:first-child span{padding:3px 8px;border-radius:999px;background:var(--warning-soft);color:var(--warning);font-size:.75rem;font-weight:650}.top-bar section[aria-label=开发测试身份]{display:flex;align-items:center;gap:8px;font-size:.82rem}.top-bar section>strong,.top-bar section>label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.top-bar section select{min-width:152px;min-height:36px;padding:0 32px 0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface)}.top-bar section p{margin:0;color:var(--text-muted)}.account-controls{min-width:0;display:flex;align-items:center;gap:10px;color:var(--text-muted);font-size:.82rem}.account-controls>span{min-width:0;overflow-wrap:anywhere}.account-controls button{flex:0 0 auto}.account-controls button,.access-list-section>header button,.access-member form button,.access-page-message button{min-height:36px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer}.account-controls button:disabled,.access-list-section>header button:disabled,.access-member form button:disabled{cursor:not-allowed;opacity:.5}.task-center{padding:24px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px}.page-heading h1{margin:0 0 5px;font-size:1.55rem;line-height:1.2;letter-spacing:-.025em}.page-heading p{margin:0;color:var(--text-muted);font-size:.9rem}.page-actions{display:flex;align-items:center;gap:8px}.page-actions>button:not(.primary-action){padding:0 13px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);cursor:pointer}.primary-action,.queue-message button{padding:0 16px;border:1px solid var(--accent-strong);border-radius:8px;background:var(--accent);color:#fff;font-weight:650;cursor:pointer}.primary-action:hover,.queue-message button:hover{background:var(--accent-strong)}.task-search{position:relative;display:flex;align-items:center;min-height:48px;margin-bottom:12px;border:1px solid var(--border-strong);border-radius:10px;background:var(--surface)}.task-search svg{position:absolute;left:14px;color:var(--text-faint)}.task-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.task-search input{width:100%;min-height:46px;padding:0 82px 0 44px;border:0;border-radius:inherit;color:var(--text);background:transparent}.task-search input:focus-visible{outline-offset:1px}.task-search button{position:absolute;right:8px;min-height:32px;padding:0 10px;border:0;border-radius:7px;background:var(--surface-muted);color:var(--text-muted);cursor:pointer}.risk-strip{min-height:42px;display:flex;align-items:center;gap:10px;padding:8px 12px;border:1px solid #ead7b6;border-radius:9px;background:var(--warning-soft);color:#684019;font-size:.84rem}.risk-strip ul{display:flex;flex-wrap:wrap;gap:8px 18px;margin:0;padding:0;list-style:none}.task-filter-region{margin:16px 0}.fixed-views{display:flex;gap:4px;overflow-x:auto;border-bottom:1px solid var(--border)}.fixed-views button{min-height:38px;padding:0 12px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--text-muted);cursor:pointer;white-space:nowrap}.fixed-views button[aria-pressed=true]{border-bottom-color:var(--accent);color:var(--accent-strong);font-weight:700}.filter-controls{display:grid;grid-template-columns:repeat(5,minmax(132px,1fr)) auto;align-items:end;gap:10px;padding-top:12px}.filter-controls label{min-width:0;display:grid;gap:5px;color:var(--text-muted);font-size:.76rem}.filter-controls select,.filter-controls input:not([type=checkbox]){width:100%;min-width:0;padding:0 9px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.82rem}.filter-controls .terminal-toggle{min-height:40px;display:flex;align-items:center;gap:7px;padding:0 4px;white-space:nowrap}.filter-controls input[type=checkbox]{min-height:auto;width:17px;height:17px}.queue-detail-workspace{min-height:520px;display:grid;grid-template-columns:minmax(360px,42%) minmax(0,1fr);overflow:hidden;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 12px 28px #1b273712}.queue-pane{min-width:0;border-right:1px solid var(--border);background:#fbfcfd}.task-queue{margin:0;padding:0;list-style:none}.task-queue li+li{border-top:1px solid var(--border)}.task-queue li>button{width:100%;min-height:116px;padding:14px 16px;display:grid;gap:8px;border:0;background:transparent;text-align:left;cursor:pointer}.task-queue li>button:hover{background:#f4f7fb}.task-queue li>button.selected{background:var(--accent-soft);box-shadow:inset 3px 0 0 var(--accent)}.queue-primary,.queue-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.queue-primary strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status{flex:0 0 auto;padding:3px 7px;border-radius:999px;background:#e8edf3;color:#425267;font-size:.73rem;font-weight:650}.status-1,.status-2{background:var(--danger-soft);color:var(--danger)}.status-3,.status-4{background:var(--warning-soft);color:var(--warning)}.queue-context{overflow:hidden;color:var(--text-muted);font-size:.84rem;text-overflow:ellipsis;white-space:nowrap}.queue-meta{color:var(--text-faint);font-size:.73rem}.queue-meta>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.focused-work-item{color:var(--accent-strong);font-size:.75rem;font-weight:650}.queue-pagination{min-height:54px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--border);color:var(--text-muted);font-size:.78rem}.queue-pagination button,.queue-message button{min-height:34px}.queue-pagination button{padding:0 11px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);cursor:pointer}.queue-pagination button:disabled{cursor:not-allowed;opacity:.45}.detail-pane{min-width:0;padding:24px}.detail-placeholder{max-width:620px;margin:54px auto;color:var(--text-muted)}.detail-placeholder h2{margin:0 0 8px;color:var(--text);font-size:1.2rem}.detail-selected{margin-top:12px}.detail-selected>span{color:var(--accent-strong);font-size:.76rem;font-weight:700}.detail-selected dl{margin:24px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.detail-selected dl div{padding-top:10px;border-top:1px solid var(--border)}.detail-selected dt{color:var(--text-faint);font-size:.76rem}.detail-selected dd{margin:5px 0 0;color:var(--text);font-weight:600}.next-step-note{max-width:65ch;padding:12px;border-radius:8px;background:var(--surface-muted);font-size:.82rem}.queue-message{margin:48px 24px;text-align:center;color:var(--text-muted)}.queue-message strong{color:var(--text)}.queue-message p{margin:8px auto 16px;max-width:42ch;font-size:.84rem}.queue-loading{padding:12px 16px}.queue-loading span{height:96px;display:block;margin-bottom:10px;border-radius:8px;background:#edf0f4;animation:skeleton-pulse 1.6s ease-in-out infinite}.work-order-preview{max-width:820px;margin:0 auto;display:grid;gap:16px}.work-order-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.work-order-title h2{margin:4px 0 0;font-size:1.22rem;letter-spacing:-.015em}.eyebrow{color:var(--accent-strong);font-size:.76rem;font-weight:700}.detail-status{padding:5px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent-strong);font-size:.76rem;font-weight:700;white-space:nowrap}.detail-section,.work-order-actions{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.detail-section>header,.work-order-actions>header,.work-items-panel>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.detail-section h3,.work-order-actions h3{margin:0;font-size:.96rem}.work-order-actions h3:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:2px}.detail-section header>span,.work-order-actions header>span{color:var(--text-faint);font-size:.72rem}.overview-grid dl,.member-grid dl,.service-record dl{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.overview-grid dl>div,.member-grid dl>div,.service-record dl>div{min-width:0}.overview-grid dt,.member-grid dt,.service-record dt{color:var(--text-faint);font-size:.72rem}.overview-grid dd,.member-grid dd,.service-record dd{margin:4px 0 2px;overflow-wrap:anywhere;font-size:.88rem;font-weight:650}.overview-grid small{color:var(--text-muted);font-size:.72rem}.detail-risk{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ead7b6;border-radius:9px;background:var(--warning-soft);color:var(--warning);font-size:.8rem}.action-stack{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}.action-stack>.primary-action{min-width:132px}.secondary-action-menu{min-width:180px;border:1px solid var(--border);border-radius:8px;background:var(--surface-muted)}.secondary-action-menu summary{padding:9px 12px;cursor:pointer;font-size:.8rem;font-weight:650}.secondary-action-menu>div{display:grid;gap:6px;padding:0 8px 8px}.secondary-action-menu button,.command-notice button,.detail-message button,.action-dialog footer button{min-height:34px;padding:0 11px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);cursor:pointer}.secondary-action-menu button{text-align:left}.command-notice{margin:12px 0 0;padding:11px 12px;border-radius:8px;font-size:.8rem}.command-notice p{margin:5px 0 9px}.success-notice{background:#eaf6f0;color:var(--success)}.warning-notice{background:var(--warning-soft);color:var(--warning)}.error-notice{background:var(--danger-soft);color:var(--danger)}.work-items-panel ol,.activity-timeline ol,.controlled-references ul{margin:0;padding:0;list-style:none}.work-items-panel li{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:8px}.work-items-panel li+li{border-top:1px solid var(--border);border-top-left-radius:0;border-top-right-radius:0}.work-items-panel li[data-focused=true]{background:var(--accent-soft)}.work-items-panel li>span:first-child{min-width:0;display:grid;gap:3px}.work-items-panel li strong{font-size:.84rem}.work-items-panel li small,.work-items-panel li>span:last-child{color:var(--text-muted);font-size:.72rem}.specialist-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;border-color:#cdd9ea;background:#f7faff}.specialist-entry p{margin:5px 0 0;color:var(--text-muted);font-size:.78rem}.specialist-entry>span{padding:5px 8px;border-radius:999px;background:var(--surface);color:var(--accent-strong);font-size:.74rem;font-weight:700;white-space:nowrap}.controlled-references li{display:grid;grid-template-columns:minmax(140px,1fr) minmax(110px,auto) minmax(120px,1fr);gap:12px;padding:8px 0;align-items:center;font-size:.78rem}.controlled-references li+li{border-top:1px solid var(--border)}.controlled-references code{overflow-wrap:anywhere;color:var(--text-muted)}.activity-timeline li{display:grid;grid-template-columns:86px minmax(0,1fr);gap:14px;padding:8px 0}.activity-timeline time,.activity-timeline span,.activity-timeline small{color:var(--text-muted);font-size:.72rem}.activity-timeline li>div{display:grid;gap:3px}.activity-timeline strong{font-size:.82rem}.quiet-copy{margin:0;color:var(--text-muted);font-size:.8rem}.detail-loading,.detail-message{margin:48px auto;max-width:440px;color:var(--text-muted);text-align:center}.detail-message p{font-size:.82rem}.dialog-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:24px;background:#121c2985}.action-dialog{width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);box-shadow:0 24px 60px #121c293d}.action-dialog>header,.action-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.action-dialog>header{border-bottom:1px solid var(--border)}.action-dialog>header h3{margin:0;font-size:1rem}.action-dialog>header button{width:34px;min-height:34px;border:0;border-radius:7px;background:var(--surface-muted);cursor:pointer}.dialog-fields{padding:16px 18px;display:grid;gap:12px}.dialog-fields label:not(.dialog-check){display:grid;gap:5px;color:var(--text-muted);font-size:.78rem}.dialog-fields input:not([type=checkbox]),.dialog-fields select,.dialog-fields textarea{width:100%;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.dialog-fields textarea{resize:vertical}.dialog-fields fieldset{margin:0;padding:12px;display:grid;gap:10px;border:1px solid var(--border);border-radius:8px}.dialog-fields legend{padding:0 5px;color:var(--text-muted);font-size:.76rem}.dialog-check{display:flex;align-items:center;gap:8px;font-size:.8rem}.dialog-check input{width:17px;min-height:17px}.dialog-boundary{margin:0;padding:10px;border-radius:8px;background:var(--accent-soft);color:var(--accent-strong);font-size:.78rem}.action-dialog form>[role=alert]{margin:0 18px;padding:9px 10px;border-radius:7px;background:var(--danger-soft);color:var(--danger);font-size:.78rem}.action-dialog footer{justify-content:flex-end;border-top:1px solid var(--border)}.action-dialog footer .primary-action{border-color:var(--accent-strong);background:var(--accent)}.business-intake-dialog,.source-import-dialog{width:min(760px,100%);max-height:calc(100vh - 48px);overflow:auto;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);box-shadow:0 24px 60px #121c293d}.source-import-dialog>header,.source-preview-list>header,.reconciliation-issue>header,.reconciliation-decision>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.source-import-dialog>header{position:sticky;top:0;z-index:2;padding:14px 20px;border-bottom:1px solid var(--border);background:var(--surface)}.source-import-dialog>header span,.reconciliation-issue header>div>span,.reconciliation-decision header span{color:var(--accent-strong);font-size:.72rem;font-weight:700}.source-import-dialog>header h2,.source-preview-list h3,.reconciliation-issue h2,.reconciliation-decision h2{margin:3px 0 0;font-size:1rem}.source-import-dialog>header button,.reconciliation-decision>header button{width:34px;min-height:34px;border:0;border-radius:7px;background:var(--surface-muted);cursor:pointer}.source-import-body{padding:20px}.source-import-boundary,.reconciliation-notice{margin:0;padding:10px 12px;border-radius:8px;background:var(--accent-soft);color:var(--accent-strong);font-size:.78rem}.source-import-fields,.reconciliation-controls{margin-top:16px;display:grid;grid-template-columns:minmax(200px,.7fr) minmax(300px,1.3fr);gap:14px 18px}.source-import-fields label,.reconciliation-controls label,.reconciliation-decision label{min-width:0;display:grid;gap:5px;color:var(--text-muted);font-size:.76rem}.source-import-fields select,.source-import-fields textarea,.reconciliation-controls select,.reconciliation-decision textarea{width:100%;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.source-import-fields textarea,.reconciliation-decision textarea{resize:vertical}.source-import-fields small{color:var(--text-muted);font-size:.72rem}.source-import-validation,.source-import-alert,.reconciliation-alert{margin:14px 0 0;padding:10px 12px;border-radius:8px;background:var(--danger-soft);color:var(--danger);font-size:.78rem}.source-import-footer,.reconciliation-decision footer{margin-top:16px;padding-top:14px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border)}.source-import-footer button:not(.primary-action),.source-preview-actions button:not(.primary-action),.reconciliation-decision footer button:not(.primary-action){min-height:38px;padding:0 13px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);cursor:pointer}.source-preview-list{margin-top:22px;border-top:1px solid var(--border)}.source-preview-list>header{padding:16px 0;align-items:center}.source-preview-list>header p{margin:5px 0 0;color:var(--text-muted);font-size:.78rem}.source-preview-list>header>span{color:var(--text-muted);font-size:.78rem}.source-preview-card{padding:16px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.source-preview-card+.source-preview-card{margin-top:12px}.source-preview-summary{display:flex;justify-content:space-between;gap:14px}.source-preview-summary>div{min-width:0;display:grid;gap:4px}.source-preview-summary strong{overflow-wrap:anywhere;font-size:.9rem}.source-preview-summary span{color:var(--text-muted);font-size:.74rem}.source-preview-summary>span{flex:0 0 auto;color:var(--accent-strong);font-weight:700}.source-preview-card dl,.reconciliation-issue dl{margin:14px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.source-preview-card dt,.reconciliation-issue dt{color:var(--text-faint);font-size:.7rem}.source-preview-card dd,.reconciliation-issue dd{margin:3px 0 0;overflow-wrap:anywhere;font-size:.78rem}.source-preview-card>p{margin:14px 0 0;color:var(--text-muted);font-size:.78rem;line-height:1.5}.source-preview-actions{margin-top:14px;display:flex;justify-content:flex-end;gap:10px}.source-import-result{margin-top:14px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-top:12px;border-top:1px solid var(--border);font-size:.78rem}.source-import-result strong{color:var(--success)}.source-import-result span{color:var(--text-muted)}.reconciliation-page{padding:24px}.reconciliation-page .page-heading{margin-bottom:18px}.reconciliation-controls{margin-top:16px;align-items:end;grid-template-columns:repeat(2,minmax(180px,260px)) auto}.reconciliation-controls>span{padding-bottom:8px;color:var(--text-muted);font-size:.78rem}.reconciliation-list{margin-top:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.reconciliation-issue{padding:18px}.reconciliation-issue+.reconciliation-issue{border-top:1px solid var(--border)}.reconciliation-issue header>span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--warning-soft);color:var(--warning);font-size:.72rem;font-weight:700}.reconciliation-issue header>span[data-status=CONFIRMED],.reconciliation-issue header>span[data-status=RESOLVED]{background:#eaf6f0;color:var(--success)}.reconciliation-issue header>span[data-status=IGNORED],.reconciliation-issue header>span[data-status=DEFERRED]{background:var(--surface-muted);color:var(--text-muted)}.reconciliation-actions{margin-top:15px;display:flex;flex-wrap:wrap;gap:8px}.reconciliation-actions button{min-height:34px;padding:0 10px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);cursor:pointer;font-size:.76rem}.reconciliation-empty{margin:18px 0 0;padding:22px;border:1px solid var(--border);border-radius:var(--radius);color:var(--text-muted);text-align:center;font-size:.82rem}.reconciliation-decision{width:min(440px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:18px;border:1px solid var(--border-strong);border-radius:12px;background:var(--surface);box-shadow:0 20px 50px #121c2938}.reconciliation-decision>p{margin:14px 0;color:var(--text-muted);font-size:.8rem;line-height:1.5}.business-intake-dialog>header{position:sticky;top:0;z-index:2;padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border);background:var(--surface)}.business-intake-dialog>header span{color:var(--accent-strong);font-size:.7rem;font-weight:700}.business-intake-dialog>header h2{margin:2px 0 0;font-size:1.1rem}.business-intake-dialog>header button{width:34px;min-height:34px;border:0;border-radius:7px;background:var(--surface-muted);cursor:pointer}.intake-body{padding:20px}.intake-step-heading{margin-bottom:18px}.intake-step-heading>span,.intake-waiting>span,.intake-created>span{color:var(--accent-strong);font-size:.72rem;font-weight:700}.intake-step-heading h3,.intake-waiting h3,.intake-created h3{margin:4px 0 6px;font-size:1.14rem}.intake-step-heading p,.intake-waiting p,.intake-created p{margin:0;color:var(--text-muted);font-size:.8rem}.intake-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}.intake-form-grid label,.receipt-field{min-width:0;display:grid;gap:5px;color:var(--text-muted);font-size:.76rem}.intake-form-grid .span-two{grid-column:1 / -1}.intake-form-grid input,.intake-form-grid select,.intake-form-grid textarea,.receipt-field input{width:100%;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.intake-form-grid input:disabled{background:var(--surface-muted);color:var(--text-muted)}.intake-form-grid textarea{resize:vertical}.intake-footer{margin-top:20px;padding-top:14px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border)}.intake-footer button:not(.primary-action),.intake-alert button{min-height:38px;padding:0 13px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);cursor:pointer}.intake-review-list{margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.intake-review-list>div{min-width:0;padding-top:9px;border-top:1px solid var(--border)}.intake-review-list dt{color:var(--text-faint);font-size:.72rem}.intake-review-list dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:.86rem;font-weight:650}.intake-boundary{margin:18px 0 0;padding:10px 12px;border-radius:8px;background:var(--accent-soft);color:var(--accent-strong);font-size:.78rem}.intake-alert{margin-top:14px;padding:11px 12px;border-radius:8px;font-size:.78rem}.intake-alert p{margin:5px 0 9px}.intake-waiting,.intake-created{max-width:520px;margin:32px auto;padding:24px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);text-align:center}.intake-waiting p+p{margin-top:10px}.intake-created>strong{display:block;margin:14px 0 8px;color:var(--accent-strong);font-size:1.05rem}.intake-created .primary-action{margin-top:18px}.receipt-field{margin-bottom:16px}.qualification-options{margin:0;padding:12px;display:grid;gap:10px;border:1px solid var(--border);border-radius:9px}.qualification-options legend{padding:0 5px;color:var(--text-muted);font-size:.76rem}.qualification-options label{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid var(--border);border-radius:8px;cursor:pointer}.qualification-options label:has(input:checked){border-color:var(--accent);background:var(--accent-soft)}.qualification-options input{width:17px;min-height:17px;margin-top:2px}.qualification-options label>span{display:grid;gap:4px}.qualification-options strong{font-size:.84rem}.qualification-options small{color:var(--text-muted);font-size:.74rem}.identity-gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef2f6}.identity-gate-panel{width:min(460px,100%);padding:32px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:0 16px 38px #1b273717}.identity-gate-panel h1{margin:22px 0 8px;font-size:1.6rem}.identity-gate-intro,.identity-boundary{color:var(--text-muted);font-size:.86rem;line-height:1.55}.identity-message{margin:18px 0 0;padding:10px 12px;border-radius:8px;background:var(--surface-muted);font-size:.82rem}.login-action{min-height:42px;margin-top:22px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}.identity-boundary{margin:22px 0 0;padding-top:16px;border-top:1px solid var(--border)}.access-admin,.system-status-page,.pilot-acceptance-page{padding:24px}.pilot-acceptance-page .page-heading>button,.pilot-acceptance-message button,.pilot-control-actions>button:not(.primary-action){min-height:36px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text);cursor:pointer}.pilot-acceptance-page .page-heading>button{flex-shrink:0;white-space:nowrap}.pilot-acceptance-page button:disabled{cursor:not-allowed;opacity:.5}.pilot-acceptance-message{padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);color:var(--text-muted)}.pilot-acceptance-message p{margin:0 0 10px}.pilot-evidence-summary,.pilot-gates,.pilot-promotion-control{min-width:0;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.pilot-evidence-summary{margin-bottom:16px;padding:16px 18px}.pilot-evidence-summary>header,.pilot-gates>header,.pilot-promotion-control>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.pilot-evidence-summary h2,.pilot-gates h2,.pilot-promotion-control h2{margin:0;font-size:1rem}.pilot-evidence-summary header p,.pilot-gates header p,.pilot-promotion-control header p{margin:5px 0 0;max-width:68ch;color:var(--text-muted);font-size:.78rem;line-height:1.5}.pilot-evidence-summary>header>span{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:.72rem;font-weight:700}.pilot-evidence-summary dl{margin:15px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px}.pilot-evidence-summary dl>div{min-width:0;padding-top:10px;border-top:1px solid var(--border)}.pilot-evidence-summary dt{color:var(--text-muted);font-size:.72rem}.pilot-evidence-summary dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:.86rem;font-weight:650}.pilot-acceptance-layout{display:grid;grid-template-columns:minmax(340px,.9fr) minmax(440px,1.1fr);align-items:start;gap:16px}.pilot-gates>header,.pilot-promotion-control>header{padding:16px 18px;border-bottom:1px solid var(--border)}.pilot-gates ol{margin:0;padding:0;list-style:none}.pilot-gates li{min-height:48px;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px}.pilot-gates li+li{border-top:1px solid var(--border)}.pilot-gates li>span{min-width:0;font-size:.82rem;overflow-wrap:anywhere}.pilot-gates li strong{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:.68rem}.pilot-gates li strong[data-status=PASS]{background:#eaf6f0;color:var(--success)}.pilot-gates li strong[data-status=FAIL]{background:var(--danger-soft);color:var(--danger)}.pilot-preflight-counts{margin:0;padding:12px 18px;border-top:1px solid var(--border);background:var(--surface-muted);color:var(--text-muted);font-size:.76rem}.pilot-promotion-control form{padding:18px;display:grid;gap:14px}.pilot-promotion-control fieldset{min-width:0;margin:0;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid var(--border);border-radius:9px}.pilot-promotion-control fieldset:nth-of-type(2){grid-template-columns:1fr}.pilot-promotion-control legend{padding:0 5px;color:var(--text-muted);font-size:.74rem}.pilot-promotion-control label{min-width:0;display:grid;gap:5px;color:var(--text-muted);font-size:.76rem}.pilot-promotion-control label>small{color:var(--text-muted);font-size:.69rem;line-height:1.45}.pilot-promotion-control label>.pilot-field-error{color:var(--danger)}.pilot-promotion-control input,.pilot-promotion-control textarea{width:100%;padding:8px 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.pilot-promotion-control textarea{resize:vertical}.pilot-promotion-control input[aria-invalid=true],.pilot-promotion-control textarea[aria-invalid=true]{border-color:var(--danger)}.pilot-promotion-control input:focus-visible,.pilot-promotion-control textarea:focus-visible,.pilot-acceptance-page button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.pilot-action-feedback{margin:0;padding:10px 12px;border-radius:8px;font-size:.78rem;line-height:1.5;overflow-wrap:anywhere}.pilot-control-actions{padding-top:14px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border)}.pilot-promote-guidance{flex:1 1 260px;margin:0 auto 0 0;color:var(--text-muted);font-size:.72rem;line-height:1.45}.pilot-promote-action:disabled,.pilot-promote-action:disabled:hover{border-color:var(--border-strong);background:var(--surface-muted);color:var(--text-muted)}.system-status-page .page-heading>button,.system-status-message button{min-height:36px;padding:0 12px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);cursor:pointer}.system-status-page .page-heading>button:disabled,.system-status-message button:disabled{cursor:not-allowed;opacity:.5}.system-status-message{padding:14px 16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.system-status-message p{margin:0 0 10px}.system-overall-status{margin-bottom:16px;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--border);border-left:4px solid var(--success);border-radius:var(--radius);background:var(--surface)}.system-overall-status[data-level=DEGRADED]{border-left-color:var(--warning)}.system-overall-status[data-level=CRITICAL]{border-left-color:var(--danger)}.system-overall-status>div{display:grid;gap:3px}.system-overall-status span,.system-overall-status small{color:var(--text-muted);font-size:.76rem}.system-overall-status strong{font-size:1.05rem}.system-status-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.system-status-card{min-width:0;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.system-status-card-wide{grid-column:1 / -1}.system-status-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.system-status-card h2{margin:0;font-size:1rem}.system-health-badge,.system-secondary-status{padding:4px 8px;border-radius:999px;background:#eaf6f0;color:var(--success);font-size:.72rem;font-weight:700}.system-health-badge[data-level=DEGRADED]{background:var(--warning-soft);color:var(--warning)}.system-health-badge[data-level=CRITICAL]{background:var(--danger-soft);color:var(--danger)}.system-status-emphasis{margin:14px 0 0;font-weight:700}.system-status-card dl{margin:14px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.system-status-card:not(.system-status-card-wide) dl{grid-template-columns:1fr}.system-status-card dl>div{min-width:0;padding-top:10px;border-top:1px solid var(--border)}.system-status-card dt{color:var(--text-faint);font-size:.72rem}.system-status-card dd{margin:4px 0 0;overflow-wrap:anywhere;font-size:.86rem;font-weight:650}.system-status-request-id{margin:14px 0 0;color:var(--text-faint);font-size:.72rem}.access-create-panel,.access-list-section{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface)}.access-create-panel{margin-bottom:18px}.access-create-panel>header,.access-list-section>header{padding:16px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--border)}.access-create-panel h2,.access-list-section h2,.access-member h3,.access-member h4{margin:0}.access-create-panel h2,.access-list-section h2{font-size:1rem}.access-create-panel header p,.access-list-section header p{margin:5px 0 0;color:var(--text-muted);font-size:.78rem}.access-create-panel>form{padding:18px}.access-create-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.access-create-fields>label,.access-member form>label:not(.access-confirm){min-width:0;display:grid;gap:5px;color:var(--text-muted);font-size:.76rem}.access-create-fields input:not([type=checkbox]),.access-member form input:not([type=checkbox]),.access-member form select{width:100%;padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);color:var(--text)}.access-create-fields fieldset,.access-member fieldset{min-width:0;margin:0;padding:10px 12px;display:flex;align-content:flex-start;flex-wrap:wrap;gap:8px 14px;border:1px solid var(--border);border-radius:8px}.access-create-fields legend,.access-member legend{padding:0 5px;color:var(--text-muted);font-size:.74rem}.access-check,.access-confirm{display:inline-flex;align-items:center;gap:7px;color:var(--text);font-size:.78rem}.access-check input,.access-confirm input{width:17px;min-height:17px;margin:0}.access-reason-field{grid-column:1 / -1}.access-form-actions{margin-top:16px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border)}.access-form-actions small{max-width:64ch;color:var(--text-muted);font-size:.72rem}.access-alert,.access-page-message,.access-empty{margin:16px 18px;padding:12px;border-radius:8px;font-size:.8rem}.access-page-message p,.access-empty p{margin:5px 0 0}.access-page-message button{margin-top:10px}.access-empty{background:var(--surface-muted);color:var(--text-muted);text-align:center}.access-empty strong{color:var(--text)}.access-list{display:grid}.access-member{padding:18px}.access-member+.access-member{border-top:1px solid var(--border)}.access-member-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.access-member-heading>div:first-child{min-width:0}.access-member-heading h3{font-size:.96rem;overflow-wrap:anywhere}.access-member-heading code{display:block;margin-top:5px;color:var(--text-muted);font-size:.72rem;overflow-wrap:anywhere}.access-member-status{flex:0 0 auto;display:grid;justify-items:end;gap:5px}.access-member-status span{padding:3px 8px;border-radius:999px;background:#eaf6f0;color:var(--success);font-size:.72rem;font-weight:700}.access-member-status span[data-status=SUSPENDED]{background:var(--warning-soft);color:var(--warning)}.access-member-status span[data-status=REVOKED]{background:var(--danger-soft);color:var(--danger)}.access-member-status small{color:var(--text-muted);font-size:.7rem}.access-member-forms{margin-top:16px;display:grid;grid-template-columns:minmax(220px,.7fr) minmax(360px,1.3fr);gap:16px}.access-member form{min-width:0;padding:14px;display:grid;align-content:start;gap:11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted)}.access-member h4{font-size:.82rem}.access-member form button{justify-self:end}.access-confirm{padding:9px 10px;border-radius:7px;background:var(--danger-soft);color:var(--danger)}.identity-gate-panel section{display:grid;gap:8px;margin-top:20px}.identity-gate-panel section label,.identity-gate-panel section strong{font-size:.82rem}.identity-gate-panel select{padding:0 10px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface)}@keyframes skeleton-pulse{50%{background:#e4e8ed}}@media(max-width:1180px){.filter-controls{grid-template-columns:repeat(3,minmax(150px,1fr))}.pilot-acceptance-layout{grid-template-columns:1fr}}@media(max-width:980px){.queue-detail-workspace{grid-template-columns:1fr}.queue-pane{border-right:0;border-bottom:1px solid var(--border)}.detail-pane{min-height:360px}.access-member-forms{grid-template-columns:1fr}.pilot-evidence-summary dl{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.environment-banner{min-height:0;padding:10px 14px}.runtime-blocked-state{padding:18px 14px}.app-shell{display:block}.side-rail{position:static;width:100%;height:auto;padding:10px 14px;flex-direction:row;align-items:center;justify-content:space-between}.brand-lockup{margin:0}.brand-lockup small,.pilot-boundary{display:none}.side-rail nav a{padding:8px 10px}.top-bar{align-items:flex-start;flex-direction:column}.top-bar section[aria-label=开发测试身份]{width:100%;flex-wrap:wrap}.task-center,.access-admin,.system-status-page,.pilot-acceptance-page{padding:18px 14px}.pilot-evidence-summary dl,.pilot-promotion-control fieldset{grid-template-columns:1fr}.pilot-evidence-summary>header,.pilot-control-actions{align-items:stretch;flex-direction:column}.pilot-promote-guidance{width:100%}.pilot-control-actions>button{width:100%}.system-status-grid,.system-status-card dl{grid-template-columns:1fr}.system-overall-status{align-items:flex-start;flex-direction:column}.reconciliation-page{padding:18px 14px}.access-create-fields{grid-template-columns:1fr}.access-reason-field{grid-column:auto}.access-form-actions,.access-member-heading{align-items:stretch;flex-direction:column}.access-form-actions .primary-action,.access-member form button{width:100%;justify-self:stretch}.access-member-status{justify-items:start}.filter-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.queue-detail-workspace{min-height:0}.detail-selected dl{grid-template-columns:1fr}.detail-pane{padding:18px 14px}.overview-grid dl,.member-grid dl,.service-record dl{grid-template-columns:1fr}.controlled-references li{grid-template-columns:1fr;gap:4px}.specialist-entry,.work-order-title{align-items:flex-start;flex-direction:column}.dialog-backdrop{padding:12px}.intake-form-grid,.intake-review-list{grid-template-columns:1fr}.business-intake-dialog,.source-import-dialog{max-height:calc(100vh - 24px)}.source-import-fields,.source-preview-card dl,.reconciliation-controls,.reconciliation-issue dl{grid-template-columns:1fr}.source-import-footer,.source-preview-actions,.reconciliation-decision footer{align-items:stretch;flex-direction:column}.source-import-footer button,.source-preview-actions button,.reconciliation-decision footer button{width:100%}.reconciliation-decision{max-height:calc(100vh - 24px)}.intake-body{padding:16px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
