/* ESeye Time Attendance Detail Page — Direction 1 (Kineta Hardware x Dashdocs Spec Hybrid)
   Strictly scoped under body.page-att-v1 so smart locks, access control, and /about remain untouched.
   Loads after base-eseye-v5.css and inner.css.
   NEVER apply overflow: hidden to main, .wrap, or .att-shell so sticky gallery & right rail keep working. */

body.page-att-v1 {
  background: #f5f7f5;
  color: #0f241d;
  overflow-x: clip;
}

.page-att-v1 main,
.page-att-v1 .wrap,
.page-att-v1 .att-body-band,
.page-att-v1 .att-shell,
.page-att-v1 .att-main,
.page-att-v1 .att-rail {
  overflow: visible;
}

.page-att-v1 [data-att-sec],
.page-att-v1 #overview,
.page-att-v1 #anatomy,
.page-att-v1 #wiring,
.page-att-v1 #specs,
.page-att-v1 #before,
.page-att-v1 #compliance,
.page-att-v1 #sustainability,
.page-att-v1 #faq,
.page-att-v1 #related,
.page-att-v1 #contact,
.page-att-v1 #product-versions {
  scroll-margin-top: 96px;
}

/* ---------- Monospace technical tokens ---------- */
.page-att-v1 .crumbs,
.page-att-v1 .att-eyebrow-pill,
.page-att-v1 .gal-count,
.page-att-v1 .att-metric-k,
.page-att-v1 .att-metric-v,
.page-att-v1 .att-metrics dt,
.page-att-v1 .att-metrics dd,
.page-att-v1 .att-versions legend,
.page-att-v1 .att-versions .ver-list label span,
.page-att-v1 .att-specs-jump,
.page-att-v1 .att-trust-row,
.page-att-v1 .att-layer-num,
.page-att-v1 .att-anatomy-num,
.page-att-v1 .att-wiring-bar,
.page-att-v1 .att-wiring-title,
.page-att-v1 .att-copy-btn,
.page-att-v1 .att-pin-k,
.page-att-v1 .att-pin-key,
.page-att-v1 .att-diagram-fig figcaption,
.page-att-v1 .att-specs .spec-group h3,
.page-att-v1 .att-specs .spec-group dt,
.page-att-v1 .att-before .ask i,
.page-att-v1 .att-eco .stage-name,
.page-att-v1 .att-eco .proof,
.page-att-v1 .att-rel-badge,
.page-att-v1 .att-rel-link,
.page-att-v1 .att-toc-h,
.page-att-v1 .att-rail-bar,
.page-att-v1 .att-rail-tag,
.page-att-v1 .att-rail-code,
.page-att-v1 .att-sec-kicker {
  font-family: var(--mono, "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace);
  font-variant-numeric: tabular-nums;
  font-variation-settings: normal;
}

/* ---------- 1. .att-hero (Kineta Split Editorial Hero) ---------- */
.page-att-v1 .att-hero {
  padding: clamp(96px, 8vw, 118px) 0 clamp(40px, 5vw, 60px);
  background: #f5f7f5;
}

.page-att-v1 .att-hero .crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 12.5px;
  color: #4a635a;
}

.page-att-v1 .att-hero .crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: #b7c8bf;
}

.page-att-v1 .att-hero .crumbs a {
  text-decoration: none;
  color: #3e574e;
}

.page-att-v1 .att-hero .crumbs a:hover {
  color: #0e3b2e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-att-v1 .att-hero .crumbs [aria-current] {
  color: #0e3b2e;
  font-weight: 600;
}

.page-att-v1 .att-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

/* Gallery */
.page-att-v1 .att-gal {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.page-att-v1 .att-gal .gal-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
  overflow: hidden;
}

.page-att-v1 .att-gal .gal-main a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.page-att-v1 .att-gal .gal-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(16px, 2.8vw, 34px);
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}

.page-att-v1 .att-gal .gal-count {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  bottom: auto;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(14, 59, 46, .88);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.page-att-v1 .att-gal .thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 2px;
  list-style: none;
}

