:root{font-family:Inter,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;--ink: #172033;--muted: #69758b;--line: #e4e9f1;--surface: #ffffff;--accent: #635bff;--accent-dark: #4a42e5;--accent-soft: #efefff;--green: #19a974;--orange: #ed8a33;--red: #d84c5c;--shadow: 0 16px 44px rgba(43, 55, 86, .08);--page-bg: #f5f7fb;--surface-raised: #ffffff;--surface-soft: #f1f3f8;--surface-hover: #fafbfe;--line-soft: #edf0f5}*{box-sizing:border-box}html{background:var(--page-bg)}body{margin:0;min-width:320px;min-height:100vh;color:var(--ink);background:var(--page-bg);transition:color .2s ease,background-color .2s ease}html,body,*{scrollbar-width:thin;scrollbar-color:#b7bdd0 transparent}*::-webkit-scrollbar{width:9px;height:9px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{min-height:34px;border:2px solid transparent;border-radius:999px;background:#b7bdd0;background-clip:padding-box}*::-webkit-scrollbar-thumb:hover{background-color:#969eb5}*::-webkit-scrollbar-thumb:active{background-color:#7770d9}*::-webkit-scrollbar-corner{background:transparent}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}code{font-family:Cascadia Code,Consolas,monospace}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-loading{min-height:100vh;display:grid;place-items:center;color:var(--muted)}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px minmax(0,1fr);transition:grid-template-columns .2s ease}.app-shell.sidebar-collapsed{grid-template-columns:78px minmax(0,1fr)}.app-shell aside{position:sticky;top:0;z-index:20;height:100vh;padding:24px 16px 18px;background:#11182a;color:#dce2ef;display:flex;flex-direction:column;overflow:hidden}.brand{height:44px;display:flex;align-items:center;gap:11px;padding:0 8px;margin-bottom:30px;white-space:nowrap}.brand-mark{width:36px;height:36px;flex:0 0 auto;border-radius:11px;display:grid;place-items:center;background:linear-gradient(145deg,#7770ff,#5149e7);color:#fff;box-shadow:0 8px 20px #635bff4d}.brand span{display:grid;gap:1px}.brand strong{font-size:18px;letter-spacing:.08em;color:#fff}.brand small{font-size:9px;color:#7f8aa1;letter-spacing:.06em}.app-shell nav{display:grid;gap:5px}.app-shell nav a{position:relative;height:43px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:10px;color:#95a0b6;font-size:14px;font-weight:550;white-space:nowrap;transition:color .18s ease,background-color .18s ease,transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s ease}.app-shell nav a:hover{color:#fff;background:#ffffff0d}.app-shell nav a:active{transform:scale(.975)}.app-shell nav a.active{color:#fff;background:linear-gradient(90deg,#766fff47,#635bff1f);box-shadow:0 5px 18px #3730be1f}.app-shell nav a.active:before{content:"";position:absolute;left:3px;top:10px;bottom:10px;width:4px;border-radius:999px;background:#aaa6ff;box-shadow:0 0 10px #a9a5ffb8;animation:nav-pill-in .2s cubic-bezier(.16,1,.3,1) both}.app-shell nav svg{flex:0 0 auto}.sidebar-note{margin-top:auto;padding:13px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:#ffffff08;white-space:nowrap;overflow:hidden}.sidebar-note div{display:flex;gap:8px;align-items:center;font-size:12px;color:#ced5e3}.sidebar-note i{width:7px;height:7px;border-radius:50%;background:#36d399;box-shadow:0 0 0 4px #36d3991f}.sidebar-note small{display:block;color:#707d95;font-size:10px;margin-top:7px}.theme-toggle{width:100%;min-height:48px;margin-top:auto;padding:8px 11px;border:1px solid rgba(255,255,255,.07);border-radius:11px;display:flex;align-items:center;gap:10px;color:#aeb8ca;background:#ffffff06;cursor:pointer;text-align:left;overflow:hidden}.theme-toggle:hover{color:#fff;background:#ffffff0e;border-color:#ffffff1a}.theme-toggle:active{transform:scale(.98)}.theme-toggle>svg{flex:0 0 auto}.theme-toggle>span{min-width:0;display:grid;gap:2px;white-space:nowrap}.theme-toggle small{color:#68758d;font-size:9px;font-weight:500}.theme-toggle strong{color:inherit;font-size:11px;font-weight:650}.collapse{height:38px;margin-top:11px;border:0;border-radius:9px;display:flex;justify-content:center;align-items:center;gap:7px;background:transparent;color:#68758d;cursor:pointer;font-size:12px}.collapse:hover{background:#ffffff0a;color:#b8c1d2}.sidebar-collapsed .brand span,.sidebar-collapsed nav span,.sidebar-collapsed .sidebar-note,.sidebar-collapsed .theme-toggle span,.sidebar-collapsed .collapse span{display:none}.sidebar-collapsed aside{padding-inline:13px}.sidebar-collapsed nav a{justify-content:center;padding:0}.sidebar-collapsed .theme-toggle{justify-content:center;padding-inline:0}.mobile-top,.mobile-close{display:none}.app-shell main{min-width:0}.page{width:min(1500px,100%);margin:0 auto;padding:42px 46px 72px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;margin-bottom:28px}.page-header h1{margin:0 0 7px;font-size:clamp(26px,3vw,34px);line-height:1.15;letter-spacing:-.04em;color:#121a2b}.page-header p{margin:0;color:var(--muted);font-size:14px;line-height:1.6}.page-actions{display:flex;gap:10px}.button{min-height:38px;padding:0 15px;border:1px solid transparent;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:650;cursor:pointer;transition:.16s ease;white-space:nowrap}.button:disabled{opacity:.48;cursor:not-allowed}.button-primary{background:var(--accent);color:#fff;box-shadow:0 7px 16px #635bff2e}.button-primary:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.button-secondary{background:#fff;border-color:#dce2eb;color:#3e4960}.button-secondary:hover:not(:disabled){border-color:#b9c2d1;background:#fafbfe}.button-ghost{background:transparent;color:#667188}.button-ghost:hover:not(:disabled){background:#f1f3f8;color:#273249}.button-danger{background:#fff0f2;color:var(--red)}.input{width:100%;height:40px;padding:0 12px;border:1px solid #dce2eb;border-radius:9px;background:#fff;color:var(--ink);font-size:13px;outline:0;transition:.16s}.input:focus{border-color:#8c87ff;box-shadow:0 0 0 3px #635bff1c}.select{padding-right:32px}.field{display:grid;gap:7px;color:#4e5a70;font-size:12px;font-weight:650}.field small{color:#8b95a7;font-size:11px;font-weight:400;line-height:1.45}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.input-action{display:grid;grid-template-columns:1fr auto;gap:8px}.switch-line{margin-top:18px;display:flex;align-items:center;gap:9px;font-size:13px;color:#536078}.switch-line input{accent-color:var(--accent);width:16px;height:16px}.muted{color:var(--muted)}.notice{min-height:42px;padding:10px 14px;border-radius:9px;margin-bottom:18px;display:flex;align-items:center;gap:8px;font-size:13px}.notice-error{color:#a83446;background:#fff0f2;border:1px solid #f7d5da}.notice-success{color:#087a54;background:#eafaf4;border:1px solid #c9eee1}.notice-info{color:#4c4ab6;background:#f0efff;border:1px solid #dcdaff}.empty{min-height:320px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;border:1px dashed #d8deea;border-radius:16px;background:#ffffff8c}.empty-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;color:var(--accent);background:var(--accent-soft);font-size:20px;margin-bottom:15px}.empty strong{font-size:17px}.empty p{max-width:420px;margin:8px 20px 0;color:var(--muted);font-size:13px;line-height:1.6}.mini-empty,.loading-line{padding:38px 20px;text-align:center;color:#8a94a7;font-size:13px}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric{position:relative;min-height:108px;padding:20px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 7px 25px #1f2a4409;transition:.17s}.metric:hover{border-color:#cbc9ff;transform:translateY(-2px);box-shadow:var(--shadow)}.metric-icon{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft)}.metric-label{min-width:0;display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:12px;font-weight:550;white-space:nowrap}.metric-label svg{flex:0 0 auto;color:#a9b2c2;transition:transform .17s ease,color .17s ease}.metric:hover .metric-label svg{color:var(--accent);transform:translate(2px,-2px)}.metric-value{font-size:clamp(28px,2.4vw,34px);line-height:1;letter-spacing:-.055em;font-variant-numeric:tabular-nums}.dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px}.panel{border:1px solid var(--line);border-radius:14px;background:var(--surface);box-shadow:0 8px 28px #1f2a4409}.panel>header{min-height:76px;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f5}.panel>header h2{margin:0 0 4px;font-size:16px;color:#212a3d}.panel>header p{margin:0;font-size:11px;color:#8993a5}.panel>header>a{color:var(--accent);font-size:12px;font-weight:650}.capacity-list{padding:2px 22px 8px}.capacity-row{padding:18px 0;border-bottom:1px solid #eff2f6}.capacity-row:last-child{border:0}.capacity-head,.capacity-meta{display:flex;justify-content:space-between;align-items:center}.capacity-head{margin-bottom:10px;font-size:13px}.capacity-head span{display:flex;align-items:center;gap:8px;font-weight:650}.capacity-head i{width:7px;height:7px;border-radius:50%;background:#aeb6c5}.capacity-head i.online{background:var(--green)}.capacity-head strong{font-size:12px}.capacity-meta{margin-top:8px;color:#8a94a6;font-size:10px}.progress{height:6px;overflow:hidden;border-radius:999px;background:#edf0f5}.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#716aff,#5951eb);transition:width .35s ease}.task-list{padding:5px 13px 12px}.task-row{padding:13px 10px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border-bottom:1px solid #eff2f6}.task-row:last-child{border:0}.task-row:hover{background:#fafbfe;border-radius:9px}.task-symbol{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#f1f2f7;color:#6f7990;font-size:11px;font-weight:700}.task-row>div:nth-child(2){display:grid;gap:4px}.task-row strong{font-size:12px}.task-row span{color:#8a94a6;font-size:10px}.status{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#69758b;white-space:nowrap}.status i{width:7px;height:7px;border-radius:50%;background:#98a2b3}.status-running i,.status-pending i,.status-pausing i,.status-canceling i{background:#6a63f5;box-shadow:0 0 0 3px #e7e6ff}.status-succeeded i{background:var(--green)}.status-failed i,.status-canceled i{background:var(--red)}.status-paused i{background:var(--orange)}.quick-strip{min-height:84px;margin-top:18px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border:1px solid #dedcff;border-radius:14px;background:linear-gradient(100deg,#f1f0ff,#fbfbff)}.quick-strip>div{display:flex;align-items:center;gap:13px;color:var(--accent)}.quick-strip>div span{display:grid;gap:4px;color:var(--ink)}.quick-strip strong{font-size:13px}.quick-strip small{color:var(--muted);font-size:11px}.quick-strip>a{display:flex;align-items:center;gap:5px;color:var(--accent);font-size:12px;font-weight:650}.library-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.library-card{padding:21px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 28px #1f2a4409}.library-card>header,.library-card>footer{display:flex;justify-content:space-between;align-items:center}.library-title{display:flex;align-items:center;gap:12px}.library-state{width:39px;height:39px;display:grid;place-items:center;border-radius:11px;background:#f1f3f7;color:#98a2b3}.library-state.enabled{color:var(--green);background:#e9f9f3}.library-title h2{margin:0 0 3px;font-size:16px}.library-title p{margin:0;color:var(--muted);font-size:11px}.region,.algorithm,.match-tag,.warning-tag{display:inline-flex;align-items:center;min-height:23px;padding:0 8px;border-radius:6px;background:#f1f3f7;color:#677288;font-size:10px;font-weight:650}.library-quota{display:flex;justify-content:space-between;align-items:end;margin:25px 0 9px}.library-quota>div{display:grid;gap:6px}.library-quota span{color:var(--muted);font-size:10px}.library-quota strong{font-size:17px}.library-quota strong small{color:var(--muted);font-size:11px;font-weight:500}.library-meta{margin:18px 0;padding:14px 0;display:grid;grid-template-columns:repeat(3,1fr);border-block:1px solid #eff2f6}.library-meta span{display:grid;gap:5px;color:#8b95a7;font-size:9px}.library-meta strong{color:#334057;font-size:11px;font-weight:650}.credential-line{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:7px;color:#8791a3;font-size:9px}.credential-line code{overflow:hidden;text-overflow:ellipsis;color:#556177;font-size:9px}.library-card>footer{margin-top:18px}.library-card>footer>div{display:flex;gap:5px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px;background:#fff}table{width:100%;border-collapse:collapse;min-width:880px}th{height:43px;padding:0 15px;text-align:left;color:#8791a4;background:#fafbfc;border-bottom:1px solid var(--line);font-size:10px;font-weight:650;letter-spacing:.02em}td{min-height:58px;padding:13px 15px;border-bottom:1px solid #eef1f5;color:#556178;font-size:12px}tr:last-child td{border:0}td strong{color:#263147}.cell-note{display:block;max-width:360px;margin-top:5px;color:#929bad;font-size:9px;overflow:hidden;text-overflow:ellipsis}.path-code{color:#59657c;font-size:10px}.row-actions{display:flex;justify-content:flex-end;gap:2px}.row-actions button{width:31px;height:31px;border:0;border-radius:7px;display:grid;place-items:center;color:#7a8599;background:transparent;cursor:pointer}.row-actions button:hover{color:var(--accent);background:var(--accent-soft)}.tag{min-height:22px;padding:0 8px;display:inline-flex;align-items:center;border-radius:6px;font-size:10px;font-weight:650}.tag-normal{color:#3f58b9;background:#edf1ff}.tag-movie{color:#a85e13;background:#fff3e6}.scan-launch{min-height:112px;margin-bottom:18px;padding:22px;display:flex;justify-content:space-between;align-items:center;gap:25px;border-radius:14px;color:#fff;background:#202a42;box-shadow:0 12px 32px #141d311f}.scan-launch h2{margin:0 0 7px;font-size:16px}.scan-launch p{margin:0;color:#aeb8ca;font-size:11px}.scan-controls{display:flex;gap:8px}.scan-controls .input{width:170px;color:#dbe1eb;border-color:#424c62;background:#2d374e}.task-table{padding:0 22px}.scan-history-tools{padding:12px 22px;border-bottom:1px solid #edf0f5;background:#fcfcfd}.scan-history-tools .input{width:min(320px,100%);height:36px;background:#fff}.scan-history-pagination{padding:0 22px 6px;border-top:1px solid #edf0f5;background:#fcfcfd;border-radius:0 0 14px 14px}.scan-history-pagination .pagination{min-height:62px;padding-top:6px}.task-detail-row{min-height:72px;padding:13px 3px;display:grid;grid-template-columns:180px minmax(180px,1fr) 95px 110px;align-items:center;gap:20px;border-bottom:1px solid #edf0f5}.task-detail-row:last-child{border:0}.task-detail-row>div:first-child{display:grid;gap:5px}.task-detail-row strong{font-size:12px}.task-detail-row span{color:#8a94a6;font-size:10px}.task-progress>div:first-child{margin-bottom:7px;display:flex;justify-content:space-between}.task-result{color:#7b869a;font-size:10px}.search-bar{height:60px;padding:9px 10px 9px 18px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;border:1px solid #dce2eb;border-radius:14px;background:#fff;box-shadow:0 10px 30px #1f2a440d}.search-bar>svg{color:#8a94a6}.search-bar .input{border:0;box-shadow:none;font-size:15px}.filter-bar{min-height:54px;padding:10px 4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-bar>span:first-child{margin-right:5px;display:flex;align-items:center;gap:6px;color:#788398;font-size:11px}.filter-bar .input{width:auto;min-width:150px;height:34px;font-size:11px;background:transparent}.list-tools{min-height:54px;margin-bottom:10px;display:flex;align-items:center;gap:10px}.list-tools .input{width:min(340px,100%)}.list-tools>span{margin-left:auto;color:var(--muted);font-size:11px}.pagination{min-height:58px;padding-top:14px;display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--muted);font-size:11px}.pagination>div{display:flex;align-items:center;gap:8px}.pagination .select{width:110px;height:34px}.pagination .button{min-height:34px;padding-inline:12px}.result-summary{display:flex;align-items:center;gap:10px;margin:8px 0 12px;color:#7b8699;font-size:11px}.result-summary>span:first-child{display:flex;gap:5px;align-items:center}.result-summary strong{color:#273248}.warning-tag{color:#a75c12;background:#fff1e2}.search-welcome{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.search-welcome>div{width:54px;height:54px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft);border-radius:16px}.search-welcome h2{margin:17px 0 7px;font-size:18px}.search-welcome p{max-width:500px;margin:0;color:var(--muted);font-size:12px}.search-results{display:grid;gap:8px}.search-results article{min-height:88px;padding:14px 18px;display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:16px;border:1px solid var(--line);border-radius:12px;background:#fff;transition:.15s}.search-results article:hover{border-color:#c9c6ff;box-shadow:0 8px 24px #1f2a440e}.result-score{position:relative;width:52px;height:52px;display:grid;place-items:center;align-content:center;color:var(--accent)}.result-score svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);overflow:visible}.result-score circle{fill:none;stroke-width:4}.result-score-track{stroke:#e7e6ff}.result-score-progress{stroke:currentColor;stroke-linecap:round;transition:stroke-dashoffset .55s cubic-bezier(.16,1,.3,1)}.result-score strong{position:relative;line-height:1;font-size:16px}.result-score span{position:relative;margin-top:3px;color:#8a94a6;font-size:8px}.result-main>div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.result-main h3{margin:0;font-size:14px}.result-main code{display:block;margin:7px 0 4px;color:#6f7a8f;font-size:10px}.result-main p{margin:0;color:#9aa2b1;font-size:9px}.result-meta{display:grid;gap:6px;text-align:right;color:#48536a;font-size:11px}.result-meta small{color:#979faf;font-size:9px}.stale-results{opacity:.55;transition:opacity .2s .15s}.threshold-strip{min-height:68px;padding:13px 16px;display:flex;align-items:end;gap:13px;border:1px solid var(--line);border-radius:12px;background:#fff}.threshold-strip>svg{align-self:center;color:var(--accent);margin-right:3px}.threshold-strip label{display:grid;gap:5px;color:#788398;font-size:9px}.threshold-strip .input{width:105px;height:32px}.tabs{height:62px;display:flex;align-items:end;gap:4px;border-bottom:1px solid var(--line);margin-bottom:16px}.tabs button{height:45px;padding:0 15px;border:0;border-bottom:2px solid transparent;background:transparent;color:#7f899b;cursor:pointer;font-size:12px;font-weight:650}.tabs button.active{color:var(--accent);border-color:var(--accent)}.tabs button span{margin-left:5px;color:#9ba4b4}.tabs .input{width:130px;height:32px;margin:0 0 8px auto}.duplicate-list{display:grid;gap:12px}.duplicate-list article{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.duplicate-list article.ignored{opacity:.62}.duplicate-list article>header{min-height:67px;padding:15px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf0f5}.duplicate-list article>header>div{display:flex;align-items:center;gap:8px}.duplicate-list h2{margin:0 5px 0 0;font-size:15px}.duplicate-list article>header>strong{font-size:19px;color:var(--accent)}.duplicate-members{padding:5px 18px}.duplicate-members-scroll{max-height:260px;overflow:auto;scrollbar-gutter:stable}.duplicate-collapse{margin-left:auto}.duplicate-members>div{min-height:66px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;border-bottom:1px solid #f0f2f6}.duplicate-members>div:last-child{border:0}.member-dot{width:8px;height:8px;border-radius:50%;background:#8c87ff;box-shadow:0 0 0 4px #eeedff}.duplicate-members>div>div{display:grid;gap:4px}.duplicate-members strong{font-size:12px}.duplicate-members code{color:#758095;font-size:9px}.duplicate-members small{color:#9aa3b2;font-size:9px}.duplicate-members>div>span:last-child{color:#657087;font-size:10px}.duplicate-list article>footer{padding:12px 14px;display:flex;justify-content:flex-end;gap:7px;border-top:1px solid #edf0f5;background:#fcfcfd}.wizard-steps{min-height:50px;margin-bottom:18px;display:flex;align-items:center;justify-content:center;gap:10px;color:#929bad;font-size:11px}.wizard-steps span{display:flex;align-items:center;gap:6px}.wizard-steps i{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#e9edf3;color:#7f899b;font-style:normal;font-size:10px}.wizard-steps span.active,.wizard-steps span.done{color:#413cbd}.wizard-steps span.active i,.wizard-steps span.done i{color:#fff;background:var(--accent)}.wizard-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.select-source-list{padding:6px 20px 14px}.select-source-list label{min-height:75px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;border-bottom:1px solid #edf0f5;cursor:pointer}.select-source-list label:last-child{border:0}.select-source-list input{width:17px;height:17px;accent-color:var(--accent)}.select-source-list span{display:grid;gap:4px}.select-source-list strong{font-size:12px}.select-source-list code{color:#68748a;font-size:9px}.select-source-list small{color:#97a0b0;font-size:9px}.merge-target{padding-bottom:20px}.merge-target>.field,.merge-target>.button,.merge-target>.final-path{margin:15px 20px 0}.final-path{padding:12px;display:grid;gap:6px;border-radius:9px;background:#f4f5fa}.final-path span{color:#8b95a7;font-size:9px}.final-path code{overflow-wrap:anywhere;color:#4b5670;font-size:10px}.merge-target>.button{width:calc(100% - 40px)}.preflight{margin-top:18px;border:1px solid #cae9df;border-radius:14px;overflow:hidden;background:#fff}.preflight>header{padding:17px 20px;display:flex;justify-content:space-between;align-items:center;background:#ecfaf5;color:#1a795a}.preflight>header>div{display:flex;align-items:center;gap:10px}.preflight>header span{display:grid;gap:3px;font-size:11px}.preflight>header small{color:#679582;font-size:9px}.conflict-list{padding:9px 20px}.conflict-list>div{min-height:47px;display:grid;grid-template-columns:50px 1fr auto;align-items:center;border-bottom:1px solid #eff2f5;font-size:10px}.conflict-list>div:last-child{border:0}.conflict-list small{color:#8a94a6}.preflight>footer{padding:13px 20px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5}.preflight>footer p{margin:0;color:#7e899c;font-size:10px}.task-filters{padding-top:0}.task-filters>span:last-child{margin-left:auto;color:#7d8799;font-size:10px}.table-progress{display:grid;grid-template-columns:minmax(90px,150px) auto;gap:8px;align-items:center}.table-progress span{font-size:9px}.error-text{color:var(--red);max-width:280px}.task-detail-head{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:15px;margin-bottom:10px}.task-detail-head>span{color:#8a94a6;font-size:10px}.transfer-list,.log-list{margin-top:22px}.transfer-list h3,.log-list h3{margin:0 0 9px;font-size:12px}.transfer-list>div{padding:10px 12px;display:grid;gap:5px;border:1px solid #e8ecf2;border-radius:8px;margin-bottom:7px}.transfer-list>div>div{display:flex;justify-content:space-between;font-size:10px}.transfer-list code{color:#788398;font-size:8px;overflow-wrap:anywhere}.transfer-list small{color:#919aab;font-size:9px}.log-list{max-height:320px;overflow:auto;padding:14px;border:1px solid #263148;border-radius:10px;background:#111a2b;color:#d2d8e4;box-shadow:inset 0 1px #ffffff09;scrollbar-gutter:stable}.log-list{scrollbar-color:#56627a transparent}.log-list::-webkit-scrollbar-thumb{background-color:#56627a}.log-list::-webkit-scrollbar-thumb:hover{background-color:#73809a}.log-list h3{color:#fff}.log-list>div{min-height:28px;display:grid;grid-template-columns:90px 1fr;gap:10px;align-items:start;font-family:Cascadia Code,Consolas,monospace;font-size:9px;line-height:1.5}.log-list time{color:#6f7b92}.log-error span{color:#ff9aa7}.log-warning span{color:#ffc886}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-section{padding-bottom:21px}.settings-section>.field,.settings-section>.form-grid,.settings-section>.button{margin:17px 20px 0}.settings-section>.form-grid{gap:12px}.modal-backdrop{position:fixed;inset:0;z-index:100;padding:24px;display:grid;place-items:center;background:#0a111f7a;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:backdrop-in .2s ease-out both}.modal{width:min(520px,100%);max-height:calc(100vh - 48px);padding:22px;overflow:auto;border-radius:16px;background:#fff;box-shadow:0 28px 80px #0b122047;transform-origin:center;animation:modal-in .28s cubic-bezier(.16,1,.3,1) both}.modal-wide{width:min(780px,100%)}.modal>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.modal>header h2{margin:0;font-size:18px}.modal>header button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;color:#7d8799;background:#f3f5f8;cursor:pointer}.modal-footer{min-height:58px;margin-top:21px;padding-top:16px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f5}.modal-footer>div{display:flex;gap:8px}.browser-path{height:43px;padding:0 12px;display:flex;align-items:center;gap:9px;border-radius:9px;background:#f2f4f8;color:#5d697f;font-size:11px}.browser-path button{width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:#667188;cursor:pointer}.browser-path button:disabled{opacity:.35}.folder-list{min-height:260px;max-height:390px;margin-top:12px;overflow:auto;border:1px solid #e5e9f0;border-radius:10px}.folder-list>button{width:100%;min-height:57px;padding:8px 14px;display:flex;align-items:center;gap:11px;border:0;border-bottom:1px solid #edf0f5;text-align:left;color:#7a8599;background:#fff;cursor:pointer}.folder-list>button:hover{background:#f7f7ff;color:var(--accent)}.folder-list>button span{display:grid;gap:4px;color:#344057}.folder-list>button small{color:#959eae;font-size:9px}[data-theme=dark]{--ink: #e8edf6;--muted: #9ba7ba;--line: #2b3547;--surface: #171f2d;--accent: #4da6ff;--accent-dark: #79bcff;--accent-soft: #172f49;--green: #48c995;--orange: #f0a458;--red: #ff7182;--shadow: 0 18px 48px rgba(0, 0, 0, .28);--page-bg: #0d131e;--surface-raised: #171f2d;--surface-soft: #202a3a;--surface-hover: #1c2636;--line-soft: #252f40}[data-theme=dark],[data-theme=dark] body{scrollbar-color:#455166 transparent}[data-theme=dark] *::-webkit-scrollbar-thumb{background-color:#455166}[data-theme=dark] *::-webkit-scrollbar-thumb:hover{background-color:#5c6a82}[data-theme=dark] .app-shell aside{background:#0a101a}[data-theme=dark] .brand-mark{background:linear-gradient(145deg,#3195ef,#1672c4);box-shadow:0 8px 22px #258ce83d}[data-theme=dark] .app-shell nav a.active{background:linear-gradient(90deg,#3195ef40,#3195ef14);box-shadow:0 5px 18px #004c8f29}[data-theme=dark] .app-shell nav a.active:before{background:#71bcff;box-shadow:0 0 10px #5db7ff94}[data-theme=dark] .page-header h1,[data-theme=dark] .panel>header h2,[data-theme=dark] td strong,[data-theme=dark] .result-summary strong,[data-theme=dark] .folder-list>button span{color:var(--ink)}[data-theme=dark] .metric,[data-theme=dark] .library-card,[data-theme=dark] .table-wrap,[data-theme=dark] .search-bar,[data-theme=dark] .search-results article,[data-theme=dark] .threshold-strip,[data-theme=dark] .duplicate-list article,[data-theme=dark] .preflight,[data-theme=dark] .modal,[data-theme=dark] .folder-list>button{background:var(--surface-raised)}[data-theme=dark] .button-secondary,[data-theme=dark] .input,[data-theme=dark] .scan-history-tools .input,[data-theme=dark] .mobile-top{color:var(--ink);background:var(--surface-raised);border-color:var(--line)}[data-theme=dark] .button-secondary{color:#cbd4e3;border-color:#3a465a}[data-theme=dark] .button-secondary:hover:not(:disabled),[data-theme=dark] .button-ghost:hover:not(:disabled),[data-theme=dark] .task-row:hover,[data-theme=dark] .folder-list>button:hover{background:var(--surface-hover)}[data-theme=dark] .button-ghost,[data-theme=dark] .mobile-top button,[data-theme=dark] .field,[data-theme=dark] .switch-line{color:#aeb9ca}[data-theme=dark] .button-danger{background:#3b2029}[data-theme=dark] .input{color:var(--ink);border-color:#39465a}[data-theme=dark] .input::placeholder{color:#6f7c91}[data-theme=dark] .notice-error{color:#ff9ba7;background:#381d26;border-color:#64313e}[data-theme=dark] .notice-success{color:#70d8ae;background:#123126;border-color:#235343}[data-theme=dark] .notice-info{color:#8ac6ff;background:#142b42;border-color:#294a68}[data-theme=dark] .empty{background:#171f2db8;border-color:#39465a}[data-theme=dark] .metric:hover,[data-theme=dark] .search-results article:hover{border-color:#3e78a9}[data-theme=dark] .panel>header,[data-theme=dark] .capacity-row,[data-theme=dark] .task-row,[data-theme=dark] .library-meta,[data-theme=dark] td,[data-theme=dark] .scan-history-tools,[data-theme=dark] .scan-history-pagination,[data-theme=dark] .task-detail-row,[data-theme=dark] .duplicate-list article>header,[data-theme=dark] .duplicate-members>div,[data-theme=dark] .duplicate-list article>footer,[data-theme=dark] .select-source-list label,[data-theme=dark] .conflict-list>div,[data-theme=dark] .preflight>footer,[data-theme=dark] .modal-footer,[data-theme=dark] .folder-list,[data-theme=dark] .folder-list>button{border-color:var(--line-soft)}[data-theme=dark] th,[data-theme=dark] .scan-history-tools,[data-theme=dark] .scan-history-pagination,[data-theme=dark] .duplicate-list article>footer{background:#141c29}[data-theme=dark] td,[data-theme=dark] .library-meta strong,[data-theme=dark] .credential-line code,[data-theme=dark] .path-code,[data-theme=dark] .result-main code,[data-theme=dark] .result-meta,[data-theme=dark] .final-path code{color:#b4bfd0}[data-theme=dark] .progress{background:#293548}[data-theme=dark] .progress span{background:linear-gradient(90deg,#2b98ed,#65b7f4)}[data-theme=dark] .status-running i,[data-theme=dark] .status-pending i,[data-theme=dark] .status-pausing i,[data-theme=dark] .status-canceling i{background:#4da6ff;box-shadow:0 0 0 3px #183856}[data-theme=dark] .quick-strip{border-color:#254b6d;background:linear-gradient(100deg,#13283c,#172435)}[data-theme=dark] .library-state,[data-theme=dark] .region,[data-theme=dark] .algorithm,[data-theme=dark] .match-tag,[data-theme=dark] .task-symbol,[data-theme=dark] .wizard-steps i,[data-theme=dark] .final-path,[data-theme=dark] .browser-path,[data-theme=dark] .modal>header button{color:#aab6c8;background:var(--surface-soft)}[data-theme=dark] .library-state.enabled{color:var(--green);background:#15352b}[data-theme=dark] .tag-normal{color:#9bb8ff;background:#1d3159}[data-theme=dark] .tag-movie,[data-theme=dark] .warning-tag{color:#ffc17e;background:#442d18}[data-theme=dark] .scan-launch{background:#162235;box-shadow:0 12px 32px #0000003d}[data-theme=dark] .scan-controls .input{color:#e2e8f1;border-color:#40516b;background:#202d42}[data-theme=dark] .result-score-track{stroke:#294766}[data-theme=dark] .member-dot{background:#4da6ff;box-shadow:0 0 0 4px #183856}[data-theme=dark] .wizard-steps span.active,[data-theme=dark] .wizard-steps span.done{color:#79bcff}[data-theme=dark] .preflight{border-color:#265b4a}[data-theme=dark] .preflight>header{color:#77d8b4;background:#15352b}[data-theme=dark] .modal-backdrop{background:#03070cad}.page{animation:page-in .32s cubic-bezier(.16,1,.3,1)}.panel,.metric,.library-card,.search-results article,.duplicate-list article,.table-wrap,.notice,.modal,.input,.search-bar,.mobile-top{transition:transform .2s cubic-bezier(.2,.8,.2,1),color .2s ease,background-color .2s ease,box-shadow .2s ease,border-color .2s ease,opacity .2s ease}.button,.theme-toggle,.row-actions button,.modal>header button,.folder-list>button,.tabs button{transition:transform .16s cubic-bezier(.2,.8,.2,1),color .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.button:active,.row-actions button:active,.modal>header button:active,.folder-list>button:active,.tabs button:active{transform:scale(.97)}.notice{animation:notice-in .24s cubic-bezier(.16,1,.3,1) both}@keyframes backdrop-in{0%{opacity:0;-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0)}to{opacity:1;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}@keyframes modal-in{0%{opacity:0;transform:translateY(14px) scale(.965)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes page-in{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes notice-in{0%{opacity:0;transform:translateY(-5px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes nav-pill-in{0%{opacity:0;transform:scaleY(.45)}to{opacity:1;transform:scaleY(1)}}@media(max-width:1100px){.page{padding-inline:30px}.metric-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.wizard-grid,.library-list,.settings-grid{grid-template-columns:1fr}.scan-launch{align-items:flex-start;flex-direction:column}.scan-controls{width:100%;flex-wrap:wrap}.task-detail-row{grid-template-columns:150px 1fr auto}.task-detail-row>:last-child{grid-column:2 / 4}}@media(max-width:760px){.app-shell,.app-shell.sidebar-collapsed{display:block}.app-shell aside{position:fixed;left:-270px;width:250px;transition:left .2s;box-shadow:20px 0 50px #0000002e}.app-shell aside.mobile-open{left:0}.app-shell aside.mobile-open:after{content:"";position:fixed;inset:0 0 0 250px;background:#090f1b59;z-index:-1}.app-shell aside.mobile-open .brand span,.app-shell aside.mobile-open nav span,.app-shell aside.mobile-open .sidebar-note,.app-shell aside.mobile-open .theme-toggle span{display:initial}.app-shell aside.mobile-open nav a{justify-content:flex-start;padding:0 12px}.collapse{display:none}.mobile-close{display:grid;place-items:center;margin-left:auto;border:0;background:transparent;color:#94a0b5}.mobile-top{height:54px;padding:0 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:#fff;font-weight:700}.mobile-top button{width:34px;height:34px;display:grid;place-items:center;border:0;background:transparent;color:#556178}.page{padding:26px 17px 55px}.page-header{margin-bottom:21px;flex-direction:column;gap:15px}.page-actions,.page-actions .button{width:100%}.metric-grid{grid-template-columns:1fr 1fr;gap:9px}.metric{min-height:112px;padding:15px;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;row-gap:8px}.metric-label{font-size:10px}.metric-label svg{width:12px;height:12px}.metric-icon{width:35px;height:35px}.metric-value{grid-column:2;font-size:25px;justify-self:start}.dashboard-grid{gap:12px}.quick-strip{align-items:flex-start;flex-direction:column;gap:15px}.library-meta{gap:8px}.credential-line{grid-template-columns:auto 1fr}.library-card>footer{align-items:flex-start;flex-direction:column;gap:8px}.form-grid{grid-template-columns:1fr}.scan-controls .input,.scan-controls .button{width:100%}.scan-history-tools,.scan-history-pagination{padding-inline:14px}.task-detail-row{padding-block:16px;grid-template-columns:1fr auto;gap:10px}.task-detail-row>.task-progress,.task-detail-row>:last-child{grid-column:1 / 3}.search-bar{height:auto;grid-template-columns:auto 1fr}.search-bar .button{grid-column:1 / 3;width:100%}.filter-bar .input{flex:1 1 140px;min-width:0}.list-tools,.pagination{align-items:stretch;flex-direction:column}.list-tools .input{width:100%}.list-tools>span{margin-left:0}.pagination>div{width:100%;flex-wrap:wrap}.pagination .select{flex:1 1 120px}.search-results article{grid-template-columns:52px 1fr}.result-meta{grid-column:2;text-align:left}.threshold-strip{align-items:stretch;flex-wrap:wrap}.threshold-strip label{flex:1 1 90px}.threshold-strip .input{width:100%}.wizard-steps{overflow:auto;justify-content:flex-start}.preflight>header,.preflight>footer{align-items:flex-start;flex-direction:column;gap:12px}.modal-backdrop{padding:10px;align-items:end}.modal{max-height:calc(100vh - 20px);border-radius:16px 16px 8px 8px;transform-origin:bottom center}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
