:root {
  --ink: #10313a;
  --slate: #47636b;
  --accent: #08796e;
  --mint: #b0f2ce;
  --pale: #e9f7ef;
  --line: #d8e5df;
  --paper: #fbfcf8;
  --white: #fff;
  --dark: #092f38;
  --gutter: clamp(18px,4.9vw,78px);
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .64;
}

button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #cd8b20;
  outline-offset: 4px;
}

button {
  border: 0;
  color: inherit;
}

svg {
  flex: none;
  vertical-align: middle;
}

h1,h2,h3,p,dl,dd {
  margin: 0;
}

[hidden] {
  display: none!important;
}

.sr,.skip:not(:focus) {
  position: absolute;
  clip: rect(0,0,0,0);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip:focus {
  position: fixed;
  inset: 8px auto auto 8px;
  z-index: 99;
  background: white;
  padding: 10px;
}

.frame {
  max-width: 1510px;
  margin: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.mast {
  background: var(--paper);
  border-bottom: 1px solid rgba(10,45,41,.09);
}

.mast-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.wordmark {
  font-size: 27px;
  letter-spacing: -1.65px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.go {
  color: var(--accent);
}

.mark,.clinic-icon,.bot-avatar,.service-icon {
  display: grid;
  place-items: center;
}

.mark {
  width: 39px;
  height: 39px;
  border-radius: 13px;
  color: #fff;
  background: var(--accent);
  margin-right: 8px;
}

.site-kind {
  color: var(--slate);
  font-weight: 560;
  font-size: 13px;
  border-left: 1px solid #ccdbd5;
  padding-left: 22px;
}

.mast nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 580;
}

.mast nav a,.team-link,.subtle-link,.text-btn,.inline-btn,.card-end button {
  transition: color .18s,background .18s;
}

.mast nav a:hover,.card-end button:hover,.inline-btn:hover,.text-btn:hover {
  color: #03554c;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.team-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #cbdad4;
  border-radius: 100px;
  padding: 10px 15px;
  margin-left: 10px;
}

.team-link:hover {
  background: #edf4ee;
}

.welcome {
  color: #fff;
  background: radial-gradient(ellipse at 25% 105%,#185951 0%,transparent 46%),radial-gradient(ellipse at 85% 0%,#215356 0%,transparent 54%),var(--dark);
  overflow: clip;
  position: relative;
}

.welcome:before {
  content: "";
  position: absolute;
  width: 780px;
  height: 780px;
  right: 20%;
  bottom: -690px;
  border-radius: 38%;
  border: 1px solid #a9efcb29;
  box-shadow: 0 0 0 24px #7dd0ba08,0 0 0 26px #7dd0ba13,0 0 0 52px #7dd0ba08,0 0 0 53px #7dd0ba10;
  transform: rotate(-38deg);
  pointer-events: none;
}

.welcome-inner {
  display: grid;
  grid-template-columns: minmax(0,1.13fr) minmax(370px,.87fr);
  gap: clamp(28px,4vw,70px);
  position: relative;
  padding-top: 44px;
  padding-bottom: 44px;
}

.cover {
  min-width: 0;
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 65px;
  isolation: isolate;
}

.overline,.micro,.eyebrow,.clinic-sign span {
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  font-weight: 750;
}

.overline {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b9e9d5;
}

.green-dot {
  width: 7px;
  height: 7px;
  display: inline-block;
  background: #9ef7c6;
  border-radius: 100%;
  box-shadow: 0 0 0 5px #b8f2db12;
}

.cover h1 {
  font-size: clamp(58px,5.5vw,86px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 590;
  margin: 26px 0 18px;
}

.cover h1 em {
  color: #b6efd2;
  font-family: Georgia,serif;
  letter-spacing: -.06em;
  font-weight: 400;
  white-space: nowrap;
}

.cover>p {
  color: #d4e8e3;
  line-height: 1.55;
  font-size: clamp(15px,1.22vw,18px);
  max-width: min(81%,390px);
  text-wrap: pretty;
}

.cover-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn,.subtle-link,.text-btn,.inline-btn,.card-end button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 650;
}

.btn {
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 11px;
  font-size: 14px;
}

.btn.mint {
  background: var(--mint);
  color: #0d3939;
  box-shadow: 0 3px 0 #001a1a22;
}

.btn.mint:hover {
  background: #ccffdf;
}

.btn.outline {
  border: 1px solid #b7cbc1;
  background: #fff;
}

.btn.solid,.send {
  background: #106b5c;
  color: white;
}

.btn.solid:hover,.send:hover {
  background: #075348;
}

.subtle-link {
  color: #e0f6ec;
  font-size: 13px;
}

.subtle-link:hover {
  text-decoration: underline;
}

.tooth-art {
  pointer-events: none;
  object-fit: contain;
  position: absolute;
  width: clamp(114px,13.5vw,220px);
  height: auto;
  max-height: 256px;
  bottom: 19px;
  right: -22px;
  z-index: -1;
  transform: rotate(-8deg);
  filter: drop-shadow(2px 20px 20px #031c2d50);
}

.clinic-sign {
  position: absolute;
  bottom: 0;
  left: 0;
  max-width: 74%;
  display: flex;
  align-items: center;
  gap: 11px;
}

.clinic-sign span:not(.clinic-icon) {
  color: #b3d6cf;
  font-size: 9px;
  letter-spacing: 1.4px;
}

.clinic-sign strong {
  display: block;
  font-weight: 570;
  margin-top: 3px;
  font-size: 13px;
}

.clinic-icon {
  height: 35px;
  width: 35px;
  border: 1px solid #76a69b;
  border-radius: 50%;
  color: #ccecdc;
}

.assistant {
  height: 474px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dce6dd;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 46px #05272d55;
  scroll-margin: 16px;
}

.bot-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 21px 15px;
  background: #fcfffb;
}

.bot-avatar {
  width: 43px;
  height: 43px;
  border-radius: 15px;
  background: var(--ink);
  color: #b8ffda;
  box-shadow: inset 0 -5px 12px #2e605b;
}

.bot-head h2 {
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -.75px;
  margin-top: 2px;
}

.micro {
  color: #5d786e;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.access-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  background: transparent;
  font-size: 12px;
  padding: 8px 0 8px 6px;
  color: #40675a;
  font-weight: 650;
}

.access-btn:hover {
  color: #123c30;
  text-decoration: underline;
}

.view-switch {
  display: flex;
  border-bottom: 1px solid var(--line);
  padding: 0 19px;
  background: #fcfffb;
  flex: none;
  gap: 18px;
}

.view-switch button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 1px;
  font-size: 12px;
  background: transparent;
  color: var(--slate);
  border-bottom: 2px solid transparent;
}

.view-switch [aria-pressed=true] {
  color: #076c5e;
  font-weight: 700;
  border-color: var(--accent);
}

#visit-count {
  background: #dbeee1;
  border-radius: 20px;
  min-width: 16px;
  padding: 1px 4px;
  font-size: 10px;
}

.chat-pane {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.scroll-chat,.visits-list {
  scrollbar-width: thin;
  scrollbar-color: #bbd4c9 transparent;
}

.scroll-chat {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 17px 21px 14px;
  background: linear-gradient(160deg,#f3f8f3,#fbfdfb);
  overscroll-behavior-y: contain;
}

.bot-caption,.msg-label {
  font-size: 10px;
  color: #5a736d;
  font-weight: 650;
  letter-spacing: .1px;
}

.bot-caption {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-bottom: 7px;
}

.bot-caption span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #558a78;
}

.welcome-msg,.bubble {
  line-height: 1.48;
  overflow-wrap: anywhere;
  white-space: pre-line;
  font-size: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #d8e6db;
  box-shadow: 0 2px 4px #19352c04;
}

.welcome-msg {
  padding: 12px 14px;
  border-top-left-radius: 3px;
  width: fit-content;
}

.starter {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  margin: 14px 0 3px;
}

.starter button,.choices button,.visit-actions button {
  background: #fff;
  color: #175f51;
  border: 1px solid #c9ddd1;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.3;
  text-align: left;
  font-size: 12px;
  font-weight: 640;
  padding: 10px 11px;
}

.starter button:hover,.choices button:hover,.visit-actions button:hover {
  background: #e4f6e9;
  border-color: #84b8a3;
}

.choices,.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.choices {
  margin-top: 10px;
}

.choices:empty {
  margin: 0;
}

.choices button {
  overflow-wrap: anywhere;
}

.msg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 11px;
  gap: 4px;
}

.msg.patient {
  align-items: flex-end;
}

.msg .bubble {
  max-width: 96%;
  border-top-left-radius: 3px;
  padding: 9px 12px;
}

.welcome-msg,.msg.assistant-message .bubble {
  background: #175f51;
  color: #fff;
  border-color: #175f51;
  box-shadow: 0 3px 8px #175f5114;
}

.msg.patient .bubble {
  background: #d8f1e0;
  border-color: #c7e5d0;
  border-radius: 14px 3px 14px 14px;
}

.msg.staff .bubble {
  border-color: #91b4b8;
}

.msg-label {
  font-size: 10px;
}

.choice-date {
  width: 100%;
  display: flex;
  gap: 6px;
}

.choice-date input {
  min-width: 0;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #bfcec6;
  border-radius: 13px;
  padding: 4px 5px 4px 11px;
}

.input-wrap:focus-within {
  border-color: var(--accent);
  outline: 2px solid #b9dcca;
}

.input-wrap input {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 8px 0;
  outline: none;
  border: 0;
  font-size: 14px;
  color: var(--ink);
  background: transparent;
}

.send {
  height: 35px;
  width: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
}

#compose {
  padding: 10px 15px 8px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.compose-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 22px;
  margin-top: 3px;
}

