/* ANG AI Panel — tema değişkenleri ve bileşen stilleri */
:root,
html[data-theme="light"] {
  --ang-bg: #f5f6fa;
  --ang-surface: #ffffff;
  --ang-surface-2: #f8f9fc;
  --ang-text: #1d2433;
  --ang-muted: #667085;
  --ang-border: #e3e7ee;
  --ang-accent: #5b5bd6;
  --ang-accent-soft: rgba(91, 91, 214, .13);
  --ang-accent-text: #ffffff;
  --ang-accent-ink: #4949b8;
  --ang-ok: #16803c;
  --ang-warn: #b25e09;
  --ang-error: #c03434;
  --ang-shadow: 0 10px 30px rgba(22, 30, 54, .07);
}
html[data-theme="dark"] {
  --ang-bg: #0d1119;
  --ang-surface: #151b26;
  --ang-surface-2: #1b2230;
  --ang-text: #e7ecf5;
  --ang-muted: #98a2b3;
  --ang-border: #2a3343;
  --ang-accent: #8b8bff;
  --ang-accent-soft: rgba(139, 139, 255, .16);
  --ang-accent-text: #0d1119;
  --ang-accent-ink: #c4c4ff;
  --ang-ok: #4ade80;
  --ang-warn: #fbbf24;
  --ang-error: #fb7185;
  --ang-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}
html[data-theme="midnight"] {
  --ang-bg: #05070d;
  --ang-surface: #0d1422;
  --ang-surface-2: #101a2b;
  --ang-text: #eaf2ff;
  --ang-muted: #7d8ca8;
  --ang-border: #1e2c44;
  --ang-accent: #35d0ba;
  --ang-accent-soft: rgba(53, 208, 186, .14);
  --ang-accent-text: #04110f;
  --ang-accent-ink: #35d0ba;
  --ang-ok: #4ade80;
  --ang-warn: #fbbf24;
  --ang-error: #fb7185;
  --ang-shadow: 0 12px 34px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body.ang-body {
  margin: 0;
  background: var(--ang-bg);
  color: var(--ang-text);
  font-family: "Segoe UI", Inter, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color .25s ease, color .25s ease;
}
.ang-body a { color: var(--ang-accent-ink, var(--ang-accent)); text-decoration: none; }
.ang-body a:hover { text-decoration: underline; }
/* Düğme bağlantıları, genel bağlantı renginden etkilenmez. */
.ang-body .ang-btn,
.ang-body button.ang-btn { color: var(--ang-accent-text); }
.ang-body .ang-btn.ang-btn-outline { color: var(--ang-text); }
.ang-wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Üst menü */
.ang-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ang-surface);
  border-bottom: 1px solid var(--ang-border);
  box-shadow: 0 2px 14px rgba(0, 0, 0, .04);
}
.ang-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 66px;
  flex-wrap: wrap;
}
.ang-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .4px;
  line-height: 1;
  color: var(--ang-text);
}
.ang-logo:hover { text-decoration: none; }
.ang-logo-img {
  display: block;
  flex: none;
  height: 28px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
.ang-logo-ai {
  flex: none;
  color: var(--ang-accent-ink, var(--ang-accent));
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}
.ang-logo-white { display: none; }
html[data-theme="dark"] .ang-logo-dark,
html[data-theme="midnight"] .ang-logo-dark { display: none; }
html[data-theme="dark"] .ang-logo-white,
html[data-theme="midnight"] .ang-logo-white { display: inline-block; }
.ang-links { display: flex; align-items: center; gap: 18px; margin-left: auto; flex-wrap: wrap; }
.ang-links a { color: var(--ang-muted); font-size: 14px; font-weight: 500; }
.ang-links a:hover, .ang-links a.ang-active { color: var(--ang-accent-ink, var(--ang-accent)); text-decoration: none; }

.ang-theme { display: flex; align-items: center; gap: 6px; }
.ang-theme button,
.ang-theme input[type="color"] {
  border: 1px solid var(--ang-border);
  background: var(--ang-surface-2);
  color: var(--ang-text);
  border-radius: 8px;
  height: 32px;
  min-width: 32px;
  padding: 0 8px;
  font-size: 12px;
  cursor: pointer;
}
.ang-theme button.ang-selected {
  border-color: var(--ang-accent-ink, var(--ang-accent));
  background: var(--ang-accent-soft);
  color: var(--ang-accent-ink, var(--ang-accent));
  font-weight: 700;
}
.ang-theme input[type="color"] { padding: 2px; width: 34px; }

/* Genel bileşenler */
.ang-hero {
  padding: 76px 0 46px;
  background:
    radial-gradient(circle at 12% 20%, var(--ang-accent-soft), transparent 46%),
    radial-gradient(circle at 88% 10%, var(--ang-accent-soft), transparent 38%);
}
.ang-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ang-accent-soft);
  color: var(--ang-accent-ink, var(--ang-accent));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}
