/* ==========================================================================
   HUBU Identity & Mindset — stylesheet
   Colours follow the client's HUBU palette (navy, dark green, metallic gold,
   ivory, champagne) and the Plus Jakarta Sans font of www.thehubuteam.com,
   so visitors feel they are still on the main HUBU website.
   ========================================================================== */

:root {
  /* HUBU palette (client brief): ivory for space, navy for authority,
     green for depth, gold for distinction. Aim ~80% light neutrals,
     15% dark colours, 5% gold. */
  --ivory: #f7f4ec;
  --champagne: #e8dcc7;
  --navy: #101c2c;
  --navy-2: #1b2b40;
  --green: #173f35;
  --green-2: #0f2c25;
  --green-soft: rgba(23, 63, 53, 0.08);

  --bg: var(--ivory);
  --bg-alt: #efe7d8;          /* light champagne tint */
  --surface: #fffdf8;
  --surface-alt: #fbf8f1;
  --border: #e3d8c4;
  --border-strong: #cdbe9f;

  --text: var(--navy);
  --text-muted: #3d4757;
  --text-faint: #6b7380;

  --gold: #c5a15b;            /* fine lines, small emphasis */
  --gold-deep: #8a6a2b;       /* gold dark enough for text on ivory */
  --gold-soft: #f3ebda;

  --danger: #9b3b2b;

  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(16, 28, 44, 0.05), 0 10px 30px -14px rgba(16, 28, 44, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4 { font-family: var(--font-sans); color: var(--text); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }

a { color: var(--green); text-decoration-color: var(--gold); }
a:hover { color: var(--gold-deep); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 740px; }
@media (min-width: 640px) { .container { padding: 0 28px; } }

.eyebrow { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); margin-bottom: 0.6rem; }
.gold-text {
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.muted-light { opacity: 0.8; font-size: 0.9rem; }
.small { font-size: 0.85rem; color: var(--text-faint); }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font: 600 0.95rem/1.2 var(--font-sans);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background 150ms, border-color 150ms, color 150ms, transform 150ms;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-primary { background: var(--navy); color: var(--ivory); box-shadow: 0 6px 16px -8px rgba(16, 28, 44, 0.6); }
.btn-primary:hover:not(:disabled) { background: var(--green); color: var(--ivory); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover:not(:disabled) { border-color: var(--gold); color: var(--navy); }
.btn-light { background: var(--ivory); color: var(--navy); }
.btn-light:hover { background: var(--champagne); color: var(--navy); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.86rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }

.link-btn {
  background: none; border: none; cursor: pointer;
  font: 600 0.9rem var(--font-sans); color: var(--green);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold);
  padding: 0.4rem 0.2rem;
}
.link-btn:hover { color: var(--gold-deep); }
.text-link { font-weight: 600; text-decoration: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 1rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.brand-logo { width: 48px; height: 48px; display: grid; place-items: center; flex-shrink: 0; }
.brand-logo img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-title { font-weight: 700; font-size: 1.08rem; color: var(--text); }
.brand-subtitle { font-size: 0.66rem; letter-spacing: 0.14em; color: var(--text-faint); font-weight: 600; }

.header-nav { display: flex; align-items: center; gap: 0.2rem; margin-left: auto; }
.nav-link { font-size: 0.88rem; font-weight: 600; color: rgba(16, 28, 44, 0.72); text-decoration: none; white-space: nowrap; padding: 0.5rem 0.6rem; border-radius: var(--radius); }
.nav-link:hover { color: var(--green); }
.nav-link.active { color: var(--green); background: var(--green-soft); }
.nav-external { color: var(--text-faint); }
.header-cta { display: flex; align-items: center; gap: 0.5rem; }
.header-cta .btn { white-space: nowrap; }
.menu-btn { display: none; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.menu-btn span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

@media (max-width: 1200px) {
  .menu-btn { display: flex; }
  .header-cta { margin-left: auto; }
  .header-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem 16px 1rem;
    box-shadow: var(--shadow);
  }
  .menu-open .header-nav { display: flex; }
  .nav-link { padding: 0.8rem 0.75rem; font-size: 1rem; }
}
@media (max-width: 420px) {
  .brand-subtitle { display: none; }
  .header-cta .btn-sm { padding: 0.5rem 0.7rem; font-size: 0.8rem; }
}

/* ---------- Views ---------- */
.view { display: none; padding-bottom: 4rem; }
.view.active { display: block; }

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 2.5rem; background: radial-gradient(ellipse at 85% 0%, rgba(197, 161, 91, 0.13), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(232, 220, 199, 0.7), transparent 55%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 1rem; }
.hero .lead { font-size: 1.15rem; font-weight: 500; color: var(--text); margin-bottom: 1rem; max-width: 40rem; }
.hero p { color: var(--text-muted); margin-bottom: 0.8rem; max-width: 40rem; }
.tagline { font-weight: 700; color: var(--gold-deep) !important; margin-top: 1rem; }
.price-line { font-size: 0.98rem; color: var(--text) !important; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions.centered { justify-content: center; }
.hero-meta { margin-top: 1rem; font-size: 0.9rem; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: auto; }
.preview-card {
  position: relative; margin: -2.5rem 1.25rem 0 2.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px -18px rgba(16, 28, 44, 0.3); padding: 1.15rem 1.25rem 0.8rem;
}
.preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.8rem; }
.preview-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin: 0 !important; }
.preview-name { font-weight: 700; color: var(--text) !important; margin: 0.15rem 0 0 !important; font-size: 0.95rem; }
.preview-total { margin: 0 !important; text-align: right; line-height: 1; color: var(--text-faint) !important; }
.preview-total strong { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.preview-total span { font-size: 0.8rem; font-weight: 600; }
.preview-chip { display: inline-block; font-size: 0.72rem !important; font-weight: 700 !important; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 0.25rem 0.6rem; }
.preview-bars { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 0.4rem; }
.preview-bars li { display: grid; grid-template-columns: 9.5rem 1fr 2.6rem; align-items: center; gap: 0.6rem; font-size: 0.8rem; }
.pb-name { color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pb-track { height: 8px; border-radius: 999px; background: var(--bg-alt); overflow: hidden; }
.pb-fill { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--navy-2), var(--navy)); }
.pb-fill.pb-higher { background: linear-gradient(90deg, #2a5a4d, var(--green)); }
.pb-fill.pb-lower { background: var(--champagne); }
.pb-score { font-weight: 700; color: var(--text); text-align: right; }
@media (max-width: 860px) {
  .preview-card { margin: -1.75rem 0.75rem 0; }
}
@media (max-width: 420px) {
  .preview-bars li { grid-template-columns: 7.2rem 1fr 2.4rem; font-size: 0.74rem; }
}
.hero-plain .container > p, .hero-plain .prose { max-width: 48rem; }
.hero-plain h1 { max-width: 52rem; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem !important; }
.pill-row span { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--champagne); color: var(--navy); }

@media (max-width: 860px) {
  .hero { padding-top: 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Sections ---------- */
.section { margin-top: 4rem; }
.section-num { font-size: 0.8rem; font-weight: 800; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 0.3rem; }
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.6rem; max-width: 46rem; }
.section-lead { font-size: 1.08rem; font-weight: 600; color: var(--green); margin-bottom: 1.4rem; }
.section-foot { margin-top: 1.25rem; color: var(--text-muted); font-size: 0.95rem; max-width: 48rem; }
.prose { max-width: 48rem; color: var(--text-muted); }
.prose p { margin-bottom: 0.9rem; }
.pull { font-size: 1.12rem; font-weight: 700; color: var(--green) !important; margin-top: 1rem; max-width: 46rem; }
.pull-sm { font-weight: 700; color: var(--green); }
.h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.dimensions { list-style: none; display: grid; gap: 0.6rem; }
.dimensions li { display: flex; gap: 1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.2rem; }
.dimensions strong { font-size: 1.02rem; }
.dimensions em { font-style: normal; font-weight: 600; color: var(--green); margin-left: 0.35rem; }
.dimensions p { color: var(--text-muted); font-size: 0.93rem; margin-top: 0.15rem; }
.dim-num { font-weight: 800; color: var(--gold); font-size: 1.05rem; min-width: 2rem; }

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.option-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; box-shadow: var(--shadow); }
.option-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.option-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.option-card h3 { font-size: 1.35rem; }
.option-price { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.option-price span { font-size: 0.9rem; font-weight: 600; color: var(--text-faint); }
.option-card > p { color: var(--text-muted); }
.option-ideal { font-size: 0.9rem; font-style: italic; flex: 1; }
.option-card .btn { margin-top: 0.5rem; }
@media (max-width: 760px) { .options-grid { grid-template-columns: 1fr; } }

.ticks { list-style: none; display: grid; gap: 0.35rem; margin: 0.4rem 0; }
.ticks li { position: relative; padding-left: 1.6rem; color: var(--text-muted); }
.ticks li::before { content: ""; position: absolute; left: 0.1rem; top: 0.45em; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%239e712e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.75rem no-repeat; }

.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.value-card h3 { font-size: 1.02rem; margin-bottom: 0.4rem; color: var(--green); }
.value-card p { font-size: 0.93rem; color: var(--text-muted); }

.value-list { display: grid; gap: 1rem; }
.value-list article { display: flex; gap: 1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.value-list h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.value-sub { font-weight: 600; color: var(--green); margin-bottom: 0.6rem; }
.value-list p { color: var(--text-muted); margin-bottom: 0.6rem; }
.value-list blockquote { border-left: 3px solid var(--gold); padding: 0.4rem 0 0.4rem 1rem; margin: 0.4rem 0 0.8rem; font-weight: 600; color: var(--text); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { display: flex; gap: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.15rem; }
.steps p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.25rem; }
.steps-list { grid-template-columns: 1fr; }
.step-num { min-width: 32px; height: 32px; padding: 0 0.4rem; border-radius: 999px; flex-shrink: 0; background: var(--gold-soft); color: var(--gold-deep); font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.feature-band {
  margin-top: 2rem; padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%); color: var(--ivory);
  display: flex; gap: 2rem; align-items: center; justify-content: space-between;
}
.feature-band h3 { color: var(--ivory); font-size: 1.45rem; margin-bottom: 0.6rem; }
.feature-band p { color: rgba(247, 244, 236, 0.85); margin-bottom: 0.6rem; max-width: 46rem; }
.feature-band .eyebrow { color: var(--gold); }
.feature-band .btn { flex-shrink: 0; }
@media (max-width: 760px) { .feature-band { flex-direction: column; align-items: flex-start; padding: 1.5rem; } }

.info-panel { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.5rem; margin-top: 1rem; }
.info-panel h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.info-panel p { color: var(--text-muted); margin-bottom: 0.6rem; }
.info-panel .btn { margin-top: 0.5rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; align-items: start; }
.two-col p { color: var(--text-muted); margin-bottom: 0.7rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.price-table { width: 100%; max-width: 640px; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { text-align: left; background: var(--navy); color: var(--ivory); padding: 0.8rem 1rem; font-size: 0.88rem; }
.price-table td { padding: 0.8rem 1rem; border-top: 1px solid var(--border); }
.price-table td:last-child { font-weight: 700; color: var(--navy); }

.faq { display: grid; gap: 0.6rem; max-width: 52rem; }
.faq-main { margin-top: 2rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.2rem; scroll-margin-top: 90px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0.85rem; font-size: 1.3rem; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--text-muted); padding-bottom: 0.8rem; }

.cta-band { margin-top: 4rem; text-align: center; padding: 3rem 1.5rem; border-radius: var(--radius-lg); background: var(--bg-alt); border: 1px solid var(--border); border-top: 2px solid var(--gold); }
.cta-band h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); max-width: 40rem; margin: 0 auto 0.75rem; }
.cta-band p { color: var(--text-muted); max-width: 42rem; margin: 0 auto 0.75rem; }
.cta-lead { font-weight: 600; color: var(--text) !important; font-size: 1.08rem; }
.motto { margin-top: 1.5rem !important; font-weight: 700; color: var(--green) !important; }

/* ---------- Testimonial carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 0.25rem 0.1rem 0.5rem; border-radius: var(--radius-lg);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.slide {
  flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start;
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.slide img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--navy);
  font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
  display: grid; place-items: center; padding-bottom: 4px;
}
.carousel-btn:hover { border-color: var(--gold); }
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 999px; border: none; padding: 0; background: var(--border-strong); cursor: pointer; transition: width 200ms, background 200ms; }
.carousel-dot.active { width: 26px; background: var(--navy); }
@media (max-width: 900px) { .slide { flex-basis: calc((100% - 1rem) / 2); } }
@media (max-width: 1180px) { .carousel-prev { left: 6px; } .carousel-next { right: 6px; } }
@media (max-width: 560px) {
  .slide { flex-basis: 86%; }
  .carousel-btn { display: none; }   /* swipe on phones */
}
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }

/* ---------- Cards & forms ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; margin-top: 2rem; box-shadow: var(--shadow);
}
@media (max-width: 640px) { .card { padding: 1.4rem; margin-top: 1.25rem; } }
.card-title { font-size: 1.75rem; margin-bottom: 0.5rem; }

.info-box { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.15rem; display: grid; gap: 0.5rem; }
.info-box p { font-size: 0.9rem; color: var(--text-muted); }
.info-box strong { color: var(--text); }

.form { display: grid; gap: 1.1rem; margin-top: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { grid-template-columns: 1.3fr 0.7fr 1fr; }
@media (max-width: 600px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.35rem; align-content: start; }
.field-label { font-weight: 600; font-size: 0.9rem; color: var(--text); }
.opt { font-weight: 400; color: var(--text-faint); }
.field-hint { font-size: 0.8rem; color: var(--text-faint); }
.field-error { font-size: 0.82rem; font-weight: 600; color: var(--danger); }
.field input[aria-invalid="true"],
.field input[aria-invalid="true"]:focus { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(155, 59, 43, 0.14); }
.field input, .field select, .field textarea {
  font: 400 1rem var(--font-sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 0.7rem 0.85rem; width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

.report-choice { border: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.report-choice legend { margin-bottom: 0.5rem; }
.choice { display: flex; gap: 0.7rem; align-items: flex-start; padding: 1rem; border: 1.5px solid var(--border); border-radius: var(--radius); cursor: pointer; background: var(--surface-alt); }
.choice:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.choice input { margin-top: 0.3rem; accent-color: var(--navy); width: 18px; height: 18px; flex-shrink: 0; }
.choice span { display: grid; gap: 0.15rem; }
.choice em { font-style: normal; font-weight: 700; color: var(--gold-deep); font-size: 0.9rem; }
.choice small { color: var(--text-muted); font-size: 0.82rem; line-height: 1.4; }
@media (max-width: 600px) { .report-choice { grid-template-columns: 1fr; } }

.check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.92rem; cursor: pointer; }
.check input { margin-top: 0.25rem; width: 18px; height: 18px; accent-color: var(--navy); flex-shrink: 0; }
.form-error { color: var(--danger); font-size: 0.88rem; font-weight: 600; }
.form-actions { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

.notice { background: var(--gold-soft); border: 1px solid #e3d3b1; border-radius: var(--radius); padding: 1rem 1.1rem; margin-top: 1rem; font-size: 0.92rem; }
.notice-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; margin-top: 0.5rem; }

/* ---------- Assessment ---------- */
.progress { margin-top: 1.75rem; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-faint); margin-bottom: 0.4rem; }
.progress-track { height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 250ms; }

.question-card { margin-top: 1rem; }
.domain-tag { display: flex; align-items: center; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); }
.domain-question { font-size: 1rem; font-style: italic; color: var(--text-faint); margin-top: 0.25rem; }
.question-text { font-size: clamp(1.25rem, 3vw, 1.55rem); font-weight: 600; margin: 1.25rem 0 1.5rem; }
.area-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-right: 0.5rem; }