.compose-foot small {
  font-size: 10px;
  line-height: 1.3;
  color: #576e66;
}

.text-btn,.inline-btn {
  font-size: 12px;
  color: var(--accent);
  background: transparent;
  padding: 3px 2px;
}

.network {
  padding: 7px 15px;
  font-size: 12px;
  color: #523803;
  background: #fff0c8;
}

.network:empty {
  display: none;
}

#visits-pane {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 15px 20px;
  background: #f7faf5;
}

.visits-list {
  display: grid;
  gap: 9px;
}

.visits-list:empty:before {
  content: "Todavía no hay citas para mostrar.";
}

.visit-card {
  background: white;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 10px;
}

.visit-card p,.visits-empty {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
}

.visit-card b {
  font-size: 14px;
}

.visit-actions {
  margin-top: 8px;
}

.visit-actions button {
  padding: 6px 9px;
}

.visits-empty {
  padding: 8px 0 12px;
}

.section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.eyebrow {
  color: #497567;
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.4;
  letter-spacing: 1.5px;
}

.eyebrow i {
  display: block;
  width: 22px;
  height: 2px;
  background: #4e9d7c;
}

.section-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}

main .section h2,.split-section h2,dialog h2 {
  font-size: clamp(30px,3.1vw,46px);
  font-weight: 605;
  line-height: 1.08;
  letter-spacing: -.055em;
  margin-top: 11px;
}

