/* ==========================================================================
   Youtoo Detailing — Yönetim Paneli
   Sol menülü (sidebar) yerleşim, açık / koyu tema: <html data-theme="light|dark">
   ========================================================================== */

:root {
  --bg: #f4f4f1;
  --surface: #ffffff;
  --surface-2: #f7f7f4;
  --surface-3: #efeee9;
  --sidebar: #ffffff;
  --text: #17191d;
  --text-2: #40454d;
  --muted: #6d727b;
  --border: #e6e4de;
  --border-strong: #d5d2c9;
  --accent: #b27f0a;
  --accent-strong: #8e6507;
  --accent-soft: #f6ecd4;
  --accent-contrast: #ffffff;
  --success: #15803d;  --success-soft: #e4f4e9;
  --danger: #c02626;   --danger-soft: #fbe8e8;
  --info: #1f5bd8;     --info-soft: #e7eefc;
  --purple: #7e3ad6;   --purple-soft: #f1e9fc;
  --warning: #b45309;  --warning-soft: #fdf0dc;
  --shadow-sm: 0 1px 2px rgba(23, 25, 29, .05);
  --shadow: 0 1px 2px rgba(23, 25, 29, .04), 0 10px 30px rgba(23, 25, 29, .07);
  --overlay: rgba(15, 17, 20, .45);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 18px;
  --sidebar-w: 256px;
  --topbar-h: 64px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b0c0e;
  --surface: #131519;
  --surface-2: #181b20;
  --surface-3: #1f2329;
  --sidebar: #0f1114;
  --text: #edece8;
  --text-2: #c7c9ce;
  --muted: #8b9098;
  --border: #23272d;
  --border-strong: #323740;
  --accent: #e0b04a;
  --accent-strong: #f1c86b;
  --accent-soft: rgba(224, 176, 74, .12);
  --accent-contrast: #15171a;
  --success: #4ade80;  --success-soft: rgba(74, 222, 128, .12);
  --danger: #f87171;   --danger-soft: rgba(248, 113, 113, .12);
  --info: #7ea6ff;     --info-soft: rgba(126, 166, 255, .12);
  --purple: #c29bff;   --purple-soft: rgba(194, 155, 255, .12);
  --warning: #fbbf24;  --warning-soft: rgba(251, 191, 36, .12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px rgba(0, 0, 0, .35);
  --overlay: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.015em; margin: 0; color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hidden { display: none !important; }

/* ==========================================================================
   Yerleşim
   ========================================================================== */
.app { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 60;
  width: var(--sidebar-w);
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform .25s ease;
}
.sidebar-brand { height: var(--topbar-h); display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.sidebar-brand svg { height: 34px; width: auto; }
.logo-swoosh { fill: var(--accent); }
.logo-word { fill: var(--text); }
.logo-sub { fill: var(--muted); }

.sidebar-nav { flex: 1; overflow-y: auto; padding: 16px 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-group { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 8px; }
.nav-group:first-child { padding-top: 4px; }
.side-link {
  display: flex; align-items: center; gap: 12px;
  height: 40px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  background: none; border: 0; width: 100%; text-align: left; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.side-link i { width: 18px; text-align: center; font-size: 15px; color: var(--muted); transition: color .15s; }
.side-link:hover { background: var(--surface-2); color: var(--text); }
.side-link.active { background: var(--accent-soft); color: var(--text); font-weight: 600; }
.side-link.active i { color: var(--accent); }
.side-link .count { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.sidebar-foot { padding: 12px; border-top: 1px solid var(--border); display: grid; gap: 2px; }

.main { flex: 1; min-width: 0; margin-left: var(--sidebar-w); display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar-title { flex: 1; min-width: 0; }
.topbar-title h1 { font-size: 18px; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-title p { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-clock { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2; }
.topbar-clock strong { display: block; font-size: 14px; }
.topbar-clock span { font-size: 11.5px; color: var(--muted); }
.icon-btn.menu-btn { display: none; }

.content { padding: 28px; max-width: 1480px; width: 100%; margin: 0 auto; }
.tab-content { display: grid; gap: 20px; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.sidebar-backdrop { display: none; position: fixed; inset: 0; background: var(--overlay); z-index: 55; }

/* ==========================================================================
   Bileşenler
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; padding: 0 16px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); color: var(--accent-contrast); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); }
.btn-accent:hover { background: var(--accent-strong); }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--border-strong); background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); }
.btn-success { background: var(--success); color: #fff; }
:root[data-theme="dark"] .btn-success { color: #06240f; }
.btn-lg { height: 46px; padding: 0 22px; font-size: 14.5px; border-radius: 12px; }
.btn-sm { height: 32px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.theme-icon-dark { display: none; }
:root[data-theme="dark"] .theme-icon-light { display: none; }
:root[data-theme="dark"] .theme-icon-dark { display: inline; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.panel-pad { padding: 22px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.panel-head h2, .panel-head h3 { font-size: 16px; font-weight: 650; }
.panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.panel-body { padding: 22px; }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title h2 { font-size: 17px; font-weight: 650; }
.section-title p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); min-width: 0; }
.kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.kpi-label { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.kpi-icon { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.kpi-value { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.kpi-sub { font-size: 12px; color: var(--muted); }
.tone-accent { background: var(--accent-soft); color: var(--accent); }
.tone-success { background: var(--success-soft); color: var(--success); }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-purple { background: var(--purple-soft); color: var(--purple); }
.tone-danger { background: var(--danger-soft); color: var(--danger); }
.tone-warning { background: var(--warning-soft); color: var(--warning); }

/* Kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.kb-col { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; min-height: 240px; display: flex; flex-direction: column; gap: 10px; }
.kb-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 6px; }
.kb-head h3 { font-size: 13.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.kb-dot { width: 8px; height: 8px; border-radius: 50%; }
.kb-count { min-width: 24px; height: 22px; padding: 0 7px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; font-weight: 650; display: inline-flex; align-items: center; justify-content: center; }
.kb-list { display: flex; flex-direction: column; gap: 10px; min-height: 60px; }
.kb-list:empty::after { content: 'Araç yok'; display: block; text-align: center; padding: 28px 8px; font-size: 12.5px; color: var(--muted); border: 1px dashed var(--border-strong); border-radius: 12px; }
.kb-card, .executive-card {
  background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: 14px !important;
  box-shadow: var(--shadow-sm) !important; color: var(--text) !important;
  transition: border-color .15s, box-shadow .15s !important; transform: none !important;
}
.kb-card:hover, .executive-card:hover { border-color: var(--border-strong) !important; box-shadow: var(--shadow) !important; }

/* Formlar */
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.span-2 { grid-column: span 2; }
.field.span-3 { grid-column: 1 / -1; }
.label { font-size: 12.5px; font-weight: 600; color: var(--text-2); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.label .req { color: var(--danger); }
.hint { font-size: 12px; color: var(--muted); margin: 0; }
.control, .admin-input {
  width: 100%; height: 40px; padding: 0 12px;
  background: var(--surface) !important; color: var(--text) !important;
  border: 1px solid var(--border-strong) !important; border-radius: 10px;
  font-size: 14px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea.control, textarea.admin-input { height: auto; padding: 10px 12px; resize: vertical; }
.control:focus, .admin-input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft); }
.control::placeholder, .admin-input::placeholder { color: var(--muted); opacity: .8; }
select.control { appearance: none; padding-right: 34px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%) !important; background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px !important; background-size: 5px 5px !important; background-repeat: no-repeat !important; }
.control-plate { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 16px; }
.control-plate::placeholder { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 14px; }
.input-icon { position: relative; }
.input-icon i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 13px; pointer-events: none; }
.input-icon .control { padding-left: 34px; }
.form-section { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 22px; }
.form-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.form-section-head h3 { font-size: 15px; font-weight: 650; }
.form-section-head p { margin: 3px 0 0; font-size: 12.5px; color: var(--muted); }
.checkbox { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }

.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.preset {
  height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.preset:hover { border-color: var(--accent); color: var(--text); }

/* Segment filtre butonları */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; }
.seg-btn, .v-filter-btn, .w-filter-btn, .analytics-filter-btn {
  height: 32px; padding: 0 12px; border-radius: 8px !important; border: 0 !important;
  background: transparent !important; color: var(--muted) !important;
  font-size: 12.5px !important; font-weight: 600 !important; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.seg-btn:hover, .v-filter-btn:hover, .w-filter-btn:hover, .analytics-filter-btn:hover { color: var(--text) !important; }
.seg-btn.active, .v-filter-btn.active, .w-filter-btn.active, .analytics-filter-btn.active {
  background: var(--surface) !important; color: var(--text) !important; box-shadow: var(--shadow-sm);
}

/* Ekspertiz çipleri */
.check-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 14px; border-radius: 99px;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2);
  font-size: 13px; font-weight: 500; cursor: pointer; user-select: none;
  transition: all .15s;
}
.check-chip i { color: var(--muted); }
.check-chip:hover { border-color: var(--accent); }
.check-chip.active { background: var(--accent-soft); border-color: var(--accent); color: var(--text); font-weight: 600; }
.check-chip.active i { color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tutar özeti */
.totals { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 20px 22px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); }
.totals .grid3 { display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 14px; flex: 1; min-width: 0; }
.totals .sum { text-align: right; }
.totals .sum span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.totals .sum strong, #displayFinalTotal { font-family: var(--font-display); font-size: 32px !important; font-weight: 700 !important; letter-spacing: -0.02em; color: var(--text) !important; font-variant-numeric: tabular-nums; }

/* Tablolar */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl thead th {
  text-align: left; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap;
}
.tbl thead th:last-child { text-align: right; }
.tbl tbody tr { border-bottom: 1px solid var(--border) !important; transition: background-color .12s; }
.tbl tbody tr:last-child { border-bottom: 0 !important; }
.tbl tbody tr:hover { background: var(--surface-2) !important; }
.tbl tbody td { padding: 12px 16px !important; vertical-align: middle; color: var(--text); }

/* Plaka */
.license-plate { display: inline-flex; align-items: stretch; height: 26px; border: 1.5px solid #111; border-radius: 5px; overflow: hidden; background: #fff; color: #111; flex-shrink: 0; }
.license-plate .plate-flag { background: #1d4ed8; color: #fff; font-size: 8px; font-weight: 700; display: flex; align-items: flex-end; padding: 0 4px 3px; }
.license-plate .plate-number { display: flex; align-items: center; padding: 0 8px; font-weight: 800; font-size: 13px; letter-spacing: .05em; white-space: nowrap; font-family: var(--font-display); }
.license-plate-lg { height: 40px; border-width: 2px; }
.license-plate-lg .plate-flag { font-size: 10px; padding: 0 6px 5px; }
.license-plate-lg .plate-number { font-size: 20px; padding: 0 12px; }

/* Durum rozetleri */
.status-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-BEKLIYOR { background: var(--warning-soft); color: var(--warning); }
.status-YIKAMADA { background: var(--info-soft); color: var(--info); }
.status-DETAYDA { background: var(--purple-soft); color: var(--purple); }
.status-HAZIR { background: var(--success-soft); color: var(--success); }
.status-TESLIM_EDILDI { background: var(--surface-3); color: var(--muted); }
.status-IPTAL { background: var(--danger-soft); color: var(--danger); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--overlay) !important; backdrop-filter: blur(3px); overflow-y: auto; }
.modal.hidden { display: none !important; }
.dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); color: var(--text); animation: pop .18s ease; }
.dialog-lg { max-width: 820px; }
@keyframes pop { from { opacity: 0; transform: scale(.98) translateY(6px); } to { opacity: 1; transform: none; } }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.dialog-head h3 { font-size: 16px; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.dialog-body { padding: 22px; display: grid; gap: 16px; }
.dialog-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--border); }
.kv { display: grid; gap: 10px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.kv div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.kv div span:first-child { color: var(--muted); }
.kv div span:last-child { font-weight: 600; }

/* Başarı modalı QR */
.qr-box { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); }
.qr-box img { width: 104px; height: 104px; border-radius: 10px; background: #fff; padding: 6px; flex-shrink: 0; }

/* Araç QR kartı (müşteri modalı içinde) */
.vehicle-qr { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.vehicle-qr img { width: 84px; height: 84px; border-radius: 8px; background: #fff; padding: 4px; flex-shrink: 0; }
.vehicle-qr .code { font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: var(--muted); }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ==========================================================================
   Duyarlı
   ========================================================================== */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .kanban { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field.span-2 { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow); }
  body.sidebar-open .sidebar { transform: none; }
  body.sidebar-open .sidebar-backdrop { display: block; }
  .main { margin-left: 0; }
  .icon-btn.menu-btn { display: inline-flex; }
  .topbar { padding: 0 16px; }
  .content { padding: 20px 16px; }
  .topbar-clock { display: none; }
}
@media (max-width: 640px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 22px; }
  .kanban { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .totals .grid3 { grid-template-columns: 1fr; }
  .totals .sum { text-align: left; }
  .topbar .hide-sm { display: none; }
  .panel-head, .panel-body, .panel-pad { padding: 16px; }
  .dialog-body { padding: 16px; }
  .seg { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tbody tr { padding: 12px 14px; }
  .tbl tbody td { padding: 4px 0 !important; text-align: left !important; }
  .tbl tbody td > .inline-flex, .tbl tbody td > div { max-width: 100%; }
}

/* İnce ayarlar */
.field > .license-plate { align-self: flex-start; }
.tbl td span[class*="text-[10px]"], .tbl td button[class*="text-[10px]"] { white-space: nowrap; display: inline-block; margin-top: 3px; }
.tbl td .license-plate + div { white-space: nowrap; }
.license-plate { justify-self: start; }

/* Tablet uygulamasının (PWA) içinden açılınca */
.app-only { display: none !important; }
.is-app .app-only { display: flex !important; }
.is-app .web-only { display: none !important; }
