/* Ulya Arayüz 2.0 – gece lacivert zemin, tek vurgu pirinç; başlık ve rakamlar Sora, metin Inter.
   Koyu tema varsayılan; iPhone açık temadaysa açık palete geçer. */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/static/fonts/Inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/static/fonts/Inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600 800; font-display: swap; src: url(/static/fonts/Inter-600.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url(/static/fonts/Sora-600.woff2) format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700 800; font-display: swap; src: url(/static/fonts/Sora-700.woff2) format("woff2"); }

:root {
  --bg: #0A101B; --card: #111A28; --card-2: #172235; --line: rgba(255, 255, 255, .08);
  --ink: #EEECE6; --ink-2: #C9CDD3; --muted: #8B94A3;
  --brass: #C9A25A; --brass-2: #A87B2F; --brass-ink: #D9B670; --on-brass: #0A101B;
  --ok: #62C394; --warn: #E3A85B; --danger: #E57D6B; --petrol: #5FA9B8;
  --hero-a: #162236; --hero-b: #0F1726; --tabbar: rgba(23, 34, 53, .94); --shadow: 0 12px 30px rgba(0, 0, 0, .45);
  --b-grup: #C9A25A; --b-proje: #7FA6D9; --b-astar: #D07A52; --b-emanet: #D9CFC2; --b-lux: #5FB3C2;
  --radius: 20px; --tab-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --sora: "Sora", -apple-system, system-ui, sans-serif; --inter: "Inter", -apple-system, system-ui, sans-serif;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #F4F2EE; --card: #FFFFFF; --card-2: #ECE8E1; --line: rgba(15, 27, 45, .10);
    --ink: #0F1B2D; --ink-2: #3A4452; --muted: #5E6672;
    --brass: #A87B2F; --brass-2: #8A6424; --brass-ink: #8A6424; --on-brass: #FFFFFF;
    --ok: #2F7A57; --warn: #A8641A; --danger: #B23E2C; --petrol: #24707F;
    --hero-a: #13213A; --hero-b: #0F1B2D; --tabbar: rgba(255, 255, 255, .96); --shadow: 0 10px 28px rgba(15, 27, 45, .16);
    --b-grup: #A87B2F; --b-proje: #2F5E9E; --b-astar: #B4562E; --b-emanet: #6B5E4E; --b-lux: #23808F;
    color-scheme: light;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
html { min-height: 100%; }
body { min-height: 100vh; min-height: 100dvh; font-family: var(--inter); font-size: 16.5px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brass-ink); }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 2px; border-radius: 8px; }
.num, .kpis b, .sumbox b, .stat b { font-family: var(--sora); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Üst bar (iOS 26 tepe bulanıklık bölgesinden aşağıda) */
.top {
  position: sticky; top: 0; z-index: 10; padding: calc(var(--safe-t) + 26px) 18px 10px; background: var(--bg);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto;
}
.top h1 { margin: 0; font: 700 28px/1.15 var(--sora); letter-spacing: -.02em; }
.top .sub { font-size: 13px; color: var(--muted); font-weight: 600; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 15px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink);
  display: grid; place-items: center; text-decoration: none; flex: none;
}
.icon-btn svg { width: 22px; height: 22px; }
.avatar { width: 44px; height: 44px; border-radius: 15px; background: var(--card-2); border: 1px solid var(--line); display: grid; place-items: center;
  font: 700 15px var(--sora); color: var(--brass); text-decoration: none; flex: none; }

main { padding: 4px 16px calc(var(--tab-h) + var(--safe-b) + 96px); max-width: 760px; margin: 0 auto; }

/* Yüzen alt menü + ortada pirinç artı */
.tabs {
  position: fixed; left: 12px; right: 12px; bottom: calc(var(--safe-b) + 10px); z-index: 20; max-width: 560px; margin: 0 auto;
  height: var(--tab-h); border-radius: 22px; background: var(--tabbar); border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr 76px 1fr 1fr; align-items: center; padding: 0 4px;
}
.tabs a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%;
  text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.tabs a svg { width: 24px; height: 24px; }
.tabs a.on { color: var(--brass); }
.tabs .dot { position: absolute; top: 7px; left: calc(50% + 8px); min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; }
.tabs .plus { justify-self: center; width: 56px; height: 56px; margin-top: -30px; border-radius: 19px; border: 0;
  background: linear-gradient(160deg, #D8B472, #A87B2F); color: #0A101B; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(201, 162, 90, .38); }
.tabs .plus svg { width: 28px; height: 28px; }

/* Bölüm başlığı, kartlar, satırlar */
.section { margin: 20px 2px 8px; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .14em; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: baseline; }
.section a, .section .link { letter-spacing: 0; text-transform: none; font-size: 13.5px; font-weight: 600; color: var(--brass); text-decoration: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.row { display: flex; align-items: flex-start; gap: 12px; padding: 13px 16px; min-height: 52px; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; width: 100%; text-align: left; color: inherit; }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1; min-width: 0; }
.row .t { font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }
.row .m { font-size: 13px; color: var(--muted); margin-top: 3px; overflow-wrap: anywhere; font-weight: 500; }
.row .m.late { color: var(--danger); font-weight: 600; }
.row.done .t { color: var(--muted); text-decoration: line-through; }
.row > span:last-child svg { width: 18px; height: 18px; }
.empty { padding: 22px 16px; color: var(--muted); text-align: center; font-size: 15px; }

.check { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 0; border-radius: 12px; border: 2px solid var(--muted); background: transparent; display: grid; place-items: center; padding: 0; }
.check.on { background: var(--brass); border-color: var(--brass); }
.check.on::after { content: ""; width: 6px; height: 11px; border: solid var(--on-brass); border-width: 0 2.5px 2.5px 0; transform: translateY(-1px) rotate(45deg); }
.time-col { flex: 0 0 52px; font: 700 14px var(--sora); color: var(--brass); padding-top: 1px; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--brass) 16%, transparent); color: var(--brass-ink); margin-left: 6px; vertical-align: 1px; }
.badge.team { background: color-mix(in srgb, var(--petrol) 20%, transparent); color: var(--petrol); }

/* Form */
.quick { display: flex; gap: 8px; margin: 6px 0 4px; }
.quick input { flex: 1; min-width: 0; }
.field, .quick input, textarea.field, select.field { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--card); outline: none; min-height: 48px; }
.field:focus, .quick input:focus { border-color: var(--brass); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 25%, transparent); }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.btn { min-height: 48px; padding: 0 18px; border-radius: 14px; border: 0; font-weight: 700; background: var(--card-2); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn.brass { background: var(--brass); color: var(--on-brass); }
.btn.ghost { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink); }
.btn.danger { background: transparent; color: var(--danger); box-shadow: inset 0 0 0 1px var(--line); }
.btn.wide { width: 100%; }
.btn svg { width: 22px; height: 22px; }
.btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btns .btn { flex: 1; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card-2); color: var(--muted); font-size: 14.5px; font-weight: 600; }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }

/* Sayfa içi ekle düğmesi (alt menünün üstünde) */
.fab { position: fixed; right: 18px; bottom: calc(var(--tab-h) + var(--safe-b) + 24px); z-index: 15; width: 52px; height: 52px; border-radius: 17px; border: 1px solid var(--line);
  background: var(--card-2); color: var(--brass); display: grid; place-items: center; box-shadow: var(--shadow); }
.fab svg { width: 26px; height: 26px; }

/* Alt sayfa */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(3, 6, 12, .58); display: flex; align-items: flex-end; justify-content: center; }
.sheet { width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; background: var(--card); border-top: 1px solid var(--line);
  border-radius: 28px 28px 0 0; padding: 10px 18px calc(var(--safe-b) + 22px); animation: up .22s ease-out; }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--ink) 20%, transparent); margin: 4px auto 12px; }
