/* My Season follows the site's bone, ink and signal palette. */
body.season-page { background:#f2f0e6; color:#141a16; }
.season-main { padding-block:0 96px; }
.season-hero { display:grid; gap:32px; margin:0 calc(-1 * var(--container-pad, 0px)); padding:clamp(30px,5vw,68px); background:#141a16; color:#f1eee4; border-bottom:8px solid #d4f22e; }
.season-hero .eyebrow { color:#d4f22e; }
.season-hero h1 { margin:12px 0 18px; font:400 clamp(68px,13vw,150px)/.86 Anton,Impact,sans-serif; letter-spacing:-.015em; }
.season-hero h1 span { color:#d4f22e; }
.season-hero p:not(.eyebrow) { max-width:60ch; color:#d5ddd5; font:400 clamp(16px,2.1vw,21px)/1.45 "DM Sans",sans-serif; }
.season-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:28px; }
.season-hero .button { min-height:48px; border-radius:4px; }
.season-hero .ink-button { border-color:#a8b0a8; background:#222a25; color:#f1eee4; }
.season-hero-aside { align-self:end; display:grid; gap:6px; padding:20px 0 0; border-top:1px solid #607067; font:600 13px/1.3 "JetBrains Mono",monospace; letter-spacing:.06em; }
.season-hero-aside p { margin:0; font:400 13px/1.5 "DM Sans",sans-serif!important; }
.season-status { padding:24px 0; font:600 15px/1.5 "DM Sans",sans-serif; }
.season-status:empty { display:none; }.season-status.is-error { color:#9a391a; }
.season-signin { margin:32px 0; padding:clamp(24px,5vw,48px); background:#fffdf6; border:1px solid #89948c; border-top:5px solid #d4f22e; border-radius:4px; }
.season-signin[hidden],#season-workspace[hidden] { display:none; }
.season-signin h2,.season-section-head h2,.season-official h2 { margin:4px 0 12px; font:400 clamp(29px,4vw,43px)/1 Anton,Impact,sans-serif; text-transform:uppercase; }
.season-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:30px 0 42px; }
.season-summary > div { min-width:0; padding:18px; background:#fffdf6; border:1px solid #9aa59d; border-radius:4px; }
.season-summary > div:first-child { background:#d4f22e; border-color:#a9be19; }
.season-summary > div > span:first-child { display:block; font:400 clamp(36px,5vw,55px)/1 Anton,Impact,sans-serif; }
.season-summary p { margin:7px 0 0; color:#415047; font:700 13px/1.3 "DM Sans",sans-serif; }
.season-summary .season-next { grid-column:1/-1; display:flex; flex-direction:column; gap:6px; background:#d7e4e8; border-color:#abc0c7; }
.season-next small { font:700 11px/1.2 "JetBrains Mono",monospace; letter-spacing:.12em; }
.season-next strong { font:400 clamp(23px,3vw,34px)/1.1 Anton,Impact,sans-serif; text-transform:uppercase; }
.season-next span { font:500 13px/1.3 "DM Sans",sans-serif!important; }
.season-content { display:grid; gap:40px; align-items:start; }
.season-section-head { display:flex; justify-content:space-between; align-items:end; gap:12px; margin-bottom:18px; }
.season-section-head .eyebrow { margin:0; color:#59675d; }
.season-section-head h2 { margin-bottom:0; }
.season-section-head label { font:600 13px/1.3 "DM Sans",sans-serif; white-space:nowrap; }
.season-section-head select { display:block; min-height:44px; padding:8px 30px 8px 10px; border:1px solid #68766c; border-radius:4px; background:#fffdf6; color:#141a16; }
.season-empty { padding:34px 24px; background:#fffdf6; border:1px dashed #87958a; border-radius:4px; }
.season-empty strong { display:block; font:400 28px/1.1 Anton,Impact,sans-serif; text-transform:uppercase; }
.season-empty p { color:#425046; }
.season-entry { margin-bottom:10px; padding:18px; border:1px solid #9ba69e; border-left:5px solid #ff4c2e; border-radius:4px; background:#fffdf6; }
.season-entry.is-planned { border-left-color:#123ebb; }
.season-entry-top { display:flex; align-items:start; justify-content:space-between; gap:12px; }
.season-entry time { display:block; margin-bottom:6px; color:#57655a; font:700 12px/1.3 "JetBrains Mono",monospace; }
.season-entry h3 { margin:0; font:400 clamp(24px,3vw,31px)/1.05 Anton,Impact,sans-serif; text-transform:uppercase; }
.season-tag { flex:none; padding:5px 7px; background:#f8d6ce; color:#6c2c1c; font:700 10px/1.2 "JetBrains Mono",monospace; text-transform:uppercase; }
.is-planned .season-tag { background:#dce4ff; color:#1d3b88; }
.season-entry p { margin:9px 0; color:#3e4c42; font:500 14px/1.4 "DM Sans",sans-serif; }
.season-entry .season-goal { border-top:1px solid #d8ddd6; padding-top:10px; white-space:pre-wrap; }
.season-entry-actions { display:flex; gap:16px; margin-top:14px; }
.season-text-button { border:0; padding:8px 0; background:none; color:#123ebb; font:700 13px/1.3 "DM Sans",sans-serif; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.season-text-button.is-danger { color:#a13018; }
.season-editor { padding:clamp(20px,3vw,32px); background:#fffdf6; border:1px solid #829086; border-top:6px solid #d4f22e; border-radius:4px; }
.season-editor .season-section-head { align-items:start; }
.season-field { margin:0 0 16px; }.season-field label { display:block; margin-bottom:6px; color:#1c2920; font:700 14px/1.3 "DM Sans",sans-serif; }.season-field label b { color:#a43516; }
.season-field input,.season-field select,.season-field textarea { width:100%; min-height:46px; padding:11px 12px; border:1px solid #748177; border-radius:4px; background:#fffefa; color:#141a16; font:500 15px/1.35 "DM Sans",sans-serif; box-sizing:border-box; }
.season-field textarea { resize:vertical; }.season-field small,.season-hint { display:block; margin:6px 0 0; color:#516057; font:400 12px/1.5 "DM Sans",sans-serif; }
.season-row { display:grid; gap:0 12px; }.season-details { border-top:1px solid #c8d1c9; padding:10px 0 0; margin:6px 0 18px; }.season-details summary { padding:9px 0; cursor:pointer; font:700 15px/1.3 "DM Sans",sans-serif; }.season-details summary span { display:block; margin:3px 0 0 17px; color:#526157; font:400 12px/1.3 "DM Sans",sans-serif; }.season-details[open] summary { margin-bottom:10px; }.season-form-status { min-height:1.3em; margin:12px 0; font:700 13px/1.4 "DM Sans",sans-serif; }.season-form-status.is-error { color:#a13018; }.season-form-status.is-good { color:#356311; }
.season-submit { width:100%; min-height:48px; border-radius:4px; }
.season-official { display:grid; gap:18px; margin-top:55px; padding:clamp(24px,4vw,42px); background:#141a16; color:#f1eee4; border-radius:4px; }.season-official .eyebrow { color:#d4f22e; }.season-official p:not(.eyebrow) { max-width:60ch; color:#ccd7ce; }.season-official .button { justify-self:start; color:#f1eee4; background:#222a25; border-color:#a3afa5; border-radius:4px; }
body.season-page :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid #123ebb; outline-offset:3px; }
@media(min-width:680px) { .season-row { grid-template-columns:repeat(2,minmax(0,1fr)); }.season-summary { grid-template-columns:repeat(3,minmax(0,1fr)) 1.5fr; }.season-summary .season-next { grid-column:auto; } }
@media(min-width:980px) { .season-hero { grid-template-columns:minmax(0,1fr) 250px; }.season-content { grid-template-columns:minmax(0,1fr) minmax(390px,.86fr); gap:32px; }.season-editor { position:sticky; top:20px; }.season-official { grid-template-columns:1fr auto; align-items:center; } }
@media(max-width:480px) { .season-hero { margin-inline:-18px; padding:32px 20px 28px; }.season-hero h1 { font-size:clamp(60px,16vw,88px); }.season-hero-actions .button { width:100%; }.season-section-head { align-items:start; }.season-section-head label { align-self:end; }.season-summary > div { padding:14px 10px; }.season-summary p { font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .season-page * { scroll-behavior:auto!important; } }
.season-import { margin:0 0 34px; padding:clamp(18px,3vw,28px); border:1px solid #829086; border-radius:4px; background:#fffdf6; }
.season-import-actions { display:flex; flex-wrap:wrap; gap:10px; }
.season-import .button { min-height:44px; border-radius:4px; }
#season-csv-form { max-width:760px; margin-top:20px; }
#season-csv-form > .season-hint { margin-bottom:14px; font-size:14px; }
#season-csv-preview { min-width:0; margin:12px 0 0; padding:0; border:0; }
#season-csv-preview legend { margin-bottom:8px; font-weight:700; }
.season-check { display:flex; align-items:center; gap:10px; min-height:44px; overflow-wrap:anywhere; }
.season-check input { flex:none; width:19px; height:19px; accent-color:#233420; }
#season-csv-rows { margin:0 0 14px; }
#season-csv-rows .season-check { padding:8px 0; border-top:1px solid #c8d1c9; }
#season-csv-rows small { display:block; color:#415047; }
.season-entry-actions { flex-wrap:wrap; }
.season-entry-actions .season-text-button { min-height:44px; }
.season-entry-top h3 { overflow-wrap:anywhere; }
.season-tag.is-shared { background:#dce7cc; color:#29441d; }
@media (max-width:480px) { .season-import-actions .button { width:100%; } }

#season-csv-form input[type=file] { max-width:100%; }

.season-tools { margin:28px 0; }
.season-tool-nav { display:flex; flex-wrap:wrap; gap:8px 18px; margin-bottom:16px; }
.season-tool-nav a { display:inline-flex; align-items:center; min-height:44px; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.season-tool { background:#fffdf6; border:1px solid #89948c; border-radius:4px; padding:clamp(18px,3vw,28px); scroll-margin-top:24px; min-width:0; }
.season-tool h2,.season-tool-dialog h2 { margin:0 0 12px; font:400 clamp(27px,4vw,40px)/1 Anton,Impact,sans-serif; text-transform:uppercase; }
.season-tool h3,.season-tool-dialog h3 { margin:10px 0 4px; font-size:20px; line-height:1.2; overflow-wrap:anywhere; }
.season-tool p,.season-tool-dialog p { margin:4px 0 12px; }
.season-tools-grid { display:grid; gap:18px; margin-top:40px; }
.season-tool-dialog { width:min(620px,calc(100% - 28px)); max-height:calc(100dvh - 30px); overflow:auto; padding:clamp(16px,4vw,28px); border:1px solid #89948c; border-radius:6px; background:#fffdf6; color:#141a16; }
.season-tool-dialog::backdrop { background:#141a16bd; }
.season-tool-dialog .season-section-head { align-items:center; }
.season-tool-dialog .season-section-head h2 { margin:0; }
.season-tool-dialog .season-text-button { min-height:44px; }
.weekend-form { display:grid; gap:10px; }
.weekend-form .button { justify-self:start; min-height:44px; }
.weekend-form input[type="file"] { width:100%; }
.weekend-ride-heading,.weekend-bike { border-bottom:1px solid #b8c0b9; padding-bottom:12px; margin-bottom:14px; }
.weekend-ride-heading .season-text-button { margin-right:12px; }
.weekend-checklist { margin:12px 0; padding:8px 12px; border:1px solid #89948c; }
.weekend-checklist legend { font-weight:700; }
.weekend-stamps,.weekend-track-list { display:flex; flex-wrap:wrap; list-style:none; padding:0; gap:8px; }
.weekend-stamps li { padding:5px 10px; background:#dce7cc; border-radius:4px; color:#29441d; font-weight:700; }
.weekend-map { min-height:250px; position:relative; margin:12px 0; border:1px solid #89948c; }
@media(min-width:760px) { .season-tools-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
