/* In Box — phone first, house contract. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(6rem + env(safe-area-inset-bottom));
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 0.25rem; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
h3 { font-size: 1.0625rem; margin: 0 0 0.5rem; }
p { margin: 0 0 0.75rem; }

.muted { color: var(--text-muted); }
.small { font-size: 0.875rem; }

/* ---- top bar ---- */

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; padding: 0.75rem 1rem;
  padding-top: calc(0.75rem + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 650; font-size: 1.125rem; color: var(--text); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.inline-form { display: inline; margin: 0; }
.ghost-link {
  background: none; border: 0; padding: 0; font: inherit; font-size: 0.9375rem;
  color: var(--text-muted); cursor: pointer;
}

/* ---- page ---- */

.page { max-width: 46rem; margin: 0 auto; padding: 1rem 1rem 2rem; }
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.875rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}
.card h2 { margin-bottom: 0.25rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.list { display: grid; gap: 0.625rem; }

.licence {
  display: block; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem;
  padding: 0.9rem 1rem;
}
.licence:hover { text-decoration: none; border-color: var(--accent); }
.licence-top { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.licence-name { font-weight: 600; font-size: 1.0625rem; }
.licence-meta { color: var(--text-muted); font-size: 0.9375rem; margin-top: 0.15rem; }

.chip {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; white-space: nowrap;
}
.chip.ok { background: color-mix(in srgb, var(--success) 18%, transparent); color: var(--success); }
.chip.soon { background: color-mix(in srgb, var(--warning) 20%, transparent); color: var(--warning); }
.chip.expired { background: color-mix(in srgb, var(--danger) 18%, transparent); color: var(--danger); }
.chip.quiet { background: var(--panel-soft); color: var(--text-muted); }

/* ---- forms ---- */

.field { display: block; margin-bottom: 0.875rem; font-size: 0.9375rem; color: var(--text-muted); font-weight: 500; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 0.35rem;
  padding: 0.7rem 0.75rem; min-height: 2.75rem;
  font: 400 1rem/1.4 inherit; color: var(--text);
  background: var(--panel-soft); border: 1px solid var(--line); border-radius: 0.625rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible,
.button:focus-visible, .tab:focus-visible, .tab-add:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
@media (max-width: 30rem) { .grid-2 { grid-template-columns: 1fr; } }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-height: 2.75rem; padding: 0 1.1rem;
  font: 600 1rem/1 inherit; color: var(--text);
  background: var(--panel-soft); border: 1px solid var(--line); border-radius: 0.625rem;
  cursor: pointer;
}
.button:hover { text-decoration: none; border-color: var(--accent); }
.button.primary { background: var(--accent); color: var(--accent-on); border-color: var(--accent); }
.button.primary:hover { filter: brightness(1.05); }
.button.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.button.quiet { background: none; border-color: transparent; color: var(--text-muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }

.status { min-height: 1.25rem; font-size: 0.9375rem; color: var(--text-muted); }
.status.error { color: var(--danger); }

/* ---- table of details ---- */

dl.facts { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.4rem 0.75rem; margin: 0; }
dl.facts dt { color: var(--text-muted); font-size: 0.9375rem; }
dl.facts dd { margin: 0; word-break: break-word; }
code.key {
  display: inline-block; padding: 0.35rem 0.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9375rem; background: var(--panel-soft); border: 1px solid var(--line); border-radius: 0.4rem;
  word-break: break-all;
}

/* ---- tab bar ---- */

.tabbar {
  position: fixed; z-index: 30;
  left: 50%; transform: translateX(-50%);
  bottom: calc(0.625rem + env(safe-area-inset-bottom));
  width: min(32rem, calc(100% - 1rem));
  display: grid; grid-template-columns: 1fr 1fr 1fr 4rem; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 1.375rem;
  box-shadow: 0 0.5rem 1.5rem var(--shadow);
  padding: 0.35rem;
}
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.4rem 0.25rem; border-radius: 1rem;
  color: var(--text-muted); font-size: 0.75rem; font-weight: 600;
}
.tab:hover { text-decoration: none; }
.tab.active { color: var(--accent); background: var(--accent-soft); }
.tab-icon { font-size: 1.1rem; line-height: 1; }

.tab-add {
  justify-self: end;
  width: 3.25rem; height: 3.25rem; margin-top: -1.75rem;
  display: grid; place-items: center;
  font-size: 1.75rem; font-weight: 400; line-height: 1;
  color: var(--accent-on); background: var(--accent);
  border: 4px solid var(--bg); border-radius: 999px;
  box-shadow: 0 0.35rem 1rem var(--shadow); cursor: pointer;
}

/* ---- dialogs ---- */

dialog.sheet {
  width: min(30rem, calc(100% - 1.5rem));
  padding: 1.25rem;
  color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 1rem;
  box-shadow: 0 1rem 3rem var(--shadow);
}
dialog.sheet::backdrop { background: hsl(0 0% 0% / 0.55); }
.sheet-actions { display: grid; gap: 0.5rem; margin: 1rem 0; }
.sheet h2 { margin-bottom: 0.25rem; }

/* ---- misc ---- */

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-muted); }
.empty strong { display: block; color: var(--text); font-size: 1.125rem; margin-bottom: 0.35rem; }
.banner { border-left: 3px solid var(--warning); padding-left: 0.75rem; }
.banner.danger { border-color: var(--danger); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* Fleet credit line: the mark alone, quiet, sitting at the foot of the page.
   The page is a column so a short page still puts the mark at the bottom instead of
   floating it in the middle of the screen. */
body { display: flex; flex-direction: column; min-height: 100vh; }
main.page { flex: 1 0 auto; width: 100%; }

.app-footer {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 0.5rem;
  padding: 2rem 0 1rem;
  color: var(--text-muted);
}
.app-version {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--text-muted); text-decoration: none;
  padding: 0.15rem 0.4rem; border-radius: 0.35rem;
}
.app-version:hover { color: var(--text); text-decoration: none; background: var(--panel-soft); }

