/* V13.1 Green Lab - student-first exploration shell. Intentionally scoped. */
.v131-explore{--v131-text:#183e30;--v131-ink:#315c47;--v131-line:#d4e5d9;--v131-soft:#edf7ef;--v131-cream:#f6f9f3;--v131-accent:#246749;padding:10px!important;border-radius:24px;overflow:visible}
.v131-explore .v131-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 10px}
.v131-brand{display:flex;align-items:center;gap:9px;min-width:0;color:var(--v131-text)}
.v131-brand>img{width:40px;height:40px;background:#e8f5ea;padding:6px;border-radius:13px;object-fit:contain;flex:none}
.v131-brand>div{display:flex;flex-direction:column;gap:1px;min-width:0}
.v131-brand strong{font-size:clamp(15px,2vw,21px);line-height:1.25;white-space:nowrap;font-weight:900;letter-spacing:-.025em}
.v131-brand small{font-size:11px;font-weight:700;color:#6a8b76}
.v131-outline{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #c7decf;background:#fff;color:#315c47;border-radius:12px;padding:10px 15px;min-height:44px;font-size:12px;font-weight:850;white-space:nowrap;cursor:pointer}
.v131-outline:hover,.v131-iconbutton:hover{background:#e9f6ed}
.v131-explore .v131-venue-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:sticky;top:4px;z-index:25;gap:7px;margin:0 0 9px;padding:6px;border:1px solid #dfebdf;background:rgba(244,249,243,.97);border-radius:17px;box-shadow:0 5px 16px #31564311;backdrop-filter:blur(12px)}
.v131-explore .v131-venue-switch .v120-venue{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:9px;min-height:53px;padding:8px 12px;border-radius:12px}
.v131-explore .v131-venue-switch .v120-venue.selected{background:#dcefe0;box-shadow:inset 0 0 0 1px #91b39e;border-color:#a9c8b1}
.v131-explore .v131-venue-switch .v120-venue-icon{width:32px;height:32px;flex:none}
.v131-explore .v131-venue-switch .v120-venue-text strong{font-size:clamp(11px,1.2vw,14px);letter-spacing:0;color:#345740}
.v131-explore .v131-venue-switch .v120-venue-text small,.v131-explore .v131-venue-switch .v120-venue-current{display:none!important}
.v131-actionrail{display:flex;align-items:center;gap:11px;padding:11px 13px;margin-bottom:8px;background:linear-gradient(120deg,#e8f4e9,#f9fcf6);border:1px solid #cee2d3;border-radius:16px;min-width:0}
.v131-action-icon{width:36px;height:36px;border-radius:11px;background:#d7eadc;color:#26734f;display:grid;place-items:center;flex:none}
.v131-action-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:1px}
.v131-action-copy strong{font-weight:900;color:var(--v131-text);font-size:clamp(13px,1.4vw,17px);line-height:1.3}
.v131-action-copy span{font-size:11px;color:#65806d}
.v131-progress{background:#dcece2;border-radius:99px;color:#46715a;padding:5px 9px;font-size:12px;font-weight:800}
.v131-primary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:94px;border:0;border-radius:11px;background:var(--v131-accent);color:white;padding:9px 15px;font-size:13px;font-weight:900;cursor:pointer;transition:transform .15s,background .15s}
.v131-primary:hover{background:#164e36;transform:translateY(-1px)}
.v131-explore .v131-workspace-head{min-height:41px;border:0;background:transparent;padding:0 3px 5px;margin:0;box-shadow:none}
.v131-explore .v131-workspace-head .v120-workspace-title{min-width:0}
.v131-explore .v131-workspace-head .v120-workspace-title strong{font-size:12px;color:#6e8473}
.v131-explore .v131-workspace-head .v120-workspace-tools{display:flex;flex-wrap:nowrap;gap:5px}
.v131-iconbutton{border:1px solid #d4e6d7;border-radius:11px;min-height:40px;min-width:40px;padding:8px;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#36644e;cursor:pointer}
.v131-iconbutton[aria-pressed="true"]{background:#dceee1;color:#225b3e}
.v131-explore #v122-activity-anchor{scroll-margin-top:82px}
.v131-howto{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:12px 14px;margin-bottom:8px;border:1px solid #d4e6d4;border-radius:15px;background:#fff;color:#3b6748;box-shadow:0 6px 16px #294e3614}
.v131-howto-title{width:100%;display:flex;align-items:center;justify-content:space-between}
.v131-howto-title>strong{font-size:14px}
.v131-howto ol{display:flex;flex-wrap:wrap;gap:9px;list-style:none;margin:0;padding:0}
.v131-howto li{display:flex;align-items:center;gap:5px;font-size:12px}
.v131-howto li b{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:#dcefe1;font-size:12px}
.v131-howto small{font-size:10px;color:#829189}
.v131-explore .v131-lab-shell{margin-top:0}
.v131-explore .v131-labnote{margin:0;padding:6px 12px;font-size:10px;color:#7e8b82;background:#fcfdfb}
.v131-explore .v120-lab-surface{height:clamp(540px,80dvh,950px)}
.v131-overlay{position:fixed;inset:0;z-index:2147483000;display:flex;justify-content:flex-end;align-items:stretch}
.v131-overlay-backdrop{position:absolute;inset:0;border:0;background:rgba(8,28,19,.47);cursor:pointer}
.v131-drawer{position:relative;z-index:1;width:min(680px,100%);height:100%;min-height:0;overflow:auto;overscroll-behavior:contain;background:#f7faf7;color:#234834;padding:18px;box-shadow:-10px 0 40px #0d2f2530}
.v131-drawer-header{position:sticky;top:-18px;z-index:10;background:#f7faf7;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px 4px 15px;border-bottom:1px solid #dae8dd;margin-bottom:12px}
.v131-drawer-header>div{display:flex;flex-direction:column;gap:2px}
.v131-drawer-header strong{font-size:19px;font-weight:900}
.v131-drawer-header small{font-size:11px;color:#758f7d}
.v131-explore.v123-focus-mode .v131-header,.v131-explore.v123-focus-mode .v131-actionrail{display:none}
.v131-explore.v123-focus-mode .v120-lab-surface{height:clamp(570px,88dvh,1100px)}
.v131-explore .v120-town-root .v120-town-onestep{display:none!important} /* challenge rail replaces duplicate onboarding sentence */
.v131-explore .v120-town-root .v120-town-summary-lead small{display:none}
@media(max-width:760px){
 .v131-explore{padding:7px!important;border-radius:16px}
 .v131-header{padding:2px 1px 7px!important}
 .v131-brand>img{width:34px;height:34px;padding:5px}
 .v131-brand strong{font-size:16px}
 .v131-brand small{display:none}
 .v131-outline{min-height:40px;padding:7px 10px;font-size:11px}
 .v131-explore .v131-venue-switch{gap:4px;padding:4px}
 .v131-explore .v131-venue-switch .v120-venue{min-height:55px;padding:6px 2px;gap:2px;flex-direction:column;text-align:center}
 .v131-explore .v131-venue-switch .v120-venue-icon{width:26px;height:26px}
 .v131-explore .v131-venue-switch .v120-venue-text strong{font-size:11px;line-height:1.2}
 .v131-actionrail{gap:8px;padding:9px 10px}
 .v131-action-icon{display:none}
 .v131-action-copy strong{font-size:13px}
 .v131-action-copy span{font-size:10px}
 .v131-primary{min-width:75px;padding:7px 9px;font-size:11px;min-height:42px}
 .v131-explore .v131-workspace-head{min-height:34px;flex-wrap:nowrap;padding:0 2px 4px}
 .v131-iconbutton{min-width:38px;min-height:38px}
 .v131-explore .v120-lab-surface{height:clamp(510px,80dvh,940px)}
 .v131-drawer{padding:10px}
 .v131-drawer-header{top:-10px;padding:8px 3px 10px}
}
@media(max-width:370px){.v131-outline{font-size:0;gap:0;padding:8px}.v131-outline svg{width:20px;height:20px}.v131-explore .v131-venue-switch .v120-venue-text strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.v131-primary,.v131-explore button{transition:none!important}}

.v131-overlay[hidden]{display:none!important}
