:root {
    --background: #0e0e0f;
    --surface: #141415;
    --card: #171718;
    --popover: #1b1b1d;
    --muted: #1f1f22;
    --muted-foreground: #9a9aa2;
    --foreground: #f5f5f6;
    --primary: #d1742d;
    --primary-hover: #e0863f;
    --primary-foreground: #0a0605;
    --secondary: #232326;
    --secondary-foreground: #ededf0;
    --border: #2a2a2e;
    --border-strong: #3a3a40;
    --input: #202024;
    --ring: #d1742d;
    --success: #4ade80;
    --success-bg: rgba(74, 222, 128, .12);
    --warning: #f5b74a;
    --warning-bg: rgba(245, 183, 74, .12);
    --danger: #f26363;
    --danger-bg: rgba(242, 99, 99, .12);
    --accent-soft: rgba(209, 116, 45, .14);
    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow: 0 8px 24px -12px rgba(0, 0, 0, .7);
    --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .8);
    --sidebar-w: 244px;
    --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Consolas, "Courier New", monospace;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--foreground);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--accent-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
    color: inherit;
}

svg {
    display: block;
    flex: none;
}

.icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

/* ---------- scrollbars ---------- */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-strong) transparent;
}

*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
    background: var(--border-strong);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: #4a4a52; background-clip: content-box; }

/* ---------- forms ---------- */
label {
    display: grid;
    gap: 7px;
    font-weight: 500;
    font-size: 13px;
    color: var(--foreground);
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--input);
    color: var(--foreground);
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}

input {
    height: 40px;
    padding: 0 13px;
}

textarea {
    min-height: 104px;
    padding: 11px 13px;
    resize: vertical;
}

input[type="file"] {
    padding: 8px 12px;
    height: auto;
    color: var(--muted-foreground);
}

input::placeholder,
textarea::placeholder { color: #6a6a72; }

input:focus,
textarea:focus,
select:focus {
    border-color: var(--ring);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    cursor: pointer;
}

.check-row input {
    width: 18px;
    height: 18px;
    min-height: 0;
    accent-color: var(--primary);
    cursor: pointer;
}

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

.scrim { display: none; }

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 18px 14px;
    border-right: 1px solid var(--border);
    background: var(--surface);
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 10px 16px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--primary), #b45f1f);
    color: var(--primary-foreground);
}

.brand-text { display: grid; line-height: 1.2; }
.brand-text b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { font-size: 11px; color: var(--muted-foreground); }

.nav-label {
    padding: 12px 12px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6c6c74;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    padding: 9px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted-foreground);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: background .15s, color .15s;
}

.nav-btn:hover {
    background: var(--muted);
    color: var(--foreground);
}

.nav-btn.active {
    background: var(--accent-soft);
    color: var(--primary);
    font-weight: 600;
}

.nav-btn.active .icon { color: var(--primary); }

.sidebar-footer {
    margin-top: auto;
    padding: 12px 10px 4px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--muted);
    color: var(--foreground);
    font-weight: 700;
    font-size: 14px;
    flex: none;
}

.sidebar-footer .who { display: grid; line-height: 1.2; min-width: 0; }
.sidebar-footer .who b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-footer .who span { font-size: 11px; color: var(--muted-foreground); }

.icon-btn {
    margin-left: auto;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--muted-foreground);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}

.icon-btn:hover { background: var(--muted); color: var(--foreground); border-color: var(--border-strong); }

.workspace {
    min-width: 0;
    padding: 26px 32px 44px;
}

.topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.topbar h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.topbar p {
    margin: 5px 0 0;
    color: var(--muted-foreground);
    font-size: 13.5px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--surface);
}

.live-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 0 rgba(74, 222, 128, .6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); }
    70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.view { display: grid; gap: 18px; }

@keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.view > * { animation: rise .34s cubic-bezier(.22, .7, .3, 1) both; }
.view > *:nth-child(2) { animation-delay: .05s; }
.view > *:nth-child(3) { animation-delay: .1s; }
.view > *:nth-child(4) { animation-delay: .15s; }

.cards .card { animation: rise .38s cubic-bezier(.22, .7, .3, 1) both; }
.cards .card:nth-child(1) { animation-delay: .02s; }
.cards .card:nth-child(2) { animation-delay: .07s; }
.cards .card:nth-child(3) { animation-delay: .12s; }
.cards .card:nth-child(4) { animation-delay: .17s; }

.stat { transition: border-color .2s ease, transform .2s ease; }
.stat:hover { transform: translateY(-2px); border-color: #35353b; }

.chart-svg path { transition: opacity .3s ease; }

/* ---------- grid ---------- */
.grid { display: grid; gap: 16px; }
.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.charts-grid { grid-template-columns: 1.7fr 1fr; align-items: stretch; }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }

