/* ARTOS – tema ve düzen */
:root {
  --red: #c4161c;
  --red-deep: #8e0e14;
  --red-tint: #fbeaea;
  --ink: #1a1416;
  --ink-2: #4a3f41;
  --muted: #7a6e70;
  --muted-2: #a89a9c;
  --line: #ece5e4;
  --line-2: #e3dad9;
  --paper: #fbf9f8;
  --paper-2: #f4efee;
  --white: #ffffff;
  --display: "Outfit", "Segoe UI", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --shadow-red: 0 10px 24px rgba(196, 22, 28, 0.28);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-deep); }
svg { flex-shrink: 0; }

.screen { display: none; height: 100vh; }
.screen.active { display: flex; }
.hidden { display: none !important; }

/* ========== GİRİŞ ========== */
#screen-login { flex-direction: row; }

.login-brand {
  width: 55%;
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 64px;
}
.login-brand .ghost {
  position: absolute; left: -18%; bottom: -14%; width: 190%;
  opacity: 0.10; filter: brightness(0) invert(1); pointer-events: none;
}
.login-brand .ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18); }
.login-brand .ring.a { right: -180px; top: -180px; width: 520px; height: 520px; }
.login-brand .ring.b { right: -60px; top: -60px; width: 280px; height: 280px; border-color: rgba(255,255,255,0.12); }
.login-brand > * { position: relative; }
.login-brand .logo { height: 72px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); }
.login-brand .eyebrow {
  font-family: var(--display); font-weight: 500; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.72);
}
.login-brand h1 {
  font-family: var(--display); font-weight: 700; font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02; letter-spacing: -0.02em; margin: 20px 0;
}
.login-brand p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 460px; }
.login-brand .foot { display: flex; gap: 24px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.6); }
.login-brand .foot i { width: 1px; height: 12px; background: rgba(255,255,255,0.3); }

.login-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 64px;
  overflow: auto;
}
.login-form .lang { justify-content: flex-end; }
.login-card { width: 400px; max-width: 100%; align-self: center; display: flex; flex-direction: column; gap: 36px; }
.login-card .wordmark { font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: 0.18em; }
.login-card h2 { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.15; letter-spacing: -0.01em; margin: 10px 0; }
.login-card .sub { font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field .row { display: flex; justify-content: space-between; align-items: center; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.field a { font-size: 13px; font-weight: 500; }
.input {
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 10px; background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,22,28,0.12); }
.input input { flex: 1; border: none; outline: none; background: transparent; font-size: 15px; }
.input input::placeholder { color: var(--muted-2); }
.input svg { stroke: var(--muted-2); }
.fields { display: flex; flex-direction: column; gap: 18px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  height: 54px; border-radius: 10px; background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: 0.04em;
  box-shadow: var(--shadow-red); transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--red-deep); }
.btn-primary:active { transform: translateY(1px); }
.login-note { font-size: 12px; color: var(--muted-2); text-align: center; line-height: 1.5; margin-top: 14px; }
.login-error { font-size: 13px; color: var(--red); min-height: 18px; }
.login-links { display: flex; justify-content: flex-end; gap: 16px; font-size: 12px; }

