/* 공통 색상·기본 레이아웃. 아래 화면별 구간은 원본 우선순서를 유지합니다. */
:root {
    font-family: Inter, Arial, sans-serif;
    color: #20304d;
    background: #f5f6f8;
    font-size: 14px;
    --blue: #394faa;
    --cyan: #1db0e7;
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
}
button,
input,
a {
    -webkit-tap-highlight-color: transparent;
}
button {
    font: inherit;
    cursor: pointer;
}
button,
a {
    touch-action: manipulation;
}
button {
    border: 0;
    background: none;
    color: inherit;
}
a {
    text-decoration: none;
    color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid #1db0e7;
    outline-offset: 3px;
}
h1,
h2,
h3,
p {
    margin: 0;
}
svg {
    display: block;
}
img {
    max-width: 100%;
}
.app-shell {
    width: 440px;
    min-height: 100vh;
    background: #fff;
    margin: auto;
    box-shadow: 0 0 30px #20304d09;
    position: relative;
    padding-bottom: calc(90px + env(safe-area-inset-bottom));
}
.app-shell header {
    height: 72px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f3f6;
    position: sticky;
    top: 0;
    background: #fffefc;
    z-index: 10;
}
.app-shell header img {
    width: 112px;
    height: auto;
}
.icon-button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    position: relative;
}
.icon-button:after {
    content: '';
    width: 5px;
    height: 5px;
    background: #1db0e7;
    border-radius: 50%;
    position: absolute;
    right: 8px;
    top: 7px;
}
.icon-button svg {
    width: 23px;
    height: 23px;
}
.section {
    padding: 25px 22px;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}
