.dp-kam {
  --kam-ink: #0b1220;
  --kam-muted: rgba(11, 18, 32, 0.62);
  --kam-blue: #0f4c81;
  --kam-line: rgba(11, 18, 32, 0.1);
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  color: var(--kam-ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(15, 76, 129, 0.08), transparent 55%),
    linear-gradient(180deg, #f6f8fb 0%, #fff 24%, #f8fafc 100%);
  overflow-x: clip;
}
.dp-kam h1, .dp-kam h2, .dp-kam h3 {
  font-family: "Manrope", "DM Sans", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 750;
}
.dp-kam-wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.dp-kam-section { padding: 0 0 clamp(2.6rem, 5vw, 4rem); }
.dp-kam-crumb {
  display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center;
  margin: 0 0 1rem; padding: 0; list-style: none; font-size: 0.86rem; color: var(--kam-muted);
}
.dp-kam-crumb a { color: var(--kam-blue); text-decoration: none; font-weight: 650; }
.dp-kam-hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.dp-kam-hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
}
@media (max-width: 991px) { .dp-kam-hero__grid { grid-template-columns: 1fr; } }
.dp-kam-kicker {
  display: inline-flex; margin: 0 0 0.65rem; padding: 0.32rem 0.72rem; border-radius: 999px;
  background: rgba(15, 76, 129, 0.1); color: var(--kam-blue);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.dp-kam-hero h1 { margin: 0 0 0.7rem; font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
.dp-kam-lead { margin: 0 0 1rem; max-width: 48ch; font-size: 1.05rem; line-height: 1.55; color: var(--kam-muted); }
.dp-kam-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.dp-kam-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.72rem 1.15rem; border-radius: 999px; font-size: 0.92rem; font-weight: 700; text-decoration: none;
}
.dp-kam-btn--primary { background: linear-gradient(135deg, #0f4c81, #0f766e); color: #fff; }
.dp-kam-btn--ghost { border: 1px solid var(--kam-line); background: #fff; color: var(--kam-ink); }
.dp-kam-hero__media, .dp-kam-media {
  border-radius: 1.15rem; overflow: hidden; border: 1px solid var(--kam-line); background: #fff;
}
.dp-kam-hero__media img, .dp-kam-media img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.dp-kam-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.dp-kam-chip {
  padding: 0.32rem 0.65rem; border-radius: 999px; background: rgba(15, 118, 110, 0.1);
  color: #0f766e; font-size: 0.76rem; font-weight: 700;
}
.dp-kam-prose { max-width: 72ch; }
.dp-kam-prose h2, .dp-kam-head h2 { margin: 0 0 0.7rem; font-size: clamp(1.35rem, 2.4vw, 1.85rem); }
.dp-kam-prose p, .dp-kam-head p { margin: 0 0 0.8rem; color: var(--kam-muted); line-height: 1.6; }
.dp-kam-prose strong { color: var(--kam-ink); }
.dp-kam-head { margin-bottom: 1.1rem; }
.dp-kam-band { padding: clamp(1.8rem, 4vw, 2.8rem) 0; background: #fff; border-block: 1px solid var(--kam-line); }
.dp-kam-band--alt { background: linear-gradient(180deg, #f8fafc, #fff); }
.dp-kam-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.3rem, 3vw, 2.6rem); align-items: center; }
@media (max-width: 991px) { .dp-kam-feature { grid-template-columns: 1fr; } }
.dp-kam-feature--flip .dp-kam-media { order: 2; }
.dp-kam-feature--flip .dp-kam-copy { order: 1; }
@media (max-width: 991px) {
  .dp-kam-feature--flip .dp-kam-media, .dp-kam-feature--flip .dp-kam-copy { order: unset; }
}
.dp-kam-copy h2 { margin: 0 0 0.55rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.dp-kam-copy p { margin: 0; color: var(--kam-muted); line-height: 1.55; }
.dp-kam-specs-wrap { border: 1px solid var(--kam-line); border-radius: 1rem; overflow: hidden; background: #fff; }
.dp-kam-specs { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.dp-kam-specs th, .dp-kam-specs td {
  padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 18, 32, 0.08);
}
.dp-kam-specs th { width: 32%; background: #f8fafc; }
.dp-kam-specs tr:last-child th, .dp-kam-specs tr:last-child td { border-bottom: 0; }
@media (max-width: 640px) {
  .dp-kam-specs, .dp-kam-specs tbody, .dp-kam-specs tr, .dp-kam-specs th, .dp-kam-specs td { display: block; width: 100%; }
  .dp-kam-specs th { border-bottom: 0; padding-bottom: 0.15rem; }
}
.dp-kam-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
@media (max-width: 767px) { .dp-kam-gallery { grid-template-columns: 1fr; } }
.dp-kam-gallery figure { margin: 0; }
.dp-kam-gallery img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.85rem; border: 1px solid var(--kam-line); display: block; }
.dp-kam-gallery figcaption { margin-top: 0.4rem; font-size: 0.82rem; font-weight: 700; color: var(--kam-muted); }
.dp-kam-faq details {
  border: 1px solid var(--kam-line); border-radius: 0.85rem; background: #fff; margin-bottom: 0.55rem; padding: 0.85rem 1rem;
}
.dp-kam-faq summary { cursor: pointer; font-weight: 700; }
.dp-kam-faq summary::-webkit-details-marker { display: none; }
.dp-kam-faq p { margin: 0.65rem 0 0; color: var(--kam-muted); line-height: 1.5; }
.dp-kam-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 1.1rem;
  background: linear-gradient(135deg, #0f172a, #134e4a); color: #fff;
}
.dp-kam-cta h2 { margin: 0 0 0.3rem; color: #fff; font-size: 1.35rem; }
.dp-kam-cta p { margin: 0; color: rgba(255,255,255,0.78); max-width: 46ch; }
.dp-kam-cta .dp-kam-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); background: transparent; }
.dp-kam-note { margin: 0.9rem 0 0; color: var(--kam-muted); font-size: 0.92rem; }
.dp-kam-note a { color: var(--kam-blue); font-weight: 700; }

/* ======================================================================
   Kamera sistemleri: animasyonlar, senaryo, bağlantı, lens aracı
   ====================================================================== */
.dp-kam-section--top { padding-top: clamp(2.4rem, 5vw, 3.4rem); }
.dp-kam-sr, .dp-kam-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dp-kam-head { max-width: 72ch; }
.dp-kam-inline { color: var(--kam-blue); font-weight: 700; }
#tipler, #senaryo, #baglanti, #lens, #kullanim, #disk { scroll-margin-top: 7.5rem; }
.dp-kam .dp-flow--process { --fl-rgb: 3, 105, 161; }
.dp-kam .dp-use { --use-accent: #0369a1; --use-accent-rgb: 3, 105, 161; }

/* ---------- Hero ---------- */
.dp-kh { border-radius: 1.4rem; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18); }
.dp-kh svg { display: block; width: 100%; height: auto; }
.dp-kh text { font-family: Manrope, "DM Sans", sans-serif; }
.kh-k { fill: #7dd3fc; font-size: 13px; font-weight: 800; letter-spacing: 0.14em; }
.kh-s { fill: rgba(255, 255, 255, 0.55); font-size: 12px; font-weight: 600; }
.kh-shelf rect { fill: #13254a; stroke: #1e3a66; }
.kh-shelf path { stroke: #1e3a66; stroke-width: 2; }
.kh-shelf .kh-item { fill: #1c3460; stroke: none; }
.kh-floor { fill: #0d1a33; }
.kh-cone { fill: url(#kh-cone-g); animation: kam-breathe 3s ease-in-out infinite; }
.kh-mount { fill: none; stroke: #64748b; stroke-width: 4; stroke-linecap: round; }
.kh-cam { fill: #e2e8f0; }
.kh-lens { fill: #0f172a; stroke: #94a3b8; stroke-width: 2; }
.kh-ir { fill: #f87171; animation: kam-blink 1.2s steps(2) infinite; }
.kh-rec-b rect { fill: rgba(239, 68, 68, 0.15); stroke: rgba(239, 68, 68, 0.5); }
.kh-rec-b text { fill: #fecaca; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.kh-rec { fill: #ef4444; animation: kam-blink 1s steps(2) infinite; }
.kh-walk { animation: kh-walk 9s linear infinite; }
.kh-p-h { fill: #cbd5e1; }
.kh-p-b { fill: #475569; }
.kh-p-l { stroke: #475569; stroke-width: 6; stroke-linecap: round; }
.kh-box { opacity: 0; animation: kh-box 9s linear infinite; }
.kh-box-r { fill: none; stroke: #22c55e; stroke-width: 2; }
.kh-box-t { fill: #22c55e; }
.kh-box text { fill: #052e16; font-size: 10px; font-weight: 800; text-anchor: middle; }
.kh-note { opacity: 0; animation: kh-note 9s ease-out infinite; }
.kh-note rect { fill: #f8fafc; }
.kh-note circle { fill: #0369a1; }
.kh-note path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kh-note-1 { fill: #0b1220; font-size: 12px; font-weight: 800; }
.kh-note-2 { fill: #475569; font-size: 10.5px; font-weight: 600; }
.kh-tl { fill: #13254a; }
.kh-tl-fill { fill: rgba(56, 189, 248, 0.45); transform-box: fill-box; transform-origin: left center; animation: kh-fill 9s linear infinite; }
.kh-mark { fill: #ef4444; opacity: 0; animation: kh-mark 9s linear infinite; }

@keyframes kh-walk { from { transform: translateX(-60px); } to { transform: translateX(700px); } }
@keyframes kh-box { 0%, 37% { opacity: 0; } 39%, 68% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes kh-note { 0%, 41% { opacity: 0; transform: translateY(-8px); } 44%, 90% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes kh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kh-mark { 0%, 39% { opacity: 0; } 41%, 100% { opacity: 1; } }

/* ---------- Camera type cards ---------- */
.dp-kt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
@media (max-width: 1000px) { .dp-kt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dp-kt-grid { grid-template-columns: 1fr; } }
.dp-kt {
  display: flex; flex-direction: column; border-radius: 1.1rem; overflow: hidden; background: #fff;
  border: 1px solid var(--kam-line); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04); scroll-margin-top: 8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.dp-kt:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); }
.dp-kt:target { outline: 3px solid rgba(3, 105, 161, 0.55); outline-offset: 2px; }
.dp-kt-anim { background: linear-gradient(180deg, #0f1b36, #14294b); padding: 0.4rem 0.6rem; }
.dp-kt-anim svg { display: block; width: 100%; height: auto; }
.dp-kt-body { padding: 0.9rem 1rem 1rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.dp-kt-body h3 { margin: 0; font-size: 1.05rem; }
.dp-kt-body p { margin: 0; color: var(--kam-muted); font-size: 0.9rem; line-height: 1.5; }
.dp-kt-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: auto 0 0; padding: 0.3rem 0 0; list-style: none; }
.dp-kt-tags li { padding: 0.18rem 0.5rem; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 0.72rem; font-weight: 700; }
.dp-kt-link { color: var(--kam-blue); font-size: 0.86rem; font-weight: 700; text-decoration: none; }

.kc-ceil { stroke: #64748b; stroke-width: 4; }
.kc-floor { stroke: #475569; stroke-width: 2; }
.kc-wall { fill: #334155; }
.kc-body { fill: #e2e8f0; }
.kc-glass { fill: rgba(148, 163, 184, 0.35); stroke: #cbd5e1; stroke-width: 1.2; }
.kc-ball { fill: #f1f5f9; }
.kc-lens { fill: #0f172a; stroke: #94a3b8; stroke-width: 1.5; }
.kc-mount { fill: none; stroke: #94a3b8; stroke-width: 3; stroke-linecap: round; }
.kc-cone { fill: rgba(56, 189, 248, 0.22); transform-box: view-box; }
.kc-cone--swing { transform-origin: 80px 28px; animation: kc-swing 4s ease-in-out infinite alternate; }
.kc-lens--pan { animation: kc-pan 4s ease-in-out infinite alternate; }
.kc-cone--pulse { animation: kam-breathe 2.4s ease-in-out infinite; }
.kc-cone--ptz { transform-origin: 80px 34px; animation: kc-ptz 6s ease-in-out infinite; }
.kc-ir { fill: #f87171; animation: kam-blink 1s steps(2) infinite; }
.kc-irring { fill: none; stroke: #f87171; stroke-width: 1.5; stroke-dasharray: 2 3; transform-box: fill-box; transform-origin: center; animation: kam-spin 6s linear infinite; }
.kc-arc { fill: none; stroke: rgba(125, 211, 252, 0.55); stroke-width: 1.5; stroke-dasharray: 4 4; animation: kam-dash 1.2s linear infinite; }
.kc-ring { fill: none; stroke: rgba(56, 189, 248, 0.6); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: kc-ring 2.4s ease-out infinite; }
.kc-ring--2 { animation-delay: -1.2s; }
.kc-car { animation: kc-car 5s ease-in-out infinite; }
.kc-car-b { fill: #38bdf8; }
.kc-plate { fill: #fff; }
.kc-wheel { fill: #0f172a; stroke: #94a3b8; stroke-width: 1.5; }
.kc-pbox { fill: none; stroke: #22c55e; stroke-width: 1.5; opacity: 0; animation: kc-pbox 5s linear infinite; }
.kc-flash { fill: rgba(255, 255, 255, 0.85); opacity: 0; animation: kc-flash 5s linear infinite; }

@keyframes kc-swing { from { transform: rotate(-14deg); } to { transform: rotate(14deg); } }
@keyframes kc-pan { from { transform: translateX(4px); } to { transform: translateX(-4px); } }
@keyframes kc-ptz {
  0% { transform: rotate(-40deg); }
  35% { transform: rotate(40deg); }
  50% { transform: rotate(0deg); }
  60%, 85% { transform: rotate(0deg) scaleX(0.4); }
  100% { transform: rotate(-40deg); }
}
@keyframes kc-ring { 0% { transform: scale(0.2); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes kc-car { 0% { transform: translateX(70px); } 30%, 72% { transform: translateX(0); } 100% { transform: translateX(-150px); } }
@keyframes kc-pbox { 0%, 33% { opacity: 0; } 35%, 70% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes kc-flash { 0%, 31% { opacity: 0; } 32% { opacity: 1; } 35%, 100% { opacity: 0; } }

/* ---------- Dark scenario section ---------- */
.dp-kam-dark {
  padding: clamp(2.2rem, 5vw, 3.6rem) 0; color: #e2e8f0;
  background: radial-gradient(700px 300px at 0% 0%, rgba(14, 165, 233, 0.18), transparent 60%), #0a1424;
}
.dp-kam-dark h2 { color: #fff; }
.dp-kam-dhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.1rem; }
.dp-kam-dhead > div { max-width: 68ch; }
.dp-kam-dhead h2 { margin: 0 0 0.6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; }
.dp-kam-dhead p { margin: 0; color: rgba(226, 232, 240, 0.74); line-height: 1.6; }
.dp-kam-dkicker { display: inline-flex; margin: 0 0 0.6rem; color: #7dd3fc; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.dp-kam-legend { display: grid; gap: 0.4rem; margin: 0; padding: 0; list-style: none; font-size: 0.86rem; font-weight: 700; color: rgba(226, 232, 240, 0.85); }
.dp-kam-legend li { display: flex; align-items: center; gap: 0.5rem; }
.dp-kam-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; }
.dp-kam-dot--hot { background: #ef4444; }
.dp-kam-dot--calm { background: #94a3b8; }

.dp-sim--cctv { --sim-rgb: 56, 189, 248; }
.dp-sim--cctv .dp-sim-stage { background: #0a1220; }
.dp-sim--cctv .dp-sim-scene { top: auto; bottom: 0.85rem; }
@media (max-width: 640px) { .dp-sim--cctv .dp-sim-scene { bottom: 0.4rem; } }
.dp-flow--cctv { --fl-rgb: 56, 189, 248; --fl-text: #e2e8f0; --fl-muted: rgba(226, 232, 240, 0.62); }

.cs-label { fill: rgba(226, 232, 240, 0.45); font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }
.cs-floor { fill: #0a1426; }
.cs-floor-l { stroke: #334155; stroke-width: 2; }
.cs-zone { fill: none; stroke: rgba(250, 204, 21, 0.35); stroke-width: 2; stroke-dasharray: 6 5; transition: fill 0.3s ease, stroke 0.3s ease; }
[data-stage="motion"] .cs-zone, [data-stage="analyze"] .cs-zone { fill: rgba(250, 204, 21, 0.16); stroke: #facc15; animation: kam-dash 0.8s linear infinite; }
.cs-tag { fill: #94a3b8; font-size: 11px; font-weight: 700; text-anchor: middle; }
.cs-tag--start { text-anchor: start; }
.cs-shelf rect { fill: #13254a; stroke: #1e3a66; }
.cs-shelf path { stroke: #1e3a66; stroke-width: 2; }
.cs-desk rect { fill: #1e293b; stroke: #334155; }
.cs-desk text { fill: #64748b; font-size: 11px; font-weight: 800; text-anchor: middle; letter-spacing: 0.1em; }
.cs-door-frame { fill: #070d18; stroke: #475569; stroke-width: 3; }
.cs-door { fill: #1e3a5f; stroke: #2b4c78; transform-box: view-box; transform-origin: 589px 260px; transition: transform 0.8s ease; }
.s-motion .cs-door { transform: scaleX(0.15); }
.is-alt .cs-door { transform: none; }
.cs-cone { fill: url(#cs-cone-g); animation: kam-breathe 3s ease-in-out infinite; }
.cs-mount { fill: none; stroke: #64748b; stroke-width: 4; stroke-linecap: round; }
.cs-cam { fill: #e2e8f0; }
.cs-lens { fill: #0f172a; stroke: #94a3b8; stroke-width: 2; }
.cs-ir { fill: #f87171; animation: kam-blink 1.2s steps(2) infinite; }
.cs-subject { transform: translateX(700px); transition: transform 2s ease-in-out, opacity 0.4s ease; }
.s-motion .cs-person { transform: translateX(480px); }
.s-analyze .cs-person { transform: translateX(410px); }
.s-record .cs-person { transform: translateX(370px); }
.s-notify .cs-person { transform: translateX(345px); }
.cs-cat { opacity: 0; }
.is-alt .cs-cat { opacity: 1; }
.is-alt .cs-person { opacity: 0; }
.s-motion .cs-cat { transform: translateX(500px); }
.s-analyze .cs-cat { transform: translateX(430px); }
.s-ignore .cs-cat { transform: translateX(250px); }
.cs-p-h { fill: #cbd5e1; }
.cs-p-b { fill: #475569; }
.cs-p-l { stroke: #475569; stroke-width: 6; stroke-linecap: round; fill: none; }
.cs-c-b { fill: #94a3b8; }
.cs-c-t { fill: none; stroke: #94a3b8; stroke-width: 4; stroke-linecap: round; }
.cs-cat .cs-p-l { stroke: #94a3b8; stroke-width: 3; }
.cs-box { opacity: 0; transition: opacity 0.3s ease; }
.s-analyze .cs-box { opacity: 1; }
.cs-box-r { fill: none; stroke: #f59e0b; stroke-width: 2; transition: stroke 0.3s ease; }
.cs-box-t { fill: #f59e0b; transition: fill 0.3s ease; }
.cs-box text { fill: #1c1917; font-size: 11px; font-weight: 800; text-anchor: middle; }
.s-record .cs-person .cs-box-r { stroke: #ef4444; }
.s-record .cs-person .cs-box-t { fill: #ef4444; }
.s-record .cs-person .cs-box text { fill: #fff; }
.s-ignore .cs-cat .cs-box-r { stroke: #64748b; }
.s-ignore .cs-cat .cs-box-t { fill: #64748b; }
.s-ignore .cs-cat .cs-box text { fill: #fff; }

.cs-mon { fill: #020617; stroke: #1e293b; stroke-width: 2; }
.cs-mon-t { fill: #64748b; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.cs-rec { fill: #ef4444; animation: kam-blink 1s steps(2) infinite; }
.cs-rec-t { fill: #fca5a5; font-size: 10px; font-weight: 800; }
.cs-thumb { fill: #0f1e38; stroke: #1e3a66; }
.cs-thumb-f { stroke: #1e3a66; }
.cs-thumb-p { fill: #64748b; opacity: 0; transition: opacity 0.3s ease; }
.cs-thumb-box { fill: none; stroke: #f59e0b; stroke-width: 1.5; opacity: 0; transition: opacity 0.3s ease, stroke 0.3s ease; }
.s-motion .cs-thumb-p, .s-analyze .cs-thumb-box { opacity: 1; }
.s-record .cs-thumb-box { stroke: #ef4444; }
.is-alt .cs-thumb-p, .is-alt .cs-thumb-box { opacity: 0; }
.cs-stat { fill: #94a3b8; font-size: 11px; font-weight: 600; }
.cs-mon-1 { fill: #e2e8f0; font-size: 15px; font-weight: 800; }
.s-record .cs-mon-1 { fill: #fca5a5; }
.s-review .cs-mon-1 { fill: #7dd3fc; }
.cs-mon-2 { fill: #94a3b8; font-size: 11.5px; font-weight: 600; }
.cs-tl { fill: rgba(56, 189, 248, 0.35); }
.cs-pre { fill: #f59e0b; opacity: 0; transition: opacity 0.3s ease; }
.cs-mark { fill: #ef4444; opacity: 0; transition: opacity 0.3s ease; }
.s-record .cs-pre, .s-record .cs-mark { opacity: 1; }
.cs-head { fill: #fff; transition: transform 1s ease; }
.s-review .cs-head { transform: translateX(-22px); }

.cs-phone-b { fill: #1e293b; stroke: #475569; stroke-width: 2; }
.cs-phone-s { fill: #0b1324; }
.cs-phone-clock { fill: #e2e8f0; font-size: 28px; font-weight: 700; text-anchor: middle; }
.cs-phone-d { fill: #64748b; font-size: 10px; font-weight: 600; text-anchor: middle; }
.cs-push { opacity: 0; transform: translateY(-8px); transition: opacity 0.4s ease, transform 0.4s ease; }
.s-notify .cs-push { opacity: 1; transform: none; }
.cs-push rect { fill: #f8fafc; }
.cs-push-1 { fill: #b91c1c; font-size: 10.5px; font-weight: 800; }
.s-review .cs-push-1 { fill: #0369a1; }
.cs-push-2 { fill: #475569; font-size: 9.5px; font-weight: 600; }
[data-stage="notify"] .cs-phone { animation: cs-buzz 0.12s linear 8 alternate; }
.cs-play { opacity: 0; transition: opacity 0.3s ease; }
.s-review .cs-play { opacity: 1; }
.cs-play rect { fill: #334155; }
.cs-play .cs-play-f { fill: #38bdf8; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); }
.s-review .cs-play-f { animation: kh-fill 3.4s linear forwards; }

@keyframes cs-buzz { from { transform: translateX(-2px); } to { transform: translateX(2px); } }

/* ---------- Connection diagram ---------- */
.dp-net-tabs { display: inline-flex; gap: 0.25rem; padding: 0.25rem; margin-bottom: 0.8rem; border-radius: 999px; background: #e2e8f0; }
.dp-net-tab {
  padding: 0.55rem 1rem; border: 0; border-radius: 999px; background: transparent; color: var(--kam-ink);
  font: inherit; font-size: 0.9rem; font-weight: 750; cursor: pointer;
}
.dp-net-tab:focus-visible { outline: 2px solid var(--kam-blue); outline-offset: 2px; }
.dp-net-tab[aria-selected="true"] { background: #0b1324; color: #fff; }
.dp-net-panel { border-radius: 1.2rem; background: #0b1426; color: #e2e8f0; padding: clamp(0.8rem, 2vw, 1.2rem); animation: dp-use-fade 0.35s ease; }
.dp-net-panel[hidden] { display: none; }
.dp-net-svg { overflow-x: auto; }
.dp-net-svg svg { display: block; width: 100%; min-width: 640px; height: auto; }
.dp-net-info { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: 1rem; align-items: center; margin-top: 0.8rem; }
@media (max-width: 760px) { .dp-net-info { grid-template-columns: 1fr; } }
.dp-net-list { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.dp-net-list li { padding-left: 1.1rem; position: relative; color: rgba(226, 232, 240, 0.8); line-height: 1.5; font-size: 0.94rem; }
.dp-net-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #38bdf8; }
.dp-net-list b { color: #fff; }
.dp-net-info img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 0.85rem; }
.dp-net text { font-family: Manrope, "DM Sans", sans-serif; }

.kn-line { fill: none; stroke: #38bdf8; stroke-width: 3; opacity: 0.45; }
.kn-pkt { fill: none; stroke: #7dd3fc; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 34; animation: kn-flow 1s linear infinite; }
.kn-pwr { fill: none; stroke: #facc15; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 37; animation: kn-flow 1.4s linear infinite; }
.kn-coax { fill: none; stroke: #f97316; stroke-width: 4; opacity: 0.5; }
.kn-pkt--coax { stroke: #fdba74; }
.kn-dc { fill: none; stroke: #facc15; stroke-width: 2; stroke-dasharray: 6 5; opacity: 0.8; animation: kam-dash 1s linear infinite; }
.kn-net { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 4 6; animation: kam-dash 0.8s linear infinite; }
.kn-cam rect { fill: #e2e8f0; }
.kn-cam--analog rect { fill: #fed7aa; }
.kn-cam circle { fill: #0f172a; stroke: #94a3b8; stroke-width: 2; }
.kn-cam path { stroke: #94a3b8; stroke-width: 3; stroke-linecap: round; }
.kn-t { fill: #94a3b8; font-size: 11px; font-weight: 700; text-anchor: middle; }
.kn-cap { fill: #cbd5e1; font-size: 12px; font-weight: 700; text-anchor: middle; }
.kn-cap--s { fill: #94a3b8; font-size: 11px; font-weight: 600; }
.kn-box rect { fill: #13254a; stroke: #38bdf8; stroke-width: 1.5; }
.kn-box text { fill: #e2e8f0; font-size: 13px; font-weight: 800; text-anchor: middle; }
.kn-box--rec rect { stroke: #22c55e; }
.kn-box--dc rect { stroke: #facc15; }
.kn-box .kn-sub { fill: #94a3b8; font-size: 10.5px; font-weight: 600; }
.kn-led { fill: #22c55e; animation: kam-blink 1s steps(2) infinite; }
.kn-phone rect { fill: #1e293b; stroke: #64748b; stroke-width: 2; }
.kn-phone .kn-phone-s { fill: #0369a1; stroke: none; animation: kam-breathe 2s ease-in-out infinite; }

@keyframes kn-flow { to { stroke-dashoffset: -40; } }

.dp-kam-table-wrap { margin-top: 1rem; border: 1px solid var(--kam-line); border-radius: 1rem; overflow-x: auto; background: #fff; }
.dp-kam-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; }
.dp-kam-table th, .dp-kam-table td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(11, 18, 32, 0.08); }
.dp-kam-table tbody tr:last-child th, .dp-kam-table tbody tr:last-child td { border-bottom: 0; }
.dp-kam-table thead th { background: #f8fafc; color: var(--kam-blue); font-weight: 800; }
.dp-kam-table tbody th { color: var(--kam-muted); font-weight: 700; width: 22%; }

/* ---------- Lens tool ---------- */
.dp-lens { display: grid; gap: 0.9rem; }
.dp-lens-ctrl { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.dp-lens-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.dp-lens-label { margin-right: 0.3rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; color: var(--kam-blue); }
.dp-lens-opt {
  padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--kam-line); background: #fff; color: var(--kam-ink);
  font: inherit; font-size: 0.88rem; font-weight: 750; cursor: pointer; transition: background 0.2s ease, color 0.2s ease;
}
.dp-lens-opt:hover { border-color: rgba(3, 105, 161, 0.45); }
.dp-lens-opt:focus-visible { outline: 2px solid var(--kam-blue); outline-offset: 2px; }
.dp-lens-opt[aria-pressed="true"] { background: #0b1324; border-color: #0b1324; color: #fff; }
.dp-lens-view svg { display: block; width: 100%; height: auto; border-radius: 14px; }
.dp-lens-view text { font-family: Manrope, "DM Sans", sans-serif; }
.dp-lens-hint { margin: 0.5rem 0 0; color: var(--kam-muted); font-size: 0.92rem; }
.dp-lens-hint b { color: var(--kam-ink); }
.kl-bg { fill: #0b1426; }
.kl-grid { stroke: rgba(226, 232, 240, 0.18); stroke-dasharray: 3 5; }
.kl-grid-t { fill: #e2e8f0; paint-order: stroke; stroke: #0b1426; stroke-width: 3px; font-size: 10px; font-weight: 700; text-anchor: middle; }
.kl-band--det { fill: rgba(56, 189, 248, 0.14); }
.kl-band--obs { fill: rgba(56, 189, 248, 0.26); }
.kl-band--rec { fill: rgba(34, 197, 94, 0.36); }
.kl-band--idt { fill: rgba(250, 204, 21, 0.55); }
.kl-person { fill: #f8fafc; }
.kl-cam rect { fill: #e2e8f0; }
.kl-cam circle { fill: #0f172a; stroke: #94a3b8; stroke-width: 2; }
.dp-lens-out { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 760px) { .dp-lens-out { grid-template-columns: 1fr 1fr; } }
.dp-lens-card { position: relative; padding: 0.8rem 0.9rem 0.8rem 1.1rem; border-radius: 0.9rem; background: #fff; border: 1px solid var(--kam-line); display: grid; gap: 0.15rem; }
.dp-lens-sw { position: absolute; left: 0; top: 0.8rem; bottom: 0.8rem; width: 4px; border-radius: 0 4px 4px 0; }
.dp-lens-card--idt .dp-lens-sw { background: #facc15; }
.dp-lens-card--rec .dp-lens-sw { background: #22c55e; }
.dp-lens-card--obs .dp-lens-sw { background: #38bdf8; }
.dp-lens-card--det .dp-lens-sw { background: #7dd3fc; opacity: 0.6; }
.dp-lens-card b { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--kam-muted); }
.dp-lens-card strong { font-size: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.dp-lens-card small { color: var(--kam-muted); font-size: 0.82rem; line-height: 1.4; }

/* ---------- Shared keyframes ---------- */
@keyframes kam-blink { 50% { opacity: 0.3; } }
@keyframes kam-breathe { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
@keyframes kam-dash { to { stroke-dashoffset: -22; } }
@keyframes kam-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .dp-kh *, .dp-kt-anim *, .dp-net *, .dp-net-panel { animation: none !important; transition: none !important; }
}

/* ---------- Realistic camera drawings (rc-*) ---------- */
.rc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.rc-body { fill: url(#rc-g-body); stroke: rgba(15, 23, 42, 0.28); stroke-width: 0.8; }
.rc-hood, .rc-plate { fill: url(#rc-g-hood); stroke: rgba(15, 23, 42, 0.25); stroke-width: 0.8; }
.rc-metal { fill: #cbd5e1; stroke: rgba(15, 23, 42, 0.25); stroke-width: 0.8; }
.rc--dark .rc-body { fill: url(#rc-g-body-d); stroke: rgba(0, 0, 0, 0.4); }
.rc--dark .rc-hood, .rc--dark .rc-plate { fill: url(#rc-g-hood-d); stroke: rgba(0, 0, 0, 0.4); }
.rc--dark .rc-metal { fill: #475569; }
.rc-shade { fill: rgba(15, 23, 42, 0.09); }
.rc-screw { fill: #94a3b8; }
.rc-joint { fill: #d5dce5; stroke: #94a3b8; stroke-width: 1.2; }
.rc-cable { fill: none; stroke: #1f2937; stroke-width: 3; stroke-linecap: round; }
.rc-face { fill: url(#rc-g-face); }
.rc-glass { fill: url(#rc-g-glass); stroke: #475569; stroke-width: 0.6; }
.rc-glint { fill: #fff; opacity: 0.6; }
.rc-ir { fill: #7f1d1d; animation: rc-ir 1.6s ease-in-out infinite; }
.rc-bubble { fill: url(#rc-g-bubble); stroke: rgba(226, 232, 240, 0.55); stroke-width: 0.8; }
.rc-shine { fill: none; stroke: rgba(255, 255, 255, 0.4); stroke-width: 2; stroke-linecap: round; }
.rc-ball { fill: url(#rc-g-ball); stroke: rgba(15, 23, 42, 0.25); stroke-width: 0.8; }
.kh-wall, .cs-wall { fill: #1a2c4d; }
.kc-pole { fill: url(#rc-g-hood); }

@keyframes rc-ir { 0%, 100% { fill: #7f1d1d; } 50% { fill: #f87171; } }

@media (prefers-reduced-motion: reduce) { .rc-ir { animation: none; } }
