/* Shared visual tokens taken from the supplied designs. */
:root {
  --ink: #1b2a4a;
  --muted: #55627f;
  --blue: #34508f;
  --pink: #d92d55;
  --line: #d9dfec;
  --paper: #f3f5fa;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 16px/1.6 'Montserrat', system-ui, sans-serif; }
header { min-height: 90px; padding: 20px 6%; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: #fff; }
.brand { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; width: 190px; height: auto; }
.brand-light { font-size: 13px; font-weight: 500; padding-left: 12px; border-left: 1px solid var(--line); }
.stage { font-size: 12px; padding: 6px 12px; border-radius: 24px; background: #eef2fa; color: var(--blue); font-weight: 600; }
main { max-width: 1200px; margin: 0 auto; padding: 56px 30px; min-height: calc(100vh - 165px); }
.login-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.intro { background: var(--blue); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.eyebrow { color: var(--pink); font-size: 11px; font-weight: 700; letter-spacing: 2px; margin: 0 0 20px; }
.intro .eyebrow { color: #fff; opacity: .85; }
h1 { font-size: 44px; line-height: 1.15; letter-spacing: -.5px; margin: 0 0 24px; font-weight: 700; }
h2 { font-size: 27px; line-height: 1.3; letter-spacing: -.3px; margin: 0 0 12px; font-weight: 700; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; font-weight: 400; }
.intro .lead { color: #fff; font-weight: 300; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
.login-card { padding: clamp(28px, 4vw, 56px); border: 0; border-radius: 0; }
.muted { color: var(--muted); }
.note { background: #eef2fa; border: 1px solid var(--line); padding: 24px; border-radius: 8px; font-size: 14px; }
.note p { margin: 8px 0 0; color: var(--muted); }
.intro .note { background: #ffffff1a; border-color: #ffffff4d; }
.intro .note p { color: #fff; font-weight: 300; }
label { display: block; font-size: 14px; font-weight: 600; margin: 22px 0 8px; }
input { width: 100%; min-height: 48px; border: 1px solid #8793af; border-radius: 4px; background: #fff; padding: 10px 14px; font: inherit; color: var(--ink); }
input:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
button, .button { min-height: 48px; border: 0; border-radius: 4px; background: var(--pink); color: #fff; font: inherit; font-size: 15px; font-weight: 600; padding: 12px 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; text-decoration: none; }
form > button { width: 100%; margin-top: 28px; }
button:hover, .button:hover { background: #bd2045; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.small { font-size: 12px; margin-top: 24px; }
.error, .errorlist { color: #a12240; font-size: 14px; }
.error { background: #fdf0f3; border-radius: 4px; padding: 12px; }
.error ul { margin: 0; padding-left: 20px; }
footer { padding: 22px; text-align: center; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.dashboard-top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.dashboard-top h1 { font-size: 36px; }
.secondary { background: #fff; color: var(--blue); border: 2px solid var(--blue); margin-top: 0; }
.secondary:hover { background: #eef2fa; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
dl { margin-bottom: 0; }
dt { font-size: 12px; color: var(--muted); margin-top: 16px; }
dd { margin: 0; font-weight: 600; }
.text-link { display: block; color: var(--blue); font-size: 14px; font-weight: 600; margin-top: 18px; }
@media (max-width: 760px) {
  header { padding: 18px 20px; min-height: 80px; }
  .brand-logo { width: 160px; }
  .stage { font-size: 10px; padding: 5px 8px; }
  .brand-light { display: none; }
  main { padding: 28px 20px; }
  .login-layout, .dashboard-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .intro, .login-card, .card { padding: 28px; }
  .dashboard-top h1 { font-size: 30px; }
  .dashboard-top { gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
  .dashboard-top .lead { margin-bottom: 0; }
  .button { width: 100%; }
}
/* Staff calendar and schedule controls. */
select { width: 100%; min-height: 48px; padding: 10px 12px; background: white; color: var(--ink); border: 1px solid #8793af; border-radius: 4px; font: inherit; font-size: 14px; }
input[type=hidden] { display: none; }
.messages { margin-bottom: 24px; }
.notice { padding: 14px 18px; border: 1px solid var(--line); border-radius: 6px; background: #e9f3ef; }
.notice.error { background: #fdf0f3; }
.workspace-nav { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; }
.workspace-nav a { color: var(--blue); font-size: 13px; font-weight: 600; text-decoration: none; }
.workspace-nav a[aria-current] { color: var(--pink); }
.count-badge { background: var(--pink); color: white; border-radius: 12px; padding: 2px 6px; }
.staff-picker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 24px; }
.staff-picker label { margin: 0; }
.staff-picker select { width: auto; max-width: 100%; }
.staff-picker button { width: auto; margin: 0; }
.calendar-heading, .schedule-entry, .alert-card { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.calendar-heading h2 { font-size: 23px; }
.calendar-heading .small { margin: 8px 0 0; }
.week-nav { display: flex; gap: 8px; align-items: center; }
.week-nav a { padding: 8px 12px; background: var(--paper); color: var(--blue); border-radius: 4px; text-decoration: none; font-size: 13px; white-space: nowrap; }
.calendar-legend { display: flex; gap: 20px; flex-wrap: wrap; margin: 24px 0; font-size: 11px; color: var(--muted); }
.calendar-legend span:before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.legend-lunch:before { background: #e4e9f4; }
.legend-offline:before { background: #087f8c; }
.legend-meeting:before { background: var(--blue); }
.legend-chat:before { background: var(--pink); }
.legend-leave:before { background: var(--ink); }
.calendar-scroll { overflow-x: auto; padding-bottom: 12px; }
.week-calendar { display: grid; grid-template-columns: 56px repeat(5, minmax(110px, 1fr)); min-width: 620px; }
.day-header { height: 62px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.day-header strong { font-size: 13px; }
.day-header span { font-size: 10px; color: var(--muted); }
.time-column .day-header { font-size: 10px; color: var(--muted); }
.hour-ruler { position: relative; height: 480px; }
.hour-label { position: absolute; left: 0; font-size: 10px; color: var(--muted); transform: translateY(-50%); }
.hour-0 { top: 0; }.hour-1 { top: 12.5%; }.hour-2 { top: 25%; }.hour-3 { top: 37.5%; }.hour-4 { top: 50%; }.hour-5 { top: 62.5%; }.hour-6 { top: 75%; }.hour-7 { top: 87.5%; }.hour-8 { top: 100%; }
.day-timeline { position: relative; height: 480px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: repeating-linear-gradient(to bottom, transparent 0, transparent 59px, #e4e9f4 59px, #e4e9f4 60px); }
.day-column:last-child .day-timeline { border-right: 1px solid var(--line); }
.outside-hours { position: absolute; left: 0; right: 0; background: #eef2fa; }
.calendar-event { position: absolute; left: 4px; right: 4px; padding: 3px 6px; border-radius: 3px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: center; line-height: 1.2; min-height: 14px; }
.calendar-event strong { font-size: 10px; font-weight: 600; }
.calendar-event span { font-size: 9px; }
.event-lunch { background: #e4e9f4; color: var(--ink); }
.event-offline { background: #087f8c; color: white; }
.event-meeting { background: var(--blue); color: white; }
.event-chat { background: var(--pink); color: white; }
.event-leave, .event-sickness { background: var(--ink); color: white; }
a.calendar-event:hover { filter: brightness(.9); }
.day-lunch { font-size: 9px; color: var(--muted); text-align: center; padding-top: 12px; }
.schedule-tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; align-items: start; }
.schedule-tools .card { padding: 24px; }
.schedule-tools h2 { font-size: 22px; }
.schedule-tools .small { margin-top: 0; min-height: 85px; }
.schedule-tools form p { margin: 0 0 12px; }
.schedule-tools .errorlist { padding-left: 18px; }
.schedule-tools .helptext { font-size: 12px; color: var(--muted); display: block; padding-top: 8px; }
.schedule-tools label { margin-top: 14px; font-size: 12px; }
.schedule-tools button { font-size: 13px; padding: 12px 16px; }
.schedule-tools input { font-size: 14px; }
.schedule-entry { margin-bottom: 24px; }
.schedule-entry p { margin-bottom: 0; }
.block-editor { max-width: 650px; margin: 24px 0; }
.block-editor h1 { font-size: 30px; }
.alert-card { margin-top: 20px; }
.alert-card h2 { font-size: 22px; }
.alert-card form button { margin: 0; }
@media (max-width: 960px) { .schedule-tools { grid-template-columns: 1fr; } .schedule-tools .small { min-height: 0; } }
@media (max-width: 760px) { .calendar-card { padding: 20px; } .calendar-heading, .schedule-entry, .alert-card { align-items: flex-start; flex-direction: column; } .calendar-heading h2 { font-size: 20px; } .workspace-nav { gap: 12px; } .schedule-tools { margin-top: 20px; } }
/* Customer booking flow, using the supplied visual references. */
.customer-staff-link { color: var(--blue); text-decoration: none; font-size: 13px; font-weight: 600; }
.booking-layout { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.5fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.booking-intro { background: var(--blue); padding: 38px 30px; color: white; }
.booking-intro h1 { font-size: 38px; }
.booking-intro .eyebrow { color: white; opacity: .8; }
.booking-intro > p { font-size: 15px; font-weight: 300; }
.booking-intro .small { font-size: 12px; }
.booking-intro a { color: white; font-size: 12px; }
.booking-info { background: #ffffff12; border: 1px solid #ffffff40; border-radius: 8px; padding: 20px; margin: 28px 0; }
.booking-info h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.booking-info dl { display: grid; grid-template-columns: 1fr; margin: 0; }
.booking-info dt { color: #ffffffcc; margin: 12px 0 2px; font-size: 11px; }
.booking-info dd { font-size: 14px; }
.booking-main { padding: 36px; min-width: 0; }
.booking-steps { list-style: none; padding: 0; margin: 0 0 36px; display: flex; gap: 18px; flex-wrap: wrap; }
.booking-steps li { font-size: 11px; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid transparent; }
.booking-steps li.current { color: var(--ink); font-weight: 700; border-color: var(--pink); }
.booking-steps li span { display: inline-grid; place-items: center; width: 21px; height: 21px; background: #e4e9f4; border-radius: 50%; margin-right: 5px; font-size: 10px; }
.booking-steps li.current span { background: var(--pink); color: white; }
.booking-search h2, .booking-details h2 { font-size: 28px; }
.booking-search .eyebrow { margin-bottom: 12px; }
.booking-main .muted { font-size: 14px; }
.booking-main label { font-size: 13px; }
.booking-main .helptext { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }
.booking-main input, .booking-main select, .booking-main textarea { font-size: 14px; }
.booking-main input[type=radio] { width: 16px; height: 16px; min-height: 0; margin: 0 6px 0 0; accent-color: var(--blue); }
.booking-main #search_duration { display: flex; flex-wrap: wrap; gap: 8px; }
.booking-main #search_duration label { margin: 0; border: 1px solid var(--line); border-radius: 24px; padding: 9px 13px; font-size: 12px; cursor: pointer; display: flex; align-items: center; }
.booking-main #search_duration label:has(input:checked) { border-color: var(--blue); background: #eef2fa; }
.booking-main textarea { width: 100%; border: 1px solid #8793af; border-radius: 4px; padding: 12px; color: var(--ink); font: inherit; resize: vertical; }
.booking-main fieldset { border: 0; margin: 24px 0; padding: 0; }
.booking-main legend { font-size: 14px; font-weight: 600; padding-bottom: 14px; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 8px; }
.slot-choice { position: relative; margin: 0; cursor: pointer; }
.slot-choice input[type=radio] { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; inset: 0; cursor: pointer; }
.slot-choice span { display: block; text-align: center; border: 1px solid var(--blue); border-radius: 4px; padding: 10px 8px; font-weight: 600; font-size: 13px; }
.slot-choice input:checked + span { background: var(--pink); color: white; border-color: var(--pink); }
.slot-choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.change-details { margin-bottom: 30px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.change-details summary { color: var(--blue); cursor: pointer; font-size: 13px; font-weight: 600; }
.change-details .booking-search { padding-top: 25px; }
.booking-confirmed { max-width: 650px; margin: 0 auto; padding: 40px; }
.booking-confirmed h1 { font-size: 36px; }
.confirmation-icon { width: 52px; height: 52px; border-radius: 50%; color: white; background: var(--blue); font-size: 28px; display: grid; place-items: center; margin-bottom: 24px; }
.booking-confirmed dl { background: var(--paper); border-radius: 8px; padding: 8px 22px 22px; }
.booking-reference { overflow-wrap: anywhere; font-size: 12px; }
.booking-confirmed .button { margin-top: 12px; }
.cancel-call { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; }
.cancel-call summary { color: var(--pink); cursor: pointer; font-weight: 600; }
.event-call { background: #34508f; color: white; border-left: 3px solid #1b2a4a; }
.event-buffer { background: repeating-linear-gradient(135deg,#eef2fa,#eef2fa 4px,#d9dfec 4px,#d9dfec 5px); color: var(--muted); }
.legend-call:before { background: #34508f; }
@media (max-width: 1000px) { .booking-layout { grid-template-columns: 1fr; } .booking-intro { padding: 28px; } .booking-intro h1 { font-size: 32px; } .booking-intro h1 br { display: none; } .booking-info { margin: 20px 0; } .booking-info dl { grid-template-columns: auto 1fr; gap: 8px 24px; align-items: baseline; } .booking-info dt { margin: 0; } .booking-intro > .small { margin-top: 12px; } }
@media (max-width: 600px) { .booking-main { padding: 26px 22px; } .booking-intro { padding: 26px 22px; } .booking-main h2 { font-size: 24px; } .booking-steps { gap: 12px; } .booking-steps li { font-size: 10px; } .contact-grid { grid-template-columns: 1fr; gap: 0; } .booking-confirmed { padding: 26px; } .booking-confirmed h1 { font-size: 30px; } }


.event-company { background:#1b2a4a; color:#fff; border-left:4px solid #d92d55; }
.csv-preview { overflow-x:auto; }
.csv-preview table { width:100%; border-collapse:collapse; text-align:left; font-size:14px; }
.csv-preview th, .csv-preview td { padding:14px 12px; border-bottom:1px solid var(--line); vertical-align:top; overflow-wrap:anywhere; }
.csv-preview th { color:var(--muted); }
/* Administrator overview: one day with account managers side by side. */
.company-date-picker input { width: auto; max-width: 100%; }
.company-day-grid { display: grid; min-width: 820px; }
.company-calendar .hour-ruler, .company-calendar .day-timeline { height: 768px; }
.company-calendar .day-timeline { background: repeating-linear-gradient(to bottom, transparent 0, transparent 47px, #e4e9f4 47px, #e4e9f4 48px); }
.company-calendar .day-header a { color: var(--blue); }
.company-calendar .calendar-event strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legend-company:before { background: #665379; }
.event-company { background: #665379; color: white; }
.company-call-agenda { margin-top: 24px; }
.company-call-agenda h3 { font-size: 16px; margin-bottom: 8px; }
.company-call-agenda ul { padding-left: 20px; }
.company-call-agenda a { color: var(--blue); }

.booking-privacy { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 16px; margin: 24px 0; }
.booking-privacy p { margin: 0 0 10px; }
.booking-privacy p:last-child { margin-bottom: 0; }
.booking-privacy a, footer a { color: var(--blue); }

.field-help { margin: 6px 0 10px; color: var(--muted); font-size: 13px; }
.passkey-login { margin-top: 24px; }
.passkey-login button { width: 100%; justify-content: center; }
.passkey-login .small { margin-top: 10px; }
.passkey-entry { border-top: 1px solid var(--line); padding: 18px 0; }
.passkey-entry h3 { margin: 0; }
.passkey-entry .small { margin-top: 8px; }
