:root {
    --ink: #1b2a24;
    --ink-soft: #3d5148;
    --paper: #f5f7f2;
    --white: #fff;
    --line: #dfe6dd;
    --green: #193d32;
    --green-deep: #15352c;
    --green-soft: #e5eee8;
    --lime: #d8ef77;
    --orange: #d57350;
    --muted: #75837b;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.container { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: #60766b; font-family: var(--font-display); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; line-height: 1.3; }
.eyebrow-light { color: rgba(255,255,255,.75); }
.topline { min-height: 34px; color: #e9f1eb; background: var(--green-deep); font-size: 11px; }
.topline-inner { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topline-inner > span:last-child { display: flex; gap: 11px; align-items: center; }
.topline-inner i { width: 3px; height: 3px; border-radius: 50%; background: var(--lime); }
.site-header { position: relative; z-index: 10; background: var(--paper); }
.nav-wrap { min-height: 86px; display: flex; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 17px; font-weight: 800; line-height: 1.05; }
.brand > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.brand small { color: #839087; font-size: 8px; font-weight: 800; letter-spacing: 1.45px; }
.brand-mark { display: grid; width: 37px; height: 37px; place-items: center; color: var(--green); border: 1px solid #cbd7cd; border-radius: 50%; font-family: Georgia, serif; font-size: 21px; font-weight: 400; }
.brand-logo { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.brand-light { color: white; }
.brand-light .brand-mark { color: var(--lime); border-color: rgba(255,255,255,.32); }
.brand-light small { color: #9fb4a7; }
.main-nav { display: flex; gap: 30px; align-items: center; color: #43534b; font-size: 12px; font-weight: 600; }
.main-nav > a:not(.button) { position: relative; padding-block: 8px; }
.main-nav > a:not(.button)::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 1px; background: var(--green); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-nav > a:not(.button):hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.nav-toggle { display: none; border: 0; background: transparent; }
.button { display: inline-flex; min-height: 50px; gap: 25px; justify-content: center; align-items: center; padding: 0 21px; border: 0; border-radius: 2px; font-family: var(--font-display); font-size: 12px; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; font-weight: 500; }
.button-dark { color: #fff; background: var(--green); }
.button-dark:hover { background: #285344; }
.button-lime { color: var(--green-deep); background: var(--lime); }
.button-lime:hover { background: #e4f69b; }
.button-small { min-height: 42px; gap: 16px; padding-inline: 16px; font-size: 11px; }
.button-full { width: 100%; }
.notice-wrap { padding-top: 14px; }
.notice { padding: 12px 15px; border: 1px solid #bcd7c5; color: #234b36; background: #edf7ef; font-size: 13px; }
.notice-error { border-color: #e9c0b0; color: #863e29; background: #fff1eb; }
.login-attempt-warning { margin-bottom: 16px; border: 1px solid #ead9a7; padding: 10px 12px; color: #795c17; background: #fff8df; font-size: 10px; line-height: 1.5; }

.hero { position: relative; min-height: 590px; overflow: hidden; color: white; background: #244539; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { background-position: center 39%; background-size: cover; transition: opacity .6s ease, transform 8s linear; transform: scale(1.015); }
.hero-image.is-changing { opacity: .2; }
.hero-shade { background: linear-gradient(90deg, rgba(14,36,28,.86) 0%, rgba(18,42,33,.62) 43%, rgba(21,40,31,.08) 100%), linear-gradient(0deg, rgba(16,34,27,.38), transparent 40%); }
.hero-content { position: relative; display: flex; min-height: 590px; align-items: center; padding-block: 65px 95px; }
.hero-copy { max-width: 590px; padding-bottom: 2px; animation: reveal-in .65s ease both; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-hero h1, .admin-login-panel h1 { margin: 20px 0 16px; font-family: var(--font-display); font-size: clamp(44px, 5.5vw, 68px); font-weight: 600; letter-spacing: 0; line-height: 1.08; }
.hero h1 em, h2 em, .page-hero h1 em { color: var(--lime); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; }
.hero-copy > p { max-width: 430px; margin-bottom: 28px; color: rgba(255,255,255,.79); font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; gap: 28px; align-items: center; }
.text-link { display: inline-flex; gap: 12px; align-items: center; color: var(--green); font-family: var(--font-display); font-size: 12px; font-weight: 800; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: white; }
.hero-slide-controls { position: absolute; bottom: 30px; left: 0; display: flex; gap: 13px; align-items: center; color: rgba(255,255,255,.76); font-size: 10px; }
.hero-slide-controls button { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: white; background: transparent; cursor: pointer; transition: background .2s; }
.hero-slide-controls button:hover { color: var(--green); background: white; }
.hero-slide-controls span { display: flex; align-items: center; gap: 8px; }
.hero-slide-controls b { color: white; font-weight: 700; }
.hero-slide-controls i { width: 20px; height: 1px; background: rgba(255,255,255,.55); }
.hero-note { position: absolute; right: 0; bottom: 31px; display: flex; gap: 10px; align-items: center; color: rgba(255,255,255,.88); font-size: 11px; line-height: 1.4; }
.hero-note-mark { color: var(--lime); font-size: 25px; }
.quick-info { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: #fff; }
.quick-grid { display: grid; min-height: 112px; grid-template-columns: repeat(3, 1fr) 1fr; align-items: center; }
.quick-grid > div { display: flex; gap: 14px; align-items: center; }
.quick-icon { display: grid; width: 41px; height: 41px; flex: 0 0 41px; place-items: center; border: 1px solid #d9e3d9; border-radius: 50%; color: #4f7160; font-family: var(--font-display); font-size: 13px; font-weight: 700; }
.quick-grid b, .quick-grid small { display: block; }
.quick-grid b { font-family: var(--font-display); font-size: 12px; }
.quick-grid small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.quick-link { display: flex; gap: 14px; justify-content: flex-end; align-items: center; font-size: 12px; font-weight: 700; }
.quick-link span { color: var(--orange); font-size: 17px; }
.section { padding-block: 96px; }
.section-intro { padding-block: 106px 112px; }
.home-announcements-box { min-width: 0; align-self: center; border: 1px solid #dfe6dc; padding: 16px; background: #f5f7f2; }
.home-announcements-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.home-announcements-heading h2 { margin: 6px 0 0; color: #263b30; font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.home-announcements-heading h2 em { color: #6c8b73; font-family: Georgia, serif; font-weight: 400; }
.announcement-ticker-window { height: 245px; overflow: hidden; border-top: 1px solid #dce4db; border-bottom: 1px solid #dce4db; mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent); }
.announcement-ticker-track { animation: announcement-scroll-up 42s linear infinite; }
.announcement-ticker-window:hover .announcement-ticker-track, .announcement-ticker-window:focus-within .announcement-ticker-track { animation-play-state: paused; }
.announcement-ticker-group { display: grid; gap: 0; }
.announcement-ticker-item { display: grid; min-height: 58px; grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 7px; align-items: center; border-bottom: 1px solid #e1e7e0; padding: 8px 5px; background: rgba(255,255,255,.62); }
.announcement-ticker-date { color: #839087; font-size: 8px; font-weight: 700; }
.announcement-ticker-item h3 { margin: 0 0 3px; color: #30443a; font-family: var(--font-display); font-size: 10px; }
.announcement-ticker-item p { display: -webkit-box; overflow: hidden; margin: 0; color: #6f7d73; font-size: 8px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.announcement-ticker-item > a { color: #64806c; font-size: 14px; text-align: center; text-decoration: none; }
.announcement-ticker-item > a:hover { color: #30443a; }
.home-announcements-empty { border-block: 1px solid #dce4db; padding: 22px 8px; color: #748177; font-size: 10px; }
@keyframes announcement-scroll-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.director-message-section { padding-block: 10px 60px; }
.director-message { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: stretch; background: #f1f4ef; }
.director-message-photo { position: relative; min-width: 0; overflow: hidden; background: #dfe6df; }
.director-message-photo img { width: 100%; height: auto; aspect-ratio: 1808 / 1344; object-fit: contain; object-position: center; }
.director-message-photo > span { position: absolute; right: 14px; bottom: 14px; padding: 7px 10px; color: #fff; background: var(--green); font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.director-message-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 30px clamp(24px, 4vw, 52px); }
.director-message-copy h2 { margin: 10px 0 12px; color: #263b30; font-family: var(--font-display); font-size: clamp(27px, 2.8vw, 36px); font-weight: 600; line-height: 1.14; }
.director-message-copy h2 em { color: #6c8b73; font-family: Georgia, serif; font-weight: 400; }
.director-message-copy > p { max-width: 510px; margin: 0; color: #69766e; font-size: 12px; line-height: 1.75; }
.director-message-copy > p + p { margin-top: 12px; }
.director-signoff { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid #d9e1d8; margin-top: 19px; padding-top: 12px; color: #30443a; }
.director-signoff strong { font-family: var(--font-display); font-size: 13px; }
.director-signoff span { color: #78857b; font-size: 10px; }
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 45px; align-items: start; }
.section-label { display: flex; min-height: 180px; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.intro-points { display: grid; gap: 11px; margin-block: 18px; }
.intro-points > div { display: flex; gap: 10px; align-items: center; color: #617068; font-size: 10px; font-weight: 600; }
.intro-points i { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border: 1px solid #dce6dc; border-radius: 50%; color: #638575; background: #f5f8f4; font-size: 8px; font-style: normal; font-weight: 700; }
.label-number { color: #89968e; font-size: 10px; }
.intro-copy h2, .section-heading h2, .specialty-inner h2, .appointment-strip h2, .story-grid h2, .form-aside h2 { max-width: 560px; margin-bottom: 17px; font-family: var(--font-display); font-size: 37px; font-weight: 600; line-height: 1.2; }
.intro-copy h2 em, .section-heading h2 em, .story-grid h2 em, .form-aside h2 em { color: #638575; }
.intro-copy p, .story-grid p { max-width: 485px; margin-bottom: 18px; color: #617068; font-size: 13px; line-height: 1.9; }
.intro-copy .text-link { margin-top: 7px; }
.intro-image { position: relative; margin-top: 47px; }
.intro-image img { aspect-ratio: 1.14; object-fit: cover; }
.image-caption { position: absolute; right: -15px; bottom: 16px; padding: 9px 14px; color: var(--green); background: var(--lime); font-family: Georgia, serif; font-size: 13px; font-style: italic; }
.specialty-band { padding-block: 87px; color: white; background-color: var(--green); background-image: radial-gradient(rgba(213,232,217,.11) .7px, transparent .7px); background-size: 15px 15px; }
.specialty-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.specialty-inner h2 { margin-top: 18px; margin-bottom: 0; font-size: 40px; }
.specialty-inner h2 em, .appointment-strip h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.specialty-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
.specialty-list a { display: grid; min-height: 39px; grid-template-columns: 22px minmax(0, 1fr) 14px; gap: 5px; align-items: center; border: 1px solid rgba(255,255,255,.18); padding: 5px 8px; color: rgba(255,255,255,.92); background: rgba(255,255,255,.045); font-family: var(--font-display); font-size: 11px; font-weight: 600; line-height: 1.3; transition: background .2s, color .2s; }
.specialty-list a:hover { color: var(--lime); background: rgba(255,255,255,.1); }
.specialty-list a span { color: #a1b7a8; font-size: 10px; }
.specialty-list a b { color: var(--lime); font-size: 17px; font-weight: 400; }
.section-doctors { padding-block: 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 35px; }
.section-heading h2 { margin: 13px 0 0; font-size: 35px; }
.section-heading > .text-link { margin-bottom: 8px; }
.doctor-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.doctor-preview { min-width: 0; }
.doctor-photo { overflow: hidden; background: #e3e9e0; }
.doctor-photo img { aspect-ratio: 1.18; object-fit: cover; transition: transform .55s ease; }
.doctor-photo-fallback { display: grid; aspect-ratio: 1.18; place-items: center; color: #54745f; background: linear-gradient(140deg, #e7eee8, #cfddd2 55%, #bacdbf); font-family: var(--font-display); font-size: clamp(40px, 7vw, 74px); font-weight: 700; }
.doctor-preview:hover .doctor-photo img { transform: scale(1.035); }
.doctor-meta { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 17px; }
.doctor-meta > span { grid-column: 1 / 3; color: #718179; font-size: 10px; }
.doctor-meta h3 { margin: 3px 0 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.doctor-meta a { display: flex; gap: 10px; align-items: center; color: #526e60; font-size: 10px; font-weight: 700; }
.doctor-meta a b { font-size: 16px; font-weight: 400; }
.appointment-strip { padding-block: 49px; color: white; background: #bb6045; }
.appointment-strip-inner { display: flex; gap: 30px; justify-content: space-between; align-items: center; }
.strip-star { color: #f3b199; font-size: 42px; }
.appointment-strip .eyebrow { color: rgba(255,255,255,.8); }
.appointment-strip h2 { margin: 7px 0 0; font-size: 27px; }
.appointment-strip .button { flex: 0 0 auto; }

.page-hero { padding-block: 64px 70px; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 75px; align-items: center; }
.page-hero h1 { margin-block: 17px 18px; color: var(--ink); font-size: clamp(42px, 5vw, 59px); }
.page-hero h1 em { color: #6f907e; }
.page-hero p { max-width: 440px; margin-bottom: 0; color: #66746c; font-size: 14px; line-height: 1.85; }
.page-hero-photo { position: relative; }
.page-hero-photo::before { position: absolute; z-index: -1; top: -16px; right: -16px; width: 45%; height: 45%; background: var(--lime); content: ''; }
.page-hero-photo img { aspect-ratio: 1.65; object-fit: cover; }
.page-hero-compact { padding-block: 60px 53px; }
.page-hero-compact .container { max-width: 1200px; }
.page-hero-compact h1 { margin-bottom: 12px; font-size: 52px; }
.about-story { padding-block: 87px; background: #e9eee7; }
.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 75px; }
.story-grid h2 { max-width: 620px; font-size: 40px; }
.story-grid p { max-width: 650px; }
.values-band { padding-block: 70px; color: white; background: var(--green); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 55px; }
.values-grid article { border-top: 1px solid rgba(255,255,255,.34); padding-top: 17px; }
.values-grid article > span { color: var(--lime); font-size: 11px; }
.values-grid h3 { margin: 22px 0 8px; font-family: var(--font-display); font-size: 19px; }
.values-grid p { max-width: 310px; margin: 0; color: #d0dcd3; font-size: 12px; line-height: 1.8; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-row > div { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); padding-left: 28px; }
.stats-row > div:first-child { border: 0; padding-left: 0; }
.stats-row strong { color: #476b59; font-family: var(--font-display); font-size: 31px; font-weight: 600; }
.stats-row span { color: #75827a; font-size: 11px; }
.facility-section { padding-top: 28px; }
.heading-note { max-width: 280px; margin-bottom: 4px; color: #78867d; font-size: 12px; line-height: 1.8; }
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.facility-grid article { position: relative; min-height: 276px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 25px 22px; transition: background .2s; }
.facility-grid article:hover { background: #ebf0e8; }
.facility-no { position: absolute; top: 25px; right: 24px; color: #8d9b91; font-size: 10px; }
.facility-symbol { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; color: var(--green); background: var(--lime); font-size: 19px; }
.facility-grid h3 { margin: 26px 0 7px; font-family: var(--font-display); font-size: 16px; }
.facility-grid p { max-width: 290px; min-height: 59px; margin-bottom: 14px; color: #6e7b73; font-size: 12px; line-height: 1.7; }
.facility-grid article > a { display: inline-flex; gap: 10px; align-items: center; font-size: 10px; font-weight: 700; }
.facility-grid article > a b { color: #679079; font-size: 16px; font-weight: 400; }
.doctors-page { padding-top: 14px; }
.doctor-directory { max-width: 900px; }
.directory-intro { display: flex; justify-content: space-between; gap: 25px; align-items: center; margin-bottom: 16px; }
.directory-intro p { max-width: 310px; margin: 0; color: #758179; font-size: 12px; }
.directory-doctor { display: grid; min-height: 105px; grid-template-columns: 58px 1fr auto 42px; gap: 18px; align-items: center; border-top: 1px solid var(--line); }
.directory-avatar { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; color: #335442; background: #dbe8dd; font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.doctor-avatar-image { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.avatar-1 { color: #855d42; background: #f2e5d8; }
.avatar-2 { color: #486b76; background: #dcebed; }
.directory-details > span, .schedule-card-top > div:last-child > span { color: #718078; font-size: 10px; }
.directory-details h2 { margin: 2px 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.directory-details p { margin: 0; color: #758179; font-size: 11px; }
.directory-status { display: flex; gap: 8px; align-items: center; font-size: 10px; font-weight: 600; white-space: nowrap; }
.directory-status i { width: 7px; height: 7px; border-radius: 50%; background: #65a276; }
.status-unavailable i { background: #c2775e; }
.icon-link { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #d5dfd6; border-radius: 50%; color: var(--green); font-size: 16px; }
.icon-link:hover { border-color: var(--green); background: #e7eee7; }
.directory-doctor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.directory-doctor-grid .directory-doctor { display: grid; min-width: 0; min-height: 0; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; border: 0; }
.directory-doctor-grid .directory-avatar { width: 100%; height: auto; aspect-ratio: 1.18; grid-column: 1 / -1; overflow: hidden; border-radius: 0; font-size: clamp(40px, 7vw, 74px); }
.directory-doctor-grid .directory-details { grid-column: 1 / -1; padding-top: 8px; }
.directory-doctor-grid .directory-status { grid-column: 1; grid-row: 3; white-space: normal; }
.directory-doctor-grid .icon-link { grid-column: 2; grid-row: 3; justify-self: end; }

.form-section { padding-block: 28px 108px; }
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 75px; align-items: start; }
.form-aside { padding-top: 17px; }
.form-aside h2 { margin-top: 16px; font-size: 35px; }
.form-aside > p { max-width: 360px; margin-bottom: 30px; color: #6d7a72; font-size: 13px; line-height: 1.8; }
.aside-detail { display: flex; gap: 15px; align-items: flex-start; border-top: 1px solid var(--line); padding-block: 15px; }
.aside-detail > span { color: #799184; font-size: 10px; }
.aside-detail p { margin: 0; color: #748078; font-size: 11px; line-height: 1.75; }
.aside-detail p b { color: var(--ink); font-size: 12px; }
.aside-phone { margin-top: 15px; color: #7a867e; font-size: 11px; }
.aside-phone a { display: block; margin-top: 4px; color: var(--green); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.form-panel { border: 1px solid var(--line); background: #fff; }
.form-panel-heading { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 18px 23px; color: #5d7065; font-family: var(--font-display); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.form-panel-heading span:last-child { color: #87938b; font-size: 8px; }
.form-fields { display: flex; flex-direction: column; gap: 18px; padding: 24px; }
.form-fields label, .form-stack label { display: flex; flex-direction: column; gap: 7px; color: #33433a; font-size: 11px; font-weight: 700; }
.form-fields input, .form-fields select, .form-fields textarea, .form-stack input { width: 100%; min-height: 44px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 10px 12px; color: var(--ink); background: #fbfcfa; font-size: 12px; font-weight: 400; }
.form-fields textarea { resize: vertical; }
.form-fields input:focus, .form-fields select:focus, .form-fields textarea:focus, .form-stack input:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.form-fields input::placeholder, .form-fields textarea::placeholder { color: #a1aca4; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field-hint { display: inline; margin-left: 5px; color: #8d9991; font-size: 9px; font-weight: 400; }
.form-privacy { margin: -9px 0 0; color: #8a968e; text-align: center; font-size: 10px; }
.captcha-field label { display: flex; max-width: 240px; flex-direction: column; gap: 7px; color: #33433a; font-size: 11px; font-weight: 700; }
.captcha-field input { width: 100%; min-height: 44px; border: 1px solid #dce4db; padding: 10px 12px; color: var(--ink); background: #fbfcfa; font-size: 12px; }
.captcha-field small { display: block; margin-top: 6px; color: #7c8981; font-size: 10px; }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-section { padding-top: 18px; }
.contact-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 85px; align-items: start; }
.contact-details > .eyebrow { margin-bottom: 19px; }
.contact-block { display: flex; flex-direction: column; border-top: 1px solid var(--line); padding-block: 17px 19px; }
.contact-block > span { margin-bottom: 7px; color: #7d8b82; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.contact-block > a, .contact-block > p { margin: 0; color: var(--green); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.contact-block small { margin-top: 4px; color: #7c8981; font-size: 10px; }
.contact-emergency { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; font-size: 11px; }
.contact-emergency span { color: #78857d; }
.contact-emergency b { color: #af5b40; }

.site-footer { padding-top: 60px; color: #ecf3ed; background: var(--green-deep); }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr 1fr 1fr; gap: 42px; padding-bottom: 48px; }
.footer-about p { max-width: 255px; margin: 18px 0 0; color: #b4c4b8; font-size: 11px; line-height: 1.8; }
.footer-grid h3 { margin-bottom: 16px; color: #a3b6a8; font-family: var(--font-display); font-size: 10px; letter-spacing: .3px; }
.footer-grid > div:not(.footer-about):not(.footer-cta) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid > div:not(.footer-about):not(.footer-cta) a, .footer-grid > div:not(.footer-about):not(.footer-cta) span, .footer-cta > span:last-child { color: #d6e0d8; font-size: 10px; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-cta .eyebrow { color: var(--lime); font-size: 8px; }
.footer-emergency { display: flex; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 9px; font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.footer-emergency span { color: var(--lime); }
.footer-bottom { display: flex; min-height: 52px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.17); color: #91a69a; font-size: 9px; }

.form-stack { display: flex; flex-direction: column; gap: 17px; margin-top: 24px; }
.setup-page, .admin-body { min-height: 100vh; background: #eef2ec; }
.setup-shell, .admin-login-shell { display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.setup-panel, .admin-login-panel { width: min(100%, 470px); margin-top: 28px; border: 1px solid #dce4dc; padding: 39px; background: #fff; }
.setup-panel h1, .admin-login-panel h1 { margin: 13px 0 8px; color: var(--ink); font-size: 32px; }
.setup-panel > p, .admin-login-panel > p { margin-bottom: 20px; color: #758179; font-size: 12px; }
.setup-panel > .button { margin-top: 11px; }
.setup-foot { margin: 22px 0 0; color: #87938b; font-size: 10px; }
.back-link { display: inline-block; margin-top: 20px; color: #738178; font-size: 11px; }
.back-link:hover { color: var(--green); }

.admin-body { background: #f3f5f1; }
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 245px minmax(0, 1fr); }
.admin-sidebar { position: sticky; top: 0; display: flex; height: 100vh; flex-direction: column; padding: 27px 20px 17px; color: #e8f0e9; background: var(--green-deep); }
.admin-sidebar .lab-sidebar-welcome { display: grid; gap: 4px; margin: 18px 4px 6px; border: 1px solid rgba(188, 221, 198, .2); border-radius: 5px; padding: 12px; background: rgba(255,255,255,.055); }
.admin-sidebar .lab-sidebar-welcome > span { color: #a7c4ad; font-size: 8px; font-weight: 800; letter-spacing: 1px; }
.admin-sidebar .lab-sidebar-welcome > strong { color: #fff; font-size: 13px; line-height: 1.35; overflow-wrap: anywhere; }
.admin-sidebar .lab-sidebar-welcome > small { color: #bbd0c0; font-size: 10px; }
.sidebar-label { margin: 56px 11px 14px; color: #92a99a; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.admin-nav { display: flex; min-height: 0; flex: 1 1 auto; flex-direction: column; gap: 5px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; scrollbar-color: rgba(200,214,203,.45) transparent; scrollbar-width: thin; }
.admin-nav::-webkit-scrollbar { width: 6px; }
.admin-nav::-webkit-scrollbar-thumb { border-radius: 6px; background: rgba(200,214,203,.4); }
.admin-nav::-webkit-scrollbar-track { background: transparent; }
.admin-nav a { display: flex; min-height: 43px; gap: 11px; align-items: center; border-radius: 2px; padding: 0 11px; color: #c8d6cb; font-size: 11px; }
.admin-nav a > span { width: 17px; color: #9db6a4; font-size: 15px; text-align: center; }
.admin-nav a b { display: grid; min-width: 18px; height: 18px; place-items: center; margin-left: auto; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 9px; }
.admin-nav a:hover, .admin-nav a.current { color: white; background: rgba(255,255,255,.1); }
.admin-nav a.current > span { color: var(--lime); }
.admin-nav-submenu { display: flex; flex-direction: column; gap: 2px; padding: 3px 0 3px 13px; }
.admin-nav-submenu a { min-height: 37px; gap: 8px; padding-inline: 9px; font-size: 10px; }
.admin-nav-submenu a > span { font-size: 13px; }
.profile-editor { display: grid; grid-template-columns: minmax(210px, .65fr) minmax(0, 1.35fr); gap: 28px; align-items: start; }
.profile-intro h2 { margin: 12px 0 8px; font-family: var(--font-display); font-size: 18px; }
.profile-intro p { max-width: 270px; color: #77857c; font-size: 11px; line-height: 1.8; }
.profile-form { border: 1px solid #e0e6df; background: white; }
.profile-fields { display: flex; flex-direction: column; gap: 17px; padding: 22px; }
.profile-fields > label, .profile-logo-field > label:first-child { display: flex; flex-direction: column; gap: 7px; color: #526258; font-size: 10px; font-weight: 700; }
.profile-fields input:not([type=checkbox]):not([type=file]), .profile-fields textarea { width: 100%; min-height: 42px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 9px 11px; color: #35473c; background: #fbfcfa; font-size: 11px; font-weight: 400; }
.profile-fields textarea { resize: vertical; }
.profile-fields input:focus, .profile-fields textarea:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.profile-logo-field { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #e8ece7; padding-top: 15px; }
.profile-logo-current { display: flex; min-height: 54px; gap: 11px; align-items: center; color: #728077; font-size: 9px; }
.profile-logo-current img, .profile-logo-current > span { display: grid; width: 54px; height: 54px; flex: 0 0 54px; place-items: center; border: 1px solid #dce4db; border-radius: 50%; color: var(--green); background: #f4f7f2; font-family: Georgia, serif; font-size: 22px; object-fit: contain; }
.profile-file-label { color: #526258; font-size: 9px; font-weight: 700; }
.profile-logo-field input[type=file] { max-width: 100%; color: #66746c; font-size: 10px; }
.profile-logo-field > small { color: #87938b; font-size: 9px; }
.profile-music-field audio { width: min(100%, 420px); min-height: 38px; }
.website-background-music { display: none; }
.remove-logo { display: inline-flex; gap: 8px; align-items: center; color: #8e5847; font-size: 10px; cursor: pointer; }
.remove-logo input { accent-color: #a25a44; }
.profile-form-footer { display: flex; gap: 16px; align-items: center; border-top: 1px solid #e8ece7; padding: 15px 22px; }
.profile-form-footer .button { min-height: 42px; }
.profile-form-footer > span { color: #87938b; font-size: 9px; }
.sidebar-bottom { display: flex; gap: 10px; align-items: center; margin-top: auto; border-top: 1px solid rgba(255,255,255,.17); padding-top: 15px; }
.admin-user-dot { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 50%; color: var(--green-deep); background: var(--lime); font-size: 11px; font-weight: 700; }
.sidebar-bottom > div { display: flex; min-width: 0; flex-direction: column; }
.sidebar-bottom > div b { overflow: hidden; color: white; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-bottom > div small { color: #91a99a; font-size: 9px; }
.sidebar-bottom form { margin-left: auto; }
.logout-button { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: transparent; cursor: pointer; }
.admin-main { min-width: 0; }
.admin-topbar { display: flex; height: 62px; justify-content: space-between; align-items: center; border-bottom: 1px solid #e0e5df; padding-inline: 38px; color: #7c8880; background: #fff; font-size: 10px; }
.admin-topbar a { color: var(--green); font-weight: 700; }
.admin-topbar a span { margin-left: 5px; color: #789381; }
.admin-content { max-width: 1200px; margin-inline: auto; padding: 38px; }
.admin-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.admin-heading .eyebrow { font-size: 9px; }
.admin-heading h1 { margin: 8px 0 3px; font-family: var(--font-display); font-size: 29px; font-weight: 700; letter-spacing: 0; line-height: 1.2; }
.admin-heading p { margin: 0; color: #7b8880; font-size: 11px; }
.admin-today { display: flex; width: 58px; height: 62px; flex-direction: column; justify-content: center; align-items: center; border: 1px solid #dce4dc; color: #78877d; background: white; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.admin-today b { color: var(--green); font-family: var(--font-display); font-size: 20px; line-height: 1.1; }
.admin-today small { font-size: 7px; }
.admin-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 33px; }
.admin-stat-row > div { display: flex; min-height: 88px; flex-direction: column; justify-content: center; border: 1px solid #e0e6df; padding: 13px 17px; background: #fff; }
.admin-stat-row span { color: #839087; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.admin-stat-row b { margin-top: 4px; color: var(--green); font-family: var(--font-display); font-size: 25px; line-height: 1; }
.admin-stat-row .stat-pending { border-top: 2px solid #d6ab66; }
.admin-table-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.admin-table-heading h2 { margin: 0 0 3px; font-family: var(--font-display); font-size: 15px; }
.admin-table-heading p { margin: 0; color: #7c8981; font-size: 10px; }
.admin-table-heading > span { color: #8a968e; font-size: 8px; font-weight: 800; letter-spacing: .8px; }
.appointment-filters { margin-bottom: 15px; border: 1px solid #e0e6df; padding: 14px; background: #fff; }
.appointment-filters form { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.appointment-filters label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #536359; font-size: 9px; font-weight: 700; }
.appointment-filters input, .appointment-filters select { width: 100%; min-width: 0; min-height: 37px; border: 1px solid #dce4db; border-radius: 3px; padding: 7px 8px; color: #35473c; background: #fff; font: inherit; font-size: 10px; }
.appointment-filters input:focus, .appointment-filters select:focus { border-color: #769b84; outline: 2px solid rgba(118,155,132,.14); }
.appointment-filters label:nth-of-type(5) { grid-column: span 2; }
.appointment-filter-actions { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; gap: 16px; }
.appointment-filter-actions .button { min-height: 38px; gap: 12px; padding-inline: 15px; font-size: 10px; }
.appointment-filter-actions .button span { font-size: 14px; }
.appointment-filter-actions .quiet-button { padding: 8px 4px; }
.onsite-appointment-panel { margin: 0 0 16px; border: 1px solid #e0e6df; border-radius: 8px; padding: 11px 13px; background: #fff; }
.onsite-appointment-panel > summary { display: inline-flex; cursor: pointer; list-style: none; }
.onsite-appointment-panel > summary::-webkit-details-marker { display: none; }
.onsite-appointment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin-top: 14px; border-top: 1px solid #e8ece7; padding-top: 14px; }
.onsite-appointment-form label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #536359; font-size: 9px; font-weight: 700; }
.onsite-appointment-form input, .onsite-appointment-form select, .onsite-appointment-form textarea { width: 100%; min-width: 0; min-height: 36px; border: 1px solid #dce4db; border-radius: 4px; padding: 8px; color: #35473c; background: white; font: inherit; font-size: 11px; }
.onsite-appointment-form .onsite-appointment-reason { grid-column: 1 / -1; }
.onsite-appointment-form > button { justify-self: start; }
.onsite-appointment-note { align-self: center; margin: 0; color: #7c8981; font-size: 10px; }
.service-row { display: grid; min-height: 68px; grid-template-columns: minmax(100px, 1fr) auto auto; gap: 13px; align-items: center; border-bottom: 1px solid #edf0ec; padding: 9px 3px; }
.service-row:last-child { border-bottom: 0; }
.service-row-main { min-width: 0; }
.service-row-main h3 { overflow: hidden; margin: 0 0 3px; color: #34473b; font-family: var(--font-display); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.service-row-main p { overflow: hidden; margin: 0; color: #849087; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.service-row > strong { color: #294937; font-family: var(--font-display); font-size: 11px; white-space: nowrap; }
.service-row > form { margin: 0; }
.service-row > form button { white-space: nowrap; }
.icon-remove-item { display: grid; width: 28px; height: 39px; place-items: center; border: 1px solid #eadbd6; color: #a45e49; background: #fff; font-size: 18px; cursor: pointer; }
.icon-remove-item:hover { background: #fbefeb; }
.payment-total { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e5eae4; padding-top: 14px; color: #48594f; font-size: 11px; font-weight: 700; }
.payment-total strong { color: #254a34; font-family: var(--font-display); font-size: 23px; font-variant-numeric: tabular-nums; }
.print-receipt { max-width: 820px; margin-inline: auto; border: 1px solid #dce4dc; padding: 42px; background: #fff; color: #26372d; }
.admin-list, .message-list { border: 1px solid #e0e6df; background: white; }
.appointment-bulk-toolbar { display: flex; min-height: 48px; justify-content: space-between; gap: 12px; align-items: center; border-bottom: 1px solid #e8ece7; padding: 8px 17px; background: #fbfcfa; }
.appointment-bulk-toolbar > label { display: inline-flex; gap: 8px; align-items: center; color: #526258; font-size: 10px; font-weight: 700; cursor: pointer; }
.appointment-bulk-toolbar input, .appointment-select-checkbox { width: 16px; height: 16px; accent-color: var(--green); cursor: pointer; }
.appointment-bulk-toolbar form { margin: 0; }
.appointment-bulk-toolbar .danger-button { min-height: 32px; border: 1px solid #e7cfc8; border-radius: 3px; padding: 6px 10px; color: #934f42; background: #fff8f6; font: inherit; font-size: 9px; font-weight: 700; cursor: pointer; }
.appointment-row { display: grid; min-height: 88px; grid-template-columns: 18px 38px minmax(125px, 1fr) minmax(130px, .9fr) minmax(145px, .95fr) 112px; gap: 10px; align-items: center; border-bottom: 1px solid #e8ece7; padding: 10px 14px; }
.appointment-row:last-child { border-bottom: 0; }
.patient-avatar { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: #35604a; background: #e0eee1; font-size: 13px; font-weight: 700; }
.appointment-patient, .appointment-visit, .appointment-date { display: flex; min-width: 0; flex-direction: column; }
.appointment-patient h3 { overflow: hidden; margin: 0 0 4px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.appointment-patient a, .appointment-patient span, .appointment-visit small, .appointment-date span, .appointment-date small { overflow: hidden; color: #7c8981; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.appointment-visit > span { margin-bottom: 5px; color: #99a39c; font-size: 7px; font-weight: 800; letter-spacing: .7px; }
.appointment-visit b, .appointment-date b { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.appointment-date b { font-weight: 700; }
.appointment-date small { max-width: 150px; margin-top: 3px; white-space: normal; }
.appointment-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.appointment-view-button { font-size: 10px; text-decoration: underline; text-underline-offset: 2px; }
.appointment-dialog { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; border: 0; padding: 0; color: var(--ink); background: #f7f9f5; }
.appointment-dialog::backdrop { background: rgba(16, 31, 23, .62); }
.appointment-dialog-header { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 32px max(28px, calc((100vw - 1000px) / 2)); background: #fff; }
.appointment-dialog-header h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: 28px; }
.appointment-dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); color: var(--ink); background: white; font-size: 26px; cursor: pointer; }
.appointment-dialog-body { max-width: 1000px; margin: 0 auto; padding: 34px 28px; }
.appointment-dialog-status { display: inline-flex; margin-bottom: 24px; border-radius: 20px; padding: 7px 14px; font-size: 11px; font-weight: 700; text-transform: capitalize; }
.appointment-dialog-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; margin: 0; border-top: 1px solid var(--line); background: #fff; }
.appointment-dialog-body dl > div { min-width: 0; border-bottom: 1px solid var(--line); padding: 18px 20px; }
.appointment-dialog-body dt { margin-bottom: 6px; color: #7c8981; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.appointment-dialog-body dd { overflow-wrap: anywhere; margin: 0; color: var(--ink); font-size: 14px; }
.appointment-dialog-body .appointment-dialog-reason { grid-column: 1 / -1; }
.status-pill { display: inline-flex; min-height: 20px; align-items: center; border-radius: 20px; padding: 0 8px; font-size: 8px; font-weight: 700; text-transform: capitalize; }
.status-pending { color: #88652a; background: #faf0d9; }
.status-confirmed { color: #357048; background: #e4f3e7; }
.status-rejected { color: #985440; background: #f9e9e2; }
.appointment-actions form { display: flex; gap: 8px; }
.appointment-status-section { padding-top: 18px; }
.appointment-status-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(320px, 1.2fr); gap: 28px; align-items: start; }
.appointment-status-layout > div:first-child h2 { margin: 8px 0; color: var(--ink); font-family: var(--font-display); font-size: 25px; }
.appointment-status-layout > div:first-child p { max-width: 420px; color: #76847a; font-size: 11px; line-height: 1.7; }
.appointment-status-card { min-width: 0; border: 1px solid #e0e6df; padding: 20px; background: #fff; }
.appointment-status-form { display: grid; gap: 12px; }
.appointment-status-form label { display: flex; flex-direction: column; gap: 6px; color: #526258; font-size: 10px; font-weight: 700; }
.appointment-status-form input { width: 100%; min-height: 40px; border: 1px solid #dce4db; border-radius: 3px; padding: 9px 11px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 11px; }
.appointment-status-form .captcha-field { margin-top: 1px; }
.appointment-status-results { border-top: 1px solid #e8ece7; margin-top: 18px; padding-top: 14px; }
.appointment-status-results h3 { margin: 0 0 5px; color: #30443a; font-family: var(--font-display); font-size: 14px; }
.appointment-status-results > p { margin: 0 0 10px; color: #7c8981; font-size: 10px; }
.appointment-status-results article { display: flex; justify-content: space-between; gap: 14px; align-items: center; border-top: 1px solid #edf0ec; padding: 10px 0; }
.appointment-status-results article > div { display: grid; gap: 4px; }
.appointment-status-results article > div:last-child { justify-items: end; text-align: right; }
.appointment-status-results article strong, .appointment-status-results article b { color: #34493a; font-size: 10px; }
.appointment-status-results article small { color: #839087; font-size: 9px; }
.appointment-status-results article > div > span { color: #758279; font-size: 9px; }
.approve-button, .reject-button, .text-action { border: 0; padding: 0; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.approve-button { color: #36824f; }
.reject-button { color: #b3694f; }
.empty-state { display: flex; min-height: 225px; flex-direction: column; justify-content: center; align-items: center; color: #819086; text-align: center; }
.empty-state > span { color: #84a18e; font-size: 24px; }
.empty-state h3 { margin: 10px 0 3px; color: var(--ink); font-family: var(--font-display); font-size: 14px; }
.empty-state p { margin: 0; font-size: 10px; }
.message-row { border-bottom: 1px solid #e8ece7; padding: 19px 21px; }
.message-row:last-child { border-bottom: 0; }
.message-top { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.message-top > div { display: flex; gap: 10px; align-items: center; }
.message-select-checkbox { width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--green); cursor: pointer; }
.message-top h3 { margin: 0; font-family: var(--font-display); font-size: 12px; }
.message-top time { color: #89958d; font-size: 9px; white-space: nowrap; }
.message-unread-dot { width: 7px; height: 7px; border-radius: 50%; background: #d57350; }
.message-read .message-unread-dot { background: #dfe5de; }
.message-sender { display: flex; gap: 14px; align-items: center; margin: 8px 0 9px 17px; color: #7c8981; font-size: 9px; }
.message-sender b { color: #34453b; }
.message-row > p { margin: 0 0 8px 17px; color: #647269; font-size: 11px; line-height: 1.7; }
.message-actions { display: flex; gap: 18px; align-items: center; margin-left: 17px; }
.message-actions form { margin: 0; }
.text-action { color: #416c54; }
.text-action span { margin-left: 5px; }
.schedule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.doctor-create-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 13px; align-items: end; border: 1px solid #e0e6df; padding: 17px; background: #fff; }
.doctor-create-form > label, .department-create-form > label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #526258; font-size: 9px; font-weight: 800; }
.doctor-create-form input:not([type=checkbox]), .doctor-create-form select, .department-create-form input, .department-create-form textarea { width: 100%; min-height: 39px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 8px 10px; color: #35473c; background: #fbfcfa; font-size: 10px; font-weight: 400; }
.doctor-create-form input:not([type=checkbox]):focus, .doctor-create-form select:focus, .department-create-form input:focus, .department-create-form textarea:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.doctor-create-form .availability-toggle { margin: 1px 0 0; }
.doctor-create-form > label.availability-toggle { min-height: 39px; flex-direction: row; align-items: center; }
.weekly-schedule { grid-column: 1 / -1; min-width: 0; margin: 3px 0 0; border: 1px solid #e0e6df; padding: 12px 14px 7px; }
.weekly-schedule legend { padding-inline: 5px; color: #35473c; font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.weekly-schedule > p { margin: -4px 0 8px; color: #87938b; font-size: 9px; }
.weekday-row { display: grid; min-height: 44px; grid-template-columns: 1fr minmax(120px, .38fr) minmax(120px, .38fr); gap: 12px; align-items: center; border-top: 1px solid #edf0ec; }
.weekday-row > label:not(.weekday-select) { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 7px; align-items: center; color: #7e8a82; font-size: 8px; font-weight: 700; }
.weekday-row input[type=time] { min-height: 33px !important; padding: 5px 7px !important; font-variant-numeric: tabular-nums; }
.weekday-row input[type=time]:disabled { color: #a7b0a9; background: #f1f3f0; }
.weekday-select { display: flex; gap: 9px; align-items: center; color: #3e5045; font-size: 10px; font-weight: 700; cursor: pointer; }
.weekday-select input { width: 16px; height: 16px; margin: 0; accent-color: #3e7453; }
.doctor-create-form > .button { grid-column: 1 / -1; min-height: 40px; justify-self: end; }
.doctors-list-heading { margin-top: 31px; }
.department-layout { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: start; }
.department-create-form { display: flex; flex-direction: column; gap: 15px; border: 1px solid #e0e6df; padding: 20px; background: #fff; }
.department-create-form h2 { margin: -8px 0 -9px; font-family: var(--font-display); font-size: 17px; }
.department-create-form > p { margin: 0; color: #7c8981; font-size: 10px; line-height: 1.7; }
.department-create-form textarea { resize: vertical; }
.department-create-form .button { margin-top: 2px; }
.department-list { min-width: 0; border: 1px solid #e0e6df; padding: 17px; background: #fff; }
.department-list .admin-table-heading { margin-bottom: 9px; }
.department-row { display: grid; min-height: 76px; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; border-top: 1px solid #e8ece7; }
.department-row .facility-symbol { width: 34px; height: 34px; font-size: 15px; }
.department-row h3 { margin: 0 0 3px; font-family: var(--font-display); font-size: 11px; }
.department-row p { display: -webkit-box; overflow: hidden; margin: 0; color: #849087; font-size: 9px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.department-edit-page { display: grid; max-width: 680px; gap: 12px; border: 1px solid #dce4db; margin-bottom: 18px; padding: 18px; background: #fff; }
.department-edit-page > .eyebrow { color: #64806c; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.department-edit-page h2 { margin: -7px 0 0; color: #30443a; font-family: var(--font-display); font-size: 17px; }
.department-edit-page-fields { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; }
.department-edit-page-fields label { display: flex; flex-direction: column; gap: 5px; color: #526258; font-size: 9px; font-weight: 700; }
.department-edit-page-fields input, .department-edit-page-fields textarea { width: 100%; min-height: 36px; border: 1px solid #dce4db; border-radius: 3px; padding: 8px 9px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 10px; }
.department-edit-page-fields textarea { resize: vertical; }
.department-edit-page-actions { display: flex; gap: 10px; align-items: center; }
.department-row-actions { display: flex; gap: 12px; align-items: center; }
.department-row-actions form { margin: 0; }
.department-edit { position: relative; }
.department-edit summary { list-style: none; cursor: pointer; }
.department-edit summary::-webkit-details-marker { display: none; }
.department-edit form { position: absolute; z-index: 5; top: calc(100% + 7px); right: 0; display: grid; width: 260px; max-width: calc(100vw - 38px); gap: 10px; border: 1px solid #dce4db; border-radius: 3px; padding: 13px; background: #fff; box-shadow: 0 12px 30px rgba(28, 54, 37, .16); }
.department-edit label { display: flex; flex-direction: column; gap: 5px; color: #526258; font-size: 9px; font-weight: 700; }
.department-edit input, .department-edit textarea { width: 100%; min-height: 34px; border: 1px solid #dce4db; border-radius: 3px; padding: 7px 8px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 10px; }
.department-edit textarea { resize: vertical; }
.department-doctor-count { display: flex; min-width: 44px; flex-direction: column; align-items: center; color: var(--green); font-family: var(--font-display); font-size: 17px; font-weight: 700; }
.department-doctor-count small { color: #8b978e; font-family: var(--font-body); font-size: 7px; font-weight: 700; letter-spacing: .5px; }
.lab-admin-layout { display: grid; grid-template-columns: minmax(245px, .72fr) minmax(0, 1.55fr); gap: 18px; align-items: start; }
.superadmin-profile-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.superadmin-profile-card { display: flex; min-width: 0; flex-direction: column; gap: 12px; border: 1px solid #e0e6df; padding: 22px; background: #fff; }
.superadmin-profile-card > .eyebrow { color: #64806c; font-size: 9px; font-weight: 800; letter-spacing: .7px; }
.superadmin-profile-card h2 { margin: -5px 0 0; color: #30443a; font-family: var(--font-display); font-size: 18px; }
.superadmin-profile-card > p { margin: -6px 0 3px; color: #7c8981; font-size: 10px; line-height: 1.65; }
.superadmin-profile-form { display: grid; gap: 13px; }
.superadmin-profile-form label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #526258; font-size: 10px; font-weight: 700; }
.superadmin-profile-form input { width: 100%; min-height: 40px; border: 1px solid #dce4db; border-radius: 3px; outline: none; padding: 9px 11px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 11px; font-weight: 400; }
.superadmin-profile-form input:focus { border-color: #769b84; box-shadow: 0 0 0 3px rgba(118,155,132,.13); }
.superadmin-profile-form .button { min-height: 40px; justify-self: start; margin-top: 2px; }
.lab-admin-card { min-width: 0; border: 1px solid #e0e6df; background: #fff; }
.lab-admin-create { display: flex; flex-direction: column; gap: 13px; padding: 20px; }
.lab-admin-create h2 { margin: -7px 0 -7px; color: #30443a; font-family: var(--font-display); font-size: 17px; }
.lab-admin-create p { margin: 0; color: #7c8981; font-size: 10px; line-height: 1.7; }
.lab-admin-create label, .lab-admin-edit label { display: flex; min-width: 0; flex-direction: column; gap: 6px; color: #526258; font-size: 9px; font-weight: 800; }
.lab-admin-create input, .lab-admin-edit input { width: 100%; min-height: 38px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 8px 10px; color: #35473c; background: #fbfcfa; font-size: 10px; font-weight: 400; }
.lab-admin-create input:focus, .lab-admin-edit input:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.lab-admin-create .button { min-height: 40px; margin-top: 2px; }
.lab-admin-list { padding: 17px; }
.lab-admin-list .admin-table-heading { margin-bottom: 11px; }
.lab-admin-table-wrap { overflow-x: auto; border-top: 1px solid #e8ece7; }
.lab-admin-table { width: 100%; border-collapse: collapse; color: #526258; font-size: 10px; text-align: left; }
.lab-admin-table th, .lab-admin-table td { border-bottom: 1px solid #e8ece7; padding: 11px 9px; vertical-align: middle; }
.lab-admin-table th { color: #78867d; background: #f5f7f3; font-size: 8px; font-weight: 800; letter-spacing: .45px; text-transform: uppercase; white-space: nowrap; }
.lab-admin-table tr:last-child td { border-bottom: 0; }
.lab-admin-table td strong, .lab-admin-table td small { display: block; }
.lab-admin-table td strong { color: #294937; }
.lab-admin-table td small { margin-top: 3px; color: #819087; font-size: 9px; overflow-wrap: anywhere; }
.lab-admin-state { display: inline-flex; border-radius: 99px; padding: 4px 8px; color: #785f36; background: #f5efdf; font-size: 8px; font-weight: 800; white-space: nowrap; }
.lab-admin-state.is-active { color: #277247; background: #e6f4eb; }
.lab-admin-state.is-inactive { color: #8b5148; background: #f7e9e6; }
.lab-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lab-admin-actions form { margin: 0; }
.lab-admin-edit { position: relative; }
.lab-admin-edit summary { display: block; cursor: pointer; list-style: none; }
.lab-admin-edit summary::-webkit-details-marker { display: none; }
.lab-admin-edit form { position: static; display: grid; width: min(250px, 65vw); gap: 10px; margin-top: 9px; border: 1px solid #dce4db; padding: 12px; background: #fbfcfa; }
.lab-admin-edit label small { color: #87938b; font-size: 8px; font-weight: 500; }
.lab-admin-edit .button { justify-self: start; }
.lab-admin-actions .danger-button { color: #a45448; }
.waste-admin-layout { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); gap: 18px; align-items: start; }
.waste-entry-panel, .waste-history-panel { min-width: 0; border: 1px solid #e0e6df; background: #fff; }
.waste-panel-heading { border-bottom: 1px solid #e8ece7; padding: 18px 19px 14px; }
.waste-panel-heading h2 { margin: 7px 0 4px; font-family: var(--font-display); font-size: 16px; }
.waste-panel-heading p { margin: 0; color: #7c8981; font-size: 10px; line-height: 1.6; }
.waste-entry-form { display: flex; flex-direction: column; gap: 16px; padding: 18px 19px; }
.waste-date-field, .waste-notes-field { display: flex; flex-direction: column; gap: 7px; color: #536359; font-size: 9px; font-weight: 800; }
.waste-date-field input, .waste-notes-field textarea { min-height: 39px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 8px 10px; color: #35473c; background: #fbfcfa; font-size: 11px; font-weight: 400; }
.waste-notes-field textarea { min-height: 72px; resize: vertical; }
.waste-date-field input:focus, .waste-notes-field textarea:focus, .waste-weight-field input:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.waste-weight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.waste-weight-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; border: 1px solid #e5e9e4; padding: 10px; background: #fdfefd; }
.waste-weight-field > span { display: flex; gap: 7px; align-items: center; color: #495950; font-size: 9px; font-weight: 700; }
.waste-weight-field > span i, .waste-public-table thead i { width: 8px; height: 8px; flex: 0 0 8px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; background: #b85454; }
.waste-red > span i { background: #c15b5b; }
.waste-white > span i, .white-dot { border-color: #b8c2b9 !important; background: #fff !important; }
.waste-blue > span i, .blue-dot { background: #5b82b4 !important; }
.waste-yellow > span i, .yellow-dot { background: #e4c44f !important; }
.red-dot { background: #c15b5b !important; }
.waste-weight-field > div { display: grid; grid-template-columns: minmax(0, 1fr) 23px; align-items: center; }
.waste-weight-field input { width: 100%; min-width: 0; min-height: 37px; border: 1px solid #dce4db; border-right: 0; border-radius: 0; outline: none; padding: 7px 8px; color: #35473c; background: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.waste-weight-field > div b { display: grid; min-height: 37px; place-items: center; border: 1px solid #dce4db; border-left: 0; color: #88958c; background: #f3f6f1; font-size: 9px; }
.waste-total-line { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #e6ebe5; padding-top: 13px; color: #45564c; font-size: 11px; font-weight: 700; }
.waste-total-line strong { color: var(--green); font-family: var(--font-display); font-size: 22px; font-variant-numeric: tabular-nums; }
.waste-total-line small { color: #708077; font-family: var(--font-body); font-size: 10px; font-weight: 500; }
.waste-entry-form .button { min-height: 42px; }
.waste-history-panel { padding: 16px; }
.waste-history-panel .admin-table-heading { margin-bottom: 10px; }
.waste-history-list { border-top: 1px solid #e8ece7; }
.waste-history-row { display: grid; min-height: 58px; grid-template-columns: minmax(95px, 1fr) auto minmax(90px, 1.1fr) auto; gap: 10px; align-items: center; border-bottom: 1px solid #edf0ec; padding: 7px 5px; transition: background .15s; }
.waste-history-row:hover, .waste-history-row.is-selected { background: #f2f6f0; }
.waste-history-date { color: #405248; font-size: 9px; font-weight: 700; }
.waste-history-date:hover { color: #234a32; text-decoration: underline; }
.waste-history-delete { margin: 0; }
.waste-history-delete .danger-button { padding: 5px; font-size: 8px; }
.waste-admin-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e8ece7; padding: 12px 4px 1px; }
.waste-admin-pagination a, .waste-admin-pagination > span { color: #456b55; font-size: 9px; font-weight: 700; }
.waste-admin-pagination a:hover { text-decoration: underline; }
.waste-admin-pagination .is-disabled { color: #a4ada6; }
.waste-admin-pagination .waste-admin-page-status { color: #758279; font-weight: 500; }
.waste-history-total { display: flex; flex-direction: column; color: #294937; font-family: var(--font-display); font-size: 12px; font-weight: 800; text-align: right; }
.waste-history-total small { color: #89958d; font-family: var(--font-body); font-size: 7px; font-weight: 500; }
.waste-history-breakdown { display: flex; gap: 4px; align-items: center; color: #77847b; font-size: 8px; font-variant-numeric: tabular-nums; }
.waste-history-breakdown i { width: 6px; height: 6px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; }
.waste-edit-arrow { color: #77917f; font-size: 13px; text-align: right; }
.waste-page-hero { padding-bottom: 35px; }
.public-waste-section { padding-top: 30px; }
.waste-public-heading, .waste-public-table-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 20px; }
.waste-public-heading h2 { margin: 9px 0 0; font-family: var(--font-display); font-size: 25px; font-weight: 600; }
.waste-updated-label, .waste-public-table-heading > span { color: #849188; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.waste-latest { display: grid; grid-template-columns: .75fr 1.25fr; gap: 14px; margin-bottom: 45px; }
.waste-latest-total { display: flex; min-height: 190px; flex-direction: column; justify-content: center; padding: 25px; color: #eaf1e9; background: var(--green); }
.waste-latest-total > span { color: #c5d5c9; font-size: 10px; }
.waste-latest-total strong { margin-block: 9px 2px; font-family: var(--font-display); font-size: 43px; font-weight: 600; line-height: 1; }
.waste-latest-total strong small { margin-left: 5px; color: var(--lime); font-size: 15px; font-weight: 500; }
.waste-latest-total > b { color: #c5d5c9; font-size: 9px; font-weight: 500; }
.waste-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.waste-category-card { display: flex; min-width: 0; min-height: 90px; flex-direction: column; justify-content: center; border: 1px solid #e0e6df; padding: 13px 15px; background: #fff; }
.waste-category-card > span { display: flex; gap: 7px; align-items: center; color: #5c6d62; font-size: 9px; font-weight: 700; }
.waste-category-card > span i { width: 8px; height: 8px; border: 1px solid rgba(0,0,0,.12); border-radius: 50%; background: #c15b5b; }
.waste-category-card.waste-white > span i { background: #fff; }
.waste-category-card.waste-blue > span i { background: #5b82b4; }
.waste-category-card.waste-yellow > span i { background: #e4c44f; }
.waste-category-card > strong { margin-top: 5px; color: #294937; font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.15; }
.waste-category-card > strong small { margin-left: 4px; color: #718077; font-family: var(--font-body); font-size: 9px; font-weight: 500; }
.waste-category-card > small { margin-top: 2px; color: #89958d; font-size: 8px; }
.waste-public-table-heading { margin-bottom: 12px; }
.waste-public-table-heading h2 { margin: 0 0 3px; font-family: var(--font-display); font-size: 16px; }
.waste-public-table-heading p { margin: 0; color: #78867d; font-size: 10px; }
.waste-public-table-wrap { overflow-x: auto; border: 1px solid #e0e6df; background: white; }
.waste-public-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 11px; font-variant-numeric: tabular-nums; }
.waste-public-table th, .waste-public-table td { border-bottom: 1px solid #e8ece7; padding: 12px 15px; white-space: nowrap; }
.waste-public-table thead th { color: #748178; background: #f5f7f3; font-size: 8px; font-weight: 800; letter-spacing: .5px; }
.waste-public-table thead th i { display: inline-block; margin-right: 5px; vertical-align: -1px; }
.waste-public-table tbody th { color: #43554a; font-size: 10px; font-weight: 600; }
.waste-public-table tbody td { color: #647269; }
.waste-public-table tbody td:last-child strong { color: #294937; }
.waste-public-table tbody tr:last-child th, .waste-public-table tbody tr:last-child td { border-bottom: 0; }
.waste-pagination { display: flex; justify-content: space-between; align-items: center; gap: 15px; border: 1px solid #e0e6df; border-top: 0; padding: 11px 14px; background: #fff; }
.waste-page-control { color: #365b43; font-size: 10px; font-weight: 700; white-space: nowrap; }
.waste-page-control:hover { text-decoration: underline; }
.waste-page-control.is-disabled { color: #a4ada6; }
.waste-page-numbers { display: flex; gap: 5px; align-items: center; }
.waste-page-numbers a, .waste-page-numbers span { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid transparent; color: #627168; font-size: 10px; }
.waste-page-numbers a:hover { border-color: #dce4db; background: #f4f7f2; }
.waste-page-numbers .is-current { border-color: #315b40; color: #fff; background: #315b40; font-weight: 700; }
.waste-disclosure { margin: 14px 0 0; color: #849188; font-size: 9px; line-height: 1.7; }
.waste-public-empty, .waste-table-empty { border: 1px solid #e0e6df; padding: 30px; color: #819086; background: #fff; text-align: center; }
.waste-public-empty > span { color: #6f9279; font-size: 25px; }
.waste-public-empty h3 { margin: 6px 0; color: var(--ink); font-family: var(--font-display); font-size: 14px; }
.waste-public-empty p { margin: 0; font-size: 10px; }
.waste-table-empty { padding: 16px; font-size: 10px; }
.schedule-card { border: 1px solid #e0e6df; padding: 18px; background: white; }
.schedule-card-top { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.schedule-card-top .directory-avatar { width: 42px; height: 42px; font-size: 14px; }
.doctor-photo-edit-field { display: grid; grid-template-columns: 64px 1fr; gap: 10px; align-items: center; }
.doctor-photo-edit-field > img, .doctor-photo-fallback-small { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; object-fit: cover; color: #54745f; background: linear-gradient(140deg, #e7eee8, #cfddd2 55%, #bacdbf); font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.doctor-photo-edit-field > label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #849188; font-size: 8px; font-weight: 800; letter-spacing: .6px; }
.doctor-photo-edit-field input[type=file] { width: 100%; font-size: 9px; }
.doctor-photo-edit-field small { color: #849188; font-size: 8px; font-weight: 400; letter-spacing: 0; }
.doctor-photo-edit-field .doctor-photo-remove { grid-column: 2; flex-direction: row; align-items: center; }
.doctor-photo-remove input { accent-color: #315b40; }
.schedule-card-top h3 { margin: 2px 0 0; font-family: var(--font-display); font-size: 13px; }
.doctor-edit-panel[hidden], .doctor-summary-card[hidden] { display: none; }
.doctor-card-heading { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.doctor-card-heading .schedule-card-top { min-width: 0; margin-bottom: 0; }
.doctor-card-actions { display: flex; gap: 11px; align-items: center; }
.doctor-card-actions form { margin: 0; }
.quiet-button, .danger-button { border: 0; padding: 5px 0; color: #456b55; background: transparent; font-size: 9px; font-weight: 700; cursor: pointer; }
.quiet-button:hover { color: #1f4d34; text-decoration: underline; }
.danger-button { color: #b26049; }
.danger-button:hover { color: #843e2d; text-decoration: underline; }
.doctor-schedule-summary { display: flex; justify-content: space-between; gap: 12px; align-items: center; border-top: 1px solid #e8ece7; margin-top: 15px; padding-top: 12px; }
.doctor-schedule-summary > div > span { color: #88958c; font-size: 7px; font-weight: 800; letter-spacing: .6px; }
.doctor-schedule-summary p { margin: 4px 0 0; color: #526158; font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.doctor-schedule-summary .status-pill { flex: 0 0 auto; }
.doctor-edit-panel { display: flex; flex-direction: column; gap: 13px; }
.doctor-edit-panel > label:not(.availability-toggle) { display: flex; flex-direction: column; gap: 6px; color: #849188; font-size: 8px; font-weight: 800; letter-spacing: .6px; }
.doctor-edit-panel input:not([type=checkbox]), .doctor-edit-panel select, .doctor-edit-panel textarea { width: 100%; min-height: 37px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 8px; color: #384a3f; background: #fbfcfa; font-size: 10px; }
.doctor-edit-panel textarea { min-height: 65px; resize: vertical; }
.doctor-edit-panel input:focus, .doctor-edit-panel select:focus, .doctor-edit-panel textarea:focus { border-color: #769b84; box-shadow: 0 0 0 2px rgba(118,155,132,.12); }
.doctor-edit-panel .schedule-label { letter-spacing: .6px; }
.doctor-edit-panel .availability-toggle { margin: 1px 0; }
.doctor-edit-actions { display: flex; gap: 15px; align-items: center; }
.doctor-edit-actions .button { min-height: 38px; padding-inline: 13px; font-size: 9px; }
.doctor-edit-actions .quiet-button { padding: 8px 0; }
.schedule-label { display: flex; flex-direction: column; gap: 7px; color: #849188; font-size: 8px; font-weight: 800; letter-spacing: .7px; }
.schedule-label textarea { width: 100%; min-height: 64px; border: 1px solid #dce4db; padding: 9px; outline: none; color: #384a3f; background: #fbfcfa; font-size: 11px; resize: vertical; }
.availability-toggle { display: flex; gap: 10px; align-items: center; margin-block: 17px; cursor: pointer; }
.availability-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-track { position: relative; width: 34px; height: 19px; flex: 0 0 34px; border-radius: 20px; background: #cbd4cc; transition: background .2s; }
.toggle-track::after { position: absolute; top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 50%; background: white; content: ''; transition: transform .2s; }
.availability-toggle input:checked + .toggle-track { background: #538362; }
.availability-toggle input:checked + .toggle-track::after { transform: translateX(15px); }
.availability-toggle input:focus-visible + .toggle-track { outline: 2px solid #729580; outline-offset: 2px; }
.availability-toggle > span:last-child { display: flex; flex-direction: column; }
.availability-toggle b { color: #3e5045; font-size: 10px; }
.availability-toggle small { color: #87938b; font-size: 9px; }
.schedule-card .button { min-height: 39px; font-size: 10px; }

@keyframes reveal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 980px) {
    .container { width: min(100% - 44px, 760px); }
    .nav-wrap { min-height: 74px; }
    .main-nav { gap: 17px; }
    .main-nav > a:not(.button) { font-size: 11px; }
    .nav-appointment { padding-inline: 11px; }
    .hero, .hero-content { min-height: 545px; }
    .quick-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-block: 21px; }
    .quick-link { justify-content: flex-start; }
    .intro-grid { grid-template-columns: .7fr 1.3fr; gap: 30px; }
    .intro-image { grid-column: 2; max-width: 410px; margin-top: 0; }
    .section-label { min-height: auto; gap: 35px; }
    .specialty-inner { gap: 45px; }
    .page-hero-grid { gap: 38px; }
    .form-layout, .contact-layout { gap: 38px; }
    .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; gap: 28px; }
    .footer-cta { grid-column: 3; }
    .appointment-row { grid-template-columns: 18px 34px minmax(110px, 1fr) minmax(115px, .9fr) minmax(125px, .9fr) 95px; gap: 9px; padding-inline: 12px; }
    .admin-shell { grid-template-columns: 210px minmax(0, 1fr); }
    .admin-content { padding: 30px 24px; }
}
@media (max-width: 700px) {
    .container { width: calc(100% - 36px); }
    .topline-inner { font-size: 9px; }
    .nav-wrap { position: relative; min-height: 68px; }
    .nav-toggle { display: flex; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
    .nav-toggle span { width: 20px; height: 1px; background: var(--green); }
    .main-nav { position: absolute; top: 68px; right: -18px; left: -18px; display: none; flex-direction: column; gap: 0; align-items: stretch; border-top: 1px solid var(--line); padding: 8px 18px 18px; background: var(--paper); box-shadow: 0 12px 15px rgba(23,47,35,.08); }
    .main-nav.is-open { display: flex; }
    .main-nav > a:not(.button) { border-bottom: 1px solid #e2e8e0; padding: 12px 2px; font-size: 12px; }
    .main-nav > a:not(.button)::after { display: none; }
    .nav-appointment { align-self: flex-start; margin-top: 12px; }
    .hero, .hero-content { min-height: 570px; }
    .hero-image { background-position: 57% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(14,36,28,.82), rgba(18,42,33,.38)), linear-gradient(0deg, rgba(16,34,27,.4), transparent 45%); }
    .hero-content { align-items: center; padding-block: 60px 100px; }
    .hero h1 { font-size: 47px; }
    .hero-copy > p { max-width: 350px; font-size: 13px; }
    .hero-actions { gap: 17px; flex-wrap: wrap; }
    .hero-actions .button { min-height: 47px; padding-inline: 15px; font-size: 10px; }
    .hero-actions .text-link { font-size: 10px; }
    .hero-slide-controls { bottom: 21px; }
    .hero-note { right: 0; bottom: 25px; font-size: 9px; }
    .quick-grid { grid-template-columns: 1fr; gap: 17px; padding-block: 20px; }
    .quick-grid > div { gap: 12px; }
    .quick-link { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 13px; }
    .section { padding-block: 66px; }
    .section-intro { padding-block: 68px; }
    .director-message-section { padding-block: 6px 44px; }
    .director-message { grid-template-columns: 1fr; }
    .director-message-photo img { aspect-ratio: 1808 / 1344; }
    .director-message-copy { padding: 23px 20px 26px; }
    .director-message-copy h2 { font-size: 28px; }
    .intro-grid { grid-template-columns: 1fr; gap: 22px; }
    .section-label { min-height: auto; flex-direction: row; align-items: center; }
    .intro-points { display: none; }
    .intro-copy h2, .section-heading h2, .specialty-inner h2, .story-grid h2, .form-aside h2 { font-size: 30px; }
    .intro-copy p { font-size: 12px; }
    .intro-image { grid-column: 1; width: calc(100% - 12px); margin: 7px 0 0; }
    .image-caption { right: -12px; }
    .specialty-band { padding-block: 62px; }
    .specialty-inner { grid-template-columns: 1fr; gap: 27px; }
    .specialty-inner h2 { margin-top: 11px; font-size: 33px; }
    .section-heading { gap: 18px; align-items: flex-start; flex-direction: column; }
    .section-heading h2 { font-size: 30px; }
    .section-heading > .text-link { margin: 0; }
    .doctor-preview-grid { grid-template-columns: 1fr; gap: 26px; }
    .doctor-photo img { aspect-ratio: 1.35; }
    .appointment-strip { padding-block: 35px; }
    .appointment-strip-inner { display: grid; grid-template-columns: 33px 1fr; gap: 14px; }
    .strip-star { font-size: 29px; }
    .appointment-strip h2 { font-size: 22px; }
    .appointment-strip .button { grid-column: 2; justify-self: start; min-height: 45px; }
    .page-hero { padding-block: 49px 45px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 27px; }
    .page-hero h1 { margin-block: 14px; font-size: 43px; }
    .page-hero p { font-size: 12px; }
    .page-hero-photo { margin-right: 10px; }
    .page-hero-compact { padding-block: 45px 35px; }
    .page-hero-compact h1 { font-size: 41px; }
    .about-story { padding-block: 56px; }
    .story-grid { grid-template-columns: 1fr; gap: 22px; }
    .story-grid h2 { font-size: 31px; }
    .story-grid p { font-size: 12px; }
    .values-band { padding-block: 45px; }
    .values-grid { grid-template-columns: 1fr; gap: 27px; }
    .values-grid h3 { margin-top: 12px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 23px 12px; }
    .stats-row > div, .stats-row > div:first-child { border-left: 1px solid var(--line); padding-left: 14px; }
    .stats-row strong { font-size: 26px; }
    .facility-section { padding-top: 12px; }
    .facility-grid { grid-template-columns: 1fr; }
    .facility-grid article { min-height: 240px; padding: 20px; }
    .facility-grid h3 { margin-top: 19px; }
    .facility-grid p { min-height: 0; }
    .directory-intro { flex-direction: column; align-items: flex-start; }
    .directory-doctor-grid { grid-template-columns: 1fr; gap: 25px; }
    .directory-doctor-grid .directory-doctor { position: relative; grid-template-columns: minmax(0, 1fr) auto; gap: 7px 9px; padding-block: 0 12px; }
    .directory-doctor-grid .directory-avatar { width: 100%; height: auto; aspect-ratio: 1.35; }
    .directory-details h2 { font-size: 14px; }
    .directory-details p { max-width: 190px; font-size: 9px; }
    .directory-doctor-grid .directory-status { grid-column: 1 / -1; grid-row: 3; margin-top: 0; font-size: 9px; }
    .directory-doctor-grid .icon-link { grid-column: 2; grid-row: 3; }
    .form-section, .contact-section { padding-block: 14px 66px; }
    .form-layout, .contact-layout { grid-template-columns: 1fr; gap: 31px; }
    .form-aside { padding-top: 0; }
    .form-aside h2 { margin-block: 12px; }
    .form-aside > p { margin-bottom: 16px; }
    .aside-detail { display: none; }
    .form-panel-heading { padding: 15px; }
    .form-fields { gap: 15px; padding: 16px; }
    .field-pair { grid-template-columns: 1fr; gap: 15px; }
    .contact-layout { gap: 30px; }
    .contact-details > .eyebrow { margin-bottom: 10px; }
    .contact-block { padding-block: 13px; }
    .contact-block > a, .contact-block > p { font-size: 15px; }
    .site-footer { padding-top: 42px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 31px; }
    .footer-about { grid-column: 1 / 3; }
    .footer-cta { grid-column: 1 / 3; }
    .footer-bottom { min-height: 62px; flex-wrap: wrap; gap: 4px 16px; justify-content: flex-start; padding-block: 12px; }
    .footer-bottom span:last-child { display: block; flex-basis: 100%; }
    .setup-panel, .admin-login-panel { padding: 25px 20px; }
    .admin-shell { display: block; }
    .admin-sidebar { position: sticky; z-index: 8; top: 0; display: grid; width: 100%; height: auto; grid-template-columns: 1fr auto; align-items: center; padding: 11px 17px; }
    .admin-sidebar .brand-mark { width: 32px; height: 32px; }
    .sidebar-label { display: none; }
    .admin-nav { grid-column: 1 / 3; grid-row: 2; display: flex; flex-direction: row; gap: 4px; overflow-x: auto; margin-top: 10px; }
    .admin-nav { min-height: auto; flex: 0 0 auto; overflow-y: hidden; padding-right: 0; }
    .admin-nav a { min-height: 36px; flex: 0 0 auto; gap: 6px; padding-inline: 8px; font-size: 9px; }
    .admin-nav a > span { width: 12px; font-size: 12px; }
    .admin-nav a b { min-width: 15px; height: 15px; font-size: 8px; }
    .sidebar-bottom { grid-column: 2; grid-row: 1; margin: 0; border: 0; padding: 0; }
    .sidebar-bottom > div { display: none; }
    .sidebar-bottom .admin-user-dot { width: 28px; height: 28px; flex-basis: 28px; }
    .logout-button { width: 27px; height: 27px; }
    .admin-topbar { height: 44px; padding-inline: 18px; font-size: 9px; }
    .admin-content { padding: 23px 16px; }
    .admin-heading { margin-bottom: 19px; }
    .admin-heading h1 { font-size: 24px; }
    .admin-heading p { max-width: 260px; font-size: 10px; }
    .admin-today { width: 48px; height: 54px; flex: 0 0 48px; }
    .admin-stat-row { gap: 7px; margin-bottom: 25px; }
    .admin-stat-row > div { min-height: 68px; padding: 9px; }
    .admin-stat-row span { font-size: 7px; letter-spacing: 0; }
    .admin-stat-row b { font-size: 21px; }
    .admin-table-heading h2 { font-size: 13px; }
    .appointment-filters form { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .appointment-filters label:nth-of-type(5) { grid-column: span 2; }
    .appointment-filters { padding: 11px; }
    .appointment-status-layout { grid-template-columns: 1fr; gap: 14px; }
    .appointment-status-card { padding: 15px; }
    .appointment-status-results article { align-items: flex-start; flex-direction: column; }
    .appointment-status-results article > div:last-child { justify-items: start; text-align: left; }
    .appointment-filters form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .appointment-filters label:nth-of-type(5) { grid-column: 1 / -1; }
    .appointment-filter-actions { grid-column: 1 / -1; }
    .appointment-filter-actions .button { flex: 1; }
    .appointment-row { grid-template-columns: 18px 34px minmax(0, 1fr) auto; gap: 6px; padding: 9px 10px; }
    .appointment-patient { grid-column: 3; }
    .appointment-visit { grid-column: 3 / 5; grid-row: 2; }
    .appointment-date { grid-column: 3 / 5; grid-row: 3; flex-direction: row; gap: 8px; align-items: baseline; }
    .appointment-date small { display: none; }
    .appointment-actions { grid-column: 4; grid-row: 1; align-items: flex-end; }
    .appointment-patient a, .appointment-patient span { font-size: 8px; }
    .appointment-visit > span { margin-bottom: 1px; }
    .appointment-visit b, .appointment-date b { font-size: 9px; }
    .appointment-actions form { gap: 6px; }
    .message-row { padding: 14px 12px; }
    .message-top { align-items: flex-start; }
    .message-top h3 { font-size: 11px; }
    .message-top time { font-size: 8px; }
    .message-sender { flex-wrap: wrap; gap: 3px 10px; }
    .message-row > p { font-size: 10px; }
    .schedule-grid { grid-template-columns: 1fr; }
    .profile-editor { grid-template-columns: 1fr; gap: 11px; }
    .profile-intro p { max-width: none; margin-bottom: 5px; }
    .profile-fields { padding: 16px; }
    .profile-form-footer { align-items: flex-start; flex-direction: column; padding: 13px 16px; }
    .doctor-create-form { grid-template-columns: 1fr; gap: 13px; }
    .doctor-create-form .availability-toggle, .doctor-create-form > .button, .doctor-create-form .weekly-schedule { grid-column: 1; }
    .weekday-row { grid-template-columns: minmax(82px, .8fr) 1fr 1fr; gap: 6px; }
    .weekday-row > label:not(.weekday-select) { grid-template-columns: 1fr; gap: 2px; font-size: 7px; }
    .weekday-row input[type=time] { min-height: 34px !important; padding: 5px 4px !important; }
    .department-layout { grid-template-columns: 1fr; gap: 20px; }
    .department-create-form { padding: 16px; }
    .department-list { padding: 13px; }
    .lab-admin-layout { grid-template-columns: 1fr; gap: 14px; }
    .department-edit-page-fields { grid-template-columns: 1fr; }
    .superadmin-profile-layout { grid-template-columns: 1fr; gap: 14px; }
    .superadmin-profile-card { padding: 18px; }
    .lab-admin-create, .lab-admin-list { padding: 14px; }
    .lab-admin-table th, .lab-admin-table td { padding: 9px 7px; }
    .waste-admin-layout { grid-template-columns: 1fr; gap: 15px; }
    .waste-entry-form, .waste-panel-heading { padding-inline: 14px; }
    .waste-history-panel { padding: 13px; }
    .waste-history-row { grid-template-columns: minmax(85px, 1fr) auto auto; gap: 7px; }
    .waste-history-breakdown { grid-column: 1 / 3; grid-row: 2; padding: 0 0 4px; }
    .waste-history-delete { grid-column: 3; grid-row: 1 / 3; }
    .waste-history-delete .danger-button { padding: 8px 4px; }
    .waste-admin-pagination { gap: 7px; }
    .waste-public-heading, .waste-public-table-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
    .waste-public-heading h2 { font-size: 21px; }
    .waste-latest { grid-template-columns: 1fr; }
    .waste-latest-total { min-height: 145px; }
    .waste-category-grid { gap: 7px; }
    .waste-category-card { min-height: 82px; padding: 10px; }
    .waste-public-table th, .waste-public-table td { padding: 10px 11px; }
    .waste-pagination { gap: 7px; padding: 9px; }
    .waste-page-control { font-size: 9px; }
    .waste-page-numbers { gap: 1px; }
    .waste-page-numbers a, .waste-page-numbers span { width: 25px; height: 27px; }
    .service-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
    .service-row > .status-pill { justify-self: start; }
    .service-row > form { justify-self: end; }
    .print-receipt { padding: 20px 15px; }
}
.announcements-admin-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr); gap: 18px; align-items: start; }
.announcement-compose-card, .announcement-manage-card { min-width: 0; border: 1px solid #e0e6df; padding: 19px; background: #fff; }
.announcement-compose-card { display: flex; flex-direction: column; gap: 13px; }
.announcement-compose-card h2, .announcement-manage-card h2 { margin: -5px 0 -7px; color: #30443a; font-family: var(--font-display); font-size: 17px; }
.announcement-compose-card > p, .announcement-manage-card .admin-table-heading p { margin: 0; color: #7c8981; font-size: 10px; line-height: 1.7; }
.announcement-compose-card label { display: flex; flex-direction: column; gap: 6px; color: #526258; font-size: 9px; font-weight: 800; }
.announcement-compose-card input, .announcement-compose-card textarea { width: 100%; min-height: 39px; border: 1px solid #dce4db; border-radius: 0; outline: none; padding: 9px 10px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 11px; font-weight: 400; }
.announcement-compose-card textarea { min-height: 150px; resize: vertical; line-height: 1.7; }
.announcement-admin-list { display: grid; gap: 10px; }
.announcement-admin-item { border-top: 1px solid #e7ece6; padding-top: 13px; }
.announcement-admin-item-heading { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.announcement-admin-item-heading h3 { margin: 5px 0 0; color: #30443a; font-family: var(--font-display); font-size: 14px; }
.announcement-admin-item-heading .eyebrow { color: #839087; font-size: 8px; }
.announcement-admin-actions { display: flex; gap: 8px; align-items: flex-start; }
.announcement-admin-actions > form { flex: 0 0 auto; margin: 0; }
.announcement-edit { position: relative; }
.announcement-edit summary { cursor: pointer; list-style: none; }
.announcement-edit summary::-webkit-details-marker { display: none; }
.announcement-edit form { display: grid; width: min(360px, 72vw); gap: 9px; border: 1px solid #dce4db; margin-top: 8px; padding: 12px; background: #fff; box-shadow: 0 8px 22px rgba(28, 54, 37, .12); }
.announcement-edit label { display: flex; flex-direction: column; gap: 5px; color: #526258; font-size: 9px; font-weight: 700; }
.announcement-edit input, .announcement-edit textarea { width: 100%; min-height: 34px; border: 1px solid #dce4db; padding: 7px 8px; color: #35473c; background: #fbfcfa; font: inherit; font-size: 10px; }
.announcement-edit textarea { resize: vertical; line-height: 1.6; }
.announcement-edit .button { justify-self: start; }
.announcement-admin-item p { margin: 9px 0 0; color: #69766e; font-size: 11px; line-height: 1.7; }
.announcement-pagination { display: flex; gap: 10px; align-items: center; justify-content: space-between; border-top: 1px solid #e7ece6; margin-top: 15px; padding-top: 13px; }
.announcement-pagination > a, .announcement-pagination > span, .announcement-pagination > div a { display: inline-flex; min-width: 31px; min-height: 31px; align-items: center; justify-content: center; border: 1px solid #dce4db; padding: 0 9px; color: #42554a; background: #fff; font-size: 10px; text-decoration: none; }
.announcement-pagination > div { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.announcement-pagination > div .is-current { border-color: var(--green); color: #fff; background: var(--green); }
.announcement-pagination .is-disabled { color: #a3ada5; background: #f5f7f4; }
.announcements-public-section { padding-top: 55px; }
.announcements-public-list { max-width: 900px; }
.public-announcement { border: 1px solid #e2e8e0; margin-bottom: 18px; padding: clamp(20px, 4vw, 34px); background: #fff; }
.public-announcement .eyebrow { color: #7d8b81; font-size: 9px; }
.public-announcement h2 { margin: 10px 0 13px; color: #30443a; font-family: var(--font-display); font-size: clamp(20px, 3vw, 27px); }
.public-announcement > div { color: #65736a; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.announcements-empty { border: 1px solid #e2e8e0; padding: 36px 24px; text-align: center; background: #fff; }
.announcements-empty > span { color: #6c8b73; font-size: 27px; }
.announcements-empty h2 { margin: 8px 0; color: #30443a; font-family: var(--font-display); font-size: 20px; }
.announcements-empty p { margin: 0; color: #7c8981; font-size: 12px; }
@media (max-width: 900px) { .announcements-admin-layout { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
    .home-announcements-box { padding: 14px; }
    .home-announcements-heading { gap: 8px; margin-bottom: 11px; }
    .announcement-ticker-window { height: 235px; }
}
@media (prefers-reduced-motion: reduce) {
    .announcement-ticker-window { height: auto; mask-image: none; }
    .announcement-ticker-track { animation: none; }
    .announcement-ticker-group[aria-hidden="true"] { display: none; }
}
@media print {
    @page { margin: 15mm; }
    body.admin-body { color: #111; background: #fff; }
    .admin-sidebar, .admin-topbar, .admin-heading, .notice, .no-print { display: none !important; }
    .admin-shell { display: block; min-height: 0; }
    .admin-main { width: 100%; }
    .admin-content { max-width: none; margin: 0; padding: 0; }
    .print-receipt { max-width: none; margin: 0; border: 0; padding: 0; color: #111; }
    * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