.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.lang button { padding: 2px 2px; border-bottom: 2px solid transparent; }
.lang button.active { color: var(--red); border-color: var(--red); }
.lang i { color: #ddd3d2; font-style: normal; }

/* ========== UYGULAMA ========== */
#screen-app { flex-direction: column; }

.topbar {
  height: 72px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; background: var(--white); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 18px; cursor: pointer; }
.brand img { height: 38px; width: auto; }
.brand i { width: 1px; height: 28px; background: var(--line-2); }
.brand span { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.2em; }
.topbar .right { display: flex; align-items: center; gap: 28px; }
.search {
  position: relative;
  display: flex; align-items: center; gap: 10px; height: 40px; width: 300px;
  padding: 0 14px; border-radius: 10px; background: var(--paper-2);
}
.search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.search input::placeholder { color: var(--muted-2); }
.search kbd { font: 11px var(--body); color: var(--muted-2); border: 1px solid #ddd3d2; border-radius: 5px; padding: 1px 6px; }
/* Genel arama açılır sonuç listesi (js/arama.js) */
.search-sonuc { position: absolute; left: 0; top: calc(100% + 8px); z-index: 60; width: 460px; max-height: min(70vh, 620px); overflow-y: auto; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(26,20,22,.16); padding: 6px; text-align: left; }
.search-sonuc .ga-bos { padding: 14px 12px; font-size: 13px; color: var(--muted); }
.search-sonuc .ga-grup + .ga-grup { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.search-sonuc .ga-baslik { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px 4px; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.search-sonuc .ga-baslik small { font-weight: 500; letter-spacing: 0; color: var(--muted-2); }
.search-sonuc .ga-satir { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; width: 100%; text-align: left; padding: 7px 10px; border-radius: 8px; border: none; background: transparent; cursor: pointer; font: inherit; color: var(--ink); }
.search-sonuc .ga-satir:hover, .search-sonuc .ga-satir.secili { background: var(--paper-2); }
.search-sonuc .ga-ust { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-sonuc .ga-alt { grid-column: 1; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-sonuc .ga-etiket { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 10px; font-weight: 600; letter-spacing: .08em; color: var(--muted); border: 1px solid var(--line-2); border-radius: 5px; padding: 2px 6px; font-style: normal; }
.search-sonuc .ga-tumu { display: block; font-size: 12px; font-weight: 500; color: var(--red); padding: 6px 10px; }
.search-sonuc .ga-tumu small { color: var(--muted-2); }
.icon-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; }
.icon-btn:hover { background: var(--paper-2); }
.user-chip {
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--white);
}
.user-chip:hover { background: var(--paper-2); }
.user-chip span { font-size: 14px; font-weight: 500; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 600; font-size: 13px;
}

/* ---- Sekme çubuğu (tarayıcı gibi; sınırsız sekme, yer daraldıkça küçülür) ---- */
.sekmeler {
  height: 44px; flex-shrink: 0; display: flex; align-items: flex-end; gap: 4px;
  padding: 0 28px; background: var(--paper-2); border-bottom: 1px solid var(--line-2);
  --sekme-w: 200px;
}
.sekme-liste {
  display: flex; align-items: flex-end; gap: 4px; min-width: 0; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; padding-top: 6px; scroll-behavior: smooth;
}
.sekme-liste::-webkit-scrollbar { display: none; }
.sekme {
  position: relative; display: flex; align-items: center; gap: 8px; height: 36px;
  flex: 0 0 var(--sekme-w); width: var(--sekme-w); padding: 0 8px 0 14px;
  border-radius: 10px 10px 0 0; color: var(--muted); border: 1px solid transparent; border-bottom: none;
  transition: background .12s, color .12s;
}
.sekme:hover { background: rgba(255,255,255,0.6); color: var(--ink-2); }
.sekme.active { background: var(--white); color: var(--ink); border-color: var(--line-2); margin-bottom: -1px; z-index: 1; }
.sekme .nokta { width: 7px; height: 7px; border-radius: 50%; background: #d6cccb; flex-shrink: 0; }
.sekme.active .nokta { background: var(--red); }
.sekme .ad {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--display); font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-align: left;
}
.sekme.active .ad { font-weight: 600; }
.sekme .kapat {
  display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px;
  opacity: 0; transition: opacity .12s, background .12s; flex-shrink: 0;
}
.sekme .kapat svg { stroke: currentColor; }
.sekme:hover .kapat, .sekme.active .kapat { opacity: 1; }
.sekme .kapat:hover { background: var(--red-tint); color: var(--red); }
/* Dar sekme: yalnızca nokta (aktifse nokta + kapat); ad üstüne gelince title ile görünür */
.sekmeler.dar .sekme { padding: 0 6px 0 8px; gap: 5px; }
.sekmeler.dar .sekme .ad { font-size: 11px; letter-spacing: 0.02em; }
.sekmeler.dar .sekme:not(.active) { background: rgba(255,255,255,0.5); }
.sekmeler.dar .sekme:not(.active):hover { background: rgba(255,255,255,0.9); }
.sekmeler.dar .sekme:not(.active) .kapat { display: none; }
.sekmeler.dar .sekme .nokta { background: #c7b9b8; }
.sekmeler.orta .sekme:not(.active) .kapat { display: none; }
.sekmeler.orta .sekme:not(.active) { padding-right: 10px; }
.sekme-yeni, .sekme-ok {
  display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-bottom: 7px;
  border-radius: 8px; color: var(--muted); flex-shrink: 0;
}
.sekme-yeni svg, .sekme-ok svg { stroke: currentColor; }
.sekme-yeni:hover, .sekme-ok:hover { background: var(--white); color: var(--red); }
.sekme-ok:disabled { opacity: .3; cursor: default; background: none; }

.sekme-icerik { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.view { display: none; flex: 1; min-height: 0; overflow: auto; }
.view.active { display: flex; flex-direction: column; }

/* ---- Ana ekran ---- */
.view[data-sayfa="home"] { padding: 56px 120px 40px; gap: 40px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; }
.eyebrow {
  font-family: var(--display); font-weight: 500; font-size: 12px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
}
.page-head h1 { font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0; }
.page-head .sub { font-size: 16px; color: var(--muted); }
.page-head .date { font-size: 14px; color: var(--muted); padding-bottom: 6px; }

.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.module {
  height: 164px; border-radius: 16px; padding: 20px; text-align: left;
  background: var(--white); border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.module:hover:not(:disabled) { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(26,20,22,0.08); border-color: var(--line-2); }
.module:disabled { cursor: default; }
.module .top { display: flex; justify-content: space-between; align-items: flex-start; }
.module .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--red-tint); display: flex; align-items: center; justify-content: center; }
.module .icon svg { stroke: var(--red); }
.module .tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted);
}
.module h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 0.06em; }
.module p { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.module.primary { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 18px 40px rgba(196,22,28,0.28); }
.module.primary:hover { box-shadow: 0 22px 44px rgba(196,22,28,0.34); }
.module.primary .icon { background: rgba(255,255,255,0.16); }
.module.primary .icon svg { stroke: var(--white); }
.module.primary .tag { background: rgba(255,255,255,0.18); color: var(--white); }
.module.primary p { color: rgba(255,255,255,0.8); }
.module.primary::after {
  content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
}

/* ---- Modül sayfası: başlık + üst sekmeler ---- */
.module-head {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 28px 40px 0; display: flex; flex-direction: column; gap: 22px; flex-shrink: 0;
}
.module-head .row { display: flex; justify-content: space-between; align-items: flex-end; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumb svg { stroke: #c9bfbf; }
.crumb strong { color: var(--ink); font-weight: 500; }
.module-title { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.module-title h1 { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: 0.04em; line-height: 1; }
.module-title i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.actions { display: flex; align-items: center; gap: 12px; padding-bottom: 4px; }
.btn {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
  border-radius: 10px; border: 1px solid var(--line-2); background: var(--white);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.btn:hover { background: var(--paper-2); }
.btn.red {
  border-color: var(--red); background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 600; font-size: 15px; padding: 0 20px;
  box-shadow: 0 8px 20px rgba(196,22,28,0.25);
}
.btn.red:hover { background: var(--red-deep); }

.tabs { display: flex; align-items: flex-end; gap: 36px; }
.tabs button {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  padding-bottom: 14px; border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--red); font-weight: 600; border-color: var(--red); }
.tabs .count { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--red-tint); color: var(--red); }

.tab-body { flex: 1; padding: 28px 40px; display: none; flex-direction: column; gap: 20px; }
.tab-body.active { display: flex; }

/* ---- Liste araçları ve tablo ---- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; align-items: center; gap: 8px; }
.chip {
  font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); color: var(--ink-2);
}
.chip:hover { border-color: var(--line-2); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); font-weight: 600; }
.toolbar .search { background: var(--white); border: 1px solid var(--line); width: 280px; }
.toolbar .right { display: flex; align-items: center; gap: 12px; }
.btn.sm { height: 40px; padding: 0 14px; }

.table { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.tr { display: grid; grid-template-columns: 160px 1fr 140px 160px 150px 60px; gap: 16px; padding: 18px 24px; align-items: center; font-size: 14px; border-bottom: 1px solid #f1ebea; }
.tr:last-child { border-bottom: none; }
.tr.th {
  padding: 14px 24px; background: #faf6f5; border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.tr.row:hover { background: #fdfbfb; cursor: pointer; }
.tr .no { font-weight: 600; }
.tr .cust { display: flex; flex-direction: column; gap: 2px; }
.tr .cust b { font-weight: 500; }
.tr .cust small { font-size: 12px; color: var(--muted-2); }
.tr .date { color: var(--ink-2); }
.tr .amt { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tr .sag { text-align: right; }
.tr .more { display: flex; justify-content: center; }
.teklif-table .tr.row { min-width: 0; }
.teklif-table .tr { grid-template-columns: 150px minmax(180px, 1fr) 120px 140px 150px 120px 72px; }
.teklif-table .cust, .teklif-table .no, .teklif-table .date, .teklif-table .amt { min-width: 0; }
.teklif-table .teklif-meta-select { width: 100%; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink-2); font: inherit; font-size: 12px; }
.teklif-table .teklif-meta-select:focus { outline: 2px solid var(--red-tint); border-color: var(--red); }
.teklif-table .teklif-save { height: 32px; width: 100%; padding: 0 7px; border: 1px solid var(--red); border-radius: 8px; background: var(--red); color: var(--white); font-size: 12px; font-weight: 600; }
.teklif-table .teklif-save:disabled { opacity: .55; cursor: wait; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; width: fit-content; padding: 4px 10px; border-radius: 999px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.taslak { color: var(--muted); background: var(--paper-2); }
.status.gonderildi { color: #8a5a00; background: #fdf3df; }
.status.onaylandi { color: #1f6b3a; background: #e6f4ea; }
.status.reddedildi { color: var(--red); background: var(--red-tint); }
.table-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted-2); }

/* ---- Boş durum ---- */
.empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; color: var(--muted); padding: 60px 20px;
  border: 1px dashed var(--line-2); border-radius: 16px; background: var(--white);
}
.empty svg { stroke: var(--muted-2); }
.empty h3 { font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--ink); }
.empty p { font-size: 14px; max-width: 380px; }

/* ---- Dar ekran ---- */
@media (max-width: 1400px) { .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1100px) {
  .login-brand { display: none; }
  .login-form { padding: 32px; }
  .view[data-sayfa="home"] { padding: 40px; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { display: none; }
}
@media (max-width: 700px) {
  .modules { grid-template-columns: 1fr; }
  .topbar, .module-head, .tab-body { padding-left: 20px; padding-right: 20px; }
  .teklif-table { overflow-x: auto; }
  .teklif-table .tr { min-width: 920px; }
}

/* ========== Personel modülü, formlar, kart paneli, registry ========== */
.user-chip .user-text { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.user-chip .user-text small { font-size: 11px; color: var(--muted-2); }

.scroll-x { overflow-x: auto; }
.tr.row-static { cursor: default; }
.tr.pasif { opacity: .55; }
.tr.bos { display: block; text-align: center; color: var(--muted-2); padding: 32px; }
.bos { color: var(--muted-2); }
.mono { font-family: Consolas, "Courier New", monospace; font-size: 12px; color: var(--ink-2); }
.muted { color: var(--muted); font-size: 13px; }
.rol { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 2px 8px; margin: 1px 4px 1px 0; border-radius: 999px; background: var(--red-tint); color: var(--red); font-style: normal; }
.rol.yok { background: var(--paper-2); color: var(--muted-2); font-weight: 500; }

button.link { color: var(--red); font-size: 13px; font-weight: 500; padding: 2px 4px; }
button.link:hover { text-decoration: underline; }

/* form */
.kart { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.form-head h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.form-head p { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
fieldset.grup { border: none; padding: 0; margin: 0 0 22px; }
fieldset.grup legend { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.alanlar { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px 18px; }
.field.genis { grid-column: 1 / -1; }
.field input[type=text], .field input[type=date], .field input[type=number], .field input[type=password], .field input[type=tel], .field input[type=email], .field input:not([type]),
.field select, .field textarea, .satir-form input, .satir-form select {
  height: 42px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); font-size: 14px; width: 100%;
}
.field textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .satir-form input:focus, .satir-form select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,22,28,.12); }
.zor { color: var(--red); font-weight: 700; }
.kilit { font-style: normal; font-size: 12px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.satir-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.satir-form input, .satir-form select { width: auto; flex: 1 1 140px; height: 40px; }

/* yan panel */
.drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.drawer .drawer-bg { position: absolute; inset: 0; background: rgba(26,20,22,.35); opacity: 0; transition: opacity .2s; }
.drawer .drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--white);
  box-shadow: -20px 0 50px rgba(26,20,22,.15); transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel header { display: flex; justify-content: space-between; align-items: flex-start; padding: 24px 28px 16px; border-bottom: 1px solid var(--line); }
.drawer-panel h3 { font-family: var(--display); font-weight: 600; font-size: 24px; }
.drawer-panel header small { color: var(--muted); font-size: 13px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 28px 28px; }
.kart-grup { padding: 18px 0; border-bottom: 1px solid var(--line); }
.kart-grup:last-child { border-bottom: none; }
.kart-grup h4 { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.kart-grup dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 14px; }
.kart-grup dt { color: var(--muted); }
.kart-grup dd { color: var(--ink); }
.kart-grup details summary { cursor: pointer; font-weight: 600; color: var(--red); }
.kart-grup details .form { margin-top: 14px; }
.rol-liste { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.rol-liste li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.rol-liste li small { color: var(--muted); flex: 1; }
.rol-liste li.bitmis { opacity: .5; text-decoration: line-through; }
.yukleniyor, .hata-kutu { padding: 40px; text-align: center; color: var(--muted); }
.hata-kutu { color: var(--red); }

/* yetki matrisi */
.matris { border-collapse: collapse; width: 100%; font-size: 13px; }
.matris th, .matris td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.matris th:first-child, .matris td:first-child { text-align: left; }
.matris th small, .matris td small { display: block; font-weight: 400; color: var(--muted-2); font-size: 11px; }
.matris thead th { background: #faf6f5; font-family: var(--display); font-weight: 600; }
.matris input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--red); }
.matris tbody tr:hover { background: #fdfbfb; }

/* tarihçe */
.tarihce { display: flex; flex-direction: column; max-height: 480px; overflow: auto; }
.tarihce-satir { display: grid; grid-template-columns: 130px 1fr 1.4fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f1ebea; font-size: 13px; align-items: baseline; }
.tarihce-satir .zaman { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.tarihce-satir .fark { color: var(--ink-2); word-break: break-word; }
.tarihce-satir .fark s { color: var(--muted-2); }
.tarihce-satir .status { margin-left: 6px; }
.tab-body[data-tab="roller"] { gap: 24px; }

/* bildirim */
#bildirim {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 10px; background: var(--ink); color: var(--white); font-size: 14px; z-index: 100;
  transition: opacity .2s, transform .2s; box-shadow: 0 10px 30px rgba(26,20,22,.25);
}
#bildirim.goster { opacity: 1; transform: translate(-50%, 0); }
#bildirim.ok { background: #1f6b3a; }
#bildirim.hata { background: var(--red); }

/* tehlikeli işlem */
.kart-grup.tehlike h4 { color: var(--muted); }
.btn.tehlike { border-color: #f3b4b4; color: var(--red); background: var(--white); margin-top: 8px; }
.btn.tehlike:hover { background: var(--red); border-color: var(--red); color: var(--white); }

/* ========== Müşteri modülü ========== */
.tr .kisiler { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tr .kisiler small { font-size: 12px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr .kaynak { font-size: 9px; font-weight: 700; letter-spacing: .06em; color: #c9660a; background: #fdf3df; border-radius: 4px; padding: 1px 4px; margin-left: 6px; vertical-align: middle; }
.tr .cust small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kart-grup h4 .count { font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--red-tint); color: var(--red); margin-left: 6px; letter-spacing: 0; }
.kisi-liste { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.kisi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--white); }
.kisi.pasif { opacity: .55; }
.kisi.vurgu { border-color: var(--red); box-shadow: 0 0 0 3px rgba(196,22,28,.12); }
.kisi-bas { display: grid; grid-template-columns: 1.1fr 1.4fr auto; gap: 10px; align-items: center; }
.kisi-ad { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kisi-ad b { font-weight: 600; font-size: 14px; }
.kisi-ad small { color: var(--muted); font-size: 12px; }
.kisi-ad .lead { font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); border-radius: 999px; padding: 1px 7px; width: fit-content; margin-top: 2px; }
.kisi-iletisim { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13px; }
.kisi-iletisim a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.kisi-iletisim a:hover { color: var(--red); }
.kisi-form { margin-top: 10px; }
.kisi-form .form { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kisi-form .alanlar { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px 14px; }
.kisi-form .form-actions { margin-top: 12px; }
.kisi-form .btn.tehlike { margin: 0 auto 0 0; }
.kisi .tk-mini { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); font-size: 14px; flex-shrink: 0; }
.kisi .tk-mini:hover { border-color: var(--red); color: var(--red); }
.musteri-yeni-form .musteri-yeni-kisi fieldset.grup { border-top: 1px dashed var(--line-2); padding-top: 18px; }

/* ========== Projeler ve verilen teklifler (DIA) ========== */
.chip small { font-weight: 500; opacity: .7; margin-left: 4px; font-size: 11px; }
.chips .secim { height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; font-size: 13px; color: var(--ink-2); }
.tr .kirp, .tr b.kirp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; display: block; }
.tr .etiket { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.dia-liste { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.dia-satir { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--white); cursor: pointer; }
.dia-satir:hover { border-color: var(--red); }
.dia-satir .dia-bas, .dia-satir .dia-orta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dia-satir .dia-sag { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dia-satir small { font-size: 12px; color: var(--muted); }
.dia-satir .kirp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drawer-body .geri-link { display: inline-block; margin: 14px 0 4px; font-size: 13px; font-weight: 600; color: var(--red); }
.drawer-body .notlar { white-space: pre-wrap; font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.kart-grup dl.ekstra { grid-template-columns: 200px 1fr; margin-top: 12px; font-size: 13px; }
.kart-grup dd small.mono { margin-left: 6px; }
.kart-grup h4 small { text-transform: none; letter-spacing: 0; font-family: inherit; font-weight: 500; margin-left: 6px; }

/* tablo: sıralanabilir başlık, süzme satırı, kolon menüsü */
.tr.th .siralanir { cursor: pointer; user-select: none; }
.tr.th .siralanir:hover { color: var(--red); }
.tr.th .siralanir.aktif { color: var(--red); }
.tr.filtre { padding-top: 8px; padding-bottom: 8px; background: #fcfafa; border-bottom: 1px solid var(--line); }
.tr.filtre input[type=search] { width: 100%; height: 30px; padding: 0 8px; font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); color: var(--ink); min-width: 0; }
.tr.filtre input[type=search]:focus { outline: none; border-color: var(--red); }
.tr.filtre input[type=search]:not(:placeholder-shown) { border-color: var(--red); background: var(--red-tint); }
.tr.filtre .tablo-temizle { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--white); color: var(--red); cursor: pointer; font-size: 13px; }
.tablo-satirlar .tr:last-child { border-bottom: none; }
.kolon-menu-kap { position: relative; }
.kolon-sec summary { list-style: none; cursor: pointer; }
.kolon-sec summary::-webkit-details-marker { display: none; }
.kolon-sec[open] summary.chip { background: var(--ink); color: var(--white); border-color: var(--ink); }
.kolon-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 220px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: 0 12px 32px rgba(26,20,22,.14); display: flex; flex-direction: column; gap: 6px; }
.kolon-menu label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.kolon-menu input[type=checkbox] { accent-color: var(--red); width: 15px; height: 15px; }
.kolon-menu .link { margin-top: 6px; align-self: flex-start; font-size: 12px; color: var(--red); background: none; border: none; cursor: pointer; padding: 0; }
.kolon-menu-kap { display: flex; gap: 8px; }
.kolon-menu-kap details { position: relative; }
.kayit-menu { min-width: 260px; }
.kayit-satir { display: flex; align-items: center; gap: 6px; }
.kayit-satir .kayit-ac { flex: 1; text-align: left; font: inherit; font-size: 13px; padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; background: var(--paper); cursor: pointer; color: var(--ink); }
.kayit-satir .kayit-ac:hover { border-color: var(--line-2); }
.kayit-satir.aktif .kayit-ac { border-color: var(--red); background: var(--red-tint); font-weight: 600; }
.kayit-satir .kayit-sil { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; }
.kayit-satir .kayit-sil:hover { color: var(--red); border-color: var(--red); }
.kayit-bos { font-size: 12px; max-width: 240px; line-height: 1.4; }
.kayit-islem { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); }
.kayit-islem .btn.sm { height: 34px; justify-content: center; }
.chip.active summary, summary.chip.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.kaynak-rozet { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 2px 7px; border-radius: 6px; vertical-align: middle; }
.kaynak-rozet.artos { color: var(--red); background: var(--red-tint); }
.kaynak-rozet.dia { color: #c9660a; background: #fdf3df; }
.kart-grup h4 .kaynak-rozet { margin-left: 8px; letter-spacing: .06em; }
.kat-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.kat-tablo th, .kat-tablo td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.kat-tablo th { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kat-tablo .sag { text-align: right; font-variant-numeric: tabular-nums; }

/* ========== Ayarlar (registry) ========== */
.ay-satir input, .ay-satir select { width: 100%; height: 30px; padding: 0 8px; font: inherit; font-size: 12px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); min-width: 0; }
.ay-satir input:hover, .ay-satir select:hover { border-color: var(--line); background: var(--white); }
.ay-satir input:focus, .ay-satir select:focus { outline: none; border-color: var(--red); background: var(--white); }
.ay-satir input::placeholder { color: var(--muted-2); }
.ay-satir input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--red); }
.ay-kapsam-cipler { margin-left: 8px; }
.ay-dia-table input, .ay-dia-table select { width: 100%; height: 32px; padding: 0 8px; font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.ay-param-table .param-deger { width: 100%; height: 32px; padding: 0 8px; font: inherit; font-size: 13px; border: 1px solid var(--line); border-radius: 8px; }
.tab-body[data-tab="dia"] .form-head { margin-top: 8px; }
.ay-hesap-izgara { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.ay-hesap-dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; font-size: 14px; }
.ay-hesap-dl dt { color: var(--muted); }
.ay-dil-cipler .chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ========== Proje yaşam döngüsü: aşama şeridi, revizyonlar, fiyat uyarısı (js/proje-revizyon.js) ========== */
.drawer.genis .drawer-panel { width: min(860px, 100%); }
.proje-yasam .kart-grup:first-child { padding-top: 14px; }
.asama-serit { list-style: none; display: flex; gap: 4px; margin: 4px 0 12px; padding: 0; flex-wrap: wrap; }
.asama-serit li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-2); padding: 6px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid transparent; }
.asama-serit li i { font-style: normal; font-weight: 700; font-size: 11px; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--white); color: var(--muted-2); }
.asama-serit li.bitti { color: #1f6b3a; background: #e6f4ea; }
.asama-serit li.bitti i { background: #1f6b3a; color: var(--white); }
.asama-serit li.aktif { color: var(--white); background: var(--red); border-color: var(--red); font-weight: 600; }
.asama-serit li.aktif i { background: var(--white); color: var(--red); }
.asama-islem { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.asama-islem .asama-not { flex: 1 1 200px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; }
.asama-gecmis { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-top: 10px; font-size: 13px; }
.asama-gecmis li { display: grid; grid-template-columns: 120px 1fr; gap: 4px 12px; }
.asama-gecmis li .zaman { color: var(--muted-2); font-variant-numeric: tabular-nums; }
.asama-gecmis li small { grid-column: 2; color: var(--muted); }
.tr .asama-hucre { display: flex; align-items: center; gap: 6px; min-width: 0; }
.asama-rozet { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.asama-rozet.cizim_2d { background: #fdf3df; color: #8a5a00; }
.asama-rozet.cizim_onaylandi, .asama-rozet.satinalma_3d { background: #e8eefb; color: #24479a; }
.asama-rozet.imalata_hazir, .asama-rozet.imalatta { background: #e6f4ea; color: #1f6b3a; }
.asama-rozet.tamamlandi { background: var(--ink); color: var(--white); }
.uyari-nokta { font-style: normal; font-size: 11px; font-weight: 700; width: 18px; height: 18px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: var(--white); flex-shrink: 0; }
.chip.uyari-chip { border-color: #f3b4b4; color: var(--red); }
.chip.uyari-chip.active { background: var(--red); border-color: var(--red); color: var(--white); }

.rev-serit { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rev-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.rev-chip small { font-size: 10px; font-weight: 600; padding: 0 6px; border-radius: 999px; background: var(--red-tint); color: var(--red); }
.rev-chip.aktif { background: var(--ink); border-color: var(--ink); color: var(--white); }
.rev-chip.aktif small { background: var(--white); }
.rev-chip.onayli { box-shadow: 0 0 0 2px #e6f4ea; border-color: #1f6b3a; }
.rev-chip.yeni { border-style: dashed; color: var(--red); }
.rev-yeni { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; flex-wrap: wrap; }
.rev-yeni input { flex: 1 1 260px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; }
.rev-bas { margin-bottom: 10px; }
.rev-bas .rev-aciklama { width: 100%; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; margin-top: 6px; }
.rev-aciklama-metin { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.rev-fiyat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 10px 0 14px; }
.rev-fiyat div { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.rev-fiyat small { color: var(--muted); font-size: 12px; }
.rev-fiyat b { font-size: 16px; font-variant-numeric: tabular-nums; }
.fark-artis { color: var(--red); }
.fark-azalis { color: #1f6b3a; }
.rev-grup { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; background: var(--white); }
.rev-grup summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink-2); }
.rev-grup summary small { color: var(--muted-2); font-weight: 500; margin-left: 6px; }
.rev-grup dl { margin-top: 10px; grid-template-columns: 220px 1fr; font-size: 13px; }
.rev-grup dt.degisti, .rev-grup dd.degisti { color: var(--red); font-weight: 600; }
.rev-grup dd s { color: var(--muted-2); font-weight: 400; margin-right: 6px; }
.rev-grup .alanlar { margin-top: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 14px; }
.rev-form .field.degisti label { color: var(--red); }
.rev-form .field { position: relative; }
.rev-form .field .birim { position: absolute; right: 12px; bottom: 12px; font-style: normal; font-size: 12px; color: var(--muted-2); pointer-events: none; }
.rev-form .form-actions { justify-content: space-between; align-items: center; }

.uyari-kutu { border: 1px solid #f3b4b4; border-radius: 12px; padding: 14px; background: #fff7f7; margin-bottom: 10px; }
.uyari-kutu.acik { box-shadow: 0 0 0 3px rgba(196,22,28,.08); }
.uyari-bas { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.uyari-kutu dl { grid-template-columns: 160px 1fr; font-size: 13px; }
.uyari-alanlar { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 10px; }
.uyari-alanlar th, .uyari-alanlar td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.uyari-alanlar th { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.uyari-alanlar td s { color: var(--muted-2); }
.uyari-alanlar .sag { text-align: right; font-variant-numeric: tabular-nums; }
.uyari-karar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 12px; }
.uyari-karar .karar-not { flex: 1 1 200px; height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; }

.asama-onay { margin-top: 10px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: var(--paper); }
.asama-onay-alanlar { display: grid; grid-template-columns: 200px 1fr; gap: 10px; margin-top: 8px; }
.asama-onay-alanlar label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.asama-onay-alanlar input { height: 40px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 13px; font-weight: 400; }
.asama-islem .btn.secili { outline: 2px solid var(--ink); outline-offset: 1px; }

.asama-serit li span { display: flex; flex-direction: column; line-height: 1.15; }
.asama-serit li span small { font-size: 10px; font-weight: 500; opacity: .8; }
.posta-liste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 10px; }
.posta-liste li { display: flex; flex-direction: column; gap: 4px; border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--muted); }
.posta-liste li i { font-style: normal; font-weight: 700; font-size: 11px; width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--paper-2); color: var(--muted-2); }
.posta-liste li small { color: var(--muted-2); }

/* ---------- Dosyalar (SharePoint, js/dosyalar.js) ---------- */
.dosya-sekmeler { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dosya-yol { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.dosya-yol a { color: var(--ink); text-decoration: none; } .dosya-yol a:hover { color: var(--red); }
.dosya-yol .right { margin-left: auto; }
.dosya-liste { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dosya-satir { display: grid; grid-template-columns: 22px minmax(0,1fr) 90px 150px; gap: 10px; align-items: center; padding: 8px 12px; font-size: 13px; border-bottom: 1px solid var(--line); cursor: pointer; }
.dosya-satir:last-child { border-bottom: none; } .dosya-satir:hover { background: var(--red-tint); }
.dosya-satir .ad { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dosya-satir.klasor .ad { font-weight: 600; }
.dosya-satir small { color: var(--muted); }
.dosya-satir svg { width: 18px; height: 18px; stroke: var(--muted); fill: none; stroke-width: 1.8; } .dosya-satir.klasor svg { stroke: var(--red); }
