/* HoraVya design tokens: the single source for the panel and the public page.
   --hv-* tokens are never overridden per business; business themes keep using
   --brand-* (which default to these tokens). */
:root {
  /* Brand colors */
  --hv-color-teal: #087F8C;
  --hv-color-teal-strong: #066B76;
  --hv-color-ink: #0B2F3A;
  --hv-color-line: #DDE8E9;
  --hv-color-mint: #EBF7F8;
  --hv-color-soft: #F6FAFA;
  --hv-color-text-secondary: #61747A;
  --hv-color-danger: #B91C1C;
  --hv-color-success: #166534;

  /* Spacing (4px grid) */
  --hv-space-1: 4px;
  --hv-space-2: 8px;
  --hv-space-3: 12px;
  --hv-space-4: 16px;
  --hv-space-5: 20px;
  --hv-space-6: 24px;
  --hv-space-8: 32px;

  /* Radii */
  --hv-radius-sm: 8px;
  --hv-radius-md: 12px;
  --hv-radius-lg: 18px;
  --hv-radius-pill: 999px;

  /* Shadows */
  --hv-shadow-card: 0 8px 30px rgba(11, 47, 58, .04);
  --hv-shadow-raised: 0 18px 50px rgba(8, 127, 140, .16);

  /* Type scale */
  --hv-font-size-xs: 12px;
  --hv-font-size-sm: 13px;
  --hv-font-size-base: 16px;
  --hv-font-size-lg: 19px;
  --hv-font-size-xl: 24px;
  --hv-line-height-body: 1.5;
}

/* Times and amounts: tabular digits keep columns of hours and prices aligned. */
.hv-tabular,
.slot-grid button,
.booking-time,
.booking-time-range,
.capacity-session-time,
.agenda-free-times,
.cash-hero > strong,
.marketing-plan > strong { font-variant-numeric: tabular-nums; }

/* Centro de ayuda de HoraVya. Same tokens and type as the marketing site (src/design-tokens.css,
   src/marketing/marketing.css), mobile first. The build prepends src/design-tokens.css. Contrast: body text #102A33 and secondary #4F6369
   on white are both above 7:1 and 4.5:1. */