/* changelog body */
.changelog h1 { font-size: 1.4rem; margin: 0 0 0.5rem; }
.changelog h2 { font-size: 1.05rem; margin: 1.35rem 0 0.4rem; letter-spacing: -0.005em; }
.changelog h2:first-child { margin-top: 0; }
.changelog p { margin: 0.35rem 0; color: var(--text-muted); }
.changelog ul { margin: 0.35rem 0 0.6rem; padding-left: 1.1rem; color: var(--text-muted); }
.changelog li { margin: 0.2rem 0; }
.changelog code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875em;
  background: var(--panel-soft); border: 1px solid var(--line);
  border-radius: 0.3rem; padding: 0.05rem 0.3rem;
}
.app-footer .markhal { display: inline-flex; opacity: 0.72; }
.app-footer svg { width: 28px; height: 28px; }
@media (max-width: 30rem) { .app-footer svg { width: 26px; height: 26px; } }

/* ---- desktop: the tab bar becomes a left rail ---------------------------- */

.rail-brand { display: none; }
.tab-add-label { display: none; }

@media (min-width: 56rem) {
  body { padding-bottom: 0; }
  .shell-main { margin-left: 15rem; display: flex; flex-direction: column; min-height: 100vh; }
  .topbar .brand { display: none; }

  .tabbar {
    top: 0; bottom: 0; left: 0; transform: none;
    width: 15rem; display: flex; flex-direction: column; align-items: stretch;
    border: 0; border-right: 1px solid var(--line); border-radius: 0;
    box-shadow: none; padding: 1.25rem 0.875rem;
    background: var(--panel);
  }
  .rail-brand { display: block; padding: 0 0.625rem 1.25rem; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
  .rail-brand a { color: var(--text); }
  .rail-brand a:hover { text-decoration: none; }

  .tab {
    flex-direction: row; justify-content: flex-start; gap: 0.65rem;
    padding: 0.7rem 0.75rem; font-size: 0.9875rem; border-radius: 0.6rem;
  }
  .tab-icon { font-size: 1rem; }

  .tab-add {
    justify-self: auto; width: 100%; height: 2.85rem; margin: 0 0 0.875rem;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-size: 1rem; border: 0; border-radius: 0.75rem; box-shadow: none;
  }
  .tab-add-label { display: inline; }

  /* order: add button first, then the links, quiet rule under the add action */
  .tab-add { order: -1; }
  .rail-brand { order: -2; }

  /* Account is in the rail now; keep only Sign out in the top bar. */
  .topbar a.ghost-link[href="/account"] { display: none; }

  /* version sits in the lower-left corner, in the rail, and links to the changelog */
  .app-version { position: fixed; left: 0.875rem; bottom: 0.875rem; z-index: 40; font-size: 0.72rem; }

  .page { max-width: 52rem; padding: 1.75rem 2.25rem 2.5rem; }
  .topbar { padding-left: 2.25rem; padding-right: 2.25rem; }
}

/* ---- licence detail ---------------------------------------------------- */

.crumb { margin: 0 0 0.35rem; font-size: 0.9375rem; }
.crumb a { color: var(--text-muted); font-weight: 600; }
.crumb a:hover { color: var(--text); text-decoration: none; }

.file-row { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-name { font-weight: 600; overflow-wrap: anywhere; }

.upload { margin-top: 0.9rem; }

.history-line { font-size: 0.8125rem; line-height: 1.4; overflow-wrap: anywhere; }
.history-kind { color: var(--text-muted); }
/* A logged image URL can be 250 characters of percent-encoding. Clamping it is the
   difference between a readable page and a 1291px-wide layout on a 390px phone. */
.history-detail {
  margin-top: 0.15rem; color: var(--text-muted); font-size: 0.75rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-word;
}

.notes { white-space: pre-wrap; overflow-wrap: anywhere; }

/* No page in this app may create a horizontal scrollbar. One unbroken string is
   enough for iOS Safari to lay the page out wider than the screen and shrink
   everything, which reads as "the whole page is squished to the left". */
html, body { overflow-x: hidden; }
.muted.small, .small { overflow-wrap: anywhere; }

.head-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }


/* ---- In Box ---- */

.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; }
.back { margin: 0 0 0.75rem; font-size: 0.9375rem; }
.back a { color: var(--text-muted); }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.chip-filter {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.875rem;
  background: var(--panel); border: 1px solid var(--line); color: var(--text-muted);
}
.chip-filter:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }
.chip-filter.on { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.dot-count { font-variant-numeric: tabular-nums; opacity: 0.8; }

.search-form { margin-bottom: 0.9rem; }
.search-form .field { margin-bottom: 0; }
.search-form input { width: 100%; }

.note-list { display: grid; gap: 0.625rem; }
.note-card {
  display: block; color: var(--text); text-decoration: none;
  background: var(--panel); border: 1px solid var(--line); border-radius: 0.875rem;
  padding: 0.85rem 1rem;
}
.note-card:hover { text-decoration: none; border-color: var(--accent); }
.note-top { display: flex; align-items: center; gap: 0.5rem; justify-content: space-between; }
.note-title { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }
.pip { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent); flex: none; }
.note-snippet { margin: 0.3rem 0 0.5rem; color: var(--text-muted); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0.8125rem; color: var(--text-muted); }
.note-age { margin-left: auto; }

