/* Neutral glass surfaces, with the course as the main surface. */
html.course-essentials{--bg:#222324;--panel:#28292b;--glass:rgba(34,35,36,.88);--cw-night:#202122;--cw-ink:#28292a;--cw-muted:#aaa9a3;--gold:#d1c58e;--cw-gold:#d1c58e;--faint:#aaa9a3;--hint:#c2bfb2;--white:#f2f0e8}
html.course-essentials body{background:#222324;color:#f2f0e8}
/* Keep focus/navigation from scrolling the fixed arena shell. Each sheet has
   its own scroll container; overflow:hidden would still scroll the shell. */
html.course-essentials.course-refined-chrome #app.compact-app{background:#222324;overflow:clip!important}
html.course-essentials.course-refined-chrome #app.compact-app .map-layer{background:#222324!important}
html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools{top:calc(env(safe-area-inset-top) + 4px);right:8px;gap:1px;padding:0;background:none}
html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools>button{border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:#d5d1c2!important;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important}
html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools>button:hover{background:#ffffff0a!important}
html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools svg{width:19px;height:19px}
html.course-essentials .cw-app-brand{position:absolute;left:16px;top:calc(env(safe-area-inset-top) + 5px);height:44px;padding:7px 0;display:flex;align-items:center;border:0;background:none;z-index:18}
html.course-essentials .cw-app-brand img{display:block;width:100px;height:auto;opacity:.93}
html.course-essentials #app:has(#welcome:not(.hide)) .cw-app-brand,html.course-essentials #app:has(#sheet.show) .cw-app-brand{visibility:hidden;pointer-events:none}
html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch{top:calc(env(safe-area-inset-top) + 5px);padding:2px;border:1px solid #ffffff16;border-radius:22px;background:linear-gradient(145deg,#ffffff09,#ffffff02),#242526cf;box-shadow:inset 0 1px #ffffff08;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch button{font-size:11px;min-height:34px;padding:6px 15px;color:#c7c4b9}
html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch button[aria-pressed=true]{background:#d1c58e;color:#24241f;box-shadow:0 1px 4px #0002}
html.course-essentials.course-refined-chrome #app.compact-app .cw-course-header{top:calc(env(safe-area-inset-top) + 49px);width:min(460px,calc(100% - 24px));pointer-events:none}
html.course-essentials #cwCurrentCourse{display:none}
html.course-essentials #cwPrintedFacts{background:#ffffff09;border:1px solid #ffffff17;border-radius:12px;box-shadow:inset 0 1px #ffffff0a;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);gap:0}
html.course-essentials #cwPrintedFacts>div{background:linear-gradient(145deg,#ffffff07,#ffffff00),#2a2b2dbd;padding:6px 8px;gap:8px;border-right:1px solid #ffffff0c}
html.course-essentials #cwPrintedFacts>div:last-child{border:0}
html.course-essentials #cwPrintedFacts small{font-size:9px;line-height:1.25;color:#a6a59e}
html.course-essentials #cwPrintedFacts b{font-size:15px;line-height:1.4;color:#e9e6d9;font-weight:500}
html.course-essentials #cwPrintedFacts svg{width:14px;height:14px;color:#b6af91}
html.course-essentials #cwRouteOrigin{font-size:9px;color:#b6b09a;margin-top:4px}
html.course-essentials.course-refined-chrome #app.compact-app #dock{padding:5px 8px calc(env(safe-area-inset-bottom) + 6px)!important;background:linear-gradient(150deg,#ffffff06,#ffffff00),rgba(32,33,34,.87)!important;border:1px solid #ffffff15!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;box-shadow:inset 0 1px #ffffff07,0 -5px 24px #0002!important;backdrop-filter:blur(22px) saturate(110%);-webkit-backdrop-filter:blur(22px) saturate(110%)}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-summary{min-height:46px!important;height:46px!important;grid-template-rows:25px 19px!important;margin:0 0 4px!important;gap:0 4px!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary :is(#prev,#next){height:44px!important;min-height:44px!important;background:transparent!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg{min-height:25px!important;height:25px!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg strong{font-size:17px!important;line-height:21px!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg small{font-size:9px!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #compactStats{height:19px!important;min-height:19px!important;color:#c6c2b4}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #doneNext{width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;border-radius:13px!important;background:#d1c58e!important;color:#24241f!important}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters{min-height:52px!important;gap:6px!important}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters>:is(.big-strides,.walk-counter){grid-template-rows:11px 40px!important;min-height:52px!important;height:52px!important;border:1px solid #ffffff12!important;background:linear-gradient(140deg,#ffffff07,#ffffff00),#292a2bd9!important;box-shadow:inset 0 1px #ffffff05!important;border-radius:12px!important}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters :is(#bigStridesLabel,#walkStepsLabel){font:500 9px/11px Arial,sans-serif!important;letter-spacing:0!important;color:#bdb8a6!important;white-space:nowrap!important;text-transform:none!important}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters :is(#strideCountEdit b,#walkStepsValue){font-size:24px!important;line-height:29px!important;color:#f0ede1!important}
html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters :is(#strideFloatMinus,#strideFloatPlus,#walkStepsMinus,#walkStepsPlus){background:transparent!important;height:44px!important;min-height:44px!important;border:0!important}
html.course-essentials.course-refined-chrome #app.compact-app .cw-route-metrics{display:none!important}
html.course-essentials.course-refined-chrome #app.compact-app #cwReferenceAlert{background:none!important;padding:0!important;border:0!important;margin:5px 0 0!important;font:10px/1.4 Arial,sans-serif!important}
html.course-essentials.course-refined-chrome #app.compact-app #cwReferenceAlert[hidden]{display:none!important}
html.course-essentials #cwReferenceAlert>button{width:100%;display:flex;align-items:center;gap:9px;padding:6px 10px;min-height:44px;border:1px solid #caa36050;border-radius:10px;background:#bd91400a;color:#dfc895;text-align:left}
html.course-essentials #cwReferenceAlert>button>span{flex:1;min-width:0}
html.course-essentials #cwReferenceAlert b{display:block;font-size:10px;font-weight:500}
html.course-essentials #cwReferenceAlert small{display:block;font-size:9px;color:#b6a589;line-height:1.5}
html.course-essentials #cwReferenceAlert svg{width:16px;height:16px;flex-shrink:0}
html.course-essentials #cwReferenceAlert svg:last-child{width:12px}
html.course-essentials #sheet{background:linear-gradient(135deg,#ffffff04,#ffffff00),rgba(35,36,38,.94)!important;border-color:#ffffff1e!important;box-shadow:inset 0 1px #ffffff08,0 -8px 40px #0004!important;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);color:#eeebe0}
html.course-essentials #sheet :is(.cw-save-status,.compact-check-note,.cw-sheet-context){color:#a9a69c!important}
html.course-essentials #sheet .cw-feature-icon{color:#c4beaa}
html.course-essentials #sheet .cw-locked b{color:#aaa79d}
html.course-essentials #sheet .cw-locked small{color:#81817a}
html.course-essentials #sheet .cw-soon{border-color:#ffffff1a;color:#99968a}
html.course-essentials #sheet .cw-section-label{color:#989487}
html.course-essentials #sheet .cw-action{color:#e9e5d6;border-color:#ffffff20;background:linear-gradient(145deg,#ffffff06,#ffffff01);box-shadow:inset 0 1px #ffffff04}
html.course-essentials #sheet .cw-action.primary{background:#d1c58e;color:#24241f;border-color:transparent}
html.course-essentials #sheet :is(.cw-inline-action,.cw-workspace-link){color:#cbc4aa}
html.course-essentials #sheet .cw-course-notes>:is(button,.cw-help-item){background:linear-gradient(145deg,#ffffff06,#ffffff01);border-color:#ffffff17;color:#e9e6dc}
html.course-essentials #sheet .cw-course-notes small{color:#b1ada2}
html.course-essentials #sheet .cw-course-notes .cw-note-warning{border-color:#be985043}
html.course-essentials #sheet .cw-note-warning .cw-feature-icon{color:#d4b577}
html.course-essentials #sheet .compact-check-row{border-color:#ffffff12}
html.course-essentials #sheet .compact-check-row.cw-distance-review .check-leg b{color:#dfc28a}
html.course-essentials #sheet .compact-check-row.cw-distance-review .check-leg b:after{content:'!';display:inline-grid;place-items:center;width:12px;height:12px;border:1px solid #c7a36080;border-radius:50%;font:9px/1 Arial,sans-serif;margin-left:6px;vertical-align:1px;color:#d6b474}
html.course-essentials #welcome{background:radial-gradient(ellipse at 85% 10%,#38393a 0,transparent 60%),#202122!important;color:#eeebe1!important}
html.course-essentials #welcome .cw-start-brand{display:flex;align-items:center;gap:18px;color:#c1b994}
html.course-essentials #welcome .cw-start-brand img{width:112px;height:auto}
html.course-essentials #welcome .cw-start-brand span{font-size:9px;letter-spacing:.2em}
html.course-essentials #welcome #welcomeIntro{color:#b8b6ad!important}
html.course-essentials #welcome #cwGuestExample{background:linear-gradient(140deg,#ffffff07,#ffffff01)!important;border-color:#ffffff20!important;box-shadow:inset 0 1px #ffffff06}
html.course-essentials #welcome .cw-course-sub,html.course-essentials #welcome .cw-course-facts span{color:#aaa79c}
html.course-essentials #welcome .cw-start-foot{color:#8f8c82}
html.course-essentials #welcome .start-choice.primary{background:#d1c58e!important;color:#24241f!important}
html.course-essentials #welcome .cw-library-link{color:#cbc5b3}
html.course-essentials #welcome .cw-start-overview{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:8px 0;margin-top:5px;border:0;border-top:1px solid #ffffff12;background:none;color:#ddd4b3;font-size:12px;text-align:left}
html.course-essentials #welcome .cw-start-overview span{flex:1}
html.course-essentials #welcome .cw-start-overview svg{width:17px;height:17px}
html.course-essentials #welcome .cw-start-overview:disabled{opacity:.4}
@media(max-width:700px){
 html.course-essentials .cw-app-brand{left:14px;top:calc(env(safe-area-inset-top) + 4px)}
 html.course-essentials .cw-app-brand img{width:83px}
 html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch{top:calc(env(safe-area-inset-top) + 49px)}
 html.course-essentials.course-refined-chrome #app.compact-app .cw-round-switch button{min-height:32px;font-size:10px;padding:6px 15px}
 html.course-essentials.course-refined-chrome #app.compact-app .cw-course-header{top:calc(env(safe-area-inset-top) + 91px);width:calc(100% - 24px)}
 html.course-essentials #cwPrintedFacts>div{padding:5px 7px;gap:6px}
 html.course-essentials #cwPrintedFacts b{font-size:15px}
 html.course-essentials #cwPrintedFacts small{font-size:8px}
 html.course-essentials #cwPrintedFacts svg{width:13px}
 html.course-essentials #cwRouteOrigin{font-size:8px;line-height:1.4}
}
@media(min-width:850px){html.course-essentials.course-refined-chrome #app.compact-app #dock{width:480px!important;bottom:10px!important;right:16px!important;border:1px solid #ffffff15!important;border-radius:16px!important;padding:6px 8px!important}}
@media(prefers-reduced-transparency:reduce){html.course-essentials #cwPrintedFacts,html.course-essentials #sheet,html.course-essentials.course-refined-chrome #app.compact-app #dock{background:#252627!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

html.course-essentials #sheet.clean-course-menu .course-menu-icon{color:#c7c0aa!important}

html.course-essentials.course-refined-chrome #app.compact-app .cw-top-tools #cwOverview{position:relative!important}
html.course-essentials #cwOverview.has-review:after{content:'';position:absolute;right:9px;top:9px;width:4px;height:4px;border-radius:50%;background:#dfbd7b;box-shadow:0 0 0 2px #252627}

html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg{display:flex!important;align-items:baseline!important;gap:8px!important;overflow:hidden!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg strong{display:block!important;flex:0 0 auto!important}
html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg small{display:block!important;margin:0!important;line-height:16px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:#b8b2a2!important}

/* Route editing uses the same quiet controls on touch and desktop. */
#arena[data-route-dragging=true]{cursor:grabbing}
body:has(#arena[data-route-dragging=true]) #cwReferenceAlert{visibility:hidden}
@media(min-width:850px){
 html.course-essentials #cwRouteExperiment{left:24px;transform:none;bottom:18px!important}
 html.course-essentials #cwRouteExperiment #cwRouteMessage{left:0;transform:none;width:320px}
 html.course-essentials #cwRouteExperiment .cw-route-actions{box-shadow:0 4px 20px #0003}
}

@media(min-width:850px){
 html.course-essentials.course-refined-chrome #app.compact-app #dock{left:auto!important;right:18px!important;max-width:calc(100% - 180px)!important}
 html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg strong{font-size:20px!important}
 html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #walkLeg small{font-size:11px!important}
 html.course-essentials.course-refined-chrome #app.compact-app .compact-summary #compactStats{font-size:12px!important}
 html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters #bigStridesLabel{font-size:11px!important}
 html.course-essentials.course-refined-chrome #app.compact-app #dock .compact-counters #strideCountEdit b{font-size:28px!important}
}
