:root{--ink:#1a2e2c;--muted:#7b8a87;--green:#176b54;--green-light:#eaf4ee;--line:#e3e9e6;--bg:#f5f7f5;--amber:#9a6b21;--blue:#466a97;--red:#b65043;--nav:#12302c;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d9a86a;outline-offset:3px}a{color:inherit;text-decoration:none}button{border:0}button,input,select,textarea{transition:border-color .15s,background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.97)}[hidden]{display:none!important}
.sidebar{width:228px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#d1ded8;display:flex;flex-direction:column;padding:33px 21px 0;z-index:20}.brand{display:flex;align-items:center;gap:12px;color:#f8faf9;font-size:24px;font-weight:650;letter-spacing:-.8px;margin:0 7px 56px}.brand small{display:block;font-size:8px;letter-spacing:2.2px;font-weight:500;margin-top:5px;color:#9fb5ad}.brand-mark{position:relative;background:#e8a276;color:#20362f;font-size:38px;line-height:40px;width:43px;height:44px;border-radius:12px;font-weight:650;padding-left:8px;letter-spacing:-5px}.brand-mark>span{font-size:22px;position:absolute;right:5px;top:-6px;letter-spacing:0}.nav-label{font-size:9px;letter-spacing:1.6px;color:#7b9a8e;margin:0 15px 17px}.nav-item{display:flex;align-items:center;gap:12px;padding:14px 15px;margin-bottom:7px;color:#adc1b7;text-align:left;width:100%;background:none;border-radius:8px;font-size:12px;font-weight:500}.nav-item>span:first-child{font-size:19px;width:20px;text-align:center;color:#92ada0}.nav-item.selected{background:#29473f;color:#fff}.nav-item.selected>span{color:#d6e4d9}.nav-count{margin-left:auto;font-size:10px!important;background:#486355;border-radius:4px;padding:3px 6px;width:auto!important}.sidebar-note{margin:auto 5px 22px;padding:19px 13px;border:1px solid #355148;border-radius:9px;font-size:11px}.connection-dot{display:inline-block;width:6px;height:6px;background:#a4bc97;border-radius:50%;margin-right:7px}.sidebar-note strong{font-weight:500;color:#d7e5db}.sidebar-note p{font-size:10px;line-height:1.8;color:#8faa9e;margin:9px 0 0}.sidebar-bottom{border-top:1px solid #324c43;display:flex;align-items:center;gap:10px;padding:21px 4px;margin-top:2px;font-size:11px;color:#e1e9e4}.avatar{width:32px;height:32px;background:#d8debc;color:#304536;border-radius:50%;display:grid;place-items:center;font-weight:700}.sidebar-bottom small{display:block;font-size:9px;color:#8aa497;margin-top:4px}.sidebar-bottom button{margin-left:auto;background:transparent;color:white;font-size:20px}
main{margin-left:228px}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.breadcrumb{font-size:11px;color:#9aa7a0;display:flex;gap:15px}.breadcrumb strong{font-weight:500;color:#52675d}.top-status{font-size:10px;color:#657970;display:flex;align-items:center;gap:7px;background:#f5f7f4;padding:7px 11px;border:1px solid #e5eae3;border-radius:30px}.top-status i{height:5px;width:5px;border-radius:50%;background:#ac9c63}.page{max-width:1620px;margin:auto;padding:34px 40px 0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:26px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:650;color:#879387;margin-bottom:9px}h1{font-weight:600;letter-spacing:-1.5px;font-size:34px;line-height:1.15;margin:0 0 10px}.title-dot{color:#c08150}.page-heading p{margin:0;font-size:12px;color:var(--muted)}.heading-actions{display:flex;align-items:center;gap:12px}.button{min-height:37px;padding:9px 13px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:6px;font-size:11px;font-weight:550;white-space:nowrap}.button.primary{background:var(--green);color:white;border:1px solid var(--green);box-shadow:0 2px 2px #176b540c}.button.subtle{background:none;color:#6b7e73}.button.outline{background:white;color:#456055;border:1px solid #dbe3dd}.button.wide{width:100%;justify-content:space-between}.button.danger{background:#fff3ef;color:#aa483b;border:1px solid #f2d7cf}.button.small{padding:6px 9px;min-height:29px;font-size:10px}.mode-banner{display:flex;align-items:center;gap:11px;background:#f3f0e5;border:1px solid #e9e4d4;color:#847346;border-radius:7px;padding:12px 15px;font-size:10px;margin-bottom:24px;line-height:1.6}.mode-banner strong{font-weight:650}.banner-icon{width:17px;height:17px;border-radius:50%;border:1px solid #b5a778;display:inline-grid;place-items:center;font-size:10px;font-weight:650;flex:none}.mode-banner button{margin-left:auto;color:#826b35;background:transparent;font-weight:600;white-space:nowrap;font-size:10px;padding:0 2px}.mode-banner button span{margin-left:9px}.connection-error{background:#fbeee9;border:1px solid #f0c9bd;color:#a64639;padding:13px 16px;border-radius:7px;font-size:12px;margin-bottom:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:33px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:18px 20px 17px;box-shadow:0 2px 3px #163c2603}.stat-label{display:flex;align-items:center;justify-content:space-between;color:#718379;font-size:11px}.stat-icon{color:#658071;background:#f0f4ef;border:1px solid #e6ebe5;border-radius:5px;width:23px;height:23px;font-size:15px;display:grid;place-items:center}.stat-icon.amber{color:#a48e5f;background:#f8f4eb;border-color:#efe8d8}.stat-icon.blue{color:#6a85a0;background:#f0f4f8;border-color:#e3e9f1}.stat-icon.green{color:#6a8a6e}.stat>div{display:flex;align-items:baseline;gap:8px;margin:7px 0 8px}.stat strong{font-size:32px;font-weight:550;letter-spacing:-1.4px;line-height:1.3}.stat>div>span{color:#9aaba1;font-size:12px}.stat small{font-size:9px;color:#93a096}
.section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px}h2{font-size:16px;letter-spacing:-.35px;font-weight:600;display:flex;align-items:center;gap:8px;margin:0}.count-badge{display:inline-flex;align-items:center;justify-content:center;font-size:9px;padding:3px 6px;color:#8b9b90;border:1px solid #e0e7e0;border-radius:4px;font-weight:500;min-width:23px;letter-spacing:0}.section-heading p{font-size:10px;color:#8c9a90;margin:7px 0 0}.worker-toolbar,.result-toolbar{display:flex;align-items:center;gap:9px}.search{display:flex;align-items:center;background:white;border:1px solid #dfe6df;border-radius:6px;padding:0 11px;gap:8px;height:35px}.search>span{color:#8d9e93;font-size:20px}.search input{border:0;background:none;outline:none;width:155px;font-size:10px;min-height:31px;padding:0;color:#425c4c}.search input::placeholder{color:#a2ada4}select{border:1px solid #dfe6df;border-radius:6px;background:#fff;padding:9px 27px 9px 11px;color:#647b6c;font-size:10px;min-height:35px}.worker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.worker-card{position:relative;background:#fff;border:1px solid #dde5df;border-radius:9px;padding:17px 18px 14px;min-width:0;overflow:hidden;transition:box-shadow .2s}.worker-card:hover{box-shadow:0 5px 20px #17392b08}.worker-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:#c8d0c8}.worker-card.ready:before{background:#87ad8f}.worker-card.running:before{background:#5e8ca9}.worker-card.needs_login:before,.worker-card.login:before{background:#c4a267}.worker-card.error:before{background:#c98372}.card-header{display:flex;align-items:center;gap:10px}.worker-symbol{width:31px;height:31px;border:1px solid #e7ece6;background:#f7f9f5;display:grid;place-items:center;color:#7d9685;border-radius:7px;font-size:17px;flex-shrink:0}.worker-title{min-width:0}.worker-title h3{font-size:12px;letter-spacing:-.2px;margin:0 0 4px;font-weight:650;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.worker-title span{font-size:9px;color:#9aa79b}.card-header .badge{margin-left:auto}.badge{display:inline-flex;align-items:center;gap:5px;font-size:9px;white-space:nowrap;font-weight:500;border-radius:4px;padding:5px 7px;background:#f0f2ee;color:#8b978a}.badge:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%;flex:none}.badge.ready,.badge.valid{color:#5b8969;background:#edf5ee}.badge.running{color:#5f83a4;background:#edf3f9}.badge.running:before{animation:pulse 1s infinite}.badge.needs_login,.badge.login,.badge.timeout{color:#a98b4e;background:#fbf4e7}.badge.error,.badge.invalid{color:#b17b69;background:#f9efeb}.badge.queued{color:#8b9884;background:#f1f4ed}.card-account{display:flex;justify-content:space-between;align-items:center;font-size:10px;margin:18px 0 13px;color:#a0ada1}.card-account strong{font-size:10px;font-weight:500;color:#657c68;max-width:65%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-activity{border:1px solid #eef0e9;border-radius:6px;background:#fafbf8;min-height:55px;padding:10px 11px}.activity-line{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#71836f;font-size:10px}.activity-line>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.activity-line>small{font-size:8px;color:#98a591;white-space:nowrap}.activity-sub{font-size:9px;margin-top:6px;color:#a4afa0;min-height:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-bar{height:3px;margin-top:9px;background:#e5ede4;border-radius:3px;overflow:hidden}.activity-bar span{display:block;width:50%;height:100%;background:#7d9eb1;border-radius:3px;animation:slide 1.5s ease-in-out infinite}.card-footer{border-top:1px solid #edf0ea;margin-top:14px;padding-top:11px;display:flex;align-items:center;justify-content:space-between;gap:7px}.card-tools{display:flex;align-items:center;gap:3px}.tool-btn{background:transparent;color:#8d9f8b;padding:5px 6px;font-size:9px;border-radius:4px}.card-footer .start-btn{padding:7px 12px;min-height:29px;font-size:9px;min-width:71px}.card-footer .pause-btn{color:#587662;background:#f4f7f2;border:1px solid #dce7da}.worker-footnote{display:flex;align-items:center;gap:7px;color:#9aa897;font-size:9px;padding:15px 0 0}.worker-footnote>span{font-size:14px;color:#a6b19d}.empty-workers{grid-column:1/-1;padding:40px;text-align:center;color:#8b9a90;background:white;border:1px dashed #d9e2d7;border-radius:8px;font-size:12px}
.queue-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:30px 0 24px}.panel{background:white;border:1px solid var(--line);border-radius:9px;padding:24px}.panel-title{display:flex;align-items:center;gap:10px}.mini-icon{width:25px;height:25px;border-radius:6px;border:1px solid #e5eae2;background:#f7f9f4;display:grid;place-items:center;font-size:15px;color:#6f876d}.panel-title h2{font-size:14px}.panel-description{font-size:10px;color:#92a08e;margin:10px 0 22px;line-height:1.6}.form-row{display:grid;grid-template-columns:.85fr 1.15fr;gap:12px;margin-bottom:17px}.form-row label,.form-stack label{font-size:10px;color:#788970;display:flex;flex-direction:column;gap:8px}.form-row select,.form-row input,.form-stack input{border:1px solid #e0e7dc;min-height:37px;border-radius:5px;padding:9px 10px;background:#fff;color:#5b755c;font-size:11px;width:100%}.field-label{display:flex;justify-content:space-between;font-size:10px;color:#788970;margin-bottom:8px}.field-label span{color:#a8b1a0;font-size:9px}textarea{background:#fcfdfa;border:1px solid #e0e7dc;border-radius:6px;width:100%;resize:vertical;padding:12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.9;color:#4f6c54;min-height:126px}textarea::placeholder{color:#abb6a3;font-size:10px}.input-help{font-size:9px;line-height:1.7;color:#a2ae99;margin:9px 0 17px}.queue-switch{background:#f6f9f2;border:1px solid #e8eee1;border-radius:7px;padding:14px;display:flex;align-items:center;justify-content:space-between;gap:9px;margin:18px 0 19px}.queue-switch strong{font-size:11px;font-weight:550;color:#5f7d58}.queue-switch small{display:block;font-size:9px;color:#9eaf91;margin-top:5px}.queue-switch button{font-size:9px;min-height:30px;padding:7px 10px}.flow-step{display:flex;gap:13px;padding:11px 0}.step-number{width:25px;height:25px;border:1px solid #e7ece1;border-radius:50%;color:#99aa8e;background:#fafbf7;display:grid;place-items:center;font-size:9px;flex:none}.flow-step strong{font-size:11px;font-weight:550;color:#6a8260;line-height:1.8}.flow-step p{font-size:10px;line-height:1.7;color:#a0ad95;margin:3px 0 0}.session-note{display:flex;align-items:flex-start;gap:10px;margin-top:14px;border-top:1px solid #edf1e8;padding-top:17px;color:#a4b297}.session-note>span{font-size:20px;line-height:1.5}.session-note p{font-size:10px;line-height:1.8;margin:0}.results-panel{padding:22px 0 0;overflow:hidden}.results-panel .section-heading{padding:0 22px;margin-bottom:22px}.result-toolbar select,.result-toolbar button{font-size:9px;min-height:32px}.results-panel h2{font-size:14px}.table-scroll{overflow:auto;min-height:115px}table{border-collapse:collapse;width:100%;font-size:10px;white-space:nowrap}th{font-size:8px;color:#9ba993;letter-spacing:.7px;font-weight:550;background:#fafbf8;border-block:1px solid #eaf0e4;text-align:left;padding:13px 21px}td{border-bottom:1px solid #f0f3eb;padding:14px 21px;color:#7f9276}td:first-child{font-family:ui-monospace,monospace;font-size:9px;color:#a1b094}td:nth-child(3){font-family:ui-monospace,monospace;font-size:10px;color:#748b6a}td:nth-child(4){font-weight:500;color:#5e7954}td .badge{font-size:8px}td .button{font-size:8px}.empty-row td{padding:32px 20px;text-align:center;font-family:inherit;font-size:11px;color:#a2b095}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:26px 2px;color:#adb89e;font-size:9px}.page-footer strong{font-weight:550;color:#8fa17e}
dialog{border:1px solid #e0e8dc;border-radius:12px;padding:25px;max-width:560px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 30px 90px #12302c2b}dialog::backdrop{background:#102d2b70;backdrop-filter:blur(3px)}dialog.browser-modal{max-width:1100px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid #ebefe7;padding-bottom:18px;margin-bottom:20px}.modal-head h2{font-size:20px}.modal-head p{font-size:11px;line-height:1.6;color:#91a087;margin:8px 0 0}.icon-button{width:28px;height:28px;border:1px solid #e3e9de;background:#f9fbf5;border-radius:5px;font-size:20px;color:#8c9b80;flex:none}.form-stack{display:grid;gap:18px}.modal-footer{display:flex;gap:10px;justify-content:flex-end;margin-top:23px}.modal-info{padding:16px;background:#f7f9f3;border:1px solid #e8eedf;border-radius:7px;font-size:12px;line-height:1.8;color:#819373;margin-bottom:16px}.modal-info strong{color:#56734d}.concept-list{display:grid;gap:13px}.concept-item{display:flex;align-items:center;justify-content:space-between;background:#f9fbf5;border:1px solid #e9efe0;border-radius:6px;padding:13px;font-size:12px}.concept-item span{color:#9baa8d}.concept-foot{font-size:11px;line-height:1.8;color:#8f9f80;margin-top:20px}.demo-browser{background:#f8faf4;border:1px solid #e4ebda;border-radius:8px;padding:25px;text-align:center;margin-bottom:18px}.demo-browser .worker-symbol{margin:0 auto 17px;width:45px;height:45px;font-size:25px}.demo-browser strong{font-size:16px;color:#69885c}.demo-browser p{font-size:11px;line-height:1.9;color:#98ab87;margin:12px auto 0;max-width:340px}.browser-screen{display:block;max-width:100%;width:100%;height:auto;border:1px solid #d9e4d0;border-radius:5px;background:#f3f7ef;cursor:crosshair}.browser-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.browser-toolbar input{flex:1;min-width:120px;border:1px solid #dbe6d1;border-radius:5px;padding:8px 10px;font-size:12px}.browser-caption{font-size:10px;color:#97aa83;line-height:1.8;margin-top:10px}.modal-log{list-style:none;padding:0;margin:0;display:grid;gap:10px;max-height:300px;overflow:auto}.modal-log li{padding:12px;background:#f8faf3;border:1px solid #e6eedd;border-radius:6px;font-size:11px;color:#7b9369;line-height:1.8}.modal-log small{color:#a5b793;font-size:9px}.toast{position:fixed;bottom:25px;left:calc(50% + 114px);transform:translateX(-50%);z-index:100;color:white;background:#22473b;border:1px solid #365b48;border-radius:8px;padding:14px 20px;box-shadow:0 8px 30px #14352b26;font-size:12px;max-width:90%;line-height:1.7}.toast.error{background:#925742;border-color:#b48168}.login-card{padding:15px 0 4px}.login-card input{width:100%;padding:12px;border:1px solid #dce6d1;border-radius:6px;margin:14px 0;font-size:14px}.login-card p{font-size:12px;color:#8f9f81;line-height:1.8}
@keyframes pulse{50%{opacity:.35}}@keyframes slide{0%,100%{transform:translateX(-40%)}50%{transform:translateX(140%)}}
@media(min-width:1650px){.worker-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.page{padding-inline:48px}.topbar{padding-inline:48px}}
@media(max-width:1200px){.sidebar{width:195px;padding-inline:15px}main{margin-left:195px}.page{padding:28px 25px 0}.topbar{padding:0 25px}.brand{font-size:21px}.worker-grid{gap:12px}.worker-card{padding:16px 13px 12px}.card-header{gap:7px}.worker-title h3{font-size:11px}.badge{font-size:8px;padding:5px}.card-footer{gap:2px}.tool-btn{padding:5px 4px;font-size:8px}.toast{left:calc(50% + 98px)}.panel{padding:20px}.worker-toolbar .search input{width:130px}}
@media(max-width:1000px){.worker-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{gap:10px}.stat{padding:16px 14px}.stat-label{font-size:10px}.section-heading{align-items:flex-start;flex-wrap:wrap}.worker-toolbar{margin-top:2px}.queue-layout{grid-template-columns:1fr}.flow-panel{display:none}.page-heading{align-items:flex-start}.heading-actions{flex-direction:column;align-items:flex-end;gap:2px}.heading-actions .subtle{order:2}.stat small{font-size:8px}.mode-banner{font-size:9px}.mode-banner button{font-size:9px}.sidebar-note{padding:15px 10px}.table-scroll th,.table-scroll td{padding-inline:16px}}
@media(max-width:720px){.sidebar{position:static;width:100%;height:65px;padding:0 18px;flex-direction:row;align-items:center;justify-content:space-between}.brand{margin:0;font-size:22px;gap:10px}.brand-mark{height:34px;width:34px;line-height:31px;font-size:30px;border-radius:9px;padding-left:6px}.brand-mark>span{font-size:17px;right:4px;top:-4px}.brand small{font-size:6px;letter-spacing:1.5px;margin-top:2px}.nav-label,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px}.nav-item{margin:0;padding:8px;gap:0;width:auto;font-size:0;background:transparent!important}.nav-item>span:first-child{font-size:21px;width:25px}.nav-count{display:none}main{margin-left:0}.topbar{height:47px;padding:0 18px}.page{padding:24px 17px 0}.page-heading{margin-bottom:19px;gap:5px}h1{font-size:28px;letter-spacing:-1px}.eyebrow{font-size:8px}.page-heading p{font-size:10px;line-height:1.8}.heading-actions{gap:2px}.heading-actions .button{font-size:9px;min-height:31px;padding:7px 9px}.heading-actions .subtle{font-size:8px}.mode-banner{align-items:flex-start;margin-bottom:17px;gap:8px;padding:10px}.mode-banner button{font-size:0;min-height:22px}.mode-banner button span{font-size:14px;margin:0}.mode-banner .banner-icon{margin-top:1px}.stats{grid-template-columns:1fr 1fr;margin-bottom:27px;gap:10px}.stat{padding:14px 15px}.stat>div{margin:4px 0}.stat strong{font-size:29px}.stat small{font-size:8px}.stat-label{font-size:10px}.section-heading{margin-bottom:16px}.section-heading h2{font-size:15px}.section-heading p{font-size:9px}.worker-toolbar{width:100%;gap:8px}.search{flex:1;min-width:0}.search input{width:100%!important;min-width:0}.worker-toolbar select{font-size:9px}.worker-grid{gap:11px}.worker-card{padding:14px 12px 12px}.card-header{flex-wrap:wrap;gap:7px}.worker-symbol{width:28px;height:28px;font-size:15px}.worker-title h3{font-size:11px}.worker-title span{font-size:8px}.card-header .badge{font-size:8px;margin-left:auto}.card-account{font-size:8px;margin:14px 0 10px;gap:4px}.card-account strong{font-size:9px;max-width:68%}.card-activity{padding:8px;min-height:55px}.activity-line{font-size:9px;flex-wrap:wrap;gap:5px}.activity-line>small{font-size:7px}.activity-sub{font-size:8px}.card-footer{flex-wrap:wrap;justify-content:space-between;gap:7px;margin-top:11px;padding-top:10px}.card-tools{gap:1px}.tool-btn{font-size:8px;padding:5px 4px}.card-footer .start-btn{font-size:8px;min-width:54px;min-height:26px;padding:6px 8px}.worker-footnote{font-size:8px;line-height:1.8}.panel{padding:19px}.queue-layout{margin:24px 0 18px}.panel-title h2{font-size:13px}.result-toolbar{width:100%;justify-content:space-between;margin-top:2px}.results-panel{padding:20px 0 0}.results-panel .section-heading{padding-inline:18px}.results-panel th,.results-panel td{padding-inline:15px}.page-footer{font-size:8px;gap:15px;line-height:1.7}.toast{left:50%;bottom:18px;min-width:250px;font-size:11px}.modal-head h2{font-size:18px}dialog{padding:20px}.modal-info{font-size:11px}.top-status{font-size:8px;padding:5px 8px}.breadcrumb{font-size:9px;gap:11px}}
@media(max-width:390px){.worker-grid{grid-template-columns:1fr}.card-header{flex-wrap:nowrap}.card-account{font-size:10px}.card-account strong{font-size:10px}.activity-line{font-size:10px}.card-footer .start-btn,.tool-btn{font-size:9px}.worker-title h3{font-size:13px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
/* Operational labels stay readable on desktop and handheld displays. */
.nav-item{font-size:13px}.nav-label{font-size:10px}.sidebar-note{font-size:12px}.sidebar-note p{font-size:11px}.sidebar-bottom{font-size:12px}.sidebar-bottom small{font-size:10px}.breadcrumb{font-size:12px}.top-status{font-size:11px}.eyebrow{font-size:10px}.page-heading p{font-size:13px}.button{font-size:12px}.mode-banner,.mode-banner button{font-size:12px}.stat-label{font-size:12px}.stat small{font-size:11px}.stat>div>span{font-size:13px}.section-heading p{font-size:12px}.search input,.worker-toolbar select,.result-toolbar select{font-size:12px}.search input{width:170px}.worker-title h3{font-size:15px}.worker-title span{font-size:11px}.badge{font-size:10px}.card-account{font-size:10px}.card-account strong{font-size:12px}.card-activity{min-height:65px}.activity-line{font-size:12px}.activity-line>small{font-size:10px}.activity-sub{font-size:11px;min-height:13px}.tool-btn{font-size:11px}.card-footer .start-btn{font-size:11px;min-height:32px}.worker-footnote{font-size:11px}.panel-description{font-size:12px}.form-row label,.form-stack label,.field-label{font-size:12px}.field-label span{font-size:11px}.form-row select,.form-row input,.form-stack input{font-size:13px}textarea,textarea::placeholder{font-size:12px}.input-help{font-size:11px}.queue-switch strong,.flow-step strong{font-size:13px}.queue-switch small,.flow-step p,.session-note p{font-size:12px}.queue-switch button{font-size:11px}table{font-size:12px}th{font-size:10px}td:first-child{font-size:11px}td:nth-child(3){font-size:12px}td .badge{font-size:10px}td .button{font-size:10px}.page-footer{font-size:10px}.modal-head p,.modal-info,.concept-foot{font-size:12px}.result-toolbar button{font-size:11px}
@media(max-width:1000px){.section-heading{align-items:flex-start}.worker-toolbar{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat small{font-size:11px}}
@media(max-width:720px){.nav-item{font-size:0}.mode-banner{font-size:11px}.mode-banner button{font-size:0}.page-heading p{font-size:12px}.heading-actions .button{font-size:10px}.heading-actions .subtle{font-size:10px}.worker-title h3{font-size:13px}.worker-title span{font-size:10px}.card-header .badge{font-size:10px}.card-account{font-size:9px}.card-account strong{font-size:11px}.activity-line{font-size:11px}.activity-line>small{font-size:9px}.activity-sub{font-size:10px}.tool-btn{font-size:10px}.card-footer .start-btn{font-size:10px}.worker-footnote{font-size:10px}.search input{width:100%}.stat-label{font-size:11px}.stat small{font-size:10px}.breadcrumb{font-size:10px}.top-status{font-size:10px}}
.worker-grid:has(>.worker-card:only-child){grid-template-columns:minmax(0,600px)}.worker-source{display:flex;justify-content:space-between;align-items:center;margin:-2px 0 15px;gap:12px;font-size:10px;color:#8b9c8b}.worker-source strong{font-size:12px;font-weight:500;color:#56715b}.worker-bank{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0 0}.worker-bank>.button{min-height:32px;font-size:12px}.worker-bank>span{font-size:12px;color:#59755e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.bank-input{display:flex;align-items:center;gap:7px}.bank-input input{min-width:0}.bank-input>.button{padding:7px 10px;min-height:37px;font-size:11px}.bank-search{display:flex;flex-direction:column;gap:9px;font-size:12px;color:#728b6d}.bank-search input{padding:12px;border:1px solid #dce5d5;border-radius:6px;font-size:13px;width:100%}.bank-picker-count{font-size:11px;color:#8fa084;margin:15px 0 11px}.bank-picker-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:420px;overflow:auto;padding:1px 4px 3px 1px}.bank-option{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:15px;border:1px solid #e4eadf;background:#f9fbf6;border-radius:6px;min-height:49px;padding:12px;font-size:12px;line-height:1.5;color:#53724e}.bank-option>span:last-child{font-size:17px;color:#89a17b}.permata-link-box{display:flex;flex-direction:column;gap:10px;padding:17px;border:1px solid #e3ebdb;border-radius:8px;background:#f8fbf4;margin-bottom:18px}.permata-link-box>span{font-size:10px;letter-spacing:1px;color:#91a284}.permata-link-box>strong{font-size:15px;font-weight:550;color:#557749;overflow-wrap:anywhere}@media(max-width:450px){.bank-input{flex-wrap:wrap}.bank-input>.button{width:100%}.bank-picker-list{grid-template-columns:1fr}.worker-grid:has(>.worker-card:only-child){grid-template-columns:minmax(0,1fr)}}
.status-login{margin-left:auto;padding:0;background:none;border-radius:5px;cursor:pointer}.status-login>.badge{margin:0!important;padding:7px 9px;border:1px solid #ecd8b3;font-size:11px}.status-login:hover>.badge{background:#f5e8c9;text-decoration:underline}.worker-login-button{background:#176b54;color:#fff;min-height:36px;padding:8px 13px;font-size:12px;border:1px solid #176b54;box-shadow:0 2px 3px #176b5410}.card-tools{gap:8px;flex-wrap:wrap}@media(max-width:720px){.card-footer{align-items:flex-end}.worker-login-button{font-size:11px;padding:8px 10px}.card-tools{gap:5px}}
.browser-keyboard-hint{padding:10px 12px;margin:0 0 10px;border:1px solid #c5dfd3;background:#eff8f2;border-radius:6px;color:#176b54;font-size:12px;line-height:1.6}.browser-screen[tabindex]{cursor:default;user-select:none}.browser-screen[tabindex]:focus{outline:3px solid #176b54;outline-offset:2px}
.browser-input-status{min-height:20px;margin:0 0 8px;color:#176b54;font-size:12px;line-height:1.5}.browser-input-status.input-error{padding:8px 10px;background:#fff1ee;border:1px solid #e5b2a4;border-radius:5px;color:#9c3623}

/* Role-specific panel: one private result beside the admin form. */
.top-actions{display:flex;align-items:center;gap:12px}.role-preview{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:-7px 0 26px;font-size:12px;color:var(--muted)}.role-preview button{border:1px solid var(--line);background:white;border-radius:6px;padding:8px 12px;color:var(--ink)}.role-preview button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.role-preview small{margin-left:auto;font-size:11px}.single-number{width:100%;border:1px solid #dce5dc;border-radius:6px;padding:14px;font-size:18px;letter-spacing:.8px;color:var(--ink);margin:9px 0 4px}.single-number::placeholder{font-size:13px;letter-spacing:0;color:#97a39a}.current-result-panel{min-width:0;min-height:350px}.latest-label{font-size:9px;letter-spacing:1.3px;color:#7c9285;margin-left:auto}.checker-availability{font-size:12px;color:#72847a;padding:17px 0 18px;border-bottom:1px solid var(--line)}.result-empty{min-height:250px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#92a198;padding:20px}.result-empty>span{font-size:35px;background:#f2f6f1;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;margin-bottom:16px}.result-empty>strong{font-size:15px;font-weight:500;color:#667e70}.result-empty p{font-size:12px;line-height:1.8;max-width:250px}.single-result-status{margin:20px 0}.single-result-status .badge{font-size:12px;padding:8px 11px}.single-result dl{margin:0}.single-result dl>div{padding:0 0 21px}.single-result dt{font-size:10px;letter-spacing:1px;color:#8a9c90;margin-bottom:9px}.single-result dd{margin:0;font-size:16px;font-weight:500;overflow-wrap:anywhere;line-height:1.5}.single-result .result-number{font-variant-numeric:tabular-nums;letter-spacing:.8px;font-size:20px}.single-result .owner-result{border-top:1px solid var(--line);padding-top:19px}.single-result .owner-result dd{font-size:23px;font-weight:600;color:#385f4b}.single-result-note{font-size:12px;color:#7d8d83;line-height:1.8;margin:0}.single-result.valid .single-result-status .badge{color:#176b54;background:#eaf4ee}.users-list{margin:15px 0 25px}.user-row{padding:14px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.user-row strong{font-size:14px;font-weight:600}.user-row span{display:block;font-size:12px;color:var(--muted);margin-top:6px}.user-row small{color:var(--muted);font-size:11px}.user-form h3{font-size:14px;font-weight:600;margin:0 0 17px}.form-stack select{width:100%;font-size:13px}.form-stack input{width:100%}.login-card label{display:block;font-size:12px;color:#6a7d70}.login-card input{margin:8px 0 18px}.login-card p{color:#6f8076}.login-card .button{margin-top:16px}body[data-role=admin] .queue-layout{margin-top:24px;align-items:stretch}body[data-role=admin] .page{max-width:1400px}body[data-role=admin] .input-help{line-height:1.8;margin:16px 0 22px}body[data-role=admin] .form-row{margin-bottom:24px}body[data-role=admin] .page-heading{margin-bottom:20px}body[data-role=signed_out] .sidebar nav{visibility:hidden}
@media(max-width:1000px) and (min-width:801px){body[data-role=admin] .queue-layout{grid-template-columns:1fr 1fr}body[data-role=admin] .form-row{grid-template-columns:1fr}}
@media(max-width:800px){body[data-role=admin] .queue-layout{grid-template-columns:1fr}.current-result-panel{min-height:300px}.result-empty{min-height:190px}.role-preview small{margin-left:0;width:100%}.top-actions{gap:7px}.top-actions .button{font-size:11px;min-height:30px;padding:6px 10px}.single-result .owner-result dd{font-size:21px}}
.parallel-control{display:flex;align-items:center;gap:8px;font-size:11px;color:#758b7d;white-space:nowrap}.parallel-control select{font-size:12px}.worker-toolbar{flex-wrap:wrap;justify-content:flex-end}.queue-position{display:block;margin-top:6px;color:#8b9d8f;font-size:10px}.worker-card.starting:before{background:#c4a267}.badge.starting{background:#fbf4e7;color:#a98b4e}@media(max-width:1000px){.worker-toolbar{justify-content:flex-start}.parallel-control{width:100%}}
.card-account .account-name{display:flex;align-items:center;justify-content:flex-end;gap:7px;max-width:72%;min-width:0}.card-account .account-name strong{min-width:0;max-width:none}.account-edit{flex-shrink:0;color:#176b54;background:#f0f6f1;border:1px solid #dfe9df;border-radius:4px;padding:5px 7px;font-size:10px}.account-edit:hover{text-decoration:underline}

/* Latest submitted batch stays beside the form; history remains below. */
.queue-layout{align-items:start}.input-panel{min-width:0}.batch-summary{font-size:12px;color:#647d6b;margin:17px 0 0;line-height:1.7}.batch-list{display:grid;gap:10px;max-height:460px;overflow-y:auto;overscroll-behavior:contain;margin-top:15px;padding-right:6px}.batch-result-row{padding:15px;background:#f8fbf6;border:1px solid #e2ebdd;border-radius:7px}.batch-result-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.batch-result-head strong{font-size:13px;color:#46694f;overflow-wrap:anywhere}.batch-result-number{font:14px ui-monospace,monospace;letter-spacing:.5px;margin:12px 0 9px;overflow-wrap:anywhere;color:#526c58}.batch-result-owner{font-size:16px;font-weight:600;color:#738371;line-height:1.6;overflow-wrap:anywhere}.batch-result-owner.valid{color:#176b54}.batch-result-row small{display:block;font-size:11px;color:#899b88;margin-top:7px}.result-toolbar{flex-wrap:wrap;gap:8px}.results-panel .section-heading>div:first-child{min-width:180px}.current-result-panel .checker-availability{padding-top:14px}.queue-switch{flex-wrap:wrap}
@media(min-width:801px){.queue-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(min-width:801px) and (max-width:1150px){.queue-layout .form-row{grid-template-columns:1fr}.queue-layout .bank-input{flex-wrap:wrap}}
@media(max-width:800px){.queue-layout{grid-template-columns:minmax(0,1fr)}.batch-list{max-height:400px}.result-toolbar{justify-content:flex-start}.result-toolbar select{max-width:100%}}

/* Dedicated checking and worker views share one running queue. */
body[data-view=check] #checking-page .queue-layout{margin-top:0}#page-heading:focus{outline:none}#page-heading:focus-visible{outline:2px solid #176b54;outline-offset:5px;border-radius:3px}.nav-item[aria-current=page]{background:#21483c;color:#fff}
@media(max-width:720px){.sidebar{height:auto;min-height:65px;flex-wrap:wrap;padding-block:12px;gap:12px}.sidebar nav{width:100%;flex-wrap:wrap;gap:6px}.sidebar .nav-item{font-size:11px;padding:8px 10px;gap:7px;border-radius:5px}.sidebar .nav-item>span:first-child{font-size:16px;width:18px}.sidebar .nav-item[aria-current=page]{background:#21483c!important}.sidebar .nav-count{display:none}.sidebar .nav-item>span:last-child{white-space:nowrap}body[data-view=check] .queue-layout{margin-top:0}}
