/* ==========================================================================
   WAVEBREAK — Admin
   Same visual language as the mobile/desktop app and the public site: deep
   ocean gradient, frosted-glass cards, cyan glow accents, Inter type.
   Selector names are unchanged from the previous stylesheet on purpose —
   only the look changed — so resources/views/*.blade.php needed no edits.
   ========================================================================== */

:root {
    color-scheme: dark;
    --midnight: #0B1020;
    --deep-ocean: #0F1E2E;
    --wave-cyan: #00D6FF;
    --ocean-teal: #00B4C8;
    --ice: #E6F2F7;
    --ice-70: rgba(230, 242, 247, .7);
    --ice-55: rgba(230, 242, 247, .55);
    --ice-30: rgba(230, 242, 247, .3);
    --ice-14: rgba(230, 242, 247, .14);
    --ice-08: rgba(230, 242, 247, .08);
    --card-bg: rgba(15, 30, 46, .60);
    --warn: #FFB020;
    --danger: #FF6B7A;
    --success: #35E0A1;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shadow-card: 0 20px 60px rgba(2, 6, 16, .45);
    --sidebar-w: 250px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ice);
    background: var(--midnight);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(680px 460px at 85% -10%, rgba(0, 214, 255, .13), transparent 60%),
        linear-gradient(160deg, var(--midnight) 0%, var(--deep-ocean) 55%, var(--midnight) 100%);
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }

/* ---- Shell layout ---------------------------------------------------------- */

.adm-layout {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

.adm-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(3, 8, 18, .6);
}
.adm-overlay.open { display: block; }

.adm-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-right: 1px solid var(--ice-08);
    background: rgba(15, 30, 46, .55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 50;
}

.adm-sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adm-brand { display: flex; align-items: center; gap: 10px; }
.adm-brand-word { display: flex; flex-direction: column; line-height: 1.15; }
.adm-brand-word strong { display: block; font-family: "Michroma", var(--font); font-size: 13px; letter-spacing: .01em; font-weight: 400; }
.adm-brand-word small { font-weight: 500; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ice-55); }
.adm-brand-wave { color: rgba(255, 255, 255, .92); }
.adm-brand-break {
    background: linear-gradient(120deg, var(--wave-cyan), var(--ocean-teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.wavebreak-logo {
    width: 48px;
    height: 42px;
    object-fit: contain;
    flex: 0 0 48px;
    transform: scale(1.35);
    filter: drop-shadow(0 0 8px rgba(0, 214, 255, .2));
}

.adm-close-btn {
    display: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--ice-14);
    background: transparent;
    color: var(--ice-55);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.adm-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; overflow-y: auto; }
.adm-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ice-55);
    transition: background .15s ease, color .15s ease;
}
.adm-link svg { width: 17px; height: 17px; flex-shrink: 0; }
.adm-link:hover { background: rgba(230, 242, 247, .05); color: var(--ice); }
.adm-link.active {
    background: rgba(0, 214, 255, .12);
    color: var(--wave-cyan);
    border: 1px solid rgba(0, 214, 255, .22);
}

.adm-logout-form { margin-top: auto; }
.adm-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 13px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--ice-08);
    color: var(--ice-55);
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.adm-logout-btn svg { width: 16px; height: 16px; }
.adm-logout-btn:hover { color: var(--danger); border-color: rgba(255, 107, 122, .3); }

.adm-main { padding: 20px min(36px, 4vw) 60px; min-width: 0; position: relative; }

.adm-hamburger {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ice-14);
    background: rgba(230, 242, 247, .04);
    color: var(--ice);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 14px;
}
.adm-hamburger--open { display: none; }

/* ---- Health bar -------------------------------------------------------------- */

