/* Inn Transit components ("Night flight"). Built once, reused everywhere. Reads tokens.css only.
   Class names are shared with the JS views and PHP templates: keep them, restyle freely. */

/* ---- base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  background-image: var(--bg-glow);
  background-attachment: fixed;
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-16);
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: var(--fs-36); }
h2 { font-size: var(--fs-24); }
h3 { font-size: var(--fs-16); font-family: var(--font); font-weight: 600; letter-spacing: 0; }
p { margin: 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-ctl); }
::selection { background: var(--accent); color: var(--accent-fg); }
.num, time, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.eyebrow { font-size: var(--fs-12); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--fg-3); }
.muted { color: var(--fg-2); }
.faint { color: var(--fg-3); }
.small { font-size: var(--fs-14); }
.tiny { font-size: var(--fs-12); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden, [hidden] { display: none !important; }
.stack > * + * { margin-top: var(--s-4); }
.stack-2 > * + * { margin-top: var(--s-2); }
.row { display: flex; align-items: center; gap: var(--s-3); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.grow { flex: 1 1 auto; min-width: 0; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrap { max-width: var(--content-max); margin-inline: auto; padding-inline: var(--s-4); }
.icon { width: 20px; height: 20px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--tap); padding: 0 var(--s-5);
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  background: var(--surface-2); color: var(--fg);
  font-weight: 600; font-size: var(--fs-16); line-height: 1; white-space: nowrap;
  text-decoration: none; user-select: none;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), opacity var(--t-fast), box-shadow var(--t-fast);
}
.btn:hover { text-decoration: none; background: var(--line-strong); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--surface-2); border-color: var(--line-strong); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger-text); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { min-height: 36px; padding: 0 var(--s-4); font-size: var(--fs-14); }
.btn-lg { min-height: 52px; padding: 0 var(--s-6); font-size: var(--fs-16); }
.btn-block { width: 100%; }
.btn-icon { width: var(--tap); padding: 0; }
.btn-icon.btn-sm { width: 36px; }
.btn-google { background: var(--surface); border-color: var(--line-strong); }
.fab {
  position: fixed; right: var(--s-5); bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--s-5));
  width: 56px; height: 56px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-fg); border: 0;
  box-shadow: var(--accent-glow); display: grid; place-items: center; z-index: 30;
  transition: transform var(--t-fast) var(--ease);
}
.fab:active { transform: scale(.96); }
.fab .icon { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---- forms ------------------------------------------------------------ */
.field { display: block; }
.field + .field { margin-top: var(--s-4); }
.label { display: block; font-size: var(--fs-12); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--s-2); }
.input, .select, .textarea {
  display: block; width: 100%; min-height: var(--tap);
  padding: 0 var(--s-4);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-ctl);
  background: var(--bg-sunken); color: var(--fg);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { padding: var(--s-3) var(--s-4); min-height: 96px; resize: vertical; line-height: var(--lh); }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238b98c2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input::placeholder, .textarea::placeholder { color: var(--fg-3); }