.section-top>p,.muted,.plans article p,.service>p,.faqs details p,.contact-block dd {
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}

.section-top>p {
  max-width: 284px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
}

.service {
  display: flex;
  flex-direction: column;
  padding: 23px 24px 18px;
  border: 1px solid #cfddd4;
  border-radius: 17px;
  background: #fff;
  min-width: 0;
  overflow-wrap: anywhere;
}

.service:nth-child(3n+2) {
  background: #f0f6ed;
}

.service:nth-child(3n+3) {
  background: #eaf4f0;
}

.card-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.service-icon {
  width: 38px;
  height: 38px;
  border: 1px solid #c5dacb;
  border-radius: 12px;
  background: #ecf5ed;
  color: #237259;
}

.duration {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #496c5e;
}

.service h3,.plans h3 {
  line-height: 1.18;
  letter-spacing: -.055em;
  font-weight: 640;
  font-size: clamp(21px,1.7vw,26px);
}

.service h3 {
  margin: 21px 0 8px;
}

.service>p {
  margin-bottom: 21px;
}

.card-end {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: auto;
  padding-top: 14px;
}

.card-end strong,.plans small {
  color: #315548;
  font-size: 12px;
  font-weight: 650;
}

.card-end button {
  background: transparent;
  color: #09644f;
  font-size: 12px;
  padding: 4px 0;
}

.plan-band {
  background: #eaf0e8;
  border-block: 1px solid #dbe5db;
}

.split-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8%;
  padding-top: 51px;
  padding-bottom: 53px;
}

.split-section .muted {
  margin-top: 16px;
  max-width: 330px;
}

.plans article {
  display: flex;
  gap: 17px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #c7d7cc;
  padding: 18px 0;
}

