:root {
  --bg: #0c1014;
  --bg-elevated: #121820;
  --panel: #161d26;
  --panel-2: #1a222c;
  --line: #2e3a48;
  --line-strong: #3d4d60;
  --text: #f2f5f8;
  --muted: #9aabbd;
  --accent: #c4a574;
  --accent-2: #a8895a;
  --accent-soft: color-mix(in srgb, #c4a574 22%, transparent);
  --danger: #f07167;
  --warn: #e0b34e;
  --ok: #4cb782;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-nav: 0 -8px 28px rgba(0, 0, 0, 0.35);
  --primary-ink: #1a1510;
  font-family: "Segoe UI", "PingFang HK", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 400px at 10% -10%, #152030 0%, transparent 60%),
    var(--bg);
  color: var(--text);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.top-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.login-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 18, 0.82);
  padding: 1rem;
}

.login-gate.hidden {
  display: none;
}

.login-card {
  width: min(380px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.login-card h2 {
  margin: 0;
  font-size: 1.15rem;
}

.login-card .field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.login-card input {
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
}

.login-card input:focus {
  outline: none;
  border-color: var(--accent);
}

.login-card .warn {
  color: var(--danger);
}

h1 {
  margin: 0;
  font-size: 1.35rem;
}

.sub,
.hint {
  color: var(--muted);
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

#accessHint {
  margin: 0.35rem 0 0;
  max-width: 52rem;
}

#accessHint.warn {
  color: #f0c14a;
}

.status {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #111821;
  font-size: 0.8rem;
  white-space: nowrap;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  padding: 1rem 1.5rem 2rem;
}

.span-full {
  grid-column: 1 / -1;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }
}

.panel {
  background: color-mix(in srgb, var(--panel) 92%, black);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow-x: hidden;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.panel-head h2 {
  margin: 0;
  font-size: 1rem;
}

.row {
  display: flex;
  align-items: center;
}

.gap {
  gap: 0.4rem;
}

.btn {
  border: 1px solid var(--line);
  background: #1c2430;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.btn:hover {
  border-color: var(--line-strong);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: var(--primary-ink);
  font-weight: 600;
}

.btn.ghost {
  background: transparent;
}

.btn.danger {
  color: #ffd0cc;
  border-color: color-mix(in srgb, var(--danger) 45%, var(--line));
  background: color-mix(in srgb, var(--danger) 12%, transparent);
}

.routes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.route-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
  background: #121821;
}

.route-card.muted {
  opacity: 0.95;
}

.route-card.hidden,
.hidden {
  display: none !important;
}

