/* Demir Konut v12.2 – ses şeridi · AI laboratuvarı · kullanım tablosu · 3D bina modülü
   Tüm sınıflar kendi önekiyle (vp-, lab-, lt-, lr-, lc-, use-, ut-, uc-, bim-) yazılmıştır; mevcut sınıfları ezmez. */

/* ===================================================================== sesle yazma: canlı şerit */
.voice-pill { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h, 64px) + var(--safe-b, 0px) + 14px); z-index: 420; display: flex; align-items: center; gap: 12px;
  width: min(460px, calc(100vw - 24px)); padding: 10px 12px 10px 14px; border-radius: 18px; background: var(--ink, #1B2A41); color: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); animation: vpIn .22s var(--ease-out, ease-out) both; }
.voice-pill[hidden] { display: none; }
.kb-open .voice-pill { bottom: calc(var(--kb, 0px) + 12px); }
.vp-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: #EF4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .6); animation: vpPulse 1.3s infinite; }
.voice-pill[data-state="busy"] .vp-dot { background: #E8A33D; animation: vpPulse 0.8s infinite; }
.vp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.vp-title { font-size: 14px; font-weight: 700; }
.vp-txt { font-size: 12.5px; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.2em; }
.vp-bars { display: flex; align-items: center; gap: 3px; height: 26px; }
.vp-bars i { width: 4px; height: 100%; border-radius: 3px; background: #E8A33D; transform: scaleY(.25); transform-origin: center; transition: transform .08s linear; }
.vp-stop { flex: none; border: 0; border-radius: 12px; padding: 9px 14px; font-weight: 700; font-size: 13px; background: #fff; color: #1B2A41; cursor: pointer; }
@keyframes vpIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes vpPulse { 70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); } }
@media (prefers-reduced-motion: reduce) { .vp-dot, .voice-pill { animation: none; } }

/* ===================================================================== kullanım & haklar */
.use-tbl { display: grid; gap: 0; margin: 6px 0 4px; font-size: 12.5px; }
.ut-h, .ut-r { display: grid; grid-template-columns: minmax(0, 1fr) 70px 56px 56px 38px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.ut-h { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.ut-r > span:not(.ut-n), .ut-h > span:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
.ut-r.off { opacity: .6; } .ut-n { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; } .ut-n small { font-size: 11px; font-weight: 400; }
.use-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; margin-top: 12px; }
.uc-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.uc-bar { width: 100%; max-width: 28px; display: flex; flex-direction: column-reverse; border-radius: 6px 6px 2px 2px; overflow: hidden; background: var(--surface-3); }
.uc-bar i { display: block; min-height: 2px; } .uc-col small { font-size: 10px; color: var(--muted); }
.use-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.use-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

/* ===================================================================== test laboratuvarı */
.lab-kinds { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .lab-kinds::-webkit-scrollbar { display: none; } .lab-kinds button { white-space: nowrap; flex: none; }
.lab-targets { display: grid; gap: 8px; margin: 8px 0; }
.lt-grp { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .lt-grp > b { flex: 0 0 100%; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.lt-grp > b i, .lr-eng i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; cursor: pointer; background: var(--surface); }
.lt-chip input { accent-color: var(--accent); margin: 0; } .lt-chip:has(input:checked) { border-color: var(--accent); background: var(--accent-soft, rgba(232, 163, 61, .12)); } .lt-chip.off { opacity: .55; }
.lab-grid { display: grid; gap: 10px; grid-template-columns: 1fr; } @media (min-width: 900px) { .lab-grid { grid-template-columns: 1fr 1fr; } }
.lab-res { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; min-width: 0; }
.lab-res.bad { border-color: color-mix(in srgb, var(--red, #C0453B) 40%, var(--line)); } .lab-res.ok { border-color: color-mix(in srgb, var(--green, #2E8B62) 28%, var(--line)); }
.lr-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; background: var(--surface-2, var(--surface-3)); flex-wrap: wrap; }
.lr-eng { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 13px; min-width: 0; overflow-wrap: anywhere; } .lr-badges { display: flex; gap: 5px; flex-wrap: wrap; }
.lr-body { padding: 10px 12px; font-size: 13px; overflow-wrap: anywhere; } .lr-body pre { margin: 0; white-space: pre-wrap; word-break: break-word; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; max-height: 260px; overflow: auto; }
.lab-cmp th, .lab-cmp td { white-space: nowrap; font-size: 12.5px; } .lab-cmp tbody th { text-align: left; font-weight: 650; }
.lc-ok { background: rgba(46, 139, 98, .14); } .lc-diff { background: rgba(232, 163, 61, .2); } .lc-bad { background: rgba(192, 69, 59, .16); } .lc-exp { font-weight: 700; color: var(--muted); }
.lab-legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; font-size: 11.5px; } .lab-legend span { padding: 2px 8px; border-radius: 6px; }
.lab-caps { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; margin-top: 8px; } .lab-caps > span { display: inline-flex; align-items: center; gap: 5px; }
.lab-img { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; } .lo-prev { flex: 1 1 160px; min-height: 120px; max-height: 260px; border: 1px dashed var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: 13px; overflow: hidden; }
.lo-prev img { max-width: 100%; max-height: 260px; object-fit: contain; } .btn-col { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.lab-res.run { opacity: .75; } #lsRec.rec { background: var(--red, #C0453B); color: #fff; animation: pulse 1.2s infinite; }
.lab-res audio, #lsPlay audio { max-width: 100%; height: 34px; vertical-align: middle; }
.input-wrap textarea { width: 100%; padding-right: 50px; } .input-wrap .in-btn { top: 22px; }
.ai-state { color: var(--muted); }

/* ===================================================================== 3D bina modülü (js/pages-bim.js) */
.bim-wrap { display: grid; gap: 12px; }
.bim-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bim-top .grow { flex: 1; min-width: 160px; }
.bim-stage { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, #20314A 0%, #0F1826 70%); min-height: 320px; height: min(62vh, 560px); touch-action: none; }
.bim-stage canvas { display: block; width: 100%; height: 100%; cursor: grab; } .bim-stage canvas:active { cursor: grabbing; }
.bim-hud { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; gap: 6px; flex-wrap: wrap; pointer-events: none; }
.bim-hud > * { pointer-events: auto; }
.bim-chip { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; background: rgba(15, 24, 38, .72); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); }
.bim-tools { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 6px; }
.bim-tools button { width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(15, 24, 38, .78); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 16px; }
.bim-tools button.on { background: var(--accent, #E8A33D); color: #1B2A41; }
.bim-legend { position: absolute; left: 10px; bottom: 10px; display: flex; gap: 8px; flex-wrap: wrap; font-size: 11.5px; color: #E2E8F0; background: rgba(15, 24, 38, .72); padding: 5px 9px; border-radius: 10px; backdrop-filter: blur(6px); }
.bim-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.bim-side { display: grid; gap: 12px; grid-template-columns: 1fr; } @media (min-width: 1000px) { .bim-side { grid-template-columns: minmax(0, 1fr) 340px; } }
.bim-info { font-size: 13px; } .bim-info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; } .bim-info dt { color: var(--muted); } .bim-info dd { margin: 0; font-weight: 650; text-align: right; }
.bim-floors { display: grid; gap: 6px; max-height: 360px; overflow: auto; }
.bim-floor { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.bim-floor.on { border-color: var(--accent); background: var(--accent-soft, rgba(232, 163, 61, .12)); } .bim-floor b { font-size: 13px; } .bim-floor small { color: var(--muted); display: block; font-size: 11.5px; }
.bim-floor .pct { font-weight: 750; font-variant-numeric: tabular-nums; font-size: 13px; }
.bim-form { display: grid; gap: 12px; }
.bim-blocks { display: grid; gap: 10px; }
.bim-block { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface); display: grid; gap: 10px; }
.bim-block .bb-head { display: flex; gap: 8px; align-items: center; } .bim-block .bb-head input { flex: 1; min-width: 0; font-weight: 700; }
.bim-block .grid3 { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); } @media (max-width: 420px) { .bim-block .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bim-block label.field { margin: 0; }
.bim-mini { width: 100%; height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; } .bim-mini span { display: block; height: 100%; background: linear-gradient(90deg, #2E8B62, #E8A33D); }
.bim-empty { text-align: center; padding: 28px 14px; }
.bim-prog { display: grid; grid-template-columns: 1fr 70px; gap: 8px; align-items: center; } .bim-prog input[type=range] { width: 100%; accent-color: var(--accent); }

.bim-spark { width: 100%; height: 70px; margin-top: 8px; display: block; }
.bim-prev { height: min(48vh, 420px); min-height: 280px; position: sticky; top: calc(var(--topbar-h, 56px) + var(--safe-t, 0px) + 4px); z-index: 4; }
.sticky-save { position: sticky; bottom: calc(var(--tabbar-h, 64px) + var(--safe-b, 0px) + 8px); z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-3, 0 10px 30px rgba(0, 0, 0, .2)); border: 1px solid var(--line-2, var(--line)); }
.sticky-save .grow, .bim-top .grow { flex: 1; }
.kb-open .sticky-save { bottom: 6px; }
.chip .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; }
.bim-block input[type=color] { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.bim-block .icon-btn.sm { width: 34px; height: 34px; flex: none; }
.bim-panel { min-width: 0; }
/* ızgara çocukları içerik genişliğine göre büyüyüp sayfayı yana taşırmasın */
.bim-wrap, .bim-form { grid-template-columns: minmax(0, 1fr); }
.bim-wrap > *, .bim-side > *, .bim-block > * { min-width: 0; }
.bim-side { grid-template-columns: minmax(0, 1fr); } @media (min-width: 1000px) { .bim-side { grid-template-columns: minmax(0, 1fr) 340px; } }
.bim-block input, .bim-block select { min-width: 0; width: 100%; }

/* Lüks Mikro Etkileşimler & Glassmorphism */
.bim-floor { transition: transform .2s var(--ease-out, ease-out), border-color .2s, box-shadow .2s; }
.bim-floor:hover { transform: translateX(3px); border-color: var(--accent); box-shadow: var(--shadow-1, 0 2px 6px rgba(0,0,0,.08)); }
.voice-pill { backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); border: 1px solid rgba(255, 255, 255, 0.15); }
.sticky-save { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.12); }
.lab-res { transition: transform .2s ease, box-shadow .2s ease; }
.lab-res:hover { box-shadow: 0 8px 24px -4px rgba(0,0,0,0.1); }

/* =====================================================================
   3D BİNA MODELİ (BIM) ÇOKLU CİHAZ (DİKEY & YATAY) UYUMLULUK
   ===================================================================== */

/* Tablet (Dikey & Yatay: 768px - 1024px) */
@media (min-width: 768px) {
  .bim-side { grid-template-columns: minmax(0, 1.3fr) minmax(300px, 340px) !important; gap: 14px !important; }
  .bim-stage { min-height: 420px; height: min(65vh, 600px); }
  .bim-floors { max-height: 420px; }
}

/* Telefon & Tablet Yatay (Landscape) Modu */
@media (orientation: landscape) and (max-height: 580px) {
  .bim-wrap { gap: 8px; }
  .bim-top { padding: 2px 0; gap: 6px; }
  .bim-top label.pill-select select { height: 32px; font-size: 12.5px; }
  .bim-side {
    grid-template-columns: minmax(0, 1.3fr) minmax(260px, 1fr) !important;
    gap: 8px !important;
    align-items: start;
  }
  .bim-stage {
    height: calc(100vh - 105px) !important;
    min-height: 230px !important;
  }
  .bim-floors {
    max-height: calc(100vh - 190px) !important;
  }
  .bim-tools {
    bottom: 6px !important;
    right: 6px !important;
    gap: 4px !important;
  }
  .bim-tools button {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
  }
  .bim-legend {
    bottom: 6px !important;
    left: 6px !important;
    padding: 3px 7px !important;
    font-size: 10.5px !important;
  }
}

/* ===================================================================== GÖSTERGE PANELİ 2.0: TÜM SAYFALARIN WİDGETLARI & A4 BASKI */

/* Canlı Nabız / Beacon */
.live-beacon {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2E8B62;
  box-shadow: 0 0 0 0 rgba(46, 139, 98, 0.6);
  animation: beaconPulse 1.8s infinite;
  vertical-align: middle;
  margin-right: 6px;
  flex: none;
}
.live-beacon.warn { background: #E8A33D; box-shadow: 0 0 0 0 rgba(232, 163, 61, 0.6); }
.live-beacon.crit { background: #C0453B; box-shadow: 0 0 0 0 rgba(192, 69, 59, 0.6); }
@keyframes beaconPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 98, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(46, 139, 98, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 139, 98, 0); }
}

/* Canlı Ticker / Kayan Şerit */
.dash-ticker {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  margin-bottom: 12px;
  overflow: hidden;
  font-size: 12.5px;
}
.dash-ticker-badge {
  flex: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
}
.dash-ticker-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.dash-ticker-track::-webkit-scrollbar { display: none; }
.dash-ticker-track span { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }

/* Şantiyeler Widget */
.w-sites-list { display: flex; flex-direction: column; gap: 10px; }
.w-site-row { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); }
.w-site-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 13.5px; }
.w-site-stat { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.meter-bar { height: 7px; border-radius: 4px; background: var(--surface-3, #E2E8F0); overflow: hidden; width: 100%; margin: 6px 0; }
.meter-fill { height: 100%; border-radius: 4px; transition: width .5s cubic-bezier(0.16, 1, 0.3, 1); }
.w-site-foot { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.w-site-links { display: flex; gap: 8px; font-weight: 600; }
.w-site-links a { color: var(--accent); text-decoration: none; }

/* Puantaj & KPI Row */
.w-kpi-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
.w-kpi-box { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); text-align: center; }
.w-kpi-num { font-size: 18px; font-weight: 800; display: block; font-variant-numeric: tabular-nums; }
.w-kpi-lbl { font-size: 11px; color: var(--muted); font-weight: 600; }

/* Buton & Aksiyon Barları */
.w-act-bar { display: flex; gap: 8px; align-items: center; justify-content: flex-end; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.w-ok-box { text-align: center; padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }

/* Yaşlandırma Analizi */
.grid-2-compact { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 600px) { .grid-2-compact { grid-template-columns: 1fr 1fr; } }
.w-aging-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font-size: 12px; text-decoration: none; color: inherit; margin-bottom: 4px; }
.w-aging-row:hover { background: var(--surface-3); }

/* Likidite */
.w-liq-head { display: flex; justify-content: space-between; align-items: flex-end; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.w-liq-tot { font-size: 22px; font-weight: 800; }

/* 3D BIM & Harita Preview */
.w-bim-box { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.w-bim-ico { font-size: 32px; flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); }
.w-bim-info b { font-size: 13.5px; display: block; margin-bottom: 2px; }
.w-map-preview { position: relative; border-radius: 12px; overflow: hidden; padding: 20px 16px; text-align: center; background: linear-gradient(135deg, rgba(30, 41, 59, .85), rgba(15, 23, 42, .92)); color: #fff; }
.w-map-overlay p { opacity: .85; margin: 4px 0 12px; }

/* AI Highlights */
.w-ai-list { display: flex; flex-direction: column; gap: 8px; }
.w-ai-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); border-left: 3px solid #3B82F6; font-size: 12.5px; }
.w-ai-item.warn { border-left-color: #E8A33D; }
.w-ai-item.crit { border-left-color: #C0453B; }
.w-ai-ico { font-size: 18px; flex: none; margin-top: 1px; }
.w-ai-item p { margin: 2px 0 0; color: var(--ink-2); }
a.w-ai-item { color: inherit; text-decoration: none; min-height: 44px; }
a.w-ai-item:hover, a.w-ai-item:focus-visible { background: var(--surface-3, var(--surface-2)); }
a.w-ai-item:focus-visible { outline: 2px solid var(--accent, #C8963E); outline-offset: 2px; }
.w-ai-item.ok { border-left-color: #2E8B62; }

/* Saha Araçları Grid */
.w-tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 500px) { .w-tools-grid { grid-template-columns: repeat(4, 1fr); } }
.w-tool-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 12px 8px; border-radius: 10px; background: var(--surface-2); text-decoration: none; color: inherit; text-align: center; transition: transform .15s; }
.w-tool-btn:hover { transform: translateY(-2px); background: var(--surface-3); }
.w-tool-btn span { font-size: 24px; }
.w-tool-btn b { font-size: 12px; }
.w-tool-btn small { font-size: 10px; color: var(--muted); }

/* Hazır Şablon (Preset) Çubukları */
.dash-presets { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.dash-presets span { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.preset-btn { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; }
.preset-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Baskı & A4 Yazdırma Önizleme Modalı */
.print-hero { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 12px; }

/* ===================================================================== A4 BASKI MOTORU (@media print) */
@media print {
  @page {
    size: A4 portrait;
    margin: 12mm 10mm 14mm 10mm;
  }
  *, *::before, *::after {
    color-adjust: exact !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  body {
    background: #FFFFFF !important;
    color: #111827 !important;
    font-size: 10pt !important;
    line-height: 1.35 !important;
  }
  .topbar, .tabbar, .sidebar, .fab-desktop, .toasts, .aix-fab, .atlas-banner,
  .dash-tools, .dash-bar, .filters, #fab, #dashBriefBtn, #dashWaSummaryBtn,
  .w-act-bar, .btn-row, button, .icon-btn, .ptr, .sheet-wrap, #sheets {
    display: none !important;
  }
  .view {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .dash-grid {
    display: block !important;
  }
  .dash-card, .card {
    break-inside: avoid !important;
    page-break-inside: avoid !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 6px !important;
    margin-bottom: 12px !important;
    background: #FFFFFF !important;
    color: #111827 !important;
    padding: 10px 12px !important;
  }
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .kpi {
    border: 1px solid #D1D5DB !important;
    background: #F9FAFB !important;
    padding: 8px !important;
  }
  .chart svg, .chart canvas {
    max-width: 100% !important;
    height: auto !important;
  }
  /* Tablolar */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    font-size: 9pt !important;
  }
  th, td {
    padding: 4px 6px !important;
    border-bottom: 1px solid #E5E7EB !important;
  }
  th {
    background: #F3F4F6 !important;
    font-weight: 700 !important;
  }
}