.ang-hero h1 { margin: 18px 0 12px; font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -.8px; }
.ang-hero p { max-width: 680px; color: var(--ang-muted); font-size: 16px; line-height: 1.65; margin: 0 0 26px; }
.ang-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--ang-accent);
  color: var(--ang-accent-text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}
.ang-btn:hover { filter: brightness(1.08); text-decoration: none; transform: translateY(-1px); }
.ang-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.ang-btn-outline { background: transparent; border-color: var(--ang-border); color: var(--ang-text); }
.ang-btn-sm { min-height: 34px; padding: 0 12px; font-size: 12px; }

.ang-section { padding: 34px 0; }
.ang-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.ang-section-head h2 { margin: 0; font-size: 24px; letter-spacing: -.3px; }
.ang-section-head p { margin: 6px 0 0; color: var(--ang-muted); font-size: 14px; }
.ang-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.ang-card {
  background: var(--ang-surface);
  border: 1px solid var(--ang-border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--ang-shadow);
}
.ang-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.25; min-width: 0; }
.ang-card p { color: var(--ang-muted); font-size: 13px; line-height: 1.55; margin: 0 0 14px; }
.ang-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-width: 0; }
.ang-card-head h3 { margin: 0; }
.ang-icon {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ang-accent-soft); color: var(--ang-accent-ink, var(--ang-accent));
  font-size: 17px; font-weight: 700;
}
.ang-icon img {
  display: block;
  flex: none;
  width: 22px;
  height: 22px;
  max-width: none;
  object-fit: contain;
}
html[data-theme="dark"] .ang-icon img,
html[data-theme="midnight"] .ang-icon img {
  filter: brightness(0) invert(1) opacity(.92);
}
.ang-label { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; color: var(--ang-muted); }
.ang-input,
.ang-textarea,
.ang-select {
  width: 100%;
  border: 1px solid var(--ang-border);
  border-radius: 9px;
  background: var(--ang-surface-2);
  color: var(--ang-text);
  padding: 10px 12px;
  font: 13px/1.5 inherit;
  outline: none;
}
.ang-input:focus, .ang-textarea:focus, .ang-select:focus { border-color: var(--ang-accent); box-shadow: 0 0 0 3px var(--ang-accent-soft); }
.ang-textarea { min-height: 105px; resize: vertical; }
.ang-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.ang-result {
  margin-top: 12px;
  min-height: 58px;
  padding: 12px;
  border-radius: 9px;
  border: 1px dashed var(--ang-border);
  background: var(--ang-surface-2);
  color: var(--ang-text);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.ang-result.ang-empty { color: var(--ang-muted); font-style: italic; }
.ang-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  background: var(--ang-surface-2); border: 1px solid var(--ang-border);
  color: var(--ang-muted); font-size: 12px; font-weight: 600;
}
.ang-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ang-pill.ang-ok { color: var(--ang-ok); }
.ang-pill.ang-warn { color: var(--ang-warn); }
.ang-pill.ang-error { color: var(--ang-error); }
.ang-note { color: var(--ang-muted); font-size: 12px; line-height: 1.6; }
.ang-code { font-family: Consolas, "Courier New", monospace; font-size: 12px; }
.ang-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.ang-table th, .ang-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--ang-border); }
.ang-table th { color: var(--ang-muted); font-weight: 600; }
.ang-footer { margin-top: 30px; padding: 24px 0 34px; border-top: 1px solid var(--ang-border); color: var(--ang-muted); font-size: 12px; }
.ang-footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Giriş sayfası */
.ang-login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 16px; }
.ang-login-card { width: min(440px, 100%); }
.ang-login-card h1 { margin: 4px 0 8px; font-size: 25px; }
.ang-login-card > p { color: var(--ang-muted); font-size: 13px; margin: 0 0 22px; line-height: 1.6; }
.ang-field { margin-bottom: 14px; }
.ang-error-box, .ang-success-box {
  display: none;
  margin: 12px 0;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  line-height: 1.5;
}
.ang-error-box { background: var(--ang-accent-soft); border: 1px solid var(--ang-error); color: var(--ang-error); }
.ang-success-box { background: var(--ang-accent-soft); border: 1px solid var(--ang-ok); color: var(--ang-ok); }
.ang-login-card .ang-btn { width: 100%; margin-top: 4px; }
.ang-login-foot { margin-top: 18px; display: flex; justify-content: space-between; gap: 10px; font-size: 12px; flex-wrap: wrap; }

