.hsd { color:var(--ark-color--text,inherit); line-height:1.8; max-width:100%; }
.hsd * { box-sizing:border-box; }
.hsd .hsd-note { background:#f3f6f8; padding:1rem; border-left:4px solid var(--ark-color--main,#24657b); }
.hsd .hsd-form { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:1rem; margin:1.5rem 0; align-items:end; }
.hsd .hsd-form label { display:flex; flex-direction:column; gap:.3rem; font-weight:600; }
.hsd .hsd-form input,.hsd .hsd-form select,.hsd .hsd-form button { font:inherit; min-height:48px; width:100%; padding:.6rem; border:1px solid #73828b; border-radius:4px; background:#fff; color:#172b36; }
.hsd .hsd-form button { background:var(--ark-color--main,#24657b); color:#fff; cursor:pointer; }
.hsd a { text-decoration:underline; overflow-wrap:anywhere; }
.hsd .hsd-pref-directory { margin:2rem 0; padding:1.25rem; border:1px solid #c8dce6; border-radius:8px; background:#f4f8fb; }
.hsd .hsd-pref-directory ul { display:grid; grid-template-columns:repeat(auto-fit,minmax(7em,1fr)); gap:.65rem; list-style:none; padding:0; }
.hsd .hsd-pref-directory li { margin:0; }
.hsd .hsd-pref-directory a { display:block; padding:.55rem .7rem; background:#fff; border:1px solid #d4e2eb; border-radius:5px; text-align:center; }
.hsd .hsd-pref-table-wrap { max-width:100%; overflow-x:auto; border:1px solid #ccdbe4; border-radius:6px; }
.hsd .hsd-pref-table { margin:0; width:100%; min-width:620px; }
.hsd .hsd-pref-table th,.hsd .hsd-pref-table td { width:auto; vertical-align:top; padding:.8rem; }
.hsd .hsd-pref-table thead th { background:#173f56; color:#fff; }
.hsd .hsd-pref-table tbody th { width:34%; }
.hsd .hsd-pref-table small { display:block; margin-top:.45rem; font-size:.82em; font-weight:400; }
.hsd .hsd-pref-amount { display:block; color:#0d5077; font-size:1.04em; }
.hsd .hsd-pref-hospital { margin:1.5rem 0; border-top:4px solid #24759b; padding:1.25rem; }
.hsd .hsd-pref-lead { font-size:1.08em; color:#173f56; }
.hsd .hsd-area-breadcrumb { font-size:.8em; line-height:1.9; color:#53646f; margin:1rem 0 1.5rem; }
.hsd :focus-visible { outline:3px solid #cc6600; outline-offset:3px; }
.hsd .hsd-card { border:1px solid #d5dee3; border-radius:8px; padding:1rem; margin:1rem 0; overflow-wrap:anywhere; background:var(--ark-color--bg,#fff); }
.hsd .hsd-card h4 { margin:0 0 .5rem; font-size:1.1rem; }
.hsd .hsd-salary { font-size:1.3rem; font-weight:700; margin:.5rem 0; }
@media(max-width:600px) { .hsd .hsd-form { grid-template-columns:1fr; } .hsd .hsd-card { padding:.9rem; } }
 .hsd-conditions{display:grid;grid-template-columns:minmax(6em,1fr) 3fr;gap:.5em 1em;margin:1em 0}.hsd-conditions dt{font-weight:700}.hsd-conditions dd{margin:0;overflow-wrap:anywhere}.hsd-cta{padding:1.5em;margin:2em 0;background:#f1f6fa;border:1px solid #d3e0ea;border-radius:8px}.hsd .hsd-button{display:inline-block;padding:1em;background:#123b58;color:#fff;text-decoration:none;border-radius:5px;overflow-wrap:anywhere}

.hsd .hsd-summary { background:#eef6fa; border-top:4px solid #1a6078; border-radius:8px; padding:1.25rem; margin:1.5rem 0; }
.hsd .hsd-summary h3 { margin-top:0; }
.hsd .hsd-summary ul { list-style:none; padding:0; }
.hsd .hsd-summary li { padding:.75rem 0; border-bottom:1px solid #cadde6; }
.hsd .hsd-summary strong,.hsd .hsd-summary span { display:block; }
.hsd .hsd-summary li strong { font-size:1.2rem; color:#154b60; }
.hsd .hsd-toc { padding:1rem 1.25rem; border:1px solid #d5dee3; border-radius:8px; margin:1.5rem 0; }
.hsd .hsd-toc ul { margin:.5rem 0 0; }
.hsd .hsd-profile-section { margin:2rem 0; scroll-margin-top:3rem; }
.hsd .hsd-facts { margin:0; border:1px solid #d5dee3; border-radius:8px; overflow:hidden; }
.hsd .hsd-fact-row { display:grid; grid-template-columns:minmax(8rem,1fr) 2.4fr; border-bottom:1px solid #d5dee3; }
.hsd .hsd-fact-row:last-child { border-bottom:0; }
.hsd .hsd-fact-row dt { background:#f3f6f8; font-weight:700; padding:.85rem; }
.hsd .hsd-fact-row dd { margin:0; padding:.85rem; overflow-wrap:anywhere; }
.hsd .hsd-source { display:block; color:#52616c; font-size:.8rem; margin-top:.4rem; }
@media(max-width:600px) { .hsd .hsd-fact-row { grid-template-columns:1fr; } .hsd .hsd-fact-row dt { padding:.6rem .85rem; } .hsd .hsd-summary { padding:1rem; } }

/* Reading layout: apply to database article contents, preserving the host theme. */
.hsd { font-size:17px; line-height:2; letter-spacing:.025em; max-width:760px; }
.hsd p { margin:1.3em 0; }
.hsd h3 { font-size:1.35em; line-height:1.55; margin:2.8em 0 1.15em; letter-spacing:.015em; }
.hsd h4 { line-height:1.6; }
.hsd .hsd-lead { color:#4c5e68; margin:1.5em 0; }
.hsd .hsd-profile-section { margin:3.5rem 0; }
.hsd .hsd-profile-section > h3 { border-bottom:2px solid #dce8ed; padding-bottom:.7em; }
.hsd .hsd-summary { padding:1.5rem 1.75rem; margin:2rem 0; background:#f0f7fa; }
.hsd .hsd-summary h3 { margin:0 0 .8em; }
.hsd .hsd-summary li { padding:1rem 0; }
.hsd .hsd-summary span { margin-top:.45rem; color:#4b5f6c; font-size:.9em; }
.hsd .hsd-toc { background:#fafcfd; border:0; border-left:3px solid #cadde6; border-radius:0; padding:1.25rem 1.5rem; margin:2.5rem 0; }
.hsd .hsd-toc li { margin:.55em 0; }
.hsd .hsd-table-wrap { margin:1.8rem 0; }
.hsd .hsd-article-table { border-collapse:collapse; width:100%; font-size:.94em; table-layout:fixed; }
.hsd .hsd-article-table caption { text-align:left; font-size:.85em; color:#5c6d76; padding:0 0 .8em; }
.hsd .hsd-article-table th,.hsd .hsd-article-table td { border:1px solid #dce4e9; padding:1rem 1.1rem; vertical-align:top; overflow-wrap:anywhere; }
.hsd .hsd-article-table th { width:32%; background:#f4f7f8; font-weight:600; text-align:left; }
.hsd .hsd-ref { font-size:.72em; margin-left:.3em; white-space:nowrap; }
.hsd .hsd-section-sources { margin-top:1.5rem; color:#63737c; font-size:.8em; line-height:1.8; padding-top:.75rem; border-top:1px solid #e4ebee; }
.hsd .hsd-section-sources ul { list-style:none; padding:0; margin:.4em 0 0; }
.hsd .hsd-section-sources li { margin:.3em 0; }
.hsd .hsd-card { padding:1.5rem; margin:1.8rem 0; }
.hsd .hsd-conditions { gap:.9em 1.25em; }
.hsd .hsd-cta { padding:1.75rem; margin-top:3rem; }
.hsd .hsd-cta h3 { margin:0 0 1em; }
@media(max-width:600px) {
 .hsd { font-size:16px; line-height:2.05; letter-spacing:.025em; }
 .hsd h3 { font-size:1.25em; margin-top:2.5em; }
 .hsd .hsd-profile-section { margin:2.8rem 0; }
 .hsd .hsd-summary,.hsd .hsd-card,.hsd .hsd-cta { padding:1.2rem; }
 .hsd .hsd-article-table th { width:35%; }
 .hsd .hsd-article-table th,.hsd .hsd-article-table td { padding:.85rem .7rem; }
 .hsd .hsd-summary li strong { font-size:1.08rem; }
 .hsd .hsd-toc { padding:1rem 1.1rem; }
}

/* Visual hierarchy for hospital articles. */
.hsd .hsd-hospital-heading { color:#123b58; font-size:1.35em; margin:0 0 1rem; }
.hsd .hsd-introduction { margin:0 0 2rem; color:#293e4b; }
.hsd .hsd-summary { background:#eaf5fc; border:1px solid #b8d5e7; border-top:5px solid #17648b; box-shadow:0 5px 18px #173b5810; }
.hsd .hsd-summary h3 { color:#123b58; font-size:1.2em; }
.hsd .hsd-summary li strong { color:#0d5077; font-size:clamp(1.35rem,2.3vw,1.85rem); line-height:1.5; overflow-wrap:anywhere; }
.hsd .hsd-summary .hsd-summary-facts { display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.8rem; }
.hsd .hsd-summary-facts span { display:inline-block; margin:0; padding:.25rem .65rem; background:#fff; border:1px solid #b9d3e3; border-radius:4px; color:#23495f; font-size:.88em; font-weight:600; }
.hsd .hsd-profile-section > h3 { color:#123b58; background:#f0f5f8; border-bottom:0; border-left:5px solid #24759b; padding:.7em .9em; }
.hsd .hsd-article-table th { background:#eaf1f6; color:#173d56; }
.hsd .hsd-note { background:#f5f6f7; color:#4b555d; border-left:3px solid #8997a1; font-size:.88em; line-height:1.9; }
.hsd .hsd-salary-card { border-color:#b7cfdd; border-top:4px solid #24759b; }
.hsd .hsd-salary-card .hsd-salary { color:#0d5077; font-size:clamp(1.3rem,2.1vw,1.65rem); line-height:1.5; }
.hsd .hsd-section-sources { color:#53646f; background:#fafbfc; padding:.8rem 1rem; border:1px solid #e3e9ed; border-radius:4px; }
.hsd .hsd-section-sources > span { font-weight:600; }
@media(max-width:600px) {
 .hsd .hsd-hospital-heading { font-size:1.2em; }
 .hsd .hsd-summary li strong { font-size:1.35rem; }
 .hsd .hsd-summary,.hsd .hsd-salary-card { padding:1rem; }
}
/* Salary history pages use their own physician CTA. */
body.hsd-page #ph-nurse-sticky-cta,
body.hsd-page #ph-care-sticky-cta { display:none !important; }

/* Physician career comparison: a distinct editorial banner. */
.hsd .hsd-career-cta { display:grid; grid-template-columns:1.15fr 1fr; padding:0; overflow:hidden; border:1px solid #c8dce6; border-top:5px solid #173f56; border-radius:12px; background:#eef6fa; box-shadow:0 8px 24px #123b5814; }
.hsd .hsd-career-cta-copy { padding:1.8rem 1.5rem; align-self:center; }
.hsd .hsd-career-cta-eyebrow { display:block; color:#28617d; font-size:.82em; font-weight:700; letter-spacing:.04em; margin-bottom:.8rem; }
.hsd .hsd-career-cta h3 { margin:0 0 1rem; padding:0; border:0; background:none; color:#123b58; font-size:clamp(1.25rem,2vw,1.65rem); line-height:1.65; }
.hsd .hsd-career-cta p { margin:0 0 1.2rem; color:#344e5e; font-size:.9em; line-height:1.9; }
.hsd .hsd-career-cta .hsd-career-cta-button { display:block; background:#f2c65c; border:1px solid #dcae42; border-bottom:4px solid #bb8826; color:#18394e; padding:1rem .7rem; text-align:center; font-size:.9em; font-weight:700; line-height:1.7; border-radius:7px; text-decoration:none; box-shadow:0 3px 8px #123b5812; transition:background .15s,transform .15s; }
.hsd .hsd-career-cta-button:hover { background:#ffda78; transform:translateY(-2px); }
.hsd .hsd-career-cta-button:focus-visible { outline:3px solid #17648b; outline-offset:4px; }
.hsd .hsd-career-cta small { display:block; margin-top:.9rem; color:#637786; font-size:.7em; line-height:1.7; }
.hsd .hsd-career-cta-photo { margin:0; position:relative; min-height:100%; }
.hsd .hsd-career-cta-photo img { display:block; width:100%; height:100%; object-fit:cover; object-position:center; margin:0; }
.hsd .hsd-career-cta-photo figcaption { position:absolute; bottom:.5rem; right:.5rem; margin:0; padding:.2rem .4rem; border-radius:3px; background:#ffffffdf; color:#526575; font-size:.6em; line-height:1.5; }
.hsd .hsd-cta-mobile-break { display:initial; }
@media(max-width:600px) {
 .hsd .hsd-career-cta { display:flex; flex-direction:column; padding:0; }
 .hsd .hsd-career-cta-photo { order:-1; min-height:0; }
 .hsd .hsd-career-cta-photo img { width:100%; height:190px; object-position:center 32%; }
 .hsd .hsd-career-cta-copy { width:100%; box-sizing:border-box; padding:1.4rem 1.2rem; }
 .hsd .hsd-career-cta h3 { font-size:1.3rem; }
 .hsd .hsd-cta-mobile-break { display:initial; }
}

/* Compact physician comparison banner; hidden until both reading conditions pass. */
.hsd-physician-sticky[hidden] { display:none !important; }
.hsd-physician-sticky { position:fixed; right:24px; bottom:24px; z-index:9900; width:500px; max-width:calc(100vw - 48px); border:2px solid #e7c45f; border-radius:18px; background:linear-gradient(110deg,#101f42,#153e62); color:#fff; box-shadow:0 8px 28px #10243e45; font-family:inherit; }
.hsd-physician-sticky-link { display:flex; align-items:center; gap:13px; padding:16px 18px; color:#fff !important; text-decoration:none !important; border-radius:16px; }
.hsd-physician-sticky-icon { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; border:2px solid #fff5c7; border-radius:50%; background:linear-gradient(135deg,#fff4ac,#edc44f); color:#153a60; font-size:38px; font-weight:700; line-height:1; }
.hsd-physician-sticky-copy { flex:1; min-width:0; }
.hsd-physician-sticky-caption { display:block; margin-bottom:5px; font-size:11px; font-weight:700; line-height:1.6; color:#ffe28d; }
.hsd-physician-sticky-caption b { display:inline-block; padding:0 4px; margin-right:3px; border-radius:3px; background:#f4cd65; color:#152d4a; font-size:11px; }
.hsd-physician-sticky-copy strong { display:block; color:#fff; font-size:18px; font-weight:700; line-height:1.5; }
.hsd-physician-sticky-arrow { position:relative; display:block; flex:0 0 34px; height:34px; border-radius:50%; background:#f3cb61; color:#123b58; font-size:0; line-height:0; }
.hsd-physician-sticky-arrow::after { content:""; position:absolute; left:50%; top:50%; width:8px; height:8px; border-top:2px solid #123b58; border-right:2px solid #123b58; transform:translate(calc(-50% - 2px),-50%) rotate(45deg); }
.hsd-physician-sticky-close { position:absolute; top:-18px; right:-12px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:2px solid #fff; border-radius:50%; background:#33465b; color:#fff; font-size:28px; line-height:1; cursor:pointer; box-shadow:0 2px 7px #0003; }
.hsd-physician-sticky-link:hover { background:#ffffff0d; }
.hsd-physician-sticky a:focus-visible,.hsd-physician-sticky button:focus-visible { outline:3px solid #1aa8e4; outline-offset:4px; }
.hsd-sticky-break { display:initial; }
body:has(#hsd-physician-sticky:not([hidden])) .p-fixBtnWrap { bottom:160px !important; }
@media(max-width:600px) {
 .hsd-physician-sticky { right:12px; bottom:calc(12px + env(safe-area-inset-bottom,0px)); width:calc(100% - 24px); max-width:none; border-radius:14px; }
 .hsd-physician-sticky-link { gap:10px; padding:13px 12px; border-radius:12px; }
 .hsd-physician-sticky-icon { flex-basis:40px; width:40px; height:40px; font-size:31px; }
 .hsd-physician-sticky-caption { font-size:10px; margin-bottom:3px; }
 .hsd-physician-sticky-copy strong { font-size:15px; line-height:1.5; }
 .hsd-physician-sticky-arrow { flex-basis:29px; height:29px; }
 .hsd-physician-sticky-close { right:-3px; top:-22px; }
 .hsd-sticky-break { display:initial; }
 body:has(#hsd-physician-sticky:not([hidden])) .p-fixBtnWrap { bottom:calc(170px + env(safe-area-inset-bottom,0px)) !important; }
}
@media print { .hsd-physician-sticky { display:none !important; } }
