body { color: var(--text); background: var(--page); }
.num, .order-no strong { font-variant-numeric: lining-nums tabular-nums; }
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.site-nav a, .brand small { color: var(--muted); }
.brand b { font-family: var(--heading); color: var(--ink); }
.search-box { height: 44px; border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0 16px; font-size: 16px; min-width: 180px; }
.btn-primary, .btn-secondary, .btn-line, .btn-gold {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px;
  border-radius: var(--radius-pill); text-decoration: none; font-size: 16px; font-weight: 500; border: 0; cursor: pointer;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.help-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 20;
  background: var(--gold); color: #fff; text-decoration: none; border-radius: var(--radius-pill);
  min-height: 52px; padding: 0 20px; display: flex; align-items: center;
}
.help-fab.is-suppressed { display: none !important; }
.bottom-nav { display: none; }
.site-footer { background: var(--night); color: #E7E2F2; padding: 40px 0; }
.site-footer a { color: var(--gold-on-dark); text-decoration: none; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.glyph-tile {
  width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
  font-family: var(--heading); font-size: 34px;
}
.status-card { background: var(--card); border-radius: 20px; padding: 20px; border: 1px solid var(--line); }
.status-card.warn { background: var(--warn-bg); }
.status-card.info { background: var(--info-bg); }
.status-card.ok { background: var(--ok-bg); }
.status-card.mute { background: var(--mute-bg); }
.status-card.err { background: var(--err-bg); }
.step-bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.step-bar span { display: block; height: 100%; background: var(--primary); }
.field label { font-weight: 700; font-size: 17px; }
.field small { color: var(--muted); font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; min-height: 54px; font-size: 18px; border-radius: 14px; border: 1px solid var(--line); padding: 12px 14px; }
.field .error { color: var(--err); font-size: 16px; }
.empty-state { padding: 32px; text-align: center; }
@media (max-width: 640px) {
  .desktop-only { display: none !important; }
  .bottom-nav {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    height: 84px; background: #fff; border-top: 1px solid var(--line); z-index: 30;
  }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; text-decoration: none; color: var(--muted); font-size: 12px; min-height: 48px; }
  .bottom-nav a .nav-ico { font-size: 18px; line-height: 1; }
  .bottom-nav a.on { color: var(--primary); font-weight: 700; }
  body { padding-bottom: 96px; }
  .btn-primary { width: 100%; min-height: 58px; }
  .help-fab { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .search-box { display: none; }
}
@media (min-width: 641px) {
  .mobile-only { display: none !important; }
}
