/* Estafiz Yönetim Paneli — web ürün bileşenleri (.app kapsamı) */
.app, .ds { font: 400 13.5px/1.45 var(--f-ui); color: var(--text); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 0; }
.app *, .ds * { box-sizing: border-box; }
.app { position: relative; display: grid; grid-template-columns: 236px 1fr; width: 100%; height: 100%; background: var(--bg); overflow: hidden; }
.app.nosb { grid-template-columns: 1fr; }
.num, .app td.r, .kpi .v { font-variant-numeric: tabular-nums; }
.app button { font: inherit; color: inherit; }
.app a { color: var(--violet); text-decoration: none; }
.app :focus-visible, .ds :focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }

/* ---------- kenar menü ---------- */
.sb { background: var(--ink); color: #DDE6E7; display: flex; flex-direction: column; min-height: 0; }
.sb-logo { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; }
.sb-logo img { height: 26px; display: block; }
.sb-ctx { margin: 2px 12px 10px; padding: 10px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 10px; cursor: pointer; text-align: left; width: calc(100% - 24px); }
.sb-ctx:hover { background: rgba(255, 255, 255, .1); }
.sb-ctx .k { font-size: 11px; color: #8FA6A9; display: block; }
.sb-ctx b { font-weight: 600; font-size: 13px; color: #fff; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.sb-nav { flex: 1; overflow-y: auto; padding: 4px 10px 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.sb-g { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: #7F9799; padding: 14px 10px 6px; }
.sb-i { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: var(--r); color: #C9D5D6; font-size: 13px; cursor: pointer; border: 0; background: none; text-align: left; position: relative; }
.sb-i svg { color: #8FA6A9; flex: none; }
.sb-i:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.sb-i.on { background: rgba(144, 79, 252, .2); color: #fff; }
.sb-i.on svg { color: #C9AEFF; }
.sb-i.on::before { content: ''; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--violet-brand); }
.sb-i .cnt { margin-left: auto; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 99px; padding: 1px 7px; }
.sb-i .cnt.warn { background: #F2B544; color: #3D2600; }
.sb-i.lock { opacity: .45; cursor: not-allowed; }
.sb-me { border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.sb-me b { display: block; font-size: 13px; color: #fff; font-weight: 600; }
.sb-me span { font-size: 11.5px; color: #8FA6A9; }

/* ---------- üst bar ---------- */
.mn { display: grid; grid-template-rows: 56px 1fr; min-width: 0; min-height: 0; }
.tb { display: flex; align-items: center; gap: 10px; padding: 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); min-width: 0; }
.tb-search { display: flex; align-items: center; gap: 8px; height: 36px; width: 380px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); color: var(--text-3); cursor: text; font-size: 13px; }
.tb-search:hover { border-color: var(--line-2); }
.tb-search kbd { margin-left: auto; }
kbd { font: 600 11px/1 var(--f-ui); color: var(--text-3); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 3px 5px; background: #fff; }
.tb-sp { flex: 1; }
.tb-date { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }
.tb-ib { position: relative; width: 36px; height: 36px; border-radius: var(--r); border: 0; background: none; display: grid; place-items: center; color: var(--text-2); cursor: pointer; }
.tb-ib:hover { background: var(--bg); }
.tb-ib .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 4px; border: 2px solid #fff; }
.tb-scope { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; font-size: 13px; font-weight: 500; }
.tb-scope:hover { border-color: var(--line-2); }
.tb-scope .k { color: var(--text-3); font-weight: 400; }

.ct { overflow-y: auto; min-height: 0; scroll-behavior: auto; }
.pg { padding: 22px 28px 40px; max-width: 1440px; }
.pg.wide { max-width: none; }
.ph { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.ph h1 { font: 500 23px/1.2 var(--f-display); letter-spacing: -.4px; margin: 0; color: var(--text); }
.ph .sub { color: var(--text-3); font-size: 13px; margin-top: 4px; }
.ph .acts { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.crumb { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.crumb button { border: 0; background: none; color: var(--text-3); padding: 0; cursor: pointer; }
.crumb button:hover { color: var(--violet); }

/* ---------- düzen ---------- */
.row { display: flex; align-items: center; gap: 8px; }
.row.top { align-items: flex-start; }
.col { display: flex; flex-direction: column; gap: 4px; }
.sp { flex: 1; }
.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-21 { grid-template-columns: 2fr 1fr; } .g-12 { grid-template-columns: 1fr 2fr; } .g-31 { grid-template-columns: 3fr 1.25fr; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; }
.muted { color: var(--text-3); } .small { font-size: 12px; } .xs { font-size: 11.5px; } .b6 { font-weight: 600; } .b5 { font-weight: 500; } .nowrap { white-space: nowrap; } .r { text-align: right; } .c { text-align: center; }
.ok-t { color: var(--ok); } .bad-t { color: var(--bad); } .warn-t { color: var(--warn); } .vio-t { color: var(--violet); }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hr { height: 1px; background: var(--line); margin: 12px 0; border: 0; }

/* ---------- kart ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.card-h { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); min-height: 50px; }
.card-h h3 { margin: 0; font-size: 14px; font-weight: 600; }
.card-h .sub { font-size: 12px; color: var(--text-3); }
.card-h .acts { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.card-b { padding: 16px; }
.card-b.p0 { padding: 0; }
.card-f { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.card.flat { border: 0; background: var(--surface-2); }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.kpis.k4 { grid-template-columns: repeat(4, 1fr); } .kpis.k3 { grid-template-columns: repeat(3, 1fr); } .kpis.k6 { grid-template-columns: repeat(6, 1fr); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 13px 15px 12px; text-align: left; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
button.kpi { cursor: pointer; } button.kpi:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.kpi .k { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.kpi .v { font: 600 23px/1.2 var(--f-ui); letter-spacing: -.4px; color: var(--text); margin-top: 4px; }
.kpi .v small { font-size: 13px; font-weight: 500; color: var(--text-3); letter-spacing: 0; margin-left: 2px; }
.kpi .d { font-size: 12px; color: var(--text-3); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.kpi.alert { border-color: var(--bad-line); background: linear-gradient(0deg, #fff, #fff), var(--bad-bg); }
.kpi.alert .v { color: var(--bad); }
.dl { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-size: 12px; }
.dl.up { color: var(--ok); } .dl.dn { color: var(--bad); } .dl.fl { color: var(--text-3); }

/* ---------- butonlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: var(--r); border: 1px solid transparent; font: 600 13px/1 var(--f-ui); cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, box-shadow .12s, color .12s; text-decoration: none !important; }
.btn svg { flex: none; }
.btn-p { background: var(--ink); color: #fff !important; }
.btn-p:hover { background: var(--ink-3); }
.btn-v { background: var(--violet); color: #fff !important; }
.btn-v:hover { background: #6A30D3; }
.btn-s { background: #fff; color: var(--text) !important; border-color: var(--line-2); }
.btn-s:hover { background: var(--surface-2); border-color: #B9C4C5; }
.btn-g { background: transparent; color: var(--text-2) !important; }
.btn-g:hover { background: var(--bg); color: var(--text) !important; }
.btn-d { background: #fff; color: var(--bad) !important; border-color: var(--bad-line); }
.btn-d:hover { background: var(--bad-bg); }
.btn-dd { background: var(--bad); color: #fff !important; }
.btn-dd:hover { background: #962013; }
.btn-l { background: transparent; color: var(--violet) !important; padding: 0 4px; height: auto; }
.btn-l:hover { text-decoration: underline !important; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: var(--r-sm); }
.btn-xs { height: 24px; padding: 0 8px; font-size: 12px; border-radius: var(--r-sm); gap: 4px; }
.btn-lg { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-i { width: 34px; padding: 0; } .btn-sm.btn-i { width: 28px; } .btn-xs.btn-i { width: 24px; }
.btn[disabled], .btn.dis { opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn.busy { pointer-events: none; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: sp .7s linear infinite; display: inline-block; }
@keyframes sp { to { transform: rotate(360deg); } }
.bgrp { display: inline-flex; } .bgrp .btn { border-radius: 0; margin-left: -1px; } .bgrp .btn:first-child { border-radius: var(--r) 0 0 var(--r); margin-left: 0; } .bgrp .btn:last-child { border-radius: 0 var(--r) var(--r) 0; }

/* ---------- rozet ---------- */
.b { display: inline-flex; align-items: center; gap: 5px; height: 21px; padding: 0 8px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--bg-2); color: var(--text-2); border: 1px solid transparent; vertical-align: middle; }
.b svg { flex: none; }
.b.ok { background: var(--ok-bg); color: var(--ok); } .b.warn { background: var(--warn-bg); color: var(--warn); } .b.bad { background: var(--bad-bg); color: var(--bad); }
.b.info { background: var(--info-bg); color: var(--info); } .b.demo { background: var(--demo-bg); color: var(--demo); } .b.fem { background: var(--fem-bg); color: var(--fem); }
.b.ink { background: var(--ink); color: #fff; } .b.line { background: #fff; border-color: var(--line-2); color: var(--text-2); }
.b.sq { border-radius: var(--r-xs); height: 20px; padding: 0 6px; }
.b.dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b.lg { height: 26px; padding: 0 11px; font-size: 12.5px; }

/* ---------- avatar ---------- */
.av { display: inline-grid; place-items: center; border-radius: 50%; font-weight: 600; color: #fff; flex: none; letter-spacing: .02em; position: relative; overflow: hidden; }
.av.sq { border-radius: 10px; }
.av-stack { display: inline-flex; } .av-stack .av { box-shadow: 0 0 0 2px #fff; margin-left: -6px; } .av-stack .av:first-child { margin-left: 0; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who > div > b { font-weight: 600; display: block; color: var(--text); }
.who > div > span { font-size: 12px; color: var(--text-3); display: block; }
.who .ell { max-width: 220px; }

/* ---------- form ---------- */
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld > label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; }
.fld > label .opt { font-weight: 400; color: var(--text-3); }
.fld .hint { font-size: 12px; color: var(--text-3); }
.fld .err { font-size: 12px; color: var(--bad); display: flex; gap: 5px; align-items: center; }
.inp, .sel, .ta { height: 36px; width: 100%; border: 1px solid var(--line-2); border-radius: var(--r); background: #fff; padding: 0 11px; font: 400 13.5px var(--f-ui); color: var(--text); transition: border-color .12s, box-shadow .12s; }
.ta { height: auto; min-height: 76px; padding: 9px 11px; resize: vertical; line-height: 1.5; }
.inp::placeholder, .ta::placeholder { color: var(--text-4); }
.inp:hover, .sel:hover, .ta:hover { border-color: #B9C4C5; }
.inp:focus, .sel:focus, .ta:focus { outline: none; border-color: var(--violet-brand); box-shadow: var(--focus); }
.inp.e, .sel.e, .ta.e { border-color: var(--bad); }
.inp.okk { border-color: var(--ok); }
.inp[disabled], .sel[disabled] { background: var(--surface-2); color: var(--text-3); cursor: not-allowed; }
.inp.sm, .sel.sm { height: 30px; font-size: 13px; }
.sel { appearance: none; padding-right: 30px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7779' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center; cursor: pointer; }
.iw { position: relative; display: flex; align-items: center; }
.iw > svg { position: absolute; left: 10px; color: var(--text-3); pointer-events: none; }
.iw .inp { padding-left: 34px; }
.iw .suf { position: absolute; right: 10px; color: var(--text-3); font-size: 12.5px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fgrid .s2 { grid-column: span 2; }
.fsec { font-size: 13px; font-weight: 600; margin: 4px 0 10px; display: flex; align-items: center; gap: 8px; }
.fsec .muted { font-weight: 400; }
.tog { width: 34px; height: 20px; border-radius: 10px; background: var(--line-2); position: relative; border: 0; cursor: pointer; flex: none; transition: background .15s; padding: 0; }
.tog::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s var(--ease); }
.tog.on { background: var(--violet); } .tog.on::after { transform: translateX(14px); }
.tog[disabled] { opacity: .45; cursor: not-allowed; }
.cb { width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #A9B5B7; background: #fff; display: inline-grid; place-items: center; flex: none; cursor: pointer; padding: 0; color: #fff; }
.cb.on { background: var(--violet); border-color: var(--violet); }
.cb.mid { background: var(--violet); border-color: var(--violet); }
.rd { width: 17px; height: 17px; border-radius: 50%; border: 1.5px solid #A9B5B7; background: #fff; display: inline-block; flex: none; position: relative; }
.rd.on { border-color: var(--violet); } .rd.on::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--violet); }
.opt-card { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; cursor: pointer; text-align: left; width: 100%; }
.opt-card:hover { border-color: #B9C4C5; }
.opt-card.on { border-color: var(--violet); box-shadow: 0 0 0 1px var(--violet); background: var(--violet-50); }
.opt-card.dis { opacity: .5; cursor: not-allowed; }
.opt-card b { display: block; font-weight: 600; }
.opt-card span { font-size: 12px; color: var(--text-3); }
.seg { display: inline-flex; background: var(--bg-2); border-radius: var(--r); padding: 3px; gap: 2px; }
.seg button { height: 28px; padding: 0 11px; border: 0; background: transparent; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: var(--text-3); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.seg button:hover { color: var(--text); }
.seg button.on { background: #fff; color: var(--text); box-shadow: var(--sh-1); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: #fff; font-size: 12.5px; font-weight: 500; color: var(--text-2); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: #B9C4C5; color: var(--text); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .n { font-size: 11px; font-weight: 600; color: var(--text-3); } .chip.on .n { color: #9FC0C3; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- sekmeler ---------- */
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; }
.tabs button { position: relative; height: 40px; padding: 0 12px; border: 0; background: none; font-size: 13px; font-weight: 600; color: var(--text-3); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); }
.tabs button.on::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--violet); }
.tabs .n { font-size: 11px; background: var(--bg-2); color: var(--text-3); border-radius: 9px; padding: 1px 6px; }
.tabs button svg { color: var(--text-4); }

/* ---------- tablo ---------- */
.tblw { overflow-x: auto; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.tbl th { position: sticky; top: 0; z-index: 1; text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3); background: var(--surface-2); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl th.r, .tbl td.r { text-align: right; white-space: nowrap; }
.tbl th.c, .tbl td.c { text-align: center; }
.tbl th button { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--text-2); }
.tbl td b, .tbl td .t { color: var(--text); font-weight: 600; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr.ck { cursor: pointer; }
.tbl tbody tr:hover td { background: #FAFBFB; }
.tbl tbody tr.sel td { background: var(--violet-50); }
.tbl tbody tr.dim td { color: var(--text-4); }
.tbl .w1 { width: 1%; white-space: nowrap; }
.tbl tfoot td { font-weight: 600; color: var(--text); background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 0; }
.tbl.cmp td, .tbl.cmp th { padding: 7px 10px; }
.tbar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tbar .iw { width: 280px; }
.bulk { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: var(--ink); color: #fff; border-radius: var(--r-lg) var(--r-lg) 0 0; font-size: 13px; }
.bulk .btn-s { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff !important; }
.bulk .btn-s:hover { background: rgba(255,255,255,.16); }
.pager { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }
.pager .sp { flex: 1; }
.meter { display: block; height: 6px; border-radius: 3px; background: var(--bg-2); overflow: hidden; min-width: 40px; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--violet); }
.meter.ok i { background: var(--ok); } .meter.warn i { background: #E0A100; } .meter.bad i { background: var(--bad); } .meter.ink i { background: var(--ink); }
.meter.lg { height: 8px; border-radius: 4px; }
.seat { display: inline-flex; gap: 2px; } .seat i { width: 7px; height: 12px; border-radius: 2px; background: var(--line-2); } .seat i.on { background: var(--violet); } .seat i.full { background: var(--ink); }

/* ---------- liste ---------- */
.li { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--line); min-width: 0; }
.li:last-child { border-bottom: 0; }
button.li, .li.ck { width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; cursor: pointer; }
button.li:hover, .li.ck:hover { background: #FAFBFB; }
.li .m { flex: 1; min-width: 0; }
.li .m b { display: block; font-weight: 600; color: var(--text); }
.li .m > span { display: block; font-size: 12px; color: var(--text-3); }
.li .m .b { margin-left: 4px; }
.li .tm { font-size: 12.5px; font-weight: 600; color: var(--text); width: 46px; flex: none; font-variant-numeric: tabular-nums; }
.ico { width: 32px; height: 32px; border-radius: var(--r); display: grid; place-items: center; flex: none; background: var(--bg-2); color: var(--text-2); }
.ico.ok { background: var(--ok-bg); color: var(--ok); } .ico.warn { background: var(--warn-bg); color: var(--warn); } .ico.bad { background: var(--bad-bg); color: var(--bad); } .ico.info { background: var(--info-bg); color: var(--info); } .ico.demo { background: var(--demo-bg); color: var(--demo); } .ico.ink { background: var(--ink); color: #fff; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; font-size: 13px; }
.kv dt { color: var(--text-3); } .kv dd { margin: 0; color: var(--text); font-weight: 500; }
.kv.tight { grid-template-columns: 110px 1fr; gap: 6px 10px; }

/* ---------- uyarı / not ---------- */
.nt { display: flex; gap: 10px; align-items: flex-start; padding: 11px 13px; border-radius: var(--r-md); background: var(--info-bg); color: #13427F; border: 1px solid var(--info-line); font-size: 13px; }
.nt svg { flex: none; margin-top: 1px; }
.nt b { font-weight: 600; }
.nt.warn { background: var(--warn-bg); border-color: var(--warn-line); color: #6E4100; }
.nt.bad { background: var(--bad-bg); border-color: var(--bad-line); color: #8A1C12; }
.nt.ok { background: var(--ok-bg); border-color: var(--ok-line); color: #0F5434; }
.nt.vio { background: var(--violet-50); border-color: var(--violet-200); color: #4C2399; }
.nt.mono { background: var(--surface-2); border-color: var(--line); color: var(--text-2); }
.nt .acts { margin-left: auto; display: flex; gap: 6px; flex: none; }
.empty { text-align: center; padding: 36px 20px; color: var(--text-3); }
.empty .ico { width: 44px; height: 44px; border-radius: 12px; margin: 0 auto 12px; }
.empty b { display: block; color: var(--text); font-size: 14px; margin-bottom: 4px; }
.skel { height: 12px; border-radius: 6px; background: linear-gradient(90deg, #EEF1F1 25%, #F7F9F9 50%, #EEF1F1 75%); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- katmanlar ---------- */
.ov { position: absolute; inset: 0; background: rgba(2, 27, 30, .38); z-index: 50; animation: fi .15s ease; }
@keyframes fi { from { opacity: 0; } }
.dr { position: absolute; top: 0; right: 0; bottom: 0; width: 520px; max-width: 92%; background: #fff; z-index: 51; box-shadow: var(--sh-4); display: flex; flex-direction: column; animation: sl .22s var(--ease); }
.dr.w6 { width: 640px; }
@keyframes sl { from { transform: translateX(30px); opacity: 0; } }
.dr-h { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.dr-h h2 { font: 500 19px/1.25 var(--f-display); margin: 0; letter-spacing: -.3px; }
.dr-h .sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.dr-b { flex: 1; overflow-y: auto; padding: 18px 20px; }
.dr-f { display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line); background: var(--surface-2); }
.md { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 600px; max-width: 94%; max-height: 92%; background: #fff; border-radius: var(--r-xl); z-index: 51; box-shadow: var(--sh-4); display: flex; flex-direction: column; animation: mi .2s var(--ease); }
.md.w7 { width: 720px; } .md.w8 { width: 820px; } .md.w4 { width: 440px; }
@keyframes mi { from { opacity: 0; transform: translate(-50%, -47%); } }
.md-h { display: flex; align-items: flex-start; gap: 12px; padding: 18px 22px 0; }
.md-h h2 { font: 500 19px/1.25 var(--f-display); margin: 0; letter-spacing: -.3px; }
.md-h .sub { font-size: 12.5px; color: var(--text-3); margin-top: 3px; }
.md-b { padding: 18px 22px; overflow-y: auto; }
.md-f { display: flex; align-items: center; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); }
.x { margin-left: auto; }
.steps { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text-3); margin-top: 12px; }
.steps .st { display: flex; align-items: center; gap: 6px; }
.steps .st i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; background: var(--bg-2); color: var(--text-3); }
.steps .st.on { color: var(--text); font-weight: 600; } .steps .st.on i { background: var(--ink); color: #fff; }
.steps .st.dn i { background: var(--ok); color: #fff; }
.steps .ln { width: 24px; height: 1px; background: var(--line-2); }
.toast { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 12px; background: var(--ink); color: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-3); font-size: 13px; min-width: 320px; max-width: 560px; animation: ti .25s var(--ease); }
.toast .ti { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #1C7A4D; flex: none; }
.toast.bad .ti { background: var(--bad); } .toast.warn .ti { background: #B7791F; }
.toast .btn-l { color: #C9AEFF !important; margin-left: auto; }
@keyframes ti { from { opacity: 0; transform: translate(-50%, 8px); } }
.pop { position: absolute; z-index: 60; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 6px; min-width: 220px; animation: fi .12s; }
.pop button.pi { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: var(--r-sm); cursor: pointer; text-align: left; font-size: 13px; color: var(--text); }
.pop button.pi:hover { background: var(--bg); }
.pop button.pi.on { background: var(--violet-50); color: var(--violet); font-weight: 600; }
.pop .ph2 { font-size: 11.5px; font-weight: 600; color: var(--text-3); padding: 8px 10px 4px; }
.pop .sep { height: 1px; background: var(--line); margin: 4px 0; }
.pop button.pi.danger { color: var(--bad); }

/* komut paleti */
.cmd { position: absolute; left: 50%; top: 80px; transform: translateX(-50%); width: 640px; background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-4); z-index: 61; overflow: hidden; animation: mi2 .18s var(--ease); }
@keyframes mi2 { from { opacity: 0; transform: translate(-50%, -6px); } }
.cmd-i { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cmd-i input { flex: 1; border: 0; font: 400 16px var(--f-ui); outline: none; color: var(--text); }
.cmd-l { max-height: 420px; overflow-y: auto; padding: 6px; }
.cmd-g { font-size: 11.5px; font-weight: 600; color: var(--text-3); padding: 10px 10px 4px; }
.cmd-r { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: var(--r); text-align: left; cursor: pointer; }
.cmd-r:hover, .cmd-r.on { background: var(--violet-50); }
.cmd-r .m { flex: 1; min-width: 0; } .cmd-r b { font-weight: 600; } .cmd-r .m > span { color: var(--text-3); font-size: 12px; }
.cmd-f { display: flex; gap: 14px; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); background: var(--surface-2); }
mark { background: #FFF0A8; color: inherit; border-radius: 2px; padding: 0 1px; }

/* ---------- üye başlığı ---------- */
.mh { display: flex; gap: 16px; align-items: center; padding: 18px 20px; }
.mh h1 { font: 500 24px/1.2 var(--f-display); letter-spacing: -.4px; margin: 0; }
.mh .meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.mh .meta span { display: inline-flex; align-items: center; gap: 5px; }
.mstat { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mstat > div { padding: 12px 20px; border-right: 1px solid var(--line); }
.mstat > div:last-child { border-right: 0; }
.mstat .k { font-size: 12px; color: var(--text-3); }
.mstat .v { font-size: 17px; font-weight: 600; margin-top: 2px; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 6px; }
.mstat .v small { font-size: 12px; color: var(--text-3); font-weight: 500; }
.ring { position: relative; display: inline-grid; place-items: center; }
.ring b { position: absolute; font-size: 13px; font-weight: 700; }

/* ---------- takvim ---------- */
.cal-tb { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-tb h2 { font: 500 18px var(--f-display); margin: 0 8px 0 4px; letter-spacing: -.2px; min-width: 230px; }
.cal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.cal-h { display: grid; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.cal-h > div { padding: 8px 10px; font-size: 12px; font-weight: 600; color: var(--text-2); border-left: 1px solid var(--line); display: flex; align-items: center; gap: 8px; min-width: 0; }
.cal-h > div:first-child { border-left: 0; }
.cal-h .today { color: var(--violet); }
.cal-h .dnum { font: 600 18px var(--f-ui); color: var(--text); }
.cal-h .today .dnum { color: #fff; background: var(--violet); border-radius: 8px; padding: 0 6px; }
.cal-body { position: relative; display: grid; overflow-y: auto; max-height: 640px; }
.cal-t { position: relative; border-right: 1px solid var(--line); }
.cal-t span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.cal-c { position: relative; border-left: 1px solid var(--line); }
.cal-c:first-of-type { border-left: 0; }
.cal-hl { position: absolute; left: 0; right: 0; border-top: 1px solid #EEF1F1; }
.cal-now { position: absolute; left: 0; right: 0; border-top: 2px solid var(--bad); z-index: 3; pointer-events: none; }
.cal-now::before { content: ''; position: absolute; left: -5px; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--bad); }
.ev { position: absolute; left: 3px; right: 3px; border-radius: 7px; padding: 5px 7px 5px 9px; font-size: 11.5px; line-height: 1.3; overflow: hidden; cursor: pointer; border: 1px solid transparent; text-align: left; z-index: 2; transition: box-shadow .12s, transform .12s; }
.ev::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.ev:hover { box-shadow: var(--sh-2); z-index: 4; }
.ev .t1 { font-weight: 700; display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.ev .t2 { color: inherit; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .cap { position: absolute; right: 6px; top: 5px; font-weight: 700; font-size: 11px; font-variant-numeric: tabular-nums; }
.ev .fl { display: flex; gap: 3px; margin-top: 3px; flex-wrap: wrap; }
.ev .tg { font-size: 10px; font-weight: 700; padding: 0 5px; border-radius: 4px; background: rgba(255, 255, 255, .7); height: 16px; display: inline-flex; align-items: center; gap: 3px; }
.ev.full .cap { color: #fff; background: var(--ink); border-radius: 4px; padding: 0 4px; }
.ev.past { opacity: .62; }
.ev.cx { background: repeating-linear-gradient(135deg, #F4F6F6, #F4F6F6 6px, #EBEFEF 6px, #EBEFEF 12px) !important; color: var(--text-3) !important; text-decoration: line-through; }
.ev.sel { box-shadow: 0 0 0 2px var(--violet); }
.ev.violet { background: var(--c-violet-bg); color: #4B1FA3; } .ev.violet::before { background: var(--c-violet); }
.ev.indigo { background: var(--c-indigo-bg); color: #24318A; } .ev.indigo::before { background: var(--c-indigo); }
.ev.rose { background: var(--c-rose-bg); color: #8A1557; } .ev.rose::before { background: var(--c-rose); }
.ev.teal { background: var(--c-teal-bg); color: #075E55; } .ev.teal::before { background: var(--c-teal); }
.ev.amber { background: var(--c-amber-bg); color: #7A4300; } .ev.amber::before { background: var(--c-amber); }
.ev.slate { background: #fff; color: #334155; border: 1px dashed #9AA8BA; } .ev.slate::before { background: transparent; }
.ev .eg { position: absolute; right: 5px; bottom: 5px; }
.ev.sm .t2 { display: none; }
.lg-i { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.lg-i i { width: 10px; height: 10px; border-radius: 3px; }
.mcal { display: grid; grid-template-columns: repeat(7, 1fr); }
.mcal > div { min-height: 108px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); padding: 6px 8px; font-size: 12px; }
.mcal > div:nth-child(7n+1) { border-left: 0; }
.mcal .dn { font-weight: 600; font-size: 12.5px; margin-bottom: 6px; display: flex; justify-content: space-between; }
.mcal .o { color: var(--text-4); background: var(--surface-2); }
.mcal .td .dn b { background: var(--violet); color: #fff; border-radius: 6px; padding: 0 6px; }
.mcal .bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--bg-2); margin: 4px 0 6px; }
.mcal .bar i { display: block; height: 100%; }
.mcal .ln { display: flex; justify-content: space-between; color: var(--text-3); font-size: 11.5px; }

/* ---------- grafik ---------- */
.ch svg { display: block; overflow: visible; }
.ch text { font: 400 11px var(--f-ui); fill: var(--text-3); }
.ch .vl { font-weight: 600; fill: var(--text); font-size: 11px; }
.ch .gl { stroke: #EEF1F1; } .ch .ax { stroke: var(--line-2); }
.lgd { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--text-2); }
.lgd span { display: inline-flex; align-items: center; gap: 6px; }
.lgd i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.lgd i.ln { height: 2px; border-radius: 1px; width: 14px; }
.hm { display: grid; gap: 3px; font-size: 11px; }
.hm .h { color: var(--text-3); text-align: center; font-weight: 600; }
.hm .rl { color: var(--text-3); font-weight: 600; display: flex; align-items: center; font-variant-numeric: tabular-nums; }
.hm .cl { height: 30px; border-radius: 5px; display: grid; place-items: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.hbar { display: grid; grid-template-columns: 150px 1fr 70px; gap: 8px 10px; align-items: center; font-size: 12.5px; }
.hbar .tr { height: 18px; background: var(--bg-2); border-radius: 4px; overflow: hidden; position: relative; }
.hbar .tr i { display: block; height: 100%; border-radius: 4px; }
.hbar .tr .lab { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 600; color: #fff; }

/* izin matrisi */
.pm td.c { width: 100px; }
.pm .grp td { background: var(--surface-2); font-weight: 600; color: var(--text); font-size: 12.5px; }

/* sohbet */
.chat { display: flex; flex-direction: column; gap: 8px; }
.bub { max-width: 72%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.45; }
.bub.in { background: var(--bg-2); border-bottom-left-radius: 4px; align-self: flex-start; }
.bub.out { background: var(--violet-50); border: 1px solid var(--violet-100); border-bottom-right-radius: 4px; align-self: flex-end; }
.bub .tm { display: block; font-size: 11px; color: var(--text-3); margin-top: 3px; }
.dayl { text-align: center; font-size: 11.5px; color: var(--text-3); margin: 6px 0; }

/* giriş */
.login { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.login .art { background: var(--ink); position: relative; overflow: hidden; padding: 48px 56px; display: flex; flex-direction: column; color: #fff; }
.login .art .blob { position: absolute; width: 620px; height: 620px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(180, 61, 242, .55), rgba(63, 168, 245, .25) 55%, transparent 70%); filter: blur(10px); }
.login .art h2 { font: 400 42px/1.12 var(--f-display); letter-spacing: -1.4px; margin: auto 0 18px; max-width: 460px; position: relative; }
.login .art p { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.6; max-width: 430px; position: relative; margin: 0 0 30px; }
.login .art .eb { font-size: 12px; letter-spacing: 3px; font-weight: 500; color: #C9AEFF; text-transform: uppercase; position: relative; }
.login .frm { display: flex; flex-direction: column; justify-content: center; padding: 0 96px; max-width: 560px; }
.login .frm h1 { font: 500 28px var(--f-display); letter-spacing: -.6px; margin: 0 0 6px; }
.cta-g { background: var(--grad); color: #fff !important; border: 0; border-radius: var(--r-pill); height: 44px; padding: 0 22px; font: 600 12px var(--f-ui); letter-spacing: 2px; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; }
.cta-g:hover { filter: brightness(1.05); box-shadow: 0 6px 20px rgba(140, 70, 255, .3); }

.lock { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 28px 20px; background: repeating-linear-gradient(135deg, #FAFBFB, #FAFBFB 10px, #F4F6F6 10px, #F4F6F6 20px); border-radius: var(--r-lg); border: 1px dashed var(--line-2); }
.lock .ico { width: 44px; height: 44px; margin-bottom: 10px; }
.lock b { font-size: 14px; color: var(--text); }
.lock p { margin: 4px 0 14px; color: var(--text-3); max-width: 380px; font-size: 13px; }

.slide-prev { border-radius: 12px; height: 120px; position: relative; overflow: hidden; color: #fff; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; }
.slide-prev.g1 { background: linear-gradient(120deg, #7B3FE4, #D45BDF); }
.slide-prev.g2 { background: linear-gradient(120deg, #021B1E, #2C5E63); }
.slide-prev.g3 { background: linear-gradient(120deg, #B4237A, #F08BC9); }
.slide-prev b { font: 500 16px/1.2 var(--f-display); }
.slide-prev span { font-size: 12px; opacity: .85; margin-top: 4px; }
.slide-prev .deco { position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
