.sr-page{min-height:100vh;background:#f8f9fb}.sr-pagehead{text-align:center;padding:8px 0 24px}.sr-pagehead h1{font-size:1.9rem;font-weight:700;color:#111827;margin:0 0 10px;line-height:1.3}.sr-pagehead-sub{font-size:1rem;color:#6b7280;margin:0 auto 16px;max-width:640px;line-height:1.6}.sr-pagehead-badges{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}.sr-badge{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:4px 14px;font-size:.83rem;color:#374151}.sr-section{max-width:1280px;margin:16px auto 0;padding:0 16px 48px;position:relative;z-index:1}.sr-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.sr-main{min-width:0}.sr-side{min-width:0;display:flex;flex-direction:column;gap:20px;position:sticky;top:132px}.sr-side .sr-card,.sr-side-card .sr-subsection{margin-bottom:0}@media (max-width: 960px){.sr-layout{grid-template-columns:1fr}.sr-side{position:static}}.sr-card{background:#fff;border-radius:12px;box-shadow:0 2px 12px #0000000f;padding:28px;margin-bottom:24px}.sr-card-title{font-size:1.1rem;font-weight:600;margin:0 0 16px;color:#1a1a2e}.sr-textarea{width:100%;min-height:240px;border:1px solid #d9dde4;border-radius:8px;padding:14px;font-size:.95rem;line-height:1.6;resize:vertical;font-family:inherit;transition:border-color .2s;box-sizing:border-box}.sr-textarea:focus{outline:none;border-color:#c41e3a;box-shadow:0 0 0 3px #c41e3a14}.sr-textarea::-moz-placeholder{color:#9ca3af}.sr-textarea::placeholder{color:#9ca3af}.sr-actions{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}.sr-btn-primary{display:inline-flex;align-items:center;gap:6px;background:#c41e3a;color:#fff;border:none;border-radius:8px;padding:12px 26px;font-size:1rem;font-weight:700;cursor:pointer;transition:background .2s;margin-left:auto}.sr-btn-primary:hover:not(:disabled){background:#a81830}.sr-btn-primary:disabled{opacity:.6;cursor:not-allowed}.sr-btn-secondary{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;white-space:nowrap;background:#f3f4f6;color:#374151;border:1px solid #d9dde4;border-radius:8px;padding:8px 16px;font-size:.9rem;cursor:pointer;transition:background .2s}.sr-btn-secondary:hover{background:#e5e7eb}.sr-cost-hint{font-size:.85rem;color:#6b7280;margin-left:auto}.sr-file-input{display:none}.sr-loading{display:flex;flex-direction:column;align-items:center;padding:48px 24px;gap:16px}.sr-spinner{width:40px;height:40px;border:3px solid #e5e7eb;border-top-color:#c41e3a;border-radius:50%;animation:sr-spin .8s linear infinite}@keyframes sr-spin{to{transform:rotate(360deg)}}.sr-loading-text{font-size:.95rem;color:#6b7280}.sr-gen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#ffffffd9;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.sr-result-header{display:flex;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}.sr-score-badge{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;font-size:1.5rem;font-weight:700;color:#fff;flex-shrink:0}.sr-score-pass{background:linear-gradient(135deg,#10b981,#059669)}.sr-score-partial{background:linear-gradient(135deg,#f59e0b,#d97706)}.sr-score-fail{background:linear-gradient(135deg,#ef4444,#dc2626)}.sr-verdict{flex:1;min-width:200px}.sr-verdict-label{font-size:.8rem;color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.sr-verdict-text{font-size:1.1rem;font-weight:600;color:#1a1a2e}.sr-subsection{margin-bottom:24px}.sr-subsection:last-child{margin-bottom:0}.sr-subsection-title{font-size:.95rem;font-weight:600;color:#374151;margin:0 0 12px;display:flex;align-items:center;gap:6px}.sr-check-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.sr-check-item{display:flex;align-items:flex-start;gap:10px;padding:10px 14px;background:#f9fafb;border-radius:8px;font-size:.9rem;line-height:1.5}.sr-check-icon{flex-shrink:0;font-size:1rem;line-height:1}.sr-check-content{flex:1}.sr-check-name{font-weight:500;color:#1f2937}.sr-check-detail{color:#6b7280;margin-top:2px}.sr-check-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sr-check-score{display:inline-flex;align-items:center;justify-content:center;min-width:26px;padding:1px 7px;border-radius:10px;font-size:.78rem;font-weight:600;color:#fff;line-height:1.6}.sr-sev{display:inline-block;padding:1px 8px;border-radius:10px;font-size:.72rem;font-weight:600;line-height:1.6;border:1px solid transparent}.sr-sev-critical{background:#fee2e2;color:#b91c1c;border-color:#fecaca}.sr-sev-major{background:#fef3c7;color:#b45309;border-color:#fde68a}.sr-sev-minor{background:#e0f2fe;color:#0369a1;border-color:#bae6fd}.sr-sev-info{background:#dcfce7;color:#15803d;border-color:#bbf7d0}.sr-sev-unknown{background:#f3f4f6;color:#6b7280;border-color:#e5e7eb}.sr-check-evidence{margin-top:6px;padding-left:8px;border-left:2px solid #e5e7eb;font-size:.82rem;color:#6b7280;line-height:1.5}.sr-gap-list,.sr-question-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.sr-gap-list li,.sr-question-list li{display:flex;align-items:flex-start;gap:8px;padding:8px 12px;background:#fef3c7;border-radius:6px;font-size:.9rem;line-height:1.5;color:#92400e}.sr-question-list li{background:#eff6ff;color:#1e40af}.sr-return-comment{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:8px;padding:16px;margin-top:8px}.sr-return-comment p{margin:0;font-size:.9rem;line-height:1.7;color:#166534;white-space:pre-wrap}.sr-btn-copy{display:inline-flex;align-items:center;gap:4px;background:#16a34a;color:#fff;border:none;border-radius:6px;padding:6px 14px;font-size:.85rem;cursor:pointer;margin-top:12px;transition:background .2s}.sr-btn-copy:hover{background:#15803d}.sr-btn-copy.copied{background:#6b7280}.sr-history-meta{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.sr-history-date{font-size:.8rem;color:#9ca3af}.sr-history-title{font-size:.9rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sr-history-score{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-size:.9rem;font-weight:600;color:#fff;flex-shrink:0}.sr-empty-history{text-align:center;padding:24px;color:#9ca3af;font-size:.9rem}.sr-login-prompt{text-align:center;padding:32px 24px;color:#6b7280;font-size:.95rem}.sr-login-prompt button{color:#c41e3a;background:none;border:none;font-weight:600;cursor:pointer;text-decoration:underline;font-size:inherit}.sr-patterns-card{background:transparent;border:none;box-shadow:none;padding:8px 0 0}.sr-patterns-card .sr-card-title{text-align:center}.sr-patterns-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.sr-pattern-item{display:flex;align-items:flex-start;gap:10px;padding:14px;background:#fff;border-radius:10px;border:1px solid #f3f4f6;box-shadow:0 1px 4px #0000000a}.sr-pattern-icon{font-size:1.2rem;flex-shrink:0;line-height:1;margin-top:2px}.sr-pattern-title{font-size:.9rem;font-weight:600;color:#1a1a2e;margin-bottom:2px}.sr-pattern-desc{font-size:.82rem;color:#6b7280;line-height:1.5}@media (max-width: 960px){.sr-patterns-grid{grid-template-columns:1fr 1fr}}@media (max-width: 640px){.sr-pagehead h1{font-size:1.45rem}.sr-pagehead-sub{font-size:.9rem}.sr-actions .sr-btn-primary{margin-left:0}.sr-card{padding:20px}.sr-actions{flex-direction:column;align-items:stretch}.sr-cost-hint{margin-left:0;text-align:center}.sr-result-header{flex-direction:column;align-items:flex-start}.sr-patterns-grid{grid-template-columns:1fr}}.sr-input-collapsed{display:flex;align-items:center;justify-content:space-between;gap:16px}.sr-input-collapsed-info{display:flex;flex-direction:column;gap:4px;min-width:0}.sr-input-collapsed-label{font-weight:600;font-size:.95rem;color:var(--text-primary, #111827)}.sr-input-collapsed-preview{font-size:.85rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-check-body{padding:0 14px 12px 40px}.sr-fix-btn{margin-top:10px;padding:8px 14px;border:1px solid #fca5a5;border-radius:8px;background:#fff;color:#b91c1c;font-weight:600;font-size:.85rem;cursor:pointer}.sr-fix-btn:hover:not(:disabled){background:#fef2f2}.sr-fix-btn:disabled{opacity:.6;cursor:wait}.sr-fix-result{margin-top:12px;border:1px solid #bbf7d0;background:#f0fdf4;border-radius:8px;padding:12px 14px}.sr-fix-result-all{margin:16px 0}.sr-fix-result-head{font-weight:600;font-size:.9rem;color:#15803d;margin-bottom:8px}.sr-fix-result-text{white-space:pre-wrap;word-break:break-word;font-family:inherit;font-size:.88rem;color:#1f2937;margin:0;max-height:360px;overflow-y:auto}.sr-fix-result-notes{margin-top:8px;font-size:.82rem;color:#6b7280}.sr-fix-result .sr-btn-copy{margin-top:10px}.sr-fix-note{margin:12px 0 0;font-size:.82rem;color:#9ca3af}.sr-gen-report-cta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc}.sr-gen-report-btn{display:inline-flex;align-items:center;gap:6px;background:#fff;color:#1f2937;border:1px solid #cbd5e1;border-radius:8px;padding:8px 14px;font-size:.9rem;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s}.sr-gen-report-btn:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.sr-gen-report-btn:disabled{opacity:.6;cursor:not-allowed}.sr-gen-report-hint{font-size:.82rem;color:#6b7280}.sr-fixall-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:none;border-radius:8px;background:#dc2626;color:#fff;font-weight:700;font-size:.85rem;cursor:pointer;white-space:nowrap}.sr-fixall-btn:hover:not(:disabled){background:#b91c1c}.sr-fixall-btn:disabled{opacity:.6;cursor:wait}.sr-history-btn,.sr-rereview-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-weight:600;font-size:.85rem;cursor:pointer;white-space:nowrap}.sr-history-btn:hover:not(:disabled),.sr-rereview-btn:hover:not(:disabled){background:#f3f4f6}.sr-rereview-btn:disabled{opacity:.6;cursor:wait}.sr-genreport-btn{display:inline-flex;align-items:center;gap:6px;padding:7px 16px;border:none;border-radius:8px;background:var(--ed-brand, #dc2626);color:#fff;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s;white-space:nowrap}.sr-genreport-btn:hover:not(:disabled){background:var(--ed-brand-hover, #b91c1c)}.sr-genreport-btn:disabled{opacity:.6;cursor:wait}.sr-export-wrap{position:relative;display:inline-flex}.sr-export-menu{position:absolute;top:calc(100% + 4px);right:0;z-index:50;min-width:180px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 4px 16px #0000001f;padding:4px 0;display:flex;flex-direction:column}.sr-export-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:8px 14px;border:none;background:transparent;color:#1f2937;font-size:13px;font-weight:500;cursor:pointer;text-align:left;white-space:nowrap;transition:background .12s}.sr-export-menu button:hover:not(:disabled){background:#f3f4f6}.sr-export-menu button:disabled{opacity:.5;cursor:not-allowed}.sr-history-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:90;background:#11182780;display:flex;align-items:flex-start;justify-content:center;padding:80px 16px 32px}.sr-history-modal-card{width:100%;max-width:560px;max-height:70vh;overflow-y:auto;background:#fff;border-radius:12px;padding:20px;box-shadow:0 12px 40px #0003}.sr-history-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.sr-history-modal-head h3{margin:0;font-size:1rem;color:#1a1a2e}.sr-history-modal-head button{background:none;border:none;font-size:1.3rem;line-height:1;color:#6b7280;cursor:pointer;padding:4px}.sr-history-modal-list{display:flex;flex-direction:column}.sr-history-modal-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 8px;background:none;border:none;border-bottom:1px solid #f3f4f6;cursor:pointer;text-align:left;font:inherit}.sr-history-modal-item:last-child{border-bottom:none}.sr-history-modal-item:hover:not(:disabled){background:#f9fafb}.sr-history-modal-item:disabled{opacity:.5;cursor:not-allowed}.sr-history-state{flex-shrink:0;font-size:.75rem;font-weight:600;padding:2px 10px;border-radius:999px}.sr-history-state.pending{background:#fef3c7;color:#b45309}.sr-history-state.is-fixed{background:#dcfce7;color:#15803d}.sr-history-state.is-generate{background:#ede9fe;color:#6d28d9}.sr-history-state.is-opening{background:#e2e8f0;color:#475569}@media (max-width: 640px){.sr-input-collapsed{flex-direction:column;align-items:stretch}.sr-history-modal{padding:64px 12px 24px}}.sr-section-result{margin-top:16px;padding-bottom:48px}.sr-header-score{font-size:.9rem;font-weight:600;color:#374151;white-space:nowrap}.sr-fixall-cta{display:inline-flex;align-items:center;gap:6px;padding:10px 20px;border:none;border-radius:8px;background:#dc2626;color:#fff;font-weight:700;font-size:.92rem;cursor:pointer;box-shadow:0 2px 8px #dc26264d}.sr-fixall-wrap{display:inline-flex;align-items:center;gap:8px}.sr-fixall-est{font-size:12px;color:#94a3b8;white-space:nowrap}.sr-fixall-cta:hover:not(:disabled){background:#b91c1c}.sr-fixall-cta:disabled{opacity:.6;cursor:wait}.sr-defect-title{color:#b91c1c}.sr-subsection-gap{margin-top:20px}.sr-check-evidence-details{margin-top:6px}.sr-check-evidence-details summary{cursor:pointer;font-size:.8rem;color:#9ca3af;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sr-check-evidence-details[open] summary{margin-bottom:4px}.sr-check-evidence-details .sr-check-evidence{margin-top:0}.sr-return-details{border:1px solid #e5e7eb;border-radius:8px;padding:10px 14px}.sr-return-summary{cursor:pointer;font-weight:600;font-size:.9rem;color:#15803d;-webkit-user-select:none;-moz-user-select:none;user-select:none;list-style:none}.sr-return-summary::-webkit-details-marker{display:none}.sr-return-summary:before{content:"▸ ";color:#9ca3af}.sr-return-details[open] .sr-return-summary:before{content:"▾ "}.sr-return-details .sr-return-comment{margin-top:10px}@media (max-width: 640px){.sr-header-score{white-space:normal}.sr-side .sr-fixall-cta{width:100%;justify-content:center}}.sr-check-item.sr-check-card{display:block;background:#fff;border:1px solid #e5e7eb;border-radius:10px;padding:12px 16px;scroll-margin-top:12px}.sr-check-item.sr-check-card.sr-check-bad{border-color:#fecaca;background:snow}.sr-check-card .sr-check-head{padding-bottom:8px;border-bottom:1px dashed #f3f4f6}.sr-check-card .sr-check-name{font-weight:600}.sr-check-card .sr-sev{margin-left:auto}.sr-check-detail-label{display:inline-block;font-size:.78rem;font-weight:600;color:#b91c1c;margin-right:6px}.sr-check-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:10px}.sr-fix-cost-est{font-size:12px;color:#94a3b8;white-space:nowrap}.sr-nav-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:2px}.sr-nav-item{display:flex;align-items:center;gap:8px;width:100%;padding:6px 10px;background:none;border:none;border-radius:6px;font:inherit;font-size:.85rem;color:#374151;cursor:pointer;text-align:left}.sr-nav-item:hover{background:#f9fafb}.sr-nav-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%;background:#d1d5db}.sr-nav-critical .sr-nav-dot{background:#dc2626}.sr-nav-major .sr-nav-dot{background:#f59e0b}.sr-nav-minor .sr-nav-dot{background:#38bdf8}.sr-nav-info .sr-nav-dot{background:#22c55e}.sr-nav-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-nav-score{flex-shrink:0;font-size:.75rem;font-weight:600;color:#6b7280}.sr-nav-score.sr-score-pass{color:#16a34a}.sr-nav-score.sr-score-partial{color:#d97706}.sr-nav-score.sr-score-fail{color:#dc2626}.sr-filter-chips{display:flex;flex-wrap:wrap;gap:8px}.sr-filter-chip{padding:5px 12px;border:1px solid #e5e7eb;border-radius:999px;background:#fff;font-size:.8rem;color:#4b5563;cursor:pointer}.sr-filter-chip:hover{border-color:#d1d5db;background:#f9fafb}.sr-filter-chip.active{border-color:#dc2626;background:#fef2f2;color:#b91c1c;font-weight:600}.sr-side .sr-settle-card{position:sticky;bottom:16px;box-shadow:0 -4px 20px #11182714}.sr-settle-score-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.sr-settle-verdict{font-size:.85rem;font-weight:600;color:#374151;line-height:1.4}.sr-settle-info{font-size:.82rem;color:#6b7280;margin-bottom:10px}.sr-settle-done{color:#15803d;margin-bottom:0}.sr-side .sr-settle-cta{width:100%;justify-content:center}.sr-fix-preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;background:#00000073;padding:24px}.sr-fix-preview-card{background:#fff;border-radius:12px;width:100%;max-width:640px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 8px 32px #0000002e}.sr-fix-preview-head{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.sr-fix-preview-head h3{margin:0;font-size:1rem;font-weight:600;color:#111827}.sr-fix-preview-label{flex:1;font-size:.82rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sr-fix-preview-close{background:none;border:none;font-size:1.25rem;color:#9ca3af;cursor:pointer;padding:0 4px;line-height:1}.sr-fix-preview-close:hover{color:#374151}.sr-fix-preview-hint{margin:0;padding:12px 20px 0;font-size:.82rem;color:#6b7280;line-height:1.5}.sr-fix-preview-textarea{margin:12px 20px 0;flex:1;min-height:200px;resize:vertical;border:1px solid #d1d5db;border-radius:8px;padding:12px;font-size:.875rem;line-height:1.6;color:#1f2937;font-family:inherit}.sr-fix-preview-textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 2px #dc26261f}.sr-fix-preview-notes{margin:10px 20px 0;padding:8px 12px;background:#f9fafb;border-radius:6px;font-size:.8rem;color:#6b7280;line-height:1.5}.sr-fix-preview-notes strong{color:#374151}.sr-fix-preview-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e5e7eb;flex-shrink:0}
