.sello-tech .sello-tech-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-bottom: 38px;
}
.sello-tech .sello-tech-cards details {
  background: #fff;
  border: 1px solid #d4e2ec;
  border-radius: 5px;
  transition: transform .24s, border-color .24s, box-shadow .24s;
}
.sello-tech .sello-tech-cards details:hover,
.sello-tech .sello-tech-cards details[open] {
  border-color: #0072bc;
  box-shadow: 0 5px 16px #0b18360c;
}
@media (hover:hover) {
  .sello-tech .sello-tech-cards details:hover { transform: translateY(-3px); }
}
.sello-tech summary { cursor: pointer; list-style: none; }
.sello-tech summary::-webkit-details-marker { display: none; }
.sello-tech .sello-tech-cards summary {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 215px;
  padding: 20px;
}
.sello-tech .sello-tech-cards svg { width: 24px; height: 24px; color: #0072bc; }
.sello-tech .sello-tech-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .05em;
  color: #176393;
}
.sello-tech .sello-tech-cards strong { color: #0b1836; font-size: 17px; line-height: 1.4; }
.sello-tech .sello-tech-cards summary > span:last-child { font-size: 13px; line-height: 1.65; color: #465f73; }
.sello-tech .sello-tech-cards summary::after { content: '+'; color: #0072bc; margin-top: auto; }
.sello-tech .sello-tech-cards details[open] summary::after { content: '−'; }
.sello-tech .sello-tech-cards details > p {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid #dce6ee;
  font-size: 13px;
  line-height: 1.75;
}
.sello-tech .sello-tech-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}
.sello-tech .sello-tech-tabs button {
  background: #f0f6fa;
  color: #164d72;
  border: 1px solid #d4e2ec;
  border-radius: 4px;
  min-height: 44px;
  padding: 8px 16px;
  font: 500 13px/1.5 Poppins, sans-serif;
  cursor: pointer;
  transition: background .24s, color .24s, box-shadow .24s;
}
.sello-tech .sello-tech-tabs [aria-selected="true"] {
  color: #fff;
  background: #0072bc;
  border-color: #0072bc;
  box-shadow: inset 0 -3px #004d80;
}
.sello-tech [hidden] { display: none !important; }
.sello-tech table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sello-tech th, .sello-tech td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid #dce6ee;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.sello-tech thead { background: #edf5fa; color: #123753; }
.sello-tech tbody tr:hover { background: #f7fafc; }
.sello-tech td summary { color: #0064a4; font-weight: 500; }
.sello-tech td summary > span:first-child { margin-right: 6px; }
.sello-tech td details p { margin: 9px 0 0; color: #465f73; font-size: 13px; }
.sello-tech :focus-visible { outline: 2px solid #0072bc; outline-offset: 3px; }
.sello-tech-enter { animation: sello-tech-reveal .52s ease both; }
.sello-tech [role="tabpanel"]:not([hidden]), .sello-tech details[open] > p {
  animation: sello-tech-reveal .24s ease both;
}
@keyframes sello-tech-reveal {
  from { opacity: .45; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1000px) {
  .sello-tech .sello-tech-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .sello-tech table, .sello-tech tbody, .sello-tech tr, .sello-tech td, .sello-tech tbody th { display: block; }
  .sello-tech thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sello-tech tbody tr { border: 1px solid #dce6ee; border-radius: 4px; margin-bottom: 10px; padding: 11px 14px; }
  .sello-tech tbody th, .sello-tech td { border: 0; padding: 4px 0; }
  .sello-tech .sello-tech-cards summary { min-height: 190px; padding: 16px; }
}
@media (max-width: 420px) {
  .sello-tech .sello-tech-cards { grid-template-columns: 1fr; }
  .sello-tech .sello-tech-cards summary { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sello-tech, .sello-tech * { animation: none !important; transition: none !important; }
  .sello-tech .sello-tech-cards details:hover { transform: none; }
}

.sd-page:has(.somir-native-3d.is-ready) #system-cut.sello-cut-section {
  display: block;
}
.sello-cut-section:has(.somir-native-3d.is-ready) .epoxy-cut-layout,
.sello-cut-section:has(.somir-native-3d.is-ready) .sello-cut-palette-fallback {
  display: none;
}
.sello-cut-section .sello-cut-palette {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 8px;
  border-top: 1px solid #dce6ee;
  font: 500 12px/1.6 Poppins, sans-serif;
}
.sello-cut-section .sello-cut-palette a { color: #0064a4; text-decoration: underline; }
.sello-cut-section .sello-cut-palette p { flex-basis: 100%; margin: 0; font-size: 11px; color: #465f73; }

.sello-cut-section .zoom { flex-wrap: wrap; justify-content: flex-end; }
.sello-cut-section .sello-capture-error {
  flex-basis: 100%;
  padding: 8px;
  background: #fff;
  color: #8a2331;
  font-size: 12px;
}

.epoxy-system-reference #sd-context .sello-use-track {
  display: flex;
  perspective: 1000px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 14px;
  scrollbar-width: thin;
}
.sello-use-track::before, .sello-use-track::after {
  content: '';
  flex: 0 0 calc(25% - 24px);
}
.sello-use-track > article {
  flex: 0 0 50%;
  scroll-snap-align: center;
  min-width: 0;

  transform: scale(.94);
  transition: transform .25s ease;
}
.sello-use-track > article.is-current {
  transform: translateZ(0);
  z-index: 1;
}
.sello-use-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 12px; }
.sello-use-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #cadce9;
  border-radius: 4px;
  background: #fff;
  color: #0064a4;
  cursor: pointer;
}
.sello-use-controls button:hover { background: #edf5fa; }
.sello-use-controls button:disabled { opacity: .4; cursor: default; }
.sello-use-controls button:focus-visible, .sello-use-track:focus-visible {
  outline: 2px solid #0072bc;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .epoxy-system-reference #sd-context .sello-use-track {
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .sello-use-track > article { flex-basis: 72%; }
  .sello-use-track::before, .sello-use-track::after { flex-basis: calc(14% - 12px); }
}

.sello-tech .sello-demand-control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}
.sello-tech .sello-demand-control select {
  max-width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #cadce9;
  border-radius: 4px;
  background: #fff;
  color: #0b1836;
  font: inherit;
}
.sello-tech .sello-demand-note {
  margin: 8px 0 16px;
  font-size: 12px;
  color: #465f73;
}
.sello-tech .sello-demand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  color: #164d72;
  font-weight: 600;
}
.sello-tech .sello-demand meter { width: min(120px, 65%); height: 14px; accent-color: #0072bc; }
.sello-tech .sello-demand meter::-webkit-meter-optimum-value { background: #0072bc; }
.sello-tech .sello-demand meter::-moz-meter-bar { background: #0072bc; }

.sello-cover {
  background: #fff;
  color: #102847;
  padding-block: clamp(2.75rem, 7vw, 7rem);
}
.sello-cover .sd-hero-grid {
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.sello-cover :is(.sd-breadcrumb, .sd-breadcrumb a, .sd-intro) {
  color: #46596e;
}
.sello-cover .sd-eyebrow {
  color: #006ba6;
}
.sello-cover .sello-cover-copy {
  min-width: 0;
  border-inline-start: 3px solid #55baff;
  padding-inline-start: clamp(1rem, 2.5vw, 2.5rem);
}
.sello-cover h1 {
  color: #102847;
  font-size: clamp(2rem, 4vw, 3.75rem);
  text-transform: none;
  letter-spacing: -.025em;
  line-height: 1.02;
  text-wrap: balance;
  margin-block: .5rem 1rem;
}
.sello-cover .sd-text-link {
  display: inline-block;
  padding: .75rem 1rem;
  background: #a4ddff;
  color: #07152a;
  border: 1px solid #a4ddff;
}
.sello-cover .sd-text-link:hover,
.sello-cover .sd-text-link:focus-visible {
  background: #fff;
}
.epoxy-system-reference .sello-cover .sd-photo {
  position: relative;
  padding: clamp(.45rem, 1vw, .85rem);
  border: 1px solid #7599b9;
  border-radius: 4px;
  background: #f4f7fa;
  box-shadow: 0 12px 30px #050c1940;
}
.epoxy-system-reference .sello-cover .sd-photo::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0 0 auto auto;
  width: 22%;
  height: 3px;
  background: #69c4ff;
  pointer-events: none;
}

.sello-cover > .sd-wrap {
  width: min(92%, 1500px);
  max-width: none;
}
@media (min-width: 1024px) {
  .sello-cover .sd-hero-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  }
}
/* Shared rhythm for the individual system sheets. */
.epoxy-system-reference .sello-cover > .sd-wrap,
.epoxy-system-reference .sd-section > .sd-wrap {
  width: min(92%, 1500px);
  max-width: none;
}
.epoxy-system-reference :is(#sd-context, #system-dimensions, #system-cut, #system-limits) {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-top: 1px solid #d4e2ec;
}
.epoxy-system-reference :is(#sd-context, #system-dimensions, #system-cut, #system-limits) .sd-section-head {
  margin-block: 0 clamp(1.25rem, 3vw, 2rem);
}
.epoxy-system-reference .sd-section-head h2 {
  margin: 0;
  color: #0b1836;
  line-height: 1.15;
  text-wrap: balance;
}
.epoxy-system-reference .sd-section-head h2 span {
  color: #0072bc;
}
.epoxy-system-reference .sd-section-head .sd-eyebrow {
  margin-block: 0 .65rem;
}
.epoxy-system-reference .sd-section-head .sd-reading {
  margin-block: .75rem 0;
}
.epoxy-system-reference #system-dimensions .system-difference-grid {
  gap: 16px;
}
.epoxy-system-reference #system-dimensions .system-difference-grid > article {
  background: #fff;
  border: 1px solid #d4e2ec;
  border-radius: 5px;
  padding: clamp(1rem, 2vw, 1.25rem);
}
.epoxy-system-reference #system-dimensions .system-difference-grid > article h3 {
  color: #0b1836;
}
.epoxy-system-reference #system-cut #system-colors {
  margin-block: 0 1.25rem;
  padding: .75rem 1rem;
  border: 1px solid #d4e2ec;
  border-radius: 5px;
  background: #f0f6fa;
}
.epoxy-system-reference #system-cut #system-colors summary {
  color: #164d72;
  cursor: pointer;
}
.epoxy-system-reference [data-cut-capture] {
  padding: .65rem .9rem;
  border: 1px solid #d4e2ec;
  border-radius: 4px;
  background: #f0f6fa;
  color: #164d72;
  cursor: pointer;
}
.epoxy-system-reference [data-cut-capture]:is(:hover, :focus-visible) {
  border-color: #0072bc;
}

/* The live viewer now sits inside the numbered cut section. */
.epoxy-system-reference:has(.somir-native-3d.is-ready) #system-cut {
  display: block;
}
.epoxy-system-reference #system-cut:has(.somir-native-3d.is-ready):not(:has(.somir-native-3d:not(.is-ready))) :is(.epoxy-cut-layout, .solution-native-detail) {
  display: none;
}
.epoxy-system-reference #system-dimensions .sello-tech-cards summary {
  min-height: 9rem;
}

