/* Rafael's house UI kit (2026-10-28): the look for every app, tool, extension and internal page, across all
   companies (Studio Grow, Easy Hive, Le Malt, clients). Born on the Lise Bot Live Audio extension; Rafael: "save this
   style as we'll use this across every app or tool we'll build ... across all companies".
   Apple-style: white, generous space, grouped gray rows, quiet gray secondary text. Titles and buttons Host Grotesk
   (from dextr.ai), body Geist, both OFL and bundled from ./fonts. Capsule (pill) buttons: filled accent for the main
   action, white with a hairline border for the rest. Only --accent changes per company. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-500.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Geist"; src: url("fonts/Geist-600.woff2") format("woff2"); font-weight: 600 700; font-display: block; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/HostGrotesk-400.woff2") format("woff2"); font-weight: 400; font-display: block; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/HostGrotesk-500.woff2") format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/HostGrotesk-600.woff2") format("woff2"); font-weight: 600 700; font-display: block; }

:root {
  --ink: #1D1D1F; --muted: #6E6E73; --faint: #A1A1A6; --line: #E5E5EA; --bg: #FFFFFF; --group: #F5F5F7;
  --accent: #083C2E;   /* per company: Studio Grow Deep Forest; swap for the brand */
  --forest: var(--accent); --rec: #D93A26; --ok: #1F9D55;
  --display: "Host Grotesk", -apple-system, "SF Pro Display", system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink);
  font: 400 13px/1.5 "Geist", -apple-system, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--forest); text-decoration: none; font-family: var(--display); font-weight: 500; }
a:hover { opacity: .7; }

/* header: Lise's face + name */
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.brand h1 { margin: 0; font: 500 17px/1.2 var(--display); letter-spacing: -0.02em; }
.brand span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }

/* capsule buttons (dextr.ai pills): white with a hairline, or filled forest for the main action */
button { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 44px;
  margin-top: 12px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  color: var(--ink); font: 500 15px/1 var(--display); letter-spacing: -0.01em; cursor: pointer;
  transition: background .15s, transform .08s; }
button:hover { background: var(--group); }
button:active { transform: scale(.985); }
button.primary, #signin { background: var(--forest); border-color: var(--forest); color: #fff; }
button.primary:hover, #signin:hover { background: #0B4A39; }

/* popup */
.popup { width: 320px; padding: 20px; }
.status { margin: 18px 0 14px; padding: 16px; border-radius: 16px; background: var(--group); }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px 0 12px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); font: 500 14px/1 var(--display); letter-spacing: -0.01em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.on .dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(31,157,85,.15); }
.rec .dot, .err .dot { background: var(--rec); }
.rec .dot { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(217,58,38,.35); } 50% { box-shadow: 0 0 0 6px rgba(217,58,38,0); } }
.status p { margin: 12px 2px 0; color: var(--muted); font-size: 13px; }
.foot { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; color: var(--muted); font-size: 12px; }

/* settings page */
.options { min-height: 100vh; display: grid; place-items: start center; padding: 72px 20px; background: var(--group); }
.card { width: 100%; max-width: 480px; padding: 32px; border-radius: 24px; background: var(--bg);
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 50px rgba(0,0,0,.06); }
.card .lead { margin: 22px 0 26px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.section { margin: 0 0 8px 4px; color: var(--muted); font: 500 12px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.account { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--group); font-size: 14px; color: var(--ink); }
.msg { min-height: 18px; margin: 10px 4px 0; font-size: 12.5px; color: var(--ok); }
.steps { margin: 18px 0 0; border-radius: 14px; background: var(--group); overflow: hidden; }
.steps ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: baseline; padding: 13px 16px; font-size: 13.5px; }
.steps li + li { border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--bg);
  border: 1px solid var(--line); display: inline-grid; place-items: center; font: 500 11px/1 var(--display); color: var(--muted);
  transform: translateY(-1px); }
input { width: 100%; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--group);
  font: inherit; font-size: 14px; color: var(--ink); outline: none; }
input:focus { border-color: var(--forest); background: var(--bg); box-shadow: 0 0 0 4px rgba(8,60,46,.10); }
.advanced { margin-top: 20px; color: var(--muted); font-size: 12.5px; }
.advanced summary { cursor: pointer; font-family: var(--display); }
.advanced input { margin-top: 12px; }
