/* Cardinal — developer portfolio layout (derived from prior retail template) */
:root {
  --font: "Barlow", system-ui, -apple-system, sans-serif;
  --color-bg: #ffffff;
  --color-text: #1c1c1c;
  --color-muted: #5c5c5c;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-dark: #0f0f0f;
  --header-h: 72px;
  --product-subnav-h: 3.75rem;
  --container: min(1200px, 100% - 2rem);
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.cardinal-body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 10000;
}

.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.narrow {
  max-width: 640px;
  margin-inline: auto;
}

.muted {
  color: var(--color-muted);
}

.small {
  font-size: 0.875rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "burger mid actions";
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.5rem 0;
}

.header__mid {
  grid-area: mid;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  min-width: 0;
}

.header__logo img {
  max-height: 40px;
  width: auto;
}

.header__logo-text {
  display: inline-block;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-text);
  padding-bottom: 6px;
  border-bottom: 3px solid var(--color-accent);
  white-space: nowrap;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

.header__nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: capitalize;
  text-decoration: none;
}

.header__nav a:hover {
  color: var(--color-accent);
}

.header__actions {
  grid-area: actions;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-switch__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  line-height: 1.2;
}

.lang-switch__btn:hover {
  color: var(--color-text);
}

.lang-switch__btn.is-active {
  background: var(--color-accent);
  color: #fff;
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.header__cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text) !important;
  text-decoration: none !important;
  line-height: 0;
}

.header__cart:hover .header__cart-icon {
  opacity: 0.85;
}

.header__cart-icon-wrap {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.header__cart-icon {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Count sits on top of the icon, red circle (pill if 2+ digits) */
.header__cart-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  transform: translate(42%, -42%);
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  box-sizing: border-box;
  background: #e53935;
  color: #fff !important;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.header__cta {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  border-radius: 2px;
}

.header__cta:hover {
  background: var(--color-accent-hover);
}

/* Mobile nav */
.nav-toggle {
  grid-area: burger;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  grid-area: burger;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 920;
}

.nav-burger span {
  display: block;
  height: 3px;
  width: 22px;
  background: var(--color-text);
  margin-inline: auto;
}

@media (max-width: 991px) {
  .nav-burger {
    display: flex;
  }

  /* One left-aligned row - burger, dashboard icon, logo - with the same gap between each, and
     the cart and account name pushed to the right edge. .header__mid stops being a box so its
     children (tools, logo, the pop-out nav) join the row directly; the nav is fixed-position
     when open, so it never takes part in the row. The logo may shrink so nothing overflows. */
  .header__row {
    display: flex;
    gap: 0.75rem;
  }

  .nav-burger {
    width: 36px;
  }

  .header__mid {
    display: contents;
  }

  .header__tools {
    flex: 0 0 auto;
  }

  .header__logo {
    flex: 0 1 auto;
    min-width: 0;
  }

  .header__logo img {
    max-width: 100%;
  }

  .header__logo-text {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header__actions {
    margin-left: auto;
    flex: 0 0 auto;
    gap: 0.6rem;
  }

  .header__nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: calc(var(--header-h) + 32px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 2rem;
    background: #fff;
    box-shadow: var(--shadow);
    gap: 0;
    z-index: 910;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow: auto;
  }

  .header__nav a {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-toggle:checked ~ .header__mid .header__nav {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 16rem;
  height: clamp(16rem, 42vw, 28rem);
  max-height: 28rem;
  display: grid;
  align-items: end;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.75s ease;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__media img,
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0 1rem;
  pointer-events: none;
}

.hero__dot {
  pointer-events: auto;
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s, transform 0.2s;
}

.hero__dot:hover,
.hero__dot:focus-visible {
  transform: scale(1.15);
  outline: none;
}

.hero__dot:focus-visible {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.hero__dot.is-active {
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }

  .hero__slide:not(.is-active) {
    opacity: 0;
  }

  .hero__dots {
    display: none;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.25) 45%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 1rem 2.25rem;
  text-align: center;
}

.hero__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.2vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  max-width: 22ch;
  margin-inline: auto;
  color: var(--color-accent);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
}

.btn--primary {
  background: #fff;
  color: var(--color-dark) !important;
}

.btn--primary:hover {
  background: #f0f0f0;
}

.btn--outline {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-accent);
  color: #fff !important;
}

/* Home: two-column promo row (sign + offer), centered like sketch */
.home-scatter {
  padding: 2.5rem 1rem 3.5rem;
  background: linear-gradient(165deg, #eef2f7 0%, #e2e8f0 42%, #f8fafc 100%);
}

.home-scatter__wrap {
  max-width: min(72rem, 100%);
  margin-inline: auto;
  container-type: inline-size;
  container-name: home-scatter;
}

.home-scatter__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: center;
}

.home-scatter__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(48vh, 28rem);
  padding: 0.75rem;
}

.home-scatter__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  filter: drop-shadow(0 16px 36px rgba(15, 23, 42, 0.2));
}

.home-scatter__img {
  display: block;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

/* Horizontal banner — centered in left column, as wide as the half allows */
.home-scatter__img--sign {
  width: 100%;
  max-width: min(100%, 40rem);
  height: auto;
}

/* Vertical offer — cap height to match sign (720×400) at half container minus gap */
.home-scatter__img--offer {
  width: auto;
  max-width: min(100%, 24rem);
  max-height: 22rem;
  max-height: calc(
    400 / 720 *
      min(40rem, calc((100cqi - clamp(1.25rem, 4vw, 3rem)) / 2))
  );
  height: auto;
}

@media (max-width: 719px) {
  .home-scatter__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home-scatter__cell {
    min-height: auto;
  }

  .home-scatter__img--sign {
    max-width: min(100%, 28rem);
    max-height: none;
  }

  .home-scatter__img--offer {
    max-width: min(88vw, 20rem);
    max-height: calc(400 / 720 * min(28rem, 100cqi - 2rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-scatter__figure {
    filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.15));
  }
}

/* Categories */
.section {
  padding: 3.5rem 1rem;
}

.section--muted {
  background: #f6f6f6;
}

.section--about {
  background: #e3f9fc;
}

.section--faq {
  background: #f8fafc;
  padding-bottom: 4rem;
}

.faq-section__lede {
  margin: 0.75rem auto 0;
  max-width: 36rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-item__question {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 1.125rem;
  list-style: none;
  line-height: 1.45;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--color-accent);
}

.faq-item[open] .faq-item__question::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 1.125rem 1.125rem;
  color: var(--color-muted);
  line-height: 1.65;
  font-size: 0.9875rem;
}

.section--contact {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  padding-bottom: 4rem;
}

.cardinal-body main > #about,
.cardinal-body main > #contact {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3rem;
  }
}

.contact-layout__lede {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.contact-layout__highlights {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.contact-layout__highlights li {
  display: grid;
  gap: 0.25rem;
}

.contact-layout__highlight-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-layout__highlights a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-layout__highlights a:hover {
  text-decoration: underline;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  padding: 1.75rem 1.5rem 2rem;
}

@media (min-width: 640px) {
  .contact-card {
    padding: 2rem 2rem 2.25rem;
  }
}

.contact-card__success {
  margin-bottom: 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: 8px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.contact-card__success p {
  margin: 0.5rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.contact-card__success a {
  color: #047857;
  font-weight: 600;
}

.contact-spam-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.contact-spam-modal.is-open {
  display: flex;
}

.contact-spam-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}

.contact-spam-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  padding: 1.75rem 1.5rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
  text-align: center;
}

.contact-spam-modal__message {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #0f172a;
  font-weight: 600;
}

.contact-spam-modal__dismiss {
  min-width: 6rem;
}

.contact-form {
  display: grid;
  gap: 1.125rem;
}

.contact-form__row {
  display: grid;
  gap: 1.125rem;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__field {
  display: grid;
  gap: 0.375rem;
}

.contact-form__field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-field__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-field__req {
  color: #dc2626;
}

.contact-field__input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.contact-field__textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-field__error,
.contact-form__errors p {
  margin: 0;
  font-size: 0.8125rem;
  color: #dc2626;
}

.contact-form__errors {
  padding: 0.875rem 1rem;
  border-radius: 8px;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.contact-form__hint {
  margin: -0.25rem 0 0;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.contact-form__actions {
  margin-top: 0.25rem;
}

.contact-form__submit {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 0.9375rem;
}

@media (min-width: 480px) {
  .contact-form__submit {
    width: auto;
    min-width: 12rem;
  }
}

.about-post {
  max-width: 42rem;
  margin-inline: auto;
  padding: 1.75rem 1.5rem 2rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.07);
}

.about-post__figure {
  margin: 0 auto 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: auto;
  max-width: 160px;
}

.about-post__img {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e3f9fc;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.about-post__bizcard {
  width: 100%;
  max-width: 7.25rem;
  transform: rotate(-3deg);
  filter: drop-shadow(0 6px 14px rgba(15, 23, 42, 0.15));
}

.about-post__bizcard-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .about-post__bizcard {
    transform: none;
  }
}

.about-post__byline {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8e8e8;
}

.about-post__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: capitalize;
}

.about-post__role {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  font-weight: 600;
}

.about-post__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

.about-post__body p {
  margin: 0 0 1rem;
}

.about-post__body p:last-child {
  margin-bottom: 0;
}

@media (min-width: 720px) {
  .about-post {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 2rem;
    align-items: start;
    padding: 2rem 2.25rem 2.25rem;
  }

  .about-post__figure {
    margin: 0;
    max-width: 160px;
    align-items: center;
  }

  .about-post__img {
    width: 160px;
    height: 160px;
  }

  .about-post__bizcard {
    max-width: 6.75rem;
  }

  .about-post__main {
    min-width: 0;
  }

  .about-post__byline {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}

.section__head {
  margin-bottom: 2rem;
}

.section__head h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.section__head--center {
  text-align: center;
}

/* Home — auto-scrolling product strip (duplicate track for seamless loop) */
.our-products {
  container-type: inline-size;
  container-name: our-products;
  width: 100%;
}

.our-products__scroller {
  overflow-x: hidden;
  overflow-y: hidden;
}

.our-products__marquee-inner {
  --our-products-marquee-gap: 0.75rem;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--our-products-marquee-gap);
  width: max-content;
  animation: our-products-marquee 90s linear infinite;
}

.our-products__scroller:hover .our-products__marquee-inner {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .our-products__marquee-inner {
    animation: none;
  }

  .our-products__track--clone {
    display: none;
  }

  .our-products__scroller {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .our-products__marquee-inner {
    width: auto;
    flex-wrap: nowrap;
  }
}

@keyframes our-products-marquee {
  from {
    transform: translateX(0);
  }

  to {
    /* Two equal tracks + one flex gap: move exactly one track + gap */
    transform: translateX(calc(-50% - var(--our-products-marquee-gap) / 2));
  }
}

.our-products__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.75rem;
  min-height: 0;
  padding-bottom: 0.35rem;
}

.our-products__item {
  flex: 0 0 auto;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.our-products--skills .our-products__item {
  cursor: default;
}

.our-products--skills .our-products__item--static {
  pointer-events: none;
}

.our-products--skills .our-products__item--static:hover,
.our-products--skills .our-products__item--static:focus-visible {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: none;
}

.our-products__item--clone {
  pointer-events: none;
  cursor: default;
  user-select: none;
}

.our-products__item:not(.our-products__item--clone):hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.our-products__item:not(.our-products__item--clone):focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.our-products__thumb {
  display: block;
  aspect-ratio: 1;
  width: 100%;
  background: #f0f0f0;
  overflow: hidden;
}

.our-products__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Skills strip — brand SVGs (Simple Icons), padded tile + label */
.our-products--skills .our-products__item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
}

.our-products--skills .our-products__thumb {
  background: #fafafa;
  flex: 1 1 auto;
  min-height: 0;
}

.our-products--skills .our-products__thumb img {
  object-fit: contain;
  padding: 16%;
  box-sizing: border-box;
}

.our-products__caption {
  display: block;
  flex: 0 0 auto;
  padding: 0.4rem 0.35rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text);
  line-height: 1.2;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Tile width: more tiles per row = smaller strip (was 3 / 5; tighter layout) */
.our-products__item {
  width: calc((100vw - 4rem - 2.25rem) / 4);
}

@media (min-width: 48rem) {
  .our-products__item {
    width: calc((min(1200px, 100vw - 2rem) - 4.5rem) / 7);
  }
}

@container our-products (max-width: 47.999rem) {
  .our-products__item {
    width: calc((100cqw - 2.25rem) / 4);
  }
}

@container our-products (min-width: 48rem) {
  .our-products__item {
    width: calc((100cqw - 4.5rem) / 7);
  }
}

/* Reviews */
.section--reviews {
  background: #ffffff;
}

/* Home: alternate section washes below hero */
.cardinal-body main > section#our-products.section {
  background: #f7f7f7;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.cardinal-body main > section#our-products.section .section__head {
  margin-bottom: 1rem;
}

.reviews__meta {
  margin: 0;
  font-size: 1rem;
}

.review-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
}

.stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.review-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.review-card__body {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.review-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
}

.review-card__name {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #ccc;
  margin-top: 0;
}

.site-footer a {
  color: #e0e0e0;
}

.footer__cta-strip {
  background: var(--color-accent);
  color: #fff;
  padding: 1.5rem 1rem;
}

.footer__cta-strip a,
.footer__cta-strip .footer__placeholder {
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none !important;
}

.footer__cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__phones .muted {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr repeat(3, 1fr);
  }
}

.footer__logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 1rem;
}

.footer__logo-text {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
  color: #f8fafc;
}

.footer__heading {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.4rem;
}

.footer__links a {
  text-decoration: none;
  font-size: 0.9375rem;
}

.footer__links a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #2a2a2a;
}

.footer__legal {
  padding: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #888;
}

.footer__legal p {
  margin: 0;
}

/* ----- Product page (reference layout: Shopify product template) ----- */
.product-page {
  padding: 1rem 0 4rem;
}

