.lineup-logo{display:inline-flex;align-items:center;line-height:1}
.lineup-logo>img{display:block;width:180px;height:auto;max-width:100%;object-fit:contain}
.lineup-header{height:94px;gap:26px}
.lineup-header .brand-home{background:transparent!important;border:0!important;border-radius:0;line-height:0}
.auth-story .brand .lineup-logo>img{width:285px;height:auto}
.equipment-onboarding .lineup-logo>img{width:245px;height:auto}
.sidebar{top:122px}
@media(max-width:1050px) and (min-width:761px){.lineup-logo>img{width:155px}.lineup-header{gap:14px}.header-nav{margin-left:8px}}
@media(max-width:760px){.lineup-header{height:82px;padding:0 18px}.lineup-header .brand-home{display:block}.lineup-header .mobile-section-title{display:none}.lineup-header .lineup-logo>img{width:155px;height:auto}.auth-story .brand .lineup-logo>img{width:230px}.equipment-onboarding .lineup-logo>img{width:220px}.auth-story .brand{margin-bottom:25px}}

.rail-footer .lineup-logo>img{width:145px;height:auto}.rail-footer>p{font-size:12px}

/* User-supplied originals: preserve transparency, colours and byline. */
.lineup-logo>img{filter:none;aspect-ratio:auto}
.lineup-logo>.brand-dark{display:none}
.auth-layout .provider-access button[aria-disabled=true]{background:#edf2f5!important;color:#405363;opacity:1;border-color:#aabac5}
.auth-layout .provider-access button[aria-disabled=true] small{color:#526675}
html[data-theme=dark] .auth-layout .provider-access button[aria-disabled=true]{background:#19252b!important;color:#e0eaee;border-color:#607883}
html[data-theme=dark] .auth-layout .provider-access button[aria-disabled=true] small{color:#b8ccd5}
html[data-theme=dark] .lineup-logo>.brand-light{display:none}
html[data-theme=dark] .lineup-logo>.brand-dark{display:block}
.auth-story .lineup-logo>.brand-light{display:none}
.auth-story .lineup-logo>.brand-dark{display:block}
html[data-theme=light] .lineup-header{background:#fff;border-color:#dce4e9}
html[data-theme=light] .header-nav button{color:#405b62}
html[data-theme=light] .header-nav button.active{color:#086650}
html[data-theme=light] .header-nav button.active:after{background:#086650}
html[data-theme=light] .header-actions .pro-link{color:#173d36}
html[data-theme=light] .pro-link b{color:#086650}

/* BEGIN REVIEWED VISUAL REFRESH 01
   Adapted from the supplied lineup-refresh.css; load brand.css last.
   Presentation only. Remove this block and restore the link order to revert.
   No canvas/SVG/boat colors, dimensions, coordinates or permission rules here. */
html[data-theme] {
  --lu-bg:#f2f5f5; --lu-surface:#fff; --lu-raised:#f7f9f9;
  --lu-text:#142f3b; --lu-muted:#526874; --lu-line:#d2dfe4;
  --lu-accent:#c4ed85; --lu-accent-ink:#173624;
  --lu-soft:#edf5e4; --lu-focus:#267287;
  --lu-shadow:0 6px 24px #17344107;
  --ink:var(--lu-text); --muted:var(--lu-muted); --paper:var(--lu-bg);
  --bg:var(--lu-bg); --white:var(--lu-surface); --line:var(--lu-line);
  font-family:"Segoe UI",system-ui,-apple-system,sans-serif;
  background:var(--lu-bg); color:var(--lu-text);
}
html[data-theme=dark] {
  --lu-bg:#0d161e; --lu-surface:#14212b; --lu-raised:#192a35;
  --lu-text:#edf3f6; --lu-muted:#a9bdc8; --lu-line:#3d5361;
  --lu-soft:#23382d; --lu-focus:#c4ed85;
  --lu-shadow:0 8px 28px #00000016;
}
html[data-theme] body {background:var(--lu-bg);color:var(--lu-text);-webkit-font-smoothing:antialiased}
html[data-theme] :is(.layout.lineup-layout,.shell) {background:var(--lu-bg)}
html[data-theme] [hidden] {display:none!important}
html[data-theme] :where(button,input,select,textarea) {font-family:inherit}
html[data-theme] :is(button,a,input,select,textarea,summary):focus-visible {outline:3px solid var(--lu-focus);outline-offset:3px}
html[data-theme] :is(.shell,.auth-form) h1 {font-size:clamp(28px,3.1vw,42px);line-height:1.16;font-weight:650;letter-spacing:-.035em;overflow-wrap:anywhere}
html[data-theme] :is(.panel-title h2,.friends-social-heading h2,.collection-section-title h2) {font-size:19px;line-height:1.35;font-weight:650;letter-spacing:-.02em}
html[data-theme] :is(.muted,.scope-note,.replay-hint,.activity-caption) {color:var(--lu-muted);line-height:1.65}
html[data-theme] .shell .eyebrow {font-size:10px;font-weight:700;letter-spacing:.12em;line-height:1.5}
html[data-theme] :is(.panel,.stat,.group-card,.session-card,.device-card,.first-activity,.feed-composer,.athlete-card,.activity-overview,.activity-info,.session-delivery,.basic-report,.activity-wind-card) {
  background:var(--lu-surface);color:var(--lu-text);border-color:var(--lu-line);border-radius:18px;box-shadow:var(--lu-shadow);
}
html[data-theme] .panel {padding:24px;margin-bottom:22px}
html[data-theme] .panel-title {gap:14px;margin-bottom:18px;flex-wrap:wrap}
/* Existing dark button overrides use !important. Restrict exceptions to actions. */
html[data-theme] button:is(.primary,.lime) {background:var(--lu-accent)!important;border-color:var(--lu-accent)!important;color:var(--lu-accent-ink)!important;border-radius:10px;font-weight:700}
html[data-theme] button:is(.primary,.lime):hover:not(:disabled) {background:#d5f5a8!important;border-color:#d5f5a8!important}
html[data-theme] :is(.field input,.field select,.field textarea,.comment-form input) {background:var(--lu-raised);color:var(--lu-text);border:1px solid var(--lu-line);border-radius:10px;font-size:13px}
html[data-theme] :is(.field input,.field select) {min-height:44px}
html[data-theme] .field {font-size:13px;gap:9px}
html[data-theme] .field small {color:var(--lu-muted);line-height:1.6}
html[data-theme] :is(input,textarea)::placeholder {color:var(--lu-muted);opacity:1}
html[data-theme] .comment-form {gap:8px}
html[data-theme] .comment-form input {padding:11px 13px;min-width:0}
html[data-theme] .comment-form button {background:var(--lu-raised);color:var(--lu-text);border-color:var(--lu-line);font-size:12px}
html[data-theme] .lineup-header {background:var(--lu-surface);border-bottom:1px solid var(--lu-line);box-shadow:0 4px 20px #00000008}
html[data-theme] .header-nav button {color:var(--lu-muted);font-weight:600;border-radius:9px}
html[data-theme] .header-nav {align-items:center}
html[data-theme] .header-nav button {height:44px}
html[data-theme] .header-nav button.active {color:var(--lu-text)!important;background:var(--lu-soft)!important}
html[data-theme] .header-nav button.active:after {background:var(--lu-focus)}
html[data-theme] .header-actions .pro-link {color:var(--lu-text)}
html[data-theme] .pro-link b {color:var(--lu-text);background:var(--lu-soft);border:1px solid var(--lu-line);border-radius:5px;padding:3px 5px}
html[data-theme] .sidebar {background:transparent;color:var(--lu-text)}
/* Do not restate display for navigation or feature-gated controls. */
html[data-theme] .sidebar .nav {gap:5px;margin-top:22px}
html[data-theme] .sidebar .nav button {padding:12px 13px;color:var(--lu-muted);font-size:12px;font-weight:550;line-height:1.45;border-radius:11px}
html[data-theme] .sidebar .nav button.active {background:var(--lu-soft);color:var(--lu-text);box-shadow:inset 3px 0 var(--lu-focus)}
html[data-theme] .sidebar .nav button:hover {background:var(--lu-raised);color:var(--lu-text)}
html[data-theme] .athlete-cover {background:linear-gradient(135deg,#214a5d,#18383c);border-bottom:1px solid var(--lu-line)}
html[data-theme] .athlete-card h2 {font-size:18px}
html[data-theme] .athlete-card p {color:var(--lu-muted);font-size:12px;line-height:1.6}
html[data-theme] .athlete-mini {border-color:var(--lu-line)}
html[data-theme] .athlete-mini strong {color:var(--lu-text);font-variant-numeric:tabular-nums}
html[data-theme] .avatar {background:var(--lu-soft);color:var(--lu-text);border:1px solid var(--lu-line)}
html[data-theme] :is(.sidebar-tip,.sidebar-bottom) {border-color:var(--lu-line);color:var(--lu-muted)}
html[data-theme] .sidebar-tip h3 {font-size:17px;line-height:1.5}
html[data-theme] .topbar {color:var(--lu-muted);border-color:var(--lu-line);margin-bottom:22px;font-size:10px;letter-spacing:.07em}
html[data-theme] .account-strip {background:var(--lu-surface);border:1px solid var(--lu-line);border-radius:12px;padding:13px 16px;margin-bottom:26px;gap:12px}
html[data-theme] .account-strip span:not(.plan-tag) {font-size:12px;color:var(--lu-muted)}
html[data-theme] .account-strip button {font-size:12px;padding:8px 10px;background:var(--lu-raised);border:1px solid var(--lu-line);color:var(--lu-text)}
html[data-theme] .plan-tag {border-color:var(--lu-line);color:var(--lu-muted);font-size:10px}
html[data-theme] .plan-tag.paid {background:var(--lu-accent);color:var(--lu-accent-ink);border-color:var(--lu-accent)}
html[data-theme] :is(.feed-heading,.heading) {margin-bottom:26px}
html[data-theme] .feed-heading p.muted {font-size:14px}
html[data-theme] .live-label {color:var(--lu-muted);border-color:var(--lu-line);font-size:10px;letter-spacing:.12em}
html[data-theme] .feed-composer {padding:17px;gap:14px}
html[data-theme] .feed-composer button {background:var(--lu-raised);color:var(--lu-muted);border:1px solid var(--lu-line);font-size:13px;padding:12px 15px}
html[data-theme] .friends-social-heading {background:var(--lu-surface)}
html[data-theme] .friend-chips>button {background:var(--lu-raised);border-color:var(--lu-line);color:var(--lu-text);font-size:12px}
html[data-theme] .friend-post-header small,html[data-theme] .post header small {color:var(--lu-muted);font-size:11px}
html[data-theme] .post-body {font-size:14px;line-height:1.75;color:var(--lu-text)}
html[data-theme] .post-actions {border-color:var(--lu-line);gap:18px}
html[data-theme] .post-actions button {font-size:12px}
html[data-theme] .post-actions span {font-size:11px;color:var(--lu-muted)}
html[data-theme] .feed-training-title {font-size:20px;font-weight:650;line-height:1.4;letter-spacing:-.02em}
html[data-theme] .activity-metric-grid {gap:16px;padding-top:18px;padding-bottom:18px;border-color:var(--lu-line)}
html[data-theme] .activity-metric-grid span {font-size:12px;color:var(--lu-muted)}
html[data-theme] .activity-metric-grid strong {font-size:27px;line-height:1.25;letter-spacing:-.035em;font-weight:650;color:var(--lu-text);font-variant-numeric:tabular-nums}
html[data-theme] :is(.privacy-pill,.sport-chip) {background:var(--lu-soft);color:var(--lu-text);border-color:var(--lu-line);font-size:11px}
html[data-theme] :is(.map-label,.map-disclaimer) {background:var(--lu-surface);color:var(--lu-muted);border-color:var(--lu-line)}
html[data-theme] .feed-map {border-radius:12px;overflow:hidden}
html[data-theme] .community-rail .panel {padding:20px}
html[data-theme] .community-rail h2 {font-size:18px}
html[data-theme] .weekly-medal {background:radial-gradient(ellipse at 50% 30%,var(--lu-raised),var(--lu-surface));text-align:center}
html[data-theme] :is(.rail-group,.rail-link,.training-row,.member) {border-color:var(--lu-line);color:var(--lu-text)}
html[data-theme] .stats {gap:16px}
html[data-theme] .stat {padding:22px}
html[data-theme] .stat strong {color:var(--lu-text);font-size:34px;font-weight:650;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
html[data-theme] .stat :is(span,small) {color:var(--lu-muted);font-size:12px;line-height:1.6}
html[data-theme] .stat .value-text {font-size:25px}
html[data-theme] .session-card:hover {background:var(--lu-surface);border-color:var(--lu-focus);box-shadow:var(--lu-shadow)}
html[data-theme] .card-body {padding:23px}
html[data-theme] .card-footer {border-color:var(--lu-line);color:var(--lu-muted)}
html[data-theme] .card-body h3 {font-size:20px;line-height:1.4}
html[data-theme] :is(.activity-reference,.activity-person span,.wind-card-note,.activity-wind-card p) {color:var(--lu-muted);font-size:12px;line-height:1.7}
html[data-theme] .notice {background:var(--lu-soft);border-color:var(--lu-line);color:var(--lu-text);border-radius:11px;font-size:13px;line-height:1.7}
html[data-theme] .notice.warn {background:#473720;color:#ffe3ae;border-color:#80643e}
html[data-theme=light] .notice.warn {background:#fff3db;color:#67460e;border-color:#d4b57d}
html[data-theme] .error {color:#923e32}
html[data-theme=dark] .error {color:#ffb4a7}
html[data-theme] .tabs {gap:24px;border-color:var(--lu-line)}
html[data-theme] .tabs button {color:var(--lu-muted);font-size:12px;min-height:44px}
html[data-theme] .tabs button.active {color:var(--lu-text);border-bottom-color:var(--lu-focus);font-weight:700}
/* Nautical replay remains inverted in BOTH themes. No sizing/transform rules. */
html[data-theme] .replay.nautical :is(.replay-toolbar,.replay-controls,.legend) {color:#edf3f6}
html[data-theme] .replay.nautical :is(.replay-toolbar button,.replay-toolbar select,.transport button,.transport select) {background:#193548;color:#edf3f6;border-color:#668091;border-radius:8px;font-size:12px}
html[data-theme] .replay.nautical .transport time {color:#edf3f6;font-variant-numeric:tabular-nums}
html[data-theme] .replay.nautical .replay-hint {color:#c0d5df}
html[data-theme] .replay.nautical :is(button,select,input):focus-visible {outline-color:#c4ed85}
html[data-theme] table {font-variant-numeric:tabular-nums}
html[data-theme] :is(.basic-report,.deep-report,.quality-table) th {color:var(--lu-muted);font-size:11px}
html[data-theme] :is(.basic-report,.deep-report) td {border-color:var(--lu-line);color:var(--lu-text)}
/* Preserve inverted hero/banner contrast instead of applying global headings. */
html[data-theme] .sport-hero :is(h2,h3),html[data-theme] .wind-signal h3 {color:#f2f7fa}
html[data-theme] .sport-hero .eyebrow,html[data-theme] .wind-signal :is(.eyebrow,p,button) {color:#c7dde9}
html[data-theme] .pro-rail :is(p,button) {color:#41582a}
html[data-theme=dark] .pro-rail :is(p,button) {color:#d3e7be}
html[data-theme] .collection-banner {background:linear-gradient(115deg,#173f50,#153443 65%,#304b3c);border-color:#597887;border-radius:18px;padding:30px}
html[data-theme] .collection-banner :is(span,button) {color:#e0eee5}
html[data-theme] .collection-banner h2 {font-size:clamp(26px,3vw,36px);line-height:1.15}
html[data-theme] .next-collectible {background:var(--lu-surface);color:var(--lu-text);border-color:var(--lu-line);border-radius:18px}
html[data-theme] .collectible-grid {gap:18px}
html[data-theme] .collectible-card {padding:22px;border-radius:18px;background:var(--lu-surface);border-color:var(--lu-line)}
html[data-theme] .collectible-art {border-radius:12px;background:var(--lu-raised);border-color:var(--lu-line)}
html[data-theme] .collectible-card h3 {margin-top:18px;font-size:17px;color:var(--lu-text)}
html[data-theme] .collectible-card p {color:var(--lu-muted);font-size:12px;line-height:1.65}
html[data-theme] .collectible-value {font-size:21px;font-weight:650;color:var(--lu-text);font-variant-numeric:tabular-nums}
html[data-theme] .medal-state {background:var(--lu-surface);color:var(--lu-muted);border-color:var(--lu-line);border-radius:6px}
html[data-theme] .earned .medal-state {background:var(--lu-soft);color:var(--lu-text)}
html[data-theme] :is(.collectible-criterion,.share-achievement) {color:var(--lu-text);border-color:var(--lu-line)}
html[data-theme] .profile-identity {border-color:var(--lu-line)}
html[data-theme] .profile-settings label {color:var(--lu-text)}
html[data-theme] .collection-intro>p {color:var(--lu-muted)}
html[data-theme] .profile-counters strong {font-variant-numeric:tabular-nums;font-weight:650;color:var(--lu-text)}
html[data-theme] .auth-form {background:var(--lu-bg)}
html[data-theme] .auth-form>div {width:min(430px,100%)}
html[data-theme] .auth-form h2 {line-height:1.25;font-weight:650}
html[data-theme] .auth-story h1 {color:#f2f7fa;line-height:1.08}
html[data-theme] .auth-story h1 em {color:var(--lu-accent)}
html[data-theme] .auth-story p {color:#c1d0d7}
html[data-theme] .provider-access button {border-radius:10px;min-height:46px;font-size:12px}
html[data-theme] .provider-access button small {font-size:11px}
html[data-theme] .lineup-bottom {background:var(--lu-surface);border-color:var(--lu-line);box-shadow:0 -8px 24px #0000000a}
html[data-theme] .lineup-bottom button {color:var(--lu-muted);border-radius:12px}
html[data-theme] .lineup-bottom button.active {color:var(--lu-text)}
html[data-theme] .lineup-bottom button.active svg {background:var(--lu-soft)}
@media(min-width:1100px) {
  html[data-theme] .layout.lineup-layout {grid-template-columns:208px minmax(0,1fr);gap:32px;padding-left:26px;padding-right:26px;max-width:1550px}
  html[data-theme] .shell {padding-left:0;padding-right:0}
  html[data-theme] .lineup-community {grid-template-columns:minmax(0,1fr) 270px;gap:24px}
}
@media(min-width:761px) and (max-width:1099px) {
  html[data-theme] .layout.lineup-layout {grid-template-columns:176px minmax(0,1fr);gap:22px;padding-left:20px;padding-right:20px}
  html[data-theme] .shell {padding-left:0;padding-right:0}
  html[data-theme] .lineup-community {grid-template-columns:minmax(0,1fr)}
  html[data-theme] .community-rail {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  html[data-theme] .community-rail>.panel {margin-bottom:0}
  html[data-theme] .detail-grid {grid-template-columns:minmax(0,1fr)}
  html[data-theme] .header-nav {gap:4px;margin-left:0}
  html[data-theme] .header-nav button {font-size:11px;padding:9px}
}
@media(max-width:760px) {
  html[data-theme] :is(.shell,.auth-form) h1 {font-size:30px;line-height:1.16}
  html[data-theme] .layout.lineup-layout {display:block;padding:0 16px 120px}
  html[data-theme] .shell {padding:0;min-width:0}
  html[data-theme] .panel {padding:19px;border-radius:15px;margin-bottom:16px}
  html[data-theme] :is(.personal-activity,.activity-post) {margin-left:0;margin-right:0}
  html[data-theme] :is(.personal-activity,.activity-post) .activity-map-button {margin-left:-19px;width:calc(100% + 38px)}
  html[data-theme] .profile-tabs {margin-left:0;margin-right:0;padding-left:0;padding-right:0}
  html[data-theme] .lineup-header {padding-left:16px;padding-right:16px}
  html[data-theme] .account-strip {padding:12px;margin:18px 0 24px;gap:10px}
  html[data-theme] .account-strip>div {gap:7px}
  html[data-theme] .account-strip button {min-height:40px}
  html[data-theme] .feed-heading p.muted {font-size:13px}
  html[data-theme] .heading {align-items:flex-start;gap:16px;flex-wrap:wrap}
  html[data-theme] .heading .actions {gap:8px;flex-wrap:wrap}
  html[data-theme] .friends-social-heading .primary,html[data-theme] .friend-chips>button,html[data-theme] .comment-form button {min-height:42px}
  html[data-theme] .comment-form input {width:100%;min-width:0}
  html[data-theme] .activity-metric-grid {gap:12px}
  html[data-theme] .activity-metric-grid strong {font-size:23px}
  html[data-theme] .activity-metric-grid span {font-size:11px}
  html[data-theme] .stats {gap:8px}
  html[data-theme] .stat {padding:14px 10px;border-radius:12px}
  html[data-theme] .stat strong {font-size:27px}
  html[data-theme] .stat .value-text {font-size:20px}
  html[data-theme] .stat :is(span,small) {font-size:11px;line-height:1.5}
  html[data-theme] :is(.detail-grid,.session-grid) {grid-template-columns:minmax(0,1fr)}
  html[data-theme] .collection-banner {padding:22px}
  html[data-theme] .collectible-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html[data-theme] .collectible-card {padding:14px;border-radius:14px}
  html[data-theme] .collectible-card h3 {font-size:15px}
  html[data-theme] .collectible-card p {font-size:12px}
  html[data-theme] .collectible-criterion {min-height:44px;font-size:12px}
  html[data-theme] .auth-form {padding:30px 22px}
}
@media(max-width:380px) {
  html[data-theme] .layout.lineup-layout {padding-left:12px;padding-right:12px}
  html[data-theme] .activity-metric-grid strong {font-size:21px}
  html[data-theme] .collectible-grid {grid-template-columns:minmax(0,1fr)}
}
@media(prefers-reduced-motion:reduce) {
  html[data-theme] *,html[data-theme] *::before,html[data-theme] *::after {scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
@media print {
  html[data-theme] {--lu-bg:#fff;--lu-surface:#fff;--lu-raised:#f5f5f5;--lu-text:#111;--lu-muted:#444;--lu-line:#ccc;--lu-shadow:none}
  html[data-theme] .panel {box-shadow:none}
}
/* END REVIEWED VISUAL REFRESH 01 */