.hint { font-size: var(--fs-12); color: var(--fg-3); margin-top: var(--s-1); }
.error-text { font-size: var(--fs-14); color: var(--danger-text); margin-top: var(--s-1); }
.form-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-grid .field + .field { margin-top: 0; }
.check { display: flex; align-items: center; gap: var(--s-3); min-height: var(--tap); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track { width: 44px; height: 26px; border-radius: var(--r-pill); background: var(--line-strong); position: relative; transition: background var(--t-med) var(--ease); flex: 0 0 auto; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform var(--t-med) var(--ease); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::after { transform: translateX(18px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent); outline-offset: 2px; }
.alert { padding: var(--s-3) var(--s-4); border-radius: var(--r-ctl); font-size: var(--fs-14); border: 1px solid transparent; }
.alert-danger { background: var(--danger-soft); color: var(--danger-text); border-color: rgba(255, 107, 107, .25); }
.alert-ok { background: var(--ok-soft); color: var(--ok-text); }
.alert-info { background: var(--accent-soft); color: var(--accent-text); }
.alert-warn { background: var(--warn-soft); color: var(--warn-text); }

/* ---- segmented control: underlined tabs, not a pill tray ---------------- */
.seg { display: inline-flex; gap: var(--s-5); padding: 0; background: transparent; border-radius: 0; border-bottom: 1px solid var(--line); }
.seg button, .seg a {
  min-height: 40px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; border-radius: 0;
  background: transparent; color: var(--fg-3); font-weight: 500; font-size: var(--fs-13, .8125rem); letter-spacing: .12em; text-transform: uppercase;
  transition: color var(--t-fast), border-color var(--t-fast);
  text-decoration: none;
}
.seg button:hover, .seg a:hover { color: var(--fg); text-decoration: none; }
.seg [aria-pressed="true"], .seg .is-active { color: var(--fg); border-bottom-color: var(--accent); }
.seg-block { display: flex; width: 100%; }
.seg-block > * { flex: 0 0 auto; }

/* ---- cards: quiet surfaces, no borders ---------------------------------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: none; }
.card-pad { padding: var(--s-5); }
.card-hover { transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast) var(--ease); }
.card-hover:hover { border-color: var(--line-strong); background: var(--surface-2); text-decoration: none; }
.card-hover:active { transform: scale(.995); }
a.card { color: inherit; display: block; }

/* ---- pills / badges ---------------------------------------------------- */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 24px; padding: 0 10px; border-radius: var(--r-pill);
  font-size: var(--fs-12); font-weight: 600; letter-spacing: .02em; white-space: nowrap;
  background: var(--surface-2); color: var(--fg-2);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-work { background: var(--work-soft); color: var(--work-text); }
.pill-personal { background: var(--personal-soft); color: var(--personal-text); }
.pill-shared { background: var(--shared-soft); color: var(--shared-text); }
.pill-together { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-strong); }
.pill-add { background: transparent; color: var(--fg-3); border: 1px dashed var(--line-strong); cursor: pointer; font: inherit; }
.pill-add:hover { color: var(--accent-text); border-color: var(--accent); }
.pill-ok { background: var(--ok-soft); color: var(--ok-text); }
.pill-warn { background: var(--warn-soft); color: var(--warn-text); }
.pill-danger { background: var(--danger-soft); color: var(--danger-text); }
.pill-info { background: var(--info-soft); color: var(--info); }
.pill-accent { background: var(--accent-soft); color: var(--accent-text); }
@keyframes pulse-once { 0% { box-shadow: 0 0 0 0 var(--accent-soft); } 100% { box-shadow: 0 0 0 10px transparent; } }
.pulse { animation: pulse-once .9s var(--ease) 1; }

/* ---- lists: rules, not boxes ------------------------------------------- */
.list { display: flex; flex-direction: column; gap: 0; }
.list-row {
  display: flex; align-items: center; gap: var(--s-3);
  min-height: var(--tap); padding: var(--s-3) 0;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  color: inherit; text-decoration: none;
}
.list-row:last-child { border-bottom: 0; }
.list-row:hover { text-decoration: none; }
a.list-row:hover, button.list-row:hover { color: var(--fg); }
.list-row .chev { margin-left: auto; color: var(--fg-3); }
.divider { height: 1px; background: var(--line); margin: var(--s-4) 0; border: 0; }

/* ---- timeline: the trip as a route line --------------------------------- */
.timeline { position: relative; }
.tl-day { margin-top: var(--s-5); }
.tl-day:first-child { margin-top: 0; }
.tl-above {
  position: fixed; left: 50%; transform: translateX(-50%); z-index: 6;
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px 0 10px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong, var(--line));
  background: color-mix(in srgb, var(--surface-2) 92%, transparent); color: var(--accent-text);
  font: 600 var(--fs-12)/1 var(--font-body); letter-spacing: .02em; white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0,0,0,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}