.page-att-v1 .att-gal .thumbs li {
  flex: 0 0 auto;
}

.page-att-v1 .att-gal .thumbs button {
  flex: none;
  width: 64px;
  height: 64px;
  padding: 4px;
  border-radius: 12px;
  border: 1.5px solid #d8e2dd;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-att-v1 .att-gal .thumbs button:hover {
  border-color: #7ea895;
}

.page-att-v1 .att-gal .thumbs button[aria-current="true"] {
  border: 2px solid #0e3b2e;
  box-shadow: 0 0 0 2px #e6f4ec;
}

.page-att-v1 .att-gal .thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

/* Summary */
.page-att-v1 .att-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.page-att-v1 .att-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #e6f4ec;
  border: 1px solid #c7e3d3;
  color: #0e3b2e;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-att-v1 .att-summary .inner-h1 {
  margin: 0;
  max-width: none;
  font-family: var(--font, "Archivo", system-ui, sans-serif);
  font-variation-settings: "wdth" 110;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #0f241d;
  overflow-wrap: anywhere;
}

.page-att-v1 .att-summary .pd-sub {
  margin: 10px 0 0;
  font-size: clamp(16px, 1.3vw, 18.5px);
  font-weight: 600;
  line-height: 1.4;
  color: #243e35;
}

.page-att-v1 .att-summary .inner-lede {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #3e574e;
  max-width: 58ch;
}

/* Mobile quick actions preserved cleanly */
.page-att-v1 .att-summary .model-mobile-actions {
  display: none;
}

/* 2x2 Metrics Grid */
.page-att-v1 .att-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
}

.page-att-v1 .att-metric,
.page-att-v1 .att-metrics > div {
  min-width: 0;
  border: 1px solid #d8e2dd;
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 16px;
}

.page-att-v1 .att-metric-k,
.page-att-v1 .att-metrics dt {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #4a635a;
}

.page-att-v1 .att-metric-v,
.page-att-v1 .att-metrics dd {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0e3b2e;
  overflow-wrap: anywhere;
}

/* Fit check inside hero */
.page-att-v1 .att-summary .fit {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #0e3b2e;
  border: 1px solid #1d5544;
  color: #eaf6ef;
}

.page-att-v1 .att-summary .fit label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #cbe3d5;
}

.page-att-v1 .att-summary .fit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.page-att-v1 .att-summary .fit input {
  width: 132px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .07);
  color: #ffffff;
  font-family: var(--mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 18px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.page-att-v1 .att-summary .fit input:focus {
  outline: none;
  border-color: #2fbf71;
}

.page-att-v1 .att-summary .fit-row b {
  font-size: 14px;
  font-weight: 500;
  color: #cbe3d5;
}

.page-att-v1 .att-summary .fit-out {
  margin: 10px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  min-height: 2.6em;
  color: #cbe3d5;
}

.page-att-v1 .att-summary .fit-out.ok,
.page-att-v1 .att-summary .fit-out.mid,
.page-att-v1 .att-summary .fit-out.no {
  color: #ffffff;
}

/* Version selector cards */
.page-att-v1 .att-versions {
  border: 0;
  margin: 20px 0 0;
  padding: 0;
}

.page-att-v1 .att-versions legend {
  margin-bottom: 10px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3e574e;
}

.page-att-v1 .att-versions .ver-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.page-att-v1 .att-versions .ver-list label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  min-height: 0;
  padding: 12px 14px 12px 38px;
  border-radius: 12px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-att-v1 .att-versions .ver-list label:hover {
  border-color: #7ea895;
}

.page-att-v1 .att-versions .ver-list input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.page-att-v1 .att-versions .ver-list label::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #6b847a;
  background: #ffffff;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-att-v1 .att-versions .ver-list label.is-checked,
.page-att-v1 .att-versions .ver-list label:has(input:checked) {
  border-color: #0e3b2e;
  background: #eef8f2;
  box-shadow: 0 0 0 1px #0e3b2e;
}

.page-att-v1 .att-versions .ver-list label.is-checked::before,
.page-att-v1 .att-versions .ver-list label:has(input:checked)::before {
  border-color: #0e3b2e;
  box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 9px #0e3b2e;
}

.page-att-v1 .att-versions .ver-list label:has(input:focus-visible) {
  outline: 3px solid #2fbf71;
  outline-offset: 2px;
}

.page-att-v1 .att-versions .ver-list label strong {
  display: block;
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1.3;
  color: #0f241d;
}

.page-att-v1 .att-versions .ver-list label span {
  display: block;
  margin-left: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: #4a635a;
}

/* Primary CTAs */
.page-att-v1 .att-summary .pd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.page-att-v1 .att-summary .pd-cta .prod-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: #2fbf71;
  color: #0f241d;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(15, 122, 72, .55);
  transition: background-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-att-v1 .att-summary .pd-cta .prod-add:hover {
  background: #3dcb7e;
}

.page-att-v1 .att-summary .pd-cta .prod-add.is-picked {
  background: #0e3b2e;
  color: #eaf6ef;
  box-shadow: none;
}

.page-att-v1 .att-summary .pd-cta .btn-ghost {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid #c5d4cd;
  background: #ffffff;
  color: #0e3b2e;
  font-size: 15px;
  font-weight: 600;
}

.page-att-v1 .att-summary .pd-cta .btn-ghost:hover {
  border-color: #0e3b2e;
  background: #eef8f2;
}

.page-att-v1 .att-specs-jump {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 600;
  color: #0e3b2e;
  text-decoration: none;
  border-bottom: 1.5px solid #2fbf71;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-att-v1 .att-specs-jump:hover {
  color: #0f7a48;
  border-bottom-color: #0e3b2e;
}

.page-att-v1 .att-summary .pd-note {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #4a635a;
}

.page-att-v1 .att-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #d8e2dd;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #3e574e;
}

