/* GardenIt — styles. Tokens from README "Design tokens". */

/* ---------- Fonts (self-hosted, cached by sw.js) ---------- */
@font-face {
  font-family: 'Figtree';
  src: url('assets/fonts/Figtree-Variable.woff2') format('woff2');
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Variable.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Italic-Variable.woff2') format('woff2');
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('assets/fonts/JetBrainsMono-Variable.woff2') format('woff2');
  font-weight: 400 800; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --teal: #00B2A9;
  --teal-600: #009A92;
  --teal-ink: #007B74;
  --teal-light: #4DC9C1;
  --teal-wash: #EEF7F6;
  --teal-line: #DCEDEC;
  --ink: #232323;
  --body: #444444;
  --muted: #6D6D6D;
  --faint: #A0A0A0;
  --line: #EAEAEA;
  --page: #F4F4F4;
  --surface: #FFFFFF;
  --camera: #182322;

  --r-pill: 999px;
  --r-sheet: 28px;
  --r-card: 24px;
  --r-list: 20px;
  --r-photo: 16px;
  --r-thumb: 14px;
  --r-search: 12px;

  --shadow-raised: 0 4px 12px rgba(35, 35, 35, .15);
  --shadow-banner: 0 12px 32px rgba(35, 35, 35, .25);
  --shadow-sheet: 0 -8px 32px rgba(35, 35, 35, .18);

  --ease: cubic-bezier(.2, 0, 0, 1);
  --dur: 220ms;

  --f-display: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  /* 84 px at a 34 px home-indicator inset; grows only if the inset is larger */
  --tabbar-h: calc(50px + max(34px, var(--safe-bottom)));
  --status-bg: var(--page);

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--page); }
body {
  font: 400 15px/1.4 var(--f-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
}
h1, h2, p { margin: 0; font-weight: 400; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- App frame ---------- */
.app {
  position: relative;
  height: 100%;
  height: 100dvh;
  width: 100%;
  min-width: 360px;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--page);
  overflow: hidden;
}
@media (min-width: 481px) {
  body { background: #EAEAEA; }
  .app { box-shadow: 0 0 0 1px var(--line); }
}
.statusbar { flex: none; height: var(--safe-top); background: var(--status-bg); }
.app[data-screen="plant"] { --status-bg: var(--teal-line); }
.app[data-screen="camera"] { background: var(--camera); --status-bg: transparent; }

.screen {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
}
.screen.is-entering > * { animation: fade var(--dur) var(--ease); }
@keyframes fade { from { opacity: 0; } }

/* ---------- Shared type ---------- */
.eyebrow {
  font: 500 11px/1.3 var(--f-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--lg { font-size: 12px; }
.h1 { font: 400 34px/1.15 var(--f-display); color: var(--ink); }
.h2 { font: 400 32px/1.15 var(--f-display); color: var(--ink); }
.latin { font: italic 400 15px/1.4 var(--f-body); color: var(--muted); }
.mono { font-family: var(--f-mono); font-weight: 500; }

/* ---------- Page scaffolding ---------- */
.page { padding: 8px 20px 28px; display: flex; flex-direction: column; gap: 22px; }
.page--tight { gap: 18px; padding-bottom: 24px; }
.page-head { display: flex; flex-direction: column; gap: 6px; padding: 8px 4px 0; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section { display: flex; flex-direction: column; gap: 10px; }
.section > .eyebrow { padding: 0 4px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px; }
.section-head__aside { font-size: 12px; color: var(--faint); }
.section--year { gap: 12px; }

/* ---------- Buttons & pills ---------- */
.btn-dark {
  height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 13px var(--f-body); white-space: nowrap;
}
.btn-dark:disabled { opacity: .4; cursor: default; }
.btn-primary {
  height: 52px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 600 15px var(--f-body); width: 100%;
  transition: background-color var(--dur) var(--ease);
}
.btn-primary:hover { background: var(--teal-600); }
.pill-light {
  height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 14px var(--f-body);
}
.add-pill {
  flex: none; height: 28px; padding: 0 10px; border-radius: var(--r-pill);
  border: 1px solid var(--teal-line); color: var(--teal-ink);
  display: inline-flex; align-items: center;
  font: 500 12px var(--f-body); white-space: nowrap;
}
.add-pill.is-on { border-color: var(--line); color: var(--faint); cursor: default; }
.text-link { font: 500 13px var(--f-body); color: var(--teal-ink); align-self: flex-start; padding: 0 4px; }
.text-link.is-muted { color: var(--faint); cursor: default; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list); }
.card--list { padding: 6px 16px; }
.card--rows { padding: 4px 16px; }
.row-rule + .row-rule { border-top: 1px solid var(--line); }

/* ---------- Tab bar ---------- */
.tabbar {
  flex: none;
  height: var(--tabbar-h);
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  padding-top: 10px;
  position: relative;
  z-index: 2;
}
.app[data-screen="camera"] .tabbar { display: none; }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--faint);
  font: 500 11px var(--f-body);
  transition: color var(--dur) var(--ease);
}
.tab.is-active { color: var(--teal-ink); }
.tab--camera { justify-content: center; flex-direction: row; }
.fab {
  width: 56px; height: 56px; margin-top: -22px; border-radius: 50%;
  background: var(--teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-raised);
  transition: background-color var(--dur) var(--ease);
}
.tab--camera:hover .fab { background: var(--teal-600); }

/* ---------- Toast ---------- */
.toast {
  position: absolute;
  left: 20px; right: 20px;
  bottom: calc(var(--tabbar-h) + 16px);
  background: var(--ink); color: #fff;
  border-radius: var(--r-photo);
  padding: 14px 16px;
  font: 400 14px/1.4 var(--f-body);
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.toast.is-on { opacity: 1; }
.app[data-screen="camera"] .toast { bottom: calc(var(--safe-bottom) + 150px); }

/* ---------- To do ---------- */
.bell {
  position: relative; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff; border: 2px solid var(--page);
  font: 600 11px/16px var(--f-body); text-align: center;
}
.badge[hidden] { display: none; }

.input-row {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list);
  padding: 6px 6px 6px 16px;
  display: flex; align-items: center; gap: 8px;
}
.input-row input {
  flex: 1; min-width: 0; height: 40px;
  border: 0; outline: 0; background: transparent;
  font: 400 15px var(--f-body); color: var(--ink);
}
.input-row input::placeholder { color: var(--faint); }

.todo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list);
  padding: 14px 16px;
  display: flex; gap: 14px; align-items: flex-start;
  transition: opacity var(--dur) var(--ease);
}
.todo.is-done { opacity: .55; }
.check {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  border: 2px solid var(--faint); background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 600 13px/1 var(--f-body);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.todo.is-done .check { border-color: var(--teal); background: var(--teal); }
.todo__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.todo__text { font: 500 15px/1.4 var(--f-body); color: var(--ink); overflow-wrap: anywhere; }
.todo.is-done .todo__text { text-decoration: line-through; }
.todo__meta { font-size: 12px; color: var(--muted); }
.plant-chip {
  align-self: flex-start; margin-top: 6px;
  height: 28px; padding: 0 10px; border-radius: var(--r-pill);
  background: var(--teal-wash); border: 1px solid var(--teal-line);
  display: inline-flex; align-items: center;
  font: 500 12px var(--f-body); color: var(--teal-ink);
}
.todo__thumb {
  flex: none; width: 52px; height: 52px; border-radius: var(--r-thumb);
  border: 1px solid var(--teal-line);
}
.todo__remove { flex: none; color: var(--faint); font-size: 18px; line-height: 1; padding: 2px 2px 0; }

/* Photo surfaces: missing images fall back to teal-line */
.photo { background: var(--teal-line) center / cover no-repeat; }

/* ---------- Garden ---------- */
.garden-list { display: flex; flex-direction: column; gap: 10px; }
.plant-row {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 12px; display: flex; gap: 14px; align-items: center;
}
.plant-row__photo { flex: none; width: 76px; height: 76px; border-radius: var(--r-photo); }
.plant-row__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.plant-row__name { font: 400 19px/1.25 var(--f-display); color: var(--ink); }
.plant-row__meta { font-size: 12px; color: var(--muted); }
.plant-row__go { color: var(--faint); font-size: 18px; padding-right: 6px; }

/* ---------- Plant page ---------- */
.hero { position: relative; height: 250px; flex: none; }
.hero__back { position: absolute; left: 16px; top: 12px; }
.hero__match {
  position: absolute; right: 16px; top: 12px;
  height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  display: flex; align-items: center;
  font: 500 12px var(--f-body); letter-spacing: .06em;
}
.hero__diagnose {
  position: absolute; right: 16px; bottom: 40px;
  height: 40px; padding: 0 14px 0 12px; border-radius: var(--r-pill);
  background: var(--surface); color: var(--ink);
  box-shadow: 0 4px 12px rgba(35, 35, 35, .18);
  display: flex; align-items: center; gap: 8px;
  font: 600 13px var(--f-body);
  transition: background-color var(--dur) var(--ease);
}
.hero__diagnose:hover { background: var(--page); }
.hero__diagnose svg { color: var(--teal-ink); }
.sheet {
  position: relative; margin-top: -24px;
  background: var(--page); border-radius: var(--r-card) var(--r-card) 0 0;
  padding: 22px 20px 28px;
  display: flex; flex-direction: column; gap: 22px;
}
.title-block { display: flex; flex-direction: column; gap: 4px; }

.care-toggle {
  width: 100%; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px;
}
.care-toggle__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.care-toggle__summary { font-size: 13px; color: var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.care-toggle__label { flex: none; font: 500 13px var(--f-body); color: var(--teal-ink); }
.care-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; animation: fade var(--dur) var(--ease); }
.care-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list);
  padding: 14px; display: flex; flex-direction: column; gap: 6px;
}
.care-tile__value { font: 400 18px/1.25 var(--f-display); color: var(--ink); }
.care-tile__note { font-size: 12px; line-height: 1.45; color: var(--muted); text-wrap: pretty; }

