/* otoflow+ — "spot ışığı" dili (Cipher referansı): kömür siyahı zemin, üstten vuran yumuşak ışık huzmeleri,
   buzlu grafit cam kartlar, tek vurgu beyaz; Inter (yerel, fonts/) ince ve geniş rakamlar.
   Koyu ve açık tema (web.js, data-theme). Masaüstünde iki telefon + simülasyon paneli. */
@import url('../fonts/inter.css');
:root {
  color-scheme: dark;
  --bg: #0B0C10; --solid: #14151B; --solid-2: #1B1C23;
  --surface: rgba(255, 255, 255, .045); --surface-2: rgba(255, 255, 255, .07);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .03) 100%);
  --glass-2: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .05) 100%);
  --hi: inset 0 1px 0 rgba(255, 255, 255, .13);
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .15);
  --ink: #F4F5F7; --ink-2: #A3A6B0; --ink-3: #8B8F9A;
  --brand-1: #004DF2; --brand-2: #08F2FE; /* logodaki artı: yalnızca iki yerde vurgu */
  --primary: #FFFFFF; --accent-ink: #0B0C10; --p-soft: rgba(255, 255, 255, .08); --p-line: rgba(255, 255, 255, .38); --p-shadow: rgba(255, 255, 255, .22);
  --on-grad: #FFFFFF; --grad: #FFFFFF;
  --ok: #4ADE80; --ok-bg: rgba(74, 222, 128, .11); --warn: #FACC15; --warn-bg: rgba(250, 204, 21, .11); --bad: #F87171; --bad-bg: rgba(248, 113, 113, .12);
  --info: #A5C8FF; --info-bg: rgba(165, 200, 255, .11); --pur: #C9B8FF; --pur-bg: rgba(201, 184, 255, .12);
  --scrim: rgba(3, 4, 7, .7); --sh-c: rgba(0, 0, 0, .7);
  --stage: #171920;
  /* üstten vuran ışık: geniş halo + ince huzmeler */
  --spot: radial-gradient(70% 38% at 50% -6%, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .07) 45%, transparent 75%);
  --rays: conic-gradient(from 150deg at 50% -18%, transparent 0deg, rgba(255, 255, 255, .06) 6deg, transparent 13deg, rgba(255, 255, 255, .045) 21deg,
    transparent 27deg, rgba(255, 255, 255, .07) 33deg, transparent 41deg, rgba(255, 255, 255, .04) 48deg, transparent 56deg, transparent 360deg);
  --focus: rgba(255, 255, 255, .7); --ring: rgba(255, 255, 255, .06);
  --btn: linear-gradient(180deg, #FFFFFF 0%, #E7E8EC 100%); --btn-h: .96;
  --sh-btn: inset 0 -1px 0 rgba(0, 0, 0, .12), 0 14px 30px -14px rgba(255, 255, 255, .35); --sh-soft: 0 10px 24px -16px rgba(0, 0, 0, .8);
  --sh-card: 0 18px 34px -24px rgba(0, 0, 0, .9); --sh-act: 0 14px 26px -18px rgba(0, 0, 0, .9); --sh-tb: 0 12px 22px -14px rgba(0, 0, 0, .9);
  --tb-on: linear-gradient(180deg, #FFFFFF, #E4E5EA); --sh-on: 0 10px 24px -12px rgba(255, 255, 255, .35); --tabbar: rgba(11, 12, 16, .92);
  --track: rgba(255, 255, 255, .08); --fill: linear-gradient(90deg, #9EA2AD, #FFFFFF); --sw: rgba(255, 255, 255, .1);
  --col: linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .05)); --col-on: linear-gradient(180deg, #fff, rgba(255, 255, 255, .35)); --col-hi: inset 0 1px 0 rgba(255, 255, 255, .4);
  --chart-col: #FFFFFF; --gg-1: #8E929D; --gg-2: #FFFFFF; --gg-glow: rgba(255, 255, 255, .35); --dust-c: rgba(255, 255, 255, .5);
  --splash: radial-gradient(80% 45% at 50% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .06) 50%, transparent 80%);
  --splash-2: radial-gradient(90% 50% at 50% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, .05) 50%, transparent 78%);
  --arc: rgba(255, 255, 255, .55); --arc-g: rgba(255, 255, 255, .5); --dot-c: rgba(255, 255, 255, .22); --dcell-sub: #50535C;
  --total: radial-gradient(120% 140% at 50% -40%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03) 65%); --hi-2: inset 0 1px 0 rgba(255, 255, 255, .18);
  --glow-s: rgba(255, 255, 255, .1); --sh-sheet: inset 0 1px 0 rgba(255, 255, 255, .14), 0 -20px 40px -10px rgba(0, 0, 0, .7);
  --sh-toast: 0 16px 34px -12px rgba(0, 0, 0, .8); --sh-paper: 0 20px 40px -20px rgba(0, 0, 0, .8); --sh-dlg: 0 40px 90px -30px rgba(0, 0, 0, .9);
  --notif: rgba(28, 29, 36, .96); --sh-notif: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px var(--line), 0 20px 34px -14px rgba(0, 0, 0, .85);
  --wn: radial-gradient(120% 30% at 0% 0%, rgba(255, 255, 255, .08), transparent 70%), rgba(255, 255, 255, .015); --lnk-h: #E8E9ED;
  --acc: #0060FC; --acc-g: linear-gradient(135deg, #0060FC 0%, #00C2FC 100%);
  /* bento kartları: iki temada aynı yapı, yalnızca renkler değişir */
  --b-hero: linear-gradient(150deg, #2B2D35 0%, #1F2027 55%, #17181E 100%); --b-ink: #F4F5F7; --b-ink-2: #B5B7C0;
  --b-tag: rgba(255, 255, 255, .12); --b-cam: rgba(255, 255, 255, .07); --b-cam-2: rgba(255, 255, 255, .09); --b-ic: rgba(255, 255, 255, .1);
  --b-em: #24252D; --b-em-2: #32333C; --b-em-3: #2C2D35; --b-ph: rgba(255, 255, 255, .06); --b-ph-h: rgba(255, 255, 255, .1); --b-ph-c: rgba(255, 255, 255, .3);
  --f-ui: 'Inter', -apple-system, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --f-display: var(--f-ui); --f-body: var(--f-ui); --f-mono: var(--f-ui); --f-logo: var(--f-ui);
}
/* açık tema: aynı spot ışığı dili, gri-beyaz zemin üzerinde beyaz kartlar; kâğıt belge ve plaka iki temada da aynıdır.
   Simülasyon sayfası data-theme almaz, koyu kalır. */