/* ---------- card ---------- */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: border-color .2s ease;
}

.card:hover { border-color: #333338; }

.card > h2,
.card > h3 {
    margin: 0 0 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.01em;
}

.card > .card-sub {
    margin: 0 0 16px;
    color: var(--muted-foreground);
    font-size: 12.5px;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.card-head h2, .card-head h3 { margin: 0; }

/* ---------- stat card ---------- */
.stat {
    display: grid;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.stat .label {
    color: var(--muted-foreground);
    font-weight: 500;
    font-size: 13px;
}

.stat-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: var(--muted);
    color: var(--muted-foreground);
}

.stat.is-primary .stat-ico { background: var(--accent-soft); color: var(--primary); }
.stat.is-success .stat-ico { background: var(--success-bg); color: var(--success); }
.stat.is-danger .stat-ico { background: var(--danger-bg); color: var(--danger); }

.stat .value {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat .foot {
    font-size: 12px;
    color: var(--muted-foreground);
}

.stat .spark { margin-top: 2px; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    padding: 0 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13.5px;
    white-space: nowrap;
    color: var(--primary-foreground);
    background: var(--primary);
    transition: background .15s, border-color .15s, opacity .15s, transform .05s;
}

.btn:hover { background: var(--primary-hover); }
.btn:active { transform: translateY(1px); }

.btn.small { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 8px; }

.btn.secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-color: var(--border);
}
.btn.secondary:hover { background: #2c2c30; border-color: var(--border-strong); }

.btn.outline {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border-strong);
}
.btn.outline:hover { background: var(--muted); }

.btn.ghost {
    background: transparent;
    color: var(--muted-foreground);
    border-color: transparent;
}
.btn.ghost:hover { background: var(--muted); color: var(--foreground); }

.btn.danger {
    background: transparent;
    color: var(--danger);
    border-color: rgba(242, 99, 99, .3);
}
.btn.danger:hover { background: var(--danger-bg); }

.btn:disabled { opacity: .5; cursor: not-allowed; }

.actions { display: flex; flex-wrap: wrap; gap: 7px; }

/* ---------- toolbar ---------- */
.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.toolbar h2 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.toolbar p { margin: 4px 0 0; }

/* ---------- table ---------- */
.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
}

.card-head + .table-wrap,
.card > .btn + .table-wrap,
.card > .table-wrap + .btn { margin-top: 4px; }

table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

thead th {
    position: sticky;
    top: 0;
    background: var(--surface);
    color: var(--muted-foreground);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 11px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
    color: var(--foreground);
}

tbody tr { transition: background .12s; }
tbody tr:hover { background: rgba(255, 255, 255, .02); }
tbody tr:last-child td { border-bottom: 0; }

td.tight { max-width: 340px; }

.mono {
    font-family: var(--mono);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.muted { color: var(--muted-foreground); }

/* ---------- badges ---------- */
.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 23px;
    border-radius: 7px;
    padding: 0 9px;
    font-weight: 600;
    font-size: 11.5px;
    border: 1px solid transparent;
}

.status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.status.new { background: var(--muted); color: var(--muted-foreground); border-color: var(--border); }
.status.active { background: var(--success-bg); color: var(--success); border-color: rgba(74, 222, 128, .25); }
.status.blocked { background: var(--danger-bg); color: var(--danger); border-color: rgba(242, 99, 99, .25); }

.pill {
    display: inline-flex;
    align-items: center;
    height: 22px;
    border-radius: 7px;
    padding: 0 9px;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 11.5px;
    font-weight: 600;
}

.reason {
    margin-top: 6px;
    color: var(--muted-foreground);
    font-size: 12px;
    max-width: 260px;
}

.tag-ok, .allowed {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    font-weight: 600;
    font-size: 12.5px;
}

.tag-bad, .denied {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--danger);
    font-weight: 600;
    font-size: 12.5px;
}

.detail-list { display: grid; gap: 4px; color: var(--muted-foreground); font-size: 12px; }
.detail-list b { color: var(--foreground); font-weight: 500; }
.detail-list .mono { color: var(--muted-foreground); font-size: 11.5px; }

/* ---------- collapsible hardware cell ---------- */
.hw-cell { display: grid; gap: 6px; max-width: 260px; }

.hw-cell .hw-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
}

.hw-cell .hw-row b { flex: none; color: var(--foreground); font-weight: 500; font-size: 12px; }

.hw-cell .hw-val {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--muted-foreground);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.hw-cell .hw-more { display: none; grid-gap: 4px; }
.hw-cell.expanded .hw-more { display: grid; gap: 4px; }
.hw-cell.expanded .hw-val { white-space: normal; overflow-wrap: anywhere; }