.up-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px 0; }
.up-row__when { display: flex; flex-direction: column; gap: 2px; }
.up-row__date { font: 500 12px var(--f-mono); color: var(--ink); }
.up-row__season { font-size: 11px; color: var(--faint); }
.up-row__text, .task-row__text { font-size: 14px; line-height: 1.45; color: var(--body); text-wrap: pretty; }

.seg {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
  background: var(--line); padding: 4px; border-radius: var(--r-pill);
}
.seg__btn {
  height: 34px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  font: 500 13px var(--f-body); color: var(--muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.seg__btn[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(35, 35, 35, .08); }
.task-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; }
.task-row__n { flex: none; font: 500 12px var(--f-mono); color: var(--faint); padding-top: 2px; }
.task-row__text { flex: 1; line-height: 1.5; }

.empty-note { font-size: 14px; line-height: 1.5; color: var(--body); padding: 8px 4px; }

/* ---------- Search ---------- */
.back-link { font: 500 14px var(--f-body); color: var(--teal-ink); align-self: flex-start; }
.search-field {
  height: 52px; padding: 0 8px 0 18px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.search-field svg { flex: none; color: var(--muted); }
.search-field input {
  flex: 1; min-width: 0; height: 40px;
  border: 0; outline: 0; background: transparent;
  font: 400 16px var(--f-body); color: var(--ink);
}
.search-field input::placeholder { color: var(--faint); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-clear { color: var(--faint); font-size: 20px; line-height: 1; padding: 0 8px; }
.search-clear[hidden] { display: none; }
.results { padding: 0 16px; }
.result { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.result__photo { flex: none; width: 44px; height: 44px; border-radius: var(--r-search); }
.result__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.result__name { font: 500 15px var(--f-body); color: var(--ink); }
.result__latin { font: italic 400 13px var(--f-body); color: var(--muted); }
.result__tag { flex: none; font: 500 12px var(--f-body); color: var(--teal-ink); }
.result__tag.is-in { color: var(--faint); }
.no-results { display: flex; flex-direction: column; gap: 10px; padding: 8px 4px; }
.no-results p { font-size: 14px; line-height: 1.5; color: var(--body); }
.no-results a { font: 500 14px var(--f-body); color: var(--teal-ink); align-self: flex-start; }

/* ---------- Camera ---------- */
.camera {
  position: relative; min-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: calc(max(var(--safe-top), 20px) + 42px) 24px calc(var(--safe-bottom) + 48px);
  background: var(--camera); color: #fff;
  overflow: hidden;
}
.camera__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur) var(--ease); }
.camera__video.is-live { opacity: 1; }
.camera__top, .camera__bottom { position: relative; display: flex; flex-direction: column; align-items: center; }
.camera__top { gap: 14px; }
.camera__bottom { gap: 24px; width: 100%; }
.cam-seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px;
  width: 240px; margin-bottom: 6px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
}
.cam-seg__btn {
  height: 32px; border-radius: var(--r-pill); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font: 500 13px var(--f-body);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cam-seg__btn[aria-selected="true"] { background: #fff; color: var(--ink); }
.camera__label { color: var(--teal-light); }
.camera__hint { font: 400 22px/1.3 var(--f-display); color: #fff; text-align: center; max-width: 260px; }
.viewfinder { position: relative; height: min(330px, 40dvh); aspect-ratio: 270 / 330; flex: none; }
.viewfinder i { position: absolute; width: 36px; height: 36px; border: 0 solid #fff; }
.viewfinder i:nth-child(1) { left: 0; top: 0; border-left-width: 3px; border-top-width: 3px; border-top-left-radius: 16px; }
.viewfinder i:nth-child(2) { right: 0; top: 0; border-right-width: 3px; border-top-width: 3px; border-top-right-radius: 16px; }
.viewfinder i:nth-child(3) { left: 0; bottom: 0; border-left-width: 3px; border-bottom-width: 3px; border-bottom-left-radius: 16px; }
.viewfinder i:nth-child(4) { right: 0; bottom: 0; border-right-width: 3px; border-bottom-width: 3px; border-bottom-right-radius: 16px; }
.outline-pill {
  height: 40px; padding: 0 18px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .4); color: #fff;
  display: inline-flex; align-items: center;
  font: 500 14px var(--f-body);
}
.outline-pill[hidden] { display: none; }
.cam-controls { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.cam-controls__side { width: 64px; font: 500 15px var(--f-body); color: #fff; text-align: left; }
.cam-controls__side--right { font-size: 13px; color: rgba(255, 255, 255, .8); text-align: right; cursor: pointer; }
.shutter {
  width: 76px; height: 76px; border-radius: 50%; border: 4px solid #fff;
  display: flex; align-items: center; justify-content: center;
}
.shutter::after { content: ''; width: 60px; height: 60px; border-radius: 50%; background: #fff; transition: background-color var(--dur) var(--ease); }

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

/* ---------- Search: look up a plant that isn't in the catalogue ---------- */
.lookup {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 16px; border-radius: var(--r-list);
  background: var(--surface); border: 1px solid var(--line);
  font: 500 14px var(--f-body); color: var(--teal-ink); text-align: left;
}
.lookup svg { flex: none; }
.lookup.is-busy { color: var(--muted); animation: lookup-fade 1.2s var(--ease) infinite alternate; }
@keyframes lookup-fade { to { opacity: .45; } }
.lookup-error { font-size: 14px; line-height: 1.5; color: var(--body); }
.no-results .lookup { margin-top: 2px; }

/* ---------- Camera: identifying ---------- */
.viewfinder .scanline {
  position: absolute; left: 8px; right: 8px; top: 50%; height: 2px;
  background: var(--teal-light); box-shadow: 0 0 12px var(--teal-light);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.camera.is-scanning .scanline { opacity: 1; }
.camera.is-scanning .shutter::after { background: var(--teal); }
.camera.is-scanning .shutter, .camera.is-scanning .cam-controls__side--right,
.camera.is-scanning .cam-seg { pointer-events: none; }
.camera.is-scanning .cam-controls__side--right, .camera.is-scanning .outline-pill { opacity: .4; }

/* ---------- Plant page: fresh scan ---------- */
.scan-status { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; color: var(--body); }
.scan-status.is-busy {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-list);
  padding: 14px 16px; color: var(--muted);
  animation: lookup-fade 1.2s var(--ease) infinite alternate;
}
.match-row { width: 100%; text-align: left; }
.match-row__pct { flex: none; font: 500 13px var(--f-mono); color: var(--muted); }

/* ---------- Diagnosis page ---------- */
.app[data-screen="diagnosis"] { --status-bg: var(--teal-line); }
.hero--dx { height: 220px; }
.hero__retake { position: absolute; right: 16px; top: 12px; }
.sheet--dx { gap: 20px; }
.dx-title { gap: 6px; }
.dx-chips { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.dx-chip {
  height: 28px; padding: 0 12px; border-radius: var(--r-pill);
  border: 1px solid var(--faint); color: var(--body);
  display: inline-flex; align-items: center;
  font: 500 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}
.dx-chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.dx-card { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.dx-block { display: flex; flex-direction: column; gap: 4px; }
.dx-card .dx-block + .dx-block { border-top: 1px solid var(--line); padding-top: 12px; }
.dx-block--flat { padding: 0 4px; }
.dx-text { font-size: 14px; line-height: 1.5; color: var(--body); text-wrap: pretty; }
.dx-others { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }
.dx-other { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--body); }
.dx-other__pct { font: 500 13px var(--f-mono); color: var(--muted); }
.dx-helper { font-size: 12px; line-height: 1.45; color: var(--faint); padding: 0 4px; }
.dx-others .dx-helper { padding: 0; margin-top: 4px; }
.dx-disclaimer { font-size: 12px; line-height: 1.45; color: var(--muted); padding: 0 4px; }
.btn-primary.is-done, .btn-primary.is-done:hover { background: var(--faint); cursor: default; }

/* ---------- Install card (To do) ---------- */
.install-card {
  background: var(--teal-wash); border: 1px solid var(--teal-line); border-radius: var(--r-list);
  padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.install-card__title { font: 500 16px/1.35 var(--f-body); color: var(--ink); }
.install-steps strong { font-weight: 600; color: var(--ink); }
.install-share { display: inline-flex; vertical-align: -3px; color: var(--teal-ink); }