.section-heading h2 {
    font-size: 19px;
    letter-spacing: -0.5px;
}
.section-heading a {
    font-size: 12px;
    color: #7785a2;
}
.welcome {
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: -0.7px;
    font-weight: 750;
}
.welcome span {
    color: var(--blue);
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 1.6px;
    color: #8390a7;
    font-weight: 700;
    margin-bottom: 10px;
}
.subtitle {
    color: #8a96aa;
    line-height: 1.6;
    margin-top: 9px;
    font-size: 13px;
}
.search-button {
    margin-top: 20px;
    width: 100%;
    border: 1px solid #dce6f6;
    border-radius: 25px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8a96aa;
    box-shadow: 0 4px 16px #394faa08;
}
.search-button svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
}
.hero {
    margin: 0 22px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(120deg, #dff4ff, #eaf1ff);
    min-height: 218px;
    position: relative;
    padding: 24px;
}
.hero-copy {
    position: relative;
    z-index: 1;
    width: 64%;
}
.sponsored {
    display: inline-block;
    font-size: 9px;
    color: #687ea4;
    letter-spacing: 0.8px;
    margin-bottom: 14px;
}
.hero h2 {
    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.9px;
    color: #304591;
}
.hero p {
    font-size: 11px;
    line-height: 1.6;
    color: #6d81a4;
    margin: 12px 0;
}
.hero button {
    background: #fff;
    border-radius: 18px;
    padding: 9px 14px;
    font-size: 11px;
    color: #394faa;
    font-weight: 700;
}
.hero-art {
    width: 170px;
    position: absolute;
    right: -19px;
    bottom: 10px;
}
.hero-count {
    position: absolute;
    bottom: 15px;
    right: 17px;
    font-size: 10px;
    color: #6682a5;
}
.departments {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 7px;
}
.department {
    text-align: center;
    padding: 0;
    min-width: 0;
}
.department img {
    width: 58px;
    height: 58px;
    margin: auto;
}
.department span {
    font-size: 10px;
    display: block;
    line-height: 1.35;
    margin-top: 9px;
    min-height: 27px;
    overflow-wrap: anywhere;
}
.divider {
    height: 8px;
    background: #f5f7fb;
}
.appointment {
    border: 1px solid #e3e9f5;
    border-radius: 16px;
    overflow: hidden;
}
.appointment-main {
    display: flex;
    gap: 14px;
    padding: 18px;
}
.date-tile {
    width: 49px;
    border-radius: 10px;
    background: #edf2ff;
    text-align: center;
    padding: 8px;
    color: #394faa;
    flex-shrink: 0;
}
.date-tile span {
    font-size: 10px;
}
.date-tile b {
    display: block;
    font-size: 23px;
}
.appointment h3 {
    font-size: 14px;
    margin-bottom: 7px;
}
.appointment p {
    font-size: 11px;
    color: #8390a7;
    line-height: 1.6;
}
.appointment-status {
    font-size: 10px;
    color: #008e78;
    display: inline-block;
    margin-top: 7px;
}
.appointment-bottom {
    border-top: 1px solid #eef1f7;
    padding: 11px 18px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}
.appointment-bottom b {
    color: #394faa;
}
.hospital-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hospital-card {
    border: 1px solid #eef1f6;
    border-radius: 15px;
    overflow: hidden;
    text-align: left;
    padding: 0;
}
.hospital-image {
    height: 105px;
    background: linear-gradient(130deg, #e4f1f6, #e9efff);
    display: grid;
    place-items: center;
}
.hospital-image img {
    height: 90px;
}
.hospital-card-text {
    padding: 12px;
}
.hospital-card h3 {
    font-size: 13px;
}
.hospital-card p {
    font-size: 10px;
    color: #8390a7;
    margin-top: 6px;
}
.medical-tag {
    display: inline-block;
    color: #548785;
    font-size: 10px;
    margin-top: 9px;
}
.meditalk {
    background: #fafbff;
}
.question-card {
    background: #fff;
    border: 1px solid #e8edf7;
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 17px;
    text-align: left;
    width: 100%;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.question-card .q {
    color: #394faa;
    background: #edf1ff;
    border-radius: 9px;
    padding: 7px;
    font-size: 12px;
    font-weight: 700;
}
.question-card h3 {
    font-size: 13px;
    line-height: 1.5;
}
.question-card p {
    font-size: 10px;
    color: #92a0b4;
    margin-top: 7px;
}
.coffee-banner {
    margin: 24px 22px;
    background: #ffe781;
    border-radius: 17px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: calc(100% - 44px);
    text-align: left;
}
.coffee-banner .copy {
    flex: 1;
}
.coffee-banner small {
    font-size: 9px;
    letter-spacing: 1px;
    color: #927a2b;
}
.coffee-banner h3 {
    font-size: 19px;
    line-height: 1.2;
    margin-top: 9px;
    color: #574914;
    letter-spacing: -0.5px;
}
.coffee-banner p {
    font-size: 10px;
    margin-top: 9px;
    color: #8e7b39;
}
.coffee-banner img {
    width: 90px;
}
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.step {
    background: #f6f8fc;
    padding: 15px 10px;
    border-radius: 12px;
}
.step b {
    color: #1db0e7;
    font-size: 11px;
}
.step h3 {
    font-size: 12px;
    margin: 10px 0 6px;
}
.step p {
    font-size: 10px;
    line-height: 1.5;
    color: #8390a7;
}
.notice {
    display: flex;
    padding: 12px 0;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #eef1f6;
    font-size: 12px;
}
.notice small {
    font-size: 9px;
    color: #394faa;
    background: #eef2ff;
    border-radius: 4px;
    padding: 4px;
}
.help-card {
    background: #eaf7fd;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.help-card h3 {
    font-size: 15px;
}
.help-card p {
    font-size: 11px;
    margin-top: 7px;
    color: #748c9e;
}
.help-card a {
    font-size: 12px;
    font-weight: 700;
    color: #394faa;
}
.app-footer {
    padding: 20px 22px;
    color: #9ba6b8;
    font-size: 10px;
    line-height: 1.8;
}
.app-footer img {
    width: 75px;
    opacity: 0.6;
    margin-bottom: 12px;
}
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #ffffffef;
    border-top: 1px solid #edf0f6;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    z-index: 20;
    backdrop-filter: blur(12px);
}
#bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border-radius: 14px;
    padding: 7px 4px;
    color: #8b95a7;
    font-size: 10px;
    min-height: 51px;
    text-align: center;
    line-height: 1.3;
}
#bottom-nav a.active {
    background: #edf2ff;
    color: #394faa;
    font-weight: 700;
}
#bottom-nav svg {
    width: 22px;
    height: 22px;
}
.desktop-promo {
    position: fixed;
    width: 250px;
    left: calc(50% - 510px);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    padding: 25px;
    border: 1px solid #eef0f5;
    border-radius: 18px;
}
.promo-logo {
    width: 105px;
    margin-bottom: 20px;
}
.desktop-promo h1 {
    font-size: 27px;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #34499a;
}
.desktop-promo p {
    font-size: 11px;
    color: #8997ac;
    line-height: 1.7;
    margin-top: 13px;
}
.promo-phone {
    width: 136px;
    height: 216px;
    background: linear-gradient(#fbfdff, #eaf1ff);
    border: 5px solid #34415d;
    border-radius: 24px;
    margin: 24px auto 18px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 12px 12px 24px #d9e2f680;
    transform: rotate(-5deg);
}
.phone-speaker {
    width: 40px;
    height: 4px;
    background: #34415d;
    border-radius: 10px;
    margin: auto auto 14px;
}
.promo-phone > img {
    width: 75px;
}
.phone-illustration {
    height: 100px;
    background: url('assets/hospital.svg') center/contain no-repeat;
    margin-top: 10px;
}
.promo-phone span {
    font-size: 8px;
    color: #53658a;
}
.download-caption {
    font-size: 13px;
    font-weight: 700;
    text-align: center;
}
.store-links {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}
.store-links button {
    flex: 1;
    background: #21314d;
    color: #fff;
    border-radius: 7px;
    padding: 10px 4px;
    font-size: 9px;
}
.desktop-promo > small {
    display: block;
    color: #a4adbc;
    font-size: 8px;
    text-align: center;
    margin-top: 10px;
}
.page-title {
    font-size: 23px;
    margin-bottom: 20px;
}
.language-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}
.language-options button {
    border: 1px solid #e4e9f2;
    padding: 12px;
    border-radius: 9px;
    text-align: left;
}
.language-options button.selected {
    border-color: #394faa;
    background: #eef2ff;
}
.menu-link {
    display: flex;
    justify-content: space-between;
    padding: 17px 0;
    border-bottom: 1px solid #edf0f6;
}
.empty-card {
    border: 1px solid #e5ebf5;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}
.back {
    color: #394faa;
    font-size: 12px;
    margin-bottom: 20px;
    display: inline-block;
}
dialog {
    width: 340px;
    max-width: calc(100vw - 32px);
    border: 0;
    border-radius: 18px;
    padding: 24px;
    color: #20304d;
    box-shadow: 0 15px 70px #182b4c30;
}
dialog::backdrop {
    background: #182b4c60;
}
dialog h2 {
    font-size: 18px;
}
dialog p {
    line-height: 1.7;
    margin: 16px 0;
    color: #78879b;
    font-size: 13px;
}
dialog button {
    display: block;
    margin-left: auto;
    background: #394faa;
    color: white;
    border-radius: 9px;
    padding: 10px 20px;
}
@media (max-width: 1050px) {
    .desktop-promo {
        display: none;
    }
}
@media (max-width: 440px) {
    .app-shell,
    #bottom-nav {
        width: 100%;
    }
    .app-shell {
        box-shadow: none;
    }
    .section {
        padding: 24px 18px;
    }
    .hero {
        margin: 0 18px;
    }
    .coffee-banner {
        margin: 24px 18px;
        width: calc(100% - 36px);
    }
    .app-shell header {
        padding-top: max(18px, env(safe-area-inset-top));
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
    }
}
/* Source section 2 — original cascade order retained. */
.hero-banner-area {
    overflow: hidden;
    margin-top: 0;
    background: #fff;
}
.hero-banner-track {
    display: flex;
    width: 200%;
    transition: transform 0.35s ease;
}
.hero-banner-slide {
    width: 50%;
    flex: 0 0 50%;
    padding: 0;
    display: block;
}
.hero-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/1;
    object-fit: cover;
}
.hero-banner-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    font-size: 9px;
    color: #8b98ac;
}
.hero-banner-footer > div {
    display: flex;
    gap: 6px;
}
.hero-banner-footer button {
    width: 6px;
    height: 6px;
    background: #dce2ed;
    border-radius: 50%;
    padding: 0;
}
.hero-banner-footer button.selected {
    width: 18px;
    border-radius: 5px;
    background: #394faa;
}
.departments {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 10px;
}
.department img {
    width: 64px;
    height: 64px;
}
.department span {
    font-size: 12px;
    line-height: 1.4;
}
.meditalk-accordion {
    display: block;
}
.meditalk-accordion summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    list-style: none;
}
.meditalk-accordion summary::-webkit-details-marker {
    display: none;
}
.accordion-chevron {
    margin-left: auto;
    color: #8b98ac;
}
.meditalk-accordion[open] .accordion-chevron {
    transform: rotate(180deg);
}
.question-card p.meditalk-answer {
    font-size: 12px;
    line-height: 1.8;
    color: #657590;
    margin: 16px 0 0;
    padding: 14px 0 0;
    border-top: 1px solid #edf0f6;
}
.coffee-banner img {
    width: 90px;
    height: 120px;
    object-fit: contain;
}
.coffee-banner .copy {
    min-width: 0;
}
.coffee-banner h3 {
    font-size: 20px;
}
@media (prefers-reduced-motion: reduce) {
    .hero-banner-track {
        transition: none;
    }
}
/* Source section 3 — original cascade order retained. */
.hospital-list-page {
    padding: 24px 18px;
}
.list-heading h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
}
.list-heading > p {
    font-size: 12px;
    color: #8a96aa;
    margin-top: 8px;
}
.hospital-list-filters {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 8px;
    margin-top: 24px;
}
.hospital-list-filters select,
.hospital-result-heading select {
    min-width: 0;
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    padding: 10px 6px;
    font: inherit;
    font-size: 11px;
    color: #536582;
    background: #fff;
}
.filter-button {
    border: 1px solid #e4e9f2;
    border-radius: 8px;
    padding: 8px;
    font-size: 11px;
}
.hospital-result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 12px;
    font-size: 11px;
    color: #8a96aa;
}
.hospital-result-heading select {
    border: 0;
    padding: 5px;
}
.hospital-single-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hospital-list-card {
    display: flex;
    gap: 14px;
    border: 1px solid #e7ecf5;
    border-radius: 15px;
    padding: 14px;
    background: #fff;
}
.hospital-list-photo {
    width: 99px;
    min-height: 125px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #edf6fa, #eaf0ff);
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.hospital-list-photo img {
    width: 95px;
}
.hospital-list-copy {
    min-width: 0;
    flex: 1;
}
.hospital-list-copy h2 {
    font-size: 16px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.hospital-sponsored {
    font-size: 9px;
    color: #7d8faa;
    display: block;
    margin-bottom: 5px;
}
.hospital-opening {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    font-size: 10px;
    margin-top: 10px;
}
.hospital-opening > span:last-child {
    color: #8c98aa;
    margin-left: 3px;
}
.hospital-opening.open {
    color: #078b72;
}
.hospital-opening.closed {
    color: #909aa9;
}
.opening-dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
}
.hospital-list-copy > p {
    font-size: 11px;
    color: #8c98aa;
    margin-top: 10px;
}
.hospital-service-tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.hospital-service-tags span {
    background: #f3f6fa;
    color: #7890a7;
    font-size: 9px;
    border-radius: 4px;
    padding: 4px 6px;
}
.hospital-keyword-form {
    display: flex;
    align-items: center;
    border: 1px solid #dce6f6;
    border-radius: 24px;
    padding: 10px 14px;
    gap: 8px;
}
.hospital-keyword-form input {
    min-width: 0;
    flex: 1;
    border: 0;
    font: inherit;
    outline: none;
}
.hospital-keyword-form svg {
    width: 22px;
    height: 22px;
}
.search-specialty-links {
    display: flex;
    flex-direction: column;
    margin-top: 14px;
}
.search-specialty-links button {
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid #edf0f6;
}
.hospital-filter-dialog label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
}
.hospital-filter-dialog input {
    accent-color: #394faa;
}
.hospital-filter-dialog h2 {
    margin-bottom: 15px;
}
.hospital-filter-dialog button {
    margin-top: 15px;
}

