/* MakeSpark: the selected standalone mark, orange actions and neutral black surfaces.
   Loaded after seasonal styles so the identity stays consistent during campaigns. */
:root, html[data-holiday] {
  --studio-bg:#090909; --studio-surface:#151515; --studio-raised:#202020;
  --studio-line:#343434; --studio-text:#f5f5f5; --studio-muted:#b8b8b8;
  --studio-accent:#ff5a00; --studio-accent-hover:#ff792f;
  --bg:#090909; --bg2:#101010; --panel:#151515;
  --brand:#ff5a00; --accent:#ff5a00; --blue:#ff5a00; --blue2:#ff792f; --cyan:#ff9b66;
  --text:#f5f5f5; --white:#fff; --muted:#b8b8b8; --line:#343434;
  --holiday-gold:#ff9b66; color-scheme:dark;
}
html body, html[data-holiday] body {
  background:#090909; background-image:none; color:var(--studio-text);
  accent-color:var(--studio-accent);
}
body.landing-page, html[data-holiday] body.landing-page {
  --home-ivory:#090909; --home-paper:#151515; --home-cream:#151515;
  --home-sand:#202020; --home-ink:#f5f5f5; --home-ink-soft:#b8b8b8;
  --home-muted:#b8b8b8; --home-line:#343434; --home-olive:#ff5a00;
  --home-terracotta:#ff5a00; --home-terracotta-dark:#ff5a00; --home-terracotta-light:#ff9b66;
}
body[data-page] { --bg:#090909; --panel:#151515; --text:#f5f5f5; --line:#343434; --muted:#b8b8b8; --brand:#ff5a00; --accent:#ff5a00; }
html body :is(.sidebar,.app-header,.topbar,.topbar.scrolled,.product-public-header,.info-header) {
  background:#101010; border-color:#343434;
}
html body :is(.panel,.shop-panel,.guest-panel,.shop-item,.product-card,.catalog-card,.project-card,
  .settings-card,.info-card,.quote-card,.verify-card,.popover,.plan-card,.analytics-panel,
  .analytics-hero,.analytics-wallet,.project-summary,.product-public-copy,.choice-card,
  .material-card,.home-product,.price-breakdown,.shell,.shell .aside,.shell .form,
  .consent-page .card,.order-page .received,dialog) {
  background:#151515; border-color:#343434; color:#f5f5f5;
}
html body :is(.home-process,.home-price,.home-quote,.home-hero-art,.info-art,.info-nav) { background:#101010; border-color:#343434; }
html body :is(.primary,.submit,.guest-button,.product-public-button,.info-button,.btn-primary,
  .action-link,.shop-filters button,.shop-item-foot a,.locker-search button) {
  background:#ff5a00; border-color:#ff5a00; color:#090909; background-image:none; font-weight:700;
}
html body :is(.primary,.submit,.guest-button,.product-public-button,.info-button,.btn-primary,
  .action-link,.shop-filters button,.shop-item-foot a,.locker-search button):hover {
  background:#ff792f; border-color:#ff792f; color:#090909;
}
html body :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea) {
  background-color:#101010; border-color:#454545; color:#f5f5f5;
}
html body :is(input,select,textarea):focus { border-color:#ff5a00; }
html body :is(button,a,input,select,textarea,summary):focus-visible { outline:2px solid #ff9b66; outline-offset:4px; }
html body :is(.eyebrow,.home-kicker,.info-kicker,.choice-link,.process-num,.guest-back,
  .guest-head a,.guest-terms a,.text-link,.legal-link,.info-text-link,.product-public-price) { color:#ff9b66; }
html body :is(.guest-help,.guest-intro,.shop-public .lead,.shop-item p,.product-public-note,
  .info-lead,.info-card p,.info-prose p,.shell .aside p) { color:#b8b8b8; }
html body :is(.guest-terms,.consent-choice,.consent-page .option) { background:#1b1b1b; border-color:#555; color:#f5f5f5; }
html body .nav-item.active { background:#ff5a001a; border-color:#ff5a0080; color:#fff; }
html body .nav-item.active .solar-icon { color:#ff792f; }
html body .nav-item:hover { background:#242424; color:#fff; }
html body .avatar { border-color:#ff5a00; background:#242424; color:#fff; box-shadow:none; }
html body ::selection { background:#ff792f; color:#090909; }

/* Preserve the selected symbol's aspect ratio: old wordmarks were much wider. */
body img[src*="/makespark-symbol."] { object-fit:contain; filter:none; }
html body :is(.brand,.wordmark,.guest-head,.product-public-header,.info-header,
  .country-header,.lost-header,.shop-public header,.info-footer,.footer-brand,.received) img[src*="/makespark-symbol."] {
  width:76px; height:auto; max-width:100%; aspect-ratio:3/2; object-fit:contain;
}
html body :is(.shell .logo,.verify-logo,.consent-page .logo) { width:100px; height:auto; aspect-ratio:3/2; object-fit:contain; }
html body.landing-page .home-hero-symbol { width:72%; height:auto; max-height:350px; filter:none; opacity:1; }
html body .home-hero-art::after { display:none; }
html body .footer-brand img[src*="/makespark-symbol."] { width:92px; }
body.landing-page .topbar img.brand-logo[src*="/makespark-symbol."] { width:76px; height:auto; aspect-ratio:3/2; }
body.landing-page .footer-brand img[src*="/makespark-symbol."] { width:92px; height:auto; }
html body .wordmark { display:flex; align-items:center; }
html body.sidebar-compact .brand::after { content:none; display:none; }
html body.sidebar-compact .wordmark img[src*="/makespark-symbol."] { display:block; width:44px; height:auto; }
html body[data-page] .sidebar .wordmark { display:flex; align-items:center; justify-content:center; gap:0; min-width:0; width:100%; }
/* The complete lettering belongs to the image, rather than a separate HTML label. */
html body[data-page] .sidebar .wordmark img.brand-logo-full {
  display:block; width:100%; max-width:218px; height:48px; max-height:none;
  object-fit:cover; object-position:center; mix-blend-mode:screen; flex:0 1 auto;
}
html body[data-page] .sidebar .wordmark img.brand-logo-symbol { display:none; }
/* Use vector artwork and live lettering instead of cropping a raster wordmark. */
html body[data-page] .sidebar .wordmark .brand-lockup {
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; max-width:218px; line-height:1;
}
html body[data-page] .sidebar .wordmark .brand-lockup .brand-mark {
  display:block; width:44px; height:auto; max-height:none; flex:0 0 44px;
  aspect-ratio:3/2; object-fit:contain; mix-blend-mode:normal;
}
html body[data-page] .sidebar .wordmark .brand-name {
  font-family:Manrope,system-ui,sans-serif; font-size:24px; font-weight:800;
  letter-spacing:-1.1px; color:#f5f5f5; white-space:nowrap;
}
@media(min-width:701px) {
  html body[data-page].sidebar-compact .sidebar .wordmark { justify-content:center; gap:0; }
  html body[data-page].sidebar-compact .sidebar .wordmark .brand-lockup { display:none; }
  html body[data-page].sidebar-compact .sidebar .wordmark img.brand-logo-full { display:none; }
  html body[data-page].sidebar-compact .sidebar .wordmark img.brand-logo-symbol { display:block; width:44px; height:auto; flex-basis:44px; }
}
html body :is(.product-public-image,.product-visual,.home-product-photo,.preview-placeholder) img[src*="/makespark-symbol."] {
  object-fit:contain; padding:24px; transform:none; background:#151515;
}

/* Seasonal campaigns retain their content and discounts, with MakeSpark colors. */
html body .holiday-ribbon { background:#171717; color:#fff; border-color:#ff5a0066; }
html body :is(.holiday-ribbon-symbol,.holiday-sale-label) { color:#ff9b66; }
html body .holiday-sale-label { background:#ff5a001a; border-color:#ff5a0077; }
html body .holiday-garland { opacity:.25; }
html[data-holiday] body.landing-page :is(.announcement-bar,.topbar,.topbar.scrolled),
html[data-holiday] body :is(.sidebar,.app-header,.product-public-header) {
  background:#101010; border-color:#343434;
}
html[data-holiday] body :is(.primary,.btn-primary,.product-public-button,.guest-button,.info-button) {
  background:#ff5a00; border-color:#ff5a00; color:#090909;
}
html[data-holiday] body :is(.primary,.btn-primary,.product-public-button,.guest-button,.info-button):hover {
  background:#ff792f; border-color:#ff792f; color:#090909;
}
html[data-holiday] body.landing-page :is(.home-process,.home-price,.home-quote,.home-hero-art) {
  background:#101010; border-color:#343434;
}
html[data-holiday] body :is(.product-card,.shop-item,.home-product):nth-child(n),
html[data-holiday] body :is(.guest-panel,.product-public-copy,.analytics-hero,.analytics-wallet) {
  background:#151515; border-color:#343434;
}
html[data-holiday] body .nav-item.active { background:#ff5a001a; border-color:#ff5a0080; color:#fff; }
html[data-holiday] body .home-hero-art::after { display:none; }
html[data-holiday] body .home-hero-art .home-hero-symbol { opacity:1; filter:none; }
html body .analytics-page .holiday-panel, html body .holiday-preview {
  background:#151515; border-color:#454545;
}
html body .holiday-form :is(select,input[type=number],input[type=datetime-local]) {
  background:#101010!important; border-color:#454545!important; color:#f5f5f5!important;
}
html body .holiday-enable input { accent-color:#ff5a00; }
@media(max-width:760px) {
  body.landing-page .topbar img.brand-logo[src*="/makespark-symbol."] { width:62px; }
  html body :is(.brand,.wordmark,.guest-head,.product-public-header,.info-header,.shop-public header) img[src*="/makespark-symbol."] { width:62px; }
  html body.landing-page .home-hero-symbol { width:72%; max-height:245px; }
  html body .guest-terms { font-size:1rem; }
}