/* ANGain ekran galerisi */
.ang-shots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.ang-shot {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--ang-border);
  border-radius: 14px;
  background: var(--ang-surface);
  box-shadow: var(--ang-shadow);
  color: var(--ang-text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ang-shot:hover,
.ang-shot:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ang-accent);
  box-shadow: 0 16px 34px rgba(0, 0, 0, .14);
  outline: none;
}
.ang-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-radius: 9px;
  background: #082647;
}
.ang-shot span {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px 2px;
  font-size: 13px;
  font-weight: 700;
}
.ang-shot span::after {
  content: "↗";
  margin-left: auto;
  color: var(--ang-accent-ink, var(--ang-accent));
  font-weight: 800;
}
.ang-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 56px 18px 24px;
  background: rgba(4, 8, 16, .88);
}
.ang-lightbox[hidden] { display: none !important; }
body.ang-lightbox-open { overflow: hidden; }
.ang-lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  text-align: center;
}
.ang-lightbox figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 76vh;
  margin: 0 auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .55);
}
.ang-lightbox figcaption {
  margin-top: 12px;
  color: #e7ecf5;
  font-size: 14px;
  font-weight: 600;
}
.ang-lightbox button {
  flex: none;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font: 700 26px/1 "Segoe UI", Arial, sans-serif;
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.ang-lightbox button:hover,
.ang-lightbox button:focus-visible { background: rgba(255, 255, 255, .22); transform: scale(1.06); outline: none; }
.ang-lightbox .ang-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 22px;
}
.ang-lightbox .ang-lightbox-close::before { content: "×"; }

.ang-demo-note { border-left: 3px solid var(--ang-accent); padding-left: 10px; }
.ang-demo-title { margin: 14px 0 7px; font-size: 13px; font-weight: 700; color: var(--ang-text); }

