/* Scoped additions to the current production article shell. */
body.page-cmo main { --article-ink:#142b43; }
.page-cmo .ar-head { max-width:1260px; margin:0 auto; padding:48px 30px 32px; }
.page-cmo .ar-opening-split { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:26px 42px; align-items:center; }
.page-cmo .ar-head-inner { min-width:0; }
.page-cmo h1 { font-size:48px!important; line-height:1.12!important; margin:0 0 22px!important; }
.page-cmo .ar-head .lead { font-size:18px!important; line-height:1.6!important; margin:0!important; }
.page-cmo .ar-author { grid-column:1/-1; margin:0!important; }
.page-cmo .opening-lenses { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:0; }
.page-cmo .lens-card { min-width:0; margin:0; }
.page-cmo .lens-card figcaption { padding:12px 3px 0; font-size:15px; line-height:1.5; color:#3c5063; }
.page-cmo .lens-card figcaption strong { display:block; font-size:17px; font-weight:600; color:#142b43; margin-bottom:3px; }
.page-cmo .media-open { display:block; position:relative; width:100%; padding:0; border:0; border-radius:18px; background:#f7f3eb; cursor:zoom-in; overflow:hidden; }
.page-cmo .media-open img { display:block; width:100%; height:auto; aspect-ratio:3/2; object-fit:contain; border-radius:18px; }
.page-cmo .media-plus { display:grid; place-items:center; width:30px; height:30px; border:1px solid #fff; border-radius:50%; background:#142b43; color:#fff; font:24px/1 Arial,sans-serif; box-shadow:0 2px 7px #0004; pointer-events:none; }
.page-cmo .media-open .media-plus { position:absolute; right:10px; bottom:10px; }
.page-cmo .ar-layout { max-width:1260px; margin:0 auto; padding:0 30px 48px; display:grid; grid-template-columns:245px minmax(0,1fr); gap:44px; align-items:start; }
.page-cmo .ar-body { min-width:0; max-width:850px; }
.page-cmo .ar-body p,.page-cmo .ar-body li { font-size:18px!important; line-height:1.6!important; }
.page-cmo .ar-body p { margin:0 0 17px; }
.page-cmo .ar-body ul { padding-left:23px; margin:0 0 20px; }
.page-cmo .ar-body li { margin:0 0 10px; }
.page-cmo .ar-body a:not(.pill) { text-decoration:underline!important; text-decoration-thickness:1px!important; text-underline-offset:3px; }
.page-cmo .ar-section { padding:0!important; margin:0 0 40px!important; scroll-margin-top:116px; }
html body.page-cmo main .ar-layout .ar-body .ar-section h2 { font-size:32px!important; line-height:1.22!important; margin:0 0 18px!important; }
html body.page-cmo main .ar-layout .ar-body .ar-section h3 { font-size:22px!important; line-height:1.3!important; margin:0 0 10px!important; }
.page-cmo .ar-section > :last-child { margin-bottom:0!important; }
.page-cmo .ar-contents a { font-size:18px!important; font-weight:400!important; line-height:1.5; }
.page-cmo .ar-contents summary { font-size:18px!important; font-weight:500!important; }
.page-cmo .symptom-pair { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin:24px 0 0; }
.page-cmo figure.compare { overflow:visible; background:transparent; }
.page-cmo .compare-stage { border-radius:18px; overflow:hidden; aspect-ratio:5/3; isolation:isolate; }
.page-cmo .compare figcaption { padding:14px 0 0; }
.page-cmo .compare figcaption p { font-size:16px!important; line-height:1.5!important; }
.page-cmo .compare figcaption h3 { font-size:20px!important; }
.page-cmo .compare-tag { font-size:12px; padding:4px 8px; max-width:45%; white-space:normal; }
.page-cmo .slider-open { position:absolute; right:10px; bottom:10px; z-index:5; padding:0; border:0; border-radius:50%; background:transparent; width:44px; height:44px; display:grid; place-items:center; cursor:zoom-in; }
.page-cmo .ar-related { margin:0 0 40px; padding:24px; }
.page-cmo .ar-related h2 { font-size:26px!important; margin:0 0 16px!important; }
.page-cmo .ar-related a { display:flex; width:fit-content; margin:0 0 12px; min-height:44px; align-items:center; }
.page-cmo .ar-related a:last-child { margin-bottom:0; }
.page-cmo .ar-references li { font-size:15px!important; line-height:1.55!important; margin-bottom:12px; }
.page-cmo :is(a,button,input,summary):focus-visible { outline:3px solid #a6741b!important; outline-offset:4px; }
.article-media-dialog { width:min(1100px,calc(100vw - 28px)); max-width:min(1100px,calc(100vw - 28px)); max-height:calc(100dvh - 28px); padding:20px; border:1px solid #c4b48f; border-radius:22px; background:#fcf9f3; color:#142b43; overflow:auto; }
.article-media-dialog::backdrop { background:#091729c9; }
.article-media-dialog .dialog-top { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-bottom:14px; }
.article-media-dialog .dialog-title { margin:0; font-size:20px; font-weight:600; }
.article-media-dialog .dialog-close { flex-shrink:0; border:1px solid #c5b58b; border-radius:30px; padding:10px 18px; min-height:44px; background:white; color:#142b43; cursor:pointer; font-size:16px; }
.article-media-dialog .dialog-content > img { display:block; width:100%; max-height:70dvh; object-fit:contain; border-radius:18px; background:#f7f3eb; }
.article-media-dialog .dialog-caption { font-size:16px; line-height:1.5; margin:14px 0 0; }
.article-media-dialog .compare { margin:0; width:min(850px,calc(100vw - 72px)); animation:none!important; background:transparent; }
.article-media-dialog .compare-stage { border-radius:18px; overflow:hidden; aspect-ratio:5/3; }
.article-media-dialog .compare figcaption { display:none; }
.article-media-dialog .slider-open { display:none; }
.article-media-dialog :is(button,input):focus-visible { outline:3px solid #a6741b; outline-offset:3px; }
@media(min-width:1060px) { .page-cmo .ar-contents { position:sticky; top:var(--ar-rail-top,105px); overflow:visible!important; max-height:none!important; } .page-cmo .ar-contents-links { overflow:visible!important; max-height:none!important; } }
@media(max-width:1100px) { .page-cmo h1 { font-size:40px!important; } .page-cmo .ar-opening-split { gap:24px; } }
@media(max-width:1059px) { .page-cmo .ar-head { padding:34px 24px 28px; } .page-cmo .ar-layout { display:block; padding:0 24px 36px; } .page-cmo .ar-contents { margin:0 0 32px; } .page-cmo .ar-body { max-width:none; } .page-cmo .ar-opening-split { grid-template-columns:1fr 1fr; } }
@media(max-width:760px) { .page-cmo h1 { font-size:32px!important; line-height:1.15!important; margin-bottom:18px!important; } .page-cmo .ar-head { padding:28px 20px 28px; } .page-cmo .ar-opening-split { display:flex; flex-direction:column; align-items:stretch; gap:22px; } .page-cmo .ar-author { order:1; } .page-cmo .opening-lenses { order:2; gap:12px; } .page-cmo .ar-head-inner { order:0; } .page-cmo .ar-layout { padding:0 20px 30px; } .page-cmo .ar-section { margin-bottom:34px!important; } .page-cmo .ar-section h2 { font-size:28px!important; } .page-cmo .ar-section h3 { font-size:20px!important; } .page-cmo .symptom-pair { grid-template-columns:1fr; gap:22px; } .page-cmo .lens-card figcaption { font-size:14px; } .page-cmo .lens-card figcaption strong { font-size:16px; } .page-cmo .media-plus { width:28px; height:28px; } .article-media-dialog { padding:14px; } .article-media-dialog .dialog-top { gap:12px; } .article-media-dialog .dialog-title { font-size:18px; } }
@media(max-width:760px) { html body.page-cmo main .ar-layout .ar-body .ar-section h2 { font-size:28px!important; } html body.page-cmo main .ar-layout .ar-body .ar-section h3 { font-size:20px!important; } }
@media(prefers-reduced-motion:reduce) { .page-cmo .compare.auto { animation:none!important; } }
/* Match the production type layer's specificity for these new article headings. */
html body.page-cmo #main#main#main#main .ar-body .ar-section h2 { font-size:32px!important; }
html body.page-cmo #main#main#main#main .ar-body .ar-section h3 { font-size:22px!important; }
html body.page-cmo #main#main#main#main .ar-body .ar-section:not(.ar-references)>p,html body.page-cmo #main#main#main#main .ar-body .ar-section:not(.ar-references)>ul>li { font-size:18px!important; line-height:1.6!important; }
@media(max-width:760px) { html body.page-cmo #main#main#main#main .ar-body .ar-section h2 { font-size:28px!important; } html body.page-cmo #main#main#main#main .ar-body .ar-section h3 { font-size:20px!important; } }

/* Keep horizontal comparison gestures on the control on touch screens. */
.page-cmo .compare-stage input[type=range],.article-media-dialog .compare-stage input[type=range] { touch-action:none; }

.page-cmo .article-figure {margin:24px 0;}
.page-cmo .ar-head>.article-figure {margin:0;}
.page-cmo .article-figure figcaption {font-size:15px;line-height:1.55;margin-top:12px;color:#3c5063;}
.page-cmo .eye-figure .media-open {background:#f6f5ef;}
.page-cmo .size-figure .media-open img {aspect-ratio:1200/460;}
.page-cmo .media-open .media-plus {top:6px;left:6px;right:auto;bottom:auto;}
@media(max-width:1059px){.page-cmo .ar-opening-split {grid-template-columns:1fr;}.page-cmo .ar-head>.size-figure {grid-row:3;max-width:640px;width:100%;}.page-cmo .ar-author {grid-row:2;}}
@media(max-width:760px){.page-cmo .ar-head>.size-figure {order:2;}.page-cmo .ar-author {order:1;}.page-cmo .article-figure {margin:20px 0;}}

.page-cmo .oct-figure img{aspect-ratio:auto}.page-cmo .article-figure{margin:0}.page-cmo .article-figure figcaption{font-size:15px;line-height:1.5;padding-top:12px;color:#394f63}.page-cmo .ar-body .drops-figure{width:min(100%,560px);margin:22px auto 28px}.page-cmo .media-open .media-plus{top:10px;bottom:auto}.page-cmo .ar-head .oct-figure{align-self:center}.page-cmo .ar-head-inner h1{line-height:1.22!important}.page-cmo .cmo-symptoms{display:grid;gap:22px;margin:22px 0}.page-cmo .compare{margin:0;--pos:50%}.page-cmo .compare-stage{position:relative;overflow:hidden;aspect-ratio:5/3;border-radius:18px;isolation:isolate}.page-cmo .compare-stage>.base,.page-cmo .compare-stage>.affected{display:block;position:absolute;width:100%;height:100%;inset:0;object-fit:cover}.page-cmo .compare-stage>.affected{clip-path:inset(0 0 0 var(--pos))}.page-cmo .blur-state{filter:blur(3px)}.page-cmo .compare-stage>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:4;cursor:ew-resize;touch-action:pan-y}.page-cmo .compare-handle{position:absolute;top:0;bottom:0;left:var(--pos);width:2px;background:white;pointer-events:none;z-index:3}.page-cmo .compare-handle>span{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:46px;height:46px;border:2px solid white;border-radius:50%;display:grid;place-items:center;background:#142b43;color:white;font-size:25px}.page-cmo .compare-tag{position:absolute;top:12px;background:#142b43;color:white;border-radius:8px;padding:5px 10px;font-size:14px;z-index:3}.page-cmo .compare-tag.left{left:12px}.page-cmo .compare-tag.right{right:12px}.page-cmo .compare-stage:focus-within{outline:3px solid #a6741b;outline-offset:4px}.page-cmo .simulation-note{font-size:15px!important;line-height:1.5!important}.page-cmo .ar-author img{width:84px!important;height:84px!important;object-fit:cover}.page-cmo .ar-body h3{margin-top:22px!important}.page-cmo .ar-head-inner,.page-cmo .ar-body{opacity:1!important;transform:none!important}.page-cmo .ar-author{width:100%;box-sizing:border-box}
@media(max-width:760px){.page-cmo .ar-head>.oct-figure{order:2}.page-cmo .ar-author img{width:76px!important;height:76px!important}}

/* Accepted article contents: 18px regular, page-driven scrolling. */
html body #main#main aside.ar-contents.ar-contents{position:static!important;max-height:none!important;overflow:visible!important;height:auto!important}
html body #main#main aside.ar-contents.ar-contents a,html body #main#main aside.ar-contents.ar-contents .ar-contents-links a{font-size:18px!important;font-weight:400!important;line-height:1.5!important;overflow-wrap:anywhere}
html body #main#main aside.ar-contents.ar-contents summary,html body #main#main aside.ar-contents.ar-contents .ci-t{font-size:18px!important;font-weight:500!important;line-height:1.5!important}
html body #main#main aside.ar-contents.ar-contents a[aria-current]{font-weight:400!important}
@media(min-width:1060px){html body #main#main aside.ar-contents.ar-contents{position:sticky!important;top:var(--ar-rail-top,110px)!important;align-self:start!important}}

/* Approved standard article type: 26 October 2026. Existing mixed legacy
   pages additionally use the main-site cap-preserving cascade. */
html.aes-editorial body.article-type-compact #main .ar-body .ar-section p.editorial,
html.aes-editorial body.article-type-compact #main .ar-head p {
 font-size:18px!important;line-height:1.6!important;
}
html.aes-editorial body.article-type-compact #main .ar-head h1 {
 font-size:48px!important;line-height:1.22!important;
 max-width:none!important;text-wrap:balance!important;
}
@media(max-width:1100px){
 html.aes-editorial body.article-type-compact #main .ar-head h1{font-size:40px!important}
}
@media(max-width:760px){
 html.aes-editorial body.article-type-compact #main .ar-head h1{font-size:32px!important}
}

/* Article author panel v2 (Simon, 9 November 2026). Supersedes the 29 October panel.
   Structure: div.ar-author > portrait img (or a>img), then ONE details div containing
   p.ar-author-name, p.ar-author-post, p.ar-author-role and, for published articles,
   p.ar-date (inside the details div, after the role).
   Desktop (761px+): 84px round portrait beside three lines that fit the text:
     Written by Dr Simon Chen, MBBS, BSc (Hons), FRANZCO
     Cataract and retinal surgeon, Vision Eye Institute Chatswood, Sydney  · Published: <date>
   Name/post-nominals/role at body size (18px); the date is quieter: 16px, muted warm grey.
   The panel shrinks to its text (no empty space inside or beside the card).
   Phones: portrait beside the name; post-nominals, role and date full width below.
   Load after legacy article, site type and the 29 October author-panel styles. */
html body #main#main#main#main#main .ar-author.ar-author{display:grid!important;grid-template-columns:84px minmax(0,1fr)!important;column-gap:20px!important;row-gap:0!important;align-items:center!important;width:fit-content!important;max-width:100%!important;padding:16px 22px 16px 16px!important;box-sizing:border-box}
html body #main#main#main#main#main .ar-author.ar-author>:is(img,a){grid-column:1!important;grid-row:1!important;align-self:center!important}
html body #main#main#main#main#main .ar-author.ar-author img{width:84px!important;height:84px!important;min-width:84px!important;max-width:84px!important;aspect-ratio:1/1!important;object-fit:cover!important;border-radius:50%!important;display:block}
html body #main#main#main#main#main .ar-author.ar-author>div{display:flow-root!important;grid-column:2!important;grid-row:1!important;min-width:0}
html body #main#main#main#main#main .ar-author.ar-author :is(p,a,span,time){font-size:var(--type-body,18px)!important;line-height:1.5!important}
html body #main#main#main#main#main .ar-author.ar-author p{margin:0!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-name{font-weight:700!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-post{font-weight:600!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-date,
html body #main#main#main#main#main .ar-author.ar-author .ar-date :is(time,span){font-size:16px!important;color:#6f6250!important;font-weight:400!important}
@media(min-width:761px){
html body #main#main#main#main#main .ar-author.ar-author .ar-author-name{display:inline!important;white-space:nowrap}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-name::after{content:","}
html:lang(zh) body #main#main#main#main#main .ar-author.ar-author .ar-author-name::after{content:"，"}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-post{display:inline-block!important;white-space:nowrap;margin-left:.3em!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-role{display:inline!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-role::before{content:"\A";white-space:pre}
html body #main#main#main#main#main .ar-author.ar-author .ar-date{display:inline!important;white-space:nowrap}
html body #main#main#main#main#main .ar-author.ar-author .ar-date::before{content:"\00b7";margin:0 10px 0 9px;color:#a8916a}
}
@media(max-width:760px){
html body #main#main#main#main#main .ar-author.ar-author{grid-template-columns:76px minmax(0,1fr)!important;column-gap:16px!important;row-gap:4px!important;width:100%!important;padding:16px!important}
html body #main#main#main#main#main .ar-author.ar-author img{width:76px!important;height:76px!important;min-width:76px!important;max-width:76px!important}
html body #main#main#main#main#main .ar-author.ar-author>div{display:contents!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-name{grid-column:2!important;grid-row:1!important;align-self:center}
html body #main#main#main#main#main .ar-author.ar-author :is(.ar-author-post,.ar-author-role,.ar-date){grid-column:1/-1!important}
html body #main#main#main#main#main .ar-author.ar-author .ar-author-post{margin-top:8px!important}
}
