:root{--ink:#12363d;--teal:#0c4f58;--sand:#f6f1e6;--line:#cbded6;--lime:#a9d4b1}*{box-sizing:border-box}body{margin:0;background:#f6f5ef;color:var(--ink);font-family:Arial,Helvetica,sans-serif}.rm-page{max-width:1440px;margin:0 auto;padding:24px clamp(16px,3.5vw,48px) 80px}.rm-back{display:inline-block;color:#396b67;font-size:.82rem;font-weight:700;text-decoration:none;margin-bottom:28px}.rm-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}.rm-hero h1{font-family:Georgia,serif;font-size:clamp(2.8rem,6.8vw,6rem);letter-spacing:-.06em;line-height:.94;margin:12px 0 16px;color:#123d44}.rm-hero h1 em{color:#357f75;font-weight:normal}.rm-kicker,.rm-eyebrow{font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#518077}.rm-hero p{max-width:540px;line-height:1.6;color:#59716d;margin:0}.rm-lab-link{display:flex;align-items:center;gap:9px;text-decoration:none;color:#295c57;font-size:.78rem;font-weight:800;white-space:nowrap}.rm-lab-link img{width:74px;height:74px;object-fit:contain}.rm-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px;align-items:start}.rm-panel{background:#fff;border:1px solid #d3e0da;border-radius:19px;box-shadow:0 13px 30px #143d3420}.rm-controls{padding:25px 23px}.rm-controls h2,.rm-bottom h2{font:700 1.65rem Georgia,serif;letter-spacing:-.035em;margin:8px 0 12px}.rm-note{font-size:.81rem;line-height:1.55;color:#69827e;margin:0 0 25px}.rm-setting{border-top:1px solid #e5eeea;padding:18px 0 15px}.rm-setting label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.83rem;font-weight:800}.rm-setting output{color:#23806b;font-variant-numeric:tabular-nums}.rm-setting input{width:100%;margin:16px 0 7px;accent-color:#268a77;cursor:pointer}.rm-setting small{display:flex;justify-content:space-between;color:#708881;font-size:.7rem}.rm-control-hint{font-size:.72rem;line-height:1.55;color:#5b7770}.rm-reset{background:#e8f0e9;border:1px solid #b7d2c3;border-radius:10px;padding:12px 14px;font-size:.8rem;font-weight:800;color:#20554e;cursor:pointer;width:100%;margin-top:16px}.rm-reset:hover{background:#d1e4d8}.rm-main{min-width:0}.rm-map-panel{overflow:hidden;background:#103a46;border-radius:19px;border:1px solid #275e62;box-shadow:0 15px 35px #0e35352a}.rm-map-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 18px;color:#d3eee5;font-size:.71rem;font-weight:900;letter-spacing:.1em}.rm-live{display:flex;align-items:center;gap:7px}.rm-live i{width:7px;height:7px;border-radius:50%;background:#8bddae}.rm-stage{position:relative;aspect-ratio:1.7;min-height:330px;background:#748c60;overflow:hidden}.rm-stage canvas{display:block;width:100%;height:100%}.rm-map-legend{position:absolute;bottom:13px;left:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:9px 11px;background:#112f31d9;border:1px solid #ffffff40;border-radius:9px;color:#f5fbf5;font-size:.69rem;font-weight:700;pointer-events:none}.rm-key{display:inline-block;width:17px;height:7px;border-radius:8px;vertical-align:middle;margin-right:4px}.rm-map-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;color:#d4e4df;font-size:.76rem}.rm-time{background:#fff;border:1px solid #d3e0da;border-radius:16px;padding:20px 22px;margin-top:14px}.rm-time-row{display:flex;justify-content:space-between;align-items:center;gap:14px}.rm-time-row strong{font-size:1.5rem;letter-spacing:-.045em;font-variant-numeric:tabular-nums}.rm-track{height:9px;background:#e1eee8;border-radius:9px;overflow:hidden;margin:16px 0}.rm-track>div{height:100%;background:linear-gradient(90deg,#6baa83,#2d8c85);width:0%;border-radius:inherit}.rm-actions{display:flex;flex-wrap:wrap;gap:9px}.rm-actions button{cursor:pointer;border:1px solid #c6d9d0;border-radius:10px;padding:11px 14px;color:#205148;background:#eaf2ee;font-weight:800;font-size:.77rem}.rm-actions button:first-child{color:white;background:#176e64;border-color:#176e64;min-width:145px}.rm-actions button:hover{filter:brightness(.95)}.rm-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.rm-stat{padding:18px 14px 15px}.rm-stat span{display:block;text-transform:uppercase;letter-spacing:.08em;font-weight:800;font-size:.63rem;color:#61817b;line-height:1.4}.rm-stat strong{display:block;font-size:1.65rem;letter-spacing:-.05em;margin:9px 0 4px;font-variant-numeric:tabular-nums}.rm-stat small{font-size:.7rem;color:#7e948b}.rm-bottom{margin-top:20px;padding:24px 26px}.rm-bottom p{max-width:960px;color:#5b7470;font-size:.89rem;line-height:1.7}.rm-task{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-top:17px}.rm-task div{background:#f1f7f2;border:1px solid #dbe9dd;padding:16px;border-radius:12px;color:#41645c;font-size:.78rem;line-height:1.5}.rm-task b{display:block;color:#1f5b52;margin-bottom:7px}.rm-feedback{font-size:.76rem;color:#4d7169;margin-top:10px;min-height:1.2em}@media(max-width:1080px){.rm-layout{grid-template-columns:250px minmax(0,1fr)}.rm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.rm-hero{align-items:flex-start}.rm-lab-link span{display:none}.rm-lab-link img{width:56px;height:56px}.rm-layout{grid-template-columns:1fr}.rm-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.rm-controls>.rm-eyebrow,.rm-controls>h2,.rm-controls>.rm-note,.rm-controls>.rm-reset,.rm-controls>.rm-control-hint{grid-column:1/-1}.rm-stage{min-height:250px}.rm-task{grid-template-columns:1fr}}@media(max-width:480px){.rm-controls{display:block}.rm-stage{aspect-ratio:1.25;min-height:270px}.rm-map-legend{font-size:.61rem;gap:7px}.rm-map-top{font-size:.59rem}.rm-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rm-stat strong{font-size:1.4rem}.rm-hero h1{font-size:3.1rem}}
/* Keep the site's generic section spacing from inflating the experiment panels. */
.rm-page section.rm-main{padding:0!important;margin:0;min-width:0}
.rm-page section.rm-bottom{padding:24px 26px!important;margin-top:20px}
.rm-page .rm-stage{padding:0!important}
@media(max-width:480px){.rm-page section.rm-bottom{padding:19px!important}}

/* Results and scientific context (River Meander Lab v2 preview). */
.rm-page .rm-param-help{font-size:.76rem;line-height:1.48;color:#4d7169;margin:10px 0 2px;}
.rm-page .rm-param-more{font-size:.73rem;color:#52746a;margin:7px 0 0;}
.rm-page .rm-param-more summary{cursor:pointer;color:#266e62;font-weight:800;list-style-position:outside;}
.rm-page .rm-param-more summary:hover{color:#125044;}
.rm-page .rm-param-more p{font-size:.72rem;line-height:1.52;margin:8px 0 2px;color:#617c74;}
.rm-page .rm-results{margin-top:14px;padding:22px 24px;min-width:0;}
.rm-page section.rm-results{padding:22px 24px!important;margin-top:14px!important;}
.rm-page .rm-results-heading{display:flex;justify-content:space-between;align-items:end;gap:14px;}
.rm-page .rm-results h2{font:700 1.65rem Georgia,serif;letter-spacing:-.035em;margin:7px 0 5px;}
.rm-page .rm-results-age{font-size:.76rem;font-weight:800;color:#38786e;white-space:nowrap;padding-bottom:8px;font-variant-numeric:tabular-nums;}
.rm-page .rm-results-intro{font-size:.79rem;line-height:1.6;color:#66807a;margin:8px 0 14px;}
.rm-page .rm-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #d9e7e0;border-radius:11px;}
.rm-page .rm-results-table{width:100%;border-spacing:0;border-collapse:collapse;font-size:.8rem;min-width:460px;font-variant-numeric:tabular-nums;}
.rm-page .rm-results-table thead{background:#e8f3ec;}
.rm-page .rm-results-table th,.rm-page .rm-results-table td{padding:12px 14px;border-bottom:1px solid #e1ebe5;text-align:right;white-space:nowrap;}
.rm-page .rm-results-table tr:last-child th,.rm-page .rm-results-table tr:last-child td{border-bottom:0;}
.rm-page .rm-results-table thead th{font-size:.71rem;letter-spacing:.045em;color:#326359;text-transform:uppercase;font-weight:900;}
.rm-page .rm-results-table th:first-child{text-align:left;}
.rm-page .rm-results-table tbody th{font-weight:800;color:#2b4c44;}
.rm-page .rm-results-table tbody th small{display:block;font-size:.66rem;font-weight:400;color:#789087;margin-top:3px;}
.rm-page .rm-results-table tbody tr:nth-child(even){background:#f8fbf8;}
.rm-page .rm-results-table td.rm-difference{font-weight:900;color:#1c796a;background:rgba(55,139,113,.055);}
.rm-page .rm-compare-age{font-size:.78rem;line-height:1.5;color:#337a6c;font-weight:800;padding:9px 11px;background:#edf6ee;border-radius:8px;margin:6px 0 12px;}
.rm-page .rm-compare-age.rm-age-warning{background:#fff5e4;color:#886127;}
.rm-page .rm-compare-settings{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px;}
.rm-page .rm-compare-settings p{margin:0;padding:10px 11px;line-height:1.5;background:#f0f6f2;border-radius:8px;color:#3c645a;font-weight:700;font-size:.73rem;}
.rm-page .rm-results [hidden],.rm-page button[hidden]{display:none!important;}
.rm-page .rm-actions button:disabled{cursor:not-allowed;opacity:.45;}
.rm-page .rm-actions #save-a{background:#ecf4e9;color:#1b6655;border-color:#b5d3c4;}
.rm-page .rm-actions #clear-a{background:transparent;color:#6c8279;}
@media(max-width:760px){
 .rm-page .rm-compare-settings{grid-template-columns:1fr;}
 .rm-page section.rm-results{padding:18px 15px!important;}
 .rm-page .rm-results-heading{align-items:start;flex-wrap:wrap;}
 .rm-page .rm-results-age{padding:0;}
}

/* V3: Dig Earth Studio shared experiment visual language.
   Mirrors the warm editorial heading, lab identity, field guide,
   parchment panels and teal accents of Island in a Million. */
:root{
 --rm-deep:#092b32;
 --rm-ink:#103338;
 --rm-muted:#647775;
 --rm-card:#fffaf0;
 --rm-line:#ddd6c6;
 --rm-gold:#b98c45;
 --rm-teal:#187c80;
}
body{
 background:radial-gradient(circle at 12% 12%,rgba(201,168,102,.16),transparent 28%),#f3efe5;
 color:var(--rm-ink);
}
.rm-page{
 max-width:1660px;
 padding:0 clamp(16px,3vw,52px) 90px;
}
.rm-prelude{
 display:flex;
 align-items:center;
 justify-content:space-between;
 flex-wrap:wrap;
 gap:10px 20px;
 margin:23px 0 25px;
}
.rm-page .rm-back{
 margin:0;
 text-decoration:none;
 color:#5c736f;
 font-size:.79rem;
 font-weight:750;
}
.rm-page .rm-back:hover{color:#126d71;}
.rm-preview-label{
 display:inline-block;
 border:1px solid #d8c99f;
 border-radius:100px;
 padding:8px 12px;
 background:#f9f2e2;
 font-size:.62rem;
 letter-spacing:.11em;
 font-weight:900;
 color:#96703b;
}
.rm-page .rm-hero{
 display:grid!important;
 grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr)!important;
 align-items:end!important;
 gap:clamp(18px,3vw,38px)!important;
 margin:0 0 28px!important;
 padding:16px 0 0!important;
 background:transparent!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 min-height:0!important;
}
.rm-hero-heading{min-width:0;}
.rm-page .rm-kicker,.rm-page .rm-eyebrow{
 font-size:.67rem;
 font-weight:900;
 letter-spacing:.17em;
 text-transform:uppercase;
 color:#a37b3e;
}
.rm-kicker{display:flex;align-items:center;gap:12px;}
.rm-kicker-line{display:block;width:29px;height:2px;flex:0 0 29px;background:var(--rm-gold);}
.rm-hero .des-lab-title-row{margin-top:17px;align-items:center;}
.rm-page .rm-hero h1{
 margin:0;
 font-family:Arial,Helvetica,sans-serif;
 color:var(--rm-deep);
 font-size:clamp(2.65rem,6.75vw,7.5rem);
 font-weight:900;
 line-height:.91;
 letter-spacing:-.082em;
}
.rm-page .rm-hero h1 em{
 font-family:Georgia,'Times New Roman',serif;
 font-weight:700;
 color:#2c7e79;
 letter-spacing:-.075em;
}
.rm-hero-side{justify-self:end;max-width:380px;padding-bottom:7px;}
.rm-hero-symbol{
 display:flex;align-items:center;gap:9px;
 font-size:2rem;
 line-height:1;
 color:#bb995c;
}
.rm-hero-symbol span{
 color:#758580;
 font-size:.66rem;
 letter-spacing:.12em;
 font-weight:850;
}
.rm-page .rm-hero-side p{
 max-width:380px;
 color:#627470;
 font-size:1.01rem;
 line-height:1.72;
 margin:11px 0 0;
}
.rm-hero-side strong{color:#213d3d;}
.rm-page section.rm-guide{
 padding:19px 22px!important;
 margin:0 0 18px!important;
 border:1px solid var(--rm-line);
 border-radius:17px;
 background:#fffaf0;
 display:grid;
 grid-template-columns:minmax(220px,.85fr) minmax(0,1.15fr);
 column-gap:22px;
 row-gap:9px;
 align-items:center;
 box-shadow:0 10px 28px #173a350b;
}
.rm-guide h2{
 font-size:clamp(1.15rem,1.9vw,1.7rem);
 font-weight:850;
 letter-spacing:-.045em;
 line-height:1.1;
 margin:8px 0 7px;
}
.rm-guide-lead p{font-size:.81rem;line-height:1.55;color:#657a76;margin:0;}
.rm-guide-steps{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:9px;
 list-style:none;
 margin:0;
 padding:0;
}
.rm-guide-steps li{
 display:flex;
 align-items:center;
 gap:9px;
 background:#f1ebde;
 border-radius:10px;
 padding:11px 10px;
 color:#4e6961;
 font-size:.75rem;
 font-weight:700;
 line-height:1.4;
}
.rm-guide-steps b{
 display:inline-flex;
 align-items:center;
 justify-content:center;
 width:29px;
 height:29px;
 min-width:29px;
 border-radius:50%;
 color:#fffaf0;
 background:#236e6c;
 font-size:.65rem;
}
.rm-guide-tip{
 grid-column:1/-1;
 background:#edf2e4;
 border-radius:9px;
 padding:9px 12px;
 margin:2px 0 0;
 color:#526f64;
 font-size:.73rem;
 line-height:1.5;
}
.rm-guide-tip strong{color:#305950;}
.rm-page .rm-layout{
 grid-template-columns:310px minmax(0,1fr);
 gap:15px;
 align-items:start;
}
.rm-page .rm-panel,.rm-page .rm-time{
 border-color:var(--rm-line);
 background:var(--rm-card);
 box-shadow:0 13px 36px rgba(23,58,53,.055);
 border-radius:20px;
}
.rm-page .rm-controls{padding:22px 23px 24px;}
.rm-page .rm-controls h2,.rm-page .rm-bottom h2,.rm-page .rm-results h2{
 color:var(--rm-deep);
 font-weight:850;
 letter-spacing:-.05em;
}
.rm-page .rm-note{color:#687a76;}
.rm-page .rm-setting{border-top:1px solid #e6decf;}
.rm-page .rm-setting label{color:#274341;}
.rm-page .rm-setting output{color:#277e7b;font-weight:900;}
.rm-page .rm-setting input[type=range]{
 display:block;
 width:100%;
 height:5px;
 margin:18px 0 13px;
 appearance:none;
 -webkit-appearance:none;
 border:0;
 border-radius:99px;
 background:linear-gradient(90deg,#297979 var(--pct,50%),#dfdacd var(--pct,50%));
 cursor:pointer;
}
.rm-page .rm-setting input[type=range]::-webkit-slider-thumb{
 appearance:none;
 -webkit-appearance:none;
 width:17px;
 height:17px;
 border-radius:50%;
 background:#fff9ec;
 border:4px solid #207579;
 box-shadow:0 2px 5px #123b382b;
}
.rm-page .rm-setting input[type=range]::-moz-range-thumb{
 width:10px;
 height:10px;
 border-radius:50%;
 background:#fff9ec;
 border:4px solid #207579;
}
.rm-page .rm-param-help,.rm-page .rm-param-more p{color:#657b75;}
.rm-page .rm-param-more summary{color:#24716f;}
.rm-page .rm-reset{
 background:#eee9dc;
 border-color:#e3dbcb;
 color:#385e58;
}
.rm-page .rm-reset:hover{background:#e0dbca;}
.rm-page .rm-map-panel{
 background:#092c35;
 border-color:#27575b;
 border-radius:20px;
}
.rm-page .rm-map-top{color:#e8f1df;}
.rm-page .rm-map-foot{color:#d9e5dc;}
.rm-page .rm-time{border-radius:18px;}
.rm-page .rm-time-row strong{color:var(--rm-deep);}
.rm-page .rm-track{background:#e7e4d8;}
.rm-page .rm-track>div{background:linear-gradient(90deg,#bc985c,#287e7a);}
.rm-page .rm-actions button{
 background:#eee9dc;
 color:#445f58;
 border-color:#e3dbcb;
}
.rm-page .rm-actions button:first-child{
 background:#16595b;
 border-color:#16595b;
 color:#fffaf0;
}
.rm-page .rm-actions #save-a{
 background:#e7efdf;
 color:#23665a;
 border-color:#b9cebf;
}
.rm-page .rm-stats{gap:11px;}
.rm-page .rm-stat span{color:#737f75;}
.rm-page .rm-stat strong{color:var(--rm-deep);}
.rm-page .rm-results-table thead{background:#eeeadd;}
.rm-page .rm-results-table tbody tr:nth-child(even){background:#f8f2e7;}
.rm-page .rm-table-scroll{border-color:#ded9cd;}
.rm-page .rm-results-table td.rm-difference{color:#167574;background:#e6f0e872;}
.rm-page .rm-compare-settings p{background:#f0eadd;}
.rm-page .rm-compare-age{background:#ecf1e3;}
.rm-page .rm-compare-age.rm-age-warning{background:#fff1d9;}
.rm-page .rm-task div{background:#f1ebde;border-color:#e6decf;}
.rm-page button:focus-visible,.rm-page input:focus-visible,.rm-page a:focus-visible,.rm-page summary:focus-visible{
 outline:3px solid #d9a44b;
 outline-offset:3px;
}
@media(max-width:1110px){
 .rm-page .rm-layout{grid-template-columns:280px minmax(0,1fr);}
 .rm-page section.rm-guide{grid-template-columns:1fr;}
 .rm-guide-steps{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:800px){
 .rm-page .rm-hero{grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
 .rm-hero-side{justify-self:start;max-width:690px;}
 .rm-page .rm-hero-side p{max-width:690px;}
 .rm-page .rm-layout{grid-template-columns:1fr;}
 .rm-page .rm-hero h1{font-size:clamp(2.65rem,8vw,5.5rem);}
}
@media(max-width:650px){
 .rm-page .rm-prelude{margin:17px 0 20px;}
 .rm-preview-label{font-size:.57rem;}
 .rm-page .rm-hero{padding-top:4px!important;margin-bottom:22px!important;}
 .rm-page .rm-hero h1{font-size:clamp(2.35rem,8.4vw,4.2rem);}
 .rm-page section.rm-guide{padding:16px!important;}
 .rm-guide-steps{grid-template-columns:1fr;gap:6px;}
 .rm-guide-steps li{padding:8px 10px;}
 .rm-page .rm-controls{padding:20px;}
 .rm-page .rm-results-table th,.rm-page .rm-results-table td{padding:10px 12px;}
}

/* V4: matched Dig Earth Studio map-view switch and process legend. */
.rm-page .rm-map-top{
 display:flex;
 flex-wrap:wrap;
 justify-content:space-between;
 align-items:center;
 gap:12px;
 padding:12px 18px;
}
.rm-page .rm-map-top-actions{
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:11px;
 flex-wrap:wrap;
}
.rm-page .rm-view-modes{
 display:inline-flex;
 flex-wrap:nowrap;
 align-items:center;
 padding:3px;
 gap:3px;
 border:1px solid #b5d3ca60;
 background:#06262dd0;
 border-radius:10px;
}
.rm-page .rm-view-modes button{
 cursor:pointer;
 padding:8px 10px;
 background:transparent;
 border:0;
 border-radius:7px;
 color:#d4e8df;
 font-size:.7rem;
 font-weight:850;
 white-space:nowrap;
 letter-spacing:.015em;
 line-height:1.2;
}
.rm-page .rm-view-modes button:hover{background:#ffffff20;}
.rm-page .rm-view-modes button[aria-pressed="true"]{
 background:#e7eeda;
 color:#164c4b;
 box-shadow:0 1px 6px #031b1e70;
}
.rm-page [hidden]{display:none!important;}
.rm-page .rm-process-hint{
 margin:0;
 padding:1px 18px 15px;
 color:#dce9da;
 line-height:1.6;
 font-size:.74rem;
}
.rm-page .rm-process-hint strong{color:#ffe2aa;}
.rm-page #process-legend{gap:16px;}
.rm-page .rm-map-legend{max-width:calc(100% - 25px);}
.rm-page #process-legend .rm-key{height:9px;border:1px solid #ffffff77;}
@media(max-width:760px){
 .rm-page .rm-map-top{align-items:flex-start;}
 .rm-page .rm-map-top-actions{justify-content:flex-start;}
 .rm-page .rm-map-top .rm-live{font-size:.61rem;}
}
@media(max-width:470px){
 .rm-page .rm-map-top{padding:11px 12px;}
 .rm-page .rm-map-top-actions{width:100%;gap:9px;}
 .rm-page .rm-view-modes{max-width:100%;}
 .rm-page .rm-view-modes button{font-size:.64rem;padding:8px 8px;}
 .rm-page .rm-process-hint{padding:0 12px 12px;}
 .rm-page #process-legend{gap:8px;}
}

/* V5: interpretation is deliberately distinct from the landscape render. */
.rm-page .rm-process-hint{
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px;
 padding:3px 16px 16px;
 background:#092c35;
}
.rm-page .rm-process-hint>div{
 border:1px solid #b3d8d326;
 border-radius:10px;
 padding:10px 12px;
 background:#ffffff0b;
 display:flex;
 flex-direction:column;
 gap:5px;
}
.rm-page .rm-process-hint>div strong{
 display:block;
 font-size:.69rem;
 font-weight:900;
 letter-spacing:.11em;
}
.rm-page .rm-process-hint>div:first-child strong{color:#ff947f;}
.rm-page .rm-process-hint>div:nth-child(2) strong{color:#ffe0a0;}
.rm-page .rm-process-hint>div span{
 font-size:.73rem;
 line-height:1.55;
 color:#d8e7df;
}
.rm-page .rm-process-hint>p{
 grid-column:1/-1;
 margin:0;
 padding:8px 10px;
 color:#bdd7ce;
 font-size:.72rem;
 line-height:1.55;
}
.rm-page .rm-process-hint>p strong{color:#eff2d8;}
.rm-page .rm-key-dashed{
 background:repeating-linear-gradient(90deg,#a8b7ae 0,#a8b7ae 7px,transparent 7px,transparent 12px);
 border:1px solid #a8b7ae8e!important;
}
.rm-page #process-legend{
 column-gap:12px;
 row-gap:7px;
 font-size:.67rem;
}
@media(max-width:650px){
 .rm-page .rm-process-hint{grid-template-columns:1fr;padding:4px 11px 12px;}
 .rm-page .rm-process-hint>p{padding:5px 6px;}
 .rm-page #process-legend{column-gap:7px;font-size:.58rem;}
}

/* V6: preserve fair-test conditions once the model begins evolving. */
.rm-page .rm-lock-status{
 display:flex;align-items:flex-start;gap:9px;
 margin:16px 0 4px;padding:11px 12px;
 border:1px solid #b6d6c5;border-radius:10px;
 background:#eef5e9;color:#326456;
 font-size:.76rem;line-height:1.55;font-weight:750;
}
.rm-page .rm-lock-status::before{
 content:"◌";flex:0 0 auto;font-size:1rem;font-weight:900;
 line-height:1.1;color:#2e8674;
}
.rm-page .rm-controls.is-locked .rm-lock-status{
 border-color:#dcc8a1;background:#fff3d8;color:#70532b;
}
.rm-page .rm-controls.is-locked .rm-lock-status::before{
 content:"◆";font-size:.72rem;line-height:1.8;color:#b08234;
}
.rm-page .rm-setting input[type=range]:disabled{
 cursor:not-allowed;opacity:.58;
}
.rm-page .rm-setting input[type=range]:disabled::-webkit-slider-thumb{border-color:#6d958c;}
.rm-page .rm-setting input[type=range]:disabled::-moz-range-thumb{border-color:#6d958c;}
.rm-page .rm-controls.is-locked .rm-setting output{color:#55746a;}

/* V7: Real-unit labels with an explicitly illustrative, proportional map scale.
   Width: 100/1000 of the rendered map = 100 m for the 1 km-wide scene. */
.rm-page .rm-stage .rm-scale{
 position:absolute;
 right:16px;
 bottom:78px;
 z-index:4;
 width:10%;
 display:flex;
 flex-direction:column;
 align-items:stretch;
 justify-content:flex-end;
 gap:5px;
 color:#fff9e9;
 text-shadow:0 1px 3px #092b32,0 1px 8px #092b32;
 pointer-events:none;
 font-size:.72rem;
 font-weight:900;
 line-height:1.1;
 letter-spacing:.01em;
 text-align:center;
 white-space:nowrap;
}
.rm-page .rm-scale>span{display:block;}
.rm-page .rm-scale-rule{
 display:block;
 height:10px;
 border-left:2px solid currentColor;
 border-right:2px solid currentColor;
 border-bottom:3px solid currentColor;
 filter:drop-shadow(0 1px 2px #092b3277);
}
.rm-page .rm-stage.is-science .rm-scale{
 color:#204e56;
 text-shadow:0 1px 2px #ffffffcc;
}
.rm-page .rm-stage.is-science .rm-scale-rule{
 filter:none;
}
.rm-page .rm-map-foot{flex-wrap:wrap;}
@media(max-width:650px){
 .rm-page .rm-stage .rm-scale{right:10px;bottom:80px;font-size:.61rem;gap:3px;}
 .rm-page .rm-scale-rule{height:8px;}
}

/* Public launch: concise science definitions, searchable as HTML text. */
.rm-page .rm-about{margin-top:18px;padding:25px clamp(18px,3vw,34px);}
.rm-page .rm-about h2{margin:9px 0 12px;font-size:clamp(1.5rem,2.6vw,2.35rem);line-height:1.1;letter-spacing:-.05em;color:#092b32;}
.rm-page .rm-about>p{max-width:950px;margin:0;color:#576e68;font-size:.93rem;line-height:1.7;}
.rm-page .rm-about-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:19px 0;}
.rm-page .rm-about-grid>div{padding:17px 18px;border-radius:13px;border:1px solid #e3dacc;background:#f4efe3;}
.rm-page .rm-about-grid h3{margin:0 0 7px;font-size:1rem;letter-spacing:-.03em;color:#144e53;}
.rm-page .rm-about-grid p{margin:0;font-size:.81rem;line-height:1.62;color:#62766f;}
.rm-page .rm-about .rm-about-foot{border-left:3px solid #b98c45;padding:2px 0 2px 13px;font-size:.81rem;}
@media(max-width:850px){.rm-page .rm-about-grid{grid-template-columns:1fr;}}
