:root{--navy:#071d43;--blue:#126bc3;--red:#d64045;--teal:#15745f;--ink:var(--navy);--ink-soft:#52677d;--muted:#65778b;--paper:#f6f8fb;--white:#fff;--line:#dce4ed;--gold:#f4c64f;--gold-dark:#956b07;--pale:#eef5fb;--radius:16px;--shadow:0 4px 20px #071d4306;--font:Inter,"Segoe UI",Arial,sans-serif}
*{box-sizing:border-box}
.community-text{white-space:pre-wrap;overflow-wrap:anywhere}.community-post{border-top:1px solid var(--line);padding-top:16px}.community-replies{margin-left:12px;padding-left:12px;border-left:2px solid var(--line)}
html{scroll-behavior:smooth;scroll-padding-top:20px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.5}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
button:disabled{opacity:.55;cursor:wait}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #f4c64f;outline-offset:3px}
button.submitting{opacity:.6;pointer-events:none}
svg{display:block}
.icon{width:20px;height:20px;flex:none}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-weight:650;line-height:1.2}
h1{font-size:34px;letter-spacing:-1.3px;margin-bottom:10px}
h2{font-size:22px;letter-spacing:-.6px}
h3{font-size:17px;letter-spacing:-.3px}
small{font-size:12px}
.muted{color:var(--muted)}
.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.skip{position:fixed;top:-100px;left:16px;z-index:100;background:var(--ink);color:white;padding:12px 20px;border-radius:8px}
.skip:focus{top:12px}
.brand{display:flex;align-items:center;gap:9px;color:#fff;margin:0 4px 44px}
.brand>svg{width:37px;height:37px;flex:none}
.brand>span{font-size:17px;letter-spacing:1.4px;font-weight:750;line-height:1.3}
.brand-light{font-weight:400}
.brand small{display:block;font-size:10px;letter-spacing:2px;color:#718196;margin-top:7px}
.trail-dot{position:absolute;right:15px;bottom:23px;width:6px;height:6px;background:var(--gold);border-radius:50%}
.app{min-height:calc(100vh - 85px);display:flex;flex-direction:column}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:none;background:transparent;color:var(--ink);border-radius:8px}
.icon-button:hover{background:#879b8420}
.mobile-menu{display:none}
.avatar{width:37px;height:37px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex:none;color:#126bc3;background:#deedfb;font-size:11px;font-weight:650;letter-spacing:.6px}
.avatar-small{width:31px;height:31px;font-size:10px}
.content{width:100%;max-width:1570px;align-self:center;padding:34px 38px 42px;flex:1}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}
.page-heading p:last-child{color:var(--muted);font-size:12px;margin-bottom:0}
.heading-dot{color:var(--gold-dark)}
.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:650;color:#126bc3;margin-bottom:9px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--ink);background:var(--ink);color:#fff;padding:12px 18px;border-radius:8px;font-size:11px;font-weight:600;min-height:43px;white-space:nowrap;transition:background .15s,transform .15s}
.button .icon{width:17px;height:17px}
.button:hover{background:#0e3a74;transform:translateY(-1px)}
.button-outline{border-color:#ccd8e3;background:transparent;color:var(--ink)}
.button-outline:hover{background:#eef5fb}
.button-small{min-height:35px;padding:8px 13px;font-size:10px}
.button-gold{background:var(--gold);border-color:var(--gold);color:#071d43}
.button-gold:hover{background:#df9e16}
.button-quiet{background:transparent;border-color:transparent;color:var(--ink)}
.button-quiet:hover{background:var(--pale)}
.button-danger{border-color:#e6c9bb;background:white;color:#a24131}
.text-link{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:600;color:var(--ink);white-space:nowrap}
.text-link .icon{width:15px}
.text-link:hover{color:var(--gold-dark)}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.art-sun{fill:var(--sun,#ddad77)}
.art-far{fill:var(--far,#a8c8e4)}
.art-near{fill:var(--near,#78a9d2)}
.art-front{fill:var(--front,#0e3a74)}
.art-path{fill:none;stroke:var(--path,#e4d3a9);stroke-width:3;stroke-linecap:round}
.art-snow{fill:var(--snow,#e9ecdb)}
.tiny-label{font-size:10px;letter-spacing:1.5px;font-weight:600;display:block;color:#126bc3}
.course-mark{position:absolute;right:18px;top:23px;width:38px;height:38px;background:#eaf4fd;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#126bc3}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:27px}
.stat{position:relative;background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 21px;box-shadow:var(--shadow)}
.stat>small{display:block;font-size:10px;color:var(--muted);margin:0 30px 12px 0}
.stat>strong{display:block;font-size:29px;font-weight:550;line-height:1;letter-spacing:-1px}
.stat>strong>span{font-size:12px;letter-spacing:0;color:#65778b;font-weight:400;margin-left:2px}
.stat>p{font-size:10px;color:#718196;margin:11px 0 0}
.stat-icon{position:absolute;top:17px;right:17px;width:29px;height:29px;background:var(--pale);border-radius:8px;display:flex;align-items:center;justify-content:center;color:#718196}
.stat-icon .icon{width:15px;height:15px}
.two-columns{display:grid;grid-template-columns:1fr 1fr;gap:21px}
.overview-columns{grid-template-columns:1.5fr 1fr}
.panel{border:1px solid var(--line);background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.panel-heading{padding:24px 24px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.panel-heading h2{font-size:17px;margin-bottom:0}
.panel-heading .eyebrow{font-size:10px;margin-bottom:7px}
.panel-body{padding:0 24px 24px}
.section{margin-top:28px}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;gap:20px}
.section-heading h2{font-size:23px;margin-bottom:0}
.section-heading>.eyebrow{font-size:10px}
.activity-list{padding:0 23px 8px}
.activity-item{display:flex;align-items:center;gap:13px;padding:17px 0;border-bottom:1px solid #edf1f5}
.activity-item:last-child{border:none}
.activity-item>div{flex:1;min-width:0}
.activity-item strong{font-size:11px;display:block}
.activity-item>div>small{display:block;font-size:10px;color:var(--muted);margin-top:4px}
.activity-symbol{width:37px;height:37px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#eef5fb;color:#126bc3;flex:none}
.activity-symbol.sport-cycling{background:#f6ebdf;color:#a5754c}
.activity-symbol.sport-running{background:#e8edf2;color:#71828e}
.activity-symbol>.icon{width:18px;height:18px}
.activity-item-metric{text-align:right;min-width:70px}
.activity-item-metric>strong>small{font-weight:400;color:var(--muted);font-size:10px}
.activity-item-metric>small{font-size:10px;color:#718196}
.activity-item>.tag{font-size:10px}
.tag{display:inline-flex;align-items:center;gap:5px;border:1px solid #dce4ed;background:#f4f7fa;color:#718196;border-radius:5px;padding:4px 7px;font-size:10px;white-space:nowrap;line-height:1.3}
.tag>.icon{width:12px;height:12px}
.tag-green{background:#e5f6f0;color:#13745f;border-color:#c8e7dc}
.tag-light{color:#324738;background:#fffdf2db;border-color:transparent}
.tag-orange{background:#fbefdf;color:#9b692e;border-color:#f4dfbc}
.progress-panel{padding-bottom:21px}
.progress-panel>.panel-heading>.icon{color:#126bc3;width:17px}
.week-chart{width:100%;height:156px;padding:0 17px;margin:8px 0 1px}
.chart-grid{stroke:#edf1f5;stroke-width:1;stroke-dasharray:3 4}
.chart-bar{fill:#78a9d2}
.chart-bar:nth-of-type(7){fill:#126bc3}
.chart-label{font-family:var(--font);font-size:10px;fill:#718196}
.panel-note{font-size:10px;line-height:1.7;color:var(--muted);padding:0 24px;margin-bottom:13px}
.progress-panel>.text-link{margin-left:24px;font-size:10px}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.event-card{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s}
.event-card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #1b342810}
.event-image{height:151px;position:relative;overflow:hidden;background:#deedfb}
.event-image>.landscape{height:100%;width:100%}
.event-image>.tag{position:absolute;top:15px;left:15px;font-size:10px}
.date-tile{position:absolute;left:15px;bottom:14px;background:#faf8edec;border-radius:6px;padding:7px 10px;backdrop-filter:blur(5px)}
.date-tile strong{display:block;font-size:11px;font-weight:650}
.date-tile small{display:block;font-size:10px;margin-top:2px;color:#718196}
.sport-cycling{--sun:#dcb383;--far:#bdb4a0;--near:#9e9b80;--front:#7d8669;--path:#efdfb8;--snow:#e9e2d0}
.sport-running{--sun:#f3cc91;--far:#abbbba;--near:#8fa6a2;--front:#6d8981;--path:#f9e7c7;--snow:#dae3d9}
.sport-swimming,.sport-paddling{--sun:#edc9a3;--far:#a1bdc3;--near:#7fa9b4;--front:#52838e;--path:#d7ebeb;--snow:#e1eef1}
.event-card-body{padding:18px 19px 0}
.location{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:5px;margin-bottom:9px}
.location>.icon{width:11px;height:11px}
.event-card h3{font-size:16px;letter-spacing:-.35px;margin-bottom:12px}
.event-details{display:flex;align-items:center;gap:14px;font-size:10px;color:#65778b;flex-wrap:wrap}
.event-details>span{display:flex;align-items:center;gap:4px}
.event-details strong{font-size:13px;font-weight:600;color:var(--ink)}
.event-details .icon{width:12px;height:12px}
.event-card-footer{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-top:1px solid #edf1f5;margin-top:15px;font-size:10px}
.event-card-footer small{font-size:10px;color:#718196}
.star{color:#c2874a}
.circle-arrow{border:1px solid #dce4ed;width:26px;height:26px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#126bc3}
.circle-arrow>.icon{width:13px;height:13px}
.bottom-callout{display:flex;align-items:center;gap:19px;margin-top:30px;background:#eceedf;border:1px solid #c9dced;border-radius:12px;padding:21px 24px}
.callout-symbol{display:flex;align-items:center;justify-content:center;width:39px;height:39px;background:#eef5fb;border-radius:50%;color:#126bc3}
.bottom-callout>div{flex:1}
.bottom-callout h3{font-size:13px;margin-bottom:5px}
.bottom-callout p{font-size:10px;color:#65778b;margin-bottom:0}
.bottom-callout .button{font-size:10px}
.footer{border-top:1px solid var(--line);padding:19px 38px;display:flex;align-items:center;gap:20px;color:#718196;font-size:10px}
.footer>span:nth-child(2){margin-left:auto}
.footer>a{display:flex;gap:5px;align-items:center;color:#52677d}
.footer .icon{width:12px}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}
th{font-size:10px;font-weight:500;color:#718196;background:#f4f7fa;padding:12px 19px;border-top:1px solid #edf1f5;border-bottom:1px solid #edf1f5}
td{padding:15px 19px;border-bottom:1px solid #edf1f5}
tbody tr:last-child>td{border-bottom:none}
td strong{font-weight:600}
.athlete-cell{display:flex;align-items:center;gap:10px}
.athlete-cell>span>strong{font-size:11px}
.athlete-cell small{display:block;font-size:10px;color:#718196;margin-top:4px}
.athlete-cell:hover strong{color:var(--gold-dark)}
.rank-number{display:flex;width:27px;height:27px;align-items:center;justify-content:center;border-radius:50%;font-size:11px;color:#718196}
.rank-number.podium{background:#f7eedb;color:#a17c3a}
.country{font-size:10px;color:#65778b;letter-spacing:.6px}
.score{font-variant-numeric:tabular-nums;font-weight:650;color:#126bc3}
.rank-table td{padding-top:14px;padding-bottom:14px}
.empty-cell{text-align:center;color:#718196;padding:34px 20px}
.mono{font-variant-numeric:tabular-nums;letter-spacing:.3px}
.notice{display:flex;align-items:center;gap:10px;margin-bottom:22px;padding:13px 17px;border:1px solid #c8e7dc;background:#e5f6f0;color:#13745f;border-radius:10px;font-size:12px}
.notice .icon{width:18px}
.notice.error{border-color:#e7cfc2;color:#9b4935;background:#fff4ec}
.tabs{display:flex;gap:28px;border-bottom:1px solid var(--line);margin-bottom:22px;font-size:12px}
.tabs>a{padding:11px 0 14px;color:#718196;border-bottom:2px solid transparent}
.tabs>a.selected{color:var(--ink);border-bottom-color:var(--ink);font-weight:600}
.filter-bar{display:flex;gap:12px;align-items:center;background:white;border:1px solid var(--line);border-radius:12px;padding:13px;flex-wrap:wrap;margin-bottom:20px}
.filter-bar label{display:block}
.filter-bar .search-field{display:flex;align-items:center;gap:9px;flex:1;min-width:190px;padding-left:11px}
.search-field>.icon{width:17px;color:#718196}
.filter-bar input,.filter-bar select{border-color:transparent;font-size:11px;min-height:37px;background:#f4f7fa}
.filter-bar input{background:white}
.filter-bar .search-field>input{width:100%;border:none;outline-offset:-3px}
.filter-bar .button{min-height:37px}
.results-count{font-size:10px;color:#718196;margin-bottom:16px}
.empty-state{padding:45px 25px;text-align:center;color:#718196}
.empty-state h2,.empty-state h3{color:var(--ink)}
.empty-state p{font-size:12px;max-width:430px;margin-left:auto;margin-right:auto;line-height:1.7}
.empty-state .actions{justify-content:center}
.empty-state.compact{padding:34px 15px}
.large-symbol{display:flex;align-items:center;justify-content:center;width:70px;height:70px;border-radius:50%;background:#eaf4fd;color:#126bc3;margin:0 auto 25px}
.large-symbol>.icon{width:30px;height:30px}
.error-page{margin-top:50px}
.back-link{display:inline-flex;font-size:10px;color:#718196;margin-bottom:20px}
.back-link:hover{color:var(--ink)}
.event-hero{position:relative;height:310px;background:#126bc3;color:white;border-radius:16px;overflow:hidden;margin-bottom:27px}
.event-hero-art{position:absolute;inset:0;opacity:.7}
.event-hero-art>.landscape{width:100%;height:100%;--far:#126bc3;--near:#126bc3;--front:#294c33;--sun:#e9ae74}
.event-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#193a2cbf,transparent)}
.event-hero-copy{position:absolute;bottom:34px;left:35px;right:30px;z-index:2}
.pill-row{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.event-hero .pill-row{margin-bottom:16px}
.event-hero h1{font-family:Georgia,serif;font-weight:400;font-size:45px;letter-spacing:-1px;color:#fbf6e8;margin-bottom:13px}
.event-hero-copy>p{display:flex;align-items:center;gap:9px;font-size:12px;color:#eef5fb;margin-bottom:0}
.event-hero-copy>p>.icon{width:15px}
.event-hero-copy>p>span{margin:0 5px}
.event-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:25px;align-items:start}
.event-about{padding:27px}
.event-facts{display:flex;gap:30px;padding-bottom:24px;margin-bottom:25px;border-bottom:1px solid var(--line);justify-content:space-between}
.event-facts>div{display:flex;flex-direction:column;gap:8px}
.event-facts>.icon{color:#718196}
.event-facts strong{font-size:25px;font-weight:550}
.event-facts strong>small{font-weight:400;font-size:12px;color:#718196}
.event-facts span{font-size:10px;color:#718196}
.event-about h2{font-size:20px}
.prose{font-size:12px;line-height:1.9;color:#718196;white-space:pre-line}
.course-version{display:flex;gap:12px;align-items:center;margin-top:22px;font-size:10px;color:#718196}
.event-aside{position:sticky;top:20px}
.entry-card{padding:25px}
.entry-card h2{font-size:23px;margin-bottom:13px}
.entry-card p{font-size:11px;line-height:1.7;color:#718196;margin-bottom:15px}
.entry-card .eyebrow{font-size:10px;color:#718196;margin-bottom:14px}
.entry-status{display:flex;align-items:center;gap:7px;font-size:10px;color:#126bc3;margin-bottom:17px}
.entry-status>.icon{width:17px}
.entry-price{font-size:18px;font-weight:550;margin:18px 0}
.entry-price small{display:block;font-weight:400;font-size:10px;color:#718196;margin-top:3px}
.capacity-track{margin:15px 0}
.capacity-track>svg{width:100%;height:4px}
.check-label{display:flex;align-items:flex-start;gap:9px;font-size:11px;color:#718196;line-height:1.7;font-weight:400!important}
.check-label>input{width:15px;height:15px;flex:none;min-height:0;margin:3px 0 0;accent-color:var(--ink)}
.terms{margin:12px 0 20px;font-size:10px;color:#718196}
.terms summary{cursor:pointer}
.terms p{margin:9px 0;padding:10px;background:var(--pale);font-size:10px}
.full-width{width:100%}
.entry-card form+form{margin-top:6px}
.entry-card>.text-link{margin-top:20px}
.entry-card form>.button-outline{margin-top:17px}
.closed-note{padding:14px;background:var(--pale);border-radius:8px}
.bib{display:flex;gap:16px;align-items:center;padding:15px;background:var(--pale);border-radius:8px;margin-bottom:14px;font-size:10px;color:#718196}
.bib strong{font-size:25px;color:var(--ink)}
.aside-note{display:flex;gap:12px;padding:24px 12px;font-size:10px;color:#718196;line-height:1.8}
.aside-note>.icon{width:20px;height:20px;color:#718196}
.difficulty-summary{padding:8px 24px 25px;display:flex;align-items:center;gap:25px}
.difficulty-summary>strong{font-size:36px;font-weight:550;white-space:nowrap}
.difficulty-summary>strong>small{font-size:14px;color:#718196;margin-left:3px}
.difficulty-summary b{font-size:12px;font-weight:600}
.difficulty-summary p{font-size:10px;color:#718196;margin:5px 0}
.difficulty-summary small{font-size:10px;color:#718196}
.rating-form{padding:25px;background:#eef5fb;border-top:1px solid var(--line)}
.rating-form h3{font-size:16px}
.rating-form>.muted{font-size:11px}
.rating-form>.button{margin-top:18px}
.form-panel{padding:28px;max-width:960px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.form-stack{display:grid;gap:20px}
.form-grid label,.form-stack label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:600}
.form-grid label>small,.form-stack label>small{font-size:10px;font-weight:400;color:var(--muted)}
input,select,textarea{width:100%;min-height:42px;border:1px solid #eef5fb;border-radius:7px;background:#eef5fb;padding:10px 12px;color:var(--ink);font-size:12px}
textarea{resize:vertical;line-height:1.7}
input::placeholder{color:#718196}
input[type="checkbox"]{width:15px;height:15px;min-height:0;accent-color:var(--ink)}
input[type="file"]{padding:15px;font-size:12px;background:white;max-width:100%;overflow:hidden}
fieldset{border:0;padding:0;margin:0;min-width:0}
legend{font-size:11px;font-weight:600;padding:0;margin-bottom:12px}
.full{grid-column:1/-1}
.form-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding-top:6px}
.form-actions>span{font-size:10px;color:#718196}
.form-note{display:flex;align-items:flex-start;gap:10px;background:#eef5fb;padding:13px 15px;border-radius:8px;font-size:10px;color:#718196;line-height:1.7;margin:0}
.form-note>.icon{width:15px;height:15px;margin-top:1px}
.sport-choices{display:flex;gap:9px;flex-wrap:wrap}
.sport-choice{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;background:#eef5fb;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:10px!important;font-weight:400!important;cursor:pointer}
.sport-choice .icon{width:15px;height:15px;color:#718196}
.sport-choice:has(input:checked){border-color:#a8bd99;background:#eef5fb}
.auth-layout{display:grid;grid-template-columns:1fr 410px;gap:60px;align-items:center;min-height:650px;max-width:1100px;margin:auto}
.auth-story h1{font-family:Georgia,serif;font-weight:400;font-size:62px;letter-spacing:-2px;margin-bottom:24px}
.auth-story>p:not(.eyebrow){font-size:13px;color:#718196;max-width:300px;line-height:1.8}
.auth-landscape{width:100%;height:220px;border-radius:18px;overflow:hidden;margin-top:40px}
.auth-landscape>.landscape{width:100%;height:100%}
.auth-card{padding:35px}
.auth-card h2{font-size:26px;margin-bottom:12px}
.auth-card>.muted{font-size:12px;margin-bottom:26px}
.auth-card .button{margin-top:2px}
.auth-switch{font-size:11px;color:#718196;text-align:center;margin:24px 0 0}
.auth-switch a{color:var(--ink);font-weight:600}
.identity-symbol{margin:5px 25px 16px;background:#eef5fb;width:54px;height:54px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#718196}
.identity-symbol .icon{width:26px;height:26px}
.identity-copy{font-size:13px;color:#718196;padding:0 25px;line-height:1.8}
.progress-panel>.pill-row{padding:0 25px;margin-bottom:20px}
.profile-header{padding:32px;display:flex;align-items:center;gap:24px;margin-bottom:25px}
.profile-header>.avatar{height:83px;width:83px;font-size:26px;background:#eef5fb}
.profile-header>div{flex:1}
.profile-header h1{margin:6px 0 11px;font-size:31px}
.profile-header p{font-size:12px;color:#718196;margin-bottom:12px}
.profile-header .bio{max-width:650px;font-size:12px;line-height:1.8}
.list-clean{list-style:none;margin:0;padding:0 25px 25px}
.list-clean li{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}
.list-clean li:last-child{border:none}
.list-clean li>div{flex:1}
.list-clean strong{display:block;font-size:12px}
.list-clean small{display:block;color:#718196;font-size:10px;margin-top:4px}
.activity-detail-header{display:flex;gap:18px;align-items:center;margin-bottom:25px}
.activity-detail-header>.activity-symbol{width:62px;height:62px;border-radius:16px}
.activity-detail-header>.activity-symbol>.icon{width:29px;height:29px}
.activity-detail-header>div{flex:1}
.activity-detail-header h1{margin-bottom:8px}
.activity-detail-header p{margin:0;font-size:11px;color:#718196}
.activity-detail-header>.actions{flex:none}
.route-panel{background:#eef5fb;padding:25px;position:relative}
.route-map{width:100%;height:360px;background:#eef5fb}
.route-grid{stroke:#eef5fb;stroke-width:1}
.route-line{fill:none;stroke:#126bc3;stroke-width:3.5;stroke-linejoin:round;stroke-linecap:round}
.route-panel>.tag{position:absolute;top:25px;left:25px}
.route-empty{padding:55px;text-align:center;background:#eef5fb;color:#718196}
.route-empty>.icon{width:40px;height:40px;margin:0 auto 17px}
.route-empty p{font-size:12px;margin:0}
.activity-notes{padding:25px}
.activity-notes h3{font-size:16px}
.activity-notes p{font-size:12px;line-height:1.9;color:#718196;white-space:pre-line}
.explanation-hero{background:#eef5fb;padding:30px;border-radius:16px;display:flex;align-items:center;gap:24px;margin-bottom:24px}
.explanation-hero>div{flex:1}
.explanation-hero .score-total{font-size:53px;line-height:1;font-weight:550}
.explanation-hero .score-total>small{font-size:13px;letter-spacing:0;display:block;line-height:2;color:#718196;font-weight:400}
.formula-card{background:#f4f7fa;border-radius:9px;padding:22px;margin:0 24px 24px;border:1px solid var(--line)}
.formula-card>strong{font-size:19px;font-weight:500}
.formula-card p{font-size:11px;line-height:1.9;color:#718196;margin-top:12px;margin-bottom:0}
.method-content{max-width:800px;padding:30px}
.method-content h2{margin-top:34px;font-size:22px}
.method-content h2:first-child{margin-top:0}
.method-content p,.method-content li{font-size:13px;line-height:1.9;color:#718196}
.method-content li{margin:10px 0}
.method-content ol{padding-left:20px}
.method-content code,.code-example{font-size:11px;background:#eef5fb;border:1px solid var(--line);border-radius:6px;padding:4px 8px}
.code-example{padding:16px;overflow:auto;line-height:1.8;white-space:pre}
.upload-panel{padding:30px;max-width:800px}
.upload-zone{display:block;border:1px dashed #bdcbaa;background:#eef5fb;border-radius:12px;padding:27px;text-align:center}
.upload-zone>.icon{width:33px;height:33px;color:#718196;margin:0 auto 15px}
.upload-zone>strong{display:block;font-size:16px;font-weight:600}
.upload-zone>p{font-size:11px;color:#718196;margin:7px 0 21px}
.upload-zone>input{margin:0 auto;max-width:480px}
.upload-panel>.form-stack>label{max-width:340px}
.upload-panel>.form-stack>.button{justify-self:start}
.upload-panel>.code-example{margin-top:25px}
.notification-list{padding:0 25px}
.notification{display:flex;align-items:center;gap:17px;padding:24px 0;border-bottom:1px solid var(--line)}
.notification:last-child{border:none}
.notification>div{flex:1}
.notification h3{font-size:13px;margin-bottom:5px}
.notification p{font-size:11px;color:#718196;margin:0 0 6px}
.notification small{font-size:10px;color:#718196}
.notification.unread h3:after{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--gold);margin-left:9px}
.workspace-card{padding:25px;display:flex;align-items:center;gap:17px;border-bottom:1px solid var(--line)}
.workspace-card:last-child{border:none}
.workspace-card>div{flex:1}
.workspace-card h3{font-size:15px;margin:0 0 8px}
.workspace-card p{font-size:10px;color:#718196;margin:0}
.workspace-card>.actions{flex:none}
.workspace-card .button{font-size:10px}
.workspace-card>.activity-symbol{width:45px;height:45px}
.detail-editor{padding:22px 25px;margin-top:25px}
.detail-editor>summary{font-size:14px;font-weight:600;cursor:pointer}
.detail-editor>.form-grid{padding-top:25px}
.operator-panel{padding-bottom:23px}
.operator-panel .form-grid{padding:0 25px}
.operator-panel .form-stack{padding:0 25px}
.operator-panel .panel-note{margin-top:12px}
.operator-panel .form-actions{margin-top:15px}
.compact-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.compact-form input,.compact-form select{width:95px;font-size:10px;min-height:33px;padding:7px}
.compact-form .button{min-height:33px;padding:7px 10px;font-size:10px}
.compact-form input[type=checkbox]{width:15px;height:15px}
.compact-form .check-label{font-size:10px;align-items:center}
.compact-form .check-label>input{margin:0}
.result-edit td{vertical-align:top}
.result-edit .compact-form input[name=time]{width:110px}
.result-edit .compact-form select{width:100px}
.audit-list{padding:0 25px 15px}
.audit-list>div{padding:12px 0;border-bottom:1px solid var(--line)}
.audit-list strong{font-size:11px}
.audit-list small{font-size:10px;color:#718196;float:right}
.audit-list p{font-size:10px;color:#718196;word-break:break-word;max-height:54px;overflow:auto;margin:5px 0 0}
.league-card{padding:25px}
.league-card>.activity-symbol{width:50px;height:50px;margin-bottom:23px}
.league-card h2{font-size:23px;line-height:1.3;margin-bottom:12px}
.league-card p{font-size:12px;color:#718196;line-height:1.8}
.league-card>.pill-row{margin-bottom:21px}
.league-hero{background:#eef5fb;padding:30px;border-radius:16px;margin-bottom:25px;display:flex;align-items:center;gap:25px}
.league-hero>.activity-symbol{height:74px;width:74px;background:#eef5fb;color:#126bc3}
.league-hero>.activity-symbol .icon{width:34px;height:34px}
.league-hero>div{flex:1}
.league-hero h1{margin:10px 0 12px}
.league-hero p{margin:0;font-size:12px;color:#718196}
.fixture-list{padding:0 25px}
.fixture{border-top:1px solid var(--line);padding:17px 0}
.fixture-meta{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#718196;margin-bottom:13px}
.fixture-score{display:grid;grid-template-columns:1fr auto 1fr;gap:15px;align-items:center;font-size:11px;font-weight:600}
.fixture-score>span:last-child{text-align:right}
.fixture-score>b{background:#eef5fb;padding:7px 11px;border-radius:5px;font-size:16px;min-width:67px;text-align:center}
.fixture>.compact-form{margin-top:15px}
.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.team-card{padding:23px}
.team-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}
.team-heading h3{margin:0 0 5px;font-size:16px}
.team-heading small{font-size:10px;color:#718196}
.roster-list{list-style:none;margin:0 0 18px;padding:0}
.roster-list>li{display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:11px;padding:10px 0;border-bottom:1px solid #eef5fb}
.roster-list>li>.compact-form{justify-content:flex-end}
.roster-list small{font-size:10px;color:#718196}
.team-card .form-stack{gap:12px}
.team-card .form-stack input{min-height:36px;font-size:11px}
.settings-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:23px;align-items:start}
.settings-grid>.panel{padding:26px}
.settings-grid h2{font-size:19px;margin-bottom:23px}
.settings-grid .form-grid{gap:17px}
.settings-grid .form-stack{gap:17px}
.settings-grid .section{margin-top:26px}
.settings-grid .check-label{flex-direction:row;font-size:11px;font-weight:400}
.settings-grid>.settings-side{display:grid;gap:22px}
.settings-side>.panel{padding:25px}
.settings-side p{font-size:11px;line-height:1.8;color:#718196}
.settings-side>.panel>.actions{align-items:flex-start;flex-direction:column}
.settings-side>.panel .button{width:100%}
.form-grid .check-label{flex-direction:row;align-items:flex-start}
.identity-copy+.pill-row{margin-top:8px}
.rank-summary{display:flex;align-items:center;gap:20px;padding:24px;background:#eef5fb;border-radius:12px;margin-bottom:22px}
.rank-summary>strong{font-size:35px;font-weight:500}
.rank-summary>div{flex:1}
.rank-summary p{font-size:12px;color:#718196;margin:5px 0 0}
.rank-summary h3{font-size:16px;margin:0}
.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:20px}
.results-header p{font-size:11px;color:#718196;margin:0}
.results-header>.tag{font-size:10px}

@media(min-width:1550px){
.event-image{height:180px}
.stat>strong{font-size:34px}
}

@media(max-width:1250px){
.app{margin-left:220px}
.content{padding:29px}
.stat{padding:19px 15px}
.stat>small{font-size:10px}
.stat>strong{font-size:26px}
.stat-icon{right:12px}
.overview-columns{grid-template-columns:1.35fr 1fr}
.event-layout{grid-template-columns:minmax(0,1fr) 280px;gap:20px}
.activity-item>.tag{display:none}
.auth-layout{grid-template-columns:1fr 360px;gap:35px}
.auth-story h1{font-size:52px}
.table-wrap th,.table-wrap td{padding-left:15px;padding-right:15px}
.event-details{gap:9px}
.settings-grid{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}
.profile-header{padding:25px;gap:18px}
}

@media(max-width:1050px){.stat-grid{gap:12px}
.stat>p{font-size:10px}
.stat-icon{width:23px;height:23px}
.stat>small{font-size:10px;margin-right:20px}
.event-grid{gap:15px}
.event-image{height:130px}
.event-card-body{padding:15px 14px 0}
.event-card h3{font-size:14px}
.event-card-footer small{font-size:10px}
.content{padding:27px 24px}
.panel-heading{padding:21px 19px 16px}
.panel-heading h2{font-size:15px}
.panel-heading .text-link{font-size:10px}
.overview-columns{grid-template-columns:1.2fr 1fr}
.event-layout{grid-template-columns:minmax(0,1fr)}
.event-aside{position:static}
.entry-card{max-width:600px}
.event-facts{justify-content:flex-start;gap:55px}
.settings-grid{grid-template-columns:1fr}
.settings-grid>.settings-side{grid-template-columns:1fr 1fr}
.auth-layout{grid-template-columns:1fr;max-width:510px;gap:22px;min-height:0;padding:25px 0}
.auth-story h1{font-size:42px}
.auth-story>p:not(.eyebrow){max-width:none}
.auth-landscape{display:none}
.footer{padding-left:24px;padding-right:24px}
.profile-header{flex-wrap:wrap}
.profile-header>.actions{width:100%}
}

@media(max-width:820px){
.app{margin-left:195px}
.brand{gap:6px}
.brand>svg{width:30px;height:30px}
.brand>span{font-size:14px;letter-spacing:1px}
.brand small{font-size:6px}
.page-heading h1{font-size:27px}
.page-heading p:last-child{font-size:11px}
.page-heading{align-items:flex-start;flex-wrap:wrap;gap:15px}
.course-mark{display:none}
.stat-grid{grid-template-columns:1fr 1fr}
.stat>small{font-size:10px}
.stat>p{font-size:10px}
.stat-icon{width:29px;height:29px}
.stat>strong{font-size:30px}
.overview-columns{grid-template-columns:1fr}
.event-grid{grid-template-columns:1fr 1fr}
.event-grid .event-card:last-child:nth-child(odd){grid-column:auto}
.event-image{height:145px}
.event-card h3{font-size:15px}
.event-card-footer small{font-size:10px}
.two-columns{grid-template-columns:minmax(0,1fr)}
.team-grid{grid-template-columns:1fr}
.progress-panel{min-height:275px}
.footer>span:nth-child(2){display:none}
.footer>a{margin-left:auto}
.bottom-callout{flex-wrap:wrap;gap:15px}
.bottom-callout>.button{margin-left:54px}
.form-grid{gap:15px}
.filter-bar .search-field{flex-basis:100%}
.filter-bar select{max-width:220px}
.event-hero h1{font-size:35px}
.event-facts{gap:35px}
.event-hero-copy{left:25px;bottom:25px}
.settings-grid>.settings-side{grid-template-columns:1fr}
.explanation-hero{flex-wrap:wrap}
.explanation-hero .score-total{font-size:45px}
.workspace-card{flex-wrap:wrap}
.workspace-card>.actions{width:100%;margin-left:62px}
.activity-detail-header{flex-wrap:wrap}
.activity-detail-header>.actions{width:100%;margin-left:80px}
.tabs{gap:20px;font-size:11px}
}

@media(max-width:640px){
.mobile-menu{display:flex}
.content{padding:24px 18px 30px}
.page-heading{margin-bottom:22px}
.page-heading h1{font-size:29px;letter-spacing:-1px}
.page-heading p:last-child{font-size:11px;line-height:1.7}
.page-heading>.button{padding:9px 13px;min-height:37px;font-size:10px}
.eyebrow{font-size:10px}
.course-mark{display:flex;top:18px;width:32px;height:32px}
.stat-grid{gap:11px;margin-bottom:21px}
.stat{padding:18px 16px}
.stat>small{font-size:10px;margin-right:22px}
.stat>strong{font-size:29px}
.stat>p{font-size:10px;line-height:1.6}
.stat-icon{right:12px;top:15px;width:25px;height:25px}
.section{margin-top:24px}
.section-heading h2{font-size:23px}
.section-heading .text-link{font-size:10px}
.event-grid{grid-template-columns:1fr}
.event-image{height:177px}
.event-card h3{font-size:19px}
.event-card-body{padding:19px 20px 0}
.event-details{gap:20px;font-size:10px}
.event-details strong{font-size:15px}
.event-card-footer{padding:15px 0;font-size:11px}
.event-card-footer small{font-size:10px}
.location{font-size:10px}
.event-image>.tag{font-size:10px}
.date-tile strong{font-size:13px}
.date-tile small{font-size:10px}
.activity-item strong{font-size:12px}
.activity-item>div>small{font-size:10px}
.activity-item-metric>small{font-size:10px}
.activity-item-metric>strong>small{font-size:10px}
.panel-heading h2{font-size:17px}
.panel-heading .eyebrow{font-size:10px}
.panel-heading .text-link{font-size:10px}
.event-hero{height:265px}
.event-hero h1{font-size:37px}
.event-hero-copy{left:22px;right:22px}
.event-hero-copy>p{font-size:10px;flex-wrap:wrap}
.event-layout{gap:20px}
.event-about{padding:22px}
.event-facts{gap:25px;justify-content:space-between}
.event-facts strong{font-size:24px}
.event-facts span{font-size:10px}
.event-facts strong>small{font-size:10px}
.course-version{flex-wrap:wrap}
.difficulty-summary{gap:18px;padding:10px 21px 25px}
.difficulty-summary>strong{font-size:32px}
.difficulty-summary b{font-size:11px}
.difficulty-summary p{font-size:10px}
.form-panel{padding:23px}
.form-grid{grid-template-columns:1fr;gap:18px}
.rating-form .form-grid{grid-template-columns:1fr 1fr}
.form-actions{gap:14px}
.form-actions>.button{width:100%}
.sport-choice{font-size:10px!important}
.auth-card{padding:28px}
.auth-story h1{font-size:43px}
.auth-layout{padding:10px 0}
.footer{padding:18px;gap:10px;font-size:10px}
.bottom-callout{padding:20px}
.bottom-callout h3{font-size:13px}
.bottom-callout p{font-size:10px;line-height:1.7}
.bottom-callout>.button{margin-left:0;width:100%}
.bottom-callout>div{flex-basis:calc(100% - 70px)}
.profile-header{padding:23px;gap:16px}
.profile-header>.avatar{height:65px;width:65px;font-size:23px}
.profile-header h1{font-size:25px}
.profile-header>.actions{flex-direction:row;flex-wrap:wrap}
.profile-header .bio{font-size:11px}
.activity-detail-header>.actions{margin-left:0}
.activity-detail-header h1{font-size:28px}
.route-map{height:260px}
.explanation-hero{padding:24px;gap:20px}
.explanation-hero .score-total{font-size:42px}
.method-content{padding:24px}
.method-content p,.method-content li{font-size:12px}
.upload-panel{padding:23px}
.upload-zone{padding:21px}
.upload-zone>strong{font-size:15px}
.notification-list{padding:0 20px}
.notification{gap:12px}
.notification>.icon{width:15px}
.workspace-card{padding:23px}
.workspace-card>.actions{margin-left:0}
.workspace-card>.actions>.button{flex:1}
.league-hero{padding:24px;flex-wrap:wrap;gap:18px}
.league-hero h1{font-size:29px}
.league-hero>.activity-symbol{height:55px;width:55px}
.league-hero>div{flex-basis:calc(100% - 73px)}
.league-hero>.button{width:100%}
.fixture-score{font-size:10px;gap:10px}
.tabs{gap:18px;font-size:10px;overflow:auto;white-space:nowrap}
.filter-bar select{max-width:180px}
.filter-bar .button{padding:9px 12px;font-size:10px}
.results-header{align-items:flex-start;flex-wrap:wrap;gap:12px}
.rank-summary{padding:20px;gap:15px;flex-wrap:wrap}
.rank-summary .button{margin-left:0}
.identity-copy{font-size:12px}
.entry-card{padding:24px}
.stat-grid .stat:nth-child(4) small{max-width:100px}
}

.brand small{font-size:7px}
.stat>small{font-size:11px}
.stat>p{font-size:10px}
.activity-item strong,.athlete-cell>span>strong{font-size:12px}
.activity-item>div>small,.athlete-cell small{font-size:10px}
.activity-item>.tag{font-size:9px}
.event-details{font-size:10px}
.event-card-footer small{font-size:10px}
.event-card .location{font-size:10px}
.table-wrap th{font-size:10px}
.table-wrap td{font-size:12px}
.button{font-size:12px}
.button-small{font-size:11px}
.panel-note{font-size:11px}
.form-grid label,.form-stack label{font-size:12px}
.form-grid input,.form-stack input,select,textarea{font-size:13px}
.compact-form input[name="sets"]{width:250px}
.terms .compact-form{margin-top:15px}
.terms .compact-form input[type="datetime-local"]{width:195px}
.terms .compact-form input[name="venue"]{width:230px}
.terms .compact-form select{width:125px}
.route-panel .tag{white-space:normal}
.activity-detail-header+.stat-grid .stat:nth-child(2)>strong{font-size:26px}
.activity-detail-header+.stat-grid .stat:nth-child(4)>strong{font-size:22px}

@media(max-width:820px){
.brand small{font-size:6px}
.stat>small{font-size:10px}
.event-card-footer small{font-size:9px}
}

@media(max-width:640px){
.brand small{font-size:7px}
.event-card-footer small{font-size:10px}
.activity-detail-header+.stat-grid .stat:nth-child(2)>strong{font-size:23px}
.activity-detail-header+.stat-grid .stat:nth-child(4)>strong{font-size:19px}
.event-facts span{font-size:10px}
}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{animation:none!important;transition:none!important}
}

/* The source document's navy, blue, gold and red visual system. */
h1,h2,h3{font-weight:800}
.heading-dot{color:var(--red)}
.eyebrow,.tiny-label{color:var(--blue);font-weight:850}
.button{background:var(--blue);border-color:var(--blue);font-size:12px;font-weight:750}
.button:hover{background:#0e58a1;border-color:#0e58a1}
.button-outline{background:#fff;border-color:#ccd8e3;color:var(--navy)}
.button-outline:hover{background:#eef5fb;border-color:#a8c8e4}
.button-gold{background:linear-gradient(135deg,#f4c64f,#df9e16);border-color:#e4ae2c;color:var(--navy);box-shadow:0 6px 16px #c587091a}
.button-gold:hover{background:#f4c64f;border-color:#df9e16}
.button-quiet{background:transparent;border-color:transparent;color:var(--blue)}
.button-danger{background:#fff;border-color:#e7b9bd;color:#b92e3c}
.avatar{background:linear-gradient(135deg,#126bc3,#092c61);color:#fff;font-weight:800}
.profile-header>.avatar{background:linear-gradient(135deg,#126bc3,#092c61);color:#fff}
.event-hero h1{font-family:var(--font);font-weight:850;color:#fff}
.rank-summary>strong{font-family:var(--font);font-weight:850}
.compact-form .correction-reason{width:260px;flex:1;min-width:180px;font-size:12px}
.auth-story h1{font-family:var(--font);font-weight:850;color:var(--navy)}
.auth-story>p:not(.eyebrow){color:var(--muted)}
.stat>strong{font-weight:800}
.stat-icon,.activity-symbol{background:#eaf4fd;color:var(--blue)}
.tag-green{color:var(--teal);background:#e5f6f0;border-color:#c8e7dc}
.tag-orange{color:#8b650a;background:#fff2d7;border-color:#efdfb4}
.bottom-callout{background:#edf6fc;border-color:#c9dced}
.bottom-callout p,.callout-symbol{color:#526980}
.footer{background:#031127;color:#a5b6c9;padding:25px max(32px,calc((100vw - 1196px)/2));font-size:11px}
.footer>a{color:#d2dce7}
.result-history{display:grid;gap:12px;padding:0 24px 24px}
.result-version{border:1px solid var(--line);border-radius:10px;padding:16px;background:#f8fafc}
.result-version header{display:flex;justify-content:space-between;gap:15px;margin-bottom:9px}
.result-version p{margin:6px 0;color:var(--muted);font-size:13px}
.result-version .version-metrics{font-weight:750;color:var(--navy)}
.snapshot-note{padding:15px 18px;background:#fff7e3;border:1px solid #f0dfb4;border-radius:10px;margin-bottom:20px;display:flex;justify-content:space-between;gap:20px;font-size:12px}
.ranking-board{padding:20px;background:radial-gradient(circle at 95% 0,#103e79,#071d43 70%);border-color:#071d43}
.ranking-board .table-wrap{background:#fff;border-radius:10px}
.appeal-card{padding:20px 24px;border-top:1px solid var(--line)}
.appeal-card header{display:flex;justify-content:space-between;gap:15px;margin-bottom:10px}
.appeal-card p{white-space:pre-wrap;overflow-wrap:anywhere}



/* Established sidebar and dashboard layout, retaining the current palette. */
.sidebar{position:fixed;inset:0 auto 0 0;width:246px;z-index:30;display:flex;flex-direction:column;background:#071d43;color:#c6d5e7;padding:31px 20px 16px}
.brand{display:flex;align-items:center;gap:9px;color:#f7f7ec;margin:0 4px 44px}
.brand>svg{width:37px;height:37px;flex:none}
.brand>span{font-size:17px;letter-spacing:1.4px;font-weight:750;line-height:1.3}
.brand-light{font-weight:400}
.brand small{display:block;font-size:10px;letter-spacing:2px;color:#aabed7;margin-top:7px}
.nav-label{font-size:10px;letter-spacing:1.5px;color:#91aac8;margin:0 14px 14px;display:block;font-weight:600}
.nav{display:grid;gap:5px;margin-bottom:25px}
.nav>a{height:47px;display:flex;align-items:center;gap:13px;border-radius:8px;padding:0 14px;font-size:12px;font-weight:500;transition:background .15s}
.nav>a>.icon{width:18px;color:#9bb5d4}
.nav>a:hover{background:#ffffff08;color:#fff}
.nav>a.active{background:#eaf4fd;color:#071d43}
.nav>a.active>.icon{color:#126bc3}
.sidebar-bottom{margin-top:auto;padding-top:20px}
.sidebar-message{padding:22px 17px;position:relative;font-family:Georgia,serif;font-size:21px;color:#edf4fc;line-height:1.45;margin:0 0 22px;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}
.sidebar-message strong{font-weight:400;color:#f4c64f;font-size:18px}
.trail-dot{position:absolute;right:15px;bottom:23px;width:6px;height:6px;background:var(--gold);border-radius:50%}
.sidebar-bottom>.nav{margin:0 0 10px}
.sidebar-account{display:flex;align-items:center;gap:10px;padding:17px 4px 0;border-top:1px solid #ffffff13}
.sidebar-account>div{min-width:0;flex:1}
.sidebar-account strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#edf4fc}
.sidebar-account small{display:block;font-size:10px;color:#91aac8;margin-top:3px}
.sidebar-account form{margin:0}
.sidebar-account .icon-button{color:#b8cee8}
.sidebar-signin{width:100%;background:#eaf4fd!important;color:var(--ink)!important}
.sidebar-caption{text-align:center;font-size:10px;color:#a6bdd8;margin:13px 0 0}
.sidebar-caption a{text-decoration:underline}
.app{margin-left:246px;min-height:100vh;display:flex;flex-direction:column}
.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:var(--paper)}
.breadcrumb{display:flex;gap:11px;align-items:center;font-size:10px;letter-spacing:1.7px;color:#65778b}
.breadcrumb span{color:#b8c6d5}
.breadcrumb strong{text-transform:capitalize;font-size:11px;letter-spacing:.3px;color:var(--ink);font-weight:500}
.topbar-actions{display:flex;align-items:center;gap:18px}
.live-status{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px}
.live-status i{width:5px;height:5px;border-radius:50%;background:#126bc3}
.sidebar .avatar{background:#16467e;color:#ffffff}
.content{width:100%;max-width:1570px;align-self:center;padding:34px 38px 42px;flex:1}
.hero{display:grid;grid-template-columns:1fr 1fr;min-height:322px;border-radius:var(--radius);overflow:hidden;background:#071d43;color:#ffffff;margin-bottom:23px;position:relative}
.hero-copy{padding:33px 34px;position:relative;z-index:2}
.hero-kicker{display:flex;align-items:center;gap:7px;color:#c4d9ee;font-size:10px;letter-spacing:1.8px;font-weight:600}
.hero-kicker i{width:5px;height:5px;background:#f4c64f;border-radius:50%}
.hero h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:47px;line-height:1.1;letter-spacing:-1.4px;margin:17px 0 16px}
.hero-copy>p{color:#bdcfe3;font-size:10px;line-height:1.8;margin-bottom:22px}
.hero-copy .button{min-height:39px}
.hero-footnote{display:flex;align-items:center;gap:7px;font-size:10px;color:#a9c2df;margin-top:19px}
.hero-footnote>.icon{width:13px;height:13px}
.hero-visual{position:relative;overflow:hidden;isolation:isolate}
.hero-visual>.landscape{position:absolute;inset:0;width:100%;height:100%;--sun:#f4c64f;--far:#3368a4;--near:#1d4d86;--front:#0e305b;--path:#f4c64f;--snow:#8db4df;opacity:.95}
.contour{width:340px;height:210px;position:absolute;border:1px solid #ffffff0a;border-radius:42% 70% 56% 64%;transform:rotate(-20deg);z-index:-1}
.contour-one{top:10px;right:-50px;box-shadow:0 0 0 20px #ffffff03,0 0 0 42px #ffffff03,0 0 0 62px #ffffff03}
.contour-two{bottom:0;left:-60px;transform:rotate(30deg)}
.hero-course{position:absolute;left:20px;right:23px;bottom:50px;background:#fffffff0;color:#071d43;backdrop-filter:blur(8px);padding:16px 19px;border-radius:10px;box-shadow:0 8px 25px #071d4320}
.hero-course>strong{display:block;font-size:16px;letter-spacing:-.3px;margin:5px 35px 4px 0}
.hero-course>span:not(.tiny-label):not(.course-mark){font-size:10px;color:#65778b}
.hero-course i{font-style:normal;color:#b8c6d5;margin:0 5px}
.course-mark{position:absolute;right:18px;top:23px;width:38px;height:38px;background:#eaf4fd;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#126bc3}
.hero-coordinate{position:absolute;bottom:21px;left:24px;right:24px;font-size:10px;letter-spacing:1px;color:#b4cbe5;display:flex;justify-content:space-between}
.hero-coordinate>span{font-size:10px;letter-spacing:1.8px}
.sidebar{overflow-y:auto;overscroll-behavior:contain}
.sidebar .brand small{font-size:8px;letter-spacing:1.4px}
.sidebar .brand-light{color:#a9cdf0}
.nav>a.active{box-shadow:inset 3px 0 var(--red)}
.drawer-close,.menu-backdrop{display:none}
.footer{padding:19px 38px}
@media(min-width:1550px){.hero h2{font-size:60px}.hero{min-height:380px}}
@media(max-width:1250px){.sidebar{width:220px;padding-left:15px;padding-right:15px}.app{margin-left:220px}.content{padding:29px}.topbar{padding:0 29px}.hero h2{font-size:40px}.hero-copy{padding:28px}.hero-coordinate>span{display:none}}
@media(max-width:1050px){.hero h2{font-size:37px}.hero-copy>p>br{display:none}.hero-course{left:12px;right:15px;padding:14px}.hero-course>strong{font-size:14px}.hero-course>span:not(.tiny-label):not(.course-mark){font-size:10px}.hero-coordinate{left:15px}.content{padding:27px 24px}.topbar{padding:0 24px}.live-status{display:none}.course-mark{display:none}}
@media(max-width:820px){.sidebar{width:246px;transform:translateX(-100%);transition:transform .2s;z-index:50;padding-top:38px}.menu-open .sidebar{transform:translateX(0)}.menu-open{overflow:hidden}.menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#071d4380;border:0;padding:0;z-index:40}.drawer-close{display:flex;position:absolute;right:8px;top:5px;color:#fff;font-size:25px}.app{margin-left:0;min-width:0}.mobile-menu{display:flex}.topbar{height:67px;padding:0 18px;gap:12px}.breadcrumb{margin-right:auto;font-size:10px;gap:7px;letter-spacing:1px}.breadcrumb strong{font-size:10px}.topbar-actions{gap:10px}.topbar-actions>.button{padding:8px 10px;min-height:35px;font-size:10px}.content{padding:25px 22px 35px}.hero-copy{padding:27px}.hero h2{font-size:39px}.hero-course>strong{margin-right:0}.footer{padding:19px 22px}}
@media(max-width:640px){.content{padding:24px 18px 30px}.topbar-actions>.text-link{display:none}.breadcrumb{letter-spacing:.6px}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:29px 27px 20px}.hero h2{font-size:44px}.hero-copy>p{font-size:11px;max-width:290px}.hero-visual{height:203px}.hero-visual>.landscape{height:300px;top:-60px}.hero-course{left:25px;right:25px;bottom:37px;padding:13px 16px}.hero-course>strong{font-size:16px;margin-right:30px}.course-mark{display:flex;top:18px;width:32px;height:32px}.hero-coordinate{left:25px;right:25px;bottom:14px}.hero-coordinate>span{display:block;font-size:7px;letter-spacing:1px}.footer{padding:18px}.snapshot-note{flex-wrap:wrap;gap:10px}.result-version header{flex-wrap:wrap;gap:5px}.result-history{padding:0 18px 18px}.rank-summary{flex-wrap:wrap;gap:12px;padding:18px}.rank-summary>div{flex:1;min-width:180px}.rank-summary>.button{width:100%}}
.event-layout>*,.two-columns>*,.stat-grid>*,.event-grid>*{min-width:0}
@media(max-width:640px){.panel-heading{flex-wrap:wrap}.difficulty-summary{flex-wrap:wrap}.event-facts{gap:15px;flex-wrap:wrap}.event-about,.aside-note{overflow-wrap:anywhere}}
.goal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.goal-card{padding:24px}
.goal-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.goal-card h2{font-size:22px;margin-bottom:8px}
.goal-total{margin:22px 0 12px;color:var(--muted)}
.goal-total strong{color:var(--navy);font-size:30px}
.goal-card progress{width:100%;height:12px;accent-color:var(--blue)}
.goal-card progress::-webkit-progress-bar{background:var(--pale);border-radius:6px}
.goal-card progress::-webkit-progress-value{background:var(--blue);border-radius:6px}
.goal-card progress::-moz-progress-bar{background:var(--blue);border-radius:6px}
.goal-card .panel-note{margin:10px 0 0;padding:0}
.milestone{display:flex;align-items:center;gap:16px;padding:22px 24px;border-bottom:1px solid var(--line)}
.milestone:last-child{border-bottom:0}
.milestone>div{flex:1;min-width:0}
.milestone h3{margin:0 0 5px;font-size:16px}
.milestone p{margin:0 0 5px;font-size:12px;color:var(--muted)}
.milestone small{color:var(--muted)}
.milestone:hover{background:var(--pale)}
@media(max-width:640px){.goal-grid{grid-template-columns:minmax(0,1fr)}.goal-card{padding:22px}.milestone{padding:20px 18px;gap:12px}.milestone h3{font-size:15px}}
.account-closure>summary{cursor:pointer;font-size:19px;font-weight:800;color:var(--navy)}
.account-closure[open]>summary{margin-bottom:20px}
.settings-grid>*{min-width:0}
.certificate-page{padding:24px}
.certificate{max-width:900px;margin:30px auto;padding:clamp(24px,6vw,70px);border:5px solid var(--navy);background:white;text-align:center}
.certificate h1{font-size:clamp(30px,5vw,54px);line-height:1.15;margin:30px 0}
.certificate .athlete{font-size:clamp(26px,4vw,42px);color:var(--blue);font-weight:800}
.certificate hr{border:0;border-top:3px solid var(--gold);margin:30px 0}
.certificate footer{margin-top:36px;font-size:13px;color:var(--muted)}
.certificate-controls{max-width:900px;margin:auto;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media print{.certificate-page{padding:0;background:white}.certificate-page .certificate-controls{display:none}.certificate{margin:0;max-width:none;break-inside:avoid;min-height:85vh}.certificate a{color:inherit;text-decoration:none}}

.record-reference{overflow-wrap:anywhere;word-break:break-word}small.record-reference{display:block;color:var(--muted);font-size:.75rem;margin-top:.35rem}

.entry-qr{display:block;width:min(100%,280px);height:auto;margin:24px auto;border:1px solid var(--line);background:white}
.entry-pass{max-width:720px;margin-inline:auto}
.entry-scanner{margin-top:20px}
.entry-scanner video{display:block;width:min(100%,640px);max-height:480px;margin-top:16px;border-radius:12px;background:var(--navy)}
.entry-scanner video[hidden]{display:none}
@media print{body:has(.entry-pass) .sidebar,body:has(.entry-pass) .topbar,body:has(.entry-pass) .footer,body:has(.entry-pass) .back-link,body:has(.entry-pass) .actions,body:has(.entry-pass) details{display:none}body:has(.entry-pass) .app{margin:0}body:has(.entry-pass) .content{padding:0}body:has(.entry-pass) .entry-pass{border:0;box-shadow:none;max-width:none;break-inside:avoid}}
