:root {
  --accent: #0f9d76;
  --accent-dark: #0b7d5e;
  --accent-soft: #e6f7f2;
  --teal: #14b8a6;
  --danger: #e11d48;
  --warn: #d97706;
  --ok: #16a34a;
  --mute: #94a3b8;
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e8edf2;
  --sidebar: #ffffff;
  --sidebar-text: #334155;
  --sidebar-active: #e7f6f1;
  --shadow: 0 8px 24px rgba(15, 40, 32, .05);
  --radius: 16px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

[data-theme="dark"] {
  --bg: #101918;
  --card: #182420;
  --text: #e8f3ee;
  --muted: #9bb0a8;
  --line: #2a3d37;
  --sidebar: #0d1815;
  --sidebar-text: #cfe6dd;
  --sidebar-active: #16332b;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
[data-theme="dark"] .brand { color: #fff; }
[data-theme="dark"] .sidebar-project select,
[data-theme="dark"] .theme-toggle { background: #15231f; color: #e8f3ee; }

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
a { color: var(--accent-dark); text-decoration: none; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }

.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 232px;
  background: var(--sidebar);
  color: var(--sidebar-text);
  display: flex;
  flex-direction: column;
  padding: 18px 14px 14px;
  flex-shrink: 0;
  border-right: 1px solid var(--line);
}
.brand { display: flex; gap: 10px; align-items: center; color: var(--text); margin-bottom: 14px; }
.brand span { display: block; font-size: 12px; opacity: .65; }
.sidebar-project { margin-bottom: 14px; }
.sidebar-project select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}
.nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.nav a {
  color: var(--sidebar-text);
  padding: 10px 12px;
  border-radius: 12px;
}
.nav a.is-active, .nav a:hover { background: var(--sidebar-active); color: var(--accent-dark); }
.sidebar-foot { margin-top: auto; display: grid; gap: 10px; }
.theme-toggle {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 10px;
  cursor: pointer;
}
.user-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.user-chip { display: flex; gap: 8px; align-items: center; min-width: 0; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.user-chip span { display: block; font-size: 12px; opacity: .7; }
.logout-link {
  background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font-weight: 600;
}

.main { flex: 1; min-width: 0; }
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 28px 4px; gap: 16px;
}
.topbar h1 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.02em; }
.topbar-meta { margin: 0; color: var(--muted); font-size: 14px; }
.content { padding: 8px 28px 40px; display: grid; gap: 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}
.card h2, .card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 650; }