:root[data-theme="light"] {
  color-scheme: light; background: #E7E8EB;
  --bg: #E7E8EB; --solid: #FFFFFF; --solid-2: #F1F2F4;
  --b-hero: linear-gradient(150deg, #D6D7DA 0%, #C3C4C8 55%, #B6B7BC 100%); --b-ink: #0B0C10; --b-ink-2: #3A3C44;
  --b-tag: rgba(255, 255, 255, .72); --b-cam: rgba(255, 255, 255, .42); --b-cam-2: rgba(255, 255, 255, .5); --b-ic: rgba(255, 255, 255, .7);
  --b-em: #0B0C10; --b-em-2: #23242B; --b-em-3: #1B1C22; --b-ph: rgba(255, 255, 255, .24); --b-ph-h: rgba(255, 255, 255, .42); --b-ph-c: rgba(11, 12, 16, .3);
  --surface: rgba(11, 12, 16, .045); --surface-2: rgba(11, 12, 16, .07);
  --glass: linear-gradient(180deg, #FFFFFF, #FFFFFF);
  --glass-2: linear-gradient(180deg, #F7F7F9, #F7F7F9);
  --hi: inset 0 0 0 0 transparent;
  --line: rgba(11, 12, 16, .07); --line-2: rgba(11, 12, 16, .16);
  --ink: #0B0C10; --ink-2: #4C4F59; --ink-3: #62656F;
  --primary: #0B0C10; --accent-ink: #FFFFFF; --p-soft: rgba(11, 12, 16, .06); --p-line: rgba(11, 12, 16, .45); --p-shadow: rgba(11, 12, 16, .2);
  --on-grad: #0B0C10; --grad: #0B0C10;
  --ok: #15803D; --ok-bg: rgba(22, 163, 74, .12); --warn: #A16207; --warn-bg: rgba(202, 138, 4, .14); --bad: #DC2626; --bad-bg: rgba(220, 38, 38, .1);
  --info: #1D4ED8; --info-bg: rgba(37, 99, 235, .1); --pur: #6D28D9; --pur-bg: rgba(109, 40, 217, .1);
  --scrim: rgba(23, 25, 32, .4); --sh-c: rgba(11, 12, 16, .25);
  --spot: linear-gradient(transparent, transparent);
  --focus: rgba(11, 12, 16, .7); --ring: rgba(11, 12, 16, .07);
  --btn: linear-gradient(180deg, #2B2D36 0%, #0B0C10 100%); --btn-h: 1.4;
  --sh-btn: inset 0 1px 0 rgba(255, 255, 255, .14), 0 14px 28px -14px rgba(11, 12, 16, .5); --sh-soft: 0 10px 24px -18px rgba(11, 12, 16, .35);
  --sh-card: 0 0 0 0 transparent; --sh-act: 0 0 0 0 transparent; --sh-tb: 0 0 0 0 transparent;
  --tb-on: linear-gradient(180deg, #2B2D36, #0B0C10); --sh-on: 0 10px 22px -12px rgba(11, 12, 16, .5); --tabbar: rgba(231, 232, 235, .94);
  --track: rgba(11, 12, 16, .08); --fill: linear-gradient(90deg, #8E929D, #0B0C10); --sw: rgba(11, 12, 16, .1);
  --col: linear-gradient(180deg, rgba(11, 12, 16, .24), rgba(11, 12, 16, .06)); --col-on: linear-gradient(180deg, #0B0C10, rgba(11, 12, 16, .5)); --col-hi: none;
  --chart-col: #0B0C10; --gg-1: #6B6E78; --gg-2: #0B0C10; --gg-glow: rgba(11, 12, 16, .18); --dust-c: rgba(11, 12, 16, .35);
  --splash: linear-gradient(transparent, transparent);
  --splash-2: var(--splash);
  --arc: rgba(11, 12, 16, .22); --arc-g: rgba(11, 12, 16, .1); --dot-c: rgba(11, 12, 16, .18); --dcell-sub: rgba(255, 255, 255, .72);
  --total: linear-gradient(180deg, #FFFFFF, #FFFFFF); --hi-2: inset 0 1px 0 rgba(255, 255, 255, .9);
  --glow-s: rgba(255, 255, 255, 0); --sh-sheet: 0 -20px 40px -18px rgba(11, 12, 16, .3);
  --sh-toast: 0 16px 34px -12px rgba(11, 12, 16, .5); --sh-paper: 0 0 0 1px rgba(11, 12, 16, .08), 0 20px 40px -26px rgba(11, 12, 16, .35); --sh-dlg: 0 40px 90px -40px rgba(11, 12, 16, .45);
  --notif: rgba(255, 255, 255, .97); --sh-notif: inset 0 0 0 1px var(--line), 0 20px 34px -18px rgba(11, 12, 16, .4);
  --wn: transparent; --lnk-h: #2B2D36;
}
.scr::before, .scr::after { display: none; }
[data-theme="light"] input[type=date]::-webkit-calendar-picker-indicator { filter: none; }
.gunes, .ay { display: none; }
:root:not([data-theme="light"]) .gunes, [data-theme="light"] .ay { display: block; }
.logo-l, [data-theme="light"] .logo-d { display: none; }
[data-theme="light"] .logo-l { display: inline; }

* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--stage); color: var(--ink); font: 400 14px/1.45 var(--f-ui); -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num, .tab-n, .money, .big { font-variant-numeric: tabular-nums; }

/* ---------- sahne ---------- */
.stage { min-height: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 30px;
  padding-block: 26px 46px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
html { background: #4D5368; }
body { min-height: 100%; background: linear-gradient(180deg, #14161C 0%, #2B2F3C 50%, #4D5368 100%) no-repeat; background-size: 100% 100%; }
/* sahnede yavaşça gezinen iki yumuşak ışık */
body::before { content: ""; position: fixed; inset: -20%; pointer-events: none; z-index: 0;
  background: radial-gradient(28% 22% at 30% 20%, rgba(255, 255, 255, .09), transparent 70%), radial-gradient(24% 20% at 72% 70%, rgba(170, 185, 230, .1), transparent 70%);
  animation: drift 30s ease-in-out infinite alternate; }
.stage { position: relative; z-index: 1; }
@keyframes drift { 0% { transform: translate(0, 0); } 50% { transform: translate(8%, 6%); } 100% { transform: translate(-6%, 10%); } }
.device { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(390px, 100%); }
.device-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; padding: 0 6px; }
.device-l { font: 500 11px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.device-h select { border: 1px solid var(--line-2); background: var(--solid); border-radius: 10px; padding: 5px 9px; font-size: 12px; max-width: 190px; }
.phone { width: 100%; height: min(844px, calc(100dvh - 80px)); min-height: 660px; background: #0E0F13; border-radius: 56px; padding: 9px; position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .05), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 47px; overflow: hidden; background: var(--bg); isolation: isolate; }
.notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 112px; height: 32px; background: #000; border-radius: 20px; z-index: 90; }
@media (max-width: 520px) {
  .stage { padding-left: 0; padding-right: 0; padding-block: 0 30px; gap: 18px; }
  .device { width: 100%; }
  .device-h { padding: 8px 16px 0; }
  .phone { height: calc(100dvh - 40px); min-height: 600px; border-radius: 0; padding: 0; box-shadow: none; }
  .screen { border-radius: 0; }
  .notch { display: none; }
}

/* ---------- ekran iskeleti: spot ışığı + huzmeler + toz zerreleri ---------- */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--spot), var(--bg); }
/* huzmeler tepe noktası etrafında yavaşça salınır ve nefes alır */
.scr::before { content: ""; position: absolute; left: -35%; right: -35%; top: -8%; height: 72%; pointer-events: none; z-index: 0; background: var(--rays); filter: blur(6px);
  transform-origin: 50% 0; animation: rays 16s ease-in-out infinite alternate, breathe 7s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, transparent 100%); }
/* toz zerreleri: tekrarlayan desen yukarı doğru süzülür, iki katman farklı hızda */
.scr::after { content: ""; position: absolute; inset: 0 0 38% 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 9%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 57%, rgba(255, 255, 255, .7) 50%, transparent 51%), radial-gradient(1px 1px at 31% 76%, rgba(255, 255, 255, .6) 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 41%, rgba(255, 255, 255, .5) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 45% 32%, rgba(255, 255, 255, .85) 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 63%, rgba(255, 255, 255, .55) 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 84%, rgba(255, 255, 255, .7) 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 6%, rgba(255, 255, 255, .6) 50%, transparent 51%), radial-gradient(1px 1px at 94% 72%, rgba(255, 255, 255, .5) 50%, transparent 51%);
  background-size: 190px 240px, 190px 240px, 190px 240px, 190px 240px, 190px 240px, 260px 330px, 260px 330px, 260px 330px, 260px 330px, 260px 330px;
  animation: dust 38s linear infinite, twinkle 4.5s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
@keyframes rays { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes dust { from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 30px -240px, 30px -240px, 30px -240px, 30px -240px, 30px -240px, -20px -330px, -20px -330px, -20px -330px, -20px -330px, -20px -330px; } }
@keyframes twinkle { 0%, 100% { opacity: .38; } 50% { opacity: .7; } }
.scr > * { position: relative; z-index: 1; }
.scr.grad { background: var(--splash-2), var(--bg); color: var(--ink); }
.sb { height: 50px; flex: none; display: flex; justify-content: space-between; align-items: center; padding: 4px 30px 0 34px; font: 600 14px var(--f-ui); }
.sb svg { height: 11px; width: auto; fill: currentColor; }
.hd { flex: none; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 2px 18px 12px; min-height: 52px; }
.hd > span:first-child { display: none; }
.hd h1 { margin: 0; text-align: left; font: 500 17px/1.2 var(--f-ui); letter-spacing: -.01em; text-wrap: balance; }
.hd .sub { display: block; font: 400 11.5px var(--f-ui); color: var(--ink-3); margin-top: 2px; }
.ib { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--glass); display: grid; place-items: center; color: inherit; position: relative;
  box-shadow: var(--hi), inset 0 0 0 1px var(--line); }
.ib:hover { background: var(--glass-2); }
.ib .ic { width: 18px; height: 18px; }
.ib .dot { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px; background: var(--primary); color: var(--accent-ink); font: 600 9px/15px var(--f-ui); }
.body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 4px 18px 28px; scrollbar-width: none; }
.body::-webkit-scrollbar { display: none; }
.stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- tipografi ---------- */
.cap { font: 400 30px/1.15 var(--f-ui); letter-spacing: -.025em; margin: 0; text-wrap: balance; }
.mega { margin: 0; font: 400 34px/1.12 var(--f-ui); letter-spacing: -.03em; text-wrap: balance; color: var(--ink); }
.lead { margin: 0; font: 400 14.5px/1.5 var(--f-ui); color: var(--ink-2); }
.sec-t { display: flex; align-items: center; justify-content: space-between; margin: 10px 0 2px; font: 500 17px var(--f-ui); color: var(--ink); letter-spacing: -.015em; }
.sec-t a, .sec-t button { font: 500 11.5px var(--f-ui); color: var(--ink-2); background: var(--surface-2); border: 0; border-radius: 99px; padding: 5px 10px; text-decoration: none; box-shadow: inset 0 0 0 1px var(--line); }
.muted { color: var(--ink-2); } .faint { color: var(--ink-3); } .c { text-align: center; }
.small { font-size: 12.5px; } .xs { font-size: 11px; }
.big { font: 400 28px/1.1 var(--f-ui); letter-spacing: -.03em; }
.money { font-weight: 500; white-space: nowrap; letter-spacing: -.01em; }

/* ---------- minimalist ikonlar: ince çizgi simge, düz cam karo, gölge/3B yok ---------- */
.mi { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 15px; color: var(--ink);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.mi .ic { width: 21px; height: 21px; stroke-width: 1.5; }
.mi.sm { width: 36px; height: 36px; border-radius: 11px; } .mi.sm .ic { width: 16px; height: 16px; }
.mi.lg { width: 104px; height: 104px; border-radius: 30px; background: var(--surface); } .mi.lg .ic { width: 42px; height: 42px; stroke-width: 1.1; }
.mi.logo-3d { width: 56px; height: 56px; border-radius: 17px; } .mi.logo-3d .ic { width: 24px; height: 24px; }
.sim-brand .mi.logo-3d { width: 44px; height: 44px; border-radius: 13px; } .sim-brand .mi.logo-3d .ic { width: 20px; height: 20px; }
.chat-h .mi.sm { width: 38px; height: 38px; }
.gi, .qa .qi, .logo-pin, .onb-art { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; flex: none; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-2); }
.gi .ic, .logo-pin .ic, .onb-art .ic { width: 21px; height: 21px; stroke-width: 1.5; }
.gi.sm { width: 34px; height: 34px; border-radius: 11px; } .gi.sm .ic { width: 16px; height: 16px; }
.gi.lg, .onb-art { width: 104px; height: 104px; border-radius: 30px; } .gi.lg .ic { width: 42px; height: 42px; stroke-width: 1.1; }
.float-ic { position: absolute; z-index: 1; pointer-events: none; }
.float-ic .mi { background: var(--surface); animation: bob 7s ease-in-out infinite; }
.float-ic:nth-child(2n) .mi { animation-delay: -2.5s; animation-duration: 8s; }
.float-ic:nth-child(3n) .mi { animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -8px; } }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; padding: 0 20px; border: 0; border-radius: 15px;
  background: var(--btn); color: var(--accent-ink); font: 500 15px var(--f-ui); letter-spacing: -.01em;
  box-shadow: var(--sh-btn); transition: transform .12s, filter .12s; }
.btn .ic { width: 18px; height: 18px; }
.btn:hover { filter: brightness(var(--btn-h)); } .btn:active { transform: scale(.985); }
.btn.ghost, .btn.outline-w { background: var(--glass); color: var(--ink); box-shadow: var(--hi), inset 0 0 0 1px var(--line-2), var(--sh-soft); }
.btn.ghost:hover, .btn.outline-w:hover { background: var(--glass-2); filter: none; }
.btn.light { background: var(--primary); color: var(--accent-ink); }
.btn.danger { background: linear-gradient(180deg, #F87171, #DC2626); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn.okb { background: linear-gradient(180deg, #4ADE80, #16A34A); color: #04140A; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.sm { height: 38px; width: auto; padding: 0 14px; font-size: 13px; border-radius: 12px; }
.btn.sm .ic { width: 15px; height: 15px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.btns { display: flex; gap: 10px; } .btns > * { flex: 1; }
.link { background: none; border: 0; padding: 0; color: var(--ink); font: 500 12.5px var(--f-ui); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* ---------- form ---------- */
.fld { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; min-width: 0; }
.fld > span { font: 400 12px var(--f-ui); color: var(--ink-2); }
.fld input, .fld select, .fld textarea { width: 100%; border: 0; background: var(--surface); padding: 12px 13px; font: 400 14.5px var(--f-ui);
  color: var(--ink); outline: none; border-radius: 13px; box-shadow: var(--hi), inset 0 0 0 1px var(--line); transition: box-shadow .15s; }
.fld textarea { resize: vertical; min-height: 70px; line-height: 1.45; }
.fld input:focus, .fld select:focus, .fld textarea:focus { box-shadow: var(--hi), inset 0 0 0 1px var(--p-line), 0 0 0 3px var(--ring); }
.fld input::placeholder, .fld textarea::placeholder { color: var(--ink-3); }
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; background-color: var(--surface); }
.fld select option { background: var(--solid); color: var(--ink); }
input[type=date]::-webkit-calendar-picker-indicator { filter: invert(.85); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 10px; }
.sw { position: relative; display: inline-block; width: 46px; height: 28px; flex: none; }
.sw input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.sw i { position: absolute; inset: 0; border-radius: 14px; background: var(--sw); box-shadow: inset 0 0 0 1px var(--line); transition: .2s; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #8E919B; box-shadow: 0 2px 4px rgba(0, 0, 0, .5); transition: .2s; }
.sw input:checked + i { background: var(--primary); }
.sw input:checked + i::after { transform: translateX(18px); background: var(--accent-ink); }
.sw input:focus-visible + i { outline: 2px solid var(--focus); outline-offset: 2px; }
.row-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 15px; padding: 0 15px; height: 48px; box-shadow: var(--hi), inset 0 0 0 1px var(--line); color: var(--ink-3); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font: 400 14.5px var(--f-ui); color: var(--ink); }
.search:focus-within { box-shadow: var(--hi), inset 0 0 0 1px var(--p-line); }
input[type=range] { width: 100%; accent-color: var(--primary); }

/* ---------- kart & liste ---------- */
.card { background: var(--glass); border-radius: 22px; padding: 15px 16px; box-shadow: var(--hi), inset 0 0 0 1px var(--line), var(--sh-card); }
.card.flat { background: transparent; }
.li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; color: inherit; }
.li:last-child { border-bottom: 0; }
.li-m { flex: 1; min-width: 0; }
.li-t { font: 500 14px/1.3 var(--f-ui); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-s { font-size: 12px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.li-r { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
button.li { cursor: pointer; }
.li.sel { background: var(--surface-2); border-radius: 14px; padding: 12px; border: 0; margin: 4px 0; box-shadow: inset 0 0 0 1px var(--p-line); }
.av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(160deg, #4A4E5A, #23252D); color: #fff;
  font: 500 13px var(--f-ui); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(255, 255, 255, .08); }
.av.sq { border-radius: 13px; background: var(--glass); color: var(--ink); box-shadow: var(--hi), inset 0 0 0 1px var(--line); }
.av.sq .ic { width: 18px; height: 18px; }
.av.sm { width: 34px; height: 34px; font-size: 11.5px; }
.empty { text-align: center; padding: 28px 10px; color: var(--ink-3); font-size: 13px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 13px; margin: 0; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; text-align: right; font-weight: 500; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.divider { height: 1px; background: var(--line); margin: 6px 0; }

/* hap ve çipler */
.pill { display: inline-flex; align-items: center; gap: 4px; font: 500 11px/1 var(--f-ui); padding: 5px 9px; border-radius: 99px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.p-ok { background: var(--ok-bg); color: var(--ok); } .p-warn { background: var(--warn-bg); color: var(--warn); } .p-bad { background: var(--bad-bg); color: var(--bad); }
.p-info { background: var(--info-bg); color: var(--info); } .p-pur { background: var(--pur-bg); color: var(--pur); }
.p-pri { background: var(--primary); color: var(--accent-ink); } .p-mut { background: var(--surface-2); color: var(--ink-2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.chip { flex: none; border: 0; border-radius: 99px; padding: 8px 14px; font: 500 12.5px var(--f-ui); color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { color: var(--ink); }
.chip.on { color: var(--accent-ink); background: var(--primary); box-shadow: none; }
.chip .tab-n { margin-left: 5px; opacity: .6; font-size: 11px; }

/* plaka (TR) — gerçek plaka her temada beyazdır */
.plate { display: inline-flex; align-items: stretch; border: 1.5px solid #1B1B26; border-radius: 4px; background: #FFFFFF; color: #12121C; overflow: hidden; height: 22px; flex: none; }
.plate b { background: #1F4FB5; color: #FFFFFF; font: 700 7px var(--f-ui); padding: 0 3px 2px; display: flex; align-items: flex-end; }
.plate span { font: 600 12px/20px var(--f-ui); letter-spacing: .03em; padding: 0 6px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plate.lg { height: 34px; border-width: 2px; } .plate.lg b { font-size: 9px; padding: 0 5px 4px; } .plate.lg span { font-size: 18px; line-height: 30px; padding: 0 10px; }

/* ilerleme */
.bar { height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 3px; background: var(--fill); }
.bar.ok i { background: var(--ok); } .bar.warn i { background: var(--warn); } .bar.bad i { background: var(--bad); }

/* ---------- ana sayfa ---------- */
.hero { margin: 0; padding: 0 2px 4px; position: relative; }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-top .r { display: flex; gap: 8px; align-items: center; }
.hero .eyebrow { font: 400 13px var(--f-ui); color: var(--ink-2); margin-top: 18px; }
.hero-num { font: 400 40px/1.1 var(--f-ui); letter-spacing: -.035em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.delta { font: 500 12.5px var(--f-ui); margin-top: 6px; color: var(--ink-2); }
.delta b { font-weight: 500; } .delta.up b { color: var(--ok); } .delta.down b { color: var(--bad); }
.hero h2 { margin: 6px 0 4px; font: 400 26px/1.15 var(--f-ui); letter-spacing: -.025em; }
.hero p { margin: 0; color: var(--ink-2); font-size: 12.5px; }
.acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 1 / .98; max-width: 100%; border: 0; border-radius: 18px;
  background: var(--glass); color: var(--ink); font: 400 12.5px var(--f-ui); box-shadow: var(--hi), inset 0 0 0 1px var(--line), var(--sh-act); }
.act:hover { background: var(--glass-2); }
.act .ic { width: 18px; height: 18px; stroke-width: 1.7; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; z-index: 2; }
.stat { background: var(--glass); border-radius: 18px; padding: 13px 14px; border: 0; text-align: left; color: inherit; box-shadow: var(--hi), inset 0 0 0 1px var(--line); }
.stat:hover { background: var(--glass-2); }
.stat .k { font: 400 12px var(--f-ui); color: var(--ink-2); }
.stat .v { font: 400 24px/1.2 var(--f-ui); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat .v small { letter-spacing: 0; }
.stat .v.sm { font-size: 17px; }
.stat.hot { background: var(--glass-2); }
.qa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 6px; }
.qa button { background: none; border: 0; display: flex; flex-direction: column; align-items: center; gap: 7px; font: 400 11.5px/1.2 var(--f-ui); color: var(--ink-2); padding: 0; }
.qa button:hover { color: var(--ink); }
.qa .mi { width: 54px; height: 54px; border-radius: 17px; transition: background .15s, color .15s; }
.qa button:hover .mi { background: var(--primary); color: var(--accent-ink); }
.hscroll { display: flex; gap: 12px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.due { flex: none; width: 206px; background: var(--glass); border-radius: 20px; padding: 14px; border: 0; text-align: left; color: inherit;
  display: flex; flex-direction: column; gap: 8px; box-shadow: var(--hi), inset 0 0 0 1px var(--line); }
.due:hover { background: var(--glass-2); }
/* servis özeti grafiği */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: var(--line); stroke-width: 1; }
.chart .ax { fill: var(--ink-3); font: 400 9.5px var(--f-ui); }
.chart .col { fill: url(#colg); }
.chart .ln { fill: none; stroke: url(#brandGrad) var(--brand-2); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(8, 150, 254, .35)); }
.chart .pt { fill: var(--brand-2); stroke: var(--bg); stroke-width: 2; }
.chart .tip { fill: var(--primary); } .chart .tipt { fill: var(--accent-ink); font: 500 9.5px var(--f-ui); }
.chart .dust { fill: var(--dust-c); }

/* ---------- alt menü: cam karolar, aktif olan beyaz ---------- */
.tabbar { flex: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; padding: 10px 16px 24px; background: linear-gradient(180deg, transparent, var(--tabbar) 30%); }
.tabbar > div { display: contents; }
.tb, .tb-c { height: 54px; width: 100%; margin: 0; display: grid; place-items: center; border: 0; border-radius: 17px; color: var(--ink-2); background: var(--glass);
  box-shadow: var(--hi), inset 0 0 0 1px var(--line), var(--sh-tb); padding: 0; }
.tb:hover, .tb-c:hover { color: var(--ink); background: var(--glass-2); }
.tb span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tb .ic, .tb-c .ic { width: 20px; height: 20px; stroke-width: 1.7; }
.tb.on { background: var(--tb-on); color: var(--accent-ink); box-shadow: var(--sh-on); }
.tb-c { color: var(--ink); }
.tb-c .ic { stroke: url(#brandGrad) var(--brand-2); stroke-width: 2.2; }

/* ---------- açılış / tanıtım ---------- */
.splash { background: var(--splash), var(--bg); }
.arc { position: absolute; left: 50%; top: 47%; width: 150%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; pointer-events: none; z-index: 0;
  border-top: 1.5px solid var(--arc); box-shadow: inset 0 18px 40px -30px var(--arc-g);
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%); mask-image: linear-gradient(90deg, transparent 8%, #000 30%, #000 70%, transparent 92%); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 4px 22px 0; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; font: 600 22px/1 var(--f-ui); letter-spacing: -.03em; color: var(--ink); }
.wordmark::before { content: ""; width: 17px; height: 17px; border-radius: 50%; border: 3.5px solid var(--ink); border-right-color: transparent; transform: rotate(-35deg); flex: none; }
.wordmark.sm { font-size: 19px; } .wordmark.sm::before { width: 15px; height: 15px; border-width: 3px; }
/* otoflow+ logosu (img/otoflow-logo.webp: beyaz yazı + mavi-turkuaz artı, şeffaf zemin) */
.logo-img { display: block; height: 24px; width: auto; max-width: 100%; flex: none; user-select: none; }
.logo-img.sm { height: 21px; }
.logo-img.lg { height: 34px; margin-bottom: 14px; }
.logo-img.auth { height: 30px; margin: 0 auto 18px; }
.pulse-o { animation: pulseo 1.6s ease-in-out infinite; }
@keyframes pulseo { 50% { opacity: .55; } }
.logo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.logo-pin { width: 64px; height: 64px; border-radius: 20px; }
.tagline { font: 400 12px var(--f-ui); letter-spacing: .02em; color: var(--ink-2); }
.center-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 28px; text-align: center; gap: 12px; }
.bottom-col { padding: 0 20px 30px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--dot-c); }
.dots i.on { width: 20px; background: var(--primary); }
.scr.grad p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin: 0; }
.auth-c { flex: 1; overflow-y: auto; padding: 24px 24px 30px; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.auth-c h1 { text-align: center; margin-bottom: 18px; }
.demo { margin-top: 12px; padding: 11px 13px; border-radius: 14px; background: var(--surface); color: var(--ink-2); font-size: 12px; text-align: center; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- iş emri ---------- */
.steps { display: flex; align-items: flex-start; justify-content: space-between; position: relative; padding: 6px 2px 0; }
.steps::before { content: ""; position: absolute; left: 16px; right: 16px; top: 16px; height: 1.5px; background: var(--line-2); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 52px; font: 400 10px/1.15 var(--f-ui); color: var(--ink-3); text-align: center; }
.step i { width: 22px; height: 22px; border-radius: 50%; background: var(--solid-2); box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; }
.step i .ic { width: 12px; height: 12px; stroke-width: 3; }
.step.done i { background: var(--primary); color: var(--accent-ink); box-shadow: none; }
.step.cur i { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px var(--ring); }
.step.cur, .step.done { color: var(--ink); }
.item { display: flex; gap: 10px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.item .tag { font: 600 8.5px var(--f-ui); letter-spacing: .06em; padding: 3px 6px; border-radius: 6px; margin-top: 2px; flex: none; }
.tag.parca { background: var(--info-bg); color: var(--info); } .tag.iscilik { background: var(--pur-bg); color: var(--pur); }
.item .x { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--ink-3); display: grid; place-items: center; flex: none; }
.item .x:hover { color: var(--bad); }
.item .x .ic { width: 13px; height: 13px; }
.tot { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; font-size: 13px; }
.tot .k { color: var(--ink-2); } .tot .v { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.total-b { border-radius: 20px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; color: var(--ink);
  background: var(--total), var(--solid);
  box-shadow: var(--hi-2), inset 0 0 0 1px var(--line-2); }
.total-b .k { font: 400 12.5px var(--f-ui); color: var(--ink-2); }
.total-b .v { font: 400 23px var(--f-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tl { list-style: none; margin: 0; padding: 0 0 0 16px; border-left: 1.5px solid var(--line-2); display: flex; flex-direction: column; gap: 11px; }
.tl li { position: relative; font-size: 12.5px; }
.tl li::before { content: ""; position: absolute; left: -21.5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--bg); }
.tl li small { display: block; color: var(--ink-3); font-size: 11px; }
.hist { display: flex; gap: 12px; position: relative; padding-bottom: 14px; }
.hist::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 0; width: 1.5px; background: var(--line-2); }
.hist:last-child::before { display: none; }
.hist .hd-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.hist .hd-ic .ic { stroke-width: 1.5; }

/* kroki */
.car { width: 100%; max-width: 230px; height: auto; display: block; margin: 0 auto; }
.cz { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.2; cursor: pointer; transition: fill .15s; }
.cz:hover { stroke: var(--primary); fill: var(--surface-2); }
.cz.s1 { fill: var(--warn-bg); stroke: var(--warn); } .cz.s2 { fill: var(--info-bg); stroke: var(--info); } .cz.s3 { fill: var(--bad-bg); stroke: var(--bad); } .cz.s4 { fill: var(--pur-bg); stroke: var(--pur); }
.car-glass { fill: var(--surface-2); stroke: var(--line-2); }
.car-lbl { font: 500 7px var(--f-ui); fill: var(--ink-2); pointer-events: none; text-anchor: middle; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; justify-content: center; font-size: 11px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; border: 1.5px solid; }
.sig { width: 100%; height: 120px; border: 1.5px dashed var(--line-2); border-radius: 14px; background: #FFFFFF; touch-action: none; display: block; }
.photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photos img, .photos label { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; max-width: 100%; }
.photos label { border: 1.5px dashed var(--line-2); display: grid; place-items: center; color: var(--ink-3); cursor: pointer; }

/* gösterge */
.gauge { position: relative; width: 158px; height: 158px; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(135deg); }
.gauge .bg { fill: none; stroke: var(--track); stroke-width: 10; stroke-linecap: round; }
.gauge .fg { fill: none; stroke: url(#gg); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 8px var(--gg-glow)); }
.gauge .fg.warn { stroke: var(--warn); filter: none; } .gauge .fg.bad { stroke: var(--bad); filter: none; }
.gauge .in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.gauge .in b { font: 400 30px var(--f-ui); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.gauge .in small { font: 400 10.5px var(--f-ui); letter-spacing: .04em; color: var(--ink-2); }

/* takvim şeridi */
.dstrip { display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 4px 18px 10px; scrollbar-width: none; }
.dstrip::-webkit-scrollbar { display: none; }
.dcell { flex: none; width: 62px; border-radius: 17px; background: var(--glass); text-align: center; padding: 9px 4px; border: 0; color: inherit; box-shadow: var(--hi), inset 0 0 0 1px var(--line); position: relative; }
.dcell .m { font: 400 10.5px var(--f-ui); color: var(--ink-3); }
.dcell .d { font: 400 22px/1.25 var(--f-ui); color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dcell .w { font-size: 10.5px; color: var(--ink-3); }
.dcell.on { background: var(--tb-on); box-shadow: none; }
.dcell.on .m, .dcell.on .w { color: var(--dcell-sub); } .dcell.on .d { color: var(--accent-ink); }
.dcell .cnt { position: absolute; top: 7px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--warn); }
.slot { display: flex; gap: 12px; align-items: stretch; }
.slot .t { width: 46px; flex: none; font: 500 13px var(--f-ui); color: var(--ink); padding-top: 14px; font-variant-numeric: tabular-nums; }
.slot .card { flex: 1; min-width: 0; }

/* rapor */
.bars { display: flex; align-items: flex-end; gap: 8px; height: 140px; padding-top: 16px; }
.bars .b { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: flex-end; min-width: 0; }
.bars .b i { display: block; width: 100%; max-width: 30px; border-radius: 8px 8px 4px 4px; background: var(--col); min-height: 3px; box-shadow: var(--col-hi); }
.bars .b.cur i { background: var(--col-on); }
.bars .b span { font: 400 10px var(--f-ui); color: var(--ink-3); }
.bars .b em { font: normal 500 9.5px var(--f-ui); color: var(--ink-2); white-space: nowrap; }
.hbar { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; align-items: center; font-size: 12.5px; margin-bottom: 10px; }
.hbar b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hbar .bar { grid-column: 1 / -1; }

/* ---------- fotoğraf / belge klasörü ---------- */
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumb { position: relative; aspect-ratio: 1; max-width: 100%; border: 0; padding: 0; border-radius: 13px; overflow: hidden; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 7px 5px; font: 500 9.5px/1.2 var(--f-ui); color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.doc { display: grid; place-items: center; } .thumb.doc .ic { width: 26px; height: 26px; margin-bottom: 14px; }
.viewer { display: block; width: 100%; max-height: 52vh; object-fit: contain; border-radius: 14px; background: #000; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; margin-top: 8px; border-radius: 16px; border: 1.5px dashed var(--line-2); background: var(--surface); cursor: pointer; text-align: center; }
.drop .ic { width: 24px; height: 24px; margin-bottom: 4px; } .drop b { font-weight: 500; font-size: 13.5px; }
pre.raw { white-space: pre-wrap; font: 400 11px/1.45 ui-monospace, Consolas, monospace; color: var(--ink-2); background: var(--surface); border-radius: 12px; padding: 10px; margin: 8px 0 0; max-height: 220px; overflow: auto; }
label.btn { cursor: pointer; }

/* ---------- katmanlar ---------- */
.ov { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 60; display: flex; align-items: flex-end; animation: fade .18s ease-out; }
.sheet { background: radial-gradient(90% 120px at 50% 0%, var(--glow-s), transparent), var(--solid); width: 100%; max-height: 88%; border-radius: 30px 30px 0 0; padding: 10px 18px 26px;
  overflow-y: auto; animation: up .24s ease-out; scrollbar-width: none; box-shadow: var(--sh-sheet); }
.sheet::-webkit-scrollbar { display: none; }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 14px; }
.sheet h3 { margin: 0 0 10px; font: 500 18px var(--f-ui); letter-spacing: -.02em; text-align: center; }
.ov.left { align-items: stretch; justify-content: flex-start; }
.drawer { width: 80%; height: 100%; background: radial-gradient(120% 40% at 0% 0%, var(--glow-s), transparent 70%), var(--solid); padding: 56px 18px 24px; overflow-y: auto;
  animation: slide .24s ease-out; display: flex; flex-direction: column; scrollbar-width: none; box-shadow: inset -1px 0 0 var(--line); }
.drawer::-webkit-scrollbar { display: none; }
.dr-u { display: flex; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dr-i { display: flex; align-items: center; gap: 12px; padding: 6px 4px; background: none; border: 0; text-align: left; font: 400 14px var(--f-ui); color: var(--ink); border-radius: 12px; width: 100%; }
.dr-i:hover { background: var(--surface); }
.dr-i .ic { width: 34px; height: 34px; padding: 8px; border-radius: 11px; stroke-width: 1.7; color: var(--ink); background: var(--glass); box-shadow: var(--hi), inset 0 0 0 1px var(--line); overflow: visible; }
.dr-i:hover .ic { background: var(--primary); color: var(--accent-ink); }
.dr-g { font: 500 10.5px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 14px 4px 4px; }
.toast { position: absolute; left: 50%; bottom: 100px; transform: translateX(-50%); background: var(--primary); color: var(--accent-ink); padding: 11px 16px; border-radius: 14px; font: 500 13px var(--f-ui);
  z-index: 80; max-width: 86%; text-align: center; box-shadow: var(--sh-toast); animation: toastIn .2s ease-out; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
@keyframes toastIn { from { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes slide { from { transform: translateX(-100%); } }

/* ---------- belge (teklif / fatura): kâğıt her zaman beyaz ---------- */
.paper { background: #FFFFFF; color: #1A1B20; border-radius: 10px; padding: 18px 16px; font: 10.5px/1.4 var(--f-ui); box-shadow: var(--sh-paper); font-variant-numeric: tabular-nums; }
.paper h4 { margin: 0; font: 600 15px var(--f-ui); color: #0B0C10; letter-spacing: -.01em; }
.paper .ph { display: flex; justify-content: space-between; gap: 10px; border-bottom: 2px solid #0B0C10; padding-bottom: 10px; margin-bottom: 10px; }
.paper table { width: 100%; border-collapse: collapse; margin: 8px 0; }
.paper th { text-align: left; font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: #6B6E78; border-bottom: 1px solid #DDDFE4; padding: 4px 3px; }
.paper td { border-bottom: 1px solid #F0F1F4; padding: 5px 3px; vertical-align: top; }
.paper .r { text-align: right; white-space: nowrap; }
.paper .box { border: 1px solid #E3E5EA; border-radius: 6px; padding: 7px 8px; }
.paper .g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paper .muted { color: #6B6E78; }
.paper .sum { margin-left: auto; width: 62%; }
.paper .sum div { display: flex; justify-content: space-between; padding: 2px 0; }
.paper .sum .t { border-top: 2px solid #0B0C10; margin-top: 4px; padding-top: 5px; font-weight: 700; font-size: 12.5px; color: #0B0C10; }
.paper img.sigimg { height: 44px; }

/* ---------- müşteri telefonu ---------- */
.chat-h { flex: none; padding: 0 14px 12px; display: flex; align-items: center; gap: 10px; box-shadow: inset 0 -1px 0 var(--line); }
.chat-h b { display: block; font: 500 15px var(--f-ui); letter-spacing: -.01em; }
.chat-h small { color: var(--ink-2); font-size: 11.5px; }
.chat { flex: 1; overflow-y: auto; padding: 12px 12px 18px; background: transparent; display: flex; flex-direction: column; gap: 8px; scrollbar-width: none; }
.chat::-webkit-scrollbar { display: none; }
.dsep { align-self: center; font: 400 10.5px var(--f-ui); color: var(--ink-2); background: var(--surface); padding: 4px 11px; border-radius: 99px; margin: 6px 0; box-shadow: inset 0 0 0 1px var(--line); }
.bub { align-self: flex-start; max-width: 86%; background: var(--glass); border-radius: 18px 18px 18px 6px; padding: 10px 12px 7px; font-size: 13px; line-height: 1.45;
  white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: var(--hi), inset 0 0 0 1px var(--line); }
.bub.new { animation: up .3s ease-out; box-shadow: var(--hi), inset 0 0 0 1px var(--p-line); }
.bub .meta { display: flex; justify-content: space-between; gap: 10px; margin-top: 4px; font: 400 10px var(--f-ui); color: var(--ink-3); }
.bub .ch { text-transform: uppercase; letter-spacing: .06em; }
.bub .lnk { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 9px 11px; border-radius: 12px; background: var(--primary); color: var(--accent-ink); font: 500 12.5px var(--f-ui);
  border: 0; width: 100%; text-align: left; white-space: normal; }
.bub .lnk:hover { background: var(--lnk-h); }
.bub .lnk .ic { width: 16px; height: 16px; }
.chat-in { flex: none; display: flex; gap: 8px; padding: 10px 12px 24px; align-items: center; box-shadow: inset 0 1px 0 var(--line); }
.chat-in div { flex: 1; height: 42px; border-radius: 14px; background: var(--surface); color: var(--ink-3); font-size: 13px; display: flex; align-items: center; padding: 0 14px; box-shadow: inset 0 0 0 1px var(--line); }
.notif { position: absolute; top: 48px; left: 10px; right: 10px; z-index: 85; background: var(--notif); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 20px; padding: 11px 12px;
  display: flex; gap: 10px; align-items: flex-start; box-shadow: var(--sh-notif); animation: drop .35s cubic-bezier(.2, .9, .3, 1.2); cursor: pointer; }
.notif .av { width: 34px; height: 34px; border-radius: 11px; }
.notif .av .ic { width: 17px; height: 17px; }
.notif b { font-size: 12px; font-weight: 500; display: block; } .notif p { margin: 1px 0 0; font-size: 11.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@keyframes drop { from { transform: translateY(-40px); opacity: 0; } }
.stars { display: flex; gap: 6px; justify-content: center; }
.stars button { background: none; border: 0; color: var(--line-2); padding: 2px; }
.stars button.on { color: var(--primary); }
.stars .ic { width: 34px; height: 34px; fill: currentColor; stroke: none; }

/* ---------- simülasyon paneli ---------- */
.sim { width: min(340px, 100%); display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 1240px) { .sim { order: 3; width: min(390px, 100%); } }
@media (max-width: 520px) { .sim { padding: 0 16px; } }
.sim-card { background: linear-gradient(180deg, rgba(30, 31, 39, .86), rgba(16, 17, 22, .86)); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 26px; padding: 17px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px var(--line), 0 24px 44px -28px rgba(0, 0, 0, .9); }
.sim-brand { display: flex; align-items: center; gap: 12px; }
.sim-brand b { font: 600 20px/1 var(--f-ui); letter-spacing: -.03em; display: block; } .sim-brand small { color: var(--ink-2); font-size: 11.5px; }
.sim-date { border-radius: 20px; padding: 15px 16px; color: var(--ink);
  background: radial-gradient(120% 150% at 50% -40%, rgba(255, 255, 255, .2), rgba(255, 255, 255, .03) 65%), var(--solid);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), inset 0 0 0 1px var(--line-2); }
.sim-date .k { font: 400 12px var(--f-ui); color: var(--ink-2); }
.sim-date .d { font: 400 27px/1.15 var(--f-ui); letter-spacing: -.035em; margin-top: 4px; }
.sim-date .w { color: var(--ink-2); font-size: 12px; }
.sim-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.sim-row button { height: 38px; border-radius: 12px; border: 0; background: var(--glass); color: var(--ink); font: 500 12.5px var(--f-ui); box-shadow: var(--hi), inset 0 0 0 1px var(--line-2); }
.sim-row button:hover { background: #fff; color: var(--accent-ink); }
.sim h4 { margin: 0 0 8px; font: 500 16px var(--f-ui); letter-spacing: -.015em; color: var(--ink); }
.scn { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.scn li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-3); padding: 4px 0; }
.scn li i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; display: grid; place-items: center; font: normal 500 9px var(--f-ui); margin-top: 1px; }
.scn li.done { color: var(--ink-2); } .scn li.done i { background: var(--ok); box-shadow: none; color: #04140A; }
.scn li.cur { color: var(--ink); font-weight: 500; } .scn li.cur i { background: #fff; box-shadow: none; color: var(--accent-ink); }
.feed { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow-y: auto; }
.feed div { font-size: 12px; line-height: 1.4; padding-left: 10px; border-left: 1.5px solid var(--line-2); }
.feed div small { display: block; color: var(--ink-3); font-size: 10.5px; }
.narr { margin-top: 10px; padding: 11px 13px; border-radius: 14px; background: var(--surface); color: var(--ink); font-size: 12.5px; min-height: 40px; box-shadow: inset 0 0 0 1px var(--line); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; text-align: center; }
.mini-stats b { display: block; font: 400 21px var(--f-ui); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 10.5px; color: var(--ink-3); }
.pulse { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, .1), 0 0 30px rgba(255, 255, 255, .25); } }

/* çekim / tam ekran modu (?shot=app veya ?shot=cust): yalnızca tek telefon ekranı, çerçevesiz */
body.shot { background: var(--bg); }
body.shot::before { display: none; }
body.shot .stage { padding: 0; gap: 0; min-height: 100vh; background: var(--bg); }
body.shot .sim, body.shot .device-h { display: none; }
body.shot-app .device:last-of-type, body.shot-cust .device:first-of-type { display: none; }
body.shot .device { width: 100vw; max-width: 100vw; gap: 0; }
body.shot .phone { width: 100vw; height: 100vh; min-height: 0; padding: 0; border-radius: 0; box-shadow: none; background: var(--bg); }
body.shot .screen { border-radius: 0; }
body.shot .notch { display: none; }
@media (min-width: 700px) { body.shot .device { width: 430px; } body.shot .stage { justify-content: center; } body.shot .phone { width: 430px; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  body * { visibility: hidden !important; }
  .paper, .paper * { visibility: visible !important; }
  .paper { position: fixed; inset: 0; box-shadow: none; font-size: 12px; }
}

/* ---------- web arayüzü (web.html): tam ekran, masaüstünde kalıcı yan menü ---------- */
body.web { background: var(--bg); }
body.web::before { display: none; }
.web-shell { position: relative; height: 100vh; height: 100dvh; display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--bg); }
.web-main { position: relative; min-width: 0; height: 100%; overflow: hidden; }
.web .sb, .web [data-sim] { display: none !important; }
.web .hd { padding-top: 16px; }
.web-nav { display: none; }
/* 600px ve üstü (tablet, bilgisayar): telefona göre ölçeklenen öğeler sabit ölçüde, içerik ortada okunur bir sütun */
@media (min-width: 600px) {
  .web .body, .web .hd { padding-left: max(24px, calc((100% - 900px) / 2)); padding-right: max(24px, calc((100% - 900px) / 2)); }
  .web .tabbar { padding-left: max(16px, calc((100% - 520px) / 2)); padding-right: max(16px, calc((100% - 520px) / 2)); }
  .web .act { aspect-ratio: auto; height: 84px; flex-direction: row; gap: 10px; font-size: 14px; }
  .web .stats { grid-template-columns: repeat(4, 1fr); }
  .web .chart { max-height: 260px; }
  .web .ov:not(.left) { align-items: center; justify-content: center; }
  .web .sheet { width: min(560px, 92%); max-height: 86%; border-radius: 26px; padding: 16px 24px 26px; box-shadow: var(--sh-dlg), inset 0 0 0 1px var(--line); }
  .web .sheet .grab { display: none; }
  .web .scr.splash .auth-c, .web .scr.splash > form, .web .scr.splash .bottom-col { width: min(400px, 100%); margin-inline: auto; }
  .web .drawer { width: min(320px, 80%); }
}
/* 1000px ve üstü: kalıcı yan menü, alt menü gizli */
@media (min-width: 1000px) {
  body.web.authed .web-shell { grid-template-columns: 260px 1fr; }
  body.web.authed .web-nav { display: flex; }
  .web .tabbar { display: none; }
  .web .hd { min-height: 72px; padding-top: 22px; }
  .web .hd h1 { font-size: 22px; }
  .web .body { padding-bottom: 60px; }
  .web.authed .toast { left: calc(50% + 130px); }
}
.web-nav { flex-direction: column; gap: 14px; padding: 22px 16px 16px; border-right: 1px solid var(--line); overflow-y: auto; scrollbar-width: none; position: relative; z-index: 2;
  background: var(--wn); }
.web-nav::-webkit-scrollbar { display: none; }
.web-nav > * { flex: none; }
.wn-top { display: grid; gap: 6px; padding: 2px 6px 6px; }
.wn-logo { height: 26px; width: auto; align-self: start; }
.wn-firm { font-size: 12px; color: var(--ink-3); }
.wn-new { height: 46px; }
.wn-list { display: flex; flex-direction: column; gap: 2px; }
.wn-list .dr-g { margin-top: 12px; }
.wn-list .dr-i { padding: 5px 6px; font-size: 13.5px; }
.wn-list .dr-i .ic { width: 30px; height: 30px; padding: 7px; border-radius: 10px; }
.wn-list .dr-i.on { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.wn-list .dr-i.on .ic { background: var(--primary); color: var(--accent-ink); }
.wn-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 6px 2px; border-top: 1px solid var(--line); }
.wn-user .li-m { flex: 1; min-width: 0; }
.wn-user .li-t, .wn-user .li-s { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* giriş ekranlarındaki tema düğmesi (girişten sonra yan menüde ve Ayarlar'da) */
.tema-fab { position: absolute; z-index: 50; top: calc(14px + env(safe-area-inset-top, 0px)); right: 16px; color: var(--ink); }
body.authed .tema-fab { display: none; }

/* ---------- dashboard açılış efektleri (ui.js enterFx) ---------- */
@keyframes fxUp { from { opacity: 0; transform: translateY(16px) scale(.985); } }
@keyframes fxGrow { from { transform: scaleY(0); } }
@keyframes fxFill { from { width: 0; } }
@keyframes fxDraw { from { stroke-dashoffset: var(--len, 600); } to { stroke-dashoffset: 0; } }
@keyframes fxPop { 0% { opacity: 0; transform: scale(.3); } 70% { opacity: 1; transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes fxFade { from { opacity: 0; } }
@keyframes fxGlow { from { opacity: 0; } }
.scr.enter .hero > *, .scr.enter .acts > *, .scr.enter .stats > *, .scr.enter .stack > :not(.acts):not(.stats):not(.grid2), .scr.enter .grid2 > *, .scr.enter .body > .card {
  animation: fxUp .62s cubic-bezier(.2, .75, .2, 1) backwards; }
.scr.enter .chart .col, .scr.enter .bars .b i { transform-box: fill-box; transform-origin: 50% 100%; animation: fxGrow .75s cubic-bezier(.2, .85, .25, 1) backwards; }
.scr.enter .chart .ln { animation: fxDraw 1.1s .55s cubic-bezier(.45, 0, .2, 1) backwards; }
.scr.enter .chart .pt, .scr.enter .chart .tip, .scr.enter .chart .tipt { transform-box: fill-box; transform-origin: 50% 50%; animation: fxPop .5s 1.45s cubic-bezier(.2, .8, .2, 1.2) backwards; }
.scr.enter .chart .dust, .scr.enter .bars .b em { animation: fxFade .6s 1.1s backwards; }
.scr.enter .hbar .bar i, .scr.enter .due .bar i { animation: fxFill .9s cubic-bezier(.2, .8, .2, 1) backwards; }
/* açılışta üstten süzülen tek ışık dalgası */
.scr.enter::before { animation: rays 16s ease-in-out infinite alternate, breathe 7s ease-in-out infinite, fxGlow 1.4s ease-out; }
@media (prefers-reduced-motion: reduce) { .scr.enter * { animation: none !important; } }

/* ---------- bento gösterge paneli (üst menü + ikon şeridi + kartlar) ---------- */
.scr::before { display: none; }
.card, .stat, .act, .due { border-radius: 24px; }
.card { padding: 18px 20px; }
.web-top { display: none; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-top { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 12px; }
.b-top .r { display: flex; gap: 8px; }
.b-hero { grid-column: span 2; position: relative; min-height: 436px; padding: 24px 26px; border-radius: 30px; overflow: hidden; display: flex; flex-direction: column;
  background: var(--b-hero); color: var(--b-ink); }
.b-tags { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--b-ink-2); }
.b-tag { padding: 6px 13px; border-radius: 99px; background: var(--b-tag); color: var(--b-ink); font-weight: 500; }
.b-hero h2 { margin: 16px 0 4px; font: 400 clamp(30px, 3vw, 40px)/1.08 var(--f-ui); letter-spacing: -.03em; }
.b-hero > p { margin: 0; font-size: 14px; color: var(--b-ink-2); }
.b-chips { position: relative; z-index: 2; display: grid; gap: 10px; width: 196px; margin-top: 22px; }
.b-chip { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 20px; background: var(--b-cam); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.b-chip small { display: block; font-size: 11.5px; color: var(--b-ink-2); }
.b-chip b { font-weight: 500; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.b-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 14px; background: var(--b-ic); color: var(--b-ink); }
.b-ic.on { background: var(--acc-g); color: #fff; }
.b-bar { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 20px; background: var(--b-cam-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.b-bar .b-t { flex: 1; min-width: 0; }
.b-bar b { display: block; font-weight: 500; font-size: 14px; }
.b-bar small { display: block; font-size: 12px; color: var(--b-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-avs { display: flex; flex: none; } .b-avs .av { width: 30px; height: 30px; font-size: 10px; margin-left: -8px; box-shadow: 0 0 0 2px var(--solid); } .b-avs .av:first-child { margin-left: 0; }
.b-go { flex: none; height: 42px; padding: 0 16px; }
.b-go .ic { width: 15px; height: 15px; }
.b-side, .b-c { border-radius: 30px; background: var(--solid); padding: 20px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.b-h { display: flex; align-items: center; gap: 12px; }
.b-h b { display: block; font-weight: 500; font-size: 16.5px; letter-spacing: -.015em; }
.b-h small { display: block; font-size: 12px; color: var(--ink-3); }
.b-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-height: 104px; padding: 14px; border: 0; border-radius: 20px; background: var(--solid-2); color: var(--ink); text-align: left; transition: transform .15s; }
.b-tile:hover { transform: translateY(-2px); }
.b-tile b { font-weight: 500; font-size: 14.5px; letter-spacing: -.01em; }
.b-tile small { font-size: 11.5px; line-height: 1.3; color: var(--ink-3); margin-top: -4px; }
.b-tile .ic { width: 18px; height: 18px; }
.b-tile.dark { background: var(--primary); color: var(--accent-ink); } .b-tile.dark small { color: inherit; opacity: .68; }
.b-ask { margin-top: auto; width: 100%; padding: 14px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--solid); color: var(--ink-2); text-align: left; cursor: text; display: grid; gap: 12px; font: 400 13.5px/1.4 var(--f-ui); }
.b-ask-r { display: flex; align-items: center; justify-content: space-between; }
.b-ask-i { display: flex; gap: 6px; } .b-ask-i i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: var(--solid-2); color: var(--ink); } .b-ask-i .ic { width: 15px; height: 15px; }
.b-ask-b { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 12px; background: var(--acc); color: #fff; font: 500 13px var(--f-ui); } .b-ask-b .ic { width: 14px; height: 14px; }
.b-c { border: 0; text-align: left; color: var(--ink); cursor: pointer; }
.b-c-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.b-c-h b { display: block; font-weight: 500; font-size: 17px; letter-spacing: -.015em; }
.b-c-h small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); }
.b-c-h .b-up { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 13px; background: var(--solid-2); }
.b-c-h .b-up .ic { width: 16px; height: 16px; }
.b-panel { margin-top: auto; border-radius: 18px; background: var(--solid-2); padding: 14px; min-width: 0; }
.b-map { padding: 0; overflow: hidden; } .b-map svg { display: block; width: 100%; height: 104px; }
.b-next { display: flex; align-items: center; gap: 14px; }
.b-date { display: grid; place-items: center; align-content: center; width: 62px; height: 66px; flex: none; border-radius: 16px; background: var(--acc); color: #fff; font-size: 10.5px; letter-spacing: .06em; }
.b-date b { font: 500 23px/1.1 var(--f-ui); letter-spacing: -.02em; }
.b-next > div:last-child { min-width: 0; } .b-next strong { display: block; font-weight: 500; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-next small { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.b-c.dark { background: var(--b-em); color: #fff; --ink: #fff; --ink-2: #B5B7C0; --ink-3: #A3A6B0; }
.b-c.dark .b-up { background: var(--b-em-2); } .b-c.dark .b-panel { background: var(--b-em-3); }
.b-plan { display: flex; align-items: center; gap: 12px; } .b-plan strong { display: block; font-weight: 500; font-size: 14px; } .b-plan small { font-size: 12px; color: var(--ink-3); }
.b-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: var(--ink-3); }
.b-sum b { font: 500 18px var(--f-ui); color: #fff; letter-spacing: -.02em; }
@media (max-width: 999px) {
  .bento { grid-template-columns: 1fr; gap: 12px; }
  .b-hero { grid-column: auto; min-height: 0; padding: 20px; }
  .b-chips { width: auto; grid-template-columns: 1fr 1fr; }
  .b-chip { padding: 8px; gap: 8px; } .b-ic { width: 36px; height: 36px; border-radius: 12px; }
  .b-bar { position: relative; left: 0; right: 0; bottom: 0; margin-top: 8px; }
}
@media (max-width: 420px) { .b-bar small { white-space: normal; } .b-avs { display: none; } }
@media (min-width: 1000px) {
  .web .hd, .web .body { padding-left: max(24px, calc((100% - 1180px) / 2)); padding-right: max(24px, calc((100% - 1180px) / 2)); }
  .web .hd { min-height: 56px; padding-top: 6px; }
  body.web .b-top { display: none; }
  body.web.authed .web-shell { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: 82px minmax(0, 1fr); }
  body.web.authed .web-top:not([hidden]) { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 26px 0 28px; position: relative; z-index: 3; }
  .web-top .wn-logo { height: 26px; width: 140px; object-fit: contain; object-position: left; flex: none; align-self: center; }
  .wt-nav { display: flex; gap: 2px; padding: 4px; border-radius: 16px; background: var(--solid); }
  .wt-nav button { height: 42px; padding: 0 20px; border: 0; border-radius: 13px; background: none; color: var(--ink); font: 400 13.5px var(--f-ui); }
  .wt-nav button.on { background: var(--primary); color: var(--accent-ink); }
  .wt-r { display: flex; align-items: center; gap: 8px; min-width: 0; }
  .wt-firm { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 14px; background: var(--solid); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
  .wt-firm .ic { width: 16px; height: 16px; flex: none; }
  .wt-r .ib { border-radius: 14px; width: 42px; height: 42px; background: var(--solid); box-shadow: none; }
  .wt-r .av { width: 42px; height: 42px; border-radius: 14px; }
  .web-nav { width: 62px; margin: 2px 0 18px 26px; padding: 0; gap: 12px; border: 0; background: none; overflow: visible; }
  .wn-top, .wn-list .dr-g, .wn-user .av, .wn-user .li-m { display: none; }
  .wn-new { width: 62px; height: 54px; padding: 0; font-size: 0; gap: 0; border-radius: 20px; }
  .wn-list { flex: 0 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 6px; gap: 2px; border-radius: 22px; background: var(--solid); }
  .wn-list .dr-i { width: 50px; height: 46px; padding: 0; justify-content: center; border-radius: 15px; flex: none; }
  .wn-list .dr-i span, .wn-list [data-go="home"], .wn-list [data-go="orders"], .wn-list [data-go="kabul"],
  .wn-list [data-go="appointments"], .wn-list [data-go="customers"], .wn-list [data-go="kasa"] { display: none; }
  .wn-list .dr-i .ic { width: 40px; height: 40px; padding: 11px; background: none; box-shadow: none; border-radius: 13px; }
  .wn-list .dr-i.on { background: none; box-shadow: none; } .wn-list .dr-i.on .ic, .wn-list .dr-i:hover .ic { background: var(--primary); color: var(--accent-ink); }
  .wn-user { flex-direction: column; gap: 4px; margin-top: auto; padding: 6px; border: 0; border-radius: 22px; background: var(--solid); }
  .wn-user .ib { width: 50px; height: 46px; border-radius: 15px; background: none; box-shadow: none; }
  .web .toast { left: calc(50% + 48px); }
}

/* simülasyon sayfasında telefon çerçevesi dardır, geniş ekranda da tek sütun kullanılır */
@media (min-width: 1000px) {
  body:not(.web) .bento { grid-template-columns: 1fr; gap: 12px; }
  body:not(.web) .b-hero { grid-column: auto; min-height: 0; padding: 20px; }
  body:not(.web) .b-chips { width: auto; grid-template-columns: 1fr 1fr; }
  body:not(.web) .b-chip { padding: 8px; gap: 8px; } body:not(.web) .b-ic { width: 36px; height: 36px; border-radius: 12px; }
  body:not(.web) .b-bar { position: relative; left: 0; right: 0; bottom: 0; margin-top: 8px; }
  body:not(.web) .b-cut { position: relative; right: auto; bottom: auto; width: 100%; max-width: none; margin: 12px 0 18px; } body:not(.web) .b-cut .cut { object-position: center; }
  body:not(.web) .b-hero.has-photo > h2, body:not(.web) .b-hero.has-cut > h2 { max-width: none; }
}

/* ---------- araç teslim formu ve teklif şablonları (forms.js) ---------- */
.flogo { max-height: 46px; max-width: 150px; width: auto; display: block; object-fit: contain; }
.paper .ph-l { display: flex; align-items: center; gap: 10px; min-width: 0; }
.paper .fgap { margin-top: 8px; }
.paper .fterms { margin-top: 10px; line-height: 1.5; }
.paper table.fkv { margin: 8px 0 0; } .paper .fkv th { width: 38%; text-transform: none; letter-spacing: 0; font-size: 10.5px; font-weight: 400; color: #6B6E78; }
.paper .fkv td { font-weight: 500; }
.paper .fbar { display: inline-block; width: 90px; height: 7px; border-radius: 4px; background: #E3E5EA; overflow: hidden; vertical-align: 1px; } .paper .fbar i { display: block; height: 100%; background: #0060FC; }
.paper .fphotos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; } .paper .fphotos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.paper .fnosig { display: block; height: 44px; }
.paper .fband { display: flex; align-items: center; gap: 12px; margin: -18px -16px 12px; padding: 16px; border-radius: 10px 10px 0 0; background: #0B0C10; color: #fff; }
.paper .fband h4 { color: #fff; } .paper .fband .fb-t { flex: 1; min-width: 0; color: #B5B7C0; font-size: 9.5px; } .paper .fband .fb-m { flex: none; text-align: right; font-size: 10px; } .paper .fband .fb-m b { color: #5CC8FF; }
.paper .flogo-w { flex: none; padding: 6px 8px; border-radius: 8px; background: #fff; }
.paper .ftiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 6px; margin-top: 8px; } .paper .ftiles div { padding: 8px 10px; border-radius: 8px; background: #F1F2F4; }
.paper .ftiles small { display: block; color: #6B6E78; font-size: 9px; } .paper .ftiles b { font-size: 12px; font-weight: 600; }
.paper .fhead-c { text-align: center; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid #0B0C10; } .paper .fhead-c .flogo { margin: 0 auto 6px; } .paper .fttl { margin-top: 5px; font-weight: 600; }
.paper .ftotal { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 12px 14px; border-radius: 8px; background: #0B0C10; color: #fff; } .paper .ftotal b { font-size: 16px; font-weight: 600; color: #5CC8FF; }
.paper .flist { margin: 8px 0; padding-left: 16px; display: grid; gap: 3px; }
.paper.pdf { width: 794px; padding: 36px 38px; font-size: 13px; border-radius: 0; box-shadow: none; } .paper.pdf h4 { font-size: 19px; } .paper.pdf th { font-size: 11px; }
.paper.pdf .fband { margin: -36px -38px 16px; padding: 24px 38px; border-radius: 0; font-size: 12px; } .paper.pdf .fb-t { font-size: 12px; } .paper.pdf .fb-m { font-size: 12.5px; } .paper.pdf img.sigimg { height: 64px; } .paper.pdf .fbar { width: 130px; } .paper.pdf .ftiles b { font-size: 15px; } .paper.pdf .ftiles small { font-size: 11px; }
.flogo-p { max-height: 56px; max-width: 180px; object-fit: contain; padding: 6px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ftpls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ftpl { display: grid; gap: 3px; padding: 12px; border: 0; border-radius: 16px; background: var(--surface); color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1px var(--line); }
.ftpl b { font-weight: 500; font-size: 13.5px; } .ftpl small { font-size: 11px; line-height: 1.3; color: var(--ink-3); }
.ftpl.on { background: var(--primary); color: var(--accent-ink); box-shadow: none; } .ftpl.on small { color: inherit; opacity: .75; }
@media (max-width: 480px) { .ftpls { grid-template-columns: 1fr; } }

/* ---------- araç görseli (carimg.js) ve kullanıcının çektiği fotoğraf ---------- */
.b-cut { position: absolute; z-index: 1; right: 1%; bottom: 72px; width: 66%; max-width: 560px; height: auto; } .b-cut .cut { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain; object-position: right bottom; }
.b-photo { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 72%; }
.b-photo img { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 44%); mask-image: linear-gradient(90deg, transparent 0%, #000 44%); }
.b-hero.has-photo > h2, .b-hero.has-cut > h2 { max-width: 62%; } .b-hero > .b-tags, .b-hero > h2, .b-hero > p { position: relative; z-index: 2; }
.b-addph { position: absolute; z-index: 1; right: 26px; top: 50%; transform: translateY(-62%); width: 240px; display: grid; justify-items: center; gap: 4px; padding: 26px 16px; border: 1.5px dashed var(--b-ph-c); border-radius: 22px; background: var(--b-ph); color: var(--b-ink); cursor: pointer; }
.b-addph:hover { background: var(--b-ph-h); } .b-addph .ic { width: 24px; height: 24px; margin-bottom: 4px; } .b-addph b { font-weight: 500; font-size: 14px; } .b-addph small { font-size: 12px; color: var(--b-ink-2); }
.carban { display: flex; align-items: center; justify-content: center; gap: 28px; height: 220px; padding: 14px 24px; border-radius: 22px; background: var(--solid); overflow: hidden; } .carban img { min-width: 0; height: 100%; width: auto; max-width: 66%; object-fit: contain; } .carban .ust { transform: rotate(90deg) scale(1.05); max-width: 26%; }
@media (max-width: 999px) { .b-cut { position: relative; right: auto; bottom: auto; width: 100%; max-width: none; margin: 12px 0 18px; } .b-cut .cut { object-position: center; } .b-photo { position: relative; display: block; width: auto; height: 190px; margin: 12px -20px 0; } .b-photo img { -webkit-mask-image: none; mask-image: none; } .b-hero.has-photo > h2, .b-hero.has-cut > h2 { max-width: none; } .b-addph { position: relative; right: auto; top: auto; transform: none; width: auto; margin-top: 12px; padding: 18px 14px; } }

.onay-gonder { display: block; margin: 14px auto 0; color: inherit; } .onay-gonder:disabled { opacity: .6; cursor: default; }
.kvkk-onay { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 2px; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); } .kvkk-onay input { margin-top: 2px; width: 17px; height: 17px; flex: none; accent-color: var(--primary); } .kvkk-onay a { color: var(--ink); }

/* ---------- bulut: lisans uyarısı (cloud.js licenseBanner) ---------- */
.card.lic { margin-bottom: 14px; padding: 14px 16px; background: linear-gradient(135deg, rgba(0, 77, 242, .22), rgba(8, 242, 254, .08)); box-shadow: inset 0 0 0 1px rgba(8, 242, 254, .25); }
.card.lic b { display: block; font-weight: 500; font-size: 14px; }
.card.lic p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.card.lic.warn { background: var(--warn-bg); box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .3); }
.card.lic.bad { background: var(--bad-bg); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .35); }

/* ---------- mobil uygulama (Capacitor): çentik ve alt çubuk güvenli alanları ---------- */
body.web .scr { padding-top: env(safe-area-inset-top, 0px); }
body.web .tabbar { padding-bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 10px)); }
body.web .ov .sheet { padding-bottom: max(26px, calc(env(safe-area-inset-bottom, 0px) + 16px)); }
body.native { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
body.native input, body.native textarea { -webkit-user-select: text; user-select: text; }
