:root {
  color-scheme: light;
  --peach: #eeb6a5;
  --accent: #7c4652;
  --accent-hover: #683942;
  --ink: #302c2e;
  --muted: #696165;
  --paper: #fff;
  --line: #e9e2df;
  --soft: #f7f3f1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; background: #f8f6f4; background-image: radial-gradient(ellipse at 10% 0%, #f3dfd6 0%, transparent 60%); }
a { color: inherit; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
.icon { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 100000; padding: .75rem 1rem; border-radius: .5rem; background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
body.admin-bar .skip-link { top: 3.5rem; }
.page-shell { width: min(1120px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 28px; }
.vcard { display: grid; grid-template-columns: clamp(220px, 24vw, 280px) minmax(0, 1fr); gap: 32px 40px; align-items: start; padding: 36px; border: 1px solid #eee7e3; background: var(--paper); border-radius: 24px; box-shadow: 0 20px 64px -36px rgb(65 42 48 / 20%); }
.vcard:focus-visible, .legal-page:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.portrait-panel { grid-column: 1; grid-row: 1; align-self: center; min-width: 0; }
.portrait-wrap { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: #efddd5; }
.portrait { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.information-panel { display: contents; }
.profile-summary { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; justify-content: center; align-self: stretch; gap: 26px; min-width: 0; }
.eyebrow { margin: 0; color: var(--accent); font-size: .875rem; font-weight: 600; letter-spacing: .02em; line-height: 1.65; }
h1 { font-size: clamp(2.5rem, 3.9vw, 3.25rem); font-weight: 650; letter-spacing: -.045em; line-height: 1.15; margin: 17px 0 20px; overflow-wrap: anywhere; }
.doctor-title { display: block; color: var(--muted); font-size: 1.25rem; font-weight: 400; letter-spacing: 0; line-height: 1.5; margin-bottom: 7px; }
.intro-copy { max-width: 490px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.quick-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.quick-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 54px; min-width: 44px; max-width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; background: var(--paper); color: var(--accent); transition: background-color .18s, border-color .18s; }
.quick-action span { min-width: 0; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.quick-action:hover { border-color: #c7a3a4; background: #f9f1ed; }
.quick-action--call { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
.quick-action--call:hover { border-color: var(--accent-hover); background: var(--accent-hover); }
.practice-notice { border-left: 3px solid var(--accent); border-radius: 0 8px 8px 0; padding: 12px 16px; background: var(--soft); overflow-wrap: anywhere; }
.practice-notice p { margin: 0; font-size: 1rem; }
.practice-details { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: stretch; min-width: 0; padding-top: 32px; border-top: 1px solid var(--line); }
.detail-card { min-width: 0; }
.hours-section { padding: 0 32px 0 0; }
.contact-section { padding: 0 0 0 32px; border-left: 1px solid var(--line); }
.contact-section:only-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
h2 { margin: 0 0 15px; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.practice-details h2 { display: flex; align-items: center; gap: 10px; margin-bottom: 21px; }
.practice-details h2 .icon { color: var(--accent); width: 21px; height: 21px; }
.hours-list { margin: 0; }
.hours-list > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours-list > div:first-child { padding-top: 0; }
.hours-list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours-list dt { color: #5b4e52; font-size: 1rem; font-weight: 500; }
.hours-list dd { display: grid; gap: 3px; max-width: 100%; min-width: 0; margin: 0 0 0 auto; font-size: 1rem; font-variant-numeric: tabular-nums; line-height: 1.5; text-align: right; }
.hours-slot { overflow-wrap: anywhere; }
.detail-note { margin: 14px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
address { font-style: normal; color: var(--muted); }
address span { display: block; font-size: 1rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; overflow-wrap: anywhere; }
.practice-name { margin-bottom: 13px; }
.address-street { color: var(--ink); }
.address-city { margin-top: 5px; color: #574c50; }
.contact-links { display: flex; flex-direction: column; gap: 4px; margin-top: 24px; padding-top: 13px; border-top: 1px solid var(--line); }
.contact-links a { display: flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 9px 0; text-decoration: none; }
.contact-links .icon { width: 17px; height: 17px; color: var(--accent); }
.contact-links span { min-width: 0; overflow-wrap: anywhere; font-size: 1rem; line-height: 1.5; }
.contact-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-footer { margin-top: 23px; padding: 12px 4px 0; border-top: 1px solid #dfd8d4; color: #575155; line-height: 1.6; }
.footer-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; }
.footer-copyright { margin: 0; font-size: .875rem; overflow-wrap: anywhere; }
.page-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 8px; border-radius: 3px; font-size: .875rem; text-decoration: none; text-underline-offset: 4px; }
.footer-link:hover, .footer-link[aria-current] { text-decoration: underline; }
.page-shell--text { max-width: 760px; }
.legal-page { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 20px; background: var(--paper); }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); font-size: .9375rem; text-underline-offset: 4px; }
.legal-page h1 { font-size: clamp(2rem, 4.8vw, 2.75rem); margin: 22px 0 28px; }
.legal-content { color: var(--muted); font-size: 1rem; line-height: 1.8; overflow-wrap: anywhere; }
.legal-content h2, .legal-content h3, .legal-content h4, .legal-content h5, .legal-content h6 { color: var(--ink); margin: 32px 0 12px; line-height: 1.4; font-weight: 600; }
.legal-content h2 { font-size: 1.375rem; }
.legal-content h3 { font-size: 1.125rem; }
.legal-content h4, .legal-content h5, .legal-content h6 { font-size: 1rem; }
.legal-content p { margin: 14px 0; }
.legal-content > :first-child { margin-top: 0; }
.legal-content > :last-child { margin-bottom: 0; }
.legal-content a { color: var(--accent); text-underline-offset: 3px; }
.legal-content li { margin: 7px 0; }
.legal-content ul, .legal-content ol { padding-left: 1.4rem; }
.legal-content table { width: 100%; border-collapse: collapse; }
.legal-content th, .legal-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.legal-content pre { max-width: 100%; overflow-x: auto; }
.legal-content blockquote { margin: 22px 0; padding-left: 18px; border-left: 3px solid var(--peach); }
.legal-content .alignwide, .legal-content .alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.content-pagination { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.post-preview { padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 1600px) { .page-shell { padding-top: 64px; } }
@media (max-width: 900px) and (min-width: 681px) {
  .page-shell { width: calc(100% - 48px); }
  .vcard { grid-template-columns: 35% minmax(0, 1fr); gap: 28px; padding: 28px; }
  .portrait-wrap { aspect-ratio: 3 / 4; }
  h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); }
  .profile-summary { gap: 20px; }
  .hours-section { padding-right: 24px; }
  .contact-section { padding-left: 24px; }
}
@media (max-width: 680px) {
  .page-shell { width: min(510px, calc(100% - 24px)); padding: 16px 0 24px; }
  .vcard { display: flex; flex-direction: column; gap: 0; padding: 0; border-radius: 20px; overflow: hidden; }
  .portrait-panel { width: 100%; align-self: stretch; }
  .portrait-wrap { width: 100%; aspect-ratio: 3 / 3; border-radius: 0; }
  .portrait { object-fit: cover; object-position: 50% 0%; }
  .information-panel { display: block; width: 100%; padding: 28px 24px; }
  .profile-summary { gap: 24px; }
  h1 { font-size: clamp(2.125rem, 9.5vw, 3rem); margin: 14px 0 17px; }
  .doctor-title { font-size: 1.125rem; margin-bottom: 5px; }
  .intro-copy { line-height: 1.7; }
  .quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-action { min-width: 0; padding: 12px 10px; gap: 8px; }
  .quick-action .icon { width: 20px; height: 20px; }
  .quick-actions--1 { grid-template-columns: 1fr; }
  .quick-actions--3 .quick-action--save { grid-column: 1 / -1; }
  .practice-details { grid-template-columns: 1fr; gap: 24px; margin-top: 26px; padding-top: 25px; }
  .hours-section { padding: 20px; border-radius: 14px; background: var(--soft); }
  .contact-section { padding: 0; border-left: 0; }
  .page-footer { padding: 14px 2px 0; margin-top: 20px; text-align: center; }
  .footer-main { flex-direction: column; gap: 0; }
  .page-footer nav { justify-content: center; }
  .page-shell--text { width: calc(100% - 32px); }
  .legal-page { padding: 24px 20px; border-radius: 16px; }
  .legal-page h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .legal-content h2 { font-size: 1.25rem; }
}
@media (max-width: 360px) { .information-panel { padding-right: 19px; padding-left: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  body { background: #fff; }
  .page-shell { width: 100%; max-width: none; padding: 0; }
  .vcard, .legal-page { box-shadow: none; border: 0; }
  .legal-page { padding: 0; }
  .skip-link, .contact-actions, .page-footer nav, .back-link { display: none; }
}
