/* Look C, "Sport" (DECISIONS #92). Applied page by page: a page gets the
   class .look-c on #app once it has been rebuilt and approved. */
#app.look-c{--card-radius:14px}
#app.look-c .title-row h1{font-family:Barlow,Inter,sans-serif;font-weight:600;font-size:42px;line-height:1;letter-spacing:-.3px;margin:8px 0 0}
#app.look-c .title-row h1::after{content:'';display:block;width:56px;height:4px;border-radius:2px;background:#ffb020;margin-top:8px}
#app.look-c .title-row .sub{font-size:15px;margin-top:8px}
#app.look-c .card{border-radius:14px}
#app.look-c button.primary,#app.look-c button.secondary,#app.look-c a.secondary{border-radius:10px}

/* Body text 17 (Apple's default). */
#app.look-c .pass-row strong,#app.look-c .following-row strong,#app.look-c .row-title{font-size:17px}
#app.look-c .pass-row small,#app.look-c .following-row small,#app.look-c .row-sub{font-size:13px}
#app.look-c .pass-when b{font-family:Barlow,Inter,sans-serif;font-weight:600;font-size:30px;line-height:1}
#app.look-c .pass-row .avatar{width:40px;height:40px;font-size:16px}

/* Tapping a runner's name opens their pace. */
.pass-who{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:none;border:0;padding:0;text-align:left;color:inherit}
.pass-who .grow{min-width:0}
.runner-window .pass-who{gap:11px}
.pace-hint{font-size:14px;color:var(--muted);text-align:center;margin:10px 0 0}

