:root{color-scheme:dark;--bg:#080e1b;--panel:#101a2b;--panel2:#121f33;--line:#26344a;--muted:#8c9cb2;--text:#ecf3ff;--cyan:#62e4da;--teal:#36c5b6;--amber:#f2bd78;--danger:#ff8a97;--blue:#8caeff;--r:17px;--shadow:0 16px 60px #02061365;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse 80% 45% at 70% -14%,#193752 0%,transparent 70%),var(--bg);color:var(--text);font-size:14px;line-height:1.56}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{color:var(--cyan)}.shell{max-width:1376px;margin:0 auto;padding:0 33px}.topbar{height:76px;border-bottom:1px solid #223149a3;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.3px;font-size:15px}.mark{width:36px;height:36px;display:grid;place-items:center;border:1px solid #51c9c481;border-radius:11px;background:#1c454c;color:#87fff0;font-size:20px}.toplinks{display:flex;align-items:center;gap:24px;color:#acbdd1;font-size:13px}.toplinks a.active{color:#fff}.pill{font-size:11px;letter-spacing:.9px;border:1px solid #416a75;background:#12383c;padding:5px 10px;border-radius:100px;color:#90eee2;font-weight:800}.toplinks .premium-link{background:#263146;color:#e8eeff;border:1px solid #41506b;padding:9px 15px;border-radius:10px;font-weight:700}.hero{padding:43px 0 30px;display:flex;justify-content:space-between;gap:25px;align-items:flex-end}.eyebrow{font-size:11px;letter-spacing:2.1px;color:var(--cyan);font-weight:800;text-transform:uppercase}.hero h1{font-size:clamp(26px,3.5vw,41px);line-height:1.24;letter-spacing:-1.45px;margin:11px 0 12px;font-weight:800}.hero p{max-width:690px;margin:0;color:#9cacc2;font-size:14px}.hero-note{display:flex;gap:7px;align-items:center;font-size:12px;color:#8fa5b9;white-space:nowrap;padding-bottom:3px}.dot{height:7px;width:7px;background:var(--cyan);box-shadow:0 0 14px #55e1d3;border-radius:50%}.workspace{display:grid;grid-template-columns:minmax(310px,385px) minmax(0,1fr);gap:21px;align-items:start;padding-bottom:38px}.panel{border:1px solid var(--line);border-radius:var(--r);background:linear-gradient(160deg,#122035 0%,#0e192a 100%);box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 18px;border-bottom:1px solid #2634489c}.panel-head h2,.section-heading{font-size:16px;letter-spacing:-.3px;margin:0}.small{font-size:12px;color:var(--muted)}.panel-body{padding:22px 24px}.field{margin:0 0 20px}.field:last-child{margin-bottom:0}.field label{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:750;margin-bottom:8px;color:#dce7f4;gap:10px}.field label span{font-size:11px;font-weight:500;color:var(--muted)}.field input,.field textarea,.field select{width:100%;background:#091525;color:#eef8fe;border:1px solid #32445c;border-radius:10px;outline:none;padding:11px 13px;transition:border-color .15s,box-shadow .15s;font-size:13px}.field select{appearance:auto}.field textarea{height:166px;resize:vertical;line-height:1.7}.field input:focus,.field textarea:focus,.field select:focus{border-color:#55cfc8;box-shadow:0 0 0 3px #55cfc81a}.field input::placeholder,.field textarea::placeholder{color:#60758e}.help{color:#7e92aa;font-size:11px;margin:7px 0 0}.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}.btn{border:1px solid #4c5b6c;background:#1b2b40;color:#e8f2fb;border-radius:10px;padding:11px 15px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:750;transition:transform .1s,filter .15s;text-align:center}.btn:hover{filter:brightness(1.15)}.btn:active{transform:translateY(1px)}.btn-main{width:100%;background:linear-gradient(110deg,#57ddca,#70e8d9);color:#05232b;border:none;font-weight:850;font-size:14px;padding:14px}.btn-subtle{width:100%;border-color:#34485f;background:#1a2c43;margin-top:11px}.btn-mini{padding:8px 12px;font-size:12px;border-color:#354b60}.btn-ghost{border:1px solid #375066;background:transparent}.small-icon{font-size:15px}.error{margin:0 0 18px;padding:12px 14px;background:#5c233529;border:1px solid #9f4c63;border-radius:10px;color:#ffc4ce}.hidden{display:none!important}.hint{border-top:1px solid #2634489c;padding:16px 24px;color:#8d9eb4;font-size:11px}.hint strong{color:#c4d9e5}.result-panel{min-height:630px}.results-top{padding:22px 26px;display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #2634489c}.results-top h2{font-size:16px;margin:0 0 4px}.ready-tag{border:1px solid #245c5d;border-radius:30px;padding:5px 10px;color:#91e5dd;font-size:11px;background:#16383b;white-space:nowrap}.pending-tag{color:#b1c0d0;background:#1c3046;border-color:#334a65}.empty{padding:90px 30px;text-align:center;color:#8598af}.empty-icon{width:82px;height:82px;display:grid;place-items:center;margin:0 auto 24px;border-radius:25px;background:#1b3545;color:#75e3d9;font-size:37px;border:1px solid #385a70}.empty h3{color:#d8e3ee;font-size:18px}.empty p{max-width:330px;margin:5px auto}.results-body{padding:23px 25px 25px}.overline{font-size:10px;color:#8c9eb8;letter-spacing:1.5px;font-weight:800;text-transform:uppercase;margin-bottom:12px}.quick-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin-bottom:23px}.stat{background:#0d1a2d;border:1px solid #2c3a50;border-radius:12px;padding:15px 16px;min-width:0}.stat .label{font-size:11px;color:#8fa2ba;margin-bottom:7px}.stat .value{font-size:clamp(20px,2.2vw,28px);font-weight:780;letter-spacing:-.65px;line-height:1.22;word-break:break-word}.stat .unit{font-size:11px;font-weight:500;color:#92a5bc;margin-left:4px}.stat.emphasis{background:#112c35;border-color:#27736d}.stat.emphasis .value{color:var(--cyan)}.two-col{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(165px,1fr);gap:19px}.chart-box{background:#0d1a2b;border:1px solid #2c3a4e;border-radius:12px;padding:13px 15px}.chart-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.chart-top h3{margin:0;font-size:13px}.legend{display:flex;gap:12px;align-items:center;font-size:10px;color:#93a4b8}.legend i{display:inline-block;width:8px;height:8px;border-radius:2px;margin-right:4px;background:var(--cyan)}.legend i.amber{background:var(--amber)}.hist{display:block;width:100%;height:215px;margin-top:13px}.mini-rows{display:grid;gap:0;background:#0d1a2b;border:1px solid #2c3a4e;border-radius:12px;padding:11px 15px}.metricrow{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid #243449;color:#a2b4c9;font-size:12px}.metricrow:last-child{border-bottom:0}.metricrow b{color:#f1f7ff;font-weight:750;font-variant-numeric:tabular-nums}.space{height:20px}.subhead{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.subhead h3{margin:0;font-size:13px}.muted{color:var(--muted)}.insight{margin-top:20px;border:1px solid #2d5262;border-radius:11px;background:#142936;padding:15px 16px;display:flex;align-items:flex-start;gap:12px}.insight .badge-icon{width:32px;min-width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#1c5253;color:#93fff2;font-weight:800}.insight p{margin:4px 0 0;color:#a5b6c8;font-size:12px}.insight strong{font-size:13px}.warn{margin-top:13px;background:#49321c51;border:1px solid #745236;border-radius:10px;color:#e9c79e;padding:12px 14px;font-size:11px}.warn p{margin:4px 0}.export{margin-top:22px}.export-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 9px}.export-head h3{font-size:13px;margin:0}.export pre{margin:0;white-space:pre-wrap;max-height:164px;overflow:auto;padding:15px;background:#081423;border:1px solid #2d4258;border-radius:10px;color:#a9bbcd;font-size:11px;user-select:text}.foot{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #203047;padding:22px 0 33px;color:#8193a8;font-size:11px}.foot a{text-decoration:underline}.pro-hero{padding-bottom:21px}.pro-grid{display:grid;grid-template-columns:340px minmax(0,1fr);gap:20px;padding-bottom:38px}.pro-info{padding:22px 24px}.pro-info h2{font-size:16px;margin:0 0 10px}.pro-info p{color:#a7b9ce;font-size:12px}.feature{margin:13px 0;padding-left:19px;color:#c4d1e2}.feature li{padding:5px 0}.lock{background:#10283a;border:1px solid #2e5168;border-radius:12px;padding:18px;margin-top:20px}.lock p{font-size:12px;color:#a9baca}.pro-work{padding:23px 24px}.pro-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.pro-toolbar h2{font-size:16px;margin:0}.table-wrap{overflow:auto;border:1px solid #2a3d51;border-radius:12px}table.skus{border-collapse:collapse;width:100%;font-size:12px;min-width:610px}table.skus th{background:#0e1a2c;color:#96a8ba;text-align:left;font-weight:600;white-space:nowrap;padding:12px}table.skus td{padding:12px;border-top:1px solid #25384b;vertical-align:middle}table.skus tr:hover td{background:#142438}table.skus tr[tabindex]{cursor:pointer}table.skus tr.selected td{background:#193441}.rank{background:#20394d;color:#8ce5da;border-radius:7px;padding:4px 7px}.pro-form{display:grid;grid-template-columns:1.3fr .7fr .7fr;gap:13px}.pro-form .field{margin-bottom:12px}.pro-form .wide{grid-column:1/-1}.pro-form .field textarea{height:95px}.pro-form .actions{grid-column:1/-1;display:flex;gap:9px;flex-wrap:wrap}.pro-bottom{margin-top:18px;display:grid;grid-template-columns:1fr;gap:15px}.kpi-row{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.kpi-row .stat .value{font-size:23px}.pro-disabled{opacity:.4;pointer-events:none;filter:grayscale(.55)}.toast{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);background:#1b3d45;border:1px solid #37776f;color:#dafff9;border-radius:10px;padding:11px 16px;box-shadow:0 10px 40px #000a;z-index:99}.loading-spinner{display:inline-block;width:14px;height:14px;border:2px solid #ffffff44;border-top-color:currentColor;border-radius:50%;animation:rotate .8s linear infinite}@keyframes rotate{to{transform:rotate(360deg)}}
@media(max-width:1050px){.workspace,.pro-grid{grid-template-columns:1fr}.panel-body{padding:20px}.field textarea{height:115px}.two-col{grid-template-columns:1.5fr 1fr}}@media(max-width:690px){.shell{padding:0 16px}.topbar{height:66px}.toplinks{gap:8px}.toplinks>a:not(.premium-link){display:none}.brand{font-size:13px}.mark{width:30px;height:30px;font-size:16px}.hero{padding:28px 0 23px;display:block}.hero h1{font-size:27px;letter-spacing:-.8px}.hero-note{margin-top:14px}.workspace{gap:15px}.panel-head,.results-top{padding:18px}.panel-body,.results-body{padding:18px}.quick-stats{gap:8px}.stat{padding:13px 10px}.stat .value{font-size:21px}.stat .label{font-size:10px}.two-col{grid-template-columns:1fr}.hist{height:200px}.foot{display:block}.foot span{display:block;margin-bottom:7px}.pro-info,.pro-work{padding:18px}.pro-form{grid-template-columns:1fr 1fr}.pro-form .field:first-child{grid-column:1/-1}.kpi-row{grid-template-columns:1fr 1fr}.legend{font-size:9px;gap:7px}}

/* Spreadsheet-first workflow */
.language-picker{margin-left:auto;display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;color:#a8cada}
.language-picker select{color:#dff6f3;background:#172c42;border:1px solid #35536a;border-radius:9px;padding:7px}
.file-first{padding-bottom:14px}.file-first input[type=file],.bulk-uploader input[type=file]{width:100%;border:1px dashed #4c9f9c;border-radius:12px;background:#102e3d;padding:13px;color:#dcebea;font-size:12px;max-width:100%}
.file-first input[type=file]::file-selector-button,.bulk-uploader input[type=file]::file-selector-button{border:0;border-radius:8px;background:#55d8c6;padding:8px 10px;margin-right:12px;color:#053035;font-weight:750;cursor:pointer}
.manual-entry{border-top:1px solid #344b5c;margin-top:15px;padding-top:15px}.manual-entry>summary{color:#a6d8de;cursor:pointer;font-weight:750;list-style:disclosure-closed;margin-bottom:14px}
.import-review{background:#0b1c2d;border:1px solid #35636b;border-radius:13px;padding:14px;margin-top:16px}.import-review .field{margin-bottom:12px}.import-review .split{gap:9px}
.series-list{max-height:185px;overflow:auto;display:flex;flex-direction:column;gap:6px;border:1px solid #29435a;border-radius:10px;padding:8px;background:#081422}
.series-item{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 8px;border-radius:7px;background:#152739;color:#e0eaf5;font-size:12px;cursor:pointer}
.series-item input{accent-color:#4fd6c4;min-width:16px}.series-item .series-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.series-item .series-count{color:#9baec5;white-space:nowrap;font-size:11px}
.series-item.limit-disabled{opacity:.44}.series-item input:disabled{cursor:not-allowed}
.table-preview{overflow:auto;max-height:158px;margin:8px 0 14px;border:1px solid #293a4b;border-radius:8px}
.table-preview table{border-collapse:collapse;min-width:100%;font-size:11px;table-layout:auto}.table-preview td{border-right:1px solid #294050;border-bottom:1px solid #294050;padding:5px 9px;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.table-preview tr:first-child td{color:#8ee4d8;background:#162d42;font-weight:750}
.minor{font-size:11px;color:#91a8bc}.bulk-uploader{padding:16px;margin:10px 0 24px;background:#122638;border:1px solid #315569;border-radius:13px}.bulk-uploader h3{margin:0;font-size:14px}.bulk-uploader .help{margin:6px 0 12px}
.radio-line{display:flex;flex-wrap:wrap;gap:12px}.radio-line label{justify-content:flex-start;gap:7px;cursor:pointer}.radio-line input{width:auto!important;accent-color:#4cd7cc}
.picker-head{display:flex;align-items:center;justify-content:space-between;gap:9px}.count-line{color:#83ded1;font-size:12px;font-weight:650}
.result-switch{display:flex;gap:8px;flex-wrap:wrap;padding:14px 22px 0}.result-switch .btn{font-size:11px}.result-switch .chosen{border-color:#51d8c7;color:#8ae8e0;background:#1b3e48}
.action-group{display:flex;gap:5px;flex-wrap:wrap}.export-head{gap:9px;flex-wrap:wrap}.export-head .action-group .btn{padding:7px 9px}
@media(max-width:690px){.language-picker{margin-left:0}.toplinks{gap:5px}.language-picker select{width:80px;font-size:11px}.file-first input[type=file]{font-size:11px}.import-review{padding:10px}.bulk-uploader{padding:12px}.result-switch{padding:12px}.action-group .btn{font-size:10px}}

.series-item input[type="checkbox"]{width:16px!important;height:16px;flex:0 0 16px;min-width:16px;padding:0;cursor:pointer}
.mobile-pro{display:none}
@media(max-width:690px){.mobile-pro{display:inline}.desktop-pro{display:none}.topbar .brand .pill{display:none}.toplinks .premium-link{font-size:11px;white-space:nowrap;padding:7px 10px}.toplinks{flex:0 0 auto}}

.series-item input.series-stock{flex:0 0 70px!important;width:70px!important;min-width:0!important;height:29px;font-size:11px;padding:5px!important;border:1px solid #3b596d;border-radius:6px;background:#081827;color:#d6f6f0}
@media(max-width:420px){.series-item input.series-stock{width:56px!important;flex-basis:56px!important}.series-item .series-count{font-size:10px}}