.tag {
  display: inline-block; padding: 0.1rem 0.5rem; border-radius: 999px; font-size: 0.78rem;
  background: var(--panel-soft, var(--panel)); border: 1px solid var(--line); color: var(--text-muted);
  white-space: nowrap;
}
.tag.ok { color: var(--success); border-color: color-mix(in srgb, var(--success) 40%, var(--line)); }
.tag.bad { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.task-tag { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.pip, .tag { flex: none; }

.empty { text-align: center; padding: 2rem 1rem; }

.note-detail h1 { margin-bottom: 0.35rem; }
.note-head { border-bottom: 1px solid var(--line); padding-bottom: 0.75rem; margin-bottom: 0.9rem; }
.note-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 1.25rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }

.prose { font-size: 1.0625rem; line-height: 1.62; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3 { margin: 1.2rem 0 0.5rem; line-height: 1.25; }
.prose p { margin: 0 0 0.8rem; }
.prose ul, .prose ol { margin: 0 0 0.9rem; padding-left: 1.25rem; }
.prose li { margin-bottom: 0.25rem; }
.prose blockquote { margin: 0 0 0.9rem; padding: 0.35rem 0 0.35rem 0.9rem; border-left: 3px solid var(--line); color: var(--text-muted); }
.prose code { font-size: 0.9em; background: var(--panel-soft, var(--panel)); padding: 0.1rem 0.3rem; border-radius: 0.3rem; }
.prose pre { background: var(--panel-soft, var(--panel)); border: 1px solid var(--line); border-radius: 0.6rem; padding: 0.75rem; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }
.prose a { text-decoration: underline; }
.prose input[type=checkbox] { margin-right: 0.4rem; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.6rem; }
.section-head h2 { margin: 0; }

.task-list, .file-list, .plain-list { list-style: none; margin: 0; padding: 0; }
.task-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-text { flex: 1 1 auto; }
.task-side { display: flex; align-items: center; gap: 0.4rem; flex: none; flex-wrap: wrap; justify-content: flex-end; }

.file-row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.file-row:last-child { border-bottom: 0; }
.file-name { display: flex; flex-direction: column; min-width: 0; }
.file-name a { overflow-wrap: anywhere; }
.upload-form { margin-top: 0.9rem; }

.mini-link { background: none; border: 0; padding: 0; font: inherit; font-size: 0.8125rem; color: var(--accent); cursor: pointer; text-decoration: underline; }
.mini-link.danger { color: var(--danger); }

.facts { margin: 0 0 0.75rem; display: grid; gap: 0.45rem; }
.facts div { display: flex; gap: 0.75rem; justify-content: space-between; align-items: baseline; }
.facts dt { color: var(--text-muted); font-size: 0.875rem; }
.facts dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.facts code { font-size: 0.8125rem; }

.checkline { display: flex; align-items: center; gap: 0.5rem; margin: 0 0 0.9rem; font-size: 0.9375rem; }
.checkline input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); }

