@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=DM+Serif+Display&display=swap');
:root{color-scheme:light;--deep:#162f23;--green:#2a563b;--lime:#bacf9e;--gold:#d9be7c;--paper:#f5f6f0;--line:#d5dfd1;--muted:#617365;--white:#fffefa;font-family:'DM Sans',system-ui,sans-serif;color:var(--deep)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#eff1eb}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #d5b566;outline-offset:2px}a{color:inherit}p{line-height:1.66}button:disabled{opacity:.45;cursor:not-allowed}body:has(dialog[open]){overflow:hidden}
.topbar{height:75px;padding:0 clamp(18px,3vw,52px);background:#13281e;display:flex;align-items:center;justify-content:space-between;color:#fff;gap:20px;border-bottom:1px solid #385240}
.logo{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:800;letter-spacing:.14em;font-size:18px}.logo img{border-radius:9px;object-fit:contain}.logo span{display:grid;gap:2px}.logo small{font-size:9px;letter-spacing:.21em;color:#d7c78e}
.topbar-right{display:flex;align-items:center;gap:22px}.topbar-right .safe{font-size:11px;color:#bfd7bd}.topbar-right .safe::first-letter{color:#8fca86}.exit{font-weight:700;font-size:12px;text-decoration:none;padding:10px 14px;border:1px solid #58725b;border-radius:9px}.exit:hover{background:#2c5039}
.intro{background:radial-gradient(circle at 15% 25%,#2a4e34 0,transparent 35%),linear-gradient(120deg,#193a2a,#13261e);display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.72fr);gap:35px;padding:clamp(25px,4vw,52px) clamp(20px,5vw,75px);color:#f6f5e7;align-items:center}
.eyebrow{font-size:10px;font-weight:900;letter-spacing:.15em;color:#768d76;text-transform:uppercase}.intro .eyebrow{color:#d8bb78}.intro h1{font-family:'DM Serif Display',Georgia,serif;font-size:clamp(38px,5.8vw,70px);font-weight:400;line-height:1.06;letter-spacing:-.03em;margin:13px 0}.intro h1 em{color:#e0c683;font-style:normal}.intro p:last-child{max-width:750px;color:#d2dfce;font-size:14px;margin-bottom:0}.case-picker{display:grid;grid-template-columns:1fr 1fr;gap:12px}.case-btn{text-align:left;border:1px solid #648062;background:#193427;color:#edf6e7;border-radius:15px;min-height:150px;padding:19px;display:grid;align-content:center;gap:9px}.case-btn:hover{border-color:#ddc986}.case-btn.active{background:#f8f7e9;border-color:#e4c57d;color:#264832;box-shadow:0 6px 21px #06140b55}.case-kicker{font-size:9px;font-weight:900;letter-spacing:.13em;color:#c8bd83}.case-btn.active .case-kicker{color:#698263}.case-btn strong{font-family:'DM Serif Display',Georgia,serif;font-size:24px;font-weight:400}.case-btn small{font-size:11px;line-height:1.5;opacity:.85}
.app-grid{display:grid;grid-template-columns:244px minmax(0,1fr);max-width:1980px;margin:0 auto;align-items:start}
.rail{background:#1a3628;color:#eaf1e5;min-height:calc(100vh - 75px);align-self:stretch;position:relative;border-right:1px solid #698271}
.rail-head{position:sticky;top:0;padding:25px 19px 13px;background:#1a3628;z-index:2}.rail-head strong{font-family:'DM Serif Display',Georgia,serif;font-size:24px;font-weight:400}.rail-head small{display:block;margin-top:6px;font-size:10px;color:#b3c5b5}
#featureNav{padding:0 11px 22px;display:grid;gap:4px}
.nav-label{margin:14px 9px 6px;font-size:9px;font-weight:900;letter-spacing:.17em;color:#cfb77b}
.nav-item{display:flex;align-items:center;gap:10px;padding:11px 12px;text-align:left;border-radius:9px;border:1px solid transparent;background:transparent;color:#d8e4d5;font-size:12px;font-weight:700;min-height:43px}
.nav-item .ico{font-size:17px;width:22px;text-align:center;flex:none;line-height:1.2}
.nav-item:hover{background:#30533c}.nav-item.active{background:#e3eddf;color:#244a30;border-color:#e3eddf}
.rail-foot{padding:18px;border-top:1px solid #44624b;display:grid;gap:10px;position:sticky;bottom:0;background:#1a3628}.rail-foot button{border:1px solid #7f9a78;background:#2d533b;color:#fff;border-radius:9px;padding:12px 9px;font-size:12px;font-weight:850}.rail-foot span{font-size:10px;color:#aabfac;line-height:1.5}
.workspace{padding:clamp(17px,2.8vw,38px);min-width:0}
.notice{padding:12px 16px;background:#fff7dc;color:#665325;border:1px solid #ead4a5;border-radius:9px;margin-bottom:14px;font-size:12px;font-weight:700}.notice[hidden]{display:none}
.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px}
.heading h2{font:400 clamp(25px,3vw,37px)/1.12 'DM Serif Display',Georgia,serif;margin:8px 0 6px;color:#20412d}
.heading p{font-size:12px;color:#667a67;max-width:690px;margin:0}
.heading-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:end}
.heading-actions button,.primary{background:#f8faf4;border:1px solid #c3d2bf;color:#30563a;padding:12px 16px;border-radius:9px;font-size:12px;font-weight:850;min-height:43px}
.heading-actions .primary,.primary{background:#2c5a3e;border-color:#2c5a3e;color:#fff}
.heading-actions button:hover,.primary:hover{filter:brightness(.95)}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.stat{background:var(--white);border:1px solid var(--line);border-radius:13px;padding:16px 19px;min-width:0;box-shadow:0 3px 14px #1f38200a}
.stat label{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.1em;color:#718274}
.stat strong{display:block;font:400 clamp(24px,2.9vw,37px)/1.12 'DM Serif Display',Georgia,serif;margin:8px 0;color:#28563c}
.stat small{font-size:10px;color:#6a7b6e;display:block;line-height:1.4}
.core-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.72fr);gap:15px;min-height:500px}
.mapbox,.eventsbox,.feature-content,.related,.player{background:#fffefa;border:1px solid var(--line);border-radius:14px;box-shadow:0 4px 19px #1f382010;min-width:0;overflow:hidden}
.mapbox{display:flex;flex-direction:column}.map-toolbar,.map-foot{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fafcf8}
.map-toolbar{border-bottom:1px solid var(--line)}.map-toolbar strong{font-size:14px}.map-choices{display:flex;gap:12px}.map-choices label{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:#58705d}.map-choices input{accent-color:#356344}
#map{height:clamp(360px,44vw,620px);width:100%;background:#d7dfd5}.map-archive{min-height:360px;flex:1;background:#e0e9dd;display:grid;place-items:center;padding:16px}.map-archive[hidden]{display:none}.map-archive img{max-width:100%;max-height:560px;object-fit:contain;box-shadow:0 4px 19px #1d2e1d30;border-radius:8px}.map-archive p{font-size:11px;color:#4d6350;text-align:center;margin:12px auto}
.map-foot{border-top:1px solid var(--line)}.map-foot span{font-size:10px;color:#6d826d}.map-foot button{border:1px solid #ccd9cb;border-radius:8px;padding:9px 11px;background:#eef4ed;color:#2d573a;font-size:11px;font-weight:800}
.eventsbox{display:flex;flex-direction:column;max-height:735px}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid var(--line)}.panelhead h3{font:400 23px 'DM Serif Display',Georgia,serif;margin:5px 0 0}
.panelhead button{border:1px solid #bbcfb7;background:#e8f2e6;color:#2b5637;border-radius:9px;padding:11px 13px;font-size:11px;font-weight:900}.event-list{overflow-y:auto;max-height:325px;min-height:110px;border-bottom:1px solid var(--line)}.event-row{width:100%;padding:13px 17px;display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #edf1e9;background:#fff;cursor:pointer;text-align:left}.event-row:hover{background:#f2f6ed}.event-row.selected{background:#eaf2e5;border-left:4px solid #43734d;padding-left:13px}
.event-symbol{display:grid;place-items:center;background:#e7efe3;border-radius:10px;width:42px;height:42px;font-size:19px;flex:none}.event-row>span:nth-child(2){flex:1;display:grid;gap:4px;min-width:0}.event-row strong{font-size:12px;color:#24452f}.event-row small{font-size:10px;color:#657b65}.event-row time{font-size:10px;font-weight:900;color:#57765a}
.event-detail{padding:15px 19px;overflow:auto;min-height:100px;flex:1}.event-detail h4{font:400 24px 'DM Serif Display',Georgia,serif;margin:5px 0 12px}.event-detail p{font-size:12px;margin:6px 0 13px;color:#58705c}.info-pills{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.info-pills span{background:#edf3e8;border:1px solid #d3e1d0;padding:7px 10px;border-radius:7px;color:#3e6246;font-size:10px;font-weight:700}.event-actions{display:flex;flex-wrap:wrap;gap:7px}.event-actions button{padding:10px 12px;border-radius:9px;background:#ecf4e8;color:#2e5b40;border:1px solid #c9d9c4;font-size:11px;font-weight:800}.event-detail .photo{max-width:100%;max-height:145px;border-radius:10px;display:block;margin:12px 0}
.player{padding:17px 19px;margin-top:16px}.player[hidden]{display:none}.player-head,.player-foot{display:flex;justify-content:space-between;align-items:center;gap:14px}.player-head div{display:flex;gap:14px;align-items:center}.player-head strong{font-size:13px}.player-head span,.player-foot{font-size:11px;color:#6b7f6e}.player input{width:100%;margin:13px 0 5px;accent-color:#376d47;cursor:pointer}.player-foot button{padding:6px 9px;background:#eff5eb;border-radius:7px;border:1px solid #d3dfcf;font-size:11px;color:#527257}.player-foot button.on{background:#2f5e42;color:#fff}
.feature-content{padding:clamp(18px,3vw,32px);margin-top:17px;min-height:235px}.feature-content h3{font:400 clamp(24px,3vw,35px)/1.1 'DM Serif Display',Georgia,serif;color:#244c33;margin:6px 0 14px}.feature-content .sub{font-size:13px;color:#637967;max-width:850px}.feature-content .feature-intro{margin-bottom:24px}
.feature-content .feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.feature-tile{background:#f3f7ef;border:1px solid #d3e1ce;border-radius:12px;padding:18px;min-width:0}.feature-tile h4{font:400 21px 'DM Serif Display',Georgia,serif;margin:0 0 10px}.feature-tile p,.feature-tile small{font-size:12px;color:#607664}.feature-tile strong{font-size:28px;display:block;color:#2a5c3e;font-weight:700}.feature-tile button{padding:10px 12px;border:1px solid #bbd0b6;border-radius:8px;background:#fff;font-size:11px;font-weight:800;color:#376444}
.feature-content .activity{border:1px solid #d7e2d0;background:#fafcf8;border-radius:12px;padding:20px;margin-top:14px;display:grid;gap:12px}
.feature-content .activity input:not([type=checkbox]):not([type=range]),.feature-content .activity select,.feature-content .activity textarea{width:100%;padding:11px 12px;border:1px solid #bdd0bb;border-radius:9px;background:#fffefa;color:#263d2f;font-size:13px}
.feature-content .activity label{display:grid;gap:6px;color:#4a654f;font-size:12px;font-weight:800}.feature-content .activity .row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.feature-content .activity button{justify-self:start;padding:12px 16px;background:#2a5c3e;color:#fff;border:0;border-radius:9px;font-size:12px;font-weight:900}
.feature-content table{width:100%;border-collapse:collapse;font-size:12px}.feature-content th,.feature-content td{padding:12px 10px;text-align:left;border-bottom:1px solid #dfE7dB}.feature-content th{font-weight:850;color:#55705b}.feature-content .table-wrap{overflow-x:auto}
.chart{width:100%;height:150px;overflow:visible;background:#edf2e7;border-radius:10px}.chart path{fill:none;stroke:#407c53;stroke-width:2.4;vector-effect:non-scaling-stroke}.chart .shade{fill:#b5d8b04d;stroke:none}.chart .line-muted{stroke:#8eac90;stroke-width:1.2;stroke-dasharray:4 4}
.feature-content .micro{font-size:11px;color:#648068}.feature-content .highlight{background:#e4f0df;border-radius:12px;padding:19px;border:1px solid #cee0c5}.feature-content blockquote{border-left:4px solid #74a27a;padding:10px 17px;color:#36513c;background:#f3f8ee;margin:13px 0;font-size:13px}
.related{display:flex;gap:24px;align-items:center;justify-content:space-between;margin-top:17px;padding:22px 25px;background:#1e3b2b;color:#fff}.related h3{font:400 28px 'DM Serif Display',Georgia,serif;margin:10px 0}.related p{max-width:720px;font-size:12px;color:#d2e0cf;margin:0}.related button{white-space:nowrap;background:#d6bd78;border:0;padding:14px 18px;border-radius:9px;color:#233f2e;font-size:12px;font-weight:900}
.workspace footer{padding:30px 0;color:#728373;font-size:10px;text-align:center}
dialog{border:1px solid #b7cbb4;padding:0;border-radius:17px;box-shadow:0 20px 70px #05170ea6;background:#fbfdf8;color:#2c4533;max-width:95vw}dialog::backdrop{background:#091e16c9;backdrop-filter:blur(5px)}
.event-form{padding:25px;width:min(570px,92vw);display:grid;gap:14px;max-height:90dvh;overflow:auto}.event-form label{display:grid;gap:7px;font-size:12px;font-weight:850}.event-form input,.event-form select,.event-form textarea{padding:12px 13px;width:100%;border-radius:9px;background:#fff;border:1px solid #c0d1ba;color:#24442c}.event-form .form-two{display:grid;grid-template-columns:1fr 1fr;gap:13px}.event-form .dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.event-form h2{font:400 31px 'DM Serif Display',Georgia,serif;margin:0}.dialog-head button{font-size:28px;border:0;background:transparent;color:#32513a}.form-note{font-size:11px;color:#607461;margin:0}.form-actions{display:flex;gap:10px;justify-content:space-between}.form-actions button{padding:12px 15px;border-radius:9px}.form-actions .danger{background:#fff3f0;border:1px solid #dec0bc;color:#964b42;font-weight:800}
.search-dialog{width:96vw;max-width:96vw;height:96dvh;max-height:96dvh;overflow:hidden;display:flex;flex-direction:column}.search-dialog:not([open]){display:none}.iframe-top{background:#1e392a;color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center;padding:14px 21px}.iframe-top strong{display:block;font:400 23px 'DM Serif Display',Georgia,serif}.iframe-top small{font-size:10px;color:#cae0c6}.iframe-top button{background:#3d5a48;color:#fff;border:1px solid #7f947a;border-radius:9px;font-size:25px;min-width:46px;height:43px}.search-dialog iframe{height:100%;width:100%;border:0}
@media(max-width:1250px){.app-grid{grid-template-columns:210px minmax(0,1fr)}.intro{grid-template-columns:1fr}.core-grid{grid-template-columns:1fr}.eventsbox{max-height:none}.event-list{max-height:265px}.feature-content .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.topbar{height:65px}.topbar-right .safe{display:none}.intro{padding:25px 19px}.app-grid{grid-template-columns:1fr}.rail{min-height:0;align-self:auto;position:sticky;top:0;z-index:12;box-shadow:0 6px 14px #11281e3b}.rail-head,.rail-foot{display:none}#featureNav{display:flex;align-items:center;overflow-x:auto;padding:9px;gap:5px;scrollbar-width:thin}.nav-label{display:none}.nav-item{white-space:nowrap;padding:9px 10px;min-height:40px}.workspace{padding:15px}.case-picker{grid-template-columns:1fr 1fr}.case-btn{padding:15px;min-height:115px}.case-btn strong{font-size:20px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading{align-items:flex-start;flex-direction:column}.heading-actions{justify-content:start}.related{flex-direction:column;align-items:start}.related button{white-space:normal}.feature-content .feature-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.logo{font-size:15px}.logo img{width:37px;height:37px}.exit{padding:8px;font-size:10px}.intro h1{font-size:39px}.intro p:last-child{font-size:12px}.case-btn strong{font-size:18px}.case-btn small{font-size:10px}.case-kicker{font-size:8px}#map{height:400px}.eventsbox .panelhead{padding:13px}.heading-actions button{padding:10px 12px}.map-toolbar,.map-foot{padding:11px}.map-choices{gap:4px}.map-choices label{font-size:10px}.stat{padding:13px}.stat strong{font-size:25px}.feature-content .feature-grid,.feature-content .activity .row{grid-template-columns:1fr}.player-foot{flex-direction:column;align-items:start}.related h3{font-size:24px}.event-form{padding:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


/* Constrain long navigation and tiles on compact touch screens. */
@media(max-width:800px){
 html,body{max-width:100%;overflow-x:clip}
 .app-grid{grid-template-columns:minmax(0,1fr);width:100%;min-width:0}
 .rail,.workspace,.intro,.feature-content,.eventsbox,.mapbox{min-width:0;max-width:100%}
 .rail{width:100vw}
 #featureNav{width:100%;max-width:100vw;min-width:0;overflow-x:auto}
 .intro{grid-template-columns:minmax(0,1fr)}
 .case-picker{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
 .case-btn{min-width:0;overflow-wrap:anywhere}
 .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:430px){
 .map-toolbar{flex-wrap:wrap}
 .panelhead{min-width:0}
 .heading,.heading-actions{max-width:100%;min-width:0}
 .heading-actions button{max-width:100%;white-space:normal}
 .player{min-width:0}
}


/* Owner-provided eleven-photo contact sheet. Individual marker positions are illustrative. */
.story-photo{
 display:block;flex:none;width:100%;aspect-ratio:1/1;min-width:0;
 background:#e3eadd;
 background-size:300% 400%;border-radius:13px;border:1px solid #d5ddce;
 box-shadow:0 4px 15px #16312618;
}
.event-detail .story-photo{
 width:min(100%,340px);height:auto;aspect-ratio:1/1;margin:15px auto;
}
.story-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:18px 0}
.story-gallery-item{background:#fffef7;border:1px solid #d1dfc7;border-radius:13px;padding:9px;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:10px;cursor:pointer;text-align:left;transition:transform .15s ease,border-color .15s ease}
.story-gallery-item:hover{transform:translateY(-2px);border-color:#59835b}
.story-gallery-item span:last-child{font-size:11px;line-height:1.4;color:#48664f;font-weight:700;padding:1px 2px}
.story-gallery-item:focus-visible{outline:3px solid #ac984e;outline-offset:2px}
@media(max-width:1050px){.story-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.story-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.story-gallery-item{padding:6px}}
/* Keep the original GPS map prominent on desktop and usable in a narrow phone. */
.mapbox,.eventsbox,.core-grid,.workspace{min-width:0}
@media(max-width:520px){.mapbox{overflow:hidden}.eventsbox{overflow:hidden}.map-foot,.map-toolbar{min-width:0}.map-status{min-width:0;overflow-wrap:anywhere}.feature-intro h3{overflow-wrap:break-word} }

.story-photo{background:none!important;object-fit:cover;object-position:center 45%;height:auto;max-height:none}
.story-gallery-item .story-photo{aspect-ratio:4/5;width:100%;height:auto}
.event-detail .story-photo{width:min(100%,460px);aspect-ratio:3/4;max-height:600px;margin:15px auto}


/* Explorer workspace v3: selecting any left navigation item opens a REAL foreground panel. */
@media(min-width:801px){
 .app-grid{align-items:stretch}
 .rail{position:sticky;top:0;height:100dvh;max-height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;align-self:start}
 .rail-head{position:static;flex:none;padding:21px 18px 14px;border-bottom:1px solid #44624b}
 #featureNav{display:flex;flex-direction:column;align-items:stretch;overflow-y:auto;overflow-x:hidden;min-height:0;flex:1;padding:12px 11px 20px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#73917a #193b2a}
 .rail-foot{position:static;flex:none;padding:12px 13px}
 .rail-foot span{font-size:10px}
 .nav-label{margin:12px 8px 5px}
 .nav-item{flex:none;width:100%;min-height:42px;transition:background .14s ease,transform .14s ease}
 .nav-item.active{box-shadow:inset 3px 0 0 #b79b55}
 .nav-item:hover{transform:translateX(2px)}
}
.workspace{scroll-margin-top:14px}
.module-toolbar[hidden],.feature-content[hidden]{display:none!important}
.module-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;background:#e7eee2;border:1px solid #cbd8c6;border-bottom:0;border-radius:16px 16px 0 0;padding:13px 18px;margin-top:20px}
.module-toolbar button{border:1px solid #c4d5bc;padding:10px 14px;font-size:12px;font-weight:850;cursor:pointer;border-radius:9px;background:#fff;color:#284e36}
.module-toolbar .module-back{background:#28533b;color:#fff;border-color:#28533b}
.module-toolbar .module-map-toggle[aria-expanded=true]{background:#e0cf98;border-color:#c2ad79;color:#3f3b29}
.module-position{flex:1;min-width:150px;color:#47684f;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
.workspace.module-open>.feature-content{display:block!important;min-height:440px;background:#fffefa;border:1px solid #cbd8c6;border-radius:0 0 16px 16px;padding:clamp(22px,3vw,42px);margin-top:0;box-shadow:0 16px 30px #243e2611}
.workspace:not(.module-open)>.feature-content{display:none}
.workspace.module-open>.stat-grid,.workspace.module-open>.core-grid,.workspace.module-open>.player{display:none}
.workspace.module-open.show-map-context>.stat-grid{display:grid;margin-top:22px}
.workspace.module-open.show-map-context>.core-grid{display:grid}
.workspace.module-open.show-map-context>.player{display:block}
.workspace.module-open.show-map-context>.player[hidden]{display:none}
.workspace.module-open>.related{margin-top:20px}
.workspace.module-open>.heading{padding:17px 22px;background:#203e2e;border-radius:14px;color:#fff;margin-bottom:0}
.workspace.module-open>.heading h2{color:#fff;font-size:clamp(28px,3.4vw,43px)}
.workspace.module-open>.heading .eyebrow{color:#d7c78c}
.workspace.module-open>.heading p{color:#d7e3d4}
.workspace.module-open>.heading-actions button{background:#e7f0e2;color:#28513a;border-color:#bcd2b8}
.workspace.module-open>.heading-actions .primary{background:#d4bd7b;border-color:#d4bd7b;color:#253d2b}
.workspace.module-open>.feature-content .feature-intro h3{font-size:clamp(31px,3vw,43px);color:#1a3d2b;max-width:900px}
.workspace.module-open>.feature-content .feature-intro .sub{font-size:14px;max-width:950px;line-height:1.75}
.workspace.module-open>.feature-content .feature-tile{background:#f3f7ee;border-color:#d1deca;transition:box-shadow .15s ease}
.workspace.module-open>.feature-content .feature-tile:hover{box-shadow:0 5px 22px #18321f17}
.workspace.module-open>.feature-content .feature-tile strong{font-size:clamp(24px,2.4vw,33px)}
.workspace.module-open>.feature-content .highlight{background:#eef3e8;border-color:#d1dfc9}
.workspace.module-open>.feature-content .highlight strong{color:#244e38}
.workspace.module-open>.feature-content .story-gallery{margin-top:18px}
.workspace.module-open>.feature-content button:focus-visible{outline:3px solid #a68d45;outline-offset:3px}
.workspace.module-open>.feature-content .feature-grid{gap:15px}
.workspace.module-open>.feature-content .activity{box-shadow:0 4px 15px #1f32100c}
.workspace.module-open>.feature-content table{background:#fff;border:1px solid #e2e8dd;border-radius:10px}
.workspace.module-open>.feature-content table th{background:#eaf0e5;color:#3a6447;position:sticky;top:0}
.workspace.module-open>.feature-content .table-wrap{max-height:540px;overflow:auto;border-radius:11px}
.workspace .heading, .workspace .module-toolbar{scroll-margin-top:15px}
@media(max-width:800px){
 .module-toolbar{margin-top:12px;padding:12px;gap:8px}
 .module-toolbar button{padding:10px 12px;font-size:11px}
 .module-position{order:3;flex-basis:100%;font-size:10px}
 .workspace.module-open>.heading{padding:16px}
 .workspace.module-open>.feature-content{padding:17px}
 .workspace.module-open>.feature-content .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace.module-open>.feature-content .feature-tile{padding:13px}
 .workspace.module-open>.feature-content .feature-tile h4{font-size:19px}
 #featureNav .nav-item.active{box-shadow:inset 0 -3px #d7bd78}
 .workspace{scroll-margin-top:67px}
 .workspace .heading{scroll-margin-top:70px}
}
@media(max-width:520px){
 .workspace.module-open>.feature-content .feature-grid{grid-template-columns:1fr}
 .module-toolbar{justify-content:space-between}
 .module-toolbar button{min-height:42px}
}

/* Original public-app shell: no miniature copies and no private customer pages. */
.full-feature-dialog{width:98vw;max-width:98vw;height:97dvh;max-height:97dvh;padding:0;margin:auto;border-radius:16px;background:#f7f9f3;color:#203c2a;border:1px solid #d1dec8;box-shadow:0 24px 90px #071a1499;overflow:hidden}
.full-feature-dialog[open]{display:flex;flex-direction:column}
.full-feature-dialog::backdrop{background:#071c15d9;backdrop-filter:blur(6px)}
.full-feature-topbar{background:#162f23;color:#f5f3e9;padding:15px clamp(15px,2.5vw,32px);display:flex;gap:20px;justify-content:space-between;align-items:center;flex:none}
.full-feature-topbar h2{font:400 clamp(23px,2.9vw,35px)/1.06 'DM Serif Display',Georgia,serif;margin:5px 0}
.full-feature-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;color:#d7c27f}
.full-feature-topbar small{color:#c7d8c7;font-size:11px;line-height:1.4}
.full-feature-topbar button{flex:none;background:#315341;border:1px solid #6f8c76;color:#fff;border-radius:9px;min-height:45px;padding:11px 17px;font-size:12px;font-weight:850}
.full-feature-dialog iframe{width:100%;height:100%;min-height:0;flex:1;border:0;background:#f5f7f0;display:block}
.full-feature-loading{padding:15px 24px;color:#44644c;background:#edf3e8;font-size:13px}
.full-feature-loading[hidden]{display:none}
.full-feature-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#edf3e9;border-top:1px solid #c9d7c3;padding:10px 22px;flex:none;font-size:11px;color:#57705b}
.full-feature-foot button{background:#2b573f;color:#fff;border:0;padding:11px 16px;border-radius:9px;font-size:11px;font-weight:850}
@media(max-width:760px){
 .full-feature-dialog{height:100dvh;max-height:100dvh;width:100vw;max-width:100vw;border:0;border-radius:0;margin:0}
 .full-feature-topbar{padding:12px 13px;gap:10px}
 .full-feature-topbar h2{font-size:21px}
 .full-feature-topbar small{display:none}
 .full-feature-topbar button{padding:10px 12px;min-height:40px}
 .full-feature-foot{padding:9px 12px}
 .full-feature-foot span{max-width:55%}
}

/* UNIFIED EXPLORER — one continuous application surface, no stacked feature modals. */
.workspace.module-open>#featureContent[hidden]{display:none!important}
.workspace.module-open>#nativeFeatureStage[hidden],#nativeFeatureStage[hidden],.native-feature-view[hidden]{display:none!important}
.native-feature-stage{background:#f8faf5;border:1px solid #cbdcc8;border-radius:0 0 16px 16px;overflow:hidden;min-width:0;box-shadow:0 14px 36px #17362016}
.native-feature-heading{padding:18px 24px 16px;background:linear-gradient(110deg,#ecf2e7,#f8faf4);border-bottom:1px solid #cfddcc}
.native-feature-heading .eyebrow{font-size:9px;letter-spacing:.13em;font-weight:850;color:#62806b}
.native-feature-heading h3{margin:9px 0 5px;font:400 clamp(24px,2.9vw,35px)/1.17 'DM Serif Display',Georgia,serif;color:#274d37}
.native-feature-heading p{margin:0;font-size:12px;color:#6c816b;line-height:1.6}
.native-feature-frames,.native-feature-view{min-width:0;min-height:0}
.native-feature-iframe{display:block;width:100%;height:clamp(620px,76dvh,980px);min-width:0;border:0;background:#f6f9f3}
.native-feature-wait{margin:0;padding:12px 18px;background:#edf4e9;font-size:12px;color:#547257}
.native-feature-wait[hidden]{display:none}
.native-feature-wait[data-failed="true"]{background:#f4eee6;color:#765b37}
.trip-context-strip{display:flex;align-items:center;gap:15px;min-width:0;flex-wrap:wrap;padding:12px 18px;background:#284d39;color:#eaf3e5;border:1px solid #3b6850;border-radius:13px;margin:13px 0 0}
.trip-context-strip[hidden]{display:none!important}
.trip-context-strip>span{font-size:12px;line-height:1.4}
.trip-context-strip .trip-context-dog{background:#b3c89d28;padding:7px 11px;border-radius:7px;color:#f5eed7}
.trip-context-strip .trip-context-distance{font-weight:850}
#contextPosition{color:#cfdfcb;flex:1;min-width:165px}
.trip-context-strip button{background:#e4eddc;border:0;border-radius:8px;padding:10px 12px;color:#284d37;min-height:38px;font-size:11px;font-weight:800;cursor:pointer}
.workspace.module-open>.trip-context-strip+.feature-content:not([hidden]),.workspace.module-open>.trip-context-strip+.feature-content[hidden]+.native-feature-stage{margin-top:0}
.workspace.module-open>.module-toolbar{border-radius:14px 14px 0 0}
.workspace.module-open>.module-toolbar~.trip-context-strip{border-radius:0;margin-top:0}
.workspace.module-open>.heading{margin-bottom:0}
.workspace.module-open>.native-feature-stage{margin-top:0}
.workspace.module-open>.heading~.module-toolbar[hidden]{display:none}
.workspace.module-open>.heading-actions button{min-height:40px}
.workspace.module-open>.native-feature-stage{scroll-margin-top:12px}
.workspace.module-open>.native-feature-stage:focus{outline:0}
@media(min-width:801px){
 .app-grid{align-items:stretch}
 .rail{height:100dvh;max-height:100dvh;top:0}
 .workspace.module-open>.native-feature-stage{min-height:590px}
}
@media(max-width:800px){
 .native-feature-iframe{height:clamp(560px,71dvh,800px)}
 .native-feature-heading{padding:14px 15px}
 .native-feature-heading h3{font-size:24px}
 .trip-context-strip{gap:8px;padding:9px 11px}
 .trip-context-strip button{flex:1}
 .workspace.module-open>.native-feature-stage{border-radius:0 0 12px 12px}
}
@media(max-width:520px){
 .trip-context-strip .trip-context-dog{font-size:10px}
 .trip-context-strip>span{font-size:11px}
 #contextPosition{flex-basis:100%;font-size:10px}
 .native-feature-iframe{height:70dvh;min-height:540px}
}

/* Product explorer: persistent app navigation, clearer full-size original tools. */
@media(min-width:1000px){
 .app-grid{grid-template-columns:268px minmax(0,1fr)}
 .app-grid>.rail{position:sticky;top:0;height:100dvh;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .rail-head{position:sticky;top:0;padding-block:17px 12px}
 .rail-foot{position:static;margin-top:8px}
 #featureNav{padding-bottom:8px;gap:2px}
 .nav-item{min-height:40px;padding:9px 12px}
 .intro{padding-block:24px;grid-template-columns:minmax(0,1fr) minmax(340px,.8fr)}
 .intro h1{font-size:clamp(32px,4vw,50px);margin:8px 0}
 .case-btn{min-height:106px;padding:13px 15px}
 .workspace{padding:clamp(17px,2vw,28px)}
 .native-feature-iframe{height:max(710px,calc(100dvh - 190px))}
}
.native-feature-stage:not([hidden]){box-shadow:0 12px 38px #1736201c;border-radius:0 0 16px 16px}
.native-feature-heading{padding:13px 19px}
.native-feature-heading h3{font-size:clamp(23px,2.6vw,32px)}
@media(max-width:999px){.native-feature-iframe{height:max(630px,76dvh)}}

/* LUNA-ONLY guided first experience. The 19 original working tools remain; no duplicate mini demos. */
.luna-hero{grid-template-columns:minmax(0,1fr) minmax(255px,320px);gap:30px;padding:clamp(23px,3vw,39px) clamp(19px,5vw,75px)}
.luna-hero h1{margin:9px 0 11px;font-size:clamp(36px,4.8vw,62px)}
.luna-hero p:not(.eyebrow){max-width:790px;line-height:1.65}
.luna-hero-tags{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 19px}
.luna-hero-tags span{background:#cfe0c71a;border:1px solid #92b59a66;border-radius:999px;color:#e5f0d7;font-size:10px;font-weight:700;padding:7px 11px}
.luna-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.luna-hero-actions button{border:1px solid #77967c;background:transparent;color:#f3f5eb;min-height:44px;padding:12px 18px;border-radius:9px;font-size:12px;font-weight:800;cursor:pointer}
.luna-hero-actions button:hover{background:#355740}
.luna-hero-actions .luna-hero-main{color:#213d2d;background:#e4ce91;border-color:#e4ce91}
.luna-hero-actions .luna-hero-main:hover{background:#f0dba2}
.luna-dog-card{display:flex;align-items:center;gap:16px;padding:21px;border:1px solid #6b886b;border-radius:18px;background:linear-gradient(135deg,#31583caa,#223d2ede);box-shadow:0 10px 30px #07150b2d}
.luna-dog-card img{width:105px;height:105px;object-fit:cover;flex:none;border-radius:17px;border:2px solid #d9c88e;background:#f1f1e6}
.luna-dog-card div{display:grid;gap:5px}
.luna-dog-card small{color:#d9c48a;font-size:10px;font-weight:900;letter-spacing:.12em}
.luna-dog-card strong{font:400 33px/1.1 'DM Serif Display',Georgia,serif}
.luna-dog-card span{font-size:11px;color:#d9e5d4;line-height:1.55}
.demo-journey{padding:19px clamp(19px,4.5vw,70px) 21px;background:#f8faf5;border-bottom:1px solid #d4dfd0}
.demo-journey-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 auto 12px;max-width:1740px}
.demo-journey h2{font:400 clamp(23px,2.7vw,31px)/1.2 'DM Serif Display',Georgia,serif;margin:5px 0}
.demo-journey-head p{color:#687d6a;font-size:11px;margin:0 0 4px}
.journey-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;max-width:1740px;margin:0 auto}
.journey-cards button{display:flex;text-align:left;align-items:start;gap:13px;padding:14px 15px;border-radius:13px;border:1px solid #cad9c4;background:#fffefa;min-width:0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.journey-cards button:hover,.journey-cards button:focus-visible{border-color:#789971;box-shadow:0 6px 19px #29452e1b}
.journey-number{display:grid;place-items:center;border-radius:8px;color:#e8ecd8;background:#315842;font-size:12px;font-weight:900;width:36px;height:36px;flex:none}
.journey-cards button>span:nth-child(2){display:grid;gap:5px;flex:1;min-width:0}
.journey-cards strong{font-size:13px;color:#234a32}
.journey-cards small{font-size:11px;color:#617965;line-height:1.5}
.journey-chevron{color:#658567;font-size:16px}
.hunt-switcher{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#e8f0e3;border:1px solid #cbdcc4;border-radius:12px;padding:14px 18px;margin:0 0 16px}
.hunt-switcher-copy{display:grid;gap:3px;min-width:0}
.hunt-switcher-copy strong{color:#244b35;font-size:15px}
.hunt-switcher-copy span:last-child{font-size:11px;color:#637865;line-height:1.4}
.hunt-switcher label{display:grid;gap:5px;font-size:10px;letter-spacing:.04em;color:#47654d;font-weight:800;flex:0 1 360px;min-width:170px}
.hunt-switcher select{min-width:0;width:100%;max-width:100%;border:1px solid #b8ceb4;border-radius:8px;background:#fffefb;color:#274b35;font-size:12px;padding:10px 12px;min-height:41px;cursor:pointer}
.workspace.module-open>.hunt-switcher{margin:12px 0 14px}
.season-pulse{margin:19px 0;background:#fffefa;border:1px solid #d3dfce;border-radius:15px;padding:20px 22px;box-shadow:0 5px 20px #1833210c}
.pulse-top{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:13px}
.pulse-top h3{font:400 clamp(22px,2.4vw,30px)/1.2 'DM Serif Display',Georgia,serif;margin:6px 0}
.pulse-top p{color:#6a7f6b;font-size:11px;margin:3px 0}
.pulse-pill{font-size:10px;background:#e9f1e5;color:#3a6446;border:1px solid #cbdcc7;padding:7px 10px;border-radius:99px;white-space:nowrap;font-weight:800}
.pulse-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pulse-year{display:grid;grid-template-columns:1fr auto;column-gap:9px;row-gap:7px;text-align:left;border:1px solid #d5dfd1;background:#f9fbf7;border-radius:11px;padding:13px;min-width:0}
.pulse-year.selected{border:2px solid #568060;background:#edf4e9;padding:12px}
.pulse-year:hover{border-color:#8aa989}
.pulse-year>span:first-child{display:grid;gap:2px}.pulse-year>span:first-child b{font-size:17px;color:#264e38}
.pulse-year small{font-size:10px;color:#617a62;font-weight:650}
.pulse-year>strong{font-size:14px;color:#285b3e;align-self:start}
.pulse-year>.pulse-bar{grid-column:1/-1;display:block;background:#e0eadd;height:8px;border-radius:99px;overflow:hidden}
.pulse-year>.pulse-bar i{display:block;height:100%;background:linear-gradient(90deg,#9ab985,#355d43);border-radius:99px}
.pulse-foot{font-size:10px;color:#738370;margin:13px 0 0}
.workspace.module-open>.season-pulse{display:none}
@media(max-width:1080px){.luna-hero{grid-template-columns:minmax(0,1fr) 250px}.luna-dog-card{flex-direction:column;text-align:center;padding:17px}.demo-journey-head p{display:none}}
@media(max-width:800px){.luna-hero{grid-template-columns:1fr}.luna-dog-card{flex-direction:row;max-width:500px}.journey-cards{grid-template-columns:1fr}.demo-journey{padding:15px 16px}.journey-cards button{padding:11px 13px}.pulse-years{grid-template-columns:1fr 1fr 1fr}.hunt-switcher{gap:9px}.hunt-switcher label{flex-basis:260px}}
@media(max-width:590px){.luna-hero h1{font-size:39px}.luna-hero{padding:21px 17px}.luna-hero-tags{margin:11px 0 14px}.luna-hero-tags span{padding:5px 8px}.luna-dog-card img{width:77px;height:77px}.luna-dog-card strong{font-size:27px}.luna-dog-card{padding:13px}.luna-hero-actions button{flex:1;padding:11px 8px}.demo-journey-head{margin-bottom:11px}.hunt-switcher{flex-direction:column;align-items:stretch;padding:12px}.hunt-switcher label{width:100%;flex-basis:auto}.season-pulse{padding:14px}.pulse-top{flex-wrap:wrap;gap:8px}.pulse-years{grid-template-columns:1fr}.pulse-year{grid-template-columns:1fr auto}.pulse-year>.pulse-bar{grid-row:2}.pulse-year>small{grid-row:3}.pulse-pill{font-size:9px}}
@media(prefers-reduced-motion:reduce){.journey-cards button{transition:none}}

/* Native full product is an optional deep-dive INSIDE the same explorer. */
.nav-item[data-feature="customer"]{border:1px solid #cab77b;color:#f8f0ce;background:#446042;font-weight:900}
.nav-item[data-feature="customer"]:hover{background:#5b7447}
.nav-item[data-feature="customer"].active{background:#e9dcae;color:#203e2c;border-color:#d1bc78}
.native-feature-view[data-native-feature="customer"] .native-feature-iframe{height:max(790px,calc(100dvh - 175px));background:#f8faf5}
.native-feature-view[data-native-feature="customer"]{border-top:3px solid #c6ac6e}
.luna-hero-actions .luna-customer-action{border-color:#d2bb7f;color:#f2e5c8}
@media(max-width:800px){.native-feature-view[data-native-feature="customer"] .native-feature-iframe{height:82dvh;min-height:640px}}


/* Full-feature Luna in the existing homepage demo dialog, never in a scroll-to section */
html.luna-embedded,html.luna-embedded body{height:100%;min-height:100%;overflow:hidden}
html.luna-embedded .topbar,html.luna-embedded .luna-hero,html.luna-embedded #demoJourney{display:none!important}
html.luna-embedded .app-grid{height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(205px,258px) minmax(0,1fr)}
html.luna-embedded .rail{min-height:0;max-height:100dvh;overflow:auto;position:sticky;top:0}
html.luna-embedded .workspace{min-height:0;height:100dvh;overflow-y:auto;scrollbar-gutter:stable;padding-bottom:32px}
@media(max-width:760px){
 html.luna-embedded,html.luna-embedded body{height:auto;overflow:auto}
 html.luna-embedded .app-grid{height:auto;min-height:100dvh;display:flex;flex-direction:column;overflow:visible}
 html.luna-embedded .rail{position:sticky;top:0;z-index:30;width:100%;max-height:136px;min-height:0;overflow:auto}
 html.luna-embedded .workspace{height:auto;min-height:70dvh;overflow:visible;width:100%}
}

/* Full-page, public Luna-only launch: no nested popup, accessible return home. */
html.luna-fullscreen .topbar{position:sticky;top:0;z-index:80;height:60px;min-height:60px;box-sizing:border-box;box-shadow:0 5px 18px #06170f38}
html.luna-fullscreen .topbar-right .safe{font-size:10px}
html.luna-fullscreen .topbar .exit{background:#e7d3a0;border:1px solid #e7d3a0;color:#203c2a;border-radius:9px;padding:10px 15px;font-size:13px;white-space:nowrap}
html.luna-fullscreen .topbar .exit:hover,html.luna-fullscreen .topbar .exit:focus-visible{background:#fff1c8;outline-offset:3px}
html.luna-fullscreen .luna-hero,html.luna-fullscreen #demoJourney{display:none}
html.luna-fullscreen .app-grid{max-width:none;grid-template-columns:256px minmax(0,1fr)}
html.luna-fullscreen .workspace{padding:clamp(12px,1.6vw,24px)}
html.luna-fullscreen .app-grid>.rail{top:60px;height:calc(100dvh - 60px);max-height:calc(100dvh - 60px)}
html.luna-fullscreen .native-feature-view[data-native-feature="customer"] .native-feature-iframe{height:max(800px,calc(100dvh - 230px))}
html.luna-fullscreen .native-feature-iframe{height:max(710px,calc(100dvh - 215px))}
@media(max-width:800px){
 html.luna-fullscreen .topbar{height:59px;min-height:59px;padding:0 12px}
 html.luna-fullscreen .topbar .exit{padding:10px 11px;font-size:11px}
 html.luna-fullscreen .app-grid{grid-template-columns:minmax(0,1fr)}
 html.luna-fullscreen .app-grid>.rail{top:59px;height:auto;max-height:62px;overflow:hidden;width:100%}
 html.luna-fullscreen .app-grid>.rail #featureNav{min-height:58px;max-height:62px}
 html.luna-fullscreen .workspace{padding:12px 11px 25px}
 html.luna-fullscreen .native-feature-iframe,html.luna-fullscreen .native-feature-view[data-native-feature="customer"] .native-feature-iframe{height:max(680px,calc(100dvh - 190px))}
}
@media(max-width:520px){
 html.luna-fullscreen .logo{gap:5px;font-size:12px}
 html.luna-fullscreen .logo small{font-size:8px}
 html.luna-fullscreen .topbar .exit{font-size:10px;padding:9px 8px}
}


/* Full-page Luna: one clear top bar instead of stacked explorer + customer headers.
   The original customer UI and its operational controls remain unchanged. */
html.luna-fullscreen .workspace.module-open.luna-customer-focus>.heading,
html.luna-fullscreen .workspace.module-open.luna-customer-focus>.hunt-switcher,
html.luna-fullscreen .workspace.module-open.luna-customer-focus>.trip-context-strip,
html.luna-fullscreen .workspace.module-open.luna-customer-focus>.native-feature-stage .native-feature-heading{display:none!important}
html.luna-fullscreen .workspace.luna-customer-focus>.module-toolbar{
 margin:0;padding:7px 13px;min-height:53px;gap:10px;border:1px solid #cbd8c6;border-radius:12px 12px 0 0;
 background:#edf3e9;scroll-margin-top:70px;
}
html.luna-fullscreen .workspace.luna-customer-focus>.module-toolbar .module-position{font-size:12px;font-weight:800;color:#356149}
html.luna-fullscreen .workspace.luna-customer-focus>.module-toolbar button{min-height:36px;padding:8px 11px}
html.luna-fullscreen .workspace.luna-customer-focus>.native-feature-stage{margin:0;border-radius:0 0 12px 12px;min-height:0}
html.luna-fullscreen .workspace.luna-customer-focus .native-feature-view[data-native-feature="customer"]{border-top:0}
@media(max-width:800px){
 html.luna-fullscreen .workspace.luna-customer-focus>.module-toolbar{scroll-margin-top:126px;flex-wrap:wrap}
 html.luna-fullscreen .workspace.luna-customer-focus>.module-toolbar .module-position{font-size:11px;flex:1}
}


/* Fullscreen Luna: allow the OS to handle smooth inertial scrolling on mobile.
   No cross-frame touchmove preventDefault or manual scrollBy relay. */
html.luna-fullscreen .native-feature-view[data-native-feature="searchmap"]{overflow-anchor:none}
html.luna-fullscreen .native-feature-view[data-native-feature="searchmap"] iframe{overscroll-behavior-y:auto;scrollbar-width:none}
@media(max-width:800px){
 html.luna-fullscreen{scroll-behavior:auto}
 html.luna-fullscreen .native-feature-stage{overflow-anchor:none}
}
/* Luna conversion CTA: visible on the full-page explorer at desktop and mobile sizes.
   The embedded home-page modal uses its own parent-window CTA. */
.luna-signup-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border:1px solid #dfca87;border-radius:9px;background:#f1e2b4;color:#1d3928;font-size:12px;font-weight:850;text-decoration:none;white-space:nowrap}
.luna-signup-cta:hover{background:#fff1c9}
.luna-signup-cta:focus-visible{outline:3px solid #fff1c9;outline-offset:3px}
.luna-signup-short,.luna-exit-short{display:none}
@media(max-width:800px){
 .topbar-right{gap:9px}
 .luna-signup-cta{min-height:40px;padding:8px 11px;font-size:11px}
}
@media(max-width:520px){
 html.luna-fullscreen .topbar{gap:7px;padding-inline:9px}
 html.luna-fullscreen .topbar-right{gap:6px}
 html.luna-fullscreen .logo{min-width:0;letter-spacing:.09em;font-size:11px}
 html.luna-fullscreen .topbar .exit{min-width:36px;padding:9px 10px;text-align:center}
 .luna-signup-long,.luna-exit-long{display:none}
 .luna-signup-short,.luna-exit-short{display:inline}
}

/* Luna full-page mobile: quick access to the ACTUAL customer statistics.
   Never duplicate stat calculations or change paid customer UI. */
.module-mobile-stats{display:none!important}
@media(max-width:800px){
 html.luna-fullscreen .workspace.module-open.luna-customer-focus #mobileStatsShortcut{
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:none;min-height:38px;padding:8px 11px;border-radius:9px;
  background:#28583d;color:#fff;border:1px solid #255038;
  font-weight:800;font-size:11px;line-height:1.3;white-space:nowrap
 }
 html.luna-fullscreen .workspace.module-open.luna-customer-focus #mobileStatsShortcut:focus-visible{
  outline:3px solid #bbaa75;outline-offset:2px
 }
}


/* Luna full customer app: the native customer iframe is the ONE vertical
   scroll owner. Do not apply this to customer accounts or other demo tools. */
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport body{
 height:100dvh;min-height:0;overflow:hidden!important;
}
html.luna-embedded.luna-customer-viewport .app-grid{
 height:100dvh;min-height:0;overflow:hidden;
}
html.luna-fullscreen.luna-customer-viewport .app-grid{
 height:calc(100dvh - 60px);min-height:0;overflow:hidden;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .app-grid{
 align-items:stretch;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .app-grid>.rail{
 position:relative;top:auto;align-self:stretch;height:100%;max-height:100%;min-height:0;
 display:flex;flex-direction:column;overflow:hidden;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport #featureNav{
 flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;
 scrollbar-width:none;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport #featureNav::-webkit-scrollbar{
 display:none;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus{
 display:flex;flex-direction:column;min-width:0;min-height:0;height:100%;
 overflow:hidden!important;padding:clamp(6px,1vw,13px);
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.heading,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.hunt-switcher,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.trip-context-strip,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.native-feature-stage .native-feature-heading,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>footer{
 display:none!important;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.module-toolbar{
 flex:0 0 auto;min-height:48px;max-width:100%;margin:0;padding:6px 11px;
 border-radius:11px 11px 0 0;gap:9px;scroll-margin-top:0;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.module-toolbar button{
 min-height:34px;padding:7px 10px;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.native-feature-stage{
 flex:1 1 0;display:flex;flex-direction:column;min-height:0!important;height:auto;
 margin:0;overflow:hidden;border-radius:0 0 11px 11px;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .native-feature-frames,
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .native-feature-view{
 flex:1 1 0;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .native-feature-view[hidden]{
 display:none!important;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .native-feature-wait{
 flex:0 0 auto;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .native-feature-view[data-native-feature="customer"] .native-feature-iframe{
 flex:1 1 0;width:100%;height:100%!important;min-height:0!important;
 overscroll-behavior-y:contain;
}
html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus .notice:not([hidden]){
 position:fixed;z-index:95;top:12px;right:15px;max-width:min(440px,calc(100vw - 30px));
}
@media(max-width:800px){
 html.luna-fullscreen.luna-customer-viewport .app-grid{
  height:calc(100dvh - 59px);
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .app-grid{
  display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-rows:62px minmax(0,1fr);
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .app-grid>.rail{
  position:relative;top:auto;z-index:12;height:62px;max-height:62px;width:100%;
  display:block;overflow:hidden;
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport #featureNav{
  display:flex;flex-direction:row;align-items:center;height:62px;min-height:0;
  max-height:62px;overflow-x:auto;overflow-y:hidden;
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus{
  width:100%;height:100%;min-height:0;padding:5px 6px 8px;
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.module-toolbar{
  gap:5px;padding:5px 7px;
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.module-toolbar .module-position{
  order:0;flex:1 1 auto;min-width:0;font-size:10px;
 }
 html:is(.luna-embedded,.luna-fullscreen).luna-customer-viewport .workspace.luna-customer-focus>.module-toolbar button{
  font-size:10px;min-height:34px;padding:6px 8px;
 }
}


/* Luna public explorer: four complete groups, with two DISTINCT indications:
   bold selected function versus subtle native scroll location. */
.rail-context{
 display:grid;gap:6px;padding:11px 14px 12px;
 background:#234632;border-bottom:1px solid #507056;flex:none;
}
.rail-context-row{display:flex;align-items:baseline;gap:9px;min-width:0}
.rail-context-key{flex:0 0 76px;color:#b6cdb5;font-size:9px;font-weight:750;letter-spacing:.035em}
.rail-context-value{
 color:#f4f4e8;font-size:11px;font-weight:750;
 white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;
}
#featureNav{
 scrollbar-width:thin!important;scrollbar-color:#86a68a #183a29;
}
.luna-nav-home{padding:4px 0 11px;border-bottom:1px solid #53725d}
.luna-main-group{
 display:grid;align-content:start;gap:4px;min-width:0;
 border-top:1px solid #44664d;padding:8px 0 10px;
}
.luna-main-group:first-of-type{border-top:0}
#featureNav .luna-main-group .luna-group-title{
 display:flex;align-items:center;margin:0;padding:12px 9px 9px;
 color:#d7c48e;font-size:10px;font-weight:900;
 letter-spacing:.1em;line-height:1.3;
}
#featureNav .luna-main-group.group-in-view>.luna-group-title{
 color:#f7d98a;
}
#featureNav .luna-main-group.group-in-view>.luna-group-title:before{
 content:"";background:#d8bb74;width:4px;height:11px;
 border-radius:3px;margin-right:7px;flex:none;
}
#featureNav .luna-main-group.group-open>.luna-group-title{color:#e3d29e}
#featureNav .luna-nav-home .nav-item,
#featureNav .luna-main-group>.nav-item{
 position:relative;width:100%;min-height:44px;flex:none;
 padding:9px 11px;line-height:1.25;white-space:normal;
}
#featureNav .luna-nav-home>.nav-item{
 background:#2d523d;color:#f5f0da;border:1px solid #78987b;
 font-weight:850;min-height:49px;
}
#featureNav .nav-item .ico{
 display:grid;place-items:center;width:26px;height:26px;flex:none;
 border:1px solid #6b8873;border-radius:8px;background:#244b35;
 color:#d5e7d8;font-size:0;
}
#featureNav .nav-item .ico svg{width:18px;height:18px;display:block}
#featureNav .nav-item .nav-item-label{flex:1 1 auto;min-width:0}
#featureNav .nav-item.active{
 background:#e3eddf;color:#214932;border-color:#cadac5;
 box-shadow:inset 3px 0 #c3a35a;
}
#featureNav .nav-item.active .ico{
 background:#d3e2cf;border-color:#b2caa9;color:#285a3a;
}
#featureNav .nav-item.in-view:not(.active){
 background:#294d38;color:#f2f5e9;border-color:#51765c;
 box-shadow:none;
}
#featureNav .nav-item.in-view:not(.active) .ico{
 background:#355b43;border-color:#6c9276;color:#f5d88c;
}
#featureNav .nav-current-dot{
 display:none;width:8px;height:8px;flex:none;border-radius:50%;
 border:2px solid #d9c075;margin-left:auto;
}
#featureNav .nav-item.in-view:not(.active) .nav-current-dot{display:block}
#featureNav .nav-item:focus-visible{
 outline:3px solid #e3c780;outline-offset:1px;
}
html:is(.luna-fullscreen,.luna-embedded).luna-customer-viewport #featureNav::-webkit-scrollbar{
 display:block!important;width:7px;height:5px;
}
@media(min-width:801px){
 .app-grid,
 html.luna-fullscreen .app-grid,
 html.luna-embedded .app-grid{
  grid-template-columns:294px minmax(0,1fr);
 }
 .rail-head{padding:18px 18px 12px}
 .rail-head strong{font-size:23px}
 #featureNav{padding:12px 12px 18px}
}
@media(max-width:800px){
 .rail-context{display:none!important}
 #featureNav{gap:7px;overflow-x:auto;overflow-y:hidden}
 .luna-nav-home,.luna-main-group{
  display:flex;align-items:center;gap:5px;flex:none;min-width:0;
  border:0;border-right:1px solid #67816b;padding:0 8px 0 0;
 }
 .luna-nav-home{padding:0 8px 0 0}
 #featureNav .luna-main-group .luna-group-title{display:none}
 #featureNav .luna-nav-home>.nav-item,#featureNav .luna-main-group>.nav-item{
  min-height:40px;width:auto;white-space:nowrap;flex:none;padding:7px 11px;
 }
 #featureNav .nav-item .ico{width:25px;height:25px}
 #featureNav .nav-current-dot{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 #featureNav .nav-item{transition:none}
}

#seasonPulse .pulse-top {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,.8fr) auto;
  align-items:center;gap:clamp(10px,2vw,26px);
  padding:clamp(16px,2vw,28px);border-radius:15px;color:#fff5dd;
  background:repeating-radial-gradient(ellipse at 14% -180%,transparent 0 42px,#bbceb510 43px,transparent 45px),linear-gradient(105deg,#173b2d,#294f39 75%,#19392d);
}
#seasonPulse .pulse-top::before {content:"";grid-area:1/2;width:min(100%,420px);justify-self:center;aspect-ratio:840/271;background:url("/assets/lefty-season-paw-v1.webp") center / contain no-repeat}
#seasonPulse .pulse-top > div:first-child {grid-area:1/1}
#seasonPulse .pulse-top > .pulse-pill {grid-area:1/3}
#seasonPulse .pulse-top h3 {margin:.2em 0;color:#fff6e3;font:500 clamp(26px,3vw,42px)/1.08 Georgia,serif}
#seasonPulse .pulse-top .eyebrow {color:#e5c887}
#seasonPulse .pulse-top #pulseIntro {color:#e4eadb;font:500 .875rem/1.45 system-ui,sans-serif}
@media(max-width:1000px) {
  #seasonPulse .pulse-top {grid-template-columns:minmax(0,1fr) minmax(0,.8fr)}
  #seasonPulse .pulse-top > .pulse-pill {grid-area:2/1/3/-1}
}
@media(max-width:480px) {
  #seasonPulse .pulse-top {grid-template-columns:minmax(0,1fr)}
  #seasonPulse .pulse-top::before {grid-area:2/1;width:min(100%,290px)}
  #seasonPulse .pulse-top > .pulse-pill {grid-area:3/1}
}
