@font-face {
  font-family: "Inter";
  src: url("./fonts/inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("./fonts/inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ground: #000000;
  --surface: #111111;
  --surface-2: #171717;
  --raised: #232323;
  --raised-2: #2a2a2a;
  --rule: #1a1a1a;
  --rule-soft: #141414;
  --text: #ffffff;
  --muted: #b4b4b4;
  --faint: #949494;
  --accent: #f2b33d;
  --accent-soft: #2a2417;
  --positive: #8fd18a;
  --negative: #f16f72;
  --warning: #f0bd5e;
  --radius: 20px;
  --control-radius: 999px;
  --sidebar: 216px;
  --topbar: 64px;
  --gap: 14px;
  --pad: 22px;
  --font: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ground); }
body {
  margin: 0;
  min-width: 280px;
  background: var(--ground);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  background: var(--ground);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: var(--sidebar);
  padding: 20px 16px 18px;
  background: var(--ground);
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 7px;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; }
.brand-name { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { margin-top: 2px; color: var(--faint); font-size: 12px; }
.nav-group { margin-top: 30px; }
.nav-label {
  padding: 0 11px 9px;
  color: var(--faint);
  font-size: 12px;
}
.nav-item {
  width: 100%;
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.nav-item:hover { color: var(--text); background: var(--surface); }
.nav-item.active { color: var(--text); background: var(--surface-2); }
.nav-icon { width: 16px; height: 16px; flex: 0 0 auto; opacity: .85; }
.sidebar-foot { margin-top: auto; padding-top: 18px; }
.account-mini {
  padding: 14px;
  border-radius: 16px;
  background: var(--surface);
}
.account-line { display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 600;
}
.account-name { min-width: 0; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-meta { margin-top: 2px; color: var(--faint); font-size: 12px; }
.quota-line { display: flex; justify-content: space-between; margin-top: 13px; color: var(--faint); font-size: 13px; }
.quota-line strong { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }

.main {
  grid-column: 2;
  min-width: 0;
  padding-left: 0;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--topbar);
  padding: 0 28px;
  background: rgba(0,0,0,.94);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.topbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar-title { font-size: 14px; font-weight: 500; }
.topbar-meta { color: var(--faint); font-size: 13px; }
.topbar-right { display: flex; align-items: center; gap: 10px; }
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 0 11px;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mobile-menu { display: none; }
.page-wrap {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 26px 28px 56px;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 19px;
}
.page-head h1 { margin: 0; font-size: 24px; font-weight: 500; letter-spacing: -.035em; }
.page-head p { margin: 5px 0 0; color: var(--muted); font-size: 14px; }
.page-head-side { color: var(--faint); font-size: 13px; text-align: right; }

.grid { display: grid; gap: var(--gap); }
.home-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .72fr); align-items: stretch; }
.home-lower { margin-top: var(--gap); }
.panel {
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--pad);
  min-width: 0;
}
.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}
.panel-title { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.panel-sub { margin: 4px 0 0; color: var(--faint); font-size: 13px; }
.panel-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}
.panel-link:hover { color: var(--text); }

