/* ÜRÜN ARAYÜZÜ — web paneli (.l3) ve mobil uygulamalar (.mob) ortak bileşenleri.
   Sunum gezinmesi deck.css içindedir; ürün stilleri bu dosyada, .l3/.mob kapsamı dışında etkisizdir. */

.l3, .mob { font-family: var(--font); color: var(--text); font-size: var(--fs-14); line-height: 1.45;
  -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01' 0; }
:where(.l3, .mob) * { box-sizing: border-box; }
:where(.l3, .mob) button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(.l3, .mob) :where(input, select, textarea) { font: inherit; color: inherit; }
.l3 :focus-visible, .mob :focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.r { text-align: right; }
.ic { flex: none; display: inline-block; vertical-align: middle; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.strong { font-weight: 700; color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Web kabuğu ---------- */
.l3 { width: 1440px; height: 900px; display: grid; grid-template-columns: 252px 1fr; background: var(--canvas); overflow: hidden; position: relative; }
.l3-side { background: var(--navy); color: #C9D1E6; display: flex; flex-direction: column; min-height: 0; }
.l3-brand { display: flex; align-items: center; gap: 10px; padding: 16px 18px 14px; color: #fff; }
.l3-brand img { width: 30px; height: 33px; }
.l3-brand b { font-weight: 700; font-size: 15px; letter-spacing: .1px; display: block; line-height: 1.1; }
.l3-brand span { font-size: 11.5px; color: #9FAACB; }
.ctx { margin: 4px 12px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--r-md); padding: 10px; display: flex; gap: 10px; align-items: center; text-align: left; width: calc(100% - 24px); color: #fff; background: rgba(255,255,255,.04); transition: background var(--t-fast); }
.ctx:hover { background: rgba(255,255,255,.09); }
.ctx .ctx-k { font-size: 11px; color: #9FAACB; display: block; }
.ctx .ctx-v { font-weight: 700; font-size: 13.5px; display: block; line-height: 1.25; }
.ctx .ic:last-child { margin-left: auto; color: #9FAACB; }
.ctx.is-site { border-color: rgba(221,172,74,.55); }
.l3-nav { overflow-y: auto; padding: 2px 10px 12px; flex: 1; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.nav-g { font-size: 11.5px; color: #8E9AC0; padding: 9px 10px 3px; font-weight: 600; }
.nav-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 5px 10px; border-radius: var(--r); font-size: 13.5px; color: #D5DBEC; text-align: left; position: relative; transition: background var(--t-fast), color var(--t-fast); }
.nav-i:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-i.on { background: rgba(255,255,255,.1); color: #fff; font-weight: 700; }
.nav-i.on::before { content: ''; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--gold); }
.nav-i .cnt { margin-left: auto; font-size: 11px; font-weight: 700; background: rgba(255,255,255,.14); color: #fff; border-radius: var(--r-pill); padding: 1px 7px; }
.nav-i .cnt.alert { background: var(--gold); color: var(--navy); }
.nav-i .ph { margin-left: auto; font-size: 10.5px; color: #8E9AC0; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-sm); padding: 0 5px; }
.l3-side-foot { padding: 10px 12px 14px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #9FAACB; display: flex; gap: 8px; align-items: center; }

.l3-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.l3-top { height: 56px; flex: none; background: var(--surface); border-bottom: 1px solid var(--line-soft); display: flex; align-items: center; gap: 14px; padding: 0 20px; }
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.crumb b { color: var(--ink); font-weight: 700; }
.crumb button:hover { color: var(--ink); text-decoration: underline; }
.gsearch { margin-left: auto; width: 380px; height: 36px; border: 1px solid var(--line); border-radius: var(--r); display: flex; align-items: center; gap: 8px; padding: 0 10px; color: var(--muted); font-size: 13px; background: var(--surface-2); text-align: left; }
.gsearch kbd { margin-left: auto; font: 600 11px var(--font); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; background: #fff; color: var(--muted); }
.topbtn { width: 36px; height: 36px; border-radius: var(--r); display: grid; place-items: center; color: var(--ink); position: relative; }
.topbtn:hover { background: var(--surface-3); }
.topbtn .dot { position: absolute; top: 5px; right: 4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.me { display: flex; align-items: center; gap: 10px; padding-left: 6px; font-size: 12.5px; line-height: 1.2; text-align: left; }
.me b { display: block; color: var(--ink); font-size: 13px; }
.ava { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-100); color: var(--navy); display: grid; place-items: center; font-weight: 800; font-size: 12px; flex: none; }
.ava.sm { width: 26px; height: 26px; font-size: 10.5px; }
.ava.gold { background: var(--gold-50); color: var(--gold-ink); }

.rolebar { flex: none; background: var(--gold-50); color: var(--gold-ink); font-size: 12.5px; padding: 6px 20px; display: flex; gap: 8px; align-items: center; border-bottom: 1px solid #EBDDBC; }
.rolebar button { margin-left: auto; font-weight: 700; text-decoration: underline; }

.l3-body { flex: 1; overflow-y: auto; padding: 22px 24px 32px; min-height: 0; scrollbar-width: thin; }
.ph-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.ph-head h1 { margin: 0; font-size: var(--fs-20); font-weight: 800; color: var(--ink); letter-spacing: -.2px; line-height: 1.2; }
.ph-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.ph-head .acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }

/* ---------- Bileşenler ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--r); font-weight: 700; font-size: 13px; border: 1px solid transparent; white-space: nowrap; transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast); }
.btn:active { transform: translateY(1px); }
.btn-p { background: var(--navy); color: #fff; }
.btn-p:hover { background: var(--navy-800); }
.btn-s { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-s:hover { border-color: var(--faint); background: var(--surface-2); }
.btn-g { color: var(--ink); }
.btn-g:hover { background: var(--surface-3); }
.btn-ok { background: var(--ok); color: #fff; }
.btn-d { background: var(--surface); border-color: #F0C2BD; color: var(--bad); }
.btn-d:hover { background: var(--bad-bg); }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; }
.btn-lg { height: 42px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: l3spin .7s linear infinite; }
@keyframes l3spin { to { transform: rotate(360deg); } }

.card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.card-h h2, .card-h h3 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink); }
.card-h .sub { color: var(--muted); font-size: 12px; }
.card-h .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.card-b { padding: 14px 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.g-73 { grid-template-columns: 1.75fr 1fr; } .g-37 { grid-template-columns: 1fr 1.75fr; } .g-64 { grid-template-columns: 1.4fr 1fr; }
.row { display: flex; align-items: center; gap: 8px; }
.stack > * + * { margin-top: 16px; }
.sep { height: 1px; background: var(--line-soft); margin: 12px 0; }

/* Ölçü satırı — kart yığını yerine tek şerit */
.metrics { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.metric { padding: 14px 16px; border-left: 1px solid var(--line-soft); min-width: 0; }
.metric:first-child { border-left: 0; }
.metric .k { font-size: 12px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.metric .v { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; margin-top: 2px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric .v small { font-size: 13px; font-weight: 700; color: var(--muted); margin-left: 3px; }
.metric .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.metric.alert .v { color: var(--bad); }

/* Etiketler */
.tag { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-size: 12px; font-weight: 700; white-space: nowrap; background: var(--surface-3); color: var(--text); }
.tag .ic { width: 13px; height: 13px; }
.t-ok { background: var(--ok-bg); color: var(--ok); }
.t-warn { background: var(--warn-bg); color: var(--warn); }
.t-bad { background: var(--bad-bg); color: var(--bad); }
.t-info { background: var(--info-bg); color: var(--info); }
.t-ai { background: var(--ai-bg); color: var(--ai); }
.t-gold { background: var(--gold-50); color: var(--gold-ink); }
.t-navy { background: var(--navy); color: #fff; }
.t-demo { background: var(--demo-bg); color: var(--demo); }
.t-line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* Tablo */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { text-align: left; font-weight: 700; font-size: 12px; color: var(--muted); padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); position: sticky; top: 0; z-index: 1; white-space: nowrap; }
.tbl th.sort { cursor: pointer; }
.tbl th .ic { color: var(--faint); }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tbody tr { transition: background var(--t-fast); }
.tbl tbody tr.click { cursor: pointer; }
.tbl tbody tr:hover { background: #F8F9FD; }
.tbl tbody tr.sel { background: #EEF2FC; }
.tbl tbody tr.done td { color: var(--muted); }
.tbl tfoot td { padding: 10px 12px; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); background: var(--surface-2); }
.tbl .cb { width: 36px; }
.tbl td.r, .tbl th.r { text-align: right; }
.tbl .neg { color: var(--bad); }
.tbl .pos { color: var(--ok); }
.cbx { width: 16px; height: 16px; border: 1.5px solid var(--faint); border-radius: 4px; display: inline-grid; place-items: center; background: #fff; vertical-align: middle; }
.cbx.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tbl-wrap { overflow: auto; }

/* Filtre şeridi ve toplu işlem */
.fbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.fsearch { display: flex; align-items: center; gap: 6px; height: 32px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; width: 260px; background: #fff; color: var(--muted); }
.fsearch input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 13px; color: var(--text); background: transparent; }
.chip { height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: 12.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.chip:hover { border-color: var(--faint); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip .n { font-size: 11px; opacity: .75; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.seg button { height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 600; border-left: 1px solid var(--line); }
.seg button:first-child { border-left: 0; }
.seg button.on { background: var(--surface-3); color: var(--ink); font-weight: 800; }
.bulk { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--navy); color: #fff; font-size: 13px; }
.bulk .btn-s { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.bulk .btn-s:hover { background: rgba(255,255,255,.1); }

/* Sekmeler */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs button { padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; display: flex; gap: 6px; align-items: center; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--ink); font-weight: 800; border-bottom-color: var(--navy); }
.tabs .n { font-size: 11px; background: var(--surface-3); border-radius: 9px; padding: 0 6px; }

/* Form */
.fld { display: block; margin-bottom: 14px; }
.fld > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.fld > span em { color: var(--bad); font-style: normal; }
.inp { width: 100%; height: 36px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 10px; background: #fff; font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.inp:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(48,92,222,.15); }
textarea.inp { height: auto; padding: 8px 10px; resize: vertical; }
.inp.err { border-color: var(--bad); }
.help { font-size: 12px; color: var(--muted); margin-top: 4px; }
.errtxt { font-size: 12px; color: var(--bad); margin-top: 4px; display: flex; gap: 5px; align-items: center; }
.radio-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; display: flex; gap: 10px; align-items: flex-start; text-align: left; width: 100%; background: #fff; }
.radio-card.on { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #F7F9FE; }
.radio-card .rd { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; margin-top: 2px; }
.radio-card.on .rd { border: 5px solid var(--navy); }
.radio-card b { display: block; color: var(--ink); font-size: 13.5px; }
.radio-card small { color: var(--muted); font-size: 12px; }
.toggle { width: 34px; height: 20px; border-radius: 10px; background: var(--line); position: relative; flex: none; transition: background var(--t); }
.toggle::after { content: ''; position: absolute; width: 16px; height: 16px; top: 2px; left: 2px; border-radius: 50%; background: #fff; transition: transform var(--t); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle.on { background: var(--navy); }
.toggle.on::after { transform: translateX(14px); }

/* Adım göstergesi */
.steps { display: flex; gap: 0; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); }
.step { flex: 1; display: flex; gap: 10px; align-items: center; padding: 11px 14px; font-size: 13px; color: var(--muted); border-left: 1px solid var(--line-soft); text-align: left; }
.step:first-child { border-left: 0; }
.step .sn { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 11.5px; font-weight: 800; flex: none; }
.step.on { color: var(--ink); font-weight: 800; }
.step.on .sn { background: var(--navy); color: #fff; border-color: var(--navy); }
.step.done .sn { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.step small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; }

/* Uyarılar */
.note { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r-md); font-size: 13px; background: var(--info-bg); color: #1E3A8A; }
.note .ic { margin-top: 1px; }
.note b { color: inherit; }
.note.warn { background: var(--warn-bg); color: #6E4204; }
.note.bad { background: var(--bad-bg); color: #8A1C12; }
.note.ok { background: var(--ok-bg); color: #155C39; }
.note.ai { background: var(--ai-bg); color: #00505F; }
.note.demo { background: var(--demo-bg); color: #4F3876; }
.note .acts { margin-left: auto; display: flex; gap: 6px; }

/* Liste satırı */
.li { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; }
.li:last-child { border-bottom: 0; }
button.li:hover, .li.click:hover { background: #F8F9FD; cursor: pointer; }
.li .t { font-weight: 700; color: var(--ink); font-size: 13.5px; }
.li .s { font-size: 12px; color: var(--muted); }
.li .end { margin-left: auto; text-align: right; flex: none; }
.ico-b { width: 32px; height: 32px; border-radius: var(--r); display: grid; place-items: center; flex: none; background: var(--surface-3); color: var(--ink); }
.ico-b.bad { background: var(--bad-bg); color: var(--bad); } .ico-b.warn { background: var(--warn-bg); color: var(--warn); }
.ico-b.ok { background: var(--ok-bg); color: var(--ok); } .ico-b.ai { background: var(--ai-bg); color: var(--ai); }
.ico-b.gold { background: var(--gold-50); color: var(--gold-ink); }

/* Zaman çizelgesi */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line-soft); }
.tl-i { position: relative; padding-bottom: 14px; }
.tl-i:last-child { padding-bottom: 0; }
.tl-i .dt { position: absolute; left: -26px; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; }
.tl-i.ok .dt { border-color: var(--ok); color: var(--ok); background: var(--ok-bg); }
.tl-i.now .dt { border-color: var(--navy); background: var(--navy); color: #fff; }
.tl-i.bad .dt { border-color: var(--bad); color: var(--bad); background: var(--bad-bg); }
.tl-i .tt { font-weight: 700; color: var(--ink); font-size: 13px; }
.tl-i .ts { font-size: 12px; color: var(--muted); }
.tl-i.pend .tt { color: var(--muted); font-weight: 600; }

/* Altıgen site kimliği */
.hx { display: inline-grid; place-items: center; position: relative; flex: none; color: #fff; font-weight: 800; letter-spacing: .2px; }
.hx svg { position: absolute; inset: 0; }
.hx span { position: relative; }

/* Grafik */
.chart text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.chart .lbl { fill: var(--ink); font-weight: 700; }
.chart .grid-l { stroke: var(--line-soft); }
.chart .bar { transition: opacity var(--t-fast); }
.chart .hit:hover + .bar, .chart .bar:hover { opacity: .82; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.hbar { display: grid; grid-template-columns: 150px 1fr 110px; gap: 10px; align-items: center; font-size: 12.5px; padding: 4px 0; }
.hbar .trk { height: 10px; background: var(--surface-3); border-radius: 0 4px 4px 0; position: relative; }
.hbar .fil { position: absolute; inset: 0 auto 0 0; background: var(--navy-700); border-radius: 0 4px 4px 0; }
.meter { height: 6px; background: var(--surface-3); border-radius: 3px; overflow: hidden; min-width: 60px; }
.meter i { display: block; height: 100%; background: var(--navy-700); border-radius: 3px; }
.meter.warn i { background: var(--warn); } .meter.bad i { background: var(--bad); } .meter.ok i { background: var(--ok); }

/* Yan panel, modal, açılır */
.scrim { position: absolute; inset: 0; background: rgba(8, 22, 52, .38); z-index: 40; animation: l3fade var(--t) both; }
.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 520px; background: var(--surface); z-index: 41; box-shadow: var(--shadow-pop); display: flex; flex-direction: column; animation: l3slide var(--t-slow) var(--ease-out) both; }
.drawer.w440 { width: 440px; }
.drawer-h { padding: 16px 20px; border-bottom: 1px solid var(--line-soft); display: flex; gap: 12px; align-items: flex-start; }
.drawer-h h2 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.drawer-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.drawer-h .x { margin-left: auto; }
.drawer-b { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-f { padding: 12px 20px; border-top: 1px solid var(--line-soft); display: flex; gap: 8px; justify-content: flex-end; background: var(--surface-2); }
.modal { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); width: 560px; background: var(--surface); border-radius: var(--r-lg); z-index: 41; box-shadow: var(--shadow-pop); animation: l3pop var(--t) var(--ease-out) both; overflow: hidden; }
.pop { position: absolute; z-index: 41; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-pop); border: 1px solid var(--line-soft); animation: l3pop var(--t) var(--ease-out) both; overflow: hidden; }
@keyframes l3fade { from { opacity: 0; } }
@keyframes l3slide { from { transform: translateX(24px); opacity: 0; } }
@keyframes l3pop { from { opacity: 0; transform: translate(var(--px, 0), -6px) scale(.985); } }
.modal { --px: -50%; }

/* Bildirim (toast) */
.toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; box-shadow: var(--shadow-pop); animation: l3toast 3.6s var(--ease-out) both; max-width: 640px; }
.toast .ic { color: #8FE0B6; }
.toast button { color: var(--gold); font-weight: 800; margin-left: 8px; }
@keyframes l3toast { 0% { opacity: 0; transform: translate(-50%, 8px); } 8%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }

/* Durum ekranları */
.state { text-align: center; padding: 36px 20px; color: var(--muted); }
.state .ico-b { width: 44px; height: 44px; margin: 0 auto 10px; }
.state b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }
.skel { background: linear-gradient(90deg, var(--surface-3) 0, #F7F8FC 50%, var(--surface-3) 100%); background-size: 200% 100%; animation: l3sk 1.2s linear infinite; border-radius: 4px; height: 12px; }
@keyframes l3sk { to { background-position: -200% 0; } }

/* Fotoğraf yer tutucusu — gerçek fotoğraf yok, temsilî alan */
.photo { position: relative; border-radius: var(--r-md); overflow: hidden; background: #DCE2EE; aspect-ratio: 4/3; display: grid; place-items: center; color: #5E6A86; }
.photo svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.photo .cap { position: absolute; left: 6px; bottom: 6px; background: rgba(8,22,52,.72); color: #fff; font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.photo .stamp { position: absolute; right: 6px; top: 6px; background: rgba(255,255,255,.88); color: var(--ink); font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }

/* Kanban */
.kan { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: start; }
.kan-col { background: var(--surface-3); border-radius: var(--r-md); padding: 8px; }
.kan-col h3 { margin: 2px 4px 8px; font-size: 12.5px; color: var(--ink); display: flex; gap: 6px; align-items: center; }
.kan-col h3 .n { margin-left: auto; color: var(--muted); font-weight: 600; }
.kcard { background: #fff; border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 10px; margin-bottom: 8px; width: 100%; text-align: left; display: block; }
.kcard:hover { border-color: var(--faint); }
.kcard .id { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.kcard .tt { font-weight: 700; color: var(--ink); font-size: 13px; margin: 2px 0 6px; line-height: 1.3; }
.kcard.hl { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

/* Matris */
.mx td, .mx th { text-align: center; }
.mx td:first-child, .mx th:first-child { text-align: left; }
.mx .y { color: var(--ok); } .mx .n { color: var(--faint); } .mx .p { color: var(--warn); font-size: 11.5px; font-weight: 700; }

/* Puantaj ızgarası */
.pt { border-collapse: collapse; font-size: 11.5px; }
.pt th, .pt td { border: 1px solid var(--line-soft); padding: 0; text-align: center; height: 28px; min-width: 26px; }
.pt th { background: var(--surface-2); color: var(--muted); font-weight: 700; }
.pt td.nm { text-align: left; padding: 0 10px; min-width: 170px; font-weight: 700; color: var(--ink); font-size: 12.5px; }
.pt .c-g { background: #E8F1FC; color: var(--info); font-weight: 800; }
.pt .c-n { background: #ECE9F7; color: #4F3876; font-weight: 800; }
.pt .c-i { background: var(--warn-bg); color: var(--warn); font-weight: 800; }
.pt .c-x { color: var(--faint); }
.pt .c-plan { color: var(--faint); font-weight: 600; }
.pt .today { box-shadow: inset 0 0 0 2px var(--navy); }

/* Sohbet dökümü */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 78%; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.msg.ai { background: var(--surface-3); color: var(--text); border-top-left-radius: 3px; }
.msg.user { background: var(--navy); color: #fff; margin-left: auto; border-top-right-radius: 3px; }
.msg.sys { max-width: 100%; align-self: center; background: transparent; color: var(--muted); font-size: 12px; display: flex; gap: 6px; align-items: center; padding: 2px; }
.msg .who { display: block; font-size: 11px; font-weight: 700; opacity: .7; margin-bottom: 2px; }
.msg.guard { background: #FFF8EB; border: 1px solid #F2DFB4; color: #5E4206; }

/* Komut paleti / arama */
.cmd { width: 640px; left: 50%; top: 70px; --px: -50%; transform: translateX(-50%); }
.cmd-in { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
.cmd-in input { border: 0; outline: 0; flex: 1; font-size: 15px; background: transparent; }
.cmd-g { padding: 8px 8px 4px; font-size: 11.5px; color: var(--muted); font-weight: 700; padding-left: 16px; }
.cmd-i { display: flex; gap: 12px; align-items: center; padding: 8px 16px; width: 100%; text-align: left; font-size: 13px; }
.cmd-i:hover, .cmd-i.on { background: #F1F4FD; }
.cmd-i .s { color: var(--muted); font-size: 12px; }
.cmd-i .end { margin-left: auto; color: var(--muted); font-size: 12px; }
mark { background: var(--gold-50); color: var(--gold-ink); border-radius: 2px; padding: 0 1px; }

/* ---------- Mobil uygulama ---------- */
.mob { width: 390px; height: 844px; position: relative; overflow: hidden; background: var(--canvas); display: flex; flex-direction: column; font-size: 15px; }
.mob.dark { background: var(--navy); color: #fff; }
.sb { height: 47px; flex: none; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 28px 8px 32px; font-size: 15px; font-weight: 700; color: var(--ink); }
.sb.light { color: #fff; }
.sb .sbi { display: flex; gap: 5px; align-items: center; }
.m-head { flex: none; padding: 6px 18px 10px; display: flex; align-items: center; gap: 10px; }
.m-head h1 { margin: 0; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.3px; }
.m-head .back { width: 40px; height: 40px; margin-left: -10px; display: grid; place-items: center; color: var(--ink); border-radius: 20px; }
.m-head .tt { font-size: 16px; font-weight: 800; color: var(--ink); flex: 1; text-align: center; margin-right: 30px; }
.m-head .end { margin-left: auto; display: flex; gap: 4px; }
.m-iconbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 22px; color: var(--ink); position: relative; }
.m-iconbtn .dot { position: absolute; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--bad); border: 2px solid var(--canvas); }
.m-body { flex: 1; overflow-y: auto; padding: 0 16px 24px; scrollbar-width: none; }
.m-body::-webkit-scrollbar { display: none; }
.m-sec { font-size: 15px; font-weight: 800; color: var(--ink); margin: 20px 2px 8px; display: flex; align-items: center; }
.m-sec button { margin-left: auto; font-size: 13.5px; font-weight: 700; color: var(--blue); }
.m-card { background: #fff; border-radius: 14px; border: 1px solid var(--line-soft); }
.m-card + .m-card { margin-top: 10px; }
.m-pad { padding: 14px 16px; }
.m-li { display: flex; gap: 12px; align-items: center; min-height: 60px; padding: 10px 16px; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; }
.m-li:last-child { border-bottom: 0; }
.m-li .t { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.3; }
.m-li .s { font-size: 13px; color: var(--muted); line-height: 1.35; }
.m-li .end { margin-left: auto; text-align: right; flex: none; }
.m-li .chev { color: var(--faint); margin-left: 4px; }
.m-btn { width: 100%; height: 52px; border-radius: 14px; font-weight: 800; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; transition: transform var(--t-fast), opacity var(--t-fast); }
.m-btn:active { transform: scale(.985); }
.m-btn.gold { background: var(--gold); color: var(--navy); }
.m-btn.sec { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.m-btn.ok { background: var(--ok); }
.m-btn.bad { background: #fff; color: var(--bad); border: 1px solid #F0C2BD; }
.m-btn[disabled] { opacity: .45; }
.m-foot { flex: none; padding: 10px 16px 30px; background: linear-gradient(180deg, rgba(241,244,253,0), var(--canvas) 30%); }
.m-tabs { flex: none; height: 84px; background: #fff; border-top: 1px solid var(--line-soft); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px 6px 26px; }
.m-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--muted); position: relative; }
.m-tab.on { color: var(--navy); }
.m-tab.on::before { content: ''; position: absolute; top: -6px; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold); }
.m-tab .bd { position: absolute; top: 2px; left: 54%; min-width: 17px; height: 17px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.m-chip { height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--ink); }
.m-chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.m-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 4px; scrollbar-width: none; }
.m-chips::-webkit-scrollbar { display: none; }
.m-big { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -.6px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.m-sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 20px 20px 0 0; z-index: 41; padding: 8px 0 30px; animation: msheet var(--t-slow) var(--ease-out) both; max-height: 86%; display: flex; flex-direction: column; }
.m-sheet .grab { width: 38px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 10px; flex: none; }
.m-sheet h2 { font-size: 18px; margin: 0 20px 10px; color: var(--ink); }
@keyframes msheet { from { transform: translateY(40%); opacity: 0; } }
.m-toast { position: absolute; left: 16px; right: 16px; top: 54px; z-index: 60; background: var(--navy); color: #fff; border-radius: 14px; padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow-pop); animation: mtoast 3.4s var(--ease-out) both; }
@keyframes mtoast { 0% { opacity: 0; transform: translateY(-10px); } 8%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.m-inp { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; font-size: 16px; }
textarea.m-inp { height: 96px; padding: 12px 14px; resize: none; }
.m-lbl { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin: 14px 2px 6px; }
.m-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-3); border-radius: 12px; padding: 3px; }
.m-seg button { height: 38px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.m-seg button.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.m-hero { background: var(--navy); color: #fff; border-radius: 18px; padding: 16px; position: relative; overflow: hidden; }
.m-hero .k { font-size: 13px; color: #B7C2DE; }
.m-hero .m-big { color: #fff; }
.m-hero .hexbg { position: absolute; right: -30px; top: -30px; opacity: .12; }
.viewfinder { position: absolute; inset: 0; background: #0E1426; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.vf-box { width: 240px; height: 240px; position: relative; }
.vf-box i { position: absolute; width: 44px; height: 44px; border: 4px solid var(--gold); }
.vf-box i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; border-radius: 12px 0 0 0; }
.vf-box i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; border-radius: 0 12px 0 0; }
.vf-box i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 12px; }
.vf-box i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; border-radius: 0 0 12px 0; }
.vf-line { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--gold); top: 50%; animation: vfscan 1.8s ease-in-out infinite alternate; box-shadow: 0 0 12px var(--gold); }
@keyframes vfscan { from { top: 16%; } to { top: 84%; } }
.check { display: flex; gap: 12px; align-items: center; min-height: 52px; padding: 8px 16px; border-bottom: 1px solid var(--line-soft); width: 100%; text-align: left; font-size: 15px; }
.check:last-child { border-bottom: 0; }
.check .bx { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--faint); display: grid; place-items: center; flex: none; color: #fff; }
.check.on .bx { background: var(--ok); border-color: var(--ok); }
.check.on .lb { color: var(--muted); }
.home-ind { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 3px; background: var(--ink); opacity: .85; z-index: 70; pointer-events: none; }
.mob.dark .home-ind, .home-ind.light { background: #fff; }
.otp { display: flex; gap: 10px; justify-content: center; }
.otp span { width: 46px; height: 56px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: var(--ink); }
.otp span.on { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(13,33,79,.15); }
.slot { height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink); }
.slot.full { background: var(--surface-3); color: var(--faint); text-decoration: line-through; }
.slot.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.stars { display: flex; gap: 6px; }
.stars button { width: 44px; height: 44px; display: grid; place-items: center; color: var(--line); }
.stars button.on { color: var(--gold); }
.stars button.on svg { fill: var(--gold); }

/* Görüşme oynatma */
.msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px; width: auto; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; animation: l3dot 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes l3dot { 50% { opacity: 1; transform: translateY(-2px); } }
.tl-i.warnv .dt { border-color: var(--warn); background: var(--warn-bg); color: var(--warn); }