/* Source section 5 — original cascade order retained. */
/* Desktop phone shows the current home design at mobile scale. */
/* Source section 6 — original cascade order retained. */
.promo-phone {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #fff;
    height: 254px;
    width: 146px;
    border-width: 5px;
    border-radius: 24px;
}
.phone-speaker {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 4px;
    margin: 0;
    z-index: 2;
}
.promo-home-screen {
    position: absolute;
    inset: 13px 0 0;
    overflow: hidden;
    pointer-events: none;
}
.promo-home-content {
    width: 440px;
    transform: scale(0.3091);
    transform-origin: top left;
    background: #fff;
    text-align: left;
}
.promo-home-content header {
    height: 72px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f1f3f6;
    background: #fff;
}
.promo-home-content header img {
    width: 112px;
}
.promo-home-content .icon-button svg {
    width: 23px;
    height: 23px;
}
.promo-home-content .icon-button:after {
    display: none;
}

/* Source section 8 — original cascade order retained. */
.hospital-card .hospital-image {
    overflow: hidden;
}
.hospital-card .hospital-image img,
.hospital-list-photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

/* Source section 10 — original cascade order retained. */
.hospital-list-page {
    padding-top: 20px;
}
.detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    font-size: 13px;
}
.detail-topbar > a,
.detail-topbar > button {
    font-size: 22px;
}
.detail-gallery {
    height: 235px;
    position: relative;
}
.detail-gallery > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.detail-gallery > span {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background: #17243b99;
    color: #fff;
    border-radius: 15px;
    padding: 5px 10px;
    font-size: 11px;
}
.detail-gallery > button {
    position: absolute;
    right: 16px;
    bottom: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 7px 12px;
    font-size: 11px;
}
.detail-overview h1 {
    font-size: 25px;
    line-height: 1.3;
    margin: 8px 0 14px;
}
.detail-specialty {
    color: #8390a7;
    font-size: 12px;
}
.detail-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.detail-service-tags span {
    font-size: 11px;
    background: #edf5f5;
    color: #43817b;
    padding: 6px 9px;
    border-radius: 6px;
}
.detail-opening {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-top: 20px;
}
.detail-opening b {
    color: #008874;
}
.detail-opening > span {
    color: #7e8ba1;
}
.detail-opening button {
    margin-left: auto;
    color: #394faa;
}
.detail-section-nav {
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #edf0f6;
    border-bottom: 1px solid #edf0f6;
    position: sticky;
    top: 72px;
    background: #fff;
    z-index: 9;
}
.detail-section-nav a {
    font-size: 12px;
    padding: 16px 6px;
    color: #394faa;
    font-weight: 600;
}
.detail-section-title {
    font-size: 18px;
    margin-bottom: 18px;
}
.detail-section-title small,
.detail-reviews small {
    color: #8995aa;
}
.detail-info-row {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid #f0f2f6;
    line-height: 1.6;
    font-size: 12px;
}
.detail-info-row > span {
    color: #8a96aa;
}
.detail-text-button {
    color: #394faa;
    text-align: left;
    padding: 0;
    display: block;
    font-size: 12px;
}
.detail-title-gap {
    margin-top: 28px;
}
.detail-body {
    font-size: 13px;
    line-height: 1.8;
    color: #6d7c93;
    white-space: normal;
}
.detail-note {
    background: #f6f8fc;
    padding: 12px;
    border-radius: 8px;
    font-size: 11px;
    color: #8492a7;
    margin-top: 17px;
}
.detail-doctor {
    width: 100%;
    display: flex;
    gap: 12px;
    text-align: left;
    align-items: center;
    padding: 14px 0;
}
.doctor-monogram {
    background: #edf3ff;
    color: #394faa;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
}
.detail-doctor > span:nth-child(2) {
    flex: 1;
}
.detail-doctor b {
    font-size: 14px;
}
.detail-doctor small {
    display: block;
    color: #8b97ab;
    font-size: 11px;
    margin-top: 6px;
}
.detail-rating {
    font-size: 14px;
    color: #394faa;
    font-weight: bold;
}
.detail-review {
    padding: 18px 0;
    border-top: 1px solid #edf0f6;
}
.detail-review > div {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}
.review-stars {
    color: #e9b649;
    letter-spacing: 2px;
}
.detail-review p {
    font-size: 13px;
    line-height: 1.7;
    margin: 12px 0;
    color: #6d7c93;
}
.detail-review small {
    font-size: 10px;
    color: #98a3b5;
}
.detail-booking-bar {
    position: fixed;
    bottom: 81px;
    width: 440px;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fffffff5;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 1px solid #edf0f6;
    z-index: 19;
}
.detail-booking-bar span {
    font-size: 12px;
    color: #8793a7;
}
.detail-booking-bar button {
    flex: 1;
    background: #394faa;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.hospital-detail-active .app-shell {
    padding-bottom: 175px;
}
.hospital-detail-page section {
    scroll-margin-top: 130px;
}
.detail-dialog {
    width: 410px;
}
.detail-dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}
.detail-dialog-heading button {
    font-size: 25px;
    padding: 0;
    background: none;
    color: #7c8aa0;
}
.detail-dialog h3 {
    font-size: 13px;
    margin: 20px 0 10px;
}
.detail-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.detail-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
    padding: 10px 0;
}
.detail-hours-grid p {
    font-size: 11px;
    margin: 12px 0;
}
.detail-photo-stack img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 12px;
}
@media (max-width: 480px) {
    .detail-booking-bar {
        bottom: calc(81px + env(safe-area-inset-bottom));
        width: 100%;
    }
    .detail-gallery {
        height: 220px;
    }
    .detail-hours-grid {
        gap: 14px;
    }
}