.plans article:first-child {
  padding-top: 0;
}

.plans article p {
  margin: 6px 0 5px;
}

.round-link {
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 50%;
  border: 1px solid #a7c0b0;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.round-link:hover {
  background: #d7eadc;
}

.lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.contact-block dl {
  margin-top: 19px;
}

.contact-block dl div {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  padding: 9px 0;
  align-items: baseline;
  gap: 7px;
}

.contact-block dt {
  font-size: 12px;
  font-weight: 700;
  color: #315550;
}

.contact-block dd,.faqs details p {
  overflow-wrap: anywhere;
}

.clinic-photo {
  margin: 22px 0 0;
}

.clinic-photo img {
  display: block;
  width: 100%;
  height: clamp(135px,15vw,215px);
  object-fit: cover;
  border-radius: 14px;
}

.clinic-photo figcaption {
  font-size: 10px;
  color: #64756e;
  margin-top: 5px;
}

.faqs details {
  border-bottom: 1px solid var(--line);
}

.faqs details:first-of-type {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.faqs summary {
  padding: 17px 0;
  display: flex;
  gap: 13px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 620;
  list-style: none;
}

.faqs summary::-webkit-details-marker {
  display: none;
}

.faqs summary span {
  font-size: 23px;
  line-height: 1;
  color: #3a7659;
}

.faqs details[open] summary span {
  transform: rotate(45deg);
}

.faqs details p {
  padding-bottom: 15px;
}

footer {
  background: #0b3337;
  color: #d9efe0;
}

footer .frame {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 25px;
  padding-bottom: 25px;
}

footer p,footer a {
  font-size: 12px;
}

footer a {
  margin-left: auto;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -1px;
}

.footer-name b {
  color: #8dddb0;
}

dialog {
  width: min(440px,calc(100% - 30px));
  border: 1px solid #e0e9df;
  border-radius: 20px;
  color: var(--ink);
  padding: 24px;
  box-shadow: 0 20px 95px #071f3540;
  max-height: 88dvh;
  overflow: auto;
  background: var(--paper);
}

dialog::backdrop {
  background: #06282b99;
  backdrop-filter: blur(3px);
}

.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 19px;
}

.dialog-head h2 {
  font-size: 31px;
}

.close-btn {
  border-radius: 50%;
  background: #e7f1e9;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
}

.close-btn:hover {
  background: #d6e6d8;
}

dialog h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

dialog p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate);
  margin: 6px 0 12px;
}

dialog input {
  display: block;
  width: 100%;
  border: 1px solid #afc8b8;
  border-radius: 8px;
  padding: 10px;
  background: white;
  color: var(--ink);
  margin: 4px 0 9px;
}

dialog label,.leave-details summary {
  font-size: 13px;
  font-weight: 650;
}

.leave-details {
  margin: 15px 0;
}

.leave-details summary {
  cursor: pointer;
  color: #805744;
}

.notice {
  color: #276747;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 10px;
}

#key-box {
  padding: 10px;
  border-radius: 8px;
  background: #e7f2e9;
  margin-top: 9px;
}

@media(min-width:1500px) {
  .welcome-inner {
    min-height: 600px;
  }
  .assistant {
    height: 505px;
    align-self: center;
  }
  .cover {
    padding-bottom: 37px;
  }
  .clinic-sign {
    bottom: 14px;
  }
}

@media(max-width:1080px) {
  .welcome-inner {
    grid-template-columns: minmax(0,1fr) minmax(360px,1fr);
    gap: 25px;
    padding-block: 32px;
  }
  .tooth-art {
    width: 120px;
    bottom: 5px;
    right: -8px;
  }
  .cover>p {
    max-width: 95%;
  }
  .cover-actions {
    gap: 14px;
  }
  .cover h1 {
    font-size: 61px;
  }
  .clinic-sign {
    max-width: 70%;
  }
  .mast-inner {
    gap: 15px;
  }
  .site-kind {
    padding-left: 15px;
  }
  .mast nav {
    gap: 16px;
  }
  .service-grid {
    gap: 10px;
  }
  .service {
    padding: 17px;
  }
  .starter {
    gap: 6px;
  }
  .starter button {
    font-size: 11px;
    padding: 9px 8px;
  }
}