.plain-list li { padding: 0.2rem 0; color: var(--text-muted); }

.auth-card { max-width: 26rem; margin: 10vh auto 0; }
.button.wide { width: 100%; text-align: center; }
.qr { background: #fff; padding: 8px; border-radius: 10px; }
.key { display: block; font-size: 0.875rem; background: var(--panel-soft, var(--panel)); padding: 0.5rem 0.6rem; border-radius: 0.5rem; overflow-wrap: anywhere; }
.key-codes { white-space: pre; overflow-x: auto; }

.tab-add-form { display: contents; }
.tab-count { margin-left: 0.25rem; font-size: 0.75rem; opacity: 0.75; font-variant-numeric: tabular-nums; }

@media (max-width: 30rem) {
  .note-age { margin-left: 0; }
  .note-detail { padding: 0.9rem; }
  .note-actions .button { flex: 1 1 auto; text-align: center; }
}

/* Summary box: visually a quotation, not another card of chrome */
.summary-card { border-left: 3px solid var(--accent); }
.summary-text { margin: 0 0 0.4rem; font-size: 1.0625rem; line-height: 1.55; }
.stack { display: block; margin-bottom: 0.75rem; }
.check { display: flex; align-items: center; gap: 0.5rem; margin: 0.25rem 0 0.875rem; font-size: 0.9375rem; color: var(--text-muted); }
.check input { width: auto; margin: 0; }

.tag.fire{border-color:#c8452f;color:#ff8b73;text-transform:uppercase;letter-spacing:.04em}

/* Profile photo and display name (1.4.4) */
.avatar-chip{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--surface-3,#2a2f36);color:var(--text-muted,#c9d1d9);font-weight:600;text-decoration:none;flex:0 0 auto}
.avatar-chip img{width:100%;height:100%;object-fit:cover;display:block}
.profile-card .profile-row{display:flex;align-items:center;gap:18px;margin:8px 0 18px}
.avatar-preview{width:88px;height:88px;border-radius:50%;overflow:hidden;background:var(--surface-3,#2a2f36);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:600;color:var(--text-muted,#c9d1d9);flex:0 0 auto}
.avatar-preview img{width:100%;height:100%;object-fit:cover;display:block}
.profile-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.profile-actions .button{cursor:pointer}
.crop-dialog{border:1px solid var(--border,#39414b);border-radius:16px;background:var(--surface,#161b21);color:inherit;padding:20px;max-width:92vw}
.crop-dialog::backdrop{background:rgba(0,0,0,.65)}
.crop-dialog h2{margin:0 0 12px;font-size:1.05rem}
.crop-dialog canvas{width:320px;height:320px;max-width:100%;border-radius:12px;touch-action:none;cursor:grab;background:#0b0b0b}
.crop-dialog canvas:active{cursor:grabbing}
.crop-dialog .field{margin:12px 0}
.crop-dialog input[type=range]{width:100%}

/* ---- the rail keeps Still's navy in both themes (1.4.6) ---------------- */
/* On phones the same element is the floating bar on black; only the desktop
   column takes the rail palette, so the workspace stays black beside it. */
@media (min-width: 56rem) {
  .tabbar {
    background: var(--rail);
    border-right: 1px solid var(--rail-line);
    color: var(--rail-ink);
  }
  .rail-brand a { color: var(--rail-ink); }
  .tab { color: var(--rail-ink-dim); }
  .tab:hover { background: var(--rail-line); color: var(--rail-ink); }
  .tab.active, .tab.active:hover { background: var(--rail-active-bg); color: var(--rail-active-ink); }
  .tab-count { background: var(--rail-line); color: var(--rail-ink); }
  .app-version { color: var(--rail-ink-dim); }
  .tabbar :is(a,button):focus-visible { outline: 2px solid var(--rail-ink); outline-offset: 2px; }
}

/* ---- your own tags on a note (1.5.0) ---------------------------------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0 0 0.85rem; }
.tag.owned {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: var(--panel-soft); border-color: var(--line); color: var(--text);
}
.tag.owned .tag-remove-form { display: inline; margin: 0; }
.tag.owned button {
  background: none; border: 0; padding: 0 0.1rem; line-height: 1;
  color: var(--text-muted); cursor: pointer; font-size: 1rem;
}
.tag.owned button:hover { color: var(--danger); }
.tag-filter { text-decoration: none; }
.tag-filter:hover { text-decoration: none; border-color: var(--accent); color: var(--text); }
.tag-filter.on { background: var(--accent); border-color: var(--accent); color: var(--accent-on); }
.tag-count { margin-left: 0.35rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.tag-filter-row { margin-bottom: 0.9rem; }
.tag-add-form { display: flex; gap: 0.5rem; align-items: flex-end; margin-top: 0.35rem; }
.tag-add-form .field { flex: 1 1 auto; margin-bottom: 0; }
.tag-add-form .button { flex: 0 0 auto; }

/* 1.8.0 — the router's suggestion: a hint with one button, never an action on its own */
.suggest-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  border-left:3px solid var(--accent)}
.suggest-copy{display:flex;flex-direction:column;gap:.25rem;min-width:14rem}
.suggest-eyebrow{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}
.suggest-line{margin:0;display:flex;gap:.5rem;align-items:baseline;flex-wrap:wrap}
.suggest-tag{opacity:.85}
.suggest-card .button.primary{white-space:nowrap}