/* Source section 12 — original cascade order retained. */
.detail-topbar {
    gap: 12px;
    padding: 12px 22px;
}
.detail-topbar > span {
    flex: 1;
    text-align: center;
    font-weight: 600;
}
.detail-topbar .detail-nav-button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid #e6eaf2;
    background: #f7f9fc;
    border-radius: 12px;
    color: #425573;
    padding: 0;
}
.detail-nav-button svg {
    width: 21px;
    height: 21px;
}
.detail-topbar .detail-nav-button:hover {
    background: #edf2ff;
    color: #394faa;
}
.detail-topbar .detail-nav-button:active {
    background: #e4ebfa;
}

/* Source section 14 — original cascade order retained. */
.booking-nav-spacer {
    max-width: 40px;
    width: 40px;
}
.booking-hospital {
    display: flex;
    align-items: center;
    gap: 14px;
}
.booking-hospital img {
    width: 72px;
    height: 64px;
    object-fit: cover;
    border-radius: 12px;
}
.booking-hospital small {
    font-size: 11px;
    color: #8895aa;
}
.booking-hospital h1 {
    font-size: 19px;
    line-height: 1.35;
    margin-top: 5px;
}
.booking-explanation {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 20px;
    color: #74829a;
}
.booking-step {
    border-top: 8px solid #f5f7fb;
}
.booking-step h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 20px;
}
.booking-step h2 > span {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edf2ff;
    color: #394faa;
    display: grid;
    place-items: center;
    font-size: 12px;
}
.booking-calendar {
    border: 1px solid #e7ecf5;
    border-radius: 18px;
    padding: 16px 12px;
}
.calendar-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
}
.calendar-heading button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #f5f7fc;
    border-radius: 10px;
}
.calendar-heading svg {
    width: 18px;
    height: 18px;
}
.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 6px;
}
.calendar-weekdays span {
    text-align: center;
    font-size: 10px;
    color: #919db0;
    padding: 6px 0;
}
.calendar-days button {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    min-height: 38px;
    font-size: 13px;
    border: 1px solid transparent;
}
.calendar-days button.today {
    border-color: #9aaade;
}
.calendar-days button.selected {
    background: #394faa;
    color: #fff;
    border-color: #394faa;
}
.booking-page button:disabled {
    opacity: 0.3;
    cursor: default;
}
.booking-selection {
    background: #f1f5ff;
    border-radius: 10px;
    padding: 12px;
    margin-top: 12px;
    color: #394faa;
    font-size: 12px;
    text-align: center;
}
.booking-helper {
    font-size: 11px;
    color: #8b97ac;
    line-height: 1.7;
    margin: 12px 0;
}
.booking-time-group {
    margin-top: 20px;
}
.booking-time-group h3 {
    font-size: 12px;
    margin-bottom: 10px;
    color: #7d8ba3;
}
.booking-time-group > div {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.booking-time-group button {
    padding: 12px 4px;
    border: 1px solid #e4e9f3;
    border-radius: 10px;
    font-size: 12px;
}
.booking-time-group button.selected,
.booking-modes button.selected {
    border-color: #394faa;
    background: #eef2ff;
    color: #394faa;
    font-weight: bold;
}
.booking-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.booking-modes button {
    font-size: 12px;
    min-height: 48px;
    line-height: 1.4;
    border: 1px solid #e4e9f3;
    border-radius: 12px;
    padding: 10px;
}
.booking-phone-label {
    font-size: 12px;
    display: block;
    margin: 20px 0 9px;
}
.booking-phone {
    display: flex;
    gap: 8px;
}
.booking-phone input {
    min-width: 0;
    flex: 1;
    border: 1px solid #e1e8f3;
    border-radius: 10px;
    padding: 13px;
    font: inherit;
}
.booking-phone button {
    padding: 10px 16px;
    border-radius: 10px;
    background: #394faa;
    color: white;
    font-size: 12px;
}
#booking-verified {
    font-size: 12px;
    color: #43817b;
    line-height: 1.6;
}
.booking-summary {
    background: #f8faff;
}
.booking-summary h2 {
    font-size: 17px;
}
.booking-summary dl {
    margin: 20px 0;
}
.booking-summary dl > div {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    font-size: 12px;
    margin: 13px 0;
    line-height: 1.5;
}
.booking-summary dt {
    color: #8b97aa;
}
.booking-summary dd {
    margin: 0;
}
.booking-summary > p {
    font-size: 11px;
    line-height: 1.7;
    color: #8b97aa;
}
.booking-submit-bar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 440px;
    max-width: 100%;
    padding: 14px 22px calc(14px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #e9edf5;
    z-index: 30;
}
.booking-submit-bar button {
    width: 100%;
    padding: 16px;
    border-radius: 13px;
    background: #394faa;
    color: #fff;
    font-weight: 600;
}
.booking-active #bottom-nav {
    display: none;
}
.booking-active .app-shell {
    padding-bottom: 100px;
}
.booking-complete {
    text-align: center;
}
.booking-success-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #edf7f4;
    color: #13816c;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
}
.booking-success-icon svg {
    width: 26px;
    height: 26px;
}