.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.5rem; }
.scale-option {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 0.9rem 0.4rem; border-radius: var(--radius);
  background: var(--surface-alt); border: 1.5px solid var(--border);
  cursor: pointer; font-family: var(--font-sans); color: var(--text);
  transition: border-color 120ms, background 120ms;
}
.scale-option:hover { border-color: var(--gold); background: #fff; }
.scale-option.selected { border-color: var(--navy); background: var(--navy); color: var(--ivory); }
.scale-num { font-weight: 800; font-size: 1.15rem; }
.scale-label { font-size: 0.78rem; text-align: center; line-height: 1.25; }
@media (max-width: 560px) {
  .scale { grid-template-columns: 1fr; }
  .scale-option { flex-direction: row; justify-content: flex-start; gap: 0.8rem; padding: 0.75rem 1rem; }
  .scale-label { font-size: 0.92rem; text-align: left; }
  .hide-sm { display: none; }
}

.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 1.5rem; gap: 0.5rem; }

.dots { display: flex; flex-wrap: wrap; gap: 0.35rem; justify-content: center; margin-top: 1.25rem; }
.dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--surface);
  font: 600 0.72rem var(--font-sans); color: var(--text-faint); cursor: pointer;
}
.dot.answered { background: var(--champagne); border-color: var(--gold); color: var(--navy); }
.dot.current { background: var(--navy); border-color: var(--navy); color: var(--ivory); }