/* ANGain etkileşimli uygulama demosu */
.ad-subhead { margin: 26px 0 10px; font-size: 14px; color: var(--ang-muted); font-weight: 600; }
.ad-app {
  margin-top: 20px;
  border: 1px solid var(--ang-border);
  border-radius: 14px;
  background: var(--ang-surface);
  box-shadow: var(--ang-shadow);
  overflow: hidden;
}
.ad-titlebar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  background: var(--ang-surface-2);
  border-bottom: 1px solid var(--ang-border);
  font-size: 12px;
}
.ad-dots { display: inline-flex; gap: 6px; }
.ad-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ang-border); }
.ad-dots i:first-child { background: #e06c5b; }
.ad-dots i:nth-child(2) { background: #e5b94b; }
.ad-dots i:last-child { background: #4fae72; }
.ad-title { font-weight: 700; }
.ad-badge {
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 99px;
  background: var(--ang-accent-soft);
  color: var(--ang-accent-ink, var(--ang-accent));
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .4px;
}
.ad-body { display: grid; grid-template-columns: 196px minmax(0, 1fr); min-height: 470px; }
.ad-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 10px;
  background: var(--ang-surface-2);
  border-right: 1px solid var(--ang-border);
}
.ad-brand { display: flex; align-items: center; gap: 9px; padding: 2px 8px 10px; font-weight: 800; font-size: 15px; }
.ad-brand img { width: 28px; height: 28px; object-fit: contain; }
.ad-nav { display: flex; flex-direction: column; gap: 4px; }
.ad-nav button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ang-muted);
  font: 12px/1.3 "Segoe UI", Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.ad-nav button i { width: 15px; text-align: center; }
.ad-nav button:hover { background: var(--ang-accent-soft); color: var(--ang-text); }
.ad-nav button.active { background: var(--ang-accent); color: var(--ang-accent-text); font-weight: 700; }
.ad-side-foot { margin-top: auto; padding: 0 10px; color: var(--ang-muted); font-size: 10px; }
.ad-main { display: flex; flex-direction: column; min-width: 0; }
.ad-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--ang-border);
  font-size: 13px;
  font-weight: 600;
}
.ad-user { display: inline-flex; align-items: center; gap: 7px; color: var(--ang-muted); font-weight: 400; font-size: 12px; }
.ad-content { flex: 1; padding: 18px; max-height: 520px; overflow: auto; }
.ad-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ad-kpi { padding: 12px; border: 1px solid var(--ang-border); border-radius: 10px; background: var(--ang-surface-2); }
.ad-kpi b { display: block; font-size: 18px; line-height: 1.2; }
.ad-kpi span { display: block; margin-top: 4px; color: var(--ang-muted); font-size: 11px; }
.ad-panel { margin-top: 16px; padding: 14px; border: 1px solid var(--ang-border); border-radius: 10px; background: var(--ang-surface-2); }
.ad-panel h3 { margin: 0 0 12px; font-size: 13px; }
.ad-chart { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 6px; }
.ad-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; min-width: 0; }
.ad-bar { width: 100%; max-width: 34px; min-height: 4px; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--ang-accent), var(--ang-accent-soft)); }
.ad-bar-val, .ad-bar-label { color: var(--ang-muted); font-size: 9px; }
.ad-list { margin: 0; padding: 0; list-style: none; }
.ad-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--ang-border); font-size: 12px; }
.ad-list li:last-child { border-bottom: 0; }
.ad-tools, .ad-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ad-tools { margin-bottom: 12px; }
.ad-actions { margin-top: 12px; }
.ad-input {
  flex: 1;
  min-width: 200px;
  padding: 8px 10px;
  border: 1px solid var(--ang-border);
  border-radius: 8px;
  background: var(--ang-surface);
  color: var(--ang-text);
  font: 12px/1.3 "Segoe UI", Arial, sans-serif;
}
.ad-chip {
  padding: 8px 12px;
  border: 1px solid var(--ang-accent);
  border-radius: 8px;
  background: var(--ang-accent);
  color: var(--ang-accent-text);
  font: 12px/1.3 "Segoe UI", Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
}
.ad-chip-outline { background: transparent; color: var(--ang-accent-ink, var(--ang-accent)); }
.ad-chip:hover { filter: brightness(1.08); }
.ad-del { padding: 3px 8px; border: 1px solid var(--ang-border); border-radius: 6px; background: transparent; color: var(--ang-error); font: 11px/1.3 "Segoe UI", Arial, sans-serif; cursor: pointer; }
.ad-hint { margin: 14px 0 0; color: var(--ang-muted); font-size: 11px; }
.ad-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.ad-table th, .ad-table td { padding: 8px; text-align: left; border-bottom: 1px solid var(--ang-border); }
.ad-table th { color: var(--ang-muted); font-weight: 600; }
.ad-empty { padding: 16px; color: var(--ang-muted); text-align: center; font-size: 12px; }
.ad-report { margin: 0; padding: 12px; border: 1px solid var(--ang-border); border-radius: 8px; background: var(--ang-surface); color: var(--ang-text); font: 12px/1.6 Consolas, "Courier New", monospace; white-space: pre-wrap; }