.query-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-label { color: var(--muted); font-size: 13px; }
.input-row { display: flex; gap: 8px; }
.input-wrap { position: relative; flex: 1; min-width: 0; }
.text-input, .note-input {
  width: 100%;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--raised);
  color: var(--text);
  padding: 0 45px 0 14px;
  height: 40px;
  outline: none;
}
.text-input::placeholder, .note-input::placeholder { color: var(--faint); }
.text-input:focus, .note-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.paste-button {
  position: absolute;
  top: 5px;
  right: 5px;
  height: 30px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
}
.paste-button:hover { color: var(--text); }
.note-input { height: 48px; padding: 11px 14px; resize: none; }
.helper { color: var(--faint); font-size: 13px; }
.page-picker { display: grid; gap: 6px; margin-top: 2px; }
.page-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 37px;
  padding: 0 11px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
}
.page-choice:hover { background: var(--raised); color: var(--text); }
.page-choice input { position: absolute; opacity: 0; pointer-events: none; }
.page-choice:has(input:checked) { color: var(--text); }
.choice-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--faint);
  display: grid;
  place-items: center;
}
.page-choice:has(input:checked) .choice-mark { border-color: var(--accent); background: var(--accent); }
.page-choice:has(input:checked) .choice-mark::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #000; }
.query-side { display: flex; flex-direction: column; gap: 12px; }
.query-stats {
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-2);
}
.stat-label { color: var(--faint); font-size: 13px; }
.stat-value { margin-top: 4px; font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stat-note { margin-top: 4px; color: var(--faint); font-size: 13px; }
.button {
  min-height: 40px;
  border: 0;
  border-radius: var(--control-radius);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.button-primary { background: var(--text); color: #000; }
.button-primary:hover { background: #dedede; }
.button-primary:disabled { opacity: .5; cursor: progress; }
.button-quiet { background: var(--raised); color: var(--text); }
.button-quiet:hover { background: var(--raised-2); }
.button-text { min-height: 32px; padding: 0 10px; background: transparent; color: var(--muted); }
.button-text:hover { color: var(--text); background: var(--surface-2); }
.button-block { width: 100%; }
.query-actions { margin-top: auto; display: grid; gap: 8px; }
.query-note { color: var(--faint); font-size: 12px; line-height: 1.55; }

.member-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
}
.account-panel { display: flex; flex-direction: column; }
.account-preview {
  position: relative;
  min-height: 150px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 15px;
  background: var(--surface-2);
}
.account-preview img { width: 100%; height: 164px; object-fit: cover; object-position: top center; display: block; }
.account-preview-copy { position: absolute; inset: auto 0 0; padding: 24px 14px 12px; background: rgba(0,0,0,.72); }
.account-preview-label { color: var(--faint); font-size: 13px; }
.account-preview-title { margin-top: 3px; font-size: 13px; font-weight: 500; }
.member-card .avatar { width: 42px; height: 42px; border-radius: 13px; font-size: 16px; }
.member-title { font-size: 15px; font-weight: 600; }
.member-sub { margin-top: 3px; color: var(--faint); font-size: 12px; }
.quota-stack { margin-top: 16px; display: grid; gap: 11px; }
.quota-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.quota-row strong { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.progress-block { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.progress-top { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.progress-track { height: 3px; margin-top: 10px; overflow: hidden; border-radius: 99px; background: var(--raised); }
.progress-bar { height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }
.progress-copy { margin-top: 9px; color: var(--faint); font-size: 13px; min-height: 17px; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono-num { font-variant-numeric: tabular-nums; }

.records-list { display: grid; gap: 4px; }
.record-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  padding: 7px 8px;
  border-radius: 12px;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
}
.record-row:hover { background: var(--surface-2); }
.record-thumb {
  width: 56px;
  height: 46px;
  border-radius: 9px;
  object-fit: cover;
  object-position: top center;
  background: var(--raised);
}
.record-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; }
.record-meta { display: block; margin-top: 4px; color: var(--faint); font-size: 13px; }
.record-status { color: var(--muted); font-size: 13px; text-align: right; }
.record-status.done { color: var(--positive); }
.record-status.failed { color: var(--negative); }
.empty {
  min-height: 156px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--faint);
  font-size: 12px;
  text-align: center;
}
.preview-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface-2);
}
.preview-card img {
  width: 100%;
  height: 292px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.preview-shade {
  position: absolute;
  inset: auto 0 0;
  padding: 28px 16px 15px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.75)); /* taste-skill-ignore: neutral scrim over a product screenshot */
}
.preview-label { color: var(--faint); font-size: 13px; }
.preview-title { margin-top: 4px; font-size: 15px; font-weight: 500; }
.preview-actions { display: flex; gap: 8px; margin-top: 13px; }

.list-page { display: grid; gap: var(--gap); }
.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-button {
  min-height: 32px;
  padding: 0 13px;
  border: 0;
  border-radius: var(--control-radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}
.filter-button.active { background: var(--raised); color: var(--text); }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 0 10px 10px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 400;
  text-align: left;
}
.data-table td { padding: 12px 10px; border-top: 1px solid var(--rule); font-size: 13px; }
.data-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.data-table .action { text-align: right; }
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11px;
}
.status-pill.done { background: #172317; color: var(--positive); }
.status-pill.failed { background: #29191a; color: var(--negative); }

.account-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: var(--gap); }
.section-stack { display: grid; gap: var(--gap); }
.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 16px;
  background: var(--surface-2);
}
.metric-cell { padding: 16px; border-left: 1px solid var(--rule); }
.metric-cell:first-child { border-left: 0; }
.metric-label { color: var(--faint); font-size: 13px; }
.metric-value { margin-top: 7px; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.plan-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid var(--rule);
}
.plan-row:first-child { border-top: 0; padding-top: 0; }
.plan-name { font-size: 14px; font-weight: 500; }
.plan-desc { margin-top: 4px; color: var(--faint); font-size: 13px; }
.plan-price { color: var(--text); font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }

