:root{--bg:#f4f7fb;--surface:#fff;--surface-soft:#f8fafc;--ink:#172033;--muted:#64748b;--line:#dbe3ee;--line-strong:#c7d2e2;--primary:#2563eb;--primary-dark:#1d4ed8;--primary-soft:#eaf2ff;--cyan:#0891b2;--green:#15803d;--green-soft:#ecfdf3;--amber:#b45309;--amber-soft:#fff7ed;--red:#b42318;--red-soft:#fff1f2;--shadow:0 18px 50px -34px rgba(15,23,42,.36);--radius:16px;--cell-width:132px;--time-width:112px;--index-width:48px;--action-width:44px;font-family:Inter,"SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}html{background:var(--bg)}body{margin:0;color:var(--ink);background:radial-gradient(circle at 8% -10%,rgba(37,99,235,.09),transparent 32rem),var(--bg);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button{border:0}h1,h2,h3,p{margin-top:0}.app-shell{width:min(100% - 32px,1760px);margin:auto;padding:26px 0 18px}.app-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:8px 4px 20px}.eyebrow,.panel-kicker{display:block;margin-bottom:5px;color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.app-header h1{margin-bottom:6px;font-size:clamp(28px,3.4vw,46px);line-height:1.04;letter-spacing:-.035em}.app-header p,.section-help{margin-bottom:0;color:var(--muted);font-size:12px;line-height:1.55}.header-metrics{display:grid;grid-template-columns:repeat(3,112px);gap:8px}.metric{padding:12px 14px;border:1px solid rgba(203,213,225,.8);border-radius:14px;background:rgba(255,255,255,.82);box-shadow:var(--shadow)}.metric strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}.metric span{color:var(--muted);font-size:11px}.app-frame{overflow:hidden;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.72);box-shadow:0 28px 80px -50px rgba(15,23,42,.45);backdrop-filter:blur(18px)}.workflow-nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px;padding:12px 16px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.92)}.workflow-steps,.workflow-state,.toolbar-group,.sheet-actions,.export-actions,.page-navigation{display:flex;align-items:center;gap:8px}.export-actions{flex-wrap:wrap;justify-content:flex-end}.step-button{display:flex;align-items:center;gap:9px;height:38px;padding:0 14px;border:1px solid transparent;border-radius:11px;color:#475569;background:transparent;cursor:pointer}.step-button span{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;color:#64748b;background:#eef2f7;font-size:10px;font-weight:800}.step-button b{font-size:13px}.step-button.active{color:var(--primary-dark);border-color:#bfdbfe;background:var(--primary-soft)}.step-button.active span{color:#fff;background:var(--primary)}.step-button:disabled{cursor:not-allowed;opacity:.4}.workflow-state span{padding:6px 10px;border-radius:999px;color:#475569;background:#f1f5f9;font-size:11px;font-weight:700}.workflow-state button{padding:6px 10px;border-radius:9px;color:var(--red);background:var(--red-soft);cursor:pointer;font-size:11px;font-weight:750}.workflow-page{display:none;padding:14px}.workflow-page.active{display:block}.analysis-workspace{display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;align-items:start}.analysis-main{min-width:0}.profile-rail{position:sticky;top:14px;padding:12px;max-height:calc(100vh - 28px);overflow:auto}.profile-rail-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;padding:3px 4px 10px;border-bottom:1px solid var(--line);color:#334155;font-size:12px;font-weight:800}.profile-rail-heading small{color:var(--muted);font-size:9px;font-weight:600}.profile-rail-list{display:grid;gap:5px;padding-top:9px}.profile-rail-group{display:grid;gap:4px}.profile-rail-group>strong{padding:7px 8px 3px;color:#64748b;font-size:10px}.profile-rail-item{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:34px;padding:7px 8px;border:1px solid transparent;border-radius:8px;color:#334155;background:transparent;text-align:left;cursor:pointer;font-size:11px}.profile-rail-item:hover{background:#f1f5f9}.profile-rail-item.active{border-color:#bfdbfe;color:var(--primary-dark);background:var(--primary-soft)}.profile-rail-item span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-rail-item i{flex:0 0 auto;color:#64748b;font-size:9px;font-style:normal}.profile-rail-item i.good{color:var(--green)}.profile-rail-item i.warn{color:var(--amber)}.profile-rail-item i.bad{color:var(--red)}.candidate-table-wrap{max-height:520px;overflow:auto}.candidate-table tr.candidate-ineligible td{color:#94a3b8;background:#fafafa}.candidate-table tr.candidate-ineligible button{opacity:.55;cursor:not-allowed}.workflow-page.active{display:block}.input-dashboard{display:grid;grid-template-columns:360px minmax(0,1fr);gap:14px;margin-bottom:14px}.panel{min-width:0;padding:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.panel-heading>div:first-child{display:flex;align-items:flex-start;gap:10px}.panel-heading h2{margin-bottom:3px;font-size:16px;line-height:1.25;letter-spacing:-.01em}.section-index{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #bfdbfe;border-radius:9px;color:var(--primary);background:var(--primary-soft);font-size:10px;font-weight:850}.status-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border:1px solid var(--line);border-radius:999px;color:#475569;background:var(--surface-soft);font-size:10px;font-weight:800;white-space:nowrap}.status-badge.blue{color:var(--primary-dark);border-color:#bfdbfe;background:var(--primary-soft)}.status-badge.green{color:var(--green);border-color:#bbf7d0;background:var(--green-soft)}.status-badge.amber{color:var(--amber);border-color:#fed7aa;background:var(--amber-soft)}.status-badge.red{color:var(--red);border-color:#fecdd3;background:var(--red-soft)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-grid .full{grid-column:1/-1}.field{display:grid;gap:5px;min-width:0}.field>span{color:#64748b;font-size:11px;font-weight:700}.field input,.field select,.compact-select{width:100%;height:38px;padding:0 10px;border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:#fff;font-size:12px;outline:none}.field input:focus,.field select:focus,.compact-select:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.info-strip,.sheet-tip{display:grid;grid-template-columns:auto 1fr;gap:10px;margin-top:12px;padding:10px 12px;border:1px solid #bfdbfe;border-radius:11px;color:#1e40af;background:var(--primary-soft);font-size:11px;line-height:1.5}.info-strip strong,.sheet-tip span{white-space:nowrap}.group-card-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(225px,1fr));gap:9px}.group-card{position:relative;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.group-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.group-card .remove-group{width:34px;height:38px;border-radius:9px;color:var(--red);background:var(--red-soft);cursor:pointer}.dose-disclosure{margin-top:9px;border-top:1px solid var(--line)}.dose-disclosure summary{padding-top:9px;color:#475569;cursor:pointer;font-size:11px;font-weight:750}.dose-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:7px;margin-top:8px}.small-action,.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 13px;border-radius:10px;cursor:pointer;font-size:11px;font-weight:800;white-space:nowrap}.small-action,.primary-action{color:#fff;background:linear-gradient(135deg,var(--primary),#3b82f6);box-shadow:0 10px 24px -16px rgba(37,99,235,.9)}.small-action.secondary,.secondary-action{color:#334155;border:1px solid var(--line-strong);background:#fff;box-shadow:none}.small-action:hover,.primary-action:hover{background:linear-gradient(135deg,var(--primary-dark),var(--primary))}.secondary-action:hover{color:var(--primary);border-color:#93c5fd;background:var(--primary-soft)}.sheet-panel{padding:0;overflow:hidden}.sheet-heading{align-items:center;margin:0;padding:18px}.sheet-tip{margin:0 18px 12px}.sheet-tip p{margin:0;color:#334155}.spreadsheet-wrap{max-height:530px;overflow:auto;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;scrollbar-color:#cbd5e1 #f8fafc;scrollbar-width:thin}.spreadsheet{width:max-content;min-width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:12px}.spreadsheet col.index-col{width:var(--index-width)}.spreadsheet col.time-col{width:var(--time-width)}.spreadsheet col.data-col{width:var(--cell-width)}.spreadsheet col.action-col{width:var(--action-width)}.spreadsheet th,.spreadsheet td{height:38px;padding:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums}.spreadsheet thead th{position:sticky;z-index:6;color:#475569;background:#f1f5f9;text-align:center;font-size:11px;font-weight:800}.spreadsheet thead tr:first-child th{top:0;height:42px}.spreadsheet thead tr:nth-child(2) th{top:42px;height:42px}.sheet-corner{left:0;z-index:12!important}.sheet-time-head{left:var(--index-width);z-index:11!important}.sheet-group-head{color:#1e40af!important;background:#eaf2ff!important}.sheet-group-head button{margin-left:8px;padding:4px 7px;border:1px solid #bfdbfe;border-radius:7px;color:var(--primary);background:#fff;cursor:pointer;font-size:10px;font-weight:800}.sheet-observation-head{padding:4px 6px!important}.sheet-observation-head input{width:calc(100% - 26px);height:28px;padding:0 5px;border:1px solid transparent;border-radius:6px;color:#334155;background:transparent;text-align:center;font-size:11px;font-weight:750}.sheet-observation-head input:focus{border-color:#93c5fd;background:#fff;outline:none}.sheet-observation-head button{width:22px;height:26px;color:var(--red);background:transparent;cursor:pointer}.sheet-observation-head small{display:block;color:#64748b;font-size:9px;font-weight:600}.row-index{position:sticky;left:0;z-index:4;color:#64748b;background:#f8fafc;text-align:center;cursor:pointer;user-select:none}.sheet-cell{position:relative;background:#fff}.sheet-time-cell{position:sticky;left:var(--index-width);z-index:3;background:#f8fafc}.spreadsheet tbody tr:nth-child(even) .sheet-cell:not(.selected):not(.active){background:#fbfdff}.sheet-cell input{display:block;width:100%;height:37px;padding:0 9px;border:0;color:#172033;background:transparent;text-align:right;outline:none;font-size:12px}.sheet-cell:hover{background:#f3f7ff}.sheet-cell.selected{background:#e8f1ff!important}.sheet-cell.active{z-index:5;box-shadow:inset 0 0 0 2px var(--primary)}.row-index.selected{color:var(--primary-dark);background:#dbeafe}.remove-row{display:grid;place-items:center;width:100%;height:37px;color:#94a3b8;background:#fff;cursor:pointer}.remove-row:hover{color:var(--red);background:var(--red-soft)}.page-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px}.page-footer-actions>span{color:var(--muted);font-size:11px}.review-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:14px}.review-toolbar .field{min-width:280px}.segment{display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:3px;border:1px solid var(--line);border-radius:10px;background:#f1f5f9}.segment button{height:30px;padding:0 12px;border-radius:7px;color:#64748b;background:transparent;cursor:pointer;font-size:11px;font-weight:750}.segment button.active{color:var(--primary-dark);background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08)}.review-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;margin-bottom:14px}.chart-panel{padding:0;overflow:hidden}.chart-panel .panel-heading{margin:0;padding:18px}.chart-frame{position:relative;height:410px;border-top:1px solid var(--line);background:linear-gradient(180deg,#fff,#fbfdff)}#pkChart{display:block;width:100%;height:100%}.chart-empty{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:12px}.chart-legend{display:flex;flex-wrap:wrap;gap:18px;padding:12px 18px;border-top:1px solid var(--line);color:#64748b;font-size:10px}.chart-legend span{display:flex;align-items:center;gap:6px}.chart-legend i{width:18px;height:3px;border-radius:99px}.chart-legend .mean{background:var(--primary)}.chart-legend .raw{background:#94a3b8}.chart-legend .terminal{background:#f97316}.quality-message{padding:12px;border:1px solid var(--line);border-radius:12px}.quality-message strong{display:block;margin-bottom:3px;font-size:12px}.quality-message p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.quality-message.neutral{background:#f8fafc}.quality-message.good{border-color:#bbf7d0;background:var(--green-soft)}.quality-message.warn{border-color:#fed7aa;background:var(--amber-soft)}.quality-message.bad{border-color:#fecdd3;background:var(--red-soft)}.quality-metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.quality-stat{padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff}.quality-stat span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase}.quality-stat strong{display:block;margin-top:3px;font-size:14px;font-variant-numeric:tabular-nums}.regression-summary{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:12px}.regression-summary span{padding:7px 10px;border:1px solid var(--line);border-radius:9px;color:#475569;background:#f8fafc;font-size:11px;font-variant-numeric:tabular-nums}.table-container{overflow:auto;border:1px solid var(--line);border-radius:12px}.review-table,.comparison-table,.result-matrix{width:100%;border-collapse:separate;border-spacing:0;font-size:11px}.review-table th,.review-table td,.comparison-table th,.comparison-table td,.result-matrix th,.result-matrix td{height:38px;padding:7px 10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.review-table th,.comparison-table th,.result-matrix th{position:sticky;top:0;z-index:2;color:#475569;background:#f1f5f9;font-weight:800}.review-table th:first-child,.review-table td:first-child{text-align:center}.review-table input{width:15px;height:15px;accent-color:var(--primary)}.review-table tr.terminal-selected td{background:#edf5ff}.page-navigation{justify-content:flex-end;padding-top:14px}.results-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(480px,.9fr);gap:14px;margin-bottom:14px}.compact-select{width:auto;min-width:160px}.parameter-groups{display:grid;gap:12px;margin-top:12px}.parameter-section h3{margin-bottom:7px;color:#475569;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.parameter-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.parameter-card{min-width:0;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fbfdff}.parameter-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.parameter-card h4{margin:0;color:#334155;font-size:12px}.parameter-card strong{display:block;margin-top:5px;font-size:16px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.parameter-card p{margin:5px 0 0;color:var(--muted);font-size:10px;line-height:1.45}.parameter-card.missing strong{color:#94a3b8;font-size:12px}.parameter-card details{margin-top:7px;border-top:1px dashed var(--line)}.parameter-card summary{padding-top:6px;color:var(--primary);cursor:pointer;font-size:10px;font-weight:700}.comparison-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px}.comparison-summary{margin:11px 0;padding:11px;border:1px solid #bfdbfe;border-radius:11px;color:#1e3a8a;background:var(--primary-soft);font-size:11px;line-height:1.55}.comparison-table th:nth-child(2),.comparison-table td:nth-child(2){text-align:left}.rank-chip{display:inline-grid;place-items:center;min-width:25px;height:22px;padding:0 6px;border-radius:7px;color:var(--primary-dark);background:var(--primary-soft);font-weight:800}.eligibility{font-size:10px;font-weight:750}.eligibility.good{color:var(--green)}.eligibility.warn{color:var(--amber)}.eligibility.bad{color:var(--red)}.matrix-panel,.guide-panel{margin-top:14px}.matrix-wrap{max-height:460px}.result-matrix{width:max-content;min-width:100%}.result-matrix th,.result-matrix td{min-width:104px}.result-matrix th:first-child,.result-matrix td:first-child{position:sticky;left:0;z-index:3;min-width:110px;text-align:left;background:#fff;font-weight:800}.result-matrix thead th:first-child{z-index:5;background:#f1f5f9}.result-matrix td.warning-cell{color:var(--amber);background:#fffaf0}.result-matrix td.missing-cell{color:#94a3b8;background:#f8fafc}.parameter-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.guide-item{padding:12px;border:1px solid var(--line);border-radius:11px;background:#fbfdff}.guide-item header{display:flex;align-items:center;justify-content:space-between;gap:8px}.guide-item h3{margin:0;font-size:12px}.guide-item .category{padding:3px 6px;border-radius:6px;color:#475569;background:#eef2f7;font-size:9px;font-weight:750}.guide-item p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.55}.guide-item code{display:block;margin-top:7px;color:#1e40af;font-family:inherit;font-size:10px}.method-warning{margin-top:12px;padding:12px;border:1px solid #fed7aa;border-radius:12px;background:var(--amber-soft)}.method-warning strong{display:block;color:#9a3412;font-size:11px}.method-warning p{margin:4px 0 0;color:#7c2d12;font-size:10px;line-height:1.55}.app-footer{padding:12px;color:#64748b;text-align:center;font-size:10px}.toast{position:fixed;left:50%;bottom:22px;z-index:50;padding:9px 14px;border-radius:999px;color:#fff;background:rgba(15,23,42,.94);font-size:11px;opacity:0;pointer-events:none;transform:translate(-50%,8px);transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.startup-error{color:var(--red)!important;background:var(--red-soft)!important}.field small{color:var(--muted);font-size:9px;line-height:1.45}.field textarea{width:100%;padding:9px 10px;border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:#fff;font-size:11px;line-height:1.5;outline:none;resize:vertical}.field textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.standards-panel{margin-bottom:14px}.provenance-legend{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:8px 10px;margin-bottom:12px;padding:11px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--muted);font-size:10px}.provenance-tag{display:inline-flex;align-items:center;width:max-content;min-height:22px;padding:0 7px;border:1px solid var(--line);border-radius:6px;font-size:9px;font-weight:800;white-space:nowrap}.provenance-tag.is-regulatory{color:#1d4ed8;border-color:#bfdbfe;background:#eff6ff}.provenance-tag.is-practice{color:#0e7490;border-color:#a5f3fc;background:#ecfeff}.provenance-tag.is-software{color:#475569;border-color:#cbd5e1;background:#f1f5f9}.provenance-tag.is-tip{color:#b45309;border-color:#fed7aa;background:#fff7ed}.standards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.standard-card{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdff}.standard-card header,.protocol-header,.subsection-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.standard-card h3,.protocol-header h3,.subsection-heading h3{margin:0;font-size:12px}.standard-card p,.subsection-heading p{margin:7px 0 0;color:var(--muted);font-size:10px;line-height:1.6}.scope-warning{margin-top:10px;padding:11px 12px;border:1px solid #fed7aa;border-radius:12px;background:var(--amber-soft)}.scope-warning strong{color:#9a3412;font-size:11px}.scope-warning p{margin:4px 0 0;color:#7c2d12;font-size:10px;line-height:1.55}.input-checklist{padding:12px 18px;border-bottom:1px solid var(--line);background:#fbfdff}.checklist-placeholder{padding:10px;border:1px dashed var(--line-strong);border-radius:10px;color:var(--muted);font-size:10px;text-align:center}.audit-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;color:#334155;font-size:10px}.audit-summary span{color:var(--muted)}.audit-list,.diagnostic-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.audit-item,.diagnostic-item{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid var(--line);border-radius:10px;background:#fff}.audit-item i,.diagnostic-item i{display:grid;place-items:center;flex:0 0 18px;width:18px;height:18px;border-radius:50%;font-style:normal;font-size:10px;font-weight:900}.audit-item strong,.diagnostic-item strong{display:block;font-size:10px}.audit-item p,.diagnostic-item p{margin:2px 0 0;color:var(--muted);font-size:9px;line-height:1.4}.audit-item.good i,.diagnostic-item.good i{color:var(--green);background:var(--green-soft)}.audit-item.warn i,.diagnostic-item.warn i{color:var(--amber);background:var(--amber-soft)}.audit-item.bad i,.diagnostic-item.bad i{color:var(--red);background:var(--red-soft)}.audit-item.neutral i,.diagnostic-item.neutral i{color:#64748b;background:#eef2f7}.terminal-protocol{margin-bottom:14px;padding:13px;border:1px solid #bfdbfe;border-radius:13px;background:#f8fbff}.protocol-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:11px 0 0;padding:0;list-style:none;counter-reset:protocol}.protocol-steps li{position:relative;padding:11px 10px 10px 36px;border:1px solid #dbeafe;border-radius:10px;background:#fff;counter-increment:protocol}.protocol-steps li:before{content:counter(protocol);position:absolute;left:10px;top:10px;display:grid;place-items:center;width:18px;height:18px;border-radius:6px;color:#fff;background:var(--primary);font-size:9px;font-weight:800}.protocol-steps b{display:block;font-size:10px}.protocol-steps span{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.5}.cross-group-answer{margin-top:10px;padding:10px 11px;border-left:3px solid var(--cyan);border-radius:8px;background:#ecfeff}.cross-group-answer strong{color:#155e75;font-size:11px}.cross-group-answer p{margin:4px 0 0;color:#164e63;font-size:10px;line-height:1.6}.terminal-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.7fr);gap:12px;margin-bottom:12px}.candidate-section,.decision-panel{min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdff}.candidate-table,.window-audit-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:10px}.candidate-table th,.candidate-table td,.window-audit-table th,.window-audit-table td{height:36px;padding:6px 9px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.candidate-table th,.window-audit-table th{position:sticky;top:0;z-index:2;color:#475569;background:#f1f5f9;font-weight:800}.candidate-table th:first-child,.candidate-table td:first-child,.window-audit-table th:first-child,.window-audit-table td:first-child{text-align:left}.candidate-table tr.recommended td{background:#eff6ff}.candidate-table tr.selected td{box-shadow:inset 0 2px 0 #60a5fa,inset 0 -2px 0 #60a5fa}.candidate-table button{height:26px;padding:0 8px;border:1px solid #bfdbfe;border-radius:7px;color:var(--primary-dark);background:#fff;cursor:pointer;font-size:9px;font-weight:800}.decision-panel{display:grid;align-content:start;gap:10px}.visual-confirmation{display:flex;align-items:flex-start;gap:8px;padding:9px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#475569;font-size:10px;line-height:1.45}.visual-confirmation input{margin:1px 0 0;accent-color:var(--primary)}.decision-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.secondary-action.danger{color:var(--red);border-color:#fecdd3;background:var(--red-soft)}.terminal-checklist{margin:0 0 13px}.point-detail-heading{margin-bottom:9px}.window-audit-panel{margin-top:14px}.method-summary-panel{margin-bottom:14px}.method-summary{padding:13px;border:1px solid #bfdbfe;border-radius:12px;color:#1e3a8a;background:var(--primary-soft);font-size:11px;line-height:1.75;white-space:pre-line}.method-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:10px}.method-summary-item{padding:10px;border:1px solid rgba(147,197,253,.8);border-radius:9px;background:rgba(255,255,255,.72)}.method-summary-item span{display:block;color:#64748b;font-size:9px}.method-summary-item strong{display:block;margin-top:3px;color:#1e3a8a;font-size:11px}.source-disclosure{margin-top:12px;border:1px solid var(--line);border-radius:12px;background:#fbfdff}.source-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;cursor:pointer;color:#334155;font-size:11px;font-weight:800}.source-disclosure>summary small{color:var(--muted);font-size:9px;font-weight:600}.source-notice{margin:0 12px;padding:10px;border:1px solid #fed7aa;border-radius:9px;color:#7c2d12;background:var(--amber-soft);font-size:10px;line-height:1.5}.source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px}.source-item{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--line);border-radius:10px;background:#fff}.source-item h3{margin:0;font-size:11px}.source-item p{margin:4px 0;color:var(--muted);font-size:9px;line-height:1.5}.source-item a{color:var(--primary);font-size:9px;font-weight:750;text-decoration:none}.source-item a:hover{text-decoration:underline}@media(max-width:1180px){.analysis-workspace{grid-template-columns:1fr}.profile-rail{position:static;max-height:none;overflow:visible}.profile-rail-list{display:flex;overflow:auto;padding-bottom:3px}.profile-rail-group{display:flex;align-items:center;flex:0 0 auto}.profile-rail-group>strong{white-space:nowrap}.profile-rail-item{flex:0 0 auto;width:auto;min-width:130px}.input-dashboard,.review-grid,.results-top-grid,.terminal-layout{grid-template-columns:1fr}.group-card-list{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.parameter-guide,.standards-grid,.method-summary-grid{grid-template-columns:repeat(2,1fr)}.protocol-steps{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.app-shell{width:min(100% - 12px,1760px);padding-top:10px}.app-header{align-items:flex-start;flex-direction:column}.header-metrics{width:100%;grid-template-columns:repeat(3,1fr)}.workflow-nav{align-items:flex-start;flex-direction:column}.workflow-steps{width:100%;overflow:auto}.workflow-state{width:100%;justify-content:space-between}.workflow-page{padding:8px}.panel{padding:14px}.settings-grid,.comparison-controls,.parameter-card-grid,.parameter-guide,.standards-grid,.method-summary-grid,.protocol-steps,.audit-list,.diagnostic-list,.source-list{grid-template-columns:1fr}.provenance-legend{grid-template-columns:auto 1fr}.group-card-main{grid-template-columns:minmax(0,1fr) 92px auto}.dose-grid{grid-template-columns:1fr}.content-disclosure>summary{align-items:flex-start;flex-wrap:wrap}.content-disclosure>summary small{order:3;width:100%;margin-left:0}.sheet-heading,.panel-heading{align-items:flex-start}.sheet-heading{flex-direction:column}.sheet-actions{width:100%}.sheet-actions button{flex:1}.review-toolbar{align-items:stretch;flex-direction:column}.review-toolbar .field{min-width:0}.chart-frame{height:320px}.decision-actions,.page-navigation{display:grid;grid-template-columns:1fr}.page-navigation button{width:100%}.source-disclosure>summary{align-items:flex-start;flex-direction:column}}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.group-card-main{grid-template-columns:minmax(120px,1fr) minmax(86px,.42fr) auto}.content-disclosure{border:1px solid var(--line);border-radius:12px;background:#fbfdff}.content-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:10px 12px;color:#334155;cursor:pointer;font-size:11px;font-weight:800;list-style:none}.content-disclosure>summary::-webkit-details-marker{display:none}.content-disclosure>summary:after{content:"＋";display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:7px;color:var(--primary);background:var(--primary-soft);font-size:14px}.content-disclosure[open]>summary:after{content:"−"}.content-disclosure>summary small{margin-left:auto;color:var(--muted);font-size:9px;font-weight:600}.content-disclosure-body{padding:0 12px 12px}.standards-disclosure{margin-bottom:10px}.content-disclosure .provenance-legend{margin-top:0}.terminal-protocol.content-disclosure{padding:0}.terminal-protocol .content-disclosure-body{padding:0 13px 13px}.method-summary-panel .content-disclosure,.guide-panel>.content-disclosure{margin-top:2px}.method-summary-panel .method-summary{margin:0}.toast{max-width:calc(100vw - 24px);white-space:normal;text-align:center}.storage-status{max-width:230px;padding:6px 9px;border-radius:999px;color:#64748b;background:#f1f5f9;font-size:10px;font-weight:700}.storage-status.pending,.storage-status.restoring{color:#1d4ed8;background:#eff6ff}.storage-status.saved{color:#15803d;background:#ecfdf3}.storage-status.error{color:#b42318;background:#fff1f2}select.custom-select-native{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important;white-space:nowrap!important}.custom-select-trigger{position:relative;width:100%;height:38px;padding:0 34px 0 10px;border:1px solid var(--line-strong);border-radius:10px;color:var(--ink);background:#fff;text-align:left;outline:none;cursor:pointer;font-size:12px;line-height:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-trigger:after{content:"";position:absolute;right:12px;top:50%;width:7px;height:7px;border-right:1.5px solid #64748b;border-bottom:1.5px solid #64748b;transform:translateY(-70%) rotate(45deg);transition:transform .15s ease}.custom-select-trigger:hover{border-color:#aebdd1}.custom-select-trigger:focus,.custom-select-trigger.is-open{border-color:#93c5fd;box-shadow:0 0 0 3px rgba(37,99,235,.1)}.custom-select-trigger.is-open:after{transform:translateY(-25%) rotate(225deg)}.custom-select-trigger:disabled{color:#94a3b8;background:#f1f5f9;cursor:not-allowed;opacity:.72}.compact-select-trigger{width:auto;min-width:160px}.custom-select-listbox{position:fixed;z-index:1000;padding:5px;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line-strong);border-radius:11px;background:#fff;box-shadow:0 18px 42px -18px rgba(15,23,42,.45);scrollbar-color:#cbd5e1 #f8fafc;scrollbar-width:thin}.custom-select-option{min-height:32px;padding:8px 28px 8px 9px;border-radius:7px;color:#334155;cursor:pointer;font-size:12px;line-height:16px;overflow-wrap:anywhere}.custom-select-option.is-active{color:#1e40af;background:var(--primary-soft)}.custom-select-option.is-selected{position:relative;color:var(--primary-dark);font-weight:750}.custom-select-option.is-selected:after{content:"✓";position:absolute;right:9px;top:8px;color:var(--primary);font-weight:900}.custom-select-option.is-disabled{color:#94a3b8;background:transparent;cursor:not-allowed;opacity:.68}input[type=number]{-moz-appearance:textfield;appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.spreadsheet .sheet-cell input[type=number]{text-align:center}.review-table td,.candidate-table td,.window-audit-table td,.comparison-table td,.result-matrix td{text-align:center}.comparison-table th:nth-child(2),.comparison-table td:nth-child(2),.result-matrix th:first-child,.result-matrix td:first-child{text-align:left}.spreadsheet .row-index{z-index:9}.spreadsheet .sheet-time-cell{z-index:8}.spreadsheet .sheet-cell.active:not(.sheet-time-cell){z-index:5}.spreadsheet .sheet-time-cell.active{z-index:10}.toast{bottom:max(22px,calc(env(safe-area-inset-bottom,0px)+12px));z-index:100}@media(max-width:760px){.group-card-main{grid-template-columns:minmax(0,1fr) 92px auto}.content-disclosure>summary{align-items:flex-start;flex-wrap:wrap}.content-disclosure>summary small{order:3;width:100%;margin-left:0}.compact-select-trigger{width:100%;min-width:0}.custom-select-listbox{max-width:calc(100vw - 16px)}}