@media(max-width:800px) {
  :root {
    --gutter: 22px;
  }
  .mast-inner {
    min-height: 62px;
  }
  .mast nav {
    display: none;
  }
  .team-link {
    margin-left: auto;
  }
  .welcome-inner {
    grid-template-columns: minmax(0,1fr) minmax(320px,1.05fr);
    gap: 19px;
  }
  .cover h1 {
    font-size: 49px;
  }
  .cover-actions {
    gap: 12px;
  }
  .cover {
    padding-bottom: 73px;
  }
  .tooth-art {
    width: 94px;
    bottom: 4px;
    right: 0;
  }
  .welcome-inner {
    padding-block: 27px;
  }
  .bot-head,.scroll-chat {
    padding-left: 15px;
    padding-right: 15px;
  }
  .service-grid {
    grid-template-columns: repeat(auto-fit,minmax(210px,1fr));
  }
  .lower {
    gap: 38px;
  }
  .section {
    padding-block: 44px;
  }
}

@media(max-width:675px) {
  .welcome-inner {
    display: block;
    padding-block: 0 22px;
  }
  .cover {
    padding: 27px 0 22px;
    display: block;
  }
  .cover h1 {
    font-size: clamp(41px,8.6vw,54px);
    line-height: .99;
    margin: 14px 0 10px;
  }
  .cover h1 br {
    display: none;
  }
  .cover h1 em:before {
    content: " ";
  }
  .cover>p {
    max-width: 72%;
    font-size: 14px;
    line-height: 1.45;
  }
  .cover-actions {
    margin-top: 15px;
    gap: 14px;
  }
  .cover-actions .btn {
    font-size: 12px;
    padding: 9px 12px;
    min-height: 37px;
  }
  .subtle-link {
    font-size: 12px;
  }
  .tooth-art {
    width: clamp(82px,17vw,110px);
    bottom: 14px;
    right: -4px;
  }
  .clinic-sign {
    display: none;
  }
  .assistant {
    height: 444px;
    border-radius: 19px;
  }
  .starter button {
    font-size: 12px;
  }
  .bot-head {
    padding-top: 13px;
    padding-bottom: 10px;
  }
  .bot-avatar {
    width: 37px;
    height: 37px;
  }
  .section-top,.split-section,.lower {
    display: block;
  }
  .section-top>p {
    margin-top: 12px;
    max-width: 95%;
  }
  .split-section {
    padding-block: 32px;
  }
  .split-section h2 br {
    display: none;
  }
  .split-section .muted {
    max-width: none;
  }
  .plans {
    margin-top: 24px;
  }
  .faqs {
    margin-top: 36px;
  }
  .section {
    padding-block: 35px;
  }
  .site-kind {
    border: 0;
    padding: 0;
    font-size: 11px;
  }
  .mast-inner {
    gap: 10px;
  }
  .wordmark {
    font-size: 23px;
  }
  .mark {
    width: 32px;
    height: 32px;
    border-radius: 11px;
  }
  .team-link {
    font-size: 11px;
    padding: 8px 10px;
    gap: 5px;
  }
  .lower .clinic-photo img {
    height: 160px;
  }
  footer .frame {
    gap: 8px 13px;
    flex-wrap: wrap;
  }
  footer p {
    font-size: 11px;
  }
}

@media(max-width:440px) {
  :root {
    --gutter: 16px;
  }
  .site-kind {
    font-size: 10px;
    max-width: 55px;
  }
  .mast-inner {
    min-height: 55px;
  }
  .cover h1 {
    font-size: clamp(36px,8.9vw,41px);
  }
  .cover>p {
    max-width: 74%;
  }
  .cover-actions .subtle-link {
    display: none;
  }
  .assistant {
    height: 433px;
  }
  .bot-head h2 {
    font-size: 19px;
  }
  .view-switch button {
    font-size: 11px;
  }
  .starter {
    gap: 6px;
  }
  .starter button {
    font-size: 11px;
    min-height: 38px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service {
    padding: 17px 18px;
  }
  .service h3 {
    margin: 13px 0 6px;
  }
  .service>p {
    margin-bottom: 12px;
  }
  .cover-actions {
    margin-top: 12px;
  }
  .welcome-inner {
    padding-bottom: 16px;
  }
  footer p {
    width: 65%;
    flex: 1;
  }
  footer a {
    margin-left: 0;
  }
  #compose {
    padding-inline: 11px;
  }
  .scroll-chat {
    padding-inline: 13px;
  }
  .team-link {
    white-space: nowrap;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    transition: none!important;
    animation: none!important;
  }
}

