@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #eef3ef;
  --surface: #ffffff;
  --ink: #10201b;
  /* 16.08.2026: zemin görseli tüm sayfalara gelince 11px'lik ipucu yazıları
     desenin üstünde soluk kaldı. Ölçüldü: #66766f en açık bölgede bile 4.43
     (eşik 4.5) — yani ZATEN sınırdaydı. #4d5c55 ile 6.52 / 5.42 / 4.24 oldu;
     birincil-ikincil metin ayrımı korunuyor. */
  --muted: #4d5c55;
  --line: #d4ded8;
  --primary: #236b5b;
  --primary-dark: #174a3f;
  --accent: #ec8329;
  --danger: #c34137;
  --ready: #2f8a4f;
  --shadow: 0 14px 34px rgba(20, 35, 30, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.app-shell {
  width: min(720px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  /* Zemin görseli ::before katmanında; burada düz renk kalırsa onu örterdi.
     Görsel yüklenmezse/karanlık temada gövdenin --bg rengi görünür. */
  background: transparent;
}

.auth-screen {
  display: grid;
  min-height: 100vh;
  align-items: center;
  padding: 18px;
}

.auth-screen[hidden],
.app-shell[hidden] {
  display: none;
}

.auth-card {
  display: grid;
  width: min(420px, 100%);
  gap: 14px;
  margin: 0 auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-card h1 {
  color: var(--primary);
}

.auth-card p {
  color: var(--muted);
  line-height: 1.45;
}

.license-pricing {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: #f6fbf8;
}

.license-pricing[hidden] {
  display: none;
}

.license-pricing h2 {
  margin: 0;
  font-size: 17px;
  color: var(--primary);
}

.license-price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e3ece7;
  font-weight: 700;
}

.license-price-row:last-child {
  border-bottom: 0;
}

.license-price-row span:last-child {
  white-space: nowrap;
  color: var(--primary-dark);
}

.license-home-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 12px 0 16px;
  padding: 14px;
  border: 1px solid #cbd9d3;
  border-radius: 8px;
  background: #f5fbf8;
  box-shadow: 0 6px 18px rgba(20, 35, 30, 0.06);
  cursor: pointer;
}

.license-home-card.is-warning {
  border-color: #e0aaa6;
  background: #fff4f3;
}

.license-home-card.is-ok {
  border-color: #9fc6bd;
  background: #f1f8f5;
}

.license-home-card > div {
  display: grid;
  gap: 4px;
}

.license-home-card strong {
  color: var(--primary-dark);
  font-size: 16px;
}

.license-home-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.license-status-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark);
}

.license-status-grid {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}

.license-info-row,
.license-plan-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.license-info-row span {
  color: var(--muted);
}

.license-info-row strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.license-plan-row {
  align-items: center;
  cursor: pointer;
}

.license-plan-row input {
  width: auto;
}

.license-plan-row span {
  flex: 1;
  font-weight: 700;
}

.license-plan-row strong {
  color: var(--primary-dark);
  white-space: nowrap;
}

.license-request-form,
.profile-form {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.check-row input {
  width: 20px;
  height: 20px;
  padding: 0;
  accent-color: var(--primary);
}

.eyebrow.dark {
  color: var(--primary);
  font-weight: 700;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: max(18px, env(safe-area-inset-top)) 18px 16px;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(8, 39, 31, 0.18);
}

.topbar-main {
  flex: 1 1 auto;
  min-width: 0;
}

/* ÜST BANNER YALNIZ ANASAYFADA (06.08.2026): diğer sayfalarda büyük selamlama gizlenir,
   topbar ince bir uygulama çubuğuna iner → telefonda dikey yer kazanılır. */
.app-shell:not(.home-view) .topbar { align-items: center; padding-top: max(8px, env(safe-area-inset-top)); padding-bottom: 8px; }
.app-shell:not(.home-view) #greetingTitle,
.app-shell:not(.home-view) #subPill,
.app-shell:not(.home-view) #teamBanner { display: none; }
.app-shell:not(.home-view) .app-lockup { margin-bottom: 0; }

.topbar-sub {
  margin: 5px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
}

.topbar .team-banner {
  margin: 12px 0 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  border-radius: 10px;
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 4px;
}

.metric-card {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(20, 35, 30, 0.04);
  cursor: pointer;
}

.metric-card .m-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.metric-card .m-num {
  display: block;
  margin-top: 6px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ink);
}

.metric-card .m-num.money {
  color: var(--primary);
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 26px;
  line-height: 1.05;
}

/* Anasayfa selamlama ("Merhaba, ...") KÜÇÜK + TAM GENİŞLİK (06.08.2026, kullanıcı):
   ikonlar üst-sağ köşeye sabitlenir → selamlama yazısı ikon sütununa sıkışmaz, yatay uzanır. */
#greetingTitle { font-size: 18px; line-height: 1.15; }
.topbar { position: relative; }
.top-actions { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 16px; flex-wrap: nowrap; gap: 5px; z-index: 2; }
.top-actions .icon-button { width: 38px; height: 38px; border-radius: 12px; }
.app-lockup { padding-right: 172px; }        /* üst satırda ikonlara yer aç (4 ikon) */
.app-lockup .app-kicker { display: none; }   /* uzun alt yazıyı gizle → header derli toplu */

/* SIRADA SENDE KARTLARI dar ekranda dikey dizilir (06.08.2026, kullanıcı): yazılar TAM
   GENİŞLİK kullanır (sıkışıp alt alta inmez), buton kartın altına tam genişlik iner. */
@media (max-width: 520px) {
  .sirada-kart { flex-wrap: wrap; align-items: flex-start; }
  .sirada-sol { flex: 1 1 100%; }
  .sirada-btn, .sirada-more { width: 100%; align-self: stretch; margin-top: 8px; }
  .sirada-simdi { white-space: normal; }
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 24px;
}

.top-actions {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.topbar-bell { position: relative; font-size: 18px; }
.topbar-bell-badge { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #e24b4a; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

main {
  padding: 16px;
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: min(720px, 100%);
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 6px max(10px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(20, 35, 30, 0.07);
}

.has-bottom-nav .bottom-nav {
  display: flex;
}

.has-bottom-nav main {
  padding-bottom: 88px;
}

.bn-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.bn-tab svg {
  width: 23px;
  height: 23px;
}

.bn-tab.active {
  color: var(--primary);
}

.bn-fab {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  margin: -22px 4px 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: 3px solid var(--surface);
  box-shadow: 0 6px 16px rgba(20, 79, 67, 0.35);
}

.bn-fab svg {
  width: 28px;
  height: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(58px, 1fr));
  gap: 8px;
}

.stats-grid article {
  display: grid;
  min-width: 0;
  min-height: 58px;
  aspect-ratio: 1;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  text-align: center;
  cursor: pointer;
}

.stat-icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-items: center;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: linear-gradient(160deg, #2f8a78, #125543);
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.stat-card.total {
  border-color: #c7d7cf;
}

.stat-card.active {
  border-color: #9fc6bd;
  background: #f1f8f5;
}

.stat-card.ready {
  border-color: #a9cfb6;
  background: #f2faf4;
}

.stat-card.appointment {
  border-color: #d8c491;
  background: #fff9e8;
}

.stat-card.notification {
  border-color: #aabbd3;
  background: #f3f7ff;
}

.stat-card.warranty {
  border-color: #e0aaa6;
  background: #fff4f3;
}

.stats-grid span {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.stats-grid small {
  max-width: 100%;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.15;
}

.home-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2a7d6a, #174a3f);
  color: #fff;
  text-align: left;
  box-shadow: 0 10px 24px rgba(20, 79, 67, 0.28);
}

.home-cta-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

.home-cta-text {
  display: grid;
  gap: 2px;
  flex: 1 1 auto;
}

.home-cta-text strong {
  font-size: 17px;
  font-weight: 700;
}

.home-cta-text small {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.home-cta-arrow {
  font-size: 26px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1;
}

.home-menu {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

.home-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  box-shadow: 0 3px 10px rgba(20, 35, 30, 0.04);
}

.home-menu-item:active {
  background: #f3f8f5;
}

.hm-icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef5f1;
  font-size: 20px;
  line-height: 1;
}

.hm-text {
  display: grid;
  gap: 1px;
  flex: 1 1 auto;
  min-width: 0;
}

.hm-text strong {
  font-size: 15px;
  color: var(--ink);
}

.hm-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.hm-arrow {
  font-size: 22px;
  color: #b8c4bf;
  line-height: 1;
}

.home-menu-item.danger .hm-text strong {
  color: var(--danger);
}

[data-theme="dark"] .home-menu-item.danger {
  background: #3d2f30;
  border-color: #4d3a3a;
}

[data-theme="dark"] .home-menu-item.danger .hm-text strong {
  color: #ef9b94;
}

.settings-section {
  margin-bottom: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(20, 35, 30, 0.04);
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-ic {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef5f1;
  font-size: 20px;
  line-height: 1;
}

.section-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.section-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.section-hint {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

.block-button {
  width: 100%;
}

.profile-summary {
  margin-bottom: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(20, 35, 30, 0.04);
}

.ps-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ps-av {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.ps-id {
  flex: 1;
  min-width: 0;
}

.ps-id strong {
  display: block;
  font-size: 16px;
}

.ps-id span {
  font-size: 13px;
  color: var(--muted);
}

.ps-edit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid #cbe0d7;
  border-radius: 999px;
  background: #eef5f1;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
}

.ps-rows {
  margin-top: 14px;
  border-top: 1px solid var(--line);
}

.ps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.ps-row .k {
  flex: 0 0 auto;
  color: var(--muted);
}

.ps-row .v {
  text-align: right;
  word-break: break-word;
}

.ps-lock {
  font-size: 12px;
}

.ps-pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 12px;
  padding: 12px 0 2px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.locked-hint {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

/* Alan altı açıklama satırı (label içinde, input'tan sonra) */
.field-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}

input[readonly] {
  background: #f1f0ea;
  color: var(--muted);
  cursor: not-allowed;
}

.ui-switch {
  position: relative;
  width: 44px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #c9d2cd;
  cursor: pointer;
}

.ui-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s ease;
}

.ui-switch.on {
  background: var(--primary);
}

.ui-switch.on::after {
  transform: translateX(18px);
}

.switch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.switch-row:last-child {
  border-bottom: 0;
}

.sr-text {
  flex: 1;
  min-width: 0;
}

.sr-text strong {
  display: block;
  font-size: 14px;
}

.sr-text small {
  font-size: 12.5px;
  color: var(--muted);
}

.about-panel {
  text-align: center;
}

.about-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 4px auto 12px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.about-ver {
  margin-top: -6px;
  color: var(--muted);
}

.about-rows {
  margin: 16px 0;
  text-align: left;
  border-top: 1px solid var(--line);
}

.about-rows > div {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.about-rows > div span:first-child {
  color: var(--muted);
}

.about-copy {
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}

.faq-title {
  margin: 18px 0 8px;
}

.faq {
  margin-bottom: 8px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 13.5px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq[open] summary {
  margin-bottom: 8px;
}

.faq p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

[data-theme="dark"] {
  --bg: #2c3733;
  --surface: #37443f;
  --ink: #eef3f1;
  --muted: #b2beb9;
  --line: #475650;
  --primary-dark: #6fceb4;
  color-scheme: dark;
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: #3f4d47;
  color: var(--ink);
  border-color: #4f5e57;
}

[data-theme="dark"] input[readonly] {
  background: #333f3a;
}

[data-theme="dark"] .backup-panel,
[data-theme="dark"] .license-home-card,
[data-theme="dark"] .faq,
[data-theme="dark"] .switch-row {
  background: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .page-bar {
  background: var(--surface);
}

[data-theme="dark"] .hm-icon,
[data-theme="dark"] .section-ic,
[data-theme="dark"] .page-nav-icon,
[data-theme="dark"] .ps-edit {
  background: #43524b;
  border-color: #4f5e57;
}

[data-theme="dark"] .ui-switch {
  background: #586860;
}

[data-theme="dark"] .metric-card .m-num.money {
  color: #6fceb4;
}

.team-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.team-name-row strong {
  font-size: 17px;
  color: var(--primary-dark);
}

.icon-mini {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #eef5f1;
  color: var(--primary);
}

.team-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

.muted-label {
  color: var(--muted);
}

.code-chip {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f6f4;
  color: var(--ink);
  font-family: monospace;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .icon-mini {
  background: #43524b;
}

[data-theme="dark"] .code-chip {
  background: #3f4d47;
}

[data-theme="dark"] .ghost,
[data-theme="dark"] .secondary {
  background: #43524b;
  color: var(--ink);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .record-card,
[data-theme="dark"] .user-row {
  background: var(--surface);
  border-color: var(--line);
}

.account-meta {
  margin: 18px 0 4px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  text-align: center;
  word-break: break-word;
  opacity: 0.75;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 16px 0;
  border: 0;
  background: transparent;
}

.tab {
  display: grid;
  min-height: 92px;
  aspect-ratio: 1;
  align-items: center;
  justify-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 12px rgba(20, 35, 30, 0.04);
}

.tab::before {
  display: inline-grid;
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
  align-items: center;
  justify-items: center;
  border: 4px solid #d9d9d9;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 25%, #2b8df2, #0752a6 70%);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.55), 0 2px 4px rgba(20, 35, 30, 0.12);
}

.tab[data-view="records"]::before { content: "📋"; }
.tab[data-view="form"]::before { content: "👤+"; font-size: 14px; }
.tab[data-view="appointments"]::before { content: "📅"; }
.tab[data-view="warranty"]::before { content: "🛡"; }
.tab[data-view="notifications"]::before { content: "🔔"; }
.tab[data-view="stock"]::before { content: "▦"; }
.tab[data-view="report"]::before { content: "↗"; }
.tab[data-view="faultCodes"]::before { content: "⚠"; }
.tab[data-view="backup"]::before { content: "☁"; }
.tab[data-view="firebase"]::before { content: "F"; }
.tab[data-view="users"]::before { content: "👥"; }

.tab:last-child {
  border-right: 1px solid var(--line);
}

.tab.is-active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.create-panel-button {
  width: 100%;
  margin-bottom: 12px;
}

.collapsible-form {
  margin-bottom: 12px;
}

.period-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.report-period.is-active {
  background: var(--primary);
  color: #fff;
}

.clickable-row {
  cursor: pointer;
}

.clickable-row:focus,
.clickable-row:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.1);
}

.entity-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: flex-start;
  min-height: 64px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.entity-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.entity-row strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.entity-row span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.3;
}

.entity-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.entity-row em {
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef1ed;
  color: var(--muted);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.entity-row em.status-active { background: #faeeda; color: #633806; }
.entity-row em.status-ready { background: #e6f1fb; color: #0c447c; }
.entity-row em.status-done { background: #e1f5ee; color: #085041; }
.entity-row em.status-return { background: #fcebeb; color: #791f1f; }
.entity-row em.status-cancel { background: #ece7e7; color: #791f1f; }
.entity-row em.status-wait { background: #f1efe8; color: #5f5e5a; }
/* A-4: sınıflandırılamayan (unknown) kayıt sarı uyarı ile işaretlenir — usta düzeltsin. */
.entity-row em.status-warn { background: #fdf3d7; color: #8a5a00; box-shadow: inset 0 0 0 1px #e0a020; }

.entity-row .entity-amount {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

[data-theme="dark"] .entity-row em:not([class*="status"]) {
  background: #43524b;
  color: var(--muted);
}

.customer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.cc-av {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.cc-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cc-info strong {
  font-size: 15px;
}

.cc-info span {
  font-size: 12.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cc-right {
  text-align: right;
}

.cc-amt {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
}

.customer-head {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.cd-av {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.cd-id {
  min-width: 0;
}

.cd-id strong {
  display: block;
  font-size: 17px;
}

.cd-id span {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.cd-stats {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.cd-stats > div {
  flex: 1;
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
}

.cd-stats .v {
  display: block;
  font-size: 17px;
  font-weight: 800;
}

.cd-stats .v.money {
  color: var(--primary);
}

.cd-stats .l {
  font-size: 11.5px;
  color: var(--muted);
}

.cd-hist-title {
  margin: 16px 0 10px;
  font-size: 15px;
}

.list-summary {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.list-summary > div {
  flex: 1;
  padding: 12px 6px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 1px 4px rgba(20, 35, 30, 0.04);
  text-align: center;
}

[data-theme="dark"] .list-summary > div {
  background: #3f4d47;
}

.list-summary .v {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.list-summary .v.amber {
  color: #854f0b;
}

.list-summary .v.money {
  color: var(--primary);
}

.list-summary .v.green {
  color: #0f6e56;
}

.list-summary .l {
  font-size: 11px;
  color: var(--muted);
}

.records-search {
  margin-bottom: 10px;
}

.filter-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 2px;
  overflow-x: auto;
}
/* Stok: Depo / Durum filtreleri etiketli + ayrık (21.07.2026) */
.stock-filtre-grup { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.stock-filtre-grup .filter-chips { margin-bottom: 0; flex: 1 1 auto; min-width: 0; }
.sf-etiket { flex: 0 0 auto; min-width: 54px; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; color: var(--muted); text-transform: uppercase; }
#stockDurumGrup { padding-top: 8px; border-top: 1px dashed var(--line); }
/* Durum çipleri depo çiplerinden görsel farklı: daha küçük + amber vurgu (uyarı tonu) */
.durum-chips .chip { padding: 6px 13px; font-size: 12.5px; }
.durum-chips .chip.on { background: #fbeecb; border-color: #d99a3a; color: #7a520d; }
[data-theme="dark"] .durum-chips .chip.on { background: #5a4a1e; border-color: #d99a3a; color: #f4d79a; }

.chip {
  flex: 0 0 auto;
  padding: 7px 14px;
  border: 1px solid #bcc5be;
  border-radius: 999px;
  background: var(--surface);
  color: #3b4843;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
}

.chip.on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.list-section {
  margin: 4px 2px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.list-section.warn {
  color: #854f0b;
}

.load-more {
  width: 100%;
  margin-top: 4px;
  padding: 11px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.appointment-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.appointment-row.is-past { opacity: 0.6; }

/* Randevu kartındaki F iş akış planı — 3 sütunun altında tam genişlik (21.07.2026) */
.appointment-row .apt-plan { grid-column: 1 / -1; margin-top: 2px; padding-top: 10px; border-top: 1px dashed var(--line); }

.apt-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding-right: 11px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.apt-clock {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.1;
}

.apt-clock.warn {
  color: #854f0b;
}

.apt-clock.danger {
  color: #a32d2d;
}

.apt-sub {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.1;
}

.apt-day {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}

.appointment-row.is-past .apt-clock {
  color: var(--muted);
  font-size: 13px;
}

.apt-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.apt-main strong {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.apt-main span {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.3;
}

.apt-main .apt-depart {
  color: var(--primary);
  font-weight: 500;
  font-size: 12px;
}

.apt-side {
  display: flex;
  align-items: center;
}

.apt-side em {
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef1ed;
  color: var(--muted);
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.apt-side em.status-active { background: #faeeda; color: #633806; }
.apt-side em.status-done { background: #e1f5ee; color: #085041; }
.apt-side em.status-cancel { background: #eef1ed; color: #5f5e5a; }
.apt-side em.status-empty { background: #fcebeb; color: #a32d2d; }

#stockView.entry-open > .backup-panel > h2,
#stockView.entry-open #createStockButton,
#stockView.entry-open .list-summary,
#stockView.entry-open .records-search,
#stockView.entry-open #stockDepoGrup,
#stockView.entry-open #stockDurumGrup,
#stockView.entry-open #manageWarehousesButton,
#stockView.entry-open #stockList,
#stockView.entry-open #stockEmptyState,
#appointmentsView.entry-open > .backup-panel > h2,
#appointmentsView.entry-open #createAppointmentButton,
#appointmentsView.entry-open .list-summary,
#appointmentsView.entry-open .records-search,
#appointmentsView.entry-open #appointmentFilterChips,
#appointmentsView.entry-open #appointmentList,
#appointmentsView.entry-open #appointmentEmptyState {
  display: none;
}

.stock-form-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.manage-warehouses {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: 12px;
}

.entity-side.wh-actions {
  flex-direction: row;
  align-items: center;
  gap: 6px;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.report-kpi {
  background: #eef1ed;
  border-radius: 12px;
  padding: 12px 8px;
}

[data-theme="dark"] .report-kpi { background: #3f4d47; }

.rk-label { margin: 0; font-size: 11px; color: var(--muted); }
.rk-value { margin: 3px 0 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.rk-value.green { color: #0f6e56; }
.rk-value.amber { color: #854f0b; }
.rk-trend { margin: 2px 0 0; font-size: 11px; font-weight: 600; }
.rk-trend.up { color: #0f6e56; }
.rk-trend.down { color: #a32d2d; }
.rk-sub { margin: 2px 0 0; font-size: 11px; color: var(--muted); }

.report-chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 14px 10px;
  margin-bottom: 12px;
}

.report-chart-title { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--ink); }
.report-bars { display: flex; align-items: flex-end; gap: 10px; min-height: 130px; }
.rb-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.rb-bar { width: 100%; min-height: 4px; border-radius: 5px 5px 0 0; background: #cfe0da; }
.rb-bar.current { background: var(--primary); }
.rb-label { font-size: 10px; color: var(--muted); }
[data-theme="dark"] .rb-bar { background: #43524b; }

.report-breakdown {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  margin-bottom: 12px;
}

.breakdown-row { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; color: var(--muted); }
.breakdown-row .bd-value { font-weight: 600; color: var(--ink); }
.breakdown-row .bd-value.red { color: #a32d2d; }
.breakdown-row .bd-value.green { color: #0f6e56; }
.breakdown-row.total { margin-bottom: 0; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.breakdown-row.total span:first-child { font-weight: 600; color: var(--ink); }
.breakdown-row.total .bd-value { font-weight: 700; }

.report-section-label { margin: 0 0 8px 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); }
.report-status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.report-status-pill { font-size: 12px; padding: 5px 11px; border-radius: 14px; background: #eef1ed; color: var(--muted); }
.report-status-pill.active { background: #faeeda; color: #854f0b; }
.report-status-pill.ready { background: #e6f1fb; color: #0c447c; }
.report-status-pill.done { background: #e1f5ee; color: #085041; }
.report-status-pill.return { background: #fcebeb; color: #a32d2d; }
.report-status-pill.wait { background: #f1efe8; color: #5f5e5a; }
.report-status-pill.cancel { background: #f3ecec; color: #791f1f; }
.report-status-pill.warn { background: #fdf3d7; color: #8a5a00; box-shadow: inset 0 0 0 1px #e0a020; }
.report-pdf { width: 100%; }

.fault-code-no { font-size: 14px; word-break: break-word; }
.fault-urgency.high { background: #fcebeb; color: #a32d2d; }
.fault-urgency.mid { background: #faeeda; color: #854f0b; }
.fault-urgency.low { background: #e1f5ee; color: #085041; }
.fault-draft-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; font-style: normal; letter-spacing: 0.2px; background: #eef1ed; color: #6b746e; border: 1px dashed #b6c0b8; }
.fault-draft-note { margin: 2px 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; line-height: 1.45; background: #faeeda; color: #854f0b; border: 1px solid #ecd9b3; }

/* margin-top -4px, üstteki (resize kollu) adres textarea'sının üstüne biniyordu → pozitif boşluk (23.07.2026, Kenan) */
.loc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin: 6px 0 8px; }
.loc-btn { padding: 8px 14px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--primary); background: transparent; color: var(--primary); cursor: pointer; }
.loc-btn:disabled { opacity: 0.6; }
.loc-status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; }
.loc-ok { color: #085041; font-weight: 600; }
.loc-dir { color: var(--primary); font-weight: 600; text-decoration: underline; }
.loc-clear { color: var(--muted); text-decoration: underline; }

.calc-desc { margin: 0 0 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.calc-inputs { display: flex; flex-direction: column; gap: 12px; }
.calc-inputs label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--ink); }
.calc-inputs input, .calc-inputs select { font-weight: 500; }
.calc-actions { display: flex; gap: 10px; margin-top: 16px; }
.calc-actions button { flex: 1; }
.calc-result { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #eef5f1; border: 1px solid var(--line); }
.calc-result.error { background: #fcebeb; border-color: #f0caca; color: #a32d2d; font-weight: 600; }
.calc-big { font-size: 22px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.calc-row span { color: var(--muted); }
.calc-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* Sıkışık kalem satırı — PDF tablosu düzeni (Adım 3, 19.07.2026).
   Butonlar satıra dokununca açılır; 11 kalem = 11 satır, 33 buton değil. */
.est-liste { display: flex; flex-direction: column; }
/* KOMPAKT KALEM SATIRI (11.08.2026, kullanıcı mockup'ı): ince satır — ad+metraj tek nefeste, az dolgu */
.est-line { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 5px; overflow: hidden; }
.est-bas { display: flex; align-items: center; gap: 8px; padding: 6px 11px; cursor: pointer; }
.est-bas:active { background: var(--bg, #f3f6f4); }
.est-no { flex-shrink: 0; font-size: 11px; font-weight: 700; color: var(--muted); min-width: 16px; }
.est-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.est-main strong { font-size: 13px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.25; }
.est-alt { font-size: 11px; color: var(--muted); line-height: 1.25; }
.est-tot { flex-shrink: 0; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.est-btns { display: none; gap: 6px; padding: 0 12px 11px; }
.est-line.acik .est-btns { display: flex; }
.est-line.acik { border-color: var(--primary); }

/* Altta sabit toplam çubuğu — pane içinde sticky */
.est-sticky { position: sticky; bottom: 8px; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 4px; padding: 12px 16px; border-radius: 13px; background: var(--primary); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.est-sticky[hidden] { display: none; }
.est-sticky-sol { font-size: 13px; font-weight: 600; opacity: .9; }
.est-sticky-sag { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.est-sticky-sag small { font-size: 10.5px; opacity: .85; }
.est-sticky-sag strong { font-size: 18px; font-weight: 700; }
.est-edit { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid var(--primary); background: transparent; color: var(--primary); cursor: pointer; }
.est-del { padding: 5px 10px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid #f0caca; background: #fcebeb; color: #a32d2d; cursor: pointer; }
.est-waiting { border-color: #f0d9a8; background: #fdf7ea; }
.est-waiting .est-main span { color: #a9761b; font-weight: 600; }
.est-waiting-info { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #fdf7ea; border: 1px solid #f0d9a8; color: #8a6316; font-size: 13px; line-height: 1.4; }

.maintenance-list { display: grid; gap: 8px; }
.maintenance-row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #f9faf9; cursor: pointer; }
.mtn-when { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; }
.mtn-icon { font-size: 22px; }
.mtn-remaining { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; text-align: center; }
.mtn-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mtn-main strong { font-size: 15px; }
.mtn-main span { font-size: 13px; color: #5f5e5a; }
.mtn-sub { font-size: 12px !important; color: #888780 !important; }
.mtn-side em { font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
.status-overdue { background: #fcebeb; color: #a32d2d; }
.status-soon { background: #faeeda; color: #8a5a0b; }
.status-ok { background: #e1f5ee; color: #085041; }
.status-passive, .status-none { background: #eef1ed; color: #5f5e5a; }
.mtn-tasks-field { margin: 6px 0; }
.mtn-tasks-label { display: block; font-size: 13px; color: #5f5e5a; margin-bottom: 6px; }
.mtn-task-edit { display: flex; gap: 6px; margin-bottom: 6px; }
.mtn-task-edit input { flex: 1; }
.mtn-task-del { width: 34px; flex: none; border: 1px solid #f0caca; background: #fcebeb; color: #a32d2d; border-radius: 8px; font-size: 18px; cursor: pointer; }
.mtn-task-add { display: flex; gap: 6px; margin-top: 4px; }
.mtn-task-add input { flex: 1; }
.mtn-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 4px 0 12px; }
.mtn-detail-head h3 { margin: 0; font-size: 17px; }
.mtn-detail-info { display: grid; gap: 6px; background: #f7f9f7; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; }
.mtn-info-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.mtn-info-l { color: #888780; flex: none; }
.mtn-info-v { text-align: right; }
.mtn-checklist-title { font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.mtn-checklist { display: grid; gap: 6px; margin-bottom: 16px; }
.mtn-task { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14px; cursor: pointer; }
.mtn-task input { width: 20px; height: 20px; flex: none; }
.mtn-task.done span { text-decoration: line-through; color: #888780; }
.mtn-empty-tasks { font-size: 13px; color: #888780; margin: 0; }
.mtn-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.pro-select { position: relative; width: 100%; }
.pro-select-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.pro-select-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pro-select-btn:hover { border-color: var(--primary); }
.pro-select.open .pro-select-btn { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.14); }
.pro-select-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-select-label.is-placeholder { color: var(--muted); }
.pro-select-chev { flex: none; display: inline-flex; color: var(--muted); transition: transform .18s ease; }
.pro-select.open .pro-select-chev { transform: rotate(180deg); color: var(--primary); }
.pro-select-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120; max-height: 264px; overflow-y: auto; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 34px rgba(20, 35, 30, 0.18); }
.pro-select.open .pro-select-panel { display: block; animation: proSelectIn .14s ease; }
@keyframes proSelectIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.pro-select-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 12px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 14.5px; text-align: left; cursor: pointer; }
.pro-select-opt:hover { background: rgba(35, 107, 91, 0.09); }
.pro-select-opt.is-selected { background: rgba(35, 107, 91, 0.12); color: var(--primary-dark); font-weight: 600; }
.pro-select-check { flex: none; color: var(--primary); opacity: 0; font-weight: 700; }
.pro-select-opt.is-selected .pro-select-check { opacity: 1; }
[data-theme="dark"] .pro-select-opt:hover { background: rgba(111, 206, 180, 0.14); }
[data-theme="dark"] .pro-select-opt.is-selected { background: rgba(111, 206, 180, 0.18); }

.value-panel { display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 12px 14px; border: 1px solid #cfe6dd; border-radius: 14px; background: #eef7f3; color: var(--ink); text-align: left; cursor: pointer; }
.value-panel .vp-icon { font-size: 22px; flex: none; }
.value-panel .vp-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.vp-title { font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.vp-line { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-arrow { color: var(--primary); font-size: 18px; flex: none; }
[data-theme="dark"] .value-panel { background: #2f3f39; border-color: #3f5249; }

.tour-overlay { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 24, 19, 0.55); }
.tour-card { position: relative; width: min(360px, 100%); background: var(--surface); border-radius: 20px; padding: 30px 22px 20px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.tour-skip { position: absolute; top: 12px; right: 14px; padding: 4px 8px; background: transparent; border: 0; color: var(--muted); font-size: 13px; cursor: pointer; }
.tour-emoji { font-size: 46px; line-height: 1; margin-bottom: 12px; }
.tour-title { margin: 0 0 8px; font-size: 19px; color: var(--ink); }
.tour-desc { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.tour-dots { display: flex; justify-content: center; gap: 7px; margin-bottom: 18px; }
.tour-dot { width: 8px; height: 8px; border-radius: 50%; background: #cdd8d2; transition: width .2s, background .2s; }
.tour-dot.on { background: var(--primary); width: 22px; border-radius: 5px; }
[data-theme="dark"] .tour-dot { background: #4a5951; }
.tour-actions { display: flex; gap: 10px; }
.tour-actions button { flex: 1; padding: 12px; border-radius: 10px; font-weight: 600; }

.color-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.color-card { display: flex; flex-direction: column; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); cursor: pointer; text-align: left; }
.color-card.sel { border: 2px solid var(--primary); }
.color-chip { height: 60px; position: relative; }
.color-tick { position: absolute; top: 6px; right: 9px; font-size: 17px; font-weight: 700; }
.color-lab { padding: 7px 10px; }
.color-lab strong { display: block; font-size: 13px; }
.color-lab span { display: block; font-size: 11.5px; color: var(--muted); }
.color-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.color-count { font-size: 13px; color: var(--muted); }
.color-bar button { padding: 11px 16px; border-radius: 10px; white-space: nowrap; }
.color-note { font-size: 12px; color: #8a6316; background: #fdf7ea; border: 1px solid #f0d9a8; border-radius: 10px; padding: 8px 12px; margin-top: 12px; line-height: 1.4; }
[data-theme="dark"] .color-note { background: #3a3320; border-color: #5a4d2a; color: #e0c98a; }

.fmc-hide { flex: none; align-self: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 20px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; cursor: pointer; }
.fmc-hide:hover { border-color: var(--danger); color: var(--danger); }
.module-archive-wrap { margin-top: 10px; }
.module-archive { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); overflow: hidden; }
.module-archive > summary { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; list-style: none; }
.module-archive > summary::-webkit-details-marker { display: none; }
.module-archive[open] > summary { border-bottom: 1px solid var(--line); }
.archive-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }
.archive-row:first-of-type { border-top: 0; }
.archive-ic { font-size: 20px; flex: none; }
.archive-name { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.archive-restore { flex: none; padding: 6px 12px; border: 1px solid var(--primary); border-radius: 8px; background: transparent; color: var(--primary); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.archive-open-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.archive-open-count { min-width: 24px; padding: 1px 8px; border-radius: 20px; background: var(--line); color: var(--ink); font-size: 12px; text-align: center; }
.hidden-list { display: grid; gap: 8px; }
.hidden-list .archive-row { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 11px 13px; }
.hidden-list .archive-row:first-of-type { border-top: 1px solid var(--line); }
.archive-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.archive-type { font-size: 11.5px; color: var(--muted); }
.leads-note { margin: 8px 0 4px; padding: 10px 12px; border-radius: 10px; background: #eef7f3; border: 1px solid #cfe6dd; color: var(--primary-dark); font-size: 12.5px; line-height: 1.45; }
[data-theme="dark"] .leads-note { background: #2f3f39; border-color: #3f5249; }

.intake-field { margin-bottom: 11px; }
.intake-q { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.intake-ctl { width: 100%; box-sizing: border-box; }
.intake-actions { display: flex; gap: 10px; margin-top: 8px; }
.intake-actions button { flex: 1; padding: 11px; border-radius: 10px; font-weight: 600; }
.intake-summary { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #eef7f3; border: 1px solid #cfe6dd; }
[data-theme="dark"] .intake-summary { background: #2f3f39; border-color: #3f5249; }
.intake-sum-head { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.intake-sum-warn { margin: 0 0 8px; font-size: 12.5px; color: #8a6316; }
.intake-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 13px; }
.intake-sum-row:first-of-type { border-top: 0; }
.intake-sum-l { color: var(--muted); flex: none; max-width: 45%; }
.intake-sum-v { text-align: right; overflow-wrap: anywhere; }

.onboard-options { display: grid; gap: 10px; }
.role-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; }
.role-opt.primary { border: 2px solid var(--primary); background: #eef7f3; }
[data-theme="dark"] .role-opt.primary { background: #2f3f39; }
.role-ic { width: 40px; height: 40px; flex: none; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: #eef5f1; }
[data-theme="dark"] .role-ic { background: #43524b; }
.role-txt { flex: 1; min-width: 0; }
.role-txt strong { display: block; font-size: 15px; color: var(--ink); }
.role-txt small { display: block; font-size: 12px; color: var(--muted); }
.role-txt .role-free { color: var(--ready); font-weight: 600; margin-top: 2px; }
.cust-logo { width: 60px; height: 60px; margin: 0 auto 6px; border-radius: 16px; background: #eef5f1; display: flex; align-items: center; justify-content: center; font-size: 30px; }
[data-theme="dark"] .cust-logo { background: #43524b; }
.cust-benefits { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; text-align: left; }
.cust-benefits li { font-size: 13.5px; color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.cust-soon { font-size: 12.5px; color: #8a6316; background: #fdf7ea; border: 1px solid #f0d9a8; border-radius: 10px; padding: 10px 12px; line-height: 1.45; }
[data-theme="dark"] .cust-soon { background: #3a3320; border-color: #5a4d2a; color: #e0c98a; }

#customerShell { width: min(720px, 100%); min-height: 100vh; margin: 0 auto; background: #f7f9f7; }
#customerShell[hidden] { display: none; }
.cust-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: calc(env(safe-area-inset-top, 0px) + 22px) 18px 18px; background: var(--primary); color: #fff; }
.cust-eyebrow { margin: 0; font-size: 12px; opacity: .85; }
.cust-header h1 { margin: 2px 0 2px; font-size: 22px; font-weight: 500; color: #fff; }
.cust-head-sub { margin: 0; font-size: 12.5px; opacity: .85; }
.cust-logout { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); color: #fff; font-size: 18px; cursor: pointer; }
.cust-main { padding: 16px; }
.cust-head-actions { display: flex; gap: 8px; flex: none; }
.cust-bell { position: relative; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.16); color: #fff; font-size: 18px; cursor: pointer; border: none; }
.cust-bell-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: #e24b4a; color: #fff; font-size: 11px; line-height: 18px; text-align: center; }
.cust-page-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cust-back { flex: none; background: var(--surface); border: 1px solid #cdd6d0; border-radius: 9px; color: var(--primary); font-size: 14px; font-weight: 700; cursor: pointer; padding: 6px 12px; }
.cust-page-title { margin: 0; font-size: 20px; font-weight: 600; flex: 1; }
.cust-home-btn { flex: none; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 10px; width: 38px; height: 38px; font-size: 18px; cursor: pointer; display: grid; place-items: center; }
[data-theme="dark"] .cust-home-btn { background: #1c2b26; }
.cust-usta-row { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 12px; margin-bottom: 10px; cursor: pointer; }
.cu-ava { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--primary); background-size: cover; background-position: center; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.cu-ava.lg { width: 56px; height: 56px; font-size: 19px; }
.cu-main { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cu-main strong { font-size: 15px; }
.cu-main span { font-size: 12.5px; color: var(--muted); }
.cu-arrow { flex: none; color: var(--muted); font-size: 20px; }
.cu-detail-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.cu-detail-info { display: flex; flex-direction: column; gap: 3px; }
.cu-detail-info strong { font-size: 17px; }
.cu-rate-soon { font-size: 12px; color: #8a6316; background: #fdf7ea; border-radius: 8px; padding: 3px 9px; align-self: flex-start; }
[data-theme="dark"] .cu-rate-soon { background: #3a3320; color: #e0c98a; }
.cu-detail-acts { display: flex; gap: 9px; margin-bottom: 16px; }
.cu-detail-acts button { flex: 1; padding: 11px; border-radius: 11px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; }
.cu-act-wa { background: transparent; color: var(--primary); border: 1px solid var(--primary) !important; }
.cu-act-quote { background: var(--primary); color: #fff; }
.cust-sec-label { margin: 16px 0 9px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cust-filter-chips { display: flex; gap: 8px; margin-bottom: 12px; }
.cust-chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 15px; font-size: 12.5px; background: transparent; color: var(--ink); cursor: pointer; }
.cust-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.cust-detail-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px; margin-bottom: 12px; }
.cd-detail-usta { display: flex; align-items: center; gap: 11px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.cu-ava.sm { width: 38px; height: 38px; font-size: 13px; }
.cd-detail-ustatxt { display: flex; flex-direction: column; gap: 1px; }
.cd-detail-ustatxt strong { font-size: 14px; }
.cd-detail-ustatxt span { font-size: 12px; color: var(--muted); }
.cd-detail-rows { display: flex; flex-direction: column; gap: 8px; }
.cd-detail-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.cd-dl { color: var(--muted); flex: none; }
.cd-dv { text-align: right; font-weight: 500; }
/* Keşif kalem kaynağı seçici (Fiyatlarım / Stok) */
.picker-overlay { position: fixed; inset: 0; background: rgba(10, 25, 20, .55); z-index: 240; display: flex; align-items: flex-end; justify-content: center; }
.picker-card { background: var(--surface, #fff); width: 100%; max-width: 520px; max-height: 78vh; border-radius: 18px 18px 0 0; padding: 14px 16px calc(env(safe-area-inset-bottom, 0px) + 14px); display: flex; flex-direction: column; gap: 8px; }
[data-theme="dark"] .picker-card { background: #17211d; }
.picker-head { display: flex; align-items: center; justify-content: space-between; }
.picker-close { border: none; background: transparent; font-size: 18px; color: var(--muted); padding: 4px 8px; cursor: pointer; }
.picker-list { overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.picker-row { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "ad fiyat" "alt fiyat"; text-align: left; gap: 0 10px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 11px; background: transparent; color: var(--ink); cursor: pointer; font: inherit; }
.picker-row:active { background: #e3f0ec; }
.picker-ad { grid-area: ad; font-weight: 600; font-size: 14px; }
.picker-alt { grid-area: alt; font-size: 12px; color: var(--muted); }
.picker-row strong { grid-area: fiyat; align-self: center; }

/* Soru-cevap satırları (talep önizleme + detaylar): soru üstte soluk, cevap altta belirgin */
.qa-row { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.qa-row:last-of-type { border-bottom: none; }
.qa-q { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.qa-a { font-weight: 600; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; }
.cd-detail-warr { margin-top: 12px; font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: 10px; }
.cd-detail-warr.ok { background: #e1f5ee; color: #085041; }
.cd-detail-warr.warn { background: #fdf7ea; color: #8a6316; }
.cd-detail-warr.exp { background: #fbeaea; color: #a3352f; }
[data-theme="dark"] .cd-detail-warr.ok { background: #17352c; color: #7fe0c2; }
[data-theme="dark"] .cd-detail-warr.warn { background: #3a3320; color: #e0c98a; }
[data-theme="dark"] .cd-detail-warr.exp { background: #3a2020; color: #e7a19b; }
.cd-detail-sec { margin-top: 14px; }
.cd-sec-h { margin: 0 0 4px; font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.cd-sec-b { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.cd-task-list { margin: 4px 0 0; padding-left: 18px; }
.cd-task-list li { font-size: 13.5px; line-height: 1.6; }
.cust-prod-form select, .cust-prod-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 14px; font-family: inherit; }
.cust-detect-line { font-size: 13px; color: #085041; background: #e1f5ee; border-radius: 10px; padding: 9px 12px; margin: 6px 0 10px; }
[data-theme="dark"] .cust-detect-line { background: #17352c; color: #7fe0c2; }
.cust-cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 14px; margin-bottom: 16px; border-radius: 13px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.cust-empty { text-align: center; padding: 40px 20px; }
.cust-empty-ic { font-size: 42px; margin-bottom: 10px; }
.cust-empty strong { display: block; font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.cust-empty span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.5; max-width: 300px; margin: 0 auto; }

.app-modal-ov { position: fixed; inset: 0; z-index: 4000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(15, 24, 19, 0.5); opacity: 0; transition: opacity .16s ease; }
.app-modal-ov.show { opacity: 1; }
.app-modal { width: min(360px, 100%); background: var(--surface); border-radius: 18px; padding: 22px 20px 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32); transform: translateY(8px) scale(0.98); transition: transform .18s ease; }
.app-modal-ov.show .app-modal { transform: translateY(0) scale(1); }
.app-modal-title { margin: 0 0 6px; font-size: 16px; font-weight: 600; color: var(--ink); }
.app-modal-msg { margin: 0 0 18px; font-size: 14.5px; line-height: 1.5; color: var(--ink); white-space: pre-line; }
.app-modal-acts { display: flex; gap: 10px; }
.app-modal-btn { flex: 1; padding: 12px; border-radius: 11px; font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); }
.app-modal-btn.cancel { background: transparent; color: var(--muted); }
.app-modal-btn.ok { background: var(--primary); color: #fff; border-color: var(--primary); }
.app-modal-btn.ok.danger { background: var(--danger); border-color: var(--danger); }

.profile-logo-field { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
/* Eksik alan vurgusu — paylaş→telefon ekle yönlendirmesi (21.07.2026) */
.field-flash { animation: fieldFlash 1.2s ease-out 2; border-color: var(--primary) !important; }
@keyframes fieldFlash { 0%,100% { box-shadow: 0 0 0 0 rgba(35,107,91,0); } 40% { box-shadow: 0 0 0 3px rgba(35,107,91,.35); } }

/* Stok arşivi: işlerde kullanılan malzemeler (21.07.2026) */
.stock-archive { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 12px; background: var(--surface); }
.stock-archive #stockArchiveList { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.arch-is { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.arch-is-bas { width: 100%; text-align: left; background: var(--bg,#f2f5f3); border: 0; padding: 10px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: inherit; }
.arch-is-bas strong { font-size: 14px; color: var(--ink); }
.arch-is-bas small { color: var(--muted); font-size: 12px; }
.arch-is-bas em { margin-left: auto; color: var(--muted); font-style: normal; }
.arch-is-det { padding: 10px 12px; font-size: 13px; line-height: 1.7; color: var(--ink); border-top: 1px solid var(--line); }
/* Malzeme dökümü: hizalı 3 sütun + soluk kareli matematik defteri zemini (21.07.2026) */
.arch-is-det.defter {
  display: grid; grid-template-columns: 1fr auto auto; gap: 2px 14px; align-items: baseline;
  background-color: #fbfdfc;
  background-image: linear-gradient(rgba(35,107,91,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(35,107,91,.06) 1px, transparent 1px);
  background-size: 22px 22px;
}
[data-theme="dark"] .arch-is-det.defter { background-color: #2b3a34; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); }
.arch-is-det.defter .mk-ad { font-weight: 600; }
.arch-is-det.defter .mk-adet { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.arch-is-det.defter .mk-tut { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.arch-mal { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.arch-mal > div { flex: 1; display: flex; flex-direction: column; }
.arch-mal strong { font-size: 14px; color: var(--ink); }
.arch-mal small { font-size: 12px; color: var(--muted); }
.arch-mal .arch-ekle { flex: none; padding: 8px 12px; font-size: 13px; }

/* SIRADA SENDE — ana sayfa üstü eyleme dönük iş listesi (21.07.2026, Kenan) */
.h2-sirada { display:flex; flex-direction:column; gap:10px; margin:4px 0 6px; }
.sirada-bas { display:flex; align-items:center; gap:8px; font-size:15.5px; font-weight:800; color:var(--ink,#0f1813); }
.sirada-say { font-size:12px; font-weight:800; color:#fff; background:var(--primary,#236b5b); border-radius:999px; padding:1px 9px; }
.sirada-ok { font-size:13px; color:var(--muted); margin:0; }
/* Yatay kart: solda bilgi (ne yaptı + şu an), sağda kısa dikey-ortalı buton (21.07.2026, Kenan) */
.sirada-kart { display:flex; align-items:center; gap:12px; background:var(--surface,#fff); border:1px solid var(--line); border-radius:14px; padding:11px 13px; box-shadow:0 1px 5px rgba(0,0,0,.035); cursor:pointer; }
.sirada-sol { flex:1 1 auto; min-width:0; }
.sirada-ms { display:flex; align-items:center; gap:7px; min-width:0; font-size:14.5px; font-weight:800; color:var(--ink,#0f1813); }
.sirada-ms-ad { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
/* Numara müşteri adının önünde (inline) — üst satıra hizalı, karta yükseklik eklemez */
.sirada-ms .sirada-no { align-self:center; }
/* Uzun şikayet metni kartı şişirmesin — tek satır, taşarsa … (Kenan 21.07.2026) */
.sirada-is { font-size:12px; color:var(--muted); margin-top:1px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sirada-yapti { display:flex; align-items:center; gap:6px; margin-top:5px; font-size:12px; color:var(--muted); }
.sirada-tik { width:17px; height:17px; border-radius:50%; background:rgba(31,157,99,.16); color:#1a7a52; display:inline-flex; align-items:center; justify-content:center; font-size:9.5px; font-weight:800; flex:none; }
[data-theme="dark"] .sirada-tik { background:rgba(127,215,174,.18); color:#7fd7ae; }
/* "Şu an" satırı: tüm-yeşil değil → sadece ok yeşil, metin koyu (yeşil baskısını azalt) */
.sirada-simdi { display:flex; align-items:center; gap:7px; margin-top:3px; font-size:13px; font-weight:700; color:var(--ink,#0f1813); }
[data-theme="dark"] .sirada-simdi { color:#eaf2ee; }
.sirada-dot { width:20px; height:20px; border-radius:50%; background:var(--primary,#236b5b); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:10px; flex:none; }
/* Kısa hafif yeşil buton, sağda dikey ortalı (dolu değil → tek koyu yeşil "+ Yeni iş" ana eylem kalsın) */
.sirada-btn { flex:none; align-self:center; padding:11px 15px; border:1px solid rgba(35,107,91,.3); border-radius:12px; background:var(--primary-soft,#eef7f2); color:var(--primary,#1a7a52); font-size:13.5px; font-weight:800; cursor:pointer; white-space:nowrap; }
.sirada-btn:active { transform:scale(.98); }
[data-theme="dark"] .sirada-btn { background:#243029; color:#7fd7ae; border-color:#3a4a42; }
.sirada-more { align-self:center; background:none; border:0; color:var(--primary,#236b5b); font-weight:700; font-size:13px; padding:4px 8px; cursor:pointer; }
.sirada-bekle { background:var(--bg,#f6f8f5); border:1px dashed var(--line); border-radius:15px; padding:12px 14px; }
[data-theme="dark"] .sirada-bekle { background:#1a241f; }
.sirada-bt { font-size:13px; font-weight:800; color:#7a5a10; }
[data-theme="dark"] .sirada-bt { color:#e0b566; }
.sirada-brow { font-size:12.5px; color:var(--muted); margin-top:5px; cursor:pointer; }

/* Öncelik sıra no'su — kartların yanında (06.08.2026, kullanıcı). Yeşille karışmasın diye
   TURUNCU (marka vurgu rengi) + daha küçük; sağa kaydırmayı azaltmak için dar. */
.sirada-no, .entity-no, .apt-no { flex:0 0 auto; align-self:center; width:21px; height:21px; border-radius:7px; background:var(--accent,#ec8329); color:#fff; font-size:12px; font-weight:800; display:inline-flex; align-items:center; justify-content:center; font-variant-numeric:tabular-nums; }
/* Numara satır grid'ine katılıyor → sütun şablonunu genişlet ki içerik sağa kaymasın (07.08.2026) */
.entity-row.has-no { grid-template-columns: auto 1fr auto; }
.appointment-row.has-no { grid-template-columns: auto auto 1fr auto; }
/* '.entity-row span' muted(gri) rengini ez → numara BEYAZ okunur (07.08.2026, kullanıcı) */
.entity-row .entity-no { color:#fff; font-size:12px; align-self:center; }
.appointment-row .apt-no { align-self:center; }

/* Randevu ÇIKIŞ VAKTİ — alarm nabzı + üstte sallanan zil (06.08.2026, kullanıcı) */
.appointment-row.apt-alarm { position:relative; border-color:#e0912f; animation:aptPulse 1.1s ease-in-out infinite; }
@keyframes aptPulse { 0%,100%{ box-shadow:0 0 0 0 rgba(224,145,47,0); } 50%{ box-shadow:0 0 0 5px rgba(224,145,47,.30); } }
.apt-bell { position:absolute; top:-12px; left:50%; font-size:20px; background:#fff; border-radius:50%; padding:2px 5px; box-shadow:0 2px 8px rgba(0,0,0,.20); transform-origin:top center; animation:bellSwing .7s ease-in-out infinite; }
@keyframes bellSwing { 0%,100%{ transform:translateX(-50%) rotate(-13deg); } 50%{ transform:translateX(-50%) rotate(13deg); } }
.apt-depart.simdi { color:#b5372c; font-weight:800; }
.sirada-kart.sirada-alarm { position:relative; border-color:#e0912f; animation:aptPulse 1.1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .appointment-row.apt-alarm, .sirada-kart.sirada-alarm, .apt-bell { animation:none; } }

/* Malzeme adımı: mini başlıklar + kâr/satış özeti (21.07.2026) */
.matmini-title { font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .3px; margin: 12px 0 4px; }
.matmini-title small { font-weight: 500; text-transform: none; letter-spacing: 0; }
.mat-sale-ozet { font-size: 13px; color: var(--ink); background: var(--primary-soft,#eef7f2); border: 1px solid rgba(31,157,99,.25); border-radius: 10px; padding: 9px 11px; margin-top: 8px; }
.mat-sale-ozet b { color: var(--primary); }

/* Teklif iki aşaması: müşteri → kalemler (21.07.2026) */
.est-adim-baslik { font-size: 15px; font-weight: 800; color: var(--primary); margin: 2px 0 10px; }
.est-musteri-ozet { font-size: 13px; font-weight: 700; color: var(--ink); background: var(--primary-soft,#eef7f2); border: 1px solid rgba(31,157,99,.25); border-radius: 10px; padding: 8px 11px; margin: 0 0 12px; }

/* İmzam & Kaşem bölümü (21.07.2026) */
.imza-kase-alani { border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 6px; margin: 6px 0 4px; display: flex; flex-direction: column; gap: 8px; }
.imza-kase-alani .ik-baslik { margin: 0; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.imza-kase-alani .field-hint { margin: -4px 0 2px; }
.ik-prev { background-color: #fff; }
[data-theme="dark"] .ik-prev { background-color: #33403a; }
.pl-preview { width: 64px; height: 64px; flex: none; border-radius: 16px; background: #eef5f1 center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 28px; border: 1px solid var(--line); }
[data-theme="dark"] .pl-preview { background-color: #43524b; }
.pl-preview.has-img { font-size: 0; }
.pl-actions { display: flex; flex-direction: column; gap: 6px; }
.pl-label { font-size: 12.5px; color: var(--muted); }
.pl-btns { display: flex; gap: 8px; }
.pl-remove { padding: 6px 12px; border-radius: 8px; border: 1px solid #f0caca; background: #fcebeb; color: #a32d2d; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cd-wrap { display: flex; gap: 11px; align-items: flex-start; }
.cd-logo { width: 40px; height: 40px; flex: none; border-radius: 10px; background: center/cover no-repeat #eef5f1; border: 1px solid var(--line); }
.cd-content { flex: 1; min-width: 0; }
.cd-shared-info { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: #eef7f3; border: 1px solid #cfe6dd; color: var(--primary-dark); font-size: 12.5px; font-weight: 600; }
[data-theme="dark"] .cd-shared-info { background: #2f3f39; border-color: #3f5249; }
.cd-rec-item { margin-bottom: 10px; }
.cd-share-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; padding: 6px 4px 2px; }
.cd-share-status { font-size: 12px; font-weight: 600; }
.cd-share-status.on { color: #0f6e56; }
.cd-share-status.off { color: var(--muted); }
.cd-share-btn { padding: 6px 13px; border-radius: 8px; border: 1px solid var(--primary); background: var(--primary); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cd-share-btn.stop { background: transparent; color: var(--muted); border-color: var(--line); }
.cd-share-btn:disabled { opacity: .5; cursor: not-allowed; }
.cust-rem { display: flex; gap: 9px; align-items: flex-start; background: #fdf7ea; border: 1px solid #f0d9a8; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
[data-theme="dark"] .cust-rem { background: #3a3320; border-color: #5a4d2a; }
.cr-ic { font-size: 17px; flex: none; }
.cr-body { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cr-txt { font-size: 12.5px; color: #8a6316; line-height: 1.4; }
[data-theme="dark"] .cr-txt { color: #e0c98a; }
.job-cost-box { border: 1px solid #cdd6d0; border-radius: 10px; padding: 8px 12px; margin: 4px 0 6px; background: #f7f9f7; }
.job-cost-box > summary { cursor: pointer; font-weight: 700; font-size: 13px; color: var(--ink); }
.job-cost-box[open] { padding-bottom: 12px; }
.cd-namewrap { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.uye-rozet { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.uye-usta { background: #e7f3ee; color: #1b6b4a; }
.uye-bayi { background: #fff3e0; color: #b26a00; }
.uye-firma { background: #eaeef7; color: #33507a; }
.uye-onayli { box-shadow: inset 0 0 0 1.5px #1b6b4a; }
.profile-verify { border: 1px solid #e2e6ea; border-radius: 10px; padding: 10px 12px; margin: 8px 0; background: #fafbfc; }
.profile-verify .verify-label { font-weight: 700; font-size: 13px; }
.verify-status { font-size: 13px; margin: 6px 0; font-weight: 600; }
.verify-status.vs-verified { color: #1b6b4a; }
.verify-status.vs-pending { color: #b26a00; }
.verify-status.vs-rejected { color: #c0392b; }
.verify-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cr-acts { display: flex; flex-wrap: wrap; gap: 7px; }
.cr-contact { align-self: flex-start; background: var(--primary); color: #fff; border: none; border-radius: 9px; padding: 6px 12px; font-size: 12px; font-weight: 600; cursor: pointer; }
.cr-contact:active { opacity: .85; }
.cr-contact-alt { background: var(--surface); color: var(--primary); border: 1.5px solid var(--primary); }
.mtn-shared-note { margin-top: 10px; font-size: 12px; color: #085041; background: #e1f5ee; border-radius: 9px; padding: 8px 11px; }
[data-theme="dark"] .mtn-shared-note { background: #17352c; color: #7fe0c2; }
.cd-mtn-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 11px 4px; }
.cd-mtn-head strong { font-size: 13px; }
.cd-mtn-when { font-size: 11.5px; color: var(--muted); white-space: nowrap; }

/* Ev Ürünlerim — ürün ekleme formu + kartlar */
.cust-prod-form { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
.cust-prod-form h3 { margin: 0 0 10px; font-size: 15px; color: var(--primary); }
.cust-prod-form label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 9px; }
.cust-prod-form input { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 14px; }
.cp-row { display: flex; gap: 10px; }
.cp-row label { flex: 1; }
.cp-warn-preview { min-height: 16px; margin: 0 0 8px; font-size: 12px; color: var(--primary); font-weight: 600; }
.cp-photo-row { margin-bottom: 12px; }
.cp-photo-btn { width: 100%; padding: 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 13px; cursor: pointer; }
.cp-photo-prev { position: relative; margin-top: 10px; width: 120px; }
.cp-photo-prev img { width: 120px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cp-photo-prev button { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: none; background: #b23b3b; color: #fff; font-size: 13px; cursor: pointer; }
.cp-actions { display: flex; gap: 10px; }
.cp-actions button { flex: 1; padding: 11px; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; }
.cp-cancel { background: var(--bg); color: var(--muted); border: 1px solid var(--line) !important; }
.cp-save { background: var(--primary); color: #fff; border: none; border-radius: 10px; padding: 11px 16px; font-size: 14px; font-weight: 600; font-family: inherit; cursor: pointer; }
.cust-add-prod { width: 100%; padding: 12px; margin-bottom: 10px; border: 1px solid var(--primary); border-radius: 12px; background: transparent; color: var(--primary); font-size: 14px; font-weight: 600; cursor: pointer; }
.cust-add-prod:active { background: rgba(35,107,91,.08); }
.cust-doc.ownprod { display: flex; flex-direction: column; gap: 9px; }
.op-row { display: flex; align-items: center; gap: 10px; }
.op-row .cd-ic { font-size: 22px; flex: none; width: 34px; text-align: center; }
.op-row .cd-devmain { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.op-row .cd-devmain strong { font-size: 14px; }
.op-row .cd-devmain span { font-size: 12px; color: var(--muted); }
.op-thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; flex: none; }
.op-acts { display: flex; gap: 8px; justify-content: flex-end; }
.op-acts button { padding: 6px 14px; border-radius: 8px; font-size: 12.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.op-del { color: #b23b3b !important; }
.img-viewer-ov { position: fixed; inset: 0; z-index: 3000; background: rgba(0,0,0,.85); display: flex; align-items: center; justify-content: center; padding: 20px; }
.img-viewer-ov img { max-width: 94%; max-height: 90%; border-radius: 10px; }

/* Çalışma saatleri (müsaitlik takvimi) */
.wh-days { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.wh-day { flex: 1; min-width: 40px; padding: 10px 4px; border-radius: 10px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: var(--bg); color: var(--muted); cursor: pointer; }
.wh-day.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.wh-slot-chip { display: inline-block; margin: 0 6px 6px 0; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; background: #e3f0ec; color: #0f4034; }
[data-theme="dark"] .wh-slot-chip { background: #17352c; color: #7fe0c2; }
.wh-slot-chip.pick { border: 1px solid transparent; cursor: pointer; font: inherit; font-size: 12.5px; }
.wh-slot-chip.pick.off { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.slot-add-row { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.slot-add-row input { flex: 1; min-width: 0; }
.slot-add-row button { flex: none; white-space: nowrap; }

/* Talep durum rozetleri */
.talep-badge { font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.td-beklemede { background: #eef1f0; color: #6b7a75; }
.td-toplaniyor { background: #eeedfe; color: #534ab7; }

/* Canlı teklif toplama kutusu (müşteri) */
.canli-box { background: #eeedfe; border-radius: 14px; padding: 16px; margin-top: 4px; }
[data-theme="dark"] .canli-box { background: #26215c; }
.canli-baslik { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: #3c3489; }
.canli-alt { margin: 0 0 6px; font-size: 13px; color: #534ab7; }
[data-theme="dark"] .canli-baslik { color: #cecbf6; }
[data-theme="dark"] .canli-alt { color: #afa9ec; }
.td-teklifler_geldi { background: #e6f1fb; color: #185fa5; }
.td-soru_var { background: #fdf6e8; color: #854f0b; }
.td-kabul_edildi { background: #e1f5ee; color: #0f6e56; }
.td-reddedildi { background: #fbeae8; color: #a3382f; }
[data-theme="dark"] .td-reddedildi { background: #3d2523; color: #f0a99f; }

/* Düzeltme / Ek bilgi (soru-cevapla talep güncellemesi) */
.duzeltme-sec { background: #fdf6e8; border-radius: 10px; padding: 10px 12px; margin-top: 12px; }
[data-theme="dark"] .duzeltme-sec { background: #3a3320; }
.duzeltme-sec .cd-sec-h { color: #854f0b; }
[data-theme="dark"] .duzeltme-sec .cd-sec-h { color: #e0c98a; }
.duzeltme-q { font-weight: 600; margin-top: 6px; }
.duzeltme-a { margin-bottom: 4px; }

/* Teklif kartları (müşteri tarafı) */
.teklif-card.frozen { opacity: .65; }
.teklif-card.rejected { opacity: .45; }

/* İş Fırsatları (usta) */
/* Üst satır: 3 öğe (kredi / bulut / kredi al) GÖRSEL OLARAK AYNI boyut+şekil (10.08.2026, kullanıcı) */
.leads-head { display: flex; align-items: stretch; gap: 8px; margin-bottom: 12px; }
.leads-head > * {
  flex: 1 1 0; min-width: 0; height: 42px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  border-radius: 11px; padding: 0 8px; margin: 0;
  font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.leads-head .kredi-chip { background: #fdf6e8; color: #854f0b; border: 1px solid #efe0bd; }
[data-theme="dark"] .leads-head .kredi-chip { background: #3a3320; color: #e0c98a; border-color: #574c2c; }
.leads-head .hub-chip { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.leads-head .leads-buy { background: var(--primary); color: #fff; border: 1px solid var(--primary); cursor: pointer; }
.kredi-chip { font-weight: 700; }
[data-theme="dark"] .kredi-chip { background: #3a3320; color: #e0c98a; }
.hub-chip { font-size: 11.5px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
/* 4 gruplu İş Fırsatları sekmeleri — eşit boy, düzenli (10.08.2026) */
.leads-tabs { margin-bottom: 12px; display: flex; gap: 6px; }
.lead-tab {
  flex: 1 1 0; min-width: 0; min-height: 46px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 7px 3px; border-radius: 11px; border: 1px solid var(--primary);
  background: transparent; color: var(--primary); cursor: pointer;
}
.lead-tab.on { background: var(--primary); color: #fff; }
.lead-tab-lbl { font-size: 12px; font-weight: 700; line-height: 1.08; white-space: normal; text-align: center; word-break: keep-all; }
.lead-tab-cnt {
  font-size: 11px; font-weight: 800; line-height: 1; padding: 2px 7px; border-radius: 999px;
  background: rgba(31, 122, 82, .14); color: var(--primary); font-variant-numeric: tabular-nums;
}
.lead-tab.on .lead-tab-cnt { background: rgba(255, 255, 255, .28); color: #fff; }
/* Teklif Verdiklerim alt sayfası başlığı */
.leads-subhead { font-size: 15px; font-weight: 800; color: var(--ink, #0f1813); margin: 4px 0 10px; }
[data-theme="dark"] .leads-subhead { color: #e8efe9; }

/* Numaralı İş Fırsatı kartı — turuncu sıra rozeti başlığın (kategori) HEMEN önünde (10.08.2026) */
.talep-row .cd-top { align-items: center; }
.cd-title-wrap { display: flex; align-items: center; gap: 7px; min-width: 0; }
.cd-title-wrap strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cd-title-wrap .entity-no { flex: 0 0 auto; }

/* Tıklanabilir bildirim (10.08.2026) — dokununca ilgili ekrana gider */
.notif-clickable { cursor: pointer; }
.notif-go { margin: 6px 0 0; font-size: 12px; font-weight: 600; color: var(--primary); }

/* Randevu slot seçimi (müşteri) */
.slot-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.slot-pick-chip { padding: 10px 14px; border-radius: 11px; font-size: 13px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.slot-pick-chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Müşteri değerlendirme (yıldız + yorum) */
.rate-stars { display: flex; gap: 6px; margin: 8px 0 10px; }
.rate-stars button { font-size: 28px; line-height: 1; background: none; border: none; color: #d5dcd9; cursor: pointer; padding: 2px 4px; }
.rate-stars button.on { color: #efb810; }
[data-theme="dark"] .rate-stars button { color: #4a5450; }
[data-theme="dark"] .rate-stars button.on { color: #efb810; }
.rev-item { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; }
.rev-stars { color: #efb810; font-size: 15px; letter-spacing: 2px; }
.rev-text { margin: 5px 0 4px; font-size: 13.5px; line-height: 1.45; }
.rev-meta { font-size: 11.5px; color: var(--muted); }
.rev-box { margin-top: 12px; }

/* Yardım & Destek — uygulama içi mesaj + otomatik yanıt */
.support-hint { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
#supportThread, .sup-thread { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.sup-b { max-width: 85%; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.45; }
.sup-me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.sup-sys { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.sup-meta { align-self: flex-end; font-size: 10.5px; color: var(--muted); }
#supportMsgInput { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); font: inherit; margin: 10px 0 8px; }
.cust-doc { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; margin-bottom: 9px; }
.cd-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cd-top strong { font-size: 14px; }
.cd-amt { font-size: 14px; font-weight: 600; color: var(--primary); white-space: nowrap; }
.cd-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.cd-badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px; }
.cd-badge.ok { background: #e1f5ee; color: #085041; }
.cd-badge.warn { background: #faeeda; color: #8a5a0b; }
.cd-badge.exp { background: #fcebeb; color: #a32d2d; }
.cust-doc.warranty { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cw-main strong { display: block; font-size: 14px; }
.cw-main span { font-size: 12px; color: var(--muted); }
.cw-blk { flex: none; text-align: center; border-radius: 10px; padding: 7px 11px; min-width: 64px; }
.cw-blk b { font-size: 17px; display: block; line-height: 1; }
.cw-blk small { font-size: 10px; }
.cw-blk.ok { background: #e1f5ee; color: #085041; }
.cw-blk.warn { background: #faeeda; color: #8a5a0b; }
.cw-blk.exp { background: #fcebeb; color: #a32d2d; }
.cust-doc.device { display: flex; align-items: center; gap: 11px; }
.cd-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: #eef5f1; display: flex; align-items: center; justify-content: center; font-size: 20px; }
[data-theme="dark"] .cd-ic { background: #43524b; }
.cd-devmain strong { display: block; font-size: 14px; }
.cd-devmain span { font-size: 12px; color: var(--muted); }

.fault-edited-note { margin: 2px 0 12px; padding: 9px 12px; border-radius: 10px; font-size: 12.5px; background: #e1f5ee; color: #085041; border: 1px solid #b6e3d2; }
.fault-edit-info { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.fault-edit-field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; font-size: 12.5px; font-weight: 700; color: var(--ink); }
.fault-edit-field textarea, .fault-edit-field input { font-weight: 400; font-size: 14px; }
.fault-verify-check { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; padding: 12px; border-radius: 10px; background: #f1f7f4; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fault-verify-check input { width: 20px; height: 20px; flex: none; }
.fault-edit-reset { width: 100%; color: #a32d2d; }

.fault-section { margin-top: 14px; }
.fault-section-label { margin: 0 0 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--muted); }
.fault-section-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.fault-source { margin: 16px 0 0; font-size: 11.5px; color: var(--muted); overflow-wrap: anywhere; }
.fault-revise-note { margin: 14px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 12px; color: var(--muted); background: #f1f5f3; border: 1px solid var(--line); }
.fault-source-link { color: var(--primary); font-weight: 600; text-decoration: underline; }

.fault-tabs { display: flex; gap: 7px; margin-bottom: 14px; }
.fault-tab { flex: 1; text-align: center; padding: 9px; border-radius: 10px; font-size: 13px; font-weight: 500; border: 1px solid var(--primary); background: transparent; color: var(--primary); }
.fault-tab.on { background: var(--primary); color: #fff; }

/* Müşteri sekmeleri: 5 sekme tek satıra sığmadığı için sar (kesilmesin) */
#custTabs { flex-wrap: wrap; justify-content: center; gap: 8px; }
#custTabs .fault-tab { flex: 0 1 auto; padding: 8px 15px; font-size: 12.5px; border-radius: 999px; font-weight: 600; }

.fault-module-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 9px; }
.fmc-icon { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 11px; background: #eef1ed; display: flex; align-items: center; justify-content: center; font-size: 21px; }
[data-theme="dark"] .fmc-icon { background: #3f4d47; }
.fmc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.fmc-name { display: block; margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); }
.fmc-sub { display: block; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.fmc-badge { font-size: 12px; padding: 6px 12px; border-radius: 14px; white-space: nowrap; font-weight: 600; }
.fmc-badge.owned { background: #e1f5ee; color: #085041; }

.fault-back { margin-bottom: 10px; }

.cetele-title {
  margin: 16px 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.cetele-empty {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.cetele-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 2px;
  border-bottom: 1px solid var(--line);
}

.cetele-amt {
  min-width: 44px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.cetele-amt.pos { color: #0f6e56; }
.cetele-amt.neg { color: #a32d2d; }

.cetele-body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cetele-body strong {
  font-size: 13.5px;
  font-weight: 500;
}

.cetele-body span {
  font-size: 12px;
  color: var(--muted);
}

[data-theme="dark"] .apt-side em.status-cancel { background: #43524b; color: var(--muted); }

.detail-panel {
  gap: 16px;
}

.detail-body {
  display: grid;
  gap: 8px;
}

.detail-line {
  display: grid;
  grid-template-columns: minmax(104px, 36%) 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.detail-line span {
  color: var(--muted);
  font-size: 13px;
}

.detail-line strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.35;
}

/* Kullanılan parçalar → numaralı liste (02.08.2026) */
.detail-line-list { align-items: start; }
.parca-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 5px;
  list-style: decimal;
}
.parca-list li {
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.parca-list li b { font-weight: 700; }
.parca-list .parca-meta { color: var(--muted); font-weight: 500; }

/* Özgüllük: .record-actions (5 sütun) sonra geldiği için eziyordu — bileşik seçiciyle 2 sütuna sabitle. */
.record-actions.detail-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 6px;
}
/* Profesyonel aksiyon butonları (yalnız iş detayı) — 02.08.2026 */
.detail-actions button {
  min-height: 52px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: transform .08s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.detail-actions .ghost,
.detail-actions .secondary {
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.detail-actions .ghost:hover,
.detail-actions .secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}
.detail-actions .primary {
  box-shadow: 0 2px 8px rgba(31, 122, 80, .28);
}
.detail-actions .primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(31, 122, 80, .34);
}
/* Sil = tehlikeli, altta tam genişlik, sade (dev kırmızı blok değil) */
.detail-actions .danger {
  grid-column: 1 / -1;
  background: transparent;
  border: 1.5px solid #f0d3ce;
  color: var(--danger);
  font-weight: 600;
  margin-top: 2px;
  box-shadow: none;
}
.detail-actions .danger:hover {
  background: #fbece9;
  border-color: var(--danger);
  transform: translateY(-1px);
}
[data-theme="dark"] .detail-actions .ghost,
[data-theme="dark"] .detail-actions .secondary {
  background: #26302b;
  border-color: #3a463f;
  color: #e8efe9;
}
[data-theme="dark"] .detail-actions .danger {
  background: transparent;
  border-color: #5a3b37;
}

.summary-toolbar {
  margin-top: 8px;
}

.fault-search {
  display: block;
  margin: 12px 0;
}

.fault-code-row {
  display: grid;
  gap: 6px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.page-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: -16px -16px 14px;
  padding: 9px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-bar h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  color: var(--primary-dark);
  font-size: 17px;
}

.page-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #eef5f1;
  color: var(--primary);
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 128px;
  gap: 10px;
  margin-bottom: 12px;
}

.search-field {
  position: relative;
}

.search-field span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.search-field input {
  padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2363736f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 13px center;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #bfc9c3;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px;
  outline-color: var(--primary);
  /* border-box + padding:12px, label{display:grid} ile <select>'i eziyordu (içerik ~0 → alt kırpık).
     min-height ile select de input'larla aynı yükseklikte; input/textarea zaten ≥44px (23.07.2026, Kenan). */
  min-height: 44px;
}

input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: var(--danger);
  background: #fff5f4;
  outline-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(195, 65, 55, 0.12);
}

.field-error {
  display: block;
  margin-top: 5px;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

textarea {
  resize: vertical;
}

.firebase-panel label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.firebase-config-textarea {
  min-height: 220px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
  line-height: 1.45;
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 6px 18px rgba(20, 35, 30, 0.06);
}

.record-card h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.customer-group {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #c9d6cf;
  border-radius: 8px;
  background: #f6faf7;
  box-shadow: 0 8px 22px rgba(20, 35, 30, 0.08);
}

.customer-group-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
}

.customer-group-header h3 {
  margin: 0 0 4px;
  color: var(--primary);
  font-size: 19px;
}

.customer-group-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.customer-group-header strong {
  color: var(--primary-dark);
  white-space: nowrap;
}

.customer-service-list {
  display: grid;
  gap: 8px;
}

.record-card.is-nested {
  box-shadow: none;
  background: var(--surface);
}

.record-card.is-nested h3 {
  font-size: 16px;
}

.record-meta,
.record-user,
.record-work,
.record-warranty {
  margin-bottom: 6px;
  color: var(--muted);
  line-height: 1.35;
}

.record-user {
  color: var(--primary);
  font-weight: 700;
}

.record-side {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 8px;
}

.badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #efe9dc;
  color: #65471f;
  font-size: 12px;
  font-weight: 700;
}

.badge.ready {
  background: #dff0e5;
  color: var(--ready);
}

.badge.done {
  background: #e3f4ec;
  color: #1a7a52;
}

.badge.wait { background: #eef1ed; color: #5f5e5a; }
.badge.return { background: #f7dede; color: #a32d2d; }
.badge.cancel { background: #ece7e7; color: #791f1f; }
/* A-4: sınıflandırılamayan (unknown) kayıt sarı uyarı ile işaretlenir — usta düzeltsin. */
.badge.warn { background: #fdf3d7; color: #8a5a00; box-shadow: inset 0 0 0 1px #e0a020; }

.warranty-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: #dff0e5;
  color: var(--ready);
  font-size: 12px;
  font-weight: 700;
}

.warranty-badge.expired {
  background: #f7e5e2;
  color: var(--danger);
}

.warranty-badge.none {
  background: #eef1ed;
  color: var(--muted);
}

.warranty-badge.low {
  background: #fff0cf;
  color: #9c5d00;
}

.record-total {
  white-space: nowrap;
}

.record-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.ghost,
.secondary,
.primary,
.danger {
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 700;
}

.ghost,
.secondary {
  background: #eef1ed;
  color: var(--ink);
  border: 1px solid #cdd6d0; /* çerçeveli buton görünümü (Kayıtlı müşteriden seç, ‹ Geri vb.) — 23.07.2026, Kenan */
}

.primary {
  background: var(--primary);
  color: #fff;
}

.primary:active,
.icon-button:active {
  background: var(--primary-dark);
}

.danger {
  background: #f7e5e2;
  color: var(--danger);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 36px 22px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
  text-align: center;
}

.empty-state .empty-icon {
  margin-bottom: 6px;
  font-size: 38px;
  line-height: 1;
  opacity: 0.85;
}

.empty-state strong {
  font-size: 15px;
  color: var(--ink);
}

.empty-state span {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.4;
}

.empty-state .empty-cta {
  margin-top: 14px;
  min-width: 190px;
}

.metric-grid.is-loading .m-num {
  width: 64%;
  min-height: 24px;
  border-radius: 6px;
  color: transparent;
  background: var(--line);
  animation: skeleton-pulse 1.1s ease-in-out infinite;
}

@keyframes skeleton-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.service-form {
  display: grid;
  gap: 12px;
}

fieldset {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 3px 10px rgba(20, 35, 30, 0.04);
}

legend {
  padding: 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* Kayıt formu bölümleri: her bölüme farklı açık ton + renkli sol kenar → gözle ayrışsınlar */
#serviceForm fieldset { border-left-width: 4px; }
#serviceForm fieldset:nth-of-type(1) { background: #eef5f1; border-left-color: #2e8b6f; }
#serviceForm fieldset:nth-of-type(2) { background: #eef1f7; border-left-color: #5b7fb5; }
#serviceForm fieldset:nth-of-type(3) { background: #f8f3e7; border-left-color: #c79a3e; }
#serviceForm fieldset:nth-of-type(4) { background: #ecf5ef; border-left-color: #3f9f77; }
#serviceForm fieldset:nth-of-type(5) { background: #f2eef8; border-left-color: #8a76c0; }
#serviceForm fieldset:nth-of-type(6) { background: #e8f3f2; border-left-color: #3fa0a0; }
#serviceForm fieldset:nth-of-type(7) { background: #f1f2f4; border-left-color: #8a938f; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(1) { background: #17302a; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(2) { background: #172431; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(3) { background: #2d2917; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(4) { background: #163026; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(5) { background: #231f31; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(6) { background: #16302f; }
[data-theme="dark"] #serviceForm fieldset:nth-of-type(7) { background: #1e2422; }
/* Tonlu zeminde girdi alanları beyaz kalsın → okunur kontrast */
#serviceForm fieldset input:not([type=checkbox]):not([type=radio]),
#serviceForm fieldset textarea,
#serviceForm fieldset select { background: var(--surface); }
[data-theme="dark"] #serviceForm fieldset input:not([type=checkbox]):not([type=radio]),
[data-theme="dark"] #serviceForm fieldset textarea,
[data-theme="dark"] #serviceForm fieldset select { background: #10201b; }

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.three-col[hidden] {
  display: none;
}

output {
  display: block;
  padding: 12px;
  border-radius: 8px;
  background: #f0eee7;
  font-weight: 700;
}

.file-field input,
.import-box input {
  padding: 10px;
}
/* Dosya seç tuşu köşeleri oval (keskin değil) — 23.07.2026, Kenan */
.file-field input[type="file"]::file-selector-button,
.import-box input[type="file"]::file-selector-button {
  border: 1px solid #cdd6d0; border-radius: 10px; padding: 8px 14px; margin-right: 10px;
  background: #eef1ed; color: var(--ink); font-weight: 700; cursor: pointer;
}

.photo-preview {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.form-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  padding: 12px 0 max(8px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(251, 250, 246, 0), #f7f9f7 24%);
}

.form-actions.static {
  position: static;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  background: transparent;
}

.form-actions.license-actions {
  grid-template-columns: 1fr;
}

.license-card input[readonly] {
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  color: var(--primary-dark);
  background: #eef4f1;
}

.license-card .status-text {
  min-height: 20px;
}

.form-actions.compact-actions {
  grid-template-columns: 1fr;
  margin-top: 6px; /* -4px, üstteki alan/inputların üstüne biniyordu (Parça/Elle Ekle) → pozitif boşluk */
}
.form-actions.compact-actions.two-btn { grid-template-columns: 1fr 1fr; } /* Kayıtlı müşteriden seç + Rehberden ekle */

#stockUsageSummary.bos-uyari { background: #fff3e0; color: #8a5a00; border: 1px solid #e0b455; border-radius: 8px; padding: 8px 10px; font-weight: 700; }
.stock-usage-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.stock-usage-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.stock-usage-row strong,
.stock-usage-row span {
  display: block;
}

.stock-usage-row span {
  color: var(--muted);
  font-size: 13px;
}

.stock-usage-row button {
  min-height: 40px;
  padding: 8px 10px;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.report-grid.compact {
  grid-template-columns: repeat(4, 1fr);
}

.report-card,
.report-row {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.report-row.financial {
  display: grid;
  grid-template-columns: 1.1fr repeat(5, 1fr);
  gap: 8px;
  align-items: center;
}

.report-row.financial.header {
  background: #eef4f1;
  color: var(--primary-dark);
  font-weight: 700;
}

.report-row.financial span {
  color: var(--ink);
  font-size: 12px;
}

.report-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.report-row strong {
  display: block;
  margin-bottom: 4px;
}

.report-card span,
.report-row span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.report-table {
  display: grid;
  gap: 8px;
}

.appointment-list {
  display: grid;
  gap: 8px;
}

.appointment-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.appointment-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.appointment-card p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.35;
}

.appointment-card.completed {
  background: #eef7f1;
}

.appointment-card.cancelled {
  background: #f7e5e2;
}

.appointment-date {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.notification-list {
  display: grid;
  gap: 8px;
}

.notification-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.notification-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.notification-card p {
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.35;
}

.notification-card.payment {
  border-color: #e8b6ae;
}

.notification-card.stock {
  border-color: #d8c18d;
}

.notification-card.done {
  opacity: 0.66;
  border-color: var(--line);
}

.notification-card .notif-date {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

.clear-history {
  width: 100%;
  margin-top: 8px;
}

.hint-line {
  margin: 8px 2px 0;
  font-size: 11.5px;
  color: var(--muted);
}

.license-renew-options {
  display: grid;
  grid-column: 1 / -1;
  gap: 8px;
  padding: 10px;
  border: 1px solid #dfe8e3;
  border-radius: 8px;
  background: #f6fbf8;
}

.license-renew-options strong {
  color: var(--primary-dark);
}

.license-plan-button {
  justify-content: space-between;
  min-height: 44px;
  text-align: left;
}

.signature-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(12, 20, 18, 0.58);
}

.signature-modal[hidden] {
  display: none;
}

.signature-panel {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 16px;
  border-radius: 8px;
  background: var(--surface);
}

#signatureCanvas {
  width: 100%;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  touch-action: none;
}

/* Sıralı imza akışı: sıra göstergesi + isim alanı */
.sig-role {
  margin: 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--brand-soft, #E7F1EC);
  color: var(--brand, #1f6b45);
  font-weight: 700;
  text-align: center;
}
.sig-name-lbl {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: var(--muted, #667);
}
.sig-name-lbl input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  background: var(--surface);
  color: inherit;
}

/* Detay > Dosya: üç imza kutusu */
.sig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}
.sig-cell {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: var(--surface);
}
.sig-cell-role {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted, #667);
}
.sig-cell .detail-photo.sig {
  width: 100%;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
}
.sig-cell-meta {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--ink, #223);
  font-weight: 600;
}

/* Şık bildirim: sayfanın ORTASINDA, uygulama formatında beyaz kart (02.08.2026).
   Eskiden altta kırmızı bir bar vardı; artık nötr kart + türüne göre üst renk şeridi. */
.toast {
  position: fixed;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 08.09.2026: 200 idi — .wiz-overlay (9999) açıkken bildirim perdenin ARKASINDA
     kalıyordu, kullanıcı hata mesajını hiç görmüyordu. Bildirim her zaman en üstte olmalı. */
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: min(360px, calc(100% - 48px));
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  background: var(--surface, #fff);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 14px 44px rgba(0, 0, 0, .24);
  animation: toastIn .16s ease-out;
}
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, -46%) scale(.95); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.toast[hidden] {
  display: none;
}

.toast button {
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* Varsayılan (bilgi/uyarı): üst şerit turuncu-vurgu; kırmızı bar kaldırıldı. */
.notice-toast {
  border-top-color: #e0872a;
}

/* Başarı toast'ı → yeşil üst şerit. */
.toast.toast-ok {
  border-top-color: #1f9d63;
}

[data-theme="dark"] .toast {
  background: #26302b;
  color: #e8efe9;
  border-color: #3a463f;
}

.backup-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.user-form {
  display: grid;
  gap: 12px;
}

.user-list {
  display: grid;
  gap: 8px;
}

.password-reset-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.password-reset-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.user-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f9f7;
}

.user-row strong,
.user-row span {
  display: block;
}

.user-row span {
  color: var(--muted);
  font-size: 13px;
}

.backup-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.import-box {
  padding: 14px;
  border: 1px dashed #aeb9b2;
  border-radius: 8px;
  background: #f8f7f1;
}

.status-text {
  min-height: 20px;
  margin-bottom: 0;
  color: var(--primary);
  font-weight: 700;
}

.status-text.error {
  color: var(--danger);
}

.creator-credit {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.app-credit {
  padding: 6px 12px max(10px, env(safe-area-inset-bottom));
}

@media (max-width: 460px) {
  main {
    padding: 12px;
  }

  .license-home-card {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid article {
    min-height: 58px;
    padding: 6px;
  }

  .stats-grid span {
    font-size: 18px;
  }

  .stats-grid small {
    font-size: 9px;
  }

  .tab {
    min-height: 86px;
    font-size: 14px;
  }

  .toolbar,
  .two-col,
  .three-col,
  .user-row,
  .entity-row,
  .detail-line,
  .record-actions,
  .appointment-card,
  .notification-card,
  .customer-group-header,
  .report-grid,
  .report-grid.compact,
  .form-actions.static {
    grid-template-columns: 1fr;
  }

  .record-card {
    grid-template-columns: 1fr;
  }

  .report-row.financial {
    grid-template-columns: 1fr;
  }

  .record-side {
    justify-items: start;
  }

  .customer-group-header strong {
    white-space: normal;
  }
}

.onboard-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.team-panel {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.team-panel .team-code {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #236b5b;
  margin-top: 10px;
}

.team-banner {
  background: #236b5b;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  margin: 10px 0;
  text-align: center;
}

/* ── Play Billing satın alma butonları ── */
.billing-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.billing-head {
  font-weight: 700;
  color: #236b5b;
  margin: 0 0 2px;
  text-align: left;
}
.billing-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid #cfe0da;
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.05s;
  text-align: left;
}
.billing-opt:hover { border-color: #236b5b; }
.billing-opt:active { transform: scale(0.99); }
.billing-opt.best {
  border-color: #236b5b;
  box-shadow: 0 0 0 2px rgba(35, 107, 91, 0.15);
  background: #f2f9f6;
}
.billing-opt .bo-left { display: flex; flex-direction: column; gap: 2px; }
.billing-opt .bo-left strong { font-size: 1rem; color: #16352d; }
.billing-opt .bo-left small { color: #5c766e; font-size: 0.8rem; }
.billing-opt .bo-price {
  font-weight: 800;
  color: #236b5b;
  background: #e6f2ee;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.billing-note {
  font-size: 0.8rem;
  color: #5c766e;
  margin: 4px 0 0;
  text-align: left;
  line-height: 1.4;
}

/* ══ Yeni anasayfa (home2) ══ */
.h2-metrics { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.h2-metric { text-align:left; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px 14px; cursor:pointer; }
.h2-mlabel { display:block; font-size:12px; color:var(--muted); }
.h2-mval { display:block; font-size:19px; font-weight:700; color:var(--ink); margin-top:3px; }
[data-theme="dark"] .h2-mval.money { color:var(--primary-dark); }

.h2-newjob { width:100%; background:var(--primary); color:#fff; border:none; border-radius:14px; padding:14px; font-size:16px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:8px; cursor:pointer; margin-top:14px; }
.h2-nj-plus { font-size:20px; line-height:1; }

.h2-status { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:12px; }
.h2-stat { display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px; cursor:pointer; text-align:left; }
/* is-progress eskiden yeşil zemin + yeşil çerçeve veriyordu; kart "basılı/seçili" gibi
   duruyordu (20.07.2026). Artık iki kart da aynı: fark yalnız ikon renginde. */
.h2-stat-ic { font-size:20px; color:var(--muted); }
.h2-stat.is-progress .h2-stat-ic { color:var(--primary); }
.h2-stat-ic.done { color:#1f9d63; }
.h2-stat-txt strong { display:block; font-size:14px; color:var(--ink); }
.h2-stat-txt small { font-size:12px; color:var(--muted); }

.h2-sec-head { display:flex; align-items:center; justify-content:space-between; margin:18px 2px 8px; }
.h2-sec-head > span { font-size:15px; font-weight:700; color:var(--ink); }
.h2-link { background:none; border:none; color:var(--primary); font-size:13px; cursor:pointer; }
.h2-sec-title { font-size:15px; font-weight:700; color:var(--ink); margin:18px 2px 10px; }

.h2-week { display:flex; flex-direction:column; gap:8px; }
.h2-wrow { display:flex; align-items:center; gap:10px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:10px; cursor:pointer; text-align:left; width:100%; }
.h2-date { width:58px; flex-shrink:0; text-align:center; background:var(--bg, #eef2f0); border-radius:10px; padding:6px 0; }
.h2-date b { display:block; font-size:12px; color:var(--ink); font-weight:700; }
.h2-date span { display:block; font-size:11px; color:var(--muted); }
.h2-date.today { background:rgba(35,107,91,.14); }
.h2-date.today b, .h2-date.today span { color:var(--primary); }
.h2-wmain { flex:1; min-width:0; }
.h2-wmain strong { display:block; font-size:14px; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h2-wmain span { display:block; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.h2-wbadge { flex-shrink:0; font-size:11px; padding:3px 10px; border-radius:20px; background:var(--bg, #eef2f0); color:var(--muted); }
.h2-wbadge.doing { background:rgba(35,107,91,.14); color:var(--primary); }
.h2-week-empty { font-size:13px; color:var(--muted); text-align:center; padding:16px; }

.h2-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.h2-tile { display:flex; flex-direction:column; align-items:center; gap:5px; background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 6px; cursor:pointer; }
.h2-tile-ic { position:relative; font-size:24px; line-height:1; }
.h2-tile-name { font-size:12px; font-weight:600; color:var(--ink); }
.h2-tile-sub { font-size:10px; color:var(--muted); text-align:center; }
.h2-badge { position:absolute; top:-6px; right:-12px; min-width:17px; height:17px; padding:0 4px; border-radius:20px; font-size:10px; line-height:17px; color:#fff; text-align:center; font-weight:700; }
.h2-badge.warn { background:#d98324; }
.h2-badge.info { background:#2f6fed; }

/* ── Durum bazlı iş kartı (kayıt detayı) ── */
.jobcard { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px 14px; margin-bottom:14px; }
.jobcard-h { font-size:14px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.jobcard-row { display:flex; align-items:center; gap:10px; padding:7px 0; }
.jc-ic { width:22px; height:22px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; flex-shrink:0; background:var(--bg,#eef2f0); color:var(--muted); }
.jobcard-row.done .jc-ic { background:rgba(31,157,99,.16); color:#1f9d63; }
.jobcard-row.cur .jc-ic { background:var(--primary); color:#fff; }
.jc-lb { flex:1; font-size:13px; color:var(--ink); }
.jobcard-row.cur .jc-lb { font-weight:700; }
.jobcard-row.future .jc-lb, .jobcard-row.future .jc-ic { opacity:.55; }
.jc-act { background:var(--primary); color:#fff; border:none; border-radius:9px; padding:6px 13px; font-size:12px; font-weight:600; cursor:pointer; }
.jc-tag { font-size:11px; color:#1f9d63; }

/* ── Yeni iş sihirbazı (Bu iş ne durumda?) — ortada modal ── */
.wiz-overlay { position:fixed; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; z-index:9999; padding:20px; }
.wiz-modal { background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:18px; width:100%; max-width:360px; max-height:88vh; overflow:auto; box-shadow:0 12px 40px rgba(0,0,0,.25); }
/* ===== AI ile doldur modalı — ferah düzen (19.07.2026) ===== */
.aifill { max-width: 440px; padding: 24px 22px 20px; border-radius: 22px; }
.aifill-close { position:absolute; top:16px; right:16px; width:34px; height:34px; border-radius:50%; border:0; background:var(--bg,#eef2f0); color:var(--muted); font-size:15px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .15s; }
.aifill-close:hover { background:#e2e8e4; }
.aifill-head { display:flex; align-items:flex-start; gap:14px; margin-bottom:20px; padding-right:38px; }
.aifill-badge { flex-shrink:0; width:46px; height:46px; border-radius:14px; background:rgba(31,157,99,.12); display:flex; align-items:center; justify-content:center; font-size:22px; }
.aifill-head-txt { flex:1; min-width:0; }
.aifill-title { display:block; font-size:20px; font-weight:700; color:var(--ink); line-height:1.25; }
.aifill-sub { margin:5px 0 0; font-size:13.5px; line-height:1.45; color:var(--muted); }
.aifill-field { position:relative; margin-bottom:18px; }
.aifill-ta { display:block; width:100%; min-height:132px; padding:15px 60px 15px 16px; border:1px solid var(--line); border-radius:14px; background:var(--bg,#f7f9f8); font-family:inherit; font-size:14.5px; line-height:1.55; color:var(--ink); resize:vertical; }
.aifill-ta::placeholder { color:var(--muted); opacity:.75; }
.aifill-ta:focus { outline:none; border-color:var(--primary); background:var(--surface); box-shadow:0 0 0 3px rgba(31,157,99,.12); }
.aifill-mic { position:absolute; right:12px; bottom:12px; width:42px; height:42px; border-radius:50%; border:1px solid var(--line); background:var(--surface); font-size:18px; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 2px 8px rgba(0,0,0,.07); transition:background .15s, transform .1s; }
.aifill-mic:active { transform:scale(.94); }
.aifill-mic.rec { background:#e24b4a; border-color:#e24b4a; animation:aiPulse 1s infinite; }
.aifill-ex { margin-bottom:16px; }
.aifill-ex-lbl { display:block; font-size:12.5px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.aifill-ex-row { display:flex; flex-wrap:wrap; gap:8px; }
.aifill-chip { border:0; border-radius:10px; background:rgba(31,157,99,.09); color:#1a7a52; font-size:12.5px; line-height:1.35; padding:8px 12px; cursor:pointer; text-align:left; font-family:inherit; transition:background .15s; }
.aifill-chip:hover { background:rgba(31,157,99,.16); }
.aifill-note { display:flex; align-items:flex-start; gap:8px; margin:0 0 6px; font-size:12.5px; line-height:1.45; color:var(--muted); }
.aifill-note-ic { flex-shrink:0; font-size:13px; opacity:.8; }
.aifill-stat { margin:0; min-height:18px; font-size:12.5px; color:var(--muted); }
.aifill-foot { display:flex; gap:12px; margin-top:12px; }
.aifill-btn { flex:1; border-radius:13px; padding:14px 16px; font-size:15px; font-weight:600; font-family:inherit; cursor:pointer; border:1px solid transparent; transition:opacity .15s, background .15s; }
.aifill-btn.ghost { background:var(--surface); border-color:var(--line); color:var(--ink); }
.aifill-btn.ghost:hover { background:var(--bg,#f3f6f4); }
.aifill-btn.primary { background:var(--primary); color:#fff; }
.aifill-btn:disabled { opacity:.55; cursor:default; }
@media (max-width: 420px) {
  .aifill { padding:20px 16px 16px; }
  .aifill-title { font-size:18px; }
  .aifill-badge { width:40px; height:40px; font-size:19px; }
}

.wiz-head { display:flex; align-items:center; justify-content:space-between; }
.wiz-head strong { font-size:17px; font-weight:700; color:var(--ink); }
.wiz-close { background:none; border:none; font-size:18px; color:var(--muted); cursor:pointer; padding:2px 6px; }
.wiz-note { font-size:12px; color:var(--muted); margin:4px 0 15px; }
.wiz-card { display:block; width:100%; text-align:center; background:var(--surface); border:1.5px solid var(--line); border-radius:14px; padding:15px 12px; margin-bottom:10px; cursor:pointer; }
.wiz-card:hover { border-color:var(--primary); }
.wiz-card:active { transform:scale(.99); }
.wiz-card strong { display:block; font-size:15px; font-weight:700; color:var(--ink); }
.wiz-card small { display:block; font-size:12px; color:var(--muted); margin-top:3px; }

/* Ortalanan seçici (müşteri seçici vb.) — alt-sayfa yerine ekran ortasında */
.picker-overlay.center { align-items: center; padding: 18px; }
.picker-overlay.center .picker-card { border-radius: 18px; max-width: 360px; max-height: 74vh; box-shadow: 0 12px 40px rgba(0,0,0,.25); }

/* İş kartı 9 aşama — atlandı / kilit */
.jobcard-row.skip .jc-lb { opacity:.55; }
.jobcard-row.skip .jc-ic { background:transparent; border:1px dashed var(--line); color:var(--muted); opacity:.7; }
.jc-edit { background:none; border:none; color:var(--primary); font-size:11px; cursor:pointer; padding:0; white-space:nowrap; }
.jc-tag.muted { color:var(--muted); }
.jc-lock { font-size:13px; opacity:.5; }

/* Müşteri seçici — şık orta modal */
.cust-pick { max-width:380px; }
.cp-search { width:100%; box-sizing:border-box; padding:10px 12px; border:1px solid var(--line); border-radius:10px; margin-bottom:8px; font-size:14px; background:var(--surface); color:var(--ink); }
.cp-list { display:flex; flex-direction:column; gap:2px; max-height:52vh; overflow:auto; }
.cp-row { display:flex; align-items:center; gap:11px; padding:10px 8px; border:none; background:none; border-radius:10px; cursor:pointer; text-align:left; width:100%; }
.cp-row:hover { background:var(--bg,#eef2f0); }
.cp-av { width:38px; height:38px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; flex-shrink:0; }
.cp-main { display:flex; flex-direction:column; min-width:0; }
.cp-main strong { font-size:14px; color:var(--ink); }
.cp-main small { font-size:12px; color:var(--muted); }

/* ── Kasa (gelir/gider defteri) ── */
.kasa-sum { display:grid; grid-template-columns:1fr 1fr 1fr; gap:8px; margin-bottom:12px; }
.kasa-s { background:var(--surface); border:1px solid var(--line); border-radius:12px; padding:10px 6px; text-align:center; }
.kasa-s span { display:block; font-size:11px; color:var(--muted); }
.kasa-s strong { display:block; font-size:15px; font-weight:700; margin-top:3px; color:var(--ink); }
.kasa-s.in strong { color:#1f9d63; }
.kasa-s.out strong { color:#d64545; }
.segp { display:flex; background:var(--bg,#eef2f0); border-radius:12px; padding:4px; margin-bottom:10px; }
.segp div { flex:1; text-align:center; border-radius:9px; padding:9px; font-weight:600; color:var(--muted); cursor:pointer; font-size:14px; }
.segp div.on { background:var(--surface); color:var(--ink); }
.kasa-hlabel { font-size:13px; font-weight:700; color:var(--muted); margin:16px 2px 8px; }
.kasa-list { display:flex; flex-direction:column; }
.kasa-row { display:flex; align-items:center; gap:11px; padding:10px 4px; border-bottom:1px solid var(--line); }
.kasa-dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; color:#fff; flex-shrink:0; }
.kasa-dot.in { background:#1f9d63; }
.kasa-dot.out { background:#d64545; }
.kasa-main { flex:1; min-width:0; }
.kasa-main strong { display:block; font-size:14px; color:var(--ink); }
.kasa-main span { display:block; font-size:12px; color:var(--muted); }
.kasa-amt { font-size:15px; font-weight:700; white-space:nowrap; }
.kasa-amt.in { color:#1f9d63; }
.kasa-amt.out { color:#d64545; }
.kasa-del { background:none; border:none; color:var(--muted); font-size:14px; cursor:pointer; padding:2px 6px; flex-shrink:0; }

/* ── İş detayı sekmeleri (Özet/Hareket/Dosya) ── */
.detail-tabs { display:flex; background:var(--bg,#eef2f0); border-radius:12px; padding:4px; margin-bottom:12px; }
.dtab { flex:1; text-align:center; border:none; background:none; border-radius:9px; padding:9px; font-size:13px; font-weight:600; color:var(--muted); cursor:pointer; }
.dtab.on { background:var(--surface); color:var(--ink); }
.dosya-lbl { font-size:12px; font-weight:700; color:var(--muted); margin:14px 2px 6px; }
.detail-photo { width:100%; border-radius:12px; margin-top:8px; border:1px solid var(--line); display:block; }
.detail-photo.sig { max-width:230px; background:#fff; }

/* ── Pro / Abonelik ekranı ── */
.pro-hero { background:var(--primary); color:#fff; border-radius:14px; padding:15px; margin-bottom:14px; }
.pro-hero-t { font-size:17px; font-weight:800; }
.pro-hero-s { font-size:12px; opacity:.92; margin-top:3px; }
.best-tag { display:inline-block; background:rgba(31,157,99,.16); color:#1f9d63; font-size:11px; font-weight:800; padding:2px 9px; border-radius:7px; margin-bottom:8px; }
.pro-plan { width:100%; display:flex; align-items:center; justify-content:space-between; border:1.5px solid var(--line); background:var(--surface); border-radius:14px; padding:14px; margin-bottom:10px; cursor:pointer; text-align:left; }
.pro-plan.best { border:2px solid var(--primary); background:rgba(35,107,91,.06); }
.pro-plan .pp-l { display:flex; flex-direction:column; }
.pro-plan .pp-l strong { font-size:15px; color:var(--ink); }
.pro-plan .pp-l small { font-size:12px; color:var(--muted); }
.pro-plan .pp-pr { font-weight:800; color:var(--primary); background:rgba(35,107,91,.1); border-radius:99px; padding:7px 13px; font-size:13px; white-space:nowrap; }
.pro-kredi { border:1px solid var(--line); background:var(--surface); border-radius:12px; padding:12px 6px; text-align:center; cursor:pointer; }
.pro-kredi b { display:block; font-size:18px; color:var(--ink); }
.pro-kredi small { display:block; font-size:11px; color:var(--muted); margin-top:2px; }

/* ── Seans öğrenci kartı (04.08.2026) ── */
.ogrenci-karti { border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 4px 0 14px; background: var(--surface); box-shadow: 0 1px 3px rgba(20,50,35,.06); }
.ogrenci-karti .ok-bas { font-weight: 800; font-size: 15px; margin-bottom: 8px; }
.ogrenci-karti .ok-say { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.ogrenci-karti .ok-say b { color: var(--primary); font-size: 20px; font-variant-numeric: tabular-nums; }
.ogrenci-karti .ok-tut { font-size: 12px; }
.ogrenci-karti .ok-bar { height: 9px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.ogrenci-karti .ok-bar i { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .25s ease; }
.ogrenci-karti .ok-bitti { font-size: 12.5px; font-weight: 700; color: #1f9d63; margin-bottom: 8px; }
.ogrenci-karti .ok-eylem { display: flex; gap: 8px; }
.ogrenci-karti .ok-btn { flex: 1; border: 0; border-radius: 10px; padding: 11px; font-family: inherit; font-weight: 800; font-size: 14px; background: var(--primary); color: #fff; cursor: pointer; }
.ogrenci-karti .ok-btn.ok-geri { flex: 0 0 auto; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 700; }
.ogrenci-karti .ok-not { margin-top: 9px; font-size: 12px; color: var(--muted); }

/* ── Aşama kartları (detay Özet, akışın altında) — 05.08.2026 ── */
.asama-kartlari { margin: 6px 0 14px; }
.asama-baslik { font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .01em; margin: 4px 2px 8px; }
.asama-kart { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 1px 3px rgba(20,50,35,.06); margin-bottom: 10px; overflow: hidden; }
.asama-kart.d-devam { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 1px 3px rgba(20,50,35,.06); }
.asama-kart-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.asama-kart-no { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.asama-kart-no b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.asama-kart-no span { font-size: 12px; color: var(--muted); }
.asama-rozet { flex: 0 0 auto; font-size: 11.5px; font-weight: 800; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.asama-rozet.r-tamam { background: #e4f3ea; color: #1f8a52; }
.asama-rozet.r-devam { background: #fdeedd; color: #c96a12; }
.asama-rozet.r-eksik { background: #eef1ef; color: var(--muted); }
.asama-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; border-bottom: 1px solid var(--line); padding: 12px 13px; font-family: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.asama-satir:active { background: #f2f6f3; }
.asama-satir-et { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.asama-satir-durum { flex: 0 0 auto; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 999px; font-size: 13px; font-weight: 800; background: #eef1ef; color: var(--muted); }
.asama-satir.dolu .asama-satir-durum { background: #e4f3ea; color: #1f8a52; }
.asama-duzenle { width: 100%; border: 0; background: transparent; padding: 11px 13px; font-family: inherit; font-weight: 800; font-size: 13.5px; color: var(--primary); cursor: pointer; }
.asama-duzenle:active { background: #f2f6f3; }

/* ── Dosya sekmesi: fiş PDF önizleme (06.08.2026) ── */
.dosya-fis { margin: 6px 0 14px; }
/* Fiş tek A4 sayfası: oran 210/297 → tüm sayfa kırpılmadan görünür (06.08.2026). */
.fis-pdf-frame { width: 100%; aspect-ratio: 210 / 297; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.fis-pdf-btn { width: 100%; margin-top: 8px; border: 0; border-radius: 10px; padding: 12px; font-family: inherit; font-weight: 800; font-size: 14px; background: var(--primary); color: #fff; cursor: pointer; }
.fis-pdf-btn:active { background: var(--primary-dark); }

/* Tıklanabilir HTML fiş — her bölüm buton (06.08.2026) */
.fis-html { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 3px rgba(20,50,35,.06); }
.fis-html-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px; background: var(--primary); color: #fff; }
.fis-html-title { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.fis-html-sub { font-size: 11.5px; opacity: .85; margin-top: 2px; }
.fis-html-no { text-align: right; display: flex; flex-direction: column; line-height: 1.25; }
.fis-html-no span { font-size: 10px; opacity: .8; }
.fis-html-no b { font-size: 15px; font-variant-numeric: tabular-nums; }
.fis-html-no small { font-size: 10.5px; opacity: .8; }
.fis-sec { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line); background: transparent; padding: 11px 13px; font-family: inherit; cursor: pointer; }
.fis-sec:first-of-type { border-top: 0; }
.fis-sec:active { background: #f2f6f3; }
.fis-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.fis-sec-title { font-weight: 800; font-size: 13px; color: var(--primary); }
.fis-sec-edit { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.fis-sec-body { display: flex; flex-direction: column; gap: 3px; }
.fis-sec-row { display: flex; gap: 10px; justify-content: space-between; font-size: 13px; }
.fis-sec-k { color: var(--muted); flex: 0 0 auto; }
.fis-sec-v { color: var(--ink); text-align: right; overflow-wrap: anywhere; }
.fis-terms-edit { width: 100%; border: 0; border-top: 1px solid var(--line); background: #f6f9f7; padding: 12px; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.fis-terms-edit:active { background: #eef3ef; }
/* İmza kutuları — kimin imzası var görünsün */
/* İmza blokları HER ZAMAN 3'lü yan yana (06.08.2026, kullanıcı) — alt alta inince sayfa uzuyordu. */
.fis-imza-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fis-imza-cell { border: 1px solid var(--line); border-radius: 10px; padding: 6px 5px; text-align: center; background: #fafcfb; min-width: 0; }
.fis-imza-cell.var { border-color: var(--primary); }
.fis-imza-role { font-size: 9.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; line-height: 1.1; }
.fis-imza-img { width: 100%; height: 42px; object-fit: contain; background: #fff; border-radius: 6px; }
.fis-imza-bos { height: 42px; display: grid; place-items: center; font-size: 10px; color: var(--muted); background: repeating-linear-gradient(45deg, #f4f7f5, #f4f7f5 6px, #eef3ef 6px, #eef3ef 12px); border-radius: 6px; }
.fis-imza-meta { font-size: 9.5px; color: var(--ink); margin-top: 4px; overflow-wrap: anywhere; line-height: 1.15; }
/* Keşif / İş randevusu blokları — fiş yeşilinden farklı MAVİ (yalnız uygulamada, PDF'te yok) */
.fis-rnd-baslik { font-size: 11.5px; font-weight: 800; color: var(--muted); margin: 12px 2px 6px; }
.fis-rnd { border: 1px solid #b9d0e8; border-radius: 12px; background: #eef4fb; margin-bottom: 8px; overflow: hidden; }
/* Plan kartı: bekleyen ödeme bandı (her zaman görünür "Ödeme al") */
.plan-odeme-band { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: #fdf1e3; border: 1px solid #f2d3ac; }
.plan-odeme-band.gecikti { background: #fdeceb; border-color: #f2c1bd; }
.plan-odeme-metin { font-size: 13px; font-weight: 700; color: #9a5c14; }
.plan-odeme-band.gecikti .plan-odeme-metin { color: #b5372c; }
.plan-odeme-band b { font-variant-numeric: tabular-nums; }
.plan-odeme-band .plan-btn { flex: 0 0 auto; min-height: auto; padding: 9px 14px; }

/* Bekleyen ödeme notu — kayıt kartı üzerinde */
.record-pending-pay { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 8px 11px; border-radius: 10px; background: #fdf1e3; border: 1px solid #f2d3ac; font-size: 12.5px; font-weight: 700; color: #9a5c14; }
.record-pending-pay b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.record-pending-pay.gecikti { background: #fdeceb; border-color: #f2c1bd; color: #b5372c; }

/* Yol tarifi harita seçici (bottom sheet) */
.map-choose-ov { position: fixed; inset: 0; z-index: 9999; background: rgba(16,32,27,.45); display: flex; align-items: flex-end; justify-content: center; }
.map-choose { width: 100%; max-width: 460px; background: var(--surface); border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -12px 34px rgba(20,35,30,.22); animation: mapSheetUp .18s ease; }
@keyframes mapSheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.map-choose-title { font-weight: 800; font-size: 15px; color: var(--ink); margin: 2px 2px 12px; text-align: center; }
.map-choose-btn { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 8px; font-family: inherit; font-weight: 700; font-size: 15px; background: #f6f9f7; color: var(--ink); cursor: pointer; text-align: left; }
.map-choose-btn:active { background: #eef3ef; }
.map-choose-cancel { width: 100%; border: 0; border-radius: 12px; padding: 13px; margin-top: 4px; font-family: inherit; font-weight: 800; font-size: 14px; background: transparent; color: var(--muted); cursor: pointer; }

/* Randevu: yol süresini konumdan hesapla */
.loc-est-btn { width: 100%; margin-top: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; font-family: inherit; font-weight: 700; font-size: 13px; background: #f6f9f7; color: var(--primary); cursor: pointer; }
.loc-est-btn:active { background: #eef3ef; }
.loc-est-hint { margin: 6px 2px 0; font-size: 12px; color: var(--muted); }
.loc-est-hint.err { color: var(--danger); }

.fis-rnd.acilir { cursor: pointer; }
.fis-rnd.acilir:active { filter: brightness(0.98); }
.fis-rnd-head { padding: 10px 12px; background: #3f6fb0; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fis-rnd-title { font-weight: 800; font-size: 13px; }
.fis-rnd-edit { font-size: 11.5px; font-weight: 700; color: #dbe8f7; }
.fis-rnd-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.fis-rnd-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.fis-rnd-k { color: #5a7699; }
.fis-rnd-v { color: #1c3a5e; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.fis-rnd-btn { width: 100%; border: 0; border-top: 1px solid #cfe0f0; background: #dcebfb; padding: 11px; font-family: inherit; font-weight: 800; font-size: 13px; color: #2b5a92; cursor: pointer; }
.fis-rnd-btn:active { background: #cfe3f8; }

/* ── 5 adımlı yeni iş sihirbazı ── */
.service-form.form-stepped > fieldset { display:none; }
.service-form.form-stepped > fieldset.fw-current { display:block; animation:fwIn .18s ease; }
/* Moda özel fieldset (ör. Seans planı) bir adım grubunda olsa da o modda değilse [hidden] kalır → gizli.
   fw-current display:block'unu ezmek için !important (04.08.2026). */
.service-form.form-stepped > fieldset[hidden] { display:none !important; }
.service-form.form-stepped > .form-actions { display:none; }
.fw-summary { display:none; }
.service-form.form-stepped > .fw-summary.fw-current { display:block; animation:fwIn .18s ease; }
.service-form:not(.form-stepped) .fw-bar,
.service-form:not(.form-stepped) .fw-nav { display:none; }
.fw-bar { display:flex; justify-content:space-between; gap:2px; margin:2px 0 18px; }
.fw-dot { display:flex; flex-direction:column; align-items:center; gap:5px; flex:1; position:relative; }
.fw-dot .fw-num { width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:var(--line); color:var(--muted); font-weight:800; font-size:13px; position:relative; z-index:1; transition:.2s; }
.fw-dot.active .fw-num { background:var(--primary); color:#fff; }
.fw-dot.done .fw-num { background:#1f9d63; color:#fff; }
.fw-dot .fw-lbl { font-size:10px; color:var(--muted); font-weight:700; text-align:center; }
.fw-dot.active .fw-lbl { color:var(--primary); }
.fw-dot::before { content:""; position:absolute; top:14px; right:50%; width:100%; height:2px; background:var(--line); z-index:0; }
.fw-dot:first-child::before { display:none; }
.fw-dot.active::before, .fw-dot.done::before { background:#1f9d63; }
.fw-dot[style*="cursor"], .fw-dot { cursor:default; }
.fw-nav { display:flex; gap:10px; margin-top:18px; }
.fw-nav button { flex:1; }
.fw-summary { padding:2px; }
.fw-sum-title { font-weight:800; font-size:16px; margin-bottom:12px; color:var(--ink); }
.fw-sum-row { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); }
.fw-sum-row span { color:var(--muted); font-size:13px; }
.fw-sum-row b { color:var(--ink); font-size:13px; text-align:right; }
.fw-sum-note { margin-top:14px; font-size:12px; color:var(--muted); text-align:center; }
@keyframes fwIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:none; } }

/* ── Kullanım Sözleşmesi (EULA) + Genel Ayarlar ── */
.eula-card { max-width: 460px; }
.eula-text { max-height: 46vh; overflow-y: auto; text-align: left; background: var(--surface, #fff); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 6px 0 12px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.eula-text h4 { margin: 12px 0 4px; font-size: 13.5px; color: var(--primary); }
.eula-text h4:first-child { margin-top: 0; }
.eula-text p { margin: 0 0 4px; color: var(--muted); }
[data-theme="dark"] .eula-text { background: #17211d; }
#generalSetupScreen .auth-card label { text-align: left; display: block; margin-bottom: 12px; font-weight: 600; }

/* Teklif not çipleri: yana taşmasın, alt satıra sarılsın */
#estNoteChips { flex-wrap: wrap; overflow-x: visible; }
#estNoteChips .chip { flex: 0 1 auto; white-space: normal; }

/* Teklif alt kalemleri (başlık altında girintili) */
.est-line.est-sub { margin-left: 18px; border-left: 3px solid var(--primary); background: var(--bg); }
.est-line.est-sub .est-main strong { font-weight: 600; font-size: 13px; color: var(--muted); }
.est-line.est-sub .est-bas { cursor: default; padding: 9px 12px; }
.est-line.est-sub .est-tot { font-size: 13px; }

/* Teklif sayfası müsait saatler önizlemesi */
.est-slots { margin-top: 10px; padding: 10px 12px; background: #eef5f2; border: 1px solid var(--line); border-radius: 12px; }
[data-theme="dark"] .est-slots { background: #22302b; }
.est-slots-t { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.est-slots-row { display: flex; flex-wrap: wrap; gap: 6px; }
.est-slot { font-size: 12.5px; padding: 5px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
[data-theme="dark"] .est-slot { background: #17211d; }

/* ===== 🤖 AI Asistan ===== */

.ai-topbtn { font-size:20px; }
.ai-popup { position:fixed; inset:0; background:rgba(0,0,0,.4); z-index:120; display:flex; align-items:flex-end; justify-content:center; }
.ai-popup[hidden] { display:none; }
.ai-popup-card { background:var(--surface,#fff); width:100%; max-width:600px; border-radius:20px 20px 0 0; max-height:82vh; display:flex; flex-direction:column; padding:12px 14px calc(14px + env(safe-area-inset-bottom,0)); box-shadow:0 -6px 30px rgba(0,0,0,.25); }
.ai-popup-head { display:flex; align-items:center; justify-content:space-between; padding:2px 2px 8px; border-bottom:1px solid var(--line,#e2e6e2); margin-bottom:8px; }
.ai-popup-title { font-weight:700; font-size:16px; color:var(--ink); }
.ai-popup-close { background:var(--surface-1,#eef1ec); border:0; width:32px; height:32px; border-radius:50%; font-size:15px; cursor:pointer; color:var(--ink); }
.ai-chat-log { flex:1; overflow-y:auto; padding:6px 2px 12px; display:flex; flex-direction:column; gap:10px; min-height:180px; max-height:52vh; }
.ai-msg { max-width:85%; padding:10px 13px; border-radius:14px; font-size:14.5px; line-height:1.45; white-space:pre-wrap; word-break:break-word; }
.ai-msg.user { align-self:flex-end; background:#236b5b; color:#fff; border-bottom-right-radius:4px; }
.ai-msg.bot { align-self:flex-start; background:var(--surface-1,#f1efe8); color:var(--ink); border-bottom-left-radius:4px; }
.ai-msg.bot.thinking { opacity:.7; font-style:italic; }
.ai-act-card { align-self:flex-start; max-width:92%; background:var(--surface); border:1px solid var(--line,#d8ddd6); border-radius:14px; padding:12px 14px; font-size:14px; }
.ai-act-card .aac-h { font-weight:700; color:#236b5b; margin:0 0 6px; font-size:13.5px; }
.ai-act-card .aac-row { display:flex; justify-content:space-between; gap:10px; padding:3px 0; font-size:13.5px; }
.ai-act-card .aac-row .k { color:#6a736e; }
.ai-act-btns { display:flex; gap:8px; margin-top:10px; flex-wrap:wrap; }
.ai-act-btns button { flex:1; min-width:120px; padding:10px; border-radius:10px; border:0; font-weight:600; font-size:13.5px; cursor:pointer; }
.ai-act-btns .go { background:#236b5b; color:#fff; }
.ai-act-btns .alt { background:var(--surface-1,#eef1ec); color:#333; }
.ai-chat-bar { display:flex; align-items:flex-end; gap:8px; padding:8px 0 4px; border-top:1px solid var(--line,#e2e6e2); }
.ai-chat-bar textarea { flex:1; resize:none; max-height:120px; padding:11px 12px; border:1px solid var(--line,#c4cdc6); border-radius:14px; font:inherit; font-size:14.5px; background:var(--surface); color:var(--ink); }
.ai-mic, .ai-send { width:44px; height:44px; flex-shrink:0; border:0; border-radius:50%; font-size:19px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.ai-mic { background:var(--surface-1,#eef1ec); }
.ai-mic.rec { background:#e24b4a; color:#fff; animation:aiPulse 1s infinite; }
.ai-send { background:#236b5b; color:#fff; }
@keyframes aiPulse { 0%,100%{ transform:scale(1);} 50%{ transform:scale(1.12);} }

/* 🎤 Sesli form doldurma (satır satır) */
.ai-voicefill-btn { width:100%; margin:0 0 12px; padding:11px; border:1.5px solid #236b5b; border-radius:12px; background:#e8f2ee; color:#174a3f; font-weight:700; font-size:14px; cursor:pointer; }
.ai-voicefill-btn:active { transform:scale(.99); }
.ai-formbar { position:fixed; left:0; right:0; bottom:0; z-index:130; background:#236b5b; color:#fff; padding:12px 14px calc(14px + env(safe-area-inset-bottom,0)); box-shadow:0 -4px 20px rgba(0,0,0,.3); display:flex; flex-direction:column; gap:8px; }
.ai-formbar[hidden] { display:none; }
.ai-formbar-top { display:flex; align-items:center; gap:10px; }
.ai-formbar-mic { width:40px; height:40px; border-radius:50%; background:#e24b4a; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; animation:aiPulse 1s infinite; }
.ai-formbar-txt { flex:1; }
.ai-formbar-txt .lbl { font-size:15px; font-weight:700; }
.ai-formbar-txt .hint { font-size:12px; opacity:.9; }
.ai-formbar-actions { display:flex; gap:8px; }
.ai-formbar-actions button { flex:1; padding:9px; border:0; border-radius:9px; font-weight:700; font-size:13px; cursor:pointer; }
.ai-fb-next { background:#fff; color:#174a3f; }
.ai-fb-back { background:rgba(255,255,255,.2); color:#fff; }
.ai-fb-stop { background:rgba(0,0,0,.25); color:#fff; }

/* 🎙️ Yönetici Asistan — orb göstergesi + merkez onay bandı */
.ai-mgr { position:fixed; left:0; right:0; bottom:0; z-index:140; display:flex; flex-direction:column; align-items:center; gap:8px; padding:16px 16px calc(20px + env(safe-area-inset-bottom,0)); pointer-events:none; }
.ai-mgr[hidden] { display:none; }
.ai-mgr > * { pointer-events:auto; }
.ai-mgr-orb { width:88px; height:88px; border-radius:50%; border:0; color:#fff; font-size:38px; display:flex; align-items:center; justify-content:center; cursor:pointer; box-shadow:0 8px 30px rgba(0,0,0,.28); transition:background .25s, transform .1s; }
.ai-mgr-orb:active { transform:scale(.95); }
.ai-mgr-orb.idle { background:#236b5b; }
.ai-mgr-orb.rec { background:#e24b4a; animation:aiPulse 1s infinite; }
.ai-mgr-orb.proc { background:#e0a020; animation:aiPulse .7s infinite; }
.ai-mgr-state { background:rgba(15,24,19,.85); color:#fff; font-size:14px; font-weight:600; padding:7px 14px; border-radius:20px; text-align:center; }

/* Bilgi ekranı kartı: usta ne dediğini ve nerede kaldığını görsün (19.07.2026) */
.ai-mgr-card { width:100%; max-width:420px; background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:16px 16px 18px; box-shadow:0 10px 40px rgba(0,0,0,.22); display:flex; flex-direction:column; align-items:center; gap:12px; position:relative; }
.ai-mgr-card .ai-mgr-close { position:absolute; top:10px; right:10px; bottom:auto; width:30px; height:30px; font-size:14px; background:var(--bg,#eef2f0); color:var(--muted); }
.ai-mgr-heard { width:100%; background:var(--bg,#f3f6f4); border-radius:12px; padding:10px 12px; display:flex; flex-direction:column; gap:3px; }
.ai-mgr-heard-lbl { font-size:11px; font-weight:700; color:var(--muted); text-transform:uppercase; letter-spacing:.4px; }
.ai-mgr-heard-txt { font-size:15px; line-height:1.4; color:var(--ink); }
.ai-mgr-result { width:100%; font-size:13px; font-weight:600; line-height:1.4; padding:9px 12px; border-radius:11px; text-align:center; }
.ai-mgr-result.ok { background:rgba(31,157,99,.12); color:#1a8b57; }
.ai-mgr-result.uyari { background:rgba(217,131,36,.12); color:#c07a1c; }
.ai-mgr-heard[hidden], .ai-mgr-result[hidden] { display:none; }
#aiMgrBanner { position:fixed; top:50%; left:50%; transform:translate(-50%,-50%); z-index:160; max-width:82%; text-align:center; font-size:17px; font-weight:700; padding:18px 22px; border-radius:16px; box-shadow:0 10px 40px rgba(0,0,0,.3); }
#aiMgrBanner[hidden] { display:none; }
#aiMgrBanner.ok { background:#236b5b; color:#fff; }
#aiMgrBanner.uyari { background:#fff; color:#8a5a00; border:2px solid #e0a020; }

/* ═══ Meslek seçimi (§8 Adım 4) — kademeli sheet ═══ */
.meslek-overlay, .meslek-prompt-overlay {
  position: fixed; inset: 0; z-index: 6000;
  background: rgba(15, 30, 24, 0.55);
  display: flex; align-items: flex-end; justify-content: center;
}
.meslek-prompt-overlay { align-items: center; padding: 20px; }
.meslek-sheet {
  width: min(560px, 100%); max-height: 92vh;
  background: var(--surface); border-radius: 16px 16px 0 0;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
}
.meslek-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.meslek-head strong { flex: 1; font-size: 17px; }
.meslek-detay-ad { font-size: 16px; }
.meslek-close, .meslek-back {
  border: none; background: var(--surface-2, #eef3f0); color: inherit;
  width: 34px; height: 34px; border-radius: 10px; font-size: 18px; cursor: pointer; flex: none;
}
.meslek-note { margin: 10px 16px 0; font-size: 13px; color: var(--muted, #667); }
.meslek-mod-badge {
  margin: 12px 16px 0; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 14px;
  background: var(--brand-soft, #E7F1EC); color: var(--brand, #1f6b45); text-align: center;
}
.meslek-mod-badge.mod-atolye { background: #FDF3D7; color: #8A6100; }
.meslek-mod-badge.mod-yerinde { background: #E3EEFB; color: #1B5FA8; }
.meslek-body { flex: 1; overflow-y: auto; padding: 10px 16px 8px; }
.meslek-grup {
  margin: 14px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: var(--muted, #778); text-transform: uppercase;
}
.meslek-row {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 12px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); color: inherit; font-size: 15px; cursor: pointer;
}
.meslek-row:hover { border-color: var(--brand, #1f6b45); }
.meslek-row span:first-child { flex: 1; }
.meslek-row.sec { border-color: var(--brand, #1f6b45); background: var(--brand-soft, #E7F1EC); }
.meslek-cur { color: var(--brand, #1f6b45); font-size: 12px; }
/* Kademeli akordeon */
.meslek-kat { margin-bottom: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.meslek-kat-head {
  display: flex; align-items: center; gap: 8px; width: 100%; text-align: left;
  padding: 12px 12px; background: var(--surface-2, #f4f8f6); color: inherit;
  border: none; font-size: 14px; font-weight: 600; cursor: pointer;
}
.meslek-kat-head.open { background: var(--brand-soft, #E7F1EC); }
.meslek-kat-ok { width: 16px; color: var(--brand, #1f6b45); }
.meslek-kat-ad { flex: 1; }
.meslek-kat-say {
  font-size: 12px; font-weight: 700; color: var(--muted, #778);
  background: var(--surface); border-radius: 20px; padding: 1px 8px; min-width: 24px; text-align: center;
}
.meslek-opts { padding: 6px 8px 8px; display: grid; gap: 2px; }
.meslek-opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px 8px; border-radius: 8px;
  font-size: 14px; cursor: pointer;
}
.meslek-opt:hover { background: var(--surface-2, #f4f8f6); }
.meslek-opt-tum { background: rgba(35,107,91,.07); color: var(--primary); margin-bottom: 4px; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
/* Teklif durum çizgisi (müşteri talep detayı) — 23.07.2026 */
/* YATAY akış (23.07.2026, Kenan): adımlar soldan sağa, nokta üstte, etiket altında, aralarda çizgi. */
.tk-yol { display: flex; flex-direction: row; align-items: flex-start; gap: 0; margin: 10px 0 6px; }
.tk-adim { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 2px; position: relative; }
.tk-adim:not(:last-child)::after { content: ""; position: absolute; top: 9px; left: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.tk-adim.tamam:not(:last-child)::after { background: var(--primary); }
.tk-nokta { position: relative; z-index: 1; flex: none; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; background: var(--line); color: var(--muted); }
.tk-adim.tamam .tk-nokta { background: var(--primary); color: #fff; }
.tk-adim.simdi .tk-nokta { background: #e0b455; color: #4a3410; }
.tk-ic { display: flex; flex-direction: column; align-items: center; }
.tk-ic strong { font-size: 11.5px; font-weight: 600; line-height: 1.2; }
.tk-adim.sonra .tk-ic strong { color: var(--muted); font-weight: 500; }
.tk-ic small { font-size: 10px; color: var(--muted); line-height: 1.15; margin-top: 2px; }
.cust-chip-danger { border-color: #d98a8a !important; color: #b23b3b !important; background: #fdf1f1 !important; }
.meslek-opt input { margin-top: 2px; width: 18px; height: 18px; flex: none; }
.meslek-foot { padding: 12px 16px; border-top: 1px solid var(--line); background: var(--surface); }
.meslek-save {
  width: 100%; padding: 14px; border: none; border-radius: 12px; cursor: pointer;
  background: var(--brand, #1f6b45); color: #fff; font-size: 16px; font-weight: 700;
}
/* İlk açılış promptu */
.meslek-prompt-card {
  width: min(400px, 100%); background: var(--surface); border-radius: 16px; padding: 24px 20px;
  text-align: center; display: grid; gap: 12px;
}
.meslek-prompt-emoji { font-size: 40px; }
.meslek-prompt-card strong { font-size: 20px; }
.meslek-prompt-card p { font-size: 14px; color: var(--muted, #667); margin: 0; }
.meslek-prompt-primary {
  padding: 14px; border: none; border-radius: 12px; cursor: pointer;
  background: var(--brand, #1f6b45); color: #fff; font-size: 16px; font-weight: 700;
}
.meslek-prompt-ghost {
  padding: 10px; border: none; background: none; color: var(--muted, #667);
  font-size: 14px; cursor: pointer; text-decoration: underline;
}

/* Atölye: eşya geliş şekli alanı */
.gelis-sekli-wrap { display: grid; gap: 4px; margin-top: 8px; }
.gelis-sekli-wrap select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; background: var(--surface); color: inherit; }

/* Adım 6: senkron bekleyen kayıt göstergesi (küçük, yalnız gerektiğinde) */
.sync-badge { position: relative; }
.sync-badge[hidden] { display: none; }
.sync-badge .sync-badge-ic { font-size: 18px; }
.sync-badge .sync-badge-count {
  position: absolute; top: -2px; right: -2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #E0A020; color: #fff; border-radius: 9px;
  font-size: 11px; font-weight: 800; line-height: 16px; text-align: center;
}
.sync-badge.failed .sync-badge-count { background: #C0392B; }

/* ============ Finansal Performans Raporu (lacivert tema) ============ */
.fin-report { --fin-navy: #174a3f; --fin-navy-2: #236b5b; }
.fin-head { border-bottom: 2px solid var(--fin-navy); padding-bottom: 10px; margin-bottom: 12px; }
.fin-brand { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--fin-navy-2); }
.fin-title { margin: 2px 0 2px; font-size: 20px; font-weight: 800; color: var(--fin-navy); line-height: 1.15; }
.fin-sub { margin: 0; font-size: 12px; color: #6b7683; }
.fin-chips { margin-bottom: 12px; }
.fin-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
@media (min-width: 680px) { .fin-kpis { grid-template-columns: repeat(3, 1fr); } }
.fin-kpi {
  background: var(--surface); border: 1.5px solid #c4d2ca; border-left: 5px solid var(--fin-navy-2);
  border-radius: 12px; padding: 12px 14px; box-shadow: 0 2px 8px rgba(20,55,40,.09);
}
.fin-kpi .fk-label { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .3px; color: #566b61; text-transform: uppercase; }
.fin-kpi .fk-value { margin: 0; font-size: 20px; font-weight: 800; color: #14231b; letter-spacing: -.2px; }
.fin-kpi .fk-sub { margin: 5px 0 0; font-size: 11px; color: #667a70; }
.fin-kpi .fk-trend { margin: 4px 0 0; font-size: 12px; font-weight: 700; }
.fin-kpi .fk-trend.up { color: #1f9d63; }
.fin-kpi .fk-trend.down { color: #c0392b; }
/* Renk aksanları */
.fin-kpi.navy   { border-left-color: #236b5b; }
.fin-kpi.green  { border-left-color: #1f9d63; }
.fin-kpi.teal   { border-left-color: #159a8a; }
.fin-kpi.amber  { border-left-color: #d98324; }
.fin-kpi.red    { border-left-color: #c0392b; }
.fin-kpi.navy  .fk-value { color: #174a3f; }
.fin-kpi.green .fk-value { color: #1a8b57; }
.fin-kpi.red   .fk-value { color: #b23b2c; }
.fin-card { background: var(--surface); border: 1.5px solid #c4d2ca; border-radius: 12px; padding: 14px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(20,55,40,.07); }
.fin-card-title { margin: 0 0 12px; font-size: 13.5px; font-weight: 800; color: var(--fin-navy); border-left: 3px solid var(--fin-navy-2); padding-left: 8px; }
.fin-breakdown .breakdown-row { padding: 9px 2px; border-bottom: 1px solid #dbe4de; }
.fin-breakdown .breakdown-row.total { border-top: 2px solid #b6c6bd; border-bottom: none; font-weight: 800; }
.fin-breakdown .breakdown-row.total .bd-value.green { color: #1a8b57; }

/* ── Rapor: Basit/Detaylı düğmesi ── */
.fin-level { display: inline-flex; background: #eef1f5; border-radius: 10px; padding: 3px; margin-bottom: 12px; }
.fin-level button { border: none; background: transparent; padding: 6px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; color: #6b7683; cursor: pointer; }
.fin-level button.on { background: #174a3f; color: #fff; }
/* ── Detay satırları ── */
.fin-drow { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 8px 2px; border-bottom: 1px solid #dbe4de; font-size: 13.5px; }
.fin-drow:last-child { border-bottom: none; }
.fin-drow .fin-dval { font-weight: 700; color: #14231b; white-space: nowrap; }
.fin-drow.strong { border-top: 2px solid #b6c6bd; font-weight: 800; }
.fin-drow.strong span { font-weight: 800; }
.fin-drow.muted .fin-dval { color: #b3bcc7; font-weight: 500; font-style: italic; font-size: 12px; }
.fin-drow .fin-dval.red { color: #b23b2c; }
.fin-drow .fin-dval.green { color: #1a8b57; }
/* ── Mini tablo (kategori / aylık) ── */
.fin-mini-table { overflow-x: auto; }
.fmt-row { display: grid; grid-template-columns: 1.4fr repeat(calc(var(--fmt-cols) - 1), 1fr); gap: 6px; padding: 7px 4px; border-bottom: 1px solid #dbe4de; font-size: 12.5px; }
.fmt-row span:not(:first-child) { text-align: right; white-space: nowrap; }
.fmt-head { background: #174a3f; color: #fff; font-weight: 700; border-radius: 6px; border-bottom: none; }
.fmt-head span { color: #fff; }
/* ── Uyarılar + otomatik yorum ── */
.fin-alerts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.fin-alert { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.fin-alert.kritik { background: #fde8e6; color: #b23b2c; }
.fin-alert.dikkat { background: #fdf1e3; color: #b9711c; }
.fin-alert.olumlu { background: #e6f6ee; color: #1a8b57; }
.fin-comment .fin-comment-line { margin: 4px 0; font-size: 13px; color: #45505e; line-height: 1.5; }

/* Rapor: Basit/Detaylı + Personel Raporu aynı satırda */
.fin-level-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.fin-level-row .fin-level { margin-bottom: 0; }
.fin-personel-btn { flex: 0 0 auto; margin: 0; white-space: nowrap; }

/* §İLERLEME-MODELI 4d — Ödeme ekseni (şerit altında ayrı satır) */
.jobcard-pay { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px; padding:9px 11px; border-radius:10px; border:1px solid var(--line); cursor:pointer; }
.jobcard-pay .jcp-lbl { font-size:13px; font-weight:700; color:var(--ink); }
.jobcard-pay .jcp-val { font-size:13px; font-weight:700; }
.jobcard-pay.ok { background:rgba(31,157,99,.10); border-color:rgba(31,157,99,.30); }
.jobcard-pay.ok .jcp-val { color:#1a8b57; }
.jobcard-pay.warn { background:rgba(217,131,36,.10); border-color:rgba(217,131,36,.30); }
.jobcard-pay.warn .jcp-val { color:#c07a1c; }
.jobcard-pay.bad { background:rgba(192,57,43,.10); border-color:rgba(192,57,43,.30); }
.jobcard-pay.bad .jcp-val { color:#c0392b; }

/* Teklif durum rozeti (19.07.2026) */
.teklif-rozet { flex-shrink:0; font-size:10.5px; font-weight:700; padding:3px 8px; border-radius:20px; white-space:nowrap; }
.teklif-rozet.taslak { background:var(--bg,#eef2f0); color:var(--muted); }
.teklif-rozet.gonderildi { background:rgba(217,131,36,.14); color:#c07a1c; }
.teklif-rozet.kabul { background:rgba(31,157,99,.14); color:#1a8b57; }
.teklif-rozet.ret { background:rgba(192,57,43,.12); color:#c0392b; }

/* ===== 📋 Teklifler sekmesi (Adım 2, 19.07.2026) ===== */
.teklif-filtre { display:flex; flex-wrap:wrap; gap:7px; margin:10px 0 14px; }
.teklif-filtre-c { border:1px solid var(--line); background:var(--surface); color:var(--muted); font-size:12.5px; font-weight:600; font-family:inherit; padding:7px 13px; border-radius:20px; cursor:pointer; }
.teklif-filtre-c.on { background:var(--primary); border-color:var(--primary); color:#fff; }
.teklif-kart { border:1px solid var(--line); border-radius:14px; padding:13px 14px; margin-bottom:10px; background:var(--surface); }
.teklif-kart-ust { display:flex; align-items:center; gap:8px; }
.teklif-no { font-size:12px; font-weight:700; color:var(--muted); flex-shrink:0; }
.teklif-ad { flex:1; min-width:0; font-size:14.5px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.teklif-kart-alt { display:flex; align-items:baseline; justify-content:space-between; gap:10px; margin-top:5px; font-size:12.5px; color:var(--muted); }
.teklif-tutar { font-size:15px; font-weight:700; color:var(--ink); white-space:nowrap; }
.teklif-eylem { display:flex; flex-wrap:wrap; gap:7px; margin-top:11px; }
.teklif-btn { border:1px solid var(--line); background:var(--surface); color:var(--ink); font-size:12.5px; font-weight:600; font-family:inherit; padding:8px 13px; border-radius:10px; cursor:pointer; }
.teklif-btn.ana { background:var(--primary); border-color:var(--primary); color:#fff; }
.teklif-btn.sil { margin-left:auto; color:#c0392b; border-color:rgba(192,57,43,.3); }

/* ===== Kalem bazlı kâr + iskonto (20.07.2026) ===== */
.est-satis-onizleme { display:flex; flex-direction:column; gap:2px; margin:-2px 0 8px; padding:9px 12px; border-radius:10px; background:rgba(31,157,99,.09); font-size:12.5px; color:#1a7a52; }
.est-satis-onizleme strong { font-size:14px; }
.est-satis-onizleme .eso-tut { font-size:11.5px; opacity:.8; }
.est-satis-onizleme[hidden] { display:none; }
/* Ustaya özel maliyet satırı — satır açılınca görünür, müşteriye giden hiçbir yerde yok */
.est-maliyet { display:none; padding:0 12px 8px; font-size:11.5px; color:var(--muted); }
.est-line.acik .est-maliyet { display:block; }
/* Özet kutusundaki gizli blok */
.est-ozet-gizli { margin-top:10px; padding:9px 11px; border-radius:10px; background:var(--bg,#f1f4f2); border:1px dashed var(--line); }
.est-ozet-gizli .eog-bas { font-size:11px; font-weight:700; color:var(--muted); margin-bottom:4px; letter-spacing:.3px; }
.est-ozet-gizli .calc-row { font-size:12.5px; }

/* Teklif notu grup başlığı (20.07.2026) */
.est-not-grup { font-size:12.5px; font-weight:700; color:var(--ink); margin:12px 0 7px; }
.est-not-grup:first-child { margin-top:2px; }

/* Katlanır not grupları (10.08.2026) — kapalı başlar, başlıkta seçili sayısı */
.est-not-acilir { display:flex; align-items:center; gap:8px; width:100%; text-align:left; margin:6px 0 0; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); cursor:pointer; }
.est-not-acilir.acik { border-color:var(--primary); }
.est-not-acilir .ena-bas { flex:1 1 auto; min-width:0; font-size:13px; font-weight:700; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.est-not-acilir .ena-sayi { flex:0 0 auto; font-size:11.5px; font-weight:800; padding:2px 8px; border-radius:999px; background:var(--primary); color:#fff; }
.est-not-acilir .ena-ok { flex:0 0 auto; color:var(--muted); font-size:12px; }
.est-not-acilir + .est-not-cips { margin-top:7px; margin-bottom:4px; }

/* Not çipleri: alt alta iki grup, her grup KENDİ İÇİNDE sarar (tek satıra sıkışmaz) */
.est-notlar { margin-bottom: 12px; }
.est-not-cips { display: flex; flex-wrap: wrap; gap: 8px; }
.est-not-cips .chip { flex: 0 0 auto; max-width: 100%; white-space: normal; text-align: left; line-height: 1.35; }

/* Tek kalem gösterimi (20.07.2026) */
.est-tek-kutu { margin: 14px 0 4px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg, #f7f9f8); }
.est-tek-kutu .check-row { margin: 0; }
.est-tek-aciklama { margin: 5px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }
.est-tek-kutu .two-col { margin-top: 10px; }
.est-tek-kutu .two-col[hidden] { display: none; }
.est-tek-uyari { margin-top: 10px; padding: 9px 11px; border-radius: 10px; background: rgba(217,131,36,.12); color: #a8681a; font-size: 12.5px; font-weight: 600; line-height: 1.4; }

/* Onay kaynağı + bekleme rozeti (20.07.2026) */
.teklif-rozet.bekliyor { background:rgba(90,120,180,.14); color:#41618f; }
.teklif-onay { margin-top:8px; padding:8px 10px; border-radius:9px; font-size:12px; font-weight:600; line-height:1.4; }
.teklif-onay.musteri { background:rgba(31,157,99,.12); color:#1a7a52; }
.teklif-onay.usta { background:var(--bg,#f1f4f2); color:var(--muted); border:1px dashed var(--line); }
.teklif-onay.ret { background:#fbeae8; color:#a3382f; }
[data-theme="dark"] .teklif-onay.ret { background:#3d2523; color:#f0a99f; }
.teklif-btn.ikincil { background:transparent; border-color:transparent; color:var(--muted); font-weight:500; text-decoration:underline; padding:8px 6px; }

/* Müşteriye gönder + indirim talebi (20.07.2026) */
.teklif-btn.gonder { background:#e8f2ee; border-color:#a8d0c1; color:#1a7a52; font-weight:700; }
.teklif-indirim { margin-top:8px; padding:8px 10px; border-radius:9px; background:rgba(217,131,36,.12); color:#a8681a; font-size:12px; font-weight:600; line-height:1.4; }

/* Teklif → iş bağı rozeti (20.07.2026) */
.teklif-isbagi { display:inline-flex; align-items:center; padding:8px 12px; border-radius:10px; background:rgba(31,157,99,.12); color:#1a7a52; font-size:12.5px; font-weight:700; cursor:pointer; }

/* Seçilebilir çalışma zamanı çipleri (20.07.2026) */
.est-slots-alt { font-size: 11.5px; color: var(--muted); margin-bottom: 7px; line-height: 1.4; }
button.est-slot { cursor: pointer; font-family: inherit; }
.est-slot.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
/* Zaman ekle / uygun zamanlar butonları + elle zaman formu (10.08.2026) */
.est-slots-btnrow { display: flex; gap: 8px; margin-top: 8px; }
.est-slots-btnrow .secondary { flex: 1 1 0; font-size: 12.5px; padding: 8px 6px; }
.est-slots-btnrow .est-sb-on { border-color: var(--primary); color: var(--primary); font-weight: 800; background: var(--surface); }
[data-theme="dark"] .est-slots-btnrow .est-sb-on { background: #17211d; }
.est-slot-elle { display: flex; gap: 7px; margin-top: 8px; align-items: center; }
.est-slot-elle input { flex: 1 1 0; min-width: 0; }
.est-slot-elle .primary { flex: 0 0 auto; padding: 8px 16px; }
.est-slots-row { margin-top: 8px; }

.teklif-onay { white-space: pre-line; } /* randevu satırı alt satıra insin */

/* ===== İŞ PLANI KARTI (20.07.2026) ===== */
.planKart { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px; margin-bottom:14px; }
.plan-bas { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; }
.plan-bas strong { display:block; font-size:14.5px; color:var(--ink); }
.plan-alt { font-size:12px; color:var(--muted); }
.plan-yuzde { font-size:15px; font-weight:800; color:var(--primary); white-space:nowrap; }
.plan-cubuk { height:5px; background:var(--bg,#e8ecea); border-radius:99px; margin:9px 0 14px; overflow:hidden; }
.plan-cubuk-dolu { height:100%; background:var(--primary); border-radius:99px; transition:width .3s; }

/* Keşif bedeli bandı — plan kartında bilgilendirme (21.07.2026) */
.plan-kesif-band { font-size:12.5px; line-height:1.45; color:var(--ink,#1a2b24); background:var(--primary-soft,#eef7f2); border:1px solid rgba(31,157,99,.28); border-radius:10px; padding:9px 11px; margin:0 0 14px; }
.plan-kesif-band b { color:var(--primary,#1a7a52); }

.plan-yol { position:relative; padding-left:32px; }
.plan-yol::before { content:""; position:absolute; left:12px; top:12px; bottom:12px; width:3px; background:var(--line); border-radius:2px; }
.plan-durak { position:relative; padding-bottom:16px; }
.plan-durak:last-child { padding-bottom:0; }
.plan-durak.tamam::before { content:""; position:absolute; left:-20px; top:14px; width:3px; height:calc(100% - 2px); background:var(--primary); }
.plan-durak:last-child::before { display:none; }
.plan-nokta { position:absolute; left:-32px; top:-2px; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; border:3px solid var(--surface); background:#e3e8e4; color:#9aa8a0; }
.plan-durak.tamam .plan-nokta { background:var(--primary); color:#fff; }
.plan-durak.simdi .plan-nokta { background:#fff; color:var(--primary); box-shadow:0 0 0 2.5px var(--primary); font-weight:800; }
.plan-durak.bekliyor .plan-nokta { background:#fdf3dd; color:#a8681a; box-shadow:0 0 0 2.5px #e8cf8f; }
.plan-durak.ret .plan-nokta { background:#fcebeb; color:#c0392b; box-shadow:0 0 0 2.5px #f0caca; }

.plan-ad { display:flex; align-items:center; gap:7px; flex-wrap:wrap; font-size:14px; font-weight:700; color:var(--ink); }
.plan-durak.sonra .plan-ad { color:#96a49c; font-weight:600; }
.plan-rozet { font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:20px; }
.plan-rozet.tamam { background:rgba(31,157,99,.14); color:#1a7a52; }
.plan-rozet.simdi { background:var(--primary); color:#fff; }
.plan-rozet.bekliyor { background:#fdf3dd; color:#8a6413; }
.plan-rozet.ret { background:#fcebeb; color:#c0392b; }
.plan-detay { font-size:12.5px; color:var(--muted); margin-top:2px; }
.plan-eylem { display:flex; gap:8px; flex-wrap:wrap; margin-top:8px; }
.plan-btn { border:0; border-radius:10px; padding:9px 14px; font-size:13px; font-weight:700; font-family:inherit; cursor:pointer; background:var(--primary); color:#fff; }
.plan-btn.ikincil { background:var(--surface); border:1px solid var(--line); color:var(--ink); font-weight:600; }
.plan-bekle-not { margin-top:6px; padding:8px 10px; border-radius:9px; background:#fdf3dd; color:#8a6413; font-size:12px; font-weight:600; line-height:1.4; }
/* İş süresi seçici — iş adımında (22.07.2026) */
.plan-sure { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:2px 0 8px; }
.plan-sure-lbl { font-size:12px; font-weight:700; color:var(--muted); margin-right:2px; }
.plan-sure-cip { border:1px solid var(--line); background:var(--surface); color:var(--ink); border-radius:999px; padding:5px 12px; font-size:12px; font-weight:600; font-family:inherit; cursor:pointer; }
.plan-sure-cip.on { background:var(--primary); border-color:var(--primary); color:#fff; }
.plan-sure-say { width:64px; border:1px solid var(--line); border-radius:9px; padding:5px 8px; font-size:13px; font-weight:700; font-family:inherit; text-align:center; color:var(--ink); background:var(--surface); }

/* ===== Liste satırı iş planı özeti — F tasarımı (20.07.2026) ===== */
.entity-row:has(.rl-plan) { grid-template-columns: 1fr auto; }
/* Numara varsa (has-no) plan çubuklu kartta da 3 sütun kalsın (07.08.2026) */
.entity-row.has-no:has(.rl-plan) { grid-template-columns: auto 1fr auto; }
.entity-row .record-pending-pay { grid-column: 1 / -1; }
.rl-plan { grid-column: 1 / -1; margin-top: 10px; padding-top: 10px; border-top: 1px solid #eef1ec; }
.rl-simdi { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rl-simdi strong { font-size: 15px; font-weight: 800; color: var(--primary); }
.rl-simdi.bekle strong { color: #a8681a; }
.rl-simdi.bitti { color: #1a7a52; font-size: 14px; font-weight: 700; }
.rl-not { font-size: 13px; font-weight: 700; color: #a8681a; }
/* adımlı çubuk */
.rl-seg { display: flex; align-items: flex-start; margin-top: 10px; }
.rl-adim { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; }
.rl-adim::before { content: ""; position: absolute; top: 8px; left: -50%; width: 100%; height: 3px; background: #e3e8e4; z-index: 0; }
.rl-adim:first-child::before { display: none; }
.rl-adim.tamam::before, .rl-adim.simdi::before { background: var(--primary); }
.rl-adim i { width: 17px; height: 17px; border-radius: 50%; background: #e3e8e4; display: flex; align-items: center; justify-content: center; font-size: 9px; color: #9aa8a0; z-index: 1; font-style: normal; flex-shrink: 0; }
.rl-adim.tamam i { background: var(--primary); color: #fff; }
.rl-adim.simdi i { background: #fff; color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.rl-adim.bekliyor i { background: #fff; color: #a8681a; box-shadow: 0 0 0 2px #d98324; }
.rl-adim.ret i { background: #fff; color: #c0392b; box-shadow: 0 0 0 2px #c0392b; }
.rl-adim b { font-size: 8.5px; font-weight: 600; color: #9aa8a0; text-align: center; line-height: 1.05; max-width: 40px; }
.rl-adim.tamam b { color: var(--muted); }
.rl-adim.simdi b { color: var(--primary); font-weight: 800; }
.rl-adim.bekliyor b { color: #a8681a; font-weight: 800; }

/* Başlık logo + slogan lockup (ChatGPT tasarım dili) */
.app-lockup { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.app-lockup .logo-mark { display:grid; place-items:center; width:42px; height:42px; flex:0 0 auto; border-radius:12px; background:#fff; color:var(--primary); box-shadow:0 8px 18px rgba(9,41,34,.22); }
.app-lockup .logo-mark svg { width:30px; height:30px; }
.app-brandcol { min-width:0; display:flex; flex-direction:column; gap:2px; }
.app-brandcol .eyebrow { margin:0; }
.app-kicker { font-size:11.5px; line-height:1.2; color:rgba(255,255,255,.82); }
/* Marka adı ("İşlerim") — daha BÜYÜK, KALIN, dekoratif wordmark (06.08.2026, kullanıcı) */
#appEyebrow { margin:0; font-size:21px; font-weight:900; color:#fff; letter-spacing:.015em; text-shadow:0 1px 2px rgba(0,0,0,.20); }

/* Tutarlı hover: tüm ana kutular üzerine gelince yeşil çerçeve + ışıltı (Kenan 25.07) */
.h2-metric, .h2-stat, .h2-tile, .sirada-kart, .h2-wrow {
  transition: border-color .15s ease, box-shadow .15s ease;
}
.h2-metric:hover, .h2-metric:focus-visible, .h2-metric:active,
.h2-stat:hover, .h2-stat:focus-visible, .h2-stat:active,
.h2-tile:hover, .h2-tile:focus-visible, .h2-tile:active,
.sirada-kart:hover, .sirada-kart:focus-visible, .sirada-kart:active,
.h2-wrow:hover, .h2-wrow:focus-visible, .h2-wrow:active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.1);
  outline: none;
}

/* Aksiyon butonu (İşi bitir / Yola çıktım / İşi yap) hover — tıklanabilir his (Kenan 25.07) */
.sirada-btn { transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.sirada-btn:hover, .sirada-btn:focus-visible {
  border-color: var(--primary);
  background: #d8ece3;
  box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.12);
  outline: none;
}
[data-theme="dark"] .sirada-btn:hover, [data-theme="dark"] .sirada-btn:focus-visible {
  border-color: var(--primary-dark);
  background: #2c3a32;
}

/* Genel buton hover — tıklanabilir his her yerde (Kenan 25.07) */
.icon-button { transition: background .15s ease, transform .1s ease; cursor: pointer; }
.icon-button:hover, .icon-button:focus-visible { background: rgba(255,255,255,.32); outline: none; }
.icon-button:active { transform: scale(.93); }

.h2-newjob { transition: background .15s ease, box-shadow .15s ease, transform .1s ease; }
.h2-newjob:hover, .h2-newjob:focus-visible { background: var(--primary-dark); box-shadow: 0 6px 18px rgba(35,107,91,.28); outline: none; }
.h2-newjob:active { transform: translateY(1px); }

.bn-tab { transition: color .15s ease, transform .1s ease; }
.bn-tab:hover, .bn-tab:focus-visible { color: var(--primary); outline: none; }
.bn-tab:active { transform: scale(.95); }

.h2-link:hover, .h2-link:focus-visible,
.sirada-more:hover, .sirada-more:focus-visible { text-decoration: underline; outline: none; }

/* ================= TÜM SAYFALAR: tutarlı tıklanabilir hover (Kenan 25.07) ================= */
/* 1) Evrensel buton: üzerine gelince/odakta yeşil ışıltı halkası, basınca hafif koyulaşma */
button:not(:disabled) { transition: box-shadow .15s ease, background .15s ease, border-color .15s ease, filter .12s ease; }
button:not(:disabled):hover, button:not(:disabled):focus-visible {
  box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.14);
  outline: none;
}
button:not(:disabled):active { filter: brightness(0.95); }

/* 2) Kart/satır/panel tipi (div) tıklanabilirler: yeşil çerçeve + ışıltı */
.maintenance-row, .mtn-task, .cust-usta-row, .picker-row, .cp-row,
.cr-contact, .color-card, .value-panel, .wh-day, .op-thumb, .arch-is-bas, .clickable-card {
  transition: border-color .15s ease, box-shadow .15s ease;
}
.maintenance-row:hover, .maintenance-row:focus-visible,
.mtn-task:hover, .mtn-task:focus-visible,
.cust-usta-row:hover, .cust-usta-row:focus-visible,
.picker-row:hover, .picker-row:focus-visible,
.cp-row:hover, .cp-row:focus-visible,
.cr-contact:hover, .cr-contact:focus-visible,
.color-card:hover, .color-card:focus-visible,
.value-panel:hover, .value-panel:focus-visible,
.wh-day:hover, .wh-day:focus-visible,
.op-thumb:hover, .op-thumb:focus-visible,
.arch-is-bas:hover, .arch-is-bas:focus-visible,
.clickable-card:hover, .clickable-card:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(35, 107, 91, 0.1);
  outline: none;
}

/* Başlık altı AI çubuğu (Kenan 25.07) */
.ai-bar { display:flex; align-items:center; gap:12px; width:100%; margin:0 0 14px; padding:12px 14px; background:var(--surface); border:1px solid var(--line); border-radius:14px; cursor:pointer; box-shadow:var(--shadow); text-align:left; }
.ai-bar-ic { width:36px; height:36px; border-radius:10px; background:var(--primary); color:#fff; display:grid; place-items:center; font-size:20px; flex:none; }
.ai-bar-txt { flex:1; min-width:0; display:flex; flex-direction:column; }
.ai-bar-txt b { font-size:15px; font-weight:700; color:var(--ink); line-height:1.2; }
.ai-bar-txt small { font-size:11.5px; color:var(--muted); }
.ai-bar-arrow { color:var(--primary); font-size:22px; flex:none; }

/* Header mockup uyarlaması (Kenan 25.07): yuvarlak-kare çizgi ikon butonlar + meslek pill'i */
.top-actions .icon-button {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.20);
  color: #fff;
}
.top-actions .icon-button svg { width: 22px; height: 22px; }
.sub-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 9px; padding: 6px 14px 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); max-width: 100%;
}
.sub-pill .topbar-sub { margin: 0; color: #fff; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub-pill-ic { display: inline-flex; flex: none; }
.sub-pill:has(.topbar-sub:empty) { display: none; }

/* Profil foto konumlandırma (Kenan 25.07) */
.pl-preview.has-img { cursor: grab; touch-action: none; width: 82px; height: 82px; }
.pl-preview.has-img:active { cursor: grabbing; }
.pl-hint { display: block; margin-top: 5px; font-size: 11px; color: var(--muted); }

/* Anasayfa bölüm gizle/göster toggle (Kenan 25.07) */
.sec-toggle { background: none; border: 1px solid var(--line); color: var(--muted); font-size: 11.5px; font-weight: 700; cursor: pointer; padding: 3px 10px; border-radius: 999px; }
.sec-toggle:hover { border-color: var(--primary); color: var(--primary); }
.h2-sec-actions { display: inline-flex; align-items: center; gap: 8px; }
.sirada-bas .sec-toggle { margin-left: auto; }

/* Kaşe modal + imza/kaşe önizleme ölçüleri (Kenan 25.07) */
#profileLogoPreview.has-img { width: 82px; height: 82px; }
.pl-preview.ik-prev, .pl-preview.ik-prev.has-img { width: 124px; height: 70px; cursor: default; touch-action: auto; background-size: contain; background-repeat: no-repeat; background-position: center; }
.kase-modal { position: fixed; inset: 0; z-index: 200; background: rgba(15,30,25,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.kase-modal[hidden] { display: none; }
.kase-panel { background: var(--surface); border-radius: 16px; padding: 18px; width: min(460px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }
.kase-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.kase-head h3 { margin: 0; font-size: 17px; color: var(--ink); }
.kase-close { background: none; border: 0; font-size: 20px; cursor: pointer; color: var(--muted); }
.kase-panel label { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--ink); }
.kase-panel input, .kase-panel textarea { width: 100%; margin-top: 4px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; font: inherit; box-sizing: border-box; background: var(--surface); color: var(--ink); }
.kase-row { display: flex; gap: 10px; }
.kase-row label { flex: 1; min-width: 0; }
.kase-onizleme { margin: 12px 0; padding: 10px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; background: #fff; }
.kase-onizleme img { max-width: 100%; height: auto; }
.kase-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.kase-actions button { padding: 10px 18px; border-radius: 10px; font-weight: 700; cursor: pointer; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.kase-actions .primary { background: var(--primary); color: #fff; border-color: var(--primary); }

/* İŞLEM GEÇMİŞİ (07.08.2026) — İş Hareket Dökümü'nde "kim / ne zaman" listesi. */
.islem-gecmisi { display: flex; flex-direction: column; gap: 4px; margin: 4px 0 10px; }
.islem-satir {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--surface-2, #f7f7f8);
}
.islem-satir .islem-eylem { font-weight: 600; font-size: 13.5px; }
.islem-satir .islem-kim { font-size: 12px; color: var(--muted, #777); white-space: nowrap; text-align: right; }

/* TEKLİF SATIRLARI (09.08.2026, kullanıcı): TEKLİFLER SARI (randevular mavi kalır → karışmaz).
   Tür, başlıktaki emoji + ad ile ayrılır (🟣 İş Fırsatları · 🔵 Keşif · 🟢 İş Teklifi). */
.fis-teklifler { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.fis-teklif { border-color: #e6c65a; background: #fdf6df; }
.fis-teklif .fis-rnd-head { background: #f2c94c; color: #5a4708; }
.fis-teklif .fis-rnd-title { color: #5a4708; }
.fis-teklif .fis-rnd-edit { color: #7a6410; }
.fis-teklif .fis-rnd-body { background: #fdf8e6; }

/* SALT-OKUNUR TEKLİF DETAYI (09.08.2026) — İş Formu teklif satırına tıklayınca. */
.teklif-detay-liste { display: flex; flex-direction: column; margin: 8px 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.teklif-detay-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 11px; font-size: 13px; border-top: 1px solid rgba(128,128,128,.1); }
.teklif-detay-liste .teklif-detay-row:first-child { border-top: none; }
.teklif-detay-row.alt { opacity: .8; font-size: 12px; padding-left: 22px; }
.teklif-detay-row .td-ad { flex: 1; }
.teklif-detay-top { margin: 4px 0 2px; }
.teklif-detay-top .teklif-detay-row { border-top: none; }
.teklif-detay-row.genel { font-size: 15px; font-weight: 800; border-top: 2px solid rgba(128,128,128,.28); padding-top: 9px; margin-top: 2px; }

/* ============================================================
   KOMPAKT YOĞUNLUK (10.08.2026, kullanıcı) — satır ve buton
   yükseklikleri düşürüldü, fazla boşluklar kırpıldı; ardışık
   öğeler arasında standart 8px aralık. En sonda tanımlı ki
   aynı özgüllükteki eski kuralları ezip tek yerden yönetilsin.
   ============================================================ */
body { line-height: 1.4; }
main { padding: 13px; }
.has-bottom-nav main { padding-bottom: 84px; }

/* Butonlar — dokunma hedefi korunur ama daha kısa */
.primary, .secondary, .danger { min-height: 40px; padding: 8px 12px; }

/* Form alanları */
input, textarea, select { min-height: 40px; padding: 8px 11px; }
textarea { min-height: 60px; }
fieldset { padding: 13px; gap: 10px; }
.service-form { gap: 10px; }

/* Liste satırları (Kayıtlar / Randevular) + ardışık öğe aralığı */
.entity-row { min-height: 50px; padding: 9px 13px; }
.appointment-row { min-height: 50px; padding: 9px 13px; }
.record-list, .appointment-list { gap: 8px; }
.sirada-kart { padding: 10px 12px; }
.cust-doc { padding: 10px 13px; margin-bottom: 8px; }
.cust-detail-card { padding: 13px; margin-bottom: 10px; }

/* Ana sayfa — bölümler arası ritim sıkılaştı */
.h2-metrics { margin-bottom: 8px; }
.h2-newjob { padding: 11px; margin-top: 10px; }
.h2-status { margin-top: 8px; }
.h2-sec-head { margin: 12px 2px 6px; }
.h2-sec-title { margin: 12px 2px 6px; }
.h2-tile { padding: 11px 6px; }
.home-cta { padding: 13px 15px; margin: 0 0 12px; }

/* Boş durum kutuları çok yer kaplıyordu */
.empty-state { padding: 22px 18px; }
.empty-state .empty-cta { margin-top: 10px; }

/* TAŞMA DÜZELTMELERİ (11.08.2026, kullanıcı: "teklif/keşif sayfasında taşmalar var")
   1) .page-bar negatif kenar boşluğu ESKİ main padding'ine (16px) göreydi; main 13px olunca
      her iki yandan 3'er px taştı → yeni dolguyla eşitlendi.
   2) .fault-tabs sekmeleri flex nowrap + min-width:auto olduğu için sığmayınca (3×114+14=356 >
      312) tüm sayfayı geniyordu → daralabilir + gerekirse alt satıra sarar. */
.page-bar { margin: -13px -13px 12px; }
.fault-tabs { flex-wrap: wrap; }
.fault-tab { min-width: 0; padding: 8px 6px; font-size: 12.5px; }
/* 3) ASIL NEDEN: .backup-panel bir GRID. Grid sütunu varsayılan olarak içeriğe göre büyür
      (auto track + min-width:auto) → içindeki en geniş öğe tüm paneli viewport dışına taşıyordu.
      minmax(0,1fr) sütunu kapsayıcıya kilitler; öğeler artık sarar/daralır. */
.view, .backup-panel { min-width: 0; max-width: 100%; }
.backup-panel { grid-template-columns: minmax(0, 1fr); overflow-wrap: anywhere; }
.backup-panel > * { min-width: 0; }
/* 4) Aynı sorun label'larda: label{display:grid} + auto sütun → uzun seçenek/etiket metni
      (ör. "İş Teklifi — yerinde gördüm, kesinleşti") sütunu şişirip içeriği dışarı taşırıyordu.
      Uygulamadaki 182 grid label'ın hiçbiri çok sütunlu değil → tek sütunu kilitlemek güvenli. */
label { grid-template-columns: minmax(0, 1fr); }
fieldset { grid-template-columns: minmax(0, 1fr); }

/* ============================================================
   KEŞİF / TEKLİF AKIŞI — tasarım uygulaması (11.08.2026, kullanıcı mockup'ı)
   Konsept renkler korunur: yeşil --primary (#236b5b) + turuncu --accent.
   ============================================================ */
.est-ust-alt { margin: -6px 0 12px; font-size: 12.5px; color: var(--muted); }

/* Adım çubuğu: numaralı daireler + bağlantı çizgisi */
.est-steps { display: flex; align-items: flex-start; gap: 0; margin: 0 0 14px; }
.est-step { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; border: none; background: none; cursor: pointer; }
.est-step-no {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--line); color: var(--muted); transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.est-step-ad { font-size: 11px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.est-step.tamam .est-step-no { background: var(--primary); color: #fff; }
.est-step.tamam .est-step-ad { color: var(--primary); }
.est-step.aktif .est-step-no { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(35, 107, 91, .16); }
.est-step.aktif .est-step-ad { color: var(--primary); font-weight: 800; }
.est-step-line { flex: 1 1 auto; height: 2px; margin-top: 14px; background: var(--line); border-radius: 2px; }
.est-step-line.gecildi { background: var(--primary); }
[data-theme="dark"] .est-step-no { background: #3a4a44; color: #9fb3aa; }

/* Segment sekmeler (Teklif · Şablon · Teklifler) */
.est-seg { gap: 0; padding: 3px; border-radius: 11px; background: var(--bg); border: 1px solid var(--line); }
.est-seg .fault-tab { border: none; background: transparent; border-radius: 9px; color: var(--muted); font-weight: 700; }
.est-seg .fault-tab.on { background: var(--primary); color: #fff; box-shadow: 0 1px 4px rgba(20, 35, 30, .16); }

/* Adım kartı */
.est-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px; margin-bottom: 10px; box-shadow: 0 2px 8px rgba(20, 35, 30, .04); }
.est-card > .est-adim-baslik { margin: 0 0 10px; font-size: 15.5px; font-weight: 800; color: var(--ink); }
[data-theme="dark"] .est-card > .est-adim-baslik { color: #e8efe9; }
.est-ai-btn { background: var(--primary); color: #fff; }

/* Özet adımı eylem butonları */
.est-act { width: 100%; min-height: 42px; border-radius: 11px; font-size: 14px; font-weight: 700; cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.est-act-ana { background: var(--primary); color: #fff; margin-top: 10px; }
.est-act-ana:active { background: var(--primary-dark); }
.est-act-kabul { background: #1f9d63; color: #fff; margin-top: 8px; }
.est-act-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.est-act-ikincil { background: var(--surface); border-color: var(--line); color: var(--ink); font-weight: 600; }
.est-act-pdf { background: var(--primary-dark); color: #fff; }
[data-theme="dark"] .est-act-ikincil { background: #2a332e; color: #e8efe9; }

/* Teklif notları katlanır satırlarına ok (mockup: sağda ›) */
.est-not-acilir .ena-ok { font-size: 13px; }

/* Mockup: Birim|Miktar, Maliyet|Kâr, Fiyatlarımdan|Stoktan YAN YANA kalsın.
   (Genel kural 460px altında .two-col'u tek sütuna düşürüyordu; id ile eziyoruz.) */
#estimateView .two-col { grid-template-columns: 1fr 1fr; gap: 8px; }
/* "+ Kaleme ekle" tam genişlik, yeşil çerçeveli (mockup) */
#estAddLine { width: 100%; margin-top: 8px; background: transparent; border: 1px solid var(--primary); color: var(--primary); font-weight: 700; }
/* Kaynak seçiciler dar ekranda tek satıra sığsın */
#estPickPrice, #estPickStock { font-size: 12.5px; padding: 8px 6px; }
/* Yan yana alanlarda biri ipucu satırı taşıyınca kutular kayıyordu → kutular alta hizalı */
#estFazFiyat .two-col > label { display: flex; flex-direction: column; }
#estFazFiyat .two-col > label > input { margin-top: auto; }
/* "Teklif müşteriye nasıl görünsün?" ve "Ne teklifi?" seçenekleri TAM okunsun (11.08.2026, kullanıcı).
   DİKKAT: bu select'ler `.pro-select`e dönüştürülüyor → görünen metin `.pro-select-label` (15px idi,
   uzun seçenek kesiliyordu). Gerçek <select> gizli olduğu için ona punto vermek işe yaramaz. */
.est-tek-kutu .pro-select-btn,
#estTurWrap .pro-select-btn { font-size: 12px; padding: 9px; min-height: 40px; gap: 6px; }
.est-tek-kutu .pro-select-opt,
#estTurWrap .pro-select-opt { font-size: 12px; }
/* Dar telefonlarda (360px vb.) tek satıra sığmazsa üç nokta ile kesme — alt satıra sar, TAM görünsün */
.est-tek-kutu .pro-select-label,
#estTurWrap .pro-select-label { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.3; }
.est-tek-kutu { padding: 10px 11px; }
/* Görüntüdeki düzen: kâr/iskonto altındaki küçük ipucu satırları kalksın → 4 kutu hizalı */
#estFazFiyat .locked-hint { display: none; }
/* Kart içi ara başlıklar (Teklif notları vb.) kart diliyle aynı olsun */
.est-card .stock-form-title { margin: 12px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; }
[data-theme="dark"] .est-card .stock-form-title { color: #e8efe9; }

/* ============================================================
   AI KAPALI (11.08.2026, kullanıcı kararı): AI her iki kullanım modunda da arayüzden
   kaldırıldı. MOTOR KODDA DURUYOR — geri açmak için ilgili satırı silmek yeter.
   Not (kullanıcı): ileride yalnız "AI ile kalem çıkar" premium olarak geri açılabilir
   → o zaman SADECE #estAiBtn satırını sil.
   ============================================================ */
#aiFab { display: none !important; }                         /* üst bar AI Asistan */
#aiPopup { display: none !important; }                       /* AI sohbet penceresi */
#recordVoiceFill { display: none !important; }               /* İş Formu "Söyle, AI doldursun" */
#stockVoiceFill { display: none !important; }                /* Stok "Söyle, AI doldursun" */
#estAiBtn { display: none !important; }                      /* Teklif "AI ile kalem çıkar" (premium adayı) */
.home-menu-item[data-view="aiLogs"] { display: none !important; } /* Ayarlar → AI Kayıtları */

/* ============================================================
   BASİT KULLANIM MODU (11.08.2026, kullanıcı kararı — Aşama 1)
   body.mod-basit sınıfı kullanimModuUygula() ile atanır (localStorage: servis-kullanim-modu).
   İlke: veri ve motor AYNI — yalnız ekran sadeleşir. Modüller (Stok/Fırsatlar/Hesaplamalar/
   Bakım/Ekip) her iki modda da AÇIK kalır.
   ============================================================ */
/* İş Formu: tek ekranda yalnız temel alanlar — sarmalanmış gelişmiş bloklar gizli */
body.mod-basit .basit-gizle { display: none !important; }
body.mod-basit #serviceForm fieldset:nth-of-type(2) { display: none !important; }  /* Cihaz */
body.mod-basit #serviceForm fieldset:nth-of-type(7) { display: none !important; }  /* Malzeme/Parça */
body.mod-basit #serviceForm fieldset:nth-of-type(9) { display: none !important; }  /* Garanti */
body.mod-basit #randevuTuruWrap { display: none !important; }   /* randevu türü — hep "İş" */
body.mod-basit #kesifUcretiWrap, body.mod-basit #kesifUcretiHint { display: none !important; }
body.mod-basit #isSureWrap { display: none !important; }        /* tahmini süre — sorulmaz */
/* Saha moduna özgü ek bölümler de basitte gizli (meslek saha olsa bile) */
body.mod-basit #mahalAlanlari,
body.mod-basit #isciligAlanlari,
body.mod-basit #isGuvenceAlanlari { display: none !important; }

/* Aşama 2: kayıt detayında "İş Aşamaları" sekmesi basitte gizli (aşama kartları detaylının işi) */
body.mod-basit .dtab[data-pane="hareket"] { display: none !important; }

/* Aşama 2b: SADE RAPOR — basitte yalnız özet sayılar (fin-kpis) + iş durumu + PDF.
   Seviye anahtarı, ciro grafiği, kârlılık ve içgörü kartları gizli. */
body.mod-basit #reportView .fin-level { display: none !important; }
body.mod-basit #reportView .fin-card { display: none !important; }
body.mod-basit #reportInsights,
body.mod-basit #reportDetail { display: none !important; }

/* Aşama 3: FİYAT VER — basitte 4 adımlı teklif yerine tek tutarlı mini form */
#estBasitPane { display: none; }
body.mod-basit #estBasitPane { display: block; }
body.mod-basit #estMusteriPane,
body.mod-basit #estKalemPane,
body.mod-basit #estSteps { display: none !important; }
body.mod-basit #estimateTabs [data-est-tab="oto"],
body.mod-basit #estimateOtoPane { display: none !important; }
/* "🧾 Kalem kalem hazırla" (12.08.2026): basit modda BU teklif için detaylı akışı geçici aç */
body.mod-basit.kalemli-gecici #estBasitPane { display: none !important; }
body.mod-basit.kalemli-gecici #estKalemPane,
body.mod-basit.kalemli-gecici #estSteps { display: block !important; }
body.mod-basit.kalemli-gecici #estSteps { display: flex !important; }

/* Basit iş kartı — durum + para + İşi bitir / Ödeme al */
.basit-is-karti { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px; display: grid; gap: 9px; }
.bik-durum { font-size: 15px; font-weight: 800; }
.bik-durum.devam { color: var(--accent, #ec8329); }
.bik-durum.bitti { color: #1f9d63; }
.bik-satir { font-size: 12.5px; color: var(--muted); }
.bik-para { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
.bik-para-kutu { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 7px 8px; display: grid; gap: 1px; }
.bik-para-kutu span { font-size: 10.5px; color: var(--muted); }
.bik-para-kutu strong { font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.bik-para-kutu.kalan { border-color: #e0b455; background: #fdf6e8; }
.bik-para-kutu.kalan strong { color: #8a5a0b; }
[data-theme="dark"] .bik-para-kutu.kalan { background: #3a3320; }
.bik-btn { width: 100%; min-height: 42px; border-radius: 11px; font-size: 14.5px; font-weight: 700; border: none; cursor: pointer; }
.bik-btn.bitir { background: var(--primary); color: #fff; }
.bik-btn.ode { background: #fdf2e0; color: #8a4b06; border: 1px solid #e0912f; }
[data-theme="dark"] .bik-btn.ode { background: #3a2d1a; color: #f0c48a; }
.basit-ipucu { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); line-height: 1.4; }

/* ============================================================
   AÇILIŞ ANİMASYONU (12.08.2026, kullanıcı seçimi) — not defteri sahnesi:
   kelimeler sırayla yazılır–kaybolur → onay tiki → İşlerim. index.html'deki
   #acilisSplash + inline script ile çalışır; ~3 sn sonra kendini kaldırır.
   ============================================================ */
/* Zemin BEYAZ (12.08.2026, kullanıcı): native açılış beyazından sıçramasız geçiş — yeşil zemin kaldırıldı. */
#acilisSplash {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
  background: #ffffff;
  opacity: 1; transition: opacity .5s ease;
}
#acilisSplash.spl-kapat { opacity: 0; pointer-events: none; }
/* 15.09.2026: uygulama geç hazırlanırsa perdede "Yükleniyor…" */
.spl-bekle { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13.5px; font-weight: 600; color: #4d5c55; animation: splYukari .35s ease-out both; }
.spl-don { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(35, 107, 91, .22); border-top-color: #236b5b; animation: splDon .75s linear infinite; }
@keyframes splDon { to { transform: rotate(360deg); } }
.spl-orta { display: flex; flex-direction: column; align-items: center; }
/* Beyaz zeminde kart gölge + ince çerçeveyle ayrışır */
.spl-kart { animation: splPop .6s cubic-bezier(.34,1.56,.64,1) both; filter: drop-shadow(0 12px 26px rgba(20, 35, 30, .18)); }
.spl-kart rect:first-of-type { stroke: #e2ebe6; stroke-width: 1; }
@keyframes splPop { from { transform: scale(.55); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.spl-cizgi { transform-origin: 22px 0; transform: scaleX(0); }
/* Tempo yavaşlatıldı (12.08.2026, kullanıcı: "çok hızlı geçiyor") */
.spl-cizgi.c1 { animation: splCiz .5s ease-out .60s both; }
.spl-cizgi.c2 { animation: splCiz .5s ease-out .95s both; }
.spl-cizgi.c3 { animation: splCiz .5s ease-out 1.30s both; }
@keyframes splCiz { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.spl-tikdaire { transform-origin: 66px 66px; transform: scale(0); animation: splDaire .5s cubic-bezier(.34,1.7,.64,1) 1.75s both; }
@keyframes splDaire { from { transform: scale(0); } to { transform: scale(1); } }
.spl-tik { stroke-dasharray: 100; stroke-dashoffset: 100; animation: splTik .45s ease-out 2.15s both; }
@keyframes splTik { to { stroke-dashoffset: 0; } }
.spl-ad { margin: 18px 0 0; font-size: 26px; font-weight: 800; color: #174a3f; letter-spacing: .5px; opacity: 0; animation: splYukari .55s ease-out 1.0s both; }
.spl-alt { margin: 6px 0 0; font-size: 12.5px; color: #66766f; opacity: 0; animation: splYukari .55s ease-out 1.45s both; }
@keyframes splYukari { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
/* Hareket azaltılmışsa: animasyonsuz sade kart (her şey dolu görünür); script 0.9 sn'de kapatır */
@media (prefers-reduced-motion: reduce) {
  .spl-kart, .spl-cizgi, .spl-tikdaire, .spl-tik, .spl-ad, .spl-alt { animation: none !important; }
  .spl-kart, .spl-ad, .spl-alt { opacity: 1; transform: none; }
  .spl-cizgi { transform: scaleX(1); }
  .spl-tikdaire { transform: scale(1); }
  .spl-tik { stroke-dashoffset: 0; }
}

/* 4. adım — girilen keşif bilgilerinin özeti (11.08.2026). Satıra dokun → ilgili adıma git. */
.est-ozet-bilgi { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 10px; background: var(--surface); }
.eob-bas { padding: 8px 11px; background: var(--primary-soft, #eef7f2); color: var(--primary); font-size: 12.5px; font-weight: 800; border-bottom: 1px solid var(--line); }
[data-theme="dark"] .eob-bas { background: #22302b; color: #9fd8bf; }
.eob-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 7px 11px; border: none; border-top: 1px solid rgba(128,128,128,.12); background: transparent; text-align: left; font: inherit; color: inherit; }
.est-ozet-bilgi .eob-row:first-of-type { border-top: none; }
.eob-row.tiklanir { cursor: pointer; }
.eob-row.tiklanir:active { background: var(--bg); }
.eob-k { flex: 0 0 auto; font-size: 12px; color: var(--muted); }
.eob-v { flex: 1 1 auto; min-width: 0; text-align: right; font-size: 12.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-theme="dark"] .eob-v { color: #e8efe9; }
.eob-row.eksik .eob-v { color: var(--accent, #ec8329); font-weight: 700; }
.eob-kalemler { padding: 2px 11px 8px; background: var(--bg); border-top: 1px solid rgba(128,128,128,.12); }
[data-theme="dark"] .eob-kalemler { background: #202a26; }
.eob-kalem { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 3px 0; }
.eob-kad { flex: 1 1 auto; min-width: 0; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eob-ktut { flex: 0 0 auto; font-size: 12px; color: var(--ink); font-variant-numeric: tabular-nums; }
[data-theme="dark"] .eob-ktut { color: #e8efe9; }

/* Adım çubuğu geri gitmeyi üstlendi → ayrı "‹ Geri" bağlantısı gereksiz (mockup'ta da yok) */
#estKalemGeri { display: none; }
#estKalemMusteriOzet { margin: 0 0 10px; font-size: 12.5px; color: var(--muted); }
/* Devam butonu kartın eylemi gibi dursun */
#estFazDevam { margin-top: 0 !important; border-radius: 11px; min-height: 44px; font-size: 15px; }

/* Fiyatlarım — tek satırlık kalemler (10.08.2026): dokan → düzenle, ✕ → sil */
.fy-row { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.fy-row + .fy-row { margin-top: 6px; }
.fy-ad { flex: 1 1 auto; min-width: 0; font-size: 13.5px; font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fy-fiyat { flex: 0 0 auto; font-size: 13px; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.fy-sil { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; border: none; background: #f7e5e2; color: var(--danger); font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] .fy-sil { background: #3d2523; }
.fy-bekliyor { border-color: #e0b455; background: #fdf6e8; }
[data-theme="dark"] .fy-bekliyor { background: #3a3320; }
.fy-stok .fy-fiyat { color: var(--muted); }

/* ============================================================
   KULLANICILAR & EKİP — KART TASARIMI (13.08.2026, kullanıcı mockup'ı)
   ============================================================ */
.ek-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 13px; margin-bottom: 10px; }
.ek-ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ek-ust-txt { display: grid; gap: 3px; min-width: 0; }
.ek-ust-txt strong { font-size: 15.5px; font-weight: 800; color: var(--ink); }
[data-theme="dark"] .ek-ust-txt strong { color: #e8efe9; }
.ek-ust-txt small { font-size: 12px; color: var(--muted); line-height: 1.45; }
.ek-ust-ik { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-soft, #eef7f2); display: inline-flex; align-items: center; justify-content: center; font-size: 21px; }
[data-theme="dark"] .ek-ust-ik { background: #22302b; }
.ek-ana-btn { background: var(--primary); color: #fff; font-weight: 800; }
.ek-lbl { margin: 14px 0 4px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
[data-theme="dark"] .ek-lbl { color: #e8efe9; }
.ek-aciklama { margin: 0 0 8px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.ek-katil { border-top: 1px solid rgba(128,128,128,.14); margin-top: 12px; padding-top: 4px; }
.ek-bilgi-satir { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg); color: var(--muted); font-size: 12.5px; font-weight: 600; cursor: pointer; }
[data-theme="dark"] .ek-bilgi-satir { background: #202a26; }

/* ============================================================
   AYARLAR — KATEGORİLİ TASARIM (13.08.2026, kullanıcı mockup'ı)
   Üstte profil özet kartı, altında gruplanmış kart listeleri.
   ============================================================ */
.ay-profil-kart { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 13px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; }
.ayp-ava { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft, #eef7f2) center/cover no-repeat; color: var(--primary); font-size: 17px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] .ayp-ava { background: #22302b; color: #9fd8bf; }
.ayp-bilgi { display: grid; gap: 1px; min-width: 0; }
.ayp-bilgi strong { font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-theme="dark"] .ayp-bilgi strong { color: #e8efe9; }
.ayp-bilgi small { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ayp-git { margin-top: 3px; font-size: 12px; font-weight: 700; color: var(--primary); }

.ay-grup-lbl { margin: 14px 0 6px 2px; font-size: 12px; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .5px; }
.ay-cikis-lbl { color: var(--danger); }
.home-menu.ay-grup { margin: 0; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.home-menu.ay-grup .home-menu-item { margin: 0; border: none; border-radius: 0; border-top: 1px solid rgba(128,128,128,.12); background: transparent; }
.home-menu.ay-grup .home-menu-item:first-child { border-top: none; }

/* ============================================================
   PROFİL — KART TABANLI TASARIM (13.08.2026, kullanıcı mockup'ı)
   Ana ekran: özet + istatistik + Hızlı Bilgiler + Kısayollar. Detaylar alt sayfalarda:
   dokun → düzenle → kaydet → çık. Yeşil = güven, turuncu = aksiyon.
   ============================================================ */
/* Başlık: büyük foto + kamera rozeti + hesap rozetleri */
.ps-av-wrap { position: relative; flex: 0 0 auto; padding: 0; border: none; background: none; cursor: pointer; }
.ps-av-wrap .ps-av { display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--primary-soft, #eef7f2) center/cover no-repeat; color: var(--primary); font-size: 20px; font-weight: 800; }
[data-theme="dark"] .ps-av-wrap .ps-av { background: #22302b; color: #9fd8bf; }
.ps-av-cam { position: absolute; right: -2px; bottom: -2px; width: 23px; height: 23px; border-radius: 50%; background: var(--accent, #ec8329); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.22); }
.ps-rozetler { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.ps-hesap-rozet { font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
.ps-hesap-rozet.onayli { background: #e1f5ee; color: #0f6e56; border-color: #b7e3d3; }
.ps-hesap-rozet.bekliyor { background: #fdf2e0; color: #8a4b06; border-color: #eccfa6; }
[data-theme="dark"] .ps-hesap-rozet { background: #202a26; }
[data-theme="dark"] .ps-hesap-rozet.onayli { background: #1c3b32; color: #9fd8bf; }

/* Üst istatistik şeridi */
.ps-istat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0 4px; }
.psi-kutu { display: grid; justify-items: center; gap: 1px; padding: 9px 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; }
[data-theme="dark"] .psi-kutu { background: #202a26; }
.psi-ik { font-size: 15px; line-height: 1; }
.psi-v { font-size: 15px; font-weight: 800; color: var(--primary); font-variant-numeric: tabular-nums; }
.psi-l { font-size: 9.5px; color: var(--muted); text-align: center; line-height: 1.2; }

.ps-bolum-lbl { margin: 14px 0 6px; font-size: 12.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }

/* Hızlı Bilgiler satırları — tıklanabilir, sağda rozet + › */
.ps-row.tiklanir { display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; border: none; border-top: 1px solid rgba(128,128,128,.12); background: transparent; font: inherit; color: inherit; padding: 10px 2px; cursor: pointer; }
.ps-row.tiklanir:first-of-type { border-top: none; }
.ps-row.tiklanir:active { background: var(--bg); }
.ps-row-sol { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.ps-row-sol .k { font-size: 11.5px; color: var(--muted); }
.ps-row-sol .v { font-size: 13.5px; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-theme="dark"] .ps-row-sol .v { color: #e8efe9; }
.ps-rozet { flex: 0 0 auto; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.ps-rozet.r-ok { background: #e1f5ee; color: #0f6e56; }
.ps-rozet.r-uyari { background: #fdf2e0; color: #8a4b06; }
.ps-rozet.r-notr { background: var(--bg); color: var(--muted); border: 1px solid var(--line); }
[data-theme="dark"] .ps-rozet.r-ok { background: #1c3b32; color: #9fd8bf; }
[data-theme="dark"] .ps-rozet.r-uyari { background: #3a2d1a; color: #f0c48a; }
.ps-ok { flex: 0 0 auto; color: var(--muted); font-size: 16px; }

/* Kısayol ızgarası (4×2) */
.ps-kisayol-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 13px 13px; margin-top: 10px; }
.ps-kisayollar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ps-ks { display: grid; justify-items: center; gap: 5px; padding: 11px 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
[data-theme="dark"] .ps-ks { background: #202a26; }
.ps-ks:active { border-color: var(--primary); }
.ps-ks-ik { font-size: 19px; line-height: 1; }
.ps-ks-ad { font-size: 10px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.2; }
[data-theme="dark"] .ps-ks-ad { color: #e8efe9; }

/* Alt sayfa başlığı */
#pfAltBaslik { font-size: 16.5px; font-weight: 800; color: var(--primary-dark); margin: 0 0 10px; }
[data-theme="dark"] #pfAltBaslik { color: #9fd8bf; }

/* ============================================================
   KULLANIM MODU (13.08.2026, kullanıcı): ana sayfa rozeti + Ayarlar seçim kartları.
   İç değerler basit/detayli AYNI; görünen adlar "Hızlı İş Modu" / "Detaylı İş Modu".
   ============================================================ */
/* İkon satırının HEMEN ALTINDA, sağa yaslı — ikonlarla aynı sütunda, üstüne binmez.
   KART GÖRÜNÜMÜ (13.08.2026 mockup): üstte küçük "Çalışma modu", altında kalın mod adı + ⌄ */
.top-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.top-icons { display: flex; align-items: center; gap: 8px; }
/* GENİŞLİK = iki ikon kutusu + aralık (44+44+8 = 96px) — kullanıcı isteği (13.08.2026).
   Sağdan sola tam iki ikon boyunca uzanır; metin bu genişliğe göre ölçeklendi. */
.mod-rozet {
  flex: 0 0 auto; width: 96px; margin: 0; padding: 6px 8px;
  display: grid; gap: 1px; text-align: left; box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.28); border-radius: 13px;
  background: rgba(255,255,255,.10); color: #fff; cursor: pointer;
}
.mr-lbl { font-size: 8.5px; font-weight: 600; color: rgba(255,255,255,.7); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mr-deg { display: flex; align-items: center; justify-content: space-between; gap: 3px; font-size: 11.5px; font-weight: 800; white-space: nowrap; line-height: 1.15; }
.mr-ok { flex: 0 0 auto; font-size: 11px; color: rgba(255,255,255,.75); }
.mod-rozet.hizli { border-color: rgba(255,255,255,.45); background: rgba(236,131,41,.22); }
.mod-rozet.hizli .mr-deg { color: #ffd9b0; }
.mod-rozet:active { transform: scale(.98); }
/* YALNIZ ANA SAYFADA (13.08.2026, kullanıcı): diğer sayfalarda üst bar zaten daralıyor,
   rozet oraya sıkışıp sayfayı küçük gösteriyordu. */
.app-shell:not(.home-view) .mod-rozet { display: none !important; }

/* Ayarlar → Uygulama Kullanım Şekli: iki büyük seçim kartı */
.mod-kart { display: grid; gap: 5px; width: 100%; text-align: left; margin-top: 10px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); cursor: pointer; }
.mod-kart.secili { border-color: var(--primary); background: var(--primary-soft, #eef7f2); }
[data-theme="dark"] .mod-kart.secili { background: #22302b; }
.mk-ust { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mk-ad { font-size: 16px; font-weight: 800; color: var(--ink); }
[data-theme="dark"] .mk-ad { color: #e8efe9; }
.mk-tik { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; background: var(--line); color: transparent; }
.mod-kart.secili .mk-tik { background: var(--primary); color: #fff; }
.mk-alt { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.mk-liste { font-size: 11.5px; color: var(--primary); font-weight: 600; }

/* ============================================================
   USTA VİTRİN PROFİLİ (12.08.2026, kullanıcı) — müşteri teklif kartında ustaya dokun:
   foto + ad + rozet + meslek + bölge + yıldızlar + son yorumlar. Telefon/adres KAPALI.
   ============================================================ */
.uv-ac { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1 1 auto; padding: 0; border: none; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.uv-mini-ava { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--primary-soft, #eef7f2) center/cover no-repeat; color: var(--primary); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
[data-theme="dark"] .uv-mini-ava { background: #22302b; color: #9fd8bf; }
.uv-ac:active .uv-mini-ava { box-shadow: 0 0 0 3px rgba(35, 107, 91, .16); }
.uv-modal { max-width: 360px; }
.uv-ust { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px; }
.uv-ava { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; background: var(--primary-soft, #eef7f2) center/cover no-repeat; color: var(--primary); font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
[data-theme="dark"] .uv-ava { background: #22302b; color: #9fd8bf; }
.uv-bilgi { min-width: 0; display: grid; gap: 3px; }
.uv-sat { font-size: 12.5px; color: var(--muted); }
.uv-yorumlar { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; display: grid; gap: 8px; }
.uv-puan { font-size: 14px; font-weight: 800; color: var(--accent, #ec8329); letter-spacing: 1px; }
.uv-yorum { background: var(--bg); border-radius: 10px; padding: 8px 10px; }
[data-theme="dark"] .uv-yorum { background: #202a26; }
.uv-yorum-star { font-size: 12px; color: var(--accent, #ec8329); letter-spacing: 1px; }
.uv-yorum-metin { margin: 3px 0 0; font-size: 12.5px; color: var(--ink); line-height: 1.4; }
[data-theme="dark"] .uv-yorum-metin { color: #e8efe9; }
.cu-vitrin { font-size: 12.5px; color: var(--muted); }

/* DOKUNMALI KARELER (12.08.2026, kullanıcı): profil fotoğrafı / imza / kaşe — kareye dokun.
   Boş kare "dokun" daveti verir; dolu karede uzun bas → seçenek penceresi. */
.pl-preview.dokunmali { cursor: pointer; position: relative; transition: border-color .15s ease, box-shadow .15s ease; }
.pl-preview.dokunmali:not(.has-img) { border: 2px dashed var(--primary); background: var(--primary-soft, #eef7f2); }
[data-theme="dark"] .pl-preview.dokunmali:not(.has-img) { background: #22302b; }
.pl-preview.dokunmali:active { box-shadow: 0 0 0 4px rgba(35, 107, 91, .14); }
.pl-preview.dokunmali:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(35, 107, 91, .22); }
/* Dolu karede küçük kalem rozeti — "değiştirilebilir" ipucu */
.pl-preview.dokunmali.has-img::after {
  content: "✎"; position: absolute; right: -4px; bottom: -4px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent, #ec8329); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
/* Seçenek penceresi satırları */
.dk-secenek { width: 100%; text-align: left; padding: 13px 14px; margin-top: 6px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); color: var(--ink); font-size: 14.5px; font-weight: 600; cursor: pointer; }
.dk-secenek:active { background: var(--bg); }
.dk-secenek.tehlike { color: var(--danger); border-color: #e8c4c0; }
[data-theme="dark"] .dk-secenek { background: #2a332e; color: #e8efe9; }

/* Katlanır alan başlığı (işçilik satırı vb.) */
.fold-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 700; cursor: pointer; }
.fold-toggle .fold-ok { color: var(--muted); font-size: 12px; }

/* Kaydet ve çık (11.08.2026) — mevcut kayıt düzenlemesinde TEK buton: kaydet + detaya dön */
.fw-save-exit { width: 100%; margin-top: 8px; background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 700; }
.fw-save-exit:active { background: var(--primary-dark); }

/* Ücret bölümünde DURUM dikkat çeksin (10.08.2026, kullanıcı) — turuncu vurgulu seçici */
#serviceForm fieldset select#status { background: #fdf2e0; border-color: #e0912f; color: #8a4b06; font-weight: 700; }
[data-theme="dark"] #serviceForm fieldset select#status { background: #3a2d1a; border-color: #e0912f; color: #f0c48a; }
/* Düzenlemede salt-okunur "Ödenen" — gri görünüm + tıklanabilir ipucu */
#serviceForm #paid[readonly] { background: #f1f4f2; color: var(--muted); cursor: pointer; }
[data-theme="dark"] #serviceForm #paid[readonly] { background: #2a332e; }

/* ==========================================================================
   GİRİŞ / İLK KURULUM EKRANI — kart tasarımı (14.08.2026, kullanıcı mockup'ı)
   Alanlar üç konu kartına bölündü: Hesap bilgileri · İş fırsatları ·
   Yedekleme ve güvenlik. Tüm id'ler ve submit akışı aynı kaldı.
   ========================================================================== */
.auth-screen { padding: 14px 12px 22px; align-items: start; }
.auth-card {
  width: min(468px, 100%);
  gap: 12px;
  padding: 16px 14px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fbfdfb 0%, var(--surface) 46%);
}
.auth-card h1 { margin: 2px 0 4px; font-size: 30px; line-height: 1.1; letter-spacing: -0.6px; }
.auth-card > .status-text { margin: 0; text-align: center; }

/* --- Başlık bölgesi: marka + adım göstergesi + tanıtım --- */
.auth-head { display: grid; gap: 10px; }
.auth-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: #eaf4ee; color: var(--primary-dark); }
.auth-mark svg { width: 24px; height: 24px; }
.auth-adim { display: grid; gap: 5px; justify-items: end; }
.auth-adim-lbl { font-size: 11.5px; font-weight: 700; color: var(--muted); letter-spacing: .2px; }
.auth-adim-bar { display: flex; gap: 5px; }
.auth-adim-bar i { width: 34px; height: 4px; border-radius: 3px; background: #dfe8e3; }
.auth-adim-bar i.dolu { background: var(--primary-dark); }

.auth-hero { display: flex; align-items: flex-start; gap: 8px; }
.auth-hero-txt { flex: 1 1 auto; min-width: 0; }
.auth-hero-txt p:last-child { margin: 0; font-size: 13.5px; }
.auth-gorsel { flex: 0 0 auto; width: 116px; margin-top: 2px; }
.auth-gorsel svg { width: 100%; height: auto; display: block; }
@media (max-width: 360px) { .auth-gorsel { width: 92px; } .auth-card h1 { font-size: 26px; } }

/* --- Konu kartları --- */
.auth-grup {
  display: grid; gap: 9px;
  padding: 13px 12px;
  border: 1px solid #e4ece8;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 10px rgba(20, 35, 30, .05);
}
.auth-grup > label { margin: 0; }
.ag-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 1px; }
.ag-ic { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #eaf4ee; color: var(--primary); }
.ag-ic svg { width: 21px; height: 21px; }
.ag-bas { min-width: 0; }
.ag-bas h2 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
.ag-bas p { margin: 1px 0 0; font-size: 12.5px; color: var(--muted); }

/* Bilgi kutusu (İş fırsatları açıklaması) */
.leads-note.bilgi-kutu { display: flex; align-items: flex-start; gap: 9px; margin: 0; padding: 11px 12px; border-radius: 13px; }
.bilgi-kutu .bk-ic { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; font-style: italic; }

/* Şifre alanı + göz düğmesi */
.sifre-alan .sa-kutu { position: relative; display: block; }
.sifre-alan .sa-kutu input { width: 100%; padding-right: 44px; }
.sa-goz { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: transparent; color: var(--muted); }
.sa-goz svg { width: 20px; height: 20px; }
.sa-goz:active { background: #eef3f0; }
.sa-goz.acik { color: var(--primary); }
.sa-goz.acik .sa-cizik { display: none; }

/* Gönder butonu */
.auth-gonder { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; border-radius: 14px; font-size: 16px; font-weight: 800; }
.auth-gonder .ag-tik { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); font-size: 12px; font-weight: 900; }

/* Koyu tema */
[data-theme="dark"] .auth-card { background: var(--surface); }
[data-theme="dark"] .auth-grup { border-color: #2c3a34; background: #1d2723; box-shadow: none; }
[data-theme="dark"] .auth-mark,
[data-theme="dark"] .ag-ic { background: #24332c; }
[data-theme="dark"] .auth-adim-bar i { background: #33413a; }
[data-theme="dark"] .auth-adim-bar i.dolu { background: #7fc0ae; }
/* Kurulumdaki uzun seçenek metinleri kesilmesin (mod seçimi) — pro-select etiketi sarsın */
#authForm .pro-select-btn { height: auto; min-height: 44px; padding-top: 9px; padding-bottom: 9px; }
#authForm .pro-select-label { white-space: normal; overflow: visible; text-overflow: clip; font-size: 14px; line-height: 1.32; }
/* Kurulumda geri düğmesi */
.auth-geri { display: inline-flex; align-items: center; gap: 6px; margin-left: -6px; padding: 6px 10px; border-radius: 11px; background: transparent; color: var(--primary-dark); font-size: 15px; font-weight: 700; }
.auth-geri span { font-size: 18px; line-height: 1; }
.auth-geri:active { background: #eaf4ee; }

/* --- Kurulum formu: canlı uyarı, şifre gücü, sabit gönder butonu (14.08.2026) --- */
.sifre-alan .sa-kutu .field-error { display: block; margin-top: 5px; }
.sifre-guc { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.sifre-guc[hidden] { display: none; }
.sg-cubuk { display: flex; gap: 4px; }
.sg-cubuk i { width: 28px; height: 4px; border-radius: 3px; background: #dfe8e3; }
.sg-yazi { font-size: 12px; font-weight: 700; color: var(--muted); }
.sifre-guc[data-seviye="1"] .sg-cubuk i:nth-child(1) { background: #d9534f; }
.sifre-guc[data-seviye="1"] .sg-yazi { color: #b8433c; }
.sifre-guc[data-seviye="2"] .sg-cubuk i:nth-child(-n+2) { background: #e0912f; }
.sifre-guc[data-seviye="2"] .sg-yazi { color: #a4671a; }
.sifre-guc[data-seviye="3"] .sg-cubuk i { background: var(--ready); }
.sifre-guc[data-seviye="3"] .sg-yazi { color: #257242; }

/* Gönder butonu uzun formda hep parmağın altında kalsın */
.auth-gonder { position: sticky; bottom: 8px; z-index: 3; box-shadow: 0 8px 22px rgba(20, 35, 30, .22); }

/* Ana sayfa çalışma modu kutusu: 3 ikon genişliği (44*3 + 8*2 = 148px) — "Detaylı Mod" sığsın */
.mod-rozet { width: 148px; padding: 6px 10px; }
.mr-lbl { font-size: 10px; }
.mr-deg { font-size: 13.5px; }
.mr-ok { font-size: 12px; }
/* Rozet 3 ikon eni olunca uzun isim/meslek yazısı altına girmesin (ana sayfa) */
.app-shell.home-view #greetingTitle { max-width: calc(100% - 158px); }
.app-shell.home-view .sub-pill { max-width: calc(100% - 158px); }
.app-shell.home-view .sub-pill .topbar-sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* DÜZELTME (14.08.2026): hata yazısı kutunun içine girince göz düğmesi aşağı kayıyordu
   (top:50% artık input+hata yüksekliğinin ortasıydı). Izgara ile göz her zaman
   input satırının ortasında durur, hata satırı altına düşer. */
.sifre-alan .sa-kutu { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.sifre-alan .sa-kutu > input { grid-row: 1; grid-column: 1; }
.sifre-alan .sa-goz { position: static; grid-row: 1; grid-column: 1; justify-self: end; align-self: center; transform: none; margin-right: 6px; z-index: 2; }

/* ==========================================================================
   İŞ FIRSATLARI — talep detayı / teklif ekranı / liste (14.08.2026 mockup)
   ========================================================================== */
/* Talep başlığı */
.tl-bas { display: grid; gap: 3px; padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid #eaf0ed; }
.tl-bas-ust { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.tl-bas-ad { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.tl-bas-alt { margin: 0; font-size: 12.5px; color: var(--muted); }

/* İkonlu bilgi satırları */
.tb-row { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid #f1f5f3; }
.tb-row:last-child { border-bottom: 0; }
.tb-ic { flex: 0 0 18px; font-size: 13px; line-height: 1.4; text-align: center; }
.tb-ad { flex: 1 1 auto; min-width: 0; font-size: 13px; color: var(--muted); }
.tb-deger { flex: 0 1 auto; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.tb-deger.acil { padding: 2px 9px; border-radius: 999px; background: #fdeaea; color: #b8433c; font-size: 12.5px; }

/* Müşteri bilgileri koruma kutusu */
.tl-koruma { display: flex; align-items: flex-start; gap: 10px; margin: 10px 0; padding: 12px; border: 1px solid #cfe6db; border-radius: 14px; background: #eef7f2; }
.tlk-ic { flex: 0 0 30px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 15px; }
.tl-koruma strong { display: block; font-size: 13.5px; color: var(--primary-dark); }
.tl-koruma p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; color: #40655a; }

/* Soru-Cevap sohbet satırları */
.tqa-row { display: flex; align-items: flex-start; gap: 9px; padding: 8px 0; border-bottom: 1px solid #f1f5f3; }
.tqa-row:last-child { border-bottom: 0; }
.tqa-ic { flex: 0 0 20px; font-size: 14px; }
.tqa-govde { flex: 1 1 auto; min-width: 0; }
.tqa-kim { display: block; font-size: 12px; font-weight: 800; color: var(--primary-dark); }
.tqa-metin { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--ink); }
.tqa-zaman { flex: 0 0 auto; font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Alt aksiyonlar: Keşfe aktar (ikincil) + Teklif ver (ana) */
.tl-cta { display: flex; gap: 10px; margin: 14px 0 6px; }
.tl-cta-ikincil, .tl-cta-ana { flex: 1 1 0; min-height: 48px; padding: 12px 10px; border-radius: 14px; font-size: 15px; font-weight: 800; }
.tl-cta-ikincil { border: 1.5px solid var(--primary); background: var(--surface); color: var(--primary-dark); }
.tl-cta-ana { width: 100%; border: 0; background: var(--primary-dark); color: #fff; box-shadow: 0 6px 16px rgba(23, 74, 63, .22); }
.tl-cta-ana:active { background: #123c33; }
.tl-bilgi-satir { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: var(--muted); }

/* Karakter sayacı */
.alan-sayac { display: block; margin-top: 3px; text-align: right; font-size: 11.5px; color: var(--muted); }

/* Liste kartında teklif özeti */
.tr-teklif { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; padding-top: 6px; border-top: 1px solid #eef2f0; }
.trt-tutar { font-size: 13.5px; font-weight: 800; color: var(--primary-dark); }
.trt-zaman { font-size: 11px; color: var(--muted); white-space: nowrap; }

/* Durum kartları (Bekleyen / Kabul / Kabul Edilmeyen) */
.lead-dkartlar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 10px; }
.lead-dkart { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border: 1.5px solid #e2eae6; border-radius: 14px; background: var(--surface); color: var(--ink); }
.ldk-ic { font-size: 15px; }
.ldk-lbl { font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.2; }
.ldk-cnt { font-size: 15px; font-weight: 800; }
.lead-dkart.on { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }
.lead-dkart.on.d-kabul { border-color: var(--ready); background: var(--ready); }
.lead-dkart.on.d-red { border-color: var(--danger); background: var(--danger); }

/* Hızlı filtre çipleri */
.lead-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 8px; }
.lead-cip { padding: 6px 11px; border: 1px solid #dfe8e3; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.lead-cip.on { border-color: var(--primary-dark); background: #eef7f2; color: var(--primary-dark); }

[data-theme="dark"] .tl-koruma { border-color: #2f4d43; background: #1c2a25; }
[data-theme="dark"] .tl-koruma p { color: #a9c6bc; }
[data-theme="dark"] .lead-dkart,
[data-theme="dark"] .lead-cip { border-color: #2c3a34; background: #1d2723; color: #d7e3de; }
[data-theme="dark"] .tb-row, [data-theme="dark"] .tqa-row { border-color: #26332e; }
/* Soru-Cevap kartı artık kendi kartında — amber dolgu yerine ince sol şerit (14.08.2026) */
.cust-detail-card > .duzeltme-sec { margin-top: 0; padding: 0 0 0 10px; border-left: 3px solid #e6b25c; border-radius: 0; background: transparent; }
[data-theme="dark"] .cust-detail-card > .duzeltme-sec { background: transparent; }
.cust-detail-card > .duzeltme-sec .cd-sec-h { color: var(--ink); }
/* Talep kartı başlığı kesilmesin — 2 satıra kadar sarsın (14.08.2026) */
.talep-row .cd-title-wrap { align-items: flex-start; }
.talep-row .cd-title-wrap strong { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
.trt-tutar { white-space: nowrap; }
.trt-zaman { font-size: 10.5px; }

/* ==========================================================================
   HAZIR KEŞİFLER — meslek modu tabanlı şablon yapısı (14.08.2026 mockup)
   ========================================================================== */
.sablon-mm { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 2px 0 6px; }
.smm-lbl { font-size: 12px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.smm-ayar { padding: 5px 10px; border: 1px solid #dfe8e3; border-radius: 999px; background: var(--surface); color: var(--primary-dark); font-size: 12px; font-weight: 700; }

.sablon-mcip { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.smc { padding: 7px 12px; border: 1px solid #dfe8e3; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.smc.birincil { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }
.smc.ikincil { border-color: var(--primary); background: #eef7f2; color: var(--primary-dark); }

.sablon-ara { margin-bottom: 8px; }
.sablon-ara input { width: 100%; }
.sablon-hf { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.shf { padding: 6px 11px; border: 1px solid #dfe8e3; border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12.5px; font-weight: 700; }
.shf.on { border-color: var(--accent); background: #fdf2e6; color: #8a4b06; }

.sablon-baslik { margin: 10px 0 7px; font-size: 12px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }

/* Şablon kartı: ikon + ad/açıklama + ⭐ · alt satırda Önizle | Kullan */
.sablon-kart { display: grid; gap: 9px; margin-bottom: 8px; padding: 11px 12px; border: 1px solid #e4ece8; border-radius: 15px; background: var(--surface); box-shadow: 0 2px 8px rgba(20,35,30,.045); }
.sk-ust { display: flex; align-items: flex-start; gap: 10px; }
.sk-ikon { flex: 0 0 36px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: #eaf4ee; font-size: 18px; }
.sk-main { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.sk-ad { font-size: 14.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.sk-alt { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.sk-fav { flex: 0 0 auto; padding: 0 2px; background: transparent; color: #c2cdc8; font-size: 19px; line-height: 1; }
.sk-fav.on { color: #e8a92c; }
.sk-eylem { display: flex; gap: 8px; }
.sk-onizle, .sk-kullan { flex: 1 1 0; min-height: 38px; border-radius: 11px; font-size: 13.5px; font-weight: 700; }
.sk-onizle { border: 1px solid #d7e3dd; background: var(--surface); color: var(--primary-dark); }
.sk-kullan { border: 0; background: var(--primary-dark); color: #fff; }

.sablon-diger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 6px 0 8px; padding: 11px 12px; border: 1px dashed #cfdcd6; border-radius: 14px; background: #f7faf8; text-align: left; }
.sd-lbl { display: grid; gap: 1px; }
.sd-lbl strong { font-size: 13.5px; color: var(--ink); }
.sd-lbl small { font-size: 12px; color: var(--muted); }
.sd-ok { font-size: 15px; color: var(--muted); }
.sablon-talep-btn { width: 100%; margin-top: 6px; padding: 12px; border: 1px dashed var(--primary); border-radius: 14px; background: var(--surface); color: var(--primary-dark); font-size: 13.5px; font-weight: 700; }

/* Önizleme ekranı */
.so-bas { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.so-ikon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #eaf4ee; font-size: 20px; }
.so-ad { flex: 1 1 auto; font-size: 17px; font-weight: 800; color: var(--ink); }
.so-desc { margin: 0 0 12px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.so-kart { margin-bottom: 12px; padding: 12px; border: 1px solid #e4ece8; border-radius: 15px; background: var(--surface); }
.so-kart-h { margin: 0 0 8px; font-size: 13.5px; font-weight: 800; color: var(--ink); }
.so-madde { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 6px; font-size: 13px; line-height: 1.4; color: var(--ink); }
.so-tik { flex: 0 0 auto; color: var(--ready); font-weight: 900; }
.so-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.so-cip { padding: 6px 10px; border: 1px solid #dfe8e3; border-radius: 10px; background: #f7faf8; font-size: 12.5px; font-weight: 600; color: var(--primary-dark); }
.so-girdi { margin: 0 0 6px; font-size: 12px; color: var(--muted); }
.so-not { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; background: #eef7f2; font-size: 12.5px; line-height: 1.45; color: var(--primary-dark); }
.so-satir { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #f1f5f3; }
.so-satir:last-child { border-bottom: 0; }
.so-s-ad { font-size: 13px; color: var(--muted); }
.so-s-deger { font-size: 13.5px; color: var(--ink); white-space: nowrap; }
.so-eylem { display: flex; gap: 10px; margin-top: 4px; }
.so-eylem > button { flex: 1 1 0; }

/* Meslek modu ayarı */
.sablon-anahtar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 11px 0; border-bottom: 1px solid #f1f5f3; font-size: 13.5px; }
.sablon-anahtar input { width: 20px; height: 20px; }
.sm-liste-satir { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid #f1f5f3; background: transparent; text-align: left; }
.sm-liste-satir:last-child { border-bottom: 0; }
.sml-ad { flex: 1 1 auto; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sml-ok { color: var(--muted); }

/* Yeni şablon talebi */
.sablon-oncelik { display: flex; gap: 8px; }
.so-oncelik-b { flex: 1 1 0; min-height: 40px; border: 1px solid #dfe8e3; border-radius: 11px; background: var(--surface); color: var(--muted); font-size: 13px; font-weight: 700; }
.so-oncelik-b.on { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }
.st-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f5f3; }
.st-satir:last-child { border-bottom: 0; }
.st-sol { display: grid; gap: 1px; }
.st-sol strong { font-size: 13.5px; color: var(--ink); }
.st-sol small { font-size: 11.5px; color: var(--muted); }
.st-rozet { padding: 4px 10px; border-radius: 999px; background: #fdf2e6; color: #8a4b06; font-size: 11.5px; font-weight: 800; }

[data-theme="dark"] .sablon-kart, [data-theme="dark"] .so-kart { border-color: #2c3a34; background: #1d2723; }
[data-theme="dark"] .sk-ikon, [data-theme="dark"] .so-ikon { background: #24332c; }
[data-theme="dark"] .smc, [data-theme="dark"] .shf, [data-theme="dark"] .so-cip,
[data-theme="dark"] .so-oncelik-b, [data-theme="dark"] .smm-ayar { border-color: #2c3a34; background: #1d2723; color: #d7e3de; }
[data-theme="dark"] .sablon-diger { border-color: #33413a; background: #1a231f; }
/* Hazır Keşif Şablonları — ekran başlığı + kaydırılabilir meslek çipleri (14.08.2026) */
.sablon-ekran-baslik { margin: 2px 0 2px; font-size: 18px; font-weight: 800; color: var(--ink); }
.sablon-ekran-alt { margin: 0 0 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.sablon-mcip { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.sablon-mcip::-webkit-scrollbar { display: none; }
.sablon-mcip .smc { flex: 0 0 auto; white-space: nowrap; }
#estOtoMeslek .sablon-mcip { flex-wrap: wrap; overflow: visible; }
.sk-eylem .sk-kullan { flex: 1 1 100%; }

/* Şablon formu: fiyatlı canlı özet + kart etiketleri + kendi şablonum (14.08.2026) */
.oto-ozet { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.oo-kutu { display: grid; gap: 1px; padding: 10px; border: 1px solid #dfe8e3; border-radius: 12px; background: var(--surface); }
.oo-bas { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.oo-ust { font-size: 12.5px; color: var(--ink); }
.oo-alt { font-size: 15px; font-weight: 800; color: var(--primary-dark); }
.calc-row.oto-satir { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; align-items: baseline; }
.oos-ad { font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.oos-miktar { font-size: 12px; color: var(--muted); white-space: nowrap; }
.oos-tutar { font-size: 12.5px; color: var(--primary-dark); white-space: nowrap; }
.oos-tutar.yok { color: #b8433c; font-weight: 600; font-size: 11.5px; }
.oto-toplam { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 8px; border-top: 2px solid #e2eae6; }
.oto-toplam span { font-size: 13px; font-weight: 700; color: var(--muted); }
.oto-toplam strong { font-size: 17px; font-weight: 800; color: var(--primary-dark); }

.sk-etiketler { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.sk-etiket { padding: 3px 8px; border-radius: 999px; background: #f1f5f3; color: var(--muted); font-size: 11px; font-weight: 700; }
.sk-etiket.grup { background: #eaf4ee; color: var(--primary-dark); }
.sablon-kart.kendi { border-color: #e6d3a8; background: #fffdf7; }
.sablon-talep-btn.ikincil { border-style: solid; border-color: #dfe8e3; color: var(--muted); font-weight: 600; }

.ks-satir { display: grid; grid-template-columns: minmax(0, 1fr) 62px 84px 32px; gap: 6px; align-items: center; margin-bottom: 7px; }
.ks-satir .intake-ctl, .ks-satir select { min-height: 40px; }
.ks-birim { padding: 0 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: inherit; font-size: 12.5px; }
.ks-sil { border: 0; background: transparent; color: var(--danger); font-size: 17px; }
[data-theme="dark"] .oo-kutu, [data-theme="dark"] .ks-birim { border-color: #2c3a34; background: #1d2723; color: #d7e3de; }
[data-theme="dark"] .sablon-kart.kendi { border-color: #4a4227; background: #23201a; }
[data-theme="dark"] .sk-etiket { background: #24332c; }

/* ── Hazır Keşif Şablonları üst bölümü v2 (14.08.2026): sade arama + filtre + meslek listesi ── */
.sablon-ara-satir { display: flex; gap: 8px; margin-bottom: 10px; }
.sablon-ara-input { flex: 1 1 auto; min-width: 0; }
.sablon-filtre-btn { flex: 0 0 44px; display: grid; place-items: center; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); }
.sablon-filtre-btn.acik { border-color: var(--primary-dark); background: #eef7f2; color: var(--primary-dark); }
.sablon-filtre-btn.aktif { border-color: var(--accent); color: var(--accent); }
.sablon-mm-label { display: block; margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .2px; text-transform: uppercase; color: var(--muted); }
.sablon-mm-sel { width: 100%; margin-top: 5px; min-height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 700; }

.sablon-filtre-panel { margin: 0 0 12px; padding: 12px; border: 1px solid #dfe8e3; border-radius: 15px; background: #f7faf8; }
.sfp-baslik { margin: 0 0 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }
.sfp-seg { display: flex; gap: 6px; margin-bottom: 12px; }
.sfp-seg-b { flex: 1 1 0; min-height: 38px; padding: 0 6px; border: 1px solid #dfe8e3; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 700; }
.sfp-seg-b.on { border-color: var(--primary-dark); background: var(--primary-dark); color: #fff; }
.sablon-filtre-panel .sablon-anahtar { padding: 10px 0; border-top: 1px solid #e6ece9; border-bottom: 0; font-size: 13px; }
.sfp-satir { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 0 2px; border: 0; border-top: 1px solid #e6ece9; background: transparent; color: var(--primary-dark); font-size: 13.5px; font-weight: 700; text-align: left; }
.sablon-aktif-filtre { margin: 0 0 10px; padding: 7px 12px; border: 1px solid var(--accent); border-radius: 999px; background: #fdf2e6; color: #8a4b06; font-size: 12.5px; font-weight: 700; }

/* Meslek ayarı: ikincil meslekler satır listesi */
.sm-secim-satir { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid #f1f5f3; background: transparent; text-align: left; }
.sm-secim-satir:last-child { border-bottom: 0; }
.sms-ikon { flex: 0 0 26px; font-size: 16px; text-align: center; }
.sms-ad { flex: 1 1 auto; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.sms-say { flex: 0 0 auto; font-size: 11.5px; color: var(--muted); }
.sms-tik { flex: 0 0 22px; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #d7e3dd; border-radius: 7px; color: #fff; font-size: 13px; font-weight: 900; }
.sm-secim-satir.on .sms-tik { border-color: var(--primary-dark); background: var(--primary-dark); }
.sm-secim-satir.on .sms-ad { color: var(--primary-dark); font-weight: 800; }

[data-theme="dark"] .sablon-filtre-btn, [data-theme="dark"] .sablon-mm-sel,
[data-theme="dark"] .sfp-seg-b { border-color: #2c3a34; background: #1d2723; color: #d7e3de; }
[data-theme="dark"] .sablon-filtre-panel { border-color: #2c3a34; background: #1a231f; }
.sablon-mm-label .field-hint { text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Konum butonları tek satırda: 🔎 Adresten · 🗺️ Haritadan · 📍 Buradayım (14.08.2026, kullanıcı) */
.loc-row.konum-3lu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.loc-row.konum-3lu .loc-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 54px; padding: 8px 4px; border-radius: 12px; line-height: 1.15; }
.loc-row.konum-3lu .lb-ik { font-size: 16px; line-height: 1; }
.loc-row.konum-3lu .lb-ad { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.loc-row.konum-3lu .loc-btn.loc-here { border-color: var(--accent); color: #8a4b06; background: #fdf6ee; }
.loc-row.konum-3lu .loc-status { grid-column: 1 / -1; margin-top: 2px; }
@media (max-width: 340px) { .loc-row.konum-3lu .lb-ad { font-size: 10.5px; } }
[data-theme="dark"] .loc-row.konum-3lu .loc-btn.loc-here { background: #2e2519; }

/* Randevu / iş türü seçimi: uzun cümleler kesilmesin — punto düşük, satır sarar (14.08.2026, kullanıcı)
   Not: seçenek metinleri MOD_TUR_SECENEK'ten gelir ve tüm çalışma modlarında uzundur. */
#randevuTuruWrap .pro-select-btn { min-height: 44px; padding: 9px 12px; gap: 8px; font-size: 12.5px; }
#randevuTuruWrap .pro-select-label { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.32; }
#randevuTuruWrap .pro-select-opt { padding: 10px 12px; font-size: 12.5px; line-height: 1.32; }
/* Pro ekranı deneme/kredi açıklamaları (14.08.2026) */
.pro-trial-note { margin: 10px 0 2px; padding: 10px 12px; border: 1px solid #cfe6db; border-radius: 12px; background: #eef7f2; color: var(--primary-dark); font-size: 12.5px; line-height: 1.45; }
.pro-trial-note.uyari { border-color: #e0b455; background: #fdf6ea; color: #8a4b06; }
/* 100 kredi — en avantajlı paket vurgusu (14.08.2026) */
.pro-kredi.en-avantajli { border-color: var(--accent); background: #fdf6ee; }
.pro-kredi.en-avantajli b { color: #8a4b06; }

/* ══════════════ İŞLERİM PRO SAYFASI v2 (14.08.2026 mockup) ══════════════ */
.pro-panel { padding-bottom: 18px; }
.pro-hero2 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding: 18px 16px; border-radius: 18px;
  background: linear-gradient(135deg, #14584a 0%, #1d7a63 55%, #14584a 100%); color: #fff; position: relative; overflow: hidden; }
.ph-tac { flex: 0 0 auto; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: rgba(255,255,255,.12); font-size: 26px; }
.ph-yazi { flex: 1 1 auto; min-width: 0; }
.ph-yazi strong { display: block; font-size: 17px; font-weight: 800; color: #ffd98a; }
.ph-yazi p { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,.92); }
.ph-yazi b { color: #ffd98a; }
.ph-kalkan { flex: 0 0 auto; font-size: 30px; opacity: .28; }

.pro-bolum-lbl { display: flex; align-items: center; gap: 7px; margin: 16px 0 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .4px; text-transform: uppercase; color: var(--primary-dark); }
.pro-bolum-alt { margin: -4px 0 10px; font-size: 12.5px; color: var(--muted); }

/* Plan satırı — radyo + ikon + ad + fiyat */
.pro-sec { display: flex; align-items: center; gap: 11px; width: 100%; margin-bottom: 9px; padding: 13px 13px;
  border: 1.5px solid #e2eae6; border-radius: 16px; background: var(--surface); text-align: left; }
.ps-radyo { flex: 0 0 auto; width: 21px; height: 21px; border: 2px solid #cfdcd6; border-radius: 50%; background: var(--surface); }
.pro-sec.secili { border-color: var(--primary); background: #f4faf7; box-shadow: 0 2px 12px rgba(35,107,91,.10); }
.pro-sec.secili .ps-radyo, .pro-kredi2.secili .ps-radyo { border-color: var(--primary); box-shadow: inset 0 0 0 4px var(--primary); }
.ps-ikon { flex: 0 0 auto; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px;
  background: #eaf4ee; font-size: 19px; }
.ps-orta { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.ps-orta strong { font-size: 15.5px; font-weight: 800; color: var(--ink); }
.ps-orta small { font-size: 12px; color: var(--muted); }
.ps-sag { flex: 0 0 auto; display: grid; justify-items: end; gap: 3px; }
.ps-rozet { padding: 3px 9px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .3px; }
.ps-fiyat { font-size: 17px; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }

/* Bilgi kutuları */
.pro-bilgi { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; padding: 12px;
  border: 1px solid #e2eae6; border-radius: 14px; background: #f7faf8; }
.pro-bilgi.yesil { border-color: #cfe6db; background: #eef7f2; }
.pro-bilgi.uyari { border-color: #e0b455; background: #fdf6ea; }
.pb-ic { flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: #dfeee6; color: var(--primary-dark); font-size: 13px; font-weight: 800; font-style: italic; }
.pro-bilgi.yesil .pb-ic { background: transparent; font-size: 17px; font-style: normal; }
.pb-yazi { flex: 1 1 auto; font-size: 12.5px; line-height: 1.5; color: var(--ink); }

/* Kredi kartları */
.pro-kredi-izgara { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.pro-kredi2 { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px 8px 11px;
  border: 1.5px solid #e2eae6; border-radius: 16px; background: var(--surface); }
.pro-kredi2 .ps-radyo { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; }
.pro-kredi2.secili { border-color: var(--primary); background: #f4faf7; }
.pk-ikon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #eaf4ee; font-size: 17px; }
.pro-kredi2 b { font-size: 21px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.pro-kredi2 small { font-size: 11.5px; color: var(--muted); }
.pk-fiyat { margin-top: 6px; padding: 5px 12px; border-radius: 9px; background: #f1f5f3; font-size: 13px; font-weight: 800; color: var(--primary-dark); }
.pro-kredi2.secili .pk-fiyat { background: #dff0e8; }
.pk-rozet { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 999px;
  background: var(--primary-dark); color: #fff; font-size: 9.5px; font-weight: 800; white-space: nowrap; }
.pro-kredi2.onerilen { border-color: var(--primary); }

/* Alt satın alma düğmesi */
.pro-cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px;
  margin-top: 16px; padding: 14px; border: 0; border-radius: 16px; background: var(--primary-dark); color: #fff;
  font-size: 16px; font-weight: 800; box-shadow: 0 8px 20px rgba(23,74,63,.24); }
.pro-cta:disabled { opacity: .55; box-shadow: none; }
.pc-ok { font-size: 18px; }

[data-theme="dark"] .pro-sec, [data-theme="dark"] .pro-kredi2 { border-color: #2c3a34; background: #1d2723; }
[data-theme="dark"] .pro-sec.secili, [data-theme="dark"] .pro-kredi2.secili { background: #1b2b25; }
[data-theme="dark"] .ps-ikon, [data-theme="dark"] .pk-ikon { background: #24332c; }
[data-theme="dark"] .pro-bilgi { border-color: #2c3a34; background: #1a231f; }

/* ══════════════════════════════════════════════════════════════════
   EKİP ÜCRETİ KARTI (16.08.2026, karar #136)
   Ekip başı çalışan başına aylık kredi öder; bu kart maliyeti ve
   sonraki kesintiyi tek bakışta gösterir.
   ══════════════════════════════════════════════════════════════════ */
.koltuk-kart {
  margin: 10px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.koltuk-kart .kk-ust { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.koltuk-kart .kk-ik {
  width: 34px; height: 34px; flex: 0 0 34px;
  display: grid; place-items: center;
  border-radius: 10px; font-size: 17px;
  background: color-mix(in srgb, var(--accent, #16a34a) 14%, transparent);
}
.koltuk-kart .kk-baslik { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.koltuk-kart .kk-baslik strong { font-size: 14px; }
.koltuk-kart .kk-baslik small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.koltuk-kart .kk-satirlar { display: flex; flex-direction: column; gap: 1px; }
.koltuk-kart .kk-satir {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 7px 0; font-size: 13px;
  border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.koltuk-kart .kk-satir:first-child { border-top: 0; }
.koltuk-kart .kk-satir span { color: var(--muted); }
.koltuk-kart .kk-satir b { font-variant-numeric: tabular-nums; font-weight: 600; }
.koltuk-kart .kk-uyari {
  margin: 9px 0 0; padding: 9px 10px; border-radius: 10px;
  font-size: 12px; line-height: 1.45;
}
.koltuk-kart .kk-uyari.turuncu { background: rgba(245, 158, 11, .13); color: #92400e; }
.koltuk-kart .kk-uyari.kirmizi { background: rgba(239, 68, 68, .13); color: #991b1b; }
.koltuk-kart .kk-btn { margin-top: 10px; }
[data-theme="dark"] .koltuk-kart .kk-uyari.turuncu { color: #fbbf24; }
[data-theme="dark"] .koltuk-kart .kk-uyari.kirmizi { color: #fca5a5; }

/* ══════════════════════════════════════════════════════════════════
   EKİP SAYFASI v2 (16.08.2026, kullanıcı mockup'ı)
   Koyu yeşil tanıtım başlığı + beyaz kartlar. Eski .ek-* sınıfları
   bırakıldı (başka ekranlarda kullanılıyor); burada .ek2-* kullanılır.
   ══════════════════════════════════════════════════════════════════ */
#usersView { padding-bottom: 8px; }

.ek2-hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 8px;
  margin: 4px 0 12px; padding: 18px 14px;
  border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #0c4632 0%, #0f5a3d 55%, #12694a 100%);
}
.ek2-hero-txt { flex: 1 1 auto; min-width: 0; }
.ek2-hero-txt h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.18; color: #fff; text-wrap: balance; }
.ek2-hero-txt p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.45; color: rgba(255,255,255,.82); }
.ek2-hero-cip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 13px; border-radius: 11px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16);
}
.ek2-hero-gorsel { flex: 0 0 auto; display: grid; place-items: center; }
.ek2-hero-gorsel svg { display: block; width: 118px; height: 101px; }
@media (max-width: 359px) { .ek2-hero-gorsel { display: none; } }

.ek2-kart {
  margin: 0 0 12px; padding: 13px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface);
}
.ek2-basrow { display: flex; align-items: center; gap: 11px; }
.ek2-ik {
  flex: 0 0 40px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
}
.ek2-ik.yesil { background: #0f5a3d; color: #fff; }
.ek2-bas-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ek2-bas-txt strong { font-size: 15px; }
.ek2-bas-txt small { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.ek2-say {
  flex: 0 0 auto; padding: 7px 11px; border-radius: 10px;
  font-size: 12px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, #0f5a3d 9%, transparent); color: #0f5a3d;
}
.ek2-lbl { margin: 12px 0 6px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }

.ek2-ana-btn, .ek2-katil-btn, .ek2-ekle-btn {
  width: 100%; margin-top: 11px; min-height: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 13px; font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
}
.ek2-ana-btn, .ek2-katil-btn { background: #0f4d36; color: #fff; }
.ek2-ana-btn:active, .ek2-katil-btn:active { background: #0b3d2c; }
.ek2-ekle-btn { background: transparent; color: #0f4d36; border-color: #0f5a3d; }
.ek2-ekle-btn:active { background: color-mix(in srgb, #0f5a3d 8%, transparent); }

/* Ekibe Hızlı Katıl — solda görsel şerit, sağda form */
.ek2-katil {
  display: flex; margin-top: 12px; overflow: hidden;
  border: 1px solid var(--line); border-radius: 14px;
}
.ek2-katil-sol {
  flex: 0 0 78px; display: grid; place-items: start center; padding-top: 16px;
  background: linear-gradient(150deg, #eaf6f0 0%, #d9efe4 100%);
}
.ek2-simsek {
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50%; background: #0f5a3d; color: #fff;
  box-shadow: 0 0 0 8px rgba(15,90,61,.09);
}
.ek2-katil-sag { flex: 1 1 auto; min-width: 0; padding: 13px; }
.ek2-katil-sag > strong { display: block; font-size: 16px; margin-bottom: 3px; }
.ek2-katil-sag > p { margin: 0 0 11px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ek2-kod-lbl { display: block; font-size: 12.5px; font-weight: 600; }
.ek2-kod-kutu { display: flex; align-items: stretch; gap: 7px; margin-top: 5px; }
.ek2-kod-kutu input { flex: 1 1 auto; min-width: 0; margin: 0; }
.ek2-kod-kutu button {
  flex: 0 0 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--surface); color: var(--muted); cursor: pointer;
}
.ek2-bilgi-satir {
  width: 100%; margin-top: 9px; min-height: 44px; padding: 0 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 0; border-radius: 12px; cursor: pointer; font-size: 13.5px; font-weight: 600;
  background: color-mix(in srgb, #0f5a3d 6%, transparent); color: var(--ink);
}
.ek2-bs-sol { display: inline-flex; align-items: center; gap: 8px; color: #0f5a3d; }
.ek2-bs-ok { color: var(--muted); transition: transform .18s ease; }
.ek2-bilgi-satir.acik .ek2-bs-ok { transform: rotate(180deg); }

/* Cihaz kullanıcısı satırları */
.ek2-liste { display: flex; flex-direction: column; gap: 7px; margin-top: 11px; }
.ek2-liste .user-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface);
}
.ek2-avatar {
  flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 50%; background: #0f4d36; color: #fff;
  font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
}
.ek2-kul-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ek2-kul-txt strong { font-size: 14px; }
.ek2-kul-txt span { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ek2-rol {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 9px; font-size: 11.5px; font-weight: 600;
  background: color-mix(in srgb, #0f5a3d 9%, transparent); color: #0f5a3d;
}
.ek2-rol.sade { background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted); }
.ek2-sil {
  flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer;
}
.ek2-sil:active { background: rgba(239,68,68,.12); color: #dc2626; }

[data-theme="dark"] .ek2-katil-sol { background: linear-gradient(150deg, #14352a 0%, #0f2b22 100%); }
[data-theme="dark"] .ek2-say, [data-theme="dark"] .ek2-rol { background: rgba(74,222,128,.14); color: #4ade80; }
[data-theme="dark"] .ek2-ekle-btn { color: #4ade80; border-color: rgba(74,222,128,.45); }
[data-theme="dark"] .ek2-bs-sol { color: #4ade80; }
.ek2-bilgi-panel {
  margin-top: 7px; padding: 11px 12px; border-radius: 12px;
  background: color-mix(in srgb, #0f5a3d 5%, transparent);
  border: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.5; color: var(--ink);
}
.ek2-bilgi-panel p { margin: 0 0 7px; }
.ek2-bilgi-panel ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.ek2-bilgi-not { margin: 8px 0 0 !important; padding-top: 8px; color: var(--muted);
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }

/* Ekip sayfası v2 — özgüllük düzeltmeleri (eski .user-list kuralları baskın geliyordu) */
.ek2-liste .user-row > .ek2-avatar {
  display: grid; place-items: center; line-height: 1;
  flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%;
  background: #0f4d36; color: #fff; font-size: 13.5px; font-weight: 700;
}
.ek2-liste .user-row > .ek2-rol { display: inline-flex; align-items: center; gap: 5px; }
.ek2-liste .user-row > .ek2-kul-txt { display: flex; flex-direction: column; gap: 1px; }
.ek2-liste .user-row > .ek2-kul-txt > span { display: block; }
.team-panel { padding-top: 10px; }

/* ══════════════════════════════════════════════════════════════════
   HAKKINDA SAYFASI v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.hk-hero {
  position: relative; overflow: hidden;
  margin: 4px 0 14px; padding: 18px 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #0c4632 0%, #0f5a3d 55%, #12694a 100%);
}
.hk-hero-desen { position: absolute; right: -8px; top: -4px; pointer-events: none; }
.hk-hero-ic { position: relative; display: flex; align-items: flex-start; gap: 13px; }
.hk-logo {
  flex: 0 0 62px; width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 16px; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
.hk-hero-txt { flex: 1 1 auto; min-width: 0; }
.hk-hero-txt h2 { margin: 0 0 7px; font-size: 26px; line-height: 1.1; color: #fff; }
.hk-ver {
  display: inline-block; margin-bottom: 9px; padding: 5px 11px; border-radius: 9px;
  font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.16);
}
.hk-hero-txt p { margin: 0; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.85); }

.hk-bolum, .hk-kart-bas {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 9px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; color: var(--muted);
}
.hk-bolum-ik {
  width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center;
  border-radius: 50%; background: #0f5a3d; color: #fff;
}
.hk-ozet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 14px; }
.hk-oz {
  padding: 12px 11px; border: 1px solid var(--line); border-radius: 15px;
  background: var(--surface); display: flex; flex-direction: column; gap: 4px;
}
.hk-oz-ik { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 4px; }
.hk-oz-ik.yesil { background: color-mix(in srgb, #0f5a3d 10%, transparent); color: #0f5a3d; }
.hk-oz-ik.turuncu { background: rgba(245,158,11,.14); color: #d97706; }
.hk-oz strong { font-size: 14px; }
.hk-oz small { font-size: 11.5px; line-height: 1.4; color: var(--muted); }

.hk-kart {
  margin: 0 0 14px; padding: 13px; border: 1px solid var(--line);
  border-radius: 16px; background: var(--surface);
}
.hk-satir {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 11px 0; font-size: 13.5px; text-align: left;
  border: 0; border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  background: transparent; color: inherit;
}
.hk-kart-bas + .hk-satir { border-top: 0; }
.hk-s-sol { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); }
.hk-satir b { font-weight: 600; text-align: right; }
.hk-satir.tiklanir { cursor: pointer; }
.hk-link { color: #0f5a3d; text-decoration: underline; text-underline-offset: 2px; }

.hk-tanit {
  display: flex; align-items: center; gap: 11px; margin: 0 0 14px; padding: 13px;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef7f2 0%, #e3f1ea 100%);
}
.hk-tanit-gorsel { flex: 0 0 auto; }
.hk-tanit-txt { flex: 1 1 auto; min-width: 0; }
.hk-tanit-txt strong { display: block; font-size: 15px; margin-bottom: 5px; color: #0b3d2c; }
.hk-tanit-txt p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: #2c4c40; }
.hk-rozetler { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.hk-rozetler span { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; color: #1d5d43; }

.hk-baglantilar { padding: 5px 13px; }
.hk-bag {
  width: 100%; min-height: 50px; display: flex; align-items: center; gap: 11px;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  font-size: 14px; text-align: left; color: inherit;
  border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.hk-bag:first-child { border-top: 0; }
.hk-bag-ik {
  flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 10px; background: color-mix(in srgb, #0f5a3d 9%, transparent); color: #0f5a3d;
}
.hk-bag-ad { flex: 1 1 auto; min-width: 0; }
.hk-bag-ok { flex: 0 0 auto; color: var(--muted); }

.hk-alt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 10px; }
.hk-alt .about-copy { margin: 0; font-size: 11.5px; line-height: 1.5; color: var(--muted); text-align: left; }
.hk-guncel {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 11px; border-radius: 11px; font-size: 11.5px; font-weight: 600;
  background: color-mix(in srgb, #0f5a3d 9%, transparent); color: #0f5a3d;
}
[data-theme="dark"] .hk-tanit { background: linear-gradient(135deg, #14352a 0%, #0f2b22 100%); border-color: rgba(255,255,255,.07); }
[data-theme="dark"] .hk-tanit-txt strong { color: #d7f0e2; }
[data-theme="dark"] .hk-tanit-txt p { color: #9dbfae; }
[data-theme="dark"] .hk-rozetler span { color: #7fcfa6; }
[data-theme="dark"] .hk-guncel, [data-theme="dark"] .hk-bag-ik { background: rgba(74,222,128,.13); color: #4ade80; }
[data-theme="dark"] .hk-link { color: #4ade80; }
/* Uzun sabit metinler (Kullanım Koşulları / KVKK) için kaydırılabilir pencere gövdesi */
.app-modal-msg.zengin {
  max-height: 58vh; overflow-y: auto; text-align: left;
  font-size: 13px; line-height: 1.55;
}
.app-modal-msg.zengin h4 { margin: 12px 0 4px; font-size: 13.5px; }
.app-modal-msg.zengin h4:first-child { margin-top: 0; }
.app-modal-msg.zengin p { margin: 0 0 8px; color: var(--muted); }
/* Destek e-postası uzun — satırı taşırmasın */
.hk-satir b { min-width: 0; overflow-wrap: anywhere; }
.hk-satir .hk-link { font-size: 12.5px; }

/* ══════════════════════════════════════════════════════════════════
   UYGULAMA KULLANIM ŞEKLİ v2 (16.08.2026, kullanıcı mockup'ı)
   Seçili kart yeşil çerçeve + dolu radyo ile belli olur (.secili sınıfı
   kullanimModuUygula() tarafından atanır — mantık değişmedi).
   ══════════════════════════════════════════════════════════════════ */
.km-bas {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 4px 0 14px; padding: 16px 14px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.km-bas-txt { flex: 1 1 auto; min-width: 0; }
.km-bas-txt h2 { margin: 0 0 9px; font-size: 21px; line-height: 1.2; text-wrap: balance; }
.km-cizgi { display: block; width: 42px; height: 4px; border-radius: 2px; background: #0f5a3d; margin-bottom: 11px; }
.km-bas-txt p { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.km-bas-txt p strong { color: var(--ink); }
.km-bas-gorsel { flex: 0 0 auto; }
.km-bas-gorsel svg { display: block; width: 96px; height: 88px; }
@media (max-width: 359px) { .km-bas-gorsel { display: none; } }

.km-kart {
  width: 100%; display: block; text-align: left; cursor: pointer;
  margin: 0 0 11px; padding: 14px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); color: inherit;
}
.km-kart.secili { border-color: #0f5a3d; background: color-mix(in srgb, #0f5a3d 5%, var(--surface)); }
.km-ust { display: flex; align-items: center; gap: 11px; }
.km-ik { flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; }
.km-ik.turuncu { background: rgba(245,158,11,.15); color: #d97706; }
.km-ik.yesil { background: #0f4d36; color: #fff; }
.km-ust-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.km-rozet {
  display: inline-block; padding: 3px 9px; border-radius: 7px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
}
.km-rozet.turuncu { background: rgba(245,158,11,.2); color: #92400e; }
.km-rozet.yesil { background: color-mix(in srgb, #0f5a3d 12%, transparent); color: #0f5a3d; }
.km-ad { font-size: 17px; font-weight: 700; }
.km-radyo {
  flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--muted) 45%, transparent); background: transparent;
  display: grid; place-items: center;
}
.km-kart.secili .km-radyo { border-color: #0f5a3d; background: #0f5a3d; }
.km-kart.secili .km-radyo::after {
  content: ""; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2.4px solid #fff; border-bottom: 2.4px solid #fff; transform: rotate(-45deg);
}
.km-alt { display: block; margin: 11px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.km-cipler {
  display: flex; flex-wrap: wrap; gap: 7px;
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.km-cip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px; border-radius: 10px; font-size: 12px;
  background: color-mix(in srgb, #0f5a3d 6%, transparent); color: var(--ink);
}
.km-cip::before {
  content: ""; width: 8px; height: 5px; flex: 0 0 auto; margin-top: -2px;
  border-left: 2px solid #0f5a3d; border-bottom: 2px solid #0f5a3d; transform: rotate(-45deg);
}
.km-not {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 3px 0 10px; padding: 12px;
  border: 1px solid var(--line); border-radius: 14px;
  background: color-mix(in srgb, #0f5a3d 5%, transparent);
}
.km-not-ik { flex: 0 0 auto; color: #0f5a3d; margin-top: 1px; }
.km-not .section-hint { margin: 0; font-size: 12.5px; line-height: 1.5; }
[data-theme="dark"] .km-rozet.yesil, [data-theme="dark"] .km-cip { background: rgba(74,222,128,.12); }
[data-theme="dark"] .km-rozet.yesil { color: #4ade80; }
[data-theme="dark"] .km-cip::before { border-color: #4ade80; }
[data-theme="dark"] .km-not-ik { color: #4ade80; }
[data-theme="dark"] .km-kart.secili { border-color: #4ade80; }
[data-theme="dark"] .km-kart.secili .km-radyo { border-color: #4ade80; background: #4ade80; }
[data-theme="dark"] .km-kart.secili .km-radyo::after { border-color: #0b3d2c; }

/* ══════════════════════════════════════════════════════════════════
   ÇALIŞMA SAATLERİM v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.cs-aciklama { margin: 4px 2px 12px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.cs-hero {
  position: relative; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 0 0 12px; padding: 14px; border-radius: 18px; color: #fff;
  background: linear-gradient(135deg, #0c4632 0%, #0f5a3d 55%, #12694a 100%);
}
.cs-hero-gorsel { flex: 0 0 auto; }
.cs-hero-txt { flex: 1 1 150px; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cs-hero-ust { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: rgba(255,255,255,.8); }
.cs-nokta { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: 0 0 8px; }
.cs-hero-durum { display: inline-flex; align-items: center; gap: 7px; font-size: 24px; line-height: 1.15; margin: 2px 0 4px; }
.cs-hero-ozet { font-size: 12.5px; color: rgba(255,255,255,.86); }
.cs-onizle {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 13px; border-radius: 11px; cursor: pointer;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.18);
}

.cs-kart {
  margin: 0 0 12px; padding: 13px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.cs-gunler { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.cs-gunler .wh-day {
  min-height: 62px; padding: 8px 2px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
  font-size: 12px; font-weight: 600; background: transparent; color: var(--muted);
}
.cs-gunler .wh-day::after {
  content: ""; width: 15px; height: 15px; border-radius: 50%;
  border: 1.8px solid color-mix(in srgb, var(--muted) 45%, transparent);
}
.cs-gunler .wh-day.on { background: #0f4d36; border-color: #0f4d36; color: #fff; }
.cs-gunler .wh-day.on::after {
  border-color: #fff; background: #fff;
  /* içine yeşil tik: küçük ölçekte en okunaklı yöntem maskesiz gradient yerine ok işareti */
  box-shadow: inset 0 0 0 1px #fff;
}
.cs-gunler .wh-day.on::after {
  content: "✓"; display: grid; place-items: center;
  color: #0f4d36; font-size: 10px; font-weight: 900; line-height: 1;
  border: 0; background: #fff;
}

.cs-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.cs-alan { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.cs-alan-lbl { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cs-alan-lbl svg { color: var(--muted); flex: 0 0 auto; }
.cs-alan-lbl small { flex: 1 1 100%; font-size: 11px; font-weight: 400; color: var(--muted); }
.cs-alan input, .cs-alan select { margin: 0; }
.cs-sure { margin-top: 11px; }
.cs-kaydet {
  width: 100%; margin-top: 12px; min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border: 0; border-radius: 13px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: #fff; background: #0f4d36;
}
.cs-kaydet:active { background: #0b3d2c; }
.cs-bilgi {
  display: flex; align-items: flex-start; gap: 8px;
  margin: 11px 0 0; padding: 10px 11px; border-radius: 11px;
  font-size: 11.5px; line-height: 1.45; color: var(--muted);
  background: color-mix(in srgb, #0f5a3d 5%, transparent);
}
.cs-bilgi svg { flex: 0 0 auto; margin-top: 1px; color: #0f5a3d; }

.cs-kart-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.cs-kb-sol { display: inline-flex; align-items: center; gap: 8px; color: #0f5a3d; }
.cs-kb-sol strong { font-size: 14.5px; color: var(--ink); }
.cs-tumu { border: 0; background: transparent; cursor: pointer; font-size: 12.5px; font-weight: 600; color: #0f5a3d; }
.cs-slotlar { display: flex; flex-wrap: wrap; gap: 7px; }
.cs-slotlar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.cs-slotlar .wh-slot-chip {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0; padding: 9px 8px; border-radius: 10px; font-size: 11.5px; white-space: nowrap;
  background: color-mix(in srgb, #0f5a3d 6%, transparent); color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 339px) { .cs-slotlar { grid-template-columns: 1fr; } }
.cs-slotlar .wh-slot-chip::before { content: "🕐"; font-size: 11px; }
#openMusaitlikBtn {
  display: flex; align-items: center; gap: 11px; text-align: left;
  min-height: 62px; padding: 12px !important; border-radius: 14px;
  background: linear-gradient(135deg, #eef7f2 0%, #e3f1ea 100%) !important;
  border: 1px solid var(--line) !important; color: #0b3d2c !important;
}
[data-theme="dark"] .cs-tumu, [data-theme="dark"] .cs-kb-sol, [data-theme="dark"] .cs-bilgi svg { color: #4ade80; }
[data-theme="dark"] .cs-slotlar .wh-slot-chip { background: rgba(74,222,128,.10); }
[data-theme="dark"] #openMusaitlikBtn { background: linear-gradient(135deg, #14352a 0%, #0f2b22 100%) !important; color: #d7f0e2 !important; }

/* ══════════════════════════════════════════════════════════════════
   MESLEK SEÇİMİ v2 (16.08.2026, kullanıcı mockup'ı)
   Alt sayfa (bottom sheet): başlık + arama/filtre + çipler sabit,
   liste kaydırılır, kaydet çubuğu altta sabit.
   ══════════════════════════════════════════════════════════════════ */
.meslek-sheet { display: flex; flex-direction: column; max-height: 90vh; padding: 0; }
.ms-head { display: flex; align-items: flex-start; gap: 11px; padding: 16px 14px 12px; }
.ms-head-ik {
  flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 16px; font-size: 24px;
  background: linear-gradient(140deg, #0f5a3d 0%, #14724d 100%);
}
.ms-head-txt { flex: 1 1 auto; min-width: 0; }
.ms-head-txt strong { display: block; font-size: 20px; line-height: 1.2; margin-bottom: 4px; }
.ms-head-txt p { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.ms-close {
  flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; font-size: 15px;
  background: color-mix(in srgb, var(--muted) 12%, transparent); color: var(--muted);
}

.ms-ara { display: flex; gap: 8px; padding: 0 14px 10px; }
.ms-ara-kutu {
  flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px;
  padding: 0 12px; min-height: 46px;
  border: 1px solid var(--line); border-radius: 13px; background: var(--surface);
}
.ms-ara-kutu input { flex: 1 1 auto; min-width: 0; margin: 0; border: 0; background: transparent; padding: 0; }
.ms-ara-kutu input:focus { outline: none; }
.ms-lupe { flex: 0 0 auto; font-size: 14px; opacity: .55; }
.ms-filtre-btn {
  flex: 0 0 46px; width: 46px; min-height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 13px; cursor: pointer; font-size: 17px;
  background: var(--surface); color: var(--muted);
}
.ms-filtre-btn.on { background: #0f4d36; border-color: #0f4d36; color: #fff; }

/* 13 kategori var. Sarmalanınca 5 satır tutup listeye yer bırakmıyordu →
   tek satır yatay kaydırma şeridi (sağ kenarda soluklaşma ipucu). */
.ms-cipler {
  display: flex; flex-wrap: nowrap; gap: 6px;
  padding: 0 14px 11px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 26px), transparent 100%);
}
.ms-cipler::-webkit-scrollbar { display: none; }
.ms-cip { flex: 0 0 auto; }
.ms-cip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 10px; border-radius: 9px; cursor: pointer;
  font-size: 11.5px; font-weight: 500; white-space: nowrap; line-height: 1.25;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}
.ms-cip > span { font-size: 12px; }
.ms-cip.on { background: #0f4d36; border-color: #0f4d36; color: #fff; }

.ms-body { flex: 1 1 auto; overflow-y: auto; padding: 0 14px 12px; -webkit-overflow-scrolling: touch; }
.ms-secili {
  padding: 12px; margin-bottom: 14px;
  border: 1.5px solid #0f5a3d; border-radius: 16px;
  background: color-mix(in srgb, #0f5a3d 6%, var(--surface));
}
.ms-secili-ust { display: flex; align-items: flex-start; gap: 11px; }
.ms-secili-ik {
  flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; font-size: 23px; background: #0f4d36;
}
.ms-secili-orta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ms-secili-rozet {
  align-self: flex-start; padding: 3px 9px; border-radius: 8px;
  font-size: 10.5px; font-weight: 600;
  background: color-mix(in srgb, #0f5a3d 12%, transparent); color: #0f5a3d;
}
.ms-secili-orta strong { font-size: 16px; }
.ms-secili-orta small { font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.ms-secili-tik {
  flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center;
  border-radius: 50%; background: #0f5a3d; color: #fff; font-size: 14px; font-weight: 700;
}
.ms-ozellestir {
  width: 100%; margin-top: 11px; min-height: 42px;
  border: 1px solid color-mix(in srgb, #0f5a3d 30%, transparent); border-radius: 11px;
  background: transparent; color: #0f5a3d; cursor: pointer; font-size: 13px; font-weight: 600;
}

.ms-bolum { margin: 0 0 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.ms-liste { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.ms-satir {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px 11px; cursor: pointer; text-align: left;
  border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: inherit;
}
.ms-satir.sec { border-color: #0f5a3d; background: color-mix(in srgb, #0f5a3d 5%, var(--surface)); }
.ms-satir-ik {
  flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; font-size: 19px;
  background: color-mix(in srgb, #0f5a3d 8%, transparent);
}
.ms-satir-orta { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ms-satir-ust { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.ms-satir-ust b { font-size: 14px; }
.ms-satir-kat {
  padding: 2px 7px; border-radius: 7px; font-size: 10.5px; white-space: nowrap;
  background: color-mix(in srgb, var(--muted) 11%, transparent); color: var(--muted);
}
.ms-satir-orta small {
  font-size: 11.5px; line-height: 1.4; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ms-satir-ok { flex: 0 0 auto; font-size: 19px; color: var(--muted); opacity: .5; }
.ms-bos { margin: 0 0 16px; padding: 16px 12px; text-align: center; font-size: 13px; color: var(--muted); }

.ms-foot {
  flex: 0 0 auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 9px;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); background: var(--surface);
}
.ms-iptal, .ms-kaydet {
  min-height: 48px; border-radius: 13px; cursor: pointer; font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.ms-iptal { border: 1px solid #0f5a3d; background: transparent; color: #0f5a3d; }
.ms-kaydet { border: 0; background: #0f4d36; color: #fff; }
.ms-kaydet:disabled { opacity: .45; cursor: default; }
[data-theme="dark"] .ms-cip.on, [data-theme="dark"] .ms-filtre-btn.on { background: #16714d; border-color: #16714d; }
[data-theme="dark"] .ms-secili-rozet { background: rgba(74,222,128,.14); color: #4ade80; }
[data-theme="dark"] .ms-ozellestir, [data-theme="dark"] .ms-iptal { color: #4ade80; border-color: rgba(74,222,128,.4); }
[data-theme="dark"] .ms-secili { border-color: #4ade80; }

/* ══════════════════════════════════════════════════════════════════
   SERVİS FORMU v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.sf-tanit {
  display: flex; align-items: center; gap: 10px;
  margin: 4px 0 13px; padding: 14px;
  border: 1px solid var(--line); border-radius: 16px;
  background: color-mix(in srgb, #0f5a3d 4%, var(--surface));
}
.sf-tanit p { margin: 0; flex: 1 1 auto; min-width: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.sf-tanit p strong { color: var(--ink); }
.sf-tanit-gorsel { flex: 0 0 auto; }
@media (max-width: 339px) { .sf-tanit-gorsel { display: none; } }

.service-form .sf-kart {
  margin: 0 0 13px; padding: 13px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.sf-legend {
  display: flex; align-items: center; gap: 9px;
  padding: 0 0 11px; margin: 0 0 3px; width: 100%;
  font-size: 15px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.sf-legend-ik {
  flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 9px; background: #0f4d36; color: #fff;
}
.sf-alan { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; }
.sf-alan input, .sf-alan textarea { margin-top: 6px; font-weight: 400; }
.sf-switch { padding: 12px 0; margin: 0; border-top: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.sf-legend + .sf-switch { border-top: 0; }

.sf-eylemler { display: flex; flex-direction: column; gap: 9px; margin-bottom: 12px; }
.sf-ikili { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.sf-btn {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 13px; cursor: pointer; font-size: 13.5px; font-weight: 600; padding: 0 10px;
}
.sf-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf-btn.ikincil { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.sf-btn.ikincil svg { color: var(--muted); }
.sf-btn.ana { border: 0; background: #0f4d36; color: #fff; font-size: 15px; }
.sf-btn.ana:active { background: #0b3d2c; }

/* ══════════════════════════════════════════════════════════════════
   BİLDİRİM AYARLARI v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.bl-hero {
  display: flex; align-items: center; gap: 11px;
  margin: 4px 0 16px; padding: 15px 13px;
  border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(135deg, #f0f8f4 0%, #e4f2ea 100%);
}
.bl-hero-zil { flex: 0 0 auto; }
.bl-zil-halka {
  width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; color: #0f4d36;
  box-shadow: 0 0 0 9px rgba(31,122,85,.08);
}
.bl-hero-txt { flex: 1 1 auto; min-width: 0; }
.bl-hero-txt strong { display: block; font-size: 15.5px; line-height: 1.3; color: #0b3d2c; margin-bottom: 5px; text-wrap: balance; }
.bl-hero-txt p { margin: 0; font-size: 12px; line-height: 1.5; color: #3d5c4d; }
.bl-hero-gorsel { flex: 0 0 auto; }
@media (max-width: 379px) { .bl-hero-gorsel { display: none; } }

.bl-bolum { margin: 0 2px 10px; font-size: 15px; font-weight: 700; color: #0f5a3d; }

.bl-kart {
  display: flex; align-items: center; gap: 11px;
  margin: 0 0 10px; padding: 13px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
}
.bl-ik {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: #0f5a3d;
  background: color-mix(in srgb, #0f5a3d 8%, transparent);
}
.bl-txt { flex: 1 1 auto; min-width: 0; }
.bl-txt strong { display: block; font-size: 15px; margin-bottom: 3px; }
.bl-txt p { margin: 0 0 8px; font-size: 12px; line-height: 1.45; color: var(--muted); }
.bl-cip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 9px; font-size: 11.5px; font-weight: 500;
  background: color-mix(in srgb, #0f5a3d 7%, transparent); color: #16724f;
}
.bl-kart .ui-switch { flex: 0 0 auto; }

.bl-guven {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-start; gap: 11px;
  margin: 6px 0 12px; padding: 14px 13px;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #eef7f2 0%, #e3f1ea 100%);
}
.bl-guven-ik {
  flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 13px; background: #0f4d36; color: #fff;
}
.bl-guven-txt { flex: 1 1 auto; min-width: 0; }
.bl-guven-txt strong { display: block; font-size: 14.5px; color: #0b3d2c; margin-bottom: 4px; }
.bl-guven-txt p { margin: 0; font-size: 12px; line-height: 1.5; color: #3d5c4d; }
.bl-guven-gorsel { position: absolute; right: -6px; bottom: -10px; color: #0f5a3d; opacity: .12; pointer-events: none; }
[data-theme="dark"] .bl-hero, [data-theme="dark"] .bl-guven { background: linear-gradient(135deg, #14352a 0%, #0f2b22 100%); border-color: rgba(255,255,255,.07); }
[data-theme="dark"] .bl-hero-txt strong, [data-theme="dark"] .bl-guven-txt strong { color: #d7f0e2; }
[data-theme="dark"] .bl-hero-txt p, [data-theme="dark"] .bl-guven-txt p { color: #9dbfae; }
[data-theme="dark"] .bl-zil-halka { background: #0b3d2c; color: #7fe0c2; box-shadow: 0 0 0 9px rgba(127,224,194,.08); }
[data-theme="dark"] .bl-bolum, [data-theme="dark"] .bl-ik { color: #4ade80; }
[data-theme="dark"] .bl-cip { background: rgba(74,222,128,.12); color: #4ade80; }

/* ══════════════════════════════════════════════════════════════════
   LİSANS BİLGİLERİ v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.lb-kart {
  margin: 4px 0 12px; padding: 14px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
}
.lb-bas { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; }
.lb-bas-ik {
  flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 13px; background: color-mix(in srgb, #0f5a3d 9%, transparent); color: #0f5a3d;
}
.lb-bas-txt { flex: 1 1 auto; min-width: 0; }
.lb-bas-txt h2 { margin: 0 0 5px; font-size: 20px; line-height: 1.2; }
.lb-bas-txt p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.lb-bas-desen { position: absolute; right: -8px; top: -6px; color: #0f5a3d; opacity: .09; pointer-events: none; }

.lb-durum {
  display: flex; align-items: center; gap: 11px;
  padding: 12px; margin-bottom: 14px; border-radius: 14px;
  background: color-mix(in srgb, #0f5a3d 7%, transparent);
  border: 1px solid color-mix(in srgb, #0f5a3d 14%, transparent);
}
.lb-durum-ik {
  flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; background: #0f4d36; color: #fff;
}
.lb-durum-txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lb-durum-txt small { font-size: 11.5px; color: var(--muted); }
.lb-durum-txt strong { font-size: 13.5px; line-height: 1.35; }
.lb-durum-ik { flex-basis: 38px; width: 38px; height: 38px; }
.lb-durum-cip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lb-durum-cip::before {
  content: attr(data-durum);
  display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 8px;
  font-size: 10.5px; font-weight: 600; white-space: nowrap;
  background: color-mix(in srgb, #16a34a 15%, transparent); color: #15803d;
}
.lb-durum-cip b { font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.lb-nokta { display: none; }
.lb-durum.bitti { background: rgba(239,68,68,.07); border-color: rgba(239,68,68,.2); }
.lb-durum.bitti .lb-durum-ik { background: #b91c1c; }
.lb-durum.bitti .lb-durum-cip::before { background: rgba(239,68,68,.15); color: #b91c1c; }

.lb-satirlar { display: flex; flex-direction: column; gap: 0; margin-bottom: 14px; }
.license-info-row.lb-satir {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0; font-size: 13.5px;
  border-top: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
}
.lb-satirlar .lb-satir:first-child { border-top: 0; }
.lb-s-sol { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); flex: 1 1 auto; min-width: 0; }
.lb-s-sol svg { flex: 0 0 auto; }
.license-info-row.lb-satir strong { font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lb-kopyala {
  flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  background: transparent; color: var(--muted);
}

.lb-btn {
  width: 100%; min-height: 50px; margin-bottom: 9px; padding: 0 14px;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 13px; cursor: pointer; font-size: 14.5px; font-weight: 600;
}
.lb-btn.ana { border: 0; background: #0f4d36; color: #fff; justify-content: space-between; }
.lb-btn.ana:active { background: #0b3d2c; }
.lb-btn-sol { display: inline-flex; align-items: center; gap: 9px; min-width: 0; text-align: left; }
.lb-yildiz { color: #fbbf24; font-size: 15px; }
.lb-btn-ok { flex: 0 0 auto; opacity: .8; }
.lb-btn.ikincil { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.lb-btn.ikincil svg { color: var(--muted); }
.lb-not {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 4px 0 0; padding: 11px 12px; border-radius: 12px;
  font-size: 11.5px; line-height: 1.5; color: var(--muted);
  background: color-mix(in srgb, #0f5a3d 5%, transparent);
}
.lb-not svg { flex: 0 0 auto; margin-top: 1px; color: #0f5a3d; }
[data-theme="dark"] .lb-bas-ik { background: rgba(74,222,128,.12); color: #4ade80; }
[data-theme="dark"] .lb-durum-cip::before { background: rgba(74,222,128,.16); color: #4ade80; }
[data-theme="dark"] .lb-not svg { color: #4ade80; }

/* ══════════════════════════════════════════════════════════════════
   YEDEKLEME v2 (16.08.2026, kullanıcı mockup'ı)
   ══════════════════════════════════════════════════════════════════ */
.yd-kart {
  margin: 4px 0 12px; padding: 0 0 13px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); overflow: hidden;
}
.yd-hero {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 14px; color: #fff;
  background: linear-gradient(135deg, #0b4331 0%, #0f5a3d 55%, #12694a 100%);
}
.yd-hero-txt { flex: 1 1 auto; min-width: 0; }
.yd-hero-txt h2 { margin: 0 0 7px; font-size: 21px; line-height: 1.15; color: #fff; }
.yd-hero-txt p { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.85); }
.yd-hero-gorsel { flex: 0 0 auto; }
@media (max-width: 359px) { .yd-hero-gorsel { display: none; } }

.yd-hesap {
  display: flex; align-items: center; gap: 9px;
  margin: -14px 13px 0; position: relative; z-index: 1;
  padding: 11px 12px; border-radius: 13px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 3px 10px rgba(0,0,0,.06);
}
.yd-hesap-ik {
  flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: #0f4d36; color: #fff;
}
.yd-hesap-txt { flex: 1 1 auto; min-width: 0; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.yd-hesap-txt b { color: var(--ink); font-weight: 600; }
.yd-hesap-tik {
  flex: 0 0 22px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: #16a34a; color: #fff;
}
.yd-hesap-tik[hidden] { display: none; }

.yd-ana-btn {
  width: calc(100% - 26px); margin: 11px 13px 0; min-height: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 14px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: #fff; background: #0f4d36;
}
.yd-ana-btn:active { background: #0b3d2c; }

.yd-bilgiler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 11px 13px 0; }
.yd-bilgi {
  display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center;
  padding: 11px 6px; border: 1px solid var(--line); border-radius: 12px;
}
.yd-bilgi svg { color: #0f5a3d; margin-bottom: 2px; }
.yd-bilgi b { font-size: 11.5px; font-weight: 600; line-height: 1.25; }
.yd-bilgi small { font-size: 10.5px; line-height: 1.3; color: var(--muted); }

.yd-geri-bas { display: flex; align-items: flex-start; gap: 11px; padding: 14px 13px 0; }
.yd-geri-ik {
  flex: 0 0 46px; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: #0f5a3d;
  background: color-mix(in srgb, #0f5a3d 8%, transparent);
}
.yd-geri-txt { flex: 1 1 auto; min-width: 0; }
.yd-geri-txt strong { display: block; font-size: 16px; margin-bottom: 4px; }
.yd-geri-txt p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

.import-box.yd-birak {
  display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center;
  margin: 13px 13px 0; padding: 18px 13px;
  border: 1.5px dashed color-mix(in srgb, #0f5a3d 28%, transparent);
  border-radius: 14px; background: transparent; cursor: pointer;
}
.yd-birak-ik {
  width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 4px;
  border-radius: 50%; color: #0f5a3d;
  background: color-mix(in srgb, #0f5a3d 7%, transparent);
}
.yd-birak b { font-size: 14.5px; }
.yd-birak small { font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.yd-birak input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.yd-sec-satir { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.yd-sec-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: 11px; font-size: 13px; font-weight: 600;
  border: 1px solid #0f5a3d; color: #0f5a3d; background: transparent;
}
.yd-dosya-ad { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }

.yd-not, .yd-alt-not {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 11.5px; line-height: 1.5; color: var(--muted);
}
.yd-not { margin: 12px 13px 0; padding: 11px 12px; border-radius: 12px; background: color-mix(in srgb, #0f5a3d 5%, transparent); }
.yd-not svg, .yd-alt-not svg { flex: 0 0 auto; margin-top: 1px; color: #0f5a3d; }
.yd-alt-not { margin: 2px 4px 12px; }
.yd-not b, .yd-alt-not b { color: var(--ink); }
#backupView .status-text { margin: 10px 13px 0; }
[data-theme="dark"] .yd-bilgi svg, [data-theme="dark"] .yd-geri-ik, [data-theme="dark"] .yd-birak-ik, [data-theme="dark"] .yd-not svg, [data-theme="dark"] .yd-alt-not svg { color: #4ade80; }
[data-theme="dark"] .yd-sec-btn { border-color: rgba(74,222,128,.45); color: #4ade80; }
[data-theme="dark"] .import-box.yd-birak { border-color: rgba(74,222,128,.3); }

/* Meslek seçimi SAYFA hâli (16.08.2026): alt sayfa kabuğu (yuvarlak üst köşe,
   gölge, 90vh sınırı) sayfada anlamsız — sıfırlanır, kaydırma sayfaya bırakılır. */
.meslek-sheet.ms-sayfa {
  width: auto; max-height: none; border-radius: 0;
  background: transparent; box-shadow: none; overflow: visible;
}
.ms-sayfa .ms-head { padding: 4px 0 12px; }
.ms-sayfa .ms-ara, .ms-sayfa .ms-cipler { padding-left: 0; padding-right: 0; }
.ms-sayfa .ms-cipler {
  margin: 0 -14px; padding-left: 14px; padding-right: 14px;
}
.ms-sayfa .ms-body { overflow: visible; padding: 0; }
.ms-sayfa .ms-foot {
  position: sticky; bottom: 0; z-index: 2;
  margin: 0 -14px; padding-left: 14px; padding-right: 14px;
  background: var(--bg, #f2f4f3);
}
/* Sayfa hâlinde üst barda zaten "Mesleğini seç" yazıyor — kart başlığı tekrar etmesin. */
.ms-sayfa .ms-head-txt strong { display: none; }
.ms-sayfa .ms-head-txt p { font-size: 13px; }
.ms-sayfa .ms-head { align-items: center; }

/* ══════════════════════════════════════════════════════════════════
   ANA SAYFA ALT RESMİ (16.08.2026, kullanıcı)
   Yalnız ana sayfada; .home-view sınıfını activateView() zaten atıyor.
   Sabit (fixed) katman: içerik üstünde kayar, resim yerinde durur —
   böylece uzun listelerde zemin tekrar etmez/gerilmez.
   Dosya yoksa hiçbir şey bozulmaz: sadece düz renk kalır.
   ══════════════════════════════════════════════════════════════════ */
.app-shell { position: relative; }
.app-shell::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  /* Kaynak 941px genişlikti; 3x telefonda tarayıcı büyütünce yumuşuyordu.
     1412px'e büyütülüp hafif netlik verildi (96 KB). Kaynak PNG: tasarim-kaynak/ */
  background-image: url("anasayfa-zemin.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}
/* İçerik zeminin ÜSTÜNDE kalsın — ama SADECE üst bar ve ana içerik.
   DİKKAT: burada bir zamanlar `.app-shell > *` vardı; alt menünün ve AI
   penceresinin `position: fixed`'ini ezip menüyü sayfanın ortasında bırakıyordu.
   Alt menü (z-index 20) ve AI penceresi kendi katmanlarında, dokunulmuyor. */
.app-shell > header.topbar,
.app-shell > main { position: relative; z-index: 1; }

/* OKUNURLUK: zemin desenli olduğu için ana sayfa kartlarına hafif matlık verilir;
   yoksa açık kartların altından desen sızıp yazıyı yoruyor. */
/* DÜZELTME (16.08.2026, Kenan): .h2-sirada ve .h2-week KART DEĞİL, kapsayıcı.
   Beyazı onlara verince kartların ARASINDAKİ boşluklar da beyaz oluyor ve her
   bölüm ayrı bir sayfa gibi duruyordu; zemin aralardan görünmüyordu.
   Matlık yalnız gerçek kartlara (.sirada-kart, .h2-wrow) verilir. */
.app-shell .h2-metric,
.app-shell .h2-stat,
.app-shell .h2-tile,
.app-shell .sirada-kart,
.app-shell .h2-wrow {
  /* blur(2px) KALDIRILDI (16.08.2026): kartların ardındaki zemini yumuşatıyordu.
     Okunurluk için saydamlığı azaltmak yeterli. */
  background-color: color-mix(in srgb, var(--surface) 94%, transparent);
}

/* KARANLIK TEMA: açık renkli zemin karanlıkta göz alıyor → kaldırılır. */
[data-theme="dark"] .app-shell::before { display: none; }

/* Bölüm kapsayıcıları saydam kalsın — zemin aralardan görünsün. */
.app-shell .h2-sirada,
.app-shell .h2-week,
.app-shell .h2-status,
.app-shell .h2-metrics,
.app-shell .h2-grid,
.app-shell .h2-sec-head { background: transparent; }

/* ══════════════════════════════════════════════════════════════════
   SAYFA LEVHASI ŞEFFAFLAŞTI (16.08.2026, Kenan: "aradaki boşlukları da görelim")
   .backup-panel 25 sayfada TEK BÜYÜK BEYAZ LEVHA idi; zemini tamamen örtüyor,
   her sayfa "tek kağıt" gibi duruyordu. Artık yalnız DÜZEN kapsayıcısı:
   ızgara + boşluk kalır, yüzey kalkar. İçindeki gerçek kartlar/alanlar zaten
   kendi beyaz zeminine sahip → aralarından alt resim görünür.
   ══════════════════════════════════════════════════════════════════ */
.backup-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
/* Levha kalkınca başlık/açıklama doğrudan zeminin üstünde kalıyor; okunurluk için
   biraz nefes payı. (Eskiden levhanın 18px iç boşluğu bu işi görüyordu.) */
.backup-panel > h2 { margin: 2px 0 0; }
.backup-panel > p,
.backup-panel > .section-hint,
.backup-panel > .support-hint { margin: 0; }

/* Form alanları levhasız da okunsun: girdi/seçim kutuları opak kalır. */
.backup-panel input,
.backup-panel select,
.backup-panel textarea { background: var(--surface, #fff); }

/* Tek bir formdan ibaret sayfalarda levha KALSIN — alanlar zeminde dağınık
   durmasın. Zemin yine kenar boşluklarında ve diğer kartların arasında görünür. */
.backup-panel.kagit {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* ══════════════════════════════════════════════════════════════════
   FORM KUTUSU + ZEMİNLE KARIŞAN BUTONLARA ÇERÇEVE
   (17.08.2026, Kenan) Zemin görseli gelince `.backup-panel`ın beyaz
   levhası kalktı; giriş alanları ve açık renkli butonlar desenin
   üstünde dağınık/görünmez kaldı. Çözüm: form gruplarını kutuya al,
   çerçevesi olmayan butonlara belirgin çerçeve ver.
   ══════════════════════════════════════════════════════════════════ */
.form-kutu {
  display: grid; gap: 12px;
  padding: 14px; margin: 2px 0 4px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(20, 35, 30, .05);
}
.form-kutu > .stock-form-title { margin: 0; }
.form-kutu > .form-actions { margin: 0; }

/* Segment seçiciler (Gelir/Gider, Satış/İade, Nakit/Kart/Havale) zeminle
   aynı tonda kalıyordu → çerçeve + belirgin seçili durum. */
.segp { border: 1px solid var(--line); background: var(--bg); }
.segp > div { border: 1px solid transparent; }
.segp > div.on { border-color: var(--line); }

/* Çerçevesiz/şeffaf butonlar: zeminin üstünde sınırı belli olsun. */
.ghost,
button.secondary,
.sec-toggle,
.cs-tumu,
.compact-actions .secondary {
  border: 1px solid var(--line);
  background: var(--surface);
}
/* Zaten kendi çerçevesi/rengi olanları bozma. */
.primary, .cp-save, .danger,
.ek2-ana-btn, .ek2-katil-btn, .yd-ana-btn, .cs-kaydet, .lb-btn.ana,
.ms-kaydet, .sf-btn.ana, .km-kart, .bl-kart {
  border-color: transparent;
}
.ek2-ekle-btn, .ms-iptal, .lb-btn.ikincil, .sf-btn.ikincil, .yd-sec-btn, .ms-ozellestir {
  background: var(--surface);
}

/* Hesap sonucu satırı (Toplam: ₺0) da zeminde kaybolmasın. */
.form-kutu > .calc-result {
  border: 1px solid var(--line); border-radius: 11px;
  background: var(--bg); padding: 10px 12px;
}

/* ══════════════════════════════════════════════════════════════════
   ALT MENÜ v2 (17.08.2026, Kenan'ın 2. fotoğrafı + verdiği taslak)
   Yüzen yuvarlak kart · aktif sekme yeşil pastil + üstte ince çubuk ·
   basılınca koyulaşma. Markup ve id'ler AYNI (.bn-tab, #navHome,
   data-view) — renderBottomNav() yine .active sınıfını atıyor.
   ══════════════════════════════════════════════════════════════════ */
.bottom-nav {
  bottom: max(12px, env(safe-area-inset-bottom));
  /* İçerikle aynı genişlik: .app-shell 720px, menü de 720px (Kenan, 17.08.2026).
     Telefonda ikisi de tam genişlik olduğu için görünüm değişmez. */
  width: min(100% - 16px, 720px);
  height: auto;
  align-items: stretch;
  justify-content: space-between;
  gap: 2px;
  padding: 9px 8px;
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 24px;
  /* backdrop-filter KULLANILMIYOR: sabit zemin katmanıyla birleşince WebView
     katman sırasını bozuyor (kartların beyazı kayboluyordu). Düz yüzey yeterli. */
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(22, 94, 76, .13);
}

.bn-tab {
  position: relative;
  gap: 4px;
  padding: 3px 2px 1px;
  border: 0;
  border-radius: 16px;
  color: var(--muted);
  font-weight: 600;
  transition: color .2s ease, transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
/* İkon kendi yuvarlak kutusunda — aktifken yeşil pastil olacak alan. */
.bn-tab svg {
  width: 21px; height: 21px;
  box-sizing: content-box;
  padding: 8px;
  border-radius: 14px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.bn-tab > span {
  font-size: 10.5px; line-height: 1;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* AKTİF: yeşil pastil + üstte ince çubuk (fotoğraftaki görünüm) */
.bn-tab.active { color: var(--primary-dark, #165e4c); }
.bn-tab.active svg {
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent);
}
.bn-tab.active::after {
  content: "";
  position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3.5px; border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #45b091);
}

/* BASILI DURUM: aktif sekmeye basılmış gibi koyulaşsın (Kenan'ın isteği) */
.bn-tab:active { color: var(--primary-dark, #165e4c); transform: translateY(1px); }
.bn-tab:active svg {
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  color: var(--primary-dark, #165e4c);
}

/* Menü yüzdüğü için içeriğin altında daha çok pay bırak. */
.has-bottom-nav main { padding-bottom: 108px; }

[data-theme="dark"] .bottom-nav {
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
[data-theme="dark"] .bn-tab.active svg { background: rgba(74,222,128,.16); color: #4ade80; }
[data-theme="dark"] .bn-tab.active { color: #4ade80; }

/* ══════════════════════════════════════════════════════════════════
   KOYU TEMA — YENİ SAYFALARIN OKUNURLUK DÜZELTMESİ (18.08.2026, Kenan)
   Yeni sayfalarda vurgu rengi olarak KOYU yeşil (#0f5a3d / #0f4d36) yazı
   kullanılmıştı; koyu zeminde neredeyse görünmüyordu. Koyu temada açık
   yeşiye çevrilir. Arka planı koyu yeşil olan öğelere DOKUNULMAZ
   (onların üstündeki beyaz yazı zaten doğru).
   ══════════════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --vurgu-acik: #6fceb4;   /* koyu zeminde okunan yeşil */
}
[data-theme="dark"] .ek2-ekle-btn,
[data-theme="dark"] .ek2-bs-sol,
[data-theme="dark"] .hk-link,
[data-theme="dark"] .hk-oz-ik.yesil,
[data-theme="dark"] .km-rozet.yesil,
[data-theme="dark"] .km-not-ik,
[data-theme="dark"] .cs-bilgi svg,
[data-theme="dark"] .cs-kb-sol,
[data-theme="dark"] .cs-tumu,
[data-theme="dark"] .lb-bas-ik,
[data-theme="dark"] .lb-not svg,
[data-theme="dark"] .bl-bolum,
[data-theme="dark"] .bl-ik,
[data-theme="dark"] .bl-cip,
[data-theme="dark"] .yd-bilgi svg,
[data-theme="dark"] .yd-geri-ik,
[data-theme="dark"] .yd-birak-ik,
[data-theme="dark"] .yd-not svg,
[data-theme="dark"] .yd-alt-not svg,
[data-theme="dark"] .yd-sec-btn,
[data-theme="dark"] .ms-ozellestir,
[data-theme="dark"] .ms-iptal,
[data-theme="dark"] .lb-btn.ikincil,
[data-theme="dark"] .sf-btn.ikincil,
[data-theme="dark"] .hk-bag-ik,
[data-theme="dark"] .ms-secili-rozet,
[data-theme="dark"] .ek2-say,
[data-theme="dark"] .ek2-rol,
[data-theme="dark"] .hk-guncel { color: var(--vurgu-acik); }

/* Açık zemin varsayan yeşilimsi kart/şerit zeminleri koyu temada koyulaşsın */
[data-theme="dark"] .hk-tanit,
[data-theme="dark"] .bl-hero,
[data-theme="dark"] .bl-guven,
[data-theme="dark"] .ek2-katil-sol,
[data-theme="dark"] #openMusaitlikBtn { background: #223a31 !important; border-color: var(--line); }
[data-theme="dark"] .hk-tanit-txt strong,
[data-theme="dark"] .bl-hero-txt strong,
[data-theme="dark"] .bl-guven-txt strong { color: var(--ink); }
[data-theme="dark"] .hk-tanit-txt p,
[data-theme="dark"] .bl-hero-txt p,
[data-theme="dark"] .bl-guven-txt p,
[data-theme="dark"] .hk-rozetler span { color: var(--muted); }
[data-theme="dark"] .km-rozet.turuncu { color: #f7c96b; }
[data-theme="dark"] .lb-durum-cip::before { background: rgba(111,206,180,.16); color: var(--vurgu-acik); }
[data-theme="dark"] .km-cizgi { background: var(--vurgu-acik); }
[data-theme="dark"] .km-kart.secili,
[data-theme="dark"] .ms-satir.sec,
[data-theme="dark"] .ms-secili { border-color: var(--vurgu-acik); }
[data-theme="dark"] .km-cip::before { border-color: var(--vurgu-acik); }
[data-theme="dark"] .ms-satir-ik,
[data-theme="dark"] .ms-secili-tik { background: #2b4a3e; }

/* ============================================================
   SİTE (TARAYICI) SÜRÜMÜ UYARI ŞERİDİ — 08.09.2026
   app.js → webUyariSeridi() ekler. Telefondaki uygulamada HİÇ çıkmaz;
   yalnız tarayıcıda, satın almanın çalışmadığı ekranların başında görünür.
   ============================================================ */
.web-uyari {
  margin: 0 0 12px;
  padding: 11px 13px;
  border: 1px solid var(--accent, #e0871a);
  border-left-width: 4px;
  border-radius: 10px;
  background: #fdf3e4;
  color: #6b4308;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
}
[data-theme="dark"] .web-uyari { background: #3a3120; color: #f0d2a0; }

/* ============================================================
   İLAN PANOSU — eleman / iş arama (09.09.2026)
   İş Fırsatları'nın üçüncü sekmesi. Mevcut talep-row, lead-cip,
   talep-badge sınıflarını yeniden kullanır; buradakiler ek katman.
   ============================================================ */
.ilan-row { display: flex; flex-direction: column; gap: 6px; }
.ilan-row.ilan-uygun { border-left: 3px solid var(--primary, #1c5c4e); }
.ilan-rozetler { display: flex; gap: 6px; flex-wrap: wrap; }
.ilan-yer { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink, #223); }
.ilan-ozet { margin: 0; font-size: 12px; color: var(--muted, #7a8a84); }
.ilan-dip { display: flex; justify-content: flex-end; }
.ilan-ilgi { font-size: 11.5px; color: var(--muted, #7a8a84); font-weight: 600; }

.ilan-kart { border: 1px solid var(--line, #dee6e2); border-radius: 13px; background: var(--surface, #fff);
  padding: 12px 14px; margin-bottom: 10px; }
.ilan-kart.ilan-benim { background: #e9f6f1; border-color: var(--primary, #1c5c4e); }
[data-theme="dark"] .ilan-kart.ilan-benim { background: #22302b; }
.ilan-baslik { margin: 8px 0 4px; font-size: 18px; font-weight: 800; color: var(--ink, #223); }
.ilan-benim-baslik { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--ink, #223); }
.ilan-sure { margin: 4px 0 0; font-size: 12px; color: var(--muted, #7a8a84); }
.ilan-alt-baslik { margin: 12px 0 6px; font-size: 12px; font-weight: 800; color: var(--muted, #7a8a84); }

.ilan-sart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ilan-sart { border: 1px solid var(--line, #dee6e2); border-radius: 10px; background: var(--surface, #fff); padding: 7px 11px; }
.is-etiket { display: block; font-size: 10.5px; color: var(--muted, #7a8a84); }
.is-deger { display: block; font-size: 13px; color: var(--ink, #223); }
.ilan-aciklama { margin: 0; border: 1px solid var(--line, #dee6e2); border-radius: 11px;
  background: var(--surface, #fff); padding: 11px 13px; font-size: 12.5px; line-height: 1.5; color: var(--ink, #223); }

.ilan-ilgi-btn { width: 100%; margin-top: 14px; }
.ilan-ilgi-btn.pasif { opacity: .6; }
.ilan-orta { text-align: center; }

.ilan-sorular { margin-top: 16px; }
.ilan-soru { border: 1px solid var(--line, #dee6e2); border-radius: 12px; background: var(--surface, #fff);
  padding: 10px 12px; margin-bottom: 8px; }
.is-soran { margin: 0 0 4px; font-size: 11px; font-weight: 700; color: #5b8fc7; }
.is-metin { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--ink, #223); }
.is-cevap { margin: 8px 0 0; padding: 8px 10px; border-radius: 9px; background: #eef6f2;
  font-size: 12px; color: #285a4b; }
[data-theme="dark"] .is-cevap { background: #22302b; color: #9fd8bf; }
.is-bekliyor { margin: 6px 0 0; font-size: 11.5px; color: var(--muted, #7a8a84); }
.ilan-cevap-satir { display: flex; gap: 8px; margin-top: 8px; }
.ilan-cevap-input { flex: 1 1 auto; min-width: 0; padding: 9px 11px; border: 1px solid var(--line, #dee6e2);
  border-radius: 9px; font: inherit; font-size: 12.5px; background: var(--surface, #fff); color: var(--ink, #223); }
.ilan-mini-btn { flex: 0 0 auto; padding: 0 14px; border: 0; border-radius: 9px;
  background: var(--primary, #1c5c4e); color: #fff; font-weight: 700; font-size: 12px; cursor: pointer; }

.ilan-kisi { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ik-sol { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ik-avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: #e2ece8;
  display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--primary, #1c5c4e); }
[data-theme="dark"] .ik-avatar { background: #2a3a34; }
.ik-bilgi { min-width: 0; }
.ik-ad { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink, #223); }
.ik-ozet { margin: 1px 0 0; font-size: 11.5px; color: var(--muted, #7a8a84); }
.ik-sag { flex: 0 0 auto; }
.ik-ac { padding: 7px 12px; border: 0; border-radius: 10px; background: var(--accent, #e0871a);
  color: #fff; font-weight: 700; font-size: 11.5px; cursor: pointer; }
.ik-tel { display: inline-block; padding: 6px 12px; border: 1px solid var(--primary, #1c5c4e);
  border-radius: 10px; background: #eef6f2; color: #285a4b; font-weight: 700; font-size: 11.5px; text-decoration: none; }
[data-theme="dark"] .ik-tel { background: #22302b; color: #9fd8bf; }

.ilan-tur-kart { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 8px;
  padding: 11px 13px; border: 1px solid var(--line, #dee6e2); border-radius: 13px;
  background: var(--surface, #fff); text-align: left; font: inherit; cursor: pointer; }
.ilan-tur-kart.secili { border: 2px solid var(--primary, #1c5c4e); background: #e9f6f1; }
[data-theme="dark"] .ilan-tur-kart.secili { background: #22302b; }
.itk-ikon { font-size: 20px; }
.itk-metin { display: flex; flex-direction: column; }
.itk-metin strong { font-size: 14px; color: var(--ink, #223); }
.itk-metin small { font-size: 11.5px; color: var(--muted, #7a8a84); }

.ilan-form-etiket { margin: 12px 0 5px; font-size: 11.5px; font-weight: 800; color: var(--muted, #7a8a84); }
.ilan-input { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid var(--line, #dee6e2);
  border-radius: 11px; font: inherit; font-size: 13px; background: var(--surface, #fff); color: var(--ink, #223); }
.ilan-textarea { resize: vertical; line-height: 1.5; }
.ilan-para-satir { display: flex; gap: 8px; align-items: center; }
.ilan-para-satir .ilan-input { flex: 1 1 auto; }
.ilan-ver-btn { width: 100%; margin-top: 16px; }
.ilan-kapat { width: 100%; margin-top: 14px; }

/* İlan türü rozeti (09.09.2026) — satırda "eleman mı arıyor, iş mi arıyor" tek bakışta belli olsun */
.ilan-tur-rozet { display: inline-block; padding: 3px 9px; border-radius: 9px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .2px; }
.itr-eleman { background: #e8f0fb; color: #2f5f96; }
.itr-is { background: #eaf5ef; color: #2b6b52; }
[data-theme="dark"] .itr-eleman { background: #22303f; color: #9fc4ea; }
[data-theme="dark"] .itr-is { background: #22302b; color: #9fd8bf; }

/* Başvuran detayı (09.09.2026) */
.bsv-ust { display: flex; align-items: center; gap: 12px; }
.bsv-avatar { width: 46px; height: 46px; font-size: 18px; }
.bsv-ad { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink, #223); }
.bsv-ara { display: block; text-align: center; text-decoration: none; line-height: 2.6; }

/* ===== HOŞ GELDİN EKRANI (09.09.2026) — varyasyon A: iki kapı =====
   İlk açılışta tek soru: hesabın var mı, yok mu. Kayıt ve giriş ayrı iki yol.
   Marka bloğu üstte (yeşil), kararlar altta (açık zemin). */
.welcome-screen { position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column;
  background: var(--bg); overflow-y: auto; }
.welcome-screen[hidden] { display: none; }

.wlc-hero { flex: 0 0 auto; padding: calc(env(safe-area-inset-top, 0px) + 42px) 24px 40px;
  text-align: center; color: #fff;
  background: linear-gradient(180deg, #174a3f 0%, #1f6154 55%, #236b5b 100%); }
.wlc-mark { display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 26px; background: #fff; color: var(--primary-dark);
  box-shadow: 0 10px 26px rgba(10, 30, 24, 0.28); }
.wlc-mark svg { width: 58px; height: 58px; }
.wlc-hero h1 { margin: 20px 0 0; font-size: 34px; font-weight: 800; letter-spacing: -0.4px; color: #fff; }
.wlc-tag { margin: 6px 0 0; font-size: 15px; color: #bcd9cf; }
.wlc-sub { margin: 14px 0 0; font-size: 13.5px; color: #9cc3b5; }

.wlc-body { flex: 1 1 auto; padding: 34px 24px calc(env(safe-area-inset-bottom, 0px) + 20px);
  display: flex; flex-direction: column; }
.wlc-body h2 { margin: 0; text-align: center; font-size: 25px; font-weight: 800; color: var(--ink); }
.wlc-not { margin: 12px 0 26px; text-align: center; font-size: 14px; line-height: 1.55; color: var(--muted); }
.wlc-btn { width: 100%; min-height: 54px; border-radius: 14px; font-size: 17px; font-weight: 700; }
.wlc-btn + .wlc-btn { margin-top: 12px; }
.wlc-ghost { background: var(--surface); color: var(--primary); border: 2px solid var(--primary); }
.wlc-ghost:active { background: #eaf4ee; }

.wlc-ayrac { position: relative; margin: 24px 0 18px; text-align: center; }
.wlc-ayrac::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.wlc-ayrac span { position: relative; padding: 0 12px; background: var(--bg); font-size: 12px; color: #93a49d; }

.wlc-cust { display: flex; align-items: center; gap: 14px; width: 100%; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.wlc-cust:active { background: #f3f8f5; }
.wlc-cust-ic { font-size: 22px; line-height: 1; }
.wlc-cust-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.wlc-cust-txt strong { font-size: 15px; font-weight: 700; color: var(--ink); }
.wlc-cust-txt small { font-size: 12.5px; color: var(--muted); }
.wlc-cust-ok { font-size: 22px; font-weight: 700; color: #b2beb9; }

.wlc-legal { margin: auto 0 0; padding-top: 26px; text-align: center; font-size: 11px; color: #93a49d; }

/* Dar/kısa ekranlarda marka bloğu küçülsün, butonlar hep görünsün. */
@media (max-height: 680px) {
  .wlc-hero { padding-top: calc(env(safe-area-inset-top, 0px) + 26px); padding-bottom: 26px; }
  .wlc-mark { width: 72px; height: 72px; border-radius: 21px; }
  .wlc-mark svg { width: 46px; height: 46px; }
  .wlc-hero h1 { font-size: 28px; margin-top: 14px; }
  .wlc-sub { display: none; }
  .wlc-body { padding-top: 24px; }
  .wlc-not { margin-bottom: 20px; }
}

/* --- Rol seçimi (Başlangıç) da aynı dile alındı (09.09.2026) --- */
.wlc-hero-kisa { position: relative; padding-top: calc(env(safe-area-inset-top, 0px) + 34px); padding-bottom: 26px; }
.wlc-hero-kisa .wlc-mark { width: 66px; height: 66px; border-radius: 19px; }
.wlc-hero-kisa .wlc-mark svg { width: 42px; height: 42px; }
.wlc-hero-kisa h1 { font-size: 27px; margin-top: 14px; }
.wlc-geri { position: absolute; left: 10px; top: calc(env(safe-area-inset-top, 0px) + 10px);
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 11px;
  background: transparent; color: #cfe4db; font-size: 15px; font-weight: 700; }
.wlc-geri span { font-size: 17px; line-height: 1; }
.wlc-geri:active { background: rgba(255, 255, 255, 0.12); }
#onboardScreen .onboard-options { margin-top: 4px; }
#onboardScreen .role-opt { padding: 15px 16px; border-radius: 14px; }
#onboardScreen #onboardStatus:empty { display: none; }

/* --- GİRİŞ EKRANI SADELEŞTİRME (09.09.2026, Kenan sanal telefonda gördü) ---
   Girişte yalnız 3 alan var ama kurulum ekranının bütün başlıkları duruyordu;
   "Şifremi unuttum" ekranın altında kalıp görünmüyordu. Kurulum görünümü aynen kaldı. */
.auth-card.giris-sade .ag-ust { display: none; }
.auth-card.giris-sade #emailWrap .field-hint { display: none; }
.auth-card.giris-sade #showPasswordWrap { display: none; }
.auth-card.giris-sade .auth-grup { padding: 11px 12px; gap: 8px; }
.auth-card.giris-sade .auth-gorsel { width: 86px; }
.auth-card.giris-sade .auth-hero-txt h1 { font-size: 26px; }
.auth-card.giris-sade .creator-credit { margin-top: 8px; }
/* Şifremi unuttum: buton görünümünden çıkıp bağlantıya döndü — yer kaplamasın. */
.auth-card.giris-sade #authForgotButton { min-height: 0; padding: 10px 4px; border: 0;
  background: transparent; color: var(--primary); font-size: 14px; font-weight: 700; text-decoration: underline; }

/* --- İLK KURULUM: boşlukları düşür, mümkün mertebe tek ekrana sığsın (09.09.2026, Kenan) --- */
#authScreen .auth-card { gap: 10px; padding: 16px 14px; }
#authScreen .auth-head { gap: 6px; }
#authScreen .auth-hero-txt h1 { margin: 2px 0 4px; font-size: 25px; line-height: 1.15; }
#authScreen .auth-hero-txt p:last-child { font-size: 13px; line-height: 1.35; }
#authScreen .eyebrow { margin-bottom: 0; }
#authScreen .auth-gorsel { width: 84px; }
#authScreen .auth-grup { padding: 11px 12px; gap: 7px; }
#authScreen .ag-ust { margin-bottom: 2px; }
#authScreen .ag-ic { width: 30px; height: 30px; border-radius: 10px; }
#authScreen .ag-ic svg { width: 18px; height: 18px; }
#authScreen .ag-bas h2 { font-size: 14.5px; }
#authScreen .ag-bas p { font-size: 11.5px; }
#authScreen .auth-grup > label { font-size: 12.5px; }
#authScreen .auth-grup input,
#authScreen .auth-grup select,
#authScreen .auth-grup .pro-select-label { min-height: 42px; }
#authScreen .field-hint { font-size: 11px; line-height: 1.3; margin-top: 3px; }
#authScreen .leads-note.bilgi-kutu { padding: 8px 10px; font-size: 11.5px; }
#authScreen .bilgi-kutu .bk-ic { width: 18px; height: 18px; font-size: 11px; }
#authScreen .check-row { min-height: 34px; }
#authScreen .creator-credit { margin: 4px 0 0; font-size: 10.5px; }
#authScreen .auth-gonder { min-height: 50px; }

/* Sözleşmenin başındaki "kısaca" kutusu (09.09.2026) */
.eula-text .eula-ozet { margin: 0 0 14px; padding: 11px 13px; border-radius: 12px;
  background: #eef7f2; border: 1px solid #cfe4d9; color: var(--ink); font-size: 13px; line-height: 1.5; }
.eula-text ul { margin: 6px 0 10px; padding-left: 18px; }
.eula-text li { margin-bottom: 5px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* Kurulum ekranı: kart başlıklarını inceltip görseli kaldır — tek ekrana yaklaşsın (09.09.2026) */
#authScreen .ag-ic { display: none; }
#authScreen .ag-bas p { display: none; }
#authScreen .ag-bas h2 { font-size: 12px; font-weight: 800; letter-spacing: .5px;
  text-transform: uppercase; color: var(--muted); }
#authScreen .ag-ust { margin-bottom: 0; }
#authScreen .auth-gorsel { display: none; }
#authScreen .auth-hero-txt h1 { font-size: 23px; }
#authScreen .auth-grup { padding: 10px 12px; gap: 6px; }
#authScreen .leads-note.bilgi-kutu { padding: 7px 9px; font-size: 11px; }

/* --- Profil başlığı: dar ekranda dağınık duruyordu (09.09.2026, Kenan) ---
   Ad + meslek + "Düzenle" 375px'te aynı satıra sığmıyordu; meslek ikiye bölünüyor,
   rozet de aralarında sıkışıyordu. Rozetler artık başlığın ALTINDA tam genişlikte. */
.ps-top { align-items: center; gap: 11px; }
.ps-id strong { font-size: 17px; line-height: 1.2; }
.ps-id span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.3; }
.ps-edit { padding: 7px 11px; font-size: 12.5px; align-self: flex-start; }
#profileSummary .ps-rozetler { display: flex; flex-wrap: wrap; gap: 6px; margin: 11px 0 0; }
#profileSummary .ps-rozetler:empty { display: none; }
#profileSummary .ps-hesap-rozet { font-size: 11px; padding: 4px 10px; }
/* 360px altı: "Düzenle" yazısı gizlenir, kalem ikonu kalır — ad satırı nefes alsın. */
@media (max-width: 370px) {
  .ps-edit { padding: 8px; gap: 0; font-size: 0; }
  .ps-edit svg { width: 17px; height: 17px; }
}

/* ===== MALZEME PAZARI (10.09.2026) — İlan Panosu'nun üçüncü türü ===== */
.ilan-tur-rozet.itr-urun { background: #fdf3e2; color: #8c5c0c; border-color: #eccfa6; }
.ilan-urun-ad { margin: 6px 0 0; font-size: 15.5px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.ilan-urun-fiyat { margin: 2px 0 0; font-size: 17px; font-weight: 800; color: var(--accent); }
.ilan-detay-fiyat { margin: 4px 0 0; font-size: 24px; font-weight: 800; color: var(--accent); }
.ilan-ilgi.ilan-wa-ipucu { color: #128455; font-weight: 700; }

/* ÜRÜN KARTI (16.09.2026): kapak + sıra no + birim fiyat + fiyat tarihi */
.ilan-row.urun-row { flex-direction: row; align-items: flex-start; gap: 12px; }
.urun-kapak { position: relative; flex: 0 0 78px; width: 78px; height: 78px; border-radius: 14px; overflow: hidden;
  background: #f4efe4; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.urun-kapak img { width: 100%; height: 100%; object-fit: cover; display: block; }
.urun-kapak-ikon { font-size: 30px; line-height: 1; }
.urun-sira { position: absolute; top: 5px; left: 5px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; line-height: 22px; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.urun-govde { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.urun-ust { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.urun-row .ilan-urun-ad { margin: 2px 0 0; overflow-wrap: anywhere; }
.urun-marka { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.urun-fiyat-satir { margin: 2px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.urun-fiyat-satir strong { font-size: 16.5px; font-weight: 800; color: var(--accent); }
.urun-fiyat-satir.doldu strong { font-size: 14px; color: var(--muted); }
.urun-kdv { padding: 1px 7px; border: 1px solid #eccfa6; border-radius: 999px; background: #fdf3e2;
  color: #8c5c0c; font-size: 11px; font-weight: 700; }
.urun-fiyat-not { margin: 0; font-size: 11.5px; color: var(--muted); }
.urun-bilgi { margin: 1px 0 0; font-size: 12.5px; color: var(--ink); overflow-wrap: anywhere; }
.urun-row .ilan-dip { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.urun-row .ilan-dip .cd-date { flex: 0 0 auto; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.urun-row.urun-tukendi .urun-kapak { filter: grayscale(1); opacity: .7; }

/* Ürün detayı */
.urun-galeri { display: flex; gap: 8px; margin: 4px 0 10px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 16px; }
.urun-foto { position: relative; flex: 0 0 100%; max-width: 100%; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: 16px; background: #f4efe4; scroll-snap-align: center; }
.urun-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.urun-foto.yukleniyor img { filter: blur(6px); transform: scale(1.05); }
.urun-foto-no { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px;
  background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 700; }
.urun-fiyat-kutu { margin: 10px 0 4px; padding: 12px 14px; border: 1px solid #eccfa6; border-radius: 14px; background: #fdf8ee; }
.urun-fiyat-kutu.doldu { border-color: var(--line); background: var(--surface); }
.ufk-ana { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.2; color: var(--accent); overflow-wrap: anywhere; }
.urun-fiyat-kutu.doldu .ufk-ana { font-size: 19px; color: var(--ink); }
.ufk-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ufk-cipler span { padding: 2px 9px; border: 1px solid #eccfa6; border-radius: 999px; background: #fff;
  color: #8c5c0c; font-size: 12px; font-weight: 700; }
.ufk-not { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); }
.urun-durum-liste { display: flex; flex-direction: column; gap: 6px; }
.urun-durum-satir { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); color: var(--ink); font-size: 14px; }
.uds-ik { flex: 0 0 auto; width: 22px; text-align: center; }
.urun-satici-sayilar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.urun-satici-sayilar div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px;
  border-radius: 12px; background: #f3f7f5; text-align: center; }
.urun-satici-sayilar strong { font-size: 16px; color: var(--primary-dark); }
.urun-satici-sayilar span { font-size: 11px; line-height: 1.25; color: var(--muted); }
.urun-sahip-arac { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
/* İlanı düzenle / sil (16.09.2026) */
.ilan-duzen-eylem { display: flex; gap: 8px; margin: 10px 0; }
.ilan-duzen-eylem button { flex: 1; }
.ilan-sil-btn { border-color: #e6b8b2; color: #b3261e; }
/* Dükkânım (16.09.2026) */
.dukkan-btn { width: 100%; margin: 6px 0 10px; }
.dukkan-kart .ilan-baslik { margin: 0 0 4px; }
.dukkan-form { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; }
.dukkan-form .ilan-ver-btn { margin-top: 12px; }
.urun-satici-satir { margin: 1px 0 0; font-size: 12.5px; font-weight: 700; color: var(--primary-dark); overflow-wrap: anywhere; }
.urun-dukkan-link { display: block; width: 100%; margin-top: 10px; text-align: center; text-decoration: none; }
.dukkan-sayfa-kutu { display: flex; flex-direction: column; gap: 8px; margin-bottom: 6px; }
/* Ek çalışma alanları (16.09.2026) */
.ms-ek { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; padding: 12px 14px;
  border: 1px dashed var(--primary); border-radius: 14px; background: #f3faf6; }
.ms-ek > strong { font-size: 14.5px; color: var(--primary-dark); }
.ms-ek > small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.ms-ek-cipler { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.ms-ek-cip { min-height: 0; padding: 6px 10px; border: 1px solid var(--primary); border-radius: 999px;
  background: #fff; color: var(--primary-dark); font-size: 12.5px; font-weight: 700; }
.ms-ek-bos { font-size: 12px; color: var(--muted); }
.ms-ek-ekle { align-self: flex-start; min-height: 0; margin-top: 4px; padding: 8px 12px; border: 1px solid var(--primary);
  border-radius: 12px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }
.ms-satir.sec .ms-ek-tik { color: var(--primary); font-weight: 800; }
.dukkan-link { margin: 0; padding: 9px 11px; border: 1px dashed var(--primary); border-radius: 12px;
  background: #eef7f2; color: var(--primary-dark); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }

/* Form: sayı + birim, fotoğraflar */
.urun-birim-cipler { margin-top: 8px; }
.urun-foto-kutular { display: flex; flex-wrap: wrap; gap: 8px; }
.urun-foto-kucuk { position: relative; width: 84px; height: 84px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.urun-foto-kucuk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.urun-foto-sil { position: absolute; top: 3px; right: 3px; width: 26px; height: 26px; min-height: 0; padding: 0; border: 0;
  border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; line-height: 26px; }
.urun-foto-ekle { display: flex; align-items: center; justify-content: center; width: 84px; height: 84px;
  border: 1.5px dashed var(--primary); border-radius: 12px; background: #eef7f2; color: var(--primary-dark);
  font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; }

/* WhatsApp düğmesi — uygulamanın yeşilinden AYRI dursun ki ne olduğu anlaşılsın */
.ilan-wa-btn { display: flex; align-items: center; justify-content: center; width: 100%;
  min-height: 52px; margin-top: 14px; border-radius: 14px; background: #25d366; color: #fff;
  font-size: 16.5px; font-weight: 800; text-decoration: none; border: 0; }
.ilan-wa-btn:active { background: #1eb655; }

/* Formdaki WhatsApp anahtarı */
.ilan-wa-anahtar { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-align: left; }
.ilan-wa-anahtar.on { border-color: #25d366; background: #f0fbf4; }
.iwa-ik { font-size: 20px; line-height: 1; }
.iwa-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iwa-txt strong { font-size: 14.5px; color: var(--ink); }
.iwa-txt small { font-size: 12px; color: var(--muted); }
.iwa-sw { flex: 0 0 auto; position: relative; width: 44px; height: 26px; border-radius: 999px; background: #d6ded9; }
.iwa-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px;
  border-radius: 50%; background: #fff; transition: left .16s; }
.ilan-wa-anahtar.on .iwa-sw { background: #25d366; }
.ilan-wa-anahtar.on .iwa-sw::after { left: 21px; }

/* Stoktan seç kısayolu */
.ilan-stok-sec { display: flex; align-items: center; gap: 12px; width: 100%; margin: 4px 0 12px;
  padding: 12px 14px; border: 1px solid var(--primary); border-radius: 14px; background: #eef7f2; text-align: left; }
.iss-ik { font-size: 20px; line-height: 1; }
.iss-txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iss-txt strong { font-size: 14.5px; color: var(--primary-dark); }
.iss-txt small { font-size: 12px; color: var(--muted); }
.iss-ok { font-size: 20px; font-weight: 700; color: var(--primary); }

/* Şikâyet satırı — her ilanın altında */
.ilan-sikayet { display: block; width: 100%; margin-top: 16px; padding: 11px 12px;
  border: 1px solid #eccfa6; border-radius: 13px; background: #fdf6ea;
  color: #8a5b12; font-size: 12.5px; font-weight: 600; }

/* Stoktan seç penceresi */
.app-select-liste { display: flex; flex-direction: column; gap: 6px; max-height: 46vh; overflow-y: auto; margin: 8px 0 4px; }
.app-select-satir { width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); font-size: 14px; text-align: left; }
.app-select-satir:active { background: #eef5f1; }

/* --- İlan Panosu ek düzenlemeler (10.09.2026) --- */
.ilan-yapildi { color: #0f6e56; font-weight: 800; }
.ilan-uygun-rozet { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px;
  background: #fdf3e2; color: #8c5c0c; font-size: 10.5px; font-weight: 800; }
.ilan-sira-cipler { margin: 10px 0 4px; }
.ilan-sure-uyari { margin: 6px 0 0; font-size: 12.5px; font-weight: 700; color: #a2600d; }
.ilan-sure-eylem { display: flex; gap: 8px; margin: 10px 0 4px; }
.ilan-sure-eylem button { flex: 1; min-height: 44px; border-radius: 13px; font-size: 14px; font-weight: 700; }
.ilan-bitmis { opacity: .62; }
.ilan-bitmis .ilan-tur-rozet { filter: grayscale(1); }

/* ============================================================
   DAR EKRAN DÜZENİ (10.09.2026, Kenan: "satır uzun kalmış,
   butonlar dik kaldığı için hoş görünmemiş")

   1) 460px altında .two-col / .three-col ZORLA tek sütuna
      düşüyordu; iki haneli bir sayı (Periyot, Hazırlık payı,
      Kaç gün önce hatırlat) tüm ekranı kaplıyordu. Artık yer
      varsa yan yana, yoksa kendiliğinden alt alta geçer.
   2) Talep formundaki 4 düğme tek satırda flex:1 ile
      bölüşüyor, metin dikey sarılıyordu. Izgaraya alındı.
   ============================================================ */
.two-col { grid-template-columns: repeat(auto-fit, minmax(148px, 1fr)); }
.three-col { grid-template-columns: repeat(auto-fit, minmax(104px, 1fr)); }
.two-col > label, .three-col > label { min-width: 0; }
.two-col > label > input, .two-col > label > select, .two-col > label > textarea,
.three-col > label > input, .three-col > label > select, .three-col > label > textarea { width: 100%; }

/* Dar sütunda uzun etiket kırpılmasın, alta sarsın */
.two-col > label, .three-col > label { overflow-wrap: anywhere; }

/* Talep / Keşif Formu düğmeleri */
.intake-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.intake-actions button {
  flex: none;
  width: auto;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
  white-space: normal;
}
#intakeWhatsForm, #intakePasteReply { grid-column: 1 / -1; }

/* Tek başına duran kısa sayı alanları tüm satırı kaplamasın */
#maintenanceReminderDays, #apptTravel, #apptBuffer,
#appointmentTravel, #appointmentBuffer { max-width: 100%; }
label > #maintenanceReminderDays { max-width: 150px; }

/* ============================================================
   TARİH / SAAT KUTULARI (10.09.2026, Kenan)

   Tarih/saat alanları yan yana dizilince ikinci kutu sağa
   taşıyordu. Sebep: number/text kutuları her genişliğe
   büzülür, ama tarih/saat kutusunun içini Android kendi
   çiziyor (gg.aa.yyyy + takvim ikonu) ve o içerik büzülmez;
   ızgara sütunundan taşıp yandakine yapışmış görünüyordu.

   Ölçü referansı Kenan'ın işaret ettiği "Tahmini yol süresi /
   Hazırlık payı" ikilisi: aynı yükseklik, aynı yazı boyu,
   aralarında aynı boşluk. Yalnız yatay iç boşluk kırpıldı ve
   ikon daraltıldı ki içerik kutunun içinde kalsın.
   ============================================================ */
input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {
  /* iPhone (Safari / WKWebView, 15.09.2026 Kenan ekranı): yerel görünüm açıkken kutu kendi
     genişliğini dayatıp min-width'i dinlemiyor, sütundan ve ekrandan taşıyordu. Görünümü
     sıfırlayıp genişliği sütuna bağla; boşken iOS'ta çökmemesi için yükseklik diğer kutularla aynı. */
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  min-height: 40px;
  padding-left: 8px;
  padding-right: 6px;
}
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value,
input[type="datetime-local"]::-webkit-date-and-time-value {
  min-width: 0;
  margin: 0;
  text-align: left;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  flex: 0 0 auto;
  margin: 0 0 0 2px;
  padding: 0;
  opacity: .55;
}

/* Izgara sütunu kutuyu daraltabilsin (min-width:auto kilidi kalksın) */
.two-col > label, .three-col > label, .cs-ikili > label { min-width: 0; }
.two-col > label > input, .two-col > label > select,
.three-col > label > input, .three-col > label > select,
.cs-alan > input, .cs-alan > select { min-width: 0; max-width: 100%; }

/* İkili alanlar arasında net boşluk; çok dar ekranda kendiliğinden alt alta */
.two-col { gap: 10px; }
.cs-ikili { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }


/* ============================================================
   BULUT EŞİTLEME KARTI (11.09.2026) — Yedekleme sayfasının başı
   ============================================================ */
.kb-kart { padding: 14px 14px 14px; display: grid; gap: 10px; }
.kb-ust { display: flex; align-items: center; gap: 12px; }
.kb-ik {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: #0f5a3d; background: color-mix(in srgb, #0f5a3d 10%, transparent);
}
.kb-txt { flex: 1 1 auto; min-width: 0; display: grid; gap: 2px; }
.kb-txt strong { font-size: 15.5px; }
.kb-txt small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.kb-aciklama { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.kb-eylem { display: flex; gap: 8px; flex-wrap: wrap; }
.kb-eylem button { flex: 1 1 160px; min-height: 42px; border-radius: 12px; font-weight: 700; }
.kb-eylem button[hidden] { display: none; }
.kb-sifre { width: 100%; margin: 4px 0 12px; }
.kb-getir-say { margin: 10px 0 2px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--primary, #236B5B); }
[data-theme="dark"] .kb-ik { color: #6fceb4; background: rgba(111,206,180,.12); }


/* ============================================================
   USTA VİTRİNİ (14.09.2026) — Vitrin Sayfam ekranı, form bölümü,
   tanıtım görseli ekranı
   ============================================================ */
.vt-ov { position: fixed; inset: 0; z-index: 60; background: var(--bg, #f3f7f5); display: flex; flex-direction: column; }
.vt-ust { display: flex; align-items: center; gap: 10px; padding: max(10px, env(safe-area-inset-top)) 14px 10px; background: var(--surface, #fff); border-bottom: 1px solid var(--line, #dce6e1); }
.vt-ust strong { font-size: 17px; }
.vt-geri { width: 40px; height: 40px; border-radius: 12px; border: 0; background: color-mix(in srgb, #236B5B 10%, transparent); color: #236B5B; font-size: 26px; line-height: 1; cursor: pointer; }
.vt-govde { flex: 1; overflow-y: auto; padding: 14px 14px 40px; display: grid; gap: 12px; align-content: start; }
.vt-kart { background: var(--surface, #fff); border: 1px solid var(--line, #dce6e1); border-radius: 18px; padding: 14px; display: grid; gap: 10px; }
.vt-durum-satir { display: flex; align-items: center; gap: 12px; }
.vt-durum-satir > div { flex: 1; display: grid; gap: 2px; }
.vt-durum-satir small { color: var(--muted, #5b6e68); font-size: 12.5px; line-height: 1.4; }
.vt-link { background: color-mix(in srgb, #236B5B 7%, transparent); border-radius: 12px; padding: 10px 12px; font-weight: 700; color: #236B5B; font-size: 13.5px; overflow-wrap: anywhere; }
.vt-eylem { display: flex; gap: 8px; flex-wrap: wrap; }
.vt-eylem button { flex: 1 1 150px; min-height: 44px; border-radius: 12px; font-weight: 700; }
.vt-ana button { min-height: 48px; }
.vt-turuncu { background: #EF8322 !important; border-color: #EF8322 !important; }
.vt-eksik { background: #fdf3e7; border-color: #f3d4ae; }
.vt-eksik strong { color: #9a4410; }
.vt-eksik ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #6b4a2b; }
.vt-lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #236B5B; margin: 6px 2px 0; }
.vt-lbl small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted, #5b6e68); }
.vt-kimlik { display: flex; gap: 12px; align-items: center; }
.vt-av { width: 72px; height: 72px; border-radius: 50%; flex: 0 0 auto; background: #d6ebe3 center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 24px; color: #236B5B; }
.vt-kimlik > div { display: grid; gap: 1px; min-width: 0; }
.vt-ad { font-size: 18px; }
.vt-meslek { color: #c9650f; font-weight: 700; font-size: 14px; }
.vt-yer { color: var(--muted, #5b6e68); font-size: 13px; }
.vt-rozet { justify-self: start; background: #e6f4ec; color: #1f7a45; border-radius: 999px; padding: 2px 9px; font-size: 12px; font-weight: 700; margin-top: 3px; }
.vt-istat { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; }
.vt-istat div { background: color-mix(in srgb, #236B5B 7%, transparent); border-radius: 12px; padding: 8px 10px; display: grid; }
.vt-istat strong { font-size: 16px; font-variant-numeric: tabular-nums; }
.vt-istat span { font-size: 11.5px; color: var(--muted, #5b6e68); }
.vt-tel { margin: 0; font-weight: 700; font-size: 14px; }
.vt-alt { margin: 4px 0 0; font-weight: 700; font-size: 13px; }
.vt-hakkinda { margin: 0; font-size: 14px; white-space: pre-line; color: var(--ink, #15312a); }
.vt-chipler { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-chip { display: inline-flex; align-items: center; gap: 6px; background: color-mix(in srgb, #236B5B 9%, transparent); border-radius: 999px; padding: 5px 11px; font-size: 13px; font-weight: 600; }
.vt-chip button { border: 0; background: none; color: #9a4410; font-size: 12px; padding: 0 0 0 2px; cursor: pointer; }
.vt-bos { font-size: 13px; color: var(--muted, #5b6e68); }
.vt-galeri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.vt-galeri div { aspect-ratio: 1; border-radius: 10px; background: #eaf2ee center/cover no-repeat; }
.vt-not { margin: 0; font-size: 12px; color: var(--muted, #5b6e68); line-height: 1.5; }
.vt-alan { display: grid; gap: 8px; margin: 4px 0 8px; }
.vt-ekle-satir { display: flex; gap: 8px; }
.vt-ekle-satir input { flex: 1; min-width: 0; }
.vt-fotolar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vt-foto { position: relative; aspect-ratio: 1; border-radius: 12px; background: #eaf2ee center/cover no-repeat; }
.vt-foto button { position: absolute; top: 5px; right: 5px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; cursor: pointer; }
.vt-foto-ekle { aspect-ratio: 1; border-radius: 12px; border: 1.5px dashed #9fbdb2; background: transparent; color: #236B5B; font-weight: 700; cursor: pointer; }
.vt-onay { display: flex !important; align-items: flex-start; gap: 10px; font-weight: 600; }
.vt-onay input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex: 0 0 auto; }
.vt-secim { display: grid; gap: 6px; }
.vt-cipler { display: flex; flex-wrap: wrap; gap: 6px; }
.vt-cip { border: 1.5px solid var(--line, #dce6e1); background: var(--surface, #fff); border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 13px; cursor: pointer; color: inherit; }
.vt-cip.on { border-color: #236B5B; background: #236B5B; color: #fff; }
.vt-gorsel-onizle { position: relative; background: #e3ebe7; border-radius: 16px; padding: 10px; display: flex; justify-content: center; min-height: 160px; }
.vt-gorsel-onizle img { max-width: 100%; max-height: 62vh; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.vt-bekle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-weight: 700; color: #236B5B; display: none; }
.vt-gorsel-onizle.yukleniyor .vt-bekle { display: block; }
.vt-gorsel-onizle.yukleniyor img { opacity: .35; }
[data-theme="dark"] .vt-ov { background: #0e1513; }
[data-theme="dark"] .vt-eksik { background: #2b2116; border-color: #4a3620; }
[data-theme="dark"] .vt-eksik strong, [data-theme="dark"] .vt-eksik ul { color: #f2c291; }

.vt-talep-serit { display: grid; gap: 8px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, #236B5B 8%, transparent); border: 1px solid color-mix(in srgb, #236B5B 22%, transparent); }
.vt-talep-serit p { margin: 0; font-size: 13.5px; line-height: 1.45; }
.vt-talep-serit button { justify-self: start; min-height: 40px; border-radius: 11px; font-weight: 700; }

/* VİTRİN YORUMLARI (14.09.2026) */
.vt-puan { margin: 0; font-weight: 800; color: #b7791f; letter-spacing: .02em; }
.vt-yorumlar { gap: 0; padding: 4px 14px; }
.vt-yorum { display: grid; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line, #dce6e1); }
.vt-yorum:first-child { border-top: 0; }
.vt-yorum.gizli { opacity: .55; }
.vt-yorum-bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vt-yildiz { color: #d69e2e; font-size: 15px; letter-spacing: 1px; white-space: nowrap; }
.vt-yorum-alt { font-size: 12px; color: var(--muted, #5b6e68); }
.vt-cevap { margin-top: 4px; padding: 8px 10px; border-left: 3px solid #236B5B; background: color-mix(in srgb, #236B5B 6%, transparent); border-radius: 0 10px 10px 0; }
.vt-cevap strong { font-size: 12px; color: #236B5B; }
.vt-cevap p { margin: 2px 0 0; font-size: 13.5px; }
.vt-yorum-eylem { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.vt-yorum-eylem .secondary { min-height: 36px; padding: 6px 12px; border-radius: 10px; font-weight: 700; }
.vt-yorum-sikayet { border: 0; background: none; color: #9a4410; font-weight: 600; font-size: 13px; cursor: pointer; padding: 6px 4px; }
.vt-metin-sor { width: 100%; margin: 4px 0 12px; }

/* vt-genislik (14.09.2026): geniş ekranda vitrin ekranları okunur genişlikte ortalansın */
.vt-govde { width: 100%; max-width: 760px; margin: 0 auto; box-sizing: border-box; }
.vt-ust { padding-left: max(14px, calc((100% - 760px) / 2)); padding-right: max(14px, calc((100% - 760px) / 2)); }

/* yuk-gosterge (14.09.2026): bulut beklerken üstte ince çubuk + gecikirse "Yükleniyor…" etiketi */
.yuk-bar { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 3px; z-index: 10050; overflow: hidden; background: rgba(35, 107, 91, .16); pointer-events: none; }
.yuk-bar::before { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 40%; border-radius: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); animation: yukKay 1.1s ease-in-out infinite; }
@keyframes yukKay { from { left: -40%; } to { left: 100%; } }
.yuk-pill { position: fixed; top: calc(env(safe-area-inset-top, 0px) + 14px); left: 50%; transform: translateX(-50%); z-index: 10050; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 26px rgba(0, 0, 0, .18); pointer-events: none; animation: yukBelir .18s ease-out; }
.yuk-don { flex: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(35, 107, 91, .22); border-top-color: var(--primary); animation: yukDon .75s linear infinite; }
@keyframes yukDon { to { transform: rotate(360deg); } }
@keyframes yukBelir { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes yukGec { from { opacity: 0; } to { opacity: 1; } }
/* Veri bekleyen ekran gövdesi boşken: kısa gecikmeyle dönen halka + yazı (hızlı açılışta hiç görünmez) */
#leadsBody:empty, .leads-cizim:empty, #custPageBody:empty { position: relative; min-height: 150px; }
#leadsBody:empty::before, .leads-cizim:empty::before, #custPageBody:empty::before { content: ""; position: absolute; top: 38px; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; border: 3px solid rgba(35, 107, 91, .2); border-top-color: var(--primary); animation: yukDon .75s linear infinite, yukGec .2s .35s both; }
#leadsBody:empty::after, .leads-cizim:empty::after, #custPageBody:empty::after { content: "Yükleniyor…"; position: absolute; top: 80px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 14px; font-weight: 600; animation: yukGec .2s .35s both; }
@media (prefers-reduced-motion: reduce) { .yuk-bar::before { animation-duration: 2.4s; } .yuk-don { animation-duration: 1.6s; } }

/* ae-kart (14.09.2026): telefon tarayıcısında "ana ekrana ekle" önerisi */
.ae-kart { position: fixed; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); z-index: 10040; display: flex; align-items: center; gap: 12px; max-width: 520px; margin: 0 auto; padding: 12px 8px 12px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 12px 34px rgba(0, 0, 0, .2); animation: aeBelir .22s ease-out; }
.ae-ikon { flex: none; width: 44px; height: 44px; border-radius: 11px; }
.ae-yazi { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ae-yazi strong { font-size: 14.5px; font-weight: 800; }
.ae-yazi span { font-size: 13px; line-height: 1.35; color: var(--muted); }
.ae-ekle { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.ae-kapat { flex: none; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; }
@keyframes aeBelir { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ks-panel (14.09.2026): ekip bulutuna gidemeyen kayıtlar */
.ks-panel { max-width: 460px; }
.ks-not { margin: 0 0 10px; padding: 9px 11px; border-radius: 10px; background: #fff4e8; color: #7a4210; font-size: 13.5px; font-weight: 600; line-height: 1.4; text-align: left; }
.ks-liste { display: grid; gap: 8px; max-height: 46vh; overflow-y: auto; margin: 4px 0 6px; text-align: left; }
.ks-oge { padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--danger); border-radius: 10px; background: var(--surface); }
.ks-oge.bekliyor { border-left-color: var(--accent); }
.ks-ad { margin: 0 0 3px; color: var(--ink); font-size: 14.5px; font-weight: 800; }
.ks-neden { margin: 0; color: var(--ink); font-size: 13.5px; line-height: 1.4; }
.ks-kod { margin: 5px 0 0; color: var(--muted); font-size: 11.5px; word-break: break-all; }
.ks-kaldir { display: block; min-height: 36px; margin: 0 auto 4px; border: 0; background: none; color: var(--danger); font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ks-teshis { margin: 0 0 10px; padding: 10px 12px; border: 1px solid rgba(35, 107, 91, .32); border-radius: 10px; background: #eaf4f0; color: var(--ink); font-size: 13.5px; line-height: 1.45; text-align: left; }
.ks-teshis p { margin: 0 0 8px; font-weight: 600; }
.ks-teshis p:last-child { margin-bottom: 0; }
.ks-teshis button { width: 100%; min-height: 42px; border: 0; border-radius: 10px; background: var(--primary); color: #fff; font: inherit; font-size: 14.5px; font-weight: 800; cursor: pointer; }
.ks-teshis button:disabled { opacity: .65; }

/* İş Fırsatları — sola kaydırınca Sil, detayda yönetim (16.09.2026) */
.kaydir-kap { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.kaydir-kap > :not(.kaydir-sil) { position: relative; z-index: 1; margin-bottom: 0; touch-action: pan-y; }
.kaydir-sil { position: absolute; top: 0; right: 0; bottom: 0; width: 88px; border: none; background: #c0392b; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.firsat-yonetim { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.firsat-yonetim > button { flex: 1 1 160px; }
.firsat-yonetim .firsat-kaldir { color: #b93a32; border-color: #e8b4ae; }
.firsat-kaldirilan-link { display: block; margin: 14px auto 4px; background: none; border: none; color: var(--muted, #6b7a75); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.musteri-sil-btn { display: block; width: 100%; margin: 16px 0 4px; color: #b93a32; border-color: #e8b4ae; }
/* Kendi aralığı (gap) olan listelerde kaydırma kutusu ek boşluk vermesin (16.09.2026) */
.record-list > .kaydir-kap, .appointment-list > .kaydir-kap, .maintenance-list > .kaydir-kap { margin-bottom: 0; }
/* Sil düğmesi yalnız kaydırırken görünür — yarı saydam (geçmiş/garantisiz/tükenen) satırların içinden görünmesin (16.09.2026) */
.kaydir-kap:not(.kaydiriyor) > .kaydir-sil { visibility: hidden; }
/* ── PUANTAJ & YEVMİYE (17.09.2026) ── */
#puantajBody { display: flex; flex-direction: column; gap: 10px; }
#puantajBody .kaydir-kap { margin-bottom: 0; }
#puantajBody .cust-doc { margin: 0; }
.pj-sekmeler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: #eef3f0; border-radius: 12px; padding: 4px; }
.pj-sekme { border: none; background: transparent; border-radius: 9px; padding: 8px 2px; font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; min-height: 38px; }
.pj-sekme.on { background: var(--surface); color: var(--primary-dark); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.pj-tarih { display: flex; align-items: center; gap: 8px; }
.pj-tarih strong { flex: 1; text-align: center; font-size: 14px; }
.pj-tarih-orta { position: relative; flex: 1; min-width: 0; text-align: center; font-size: 14px; }
.pj-tarih-gizli { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pj-ok { width: 40px; min-height: 38px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; font-size: 20px; font-weight: 700; color: var(--primary); cursor: pointer; flex: none; }
.pj-santiye { width: 100%; }
.pj-liste { display: flex; flex-direction: column; gap: 8px; }
.pj-satir { padding: 10px 12px; }
.pj-satir-ust { display: flex; align-items: center; gap: 8px; }
.pj-ad { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pj-ad strong { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-alt { font-size: 12px; color: var(--muted); margin: 0; }
.pj-cipler { display: flex; gap: 4px; flex: none; }
.pj-cip { min-width: 40px; min-height: 36px; padding: 0 7px; border: 1px solid #dfe8e3; border-radius: 9px; background: var(--surface); font-size: 12.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.pj-cip.on-t { background: #1f8a5b; border-color: #1f8a5b; color: #fff; }
.pj-cip.on-y { background: #e3a008; border-color: #e3a008; color: #fff; }
.pj-cip.on-r { background: #c0392b; border-color: #c0392b; color: #fff; }
.pj-cip.on-g { background: #5b6b8c; border-color: #5b6b8c; color: #fff; }
.pj-gun-bilgi { margin-top: 6px; }
.pj-ayrinti { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.pj-ayrinti > button { grid-column: 1 / -1; }
.pj-alan { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 0; }
.pj-alan input, .pj-alan select { width: 100%; }
.pj-form { display: flex; flex-direction: column; gap: 10px; }
.pj-tam { width: 100%; }
.pj-kartlar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pj-kartlar.uc { grid-template-columns: repeat(3, 1fr); }
.pj-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pj-kart.vurgu { background: #eef7f2; border-color: #bfe0cf; }
.pj-kart-l { font-size: 11.5px; color: var(--muted); }
.pj-kart-n { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.pj-kart.vurgu .pj-kart-n { color: var(--primary-dark); }
.pj-hedef { display: flex; flex-direction: column; gap: 8px; }
.pj-hedef-sat { display: flex; gap: 8px; align-items: center; }
.pj-hedef-sat input { flex: 1; min-width: 0; }
.pj-ilerleme { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.pj-cubuk { height: 9px; background: #e5ece8; border-radius: 99px; overflow: hidden; }
.pj-cubuk i { display: block; height: 100%; background: #1f8a5b; border-radius: 99px; }
.pj-cubuk i.geride { background: #d9822b; }
.pj-hedef-mesaj { font-size: 12.5px; font-weight: 700; color: var(--primary-dark); }
.pj-hedef-mesaj.geride { color: #b5561a; }
.pj-tablo-sar { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pj-tablo { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pj-tablo th, .pj-tablo td { padding: 7px 3px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.pj-tablo th { color: var(--muted); font-weight: 700; font-size: 11.5px; }
.pj-tablo .sol { text-align: left; padding-left: 8px; max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
.pj-tablo .sag { text-align: right; padding-right: 8px; font-weight: 700; }
.pj-tablo .d-t { color: #1f8a5b; } .pj-tablo .d-y { color: #c88a00; } .pj-tablo .d-r { color: #c0392b; } .pj-tablo .d-g { color: #5b6b8c; } .pj-tablo .bos { color: #c5cfca; }
.pj-calisan-satir { display: flex; align-items: center; gap: 10px; padding: 11px 12px; }
.pj-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.pj-arti { color: #1f7a50; } .pj-eksi { color: #b93a32; }
.pj-kisi-bas { display: flex; flex-direction: column; gap: 3px; }
.pj-kisi-bas strong { font-size: 18px; }
.pj-eylem { display: flex; gap: 8px; }
.pj-eylem > button { flex: 1; min-width: 0; padding-left: 6px; padding-right: 6px; }
.pj-cetele-satir { display: grid; grid-template-columns: 42px 1fr auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 8px 10px; font-size: 13px; }
.pj-cetele-satir .pj-ct { grid-row: 1 / 3; }
.pj-cetele-satir .pj-cm { overflow-wrap: anywhere; grid-row: 1 / 3; }
.pj-cetele-satir > span:nth-child(3) { grid-column: 3; grid-row: 1; font-weight: 700; text-align: right; }
.pj-cetele-satir .pj-cb { grid-column: 3; grid-row: 2; font-size: 11.5px; color: var(--muted); text-align: right; font-weight: 600; }
.pj-onay { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.pj-onay input { width: 20px; height: 20px; }
.pj-not { text-align: center; margin-top: 6px; }
[data-theme="dark"] .pj-sekmeler { background: #1d2723; }
[data-theme="dark"] .pj-kart.vurgu { background: #183028; border-color: #2c4a3d; }
[data-theme="dark"] .pj-cubuk { background: #2c3a34; }
.pj-kutucuk-ayar { margin-top: 18px; }
/* ── PUANTAJ 2. aşama ── */
.pj-tablo .pj-hucre { cursor: pointer; user-select: none; }
.pj-tablo td.pj-hucre { font-size: 15px; }
.pj-tablo th.bugun { color: var(--primary-dark); text-decoration: underline; }
.pj-kar { display: flex; flex-direction: column; gap: 5px; }
.pj-kar-sat { display: flex; justify-content: space-between; font-size: 13.5px; }
.pj-kar-sat.toplam { border-top: 1px solid var(--line); padding-top: 5px; font-weight: 700; }
.pj-rapor-liste { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
/* ── PUANTAJ işe göre düzen (v4.55) ── */
.pj-sekmeler.uc { grid-template-columns: repeat(3, 1fr); }
.pj-ust { display: flex; justify-content: space-between; gap: 8px; }
.pj-tek-satir { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-is-kart { display: flex; flex-direction: column; gap: 4px; }
.pj-kalem { display: flex; flex-direction: column; gap: 5px; }
.pj-yuzde { font-size: 15px; color: var(--primary-dark); flex: none; }
.pj-ekip-sat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pj-ekip-sat.on { border-color: #bfe0cf; background: #f3faf6; }
.pj-ekip-btn { flex: none; min-width: 96px; }
.pj-ad-btn { background: none; border: none; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.pj-ad-btn strong { color: var(--primary-dark); }
.pj-odeme-sat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.pj-alan textarea { width: 100%; resize: vertical; font: inherit; }
.pj-alan > .pj-alt { font-weight: 400; }
[data-theme="dark"] .pj-ekip-sat.on { background: #183028; border-color: #2c4a3d; }
/* ── PUANTAJ v4.56 yarımşar ── */
.pj-tablo td.coklu { text-decoration: underline dotted; text-underline-offset: 3px; }
.pj-diger-is { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; color: #5b6b8c; }
/* ── PUANTAJ v4.58 kişi hesap dökümü ── */
.pj-bakiye { font-size: 16px; }
.pj-bakiye-kutu { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; margin: 0; }
.pj-bakiye-kutu strong { font-size: 24px; }
.pj-bakiye-kutu.arti { background: #eef7f2; border-color: #bfe0cf; } .pj-bakiye-kutu.arti strong { color: #1f7a50; }
.pj-bakiye-kutu.eksi { background: #fbefed; border-color: #efc4be; } .pj-bakiye-kutu.eksi strong { color: #b93a32; }
.pj-kapsam { margin: 0; }
.pj-devreden { padding: 6px 10px; background: #f4f6f5; border-radius: 9px; }
.pj-dokum-gun { display: flex; flex-direction: column; gap: 4px; padding: 9px 11px; }
.pj-dokum-ust { display: flex; align-items: center; gap: 8px; }
.pj-no { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--primary-dark); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pj-dokum-tarih { font-size: 14px; }
.pj-dokum-bakiye { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.pj-dokum-sat { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding-left: 32px; }
.pj-dokum-sat > span { overflow-wrap: anywhere; }
.pj-dokum-sat > strong { flex: none; }
.pj-dokum-sat.odeme > span { color: #8a4b12; }
[data-theme="dark"] .pj-bakiye-kutu.arti { background: #183028; border-color: #2c4a3d; }
[data-theme="dark"] .pj-bakiye-kutu.eksi { background: #3a2220; border-color: #5a3430; }
[data-theme="dark"] .pj-devreden { background: #1d2723; }
/* ── v4.59 ana sayfa kutuları + puantaj onay bağlantısı ── */
.ana-kutu-ic svg { width: 22px; height: 22px; }
.ana-kutu-sat.kapali { opacity: .65; }
.h2-tile { -webkit-touch-callout: none; user-select: none; }
.pj-paylasim { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; margin: 0; }
.pj-paylasim-durum { font-weight: 700; font-size: 13.5px; padding: 7px 10px; border-radius: 9px; background: #f4f6f5; }
.pj-paylasim-durum.onay { background: #e6f4ec; color: #1f7a50; }
.pj-paylasim-durum.itiraz { background: #fdeceb; color: #9b2f28; }
.pj-onay-rozet { font-size: 11px; font-weight: 700; color: var(--muted); }
.pj-onay-rozet.onay { color: #1f7a50; } .pj-onay-rozet.itiraz { color: #b93a32; }
[data-theme="dark"] .pj-paylasim-durum { background: #1d2723; }
[data-theme="dark"] .pj-paylasim-durum.onay { background: #183028; color: #8ee0b5; }
[data-theme="dark"] .pj-paylasim-durum.itiraz { background: #3a2220; color: #ffb3ab; }
/* ── STOK: filtre simgesi + ürün detayı (17.09.2026) ── */
.stock-arama-satir { display: flex; gap: 8px; align-items: flex-end; margin: 0 0 12px; }
.stock-arama-satir .search-field { flex: 1; min-width: 0; margin: 0; }
.stock-filtre-btn { position: relative; flex: none; width: 48px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.stock-filtre-btn.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.stock-filtre-rozet { position: absolute; top: -8px; right: -6px; background: #ec8329; color: #fff; font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.2); }

.sd { display: flex; flex-direction: column; gap: 12px; }
.sd-ust { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #236b5b, #1a5245); color: #fff; }
.sd-ust.sd-low { background: linear-gradient(135deg, #b8620f, #8f4a0a); }
.sd-ust.sd-empty { background: linear-gradient(135deg, #7a4640, #5a2f2b); }
.sd-ikon { flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.sd-kimlik { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.sd-ad { font-size: 18px; line-height: 1.2; overflow-wrap: anywhere; }
.sd-etiketler { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-etiket { font-size: 12px; font-weight: 600; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 9px; }
.sd-durum { flex: none; align-self: flex-start; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 4px 10px; background: #fff; }
.sd-durum-ok { color: #1a6b4a; } .sd-durum-low { color: #b8620f; } .sd-durum-empty { color: #a32d2d; }

.sd-seviye { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sd-mevcut { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sd-mevcut-l { width: 100%; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.sd-mevcut-n { font-size: 38px; line-height: 1; font-weight: 800; }
.sd-mevcut-b { font-size: 15px; color: var(--muted); font-weight: 600; }
.sd-renk-ok { color: #1a6b4a; } .sd-renk-low { color: #b8620f; } .sd-renk-empty { color: #a32d2d; }
.sd-cubuk { position: relative; height: 10px; border-radius: 99px; background: #e5ece8; overflow: visible; }
.sd-cubuk-dolu { display: block; height: 100%; border-radius: 99px; }
.sd-bg-ok { background: #1f8a5b; } .sd-bg-low { background: #e08a2c; } .sd-bg-empty { background: #c0392b; }
.sd-cubuk-min { position: absolute; top: -4px; width: 2px; height: 18px; background: #5d6f6a; border-radius: 2px; }
.sd-seviye-alt { font-size: 12.5px; color: var(--muted); }
.sd-uyari { font-size: 13px; font-weight: 700; border-radius: 10px; padding: 8px 10px; }
.sd-uyari-low { background: #fdf1e3; color: #8f4a0a; } .sd-uyari-empty { background: #fbeceb; color: #8e2a22; }

.sd-kartlar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sd-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sd-kart-l { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.sd-kart-n { font-size: 16px; overflow-wrap: anywhere; }
.sd-kart-a { font-size: 11.5px; color: var(--muted); }

.sd-hbas { display: flex; justify-content: space-between; align-items: baseline; margin-top: 4px; font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.sd-hsay { text-transform: none; letter-spacing: 0; font-weight: 600; }
.sd-bos { font-size: 13px; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: 12px; padding: 14px; text-align: center; }
.sd-hareketler { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.sd-hareket { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: none; border-bottom: 1px solid var(--line); background: transparent; text-align: left; font: inherit; color: inherit; }
.sd-hareket:last-child { border-bottom: none; }
.sd-hareket.tik { cursor: pointer; }
.sd-hareket.tik:active { background: rgba(35,107,91,.06); }
.sd-h-ikon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.sd-h-ikon.sd-h-giris { background: #e3f3eb; color: #1a6b4a; }
.sd-h-ikon.sd-h-cikis { background: #fbeceb; color: #a32d2d; }
.sd-h-ikon.sd-h-iade { background: #e8eef9; color: #3b5b9a; }
.sd-h-orta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sd-h-orta strong { font-size: 14px; font-weight: 700; }
.sd-h-orta span { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.sd-h-miktar { flex: none; font-size: 14px; font-weight: 800; }
.sd-h-miktar.sd-h-giris { color: #1a6b4a; } .sd-h-miktar.sd-h-cikis { color: #a32d2d; } .sd-h-miktar.sd-h-iade { color: #3b5b9a; }
.detail-actions.sd-aksiyon { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.detail-actions.sd-aksiyon > * { grid-column: auto !important; width: auto !important; margin: 0 !important; min-width: 0; }
.detail-actions.sd-aksiyon > :first-child { grid-column: 1 / -1 !important; }
[data-theme="dark"] .sd-cubuk { background: #2c3a34; }
[data-theme="dark"] .sd-uyari-low { background: #3a2a18; color: #f0b27a; }
[data-theme="dark"] .sd-uyari-empty { background: #3a2220; color: #ffb3ab; }
[data-theme="dark"] .sd-h-ikon.sd-h-giris { background: #183028; color: #8ee0b5; }
[data-theme="dark"] .sd-h-ikon.sd-h-cikis { background: #3a2220; color: #ffb3ab; }
[data-theme="dark"] .sd-h-ikon.sd-h-iade { background: #1d2740; color: #a9c1f0; }
.stock-depo-btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; margin: 0 0 8px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.stock-depo-btn svg { flex: none; color: var(--muted); }
.stock-depo-btn .sdb-etiket { color: var(--muted); font-weight: 600; }
.stock-depo-btn strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stock-depo-btn .sdb-ok { flex: none; color: var(--muted); }
.stock-depo-btn.on { border-color: var(--primary); background: rgba(35,107,91,.08); }
.stock-depo-btn.on svg, .stock-depo-btn.on strong { color: var(--primary-dark); }
/* ── Vitrin Sayfam: üç bölüm (17.09.2026) ── */
.vt-3kutu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.vt-3k { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 6px 12px; border-radius: 16px; border: 1px solid var(--line, #dce6e1); background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; text-align: center; min-width: 0; }
.vt-3k:active { transform: scale(.98); }
.vt-3k-ikon { width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, #236B5B 10%, transparent); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 2px; }
.vt-3k strong { font-size: 13.5px; line-height: 1.2; }
.vt-3k small { font-size: 11px; color: var(--muted, #5b6e68); line-height: 1.25; }
.vt-kv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vt-kv { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 16px; border: 1px solid var(--line, #dce6e1); background: var(--surface, #fff); color: inherit; font: inherit; cursor: pointer; text-align: left; min-width: 0; }
.vt-kv-yatay { grid-column: 1 / -1; }
.vt-kv-resim { position: relative; border-radius: 10px; overflow: hidden; background: #e3ebe7; display: flex; align-items: center; justify-content: center; }
.vt-kv-kare .vt-kv-resim { aspect-ratio: 1; }
.vt-kv-dikey .vt-kv-resim { aspect-ratio: 9 / 16; }
.vt-kv-yatay .vt-kv-resim { aspect-ratio: 1200 / 630; }
.vt-kv-resim img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-kv-bekle { font-size: 12px; font-weight: 700; color: #236B5B; }
.vt-kv-et { display: flex; flex-direction: column; padding: 0 2px 2px; }
.vt-kv-et strong { font-size: 13px; }
.vt-kv-et small { font-size: 11.5px; color: var(--muted, #5b6e68); }
.vt-sb-liste { gap: 0; padding: 4px 14px; }
.vt-sb-sat { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line, #dce6e1); }
.vt-sb-sat:last-child { border-bottom: none; }
.vt-sb-sat.bos { opacity: .55; }
.vt-sb-ikon { flex: none; width: 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, #236B5B 9%, transparent); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.vt-sb-orta { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vt-sb-orta strong { font-size: 14px; }
.vt-sb-orta small { font-size: 12.5px; color: var(--muted, #5b6e68); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vt-sb-btn { flex: none; border: 1px solid var(--line, #dce6e1); background: var(--surface, #fff); color: #236B5B; font-weight: 700; font-size: 12.5px; border-radius: 10px; padding: 7px 10px; cursor: pointer; }
[data-theme="dark"] .vt-3k-ikon, [data-theme="dark"] .vt-sb-ikon { background: #1c2925; }
.vt-nerede { background: color-mix(in srgb, #236B5B 6%, transparent); border-radius: 12px; padding: 8px 12px; }
.vt-nerede summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: #236B5B; }
.vt-nerede ul { list-style: none; margin: 8px 0 6px; padding: 0; display: grid; gap: 7px; }
.vt-nerede li { display: flex; gap: 8px; font-size: 13px; line-height: 1.4; }
.vt-nerede li span:first-child { flex: none; }
/* ── Dükkânım (17.09.2026) ── */
.dk-ust { border-radius: 18px; padding: 16px; color: #fff; background: linear-gradient(140deg, #7a4a12, #b8620f 55%, #ec8329); display: flex; flex-direction: column; gap: 12px; margin: 4px 0 12px; box-shadow: 0 8px 22px rgba(184,98,15,.22); }
.dk-ust.acik { background: linear-gradient(140deg, #0f3d33, #1a5245 50%, #236b5b); box-shadow: 0 8px 22px rgba(35,107,91,.25); }
.dk-ust-sat { display: flex; gap: 12px; align-items: flex-start; }
.dk-logo { flex: none; width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.dk-kimlik { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.dk-ad { font-size: 19px; line-height: 1.15; overflow-wrap: anywhere; }
.dk-alt { font-size: 12.5px; opacity: .9; overflow-wrap: anywhere; }
.dk-durum { flex: none; font-size: 11.5px; font-weight: 800; background: rgba(255,255,255,.95); color: #1a5245; border-radius: 999px; padding: 4px 10px; }
.dk-ust:not(.acik) .dk-durum { color: #8f4a0a; }
.dk-rozetler { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-rozet { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px 10px; }
.dk-sayilar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dk-sayi { background: rgba(255,255,255,.14); border-radius: 12px; padding: 8px 4px; text-align: center; display: flex; flex-direction: column; }
.dk-sayi strong { font-size: 19px; line-height: 1.1; }
.dk-sayi span { font-size: 11px; opacity: .88; }
.dk-hizli { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dk-islem { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 12px 6px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: center; min-width: 0; }
.dk-islem-ikon { width: 42px; height: 42px; border-radius: 13px; background: rgba(35,107,91,.1); display: flex; align-items: center; justify-content: center; font-size: 21px; margin-bottom: 2px; }
.dk-islem strong { font-size: 13px; line-height: 1.2; }
.dk-islem small { font-size: 10.5px; color: var(--muted); line-height: 1.2; }
.dk-islem.ana { background: #236b5b; border-color: #236b5b; color: #fff; }
.dk-islem.ana .dk-islem-ikon { background: rgba(255,255,255,.18); }
.dk-islem.ana small { color: rgba(255,255,255,.85); }
.dk-islem.turuncu { background: #ec8329; border-color: #ec8329; color: #fff; }
.dk-islem.turuncu .dk-islem-ikon { background: rgba(255,255,255,.2); }
.dk-islem.turuncu small { color: rgba(255,255,255,.9); }
.dk-sekmeler { margin-bottom: 10px; }
.dk-kart { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.dk-kart-bas { font-size: 16px; }
.dk-kart .support-hint { margin: 0; }
.dk-link { background: rgba(35,107,91,.08); color: #1a5245; font-weight: 700; font-size: 13.5px; border-radius: 12px; padding: 10px 12px; overflow-wrap: anywhere; }
.dk-eylem { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.dk-eylem button { min-height: 42px; padding-left: 4px; padding-right: 4px; font-size: 13px; }
.dk-ipucu { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); display: grid; gap: 4px; }
.dk-kapat { align-self: center; border: none; background: none; color: #a32d2d; font-weight: 700; font-size: 13px; padding: 6px; cursor: pointer; }
.dk-adimlar { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.dk-adimlar li { display: flex; gap: 10px; align-items: center; }
.dk-adimlar li div { display: flex; flex-direction: column; }
.dk-adimlar li strong { font-size: 14px; }
.dk-adimlar li small { font-size: 12px; color: var(--muted); }
.dk-adim-no { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; color: #fff; counter-increment: dkadim; }
.dk-adimlar { counter-reset: dkadim; }
.dk-adimlar li:not(.tamam) .dk-adim-no::before { content: counter(dkadim); color: var(--muted); }
.dk-adimlar li.tamam .dk-adim-no { background: #1f8a5b; border-color: #1f8a5b; }
.dk-adimlar li.tamam strong { color: var(--muted); text-decoration: line-through; }
.dk-genis { width: 100%; min-height: 48px; }
.dk-bos { align-items: center; text-align: center; padding: 24px 16px; }
.dk-bos-ikon { font-size: 44px; }
.dk-bos .support-hint { max-width: 320px; }
.dk-liste { display: flex; flex-direction: column; gap: 8px; }
.dk-liste .kaydir-kap { margin-bottom: 0; }
.dk-not { font-size: 11.5px; color: var(--muted); text-align: center; margin: 8px 0 0; }
.dk-bitmis { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.dk-bitmis summary { cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--muted); }
.dk-bitmis[open] summary { margin-bottom: 8px; }
[data-theme="dark"] .dk-islem-ikon { background: #1c2925; }
[data-theme="dark"] .dk-link { background: #183028; color: #8ee0b5; }
/* ── Malzeme ekle formu (17.09.2026) ── */
.uf-bas { display: flex; gap: 12px; align-items: center; margin: 4px 0 10px; }
.uf-bas-ikon { flex: none; width: 48px; height: 48px; border-radius: 15px; background: linear-gradient(140deg, #b8620f, #ec8329); display: flex; align-items: center; justify-content: center; font-size: 25px; }
.uf-bas div { display: flex; flex-direction: column; gap: 2px; }
.uf-bas strong { font-size: 19px; line-height: 1.15; }
.uf-bas small { font-size: 12.5px; color: var(--muted); }
.uf-guc { position: sticky; top: 0; z-index: 3; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-bottom: 10px; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.uf-guc-ust { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.uf-guc-ust strong { font-size: 13.5px; }
.uf-guc-ust small { font-size: 11.5px; color: var(--muted); text-align: right; }
.uf-cubuk { height: 8px; border-radius: 99px; background: #e5ece8; overflow: hidden; }
.uf-cubuk i { display: block; height: 100%; width: 0; border-radius: 99px; background: #e08a2c; transition: width .25s; }
.uf-cubuk i.iyi { background: #3a9b6d; } .uf-cubuk i.tamam { background: #1f8a5b; }
.uf-bolum { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.uf-bolum-bas { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; }
.uf-bolum-no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #236b5b; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.uf-bolum-bas div { display: flex; flex-direction: column; }
.uf-bolum-bas strong { font-size: 15px; }
.uf-bolum-bas small { font-size: 12px; color: var(--muted); }
.uf-bolum .urun-foto-form > .ilan-form-etiket, .uf-bolum .urun-foto-form > .support-hint { display: none; }
.uf-bolum .ilan-stok-sec { margin: 10px 0 2px; }
.uf-iki { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uf-yayin { position: sticky; bottom: 76px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; margin: 6px -2px 0; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.uf-yayin-btn { width: 100%; min-height: 50px; font-size: 16px; }
.uf-yayin small { font-size: 11.5px; color: var(--muted); }
[data-theme="dark"] .uf-cubuk { background: #2c3a34; }
/* ── Formda seçim listesi (17.09.2026) ── */
.uf-secim { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line, #dee6e2); border-radius: 12px; background: var(--surface); color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; text-align: left; }
.uf-secim.dolu { color: var(--ink); font-weight: 600; border-color: #9fc9b6; background: rgba(35,107,91,.04); }
.uf-secim-ok { flex: none; color: var(--muted); font-size: 13px; }
.uf-miktar-satir { display: grid; grid-template-columns: 1fr 130px; gap: 8px; }
.uf-miktar-satir .ilan-input { margin: 0; }
/* ── Ürün yönetimi (satıcı) ── */
.us-ust { border-radius: 18px; padding: 14px; background: linear-gradient(140deg, #0f3d33, #1a5245 55%, #236b5b); color: #fff; display: flex; flex-direction: column; gap: 12px; margin: 4px 0 10px; box-shadow: 0 8px 22px rgba(35,107,91,.22); }
.us-ust.kapali { background: linear-gradient(140deg, #3d4744, #56615d); box-shadow: none; }
.us-ust-sat { display: flex; gap: 12px; }
.us-foto { flex: none; width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.14); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.us-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.us-bilgi { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.us-rozetler { display: flex; flex-wrap: wrap; gap: 5px; }
.us-rozet { font-size: 11px; font-weight: 700; background: rgba(255,255,255,.16); border-radius: 999px; padding: 3px 8px; }
.us-rozet.tur { background: #ec8329; }
.us-ad { font-size: 17px; line-height: 1.2; overflow-wrap: anywhere; }
.us-alt { font-size: 12px; opacity: .85; }
.us-fiyat { font-size: 20px; font-weight: 800; color: #ffd9a8; }
.us-durum { font-size: 12.5px; font-weight: 700; background: rgba(0,0,0,.18); border-radius: 10px; padding: 7px 10px; }
.us-sayilar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.us-sayi { background: rgba(255,255,255,.13); border-radius: 12px; padding: 7px 4px; text-align: center; display: flex; flex-direction: column; min-width: 0; }
.us-sayi strong { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.us-sayi span { font-size: 10.5px; opacity: .88; }
.us-sayi.uyari { background: #ec8329; }
.us-uyari { background: #fdf1e3; color: #8f4a0a; font-weight: 700; font-size: 13px; border-radius: 12px; padding: 9px 12px; margin-bottom: 10px; }
.us-islemler { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 14px; }
.us-islem { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; text-align: left; }
.us-islem-ikon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: rgba(35,107,91,.1); display: flex; align-items: center; justify-content: center; font-size: 17px; }
.us-islem.ana { background: #236b5b; border-color: #236b5b; color: #fff; grid-column: 1 / -1; }
.us-islem.ana .us-islem-ikon { background: rgba(255,255,255,.18); }
.us-islem.yesil { border-color: #9fc9b6; background: #eef7f2; color: #1a5245; }
.us-islem.sil { color: #a32d2d; }
.us-islem.sil .us-islem-ikon { background: #fbeceb; }
.us-baslik { margin: 6px 2px 8px; font-size: 13px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .4px; }
.us-bos { background: var(--surface); border: 1px dashed var(--line); border-radius: 14px; padding: 14px; font-size: 13px; color: var(--muted); text-align: center; margin-bottom: 10px; }
.us-bilgiler { margin-top: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.us-bilgiler summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.us-tablo { margin-top: 8px; display: flex; flex-direction: column; }
.us-tablo-sat { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.us-tablo-sat:last-child { border-bottom: none; }
.us-tablo-sat span { color: var(--muted); }
.us-tablo-sat strong { text-align: right; overflow-wrap: anywhere; }
.us-aciklama { margin: 8px 0 0; font-size: 13.5px; white-space: pre-line; }
/* ── Müşteri görünümü rötuşları ── */
.urun-baslik-kart .urun-fiyat-kutu { margin: 10px 0 0; }
.urun-galeri { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.urun-galeri .urun-foto { flex: 0 0 100%; scroll-snap-align: center; }
.urun-durum-liste { display: flex; flex-wrap: wrap; gap: 6px; }
.urun-durum-satir { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.us-yapiskan { position: sticky; bottom: 76px; z-index: 3; margin: 12px -2px; padding: 10px; border-radius: 16px; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.us-yapiskan .ilan-wa-btn { margin: 0; }
.us-yapiskan .support-hint { margin: 6px 0 0; }
[data-theme="dark"] .us-islem-ikon { background: #1c2925; }
[data-theme="dark"] .us-islem.yesil { background: #183028; color: #8ee0b5; }
[data-theme="dark"] .us-uyari { background: #3a2a18; color: #f0b27a; }
/* 17.09.2026: fiyat satırında "Görüşülür" iki satıra kırılıyordu */
.ilan-para-satir .ilan-input { min-width: 0; margin: 0; min-height: 46px; }
.ilan-para-satir .lead-cip { flex: none; white-space: nowrap; min-height: 46px; padding: 0 14px; border-radius: 12px; }

/* 17.09.2026 (Kenan): alt menü ile telefonun alt kenarı arasında boşluk vardı — menü aşağı indirildi */
.bottom-nav { bottom: max(4px, env(safe-area-inset-bottom)); }
.has-bottom-nav main { padding-bottom: 100px; }

/* 17.09.2026 (Kenan): Hizmetler alt alta sayfayı uzatıyordu — aralarında ayraçla satırı doldurarak akar */
.vt-hizmet-akis { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink); }
.vt-hizmet-akis span { font-weight: 600; }
.vt-hizmet-akis span + span::before { content: "•"; margin: 0 8px; color: var(--primary); font-weight: 700; }

/* 17.09.2026 (Kenan): Puantaj — numaralı bölümler, açıklamalı seçim listeleri, sekme açıklamaları */
.pj-bolum { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pj-bolum-bas { display: flex; gap: 10px; align-items: flex-start; }
.pj-bolum-no { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #236b5b; color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pj-bolum-bas div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding-top: 3px; }
.pj-bolum-bas strong { font-size: 15px; color: var(--ink); }
.pj-bolum-bas small { font-size: 12px; line-height: 1.35; color: var(--muted); }
.pj-bolum .pj-ayrinti { margin-top: 0; padding-top: 0; border-top: 0; }
.pj-bolum .pj-kart { margin: 0; }
.pj-sec { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 48px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--muted); font: inherit; text-align: left; cursor: pointer; }
.pj-sec.dolu { color: var(--ink); border-color: #9fc9b6; background: rgba(35,107,91,.04); }
.pj-sec-yazi { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pj-sec-yazi strong { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-sec-yazi small { font-size: 12px; font-weight: 400; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-sec-yazi small:empty { display: none; }
.pj-sec-ok { flex: none; font-size: 13px; color: var(--muted); }
.pj-sekme-acik { margin: 0 2px 10px; font-size: 12.5px; color: var(--muted); }
.pj-nasil { margin: 10px 0; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.pj-nasil summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--primary-dark, #165e4c); }
.pj-nasil ol { margin: 10px 0 6px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.4; }
.pj-form .pj-sec, .pj-sec { flex-direction: row !important; text-align: left !important; }
.pj-sec .pj-sec-yazi { flex: 1; align-items: flex-start; }

/* 17.09.2026 (Kenan): Puantaj yeni düzen — ana sayfa menüsü, numaralı iş kartları, Bugün satırları, ödeme seçimi */
.pj-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.pj-ikili button { width: 100%; min-height: 48px; font-size: 14px; }
.pj-menu { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pj-menu-k { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; text-align: center; }
.pj-menu-k.gen { grid-column: span 3; flex-direction: row; justify-content: flex-start; gap: 10px; text-align: left; padding: 14px; }
.pj-menu-k strong { font-size: 13px; }
.pj-menu-k small { font-size: 11px; color: var(--muted); line-height: 1.25; }
.pj-menu-ik { font-size: 20px; }
.pj-menu-k:active { background: #eef5f1; }
.pj-is-kutu { border: 1.5px solid #cfe3d9; border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; background: var(--surface); box-shadow: 0 2px 10px rgba(22,94,76,.06); display: flex; flex-direction: column; gap: 6px; }
.pj-is-bas { display: flex; align-items: flex-start; gap: 10px; }
.pj-is-no { flex: none; width: 28px; height: 28px; border-radius: 9px; background: #236b5b; color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.pj-is-orta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pj-is-orta strong { font-size: 15.5px; }
.pj-tur-rozet { flex: none; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: rgba(35,107,91,.12); color: #165e4c; }
.pj-tur-rozet.gotur { background: rgba(214,128,20,.15); color: #8a5208; }
.pj-bitmis { margin: 10px 0; }
.pj-bitmis summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.pj-puan-rozet { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(35,107,91,.12); color: #165e4c; }
.pj-puan-rozet.orta { background: rgba(214,128,20,.15); color: #8a5208; }
.pj-puan-rozet.kotu { background: rgba(200,60,40,.13); color: #9c2f1c; }
.pj-mini { flex: none; min-width: 34px; min-height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font-size: 16px; }
.pj-mini-btn { flex: none; min-height: 38px; padding: 0 14px; }
.pj-bugun-sat { display: flex; flex-direction: column; gap: 8px; }
.pj-bugun-sat.odendi { opacity: .75; }
.pj-ayrinti-btn { width: 100%; min-height: 38px; border: 1px dashed var(--line); background: transparent; color: var(--muted); border-radius: 10px; font-size: 12.5px; }
.pj-odeme-sec { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); }
.pj-odeme-sec.secili { border-color: #7fbfa4; background: rgba(35,107,91,.05); }
.pj-odeme-toplam { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: sticky; bottom: 92px; border: 1.5px solid #7fbfa4; }
.pj-odeme-toplam .pj-kart-n { font-size: 18px; }
.pj-hucre.odendi { position: relative; color: var(--muted); }
.pj-hucre.odendi::after { content: ""; position: absolute; inset: 2px; background: linear-gradient(to top right, transparent calc(50% - 1px), #d0402a calc(50% - 1px), #d0402a calc(50% + 1px), transparent calc(50% + 1px)); }
.pj-verim { margin: 6px 0 2px; padding: 8px 10px; border-radius: 12px; background: rgba(35,107,91,.05); display: flex; flex-direction: column; gap: 3px; }
.pj-verim-sat { font-size: 12.5px; color: var(--ink); }
.pj-verim-sat.toplam { font-weight: 700; margin-top: 4px; padding-top: 5px; border-top: 1px dashed var(--line); }

/* 18.09.2026 (Kenan): iş verenden alınacak ödemeler — üstteki iki kutu, geciken uyarısı, dönem satırları */
.pj-ozet-ikili { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.pj-ozet-kutu { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.pj-ozet-kutu strong { font-size: 18px; }
.pj-ozet-l { font-size: 12px; font-weight: 700; color: var(--muted); }
.pj-ozet-kutu small { font-size: 11px; color: var(--muted); }
.pj-ozet-kutu.gelir { border-color: #9fc9b6; background: rgba(35,107,91,.06); }
.pj-ozet-kutu.gelir strong { color: #165e4c; }
.pj-ozet-kutu.gider { border-color: #e6c9a8; background: rgba(214,128,20,.07); }
.pj-ozet-kutu.gider strong { color: #8a5208; }
.pj-ozet-kutu.uyari { border-color: #d0402a; background: rgba(208,64,42,.07); }
.pj-geciken { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.pj-donem { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; border-left: 4px solid var(--line); }
.pj-donem.alindi { border-left-color: #2f9e6e; }
.pj-donem.gecikti { border-left-color: #d0402a; }
.pj-donem.bekliyor { border-left-color: #d68014; }
.pj-donem > .pj-alt, .pj-donem > button { flex-basis: 100%; }
.pj-gecikmis { border-left: 4px solid #d0402a; }
.pj-teklif-sat.kabul { border-left: 4px solid #2f9e6e; }
.pj-teklif-sat.gonderildi { border-left: 4px solid #d68014; }
.pj-teklif-sat.ret { border-left: 4px solid #9aa5a0; opacity: .8; }
.pj-teklif-hesap { margin: 0 0 4px; }

/* 18.09.2026 (Kenan): ana sayfa kutuları — uzun basıp sürükleyerek yer değiştirme */
.h2-grid.siralaniyor { touch-action: none; }
.h2-grid.siralaniyor .h2-tile { transition: transform .12s ease; }
.h2-tile.suruklenen { transform: scale(1.06); box-shadow: 0 10px 26px rgba(22, 94, 76, .28); border-color: #7fbfa4; opacity: .95; z-index: 5; }

/* 18.09.2026 (Kenan): tam/yarım/yok düğmelerinin çerçevesi belirgin olsun; seçiliye tekrar basınca seçim kalkar */
.pj-cip { border: 1.6px solid #9fb3aa; color: var(--ink); }
.pj-cip:active { transform: scale(.96); }
.pj-cip.on-t, .pj-cip.on-y, .pj-cip.on-r, .pj-cip.on-g { border-width: 1.6px; box-shadow: 0 2px 8px rgba(22,94,76,.18); }
.pj-bugun-sat .pj-cipler { gap: 8px; }
.pj-bolum.pj-kilitli .pj-alan { opacity: .55; }
.pj-bolum.pj-kilitli input { background: #f3f5f4; }

/* 19.09.2026 (Kenan: "hatlar karışıyor"): Puantaj ekranındaki tüm kutuların çerçevesi koyulaştırıldı */
#puantajView {
  --pj-cizgi: #7d938a;
}
#puantajView .cust-doc,
#puantajView .pj-bolum,
#puantajView .pj-sec,
#puantajView .pj-menu-k,
#puantajView .pj-kart,
#puantajView .pj-is-kutu,
#puantajView .pj-nasil,
#puantajView .pj-odeme-sec,
#puantajView .pj-donem,
#puantajView .pj-tablo-sar { border-color: var(--pj-cizgi); }
#puantajView .cust-doc,
#puantajView .pj-bolum,
#puantajView .pj-menu-k,
#puantajView .pj-sec,
#puantajView .pj-kart,
#puantajView .pj-is-kutu,
#puantajView .pj-nasil { border-width: 2px; border-style: solid; }
#puantajView .pj-alan input,
#puantajView .pj-alan select,
#puantajView .pj-alan textarea,
#puantajView .pj-form input,
#puantajView .pj-form textarea,
#puantajView .pj-form select { border: 2px solid var(--pj-cizgi); }
#puantajView .pj-ozet-ikili .pj-ozet-kutu { border-width: 1.8px; }
#puantajView .pj-tablo th,
#puantajView .pj-tablo td { border-color: var(--pj-cizgi); }
#puantajView .pj-ayrinti { border-top-color: var(--pj-cizgi); }
#puantajView .pj-sec.dolu { border-color: #4f8f76; }
[data-theme="dark"] #puantajView { --pj-cizgi: #6d7f78; }

/* 19.09.2026 (Kenan): bina yapısı ağacı — blok / kat / bölüm / mahal */
.pj-agac { border: 2px solid var(--pj-cizgi, #7d938a); border-radius: 14px; padding: 8px 10px; margin-bottom: 8px; background: var(--surface); }
.pj-agac > summary { cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; padding: 4px 2px; }
.pj-agac > summary strong { font-size: 15px; }
.pj-agac-alt { font-size: 12px; color: var(--muted); font-weight: 400; }
.pj-agac-kat { margin-left: 8px; background: rgba(35,107,91,.03); }
.pj-agac-bolum { margin-left: 8px; background: rgba(35,107,91,.05); }
.pj-agac-eylem { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 6px; }
.pj-mahal-kart, .pj-mahal-kalem { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* 19.09.2026 (Kenan): uzun mahal adı seçim kutusundan taşıp sayfayı küçültüyordu */
.pj-sec { max-width: 100%; overflow: hidden; }
.pj-sec-yazi { flex: 1 1 auto; min-width: 0; max-width: 100%; }
.pj-sec-yazi strong,
.pj-sec-yazi small { white-space: normal; overflow: hidden; word-break: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.pj-sec-yazi strong { line-height: 1.25; }
.pj-sec-yazi small { line-height: 1.2; }
.pj-bolum, .pj-alan, .pj-form { min-width: 0; }
#puantajView, #puantajBody { overflow-x: hidden; }

/* 19.09.2026 (Kenan): ana sayfada puantaj özeti şeridi */
.h2-pj { border: 1.6px solid #9fb3aa; border-radius: 16px; background: var(--surface); padding: 10px 12px; margin: 0 0 12px; display: flex; flex-direction: column; gap: 6px; }
.h2-pj-bas { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.h2-pj-bas strong { font-size: 15px; }
.h2-pj-bas small { font-size: 12px; color: var(--muted); }
.h2-pj-sat, .h2-pj-is { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.h2-pj-sat.uyari { border-color: #d0402a; background: rgba(208,64,42,.06); }
.h2-pj-ic { flex: none; font-size: 16px; }
.h2-pj-ad { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.h2-pj-val { flex: none; font-size: 13.5px; }
.h2-pj-is { flex-direction: column; align-items: flex-start; gap: 2px; }
.h2-pj-is small { color: var(--muted); font-size: 12px; }
.h2-pj-uyari { font-size: 12.5px; color: #9c2f1c; font-weight: 600; }

/* 19.09.2026 (Kenan): puantaj şeridi katlanır + üstteki kutularla standart boşluk */
.h2-pj { margin: 10px 0 0; gap: 0; padding: 2px 10px 8px; }
.h2-pj.kapali { padding-bottom: 2px; }
.h2-pj-bas { width: 100%; border: 0; background: none; color: inherit; font: inherit; padding: 9px 2px; cursor: pointer; }
.h2-pj-ok { margin-left: 8px; color: var(--muted); font-size: 15px; transition: transform .2s ease; }
.h2-pj.kapali .h2-pj-ok { transform: rotate(-90deg); }
.h2-pj-govde { overflow: hidden; max-height: 620px; transition: max-height .25s ease, opacity .2s ease; }
.h2-pj.kapali .h2-pj-govde { max-height: 0; opacity: 0; }
.h2-pj-ictek { display: flex; flex-direction: column; gap: 6px; padding-bottom: 2px; }

/* 19.09.2026 (Kenan): Teklif Paneli kutuları — 2 sütun, çerçeveler belirgin */
.est-panel { grid-template-columns: 1fr 1fr; margin: 10px 0 4px; }
.est-panel .pj-menu-k { border: 1.6px solid #9fb3aa; min-height: 84px; justify-content: center; }
.est-panel .pj-menu-k strong { font-size: 13.5px; }
#estPanelBack { margin: 2px 0 8px; }

/* 19.09.2026 (Kenan): metrajda m² dışı işler bölümü */
.pj-ayri-bas { margin: 8px 0 2px; font-size: 12.5px; font-weight: 700; color: var(--primary); }
.pj-ayri-fiyat { margin-top: 8px; }
.pj-ayri-fiyat strong { font-size: 13.5px; }

/* 19.09.2026 (Kenan): eleman adının yanında kırmızı vasıf */
.pj-vasif { color: #c0392b; font-weight: 600; font-size: .88em; }

/* 19.09.2026 (Kenan): yardımcı iş açıklaması için hazır yazı çipleri */
.pj-yazi-cip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pj-yazi-cip-b { border: 1.4px solid #9fb3aa; background: var(--surface); color: var(--ink); border-radius: 999px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.pj-yazi-cip-b:active { background: #eef5f1; }

/* 19.09.2026 (Kenan): mtül fiyat kararı uyarısı */
.pj-mtul-uyari { border-color: #d0402a; background: rgba(208,64,42,.05); }
.pj-mtul-uyari strong { color: #9c2f1c; font-size: 13.5px; }

/* 19.09.2026 (Kenan): puantaj bakım bölümü */
.pj-bakim summary { color: #9c2f1c; }

/* 20.09.2026 (Kenan): günlük kayıtta birden çok mahal */
.pj-mahal-liste { display: flex; flex-direction: column; gap: 8px; }
.pj-mahal-sat { border: 1.4px solid #9fb3aa; border-radius: 14px; padding: 8px; display: flex; flex-direction: column; gap: 6px; background: var(--surface); }
.pj-mahal-ust { display: flex; align-items: stretch; gap: 6px; }
.pj-mahal-ust .pj-sec { flex: 1; min-width: 0; }
.pj-mahal-sil { flex: none; width: 38px; border: 1.4px solid #d0402a; background: rgba(208,64,42,.06); color: #9c2f1c; border-radius: 12px; font: inherit; font-size: 15px; cursor: pointer; }
.pj-alan-et { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }

/* 22.09.2026 (Kenan): miktar / fiyat / tutar ayrı sütun — tablo görünümü */
.pj-tablo { display: flex; flex-direction: column; gap: 4px; }
.pj-tablo-bas, .pj-tablo-sat { display: grid; grid-template-columns: minmax(0, 1fr) 68px 78px 84px; gap: 4px; align-items: center; }
.pj-tablo-bas { padding: 0 8px 4px; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.pj-tablo-sat { width: 100%; text-align: left; border: 1.4px solid #9fb3aa; border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; padding: 8px; cursor: pointer; }
.pj-tablo-sat.alindi { background: #eef5f1; }
.pj-tablo-sat.toplam { border-color: var(--primary); background: #eef5f1; font-weight: 700; cursor: default; }
.pj-tablo-ad { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pj-tablo-ad strong { font-size: 13px; line-height: 1.25; }
.pj-tablo-ad small { font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pj-tablo-sayi { font-size: 12.5px; text-align: right; white-space: nowrap; }
.pj-tablo-sayi.tutar { font-weight: 700; }
.pj-tablo-sayi.listeden { color: #1f5fa8; }
@media (max-width: 380px) {
  .pj-tablo-bas, .pj-tablo-sat { grid-template-columns: minmax(0, 1fr) 58px 68px 74px; }
  .pj-tablo-sayi { font-size: 11.5px; }
}

/* 22.09.2026 (Kenan): künye ve ölçüm kutusundaki kalem tablosu */
.pj-kalem-tablo { margin: 6px 0 4px; }
.pj-kalem-ozet { margin-top: 6px; }
.pj-kalem-ozet > summary { cursor: pointer; font-weight: 700; font-size: 13px; padding: 6px 0; color: var(--primary); }
.pj-kalem-tablo .pj-tablo-sat { cursor: default; }
/* uzun kalem adları satırı şişirmesin: en çok 2 satır */
.pj-kalem-tablo .pj-tablo-ad strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 22.09.2026: fiyatı malzemeyi karşılamayan kalem */
.pj-tablo-sat.zararli { border-color: #d0402a; background: rgba(208,64,42,.06); }

/* 22.09.2026 (Kenan): "Şifremi unuttum" ayrı sayfa gibi açılsın */
.password-reset-panel.acik {
  position: fixed; inset: 0; z-index: 60; margin: 0; border-radius: 0;
  background: var(--bg); overflow-y: auto; padding: 16px 16px 40px;
  display: flex; flex-direction: column; gap: 12px;
}
.password-reset-panel.acik .sifre-kapat {
  align-self: flex-start; border: 0; background: none; color: var(--primary);
  font: inherit; font-weight: 700; font-size: 15px; padding: 8px 2px; cursor: pointer;
}
.password-reset-panel.acik .sifre-baslik { margin: 0 0 4px; font-size: 20px; }
.password-reset-panel.acik label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.password-reset-panel.acik input { width: 100%; }
body.sifre-ekrani { overflow: hidden; }

/* 22.09.2026 (Kenan): şifre yenileme sayfası giriş ekranıyla aynı düzende */
.password-reset-panel.acik { padding: 0; background: var(--bg); display: block; }
.password-reset-panel.acik .sifre-kart {
  width: min(468px, 100%); margin: 0 auto; display: grid; gap: 12px;
  padding: 16px 14px 20px; border-radius: 20px;
  background: linear-gradient(180deg, #fbfdfb 0%, var(--surface) 46%);
}
.sifre-bas { display: grid; gap: 4px; justify-items: start; }
.sifre-bas h1 { margin: 2px 0 2px; font-size: 26px; line-height: 1.15; letter-spacing: -0.4px; }
.sifre-bas .sifre-alt { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.password-reset-panel.acik .sifre-alan { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.password-reset-panel.acik .sifre-alan input { width: 100%; }
.password-reset-panel.acik p { font-size: 13.5px; line-height: 1.45; }
.sifre-adimlar { margin: 2px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.sifre-adimlar li::marker { color: var(--primary); font-weight: 700; }
.sifre-gonder, .sifre-geri { width: 100%; }
.sifre-geri { margin-top: 2px; }

/* 22.09.2026 (Kenan): klavye açıkken alt menü ortada asılı kalmasın */
body.klavye-acik .bottom-nav { display: none !important; }
body.klavye-acik.has-bottom-nav main { padding-bottom: 16px; }

/* 24.09.2026 (Kenan): giriş ekranında "hesabın yok mu" satırı */
.auth-kayit { margin: 2px 0 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.auth-kayit button {
  background: none; border: 0; padding: 0 2px; font: inherit; font-weight: 700;
  color: var(--primary, #1c6b4f); text-decoration: underline; cursor: pointer;
}

/* 25.09.2026 (Kenan): uygulama kilidi perdesi */
.kilit-perde {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(160deg, #10553c 0%, #0c3f2c 60%, #08301f 100%);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.kilit-perde[hidden] { display: none; }
.kilit-kart {
  width: min(400px, 100%); text-align: center; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px; padding: 30px 24px; display: grid; gap: 12px;
}
.kilit-ikon { font-size: 44px; line-height: 1; }
.kilit-kart h2 { margin: 0; font-size: 22px; }
.kilit-kart p { margin: 0 0 6px; font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.45; }
.kilit-kart button { width: 100%; }

/* 25.09.2026: kilit perdesi z-index 99999'da duruyor; şifre penceresi onun da
   üstünde açılmazsa "Şifremle aç" görünmez bir pencere açmış olur. */
.app-modal-ov { z-index: 100001; }

/* 25.09.2026: kilit açıkken açılışta gövde çizilmesin (bkz. index.html <head>).
   Yalnız içerik gizlenir — kilit perdesi ve pencereler görünür kalır. */
.kilitli-acilis #appShell,
.kilitli-acilis #customerShell { visibility: hidden !important; }
