:root{--ink:#354236;--muted:#73796a;--accent:#54734f;--accent-dark:#3f5a3b;--pale:#f4f6e9;--line:#e3e8d5;--paper:#fffdf5;--gold:#b56355}
body{background:var(--paper)}
.site-header{background:#fffdf5ee;border-bottom:1px solid #e6e8d5}
.nav-shell{min-height:68px}.brand img{width:164px;height:45px;object-fit:contain}
.nav-links a{padding:21px 0 18px}
main{position:relative;isolation:isolate}main::before{content:'';position:absolute;inset:0 0 auto;height:700px;background:radial-gradient(ellipse at 12% 8%,#f7df8a45,transparent 50%),radial-gradient(ellipse at 90% 40%,#b8d49740,transparent 45%),linear-gradient(180deg,#fff6df,#fffdf5);z-index:-1;pointer-events:none}
.hero{padding-top:36px;padding-bottom:35px}.venue{font-size:11px;color:#6a7d4e;margin-bottom:8px}.hero-logo{display:block;width:470px;max-width:90%;height:auto;margin:0 auto 12px}.full-title{font-size:32px;line-height:1.34;letter-spacing:-.7px}.hero h1{margin-bottom:24px}.authors{font-size:17px}.affiliations{font-size:12px;margin-bottom:5px}.author-notes{font-size:11px;color:var(--muted);margin:7px 0 0}.resource-links{margin-top:25px;margin-bottom:0}.resource-button{background:#fffdf5;border-color:#dfe5cd}.resource-button:hover{background:#f4f2df}.resource-button.primary{color:#fff;background:var(--accent);border-color:var(--accent)}.resource-button.primary:hover{background:var(--accent-dark)}
.abstract-section{background:transparent;border:0;padding:28px 0 40px}.abstract-section .reading-width::before{content:'';display:block;width:48px;height:2px;background:linear-gradient(90deg,var(--gold),#9cb578);margin:0 auto 23px}.abstract-section p:not(.section-index){color:#626c5b}.abstract-section h2{font-size:29px;margin-bottom:22px}
.overview-section{padding-top:10px;padding-bottom:60px}.overview-layout{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center;max-width:1000px;margin:auto}.overview-layout>figure{max-width:410px;margin:0;justify-self:center}.overview-copy h2{font-size:39px;line-height:1.2;letter-spacing:-1px;margin-bottom:25px}.overview-copy>p{font-size:16px;line-height:1.9;color:#68705f}.eyebrow{color:var(--accent)!important;font-size:10px!important;letter-spacing:2px;text-transform:uppercase;margin-bottom:20px}.overview-copy blockquote{border-left:2px solid var(--gold);padding-left:20px;margin:28px 0;color:var(--ink);font:italic 24px/1.5 Georgia,serif}.figure-button{background:white;border:1px solid #e2e6d5;border-radius:6px;overflow:hidden}.figure-button img{display:block;width:100%;height:auto}.figure-button:hover{border-color:#9fb58a}.section{padding-block:65px}.method-section{background:#f0f6e9;border-block:1px solid #e0e7d1}.wide-figure .figure-button{border-color:#e0e7d1}.method-steps>div{border-top-color:#d3dfbf}.method-steps h3{font-size:21px}.step-number{color:var(--accent)}
.video-section{max-width:1000px;padding-top:0;padding-bottom:64px}.video-frame{aspect-ratio:16/9;overflow:hidden;background:#f5f2e0;border:1px solid #e3e5ce;border-radius:7px}.video-frame iframe{display:block;width:100%;height:100%;border:0}.video-note{font-size:11px;color:var(--muted);margin-top:12px;text-align:center}.video-note a{color:var(--accent)}
.prompt-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;max-width:940px;margin:auto}.prompt-grid figure{margin:0}.prompt-grid figcaption{font-size:12px;color:#707965;line-height:1.8;margin-top:16px}.prompt-grid h3{font-size:18px;font-weight:500;margin:0 0 6px}.prompt-grid .figure-button{padding:10px;background:#fff}
.results-section{background:linear-gradient(120deg,#fff6dc,#f4f6e9 60%,#fbece5);border-block:1px solid #e5e7cf}.result-highlights>div+div{border-left-color:#e1e2c9}.result-highlights h3{min-height:0}.result-highlights p{font-size:12px}.table-scroll{margin-top:24px}thead th{border-bottom-color:#cbd4b6}tbody td,tbody th{border-bottom-color:#e0e7d1}.ours td,.ours th{background:#eaf3df}.table-note{color:#7a806b}.metric-label{color:var(--muted);font-size:11px;margin-top:20px;line-height:1.8;text-align:center}.realworld-section .environment-figure{max-width:900px}.realworld-summary strong{color:var(--accent)}
.citation-section{background:#f7f3e7;border-top-color:#e6e3cf}.copy-button{background:#fffdf5;border-color:#dddcc5}.copy-button:hover{background:#eeeeda}pre{background:#efeddf;color:#515d47}.publication-reference{font-size:12px;line-height:1.9;color:#707965;margin-bottom:24px}.publication-reference a{color:var(--accent)}.site-footer{background:linear-gradient(120deg,#fcf1e1,#fffdf5);border-top:1px solid #e5e6d0}.footer-inner .brand img{width:176px;height:46px}.footer-inner>p{max-width:600px}.footer-inner>p a{color:var(--accent)}
@media(max-width:980px){.overview-layout{gap:35px}.overview-copy h2{font-size:34px}.full-title{font-size:29px}.prompt-grid{gap:24px}}
@media(max-width:680px){.nav-shell{min-height:57px}.brand img{width:127px;height:36px}.nav-links{gap:12px}.nav-links a{font-size:10px;padding-block:18px}.hero{padding-top:22px;padding-bottom:28px}.hero-logo{width:330px;margin-bottom:11px}.full-title{font-size:24px;line-height:1.35}.hero h1{margin-bottom:22px}.authors{font-size:14px;gap:7px 14px}.affiliations{font-size:10px}.author-notes{font-size:10px}.resource-links{margin-top:22px}.abstract-section{padding:12px 0 32px}.overview-layout{grid-template-columns:1fr;gap:20px}.overview-copy h2{font-size:30px}.overview-copy>p{font-size:14px}.overview-copy blockquote{font-size:21px;margin:20px 0}.overview-layout>figure{max-width:340px}.overview-section{padding-bottom:40px}.video-section{padding-bottom:42px}.section{padding-block:44px}.prompt-grid{grid-template-columns:1fr;gap:35px;max-width:430px}.method-steps h3{font-size:19px}.result-highlights p{font-size:9px}.metric-label{font-size:10px}.footer-inner .brand img{width:120px;height:33px}.publication-reference{font-size:11px}.citation-heading{gap:12px}}
@media(max-width:400px){.brand img{width:105px}.nav-links{gap:8px}.nav-links a{font-size:9px}}

/* Images carry their own figure backgrounds; no extra white frames. */
.figure-button,.prompt-grid .figure-button,.wide-figure .figure-button{padding:0;background:transparent;border:0;border-radius:0;box-shadow:none}
.figure-button:hover{border:0;box-shadow:0 0 0 2px #b9c597}
.figure-crop{position:relative;display:block;overflow:hidden;width:100%}
.figure-crop img{position:absolute;max-width:none;height:auto;display:block}
.prompt-grid{align-items:start}
#figure-dialog{background:#fffdf5}

/* Author-supplied CMAR logo; clip only its empty outer canvas. */
.logo-crop{position:relative;display:block;overflow:hidden;aspect-ratio:1475/725;mix-blend-mode:multiply;flex-shrink:0}
.logo-crop img,.brand .logo-crop img{position:absolute;width:113.355932%;max-width:none;height:auto;left:-6.779661%;top:-15.172414%;object-fit:initial}
.brand .logo-crop{width:108px}
.hero .hero-logo{width:420px;max-width:90%;margin:0 auto 16px}
.footer-inner .brand .logo-crop{width:126px}
.white-background-free{mix-blend-mode:multiply}
#enlarged-figure.white-background-free{mix-blend-mode:multiply}
@media(max-width:680px){.brand .logo-crop{width:87px}.hero .hero-logo{width:310px}.footer-inner .brand .logo-crop{width:100px}}
/* Supply a real backdrop for white removal inside the isolated main layer. */
.prompt-grid{background:var(--paper)}

/* Pastel yellow, green and red echo the updated CMAR artwork. */
main::before{background:radial-gradient(ellipse at 12% 8%,#f8df9745,transparent 50%),radial-gradient(ellipse at 90% 25%,#c4dfa64a,transparent 45%),linear-gradient(165deg,#fff8e5,#fffdf5 70%,#fff2ed)}
.hero .hero-logo{width:500px}
.resource-button.primary{background:#fff0b8;color:#795e22;border-color:#ead69a}
.resource-button.primary:hover{background:#f9e7a5}
.resource-button[data-resource="code"]{background:#eaf3df;color:#446740;border-color:#d1dfbf}
.resource-button[data-resource="code"]:hover{background:#e0eccf}
.resource-button[data-resource="video"]{background:#fbe6df;color:#99594e;border-color:#edcfc4}
.resource-button[data-resource="video"]:hover{background:#f5dcd2}
.results-section{background:linear-gradient(115deg,#fff6dc,#eff5e4 52%,#fbece5)}
.result-highlights>div:nth-child(1) .result-number{color:#94681d}
.result-highlights>div:nth-child(2) .result-number{color:#557b54}
.result-highlights>div:nth-child(3) .result-number{color:#a95c51}
.site-footer{background:linear-gradient(115deg,#fff6df,#f0f6e9 55%,#fcf0e9)}
@media(max-width:680px){.hero .hero-logo{width:340px}}

.resource-links .resource-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 110px;width:110px;height:44px;min-height:44px;padding:0;font-size:14px;line-height:1;box-sizing:border-box}
@media(max-width:400px){.resource-links{gap:8px}.resource-links .resource-button{flex-basis:86px;width:86px}}
