/* 2026 refresh: quiet navigation, clear hierarchy, data before setup. */
:root { --canvas:#f7f8fa; --surface-muted:#f8f9fb; --hover:#f0f2f5; --line:#e4e7ec; --line-strong:#9aa3b0; --ink:#202632; --muted:#616b7b; --accent:#a43d10; --accent-soft:#fff0e6; --primary:#aa3f0e; --primary-hover:#8d3209; --rail-width:216px; --bar-height:60px; --radius:10px; font-size:14px; }
:root[data-theme="dark"] { --canvas:#14171d; --surface:#1b2028; --surface-muted:#20252e; --hover:#282f39; --line:#303844; --line-strong:#737f91; --ink:#f1f3f7; --muted:#b1b9c6; --accent:#ffb58b; --accent-soft:#36271f; }
.sidebar { background:var(--canvas); padding-inline:12px; }
.brand { gap:10px; }
.brand-mark { width:32px; height:32px; border-radius:8px; }
.brand strong { font-size:15px; }
.brand small { font-size:11px; }
.nav { margin-top:22px; gap:3px; }
.nav-link { border-radius:6px; font-weight:500; }
.nav-link[aria-current] { background:var(--surface); border-color:var(--line); color:var(--ink); box-shadow:inset 3px 0 var(--accent); font-weight:650; }
.nav-link[aria-current] .icon { color:var(--accent); }
.topbar { background:var(--canvas); }
.top-actions .button-quiet { background:transparent; border-color:transparent; }
.top-actions .button-quiet:hover { background:var(--hover); }
.workspace { padding-top:30px; }
.page-heading { align-items:center; margin-bottom:26px; }
h1 { font-size:30px; letter-spacing:-.04em; line-height:1.2; font-weight:680; }
h2 { font-size:15px; font-weight:650; }
.page-description { margin-top:7px; font-size:14px; line-height:1.6; }
.page-heading-actions { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.button { border-radius:7px; font-weight:580; transition:background-color 120ms, border-color 120ms; }
.button-quiet, .button-icon { border-color:var(--line); }
.button-quiet:hover, .button-icon:hover { border-color:var(--line-strong); }
.iproyal-field input, .iproyal-field select, .select-wrap select { border-color:var(--line-strong); border-radius:7px; }
.panel-head { min-height:72px; padding:16px 20px; }
.panel-head p { font-size:12px; }
.status-pill { font-weight:600; font-size:11px; }
.pool-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-bottom:26px; padding:3px 0 8px; }
.pool-summary > div { padding:0 24px; border-left:1px solid var(--line); }
.pool-summary > div:first-child { padding-left:0; border-left:0; }
.pool-summary dt { font-size:12px; color:var(--muted); }
.pool-summary dd { margin-top:7px; font-size:30px; font-weight:600; line-height:1.25; letter-spacing:-.04em; font-variant-numeric:tabular-nums; }
#pool-stat-working { color:var(--good); }
.pool-filters { padding:16px 20px; border-top:1px solid var(--line); gap:12px; }
.pool-bulk { padding:0 20px 12px; gap:8px; }
.pool-bulk .button { font-size:12px; background:transparent; border-color:transparent; padding-inline:8px; }
.pool-bulk .button:hover { background:var(--hover); }
.selection-actions { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
#proxy-selection-count { color:var(--accent); font-size:12px; font-weight:650; }
.proxy-pool-note { font-size:12px; padding-inline:20px; }
.proxy-pool > .proxy-pool-note:first-of-type { margin-bottom:14px; }
.proxy-pool > .proxy-pool-note:last-of-type { margin-bottom:16px; }
.proxy-table th:nth-child(1) { width:25%; }
.proxy-table th:nth-child(2) { width:16%; }
.proxy-table th:nth-child(3) { width:15%; }
.proxy-table th:nth-child(4) { width:11%; }
.proxy-table th:nth-child(5) { width:21%; }
.proxy-table th:nth-child(6) { width:12%; }
.proxy-table th { font-weight:550; padding-block:12px; }
.proxy-table td { padding-block:16px; font-variant-numeric:tabular-nums; }
.proxy-select { display:flex; align-items:center; gap:9px; min-height:26px; }
.proxy-select input { margin:0; width:16px; height:16px; }
.proxy-select code { font-size:12px; font-weight:600; white-space:nowrap; }
.proxy-address-meta, .proxy-address > .proxy-cell-note, .proxy-exit-ip { margin-left:25px; font-size:11px; }
.proxy-check-cell time { color:var(--muted); font-size:11px; }
.row-actions { display:flex; gap:2px; }
.row-actions .button { width:40px; min-height:44px; border-color:transparent; background:transparent; color:var(--muted); }
.row-actions .button:hover { background:var(--hover); color:var(--ink); }
.row-actions .row-delete:hover { color:var(--bad); background:var(--bad-soft); }
.pool-menu { position:relative; }
.pool-menu summary { list-style:none; cursor:pointer; }
.pool-menu summary::-webkit-details-marker { display:none; }
.pool-menu > div { position:absolute; z-index:3; right:0; top:calc(100% + 6px); padding:6px; background:var(--surface); border:1px solid var(--line); border-radius:9px; box-shadow:0 8px 24px #0002; }
.provider-disclosure { margin-top:20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.provider-disclosure > summary { min-height:64px; padding:14px 20px; display:flex; align-items:center; gap:18px; cursor:pointer; font-weight:600; list-style:none; }
.provider-disclosure > summary::-webkit-details-marker { display:none; }
.provider-disclosure-hint { font-size:12px; font-weight:400; color:var(--muted); }
.provider-disclosure > summary .icon { margin-left:auto; }
.provider-disclosure[open] > summary .icon { transform:rotate(180deg); }
.provider-disclosure .iproyal-catalog { padding:20px; border-top:1px solid var(--line); margin:0; }
.import-dialog { width:min(680px,calc(100% - 32px)); max-height:88dvh; padding:24px; }
.import-dialog .dialog-heading { align-items:flex-start; }
.import-dialog .dialog-heading h2 { font-size:20px; letter-spacing:-.025em; }
.import-dialog .proxy-sources { display:block; margin:16px 0 0; }
.import-dialog .proxy-source { border:0; padding:0; }
.import-dialog .proxy-source-head { display:none; }
.import-dialog .proxy-drop { padding:30px 16px; background:var(--surface-muted); border-color:var(--line-strong); }
.import-dialog .proxy-help { font-size:12px; line-height:1.7; }
.import-dialog .proxy-preview { margin-top:20px; }
.import-dialog .proxy-preview-counts dd { font-size:24px; }
.import-dialog .proxy-message { margin-inline:0; }
.login-card { border-color:var(--line); box-shadow:0 12px 40px #11182708; }
.login-card .brand-mark { width:40px; height:40px; }
.metric dd strong { font-weight:620; }
.setup-card { padding:24px; }
@media (max-width:1100px) and (min-width:961px) { .proxy-table th:nth-child(1) { width:27%; } .proxy-table th:nth-child(3) { width:13%; } .proxy-select { gap:5px; } .proxy-select code { font-size:11px; } .row-actions { flex-direction:column; } }
@media (max-width:960px) { .proxy-table .proxy-row-actions { grid-column:2; justify-self:end; } .proxy-table .proxy-availability { align-self:center; } .proxy-table tbody tr { padding:16px 20px; } .proxy-select code { font-size:13px; } }
@media (max-width:700px) { .workspace { padding-top:24px; } .page-heading { align-items:flex-start; gap:16px; } h1 { font-size:27px; } .page-heading-actions { width:100%; } .page-heading-actions .button { flex:1; } .pool-summary { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px 0; margin-bottom:22px; } .pool-summary > div { padding-inline:20px; } .pool-summary > div:nth-child(3) { padding-left:0; border-left:0; } .pool-summary dd { font-size:27px; } .pool-filters { padding:16px; } .pool-bulk { padding-inline:8px; } .proxy-pool-note { padding-inline:16px; } .provider-disclosure > summary { flex-wrap:wrap; gap:4px 12px; padding:16px; } .provider-disclosure-hint { width:calc(100% - 40px); order:3; } .provider-disclosure > summary .icon { margin-left:auto; } .provider-disclosure .iproyal-catalog { padding:14px; } .import-dialog { padding:18px; } .proxy-table tbody tr { padding:16px; } .nav-link[aria-current] { box-shadow:inset 0 -2px var(--accent); } }
@media (prefers-reduced-motion:reduce) { .button { transition:none; } }
.proxy-pool > #proxy-pool-content + .proxy-pool-note { margin:0; padding:14px 20px; border-top:1px solid var(--line); }
.proxy-table td { padding-block:12px; }
@media (max-width:700px) { .pool-filters { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 8px; } .pool-filters > label:first-child { grid-column:1 / -1; } .pool-filters select { min-width:0; font-size:12px; padding-inline:8px; } }
