/* Tenant skin, after the shared Lefty styles. No landing-page selectors. */
[hidden]{display:none!important}
.template-preview-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px max(20px,calc((100vw - 1440px)/2));background:#e9eddf;color:#344e3e;font:600 12px/1.5 var(--font-body,system-ui);letter-spacing:.035em}
.template-preview-bar a{color:inherit;text-underline-offset:3px;min-height:32px;display:inline-flex;align-items:center}
.customer-template .pilot-accountbar{padding-block:8px}.customer-template .pilot-wordmark{display:none}
.customer-template .pilot-accountbar{justify-content:flex-end}
.customer-template .brand-mark,.customer-template .brand-mark img{width:86px!important;height:86px!important;flex-basis:86px!important;object-fit:contain}
/* Use the shared journal layout for every customer's selected dog. */
.customer-template #top > .hero {
  display: block;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #18291f;
  border-radius: 0 0 24px 24px;
}
.customer-template #top > .hero::before,
.customer-template #top .hero-visual::after { display: none; }
.customer-template #top > .hero > .hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  min-height: clamp(250px, 22vw, 340px);
  max-width: none;
  padding: 0;
}
.customer-template #top .hero .hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48.55%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: none;
  z-index: 0;
}
.customer-template #top .hero-heading {
  grid-column: 1;
  position: relative;
  max-width: none;
  min-width: 0;
  padding: clamp(24px, 3vw, 45px);
  overflow-wrap: anywhere;
}
.customer-template #top > .hero > .hero-aside {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  gap: 12px 20px;
  padding: 18px clamp(18px, 3vw, 40px);
}
.customer-template #top .hero-aside > div { position: static; padding: 0; min-height: 0; }
.customer-template #top .hero-aside .privacy-pill { margin-left: auto; }
.customer-template #heroDistance { display: inline; }
.customer-template #top .template-photo-action { z-index: 1; }
@media (max-width: 600px) {
  .customer-template #top > .hero > .hero-visual { display: flex; flex-direction: column; min-height: 0; }
  .customer-template #top .hero-heading { order: 0; padding: 24px; }
  .customer-template #top .hero .hero-photo { position: relative; inset: auto; order: 1; width: 100%; height: clamp(180px, 53vw, 285px); }
}
.template-photo-action{position:absolute;right:15px;bottom:15px;border:1px solid #ffffff60;border-radius:24px;background:#123429bd;color:#fff;font:600 12px system-ui;padding:10px 14px;backdrop-filter:blur(10px);cursor:pointer}
.customer-template .season-moments figure{background:linear-gradient(140deg,#f0ead9,#dbe6d8)!important;min-height:200px}.customer-template .season-moments figure:before{display:block}
.customer-template .moment-card img{object-fit:cover;object-position:center;width:100%;height:100%}
.template-first-trip{border:1px solid #d8dfd1;background:#f8faf3;border-radius:20px;margin:24px 0;padding:26px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.template-first-trip h2{font-size:28px;margin:5px 0 10px}.template-first-trip p{max-width:610px;line-height:1.6;color:#566451}.template-first-actions{display:flex;gap:8px;flex-wrap:wrap;max-width:340px}.template-first-actions button{min-height:44px}
.customer-template .podium-scene{grid-template-columns:1fr}.customer-template .podium-steps{width:100%}
.customer-template .lefty-companion-image{clip-path:none;aspect-ratio:1;object-fit:contain;animation:none;transition:transform .25s ease}.customer-template .lefty-companion-image.pilot-dog-attentive{transform:translateY(-4px) rotate(-4deg)}
.customer-template .lefty-companion{width:112px}.customer-template .lefty-companion-image{width:98px;height:106px}
.customer-template .pilot-profile-dialog h2,.customer-template .pilot-intro h1{font-family:inherit}.customer-template .pilot-monogram{font-family:inherit}
.customer-template .journey-intro{grid-template-columns:1fr}.customer-template .ux-field-extra{margin-top:10px}
.customer-template :focus-visible{outline:3px solid #b08c42;outline-offset:3px}
@media(max-width:850px){.template-preview-bar{padding:8px 16px;font-size:10px;flex-wrap:wrap;gap:0 12px}.customer-template .pilot-accountbar{padding:8px 16px;align-items:flex-end;flex-direction:row}.template-first-trip{padding:22px;flex-direction:column;align-items:stretch;gap:8px}.template-first-actions{max-width:none}.template-first-actions button{flex:1 1 130px}.customer-template .brand-mark,.customer-template .brand-mark img{width:74px!important;height:74px!important;flex-basis:74px!important}.customer-template .lefty-companion{width:82px}.customer-template .lefty-companion-image{width:76px;height:82px}.customer-template .lefty-companion-button{min-width:0}.customer-template .lefty-nameplate{font-size:10px}.customer-template .hero-story{font-size:14px}.customer-template .season-moments figure{min-height:180px}}
@media(max-width:390px){.customer-template .hero-heading{max-width:100%}.customer-template .hero h1{font-size:30px}.customer-template .privacy-pill small{font-size:10px}.customer-template .brand>span:last-child strong{font-size:15px}.customer-template .brand>span:last-child small{font-size:9px}}
@media(prefers-reduced-motion:reduce){.customer-template .lefty-companion-image{transition:none}.customer-template .lefty-companion-image.pilot-dog-attentive{transform:none}}
/* Keep the live save status visible beside the longer customer brand. */
@media screen and (max-width:680px) {
 .customer-template .topbar { display:grid; grid-template-columns:minmax(0,1fr) minmax(112px,.85fr); gap:10px; }
 .customer-template .topbar .brand { min-width:0; gap:6px; }
 .customer-template .topbar .brand > span:last-child { min-width:0; }
 .customer-template .topbar .brand strong { font-size:clamp(12px,3.8vw,16px); letter-spacing:.08em; }
 .customer-template .topbar .brand small { overflow-wrap:anywhere; }
 .customer-template .topbar > .sync-pill { width:100%; max-width:none; min-width:0; margin:0; }
 .customer-template .topbar .top-actions { grid-column:1/-1; }
}
@media screen and (max-width:380px) {
 .customer-template .topbar .brand-mark,.customer-template .topbar .brand-mark img { width:54px!important; height:54px!important; flex-basis:54px!important; }
}
@media print{body.customer-template>#pilotApp{display:block!important}.customer-template #pilotApp>*:not(.report-dialog){display:none!important}.customer-template .report-dialog{display:block!important}}

/* Customer visual polish, 2026-10-13. Presentation only; keep the shared layout,
   status colours, photo framing, touch targets and private Lefty skin intact. */
@media screen {
  .customer-template .stats-grid .stat-card {
    border-color: #b4c2a8;
    background-image: none;
    box-shadow: none;
  }
  .customer-template .stats-grid .stat-card:not(.featured):not([data-shooting-band]) {
    background-color: #e4ebdc;
  }
  .customer-template .stats-grid .stat-card > p {
    color: #536151;
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.45;
  }
  .customer-template .stats-grid .stat-card > strong {
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }
  .customer-template .stats-grid .stat-card strong small {
    font-weight: 500;
    letter-spacing: 0;
  }
  .customer-template .stats-grid .stat-foot {
    color: #586452;
    font-size: .8125rem;
    line-height: 1.55;
  }
  .customer-template .stats-grid .stat-card.featured {
    color: #fffef9;
    background-color: #203b2f;
    border-color: #203b2f;
  }
  .customer-template .stats-grid .featured > p,
  .customer-template .stats-grid .featured .stat-icon,
  .customer-template .stats-grid .featured strong small,
  .customer-template .stats-grid .featured .stat-foot,
  .customer-template .stats-grid .featured .stat-change,
  .customer-template .stats-grid .featured .stat-change::after,
  .customer-template .stats-grid .featured .stat-comparison-values dt span,
  .customer-template .stats-grid .featured .stat-comparison-basis,
  .customer-template .stats-grid .featured .stat-comparison-note {
    color: #d6e0cc;
  }
  .customer-template .stats-grid .featured .stat-change.up { color: #b8dfad; }
  .customer-template .stats-grid .featured .stat-change.down { color: #ffc5b8; }
  .customer-template .stats-grid .featured .stat-comparison-details {
    color: #fffef9;
    border-color: #6a8370;
  }
  .customer-template .stats-grid .featured .stat-comparison-values > div { border-color: #93ab89; }
  .customer-template .stats-grid .featured .stat-change:focus-visible { outline-color: #e4ca8c; }
  .customer-template .panel,
  .customer-template .season-latest-trip,
  .customer-template .hunt-card {
    border-color: #dedfd5;
    box-shadow: none;
  }
  .customer-template .panel-head h3,
  .customer-template .compact-summary-title { line-height: 1.3; }
  .customer-template .compact-summary-description,
  .customer-template .season-latest-copy > p,
  .customer-template .hunt-card-note {
    color: #586452;
    font-size: .875rem;
    line-height: 1.6;
  }
  .customer-template .hunt-card-stats {
    font-size: .875rem;
    font-variant-numeric: lining-nums tabular-nums;
  }
  .customer-template .hunt-card-area,
  .customer-template .hunt-card-stats small { font-size: .8125rem; }
}


/* Mobile readability only. Existing first-trip guide, order and controls stay in place. */
@media screen and (max-width:700px){
 .customer-template .panel-head>div>p:not(.kicker),.customer-template .panel-description,.customer-template .compact-summary-description,.customer-template .season-latest-copy>p,.customer-template .hunt-card-note{font-size:14px;line-height:1.6;color:#526249}
 .customer-template .stats-grid .stat-foot{font-size:14px;line-height:1.5;white-space:normal;overflow:visible;text-overflow:clip}
 .customer-template .stats-grid .stat-card:not(.featured) .stat-foot{color:#526249}
 .customer-template .hunt-card-area,.customer-template .hunt-card-stats small,.customer-template .comparison-metric span,.customer-template .stat-comparison-period,.customer-template .ux-caption,.customer-template .ux-basis{font-size:14px;line-height:1.55}
 .customer-template .field-flow-events span,.customer-template .field-flow-record small,.customer-template .journey-note,.customer-template .field-offline-note,.customer-template .field-sync-status,.customer-template .contact-height-source{font-size:14px;line-height:1.5}
 .customer-template .field-mode-body label>span:first-child,.customer-template .field-species-fieldset legend,.customer-template .field-photo-field small,.customer-template .field-new-trip p,.customer-template .field-gps-card small{font-size:14px;line-height:1.5}
 .customer-template .field-event-switch button small{font-size:12px;line-height:1.4}
}

/* Private family avatars are never part of the customer template. */
.customer-podium-dog{display:none}
@media screen and (min-width:1024px){
 .customer-template #birdPodium .customer-podium-dog{display:grid;justify-items:center;justify-self:center;gap:6px;margin:8px 0 0;color:#63725b;font-size:.75rem}
 .customer-template #birdPodium .customer-podium-dog img{display:block;width:164px;height:164px;max-width:100%;object-fit:contain}
 .customer-template #leftyCompanion .lefty-companion-image{width:100%;height:auto}
}

/* Desktop card surfaces come from the shared Lefty stylesheet. */
@media screen and (min-width: 1024px) {
  html body.customer-template { background-color: #e4e6de; }
}

/* Mobile statistics: approved new card standard, 2026-10-15. */
@media screen and (max-width: 700px) {
  html body.customer-template .stats-grid { gap: 12px; }
  html body.customer-template .stats-grid > .stat-card {
    padding: 17px 15px;
    min-height: 184px;
    border-radius: 18px;
  }
  html body.customer-template .stats-grid > .stat-card:not(.featured) {
    --muted: #52614e;
    --line: #c7d0bf;
    border-color: #bbc7b3;
    box-shadow: inset 0 3px 0 #91a882, 0 4px 14px #203a2c08;
  }
  html body.customer-template .stats-grid > .stat-card:not(.featured):not([data-shooting-band]) {
    background: #e4ebdc;
    color: #203a2c;
  }
  html body.customer-template .stats-grid > .stat-card > p {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 8px;
  }
  html body.customer-template .stats-grid > .stat-card:not(.featured) > p { color: #425341; }
  html body.customer-template .stats-grid > .stat-card > strong {
    font-size: clamp(27px, 7.5vw, 32px);
    line-height: 1.12;
    margin: 0 0 12px;
    letter-spacing: -.035em;
    font-variant-numeric: lining-nums tabular-nums;
  }
  html body.customer-template .stats-grid > .stat-card #totalTime {
    font-size: clamp(23px, 6.2vw, 28px);
  }
  html body.customer-template .stats-grid > .stat-card strong small { font-size: 14px; }
  html body.customer-template .stats-grid > .stat-card .stat-foot {
    font-size: 14px;
    line-height: 1.5;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
  }
  html body.customer-template .stats-grid > .stat-card:not(.featured) .stat-foot,
  html body.customer-template .stats-grid > .stat-card:not(.featured) strong small { color: #52614e; }
  html body.customer-template .stats-grid > .stat-card[data-shooting-band] {
    box-shadow: inset 0 3px 0 var(--shot-accent), 0 4px 14px #203a2c08;
  }
}
