:root{font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#172033;background:#f5f7fb;--ink:#172033;--muted:#6f7d92;--line:#e5eaf2;--blue:#3764e5;--blue-dark:#284db9;--green:#18866a;--red:#bd514f;--shadow:0 14px 40px rgba(26,44,82,.07)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at 12% -10%,#e6efff 0,transparent 34%),radial-gradient(circle at 90% 0,#e7f7f1 0,transparent 30%),#f5f7fb;color:var(--ink)}main{max-width:1360px;margin:auto;padding:28px 34px 44px}header{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:4px 0 22px;padding:25px 28px;border-radius:22px;background:linear-gradient(120deg,#182642,#2c4c83);color:white;box-shadow:0 18px 42px rgba(30,54,101,.2)}header small{font-size:10px;letter-spacing:2px;color:#b9c9ed}header h1{font-size:30px;line-height:1.1;margin:8px 0 0;letter-spacing:-.8px}h1,h2{font-weight:700}h2{font-size:17px;margin:0}p{color:var(--muted);line-height:1.7}#connection{font-size:12px;color:#d3f4e7;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);padding:9px 13px;border-radius:20px;white-space:nowrap}.navigation{display:flex;align-items:center;gap:9px;margin:12px 0;flex-wrap:wrap}.navigation a,.navigation button{appearance:none;text-decoration:none;font:inherit;font-size:12px;font-weight:650;border:1px solid var(--line);border-radius:10px;padding:10px 15px;background:#fff;color:#53627a;cursor:pointer;transition:.16s}.navigation a:hover,.navigation button:hover{border-color:#bdcae1;color:var(--blue);transform:translateY(-1px)}.navigation strong{font-size:12px;color:var(--muted);margin-left:5px}.navigation button[aria-current=page]{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 5px 14px rgba(55,100,229,.22)}.card{padding:25px;background:rgba(255,255,255,.94);border:1px solid rgba(221,228,239,.9);border-radius:16px;margin:0 0 20px;box-shadow:var(--shadow)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 20px}.stats article{position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);padding:20px 21px;border-radius:15px;box-shadow:0 8px 24px rgba(37,55,93,.04)}.stats article:after{content:"";position:absolute;right:-24px;bottom:-30px;width:80px;height:80px;border-radius:50%;background:#edf3ff}.stats span{font-size:11px;color:var(--muted);letter-spacing:.2px}.stats strong{display:block;font-size:31px;line-height:1.15;margin-top:9px;font-weight:750;letter-spacing:-.8px;font-variant-numeric:tabular-nums}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:18px}.toolbar h2{display:flex;align-items:center;gap:8px}.toolbar h2:before{content:"";display:inline-block;width:4px;height:18px;border-radius:4px;background:var(--blue)}input[type=password],textarea{font:inherit;padding:12px 13px;border:1px solid #d8e0ec;border-radius:10px;width:100%;background:#fbfcff;color:var(--ink);transition:.15s}input:focus,textarea:focus{outline:3px solid #dce7ff;border-color:#8daaf4}textarea{resize:vertical}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px}.actions label{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}.actions input,.actions select{padding:9px 10px;border:1px solid #d8e0ec;border-radius:9px;background:#fbfcff;color:var(--ink);max-width:260px}button{font:inherit;font-size:12px;font-weight:650;border:1px solid transparent;border-radius:9px;padding:10px 15px;background:var(--blue);color:white;cursor:pointer;transition:.16s;box-shadow:0 4px 10px rgba(55,100,229,.14)}button:hover{background:var(--blue-dark);transform:translateY(-1px)}button:active{transform:translateY(0)}button:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}.secondary{background:#f0f4fb;color:#4e6180;border-color:#dce4f1;box-shadow:none}.secondary:hover{background:#e5ecf8;color:#315bc7}.danger{background:#fff1f0;color:var(--red);border-color:#f1d8d5;box-shadow:none}.danger:hover{background:#ffe6e4;color:#a73e3b}.muted{font-size:11px;color:#8591a4}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:11px;margin-top:14px}table{width:100%;border-collapse:separate;border-spacing:0;text-align:left;font-size:12px;background:white}th{position:sticky;top:0;z-index:1;background:#f4f7fc;color:#738198;font-weight:650;white-space:nowrap}th,td{padding:13px 11px;border-bottom:1px solid #edf0f5}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8faff}td:last-child{max-width:340px;line-height:1.6}.status{border-radius:7px;background:#edf8f3;color:#28785f;padding:4px 8px;white-space:nowrap}.status.bad{background:#fff0ef;color:#ad4b47}footer{font-size:11px;color:#909caf;padding:14px 0 0;text-align:center}#login{max-width:470px;margin:72px auto;padding:32px 34px}#login h2{font-size:23px;margin-bottom:5px}#login button{margin-top:12px;width:100%;min-height:44px}#error{position:fixed;bottom:24px;left:50%;z-index:1100;transform:translateX(-50%);background:#293a5b;color:white;padding:13px 20px;border-radius:11px;max-width:90vw;box-shadow:0 10px 28px rgba(15,27,52,.24)}input[type=checkbox]{accent-color:var(--blue);cursor:pointer}[hidden]{display:none!important}#license-count{width:75px}#license-created{margin-top:20px}#license-rows td{max-width:240px;overflow-wrap:anywhere}#panel-licenses table{min-width:1550px}#panel-licenses th{white-space:nowrap}#license-rows td{white-space:nowrap;overflow-wrap:normal}#license-rows td:nth-child(2),#license-rows td:nth-child(4){white-space:normal;overflow-wrap:anywhere;min-width:160px;max-width:210px}#license-rows td:nth-child(9),#license-rows td:nth-child(14){white-space:normal;overflow-wrap:anywhere;min-width:220px;max-width:360px;line-height:1.55}#license-rows td:nth-child(n+5):nth-child(-n+8){font-variant-numeric:tabular-nums}#remote-image{max-width:100%;height:auto;border:1px solid #ccd8d1}#remote-jobs p{overflow-wrap:anywhere}#remote-viewer{position:fixed;inset:0;z-index:1000;background:rgba(10,20,42,.62);display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(5px)}.remote-preview-card{background:white;padding:22px;border-radius:16px;max-width:96vw;max-height:94vh;overflow:auto;min-width:300px;box-shadow:0 20px 60px rgba(15,28,58,.3)}#remote-image{display:block;max-height:75vh;object-fit:contain;margin:auto}#remote-image[data-size="actual"]{max-width:none;max-height:none;width:auto;height:auto;margin:0}#remote-size:disabled{opacity:.5}
.token-cooldown{min-width:185px;white-space:pre-line;font-variant-numeric:tabular-nums;line-height:1.65;color:#596c88}.cooldown-banner{padding:11px 14px;background:#fff8e8;border:1px solid #eadbb7;border-radius:9px;color:#806124;font-size:12px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.token-probe .muted{font-size:12px}.token-probe .actions{gap:12px 18px}.token-probe .actions label{font-size:13px}#probe-interval{width:86px}.probe-status{white-space:pre-line;font-size:12px;font-variant-numeric:tabular-nums;margin-bottom:0}.probe-feedback{font-size:12px;margin-bottom:0}.probe-feedback[data-tone=error]{color:#ad4b47}.probe-feedback[data-tone=success]{color:#18866a}.probe-feedback[data-tone=pending]{color:#536b91}
@media(max-width:800px){main{padding:18px}.stats{grid-template-columns:1fr 1fr}header{padding:21px;border-radius:16px}header h1{font-size:25px}.toolbar{display:block}.toolbar .actions{margin-top:14px}.card{padding:19px}}
@media(max-width:520px){.stats{grid-template-columns:1fr 1fr;gap:9px}.stats article{padding:16px}.stats strong{font-size:25px}.navigation{gap:6px}header{align-items:flex-start;flex-direction:column}#connection{align-self:flex-start}}
/* Independent receiver workspace */
.library-workspace{--library-border:#e2e7ef;--library-muted:#657186;margin:0 0 28px;min-width:0;color:#1d2a3c}
.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:2px 0 20px}
.library-heading h2{font-size:25px;letter-spacing:-.6px;line-height:1.25}
.library-heading p{margin:7px 0 0;font-size:13px;color:var(--library-muted)}
.library-pool-tag{padding:7px 12px;border:1px solid #d9e2ed;border-radius:100px;background:rgba(255,255,255,.65);font-size:12px;white-space:nowrap;color:#536278}
.library-overview{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:0;background:#fff;border:1px solid var(--library-border);border-radius:16px;margin-bottom:22px;padding:22px 4px}
.library-overview>div{padding:0 24px;border-right:1px solid var(--library-border);min-width:0}.library-overview>div:last-child{border-right:0}
.library-overview span{display:block;font-size:12px;color:var(--library-muted);margin-bottom:7px}
.library-overview strong{display:block;font-size:29px;letter-spacing:-.8px;line-height:1.2;font-weight:680;font-variant-numeric:tabular-nums}
.library-overview>div:first-child strong{color:#284fc8}
.library-target-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
.library-target-card{min-width:0;background:#fff;border:1px solid var(--library-border);border-radius:20px;box-shadow:0 6px 20px rgba(25,43,73,.035);padding:26px;position:relative;overflow:hidden}
.library-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.library-server-name{display:flex;align-items:center;gap:11px;min-width:0}.library-server-name h3{margin:0;font-size:18px;letter-spacing:-.3px;font-weight:700}
.library-server-letter{width:35px;height:35px;display:grid;place-items:center;border:1px solid #dfe6f3;border-radius:11px;background:#f1f5ff;color:#325dc9;font-size:16px;font-weight:700;flex-shrink:0}
.library-target-card[data-target=B] .library-server-letter{background:#f0f8f5;color:#277d65;border-color:#dbebe3}
.library-state{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#627086;background:#f2f4f7;padding:6px 9px;border-radius:7px;white-space:nowrap}
.library-state:before{content:"";width:6px;height:6px;border-radius:100px;background:currentColor}
.library-state[data-tone=running]{background:#eaf6ef;color:#267d58}.library-state[data-tone=warning]{background:#fff4de;color:#93631b}
.library-target-card[data-running=true] .library-state[data-tone=running]:before{animation:library-pulse 2s ease-in-out infinite}
.library-endpoint{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;color:#64748a;overflow-wrap:anywhere;line-height:1.6;margin:11px 0 25px}
.library-source{padding:0;margin:0;border:0;min-width:0}.library-source legend{font-size:12px;color:#516077;font-weight:600;margin-bottom:9px;padding:0}
.library-source-options{display:grid;grid-template-columns:1fr 1fr 1fr;gap:4px;padding:4px;border-radius:10px;border:1px solid #e4e8ef;background:#f2f5f9}
.library-source-options label{position:relative;min-width:0;cursor:pointer}
.library-source-options input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.library-source-options span{display:block;text-align:center;font-size:12px;line-height:1.4;padding:9px 5px;border:1px solid transparent;border-radius:7px;white-space:nowrap;color:#667286;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.library-source-options input:checked+span{background:#fff;border-color:#dfe6f2;color:#224ebf;font-weight:650;box-shadow:0 2px 5px rgba(32,56,101,.07)}
.library-source-options input:disabled+span{opacity:.6;cursor:default}.library-source-options input:focus-visible+span{outline:3px solid #aac2ff;outline-offset:2px}
.library-source-save{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:49px;margin-top:5px}
.library-source-save button{font-size:11px;padding:7px 11px;box-shadow:none}
.library-source-hint{font-size:11px;color:#728096}.library-source-hint[data-dirty=true]{color:#9a671a}
.library-rules{display:flex;flex-wrap:wrap;gap:6px 13px;padding:12px 0 14px;font-size:11px;color:#5a687f}.library-rules b{font-weight:650;color:#364760;margin-right:3px}
.library-providers{background:#f8fafc;border:1px solid #e9edf3;border-radius:10px;padding:10px 12px;margin-bottom:23px}
.library-providers>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:11px;padding:3px 0;line-height:1.5}.library-providers>div>span:first-child{font-weight:650;color:#526176;flex-shrink:0}.library-providers>div>span:last-child{text-align:right;overflow-wrap:anywhere;color:#7e6b48}.library-providers [data-ready=true]{color:#267f62!important}.library-providers [data-ready=unknown]{color:#758195!important}
.library-card-stats{display:grid;grid-template-columns:1.12fr 1fr .85fr 1fr;gap:8px;margin:0 0 23px;padding:0}.library-card-stats>div{min-width:0}.library-card-stats dt{font-size:11px;color:#758096;margin-bottom:7px;white-space:nowrap}.library-card-stats dd{font-size:23px;line-height:1.2;font-weight:650;letter-spacing:-.5px;margin:0;font-variant-numeric:tabular-nums}.library-card-stats>div:last-child dd{color:#8f661f}
.library-receiver-snapshot{margin:-9px 0 18px;font-size:11px;line-height:1.5;color:#758096;font-variant-numeric:tabular-nums}.library-receiver-snapshot[data-stale=true]{color:#8f661f}
.library-batch{padding:17px 0 15px;border-top:1px solid #e9edf3;border-bottom:1px solid #e9edf3}
.library-batch-heading,.library-batch-detail{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.library-batch-heading strong{font-size:12px;font-weight:650}.library-batch-heading>span,.library-batch-detail{color:#788599;font-variant-numeric:tabular-nums}
.library-batch-rail{height:4px;display:flex;gap:2px;background:#edf1f7;border-radius:6px;overflow:hidden;margin:12px 0 10px}.library-batch-rail>span{display:block;flex-shrink:0;border-radius:6px;transition:width .25s ease}.library-rail-github{background:#4b72e1}.library-rail-gitlab{background:#48a283}
.library-batch p{font-size:11px;line-height:1.65;color:#67758b;margin:9px 0 0;min-height:36px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.library-card-actions{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 18px}.library-card-actions button{font-size:11px;padding:9px 12px;min-height:35px;box-shadow:none}.library-card-actions button:first-child{min-width:66px;box-shadow:0 3px 7px #3764e51a}
.library-card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:10px;color:#7c8799;border-top:1px solid #edf0f4;padding-top:15px}.library-card-foot strong{font-size:11px;color:#4a5e7a;font-weight:650;margin-left:4px;font-variant-numeric:tabular-nums}
.library-feedback,.library-status{font-size:12px;padding:11px 12px;border:1px solid #dcece3;border-radius:8px;color:#286c4e;background:#f0f8f3;line-height:1.65;margin:0 0 15px;overflow-wrap:anywhere}.library-feedback[data-tone=error],.library-status{background:#fff4f1;color:#a34535;border-color:#f1dcd5}.library-feedback[data-tone=pending]{background:#f2f6fd;color:#556d99;border-color:#e1e8f4}
.library-dialog{border:1px solid #dce4ee;border-radius:18px;padding:25px;max-width:min(540px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 48px);overflow:auto;color:#23334a;box-shadow:0 25px 100px #10284933;margin:auto;background:#fff}
.library-dialog::backdrop{background:#12243c70;backdrop-filter:blur(4px)}
.library-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.library-dialog-heading h2{font-size:20px;letter-spacing:-.4px}.library-dialog-heading button{padding:7px 11px;font-size:11px}
.library-dialog form>label{display:block;font-size:12px;font-weight:650;margin:18px 0 7px}.library-dialog input[type=url],.library-dialog input[type=password]{font:inherit;font-size:13px;width:100%;padding:12px;border:1px solid #d8e1ed;background:#fbfcfe;border-radius:9px;color:#23334a}.library-dialog input:disabled{opacity:.55}.library-dialog form>p{font-size:12px}.library-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-top:22px}.library-dialog-actions button{font-size:12px;box-shadow:none}
.library-review-dialog{max-width:min(860px,calc(100vw - 32px))}.library-review-dialog .library-dialog-heading{margin-bottom:4px}.library-review-dialog .library-endpoint{margin:8px 0 22px}.library-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:12px;color:#6a778a}.library-review-toolbar select{font:inherit;margin-left:8px;padding:8px 28px 8px 10px;border:1px solid #dce4ee;border-radius:8px;background:#fafbfe;color:#344760}.library-review-table{max-height:46dvh;overflow:auto}.library-review-table th:first-child{width:40px}.library-review-table th:nth-child(2){width:82px}.library-review-table td{font-size:12px}.library-review-table td:last-child{max-width:100%;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.library-review-table input[type=checkbox]{width:15px;height:15px;vertical-align:middle}.library-review-table .library-empty{padding:36px 20px;text-align:center;color:#7c8798;font-family:inherit}.library-review-pagination{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:14px;font-size:12px;color:#738096}.library-review-pagination>div{display:flex;gap:7px}.library-review-pagination button{font-size:11px;padding:8px 11px}.library-review-explanation{font-size:12px;line-height:1.7;margin-top:20px}
.library-workspace button:focus-visible,.library-dialog button:focus-visible,.library-dialog select:focus-visible,.library-dialog input:focus-visible{outline:3px solid #a8beef;outline-offset:3px}
.library-preview-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 15px;border:1px dashed #becde4;border-radius:10px;margin-bottom:19px;background:#edf3fc;font-size:12px;color:#566985}.library-preview-switch select{font:inherit;padding:7px 30px 7px 10px;border:1px solid #ccdaeb;border-radius:7px;background:#fff;color:#3a5277}.library-preview-switch p{margin:0;font-size:11px}
@keyframes library-pulse{50%{opacity:.4}}
@media(max-width:1120px){.library-target-grid{gap:16px}.library-target-card{padding:20px}.library-overview>div{padding:0 18px}.library-card-stats dd{font-size:21px}.library-card-actions button{padding:9px 10px}.library-heading h2{font-size:23px}}
@media(max-width:880px){.library-target-grid{grid-template-columns:minmax(0,1fr)}.library-target-card{padding:24px}.library-card-stats dd{font-size:27px}.library-card-actions{gap:9px}.library-card-actions button{font-size:12px;padding:10px 15px}.library-batch p{min-height:0}.library-overview strong{font-size:24px}.library-overview>div{padding:0 15px}}
@media(max-width:520px){.library-heading{align-items:flex-start;gap:10px;margin-bottom:17px}.library-heading h2{font-size:22px}.library-heading p{font-size:12px;max-width:240px;line-height:1.65}.library-pool-tag{display:none}.library-overview{grid-template-columns:1fr 1fr;gap:19px 0;padding:19px 0;border-radius:13px;margin-bottom:16px}.library-overview>div{padding:0 18px}.library-overview>div:nth-child(2){border:0}.library-overview strong{font-size:26px}.library-overview span{font-size:11px}.library-target-card{padding:20px 17px;border-radius:16px}.library-server-name h3{font-size:17px}.library-state{font-size:10px;padding:6px 8px}.library-endpoint{font-size:10px;margin-bottom:21px}.library-card-stats{gap:6px;grid-template-columns:1.1fr 1fr .8fr 1fr}.library-card-stats dd{font-size:21px}.library-card-stats dt{font-size:10px}.library-card-actions{gap:7px}.library-card-actions button{font-size:11px;padding:10px 11px}.library-card-foot{font-size:10px;gap:5px}.library-batch-detail{font-size:10px}.library-dialog{padding:20px 16px;max-height:calc(100dvh - 28px);max-width:calc(100vw - 22px)}.library-dialog-heading h2{font-size:18px}.library-dialog-actions{justify-content:stretch}.library-dialog-actions button{flex:1}.library-review-toolbar{align-items:flex-start;gap:10px;font-size:11px}.library-review-toolbar label{white-space:nowrap}.library-review-toolbar span{text-align:right}.library-review-table thead{display:none}.library-review-table table,.library-review-table tbody{display:block}.library-review-table tr{display:grid;grid-template-columns:24px minmax(0,1fr);padding:12px;gap:5px 8px;border-bottom:1px solid #e8edf4}.library-review-table tr:last-child{border-bottom:0}.library-review-table td{display:block;border:0;padding:0}.library-review-table td:first-child{grid-row:1/3}.library-review-table td:nth-child(2){font-family:inherit;font-weight:650;font-size:11px;color:#7384a0}.library-review-table td:last-child{grid-column:2;font-size:11px;line-height:1.7}.library-review-table .library-empty{grid-column:1/-1!important;padding:20px}.library-review-pagination{font-size:10px;gap:7px}.library-review-pagination button{padding:8px;font-size:10px}.library-preview-switch{align-items:flex-start}.library-preview-switch p{display:none}}
@media(prefers-reduced-motion:reduce){.library-workspace *,.library-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.library-retry-note{font-size:11px;line-height:1.6;color:#846120;background:#fff8e9;border:1px solid #f0e5cd;border-radius:7px;padding:8px 10px;margin:0 0 13px}
.library-batch .library-result{min-height:0;display:block;overflow:visible;-webkit-line-clamp:unset;color:#56677f;margin-top:5px}
/* Keep the existing navigation compact; the receiver cards are the page focus. */
body{background:#f6f7f9}
.app-shell{max-width:1380px;padding:24px 34px 48px}
.topbar{display:flex;align-items:center;justify-content:space-between;padding:0 0 22px;margin:0 0 18px;background:none;color:#1d2a3c;border-radius:0;border-bottom:1px solid #dde4ee;box-shadow:none;gap:20px}
.topbar-brand{display:flex;align-items:center;gap:12px}.topbar-brand .brand-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#2f5bdd;box-shadow:0 4px 10px #3d5aca16;color:#fff;font-size:12px;font-weight:750;letter-spacing:-.4px}
.topbar h1{font-size:22px;font-weight:700;letter-spacing:-.6px;line-height:1.2;margin:0}
.topbar #connection{display:inline-flex;align-items:center;gap:7px;font-size:11px;background:#fff;color:#4f647f;border:1px solid #e0e6ed;border-radius:7px;padding:7px 10px}
.topbar #connection:before{content:"";height:6px;width:6px;border-radius:50%;background:#50a480}
.sidebar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px;padding:0}
.sidebar .navigation{margin:0;gap:5px;min-width:0}.sidebar .navigation a,.sidebar .navigation button{font-size:12px;padding:9px 14px;border:1px solid transparent;box-shadow:none;background:transparent;color:#61728b;min-height:37px}
.sidebar .platform-nav{background:#e9edf4;padding:4px;border-radius:10px}.sidebar .platform-nav a[aria-current=true],.sidebar .platform-nav a[aria-current=page]{background:#fff;border-color:#e0e7f1;box-shadow:0 2px 4px #293c6010;color:#2e55b3}
.sidebar .platform-nav strong{font-size:11px;line-height:1;padding:0 8px;border-left:1px solid #cfd9e8;margin-left:5px;color:#4f6a8f}
.sidebar .management-nav button[aria-current=page]{background:#fff;color:#2e55b3;border-color:#dce4ef;box-shadow:0 2px 5px #2f47600a}
.sidebar .navigation a:hover,.sidebar .navigation button:hover{transform:none;background:#fff;border-color:#dce4ef;color:#244ea8}
.sidebar .navigation a:focus-visible,.sidebar .navigation button:focus-visible{outline:3px solid #abc0f0;outline-offset:2px}
.workspace-content{min-width:0}
.library-heading{margin-top:0}.library-heading h2{font-size:26px}.library-target-card{box-shadow:0 3px 10px #1d334605}
.library-source-options span{min-height:39px;display:flex;align-items:center;justify-content:center}
.library-card-actions button{min-height:39px;font-size:12px}.library-source-save button{min-height:35px}
#login{margin:70px auto 0;background:#fff;max-width:480px;border-radius:18px;box-shadow:0 9px 32px #1b385908}
.login-points{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:11px;color:#73869c;margin:17px 0 23px}.login-helper{font-size:11px;overflow-wrap:anywhere;color:#738297}
@media(max-width:1024px){.app-shell{padding:23px 24px 40px}.sidebar{gap:12px;margin-bottom:27px}.library-card-stats dd{font-size:23px}.library-card-stats dt{font-size:11px}.library-rules{font-size:12px}.library-batch-heading,.library-batch-detail{font-size:12px}.library-source-options span{font-size:12px}}
@media(max-width:650px){.app-shell{padding:20px 18px 35px}.topbar{padding-bottom:19px;margin-bottom:16px;flex-direction:row;align-items:center}.topbar h1{font-size:21px}.topbar-brand .brand-mark{width:35px;height:35px}.topbar #connection{font-size:10px;align-self:auto}.sidebar{align-items:flex-start;flex-direction:column;gap:11px;margin-bottom:26px}.sidebar .navigation{flex-wrap:wrap;gap:4px}.sidebar .navigation a,.sidebar .navigation button{padding:10px 15px;min-height:40px}.sidebar .management-nav{width:100%;padding-bottom:15px;border-bottom:1px solid #e1e6ef;gap:6px}.sidebar .management-nav button{padding:10px 14px}.library-heading h2{font-size:23px}.library-card-actions button,.library-source-save button,.library-dialog button,.library-review-toolbar select{min-height:40px}.library-source-options span{min-height:41px;padding:10px 6px}.library-overview strong{font-size:27px}.library-card-stats dd{font-size:22px}.library-batch-heading{font-size:11px}.library-batch-detail{font-size:11px}.library-providers>div{font-size:12px}.library-card-foot{font-size:11px}.library-source-hint{font-size:11px}.library-preview-switch select{min-height:40px}.library-review-pagination button{min-width:62px}.library-review-table input[type=checkbox]{width:20px;height:20px}#login{margin-top:36px;padding:24px}}
@media(max-width:390px){.app-shell{padding:18px 13px 32px}.topbar h1{font-size:20px}.library-card-stats dd{font-size:21px}.library-card-stats dt{font-size:10px}.library-card-actions button{padding:10px 12px}.sidebar .management-nav button{padding:10px 12px}}
.sidebar #platform-name{display:none}
.library-source+.library-card-actions{margin:9px 0 8px;padding-bottom:14px;border-bottom:1px solid #e9edf3}
.library-source+.library-card-actions+.library-rules{padding-top:10px}
.library-batch+.library-feedback{margin-top:14px}
.library-batch~.library-card-foot{margin-top:16px}
.library-heading{gap:20px}.library-add-node{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;min-height:42px;font-size:13px;padding:10px 16px;box-shadow:0 3px 8px #315dcc1a}.library-add-node>span{font-size:20px;font-weight:400;line-height:1}
.library-server-name{min-width:0;flex:1}.library-server-letter{flex:none}.library-server-identity{min-width:0}.library-server-identity h3{overflow-wrap:anywhere;line-height:1.35}.library-card-top>.library-state{flex:none;max-width:46%;white-space:normal;text-align:center}
.library-environment{display:inline-flex;margin-top:6px;padding:2px 7px;border-radius:5px;border:1px solid #dfe7f2;font-size:10px;line-height:1.5;font-weight:550;letter-spacing:.3px;color:#587295;background:#f4f7fb}.library-environment[data-environment=production]{color:#255cc1;border-color:#d8e5ff;background:#f0f5ff}.library-environment[data-environment=backup]{color:#217862;border-color:#d6ebe5;background:#f0f8f5}.library-environment[data-environment=test]{color:#976624;border-color:#f1e3ca;background:#fcf7ef}
.library-dialog .library-form-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.library-form-columns>div{min-width:0}.library-dialog select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #d8e1ee;border-radius:9px;background:#fff;color:#24334c;font:inherit;font-size:13px;padding:10px 12px;margin:7px 0 17px}.library-dialog input{box-sizing:border-box;min-height:44px}.library-dialog label{font-size:13px;font-weight:550;color:#42516a}.library-dialog input:focus-visible,.library-dialog select:focus-visible{outline:3px solid #b7cbf7;outline-offset:2px}.library-dialog input:disabled,.library-dialog select:disabled{background:#f3f5f8;color:#7b8799}
.library-add-dialog{width:540px;max-width:calc(100vw - 40px);padding:28px}.library-add-dialog .library-dialog-heading{align-items:flex-start;margin-bottom:12px}.library-add-dialog .library-dialog-heading>div{display:flex;align-items:center;gap:11px}.library-dialog-symbol{display:flex;align-items:center;justify-content:center;width:35px;height:35px;flex:none;border:1px solid #dbe5f5;background:#f1f5fc;border-radius:10px;color:#315bba;font-size:25px;font-weight:400}.library-add-dialog #library-add-description{font-size:13px;color:#738198;line-height:1.7;margin:0 0 23px}.library-add-dialog .library-field-help{font-size:11px;color:#7a879b;line-height:1.65;margin:7px 0 20px}.library-add-footer{border-top:1px solid #e7edf5;padding-top:18px;margin-top:3px;display:flex;flex-direction:column;gap:13px}.library-add-footer>span{font-size:11px;color:#8390a4;line-height:1.6}.library-add-footer .library-dialog-actions{margin:0}.library-add-footer button{min-height:42px;min-width:105px}.library-add-dialog .library-feedback{overflow-wrap:anywhere;margin-top:0}
.library-dialog input[type=text]{font:inherit;font-size:13px;width:100%;padding:12px;border:1px solid #d8e1ed;background:#fbfcfe;border-radius:9px;color:#23334a}.library-dialog input+.library-form-columns{margin-top:20px}
.library-dialog .library-form-columns input[type=text]{margin:7px 0 17px}
@media(max-width:520px){.library-heading{flex-wrap:wrap;align-items:center;gap:13px}.library-add-node{font-size:12px;min-height:40px;padding:9px 13px}.library-add-dialog{padding:22px 18px;max-width:calc(100vw - 24px)}.library-add-dialog .library-dialog-heading>div{gap:8px}.library-add-dialog .library-dialog-heading h2{font-size:20px}.library-add-dialog .library-dialog-heading>button{font-size:11px;padding:8px 10px}.library-dialog .library-form-columns{gap:11px}.library-dialog select{font-size:12px;padding:10px 9px}.library-add-dialog #library-add-description{font-size:12px;margin-bottom:20px}.library-add-footer .library-dialog-actions{display:flex;gap:10px}.library-server-identity h3{font-size:17px}}

@media(max-width:520px){.library-review-dialog .library-dialog-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.library-review-dialog .library-dialog-actions button{min-width:0;padding:10px 8px}.library-review-dialog #library-review-retry-all{grid-column:1/-1}}
