/* BRB-WEB 릴흑색증 상세 — DETAIL_B (disease + treatment). Page-local only.
   Design authority: DETAIL-DESIGN-MASTER v1 (색소프로그램, claude/agent/brb-web-pigment-program-detail-20260922;
   CTA 3afe7f7, owner review d8ad089). Tokens, type scale, chapter rhythm, hero, contents, price, note,
   FAQ and closing/metadata rules are that master's, re-scoped to .brb-riehls. No body CTA buttons:
   conversion is the site-wide sticky CTA (owner 2026-09-23).
   Riehl-only additions: fact list, mechanism chain, concept figures, treatment steps, comparison table.
   Every selector is scoped to .brb-riehls. No global tokens are redefined. */

.brb-riehls{--rm-green:#0b3328;--rm-green-soft:#e6ece7;--rm-ink:#303432;--rm-muted:#5b6059;--rm-gold:#a88959;--rm-gold-text:#735e3d;--rm-line:#dcdad0;--rm-cream:#f5f1ea;--rm-cream-deep:#eee7db;--rm-paper:#fbf9f5;--rm-white:#fff;--rm-serif:"Noto Serif KR",var(--brb-font-display,serif);--rm-sans:var(--brb-font-body,"Pretendard Variable",Pretendard,sans-serif);display:block;color:var(--rm-ink);background:var(--rm-paper);font:400 16px/1.8 var(--rm-sans);word-break:keep-all;overflow-wrap:anywhere;-webkit-font-smoothing:antialiased;text-align:left}
.brb-riehls *,.brb-riehls *::before,.brb-riehls *::after{box-sizing:border-box}
.brb-riehls :where(h1,h2,h3,p,figure,blockquote,dl,dd,ol,ul){margin:0}
.brb-riehls :where(ol,ul){padding:0;list-style:none}
.brb-riehls img{display:block;max-width:100%;height:auto}
.brb-riehls a{color:inherit;text-decoration:none}
.brb-riehls a:focus-visible,.brb-riehls summary:focus-visible,.brb-riehls .rm-axis-scroll:focus-visible{outline:2px solid var(--rm-green);outline-offset:3px;border-radius:2px}
.brb-riehls :where(section,header,nav){scroll-margin-top:24px}
.brb-riehls .rm-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.brb-riehls .rm-wrap{width:min(1200px,calc(100% - 40px));margin-inline:auto}

/* Type */
.brb-riehls h1{font:500 32px/1.38 var(--rm-serif);letter-spacing:-.05em;color:var(--rm-green)}
.brb-riehls h2{font:500 27px/1.42 var(--rm-serif);letter-spacing:-.045em;color:var(--rm-green)}
.brb-riehls h3{font:600 19px/1.5 var(--rm-sans);letter-spacing:-.02em;color:var(--rm-green)}
.brb-riehls strong{font-weight:600;color:var(--rm-ink)}
.brb-riehls .rm-eyebrow{display:flex;align-items:baseline;gap:10px;margin-bottom:14px;color:var(--rm-gold-text);font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;line-height:1.4}
.brb-riehls .rm-no{font:500 15px/1 var(--rm-serif);letter-spacing:0;color:var(--rm-gold-text)}
.brb-riehls .rm-lead{font-size:17px;line-height:1.8;color:var(--rm-ink)}
.brb-riehls .rm-body > * + *{margin-top:20px}
.brb-riehls .rm-body p{color:var(--rm-ink)}
.brb-riehls .rm-sub{margin-top:36px;font-size:17px}
.brb-riehls .rm-inline-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:var(--rm-green);font-size:15px;font-weight:600;text-decoration:underline;text-decoration-color:var(--rm-gold);text-underline-offset:6px;text-decoration-thickness:1px}
.brb-riehls .rm-inline-link:hover{text-decoration-color:var(--rm-green)}
.brb-riehls .rm-links{display:flex;flex-wrap:wrap;column-gap:24px}

