:root {
  --ink: #172b49;
  --muted-ink: #536780;
  --cobalt: #1153a7;
  --cobalt-deep: #113b78;
  --paper: #fffefa;
  --surface: #edf2f8;
  --edge: #c9d5e2;
  --raised: 0 2px 2px #fff inset, 0 -1px 1px #aab8ca inset, 0 14px 25px #27486c18, 0 3px 7px #27486c16;
  --recessed: 0 2px 5px #6d809b24 inset, 0 1px 1px #fff;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background:
    radial-gradient(circle at 8% -10%, #fff 0, transparent 38%),
    radial-gradient(circle at 96% 8%, #d5e5f9 0, transparent 33%),
    repeating-linear-gradient(0deg, #ffffff15 0, #ffffff15 1px, transparent 1px, transparent 4px),
    #e9eef5;
}
.top {
  position: relative;
  z-index: 2;
  height: 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6fa 48%, #e6edf5 100%);
  border-bottom: 1px solid #b7c6d8;
  box-shadow: 0 1px 0 #fff inset, 0 6px 18px #173a661a;
}
.brand {
  height: 61px;
  min-width: 144px;
  justify-content: center;
  padding: 2px 10px;
  border: 1px solid #c3d0e0;
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #ecf3fb);
  box-shadow: 0 2px 2px #fff inset, 0 -2px 3px #b4c3d6 inset, 0 4px 9px #223f641c;
}
.brand:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #4a9deb;
  outline-offset: 3px;
}
.brand-logo { width: 112px; max-height: 58px; height: auto; object-fit: contain; }
.brand:has(.brand-logo[src^="/api/"]) { min-width: 112px; max-width: 185px; }
.brand:has(.brand-logo[src^="/api/"]) .brand-logo { width: auto; max-width: 166px; }
#root { max-width: 1160px; padding: 30px 22px 80px; }
.page { animation: page-in .32s ease-out both; }
@keyframes page-in { from { opacity: .55; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
h1, h2, h3 { color: #172847; }
h1 { letter-spacing: -.045em; }
p { color: var(--muted-ink); }
.eyebrow { color: #1a5ca9; letter-spacing: .18em; }
.ui-icon { width: 18px; height: 18px; flex: none; }
.primary, .secondary, .danger, .slot, .day-tab, .textbutton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.primary {
  color: #fff;
  background: linear-gradient(180deg, #4b94e0 0%, #1a66bc 14%, #1557ab 55%, #0c438b 100%);
  border: 1px solid #0a438c;
  border-bottom-color: #092f67;
  box-shadow: 0 1px 0 #a9d3ff inset, 0 -2px 2px #082d65 inset, 0 5px 10px #123e7538;
  text-shadow: 0 1px 1px #093467;
}
.primary:hover { background: linear-gradient(180deg, #60a3e8, #1e70c5 45%, #114c9a); box-shadow: 0 1px 0 #c3e0ff inset, 0 -2px 2px #082d65 inset, 0 7px 13px #123e7540; transform: translateY(-1px); }
.primary:active, .secondary:active, .slot:active, .day-tab:active { transform: translateY(2px); box-shadow: var(--recessed); }
.primary .ui-icon { filter: brightness(0) invert(1); }
.secondary {
  color: #164b8e;
  background: linear-gradient(180deg, #fff, #e6eef8);
  border: 1px solid #becfe2;
  box-shadow: 0 1px 0 #fff inset, 0 -1px 1px #bdcce0 inset, 0 3px 7px #27486c19;
}
.secondary:hover { background: linear-gradient(180deg, #fff, #d8e9fc); transform: translateY(-1px); }
.danger { background: linear-gradient(180deg, #fff5f1, #f3d8d7); border: 1px solid #dea5a5; box-shadow: 0 1px 0 #fff inset, 0 3px 7px #8f303028; }
.textbutton { border-radius: 9px; padding: 7px 9px; }
.textbutton:hover { background: #dce9f7; }
button:disabled { opacity: .48; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fffefa, #f6f9fd 72%, #eef4fb);
  border: 1px solid var(--edge);
  border-radius: 21px;
  box-shadow: var(--raised);
}
.card::after { content: ''; position: absolute; left: 20px; right: 20px; top: 1px; height: 1px; background: #fff; pointer-events: none; }
.card h2, .card h3 { margin-top: 0; }
.card p { margin: 8px 0 14px; }
.profile { background: linear-gradient(180deg, #fff, #e9f0f8); padding: 5px 6px 5px 5px; border: 1px solid #c9d5e3; border-radius: 999px; box-shadow: 0 1px 0 #fff inset, 0 2px 4px #23436422; }
.profile img { border: 2px solid #fff; box-shadow: 0 1px 3px #183d6833; }
.profile .textbutton { border-radius: 999px; min-height: 30px; padding: 4px 9px; }
.linkbox, .formline input, .formline select, .hours input {
  background: linear-gradient(180deg, #e9eff6, #fff 14%);
  border: 1px solid #b9c9db;
  box-shadow: var(--recessed);
  color: var(--ink);
}
.formline input, .formline select, .hours input { min-height: 40px; }
.formline input:focus, .formline select:focus, .hours input:focus { background: #fff; outline: 2px solid #76ace9; outline-offset: 1px; }
.linkbox { padding: 13px 14px; }
.connection-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3ec, #f9e5da);
  box-shadow: var(--recessed);
  color: #9b4e2f;
  font-size: 13px;
  font-weight: 750;
}
.connection-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #d66d45; box-shadow: 0 0 0 3px #d66d4522; }
.connection-status.connected { background: linear-gradient(180deg, #f4fff8, #e1f4e9); color: #286246; }
.connection-status.connected::before { background: #2ba76a; box-shadow: 0 0 0 3px #2ba76a24; }

/* Welcome: a raised instrument panel beside the sign-in action. */
.page-welcome { padding-top: clamp(26px, 8vh, 95px) !important; }
.welcome-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(18px, 4vw, 52px);
  align-items: center;
  padding: clamp(25px, 5vw, 58px);
  border-radius: 28px;
  border: 1px solid #c8d5e5;
  background: linear-gradient(138deg, #fffefa, #f4f8fc 65%, #e6eff9);
  box-shadow: 0 2px 0 #fff inset, 0 28px 55px #173f751e, 0 5px 12px #173f7517;
}
.welcome-copy h1 { max-width: 580px; font-size: clamp(39px, 5vw, 68px); line-height: 1.02; margin: 17px 0 18px; }
.welcome-copy > p { max-width: 530px; font-size: 17px; }
.welcome-cta { margin: 19px 0 0; padding: 13px 21px; text-decoration: none; }
.welcome-note { font-size: 13px !important; margin: 19px 0 0 !important; }
.welcome-panel {
  border: 1px solid #14477f;
  border-radius: 23px;
  padding: 20px;
  color: #f6faff;
  background: linear-gradient(145deg, #1c5797 0%, #133d78 58%, #0c2e62 100%);
  box-shadow: 0 2px 0 #6ba6e666 inset, 0 -5px 11px #071f4f inset, 0 16px 27px #12386b38;
}
.panel-label { letter-spacing: .19em; font-size: 10px; font-weight: 850; opacity: .72; margin: 2px 0 14px; }
.feature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 9px 0;
  padding: 14px;
  border: 1px solid #4a80bb55;
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff16, #071e4b36);
  box-shadow: 0 1px 1px #8ac1f545 inset, 0 3px 5px #061b4438 inset;
}
.feature-row .ui-icon { width: 24px; height: 24px; filter: brightness(0) invert(1); }
.feature-copy { display: grid; gap: 2px; }
.feature-copy strong { font-size: 15px; }
.feature-copy span { font-size: 12px; color: #d1e2f6; }

/* Host dashboard: compact desk cards and recessed controls. */
.dashboard-intro { margin-bottom: 21px; align-items: center; }
.dashboard-intro h1 { font-size: clamp(35px, 4vw, 52px); margin-bottom: 7px; }
.dashboard-intro p { margin: 0; }
.page-dashboard .grid { gap: 16px; }
.page-dashboard .card { padding: 24px; }
.page-dashboard .card-link, .page-dashboard .card-calendar { min-height: 235px; }
.card-icon {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 13px;
  padding: 10px;
  border-radius: 13px;
  background: linear-gradient(145deg, #eff7ff, #cbdff5);
  border: 1px solid #bfd4ec;
  box-shadow: 0 1px 0 #fff inset, 0 3px 6px #1d529824;
}
.card-link .card-icon { background: linear-gradient(145deg, #eef6ff, #cee2f8); }
.card-calendar .card-icon { background: linear-gradient(145deg, #e9f9f2, #c9e9d8); }
.card-settings .card-icon { background: linear-gradient(145deg, #f5f0ff, #dcd5f1); }
.card-bookings .card-icon { background: linear-gradient(145deg, #fff8e9, #f1dfbb); }
.card-account .card-icon { background: linear-gradient(145deg, #f7f4f1, #dddfe5); }
.page-dashboard .card h3 { font-size: 21px; margin-bottom: 4px; }
.page-dashboard .card h2 { margin-bottom: 5px; }
.page-dashboard .card-link .row { margin-top: 12px !important; }
.page-dashboard .card-calendar .secondary { margin-top: 2px; }
.card-settings .settings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.card-settings .hours {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(0, 1fr);
  grid-column: span 2;
  gap: 7px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d0dce8;
  border-radius: 11px;
  background: linear-gradient(180deg, #eef3f8, #f8fafc);
  box-shadow: 0 2px 4px #5e76941c inset, 0 1px 0 #fff;
}
.card-settings .hours span { font-size: 13px; font-weight: 700; }
.card-settings .hours input { min-width: 0; padding: 7px; }
.card-settings .settings > .primary { grid-column: 1 / -1; justify-self: start; margin-top: 6px; }
.booking-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 15px; align-items: center; }
.booking-item .muted { grid-column: 1 / -1; }
.booking-item .row { margin-top: 2px !important; }
.booking-actions { grid-column: 1 / -1; }
.booking-actions .secondary { min-height: 35px; padding: 6px 10px; font-size: 12px; }
.meeting-ready { color: #23644b; font-size: 12px; font-weight: 750; }
.page-dashboard .card-account { padding-bottom: 17px; }
.card-account .textbutton { color: #9e4250; margin-left: -8px; }

/* Host-controlled public identity and page editor. */
.customize-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.customize-top h1 { margin-bottom: 8px; }
.customize-top p { margin: 0; }
.customize-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(265px, .75fr); align-items: start; gap: 20px; }
.customize-editor { display: grid; gap: 14px; padding: 25px; }
.customize-editor > h2 { margin: 0; }
.customize-editor > p { margin: -6px 0 3px; font-size: 14px; }
.customize-editor h3 { margin: 8px 0 0; font-size: 17px; }
.customize-editor textarea, .customize-link-row input { width: 100%; min-height: 41px; padding: 10px; color: var(--ink); border: 1px solid #b9c9db; border-radius: 9px; background: linear-gradient(180deg, #e9eff6, #fff 14%); box-shadow: var(--recessed); font: inherit; }
.customize-editor textarea { resize: vertical; }
.field-hint { color: #71849c; font-size: 12px; font-weight: 500; }
.backdrop-swatches { display: flex; flex-wrap: wrap; gap: 9px; }
.backdrop-choice { min-height: 40px; padding: 8px 11px; border: 2px solid #d5dfeb; border-radius: 10px; color: #15345d; font-weight: 700; box-shadow: 0 2px 4px #163a671e; }
.backdrop-choice.selected { border-color: #1159ab; box-shadow: 0 0 0 3px #398de535, 0 3px 7px #163a672b; }
.backdrop-choice.theme-ocean { color: #fff; background: linear-gradient(140deg, #3383cf, #0c3a79); }
.backdrop-choice.theme-sand { background: linear-gradient(140deg, #fff4da, #d9ab76); }
.backdrop-choice.theme-mint { background: linear-gradient(140deg, #e5fff5, #8bcbb5); }
.backdrop-choice.theme-rose { background: linear-gradient(140deg, #fff0f1, #dba6b3); }
.backdrop-choice.theme-slate { color: #fff; background: linear-gradient(140deg, #78899e, #30445d); }
.customize-section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.customize-section-head .secondary { min-height: 35px; padding: 7px 10px; font-size: 12px; }
.customize-links { display: grid; gap: 8px; }
.customize-link-row { display: grid; grid-template-columns: minmax(90px, .8fr) minmax(140px, 1.4fr) auto; align-items: center; gap: 8px; }
.customize-link-row .textbutton { color: #9b3e51; font-size: 12px; }
.customize-media { display: grid; gap: 8px; padding-top: 7px; border-top: 1px solid #d5dfea; }
.customize-media p { font-size: 13px; margin: 0 0 2px; }
.media-rows { display: grid; gap: 8px; }
.media-row { display: grid; grid-template-columns: minmax(110px, .7fr) auto minmax(120px, 1fr) auto; align-items: center; gap: 8px; padding: 9px; border: 1px solid #d1ddeb; border-radius: 11px; background: #f5f9fd; }
.media-row strong { font-size: 13px; }.media-row .muted { font-size: 11px; }.media-row input { min-width: 0; width: 100%; font-size: 12px; }
.media-row.uploading { opacity: .6; pointer-events: none; }
.media-row .textbutton { color: #a34253; font-size: 12px; }
.media-row .textbutton[hidden] { display: none; }
.customize-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 10px; }
.customize-actions .secondary { text-decoration: none; }
.customize-preview { position: sticky; top: 18px; display: grid; gap: 12px; }
.customize-preview:has(.showcase-media) { position: static; }
.customize-preview > .eyebrow { padding-left: 5px; }
.customize-preview .booking-host { position: static; }
.customize-preview .booking-host h1 { font-size: 31px; }

/* Public booking: tactile day keys, one day of slots at a time. */
.page-booking { max-width: 1180px !important; }
body.public-booking #root { padding-bottom: 18px; }
.booking-footer { max-width: 1180px; margin: 0 auto 32px; padding: 18px 22px 0; border-top: 1px solid #90a6b44d; color: #5b7388; font-size: 12px; text-align: center; }
.booking-footer a { color: #315d80; font-weight: 650; text-decoration: none; }
.booking-footer a:hover, .booking-footer a:focus-visible { text-decoration: underline; }
.booking-layout { grid-template-columns: minmax(250px, 290px) minmax(0, 1fr); align-items: start; gap: 19px; }
.booking-host { position: sticky; top: 22px; padding: 28px; background: linear-gradient(155deg, #1f5c9f, #113c77 63%, #0a2a59); border-color: #0c3b78; box-shadow: 0 2px 0 #93c2f651 inset, 0 -5px 12px #061b46 inset, 0 18px 29px #123c742b; }
.booking-host:has(.showcase-media), .booking-host:has(.booking-links) { position: static; }
.booking-host.theme-sand { background: linear-gradient(150deg, #9b6042, #73442e 62%, #4c2d28); border-color: #73442e; }
.booking-host.theme-mint { background: linear-gradient(150deg, #287b75, #185e67 62%, #153f54); border-color: #185e67; }
.booking-host.theme-rose { background: linear-gradient(150deg, #a96276, #7d455e 62%, #4e304b); border-color: #7d455e; }
.booking-host.theme-slate { background: linear-gradient(150deg, #536b84, #344c68 62%, #1b314e); border-color: #344c68; }
.booking-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .24; }
.booking-host > :not(.booking-cover) { position: relative; z-index: 1; }
.booking-brand-logo { display: block; max-width: 170px; max-height: 58px; object-fit: contain; margin: 0 0 16px; filter: drop-shadow(0 2px 3px #082f5766); }
.booking-host::after { background: #93bfe455; }
.booking-host h1, .booking-host p, .booking-host .eyebrow { color: #fff; }
.booking-host h1 { font-size: clamp(28px, 3vw, 38px); overflow-wrap: anywhere; }
.booking-host p { color: #d8e8f7; }
.booking-host .booking-introduction { font-size: 13px; color: #e0edf9; white-space: pre-wrap; }
.showcase-media { display: grid; gap: 9px; margin-top: 19px; padding-top: 17px; border-top: 1px solid #ffffff38; color: #fff; font-size: 13px; }
.showcase-media video { display: block; width: 100%; max-height: 220px; border-radius: 10px; background: #10233f; }
.booking-links { display: grid; gap: 7px; margin-top: 16px; }
.booking-links a { color: #fff; padding: 8px 10px; border: 1px solid #ffffff65; border-radius: 9px; background: #ffffff1a; font-size: 13px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.booking-links a:hover { background: #ffffff36; }
.booking-theme-sand { background: radial-gradient(circle at 90% 4%, #f6ddc6, transparent 34%), #f5eee6; }
.booking-theme-mint { background: radial-gradient(circle at 90% 4%, #d0efe5, transparent 34%), #eaf5f0; }
.booking-theme-rose { background: radial-gradient(circle at 90% 4%, #f1d8e1, transparent 34%), #f8eff2; }
.booking-theme-slate { background: radial-gradient(circle at 90% 4%, #dbe5ee, transparent 34%), #eaf0f5; }
.host-avatar-frame { display: grid; place-items: center; width: 76px; height: 76px; padding: 4px; margin-bottom: 18px; overflow: hidden; border: 1px solid #bfdcf8; border-radius: 50%; background: linear-gradient(145deg, #78b7ee, #1b5ba3); box-shadow: 0 2px 0 #ffffff99 inset, 0 6px 15px #061b4590, 0 0 0 3px #ffffff2a; }
.host-avatar { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #dbeafa; }
.host-avatar-initials { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.host-icon { display: block; width: 46px; height: 46px; padding: 10px; margin-bottom: 20px; border-radius: 14px; filter: brightness(0) invert(1); background: #ffffff33; box-shadow: 0 2px 4px #092c5f inset, 0 1px 0 #ffffff45; }
.host-details { display: grid; gap: 9px; margin-top: 27px; padding-top: 19px; border-top: 1px solid #ffffff38; }
.host-detail { display: flex; align-items: center; gap: 10px; color: #eef6ff; font-size: 14px; font-weight: 650; }
.host-detail .ui-icon { width: 17px; height: 17px; filter: brightness(0) invert(1); }
.booking-calendar { min-width: 0; padding: 26px; }
.booking-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.booking-heading h2 { font-size: 27px; margin: 5px 0 0; }
.week-controls { display: flex; gap: 8px; }
.week-button { min-height: 38px; padding: 7px 10px; font-size: 13px; }
.week-button .ui-icon { width: 15px; height: 15px; }
.day-strip { display: grid; grid-auto-columns: minmax(78px, 1fr); grid-auto-flow: column; gap: 8px; overflow-x: auto; padding: 18px 2px 14px; scrollbar-width: thin; }
.day-tab {
  display: flex;
  flex-direction: column;
  min-width: 78px;
  min-height: 66px;
  gap: 1px;
  padding: 8px 6px;
  color: #355776;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, #edf2f7);
  border: 1px solid #c6d5e5;
  border-radius: 12px;
  box-shadow: 0 1px 0 #fff inset, 0 -1px 1px #bdcbd8 inset, 0 4px 7px #27486c19;
}
.day-tab small { font-size: 10px; font-weight: 700; color: #7187a0; }
.day-tab.selected { color: #fff; background: linear-gradient(180deg, #3781cf, #1557a8 60%, #0c3d7f); border-color: #0d448f; box-shadow: 0 1px 0 #9fcaff inset, 0 -2px 2px #0c3472 inset, 0 5px 9px #184a852f; }
.day-tab.selected small { color: #d7eaff; }
.slot-section { margin-top: 5px; padding: 18px; border: 1px solid #cfdae8; border-radius: 16px; background: linear-gradient(180deg, #eef3f8, #f8fbfe); box-shadow: 0 2px 6px #6e85a022 inset, 0 1px 0 #fff; }
.slot-section.awaiting-date { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 170px; text-align: center; }
.slot-section.awaiting-date h3 { margin: 9px 0 4px; }
.slot-section.awaiting-date p { margin: 0; color: #607690; font-size: 13px; }
.choose-date-icon { width: 28px; height: 28px; }
.slot-section h3 { font-size: 16px; margin: 0 0 13px; }
.slot-section .slots { margin: 0; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
.slot {
  min-height: 41px;
  padding: 7px 6px;
  font-size: 13px;
  white-space: nowrap;
  background: linear-gradient(180deg, #fff, #e8f1fb);
  border: 1px solid #bfd1e6;
  box-shadow: 0 1px 0 #fff inset, 0 -1px 1px #b8cce3 inset, 0 3px 6px #2a568a20;
}
.slot:hover, .slot.selected { color: #fff; background: linear-gradient(180deg, #448ed7, #1557aa); border-color: #0a478f; box-shadow: 0 1px 0 #abd1f5 inset, 0 4px 8px #18487e2b; }
.booking-form {
  max-width: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px;
  margin-top: 17px;
  border: 1px solid #d1dbe8;
  border-radius: 16px;
  background: linear-gradient(145deg, #fffefa, #f0f5fb);
  box-shadow: 0 2px 2px #fff inset, 0 5px 11px #25466f18;
}
.booking-form > .eyebrow, .booking-form > h3, .booking-form > .chosen-label, .booking-form > .primary { grid-column: 1 / -1; }
.booking-form > h3 { margin: -4px 0 0; font-size: 21px; }
.chosen-label { color: #244f80; padding: 10px 12px; border-radius: 9px; background: #eaf3fc; box-shadow: var(--recessed); font-size: 14px; }
.booking-form > .primary { justify-self: start; }
.result-card, .manage-card, .join-card { max-width: 640px; margin: 50px auto; padding: clamp(26px, 5vw, 50px); }
.result-icon, .manage-icon { display: block; width: 58px; height: 58px; padding: 12px; margin-bottom: 21px; border-radius: 17px; background: linear-gradient(145deg, #eaf8ed, #bfe7ca); border: 1px solid #a6d8b5; box-shadow: 0 1px 0 #fff inset, 0 5px 9px #2a694d24; }
.manage-icon { background: linear-gradient(145deg, #edf6ff, #cbdff7); border-color: #b7cee9; }
.result-card h1, .manage-card h1, .join-card h1 { font-size: clamp(32px, 4vw, 47px); }
.result-card .primary { text-decoration: none; margin-top: 9px; }
.manage-time { padding: 13px 15px; border-radius: 10px; background: #eff5fb; box-shadow: var(--recessed); }
.join-card .join-status { margin: 19px 0 12px; font-weight: 700; }
.join-card .join-button { text-decoration: none; }
body.meeting-live .top { display: none; }
.page-native { max-width: none !important; padding: 18px 20px 30px !important; }
.native-shell { max-width: 1480px; margin: 0 auto; }
.native-intro { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.native-logo { width: 87px; height: 48px; object-fit: contain; }
.native-intro h1 { flex: 1; margin: 0; font-size: 25px; }
.native-intro .secondary { text-decoration: none; }
.native-prejoin { max-width: 530px; margin: 7vh auto; padding: 30px; border: 1px solid #c9d6e3; border-radius: 19px; background: linear-gradient(145deg, #fffefa, #f6f9fd); box-shadow: var(--raised); text-align: center; }
.native-prejoin p { margin-top: 0; }
.native-frame { width: 100%; height: min(78vh, 860px); min-height: 460px; overflow: hidden; border: 1px solid #6b8eb4; border-radius: 17px; background: #080c16; box-shadow: 0 3px 4px #fff inset, 0 12px 28px #10233e45; }
.loading-state { padding: 25px; text-align: center; }
.page-privacy { margin: 32px auto 70px !important; padding: 30px 38px !important; border-radius: 20px; border: 1px solid #c9d6e3; background: linear-gradient(145deg, #fffefa, #f6f9fd); box-shadow: var(--raised); }
.page-privacy h2 { margin-top: 29px; }
#toast { border: 1px solid #9abbe0; background: linear-gradient(180deg, #29598f, #102d55); box-shadow: 0 1px 0 #84b4e3 inset, 0 8px 18px #10233e55; }

@media (max-width: 800px) {
  .customize-layout { grid-template-columns: 1fr; }
  .customize-preview { position: static; }
  .card-settings .settings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-settings .hours { grid-column: span 2; }
  .booking-layout { grid-template-columns: 235px minmax(0, 1fr); }
  .booking-host { padding: 22px; }
}
@media (max-width: 700px) {
  .customize-top { align-items: flex-start; flex-direction: column; }
  .customize-link-row { grid-template-columns: 1fr auto; }
  .customize-link-row input:nth-child(2) { grid-column: 1; }
  .customize-link-row .textbutton { grid-column: 2; grid-row: 1 / 3; }
  .media-row { grid-template-columns: 1fr auto; }
  .media-row input { grid-column: 1 / -1; grid-row: 2; }
  .top { height: 70px; padding: 0 13px; }
  .brand { height: 56px; min-width: 119px; padding: 2px 7px; }
  .brand-logo { width: 98px; max-height: 52px; }
  .profile > span { display: none; }
  #root { padding: 22px 13px 65px; }
  .welcome-shell { grid-template-columns: 1fr; padding: 24px 18px; }
  .welcome-copy h1 { font-size: clamp(36px, 9vw, 52px); }
  .welcome-panel { padding: 14px; }
  .feature-row { padding: 10px; }
  .page-dashboard .grid { grid-template-columns: 1fr; }
  .page-dashboard .card-link, .page-dashboard .card-calendar { min-height: 0; }
  .card-settings .settings { grid-template-columns: 1fr 1fr; }
  .card-settings .hours { grid-column: span 2; grid-template-columns: 70px 1fr 1fr; }
  .booking-layout { grid-template-columns: 1fr; }
  .booking-host { position: static; padding: 20px; }
  .host-icon { margin-bottom: 12px; }
  .host-details { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-top: 17px; padding-top: 14px; }
  .host-detail { font-size: 11px; gap: 4px; overflow-wrap: anywhere; }
  .booking-calendar { padding: 18px 13px; }
  .week-button span { display: none; }
  .week-button { width: 38px; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-form > * { grid-column: 1 / -1; }
  .page-native { padding: 12px 8px 22px !important; }
  .native-intro { flex-wrap: wrap; padding: 0 7px; }
  .native-intro h1 { font-size: 22px; }
  .native-frame { height: calc(100dvh - 160px); min-height: 460px; }
  .page-privacy { margin: 16px 12px 40px !important; padding: 24px 18px !important; }
}
@media (max-width: 390px) {
  .card-settings .settings { grid-template-columns: 1fr; }
  .card-settings .hours { grid-column: 1; }
  .host-detail { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .page { animation: none; }
  .primary, .secondary, .danger, .slot, .day-tab, .textbutton { transition: none; }
}
