:root {
  --ink: #262626;
  --muted: #575757;
  --line: #dddddf;
  --surface: #ffffff;
  --canvas: #f7f7f7;
  --brand: #ff1a4c;
  --brand-dark: #dc0a42;
  --mint: #fff0f3;
  --shadow: 0 24px 70px rgba(38, 38, 38, .12);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.public-page { min-height: 100vh; background: radial-gradient(circle at 10% 5%, #ffe7ed 0, transparent 30%), radial-gradient(circle at 90% 90%, #f0f0f0 0, transparent 28%), #fafafa; }
.public-shell { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0; }
.narrow-shell { width: min(720px, calc(100% - 36px)); padding-top: 8vh; }
.profile-card, .confirmation-card, .booking-card { background: rgba(255,255,255,.97); border: 2px solid rgba(255,255,255,.92); box-shadow: var(--shadow); border-radius: 30px; }
.profile-card { padding: 28px 56px 56px; text-align: center; }
.company-brand { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-bottom: 26px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.profile-card > .company-brand { width: auto; display: flex; margin: -28px -56px 40px; padding: 19px 56px; border-bottom: 2px solid var(--line); }
.company-brand img { width: auto; max-width: 190px; height: 34px; object-fit: contain; }
.brand-chevron { color: var(--dark-gray, #949495); font-size: 25px; font-weight: 500; line-height: .7; }
.brand-purpose { color: var(--muted); font-weight: 500; }
.host-avatar { width: 138px; height: 138px; margin: 0 auto 22px; display: grid; place-items: center; overflow: hidden; border: 4px solid white; border-radius: 50%; background: linear-gradient(145deg, var(--brand), var(--brand-dark)); color: white; font-size: 38px; font-weight: 800; box-shadow: 0 12px 28px rgba(220,10,66,.24); }
.host-avatar img { width: 100%; height: 100%; object-fit: cover; }
.host-avatar.small { width: 58px; height: 58px; margin: 0 0 18px; font-size: 19px; }
.job-title { margin: -4px 0 14px; color: var(--brand-dark); font-size: 17px; font-weight: 700; }
.job-title.compact-title { margin: -8px 0 18px; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.03; letter-spacing: -.045em; }
h2 { margin-bottom: 8px; font-size: 28px; letter-spacing: -.025em; }
h3 { margin-bottom: 0; font-size: 17px; }
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; }
.booking-intro { margin-top: 54px; }
.booking-intro .lead { margin-bottom: 0; }
.muted { color: var(--muted); }
.event-list { display: grid; gap: 14px; margin-top: 20px; text-align: left; }
.event-card { --event-color: var(--brand); display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: stretch; padding: 20px; border: 2px solid var(--line); border-radius: 18px; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.event-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--event-color) 45%, white); box-shadow: 0 14px 30px rgba(38,38,38,.08); }
.event-icon { width: 52px; height: 52px; align-self: start; display: grid; place-items: center; border-radius: 16px; background: var(--brand); color: white; font-size: 25px; font-weight: 700; }
.event-icon svg { width: 27px; height: 27px; }
.event-copy { display: grid; gap: 5px; }
.event-copy strong { font-size: 18px; }
.event-copy small, .event-copy span { color: var(--muted); }
.event-copy span { font-size: 14px; line-height: 1.45; }
.arrow { align-self: center; color: var(--brand); font-size: 22px; }
.privacy-note { margin: 22px 0; text-align: center; color: var(--muted); font-size: 12px; }
.public-footer { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px auto 0; color: var(--muted); font-size: 12px; text-align: center; }
.public-footer a { color: inherit; text-decoration: none; }
.public-footer a:hover { color: var(--brand-dark); }
.public-footer img { width: auto; height: 22px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .72; }
.booking-shell { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 28px; align-items: start; }
.booking-shell > .public-footer { grid-column: 2; }
.booking-card { min-height: 650px; display: grid; grid-template-columns: 350px minmax(0,1fr); overflow: hidden; }
.back-link { margin-top: 28px; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: white; text-decoration: none; box-shadow: 0 8px 20px rgba(38,38,38,.07); font-size: 20px; }
.meeting-summary { position: relative; padding: 48px 40px; border-right: 2px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--event-color) 7%, white), white 42%); }
.meeting-summary .company-brand { justify-content: flex-start; font-size: 13px; }
.meeting-summary .company-brand img { max-width: 135px; height: 27px; }
.meeting-summary:before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--event-color); }
.meeting-summary h1 { font-size: 26px; letter-spacing: -.03em; }
.meeting-summary > p:not(.muted) { color: var(--muted); line-height: 1.6; }
.fact-list { display: grid; gap: 15px; padding: 0; margin: 32px 0 0; list-style: none; color: #393939; font-weight: 650; }
.fact-list li { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: center; }
.fact-list span { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; color: var(--event-color); }
.fact-list span svg { width: 20px; height: 20px; stroke-width: 2; }
.fact-list li.fact-subnote { align-items: start; }
.fact-list li.fact-subnote small { font-size: 13px; font-weight: 500; line-height: 1.45; color: var(--muted); }
.slot-picker, .details-form { padding: 48px; min-width: 0; }
.day-strip { display: flex; gap: 9px; margin: 30px -4px 26px; padding: 4px 4px 10px; overflow-x: auto; scrollbar-width: thin; }
.day-pill { flex: 0 0 66px; display: grid; gap: 4px; place-items: center; padding: 12px 7px; border: 2px solid var(--line); border-radius: 16px; background: white; text-decoration: none; transition: .18s ease; }
.day-pill span, .day-pill small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.day-pill strong { font-size: 19px; }
.day-pill:not(.empty):hover, .day-pill.selected { border-color: var(--brand); background: #fff0f3; color: var(--brand-dark); }
.day-pill.empty { opacity: .42; }
.selected-day-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; }
.selected-day-heading span { color: var(--muted); font-size: 13px; }
.slot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.slot-button { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 15px 16px; border: 2px solid #ff9cb2; border-radius: 13px; background: white; color: var(--brand-dark); font-weight: 750; text-decoration: none; transition: .18s ease; }
.slot-button span { opacity: 0; font-size: 12px; transition: .18s ease; }
.slot-button:hover { background: var(--brand); border-color: var(--brand); color: white; }
.slot-button:hover span { opacity: 1; }
.slot-button.locked { border-color: #bfbfbf; background: repeating-linear-gradient(135deg,#f8f8f8,#f8f8f8 8px,#f1f1f1 8px,#f1f1f1 16px); color: #757575; cursor: not-allowed; }
.slot-button.locked span { opacity: 1; font-size: 10px; }
.slot-button.urgent-unlocked { border-color: var(--brand); background: #fff0f3; }
.urgency-access { margin-top: 20px; padding: 15px; border: 2px solid #e0e0e0; border-radius: 14px; background: #fafafa; color: var(--muted); }
.urgency-access summary { color: var(--ink); font-weight: 750; cursor: pointer; }
.urgency-access form { margin-top: 14px; }
.urgency-access form > div { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
.urgency-access label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 750; }
.urgency-access .primary-button { min-height: 44px; }
.urgency-access.active { display: grid; gap: 4px; border-color: #ff9cb2; background: #fff0f3; color: var(--brand-dark); }
.empty-state { grid-column: 1/-1; display: grid; gap: 6px; justify-items: center; padding: 36px 20px; border: 1px dashed #d7dae3; border-radius: 16px; background: #fafbfc; text-align: center; }
.empty-state span { color: var(--muted); font-size: 14px; }
.empty-state.paused { margin-top: 32px; border-color: #ffd59c; background: #fff8ee; }
.detail-card { min-height: 670px; }
.details-form form { margin-top: 28px; }
.field, .form-grid > div, .manage-form > div { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .form-grid label, .manage-form label { font-size: 13px; font-weight: 750; }
.field label span { color: #df3b53; }
input:not([type=checkbox]):not([type=hidden]), select, textarea { width: 100%; padding: 13px 14px; border: 1px solid #d9dce5; border-radius: 11px; background: white; color: var(--ink); outline: none; transition: .15s; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,26,76,.12); }
textarea { resize: vertical; }
.field small, .form-grid small { color: var(--muted); line-height: 1.45; }
.error, .errorlist { color: #b4233d !important; }
.errorlist { margin: 0; padding-left: 18px; font-size: 13px; }
.form-alert { padding: 13px 15px; margin-bottom: 16px; border-radius: 10px; background: #fff0f2; color: #9b1c31; font-size: 14px; }
.primary-button, .secondary-button { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; font-weight: 750; text-decoration: none; cursor: pointer; }
.primary-button { width: 100%; margin-top: 8px; background: var(--brand); color: white; box-shadow: 0 10px 24px rgba(220,10,66,.22); }
.primary-button:hover { background: var(--brand-dark); }
.secondary-button { border: 1px solid var(--line); background: white; color: var(--ink); }
.form-footnote { margin: 14px auto 0; max-width: 430px; color: var(--muted); font-size: 11px; line-height: 1.5; text-align: center; }
.confirmation-card { padding: 62px; text-align: center; }
.success-mark { width: 68px; height: 68px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 50%; background: var(--mint); color: var(--brand-dark); font-size: 29px; font-weight: 800; }
.confirmation-details { display: grid; gap: 1px; margin: 34px 0 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); text-align: left; }
.confirmation-details > div { display: grid; grid-template-columns: 130px 1fr; gap: 15px; padding: 17px; background: white; }
.confirmation-details span { color: var(--muted); font-size: 13px; }
.confirmation-details strong { font-size: 14px; }
.toast-stack { position: fixed; z-index: 10; top: 18px; left: 50%; transform: translateX(-50%); }
.toast { padding: 13px 18px; border-radius: 12px; background: #262626; color: white; box-shadow: var(--shadow); }

/* Owner dashboard */
.manage-page { min-height: 100vh; background: #f4f5f8; }
.manage-header { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px)/2)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); }
.brand { display: flex; gap: 12px; align-items: center; font-weight: 850; text-decoration: none; }
.brand img { width: auto; max-width: 156px; height: 34px; object-fit: contain; }
.brand span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--brand); color: white; }
.manage-header nav { display: flex; gap: 22px; }
.manage-header nav a { color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
.manage-shell { width: min(1180px, calc(100% - 38px)); margin: 0 auto; padding: 44px 0 80px; }
.page-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.page-heading h1 { margin-top: 7px; font-size: 36px; }
.page-heading p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); }
.primary-button.compact { width: auto; min-height: 44px; margin: 0; }
.status-banner { display: flex; gap: 12px; align-items: center; padding: 15px 18px; margin-bottom: 22px; border-radius: 13px; }
.status-banner.warning { background: #fff3dd; color: #75510b; }
.status-banner span { flex: 1; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-bottom: 20px; }
.metric-grid article, .panel { border: 2px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 5px 18px rgba(38,38,38,.035); }
.metric-grid article { display: grid; gap: 6px; padding: 22px; }
.metric-grid span, .metric-grid small { color: var(--muted); font-size: 12px; }
.metric-grid strong { font-size: 27px; }
.metric-grid .metric-link { overflow: hidden; font-size: 16px; text-overflow: ellipsis; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
.dashboard-grid > * { min-width: 0; }
.panel { padding: 24px; }
.panel-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.panel-heading h2 { margin: 0; font-size: 21px; }
.panel-heading p:not(.eyebrow) { margin: 6px 0 0; color: var(--muted); }
.panel-heading > a { color: var(--brand); font-weight: 750; text-decoration: none; }
.appointment-list { display: grid; }
.appointment-row { display: grid; grid-template-columns: 52px 1fr auto 20px; gap: 14px; align-items: center; padding: 15px 5px; border-top: 1px solid var(--line); text-decoration: none; }
.appointment-row time { width: 46px; height: 46px; display: grid; place-items: center; align-content: center; border-radius: 12px; background: #fff0f3; color: var(--brand-dark); }
.appointment-row time strong { line-height: 1; font-size: 19px; }
.appointment-row time span { font-size: 9px; text-transform: uppercase; }
.appointment-main { display: grid; gap: 4px; }
.appointment-main small { color: var(--muted); }
.status { padding: 5px 9px; border-radius: 999px; background: #eef0f4; color: var(--muted); font-size: 11px; font-weight: 750; }
.status.confirmed, .status.live { background: var(--mint); color: var(--brand-dark); }
.status.pending { background: #fff0cc; color: #7a4b00; }
.status.cancelled, .status.no_show { background: #ffe3e8; color: #a5002f; }
.status.completed { background: #e8edf3; color: var(--ink); }
.timeoff-list > div { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeoff-list > div > span { flex: 1; display: grid; gap: 3px; }
.timeoff-list small { color: var(--muted); }
.icon-button { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 20px; }
.event-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.event-admin-card { display: grid; grid-template-columns: 5px 1fr auto 18px; gap: 14px; align-items: center; min-height: 82px; padding: 12px 16px 12px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.event-admin-card .color-line { align-self: stretch; border-radius: 0 5px 5px 0; background: var(--event-color); }
.event-admin-card > div { display: grid; gap: 5px; }
.event-admin-card small { color: var(--muted); }
.schedule-panel { margin-bottom: 20px; }
.schedule-admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.schedule-admin-card { display: grid; grid-template-columns: 44px 1fr auto 18px; gap: 12px; align-items: center; min-height: 82px; padding: 14px; border: 2px solid var(--line); border-radius: 14px; text-decoration: none; }
.schedule-admin-card:hover { border-color: #ff9cb2; }
.schedule-admin-card > span:nth-child(2) { display: grid; gap: 5px; }
.schedule-admin-card small { color: var(--muted); }
.schedule-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--brand); color: white; font-size: 20px; }
.subtle-link { color: var(--brand); font-size: 13px; font-weight: 700; text-decoration: none; }
.manage-form { display: grid; gap: 20px; }
.form-panel { margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 24px; }
.form-grid.two-columns > div:has(textarea) { grid-column: span 2; }
.form-grid > div:has(input[type=checkbox]) { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 10px 0; }
.form-grid > div:has(input[type=checkbox]) label { order: 2; }
.form-grid > div:has(input[type=checkbox]) input { order: 1; }
.form-grid .helptext { flex-basis: 100%; order: 3; }
.integration-note { margin: 12px 0 0; padding: 13px 15px; border-radius: 11px; background: #fff0f3; color: #8d1230; font-size: 13px; }
.sticky-actions { position: sticky; bottom: 14px; z-index: 5; display: flex; justify-content: flex-end; gap: 10px; padding: 13px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(38,38,38,.1); backdrop-filter: blur(12px); }

/* Time zone chooser */
.timezone-trigger { display: inline-flex; align-items: center; gap: 10px; margin: 3px 0 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); cursor: pointer; }
.timezone-trigger .meta-icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.timezone-trigger .meta-icon svg { width: 18px; height: 18px; stroke-width: 2; }
.timezone-trigger:hover { border-color: #ff9ab0; color: var(--brand-dark); }
.timezone-dialog { width: min(570px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 22px; color: var(--ink); box-shadow: 0 30px 90px rgba(38,38,38,.24); }
.timezone-dialog::backdrop { background: rgba(38,38,38,.48); backdrop-filter: blur(4px); }
.timezone-form { padding: 28px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dialog-close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f2f2f2; cursor: pointer; font-size: 23px; }
.timezone-form > label { display: block; margin: 22px 0 7px; font-size: 13px; font-weight: 800; }
.timezone-options { display: flex; flex-wrap: wrap; gap: 8px; max-height: 190px; margin: 15px 0; overflow-y: auto; }
.timezone-options button { padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); cursor: pointer; font-size: 12px; }
.timezone-options button:hover, .timezone-options button.selected { border-color: var(--brand); background: #fff0f3; color: var(--brand-dark); }
.availability-editor { display: grid; gap: 10px; }
.availability-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; align-items: end; padding: 13px; border: 2px solid var(--line); border-radius: 12px; }
.availability-row label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; font-weight: 700; }
.availability-row select, .availability-row input { padding: 10px !important; }
.notification-history { display: grid; gap: 7px; margin-top: 8px; }
.notification-history small { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.delete-field { align-self: center; display: flex !important; align-items: center; }
.add-hours-button { margin-top: 13px; cursor: pointer; }
.compact-form { width: min(680px, 100%); }
.appointment-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-content: start; }
.appointment-detail > div { display: grid; gap: 6px; }
.appointment-detail > div > span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.appointment-detail .full { grid-column: 1/-1; padding-top: 18px; border-top: 1px solid var(--line); }
.login-card { max-width: 480px; margin: auto; text-align: left; }
.connection-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.connection-chips span { padding: 8px 11px; border-radius: 999px; background: #f2f2f2; font-size: 12px; }
.busy-warning-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; margin-top: 16px; }
.busy-warning-list div { display: grid; gap: 4px; padding: 12px; border: 2px solid #f2c56b; border-radius: 12px; background: #fff8e8; }
.busy-warning-list span { color: var(--muted); font-size: 12px; }
.urgency-panel { margin-top: 20px; }
.urgency-form { align-items: end; }
.urgency-code-list { display: grid; margin-top: 18px; }
.urgency-code-list > div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 13px 0; border-top: 2px solid var(--line); }
.urgency-code-list > div > span:first-child { display: grid; gap: 4px; }
.urgency-code-list small { color: var(--muted); }
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px; }
.provider-card { display: grid; align-content: start; gap: 17px; }
.provider-card h2 { font-size: 20px; }
.provider-card p { color: var(--muted); line-height: 1.5; }
.provider-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: #f0f0f0; font-weight: 850; }
.provider-mark.google { color: #4285f4; }
.provider-mark.microsoft { color: #0078d4; }
.provider-mark.apple { color: #262626; }
.apple-provider details summary { cursor: pointer; list-style: none; }
.apple-connect-form { display: grid; gap: 9px; margin-top: 17px; }
.apple-connect-form > div { display: grid; gap: 6px; }
.connection-list { display: grid; }
.connection-list article { display: grid; grid-template-columns: 48px 1fr auto auto auto; gap: 12px; align-items: center; padding: 15px 0; border-top: 2px solid var(--line); }
.connection-list article > span:nth-child(2) { display: grid; gap: 4px; }
.connection-list small { color: var(--muted); }
.danger-button { min-height: 42px; padding: 0 14px; border: 2px solid #ff9cb2; border-radius: 11px; background: white; color: var(--brand-dark); font-weight: 700; cursor: pointer; }

@media (max-width: 820px) {
  .public-shell { width: min(100% - 20px, 680px); padding: 24px 0; }
  .booking-card { grid-template-columns: 1fr; }
  .meeting-summary { padding: 34px 28px; border-right: 0; border-bottom: 1px solid var(--line); }
  .meeting-summary .host-avatar { display: none; }
  .meeting-summary h1 { font-size: 29px; }
  .slot-picker, .details-form { padding: 32px 28px; }
  .booking-shell { display: block; }
  .back-link { position: absolute; z-index: 2; top: 34px; left: 22px; margin-top: 0; }
  .profile-card, .confirmation-card { padding: 38px 24px; }
  .metric-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .event-admin-grid { grid-template-columns: 1fr; }
  .schedule-admin-grid, .provider-grid, .busy-warning-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid.two-columns > div:has(textarea) { grid-column: auto; }
  .manage-header { padding: 0 18px; }
  .manage-header nav a:first-child { display: none; }
  .manage-header nav { gap: 12px; }
  .page-heading { align-items: start; flex-direction: column; }
}
@media (max-width: 520px) {
  .profile-card { padding: 22px 18px 34px; border-radius: 22px; }
  .profile-card > .company-brand { margin: -22px -18px 32px; padding: 15px 16px; }
  .profile-card > .company-brand img { max-width: 130px; height: 28px; }
  .company-brand { gap: 7px; font-size: 13px; }
  .brand-purpose { flex-basis: auto; }
  .host-avatar { width: 120px; height: 120px; }
  h1 { font-size: 34px; }
  .event-card { grid-template-columns: 44px 1fr 18px; padding: 15px 12px; }
  .event-icon { width: 44px; height: 44px; }
  .booking-card { border-radius: 20px; }
  .meeting-summary { padding: 30px 22px 24px 68px; }
  .slot-picker, .details-form { padding: 28px 20px; }
  .slot-grid { grid-template-columns: 1fr; }
  .slot-button span { opacity: 1; }
  .confirmation-details > div { grid-template-columns: 1fr; gap: 5px; }
  .appointment-row { grid-template-columns: 48px 1fr 18px; }
  .appointment-row .status { display: none; }
  .appointment-detail { grid-template-columns: 1fr; }
  .appointment-detail .full { grid-column: auto; }
  .appointment-detail a, .appointment-detail strong { overflow-wrap: anywhere; }
  .availability-row { grid-template-columns: 1fr; }
  .connection-list article { grid-template-columns: 46px 1fr; }
  .connection-list article > :nth-child(n+3) { grid-column: 2; justify-self: start; }
  .urgency-access form > div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