/* Source section 16 — original cascade order retained. */
.booking-complete {
    width: 390px;
    padding: 26px 22px;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
}
.booking-complete > p {
    font-size: 13px;
    line-height: 1.65;
    margin: 12px 0;
}
.booking-coffee-promo {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(125deg, #fff1ae, #ffe176);
    border: 1px solid #f6db75;
    border-radius: 17px;
    padding: 20px 15px;
    margin: 22px 0 18px;
    text-align: left;
    overflow: hidden;
}
.booking-coffee-copy {
    position: relative;
    z-index: 1;
    width: 70%;
}
.booking-coffee-copy > span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #9b7d28;
}
.booking-coffee-copy h3 {
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -0.6px;
    color: #554612;
    margin: 10px 0;
}
.booking-coffee-copy p {
    font-size: 11px;
    line-height: 1.6;
    color: #88702c;
    margin: 0 0 13px;
}
.booking-points-goal {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffffb0;
    border-radius: 20px;
    padding: 7px 9px;
    font-size: 9px;
    font-weight: 700;
    color: #6c5518;
    white-space: nowrap;
}
.booking-points-goal span {
    color: #b89a42;
}
.booking-coffee-promo > img {
    position: absolute;
    width: 108px;
    height: 170px;
    object-fit: contain;
    right: -2px;
    top: 30px;
    transform: rotate(7deg);
    filter: drop-shadow(0 8px 7px #94732220);
}
.booking-complete .booking-complete-confirm {
    width: 100%;
    padding: 14px;
    background: #394faa;
    color: #fff;
    border-radius: 12px;
    font-weight: 600;
}

/* Source section 18 — original cascade order retained. */
.visits-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.visits-heading .page-title {
    margin: 0;
    font-size: 26px;
}
.visits-heading .eyebrow {
    font-size: 9px;
}
.visits-new {
    font-size: 11px;
    color: #394faa;
    border: 1px solid #dce4f5;
    border-radius: 10px;
    padding: 10px;
    white-space: nowrap;
}
.visits-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 0 22px;
    border-bottom: 1px solid #e8edf5;
}
.visits-tabs button {
    padding: 14px 3px;
    font-size: 12px;
    color: #8c98aa;
    border-bottom: 3px solid transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.visits-tabs button.selected {
    border-color: #394faa;
    color: #394faa;
    font-weight: bold;
}
.visits-tabs span {
    font-size: 9px;
    background: #f1f4f9;
    border-radius: 10px;
    min-width: 18px;
    padding: 3px;
}
.visits-tab-note {
    font-size: 11px;
    color: #8b97aa;
    padding: 18px 22px;
    line-height: 1.6;
}
.visits-list {
    padding: 0 22px;
}
.visit-card {
    border: 1px solid #e4eaf5;
    border-radius: 17px;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
}
.visit-card-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 16px 0;
    flex-wrap: wrap;
}
.visit-status {
    font-size: 10px;
    border-radius: 6px;
    padding: 6px 8px;
    background: #fff4dd;
    color: #a07b28;
    display: inline-block;
}
.visit-status.confirmed {
    background: #edf3ff;
    color: #394faa;
}
.visit-status.past {
    background: #edf7f3;
    color: #42816b;
}
.visit-round {
    font-size: 10px;
    color: #8b97aa;
    display: inline-block;
}
.visit-round.followup {
    color: #6675b2;
    background: #f1f3fc;
    padding: 5px 7px;
    border-radius: 5px;
}
.visit-card-main {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: left;
    gap: 12px;
    padding: 17px 16px;
}
.visit-card-main img {
    width: 56px;
    height: 52px;
    border-radius: 9px;
    object-fit: cover;
}
.visit-card-main > span:nth-child(2) {
    flex: 1;
    min-width: 0;
}
.visit-card-main b {
    font-size: 14px;
    line-height: 1.4;
    display: block;
}
.visit-card-main small {
    font-size: 10px;
    color: #8b98ac;
    display: block;
    margin-top: 5px;
}
.visit-chevron {
    font-size: 21px;
    color: #a2adc0;
}
.visit-date {
    background: #f8faff;
    margin: 0 16px;
    padding: 14px;
    border-radius: 10px;
}
.visit-date small {
    display: block;
    color: #8b97aa;
    font-size: 10px;
    margin-bottom: 7px;
}
.visit-date strong {
    font-size: 15px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.visit-date strong > span {
    color: #394faa;
}
.visit-coordinator {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 16px;
    font-size: 11px;
}
.visit-coordinator span {
    color: #8c98ac;
}
.visit-coordinator b {
    font-weight: 500;
}
.visit-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #edf0f6;
    padding: 11px 16px;
}
.visit-card-bottom button {
    font-size: 11px;
    color: #7d8ba3;
    padding: 4px 0;
}
.visit-card-bottom .visit-review-button {
    color: #394faa;
    font-weight: 600;
}
.visits-sample-note {
    padding: 5px 22px 22px;
    color: #a3adbc;
    font-size: 10px;
}
.visit-detail-date {
    padding: 20px;
    border-radius: 15px;
    background: #f2f6ff;
    margin: 22px 0 18px;
}
.visit-detail-date small {
    color: #8593ad;
    font-size: 11px;
}
.visit-detail-date strong {
    display: block;
    margin-top: 10px;
    color: #394faa;
    font-size: 23px;
    line-height: 1.5;
}
.visit-progress {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.visit-progress li {
    position: relative;
    padding: 0 0 25px 28px;
    border-left: 2px solid #e7ecf5;
    margin-left: 6px;
    color: #9ba7b9;
}
.visit-progress li:before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: #dfe6f1;
    border: 2px solid #fff;
    border-radius: 50%;
}
.visit-progress li.done:before {
    background: #394faa;
}
.visit-progress li.done b {
    color: #394faa;
}
.visit-progress b {
    font-size: 13px;
}
.visit-progress p {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 7px;
}
.visit-progress li:last-child {
    border-left-color: transparent;
}
.visit-detail-review {
    width: 100%;
    background: #394faa;
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    margin-top: 10px;
}

