/* IT Yönetim Sistemi — arayüz
   Yön: sistem odası / kabinet. Koyu "rack" kenar çubuğu, sakin gri çalışma alanı,
   kablo renkleriyle (mavi, turuncu, yeşil, kahve) kodlanmış durumlar. */

:root {
  --rack: #14233a;
  --rack-2: #1c2f4b;
  --rack-ink: #c9d3e3;
  --bg: #eef1f5;
  --card: #ffffff;
  --ink: #1b2433;
  --muted: #5d6b80;
  --line: #d9dfe8;
  --line-2: #e8ecf2;
  --accent: #1d5fd1;
  --accent-2: #e8f0fd;
  --ok: #1e8a4c;   --ok-bg: #e5f4ea;
  --warn: #b26b00; --warn-bg: #fdf1dc;
  --danger: #c8372d; --danger-bg: #fbe7e5;
  --info: #2a6fb0; --info-bg: #e4eefa;
  --mutedbg: #eef0f3;
  --radius: 10px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 14px/1.5 var(--font); color: var(--ink); background: var(--bg); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: 12.5px; background: var(--mutedbg); padding: 1px 5px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
h1 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 18px; font-weight: 650; }
h3 { font-size: 15px; font-weight: 650; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.block { display: block; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.strong { font-weight: 600; }
.inline { display: inline; }
.txt-danger { color: var(--danger); }
.ic { flex: none; vertical-align: -3px; }

/* ---------- Kabuk ---------- */
.app { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; background: linear-gradient(90deg, var(--rack) 248px, transparent 248px); }
.side { background: var(--rack); color: var(--rack-ink); display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background-image: repeating-linear-gradient(180deg, transparent 0 43px, rgba(255,255,255,.025) 43px 44px); }
.brand { display: flex; gap: 10px; align-items: center; padding: 18px 16px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
.brand strong { display: block; color: #fff; font-size: 14px; line-height: 1.2; }
.brand small { color: #8fa0bb; font-size: 12px; }
.logo { width: 34px; height: 34px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 13px;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.side nav { padding: 6px 10px 16px; flex: 1; }
.nav-group { font-size: 11.5px; color: #7083a1; margin: 16px 8px 4px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; color: var(--rack-ink); position: relative; }
.side nav a:hover { background: var(--rack-2); text-decoration: none; color: #fff; }
.side nav a.on { background: var(--rack-2); color: #fff; }
.side nav a.on::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: #ef8a2b; }
.side nav a span { flex: 1; }
.cnt { font-style: normal; background: var(--danger); color: #fff; font-size: 11px; font-weight: 600; border-radius: 10px; padding: 0 7px; line-height: 18px; }
.side-foot { padding: 10px 18px; font-size: 11px; color: #5f7290; }

.main { min-width: 0; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 14px; padding: 10px 24px; background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.gsearch { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--muted); }
.gsearch input { border: 0; background: transparent; padding: 8px 0; width: 100%; font: inherit; color: var(--ink); outline: none; }
.gsearch:focus-within { border-color: var(--accent); background: #fff; }
.me { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.me-txt strong { display: block; font-size: 13px; line-height: 1.2; }
.me-txt small { color: var(--muted); font-size: 12px; }
.me-txt a { color: inherit; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-2); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px 0; flex-wrap: wrap; }
.actions, .btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.content { padding: 18px 24px 40px; display: flex; flex-direction: column; gap: 16px; }
.only-mobile, .btn-icon.only-mobile { display: none; }

/* ---------- Butonlar ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 600; font-size: 13.5px; border-radius: 7px; padding: 7px 13px; border: 1px solid transparent; cursor: pointer; line-height: 1.3; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #174fb0; }
.btn-primary:disabled { opacity: .5; cursor: default; }
.btn-success { background: var(--ok); color: #fff; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #b9c3d1; background: #f7f9fb; }
.btn-danger-ghost { background: transparent; color: var(--danger); border-color: #efc2be; }
.btn-danger-ghost:hover { background: var(--danger-bg); }
.btn-link { background: none; color: var(--accent); }
.btn-xs { padding: 2px 7px; font-size: 12px; font-weight: 500; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.btn-icon:hover { background: var(--mutedbg); color: var(--ink); }
.btn-icon.ok:hover { background: var(--ok-bg); color: var(--ok); }
.btn-icon.danger:hover { background: var(--danger-bg); color: var(--danger); }

/* ---------- Kart / ızgara ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.card-title { display: flex; align-items: center; gap: 8px; font-weight: 650; font-size: 14.5px; margin-bottom: 12px; }
.card-title .more { margin-left: auto; font-weight: 500; font-size: 13px; }
.sub-title { font-weight: 600; font-size: 13px; margin: 14px 0 4px; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.grid-2-1 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.stack-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* ---------- KPI ---------- */
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.kpis-alert { grid-template-columns: repeat(4, 1fr); }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; color: var(--ink); }
.kpi:hover { text-decoration: none; border-color: #b9c3d1; }
.kpi-ic { grid-row: span 2; width: 38px; height: 38px; border-radius: 9px; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; }
.kpi-n { font-size: 24px; font-weight: 700; line-height: 1.1; }
.kpi-n.small { font-size: 18px; }
.kpi-l { color: var(--muted); font-size: 12.5px; }
.kpis-alert .kpi { grid-template-columns: 1fr; border-left: 4px solid var(--line); }
.kpi.warn { border-left-color: var(--warn); }
.kpi.warn .kpi-n { color: var(--warn); }
.kpi.danger { border-left-color: var(--danger); }
.kpi.danger .kpi-n { color: var(--danger); }

/* ---------- Rozet / tarih ---------- */
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 4px; background: var(--mutedbg); color: var(--muted); white-space: nowrap; }
.b-ok { background: var(--ok-bg); color: var(--ok); }
.b-warn { background: var(--warn-bg); color: var(--warn); }
.b-danger { background: var(--danger-bg); color: var(--danger); }
.b-info { background: var(--info-bg); color: var(--info); }
.b-muted { background: var(--mutedbg); color: #7a8597; }
.b-neutral { background: #eef1f6; color: #3c4a60; }
.date-tag { display: inline-flex; gap: 6px; align-items: baseline; padding: 1px 7px; border-radius: 4px; white-space: nowrap; }
.date-tag small { font-size: 11.5px; opacity: .85; }
.is-danger { background: var(--danger-bg); color: var(--danger); font-weight: 600; }
.is-warn { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.is-info { background: var(--info-bg); color: var(--info); }

/* ---------- Liste / tablo ---------- */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.toolbar select, .toolbar input { width: auto; }
.search-box { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 7px; padding: 0 9px; color: var(--muted); min-width: 240px; flex: 1; max-width: 340px; }
.search-box input { border: 0 !important; padding: 7px 0 !important; outline: none; width: 100%; box-shadow: none !important; }
.chip { display: inline-flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; font-size: 13px; cursor: pointer; background: #fff; }
.chip:has(input:checked) { border-color: var(--accent); background: var(--accent-2); color: var(--accent); }
.chip input { margin: 0; }
.grow-right { margin-left: auto; }
.table-wrap { overflow-x: auto; margin: 0 -18px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 8px 12px; border-bottom: 1px solid var(--line); background: #f7f9fb; white-space: nowrap; }
.table th:first-child, .table td:first-child { padding-left: 18px; }
.table th:last-child, .table td:last-child { padding-right: 18px; }
.table th a { color: inherit; }
.table td { padding: 9px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tbody tr:hover { background: #f8fafc; }
.table .empty { text-align: center; color: var(--muted); padding: 32px; }
.pager { display: flex; gap: 4px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 32px; text-align: center; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink); }
.pager a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Form ---------- */
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 7px 10px; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(29,95,209,.14); }
input[type=checkbox] { width: auto; accent-color: var(--accent); }
textarea { resize: vertical; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #34415a; }
label > span { display: block; }
label.check, label.tiny { flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.req { color: var(--danger); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid h3 { margin-top: 6px; }
.span2 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.input-group { display: flex; gap: 6px; }
.input-group input { flex: 1; }
.inline-field { flex-direction: row; align-items: center; gap: 6px; font-weight: 500; white-space: nowrap; }
.inline-field select { width: auto; padding: 4px 8px; }
.switch-toggle { position: relative; width: 40px; height: 22px; display: inline-block; }
.switch-toggle input[type=checkbox] { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch-toggle span { position: absolute; inset: 0; background: #cdd5e0; border-radius: 22px; transition: background .15s; }
.switch-toggle span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch-toggle input:checked + span { background: var(--ok); }
.switch-toggle input:checked + span::after { transform: translateX(18px); }

/* ---------- Detay ---------- */
.details { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; }
.details > div { padding: 9px 0; border-bottom: 1px solid var(--line-2); min-width: 0; }
.details dt { font-size: 12px; color: var(--muted); }
.details dd { margin: 2px 0 0; word-break: break-word; }
.meta { margin-top: 12px; font-size: 12px; }
.secret-box { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.secret-val { font-family: var(--mono); background: var(--mutedbg); padding: 2px 8px; border-radius: 4px; }
.secret-val.multiline { white-space: pre-wrap; display: block; width: 100%; }
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.mini-list li:last-child { border-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 5px 0 7px 6px; font-size: 13px; }
.timeline li::before { content: ""; position: absolute; left: -20px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: #fff; border: 2px solid #9aa8bd; }
.timeline small { display: block; }
.empty-state { text-align: center; color: var(--muted); padding: 22px 10px; }
.empty-state.big { padding: 50px 20px; max-width: 560px; margin: 0 auto; }
.empty-state.big h3 { color: var(--ink); margin: 10px 0 6px; font-size: 17px; }

/* ---------- İlerleme ---------- */
.progress { height: 8px; background: var(--mutedbg); border-radius: 8px; overflow: hidden; margin: 6px 0; }
.progress span { display: block; height: 100%; background: var(--ok); border-radius: 8px; }
.progress.sm { height: 6px; margin: 0; }
.winter-head { display: flex; gap: 18px; align-items: center; margin-bottom: 12px; }
.ring { --p: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--ok) calc(var(--p) * 1%), var(--mutedbg) 0); }
.ring span { width: 66px; height: 66px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.winter-stats div { padding: 2px 0; }
.cat-bars { display: grid; gap: 6px; }
.cat-bar { display: grid; grid-template-columns: 160px 1fr 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.cat-bar small { text-align: right; color: var(--muted); }
.season-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.season-card { color: var(--ink); }
.season-card:hover { text-decoration: none; border-color: #b9c3d1; }
.season-card.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.season-card.new { background: #f7f9fc; border-style: dashed; }
.season-name { font-weight: 650; display: flex; gap: 6px; align-items: center; margin-bottom: 4px; }
.hbars { display: grid; gap: 7px; }
.hbar { display: grid; grid-template-columns: 130px 1fr 30px; gap: 10px; align-items: center; color: var(--ink); font-size: 13px; }
.hbar:hover { text-decoration: none; color: var(--accent); }
.hbar-t { height: 10px; background: var(--mutedbg); border-radius: 3px; overflow: hidden; }
.hbar-t span { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.hbar b { text-align: right; }

/* ---------- Uyarı mesajı ---------- */
.flash { padding: 10px 14px; border-radius: 8px; border: 1px solid; font-weight: 500; }
.flash-ok { background: var(--ok-bg); border-color: #b9e0c7; color: #145c33; }
.flash-err { background: var(--danger-bg); border-color: #f0c3bf; color: #8f241d; }
.flash pre { white-space: pre-wrap; font-size: 12px; }

/* ---------- Giriş ---------- */
body.auth { min-height: 100vh; display: grid; place-items: center; padding: 20px;
  background: var(--rack) repeating-linear-gradient(180deg, transparent 0 43px, rgba(255,255,255,.03) 43px 44px); }
.auth-card { background: #fff; border-radius: 14px; padding: 28px; width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.auth-card.wide { max-width: 620px; }
.brand.big { border: 0; padding: 0 0 4px; }
.brand.big strong { color: var(--ink); font-size: 16px; }
.brand.big small { color: var(--muted); }

/* ---------- Diyalog ---------- */
.dlg { border: 0; border-radius: 12px; padding: 22px; width: min(560px, 94vw); box-shadow: 0 24px 60px rgba(10,20,40,.3); }
.dlg::backdrop { background: rgba(14, 24, 40, .45); }
.dlg form + form { margin-top: 14px; }

/* ---------- Switch port haritası ---------- */
.sw-meta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; color: var(--muted); }
.sw-meta b { color: var(--ink); }
.sw-face { background: linear-gradient(#2a3446, #1f2736); border-radius: 8px; padding: 16px 18px; overflow-x: auto; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.sw-ports { display: grid; grid-template-columns: repeat(var(--cols), 38px); grid-template-rows: 38px 38px; gap: 6px 6px; }
.sw-port { width: 38px; height: 38px; border-radius: 4px; border: 0; cursor: pointer; position: relative; padding: 0; font: 600 11px var(--font);
  background: #0e131c; box-shadow: inset 0 0 0 2px #4a5568; color: #9aa6b8; }
.sw-port::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 5px; height: 6px; border-radius: 1px; background: #2d3647; }
.sw-port .pn { position: absolute; top: 4px; left: 0; right: 0; text-align: center; }
.sw-port:hover:not(:disabled) { box-shadow: inset 0 0 0 2px #fff; }
.sw-port:target { box-shadow: 0 0 0 3px #ef8a2b; }
.sw-port.p-on { box-shadow: inset 0 0 0 2px #2ea86a; color: #c8f2d8; }
.sw-port.p-on::after { background: #2ea86a; }
.sw-port.p-up { box-shadow: inset 0 0 0 2px #ef8a2b; color: #ffd9b3; }
.sw-port.p-up::after { background: #ef8a2b; }
.sw-port.p-res { box-shadow: inset 0 0 0 2px #4d8ef0; color: #cfe0ff; }
.sw-port.p-res::after { background: #4d8ef0; }
.sw-port.p-bad { box-shadow: inset 0 0 0 2px #e0483d; color: #ffd0cc; }
.sw-port.p-bad::after { background: #e0483d; }
.sw-port.p-off { box-shadow: inset 0 0 0 2px #6b7280; color: #6b7280; }
.sw-port.p-off::after { background: repeating-linear-gradient(45deg, #6b7280 0 2px, transparent 2px 4px); }
.sw-port.mini { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; cursor: default; }
.sw-port.mini::after { left: 3px; right: 3px; bottom: 3px; height: 3px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; align-items: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }
.ln { display: inline-block; width: 28px; height: 0; border-top: 2px solid #64748b; }
.ln-fiber { border-top: 3px solid #ef8a2b; }
.ln-wireless { border-top: 2px dashed #0891b2; }
.ln-vpn { border-top: 2px dotted #7c3aed; }

/* ---------- Kroki / topoloji ---------- */
.fp-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.fp-floors { position: sticky; top: 70px; }
.fp-floors a { display: block; padding: 6px 10px; border-radius: 6px; color: var(--ink); }
.fp-floors a:hover { background: var(--mutedbg); text-decoration: none; }
.fp-floors a.on { background: var(--accent-2); color: var(--accent); font-weight: 600; }
.fp-bld { font-size: 12px; color: var(--muted); margin: 10px 10px 2px; }
.fp-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 12px; }
.fp-toolbar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 8px 10px; background: #f6f8fb; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.seg button { font: inherit; font-size: 13px; border: 0; background: transparent; padding: 5px 10px; cursor: pointer; border-right: 1px solid var(--line); color: var(--ink); }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--rack); color: #fff; }
.sep { width: 1px; align-self: stretch; background: var(--line); }
.palette { display: flex; gap: 4px; flex-wrap: wrap; }
.palette button { font: inherit; font-size: 12px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 3px 8px; cursor: pointer; display: inline-flex; gap: 5px; align-items: center; }
.palette button i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.palette button:hover { border-color: #9aa8bd; }
.fp-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.fp-filter label { flex-direction: row; align-items: center; gap: 5px; font-weight: 500; font-size: 12.5px; border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px 3px 6px; cursor: pointer; }
.fp-filter i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fp-wrap { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.fp-stage { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.fp-stage svg { display: block; width: 100%; height: auto; user-select: none; -webkit-user-select: none; touch-action: none; }
.fp-stage.editing svg { cursor: crosshair; }
.fp-stage.tool-select svg { cursor: default; }
.fp-props { width: 260px; flex: none; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fbfcfe; display: flex; flex-direction: column; gap: 10px; }
.fp-props h4 { margin: 0; font-size: 14px; }
.fp-pop { position: absolute; z-index: 5; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(20,35,58,.18); padding: 10px 12px; font-size: 13px; min-width: 180px; max-width: 280px; }
.topo-stage { flex: 1; min-width: 0; height: 640px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background-color: #fbfcfe;
  background-image: radial-gradient(#d7dee8 1px, transparent 1px); background-size: 20px 20px; position: relative; }
.topo-stage svg { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-select: none; touch-action: none; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tabs a { padding: 8px 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.on { color: var(--accent); border-bottom-color: var(--accent); }

.toast { position: fixed; bottom: 20px; right: 20px; background: var(--rack); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-weight: 500; }
.toast.err { background: var(--danger); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
  .kpis-alert { grid-template-columns: repeat(2, 1fr); }
  .fp-layout { grid-template-columns: 1fr; }
  .fp-floors { position: static; }
  .fp-wrap { flex-direction: column; }
  .fp-props { width: 100%; }
}
@media (max-width: 820px) {
  .app { grid-template-columns: 1fr; background: none; }
  .side { position: fixed; left: 0; top: 0; z-index: 50; width: 260px; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .only-mobile, .btn-icon.only-mobile { display: inline-grid; }
  .me-txt { display: none; }
  .top, .page-head, .content { padding-left: 14px; padding-right: 14px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .form-grid, .details { grid-template-columns: 1fr; }
  .table-wrap { margin: 0; }
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .table td { display: flex; justify-content: space-between; gap: 10px; border: 0; padding: 4px 4px !important; text-align: right; }
  .table td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; }
  .table td.right { justify-content: flex-end; }
  .table td.right::before { content: none; }
  .cat-bar { grid-template-columns: 110px 1fr 36px; }
  .search-box { max-width: none; }
  .topo-stage { height: 480px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Yazdırma ---------- */
@media print {
  .side, .top, .actions, .toolbar, .pager, .btn, .btn-icon, .fp-toolbar, .fp-floors, .fp-props, .fp-filter, form.inline { display: none !important; }
  .app { display: block; }
  body { background: #fff; }
  .card { border: 0; padding: 0; }
  .content { padding: 0; }
  .fp-layout { display: block; }
}

/* ======================= v2: şirket / şube ======================= */
.support-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #fff4e5; color: #7a4500; border-bottom: 1px solid #f3d3a6; padding: 7px 24px; font-size: 13px; }
.support-bar form { margin-left: auto; }
.branch-switch { display: flex; align-items: center; gap: 6px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); height: 38px; }
.branch-switch select { border: 0; padding: 6px 4px; font-weight: 600; color: var(--ink); background: transparent; max-width: 220px; box-shadow: none !important; }
.branch-switch.static { padding-right: 12px; font-weight: 600; color: var(--ink); }
.gsearch-spacer { flex: 1; }
.branch-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--accent); background: var(--accent-2); padding: 2px 9px; border-radius: 4px; }
.branch-chip.all { color: #5b4a00; background: #fbf3d0; }
.branch-field select { max-width: 420px; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.branch-tile button { width: 100%; text-align: left; font: inherit; background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; display: grid; gap: 2px; color: var(--ink); }
.branch-tile button:hover { border-color: var(--accent); background: #fff; }
.bt-name { font-weight: 650; }
.bt-meta { font-size: 12px; }
.bt-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; }
.row-muted td { opacity: .6; }
.branch-pick { border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px 10px; margin: 0; }
.branch-pick legend { font-size: 13px; font-weight: 600; color: #34415a; padding: 0 4px; }
.branch-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; margin-top: 6px; }
.details.one { grid-template-columns: 1fr; }
.danger-zone summary { cursor: pointer; color: var(--danger); font-weight: 600; display: flex; gap: 6px; align-items: center; }
.danger-zone[open] summary { margin-bottom: 10px; }
.kpi-n small { font-size: 14px; color: var(--muted); font-weight: 600; }
.onboard { border-color: #b9d1f7; background: #f5f9ff; }
.onboard-steps { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.onboard-steps li small { display: block; color: var(--muted); }
.onboard-steps li.done a { text-decoration: line-through; color: var(--muted); }
.onboard-steps li.done::marker { color: var(--ok); }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-lg { padding: 11px 20px; font-size: 15px; }
a.brand.big { color: inherit; text-decoration: none; }
.tabs small.muted { font-weight: 500; }

/* ======================= Açılış sayfası ======================= */
body.landing { background: #fff; }
.lp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px clamp(16px, 5vw, 64px); border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.lp-brand:hover { text-decoration: none; }
.lp-nav nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lp-nav nav > a:not(.btn) { color: var(--muted); font-weight: 500; }
.lp-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(40px, 7vw, 96px) clamp(16px, 5vw, 64px); background: linear-gradient(180deg, #f3f6fa, #fff); }
.lp-hero h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.025em; font-weight: 700; max-width: 14ch; }
.lp-lead { font-size: clamp(16px, 1.5vw, 19px); color: #3c4a60; max-width: 52ch; margin: 18px 0 26px; line-height: 1.55; }
.lp-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-note { color: var(--muted); font-size: 13px; margin-top: 18px; }
.lp-rack { background: var(--rack); border-radius: 12px; padding: 16px; color: var(--rack-ink); box-shadow: 0 30px 60px -20px rgba(20,35,58,.45); }
.lp-rack-head { display: flex; justify-content: space-between; font-size: 12.5px; color: #8fa0bb; padding: 0 4px 10px; }
.lp-unit { display: grid; grid-template-columns: 128px 1fr; gap: 12px; align-items: center; background: linear-gradient(#2a3446, #1f2736); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.07); }
.lp-unit-lbl b { display: block; color: #fff; font-size: 13px; font-weight: 600; }
.lp-unit-lbl small { color: #8fa0bb; font-size: 11.5px; }
.lp-ports { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; }
.lp-ports .sw-port.mini { width: 100%; height: 16px; }
.lp-rack-foot { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11.5px; color: #8fa0bb; padding: 6px 4px 0; }
.lp-rack-foot span { display: inline-flex; align-items: center; gap: 5px; }
.lp-section { padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 64px); max-width: 1240px; margin: 0 auto; }
.lp-section h2 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.015em; margin-bottom: 26px; max-width: 24ch; }
.lp-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 28px; }
.lp-features > div { border-top: 2px solid var(--line); padding-top: 14px; }
.lp-features > div .ic { color: var(--accent); }
.lp-features h3 { font-size: 15.5px; margin: 10px 0 6px; }
.lp-features p { margin: 0; color: #4a586e; line-height: 1.55; }
.lp-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.lp-split p { color: #3c4a60; font-size: 16px; line-height: 1.6; max-width: 56ch; }
.lp-checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.lp-checks li { display: flex; gap: 8px; align-items: flex-start; }
.lp-checks .ic { color: var(--ok); margin-top: 3px; }
.lp-tree { position: relative; }
.lp-node { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; font-weight: 600; }
.lp-node small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.lp-root { background: var(--rack); color: #fff; border-color: var(--rack); }
.lp-children { margin: 0 0 0 26px; padding: 12px 0 0 22px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.lp-children .lp-node { position: relative; }
.lp-children .lp-node::before { content: ""; position: absolute; left: -23px; top: 50%; width: 22px; border-top: 2px solid var(--line); }
.lp-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-steps li { counter-increment: s; position: relative; padding-top: 46px; color: #3c4a60; line-height: 1.55; }
.lp-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-2); color: var(--accent); font-weight: 700; display: grid; place-items: center; }
.lp-steps b { display: block; color: var(--ink); margin-bottom: 4px; }
.lp-sec { background: #f6f8fb; max-width: none; }
.lp-sec > * { max-width: 1112px; margin-left: auto; margin-right: auto; }
.lp-sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.lp-sec-grid p { margin: 0; color: #3c4a60; line-height: 1.55; }
.lp-sec-grid .ic { color: var(--accent); }
.lp-final { text-align: center; padding: clamp(48px, 7vw, 88px) 16px; }
.lp-final h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 20px; }
.lp-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 22px clamp(16px, 5vw, 64px); border-top: 1px solid var(--line-2); color: var(--muted); font-size: 13px; }
body.doc { background: #fff; }
.doc-page { max-width: 760px; margin: 0 auto; padding: 40px 20px 60px; line-height: 1.65; }
.doc-page h1 { margin: 28px 0 16px; font-size: 26px; }
.doc-page h2 { font-size: 17px; margin: 24px 0 6px; }

@media (max-width: 1024px) {
  .lp-hero, .lp-split { grid-template-columns: 1fr; }
  .lp-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .branch-switch select { max-width: 130px; }
  .gsearch { display: none; }
  .support-bar { padding: 7px 14px; }
  .lp-nav nav > a:not(.btn) { display: none; }
  .lp-features, .lp-steps, .lp-sec-grid { grid-template-columns: 1fr; }
  .lp-unit { grid-template-columns: 1fr; }
  .branch-list { grid-template-columns: 1fr; }
}

/* ======================= v3 ======================= */
.txt-ok { color: var(--ok); }
.btn-warn { background: #ef8a2b; color: #fff; }
.btn-warn:hover { background: #d9761c; }
.btn-icon.warn:hover { background: var(--warn-bg); color: var(--warn); }
.chip.danger:has(input:checked) { border-color: var(--danger); background: var(--danger-bg); color: var(--danger); }
.details.compact > div { padding: 6px 0; }
.w-num { width: 70px !important; }
code.block-code { display: block; padding: 8px 10px; white-space: pre-wrap; word-break: break-all; margin: 6px 0; }
.slug-input { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.slug-input > span { background: var(--mutedbg); color: var(--muted); padding: 7px 4px 7px 10px; font-weight: 500; white-space: nowrap; }
.slug-input input { border: 0; border-radius: 0; padding-left: 2px; }
.slug-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29,95,209,.14); }
.slug-input input:focus { box-shadow: none; }

/* bildirim zili */
.bell { position: relative; }
.bell em { position: absolute; top: -3px; right: -4px; font-style: normal; background: var(--danger); color: #fff; font-size: 10.5px; font-weight: 700; min-width: 17px; height: 17px; line-height: 17px; padding: 0 4px; border-radius: 9px; text-align: center; border: 2px solid #fff; }
.push-nudge { display: block; background: #eef4ff; color: #1b3f86; border-bottom: 1px solid #cfe0ff; padding: 7px 24px; font-size: 13px; }
.push-nudge[hidden] { display: none; }
.notif-list { list-style: none; margin: 0; padding: 0; }
.notif-list li a { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: start; padding: 10px 6px; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.notif-list li a:hover { background: #f8fafc; text-decoration: none; }
.notif-list li.unread a { background: #f5f9ff; }
.notif-list li.unread .n-body b::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; vertical-align: 2px; }
.n-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--mutedbg); color: var(--muted); }
.k-fault .n-ic { background: var(--accent-2); color: var(--accent); }
.k-escalation .n-ic { background: var(--danger-bg); color: var(--danger); }
.k-expiry .n-ic { background: var(--warn-bg); color: var(--warn); }
.k-status .n-ic { background: var(--ok-bg); color: var(--ok); }
.n-body small { display: block; color: var(--muted); }
.notif-list time { font-size: 12px; white-space: nowrap; }
.push-state { font-weight: 600; }

/* SLA kartı */
.sla-card.danger { border-color: #efb1ab; box-shadow: inset 4px 0 0 var(--danger); }
.sla-card.warn { box-shadow: inset 4px 0 0 var(--warn); }
.sla-state { display: inline-block; padding: 4px 10px; border-radius: 6px; font-weight: 700; margin-bottom: 6px; }

/* arıza formu (portal + QR) */
.portal-card { max-width: 860px; }
.fault-form { display: flex; flex-direction: column; gap: 16px; }
.ff-step { border: 0; padding: 0; margin: 0; }
.ff-step legend { font-weight: 700; font-size: 15px; margin-bottom: 10px; padding: 0; }
.ff-group { margin-bottom: 10px; }
.ff-gname { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.ff-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ff-chip { font: inherit; font-size: 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 14px; cursor: pointer; color: var(--ink); text-align: left; min-height: 44px; }
.ff-chip:hover { border-color: #9cb8ea; background: #f7faff; }
.ff-chip.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.ff-custom { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-top: 8px; }
.ff-custom[hidden] { display: none; }
.ff-me { margin: 0; }
.ff-hint { margin: -6px 0 0; text-align: center; }
.ff-hint[hidden] { display: none; }

/* herkese açık sayfalar (QR formu, takip) */
body.public-form { background: var(--bg); }
.pf-wrap { max-width: 720px; margin: 0 auto; padding: 18px 14px 40px; display: flex; flex-direction: column; gap: 14px; }
.pf-head { display: flex; align-items: center; gap: 12px; background: var(--rack); color: #fff; border-radius: 12px; padding: 14px 16px; }
.pf-head b { display: block; font-size: 16px; }
.pf-head small { color: #a9b8d0; }
.pf-foot { text-align: center; color: var(--muted); font-size: 13px; }
.track { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 0 16px 30px; }
.track li::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c6cfdb; background: #fff; }
.track li::after { content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; border-left: 2px solid #e1e6ee; }
.track li:last-child::after { display: none; }
.track li.done::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px #fff; }
.track li b { display: block; }
.track-no { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.track-title { margin: 6px 0 2px; }
.mini-list.big li { padding: 12px 0; }

/* raporlar */
.report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.report-card { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.rc-main { display: flex; gap: 12px; color: var(--ink); }
.rc-main:hover { text-decoration: none; }
.rc-main:hover b { color: var(--accent); }
.rc-main b { display: block; font-size: 15px; }
.rc-main small { color: var(--muted); line-height: 1.45; }
.rc-ic { width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--accent-2); color: var(--accent); display: grid; place-items: center; }
.rc-actions { display: flex; gap: 6px; flex-wrap: wrap; border-top: 1px solid var(--line-2); padding-top: 10px; }
.report-sections { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 16px; align-items: start; }
.report-sections .card.wide { grid-column: 1 / -1; }
.rep-table td { position: relative; }
.cell-bar { display: inline-block; width: 60px; height: 7px; background: var(--mutedbg); border-radius: 4px; margin-right: 8px; vertical-align: 1px; overflow: hidden; }
.cell-bar span { display: block; height: 100%; background: var(--accent); }
.seg a.seg-a { font-size: 13px; padding: 5px 10px; border-right: 1px solid var(--line); color: var(--ink); }
.seg a.seg-a:last-child { border-right: 0; }
.seg a.seg-a.on { background: var(--rack); color: #fff; }
.seg a.seg-a:hover { text-decoration: none; background: var(--mutedbg); }
.seg a.seg-a.on:hover { background: var(--rack); }

/* QR afişleri */
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 10px 0; }
.qr-pick { display: grid; gap: 10px; margin-top: 10px; max-width: 640px; }
.qr-pick details summary { cursor: pointer; font-weight: 600; }
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.qr-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; align-items: center; break-inside: avoid; page-break-inside: avoid; }
.qr-top { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.qr-top .logo { width: 24px; height: 24px; font-size: 10px; border-radius: 6px; }
.qr-card h3 { font-size: 22px; margin-top: 4px; }
.qr-card p { margin: 0; color: var(--muted); font-size: 12.5px; }
.qr-svg { width: 190px; height: 190px; margin: 6px 0; }
.qr-svg svg { width: 100%; height: 100%; }
.qr-place b { display: block; font-size: 15px; }
.qr-place small { color: var(--muted); }
.qr-url { font-size: 10.5px; color: var(--muted); word-break: break-all; }

/* tanımlar */
.lk-add { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.lk-add input { flex: 1; min-width: 180px; }
.lk-add select { width: auto; }
.lk-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lk-parent { flex-basis: 100%; font-size: 12px; color: var(--muted); margin-top: 6px; }
.lk-item { display: inline-flex; align-items: center; gap: 4px; background: var(--mutedbg); border-radius: 6px; padding: 3px 4px 3px 9px; font-size: 13px; }
.lk-item a, .lk-item button { display: inline-grid; place-items: center; width: 20px; height: 20px; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 4px; padding: 0; }
.lk-item a:hover, .lk-item button:hover { background: #fff; color: var(--ink); }
.lk-edit { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; flex-basis: 100%; background: #f5f9ff; border: 1px solid #cfe0ff; border-radius: 8px; padding: 8px; }
.lk-edit input[name=name] { flex: 1; min-width: 160px; }
.lk-edit select { width: auto; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.cat-head { display: flex; gap: 6px; }
.cat-head input[name=name] { font-weight: 700; }
.cat-head select { width: auto; }
.cat-card.new { border-style: dashed; background: #f7f9fc; }
.tpl-list { margin-top: 12px; display: grid; gap: 6px; }
.tpl-row { display: grid; grid-template-columns: 1fr 96px 30px 30px; gap: 6px; align-items: center; }
.tpl-row.add { grid-template-columns: 1fr 96px 30px; }
.tpl-row input, .tpl-row select { padding: 5px 8px; font-size: 13px; }
.feature-row { flex-direction: row; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.feature-row small { display: block; font-weight: 400; }
.sla-table input { width: 110px; }
.sla-table td, .sla-table th { padding-left: 0 !important; }

/* ======================= Giriş ekranı ======================= */
body.login-page { background: #f4f6fa; }
.lg { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lg-brand { position: relative; overflow: hidden; color: #dfe7f5; padding: 44px clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  background: radial-gradient(1200px 600px at -10% 120%, #1d5fd1 0%, transparent 55%), linear-gradient(160deg, #0f1c31 0%, #14233a 45%, #17305a 100%); }
.lg-brand::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(180deg, transparent 0 43px, rgba(255,255,255,.035) 43px 44px); }
.lg-logo { position: relative; display: flex; align-items: center; gap: 12px; color: #fff; }
.lg-logo:hover { text-decoration: none; }
.lg-logo .logo { width: 40px; height: 40px; font-size: 14px; border-radius: 10px; }
.lg-logo b { display: block; font-size: 17px; }
.lg-logo small { color: #9fb1cf; }
.lg-copy { position: relative; max-width: 520px; }
.lg-kicker { color: #8fb3f5; font-weight: 600; margin: 0 0 8px; letter-spacing: .01em; }
.lg-copy h1 { font-size: clamp(32px, 3.6vw, 46px); color: #fff; letter-spacing: -.02em; line-height: 1.08; }
.lg-copy > p { color: #b9c7de; font-size: 16.5px; line-height: 1.6; margin: 16px 0 26px; }
.lg-feats { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lg-feats li { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #e6edf9; }
.lg-feats .ic { color: #7fb0ff; width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: rgba(127,176,255,.12); box-sizing: border-box; }
.lg-ports { position: relative; display: grid; grid-template-columns: repeat(12, 22px); gap: 6px; padding: 12px; width: max-content; border-radius: 8px;
  background: linear-gradient(#22304a, #1a2539); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px -18px rgba(0,0,0,.6); }
.lg-ports i { width: 22px; height: 18px; border-radius: 3px; background: #0d1320; box-shadow: inset 0 0 0 1.5px #3e4c66; position: relative; }
.lg-ports i::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 3px; height: 3px; border-radius: 1px; background: #2a3448; }
.lg-ports i.on { box-shadow: inset 0 0 0 1.5px #2ea86a; }
.lg-ports i.on::after { background: #2ea86a; animation: lg-blink 2.4s infinite; }
.lg-ports i.up { box-shadow: inset 0 0 0 1.5px #ef8a2b; }
.lg-ports i.up::after { background: #ef8a2b; }
.lg-ports i.on:nth-child(3n)::after { animation-delay: .7s; }
.lg-ports i.on:nth-child(4n)::after { animation-delay: 1.3s; }
@keyframes lg-blink { 0%, 86%, 100% { opacity: 1; } 90% { opacity: .25; } 94% { opacity: 1; } 96% { opacity: .35; } }
.lg-foot { position: relative; margin: 0; font-size: 12.5px; color: #8093b3; }
.lg-form { display: grid; place-items: center; padding: 32px 20px; }
.lg-card { width: 100%; max-width: 420px; background: #fff; border-radius: 16px; padding: 34px 32px 26px; border: 1px solid #e3e8f0; box-shadow: 0 24px 60px -30px rgba(20,35,58,.35); display: flex; flex-direction: column; gap: 14px; }
.lg-card h2 { font-size: 26px; letter-spacing: -.01em; }
.lg-card > p.muted { margin: -8px 0 6px; }
.lg-card .stack { gap: 16px; }
.lg-card input { padding: 11px 12px; font-size: 15px; border-radius: 9px; }
.lg-card .btn-lg { padding: 12px; border-radius: 9px; margin-top: 4px; background: #1a4db4; }
.lg-card .btn-lg:hover { background: #163f94; }
.pw-field { position: relative; display: block; }
.pw-field input { padding-right: 44px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); width: 34px; height: 34px; border-radius: 7px; cursor: pointer; display: grid; place-items: center; }
.pw-eye:hover, .pw-eye.on { color: var(--accent); background: var(--accent-2); }
.lg-forgot { text-align: center; font-weight: 600; }
.lg-alt { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--ink); background: #f8fafc; }
.lg-alt:hover { text-decoration: none; border-color: #9cb8ea; background: #f5f9ff; }
.lg-alt .ic { color: #ef8a2b; }
.lg-alt b { display: block; font-size: 14px; }
.lg-alt small { color: var(--muted); }
.lg-note { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--line-2); text-align: center; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
  .lg { grid-template-columns: 1fr; }
  .lg-brand { padding: 22px 20px 26px; gap: 18px; }
  .lg-copy h1 { font-size: 28px; }
  .lg-copy > p { font-size: 15px; margin: 10px 0 16px; }
  .lg-feats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lg-feats li { font-size: 13px; }
  .lg-feats .ic { width: 28px; height: 28px; padding: 6px; }
  .lg-ports, .lg-foot { display: none; }
  .lg-form { padding: 20px 14px 40px; place-items: start center; }
  .lg-card { padding: 26px 20px 20px; }
  .ff-custom { grid-template-columns: 1fr; }
  .report-sections { grid-template-columns: 1fr; }
  .push-nudge { padding: 7px 14px; }
}
@media (prefers-reduced-motion: reduce) { .lg-ports i.on::after { animation: none; } }

@media print {
  .no-print, .push-nudge, .support-bar, .page-head { display: none !important; }
  .qr-grid { grid-template-columns: repeat(2, 1fr); gap: 10mm; }
  .qr-card { border: 1px solid #999; }
}
.kpis-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1024px) { .kpis-5 { grid-template-columns: repeat(2, 1fr); } }
.mine-card { border-color: #f3d3a6; box-shadow: inset 4px 0 0 #ef8a2b; }
@media (max-width: 600px) {
  .ff-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .ff-chip { font-size: 13px; padding: 9px 10px; min-height: 48px; line-height: 1.25; }
  .ff-group { margin-bottom: 8px; }
}
label > span small { font-weight: 500; }
