/* Club Abarth / VOID-RIG: shared telemetry and active controls. */
.admin-shell {
  --cadastros-gutter: clamp(14px, 2.4vw, 30px);
  --cadastros-canvas: #101016;
  --cadastros-line: rgb(238 240 250 / 13%);
}
.admin-shell .club-ledger { min-width: 0; }
.admin-shell .club-ledger th {
  padding: 12px 14px;
  color: var(--rig-ice);
  font: 600 .69rem/1.35 var(--rig-mono);
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}
.admin-shell .club-ledger td { padding: 10px 14px; white-space: nowrap; }
.admin-shell .club-ledger td :is(a,button) { white-space: inherit; }
.admin-shell .club-ledger tr:not(.ledger-bands) :is(th,td):first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--cadastros-canvas);
  box-shadow: 1px 0 var(--cadastros-line);
}
.admin-shell .club-ledger tr:not(.ledger-bands) th:first-child { z-index: 2; }
.admin-shell .club-ledger tbody tr:hover { background: rgb(145 233 255 / 5%); }
.admin-shell .club-ledger :is(a,button):focus-visible,
.club-portal :is(.order-kanban,.order-trip) :is(a,button):focus-visible { outline: 2px solid var(--rig-ice); outline-offset: 3px; }

/* Isolated palette and continuous bands from the approved workshop reference. */
.shop-landing.workshop-reference {
  display: block;
  overflow: hidden;
  background: var(--workshop-surface);
  color: var(--workshop-ink);
  border-radius: 0;
  --workshop-gutter: clamp(20px, 5.1%, 72px);
  --workshop-section: clamp(34px, 5vw, 74px);
  --workshop-copy: color-mix(in srgb, currentColor 84%, transparent);
  --workshop-light-accent: color-mix(in srgb, var(--workshop-accent), #160800 22%);
}
.workshop-reference :is(p,h1,h2,h3,blockquote) { margin: 0; color: inherit; }
.workshop-reference h1 { line-height: 1.18; letter-spacing: -.028em; }
.workshop-reference h2 { font-size: clamp(1.36rem, 2.5vw, 2.3rem); line-height: 1.18; letter-spacing: -.024em; }
.workshop-reference h3 { font-size: clamp(.96rem, 1.48vw, 1.2rem); line-height: 1.35; }
.workshop-reference em { color: var(--workshop-accent); font-style: normal; font-weight: 700; }
.workshop-reference .workshop-band { padding: var(--workshop-section) var(--workshop-gutter); }
.workshop-reference .workshop-kicker { margin-bottom: .55rem; text-transform: uppercase; font-size: .67rem; font-weight: 700; letter-spacing: .055em; }
.workshop-reference .workshop-action,
.workshop-reference .workshop-secondary {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  min-width: min(100%, 150px);
  min-height: 40px;
  padding: .58rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 2px;
  background: var(--workshop-accent);
  color: var(--workshop-accent-ink);
  text-align: center;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
}
.workshop-reference .workshop-secondary { background: none; border-color: currentColor; color: inherit; }
.workshop-reference .workshop-action:hover { filter: brightness(1.12); }
.workshop-reference :is(button,a,summary):focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.club-site .workshop-reference .shop-landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  min-height: clamp(380px, 48vw, 640px);
  padding: 0;
  border: 0;
  border-radius: 0 0 clamp(26px, 5.4vw, 72px) clamp(26px, 5.4vw, 72px);
  background: var(--workshop-surface);
  color: var(--workshop-ink);
  isolation: isolate;
  overflow: hidden;
}
.workshop-reference .shop-landing-hero::before { display: none; }
.workshop-reference .shop-landing-photo { min-width: 0; width: 100%; height: 100%; margin: 0; }
.workshop-reference .shop-landing-photo :is(img,video) { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; object-fit: cover; }
.workshop-reference .shop-landing-intro {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: clamp(13px, 2.15vw, 31px);
  padding: clamp(34px, 6.6vw, 90px) clamp(23px, 5vw, 68px) clamp(42px, 7.4vw, 115px);
}
.workshop-reference .workshop-brand { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; }
.workshop-reference .shop-landing-intro h1 { font-size: clamp(1.48rem, 2.65vw, 2.8rem); font-weight: 700; line-height: 1.35; }
.workshop-reference mark { color: #202020; background: #fff; padding-inline: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.workshop-partners {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 9px;
  padding-top: clamp(17px, 4.9vw, 62px);
}
.workshop-partners ul { display: flex; flex: 1; min-width: 0; gap: clamp(9px, 1.85vw, 23px); overflow-x: auto; list-style: none; padding: 0; margin: 0; scrollbar-width: thin; }
.workshop-partners li { display: flex; align-items: center; gap: 5px; white-space: nowrap; color: var(--workshop-copy); font-size: .76rem; font-weight: 700; }
.workshop-partners .icon { width: 1.1rem; height: 1.1rem; }
.workshop-media-link, .workshop-scroll-notch { display: inline-grid; place-items: center; border: 0; cursor: pointer; }
.workshop-media-link { flex: 0 0 40px; min-width: 40px; min-height: 40px; color: inherit; background: transparent; }
.workshop-scroll-notch {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(60px, 10vw, 117px);
  height: 34px;
  background: var(--workshop-band);
  color: var(--workshop-light-accent);
  border-radius: 45% 45% 0 0 / 90% 90% 0 0;
}
.workshop-scroll-notch .icon { rotate: 90deg; }
.workshop-reference .shop-evidence,
.workshop-reference .shop-reviews { background: var(--workshop-band); color: var(--workshop-band-ink); border: 0; border-radius: 0; }
.workshop-reference :is(.shop-evidence,.shop-reviews) :is(.workshop-kicker,em) { color: var(--workshop-light-accent); }
.workshop-reference .shop-evidence { display: grid; gap: clamp(16px, 3.4vw, 43px); }
.workshop-reference .shop-evidence > .workshop-action,
.workshop-reference .shop-service-panel > .workshop-action { justify-self: center; }
.workshop-reference .shop-evidence dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: clamp(18px, 3vw, 42px) 5px;
  background: var(--workshop-surface);
  color: var(--workshop-ink);
  border-radius: 5px;
}
.workshop-reference .shop-evidence dl div { min-width: 0; display: grid; justify-items: center; padding: 4px 8px; gap: 7px; text-align: center; }
.workshop-reference .shop-evidence dd { margin: 0; color: var(--workshop-accent); font-size: clamp(1.34rem, 3.6vw, 3.15rem); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.workshop-reference .shop-evidence dt { font-size: .8rem; line-height: 1.35; }
.workshop-reference .workshop-dark { background: var(--workshop-surface); color: var(--workshop-ink); }
.workshop-reference .shop-service-panel { display: grid; gap: clamp(21px, 4.1vw, 52px); }
.workshop-reference .shop-service-panel header { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(16px, 5vw, 65px); align-items: end; }
.workshop-reference .shop-service-panel header > p { color: var(--workshop-copy); max-width: 45ch; justify-self: end; }
.workshop-reference .shop-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 40px); }
.workshop-reference .shop-service-grid article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
  padding: clamp(14px, 2.3vw, 31px);
  border: 1px solid color-mix(in srgb, currentColor 11%, transparent);
  border-radius: 5px;
  background: linear-gradient(color-mix(in srgb, var(--workshop-surface), currentColor 9%), var(--workshop-surface));
}
.workshop-reference .shop-service-grid h3,
.workshop-reference .shop-service-grid li { display: flex; align-items: start; gap: 7px; }
.workshop-reference .shop-service-grid :is(h3,li) .icon { flex: 0 0 1em; color: var(--workshop-accent); }
.workshop-reference .shop-service-grid li { font-size: .86rem; line-height: 1.4; }
.workshop-reference .shop-service-grid ul { display: grid; gap: 5px; padding: 0; margin: 0; list-style: none; }
.workshop-reference .shop-service-grid p { font-size: .84rem; color: var(--workshop-copy); }
.workshop-reference .workshop-cases { display: grid; gap: clamp(17px, 3vw, 41px); padding-top: clamp(18px, 3vw, 35px); }
.workshop-case-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(22px, 7vw, 100px); }
.workshop-case-grid > div { display: grid; justify-items: start; gap: 12px; }
.workshop-case-grid blockquote { font-size: clamp(1rem, 2vw, 1.6rem); font-weight: 550; font-style: italic; line-height: 1.4; }
.workshop-case-grid p, .workshop-case-media figcaption { color: var(--workshop-copy); font-size: .75rem; }
.workshop-case-media { min-width: 0; margin: 0; }
.workshop-case-media :is(video,img) { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 6px; }
.workshop-case-media figcaption { margin-top: 4px; }
.workshop-extra-gallery summary { cursor: pointer; width: fit-content; padding-block: 8px; font-size: .86rem; }
.workshop-extra-gallery[open] summary { margin-bottom: 12px; }
.workshop-reference .shop-reviews { display: grid; grid-template-columns: 1.64fr 1fr; align-items: center; gap: clamp(17px, 5vw, 65px); }
.workshop-reference .shop-reviews-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 12px; }
.workshop-reference .shop-reviews-list > details { grid-column: 1/-1; }
.workshop-reference .shop-reviews-list .shop-review {
  width: 100%;
  margin: 0;
  padding: clamp(13px, 2vw, 23px);
  border: 0;
  background: #fff;
  color: #252525;
  box-shadow: 0 9px 34px rgb(31 31 31 / 10%);
}
.workshop-reference .shop-review :is(blockquote,p,figcaption,span,time) { color: inherit; }
.workshop-reference .shop-review figcaption { display: grid; justify-items: start; gap: 5px; font-size: .71rem; }
.workshop-reference .shop-rating, .workshop-reference .shop-rating-value { color: inherit; }
.workshop-reference .shop-reviews-summary { display: grid; justify-items: start; gap: 11px; }
.workshop-review-count { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: .79rem; }
.workshop-reference .workshop-final { position: relative; isolation: isolate; display: grid; gap: clamp(16px, 3vw, 35px); justify-items: stretch; background: #231e18; color: #fff; }
.workshop-reference .workshop-final h2 { text-align: center; font-size: clamp(1.55rem, 3.4vw, 3.35rem); }
.workshop-form-background, .workshop-form-background::after { position: absolute; inset: 0; z-index: -1; }
.workshop-form-background::after { content: ""; background: linear-gradient(112deg, rgb(19 13 8 / 60%), rgb(10 9 8 / 78%)); }
.workshop-form-background img { width: 100%; height: 100%; object-fit: cover; }
.workshop-intake-panel {
  min-width: 0;
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: clamp(17px, 2.8vw, 35px);
  border-radius: 5px;
  background: var(--workshop-accent);
  color: var(--workshop-accent-ink);
}
.workshop-intake-panel > :is(h3,p) { text-align: center; }
.workshop-intake-panel > p { font-size: .83rem; }
.workshop-intake-fields { display: grid; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 12px 8px; }
.workshop-intake-fields :is(label,input,select) { min-width: 0; }
.workshop-intake-fields label { display: grid; gap: 2px; color: inherit; font-size: .72rem; font-weight: 700; }
.workshop-reference .workshop-intake-fields :is(input:not([type=checkbox]),select) {
  width: 100%;
  min-height: 40px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: color-mix(in srgb, var(--workshop-accent), #fff 64%);
  color: #21130d;
  box-shadow: none;
  font-size: .8rem;
}
.workshop-reference .workshop-intake-fields :is(input,select)::placeholder { color: #402215; }
.workshop-intake-fields .form-note, .workshop-intake-fields .workshop-intake-consent { grid-column: 1/-1; }
.workshop-intake-fields .workshop-intake-consent { display: flex; align-items: center; gap: 6px; }
.workshop-intake-submit {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 6px 12px;
  background: #300900;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.workshop-details { display: grid; gap: 29px; }
.workshop-reference .shop-faq { display: grid; gap: 11px; }
.workshop-reference .shop-faq details { padding: 9px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.workshop-reference .shop-faq summary { display: flex; gap: 10px; justify-content: space-between; align-items: center; min-height: 35px; cursor: pointer; }
.workshop-reference [id] { scroll-margin-top: 90px; }
.shop-public { width: min(1320px, 100%); padding-inline: 0; }
@media (max-width: 740px) {
  .club-site .workshop-reference .shop-landing-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .workshop-reference .shop-landing-photo { aspect-ratio: 16/10; }
  .workshop-reference .shop-landing-intro { grid-column: 1; grid-row: auto; }
  .workshop-reference .workshop-band { padding-inline: clamp(15px, 5vw, 28px); }
  .workshop-reference .shop-service-panel header, .workshop-reference .shop-reviews, .workshop-case-grid { grid-template-columns: minmax(0, 1fr); }
  .workshop-reference .shop-service-panel header > p { justify-self: start; }
  .workshop-reference .shop-reviews-summary { grid-row: 1; }
  .workshop-reference .shop-service-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
  .workshop-intake-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 415px) {
  .workshop-reference .shop-evidence dl, .workshop-reference .shop-reviews-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .workshop-reference .shop-reviews-list { grid-template-columns: minmax(0, 1fr); }
}

/* The order remains open while its conversation is visible. */
.club-portal .order-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; }
.club-portal .order-card-actions button { margin: 0; }
.club-portal .order-card-signals { display: grid; gap: 4px; margin: 9px 0 0; }
.club-portal .order-card-signals div { display: flex; gap: 6px; flex-wrap: wrap; justify-content: space-between; }
.club-portal .order-card-signals dt { color: var(--rig-copy); font: .715rem var(--rig-mono); }
.club-portal .order-card-signals dd { margin: 0; color: var(--rig-ice); font-size: .76rem; overflow-wrap: anywhere; }
.club-portal .order-kanban { scrollbar-color: var(--rig-stroke) #101016; }
.club-portal .order-kanban .order-pipeline-card { margin-inline: 8px; }
.club-portal .order-kanban .order-pipeline-card:last-child { margin-bottom: 8px; }
.club-portal #order-metrics { margin-block: 16px 8px; }
.club-portal #order-metrics strong { color: var(--rig-ice); font-variant-numeric: tabular-nums; }
.club-portal #order-metrics small { color: var(--rig-copy); }
body[data-page=portal] .portal-notification-hub { max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 680px) {
  body[data-order-chat="open"] .portal-notification-hub { visibility: hidden; }
}
