[data-where] { color:#b9c2b9; font-size:.88rem; margin:0 0 12px; padding-block:10px; line-height:1.4; position:sticky; top:0; z-index:2; background:#121412; }
.route-next { color:#b9c2b9; font-size:.84rem; }
.route-kicker { color:#bcf8cc; text-transform:uppercase; font-size:.8rem; letter-spacing:.09em; }
.route-today { display:grid; gap:28px; }
.route-minimap { display:none; }
.route-map-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.route-map,.route-skills,.route-chapters,.route-library ul,.route-reader aside ul { list-style:none; padding:0; }
.route-map li,.route-skills li { display:flex; align-items:center; gap:10px; padding:12px 8px; border-bottom:1px solid #465146; }
.route-map li[aria-current=step] { background:#25392a; }
.route-map strong,.route-skills strong,.route-week span { color:#bcf8cc; }
.route-map small,.route-skills strong { margin-inline-start:auto; }
.route-button { color:inherit; background:transparent; border:1px solid #576358; border-radius:8px; padding:10px 14px; cursor:pointer; min-height:44px; }
.route-button.g-primary { background:#bcf8cc;color:#101d14;width:100%;border:0;font-weight:750; }
a.route-button.g-primary { display:block; text-align:center; text-decoration:none; }
.route-figure { margin:14px 0; }
.route-figure img,.route-figure svg { display:block; width:100%; max-height:390px; height:auto; object-fit:contain; border-radius:8px; background:#ede9de; }
.route-fig-sequence { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; }
.route-fig-panel { position:relative; overflow:hidden; border-radius:8px; }
.route-fig-panel img { position:absolute; max-width:none; max-height:none; border-radius:0; }
.route-figure figcaption { margin-top:8px; color:#b9c2b9; }
.route-reader { display:grid; gap:18px; }
.route-reader section { scroll-margin-top:90px; }
.route-reader article { width:100%; max-width:680px; }
.route-reader h2 { margin-top:1.75em; }
.route-table { overflow:auto; }
.route-table table { border-collapse:collapse; width:100%; }
.route-table :is(th,td) { border-bottom:1px solid #576358; padding:9px; text-align:start; vertical-align:top; }
.route-library details { border-bottom:1px solid #576358; padding:12px 0; }
.route-search label { display:block; margin-block:8px; }
.route-search input { width:100%; }
.route-chapters button { border:0; text-align:start; width:100%; }
.route-chapters li { border-bottom:1px solid #465146; }
.entry-route-nav { display:grid; grid-template-columns:repeat(4,1fr); padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)); gap:4px; background:#121412; border-top:1px solid #465146; }
.entry-route-nav[hidden] { display:none; }
.entry-route-nav button { padding-inline:3px; border:0; font-size:.85rem; }
#app-nav [aria-current=page],.entry-route-nav [aria-current=page] { color:#bcf8cc; }
dialog.route-sheet { color:#f4f2e9;background:#171b17;border:1px solid #576358;border-radius:12px;width:min(calc(100% - 20px),480px);max-height:85dvh; }
dialog.route-sheet::backdrop { background:#000a; }
dialog.route-sheet > button:first-child { display:block; margin-inline-start:auto; }
#entry-root .entry-clock[data-clock] { font-size:clamp(3rem,17vw,8rem); text-align:center; line-height:1; }
body[data-entry-view=library] #entry-root,body[data-entry-view=chapter] #entry-root { width:min(100% - 36px,980px); }
@media(min-width:1024px) {
 body[data-entry-view] { display:grid; grid-template-areas:"header" "nav" "main" "status"; }
 .entry-header { grid-area:header; }
 #entry-root { grid-area:main; }
 .entry-status { grid-area:status; }
 .route-today { grid-template-columns:3fr 2fr; }
 .route-minimap { display:block; }
 .route-reader { grid-template-columns:minmax(140px,230px) minmax(0,1fr); }
 .route-reader aside { align-self:start;position:sticky;top:85px;max-height:75dvh;overflow:auto; }
 .entry-route-nav { grid-area:nav;width:min(100% - 36px,920px);margin-inline:auto;z-index:3; }
 body[data-entry-view=today] #entry-root,body[data-entry-view=route] #entry-root { width:min(100% - 36px,920px); }
 dialog.route-sheet { margin-inline:auto 0;min-height:100dvh;max-height:100dvh;top:0; }
}
@media(max-width:600px) { .route-map-head { align-items:flex-start; } }
.route-preview {display:block; width:100%; margin-block:12px; padding:0; border:0; background:transparent; color:inherit; text-align:left; cursor:pointer}
.route-preview > span {display:inline-block; padding-block:6px}
.route-today .route-figure img {max-height:210px}
dialog.route-cinema {inset:0; margin:0; width:100%; height:100%; max-width:none; max-height:none; border:0; border-radius:0; background:#121412}
.route-full-video figure {margin:0}

a.route-button{display:inline-flex;align-items:center;justify-content:center;max-width:100%;box-sizing:border-box;white-space:normal;overflow-wrap:anywhere}

.route-figure img.route-video-still{background:#121412;width:auto;max-width:100%;margin-inline:auto}