.tl-above:hover { background: var(--surface-2); }
.tl-day-head {
  position: sticky; top: calc(var(--topbar-h) + var(--safe-t)); z-index: 5;
  padding: var(--s-2) 0 var(--s-3); margin-bottom: 0;
  background: var(--bg);
  display: flex; align-items: baseline; gap: var(--s-2);
  font-size: var(--fs-12); font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--fg-3);
}
.tl-day-head strong { color: var(--fg-3); font-weight: 600; }
.tl-day-head.is-today strong, .tl-day-head.is-today { color: var(--accent-text); }
.tl-item { display: grid; grid-template-columns: 62px 28px minmax(0, 1fr); gap: 0 var(--s-2); position: relative; }
.tl-item + .tl-item { margin-top: 0; }
.tl-time { padding-top: 2px; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-16); color: var(--fg); font-variant-numeric: tabular-nums; line-height: 1.2; text-align: right; }
.tl-time small { display: block; font-family: var(--font); font-weight: 500; font-size: var(--fs-11); color: var(--fg-3); letter-spacing: .06em; }
.tl-node { position: relative; display: flex; justify-content: center; }
.tl-node::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line-strong); }
.tl-node .dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--fg-3); margin-top: 3px; }
.tl-item.type-flight .tl-node .dot, .tl-item.type-rail .tl-node .dot, .tl-item.type-bus .tl-node .dot, .tl-item.type-ferry .tl-node .dot { border-color: var(--accent); }
.tl-item.type-hotel .tl-node .dot { border-radius: 4px; background: var(--surface-2); border-color: var(--line-strong); }
.tl-item.is-past .tl-node::before { background: var(--accent); opacity: .55; }
.tl-item.is-past .tl-node .dot { border-color: var(--accent); background: var(--accent); }
.tl-item.is-cancelled .tl-node .dot { border-color: var(--danger); }
.tl-gap { display: grid; grid-template-columns: 62px 28px minmax(0, 1fr); gap: 0 var(--s-2); }
.tl-gap-label { grid-column: 3; font-size: var(--fs-12); color: var(--fg-3); padding: var(--s-2) 0 var(--s-4); display: flex; align-items: center; gap: 6px; }
.tl-gap .tl-node-line { grid-column: 2; position: relative; }
.tl-gap .tl-node-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line-strong); }
.tl-now { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); margin: var(--s-2) 0 var(--s-3); color: var(--accent-text); font-size: var(--fs-12); font-weight: 600; letter-spacing: var(--track); text-transform: uppercase; }
.tl-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.tl-now::after { content: ""; flex: 1; height: 1px; background: var(--accent); opacity: .5; }

/* segment card: a block of text on the route, not a box */
.seg-card {
  display: block; width: 100%; padding: 0 0 var(--s-6) 0;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  color: inherit; text-decoration: none; cursor: pointer; text-align: left;
  transition: opacity var(--t-fast);
}
.seg-card:hover { text-decoration: none; }
.seg-card:hover .seg-title { color: var(--accent-text); }
.seg-card .seg-icon { display: none; }
.seg-card.is-cancelled { opacity: .55; }
.seg-card.is-cancelled .seg-title { text-decoration: line-through; }
.seg-card.is-tentative .seg-title { opacity: .8; }
.seg-title { font-weight: 600; font-size: var(--fs-16); line-height: 1.25; transition: color var(--t-fast); }
.seg-title.seg-route { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-24); letter-spacing: -.02em; }
.seg-title .arrow { color: var(--accent); margin: 0 .1em; }
.seg-sub { color: var(--fg-2); font-size: var(--fs-14); margin-top: 3px; }
.seg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); margin-top: var(--s-2); font-size: var(--fs-12); color: var(--fg-3); }
.seg-right { font-size: var(--fs-14); color: var(--fg-3); font-variant-numeric: tabular-nums; margin-top: 3px; }
.seg-live { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-13, .8125rem); font-weight: 600; }
.seg-live .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.seg-live.is-ok { color: var(--ok-text); }
.seg-live.is-warn { color: var(--warn-text); }
.seg-live.is-danger { color: var(--danger-text); }
.seg-live.is-info { color: var(--info); }

