:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}html,body,#root{margin:0;padding:0;width:100%;height:100%;overflow-x:hidden;background:#f5f7fa}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.onboarding-kbd{background:#eee;border:1px solid #ccc;border-radius:3px;padding:2px 6px;font-family:monospace;font-size:12px;box-shadow:0 1px #999}.onboarding-welcome{text-align:left;max-width:500px}.onboarding-welcome-title{margin-top:0;margin-bottom:16px}.onboarding-structure-box{background:#f5f5f5;padding:12px;border-radius:8px;margin-bottom:16px;font-size:13px}.onboarding-structure-label{margin-bottom:8px;font-weight:700}.onboarding-layout-diagram{border:2px solid #1976d2;border-radius:8px;overflow:hidden}.onboarding-layout-top{background:#1976d2;color:#fff;padding:6px 10px;font-size:12px;text-align:center}.onboarding-layout-panels{display:flex}.onboarding-layout-panel-left{flex:1;padding:10px;border-right:1px solid #ddd;text-align:center}.onboarding-layout-panel-right{flex:1;padding:10px;text-align:center}.onboarding-panel-title{font-weight:700}.onboarding-panel-subtitle{font-size:11px;color:#666}.onboarding-panel-shortcut{font-size:11px;color:#1976d2;margin-top:4px}.onboarding-shortcuts-box{background:#e3f2fd;padding:12px;border-radius:8px;font-size:14px}.onboarding-shortcuts-label{font-weight:700;margin-bottom:8px}.onboarding-shortcuts-grid{display:grid;grid-template-columns:80px 1fr;gap:4px 12px}.onboarding-step-title{margin-top:0}.onboarding-tip-box{background:#fff3e0;padding:8px;border-radius:4px;font-size:13px}.onboarding-tree-list{padding-left:20px;margin:8px 0}.onboarding-tree-ai{color:#1976d2}.onboarding-tree-selected{color:#388e3c}.onboarding-review-hint{font-size:13px;color:#666}.onboarding-nav-box{background:#e8f5e9;padding:8px;border-radius:4px;font-size:13px;margin-top:8px}.onboarding-center{text-align:center}.onboarding-center-title{margin-top:0}.onboarding-center-hint{font-size:13px;color:#666}.onboarding-home-welcome{text-align:center;max-width:400px}.onboarding-home-welcome-title{margin-top:0;margin-bottom:16px}.onboarding-home-welcome-desc{margin-bottom:16px;color:#555}.onboarding-home-flow-box{background:#e3f2fd;padding:12px;border-radius:8px;font-size:14px;text-align:left}.onboarding-home-flow-label{font-weight:700;margin-bottom:8px}.onboarding-home-flow-list{margin:0;padding-left:20px}.onboarding-home-hint{font-size:13px;color:#666}.onboarding-home-list{padding-left:20px;margin:8px 0;font-size:14px}.school-filter{margin-bottom:1.5rem}.school-filter-pills{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center}.school-pill{padding:.6rem 1.2rem;border:2px solid #e2e8f0;border-radius:24px;background:#fff;font-size:.9rem;color:#475569;cursor:pointer;transition:all .2s;font-weight:500}.school-pill:hover{border-color:#93c5fd;background:#eff6ff;color:#2563eb}.school-pill-active{border-color:#2563eb;background:#2563eb;color:#fff;font-weight:600}.school-pill-active:hover{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.school-filter-compact{margin-bottom:0;padding:.75rem 2rem;background:#fff;border-bottom:1px solid #e2e8f0}.school-filter-compact .school-pill{padding:.4rem .9rem;font-size:.8rem}@media(max-width:768px){.school-filter-pills{gap:.4rem}.school-pill{padding:.5rem .9rem;font-size:.8rem}.school-filter-compact{padding:.5rem 1rem}.school-filter-compact .school-pill{padding:.3rem .7rem;font-size:.75rem}}.skeleton-container{padding:16px}.skeleton-card{background:#f0f0f0;border-radius:8px;padding:16px;margin-bottom:12px}.skeleton-line{background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0,#e0e0e0 75%);background-size:200% 100%;animation:skeleton-pulse 1.5s ease-in-out infinite;border-radius:4px;height:16px;margin-bottom:8px}.skeleton-title{width:60%;height:20px}.skeleton-text{width:100%}.skeleton-text.short{width:40%}.skeleton-row{display:flex;gap:12px;margin-bottom:8px}.skeleton-cell{background:linear-gradient(90deg,#e0e0e0 25%,#f0f0f0,#e0e0e0 75%);background-size:200% 100%;animation:skeleton-pulse 1.5s ease-in-out infinite;border-radius:4px;height:20px;flex:1}.skeleton-cell.wide{flex:3}@keyframes skeleton-pulse{0%{background-position:200% 0}to{background-position:-200% 0}}.home-page{min-height:100vh;display:flex;flex-direction:column}.home-header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:2rem;text-align:center}.home-header h1{font-size:2rem;font-weight:700}.home-main{flex:1;max-width:1000px;margin:0 auto;padding:2rem;width:100%}.reviewer-section{background:#fff;border-radius:12px;padding:1.5rem 2rem;box-shadow:0 2px 10px #0000000f;margin-bottom:1.5rem;display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.reviewer-section label{font-size:.95rem;color:#475569;font-weight:600}.reviewer-input{padding:.6rem 1rem;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;min-width:200px;transition:border-color .2s,box-shadow .2s}.reviewer-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.reviewer-input::placeholder{color:#94a3b8}.reviewer-status{font-size:.9rem;color:#16a34a;font-weight:500;display:flex;align-items:center;gap:.25rem}.reviewer-input.input-error{border-color:#ef4444;background-color:#fef2f2}.reviewer-input.input-error:focus{border-color:#ef4444;box-shadow:0 0 0 3px #ef444433}.reviewer-input.input-valid{border-color:#22c55e;background-color:#f0fdf4}.reviewer-input.input-valid:focus{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e33}.error-message{font-size:.85rem;color:#ef4444;font-weight:500;display:flex;align-items:center;gap:.25rem}.stats-overview{text-align:center;margin-bottom:2rem;transition:opacity .2s}.stats-overview.stats-refreshing{opacity:.6}.refresh-indicator{display:inline-block;width:14px;height:14px;border:2px solid #cbd5e1;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite;margin-left:8px;vertical-align:middle}.subject-card-refreshing{opacity:.7;pointer-events:none}.stats-overview h2{font-size:1.1rem;color:#64748b;margin-bottom:1rem}.stats-summary{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.stats-summary .stat{background:#f1f5f9;padding:.5rem 1rem;border-radius:20px;font-size:.95rem;color:#1e293b}.stats-summary .stat-success{background:#dcfce7;color:#16a34a}.stats-summary .stat-warning{background:#fef3c7;color:#d97706}.stats-summary .stat-percent{background:transparent;font-weight:600;color:#2563eb}.stats-summary .stat-ai{background:#dbeafe;color:#1d4ed8}.stats-summary .stat-ai-pending{background:#fef3c7;color:#d97706}.subject-selection{background:#fff;border-radius:16px;padding:2rem;box-shadow:0 4px 20px #00000014;margin-bottom:1.5rem}.subject-selection h2{text-align:center;font-size:1.2rem;color:#1e293b;margin-bottom:1.5rem}.subject-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem}.subject-card{display:flex;flex-direction:column;align-items:center;gap:.75rem;padding:2rem 1.5rem;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border:2px solid #e2e8f0;border-radius:16px;cursor:pointer;transition:all .3s}.subject-card:hover:not(:disabled){transform:translateY(-4px);border-color:#2563eb;box-shadow:0 8px 25px #2563eb26}.subject-card:disabled{opacity:.5;cursor:not-allowed}.subject-icon{font-size:3rem}.subject-name{font-size:1.25rem;font-weight:600;color:#1e293b}.subject-stats{font-size:1.5rem;font-weight:700;color:#2563eb}.subject-label{font-size:.8rem;color:#94a3b8}.subject-ai-pending{font-size:.75rem;background:#fef3c7;color:#d97706;padding:.25rem .5rem;border-radius:12px;margin-top:.25rem}.bottom-buttons{display:flex;gap:1rem;justify-content:center}.stats-button,.download-button{padding:1rem 2rem;background:#f1f5f9;border:2px dashed #cbd5e1;border-radius:12px;font-size:1rem;color:#64748b;cursor:pointer;transition:all .2s}.stats-button:hover,.download-button:hover{background:#e2e8f0;border-color:#94a3b8;color:#475569}.download-button{border-color:#93c5fd;background:#eff6ff;color:#2563eb}.download-button:hover{background:#dbeafe;border-color:#60a5fa}.school-selection{margin-bottom:1.5rem}.school-selection h2{text-align:center;font-size:1.1rem;color:#64748b;margin-bottom:1rem}@media(max-width:768px){.home-header h1{font-size:1.4rem}.home-main{padding:1rem}.reviewer-section{flex-direction:column;align-items:stretch;padding:1rem}.reviewer-input{min-width:unset;width:100%}.subject-cards{grid-template-columns:1fr}.stats-summary{flex-direction:column;align-items:center}.bottom-buttons{flex-direction:column}.stats-button,.download-button{width:100%;text-align:center}}.problem-selector{background:#fff;padding:.5rem 1rem;display:flex;align-items:center;gap:1rem;border-bottom:1px solid #e2e8f0}.problem-selector select{flex:1;max-width:500px;padding:.75rem 1rem;border:2px solid #e2e8f0;border-radius:10px;font-size:1rem;background:#fff;cursor:pointer}.problem-selector select:focus{outline:none;border-color:#2563eb}.nav-buttons{display:flex;gap:.5rem}.nav-buttons button{padding:.75rem 1.25rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;font-size:.9rem;transition:all .2s}.nav-buttons button:hover:not(:disabled){background:#e2e8f0}.nav-buttons button:disabled{opacity:.4;cursor:not-allowed}.btn-toggle-original{padding:.75rem 1.25rem;background:#dbeafe;border:1px solid #93c5fd;border-radius:8px;cursor:pointer;font-size:.85rem;font-weight:500;color:#1d4ed8;transition:all .2s}.btn-toggle-original:hover{background:#bfdbfe}.btn-toggle-original.active{background:#1d4ed8;color:#fff;border-color:#1d4ed8}@media(max-width:768px){.problem-selector{flex-direction:column;align-items:stretch;padding:.5rem .75rem;gap:.5rem}.problem-selector select{max-width:100%;padding:.6rem .75rem;font-size:.9rem}.nav-buttons{justify-content:center}.nav-buttons button{flex:1;padding:.6rem 1rem;text-align:center}}.pdf-split-panel{display:flex;flex-direction:row;min-width:0}.pdf-half{flex:1;display:flex;flex-direction:column;min-width:0;overflow:hidden}.pdf-half-label{padding:6px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0;font-size:.8rem;font-weight:600;color:#475569;text-align:center;flex-shrink:0}.pdf-half-viewer{flex:1;background:#1e293b;overflow:hidden;position:relative}.pdf-half.html-mode .pdf-half-viewer{background:#fff}.pdf-half-viewer iframe{border:none;position:absolute;top:0;left:0;width:100%;height:100%}.pdf-half-viewer iframe.active{display:block;z-index:1}.pdf-split-divider{width:2px;background:#e2e8f0;flex-shrink:0}.pdf-preload{position:absolute;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none}.pdf-preload iframe{width:1px;height:1px;border:none}.pdf-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:#f8fafc;color:#64748b;text-align:center;padding:2rem}.pdf-placeholder p{margin:.5rem 0}@media(max-width:768px){.pdf-split-panel{flex-direction:column}.pdf-half{height:50%}.pdf-split-divider{width:100%;height:2px}.pdf-half-label{padding:4px 8px;font-size:.75rem}}.curriculum-list{max-height:400px;overflow-y:auto}.course-group{border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.75rem;overflow:hidden}.course-header{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;background:#f8fafc;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s}.course-header:hover{background:#f1f5f9}.expand-icon{font-size:.75rem;color:#64748b;width:1rem}.course-name{font-weight:600;color:#1e293b;flex:1}.selected-count{font-size:.8rem;color:#2563eb;font-weight:500}.course-units{padding:.5rem;background:#fff}.unit-name{flex:1;font-size:.9rem;color:#374151}.unit-code{font-size:.75rem;color:#94a3b8;font-family:monospace}.curriculum-hierarchy{max-height:450px;overflow-y:auto}.curriculum-hierarchy .course-group{border:1px solid #e2e8f0;border-radius:10px;margin-bottom:8px;overflow:hidden}.curriculum-hierarchy .course-header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#f8fafc;cursor:pointer;-webkit-user-select:none;user-select:none;transition:background .2s}.curriculum-hierarchy .course-header:hover{background:#f1f5f9}.curriculum-hierarchy .course-header.has-ai{background:linear-gradient(90deg,#f0fdf4,#f8fafc);border-left:3px solid #22c55e}.curriculum-hierarchy .course-badges{display:flex;gap:6px;margin-left:auto}.badge{padding:3px 8px;border-radius:10px;font-size:.75rem;font-weight:600}.badge.ai-badge{background:#dcfce7;color:#166534}.badge.selected-badge{background:#dbeafe;color:#1e40af}.badge.sm{padding:2px 6px;font-size:.7rem}.unit-list-hierarchy{padding:6px 8px 8px;background:#fff}.unit-group{margin-bottom:4px}.unit-header{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#fafafa;border-radius:6px;cursor:pointer;transition:background .2s}.unit-header:hover{background:#f1f5f9}.unit-header.has-ai{background:#f0fdf4;border-left:2px solid #22c55e}.unit-header.selected{background:#dbeafe;border-color:#3b82f6;border-left:3px solid #3b82f6}.unit-header.selected.has-ai{background:linear-gradient(90deg,#dcfce7,#dbeafe);border-left:3px solid #3b82f6}.unit-header input[type=checkbox]{width:18px;height:18px;cursor:pointer;flex-shrink:0}.unit-header .unit-name{flex:1;font-size:.9rem;color:#374151}.unit-badges{display:flex;gap:4px}.btn-view-codes{padding:2px 8px;font-size:.75rem;background:#e2e8f0;border:none;border-radius:4px;cursor:pointer;color:#475569;flex-shrink:0;transition:background .2s}.btn-view-codes:hover{background:#cbd5e1}.code-id{font-family:monospace;font-size:.8rem;font-weight:600;color:#1e40af;white-space:nowrap}.code-full-id{font-family:monospace;font-size:.7rem;color:#94a3b8}.code-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.code-right .similarity{font-size:.75rem;background:#e0f2fe;color:#0369a1;padding:2px 6px;border-radius:8px}.codes-modal-overlay{position:fixed;inset:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.codes-modal{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;width:90%;max-width:500px;max-height:70vh;display:flex;flex-direction:column}.codes-modal-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #e2e8f0}.codes-modal-header h4{margin:0;font-size:1rem;color:#1e293b}.codes-modal-close{background:none;border:none;font-size:1.5rem;color:#94a3b8;cursor:pointer;padding:0 4px;line-height:1}.codes-modal-close:hover{color:#475569}.codes-modal-body{padding:12px 16px;overflow-y:auto;flex:1}.codes-modal-item{padding:10px 12px;margin-bottom:8px;background:#fafafa;border-radius:8px;border:1px solid transparent}.codes-modal-item.ai-recommended{background:linear-gradient(90deg,#f0fdf4,#fafafa);border-left:3px solid #22c55e}.codes-modal-item-header{display:flex;align-items:center;gap:8px;margin-bottom:4px}.codes-modal-item-text{font-size:.85rem;color:#475569;line-height:1.5}.curriculum-hierarchy::-webkit-scrollbar{width:6px}.curriculum-hierarchy::-webkit-scrollbar-track{background:#f1f5f9;border-radius:3px}.curriculum-hierarchy::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}.curriculum-hierarchy::-webkit-scrollbar-thumb:hover{background:#94a3b8}@media(max-width:768px){.curriculum-hierarchy{max-height:none}.curriculum-hierarchy .course-header{padding:14px 12px}.unit-header{padding:12px 10px}.unit-header input[type=checkbox]{width:22px;height:22px}.codes-modal{width:95%;max-height:80vh}}.ai-reasoning-panel{display:flex;flex-direction:column;height:100%;overflow:hidden}.ai-panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);flex-shrink:0}.ai-panel-header h3{margin:0;font-size:1rem;color:#0369a1}.btn-back{background:none;border:1px solid #94a3b8;color:#475569;padding:4px 10px;border-radius:6px;font-size:.8rem;cursor:pointer;transition:all .2s}.btn-back:hover{background:#f1f5f9;border-color:#64748b}.ai-panel-content{flex:1;overflow-y:auto;padding:12px}.panel-detail-section{margin-bottom:12px;padding:12px;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.panel-detail-section h4{margin:0 0 8px;font-size:.85rem;color:#334155}.panel-detail-section.warning{background:#fffbeb;border-color:#fcd34d}.panel-detail-section.warning h4{color:#92400e}.ai-reasoning-panel .section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ai-reasoning-panel .confidence-badge{background:#dbeafe;color:#1e40af;padding:2px 8px;border-radius:10px;font-size:.75rem;font-weight:500}.ai-reasoning-panel .integrated-codes{display:flex;flex-direction:column;gap:10px}.ai-reasoning-panel .integrated-code-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;box-shadow:0 1px 4px #0000000d}.ai-reasoning-panel .integrated-code-card .card-header{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:linear-gradient(135deg,#dbeafe,#e0f2fe);border-bottom:1px solid #bfdbfe}.ai-reasoning-panel .integrated-code-card .card-header .code-tag{font-size:.8rem;font-weight:600}.ai-reasoning-panel .integrated-code-card .similarity-badge{background:#1e40af;color:#fff;padding:2px 8px;border-radius:16px;font-size:.75rem;font-weight:600}.ai-reasoning-panel .integrated-code-card .card-achievement{padding:8px 12px;background:#f8fafc;border-bottom:1px solid #e2e8f0}.ai-reasoning-panel .integrated-code-card .achievement-unit{color:#0369a1;font-size:.8rem;font-weight:600;margin-bottom:4px}.ai-reasoning-panel .integrated-code-card .achievement-text{color:#334155;font-size:.75rem;line-height:1.5}.ai-reasoning-panel .integrated-code-card .card-matching{padding:8px 12px}.ai-reasoning-panel .integrated-code-card .matching-reason{margin-bottom:6px}.ai-reasoning-panel .integrated-code-card .matching-reason .label,.ai-reasoning-panel .integrated-code-card .matching-evidence .label{font-size:.7rem;font-weight:600;color:#64748b;display:block;margin-bottom:2px}.ai-reasoning-panel .integrated-code-card .matching-reason p{margin:0;color:#475569;font-size:.75rem;line-height:1.5}.ai-reasoning-panel .integrated-code-card .matching-evidence{margin-top:6px}.ai-reasoning-panel .integrated-code-card .evidence-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:2px}.ai-reasoning-panel .integrated-code-card .evidence-tag{background:#f1f5f9;color:#475569;padding:2px 6px;border-radius:4px;font-size:.7rem}.ai-reasoning-panel .ref-note{font-size:.65rem;font-weight:400;color:#94a3b8}.ai-reasoning-panel .complexity-text{margin:0;line-height:1.5;color:#475569;font-size:.8rem}.ai-reasoning-panel .uncertainty-list{margin:0;padding-left:16px;color:#92400e;font-size:.8rem}.ai-reasoning-panel .uncertainty-list li{margin-bottom:4px;line-height:1.4}.echo-exclusion-split{display:flex;gap:0;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;max-height:300px}.echo-exclusion-split .split-col{flex:1;min-width:0;padding:10px;background:#f8fafc;overflow-y:auto;display:flex;flex-direction:column}.echo-exclusion-split .split-col:first-child{border-right:1px solid #e2e8f0}.echo-exclusion-split .split-col.echo-reasons{background:#fffbeb}.echo-exclusion-split .split-col h4{margin:0 0 8px;font-size:.8rem;color:#334155;flex-shrink:0}.echo-exclusion-split .split-col::-webkit-scrollbar{width:4px}.echo-exclusion-split .split-col::-webkit-scrollbar-track{background:#f1f5f9;border-radius:2px}.echo-exclusion-split .split-col::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:2px}.ai-reasoning-panel .excluded-codes-list{display:flex;flex-direction:column;gap:6px}.ai-reasoning-panel .excluded-code-item{background:#fff;border:1px solid #fecaca;border-radius:6px;padding:8px 10px}.ai-reasoning-panel .excluded-code-item .code-tag.removed{display:block;margin-bottom:4px;background:#fee2e2;color:#991b1b;text-decoration:line-through}.ai-reasoning-panel .excluded-code-info{font-size:.7rem;color:#64748b;margin-top:4px}.ai-reasoning-panel .excluded-code-info .unit-name{display:block;font-weight:500;color:#0369a1;margin-bottom:2px}.ai-reasoning-panel .excluded-code-info .achievement-text{display:block;font-size:.65rem;color:#475569;line-height:1.4}.ai-reasoning-panel .echo-summary{background:#f0f9ff;border-left:3px solid #0ea5e9;padding:8px 10px;border-radius:4px;margin-bottom:8px;color:#0369a1;font-size:.8rem;line-height:1.4}.ai-reasoning-panel .removal-reasons-list{display:flex;flex-direction:column;gap:6px}.ai-reasoning-panel .removal-reason-item{background:#fff;border:1px solid #fcd34d;border-radius:6px;padding:8px 10px}.ai-reasoning-panel .removal-reason-item .reason-code{display:block;font-family:monospace;font-size:.7rem;font-weight:600;color:#92400e;margin-bottom:2px}.ai-reasoning-panel .removal-reason-item .reason-text{margin:0;font-size:.75rem;color:#78350f;line-height:1.4}.ai-reasoning-panel .echo-list{display:flex;flex-direction:column;gap:8px}.ai-reasoning-panel .echo-item{padding:8px 10px;background:#fff;border:1px solid #e2e8f0;border-radius:6px}.ai-reasoning-panel .echo-q{font-weight:500;color:#1e40af;margin-bottom:4px;font-size:.8rem}.ai-reasoning-panel .echo-a{color:#475569;line-height:1.4;font-size:.8rem}.ai-panel-footer{padding:10px 12px;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:6px;flex-shrink:0}.ai-panel-footer .btn-accept-ai{background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%}.ai-panel-footer .btn-accept-ai:hover:not(:disabled){background:linear-gradient(135deg,#16a34a,#15803d);box-shadow:0 2px 8px #16a34a4d}.ai-panel-footer .btn-accept-ai:disabled{opacity:.6;cursor:not-allowed}.ai-code-chips{display:flex;flex-wrap:wrap;gap:6px;padding-bottom:8px}.ai-code-chip{position:relative;display:inline-flex;align-items:center;gap:4px;padding:4px 24px 4px 10px;background:#dbeafe;color:#1e40af;border:1px solid #93c5fd;border-radius:6px;font-size:.75rem;font-weight:600;font-family:monospace}.chip-remove{position:absolute;top:-6px;right:-6px;width:18px;height:18px;border-radius:50%;background:#ef4444;color:#fff;border:2px solid white;font-size:.65rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;line-height:1;transition:background .2s;box-shadow:0 1px 3px #0003}.chip-remove:hover{background:#dc2626}.btn-error-report{background:#fff;color:#dc2626;border:2px solid #dc2626;padding:6px 16px;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%;text-align:center}.btn-error-report:hover{background:#fef2f2;border-color:#b91c1c;color:#b91c1c}.selected-codes{margin-top:1rem;padding:.75rem;background:#f0f9ff;border-radius:8px;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.selected-codes strong{font-size:.85rem;color:#0369a1}.selected-codes .code-tag{cursor:pointer;transition:all .2s}.selected-codes .code-tag:hover{background:#fecaca;border-color:#ef4444;color:#dc2626}.diff-section{margin-top:1.25rem;padding-top:1.25rem;border-top:1px solid #f1f5f9}.diff-section label{display:block;font-size:.9rem;font-weight:500;color:#475569;margin-bottom:.75rem}.diff-type-options{display:flex;gap:1.5rem;margin-bottom:1rem}.diff-type-options label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;cursor:pointer;margin-bottom:0}.diff-section textarea{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;resize:vertical;min-height:80px}.diff-section textarea:focus{outline:none;border-color:#2563eb}.selected-codes .code-tag.added{background:#fef3c7;border-color:#f59e0b;color:#92400e}.selected-codes .code-tag.added:hover{background:#fecaca;border-color:#ef4444;color:#dc2626}.required-mark{color:#dc2626;font-size:.8rem;font-weight:600}.diff-section.reason-required{border-top-color:#fbbf24;background:#fffbeb;padding:1rem;border-radius:8px;border:1px solid #fbbf24}.diff-section textarea.reason-empty{border-color:#f59e0b;background:#fffbeb}.diff-section textarea.reason-empty:focus{border-color:#d97706}@media(max-width:768px){.diff-type-options{flex-direction:column;gap:.75rem}}.input-modal{background:#fff;border-radius:12px;width:100%;max-width:400px;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .2s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.input-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#f8fafc;border-radius:12px 12px 0 0}.input-modal-header h3{margin:0;font-size:1.1rem;color:#1e293b}.input-modal-content{padding:20px}.input-modal-content .modal-message{margin:0 0 12px;font-size:.9rem;color:#64748b}.input-modal-content input{width:100%;padding:12px 14px;border:2px solid #e2e8f0;border-radius:8px;font-size:1rem;transition:border-color .2s,box-shadow .2s}.input-modal-content input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.input-modal-content input.input-error{border-color:#ef4444}.input-modal-content .error-text{display:block;margin-top:8px;font-size:.85rem;color:#ef4444}.input-modal-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 12px 12px}.input-modal-footer .btn-cancel{padding:10px 20px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;font-size:.9rem;color:#64748b;cursor:pointer;transition:all .2s}.input-modal-footer .btn-cancel:hover{background:#f1f5f9;border-color:#94a3b8}.input-modal-footer .btn-submit{padding:10px 24px;border:none;background:#2563eb;border-radius:8px;font-size:.9rem;color:#fff;cursor:pointer;transition:background .2s}.input-modal-footer .btn-submit:hover{background:#1d4ed8}.error-report-modal{background:#fff;border-radius:12px;width:100%;max-width:440px;box-shadow:0 20px 60px #0000004d;animation:modalSlideIn .2s ease-out}.error-report-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #e2e8f0;background:#fef2f2;border-radius:12px 12px 0 0}.error-report-header h3{margin:0;font-size:1.1rem;color:#991b1b}.error-report-content{padding:20px;display:flex;flex-direction:column;gap:16px}.error-report-field>label{display:block;font-size:.9rem;font-weight:600;color:#334155;margin-bottom:8px}.file-type-options{display:flex;gap:12px}.file-type-options label{display:flex;align-items:center;gap:6px;padding:8px 16px;border:2px solid #e2e8f0;border-radius:8px;font-size:.9rem;cursor:pointer;transition:all .2s;flex:1;justify-content:center}.file-type-options label.active{border-color:#dc2626;background:#fef2f2;color:#991b1b;font-weight:600}.file-type-options label input[type=radio]{display:none}.error-report-content textarea{width:100%;padding:12px;border:2px solid #e2e8f0;border-radius:8px;font-size:.9rem;resize:vertical;min-height:100px;font-family:inherit;transition:border-color .2s}.error-report-content textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc26261a}.error-report-content textarea.input-error{border-color:#ef4444}.error-report-content .error-text{display:block;margin-top:6px;font-size:.85rem;color:#ef4444}.error-report-meta{padding:8px 12px;background:#f8fafc;border-radius:6px;font-size:.8rem;color:#64748b;border:1px solid #e2e8f0}.error-report-footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e2e8f0;background:#f8fafc;border-radius:0 0 12px 12px}.error-report-footer .btn-cancel{padding:10px 20px;border:1px solid #cbd5e1;background:#fff;border-radius:8px;font-size:.9rem;color:#64748b;cursor:pointer;transition:all .2s}.error-report-footer .btn-cancel:hover{background:#f1f5f9}.btn-report-submit{padding:10px 24px;border:none;background:#dc2626;border-radius:8px;font-size:.9rem;color:#fff;font-weight:600;cursor:pointer;transition:background .2s}.btn-report-submit:hover:not(:disabled){background:#b91c1c}.btn-report-submit:disabled{opacity:.6;cursor:not-allowed}.review-page{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;background:#f5f7fa;overflow:hidden}.review-header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:.5rem 1rem;display:flex;align-items:center;gap:1rem}.review-header h1{flex:1;font-size:1.3rem;font-weight:600}.review-stats{background:#fff3;padding:.5rem 1rem;border-radius:20px;font-size:.9rem}.review-main{flex:1;display:flex;overflow:hidden;background:#fff}.resizer{width:8px;background:linear-gradient(to right,#e2e8f0,#cbd5e1,#e2e8f0);cursor:col-resize;transition:background .2s;flex-shrink:0;position:relative}.resizer:before{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:4px;height:40px;background:#94a3b8;border-radius:2px}.resizer:hover,.resizer:active{background:linear-gradient(to right,#dbeafe,#3b82f6,#dbeafe)}.resizer:hover:before,.resizer:active:before{background:#2563eb}body.resizing iframe{pointer-events:none}.tagging-panel{display:flex;flex-direction:column;overflow:hidden;background:#fff;min-width:280px}.tagging-panel-content{flex:1;overflow-y:auto}.tagging-panel-content::-webkit-scrollbar{width:8px}.tagging-panel-content::-webkit-scrollbar-track{background:#fff}.tagging-panel-content::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.tagging-panel-content::-webkit-scrollbar-thumb:hover{background:#94a3b8}.tagging-panel-footer{flex-shrink:0;padding:10px 12px;border-top:2px solid #e2e8f0;background:#f8fafc;display:flex;flex-direction:column;gap:6px}.no-tagging{display:flex;flex-direction:column;align-items:center;justify-content:center;height:200px;color:#64748b;text-align:center;background:#f8fafc;border-radius:12px;margin:1rem;padding:2rem}.no-tagging-icon{font-size:3rem;margin-bottom:1rem;opacity:.7}.no-tagging p{margin:.5rem 0}.no-tagging-hint{font-size:.85rem;color:#94a3b8}.option-disabled{color:#94a3b8!important;background-color:#f1f5f9}select option:disabled{color:#94a3b8;background-color:#f1f5f9}.panel-section{padding:1.25rem 1.5rem;border-bottom:1px solid #f1f5f9}.panel-section h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:1rem}.section-hint{font-size:.85rem;color:#64748b;margin-bottom:1rem}.code-tag.selected{background:#dbeafe;color:#1e40af;border:1px solid #3b82f6}.confidence-info{margin-top:.75rem;font-size:.85rem;color:#64748b;display:flex;gap:1.5rem}.ai-recommendation{background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;border-radius:12px}.ai-rec-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ai-rec-header h3{margin:0;font-size:1rem;color:#0369a1}.btn-ai-detail{background:#0284c7;color:#fff;border:none;padding:6px 12px;border-radius:6px;font-size:.85rem;cursor:pointer;transition:background .2s}.btn-ai-detail:hover{background:#0369a1}.ai-rec-content{display:flex;flex-direction:column;gap:10px}.ai-rec-type{display:flex;align-items:center;gap:8px}.ai-rec-type .label,.ai-rec-units .label{font-weight:600;color:#64748b;min-width:50px}.type-badge{padding:4px 10px;border-radius:12px;font-size:.85rem;font-weight:600}.type-badge.single{background:#dcfce7;color:#166534}.type-badge.intra{background:#fef3c7;color:#92400e}.type-badge.inter{background:#fee2e2;color:#991b1b}.confidence{color:#64748b;font-size:.85rem}.ai-rec-units{display:flex;gap:8px}.ai-rec-units .unit-list{display:flex;flex-direction:column;gap:4px}.unit-item-display{display:flex;flex-direction:column;gap:2px;font-size:.85rem;line-height:1.4;padding:4px 8px;background:#f1f5f9;border-radius:6px;margin-top:4px}.unit-item-display .course-name{color:#0369a1;font-weight:600;font-size:.8rem}.unit-item-display .separator{display:none}.unit-item-display .unit-name{color:#334155;word-break:keep-all}.reasoning-content{background:#fffbeb;border-radius:8px;padding:1rem}.reasoning-item{margin-bottom:1rem}.reasoning-item:last-child{margin-bottom:0}.reasoning-item strong{font-size:.85rem;color:#64748b;display:block;margin-bottom:.5rem}.topic-tags{display:flex;flex-wrap:wrap;gap:.5rem}.tagging-panel-footer .btn-complete{width:100%;padding:10px;background:linear-gradient(135deg,#22c55e,#16a34a);color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.tagging-panel-footer .btn-complete:hover:not(:disabled){background:linear-gradient(135deg,#16a34a,#15803d);box-shadow:0 2px 8px #16a34a4d}.tagging-panel-footer .btn-complete:disabled{background:#94a3b8;cursor:not-allowed}.tagging-panel-footer .btn-complete.btn-saving{background:#64748b!important;cursor:wait!important}.tagging-panel-footer .btn-error-report{background:#fff;color:#dc2626;border:2px solid #dc2626;padding:6px 16px;border-radius:6px;font-size:.8rem;font-weight:600;cursor:pointer;transition:all .2s;width:100%;text-align:center}.tagging-panel-footer .btn-error-report:hover{background:#fef2f2;border-color:#b91c1c;color:#b91c1c}.shortcut-hint{font-size:.7rem;font-weight:400;opacity:.7;margin-left:.5rem}.save-spinner{display:inline-block;width:14px;height:14px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:btn-spin .6s linear infinite;margin-right:6px;vertical-align:middle}@keyframes btn-spin{to{transform:rotate(360deg)}}.tagging-loading{padding:1.5rem}.loading-overlay{position:absolute;inset:0;background:#ffffffb3;display:flex;align-items:center;justify-content:center;z-index:50}@media(max-width:768px){.review-page{position:relative;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch}.review-header{flex-wrap:wrap;padding:.5rem .75rem}.review-header h1{order:-1;width:100%;text-align:center;margin-bottom:.5rem;font-size:1.1rem}.review-stats{font-size:.8rem;padding:.35rem .75rem}.review-main{flex-direction:column;overflow:visible;min-height:0}.pdf-split-panel{border-right:none;border-bottom:1px solid #e2e8f0;height:45vh;width:100%!important;flex:none!important}.resizer{display:none}.tagging-panel{width:100%!important;flex:none!important;overflow:visible;min-height:auto}.tagging-panel-content{overflow-y:visible}.tagging-panel-footer{position:sticky;bottom:0;z-index:10;box-shadow:0 -2px 8px #00000014}.shortcut-hint{display:none}.panel-section{padding:1rem}.no-tagging{margin:.5rem;padding:1.5rem;height:auto}.help-button{width:36px;height:36px;font-size:1rem}.loading-overlay{position:fixed}.ai-rec-header{flex-direction:column;align-items:flex-start;gap:8px}.ai-rec-type{flex-wrap:wrap}.ai-rec-units{flex-direction:column}}.stats-page{height:100vh;overflow-y:auto}.stats-page .page-header{display:flex;align-items:center;justify-content:space-between}.stats-page .page-header h1{flex:1}.btn-export{background:#fff3;border:none;color:#fff;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background .2s}.btn-export:hover:not(:disabled){background:#ffffff4d}.btn-export:disabled{opacity:.6;cursor:not-allowed}.header-buttons{display:flex;gap:.5rem}.export-message{padding:12px 16px;margin:0 2rem 1rem;border-radius:8px;font-size:.9rem;text-align:center}.export-message.success{background:#dcfce7;color:#166534;border:1px solid #86efac}.export-message.error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:400px;color:#64748b}.loading-container p{margin-top:1rem}.stats-main{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;max-width:1400px;margin:2rem auto;padding:0 2rem}.stats-card{background:#fff;border-radius:16px;padding:1.5rem;box-shadow:0 4px 20px #00000014}.stats-card h2{font-size:1.1rem;color:#1e293b;margin-bottom:1.25rem;padding-bottom:.75rem;border-bottom:1px solid #f1f5f9}.overall-progress{grid-column:span 1}.progress-circle-container{display:flex;justify-content:center;margin-bottom:1.5rem}.progress-circle{width:140px;height:140px;border-radius:50%;background:conic-gradient(#2563eb calc(var(--progress) * 1%),#e2e8f0 calc(var(--progress) * 1%));display:flex;align-items:center;justify-content:center;position:relative}.progress-circle:before{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:#fff}.progress-value{position:relative;z-index:1;font-size:2rem;font-weight:700;color:#2563eb}.progress-stats{display:flex;justify-content:space-around;gap:1rem}.stat-item{text-align:center}.stat-item .stat-value{display:block;font-size:1.75rem;font-weight:700;color:#1e293b}.stat-item .stat-label{font-size:.85rem;color:#64748b}.subject-stats{grid-column:span 1}.stats-table{width:100%;border-collapse:collapse}.stats-table th,.stats-table td{padding:.75rem;text-align:left;border-bottom:1px solid #f1f5f9}.stats-table th{font-size:.85rem;font-weight:600;color:#64748b;text-transform:uppercase}.stats-table td{font-size:.95rem;color:#1e293b}.stats-table .subject-icon{font-size:1.25rem;margin-right:.5rem}.progress-bar-container{position:relative;height:24px;background:#f1f5f9;border-radius:12px;overflow:hidden}.progress-bar{height:100%;background:linear-gradient(90deg,#2563eb,#3b82f6);border-radius:12px;transition:width .3s ease}.progress-text{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:.8rem;font-weight:600;color:#1e293b}.daily-chart{grid-column:span 2}.chart-container{height:200px;overflow-x:auto}.bar-chart{display:flex;align-items:flex-end;height:100%;gap:4px;min-width:max-content;padding-bottom:24px}.bar-wrapper{display:flex;flex-direction:column;align-items:center;flex:1;min-width:18px;height:100%;position:relative}.bar{width:100%;min-width:14px;background:linear-gradient(180deg,#3b82f6,#2563eb);border-radius:4px 4px 0 0;transition:height .3s ease;display:flex;justify-content:center;align-items:flex-start;padding-top:4px}.bar.weekend{background:linear-gradient(180deg,#94a3b8,#64748b)}.bar-value{font-size:.65rem;color:#fff;font-weight:600}.bar-label{position:absolute;bottom:0;font-size:.7rem;color:#64748b;white-space:nowrap}.correction-analysis{grid-column:span 1}.no-data{text-align:center;color:#94a3b8;padding:2rem}.correction-breakdown{display:flex;flex-direction:column;gap:1rem}.correction-item{display:grid;grid-template-columns:40px 1fr auto;align-items:center;gap:1rem;padding:.75rem;background:#f8fafc;border-radius:10px}.correction-icon{font-size:1.5rem;text-align:center}.correction-info{display:flex;flex-direction:column;gap:2px}.correction-label{font-size:.85rem;color:#64748b}.correction-count{font-size:1.25rem;font-weight:700;color:#1e293b}.correction-bar{width:80px;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.correction-item.missing .bar-fill{background:#22c55e}.correction-item.excess .bar-fill{background:#f59e0b}.correction-item.misclass .bar-fill{background:#ef4444}.bar-fill{height:100%;border-radius:4px;transition:width .3s ease}.correction-total{text-align:center;padding-top:1rem;border-top:1px solid #e2e8f0;font-size:.95rem;color:#64748b}.recent-reviews{grid-column:span 1}.reviews-list{display:flex;flex-direction:column;gap:.75rem;max-height:300px;overflow-y:auto}.review-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem;background:#f8fafc;border-radius:8px;font-size:.9rem}.review-info{display:flex;gap:.75rem;align-items:center}.review-subject{font-weight:600;color:#1e293b}.review-school{color:#64748b}.review-year{color:#94a3b8;font-size:.85rem}.review-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.reviewer{font-size:.85rem;color:#64748b}.review-date{font-size:.8rem;color:#94a3b8}.coming-soon{background:#fff;border-radius:16px;padding:3rem;text-align:center;box-shadow:0 4px 20px #00000014}.coming-soon h2{color:#64748b;margin-bottom:1.5rem}.coming-soon ul{list-style:none;color:#94a3b8}.coming-soon li{padding:.5rem 0}@media(max-width:900px){.stats-main{grid-template-columns:1fr;padding:0 1rem}.daily-chart{grid-column:span 1}}@media(max-width:768px){.stats-page .page-header{padding:.75rem 1rem}.stats-main{padding:0 .75rem;gap:1rem;margin:1rem auto}.stats-card{padding:1rem;border-radius:12px}.progress-circle{width:110px;height:110px}.progress-circle:before{width:85px;height:85px}.progress-value{font-size:1.5rem}.stat-item .stat-value{font-size:1.25rem}.stats-table th,.stats-table td{padding:.5rem;font-size:.85rem}.review-item{flex-direction:column;align-items:flex-start;gap:6px}.review-meta{align-items:flex-start;flex-direction:row;gap:8px}.correction-item{grid-template-columns:32px 1fr;gap:.5rem}.correction-bar{display:none}}.pdf-preview-modal-overlay{position:fixed;inset:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.pdf-preview-modal{background:#fff;border-radius:12px;width:90%;max-width:1000px;height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.pdf-preview-header{display:flex;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0;gap:1rem}.pdf-preview-header h3{flex:1;margin:0;font-size:1rem;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pdf-preview-shortcuts{display:flex;gap:1rem}.shortcut-hint{font-size:.75rem;color:#94a3b8;background:#f1f5f9;padding:.25rem .5rem;border-radius:4px}.pdf-preview-close{background:none;border:none;font-size:1.25rem;color:#64748b;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .15s}.pdf-preview-close:hover{background:#f1f5f9;color:#1e293b}.pdf-preview-tabs{display:flex;border-bottom:1px solid #e2e8f0}.pdf-preview-tab{flex:1;padding:.75rem 1rem;border:none;background:#f8fafc;font-size:.9rem;color:#64748b;cursor:pointer;transition:all .15s}.pdf-preview-tab:hover{background:#f1f5f9}.pdf-preview-tab.active{background:#fff;color:#2563eb;font-weight:500;border-bottom:2px solid #2563eb}.pdf-preview-content{flex:1;overflow:hidden}.pdf-preview-iframe{width:100%;height:100%;border:none}.pdf-preview-placeholder{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-size:1rem}@media(max-width:768px){.pdf-preview-modal-overlay{padding:1rem}.pdf-preview-modal{width:100%;height:90vh}.pdf-preview-shortcuts{display:none}}.folder-preview-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.folder-preview-modal{background:#fff;border-radius:12px;width:90%;max-width:650px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 20px 60px #00000040}.folder-preview-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-bottom:1px solid #e2e8f0}.folder-preview-header h3{margin:0;font-size:1.1rem;color:#1e293b}.folder-preview-close{background:none;border:none;font-size:1.25rem;color:#64748b;cursor:pointer;padding:.25rem .5rem;border-radius:4px;transition:all .15s}.folder-preview-close:hover{background:#f1f5f9;color:#1e293b}.folder-preview-info{display:flex;justify-content:space-between;align-items:center;padding:.5rem 1.5rem;background:#f8fafc;font-size:.85rem;color:#64748b}.folder-preview-info-right{display:flex;align-items:center;gap:.75rem}.expand-collapse-btns{display:flex;gap:.25rem}.expand-collapse-btns button{background:#fff;border:1px solid #cbd5e1;border-radius:4px;padding:.15rem .5rem;font-size:.75rem;color:#64748b;cursor:pointer;transition:all .15s}.expand-collapse-btns button:hover{background:#e2e8f0;color:#475569}.folder-preview-info strong{color:#2563eb}.folder-preview-content{flex:1;overflow-y:auto;padding:1rem 1.5rem;min-height:150px}.folder-preview-empty{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8}.folder-tree{font-size:.875rem}.folder-tree-item{margin-bottom:.25rem}.folder-tree-folder{display:flex;align-items:center;gap:.5rem;padding:.375rem 0;color:#1e293b;font-weight:500;cursor:pointer;border-radius:4px;transition:background .1s}.folder-tree-folder:hover{background:#f1f5f9}.folder-toggle{font-size:.65rem;color:#94a3b8;min-width:12px}.folder-icon{font-size:1rem}.folder-name{flex:1}.folder-file-count{font-size:.75rem;color:#94a3b8;font-weight:400}.folder-tree-files{border-left:1px dashed #e2e8f0;padding-left:.75rem;margin-left:.5rem}.folder-tree-file{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;color:#64748b;font-size:.8rem}.file-icon{font-size:.875rem}.file-name{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.folder-tree-more{padding:.25rem 0;color:#94a3b8;font-size:.8rem;font-style:italic}.folder-tree-toggle-btn{background:none;border:none;color:#2563eb;font-size:.78rem;cursor:pointer;padding:.2rem 0;transition:color .15s}.folder-tree-toggle-btn:hover{color:#1d4ed8;text-decoration:underline}.folder-preview-settings{padding:.75rem 1.5rem;background:#f8fafc;border-bottom:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.5rem}.settings-row-inline{display:flex;align-items:center;gap:.75rem}.settings-label-inline{font-size:.8rem;color:#64748b;font-weight:500;white-space:nowrap;min-width:70px}.zip-name-input{padding:.35rem .6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.85rem;flex:1;max-width:200px}.zip-name-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a}.download-mode-pills{display:flex;gap:.35rem}.mode-pill{padding:.3rem .7rem;border:1px solid #cbd5e1;border-radius:16px;background:#fff;color:#64748b;font-size:.75rem;cursor:pointer;transition:all .15s}.mode-pill:hover{border-color:#2563eb;color:#2563eb}.mode-pill.active{background:#2563eb;color:#fff;border-color:#2563eb}.folder-preview-footer{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-top:1px solid #e2e8f0}.folder-preview-note{margin:0;font-size:.8rem;color:#94a3b8}.folder-preview-actions{display:flex;gap:.5rem}@media(max-width:768px){.folder-preview-overlay{padding:1rem}.folder-preview-modal{width:100%}}.download-page{height:100vh;overflow-y:auto;background:#f8fafc}.download-page .page-header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:1rem 2rem;display:flex;align-items:center;gap:1rem}.download-page .page-header h1{flex:1;margin:0;font-size:1.5rem}.btn-download{background:#fff3;border:none;color:#fff;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background .2s}.btn-download:hover:not(:disabled){background:#ffffff4d}.btn-download:disabled{opacity:.6;cursor:not-allowed}.download-message{padding:12px 16px;margin:1rem 2rem;border-radius:8px;font-size:.9rem;text-align:center}.download-message.success{background:#dcfce7;color:#166534;border:1px solid #86efac}.download-message.error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.filter-bar{display:flex;align-items:center;background:#fff;border-bottom:1px solid #e2e8f0;padding:.75rem 2rem;gap:0}.filter-bar .school-filter-compact{margin-bottom:0;padding:0;background:none;border-bottom:none}.filter-bar-divider{width:1px;height:24px;background:#cbd5e1;margin:0 1rem;flex-shrink:0}.subject-filter{display:flex;gap:.5rem;flex-wrap:wrap}.subject-pill{padding:.35rem 1rem;border:1px solid #cbd5e1;border-radius:20px;background:#fff;color:#64748b;font-size:.85rem;cursor:pointer;transition:all .15s}.subject-pill:hover{border-color:#2563eb;color:#2563eb}.subject-pill.active{background:#2563eb;color:#fff;border-color:#2563eb}.download-actions{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#fff;border-bottom:1px solid #e2e8f0}.actions-left{display:flex;align-items:center;gap:.75rem}.select-info{font-size:.9rem;color:#64748b;margin-left:.5rem}.download-actions .actions-right{display:flex;align-items:center;gap:.75rem}.download-table-container{margin:0 2rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d;overflow:hidden}.download-table{width:100%;border-collapse:collapse;font-size:.875rem}.download-table thead{background:#f8fafc;position:sticky;top:0;z-index:10}.download-table th{padding:.875rem 1rem;text-align:left;font-weight:600;color:#475569;border-bottom:2px solid #e2e8f0;white-space:nowrap;position:relative}.download-table th .th-content{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.download-table th .th-icons{display:flex;align-items:center;gap:.25rem}.download-table th.filter-header{position:relative}.filter-btn{background:none;border:none;font-size:.7rem;color:#94a3b8;cursor:pointer;padding:2px 4px;border-radius:4px}.filter-btn:hover{background:#e2e8f0;color:#475569}.sort-icon{font-size:.75rem;color:#94a3b8;cursor:pointer;min-width:12px}.sort-icon:hover{color:#2563eb}.sort-icon.active{color:#2563eb;font-weight:600}.filter-dropdown{position:absolute;top:100%;left:0;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 4px 12px #0000001a;z-index:100;min-width:150px;max-height:250px;overflow-y:auto;padding:.5rem}.filter-option{display:flex;align-items:center;gap:.5rem;padding:.5rem;cursor:pointer;border-radius:4px;font-size:.875rem;color:#475569}.filter-option:hover{background:#f1f5f9}.filter-option input[type=checkbox]{width:16px;height:16px;cursor:pointer}.filter-empty{padding:.5rem;color:#94a3b8;font-size:.85rem;text-align:center}.download-table td{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;color:#334155}.download-table tbody tr:hover{background:#f8fafc}.download-table tbody tr.selected{background:#eff6ff}.download-table tbody tr.selected:hover{background:#dbeafe}.checkbox-cell{width:40px;text-align:center}.checkbox-cell input[type=checkbox]{width:18px;height:18px;cursor:pointer}.filename-cell{max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-cell{white-space:nowrap;color:#64748b;font-size:.9rem}.empty-row{text-align:center;padding:3rem!important;color:#94a3b8}.pagination-controls{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;background:#fff;border-top:1px solid #e2e8f0;flex-wrap:wrap;gap:1rem}.pagination-info{font-size:.85rem;color:#64748b}.pagination-buttons{display:flex;align-items:center;gap:.5rem}.pagination-buttons button{padding:.4rem .75rem;border:1px solid #cbd5e1;background:#fff;border-radius:4px;cursor:pointer;font-size:.9rem;color:#475569;transition:all .15s}.pagination-buttons button:hover:not(:disabled){background:#f1f5f9;border-color:#94a3b8}.pagination-buttons button:disabled{opacity:.4;cursor:not-allowed}.page-indicator{padding:0 1rem;font-size:.9rem;color:#475569;min-width:80px;text-align:center}.page-size-selector{display:flex;align-items:center}.page-size-selector label{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#64748b}.page-size-selector select{padding:.35rem .5rem;border:1px solid #cbd5e1;border-radius:4px;font-size:.85rem;background:#fff;cursor:pointer}.page-size-selector select:focus{outline:none;border-color:#2563eb}.download-settings{margin:1.5rem 2rem;padding:1.5rem;background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000d}.download-settings h3{margin:0 0 1rem;font-size:1rem;color:#1e293b}.settings-row{margin-bottom:1rem}.settings-row label{display:flex;align-items:center;gap:.75rem;font-size:.9rem;color:#475569}.settings-row input[type=text]{padding:.5rem .75rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.9rem;width:200px}.settings-row input[type=text]:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.settings-label{font-size:.9rem;color:#475569;margin-right:1rem}.radio-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:#64748b;margin:.5rem 0 .5rem 1rem;cursor:pointer}.radio-label input[type=radio]{width:16px;height:16px;cursor:pointer}.settings-preview{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0;font-size:.9rem;color:#64748b}.settings-preview strong{color:#2563eb}.settings-info{margin-top:1rem;padding:1rem;background:#f8fafc;border-radius:8px;border-left:3px solid #2563eb}.settings-info p{margin:.25rem 0;font-size:.875rem;color:#64748b}.settings-info p:first-child{margin-top:0}.settings-info p:last-child{margin-bottom:0}.settings-info strong{color:#2563eb}.download-table .col-school{width:10%;min-width:80px}.download-table .col-year{width:6%;min-width:50px}.download-table .col-course{width:12%;min-width:100px}.download-table .col-unit{width:14%;min-width:120px}.download-table .col-fileType{width:6%;min-width:50px}.download-table .col-complex{width:7%;min-width:60px}.download-table .col-codes{width:15%;min-width:120px}.download-table .col-date{width:10%;min-width:90px}.download-table .col-filename{width:15%;min-width:120px}.download-table .unit-cell{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.download-table .codes-cell{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;color:#64748b}.download-table tbody tr.clickable-row{cursor:pointer;transition:background-color .15s}.download-table tbody tr.clickable-row:hover{background:#f1f5f9}.download-options{display:flex;gap:1.5rem;flex-wrap:wrap;margin-top:.5rem}.download-options .radio-label{margin:0;cursor:pointer}@media(max-width:768px){.filter-bar{flex-wrap:wrap;padding:.5rem 1rem;gap:.5rem}.filter-bar-divider{display:none}.download-actions{flex-direction:column;gap:1rem;padding:1rem}.download-actions .actions-left,.download-actions .actions-right{width:100%;justify-content:center}.download-table-container{margin:0 1rem;overflow-x:auto}.download-settings{margin:1rem}.settings-row label{flex-direction:column;align-items:flex-start}.settings-row input[type=text]{width:100%}.download-options{flex-direction:column;gap:.5rem}.download-page .page-header{padding:.75rem 1rem}.download-page .page-header h1{font-size:1.1rem}.pagination-controls{flex-direction:column;align-items:center;padding:.75rem 1rem;gap:.5rem}.download-table{font-size:.75rem}.download-table th,.download-table td{padding:.5rem}.download-table .col-unit,.download-table .col-codes,.download-table .col-filename{min-width:80px}}.error-boundary{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#f8fafc,#e2e8f0);padding:2rem}.error-content{background:#fff;border-radius:16px;padding:3rem;max-width:500px;text-align:center;box-shadow:0 10px 40px #0000001a}.error-content h1{font-size:1.75rem;color:#ef4444;margin-bottom:1rem}.error-boundary .error-message{font-size:1rem;color:#64748b;margin-bottom:2rem;line-height:1.6}.error-details{text-align:left;margin-bottom:2rem;background:#f8fafc;border-radius:8px;padding:1rem}.error-details summary{cursor:pointer;font-size:.9rem;color:#64748b;margin-bottom:.5rem}.error-details pre{font-size:.75rem;color:#dc2626;overflow-x:auto;white-space:pre-wrap;word-break:break-word;max-height:200px;overflow-y:auto}.error-actions{display:flex;gap:1rem;justify-content:center}.btn-retry,.btn-home{padding:.75rem 1.5rem;border-radius:8px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s;border:none}.btn-retry{background:#2563eb;color:#fff}.btn-retry:hover{background:#1d4ed8}.btn-home{background:#f1f5f9;color:#475569}.btn-home:hover{background:#e2e8f0}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Noto Sans KR,-apple-system,BlinkMacSystemFont,sans-serif;background-color:#f5f7fa;color:#333;line-height:1.6}.app{min-height:100vh;width:100%}.header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:1rem 2rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #0000001a}.header h1{font-size:1.5rem;font-weight:600}.stats{display:flex;gap:1rem}.stat{background:#fff3;padding:.5rem 1rem;border-radius:20px;font-size:.9rem}.stat-success{background:#22c55e4d}.stat-warning{background:#fbbf244d}.main{max-width:1400px;margin:0 auto;padding:2rem}.filter-bar{background:#fff;padding:1rem 1.5rem;border-radius:12px;box-shadow:0 2px 8px #0000000d;margin-bottom:1.5rem;display:flex;gap:1rem;flex-wrap:wrap;align-items:center}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-size:.85rem;color:#666;font-weight:500}.filter-group select{padding:.5rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;background:#fff;cursor:pointer;min-width:120px}.filter-group select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.filter-reset{margin-left:auto;padding:.5rem 1rem;background:#f1f5f9;border:none;border-radius:8px;font-size:.85rem;cursor:pointer;color:#64748b}.filter-reset:hover{background:#e2e8f0}.problem-list{background:#fff;border-radius:12px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0;overflow:hidden}.table-wrapper{overflow-x:auto;max-height:500px;overflow-y:auto}.problem-table{width:100%;border-collapse:collapse;font-size:.9rem}.problem-table th,.problem-table td{padding:12px 16px;text-align:left;border-bottom:1px solid #e2e8f0}.problem-table th{background:#2563eb;color:#fff;font-weight:600;font-size:.85rem;position:sticky;top:0;z-index:1}.problem-table tbody tr:hover{background:#f0f9ff}.problem-table tbody tr:last-child td{border-bottom:none}.code-tags{display:flex;flex-wrap:wrap;gap:.3rem}.code-tag{background:#e0e7ff;color:#3730a3;padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-family:monospace}.confidence-bar{display:flex;align-items:center;gap:.5rem}.confidence-track{width:60px;height:6px;background:#e2e8f0;border-radius:3px;overflow:hidden}.confidence-fill{height:100%;border-radius:3px;transition:width .3s}.confidence-fill.high{background:#22c55e}.confidence-fill.medium{background:#f59e0b}.confidence-fill.low{background:#ef4444}.confidence-value{font-size:.85rem;color:#64748b;min-width:40px}.status-badge{display:inline-flex;align-items:center;gap:.3rem;padding:.3rem .8rem;border-radius:20px;font-size:.8rem;font-weight:500}.status-badge.reviewed{background:#dcfce7;color:#16a34a}.status-badge.pending{background:#fef3c7;color:#d97706}.status-badge.none{background:#f1f5f9;color:#94a3b8}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 24px;border:none;border-radius:8px;font-size:.95rem;font-weight:500;font-family:inherit;cursor:pointer;transition:all .2s}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover:not(:disabled){background:#1e40af}.btn-secondary{background:#64748b;color:#fff}.btn-secondary:hover:not(:disabled){background:#475569}.btn-success{background:#16a34a;color:#fff}.btn-success:hover:not(:disabled){background:#15803d}.btn-danger{background:#dc2626;color:#fff;padding:6px 12px;font-size:.85rem}.btn-danger:hover:not(:disabled){background:#b91c1c}.btn-icon{font-size:1.1rem}.btn-large{padding:16px 32px;font-size:1.1rem}.btn-select{padding:6px 14px;font-size:.8rem;background:#2563eb;color:#fff;border:none;border-radius:6px;cursor:pointer}.btn-select:hover:not(:disabled){background:#1d4ed8}.btn-select:disabled{background:#94a3b8;cursor:not-allowed;opacity:.6}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.modal-content{background:#fff;border-radius:16px;width:100%;max-width:900px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 25px 50px -12px #00000040}.modal-content.modal-large{max-width:1400px;height:90vh}.modal-body.modal-split{display:flex;flex:1;overflow:hidden;padding:0}.modal-left{flex:1;display:flex;flex-direction:column;border-right:1px solid #e2e8f0;min-width:0}.modal-right{width:480px;flex-shrink:0;display:flex;flex-direction:column;overflow-y:auto;padding:1.5rem}.modal-header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:1.5rem;display:flex;justify-content:space-between;align-items:center}.modal-header h2{font-size:1.2rem;font-weight:600}.modal-close{background:#fff3;border:none;color:#fff;width:36px;height:36px;border-radius:50%;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.modal-close:hover{background:#ffffff4d}.modal-body{flex:1;overflow-y:auto;padding:1.5rem}.modal-footer{padding:1rem 1.5rem;background:#f8fafc;border-top:1px solid #e2e8f0;display:flex;justify-content:flex-end;gap:.75rem}.modal-section{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #f1f5f9}.modal-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.modal-section h3{font-size:1rem;font-weight:600;color:#1e293b;margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.code-comparison{display:grid;grid-template-columns:1fr auto 1fr;gap:1rem;align-items:start}.code-box{background:#f8fafc;border-radius:8px;padding:1rem}.code-box h4{font-size:.85rem;color:#64748b;margin-bottom:.75rem}.code-box .code-list{display:flex;flex-direction:column;gap:.4rem}.code-item{display:flex;align-items:center;gap:.5rem;padding:.4rem .6rem;background:#fff;border-radius:6px;font-size:.85rem}.code-item.selected{background:#dbeafe;border:1px solid #3b82f6}.code-arrow{font-size:1.5rem;color:#94a3b8}.checkbox-group{display:flex;flex-direction:column;gap:.5rem}.checkbox-item{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#f8fafc;border-radius:8px;cursor:pointer;transition:all .2s}.checkbox-item:hover{background:#f1f5f9}.checkbox-item.checked{background:#dbeafe;border:1px solid #3b82f6}.checkbox-item input[type=checkbox]{width:18px;height:18px;cursor:pointer}.checkbox-item .code{font-family:monospace;font-weight:600;color:#1e40af}.checkbox-item .desc{font-size:.85rem;color:#64748b}.checkbox-item .similarity{margin-left:auto;font-size:.8rem;color:#94a3b8}.reasoning-section{background:#fffbeb;border-radius:8px;padding:1rem}.reasoning-topics{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.topic-tag{background:#fef3c7;color:#92400e;padding:.3rem .6rem;border-radius:4px;font-size:.8rem}.echo-qa{margin-top:1rem}.echo-item{margin-bottom:.75rem;padding:.75rem;background:#fff;border-radius:6px}.echo-item .question{font-weight:500;color:#1e293b;margin-bottom:.3rem}.echo-item .answer{color:#64748b;font-size:.9rem}.diff-input{margin-top:1rem}.diff-input label{display:block;font-size:.85rem;font-weight:500;color:#475569;margin-bottom:.5rem}.diff-input textarea{width:100%;padding:.75rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9rem;resize:vertical;min-height:80px}.diff-input textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1a}.diff-type{display:flex;gap:1rem;margin-top:.75rem}.diff-type label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;cursor:pointer}.loading-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#ffffffe6;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:3000}.loading-spinner{width:50px;height:50px;border:4px solid #e2e8f0;border-top-color:#2563eb;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-overlay p{margin-top:16px;font-size:1rem;color:#475569}.message{padding:12px 16px;border-radius:8px;margin-bottom:16px;font-size:.9rem}.message:empty{display:none}.message.success{background:#dcfce7;color:#166534;border:1px solid #86efac}.message.error{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}.message.info{background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}.card{background:#fff;border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 2px 8px #00000014;border:1px solid #e2e8f0}.card-title{font-size:1.1rem;font-weight:600;color:#1e293b;margin-bottom:20px;display:flex;align-items:center;gap:12px}.step-badge{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;background:#2563eb;color:#fff;border-radius:50%;font-size:.9rem;font-weight:600}.info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-bottom:16px}.info-row{display:flex;gap:24px;flex-wrap:wrap;margin-bottom:8px}.info-item{display:flex;gap:8px}.info-label{font-weight:500;color:#64748b}.info-value{color:#1e293b}.result-box{background:#f8fafc;border:1px dashed #e2e8f0;border-radius:8px;padding:16px;min-height:100px;white-space:pre-wrap;line-height:1.8;margin-top:12px}.back-button{background:#fff3;border:none;color:#fff;padding:.5rem 1rem;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background .2s}.back-button:hover{background:#ffffff4d}.page-header{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;padding:1rem 2rem;display:flex;align-items:center;gap:1.5rem}.page-header h1{font-size:1.3rem}.shake{animation:shake .5s ease-in-out}@keyframes shake{0%,to{transform:translate(0)}10%,30%,50%,70%,90%{transform:translate(-5px)}20%,40%,60%,80%{transform:translate(5px)}}.help-button{position:fixed;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;background:#3b82f6;color:#fff;border:none;font-size:1.25rem;font-weight:700;cursor:pointer;z-index:1000;box-shadow:0 2px 8px #3b82f666;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.help-button:hover{background:#2563eb;transform:scale(1.1);box-shadow:0 4px 12px #3b82f680}.help-button:active{transform:scale(.95)}.onboarding-structure{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:1rem;font-family:monospace;font-size:.85rem;line-height:1.4;margin-top:.5rem}.onboarding-structure pre{margin:0;white-space:pre-wrap}.onboarding-shortcuts{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.shortcut-item{display:flex;align-items:center;gap:.75rem}.shortcut-key{background:#1e293b;color:#fff;padding:.25rem .5rem;border-radius:4px;font-family:monospace;font-size:.85rem;min-width:60px;text-align:center}.shortcut-desc{color:#475569;font-size:.9rem}.react-joyride__tooltip{font-family:inherit!important}.react-joyride__tooltip h4{font-size:1.1rem!important;margin-bottom:.5rem!important}.react-joyride__tooltip div{font-size:.95rem!important}@media(max-width:768px){.header{flex-direction:column;gap:1rem}.filter-bar{flex-direction:column;align-items:stretch}.filter-reset{margin-left:0}.code-comparison{grid-template-columns:1fr}.code-arrow{transform:rotate(90deg);text-align:center}.modal-content{max-height:100vh;border-radius:0}.modal-content.modal-large{height:100vh;max-width:100%}.modal-body.modal-split{flex-direction:column}.modal-left{border-right:none;border-bottom:1px solid #e2e8f0;height:40vh;flex:none}.modal-right{width:100%;flex:1;overflow-y:auto}.info-row{flex-direction:column;gap:8px}}@media(max-width:600px){.modal-overlay{padding:.5rem;align-items:flex-end}}@media(max-width:768px){html,body{overflow-x:hidden;-webkit-overflow-scrolling:touch}.page-header{padding:.75rem 1rem;gap:.5rem}.page-header h1{font-size:1.1rem}.back-button{padding:.4rem .75rem;font-size:.85rem}.main{padding:1rem}}
