/* Saat Tamir Atölyesi — servis paneli
   Apple çizgisi: sistem fontu, açık gri zemin, beyaz gruplu kartlar, tek vurgu rengi, bol boşluk. */
:root {
  --bg: #F5F5F7;
  --yuzey: #FFFFFF;
  --yuzey-2: #FBFBFD;
  --dolgu: #E8E8ED;
  --dolgu-2: #F2F2F5;
  --cizgi: rgba(0, 0, 0, .08);
  --cizgi-2: #D2D2D7;
  --metin: #1D1D1F;
  --metin-2: #6E6E73;
  --metin-3: #86868B;
  --vurgu: #0071E3;
  --vurgu-koyu: #0058B0;
  --vurgu-zemin: #E8F1FC;
  --halka: 0 0 0 4px rgba(0, 113, 227, .22);
  --yesil: #1D7D3A; --yesil-zemin: #E7F5EB;
  --turuncu: #A3530A; --turuncu-zemin: #FFF2E3;
  --kirmizi: #C9182B; --kirmizi-zemin: #FDECEE;
  --mor: #7A3FC2; --mor-zemin: #F3ECFC;
  --mavi: #0062C4; --mavi-zemin: #E8F1FC;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-s: 8px; --r: 12px; --r-l: 18px; --r-xl: 22px; --hap: 980px;
  --golge: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.04);
  --golge-2: 0 12px 40px rgba(0,0,0,.16);
  --yan: 248px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--metin); font: 400 15px/1.47 var(--font); letter-spacing: -.01em; -webkit-font-smoothing: antialiased; }
