/* Xenid Aanvraagassistent reference, recorded 21 September 2026.
   Main page/section headings follow H1/H2; compact app/form panels use
   the reference's H3 scale. Inter is a local preference, not a webfont. */
@font-face { font-family: Poppins; src: url('./fonts/poppins-400.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url('./fonts/poppins-600.woff2') format('woff2'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url('./fonts/poppins-700.woff2') format('woff2'); font-style: normal; font-weight: 700; font-display: swap; }
@font-face { font-family: Poppins; src: url('./fonts/poppins-800.woff2') format('woff2'); font-style: normal; font-weight: 800; font-display: swap; }

:root {
  --xenid-public-h1: clamp(2.55rem, 3.5vw, 3.7rem);
  --xenid-public-h2: clamp(2.15rem, 3.6vw, 3.65rem);
  --font-body: Inter, Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: Poppins, Inter, Arial, sans-serif;
  --sidebar-width: 280px;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: normal;
}
body { font-family: var(--font-body); font-size: 1rem; -webkit-font-smoothing: antialiased; }
p { line-height: 1.8; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; word-spacing: .1em; }
h1, .page-head h1, .client-intro h1, .success-card h1 {
  font-family: var(--font-heading);
  font-size: var(--xenid-public-h1);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
h2, .hero h2 {
  font-family: var(--font-heading);
  font-size: var(--xenid-public-h2);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
.hero h2 em { font-family: inherit; font-weight: 700; font-style: normal; }
h3 { font-size: .9rem; line-height: 1.55; letter-spacing: normal; }
.page-head { flex-wrap: wrap; }
.page-head > div:first-child { min-width: 0; flex: 1 1 380px; }
.page-head p, .client-intro p { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.78; }
.client-intro { max-width: 700px; }
.client-intro p { max-width: 580px; }
.hero { padding: 32px; min-height: 280px; }
.hero-content { width: 74%; }
.hero p { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; max-width: 430px; margin: 18px 0 20px; }
.hero-art { top: auto; bottom: 18px; right: 12px; width: 260px; height: auto; }
.eyebrow, .hero .eyebrow, .next-card .eyebrow, .message-preview .eyebrow {
  font-family: var(--font-heading); font-size: .74rem; font-weight: 800; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase;
}
.hero .eyebrow { margin-bottom: 18px; }

/* Navigation and controls. Extra sidebar space accommodates the agreed size. */
.sidebar { width: var(--sidebar-width); }
.main-shell { margin-left: var(--sidebar-width); }
.toast { left: calc(50% + var(--sidebar-width) / 2); }
.nav a, .nav a.active { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; line-height: 1.4; }
.nav a { padding: 12px; }
.nav a > span:not(.nav-count) { min-width: 0; }
.nav-count { font-family: var(--font-body); font-size: .75rem; line-height: 1.5; }
.brand-word, .client-brand strong { font-family: var(--font-heading); font-weight: 700; }
.brand-word { font-size: 1.5rem; }
.brand-by { font-family: var(--font-heading); font-size: .6rem; line-height: 1.5; }
.workspace strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.45; }
.workspace small, .profile small { font-size: .73rem; line-height: 1.6; }
.workspace { gap: 9px; }
.profile strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.5; }
.nav-label { font-family: var(--font-heading); font-size: .65rem; font-weight: 800; line-height: 1.5; }
.breadcrumb { font-size: .8rem; line-height: 1.5; }
.btn, .hero .btn, .btn-small, .page-head > .actions .btn {
  font-family: var(--font-heading); font-size: .78rem; font-weight: 800;
  line-height: 1.2; letter-spacing: .02em; text-transform: uppercase;
  min-height: 44px; white-space: normal; text-align: center;
}
.btn { padding: 12px 16px; }
.btn-small, .hero .btn { padding: 10px 12px; }
.text-link, .panel-head .text-link, .back-link, .sidebar-tip a {
  font-family: var(--font-heading); font-size: .82rem; font-weight: 700; line-height: 1.5;
}
.panel-foot { font-family: var(--font-heading); font-size: .82rem; font-weight: 700; line-height: 1.5; }
.tab { font-family: var(--font-heading); font-size: .82rem; font-weight: 600; line-height: 1.5; }
.tab span { font-family: var(--font-body); font-size: .73rem; }
.demo-pill { font-family: var(--font-body); font-size: .73rem; line-height: 1.5; }
.badge { font-family: var(--font-body); font-size: .75rem; line-height: 1.5; }
.badge .icon { width: 13px; height: 13px; }
.sidebar-tip strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.55; }
.sidebar-tip p { font-family: var(--font-body); font-size: .73rem; line-height: 1.8; }
.stat-name { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.55; }
.stat-number { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1.2; margin-top: 8px; }
.stat-note { font-family: var(--font-body); font-size: .73rem; line-height: 1.7; margin-top: 6px; }
.stat { min-width: 0; }
.stat > div:last-child { min-width: 0; }
.stat-icon { flex-shrink: 0; }

/* Form-panel headings retain the reference's compact H3 size. */
.panel-head h2, .flow-intro h2, .form-section h2, .client-form h2 {
  font-family: var(--font-heading); font-size: .9rem; font-weight: 700;
  line-height: 1.5; letter-spacing: normal; text-transform: none;
}
.panel-head { align-items: flex-start; }
.panel-head .text-link { white-space: normal; text-align: right; }
.panel-head p, .flow-intro p { font-family: var(--font-body); font-size: .73rem; line-height: 1.8; }
.row-info strong, .appointment-mini h3 { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.5; }
.row-info p, .appointment-mini p { font-family: var(--font-body); font-size: .73rem; line-height: 1.7; }
.row-end small { font-size: .72rem; line-height: 1.5; }
.row-end { flex-shrink: 0; }
.request-row { gap: 11px; }
.request-avatar { font-size: .76rem; }
.day { font-family: var(--font-body); font-size: .74rem; line-height: 1.5; }
.day strong { font-family: var(--font-heading); font-size: .86rem; line-height: 1.4; }
.appointment-time { font-size: .86rem; line-height: 1.5; }
.appointment-mini .badge { font-size: .7rem; white-space: normal; }
.flow-step strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.5; }
.flow-step small { font-size: .73rem; line-height: 1.7; }
.flow-steps { gap: 8px; }
.flow-intro { max-width: 170px; }
.flow-step > span { flex-shrink: 0; }
.card-top small, .card-meta, .card-bottom { font-size: .75rem; line-height: 1.6; }
.request-card h2 { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; line-height: 1.55; letter-spacing: normal; text-transform: none; }
.request-card p { font-size: 1rem; line-height: 1.8; }
.card-bottom { font-family: var(--font-heading); font-weight: 600; }
.description, .next-card p, .success-card p, .message-preview p, .empty p { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; }
.next-card h2, .empty h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.next-card .eyebrow { margin-bottom: 15px; }
.data-label { font-size: .62rem; line-height: 1.6; }
.data-value { font-size: .76rem; line-height: 1.7; }
.photo-button span { font-size: .72rem; line-height: 1.5; }
.detail-sub, .client-form .detail-sub { font-size: 1rem; line-height: 1.8; }
.timeline li { font-size: .8rem; line-height: 1.8; }
.timeline small { font-size: .7rem; line-height: 1.7; }
.note, .quote-note, .quote-paper .quote-ref, .message-preview small, .form-error { font-family: var(--font-body); font-size: .74rem; line-height: 1.8; }
.field label, .field-label, .line-mobile-label {
  font-family: var(--font-heading); font-size: .72rem; font-weight: 700; line-height: 1.55;
}
.field small, .field-label small { font-family: var(--font-body); font-size: .74rem; font-weight: 400; line-height: 1.65; }
.field input, .field select, .field textarea, .search input, .slot-row input, .quote-line input, .quote-line select {
  font-family: var(--font-body); font-size: 1rem; font-weight: 400; line-height: 1.62;
}
.field input::placeholder, .field textarea::placeholder { font-size: 1rem; }
.field textarea { line-height: 1.62; }
.photo-upload strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.5; }
.photo-upload small { font-family: var(--font-body); font-size: .74rem; line-height: 1.7; }
.check-row { font-family: var(--font-heading); font-size: .72rem; font-weight: 700; line-height: 1.75; }
.quote-line { grid-template-columns: minmax(130px,1fr) 73px 108px 82px 30px; }
.quote-line-labels { font-family: var(--font-heading); font-size: .72rem; font-weight: 700; line-height: 1.5; }
.quote-totals .total-row { font-size: .9rem; line-height: 1.6; }
.quote-totals .total-row.grand { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; line-height: 1.5; flex-wrap: wrap; }
.quote-address { font-size: .9rem; line-height: 1.8; }
.quote-paper h2 { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.quote-paper h3, .accept-box h3 { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; line-height: 1.55; }
.quote-table th { font-family: var(--font-heading); font-size: .72rem; font-weight: 700; line-height: 1.6; }
.quote-table td { font-size: 1rem; line-height: 1.65; }
.quote-table td small { font-size: .74rem; line-height: 1.65; }
.quote-table td:first-child { padding-right: 15px; }
.table th { font-family: var(--font-heading); font-size: .72rem; font-weight: 700; line-height: 1.5; }
.table td { font-size: 1rem; line-height: 1.65; }
.table td small { font-size: .74rem; line-height: 1.65; }
.table .customer-cell strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; }
.calendar-title { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; line-height: 1.5; text-transform: none; letter-spacing: normal; }
.calendar-head { flex-wrap: wrap; }
.agenda-day { font-size: .74rem; }
.agenda-day strong { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; }
.agenda-day .count-dot { font-size: .66rem; height: auto; }
.appointment-large h3 { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; }
.appointment-large p { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; }
.toggle-line strong { font-family: var(--font-heading); font-size: .86rem; font-weight: 700; line-height: 1.6; }
.toggle-line p { font-size: 1rem; line-height: 1.8; }
.message-preview h3 { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; }
.modal-head h2 { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.modal > p, .help-list li, .help-list span { font-family: var(--font-body); font-size: 1rem; line-height: 1.8; }
.slot { font-size: 1rem; }
.slot strong { font-family: var(--font-heading); font-size: .9rem; font-weight: 700; }
.slot small { font-size: .74rem; }
.client-header .trust { font-size: .74rem; }
.client-demo, .client-demo a { font-size: .74rem; line-height: 1.6; }
.client-demo a { font-family: var(--font-heading); font-weight: 700; }
.client-brand strong { font-size: 1.25rem; line-height: 1.45; }
.client-brand small { font-family: var(--font-heading); font-size: .65rem; line-height: 1.6; }
.footer-note, .client-footer { font-family: Arial, Helvetica, sans-serif; font-size: .75rem; line-height: 1.8; }
.footer-note a, .client-footer a { font-family: Arial, Helvetica, sans-serif; font-size: .9rem; line-height: 1.6; }
.footer-note > span { flex-wrap: wrap; }

@media (max-width:1180px) {
  :root { --sidebar-width: 260px; }
  .hero-content { width: 88%; }
  .hero-art { width: 190px; opacity: .25; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .flow-panel { display: block; }
  .flow-intro { max-width: none; margin-bottom: 18px; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid > .stack { display: flex; align-items: stretch; }
  .stats { gap: 12px; }
  .stat { padding: 18px 15px; }
  .stat-icon { display: none; }
  .quote-line { grid-template-columns: minmax(100px,1fr) 65px 92px 78px 30px; }
}
@media (max-width:980px) and (min-width:761px) {
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; }
  .stat-icon { display: grid; }
  .stat > div:last-child { display: grid; grid-template-columns: 1fr auto; align-items: center; flex: 1; column-gap: 16px; }
  .stat-number { margin: 0; grid-column: 2; grid-row: 1 / 3; }
  .hero-content { width: 100%; }
  .hero-art { opacity: .12; }
}
@media (max-width:760px) {
  :root { --xenid-public-h1: 2.05rem; --xenid-public-h2: 2.05rem; --sidebar-width: 280px; }
  .main-shell { margin-left: 0; }
  .toast { left: 50%; }
  .sidebar { width: var(--sidebar-width); }
  .nav a, .nav a.active { font-size: 1rem; font-weight: 650; }
  .mobile-nav a { font-family: var(--font-heading); font-size: .7rem; font-weight: 600; line-height: 1.5; padding: 4px; min-width: 0; }
  .mobile-nav a.active { font-weight: 700; }
  .topbar .demo-pill { font-size: .65rem; }
  .page-head { gap: 16px; }
  .page-head > div:first-child { flex-basis: 100%; }
  .page-head > .actions { max-width: 100%; }
  .hero { padding: 27px 22px; }
  .hero-content { width: 100%; }
  .hero-art { width: 175px; right: -25px; opacity: .12; }
  .hero p { max-width: 100%; }
  .hero .eyebrow { font-size: .74rem; }
  .stats { gap: 8px; }
  .stat { padding: 15px 10px; }
  .stat-name { font-size: .86rem; line-height: 1.5; }
  .stat-number { font-size: 1.75rem; margin-top: 9px; }
  .stat-note { font-size: .73rem; line-height: 1.7; }
  .stat-name, .stat-note { overflow-wrap: anywhere; }
  .panel-head { flex-wrap: wrap; gap: 10px; }
  .panel-head > div { flex: 1 1 155px; }
  .panel-head .text-link { font-size: .82rem; }
  .row-info strong { font-size: .86rem; }
  .row-info p { font-size: .73rem; }
  .request-row { flex-wrap: wrap; padding: 18px; }
  .row-end small { font-size: .7rem; }
  .badge { font-size: .7rem; }
  .flow-steps { gap: 12px; }
  .flow-step strong { font-size: .86rem; }
  .flow-step small { font-size: .73rem; }
  .cards { grid-template-columns: 1fr; }
  .card-image { height: 160px; }
  .field input, .field select, .field textarea, .quote-line input, .quote-line select { font-size: 1rem; }
  .field input::placeholder, .field textarea::placeholder { font-size: 1rem; }
  .quote-line { grid-template-columns: repeat(3,minmax(0,1fr)) 28px; }
  .line-mobile-label { font-size: .72rem; }
  .quote-paper h2 { font-size: 1.4rem; }
  .quote-table td { font-size: .9rem; }
  .quote-totals .total-row.grand { font-size: 1.4rem; }
  .quote-paper-head { flex-wrap: wrap; }
  .client-demo { padding: 10px 15px; flex-wrap: wrap; }
  .client-demo span { max-width: 100%; flex: 1 1 180px; }
  .client-demo a { white-space: normal; font-size: .74rem; }
  .client-brand strong { font-size: 1.05rem; }
  .client-form { padding: 27px 20px; }
  .client-intro h1, .success-card h1 { font-size: var(--xenid-public-h1); }
  .success-card { padding: 32px 24px; }
  .slot-row input { width: 44%; font-size: .9rem; padding: 10px 6px; }
  .table td, .table td:first-child { font-size: 1rem; }
  .table td:nth-child(2), .table td small { font-size: .74rem; }
  .footer-note { font-size: .75rem; }
  .footer-note > span { justify-content: center; text-align: center; }
}
@media (max-width:620px) {
  .page-head p, .client-intro p { font-size: 1rem; }
}
@media (max-width:560px) {
  h1, h2, h3, h4 { word-spacing: .08em; }
  .stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: center; padding: 16px; gap: 14px; }
  .stat-icon { display: grid; width: 36px; height: 36px; }
  .stat > div:last-child { display: grid; flex: 1; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .stat-number { margin: 0; grid-column: 2; grid-row: 1 / 3; }
  .stat-note { margin-top: 3px; }
  .row-info { flex: 1 1 140px; }
  .row-end { margin-left: auto; }
  .hero h2, .page-head h1 { overflow-wrap: normal; hyphens: auto; }
  .client-demo a .icon { width: 13px; height: 13px; }
  .agenda-day { font-size: .68rem; }
  .agenda-day .count-dot { font-size: .62rem; }
  .calendar-title { max-width: 180px; }
}
@media print {
  .main-shell { margin-left: 0; }
  .quote-paper h2 { font-size: 24px; }
}

/* Text controls replace arrow icons without crowding mobile navigation. */
@media (max-width:760px) {
  .calendar-head { flex-direction: column; align-items: flex-start; }
  .calendar-head > .actions { width: 100%; }
  .calendar-head .calendar-title { order: -1; flex-basis: 100%; max-width: none; }
  .calendar-head .actions > .btn { flex: 1; }
  .appointment-large .row-info { flex: 1 1 180px; }
  .appointment-large > .btn { margin-left: 0; flex-basis: 100%; }
}
