/* NaviraTax scheduler. Tokens taken from the approved mockups (NaviraTax_Scheduler_Mockups). */
:root {
  --page: #f5f5f7;
  --panel: #ffffff;
  --panel-soft: #fbfbfd;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --rule: #e8e8ed;
  --blue: #0071e3;
  --blue-ink: #0066cc;
  --blue-hover: #004a99;
  --blue-tint: #e8f2fd;
  --blue-soft: #f5faff;
  --danger: #c0392b;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-ink); text-decoration: none; }
a:hover { color: var(--blue-hover); }
h1, h2, p { margin: 0; }
.hidden { display: none !important; }
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Page shell */
.shell { min-height: 100vh; padding: 56px 24px; display: flex; justify-content: center; align-items: flex-start; }
.card { width: 100%; max-width: 1080px; background: var(--panel); border-radius: 28px; overflow: hidden; display: flex; flex-wrap: wrap; }
.card.narrow { max-width: 560px; padding: 56px 48px 40px; flex-direction: column; align-items: center; gap: 32px; }

/* Left pane */
.pane-info { flex: 1 1 280px; padding: 40px; background: var(--panel-soft); display: flex; flex-direction: column; gap: 28px; }
.brand { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.eyebrow { font-size: 15px; color: var(--muted); }
.title { font-family: var(--display); font-size: 34px; line-height: 38px; font-weight: 600; letter-spacing: -0.015em; margin-top: 16px; }
.facts { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.fact { display: flex; align-items: flex-start; gap: 10px; }
.fact svg { flex: none; margin-top: 1px; }
.fact .strong { font-weight: 600; }
.fact .sub { color: var(--muted); }
.blurb { font-size: 15px; line-height: 22px; color: var(--muted); text-wrap: pretty; }
.link { font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* Calendar pane */
.pane-cal { flex: 1 1 360px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.cal-inner { display: flex; flex-direction: column; gap: 20px; }
.pane-cal .field { margin-bottom: 4px; }
.h2 { font-size: 21px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; }
.month-row { display: flex; align-items: center; justify-content: space-between; }
.month { font-size: 17px; font-weight: 600; }
.nav { display: flex; gap: 4px; }
.nav button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--faint); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav button.on { background: var(--page); color: var(--ink); }
.nav button:disabled { opacity: .35; cursor: default; }
.dow, .days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; justify-items: center; }
.dow { font-size: 12px; font-weight: 600; color: var(--muted); }
.days { font-size: 17px; }
.day { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--faint); display: flex; align-items: center; justify-content: center; }
.day.today { border: 1px solid var(--line); color: var(--muted); }
.day.open { background: var(--blue-tint); color: var(--blue-ink); font-weight: 600; cursor: pointer; }
.day.open:hover { background: #d8e9fb; }
.day.sel, .day.sel:hover { background: var(--blue); color: #fff; font-weight: 600; }
.tz { align-self: flex-start; position: relative; min-height: 44px; padding: 0 14px 0 10px; border-radius: 980px; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); cursor: pointer; }
.tz:hover { background: var(--page); }
.tz select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

/* Times pane */
.pane-times { flex: 1 1 240px; padding: 40px 40px 40px 8px; display: flex; flex-direction: column; gap: 20px; }
.times { display: flex; flex-direction: column; gap: 10px; }
.time { height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 17px; cursor: pointer; }
.time:hover { border-color: var(--faint); }
.time.sel { border: 2px solid var(--blue); background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; }
.note { font-size: 14px; color: var(--muted); }

/* Buttons */
.btn { height: 48px; padding: 0 32px; border-radius: 980px; border: 0; background: var(--blue); color: #fff; font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.btn:hover { background: #0077ed; }
.btn:disabled { opacity: .45; cursor: default; }
.btn.block { width: 100%; padding: 0; }
.btn.quiet { background: transparent; color: var(--blue-ink); }

/* Details pane */
.pane-form { flex: 2 1 420px; padding: 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.form { display: flex; flex-direction: column; gap: 18px; max-width: 520px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .lbl { font-size: 14px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 17px; color: var(--ink); }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231d1d1f' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 24px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.seg button { height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 17px; cursor: pointer; }
.seg button[aria-pressed="true"] { border: 2px solid var(--blue); background: var(--blue-soft); color: var(--blue-ink); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.error { font-size: 14px; color: var(--danger); }

/* Confirmation */
.hero { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.check { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.check.grey { background: var(--faint); }
.big { font-family: var(--display); font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -0.02em; }
.lead { font-size: 17px; line-height: 25px; color: var(--muted); text-wrap: pretty; margin-top: 10px; }
.rows { width: 100%; display: flex; flex-direction: column; }
.row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row .k { flex: none; width: 64px; font-size: 14px; line-height: 22px; color: var(--muted); }
.row .v { display: flex; flex-direction: column; gap: 2px; font-size: 17px; line-height: 22px; min-width: 0; overflow-wrap: anywhere; }
.row .v .sub { color: var(--muted); }
.stack { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.links a, .links button { min-height: 44px; display: inline-flex; align-items: center; background: none; border: 0; padding: 0; color: var(--blue-ink); cursor: pointer; font-size: 15px; }
.links button:hover, .links a:hover { color: var(--blue-hover); }
.foot { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Phone */
@media (max-width: 720px) {
  .shell { padding: 0; align-items: stretch; }
  .card { border-radius: 0; min-height: 100vh; flex-direction: column; flex-wrap: nowrap; }
  .pane-info, .pane-cal, .pane-times, .pane-form { flex: none; }
  .card.narrow { padding: 32px 24px 28px; justify-content: space-between; }
  .pane-info { background: var(--panel); padding: 32px 24px 0; gap: 14px; }
  .pane-info .brand { font-size: 15px; }
  .pane-info .eyebrow, .pane-info .blurb, .pane-info .link, .pane-info .facts.full { display: none; }
  .title { font-size: 28px; line-height: 32px; margin-top: 0; }
  .summary { display: block; font-size: 15px; line-height: 20px; color: var(--muted); }
  .pane-cal { padding: 20px 24px 0; gap: 6px; }
  .cal-inner { gap: 6px; }
  .pane-cal .field { margin-bottom: 10px; }
  .pane-cal .h2 { display: none; }
  .dow, .days { gap: 2px; }
  .tz { padding-left: 0; }
  .pane-times { padding: 16px 24px 28px; gap: 12px; flex: 1 0 auto; }
  .pane-times .h2 { font-size: 17px; line-height: 22px; }
  .times { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pane-times .btn { margin-top: auto; }
  .pane-form { padding: 24px 24px 28px; }
  .big { font-size: 34px; line-height: 38px; }
  .row .k { width: 56px; }
}
@media (min-width: 721px) { .summary { display: none; } }