.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.stat-grid.mini { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow);
}
.stat-card span { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.stat-card strong { font-size: 28px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.stat-card.ok strong { color: var(--ok); }
.stat-card.teal strong { color: var(--teal); }
.stat-card.mute strong { color: var(--mute); }
.stat-card.danger strong { color: var(--danger); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split { display: grid; grid-template-columns: 360px 1fr; gap: 16px; align-items: start; }

.stack-bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: #e5e7eb; }
.stack-bar i { display: block; height: 100%; }
.stack-bar .ok, .legend .ok { background: #16a34a; }
.stack-bar .teal, .legend .teal { background: #14b8a6; }
.stack-bar .mute, .legend .mute { background: #94a3b8; }
.stack-bar .danger, .legend .danger { background: #e11d48; }
.legend { display: flex; flex-wrap: wrap; gap: 12px 16px; list-style: none; padding: 14px 0 0; margin: 0; color: var(--muted); font-size: 13px; }
.legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; }
.chart-range { margin: 8px 0 0; color: var(--muted); font-size: 13px; }

.mini-bar { height: 8px; background: #e8edf2; border-radius: 99px; overflow: hidden; display: inline-block; width: 88px; margin-right: 10px; vertical-align: middle; }
.mini-bar span { display: block; height: 100%; background: var(--accent); }
.progress-cell { white-space: nowrap; }
.progress-cell em { font-style: normal; color: var(--muted); font-size: 13px; }
.progress-table th { color: #94a3b8; }
.progress-table td, .progress-table th { padding: 12px 8px; }

table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: .04em; }
td, th { padding: 8px 6px; border-bottom: 1px solid var(--line); }
tr.is-late { background: #fef2f2; }
[data-theme="dark"] tr.is-late { background: #3a1b1b; }
tr.is-selected { background: var(--accent-soft); }
.table-wrap { overflow: auto; }

.btn, button.btn {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--text);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.2); color: inherit; }
.btn-block { width: 100%; }
.btn-sm { padding: 4px 8px; font-size: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }

.stack-form, .form-grid { display: grid; gap: 10px; }
.form-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--card);
  color: var(--text);
}
.inline { display: inline-flex; align-items: center; gap: 6px; }
.inline-form { display: inline-flex; gap: 8px; align-items: center; }
.inline-grid { display: grid; grid-template-columns: 70px 1fr 80px 90px auto; gap: 6px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); font-size: 13px; }
.note-fixed { margin: 0; }

.alert { padding: 10px 12px; border-radius: 10px; }
.alert-ok { background: #ecfdf5; color: #065f46; }
.alert-err { background: #fef2f2; color: #991b1b; }
.danger-zone { border-color: #fecaca; }
.help-box { background: var(--accent-soft); border-radius: 10px; padding: 12px; font-size: 13px; color: #14532d; }
[data-theme="dark"] .help-box { background: #16332b; color: #d1fae5; }

.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs a { padding: 8px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.tabs a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.yonetim-head { display: grid; gap: 8px; }

.badge { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.badge.tamamlandi { background: #dcfce7; color: #16a34a; }
.badge.devam { background: #ccfbf1; color: #0f766e; }
.badge.baslamadi { background: #ffe4e6; color: #e11d48; }
.badge.planlandi { background: #e8f4fb; color: #3b82f6; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.topbar-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbe1e8;
  color: #0f172a;
  font-size: 14px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
}
.topbar-chip:hover { background: #f8fafc; }

.is-saha .content { background: #f4f6f8; margin: 0; padding: 8px 28px 40px; }
.is-saha .topbar { padding-bottom: 0; }
.saha-page { display: grid; gap: 16px; }
.saha-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.saha-head h1 { margin: 0; font-size: 28px; font-weight: 650; letter-spacing: -.02em; }
.saha-tabs { display: flex; gap: 8px; }
.saha-tabs a {
  padding: 8px 18px;
  border-radius: 999px;
  background: #eceff3;
  color: #334155;
  border: 1px solid transparent;
  font-size: 14px;
}
.saha-tabs a.is-active {
  background: #fff;
  border-color: #dbe1e8;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  color: #0f172a;
  font-weight: 600;
}

.saha-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.saha-stage.card { padding: 12px 12px 14px; }
.saha-photo-wrap { position: relative; background: #f8fafc; min-height: 360px; border-radius: 12px; overflow: hidden; }
.saha-photo-wrap img { display: block; width: 100%; height: auto; max-height: 68vh; object-fit: contain; margin: 0 auto; }
#sahaOverlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#sahaDrawCanvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; display: none; }
#sahaDrawCanvas.is-on { display: block; pointer-events: auto; cursor: crosshair; }
.empty-photo { min-height: 360px; display: grid; place-items: center; color: #9bb0a8; }

.saha-legend {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  list-style: none; margin: 10px 4px 0; padding: 0;
  font-size: 12px; color: #475569;
}
.saha-legend .dot { width: 8px; height: 8px; }
.delay-ring { box-shadow: 0 0 0 2px #dc2626; background: transparent !important; }
.saha-help { margin: 8px 4px 0; font-size: 12.5px; line-height: 1.45; color: #64748b; }

.jobs-panel { padding: 16px 16px 12px; }
.jobs-panel h2 { margin: 0 0 6px; }
.jobs-intro { margin: 0 0 14px; font-size: 12.5px; line-height: 1.4; color: #64748b; }
.jobs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.job-btn { width: 100%; text-align: left; background: transparent; border: 0; color: inherit; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 0; }
.job-name { flex: 1; font-size: 13px; }
.jobs-list li { border: 0; border-radius: 0; padding: 0; }
.jobs-list li.is-on .job-name { font-weight: 700; }
.jobs-list small { color: #94a3b8; font-size: 11px; }
.job-meter { height: 4px; background: #e2e8f0; border-radius: 99px; overflow: hidden; margin: 5px 0 3px; }
.job-meter span { display: block; height: 100%; border-radius: 99px; }
.warn { color: #f59e0b; font-size: 12px; }

.calib-panel { display: grid; gap: 12px; }
.calib-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.calib-ctl, .calib-upload .calib-ctl {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dbe1e8;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}
.calib-help { font-size: 12.5px; line-height: 1.45; color: #475569; }
.calib-help p { margin: 0 0 8px; }
.calib-actions { display: flex; gap: 8px; }
.row-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: end; }

.saha-open-card h2 { margin: 0; }
.saha-open-table th { font-size: 11px; letter-spacing: .06em; color: #94a3b8; }
.saha-open-table td.delay-cell { color: #dc2626; font-weight: 700; }
.saha-open-table tr.is-late { background: #fff1f2; }
.saha-pop {
  position: absolute;
  z-index: 6;
  min-width: 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .16);
  padding: 10px 12px;
  font-size: 12.5px;
  color: #0f172a;
}
.saha-pop h3 { margin: 0 0 6px; font-size: 13px; }
.saha-pop button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 4px 0; cursor: pointer; }

.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 6px; }
.check-grid label { border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.check-grid label.is-locked { opacity: .45; background: #f1f5f9; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper input { width: 72px; text-align: center; }
.entry-cards { display: grid; gap: 10px; }
.entry-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.entry-card.is-late { border-color: var(--danger); }
.color-row { display: flex; gap: 8px; align-items: center; }

.login-body { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(160deg, #16332b, #0f9d76); }
.login-card { width: min(420px, 92vw); background: #fff; padding: 28px; border-radius: 18px; display: grid; gap: 12px; }
.login-brand { display: flex; gap: 12px; align-items: center; }
.login-brand span { display: block; color: #5b6b66; font-size: 13px; }
.login-hint { margin: 0; }

.saha-tooltip {
  position: absolute;
  background: #0f172a;
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  pointer-events: none;
  z-index: 5;
  max-width: 240px;
}

.ig-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.ig-intro { margin: 0 0 18px; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.ig-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 16px; }
.ig-form-card select, .ig-form-card input[type="date"], .ig-form-card input[type="text"], .ig-list-card select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
}
.ig-floors { margin: 18px 0 8px; }
.ig-floor-actions a { color: var(--accent); margin-left: 12px; font-size: 13px; }
.ig-floor-hint { margin: 4px 0 10px; }
.ig-row-note { display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: end; margin: 12px 0 16px; }
.ig-save { border-radius: 12px; padding: 10px 18px; }
.ig-list-card { display: grid; gap: 10px; }
.ig-list-card h2 { margin: 0; }
.ig-yenile { width: auto; min-height: 36px; padding: 6px 14px; }
.topbar-link { color: var(--muted); font-size: 14px; }
.topbar-link.is-on { color: var(--accent); font-weight: 600; }
.entry-cards { display: grid; gap: 10px; }
.entry-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.entry-card.is-late { border-color: #fecaca; }
.entry-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.entry-top strong { font-size: 14px; }
.badge.plan { background: #f1f5f9; color: #64748b; font-size: 11px; }
.entry-where { color: var(--muted); font-size: 13px; margin: 4px 0; }
.entry-meta { font-size: 12px; color: #94a3b8; }
.entry-foot { display: flex; gap: 8px; align-items: center; margin-top: 8px; font-size: 12px; color: #94a3b8; }
.delay-pill { background: #ffe4e6; color: #e11d48; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.entry-done { margin-left: auto; background: none; border: 0; color: var(--accent); cursor: pointer; font-weight: 600; }
.stepper { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 4px 8px; }
.stepper input { width: 64px; text-align: center; border: 0 !important; min-height: 32px !important; }
.stepper button { border: 0; background: none; cursor: pointer; font-size: 18px; width: 28px; }

.is-rapor .content { gap: 18px; }
.is-rapor .card h2 { margin: 0; }
.rapor-head { margin-bottom: 6px; align-items: center; }
.rapor-intro { margin: 0 0 14px; color: var(--muted); font-size: 13.5px; line-height: 1.45; max-width: 72ch; }
.rapor-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #334155;
  font-size: 13.5px;
  white-space: nowrap;
  cursor: pointer;
}
.rapor-check input { width: 15px; height: 15px; accent-color: var(--accent); }
.rapor-table { font-size: 13px; }
.rapor-table th {
  font-size: 11px;
  letter-spacing: .06em;
  color: #94a3b8;
  font-weight: 650;
  padding: 8px 10px 10px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.rapor-table td {
  padding: 12px 10px 12px 0;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  white-space: nowrap;
}
.rapor-table tr.is-late { background: #fff1f2; }
.rapor-table .delay-cell { color: #e11d48; font-weight: 700; }
.rapor-job { font-weight: 650; color: #0f172a; }
.rapor-job .dot { width: 8px; height: 8px; margin-right: 8px; }
.rapor-dash { color: #94a3b8; }
.rapor-foot { margin: 12px 0 0; color: var(--muted); font-size: 13px; }
.rapor-filters { display: flex; gap: 8px; align-items: center; }
.rapor-filters select {
  min-height: 38px;
  min-width: 120px;
  border: 1px solid #dbe1e8;
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
  color: #0f172a;
}
.rapor-export {
  min-height: 38px;
  border-radius: 12px;
  padding: 8px 14px;
  background: #fff;
  white-space: nowrap;
}
.kayit-table td { padding-top: 14px; padding-bottom: 14px; }
[data-theme="dark"] .topbar-chip,
[data-theme="dark"] .rapor-filters select,
[data-theme="dark"] .rapor-export {
  background: #15231f;
  border-color: #2a3d37;
  color: #e8f3ee;
}
[data-theme="dark"] .rapor-table tr.is-late { background: #3a1b1b; }
[data-theme="dark"] .rapor-job { color: #e8f3ee; }
[data-theme="dark"] .rapor-check { color: #cfe6dd; }

.topbar-note { margin: 0; color: var(--muted); font-size: 13px; max-width: 420px; text-align: right; line-height: 1.4; }
.is-yon .content { gap: 16px; }
.yon-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2px; }
.yon-tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  background: #eceff3;
  border: 1px solid transparent;
  color: #334155;
  font-size: 14px;
}
.yon-tabs a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}
.is-yon .card h2 { margin: 0 0 16px; }
.yon-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.is-yon label { color: #64748b; font-size: 13px; }
.is-yon input, .is-yon select, .is-yon textarea {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px 12px;
  background: #fff;
  color: var(--text);
}
.is-yon input[type="checkbox"] { min-height: 16px; width: 16px; height: 16px; padding: 0; }
.is-yon input[type="color"] { min-height: 36px; width: 52px; padding: 4px; }
.yon-hint { margin: 12px 0 16px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.yon-card .btn-row { margin-top: 16px; }
.yon-save { border-radius: 12px; padding: 10px 18px; }
.yon-ghost {
  border-radius: 12px;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #dbe1e8;
}
.yon-list-card { padding: 8px 20px 12px; }
.yon-table th {
  font-size: 11px;
  letter-spacing: .06em;
  color: #94a3b8;
  font-weight: 650;
  padding: 12px 10px 10px 0;
}
.yon-table td {
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.yon-table tr[data-select] { cursor: pointer; }
.yon-table tr.is-selected { background: #eef8f4; }
.yon-table tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.yon-strong { font-weight: 650; }
.yon-action { text-align: right; white-space: nowrap; }
.yon-action .inline-form, .yon-action form { display: inline-flex; margin-left: 6px; }
.yon-secili { color: var(--accent); font-weight: 650; font-size: 13px; }
.yon-sec {
  background: none;
  border: 0;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  padding: 0;
}
.yon-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.yon-stats-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.yon-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: #fff;
}
.yon-stat strong { display: block; font-size: 32px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.yon-stat span { color: var(--muted); font-size: 13px; }
.yon-sub { margin: 18px 0 12px; font-size: 15px; font-weight: 650; }
.yon-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; }
.yon-shortcuts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
}
.yon-shortcuts em { font-style: normal; color: var(--muted); font-size: 13px; }
.is-yon .danger-zone {
  background: #fff5f5;
  border-color: #fecaca;
  padding: 20px 22px 18px;
}
.is-yon .danger-zone h2 { color: #e11d48; margin-bottom: 10px; }
.yon-wipe-copy { margin: 0 0 16px; font-size: 13.5px; line-height: 1.5; color: #3f3f46; }
.wipe-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 14px;
  color: var(--text);
}
.wipe-check input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); }
.wipe-check small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; font-weight: 400; }
.wipe-confirm { margin-bottom: 14px; }
.wipe-confirm input { width: 100%; }

[data-theme="dark"] .yon-tabs a { background: #16332b; color: #cfe6dd; }
[data-theme="dark"] .yon-tabs a.is-active { background: var(--accent); color: #fff; }
[data-theme="dark"] .yon-table tr.is-selected { background: #16332b; }
[data-theme="dark"] .yon-stat, [data-theme="dark"] .yon-shortcuts a, [data-theme="dark"] .wipe-check, [data-theme="dark"] .yon-ghost {
  background: #15231f;
  border-color: #2a3d37;
  color: #e8f3ee;
}
[data-theme="dark"] .is-yon .danger-zone { background: #3a1b1b; }
[data-theme="dark"] .yon-wipe-copy { color: #e8f3ee; }

@media (max-width: 1100px) {
  .stat-grid, .grid-2, .split, .saha-layout, .calib-grid, .ig-layout, .ig-grid3, .ig-row-note, .yon-form-grid, .yon-stats, .yon-stats-wide { grid-template-columns: 1fr; }
  .sidebar { width: 86px; }
  .brand div, .user-chip div, .nav a { font-size: 0; }
  .nav a.is-active { font-size: 0; }
  .sidebar { padding: 12px 8px; }
  .saha-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .app { flex-direction: column; }
  .sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .nav { flex-direction: row; overflow: auto; }
  .nav a, .brand div { font-size: 13px; }
  .topbar { flex-direction: column; align-items: stretch; }
}