.health-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    border: 1px solid var(--ice-08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    margin-bottom: 22px;
}
.health-bar-stats { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--ice-55); flex-wrap: wrap; }
.health-bar-stats strong { color: #fff; }
.health-stat span { color: var(--wave-cyan); font-weight: 600; margin-left: 4px; }
.health-bar-nodes { display: flex; gap: 8px; flex-wrap: wrap; }

.node-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(230, 242, 247, .05);
    border: 1px solid var(--ice-08);
    color: var(--ice-70);
}
.node-chip__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ice-30); }
.node-chip.alive { color: var(--success); border-color: rgba(53, 224, 161, .3); }
.node-chip.alive .node-chip__dot { background: var(--success); box-shadow: 0 0 0 3px rgba(53, 224, 161, .18); }
.node-chip.dead { color: var(--danger); border-color: rgba(255, 107, 122, .3); }
.node-chip.dead .node-chip__dot { background: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 122, .18); }
.hb-load { color: var(--ice-55); font-weight: 400; margin-left: 2px; }

/* ---- Alerts -------------------------------------------------------------------- */

.adm-alert {
    border: 1px solid rgba(53, 224, 161, .35);
    background: rgba(53, 224, 161, .1);
    color: #c9ffe9;
    border-radius: var(--radius-md);
    padding: 13px 16px;
    font-size: 13.5px;
    margin-bottom: 20px;
}
.adm-alert p { margin: 2px 0; }
.adm-alert--error {
    border-color: rgba(255, 107, 122, .35);
    background: rgba(255, 107, 122, .1);
    color: #ffd7db;
}

/* ---- Page heading ---------------------------------------------------------------- */

.adm-dashboard-lite { display: flex; flex-direction: column; gap: 22px; }
.adm-kicker {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--wave-cyan);
    margin-bottom: 6px;
    display: block;
}
.adm-section-title { font-size: 26px; font-weight: 700; color: #fff; letter-spacing: -.01em; }

/* ---- KPI grid ---------------------------------------------------------------------- */

.adm-kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.adm-stat {
    background: var(--card-bg);
    border: 1px solid var(--ice-08);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.adm-stat span { font-size: 12px; color: var(--ice-55); text-transform: uppercase; letter-spacing: .05em; }
.adm-stat strong { font-size: 24px; font-weight: 700; color: #fff; }

/* ---- Menu cards (dashboard home) ----------------------------------------------------- */

.adm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }

.adm-card {
    background: var(--card-bg);
    border: 1px solid var(--ice-08);
    border-radius: var(--radius-lg);
    padding: 22px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-card);
}

.adm-menu-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    min-height: 128px;
    transition: transform .18s ease, border-color .18s ease;
}
.adm-menu-card:hover { transform: translateY(-2px); border-color: rgba(0, 214, 255, .3); }
.adm-menu-card h6 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.adm-menu-card p { font-size: 13px; color: var(--ice-55); }
.adm-settings-status {
    flex-shrink: 0;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--wave-cyan);
    background: rgba(0, 214, 255, .12);
    border-radius: 999px;
    padding: 5px 11px;
    white-space: nowrap;
}