.hw-toggle {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 24px;
    padding: 0 9px;
    border: 1px solid rgba(209, 116, 45, .3);
    border-radius: 7px;
    background: var(--accent-soft);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}

.hw-toggle:hover { background: rgba(209, 116, 45, .2); border-color: var(--primary); }
.hw-toggle .icon { transition: transform .2s ease; }
.hw-cell.expanded .hw-toggle .icon { transform: rotate(180deg); }

.activation-meta { display: grid; gap: 3px; }
.activation-meta small { color: var(--muted-foreground); font-size: 11px; }

/* ---------- charts ---------- */
.chart-card { display: flex; flex-direction: column; }

.chart-legend {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted-foreground);
    font-weight: 500;
}

.chart-legend i { width: 9px; height: 9px; border-radius: 3px; }

.chart-svg { width: 100%; height: auto; overflow: visible; }

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.donut-center { font-variant-numeric: tabular-nums; }
.donut-legend { display: grid; gap: 11px; flex: 1; min-width: 0; }

.donut-legend .row {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
}

.donut-legend .row i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.donut-legend .row b { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.donut-legend .row span { color: var(--muted-foreground); }

/* ---------- empty / skeleton ---------- */
.empty {
    padding: 40px 24px;
    color: var(--muted-foreground);
    text-align: center;
    font-size: 13.5px;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.empty.denied { color: var(--danger); }

.skeleton {
    border-radius: var(--radius-sm);
    background: linear-gradient(100deg, var(--muted) 30%, #26262a 50%, var(--muted) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skel-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.skel-card { height: 118px; }
.skel-row { height: 300px; }

/* ---------- dialog ---------- */
.modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(6, 6, 8, .68);
    backdrop-filter: blur(6px);
    z-index: 60;
    animation: overlay-in .18s ease;
}

.modal.hidden { display: none; }

@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
    position: relative;
    width: min(440px, 100%);
    background: var(--popover);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    animation: dialog-in .2s cubic-bezier(.2, .8, .3, 1);
}

@keyframes dialog-in {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.modal-card h2 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.modal-card .card-sub { margin: 0 0 18px; color: var(--muted-foreground); font-size: 13px; }

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--muted-foreground);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s, color .15s;
}

.modal-close:hover { background: var(--muted); color: var(--foreground); }

.stack { display: grid; gap: 15px; }

/* ---------- toasts ---------- */
.toasts {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: grid;
    gap: 10px;
    z-index: 80;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    min-width: 280px;
    max-width: 380px;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--popover);
    color: var(--foreground);
    box-shadow: var(--shadow);
    font-size: 13.5px;
    animation: toast-in .25s cubic-bezier(.2, .8, .3, 1);
}

@keyframes toast-in {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: none; }
}

.toast.leaving { animation: toast-out .2s ease forwards; }

@keyframes toast-out {
    to { opacity: 0; transform: translateX(16px); }
}

.toast .t-ico { flex: none; margin-top: 1px; }
.toast.ok .t-ico { color: var(--success); }
.toast.error .t-ico { color: var(--danger); }

/* ---------- auth ---------- */
.auth-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background:
        radial-gradient(60% 60% at 50% 0%, rgba(209, 116, 45, .1), transparent 70%),
        var(--background);
}

.auth-card {
    width: min(400px, 100%);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-mark {
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, var(--primary), #b45f1f);
    color: var(--primary-foreground);
}

.auth-card h1 { margin: 0 0 6px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.auth-card > p { margin: 0 0 22px; color: var(--muted-foreground); font-size: 13.5px; }

.alert {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    padding: 11px 13px;
    border: 1px solid rgba(242, 99, 99, .35);
    border-radius: var(--radius-sm);
    background: var(--danger-bg);
    color: #ffcaca;
    font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .charts-grid, .two-cols, .settings-grid, .skel-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    :root { --sidebar-w: 0px; }
    .app-shell { grid-template-columns: 1fr; }
    .sidebar {
        position: fixed;
        left: 0; top: 0; bottom: 0;
        width: 244px;
        z-index: 70;
        transform: translateX(-100%);
        transition: transform .22s ease;
        box-shadow: var(--shadow);
    }
    .sidebar.open { transform: none; }
    .scrim:not(.hidden) { display: block; position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 65; }
    .workspace { padding: 18px 16px 34px; }
    .menu-toggle { display: grid !important; }
    .cards { grid-template-columns: 1fr; }
    .toasts { left: 16px; right: 16px; bottom: 16px; }
    .toast { min-width: 0; max-width: none; }
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--foreground);
    place-items: center;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
