.pool-page{--pool-muted:#657089;--pool-line:#e4e8ef;color:#28374d}.pool-page .page-head h1{letter-spacing:-.04em}.pool-head-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.pool-page .btn,.pool-dialog .btn{min-height:42px}.pool-hero{display:flex;justify-content:space-between;gap:26px;align-items:center;padding:28px 30px;border:1px solid #dce4ee;background:linear-gradient(118deg,#edf2fb,#f8f9fb 72%);border-radius:23px;margin:0 0 24px}.pool-hero-copy{max-width:570px}.pool-kicker{display:flex;align-items:center;gap:8px;font:600 10px/1.5 var(--display);letter-spacing:.14em;color:#4e6992;text-transform:uppercase}.pool-kicker i{height:6px;width:6px;background:#5578c1;border-radius:50%}.pool-hero h2{font:600 25px/1.4 var(--display);letter-spacing:-.035em;margin:13px 0 9px}.pool-hero p{font-size:12px;line-height:1.9;color:var(--pool-muted);margin:0}.pool-constellation{width:124px;height:91px;flex-shrink:0;color:#7891bb}.pool-constellation svg{height:100%;width:100%;stroke-width:1}.pool-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:23px}.pool-stat{background:#fffefa;border:1px solid var(--pool-line);border-radius:18px;padding:19px 21px}.pool-stat span{color:var(--pool-muted);font-size:11px}.pool-stat strong{display:block;font:600 29px/1.2 var(--display);font-variant-numeric:tabular-nums;letter-spacing:-.04em;margin-top:12px}.pool-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--pool-line);flex-wrap:wrap}.pool-filters{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.pool-filters input,.pool-filters select{min-height:42px;background:#f6f8fb;border:1px solid #e3e8ef;border-radius:11px;padding:10px 12px;color:#43536c;min-width:0;font-size:12px}.pool-filters input{flex:1;max-width:330px}.pool-table{width:100%;border-collapse:collapse;min-width:740px}.pool-table th,.pool-table td{padding:17px 14px;text-align:left;border-bottom:1px solid #edf0f5;white-space:normal;vertical-align:middle;font-size:11px}.pool-table th{font-size:10px;color:#69778c;font-weight:550;background:#fafbfc}.pool-table th:first-child,.pool-table td:first-child{width:40px;padding-left:22px}.pool-check{width:18px;height:18px;accent-color:#3155e7;cursor:pointer}.pool-account-name{display:flex;align-items:center;gap:12px}.pool-provider-mark{display:inline-grid;place-items:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:#f3eae2;color:#946746;font:600 17px/1 var(--display)}.pool-provider-mark.openai{color:#356c59;background:#e7f1e9}.pool-provider-mark.gemini{color:#5865a0;background:#e9edf8}.pool-account-name b{display:block;font-size:13px;color:#2a3a53;line-height:1.55;overflow-wrap:anywhere;max-width:230px}.pool-account-name small,.pool-cell-note{display:block;color:#6b7890;font-size:10px;line-height:1.65;margin-top:4px;overflow-wrap:anywhere;max-width:230px}.pool-status{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:5px 8px;background:#edf2f8;color:#5c6c86;font-size:10px;line-height:1.5}.pool-status i{width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.pool-status.healthy{background:#e9f4ec;color:#30714a}.pool-status.error,.pool-status.expired{background:#fff0e9;color:#a0492c}.pool-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.pool-row-actions button{border:1px solid #dfe5ef;background:#fff;padding:8px 10px;min-height:36px;border-radius:8px;color:#506788;font-size:10px}.pool-row-actions button:hover{background:#edf2fb}.pool-selectbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;background:#edf2ff;padding:12px 20px;border-bottom:1px solid #dce5fb}.pool-selectbar[hidden]{display:none}.pool-selectbar>span{font-size:11px;margin-right:auto;color:#3d5485}.pool-empty{padding:58px 24px;text-align:center;display:flex;align-items:center;flex-direction:column}.pool-empty>svg{width:34px;height:34px;color:#7a90b4;margin-bottom:20px}.pool-empty h2{font:600 21px/1.5 var(--display);margin:0 0 9px}.pool-empty p{font-size:12px;line-height:1.8;color:var(--pool-muted);max-width:420px;margin:0 0 21px}.pool-pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;font-size:11px;color:var(--pool-muted);gap:10px}.pool-pagination>div{display:flex;gap:8px}.pool-notice{display:flex;gap:10px;align-items:flex-start;background:#eff3fa;border:1px solid #e2e9f4;color:#546b8c;border-radius:12px;padding:13px 15px;font-size:11px;line-height:1.8}.pool-notice svg{width:17px;height:17px;margin-top:1px;flex-shrink:0}.pool-notice.success{background:#edf6ef;border-color:#d7eadc;color:#376c48}.pool-footnote{font-size:11px;color:var(--pool-muted);line-height:1.8;margin:15px 2px 0}.pool-dialog{width:min(740px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:28px;border:1px solid #dde5ef;border-radius:22px;background:#fffefa;color:#28374d;box-shadow:0 24px 100px #162b4b33;overflow:auto}.pool-dialog::backdrop{background:#14243c66;backdrop-filter:blur(4px)}.pool-dialog-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:21px}.pool-dialog-head h2{margin:0;font:600 23px/1.45 var(--display);letter-spacing:-.025em}.pool-dialog-close{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#edf1f7;color:#60708b;flex-shrink:0}.pool-dialog-close:hover{background:#e0e8f5}.pool-dialog .field{color:#465b7a;font-size:12px;gap:9px}.pool-dialog .field small{color:#6a7890;font-size:11px;line-height:1.8}.pool-dialog input,.pool-dialog select,.pool-dialog textarea{width:100%;min-width:0;padding:12px;border:1px solid #dfe5ef;border-radius:10px;background:#f9fafc;color:#32435e;min-height:45px}.pool-dialog textarea{resize:vertical;font:12px/1.8 Consolas,monospace;min-height:100px;tab-size:2}.pool-dialog .pool-secret-input{font-family:Consolas,monospace}.pool-dialog fieldset{border:1px solid #e2e7f0;border-radius:14px;min-width:0;padding:17px;margin:0}.pool-dialog legend{font-size:12px;font-weight:550;padding:0 7px;color:#536783}.pool-form{display:grid;gap:18px}.pool-form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.pool-form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}.pool-steps{list-style:none;padding:0;margin:0 0 26px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pool-steps li{border-top:2px solid #e3e7ef;padding-top:12px;display:flex;gap:8px;align-items:center;font-size:11px;color:#7c8799;line-height:1.5}.pool-steps li span{display:inline-grid;place-items:center;flex-shrink:0;width:22px;height:22px;border-radius:7px;background:#edf1f7;font-variant-numeric:tabular-nums}.pool-steps li.current{border-color:#4163d6;color:#3352ae}.pool-steps li.current span{background:#e6edff;color:#3352ae}.pool-provider-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.pool-choice{position:relative;display:block;cursor:pointer;min-width:0}.pool-choice>input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;z-index:1;cursor:pointer}.pool-choice>span{border:1px solid #dfe5ef;border-radius:13px;padding:17px 13px;display:flex;flex-direction:column;gap:10px;background:#fafbfc;color:#4d5e79;min-height:98px}.pool-choice b{font-size:12px;font-weight:550;overflow-wrap:anywhere}.pool-choice input:checked+span{border-color:#839ae0;box-shadow:inset 0 0 0 1px #839ae0;background:#eef3ff;color:#344f95}.pool-choice input:focus-visible+span{outline:3px solid #8ca5f4;outline-offset:3px}.pool-method-options{display:grid;grid-template-columns:1fr 1fr;gap:9px}.pool-method-options .pool-choice>span{min-height:52px;justify-content:center;padding:13px}.pool-choice input:disabled+span{opacity:.5}.pool-dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;border-top:1px solid #e4e9f0;padding-top:18px;margin-top:3px}.pool-dialog-actions .pool-back{margin-right:auto}.pool-helper{font-size:12px;color:#66758c;line-height:1.85;margin:0}.pool-auth-link{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:16px;background:#edf3ff;border:1px solid #d7e3fc;border-radius:12px}.pool-auth-link a{font-size:12px;font-weight:600;color:#345dbb;text-decoration:underline;text-underline-offset:4px}.pool-auth-link small{font-size:10px;color:#667b9f;overflow-wrap:anywhere}.pool-check-label{display:flex;align-items:center;gap:10px;font-size:12px;color:#4c607e;line-height:1.7}.pool-check-label input{height:18px;min-height:18px;width:18px;margin:0;accent-color:#3155e7;flex-shrink:0}.pool-checkboxes{display:flex;flex-wrap:wrap;gap:12px 20px}.pool-error{font-size:12px;line-height:1.8;color:#a03e31;background:#fff1ec;padding:12px 14px;border-radius:10px;overflow-wrap:anywhere}.pool-error:empty{display:none}.pool-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;background:#f2f5fa;border:1px solid #e4e9f2;padding:18px;border-radius:14px;margin-bottom:20px}.pool-detail-grid>div{min-width:0}.pool-detail-grid dt{font-size:10px;color:#6e7e99;margin-bottom:7px}.pool-detail-grid dd{font-size:12px;color:#3e5273;margin:0;line-height:1.7;overflow-wrap:anywhere}.pool-detail-title{font-size:13px;color:#455c7e;font-weight:600;margin:23px 0 12px}.pool-events{list-style:none;margin:0;padding:0;display:grid;gap:10px}.pool-events li{padding:12px 15px;border:1px solid #e5eaf2;border-radius:11px;font-size:11px;line-height:1.7;color:#526780}.pool-events time{display:block;font-size:10px;color:#77869c;margin-bottom:5px}.pool-json{font:11px/1.8 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;background:#f3f6fa;border-radius:12px;border:1px solid #e3e9f2;padding:15px;max-height:240px;overflow:auto;color:#4b6282}.pool-group-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px}.pool-group-card{background:#fffefa;border:1px solid #dfe6f0;border-radius:17px;padding:20px;min-width:0}.pool-group-card h2{font-size:15px;font-weight:600;margin:0 0 8px;overflow-wrap:anywhere}.pool-group-card p{font-size:11px;color:#6d7c94;line-height:1.8;min-height:20px;overflow-wrap:anywhere}.pool-group-card .pool-row-actions{margin-top:17px}.pool-import-file{border:1px dashed #ccd8ec;border-radius:12px;padding:13px;background:#f7f9fd}.pool-import-file input{border:0;background:none;padding:8px 0;min-height:0;font-size:11px}.pool-page .pool-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:20px 23px}.pool-panel-heading h2{font-size:15px;font-weight:600;margin:0}.pool-live{font-size:12px;line-height:1.8;color:#456891}.pool-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.pool-result-actions .btn{font-size:11px}.pool-user-view .pool-hero{background:linear-gradient(115deg,#eef4ee,#fafbf7)}
@media(max-width:1000px){.pool-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pool-stats{gap:10px}.pool-stat{padding:16px}.pool-stat strong{font-size:26px}}
@media(max-width:600px){.pool-hero{padding:22px 20px;gap:12px;margin-bottom:18px}.pool-hero h2{font-size:21px}.pool-constellation{display:none}.pool-stats{grid-template-columns:1fr 1fr;gap:9px;margin-bottom:18px}.pool-stat{border-radius:14px;padding:16px}.pool-toolbar{padding:16px;gap:14px}.pool-filters{flex-wrap:wrap;width:100%;flex-basis:100%;gap:8px}.pool-filters input{flex-basis:100%;max-width:none}.pool-filters select{flex:1}.pool-head-actions{width:100%}.pool-head-actions>.btn{flex:1;white-space:normal;font-size:11px;line-height:1.5}.pool-page .page-head{gap:18px}.pool-dialog{padding:23px 18px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.pool-dialog-head h2{font-size:21px}.pool-steps{gap:7px;margin-bottom:21px}.pool-steps li{align-items:flex-start;font-size:10px;gap:6px}.pool-steps li span{width:19px;height:19px;border-radius:6px}.pool-provider-options{gap:8px}.pool-choice>span{padding:13px 10px;min-height:94px}.pool-choice b{font-size:11px}.pool-method-options{grid-template-columns:1fr}.pool-method-options .pool-choice>span{min-height:48px}.pool-form-row,.pool-form-row.three{grid-template-columns:1fr}.pool-dialog input,.pool-dialog select,.pool-dialog textarea{font-size:16px}.pool-dialog textarea{font-size:13px}.pool-dialog-actions{flex-wrap:wrap;gap:8px}.pool-dialog-actions .btn{font-size:11px;min-height:45px;white-space:normal;line-height:1.5;flex:1}.pool-dialog-actions .pool-back{margin-right:0}.pool-detail-grid{grid-template-columns:1fr;padding:16px}.pool-group-grid{grid-template-columns:1fr}.pool-pagination{padding:16px;flex-wrap:wrap}.pool-selectbar{padding:12px 16px}.pool-selectbar>span{width:100%}.pool-selectbar .btn{font-size:10px;padding:9px 11px}.pool-empty{padding:42px 20px}.pool-row-actions button{min-height:40px}.pool-result-actions .btn{min-height:44px}.pool-page .pool-panel-heading{padding:18px 16px;flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.pool-page *,.pool-dialog *{scroll-behavior:auto;animation:none!important;transition:none!important}}

.pool-advanced{border:1px solid #e0e7f0;border-radius:13px;padding:0 16px}.pool-advanced summary{cursor:pointer;padding:16px 0;color:#4b6385;font-size:12px;font-weight:600}.pool-advanced[open]>.pool-form{padding:4px 0 17px}.pool-form[hidden]{display:none}.pool-provider-mark svg{width:23px;height:23px}
body.pool-modal-open{overflow:hidden}
@media(max-width:600px){.pool-page .page-head{flex-direction:column;align-items:stretch}.pool-page .page-head>div:first-child{width:100%;min-width:0}.pool-page .page-head h1{font-size:27px}.pool-page .pool-head-actions>.btn{border-radius:12px;min-height:44px}.pool-page .pool-head-actions{justify-content:flex-start}.pool-page .page-head .pool-head-actions>.btn{flex:1;max-width:none}}
@media(max-width:380px){.pool-provider-options{grid-template-columns:1fr}.pool-provider-options .pool-choice>span{flex-direction:row;align-items:center;gap:12px;min-height:57px;padding:9px 12px}.pool-provider-options .pool-choice b{font-size:12px}.pool-provider-options .pool-provider-mark{width:33px;height:33px}.pool-steps li{flex-direction:column;gap:7px}.pool-dialog{padding:20px 15px}}