.adm-card-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.adm-card-head--row { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.adm-card-head h6 { font-size: 16px; font-weight: 600; color: #fff; }
.adm-card-head p { font-size: 13px; color: var(--ice-55); margin-top: 4px; }

/* ---- Forms ------------------------------------------------------------------------------ */

.adm-form { display: flex; flex-direction: column; gap: 14px; max-width: 420px; }
.adm-form label { display: flex; flex-direction: column; gap: 7px; font-size: 12.5px; color: var(--ice-55); font-weight: 500; }
.adm-input, .adm-compact-select {
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ice-14);
    background: rgba(230, 242, 247, .04);
    padding: 0 13px;
    color: var(--ice);
    font-size: 13.5px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.adm-input:focus, .adm-compact-select:focus { border-color: var(--wave-cyan); box-shadow: 0 0 0 3px rgba(0, 214, 255, .18); }

.adm-compact-select option,
.adm-role-select option {
    background: var(--deep-ocean);
    color: var(--ice);
}

.adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid var(--ice-14);
    background: rgba(230, 242, 247, .04);
    color: var(--ice);
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease;
}
.adm-btn:hover { transform: translateY(-1px); background: rgba(230, 242, 247, .08); }
.adm-btn-primary {
    background: linear-gradient(135deg, var(--wave-cyan), var(--ocean-teal));
    border-color: transparent;
    color: var(--midnight);
    box-shadow: 0 10px 28px rgba(0, 214, 255, .28);
}
.adm-btn-primary:hover {
    background: linear-gradient(135deg, #5ce0ff, var(--wave-cyan) 55%, var(--ocean-teal));
    box-shadow: 0 14px 36px rgba(0, 214, 255, .4);
}

.adm-inline-form { display: inline-flex; }
.adm-link-button {
    background: none;
    border: none;
    padding: 0;
    color: var(--danger);
    font-weight: 600;
    font-size: 12.5px;
    cursor: pointer;
}
.adm-link-button:hover { text-decoration: underline; }
.adm-link-button--delete { margin-left: 10px; color: #ff5e73; }

/* ---- Plan snapshot rows --------------------------------------------------------------- */

.adm-core-snapshot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--ice-08);
    font-size: 13.5px;
}
.adm-core-snapshot:last-child { border-bottom: none; }
.adm-core-snapshot__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wave-cyan); flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0, 214, 255, .16); }
.adm-core-snapshot strong { color: #fff; font-weight: 600; }
.adm-core-snapshot span { color: var(--ice-55); }

.adm-empty-state { color: var(--ice-55); font-size: 13.5px; padding: 8px 0; }

/* ---- Tables ------------------------------------------------------------------------------ */

.adm-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.adm-table-search {
    position: relative;
    flex: 1 1 240px;
    max-width: 320px;
}
.adm-table-search input {
    width: 100%;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--ice-14);
    background: rgba(230, 242, 247, .04);
    padding: 0 13px;
    color: var(--ice);
    font-size: 13px;
    outline: none;
}
.adm-table-search input:focus { border-color: var(--wave-cyan); box-shadow: 0 0 0 3px rgba(0, 214, 255, .18); }
.adm-table-search input::placeholder { color: var(--ice-30); }
.adm-table-count { font-size: 12px; color: var(--ice-55); font-variant-numeric: tabular-nums; white-space: nowrap; }

.adm-table-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.adm-table th {
    text-align: left;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--ice-55);
    font-weight: 600;
    padding: 10px 12px;
    border-bottom: 1px solid var(--ice-08);
    white-space: nowrap;
}
.adm-table th.is-sortable { cursor: pointer; -webkit-user-select: none; user-select: none; }
.adm-table th.is-sortable:hover { color: var(--ice); }
.adm-table th.is-sortable::after { content: "\2195"; margin-left: 5px; opacity: .35; }
.adm-table th.sort-asc::after { content: "\2191"; opacity: 1; color: var(--wave-cyan); }
.adm-table th.sort-desc::after { content: "\2193"; opacity: 1; color: var(--wave-cyan); }
.adm-table td { padding: 11px 12px; border-bottom: 1px solid var(--ice-08); color: var(--ice-70); }
.adm-table tbody tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover { background: rgba(230, 242, 247, .03); }
.adm-table tbody tr[hidden] { display: none; }
.adm-table .date-cell { color: var(--ice-55); font-variant-numeric: tabular-nums; white-space: nowrap; }
.adm-table .num-cell { font-variant-numeric: tabular-nums; text-align: right; }

/* ---- Role chip / select --------------------------------------------------------------- */