/* Saat ve hava durumu widget'ı — sol alt */
.ang-widget {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 60;
  width: 234px;
  padding: 12px 14px 11px;
  border: 1px solid var(--ang-border);
  border-radius: 14px;
  background: var(--ang-surface);
  box-shadow: var(--ang-shadow);
}
.ang-widget-time {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
}
.ang-widget-date {
  margin-top: 2px;
  color: var(--ang-muted);
  font-size: 11px;
  text-transform: capitalize;
}
.ang-widget-weather {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--ang-border);
}
.ang-widget-icon { flex: none; font-size: 24px; line-height: 1; }
.ang-widget-temp { flex: none; font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ang-widget-desc { min-width: 0; color: var(--ang-muted); font-size: 11px; line-height: 1.3; }
.ang-widget-foot { display: flex; gap: 6px; margin-top: 9px; }
.ang-widget-foot select,
.ang-widget-foot button {
  min-width: 0;
  border: 1px solid var(--ang-border);
  border-radius: 7px;
  background: var(--ang-surface-2);
  color: var(--ang-text);
  font: 11px/1.3 "Segoe UI", Arial, sans-serif;
  padding: 5px 6px;
}
.ang-widget-foot select { flex: 1; cursor: pointer; }
.ang-widget-foot button { flex: none; width: 30px; font-size: 16px; cursor: pointer; }
.ang-widget-foot select:hover,
.ang-widget-foot button:hover { border-color: var(--ang-accent); }

/* WhatsApp — sağ alt */
.ang-body .ang-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 27px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .24);
  transition: transform .15s ease, filter .15s ease;
}
.ang-body .ang-whatsapp:hover { filter: brightness(1.07); transform: translateY(-2px); text-decoration: none; }
.ang-body .ang-whatsapp:focus-visible { outline: 3px solid var(--ang-accent); outline-offset: 3px; }

/* LimonDesk — sağ üst (header'ın altında) */
#limondesk-container {
  top: 82px !important;
  right: 18px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 80 !important;
}
@media (min-width: 453px) {
  #jaklcp-chat-container.openpopup {
    top: 82px !important;
    right: 18px !important;
    bottom: 82px !important;
    left: auto !important;
    height: calc(100vh - 164px) !important;
    max-height: 560px !important;
  }
}

/* Talep formu ve admin görünümü */
.ang-login-step { max-width: 420px; margin: 0 auto; }
.ang-login-step h3 { margin: 0 0 6px; font-size: 18px; }
.ang-login-step > p { margin: 0 0 18px; color: var(--ang-muted); font-size: 13px; line-height: 1.55; }
.ang-login-step .ang-btn { width: 100%; margin-top: 4px; }
.ang-account-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; flex-wrap: wrap; margin-bottom: 12px; padding: 8px 10px;
  border: 1px solid var(--ang-border); border-radius: 9px;
  background: var(--ang-surface-2); color: var(--ang-muted); font-size: 12px;
}
.ang-account-bar strong { color: var(--ang-text); font-weight: 600; }
.ang-match-note { margin: -4px 0 14px; color: var(--ang-accent-ink, var(--ang-accent)); font-size: 12px; line-height: 1.5; }
.ang-demo-banner {
  display: block;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid var(--ang-warn);
  border-radius: 9px;
  background: var(--ang-accent-soft);
  color: var(--ang-accent-ink, var(--ang-warn));
  font-size: 12px;
  line-height: 1.6;
}
.ang-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
}
.ang-form-grid .full { grid-column: 1 / -1; }
.ang-admin-toolbar {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ang-table-wrap { width: 100%; overflow-x: auto; }
.ang-admin-table { min-width: 860px; margin-top: 0; }
.ang-admin-table tbody tr { cursor: pointer; }
.ang-admin-table tbody tr:hover,
.ang-admin-table tbody tr:focus-visible { background: var(--ang-accent-soft); outline: none; }
.ang-admin-table tbody tr.ang-selected { background: var(--ang-accent-soft); }
.ang-detail { border-left: 3px solid var(--ang-accent); }
.ang-detail-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 8px 16px;
  margin: 0;
  font-size: 13px;
}
.ang-detail-grid dt { color: var(--ang-muted); font-weight: 600; }
.ang-detail-grid dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.ang-receipt {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--ang-border);
}
.ang-receipt h3 { margin: 0 0 12px; font-size: 17px; color: var(--ang-ok); }
.ang-empty { margin: 14px 0 0; color: var(--ang-muted); font-size: 13px; font-style: italic; }