/* Source section 20 — original cascade order retained. */
.my-profile-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}
.my-avatar {
    width: 54px;
    height: 54px;
    background: #eef3ff;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #394faa;
    flex-shrink: 0;
}
.my-avatar svg {
    width: 29px;
    height: 29px;
}
.my-profile-heading > div:nth-child(2) {
    min-width: 0;
    flex: 1;
}
.my-profile .eyebrow {
    font-size: 9px;
    margin-bottom: 6px;
}
.my-profile h1 {
    font-size: 25px;
    letter-spacing: -0.7px;
}
.my-profile-heading p:not(.eyebrow) {
    font-size: 11px;
    color: #8b98ac;
    margin-top: 6px;
    overflow-wrap: anywhere;
}
.my-profile-edit {
    border: 1px solid #e2e8f3;
    border-radius: 9px;
    padding: 8px 11px;
    font-size: 11px;
    color: #647596;
}
.my-phone {
    font-size: 12px;
    margin: 19px 0 0;
    color: #8a97ab;
}
.my-points-card {
    margin: 0 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px;
    background: linear-gradient(120deg, #394faa, #536ac5);
    border-radius: 20px;
    color: #fff;
    gap: 15px;
}
.my-points-card > div > span {
    font-size: 12px;
    color: #d8e2ff;
}
.my-points-card strong {
    display: block;
    font-size: 31px;
    letter-spacing: -0.8px;
    margin: 8px 0;
}
.my-points-card small {
    font-size: 10px;
    color: #d4def7;
}
.my-points-card > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 10px;
}
.my-points-card svg {
    width: 39px;
    height: 39px;
    opacity: 0.9;
}
.my-coordinator .section-heading {
    margin-bottom: 14px;
}
.my-coordinator-card {
    display: flex;
    align-items: center;
    gap: 13px;
    border: 1px solid #e7edf6;
    border-radius: 15px;
    padding: 17px;
}
.my-coordinator-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eaf7f6;
    color: #548780;
    font-size: 18px;
    flex-shrink: 0;
}
.my-coordinator-card > span:nth-child(2) {
    flex: 1;
}
.my-coordinator-card b {
    font-size: 14px;
}
.my-coordinator-card small {
    display: block;
    font-size: 10px;
    color: #8b98ac;
    margin-top: 5px;
}
.my-coordinator-card p {
    font-size: 10px;
    color: #99a5b6;
    margin-top: 8px;
}
.my-menu-section h2 {
    font-size: 13px;
    color: #8a97ad;
    margin-bottom: 9px;
    font-weight: 500;
}
.my-menu-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 13px;
    padding: 17px 0;
    border-bottom: 1px solid #f0f3f8;
    text-align: left;
}
.my-menu-row:last-child {
    border: 0;
}
.my-menu-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f6f8fc;
    color: #65799c;
    flex-shrink: 0;
}
.my-menu-icon svg {
    width: 21px;
    height: 21px;
}
.my-menu-label {
    flex: 1;
    min-width: 0;
}
.my-menu-label b {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.my-menu-label small {
    display: block;
    font-size: 10px;
    color: #9ba7b8;
    margin-top: 4px;
    line-height: 1.6;
}
.my-menu-chevron {
    font-size: 21px;
    color: #a1aec1;
}
.my-logout .my-menu-label b {
    color: #8d98ab;
}
.my-footer {
    background: #f8faff;
    padding: 26px 22px 20px;
}
.my-footer > img {
    width: 83px;
    opacity: 0.65;
}
.my-footer > p {
    font-size: 11px;
    color: #99a6bb;
    margin: 10px 0 18px;
}
.my-footer > div {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 10px;
    color: #8291a9;
}
.my-footer-help {
    display: block;
    font-size: 11px;
    color: #6f83a7;
    margin: 18px 0;
}
.my-footer > small {
    font-size: 9px;
    color: #b0b9c8;
}
.my-empty-state {
    border: 1px solid #e8edf6;
    background: #fafcff;
    text-align: center;
    border-radius: 16px;
    padding: 32px 20px;
    margin-top: 20px;
}
.my-empty-state > svg {
    width: 34px;
    height: 34px;
    color: #a1afca;
    margin: 0 auto 18px;
}
.my-empty-state h3 {
    font-size: 15px;
}
.my-empty-state p {
    font-size: 12px;
    line-height: 1.7;
    color: #8c9ab0;
    margin: 12px 0 20px;
}
.my-empty-state a {
    display: inline-block;
    border: 1px solid #dbe4f5;
    background: #fff;
    color: #394faa;
    font-size: 12px;
    border-radius: 10px;
    padding: 11px 15px;
}
.my-points-balance {
    background: #eef3ff;
    padding: 25px;
    border-radius: 17px;
    color: #394faa;
}
.my-points-balance small {
    font-size: 11px;
    display: block;
}
.my-points-balance strong {
    font-size: 32px;
    display: block;
    margin-top: 10px;
}
.my-profile-fields label {
    display: block;
    color: #8b97aa;
    font-size: 12px;
    margin-bottom: 20px;
}
.my-profile-fields input {
    width: 100%;
    display: block;
    border: 1px solid #e3eaf5;
    border-radius: 10px;
    padding: 13px;
    font: inherit;
    color: #425573;
    margin-top: 8px;
    background: #fafcff;
}
.my-guide-steps > div {
    padding: 20px 0;
    border-bottom: 1px solid #edf1f7;
}
.my-guide-steps span {
    background: #eef3ff;
    color: #394faa;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    font-size: 12px;
}
.my-guide-steps h2 {
    font-size: 16px;
    margin: 13px 0 8px;
}
.my-guide-steps p {
    font-size: 12px;
    color: #8493aa;
    line-height: 1.8;
}

/* Source section 22 — original cascade order retained. */
.my-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 22px;
    border: 1px solid #e4eaf4;
    border-radius: 17px;
    overflow: hidden;
    background: #fbfcff;
}
.my-summary > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 12px;
    gap: 8px;
    min-height: 95px;
}
.my-summary > a:nth-child(odd) {
    border-right: 1px solid #e7edf6;
}
.my-summary > a:nth-child(-n + 2) {
    border-bottom: 1px solid #e7edf6;
}
.my-summary strong {
    font-size: 25px;
    line-height: 1.2;
    color: #42568e;
    font-weight: 650;
    letter-spacing: -0.5px;
}
.my-summary span {
    font-size: 11px;
    line-height: 1.5;
    color: #8a98ad;
}
.my-summary > a:hover {
    background: #f1f5ff;
}

/* Source section 24 — original cascade order retained. */
.my-page-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 22px 12px;
    border-bottom: 1px solid #edf1f7;
    background: #fff;
}
.my-page-topbar h1 {
    flex: 1;
    text-align: center;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -0.2px;
}
.my-page-nav-button {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid #e6eaf2;
    background: #f7f9fc;
    border-radius: 12px;
    color: #425573;
}
.my-page-nav-button svg {
    width: 21px;
    height: 21px;
}
.my-page-nav-button:hover {
    background: #edf2ff;
    color: #394faa;
}
.my-profile {
    padding-top: 23px;
}

/* Source section 26 — original cascade order retained. */
.my-nav-spacer {
    width: 40px;
    flex: 0 0 40px;
}
.my-page-topbar h1 {
    line-height: 1.4;
    overflow-wrap: anywhere;
}

/* Source section 28 — original cascade order retained. */
.my-reviews-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #8593a9;
    font-size: 12px;
    margin-bottom: 20px;
}
.my-reviews-caption b {
    color: #394faa;
    background: #eef3ff;
    padding: 4px 9px;
    border-radius: 10px;
}
.my-review-card {
    border: 1px solid #e4eaf4;
    border-radius: 16px;
    padding: 17px;
    margin-bottom: 16px;
}
.my-review-hospital {
    display: flex;
    align-items: center;
    gap: 12px;
}
.my-review-hospital img {
    width: 52px;
    height: 49px;
    object-fit: cover;
    border-radius: 9px;
    flex-shrink: 0;
}
.my-review-hospital h2 {
    font-size: 14px;
    line-height: 1.4;
}
.my-review-hospital p {
    font-size: 10px;
    color: #95a1b4;
    margin-top: 5px;
}
.my-review-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    margin: 18px 0 12px;
}
.my-review-stars {
    color: #e8b44a;
    font-size: 15px;
    letter-spacing: 1px;
}
.my-review-stars > span {
    color: #dce3ee;
}
.my-review-meta > b {
    font-size: 10px;
    color: #73849f;
}
.my-review-meta time {
    margin-left: auto;
    font-size: 10px;
    color: #9ba7b9;
}
.my-review-body {
    font-size: 13px;
    line-height: 1.8;
    color: #6b7b93;
}
.my-review-footer {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
    color: #9ba7b9;
}
.my-review-footer button {
    font-size: 11px;
    color: #394faa;
    padding: 3px 0;
}
.my-review-sample {
    font-size: 10px;
    color: #a3aebe;
    margin-top: 20px;
}

