/* Course-day essentials. One map, one plan, one place for the next action. */
html.course-essentials #welcome {
 inset:0!important; width:100%!important; height:100%!important; max-width:none!important; max-height:none!important;
 transform:none!important; margin:0!important; border:0!important; border-radius:0!important;
 padding:clamp(28px,6vw,88px)!important; display:flex!important; flex-direction:column; justify-content:center;
 overflow:auto!important; background:radial-gradient(ellipse at 85% 20%,#30483c 0,transparent 54%),#172a25!important;
 text-align:left!important; box-shadow:none!important;
}
html.course-essentials #welcome.hide{display:none!important}
html.course-essentials #welcome .cw-start-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.15fr);gap:clamp(32px,6vw,100px);align-items:center;width:100%;max-width:1120px;margin:auto}
html.course-essentials #welcome .cw-start-copy{width:100%;max-width:440px}
html.course-essentials #welcome .cw-start-brand{font-size:10px;letter-spacing:.22em;color:#d5c58f;margin:0 0 24px}
html.course-essentials #welcome #welcomeTitle{position:static!important;width:auto!important;max-width:7.5em!important;font-size:clamp(42px,5vw,68px)!important;line-height:1.02!important;letter-spacing:-.045em!important;margin:0 0 20px!important;color:#f6f2e7}
html.course-essentials #welcome #welcomeIntro{font-size:16px!important;line-height:1.55!important;margin:0 0 30px!important;color:#c0cec4!important}
html.course-essentials #welcome .welcome-choices{display:grid!important;max-width:none!important;margin:0!important;width:100%;gap:12px!important}
html.course-essentials #welcome .start-choice{width:100%;min-height:76px!important;padding:18px!important;grid-template-columns:24px minmax(0,1fr) 18px!important;border-radius:12px!important;text-align:left!important}
html.course-essentials #welcome .start-choice.primary{background:#d3c68f!important;color:#1c2c24!important}
html.course-essentials #welcome .start-choice.secondary{background:#ffffff06!important;border-color:#ffffff30!important}
html.course-essentials #welcome .start-choice b{font-size:15px!important;font-weight:600!important;letter-spacing:0!important}
html.course-essentials #welcome .start-choice small{font-size:12px!important;line-height:1.5!important;margin-top:5px!important;opacity:.8}
html.course-essentials #welcome .cw-library-link{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:48px;background:none;border:0;color:#d5dece;font-size:13px;margin-top:12px;border-radius:10px}
html.course-essentials #welcome #cwGuestExample{margin:0!important;padding:24px!important;border:1px solid #c9d6bc2b!important;border-radius:18px;background:#ffffff05;min-width:0}
html.course-essentials #welcome .cw-course-heading{font-size:25px;font-weight:500;letter-spacing:-.025em;margin:8px 0}
html.course-essentials #welcome .cw-course-sub{color:#b4c6b9;margin-bottom:24px}
html.course-essentials #welcome #cwGuestExample img{display:block;max-height:none!important;aspect-ratio:1500/694;width:100%;height:auto;object-fit:contain;border-radius:7px;background:#fff;padding:0}
html.course-essentials #welcome .cw-course-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px;margin:22px 0 6px}
html.course-essentials #welcome .cw-course-facts span{font-size:10px;letter-spacing:0;text-transform:none;color:#afc1b4}
html.course-essentials #welcome .cw-course-facts strong{font-size:20px;font-weight:500;margin-top:6px}
html.course-essentials #welcome .cw-source-link{font-size:11px!important;color:#d7c995!important;min-height:44px}
html.course-essentials #welcome .cw-start-foot{max-width:1120px;width:100%;margin:36px auto 0;font-size:11px;line-height:1.5;color:#8ea798;text-align:left}
html.course-essentials #app .cw-course-header{position:absolute;top:59px;left:50%;transform:translateX(-50%);z-index:16;width:min(520px,calc(100% - 32px));text-align:center;color:#e9ecdf;pointer-events:none}
html.course-essentials #cwCurrentCourse{font-size:10px;color:#a4b7a7;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin:0 0 7px;letter-spacing:.015em}
html.course-essentials #cwPrintedFacts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#a9b99e23;border:1px solid #a9b99e23;border-radius:10px;overflow:hidden;box-shadow:0 4px 20px #0001}
html.course-essentials #cwPrintedFacts>div{display:flex;align-items:center;justify-content:center;gap:11px;padding:9px 10px;background:#27382e;text-align:left}
html.course-essentials #cwPrintedFacts svg{width:17px;height:17px;color:#adbb9c;flex-shrink:0}
html.course-essentials #cwPrintedFacts small{display:block;font-size:10px;color:#b1c0ac;line-height:1.4}
html.course-essentials #cwPrintedFacts b{display:block;font-size:17px;font-weight:500;line-height:1.5;font-variant-numeric:tabular-nums;color:#edf0e0}
html.course-essentials #cwRouteOrigin{display:block;margin:6px 0 0;font-size:10px;color:#c8c19c;line-height:1.4}
html.course-essentials #cwRouteOrigin[hidden]{display:none}
html.course-essentials #app:has(#welcome:not(.hide)) .cw-course-header,html.course-essentials #app:has(#sheet.show) .cw-course-header,html.course-essentials #app.mvp-review .cw-course-header{visibility:hidden}
html.course-essentials #app :is(.oh-guide-block,#ohDistanceGuide,#ohDistToggle,#ohJoToggle,.oh-guide-controls,#ohGuide,#ohDistPane,#ohJoPane){display:none!important}
html.course-essentials #app .cw-course-header :focus-visible,html.course-essentials #welcome button:focus-visible,html.course-essentials #sheet :focus-visible{outline:2px solid #e0cc83;outline-offset:3px}
html.course-essentials #sheet{background:#29362e!important;border:1px solid #67775d55!important;border-radius:18px 18px 0 0!important}
html.course-essentials #sheetBody{padding-bottom:28px!important}
html.course-essentials #sheetTitle{font-size:18px;font-weight:500;letter-spacing:-.02em}
html.course-essentials #sheet .course-menu-group{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e0e5ce16}
html.course-essentials #sheet.clean-course-menu .course-menu-item{min-height:57px!important;border:0!important;background:none!important;border-radius:8px!important;display:flex!important;align-items:center;gap:13px!important;margin:0!important;padding:9px 8px!important;text-align:left;color:#edf0e2}
html.course-essentials #sheet.clean-course-menu .course-menu-item:hover{background:#ffffff08!important}
html.course-essentials #sheet.clean-course-menu .course-menu-item>span:nth-child(2){flex:1}
html.course-essentials #sheet.clean-course-menu .course-menu-item b{font-size:14px!important;font-weight:500}
html.course-essentials #sheet.clean-course-menu .course-menu-icon{display:grid!important;place-items:center;width:25px!important;height:25px!important;color:#bfcdad!important;border:0!important;background:none!important}
html.course-essentials #sheet .course-menu-item>svg{width:15px;opacity:.45}
html.course-essentials #sheet .cw-section-label{text-transform:uppercase;letter-spacing:.13em;font-size:9px;font-weight:500;color:#a2b296;margin:22px 8px 7px}
html.course-essentials #sheet .cw-locked{display:flex;align-items:center;gap:13px;padding:13px 8px;min-height:59px;color:#a5b09a}
html.course-essentials #sheet .cw-feature-icon{flex:0 0 25px;display:grid;place-items:center;color:#b9c8a8}
html.course-essentials #sheet .cw-locked .cw-feature-icon{opacity:.6}
html.course-essentials #sheet .cw-locked>span:nth-child(2){flex:1;min-width:0}
html.course-essentials #sheet .cw-locked b{display:block;font-size:13px;font-weight:400;color:#b4bfa9}
html.course-essentials #sheet .cw-locked small{display:block;font-size:11px;line-height:1.5;margin-top:4px;color:#83947e}
html.course-essentials #sheet .cw-soon{font-size:9px;padding:4px 6px;border:1px solid #a4b39429;border-radius:5px;color:#9aab8e}
html.course-essentials #sheet .cw-workspace-link{min-height:48px;display:flex;align-items:center;gap:12px;color:#c9cfb6;font-size:12px;text-decoration:none;border-top:1px solid #ffffff12;margin-top:14px;padding:16px 8px 0}
html.course-essentials #sheet .cw-sheet-context{font-size:11px;color:#c2cdaf;margin:0 0 16px;line-height:1.5}
html.course-essentials #sheet .cw-plan-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 10px}
html.course-essentials #sheet .cw-action{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 10px;border:1px solid #a4b38d49;border-radius:9px;background:#ffffff05;color:#e4e8d5;font-size:12px;text-decoration:none;cursor:pointer;font-weight:500}
html.course-essentials #sheet .cw-action.primary{background:#cfc58d;color:#25342b;border-color:#cfc58d}
html.course-essentials #sheet .cw-action:disabled{opacity:.55;cursor:wait}
html.course-essentials #sheet .cw-action svg{width:18px;height:18px;flex-shrink:0}
html.course-essentials #sheet .cw-save-status{font-size:10px;color:#a5b398;line-height:1.65;margin:8px 0 12px}
html.course-essentials #sheet .cw-inline-action{display:flex;align-items:center;gap:9px;min-height:45px;border:0;background:transparent;padding:8px 0;color:#d4d9bc;font-size:12px;text-decoration:none}
html.course-essentials #sheet .cw-inline-action>svg:last-child{margin-left:auto;width:15px}
html.course-essentials #sheet .cw-walk-toolbar{border-bottom:1px solid #ffffff1a;padding-bottom:10px;margin-bottom:20px}
html.course-essentials #sheet .compact-check-note{font-size:10px!important;color:#a5b398!important;margin-bottom:14px}
html.course-essentials #sheet .compact-check-row{background:transparent;border-bottom:1px solid #ffffff12}
html.course-essentials #sheet .compact-check-row .check-leg b{font-size:13px}
html.course-essentials #sheet .cw-walk-future{border-top:1px solid #ffffff1a;margin-top:24px}
html.course-essentials #sheet .cw-course-notes{display:grid;gap:10px;margin-bottom:20px}
html.course-essentials #sheet .cw-course-notes>:is(button,.cw-help-item){display:flex;align-items:flex-start;gap:12px;text-align:left;background:#ffffff04;border:1px solid #bac7a427;border-radius:10px;padding:17px 13px;color:#e3e8d6;min-height:64px}
html.course-essentials #sheet .cw-course-notes>:is(button,.cw-help-item)>span:nth-child(2){flex:1;min-width:0}
html.course-essentials #sheet .cw-course-notes b{font-size:13px;font-weight:500;display:block;line-height:1.5}
html.course-essentials #sheet .cw-course-notes small{font-size:11px;line-height:1.65;display:block;color:#aebda2;margin-top:6px}
html.course-essentials #sheet .cw-course-notes>:is(button,.cw-help-item)>svg{width:14px;flex-shrink:0;margin-top:3px;opacity:.5}
html.course-essentials #sheet textarea{width:100%;min-height:88px;resize:vertical;box-sizing:border-box}
html.course-essentials #cwExportStatus .cw-action{margin:12px 0}
@media(max-width:760px){
 html.course-essentials #welcome{padding:40px 24px 24px!important;justify-content:flex-start}
 html.course-essentials #welcome .cw-start-layout{grid-template-columns:1fr;gap:30px;max-width:520px;margin:0 auto}
 html.course-essentials #welcome .cw-start-copy{max-width:none}
 html.course-essentials #welcome .cw-start-brand{margin-bottom:18px}
 html.course-essentials #welcome #welcomeTitle{font-size:43px!important;max-width:8em!important;margin-bottom:14px!important}
 html.course-essentials #welcome #welcomeIntro{font-size:14px!important;margin-bottom:24px!important}
 html.course-essentials #welcome .start-choice{min-height:68px!important;padding:14px!important}
 html.course-essentials #welcome #cwGuestExample{padding:18px!important;border-radius:13px}
 html.course-essentials #welcome .cw-course-heading{font-size:21px}
 html.course-essentials #welcome .cw-course-sub{margin-bottom:18px}
 html.course-essentials #welcome .cw-course-facts{margin-top:17px;gap:10px}
 html.course-essentials #welcome .cw-course-facts strong{font-size:17px}
 html.course-essentials #welcome .cw-start-foot{max-width:520px;margin-top:24px}
 html.course-essentials #app .cw-course-header{top:111px;width:calc(100% - 32px)}
 html.course-essentials #cwPrintedFacts>div{gap:7px;padding:8px 7px}
 html.course-essentials #cwPrintedFacts b{font-size:16px}
 html.course-essentials #cwPrintedFacts small{font-size:9px}
 html.course-essentials #cwPrintedFacts svg{width:15px}
 html.course-essentials #sheet .cw-plan-actions{gap:8px}
 html.course-essentials #sheet .cw-action{font-size:11px;gap:7px}
}
@media(max-height:650px) and (min-width:761px){html.course-essentials #welcome{justify-content:flex-start;padding:30px 48px!important}html.course-essentials #welcome .cw-start-layout{margin:0 auto}html.course-essentials #welcome #welcomeTitle{font-size:46px!important}html.course-essentials #welcome .cw-start-foot{margin-top:20px}}

html.course-essentials #app #cwModelSummary .cw-speed-line{display:none!important}
html.course-essentials #app .cw-route-metrics{min-height:38px!important}
html.course-essentials #app #cwModelSummary{min-height:38px!important}

/* One scroll owner for iOS review and uploads; map gestures stay in the map. */
html.course-essentials #sheet.show{display:flex!important;flex-direction:column!important;overflow:hidden!important;height:min(94dvh,900px)!important;max-height:94dvh!important;padding-bottom:0!important}
html.course-essentials #sheet .sheet-head{flex:none;position:relative!important;top:0!important;margin:0!important}
html.course-essentials #sheetBody{flex:1;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:calc(32px + env(safe-area-inset-bottom))!important}
html.course-essentials.mvp-review #sheetBody .review-stage{display:flex!important;flex-direction:column!important;overflow:visible!important;height:auto!important;max-height:none!important}
html.course-essentials.mvp-review .mvp-review-viewport{height:clamp(170px,28dvh,290px)!important;min-height:170px!important;flex:none!important}
html.course-essentials.mvp-review .mvp-review-panel,html.course-essentials.mvp-review .mvp-review-details{overflow:visible!important;max-height:none!important;flex:none!important;touch-action:pan-y!important}
html.course-essentials.mvp-review .mvp-review-details[hidden]{display:none!important}
html.course-essentials #upload{color:#eee!important;width:100%;max-width:100%;font-size:14px}
html.course-essentials #uploadStatus{position:relative;padding:14px 0;line-height:1.5}
html.course-essentials #uploadStatus[data-busy=true]::after{content:'';display:block;height:4px;margin-top:12px;border-radius:4px;background:linear-gradient(90deg,#d2c89500,#d2c895,#d2c89500);background-size:50% 100%;animation:cw-loading 1.4s linear infinite}
@keyframes cw-loading{from{background-position:-100% 0}to{background-position:200% 0}}
@media(prefers-reduced-motion:reduce){html.course-essentials #uploadStatus[data-busy=true]::after{animation:none;background:#d2c895}}
@media(max-width:760px){html.course-essentials #app .cw-course-header{top:88px!important}html.course-essentials #app .cw-top-tools,html.course-essentials #app .cw-home-button{top:2px!important}}

@media(max-width:760px){html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch{display:flex!important;top:46px!important;z-index:25}html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch[hidden]{display:none!important}html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools{top:2px!important}}

/* The review host must grow with its fields; only sheetBody owns scrolling. */
html.course-essentials.mvp-review #sheet #sheetBody{display:block!important;height:auto!important;flex:1 1 0!important;min-height:0!important;overflow-y:auto!important}
html.course-essentials.mvp-review #sheet #mapMarkArea,html.course-essentials.mvp-review #sheet #mapMarkArea .review-stage{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;flex:none!important}
html.course-essentials.mvp-review #sheet .mvp-review-details{height:auto!important;max-height:none!important;overflow:visible!important;flex:none!important}

html.course-essentials #app #walkCounter #cwMeasuredDistance{display:block;grid-column:1/-1;position:static;flex-basis:100%;width:100%;font:10px/1.35 Arial,sans-serif;text-align:center;color:#c6c2b4;letter-spacing:0;padding:2px 4px 0;pointer-events:none}html.course-essentials #app #walkCounter #cwMeasuredDistance[hidden]{display:none}

html.course-essentials.course-one-hand #app #dock .compact-counters>:is(.big-strides,.walk-counter){height:84px!important;grid-template-rows:18px 44px 14px!important}html.course-essentials #app #walkCounter #cwMeasuredDistance{grid-row:3!important;white-space:nowrap;padding:0;font-size:9px}

/* Quiet competition-day entrance. */
html.course-essentials #welcome{background:radial-gradient(ellipse at 78% 15%,#383734 0,transparent 58%),#1c1d1e!important}
html.course-essentials #welcome .cw-start-layout{max-width:1180px;gap:clamp(28px,7vw,112px)}
html.course-essentials #welcome #welcomeTitle{font-weight:300!important;letter-spacing:-.045em!important;font-size:clamp(42px,5.4vw,76px)!important;line-height:1.02!important;margin:28px 0 18px!important}
html.course-essentials #welcome #welcomeIntro{font-size:14px!important;line-height:1.6!important;max-width:32ch}
html.course-essentials #welcome .start-choice{border-radius:8px!important;min-height:68px!important;box-shadow:none!important}
html.course-essentials #welcome .start-choice.primary{background:#ded5b5!important;border:1px solid #e8dfbd!important;color:#252523!important}
html.course-essentials #welcome #cwGuestExample{padding:24px!important;border-radius:12px!important;background:linear-gradient(135deg,#ffffff06,#ffffff01)!important;border:1px solid #ffffff18!important;box-shadow:0 18px 60px #0002!important}
html.course-essentials #welcome .cw-course-heading{font-weight:400;font-size:26px;letter-spacing:-.025em}
html.course-essentials #welcome .cw-course-sub{font-size:12px}
html.course-essentials #app #walkStepsLabel{font-size:10px!important;letter-spacing:0!important;white-space:normal!important;text-align:center;line-height:1.2!important}
.cw-feedback{position:relative!important}
.cw-feedback::after{content:attr(data-feedback);position:absolute;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;padding:8px;border-radius:inherit;background:#36372f;color:#f2eedf;font:500 12px/1.4 Arial,sans-serif;white-space:normal;box-shadow:inset 0 0 0 1px #d2c89570;pointer-events:none}
.cw-inline-feedback,.cw-walk-complete{padding:12px 14px;border:1px solid #d2c89544;border-radius:10px;background:#ffffff05;color:#dfdac8;font-size:13px;line-height:1.5;margin:0 0 14px}
@media(max-width:760px){html.course-essentials #welcome{padding:28px 22px!important}html.course-essentials #welcome .cw-start-layout{gap:26px}html.course-essentials #welcome #welcomeTitle{margin-top:20px!important}html.course-essentials #welcome #cwGuestExample{padding:18px!important}}