@media (max-width: 720px) {
  .ang-widget { left: 10px; right: auto; bottom: 10px; width: 186px; padding: 9px 11px; border-radius: 11px; }
  .ang-widget-time { font-size: 20px; }
  .ang-widget-date { font-size: 10px; }
  .ang-widget-weather { margin-top: 7px; padding-top: 7px; gap: 6px; }
  .ang-widget-icon { font-size: 20px; }
  .ang-widget-temp { font-size: 16px; }
  .ang-widget-desc { font-size: 10px; }
  .ang-widget-foot { margin-top: 7px; }
  .ang-body .ang-whatsapp { right: 10px; bottom: 10px; width: 46px; height: 46px; font-size: 23px; }
  #limondesk-container { top: 76px !important; right: 10px !important; }
  .ang-form-grid { grid-template-columns: 1fr; }
  .ang-admin-toolbar > div { flex-basis: 100% !important; min-width: 0 !important; }
  .ang-shots { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .ang-shot { padding: 7px; border-radius: 10px; }
  .ang-shot span { font-size: 12px; padding: 8px 2px 1px; }
  .ang-lightbox { padding: 52px 8px 16px; gap: 4px; }
  .ang-lightbox button { width: 38px; height: 38px; font-size: 22px; }
  .ang-lightbox figure img { max-height: 68vh; }
  .ang-nav { gap: 10px; }
  .ang-links { order: 3; width: 100%; margin-left: 0; gap: 12px; }
  .ang-hero { padding-top: 48px; }
  .ang-theme { margin-left: auto; }
  .ad-body { grid-template-columns: 1fr; }
  .ad-sidebar { flex-direction: row; align-items: center; gap: 8px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--ang-border); overflow-x: auto; }
  .ad-brand { padding: 0 6px 0 0; flex: none; }
  .ad-nav { flex-direction: row; flex: 1; gap: 4px; }
  .ad-nav button { width: auto; white-space: nowrap; padding: 7px 9px; }
  .ad-side-foot { display: none; }
  .ad-topbar { padding: 10px 12px; }
  .ad-content { padding: 12px; max-height: 440px; }
  .ad-chart { height: 100px; gap: 6px; }
  .ad-table { font-size: 11px; }
  .ad-table th, .ad-table td { padding: 6px 5px; }
  .ad-input { min-width: 140px; }
}

/* Talep / detay yazdırma */
@media print {
  .ang-header, .ang-footer, .ang-widget, .ang-whatsapp,
  #limondesk-container, #jaklcp-chat-container,
  .ang-print-hide, .ang-theme, .ang-demo-banner,
  .ang-error-box, .ang-success-box, .ang-note { display: none !important; }
  body.ang-body { background: #ffffff !important; color: #000000 !important; }
  .ang-wrap { width: 100%; }
  .ang-section { padding: 0; }
  .ang-card, .ang-detail { border: 0; box-shadow: none; padding: 0; }
  .ang-table-wrap { overflow: visible; }
  .ang-admin-table { min-width: 0; font-size: 10px; }
  .ang-admin-table th, .ang-admin-table td { padding: 5px 6px; border-bottom: 1px solid #cccccc; }
  .ang-detail-grid { gap: 5px 12px; }
  .ang-receipt { margin-top: 10px; padding-top: 10px; }
  .ang-receipt h3 { color: #000000; }
}
