:root {
  color-scheme: light;
  --bg: #f5f6f7; --surface: #ffffff; --subtle: #eff2f3; --hover: #f1f5f4;
  --text: #20272b; --muted: #646f77; --border: #b5bfc5; --border-strong: #8a9aa4;
  --accent: #187b67; --accent-hover: #116451; --accent-soft: #e8f5ef; --focus: #26947d;
  --success: #287850; --success-soft: #eaf5ee; --warning: #986621; --warning-soft: #faf2df;
  --danger: #b14643; --danger-soft: #fbebeb; --shadow: 0 12px 32px #19272e16;
  font-family: "Segoe UI", Arial, sans-serif; font-size: 14px; letter-spacing: 0;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #181b1e; --surface: #22262a; --subtle: #2b3035; --hover: #2b3335;
  --text: #e7ebed; --muted: #a4aeb5; --border: #58656e; --border-strong: #7f909c;
  --accent: #77c9ad; --accent-hover: #9cddc5; --accent-soft: #293e35; --focus: #77c9ad;
  --success: #83c6a0; --success-soft: #2a3b30; --warning: #e5bb71; --warning-soft: #413a2c;
  --danger: #e89894; --danger-soft: #423031; --shadow: 0 12px 32px #0000003d;
}
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; color: var(--text); background: var(--bg); min-width: 320px; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea, .button { border-radius: 4px; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
svg { width: 18px; height: 18px; stroke-width: 1.7; flex-shrink: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; font-weight: 550; line-height: 1.25; }
h2 { font-size: 17px; font-weight: 550; line-height: 1.4; }
h3 { font-size: 15px; font-weight: 550; line-height: 1.4; }
small, .muted { color: var(--muted); }
small { font-size: 12px; line-height: 1.5; }
strong, b { font-weight: 600; }
code { font-family: Consolas, monospace; font-size: 12px; }
[hidden] { display: none !important; }
.app-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; height: 68px; padding: 0 32px; gap: 40px; background: var(--surface); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 16px; flex-shrink: 0; }
.brand img { width: 29px; height: 29px; display: block; }
.brand b { font-weight: 400; color: var(--muted); margin-left: 3px; }
.preview-label { font-size: 10px; color: var(--muted); border-left: 1px solid var(--border); padding-left: 10px; }
.primary-nav { display: flex; align-self: stretch; gap: 28px; }
.primary-nav a { display: flex; align-items: center; position: relative; color: var(--muted); font-size: 13px; }
.primary-nav a:hover { color: var(--text); }
.primary-nav a[aria-current=page] { color: var(--accent); font-weight: 600; }
.primary-nav a[aria-current=page]::after { content: ""; height: 2px; position: absolute; bottom: 0; left: 0; right: 0; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.theme-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 5px; }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid transparent; background: transparent; color: var(--muted); padding: 0; flex-shrink: 0; }
.icon-button:hover { background: var(--hover); color: var(--text); }
.theme-switch .icon-button { height: 29px; width: 31px; }
.theme-switch [aria-pressed=true] { background: var(--subtle); color: var(--text); }
.account-wrap { position: relative; }
.account-button { display: flex; align-items: center; gap: 12px; background: transparent; border: 0; padding: 8px 0; font-size: 13px; }
.account-button svg { width: 14px; }
.account-short { display: none; }
.account-menu { position: absolute; top: 44px; right: 0; width: 220px; padding: 16px; border: 1px solid var(--border); background: var(--surface); border-radius: 5px; box-shadow: var(--shadow); }
.account-menu strong, .account-menu small { display: block; }
.account-menu a { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.mobile-menu-button, .mobile-menu { display: none; }
#main { min-height: calc(100dvh - 127px); padding: 32px 32px 40px; }
.app-footer { min-height: 59px; display: flex; align-items: center; gap: 24px; padding: 16px 32px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.app-footer span:last-child { margin-left: auto; }
.page-heading { display: flex; align-items: flex-end; gap: 20px; justify-content: space-between; margin-bottom: 28px; }
.page-heading p { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.6; }
.breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs svg { width: 13px; height: 13px; }
.breadcrumbs a:hover { color: var(--accent); }
.heading-actions, .toolbar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; min-height: 38px; border: 1px solid var(--border-strong); background: var(--surface); font-size: 13px; white-space: nowrap; }
.button:hover { background: var(--hover); }
.button.primary { background: var(--accent); color: white; border-color: var(--accent); }
[data-theme=dark] .button.primary { color: #172c23; }
.button.primary:hover { background: var(--accent-hover); }
.button.danger { color: var(--danger); }
.button svg { width: 16px; height: 16px; }
.text-link { color: var(--accent); font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 14px; height: 14px; }
.toolbar { display: flex; gap: 12px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.search { display: flex; align-items: center; gap: 9px; height: 39px; min-width: 220px; width: 340px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 4px; padding: 0 12px; }
.search svg { color: var(--muted); width: 16px; height: 16px; }
.search input { width: 100%; border: none; background: transparent; outline: none; min-width: 0; font-size: 13px; padding: 0; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
input:not([type=checkbox]):not([type=range]), select, textarea { background: var(--surface); border: 1px solid var(--border-strong); padding: 9px 11px; min-height: 39px; font-size: 13px; min-width: 0; }
.search input:not([type=checkbox]) { border: 0; min-height: 0; padding: 0; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .9; }
select { padding-right: 30px; max-width: 100%; }
.segment { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 4px; padding: 3px; gap: 2px; }
.segment button { padding: 6px 10px; border: 0; background: transparent; color: var(--muted); font-size: 12px; min-height: 29px; }
.segment button[aria-pressed=true] { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px #0000000f; }
.section { margin-top: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-title { display: flex; align-items: center; gap: 9px; }
.count { color: var(--muted); font-size: 12px; font-weight: 400; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.module-card { position: relative; min-height: 138px; border: 1px solid var(--border); background: var(--surface); border-radius: 5px; transition: border-color .15s, background .15s; }
.module-card:hover { border-color: var(--border-strong); background: var(--hover); }
.module-card>a { display: flex; flex-direction: column; height: 100%; padding: 18px; gap: 10px; }
.module-head { display: flex; align-items: center; gap: 10px; padding-right: 24px; }
.module-icon { color: var(--accent); width: 20px; height: 20px; display: inline-flex; flex-shrink: 0; }
.module-card h3 { font-size: 14px; }
.module-card p { font-size: 12px; color: var(--muted); line-height: 1.6; padding-right: 6px; }
.module-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.module-bottom>svg { width: 16px; height: 16px; color: var(--muted); }
.module-category { font-size: 11px; color: var(--muted); }
.favorite-button { position: absolute; right: 10px; top: 10px; z-index: 1; width: 30px; height: 30px; }
.favorite-button[aria-pressed=true] { color: var(--warning); }
.favorite-button[aria-pressed=true] svg { fill: var(--warning-soft); }
.live-band { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: center; gap: 30px; padding: 18px 0; margin-bottom: 12px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.live-label { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.live-label .dot { color: var(--success); }
.live-number { display: flex; align-items: baseline; gap: 12px; }
.live-number strong { font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.live-number small { font-size: 12px; }
.tabs { display: flex; align-items: center; gap: 26px; border-bottom: 1px solid var(--border); margin-bottom: 24px; overflow-x: auto; white-space: nowrap; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 0 0 13px; margin-top: 2px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; font-size: 13px; color: var(--muted); }
.tabs [aria-current=page], .tabs [aria-selected=true] { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.summary-strip { display: flex; align-items: center; gap: 30px; margin: 0 0 24px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.summary-strip strong { font-size: 14px; color: var(--text); margin-right: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: 12px; white-space: nowrap; }
.status.warning { color: var(--warning); }
.status.danger { color: var(--danger); }
.status.muted { color: var(--muted); }
.table-wrap { overflow: auto; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.data-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }
.data-table th { height: 42px; font-weight: 500; font-size: 11px; color: var(--muted); background: var(--subtle); white-space: nowrap; position: sticky; top: 0; z-index: 1; }
.data-table td, .data-table th { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td { height: 65px; }
.data-table tbody tr:hover { background: var(--hover); }
.data-table td small { display: block; margin-top: 4px; font-size: 11px; }
.data-table strong { font-weight: 500; }
.data-table .number { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .action-col { text-align: right; width: 54px; }
.data-table .cell-muted { color: var(--muted); }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; color: var(--muted); font-size: 12px; }
.pagination { display: flex; align-items: center; gap: 12px; }
.pagination .icon-button { border-color: var(--border); background: var(--surface); }
.empty { padding: 45px 20px; text-align: center; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--border); }
.setup-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.setup-row { display: flex; align-items: center; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--border); min-height: 99px; }
.setup-row>svg:first-child { color: var(--accent); width: 21px; height: 21px; }
.setup-row>svg:last-child { margin-left: auto; color: var(--muted); width: 16px; }
.setup-row p { color: var(--muted); font-size: 12px; margin-top: 6px; line-height: 1.5; }
.setup-row:hover h3 { color: var(--accent); }
.device-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.device { display: flex; align-items: center; gap: 10px; padding: 18px 14px; min-height: 74px; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; }
.device>svg:first-child { color: var(--muted); width: 18px; }
.device>svg:last-child { margin-left: auto; color: var(--muted); width: 14px; }
.device strong { font-size: 13px; font-weight: 500; }
.device small { display: block; margin-top: 4px; font-size: 11px; }
.device:hover { border-color: var(--accent); }
.metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 28px; border: 1px solid var(--border); background: var(--surface); border-radius: 4px; }
.metric { padding: 18px; border-right: 1px solid var(--border); }
.metric:last-child { border-right: 0; }
.metric span { color: var(--muted); display: block; font-size: 12px; }
.metric strong { display: block; font-size: 28px; font-weight: 500; line-height: 1.5; margin: 4px 0; }
.metric small { font-size: 11px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 12px 0; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.notice>svg { color: var(--warning); width: 16px; }
.notice a { margin-left: auto; color: var(--accent); }
.capacity { display: flex; align-items: center; gap: 10px; width: 180px; font-size: 11px; color: var(--muted); }
progress { width: 110px; height: 4px; appearance: none; border: 0; border-radius: 0; }
progress::-webkit-progress-bar { background: var(--subtle); }
progress::-webkit-progress-value { background: var(--accent); }
progress::-moz-progress-bar { background: var(--accent); }
.workspace { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.workspace>section { min-width: 0; }
.project-last { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 20px 0; margin-bottom: 24px; gap: 20px; }
.project-last small { display: block; margin-bottom: 5px; }
.project-last h2 { font-size: 18px; font-weight: 500; }
.project-list { border-top: 1px solid var(--border); }
.project-row { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--border); gap: 20px; }
.project-row small { display: block; margin-top: 5px; }
.project-row .heading-actions { gap: 4px; }
.player { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 20px; }
.player-image { width: 100%; height: 180px; display: grid; place-items: center; background: var(--subtle); border-radius: 3px; margin-bottom: 20px; }
.player-image img { width: 70px; height: 70px; }
.player small { display: block; margin: 4px 0 16px; }
.player-controls { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 15px 0; }
.play-button { background: var(--accent-soft); color: var(--accent); width: 45px; height: 45px; border-radius: 50%; }
.player input[type=range] { width: 100%; accent-color: var(--accent); }
.read-only { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.read-only svg { width: 14px; }
.db-grid .data-table td { height: 46px; white-space: nowrap; max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.db-grid { max-height: calc(100dvh - 380px); min-height: 300px; }
.db-controls label { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); }
.db-controls select { color: var(--text); min-width: 180px; }
.schema { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px; overflow: auto; line-height: 1.9; color: var(--muted); }
dialog { color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: 6px; padding: 0; width: min(680px, calc(100% - 32px)); max-height: calc(100dvh - 40px); box-shadow: var(--shadow); }
dialog::backdrop { background: #0d151a80; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.dialog-header h2 { font-size: 19px; font-weight: 500; }
.dialog-content { padding: 24px; max-height: calc(100dvh - 212px); overflow-y: auto; }
.dialog-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--border); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid label, .auth-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
fieldset { border: 0; border-top: 1px solid var(--border); padding: 18px 0 0; margin: 24px 0 0; }
legend { padding-right: 12px; font-size: 13px; font-weight: 600; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.check { display: flex !important; align-items: center; flex-direction: row !important; gap: 9px !important; font-size: 12px; line-height: 1.5; }
input[type=checkbox] { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid var(--border); margin-top: 24px; padding-top: 20px; }
.field-list { margin: 0; }
.field-list>div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.field-list dt { color: var(--muted); }
.field-list dd { margin: 0; overflow-wrap: anywhere; }
.toast { position: fixed; z-index: 60; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--text); color: var(--surface); border-radius: 5px; padding: 13px 20px; font-size: 13px; max-width: calc(100% - 24px); box-shadow: var(--shadow); }
.auth-page { max-width: 390px; margin: 60px auto 40px; }
.auth-page>img { height: 44px; width: 44px; margin-bottom: 24px; }
.auth-page h1 { font-size: 26px; margin-bottom: 10px; }
.auth-page>p { color: var(--muted); margin-bottom: 30px; line-height: 1.6; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-form .button { margin-top: 8px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 22px; font-size: 12px; color: var(--accent); }
.legal { max-width: 900px; }
.legal h2 { margin: 28px 0 12px; }
.legal p { color: var(--muted); line-height: 1.8; }
@media(min-width:1800px) { .module-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media(max-width:1100px) {
  .app-header { gap: 28px; padding: 0 24px; }
  #main { padding: 28px 24px; }
  .app-footer { padding: 16px 24px; }
  .header-actions { gap: 16px; }
  .primary-nav { gap: 18px; }
  .device-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-right: 0; }
  .metric:nth-child(-n+3) { border-bottom: 1px solid var(--border); }
  .data-table .secondary { display: none; }
}
@media(max-width:760px) {
  .app-header { height: 62px; padding: 0 16px; gap: 12px; }
  .brand { font-size: 14px; gap: 8px; }
  .brand img { width: 25px; height: 25px; }
  .brand b { margin-left: 0; }
  .preview-label { display: none; }
  .header-actions { gap: 10px; }
  .account-name, .primary-nav { display: none; }
  .account-short, .mobile-menu-button { display: inline-flex; }
  .account-button { gap: 4px; font-size: 12px; }
  .account-button svg { display: none; }
  .theme-switch { padding: 2px; }
  .theme-switch .icon-button { width: 27px; height: 31px; }
  .theme-switch svg { width: 16px; }
  .mobile-menu { position: absolute; left: 0; right: 0; top: 61px; display: flex; flex-direction: column; padding: 8px 16px; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .mobile-menu a { padding: 12px 8px; font-size: 13px; }
  .account-menu { right: -30px; top: 40px; }
  #main { padding: 24px 16px 30px; min-height: calc(100dvh - 132px); }
  h1 { font-size: 24px; }
  .page-heading { gap: 15px; align-items: flex-start; margin-bottom: 22px; flex-wrap: wrap; }
  .page-heading p { font-size: 12px; }
  .page-heading .heading-actions { margin-left: auto; }
  .toolbar { gap: 10px; margin-bottom: 20px; }
  .search { width: 100%; min-width: 0; }
  .toolbar select { flex: 1; }
  .section { margin-top: 25px; }
  .section-head h2 { font-size: 16px; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .module-card { min-height: 160px; }
  .module-card>a { padding: 16px 12px; }
  .module-head { flex-direction: column; align-items: flex-start; gap: 12px; padding-right: 0; }
  .module-card h3 { font-size: 13px; overflow-wrap: anywhere; }
  .module-card p { font-size: 11px; padding: 0; }
  .favorite-button { top: 8px; right: 7px; }
  .module-category { font-size: 10px; }
  .live-band { grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 16px 0; }
  .live-band .live-label { grid-column: 1 / -1; }
  .live-band>.text-link { grid-column: 1 / -1; }
  .live-number { gap: 8px; }
  .live-number strong { font-size: 22px; }
  .live-number small { font-size: 11px; }
  .summary-strip { gap: 12px 20px; margin-bottom: 20px; }
  .tabs { gap: 22px; margin-bottom: 20px; }
  .data-table { font-size: 12px; }
  .data-table td, .data-table th { padding: 12px 10px; }
  .data-table .mobile-hidden { display: none; }
  .data-table .action-col { width: 40px; }
  .data-table td .status { font-size: 11px; }
  .table-footer { font-size: 11px; }
  .pagination { gap: 8px; }
  .setup-list { grid-template-columns: 1fr; }
  .setup-row { padding: 20px 0; }
  .device-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .device { padding: 16px 10px; gap: 8px; min-height: 78px; }
  .device>svg:first-child { display: none; }
  .device strong { font-size: 12px; }
  .device>svg:last-child { width: 12px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { padding: 14px; }
  .metric strong { font-size: 25px; }
  .metric:nth-child(3) { border-right: 1px solid var(--border); }
  .metric:nth-child(2n) { border-right: 0; }
  .metric:nth-child(-n+4) { border-bottom: 1px solid var(--border); }
  .workspace { grid-template-columns: 1fr; gap: 24px; }
  .project-row { flex-wrap: wrap; gap: 10px; }
  .project-last { flex-wrap: wrap; }
  .project-row .heading-actions { margin-left: auto; }
  .db-controls label { flex: 1; flex-wrap: wrap; }
  .db-controls select { width: 100%; min-width: 0; }
  .db-grid { max-height: calc(100dvh - 440px); }
  .db-grid .data-table .mobile-hidden { display: table-cell; }
  .dialog-content { padding: 20px; }
  .dialog-header { padding: 16px 20px; }
  .dialog-footer { padding: 14px 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .check-grid { grid-template-columns: 1fr; }
  .form-bottom { flex-wrap: wrap; }
  .field-list>div { grid-template-columns: 110px 1fr; gap: 12px; }
  .app-footer { padding: 16px; gap: 12px; flex-wrap: wrap; font-size: 10px; }
  .auth-page { margin: 35px auto; }
}
@media(prefers-reduced-motion:reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