/* Medical concept figures (owner-approved GPT illustrations, no baked-in text). Full plate, no crop. */
.brb-riehls .rm-figure img{width:100%;height:auto;border:1px solid var(--rm-line);border-radius:2px;background:var(--rm-paper)}
.brb-riehls .rm-figure figcaption{margin-top:10px;color:var(--rm-muted);font-size:13px;line-height:1.65}
.brb-riehls .rm-turn{padding-top:20px;border-top:1px solid var(--rm-line);color:var(--rm-green)!important;font-size:15px;line-height:1.7}
.brb-riehls .rm-turn span{margin-right:8px;color:var(--rm-gold-text)}

/* Chapters */
.brb-riehls .rm-chapter{padding-block:56px}
.brb-riehls .rm-tone-cream{background:var(--rm-cream)}
.brb-riehls .rm-head{margin-bottom:24px}


/* Hero */
.brb-riehls .rm-hero{padding-block:44px 48px}
.brb-riehls .rm-hero-grid{display:grid;gap:28px}
.brb-riehls .rm-hero-lead{margin-top:20px;color:var(--rm-ink);font-size:16px;line-height:1.85}
.brb-riehls .rm-hero-lead strong{color:var(--rm-green)}
.brb-riehls .rm-hero-photo img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:32% 50%;border-radius:2px}
.brb-riehls .rm-gist-label{padding-bottom:12px;border-bottom:1px solid var(--rm-green);color:var(--rm-green);font-size:14px;font-weight:600}
.brb-riehls .rm-gist li{display:grid;grid-template-columns:28px 1fr;gap:8px;padding-block:14px;border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-gist-n{font:500 18px/1.6 var(--rm-serif);color:var(--rm-gold-text)}
.brb-riehls .rm-gist p{font-size:15px;line-height:1.75}
.brb-riehls .rm-gist strong{display:block;color:var(--rm-green);font-size:16px}
.brb-riehls .rm-hero-link{margin-top:10px}

/* Contents */
.brb-riehls .rm-contents{border-block:1px solid var(--rm-line);background:var(--rm-paper)}
.brb-riehls .rm-contents ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;padding-block:6px;counter-reset:rm-toc}
.brb-riehls .rm-contents li{counter-increment:rm-toc}
.brb-riehls .rm-contents a{display:flex;align-items:center;gap:8px;min-height:44px;color:var(--rm-ink);font-size:14px;line-height:1.35}
.brb-riehls .rm-contents a::before{content:counter(rm-toc,decimal-leading-zero);font:500 12px/1 var(--rm-serif);color:var(--rm-gold-text)}
.brb-riehls .rm-contents a:hover{color:var(--rm-green);text-decoration:underline;text-underline-offset:4px}