/* Source section 30 — original cascade order retained. */
.settings-notifications > h2 {
    font-size: 19px;
}
.notification-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 21px 0;
    border-bottom: 1px solid #edf1f7;
}
.notification-setting-row h3 {
    font-size: 14px;
    font-weight: 600;
}
.notification-setting-row p {
    font-size: 11px;
    color: #93a0b5;
    line-height: 1.6;
    margin-top: 7px;
}
.notification-switch {
    width: 48px;
    height: 28px;
    border-radius: 20px;
    background: #dce3ed;
    padding: 3px;
    flex: 0 0 48px;
    transition: background 0.18s;
}
.notification-switch > span {
    display: block;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px #17284620;
    transition: transform 0.18s;
}
.notification-switch.enabled {
    background: #394faa;
}
.notification-switch.enabled > span {
    transform: translateX(20px);
}
.notification-settings-note {
    font-size: 10px;
    color: #9aa6b8;
    line-height: 1.7;
    margin-top: 16px;
}

/* Source section 32 — original cascade order retained. */
.review-owner-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
}
.review-delete-button,
.my-review-footer .review-delete-button {
    color: #c45c62;
    font-size: 11px;
    border: 1px solid #efd5d7;
    border-radius: 7px;
    padding: 7px 12px;
    background: #fffafa;
}
.review-delete-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
    margin-top: 22px;
}
.review-delete-dialog-actions button {
    padding: 11px 16px;
    border: 1px solid #dfe6f1;
    border-radius: 9px;
    color: #72839e;
    background: #fff;
}
.review-delete-dialog-actions .review-delete-confirm {
    background: #bd5059;
    border-color: #bd5059;
    color: #fff;
}

/* Source section 34 — original cascade order retained. */
.inquiry-intro {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
}
.inquiry-intro p {
    font-size: 12px;
    color: #8b98ac;
    line-height: 1.7;
}
.member-primary-link {
    background: #394faa;
    color: #fff;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 11px;
}
.inquiry-filter {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
}
.inquiry-filter button {
    border: 1px solid #e3e9f3;
    padding: 9px 15px;
    border-radius: 20px;
    font-size: 11px;
    color: #8b98ac;
}
.inquiry-filter button.selected {
    background: #edf2ff;
    border-color: #a9b8e2;
    color: #394faa;
}
.inquiry-list-card {
    display: block;
    border: 1px solid #e5ebf5;
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 14px;
}
.inquiry-state {
    display: inline-block;
    font-size: 10px;
    padding: 6px 8px;
    border-radius: 6px;
    background: #fff5df;
    color: #9c7b32;
}
.inquiry-state.answered {
    background: #edf7f2;
    color: #44846b;
}
.inquiry-list-card h2 {
    font-size: 14px;
    line-height: 1.5;
    margin: 13px 0 9px;
}
.inquiry-list-card > p {
    font-size: 12px;
    line-height: 1.7;
    color: #8b98ac;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.inquiry-list-card > div {
    display: flex;
    justify-content: space-between;
    margin-top: 17px;
    font-size: 10px;
    color: #9aa7ba;
}
.member-preview-note {
    font-size: 10px;
    color: #a3adbe;
    margin: 17px 0;
    line-height: 1.6;
}
.member-form-intro {
    font-size: 13px;
    color: #8897ac;
    margin-bottom: 25px;
}
.member-form-field {
    display: block;
    font-size: 13px;
    margin: 24px 0;
    color: #475b7c;
}
.member-form-field > span {
    font-size: 10px;
    color: #9aa7b9;
    float: right;
}
.member-form-field input:not([type='file']),
.member-form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #dfe7f3;
    border-radius: 11px;
    padding: 14px;
    font: inherit;
    font-size: 13px;
    margin-top: 10px;
    resize: vertical;
    color: #425573;
    line-height: 1.7;
    background: #fff;
}
.member-form-field input::placeholder,
.member-form-field textarea::placeholder {
    color: #a8b2c3;
}
.member-upload {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px dashed #cbd7eb;
    border-radius: 12px;
    background: #f8faff;
    min-height: 72px;
    position: relative;
    margin-top: 12px;
    color: #7588ab;
}
.member-upload svg {
    width: 22px;
    height: 22px;
}
.member-upload b {
    font-size: 12px;
    font-weight: 500;
}
.member-upload input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.member-form-help {
    font-size: 11px;
    line-height: 1.7;
    color: #94a1b6;
    margin-top: 11px;
}
.member-form-submit {
    width: 100%;
    background: #394faa;
    color: #fff;
    border-radius: 12px;
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 22px;
}
.inquiry-detail-title {
    font-size: 21px;
    line-height: 1.45;
    margin-top: 17px;
}
.inquiry-original {
    font-size: 13px;
    color: #6e7f99;
    line-height: 1.85;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    margin: 23px 0;
}
.inquiry-attachment {
    border: 1px solid #e1e8f3;
    border-radius: 10px;
    width: 100%;
    padding: 13px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6d81a4;
}
.inquiry-lock-note {
    font-size: 11px;
    color: #9ba7b9;
    line-height: 1.7;
    margin-top: 18px;
}
.member-secondary-link {
    display: inline-block;
    border: 1px solid #dae3f4;
    border-radius: 9px;
    padding: 10px 15px;
    color: #394faa;
    font-size: 12px;
}
.inquiry-answer {
    background: #f3f7ff;
    border-radius: 15px;
    padding: 20px;
}
.inquiry-answer > span {
    font-size: 12px;
    color: #394faa;
    font-weight: 600;
}
.inquiry-answer p {
    font-size: 13px;
    color: #697b97;
    line-height: 1.8;
    margin: 15px 0;
    white-space: pre-wrap;
}
.inquiry-answer small {
    font-size: 10px;
    color: #a0acc0;
}
#inquiry-file-selected {
    font-size: 11px;
    overflow-wrap: anywhere;
    color: #7586a2;
    margin-top: 10px;
}
#inquiry-file-selected button {
    margin-left: 10px;
    color: #bd5059;
    font-size: 11px;
}
.review-visit-summary {
    display: flex;
    align-items: center;
    gap: 13px;
    background: #f8faff;
    border-radius: 14px;
    padding: 15px;
}
.review-visit-summary img {
    width: 62px;
    height: 58px;
    border-radius: 10px;
    object-fit: cover;
}
.review-visit-summary h2 {
    font-size: 14px;
    line-height: 1.5;
}
.review-visit-summary p,
.review-visit-summary small {
    font-size: 10px;
    color: #92a0b5;
    margin-top: 5px;
    display: block;
}
.review-rating-title {
    text-align: center;
    font-size: 19px;
    margin: 32px 0 18px;
}
.review-rating-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.review-rating-buttons button {
    width: 44px;
    height: 44px;
    padding: 5px;
}
.review-rating-buttons svg {
    width: 100%;
    height: 100%;
    fill: #e4eaf3;
}
.review-rating-buttons button.selected svg {
    fill: #e8b44a;
}
#review-rating-caption {
    text-align: center;
    font-size: 12px;
    color: #8b98ad;
    margin: 12px 0 28px;
}
.review-policy-note {
    background: #f6f8fc;
    padding: 16px;
    border-radius: 12px;
}
.review-policy-note b {
    font-size: 12px;
    color: #7486a4;
}
.review-policy-note p {
    font-size: 11px;
    line-height: 1.8;
    color: #95a1b5;
    margin-top: 7px;
}