/* ---------- Report toolbar ---------- */
.report-toolbar { justify-content: space-between !important; align-items: center; }
.toolbar-left { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 3px; }
.toolbar-right { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: auto; }
.seg { border: none; background: none; font: 600 0.85rem var(--font-sans); color: var(--text-muted); padding: 0.45rem 0.9rem; border-radius: 9px; cursor: pointer; }
.seg.active { background: var(--navy); color: var(--ivory); }

/* ---------- Report preview & paywall ---------- */
.preview-wrap { position: relative; max-height: 760px; overflow: hidden; border-radius: 6px; }
.preview-wrap .hreport { gap: 1rem; }
.preview-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 340px; pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 244, 236, 0) 0%, rgba(247, 244, 236, 0.85) 45%, var(--bg) 85%);
}
.paywall {
  position: relative; z-index: 1; margin: -6rem auto 0; max-width: 560px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 2rem 1.75rem 1.5rem;
}
.paywall h2 { font-size: 1.45rem; margin-bottom: 0.6rem; }
.paywall > p { color: var(--text-muted); margin-bottom: 0.8rem; }
.paywall-price { font-size: 2.2rem; font-weight: 800; color: var(--navy) !important; margin: 0.25rem 0 0.9rem !important; }
.paywall .btn-lg { width: 100%; max-width: 360px; }
.paywall-meta { font-size: 0.82rem; color: var(--text-faint) !important; margin-top: 0.6rem; }
.paywall-status { min-height: 1.4em; font-size: 0.9rem; font-weight: 600; color: var(--green) !important; margin: 0.5rem 0 0.3rem !important; }
.paywall-status.is-error { color: var(--danger) !important; }
.paywall-test { margin-top: 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius); background: var(--gold-soft); border: 1px dashed var(--gold); font-size: 0.83rem; color: var(--text-muted); text-align: left; }
.paywall-test strong { display: block; color: var(--navy); margin-bottom: 0.15rem; }
.paywall-test code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700; color: var(--navy); }
.pay-flash { margin-bottom: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); background: var(--green-soft); border: 1px solid rgba(23, 63, 53, 0.25); border-left: 4px solid var(--green); color: var(--text); }
@media (max-width: 640px) {
  .preview-wrap { max-height: 620px; }
  .paywall { margin-top: -4rem; padding: 1.5rem 1.1rem 1.25rem; }
}