/* ---- sheet (bottom sheet on phones, centered dialog on desktop) ------- */
.sheet-backdrop {
  position: fixed; inset: 0; background: var(--overlay); z-index: 40;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity var(--t-med) var(--ease);
}
.sheet-backdrop.is-open { opacity: 1; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-height: calc(100dvh - 40px);
  background: var(--bg-elev); border-radius: 24px 24px 0 0; border: 1px solid var(--line); border-bottom: 0;
  box-shadow: var(--shadow-3);
  display: flex; flex-direction: column;
  transform: translateY(100%);
  transition: transform var(--t-slow) var(--ease);
  padding-bottom: var(--safe-b);
}
.sheet.is-open { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 10px auto 0; flex: 0 0 auto; }
.sheet-head { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-5) var(--s-2); flex: 0 0 auto; }
.sheet-head h2 { flex: 1; min-width: 0; font-size: var(--fs-20); }
.sheet-body { padding: var(--s-2) var(--s-5) var(--s-5); overflow: auto; flex: 1 1 auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { padding: var(--s-3) var(--s-5); border-top: 1px solid var(--line); display: flex; gap: var(--s-2); justify-content: flex-end; flex: 0 0 auto; }
@media (min-width: 760px) {
  .sheet {
    left: 50%; right: auto; bottom: auto; top: 50%;
    width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 64px);
    border-radius: 20px; border-bottom: 1px solid var(--line);
    transform: translate(-50%, -46%) scale(.98); opacity: 0;
    transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
    padding-bottom: 0;
  }
  .sheet.is-open { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  .sheet-handle { display: none; }
  .sheet-head { padding-top: var(--s-5); }
}

/* ---- empty state ------------------------------------------------------ */
.empty { text-align: center; padding: var(--s-10) var(--s-4); max-width: 440px; margin: 0 auto; }
.empty .empty-icon { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--line-strong); color: var(--accent-text); display: grid; place-items: center; margin: 0 auto var(--s-4); }
.empty .empty-icon .icon { width: 28px; height: 28px; }
.empty h2 { margin-bottom: var(--s-2); }
.empty p { color: var(--fg-2); }
.empty .actions { margin-top: var(--s-5); display: flex; gap: var(--s-2); justify-content: center; flex-wrap: wrap; }
.copybox {
  display: flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-4); padding: var(--s-2) var(--s-2) var(--s-2) var(--s-4);
  background: var(--bg-sunken); border: 1px dashed var(--line-strong); border-radius: var(--r-ctl);
  font-family: var(--font-mono); font-size: var(--fs-14);
}
.copybox code { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; }

/* ---- toast ------------------------------------------------------------ */
.toasts { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + var(--s-4)); transform: translateX(-50%); z-index: 60; display: flex; flex-direction: column; gap: var(--s-2); width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.toast {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-pill);
  background: var(--fg); color: var(--fg-inverse); box-shadow: var(--shadow-3); font-size: var(--fs-14); font-weight: 500;
  animation: toast-in var(--t-med) var(--ease);
}
.toast .btn { min-height: 32px; padding: 0 var(--s-3); background: transparent; color: var(--accent); font-size: var(--fs-14); }
:root[data-theme="light"] .toast .btn { color: #ffb454; }
.toast.is-leaving { opacity: 0; transform: translateY(8px); transition: opacity var(--t-med), transform var(--t-med); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 900px) { .toasts { bottom: var(--s-6); } }

/* ---- skeleton --------------------------------------------------------- */
.skel { position: relative; overflow: hidden; background: var(--surface-2); border-radius: var(--r-ctl); color: transparent !important; }
.skel::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: shimmer 1.2s infinite; }
:root[data-theme="light"] .skel::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); }
@keyframes shimmer { 100% { transform: translateX(100%); } }
.skel-line { height: 14px; margin: 6px 0; }
.skel-card { height: 72px; border-radius: var(--r-card); }

/* ---- avatar / misc ---------------------------------------------------- */
.avatar { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; color: var(--fg-2); display: grid; place-items: center; font-weight: 600; font-size: var(--fs-14); flex: 0 0 auto; text-decoration: none; }
.avatar:hover { text-decoration: none; border-color: var(--accent); color: var(--accent-text); }
.kbd { font-family: var(--font-mono); font-size: var(--fs-12); padding: 1px 6px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 6px; background: var(--surface); }
.menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; background: var(--bg-elev); border: 1px solid var(--line-strong); border-radius: var(--r-card); box-shadow: var(--shadow-3); padding: var(--s-1); z-index: 50; }
.menu button, .menu a { display: flex; align-items: center; gap: var(--s-2); width: 100%; min-height: 40px; padding: 0 var(--s-3); border: 0; background: transparent; border-radius: var(--r-ctl); color: var(--fg); text-align: left; text-decoration: none; font-size: var(--fs-14); }
.menu button:hover, .menu a:hover { background: var(--surface-2); text-decoration: none; }
.menu .is-danger { color: var(--danger-text); }
