/* Tokens y base compartidos por la superficie pública y el panel.
   Colores y tipografía tomados de /panel/css/tokens.css (sistema de diseño Mejores Amigos). */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20C0; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF, U+20A0-20C0; }

:root {
  --cream: #fdf9f2; --ink: #02312a; --mint: #05ab87;
  --bg: var(--cream); --surface: #fff; --surface-sunken: #f6f1e7;
  --text: var(--ink); --text-muted: #4f6660; --text-subtle: #7d8f8a;
  --accent: var(--mint); --accent-hover: #04967a; --accent-soft: #e2f5ef;
  --star: #f5b83d; --success: #0f9e6e; --danger: #cf4b3a; --danger-soft: #fbe9e6;
  --line: #e9e2d4; --line-strong: #d9cfbc;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 18px; --r-pill: 999px;
  --shadow-md: 0 1px 2px rgba(2,49,42,.05), 0 6px 18px rgba(2,49,42,.07);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.5 var(--font-body); }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.025em; line-height: 1.1; margin: 0 0 .4em; }
a { color: inherit; }
img { max-width: 100%; }
.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: var(--r-pill); background: var(--accent); color: #fff; font: 600 16px var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .16s; }
.btn:hover { background: var(--accent-hover); }
.btn:focus-visible, input:focus-visible { outline: 3px solid rgba(5,171,135,.35); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--surface-sunken); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); }
.flash { padding: 12px 16px; border-radius: var(--r-md); margin-bottom: 16px; font-weight: 500; }
.flash-success { background: var(--accent-soft); color: var(--ink); }
.flash-error { background: var(--danger-soft); color: #8a2a1e; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-md);
  background: #fff; color: var(--text); font: 400 16px var(--font-body); }
label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 6px; }
.stack > * + * { margin-top: 12px; }
