/* Website implementation candidate: preserve the approved teal/navy visual system. */
:root { --anchor-offset: 112px; }
html { scroll-padding-top: 0; }
#detail-view section[id], .therapy-story, .other-methods dl > div,
.method-consult-grid article { scroll-margin-top: var(--anchor-offset); }
body:has(dialog[open]) { overflow: hidden; }
.editorial-fee { max-width: 37em; margin-top: 18px; gap: 4px; }
.editorial-fee strong { font-size: 15px; }
.editorial-fee span { font-size: 13px; line-height: 1.75; }
.team-arrangement { color: #536275; font-size: 14px; margin: -20px 0 30px; }
.physician-duo article { grid-template-columns: 110px minmax(0,1fr); gap: 22px; }
.physician-duo img { width: 110px; height: 144px; }
.physician-duo h3 { font-size: 26px; }
.physician-duo .doctor-directions { margin-top: 14px; }
.physician-duo .doctor-bio { margin-top: 14px; }
.doctor-bio .doctor-degree, .doctor-bio .doctor-background { margin-top: 12px; font-size: 14px; }
.doctor-bio .doctor-degree strong { font-size: inherit; }
.method-details { margin-top: 14px; }
.method-details > summary, .other-methods .method-details > summary {
 display: flex; align-items: center; justify-content: space-between; gap: 16px;
 cursor: pointer; list-style: none; min-height: 44px; padding: 10px 0;
 border-top: 1px solid var(--line); color: #167e83; font-size: 14px; font-weight: 600;
}
.method-details > summary::-webkit-details-marker { display: none; }
.method-details > summary::after, .other-methods .method-details > summary::after {
 content: '+'; width: auto; height: auto; border: 0; transform: none;
 font-size: 22px; line-height: 1; font-weight: 400; flex: 0 0 18px; text-align: center;
}
.method-details[open] > summary::after, .other-methods .method-details[open] > summary::after { content: '−'; transform: none; margin: 0; }
.method-details > p { margin-top: 12px; }
.therapy-story .method-details > p { font-size: 15px; line-height: 1.85; }
#visit .other-methods .method-details > p { margin: 12px 0; font-size: 14px; }
#visit .other-methods .method-details .method-limit { font-size: 13px; }
.treatment-heading h2, .process-section .section-heading h2,
.faq-section > h2 { font-size: 42px; line-height: 1.35; letter-spacing: -.04em; }
.faq-list { max-width: none; margin-left: 0; }
.faq-list summary { min-height: 68px; }
.faq-list summary > svg { flex: 0 0 18px; }
.faq-list details > p { font-size: 15px; line-height: 1.85; }
.mobile-booking { display: none; }
#booking-exit-dialog { width: min(440px,calc(100% - 32px)); height: fit-content; margin: auto; max-height: calc(100dvh - 40px); border: 1px solid var(--line); border-radius: 12px; padding: 28px; }
#booking-exit-dialog h2 { font-size: 25px; line-height: 1.4; }
#booking-exit-dialog p { font-size: 15px; line-height: 1.85; color: #536275; margin-top: 14px; }
.exit-actions { display: grid; gap: 10px; margin-top: 24px; }
.exit-actions .button { width: 100%; justify-content: center; min-height: 48px; }
.exit-actions .exit-secondary { background: white; border: 1px solid #9db6bf; color: var(--ink); }
.exit-actions .exit-secondary:hover { background: var(--soft); }
@media(max-width:760px) {
 :root { --anchor-offset: 96px; }
 .editorial-fee { margin-top: 14px; }
 .editorial-fee span { font-size: 13px; }
 .editorial-hero { gap: 24px; }
 .team-arrangement { margin: -12px 0 26px; line-height: 1.8; }
 .physician-duo article { grid-template-columns: 82px minmax(0,1fr); gap: 18px; }
 .physician-duo img { width: 82px; height: 108px; }
 .physician-duo h3 { font-size: 24px; }
 .physician-duo .doctor-position { line-height: 1.7; }
 .scope-heading h2, .editorial-section-head h2, .treatment-heading h2,
 .process-section .section-heading h2, .faq-section > h2 { font-size: 32px; line-height: 1.4; letter-spacing: -.035em; }
 .therapy-photo { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
 .therapy-photo img { width: 100%; height: 100%; object-fit: cover; }
 #visit .other-methods dl { gap: 24px; }
 #visit .other-methods dl > div { padding-block: 0; }
 #visit .other-methods dl > div + div { padding-top: 24px; }
 #visit .other-methods dt { display: flex; align-items: center; gap: 18px; font-size: 22px; margin-bottom: 12px; }
 .method-art { width: 104px; max-width: 104px; aspect-ratio: 4 / 3; margin: 0; flex: 0 0 104px; }
 #visit .other-methods dd > strong { font-size: 16px; line-height: 1.75; }
 .method-details { margin-top: 10px; }
 .method-details > summary, .other-methods .method-details > summary { font-size: 15px; }
 .faq-list summary { font-size: 16px; align-items: flex-start; gap: 18px; line-height: 1.7; padding-block: 20px; }
 .faq-list summary svg { margin-top: 5px; }
 .faq-list details > p { font-size: 15px; padding-right: 0; }
 .mobile-booking:not([hidden]) {
  position: fixed; z-index: 35; inset: auto 0 0; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: #fff; border-top: 1px solid #c9dcdf; box-shadow: 0 -3px 18px #10232e0a;
 }
 .mobile-booking strong { display: block; font-size: 17px; line-height: 1.45; font-variant-numeric: tabular-nums; }
 .mobile-booking strong span { font-size: 12px; font-weight: 500; }
 .mobile-booking small { display: block; font-size: 11px; color: #536275; line-height: 1.6; }
 .mobile-booking .button { min-height: 48px; padding: 12px 16px; font-size: 14px; gap: 10px; border-radius: 5px; background: var(--bright); border-color: var(--bright); color: var(--ink); }
 .mobile-booking-active .site-header [data-book] { visibility: hidden; }
 .site-footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
 dialog input:not([type=checkbox]), dialog select { font-size: 16px; }
 #booking-dialog { padding-bottom: calc(35px + env(safe-area-inset-bottom)); }
 #booking-dialog .dialog-close { width: 44px; height: 44px; }
}
@media(max-width:360px) {
 .mobile-booking:not([hidden]) { padding-inline: 14px; gap: 8px; }
 .mobile-booking .button { padding-inline: 12px; font-size: 13px; }
 .mobile-booking strong { font-size: 16px; }
}

/* Preview-only device switch. */
@media(max-width:760px) { .review-mobile-link { display: none; } }

/* Compact reading: full content stays reachable without a long default scroll. */
.consultation-scope { padding-block: 56px; }
.scope-heading { gap: 40px; margin-bottom: 24px; align-items: center; }
.scope-heading h2 { font-size: 36px; }
.scope-heading > div > p { font-size: 16px; line-height: 1.75; }
.scope-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 32px; align-items: start; }
 .scope-item { border-top: 1px solid var(--line); padding-block: 18px; }
.scope-item h3 { font-size: 20px; line-height: 1.5; margin: 0 0 6px; }
.scope-item .scope-brief { font-size: 15px; line-height: 1.75; color: #536275; margin: 0; }
.scope-item .scope-description { font-size: 14px; line-height: 1.8; color: #536275; margin: 8px 0 0; }
.institution-details > summary::-webkit-details-marker { display: none; }
.institution-details > summary svg { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: #167e83; stroke-width: 1.8; }
.institution-details[open] > summary svg { transform: rotate(180deg); }
.scope-footnote { color: #536275; }
.english-physicians { padding-block: 56px; }
.english-physicians .editorial-section-head { margin-bottom: 28px; }
.team-arrangement { margin: 0 0 24px; }
.institution-profile { display: block; margin-top: 28px; padding-top: 24px; }
.institution-profile > h3 { font-size: 24px; line-height: 1.4; }
.institution-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; min-height: 48px; padding-block: 12px; cursor: pointer; color: #167e83; font-size: 15px; }
.institution-body { display: grid; grid-template-columns: minmax(0,1fr) 240px; gap: 36px; align-items: center; margin-top: 12px; }
.diagnostic-editorial { padding-block: 64px; }
.diagnostic-opening { margin-top: 28px; padding-block: 20px; }
.diagnostic-takeaway { margin-top: 28px; }
.institution-details > summary:focus-visible { outline: 2px solid #16878b; outline-offset: 4px; }
@media(min-width:761px) and (max-width:1000px) { .scope-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
 .consultation-scope, .english-physicians, .diagnostic-editorial { padding-block: 40px; }
 .scope-heading { gap: 16px; margin-bottom: 20px; }
 .scope-heading h2 { font-size: 28px; line-height: 1.4; }
 .scope-heading a { margin-top: 12px; }
 .scope-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
 .scope-item { padding-block: 16px; }
 .scope-item h3 { font-size: 17px; }
 .scope-item .scope-brief { font-size: 14px; }
 .scope-item .scope-description { display: none; }
 .scope-footnote { font-size: 12px; padding-top: 14px; }
 .english-physicians .editorial-section-head { gap: 16px; margin-bottom: 20px; }
 .team-arrangement { margin: 0 0 22px; }
 .physician-duo { gap: 24px; }
 .physician-duo .doctor-bio { margin-top: 8px; }
 .institution-profile { margin-top: 24px; padding-top: 20px; }
 .institution-body { grid-template-columns: 1fr; gap: 20px; margin-top: 8px; }
 .diagnostic-opening { margin-top: 20px; padding-block: 16px; }
 .diagnostic-opening > p { display: none; }
 .diagnostic-panels { gap: 20px 16px; }
 .diagnostic-caption { flex-direction: row; gap: 8px; padding-top: 12px; }
 .diagnostic-caption > b { font-size: 24px; }
 .diagnostic-caption h3 { font-size: 15px; }
 .diagnostic-caption p { font-size: 14px; line-height: 1.7; }
 .diagnostic-takeaway { padding: 18px; margin-top: 24px; }
 .diagnostic-takeaway > p { display: none; }
 .visit-steps li { padding-bottom: 20px; column-gap: 14px; }
}

/* Select a method in place; only the matching image and explanation are visible. */
#visit { padding-block: 56px; }
#visit .treatment-heading { margin-bottom: 24px; }
#visit .treatment-heading > p { font-size: 16px; line-height: 1.8; }
#visit .method-contents { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 20px; margin: 0; border: 0; }
.method-contents [role="tab"] { font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; min-height: 44px; padding: 10px 16px; border: 1px solid #c9dcdf; border-radius: 5px; background: #fff; color: #283f4b; cursor: pointer; }
.method-contents [role="tab"]:hover { background: #f0f8f8; border-color: #167e83; }
.method-contents [role="tab"][aria-selected="true"] { background: #167e83; border-color: #167e83; color: #fff; }
.method-contents [role="tab"]:focus-visible, .method-panel:focus-visible { outline: 2px solid #167e83; outline-offset: 3px; }
.method-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 36px; padding-top: 24px; border-top: 1px solid var(--line); align-items: start; }
.method-panel[hidden] { display: none; }
.method-panel-text { grid-template-columns: minmax(0,700px); }
.method-visual { margin: 0; }
.method-visual img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; border-radius: 8px; background: #f4f7f6; }
.method-copy h3 { font-size: 28px; line-height: 1.4; margin: 0 0 12px; }
.method-copy h3 small { display: inline-block; font-size: 16px; font-weight: 400; color: #536275; margin-left: 10px; }
.method-benefit { font-size: 18px; line-height: 1.6; margin: 0 0 16px; font-weight: 600; color: #1f3443; }
.method-explanation p { font-size: 15px; line-height: 1.8; margin: 12px 0 0; color: #536275; }
.method-explanation .therapy-question, .method-explanation .method-experience { font-size: 15px; padding: 12px 0 0; border-top: 1px solid var(--line); margin-top: 16px; }
.method-explanation .therapy-question > span { display: block; font-size: 13px; margin-top: 10px; }
.method-explanation .method-limit { font-size: 13px; }
#visit .method-art-note { margin-top: 18px; }
@media(max-width:760px) {
 #visit { padding-block: 40px; }
 #visit .treatment-heading { gap: 16px; margin-bottom: 20px; }
 #visit .treatment-heading > p { font-size: 15px; }
 #visit .method-contents { gap: 7px; padding-bottom: 18px; }
 .method-contents [role="tab"] { font-size: 14px; padding: 9px 12px; }
 .method-panel { grid-template-columns: 1fr; gap: 20px; padding-top: 20px; }
 .method-visual img { max-height: 230px; aspect-ratio: 4/3; }
 .method-copy h3 { font-size: 24px; margin-bottom: 8px; }
 .method-benefit { font-size: 16px; margin-bottom: 12px; }
 .method-explanation p { font-size: 14px; line-height: 1.8; }
}

/* Keep the process heading grouped by meaning, including narrow phone widths. */
.process-title > span { display: block; white-space: nowrap; }
@media(max-width:760px) {
 .process-section .section-heading h2.process-title { font-size: 28px; line-height: 1.45; letter-spacing: -.025em; }
 .process-section .section-heading { gap: 14px; }
}

/* Public contact entry; no preview toolbar or checkout. */
.site-header{top:0} .site-footer{gap:20px} #enquiry-dialog .text-button{display:block;margin-top:20px} #enquiry-dialog .contact-number{display:block;margin:16px 0} @media(max-width:600px){.mobile-booking .button{font-size:13px;padding:12px}.site-header .button.small{font-size:12px}}
#enquiry-dialog {height:fit-content;min-height:0;max-height:85dvh;margin:auto;overflow:auto;}