.product-page__inner {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.breadcrumb__sep {
  margin: 0 0.35rem;
  color: #aaa;
}

.breadcrumb__current {
  color: var(--color-text);
}

/* Wraps masthead + section bands so sticky subnav shares one tall parent.
 * Do NOT use width:100vw on children here — it forces this grid to min-width 100vw and
 * kills centering (content sticks to the viewport edges). */
.product-sticky-scope {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 1.5rem;
  width: var(--container);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
}

.product-sticky-scope .breadcrumb {
  margin-bottom: 0;
}

.product-page__bc-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.product-page__add-product {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff !important;
  text-decoration: none !important;
  background: var(--color-accent);
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.12s ease;
}

.product-page__add-product:hover {
  background: var(--color-accent-hover);
  transform: scale(1.04);
}

/* Bands span the content column; bleed only across sticky-scope padding (not 100vw). */
.product-sticky-scope > .product-section-band {
  grid-column: 1 / -1;
  width: calc(100% + 2 * 1rem);
  max-width: none;
  margin-left: -1rem;
  margin-right: -1rem;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .product-sticky-scope {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 1fr);
    column-gap: 2.5rem;
    row-gap: 1.25rem;
    align-items: start;
  }

  .product-sticky-scope__bc {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .product-sticky-scope__gallery {
    grid-column: 1;
    grid-row: 2;
  }

  .product-sticky-scope__buy {
    grid-column: 2;
    grid-row: 2;
  }

  .product-subnav {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* Sticky jump bar — stays under site header while scrolling the whole product page */
.product-subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 850;
  margin: 0;
  padding: 0.5rem 0.65rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.product-subnav__track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.product-subnav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  min-height: 2.75rem;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  text-align: center;
  color: var(--color-text);
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  border: 1px solid #c8c8c8;
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 1px 2px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.product-subnav__btn:hover {
  background: linear-gradient(180deg, #fff 0%, #f4f4f4 100%);
  border-color: #b0b0b0;
  color: var(--color-accent);
}

.product-subnav__btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.product-subnav__btn:active {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08) inset;
}

/* Mobile / narrow: one compact row; break out of .product-sticky-scope width + padding (full viewport bar) */
@media (max-width: 991.98px) {
  :root {
    --product-subnav-h: 2.6rem;
  }

  .product-subnav {
    /* Do not use transform here — it breaks position:sticky. Margins + 100vw align bar to screen edges. */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0.28rem 0.35rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-sizing: border-box;
  }

  .product-subnav__track {
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0.22rem;
    max-width: 100%;
    min-width: 0;
  }

  .product-subnav__btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.3rem 0.2rem;
    min-height: 2.2rem;
    font-size: clamp(0.5625rem, 2.65vw, 0.6875rem);
    letter-spacing: 0.02em;
    line-height: 1.12;
    border-radius: 4px;
  }
}

/* Anchor targets clear sticky header + subnav */
.product-page #description,
.product-page #specifications,
.product-page #documentation,
.product-page #product-reviews {
  scroll-margin-top: calc(var(--header-h) + var(--product-subnav-h) + 0.5rem);
}

.product-documentation__intro {
  margin: 0 0 1rem;
  max-width: 52rem;
}

.product-documentation__subhead {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.product-documentation__list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

.product-documentation__list li {
  margin-bottom: 0.35rem;
}

.product-documentation__pdf {
  font-weight: 600;
  margin-right: 0.35rem;
}

.product-documentation__image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem 1.25rem;
  margin-top: 0.5rem;
}

.product-documentation__figure {
  margin: 0;
}

.product-documentation__image-link {
  display: block;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fafafa;
}

.product-documentation__image-link img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.product-documentation__figure figcaption {
  margin-top: 0.35rem;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  margin-bottom: 0.75rem;
  width: 100%;
  min-width: 0;
}

/* Fixed viewport for main image — no layout jump when swapping assets */
.product-gallery__frame {
  width: 100%;
  height: min(68vh, 640px);
  min-height: 260px;
  border: 2px solid #8a8a8a;
  border-radius: 8px;
  background: #e8e8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2vw, 16px);
  box-sizing: border-box;
}

.product-gallery__frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

/*
 * Thumbnails: always small fixed px (never % of row — that blew up when the flex row
 * sized to image intrinsics). Main image stays large above; strip scrolls horizontally.
 */
.product-gallery__thumbs {
  --thumb-size: 56px;
  --thumb-gap: 0.45rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--thumb-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 2px 0 8px;
  box-sizing: border-box;
}

.product-gallery__thumbs::-webkit-scrollbar {
  height: 6px;
}

.product-gallery__thumbs::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.product-gallery__thumb {
  padding: 0;
  border: 2px solid #e5e5e5;
  border-radius: 4px;
  background: #e8e8e8;
  cursor: pointer;
  overflow: hidden;
  flex: 0 0 var(--thumb-size);
  width: var(--thumb-size);
  height: var(--thumb-size);
  min-width: var(--thumb-size);
  min-height: var(--thumb-size);
  max-width: var(--thumb-size);
  max-height: var(--thumb-size);
  box-sizing: border-box;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}

@media (min-width: 768px) {
  .product-gallery__thumbs {
    --thumb-size: 64px;
    --thumb-gap: 0.5rem;
  }
}

.product-gallery__thumb:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.product-gallery__thumb:focus:not(:focus-visible) {
  outline: none;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--color-accent);
}

.product-buybox__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  text-transform: capitalize;
}

.product-buybox__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.product-buybox__stars {
  color: #f5a623;
  letter-spacing: 0.05em;
}

.product-buybox__reviews-link {
  font-size: 0.9375rem;
  font-weight: 600;
}

.product-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.product-price-row__compare {
  font-size: 1.1rem;
  color: #9a9a9a;
}

.product-price-row__sale {
  font-size: 1.75rem;
  font-weight: 800;
  color: #db0000;
}

.product-price-row__badge {
  background: #db0000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.product-buybox__lead {
  margin: 0 0 0.5rem;
  line-height: 1.55;
}

.product-form-row {
  margin: 1.25rem 0 0.5rem;
}

.product-qty {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-qty__input {
  max-width: 5rem;
  padding: 0.5rem 0.65rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.btn--cart {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: #2d2d2d;
  color: #fff !important;
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer !important;
}

.btn--cart:hover,
.btn--cart:focus-visible,
.btn--cart:active {
  background: #1a1a1a;
  cursor: pointer !important;
}

.product-add-form__hint {
  margin: 0.5rem 0 0;
}

.product-notice {
  margin: 1.5rem 0;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 0;
  background: #fafafa;
}

.product-notice summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  padding: 1rem 1.25rem;
  min-height: 3rem;
  line-height: 1.25;
  list-style: none;
}

/* Collapse hint: ▲ when closed (north), ▼ when open */
.product-notice summary::after {
  content: "";
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-left: 0.35em solid transparent;
  border-right: 0.35em solid transparent;
  border-bottom: 0.5em solid var(--color-text);
  transition: transform 0.2s ease;
}

.product-notice[open] summary::after {
  transform: rotate(180deg);
}

.product-notice summary::-webkit-details-marker {
  display: none;
}

.product-notice__body {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  border-top: 1px solid #e0e0e0;
}

.product-notice__subhead {
  margin: 1rem 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

.product-notice__subhead:first-child {
  margin-top: 0;
}

.product-notice__list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.product-notice__list li {
  margin-bottom: 0.35rem;
}

.product-notice__returns {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Full-width stripes: subtle off-white vs white while scrolling */
.product-section-band {
  width: 100%;
  padding: 2.5rem 0;
}

.product-section-band:first-of-type {
  margin-top: 1.5rem;
}

.product-section-band--tone-a {
  background: #f7f7f7;
}

.product-section-band--tone-b {
  background: #ffffff;
}

.product-main-sections {
  max-width: 900px;
}

.product-section {
  padding: 0;
  margin: 0;
  border-top: none;
}

.product-section__title {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-detail-body__h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.product-detail-body__features {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.product-detail-body__features li {
  margin-bottom: 0.35rem;
}

.product-diagram {
  margin: 1rem 0;
  background: #f8f8f8;
  border-radius: 4px;
  padding: 0.5rem;
}

.product-diagram img {
  width: 100%;
  height: auto;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 2rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  border: 1px solid #e0e0e0;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.spec-table th {
  background: #f5f5f5;
  font-weight: 700;
  width: 38%;
}

.product-reviews-block .product-section__title {
  margin-bottom: 0.35rem;
}

.product-reviews-block__summary {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

.product-review-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-review-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
}

.product-review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-review-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.25rem;
}

.product-review-card__head .stars {
  color: #f5a623;
  font-size: 0.9rem;
}

.product-review-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.product-review-card__foot {
  margin-top: 0.5rem;
}

.product-buybox__stars .stars__dim {
  color: #ddd;
}

.product-review-card .stars__dim {
  color: #e8e8e8;
}

.product-review-form-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e8e8;
  max-width: 36rem;
}

.product-review-form__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.product-review-form__hint {
  margin: 0 0 1rem;
}

.product-review-form__fieldset {
  border: none;
  margin: 0 0 1rem;
  padding: 0;
}

.product-review-form__fieldset > legend {
  margin-bottom: 0;
}

/* Accessible star rating (radios + labels; see GrahamTheDev / star-rating pattern) */
.product-review-form__rating {
  margin: 0.35rem 0 0;
}

.star-rating__row {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.12rem;
}

.star-rating__pair {
  position: relative;
  display: block;
}

/* Visually hidden: still in accessibility tree (do not use display:none on inputs) */
.star-rating__vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.star-rating__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

.star-rating__label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.12s ease;
}

.star-rating__icon {
  font-size: 2rem;
  line-height: 1;
  color: #e4e4e4;
  text-shadow:
    0 0 0 1.5px #3a3a3a,
    0 1px 0 rgba(0, 0, 0, 0.06);
  transition: color 0.12s ease, transform 0.12s ease;
}

/* Selected: fill stars 1..n (non-colour cue: filled shape + accent) */
.star-rating:has(.star-rating__input[value="1"]:checked) .star-rating__pair:nth-child(1) .star-rating__icon,
.star-rating:has(.star-rating__input[value="2"]:checked) .star-rating__pair:nth-child(-n + 2) .star-rating__icon,
.star-rating:has(.star-rating__input[value="3"]:checked) .star-rating__pair:nth-child(-n + 3) .star-rating__icon,
.star-rating:has(.star-rating__input[value="4"]:checked) .star-rating__pair:nth-child(-n + 4) .star-rating__icon,
.star-rating:has(.star-rating__input[value="5"]:checked) .star-rating__pair:nth-child(-n + 5) .star-rating__icon {
  color: var(--color-accent);
  text-shadow:
    0 0 0 1.5px #5a0a0a,
    0 1px 0 rgba(0, 0, 0, 0.12);
}

/* Hover preview: highlight up to hovered star */
.star-rating__row:has(.star-rating__pair:nth-child(1):hover) .star-rating__pair:nth-child(1) .star-rating__icon,
.star-rating__row:has(.star-rating__pair:nth-child(2):hover) .star-rating__pair:nth-child(-n + 2) .star-rating__icon,
.star-rating__row:has(.star-rating__pair:nth-child(3):hover) .star-rating__pair:nth-child(-n + 3) .star-rating__icon,
.star-rating__row:has(.star-rating__pair:nth-child(4):hover) .star-rating__pair:nth-child(-n + 4) .star-rating__icon,
.star-rating__row:has(.star-rating__pair:nth-child(5):hover) .star-rating__pair:nth-child(-n + 5) .star-rating__icon {
  color: #c41a1a;
  text-shadow:
    0 0 0 1.5px #3a3a3a,
    0 1px 0 rgba(0, 0, 0, 0.08);
}

.star-rating__input:focus-visible + .star-rating__label {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.star-rating__input:focus-visible + .star-rating__label .star-rating__icon {
  color: #c41a1a;
}

.product-review-form__label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.product-review-form__textarea {
  min-height: 7rem;
  resize: vertical;
}

.product-review-form__submit {
  margin-top: 0.35rem;
}

.product-review-form__done,
.product-review-form__login-prompt {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e8e8e8;
}

.related-products {
  margin: 0;
  padding: 0;
  max-width: 900px;
}

.related-products__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.related-products__sub {
  margin: 0 0 1.25rem;
}

.related-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.related-card {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}

.related-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.related-card__img {
  aspect-ratio: 1;
  background: #f5f5f5;
}

.related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card__title {
  margin: 0;
  padding: 0.75rem 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

.related-card__prices {
  padding: 0.35rem 0.75rem 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}

.related-card__sale {
  font-weight: 800;
  color: #db0000;
  font-size: 0.9375rem;
}

.related-card__compare {
  font-size: 0.8125rem;
  color: #9a9a9a;
}

@media (max-width: 767.98px) {
  .related-products__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    padding: 0 1rem 0.35rem;
    margin-inline: -1rem;
    width: calc(100% + 2rem);
  }

  .related-card {
    flex: 0 0 auto;
    width: 108px;
    scroll-snap-align: start;
    border-radius: 5px;
  }

  .related-card__title {
    font-size: 0.6875rem;
    padding: 0.35rem 0.4rem 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .related-card__prices {
    padding: 0.15rem 0.4rem 0.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .related-card__sale {
    font-size: 0.75rem;
  }

  .related-card__compare {
    font-size: 0.625rem;
  }
}

/* Flash messages */
.site-messages {
  padding: 0.75rem 1rem 0;
  max-width: var(--container);
  margin-inline: auto;
}

.site-messages__item {
  margin: 0 0 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.site-messages__item--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.site-messages__item--error {
  background: #ffebee;
  color: #b71c1c;
  border: 1px solid #ef9a9a;
}

.site-messages__item--info,
.site-messages__item--debug {
  background: #e3f2fd;
  color: #0d47a1;
  border: 1px solid #90caf9;
}

.site-messages__item--warning {
  background: #fff8e1;
  color: #e65100;
  border: 1px solid #ffcc80;
}

/* Products catalog (/products/) */
.products-page {
  padding: 1.5rem 0 4rem;
}

.products-page__header {
  margin-bottom: 0.25rem;
}

.products-page__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.products-page__intro {
  margin: 0 0 1rem;
}

.products-filter-bar {
  margin: 0 0 2rem;
  border-bottom: 1px solid #e8e8e8;
  padding-bottom: 0.75rem;
}

.products-filter-bar__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.15rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.products-filter-bar__pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  color: var(--color-text) !important;
  border: 1px solid #ccc;
  border-radius: 999px;
  background: #fafafa;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

.products-filter-bar__pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

.products-filter-bar__pill.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff !important;
}

.products-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.products-grid__cell {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none !important;
  color: inherit !important;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.product-card__media {
  display: block;
  aspect-ratio: 1;
  background: #f5f5f5;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
}

.product-card__category {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.65rem;
}

.product-card__name {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.product-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-top: auto;
  padding-top: 0.25rem;
}

.product-card__price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-accent);
}

.product-card__compare {
  font-size: 0.875rem;
}

.product-card__badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: #ffebee;
  color: var(--color-accent);
}

.products-empty {
  margin: 2rem 0 0.5rem;
}

/* Cart page */
.cart-page {
  padding: 1.5rem 0 4rem;
}

.cart-page__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
}

.cart-empty {
  margin-bottom: 1rem;
  color: var(--color-muted);
}

.cart-empty__cta {
  display: inline-block;
  margin: 0.5rem 0.75rem 0.5rem 0;
}

.cart-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
}

.cart-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.cart-table__th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: #f5f5f5;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.cart-table__th--img {
  width: 100px;
}