.visits-list>h3 {
  font-size: 18px;
  letter-spacing: -.04em;
}

.visits-list>.btn {
  justify-self: start;
  margin-bottom: 8px;
}

.visits-timezone,.visit-code {
  font-size: 11px;
  color: var(--slate);
}

#visits-pane>[data-access] {
  margin-top: 10px;
}

.choice-date input {
  max-width: 58%;
}

.network .text-btn {
  color: #674a18;
  text-decoration: underline;
}

.choice-date button {
  flex-shrink: 0;
}

#access-note:not(:empty) {
  min-height: 20px;
}

.calendar-file {
  display: inline-flex;
  align-items: center;
  padding: 4px 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 630;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media(max-width:365px) {
  .site-kind {
    display: none;
  }
  .cover h1 {
    font-size: 34px;
  }
  .starter button {
    gap: 5px;
    padding-inline: 6px;
  }
}

@media(max-width:675px) {
  .input-wrap input,dialog input,.choice-date input {
    font-size: 16px;
  }
}

.directory-band {
  background: #f0f4ec;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
main .directory-heading h2 {
  margin: 0;
}
.directory-heading h2 em {
  color: #336e60;
  font: italic 1.08em/.98 Georgia,serif;
  letter-spacing: -.065em;
}
.directory-total {
  flex-shrink: 0;
  color: #3e6656;
  border: 1px solid #bfcec0;
  border-radius: 99px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 650;
}
.directory-tools {
  display: flex;
  align-items: end;
  gap: 18px;
  margin: 25px 0 20px;
}
.directory-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.directory-tools .directory-field:first-child {
  flex: 1;
}
.directory-tools .directory-field:nth-child(2) {
  width: min(320px,36%);
}
.directory-field select,.directory-search,.schedule-fields input {
  height: 44px;
  border: 1px solid #bfcfc5;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  padding: 0 11px;
  min-width: 0;
  width: 100%;
  font-weight: 500;
  line-height: 1.35;
  font-family: inherit;
  font-size: 14px;
}
.directory-field select:focus-visible {
  outline: 3px solid #cd8b20;
  outline-offset: 2px;
}
.directory-search {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #567568;
}
.directory-search:focus-within {
  outline: 3px solid #cd8b20;
  outline-offset: 2px;
}
.directory-search input {
  min-width: 0;
  flex: 1;
  height: 100%;
  border: 0;
  outline: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
}
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 14px;
  margin-top: 20px;
}
.professional-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(17px,1.65vw,26px);
  border: 1px solid #d4e1d5;
  border-radius: 17px;
  background: #fff;
}
.professional-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}
.professional-initials {
  flex: none;
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: #195948;
  background: #d9eddd;
  border-radius: 50%;
  font: 23px/1 Georgia,serif;
  letter-spacing: -.065em;
}
.professional-card:nth-child(3n+2) .professional-initials {
  color: #7a4331;
  background: #f5e6d7;
}
.professional-card:nth-child(3n) .professional-initials {
  color: #33566e;
  background: #e1edf0;
}
.professional-card h3 {
  margin: 0;
  font-size: clamp(17px,1.3vw,21px);
  line-height: 1.2;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.professional-specialty,.directory-note {
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}
.professional-services {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 5px 7px;
  padding: 0;
  margin: 18px 0 16px;
  list-style: none;
}
.professional-services li {
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f2f5f0;
  color: #476256;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.schedule-open {
  display: flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border-top: 1px solid var(--line);
  color: #12684f;
  padding: 12px 0 1px;
  margin-top: auto;
  width: 100%;
  font-size: 13px;
  font-weight: 650;
}
.schedule-open span {
  margin-left: auto;
  font-size: 18px;
}
.schedule-open:hover,.schedule-days button:not(:disabled):hover {
  color: #033d36;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.directory-note { margin: 12px 0; }
.directory-more { margin-top: 19px; }
.directory-empty {
  padding: 25px;
  text-align: center;
  border: 1px dashed #afc6b7;
  border-radius: 12px;
}
.directory-empty button { margin-top: 8px; }
#schedule-picker {
  width: min(520px,calc(100% - 24px));
  max-height: min(78vh,720px);
  max-height: min(82dvh,720px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
#schedule-picker h2 {
  margin: 0;
  font-size: clamp(25px,4vw,34px);
}
#schedule-picker .dialog-head {
  align-items: start;
  margin-bottom: 18px;
}
#schedule-picker .dialog-head p {
  margin: 5px 0 0;
  color: #48665c;
}
.schedule-fields {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 12px;
}
#schedule-picker input,#schedule-picker label { margin: 0; }
.schedule-days {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 12px 0;
}
.schedule-days button {
  padding: 7px 0;
  background: transparent;
  color: var(--accent);
  font-size: 13px;
  font-weight: 650;
}
.schedule-days button:disabled {
  cursor: default;
  opacity: .45;
}
#schedule-picker .schedule-status {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin: 0 0 9px;
}
.schedule-slots fieldset {
  min-width: 0;
  margin: 0;
  padding: 5px 0 10px;
  border: 0;
}
.schedule-slots legend {
  font-weight: 650;
  font-size: 13px;
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(58px,1fr));
  gap: 6px;
}
.time-grid button {
  padding: 9px 1px;
  font-size: 13px;
  border: 1px solid #bcd2c5;
  border-radius: 7px;
  background: #f5f9f3;
  color: #1d5746;
  font-weight: 650;
}
.time-grid button:hover {
  background: #d0e9d8;
}
#schedule-picker .schedule-hint { margin-bottom: 0; }
@media (max-width:1020px) {
  .directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:675px) {
  .directory-heading { align-items: start; }
  .directory-total { font-size: 11px; padding: 6px 8px; }
  .directory-tools { display: grid; gap: 11px; margin: 18px 0 14px; }
  .directory-tools .directory-field:nth-child(2) { width: 100%; }
  .directory-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .directory-field select,.directory-search input,.schedule-fields input { font-size: 16px; }
  .schedule-fields { grid-template-columns: minmax(0,1fr); }
  .professional-card { padding: 16px; }
  .professional-services { margin: 13px 0; }
}