/* ---------- 2. .att-body-band & .att-shell (Dashdocs 2-Column Body Layout) ---------- */
.page-att-v1 .att-body-band {
  border-top: 1px solid #d8e2dd;
  background: #f5f7f5;
  padding: clamp(40px, 5vw, 68px) 0;
}

.page-att-v1 .att-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 276px;
  gap: clamp(28px, 3.5vw, 48px);
  align-items: start;
}

.page-att-v1 .att-main {
  display: flex;
  flex-direction: column;
  gap: 44px;
  min-width: 0;
}

.page-att-v1 .att-sec-head {
  margin-bottom: 18px;
}

.page-att-v1 .att-sec-kicker {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f7a48;
}

.page-att-v1 .att-main h2 {
  margin: 0;
  font-family: var(--font, "Archivo", system-ui, sans-serif);
  font-variation-settings: "wdth" 110;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f241d;
  max-width: 34ch;
}

.page-att-v1 .att-sec-lede {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: #3e574e;
  max-width: 64ch;
}

/* 2a. .att-anatomy (Kineta Dark #0E3B2E Layer Band) */
.page-att-v1 .att-anatomy {
  background: #0e3b2e;
  color: #eaf6ef;
  border-radius: 20px;
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid #1d5544;
}

.page-att-v1 .att-anatomy .att-sec-kicker {
  color: #7ee8ae;
}

.page-att-v1 .att-anatomy h2 {
  color: #ffffff;
}

.page-att-v1 .att-anatomy .att-sec-lede {
  color: #cbe3d5;
}

.page-att-v1 .att-anatomy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.page-att-v1 .att-anatomy-card,
.page-att-v1 .att-layer {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: 20px;
}

.page-att-v1 .att-layer-num,
.page-att-v1 .att-anatomy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 8px;
  background: #154c3b;
  border: 1px solid rgba(126, 232, 174, .24);
  color: #7ee8ae;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.page-att-v1 .att-anatomy-card h3,
.page-att-v1 .att-layer h3 {
  margin: 2px 0 0;
  font-size: 17.5px;
  font-weight: 640;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.page-att-v1 .att-anatomy-card p,
.page-att-v1 .att-layer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #cbe3d5;
}

/* 2b. .att-wiring (Dashdocs Monospace Interface & Pinout Block) */
.page-att-v1 .att-wiring {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #d8e2dd;
  overflow: hidden;
}