.cart-table__th--action {
  width: 90px;
}

.cart-table td {
  padding: 1rem;
  vertical-align: middle;
  border-top: 1px solid #eee;
}

.cart-table__img-cell img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

.cart-table__title {
  font-weight: 600;
  max-width: 280px;
}

.cart-table__line-total {
  font-weight: 800;
}

.cart-update-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty-input {
  width: 3.5rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.cart-remove {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: 0.875rem;
}

.cart-remove:hover {
  color: var(--color-accent-hover);
}

.btn--small {
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #eee;
  color: #222 !important;
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}

.btn--small:hover {
  background: #e0e0e0;
}

.cart-summary {
  max-width: 360px;
  margin-left: auto;
  padding: 1.25rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.cart-summary__subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.btn--checkout {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: var(--color-accent);
  color: #fff !important;
  border: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 2px;
  cursor: not-allowed;
  opacity: 0.65;
}

.cart-summary__note {
  margin: 0.5rem 0 0;
}

.cart-summary__continue {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

.cart-submit-form {
  margin-top: 0.75rem;
}

.cart-special-label {
  display: block;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.cart-special-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 0.65rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.45;
  resize: vertical;
  min-height: 5rem;
}

.cart-summary__ship-note {
  margin: 0.75rem 0 0.5rem;
}

.cart-summary__submit {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  text-align: center;
  text-decoration: none !important;
  box-sizing: border-box;
}

/* Header account */
.header__account,
.header__login {
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text) !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.header__account:hover,
.header__login:hover {
  color: var(--color-accent) !important;
}

/* Global header — signed-in account dropdown */
.header-account-menu {
  position: relative;
  z-index: 940;
}

.header-account-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  list-style: none;
  padding: 0.25rem 0;
  user-select: none;
}

.header-account-menu__trigger-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-account-menu__notify-dot {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e53935;
  border: 2px solid var(--color-surface, #fff);
  pointer-events: none;
}

.header-account-menu__item-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: #e53935;
  vertical-align: middle;
}

.header-account-menu__item--inbox {
  font-weight: 600;
}

.header-account-menu__trigger::-webkit-details-marker {
  display: none;
}

.header-account-menu__trigger::marker {
  content: "";
  display: none;
}

.header-account-menu__name {
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .header-account-menu__name {
    max-width: 6.5rem;
  }
}

.header-account-menu__caret {
  font-size: 0.65em;
  opacity: 0.85;
  line-height: 1;
  transition: transform 0.15s ease;
}

.header-account-menu[open] .header-account-menu__caret {
  transform: rotate(-180deg);
}

.header-account-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 15rem;
  padding: 0.4rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.14);
}

.header-account-menu__menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.header-account-menu__rule {
  margin: 0.35rem 0;
  border: 0;
  border-top: 1px solid #e8e8e8;
}

.header-account-menu__item {
  display: block;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1.25;
  color: var(--color-text) !important;
  text-decoration: none !important;
  text-transform: none;
  letter-spacing: normal;
  border-radius: 6px;
  transition: background 0.12s ease, color 0.12s ease;
}

.header-account-menu__item:hover,
.header-account-menu__item:focus-visible {
  outline: none;
  background: #f4f4f4;
  color: var(--color-accent) !important;
}

.header-account-menu__item--logout {
  color: #5c5c5c !important;
  font-weight: 600;
}

.header-account-menu__item--logout:hover,
.header-account-menu__item--logout:focus-visible {
  background: #faf0f0;
  color: #a32020 !important;
}

/* Account area */
.account-page {
  padding: 1.5rem 1rem 4rem;
}

.account-page__layout {
  display: grid;
  gap: 2rem;
  max-width: 1100px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .account-page__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
  }
}

.account-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1rem;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

.account-nav__home {
  font-weight: 800;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text) !important;
  text-decoration: none !important;
}

.account-nav__home:hover,
.account-nav__link:hover {
  color: var(--color-accent) !important;
}

.account-nav__home.is-active,
.account-nav__link.is-active {
  color: var(--color-accent) !important;
}

.account-nav__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-nav__label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 0.15rem;
}

.account-nav__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text) !important;
  text-decoration: none !important;
  padding: 0.25rem 0;
}

.account-nav__link--inbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.account-nav__notify-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  flex-shrink: 0;
}

.contact-inbox-table__row--unread {
  background: #fff8f8;
}

.contact-inbox-table__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
}

.contact-inbox-table__link:hover strong {
  color: var(--color-accent);
}

.contact-inbox-table__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e53935;
  flex-shrink: 0;
}

.contact-inbox-table__preview {
  max-width: 22rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.contact-inbox-detail__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.contact-inbox-detail__contacts a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.contact-inbox-detail__contacts a:hover {
  text-decoration: underline;
}

.account-nav__role {
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid #e0e0e0;
}

.account-page__main {
  min-width: 0;
}

.account-page__heading {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
}

.account-page__heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1rem;
}

.account-page__heading--with-action {
  margin: 0;
  line-height: 1;
}

/* Box matches one line of the heading (same font-size); full square is clickable. */
.account-page__heading-action {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  width: 1em;
  height: 1em;
  min-width: 1em;
  min-height: 1em;
  padding: 0;
  color: var(--color-text) !important;
  text-decoration: none !important;
  border: 2px solid var(--color-text);
  border-radius: 3px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.account-page__heading-action:hover {
  color: var(--color-accent) !important;
  border-color: var(--color-accent);
  background: #fafafa;
}

.account-page__heading-action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--color-accent);
}

.account-products-table-wrap {
  margin-top: 0;
}