/* Source section 36 — original cascade order retained. */
.hospital-review-entry {
    padding: 16px;
    background: #f3f6ff;
    border: 1px solid #e1e8fa;
    border-radius: 13px;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.hospital-review-entry b {
    font-size: 13px;
    color: #536991;
}
.hospital-review-entry p {
    font-size: 11px;
    color: #8b9ab2;
    line-height: 1.6;
    margin-top: 6px;
}
.hospital-review-entry a {
    align-self: flex-start;
    background: #394faa;
    color: #fff;
    border-radius: 9px;
    padding: 10px 15px;
    font-size: 12px;
}

/* Source section 38 — original cascade order retained. */
.content-intro {
    font-size: 12px;
    color: #8c9aaf;
    line-height: 1.7;
    margin-bottom: 22px;
}
.notice-public-item {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid #e9edf5;
}
.notice-public-item:first-child {
    padding-top: 0;
}
.content-pill {
    display: inline-block;
    font-size: 9px;
    padding: 5px 8px;
    background: #edf2ff;
    color: #536bad;
    border-radius: 5px;
    margin-bottom: 10px;
}
.notice-public-item h2 {
    font-size: 15px;
    line-height: 1.5;
}
.notice-public-item > p {
    font-size: 12px;
    color: #8e9cb1;
    line-height: 1.7;
    margin-top: 8px;
}
.notice-public-item > div {
    display: flex;
    justify-content: space-between;
    color: #a0acbe;
    font-size: 10px;
    margin-top: 13px;
}
.notice-public-item > div > span {
    font-size: 18px;
}
.content-detail-title {
    font-size: 24px;
    line-height: 1.4;
    margin: 6px 0 15px;
    letter-spacing: -0.5px;
}
.content-date {
    font-size: 11px;
    color: #9ba8bc;
}
.content-article {
    margin: 28px 0;
    font-size: 14px;
    color: #697b95;
    line-height: 1.9;
}
.content-article p {
    margin-bottom: 20px;
}
.content-back-link {
    display: block;
    text-align: center;
    padding: 13px;
    border: 1px solid #dee6f4;
    border-radius: 10px;
    font-size: 12px;
    color: #536ba8;
}
.event-public-card {
    display: block;
    border: 1px solid #e5ebf5;
    border-radius: 17px;
    overflow: hidden;
    margin-bottom: 20px;
}
.event-card-art {
    min-height: 165px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 25px;
    background: #edf2ff;
    color: #526ca5;
    gap: 16px;
    overflow: hidden;
}
.event-card-art > div {
    z-index: 1;
    max-width: 74%;
}
.event-card-art small {
    font-size: 9px;
    letter-spacing: 1px;
}
.event-card-art h2 {
    font-size: 24px;
    line-height: 1.2;
    margin-top: 12px;
    letter-spacing: -0.6px;
}
.event-card-art.coffee {
    background: #ffe788;
    color: #746020;
}
.event-card-art > img {
    position: absolute;
    right: 5px;
    bottom: -10px;
    height: 170px;
    width: 110px;
    object-fit: contain;
    transform: rotate(7deg);
}
.event-card-art > svg {
    width: 70px;
    height: 70px;
    position: absolute;
    right: 15px;
    bottom: 23px;
    opacity: 0.3;
}
.event-art-3 {
    background: #e7f4ee;
    color: #4e8575;
}
.event-card-copy {
    padding: 19px;
}
.event-card-copy h2 {
    font-size: 15px;
    line-height: 1.5;
}
.event-card-copy p {
    font-size: 12px;
    line-height: 1.7;
    color: #8c9ab0;
    margin: 9px 0 13px;
}
.event-card-copy time {
    font-size: 10px;
    color: #9ba8bb;
}
.event-detail-coffee {
    background: #ffe789;
    border-radius: 17px;
    padding: 28px 20px;
    position: relative;
    min-height: 190px;
    overflow: hidden;
    margin-top: 24px;
    display: flex;
    align-items: center;
}
.event-detail-coffee h2 {
    font-size: 26px;
    line-height: 1.25;
    color: #766021;
    max-width: 70%;
}
.event-detail-coffee img {
    position: absolute;
    width: 110px;
    height: 190px;
    object-fit: contain;
    right: 0;
    bottom: -7px;
}
.faq-heading {
    font-size: 23px;
    line-height: 1.4;
    margin-bottom: 22px;
}
.faq-public-list {
    margin-top: 25px;
}
.faq-public-item {
    border-bottom: 1px solid #e6edf6;
    padding: 17px 0;
}
.faq-public-item summary {
    list-style: none;
    display: flex;
    gap: 12px;
    align-items: center;
    cursor: pointer;
}
.faq-public-item summary::-webkit-details-marker {
    display: none;
}
.faq-q {
    font-weight: bold;
    color: #536cac;
    background: #f0f4fe;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 12px;
}
.faq-public-item summary > div {
    flex: 1;
}
.faq-public-item small {
    font-size: 9px;
    color: #a0adbf;
}
.faq-public-item h2 {
    font-size: 13px;
    line-height: 1.6;
    margin-top: 5px;
    font-weight: 500;
}
.faq-public-item summary > svg {
    width: 18px;
    height: 18px;
    color: #92a1bb;
    flex-shrink: 0;
    transition: transform 0.18s;
}
.faq-public-item[open] summary > svg {
    transform: rotate(180deg);
}
.faq-public-item > p {
    margin: 17px 0 0;
    padding: 17px;
    background: #f7f9fd;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.8;
    color: #74849f;
}
.faq-support {
    background: #edf6fd;
    border-radius: 14px;
    padding: 21px;
    margin-top: 30px;
}
.faq-support h3 {
    font-size: 15px;
}
.faq-support p {
    font-size: 12px;
    color: #8b9ab0;
    margin: 8px 0 15px;
}
.faq-support a {
    color: #536dad;
    font-size: 12px;
    font-weight: 600;
}

/* Source section 40 — original cascade order retained. */
.home-events-link {
    margin: -12px 22px 8px;
    text-align: right;
}
.home-events-link a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 0;
    font-size: 12px;
    color: #647ca8;
}
.home-events-link svg {
    width: 15px;
    height: 15px;
}

/* Source section 42 — original cascade order retained. */
.my-profile-heading {
    align-items: flex-start;
}
.my-profile-heading .my-avatar {
    margin-top: 2px;
}
.my-profile-heading .my-profile-edit {
    margin-top: 8px;
}
.my-profile-heading .my-phone {
    margin: 7px 0 0;
    font-size: 11px;
    color: #8a97ab;
    line-height: 1.5;
}
.my-profile-heading h1 {
    line-height: 1.3;
}

/* 기존 인라인 표시값을 CSP 호환 클래스로 유지합니다. */
.search-specialties-title {
    margin-top: 28px;
    font-size: 16px;
}
.page-title.visit-detail-title {
    margin-top: 18px;
}

/* Hybrid app: keep scrolling, disable double-tap and pinch zoom. */
html,
body {
    touch-action: pan-x pan-y;
}