.page-att-v1 .att-wiring-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: #102d24;
  color: #eaf6ef;
  font-size: 12.5px;
}

.page-att-v1 .att-wiring-title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cbe3d5;
}

.page-att-v1 .att-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid rgba(126, 232, 174, .32);
  background: rgba(255, 255, 255, .08);
  color: #eaf6ef;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.page-att-v1 .att-copy-btn:hover {
  background: rgba(47, 191, 113, .22);
  border-color: #7ee8ae;
  color: #ffffff;
}

.page-att-v1 .att-copy-btn.is-copied {
  background: #2fbf71;
  border-color: #2fbf71;
  color: #0e3b2e;
}

.page-att-v1 .att-pin-table {
  display: grid;
  margin: 0;
  padding: 0;
}

.page-att-v1 .att-pin-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 8px 20px;
  align-items: baseline;
  padding: 13px 18px;
  border-bottom: 1px solid #e3ebe6;
}

.page-att-v1 .att-pin-row:last-child {
  border-bottom: 0;
}

.page-att-v1 .att-pin-k,
.page-att-v1 .att-pin-key,
.page-att-v1 .att-pin-row dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #0e3b2e;
  overflow-wrap: anywhere;
}

.page-att-v1 .att-pin-v,
.page-att-v1 .att-pin-val,
.page-att-v1 .att-pin-row dd {
  margin: 0;
  min-width: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #243b33;
  overflow-wrap: anywhere;
}

.page-att-v1 .att-diagram-fig {
  margin: 0;
  border-top: 1px solid #d8e2dd;
  padding: 16px;
  background: #f9fbfa;
}

.page-att-v1 .att-diagram-fig img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #e3ebe6;
  background: #ffffff;
}

.page-att-v1 .att-diagram-fig figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #4a635a;
}

/* 2c. .att-specs (Kineta Hairline Spec Groups) */
.page-att-v1 .att-specs {
  background: transparent;
  padding: 0;
}

.page-att-v1 .att-specs .spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.page-att-v1 .att-specs .spec-group {
  border-radius: 16px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
  padding: 20px 22px 8px;
}

.page-att-v1 .att-specs .spec-group h3 {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #d8e2dd;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0e3b2e;
}

.page-att-v1 .att-specs .spec-group dl {
  margin: 0;
}

.page-att-v1 .att-specs .spec-group dl div {
  display: grid;
  grid-template-columns: minmax(150px, 0.36fr) minmax(0, 1fr);
  gap: 8px 20px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid #e3ebe6;
}

.page-att-v1 .att-specs .spec-group dl div:last-child {
  border-bottom: 0;
}

.page-att-v1 .att-specs .spec-group dt {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #3e574e;
}

.page-att-v1 .att-specs .spec-group dd {
  margin: 0;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 550;
  line-height: 1.5;
  color: #0f241d;
  overflow-wrap: anywhere;
}

.page-att-v1 .att-specs .spec-src {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #4a635a;
  max-width: 72ch;
}

/* 2d. .att-before (2x2 grid of .ask cards on #fff) */
.page-att-v1 .att-before .asks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-att-v1 .att-before .ask {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
}

.page-att-v1 .att-before .ask i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e6f4ec;
  color: #0e3b2e;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.page-att-v1 .att-before .ask h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 640;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #0f241d;
}

.page-att-v1 .att-before .ask p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: #3e574e;
}

.page-att-v1 .att-before .ask a {
  color: #0e3b2e;
  font-weight: 600;
  text-underline-offset: 3px;
}

.page-att-v1 .att-before .back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 20px;
}

.page-att-v1 .att-before .back-row a {
  font-size: 14px;
  font-weight: 600;
  color: #0e3b2e;
  text-decoration: none;
  border-bottom: 2px solid #2fbf71;
  padding-bottom: 2px;
}

/* 2e. .att-eco (4-column .life grid + .eco-foot) */
.page-att-v1 .att-eco {
  background: transparent;
  padding: 0;
}

