/* Scannable, accessible long-form patient guidance in clinic-owned stories.
   All headings and paragraphs are emitted server-side; no JavaScript required. */
.story-prose{max-width:830px;margin:26px auto 32px;line-height:1.94;font-size:16px;color:#30483c;overflow-wrap:anywhere;word-break:keep-all}
.story-prose p{margin:0 0 20px;line-height:1.95;white-space:pre-line}
.story-prose h2{
  font-family:'Noto Serif KR','Apple SD Gothic Neo',serif;
  font-size:clamp(19px,2.5vw,23px);line-height:1.56;
  font-weight:750;color:#1e4838;letter-spacing:-.035em;
  margin:35px 0 15px;padding:0 0 9px;
  border-bottom:1px solid #dae5d9;scroll-margin-top:100px;
}
.story-prose h2:first-child{margin-top:10px}
.story-prose p:last-child{margin-bottom:0}
.story-prose ul{padding-left:1.4em;margin:4px 0 23px}
.story-prose li{margin:4px 0 7px;line-height:1.8}
@media(max-width:600px){
  .story-prose{font-size:16px;line-height:1.88;margin:20px 0 25px}
  .story-prose h2{font-size:20px;line-height:1.52;margin:30px 0 12px;scroll-margin-top:80px}
  .story-prose p{margin-bottom:17px;line-height:1.87}
}
@media print{.story-prose{color:#111}.story-prose h2{break-after:avoid}}

/* Patient-controlled outline: compact until opened, usable without scripts. */
.story-toc{max-width:830px;margin:24px auto 18px;padding:0;border:1px solid #c9dbcb;border-radius:11px;background:#f0f5ee}
.story-toc summary{cursor:pointer;min-height:50px;padding:12px 16px;font-weight:800;font-size:15px;color:#204b39;line-height:1.6}
.story-toc summary:focus-visible{outline:3px solid #a0793a;outline-offset:3px}
.story-toc[open] summary{border-bottom:1px solid #d5e2d3}
.story-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:10px 13px 13px}
.story-toc a{display:flex;align-items:center;box-sizing:border-box;min-height:44px;padding:8px 10px;border-radius:7px;
 background:#fff;border:1px solid #d8e3d7;text-decoration:none;color:#265b45;font-size:14px;line-height:1.5;word-break:keep-all}
.story-toc a:hover{background:#e2efe2}
.story-toc a:focus-visible{outline:3px solid #a0793a;outline-offset:2px}
@media(max-width:600px){.story-toc nav{grid-template-columns:1fr;gap:5px;padding:8px 10px 11px}.story-toc{margin:18px 0 15px}}
@media print{.story-toc{display:none}}

/* Mobile patient action strip: verified telephone, official Naver booking,
   and clinic directions. All actions are ordinary links without JavaScript. */
.story-mobile-actions{display:none}
@media(max-width:600px){
 body.owner-story-page{
  padding-bottom:calc(80px + env(safe-area-inset-bottom,0px));
 }
 .story-mobile-actions{
  position:fixed;
  z-index:40;
  inset-inline:0;
  bottom:0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(0,1fr);
  gap:6px;
  box-sizing:border-box;
  padding:9px max(12px,env(safe-area-inset-right,0px))
          calc(9px + env(safe-area-inset-bottom,0px))
          max(12px,env(safe-area-inset-left,0px));
  border-top:1px solid #c5d9cb;
  background:#f7faf6;
  box-shadow:0 -4px 20px rgba(14,51,39,.12);
 }
 .story-mobile-actions a{
  box-sizing:border-box;
  min-width:0;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  border-radius:9px;
  padding:8px 5px;
  font:750 13px/1.4 system-ui,"Apple SD Gothic Neo",sans-serif;
  text-decoration:none;
  word-break:keep-all;
 }
 .story-mobile-actions .story-mobile-call{
  background:#173e35;
  border:1px solid #173e35;
  color:white;
 }
 .story-mobile-actions .story-mobile-booking{
  background:#e0efe5;
  border:1px solid #80aa8c;
  color:#174937;
 }
 .story-mobile-actions .story-mobile-location{
  background:white;
  border:1px solid #b4cdbc;
  color:#174937;
 }
 .story-mobile-actions a:focus-visible{
  outline:3px solid #a87931;
  outline-offset:2px;
 }
}
@media print{
 .story-mobile-actions{display:none!important}
 body.owner-story-page{padding-bottom:0!important}
}


/* Clinical journal reading finish | 2026-11-04
   A restrained editorial hierarchy for original long-form patient writing.
   All text, article structure, published dates and links stay untouched. */
body.owner-story-page #main-content > article.article {
  max-width: 940px;
}
body.owner-story-page #main-content > article.article > .eyebrow {
  display: inline-block;
  margin-block: 18px 9px;
  padding: 6px 0;
  border-bottom: 1px solid #b6a07c;
  color: #80663f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
body.owner-story-page #main-content > article.article > h1 {
  max-width: 24ch;
  margin-block: 10px 19px;
  color: #203f32;
  font-size: clamp(30px, 4.1vw, 46px);
  line-height: 1.38;
  letter-spacing: -.048em;
  word-break: keep-all;
  text-wrap: balance;
}
body.owner-story-page #main-content > article.article > .story-category {
  margin: 0 0 18px;
  color: #42634f;
  font-size: 13px;
}
body.owner-story-page #main-content > article.article > .story-category a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 12px;
  border: 1px solid #d6dfd1;
  border-radius: 6px;
  background: #f4f7f0;
  text-decoration: none;
}
body.owner-story-page #main-content .story-prose {
  max-width: 75ch;
  margin-block: 31px 34px;
  color: #2b4839;
  font-size: clamp(16px, 1.24vw, 17px);
  line-height: 1.96;
  overflow-wrap: anywhere;
  word-break: keep-all;
}
body.owner-story-page #main-content .story-prose > p {
  margin-bottom: 1.4em;
  line-height: 1.96;
}
body.owner-story-page #main-content .story-prose > h2 {
  margin: clamp(36px, 4.5vw, 54px) 0 18px;
  padding: 12px 15px 13px;
  border: 0;
  border-left: 3px solid #9caa8d;
  border-bottom: 1px solid #e2e4d8;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, #f2f5ee, #fffefa);
  color: #1e4634;
  font-size: clamp(20px, 2.12vw, 25px);
  line-height: 1.5;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
body.owner-story-page #main-content .story-prose > h2:first-child {
  margin-top: 18px;
}
body.owner-story-page #main-content .story-toc {
  max-width: 75ch;
  border-color: #d6dccd;
  background: #fafbf6;
}
body.owner-story-page #main-content .story-toc summary {
  color: #28503d;
}
body.owner-story-page #main-content .story-toc[open] nav {
  gap: 9px;
}
body.owner-story-page #main-content .story-library-path {
  max-width: 75ch;
}
@media (max-width: 600px) {
  body.owner-story-page #main-content > article.article > h1 {
    max-width: 100%;
    font-size: clamp(28px, 7.3vw, 36px);
    line-height: 1.43;
  }
  body.owner-story-page #main-content .story-prose {
    max-width: 100%;
    margin-block: 23px 26px;
    font-size: 16px;
    line-height: 1.89;
  }
  body.owner-story-page #main-content .story-prose > p {
    margin-bottom: 1.25em;
    line-height: 1.89;
  }
  body.owner-story-page #main-content .story-prose > h2 {
    margin-top: 34px;
    padding: 12px 11px;
    font-size: 20px;
    line-height: 1.52;
  }
}
@media (forced-colors: active) {
  body.owner-story-page #main-content .story-prose > h2,
  body.owner-story-page #main-content > article.article > .story-category a {
    border-color: CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
@media print {
  body.owner-story-page #main-content .story-prose > h2 {
    background: none;
    border-color: #444;
    break-after: avoid;
  }
}
