:root{font-family:Inter,Segoe UI,Microsoft YaHei,Arial,sans-serif;color:#4f3d47;background:#f8f3f6;font-synthesis:none;letter-spacing:0}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{margin:0;min-width:320px;min-height:100vh;background:#f8f3f6}button,input,textarea,select{font:inherit;letter-spacing:0}button{cursor:pointer}.anime-wallpaper{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none;background:#f8f3f6}.anime-character{position:absolute;display:block;width:auto;max-width:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 24px 34px rgba(91,61,82,.12))}.anime-character-left{left:-118px;top:96px;height:min(790px,82vh);opacity:.25;transform:rotate(-2deg)}.anime-character-right{right:-114px;top:112px;height:min(760px,79vh);opacity:.2;transform:scaleX(-1) rotate(-2deg)}.boot,.login-shell,.app-shell{position:relative;z-index:1}.boot{min-height:100vh;display:grid;place-items:center;color:#bd6f97}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-panel{width:min(368px,100%);padding:30px;border:1px solid rgba(222,199,211,.88);border-radius:8px;background:#ffffffe6;box-shadow:0 18px 46px #5c3d4e21;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}label{display:grid;gap:7px;color:#735d69;font-size:13px;font-weight:650}.login-fields{display:grid;gap:16px}input,textarea,select{width:100%;border:1px solid #d9c9d1;border-radius:6px;background:#fffffff0;color:#493741;padding:10px 11px;outline:none;transition:border-color .15s,box-shadow .15s,background .15s}input:hover,textarea:hover,select:hover{border-color:#c9adb9}input:focus,textarea:focus,select:focus{border-color:#bc6d94;background:#fff;box-shadow:0 0 0 3px #bc6d941f}textarea{resize:vertical;line-height:1.5}.primary,.secondary{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:8px;padding:8px 14px;border-radius:6px;font-weight:680;transition:border-color .15s,background .15s,color .15s,transform .15s}.primary{border:1px solid #ad5a83;color:#fff;background:#bd6f97;box-shadow:0 8px 18px #ad5a8329}.primary:hover{background:#aa5f84;transform:translateY(-1px)}.secondary{border:1px solid #dacbd2;color:#654f5a;background:#ffffffeb}.secondary:hover{border-color:#c39dad;color:#9d4f75;background:#fff}.primary:disabled,.secondary:disabled{opacity:.46;cursor:not-allowed;transform:none}.wide{width:100%;margin-top:22px}.form-error{color:#a93d4a;font-size:13px;overflow-wrap:anywhere}.app-shell{min-height:100vh;display:grid;grid-template-columns:178px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:22px 12px 14px;border-right:1px solid rgba(218,196,207,.8);background:#ffffffd6;box-shadow:8px 0 28px #5c3d4e0f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.sidebar nav{display:grid;gap:7px}.sidebar nav button{min-height:42px;display:flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:6px;padding:0 12px;color:#806b75;background:transparent;text-align:left;font-weight:650}.sidebar nav button:hover{color:#955071;background:#faeef4db}.sidebar nav button.active{color:#8e4569;border-color:#e1c2d1;background:#f8e8f0}.sidebar-foot{min-height:50px;display:flex;align-items:center;gap:8px;margin-top:auto;padding:0 3px 0 10px;color:#8f7b85;font-size:12px}.service-meta{display:grid;gap:4px;min-width:0}.service-status{display:inline-flex;align-items:center;gap:8px}.app-version{color:#ac96a1;font:11px/1 Consolas,Cascadia Mono,monospace}.online-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#39a66c;box-shadow:0 0 0 3px #39a66c1c}.sidebar-foot .icon-button{margin-left:auto}.workspace{min-width:0;padding:20px clamp(16px,2.3vw,34px) 40px}.topbar{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;border:1px solid rgba(222,199,211,.84);border-radius:8px;background:#ffffffe0;box-shadow:0 12px 32px #5c3d4e12;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.topbar h1{margin:0;color:#4d3944;font-size:20px;line-height:1.2}.topbar p,.section-heading p{margin:4px 0 0;color:#9a828e;font-size:12px}.icon-button{width:34px;height:34px;display:inline-grid;place-items:center;flex:0 0 auto;border:1px solid #dbcbd3;border-radius:6px;color:#755e69;background:#ffffffe6;padding:0;transition:border-color .15s,color .15s,background .15s}.icon-button:hover{border-color:#bd8fa4;color:#9d4f75;background:#fff}.icon-button.dark{color:#806a75;background:transparent;border-color:#d7c5ce}.icon-button.small{width:26px;height:26px;margin-left:auto}.icon-button.danger{color:#ad4650}.notice{min-height:42px;display:flex;align-items:center;gap:9px;margin:14px 0 -2px;padding:7px 8px 7px 12px;border:1px solid;border-radius:6px;font-size:13px;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.notice.success{color:#236b46;border-color:#b9dcc8;background:#f0faf4f0}.notice.error{color:#963c47;border-color:#e4bec3;background:#fff4f5f0}.stats-band{display:grid;grid-template-columns:repeat(4,minmax(90px,1fr)) minmax(170px,1.35fr);margin:18px 0;border:1px solid rgba(222,199,211,.84);border-radius:8px;background:#ffffffe0;box-shadow:0 10px 28px #5c3d4e0f;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.stats-band>div{min-height:70px;display:flex;flex-direction:column;justify-content:center;padding:11px 18px;border-right:1px solid #eadde3}.stats-band>div:last-child{border-right:0}.stats-band span{color:#9a828e;font-size:12px}.stats-band strong{margin-top:4px;color:#503b46;font-size:21px}.stats-band .capacity strong{display:flex;align-items:center;gap:7px;color:#705661;font-size:13px}.submit-panel,.task-section,.config-page section{border:1px solid rgba(222,199,211,.88);border-radius:8px;background:#ffffffe8;box-shadow:0 14px 34px #5c3d4e12;-webkit-backdrop-filter:blur(15px);backdrop-filter:blur(15px)}.submit-panel{padding:18px;margin-bottom:18px}.section-heading{min-height:40px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.section-heading h2{margin:0;color:#523e49;font-size:15px}.token-field{margin-top:12px}.token-field textarea{min-height:116px;font:12px/1.5 Consolas,Cascadia Mono,monospace}.submit-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:13px;color:#927b86;font-size:12px}.submit-buttons,.bulk-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.task-section{overflow:hidden}.task-section>.section-heading{align-items:center;padding:16px 18px 12px;margin-bottom:10px}.task-heading{flex-wrap:wrap}.bulk-actions{justify-content:flex-end}.bulk-actions button,.submit-buttons button,.task-filters button{min-height:32px}.task-filters{display:grid;grid-template-columns:168px minmax(320px,50%) minmax(0,1fr) auto auto 34px;gap:10px;align-items:center;padding:0 18px 14px}.task-filters input,.task-filters select{height:34px}.task-filters select{min-width:168px;padding:6px 34px 6px 11px}.task-filters button{white-space:nowrap}.task-filters>button{justify-self:end}.task-filters>button.match-email{grid-column:4}.task-filters>button.match-token{grid-column:5}.task-filters>button.match-email,.task-filters>button.match-token{width:max-content}.task-filters>button.clear-filter{grid-column:6}.task-grid-row{min-width:1080px;display:grid;grid-template-columns:minmax(210px,1.35fr) 88px 54px minmax(320px,2fr) 130px 88px 124px;align-items:center;column-gap:10px;padding:0 14px;font-size:12px}.task-grid-header{height:37px;color:#8f7883;background:#f9f3f6f5;border-top:1px solid #eadce3;border-bottom:1px solid #eadce3;font-weight:700}.task-virtual-scroll{height:clamp(340px,54vh,720px);overflow:auto;scrollbar-color:#d5b7c5 transparent}.task-virtual-space{position:relative;min-width:1080px}.task-virtual-row{position:absolute;top:0;left:0;width:100%;height:72px;color:#5b4651;border-bottom:1px solid #f0e7eb}.task-virtual-row:hover{background:#fcf4f8db}.task-identity{min-width:0;overflow:hidden}.task-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-identity strong{color:#4f3a45;font-size:12px;font-weight:680}.attempt-text{color:#765e6a;font:650 11px/1 Consolas,Cascadia Mono,monospace}.progress-cell{display:flex;align-items:center;gap:7px}.progress-cell small{width:31px;color:#917a85}.danger-action{color:#a63f4b;border-color:#dfb8bd}.danger-action:disabled{color:#a38e98;border-color:#ded0d7}.mono{font-family:Consolas,Cascadia Mono,monospace;font-size:11px}.status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.status i,.status b{width:7px;height:7px;border-radius:50%;background:#9a8991}.status.running i,.status.running b{background:#4b7fc4;box-shadow:0 0 0 3px #e7effa}.status.done i,.status.done b{background:#35a46b}.status.failed i,.status.failed b,.status.cancelled i,.status.cancelled b{background:#c64c58}.status.queued i,.status.queued b{background:#d89b36}.stage-text{display:-webkit-box;min-width:0;overflow:hidden;overflow-wrap:anywhere;line-height:1.35;white-space:normal;-webkit-box-orient:vertical;-webkit-line-clamp:2}.stage-text.done{color:#35a46b;font-weight:700}.stage-text.error{color:#c64c58}.progress-track{width:82px;height:5px;display:inline-block;border-radius:3px;background:#eadfe4;overflow:hidden}.progress-track i,.progress-track b{display:block;height:100%;background:#bd6f97}.progress-track b.done{background:#35a46b}.progress-track b.running{background:#4b7fc4}.progress-track b.failed,.progress-track b.cancelled{background:#c64c58}.row-actions{display:flex;gap:5px;overflow:visible}.row-actions .icon-button{width:28px;height:28px}.empty{height:120px;display:grid;place-items:center;color:#9c8791;text-align:center}.config-page{width:100%;display:grid;gap:18px;margin-top:18px}.config-page section{padding:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:17px}.runtime-parameters{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px}.runtime-parameters input,.runtime-parameters select{min-height:42px}.locked-value{min-height:42px;display:flex;align-items:center;padding:10px 11px;border:1px solid #ded4d9;border-radius:6px;color:#786a71;background:#f1edef;font-weight:600}.form-stack{display:grid;gap:15px;margin-top:17px}.config-actions{min-height:46px;display:flex;align-items:center;justify-content:flex-end;gap:16px;padding-bottom:8px}.config-buttons{display:flex;flex:0 0 auto;gap:9px}.proxy-check-status{min-width:0;margin:0 auto 0 0;font-size:13px;overflow-wrap:anywhere}.proxy-check-status.success{color:#27724c}.proxy-check-status.error{color:#a13f4b}.route-heading{align-items:center}.proxy-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.proxy-fields label{padding:13px;border:1px solid #e6d5dd;border-radius:6px;background:#fdf9fbad}.proxy-fields textarea{min-height:132px;font:12px/1.4 Consolas,Cascadia Mono,monospace}.proxy-fields small{min-height:18px;color:#a08592;font-weight:500;line-height:1.45}.proxy-fields label.invalid{color:#a13f4b;border-color:#dfaeb6;background:#fff7f8}.proxy-fields label.invalid textarea{border-color:#cb6b78;box-shadow:0 0 0 3px #cb6b781a}.route-divider{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:20px;padding:13px 0 9px;border-top:1px solid #eadde3;color:#715965;font-size:12px}.route-divider>span{display:flex;align-items:center;gap:5px;color:#9a828e}.legend-dot{width:7px;height:7px;display:inline-block;margin-left:8px;border-radius:2px}.legend-dot.gpt{background:#c26892}.legend-dot.stripe{background:#6487bd}.legend-dot.payment-type{background:#aa7a37}.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:22px}.route-item{min-height:76px;display:grid;grid-template-columns:32px minmax(150px,1fr) 190px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eee3e8}.route-sequence{width:29px;height:29px;display:grid;place-items:center;border:1px solid #dac4ce;border-radius:6px;color:#97627b;background:#fbf2f6;font:700 11px/1 Consolas,monospace}.route-copy{min-width:0;display:grid;gap:5px}.route-copy>div{min-width:0;display:flex;align-items:center;gap:7px}.route-copy strong{min-width:0;overflow:hidden;color:#523e49;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.route-copy small{color:#9a828e;font-size:11px;font-weight:500;line-height:1.35}.source-badge{flex:0 0 auto;padding:2px 5px;border-radius:4px;font-size:9px;line-height:1.2;font-weight:750}.source-badge.gpt{color:#8d4165;background:#f7dfeb}.source-badge.stripe{color:#41658f;background:#e4edf8}.source-badge.payment-type{color:#805c26;background:#f6ead4}.route-segmented{height:34px;display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid #ddcbd4;border-radius:6px;background:#fbf8f9}.route-segmented button{min-width:0;border:0;border-right:1px solid #e5d8de;color:#806975;background:transparent;padding:0 7px;font-size:11px;font-weight:650}.route-segmented button:last-child{border-right:0}.route-segmented button:hover{color:#8d4568;background:#f7eaf0}.route-segmented button.selected{color:#fff;background:#b96890}@media(max-width:980px){.app-shell{grid-template-columns:64px minmax(0,1fr)}.sidebar{padding:18px 9px 12px}.sidebar nav button{justify-content:center;padding:0;font-size:0}.sidebar-foot>span:not(.online-dot){display:none}.sidebar-foot{padding:0;justify-content:center}.sidebar-foot .icon-button{margin-left:0}.workspace{padding:16px 16px 30px}.stats-band{grid-template-columns:repeat(4,1fr)}.stats-band .capacity{display:none}.task-grid-header{overflow:hidden}.task-grid-row,.task-virtual-space{min-width:1080px}.task-filters{grid-template-columns:168px minmax(190px,1fr) minmax(0,1fr) auto auto 34px;overflow-x:auto}.runtime-parameters{grid-template-columns:repeat(3,minmax(130px,1fr))}.route-grid{grid-template-columns:1fr}}@media(max-width:680px){.anime-character-left{left:-310px;top:110px;height:640px;opacity:.09}.anime-character-right{display:none}.app-shell{display:block;padding-bottom:62px}.sidebar{position:fixed;z-index:3;top:auto;bottom:0;width:100%;height:62px;flex-direction:row;align-items:center;padding:7px 10px;border:0;border-top:1px solid #ddcbd4}.sidebar nav{display:grid;grid-template-columns:repeat(2,52px);margin:0}.sidebar nav button{height:46px}.sidebar nav button.active{box-shadow:inset 0 -3px #bd6f97}.sidebar-foot{margin:0 0 0 auto}.workspace{padding:10px 10px 24px}.topbar{min-height:66px;padding:12px 14px}.topbar h1{font-size:17px}.stats-band{grid-template-columns:repeat(2,1fr);margin:12px 0}.stats-band>div{min-height:60px;border-bottom:1px solid #eadde3}.stats-band>div:nth-child(2n){border-right:0}.stats-band strong{font-size:18px}.submit-panel{padding:15px;margin-bottom:12px}.submit-actions{align-items:stretch;flex-direction:column}.submit-buttons{display:grid;grid-template-columns:1fr 1fr}.submit-actions .primary{width:100%}.task-section>.section-heading{align-items:flex-start;padding:15px 15px 12px}.bulk-actions{justify-content:flex-start}.task-filters{grid-template-columns:168px minmax(190px,1fr) minmax(0,1fr) auto auto 34px;padding:0 15px 12px}.form-grid,.runtime-parameters,.proxy-fields{grid-template-columns:1fr}.route-heading{align-items:flex-start}.route-heading .secondary{flex:0 0 auto}.route-item{grid-template-columns:32px minmax(0,1fr)}.route-segmented{grid-column:1 / -1;width:100%}.route-divider>span{display:none}.config-actions{align-items:stretch;flex-direction:column}.config-buttons{display:grid;grid-template-columns:1fr 1fr}.login-panel{padding:24px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
