@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  font-family: "DM Sans", "Segoe UI", sans-serif;
  color: #1d2c3d;
  background: #f5f7fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #192b40;
  --muted: #788695;
  --blue: #28577b;
  --blue-dark: #1d4567;
  --line: #e8edf2;
  --surface: #fff;
  --green: #438a71;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; min-height: 100vh; margin: 0; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #82b3d3;
  outline-offset: 3px;
}

.app-shell { min-height: 100vh; }
.sidebar-backdrop { display: none; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 5;
  display: flex; width: 256px; flex-direction: column;
  padding: 27px 18px 15px; border-right: 1px solid #e7ebef; background: #fff;
}
.brand { display: inline-flex; width: fit-content; flex-direction: column; margin: 2px 0 34px 9px; color: var(--ink); }
.brand-name { position: relative; font: 800 30px/1 "Manrope", "Segoe UI", sans-serif; letter-spacing: -2px; }
.brand-star { position: absolute; top: -3px; right: 17px; font: 12px/1 "DM Sans", sans-serif; }
.brand-caption { margin-top: 7px; font-size: 8px; letter-spacing: 2.1px; }
.workspace-switcher {
  display: flex; align-items: center; gap: 10px; padding: 11px 9px;
  border: 1px solid #e9edf1; border-radius: 9px; background: #fcfdfe;
}
.workspace-mark { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 8px; background: #eaf0f5; color: var(--blue); font: 700 15px "Manrope", sans-serif; }
.workspace-copy, .profile-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.workspace-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.workspace-copy small, .profile-copy small { color: var(--muted); font-size: 10px; }
.chevron { color: #8794a0; font-size: 18px; }
.nav-label { margin: 32px 0 10px 10px; color: #98a3ae; font-size: 9px; font-weight: 700; letter-spacing: 1.35px; }
.main-nav { display: grid; gap: 4px; }
.nav-link { display: flex; height: 42px; align-items: center; gap: 12px; padding: 0 11px; border-radius: 7px; color: #667586; font-size: 12px; font-weight: 500; transition: background .18s ease, color .18s ease; }
.nav-link:hover { background: #f5f7f9; color: var(--ink); }
.nav-link.active { background: #edf3f7; color: #244d6e; font-weight: 700; }
.nav-icon { display: grid; width: 20px; place-items: center; font-size: 17px; }
.sidebar-bottom { margin-top: auto; }
.help-card { padding: 15px 13px; border: 1px solid #e9edf0; border-radius: 9px; background: #f9fafb; }
.help-icon { display: grid; width: 27px; height: 27px; margin-bottom: 12px; place-items: center; border-radius: 7px; background: #e9f0f5; color: var(--blue); font-size: 14px; }
.help-card strong { display: block; font: 700 12px "Manrope", sans-serif; }
.help-card p { margin: 6px 0 12px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.help-card a { color: var(--blue); font-size: 10px; font-weight: 700; }
.help-card a span { margin-left: 3px; }
.profile-button { display: flex; width: 100%; align-items: center; gap: 9px; margin-top: 14px; padding: 12px 2px 2px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; }
.avatar { display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.avatar-navy { width: 31px; height: 31px; background: #e5edf3; color: #355a77; }
.avatar-light { width: 30px; height: 30px; background: #e6edf3; color: #3e617e; }
.profile-copy strong { font-size: 11px; }
.profile-menu { color: #778593; font-weight: 700; letter-spacing: 2px; }

.main-column { min-height: 100vh; margin-left: 256px; }
.topbar { display: flex; height: 65px; align-items: center; justify-content: space-between; padding: 0 42px; border-bottom: 1px solid #e8edf1; background: #fff; }
.breadcrumb { display: flex; align-items: center; gap: 11px; color: #86929d; font-size: 11px; }
.breadcrumb strong { color: #304257; font-weight: 600; }
.breadcrumb-slash { color: #c4cbd2; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.today-label { color: #768493; font-size: 10px; }
.icon-button { position: relative; display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #6b7a88; font-size: 16px; }
.icon-button:hover { background: #f2f5f7; }
.notification-button i { position: absolute; top: 6px; right: 6px; width: 5px; height: 5px; border: 1px solid white; border-radius: 50%; background: #5686a8; }
.mobile-menu-button { display: none; }
.content { width: min(100%, 1500px); margin: 0 auto; padding: 34px 42px 46px; }
.footer { display: flex; justify-content: space-between; padding: 15px 42px 22px; border-top: 1px solid #e9edf1; color: #909ba5; font-size: 9px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.eyebrow { margin: 0 0 8px; color: #758596; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; color: var(--ink); font: 700 27px/1.2 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.8px; }
.page-description { margin: 0; color: #7a8794; font-size: 12px; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 11px; font-weight: 700; transition: background .18s ease, transform .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: #fff; box-shadow: 0 3px 8px #28577b1c; }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { border-color: #e2e8ed; background: white; color: #536477; }
.button-secondary:hover { background: #f7f9fa; }
.button-quiet { border-color: #e6ebef; background: white; color: #647383; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; margin-bottom: 21px; }
.stat-card { position: relative; min-height: 107px; padding: 17px 18px; overflow: hidden; border: 1px solid #e9edf0; border-radius: 8px; background: white; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #778593; font-size: 10px; }
.stat-icon { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #edf3f7; color: #456c8a; font-size: 13px; }
.stat-value { margin: 7px 0 2px; color: #20354b; font: 700 23px "Manrope", sans-serif; letter-spacing: -.5px; }
.stat-foot { color: #92a0ab; font-size: 9px; }
.stat-foot .positive { color: var(--green); font-weight: 600; }

.agenda-layout { display: grid; grid-template-columns: minmax(0, 1fr) 258px; gap: 16px; align-items: start; }
.panel { border: 1px solid #e8edf1; border-radius: 8px; background: white; }
.calendar-panel { min-width: 0; overflow: hidden; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 19px; border-bottom: 1px solid #edf0f3; }
.panel-heading h2 { margin: 0 0 4px; color: #26384c; font: 700 13px "Manrope", sans-serif; }
.panel-heading p { margin: 0; color: #87939e; font-size: 10px; }
.calendar-controls { display: flex; align-items: center; gap: 8px; }
.month-label { min-width: 106px; color: #384b5e; font-size: 11px; font-weight: 700; text-align: center; text-transform: capitalize; }
.arrow-button { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #e7ecf0; border-radius: 5px; background: #fff; color: #69798a; cursor: pointer; }
.arrow-button:hover { background: #f5f8fa; }
.today-button { height: 27px; padding: 0 9px; border: 1px solid #e7ecf0; border-radius: 5px; background: white; color: #657586; cursor: pointer; font-size: 9px; font-weight: 600; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; padding: 14px 17px 15px; border-bottom: 1px solid #edf0f3; }
.day-button { display: grid; min-height: 58px; align-content: center; justify-items: center; gap: 5px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #788694; cursor: pointer; }
.day-button:hover { background: #f7f9fa; }
.day-name { font-size: 9px; }
.day-number { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: #34485d; font-size: 11px; font-weight: 600; }
.day-button.selected { background: #eff4f7; color: #2f5b7b; }
.day-button.selected .day-number { background: var(--blue); color: white; }
.day-button.is-today .day-name { color: #2f5b7b; font-weight: 700; }
.day-dot { width: 3px; height: 3px; margin-top: -2px; border-radius: 50%; background: #77a0bd; }
.appointment-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 19px 10px; }
.appointment-header h3 { margin: 0; color: #36495d; font-size: 11px; font-weight: 700; }
.appointment-count { color: #8b97a2; font-size: 9px; }
.appointments { padding: 0 15px 9px; }
.appointment { display: grid; grid-template-columns: 47px 3px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 73px; border-top: 1px solid #f0f2f4; }
.appointment-time { color: #45586b; font-size: 10px; font-weight: 700; }
.appointment-rule { width: 3px; height: 37px; border-radius: 4px; background: #6c92ac; }
.appointment-rule.tone-sage { background: #75a28e; }
.appointment-rule.tone-sand { background: #c5a36f; }
.appointment-rule.tone-lilac { background: #9a8eb8; }
.appointment-main { min-width: 0; }
.appointment-title { overflow: hidden; margin: 0 0 5px; color: #2d4054; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.appointment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; color: #8895a0; font-size: 9px; }
.appointment-status { align-self: center; padding: 5px 7px; border-radius: 4px; background: #eef6f2; color: #4b856b; font-size: 8px; font-weight: 700; white-space: nowrap; }
.appointment-status.pending { background: #fbf4e8; color: #a17b3c; }
.empty-state { padding: 35px 10px 39px; color: #8895a0; font-size: 11px; text-align: center; }
.empty-state strong { display: block; margin-bottom: 5px; color: #43566a; font-size: 12px; }
.empty-state .button { margin-top: 12px; }
.side-stack { display: grid; gap: 14px; }
.side-panel { padding: 16px; }
.side-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.side-title h2 { margin: 0; color: #304257; font: 700 12px "Manrope", sans-serif; }
.text-link { color: #46708e; font-size: 9px; font-weight: 700; }
.overview-item { display: flex; align-items: center; gap: 9px; margin: 12px 0; }
.overview-item:last-child { margin-bottom: 1px; }
.service-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 7px; background: #eef3f6; color: #557a95; font-size: 13px; }
.service-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 4px; }
.service-copy strong { overflow: hidden; color: #405367; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.service-copy small { color: #8a96a1; font-size: 9px; }
.service-price { color: #415468; font-size: 10px; font-weight: 700; white-space: nowrap; }
.availability { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-top: 1px solid #eff2f4; color: #687888; font-size: 10px; }
.availability strong { color: #344b60; font-size: 10px; }
.availability-note { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0 0; color: #83919d; font-size: 9px; line-height: 1.55; }
.availability-note span { color: #579176; font-size: 12px; }
.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 15px; }
.search-box { display: flex; width: min(100%, 320px); height: 37px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #e5ebef; border-radius: 6px; background: white; color: #8b97a1; }
.search-box input { width: 100%; border: 0; outline: 0; color: #34495e; font-size: 10px; }
.search-box input::placeholder { color: #9ba6af; }
.data-list { overflow: hidden; }
.data-row { display: grid; grid-template-columns: minmax(170px, 1.3fr) minmax(100px, 1fr) minmax(100px, .8fr) 100px; gap: 15px; align-items: center; min-height: 64px; padding: 9px 18px; border-top: 1px solid #eff2f4; color: #687888; font-size: 10px; }
.data-row:first-child { border-top: 0; }
.data-head { min-height: 40px; background: #fafbfc; color: #87939e; font-size: 9px; font-weight: 700; }
.data-primary { color: #34495d; font-size: 10px; font-weight: 700; }
.data-secondary { display: block; margin-top: 4px; color: #929da7; font-size: 9px; font-weight: 400; }
.list-status { justify-self: start; padding: 5px 8px; border-radius: 4px; background: #edf5f1; color: #54836d; font-size: 8px; font-weight: 700; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.team-card, .service-card { padding: 19px; }
.team-card-top { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; }
.team-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #e9eff4; color: #456b88; font-size: 11px; font-weight: 700; }
.team-name { margin: 0 0 4px; color: #33485d; font-size: 11px; font-weight: 700; }
.team-role { color: #85919c; font-size: 9px; }
.team-detail { display: flex; justify-content: space-between; padding-top: 11px; border-top: 1px solid #edf0f2; color: #85919c; font-size: 9px; }
.team-detail strong { color: #526679; font-size: 9px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { display: flex; min-height: 150px; flex-direction: column; }
.service-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.service-card .service-icon { width: 35px; height: 35px; }
.service-card h2 { margin: 14px 0 5px; color: #32475c; font: 700 12px "Manrope", sans-serif; }
.service-card p { margin: 0; color: #86929e; font-size: 9px; line-height: 1.5; }
.service-card-foot { display: flex; justify-content: space-between; margin-top: auto; padding-top: 15px; color: #607286; font-size: 9px; }
.service-card-foot strong { color: #344d63; font-size: 10px; }
.settings-card { max-width: 710px; padding: 22px; }
.settings-card h2 { margin-bottom: 5px; color: #30445a; font: 700 13px "Manrope", sans-serif; }
.settings-card > p { margin-bottom: 22px; color: #85919c; font-size: 10px; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.settings-form .field-wide { grid-column: 1 / -1; }
.inline-editor { margin-bottom: 15px; }
.editor-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: 8px; }

.booking-dialog { width: min(100% - 30px, 505px); max-width: none; max-height: min(90vh, 760px); padding: 0; overflow: auto; border: 1px solid #e5eaee; border-radius: 12px; background: white; box-shadow: 0 20px 70px #152b4030; }
.booking-dialog::backdrop { background: #15283b80; backdrop-filter: blur(2px); }
.booking-dialog form { padding: 24px; }
.dialog-heading { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.dialog-heading h2 { margin: 0 0 6px; color: var(--ink); font: 700 20px "Manrope", sans-serif; letter-spacing: -.5px; }
.dialog-subtitle { margin: 0; color: #82909c; font-size: 10px; }
.dialog-close { width: 30px; height: 30px; border: 0; border-radius: 6px; background: #f4f6f8; color: #6e7c88; cursor: pointer; font-size: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 12px; }
.field { display: flex; flex-direction: column; gap: 7px; color: #516274; font-size: 10px; font-weight: 600; }
.field-wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #e3e9ee; border-radius: 5px; background: white; color: #3a4d60; font-size: 10px; }
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a2acb5; }
.optional { margin-left: 4px; color: #99a4ad; font-size: 9px; font-weight: 400; }
.form-error { min-height: 14px; margin: 10px 0 0; color: #a54747; font-size: 10px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 13px; padding-top: 15px; border-top: 1px solid #edf0f2; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 10; padding: 12px 17px; transform: translateY(15px); border-radius: 7px; background: #203a51; box-shadow: 0 7px 24px #14273b30; color: white; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.visible { transform: translateY(0); opacity: 1; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }

.login-screen { display: grid; min-height: 100vh; grid-template-columns: 1fr minmax(320px, 480px) 1fr; grid-template-rows: auto 1fr auto; gap: 20px; align-items: center; padding: 30px clamp(22px, 7vw, 100px); background: radial-gradient(ellipse at 80% 15%, #e8eef4 0, transparent 35%), #f6f8fa; }
.login-brand { grid-column: 1 / -1; grid-row: 1; margin: 0; }
.login-card { grid-column: 2; grid-row: 2; padding: 38px; border: 1px solid #e7ecf0; border-radius: 12px; background: #fff; box-shadow: 0 18px 55px #18344b0d; animation: enter-soft .32s ease both; }
.login-card h1 { margin: 0 0 9px; font-size: 30px; }
.login-description { margin: 0 0 25px; color: #7a8794; font-size: 12px; line-height: 1.6; }
.login-form { display: grid; gap: 16px; }
.login-form .form-error { min-height: 0; margin: -5px 0 0; }
.login-submit { width: 100%; min-height: 44px; margin-top: 1px; }
.login-support { margin: 20px 0 0; color: #8995a0; font-size: 10px; line-height: 1.55; text-align: center; }
.login-support a { color: var(--blue); font-weight: 600; }
.login-footer { grid-column: 1 / -1; grid-row: 3; margin: 0; color: #96a0aa; font-size: 9px; text-align: center; }
.subscription-card { max-height: min(780px, calc(100vh - 150px)); overflow-y: auto; }
.subscription-price { margin: 0 0 16px; color: var(--blue); font: 700 18px/1.4 "Manrope", "Segoe UI", sans-serif; }
.subscription-terms { max-height: 220px; overflow-y: auto; margin-bottom: 16px; padding: 13px 14px; border: 1px solid #e7ecf0; border-radius: 7px; background: #f8fafb; color: #586a7b; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.subscription-consent { padding: 11px 0 3px; }
.subscription-consent input { width: 16px; height: 16px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue); }
.subscription-card .login-support { margin-bottom: 0; }
.trial-notice { margin: 16px 28px 0; padding: 12px 16px; border: 1px solid #dbe8ef; border-radius: 7px; background: #f3f8fb; color: #38556c; font-size: 11px; line-height: 1.55; }
.trial-notice a { margin-left: 6px; color: var(--blue); font-weight: 700; }
.request-screen { position: relative; isolation: isolate; display: flex; min-height: 100vh; flex-direction: column; padding: 25px clamp(20px, 6vw, 88px) 16px; background: radial-gradient(ellipse at 84% 18%, #e7edf3 0, transparent 33%), #f5f7fa; }
.request-screen::before { position: absolute; z-index: 0; inset: 0; background-image: radial-gradient(ellipse at 16% 72%, #dce6ef70 0, transparent 38%), repeating-linear-gradient(135deg, #33516a0a 0 1px, transparent 1px 8px); background-size: 130% 130%, 32px 32px; content: ""; pointer-events: none; animation: background-texture-drift 42s ease-in-out infinite alternate; }
.public-header, .public-footer { display: flex; width: min(100%, 1200px); align-items: center; justify-content: space-between; margin: 0 auto; }
.public-header, .request-layout, .public-footer { position: relative; z-index: 1; }
.public-header .login-brand { margin: 0; }
.public-login-link { color: #788695; font-size: 12px; }
.public-login-link strong { margin-left: 5px; color: var(--blue); font-weight: 700; }
.request-layout { display: grid; width: min(100%, 1200px); grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: stretch; gap: clamp(25px, 5vw, 68px); margin: auto; padding: 35px 0; }
.request-intro { position: relative; display: flex; min-height: 590px; overflow: hidden; flex-direction: column; justify-content: center; padding: clamp(36px, 5vw, 64px); border-radius: 16px; background: linear-gradient(145deg, #18334d 2%, #28577b 61%, #3b708d 100%); box-shadow: 0 20px 55px #17334d24; color: #fff; isolation: isolate; animation: intro-card-enter .85s cubic-bezier(.2,.75,.25,1) both; }
.request-intro::before { position: absolute; z-index: 0; inset: -35%; background: radial-gradient(ellipse at 36% 42%, #ffffff18 0, transparent 39%), radial-gradient(ellipse at 72% 68%, #9ac4dc16 0, transparent 42%); content: ""; pointer-events: none; animation: intro-light-drift 20s ease-in-out infinite alternate; }
.request-intro::after { position: absolute; z-index: -1; right: -92px; bottom: -105px; width: 340px; height: 340px; border: 1px solid #ffffff24; border-radius: 50%; box-shadow: 0 0 0 30px #ffffff08, 0 0 0 70px #ffffff06; content: ""; animation: intro-ring-drift 12s ease-in-out infinite alternate; }
.request-intro > .eyebrow, .request-intro > h1, .request-intro > .request-intro-copy, .request-intro > .request-benefits, .request-intro > .intro-signature { position: relative; z-index: 1; animation: intro-content-enter .7s cubic-bezier(.2,.75,.25,1) both; }
.request-intro > .eyebrow { animation-delay: .12s; }
.request-intro > h1 { animation-delay: .2s; }
.request-intro > .request-intro-copy { animation-delay: .28s; }
.request-intro > .request-benefits { animation-delay: .36s; }
.request-intro > .intro-signature { animation-delay: .46s; }
.request-intro .eyebrow { color: #b8ccda; }
.request-intro h1 { max-width: 520px; margin: 14px 0 17px; color: #fff; font: 700 clamp(32px, 4vw, 48px)/1.14 "Manrope", "Segoe UI", sans-serif; letter-spacing: -1.6px; }
.request-intro-copy { max-width: 440px; margin: 0; color: #d3e0e9; font-size: 14px; line-height: 1.8; }
.request-benefits { display: grid; gap: 17px; margin-top: 34px; color: #f1f5f8; font-size: 12px; }
.request-benefits span { display: flex; align-items: center; gap: 11px; }
.request-benefits span span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #ffffff38; border-radius: 8px; color: #d5e5ef; }
.intro-signature { display: flex; align-items: center; gap: 11px; margin-top: 44px; color: #c3d5e1; font-size: 10px; line-height: 1.55; }
.signature-mark { display: grid; width: 35px; height: 35px; place-items: center; border: 1px solid #ffffff40; border-radius: 50%; color: white; font: 700 13px "Manrope", sans-serif; }
.intro-orbit { position: absolute; z-index: -1; border: 1px solid #ffffff12; border-radius: 50%; pointer-events: none; }
.intro-orbit-one { top: -150px; right: -135px; width: 420px; height: 420px; animation: intro-orbit-drift 18s ease-in-out infinite alternate; }
.intro-orbit-two { top: -95px; right: -80px; width: 310px; height: 310px; animation: intro-orbit-drift 14s ease-in-out -4s infinite alternate-reverse; }
.request-card { align-self: center; padding: clamp(26px, 4vw, 42px); border: 1px solid #e7ecf0; border-radius: 14px; background: #fff; box-shadow: 0 18px 55px #18344b0d; animation: enter-soft .32s ease both; }
.request-card h2 { margin: 6px 0 8px; color: var(--ink); font: 700 25px/1.25 "Manrope", "Segoe UI", sans-serif; letter-spacing: -.5px; }
.request-form-description { margin: 0 0 23px; color: #7a8794; font-size: 12px; line-height: 1.65; }
.request-form { display: grid; gap: 14px; }
.request-form .field { gap: 7px; color: #526375; font-size: 11px; }
.request-form .field input { min-height: 43px; padding: 10px 12px; border-color: #e0e7ed; border-radius: 6px; color: #33475b; font-size: 12px; transition: border-color .18s ease, box-shadow .18s ease; }
.request-form .field input:focus { border-color: #6c91aa; box-shadow: 0 0 0 3px #28577b12; outline: 0; }
.request-form .field input::placeholder { color: #a2acb5; }
.request-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.request-consent { display: flex; align-items: flex-start; gap: 9px; color: #748190; font-size: 10px; line-height: 1.55; cursor: pointer; }
.request-consent input { width: 15px; height: 15px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--blue); }
.request-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.request-form .form-error { min-height: 0; margin: -4px 0 0; font-size: 11px; }
.request-submit { width: 100%; min-height: 46px; margin-top: 1px; }
.request-privacy { margin: 15px 0 0; color: #99a3ad; font-size: 9px; line-height: 1.5; text-align: center; }
.request-success { min-height: 370px; flex-direction: column; justify-content: center; }
.request-success:not([hidden]) { display: flex; }
.request-success .eyebrow { margin: 20px 0 0; }
.request-success > p:not(.eyebrow) { margin: 3px 0 24px; color: #788695; font-size: 13px; line-height: 1.7; }
.success-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #eaf4ef; color: #438a71; font-size: 23px; }
.request-success .button { align-self: flex-start; }
.public-footer { color: #96a0aa; font-size: 9px; }
.public-footer a { color: #667b8d; }
.public-footer a span { margin-left: 3px; color: var(--blue); }
.profile-card, .password-card { margin-bottom: 14px; }
.profile-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #edf0f2; }
.profile-large-avatar { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: #e8eff4; color: #345d7a; font: 700 14px "Manrope", sans-serif; }
.profile-heading h2 { margin: 0 0 5px; color: #30445a; font: 700 15px "Manrope", sans-serif; }
.profile-heading p { margin: 0; color: #85919c; font-size: 10px; }
.avatar-button { padding: 0; border: 0; cursor: pointer; }
@keyframes enter-soft { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-card-enter { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes intro-content-enter { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
@keyframes intro-light-drift { from { transform: translate3d(-2%, -1%, 0) scale(.98); opacity: .65; } to { transform: translate3d(3%, 2%, 0) scale(1.04); opacity: 1; } }
@keyframes intro-ring-drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-12px, -10px, 0) scale(1.035); } }
@keyframes intro-orbit-drift { from { transform: translate3d(0, 0, 0) scale(1); opacity: .65; } to { transform: translate3d(-9px, 12px, 0) scale(1.04); opacity: 1; } }
@keyframes background-texture-drift { from { background-position: 0 0, 0 0; } to { background-position: 100% 100%, 32px 32px; } }

@media (min-width: 1500px) {
  .content { padding-right: 54px; padding-left: 54px; }
}
@media (max-width: 1120px) {
  .sidebar { width: 225px; }
  .main-column { margin-left: 225px; }
  .topbar { padding-right: 28px; padding-left: 28px; }
  .content { padding-right: 28px; padding-left: 28px; }
  .agenda-layout { grid-template-columns: minmax(0, 1fr) 225px; gap: 12px; }
  .stats-grid { gap: 9px; }
  .stat-card { padding-right: 12px; padding-left: 12px; }
}
@media (max-width: 850px) {
  .sidebar { width: 215px; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 12px 0 30px #14273b12; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-backdrop:not([hidden]) { position: fixed; inset: 0; z-index: 4; display: block; border: 0; background: #15283b55; }
  .main-column { margin-left: 0; }
  .topbar { height: 59px; gap: 13px; padding: 0 22px; }
  .mobile-menu-button { display: grid; width: 29px; height: 29px; align-content: center; justify-items: center; gap: 4px; border: 1px solid #e5eaee; border-radius: 6px; background: white; cursor: pointer; }
  .mobile-menu-button span { width: 12px; height: 1.5px; background: #536779; }
  .breadcrumb { margin-right: auto; }
  .today-label { display: none; }
  .content { padding: 28px 22px 35px; }
  .footer { padding-right: 22px; padding-left: 22px; }
  .agenda-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .request-screen { padding-right: 24px; padding-left: 24px; }
  .request-layout { grid-template-columns: minmax(0, 1fr) minmax(340px, .95fr); gap: 22px; }
  .request-intro { min-height: 550px; padding: 32px; }
  .request-intro h1 { font-size: 36px; }
  .request-card { padding: 26px; }
}
@media (max-width: 600px) {
  .topbar { padding: 0 15px; }
  .topbar-actions { gap: 9px; }
  .content { padding: 24px 14px 30px; }
  .footer { gap: 12px; padding: 13px 14px 18px; font-size: 8px; }
  .page-heading { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
  h1 { font-size: 24px; }
  .page-heading > .button { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 13px; }
  .stat-card { min-height: 94px; padding: 12px; }
  .stat-value { font-size: 21px; }
  .stat-top { font-size: 9px; }
  .agenda-layout { gap: 12px; }
  .panel-heading { align-items: flex-start; padding: 14px 12px; }
  .calendar-controls { gap: 4px; }
  .month-label { min-width: 85px; font-size: 9px; }
  .today-button { padding: 0 6px; font-size: 8px; }
  .week-strip { gap: 1px; padding: 11px 6px; }
  .day-button { min-height: 52px; }
  .day-name { font-size: 8px; }
  .day-number { width: 25px; height: 25px; font-size: 10px; }
  .appointment { grid-template-columns: 37px 3px minmax(0, 1fr) auto; gap: 8px; min-height: 70px; }
  .appointments { padding-right: 10px; padding-left: 10px; }
  .appointment-time { font-size: 9px; }
  .appointment-meta { gap: 3px 6px; font-size: 8px; }
  .appointment-status { padding: 4px 5px; font-size: 7px; }
  .side-stack { grid-template-columns: 1fr; }
  .team-grid, .service-grid { grid-template-columns: 1fr; gap: 9px; }
  .data-row { grid-template-columns: minmax(120px, 1fr) minmax(85px, .8fr); gap: 8px; padding: 10px 12px; }
  .data-row > :nth-child(3), .data-row > :nth-child(4) { display: none; }
  .data-head > :nth-child(2) { text-align: right; }
  .data-head { grid-template-columns: 1fr 90px; }
  .view-toolbar { align-items: stretch; }
  .view-toolbar .button { padding: 0 9px; font-size: 9px; white-space: nowrap; }
  .search-box { flex: 1; min-width: 0; }
  .settings-form { grid-template-columns: 1fr; }
  .settings-form .field-wide { grid-column: auto; }
  .settings-card { padding: 16px; }
  .booking-dialog form { padding: 19px 16px; }
  .form-grid { gap: 13px 9px; }
  .dialog-actions { flex-wrap: wrap; }
  .dialog-actions .button-primary { flex: 1; }
  .login-screen { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; padding: 22px 15px; }
  .login-brand { grid-column: 1; }
  .login-card { grid-column: 1; width: 100%; max-width: 430px; justify-self: center; padding: 25px 21px; }
  .subscription-card { max-height: calc(100svh - 140px); }
  .trial-notice { margin: 12px 14px 0; }
  .login-footer { grid-column: 1; }
  .request-screen { min-height: 100svh; padding: 19px 15px 14px; }
  .public-header { gap: 12px; }
  .public-login-link { font-size: 10px; white-space: nowrap; }
  .request-layout { grid-template-columns: 1fr; gap: 14px; padding: 25px 0 20px; }
  .request-intro { min-height: 0; padding: 27px 23px; border-radius: 12px; }
  .request-intro h1 { max-width: 470px; margin-top: 9px; font-size: clamp(27px, 8vw, 35px); }
  .request-intro-copy { font-size: 12px; }
  .request-benefits { grid-template-columns: 1fr; gap: 10px; margin-top: 20px; font-size: 10px; }
  .request-benefits span span { width: 23px; height: 23px; }
  .intro-signature { margin-top: 21px; }
  .request-card { padding: 24px 20px; }
  .request-card h2 { font-size: 23px; }
  .request-fields-row { grid-template-columns: 1fr; gap: 14px; }
  .public-footer { gap: 12px; align-items: flex-start; font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
