:root{--navy:#062f5d;--teal:#08a8ad;--teal-dark:#078ea0;--green:#69bf50;--ink:#062e58;--line:#d9e9ec;--soft:#f4fbfc;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.45}a{text-decoration:none;color:inherit}.shell{width:min(1420px,calc(100% - 64px));margin:auto}.site-header{height:89px;background:#fff;border-bottom:1px solid #edf1f2;position:relative;z-index:20}.header-row{height:89px;display:flex;align-items:center;gap:34px}.brand{display:flex;align-items:center;min-width:405px}.logo-tooth{width:63px;height:64px;margin-right:7px}.brand>span{display:grid;grid-template-columns:auto auto;align-items:end;column-gap:8px}.brand b{font-size:38px;line-height:.9;color:#0a3c6c}.brand strong{font-size:25px;line-height:1;color:#59b44e}.brand small{grid-column:1/-1;font-size:12px;text-align:center;color:#0a3159;margin-top:5px}.header-row nav{display:flex;gap:37px;align-items:center;margin-left:auto}.header-row nav a{font-size:14px;font-weight:700;text-transform:uppercase;white-space:nowrap}.header-row nav a.active{color:#039da5;position:relative}.header-row nav a.active:after{content:'';position:absolute;left:0;right:0;bottom:-18px;height:2px;background:#039da5}.header-actions{display:flex;align-items:center;gap:18px;margin-left:20px}.header-phone{font-size:18px;font-weight:700;color:#0698a0;white-space:nowrap}.header-appointment{background:#062f5d;color:#fff;border-radius:8px;padding:13px 17px;font-size:12px;font-weight:700;white-space:nowrap}.menu{display:none;border:0;background:none;font-size:26px;color:var(--navy)}
.hero{position:relative;height:495px;overflow:hidden;background:#fff}.hero-grid{display:grid;grid-template-columns:43% 57%;height:495px}.hero-copy{position:relative;z-index:4;padding:49px 0 24px 50px;background:linear-gradient(90deg,#fff 0%,#fff 75%,rgba(255,255,255,.9) 86%,rgba(255,255,255,0) 100%)}.hero h1{margin:0;line-height:1}.hero h1 span{display:block;font:500 58px/1.04 'Dancing Script',cursive;color:#079da8;letter-spacing:-1px}.hero h1 strong{display:block;font-size:58px;line-height:1.04;color:#062f5d;letter-spacing:-2px;margin-top:4px}.hero-copy>p{font-size:19px;margin:23px 0 21px;color:#0a3158}.hero-buttons{display:flex;gap:25px}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;padding:16px 31px;font-weight:700;font-size:14px}.button.call{background:linear-gradient(135deg,#0eb4b5,#078fa8);color:#fff}.button.request{background:#fff;color:#07355f;border:1.5px solid #075291}.benefits{display:flex;gap:43px;margin-top:29px}.benefits>div{display:flex;align-items:center;gap:11px;font-size:12px;line-height:1.35}.mini-icon{font-size:32px;color:#06a2aa;font-weight:400}.hero-photo{height:100%;background-image:url('smile-hero.png');background-size:cover;background-repeat:no-repeat;background-position:50% 50%;position:relative}.hero-photo:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.62) 8%,rgba(255,255,255,.16) 20%,transparent 36%)}.wave{position:absolute;left:-2%;right:-2%;bottom:-28px;height:65px;background:linear-gradient(90deg,#058da2,#08a9ad);border-radius:50% 50% 0 0/46% 46% 0 0;transform:rotate(.4deg)}
.services{background:linear-gradient(180deg,#058da2 0,#057c99 100%);padding:18px 0 17px}.service-grid{display:grid;grid-template-columns:1.48fr repeat(4,1fr);gap:7px;max-width:1360px}.service-grid article{background:#fff;border-radius:12px;min-height:236px}.intro-card{padding:28px 28px 22px}.intro-card h2{font:500 32px/1.05 'Dancing Script',cursive;color:#059aa6;margin:0 0 17px}.intro-card p{font-size:13px;line-height:1.7;margin:0 0 15px;max-width:300px}.small-button{display:inline-block;background:#089da8;color:#fff;padding:10px 18px;border-radius:7px;font-size:12px;font-weight:700}.service-card{text-align:center;padding:18px 10px 14px}.circle-icon{width:61px;height:61px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:linear-gradient(145deg,#37c5c0,#1496a1)}.circle-icon svg{width:39px;height:39px;fill:#fff;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.circle-icon .line{fill:none}.service-card h3{font-size:15px;margin:0 0 8px;color:#062f5d}.service-card p{font-size:13px;line-height:1.45;margin:0 0 11px}.service-card a{color:#0499a2;font-size:12px;font-weight:600}
.quick-info{background:#eef9fb}.quick-grid{min-height:137px;display:grid;grid-template-columns:1.15fr 1.05fr 1.2fr 1fr;gap:32px;align-items:center}.quick-item{display:flex;gap:15px;align-items:flex-start}.quick-symbol{width:49px;height:49px;display:grid;place-items:center;border-radius:50%;font-size:24px;color:#fff;background:#11a9ad;flex:0 0 49px}.quick-item b{font-size:13px}.quick-item p{margin:5px 0 0;font-size:12px;line-height:1.65}.quick-item a{font-size:11px;text-decoration:underline;color:#058e9b}.stars{font-size:18px!important;color:#f6ad00}.stars span{color:#123b5d;font-size:11px}.office-photo{height:105px;border-radius:16px;overflow:hidden}.office-photo img{width:100%;height:100%;object-fit:cover;display:block}
.content-section{padding:72px 0}.soft{background:#f6fbfc}.split{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px;align-items:start}.eyebrow{font-size:12px;letter-spacing:.16em;color:#079ba5;font-weight:700}.content-section h2,.appointment h2{font-size:42px;line-height:1.08;margin:10px 0 0;color:#07355f}.split p{font-size:17px;color:#436175;margin-top:30px}.reviews{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:26px}.reviews blockquote{margin:0;padding:25px;background:#fff;border:1px solid #dcebed;border-radius:15px;font-size:17px}.reviews cite{display:block;font-size:12px;font-style:normal;color:#718692;margin-top:14px}.appointment{background:linear-gradient(145deg,#06365f,#087b89);color:#fff;padding:72px 0}.appointment-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:62px}.appointment h2{color:#fff}.appointment p{color:#d9edf0}.light{color:#71e3e2}.notice{border:1px solid rgba(255,255,255,.25);padding:14px;border-radius:10px;font-size:13px;margin-top:25px}.scheduler{background:#fff;color:#123956;border-radius:17px;padding:23px}.scheduler-head{display:flex;justify-content:space-between;border-bottom:1px solid #dbe9eb;padding-bottom:12px}.scheduler-head span{font-size:11px;color:#7a8c97}.slots{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.slot{border:1px solid #d6e7e9;background:#fff;border-radius:8px;padding:9px;font:inherit;font-size:12px;cursor:pointer}.slot.selected{background:#e1fbfb;border-color:#0ba8af}.scheduler form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scheduler label{font-size:12px;font-weight:600}.scheduler input:not([type=checkbox]){width:100%;border:1px solid #d7e7e9;border-radius:8px;padding:10px;margin-top:5px;font:inherit}.wide{grid-column:1/-1}.consent{display:flex;gap:8px;font-weight:400!important}.form-msg{font-size:12px;color:#078893;margin:0}footer{background:#052d4c;color:#cce4e9;padding:22px 0;font-size:12px}.footer a{color:#fff}
@media(max-width:1200px){.shell{width:min(100% - 32px,1120px)}.brand{min-width:320px}.brand b{font-size:31px}.brand strong{font-size:20px}.header-row nav{gap:20px}.header-actions .header-phone{display:none}.hero h1 span,.hero h1 strong{font-size:49px}.hero-copy{padding-left:15px}.benefits{gap:24px}.service-grid{grid-template-columns:1.35fr repeat(4,1fr)}}
@media(max-width:930px){.site-header,.header-row{height:auto;min-height:76px}.brand{min-width:auto}.menu{display:block;margin-left:auto}.header-actions{display:none}.header-row{flex-wrap:wrap}.header-row nav{display:none;flex-basis:100%;flex-direction:column;align-items:flex-start;padding:8px 0 20px}.header-row nav.open{display:flex}.hero{height:auto}.hero-grid{height:auto;grid-template-columns:1fr}.hero-copy{padding:45px 15px 35px;background:#fff}.hero-photo{height:500px;background-position:center}.hero-photo:before{background:linear-gradient(180deg,rgba(255,255,255,.3),transparent 24%)}.services{padding-top:25px}.service-grid{grid-template-columns:repeat(2,1fr)}.intro-card{grid-column:1/-1}.quick-grid{grid-template-columns:1fr 1fr;padding:20px 0}.split,.appointment-grid{grid-template-columns:1fr}.reviews{grid-template-columns:1fr}}
@media(max-width:580px){.shell{width:min(100% - 24px,1100px)}.logo-tooth{width:46px}.brand b{font-size:25px}.brand strong{font-size:15px}.brand small{font-size:9px}.hero h1 span,.hero h1 strong{font-size:43px}.hero-copy>p{font-size:17px}.desktop-only{display:none}.hero-buttons,.benefits{flex-direction:column}.hero-photo{height:390px;background-position:54% center}.service-grid,.quick-grid,.scheduler form,.slots{grid-template-columns:1fr}.intro-card{grid-column:auto}.wide{grid-column:auto}.office-photo{height:150px}}
/* V10 appointment calendar */
.appointment-steps{display:grid;gap:10px;margin-top:24px}.appointment-steps>div{display:grid;grid-template-columns:32px 1fr;column-gap:11px;align-items:center}.appointment-steps span{grid-row:1/3;width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);font-size:12px;font-weight:700}.appointment-steps b{font-size:13px;color:#fff}.appointment-steps small{font-size:11px;color:#cde4e7}.calendar-toolbar{display:grid;grid-template-columns:38px 1fr 38px;align-items:center;margin:18px 0 11px;text-align:center}.calendar-toolbar strong{font-size:17px;color:#07355f}.month-nav{width:34px;height:34px;border-radius:50%;border:1px solid #d5e6e9;background:#fff;color:#078c98;font-size:25px;line-height:1;cursor:pointer}.month-nav:disabled{opacity:.28;cursor:not-allowed}.weekday-row,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.weekday-row{margin-bottom:5px}.weekday-row span{text-align:center;font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#8398a5;font-weight:700}.cal-day{aspect-ratio:1.08;border:1px solid #e0ecee;border-radius:8px;background:#f9fcfc;color:#9badb7;font:inherit;font-size:11px;display:flex;align-items:center;justify-content:center;position:relative}.cal-day.blank{visibility:hidden}.cal-day.outside{opacity:.35}.cal-day.has-slots{background:#eafafa;color:#076b75;border-color:#94d9dc;font-weight:700;cursor:pointer}.cal-day.has-slots:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#08a7ad;bottom:5px}.cal-day.selected{background:#087f8d;color:#fff;border-color:#087f8d}.cal-day.selected:after{background:#fff}.calendar-key{display:flex;gap:17px;margin:10px 0 13px;font-size:9px;color:#718793}.calendar-key span{display:flex;align-items:center;gap:6px}.key-dot{width:9px;height:9px;border-radius:50%;display:inline-block}.key-dot.open{background:#b8eeee;border:1px solid #76cbd0}.key-dot.chosen{background:#087f8d}.time-panel{border-top:1px solid #e0ecee;border-bottom:1px solid #e0ecee;padding:13px 0 10px;margin-bottom:15px}.selected-date-label{font-size:12px;font-weight:700;color:#07355f;margin-bottom:9px}.slots{grid-template-columns:repeat(4,1fr);margin:0}.slot{padding:8px 5px}.scheduler select{width:100%;border:1px solid #d7e7e9;border-radius:8px;padding:10px;margin-top:5px;font:inherit;background:#fff;color:#123956}.form-msg.success{background:#e9faf6;border:1px solid #b9eadb;padding:11px;border-radius:8px;color:#08715f}.form-msg.error{color:#a53b3b}
@media(max-width:580px){.weekday-row,.calendar-grid{gap:3px}.cal-day{border-radius:6px;font-size:10px}.slots{grid-template-columns:repeat(2,1fr)}.calendar-key{flex-direction:column;gap:4px}.appointment-steps{margin-bottom:8px}}


/* ===== V13 COMPACT APPOINTMENT LAYOUT ===== */
@media (min-width: 901px){
  .appointment{padding:42px 0!important}
  .appointment-grid{grid-template-columns:.72fr 1.28fr!important;gap:28px!important;align-items:start!important}
  .appointment h2{font-size:34px!important;line-height:1.05!important;margin:7px 0 9px!important}
  .appointment p{font-size:14px!important;line-height:1.4!important;margin-bottom:9px!important}
  .notice{padding:10px 12px!important;margin-top:10px!important;font-size:12px!important;line-height:1.35!important}
  .appointment-steps{gap:7px!important;margin-top:10px!important}
  .appointment-steps>div{padding:8px!important}
  .appointment-steps>div span{width:24px!important;height:24px!important;font-size:11px!important}
  .appointment-steps b{font-size:12px!important}
  .appointment-steps small{font-size:10px!important;line-height:1.15!important}

  .scheduler{padding:14px 16px!important;border-radius:18px!important}
  .scheduler-head{margin-bottom:6px!important}
  .scheduler-head strong{font-size:14px!important}
  .scheduler-head span{font-size:11px!important}
  .calendar-toolbar{margin:4px 0 5px!important}
  .calendar-toolbar strong{font-size:14px!important}
  .month-nav{width:30px!important;height:30px!important;padding:0!important}
  .weekday-row{margin-bottom:2px!important}
  .weekday-row span{font-size:10px!important;padding:2px!important}
  .calendar-grid{gap:3px!important}
  .calendar-grid button{min-height:31px!important;height:31px!important;padding:1px!important;border-radius:7px!important;font-size:11px!important}
  .calendar-key{margin:5px 0!important;font-size:10px!important;gap:10px!important}
  .time-panel{padding:7px 9px!important;margin-top:6px!important}
  .selected-date-label{font-size:11px!important;margin-bottom:5px!important}
  .slots{gap:5px!important}
  .slots button{min-height:29px!important;padding:4px 7px!important;font-size:11px!important}

  #apptForm{margin-top:8px!important;gap:6px 8px!important}
  #apptForm label{font-size:11px!important;gap:2px!important}
  #apptForm input:not([type=checkbox]),#apptForm select{height:32px!important;min-height:32px!important;padding:4px 8px!important;font-size:12px!important}
  #apptForm .consent{font-size:10px!important;line-height:1.2!important}
  #apptForm .consent input{width:14px!important;height:14px!important}
  #apptForm .button{min-height:32px!important;padding:6px 10px!important;font-size:12px!important}
  .form-msg{margin:0!important;font-size:10px!important}
}

/* Mobile stays finger-friendly while using less vertical whitespace. */
@media (max-width:900px){
  .appointment{padding:30px 0!important}
  .appointment-grid{grid-template-columns:1fr!important;gap:18px!important}
  .appointment h2{font-size:30px!important}
  .appointment-steps{gap:7px!important}
  .scheduler{padding:13px!important}
  .calendar-grid{gap:4px!important}
  .calendar-grid button{min-height:42px!important;height:42px!important}
  .month-nav,.slots button{min-height:42px!important}
  #apptForm input:not([type=checkbox]),#apptForm select{min-height:44px!important;font-size:16px!important}
}
@media (max-width:520px){
  .appointment{padding:24px 0!important}
  .appointment h2{font-size:27px!important}
  .scheduler{padding:11px!important}
  .calendar-grid button{min-height:39px!important;height:39px!important}
  #apptForm{grid-template-columns:1fr!important}
  #apptForm .wide{grid-column:1!important}
}


/* ===== V14 — COMPACT CALENDAR WIDTH + DENSER FORM ===== */
@media (min-width: 901px){
  /* Keep the scheduler card, but stop the 7-column calendar from stretching
     across the full form width. This reduces each week's vertical height. */
  .calendar-toolbar,
  .weekday-row,
  .calendar-grid,
  .calendar-key,
  .time-panel{
    width: 82% !important;
    max-width: 520px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .calendar-grid{
    gap:4px !important;
  }

  /* Let square-ish date tiles derive from the narrower calendar width. */
  .cal-day{
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:1.35 !important;
    font-size:11px !important;
  }

  .weekday-row{
    margin-bottom:2px !important;
  }

  /* Compact the patient details so they do not dominate the card. */
  .scheduler form{
    width:88% !important;
    max-width:560px !important;
    margin:9px auto 0 !important;
    grid-template-columns:1fr 1fr !important;
    gap:6px 8px !important;
  }

  .scheduler label{
    font-size:10px !important;
    line-height:1.15 !important;
  }

  .scheduler input:not([type=checkbox]),
  .scheduler select{
    height:29px !important;
    min-height:29px !important;
    padding:3px 7px !important;
    border-radius:7px !important;
    font-size:11px !important;
  }

  .scheduler .consent{
    font-size:9px !important;
    line-height:1.2 !important;
  }

  .scheduler form .button{
    min-height:31px !important;
    padding:5px 10px !important;
    font-size:11px !important;
  }

  .slots{
    margin:7px 0 !important;
  }
}

/* Mobile stays full width and finger-friendly. */
@media (max-width:900px){
  .calendar-toolbar,
  .weekday-row,
  .calendar-grid,
  .calendar-key,
  .time-panel,
  .scheduler form{
    width:100% !important;
    max-width:none !important;
  }
  .cal-day{
    aspect-ratio:auto !important;
    min-height:42px !important;
    height:42px !important;
  }
  .scheduler input:not([type=checkbox]),
  .scheduler select{
    min-height:44px !important;
    height:44px !important;
    font-size:16px !important;
  }
}


/* ===== V15 — WIDER CALENDAR, TIGHTER WEEK ROWS ===== */
@media (min-width: 901px){

  /* Reclaim some of the side whitespace from V14. */
  .calendar-toolbar,
  .weekday-row,
  .calendar-grid,
  .calendar-key,
  .time-panel{
    width: 94% !important;
    max-width: 610px !important;
  }

  /* Do not let tile width determine calendar height.
     Explicit short rows are what actually compress the calendar vertically. */
  .calendar-grid{
    grid-auto-rows: 30px !important;
    row-gap: 2px !important;
    column-gap: 5px !important;
  }

  .cal-day{
    aspect-ratio: auto !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 7px !important;
    font-size: 11px !important;
    line-height: 1 !important;
  }

  .weekday-row{
    margin-bottom: 1px !important;
  }

  .weekday-row span{
    padding: 0 0 2px !important;
    line-height: 1 !important;
    font-size: 9px !important;
  }

  .calendar-toolbar{
    margin-top: 3px !important;
    margin-bottom: 4px !important;
  }

  .calendar-key{
    margin-top: 4px !important;
    margin-bottom: 4px !important;
  }

  .time-panel{
    margin-top: 4px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* Use a little more of the card width for the patient form too. */
  .scheduler form{
    width: 94% !important;
    max-width: 610px !important;
    gap: 5px 8px !important;
    margin-top: 7px !important;
  }

  .scheduler input:not([type=checkbox]),
  .scheduler select{
    height: 28px !important;
    min-height: 28px !important;
  }

  .slots{
    margin: 5px 0 !important;
    gap: 5px !important;
  }
}

/* Preserve comfortable mobile touch targets. */
@media (max-width: 900px){
  .calendar-grid{
    grid-auto-rows: 42px !important;
    row-gap: 4px !important;
    column-gap: 4px !important;
  }
  .cal-day{
    height: 42px !important;
    min-height: 42px !important;
  }
}


/* ===== V16 — REMOVE CALENDAR SIDE WHITESPACE ===== */
@media (min-width: 901px){
  /* Fill the scheduler card horizontally. Keep V15's compact row height. */
  .calendar-toolbar,
  .weekday-row,
  .calendar-grid,
  .calendar-key,
  .time-panel{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .calendar-grid{
    grid-auto-rows:30px !important;
    row-gap:2px !important;
    column-gap:5px !important;
  }

  .cal-day{
    aspect-ratio:auto !important;
    height:30px !important;
    min-height:30px !important;
  }

  /* Let the details form use the same full card width for visual alignment. */
  .scheduler form{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }
}


/* ===== V21 — COMPACT SQUARE CALENDAR WITHOUT WASTED HORIZONTAL SPACE ===== */
@media (min-width: 901px){
  .scheduler-body{
    display:grid !important;
    grid-template-columns: 300px minmax(0,1fr) !important;
    gap:16px !important;
    align-items:start !important;
    margin-top:5px !important;
  }

  .calendar-pane,
  .form-pane{
    min-width:0 !important;
  }

  .calendar-toolbar,
  .weekday-row,
  .calendar-grid,
  .calendar-key,
  .time-panel{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  .calendar-toolbar{
    margin:2px 0 4px !important;
  }

  /* Seven compact columns: the tiles stay square and the columns stay close. */
  .calendar-grid{
    display:grid !important;
    grid-template-columns:repeat(7,34px) !important;
    grid-auto-rows:34px !important;
    gap:2px 8px !important;
    justify-content:start !important;
    align-content:start !important;
  }

  .weekday-row{
    display:grid !important;
    grid-template-columns:repeat(7,34px) !important;
    gap:0 8px !important;
    justify-content:start !important;
    margin-bottom:2px !important;
  }

  .weekday-row span{
    text-align:center !important;
    padding:0 !important;
  }

  .cal-day{
    box-sizing:border-box !important;
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    max-width:34px !important;
    max-height:34px !important;
    aspect-ratio:auto !important;
    margin:0 !important;
    padding:0 !important;
    justify-self:start !important;
    align-self:start !important;
    line-height:1 !important;
  }

  .calendar-key{
    margin:6px 0 !important;
    gap:8px !important;
    flex-wrap:wrap !important;
  }

  .time-panel{
    margin:5px 0 0 !important;
    padding:7px 0 0 !important;
  }

  .slots{
    grid-template-columns:repeat(2,1fr) !important;
    gap:5px !important;
    margin:5px 0 !important;
  }

  /* Put the patient fields in the recovered right-hand space. */
  .scheduler form{
    width:100% !important;
    max-width:none !important;
    margin:3px 0 0 !important;
    grid-template-columns:1fr 1fr !important;
    gap:7px 8px !important;
  }

  .scheduler input:not([type=checkbox]),
  .scheduler select{
    height:30px !important;
    min-height:30px !important;
    padding:4px 7px !important;
    font-size:11px !important;
  }
}

/* On phones/tablets, return to the familiar stacked workflow. */
@media (max-width:900px){
  .scheduler-body{
    display:block !important;
  }
  .calendar-grid{
    grid-template-columns:repeat(7,1fr) !important;
  }
}

.staff-link{color:inherit;text-decoration:underline;text-underline-offset:2px}
.admin-page{background:#f5f8f9;color:#123956;min-height:100vh}
.admin-shell{width:min(1120px,92vw);margin:0 auto;padding:28px 0 48px}
.admin-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}
.admin-top h1{margin:0;color:#07355f}.admin-top p{margin:4px 0 0;color:#647d89}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-btn{border:0;border-radius:9px;padding:10px 14px;font:inherit;font-weight:700;cursor:pointer;background:#087f8d;color:#fff;text-decoration:none}
.admin-btn.secondary{background:#fff;color:#087f8d;border:1px solid #bddcdf}
.admin-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}
.admin-card{background:#fff;border:1px solid #dcebed;border-radius:16px;padding:18px}
.admin-card h2{margin:0 0 14px;color:#07355f;font-size:20px}
.admin-date-row{display:grid;grid-template-columns:160px 1fr auto;gap:10px;align-items:end;margin-bottom:12px}
.admin-date-row label,.admin-slot-form label{font-size:12px;font-weight:700}
.admin-date-row input,.admin-slot-form input,.admin-slot-form select{width:100%;border:1px solid #cfe0e4;border-radius:8px;padding:9px;font:inherit;margin-top:5px}
.admin-slot-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin-bottom:14px}
.admin-list{display:grid;gap:8px}.admin-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;border:1px solid #e1ecee;border-radius:10px;padding:10px 12px}
.admin-row small{color:#738994}.status{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;padding:4px 7px;border-radius:999px}
.status.available{background:#e5f8f4;color:#08715f}.status.requested{background:#fff4d9;color:#8a6511}.status.confirmed{background:#e8eefb;color:#365a9b}
.admin-row button{border:0;background:none;color:#087f8d;font-weight:700;cursor:pointer}
.admin-empty{color:#7c919b;font-size:13px;padding:12px 0}
.admin-note{font-size:12px;color:#607883;line-height:1.5;background:#f4fafb;border:1px solid #dbecef;border-radius:10px;padding:11px}
@media(max-width:800px){.admin-grid{grid-template-columns:1fr}.admin-date-row,.admin-slot-form{grid-template-columns:1fr}.admin-row{grid-template-columns:1fr}}

.admin-inline{background:#f5f8f9;color:#123956;min-height:100vh}
.save-indicator{min-height:18px;margin-top:8px;font-size:12px;font-weight:700;color:#08715f}

/* V24: reliable staff-mode visibility for local-file testing */
body.staff-mode > :not(#staffScheduler):not(script){display:none !important}
body.staff-mode #staffScheduler{display:block !important}

/* V26 patient request detail cards */
.request-card{border:1px solid #dcebed;border-radius:12px;padding:13px;background:#fff}
.request-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.request-head strong{display:block;color:#07355f;font-size:15px}
.request-head small{display:block;color:#738994;margin-top:3px}
.request-details{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin-top:12px;padding-top:11px;border-top:1px solid #e5eef0}
.request-details div{display:grid;gap:2px;min-width:0}
.request-details b{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#718793}
.request-details span{font-size:12px;color:#123956;overflow-wrap:anywhere}
.request-details .request-wide{grid-column:1/-1}
.request-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:600px){.request-details{grid-template-columns:1fr}.request-details .request-wide{grid-column:auto}}

/* V27 minimal-data appointment form */
.privacy-note{font-size:11px;line-height:1.45;color:#496674;background:#f4fafb;border:1px solid #d7eaed;border-radius:8px;padding:9px 10px}.privacy-note strong{color:#234c60}


/* V28 production API integration */
.privacy-note a{color:#087f8d;font-weight:700}
.request-code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;letter-spacing:.08em}
.staff-login-card{max-width:640px;margin:20px auto}
.staff-login-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end;margin-top:14px}
.staff-login-form label{font-size:12px;font-weight:700;color:#244a5e}
.staff-login-form input{width:100%;box-sizing:border-box;border:1px solid #d7e7e9;border-radius:8px;padding:10px;margin-top:5px;font:inherit}
.staff-login-message{margin-top:10px;font-size:12px;color:#08715f;min-height:18px}
.staff-login-message.error,.save-indicator.error{color:#a53b3b}
.admin-slot-form.v28{grid-template-columns:minmax(0,1fr) auto}
.admin-row button:disabled{opacity:.45;cursor:not-allowed}
.form-msg a{color:inherit}
@media(max-width:600px){
  .staff-login-form,.admin-slot-form.v28{grid-template-columns:1fr}
}


/* ===== V30 — PHONE / EMAIL APPOINTMENT CONTACT ===== */
.header-appointment{font:inherit;cursor:pointer}
.button.request{font:inherit;cursor:pointer}
.contact-cta{padding:54px 0;background:#eef8f7;border-top:1px solid #dceceb}
.contact-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}
.contact-cta h2{margin:5px 0 8px;color:#07355f;font-size:34px}
.contact-cta p{margin:0;max-width:690px;color:#506c78;line-height:1.65}
.appointment-modal{position:fixed;inset:0;z-index:1000;display:none;align-items:center;justify-content:center;padding:20px}
.appointment-modal.open{display:flex}
.appointment-modal-backdrop{position:absolute;inset:0;background:rgba(5,36,55,.64);backdrop-filter:blur(2px)}
.appointment-modal-card{position:relative;width:min(560px,100%);background:#fff;border-radius:20px;padding:34px;box-shadow:0 24px 70px rgba(5,36,55,.28)}
.appointment-modal-card h2{margin:5px 0 8px;color:#07355f;font-size:32px}
.appointment-modal-card>p{color:#526f7b;line-height:1.6}
.appointment-modal-close{position:absolute;top:14px;right:16px;border:0;background:transparent;color:#66808b;font-size:32px;line-height:1;cursor:pointer}
.appointment-contact-options{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0 18px}
.appointment-contact-option{display:flex;align-items:center;gap:13px;text-decoration:none;border:1px solid #d6e8e9;border-radius:14px;padding:18px;background:#f8fbfb;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.appointment-contact-option:hover,.appointment-contact-option:focus{transform:translateY(-1px);border-color:#89c6c4;box-shadow:0 8px 22px rgba(7,91,141,.09);outline:none}
.appointment-contact-option .contact-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#087f8d;color:#fff;font-size:20px;flex:0 0 42px}
.appointment-contact-option strong{display:block;color:#07355f;font-size:15px}
.appointment-contact-option small{display:block;color:#5d7883;margin-top:3px;font-size:12px;overflow-wrap:anywhere}
.email-privacy-note{font-size:11px!important;background:#f4fafb;border:1px solid #dcebed;border-radius:10px;padding:11px 12px;margin:0!important}
body.modal-open{overflow:hidden}
@media(max-width:700px){
  .contact-cta-inner{display:block}
  .contact-cta .button{margin-top:20px;width:100%;text-align:center}
  .appointment-modal-card{padding:28px 20px 22px}
  .appointment-modal-card h2{font-size:27px}
  .appointment-contact-options{grid-template-columns:1fr}
}


/* ===== V30 — CURATED GOOGLE REVIEW CAROUSEL ===== */
.review-heading-row{display:flex;align-items:end;justify-content:space-between;gap:24px}
.google-reviews-link{color:#087f8d;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;margin-bottom:7px}
.google-reviews-link:hover{text-decoration:underline}
.review-carousel{position:relative;margin-top:28px;padding:0 46px}
.review-carousel .reviews{margin-top:0}
.review-card{min-height:220px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-start;box-shadow:0 8px 24px rgba(6,55,78,.055);transition:transform .2s ease,box-shadow .2s ease}
.review-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(6,55,78,.09)}
.review-stars{color:#d7ad3f;letter-spacing:.08em;font-size:17px;margin-bottom:13px}
.review-card p{margin:0;color:#365668;line-height:1.65;font-size:15px;flex:1}
.review-card cite{margin-top:18px!important;padding-top:14px;border-top:1px solid #e7eff0}
.review-card cite strong{display:block;color:#07355f;font-size:13px}
.review-card cite span{display:block;margin-top:3px;color:#718692}
.review-card cite small{display:block;margin-top:5px;color:#8b9aa1;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.review-arrow{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:34px;border-radius:50%;border:1px solid #cfe3e5;background:#fff;color:#087f8d;font-size:25px;line-height:1;cursor:pointer;box-shadow:0 4px 12px rgba(6,55,78,.07)}
.review-arrow:hover,.review-arrow:focus{border-color:#7ebdbd;outline:none}
.review-prev{left:0}.review-next{right:0}
.review-dots{display:flex;justify-content:center;gap:7px;margin-top:19px}
.review-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#bfd3d6;cursor:pointer}
.review-dot.active{background:#087f8d;transform:scale(1.25)}
@media(max-width:930px){
  .review-heading-row{display:block}
  .google-reviews-link{display:inline-block;margin-top:12px}
  .review-carousel{padding:0 40px}
  .review-card{min-height:0}
}
@media(max-width:560px){
  .review-carousel{padding:0 34px}
  .review-arrow{width:30px;height:30px;font-size:22px}
}