.account-tiles {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .account-tiles {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

.account-tile {
  display: block;
  padding: 1.25rem 1.35rem;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  text-decoration: none !important;
  color: inherit !important;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.account-tile:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.account-tile__title {
  display: block;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.account-tile__desc {
  display: block;
  line-height: 1.4;
}

.account-placeholder {
  margin-top: 1rem;
  padding: 1.5rem 1.25rem;
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 6px;
}

.account-placeholder--cta p {
  margin: 0 0 0.75rem;
}

.account-placeholder--cta p:last-child {
  margin-bottom: 0;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.account-table th,
.account-table td {
  border: 1px solid #e5e5e5;
  padding: 0.65rem 0.85rem;
  text-align: left;
}

.account-table th {
  background: #f0f0f0;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #e8f4fc;
  color: #1565c0;
}

/* Order workflow (customer + manager order pages) */
.order-workflow {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.order-workflow__step {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  background: #fafafa;
  color: #777;
  max-width: 100%;
}

.order-workflow__step.is-done {
  background: #e8f5e9;
  border-color: #a5d6a7;
  color: #1b5e20;
}

.order-workflow__step.is-latest.is-done {
  box-shadow: 0 0 0 2px var(--color-accent);
}

.order-workflow__marker {
  font-weight: 800;
  min-width: 1.1rem;
  text-align: center;
  flex-shrink: 0;
}

.order-workflow__label {
  text-transform: none;
  letter-spacing: 0;
}

.order-detail-block {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
}

.order-detail-block__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 800;
}

.order-detail-block__body {
  margin: 0;
  line-height: 1.55;
}

.order-lines-table {
  margin-top: 0.5rem;
}

.order-detail-total {
  margin: 0.75rem 0 0;
  text-align: right;
  font-size: 1.05rem;
}

.order-confirm-delivery {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fafafa;
}

.order-confirm-delivery__text {
  margin: 0 0 0.75rem;
}

.order-detail-complete {
  margin: 1.25rem 0;
}

.order-detail-back {
  margin-top: 1.5rem;
}

.order-manager-actions {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.order-manager-actions__form .btn {
  margin-top: 0.35rem;
}

.account-dev-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.7;
}

/* Login / register */
.account-auth {
  padding: 2.5rem 1rem 4rem;
  max-width: 420px;
}

.account-auth__title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-auth__errors {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: #ffebee;
  color: #b71c1c;
  border-radius: 4px;
  font-size: 0.9375rem;
}

.account-auth__form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.account-auth__form--tight {
  margin-top: 1rem;
}

.account-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.account-field__label {
  font-size: 0.8125rem;
  font-weight: 700;
}

.account-field__input {
  padding: 0.6rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.account-field__input:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.account-field__input:disabled {
  background: #f0f0f0;
  color: #666;
}

select.account-field__select {
  max-width: 100%;
  cursor: pointer;
  background-color: #fff;
}

.account-field__error {
  font-size: 0.8125rem;
  color: var(--color-accent);
  font-weight: 600;
}

.account-auth__submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.account-auth__footer {
  margin-top: 1.5rem;
}

/* Unified login / register (email verify flow) */
.unified-auth__intro {
  margin: 0 0 1rem;
  line-height: 1.55;
}

.unified-auth__hint-above-email {
  margin: 0 0 0.75rem;
}

.unified-auth__hint-above-email .unified-auth__hint {
  margin: 0;
}

.unified-auth__email-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.unified-auth__email-input {
  flex: 1;
  min-width: 0;
}

.email-verify-btn {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(160deg, #5b3d7a 0%, #3d2658 100%);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(61, 38, 88, 0.35);
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.email-verify-btn:hover:not(:disabled) {
  background: linear-gradient(160deg, #6a488f 0%, #4a2f6a 100%);
  box-shadow: 0 4px 12px rgba(61, 38, 88, 0.45);
}

.email-verify-btn:active:not(:disabled) {
  transform: scale(0.97);
}

.email-verify-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.email-verify-btn.checking {
  pointer-events: none;
  opacity: 0.55;
}

.email-verify-btn.verified {
  border-color: #4caf50;
  background: linear-gradient(160deg, rgba(76, 175, 80, 0.35) 0%, rgba(46, 125, 50, 0.45) 100%);
  color: #a8e6a8;
}

.unified-auth__status-message {
  margin: 0 0 1rem;
  min-height: 1.25rem;
  font-weight: 600;
}

.email-verify-btn__icon {
  width: 1.35rem;
  height: 1.35rem;
}

.unified-auth__verify-error {
  margin: 0.35rem 0 0;
}

.unified-auth__hint {
  font-weight: 700;
  font-size: 1rem;
}

.account-subhead {
  margin: 2rem 0 1rem;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.account-form-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.account-field--full {
  grid-column: 1 / -1;
}

/* Account profile — centered stacked form */
.account-profile-detail {
  max-width: 26rem;
  margin: 0 auto;
  padding: 0.5rem 0 2rem;
  text-align: center;
}

.account-profile-detail__header {
  margin-bottom: 2rem;
}

.account-profile-detail__title {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.account-profile-detail__lead {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.account-profile-detail__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.account-profile-detail__fields {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  text-align: left;
}

.account-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.account-profile-field__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #444;
}

.account-profile-field__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid #c5c5c5;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.account-profile-field__input:hover {
  border-color: #999;
}

.account-profile-field__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(214, 16, 16, 0.22);
}

.account-profile-detail__submit {
  min-width: 12rem;
  padding: 0.65rem 1.5rem;
  font-weight: 700;
}

.account-profile-detail__errors {
  width: 100%;
  text-align: left;
  margin-bottom: 1rem;
}

.account-profile-field__help {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.account-profile-detail__subnav {
  margin: 1.25rem 0 0;
}

.account-profile-detail__after-actions {
  margin: 1.5rem 0 0;
}

/* Developer user tools */
.dev-back {
  margin: 0 0 1rem;
}

.dev-back a {
  font-weight: 700;
  text-decoration: none !important;
}

.dev-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.dev-search-form__field {
  flex: 1 1 240px;
  margin: 0;
}

.dev-search-results {
  margin-top: 1rem;
}

.dev-link-action {
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.dev-panel {
  margin-bottom: 2rem;
  padding: 1.25rem 1.35rem;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
}

.dev-panel__title {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}

.dev-dl {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 0.35rem 1.25rem;
  margin: 0;
  font-size: 0.9375rem;
}

.dev-dl dt {
  margin: 0;
  font-weight: 700;
  color: var(--color-muted);
}

.dev-dl dd {
  margin: 0;
}

.dev-action-list {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.6;
}

.dev-action-list li {
  margin-bottom: 1rem;
}

.dev-action-list li:last-child {
  margin-bottom: 0;
}

.dev-promote-form {
  display: inline-block;
  margin-top: 0.5rem;
}

/* Manager — product create: SKU lookup */
.manager-product-sku-search {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e8e8e8;
}

.manager-product-sku-search .account-field__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.manager-product-sku-search__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.manager-product-sku-search__input {
  min-width: min(100%, 14rem);
  max-width: 20rem;
}

.manager-product-sku-search__result {
  margin: 0.65rem 0 0;
}

.manager-product-create__submit-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

.manager-product-create__submit {
  background: #0f0f0f !important;
  color: #fff !important;
  border-color: #0f0f0f !important;
}

.manager-product-create__submit:hover {
  background: #2a2a2a !important;
  color: #fff !important;
  border-color: #2a2a2a !important;
}

.manager-product-create__submit:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.manager-product-summary__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.account-table__actions {
  white-space: nowrap;
}

.manager-product-create__save-failed {
  margin-bottom: 1.25rem;
  border-width: 2px;
  border-color: #b42318;
  background: #fef3f2;
}

.manager-product-create__save-failed-title {
  margin: 0 0 0.5rem;
}

.manager-product-create__save-failed-detail {
  margin: 0.35rem 0 0;
}

.manager-product-create__save-failed-hint {
  margin: 0.65rem 0 0;
}

.manager-product-summary__notice {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid #c5c5c5;
  border-radius: 6px;
  background: #f7f7f7;
}

.manager-product-summary__notice-title {
  margin: 0 0 0.35rem;
}

.manager-product-summary__notice .muted {
  margin: 0 0 0.75rem;
}

.manager-product-summary__notice-link {
  margin: 0;
}

.manager-product-form__crumbs {
  margin-bottom: 0.5rem;
}

.manager-product-form__crumb-sep {
  margin: 0 0.35rem;
  color: #888;
}

.manager-product-existing {
  margin: 0 0 0.65rem;
}

.manager-product-existing__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.manager-product-existing__gallery-item {
  margin: 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  background: #fafafa;
}

.manager-product-existing__gallery-item img {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.manager-product-existing__manuals {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

/* Manager — selected file previews (client-side validation) */
.manager-file-preview {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
}

.manager-file-preview__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  max-width: 100%;
  padding: 0.45rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fafafa;
}

.manager-file-preview__item--ok {
  border-color: #c5e0c5;
  background: #f4faf4;
}

.manager-file-preview__item--fail {
  border-color: #e8b4b4;
  background: #fff8f8;
}

.manager-file-preview__media {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  background: #eee;
}

.manager-file-preview__media--error {
  background: #fde8e8;
  color: #b42318;
}

.manager-file-preview__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manager-file-preview__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
}

.manager-file-preview__icon--pdf {
  color: #b42318;
}

.manager-file-preview__icon--image {
  color: #5c5c5c;
}

.manager-file-preview__icon--error {
  color: #b42318;
}

.manager-file-preview__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}

.manager-file-preview__name {
  font-size: 0.8125rem;
  font-weight: 600;
  word-break: break-word;
  line-height: 1.25;
}

.manager-file-preview__status {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.manager-file-preview__status--uploaded {
  color: #1a6b1a;
}

.manager-file-preview__status--failed {
  color: #b42318;
}

.manager-file-preview__reason {
  display: block;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Quill rich text — manager create */
.manager-quill-editor {
  margin-top: 0.35rem;
  background: #fff;
}

.manager-quill-editor .ql-toolbar {
  border: 1px solid #ccc;
  border-radius: 4px 4px 0 0;
  font-family: var(--font);
}

.manager-quill-editor .ql-container {
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 0 0 4px 4px;
  font-family: var(--font);
  font-size: 1rem;
  min-height: 140px;
}

.manager-quill-editor--description .ql-container {
  min-height: 220px;
}

textarea.manager-quill-source--hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Storefront — Quill output */
.product-richtext {
  line-height: 1.55;
}

.product-richtext p {
  margin: 0 0 0.65em;
}

.product-richtext p:last-child {
  margin-bottom: 0;
}

.product-richtext ul,
.product-richtext ol {
  margin: 0.5em 0 0.65em 1.25rem;
  padding: 0;
}

.product-richtext .ql-size-small,
.product-richtext span.ql-size-small {
  font-size: 0.875em;
}

.product-richtext .ql-size-large,
.product-richtext span.ql-size-large {
  font-size: 1.125em;
}

.product-richtext .ql-size-huge,
.product-richtext span.ql-size-huge {
  font-size: 1.35em;
}

.product-buybox__lead.product-richtext {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

/* Manager — create product */
.manager-product-create .manager-product__file-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0.25rem 0 0;
}

.manager-product__file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.manager-product-specs-wrap {
  margin-top: 0.75rem;
}

.manager-product-specs th {
  width: 12rem;
  max-width: 40%;
  vertical-align: top;
  font-weight: 600;
  text-align: left;
}

.manager-product-specs__label {
  font-weight: 600;
  cursor: pointer;
}

.manager-product-specs td .account-field__input {
  width: 100%;
  max-width: 28rem;
}

.product-detail-body__richtext > p:first-child {
  margin-top: 0;
}

/* First-time password (modal-style, full-viewport) */
.first-password-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
  background: rgba(15, 15, 15, 0.55);
}

.first-password-dialog {
  width: 100%;
  max-width: 420px;
  padding: 1.5rem 1.35rem 1.25rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.first-password-dialog__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.first-password-dialog__lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.first-password-form .account-field {
  margin-bottom: 1rem;
}

.first-password__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.75rem;
  font: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.first-password-form__hint {
  margin: -0.25rem 0 1rem;
}

.first-password-form__submit {
  width: 100%;
  margin-top: 0.25rem;
}

.first-password-dialog__footer {
  margin: 1rem 0 0;
  text-align: center;
}

/* Manager operations dashboard — RHLift-style ops hub */
body.body--ops-dashboard {
  background: #fff;
}

.manager-clean-page {
  padding: 1.5rem 0 3rem;
  box-sizing: border-box;
}

body.body--ops-dashboard #main.ops-dash-main {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.body--ops-dashboard .ops-hub-strip-anchor {
  position: sticky;
  top: var(--header-h);
  z-index: 850;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.ops-hub-strip {
  margin: 0;
  padding: 0;
}

.ops-hub-strip__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.ops-hub-strip__row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.2rem 0.5rem 0.28rem;
  width: max-content;
  min-height: 2.65rem;
}

.ops-hub-strip__item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 2.95rem;
  padding: 0.12rem 0.08rem 0.15rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.12s ease;
}

.ops-hub-strip__item:hover,
.ops-hub-strip__item:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.ops-hub-strip__item:focus-visible {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.ops-hub-strip__item.is-current {
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.ops-hub-strip__glyph {
  line-height: 0;
  color: var(--color-accent, #2563eb);
}

.ops-hub-strip__glyph svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.ops-hub-strip__label {
  margin-top: 0.08rem;
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  max-width: 2.95rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  color: var(--color-text);
}

.ops-hub-strip__badge {
  position: absolute;
  top: 0;
  right: -0.02rem;
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.18rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.5rem;
  font-weight: 800;
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .ops-hub-strip__row {
    gap: 0.3rem;
    padding: 0.35rem 0.75rem 0.45rem;
    min-height: 5.3rem;
  }

  .ops-hub-strip__item {
    width: 5.9rem;
    padding: 0.2rem 0.15rem 0.25rem;
  }

  .ops-hub-strip__glyph svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .ops-hub-strip__label {
    margin-top: 0.15rem;
    font-size: 1rem;
    max-width: 5.9rem;
  }

  .ops-hub-strip__badge {
    min-width: 1.9rem;
    height: 1.9rem;
    padding: 0 0.35rem;
    font-size: 0.75rem;
  }
}

.ops-hub-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: calc(100dvh - var(--header-h));
  min-height: calc(100vh - var(--header-h));
  padding: 1.5rem 1.25rem 2.5rem;
  background: #fff;
}

.ops-hub-home__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: center;
  gap: 1.75rem 2.25rem;
  max-width: none;
  width: 100%;
}

.ops-hub-home__icon {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 5.75rem;
  padding: 0.4rem 0.3rem 0.55rem;
  border: none;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  color: var(--color-text);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font: inherit;
  transition: background 0.12s ease;
  box-sizing: border-box;
}

.ops-hub-home__icon:hover,
.ops-hub-home__icon:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.ops-hub-home__icon:focus-visible {
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.ops-hub-home__icon.is-current {
  background: rgba(37, 99, 235, 0.1);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.ops-hub-home__glyph {
  line-height: 0;
  color: var(--color-accent, #2563eb);
}

.ops-hub-home__glyph svg {
  width: 3rem;
  height: 3rem;
  display: block;
}

.ops-hub-home__label {
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  max-width: 6.25rem;
  word-wrap: break-word;
  hyphens: auto;
  color: var(--color-text);
}

.ops-hub-strip__item.is-soon,
.ops-hub-home__icon.is-soon {
  cursor: default;
  opacity: 0.55;
}

.ops-hub-strip__item.is-soon:hover,
.ops-hub-home__icon.is-soon:hover {
  background: transparent;
}

.ops-hub-strip__item.is-soon .ops-hub-strip__glyph,
.ops-hub-home__icon.is-soon .ops-hub-home__glyph {
  color: #94a3b8;
}

.ops-hub-strip__item.is-soon .ops-hub-strip__label,
.ops-hub-home__icon.is-soon .ops-hub-home__label {
  color: #94a3b8;
}

.ops-hub-home__badge {
  position: absolute;
  top: 0.2rem;
  right: 0.25rem;
  min-width: 1.5rem;
  height: 1.5rem;
  padding: 0 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

/* Lux Remote */
.lux-remote-shell {
  width: 100%;
  min-height: calc(100dvh - var(--header-h) - 5.3rem);
  padding: 0;
  margin: 0;
  background: #000;
}

.lux-remote {
  display: flex;
  flex-direction: column;
  min-height: calc(100dvh - var(--header-h) - 5.3rem);
  margin: 0;
  background: #000;
  color: #33ff33;
  font-family: "Lucida Console", "Courier New", monospace;
  text-shadow: 0 0 6px rgba(51, 255, 51, 0.45);
}

.lux-remote__toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 0.65rem;
  border-bottom: 1px solid #33ff33;
  background: #020;
  color: #33ff33;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.lux-remote__exit,
.lux-remote__send-btn {
  border: 1px solid #33ff33;
  background: #000;
  color: #33ff33;
  font: inherit;
  text-decoration: none;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(51, 255, 51, 0.22);
}

.lux-remote__exit:hover,
.lux-remote__exit:focus-visible,
.lux-remote__send-btn:hover:not(:disabled),
.lux-remote__send-btn:focus-visible:not(:disabled) {
  background: #33ff33;
  color: #000;
  outline: none;
}

.lux-remote__brand {
  overflow: hidden;
  white-space: nowrap;
  text-align: center;
}

.lux-remote__status {
  display: inline-flex;
  color: #33ff33;
  font-size: 0.75rem;
  font-weight: 700;
}

.lux-remote__status--offline {
  color: #ff4040;
}

.lux-remote__status--starting {
  color: #ffff66;
}

.lux-remote__status--online {
  color: #33ff33;
}

.lux-remote__connection-hint {
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-bottom: 1px dashed rgba(51, 255, 51, 0.45);
  color: #ffff66;
  font-size: 0.75rem;
  line-height: 1.35;
}

.lux-remote__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
}

.lux-remote__pill {
  font-size: 0.8125rem;
}

.lux-remote__section-title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
}

.lux-remote__projects {
  margin-bottom: 1.5rem;
}

.lux-remote__project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.lux-remote__project-btn {
  padding: 0.4rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
}

.lux-remote__project-btn:hover:not(:disabled) {
  border-color: var(--color-accent);
  background: #eff6ff;
}

.lux-remote__project-btn.is-active {
  border-color: var(--color-accent);
  background: #dbeafe;
}

.lux-remote__project-btn.is-connected.is-active {
  box-shadow: inset 0 0 0 1px #10b981;
}

.lux-remote__project-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.lux-remote__hint {
  margin: 0;
}

.lux-remote__chat-log {
  flex: 1;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  padding: 0.75rem 0.65rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  color: #33ff33;
}

.lux-remote__message {
  margin: 0 0 0.45rem;
  padding: 0;
  border-radius: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}

.lux-remote__message--user {
  margin-left: 0;
  background: transparent;
  color: #33ff33;
}

.lux-remote__message--user::before {
  content: "C:\\> ";
}

.lux-remote__message--assistant {
  margin-right: 0;
  background: transparent;
  border: 0;
  color: #b7ffb7;
}

.lux-remote__message--assistant::before {
  content: "LUX> ";
  color: #33ff33;
}

.lux-remote__message--assistant.is-typing {
  color: #ffff66;
  font-style: normal;
}

.lux-remote__message--system {
  background: transparent;
  color: #ffff66;
  font-size: 0.75rem;
  padding: 0;
  text-align: left;
}

.lux-remote__message--system::before {
  content: "SYS> ";
}

.lux-remote__chat-form {
  display: flex;
  gap: 0.45rem;
  align-items: flex-end;
  padding: 0.5rem 0.65rem 0.65rem;
  border-top: 1px solid #33ff33;
  background: #020;
}

.lux-remote__chat-input {
  flex: 1;
  min-height: 2.1rem;
  max-height: 8rem;
  padding: 0.35rem 0.45rem;
  border: 1px solid #33ff33;
  border-radius: 0;
  background: #000;
  color: #33ff33;
  font: inherit;
  font-size: 0.875rem;
  resize: vertical;
  caret-color: #33ff33;
}

.lux-remote__chat-input:focus {
  outline: none;
  border-color: #b7ffb7;
  box-shadow: 0 0 0 2px rgba(51, 255, 51, 0.2);
}

.lux-remote__chat-input::placeholder {
  color: rgba(51, 255, 51, 0.55);
}

.lux-remote__send-btn {
  flex-shrink: 0;
  min-height: 2.1rem;
}

.lux-remote__send-btn:disabled {
  color: rgba(51, 255, 51, 0.35);
  border-color: rgba(51, 255, 51, 0.35);
  cursor: not-allowed;
}

/* ---------------------------------------------------------------------------
   Modules dashboard + Access Content
   --------------------------------------------------------------------------- */

.modules-page__intro {
  max-width: 62ch;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.module-card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.2rem;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.module-card--on {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent) inset;
}

.module-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.module-card__switch {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

.module-card__title {
  font-weight: 600;
  font-size: 1.05rem;
}

.module-card__state {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-muted);
}

.module-card--on .module-card__state {
  color: var(--color-accent);
}

.module-card__desc {
  margin: 0;
}

.module-card__settings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.module-card__checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.module-card__help {
  margin: 0.25rem 0 0;
}

.modules-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.module-detail__meta {
  margin: 1rem 0;
}

.access-content__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.access-content__item {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.access-content__item-head {
  margin-bottom: 0.75rem;
}

.access-content__title {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.access-content__files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.access-content__file {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.access-content__file-name {
  font-weight: 500;
  word-break: break-word;
}

.access-content__download {
  flex: 0 0 auto;
}

@media (max-width: 520px) {
  .access-content__file {
    align-items: flex-start;
  }
}

/* ---------------------------------------------------------------------------
   Music Gallery
   --------------------------------------------------------------------------- */

.music-create,
.music-section {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem 1.2rem;
  margin: 1.5rem 0;
}

.music-create__title,
.music-section__title {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.music-create__form,
.music-album-form,
.music-track-add,
.music-invite-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 34rem;
}

.music-create__actions,
.music-section__actions {
  display: flex;
  justify-content: flex-start;
}

.music-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.music-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.music-album-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.music-album-card:hover {
  border-color: var(--color-accent);
}

.music-album-card__name {
  font-weight: 600;
}

.music-track-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.music-track {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.music-track__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.music-track__title {
  margin: 0;
  font-size: 1.02rem;
}

.music-track__notes {
  margin: 0;
}

.music-track__player,
.access-content__player,
.music-gallery__player {
  width: 100%;
  max-width: 34rem;
}

.music-track__upload {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.music-track__upload .account-field__input {
  flex: 1 1 14rem;
  min-width: 0;
}

.music-track__history {
  margin-top: 0.25rem;
}

.music-track__revisions {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.music-track__revision {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.music-invite-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.music-invite {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.access-content__section-title {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
}

.access-content__album {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
}

.access-content__tracks,
.music-gallery__tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.access-content__track,
.music-gallery__track {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.access-content__track-title,
.music-gallery__track-title {
  font-weight: 500;
  flex: 0 0 auto;
}

.music-gallery {
  padding: 2rem 0 3rem;
}

.music-gallery__album {
  margin-bottom: 2.5rem;
}

.music-gallery__album-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.music-gallery__cover {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.music-gallery__album-name {
  margin: 0 0 0.2rem;
}

/* Gallery landing: search bar over a responsive grid of album cards. */
.music-gallery__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.music-gallery__title {
  margin: 0;
}

.music-gallery__search {
  display: flex;
  gap: 0.5rem;
  flex: 0 1 26rem;
  min-width: 0;
}

.music-gallery__search-input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  font: inherit;
  background: transparent;
  color: inherit;
}

.music-gallery__search-btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.music-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.5rem 1.25rem;
}

.music-card[hidden] {
  display: none;
}

.music-card__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: inherit;
  text-decoration: none;
}

.music-card__cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.music-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2521, #0e0d0c);
  color: #fff;
}

.music-card__link:hover .music-card__cover,
.music-card__link:focus-visible .music-card__cover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.music-card__name {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-card__meta {
  font-size: 0.875rem;
  opacity: 0.7;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The embedded showcase reuses the My Content player (.yt-album, album-player.js) as-is; these
   two rules only apply when a colour was actually chosen (the [style*=...] check), so the
   player's own light/dark gradient is untouched otherwise. The attribute selector also keeps
   these above the dark-theme rules for .yt-album / .yt-track__progress-fill in specificity,
   without needing !important (which would defeat the fallback for everyone who left it unset). */
.sb-music-player.yt-album[style*="--sb-mp-bg"] {
  background: var(--sb-mp-bg);
}

.sb-music-player.yt-album[style*="--sb-mp-accent"] .yt-track__progress-fill {
  background: var(--sb-mp-accent);
}

/* The product-page review cards stack in one column; the Testimonials element adds its own
   "Columns" setting, so it lays them out as a grid instead, here only. */
.sb-testimonials .product-review-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(16rem, calc((100% - (var(--cols, 3) - 1) * 1rem) / var(--cols, 3))), 1fr));
}

.sb-testimonials .product-section__title {
  margin-top: 0;
}

.btn--small {
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .music-track__upload {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---------------------------------------------------------------------------
   Inbox selection + action bar
   --------------------------------------------------------------------------- */

.inbox-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.6rem 0.75rem;
  margin: 1rem 0 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.02);
}

.inbox-actions__all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.inbox-actions__buttons {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.inbox-actions__blocked {
  margin-left: auto;
}

.inbox-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--color-text);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.inbox-action:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.12);
}

.inbox-action:disabled {
  opacity: 0.4;
  cursor: default;
}

.inbox-action--danger:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

.inbox-action__label {
  line-height: 1;
}

.contact-inbox-table__check {
  width: 2.5rem;
  text-align: center;
  cursor: pointer;
}

.contact-inbox-table__row--blocked {
  opacity: 0.65;
}

.inbox-blocked-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

@media (max-width: 640px) {
  .inbox-action__label {
    display: none;
  }

  .inbox-actions__blocked {
    margin-left: 0;
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   Action button for light admin pages

   .btn--primary is white-on-dark by design (hero sections), so it disappears on
   the white account screens. This is the light-background equivalent.
   --------------------------------------------------------------------------- */

.btn--action {
  background: #60a5fa;
  color: #0b2545 !important;
  border-radius: 8px;
  border-color: transparent;
}

.btn--action:hover,
.btn--action:focus-visible {
  background: #3b8ef0;
  color: #06203f !important;
}

.btn--action:active {
  background: #2f7fe0;
}

.btn--action:disabled {
  opacity: 0.5;
  cursor: default;
}

/* The outline buttons sit next to them on the same screens; match the radius. */
.music-section .btn--outline,
.music-create .btn--outline,
.modules-form .btn--outline,
.access-content .btn--outline,
.access-content__download,
.music-track__upload .btn--outline {
  border-radius: 8px;
}

/* Album preview (invitation link) and project save bar */

.music-preview {
  padding: 2rem 0 3rem;
  max-width: 48rem;
}

.music-preview__head {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.music-preview__cover {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.music-preview__eyebrow {
  margin: 0 0 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.music-preview__title {
  margin: 0 0 0.25rem;
}

.music-preview__notice {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.1rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(96, 165, 250, 0.5);
  background: rgba(96, 165, 250, 0.1);
  border-radius: 10px;
}

.music-preview__notice p {
  margin: 0;
  flex: 1 1 18rem;
}

.music-preview__tracks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.music-preview__track {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.music-preview__track-title {
  font-weight: 600;
}

.music-preview__player {
  width: 100%;
}

.music-save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.1rem;
  margin: 1.5rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.music-save-bar p {
  margin: 0;
}

.music-invite__pending {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(96, 165, 250, 0.18);
  color: #1d4ed8;
}

.music-invite__link {
  flex: 1 1 18rem;
  min-width: 0;
  font-size: 0.8rem;
}

/* Order detail: delete action aligned with the Line items heading */

.order-detail-block__heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.order-detail-block__heading-row .order-detail-block__title {
  margin: 0;
}

.order-delete-form {
  margin: 0;
}

.btn--danger {
  background: #dc2626;
  color: #fff !important;
  border-radius: 8px;
  border-color: transparent;
}

.btn--danger:hover,
.btn--danger:focus-visible {
  background: #b91c1c;
  color: #fff !important;
}

/* ---------------------------------------------------------------------------
   Modules grid: icon tiles, sliding switch, gear link
   --------------------------------------------------------------------------- */

.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.module-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: var(--color-bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.module-tile--on {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25) inset;
}

.module-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-muted);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.module-tile--on .module-tile__icon {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
}

.module-tile__name {
  margin: 0.25rem 0 0;
  font-size: 1.02rem;
}

.module-tile__desc {
  margin: 0;
  flex: 1 1 auto;
}

.module-tile__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.module-toggle-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

/* Sliding switch: red when off, green when on. */
.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.switch__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch__track {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #ef4444;
  transition: background-color 0.18s ease;
  flex: 0 0 auto;
}

.switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease;
}

.switch__input:checked + .switch__track {
  background: #22c55e;
}

.switch__input:checked + .switch__track .switch__thumb {
  transform: translateX(20px);
}

.switch__input:focus-visible + .switch__track {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.switch__state {
  font-size: 0.85rem;
  font-weight: 600;
  color: #b91c1c;
  min-width: 1.8rem;
  text-align: left;
}

.switch__input:checked ~ .switch__state {
  color: #15803d;
}

/* Shown only when JavaScript did not load; module-toggles.js hides it. */
.switch__apply {
  padding: 0.25rem 0.55rem;
  font: inherit;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.module-tile__gear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--color-muted);
  border: 1px solid rgba(0, 0, 0, 0.12);
  text-decoration: none !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.module-tile__gear:hover {
  background: rgba(96, 165, 250, 0.15);
  color: #1d4ed8;
}

/* Module config page */

.module-config__desc {
  max-width: 62ch;
}

.module-config__block {
  padding: 1rem 1.1rem;
  margin: 1rem 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}

.module-config__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.module-config__field {
  margin-bottom: 1rem;
  max-width: 34rem;
}

.module-config__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

/* Album cover management */

.music-cover {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.music-cover__image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.music-cover__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 10px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
}

.music-cover__actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1 1 18rem;
  min-width: 0;
}

.music-cover__form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.music-cover__form .account-field__input {
  flex: 1 1 14rem;
  min-width: 0;
}

.music-album-card__cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

/* ---------------------------------------------------------------------------
   Tab strip (explorer style)

   The tabs sit ON the panel's top border and the active one erases its own bottom
   edge into the panel, so the selected tab reads as the front of the box rather than
   a button above it.
   --------------------------------------------------------------------------- */

.tabs {
  margin: 1.5rem 0;
}

.tabs__bar {
  display: flex;
  gap: 4px;
  align-items: flex-end;
  padding: 0 0.5rem;
  margin: 0;
  /* The box line the tabs come out of. */
  border-bottom: 1px solid rgba(0, 0, 0, 0.22);
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}

.tabs__tab {
  position: relative;
  /* Sits over the bar's 1px border so the active tab can erase it. */
  bottom: -1px;
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.25rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  color: var(--color-muted);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.tabs__tab:hover {
  background: rgba(96, 165, 250, 0.16);
  color: var(--color-text);
}

.tabs__tab.is-active {
  background: var(--color-bg);
  color: var(--color-text);
  /* Erases the bar's border under this tab: the tab and the panel become one box. */
  border-bottom-color: var(--color-bg);
  /* A light-blue cap, matching the action buttons. */
  box-shadow: inset 0 3px 0 0 #60a5fa;
  z-index: 1;
}

.tabs__tab:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -3px;
}

.tabs__panel {
  padding: 1.25rem 1.1rem;
  /* Completes the box the active tab is attached to. */
  border: 1px solid rgba(0, 0, 0, 0.22);
  border-top: none;
  border-radius: 0 0 10px 10px;
  background: var(--color-bg);
}

.tabs__panel[hidden] {
  display: none;
}

/* Inside a tab the section chrome is redundant - the panel already frames it. */
.tabs__panel > .music-section {
  border: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.tabs__panel > .music-section:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .tabs__bar {
    padding: 0 0.25rem;
  }

  .tabs__tab {
    padding: 0.5rem 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .tabs__panel {
    padding: 1rem 0.85rem;
  }
}

/* ---------------------------------------------------------------------------
   Album project header: small square cover beside the title
   --------------------------------------------------------------------------- */

.album-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.album-header__cover {
  /* ~2 inches square. Explicit width AND height, plus object-fit, so a portrait or
     panoramic upload is cropped to the square rather than stretching the header. */
  width: 2in;
  height: 2in;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.04);
}

.album-header__text {
  flex: 1 1 14rem;
  min-width: 0;
}

.album-header__title {
  margin: 0 0 0.15rem;
  overflow-wrap: anywhere;
}

.album-header__artist,
.album-header__meta {
  margin: 0 0 0.15rem;
}

@media (max-width: 560px) {
  .album-header__cover {
    width: 1.25in;
    height: 1.25in;
  }

}

/* ---------------------------------------------------------------------------
   Upload progress bar (injected by upload-progress.js next to a file input)
   --------------------------------------------------------------------------- */

.upload-progress {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;
  width: 100%;
}

.upload-progress__track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.upload-progress__fill {
  height: 100%;
  width: 0%;
  background: var(--color-accent);
  transition: width 0.15s ease;
}

.upload-progress--error .upload-progress__fill {
  background: #dc2626;
}

.upload-progress__text {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.upload-progress--error .upload-progress__text {
  color: #dc2626;
}

.hdr-links { display: grid; gap: 0.5rem; margin-bottom: 0.75rem; }
.hdr-links__row { display: grid; grid-template-columns: 1fr 9rem 1.5fr 6.5rem auto auto auto; gap: 0.5rem; align-items: center; }
@media (max-width: 720px) { .hdr-links__row { grid-template-columns: 1fr 1fr; } }

.category-manager__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.category-manager__chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.2rem 0.3rem 0.2rem 0.75rem; border: 1px solid currentColor; border-radius: 999px; opacity: 0.9; }
.category-manager__x { border: 0; background: transparent; color: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 0.35rem; }
.category-manager__x:hover { color: #ef4444; }

/* Your Account hub: the Modules tile grid, with each tile a link. */
a.module-tile--link {
  color: inherit;
  text-decoration: none !important;
  cursor: pointer;
}

a.module-tile--link:hover,
a.module-tile--link:focus-visible {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent) inset;
}

a.module-tile--link:hover .module-tile__icon,
a.module-tile--link:focus-visible .module-tile__icon {
  color: var(--color-accent);
}

.your-account__footer {
  display: flex;
  justify-content: center;
  margin: 0 0 2rem;
}

/* "Create New Project" tile: shaped like an album card, with a + where the cover goes. */
button.music-album-card--new {
  font: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

.music-album-card__cover--new {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 2px dashed rgba(0, 0, 0, 0.28);
  background: rgba(0, 0, 0, 0.03);
  color: var(--color-muted);
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

/* The plus is an SVG sized as a share of the tile, so it stays centred and proportional. */
.music-album-card__cover--new svg {
  display: block;
  width: 34%;
  height: auto;
  max-width: 104px;
}

button.music-album-card--new:hover .music-album-card__cover--new,
button.music-album-card--new:focus-visible .music-album-card__cover--new {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(37, 99, 235, 0.06);
}

.music-create[hidden] {
  display: none;
}

/* Header tools, left of the logo: icon-only Dashboard link and Edit-mode toggle. */
.header__tools {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__tool-form {
  display: inline-flex;
  margin: 0;
}

.header__tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--color-text) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.header__tool svg {
  width: 22px;
  height: 22px;
  display: block;
}

.header__tool:hover,
.header__tool:focus-visible {
  color: var(--color-accent) !important;
  background: rgba(0, 0, 0, 0.06);
}

.header__tool.is-active,
.header__tool[aria-current="page"] {
  color: var(--color-accent) !important;
  background: rgba(0, 0, 0, 0.06);
}

/* ---------------------------------------------------------------------------
   Inbox Compose: Gmail-style button and floating "New Message" window
   --------------------------------------------------------------------------- */

.inbox-compose-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0.85rem 1.5rem 0.85rem 1.1rem;
  border: 0;
  border-radius: 16px;
  background: #c2e7ff;
  color: #001d35;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
  transition: box-shadow 0.15s ease, background-color 0.15s ease;
}

.inbox-compose-btn:hover,
.inbox-compose-btn:focus-visible {
  background: #b3dcf8;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3), 0 4px 8px 3px rgba(60, 64, 67, 0.15);
}

.compose-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(32, 33, 36, 0.5);
}

.compose {
  position: fixed;
  right: 1.25rem;
  bottom: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  width: min(680px, calc(100vw - 2.5rem));
  height: min(640px, calc(100vh - 5rem));
  background: #fff;
  color: #1f1f1f;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.compose[hidden],
.compose-backdrop[hidden],
.compose [hidden] {
  display: none !important;
}

.compose--min {
  height: auto;
}

.compose--min .compose__form {
  display: none;
}

.compose--max {
  right: 50%;
  bottom: 50%;
  transform: translate(50%, 50%);
  width: min(960px, calc(100vw - 2rem));
  height: min(760px, calc(100vh - 2rem));
  border-radius: 12px;
}

.compose__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem 0.55rem 1rem;
  background: #f2f6fc;
  cursor: pointer;
}

.compose__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #041e49;
}

.compose__bar-actions {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.compose__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #444746;
  cursor: pointer;
}

.compose__icon-btn:hover,
.compose__icon-btn:focus-visible {
  background: rgba(68, 71, 70, 0.12);
}

.compose__form {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0 1rem 0.9rem;
}

.compose__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid #e3e3e3;
}

.compose__label {
  color: #444746;
  font-size: 0.875rem;
}

.compose__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.7rem 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
}

.compose__input::placeholder {
  color: #5f6368;
}

.compose__cc-toggles {
  display: inline-flex;
  gap: 0.6rem;
}

.compose__link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #444746;
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.compose__link-btn:hover,
.compose__link-btn:focus-visible {
  text-decoration: underline;
}

.compose__body {
  flex: 1 1 auto;
  min-height: 8rem;
  padding: 0.85rem 0;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
}

.compose__status {
  min-height: 1.25rem;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  color: #444746;
}

.compose__status--error {
  color: #b3261e;
}

.compose__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compose__send {
  padding: 0.6rem 1.5rem;
  border: 0;
  border-radius: 18px;
  background: #0b57d0;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.compose__send:hover,
.compose__send:focus-visible {
  background: #0a4cb5;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.4);
}

.compose__send:disabled {
  opacity: 0.6;
  cursor: default;
}

@media (max-width: 600px) {
  .compose {
    right: 0;
    width: 100vw;
    height: calc(100vh - 3rem);
    border-radius: 12px 12px 0 0;
  }
}

/* Placeholder cover for an album with no artwork, in the Music-projects card style. */
.music-album-card__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-muted);
}

.access-content__album-grid {
  margin: 0 0 1.5rem;
}

/* ---------------------------------------------------------------------------
   Album player page (YouTube Music style)
   --------------------------------------------------------------------------- */

.yt-album__back {
  margin: 1rem 0 0.5rem;
}

.yt-album {
  margin: 0 0 2rem;
  padding: 2.25rem 2rem 3rem;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(180deg, #2a2521 0%, #0e0d0c 45%, #000 78%);
}

.yt-album__layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.yt-album__side {
  position: sticky;
  top: 1rem;
  text-align: center;
}

.yt-album__artist {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.yt-album__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #3c3c3c;
  font-size: 0.7rem;
  font-weight: 700;
}

.yt-album__cover {
  display: block;
  width: min(305px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

.yt-album__cover--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #211f1d;
  color: #777;
}

.yt-album__title {
  margin: 1.3rem 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
}

.yt-album__meta {
  margin: 0.15rem 0;
  color: #aaa;
  font-size: 1rem;
}

.yt-album__desc {
  max-width: 21rem;
  margin: 1rem auto 0;
  color: #aaa;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-album__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.yt-btn:hover,
.yt-btn:focus-visible {
  background: rgba(255, 255, 255, 0.24);
}

.yt-btn:active {
  transform: scale(0.96);
}

.yt-btn--play {
  width: 80px;
  height: 80px;
  background: #fff;
  color: #000 !important;
}

.yt-btn--play:hover,
.yt-btn--play:focus-visible {
  background: #e4e4e4;
}

.yt-btn [hidden] {
  display: none !important;
}

.yt-tracks {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yt-track {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  outline: none;
}

.yt-track:hover,
.yt-track:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.yt-track.is-unavailable {
  cursor: default;
  opacity: 0.55;
}

.yt-track.is-unavailable:hover {
  background: transparent;
}

.yt-track--empty {
  display: block;
  color: #aaa;
  cursor: default;
}

.yt-track__num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 1.05rem;
}

.yt-track__i {
  display: none;
  color: #fff;
}

.yt-track:not(.is-unavailable):hover .yt-track__n {
  display: none;
}

.yt-track:not(.is-unavailable):hover .yt-track__i--play {
  display: inline-flex;
}

.yt-track.is-current .yt-track__n {
  display: none;
}

.yt-track.is-current .yt-track__i--play {
  display: inline-flex;
}

.yt-track.is-current.is-playing .yt-track__i--play {
  display: none;
}

.yt-track.is-current.is-playing .yt-track__i--pause {
  display: inline-flex;
}

.yt-track__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.yt-track__title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
}

.yt-track__sub {
  margin-top: 0.15rem;
  color: #aaa;
  font-size: 0.9rem;
}

.yt-track__progress {
  display: block;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.yt-track__progress[hidden] {
  display: none;
}

.yt-track__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
}

.yt-track__time {
  color: #aaa;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 860px) {
  .yt-album {
    padding: 1.5rem 1rem 2rem;
  }

  .yt-album__layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .yt-album__side {
    position: static;
  }
}

/* Cloudflare Turnstile widget inside the contact form. */
.contact-form__turnstile {
  margin: 0.25rem 0 1rem;
  min-height: 65px;
}

/* ============ Files module (manager_files.html / js/files.js) ============ */
.files-page { min-width: 0; width: 100%; }
.files-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; }
.files-toolbar__link { font-size: 0.9rem; font-weight: 500; color: var(--color-muted); text-decoration: none; }
.files-toolbar__link:hover { text-decoration: underline; }
.files-btn {
  font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer;
  padding: 0.5rem 0.9rem; border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.18); background: #fff; color: var(--color-text);
}
.files-btn:hover:not(:disabled) { background: rgba(0, 0, 0, 0.05); }
.files-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.files-btn--primary { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.files-btn--primary:hover:not(:disabled) { background: var(--color-accent-hover); }
.files-btn--accent { border-color: rgba(37, 99, 235, 0.4); color: var(--color-accent); }
.files-alert { margin: 0.75rem 0; padding: 0.65rem 0.9rem; border-radius: 8px; font-size: 0.9rem; }
.files-alert--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.files-alert--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.files-empty { text-align: center; padding: 3rem 1rem; border: 2px dashed rgba(0, 0, 0, 0.12); border-radius: 12px; }
.files-empty__title { margin: 0 0 0.25rem; font-size: 1.05rem; color: var(--color-muted); }
.files-card { position: relative; margin-bottom: 1rem; padding: 1rem 1.1rem; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 12px; background: #fff; }
.files-card__summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.files-card__info { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; min-width: 0; }
.files-card__name { margin: 0; font-size: 1.05rem; }
.files-card__actions, .files-card__footer { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.files-card__footer { margin-top: 1rem; }
.files-card__remove { position: absolute; top: 0.5rem; right: 0.6rem; border: none; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--color-muted); }
.files-card__remove:hover { color: #b91c1c; }
.files-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1rem; padding-right: 1.5rem; }
.files-grid__wide { grid-column: span 2; }
.files-field { display: flex; flex-direction: column; gap: 0.3rem; }
.files-field__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); }
.files-field__input { font: inherit; padding: 0.55rem 0.7rem; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 8px; min-width: 0; }
.files-form__footer { display: flex; justify-content: flex-end; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.files-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.files-modal[hidden] { display: none; }
.files-modal__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.55); }
.files-modal__panel { position: relative; display: flex; flex-direction: column; width: min(720px, 100%); max-height: min(80vh, 100%); background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.files-modal__header { display: flex; align-items: center; justify-content: space-between; padding: 0.8rem 1rem; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.files-modal__title { font-weight: 700; word-break: break-all; }
.files-modal__close { border: none; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--color-muted); }
.files-modal__crumbs { padding: 0.5rem 1rem; font-size: 0.8rem; color: var(--color-muted); border-bottom: 1px solid rgba(0, 0, 0, 0.06); white-space: nowrap; overflow-x: auto; }
.files-crumb { cursor: pointer; color: var(--color-accent); }
.files-crumb:hover { text-decoration: underline; }
.files-modal__list { flex: 1; min-height: 8rem; overflow-y: auto; }
.files-item { display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 1rem; font-size: 0.9rem; border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
.files-item--folder { cursor: pointer; font-weight: 600; }
.files-item:hover { background: rgba(0, 0, 0, 0.04); }
.files-item__name { flex: 1; min-width: 0; word-break: break-all; }
.files-item__size { font-size: 0.75rem; color: var(--color-muted); white-space: nowrap; }
.files-item--video .files-item__name { color: #047857; }
.files-item--image .files-item__name { color: #0369a1; }
.files-state { padding: 1.5rem 1rem; text-align: center; color: var(--color-muted); font-size: 0.9rem; }
.files-state--error { color: #b91c1c; }
.files-modal__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.75rem 1rem; border-top: 1px solid rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.03); }
.files-modal__hint { font-size: 0.8rem; color: var(--color-muted); flex: 1; min-width: 0; word-break: break-all; }
.files-modal__buttons { display: flex; gap: 0.5rem; }
@media (max-width: 640px) {
  .files-grid { grid-template-columns: minmax(0, 1fr); padding-right: 0; }
  .files-grid__wide { grid-column: auto; }
  .files-modal { padding: 0; }
  .files-modal__panel { width: 100%; height: 100%; max-height: none; border-radius: 0; }
}

/* ============ Module upload storage (module_storage_editor.html) ============ */
.module-storage__row { display: flex; gap: 0.5rem; align-items: stretch; }
.module-storage__row .account-field__input { flex: 1; min-width: 0; }

/* ============ Art Gallery (manager screens + public page) ============ */
.art-create { margin: 0 0 1.25rem; }
.art-create__toggle { display: inline-block; cursor: pointer; list-style: none; }
.art-create__toggle::-webkit-details-marker { display: none; }
.art-create__form, .art-form { display: grid; gap: 0.85rem; max-width: 42rem; margin-top: 0.85rem; }
.art-form__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.art-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 1rem; }
.art-card { display: flex; flex-direction: column; gap: 0.2rem; color: inherit; text-decoration: none; }
.art-card__frame { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #f1f5f9; border: 1px solid rgba(0, 0, 0, 0.08); }
.art-card__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-card:hover .art-card__frame { box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35); }
.art-card__name { font-weight: 700; margin-top: 0.35rem; }
.art-status { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; background: #e2e8f0; color: #475569; }
.art-status--on { background: #dcfce7; color: #166534; }
.art-section { margin: 1.75rem 0; padding-top: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.art-section__title { margin: 0 0 0.5rem; font-size: 1.1rem; }
.art-cover { display: flex; align-items: flex-end; gap: 1rem; margin-top: 1rem; }
.art-cover__image { width: 10rem; max-height: 8rem; object-fit: cover; border-radius: 8px; }
.art-pieces { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.art-piece { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 0.5rem 1.25rem; align-items: start; padding: 1rem; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; }
.art-piece__image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; grid-row: span 2; }
.art-piece__form { display: grid; gap: 0.6rem; }
.art-gallery { padding: 2.5rem 0 4rem; }
.art-gallery__title { margin: 0 0 2rem; }
.art-gallery__collection { margin-bottom: 3.5rem; }
.art-gallery__head { margin-bottom: 1.25rem; }
.art-gallery__name { margin: 0; }
.art-gallery__desc { max-width: 46rem; }
.art-gallery__grid { list-style: none; margin: 0; padding: 0; column-count: var(--art-columns, 3); column-gap: 1.25rem; }
.art-gallery__item { break-inside: avoid; margin: 0 0 1.5rem; }
.art-gallery__link { display: block; overflow: hidden; border-radius: 6px; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14); }
.art-gallery__image { display: block; width: 100%; height: auto; transition: transform 0.25s ease; }
.art-gallery__link:hover .art-gallery__image { transform: scale(1.03); }
.art-gallery__caption { display: flex; flex-direction: column; gap: 0.1rem; margin: 0.55rem 0 0; }
@media (max-width: 900px) { .art-gallery__grid { column-count: min(var(--art-columns, 3), 2); } }
@media (max-width: 560px) {
  .art-gallery__grid { column-count: 1; }
  .art-form__row { grid-template-columns: minmax(0, 1fr); }
  .art-piece { grid-template-columns: minmax(0, 1fr); }
  .art-piece__image { grid-row: auto; max-width: 16rem; }
}

/* ============ Account settings (account/settings.html) ============ */
.settings-block { margin: 1.5rem 0; padding-top: 1.25rem; border-top: 1px solid rgba(0, 0, 0, 0.1); }
.settings-block__title { margin: 0 0 0.25rem; font-size: 1.1rem; }
.settings-block__label { margin-left: 0.5rem; font-weight: 600; }
.settings-block .lang-switch { margin-top: 0.5rem; }
.settings-block .switch { margin-top: 0.5rem; }

/* ============ Employee registry, Paystubs, module versions ============ */
.module-tile__version { font-weight: 500; margin-left: 0.25rem; }
.module-tile__warn { margin: 0.4rem 0 0; padding: 0.4rem 0.6rem; border-radius: 8px; background: #fef3c7; color: #92400e; }
.module-tile__update { display: grid; gap: 0.4rem; margin: 0.6rem 0 0; padding: 0.55rem 0.65rem; border-radius: 8px; background: #dbeafe; color: #1e3a8a; }
.module-version__flag { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.55rem; border-radius: 999px; background: #dbeafe; color: #1e3a8a; font-size: 0.75rem; font-weight: 700; }
.module-version__log { margin-top: 0.6rem; }
.module-version__list { margin: 0.4rem 0 0; padding-left: 1.1rem; display: grid; gap: 0.25rem; }
.module-version__list .is-new { font-weight: 600; }

.emp-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0.75rem 0 1rem; }
.emp-filter .account-field__input { max-width: 18rem; }
.emp-status { font-size: 0.75rem; font-weight: 700; padding: 0.15rem 0.6rem; border-radius: 999px; background: #e2e8f0; color: #475569; }
.emp-status--on { background: #dcfce7; color: #166534; }
.emp-row--inactive td { opacity: 0.6; }
.emp-form { display: grid; gap: 0.85rem; max-width: 46rem; margin-top: 0.85rem; }
.emp-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.75rem; }
.emp-form__hint { margin: -0.4rem 0 0; }
.emp-errors { max-width: 46rem; margin: 0.85rem 0; padding: 0.7rem 1rem; border-radius: 10px; background: #fee2e2; color: #991b1b; }
.emp-errors ul { margin: 0.3rem 0 0; padding-left: 1.2rem; }
.emp-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.75rem; margin: 0.75rem 0 1rem; }
.emp-totals > div { display: grid; gap: 0.15rem; padding: 0.65rem 0.8rem; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; }
.emp-totals strong { font-size: 1.15rem; }
.emp-notes, .emp-docs { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.75rem; max-width: 46rem; }
.emp-note { padding: 0.75rem 0.9rem; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; }
.emp-note__body { margin: 0 0 0.4rem; }
.emp-note__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
.emp-doc { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.9rem; padding: 0.6rem 0.9rem; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 10px; }
.emp-inline { display: inline; margin: 0 0 0 auto; }

.pay-actions { display: flex; align-items: center; gap: 0.6rem; }
.pay-run { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.pay-line { position: sticky; top: 1rem; padding: 0.9rem; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; }
.pay-line__title { margin: 0 0 0.6rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pay-line__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.pay-line__link { display: grid; gap: 0.05rem; padding: 0.5rem 0.65rem; border-radius: 8px; color: inherit; text-decoration: none; border: 1px solid transparent; }
a.pay-line__link:hover { background: rgba(37, 99, 235, 0.08); }
.pay-line__name { font-weight: 600; }
.pay-line__state { font-weight: 700; }
.pay-line__item--current .pay-line__link { background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.45); }
.pay-line__item--current .pay-line__state { color: #1d4ed8; }
.pay-line__item--done .pay-line__state { color: #166534; }
.pay-line__item--skipped { opacity: 0.55; }
.pay-employee { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-bottom: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.pay-employee__name { margin: 0; }
.pay-employee__rates { font-size: 1.05rem; }
.pay-form { display: grid; gap: 1rem; }
.pay-form__start { max-width: 18rem; }
.pay-days .account-field__input { max-width: 9rem; }
.pay-day__label { white-space: nowrap; font-weight: 600; }
.pay-day__first { font-variant-numeric: tabular-nums; }
.pay-deductions { display: grid; gap: 0.5rem; margin: 0; padding: 0; border: 0; }
.pay-deduction { display: grid; grid-template-columns: minmax(0, 1fr) 9rem auto; gap: 0.5rem; align-items: center; }
.pay-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 0.6rem; padding: 0.8rem; border-radius: 12px; background: rgba(37, 99, 235, 0.06); }
.pay-summary > div { display: grid; gap: 0.1rem; }
.pay-summary strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.pay-finished { display: grid; gap: 0.75rem; justify-items: start; }
.pay-finished__list { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; }
.pay-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(15, 23, 42, 0.55); }
.pay-modal__box { width: min(28rem, 100%); padding: 1.5rem; border-radius: 16px; background: #ffffff; color: #0f172a; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.pay-modal__title { margin: 0 0 0.6rem; }
.pay-modal__text { margin: 0 0 0.3rem; font-size: 1.05rem; }
.pay-modal__buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.1rem; }

.paystub-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.paystub-toolbar .dev-back { margin: 0; }
.paystub-delete { margin: 1.25rem 0 0; }
.paystub { --ps-paper: #ffffff; --ps-ink: #0f172a; --ps-muted: #64748b; --ps-line: #e2e8f0; --ps-band: #f1f5f9; --ps-accent: #1d4ed8; --ps-net: #ecfdf5; --ps-net-ink: #065f46; --ps-minus: #b91c1c; width: min(46rem, 100%); margin: 0 auto; padding: 2.25rem 2.5rem; border: 1px solid var(--ps-line); border-radius: 14px; background: var(--ps-paper); color: var(--ps-ink); box-shadow: 0 10px 40px rgba(15, 23, 42, 0.12); font-variant-numeric: tabular-nums; }
.paystub__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding-bottom: 1rem; border-bottom: 3px solid var(--ps-accent); }
.paystub__company { margin: 0 0 0.15rem; font-size: 0.95rem; font-weight: 700; color: var(--ps-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.paystub__title { margin: 0; font-size: 2rem; line-height: 1.1; color: var(--ps-ink); }
.paystub__ref { margin: 0; text-align: right; font-weight: 700; color: var(--ps-ink); }
.paystub__ref span { font-weight: 500; font-size: 0.85rem; color: var(--ps-muted); }
.paystub__who { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.75rem 1.5rem; margin: 1.1rem 0 0.4rem; }
.paystub__who dt { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ps-muted); }
.paystub__who dd { margin: 0.1rem 0 0; font-size: 1.1rem; font-weight: 700; color: var(--ps-ink); }
.paystub__section { margin: 1.5rem 0 0.5rem; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ps-accent); }
.paystub__table { width: 100%; border-collapse: collapse; color: var(--ps-ink); }
.paystub__table th, .paystub__table td { padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--ps-line); text-align: left; font-weight: 500; color: var(--ps-ink); }
.paystub__table thead th { background: var(--ps-band); font-size: 0.78rem; font-weight: 700; color: var(--ps-muted); }
.paystub__table tbody th { font-weight: 600; }
.paystub__table .num { text-align: right; }
.paystub__table tfoot th, .paystub__table tfoot td { background: var(--ps-band); font-weight: 800; border-bottom: 0; }
.paystub__calc { display: block; font-size: 0.82rem; font-weight: 500; color: var(--ps-muted); }
.paystub__subtotal th, .paystub__subtotal td { font-weight: 800; background: var(--ps-band); }
.paystub__deduction td { color: var(--ps-minus); }
.paystub__net { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.1rem; padding: 0.9rem 1.1rem; border-radius: 12px; background: var(--ps-net); color: var(--ps-net-ink); }
.paystub__net span { font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.paystub__net strong { font-size: 1.9rem; }
.paystub__comments { margin: 0; padding: 0.8rem 1rem; border: 1px solid var(--ps-line); border-radius: 10px; min-height: 3.2rem; color: var(--ps-ink); overflow-wrap: anywhere; }
.paystub__none { color: var(--ps-muted); }
.paystub__footer { margin: 1.25rem 0 0; font-size: 0.85rem; text-align: center; color: var(--ps-muted); }
@media (max-width: 800px) {
  .pay-run { grid-template-columns: minmax(0, 1fr); }
  .pay-line { position: static; }
  .pay-deduction { grid-template-columns: minmax(0, 1fr) 7rem auto; }
}
@media (max-width: 520px) {
  .paystub { padding: 1.25rem 1rem; }
  .paystub__title { font-size: 1.5rem; }
  .paystub__net strong { font-size: 1.5rem; }
}
.paystub__nodeductions th { color: var(--ps-muted); font-weight: 500; font-style: italic; }
.access-fields { display: contents; }
.access-fields__modules { margin: 0; padding: 0.75rem 0.9rem; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 10px; }
.access-fields__hint { margin: 0.2rem 0 0.6rem; }
.access-fields__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 0.4rem 1rem; }
.access-fields__newrole[hidden] { display: none; }

/* ===== Landing page: modular business platform ===== */
.hero--landing {
  height: auto;
  max-height: none;
  min-height: clamp(30rem, 64vh, 40rem);
  align-items: center;
}

.hero--landing .hero__overlay {
  background: linear-gradient(180deg, rgba(8, 12, 24, 0.66) 0%, rgba(8, 12, 24, 0.8) 100%);
}

.hero--landing .hero__content {
  max-width: 56rem;
  padding: 4.5rem 1rem 5rem;
}

.hero--landing .hero__title {
  color: #fff;
  text-transform: none;
  font-size: clamp(2rem, 5.2vw, 3.4rem);
  line-height: 1.1;
  max-width: 20ch;
  letter-spacing: -0.01em;
}

.hero__sub {
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  font-size: clamp(1rem, 2vw, 1.175rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff !important;
  background: transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lp-lede {
  margin: 0.75rem auto 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.cardinal-body main > #modules,
.cardinal-body main > #how,
.cardinal-body main > #included,
.cardinal-body main > #setups {
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* Trust strip */
.lp-trust {
  background: #f1f5f9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.lp-trust__list {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.lp-trust__item {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
}

.lp-trust__item::before {
  content: "✓";
  margin-right: 0.45rem;
  font-weight: 800;
  color: var(--color-accent);
}

/* How it works */
.lp-steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.lp-step {
  position: relative;
  padding: 1.5rem 1.375rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
}

.lp-step__num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 800;
}

.lp-step__title {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.lp-step__body {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Module cards */
.lp-module-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .lp-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .lp-module-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-module {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.375rem 1.375rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.lp-module--core {
  border-color: rgba(37, 99, 235, 0.45);
}

.lp-module__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.lp-module__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
}

.lp-module__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.lp-module__badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.lp-module__badge--core {
  border-color: transparent;
  background: var(--color-accent);
  color: #fff;
}

.lp-module__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.lp-module__tag {
  margin: 0.15rem 0 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
}

.lp-module__desc {
  margin: 0 0 1rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.lp-module__features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.lp-module__features li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.45;
  font-size: 0.9625rem;
}

.lp-module__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--color-accent);
}

.lp-module__for {
  margin: auto 0 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.lp-module__for-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  margin-right: 0.35rem;
}

.lp-module__try {
  font-weight: 700;
  font-size: 0.9375rem;
}

.lp-module__try::after {
  content: " →";
}

.lp-module--cta {
  justify-content: center;
  align-items: flex-start;
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: #fff;
}

.lp-module--cta .lp-module__desc {
  color: rgba(255, 255, 255, 0.82);
}

/* Included with every site */
.lp-core__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .lp-core__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .lp-core__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-core__item {
  padding: 1.25rem 1.25rem 1.375rem;
  border-left: 4px solid var(--color-accent);
  background: #f8fafc;
  border-radius: 0 10px 10px 0;
}

.lp-core__item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 800;
}

.lp-core__item p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Example setups */
.lp-combo-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .lp-combo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .lp-combo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-combo {
  padding: 1.25rem 1.25rem 1.375rem;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
}

.lp-combo h3 {
  margin: 0 0 0.3rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.lp-combo p {
  margin: 0 0 0.6rem;
  color: var(--color-muted);
  line-height: 1.55;
}

.lp-combo .lp-combo__mods {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Access-request form */
.lp-perks {
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.lp-perks li {
  position: relative;
  padding-left: 1.6rem;
  font-weight: 600;
}

.lp-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 800;
  color: var(--color-accent);
}

.lp-pick {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lp-pick legend {
  padding: 0;
  margin-bottom: 0.4rem;
}

.lp-pick__grid {
  display: grid;
  gap: 0.4rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
}

.lp-pick__opt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9625rem;
}

.lp-pick__opt input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--color-accent);
}

/* ===== Site Builder: the published page (templates/site_builder/, pages/site_builder.py) =====
   Sections are full width. Inside each one, .sb-grid is a snap grid: a page margin column,
   24 content columns of at most 50px (1200px), and a page margin column; rows are 10px
   minimum and grow when an element's text needs more room. Elements are placed with
   grid lines from custom properties (--c/--r/--w/--h, phones --mc/--mr/--mw/--mh). */
.sb-page {
  container: sbpage / inline-size;
}

.sb-section {
  position: relative;
  color: var(--sb-sfg, inherit);
  scroll-margin-top: calc(var(--header-h) + 0.5rem);
}

/* Tones are plain colours (not custom properties) so the dark theme generator remaps them. */
.sb-tone-muted {
  background-color: #f6f6f6;
}

.sb-tone-soft {
  background-color: #f1f5f9;
}

.sb-tone-sky {
  background-color: #e3f9fc;
}

.sb-tone-dark {
  background-color: #0f172a;
  color: #f8fafc;
}

.sb-tone-accent {
  background-color: #2563eb;
  color: #ffffff;
}

.sb-tone-custom {
  background-color: var(--sb-sbg, transparent);
}

.sb-tone-dark .sb-muted,
.sb-tone-accent .sb-muted {
  color: rgba(255, 255, 255, 0.78);
}

.sb-section--img {
  background-image: var(--sb-sbgi);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sb-bgfit-contain {
  background-size: contain;
}

.sb-bgfit-repeat {
  background-size: auto;
  background-repeat: repeat;
}

.sb-section--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 24, var(--sb-sov, 0));
  pointer-events: none;
}

.sb-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) repeat(24, minmax(0, 50px)) minmax(1rem, 1fr);
  grid-template-rows: repeat(var(--rows, 20), minmax(10px, auto));
  grid-auto-rows: 10px;
}

.sb-el {
  position: relative;
  grid-column: var(--c) / span var(--w);
  grid-row: var(--r) / span var(--h);
  z-index: var(--z, 1);
  min-width: 0;
  min-height: 0;
  container: sbel / inline-size;
}

.sb-el--full {
  grid-column: 1 / -1;
}

.sb-hd {
  display: none;
}

.sb-el__box {
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: var(--sb-va, flex-start);
  min-height: 100%;
  padding: var(--sb-pad, 0);
  border: var(--sb-bw, 0) solid var(--sb-bc, transparent);
  border-radius: var(--sb-rad, 0);
  background: var(--sb-bg, transparent);
  color: var(--sb-fg, inherit);
  text-align: var(--sb-al, inherit);
  opacity: var(--sb-op, 1);
}

.sb-el--media > .sb-el__box {
  overflow: hidden;
}

/* Panels follow the light / dark display (plain colours, so the dark generator remaps them). */
.sb-surface-card > .sb-el__box {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background-color: #ffffff;
}

.sb-surface-tint > .sb-el__box {
  background-color: #f1f5f9;
}

.sb-surface-dark > .sb-el__box {
  background-color: #0f172a;
  color: #f8fafc;
}

.sb-el.sb-has-bg > .sb-el__box {
  background-color: var(--sb-bg, transparent);
}

.sb-has-fg .sb-heading,
.sb-has-fg .sb-rich,
.sb-has-fg .sb-muted,
.sb-has-fg .sb-contact .contact-field__label,
.sb-has-fg .sb-contact .contact-form__hint {
  color: var(--sb-fg);
}

.sb-sh-sm > .sb-el__box {
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.sb-sh-md > .sb-el__box {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.sb-sh-lg > .sb-el__box {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

@container sbpage (max-width: 767px) {
  .sb-grid {
    grid-template-columns: 1rem repeat(6, minmax(0, 1fr)) 1rem;
    grid-template-rows: repeat(var(--mrows, 20), minmax(10px, auto));
  }

  .sb-el {
    grid-column: var(--mc) / span var(--mw);
    grid-row: var(--mr) / span var(--mh);
  }

  .sb-el--full {
    grid-column: 1 / -1;
  }

  .sb-hd {
    display: block;
  }

  .sb-hm {
    display: none;
  }

  .sb-heading {
    font-size: max(1rem, calc(var(--fs, 32px) * 0.72));
  }
}

/* Spanish copies: shown instead of the English one while the page is in Spanish. */
html:not([data-lang="es"]) .sb-es {
  display: none !important;
}

html[data-lang="es"] .sb-has-es > .sb-en {
  display: none !important;
}

/* Media elements fill their box. */
.sb-fill,
.sb-img,
.sb-box,
.sb-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.sb-frame {
  border: 0;
}

.sb-img {
  max-width: none;
  object-fit: var(--fit, cover);
  object-position: var(--pos, center);
}

.sb-img-link {
  display: block;
}

.sb-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 100%;
  padding: 0.75rem;
  border: 2px dashed rgba(37, 99, 235, 0.35);
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.05);
  color: #475569;
  font-size: 0.875rem;
  text-align: center;
  list-style: none;
}

.sb-el--media .sb-empty {
  position: absolute;
  inset: 0;
}

.sb-empty strong {
  font-size: 1rem;
  color: #1e3a8a;
}

/* Text */
.sb-heading {
  margin: 0;
  font-size: var(--fs, 32px);
  font-weight: var(--fw, 800);
  line-height: 1.15;
  letter-spacing: calc(var(--ls, 0) * 0.01em);
  overflow-wrap: anywhere;
}

.sb-upper {
  text-transform: uppercase;
}

.sb-muted {
  color: var(--color-muted);
}

.sb-rich {
  font-size: var(--fs, 17px);
  line-height: var(--lh, 160%);
  overflow-wrap: anywhere;
}

.sb-rich p,
.sb-rich ul,
.sb-rich ol,
.sb-rich blockquote,
.sb-rich h2,
.sb-rich h3,
.sb-rich h4 {
  margin: 0 0 0.75em;
}

.sb-rich > div > :last-child {
  margin-bottom: 0;
}

.sb-rich ul,
.sb-rich ol {
  padding-left: 1.4em;
}

.sb-rich li[data-list="bullet"] {
  list-style-type: disc;
}

.sb-rich li[data-list="ordered"] {
  list-style-type: decimal;
}

.sb-rich .ql-ui {
  display: none;
}

.sb-rich blockquote {
  padding-left: 1em;
  border-left: 3px solid var(--color-accent);
}

.sb-rich .ql-align-center {
  text-align: center;
}

.sb-rich .ql-align-right {
  text-align: right;
}

.sb-rich .ql-align-justify {
  text-align: justify;
}

.sb-rich .ql-size-small {
  font-size: 0.8em;
}

.sb-rich .ql-size-large {
  font-size: 1.4em;
}

.sb-rich .ql-size-huge {
  font-size: 2em;
}

.sb-rich .ql-indent-1 {
  padding-left: 2em;
}

.sb-rich .ql-indent-2 {
  padding-left: 4em;
}

.sb-has-fg .sb-rich a {
  color: inherit;
  text-decoration: underline;
}

/* Buttons */
/* An inline-flex button follows the box's text alignment (left / centre / right). */
.sb-btn-wrap {
  display: block;
}

.sb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border: 2px solid transparent;
  border-radius: 4px;
  background: var(--sb-btn-bg, var(--color-accent));
  color: var(--sb-btn-fg, #ffffff) !important;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.sb-btn:hover {
  filter: brightness(1.08);
}

/* White buttons usually sit on photos: custom properties keep them white in dark display. */
.sb-btn--primary {
  --sb-on-photo-bg: #ffffff;
  --sb-on-photo-fg: #0f0f0f;
  background: var(--sb-btn-bg, var(--sb-on-photo-bg));
  color: var(--sb-btn-fg, var(--sb-on-photo-fg)) !important;
}

.sb-btn--dark {
  background: var(--sb-btn-bg, #0f172a);
  color: var(--sb-btn-fg, #ffffff) !important;
}

.sb-btn--outline {
  border-color: var(--sb-btn-bg, var(--color-accent));
  background: transparent;
  color: var(--sb-btn-fg, var(--color-accent)) !important;
}

.sb-btn--ghost {
  --sb-on-photo-line: rgba(255, 255, 255, 0.85);
  --sb-on-photo-fg: #ffffff;
  border-color: var(--sb-btn-bg, var(--sb-on-photo-line));
  background: transparent;
  color: var(--sb-btn-fg, var(--sb-on-photo-fg)) !important;
}

.sb-btn--ghost:hover,
.sb-btn--outline:hover {
  background: rgba(127, 127, 127, 0.14);
  filter: none;
}

.sb-btn--link {
  padding-inline: 0;
  border: 0;
  background: transparent;
  color: var(--sb-btn-fg, var(--color-accent)) !important;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline !important;
}

.sb-btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.75rem;
}

.sb-btn--lg {
  padding: 1.05rem 2.5rem;
  font-size: 1rem;
}

.sb-btn--stretch {
  display: flex;
  width: 100%;
}

/* Line */
.sb-divider {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  margin: 0;
  border: 0;
  border-top: var(--t, 2px) var(--dst, solid) var(--dc, rgba(15, 23, 42, 0.15));
  transform: translateY(-50%);
}

/* Slideshow */
/* Arrows and dots are drawn on the photos, so their colours are custom properties: the
   dark theme generator leaves those alone. */
.sb-slideshow {
  --sb-ctl-bg: rgba(15, 23, 42, 0.45);
  --sb-ctl-bg-hover: rgba(15, 23, 42, 0.75);
  --sb-ctl-fg: #ffffff;
  --sb-ctl-line: rgba(255, 255, 255, 0.9);
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0f172a;
}

.sb-slideshow__track {
  position: absolute;
  inset: 0;
}

.sb-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--fx, 800ms) ease, transform var(--fx, 800ms) ease;
}

.sb-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.sb-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: var(--fit, cover);
}

.sb-fx-slide .sb-slide {
  opacity: 1;
  transform: translateX(100%);
}

.sb-fx-slide .sb-slide.is-active {
  transform: translateX(0);
}

.sb-fx-slide .sb-slide.is-prev {
  transform: translateX(-100%);
}

.sb-fx-slide .sb-slide:not(.is-active):not(.is-prev) {
  transition: none;
}

.sb-fx-zoom .sb-slide img {
  transform: scale(1);
  transition: transform var(--int, 6s) linear;
}

.sb-fx-zoom .sb-slide.is-active img {
  transform: scale(1.08);
}

.sb-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(8, 12, 24, var(--ov, 0.4));
  pointer-events: none;
}

.sb-slideshow__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--sb-ctl-bg);
  color: var(--sb-ctl-fg);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.sb-slideshow__arrow:hover,
.sb-slideshow__arrow:focus-visible {
  background: var(--sb-ctl-bg-hover);
}

.sb-slideshow__arrow--prev {
  left: 0.75rem;
}

.sb-slideshow__arrow--next {
  right: 0.75rem;
}

.sb-slideshow__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.85rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.sb-slideshow__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid var(--sb-ctl-line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.sb-slideshow__dot.is-active {
  background: var(--sb-ctl-fg);
}

/* Carousel: two identical tracks slide left by exactly one track, forever. */
.sb-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sb-carousel__inner {
  display: flex;
  gap: var(--gap, 16px);
  width: max-content;
  height: 100%;
  animation: sb-carousel var(--sb-dur, 40s) linear infinite;
}

.sb-carousel--right .sb-carousel__inner {
  animation-direction: reverse;
}

.sb-carousel--pause:hover .sb-carousel__inner {
  animation-play-state: paused;
}

.sb-carousel__track {
  display: flex;
  gap: var(--gap, 16px);
  height: 100%;
}

.sb-carousel__track img {
  width: auto;
  height: 100%;
  max-width: none;
  border-radius: var(--irad, 8px);
  object-fit: cover;
}

@keyframes sb-carousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - var(--gap, 16px) / 2));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sb-carousel {
    overflow-x: auto;
  }

  .sb-carousel__inner {
    animation: none;
  }

  .sb-carousel__track[aria-hidden="true"] {
    display: none;
  }

  .sb-slide,
  .sb-fx-zoom .sb-slide img {
    transition: none;
  }
}

/* FAQ */
.sb-faq {
  display: grid;
  gap: 0.75rem;
}

/* Cards: at most --cols per row, fewer when the element is too narrow for them. */
.sb-cards {
  --gap: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(14rem, calc((100% - (var(--cols, 3) - 1) * var(--gap)) / var(--cols, 3))), 1fr));
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-card {
  position: relative;
  min-width: 0;
  text-align: left;
}

.sb-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.125rem;
  font-weight: 800;
}

.sb-card__body {
  margin: 0 0 0.6rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.sb-card__body:last-child {
  margin-bottom: 0;
}

.sb-card__note {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.875rem;
  font-weight: 700;
}

.sb-cards--steps .sb-card,
.sb-cards--bordered .sb-card {
  padding: 1.5rem 1.375rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  background: #ffffff;
}

.sb-card__num {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  font-weight: 800;
}

.sb-cards--accent .sb-card {
  padding: 1.25rem 1.25rem 1.375rem;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 10px 10px 0;
  background: #f8fafc;
}

.sb-cards--checks {
  --gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(max(12rem, calc((100% - (var(--cols, 3) - 1) * 2rem) / var(--cols, 3))), 1fr));
  column-gap: 2rem;
}

.sb-cards--inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
}

.sb-card__check {
  display: block;
  padding-left: 1.5rem;
  font-weight: 600;
  text-indent: -1.5rem;
}

.sb-card__check::before {
  content: "✓";
  display: inline-block;
  width: 1.5rem;
  text-indent: 0;
  color: var(--color-accent);
  font-weight: 800;
}

.sb-cards--inline .sb-card__check {
  font-size: 0.9375rem;
}

/* Gadgets reuse the landing page's card styles; only the grid adapts to the box. */
.sb-modules.lp-module-grid {
  grid-template-columns: repeat(auto-fit, minmax(max(16rem, calc((100% - (var(--cols, 3) - 1) * 1.25rem) / var(--cols, 3))), 1fr));
}

.sb-products.products-grid {
  grid-template-columns: repeat(auto-fit, minmax(max(13rem, calc((100% - (var(--cols, 3) - 1) * 1.25rem) / var(--cols, 3))), 1fr));
}

.sb-contact {
  text-align: left;
  color: var(--sb-fg, inherit);
}

/* The Style tab's Background/Text colour (--sb-bg/--sb-fg, set on the .sb-el ancestor) were being
   hidden by .contact-card's own hardcoded white background (cardinal.css ~line 772) painted on
   top of it. .contact-card is only this element's "Show on a white card" option switched on; the
   :not() rule covers it switched off, so a custom colour applies either way, and leaving it unset
   keeps exactly today's look (a white card, or none). */
.sb-contact.contact-card {
  background: var(--sb-bg, #fff);
}

.sb-contact:not(.contact-card) {
  background: var(--sb-bg, transparent);
}

.sb-contact .contact-form__row {
  grid-template-columns: minmax(0, 1fr);
}

@container sbel (min-width: 520px) {
  .sb-contact .contact-form__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

/* Business info: the site's contact details. Colours are inherited, so it reads on any
   section tone or panel; labels are dimmed with opacity for the same reason. */
.sb-biz {
  display: grid;
  gap: 0.85rem;
  font-style: normal;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.sb-biz p,
.sb-biz ul {
  margin: 0;
}

.sb-biz__name {
  font-size: 1.25rem;
  font-weight: 800;
}

.sb-biz__person {
  font-weight: 600;
}

.sb-biz__role {
  font-weight: 400;
  opacity: 0.75;
}

.sb-biz__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.sb-biz a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sb-biz__services {
  padding-left: 1.2em;
}

.sb-preview-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 800;
  padding: 0.6rem 1rem;
  background: #fef3c7;
  color: #78350f;
  font-size: 0.9375rem;
  text-align: center;
  box-shadow: 0 1px 0 rgba(120, 53, 15, 0.2);
}
