.logo-frame img.brand-logo--light,
.logo-frame img.brand-logo--dark{
  position:static;
  width:100%;
  height:100%;
  object-fit:contain;
  transform:none;
}
.logo-frame img.brand-logo--dark{display:none}
html[data-theme="dark"] .logo-frame img.brand-logo--light{display:none}
html[data-theme="dark"] .logo-frame img.brand-logo--dark{display:block}
.auth-form-panel .logo-frame{height:67px;background:transparent}
html[data-theme="dark"] .auth-form-panel .logo-frame,
html[data-theme="dark"] .site-header .logo-frame{background:transparent}
@media(min-width:861px){
  .site-header .header-inner .logo-frame,
  html[data-theme="dark"] .site-header .header-inner .logo-frame{
    width:180px;
    height:48px;
    padding:3px 8px;
    border-radius:0;
    background:transparent;
  }
  .site-header .logo-frame img.brand-logo--light{display:none}
  .site-header .logo-frame img.brand-logo--dark,
  html[data-theme="dark"] .site-header .logo-frame img.brand-logo--dark{display:block}
}
@media(min-width:861px) and (max-width:1200px){
  .site-header .header-inner .logo-frame,
  html[data-theme="dark"] .site-header .header-inner .logo-frame{
    width:154px;
    height:44px;
    padding:3px 6px;
  }
}
@media(min-width:861px) and (max-width:930px){
  .site-header .header-inner .logo-frame,
  html[data-theme="dark"] .site-header .header-inner .logo-frame{
    width:128px;
    height:38px;
    padding:2px 4px;
  }
}

.service-history,
.garage-dialog .service-history{
  padding:clamp(22px,3vw,34px);
}
.service-history-intro .eyebrow{margin-bottom:8px}
.service-history-intro h2{margin:0;line-height:1.15}
.service-history-list{display:grid;gap:12px;margin-top:24px}
.service-history .service-history-entry,
.service-history .service-history-entry:last-child{
  min-width:0;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--soft);
}
.service-history .service-history-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:20px;
  margin:0;
}
.service-history-title{min-width:0}
.service-history .service-history-heading h3{
  margin:0;
  font-size:clamp(1.0625rem,1.8vw,1.25rem);
  line-height:1.3;
  overflow-wrap:anywhere;
}
.service-history-title p{margin-top:5px;color:var(--muted);font-size:.875rem}
.service-history-heading time{
  padding-top:2px;
  color:var(--muted);
  font-size:.875rem;
  line-height:1.4;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.service-history-body{
  display:grid;
  grid-template-columns:minmax(140px,190px) minmax(0,1fr);
  gap:18px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid var(--line);
}
.service-history-mileage,
.service-history-work{min-width:0}
.service-history-mileage>span,
.service-history-work>span{
  display:block;
  margin-bottom:5px;
  color:var(--muted);
  font-size:.75rem;
  font-weight:650;
  letter-spacing:.04em;
}
.service-history-mileage strong{font-size:1rem;font-weight:700;font-variant-numeric:tabular-nums}
.service-history-work p{margin:0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.service-history .service-files{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid var(--line);
}
.service-history-empty{margin-top:20px}
html[data-theme="dark"] .service-history .service-history-entry{background:#252a33}
@media(max-width:680px){
  .service-history,
  .garage-dialog .service-history{padding:20px 18px}
  .service-history-list{gap:10px;margin-top:20px}
  .service-history .service-history-entry,
  .service-history .service-history-entry:last-child{padding:18px}
  .service-history .service-history-heading{grid-template-columns:1fr;gap:8px}
  .service-history-heading time{grid-row:1;font-size:.8125rem}
  .service-history .service-history-heading h3{font-size:1.0625rem}
  .service-history-body{grid-template-columns:1fr;gap:14px;margin-top:16px;padding-top:14px}
}