/* Match the title scale and 2:1 cover frame across system sheets. */
.epoxy-system-reference .sello-cover h1 {
  font-size: clamp(2rem, 4vw, 3.75rem) !important;
  line-height: 1.02;
}
.epoxy-system-reference .sello-cover .sd-photo {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 2 / 1 !important;
  height: auto !important;
  min-height: 0;
  max-height: none;
}
.epoxy-system-reference .sello-cover .sd-photo > img {
  display: block;
  width: 100%;
  height: 100% !important;
  max-height: none;
  object-fit: contain !important;
  object-position: center !important;
}

/* Technical guide on the Sello epoxico sheet. */
#system-dimensions.sello-tech-guide .sd-section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  text-transform: none;
  letter-spacing: -.02em;
}
#system-dimensions.sello-tech-guide .sello-tech-cards details {
  border-top: 3px solid #0072bc;
}
#system-dimensions.sello-tech-guide .sello-tech-cards summary {
  min-height: 11rem;
  padding: 1.2rem;
}
.sello-tech-guide .sello-tech-cards strong {
  font-size: 1.12rem;
}
.sello-tech-guide .sello-tech-cards summary:focus-visible {
  outline: 2px solid #0072bc;
  outline-offset: 3px;
}
.sello-tech-guide .sello-spec-heading {
  border-top: 1px solid #d4e2ec;
  padding-top: 1.5rem;
}
.sello-tech-guide .sello-spec-heading h3 {
  margin: 0 0 .4rem;
  color: #0b1836;
}
.sello-tech-guide .sello-spec-heading p {
  margin: 0;
  color: #465f73;
  line-height: 1.65;
}
