/* =========================================================
   Karat-QCC — Üretim sayfası (production.html)
   Fikir: "Ters yüz". Bir giysiyi ters çevirince nasıl yapıldığı görünür.
   Her aşamanın bir dışı (yaptığımız iş) ve bir içi (Karat'ta nasıl
   kontrol edildiği, sizden ne gerektiği) var.
   Giriş: sürüklenen dikiş çizgisiyle dış / iç fotoğraf ·
   01 sekiz aşama kartı (tek tek ya da hepsi birden ters çevrilir) ·
   02 iplik sayma lupu ile yakın bakış (kendi ilerleyen odak noktaları) ·
   03 sıradaki aşama sizin (iletişim).
   Ortak değişkenler ve parçalar style.css'te.
   ========================================================= */

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

/* =========================================================
   GİRİŞ — dış / iç
   ========================================================= */
.io-hero { padding: calc(var(--head) + clamp(28px, 3.8vw, 64px)) 0 clamp(60px, 6.4vw, 108px); background: var(--paper); overflow: hidden; }
.io-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 5.6vw, 110px); align-items: center; }
.io-hero h1 { font-size: clamp(1.95rem, 1.2rem + 1.7vw, 2.95rem); margin: 22px 0 18px; max-width: 12em; }
.io-hero .lead { max-width: 33em; }

.io-split { position: relative; }
.io-frame {
  --x: 50; position: relative; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden;
  background: var(--mist); box-shadow: var(--shadow-lg); isolation: isolate;
  touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none;
}
.io-layer { position: absolute; inset: 0; }
.io-layer img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.io-in { z-index: 1; clip-path: inset(0 0 0 calc(var(--x) * 1%)); }