.page-att-v1 .att-eco .life {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.page-att-v1 .att-eco .life::before {
  display: none;
}

.page-att-v1 .att-eco .stage {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
}

.page-att-v1 .att-eco .stage::before {
  display: none;
}

.page-att-v1 .att-eco .stage-name {
  margin: 0;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0f7a48;
}

.page-att-v1 .att-eco .stage h3 {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 640;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: #0f241d;
  max-width: none;
}

.page-att-v1 .att-eco .stage > p:not(.stage-name):not(.proof) {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #3e574e;
}

.page-att-v1 .att-eco .proof {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: #0e3b2e;
}

.page-att-v1 .att-eco .proof::before {
  content: "";
  display: block;
  height: 1px;
  background: #e3ebe6;
  margin-bottom: 10px;
}

.page-att-v1 .att-eco .eco-foot {
  margin-top: 16px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.page-att-v1 .att-eco .eco-foot p {
  margin: 0;
  flex: 1 1 300px;
  font-size: 14.5px;
  line-height: 1.55;
  color: #3e574e;
}

/* 2f. .att-faq (Clean accordion with +/- toggle) */
.page-att-v1 .att-faq-list {
  display: grid;
  gap: 10px;
}

.page-att-v1 .att-faq details {
  border: 1px solid #d8e2dd;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color .18s var(--ease);
}

.page-att-v1 .att-faq details[open] {
  border-color: #8ebaa5;
}

.page-att-v1 .att-faq summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 16px 52px 16px 18px;
  font-size: 16px;
  font-weight: 620;
  line-height: 1.4;
  color: #0f241d;
}

.page-att-v1 .att-faq summary::-webkit-details-marker {
  display: none;
}

.page-att-v1 .att-faq summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eef8f2;
  border: 1px solid #d8e2dd;
  color: #0e3b2e;
  font-family: var(--mono, "IBM Plex Mono", ui-monospace, monospace);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.page-att-v1 .att-faq details[open] summary::after {
  content: "\2212";
  background: #0e3b2e;
  border-color: #0e3b2e;
  color: #ffffff;
}

.page-att-v1 .att-faq summary:hover {
  color: #0e3b2e;
}

.page-att-v1 .att-faq details p,
.page-att-v1 .att-faq details .att-faq-a {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #3e574e;
  max-width: 68ch;
}

/* 2g. .att-related (3-column Kendi-style product cards) */
.page-att-v1 .att-rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.page-att-v1 .att-rel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 16px;
  border: 1px solid #d8e2dd;
  background: #ffffff;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-att-v1 .att-rel-card:hover {
  border-color: #0e3b2e;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -22px rgba(14, 59, 46, .35);
}

.page-att-v1 .att-rel-thumb {
  aspect-ratio: 1 / 1;
  background: #f9fbfa;
  border-bottom: 1px solid #e3ebe6;
  padding: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.page-att-v1 .att-rel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .35s var(--ease);
}

.page-att-v1 .att-rel-card:hover .att-rel-thumb img {
  transform: scale(1.04);
}

.page-att-v1 .att-rel-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.page-att-v1 .att-rel-badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 6px;
  background: #e6f4ec;
  color: #0e3b2e;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-att-v1 .att-rel-card h3 {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
  color: #0f241d;
}

.page-att-v1 .att-rel-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: #3e574e;
}