.notices-list { display: grid; gap: var(--gap); }
.notice-card { padding: 18px 20px; border-radius: 16px; background: var(--surface); }
.notice-date { color: var(--faint); font-size: 13px; }
.notice-title { margin-top: 7px; font-size: 15px; font-weight: 500; }
.notice-body { margin-top: 9px; color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-wrap; }

.result-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: var(--gap); }
.result-viewer { min-height: 420px; border-radius: var(--radius); background: var(--surface); padding: 14px; }
.result-stage { overflow: auto; max-height: calc(100vh - 180px); border-radius: 14px; background: var(--surface-2); text-align: center; }
.result-stage img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.result-pages { display: grid; gap: 8px; margin-top: 12px; }
.result-page {
  border: 0;
  border-radius: 10px;
  padding: 10px 12px;
  background: var(--surface-2);
  color: var(--muted);
  text-align: left;
}
.result-page.active { background: var(--raised); color: var(--text); }
.result-side { display: flex; flex-direction: column; gap: var(--gap); }

.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, .95fr);
}
.login-left {
  min-height: 100vh;
  padding: 32px clamp(28px, 5vw, 80px) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-brand { display: flex; align-items: center; gap: 11px; }
.login-brand img { width: 36px; height: 36px; border-radius: 10px; }
.login-brand-name { font-size: 14px; font-weight: 600; }
.login-copy { max-width: 560px; margin: 64px 0; }
.login-copy h1 { margin: 0; font-size: clamp(28px, 2.5vw, 32px); font-weight: 500; line-height: 1.14; letter-spacing: -.04em; }
.login-copy p { margin: 20px 0 0; max-width: 460px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.login-points { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.login-point { color: var(--faint); font-size: 13px; }
.login-point strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 14px; font-weight: 500; }
.login-foot { color: var(--faint); font-size: 12px; }
.login-foot a { text-decoration: none; }
.login-foot a:hover { color: var(--muted); }
.login-right {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
}
.login-scene {
  position: absolute;
  inset: 0;
  opacity: .28;
}
.login-scene img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.login-scene::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.48); }
.login-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: 26px;
  border-radius: 24px;
  background: #090909;
}
.login-card h2 { margin: 0; font-size: 20px; font-weight: 500; letter-spacing: -.025em; }
.login-card p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.qr-frame {
  width: 228px;
  height: 228px;
  margin: 24px auto 16px;
  border-radius: 18px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.qr-frame img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.qr-loading { color: var(--faint); font-size: 13px; text-align: center; padding: 22px; }
.login-status { min-height: 34px; color: var(--muted); font-size: 13px; text-align: center; }
.login-actions { display: grid; gap: 8px; margin-top: 12px; }
.login-error { color: var(--negative); font-size: 13px; line-height: 1.6; text-align: center; }
.login-access-note {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--rule);
  color: var(--faint);
  font-size: 11px;
  line-height: 1.6;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--muted); }