.route-top {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

@media (max-width: 700px) {
  .grid2 {
    grid-template-columns: 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.field span {
  letter-spacing: 0.02em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d1218;
  color: var(--text);
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.9rem;
}

.field textarea {
  min-height: 3.2rem;
  resize: vertical;
}

.check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  margin: 1rem 0 0.6rem;
}

.side .field {
  margin-top: 0.75rem;
}

.tabs {
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: 55vh;
  overflow: auto;
}

.tab-item {
  text-align: left;
  border: 1px solid var(--line);
  background: #10161e;
  color: var(--text);
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
  cursor: pointer;
  font: inherit;
}

.tab-item.active {
  border-color: var(--accent);
}

.tab-item small {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
  font-size: 0.75rem;
  word-break: break-all;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  z-index: 50;
  max-width: min(90vw, 22rem);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.toast.ok {
  border-color: #245c36;
}

.toast.err {
  border-color: #6b2c2c;
}

.empty {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.queue-box {
  font-size: 0.8rem;
  line-height: 1.45;
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  background: #111821;
}

.queue-box .warn {
  color: #f0c14a;
}

.queue-box ul {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
}

.queue-box li {
  margin: 0.2rem 0;
  word-break: break-word;
}

/* —— Brain flow diagram —— */
.flow-panel .hint {
  margin-bottom: 0.75rem;
}

.brain-flow {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.flow-track {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem 0.25rem;
}

.flow-node {
  flex: 1 1 120px;
  min-width: 110px;
  max-width: 200px;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111821;
  font-size: 0.78rem;
  line-height: 1.35;
}

.flow-node .hop {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.flow-node .title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.flow-node .meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.flow-node.active {
  border-color: #2a5a8a;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.flow-node.skip {
  opacity: 0.45;
  border-style: dashed;
}

.flow-node.wa {
  border-color: #245c36;
  background: color-mix(in srgb, #245c36 18%, #111821);
}

.flow-node.brain {
  border-color: #2a4a6e;
  background: color-mix(in srgb, #1f6feb 12%, #111821);
}

.flow-node.worker {
  border-color: #4a3a1a;
  background: color-mix(in srgb, #6b5420 14%, #111821);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 1rem;
  flex: 0 0 auto;
  padding: 0 0.15rem;
  align-self: center;
}

.flow-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

@media (max-width: 720px) {
  .flow-branches {
    grid-template-columns: 1fr;
  }
}

.flow-branch {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  background: #111821;
  font-size: 0.78rem;
}

.flow-branch h3 {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.flow-branch ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-branch li {
  display: flex;
  gap: 0.45rem;
  align-items: baseline;
  margin: 0.28rem 0;
  color: var(--muted);
  line-height: 1.35;
}

.flow-branch code {
  flex: 0 0 auto;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.72rem;
  color: #9ecbff;
  background: #0c1218;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.flow-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.flow-legend span::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  margin-right: 0.35rem;
  vertical-align: -1px;
  border: 1px solid var(--line);
}

.flow-legend .lg-wa::before {
  background: color-mix(in srgb, #245c36 50%, #111821);
  border-color: #245c36;
}

.flow-legend .lg-brain::before {
  background: color-mix(in srgb, #1f6feb 40%, #111821);
  border-color: #2a4a6e;
}

.flow-legend .lg-worker::before {
  background: color-mix(in srgb, #6b5420 40%, #111821);
  border-color: #4a3a1a;
}

.flow-legend .lg-skip::before {
  background: transparent;
  border-style: dashed;
  opacity: 0.7;
}

.mapping-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #111821;
  font-size: 0.78rem;
  color: var(--muted);
}

.pill strong {
  color: var(--text);
  font-weight: 600;
}

.pill.warn {
  border-color: #6b5420;
  color: #f0c14a;
}

.pill.ok {
  border-color: #245c36;
  color: var(--ok);
}

.mapping-brain {
  margin-bottom: 0.85rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #111821;
  font-size: 0.85rem;
  line-height: 1.45;
}

.mapping-brain .title {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.mapping-brain code,
.mapping-table code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.78rem;
  color: #9ecbff;
}

.mapping-scroll {
  overflow: auto;
  max-height: min(52vh, 520px);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mapping-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.mapping-table th,
.mapping-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.mapping-table th {
  position: sticky;
  top: 0;
  background: #1a222c;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  z-index: 1;
}

.mapping-table tr:last-child td {
  border-bottom: none;
}

.mapping-table tr.missing {
  background: color-mix(in srgb, #6b2c2c 18%, transparent);
}

.mapping-table tr.shared {
  background: color-mix(in srgb, #1f6feb 8%, transparent);
}

.badge {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  font-size: 0.72rem;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.badge.live-on {
  color: var(--ok);
  border-color: #245c36;
}

.badge.live-off {
  color: #f0c14a;
  border-color: #6b5420;
}

.badge.shared-tab {
  color: #9ecbff;
  border-color: #2a4a6e;
}

.badge.dedicated {
  color: var(--muted);
}

.badge.flag {
  color: #e7eef7;
  background: #243044;
}

.accept-bar {
  margin: 0.35rem 0 0.75rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel, #12161e) 88%, #1f6feb);
}

.accept-bar.ready {
  border-color: #245c36;
  color: var(--ok);
  background: color-mix(in srgb, #14301c 40%, transparent);
}

.accept-bar.waiting {
  border-color: #6b5420;
  color: #f0c14a;
}

.status.stuck {
  color: #ff8e8e;
  font-weight: 600;
}

.status.busy {
  color: #f0c14a;
}

.wa-mini {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wa-mini li {
  margin: 0.15rem 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.wa-mini .wa-label {
  color: var(--text);
}

.note-muted {
  color: var(--muted);
  font-size: 0.72rem;
  margin-top: 0.25rem;
}

.sched-panel .sched-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

@media (max-width: 1100px) {
  .sched-panel .sched-grid {
    grid-template-columns: 1fr;
  }
}

.sched-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem;
  background: #111821;
}

.sched-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.sched-card-head h3 {
  margin: 0;
  font-size: 0.95rem;
}

.sched-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  margin: 0.65rem 0;
}

.sched-form .span2 {
  grid-column: 1 / -1;
}

.field.compact span {
  font-size: 0.72rem;
}

.field.compact input {
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

.sched-actions {
  flex-wrap: wrap;
  margin-bottom: 0.35rem;
}

.sched-jobs-scroll {
  max-height: 280px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.jobs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}

.jobs-table th,
.jobs-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.jobs-table th {
  position: sticky;
  top: 0;
  background: #151b24;
  color: var(--muted);
  font-weight: 600;
}

.jobs-table tr:last-child td {
  border-bottom: none;
}

.jobs-table code {
  font-size: 0.72rem;
}

.jobs-table .btn.tiny {
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
}

/* —— Status chips + mobile title —— */
.title-short {
  display: none;
}

.status-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  overflow-x: auto;
  max-width: min(520px, 56vw);
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
}

.status-chip {
  flex: 0 0 auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  font-size: 0.78rem;
  color: var(--text);
  white-space: nowrap;
}

.status-chip.warn {
  border-color: color-mix(in srgb, var(--warn) 55%, var(--line));
  color: var(--warn);
  background: color-mix(in srgb, var(--warn) 14%, var(--panel-2));
}

.status-chip.danger {
  border-color: color-mix(in srgb, var(--danger) 55%, var(--line));
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 14%, var(--panel-2));
}

.status-details {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.status-details summary {
  cursor: pointer;
  color: var(--muted);
}

.queue-filter-field {
  margin: 0.5rem 0;
}

.events-head {
  margin-top: 1.25rem;
}

.events-box {
  margin-top: 0.5rem;
}

.queue-box.warn {
  border-color: #8a6a20;
  box-shadow: 0 0 0 1px color-mix(in srgb, #8a6a20 35%, transparent);
}

.mobile-nav {
  display: none;
}

/* Desktop: keep flow/sched/map full; routes | relay; status under relay */
@media (min-width: 769px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  #panelFlow,
  #panelSched,
  #panelMap {
    grid-column: 1 / -1;
  }

  #panelRoutes {
    grid-column: 1;
  }

  #panelRelay {
    grid-column: 2;
    grid-row: auto;
  }

  #panelStatus {
    grid-column: 2;
  }

  .mobile-panel {
    display: block;
  }
}

/* —— Mobile app shell ≤768（TASK-012 / Sophia brief） —— */
@media (max-width: 768px) {
  body {
    font-size: 0.9rem;
    /* padding 只放 layout，避免 double */
    padding-bottom: 0;
    overflow-x: hidden;
  }

  .title-full,
  .top .sub,
  #accessHint,
  #statusBox {
    display: none !important;
  }

  .title-short {
    display: inline;
  }

  .top {
    position: sticky;
    top: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: calc(0.55rem + env(safe-area-inset-top, 0px)) 0.75rem 0.55rem;
    background: color-mix(in srgb, var(--bg) 94%, black);
    border-bottom: 1px solid var(--line);
  }

  .top-brand h1 {
    font-size: 1.15rem;
    font-weight: 600;
  }

  .top-actions {
    align-items: stretch;
    width: 100%;
  }

  .status-chips {
    max-width: 100%;
    width: 100%;
    scrollbar-width: none;
  }

  .status-chips::-webkit-scrollbar {
    display: none;
  }

  .status-details {
    display: block;
  }

  .status-details[open] summary {
    margin-bottom: 0.25rem;
  }

  .layout {
    display: block;
    padding: 0.75rem 0.75rem calc(1rem + 64px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
  }

  .mobile-panel {
    display: none;
    margin-bottom: 0.75rem;
  }

  .mobile-panel.is-active {
    display: block;
  }

  .panel {
    border-radius: var(--radius-sm);
    padding: 0.85rem;
    overflow-x: hidden;
  }

  .panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .panel-head .row.gap,
  .sched-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    width: 100%;
    align-items: stretch;
  }

  .btn {
    min-height: 44px;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
  }

  .btn.tiny {
    min-height: 36px;
    padding: 0.25rem 0.5rem;
  }

  .panel-head .btn.primary,
  .panel-head .btn.danger,
  .sched-actions .btn.primary,
  .sched-actions .btn.danger {
    grid-column: 1 / -1;
  }

  .sched-form,
  .grid2 {
    grid-template-columns: 1fr !important;
  }

  .sched-grid {
    grid-template-columns: 1fr;
  }

  .scroll-hint {
    display: block;
    margin: 0.35rem 0;
    text-align: center;
    color: var(--muted);
  }

  .mapping-scroll,
  .sched-jobs-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .mapping-table,
  .jobs-table {
    font-size: 0.85rem;
    min-width: 640px;
  }

  .mapping-table th:first-child,
  .mapping-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--panel-2);
  }

  .mapping-table thead th:first-child {
    z-index: 2;
  }

  .flow-track {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .flow-node {
    max-width: none;
    width: 100%;
    flex: none;
    padding: 0.5rem 0.65rem;
  }

  .flow-arrow {
    transform: rotate(90deg);
    align-self: center;
    font-size: 0.85rem;
    opacity: 0.7;
  }

  .flow-branches {
    grid-template-columns: 1fr !important;
  }

  .flow-node .meta {
    font-size: 0.85rem;
  }

  .hint {
    font-size: 0.8rem;
  }

  .queue-box,
  code,
  .route-card {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .toast {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 0.75rem;
    left: 0.75rem;
    max-width: none;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 0.25rem 0.2rem calc(0.25rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--panel) 96%, black);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow-nav);
  }

  .mobile-nav-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-height: 44px;
    min-width: 44px;
    font-size: 0.68rem;
    padding: 0.25rem;
    border-radius: var(--radius-sm);
  }

  .mobile-nav-btn .nav-ico {
    display: flex;
    line-height: 0;
  }

  .mobile-nav-btn .nav-ico svg {
    display: block;
  }

  .mobile-nav-btn.is-active {
    color: var(--text);
    background: var(--accent-soft);
    box-shadow: inset 0 -2px 0 var(--accent);
  }

  .login-gate {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
}

.scroll-hint {
  display: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