/* Who you follow. */
.following-row{display:flex;align-items:center;gap:12px}
.following-row .faces{display:flex;flex:none}
#app .following-row .avatar{width:30px;height:30px;font-size:12px;margin-left:-7px;border:2px solid var(--surface)}
#app .following-row .avatar:first-child{margin-left:0}
.following-row .grow{flex:1;min-width:0}
.following-row strong{display:block}
.following-row small{display:block;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.following-add{width:100%;margin-bottom:var(--card-gap,12px)}

/* The pace sheet's four choices: equal, one line each. */
.pace-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 4px}
.pace-steps button{min-height:48px;padding:0 4px;white-space:nowrap}
.pace-steps button[aria-pressed=true]{background:#2f54eb;color:#fff;border-color:#2f54eb}
.following-row strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#app.look-c .following-row strong{font-size:16px}
#dialog-root .pace-steps{grid-template-columns:repeat(4,minmax(0,1fr))}
#dialog-root .pace-steps button[aria-pressed=true]{background:#2f54eb!important;color:#fff!important;border-color:#2f54eb!important}
#dialog-root .pace-steps+.body-copy+button+.tiny{margin-top:12px}

/* Route stop rows: same rhythm as Up next, the time on one line (no dead space). */
#app.look-c .runner-window{padding:8px 0;gap:12px;min-height:60px}
#app.look-c .runner-window .runner-dot{width:40px;height:40px;font-size:16px}
#app.look-c .runner-window strong{font-size:17px;font-weight:600}
#app.look-c .runner-window small{font-size:13px;margin-top:2px}
#app.look-c .runner-window .window-time{font:600 24px/1 Barlow,Inter,sans-serif;text-align:right}
#app.look-c .runner-window .window-time small{display:inline;font:500 12px Inter,sans-serif;color:var(--muted);margin:0 0 0 3px}
#app.look-c .pass-row{padding:10px 0}
/* A card ends at its last button: no extra space below. */
#app.look-c .card>.two-actions:last-child{margin-bottom:0}
/* Small phones (under 360px wide): rows keep one line per fact.
   The pass window already shows on the route card below, so Up next keeps just "in 6 min". */
@media (max-width:359px){
 #app.look-c .pass-row,#app.look-c .runner-window{gap:8px}
 #app.look-c .pass-row .avatar,#app.look-c .runner-window .runner-dot{width:34px;height:34px;font-size:14px;flex:none}
 #app.look-c .pass-row small,#app.look-c .runner-window small{white-space:nowrap}
 #app.look-c .pass-when b{font-size:24px}
 #app.look-c .following-row .faces{display:none}
 #app.look-c .pass-when small{display:block;font-size:11px;white-space:nowrap}
 #app.look-c .pass-row .avatar{width:28px!important;height:28px!important;font-size:12px!important}
 #app.look-c .pass-row .grow small{font-size:12px}
 #app.look-c .pass-in{font-size:15px;color:var(--muted)}
 #app.look-c .pass-row small{font-size:12px}
 #app.look-c .runner-window .window-time{font-size:19px}
 #app.look-c .runner-window .window-time small{font-size:11px;margin-left:2px}
}

/* Home (Plan tab), option 1B (DECISIONS #95). */
#app.look-c .home-title .eyebrow{font-size:11px}
.week-strip{display:flex;overflow-x:auto;scrollbar-width:none;margin:18px 0 12px}/* lines up with the cards (Nov 3 designer) */
.week-strip::-webkit-scrollbar{display:none}
.week-strip button{flex:1 0 46px;min-height:44px;display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;padding:0 0 4px;color:var(--muted)}
.week-strip small{font-size:12px;font-weight:500;letter-spacing:.5px;text-transform:uppercase}
.week-strip b{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;font:600 22px/1 Barlow,Inter,sans-serif;color:var(--text)}
.week-strip i{width:5px;height:5px;border-radius:50%;background:var(--muted)}
.week-strip i.is-empty{visibility:hidden}
.week-strip .is-race small,.week-strip .is-race b{color:#ffb020}
.week-strip .is-quiet b{color:var(--muted)}
.week-strip [aria-pressed="true"] b{background:var(--text);color:var(--bg,#000)}
.week-strip .is-race[aria-pressed="true"] b{background:#ffb020;color:#1a1200}
.home-row{display:flex;align-items:center;gap:12px;width:100%;min-height:60px;padding:10px 0;background:none;border:0;text-align:left;color:inherit}
.home-day .home-row+.home-row,.home-picks .home-row+.home-row{border-top:1px solid var(--line)}
.home-time{width:62px;flex:none;font:600 24px/1 Barlow,Inter,sans-serif}
.home-time small{display:block;font:400 12px Inter,sans-serif;color:var(--muted);margin-top:3px}
.home-row .grow{flex:1;min-width:0}
.home-row strong{display:block;font-size:17px;font-weight:600;line-height:1.25;overflow-wrap:anywhere}
.home-row .grow>small{display:block;font-size:13px;color:var(--muted);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.home-row .chev{color:var(--muted);font-size:20px}
.home-row.is-past strong,.home-row.is-past .home-time{color:var(--muted)}
.home-row .stop-who{margin-top:6px}
.home-pick-info{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:none;border:0;padding:0;text-align:left;color:inherit}
.home-pick-add{flex:none;min-height:44px;padding:0 4px}
.home-add{display:block;width:100%;min-height:48px;text-align:left;background:none;border:0;border-top:1px solid var(--line);color:var(--link,var(--blue));font-size:16px;padding:0}
.home-empty{color:var(--muted);font-size:15px;padding:16px 0;margin:0}
.home-crew{display:flex;align-items:center;gap:12px}
.home-crew-open{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:none;border:0;padding:0;text-align:left;color:inherit;min-height:44px}
.home-crew-open strong{display:block;font-size:17px;font-weight:600}
.home-crew-open small{display:block;font-size:13px;color:var(--muted)}
#app .home-crew .avatar-stack .avatar{border-color:var(--surface)}
@media (max-width:359px){.week-strip{margin-inline:calc(-1 * var(--page-gutter,16px))}.week-strip button{flex-basis:44px}}
/* Race card with the course drawing, and icons on rows (option C). */
#app.look-c .home-race-card{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:16px;margin:0}
#app.look-c .home-race-card .eyebrow{display:block}
#app.look-c .home-race-card h1{font-size:40px}
#app.look-c .home-race-card .sub{display:block;color:var(--muted)}
#app.look-c .home-race-card .mini-course{width:60px;height:86px;flex:none}
.home-row>.icon,.home-pick-info>.icon{width:34px;height:34px;flex:none}
.home-time{width:58px}
@media (max-width:359px){#app.look-c .home-race-card h1{font-size:34px}#app.look-c .home-race-card .mini-course{width:44px;height:64px}.home-row>.icon,.home-pick-info>.icon{width:28px;height:28px}.home-row,.home-pick-info{gap:9px}.home-time{width:52px}}
.home-pick strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* Add is the glossy + (Ethan, Oct 31, 2026). */
.home-pick-add{flex:none;width:44px;height:44px;display:grid;place-items:center;background:none;border:0;padding:0}
.home-pick-add .state-art{width:30px;height:30px}
.home-add{display:flex;align-items:center;gap:10px}
.home-add .state-art{width:26px;height:26px;flex:none}
/* Race-day yellow is too light on white: a darker amber in light mode. */
[data-appearance=light] #app .week-strip .is-race small,[data-appearance=light] #app .week-strip .is-race b{color:#9a5b00}
[data-appearance=light] #app .week-strip .is-race[aria-pressed="true"] b{background:#ffb020;color:#1a1200}
/* More room at the top and bottom of Home cards (Ethan, Oct 31, 2026). */
#app.look-c .home-day,#app.look-c .home-picks{padding-block:10px 6px}
#app.look-c .home-day .home-add{margin-top:4px}
#app.look-c .home-crew{padding-block:18px}

/* Explore (phone), option A + C (DECISIONS #96). */
#app.look-c .look-search{display:flex;align-items:center;gap:10px;height:48px;border-radius:12px;background:var(--surface);padding:0 6px 0 14px;margin:14px 0 0}
#app.look-c .look-search>.icon{width:22px;height:22px;flex:none}
#app.look-c .look-search input{flex:1;min-width:0;height:44px;background:none;border:0;color:var(--text);font-size:17px;padding:0;outline-offset:2px}
#app.look-c .look-search input::-webkit-search-cancel-button{display:none}
#app.look-c .look-search .search-clear{width:44px;height:44px;background:none;border:0;display:grid;place-items:center}
.type-tabs{display:flex;gap:20px;overflow-x:auto;scrollbar-width:none;border-bottom:1px solid var(--line);margin:0 0 12px}
.type-tabs::-webkit-scrollbar{display:none}
.type-tabs button{flex:none;min-height:44px;background:none;border:0;padding:0;font-size:15px;color:var(--muted);position:relative;white-space:nowrap}
.type-tabs [aria-pressed="true"]{color:var(--text);font-weight:600}
.type-tabs [aria-pressed="true"]::after{content:'';position:absolute;left:0;right:0;bottom:-1px;height:3px;border-radius:2px;background:#ffb020}
.section-count{font-size:13px;color:var(--muted)}
#app.look-c .fit-card,#app.look-c .explore-list{padding-block:10px 6px}
#app.look-c .fit-card{padding-inline:var(--card-padding)}
.fit-when{display:block;font:600 20px/1.1 Barlow,Inter,sans-serif;color:#ffb020;margin-bottom:4px}
[data-appearance=light] #app .fit-when{color:#9a5b00}
.home-pick-info>.icon{width:34px;height:34px;flex:none}
.explore-row .grow>small.clash{color:var(--warning)}
.home-pick-add.is-saved .state-art{opacity:1}
.more-link{display:block;width:100%;min-height:44px;text-align:center;font-size:16px;margin:4px 0 8px}
.home-empty-card{padding:4px var(--card-padding) 8px}
/* No host, race or sponsor logos in event details (CLAUDE.md hard rule). */
#dialog-root .review-detail-brands{display:none}
.type-tabs{gap:8px}
.type-tabs button{min-width:44px;padding:0 6px}

/* Explore type tabs never scroll: All, the busiest types that fit, then More. */
.type-tabs{overflow:visible;justify-content:flex-start}
.type-tabs .type-more{margin-left:auto;color:var(--link)}
/* Add (phone), option A (DECISIONS #97). */
.add-day{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:15px;color:var(--muted);margin:6px 0 14px}
.add-day .text-btn{min-height:44px}
#app.look-c .add-paste,#app.look-c .add-list{padding-block:6px}
#app.look-c .add-paste{padding-inline:var(--card-padding)}
.add-row>.icon{width:34px;height:34px;flex:none}
#app.look-c .add-row .grow>small{white-space:normal}
#dialog-root .home-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 0;background:none;border:0;text-align:left;color:inherit}
#dialog-root .home-row+.home-row{border-top:1px solid var(--line)}
#dialog-root .home-row strong{display:block;font-size:17px;font-weight:600}
#dialog-root .home-row small{display:block;font-size:13px;color:var(--muted)}
#dialog-root .home-row .grow{flex:1;min-width:0}
#dialog-root .home-row .chev{color:var(--link);font-size:18px}
/* Small phones: Explore rows drop the kind icon. */
@media (max-width:359px){
 #app.look-c .explore-row .home-pick-info>.icon{display:none}
 #app.look-c .add-paste .add-row .grow>small{white-space:normal}
}
#app.look-c .add-paste{padding-inline:var(--card-padding)}

/* Map (phone), option B + All days + filters (DECISIONS #98). Controls float on the map. */
#app.map-page .map-toolbar--c{top:calc(env(safe-area-inset-top) + 10px);left:10px;right:10px}
.map-daybar{display:flex;background:var(--surface);border-radius:18px;padding:4px 2px;box-shadow:0 2px 12px #0004}
.map-daybar button{flex:1 1 0;min-width:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;gap:2px;background:none;border:0;padding:2px 0;color:var(--muted)}
.map-daybar small{font-size:11px;font-weight:500;letter-spacing:.4px;text-transform:uppercase}
.map-daybar b{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;font:600 19px/1 Barlow,Inter,sans-serif;color:var(--text)}
.map-daybar .is-race small,.map-daybar .is-race b{color:#ffb020}
.map-daybar [aria-pressed="true"] b{background:var(--text);color:var(--bg,#000)}
.map-daybar .is-race[aria-pressed="true"] b{background:#ffb020;color:#1a1200}
[data-appearance=light] .map-daybar .is-race small,[data-appearance=light] .map-daybar .is-race:not([aria-pressed="true"]) b{color:#9a5b00}
.map-tools{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}
.map-tool{min-height:44px;padding:0 16px;border-radius:22px;border:0;background:var(--surface);color:var(--text);font-size:15px;font-weight:600;box-shadow:0 2px 12px #0004}
#app.map-page .map-toolbar--c .map-filter-panel{margin-top:8px}
#app.map-page .map-toolbar--c~.map-canvas>.course-label,#app.map-page .map-canvas>.course-label{top:calc(env(safe-area-inset-top) + 128px)}
#app.map-page .map-toolbar--c~.map-canvas .map-buttons,#app.map-page .map-buttons{top:calc(env(safe-area-inset-top) + 178px)}
#app.map-page .map-toolbar--c.map-toolbar--list{padding-top:calc(env(safe-area-inset-top) + 10px)}
@media (max-width:359px){#app.map-page .map-toolbar--c{left:2px;right:2px}.map-daybar{border-radius:14px}}
.map-daybar b.map-all{font-size:16px}
/* The selected-place card sits fully above the bottom menu (8px gap). */
@media (max-width:99999px){#app.map-page .map-place-sheet{bottom:calc(98px + env(safe-area-inset-bottom))}}
/* Keep the selected day a circle: map buttons are capped in height elsewhere. */
#app.map-page .map-daybar button{height:auto!important;max-height:none!important;padding:2px 0 4px}
#app.map-page .map-daybar b{flex:none;width:34px;height:34px}
#app.map-page .map-daybar{padding:4px 2px 6px}

/* Map controls (Ethan, Oct 31, 2026): icon buttons in one column on the right, just under the
   day strip; more room above and below the days; no course label on phones. */
#app.map-page .map-daybar{padding:10px 2px 10px}
.map-tools{position:absolute;right:0;top:calc(100% + 8px);flex-direction:column;margin:0;gap:8px}
#app.map-page .map-toolbar--c{pointer-events:none}
#app.map-page .map-toolbar--c>*{pointer-events:auto}
.map-tool{width:44px;height:44px;padding:0;border-radius:50%;display:grid;place-items:center;position:relative}
.tool-glyph{width:22px;height:22px}
.map-tool .filter-active-dot{position:absolute;top:8px;right:8px;width:9px;height:9px;border-radius:50%;background:#ffb020}
#app.map-page .map-toolbar--c .map-filter-panel{margin:8px 52px 0 0}
#app.map-page .map-toolbar--c.map-toolbar--list .map-tools{position:static;flex-direction:row;justify-content:flex-end;margin-top:8px}
@media (max-width:99999px){
 #app.map-page .map-canvas>.course-label{display:none}
 #app.map-page .map-toolbar--c~.map-canvas .map-buttons,#app.map-page .map-buttons{top:calc(env(safe-area-inset-top) + 190px)!important;right:10px}
}
@media (max-width:359px){#app.map-page .map-tools{right:8px}#app.map-page .map-toolbar--c~.map-canvas .map-buttons{right:10px}}
.map-course-source{display:block;margin-top:8px;min-height:44px;font-size:14px}
/* Home race card with the weather row (option B). */
#app.look-c .home-race-card{display:block;padding:16px}
.home-race-main{display:flex;align-items:center;gap:12px;width:100%;background:none;border:0;padding:0;margin:0;text-align:left;color:inherit}
#app.look-c .home-race-main .eyebrow{display:block}
#app.look-c .home-race-main h1{font-size:40px}
#app.look-c .home-race-main .sub{display:block;color:var(--muted)}
#app.look-c .home-race-main .mini-course{width:60px;height:86px;flex:none}
.home-weather{display:flex;align-items:center;gap:12px;width:100%;min-height:52px;border:0;border-top:1px solid var(--line);background:none;margin-top:14px;padding:12px 0 0;text-align:left;color:inherit}
.home-weather>.icon{width:32px;height:32px;flex:none}
.home-weather b{display:block;font:600 22px/1.1 Barlow,Inter,sans-serif}
.home-weather small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.home-weather .chev{color:var(--muted);font-size:20px}
@media (max-width:359px){#app.look-c .home-race-main h1{font-size:34px}#app.look-c .home-race-main .mini-course{width:44px;height:64px}}
#app.map-page .map-toolbar--c .map-filter-panel{margin:0;left:0;right:52px;width:auto;top:calc(100% + 8px)}
#app.map-page .map-course-source{background:none!important;box-shadow:none!important;padding:0}
.map-tool>.icon{width:26px;height:26px}

/* Crew (phone), option A (DECISIONS #101). */
#app.look-c .crew-invite{padding:4px var(--card-padding)}
#app.look-c .crew-list{padding-block:6px}
.crew-invite .home-row>.icon,.crew-row>.icon{width:34px;height:34px;flex:none}
.crew-share-word{color:var(--link);font-size:16px;flex:none}
#app .crew-row .avatar{width:40px;height:40px;font-size:15px;margin:0;flex:none}
.crew-start{flex:none;text-align:right;font:600 22px/1 Barlow,Inter,sans-serif}
.crew-start small{display:block;font:400 12px Inter,sans-serif;color:var(--muted);margin-top:3px}
#app.look-c .crew-list .home-add{margin-top:2px}
#app.look-c #sync-note{margin:8px 2px 0}
#app.look-c .card.crew-invite{padding:6px var(--card-padding)}

/* Map list (phone), same rows as Home and Explore (DECISIONS #102). */
#app.map-page .map-list--c{padding:4px 16px calc(110px + env(safe-area-inset-bottom))}
#app.map-page .map-list--c .card{padding-block:6px}
.map-list-row>.icon{width:34px;height:34px;flex:none}
.map-list-row strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.map-earlier{margin-top:8px}
.map-earlier summary{min-height:44px;display:flex;align-items:center;justify-content:center;color:var(--link);font-size:16px;cursor:pointer;list-style:none}
.map-earlier summary::-webkit-details-marker{display:none}
.map-list-note{font-size:13px;color:var(--muted);text-align:center;margin:12px 0}
/* Day strip sits right under the status bar (Ethan: "not high enough"). */
#app.map-page .map-toolbar--c{top:calc(env(safe-area-inset-top) + 4px)}
#app.map-page .map-toolbar--c.map-toolbar--list{padding-top:calc(env(safe-area-inset-top) + 4px)}
/* The weather row always spans the race card, whatever the card's layout. */
#app .home-race-card{flex-wrap:wrap}
#app .home-race-card>.home-race-main,#app .home-race-card>.home-weather{flex:1 0 100%;width:100%;max-width:none;box-sizing:border-box}
@media (max-width:99999px){#app.map-page .app-content:has(.map-toolbar--list){padding-bottom:0!important}}
#app.map-page .map-toolbar--c.map-toolbar--list{padding-left:10px;padding-right:10px}
@media (max-width:359px){#app.map-page .map-toolbar--c.map-toolbar--list{padding-left:2px;padding-right:2px}}

/* Watch, option A (DECISIONS #103): route as rows, travel between them. */
#app.look-c .route-list,#app.look-c .race-day-list{padding-block:6px}
#app .route-row .mile{width:48px;height:48px;border-radius:12px;background:var(--field);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;font:600 20px/1 Barlow,Inter,sans-serif;color:var(--lime,#c8f560)}
#app .route-row .mile small{font:500 10px Inter,sans-serif;margin-top:2px}
#app .route-row .mile.is-now,#app .route-row .mile.is-now small{background:#ffb020;color:#1a1200}
#app .route-row .mile.is-finish{background:var(--blue,#2f54eb);color:#fff;font-size:15px}
.route-leg{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;background:none;border:0;border-top:1px solid var(--line);padding:6px 0 6px 60px;text-align:left;color:var(--muted);font-size:14px}
.route-leg>.icon{width:22px;height:22px;flex:none}
.route-leg.is-tight{color:#ffb020}
[data-appearance=light] #app .route-leg.is-tight{color:#9a5b00}
.route-leg .chev{font-size:18px}
.route-list .route-leg+.route-row{border-top:0}
.race-day-list .home-row>.icon{width:30px;height:30px;flex:none}
/* The stop sheet uses the same compact rows as Watch. */
#dialog-root .runner-window{display:flex;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
#dialog-root .runner-window .pass-who{display:flex;align-items:center;gap:12px;flex:1;min-width:0;background:none;border:0;padding:0;text-align:left;color:inherit}
#dialog-root .runner-window .runner-dot{width:40px;height:40px;font-size:16px;flex:none}
#dialog-root .runner-window strong{display:block;font-size:17px;font-weight:600}
#dialog-root .runner-window small{display:block;font-size:13px;color:var(--muted)}
#dialog-root .runner-window .window-time{font:600 22px/1 Barlow,Inter,sans-serif;white-space:nowrap}
#dialog-root .runner-window .window-time small{display:inline;font:500 12px Inter,sans-serif;margin-left:3px}
/* Weather row (Ethan, again): full width under the date, arrow at the far right, in every browser. */
#app .home-race-card{display:grid!important;grid-template-columns:minmax(0,1fr);row-gap:0}
#app .home-race-card>.home-weather{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;column-gap:12px;justify-self:stretch;width:100%}
#app .home-race-card>.home-weather>.chev{justify-self:end}
@media (max-width:359px){#dialog-root .runner-window{gap:8px}#dialog-root .runner-window .runner-dot{width:34px;height:34px;font-size:14px}#dialog-root .runner-window small{white-space:nowrap}#dialog-root .runner-window .window-time{font-size:19px}#dialog-root .runner-window .window-time small{font-size:11px}}
#app .home-race-card>.home-weather{border:0;border-top:1px solid var(--line);margin-top:12px;padding:12px 0 0}
#app .home-race-card>.home-weather{margin-top:8px}

/* Race-morning weather sheet (DECISIONS #104). */
#dialog-root .seg-control,.seg-control{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--surface);border-radius:12px;padding:3px;margin-bottom:14px}
.seg-control button{min-height:44px;border:0;border-radius:9px;background:none;color:var(--muted);font-size:14px;font-weight:500}
.seg-control [aria-pressed="true"]{background:var(--field);color:var(--text);font-weight:600}
.weather-hero{display:flex;align-items:center;gap:14px;margin:4px 0 14px}
.weather-hero>.icon{width:56px;height:56px;flex:none}
.weather-hero b{display:block;font:600 40px/1 Barlow,Inter,sans-serif}
.weather-hero small{display:block;font-size:14px;color:var(--muted);margin-top:6px}
#dialog-root .weather-hours,#dialog-root .weather-runners{padding-block:4px}
.weather-hour-time{width:56px;flex:none;font-size:15px;color:var(--muted)}
#dialog-root .weather-hour>.icon{width:30px;height:30px;flex:none}
#dialog-root .weather-hour strong{font:600 22px/1 Barlow,Inter,sans-serif}
.weather-hour-side{text-align:right;font-size:14px;flex:none}
.weather-hour-side small{display:block;font-size:12px;color:var(--muted)}
.weather-source{font-size:12px;color:var(--muted);text-align:center;margin:14px 0 4px}

/* Cheer spot picker (phone), option C + B (DECISIONS #105). */
.pick-back,#app .pick-back,#dialog-root .pick-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin:0 0 4px;padding:0;border:0;background:none;color:var(--link,#3a5ee8);font:600 17px/1.2 Inter,sans-serif;text-align:left}
.back-art{width:26px;height:26px;flex:none}
#app.look-c .pick-suggest{padding:14px var(--card-padding) 16px;margin-top:12px}
.pick-tag{display:inline-block;font-size:12px;font-weight:600;color:#1a1200;background:#ffb020;border-radius:6px;padding:2px 8px;margin:0 0 6px}
.pick-tag.is-alt{background:var(--field);color:var(--text)}
.pick-suggest h3{font-size:19px;font-weight:600;line-height:1.25;margin:0 0 4px}
.pick-use{width:100%;margin-top:12px}
#app.look-c .pick-list{padding-block:6px}
.pick-row .mile,#app .pick-row .mile{width:48px;height:48px;border-radius:12px;background:var(--field);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;font:600 20px/1 Barlow,Inter,sans-serif;color:var(--lime,#c8f560)}
#app .pick-row .mile small{font:500 11px Inter,sans-serif;margin-top:2px}
.pick-row .grow small.pick-transit{white-space:normal;font-size:12px}
.pick-leg{padding-left:60px;color:var(--muted)}
.pick-leg b{color:var(--text);font-weight:600}
.pick-leg .text-btn{flex:none;min-height:44px;font-size:14px}
.pick-suggest-link{display:block;min-height:44px;font-size:16px;margin:4px 0 0}
.pick-note{font-size:12px;color:var(--muted);text-align:center;margin:14px 8px}
/* Icon actions in our glossy style (Ethan: share, list and the like always get our icon). */
.icon-action{width:44px;height:44px;min-width:44px;display:grid;place-items:center;background:none;border:0;padding:0;flex:none}
.icon-action>.icon,.icon-action .icon{width:32px;height:32px}
#dialog-root .weather-hour strong,.weather-hour strong{line-height:1.15}
#app .review-edit-btn.icon-action{background:none!important;box-shadow:none!important;padding:0!important}

/* Setup, race first (DECISIONS #108). */
.step-bar{display:flex;gap:6px;margin:6px 0 12px}
.step-bar i{flex:1;height:4px;border-radius:2px;background:var(--field)}
.step-bar i.on{background:#ffb020}
#app.look-c .setup-search{margin-top:14px}
#app.look-c .race-list{padding-block:6px;margin-top:12px}
.race-date{width:48px;height:48px;border-radius:12px;background:var(--field);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;font:600 20px/1 Barlow,Inter,sans-serif}
.race-date small{font:500 12px Inter,sans-serif;color:var(--muted);text-transform:uppercase;margin-top:2px}
.setup-roles{display:flex;flex-direction:column;gap:10px;margin-top:14px}
.setup-role{display:flex;align-items:center;gap:14px;width:100%;min-height:72px;padding:14px;border-radius:14px;background:var(--surface);border:0;text-align:left;color:inherit;box-shadow:inset 0 0 0 2px transparent}
.setup-role.is-on{box-shadow:inset 0 0 0 2px var(--blue,#2f54eb)}
.setup-role>.icon{width:40px;height:40px;flex:none}
.setup-role strong{display:block;font-size:17px;font-weight:600}
.setup-role small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.setup-tick{width:26px;height:26px;border-radius:50%;background:var(--blue,#2f54eb);color:#fff;display:grid;place-items:center;font-size:14px;flex:none}
#app.look-c .setup-form{margin-top:16px}
#app.look-c .setup-form .primary{width:100%;margin-top:8px}

/* Pop-ups, style A (DECISIONS #110): ✕ left, title, count on the right; our rows. */
#dialog-root .sheet-head{flex-direction:row!important;justify-content:flex-start!important;gap:12px}
#dialog-root .sheet-head>.icon-btn{order:-1}
#dialog-root .sheet-head h2{font-size:22px;font-weight:700}
#dialog-root .sheet-count{margin-left:auto;font-size:14px;color:var(--muted)}
#dialog-root .sheet-list{padding:4px var(--card-padding,16px);margin-top:4px}
#dialog-root .sheet-list+.sheet-list{margin-top:12px}
#dialog-root .sheet-row{text-decoration:none;cursor:pointer}
#dialog-root .sheet-row>.icon{width:32px;height:32px;flex:none}
#dialog-root .sheet-row .avatar{width:40px;height:40px;font-size:15px;margin:0;flex:none}
#dialog-root .sheet-row .grow small{white-space:normal}
#dialog-root .sheet-num{font:600 18px/1 Barlow,Inter,sans-serif;color:var(--link);flex:none}
#dialog-root .check-dot{width:28px;height:28px;border-radius:50%;box-shadow:inset 0 0 0 2px #4a4f5a;display:grid;place-items:center;font-size:14px;color:transparent;flex:none}
#dialog-root .prep-row input:checked+.check-dot{background:#36c06a;box-shadow:none;color:#fff}
#dialog-root .prep-row input:focus-visible+.check-dot{outline:3px solid var(--blue);outline-offset:2px}
#dialog-root .sheet-source{font-size:12px;color:var(--muted);text-align:center;margin:12px 6px 0;line-height:1.5}
#dialog-root .sheet-source a{color:var(--link)}
#dialog-root .sheet-form{margin:14px 0}
#dialog-root .sheet-form .primary{width:100%}
#dialog-root .form-label{font-size:13px;color:var(--muted)}
#dialog-root .form-label input,#dialog-root .form-label textarea,#dialog-root .form-label select{background:var(--surface);border-radius:12px;min-height:48px;font-size:17px;color:var(--text);padding:0 14px;margin-top:6px}
#dialog-root .form-label textarea{padding:12px 14px;min-height:96px}
#dialog-root .route-row .mile{width:48px;height:48px;border-radius:12px;background:var(--field);display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;font:600 20px/1 Barlow,Inter,sans-serif;color:var(--lime,#c8f560)}
#dialog-root .route-row .mile small{font:500 11px Inter,sans-serif;margin-top:2px}
#dialog-root .pick-leg{padding-left:60px}
#dialog-root .behind{color:#ffb020}
#dialog-root .sheet-source a{display:inline-block;min-width:44px;min-height:44px;line-height:44px;text-align:center}
/* Light mode: mile badges and warning lines need darker colors to be readable. */
[data-appearance=light] #app .route-row .mile,[data-appearance=light] #dialog-root .route-row .mile,[data-appearance=light] #app .pick-row .mile{color:#3b6b00}
[data-appearance=light] #app .route-row .mile.is-now,[data-appearance=light] #app .route-row .mile.is-now small{color:#1a1200}
[data-appearance=light] #app .route-row .mile.is-finish{color:#fff}
[data-appearance=light] #dialog-root .route-leg.is-tight,[data-appearance=light] #app .pick-leg.is-tight{color:#9a5b00}
[data-appearance=light] #dialog-root .behind{color:#9a5b00}
#dialog-root .sheet-note{font-size:15px;line-height:1.5;color:var(--text);margin:12px 2px}
#dialog-root .sheet-warn{font-size:14px;color:#ffb020;margin:10px 2px}
[data-appearance=light] #dialog-root .sheet-warn{color:#9a5b00}
#dialog-root .sheet-go{font-size:15px;color:var(--link);flex:none;white-space:nowrap}
.sheet-go-btn{display:inline-flex;align-items:center;gap:6px;flex:none;min-height:36px;padding:7px 12px;border-radius:18px;background:color-mix(in srgb,var(--link,#2f54eb) 13%,transparent);color:var(--link,#2f54eb);font:600 14px/1.1 Inter,sans-serif;white-space:nowrap;text-decoration:none}
.sheet-go-btn>.icon,.sheet-go-btn>img{width:18px;height:18px;flex:none}
#dialog-root .sheet-go-btn{font-size:14px}
a.sheet-go-btn{min-height:44px}
#app .primary.track-live{display:flex;align-items:center;justify-content:center;gap:10px}
#app .primary.track-live>.icon,#app .primary.track-live>img{width:24px;height:24px;flex:none}
#dialog-root .sheet-main{width:100%;margin-top:14px}
#dialog-root .danger-text{color:#ff6b5e}
[data-appearance=light] #dialog-root .danger-text{color:#c0362a}
#dialog-root .danger-fill{color:#ff6b5e!important;font-weight:600}
[data-appearance=light] #dialog-root .danger-fill{color:#a82a1f!important;font-weight:600}
#dialog-root .sheet-row .home-time{width:56px;flex:none;font:600 24px/1 Barlow,Inter,sans-serif}
#dialog-root .sheet-row .home-time small{display:block;font:400 12px Inter,sans-serif;color:var(--muted);margin-top:3px}
#dialog-root .sheet-row .grow small+small{margin-top:2px}
#dialog-root .two-actions{margin-top:14px}
#dialog-root .prep-row input:checked+.check-dot{background:#1f8a47;font-weight:700}
#dialog-root .form-label input,#dialog-root .form-label textarea,#dialog-root .form-label select{background:var(--field)!important;border:0!important;box-shadow:none!important}
#dialog-root .form-label input,#dialog-root .form-label select{height:48px!important;min-height:48px!important;box-sizing:border-box}
#dialog-root .row-select{background:none!important;border:0;color:var(--link);font-size:15px;min-height:44px;padding:0 4px;text-align:right;flex:none;appearance:auto}
#dialog-root .link-box{width:100%}
#dialog-root .row-select{width:auto!important;max-width:55%!important;min-width:0}#dialog-root .sheet-row>.grow{min-width:96px}
/* Small phones: fields stack so dates and times are never cut off. */
@media (max-width:359px){#dialog-root .form-grid{grid-template-columns:1fr!important}}
@media (max-width:399px){.map-daybar button:last-child{display:none}} /* 8 days don't fit at 44 px each under 400 px; Tuesday stays under All */
/* 320px: settings rows and the pace choices fit. */
@media (max-width:359px){
 #dialog-root .row-select{font-size:14px;max-width:46%!important;padding:0}
 #dialog-root .sheet-row>.grow{min-width:0}
 #dialog-root .sheet-row strong{overflow-wrap:normal;word-break:normal;hyphens:none}
 #dialog-root .pace-steps button,#dialog-root .pace-steps span{font-size:13px;padding:0 2px;white-space:nowrap}
}
@media (max-width:359px){#dialog-root .sheet-row>.grow{flex:1 1 auto}#dialog-root .row-select{flex:0 1 auto}}
@media (max-width:359px){#dialog-root label.sheet-row{gap:10px}#dialog-root label.sheet-row .row-select{max-width:40%!important}}
@media (max-width:359px){#dialog-root .sheet-row>.icon{width:28px;height:28px}#dialog-root label.sheet-row .row-select{max-width:38%!important}}
/* Grouped map pins: one round count for places that sit on top of each other. */
#app.map-page .map-pin--cluster{width:44px;height:44px;border-radius:50%;background:var(--blue,#2f54eb)!important;color:#fff!important;font:600 17px/1 Barlow,Inter,sans-serif;box-shadow:0 0 0 3px rgba(255,255,255,.9),0 2px 9px #0006}
/* The bottom bar's five buttons are one height (design rule D7). */
#app nav.nav>button{align-self:stretch}
#app nav.nav>button.add-nav{height:auto;min-height:0}
/* "Added to your weekend": a plain link, not a pill inside the banner (no background on a background). */
#app .review-save-receipt strong{font-size:15px}
#app .review-save-receipt small{font-size:13px}
#app .review-save-receipt button{background:none!important;color:var(--link,#3a5ee8)!important;padding:0 4px;min-height:44px;font-size:15px;font-weight:600;border-radius:0}
/* Sample weekend label: readable size (A1: at least 11 px; here 13). */
#app .sample-label{font-size:13px!important;padding:6px 16px!important}
/* Short messages ("Saved", "Stop added", "Link copied") appear at the top, under the header, where they
   don't cover a button or the list (QA, Nov 1, 2026). Small and pill-shaped; they fade on their own. */
#announcer:not(:empty){top:calc(env(safe-area-inset-top) + 64px)!important;bottom:auto!important;padding:9px 16px!important;border-radius:22px!important;font-size:14px!important;pointer-events:none}

/* QA, Nov 1, 2026 */
/* The "passed" check is a visible circle in light mode too (it read as already ticked). */
[data-appearance=light] #app .pass-check:not(.done){background:#e6e8ee;color:#59606e;box-shadow:inset 0 0 0 1.5px #c5c9d3}
/* Pace chips: four equal chips that always fit, even at 320 px. */
#dialog-root .pace-steps button{min-width:0!important;width:auto!important;padding:0 2px!important;font-size:15px!important}
@media (max-width:359px){#dialog-root .pace-steps button{font-size:13px!important}}
/* A pair of buttons never breaks a word: "Directions" stays one word. */
/* Two buttons side by side share the row while both labels fit on one line; when they don't, each takes its own full line. A label never runs past its button (Ethan, Nov 6: "Who Has Passed?" spilled out; DESIGN rule 67). */
.two-actions{display:flex;flex-wrap:wrap}
.two-actions>*{white-space:nowrap;flex:1 1 0;min-width:min(max-content,100%)}
@media (max-width:359px){.two-actions>*{font-size:15px;padding-left:8px!important;padding-right:8px!important;gap:6px}}

/* The pass window moves under the name on the narrowest phones (it is shown beside the time elsewhere). */
.pass-row .pass-alt{display:none}
/* Setup role tiles: the text fills the row so the check sits at the right edge. */
.setup-role>.grow{flex:1;min-width:0}
.setup-role .setup-tick{margin-left:auto}
/* Pickers look like pickers: a chevron on the right of every select. */
#app select,#dialog-root select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%238e93a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;padding-right:38px!important}
/* Text boxes: no drag-to-resize grip. */
#app textarea,#dialog-root textarea{resize:none}
/* Runner bib card: one surface (no grey band in light mode) and labels on one line. */
#app .racepass-identity{align-items:start}
#app .racepass-identity>div{display:flex;flex-direction:column;gap:4px}
[data-appearance=light] #app .racepass-metrics{background:#f4f5f8}
#app .racepass-kicker{font-size:12px}
/* Bottom bar: five equal slots, the same width on every page; on tablets it stays a phone-sized bar. */
@media (max-width:1023px){
 #app nav.nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;max-width:520px!important;margin-left:auto!important;margin-right:auto!important;left:12px!important;right:12px!important}
 #app nav.nav>button{width:auto!important;min-width:0!important;justify-self:stretch}
 #app nav.nav>button.add-nav[aria-current="page"]{background:var(--nav-active,rgba(127,127,127,.18))}
}
@media (max-width:1023px){#app nav.nav>button.add-nav[aria-current="page"]{background:rgba(127,127,127,.2)!important;border-radius:20px}}
#app .map-fallback{padding-right:76px}
/* A focused field gets a clean ring around its rounded box, not a curved underline (QA, Nov 1, 2026). */
#app .desktop-filter-select:has(select:focus-visible){box-shadow:0 0 0 2px #4d6bff!important}
#app .search input:focus-visible{box-shadow:none!important}
#app :is(input,select,textarea):not([type=search]):not([name=q]):focus-visible,#dialog-root :is(input,select,textarea):not([type=search]):not([name=q]):focus-visible{box-shadow:0 0 0 2px #4d6bff!important;outline:0}
[data-appearance=light] #app :is(input,select,textarea):not([type=search]):not([name=q]):focus-visible,[data-appearance=light] #dialog-root :is(input,select,textarea):not([type=search]):not([name=q]):focus-visible{box-shadow:0 0 0 2px #2f54eb!important}
/* Fields side by side line up even when one label wraps to two lines. */
.form-grid{align-items:end}
/* Travel between stops: the note gets the full width and "Check Trip" sits under it, so nothing is
   squeezed into a narrow column (QA, Nov 1, 2026). */
.route-leg.pick-leg{display:grid!important;grid-template-columns:28px minmax(0,1fr);column-gap:10px;row-gap:2px;align-items:start}
.route-leg.pick-leg>.icon{grid-row:1/3}
.route-leg.pick-leg>.grow{grid-column:2}
.route-leg.pick-leg>a.text-btn{grid-column:2;justify-self:start;min-height:44px;padding:0;text-decoration:none}
#dialog-root .sheet-list .home-row small{white-space:normal}
/* The whole "Following" card opens the runner list (the pencil was the only working spot). */
#app button.following-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;color:inherit;border:0;cursor:pointer;font:inherit}
/* Up next: runners who have passed (or whose window is over) are dimmed, so they don't look still to come. */
.pass-row.is-gone .pass-who,.pass-row.is-gone .pass-when{color:var(--muted)}
/* Pickers inside pop-ups keep their chevron (the field rules above reset the background). */
#dialog-root .form-label select,#dialog-root select.row-select,#app .form-label select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%238e93a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;padding-right:38px!important;appearance:none!important;-webkit-appearance:none!important;text-overflow:ellipsis}
#dialog-root select.row-select{background-position:right 4px center!important;padding-right:24px!important}
/* A picker beside a field gets too narrow on phones to show "Wave 1 · 9:10 AM": stack them. */
@media (max-width:439px){#dialog-root .form-grid:has(select){grid-template-columns:1fr!important}}

/* QA round 2 */
[data-appearance=light] #app .racepass-metrics{background:transparent;border-top:1px solid #e3e5ea}
#app .racepass-number.is-empty{font:600 20px/1.2 Inter,sans-serif;color:var(--link,#3a5ee8)}
#app .step-marker{font-size:12px}
#app details.note-source>summary,#dialog-root details.note-source>summary{font-size:14px;min-height:44px;display:flex;align-items:center}
.setup-role .setup-tick{background:none!important;color:#6f8bff;box-shadow:none!important;font-weight:700}
[data-appearance=light] .setup-role .setup-tick{color:#2742d6}
#app .map-pin--activity{min-width:44px}
#dialog-root .card .two-actions .secondary{background:rgba(127,127,127,.22)!important}
/* Round 3: second lines wrap instead of cutting off times */
#app .home-row .grow>small,#app .following-row small,.stop-who>span:last-child{white-space:normal;overflow:visible;text-overflow:clip}
.stop-who{flex-wrap:wrap;row-gap:6px}.stop-who>span:last-child{flex:1 1 130px;min-width:0}
#app .pass-row .grow{min-width:84px}#app .pass-row .grow small{white-space:nowrap}
.runner-window.is-gone .pass-who,.runner-window.is-gone .window-time{color:var(--muted)}
#app .map-place-full{min-height:44px}
.field-error{margin:2px 0 0;font-size:15px;font-weight:400}
#app .route-leg.pick-leg.is-tight,#dialog-root .route-leg.pick-leg.is-tight{background:rgba(255,170,0,.1);border-radius:12px;border-top:0;padding:10px 12px 2px;margin:4px 0 6px 60px;width:auto;max-width:calc(100% - 60px);box-sizing:border-box}
#app .map-place-full{min-height:44px!important}
#dialog-root .prep-row input:disabled+.check-dot{opacity:.35;box-shadow:inset 0 0 0 2px #4a4f5a}#dialog-root .prep-row:has(input:disabled){cursor:not-allowed}
#app .home-pick strong,#app .explore-row strong{display:block;-webkit-line-clamp:unset;overflow:visible}
#dialog-root .two-actions>.primary,#dialog-root .two-actions>.secondary{margin-top:0!important;min-height:52px!important;height:auto!important;padding-top:12px!important;padding-bottom:12px!important}
#app .explore-detail-card .sheet-warn,#dialog-root .sheet-warn{color:#ffb020;font-weight:600;margin-bottom:12px!important}
[data-appearance=light] #app .explore-detail-card .sheet-warn,[data-appearance=light] #dialog-root .sheet-warn{color:#9a5b00}
#dialog-root .text-btn.danger-btn,#app .text-btn.danger-btn{color:#ff8a7a}
[data-appearance=light] #dialog-root .text-btn.danger-btn,[data-appearance=light] #app .text-btn.danger-btn{color:#a82a1f}
/* Ethan, Nov 2: never a blue ring or highlight around search bars (DECISIONS #126). */
input[type=search],input[name=q],input[placeholder^="Search"],[class*=search] input{outline:none!important;box-shadow:none!important}
input[type=search]:focus,input[type=search]:focus-visible,input[name=q]:focus,input[name=q]:focus-visible,input[placeholder^="Search"]:focus,input[placeholder^="Search"]:focus-visible,[class*=search] input:focus,[class*=search] input:focus-visible,[class*=search]:focus-within{outline:none!important;box-shadow:none!important}
html body #app .search:focus-within,html body #app .search:has(input:focus-visible),html body #app .look-search:focus-within,html body #app [class*=search]:focus-within,html body #dialog-root [class*=search]:focus-within,
html body #app input[type=search]:is(:focus,:focus-visible),html body #app input[name=q]:is(:focus,:focus-visible),html body #app input[placeholder^="Search"]:is(:focus,:focus-visible),html body #app [class*=search] input:is(:focus,:focus-visible),
html body #dialog-root input[type=search]:is(:focus,:focus-visible),html body #dialog-root input[placeholder^="Search"]:is(:focus,:focus-visible),html body #dialog-root [class*=search] input:is(:focus,:focus-visible),
[data-appearance] html body #app [class*=search] input:focus-visible{outline:none!important;box-shadow:none!important}
/* Join: one big "I'm cheering" button first (Nov 2, simple for everyone) */
#app .join-cheer-main{min-height:64px;font-size:19px;font-weight:600;border-radius:18px;margin:4px 0 8px}
#app .join-run-note{margin:-4px 0 10px;font-size:15px}
/* Option C: a cheerer's race day on one screen (DECISIONS #127). No top bar or tab bar here; "More" has the rest. */
/* Running late: one tap, stacked full-width choices (Nov 2) */
#dialog-root .pace-steps{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
#dialog-root .pace-steps button{min-height:54px;font-size:18px;margin:0}
.cs-done{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:calc(env(safe-area-inset-top) + 8px) 0 12px;padding:4px 8px 4px 14px;border-radius:14px;background:#1f8a47;color:#fff;font-size:15px;font-weight:600}
#app .cs-done .text-btn{color:#fff;font-size:15px;font-weight:700;text-decoration:underline;min-height:44px;padding:0 10px}
/* Setup option A (DECISIONS #128): big tappable choices, one question per screen */
.setup-label{font-size:17px;font-weight:600;margin:22px 0 10px}
.setup-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#app .setup-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;border-radius:16px;border:0;background:var(--surface,#fff);color:var(--text,#111);padding:8px 10px;margin:0}
#app .setup-chip b{font-size:19px;font-weight:700}
#app .setup-chip small{font-size:15px;color:var(--muted,#6b6f7a)}
#app .setup-chip.is-on{background:#2f54eb;color:#fff}
#app .setup-chip.is-on small{color:#e6ebff}
#app .setup-next{margin-top:24px;min-height:58px;font-size:19px;font-weight:600;border-radius:18px}
.setup-choice{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;border:0;border-radius:18px;background:var(--surface,#fff);padding:14px 16px;text-align:left;margin:4px 0 14px}
.setup-choice.is-on{box-shadow:inset 0 0 0 2px #2f54eb}
.setup-choice strong{display:block;font-size:19px}.setup-choice small{display:block;font-size:15px;color:var(--muted,#6b6f7a);margin-top:2px}
.setup-choice .icon{width:36px;height:36px}
.setup-preview{padding:16px 18px}
.setup-preview-top{display:flex;align-items:center;gap:10px}.setup-preview-top b{display:block;font-size:18px}.setup-preview-top small{display:block;font-size:15px;color:var(--muted,#6b6f7a)}
.setup-preview-kick{font-size:15px;color:var(--muted,#6b6f7a);margin-top:12px}
.setup-preview-place{font-size:22px;font-weight:800;line-height:1.2;margin-top:2px}
.setup-preview-line{display:flex;justify-content:space-between;font-size:16px;margin-top:8px}.setup-preview-line span{color:var(--muted,#6b6f7a)}.setup-preview-line b{font-size:19px}
#app .pick-continue{margin:0 0 14px}
#app .setup-crew .step-stack .primary,#app .setup-crew .step-stack .secondary{min-height:58px;font-size:19px;font-weight:600;border-radius:18px}
#app .setup-crew .step-stack .text-btn{font-size:18px}
/* Runner home, option A (DECISIONS #129) */
#app .rh-next{background:#2f54eb;color:#fff;border:0;border-radius:22px;padding:18px 18px 16px;margin:4px 0 6px}
#app .rh-next.is-free{background:var(--surface,#fff);color:var(--text,#111)}
.rh-kick{font-size:15px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;opacity:.9}
#app .rh-next h2,#app .rh-race h2{font-size:26px;line-height:1.2;font-weight:800;margin:6px 0 4px;letter-spacing:-.3px}
.rh-sub{font-size:17px;line-height:1.4;opacity:.92}
#app .rh-next .external-action,#app .rh-next .rh-btn{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:54px;margin-top:14px;border-radius:16px;background:#fff;color:#2742d6;font-size:18px;font-weight:700;border:0;text-decoration:none}
#app .rh-next.is-free .rh-btn{background:#2f54eb;color:#fff}
#app .rh-race{position:relative;display:block;width:100%;text-align:left;border:0;border-radius:22px;background:var(--surface,#fff);color:var(--text,#111);padding:16px 44px 16px 18px;margin:14px 0 4px}
#app .rh-race .rh-kick{color:#9a5b00;opacity:1}
[data-appearance=dark] #app .rh-race .rh-kick{color:#ffb020}
#app .rh-race .rh-sub{color:var(--muted,#6b6f7a);opacity:1}
.rh-chev{position:absolute;right:18px;top:50%;transform:translateY(-50%);font-size:28px;color:var(--muted,#8e93a0)}
/* past rows read in the muted color instead of fading (contrast, Nov 3 designer) */#app .rh-row.is-past :is(strong,span,small,b){color:var(--muted)}#app .rh-row.is-past img{opacity:.7}
/* Three-tab bar on phones (Today, Race Day, More) */
/* Five tabs on phones (DECISIONS #137); laptops show the same five in the rail (wide.css). */
@media (max-width:1023px){
#app nav.nav.nav-simple{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;padding-left:6px!important;padding-right:6px!important}
#app nav.nav.nav-simple button{flex-direction:column;gap:3px;font-size:12px!important;min-height:58px;min-width:0;padding-left:2px!important;padding-right:2px!important;white-space:nowrap}
#app nav.nav.nav-simple button .icon{width:28px;height:28px}
}
#announcer.at-bottom:not(:empty){top:auto!important;bottom:calc(24px + env(safe-area-inset-bottom))!important}
[data-appearance=dark] #announcer:not(:empty){background:#2c2c2e!important;color:#fff!important}
#app .setup-sticky{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom));z-index:3;box-shadow:0 6px 18px rgba(0,0,0,.18)}
/* "Leave by" (DECISIONS #131) */
.cs-leave span{color:var(--text,#111)!important;font-weight:600}
.cs-leave b{color:#2f54eb}
.cs-leave.is-now span,.cs-leave.is-now b{color:#c2410c}
.cs-leave-note{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;line-height:1.4;color:var(--muted,#6b6f7a);padding:0 0 10px;border-bottom:1px solid var(--line,#e5e7eb);margin-bottom:4px}
#app .cs-leave-note .text-btn{flex:none;font-size:14px;font-weight:600;color:var(--link,#2742d6);min-height:44px;padding:0 4px}
.cs-ask{margin:12px 0 0;background:var(--surface,#fff);border-radius:14px;padding:14px}
#app .cs-ask h2{font-size:16px;line-height:1.3;font-weight:600;margin:0 0 10px;letter-spacing:0}
.cs-ask-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#app .cs-ask .cs-chip{display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:12px;border:1.5px solid #c9cdd6!important;background:transparent!important;color:var(--text,#111);font:600 15px/1.2 Inter,system-ui,sans-serif;text-decoration:none;margin:0;padding:6px 10px}
#app .cs-ask .cs-chip-maps{margin-top:10px!important;width:100%}
#app .cs-chip .icon{width:28px;height:28px}
.cs-ask-note{font-size:13px;line-height:1.45;color:var(--muted,#6b6f7a);margin:12px 0 0}
@media (prefers-color-scheme:dark){#app .cs-ask .cs-chip{border-color:#4a4d55!important}}
:root[data-appearance=dark] #app .cs-ask .cs-chip{border-color:#4a4d55!important}
:root[data-appearance=light] #app .cs-ask .cs-chip{border-color:#c9cdd6!important}
/* Just watching (DECISIONS #132) */
:root[data-appearance=dark] .cs-leave b{color:#8fa3ff}:root[data-appearance=dark] .cs-leave.is-now span,:root[data-appearance=dark] .cs-leave.is-now b{color:#ffa463}
#app .more-back{font-size:19px;font-weight:600;min-height:48px;padding:0 4px;margin:4px 0 2px}
/* Larger text (Settings, Nov 3): everything on the page grows about 15%, except maps, whose
   touch and drag math must stay at the real size. */
html.text-large #app:not(.map-page) .app-content>*:not(.race-cols):not(.map-wide),html.text-large #app .race-main,html.text-large #dialog-root .sheet>*{zoom:1.12}
html.text-large #app .home-map,html.text-large #app .home-map-card{zoom:1}
#app .cs-remind{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;margin:6px 0 4px;padding:0;background:none;border:0;color:var(--link,#2742d6);font:600 14px/1.3 Inter,system-ui,sans-serif;text-align:left}
#app .cs-remind .icon{width:22px;height:22px;flex:none}
#dialog-root a.sheet-main{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;text-decoration:none}
#dialog-root a.sheet-main .icon{width:28px;height:28px}
.sheet-meet-now{margin:0 0 18px}
/* The setup Next button sits on a solid strip of page color, so choices scroll under it, never
   beside it (Nov 3 tester). */
#app .setup-sticky{box-shadow:0 0 0 14px var(--page-bg-solid,var(--bg)),0 -18px 0 14px var(--page-bg-solid,var(--bg))}
#app .sample-exit{font-size:inherit;font-weight:700;min-height:44px;padding:0 6px;color:var(--link,#2742d6)}
#app .map-back{display:block;font:600 18px/1.2 Inter,system-ui,sans-serif;min-height:44px;padding:0 8px;margin:0 0 2px}
#app nav.nav-simple{zoom:1} html.text-large #app nav.nav-simple{zoom:1.1}
/* One side margin on phones: pop-ups use the same 18px gutter as pages (Nov 3 measurements). */
@media (max-width:1023px){#dialog-root .sheet{padding-left:18px;padding-right:18px}}
.field-hint{display:block;font-size:15px;line-height:1.4;color:var(--muted,#6b6f7a);margin-top:6px;font-weight:400}
/* Pop-up rows line up with page rows: same inner padding, icon size and gap (Nov 3 measurements). */
#dialog-root .sheet-list{padding-inline:14px}
#dialog-root .sheet-row{gap:12px}
#dialog-root .sheet-row>.icon,#dialog-root .sheet-row>img{width:34px;height:34px;flex:none}
/* Typed goal (DECISIONS #138) */
#app .goal-type{display:flex;align-items:center;gap:12px;background:var(--surface,#fff);border:1.5px solid #c9cdd6;border-radius:18px;padding:6px 18px;min-height:72px}
:root[data-appearance=dark] #app .goal-type{border-color:#4a4d55}
#app .goal-type input{flex:1;min-width:0;border:0!important;background:transparent!important;font:700 40px/1 Barlow,Impact,sans-serif;color:var(--text,#111);padding:0;outline:none;box-shadow:none!important}
#app .goal-type span{font-size:15px;color:var(--muted,#6b6f7a);text-align:right;line-height:1.2}
.goal-hint{font-size:16px;color:var(--muted,#6b6f7a);margin:8px 2px 10px}
.goal-picks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 12px}
#app .goal-pick{min-height:52px;border-radius:16px;border:0;background:var(--surface,#fff);color:var(--text,#111);font:700 19px/1 Inter,system-ui,sans-serif;margin:0}
#app .goal-pick.is-on{background:#2f54eb;color:#fff}
.goal-pace{display:flex;align-items:center;gap:8px;font-size:17px;color:var(--muted,#6b6f7a);min-height:28px;margin:0 2px 12px}
.goal-pace .icon{width:26px;height:26px}
#app .wave-type-link{display:flex;align-items:center;gap:8px;font-size:17px;font-weight:600;min-height:48px;margin:6px 0 4px;padding:0 2px}
#app .wave-type-link .icon{width:26px;height:26px}
#app .wave-typed{margin:10px 0 6px}
#app .wave-typed input{font-size:19px;min-height:52px}
#app label.goal-type{border:1.5px solid #c9cdd6!important}
:root[data-appearance=dark] #app label.goal-type{border-color:#4a4d55!important}
/* No colored focus ring on these boxes either (DECISIONS #126). */
#app .wave-typed input:focus,#app .wave-typed input:focus-visible{outline:none!important;box-shadow:none!important;border-color:#9aa0ab!important}
[data-appearance] #app .wave-typed input[data-wave-type]:focus-visible,[data-appearance] #app .wave-typed input[data-wave-type]:focus{box-shadow:none!important;outline:none!important;border-color:#9aa0ab!important}
/* A small grouped-list heading inside a pop-up, like iOS Settings ("BACKUP"), Nov 3. */
#dialog-root .sheet-heading{margin:24px 4px 8px;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}

/* The race picker, option B (DECISIONS #142). The course comes from the race's own course line. */
#app.look-c .race-hero-course{display:block;width:100%;height:220px;margin:14px 0 2px}
#app.look-c .race-hero-course path{stroke:#fff;stroke-width:2.5px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
#app.look-c .race-hero-course .course-start{fill:#ffb020;stroke:#fff;stroke-width:1.5px;vector-effect:non-scaling-stroke}
#app.look-c .race-hero-course .course-finish{fill:#fff;stroke:var(--blue);stroke-width:1.5px;vector-effect:non-scaling-stroke}
#app.look-c .race-hero-nomap{display:flex;align-items:center;gap:10px;margin:14px 0 2px;font-size:15px;color:#fff}
#app.look-c .race-pill{display:inline-block;font:600 12px/1.3 Inter,sans-serif;padding:3px 8px;border-radius:99px;background:var(--line);color:var(--muted);margin-top:6px}
#app.look-c .race-pill.is-next{background:#e6ecff;color:var(--blue)}
/* The picker, option A: one card per race in the weekend, tick each one you're running (DECISIONS #146). */
#app.look-c .race-feature[hidden],#app.look-c .race-card[hidden],#app.look-c .race-need[hidden]{display:none}
#app.look-c .race-group{font:600 13px/1.35 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:4px 4px 10px}
#app.look-c .race-cards{display:grid;gap:12px}
#app.look-c .race-card{display:grid;grid-template-columns:66px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:14px 16px;border:0;border-radius:14px;background:var(--surface);color:var(--text);text-align:left;box-shadow:inset 0 0 0 2px transparent;margin:0}
#app.look-c .race-card.is-on{box-shadow:inset 0 0 0 2px var(--blue,#2f54eb)}
#app.look-c .race-card-art{display:flex;align-items:center;justify-content:center;width:66px;height:78px;border-radius:10px;background:var(--blue);overflow:hidden;padding:5px;color:#fff}
#app.look-c .race-card-art .race-hero-course{display:block;width:100%;height:100%;margin:0}
#app.look-c .race-card-art .race-hero-course path{stroke-width:1.6px}
#app.look-c .race-card-art .course-start,#app.look-c .race-card-art .course-finish{display:none}
#app.look-c .race-card-art .race-hero-nomap{display:block;margin:0;font:600 12px/1.2 Inter,sans-serif;text-align:center;color:#fff}
#app.look-c .race-card-art .race-hero-nomap .icon,#app.look-c .race-card-art .race-hero-nomap img{display:none}
#app.look-c .race-card-text{min-width:0}
#app.look-c .race-card strong{display:block;font-size:17px;font-weight:600;line-height:1.25}
#app.look-c .race-card small{display:block;font-size:14px;line-height:1.3;color:var(--muted);margin-top:2px}
.race-tick{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:transparent;box-shadow:inset 0 0 0 2px var(--muted);box-sizing:border-box;color:#fff;font:700 15px/1 Inter,sans-serif;flex:none}
.race-tick.is-on{background:var(--blue,#2f54eb);box-shadow:none}
#app.look-c .race-need{font-size:14px;color:var(--text);text-align:center;margin:12px 0 0}
#app.look-c button.race-next{width:100%;margin-top:14px}
#app.look-c .race-others{margin-top:6px}
/* Race Day for someone with 2+ races: the switch, equal widths, name on one line, date below. */
.race-switch{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:4px;background:var(--line);border-radius:12px;padding:4px;margin:0 0 14px}
.race-switch button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:54px;border:0;border-radius:9px;background:transparent;color:var(--text);font:600 15px/1.25 Inter,sans-serif;margin:0;padding:4px 6px;white-space:nowrap}
.race-switch button b{font-weight:600}
.race-switch button small{font:500 12px/1.3 Inter,sans-serif;color:var(--muted)}
.race-switch button.is-on{background:var(--surface);color:var(--link,#2f54eb)}
/* Your Races / Their Races tick rows in a sheet. */
.race-ticks{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0}
.race-ticks legend{font-size:14px;font-weight:600;padding:0;margin-bottom:8px}
.race-tick-row{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 14px;border-radius:12px;background:var(--surface);cursor:pointer}
.race-tick-row .grow{flex:1;min-width:0}
.race-tick-row strong{display:block;font-size:16px;font-weight:600}
.race-tick-row small{display:block;font-size:13px;color:var(--muted)}
.race-tick-row input{position:absolute;opacity:0;width:1px;height:1px}
.race-tick-row input:checked~.race-tick{background:var(--blue,#2f54eb);box-shadow:none}
.race-tick-row input:checked~.race-tick::after{content:'✓'}
.race-tick-row input:focus-visible~.race-tick{outline:2px solid var(--link,#2f54eb);outline-offset:2px}

/* Race Day for someone cheering or watching (Ethan's pick B, Nov 4; DECISIONS #148): the normal page frame, a white card of
   times, one big blue button, white tiles for the rest. */
.cs-box{margin:0 0 12px;background:var(--surface,#fff);border-radius:14px;padding:6px 14px}
.cs-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;column-gap:12px;padding:10px 0}
.cs-line+.cs-line{border-top:1px solid var(--line,#e5e7eb)}
.cs-line span{font-size:15px;color:var(--text,#111)}
.cs-line .cs-line-icon{width:22px;height:22px;margin-right:8px;vertical-align:-5px}
.cs-line b{font:600 24px/1 Barlow,Impact,sans-serif;white-space:nowrap}#app .cs-line b small{font:500 12px Inter,sans-serif;margin-left:2px}
.cs-also{font-size:13px;line-height:1.4;color:var(--muted,#6b6f7a);padding:0 0 10px}
.cs-also b{color:var(--text,#111);font-weight:600}
.cs-btns{display:grid;gap:12px;margin:0 0 12px}
#app .cs-btn{display:flex;align-items:center;justify-content:center;text-align:center;border:0;text-decoration:none;color:var(--text,#111);background:var(--surface,#fff)}
#app .cs-btn.primary{gap:10px;min-height:50px;width:100%;border-radius:12px;padding:6px 18px;font:600 17px/1.2 Inter,system-ui,sans-serif;background:#2f54eb;color:#fff}
#app .cs-btn.primary .icon{width:24px;height:24px;flex:none}
.cs-tiles{display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:10px}
#app .cs-tiles .cs-btn{flex-direction:column;gap:8px;min-height:76px;border-radius:14px;padding:14px 6px;font:500 13px/1.2 Inter,system-ui,sans-serif}
#app .cs-tiles .cs-btn .icon{width:30px;height:30px;flex:none}
.cs-then{font-size:16px;line-height:1.4;color:var(--muted,#6b6f7a);text-align:center;margin:0 0 6px}
.cs-fine{font-size:13px;line-height:1.45;color:var(--muted,#6b6f7a);text-align:center;margin:12px 8px 0}
.cs-wide .cs-done{margin-top:0}
.race-switch-kick{margin:0 4px 8px}
/* The first screen (Ethan's pick B, Nov 4; DECISIONS #148): two equal doors. */
.who-doors{display:grid;grid-auto-rows:1fr;gap:12px}
#app .who-door{display:grid;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:14px;width:100%;margin:0;padding:18px 16px;border:0;border-radius:14px;background:var(--surface);color:var(--text);text-align:left}
#app .who-door>.icon{width:44px;height:44px}
#app .who-door strong{display:block;font:600 26px/1.1 Barlow,Impact,sans-serif}
#app .who-door small{display:block;font-size:15px;line-height:1.3;color:var(--muted);margin-top:2px}
#app .who-door .chev{color:var(--muted);font-size:22px;text-align:right}
#app .who-guide{display:grid;grid-template-columns:56px minmax(0,1fr) 20px;align-items:center;gap:12px;margin:4px 0 0;padding:12px 14px;border-radius:14px;background:var(--surface);color:var(--text);text-decoration:none}
#app.look-c .who-guide .race-card-art{width:56px;height:64px}
#app .who-guide strong{display:block;font-size:16px;font-weight:600;line-height:1.25}
#app .who-guide small{display:block;font-size:14px;color:var(--muted);margin-top:2px}
#app .who-guide .chev{color:var(--muted);font-size:22px;text-align:right}
#app button.who-all{display:block;width:100%;min-height:44px;margin:12px 0 4px;text-align:center;font-size:16px;font-weight:600;color:var(--muted)}
#app.look-c .race-section[hidden]{display:none}
#app.look-c .race-section .section-heading{margin-top:18px}
/* The archive (Ethan's pick A, Nov 4; DECISIONS #148). */
#app button.archive-plan{width:100%;margin:0 0 14px}
.archive-chips{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 14px}
#app .archive-chip{min-height:36px;margin:0;padding:6px 13px;border:0;border-radius:18px;background:var(--surface);color:var(--text);font:600 14px/1.2 Inter,sans-serif}
#app .archive-chip.is-on{background:#2f54eb;color:#fff}
#app h2.archive-day{font:600 13px/1.3 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#ffb020;margin:14px 0 8px}
[data-appearance=light] #app h2.archive-day{color:#946200}
.archive-rows{display:grid;gap:8px}
#app .archive-row{display:grid;grid-template-columns:56px minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;margin:0;padding:12px 14px;border:0;border-radius:14px;background:var(--surface);color:var(--text);text-align:left}
#app .archive-row .home-time{font:600 22px/1 Barlow,Impact,sans-serif}
#app .archive-row .home-time small{display:block;font:600 12px Inter,sans-serif;color:var(--muted);margin-top:2px}
#app .archive-row strong{display:block;font-size:15px;font-weight:600;line-height:1.25}
#app .archive-row .grow small{display:block;font-size:13px;line-height:1.3;color:var(--muted);margin-top:2px}
#app .archive-row .chev{color:var(--muted);font-size:20px;text-align:right}
.archive-note{font-size:13px;line-height:1.4;color:var(--muted);margin:14px 0 0}
@media (min-width:1024px){#app #page-content.app-content>#archive-list .archive-rows,.archive-rows{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}#app #page-content.app-content:has(#archive-list){max-width:1344px}#app #page-content.app-content:has(#archive-list)>*{max-width:none}}
#app.look-c .race-pick .grow small,#app.look-c .race-pick small{font-size:12px}
@media (min-width:1024px){#app:has(#archive-list) .appbar{max-width:1344px}}

/* The live site's security rules block style="..." in markup (vercel.json), so counts are classes. */
.cs-tiles--1,.race-switch--1{--n:1}.cs-tiles--2,.race-switch--2{--n:2}.cs-tiles--3,.race-switch--3{--n:3}.cs-tiles--4,.race-switch--4{--n:4}.race-switch--5{--n:5}.race-switch--6{--n:6}
.crew-cols-0{--cols:0}.crew-cols-1{--cols:1}.crew-cols-2{--cols:2}.crew-cols-3{--cols:3}.crew-cols-4{--cols:4}.crew-cols-5{--cols:5}.crew-cols-6{--cols:6}.crew-cols-7{--cols:7}.crew-cols-8{--cols:8}
.desktop-context-warning.has-gap{margin-bottom:12px}
.big-stat.big-stat--gap{margin:16px 0}
/* All of a weekend's courses on one map (Ethan's pick C, DECISIONS #153). On is the race's color with a check; off is an empty outline
   with an empty ring, the same check and ring as the race cards. Colors match COURSE_COLORS in main.js. The site's security rules
   block style="..." in markup, so these must be classes. */
.map-courses{display:flex;gap:6px;padding:5px;border-radius:18px;background:var(--surface);box-shadow:0 2px 12px #0004}
.map-course--0{--course-color:#3ddc97}.map-course--1{--course-color:#7f9bff}.map-course--2{--course-color:#ffb020}.map-courses{--course-ink:#0b0d12}
[data-appearance=light] .map-course--0{--course-color:#128a5a}[data-appearance=light] .map-course--1{--course-color:#2f54eb}[data-appearance=light] .map-course--2{--course-color:#a86b00}[data-appearance=light] .map-courses{--course-ink:#fff}
#app .map-course{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:44px;margin:0;padding:0 8px;border:0;border-radius:13px;background:transparent;box-shadow:inset 0 0 0 2px var(--course-color);color:var(--text);font:600 14px/1.1 Inter,sans-serif;cursor:pointer}
#app .map-course span{min-width:0;white-space:nowrap}
#app .map-course[aria-pressed="true"]{background:var(--course-color);color:var(--course-ink)}
.map-course-tick{flex:none;display:grid;place-items:center;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--course-color);font:700 12px/1 Inter,sans-serif;font-style:normal}
.map-course[aria-pressed="true"] .map-course-tick{box-shadow:none;background:var(--course-ink);color:var(--course-color)}
.map-course[aria-pressed="true"] .map-course-tick::before{content:'✓'}
.map-toolbar--c .map-courses{margin-top:8px}
.map-wide .map-courses{box-shadow:none}
.map-wide .map-course{padding:0 6px}
#app.map-page .map-toolbar--c:has(.map-courses)~.map-canvas>.course-label{top:calc(env(safe-area-inset-top) + 184px)}
#app.map-page .map-toolbar--c:has(.map-courses)~.map-canvas .map-buttons{top:calc(env(safe-area-inset-top) + 234px)}

/* The day circle sits fully inside the day bar: the button is as tall as its label and circle (Ethan, Nov 4, 2026). */
#app.map-page .map-daybar{padding:6px 2px;align-items:stretch}
#app.map-page .map-toolbar--c .map-daybar button{height:54px!important;min-height:54px!important;max-height:none!important;padding:0!important;justify-content:flex-start}

/* The phone map's credit: an "i" in the corner, above the menu on the full map. Open for five seconds, then folded (DECISIONS #155). */
.map-credit{position:absolute;right:6px;bottom:4px;z-index:3;display:flex;align-items:center;justify-content:flex-end;gap:2px;max-width:calc(100% - 12px);pointer-events:none}
#street-map .map-credit{right:10px;bottom:calc(max(6px,calc(env(safe-area-inset-bottom) - 10px)) + 72px)}
.map-credit-text{pointer-events:auto;padding:6px 10px;border-radius:12px;background:var(--surface);color:var(--text);font-size:11px;line-height:1.35;box-shadow:0 2px 8px #0003}
.map-credit-text[hidden]{display:none}
.map-credit-text a{color:inherit;text-decoration:underline}
.map-credit-i{pointer-events:auto;flex:none;width:44px;height:44px;padding:0;border:0;background:none;display:grid;place-items:center;color:var(--text)}
.map-credit-i span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--surface);font-size:13px;font-weight:700;line-height:1;box-shadow:0 2px 8px #0003}

/* Corral buttons in setup: an odd last button runs the full width. The note carries the source (DECISIONS #156). */
.setup-chips--odd .setup-chip:last-child{grid-column:1/-1}
.corral-note{font-size:14px;line-height:1.4;color:var(--muted);margin:12px 2px 0}
.corral-sources{display:flex;flex-wrap:wrap;align-items:center;column-gap:14px;margin:0 2px 4px;font-size:14px;color:var(--muted)}
.corral-sources a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;color:inherit;text-decoration:underline}

/* The runner's race card (DECISIONS #157). */
#app.app-shell:not(.map-page) .card.racepass{position:relative;overflow:visible;container-type:inline-size;padding:0;border-radius:16px}
#app .racepass-edit{position:absolute;top:-15px;right:-15px;z-index:2}
#app .racepass-edit .review-edit-btn{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0}
#app .racepass-name{margin:0;padding:14px 32px 4px 16px;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}
#app .racepass-name strong{font:700 24px/1.2 Inter,sans-serif;color:var(--text);overflow-wrap:anywhere;min-width:0}
#app .racepass-name small{font:400 14px/1.3 Inter,sans-serif;color:var(--muted)}
#app .racepass-cells{display:grid;grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr));margin:0;padding:6px 0 4px}
#app .racepass-cells>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;text-align:left;min-width:0;min-height:68px;padding:6px 4px 6px 12px}
#app .racepass-cells>div:first-child{padding-left:16px}
#app .racepass-cells>div+div{border-left:1px solid color-mix(in srgb,var(--text) 12%,transparent)}
#app .racepass-cells dt{font:400 13px/1.3 Inter,sans-serif;color:var(--muted);margin:0}
#app .racepass-cells dd{font:600 clamp(19px,5.6cqw,26px)/1.15 Barlow,Inter,sans-serif;color:var(--text);margin:4px 0 0;white-space:nowrap}
#app .racepass-cells dd.is-long{font:600 15px/1.2 Inter,sans-serif;white-space:normal;overflow-wrap:anywhere}
#app .racepass-add{display:inline-flex;align-items:center;justify-content:flex-start;min-width:44px;min-height:44px;margin:-10px 0;padding:0;border:0;background:none;font:600 16px/1 Inter,sans-serif;color:var(--link,#3a5ee8)}
#app .racepass-start{margin:0;padding:0 16px 8px;text-align:left;font:400 13px/1.4 Inter,sans-serif;color:var(--muted);background:none}
#app .racepass .race-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 2px;padding:0}
#app .racepass .race-quick-actions button{background:color-mix(in srgb,var(--text) 7%,transparent)!important;border:0!important;box-shadow:none!important;border-radius:12px;margin:0;min-height:68px;padding:10px 4px}

/* The medal on a race day sits right after the words, on the same line, everywhere (DECISIONS #160). */
#app .day-medal{display:inline-block;flex:none;width:13px;height:13px;margin:0 0 0 3px;object-fit:contain;vertical-align:-2px}
#app .map-side-day{white-space:nowrap}
#app .map-side-day .day-medal{width:12px;height:12px;margin-left:3px}
#app .map-side-days{gap:4px}
/* Same space on both sides of every race day, picked or not. Bold on the picked day pushed Sun 22's medal against its edge (Ethan, Nov 4, 2026). */
#app .map-side-days .map-side-day[aria-pressed="true"]{font-weight:400}
/* Each part has a set width, so the edges and the gap beside the medal match on every race day. */
#app .map-side-days .map-side-day.is-race{display:flex;align-items:center;justify-content:center;padding:0;gap:0}
#app .map-side-day .msd-wk{display:block;flex:none;width:28px;text-align:center}
#app .map-side-day .msd-n{display:block;flex:none;width:18px;margin-left:2px;text-align:center;font-variant-numeric:tabular-nums}
#app button.is-race small{white-space:nowrap}

/* The Whole Weekend (DECISIONS #166). */
#app .ww-list{display:grid;gap:10px;margin:0 0 16px}
#app .ww-free{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:0 16px;border-radius:12px;color:var(--muted);font:400 15px/1.3 Inter,sans-serif;background:color-mix(in srgb,var(--surface) 55%,transparent)}
#app .ww-free-add{flex:none;display:grid;place-items:center;width:44px;height:44px;margin-right:-8px;padding:0;border:0;background:none}
#app .ww-free-add .state-art{width:28px;height:28px}
#app .ww-day{padding:14px 16px 6px}
#app .ww-day h2.ww-head{display:flex;align-items:center;margin:0 0 4px;font:700 16px/1.3 Inter,sans-serif;letter-spacing:0;color:var(--text)}
#app .ww-day .home-row .grow>small:has(+ .stop-who){display:none}
#app .ww-day .home-row .stop-who{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:6px;font:400 14px/1.35 Inter,sans-serif;color:var(--muted)}
#app .ww-day .home-row .stop-who .faces{flex:none}
#app .ww-none{margin:0;padding:6px 0;color:var(--muted);font:400 15px/1.3 Inter,sans-serif}
#app .ww-add{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0;border:0;background:none;text-align:left;color:var(--link,#3a5ee8);font:500 15px/1 Inter,sans-serif}
#app .ww-add .state-art{width:28px;height:28px}
/* The logo (DECISIONS #168): the name on phones, blue on light and white on dark; the G in the laptop menu. It shrinks before it can touch the faces beside it. */
#app .appbrand{flex:0 1 172px;min-width:44px;padding:0}
#app .appbrand .brand-g{display:none}
#app .appbrand .brand-word{width:100%;max-width:172px;height:auto;display:none}
#app .appbrand .brand-word-white{display:block}
:root[data-appearance="light"] #app .appbrand .brand-word-white{display:none}
:root[data-appearance="light"] #app .appbrand .brand-word-blue{display:block}
@media (min-width:1024px){
 #app:has(>nav.nav) .appbrand{flex:none}
 #app:has(>nav.nav) .appbrand .brand-word,:root[data-appearance="light"] #app:has(>nav.nav) .appbrand .brand-word-blue{display:none}
 #app:has(>nav.nav) .appbrand .brand-g{display:block;width:40px;height:40px}
}
/* Rows with a time (Ethan's pick A, Nov 4, 2026; DECISIONS #169), everywhere in the app: the icon on the left, then the time, name and place stacked, so nothing empty sits under the time. */
:is(#app,#dialog-root) .home-row:has(>.home-time){display:grid;grid-template-columns:32px minmax(0,1fr) 12px;grid-template-areas:"icon time chev" "icon body chev";column-gap:8px;row-gap:1px;align-items:start;width:100%;min-height:44px;padding:9px 0;text-align:left}
:is(#app,#dialog-root) .home-pick-info:has(>.home-time),#app .archive-row:has(>.home-time){display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-areas:"icon time" "icon body";column-gap:8px;row-gap:1px;align-items:start;text-align:left}
#app .archive-row:has(>.home-time){grid-template-columns:32px minmax(0,1fr) 12px;grid-template-areas:"icon time chev" "icon body chev"}
:is(#app,#dialog-root) :is(.home-row,.home-pick-info,.archive-row):has(>.home-time)>.icon{grid-area:icon;display:block;width:30px;height:30px;margin:1px 0 0}
:is(#app,#dialog-root) :is(.home-row,.home-pick-info,.archive-row)>.home-time{grid-area:time;display:block;width:auto!important;min-width:0;text-align:left;white-space:nowrap;font:600 15px/1.25 Barlow,Inter,sans-serif;color:var(--text)}
:is(#app,#dialog-root) :is(.home-row,.home-pick-info,.archive-row)>.home-time small{display:inline;margin:0 0 0 3px;font:inherit;color:inherit}
:is(#app,#dialog-root) :is(.home-row,.home-pick-info,.archive-row):has(>.home-time)>.grow{grid-area:body;min-width:0}
:is(#app,#dialog-root) :is(.home-row,.archive-row):has(>.home-time)>.chev{grid-area:chev;align-self:center;justify-self:end}
:is(#app,#dialog-root) :is(.home-row,.home-pick-info,.archive-row).is-past>.home-time,#app .explore-row.is-past .home-time{color:var(--muted)}
/* No letter or word alone on a line, everywhere: keepEnd() and keepEndsIn() in main.js keep the last two words together. Not text-wrap:pretty, which on iPhone evens out every line and leaves a wide gap on the right (Ethan, Nov 6: "why does the right side cut off"; DECISIONS #196). */
.keep-end{white-space:nowrap}
#app .racepass-add .state-art{width:28px;height:28px}
/* A box and its button line up top and bottom (Ethan, Nov 4, 2026; DESIGN.md section 0). */
#app .crew-link{display:flex;align-items:stretch;gap:10px}
#app .crew-link input,#app .crew-link button{margin:0;height:50px;min-height:50px;align-self:stretch;box-sizing:border-box}
#app .crew-link input{flex:1;min-width:0}
#app .crew-link button{flex:none}
/* The map's place card: the icon sits left of the name, so nothing crowds the close button (Ethan, Nov 4, 2026). */
#app.map-page .map-place-summary,#app .map-place-summary{display:flex;align-items:flex-start;gap:12px;padding-right:56px}
#app .map-place-summary .map-place-art{order:-1;flex:none;width:44px;height:44px;margin:0}
#app .map-place-summary .map-place-copy{flex:1;min-width:0}
#app .racepass-cells{align-items:start}
#app .racepass .race-quick-actions{margin:8px 0 0;padding:0 14px 14px}
#app .racepass-cells>div{justify-content:flex-start}
#app .map-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;background:none;border:0;color:var(--link,#3a5ee8);font:600 17px/1.2 Inter,sans-serif}
/* Start and Finish on race maps (DECISIONS #177): Start to the left of its point, Finish to the right, clear of a pin on the same spot. Pins stay on top, and taps go through to them. */
#app .course-end{pointer-events:none;z-index:0;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--blue,#2f54eb);box-sizing:border-box}
#app .course-end--finish{border-color:#ffb020}
#app .course-end__tag{position:absolute;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;gap:5px;padding:4px 9px 4px 6px;border-radius:12px;white-space:nowrap;background:#1c1c1e;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.35);font:600 13px/1.1 Inter,sans-serif}
#app .course-end--start .course-end__tag{right:calc(100% + 8px)}
#app .course-end--finish .course-end__tag{left:calc(100% + 8px)}
#app .course-end.to-left .course-end__tag{left:auto;right:calc(100% + var(--end-gap,8px));top:50%;bottom:auto;transform:translateY(-50%)}
#app .course-end.to-right .course-end__tag{right:auto;left:calc(100% + var(--end-gap,8px));top:50%;bottom:auto;transform:translateY(-50%)}
#app .course-end.to-up .course-end__tag{top:auto;bottom:calc(100% + var(--end-gap,8px));left:50%;right:auto;transform:translateX(-50%)}
#app .course-end.to-down .course-end__tag{top:calc(100% + var(--end-gap,8px));bottom:auto;left:50%;right:auto;transform:translateX(-50%)}
#app .course-end.far{--end-gap:34px}
#app .course-end.on-top{z-index:3}
#app .ce-map-ends .course-end{position:absolute;top:0;left:0}
#app .course-end__tag img{width:18px;height:18px;display:block}
#app .course-end__tag b{font-weight:600}
[data-appearance=light] #app .course-end__tag{background:#fff;color:#111114}
#app .map-pin,#app .desktop-map-pin{z-index:2}
#app .pick-tag.is-alt{background:none;padding-left:0;padding-right:0}
/* Second buttons inside a white card look like buttons in light mode too, the same as dark (DESIGN.md section 0). */
:root[data-appearance="light"] #app :is(.card,.map-selection) :is(button,a).secondary,:root[data-appearance="light"] #dialog-root :is(button,a).secondary{background:color-mix(in srgb,var(--text) 7%,transparent)!important;border:0!important;box-shadow:none!important}
/* The last fact keeps the same gutter as the buttons under it, even with a six-digit bib on the smallest phone. */
#app .racepass-cells{padding-right:14px}
/* No blue on blue (Ethan, Nov 5, 2026): a blue icon on a blue button sits on a small white circle, and a chosen map pin is white with a blue ring. */
/* An icon on a blue button is its white version (DECISIONS #197); only an icon without one keeps the white circle behind it. */
:is(#app,#dialog-root) .rh-btn.rh-btn{gap:8px}
#detail-map .map-pin{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff!important;box-shadow:0 0 0 3px var(--accent)!important}
#detail-map .map-pin .icon{width:30px;height:30px}
#app .desktop-map-pin.is-saved{background:#fff!important;box-shadow:0 0 0 3px var(--accent)!important}
#app .desktop-map-pin.is-selected{background:#fff!important;box-shadow:0 0 0 3px var(--accent),0 0 0 7px color-mix(in srgb,var(--accent) 28%,transparent)!important}
@media (min-width:1024px){ #app.app-shell.look-c:not(.home-page):not(.map-page) #page-content.app-content>.pick-continue.pick-continue{display:flex;margin-inline:auto!important} }
/* Coming Up (DECISIONS #179) */
#app .who-coming{width:100%;margin-top:8px;border:0;text-align:left;color:var(--text);font:inherit;cursor:pointer}
#app.look-c .who-guide .who-coming__art{width:56px;height:56px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--field)}
#app .who-coming__art img{width:34px;height:34px}
/* Don't See Your Race? (DECISIONS #188) */
#app button.who-all.who-coming{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;margin:0;text-align:left;font-size:inherit;font-weight:inherit;color:var(--text)}
#app.look-c .who-all .who-coming__art{width:48px;height:48px;background:none}
#app .who-all.who-coming small{font-size:13px}
#app .who-doors+.who-all.who-coming,#app .race-next+.who-all.who-coming{margin-top:10px}
#app.look-c .who-all.who-coming~button.who-go{margin-top:12px}
#app .who-all.who-coming+.who-guide{margin-top:10px}
#app .who-go~.who-guide{margin-top:12px}
#app .coming-lead{margin:2px 2px 12px;color:var(--muted);font-size:15px;line-height:1.35}
#app .coming-season__name{margin:16px 2px 8px;font:600 13px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
#app .coming-row{cursor:default;padding-block:8px;min-height:0}
#app .coming-list .race-date{width:42px;height:42px;font-size:17px}
#app .coming-bell{width:44px;height:44px;flex:none;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:color-mix(in srgb,var(--text) 9%,transparent);cursor:pointer}
#app .coming-bell[aria-expanded="true"]{background:color-mix(in srgb,var(--text) 18%,transparent)}
#app .coming-bell img{width:22px;height:22px}
#app .coming-set{width:44px;height:44px;flex:none;margin-left:auto;display:inline-flex;align-items:center;justify-content:center}
#app .coming-set img{width:26px;height:26px}
#app .coming-form{padding:2px 0 14px}
#app .coming-form[hidden]{display:none}
#app .coming-form__row{display:flex;gap:8px;align-items:stretch}
#app .coming-form input{flex:1;min-width:0;min-height:44px;margin:0;padding:0 12px;border:0;border-radius:12px;background:var(--field);color:var(--text);box-shadow:inset 0 0 0 1px var(--line);font:400 16px Inter,sans-serif}
#app .coming-form .coming-send{flex:none;width:auto;min-height:44px;margin:0;padding:0 14px}
#app .coming-form p{margin:8px 2px 0;font-size:13px;line-height:1.35;color:var(--muted)}
@media(max-width:340px){#app .coming-list strong{font-size:14px}}
#app .coming-done{margin:0;padding:0 0 14px;font-size:14px;line-height:1.35;color:var(--text)}
/* Privacy (DECISIONS #180) */
#dialog-root .privacy-card{padding:14px 16px}
#dialog-root .privacy-card h3{margin:0 0 6px;font:600 16px/1.25 Inter,sans-serif;color:var(--text)}
#dialog-root .privacy-card p{margin:0 0 8px;font-size:15px;line-height:1.4;color:var(--muted)}
#dialog-root .privacy-card p:last-child{margin-bottom:0}
#dialog-root .privacy-card a{color:var(--link)}
#app .privacy-link{display:inline-block;min-height:0;width:auto;margin:-12px -8px;padding:12px 8px;background:none;border:0;color:var(--link);font:inherit;text-decoration:underline;cursor:pointer}

/* Race weekends together: first screen, one answer per race, tabs on Today, Your Races (DECISIONS #181). */
#app .ch-sec{background:var(--surface);border-radius:14px;padding:12px 14px 14px;margin:0 0 10px}
#app .ch-head{display:flex;align-items:center;gap:12px;margin-bottom:10px}
#app .ch-head strong{display:block;font:600 16px/1.25 Inter,sans-serif}
#app .ch-head small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
/* #198: a photo strip on each race, with its date on the photo (Ethan's pick A, Nov 7) */
#app .ch-sec.has-photo{padding-top:4px;overflow:hidden}
#app .ch-photo{position:relative;height:120px;margin:0 -10px 12px;border-radius:12px;overflow:hidden;background:var(--field)}
#app .ch-photo img{display:block;width:100%;height:100%;object-fit:cover}
#app .ch-photo .race-date{position:absolute;left:10px;bottom:10px;background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.25)}
#app .photo-credit{margin:4px 2px 12px;font-size:12px;line-height:1.4;color:var(--muted)}
#app .photo-credit a{color:inherit;text-decoration:underline}
@media (min-width:1024px){#app .ch-photo{height:150px}}
#app .ch-doors{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#app .ch-door{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border:0;border-radius:12px;background:color-mix(in srgb,var(--text) 9%,transparent);color:var(--text)}
#app .ch-door img,#app .ch-door svg{width:26px;height:26px;flex:none}
#app .ch-door strong{font:600 14px/1.15 Inter,sans-serif}
#app .ch-door.is-on{background:color-mix(in srgb,var(--blue,#2f54eb) 22%,transparent);box-shadow:inset 0 0 0 2px var(--blue,#2f54eb)}
#app .pick-order{margin:8px 0 0;text-align:center;font-size:14px;color:var(--muted)}
#app .who-go{width:100%;margin-top:6px}
#app .race-mix{display:block;width:100%;min-height:44px;margin-top:6px;font-size:15px}
#app .setup-race-chip{display:table;margin:4px 0 10px;padding:5px 10px;border-radius:99px;background:color-mix(in srgb,var(--blue,#2f54eb) 22%,transparent);color:var(--text);font:600 13px/1.2 Inter,sans-serif}
.answer-row{border:0;margin:0 0 12px;padding:12px 14px 14px;background:var(--surface);border-radius:14px;min-width:0}
#dialog-root .answer-row{padding:0 0 14px;background:none;border-radius:0}
.answer-race{display:block;float:left;padding:0;margin:0 0 8px;width:100%}
.answer-race strong{display:block;font:600 16px/1.25 Inter,sans-serif;color:var(--text)}
.answer-race small{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.answer-seg{clear:both;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.answer-opt{position:relative;display:block;margin:0;cursor:pointer}
.answer-opt input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.answer-opt span{display:flex;align-items:center;justify-content:center;min-height:46px;padding:4px;border-radius:12px;text-align:center;background:color-mix(in srgb,var(--text) 9%,transparent);color:var(--text);font:600 13px/1.15 Inter,sans-serif}
.answer-opt input:checked+span{background:color-mix(in srgb,var(--blue,#2f54eb) 22%,transparent);box-shadow:inset 0 0 0 2px var(--blue,#2f54eb)}
.answer-opt input:focus-visible+span{outline:3px solid var(--blue,#2f54eb);outline-offset:2px}
#app .pf-sw{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;margin:2px 0 12px}
#app .pf-chip{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 5px;min-height:50px;padding:6px 8px;border:0;border-radius:12px;background:var(--surface);color:var(--text);font:600 14px/1.2 Inter,sans-serif}
#app .pf-chip img,#app .pf-chip svg{width:18px;height:18px;flex:none}
#app .pf-chip small{flex-basis:100%;text-align:center;font:500 12px/1.2 Inter,sans-serif;color:var(--muted);margin-top:2px}
#app .pf-chip.on{box-shadow:inset 0 0 0 2px var(--blue,#2f54eb)}
#dialog-root .pf-row{width:100%;text-align:left}
#dialog-root .pf-row .race-date{flex:none}
/* A plain row in a list of race rows keeps their left edge: its 34px icon sits in the date's 48px slot. */
#dialog-root .sheet-list:has(.pf-row) .sheet-row>.icon{margin-inline:7px}
#dialog-root .pf-add{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;min-height:44px;padding:0 11px;border-radius:12px;background:color-mix(in srgb,var(--text) 9%,transparent)}
#dialog-root .pf-add img,#dialog-root .pf-add svg{width:20px;height:20px}
#dialog-root .pf-link{width:100%;text-align:left}
#app .removed-note{display:flex;align-items:center;gap:10px;padding:8px 12px 8px 14px;margin:0 0 12px}
#app .removed-note .grow{flex:1;min-width:0}
#app .removed-note button{flex:none;width:auto;min-height:44px;margin:0}
@media (min-width:1024px){#app .pf-sw,#app .removed-note{max-width:520px}#page-content:has(.pf-sw) .race-map-card{height:calc(100vh - 134px)}#page-content:has(.removed-note) .race-map-card{height:calc(100vh - 208px)}}
#page-content:has(.pf-sw) .desktop-workspace{height:max(540px,calc(100dvh - 298px))}
#page-content:has(.removed-note) .desktop-workspace{height:max(540px,calc(100dvh - 370px))}

/* Settings pickers: the word sits right beside its arrow, whatever's picked; the real picker lies over them, unseen (Ethan, Nov 5, 2026). */
#dialog-root .row-pick{position:relative;flex:none;display:inline-flex;align-items:center;min-height:44px;padding-right:24px;color:var(--link);font-size:15px;white-space:nowrap}
#dialog-root .row-pick::after{content:'';position:absolute;right:4px;top:50%;width:14px;height:9px;margin-top:-4.5px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%238e93a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 9px no-repeat}
#dialog-root .row-pick select.row-select{position:absolute;inset:0;width:100%!important;height:100%;max-width:none!important;min-height:0;margin:0;padding:0!important;opacity:0;appearance:none;background:none!important;font-size:16px;cursor:pointer}
#dialog-root .row-pick:has(select:focus-visible){outline:3px solid var(--focus-ring);outline-offset:2px;border-radius:8px}
html:not([data-keys]) #dialog-root .row-pick:has(select:focus-visible){outline:0}
@media (max-width:359px){#dialog-root .row-pick{font-size:14px}}
html:not([data-keys]) #dialog-root button:focus-visible,html:not([data-keys]) #app button:focus-visible{outline:0!important}

#dialog-root .form-grid:has(.start-exact){grid-template-columns:1fr!important}
#app .cs-fix{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;margin:4px 0 0;text-align:left;font-size:15px;font-weight:600}
#app .cs-fix img,#app .cs-fix svg{width:22px;height:22px;flex:none}

/* Two ways in before a plan (Ethan's pick A, Nov 6, 2026; DECISIONS #191). Same height side by side, one-line titles. */
#app .ways-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 16px}
#app .way-in{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:104px;padding:14px;border:0;border-radius:14px;background:var(--surface);color:var(--text);text-align:left;font:inherit;cursor:pointer}
#app .way-in>img,#app .way-in>svg{width:38px;height:38px;flex:none}
#app .way-in strong{display:block;font:600 16px/1.2 Inter,sans-serif;white-space:nowrap}
#app .way-in small{display:block;margin-top:2px;font-size:13px;line-height:1.3;color:var(--muted)}
@media (min-width:1024px){#app .ways-in{max-width:640px}}
@media (max-width:299px){#app .ways-in{grid-template-columns:minmax(0,1fr)}#app .way-in{min-height:0}#app .way-in strong{white-space:normal}}

/* What's On: a day at a time (DECISIONS #192). Round 44px buttons either side of the day's name. */
#app .day-step-head{display:flex;align-items:center;gap:8px}
#app .day-step-head h2{flex:1;min-width:0;text-align:center}
#app .day-step{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;border-radius:50%;background:var(--surface);color:var(--text);font:600 24px/1 Inter,sans-serif;cursor:pointer}
#app .day-step.is-off{opacity:.35;cursor:default}
#app .day-step-art{width:26px;height:26px;flex:none}
#app .day-step.is-next .day-step-art{transform:scaleX(-1)}
#app .day-step-head .section-count{flex-basis:100%;text-align:center;margin-top:-2px}
#app .day-step-head{flex-wrap:wrap}

/* #194: the saved bar on What's On for someone with no plan yet. Phone: where a plan's menu sits. Laptop: bottom right, next to the side menu. */
#app .keep-bar{position:fixed;z-index:30;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 12px 10px 14px;border:0;border-radius:20px;background:var(--accent);color:#fff;text-align:left;box-shadow:0 8px 26px #0004;cursor:pointer}
#app .keep-bar .grow{flex:1;min-width:0}
#app .keep-bar strong{display:block;font-size:16px;line-height:1.25;color:#fff}
#app .keep-bar small{display:block;font-size:13px;line-height:1.3;margin-top:2px;color:#fff}
#app .keep-bar .keep-go{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;background:#fff;color:#1d3fc9;font-weight:600;font-size:15px;white-space:nowrap}
#app:has(.keep-bar) .app-content{padding-bottom:110px}
#app .saved-before-h{margin:22px 0 8px}
@media (min-width:1024px){#app .keep-bar{left:calc(var(--rail,88px) + 28px);right:auto;bottom:22px;width:420px}}

/* A paragraph between boxes lines up with what's inside them: left with their icons, right with their buttons (Ethan, Nov 6; DESIGN rule 66). */
#dialog-root .sheet-note,#dialog-root .sheet-warn{margin-left:14px;margin-right:14px}
/* An event's description is centered between those edges (Ethan, Nov 6: "Can we just center the text"). */
#dialog-root .sheet-note,#app .explore-detail-card .sheet-note{text-align:center}
/* The laptop panel's boxes sit 22px in, with 14px inside them. */
#app .explore-detail-card .sheet-note,#app .explore-detail-card .sheet-warn{margin-left:36px;margin-right:36px}
/* #199: the map in the app's glossy style (Ethan's pick B, Nov 7). A cheer spot is the megaphone on a white tile,
   its mile in the blue badge Ethan made; yours has the badge with a ring. Groups use the same badge. */
#app.map-page .map-pin--spot{position:relative;width:44px;height:44px;border-radius:14px!important;background:#fff!important;color:#1f2633!important;box-shadow:0 3px 10px rgba(0,0,0,.3)!important;overflow:visible}
#app.map-page .map-pin--spot .map-pin__art{width:32px;height:32px}
#app.map-page .map-pin__mile{position:absolute;right:-14px;top:-14px;display:grid;place-items:center;width:34px;height:34px;background:url(/test/assets/spot-badge.png) center/100% 100% no-repeat;color:#fff;font:700 10.5px/1 Inter,sans-serif;letter-spacing:-.4px;font-variant-numeric:tabular-nums;text-shadow:0 1px 2px rgba(0,0,0,.35);pointer-events:none}
#app.map-page .map-pin--spot.is-mine .map-pin__mile{background-image:url(/test/assets/spot-badge-you.png)}
#app.map-page .map-pin--spot.is-mine{box-shadow:0 0 0 3px var(--accent),0 3px 10px rgba(0,0,0,.3)!important}
#app.map-page .map-pin--cluster{background:url(/test/assets/spot-badge.png) center/100% 100% no-repeat!important;box-shadow:none!important;text-shadow:0 1px 2px rgba(0,0,0,.35)}
/* The race buttons: white cards with the runner; the one showing gets a blue ring and a check. A short line
   in the course's color keeps them matched to the lines on the map. */
#app .map-course{position:relative;background:var(--surface)!important;color:var(--text)!important;box-shadow:inset 0 0 0 1px var(--line,#d1d1d6)!important;gap:6px;padding:0 10px}
#app .map-course[aria-pressed="true"]{box-shadow:inset 0 0 0 2px var(--accent)!important}
#app .map-course .map-course-art{width:24px;height:24px;flex:none}
#app .map-course[aria-pressed="false"] .map-course-art{filter:grayscale(1);opacity:.55}
#app .map-course[aria-pressed="false"] .map-course-name{color:var(--muted)}
#app .map-course-name{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;white-space:nowrap}
#app .map-course-line{display:block;width:22px;height:4px;border-radius:2px;background:var(--course-color)}
#app .map-course[aria-pressed="false"] .map-course-line{opacity:.45}
#app .map-course .map-course-check{position:absolute;right:4px;top:-7px;width:20px;height:20px}
/* #200: a photo on every race in All Races and Coming Up (Ethan's pick A): a strip on top, the date on the photo. */
#app .race-pick.has-photo{flex-wrap:wrap;row-gap:10px}
#app .race-photo{position:relative;display:block;flex:0 0 100%;height:96px;border-radius:12px;overflow:hidden;background:var(--field)}
#app .race-photo img{display:block;width:100%;height:100%;object-fit:cover}
#app .race-photo .race-date{position:absolute;left:8px;bottom:8px;background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.25)}
#app .coming-photo{height:76px;margin:10px 0 0}
#app .coming-list .coming-photo .race-date{width:42px;height:42px;font-size:17px}
#app .photo-credits{margin:18px 2px 8px;font-size:13px;line-height:1.45;color:var(--muted)}
#app .photo-credits summary{min-height:44px;display:flex;align-items:center;font:600 15px/1.2 Inter,sans-serif;color:var(--link);cursor:pointer}
#app .photo-credits ul{margin:6px 0 0;padding:0 0 0 18px}
#app .photo-credits a{color:inherit;text-decoration:underline}
@media (min-width:1024px){#app .race-photo{height:120px}#app .coming-photo{height:90px}}
/* #202: accounts (Ethan's pick A + D, #201). The top corner: Sign In, or your photo once you're in. */
#app .signin-pill{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 12px 0 8px;border-radius:22px;background:var(--field);color:var(--text);font:600 15px/1 Inter,sans-serif;white-space:nowrap}
#app .signin-pill img{width:24px;height:24px}
#app .me-btn{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0;background:none!important;box-shadow:none!important}
.me-face{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:linear-gradient(165deg,#6f92ff,#2f54eb);color:#fff;font:700 15px/1 Inter,sans-serif;box-shadow:0 0 0 2px var(--surface)}
.me-face img{width:100%;height:100%;object-fit:cover;display:block}
.me-face-big{width:72px;height:72px;font-size:30px}
#dialog-root .me-head{display:flex;align-items:center;gap:14px;margin:4px 0 12px}
#dialog-root .me-head strong{display:block;font:600 20px/1.2 Inter,sans-serif}
#dialog-root .me-head small{display:block;color:var(--muted);font-size:14px;margin-top:2px;overflow-wrap:anywhere}
#dialog-root .photo-pick{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;margin:0 0 12px;cursor:pointer}
#dialog-root .photo-pick .action-art{width:24px;height:24px}
/* Remove Photo (Ethan's pick B, Nov 7): a small red link under Change Photo, only when there is a photo. */
#dialog-root .photo-remove{display:block;margin:-6px auto 10px;min-height:44px;padding:0 12px;font-size:15px;font-weight:600}
#dialog-root .me-name-form{margin-bottom:6px}
#dialog-root .signin-copy{margin:0 0 12px}
/* The Keep card on Today: shown once there's a plan, until you sign in or tap ✕. */
#app .keep-card{position:relative;display:flex;gap:12px;align-items:flex-start;padding:14px 60px 14px 14px;margin:0 0 12px;box-shadow:inset 0 0 0 2px var(--accent)}
#app .keep-card .keep-art{flex:none;width:34px;height:34px}
#app .keep-card strong{display:block;font:600 17px/1.3 Inter,sans-serif}
#app .keep-card small{display:block;margin:3px 0 10px;color:var(--muted);font-size:14px;line-height:1.4}
#app .keep-card .primary{width:100%}
#app .keep-x{position:absolute;right:10px;top:10px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--text);font-size:16px}
/* The bell's tick box on Coming Up */
#app .coming-keep{display:flex;gap:10px;align-items:flex-start;margin:10px 0 0;font-size:14px;line-height:1.4;color:var(--text)}
#app .coming-keep input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--accent)}
#app .me-btn .me-face{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--accent)}
/* On a laptop the top bar is the side rail: Sign In sits above the gear, your photo takes the gear's place once you're in. */
@media (min-width:1024px){
 #app:has(>nav.nav) .appbar .signin-pill{position:fixed;z-index:31;left:0;bottom:78px;width:var(--rail);flex-direction:column;gap:4px;min-height:56px;padding:6px 0;border-radius:0;background:none;font-size:12px;font-weight:600}
 #app:has(>nav.nav) .appbar .signin-pill img{width:26px;height:26px}
 #app:has(>nav.nav):has(.signin-pill) .appbar .avatar-stack{bottom:150px}
 #app:has(>nav.nav) .appbar .me-btn{position:fixed;z-index:31;left:0;bottom:18px;width:var(--rail);background:none;box-shadow:none;border-radius:0}
 #app:has(>nav.nav) .appbar .me-btn .me-face{width:40px;height:40px;font-size:17px}
}
/* The words make room for the hide button (bug sweep, Nov 7: "any" ran under the ✕ on a 390 px phone). */
#app .keep-card strong,#app .keep-card small{padding-right:40px}
#app .human-check:not([hidden]),#dialog-root .human-check:not([hidden]){margin:4px 0 8px;display:flex;justify-content:center}
/* Your Plans on the first screen (#210): plans on the account that aren't on this phone, each with Open. */
#app .your-plans{margin:0 0 20px}
#app .your-plans .eyebrow{margin:0 0 8px}
#app .your-plans .pf-row{width:100%;text-align:left}
#app .your-plans .pf-row .race-date{flex:none}
#app .your-plans .pf-add,#dialog-root .pf-row .pf-add{flex:none;display:inline-flex;align-items:center;gap:5px;font-size:14px;font-weight:600;min-height:44px;padding:0 11px;border-radius:12px;background:color-mix(in srgb,var(--text) 9%,transparent)}
#app .your-plans .pf-add img,#app .your-plans .pf-add svg{width:20px;height:20px}

/* Alive everywhere (Ethan, Nov 7, 2026; DECISIONS #211). Tap: buttons shrink a little under the finger and spring
   back. Success: pop and a burst of dots (feel.js). Warning: a small shake. Nothing moves when the phone asks for
   less motion. */
.feel-switch{position:fixed;left:-9999px;top:0;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}
@media (prefers-reduced-motion:no-preference){
 #app :is(.primary,.secondary,.quiet,.home-row,.way-in,.ch-door,.setup-chip,.pf-add,.icon-btn,.signin-pill,.me-btn,.home-pick-add,.home-discovery-add,.coming-bell,.who-guide,.text-btn,.weekend-tab,.day-pill),
 #dialog-root :is(.primary,.secondary,.quiet,.home-row,.icon-btn,.pf-add,.setup-chip,.text-btn,.photo-pick),
 #app nav.nav :is(a,button){transition:transform .16s cubic-bezier(.3,.7,.4,1.5)}
 #app :is(.primary,.secondary,.quiet,.home-row,.way-in,.ch-door,.setup-chip,.pf-add,.icon-btn,.signin-pill,.me-btn,.home-pick-add,.home-discovery-add,.coming-bell,.who-guide,.text-btn,.weekend-tab,.day-pill):active:not(:disabled),
 #dialog-root :is(.primary,.secondary,.quiet,.home-row,.icon-btn,.pf-add,.setup-chip,.text-btn,.photo-pick):active:not(:disabled),
 #app nav.nav :is(a,button):active{transform:scale(.95);transition-duration:.06s}
 .feel-pop{animation:feel-pop .44s cubic-bezier(.3,.7,.4,1.5)}
 .feel-shake{animation:feel-shake .42s ease-in-out}
 .feel-row{animation:feel-row .7s cubic-bezier(.3,.7,.4,1.3)}
}
@keyframes feel-row{0%{transform:scale(.97);box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 0%,transparent)}35%{transform:scale(1.02);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 55%,transparent)}100%{transform:scale(1);box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 0%,transparent)}}
@keyframes feel-pop{0%{transform:scale(.82)}55%{transform:scale(1.14)}100%{transform:scale(1)}}
@keyframes feel-shake{0%,100%{transform:translateX(0)}18%{transform:translateX(-8px)}36%{transform:translateX(7px)}54%{transform:translateX(-5px)}72%{transform:translateX(3px)}}
.feel-burst-fx{position:fixed;width:0;height:0;pointer-events:none;z-index:2147483000}
.feel-burst-fx i{position:absolute;left:-3px;top:-3px;width:6px;height:6px;border-radius:50%;background:#2f54eb;animation:feel-dot .6s cubic-bezier(.2,.7,.3,1) forwards}
.feel-burst-fx i.is-amber{background:#ffb020}
.feel-burst-fx.is-big i{left:-4px;top:-4px;width:8px;height:8px;animation-duration:1s}
.feel-burst-fx b{position:absolute;left:calc(-1 * var(--r));top:calc(-1 * var(--r));width:calc(2 * var(--r));height:calc(2 * var(--r));border-radius:50%;border:2px solid #2f54eb;box-sizing:border-box;animation:feel-ring .5s ease-out forwards}
@keyframes feel-dot{0%{transform:rotate(var(--a)) translateY(0) scale(1);opacity:1}100%{transform:rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(.4);opacity:0}}
@keyframes feel-ring{0%{transform:scale(.9);opacity:.7}100%{transform:scale(1.5);opacity:0}}

/* Sign-in (Ethan's pick A, Nov 7, 2026; DECISIONS #212): the email's blue band with the white logo tops the sheet,
   and the code is six boxes over one real field. */
#dialog-root .sheet.signin-sheet{padding-top:0}
#dialog-root .signin-band{display:flex;align-items:center;height:62px;margin:0 -18px 18px;padding:0 20px;background:#2f54eb;border-radius:24px 24px 0 0}
@media (min-width:1024px){#dialog-root .signin-band{margin:0 -22px 18px;border-radius:20px 20px 0 0}}
#dialog-root .signin-band img{display:block;width:140px;height:auto}
#dialog-root .code-boxes{position:relative;display:block;margin:6px 0 8px}
#dialog-root .code-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px;background:transparent;color:transparent;caret-color:transparent}
#dialog-root .code-cells{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
#dialog-root .code-cell{height:60px;border-radius:12px;background:var(--field);display:flex;align-items:center;justify-content:center;font:600 34px/1 Barlow,Inter,sans-serif;color:var(--text);transition:background .2s,box-shadow .2s}
#dialog-root .code-boxes:focus-within .code-cell.is-next{background:var(--surface);box-shadow:inset 0 0 0 2px var(--accent),0 0 0 4px color-mix(in srgb,var(--accent) 20%,transparent)}
#dialog-root .code-boxes.is-wrong .code-cell{background:color-mix(in srgb,#e5484d 16%,var(--surface));box-shadow:inset 0 0 0 2px #e5484d}
#dialog-root .code-boxes.is-done .code-cell{background:color-mix(in srgb,#30a46c 18%,var(--surface));box-shadow:inset 0 0 0 2px #30a46c}
#dialog-root .code-checking{display:none;justify-content:center;gap:6px;margin-top:14px}
#dialog-root .code-boxes.is-checking .code-checking{display:flex}
#dialog-root .code-checking i{width:8px;height:8px;border-radius:50%;background:var(--accent);opacity:.3}
@media (prefers-reduced-motion:no-preference){#dialog-root .code-checking i{animation:code-dot 1s infinite ease-in-out}#dialog-root .code-checking i:nth-child(2){animation-delay:.15s}#dialog-root .code-checking i:nth-child(3){animation-delay:.3s}}
@keyframes code-dot{0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}

/* Goal time, Finish Time or Pace a Mile (Ethan's pick C, Nov 7, 2026; DECISIONS #213). */
.goal-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:0 0 10px;border-radius:14px;background:color-mix(in srgb,var(--text) 8%,transparent)}
#app .goal-mode-btn{min-height:44px;margin:0;border:0;border-radius:11px;background:transparent;color:var(--muted);font:600 16px/1 Inter,system-ui,sans-serif}
#app .goal-mode-btn.is-on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(14,17,22,.12)}
#app .goal-type:focus-within{border-color:var(--accent)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent)}
#app .goal-type input:focus,#app .goal-type input:focus-visible{outline:none!important;box-shadow:none!important}

/* The race pass after setup (Ethan's pick A, Nov 7, 2026; DECISIONS #214). */
#dialog-root .race-pass{background:#fff;color:#0e1116;border-radius:22px;overflow:hidden;margin:4px 0 14px;box-shadow:0 14px 34px rgba(31,45,110,.18)}
#dialog-root .rp-band{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#2f54eb;padding:14px 18px}
#dialog-root .rp-band img{display:block;width:118px;height:auto}
#dialog-root .rp-band span{font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;color:#dce3ff}
#dialog-root .rp-photo{display:block;width:100%;height:130px;object-fit:cover}
#dialog-root .rp-body{padding:16px 18px 12px}
#dialog-root .rp-body .eyebrow{margin:0;color:#5a6270}
#dialog-root .rp-name{display:block;font:600 40px/1.05 Barlow,Inter,sans-serif;margin:2px 0 12px;color:#0e1116}
#dialog-root .rp-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#dialog-root .rp-facts small{display:block;font:600 11px/1.2 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#5a6270}
#dialog-root .rp-facts b{display:block;font:600 21px/1.15 Barlow,Inter,sans-serif;color:#0e1116}
#dialog-root .rp-stub{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:2px dashed #d5d8e0;padding:12px 18px}
#dialog-root .rp-stub b{font:600 24px/1 Barlow,Inter,sans-serif;color:#2f54eb}
#dialog-root .rp-stub small{font-size:12px;color:#5a6270}

/* The first screen's pick bar (DECISIONS #225): the Keep bar, centered when there is no side menu; the Continue at the bottom of the page steps aside while it shows. */
#app:has(.pick-bar) button.who-go{display:none}
@media (min-width:1024px){#app:not(:has(>nav.nav)) .pick-bar{left:50%;right:auto;width:440px;transform:translateX(-50%)}}