a { color: var(--vurgu); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: none; box-shadow: var(--halka); border-radius: var(--r-s); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.say { font-variant-numeric: tabular-nums; }
.ikinci { color: var(--metin-2); }
.ucuncu { color: var(--metin-3); }
.kucuk { font-size: 13px; }
.kirmizi-yazi { color: var(--kirmizi); }
.yesil-yazi { color: var(--yesil); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 18px; height: 18px; flex: none; }

/* ───────── Kabuk: masaüstünde yan menü, telefonda alt sekme çubuğu ───────── */
.yan {
  position: fixed; inset: 0 auto 0 0; width: var(--yan); padding: 20px 12px; z-index: 30;
  background: rgba(246, 246, 248, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-right: 1px solid var(--cizgi); display: flex; flex-direction: column; gap: 4px;
}
.marka { display: flex; align-items: center; gap: 10px; padding: 4px 10px 18px; color: var(--metin); text-decoration: none !important; }
.marka-ikon { width: 34px; height: 34px; border-radius: 9px; background: var(--metin); color: #fff; display: grid; place-items: center; flex: none; }
.marka-ikon svg { width: 20px; height: 20px; }
.marka-ad { font-weight: 600; font-size: 15px; line-height: 1.2; }
.marka-alt { display: block; font-size: 12px; color: var(--metin-3); font-weight: 400; }
.yan .yeni { margin: 0 4px 14px; }
.menu { display: flex; flex-direction: column; gap: 2px; }
.menu a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); color: var(--metin); font-size: 14px; font-weight: 500; text-decoration: none; }
.menu a svg { color: var(--metin-2); }
.menu a:hover { background: rgba(0,0,0,.04); }
.menu a[aria-current="page"] { background: rgba(0,0,0,.07); }
.menu a[aria-current="page"] svg { color: var(--vurgu); }
.menu .sayi { margin-left: auto; font-size: 12px; color: var(--metin-3); font-variant-numeric: tabular-nums; }
.yan .alt { margin-top: auto; padding: 0 4px; }
.yan .alt form { margin: 0; }
.yan .alt .btn { width: 100%; justify-content: flex-start; background: transparent; color: var(--metin-2); }
.yan .alt .btn:hover { background: rgba(0,0,0,.04); }

.icerik { margin-left: var(--yan); min-height: 100vh; }
.sayfa { max-width: 1120px; margin: 0 auto; padding: 32px 40px 120px; }
.sayfa.dar { max-width: 880px; }
.sekmeler, .kaydet-cubugu { display: none; }

/* Başlık */
.baslik { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.baslik h1 { font-size: 32px; line-height: 1.12; font-weight: 700; letter-spacing: -.025em; }
.baslik .ust-bilgi { display: block; font-size: 13px; color: var(--metin-3); font-weight: 500; margin-bottom: 4px; letter-spacing: 0; }
.baslik .bosluk { flex: 1; }
.geri { display: inline-flex; align-items: center; gap: 2px; font-size: 15px; margin-bottom: 6px; }
.geri svg { width: 16px; height: 16px; }

/* ───────── Düğmeler ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 16px;
  border-radius: var(--hap); border: 0; background: var(--dolgu); color: var(--metin);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, transform .1s;
}
.btn:hover { background: #DEDEE3; }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-ana { background: var(--vurgu); color: #fff; }
.btn-ana:hover { background: var(--vurgu-koyu); }
.btn-koyu { background: var(--metin); color: #fff; }
.btn-koyu:hover { background: #000; }
.btn-yesil { background: #1F8F4E; color: #fff; }
.btn-yesil:hover { background: #18773F; }
.btn-sade { background: transparent; color: var(--vurgu); padding: 0 10px; }
.btn-sade:hover { background: var(--vurgu-zemin); }
.btn-tehlike { background: var(--kirmizi-zemin); color: var(--kirmizi); }
.btn-tehlike:hover { background: #FAD9DD; }
.btn-b { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn-tam { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .4; pointer-events: none; }
.baglanti { background: none; border: 0; padding: 0; color: var(--vurgu); cursor: pointer; font-size: inherit; min-height: 32px; }
.baglanti:hover { text-decoration: underline; }
.baglanti.kirmizi { color: var(--kirmizi); }

/* ───────── Kartlar ve gruplu listeler ───────── */
.kart { background: var(--yuzey); border-radius: var(--r-l); box-shadow: var(--golge); }
.kart-ic { padding: 24px; }
.kart-ic > * + * { margin-top: 16px; }
.yigin > * + * { margin-top: 28px; }
.bolum-baslik { display: flex; align-items: center; gap: 10px; margin: 0 4px 10px; min-height: 32px; }
.bolum-baslik h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.bolum-baslik .bosluk { flex: 1; }
.bolum-baslik .aciklama { font-size: 13px; color: var(--metin-3); }
.alt-baslik { font-size: 13px; font-weight: 600; color: var(--metin-2); margin-bottom: 8px; }

.liste { list-style: none; margin: 0; padding: 0; }
.liste > li, .liste > a { display: flex; align-items: center; gap: 14px; padding: 13px 20px; min-height: 56px; border-top: 1px solid var(--cizgi); color: inherit; text-decoration: none !important; }
.liste > li:first-child, .liste > a:first-child { border-top: 0; }
a.liste-satir:hover, .liste > a:hover { background: var(--yuzey-2); }
.liste .ana { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.liste .ust, .liste .alt { display: block; }
.liste .ust { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste .alt { font-size: 13px; color: var(--metin-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liste .sag { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.liste .ok { color: #C7C7CC; flex: none; width: 8px; height: 14px; }
.liste .no { font: 600 13px var(--mono); color: var(--metin-3); min-width: 40px; flex: none; }
.liste .tutar { font-weight: 500; font-variant-numeric: tabular-nums; }
.bos { padding: 48px 24px; text-align: center; color: var(--metin-2); }
.bos svg { width: 44px; height: 44px; color: #C7C7CC; margin-bottom: 12px; }
.bos p { margin-bottom: 16px; }
.dl { display: grid; grid-template-columns: 150px 1fr; gap: 10px 20px; margin: 0; font-size: 14px; }
.dl dt { color: var(--metin-2); }
.dl dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ───────── Durum ───────── */
.durum { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--hap); font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: 0; }
.durum::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.d-kabul { color: #515154; background: var(--dolgu-2); }
.d-inceleme { color: var(--mavi); background: var(--mavi-zemin); }
.d-teklif { color: var(--turuncu); background: var(--turuncu-zemin); }
.d-tamirde { color: #0A6E8A; background: #E3F4F8; }
.d-kontrol { color: var(--mor); background: var(--mor-zemin); }
.d-hazir { color: var(--yesil); background: var(--yesil-zemin); }
.d-teslim { color: #fff; background: #1D1D1F; }
.d-iptal { color: var(--kirmizi); background: var(--kirmizi-zemin); }
.etiket { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 600; background: var(--dolgu-2); color: var(--metin-2); letter-spacing: .01em; white-space: nowrap; }
.etiket.kurumsal { background: #EEF0FF; color: #3E44B8; }
.etiket.borc { background: var(--kirmizi-zemin); color: var(--kirmizi); }
.etiket.alacak { background: var(--yesil-zemin); color: var(--yesil); }
.etiket.uyari { background: var(--turuncu-zemin); color: var(--turuncu); }

.adimlar { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.adimlar li { flex: 1; min-width: 0; }
.adimlar li::before { content: ""; display: block; height: 4px; border-radius: 2px; background: var(--dolgu); margin-bottom: 8px; }
.adimlar li.tamam::before { background: var(--metin); }
.adimlar li.simdi::before { background: var(--vurgu); }
.adimlar span { display: block; font-size: 12px; color: var(--metin-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adimlar li.simdi span { color: var(--vurgu); font-weight: 600; }
.adimlar li.tamam span { color: var(--metin-2); }

/* ───────── Pano ───────── */
.metrikler { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.metrik { display: block; background: var(--yuzey); border-radius: var(--r-l); box-shadow: var(--golge); padding: 18px 20px; color: inherit; text-decoration: none !important; transition: transform .15s; }
.metrik:hover { transform: translateY(-1px); }
.metrik .deger { display: block; font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.metrik .ad { font-size: 13px; color: var(--metin-2); font-weight: 500; }
.metrik.vurgu .deger { color: var(--vurgu); }
.metrik.yesil .deger { color: var(--yesil); }
.metrik.kirmizi .deger { color: var(--kirmizi); }
.iki-sutun { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

/* Segmentli seçici */
.segment { display: inline-flex; background: var(--dolgu); border-radius: 10px; padding: 2px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; vertical-align: middle; }
.segment::-webkit-scrollbar { display: none; }
.segment a, .segment label { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 14px; min-height: 32px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--metin); cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.segment input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment a[aria-current="true"], .segment label:has(input:checked) { background: var(--yuzey); box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); font-weight: 600; }
.segment label:has(input:focus-visible) { box-shadow: var(--halka); }
.segment .sayi { color: var(--metin-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.segment.tam { display: flex; } .segment.tam > * { flex: 1; justify-content: center; }

.arama { position: relative; }
.arama > svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--metin-3); pointer-events: none; z-index: 1; }
.arama input { padding-left: 36px !important; background: var(--dolgu) !important; border-color: transparent !important; }
.arama input:focus { background: var(--yuzey) !important; border-color: var(--vurgu) !important; }
.arac-cubugu { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.arac-cubugu .arama { flex: 1; min-width: 220px; }

/* ───────── Form ───────── */
.form-izgara { display: grid; gap: 16px; }
.i2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.i3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.i4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.yay2 { grid-column: span 2; }
.yay-tam { grid-column: 1 / -1; }
.alan > label, .alan > .lbl { display: block; font-size: 13px; font-weight: 500; color: var(--metin-2); margin: 0 0 6px 2px; }
.alan .zorunlu { color: var(--kirmizi); }
.alan .yardim { font-size: 12px; color: var(--metin-3); margin: 6px 0 0 2px; }
.alan .hata { font-size: 12px; color: var(--kirmizi); margin: 6px 0 0 2px; font-weight: 500; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], input[type=password], input[type=search], select, textarea {
  width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--cizgi-2); border-radius: var(--r); background: var(--yuzey);
  font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none;
}
input[type=date] { min-height: 44px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%2386868B' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #AEAEB2; }
input:focus, select:focus, textarea:focus { border-color: var(--vurgu); box-shadow: var(--halka); }
.hatali input, .hatali select, .hatali textarea { border-color: var(--kirmizi); }
input[readonly] { background: var(--dolgu-2); color: var(--metin-2); }
.ekli { position: relative; }
.ekli > span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--metin-3); font-size: 14px; pointer-events: none; }
.ekli input { padding-right: 46px; }
input.para { text-align: right; font-variant-numeric: tabular-nums; }
.onay-kutu { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.onay-kutu input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--vurgu); flex: none; }

.cipler { display: flex; flex-wrap: wrap; gap: 8px; }
.cip { position: relative; }
.cip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cip span, button.cip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--hap); background: var(--dolgu-2); font-size: 14px; font-weight: 500; cursor: pointer; user-select: none; transition: background .15s; border: 0; color: var(--metin); }
.cip span:hover, button.cip:hover { background: var(--dolgu); }
.cip input:checked + span { background: var(--metin); color: #fff; }
.cip input:focus-visible + span { box-shadow: var(--halka); }
button.cip { color: var(--vurgu); }

/* Aranabilir seçici (combobox) */
.secici { position: relative; }
.secici-liste { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; max-height: 340px; overflow-y: auto; background: var(--yuzey); border-radius: var(--r); box-shadow: var(--golge-2), 0 0 0 .5px rgba(0,0,0,.08); padding: 6px; list-style: none; margin: 0; }
.secici-liste li { padding: 9px 12px; border-radius: var(--r-s); cursor: pointer; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.secici-liste li .yb { margin-left: auto; font-size: 12px; color: var(--metin-3); white-space: nowrap; text-align: right; }
.secici-liste li .ab { display: block; font-size: 12px; color: var(--metin-3); }
.secici-liste li[aria-selected="true"] { background: var(--vurgu); color: #fff; }
.secici-liste li[aria-selected="true"] .yb, .secici-liste li[aria-selected="true"] .ab { color: rgba(255,255,255,.82); }
.secici-liste li.grup { font-size: 11px; font-weight: 600; color: var(--metin-3); text-transform: uppercase; letter-spacing: .05em; cursor: default; padding: 10px 12px 4px; }
.secici-liste li.yeni { color: var(--vurgu); font-weight: 500; }
.secici-liste li.yeni[aria-selected="true"] { color: #fff; }
.secici-liste li.bilgi { color: var(--metin-3); cursor: default; font-size: 14px; }

.cari-secili { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--yuzey-2); border: 1px solid var(--cizgi); }
.cari-secili .ana { flex: 1; min-width: 0; }
.cari-secili .ad { font-weight: 600; font-size: 16px; }
.cari-secili .alt { font-size: 13px; color: var(--metin-2); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(180deg, #A1A1A6, #6E6E73); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 15px; flex: none; letter-spacing: 0; }
.avatar.kurumsal { border-radius: 12px; background: linear-gradient(180deg, #6E6CF0, #3E44B8); }
.avatar.b { width: 72px; height: 72px; font-size: 26px; }
.avatar.b.kurumsal { border-radius: 18px; }

.saatler { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.saat-kart { position: relative; display: block; padding: 14px 16px; border-radius: var(--r); background: var(--yuzey); border: 1px solid var(--cizgi-2); cursor: pointer; color: inherit; text-decoration: none !important; }
.saat-kart input { position: absolute; opacity: 0; pointer-events: none; }
.saat-kart:has(input:checked) { border-color: var(--vurgu); box-shadow: 0 0 0 1px var(--vurgu); background: var(--vurgu-zemin); }
.saat-kart:has(input:focus-visible) { box-shadow: var(--halka); }
.saat-kart .m { font-weight: 600; }
.saat-kart .r { font-size: 13px; color: var(--metin-2); }
.saat-kart.yeni-saat { display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--vurgu); font-weight: 500; border-style: dashed; }

/* Teklif kalemleri */
.kalemler { width: 100%; border-collapse: collapse; font-size: 14px; }
.kalemler th { text-align: left; font-size: 12px; font-weight: 500; color: var(--metin-3); padding: 0 8px 8px 0; }
.kalemler td { padding: 4px 8px 4px 0; vertical-align: middle; }
.kalemler td.tutar { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; padding-right: 4px; min-width: 96px; }
.kalemler input, .kalemler select { min-height: 40px; padding: 8px 12px; }
.kalemler select { padding-right: 30px; background-position: right 10px center; }
.kalemler .sil-hucre { width: 36px; }
.kalemler .sil-hucre button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--metin-3); cursor: pointer; display: grid; place-items: center; }
.kalemler .sil-hucre button:hover { background: var(--kirmizi-zemin); color: var(--kirmizi); }
.toplamlar { margin-left: auto; max-width: 360px; display: grid; gap: 8px; font-size: 15px; }
.toplamlar div { display: flex; justify-content: space-between; gap: 16px; }
.toplamlar div span:last-child { font-variant-numeric: tabular-nums; }
.toplamlar .genel { font-size: 20px; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--cizgi); letter-spacing: -.02em; }
.toplamlar .kalan { color: var(--kirmizi); font-weight: 600; }
.toplamlar .tamam { color: var(--yesil); font-weight: 600; }

/* Kabul kontrolü */
.kontrol-satir { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--cizgi); }
.kontrol-satir:first-child { border-top: 0; }
.kontrol-satir .ad { flex: 1; font-weight: 500; font-size: 14px; }
.kontrol-satir .segment label { min-height: 30px; padding: 0 10px; font-size: 12px; }
.kontrol-satir .segment label.hasar:has(input:checked) { color: var(--kirmizi); }
.kontrol-satir .segment label.degismis:has(input:checked) { color: var(--turuncu); }

.olcum { width: 100%; border-collapse: collapse; font-size: 14px; }
.olcum th { text-align: left; font-size: 12px; font-weight: 500; color: var(--metin-3); padding: 0 10px 8px 0; }
.olcum td { padding: 4px 10px 4px 0; }
.olcum td:first-child { font-weight: 500; white-space: nowrap; }
.not-kutu { font-size: 12px; color: var(--metin-3); }

/* Servis formu: sağda yapışkan özet */
.duzen { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.ozet { position: sticky; top: 24px; }
.ozet .kart-ic > * + * { margin-top: 12px; }
.ozet-satir { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ozet-satir span:first-child { color: var(--metin-2); }
.ozet-satir span:last-child { font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.ozet .genel { font-size: 28px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bolum-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--metin); color: #fff; font-size: 12px; font-weight: 600; flex: none; letter-spacing: 0; }
.kirli-isaret { display: none; color: var(--turuncu); font-size: 13px; font-weight: 500; }
.kirli .kirli-isaret { display: inline; }
.hizli-tarih { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.hizli-tarih button { min-height: 30px; padding: 0 12px; font-size: 13px; }

/* Servis detay: hızlı işlemler */
.hizli { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-bottom: 24px; }
.hizli > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 80px; border-radius: var(--r-l); background: var(--yuzey); box-shadow: var(--golge); border: 0; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--metin); text-decoration: none !important; padding: 10px 6px; text-align: center; line-height: 1.2; }
.hizli > * svg { width: 24px; height: 24px; color: var(--vurgu); }
.hizli > .wa svg { color: #1F8F4E; }
.hizli > *:hover { background: var(--yuzey-2); }
.hizli > *[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.ust-kart { display: grid; gap: 18px; }
.ust-kart .satir { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }

.zaman { list-style: none; margin: 0; padding: 0; }
.zaman li { position: relative; padding: 0 0 16px 22px; font-size: 14px; }
.zaman li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--cizgi-2); }
.zaman li::after { content: ""; position: absolute; left: 7px; top: 20px; bottom: 2px; width: 1px; background: var(--cizgi); }
.zaman li:last-child::after { display: none; }
.zaman li:first-child::before { background: var(--vurgu); }
.zaman time { display: block; font-size: 12px; color: var(--metin-3); }

.fotolar { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.foto { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--dolgu-2); aspect-ratio: 1; }
.foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.foto .foto-is { position: absolute; inset: auto 6px 6px 6px; display: flex; gap: 6px; justify-content: flex-end; }
.foto .foto-is button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.5); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.foto .foto-is button svg { width: 16px; height: 16px; }
.foto.yukleniyor { opacity: .5; }
.foto-ekle { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r); aspect-ratio: 1; border: 1.5px dashed var(--cizgi-2); color: var(--vurgu); font-size: 13px; font-weight: 500; cursor: pointer; position: relative; background: var(--yuzey); text-align: center; padding: 6px; }
.foto-ekle svg { width: 26px; height: 26px; }
.foto-ekle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 0; }
.foto-ekle:focus-within { box-shadow: var(--halka); }

.ekstre { width: 100%; border-collapse: collapse; font-size: 14px; }
.ekstre th { text-align: left; font-size: 12px; font-weight: 500; color: var(--metin-3); padding: 12px 20px 8px; border-bottom: 1px solid var(--cizgi); }
.ekstre td { padding: 12px 20px; border-top: 1px solid var(--cizgi); vertical-align: top; }
.ekstre tr:first-child td { border-top: 0; }
.ekstre .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ekstre tr.iptal td { color: var(--metin-3); }
.ekstre tr.iptal td.r { text-decoration: line-through; }
.bakiye { font-size: 34px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }

/* ───────── Bildirim ───────── */
.bildirimler { position: fixed; top: 16px; left: calc(50% + var(--yan) / 2); transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; width: min(520px, calc(100% - 32px)); }
.bildirim { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 14px; background: rgba(29,29,31,.92); color: #fff; font-size: 14px; box-shadow: var(--golge-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: gel .25s ease-out; }
.bildirim.hata { background: rgba(201,24,43,.96); }
.bildirim p { flex: 1; }
.bildirim ul { margin: 6px 0 0; padding-left: 18px; }
.bildirim button { background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 2px; }
@keyframes gel { from { opacity: 0; transform: translateY(-8px); } }
.serit { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: var(--r); font-size: 14px; }
.serit.uyari { background: var(--turuncu-zemin); color: #6E3A06; }
.serit.bilgi { background: var(--vurgu-zemin); color: #003D7A; }
.serit.hata { background: var(--kirmizi-zemin); color: #8E0F1E; }
.serit p { flex: 1; }
.serit + .serit { margin-top: 8px; }

/* ───────── Panel (yerel <dialog>) ───────── */
dialog.panel { border: 0; padding: 0; border-radius: var(--r-xl); width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 64px); background: var(--yuzey); color: var(--metin); box-shadow: var(--golge-2); overflow: hidden; }
dialog.panel[open] { display: flex; flex-direction: column; animation: gel .2s ease-out; }
dialog.panel::backdrop { background: rgba(0,0,0,.32); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.panel form { display: contents; }
.panel-bas { display: flex; align-items: center; gap: 12px; padding: 20px 20px 4px; }
.panel-bas h2 { flex: 1; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.panel-ic { padding: 14px 20px 20px; display: grid; gap: 14px; overflow-y: auto; }
.panel-alt { display: flex; gap: 10px; justify-content: flex-end; padding: 12px 20px 20px; border-top: 1px solid var(--cizgi); }
.kapat-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--dolgu); color: var(--metin-2); cursor: pointer; display: grid; place-items: center; }
.kapat-x svg { width: 14px; height: 14px; }

/* Giriş */
.giris { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(1200px 600px at 50% -10%, #FFFFFF, var(--bg)); }
.giris .kart { width: 100%; max-width: 380px; padding: 40px 32px 32px; text-align: center; }
.giris .marka-ikon { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 18px; }
.giris .marka-ikon svg { width: 34px; height: 34px; }
.giris h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.giris .alt-yazi { color: var(--metin-2); margin: 4px 0 24px; font-size: 15px; }
.giris form { display: grid; gap: 12px; text-align: left; }

/* ───────── Tablet ───────── */
@media (max-width: 1100px) {
  .duzen { grid-template-columns: minmax(0, 1fr); }
  .ozet { position: static; }
  .metrikler { grid-template-columns: repeat(2, 1fr); }
  .iki-sutun { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  :root { --yan: 0px; }
  .yan { display: none; }
  .sayfa { padding: 20px 20px calc(120px + env(safe-area-inset-bottom)); }
  .sekmeler {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(250, 250, 252, .9);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid rgba(0,0,0,.15);
  }
  .sekmeler a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; font-weight: 500; color: #8E8E93; text-decoration: none !important; padding: 2px 0; letter-spacing: 0; min-height: 48px; justify-content: center; }
  .sekmeler a svg { width: 26px; height: 26px; }
  .sekmeler a[aria-current="page"] { color: var(--vurgu); }
  .sekmeler .arti span { width: 50px; height: 50px; border-radius: 50%; background: var(--vurgu); color: #fff; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,113,227,.35); }
  .sekmeler .arti svg { width: 24px; height: 24px; }
  .kaydet-cubugu {
    display: flex; gap: 10px; align-items: center; position: fixed; left: 0; right: 0; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 25; padding: 10px 16px;
    background: rgba(250,250,252,.94); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: .5px solid rgba(0,0,0,.12);
  }
  .kaydet-cubugu .toplam { flex: 1; display: flex; flex-direction: column; justify-content: center; font-size: 12px; color: var(--metin-2); line-height: 1.25; min-width: 0; }
  .kaydet-cubugu .toplam strong { font-size: 19px; color: var(--metin); font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
  .ozet .masaustu { display: none; }
  .hizli { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
/* ───────── Telefon ───────── */
@media (max-width: 640px) {
  .sayfa { padding: 12px 16px calc(160px + env(safe-area-inset-bottom)); }
  .baslik { margin-bottom: 16px; gap: 12px; }
  .baslik h1 { font-size: 28px; }
  .baslik .islemler { width: 100%; }
  .kart-ic { padding: 18px 16px; }
  .kart { border-radius: 16px; }
  .i2, .i3, .i4 { grid-template-columns: minmax(0, 1fr); }
  .i3.tel-2, .i4.tel-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yay2 { grid-column: auto; }
  .liste > li, .liste > a { padding: 12px 16px; }
  .metrikler { gap: 10px; margin-bottom: 20px; }
  .metrik { padding: 14px 16px; border-radius: 16px; }
  .metrik .deger { font-size: 26px; }
  .hizli { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .hizli > * { min-height: 70px; font-size: 11px; border-radius: 16px; padding: 8px 4px; }
  .hizli > .masaustu-yalniz { display: none; }
  .dl { grid-template-columns: 1fr; gap: 2px; }
  .dl dd { margin-bottom: 10px; }
  .kontrol-satir { flex-direction: column; align-items: stretch; gap: 8px; }
  .kontrol-satir .segment { display: flex; }
  .kontrol-satir .segment label { flex: 1; justify-content: center; padding: 0 4px; }
  .kalemler thead { display: none; }
  .kalemler, .kalemler tbody, .kalemler tr, .kalemler td { display: block; }
  .kalemler tr { display: grid; grid-template-columns: 96px 64px 1fr 36px; gap: 6px; padding: 10px 0; border-top: 1px solid var(--cizgi); align-items: center; }
  .kalemler tr:first-child { border-top: 0; }
  .kalemler td { padding: 0; }
  .kalemler td.aciklama { grid-column: 1 / -1; }
  .kalemler td.tutar { grid-column: 1 / -2; text-align: right; font-size: 13px; color: var(--metin-2); }
  .toplamlar { max-width: none; }
  .ekstre th:nth-child(3), .ekstre td:nth-child(3) { display: none; }
  .ekstre th, .ekstre td { padding-left: 16px; padding-right: 16px; }
  dialog.panel { width: 100%; max-width: none; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 92vh; }
  dialog.panel[open] { animation: yukari .3s cubic-bezier(.2,.8,.2,1); }
  .panel-alt { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .panel-alt .btn { flex: 1; }
  input, select, textarea { font-size: 16px !important; }
  .bildirimler { top: auto; bottom: calc(84px + env(safe-area-inset-bottom)); left: 50%; }
}
@keyframes yukari { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
@media print { .yan, .sekmeler, .kaydet-cubugu, .yazdirma { display: none !important; } .icerik { margin: 0; } body { background: #fff; } .kart { box-shadow: none; } }
.cari-secili .ad, .cari-secili .alt, .saat-kart .m, .saat-kart .r, .secici-liste li > span > span { display: block; }
.cari-secili .ana { display: flex; flex-direction: column; }
.secici-liste mark { background: none; color: inherit; font-weight: 700; }
@media (max-width: 640px) {
  .adimlar span { visibility: hidden; height: 0; }
  .adimlar li.simdi span { visibility: visible; height: auto; overflow: visible; white-space: nowrap; }
  .bolum-baslik { flex-wrap: wrap; }
  .bolum-baslik .aciklama { flex-basis: 100%; order: 3; margin-top: -6px; }
}