/* ---------- Footer (mirrors thehubuteam.com) ---------- */
.app-footer { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%); color: rgba(247, 244, 236, 0.72); border-top: 2px solid var(--gold); padding: 3rem 0 1.25rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-grid h4 { color: var(--ivory); font-size: 0.98rem; margin-bottom: 0.8rem; }
.footer-grid a { display: block; color: rgba(247, 244, 236, 0.72); text-decoration: none; margin-bottom: 0.45rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { margin-bottom: 0.5rem; }
.brand-footer .brand-title { color: var(--ivory); font-size: 1.25rem; }
.brand-footer .brand-logo { background: var(--ivory); border-radius: 50%; padding: 3px; width: 52px; height: 52px; }
.brand-footer { margin-bottom: 0.9rem !important; }
.footer-motto { color: var(--gold); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(247, 244, 236, 0.14); font-size: 0.8rem; color: rgba(247, 244, 236, 0.55); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reports (Integrated Master Edition v2.2 design tokens) ----------
   A4 portrait; content 172 mm wide (19 mm side margins); thin gold border
   inset 8 mm; Aptos 26/16/11.5/10/8.7/7.5 pt; deep brown #482414, gold
   #BC8A31, ivory #FBF7EF, ink #24211E on white paper. Aptos is used when
   installed; otherwise a close system sans-serif. */
.report-container { max-width: 900px; }
.report-toolbar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; padding: 1.25rem 0 0.75rem; }
.report-status { margin-bottom: 1rem; padding: 0.8rem 1rem; border-radius: var(--radius); background: #fbf7ef; border: 1px solid #e7d9bd; border-left: 4px solid #bc8a31; font-size: 0.92rem; color: #24211e; }

.hreport {
  --h-brown: #482414;
  --h-gold: #bc8a31;
  --h-ivory: #fbf7ef;
  --h-ink: #24211e;
  --h-rule: #e9dfcc;
  --h-green: #3c5a4b;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem;
  font-family: Aptos, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--h-ink);
  font-size: 10pt; line-height: 1.15;
}
.hreport h1, .hreport h2, .hreport h3 { font-family: inherit; letter-spacing: 0; }

.h-page {
  position: relative; background: #fff;
  border: 0.6pt solid var(--h-gold);
  box-shadow: var(--shadow);
  padding: 11mm 13mm 9mm;
  display: flex; flex-direction: column; min-height: 240mm;
}
.h-run { text-align: right; font-size: 7.5pt; font-weight: 700; color: var(--h-brown); letter-spacing: 0.02em; margin-bottom: 7mm; }
.h-gold { color: var(--h-gold); }
.h-body { flex: 1; }
.h-foot { margin-top: 6mm; padding-top: 2mm; border-top: 0.5pt solid #b9b1a3; text-align: center; font-size: 7.5pt; color: #4a4540; letter-spacing: 0.02em; }
.h-num { color: var(--h-gold); }

.h-body > p, .h-body li, .h-box p, .h-lines p { font-size: 10pt; line-height: 1.15; color: var(--h-ink); }
.h-body > p { margin: 0 0 5pt; }

.h-kicker { font-size: 9pt; color: var(--h-gold) !important; text-transform: uppercase; letter-spacing: 0.02em; margin: 0 0 6pt !important; }
.h-kicker-green { color: var(--h-green) !important; font-weight: 700; margin-top: 8pt !important; }
.h-title { font-size: 16pt; font-weight: 400; color: var(--h-ink); padding-bottom: 6pt; border-bottom: 1pt solid var(--h-gold); margin: 0 0 8pt; }
.h-title-bold { font-weight: 700; color: var(--h-brown); border-bottom: none; padding-bottom: 0; }
.h-sub { font-size: 11.5pt; font-weight: 400; color: var(--h-ink); margin: 8pt 0 4pt; }
.h-sub.h-bold { font-weight: 700; color: var(--h-brown); }
.h-upper { text-transform: uppercase; }
.h-brown { color: var(--h-brown); }
.h-strong { font-weight: 700; }
.h-small { font-size: 7.5pt !important; }
.h-note { font-size: 7.5pt !important; color: #4a4540 !important; margin-top: 4pt !important; }
.h-gold-label { color: var(--h-gold); font-weight: 700; letter-spacing: 0.02em; }
.h-green-label { color: var(--h-green); font-weight: 700; letter-spacing: 0.02em; }
.h-rule { border: none; border-top: 1pt solid var(--h-gold); margin: 10pt 0 8pt; }
.h-center { text-align: center; }

.h-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 3pt 0 6pt; font-size: 8.7pt; }
.h-table th { background: var(--h-brown); color: #fff; font-weight: 700; text-align: left; text-transform: uppercase; padding: 1.7mm; border: 0.5pt solid var(--h-brown); }
.h-table td { padding: 1.7mm; border-bottom: 0.5pt solid var(--h-rule); vertical-align: middle; color: var(--h-ink); }
.h-table tbody tr:nth-child(odd) td { background: var(--h-ivory); }
.h-table tbody tr:nth-child(even) td { background: #fff; }
.h-table-fill td { height: 9mm; }
.h-table-domain td:first-child { font-weight: 400; }

.h-box { background: var(--h-ivory); border: 0.5pt solid #e7d9bd; padding: 2.4mm 3mm; margin: 6pt 0; }
.h-box p { margin: 0; }
.h-box-title { font-weight: 700; color: var(--h-brown) !important; margin-bottom: 1.5pt !important; }
.h-list { padding-left: 4.5mm; margin: 2pt 0 6pt; }
.h-list li { margin-bottom: 2pt; }

.h-fill { font: inherit; font-size: 8.7pt; color: var(--h-ink); border: none; border-bottom: 0.6pt solid #6f6a63; background: transparent; width: 100%; padding: 0.5mm 0.6mm; }
.h-fill:focus { outline: none; border-bottom-color: var(--h-gold); background: #fffdf6; }
.h-n { margin-right: 1mm; }
.h-table-fill td:first-child .h-fill { width: calc(100% - 4mm); }
.h-fill-inline { width: 30mm; font-size: 10pt; }
.h-fill-wide { width: 110mm; max-width: 70%; font-size: 10pt; }
.h-fill-line { width: auto; min-width: 50mm; flex: 1; font-size: 10pt; }
.h-lines p { display: flex; gap: 2mm; align-items: baseline; margin: 0 0 4pt; }
.h-lines strong { white-space: nowrap; }
.h-choose { display: flex; gap: 2mm; align-items: baseline; }
.h-reflect { border-bottom: 1pt solid var(--h-gold); padding-bottom: 3pt; }
.h-step { margin: 0 0 3pt !important; }
.h-step strong { color: var(--h-brown); }
.h-sign { margin-top: 6pt; padding-top: 5pt; border-top: 1pt solid var(--h-gold); }
.h-sign p { margin: 0 0 2pt; }
.h-flag { margin: 0 0 4mm; padding: 1.5mm 3mm; text-align: center; background: var(--h-ivory); border: 0.6pt dashed var(--h-gold); font-size: 8pt; font-weight: 700; color: #7a5e26; }

/* Appendix: statements and responses */
.h-table-qa { font-size: 8.2pt; }
.h-table-qa td { vertical-align: top; padding: 1.3mm 1.6mm; }
.h-table-qa tbody tr td { background: #fff !important; }
.h-table-qa .h-qa-domain td { background: var(--h-ivory) !important; border-top: 0.8pt solid var(--h-gold); border-bottom: 0.5pt solid var(--h-gold); padding: 1.6mm; font-weight: 700; color: var(--h-brown); }
.h-qa-domain td { display: table-cell; }
.h-qa-domain span { display: inline-block; }
.h-qa-score { float: right; font-weight: 400; color: var(--h-ink); font-size: 7.8pt; }
.h-qa-num { color: var(--h-brown); font-weight: 700; }
.h-qa-pts { text-align: center; font-weight: 700; }
.h-qa-blank { color: #8a837a; }
.h-scale { font-size: 8.5pt !important; background: var(--h-ivory); border: 0.5pt solid #e7d9bd; padding: 1.6mm 2.4mm; }

/* Cover and summary title block */
.h-cover-logo { width: 46mm; height: 46mm; margin: 2mm auto 7mm; }
.h-sum-logo { width: 21mm; height: 21mm; margin: 0 auto 2mm; }
.h-cover-title { font-size: 26pt; font-weight: 700; color: var(--h-brown); text-align: center; margin: 0 0 4pt; }
.h-cover-sub { font-size: 11.5pt !important; font-weight: 700; text-align: center; color: var(--h-ink) !important; margin: 0 0 8pt !important; }
.h-sum .h-cover-sub { color: var(--h-green) !important; }
.h-cover-name { font-size: 16pt !important; font-weight: 700; color: var(--h-brown) !important; margin: 0 0 6pt !important; }
.h-cover-foot { margin-top: 16mm; }
.h-cover-foot p { margin: 0 0 4pt; }
.h-provisional { font-style: italic; color: #5a534b !important; }

/* Pyramid art page: whole original image, centred, never cropped */
.h-pyramid { display: flex; justify-content: center; align-items: center; height: 100%; }
.h-pyramid img { width: 100%; max-width: 169mm; height: auto; }

@media (max-width: 640px) {
  .h-page { padding: 6mm 4.5mm 5mm; min-height: 0; }
  .hreport { font-size: 9.5pt; }
  .h-table { font-size: 8pt; }
  .h-table th, .h-table td { padding: 1.2mm; }
  .h-lines p { flex-wrap: wrap; }
  .h-cover-logo { width: 34mm; height: 34mm; }
}

/* ==========================================================================
   PRINT / PDF — every report page is one A4 sheet (210 × 297 mm) with the
   gold border inset 8 mm and header/footer inside it, as in the approved
   samples. Content area is 172 mm wide (19 mm side margins).
   ========================================================================== */
@page { size: A4; margin: 0; }

@media print {
  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  .app-header, .app-footer, .no-print, .view:not(#view-report) { display: none !important; }
  #view-report { display: block !important; padding: 0; }
  .container, .report-container { max-width: none; padding: 0; }

  .hreport { display: block; }
  .h-page {
    width: 210mm; height: 297mm; min-height: 0; overflow: hidden;
    border: none; box-shadow: none;
    padding: 11mm 19mm 8mm;
    break-after: page; page-break-after: always;
  }
  .h-page:last-child { break-after: auto; page-break-after: auto; }
  .h-page::before { content: ""; position: absolute; inset: 8mm; border: 0.6pt solid #bc8a31; pointer-events: none; }
  .h-run { margin-bottom: 8mm; }
  .h-foot { position: absolute; left: 19mm; right: 19mm; bottom: 11mm; margin: 0; }
  .h-fill { border-bottom-color: #6f6a63; }
  .h-pyramid { height: calc(297mm - 50mm); }
  .h-pyramid img { max-height: calc(297mm - 52mm); width: auto; max-width: 169mm; }
}

/* ---------- Parents' guide download ---------- */
.guide-card {
  margin-top: 2rem; padding: 1.5rem 1.75rem; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  display: flex; gap: 1.5rem; align-items: center;
}
.guide-icon { width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold-deep); }
.guide-copy { flex: 1; }
.guide-copy h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.guide-copy p { color: var(--text-muted); max-width: 40rem; }
.guide-meta { font-size: 0.8rem; color: var(--text-faint) !important; margin-top: 0.35rem; }
.guide-card .btn { flex-shrink: 0; }
@media (max-width: 760px) { .guide-card { flex-direction: column; align-items: flex-start; padding: 1.4rem; } }

/* ---------- Founder ---------- */
.founder-layout { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; margin-top: 2.5rem; align-items: start; }
.founder-card {
  position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow); text-align: center;
}
.founder-photo {
  display: block; width: 160px; height: 160px; margin: 0 auto 1rem; border-radius: 50%;
  object-fit: cover; object-position: 50% 25%; background: var(--champagne);
  box-shadow: 0 0 0 4px var(--surface), 0 0 0 5px var(--gold);
}
.founder-name { font-weight: 800; font-size: 1.15rem; }
.founder-role { color: var(--text-faint); font-size: 0.88rem; margin-top: 0.2rem; }
.founder-facts { list-style: none; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: 0.55rem; text-align: left; }
.founder-facts li { font-size: 0.88rem; color: var(--text-muted); padding-left: 1.1rem; position: relative; }
.founder-facts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.founder-intro { font-size: 1.12rem; color: var(--text); }
.founder-h { font-size: 1.35rem; color: var(--text); margin: 0.5rem 0 0.75rem; }
.founder-quote { margin: 2rem 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--gold); background: var(--gold-soft); border-radius: 0 var(--radius) var(--radius) 0; max-width: 48rem; }
.founder-quote p { font-size: 1.2rem; font-weight: 600; color: var(--green); line-height: 1.5; }
.founder-quote cite { display: block; margin-top: 0.6rem; font-style: normal; font-size: 0.82rem; color: var(--gold-deep); font-weight: 600; }
.founder-body .info-panel { max-width: 48rem; margin-top: 1.5rem; }
@media (max-width: 860px) {
  .founder-layout { grid-template-columns: 1fr; gap: 2rem; margin-top: 1.5rem; }
  .founder-card { position: static; }
}

/* ---------- Feedback ---------- */
.card-lead { color: var(--text-muted); max-width: 40rem; }
.role-choice { border: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.role-choice legend { margin-bottom: 0.5rem; }
.role-choice .choice { align-items: center; }
.role-choice .choice input { margin-top: 0; }
@media (max-width: 480px) { .role-choice { grid-template-columns: 1fr; } }
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feedback-done { margin-top: 1.25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--green-soft); border: 1px solid rgba(23, 63, 53, 0.15); }
.feedback-done:focus { outline: none; }
.feedback-done h2 { font-size: 1.3rem; color: var(--green); margin-bottom: 0.5rem; }
.feedback-done p { color: var(--text-muted); margin-bottom: 0.5rem; }
.fb-public h2 { font-size: 1.15rem; margin-bottom: 0.75rem; }
.fb-public-list { list-style: none; display: grid; gap: 0.65rem; max-height: 24rem; overflow-y: auto; }
.fb-public-list:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fb-public-item { padding: 0.9rem 1rem; background: var(--surface-alt); border: 1px solid var(--border); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.fb-public-item blockquote { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.55; }
.fb-public-item p { margin-top: 0.45rem; font-size: 0.86rem; color: var(--text-muted); }

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 18px -4px rgba(16, 28, 44, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -6px rgba(16, 28, 44, 0.45); }
.whatsapp-float:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 600px) { .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } }

/* ---------- "Email app didn't open?" note ---------- */
.email-note {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70;
  width: min(440px, calc(100% - 32px));
  padding: 1rem 1.15rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
}
.email-note[hidden] { display: none; }
.email-note p { margin: 0 0 0.75rem; color: var(--text-muted); font-size: 0.92rem; }
.email-note strong { display: block; margin-top: 0.2rem; color: var(--text); overflow-wrap: anywhere; }
.email-note-actions { display: flex; align-items: center; gap: 1rem; }
@media (max-width: 600px) { .email-note { bottom: 84px; } }

@media print { .whatsapp-float, .email-note { display: none !important; } }
