:root{--primary:#6366f1;--primary-dark:#4f46e5;--secondary:#8b5cf6;--accent:#a78bfa;--success:#10b981;--warning:#f59e0b;--danger:#ef4444;--bg-dark:#0f0f1a;--glass-bg:#ffffff12;--glass-border:#ffffff26;--glass-hover:#ffffff1f;--text-primary:#f1f5f9;--text-secondary:#94a3b8;--text-muted:#64748b;--shadow-glow:0 0 30px #6366f14d;--modal-bg:#fff}[data-theme=dark]{--modal-bg:#1e2737;--modal-text:#f1f5f9;--modal-shadow:#0000008c}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg-dark);height:100%;color:var(--text-primary);margin:0;padding:0;font-family:Noto Sans KR,Inter,sans-serif;overflow:hidden}.app-bg{background:linear-gradient(135deg,#0f0f1a 0%,#1a0f2e 40%,#0f1a2e 100%);min-height:100vh}.glass{background:var(--glass-bg);-webkit-backdrop-filter:blur(12px);border:1px solid var(--glass-border);border-radius:16px}.glass-sm{background:var(--glass-bg);-webkit-backdrop-filter:blur(8px);border:1px solid var(--glass-border);border-radius:10px}.glass:hover{background:var(--glass-hover)}.nav-header{-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--glass-border);z-index:100;background:#0f0f1ad9;align-items:center;gap:16px;height:60px;padding:0 24px;display:flex;position:sticky;top:0}.nav-logo{background:linear-gradient(135deg, var(--primary), var(--secondary));-webkit-text-fill-color:transparent;white-space:nowrap;-webkit-background-clip:text;background-clip:text;align-items:center;gap:10px;font-size:1.1rem;font-weight:700;display:flex}.nav-link{color:var(--text-secondary);border-radius:8px;align-items:center;gap:6px;padding:6px 14px;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.nav-link:hover{color:var(--text-primary);background:var(--glass-hover)}.nav-link.active{color:var(--primary);background:#6366f126}.sidebar{border-right:1px solid var(--glass-border);background:#0f0f1a99;flex-direction:column;gap:0;width:260px;min-width:260px;height:calc(100vh - 60px);display:flex;overflow:hidden}.subject-card{border:1px solid var(--glass-border);background:#ffffff08;border-radius:10px;overflow:hidden}.subject-card.open{border-color:#6366f1a6;box-shadow:inset 0 0 0 1px #6366f159}.subject-card-chevron{color:var(--text-muted);flex-shrink:0;transition:transform .22s cubic-bezier(.4,0,.2,1);font-size:16px!important}.subject-card.open .subject-card-chevron{transform:rotate(180deg)}.subject-card-head{width:100%;color:var(--text-primary);cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;padding:10px 11px;display:flex}.subject-card-title{font-size:.83rem;font-weight:700}.subject-card-count{color:var(--text-secondary);font-size:.72rem;font-weight:600}.subject-card-body{border-top:1px solid #ffffff14;flex-direction:column;gap:6px;padding:6px 8px 8px;display:none}.subject-card.open .subject-card-body{display:flex}.subject-top-block,.subject-mid-block{background:#00000024;border:1px solid #ffffff14;border-radius:8px}.subject-tree-top,.subject-tree-mid{cursor:pointer;color:var(--text-primary);justify-content:space-between;align-items:center;padding:7px 8px;font-size:.76rem;list-style:none;display:flex}.subject-tree-top span,.subject-tree-mid span,.subject-tree-leaf span{color:var(--text-secondary);font-size:.68rem}.subject-tree-mids,.subject-tree-chapters{flex-direction:column;gap:5px;padding:0 7px 7px;display:flex}.subject-tree-leaf{width:100%;color:var(--text-primary);text-align:left;cursor:pointer;background:#ffffff05;border:1px solid #ffffff14;border-radius:7px;justify-content:space-between;align-items:center;padding:6px 8px;font-size:.73rem;display:flex}.subject-tree-leaf:hover,.subject-tree-top:hover,.subject-tree-mid:hover{background:#6366f124}.question-skeleton{background:#ffffff08;border:1px solid #ffffff14;border-radius:10px;flex-direction:column;gap:10px;min-height:160px;padding:8px;display:flex}.question-skeleton .sk-img,.question-skeleton .sk-line{background:linear-gradient(110deg,#ffffff0f 8%,#ffffff29 18%,#ffffff0f 33%) 0 0/200% 100%;animation:1.2s linear infinite sk-shimmer}.question-skeleton .sk-img{border-radius:8px;height:120px}.question-skeleton .sk-line{border-radius:999px;height:14px}@keyframes sk-shimmer{to{background-position-x:-200%}}.difficulty-separator{margin-top:2px;padding:4px 2px}.difficulty-chip{color:#0f172a;background:linear-gradient(135deg,#facc15,#f59e0b);border-radius:999px;align-items:center;padding:3px 10px;font-size:.74rem;font-weight:700;display:inline-flex}.dropzone{text-align:center;cursor:pointer;background:#6366f10d;border:2px dashed #6366f166;border-radius:12px;margin:12px;padding:20px 12px;transition:all .3s}.dropzone:hover,.dropzone.drag-over{border-color:var(--primary);background:#6366f11f;box-shadow:inset 0 0 20px #6366f11a}.dropzone .material-icons-round{color:var(--primary);font-size:36px}#thumbnail-list{flex-direction:column;flex:1;gap:6px;min-height:0;padding:8px;display:flex;overflow:hidden auto}.thumbnail-item{cursor:pointer;background:#ffffff0a;border:2px solid #0000;border-radius:10px;flex-shrink:0;transition:all .2s;position:relative;overflow:hidden}.thumbnail-item:hover{background:#6366f114;border-color:#6366f180}.thumbnail-item.active{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary), 0 0 16px #6366f14d}.thumbnail-item img.thumb-img{border-radius:6px;width:auto;max-width:100%;display:block}.thumbnail-item .thumb-box-canvas{pointer-events:none;border-radius:6px;width:100%;height:100%;position:absolute;inset:0}.thumbnail-num{color:#fff;background:#0009;border-radius:4px;padding:1px 5px;font-size:11px;position:absolute;bottom:4px;left:6px}.main-viewer{flex-direction:column;flex:1;height:calc(100vh - 60px);display:flex;overflow:hidden}.toolbar{border-bottom:1px solid var(--glass-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#0f0f1ab3;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 16px;display:flex}.toolbar .separator{background:var(--glass-border);width:1px;height:28px;margin:0 4px}#canvas-wrapper{background:radial-gradient(#6366f10d 0%,#0000 70%);flex:1;justify-content:center;align-items:flex-start;padding:20px;display:flex;overflow:auto}#canvas-container{border-radius:4px;box-shadow:0 20px 60px #00000080,0 0 0 1px #ffffff0d}.btn{cursor:pointer;white-space:nowrap;border:none;border-radius:9px;outline:none;align-items:center;gap:6px;padding:7px 14px;font-size:.8125rem;font-weight:600;transition:all .2s;display:inline-flex}.btn .material-icons-round{font-size:18px}.btn-primary{background:linear-gradient(135deg, var(--primary), var(--secondary));color:#fff;box-shadow:0 4px 12px #6366f14d}.btn-primary:hover{transform:translateY(-1px);box-shadow:0 6px 16px #6366f166}.btn-primary:active{transform:translateY(0)}.btn-ghost{background:var(--glass-bg);color:var(--text-secondary);border:1px solid var(--glass-border)}.btn-ghost:hover{background:var(--glass-hover);color:var(--text-primary)}.btn-ghost.active{color:#818cf8;background:#6366f12e;border-color:#6366f166}.btn-success{color:#fff;background:linear-gradient(135deg,#059669,#10b981);box-shadow:0 4px 12px #10b98140}.btn-success:hover{transform:translateY(-1px);box-shadow:0 6px 16px #10b98159}.btn-warning{color:#fff;background:linear-gradient(135deg,#d97706,#f59e0b)}.btn-warning:hover{transform:translateY(-1px)}.btn-danger{color:#fff;background:linear-gradient(135deg,#dc2626,#ef4444)}.btn-danger:hover{transform:translateY(-1px)}.btn-active{color:var(--accent)!important;border-color:var(--primary)!important;background:#6366f140!important}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none!important}.status-badge{border-radius:20px;align-items:center;gap:5px;padding:4px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.status-idle{color:#94a3b8;background:#64748b33}.status-detecting{color:#fbbf24;background:#f59e0b26;animation:1.5s infinite pulse-badge}.status-done{color:#34d399;background:#10b98126}.status-error{color:#f87171;background:#ef444426}@keyframes pulse-badge{0%,to{opacity:1}50%{opacity:.6}}#toast-container{z-index:9999;pointer-events:none;flex-direction:column;gap:8px;display:flex;position:fixed;bottom:24px;right:24px}.toast{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:all;border:1px solid;border-radius:12px;align-items:center;gap:10px;min-width:260px;max-width:380px;padding:12px 18px;font-size:.875rem;font-weight:500;animation:.3s ease-out toast-in;display:flex;box-shadow:0 8px 24px #0006}.toast-success{color:#fff;background:#059669e6;border-color:#10b98180}.toast-error{color:#fff;background:#b91c1ce6;border-color:#ef444480}.toast-info{color:#fff;background:#4338cae6;border-color:#6366f180}.toast-warning{color:#fff;background:#b45309e6;border-color:#f59e0b80}.toast .material-icons-round{font-size:20px}@keyframes toast-in{0%{opacity:0;transform:translate(100%)}to{opacity:1;transform:translate(0)}}@keyframes toast-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(100%)}}#modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#0009;justify-content:center;align-items:center;display:none;position:fixed;inset:0}#modal-overlay.show{display:flex}.modal-card{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--glass-border);width:90%;max-width:480px;box-shadow:0 30px 80px #00000080, var(--shadow-glow);background:#191632f2;border-radius:20px;padding:28px;animation:.25s ease-out modal-in}@keyframes modal-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.modal-title{margin:0 0 20px;font-size:1.125rem;font-weight:700}.exam-addq-modal{flex-direction:column;gap:12px;min-height:0;display:flex}.exam-addq-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.exam-addq-mode-toggle{gap:6px;display:inline-flex}.exam-addq-mode.active{border-color:#6366f1cc;box-shadow:inset 0 0 0 1px #6366f159}.exam-addq-filters{flex-direction:column;gap:8px;display:flex}.exam-addq-pane{border:1px solid var(--glass-border);background:#ffffff08;border-radius:12px;padding:10px}.exam-addq-source-tools{justify-content:flex-end;margin-bottom:8px;display:flex}.exam-addq-source-list{flex-direction:column;gap:6px;max-height:180px;padding-right:2px;display:flex;overflow-y:auto}.exam-addq-source-row{background:#ffffff05;border:1px solid #ffffff17;border-radius:8px;align-items:center;gap:8px;padding:7px 8px;display:flex}.exam-addq-source-row input{accent-color:var(--primary)}.exam-addq-source-name{flex:1;font-size:.82rem}.exam-addq-source-count{color:var(--text-secondary);font-size:.74rem}.exam-addq-subject-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.exam-addq-summary{color:var(--text-secondary);font-size:.78rem}.exam-addq-summary-row{align-items:center;gap:8px;display:flex}.exam-addq-summary-row .exam-addq-summary{flex:1}.exam-addq-list{border:1px solid var(--glass-border);background:#ffffff08;border-radius:12px;flex-direction:column;gap:10px;min-height:280px;max-height:min(52vh,620px);padding:10px;display:flex;overflow-y:auto}.exam-addq-card{text-align:left;color:#2b2418;cursor:pointer;background:#f4ecd8;border:1px solid #ffffff1f;border-radius:10px;width:100%;padding:10px;transition:border-color .18s,box-shadow .18s,transform .14s}.exam-addq-card:hover{border-color:#6366f173;box-shadow:0 4px 14px #6366f129}.exam-addq-card.selected{border:2px solid #60a5fa;box-shadow:inset 0 0 0 1px #60a5fa8c}.exam-addq-card.included{border-color:#10b981a6}.exam-addq-card.selected.included{border-color:#22d3ee;box-shadow:inset 0 0 0 1px #22d3ee8c}.exam-addq-meta-row{justify-content:space-between;align-items:center;gap:10px;margin-bottom:4px;display:flex}.exam-addq-difficulty{color:#facc15;font-size:.74rem;font-weight:700}.exam-addq-src{color:#6f6655;font-size:.72rem}.exam-addq-unit{color:#6a5b3d;margin-bottom:8px;font-size:.74rem;line-height:1.4}.exam-addq-body{background:#f8f2df;border:1px solid #ffffff17;border-radius:8px;padding:8px}.exam-addq-content{color:#2b2418;word-break:break-word;font-size:.9rem;line-height:1.55}.exam-addq-content img{max-width:100%}.exam-addq-image{background:#fff;border-radius:4px;width:100%;display:block}.exam-addq-actions{align-items:center;gap:8px;display:flex}.exam-addq-empty{text-align:center;color:var(--text-muted);padding:40px 12px;font-size:.85rem}.exam-addq-card-skeleton{pointer-events:none}.exam-addq-card-skeleton .sk-line{background:linear-gradient(110deg,#ffffff0f 8%,#ffffff29 18%,#ffffff0f 33%) 0 0/200% 100%;border-radius:999px;height:13px;margin-bottom:8px;animation:1.2s linear infinite sk-shimmer}.exam-addq-card-skeleton .sk-line.lg{height:22px}.exam-addq-card-skeleton .sk-line.sm{width:45%}@media (width<=900px){.exam-addq-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=560px){.exam-addq-subject-grid{grid-template-columns:1fr}.exam-addq-head{flex-direction:column;align-items:flex-start}}.input-glass{color:var(--text-primary);background:#ffffff12;border:1px solid #ffffff26;border-radius:10px;outline:none;width:100%;padding:9px 14px;font-size:.875rem;transition:all .2s}.input-glass:focus{border-color:var(--primary);background:#6366f11a;box-shadow:0 0 0 3px #6366f126}.input-glass::placeholder{color:var(--text-muted)}.form-label{color:var(--text-secondary);letter-spacing:.05em;text-transform:uppercase;margin-bottom:6px;font-size:.75rem;font-weight:600;display:block}#loading-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:9000;background:#000000b3;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:none;position:fixed;inset:0}#loading-overlay.show{display:flex}.spinner{border:3px solid #ffffff1a;border-top-color:var(--primary);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.source-item{cursor:pointer;color:var(--text-secondary);border:1px solid #0000;border-radius:10px;align-items:center;gap:10px;padding:10px 12px;transition:all .2s;display:flex}.source-item:hover{background:var(--glass-hover);border-color:var(--glass-border);color:var(--text-primary)}.source-item.active{color:var(--primary);background:#6366f126;border-color:#6366f166}.source-item.drag-over{color:var(--primary);background:#6366f140;border-color:#6366f1bf;transform:scale(1.02);box-shadow:0 0 0 2px #6366f159}.source-item .material-icons-round{font-size:20px}.question-grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px;min-height:120px;padding:16px;display:grid;position:relative}.question-card{border:2px solid var(--glass-border);cursor:pointer;background:#ffffff0a;border-radius:12px;transition:all .2s;position:relative;overflow:hidden}.question-card:hover{border-color:#6366f180;box-shadow:0 4px 16px #6366f133}.question-card.selected{border-color:var(--primary);box-shadow:0 0 0 1px var(--primary), 0 4px 16px #6366f14d}.question-card.dragging{opacity:.45;border-style:dashed}.question-card img{background:#fff;width:100%;display:block}.question-card .checkbox-overlay{background:#00000080;border:2px solid #ffffff80;border-radius:6px;justify-content:center;align-items:center;width:22px;height:22px;transition:all .2s;display:flex;position:absolute;top:8px;left:8px}.question-card.selected .checkbox-overlay{background:var(--primary);border-color:var(--primary)}.question-card .checkbox-overlay .material-icons-round{color:#fff;font-size:14px;display:none}.question-card.selected .checkbox-overlay .material-icons-round{display:block}.selection-bar{border-top:1px solid var(--glass-border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:1000;background:#0f0f1ad9;align-items:center;gap:12px;padding:12px 20px;display:flex;position:relative}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#ffffff40}.exam-preview-wrapper{flex-direction:column;flex:1;align-items:center;gap:20px;padding:24px;display:flex;overflow:auto}.a4-page{color:#000;background:#fff;border-radius:2px;width:794px;min-height:1123px;padding:56.7px;font-family:Noto Serif KR,Batang,serif;position:relative;box-shadow:0 20px 60px #0009}.exam-header{border-bottom:2px solid #222;margin-bottom:14px;padding-bottom:12px}.exam-header h1{text-align:center;margin:0 0 8px;font-size:18px;font-weight:800}.exam-meta-grid{grid-template-columns:1fr 1fr 1fr;gap:4px;font-size:12px;display:grid}.exam-columns{flex:1;gap:22.68px;display:flex}.exam-col{flex-direction:column;flex:1;gap:0;display:flex}.exam-question{break-inside:avoid}.exam-question-num{color:#111;margin-bottom:4px;font-size:12px;font-weight:700}.exam-question-img{width:100%;display:block}.exam-page-num{text-align:center;color:#555;border-top:1px solid #ccc;padding-top:8px;font-size:11px}@keyframes preview-flash{0%{outline:2px solid #6366f100;box-shadow:0 0 #6366f100}30%{outline:2px solid #6366f1e6;box-shadow:0 0 12px 4px #6366f18c}70%{outline:2px solid #6366f199;box-shadow:0 0 8px 2px #6366f159}to{outline:2px solid #6366f180;box-shadow:0 0 8px 2px #6366f140}}.preview-item-highlight{border-radius:3px;outline:2px solid #6366f180;transition:outline .2s,box-shadow .2s;animation:.4s forwards preview-flash;box-shadow:0 0 8px 2px #6366f140}.exam-paper-card{border:1px solid var(--glass-border);background:var(--glass-bg);border-radius:14px;padding:18px;transition:all .2s}.exam-paper-card:hover{background:var(--glass-hover);border-color:#6366f166}@keyframes skeleton-shimmer{0%{background-position:-400px 0}to{background-position:400px 0}}.sk-box{background:linear-gradient(90deg,#ffffff0d 25%,#ffffff1f 50%,#ffffff0d 75%) 0 0/800px 100%;border-radius:6px;animation:1.4s linear infinite skeleton-shimmer}.exam-paper-card.sk-card{pointer-events:none;border-color:#ffffff0f}[data-theme=light] .sk-box{background:linear-gradient(90deg,#0000000a 25%,#00000017 50%,#0000000a 75%) 0 0/800px 100%;animation:1.4s linear infinite skeleton-shimmer}.exam-card-actions{border-top:1px solid var(--border);grid-template-columns:repeat(4,1fr);gap:6px;margin-top:12px;padding-top:10px;display:grid}.exam-card-btn{border:1px solid var(--border);color:var(--text-secondary);cursor:pointer;background:0 0;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:7px 4px;font-size:.65rem;font-weight:600;line-height:1;transition:all .15s;display:flex}.exam-card-btn .material-icons-round{font-size:17px}.exam-card-btn:hover{background:var(--glass-hover);color:var(--primary,#6366f1);border-color:var(--primary,#6366f1)}.exam-card-btn.danger:hover{color:var(--danger,#ef4444);border-color:var(--danger,#ef4444)}[data-theme=light] .exam-card-btn{background:#fafafa;border-color:#1118271a}.range-slider{appearance:none;cursor:pointer;background:#ffffff1a;border-radius:2px;outline:none;width:100%;height:4px}.range-slider::-webkit-slider-thumb{appearance:none;background:linear-gradient(135deg, var(--primary), var(--secondary));cursor:pointer;border-radius:50%;width:18px;height:18px;box-shadow:0 2px 8px #6366f166}.tab-group{background:#ffffff0d;border-radius:10px;gap:2px;padding:3px;display:flex}.tab-btn{color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;flex:1;padding:6px 12px;font-size:.8rem;font-weight:600;transition:all .2s}.tab-btn.active{background:linear-gradient(135deg, var(--primary), var(--secondary));color:#fff;box-shadow:0 2px 8px #6366f14d}.settings-panel{border-left:1px solid var(--glass-border);background:#0f0f1a99;flex-direction:column;gap:14px;width:320px;min-width:320px;height:100%;padding:16px;display:flex;overflow-y:auto}.settings-section{border:1px solid var(--glass-border);background:#ffffff0d;border-radius:12px;padding:14px}.settings-section-title{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:12px;font-size:.75rem;font-weight:700}.question-list-item{border:1px solid var(--glass-border);cursor:grab;color:var(--text-secondary);background:#ffffff0a;border-radius:8px;flex-direction:column;gap:6px;margin-bottom:4px;padding:8px;font-size:.8125rem;transition:all .2s;display:flex}.question-list-item:hover{background:var(--glass-hover);color:var(--text-primary)}.question-list-item:active{cursor:grabbing}.question-list-item.qli-preview-active{background:#4f46e51a;border-left:3px solid #4f46e5}[data-theme=light] .question-list-item.qli-preview-active{background:#4f46e514;border-left-color:#4f46e5}.question-list-item .drag-handle{color:var(--text-muted);cursor:grab}.question-list-item .qli-header{align-items:center;gap:4px;display:flex}.question-list-item .qli-label{color:var(--text-muted);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.75rem;overflow:hidden}.question-list-item .qli-btns{align-items:center;gap:2px;margin-left:auto;display:flex}.question-list-item img{object-fit:contain;background:#ffffff0f;border-radius:4px;width:100%;height:auto;max-height:160px;display:block}.question-list-item .qli-meta{color:var(--text-muted);font-size:.7rem}@media print{body{background:#fff!important;overflow:auto!important}.a4-page{page-break-after:always;width:210mm!important;min-height:297mm!important;box-shadow:none!important;margin:0!important;padding:15mm!important}.exam-columns{gap:6mm}*{-webkit-print-color-adjust:exact;print-color-adjust:exact}}@page{size:A4 portrait;margin:0}.hidden{display:none!important}.text-gradient{background:linear-gradient(135deg, var(--primary), var(--accent));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.gap-indicator{color:var(--text-muted);font-size:.75rem}.detection-indicator{border-radius:8px;align-items:center;gap:6px;padding:4px 8px;font-size:.75rem;display:flex}.dot-pulse{background:var(--warning);border-radius:50%;width:8px;height:8px;animation:1.2s ease-in-out infinite dot-pulse}@keyframes dot-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.5)}}.empty-state p{max-width:240px;font-size:.9rem;line-height:1.6}.icon-badge{background:linear-gradient(135deg, var(--primary), var(--secondary));border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.icon-badge .material-icons-round{color:#fff;font-size:20px}.custom-checkbox{cursor:pointer;border:2px solid #ffffff40;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:18px;height:18px;transition:all .15s;display:flex}.custom-checkbox.checked{background:var(--primary);border-color:var(--primary)}.sidebar-search-wrap{align-items:center;padding:0 8px 8px;display:flex;position:relative}.sidebar-search-wrap input{border:1px solid var(--glass-border);color:#fff;box-sizing:border-box;background:#ffffff0f;border-radius:8px;outline:none;width:100%;padding:7px 30px;font-size:.8rem}.sidebar-search-clear{cursor:pointer;color:var(--text-muted);z-index:10;background:0 0;border:none;justify-content:center;align-items:center;padding:4px;display:flex;position:absolute;top:50%;right:15px;transform:translateY(-50%)}.sidebar-search-wrap input:focus{border-color:var(--primary);background:#6366f11a;box-shadow:0 0 0 2px #6366f126}.sidebar-search-wrap input::placeholder{color:var(--text-muted)}.sidebar-search-clear:hover{color:var(--text-primary)}.sidebar-search-clear .material-icons-round{font-size:15px}[data-theme=light]{--primary:#4f46e5;--primary-dark:#3730a3;--secondary:#6366f1;--accent:#818cf8;--success:#059669;--warning:#d97706;--danger:#dc2626;--bg-dark:#f7f8fa;--glass-bg:#ffffffeb;--glass-border:#11182717;--glass-hover:#fff;--text-primary:#111827;--text-secondary:#374151;--text-muted:#6b7280;--shadow-glow:0 0 24px #4f46e51f}[data-theme=light] body,[data-theme=light] .app-bg{color:var(--text-primary);background:#f7f8fa}[data-theme=light] .btn-primary{color:#fff;background:#4f46e5;box-shadow:0 2px 8px #4f46e547}[data-theme=light] .btn-primary:hover{background:#3730a3;box-shadow:0 4px 14px #4f46e561}[data-theme=light] .btn-success{color:#fff;background:#059669;box-shadow:0 2px 8px #05966940}[data-theme=light] .btn-danger{color:#fff;background:#dc2626;box-shadow:0 2px 8px #dc262640}[data-theme=light] .btn-warning{color:#fff;background:#d97706;box-shadow:0 2px 8px #d9770640}[data-theme=light] .nav-header{box-shadow:0 1px 3px #1118270f;background:#fffffff2!important;border-bottom:1px solid #11182717!important}[data-theme=light] .nav-link{color:var(--text-secondary)}[data-theme=light] .nav-link:hover{color:#4f46e5;background:#4f46e512}[data-theme=light] .nav-link.active{color:#4f46e5;background:#4f46e517;font-weight:600}[data-theme=light] .sidebar{background:#f1f3f7!important;border-right:1px solid #11182717!important}[data-theme=light] .toolbar{box-shadow:0 1px 3px #1118270d;background:#fffffff7!important;border-bottom:1px solid #11182717!important}[data-theme=light] .settings-panel{background:#f1f3f7!important;border-left:1px solid #11182717!important}[data-theme=light] .settings-section{background:#fff;border-color:#11182717;box-shadow:0 1px 3px #1118270a}[data-theme=light] .btn-ghost{color:var(--text-secondary);background:#fff;border-color:#11182724}[data-theme=light] .btn-ghost:hover{color:#4f46e5;background:#4f46e50f;border-color:#4f46e54d}[data-theme=light] .source-item{color:var(--text-secondary)}[data-theme=light] .source-item:hover{color:var(--text-primary);background:#4f46e512;border-color:#4f46e540}[data-theme=light] .source-item.active{color:#4f46e5;background:#4f46e51a;border-color:#4f46e5;font-weight:600}[data-theme=light] .question-card{background:#fff;border-color:#1118271a;box-shadow:0 1px 3px #1118270d}[data-theme=light] .question-card:hover{border-color:#4f46e5;box-shadow:0 4px 12px #4f46e524}[data-theme=light] .question-card.selected{background:#4f46e50a;border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e559}[data-theme=light] .selection-bar{background:#fffffffa!important;border-top:1px solid #11182717!important}[data-theme=light] .tab-group{background:#1118270f}[data-theme=light] .tab-btn{color:var(--text-muted)}[data-theme=light] .tab-btn.active{color:#4f46e5;background:#fff;font-weight:600;box-shadow:0 1px 4px #1118271a}[data-theme=light] .input-glass{color:var(--text-primary);background:#fff;border-color:#11182724}[data-theme=light] .input-glass:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}[data-theme=light] .input-glass::placeholder{color:#9ca3af}[data-theme=light] .range-slider{background:#4f46e526}[data-theme=light] .modal-card{color:var(--text-primary);background:#fff;border-color:#1118271a;box-shadow:0 20px 60px #11182726}[data-theme=light] #canvas-wrapper{background:radial-gradient(#4f46e50d 0%,#0000 70%)}[data-theme=light] .sidebar-search-wrap input{color:var(--text-primary);background:#fff;border-color:#11182724}[data-theme=light] .sidebar-search-wrap input:focus{background:#fff;border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51f}[data-theme=light] .sidebar-search-wrap input::placeholder{color:#9ca3af}[data-theme=light] ::-webkit-scrollbar-thumb{background:#1118272e}[data-theme=light] ::-webkit-scrollbar-thumb:hover{background:#4f46e5}[data-theme=light] .question-list-item{color:var(--text-secondary);background:#fff;border-color:#11182717}[data-theme=light] .question-list-item:hover{color:var(--text-primary);background:#f7f8fa;border-color:#4f46e54d}[data-theme=light] .exam-paper-card{background:#fff;border-color:#11182717;box-shadow:0 1px 3px #1118270d}[data-theme=light] .exam-paper-card:hover{background:#fff;border-color:#4f46e5;box-shadow:0 4px 14px #4f46e524}[data-theme=light] .search-tab.active{color:#4f46e5;background:#4f46e517;border-color:#4f46e54d}[data-theme=light] .search-status-bar{color:#4f46e5;background:#4f46e512;border-bottom-color:#4f46e526}[data-theme=light] .search-status-bar .material-icons-round{color:#6366f1}[data-theme=light] .search-result-card{border-color:#4f46e540!important}[data-theme=light] .search-select,[data-theme=light] .search-input{color:var(--text-primary);background:#fff;border-color:#11182724}[data-theme=light] .search-select:focus,[data-theme=light] .search-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px #4f46e51a}.template-grid{grid-template-columns:1fr 1fr;gap:8px;margin-top:4px;display:grid}.template-card{border:1.5px solid var(--glass-border);background:var(--glass-bg);color:var(--text-secondary);cursor:pointer;border-radius:10px;flex-direction:column;align-items:center;gap:6px;padding:8px 6px 7px;font-family:inherit;font-size:.72rem;font-weight:600;transition:all .18s;display:flex}.template-card:hover{border-color:var(--primary);background:var(--glass-hover);color:var(--text-primary)}.template-card.active{border-color:var(--primary);color:var(--primary);background:#6366f11f}.template-preview{box-sizing:border-box;background:#fff;border-radius:4px;width:100%;height:36px;padding:5px 6px;overflow:hidden}.user-menu-wrap{align-items:center;margin-left:8px;display:flex;position:relative}.user-menu-btn{border:1px solid var(--glass-border);background:var(--glass-bg);color:var(--text-secondary);cursor:pointer;white-space:nowrap;border-radius:10px;align-items:center;gap:7px;padding:6px 12px;font-family:inherit;font-size:.825rem;font-weight:600;transition:all .2s;display:flex}.user-menu-btn:hover{background:var(--glass-hover);color:var(--text-primary);border-color:var(--primary)}.user-menu-btn .material-icons-round{font-size:20px}.user-menu-btn .um-chevron{font-size:16px;transition:transform .2s}.user-dropdown{-webkit-backdrop-filter:blur(20px);border:1px solid var(--glass-border);z-index:500;opacity:0;pointer-events:none;background:#141228f7;border-radius:14px;min-width:200px;transition:opacity .18s,transform .18s;position:absolute;top:calc(100% + 8px);right:0;overflow:hidden;transform:translateY(-8px)scale(.97);box-shadow:0 16px 48px #00000080,0 0 0 1px #ffffff0a}.user-dropdown.um-dd-open{opacity:1;pointer-events:auto;transform:translateY(0)scale(1)}.user-dropdown-header{border-bottom:1px solid var(--glass-border);padding:12px 16px 10px}.user-dropdown-email{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;display:block;overflow:hidden}.user-dropdown-item{width:100%;color:var(--text-secondary);cursor:pointer;text-align:left;box-sizing:border-box;background:0 0;border:none;align-items:center;gap:10px;padding:10px 16px;font-family:inherit;font-size:.845rem;font-weight:500;text-decoration:none;transition:all .15s;display:flex}.user-dropdown-item:hover{background:var(--glass-hover);color:var(--text-primary)}.user-dropdown-item .material-icons-round{font-size:18px}.user-dropdown-item--danger{color:#f87171}.user-dropdown-item--danger:hover{color:#fca5a5;background:#ef44441f}.user-dropdown-divider{background:var(--glass-border);height:1px;margin:4px 0}.um-modal-overlay{-webkit-backdrop-filter:blur(5px);z-index:1200;opacity:0;pointer-events:none;background:#000000a6;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:fixed;inset:0}.um-modal-overlay.um-open{opacity:1;pointer-events:auto}.um-modal{width:92%;max-width:460px;max-height:85vh;box-shadow:0 32px 80px #0000008c, var(--shadow-glow);opacity:0;border-radius:20px;padding:0;transition:transform .22s,opacity .22s;overflow-y:auto;transform:scale(.93)translateY(12px)}.um-modal-overlay.um-open .um-modal{opacity:1;transform:scale(1)translateY(0)}.um-modal-header{border-bottom:1px solid var(--glass-border);background:inherit;z-index:1;-webkit-backdrop-filter:blur(12px);border-radius:20px 20px 0 0;justify-content:space-between;align-items:center;padding:20px 22px 16px;display:flex;position:sticky;top:0}.um-modal-title{color:var(--text-primary);align-items:center;gap:8px;font-size:1rem;font-weight:700;display:flex}.um-modal-title .material-icons-round{background:linear-gradient(135deg, var(--primary), var(--secondary));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:22px}.um-modal-close{background:var(--glass-bg);width:32px;height:32px;color:var(--text-muted);cursor:pointer;border:none;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex}.um-modal-close:hover{background:var(--glass-hover);color:var(--text-primary)}.um-modal-close .material-icons-round{font-size:18px}.um-modal-body{padding:20px 22px 24px}.um-profile-avatar{justify-content:center;margin-bottom:20px;display:flex}.um-profile-avatar .material-icons-round{background:linear-gradient(135deg, var(--primary), var(--secondary));-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:72px}.um-profile-rows{flex-direction:column;gap:4px;display:flex}.um-profile-row{border:1px solid var(--glass-border);background:#ffffff0a;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.um-profile-lbl{color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em;font-size:.75rem;font-weight:600}.um-profile-val{color:var(--text-primary);text-align:right;text-overflow:ellipsis;white-space:nowrap;max-width:60%;font-size:.85rem;font-weight:500;overflow:hidden}.um-mono{font-family:Courier New,monospace;font-size:.78rem}.um-plan-badge{color:var(--accent);background:linear-gradient(135deg,#6366f140,#8b5cf640);border:1px solid #6366f159;border-radius:20px;align-items:center;padding:3px 12px;font-size:.75rem;font-weight:700;display:inline-flex}.um-usage-period{color:var(--text-secondary);border:1px solid var(--glass-border);background:#ffffff0a;border-radius:10px;margin-bottom:20px;padding:10px 14px;font-size:.82rem}.um-donuts-grid{grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px;display:grid}.um-donut-card{border:1px solid var(--glass-border);background:#ffffff0a;border-radius:14px;flex-direction:column;align-items:center;gap:6px;padding:14px 10px 12px;transition:all .2s;display:flex}.um-donut-card:hover{background:var(--glass-hover)}.um-donut-wrap{justify-content:center;align-items:center;width:72px;height:72px;display:flex;position:relative}.um-donut-svg{width:72px;height:72px}.um-donut-track{fill:none;stroke:#ffffff14;stroke-width:3.5px}.um-donut-pct{font-size:.7rem;font-weight:800;line-height:1;position:absolute}.um-donut-label{color:var(--text-secondary);text-align:center;font-size:.72rem;font-weight:600}.um-donut-nums{color:var(--text-muted);text-align:center;font-size:.68rem}.um-storage-section{border:1px solid var(--glass-border);background:#ffffff0a;border-radius:12px;padding:14px}.um-storage-header{color:var(--text-secondary);justify-content:space-between;align-items:center;margin-bottom:10px;font-size:.82rem;display:flex}.um-progress-track{background:#ffffff14;border-radius:4px;height:8px;overflow:hidden}.um-progress-fill{border-radius:4px;height:100%;transition:width .6s}.um-storage-sub{color:var(--text-muted);text-align:right;margin-top:6px;font-size:.72rem}.um-billing-hero{background:linear-gradient(135deg,#6366f11a,#8b5cf61a);border:1px solid #6366f140;border-radius:14px;align-items:center;gap:14px;margin-bottom:16px;padding:16px;display:flex}.um-billing-hero-icon{background:linear-gradient(135deg, var(--primary), var(--secondary));border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.um-billing-hero-icon .material-icons-round{color:#fff;font-size:24px}.um-billing-hero-info{flex:1}.um-billing-plan-name{color:var(--text-primary);font-size:1rem;font-weight:700}.um-billing-plan-price{color:var(--text-muted);margin-top:2px;font-size:.8rem}.um-status-badge{white-space:nowrap;border-radius:20px;padding:4px 12px;font-size:.72rem;font-weight:700}.um-status--active{color:#34d399;background:#10b98126;border:1px solid #10b9814d}.um-status--trial{color:#fbbf24;background:#f59e0b26;border:1px solid #f59e0b4d}.um-status--inactive{color:#94a3b8;background:#64748b26;border:1px solid #64748b4d}.um-status--expired{color:#f87171;background:#ef444426;border:1px solid #ef44444d}.um-billing-rows{flex-direction:column;gap:4px;margin-bottom:16px;display:flex}.um-billing-row{border:1px solid var(--glass-border);color:var(--text-secondary);background:#ffffff0a;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 14px;font-size:.84rem;display:flex}.um-billing-row strong{color:var(--text-primary);font-weight:600}.um-upgrade-btn{background:linear-gradient(135deg, var(--primary), var(--secondary));color:#fff;cursor:pointer;border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px;font-family:inherit;font-size:.875rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 4px 16px #6366f166}.um-upgrade-btn:hover{transform:translateY(-1px);box-shadow:0 6px 20px #6366f180}.um-upgrade-btn .material-icons-round{font-size:20px}.um-sync-btn{color:#4ade80;cursor:pointer;background:#22c55e1a;border:1.5px solid #22c55e59;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:10px 16px;font-family:inherit;font-size:.875rem;font-weight:600;transition:all .2s;display:flex}.um-sync-btn:hover:not(:disabled){background:#22c55e2e;border-color:#22c55e99;transform:translateY(-1px);box-shadow:0 4px 12px #22c55e40}.um-sync-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.search-panel{background:var(--glass-bg);border-bottom:1px solid #0000;flex-direction:column;gap:0;max-height:0;padding:0 12px;transition:max-height .25s,padding .25s,border-color .25s;display:flex;overflow:hidden}.search-panel.open{border-bottom-color:var(--glass-border);max-height:200px;padding:10px 12px 12px}.search-tabs{align-items:center;gap:4px;margin-bottom:10px;display:flex}.search-tab{color:var(--text-muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:5px;padding:5px 12px;font-size:.8rem;font-weight:500;transition:all .15s;display:flex}.search-tab:hover{color:var(--text-primary);background:#ffffff12}.search-tab.active{color:#818cf8;background:#6366f12e;border-color:#6366f166}.search-tab .material-icons-round{font-size:15px}.search-panel-close{width:28px;height:28px;color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;margin-left:auto;transition:all .15s;display:flex}.search-panel-close:hover{color:var(--text-primary);background:#ffffff12}.search-panel-close .material-icons-round{font-size:17px}.search-tab-content{flex-direction:column;gap:6px;display:none}.search-tab-content.active{display:flex}.search-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.search-select-wrap{flex:1;align-items:center;gap:6px;min-width:160px;display:flex}.search-label{color:var(--text-muted);white-space:nowrap;flex-shrink:0;font-size:.75rem}.search-select{color:var(--text-primary);border:1px solid var(--glass-border);cursor:pointer;background:#00000040;border-radius:8px;outline:none;flex:1;padding:6px 10px;font-size:.82rem;transition:border-color .15s}.search-select:focus{border-color:#6366f180}.search-input{color:var(--text-primary);border:1px solid var(--glass-border);background:#00000040;border-radius:8px;outline:none;flex:1;min-width:200px;padding:7px 12px;font-size:.82rem;transition:border-color .15s}.search-input:focus{border-color:#6366f180}.search-input::placeholder{color:var(--text-muted)}.search-btn{flex-shrink:0;padding:6px 14px;font-size:.82rem}.search-hint{color:var(--text-muted);margin:0;font-size:.73rem;line-height:1.4}.search-status-bar{color:#a5b4fc;background:#6366f11f;border-bottom:1px solid #6366f140;flex-shrink:0;align-items:center;gap:8px;padding:7px 16px;font-size:.8rem;display:flex}.search-status-bar .material-icons-round{color:#818cf8}.search-result-card{border:1px solid #6366f14d!important}.um-settings-section{border:1px solid var(--glass-border);background:#ffffff0a;border-radius:14px;margin-bottom:12px;padding:14px}.um-settings-section:last-child{margin-bottom:0}.um-settings-section-title{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px;font-size:.7rem;font-weight:700}.um-settings-row{cursor:pointer;border-radius:8px;justify-content:space-between;align-items:center;padding:10px 2px;transition:all .15s;display:flex}.um-settings-row+.um-settings-row{border-top:1px solid var(--glass-border);margin-top:2px;padding-top:12px}.um-settings-row:hover{background:#ffffff0a}.um-settings-row--dim{cursor:default;opacity:.55}.um-settings-row--dim:hover{background:0 0}.um-settings-row-info{align-items:center;gap:12px;display:flex}.um-settings-row-info .material-icons-round{color:var(--text-muted);font-size:20px}.um-settings-row-label{color:var(--text-primary);font-size:.85rem;font-weight:600}.um-settings-row-desc{color:var(--text-muted);margin-top:2px;font-size:.72rem}.um-toggle-btn{cursor:pointer;background:#ffffff1f;border:none;border-radius:12px;flex-shrink:0;width:44px;height:24px;transition:background .25s;position:relative}.um-toggle-btn.um-toggle-on{background:linear-gradient(135deg, var(--primary), var(--secondary))}.um-toggle-knob{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .25s;position:absolute;top:3px;left:3px;box-shadow:0 1px 4px #0000004d}.um-toggle-btn.um-toggle-on .um-toggle-knob{transform:translate(20px)}.um-soon-badge{color:var(--text-muted);white-space:nowrap;background:#64748b33;border-radius:8px;padding:2px 8px;font-size:.68rem;font-weight:700}[data-theme=light] .user-menu-btn{color:var(--text-secondary);background:#fff;border-color:#11182724}[data-theme=light] .user-menu-btn:hover{color:#4f46e5;background:#4f46e50f;border-color:#4f46e5}[data-theme=light] .user-dropdown{background:#fff;border-color:#1118271a;box-shadow:0 8px 32px #11182724,0 0 0 1px #1118270f}[data-theme=light] .user-dropdown-item{color:var(--text-secondary)}[data-theme=light] .user-dropdown-item:hover{color:#4f46e5;background:#4f46e512}[data-theme=light] .user-dropdown-item--danger{color:#dc2626}[data-theme=light] .user-dropdown-item--danger:hover{color:#dc2626;background:#dc262612}[data-theme=light] .user-dropdown-header{border-bottom-color:#11182717}[data-theme=light] .user-dropdown-divider{background:#11182712}[data-theme=light] .um-modal-overlay{background:#11182759}[data-theme=light] .um-modal{background:#fff;border-color:#1118271a;box-shadow:0 24px 60px #1118272e}[data-theme=light] .um-modal-header{background:#fff;border-bottom-color:#11182717}[data-theme=light] .um-modal-close{color:var(--text-muted);background:#1118270d}[data-theme=light] .um-modal-close:hover{color:#4f46e5;background:#4f46e514}[data-theme=light] .um-profile-row,[data-theme=light] .um-billing-row,[data-theme=light] .um-donut-card,[data-theme=light] .um-usage-period,[data-theme=light] .um-storage-section,[data-theme=light] .um-settings-section{background:#f7f8fa;border-color:#11182717}[data-theme=light] .um-donut-track{stroke:#1118271a}[data-theme=light] .um-progress-track{background:#1118271a}[data-theme=light] .um-settings-section-title{color:#4f46e5}[data-theme=light] .um-toggle-btn{background:#11182724}[data-theme=light] .um-toggle-btn.um-toggle-on{background:#4f46e5}[data-theme=light] .um-soon-badge{color:var(--text-muted);background:#11182712}[data-theme=light] .um-billing-hero{background:#4f46e50d;border-color:#4f46e52e}[data-theme=light] .um-upgrade-btn{background:#4f46e5;box-shadow:0 4px 14px #4f46e552}[data-theme=light] .um-upgrade-btn:hover{background:#3730a3;box-shadow:0 6px 20px #4f46e56b}[data-theme=light] .um-plan-badge{color:#4f46e5;background:#4f46e51a;border-color:#4f46e540}[data-theme=light] .um-settings-row:hover{background:#4f46e50d}#arrow-hint{color:orange;animation:.6s ease-in-out infinite arrow-bounce}@keyframes arrow-bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}[data-theme=light] #arrow-hint{color:#4f46e5}.usage-badge{color:var(--primary);background:#6366f11f;border:1px solid #6366f140;border-radius:20px;align-items:center;gap:6px;padding:4px 10px;font-size:.7rem;font-weight:600;display:inline-flex}.usage-badge.warning{color:var(--warning);background:#f59e0b1f;border-color:#f59e0b40}.usage-badge.danger{color:var(--danger);background:#ef44441f;border-color:#ef444440}.tier-badge{text-transform:uppercase;letter-spacing:.05em;border-radius:20px;align-items:center;gap:4px;padding:3px 10px;font-size:.68rem;font-weight:700;display:inline-flex}.tier-badge.mega{color:#818cf8;background:#6366f126}.tier-badge.giga{color:#a78bfa;background:#8b5cf626}.tier-badge.tera{color:#34d399;background:#10b98126}.tier-badge.custom{color:#fbbf24;background:#f59e0b26}.empty-state{color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:48px 24px;display:flex}.empty-state .material-icons-round{opacity:.35;font-size:48px}.empty-state p{max-width:300px;font-size:.85rem}.tag-chip{color:var(--accent);background:#6366f11a;border:1px solid #6366f133;border-radius:20px;align-items:center;gap:4px;padding:3px 10px;font-size:.72rem;font-weight:600;display:inline-flex}.tag-chip .remove{cursor:pointer;opacity:.6;font-size:14px;transition:opacity .2s}.tag-chip .remove:hover{opacity:1}.progress-bar{background:#ffffff14;border-radius:3px;height:6px;overflow:hidden}.progress-bar-fill{background:linear-gradient(90deg, var(--primary), var(--secondary));border-radius:3px;height:100%;transition:width .3s}.progress-bar-fill.warning{background:linear-gradient(90deg, var(--warning), #f97316)}.progress-bar-fill.danger{background:linear-gradient(90deg, var(--danger), #dc2626)}
