/* The working side of Bixaven. Presentation only: keep stage sizing,
   visibility, form semantics, and API behavior in their existing owners. */
.customer-page, .admin-page { background: var(--canvas); }
.customer-page .header-note { color: #5c6b60; font: .8125rem/1.6 var(--font-sans); }
.customer-page .customer-layout { align-items: start; margin-top: 36px; }
.customer-page .intro { padding: 20px 0; }
.customer-page .intro .eyebrow { color: #526a59; margin-bottom: 25px; }
.customer-page .intro h1 { font-weight: 600; font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1.08; letter-spacing: -.045em; max-width: 14ch; }
.customer-page .intro-copy { max-width: 32ch; color: #5d6b60; font-size: .99rem; line-height: 1.7; }
.customer-page .demo-information { font-size: .8125rem; margin-block: 22px; padding-left: 14px; border-left: 2px solid #93a780; color: #5a6759; }
.demo-information summary::after { content: " +"; color: var(--brand); }
.demo-information details[open] > summary::after { content: " −"; }
.customer-page .demo-information summary { min-height: 44px; display: flex; gap: 8px; align-items: center; }
.customer-page .service-tags { gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; }
.customer-page .service-tags span { border: 0; background: transparent; border-radius: 0; padding: 0; font: .8125rem/1.6 var(--font-sans); color: #5a695b; }
.customer-page .journey { margin-block: 30px; }
.customer-page .journey li { gap: 18px; padding-bottom: 24px; }
.customer-page .journey li:last-child { padding-bottom: 0; }
.customer-page .journey li::after { display: none; }
.customer-page .journey-number { border: 1px solid var(--line); border-radius: 6px; background: transparent; height: 32px; flex-basis: 32px; font: .75rem/1.5 var(--font-mono); color: #5d6b62; }
.customer-page .journey [aria-current] .journey-number { background: #263e33; color: white; }
.customer-page .journey .is-complete .journey-number { background: #dfe8d7; color: #315839; }
.customer-page .journey strong { font-size: .9375rem; font-weight: 600; }
.customer-page .journey p { font-size: .8125rem; }
.customer-page .intro-footnote { max-width: 43ch; line-height: 1.7; font-size: .8125rem; }
.customer-page .service-panel { border-radius: var(--radius-panel); border-color: #c8d3cb; border-top: 3px solid #263e33; box-shadow: var(--shadow-soft); }
.customer-page .panel-header { background: #fff; }
.customer-page .panel-header h2 { font-size: 1.65rem; font-weight: 600; letter-spacing: -.035em; }
.customer-page .panel-title-row .eyebrow { color: #53634e; font-size: .6875rem; }
.customer-page .step-count { font: .75rem/1.6 var(--font-mono); color: #5d6b62; }
.customer-page .panel-scroll { scroll-padding-block: 18px; }
.customer-page .progress-track { gap: 16px; }
.customer-page .progress-track li { flex: 1 0 auto; white-space: nowrap; font-size: .75rem; }
.customer-page .progress-track li > span { border-radius: 50%; width: 4px; height: 4px; }
.form-guidance { font-size: .8125rem; color: #65715f; margin: 0; }
.intake-group { display: grid; gap: 18px; border: 0; border-top: 1px solid #d7ddd1; border-radius: 0; padding: 18px 0 8px; margin: 0; }
.intake-group legend { padding: 0 12px 0 0; font-size: .875rem; color: #3b553d; font-weight: 600; }
.customer-page label { font-weight: 500; }
.customer-page input, .customer-page select, .customer-page textarea { background: #fff; border-color: var(--control-border); border-radius: var(--radius); font-weight: 400; }
.customer-page input::placeholder, .customer-page textarea::placeholder { color: #6b7971; }
.customer-page .consent { font-size: .8125rem; font-weight: 400; }
.customer-page .photo-attachment { background: var(--surface-soft); border-radius: var(--radius); border-style: solid; border-color: var(--line); }
.customer-page .photo-attachment .hint { margin-bottom: 8px; }
.customer-page input[type="file"] { border: 0; background: transparent; }
.customer-page input::file-selector-button { font: inherit; min-height: 44px; padding: 10px 12px; margin-right: 10px; border: 1px solid var(--control-border); border-radius: var(--radius); background: white; color: var(--ink); cursor: pointer; }
.customer-page .button, .admin-page .button { border-radius: var(--radius); }
.customer-page .panel-footer { box-shadow: 0 -4px 12px #24392f04; background: #fff; }
.customer-page .slot-button { border-radius: var(--radius); min-height: 70px; }
.customer-page .slot-button:hover:not(:disabled) { transform: none; }
.customer-page .slot-button:focus-visible { outline-offset: -3px; }
.customer-page .request-summary { border-radius: var(--radius); background: var(--surface-soft); }
.customer-page .request-summary summary { min-height: 48px; }
.customer-page .chat-bubble { border-radius: 3px 12px 12px 12px; background: #edf2e7; }
.customer-page .chat-bubble.customer { border-radius: 12px 3px 12px 12px; background: #f2f2ec; }
.customer-page .handoff { border-radius: var(--radius); }
.customer-page .confirmation-time { border-radius: var(--radius); }
.demo-next-step { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.demo-next-step .hint { margin-bottom: 12px; }
.demo-next-step .button { max-width: 100%; white-space: normal; text-align: center; }
.admin-page .page-heading .subtle { font-size: .9375rem; }
.admin-page input, .admin-page select, .admin-page textarea { border-radius: var(--radius); background: #fff; }
.admin-page .metrics { gap: 0; background: #fff; border: 1px solid var(--line); border-top: 3px solid #263e33; border-radius: var(--radius-panel); }
.admin-page .metric { border: 0; border-right: 1px solid #d9dfd1; background: transparent; border-radius: 0; padding: 22px 24px; }
.admin-page .metric:last-child { border-right: 0; }
.admin-page .metric span { font: .875rem/1.5 var(--font-sans); }
.admin-page .metric strong { font-size: 2.4rem; font-weight: 500; line-height: 1.2; margin-top: 12px; letter-spacing: -.04em; }
.admin-page .dashboard-toolbar { background: #fff; border: 1px solid var(--line); padding: 20px; border-radius: var(--radius-panel); }
.admin-page .lead { border-radius: var(--radius-panel); box-shadow: none; border-color: var(--line); scroll-margin-block: 24px; }
.admin-page .lead:hover { border-color: #a5b99b; }
.admin-page .lead.lead-urgent, .admin-page .lead.lead-urgent:hover { border-color: #b42318; }
.admin-page .lead h2 { font-size: 1.12rem; }
.admin-page .avatar { border-radius: var(--radius); background: var(--surface-soft); }
.admin-page .status-select { min-height: 44px; }
.admin-page .pill { border-radius: 4px; font-size: .75rem; }
.admin-page .urgent-summary { border-radius: var(--radius); border-left: 4px solid #b42318; background: #fff9f5; }
.admin-page .today-section { border-radius: var(--radius); background: var(--surface-soft); }
.admin-page .demo-calendar { border-radius: var(--radius-panel); border-color: var(--line); padding: var(--space-panel); }
.admin-page .demo-calendar-heading { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.admin-page .demo-calendar-heading h2 { font-size: 1.35rem; font-weight: 600; }
.admin-page .demo-calendar-label { border-radius: 4px; font-size: .8125rem; background: var(--surface-soft); }
.admin-page :is(.demo-calendar-event.closed, .demo-calendar-status.closed) { background: var(--surface-soft); color: var(--muted); }
.admin-page .demo-calendar-grid { gap: 1px; padding: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.admin-page .demo-calendar-day { border: 0; border-radius: 0; padding: 9px; transition: background .15s; }
.admin-page .demo-calendar-day.selected { box-shadow: inset 0 0 0 2px var(--brand); }
.admin-page .demo-calendar-day:focus-visible { outline-offset: -4px; }
.admin-page .demo-calendar-agenda { border-radius: var(--radius); background: var(--surface-soft); }
.admin-page .demo-calendar-entry:last-child { border-bottom: 0; }
.admin-page .demo-calendar-views { padding: 3px; gap: 3px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.admin-page .demo-calendar-views .button { border-color: transparent; background: transparent; }
.admin-page .demo-calendar-views [aria-pressed="true"] { border-color: var(--line); background: white; color: var(--brand-dark); box-shadow: 0 1px 3px #24392f08; }
.admin-page .demo-calendar-views .button:hover { background: var(--mint); }
.admin-page .demo-calendar-number { font-variant-numeric: tabular-nums; }
.admin-page .followup-attention { border-radius: var(--radius-panel); border-color: var(--line); }
.admin-page .followup-count { border-radius: 4px; }
.admin-page .empty-state { border-radius: var(--radius-panel); }
.admin-page .settings-card, .admin-page .settings-preview { border-radius: var(--radius-panel); }
.invite-create-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-panel); }
.invite-create-panel h2, .invite-share-panel h2, .invite-list-heading { font-size: 1.25rem; margin-bottom: 12px; }
.invite-create-panel p, .invite-share-panel p { font-size: .875rem; color: var(--muted); max-width: 60ch; }
#create-demo { display: grid; gap: 16px; align-content: center; }
#create-demo .button { justify-self: start; }
#demo-message { margin: 20px 0; }
#demo-message:empty { display: none; }
.invite-share-panel { padding: var(--space-panel); margin: 24px 0; background: var(--surface-soft); border: 1px solid var(--control-border); border-radius: var(--radius-panel); }
#invite-text { padding: 18px; white-space: pre-wrap; overflow-wrap: anywhere; font: .8125rem/1.8 var(--font-mono); background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.invite-list-heading { margin-top: 32px; }
.invite-list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 32px 0 16px; }
.invite-list-toolbar .invite-list-heading { margin: 0; }
.invite-share-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#demo-list { display: grid; gap: 16px; }
#demo-list > section { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: var(--space-panel); border: 1px solid var(--line); border-radius: var(--radius-panel); background: #fff; color: var(--ink); }
#demo-list h3 { font-size: 1.0625rem; margin: 0; flex-basis: 100%; }
#demo-list p { font-size: .8125rem; color: var(--muted); margin: 0 0 8px; flex-basis: 100%; }
#demo-list a { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; font-size: .875rem; }
#demo-list button:last-child { color: var(--error); }
@media (max-width: 760px) {
  .customer-page .intro { padding: 0 4px 24px; }
  .customer-page .customer-layout { margin-top: 25px; }
  .customer-page .intro .eyebrow { margin-bottom: 17px; }
  .customer-page .intro h1 { font-size: clamp(2.3rem, 8vw, 3.3rem); max-width: 17ch; }
  .customer-page .intro h1 br { display: none; }
  .customer-page .intro-copy { max-width: 40ch; font-size: .91rem; }
  .customer-page .demo-information { margin-block: 14px 0; font-size: .8125rem; }
  .customer-page .service-tags { display: none; }
  .customer-page .field-row { grid-template-columns: 1fr; }
  .customer-page .service-panel { box-shadow: none; }
  .customer-page .panel-header { padding-top: 18px; }
  .customer-page .panel-header h2 { font-size: 1.4rem; }
  .customer-page .panel-header > p { margin-bottom: 14px; }
  .customer-page .panel-scroll { padding: 20px; }
  .customer-page .confirmation { padding: 0 0 12px; }
  .customer-page .confirmation-icon { width: 32px; height: 32px; font-size: 1.2rem; margin-bottom: 10px; }
  .customer-page .confirmation .eyebrow { margin-bottom: 8px; }
  .customer-page .confirmation h3 { font-size: 1.3rem; margin-bottom: 12px; }
  .customer-page .confirmation-time { margin-bottom: 12px; padding: 12px; }
  .customer-page .panel-footer { padding: 14px 20px; }
  .customer-page .intake-group { gap: 16px; }
  .customer-page .site-footer { flex-wrap: wrap; gap: 8px 20px; }
  .admin-page .metric { padding: 18px 10px; }
  .admin-page .metric span { font-size: .75rem; }
  .admin-page .metric strong { font-size: 1.9rem; }
  .admin-page .demo-calendar { padding: 16px; }
  .admin-page .heading-actions { width: 100%; }
  .admin-page .heading-actions > .button { flex: 1; font-size: .8125rem; padding-inline: 12px; }
  .admin-page .dashboard-toolbar { padding: 16px; }
  .invite-create-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
  .invite-share-panel, #demo-list > section { padding: 20px; }
  #create-demo .button { width: 100%; }
}
@media (max-width: 600px) {
  .admin-page .demo-calendar-day { padding: 4px; }
  .admin-page .demo-calendar-day.selected { padding: 4px; }
  .admin-page .demo-calendar-views { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .customer-page .panel-stage:not([hidden]) { animation: stage-arrive .18s ease-out; }
  @keyframes stage-arrive { from { opacity: .6; } to { opacity: 1; } }
}