.page-att-v1 .att-rel-link {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0e3b2e;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.page-att-v1 article.att-rel-card .att-rel-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ---------- 3. Right .att-rail (Sticky Dashdocs TOC + Kendi B2B Quote Rail) ---------- */
.page-att-v1 .att-rail {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.page-att-v1 .att-toc {
  background: #ffffff;
  border: 1px solid #d8e2dd;
  border-radius: 16px;
  padding: 18px;
}

.page-att-v1 .att-toc-h {
  margin: 0 0 12px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a635a;
}

.page-att-v1 .att-toc nav,
.page-att-v1 .att-toc ul {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-att-v1 .att-toc a {
  display: block;
  border-left: 2px solid #e2ebe6;
  padding: 7px 0 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #4a635a;
  text-decoration: none;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-att-v1 .att-toc a:hover {
  color: #0e3b2e;
  border-left-color: #98c2ad;
}

.page-att-v1 .att-toc a.is-active {
  color: #0e3b2e;
  font-weight: 650;
  border-left-color: #2fbf71;
}

/* Kendi B2B Quote Rail */
.page-att-v1 .att-rail-cta {
  background: #ffffff;
  border: 1px solid #d8e2dd;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page-att-v1 .att-rail-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: #0e3b2e;
  color: #7ee8ae;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-att-v1 .att-rail-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-att-v1 .att-rail-thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #e3ebe6;
  background: #f9fbfa;
  padding: 4px;
}

.page-att-v1 .att-rail-model {
  display: block;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.2;
  color: #0f241d;
}

.page-att-v1 .att-rail-code {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #4a635a;
}

.page-att-v1 .att-rail-checks {
  list-style: none;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #e3ebe6;
  border-bottom: 1px solid #e3ebe6;
  display: grid;
  gap: 8px;
}

.page-att-v1 .att-rail-checks li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.4;
  color: #243b33;
}

.page-att-v1 .att-rail-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e6f4ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.2 7.2l2.4 2.4 5.2-5.2' fill='none' stroke='%230E3B2E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;
}

.page-att-v1 .att-rail-actions {
  display: grid;
  gap: 8px;
}

.page-att-v1 .att-rail-cta [data-product],
.page-att-v1 .att-rail-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 10px;
  background: #0e3b2e;
  border: 1.5px solid #0e3b2e;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  text-align: center;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.page-att-v1 .att-rail-cta [data-product]:hover,
.page-att-v1 .att-rail-quote:hover {
  background: #2fbf71;
  border-color: #2fbf71;
  color: #0f241d;
}

.page-att-v1 .att-rail-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #d8e2dd;
  background: #f9fbfa;
  color: #0e3b2e;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}

.page-att-v1 .att-rail-wa:hover {
  border-color: #0e3b2e;
  background: #eef8f2;
}

/* ---------- 4. Responsive Rules ---------- */
@media (max-width: 1080px) {
  .page-att-v1 .att-shell {
    grid-template-columns: 1fr;
  }

  .page-att-v1 .att-rail {
    position: static;
  }

  .page-att-v1 .att-toc {
    display: none;
  }
}

@media (max-width: 900px) {
  .page-att-v1 .att-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-att-v1 .att-gal {
    position: static;
  }

  .page-att-v1 .att-eco .life {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-att-v1 .att-rel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-att-v1 .att-summary .model-mobile-actions {
    display: grid;
    gap: 6px;
    margin-top: 14px;
  }

  .page-att-v1 .att-summary .model-mobile-actions .btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .page-att-v1 .att-summary .model-mobile-actions > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0 18px;
  }

  .page-att-v1 .att-summary .model-mobile-actions > div a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    font-size: 14px;
    font-weight: 600;
    color: #0e3b2e;
  }

  .page-att-v1 .att-gal .gal-main:has(+ .thumbs) {
    touch-action: pan-y pinch-zoom;
  }
}

@media (max-width: 640px) {
  .page-att-v1 .att-hero {
    padding-top: 94px;
  }

  .page-att-v1 .att-gal .thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .page-att-v1 .att-gal .thumbs::-webkit-scrollbar {
    display: none;
  }

  .page-att-v1 .att-gal .thumbs button {
    width: 56px;
    height: 56px;
  }

  .page-att-v1 .att-metrics,
  .page-att-v1 .att-anatomy-grid,
  .page-att-v1 .att-before .asks,
  .page-att-v1 .att-eco .life,
  .page-att-v1 .att-rel-grid,
  .page-att-v1 .att-versions .ver-list {
    grid-template-columns: 1fr;
  }

  .page-att-v1 .att-pin-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-att-v1 .att-specs .spec-group dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .page-att-v1 .att-summary .pd-cta .prod-add,
  .page-att-v1 .att-summary .pd-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .page-att-v1 .att-specs-jump {
    margin-left: 0;
  }

  .page-att-v1 .att-eco .eco-foot .btn {
    width: 100%;
  }
}