/* 01 Signs */
.brb-riehls .rm-voice-quote{font:500 20px/1.55 var(--rm-serif);letter-spacing:-.03em;color:var(--rm-green)!important}
.brb-riehls .rm-facts{border-top:1px solid var(--rm-green)}
.brb-riehls .rm-facts > div{display:grid;grid-template-columns:76px 1fr;gap:12px;padding-block:14px;border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-facts dt{color:var(--rm-gold-text);font-size:13px;font-weight:600;line-height:1.8}
.brb-riehls .rm-facts dd{font-size:15px;line-height:1.8}

/* 02 Why */
.brb-riehls .rm-chain{border-top:1px solid var(--rm-green)}
.brb-riehls .rm-chain li{display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start;padding-block:16px;border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-chain-n{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--rm-gold);border-radius:50%;font:500 14px/1 var(--rm-serif);color:var(--rm-gold-text)}
.brb-riehls .rm-chain p{font-size:15px;line-height:1.8}
.brb-riehls .rm-story{margin-top:44px;padding:36px 24px;background:var(--rm-green);color:var(--rm-cream);border-radius:2px}
.brb-riehls .rm-story-label{color:#cbb08a;font-size:13px;font-weight:600;letter-spacing:.04em}
.brb-riehls .rm-story-lead{margin-top:16px;font:500 24px/1.5 var(--rm-serif);letter-spacing:-.045em;color:#fbf9f5}
.brb-riehls .rm-story-body{margin-top:24px;padding-top:24px;border-top:1px solid rgba(203,176,138,.4)}
.brb-riehls .rm-story-body p{color:#e9e4da;font-size:15px;line-height:1.85}
.brb-riehls .rm-story-body p + p{margin-top:16px}
.brb-riehls .rm-story-body .rm-story-bridge{padding-left:14px;border-left:2px solid #cbb08a;color:#fbf9f5;font:500 17px/1.7 var(--rm-serif);letter-spacing:-.03em}

/* 03 Treatment */
.brb-riehls .rm-steps{border-top:1px solid var(--rm-green)}
.brb-riehls .rm-steps > li{padding-block:22px;border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-steps > li > * + *{margin-top:10px}
.brb-riehls .rm-step-n{color:var(--rm-green)!important;font:500 19px/1.5 var(--rm-serif);letter-spacing:-.03em}
.brb-riehls .rm-steps p:not(.rm-step-n){font-size:15px;line-height:1.8}
.brb-riehls .rm-interval{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px!important}
.brb-riehls .rm-interval > div{padding:12px 14px;background:var(--rm-green-soft);border-radius:2px}
.brb-riehls .rm-interval dt{color:var(--rm-muted);font-size:13px;line-height:1.5}
.brb-riehls .rm-interval dd{color:var(--rm-green);font-size:16px;font-weight:600;line-height:1.5}
.brb-riehls .rm-steps .rm-step-note{color:var(--rm-muted)!important;font-size:14px!important}

/* 04 Laser — difference-only comparison */
.brb-riehls .rm-kit{padding-top:18px;border-top:1px solid var(--rm-line)}
.brb-riehls .rm-kit-label{color:var(--rm-gold-text)!important;font-size:13px;font-weight:600;letter-spacing:.02em}
.brb-riehls .rm-kit-line{display:grid;gap:6px;margin-top:8px;font-size:15px;line-height:1.6}
.brb-riehls .rm-kit-line > span{display:grid;grid-template-columns:52px 1fr;gap:10px;align-items:baseline}
.brb-riehls .rm-kit-line small{color:var(--rm-gold-text);font-size:12px;font-weight:600;letter-spacing:.02em}
.brb-riehls .rm-kit-line em{font-style:normal;color:var(--rm-muted);font-size:13px;margin-left:6px;white-space:nowrap}
.brb-riehls .rm-kit-photo{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:end;margin-top:16px}
.brb-riehls .rm-kit-photo img{width:120px;height:120px;object-fit:cover;object-position:50% 58%;border-radius:2px;background:#e9e3da}
.brb-riehls .rm-kit-photo figcaption{color:var(--rm-muted);font-size:13px;line-height:1.6}
.brb-riehls .rm-axis-scroll{overflow-x:auto}
.brb-riehls .rm-axis{width:100%;border-collapse:collapse;border-top:1px solid var(--rm-green);font-size:14px;line-height:1.55}
.brb-riehls .rm-axis th,.brb-riehls .rm-axis td{padding:12px 8px;border-bottom:1px solid var(--rm-line);text-align:left;vertical-align:top}
.brb-riehls .rm-axis thead th{color:var(--rm-muted);font-size:13px;font-weight:600}
.brb-riehls .rm-axis thead th:last-child{color:var(--rm-green)}
.brb-riehls .rm-axis tbody th{width:30%;color:var(--rm-gold-text);font-size:13px;font-weight:600}
.brb-riehls .rm-axis td:last-child{color:var(--rm-green);font-weight:600;background:var(--rm-white)}

/* 05 Price */
.brb-riehls .rm-price-list{display:grid;border-top:1px solid var(--rm-green)}
.brb-riehls .rm-price-group{padding-block:24px;border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-price-group h3{font-size:18px}
.brb-riehls .rm-price-desc{margin-top:4px;color:var(--rm-muted)!important;font-size:14px;line-height:1.65}
.brb-riehls .rm-price-table{width:100%;margin-top:14px;border-collapse:collapse;font-variant-numeric:tabular-nums}
.brb-riehls .rm-price-table th,.brb-riehls .rm-price-table td{padding:10px 0;border-bottom:1px solid var(--rm-line);text-align:right;font-size:15px;line-height:1.4;white-space:nowrap}
.brb-riehls .rm-price-table thead th{padding-block:6px;color:var(--rm-muted);font-size:12px;font-weight:600}
.brb-riehls .rm-price-table th:first-child{text-align:left;padding-right:10px}
.brb-riehls .rm-price-table thead th:first-child{color:var(--rm-gold-text)}
.brb-riehls .rm-price-table tbody th{font-weight:600;color:var(--rm-ink)}
.brb-riehls .rm-price-table tbody tr:last-child > *{border-bottom:0}
.brb-riehls .rm-event{color:var(--rm-green);font-weight:700}
.brb-riehls .rm-list{padding-left:12px!important;color:var(--rm-muted)}
.brb-riehls .rm-price-notes p{color:var(--rm-muted)!important;font-size:13px;line-height:1.75}
.brb-riehls .rm-price-notes p + p{margin-top:6px}

/* 06 Care */
.brb-riehls .rm-habits{display:grid}
.brb-riehls .rm-habits li{padding-block:12px;border-top:1px solid var(--rm-line);font-size:15px;line-height:1.7}
.brb-riehls .rm-habits strong{display:block;color:var(--rm-green);font-size:15px}

/* Note */
.brb-riehls .rm-note-section{padding-block:56px;background:var(--rm-cream-deep)}
.brb-riehls .rm-note-block{max-width:820px}
.brb-riehls .rm-note-section .rm-note-label{display:flex;align-items:center;gap:12px;color:var(--rm-gold-text);font:600 13px/1.4 var(--rm-sans);letter-spacing:.06em}
.brb-riehls .rm-note-label::after{content:"";flex:0 0 40px;height:1px;background:var(--rm-gold)}
.brb-riehls .rm-note-quote{margin-top:20px}
.brb-riehls .rm-note-quote p{font:500 20px/1.7 var(--rm-serif);letter-spacing:-.04em;color:var(--rm-green)}
.brb-riehls .rm-note-quote p + p{margin-top:16px;font:400 16px/1.9 var(--rm-sans);letter-spacing:0;color:var(--rm-ink)}
.brb-riehls .rm-note-sign{margin-top:22px;color:var(--rm-muted);font-size:14px}

/* 07 FAQ */
.brb-riehls .rm-faq-list{border-top:1px solid var(--rm-green)}
.brb-riehls .rm-faq-list details{border-bottom:1px solid var(--rm-line)}
.brb-riehls .rm-faq-list summary{position:relative;display:flex;align-items:center;min-height:60px;padding:14px 40px 14px 0;cursor:pointer;list-style:none;color:var(--rm-ink);font-size:16px;font-weight:600;line-height:1.55}
.brb-riehls .rm-faq-list summary::-webkit-details-marker{display:none}
.brb-riehls .rm-faq-list summary::before,.brb-riehls .rm-faq-list summary::after{content:"";position:absolute;right:8px;top:50%;width:14px;height:1px;background:var(--rm-green)}
.brb-riehls .rm-faq-list summary::after{transform:rotate(90deg);transition:transform .2s}
.brb-riehls .rm-faq-list details[open] summary::after{transform:rotate(0)}
.brb-riehls .rm-faq-list details[open] summary{color:var(--rm-green)}
.brb-riehls .rm-faq-a{padding:0 8px 20px 0}
.brb-riehls .rm-faq-a p{font-size:15px;line-height:1.85}
.brb-riehls .rm-faq-a a{color:var(--rm-green);font-weight:600;text-decoration:underline;text-underline-offset:4px}

/* Closing + bottom metadata (the only author / date on the page) */
.brb-riehls .rm-closing{padding-block:64px 72px;background:var(--rm-cream-deep);border-top:1px solid var(--rm-line)}
.brb-riehls .rm-signature{margin-top:32px!important;padding-top:18px;border-top:1px solid var(--rm-line);color:var(--rm-ink)!important;font-size:14px;line-height:1.8}
.brb-riehls .rm-signature span{color:var(--rm-muted);font-size:13px}
.brb-riehls .rm-reading{margin-top:12px!important;border-top:1px solid var(--rm-line)}
.brb-riehls .rm-reading a{display:flex;flex-direction:column;justify-content:center;min-height:56px;padding-block:12px;border-bottom:1px solid var(--rm-line);font-size:15px;line-height:1.55;color:var(--rm-ink)}
.brb-riehls .rm-reading a:hover{color:var(--rm-green);text-decoration:underline;text-underline-offset:4px}
.brb-riehls .rm-reading span{color:var(--rm-gold-text);font-size:12px;font-weight:600;letter-spacing:.04em}

@media (min-width:640px){
  .brb-riehls .rm-wrap{width:min(1200px,calc(100% - 64px))}
  .brb-riehls h1{font-size:40px}
  .brb-riehls h2{font-size:32px}
  .brb-riehls .rm-chapter,.brb-riehls .rm-note-section{padding-block:88px}
  .brb-riehls .rm-contents ol{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brb-riehls .rm-story{padding:52px 48px}
  .brb-riehls .rm-story-lead{font-size:30px}
  .brb-riehls .rm-axis th,.brb-riehls .rm-axis td{padding-inline:14px}
  .brb-riehls .rm-price-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px}
  .brb-riehls .rm-habits{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
  .brb-riehls .rm-note-quote p{font-size:24px}
}

@media (min-width:1024px){
  .brb-riehls h1{font-size:46px}
  .brb-riehls h2{font-size:34px}
  .brb-riehls .rm-chapter,.brb-riehls .rm-note-section{padding-block:112px}
  .brb-riehls .rm-split{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px}
  .brb-riehls .rm-head{grid-column:1/6;margin-bottom:0}
  .brb-riehls .rm-body{grid-column:6/13}
  .brb-riehls .rm-lead{font-size:18px}
  .brb-riehls .rm-hero{padding-block:48px 88px}
  .brb-riehls .rm-hero-grid{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;row-gap:36px;grid-template-areas:"copy copy copy copy copy copy photo photo photo photo photo photo" "gist gist gist gist gist gist photo photo photo photo photo photo"}
  .brb-riehls .rm-hero-copy{grid-area:copy;align-self:end}
  .brb-riehls .rm-hero-photo{grid-area:photo;align-self:start}
  .brb-riehls .rm-hero-photo img{aspect-ratio:4/5;object-position:34% 50%}
  .brb-riehls .rm-hero-gist{grid-area:gist}
  .brb-riehls .rm-contents ol{grid-template-columns:repeat(6,auto);justify-content:space-between}
  .brb-riehls .rm-story{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;padding:72px 64px}
  .brb-riehls .rm-story-label{grid-column:1/6}
  .brb-riehls .rm-story-lead{grid-column:1/6;font-size:32px}
  .brb-riehls .rm-story-body{grid-column:7/13;grid-row:1/3;margin-top:0;padding-top:0;border-top:0;padding-left:32px;border-left:1px solid rgba(203,176,138,.4)}
  .brb-riehls .rm-note-quote p{font-size:28px}
  .brb-riehls .rm-note-quote p + p{font-size:17px}
}
.brb-ev-month{display:inline-block;margin-left:.45em;font-size:max(.8em,11px);font-weight:400;letter-spacing:0;line-height:1.3;color:#7a6a4d;white-space:nowrap;vertical-align:baseline}
