:root{--bg:#f6f8fb;--panel:#ffffff;--ink:#17202a;--muted:#64748b;--line:#dbe4ef;--brand:#0f766e;--brand-dark:#064e3b;--soft:#ecfdf5;--warn:#fff7ed;--warn-line:#fed7aa;--blue:#eff6ff;--blue-line:#bfdbfe}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Microsoft YaHei,PingFang SC,Arial,sans-serif;line-height:1.65}.layout{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh;transition:grid-template-columns .2s ease}.layout.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}aside{position:sticky;top:0;height:100vh;overflow:auto;background:#e9edf2;border-right:1px solid #cbd5e1;padding:18px 14px;transition:padding .2s ease,opacity .16s ease}.sidebar-head{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:8px;margin-bottom:14px}.sidebar-toggle{width:34px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f3f3a;font:inherit;font-size:18px;font-weight:800;line-height:1;cursor:pointer}.sidebar-toggle:hover{border-color:#bfdbfe;background:#eff6ff}.layout.sidebar-collapsed aside{padding:0;overflow:visible;border-right:0;background:transparent}.layout.sidebar-collapsed main{max-width:none}.layout.sidebar-collapsed .sidebar-head{display:block;margin:0}.layout.sidebar-collapsed .sidebar-copy,.layout.sidebar-collapsed .nav{display:none}.layout.sidebar-collapsed .sidebar-toggle{position:fixed;top:auto;left:8px;bottom:22px;z-index:40;width:auto;height:40px;padding:0 14px;border:0;border-radius:999px;background:#0f766e;color:#fff;font-size:13px;box-shadow:0 10px 28px #0f172a3d}.layout.sidebar-collapsed .sidebar-toggle:hover{background:#0f6b64;color:#fff}main{padding:26px 32px 48px;max-width:1520px}h1{font-size:30px;margin:0;color:#0f3f3a}h2{font-size:22px;margin:34px 0 12px;border-left:6px solid var(--brand);padding-left:12px;color:#0f3f3a}h3{font-size:17px;margin:20px 0 8px;color:#0f3f3a}p{margin:8px 0}a{color:#0f5fb8;text-decoration:none}a:hover{text-decoration:underline}code{background:#edf4f7;border-radius:5px;padding:1px 5px}.nav-title{font-weight:800;font-size:18px;margin-bottom:4px}.nav-subtitle{font-size:12px;color:var(--muted);margin-bottom:14px}.nav-group{margin:14px 0 6px;font-size:12px;font-weight:800;color:#64748b}.module-list{display:grid;gap:6px;margin:8px 0 14px}.module-button{width:100%;border:0;background:transparent;border-radius:8px;padding:8px;text-align:left;color:#1f2937;cursor:pointer}.module-button:hover,.module-button.active{background:#dbeafe;color:#0f3f3a}.module-button strong{display:block;font-size:14px}.module-button span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.module-button[disabled]{cursor:not-allowed;opacity:.7}.muted{color:var(--muted)}.page-header{position:sticky;top:0;z-index:20;display:grid;grid-template-columns:max-content auto minmax(320px,1fr);align-items:center;gap:18px;margin:0 0 20px;padding:8px 0;background:linear-gradient(180deg,var(--bg) 78%,rgba(246,248,251,0))}.header-meta{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:0}.tagline{font-size:14px;color:var(--muted);margin:0;text-align:right}@media(max-width:1100px){.page-header{grid-template-columns:1fr;align-items:start}.header-meta{justify-content:flex-start;flex-wrap:wrap}.tagline{text-align:left}}.section-tabs{display:flex;align-items:center;gap:8px;min-width:0}.section-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:6px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#334155;font-size:14px;font-weight:700;text-decoration:none}.section-tabs a:hover{border-color:#bfdbfe;background:#eff6ff;text-decoration:none}.section-tabs a.active{background:#dbeafe;border-color:#bfdbfe;color:#0f3f3a}.summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 16px}.summary-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.summary-card span{display:block;color:var(--muted);font-size:12px}.summary-card strong{font-size:22px;color:#0f172a}.card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin:12px 0;box-shadow:0 4px 14px #0f172a0a}.warn{background:var(--warn);border-color:var(--warn-line)}.info{background:var(--blue);border-color:var(--blue-line)}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px}.metric strong{display:block;color:var(--brand-dark);font-size:15px}.metric .num{display:block;font-size:28px;line-height:1.2;margin-top:4px;color:#0f172a}.pill{display:inline-block;background:#e6fffb;border:1px solid #99f6e4;border-radius:999px;padding:1px 9px;margin:2px;font-size:13px;color:#064e3b}.pill.red{background:#fef2f2;border-color:#fecaca;color:#991b1b}.pill.blue{background:#eff6ff;border-color:#bfdbfe;color:#1d4ed8}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.matrix-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0 12px}.toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.result-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#334155}.result-summary strong{color:#0f3f3a}.result-summary button,.sync-state{display:inline-flex;align-items:center;min-height:28px;border:1px solid var(--line);border-radius:999px;background:#fff;padding:3px 10px;font:inherit;font-size:13px;color:inherit}.result-summary button{cursor:pointer}.result-summary button:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.result-summary button.active{border-color:#0f766e;background:#dff8ef;color:#0f5f58;box-shadow:0 0 0 2px #14b8a61f}.result-summary button.active strong{color:#0f5f58}.sync-state.ready{border-color:#99f6e4;background:#ecfdf5;color:#047857}.sync-state.saving,.sync-state.loading{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}.sync-state.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.export-button,.secondary-button{min-height:36px;border-radius:8px;padding:6px 14px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;white-space:nowrap}.export-button{border:1px solid #0f766e;background:#0f766e;color:#fff}.export-button:hover{border-color:#0f6b64;background:#0f6b64}.table-wrap{max-height:calc(100vh - 230px);overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff;margin:12px 0}#cases .table-wrap{height:calc(100vh - 150px);max-height:none;margin-bottom:0}.table-wrap table{margin:0;border:0}table{width:100%;border-collapse:collapse;background:#fff;margin:12px 0;table-layout:fixed}th,td{border:1px solid var(--line);padding:8px 9px;vertical-align:top;word-break:break-word}th{background:var(--soft);color:var(--brand-dark);text-align:left}.table-wrap thead th{position:sticky;top:0;z-index:2;box-shadow:0 1px 0 var(--line),0 3px 10px #0f172a0f}tbody tr:nth-child(2n){background:#fbfdff}.case-table th:nth-child(1){width:92px}.case-table th:nth-child(2){width:110px}.case-table th:nth-child(3){width:150px}.case-table th:nth-child(6){width:92px}.matrix-table{min-width:2490px}.matrix-table th:nth-child(1){width:58px}.matrix-table th:nth-child(2){width:360px}.matrix-table th:nth-child(3){width:170px}.matrix-table th:nth-child(4){width:120px}.matrix-table th:nth-child(5){width:240px}.matrix-table th:nth-child(6){width:300px}.matrix-table th:nth-child(7){width:300px}.matrix-table th:nth-child(8){width:420px}.matrix-table th:nth-child(9){width:120px}.matrix-table th:nth-child(10){width:250px}.matrix-table th:nth-child(11){width:250px}.matrix-table th:nth-child(12){width:170px}.matrix-table th:nth-child(13){width:92px}.matrix-table th:nth-child(1),.matrix-table td:nth-child(1){position:sticky;left:0;z-index:3;background:#fff}.matrix-table th:nth-child(2),.matrix-table td:nth-child(2){position:sticky;left:58px;z-index:3;background:#fff;box-shadow:2px 0 0 var(--line)}.matrix-table thead th:nth-child(1),.matrix-table thead th:nth-child(2){z-index:5;background:var(--soft)}.matrix-table td:nth-child(1){text-align:center;color:var(--muted);font-weight:800}.matrix-table td:nth-child(2){font-weight:400}.req-ref{display:grid;gap:3px}.req-ref+.req-ref{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.req-ref strong{font-size:13px;color:#0f3f3a}.req-ref span{color:#334155}.multiline-text{white-space:pre-line;line-height:1.75}.scene-cell{display:grid;gap:8px}.scene-cell strong{color:#17202a;font-size:15px;line-height:1.45}.scene-links{display:flex;flex-wrap:wrap;gap:6px}.scene-links a{display:inline-flex;align-items:center;max-width:100%;min-height:26px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;padding:2px 8px;color:#1d4ed8;font-size:12px;font-weight:700;line-height:1.35;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scene-links a:hover{border-color:#93c5fd;background:#dbeafe;text-decoration:none}.prototype-cell{display:grid;gap:8px}.shot-link{display:grid;gap:5px;color:#334155;text-decoration:none;border:0;background:transparent;padding:0;text-align:left;font:inherit;cursor:pointer}.shot-link:hover{text-decoration:none}.shot-link img,.shot-placeholder{width:150px;aspect-ratio:16/9;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.shot-link img{object-fit:cover}.shot-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px;color:#64748b;text-align:center}.shot-placeholder strong{font-size:13px;line-height:1.2;color:#334155}.shot-placeholder small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.25}.shot-link span{font-size:12px;line-height:1.35;color:var(--muted)}.empty-cell{color:#94a3b8;font-size:13px}.result-select,.tester-input,.result-textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#17202a;font:inherit;font-size:13px}.result-select{height:34px;padding:4px 8px;font-weight:700}.result-select.status-passed{border-color:#86efac;background:#f0fdf4;color:#15803d}.result-select.status-failed{border-color:#fca5a5;background:#fef2f2;color:#b91c1c}.result-select.status-blocked{border-color:#fdba74;background:#fff7ed;color:#c2410c}.result-select.status-unavailable{border-color:#a5b4fc;background:#eef2ff;color:#3730a3}.result-select.status-partial{border-color:#f9a8d4;background:#fdf2f8;color:#be185d}.result-select.status-untested{color:#64748b}.result-textarea{min-height:86px;resize:vertical;padding:7px 8px;line-height:1.45}.tester-input{height:34px;padding:4px 8px}.updated-at{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.3}.record-cell{display:block;width:100%;min-height:56px;border:1px solid transparent;border-radius:8px;background:transparent;padding:6px 8px;text-align:left;color:#17202a;font:inherit;line-height:1.45;cursor:pointer;overflow:hidden}.record-cell:hover{border-color:#bfdbfe;background:#eff6ff}.record-cell span{color:#94a3b8}.screenshot-empty{min-height:56px}.screenshot-summary{display:grid;gap:7px}.screenshot-thumbs{display:grid;grid-template-columns:repeat(2,64px);gap:6px}.screenshot-thumb,.screenshot-more{width:64px;aspect-ratio:16/10;border:1px solid #dbe4ef;border-radius:8px;background:#f8fafc;padding:0;overflow:hidden;cursor:pointer}.screenshot-thumb:hover,.screenshot-more:hover{border-color:#93c5fd;box-shadow:0 0 0 2px #dbeafe}.screenshot-thumb img{display:block;width:100%;height:100%;object-fit:cover}.screenshot-thumb span{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:5px;color:#64748b;font-size:11px;line-height:1.2;text-align:center}.screenshot-more{display:flex;align-items:center;justify-content:center;color:#1d4ed8;font:inherit;font-size:13px;font-weight:800}.screenshot-edit{justify-self:start;border:0;background:transparent;color:#64748b;font:inherit;font-size:12px;font-weight:700;padding:0;cursor:pointer}.screenshot-edit:hover{color:#0f5fb8;text-decoration:underline}.secondary-button{border:1px solid #cbd5e1;background:#fff;color:#334155}.secondary-button:hover{border-color:#bfdbfe;background:#eff6ff;color:#0f3f3a}.result-modal-backdrop{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;background:#0f172a8a;padding:28px}.result-modal{width:min(860px,96vw);max-height:92vh;display:grid;grid-template-rows:auto minmax(0,1fr) auto;background:#fff;border-radius:12px;box-shadow:0 24px 70px #0f172a57;overflow:hidden}.result-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid var(--line)}.result-modal-head strong{display:block;color:#0f3f3a;font-size:18px}.result-modal-head span{display:block;color:#64748b;font-size:13px;margin-top:2px}.icon-button{width:34px;height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font:inherit;font-size:22px;line-height:1;cursor:pointer}.icon-button:hover{border-color:#bfdbfe;background:#eff6ff}.result-modal-body{display:grid;gap:12px;padding:16px;overflow:auto}.field-label{display:grid;gap:6px;color:#0f3f3a;font-weight:800}.field-label .result-select{max-width:180px}.modal-textarea{width:100%;min-height:132px;border:1px solid #cbd5e1;border-radius:8px;padding:9px 10px;color:#17202a;font:inherit;font-size:14px;line-height:1.55;resize:vertical}.modal-textarea.compact{min-height:92px}.modal-input{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 10px;color:#17202a;font:inherit;font-size:14px}.case-modal{width:min(900px,96vw)}.case-modal-body{grid-template-columns:repeat(2,minmax(0,1fr))}.case-modal-body .field-label:first-child,.case-modal-body .field-label:nth-child(5),.case-modal-body .field-label:nth-child(8){grid-column:1 / -1}.modal-state{margin-right:auto;color:#64748b;font-size:13px}.upload-panel{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;padding:12px;color:#64748b;font-size:13px;font-weight:500}.file-button{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:1px solid #0f766e;border-radius:8px;background:#0f766e;color:#fff;padding:6px 12px;font-size:14px;font-weight:800;cursor:pointer;overflow:hidden}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.manual-url-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.manual-url-row input{min-height:36px;border:1px solid #cbd5e1;border-radius:8px;padding:6px 9px;font:inherit}.manual-url-row button{border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;padding:5px 12px;font:inherit;font-weight:700;cursor:pointer}.screenshot-list{display:grid;gap:6px}.screenshot-chip{display:grid;grid-template-columns:minmax(0,1fr) 28px;align-items:center;gap:6px;border:1px solid #dbe4ef;border-radius:8px;background:#fff;padding:6px 8px}.screenshot-chip a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.screenshot-chip button{width:28px;height:28px;border:0;border-radius:6px;background:#f1f5f9;color:#334155;cursor:pointer}.result-modal-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid var(--line);background:#f8fafc}.image-preview{position:fixed;inset:0;z-index:50;display:none;align-items:center;justify-content:center;background:#0f172ab8;padding:28px}.image-preview.open{display:flex}.preview-panel{width:min(1180px,96vw);max-height:92vh;background:#fff;border-radius:12px;box-shadow:0 24px 70px #0f172a52;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;border-bottom:1px solid var(--line)}.preview-head strong{color:#0f3f3a}.preview-close{border:1px solid var(--line);background:#fff;border-radius:8px;padding:5px 10px;font:inherit;cursor:pointer;color:#334155}.preview-body{overflow:auto;background:#0f172a;text-align:center}.preview-body img{display:block;max-width:none;width:100%;height:auto;margin:0 auto;background:#fff}body.preview-open{overflow:hidden}.trace-table th:nth-child(1){width:72px}.trace-table th:nth-child(2){width:110px}.trace-table th:nth-child(5){width:190px}.checklist{columns:2;column-gap:28px}.checklist li{break-inside:avoid;margin:4px 0}figure{margin:12px 0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}figure img{display:block;width:100%;height:auto}.prototype-frame{max-height:540px;overflow:auto}figcaption{padding:7px 10px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}.case-group{background:var(--panel);border:1px solid var(--line);border-radius:14px;margin:14px 0;box-shadow:0 4px 14px #0f172a0a;overflow:hidden}.case-group h2{margin:0;border:0;padding:0}.section-toggle{width:100%;height:auto;min-height:54px;border:0;border-radius:0;background:#fff;display:flex;align-items:center;justify-content:space-between;text-align:left;padding:14px 16px;font:inherit;font-weight:800;color:#0f3f3a;cursor:pointer}.section-toggle span{font-size:13px;font-weight:500;color:var(--muted)}.section-body{padding:0 16px 16px}.case-group.collapsed .section-body{display:none}.case-group.collapsed .section-toggle{border-bottom:0}.case-table td:first-child{font-weight:800;color:#0f3f3a}.matrix-table td:first-child{color:var(--muted)}.compact-panel,.module-page{display:none}.module-page.active{display:block}.section-panel{display:none}.section-panel.active-section{display:block}.module-placeholder{border:1px dashed #cbd5e1;border-radius:14px;background:#fff;padding:24px;color:var(--muted)}.module-placeholder strong{display:block;font-size:20px;color:#0f3f3a;margin-bottom:6px}@media(max-width:1000px){.layout,.layout.sidebar-collapsed{grid-template-columns:1fr}aside{position:relative;height:auto}.layout.sidebar-collapsed aside{position:fixed;top:0;left:0;z-index:40;width:0;height:0;padding:0;overflow:visible;background:transparent;border:0}.layout.sidebar-collapsed .sidebar-copy,.layout.sidebar-collapsed .nav{display:none}.layout.sidebar-collapsed .sidebar-head{display:block;margin:0}.layout.sidebar-collapsed .sidebar-toggle{position:fixed;top:auto;left:8px;bottom:18px}main{padding:18px}.matrix-toolbar{align-items:flex-start;flex-direction:column}.section-tabs{overflow:auto;padding-bottom:4px}.grid,.source-list,.summary-strip{grid-template-columns:1fr}.checklist{columns:1}}
