/* Reversible customer presentation. Classic styling remains in its original files. */
.customer-look-only{display:none!important}
.customer-refresh .customer-look-only{display:initial!important}
body.customer-refresh{background:#f4f3ec;--paper:#f4f3ec;--white:#fffef9;--line:#dedfd4;--radius:20px;font-family:'Segoe UI',Arial,sans-serif}
.customer-refresh main{max-width:1260px;padding:0 26px 110px}
.customer-refresh .pilot-accountbar{background:#eeefe6;color:#526356;border-bottom:1px solid #dedfd4;font-size:12px;padding-block:8px}
.customer-refresh .pilot-accountbar button,.customer-refresh .pilot-accountbar select{background:#fffef9;color:#203b30;border-color:#d7dccf}
.customer-refresh .pilot-accountbar a{color:#203b30!important}
.customer-refresh .topbar{position:relative;max-width:1260px;margin:auto;background:transparent;color:#203b30;box-shadow:none;border:0;padding:16px 26px;min-height:104px}
.customer-refresh .topbar .brand-mark,.customer-refresh .topbar .brand-mark img{width:72px!important;height:72px!important;flex-basis:72px!important;background:transparent;object-fit:contain}
.customer-refresh .topbar .brand{gap:12px}.customer-refresh .topbar .brand small{color:#6d7d6b}
.customer-refresh .topbar .btn-ghost,.customer-refresh .app-tools>summary{background:#fffef9;color:#203b30;border:1px solid #d7dccf}
.customer-refresh .btn-primary{background:#244634;box-shadow:0 5px 13px #24463412}
.customer-refresh .btn-primary:hover{background:#345c43}
.customer-refresh .sync-pill{background:#eef1e7;border:1px solid #d7dfcc;color:#53664f}
.customer-refresh .sync-pill small{color:#647460}
.customer-refresh .app-section-nav{max-width:1208px;margin:0 auto 20px;border-radius:12px;background:#fffef9;border:1px solid #dedfd4;color:#304b36;position:relative;top:auto}
.customer-refresh .app-section-nav a{min-height:44px;display:inline-flex;align-items:center;white-space:nowrap}
.customer-refresh .hero{display:grid;grid-template-columns:minmax(0,1fr) 35%;align-items:center;min-height:330px;margin:0;padding:36px 38% 32px 38px;border-radius:24px;gap:18px;background:#203c2e;isolation:isolate}
.customer-refresh .hero>div:first-of-type{max-width:none;width:100%;grid-column:1/-1;min-width:0}
.customer-refresh .hero h1{font-size:clamp(36px,4.4vw,54px);line-height:1.08;margin:12px 0 16px;letter-spacing:-.035em}
.customer-refresh .hero h1 em{display:block}
.customer-refresh .hero .eyebrow{font-size:10px;letter-spacing:.14em;margin-bottom:12px}
.customer-refresh .hero-photo,.customer-refresh .hero.pilot-own-photo .hero-photo{inset:0 0 0 auto;width:34%;height:100%;object-fit:contain;object-position:center;filter:none;opacity:1;z-index:0;padding:10px;background:#2e4937}
.customer-refresh .hero.pilot-own-photo .hero-photo{padding:0;background:#182f24}
.customer-refresh .hero::before{background:linear-gradient(90deg,#102a1940,transparent 64%);pointer-events:none}
.customer-refresh .hero::after{left:0;right:auto;opacity:.6;pointer-events:none}
.customer-refresh .hero>.hero-aside{position:relative;inset:auto;max-width:none;display:flex;align-items:center;flex-wrap:wrap;gap:14px;grid-column:1/-1}
.customer-refresh .hero .distance-pill{background:#fff8e9;color:#203c2e;box-shadow:none;padding:10px 13px;border:1px solid #ffffff21;border-radius:14px}
.customer-refresh .hero .distance-pill strong{font-size:23px}.customer-refresh .hero .privacy-pill{font-size:10px}
.customer-refresh .customer-hero-tagline{font-size:14px;line-height:1.65;color:#c9d7c6;margin:0;max-width:33ch}
.customer-refresh .customer-season-tag{font-size:10px;letter-spacing:.12em;color:#dac99a}
.customer-refresh .hero>.customer-photo-button{position:absolute;right:14px;bottom:14px;max-width:29%;z-index:3;border:1px solid #ffffff40;border-radius:10px;background:#fffdf1ed;color:#254431;padding:9px 12px;font-size:11px;line-height:1.4;cursor:pointer}
.customer-refresh .weather-strip{margin:0 0 16px;border:1px solid #dedfd4;border-radius:14px;background:#fffef9}
.customer-refresh .first-trip-guide{margin:20px 0;background:#fffef9;border:1px dashed #bbcbb0;border-radius:20px}
.customer-refresh .dashboard{padding-top:10px}
.customer-refresh .section-heading{margin-top:18px;margin-bottom:18px;align-items:center;gap:16px}
.customer-refresh h2{font-size:30px}.customer-refresh .panel h3{font-size:23px;line-height:1.2;letter-spacing:-.02em}
.customer-refresh .stats-grid{gap:13px}
.customer-refresh .stat-card{border-radius:20px;box-shadow:0 4px 16px #203b3005;padding:22px;min-height:190px}
.customer-refresh .stat-icon{width:30px;height:30px;margin-bottom:13px}
.customer-refresh .stat-card>p{font-size:13px;font-weight:600}
.customer-refresh .stat-card>strong{font-size:38px;line-height:1.15;margin:7px 0}
.customer-refresh .stat-card>strong small{font:14px 'Segoe UI',Arial,sans-serif}
.customer-refresh .stat-card .stat-foot{font-size:12px;line-height:1.5}
.customer-refresh .priority-insights-grid{gap:15px;margin-top:18px;scroll-margin-top:20px}
.customer-refresh .panel{border-radius:20px;box-shadow:0 4px 17px #203b3004;border:1px solid #e1e3d7;background:#fffef9}
.customer-refresh .panel-head{gap:12px;flex-wrap:wrap}
.customer-refresh .lefty-stats,.customer-refresh .elevation-analysis,.customer-refresh .smart-insights{font-size:13px;line-height:1.6}
.customer-refresh .lefty-stats-row,.customer-refresh .lefty-stat{border-color:#e4e7db}
.customer-refresh .chart-empty{padding:28px 18px;font-size:13px;line-height:1.7;color:#6b7967;background:#f4f5ed;border-radius:12px}
.customer-refresh .season-map{border-radius:15px;min-height:300px}
.customer-refresh .season-moments{gap:16px}
.customer-refresh .season-moments figure{border-radius:19px;min-height:210px;overflow:hidden;background:linear-gradient(140deg,#34513b,#667857)!important}
.customer-refresh .season-moments figure:before{display:none}
.customer-refresh .season-moments figure::after{z-index:2;background:linear-gradient(0deg,rgba(10,20,14,.65),rgba(10,20,14,.12) 35%,transparent 62%)}
.customer-refresh .season-moments figure img{width:100%;height:100%;object-fit:contain;object-position:center;filter:none}
.customer-refresh .season-moments figcaption{z-index:3;color:#fff;text-shadow:0 1px 5px #0008}.customer-refresh .season-moments figcaption strong{font-size:23px}
.customer-refresh .filter-bar{border-radius:16px;background:#ecefe3;padding:16px;gap:10px;flex-wrap:wrap}
.customer-refresh .filter-bar input,.customer-refresh .filter-bar select{min-height:44px;background:#fffef9;font-size:14px}
.customer-refresh .table-shell{border-radius:18px;border:1px solid #e0e4d7;background:#fffef9}
.customer-refresh .hunt-row td{padding-block:18px}
.customer-refresh .field-mode-fab{position:fixed;left:22px;bottom:max(18px,env(safe-area-inset-bottom));z-index:28;min-height:48px;display:inline-flex;align-items:center;gap:8px;padding:12px 17px;border:1px solid #ffffff30;border-radius:16px;color:#fff;background:#244634;box-shadow:0 5px 25px #203b3033;font-size:13px;font-weight:700}
.customer-refresh .field-mode-fab svg{width:20px;height:20px}
.customer-refresh .lefty-companion{z-index:27}.customer-refresh .lefty-companion-button{max-width:100px}
.customer-refresh .lefty-companion-image{max-height:120px}
@media(max-width:850px){
 .customer-refresh .topbar{padding:12px 17px;grid-template-columns:1fr auto;gap:12px;min-height:96px}
 .customer-refresh .pilot-accountbar{flex-direction:row;align-items:center;gap:10px;padding:8px 16px;flex-wrap:wrap}
 .customer-refresh .pilot-wordmark{font-size:11px}.customer-refresh .pilot-wordmark small{display:none}
 .customer-refresh .pilot-accountbar>div{gap:6px}.customer-refresh .pilot-accountbar button{padding:5px 8px;font-size:11px}
 .customer-refresh .app-section-nav{margin:0 16px 16px;padding:4px 10px;gap:19px;justify-content:flex-start;overflow:auto}
 .customer-refresh .app-section-nav a{font-size:11px}
 .customer-refresh main{padding:0 16px 100px}
 .customer-refresh .hero{padding:26px 39% 28px 22px;min-height:310px;grid-template-columns:1fr;border-radius:20px}
 .customer-refresh .hero h1{font-size:36px}
 .customer-refresh .hero>div:first-of-type{max-width:none}
 .customer-refresh .hero-photo,.customer-refresh .hero.pilot-own-photo .hero-photo{height:100%;width:36%;inset:0 0 0 auto}
 .customer-refresh .hero>.hero-aside{flex-direction:column;align-items:flex-start;gap:8px}
 .customer-refresh .hero .privacy-pill{display:none}
 .customer-refresh .customer-hero-tagline{font-size:12px}
 .customer-refresh .hero>.customer-photo-button{right:8px;bottom:9px;font-size:10px;padding:7px;max-width:31%}
 .customer-refresh .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .customer-refresh .stat-card{padding:17px 14px;min-height:175px;border-radius:17px}
 .customer-refresh .stat-card>strong{font-size:34px}.customer-refresh .stat-card #totalTime{font-size:25px}
 .customer-refresh .priority-insights-grid{grid-template-columns:1fr}
 .customer-refresh .panel{border-radius:18px}
 .customer-refresh .season-heading-actions{justify-content:flex-start}
 .customer-refresh .section-heading{flex-wrap:wrap;gap:12px}
 .customer-refresh h2{font-size:27px}
 .customer-refresh .season-moments{grid-template-columns:1fr}
 .customer-refresh .season-moments figure{min-height:190px}
 .customer-refresh .filter-bar label{min-width:0;flex:1 1 125px}
 .customer-refresh .filter-bar .search-field{flex-basis:100%}
 .customer-refresh #huntDiary .table-shell{border:0;background:transparent;overflow:visible}
 .customer-refresh #huntDiary .table-shell table{display:block;min-width:0;width:100%}
 .customer-refresh #huntDiary .table-shell thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .customer-refresh #huntDiary .table-shell tbody{display:grid;gap:14px}
 .customer-refresh #huntDiary .hunt-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border:1px solid #dfe4d5;background:#fffef9;border-radius:18px;padding:17px}
 .customer-refresh #huntDiary .hunt-row td{display:block;min-width:0;white-space:normal;padding:0;border:0;font-size:12px}
 .customer-refresh #huntDiary .hunt-row td:before{content:attr(data-column-label);display:block;font-size:10px;color:#77836c;font-weight:600;margin-bottom:5px}
 .customer-refresh #huntDiary .hunt-row td:first-child{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #e5e8df}
 .customer-refresh #huntDiary .hunt-row td:first-child:before,.customer-refresh #huntDiary .hunt-row td:last-child:before{display:none}
 .customer-refresh #huntDiary .hunt-row td:nth-child(8){grid-column:1/-1}
 .customer-refresh #huntDiary .hunt-row td:last-child{grid-column:1/-1;justify-self:end;padding-top:7px}
 .customer-refresh #huntDiary .date-place strong{font-size:19px}.customer-refresh #huntDiary .date-place small{font-size:12px}
 .customer-refresh #huntDiary .note-preview{white-space:normal;max-width:none;line-height:1.6}
 .customer-refresh #huntDiary .entry-links{flex-wrap:wrap;gap:7px}.customer-refresh #huntDiary .entry-links button{min-height:38px}
 .customer-refresh .field-mode-fab{left:12px;bottom:max(12px,env(safe-area-inset-bottom));font-size:12px}
 .customer-refresh .lefty-companion-button{max-width:76px}.customer-refresh .lefty-companion-image{max-height:94px}
}
@media(max-width:380px){.customer-refresh .topbar .brand strong{font-size:15px}.customer-refresh .topbar .brand-mark,.customer-refresh .topbar .brand-mark img{width:54px!important;height:54px!important;flex-basis:54px!important}.customer-refresh .top-actions{gap:4px}.customer-refresh .top-actions>.btn{padding:9px 8px;font-size:11px}.customer-refresh .hero{padding-left:17px}.customer-refresh .hero h1{font-size:30px}.customer-refresh .hero .distance-pill{padding:8px}.customer-refresh .hero .distance-pill strong{font-size:20px}}
@media(prefers-reduced-motion:reduce){.customer-refresh *{scroll-behavior:auto!important}}

@media(max-width:850px){.customer-refresh .topbar .brand{grid-column:1;grid-row:1}.customer-refresh .topbar .sync-pill{grid-column:2;grid-row:1;max-width:160px;justify-self:end;font-size:10px}.customer-refresh .topbar .sync-pill>span:last-child{display:block}.customer-refresh .topbar .top-actions{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:flex-end}.customer-refresh .topbar .top-actions>.btn{min-height:44px}.customer-refresh .topbar .brand small{font-size:9px}}

/* Consistent KPI surface across both customer layout choices. */
@media screen {
 body .stats-grid > .stat-card:not(.featured):not([data-shooting-band]) { background:#e4ebdc; color:#203a2c; border-color:#b4c2a8; }
 body .stats-grid > .stat-card:not(.featured) > p { color:#42543b; }
 body .stats-grid > .stat-card:not(.featured) .stat-foot,
 body .stats-grid > .stat-card:not(.featured) strong small { color:#4c5f46; }
}

/* Tydelege kortflatar, including the classic fallback. Desktop only. */
@media screen and (min-width: 1024px) {
  html body { background-color: #e4e6de; }
  #seasonOverview .stats-grid > .stat-card {
    --muted: #50614b;
    --line: #d5dccd;
    background: #fffefa;
    color: #193528;
    border-color: #b8c2b1;
    box-shadow: 0 2px 3px #20372b0a, 0 8px 18px #20372b0b;
  }
  #seasonOverview .stat-card > p { color: #334b37; }
  #seasonOverview .stat-card .stat-foot,
  #seasonOverview .stat-card strong small,
  #seasonOverview .stat-card .stat-change,
  #seasonOverview .stat-card .stat-change::after,
  #seasonOverview .stat-card .stat-comparison-values dt span,
  #seasonOverview .stat-card .stat-comparison-basis,
  #seasonOverview .stat-card .stat-comparison-note { color: #50614b; }
  #seasonOverview .stat-card .stat-change.up { color: #3c6b36; }
  #seasonOverview .stat-card .stat-change.down { color: #a1453b; }
  #seasonOverview .stat-card .stat-comparison-details { color: #193528; border-color: #d5dccd; }
  #seasonOverview .stat-card:focus-within { border-color: #46643e; }
}

/* Mobile KPI surfaces: one warm-white card style, with status colours retained. */
@media screen and (max-width: 700px) {
  #seasonOverview .stats-grid > .stat-card {
    --muted: #50614b;
    --line: #d5dccd;
    background: #fffefa;
    color: #193528;
    border-color: #b8c2b1;
    box-shadow: 0 2px 4px #20372b0d, 0 8px 18px #20372b0d;
  }
  #seasonOverview .stat-card > p { color: #334b37; }
  #seasonOverview .stat-card .stat-icon { color: #385644; }
  #seasonOverview .stat-card .stat-foot,
  #seasonOverview .stat-card strong small,
  #seasonOverview .stat-card .stat-change,
  #seasonOverview .stat-card .stat-change::after,
  #seasonOverview .stat-card .stat-comparison-values dt span,
  #seasonOverview .stat-card .stat-comparison-basis,
  #seasonOverview .stat-card .stat-comparison-note { color: #50614b; }
  #seasonOverview .stat-card .stat-change.up { color: #3c6b36; }
  #seasonOverview .stat-card .stat-change.down { color: #a1453b; }
  #seasonOverview .stat-card .stat-comparison-details { color: #193528; border-color: #d5dccd; }
  #seasonOverview .stat-card .stat-comparison-values > div { border-color: #c6d2bf; }
  #seasonOverview .stat-card .stat-trips-link { color: #274a32; border-color: #d5dccd; }
  #seasonOverview .stat-card .shooting-meter { background: #e8eade; }
  #seasonOverview .stat-card[data-shooting-band] > strong,
  #seasonOverview .stat-card[data-shooting-band] .stat-icon { color: var(--shot-accent); }
  #seasonOverview .stat-card:focus-within { border-color: #46643e; }
  #seasonOverview .stat-card :is(.stat-change, .stat-trips-link):focus-visible { outline-color: #46643e; }
}