/* Dikiş çizgisi: kesik turuncu iplik */
.io-seam {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: 3px; margin-left: -1.5px; pointer-events: none;
  background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 17px);
  filter: drop-shadow(0 0 3px rgba(7, 19, 38, .35));
}
.io-handle {
  position: absolute; z-index: 3; top: 50%; left: clamp(28px, calc(var(--x) * 1%), calc(100% - 28px));
  width: 52px; height: 52px; margin: -26px 0 0 -26px; display: grid; place-items: center; border-radius: var(--r-s);
  background: rgba(255, 255, 255, .74); color: var(--ink); cursor: grab;
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 2px 6px rgba(7, 19, 38, .12), 0 16px 34px -16px rgba(7, 19, 38, .6);
  transition: transform .35s var(--ease), background-color .25s, color .25s;
}
.io-handle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.io-handle:hover { background: #fff; color: var(--blue); }
.io-frame.is-drag { cursor: grabbing; }
.io-frame.is-drag .io-handle { background: #fff; color: var(--blue); transform: scale(1.08); cursor: grabbing; }

.io-tag {
  position: absolute; top: clamp(12px, 1.4vw, 20px); display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px;
  font-size: .8rem; font-weight: 550; line-height: 1.3; color: var(--ink2);
  background: rgba(255, 255, 255, .74); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 14px 30px -20px rgba(7, 19, 38, .55);
}
.io-tag b { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.io-tag-l { left: clamp(12px, 1.4vw, 20px); }
.io-tag-r { right: clamp(12px, 1.4vw, 20px); text-align: right; }
.io-tag-r b { color: var(--blue); }

.io-cap { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.io-side { display: inline-flex; align-items: center; gap: 12px; padding: 7px 14px 7px 7px; border-radius: var(--r-s); text-align: left; transition: background-color .25s, transform .35s var(--ease); }
.io-side-in { padding: 7px 7px 7px 14px; text-align: right; }
.io-side:hover { background: var(--bg); }
.io-side:active { transform: scale(.98); }
.io-side span { display: grid; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.io-side b { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.io-side-in b { color: var(--blue); }
.io-sw { width: 38px; height: 38px; flex: none; border-radius: 10px; object-fit: cover; }
.io-hint { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); white-space: nowrap; }
.io-hint::before, .io-hint::after { content: ""; width: 18px; border-top: 2px dashed var(--orange); opacity: .75; }

/* =========================================================
   01 · AŞAMALAR — iki yüzlü kartlar
   ========================================================= */
.sg { background: var(--bg); }

.sg-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-bottom: clamp(24px, 2.8vw, 40px); }
.sg-switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: var(--r-s); background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 40, .05), 0 12px 26px -20px rgba(15, 26, 40, .45);
}
.sg-switch::before {
  content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 10px; background: var(--ink);
  transition: transform .55s var(--ease), background-color .45s, opacity .3s;
}
.sg-switch[data-state="in"]::before { transform: translateX(100%); background: var(--blue); }
.sg-switch[data-state="mixed"]::before { opacity: 0; }
.sg-switch button { position: relative; z-index: 1; height: 42px; padding: 0 18px; border-radius: 10px; font-size: .88rem; font-weight: 650; color: var(--ink2); white-space: nowrap; transition: color .35s; }
.sg-switch button span { font-weight: 500; opacity: .72; }
.sg-switch button:hover { color: var(--blue); }
.sg-switch button[aria-pressed="true"] { color: #fff; }
.sg-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: .84rem; color: var(--muted); }
.sg-note > span { display: inline-flex; align-items: center; gap: 8px; }
.sg-note b { min-width: 26px; height: 26px; padding: 0 7px; display: inline-grid; place-items: center; border-radius: 8px; background: var(--blue); color: #fff; font-size: .76rem; font-variant-numeric: tabular-nums; }
.sg-note i { font-style: normal; font-weight: 650; color: var(--ink2); }

.sg-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 1.5vw, 28px); }

.sg-card {
  --ph: clamp(190px, 14.5vw, 300px);
  position: relative; grid-column: span var(--span, 4); perspective: 2200px; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.sg-turn {
  position: relative; height: 100%; display: grid; grid-template-rows: 1fr;
  -webkit-transform-style: preserve-3d; transform-style: preserve-3d;
  transition: transform 1.05s cubic-bezier(.62, .02, .24, 1);
}
.sg-card.is-turned .sg-turn { transform: rotateY(180deg); }
@media (hover: hover) {
  .sg-card:hover .sg-turn { transform: rotateY(-5deg); }
  .sg-card.is-turned:hover .sg-turn { transform: rotateY(185deg); }
  .sg-card:hover .sg-img img { transform: scale(1.05); }
}

.sg-face {
  grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.sg-out { background: #fff; box-shadow: var(--shadow); transform: rotateY(0deg); }
.sg-in { background: var(--blue); color: #fff; transform: rotateY(180deg); box-shadow: 0 1px 2px rgba(0, 30, 80, .1), 0 22px 44px -26px rgba(0, 30, 80, .6); }

/* Dış yüz */
.sg-img { position: relative; flex: none; height: var(--ph); overflow: hidden; background: var(--mist); }
.sg-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.sg-badge {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 10px; border-radius: 9px; font-size: .68rem; font-weight: 650; letter-spacing: .06em; color: #fff;
  background: rgba(7, 19, 38, .42); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.sg-body { flex: 1; display: flex; flex-direction: column; padding: clamp(18px, 1.5vw, 24px) clamp(18px, 1.6vw, 26px) clamp(20px, 1.7vw, 28px); }
.sg-k { display: flex; align-items: center; gap: 10px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.sg-k b { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--bg); color: var(--orange); font-size: .72rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.sg-k em { font-style: normal; padding: 4px 7px; border-radius: 7px; background: var(--orange); color: #fff; letter-spacing: .08em; }
.sg-out h3 { font-size: clamp(1.08rem, 1rem + .3vw, 1.3rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; margin: 12px 0 8px; }
.sg-txt { font-size: .92rem; line-height: 1.6; color: var(--muted); }
.sg-qcc { margin-top: auto; padding-top: 18px; }

/* İç yüz — kumaşın tersi: aynalanmış, solgun fotoğraf ve iç dikiş */
.sg-lining { position: relative; flex: none; height: calc(var(--ph) * .5); overflow: hidden; background: var(--blue-dd); }
.sg-lining img { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); filter: grayscale(1) contrast(1.1); opacity: .3; }
.sg-lining::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 14px; height: 3px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 17px);
}
.sg-in-k { position: absolute; left: 18px; top: 18px; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-l); }
.sg-in .sg-k { color: rgba(255, 255, 255, .72); letter-spacing: .1em; }
.sg-in .sg-k b { background: rgba(255, 255, 255, .14); color: #fff; }
.sg-h { font-size: clamp(1.02rem, .96rem + .25vw, 1.2rem); font-weight: 650; letter-spacing: -.018em; margin: 12px 0 10px; }
.sg-checks { display: grid; gap: 8px; }
.sg-checks li { position: relative; padding-left: 20px; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .9); }
/* çentik: kalıptaki eşleşme işareti */
.sg-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 9px; background: var(--orange); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.sg-you { margin-top: auto; padding-top: 18px; font-size: .84rem; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.sg-you small { display: block; margin-bottom: 4px; font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-l); }

/* Çevirme düğmesi */
.sg-flip {
  position: absolute; z-index: 4; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 13px 0 11px;
  border-radius: 12px; font-size: .78rem; font-weight: 650; color: var(--ink); background: rgba(255, 255, 255, .76);
  -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 10px 24px -16px rgba(15, 26, 40, .55);
  transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.sg-flip svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.sg-flip:hover { background: #fff; color: var(--blue); }
.sg-flip:active { transform: scale(.96); }
.sg-card.is-turned .sg-flip { background: rgba(255, 255, 255, .16); color: #fff; }
.sg-card.is-turned .sg-flip:hover { background: rgba(255, 255, 255, .28); }
.sg-card.is-turned .sg-flip svg { transform: rotate(180deg); }

/* İpucu: ilk kart bir kez hafifçe aralanır */
@keyframes sgpeek { 0%, 100% { transform: rotateY(0); } 42% { transform: rotateY(-24deg); } 72% { transform: rotateY(5deg); } }
.sg-card.is-peek .sg-turn { animation: sgpeek 1.5s var(--ease); }

/* Geniş kart (kalite kontrol): yan yana */
@media (min-width: 900px) {
  .sg-wide .sg-out { flex-direction: row; }
  .sg-wide .sg-out .sg-img { width: 48%; height: auto; min-height: var(--ph); }
  .sg-wide .sg-out .sg-body { justify-content: center; padding: clamp(22px, 2.2vw, 40px); }
  .sg-wide .sg-out .sg-txt { max-width: 30em; }
  .sg-wide .sg-out .sg-qcc { margin-top: 22px; padding-top: 0; }
  .sg-wide .sg-in { flex-direction: row-reverse; }
  .sg-wide .sg-lining { width: 34%; height: auto; }
  .sg-wide .sg-lining::after { left: 16px; right: auto; top: 54px; bottom: 18px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--orange) 0 10px, transparent 10px 17px); }
  .sg-wide .sg-in .sg-body { justify-content: center; padding: clamp(22px, 2.2vw, 40px); }
  .sg-wide .sg-in .sg-you { margin-top: 0; }
}

/* =========================================================
   02 · YAKIN BAKIŞ — iplik sayma lupu
   ========================================================= */
.lp { background: var(--paper); }
.lp-grid {
  display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas: "fig ." "fig head" "fig pts" "fig foot" "fig .";
  column-gap: clamp(36px, 5.4vw, 104px);
}
.lp-head { grid-area: head; }
.lp-lead { margin-top: 16px; color: var(--muted); font-size: clamp(1rem, .96rem + .14vw, 1.08rem); line-height: 1.65; max-width: 32em; }
.lp-fig { grid-area: fig; align-self: center; }
.lp-pts { grid-area: pts; display: grid; gap: 6px; margin-top: clamp(24px, 2.6vw, 38px); }
.lp-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(24px, 2.6vw, 38px); }

.lp-stage {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--mist); box-shadow: var(--shadow-lg);
  isolation: isolate; touch-action: pan-y; cursor: crosshair; -webkit-user-select: none; user-select: none;
}
.lp-base { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.lp-shade { position: absolute; inset: 0; background: rgba(7, 19, 38, .24); pointer-events: none; }
.lp-probe { --ls: clamp(132px, 12.5vw, 232px); position: absolute; z-index: 2; left: 0; top: 0; width: var(--ls); height: var(--ls); will-change: transform; touch-action: none; cursor: grab; }
.lp-lens {
  position: relative; width: 100%; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--mist);
  box-shadow: 0 2px 6px rgba(7, 19, 38, .28), 0 32px 64px -24px rgba(7, 19, 38, .8);
}
.lp-zoom { position: absolute; left: 0; top: 0; max-width: none; will-change: transform; pointer-events: none; -webkit-user-drag: none; }
/* iplik sayacının ölçeği */
.lp-lens::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 9px; opacity: .85; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, #fff 0 1.5px, transparent 1.5px 30px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 6px) 0 100% / 100% 5px no-repeat;
  filter: drop-shadow(0 0 2px rgba(7, 19, 38, .5));
}
.lp-tag {
  position: absolute; left: 10px; top: 10px; padding: 5px 9px; border-radius: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .05em; color: #fff;
  background: rgba(7, 19, 38, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lp-grid.is-glide .lp-probe, .lp-grid.is-glide .lp-zoom { transition: transform .95s var(--ease); }
.lp-grid.is-follow .lp-probe, .lp-grid.is-follow .lp-zoom { transition: transform .3s cubic-bezier(.2, .7, .3, 1); }
.lp-grid.is-drag .lp-probe { cursor: grabbing; }

.lp-cap { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .82rem; color: var(--soft); }
.lp-cap svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; }

.lp-pt {
  position: relative; width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 14px;
  border-radius: var(--r-s); text-align: left; overflow: hidden; transition: background-color .3s, transform .45s var(--ease);
}
.lp-pt:hover { background: var(--bg); transform: translateX(4px); }
.lp-pt b { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--bg); color: var(--blue); font-size: .74rem; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .35s, color .35s; }
.lp-pt > span { display: grid; gap: 1px; }
.lp-pt strong { font-size: 1rem; font-weight: 650; letter-spacing: -.012em; }
.lp-pt small { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.lp-pt.is-active { background: var(--bg); }
.lp-pt.is-active b { background: var(--orange); color: #fff; }
.lp-bar { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; transition: opacity .3s; }
.lp-bar i { display: block; height: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); }
.lp-pt.is-active .lp-bar { opacity: 1; }
.lp-pt.is-active .lp-bar i { animation: slfill var(--dur, 5s) linear forwards; }
.lp-grid.is-paused [data-timer] { animation-play-state: paused !important; }

.lp-quote { position: relative; padding-left: 18px; }
.lp-quote::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; border-left: 2px dashed var(--orange); opacity: .8; }
.lp-quote blockquote p { font-size: clamp(1.02rem, .96rem + .28vw, 1.22rem); font-weight: 650; letter-spacing: -.016em; color: var(--blue); }
.lp-quote figcaption { margin-top: 4px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }

/* =========================================================
   03 · SIRADAKİ AŞAMA — proje
   ========================================================= */
.nx { background: var(--bg); }
.nx-card {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 4.6vw, 88px); align-items: center;
  padding: clamp(26px, 3.6vw, 60px); border-radius: var(--r); background: var(--blue); color: #fff;
  box-shadow: 0 46px 90px -52px rgba(0, 30, 80, .8);
}
.nx .kicker { color: var(--cyan-l); }
.nx-lead { margin-top: 16px; font-size: clamp(1rem, .96rem + .14vw, 1.08rem); line-height: 1.65; color: rgba(255, 255, 255, .84); max-width: 32em; }
.nx .actions { margin-top: 28px; }
.nx-mail { background: rgba(255, 255, 255, .13); color: #fff; }
.nx-mail:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }
.nx-note { display: flex; align-items: flex-start; gap: 14px; margin-top: clamp(26px, 3vw, 40px); font-size: .86rem; line-height: 1.55; color: rgba(255, 255, 255, .74); max-width: 34em; }
.nx-note .qcc { flex: none; margin-top: 1px; }
.nx-note .qcc b { background: #fff; color: var(--blue); }

.nx-fig { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-s); overflow: hidden; background: var(--blue-d); }
.nx-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.nx-card:hover .nx-fig img { transform: scale(1.04); }
.nx-chip {
  position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 9px 16px 9px 9px; border-radius: 12px; color: var(--ink);
  background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: 0 16px 34px -20px rgba(7, 19, 38, .6);
}
.nx-chip b { width: 36px; height: 36px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.nx-chip span { display: grid; font-size: .92rem; font-weight: 650; line-height: 1.25; }
.nx-chip small { font-size: .74rem; font-weight: 500; color: var(--muted); }

/* =========================================================
   UYUMLULUK
   ========================================================= */
@media (max-width: 1359px) {
  .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sg-card { grid-column: auto; }
  .sg-wide { grid-column: span 2; }
}

@media (max-width: 1140px) {
  .io-grid { grid-template-columns: 1fr; }
  .io-split { max-width: 820px; }
  .lp-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "head" "fig" "pts" "foot"; }
  .lp-fig { margin-top: clamp(28px, 4vw, 40px); max-width: 820px; }
  .nx-card { grid-template-columns: 1fr; }
  .nx-fig { max-width: 720px; }
}

@media (max-width: 899px) {
  .sg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sg-wide { grid-column: auto; }
}

@media (max-width: 640px) {
  .io-frame { aspect-ratio: 4 / 3; }
  .io-tag { padding: 8px 11px; font-size: .74rem; }
  .io-hint { display: none; }
  .io-side span { font-size: .78rem; }
  .io-sw { width: 34px; height: 34px; }

  .sg-bar { flex-direction: column; align-items: stretch; }
  .sg-switch { display: grid; }
  .sg-switch button { padding: 0 10px; }
  .sg-switch button span { display: none; }
  .sg-grid { grid-template-columns: 1fr; }
  .sg-card { --ph: 214px; }

  .lp-probe { --ls: 116px; }
  .lp-pt { padding: 10px 12px; gap: 12px; }

  .nx-card { padding: 26px 20px 20px; }
  .nx .actions .btn { width: 100%; }
  .nx-chip { left: 10px; bottom: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .sg-card.is-peek .sg-turn { animation: none; }
}
