:root {
  color-scheme: dark;
  --bg: #0b0c0d;
  --panel: #111314;
  --panel-raised: #151819;
  --line: #25292a;
  --line-soft: #1b1f20;
  --text: #eceeed;
  --muted: #8b9290;
  --subtle: #555d5b;
  --accent: #9fb18c;
  --accent-strong: #bed4a7;
  --green: #8fc99b;
  --red: #da8585;
  --amber: #d0b478;
  --blue: #8eaabe;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { min-width: 320px; font-size: 14px; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 30px 18px; background: radial-gradient(ellipse 55% 55% at 50% 42%, #151a17 0, #0b0c0d 72%); }
.login-card { width: min(100%, 430px); border: 1px solid #292e2c; background: rgba(16, 19, 18, .96); padding: 30px 36px 24px; box-shadow: 0 28px 100px #0009; position: relative; overflow: hidden; }
.login-card:before, .login-card:after { position: absolute; content: ""; width: 26px; height: 26px; border-color: #4c594b; opacity: .65; pointer-events: none; }
.login-card:before { border-top: 1px solid; border-left: 1px solid; top: 9px; left: 9px; }
.login-card:after { border-right: 1px solid; border-bottom: 1px solid; bottom: 9px; right: 9px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #576451; color: #c0d0b2; font: 600 19px/1 Georgia, serif; }
.brand strong { display: block; font-size: 14px; letter-spacing: .24em; font-weight: 650; }
.brand small { display: block; margin-top: 4px; color: #79827a; font-size: 8px; letter-spacing: .16em; }
.login-art { height: 136px; margin: 30px 0 27px; position: relative; display: grid; place-items: center; overflow: hidden; border-block: 1px solid #222925; background: linear-gradient(130deg, #111614, #0d100f 55%, #121613); }
.login-art:before, .login-art:after { content: ""; position: absolute; background: #414d3c; opacity: .6; }
.login-art:before { width: 1px; height: 100%; left: 50%; top: 0; }
.login-art:after { height: 1px; width: 100%; top: 50%; left: 0; }
.login-monogram { position: relative; z-index: 1; color: #d6ddcf; font: 300 72px/.8 Georgia, serif; text-shadow: 0 0 30px #a1bd8740; }
.orbit { width: 102px; height: 102px; border: 1px solid #45523f; border-radius: 50%; position: absolute; }
.orbit-one { transform: scaleX(1.72) rotate(31deg); opacity: .62; }
.orbit-two { transform: scaleX(1.72) rotate(-31deg); opacity: .36; }
.login-coordinate { position: absolute; bottom: 11px; right: 13px; color: #687163; font-size: 8px; letter-spacing: .18em; }
.eyebrow { margin: 0; color: #9aab8f; font-size: 9px; letter-spacing: .18em; font-weight: 600; }
.login-card h1 { margin: 13px 0 11px; font-size: clamp(30px, 7vw, 39px); line-height: 1.12; letter-spacing: -.045em; font-weight: 500; }
.login-card h1 span { color: #9ca39f; }
.login-description { margin: 0; max-width: 340px; color: #929995; font-size: 13px; line-height: 1.7; }
.auth-message { margin-top: 18px; border: 1px solid #684d4d; color: #e4a7a7; background: #211616; padding: 11px 12px; font-size: 12px; line-height: 1.55; }
.button { min-height: 46px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 16px; cursor: pointer; transition: background .16s, border-color .16s, transform .16s; }
.button:hover { transform: translateY(-1px); }
.button-discord { width: 100%; margin-top: 24px; color: #101310; background: #c3d2b4; font-weight: 650; }
.button-discord:hover { background: #d5e0c9; }
.button-discord svg { width: 18px; height: 18px; }
.button-discord span { margin-left: auto; font-size: 16px; }
.login-footnote { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: #69716d; font-size: 10px; }
.lock-mark { color: #9db08a; font-size: 12px; }
.login-footer { display: flex; justify-content: space-between; margin-top: 32px; border-top: 1px solid #252a27; padding-top: 14px; color: #606963; font-size: 8px; letter-spacing: .14em; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: #0e1010; border-right: 1px solid #242827; display: flex; flex-direction: column; padding: 20px 14px 14px; z-index: 10; }
.sidebar > .brand { padding: 2px 9px 23px; border-bottom: 1px solid var(--line-soft); }
.workspace-tag { display: flex; align-items: center; gap: 7px; padding: 16px 8px 12px; color: #747c78; font-size: 8px; letter-spacing: .12em; white-space: nowrap; }
.workspace-dot, .pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #98b28a; box-shadow: 0 0 9px #93b68176; flex: 0 0 auto; }
.workspace-version { margin-left: auto; color: #555e58; }
.main-nav { display: flex; flex-direction: column; gap: 3px; }
.nav-label { margin: 16px 9px 7px; color: #59615d; font-size: 8px; letter-spacing: .17em; }
.nav-label-lower { margin-top: 29px; }
.nav-item { min-height: 39px; width: 100%; border: 1px solid transparent; background: transparent; color: #969e99; display: flex; align-items: center; gap: 11px; text-align: left; padding: 0 10px; cursor: pointer; font-size: 12px; transition: color .15s, background .15s; }
.nav-item:hover { color: var(--text); background: #171a19; }
.nav-item.active { color: #dce4d6; border-color: #293126; background: #171c16; }
.nav-icon { width: 16px; color: #84917e; text-align: center; font-size: 15px; }
.nav-count { margin-left: auto; border: 1px solid #303634; min-width: 21px; text-align: center; color: #858d89; padding: 2px 4px; font-size: 9px; }
.sidebar-bottom { margin-top: auto; }
.sidebar-status { display: flex; align-items: center; gap: 9px; padding: 12px 9px; border: 1px solid #252c27; background: #121613; }
.sidebar-status strong, .sidebar-status small { display: block; }
.sidebar-status strong { font-size: 10px; font-weight: 550; }
.sidebar-status small { margin-top: 4px; color: #727a74; font-size: 9px; }
.status-check { margin-left: auto; color: #8fb095; font-size: 12px; }
.sidebar-user { display: flex; gap: 10px; align-items: center; padding: 15px 6px 11px; min-width: 0; }
.avatar { width: 31px; height: 31px; border: 1px solid #414b3d; object-fit: cover; background: #1b211b; border-radius: 50%; flex: 0 0 auto; }
.sidebar-user-copy { min-width: 0; flex: 1; }
.sidebar-user-copy strong { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 550; }
.sidebar-user-copy small { display: block; margin-top: 4px; color: #7e8b76; font-size: 9px; }
.logout-button { width: 100%; padding: 9px 8px; border: 0; background: transparent; color: #7c8480; cursor: pointer; text-align: left; font-size: 11px; }
.logout-button:hover { color: #e8b0b0; }
.logout-button span { margin-right: 7px; font-size: 15px; }
.sidebar-meta { display: flex; justify-content: space-between; margin: 14px 4px 0; color: #4f5853; font-size: 7px; letter-spacing: .11em; }
.main-area { min-height: 100vh; margin-left: 244px; }
.topbar { height: 58px; border-bottom: 1px solid #202424; background: #0e1010; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 46px); position: sticky; top: 0; z-index: 5; }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: #6b7470; font-size: 9px; letter-spacing: .12em; }
.breadcrumbs strong { color: #d0d5d1; font-weight: 500; letter-spacing: .03em; }
.crumb-slash { color: #3a413d; }
.topbar-right { display: flex; align-items: center; gap: 14px; color: #727a75; }
.topbar-date { font-size: 10px; }
.topbar-divider { height: 17px; width: 1px; background: #303533; }
.secure-label { display: flex; align-items: center; gap: 6px; color: #889286; font-size: 8px; letter-spacing: .11em; }
.secure-label span { color: #9aaf8b; font-size: 12px; }
.topbar-avatar { width: 26px; height: 26px; object-fit: cover; border: 1px solid #3d463b; border-radius: 50%; background: #171c17; }
.mobile-menu { display: none; background: transparent; border: 0; color: #b4beb5; font-size: 18px; }
.page-wrap { max-width: 1440px; margin: 0 auto; padding: 34px clamp(18px, 4vw, 46px) 0; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #232827; margin-top: 38px; padding: 17px 0 19px; color: #59625c; font-size: 8px; letter-spacing: .1em; }
.page-footer i { color: #76866b; font-style: normal; padding: 0 5px; }
.page-footer b { color: #858e87; font-weight: 500; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-kicker { color: #87957e; font-size: 9px; letter-spacing: .16em; }
.page-heading h1 { margin: 9px 0 4px; font-size: clamp(27px, 4vw, 35px); letter-spacing: -.045em; font-weight: 500; }
.page-heading p { max-width: 650px; margin: 7px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.date-stamp { border-left: 1px solid #333b35; padding: 2px 0 2px 13px; color: #727a74; font-size: 9px; letter-spacing: .12em; white-space: nowrap; }
.date-stamp strong { display: block; margin-top: 5px; color: #b5beb6; font-size: 10px; font-weight: 500; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.stat-card { min-height: 99px; border: 1px solid var(--line); background: #101212; padding: 15px 16px; position: relative; overflow: hidden; }
.stat-card:after { content: ""; position: absolute; top: 0; left: 0; width: 23px; height: 1px; background: #879678; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #808985; font-size: 10px; }
.stat-symbol { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #2b312d; color: #a0ad98; font-size: 11px; }
.stat-value { margin-top: 12px; font-size: 23px; font-weight: 500; letter-spacing: -.04em; }
.stat-note { margin-left: 7px; color: #737d75; font-size: 9px; letter-spacing: .02em; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); gap: 14px; align-items: start; }
.panel { border: 1px solid var(--line); background: #101212; }
.panel-header { min-height: 51px; padding: 12px 15px; border-bottom: 1px solid var(--line-soft); display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.panel-title { font-size: 11px; letter-spacing: .02em; font-weight: 550; }
.panel-subtitle { display: block; margin-top: 4px; color: #6e7771; font-size: 9px; }
.panel-action { border: 0; background: transparent; color: #9daa95; padding: 6px 3px; font-size: 10px; cursor: pointer; }
.panel-action:hover { color: #d0dcc5; }
.panel-body { padding: 14px; }
.panel-body-no-padding { padding: 0; }
.image-missing { visibility: hidden; }
.bot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bot-card { min-width: 0; border: 1px solid #292e2c; background: #121515; padding: 14px; position: relative; transition: border-color .15s, background .15s; }
.bot-card:hover { border-color: #414a40; background: #141817; }
.bot-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.bot-name-line { display: flex; align-items: center; gap: 9px; min-width: 0; }
.bot-emblem { width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid #344035; color: #afc1a5; background: #171e18; font-size: 11px; flex: 0 0 auto; }
.bot-name { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 550; }
.bot-id { margin-top: 4px; color: #737d77; font-size: 9px; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; border: 1px solid #383d3a; padding: 4px 7px; color: #a0a6a2; font-size: 8px; white-space: nowrap; }
.status-pill:before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-online { color: #96c49e; border-color: #314438; background: #142019; }
.status-transitional { color: #ceb982; border-color: #463d2b; background: #1d1a13; }
.status-error { color: #d89393; border-color: #503232; background: #211515; }
.status-offline { color: #8c9490; }
.bot-meta { margin: 13px 0 12px; padding: 10px 0; border-block: 1px solid #232827; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.meta-label { color: #69726d; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.meta-value { margin-top: 5px; overflow: hidden; text-overflow: ellipsis; color: #bdc4bf; font-size: 10px; white-space: nowrap; }
.bot-card-error { margin: -1px 0 10px; color: #ce9292; font-size: 9px; line-height: 1.45; }
.bot-card-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.action-button { min-height: 28px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #333a36; background: #171a19; color: #b3bbb6; padding: 0 8px; font-size: 9px; cursor: pointer; }
.action-button:hover:not(:disabled) { border-color: #66725d; color: #e1e7dc; background: #1c211c; }
.action-button:disabled { opacity: .42; cursor: not-allowed; }
.action-button.primary { color: #bfceb2; border-color: #465341; background: #1a2119; }
.action-button.danger { color: #d79b9b; }
.activity-list { list-style: none; padding: 0; margin: 0; }
.activity-row { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-bottom: 1px solid #212625; }
.activity-row:last-child { border-bottom: 0; }
.activity-mark { width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: #93a586; }
.activity-row[data-level="error"] .activity-mark { background: #c88383; }
.activity-copy { min-width: 0; }
.activity-copy strong { display: block; color: #c2c9c4; font-size: 10px; font-weight: 500; line-height: 1.5; }
.activity-copy small { display: block; margin-top: 4px; color: #727a75; font-size: 9px; }
.activity-copy time { display: block; margin-top: 6px; color: #555e59; font-size: 8px; }
.empty-state { border: 1px dashed #343b36; padding: 22px 15px; color: #808984; text-align: center; font-size: 11px; line-height: 1.6; }
.section-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.toolbar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.section-toolbar p { margin: 0; color: #828b85; font-size: 10px; }
.button-small { min-height: 32px; border: 1px solid #4a5744; background: #1a2119; color: #c5d1ba; padding: 0 11px; font-size: 10px; cursor: pointer; }
.button-small:hover { background: #222b20; }
.table-wrap { width: 100%; overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 640px; }
.data-table th { padding: 11px 12px; border-bottom: 1px solid #2a302c; color: #747e77; font-size: 8px; letter-spacing: .12em; font-weight: 500; text-transform: uppercase; }
.data-table td { padding: 12px; border-bottom: 1px solid #222725; color: #b9c0bb; font-size: 10px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.table-primary { color: #e2e6e3; font-size: 10px; }
.table-secondary { display: block; margin-top: 4px; color: #737c77; font-size: 9px; }
.license-code { color: #adb7aa; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.license-bots { display: flex; flex-wrap: wrap; gap: 4px; }
.mini-tag { border: 1px solid #303734; padding: 3px 5px; color: #9aa39d; font-size: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label, .field-label { color: #929b95; font-size: 10px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; min-width: 0; min-height: 37px; border: 1px solid #343a37; border-radius: 0; background: #0d0f0f; color: #dfe3e0; padding: 9px 10px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #59615d; }
.form-field textarea { min-height: 70px; resize: vertical; }
.form-hint { color: #6f7872; font-size: 9px; line-height: 1.5; }
.license-note { margin-top: 12px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 7px; }
.check-row { display: flex; gap: 8px; align-items: center; padding: 9px; border: 1px solid #2d3430; color: #b4bcb6; font-size: 10px; }
.check-row input { accent-color: #9db28c; }
.access-users { display: grid; gap: 8px; }
.access-user { display: flex; gap: 10px; align-items: center; border: 1px solid #2a302d; padding: 10px; }
.access-user-info { min-width: 0; flex: 1; }
.access-user-info strong { display: block; font-size: 10px; font-weight: 500; }
.access-user-info small { display: block; overflow: hidden; margin-top: 4px; color: #747d77; font: 9px ui-monospace, monospace; text-overflow: ellipsis; }
.settings-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .7fr); gap: 14px; align-items: start; }
.info-list { display: grid; }
.info-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #242927; }
.info-row:last-child { border-bottom: 0; }
.info-row span { color: #7c8580; font-size: 10px; }
.info-row strong { color: #c3cac5; font-size: 10px; font-weight: 500; text-align: right; }
.profile-card { display: flex; align-items: center; gap: 14px; padding: 18px; }
.profile-card .avatar { width: 54px; height: 54px; }
.profile-name { font-size: 15px; font-weight: 550; }
.profile-tag { margin-top: 5px; color: #87977e; font-size: 9px; letter-spacing: .1em; }
.modal-layer { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 18px; }
.modal-backdrop { position: absolute; inset: 0; background: #000b; backdrop-filter: blur(2px); }
.modal { width: min(100%, 560px); max-height: min(88vh, 800px); overflow: auto; position: relative; z-index: 1; border: 1px solid #394139; background: #111413; box-shadow: 0 24px 90px #000b; padding: 20px; }
.modal.wide { width: min(100%, 790px); }
.modal-header { display: flex; justify-content: space-between; gap: 15px; align-items: flex-start; border-bottom: 1px solid #282e2a; padding-bottom: 14px; margin-bottom: 17px; }
.modal-header h2 { margin: 5px 0 0; font-size: 19px; font-weight: 500; }
.modal-header p { margin: 7px 0 0; color: #828a85; font-size: 10px; line-height: 1.55; }
.modal-close { width: 28px; height: 28px; flex: 0 0 auto; border: 1px solid #333a36; background: transparent; color: #9ba39e; cursor: pointer; font-size: 16px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; border-top: 1px solid #282e2a; padding-top: 14px; }
.button-secondary { min-height: 34px; border: 1px solid #343b37; background: #171a19; color: #b0b8b2; padding: 0 11px; font-size: 10px; cursor: pointer; }
.button-submit { min-height: 34px; border: 1px solid #536148; background: #222a20; color: #d0ddc5; padding: 0 13px; font-size: 10px; cursor: pointer; }
.button-submit:disabled { opacity: .5; cursor: wait; }
.modal-error { margin-top: 12px; border: 1px solid #563b3b; background: #211616; color: #daa0a0; padding: 9px 10px; font-size: 10px; line-height: 1.5; }
.code-output { border: 1px solid #3e4c39; background: #141a14; padding: 15px; }
.code-output strong { display: block; color: #bccbab; font-size: 10px; font-weight: 500; }
.code-output code { display: block; margin-top: 12px; overflow-wrap: anywhere; color: #e0e7d9; font: 12px ui-monospace, SFMono-Regular, Consolas, monospace; user-select: all; }
.code-output small { display: block; margin-top: 10px; color: #7e8980; font-size: 9px; line-height: 1.5; }
.log-list { display: grid; }
.log-row { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 9px; border-bottom: 1px solid #272d29; padding: 10px 0; }
.log-row:last-child { border-bottom: 0; }
.log-level { text-transform: uppercase; font-size: 8px; letter-spacing: .12em; color: #a1ac99; }
.log-level.error { color: #d68d8d; }
.log-level.warn { color: #d0b478; }
.log-message { color: #bdc4bf; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.log-time { margin-top: 4px; color: #66706a; font-size: 8px; }
.toast-stack { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 8px; width: min(350px, calc(100vw - 36px)); }
.toast { border: 1px solid #3a4438; background: #141915; color: #c7d1c0; padding: 12px 14px; font-size: 11px; line-height: 1.5; box-shadow: 0 10px 30px #0009; animation: toast-in .2s ease-out; }
.toast.error { border-color: #624141; color: #e1aaaa; background: #211616; }
.loading-state { min-height: 210px; display: flex; align-items: center; justify-content: center; gap: 10px; color: #849087; font-size: 11px; }
.spinner { width: 16px; height: 16px; border: 1px solid #50594d; border-top-color: #cad7ba; border-radius: 50%; animation: spin .8s linear infinite; }
.mobile-scrim { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) {
  .sidebar { width: 218px; }
  .main-area { margin-left: 218px; }
  .overview-grid, .settings-grid { grid-template-columns: minmax(0, 1fr); }
  .activity-panel { display: block; }
}
@media (max-width: 760px) {
  .sidebar { width: min(284px, 84vw); transform: translateX(-103%); transition: transform .2s ease; box-shadow: 15px 0 45px #0008; }
  .sidebar.open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .mobile-menu { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 9px; }
  .topbar { justify-content: flex-start; padding: 0 16px; }
  .breadcrumbs { flex: 1; }
  .topbar-right { gap: 9px; }
  .topbar-date, .topbar-divider, .secure-label { display: none; }
  .mobile-scrim.visible { display: block; position: fixed; inset: 0; z-index: 8; background: #0009; }
  .page-wrap { padding: 25px 16px 0; }
  .page-heading { align-items: flex-start; }
  .date-stamp { display: none; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bot-grid { grid-template-columns: 1fr; }
  .overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 470px) {
  .login-card { padding: 25px 23px 21px; }
  .login-art { margin: 24px 0 22px; }
  .stat-card { min-height: 88px; padding: 12px; }
  .stat-value { font-size: 20px; }
  .page-heading h1 { font-size: 28px; }
  .page-heading { margin-bottom: 19px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .checkbox-grid { grid-template-columns: 1fr; }
  .page-footer { flex-direction: column; }
  .section-toolbar { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