.adm-role-select {
    height: 32px;
    border-radius: 999px;
    border: 1px solid var(--ice-14);
    background: rgba(230, 242, 247, .05);
    color: var(--ice);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

/* ---- Chart ------------------------------------------------------------------------------- */

.adm-chart-card { padding: 20px 22px 14px; }
.adm-range-toggle {
    display: flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--ice-08);
    border-radius: 999px;
    background: rgba(230, 242, 247, .03);
    flex-shrink: 0;
}
.adm-range-toggle button {
    border: 0;
    background: transparent;
    color: var(--ice-55);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    cursor: pointer;
}
.adm-range-toggle button.is-active {
    background: linear-gradient(135deg, var(--wave-cyan), var(--ocean-teal));
    color: var(--midnight);
}
.adm-chart-wrap { position: relative; height: 260px; }
.adm-chart-wrap--live { height: 200px; }
.adm-chart-empty { color: var(--ice-55); font-size: 13.5px; padding: 30px 0; text-align: center; }
.adm-live-controls { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.adm-live-controls [hidden] { display: none !important; }
.adm-icon-btn--live { width: 38px; height: 38px; color: var(--wave-cyan); border-color: rgba(0, 214, 255, .3); background: rgba(0, 214, 255, .08); }
.adm-icon-btn--live:hover { background: rgba(0, 214, 255, .15); }
.adm-icon-btn--live svg { width: 18px; height: 18px; }

/* ---- Modal ------------------------------------------------------------------------------- */

.adm-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(3, 8, 18, .68);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.adm-modal-backdrop.open { display: flex; }
.adm-modal {
    width: 100%;
    max-width: 480px;
    max-height: 88vh;
    overflow-y: auto;
    background: var(--deep-ocean);
    border: 1px solid var(--ice-14);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}
.adm-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.adm-modal-head h6 { font-size: 16px; font-weight: 600; color: #fff; }
.adm-modal-close {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--ice-14); background: transparent; color: var(--ice-55);
    display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.adm-modal-close:hover { color: var(--ice); }
.adm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.adm-form-check { display: flex; flex-direction: row; align-items: center; gap: 8px; }
.adm-form-check input { width: 16px; height: 16px; }
.adm-form-actions { display: flex; gap: 10px; margin-top: 4px; }
.adm-icon-btn {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--ice-14); background: rgba(230, 242, 247, .04); color: var(--ice-70);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.adm-icon-btn:hover { color: var(--wave-cyan); border-color: rgba(0, 214, 255, .3); }
.adm-row-actions { display: flex; gap: 6px; align-items: center; }

/* ---- Responsive ---------------------------------------------------------------------------- */

@media (max-width: 980px) {
    .adm-layout { grid-template-columns: 1fr; }
    .adm-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(280px, 84vw);
        transform: translateX(-100%);
        transition: transform .22s ease;
    }
    .adm-sidebar.open { transform: translateX(0); }
    .adm-close-btn { display: flex; }
    .adm-hamburger--open { display: inline-flex; }
    .adm-kpi-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .adm-kpi-grid { grid-template-columns: 1fr; }
    .health-bar { flex-direction: column; align-items: flex-start; }
}

/* ---- Operator assistant --------------------------------------------------------------- */
.adm-assistant-launcher {
    position: fixed; right: 24px; bottom: 24px; z-index: 85;
    width: 54px; height: 54px; display: grid; place-items: center;
    border: 1px solid rgba(0, 214, 255, .34); border-radius: 50%;
    color: var(--midnight); background: var(--wave-cyan); cursor: pointer;
    box-shadow: 0 14px 38px rgba(0, 0, 0, .42), 0 0 24px rgba(0, 214, 255, .18);
    transition: transform .18s ease, box-shadow .18s ease;
}
.adm-assistant-launcher:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 214, 255, .25); }
.adm-assistant-launcher svg { width: 24px; height: 24px; }
.adm-assistant-launcher__dot { display: none; position: absolute; right: 2px; top: 2px; width: 10px; height: 10px; border-radius: 50%; background: #35e0a1; border: 2px solid var(--midnight); }
.adm-assistant-launcher.has-update .adm-assistant-launcher__dot { display: block; }
.adm-assistant {
    position: fixed; right: 24px; bottom: 90px; z-index: 86;
    width: min(390px, calc(100vw - 32px)); height: min(610px, calc(100vh - 120px));
    display: grid; grid-template-rows: auto 1fr auto auto;
    color: var(--ice); background: rgba(5, 13, 27, .97);
    border: 1px solid rgba(230, 242, 247, .14); border-radius: 8px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .58);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98);
    transform-origin: right bottom; transition: opacity .18s ease, transform .18s ease, visibility .18s;
    overflow: hidden; backdrop-filter: blur(18px);
}
.adm-assistant.open { opacity: 1; visibility: visible; transform: none; }
.adm-assistant__head { display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border-bottom: 1px solid var(--ice-08); }
.adm-assistant__head div { display: grid; gap: 3px; }
.adm-assistant__head strong { font-size: 13px; letter-spacing: .02em; }
.adm-assistant__head span { display: flex; align-items: center; gap: 6px; color: var(--ice-55); font-size: 11px; }
.adm-assistant__head span i { width: 6px; height: 6px; border-radius: 50%; background: #35e0a1; box-shadow: 0 0 8px rgba(53, 224, 161, .6); }
.adm-assistant__head > button { width: 30px; height: 30px; border: 0; background: transparent; color: var(--ice-55); font-size: 24px; line-height: 1; cursor: pointer; }
.adm-assistant__messages { min-height: 0; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.adm-assistant-message { align-self: flex-start; max-width: 91%; }
.adm-assistant-message > p { white-space: pre-line; margin: 0; padding: 11px 13px; border: 1px solid var(--ice-08); border-radius: 7px; background: rgba(230, 242, 247, .045); color: var(--ice-70); font-size: 13px; line-height: 1.5; }
.adm-assistant-message.is-user { align-self: flex-end; }
.adm-assistant-message.is-user > p { color: var(--ice); border-color: rgba(0, 214, 255, .22); background: rgba(0, 214, 255, .1); }
.adm-assistant-message.is-warning > p { border-color: rgba(255, 190, 70, .3); }
.adm-assistant-message.is-error > p { border-color: rgba(255, 94, 115, .34); color: #ffb2bd; }
.adm-assistant-message > a { display: inline-block; margin: 8px 3px 0; color: var(--wave-cyan); font-size: 12px; font-weight: 600; text-decoration: none; }
.adm-assistant-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 7px; }
.adm-assistant-facts span { display: grid; gap: 3px; padding: 9px 10px; border: 1px solid var(--ice-08); background: rgba(230, 242, 247, .025); }
.adm-assistant-facts small { color: var(--ice-55); font-size: 10px; }
.adm-assistant-facts strong { color: #fff; font-size: 13px; }
.adm-assistant-confirm { display: grid; gap: 9px; margin-top: 8px; padding: 11px; border-left: 2px solid var(--wave-cyan); background: rgba(0, 214, 255, .06); }
.adm-assistant-confirm span { color: var(--ice-70); font-size: 12px; line-height: 1.4; }
.adm-assistant-confirm button { justify-self: start; border: 0; border-radius: 5px; padding: 7px 10px; background: var(--wave-cyan); color: var(--midnight); font-size: 11px; font-weight: 700; cursor: pointer; }
.adm-assistant-confirm button:disabled { opacity: .55; cursor: wait; }
.adm-assistant__suggestions { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; }
.adm-assistant__suggestions button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--ice-14); border-radius: 999px; color: var(--ice-70); background: transparent; font-size: 11px; cursor: pointer; }
.adm-assistant__suggestions button:hover { border-color: rgba(0, 214, 255, .4); color: var(--wave-cyan); }
.adm-assistant__form { display: grid; grid-template-columns: 1fr 38px; gap: 8px; align-items: end; padding: 12px 14px 14px; border-top: 1px solid var(--ice-08); }
.adm-assistant__form textarea { width: 100%; min-height: 38px; max-height: 92px; resize: none; padding: 9px 11px; border: 1px solid var(--ice-14); border-radius: 6px; outline: 0; background: rgba(230, 242, 247, .04); color: var(--ice); font: inherit; font-size: 13px; }
.adm-assistant__form textarea:focus { border-color: rgba(0, 214, 255, .5); }
.adm-assistant__form button { width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 6px; background: var(--wave-cyan); color: var(--midnight); cursor: pointer; }
.adm-assistant__form button svg { width: 18px; height: 18px; }
.adm-assistant-typing { display: flex; gap: 4px; padding: 8px 4px; }
.adm-assistant-typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--ice-30); animation: adm-assistant-pulse .9s infinite alternate; }
.adm-assistant-typing i:nth-child(2) { animation-delay: .15s; }
.adm-assistant-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes adm-assistant-pulse { to { opacity: .25; transform: translateY(-2px); } }
@media (max-width: 560px) {
    .adm-assistant-launcher { right: 16px; bottom: 16px; }
    .adm-assistant { right: 16px; bottom: 82px; height: min(570px, calc(100vh - 105px)); }
}
