/* Berth — hosting control panel.
   Navy hull, signal-yellow accent; dense tables over card grids; the command
   console at the foot of every page is the one loud element. */

:root {
    --hull: #13283d;
    --hull-2: #1c3550;
    --hull-text: #c9d6e2;
    --paper: #f2f4f3;
    --surface: #ffffff;
    --surface-2: #f7f9f8;
    --text: #18232e;
    --muted: #5a6672;
    --line: #d8dee2;
    --line-strong: #b9c3ca;
    --signal: #f2b630;
    --signal-ink: #3d2c00;
    --primary: #1d4a74;
    --primary-hover: #163a5c;
    --good: #1f7a4f;
    --good-bg: #e3f2ea;
    --warn: #9a6200;
    --warn-bg: #fdf1d8;
    --bad: #b8322a;
    --bad-bg: #fbe6e4;
    --meter-track: #e4e9ec;
    --meter-fill: #2f6a9f;
    --focus: #f2b630;
    --shadow: 0 12px 40px rgba(10, 26, 40, .22);
    --radius: 6px;
    --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --hull: #0c1a28;
        --hull-2: #15283b;
        --hull-text: #a9bccd;
        --paper: #101920;
        --surface: #17222b;
        --surface-2: #1b2832;
        --text: #e4eaee;
        --muted: #93a1ad;
        --line: #2a3843;
        --line-strong: #3b4c59;
        --primary: #4f8cc4;
        --primary-hover: #63a0d8;
        --good: #5cc28f;
        --good-bg: #173327;
        --warn: #e8b24f;
        --warn-bg: #3a2c12;
        --bad: #f0786e;
        --bad-bg: #3d1d1b;
        --meter-track: #26343f;
        --meter-fill: #5b9bd2;
        --shadow: 0 12px 40px rgba(0, 0, 0, .5);
        color-scheme: dark;
    }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font: 15px/1.5 var(--font);
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
code, .mono, pre, textarea.code { font-family: var(--mono); font-size: .88em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h2 { font-size: 1.05rem; font-weight: 600; }
h3 { font-size: .95rem; font-weight: 600; }

/* ── Brand ─────────────────────────────────────────────────────────── */
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -.01em; color: #fff; }
.brand-mark { width: 22px; height: 22px; border-radius: 4px; background: var(--signal); position: relative; flex: none; }
.brand-mark::after { content: ''; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px; background: var(--hull); border-radius: 1px; }
.brand-lg { font-size: 1.6rem; color: var(--text); }
.brand-lg .brand-mark { width: 28px; height: 28px; }

/* ── App frame ─────────────────────────────────────────────────────── */
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.side { background: var(--hull); color: var(--hull-text); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.impersonating ~ .app .side { height: calc(100vh - 38px); top: 38px; }
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.1rem .6rem; }
.side-toggle { display: none; }
.side-context { padding: .3rem 1.1rem 1rem; display: flex; flex-direction: column; border-bottom: 1px solid var(--hull-2); }
.context-role { font-size: .78rem; color: var(--hull-text); opacity: .8; }
.context-name { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.nav { padding: .6rem .5rem; flex: 1; overflow-y: auto; }
.nav-group { font-size: .75rem; color: var(--hull-text); opacity: .65; padding: .9rem .6rem .3rem; }
.nav a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .42rem .6rem; color: var(--hull-text); text-decoration: none; border-radius: 4px; border-left: 3px solid transparent; }
.nav a:hover { background: var(--hull-2); color: #fff; }
.nav a[aria-current="page"] { background: var(--hull-2); color: #fff; border-left-color: var(--signal); font-weight: 600; }
.nav .count { font-size: .75rem; background: var(--signal); color: var(--signal-ink); border-radius: 9px; padding: 0 .45rem; font-weight: 600; }
.side-foot { padding: .9rem 1.1rem; border-top: 1px solid var(--hull-2); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; font-size: .88rem; }
.side-foot .muted-inv { flex: 1 0 100%; }
.side-foot a { color: #fff; }
.muted-inv { color: var(--hull-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.impersonating { background: var(--signal); color: var(--signal-ink); padding: .5rem 1rem; font-size: .9rem; position: sticky; top: 0; z-index: 30; height: 38px; display: flex; align-items: center; gap: .5rem; }
.impersonating .link { color: var(--signal-ink); font-weight: 600; }

.main { display: flex; flex-direction: column; min-width: 0; }
.top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding: 1.4rem 2rem 1rem; flex-wrap: wrap; }
.top h1 { font-size: 1.6rem; font-weight: 650; letter-spacing: -.015em; }
.crumbs { margin: 0 0 .15rem; font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.crumbs a { color: var(--muted); }
.top-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.view { padding: 0 2rem 2rem; flex: 1; display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Panels & tables ───────────────────────────────────────────────── */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel-head p { margin: .1rem 0 0; color: var(--muted); font-size: .88rem; }
.panel-body { padding: 1rem; }
.panel-foot { padding: .7rem 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }

.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .8rem; padding: .55rem .8rem; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
.table td { padding: .55rem .8rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--surface-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table .actions { text-align: right; }
.table .actions .btn { margin: .15rem 0 .15rem .25rem; }
.table td.sub { padding-left: 2rem; }
.table td.sub::before { content: '└ '; color: var(--line-strong); font-family: var(--mono); }
th.sortable { cursor: pointer; user-select: none; }
th.sortable:hover { color: var(--text); }
.empty { padding: 2rem 1rem; text-align: center; color: var(--muted); }
.empty strong { display: block; color: var(--text); margin-bottom: .25rem; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.2rem; margin: 0; font-size: .92rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

/* ── Buttons & forms ───────────────────────────────────────────────── */
.btn { font: inherit; font-size: .9rem; font-weight: 550; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .42rem .85rem; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-danger { color: var(--bad); }
.btn-danger:hover { border-color: var(--bad); }
.btn-danger.btn-solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-sm { padding: .2rem .55rem; font-size: .82rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.form { display: flex; flex-direction: column; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field > span, .field-label { font-weight: 550; font-size: .88rem; }
.field .help { color: var(--muted); font-size: .82rem; font-weight: 400; }
input, select, textarea { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .45rem .6rem; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--primary); }
input[type="checkbox"] { width: 1rem; height: 1rem; accent-color: var(--primary); }
textarea { resize: vertical; }
textarea.code { min-height: 18rem; line-height: 1.55; tab-size: 4; white-space: pre; }
.affix { display: flex; align-items: stretch; }
.affix input { flex: 1; }
.affix .pre, .affix .post { display: flex; align-items: center; padding: 0 .6rem; background: var(--surface-2); border: 1px solid var(--line-strong); color: var(--muted); font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
.affix .pre { border-right: 0; border-radius: var(--radius) 0 0 var(--radius); }
.affix .post { border-left: 0; border-radius: 0 var(--radius) var(--radius) 0; }
.affix .pre + input { border-radius: 0 var(--radius) var(--radius) 0; }
.affix input:has(+ .post) { border-radius: var(--radius) 0 0 var(--radius); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .9rem; }
.form-section { font-weight: 600; font-size: .9rem; padding-top: .3rem; border-top: 1px solid var(--line); margin-top: .2rem; padding-top: .9rem; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .35rem .9rem; }
.check { display: flex; align-items: center; gap: .45rem; font-size: .9rem; cursor: pointer; }
.form-error { color: var(--bad); background: var(--bad-bg); padding: .5rem .7rem; border-radius: var(--radius); margin: 0; font-size: .9rem; }
.inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }

/* ── Status, badges, chips ─────────────────────────────────────────── */
.status { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 550; }
.status::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.status-good { color: var(--good); }
.status-warn { color: var(--warn); }
.status-bad { color: var(--bad); }
.status-off { color: var(--muted); }
.badge { display: inline-block; font-size: .75rem; font-weight: 600; padding: .05rem .45rem; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--muted); white-space: nowrap; }
.badge-mysql { color: #1d5f8a; border-color: #9cc2dc; background: #eaf3f9; }
.badge-postgresql { color: #3b4f8f; border-color: #b2bde3; background: #eef0fa; }
.badge-default { color: var(--signal-ink); background: var(--signal); border-color: var(--signal); }
.badge-eol { color: var(--warn); background: var(--warn-bg); border-color: transparent; }
.badge-ssl { color: var(--good); background: var(--good-bg); border-color: transparent; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .badge-mysql { color: #8cc3ea; background: #13293a; border-color: #2b4a61; }
    :root:not([data-theme="light"]) .badge-postgresql { color: #a9b6ec; background: #1c2240; border-color: #343f6b; }
}
.chips { display: flex; flex-wrap: wrap; gap: .3rem; }
.chip { display: inline-flex; align-items: center; gap: .25rem; font-family: var(--mono); font-size: .78rem; padding: .1rem .2rem .1rem .5rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; }
.chip button { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0 .25rem; font-size: .9rem; line-height: 1; }
.chip button:hover { color: var(--bad); }
.chip.plain { padding-right: .5rem; }

/* ── Meters ────────────────────────────────────────────────────────── */
.meter { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.meter-head { display: flex; justify-content: space-between; gap: .5rem; font-size: .85rem; }
.meter-head .label { font-weight: 600; }
.meter-head .value { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter-track { height: 8px; background: var(--meter-track); border-radius: 4px; overflow: hidden; display: flex; gap: 2px; }
.meter-fill { height: 100%; background: var(--meter-fill); border-radius: 4px; min-width: 2px; }
.meter-fill.seg-2 { background: #7aa7cf; }
.meter-fill.seg-3 { background: #b8cfe3; }
.meter.is-warn .meter-fill { background: var(--warn); }
.meter.is-bad .meter-fill { background: var(--bad); }
.meter-note { font-size: .78rem; font-weight: 600; }
.meter.is-warn .meter-note { color: var(--warn); }
.meter.is-bad .meter-note { color: var(--bad); }
.meter-legend { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .78rem; color: var(--muted); }
.meter-legend i { display: inline-block; width: .6rem; height: .6rem; border-radius: 2px; background: var(--meter-fill); margin-right: .3rem; vertical-align: -1px; }
.meter-legend i.seg-2 { background: #7aa7cf; }
.meter-legend i.seg-3 { background: #b8cfe3; }
.meter-sm .meter-track { height: 6px; }
.meter-sm .meter-head { font-size: .8rem; }
.meters { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem 1.5rem; }

.figure { display: flex; flex-direction: column; }
.figure .n { font-size: 1.7rem; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.figure .l { color: var(--muted); font-size: .85rem; }

/* ── Command console ───────────────────────────────────────────────── */
.console { position: sticky; bottom: 0; background: var(--hull); color: #dfe8f0; font-family: var(--mono); font-size: .82rem; border-top: 3px solid var(--signal); z-index: 10; }
.console-bar { display: flex; align-items: center; gap: .8rem; padding: .5rem 2rem; min-height: 2.4rem; }
.console-bar .prompt { color: var(--signal); font-weight: 600; }
.console-last { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.console-meta { color: var(--hull-text); opacity: .75; white-space: nowrap; font-family: var(--font); font-size: .8rem; }
.console-toggle { background: none; border: 1px solid #3a536b; color: #fff; border-radius: 4px; font: inherit; font-family: var(--font); font-size: .8rem; padding: .15rem .6rem; cursor: pointer; }
.console-toggle:hover { border-color: var(--signal); }
.console-list { max-height: 38vh; overflow-y: auto; margin: 0; padding: .2rem 2rem .8rem; list-style: none; border-bottom: 1px solid var(--hull-2); }
.console-list li { display: grid; grid-template-columns: 4.6rem 5.5rem 1fr; gap: .8rem; padding: .12rem 0; }
.console-list time { color: var(--hull-text); opacity: .6; }
.console-list .who { color: var(--signal); overflow: hidden; text-overflow: ellipsis; }
.console-list .cmd { word-break: break-word; }
.console-list li.fresh { animation: fresh 1.6s ease-out; }
.console-note { color: var(--hull-text); opacity: .7; font-family: var(--font); padding: .6rem 0 .2rem; font-size: .8rem; }
@keyframes fresh { from { background: rgba(242, 182, 48, .28); } to { background: transparent; } }
.console-last.flash { animation: fresh 1.6s ease-out; }

.log-table td.cmd { font-family: var(--mono); font-size: .82rem; word-break: break-word; }

/* ── Modal & toasts ────────────────────────────────────────────────── */
.modal-backdrop { position: fixed; inset: 0; background: rgba(8, 20, 32, .5); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 1rem 1rem; z-index: 50; overflow-y: auto; }
.modal { background: var(--surface); border-radius: 8px; width: min(560px, 100%); box-shadow: var(--shadow); display: flex; flex-direction: column; max-height: 88vh; animation: pop .14s ease-out; }
.modal.wide { width: min(980px, 100%); }
.modal-head { padding: 1rem 1.2rem .7rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.1rem; }
.modal-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--muted); padding: .2rem .4rem; }
.modal-body { padding: 1.1rem 1.2rem; overflow-y: auto; }
.modal-body > p:first-child { margin-top: 0; }
.modal-foot { padding: .8rem 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: .5rem; }
@keyframes pop { from { transform: translateY(6px); opacity: 0; } to { transform: none; opacity: 1; } }

.toasts { position: fixed; right: 1rem; bottom: 4rem; display: flex; flex-direction: column; gap: .5rem; z-index: 60; }
.toast { background: var(--text); color: var(--surface); padding: .6rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .9rem; max-width: 380px; border-left: 4px solid var(--good); }
.toast.error { border-left-color: var(--bad); }

/* ── Tabs & toolbars ───────────────────────────────────────────────── */
.tabs { display: flex; gap: .2rem; border-bottom: 1px solid var(--line); padding: 0 1rem; overflow-x: auto; }
.tabs a, .tabs button { padding: .6rem .8rem; border: 0; background: none; font: inherit; font-size: .92rem; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; white-space: nowrap; }
.tabs a:hover, .tabs button:hover { color: var(--text); }
.tabs [aria-current="page"], .tabs [aria-selected="true"] { color: var(--text); border-bottom-color: var(--primary); font-weight: 600; }
.toolbar { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
.toolbar .spacer { flex: 1; }

/* ── File and folder names (file manager, web folders) ──────────────── */
.file-name { display: inline-flex; align-items: center; gap: .5rem; }
.file-name a { color: var(--text); text-decoration: none; font-weight: 500; }
.file-name a:hover { color: var(--primary); text-decoration: underline; }
.ficon { width: 18px; height: 14px; flex: none; position: relative; border-radius: 2px; }
.ficon.dir { background: #e2b14a; }
.ficon.dir::before { content: ''; position: absolute; left: 0; top: -3px; width: 8px; height: 4px; background: #e2b14a; border-radius: 2px 2px 0 0; }
.ficon.file { width: 13px; height: 16px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.ficon.file::after { content: ''; position: absolute; left: 2px; right: 2px; top: 4px; height: 1.5px; background: var(--line-strong); box-shadow: 0 3px 0 var(--line-strong), 0 6px 0 var(--line-strong); }

/* ── Login ─────────────────────────────────────────────────────────── */
.login-page { background: var(--paper); }
.login { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.login-panel { display: flex; flex-direction: column; justify-content: center; gap: 1.2rem; padding: 3rem clamp(1.5rem, 6vw, 6rem); max-width: 520px; width: 100%; justify-self: end; }
.login-lede { color: var(--muted); font-size: 1.05rem; margin: 0; }
.login-demo { background: var(--hull); color: var(--hull-text); padding: 3rem clamp(1.5rem, 5vw, 5rem); display: flex; flex-direction: column; justify-content: center; gap: .9rem; }
.login-demo h2 { color: #fff; font-size: 1.15rem; }
.login-demo p { margin: 0; max-width: 46ch; }
.login-demo .link { color: var(--signal); font-family: var(--mono); font-weight: 500; }
.login-demo .muted { color: var(--hull-text); opacity: .75; }
.demo-logins { border-collapse: collapse; max-width: 520px; }
.demo-logins td { padding: .4rem 1rem .4rem 0; border-bottom: 1px solid var(--hull-2); vertical-align: top; font-size: .92rem; }
.login-term { margin: .8rem 0 0; color: #dfe8f0; font-size: .82rem; line-height: 1.8; border-top: 3px solid var(--signal); padding-top: .8rem; max-width: 520px; overflow-x: auto; }
.login-term .prompt { color: var(--signal); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .app { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .side, .impersonating ~ .app .side { position: static; height: auto; }
    .side-toggle { display: inline-block; background: none; border: 1px solid #3a536b; color: #fff; border-radius: 4px; font: inherit; font-size: .85rem; padding: .2rem .6rem; }
    .side .nav, .side .side-foot, .side .side-context { display: none; }
    .side.open .nav, .side.open .side-foot, .side.open .side-context { display: flex; }
    .side.open .nav { display: block; }
    .top { padding: 1rem 1rem .8rem; }
    .view { padding: 0 1rem 1.5rem; }
    .console-bar, .console-list { padding-left: 1rem; padding-right: 1rem; }
    .console-list li { grid-template-columns: 4rem 1fr; }
    .console-list .who { display: none; }
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .login { grid-template-columns: 1fr; }
    .login-panel { justify-self: stretch; max-width: none; }
    .impersonating { height: auto; position: static; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Notices ───────────────────────────────────────────────────────── */
.notice { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .7rem 1rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--primary); }
.notice-warn { border-left-color: var(--warn); background: var(--warn-bg); }

/* ── Language switchers ────────────────────────────────────────────── */
.locale-select { background: var(--hull-2); color: #fff; border-color: #3a536b; font-size: .8rem; padding: .15rem .3rem; }
.login-langs { display: flex; gap: 1rem; font-size: .9rem; }
.login-langs [aria-current] { font-weight: 600; text-decoration: none; color: var(--text); }