.site-footer-compact {
  display: block;
  margin-top: 10px;
  padding-top: 0;
  border-top: 0;
}
.site-footer-compact a { display: block; }
.preview-banner {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 1000;
  transform: translate(-50%, 16px);
  max-width: min(420px, calc(100vw - 36px));
  padding: 11px 15px;
  border-radius: 12px;
  background: #f5f5f5;
  color: #090909;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.dialog { width: min(520px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 20px; color: var(--text); background: transparent; }
.dialog::backdrop { background: rgba(0,0,0,.72); }
.dialog-card { padding: 24px; border-radius: 20px; background: #111; box-shadow: 0 26px 80px rgba(0,0,0,.55); }
.dialog-head { display: flex; justify-content: space-between; gap: 18px; }
.dialog-head h2 { margin: 0; font-size: 20px; font-weight: 500; }
.dialog-head p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 20px; }
.serial-fields { display: grid; gap: 10px; margin-top: 20px; }
.serial-field label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.serial-field input { width: 100%; height: 40px; border: 0; border-radius: 10px; padding: 0 12px; background: var(--raised); color: var(--text); font-variant-numeric: tabular-nums; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }

.hide { display: none !important; }
.skeleton { border-radius: 8px; background: var(--surface-2); min-height: 14px; }
.loading-line { height: 14px; border-radius: 6px; background: var(--surface-2); }
.error-block { padding: 14px; border-radius: 12px; background: #29191a; color: var(--negative); font-size: 12px; line-height: 1.6; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.panel, .notice-card, .metric-strip, .result-viewer { animation: rise-in .32s ease both; }
.home-lower .panel:nth-child(2) { animation-delay: .05s; }

@media (max-width: 1050px) {
  .home-grid, .account-grid, .result-layout { grid-template-columns: 1fr; }
  .query-layout { grid-template-columns: 1fr 220px; }
  .login-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --topbar: 56px; --pad: 18px; --radius: 17px; }
  .app-shell { display: block; }
  .sidebar {
    width: min(280px, 82vw);
    transform: translateX(-100%);
    transition: transform .2s ease;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  .main { padding-bottom: 68px; }
  .topbar { padding: 0 18px; }
  .mobile-menu {
    display: inline-flex;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    align-items: center;
    justify-content: center;
  }
  .topbar-meta, .topbar-right .live-pill { display: none; }
  .page-wrap { padding: 20px 16px 36px; }
  .page-head { align-items: flex-start; flex-direction: column; gap: 8px; }
  .page-head-side { text-align: left; }
  .query-layout { grid-template-columns: 1fr; }
  .query-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .query-side .query-actions { grid-column: 1 / -1; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric-cell { border-left: 0; border-top: 1px solid var(--rule); }
  .metric-cell:first-child { border-top: 0; }
  .records-list { gap: 2px; }
  .record-row { grid-template-columns: 48px minmax(0, 1fr) auto; min-height: 58px; }
  .record-thumb { width: 48px; height: 42px; }
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; }
  .data-table tr { padding: 12px 0; border-top: 1px solid var(--rule); }
  .data-table td { border: 0; padding: 4px 0; }
  .data-table td.num { text-align: left; }
  .data-table td.action { text-align: left; padding-top: 8px; }
  .login-layout { display: block; }
  .login-left { min-height: auto; padding: 24px 20px 20px; }
  .login-copy { margin: 44px 0 24px; }
  .login-copy h1 { font-size: 28px; }
  .login-right { min-height: 560px; padding: 22px 16px 34px; }
  .login-scene { opacity: .18; }
  .login-card { width: min(390px, 100%); }
  .nav-backdrop { display: none; }
  body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 29; background: rgba(0,0,0,.55); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}
