/* DermanAI editorial system — built on top of original Experience 2.1 */
:root{--ed-line:#dce8ef;--ed-card:#ffffff;--ed-text:#102b40;--ed-soft:#5d7484;--ed-paper:#f4f9fc}
html[data-theme=dark]{--ed-line:#30475b;--ed-card:#152a3d;--ed-text:#f1f8ff;--ed-soft:#b0c2d4;--ed-paper:#091a2a}
body[data-page=editorial]{background:var(--ed-paper)}
body[data-page=editorial] main{position:relative;overflow:clip;min-height:60vh}
body[data-page=editorial] p{color:var(--ed-soft)}
body[data-page=editorial] h1,body[data-page=editorial] h2,body[data-page=editorial] h3{color:var(--ed-text)}
.editorial-hero,.article-lead,.legal-hero{position:relative;isolation:isolate}
.editorial-hero{min-height:550px;padding-top:112px;padding-bottom:100px;display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.86fr);align-items:center;gap:48px}
.editorial-hero-copy{position:relative;z-index:2}
.editorial-hero h1{font-size:clamp(43px,5vw,75px);line-height:1.1;max-width:810px;margin:22px 0 26px}
.editorial-hero-copy>p{font-size:clamp(16px,1.35vw,19px);line-height:1.8;max-width:690px}
.pill-label{display:inline-flex;align-items:center;gap:9px;font:800 11px/1.4 Manrope,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#088fa9;background:#dff8fb;border:1px solid #b9edf4;border-radius:99px;padding:9px 13px}
html[data-theme=dark] .pill-label{background:#123b51;border-color:#286078;color:#86e2f1}
.tiny-beacon{width:6px;height:6px;border-radius:50%;background:#0ebed0;box-shadow:0 0 0 4px #0ebed022;display:inline-block}
.hero-stat-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:35px}
.hero-stat-row span{border-radius:18px;border:1px solid var(--ed-line);background:var(--ed-card);padding:12px 16px;font-size:12px;color:var(--ed-soft)}
.hero-stat-row b{color:var(--ed-text);font-size:19px;display:inline-block;margin-right:4px}
.editorial-hero-visual{height:430px;position:relative;display:grid;place-items:center;isolation:isolate;perspective:750px}
.editorial-hero-visual:before{content:'';position:absolute;width:95%;height:92%;border-radius:45%;background:radial-gradient(circle,#2e8ee62a 3%,#20b9d813 47%,transparent 73%);filter:blur(12px)}
.hero-sphere{height:280px;width:280px;border-radius:50%;display:grid;place-items:center;font:800 175px/.8 Manrope,sans-serif;color:white;text-shadow:0 16px 24px #0b53953b;background:radial-gradient(circle at 30% 20%,#b5fff5 0,#0ed8da 19%,#377be2 57%,#24185d 100%);box-shadow:inset -23px -27px 47px #041c4d7a,inset 12px 15px 27px #ffffff85,0 45px 85px #154b8b30;transform:rotateX(14deg) rotateY(-16deg);animation:sphereLevitate 7s ease-in-out infinite}
.hero-sphere span{color:#cbff74;font-size:80px;align-self:center;margin-top:-75px;margin-left:140px;text-shadow:0 7px 14px #0a376d70}
.sphere-circles{position:absolute;inset:65px 30px;border:1px dashed #37b5e15e;border-radius:50%;transform:rotate(-22deg) rotateX(65deg);animation:orbitSpin 18s linear infinite}
.sphere-two{inset:35px 55px;transform:rotate(32deg) rotateX(65deg);animation-direction:reverse;animation-duration:21s;border-color:#977fee85}
.float-note{position:absolute;display:flex;gap:15px;align-items:center;padding:15px 19px;border-radius:19px;background:var(--ed-card);box-shadow:0 20px 50px #00325116;border:1px solid var(--ed-line);color:var(--ed-text);font:800 13px Manrope;z-index:2;max-width:170px}
.float-note i{color:#14bdd0;font-style:normal}
.note-one{top:50px;left:0;transform:rotate(-6deg)}.note-two{bottom:65px;right:0;transform:rotate(4deg)}
@keyframes sphereLevitate{0%,100%{transform:rotateX(14deg) rotateY(-16deg) translateY(0)}50%{transform:rotateX(10deg) rotateY(18deg) translateY(-17px)}}
@keyframes orbitSpin{from{rotate:0deg}to{rotate:360deg}}
.section-headline{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:30px}
.section-headline h2{font-size:clamp(32px,3.2vw,48px);margin:11px 0 0}
.section-headline>p{max-width:360px;line-height:1.7}
.eyebrow-label{display:inline-block;letter-spacing:.16em;font:800 11px Manrope,sans-serif;color:#1093b7}
.guide-section{padding-top:60px;padding-bottom:120px}
.guide-search{background:var(--ed-card);border:1px solid var(--ed-line);box-shadow:0 12px 35px #163e6410;display:flex;align-items:center;gap:12px;padding:13px 20px;border-radius:19px;margin-bottom:29px}
.guide-search svg{width:22px;height:22px;color:#40a5c3}
.guide-search input{flex:1;background:transparent;border:0;outline:0;min-width:0;color:var(--ed-text);font-size:16px}
.guide-search:focus-within{outline:2px solid #11c3dc;outline-offset:3px}
.guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.guide-card{display:flex;flex-direction:column;min-width:0;border-radius:27px;border:1px solid var(--ed-line);background:var(--ed-card);overflow:hidden;transition:transform .25s,box-shadow .25s;box-shadow:0 13px 35px #0b40610d}
.guide-card:hover{transform:translateY(-7px);box-shadow:0 24px 55px #0b40611f}
.guide-card[hidden]{display:none}
.guide-card-art{height:160px;position:relative;display:grid;place-items:center;isolation:isolate;overflow:hidden;background:linear-gradient(145deg,#dbfaff,#78cfe0)}
.accent-violet .guide-card-art{background:linear-gradient(135deg,#eee9ff,#9eb1f8)}
.accent-lime .guide-card-art{background:linear-gradient(135deg,#efffd3,#a7dd9b)}
.accent-blue .guide-card-art{background:linear-gradient(135deg,#d9eafa,#6fa2e8)}
.accent-orange .guide-card-art{background:linear-gradient(135deg,#fff0d8,#ffc29c)}
.guide-card-art:before,.guide-card-art:after{content:'';position:absolute;width:155px;height:155px;border-radius:50%;border:1px solid #ffffffa8;transform:rotateX(64deg) rotate(-22deg)}
.guide-card-art:after{width:205px;height:205px;transform:rotateY(60deg) rotate(30deg)}
.art-halo{position:absolute;width:240px;height:240px;transform:translate(45px,-65px);background:#fff8;filter:blur(50px);border-radius:50%;z-index:-1}
.art-atom{font:800 82px/1 Manrope;color:#154361;letter-spacing:-.08em;transform:rotate(-8deg);text-shadow:0 7px 0 #ffffff6f,0 19px 26px #1c4b6938}
.guide-card-copy{padding:25px 26px 27px;display:flex;flex:1;flex-direction:column;align-items:start}
.guide-card .pill-label{font-size:10px;padding:7px 10px;letter-spacing:.02em}
.guide-card h3{font-size:clamp(20px,1.9vw,25px);margin:15px 0 12px;letter-spacing:-.04em;line-height:1.25}
.guide-card p{line-height:1.7;font-size:14px;flex:1}
.guide-link{display:flex;justify-content:space-between;align-items:center;width:100%;font-weight:800;color:#128ca7;margin-top:10px}
.guide-link b{font-size:19px}
.empty-state{text-align:center;padding:40px 20px}
.source-footer-blurb{margin-bottom:100px;border-radius:28px;background:#0c2537;color:white;padding:38px 44px;display:flex;align-items:center;justify-content:space-between;gap:35px}
.source-footer-blurb h2{color:#fff!important;font-size:30px;margin:0 0 12px}
.source-footer-blurb p{color:#bbd0db!important;max-width:720px;margin:0}
.source-footer-blurb .btn{flex-shrink:0;background:#d9ff70;color:#092a3d}
.breadcrumb{display:flex;gap:12px;flex-wrap:wrap;color:var(--ed-soft);font-size:12px;font-weight:700;margin-bottom:35px}
.breadcrumb a:hover{text-decoration:underline;color:#0cb4ce}
.article-lead{padding-top:80px;padding-bottom:52px;max-width:1120px}
.article-lead h1{font-size:clamp(40px,5vw,69px);max-width:950px;margin:18px 0 20px}
.article-deck{font-size:clamp(17px,1.7vw,21px);line-height:1.7;max-width:890px}
.byline{display:flex;gap:14px;align-items:center;margin-top:32px}
.byline-monogram{width:53px;height:53px;flex-shrink:0;border-radius:17px;display:grid;place-items:center;background:#0c9cca;color:#fff;font-size:25px;font-weight:800}
.byline-monogram span{color:#d5ff7f}
.byline strong,.byline small{display:block}.byline small{color:var(--ed-soft);font-size:12px;margin-top:3px}
.article-body-layout{display:grid;grid-template-columns:260px minmax(0,800px);gap:62px;align-items:start;justify-content:center;padding-bottom:70px}
.article-aside{position:sticky;top:120px}
.toc-card{border:1px solid var(--ed-line);border-radius:21px;padding:24px;background:var(--ed-card)}
.toc-card h2{font-size:16px;letter-spacing:0;margin:0 0 18px}
.toc-card ol{margin:0 0 24px;padding-left:20px;color:var(--ed-soft)}
.toc-card li{padding:0 0 14px;font-size:13px;line-height:1.5}.toc-card li a:hover{color:#0aa5c1}
.toc-card>a{color:#0a9db6;font-weight:800;font-size:12px}
.prose-article{min-width:0}
.health-notice{border-radius:17px;padding:22px 24px;border:1px solid #9bdae7;background:#e6f9fd;margin-bottom:40px}
.health-notice strong{color:#0a6989}.health-notice p{margin:7px 0 0;color:#244e5c!important;line-height:1.7}
html[data-theme=dark] .health-notice{background:#173a49;border-color:#2a7081}html[data-theme=dark] .health-notice strong{color:#7be7f5}html[data-theme=dark] .health-notice p{color:#d4eff4!important}
.article-section{scroll-margin-top:120px;margin-bottom:38px}
.article-section h2{font-size:clamp(24px,2.2vw,31px);line-height:1.25;margin-bottom:17px}
.article-section p,.legal-paper p{font-size:16px;line-height:1.9;margin:0 0 17px}
.source-panel{padding:27px;border-radius:22px;border:1px solid var(--ed-line);background:var(--ed-card);margin:48px 0}
.source-panel h2{font-size:23px}.source-panel p{font-size:13px;line-height:1.7}
.source-panel ol{padding-left:21px}.source-panel li{margin:10px 0;line-height:1.65;color:#0e9bb7;font-weight:700}
.article-action{border-radius:22px;padding:28px;background:linear-gradient(130deg,#102e46,#163952);color:#fff}
.article-action strong{font-size:21px;display:block}.article-action p{color:#bad2dc!important;margin:9px 0 23px}
.related-guides{padding-bottom:100px}
.legal-hero{padding-top:78px;padding-bottom:40px;max-width:1120px}
.legal-hero h1{font-size:clamp(40px,5vw,68px);margin:22px 0 20px}
.legal-hero>p{font-size:19px;line-height:1.7;max-width:850px}
.policy-updated{font-size:12px;color:var(--ed-soft)}
.legal-paper{max-width:980px;padding:42px 51px 55px;background:var(--ed-card);border:1px solid var(--ed-line);border-radius:28px;margin-bottom:110px}
.legal-paper .article-section{margin-bottom:30px}.legal-paper .article-section h2{font-size:27px}
.inline-next{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding-top:22px;border-top:1px solid var(--ed-line)}.inline-next a{color:#0c97b5;font-weight:800}
.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:25px;align-items:start;padding-bottom:105px;max-width:1080px}
.contact-panel,.contact-info-card{background:var(--ed-card);border:1px solid var(--ed-line);border-radius:25px;padding:32px}
.contact-panel h2,.contact-info-card h2{font-size:27px;margin-bottom:12px}
.contact-panel>p{line-height:1.7}.contact-panel form{display:grid;gap:17px;margin-top:30px}
.contact-panel label{display:grid;gap:7px;font-size:13px;font-weight:700;color:var(--ed-text)}
.contact-panel input,.contact-panel select,.contact-panel textarea{border:1px solid var(--ed-line);border-radius:13px;background:var(--ed-paper);padding:14px 15px;color:var(--ed-text);width:100%;min-width:0;outline:none;resize:vertical}
.contact-panel input:focus,.contact-panel textarea:focus,.contact-panel select:focus{border-color:#0db4d5;box-shadow:0 0 0 3px #15b5d523}
.contact-panel .btn{justify-self:start;margin-top:8px}
.contact-aside{display:grid;gap:19px}.contact-info-card h3{font-size:20px}.contact-info-card p{line-height:1.75}.contact-info-card a{color:#1194ad;font-weight:700;overflow-wrap:anywhere}
.tiny-note{font-size:12px}
.form-status{font-size:12px;color:#0893b0!important}
.home-guides{padding-top:95px;padding-bottom:105px}.guides-more{margin-top:28px;display:flex;justify-content:center}
.footer{padding-bottom:35px!important}.footer-links{display:flex!important;gap:12px 23px!important;flex-wrap:wrap;max-width:100%;margin:24px 0}.footer-links a{font-size:12px!important;white-space:normal!important}
.footer-identity>p{max-width:680px;margin-top:14px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1200px){.nav-links{gap:13px}.nav-links>a{font-size:11px}.nav-inner{gap:14px}.nav-cta{display:none}}
@media(max-width:990px){.nav-links{gap:21px}.nav-links>a{font-size:14px}.editorial-hero{grid-template-columns:1fr;padding-top:75px;padding-bottom:45px;gap:0}.editorial-hero-visual{height:340px}.guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.article-body-layout{grid-template-columns:1fr;gap:14px}.article-aside{position:static}.toc-card ol{columns:2}.article-lead{padding-top:58px}.contact-layout{grid-template-columns:1fr}.source-footer-blurb{flex-direction:column;align-items:start}}
@media(max-width:650px){.container{width:min(100% - 34px,1280px)}.top-ribbon{padding:0 12px;font-size:10px}.top-ribbon a{display:none}.nav-inner{padding:0 16px}.editorial-hero{padding-top:60px}.editorial-hero h1{font-size:clamp(39px,11vw,55px)}.editorial-hero-visual{height:290px}.hero-sphere{height:190px;width:190px;font-size:118px}.hero-sphere span{font-size:54px;margin-top:-50px;margin-left:94px}.float-note{font-size:10px;padding:11px 13px}.note-one{left:0;top:15px}.note-two{right:0;bottom:12px}.guide-section{padding-top:30px;padding-bottom:75px}.guide-grid{grid-template-columns:1fr;gap:15px}.guide-card-art{height:130px}.guide-card-copy{padding:20px}.guide-card h3{font-size:22px}.section-headline{align-items:start;flex-direction:column;gap:6px}.section-headline h2{font-size:31px}.article-lead{padding-top:40px}.article-lead h1{font-size:38px}.article-deck{font-size:16px}.byline small{line-height:1.6}.toc-card ol{columns:1}.health-notice{padding:18px}.article-section p,.legal-paper p{font-size:15px}.article-body-layout{padding-bottom:45px}.legal-hero{padding-top:44px}.legal-hero h1{font-size:39px}.legal-hero>p{font-size:16px}.legal-paper{width:min(100% - 28px,980px);padding:24px 22px;border-radius:19px;margin-bottom:65px}.contact-panel,.contact-info-card{padding:23px}.contact-layout{gap:16px}.source-footer-blurb{margin-bottom:55px;padding:27px 23px}.source-footer-blurb .btn{white-space:normal}.home-guides{padding-top:65px;padding-bottom:70px}}
@media(prefers-reduced-motion:reduce){.hero-sphere,.sphere-circles{animation:none!important}.guide-card{transition:none!important}}