.sheet h2 { margin: 2px 0 6px; font: 700 21px var(--sora); }
.sheet .field, .sheet select.field, .sheet textarea.field { background: var(--bg); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

/* Hızlı ekle menüsü */
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.qa a, .qa button { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 6px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); text-decoration: none; font-size: 13.5px; font-weight: 600; text-align: center; }
.qa svg { width: 26px; height: 26px; color: var(--brass); }

/* Not ve günlük */
.editor-title { width: 100%; border: 0; background: transparent; font: 700 26px var(--sora); outline: none; padding: 6px 0; }
.editor-body { width: 100%; min-height: 55vh; border: 0; background: transparent; outline: none; resize: none; font-size: 18px; line-height: 1.55; padding: 6px 0; }
.saved { font-size: 13px; color: var(--muted); min-height: 18px; }
.daynav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 10px; }
.daynav .d { font: 700 17px var(--sora); text-align: center; flex: 1; }
.search { margin: 4px 0 8px; }

/* Giriş */
.auth { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 32px 22px calc(var(--safe-b) + 32px); max-width: 440px; margin: 0 auto; }
.auth .logo { width: 150px; margin: 0 auto 8px; display: block; color: var(--ink); }
.auth .tag { text-align: center; color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.err { color: var(--danger); font-size: 15px; margin-top: 12px; min-height: 20px; }
.note-help { font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.note-help code { background: var(--card-2); padding: 2px 6px; border-radius: 6px; font-size: 14px; overflow-wrap: anywhere; }
.note-help ol { padding-left: 20px; } .note-help li { margin: 6px 0; }

#toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-b) + 92px); transform: translateX(-50%);
  background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 14px; font-size: 15px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: 90vw; text-align: center; }
#toast.show { opacity: 1; }

.seg { display: flex; gap: 8px; margin: 2px 0 12px; flex-wrap: wrap; }
.seg a { padding: 8px 14px; border-radius: 12px; font-weight: 600; font-size: 14px; color: var(--muted); background: var(--card-2); text-decoration: none; }
.seg a.on { background: var(--ink); color: var(--bg); }

/* Durum etiketleri */
.pill { display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 1px; white-space: nowrap;
  background: color-mix(in srgb, var(--muted) 18%, transparent); color: var(--ink-2); }
.pill.ok { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.pill.bad { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); }
.pill.info { background: color-mix(in srgb, var(--petrol) 18%, transparent); color: var(--petrol); }
.pill.warn { background: color-mix(in srgb, var(--warn) 18%, transparent); color: var(--warn); }
.row .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--card-2); color: var(--brass); }
.row .ic svg { width: 21px; height: 21px; }
.datebox { width: 46px; flex: none; text-align: center; border-radius: 12px; padding: 5px 0; background: var(--card-2); line-height: 1.1; }
.datebox b { display: block; font: 700 18px var(--sora); } .datebox span { font-size: 11px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.datebox.warn { background: color-mix(in srgb, var(--warn) 22%, transparent); } .datebox.late { background: color-mix(in srgb, var(--danger) 22%, transparent); }
.phead { margin: 4px 0 6px; } .phead .sub { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.phead h1 { margin: 2px 0 6px; font: 700 24px/1.2 var(--sora); letter-spacing: -.01em; } .phead .m { color: var(--muted); font-size: 14px; }
.phead .desc { margin: 10px 0 0; color: var(--ink-2); white-space: pre-line; }
button.link { all: unset; cursor: pointer; color: var(--brass); font-weight: 600; font-size: 13.5px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv:last-child { border-bottom: 0; } .kv > span:first-child { color: var(--muted); flex: none; white-space: nowrap; overflow-wrap: normal; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 6px; }
.kpis div, .stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; min-width: 0; }
.kpis b, .stat b { display: block; font-size: 20px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kpis span, .stat span { font-size: 12px; color: var(--muted); font-weight: 500; }
.stat { text-decoration: none; color: inherit; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hint { font-size: 13px; color: var(--muted); margin: 14px 2px; }
.code { font-size: 11px; font-weight: 800; color: var(--brass); margin-right: 6px; }

/* ulyAI kahraman kartı ve onay kartları */
.hero { border-radius: 22px; padding: 1px; background: linear-gradient(135deg, rgba(201, 162, 90, .85), rgba(201, 162, 90, .08) 55%, rgba(63, 140, 155, .5)); margin-top: 6px; }
.hero > div { border-radius: 21px; background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); padding: 16px; color: #EEECE6; }
.hero .hh { display: flex; gap: 12px; align-items: center; }
.hero .glyph { width: 44px; height: 44px; border-radius: 14px; background: #0A101B; display: grid; place-items: center; box-shadow: 0 0 22px rgba(201, 162, 90, .35); flex: none; color: #EEECE6; }
.hero .glyph svg { width: 26px; height: 26px; }
.hero .t { font: 700 15.5px var(--sora); } .hero .m { font-size: 13px; color: #A9B1BE; margin-top: 2px; }
.hero .btns { margin-top: 14px; gap: 8px; } .hero .btn { min-height: 44px; }
.hero .btn.ghost { background: rgba(255, 255, 255, .08); color: #EEECE6; }
.hero .btn.brass { background: #C9A25A; color: #0A101B; }
.card.alert { margin-top: 4px; border-color: color-mix(in srgb, var(--brass) 60%, transparent); }
.draft { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 10px; }
.draft.open { border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.draft .dh { display: flex; justify-content: space-between; align-items: center; gap: 8px; } .draft .dh .sub { font-size: 12px; color: var(--muted); font-weight: 600; }
.draft .t { font: 700 17px/1.3 var(--sora); margin: 8px 0 4px; } .draft p { margin: 0; color: var(--ink-2); font-size: 14.5px; white-space: pre-line; }
.draft .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.draft .links a { font-size: 14px; font-weight: 600; padding: 7px 11px; border-radius: 10px; background: color-mix(in srgb, var(--brass) 14%, transparent); text-decoration: none; }
.draft .fb { margin-top: 10px; font-size: 14px; padding: 8px 10px; border-radius: 10px; background: var(--card-2); }
.draft .btns { display: flex; gap: 8px; margin-top: 14px; } .draft .btns .btn { flex: 1; }

/* Markalar */
.brand-pick { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 16px; background: var(--card-2);
  border: 1px solid var(--line); color: var(--ink); font: 700 15px var(--sora); }
.brand-pick .chev { color: var(--muted); font-size: 11px; }
.rozet { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; color: #F1EEE8; font: 700 15px var(--sora);
  background: var(--bz, #172235); border: 1px solid var(--line); }
.rozet svg { width: 60%; height: 60%; }
.rozet.lg { width: 44px; height: 44px; border-radius: 14px; font-size: 18px; }
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brand { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; text-decoration: none; color: inherit;
  border-top: 3px solid var(--bc, var(--brass)); min-width: 0; }
.brand .bn { font: 700 15px var(--sora); margin-top: 10px; } .brand .bm { font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.brand .bt { display: flex; justify-content: space-between; align-items: flex-start; }
.brand .led { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.brand .led.on { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.brand.wide { grid-column: 1 / -1; }

/* Organizasyon */
.dept { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; }
.dept h3 { margin: 0; font: 700 16px var(--sora); display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.dept h3 small { font: 600 12px var(--inter); color: var(--muted); }
.dept p { margin: 4px 0 10px; font-size: 13.5px; color: var(--muted); }
.agents { display: flex; flex-wrap: wrap; gap: 6px; }
.agent { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 12px; background: var(--card-2); font-size: 13px; font-weight: 600; }
.agent i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); font-style: normal; }
.agent.on i { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.agent.human { background: color-mix(in srgb, var(--petrol) 18%, transparent); color: var(--petrol); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 0 2px 12px; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.rule { border-radius: 18px; padding: 14px 16px; background: color-mix(in srgb, var(--brass) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--brass) 35%, transparent); font-size: 14.5px; color: var(--ink-2); }
.rule b { color: var(--ink); }

/* Teklif kâr özeti */
.sumbox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.sumbox > div { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.sumbox span { font-size: 12px; font-weight: 600; color: var(--muted); }
.sumbox b { font-size: 19px; }
.sumbox em { font-style: normal; font-size: 12px; color: var(--muted); }
.sumbox .pos b { color: var(--ok); } .sumbox .neg b { color: var(--danger); }

/* Ajan ağı (her iki temada da gece panosu gibi) */
.netlink { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; text-decoration: none; color: #EEECE6; margin-bottom: 10px;
  background: radial-gradient(120% 140% at 20% 0%, #1B2A44, #0A101B); border: 1px solid rgba(201, 162, 90, .45); }
.netlink b { display: block; font: 700 15.5px var(--sora); } .netlink span:not(.glow) { font-size: 13px; color: #A9B1BE; }
.netlink > div { flex: 1; min-width: 0; } .netlink > svg { width: 18px; height: 18px; color: #A9B1BE; flex: none; }
.netlink .glow { width: 42px; height: 42px; border-radius: 14px; background: #0A101B; display: grid; place-items: center; box-shadow: 0 0 22px rgba(201, 162, 90, .4); flex: none; }
.netlink .glow svg { width: 26px; height: 26px; color: #EEECE6; }
.net { position: relative; border-radius: 24px; padding: 18px 12px 16px; color: #EEECE6; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #16233A, #0A101B); border: 1px solid rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .11); }
.net::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1.1px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.net > div { position: relative; }
.net-top { display: flex; justify-content: center; margin-bottom: 26px; }
.net-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8B94A3; margin: 6px 2px 10px;
  text-shadow: 0 0 6px #0E1726, 0 0 6px #0E1726; }
.net-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 28px; }
.net-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 0; }
.net-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; }
.nb { border: 1px dashed color-mix(in srgb, var(--bc) 55%, transparent); border-radius: 18px; padding: 10px 8px 8px; display: flex; flex-direction: column; gap: 6px;
  background: rgba(10, 16, 27, .55); }
.nbh { display: flex; align-items: center; gap: 8px; font: 700 13px var(--sora); color: var(--bc); margin-bottom: 2px; }
.nbh .rozet { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }
.nd { position: relative; display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 6px 8px; border-radius: 13px; text-align: left; min-width: 0;
  background: #13202F; border: 1px solid rgba(255, 255, 255, .10); color: #EEECE6; }
.nd.on { border-color: color-mix(in srgb, var(--nc) 75%, transparent); background: #1A2638; box-shadow: 0 0 14px color-mix(in srgb, var(--nc) 22%, transparent); }
.nd:not(.on) { opacity: .62; }
.nd .ni { width: 24px; height: 24px; flex: none; border-radius: 50%; background: #0A101B; border: 1.3px solid var(--nc); display: grid; place-items: center; color: #EEECE6; font: 700 9.5px var(--sora); }
.nd .ni svg { width: 15px; height: 15px; }
.nd .nt { min-width: 0; display: flex; flex-direction: column; }
.nd .nt b { font: 700 11.5px/1.2 var(--sora); overflow-wrap: anywhere; }
.nd .nt small { font-size: 10.5px; color: #8B94A3; font-weight: 500; }
.nd > i { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #62C394; box-shadow: 0 0 6px #62C394; }
.nd.big { padding: 10px 16px 10px 10px; border-radius: 18px; border-width: 1.6px; gap: 10px; animation: nab 3s ease-in-out infinite; }
.nd.big .ni { width: 40px; height: 40px; border-radius: 13px; } .nd.big .ni svg { width: 26px; height: 26px; }
.nd.big .nt b { font-size: 17px; } .nd.big .nt small { color: #C9A25A; font-size: 11.5px; }
.nd.wide .nt b { font-size: 12.5px; }
.nd.hu .ni { font-size: 10px; color: var(--nc); }
@keyframes nab { 0%, 100% { box-shadow: 0 0 18px rgba(201, 162, 90, .25); } 50% { box-shadow: 0 0 34px rgba(201, 162, 90, .5); } }
.akis { animation: akis 1.2s linear infinite; }
@keyframes akis { to { stroke-dashoffset: -22; } }
.nd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.agent { border: 0; color: inherit; font-family: var(--inter); }
button.agent { cursor: pointer; }
.ni-lg { width: 54px; height: 54px; border-radius: 17px; background: #0A101B; border: 1px solid var(--nc); display: grid; place-items: center; color: #EEECE6;
  box-shadow: 0 0 24px color-mix(in srgb, var(--nc) 40%, transparent); font: 700 17px var(--sora); flex: none; }
.ni-lg svg { width: 32px; height: 32px; }
/* İş akışı adımları */
.flow { padding: 16px 16px 14px; }
.fs { position: relative; display: flex; gap: 12px; padding-bottom: 14px; }
.fs .fl { position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: var(--line); }
.fd { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; }
.fd.ok { background: var(--ok); color: var(--bg); font-weight: 800; font-size: 13px; }
.fd.act { border: 2.5px solid var(--brass); box-shadow: 0 0 14px color-mix(in srgb, var(--brass) 55%, transparent); background: var(--card); }
.fd.act b { width: 10px; height: 10px; border-radius: 50%; background: var(--brass); }
.fd.wait { border: 2px dashed var(--muted); background: var(--card); }
.fx { min-width: 0; } .fw { font-size: 12px; font-weight: 700; } .ft { font-weight: 600; font-size: 15px; margin-top: 1px; } .fsub { font-size: 12.5px; color: var(--muted); }
@media (prefers-color-scheme: light) { .fw { filter: brightness(.7); } }
/* 3 sütunlu ağ: simge üstte, ad altta (kelime bölünmesin) */
.net-grid:not(.two) .nd { flex-direction: column; justify-content: center; text-align: center; gap: 5px; padding: 9px 4px 8px; min-height: 66px; }
.net-grid:not(.two) .nd .nt { align-items: center; }
.nd .nt b { overflow-wrap: normal; word-break: normal; hyphens: manual; }

/* Test sonrası düzeltmeler (20 Kasım) */
.phead .desc, .row .m, .note-help, .kv > span:last-child, .kv > a { overflow-wrap: anywhere; }
main { overflow-x: hidden; }
/* Ortadaki + bağlama göre çalışır; sayfa içi küçük + gizli (yalnız ortadaki menüden tetiklenir) */
.fab { display: none !important; }
/* Dokunma alanları en az 44 pt */
.section a, .section .link, button.link { position: relative; padding: 12px 10px; margin: -12px -10px; }
.check { position: relative; }
.check::before { content: ""; position: absolute; inset: -11px; }
.agent { min-height: 40px; padding: 8px 12px; }
.seg a { min-height: 40px; display: inline-flex; align-items: center; }
.chip { min-height: 40px; }
/* İki sütunlu form satırı */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.two > div { min-width: 0; }
/* Sağdaki rakam sütunu */
.nums { text-align: right; flex: none; font-variant-numeric: tabular-nums; max-width: 46%; }
.nums .m.mk { color: var(--petrol); }
/* Katlanır kategoriler */
details.cat > summary { list-style: none; cursor: pointer; min-height: 40px; align-items: center; }
details.cat > summary::-webkit-details-marker { display: none; }
details.cat[open] > summary span:last-child { opacity: .7; }
.section.sub { margin-top: 10px; letter-spacing: .06em; }
/* Ticaretin üç ayağı şeridi */
.card.tri { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; }
.card.tri > div { padding: 10px 12px; border-right: 1px solid var(--line); min-width: 0; }
.card.tri > div:last-child { border-right: 0; }
.card.tri b { display: block; font-size: 13.5px; margin-top: 3px; font-weight: 600; }
.card.tri .pill { margin-left: 0; }
.sumbox em .link { font-size: 12px; padding: 6px 4px; margin: -6px -4px; }
.stat b, .kpis b { font-size: clamp(16px, 4.7vw, 20px); }
.card.tri > div > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card.tri span.pill { display: inline-block; text-transform: none; letter-spacing: 0; font-size: 12px; }
.card.tri span.pill.ok { color: var(--ok); } .card.tri span.pill.warn { color: var(--warn); } .card.tri span.pill.bad { color: var(--danger); }
details.cat > summary.section { margin: 0; padding: 12px 2px; border-bottom: 1px solid var(--line); }
details.cat[open] > summary.section { border-bottom: 0; }
details.cat[open] { margin-bottom: 8px; }

/* Fiyat istihbaratı */
.br { font-size: 12.5px; font-weight: 600; color: var(--brass-ink); }
.health { margin: 4px 0 10px; }
.hb { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--card-2); gap: 2px; }
.hb i { display: block; min-width: 0; }
.hl { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.hl b { font-family: var(--sora); color: var(--ink); }
.fyr input.pk { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--brass); }
.pickbar { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 18px); margin-top: 12px; z-index: 5; }
.pickbar .card { box-shadow: var(--shadow); }
.card.reading { display: flex; gap: 14px; align-items: center; padding: 18px 16px; }
.card.reading .glyph { width: 44px; height: 44px; border-radius: 14px; background: #0A101B; color: #EEECE6; display: grid; place-items: center; flex: none; animation: nab 2s ease-in-out infinite; }
.card.reading .glyph svg { width: 26px; height: 26px; }
.card.reading .m { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.imr { padding: 12px 14px 14px; margin-bottom: 10px; }
.imh { display: flex; gap: 10px; align-items: flex-start; }
.imh input { width: 24px; height: 24px; accent-color: var(--brass); margin: 2px 0 0; }
.imr .lbl { margin-top: 10px; }
select.search { margin: 4px 0 8px; }
.btns .btn { white-space: nowrap; padding: 0 14px; }
#pq + #pbr, .two:has(#pbr) { grid-template-columns: 1.5fr 1fr; }

/* Onay ekranı: soru-cevap ve madde madde onay */
.dq { margin-top: 12px; border-radius: 16px; padding: 12px 14px; background: color-mix(in srgb, var(--warn) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--warn) 40%, transparent); }
.dqh { display: flex; align-items: center; gap: 8px; } .dqh svg { width: 20px; height: 20px; color: var(--ink); } .dqh b { flex: 1; font: 700 14.5px var(--sora); } .dqh span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.qq { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); } .qq p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink); white-space: normal; }
.qq .btn { margin-top: 8px; width: 100%; } .qq.ans p:first-child { color: var(--muted); } .qa-a { color: var(--ink) !important; }
.dm { margin-top: 12px; } .dmh { display: flex; justify-content: space-between; align-items: baseline; } .dmh b { font: 700 14.5px var(--sora); } .dmh span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.prog { height: 6px; border-radius: 3px; background: var(--card-2); margin: 8px 0 4px; overflow: hidden; } .prog i { display: block; height: 100%; background: var(--ok); border-radius: 3px; transition: width .25s; }
.mi { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mi:last-child { border-bottom: 0; } .mi .mt { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.45; overflow-wrap: anywhere; }
.mi.ok .mt { color: var(--muted); } .mi.no .mt { color: var(--muted); text-decoration: line-through; }
.mb { display: flex; gap: 8px; flex: none; }
.yn { width: 44px; height: 44px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card-2); color: var(--muted); font-size: 18px; font-weight: 800; display: grid; place-items: center; padding: 0; }
.yn.y.on { background: var(--ok); border-color: var(--ok); color: var(--bg); } .yn.n.on { background: var(--danger); border-color: var(--danger); color: var(--bg); }
.ms { font-size: 12.5px; font-weight: 600; color: var(--muted); flex: none; } .mi.ok .ms { color: var(--ok); } .mi.no .ms { color: var(--danger); }

/* ================================================================ Ulya OS */
:root { --os-b: #C9A25A; --os-ok: #62C394; --os-mu: #9AA3B2; --os-fg: #EEECE6; }
body.os-home { background: #070b12; color: var(--os-fg); }
body.os-home::before { content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(120% 70% at 20% 0%, #1d2c47 0%, #0d1524 45%, #070b12 100%); }
body.os-home::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(201,162,90,.08) 1px, transparent 1.2px); background-size: 22px 22px; }
body.os-home.os-kisi::before { background: radial-gradient(120% 70% at 80% 0%, #3a2b17 0%, #1a140d 45%, #0b0806 100%); }
.oshome { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; gap: 12px;
  padding: calc(var(--safe-t) + 26px) max(18px, env(safe-area-inset-right, 0px)) calc(var(--safe-b) + 14px) max(18px, env(safe-area-inset-left, 0px)); }
.ostop { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.osd { font: 600 13px var(--inter); color: var(--os-mu); } .osh { margin: 2px 0 0; font: 700 28px/1.15 var(--sora); letter-spacing: -.02em; color: var(--os-fg); }
.ostb { display: flex; gap: 8px; } .osib { position: relative; width: 44px; height: 44px; border-radius: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); color: var(--os-fg); display: grid; place-items: center; padding: 0; }
.osib svg { width: 21px; height: 21px; }
.osmode { align-self: flex-start; min-height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: var(--os-fg); font: 600 12.5px var(--inter); }
.oswd { display: block; text-decoration: none; color: var(--os-fg); border-radius: 22px; padding: 13px 14px; background: rgba(17,26,40,.72); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); margin-bottom: 12px; }
#oswids .oswd:last-child { margin-bottom: 0; }
.oswd.sk { height: 120px; opacity: .5; }
.oswd h4 { margin: 0; font: 600 11px var(--inter); letter-spacing: .14em; color: var(--os-mu); text-transform: uppercase; display: flex; justify-content: space-between; }
.oswd h4 b { color: var(--os-b); letter-spacing: 0; font-size: 12px; text-transform: none; }
.oskar { display: flex; gap: 8px; margin-top: 9px; } .oskar div { flex: 1; border-radius: 14px; padding: 9px 10px; background: rgba(255,255,255,.05); min-width: 0; }
.oskar b { display: block; font: 700 22px var(--sora); } .oskar span { font-size: 11.5px; color: var(--os-mu); }
.osag { display: flex; gap: 7px; align-items: center; margin-top: 9px; font-size: 12.5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.osdot { width: 8px; height: 8px; border-radius: 50%; background: var(--os-ok); box-shadow: 0 0 8px var(--os-ok); flex: none; display: inline-block; } .osdot.off { background: var(--os-mu); box-shadow: none; }
.osli { display: flex; gap: 9px; align-items: flex-start; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.06); font-size: 13.5px; }
.oswd h4 + .osli { border-top: 0; margin-top: 4px; } .osli small { display: block; color: var(--os-mu); font-size: 11.5px; }
.osr { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--os-mu); flex: none; margin-top: 2px; } .osr.fl { border-color: var(--os-b); border-radius: 4px; }
.ostm { font: 700 12.5px var(--sora); color: var(--os-b); width: 42px; flex: none; }
.osgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; margin-top: 4px; }
.osapp { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--os-fg); font: 500 11.5px var(--inter); text-align: center; min-width: 0; }
.osl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osic { position: relative; width: 60px; height: 60px; border-radius: 17px; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.35); border: 0; padding: 0; color: #fff; }
.osic svg { width: 28px; height: 28px; } .osic.sm { width: 48px; height: 48px; border-radius: 14px; cursor: pointer; } .osic.sm svg { width: 23px; height: 23px; }
.osbd { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #E5484D; color: #fff; font: 700 11px var(--inter); display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(7,11,18,.6); }
.osbd.sm { min-width: 16px; height: 16px; font-size: 10px; top: -3px; right: -3px; }
.ossearch { display: flex; align-items: center; gap: 8px; justify-content: center; margin: auto auto 0; padding: 0 16px; min-height: 40px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.12); color: var(--os-fg); font: 500 13px var(--inter); } .ossearch svg { width: 16px; height: 16px; }
.osdock { position: sticky; bottom: calc(var(--safe-b) + 18px); z-index: 5; display: flex; justify-content: space-around; padding: 12px 14px; border-radius: 30px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.oshbar { align-self: center; width: 134px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.7); margin-top: 2px; position: relative; }
.oshbar::before { content: ""; position: absolute; inset: -16px -10px; }
/* Uygulama içi sistem çubuğu (eski sekme çubuğunun yerine) */
.osbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 10px); z-index: 20; display: flex; align-items: center; gap: 4px;
  padding: 6px; border-radius: 22px; background: var(--tabbar); border: 1px solid var(--line); box-shadow: var(--shadow); }
.osbar > a, .osbar > button { position: relative; width: 52px; height: 48px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; border-radius: 16px; text-decoration: none; padding: 0; }
.osbar svg { width: 23px; height: 23px; } .osbar > a:first-child { color: var(--brass); }
.osbar .plus { width: 54px; height: 48px; margin: 0 2px; border-radius: 16px; background: linear-gradient(160deg, #D8B472, #A87B2F); color: #0A101B; box-shadow: 0 8px 18px rgba(201,162,90,.35); }
.osbar .plus svg { width: 26px; height: 26px; }
html.embed .osbar, html.embed .tabs { display: none !important; } html.embed main { padding-bottom: 40px; } html.embed .top { padding-top: 14px; }
/* Katmanlar: Spotlight, bildirim, kontrol, geçiş */
.osov { position: fixed; inset: 0; z-index: 70; background: rgba(6,9,15,.6); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); color: var(--os-fg); animation: osfi .16s ease-out; overflow: auto; }
@keyframes osfi { from { opacity: 0; } to { opacity: 1; } }
.osovin { max-width: 560px; margin: 0 auto; padding: calc(var(--safe-t) + 26px) max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); }
.osov.desk .osovin { margin-top: 8vh; border-radius: 20px; background: rgba(17,26,40,.92); border: 1px solid rgba(255,255,255,.12); padding: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.osovh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } .osovh h3 { margin: 0; font: 700 22px var(--sora); }
.osx { width: 40px; height: 40px; border-radius: 13px; border: 0; background: rgba(255,255,255,.12); color: var(--os-fg); font-size: 16px; flex: none; }
.osspin { display: flex; gap: 10px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 16px; background: rgba(255,255,255,.12); margin-bottom: 10px; }
.osspin svg { width: 19px; height: 19px; flex: none; } .osspin input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--os-fg); font: 500 16.5px var(--inter); min-height: 40px; }
.ossec { font: 600 11px var(--inter); letter-spacing: .14em; color: var(--os-mu); margin: 14px 2px 6px; text-transform: uppercase; }
.osres { display: flex; gap: 11px; align-items: center; width: 100%; text-align: left; padding: 10px 12px; border-radius: 14px; border: 0; background: rgba(255,255,255,.06);
  margin-bottom: 6px; font: 500 14.5px var(--inter); color: var(--os-fg); text-decoration: none; min-height: 48px; }
.osres small { display: block; color: var(--os-mu); font-size: 12px; } .osres > div { min-width: 0; overflow-wrap: anywhere; }
.osmi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #3A4452; } .osmi svg { width: 19px; height: 19px; }
.osmi.s { width: 22px; height: 22px; border-radius: 7px; } .osmi.s svg { width: 13px; height: 13px; }
.oshint { color: var(--os-mu); font-size: 14px; }
.osnt { display: block; text-decoration: none; color: var(--os-fg); border-radius: 18px; padding: 12px 14px; background: rgba(23,34,53,.88); border: 1px solid rgba(255,255,255,.08); margin-bottom: 8px; font-size: 14px; }
.osnh { display: flex; gap: 8px; align-items: center; font: 600 12px var(--inter); color: var(--os-mu); } .osnt b { display: block; margin-top: 5px; font-weight: 600; }
.oscc { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ostile { display: block; text-align: left; border-radius: 20px; padding: 13px; border: 0; background: rgba(255,255,255,.1); color: var(--os-fg); font: 500 13px var(--inter); text-decoration: none; min-height: 72px; }
.ostile small { color: var(--os-mu); font-size: 12px; } .ostile b { display: block; font: 600 14.5px var(--inter); margin-top: 4px; }
.ostile.on { background: var(--os-b); color: #0A101B; } .ostile.on small { color: #3a2c12; } .ostile.w { grid-column: 1 / -1; }
.oschips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.oschips button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: rgba(255,255,255,.12); color: var(--os-fg); font: 600 12.5px var(--inter); }
.oschips button.on { background: var(--os-fg); color: #0A101B; }
.osswp { display: flex; gap: 12px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; }
.oscard { flex: none; width: 70%; max-width: 300px; scroll-snap-align: start; height: 300px; border-radius: 24px; background: #111A28; border: 1px solid rgba(255,255,255,.1); text-decoration: none; color: var(--os-fg); display: flex; flex-direction: column; overflow: hidden; }
.osch { padding: 14px; font: 700 16px var(--sora); } .oscb { flex: 1; margin: 0 10px 10px; border-radius: 16px; background: #0A101B; padding: 12px; font-size: 12.5px; color: var(--os-mu); }
/* Masaüstü */
body.os-desk { overflow: hidden; }
.osdesk { position: fixed; inset: 0; }
.osmb { position: absolute; top: 0; left: 0; right: 0; height: 36px; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 0 14px; font: 500 13px var(--inter);
  background: rgba(10,16,27,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,.06); color: var(--os-fg); }
.osmb button { border: 0; background: transparent; color: var(--os-fg); font: inherit; padding: 6px 4px; position: relative; } .osmb b { color: var(--os-b); font-weight: 600; }
.oslg { font: 700 14px var(--sora); letter-spacing: .1em; } .osmr { margin-left: auto; display: flex; gap: 14px; align-items: center; } .osmr svg { width: 17px; height: 17px; vertical-align: -3px; }
.avatar.sm { width: 28px; height: 28px; border-radius: 9px; font-size: 11px; }
.osdw { position: absolute; right: 18px; top: 54px; width: 280px; z-index: 2; } .osbig { font: 700 22px var(--sora); margin-top: 6px; } .osmu { color: var(--os-mu); }
.oswin { position: absolute; border-radius: 14px; background: var(--bg); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.5); overflow: hidden;
  display: flex; flex-direction: column; resize: both; min-width: 360px; min-height: 260px; }
.oswin.f { box-shadow: 0 28px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(201,162,90,.35); }
.oswin.drag iframe { pointer-events: none; }
.ostb2 { height: 36px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #111A28; cursor: grab; user-select: none; color: var(--os-mu); font: 600 12.5px var(--inter); }
.ostb2 .dot { width: 13px; height: 13px; border-radius: 50%; border: 0; padding: 0; } .ostb2 .r { background: #ff5f57; } .ostb2 .y { background: #febc2e; } .ostb2 .g { background: #28c840; }
.oswt { margin-left: 8px; color: var(--os-fg); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.oswin iframe { flex: 1; width: 100%; border: 0; background: var(--bg); }
.osddock { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 40; display: flex; gap: 10px; padding: 10px 12px; border-radius: 22px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); max-width: calc(100% - 24px); overflow-x: auto; }
.osddock .run::after { content: ""; position: absolute; bottom: -7px; left: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--os-fg); transform: translateX(-50%); }
@media (prefers-reduced-motion: reduce) { .osov { animation: none; } }

.oshome { min-height: 100dvh; } .ossearch { margin: 6px auto 2px; }
.osmr #osagent { display: inline-flex; gap: 7px; align-items: center; }
.oshbar { position: sticky; bottom: calc(var(--safe-b) + 6px); }
@media (max-height: 760px) { .osic { width: 54px; height: 54px; border-radius: 15px; } .osgrid { gap: 12px 8px; } }

/* ================================================================ Ulya OS 2: sayfalar, düzenleme, bildirim şeridi */
.oshome { overflow-x: hidden; }
.ospages { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -18px; overscroll-behavior-x: contain; }
.ospages::-webkit-scrollbar { display: none; }
.ospage { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; padding: 0 18px; display: flex; flex-direction: column; gap: 12px; }
.osdots { display: flex; justify-content: center; gap: 7px; margin-top: 2px; } .osdots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.3); } .osdots i.on { background: #fff; }
.oslibh { margin: 4px 0 0; font: 700 22px var(--sora); color: var(--os-fg); }
.oslib { border-radius: 22px; padding: 12px; background: rgba(17,26,40,.6); border: 1px solid rgba(255,255,255,.08); }
.oslib h4 { margin: 0 0 10px; font: 600 11px var(--inter); letter-spacing: .14em; color: var(--os-mu); text-transform: uppercase; }
.oslibg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 6px; } .oslw { position: relative; }
.oslibg .osic { width: 52px; height: 52px; border-radius: 15px; } .oslibg .osic svg { width: 25px; height: 25px; }
.osadd { position: absolute; top: -6px; right: calc(50% - 34px); width: 22px; height: 22px; border-radius: 50%; border: 0; padding: 0; background: var(--os-ok); color: #06210f; font: 800 15px/22px var(--inter); }
.osapp { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; position: relative; }
.osrm { display: none; position: absolute; top: -7px; left: calc(50% - 38px); z-index: 2; width: 23px; height: 23px; border-radius: 50%; border: 0; padding: 0; background: rgba(60,66,78,.95); color: #fff; font: 700 17px/22px var(--inter); }
.osdock .osrm { left: -6px; }
.oshome.edit .osrm { display: block; }
.oshome.edit .osapp[data-k] { touch-action: none; animation: oswig .28s ease-in-out infinite alternate; }
.oshome.edit .osapp[data-k]:nth-child(2n) { animation-delay: -.14s; }
@keyframes oswig { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
.osph { opacity: .25; } .osghost { position: fixed; z-index: 90; pointer-events: none; transform: scale(1.12); filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); animation: none !important; }
.osdone { min-height: 36px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--os-b); color: #0A101B; font: 700 14px var(--inter); }
.osedh { margin: 0; font-size: 13px; color: var(--os-mu); }
.osmt { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .osel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osun { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #2B8CC4; color: #fff; font: 700 10.5px var(--inter); vertical-align: 1px; }
.osban { position: fixed; z-index: 95; left: max(10px, env(safe-area-inset-left, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); top: calc(var(--safe-t) + 8px);
  max-width: 520px; margin: 0 auto; display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 20px; text-decoration: none;
  background: rgba(28,36,50,.92); color: #EEECE6; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: osbin .3s cubic-bezier(.2,.9,.3,1.2); transition: transform .3s, opacity .3s; font-size: 14px; }
.osban.desk { left: auto; right: 16px; top: 44px; width: 360px; }
.osban > div { min-width: 0; flex: 1; } .osban span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #C9CDD3; }
.osbh { display: flex; justify-content: space-between; gap: 8px; } .osbh b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .osbh small { color: #8B94A3; flex: none; }
.osban.out { transform: translateY(-140%); opacity: 0; }
@keyframes osbin { from { transform: translateY(-140%); } to { transform: none; } }
body.osedge #app { transform: translateX(var(--edge, 0)); transition: none; }
#app { transition: transform .2s; }
.osbar { gap: 2px; } .osbar > a, .osbar > button { width: 48px; }

/* ================================================================ Ulya Mesaj */
.mav { position: relative; flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 700 17px var(--sora); }
.mav svg { width: 26px; height: 26px; } .mav.ai { background: #0A101B; border: 1px solid rgba(201,162,90,.5); } .mav.ai svg { width: 30px; height: 30px; }
.mav.sm { width: 38px; height: 38px; font-size: 14px; } .mav.sm svg { width: 21px; height: 21px; }
.mav.lg { width: 60px; height: 60px; font-size: 20px; } .mav.xs { width: 28px; height: 28px; font-size: 11px; align-self: flex-end; } .mavs { width: 28px; flex: none; }
.mon { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: var(--ok); border: 2.5px solid var(--card); }
.msearch { margin: 0 0 10px; } .msearch .field { min-height: 42px; border-radius: 14px; }
.mchat { display: flex; gap: 12px; align-items: center; padding: 11px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.mchat:last-child { border-bottom: 0; } .mchat[hidden] { display: none; }
.mcb { flex: 1; min-width: 0; } .mct { display: flex; align-items: baseline; gap: 6px; } .mct b { font-weight: 650; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtm { margin-left: auto; font-size: 12.5px; color: var(--muted); flex: none; } .mpin { font-size: 11px; flex: none; }
.mcs { display: flex; gap: 8px; align-items: center; margin-top: 2px; } .mcs > span { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mun { min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: #2B8CC4; color: #fff; font: 700 11.5px/21px var(--inter); text-align: center; flex: none; } .mun.mu { background: var(--muted); }
.mtyping { color: var(--ok); font-style: normal; font-weight: 600; }
.mpick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; } .mpick label { display: flex; gap: 6px; align-items: center; padding: 8px 12px; border-radius: 12px; background: var(--card-2); font-size: 14.5px; }
body.chat-on .osbar, body.chat-on .tabs { display: none !important; }
.mwrap { display: flex; flex-direction: column; height: 100dvh; max-width: 760px; margin: 0 auto; }
.mhead { flex: none; display: flex; align-items: center; gap: 8px; padding: calc(var(--safe-t) + 8px) max(10px, env(safe-area-inset-right, 0px)) 8px max(8px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.mback, .mmenu { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--brass); border: 0; background: transparent; padding: 0; flex: none; }
.mback svg { width: 24px; height: 24px; } .mmenu svg { width: 22px; height: 22px; color: var(--muted); }
.mht { flex: 1; min-width: 0; display: flex; gap: 10px; align-items: center; } .mht b { display: block; font: 700 16px var(--sora); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mht small { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mok { color: var(--ok); }
.mscroll { flex: 1; overflow-y: auto; padding: 10px max(10px, env(safe-area-inset-right, 0px)) 8px max(10px, env(safe-area-inset-left, 0px)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.mmore { text-align: center; margin: 4px 0 10px; } .mmore .btn { min-height: 36px; font-size: 13px; }
.mday { text-align: center; margin: 14px 0 8px; } .mday span { font: 600 12px var(--inter); color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
.msys { text-align: center; font-size: 12.5px; color: var(--muted); margin: 8px 24px; }
.mmsg { display: flex; gap: 7px; margin-top: 8px; align-items: flex-end; } .mmsg.g { margin-top: 2px; }
.mmsg.me { justify-content: flex-end; }
.mbub { position: relative; max-width: min(78%, 520px); padding: 8px 11px 6px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.38;
  overflow-wrap: anywhere; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.mmsg.ot .mbub { border-bottom-left-radius: 6px; } .mmsg.ot.g .mbub { border-bottom-left-radius: 18px; border-top-left-radius: 6px; }
.mmsg.me .mbub { background: #2B6CB0; color: #fff; border-color: transparent; border-bottom-right-radius: 6px; }
.mmsg.me.g .mbub { border-bottom-right-radius: 18px; border-top-right-radius: 6px; }
.mmsg.ai .mbub { background: linear-gradient(160deg, #172235, #0F1726); color: #EEECE6; border-color: rgba(201,162,90,.35); border-bottom-left-radius: 6px; max-width: min(88%, 600px); }
.mmsg.me .mbub a { color: #fff; } .mmsg.ai .mbub a { color: #D9B670; }
.mnm { font: 700 12.5px var(--inter); margin-bottom: 2px; }
.mtx { white-space: normal; } .mtime { float: right; margin: 6px 0 -2px 10px; font-size: 11px; opacity: .65; display: inline-flex; gap: 3px; align-items: center; }
.mtick::before { content: "✓"; font-style: normal; } .mtick.read::before { content: "✓✓"; color: #9fe3ff; }
.mq { border-left: 3px solid currentColor; padding: 4px 8px; margin-bottom: 5px; border-radius: 6px; background: rgba(127,127,127,.15); font-size: 13px; opacity: .9; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.mq b { display: block; font-size: 12px; }
.mimg { display: block; margin: -2px -6px 4px; } .mimg img { display: block; max-width: 100%; max-height: 320px; border-radius: 13px; object-fit: cover; }
.mfile { display: flex; gap: 10px; align-items: center; text-decoration: none; color: inherit; padding: 8px; border-radius: 12px; background: rgba(127,127,127,.15); margin-bottom: 4px; }
.mfile > span { width: 38px; height: 38px; border-radius: 9px; background: #B23E2C; color: #fff; display: grid; place-items: center; font: 800 11px var(--inter); flex: none; }
.mfile b { display: block; font-size: 14px; overflow-wrap: anywhere; } .mfile small { opacity: .7; font-size: 12px; }
.mtag { font: 700 11.5px var(--inter); letter-spacing: .04em; opacity: .85; margin-bottom: 2px; }
.mref { font-weight: 600; } .mrefc { display: flex; gap: 6px; align-items: center; margin-top: 6px; padding: 7px 10px; border-radius: 10px; background: rgba(127,127,127,.18); color: inherit; text-decoration: none; font-size: 13px; font-weight: 600; }
.mrefc svg { width: 15px; height: 15px; }
.mdel { opacity: .6; }
.mtypb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); margin: 10px 4px 2px; }
.mdots { display: inline-flex; gap: 3px; padding: 8px 10px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.mdots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: mdot 1s infinite; } .mdots i:nth-child(2) { animation-delay: .15s; } .mdots i:nth-child(3) { animation-delay: .3s; }
@keyframes mdot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.mcomp { flex: none; padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(var(--safe-b) + 8px) max(10px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.mrow { display: flex; gap: 8px; align-items: flex-end; }
.matt { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--card-2); color: var(--ink); flex: none; cursor: pointer; } .matt svg { width: 22px; height: 22px; }
.mrow textarea { flex: 1; min-width: 0; resize: none; min-height: 40px; max-height: 140px; padding: 9px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 16px; line-height: 1.35; outline: none; }
.msend { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--brass); color: var(--on-brass); flex: none; padding: 0; } .msend svg { width: 20px; height: 20px; } .msend:disabled { opacity: .5; }
.mrep { margin-bottom: 8px; display: flex; flex-direction: column; gap: 6px; } .mrep[hidden] { display: none; }
.mrp { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 12px; background: var(--card); border-left: 3px solid var(--brass); }
.mrp img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; } .mrp > div { flex: 1; min-width: 0; } .mrp b { display: block; font-size: 12.5px; color: var(--brass); }
.mrp span { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); } .mrp button { border: 0; background: none; color: var(--muted); font-size: 16px; width: 32px; height: 32px; }
.mprev { padding: 10px 12px; border-radius: 14px; background: var(--card-2); margin-bottom: 10px; font-size: 14.5px; overflow-wrap: anywhere; }
html.embed .mhead { padding-top: 8px; } html.embed .mcomp { padding-bottom: 8px; }
.invl { display: flex; gap: 8px; align-items: center; margin-top: 8px; } .invl code { flex: 1; min-width: 0; font-size: 12px; overflow-wrap: anywhere; padding: 8px 10px; border-radius: 10px; background: var(--card-2); }
/* ana ekran: tam ekran, sayfalar kendi içinde kayar, dock hep altta */
body.os-home:not(.os-desk) { overflow: hidden; }
.oshome:not(.osdesk) { height: 100dvh; min-height: 0; overflow: hidden; }
.ospages { flex: 1 1 auto; min-height: 0; }
.ospage { overflow-y: auto; overscroll-behavior-y: contain; padding-bottom: 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.ospage::-webkit-scrollbar { display: none; }
.ossearch { margin: 0 auto; flex: none; } .osdock { position: relative; bottom: auto; flex: none; } .osdots { flex: none; }
.mtypb[hidden] { display: none; }

/* ================================================================ Kilit ekranı ve kurulum kılavuzu */
.kilit { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; overflow: auto;
  padding: calc(var(--safe-t) + 20px) max(16px, env(safe-area-inset-right, 0px)) calc(var(--safe-b) + 20px) max(16px, env(safe-area-inset-left, 0px));
  background: radial-gradient(120% 70% at 20% 0%, #1d2c47 0%, #0d1524 45%, #070b12 100%); color: #EEECE6; }
.ktime { text-align: center; } .ktime b { display: block; font: 700 64px/1 var(--sora); letter-spacing: -.03em; } .ktime span { color: #9AA3B2; font-weight: 600; font-size: 15px; }
.kpad { width: 100%; max-width: 330px; text-align: center; }
.kpad h2 { margin: 0; font: 700 21px var(--sora); } .ksub { margin: 6px 0 0; color: #9AA3B2; font-size: 14.5px; line-height: 1.45; }
.kur .kpad h2 { color: var(--ink); } .kur .ksub { color: var(--muted); }
.kdots { display: flex; justify-content: center; gap: 12px; margin: 20px 0 4px; }
.kdots i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; opacity: .6; transition: background .1s; } .kdots i.on { background: currentColor; opacity: 1; }
.kerr { min-height: 22px; margin: 6px 0; color: #F08A7A; font-weight: 600; font-size: 14px; }
.kur .kerr { color: var(--danger); }
.kkeys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 22px; justify-items: center; margin-top: 6px; }
.kkeys button { width: 76px; height: 76px; border-radius: 50%; border: 0; background: rgba(255,255,255,.13); color: inherit; font: 500 30px var(--sora); padding: 0; }
.kur .kkeys button { background: var(--card-2); color: var(--ink); }
.kkeys button:active { background: rgba(255,255,255,.32); } .kkeys button[data-k="sil"] { background: transparent; font-size: 26px; }
.kforgot { margin-top: 18px; border: 0; background: none; color: #C9A25A; font-weight: 600; font-size: 15px; min-height: 44px; }
.shake { animation: kshake .35s; } @keyframes kshake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
body.kur-on .osbar { display: none !important; }
.kur { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column;
  padding: calc(var(--safe-t) + 14px) max(18px, env(safe-area-inset-right, 0px)) calc(var(--safe-b) + 18px) max(18px, env(safe-area-inset-left, 0px)); }
.kurtop { display: flex; align-items: center; gap: 12px; min-height: 44px; } .kurtop > span:first-child { width: 40px; }
.kurb { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--card-2); color: var(--ink); display: grid; place-items: center; padding: 0; } .kurb svg { width: 22px; height: 22px; }
.kurprog { flex: 1; display: flex; gap: 6px; } .kurprog i { flex: 1; height: 5px; border-radius: 3px; background: var(--card-2); } .kurprog i.on { background: var(--brass); }
.kurn { font: 700 13px var(--inter); color: var(--muted); width: 34px; text-align: right; }
.kurbody { flex: 1; padding: 18px 0; } .kurbody .logo { width: 120px; color: var(--ink); margin: 10px 0 6px; }
.kurbody h1 { margin: 6px 0 10px; font: 700 27px/1.2 var(--sora); letter-spacing: -.02em; }
.kbig { font-size: 18px; line-height: 1.5; color: var(--ink-2); margin: 0 0 16px; }
.kbox { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; font-size: 16px; line-height: 1.5; }
.kbox ol { margin: 8px 0; padding-left: 22px; } .kbox li { margin: 4px 0; } .kbox p { margin: 8px 0 0; }
.ksteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ksteps li, .ktour > div { display: flex; gap: 14px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px; font-size: 16.5px; line-height: 1.45; }
.ktour { display: flex; flex-direction: column; gap: 9px; } .ktour b { display: block; font-size: 16px; } .ktour > div > div { font-size: 15px; color: var(--ink-2); }
.kic { flex: none; width: 46px; height: 46px; border-radius: 13px; background: #2B6CB0; color: #fff; display: grid; place-items: center; }
.kic svg { width: 26px; height: 26px; } .kic.kt { font: 700 17px var(--inter); background: var(--card-2); color: var(--ink); } .kic.kl { background: #0A101B; } .kic.kl .logo { width: 34px; color: #EEECE6; margin: 0; }
.kurfoot { display: flex; flex-direction: column; gap: 8px; } .kcta { min-height: 58px; font-size: 18px; border-radius: 18px; }
.kurskip { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 15.5px; min-height: 46px; }
.authhelp { margin-top: 20px; font-size: 14px; color: var(--muted); line-height: 1.5; text-align: left; } .authhelp ol { padding-left: 20px; margin: 6px 0 0; }

/* ================================================================ Dosyalar */
.dtabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--card-2); margin-bottom: 10px; }
.dtabs a { flex: 1; text-align: center; padding: 8px 0; border-radius: 11px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.dtabs a.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.dbar { display: flex; gap: 8px; margin-bottom: 8px; } .dbar .field { min-height: 42px; border-radius: 14px; flex: 1; min-width: 0; }
.dvw { width: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 18px; flex: none; }
.dcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 2px 10px; font-size: 14px; font-weight: 600; } .dcrumb a { color: var(--brass); text-decoration: none; } .dcrumb span { color: var(--muted); }
.drow { display: flex; align-items: center; border-bottom: 1px solid var(--line); } .drow:last-child { border-bottom: 0; }
.dmain { all: unset; flex: 1; min-width: 0; display: flex; gap: 12px; align-items: center; padding: 10px 6px 10px 14px; cursor: pointer; }
.dmain .t { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dmain .m { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.dmore { width: 44px; height: 44px; border: 0; background: none; color: var(--muted); font-size: 20px; flex: none; }
.dfi { width: 42px; height: 42px; border-radius: 11px; flex: none; display: grid; place-items: center; color: var(--fc); background: color-mix(in srgb, var(--fc) 16%, transparent); } .dfi svg { width: 25px; height: 25px; }
.dft { width: 42px; height: 42px; border-radius: 11px; flex: none; overflow: hidden; background: var(--card-2); } .dft img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.dgi { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); min-width: 0; }
.dgi .dfi, .dgi .dft { width: 64px; height: 64px; border-radius: 14px; } .dgi .dfi svg { width: 34px; height: 34px; }
.dgn { font-size: 13px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dgi small { font-size: 11.5px; color: var(--muted); }
.dempty { text-align: center; color: var(--muted); padding: 40px 18px; border: 2px dashed var(--line); border-radius: 20px; font-size: 15px; line-height: 1.55; }
#dlist.drop { outline: 3px dashed var(--brass); outline-offset: 6px; border-radius: 20px; }
.dprog { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-b) + 84px); z-index: 30; width: min(92vw, 380px); padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.dprog > div { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; } .dprog i { display: block; height: 6px; border-radius: 3px; background: var(--card-2); overflow: hidden; } .dprog i b { display: block; height: 100%; width: 0; background: var(--brass); transition: width .2s; }
.dpv { position: fixed; inset: 0; z-index: 80; background: #05080d; color: #EEECE6; display: flex; flex-direction: column; }
.dpvh { display: flex; align-items: center; gap: 10px; padding: calc(var(--safe-t) + 8px) 12px 8px; } .dpvh b { flex: 1; min-width: 0; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dpvh button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 17px; flex: none; }
.dpvb { flex: 1; min-height: 0; display: grid; place-items: center; overflow: auto; } .dpvb img, .dpvb video { max-width: 100%; max-height: 100%; object-fit: contain; }
.dpvb iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.dpvn { text-align: center; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; } .dpvn .dfi { width: 72px; height: 72px; } .dpvn .dfi svg { width: 40px; height: 40px; } .dpvn span, .dpvn p { color: #9AA3B2; }
.dpvf { display: flex; gap: 8px; padding: 10px 12px calc(var(--safe-b) + 10px); } .dpvf .btn { flex: 1; min-height: 46px; text-decoration: none; display: grid; place-items: center; padding: 0 8px; font-size: 14.5px; }
/* Şifre Kasası */
.vhero { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 20px; background: linear-gradient(160deg, #175DDC, #0E3E99); color: #fff; }
.vhero b { display: block; font: 700 18px var(--sora); margin-bottom: 4px; } .vhero span { font-size: 14.5px; line-height: 1.45; opacity: .95; }
.vic { width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.18); display: grid; place-items: center; flex: none; } .vic svg { width: 28px; height: 28px; }
.vstat { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 2px 0; font-size: 14px; color: var(--muted); } .vstat code { font-size: 12.5px; }
.vsteps code { font-size: 13px; overflow-wrap: anywhere; background: var(--card-2); padding: 1px 5px; border-radius: 6px; }
.vwarn { margin-top: 8px; padding: 9px 11px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 16%, transparent); font-size: 14px; }
/* Uzak tarayıcı */
.twrap { display: flex; flex-direction: column; height: 100dvh; }
.tform { flex: 1; min-width: 0; display: flex; gap: 6px; } .tform .field { min-height: 40px; border-radius: 12px; flex: 1; min-width: 0; font-size: 16px; } .tform .btn { min-height: 40px; padding: 0 14px; }
#tvnc { flex: 1; min-height: 0; width: 100%; border: 0; background: #000; }
.thint { margin: 0; padding: 6px 12px calc(var(--safe-b) + 6px); font-size: 12px; color: var(--muted); }
/* Mail */
.mfold { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 10px; scrollbar-width: none; } .mfold::-webkit-scrollbar { display: none; }
.mfold button { flex: none; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-weight: 600; font-size: 14px; }
.mfold button.on { background: var(--ink); color: var(--bg); } .mfold b { color: #E5484D; } .mfold button.on b { color: inherit; }
.mrow2 { display: flex; gap: 11px; align-items: flex-start; padding: 11px 14px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); } .mrow2:last-child { border-bottom: 0; }
.mrow2 .grow { min-width: 0; } .mr1 { display: flex; gap: 8px; align-items: baseline; } .mr1 b { flex: 1; min-width: 0; font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr1 span { font-size: 12.5px; color: var(--muted); flex: none; } .mr2 { font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 1px; }
.mrow2.new .mr1 b { font-weight: 750; } .mrow2.new .mr2 { color: var(--ink); font-weight: 600; } .mrow2.new .mav::after { content: ""; position: absolute; left: -9px; top: 15px; width: 8px; height: 8px; border-radius: 50%; background: #2B8CC4; }
.mclip svg { width: 14px; height: 14px; vertical-align: -2px; }
.msubj { margin: 4px 0 12px; font: 700 21px/1.3 var(--sora); overflow-wrap: anywhere; }
.mfrom { display: flex; gap: 10px; align-items: flex-start; } .mfrom b { display: block; font-size: 15px; overflow-wrap: anywhere; } .mfrom small { display: block; font-size: 12.5px; color: var(--muted); overflow-wrap: anywhere; }
.mact { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0; } .mact .btn { min-height: 40px; padding: 0 12px; font-size: 14px; }
.matts { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; } .matts .mfile { background: var(--card); border: 1px solid var(--line); }
.mimgbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 8px; } .mimgbar[hidden] { display: none; }
.mframe { width: 100%; min-height: 160px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: block; }
.mbody { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; font-size: 15.5px; line-height: 1.55; overflow-wrap: anywhere; }
.mcfrom { font-size: 13.5px; color: var(--muted); margin-bottom: 4px; } .mcatt { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.mcchip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px 6px 10px; border-radius: 10px; background: var(--card-2); font-size: 13px; } .mcchip button { border: 0; background: none; color: var(--muted); }