.patient-signin {
  display: inline-flex; align-items: center; gap: 7px; color: #fff; background: #126156;
  border-radius: 100px; min-height: 39px; padding: 8px 15px; font-weight: 650; font-size: .88rem;
}
.patient-signin:hover {background: #0c4a42}
@media(max-width:800px) {.patient-signin {margin-left: auto}}
@media(max-width:440px) {
  .cover-actions .subtle-link {display: inline-flex; font-size: .78rem}
  .cover-actions {align-items: flex-start; flex-direction: column; gap: 7px}
  .patient-signin {padding: 7px 11px}
}

.doctor-options {
  flex-basis: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(165px, 100%), 1fr));
  gap: 6px;
}
.choices .doctor-options button {
  display: grid;
  align-content: center;
  gap: 2px;
  min-height: 42px;
  padding: 8px 12px;
  border-left: 3px solid #599f84;
}
.doctor-options strong {font-size: .82rem; line-height: 1.3}
.doctor-options small {font-size: .74rem; font-weight: 500; color: #48675d}

.plan-terms {margin-top: 8px; font-size: .86rem}
.plan-terms summary {width: fit-content; color: #155d51; font-weight: 650; cursor: pointer}
.plans .plan-terms p {font-size: .88rem; line-height: 1.55}
.visit-help {margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--line)}
.visit-help h3 {font-size: 1.08rem}
.visit-help p {margin: 7px 0 13px; color: var(--slate); line-height: 1.55; max-width: 52ch}
.visit-links {display: flex; gap: 8px 18px; flex-wrap: wrap}
.visit-links a {display: inline-flex; align-items: center; gap: 5px; font-size: .9rem; font-weight: 650; color: var(--accent); text-decoration: underline; text-underline-offset: 3px}
.faq-tools {display: grid; gap: 6px; margin: 18px 0 10px}
.faq-tools label {font-weight: 650; font-size: .85rem}
.faq-tools input {width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid #a9c6b8; border-radius: 9px; background: white; color: var(--ink)}
.faq-tools span {font-size: .8rem; color: var(--slate)}
.faqs>button {margin-top: 15px}
.faqs details {scroll-margin-top: 16px}
.faq-action {display: inline-flex; gap: 5px; align-items: center; margin: 0 0 16px; color: var(--accent); font-size: .88rem; font-weight: 680; text-decoration: underline; text-underline-offset: 3px}