@font-face{font-family:'Inter';font-style:normal;font-display:swap;font-weight:100 900;src:url('./inter-latin-wght-normal.woff2') format('woff2-variations'),url('./inter-latin-wght-normal.woff2') format('woff2')}
:root{--teal:var(--hv-color-teal);--teal-2:var(--hv-color-teal-strong);--ink:#102A33;--dark:var(--hv-color-ink);--line:var(--hv-color-line);--mint:var(--hv-color-mint);--soft:var(--hv-color-soft);--sub:#4F6369;--radius:14px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.6;color:var(--ink);background:#fff}
a{color:var(--teal)}
a:hover{color:var(--teal-2)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible,video:focus-visible{outline:3px solid var(--teal);outline-offset:3px}
img,video{max-width:100%;height:auto}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px 14px;border-radius:10px;z-index:10}
.skip:focus{left:8px}
.top{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1040px;margin:0 auto;padding:12px 16px;border-bottom:1px solid var(--line)}
.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.brand img{width:120px;height:auto;display:block}
.brand span{font-weight:800;color:var(--teal);border-left:1px solid var(--line);padding-left:10px}
.to-app{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;font-weight:800;text-decoration:none;font-size:15px}
main{max-width:1040px;margin:0 auto;padding:24px 16px 48px}
h1{font-size:30px;line-height:1.15;letter-spacing:-.02em;margin:8px 0 12px}
h2{font-size:22px;line-height:1.25;margin:32px 0 12px}
h3{font-size:18px;margin:0 0 6px}
.lead{font-size:19px;color:var(--sub);margin:0 0 20px}
.hero{padding:16px 0 8px}
.search{margin:16px 0}
.search label{display:block;font-weight:800;margin-bottom:6px}
.search div{display:flex;gap:8px}
.search input{flex:1;min-width:0;min-height:50px;padding:0 14px;border:2px solid #9DB7BB;border-radius:var(--radius);font:inherit;color:var(--ink);background:#fff}
.search button,.fb-buttons button,.fb-form button{min-height:50px;padding:0 18px;border:0;border-radius:var(--radius);background:var(--teal);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.search button:hover,.fb-form button:hover{background:var(--teal-2)}
.search.big input{min-height:58px;font-size:19px}
.search.big button{min-height:58px}
.doors{display:grid;gap:12px;margin:24px 0}
.door{display:block;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--soft);text-decoration:none;color:var(--ink)}
.door strong{display:block;font-size:19px;color:var(--teal)}
.door span{color:var(--sub)}
.door:hover{border-color:var(--teal)}
.chips{display:flex;flex-wrap:wrap;gap:10px}
.chip{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border-radius:999px;border:1px solid var(--line);background:var(--mint);font-weight:700;text-decoration:none;color:var(--dark)}
.chip:hover{border-color:var(--teal)}
.cat-grid{display:grid;gap:14px}
.cat{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff}
.cat p{color:var(--sub);margin:0 0 8px}
.article-list{list-style:none;padding:0;margin:0}
.article-list li{padding:10px 0;border-bottom:1px solid var(--line)}
.article-list li:last-child{border-bottom:0}
.article-list a{font-weight:700}
.article-list p{margin:4px 0 0;color:var(--sub);font-size:16px}
.crumbs{font-size:15px;color:var(--sub)}
.short{font-size:19px;padding:14px 16px;border-left:4px solid var(--teal);background:var(--mint);border-radius:0 12px 12px 0;margin:12px 0 20px}
.video{margin:0 0 12px}
.video video,.video iframe,.yt{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:var(--radius);background:var(--dark)}
.video.vertical video{aspect-ratio:auto;width:auto;max-width:100%;max-height:78vh;margin:0 auto}
.yt{position:relative;overflow:hidden}
.yt img{width:100%;height:100%;object-fit:cover;opacity:.85}
.yt .play{position:absolute;inset:0;margin:auto;width:72px;height:72px;border-radius:50%;background:var(--teal);color:#fff;font-size:30px;display:flex;align-items:center;justify-content:center}
.video figcaption{font-size:14px;color:var(--sub);margin-top:6px}
.transcript{border:1px solid var(--line);border-radius:var(--radius);padding:4px 14px;margin:0 0 8px}
.transcript summary{cursor:pointer;font-weight:800;min-height:44px;display:flex;align-items:center}
.steps{padding-left:24px}
.steps li{margin:0 0 20px}
.steps li p{margin:0 0 10px}
.steps img{display:block;border:1px solid var(--line);border-radius:12px;max-height:620px;width:auto}
.notes{background:var(--soft);border-radius:var(--radius);padding:4px 16px 8px;margin-top:8px}
.notes h2{font-size:19px;margin-top:14px}
.reviewed{font-size:14px;color:var(--sub);margin-top:24px}
.feedback{border-top:1px solid var(--line);margin-top:28px}
.fb-buttons{display:flex;gap:10px}
.fb-buttons button{min-width:96px}
.fb-buttons button[data-vote="no"]{background:#fff;color:var(--teal);border:2px solid var(--teal)}
.fb-buttons button:disabled{opacity:.55;cursor:default}
.fb-buttons button[aria-pressed="true"]{opacity:1;outline:3px solid var(--teal);outline-offset:2px}
.fb-form{display:grid;gap:8px;margin-top:14px;max-width:560px}
.fb-form label{font-weight:700}
.fb-form textarea,.fb-form input{width:100%;padding:12px;border:2px solid #9DB7BB;border-radius:12px;font:inherit;color:var(--ink)}
.fb-form button{justify-self:start}
.fb-privacy{font-size:14px;color:var(--sub);margin:0}
.fb-thanks{font-weight:700;color:var(--teal-2)}
.results p{color:var(--sub)}
.foot{border-top:1px solid var(--line);max-width:1040px;margin:0 auto;padding:24px 16px 40px;text-align:center}
.foot .closing{font-weight:800;font-size:19px;color:var(--dark)}
.foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 16px;margin:12px 0}
.foot nav a{display:inline-flex;min-height:44px;align-items:center}
@media(min-width:720px){
  main{padding:40px 24px 64px}
  h1{font-size:40px}
  .hero h1{font-size:48px}
  .doors{grid-template-columns:1fr 1fr}
  .cat-grid{grid-template-columns:1fr 1fr}
  .help-article,.feedback,.related{max-width:760px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
