/* Prototip stilleri: dosyalar ve kurallar prototiptekiyle aynı, aynı sırada (reference/prototype/build.py birleştirme sırası). *//* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKjhFyRHQ-CXgNM06D.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKthFw-CoA7y8X5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKjhFyRHQ-CXgNM06D.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKthFw-CoA7y8X5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKjhFyRHQ-CXgNM06D.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/tss4AoFBci4C4gvhPXrt3wjT1MqSzhA4t7IIcncBiwKthFw-CoA7y8X5.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiHn3qmpQ-C6vrW8VD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiJn3o-BcXVPD7q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiHn3qmpQ-C6vrW8VD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiJn3o-BcXVPD7q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiHn3qmpQ-C6vrW8VD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiJn3o-BcXVPD7q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiHn3qmpQ-C6vrW8VD.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/NaPNcYPdHfdVxJw0IfIP0lvYFqijb-UxCtm5_wdGseiJn3o-BcXVPD7q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfp66_CGslu50-b1FQiZcx.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfp66_CWslu50-BkQ9hN72.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfp66_B2sl-BkLiAYu4.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfw6-_CGslu50-Dm7RZTvf.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfw6-_CWslu50-BhgEo64M.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/wlpigxjLBV1hqnzfr-F8sEYMB0Yybp0mudRfw6-_B2sl-BpqDG8I9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #f4f5f7; --surface: #ffffff; --sunken: #f7f8fa; --hover: #f0f2f5; --line: #e3e6eb; --line-2: #d0d5dc;
  --ink: #14171c; --ink-2: #474d57; --ink-3: #626873;
  --brand: #2b4cac; --brand-ink: #213f99; --brand-soft: #edf1fb; --on-brand: #ffffff; --focus: #1e3885;
  --critical: #c71330; --on-critical: #ffffff; --critical-soft: #fdeeee; --critical-ink: #b3112b;
  --high: #cf5c00; --on-high: #080a0e; --high-soft: #fdf1e7; --high-ink: #9e4600;
  --medium: #f1ad00; --on-medium: #211400; --medium-soft: #fdf6e0; --medium-ink: #7a5500;
  --low: #0074a4; --on-low: #ffffff; --low-soft: #e8f3f9;
  --ok: #007f65; --on-ok: #ffffff; --ok-ink: #006550; --ok-soft: #e6f4f0;
  --maint: #a14486; --on-maint: #ffffff; --maint-soft: #f7ecf4; --offline: #52555a; --affected: #8a8e95;
  --m-water: #c7d4e2; --m-land: #eff0ee; --m-park: #e1e8dc; --m-r0: #ffffff; --m-r0c: #c9cfd7; --m-r1: #ffffff; --m-r2: #fbfbfb; --m-r3: #ffffff; --m-label: #5d636c; --m-halo: #eff0ee;
  --fiber: #2b4cac; --link: #7d838c;
  --shadow: 0 1px 2px rgba(16,24,40,.06), 0 3px 10px rgba(16,24,40,.08);
  --shadow-lg: 0 12px 32px rgba(16,24,40,.18), 0 0 0 1px rgba(16,24,40,.06);
  --sans: "Atkinson Hyperlegible Next", "Segoe UI", "Noto Sans", sans-serif;
  --mono: "Atkinson Hyperlegible Mono", "DejaVu Sans Mono", monospace;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0f1115; --surface: #16181d; --sunken: #121418; --hover: #1e2128; --line: #262930; --line-2: #343841;
  --ink: #eef0f4; --ink-2: #b6bbc4; --ink-3: #969ca7;
  --brand: #9bb9ff; --brand-ink: #b8ccff; --brand-soft: #1b2442; --on-brand: #07133a; --focus: #c1d4ff;
  --critical: #f56c6d; --on-critical: #340005; --critical-soft: #2c1215; --critical-ink: #ff9a97;
  --high: #f0782e; --on-high: #2b0d00; --high-soft: #2b1a0e; --high-ink: #ffab76;
  --medium: #f1ad00; --on-medium: #211400; --medium-soft: #2a2310; --medium-ink: #f5c64a;
  --low: #4fa9db; --on-low: #001a29; --low-soft: #0f2330;
  --ok: #4eb497; --on-ok: #001d15; --ok-ink: #7bceb4; --ok-soft: #0f251f;
  --maint: #d07fb6; --on-maint: #2f0024; --maint-soft: #2a1525; --offline: #9b9ea4; --affected: #7d828a;
  --m-water: #0b1119; --m-land: #1a1d22; --m-park: #1b221d; --m-r0: #3a404a; --m-r0c: #1a1d22; --m-r1: #31363f; --m-r2: #2a2e36; --m-r3: #24282f; --m-label: #9097a2; --m-halo: #1a1d22;
  --fiber: #8fa9f5; --link: #8a909a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 3px 10px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #0f1115; --surface: #16181d; --sunken: #121418; --hover: #1e2128; --line: #262930; --line-2: #343841;
  --ink: #eef0f4; --ink-2: #b6bbc4; --ink-3: #969ca7;
  --brand: #9bb9ff; --brand-ink: #b8ccff; --brand-soft: #1b2442; --on-brand: #07133a; --focus: #c1d4ff;
  --critical: #f56c6d; --on-critical: #340005; --critical-soft: #2c1215; --critical-ink: #ff9a97;
  --high: #f0782e; --on-high: #2b0d00; --high-soft: #2b1a0e; --high-ink: #ffab76;
  --medium: #f1ad00; --on-medium: #211400; --medium-soft: #2a2310; --medium-ink: #f5c64a;
  --low: #4fa9db; --on-low: #001a29; --low-soft: #0f2330;
  --ok: #4eb497; --on-ok: #001d15; --ok-ink: #7bceb4; --ok-soft: #0f251f;
  --maint: #d07fb6; --on-maint: #2f0024; --maint-soft: #2a1525; --offline: #9b9ea4; --affected: #7d828a;
  --m-water: #0b1119; --m-land: #1a1d22; --m-park: #1b221d; --m-r0: #3a404a; --m-r0c: #1a1d22; --m-r1: #31363f; --m-r2: #2a2e36; --m-r3: #24282f; --m-label: #9097a2; --m-halo: #1a1d22;
  --fiber: #8fa9f5; --link: #8a909a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 3px 10px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08);
  color-scheme: dark; }

.maplibregl-map { overflow: hidden; position: relative; -webkit-tap-highlight-color: transparent; }
.maplibregl-canvas { position: absolute; left: 0; top: 0; }
.maplibregl-canvas-container.maplibregl-interactive { cursor: grab; }
.maplibregl-canvas-container.maplibregl-interactive:active { cursor: grabbing; }
.picking .maplibregl-canvas-container.maplibregl-interactive { cursor: crosshair; }
.maplibregl-marker { position: absolute; left: 0; top: 0; will-change: transform; }
.maplibregl-ctrl-attrib, .maplibregl-ctrl-logo { display: none; }

html, body, #app { height: 100%; margin: 0; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font: 400 14px/20px var(--sans); }
* { box-sizing: border-box; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.small { font-size: 12px; line-height: 16px; }
.nowrap { white-space: nowrap; }
.bad { color: var(--critical-ink); }
.warn { color: var(--medium-ink); }
.okc { color: var(--ok-ink); }
svg.ic { width: 18px; height: 18px; flex: none; }

/* ========== kabuk ========== */
.shell { height: 100%; display: grid; grid-template-columns: 224px minmax(0, 1fr); grid-template-rows: 52px minmax(0, 1fr); }
.side { grid-row: 1 / 3; min-height: 0; overflow: hidden; background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.brandrow { height: 52px; display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
.brandrow svg { width: 26px; height: 26px; }
.brandrow b { font: 700 17px/20px "Barlow Semi Condensed", var(--sans); letter-spacing: .01em; }
.brandrow small { display: block; font-size: 11px; line-height: 13px; color: var(--ink-3); }
.navscroll { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 8px 16px; scrollbar-width: thin; }
.ngrp { margin-top: 14px; padding: 0 10px 4px; font-size: 11px; line-height: 14px; font-weight: 700; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; }
.ngrp:first-child { margin-top: 4px; }
.nv { width: 100%; height: 34px; border: 0; background: none; border-radius: 7px; display: flex; align-items: center; gap: 10px; padding: 0 10px; color: var(--ink-2); font-size: 13.5px; text-align: left; }
.nv:hover { background: var(--hover); color: var(--ink); }
.nv[aria-current="page"] { background: var(--brand-soft); color: var(--brand-ink); font-weight: 700; }
.nv .ct { margin-left: auto; font: 600 11px/18px var(--mono); min-width: 20px; height: 18px; padding: 0 6px; border-radius: 9px; background: var(--hover); color: var(--ink-2); text-align: center; }
.nv .ct.hot { background: var(--critical); color: var(--on-critical); }
.nv[disabled] { opacity: .4; cursor: not-allowed; }
.sidefoot { border-top: 1px solid var(--line); padding: 10px 12px; display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-ink); font: 700 12px/32px var(--sans); text-align: center; flex: none; }
.who { min-width: 0; flex: 1; border: 0; background: none; text-align: left; padding: 2px 4px; border-radius: 6px; }
.who:hover { background: var(--hover); }
.who b { display: block; font-size: 13px; line-height: 17px; }
.who span { display: block; font-size: 11.5px; line-height: 15px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.top { background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; padding: 0 16px; min-width: 0; }
.crumbs { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 13.5px; color: var(--ink-3); flex: 1; overflow: hidden; white-space: nowrap; }
.crumbs button { border: 0; background: none; padding: 2px 4px; border-radius: 5px; color: var(--ink-2); }
.crumbs button:hover { background: var(--hover); color: var(--ink); }
.crumbs b { color: var(--ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; }
.gsearch { position: relative; width: 300px; }
.gsearch .box { height: 34px; border: 1px solid var(--line-2); border-radius: 8px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--sunken); }
.gsearch .box:focus-within { border-color: var(--brand); background: var(--surface); }
.gsearch input { border: 0; background: transparent; outline: none; flex: 1; min-width: 0; height: 32px; font-size: 13px; }
.gsearch kbd { font: 500 11px/16px var(--mono); color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 4px; padding: 0 5px; }
.gres { position: absolute; top: 40px; left: 0; right: 0; z-index: 60; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 4px; max-height: 420px; overflow: auto; }
.gres .gh { padding: 8px 10px 2px; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.gres button { width: 100%; border: 0; background: none; text-align: left; padding: 7px 10px; border-radius: 6px; display: flex; gap: 10px; align-items: center; font-size: 13px; }
.gres button:hover, .gres button.on { background: var(--hover); }
.gres small { margin-left: auto; color: var(--ink-3); font-size: 12px; white-space: nowrap; }
.clock { font: 500 12px/16px var(--mono); color: var(--ink-3); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.live { width: 7px; height: 7px; border-radius: 4px; background: var(--ok); display: inline-block; flex: none; }
.iconbtn { width: 34px; height: 34px; border-radius: 8px; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); position: relative; }
.iconbtn:hover { background: var(--hover); color: var(--ink); }
.main { min-height: 0; min-width: 0; overflow: auto; position: relative; }
.main.full { overflow: hidden; }
.menutoggle { display: none; }

/* ========== genel bileşenler ========== */
.btn { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; color: var(--ink); text-decoration: none; }
.btn:hover { background: var(--hover); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12.5px; border-radius: 7px; }
.btn.lg { height: 38px; padding: 0 16px; }
.btn.primary { background: var(--brand); color: var(--on-brand); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.08); background: var(--brand); }
.btn.danger { background: var(--critical); color: var(--on-critical); border-color: transparent; }
.btn.ghost { border-color: transparent; background: none; color: var(--brand-ink); }
.btn.ghost:hover { background: var(--brand-soft); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }
.btn svg { width: 16px; height: 16px; }
.lnk { border: 0; background: none; padding: 0; color: var(--brand-ink); font-weight: 600; font-size: inherit; text-align: left; }
.lnk:hover { text-decoration: underline; }
.lnk.mono { font-weight: 500; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.spacer { flex: 1; }
.page { padding: 24px 28px 48px; max-width: 1360px; }
.page.wide { max-width: none; }
.phd { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.phd .t { flex: 1; min-width: 240px; }
.phd h1 { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; }
.phd .lead { margin: 4px 0 0; color: var(--ink-3); font-size: 13.5px; max-width: 760px; }
.phd .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.spec { font: 500 11px/16px var(--mono); color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; white-space: nowrap; }
.toolbar { margin: 18px 0 12px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.seg { display: inline-flex; background: var(--hover); border-radius: 9px; padding: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: none; height: 28px; padding: 0 11px; border-radius: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.chip { height: 30px; padding: 0 10px; border-radius: 15px; border: 1px solid var(--line-2); background: var(--surface); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.chip:hover { background: var(--hover); }
.chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); font-weight: 600; }
.chip .x { font-size: 15px; line-height: 1; opacity: .7; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 16px 0 0; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 10px 12px; font-size: 13.5px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { color: var(--brand-ink); border-bottom-color: var(--brand); }
.tabs .n { font: 500 11px/1 var(--mono); margin-left: 4px; color: var(--ink-3); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.box > h2, .box > .bh { margin: 0; padding: 14px 16px 10px; font-size: 14px; line-height: 20px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.box > .bh h2 { margin: 0; font-size: 14px; font-weight: 700; }
.box > .bb { padding: 0 16px 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gmain { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.tablebox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ink-3); padding: 9px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--sunken); }
.t td { padding: 9px 12px; border-bottom: 1px solid var(--line); font-size: 13px; vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t input[type=radio], .t input[type=checkbox] { width: 16px; height: 16px; min-width: 0; accent-color: var(--brand); }
.t tbody tr.click { cursor: pointer; }
.t tbody tr.click:hover td { background: var(--hover); }
.t td.num, .t th.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.t th.num { text-align: right; } .t td.num.r { text-align: right; }
.t tr.unack td:first-child { box-shadow: inset 3px 0 0 var(--pcol); }
.t tr.unack td.ttl { font-weight: 700; }
.t tr.err td { background: var(--critical-soft); }
.t input, .t select { height: 30px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--surface); padding: 0 8px; font-size: 13px; width: 100%; min-width: 60px; }
.kv { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 7px 12px; font-size: 13px; line-height: 18px; margin: 0; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.note { padding: 10px 12px; border-radius: 8px; background: var(--hover); font-size: 13px; line-height: 18px; color: var(--ink-2); }
.note.warn { background: var(--medium-soft); color: var(--ink); }
.note.crit { background: var(--critical-soft); color: var(--ink); }
.note.ok { background: var(--ok-soft); color: var(--ink); }
.note.info { background: var(--brand-soft); color: var(--ink); }
.empty { padding: 16px; color: var(--ink-3); font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 11px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--hover); color: var(--ink-2); }
.pill.brand { background: var(--brand-soft); color: var(--brand-ink); }
.pill.ok { background: var(--ok-soft); color: var(--ok-ink); }
.pill.warn { background: var(--medium-soft); color: var(--medium-ink); }
.pill.crit { background: var(--critical-soft); color: var(--critical-ink); }
.pill.high { background: var(--high-soft); color: var(--high-ink); }
.pill.maint { background: var(--maint-soft); color: var(--maint); }
.st { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.blink { animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .blink { animation: none; } }
.prio text { font: 700 9px/1 var(--sans); }
.hbar { display: inline-block; width: 64px; height: 6px; border-radius: 3px; background: var(--hover); vertical-align: middle; overflow: hidden; margin-right: 8px; }
.hbar i { display: block; height: 100%; background: var(--ok); }
.hbar.w i { background: var(--medium); } .hbar.c i { background: var(--critical); }
.spark { display: block; width: 100%; height: 34px; }
.spark polyline { fill: none; stroke: var(--brand); stroke-width: 1.4; }
.spark .area { fill: var(--brand-soft); stroke: none; }
.spark .thr { stroke: var(--critical); stroke-dasharray: 3 3; stroke-width: 1; opacity: .7; }
.spark .thw { stroke: var(--medium); stroke-dasharray: 3 3; stroke-width: 1; }

/* form */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.form .full { grid-column: 1 / -1; }
.fs { border: 0; margin: 0; padding: 0; display: contents; }
.fsh { grid-column: 1 / -1; margin: 10px 0 -4px; font-size: 13px; font-weight: 700; color: var(--ink-2); display: flex; gap: 8px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); }
.fsh:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.fld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.fld > label, .fld > .lb { font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--ink-2); }
.fld .req { color: var(--critical-ink); }
.fld input[type=text], .fld input[type=number], .fld input[type=date], .fld input[type=datetime-local], .fld input[type=password], .fld input:not([type]), .fld select, .fld textarea { height: 36px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); padding: 0 10px; font-size: 13.5px; width: 100%; }
.fld textarea { height: auto; min-height: 76px; padding: 8px 10px; line-height: 19px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.fld .hint { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.fld .errm { font-size: 12px; line-height: 16px; color: var(--critical-ink); font-weight: 600; }
.fld.has-err input, .fld.has-err select, .fld.has-err textarea { border-color: var(--critical); }
.fld input.mono { font-family: var(--mono); }
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.checks label, .ck { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; cursor: pointer; }
.checks input, .ck input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.formfoot { position: sticky; bottom: 0; margin: 20px -28px -48px; padding: 12px 28px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; z-index: 4; }
.formfoot .spacer { flex: 1; }

/* modal, açılır */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(10,12,16,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.dialog { width: min(520px, 100%); max-height: calc(100% - 32px); overflow: auto; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.dialog.wide { width: min(760px, 100%); }
.dialog header { padding: 18px 22px 6px; }
.dialog h2 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.dialog .sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.dialog .body { padding: 10px 22px 6px; display: flex; flex-direction: column; gap: 12px; }
.dialog footer { padding: 16px 22px 18px; display: flex; gap: 8px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.dialog footer .exp { margin-right: auto; font: 400 12px/16px var(--mono); color: var(--ink-3); }
.popover { position: fixed; z-index: 70; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 240px; display: flex; flex-direction: column; max-height: 70vh; overflow: auto; }
.popover .item { border: 0; background: none; text-align: left; padding: 8px 10px; border-radius: 6px; display: flex; gap: 10px; align-items: flex-start; }
.popover .item:hover { background: var(--hover); }
.popover .item > span { display: flex; flex-direction: column; gap: 1px; }
.popover .item small { color: var(--ink-3); font-size: 12px; line-height: 16px; }
.popover .ph { padding: 8px 10px 4px; font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.popover label { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.popover label:hover { background: var(--hover); }
.popover input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.popover hr { border: 0; border-top: 1px solid var(--line); margin: 4px 0; }
.toasts { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(480px, calc(100% - 32px)); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; font-size: 13px; line-height: 18px; box-shadow: var(--shadow-lg); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.steps li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 7px 0; font-size: 13px; line-height: 18px; }
.steps .dt { width: 20px; height: 20px; border-radius: 10px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--ink-3); margin-top: -1px; background: var(--surface); }
.steps .done .dt { background: var(--ok); border-color: var(--ok); color: var(--on-ok); }
.steps .now .dt { border-color: var(--brand); color: var(--brand-ink); }
.steps .fail .dt { background: var(--critical); border-color: var(--critical); color: var(--on-critical); }
.steps time { font: 400 12px/18px var(--mono); color: var(--ink-3); }

/* durum akışı (stepper) */
.flowbar { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 2px 0 4px; }
.flowbar .s { display: flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; color: var(--ink-3); padding: 0 2px; }
.flowbar .s i { width: 10px; height: 10px; border-radius: 5px; border: 2px solid var(--line-2); flex: none; background: var(--surface); }
.flowbar .s.done { color: var(--ink-2); } .flowbar .s.done i { background: var(--ok); border-color: var(--ok); }
.flowbar .s.now { color: var(--brand-ink); font-weight: 700; } .flowbar .s.now i { border-color: var(--brand); background: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.flowbar .ln { width: 22px; height: 2px; background: var(--line-2); flex: none; margin: 0 4px; }
.flowbar .ln.done { background: var(--ok); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 4px; }
.timeline li { position: relative; padding: 0 0 12px 18px; font-size: 13px; line-height: 18px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 4px; background: var(--line-2); }
.timeline li::after { content: ""; position: absolute; left: 3.5px; top: 15px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.b::before { background: var(--brand); }
.timeline time { font: 400 12px/16px var(--mono); color: var(--ink-3); margin-right: 6px; }
.timeline .by { color: var(--ink-3); }

/* tür ikonu ve pip */
.tpip { display: inline-flex; align-items: center; gap: 3px; height: 20px; padding: 0 5px 0 4px; border-radius: 5px; font: 600 11px/1 var(--mono); background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2); white-space: nowrap; }
.tpip svg { width: 13px; height: 13px; }
.tpip.kritik { background: var(--critical); color: var(--on-critical); border-color: var(--critical); }
.tpip.uyari { background: var(--medium); color: var(--on-medium); border-color: color-mix(in srgb, var(--on-medium) 40%, var(--medium)); }
.tpip.erisilemiyor { background: var(--offline); color: var(--surface); border-color: var(--offline); }
.tpip.etkilenen { background: var(--surface); color: var(--ink-2); border: 1.5px dashed var(--affected); }
.tpip.bakimda { background: var(--maint); color: var(--on-maint); border-color: var(--maint); }
.tpip.devre_disi { opacity: .55; }
.tpip.dim { opacity: .3; }

/* ========== operasyon ========== */
.ops { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) 420px; }
.mapwrap { position: relative; min-width: 0; background: var(--m-water); }
#maphost, .maphost { position: absolute; inset: 0; }
.filters { position: absolute; z-index: 6; top: 12px; left: 12px; right: 64px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; pointer-events: none; }
.filters > * { pointer-events: auto; }
.fbtn { height: 32px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.fbtn:hover { color: var(--ink); }
.fbtn.on { border-color: var(--brand); color: var(--brand-ink); font-weight: 600; background: var(--brand-soft); }
.fbtn .c { font: 600 11px/16px var(--mono); background: var(--brand); color: var(--on-brand); border-radius: 8px; padding: 0 5px; }
.fbtn svg.chev { width: 14px; height: 14px; opacity: .7; }
.mapctl { position: absolute; z-index: 5; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; }
.ctlgrp { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.ctlgrp button { width: 38px; height: 38px; border: 0; background: none; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.ctlgrp button + button { border-top: 1px solid var(--line); }
.ctlgrp button:hover { background: var(--hover); color: var(--ink); }
.ctlgrp button[aria-pressed="true"] { color: var(--brand-ink); background: var(--brand-soft); }
.legend { position: absolute; z-index: 5; left: 12px; bottom: 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow); font-size: 12px; max-width: calc(100% - 24px); }
.legend > button { border: 0; background: none; height: 30px; padding: 0 10px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.legend .lgb { padding: 4px 12px 12px; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 16px; }
.legend .lgb span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.legend .lgb hr { grid-column: 1 / -1; border: 0; border-top: 1px solid var(--line); margin: 2px 0; width: 100%; }
.legend .lgb .h { grid-column: 1 / -1; font-weight: 700; color: var(--ink-3); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.attrib { position: absolute; z-index: 4; right: 8px; bottom: 6px; font-size: 11px; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 80%, transparent); padding: 1px 6px; border-radius: 4px; }
.pickbar { position: absolute; z-index: 7; top: 12px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); border-radius: 10px; padding: 8px 8px 8px 14px; display: flex; gap: 12px; align-items: center; font-size: 13px; box-shadow: var(--shadow-lg); }
.pickbar .btn { height: 28px; }

/* işaretçi */
.mk { border: 0; padding: 0; background: none; display: flex; align-items: flex-start; gap: 5px; transform: translate(-9px, -9px); text-align: left; color: var(--ink); }
.mk .dot { width: 18px; height: 18px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 1px 3px rgba(0,0,0,.2); }
.mk.hub .dot { border-radius: 5px; }
.mk.ok .dot::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--ok); }
.mk.hub.ok .dot::after { border-radius: 2px; }
.mk .card { display: flex; flex-direction: column; gap: 3px; background: var(--surface); border-radius: 7px; box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.16); padding: 4px 6px 5px; margin-top: -3px; }
.mk .nm { font-size: 12px; line-height: 15px; font-weight: 700; white-space: nowrap; display: flex; gap: 5px; align-items: baseline; }
.mk .nm i { font: 500 10.5px/1 var(--mono); font-style: normal; color: var(--ink-3); }
.mk .pips { display: flex; gap: 3px; flex-wrap: nowrap; }
.mk.ok:not(.sel):not(.allt) .card { display: none; }
.mk.ok.lbl .card { display: flex; }
.mk.ok.lbl:not(.allt):not(.sel) .pips { display: none; }
.mk.sel .card { box-shadow: 0 0 0 2px var(--brand), 0 2px 8px rgba(0,0,0,.2); }
.mk.sel .dot { box-shadow: 0 0 0 2px var(--brand), 0 1px 3px rgba(0,0,0,.2); }
.mk.dimf { opacity: .28; }
.mk:focus-visible { outline: none; } .mk:focus-visible .card, .mk:focus-visible .dot { outline: 2px solid var(--focus); outline-offset: 2px; }
.cl { border: 0; padding: 0; background: none; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cl .b { min-width: 34px; height: 34px; border-radius: 17px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2), 0 2px 6px rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 9px; font: 700 13px/1 var(--sans); }
.cl .b.kritik { box-shadow: 0 0 0 2.5px var(--critical), 0 2px 6px rgba(0,0,0,.2); }
.cl .b.uyari { box-shadow: 0 0 0 2.5px var(--medium), 0 2px 6px rgba(0,0,0,.2); }
.cl .b.erisilemiyor, .cl .b.etkilenen { box-shadow: 0 0 0 2.5px var(--offline), 0 2px 6px rgba(0,0,0,.2); }
.cl .b.bakimda { box-shadow: 0 0 0 2.5px var(--maint), 0 2px 6px rgba(0,0,0,.2); }
.cl .pips { display: flex; gap: 3px; }
.cl .cap { font-size: 11px; font-weight: 700; color: var(--m-label); text-shadow: 0 0 3px var(--m-halo), 0 0 3px var(--m-halo); white-space: nowrap; }
.town { font: 600 12px/14px var(--sans); color: var(--m-label); letter-spacing: .02em; text-shadow: 0 0 3px var(--m-halo), 0 0 3px var(--m-halo), 0 0 2px var(--m-halo); pointer-events: none; transform: translate(-50%, -50%); white-space: nowrap; }
.hq { display: flex; align-items: center; gap: 6px; transform: translate(-9px, -9px); pointer-events: none; }
.hq i { width: 18px; height: 18px; border-radius: 4px; background: var(--brand); border: 2px solid var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.hq b { font-size: 12px; font-weight: 700; color: var(--brand-ink); text-shadow: 0 0 3px var(--m-halo), 0 0 3px var(--m-halo); }
.tm { border: 0; padding: 0; background: none; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 4px; }
.tm .b { height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--bg); font: 700 11px/22px var(--sans); white-space: nowrap; display: flex; align-items: center; gap: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.tm .b svg { width: 13px; height: 13px; }
.tm .tn { display: none; }
.tm.lbl .tn, .tm.sug .tn, .tm:hover .tn, .tm:focus-visible .tn { display: inline; }
.tm { z-index: 1; } .mk, .cl { z-index: 2; } .mk:hover, .mk.sel, .tm:hover { z-index: 4; }
.tm.sug .b { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 3px var(--brand-soft), 0 1px 4px rgba(0,0,0,.3); }
.tm.busy .b { opacity: .7; }
.hovercard { position: absolute; z-index: 8; width: 320px; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg); pointer-events: none; font-size: 12.5px; line-height: 17px; overflow: hidden; }
.hovercard .hh { padding: 10px 12px 8px; border-bottom: 1px solid var(--line); }
.hovercard .hh b { font-size: 13.5px; display: block; }
.hovercard table { width: 100%; border-collapse: collapse; }
.hovercard td { padding: 4px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.hovercard tr:last-child td { border-bottom: 0; }
.hovercard .pr { padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; background: var(--sunken); }

/* sağ panel */
.panel { background: var(--surface); border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.pscroll { flex: 1; overflow-y: auto; min-height: 0; scrollbar-width: thin; }
.phead { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.phead h1 { margin: 0; font-size: 18px; line-height: 24px; font-weight: 700; }
.phead .sub { font-size: 12.5px; line-height: 18px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.back { border: 0; background: none; padding: 0; margin: 0 0 6px; color: var(--brand-ink); font-size: 12.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; }
.back svg { width: 15px; height: 15px; }
.counts { margin: 0 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.counts button { border: 0; background: none; padding: 8px 10px; text-align: left; display: flex; flex-direction: column; gap: 1px; }
.counts button + button { border-left: 1px solid var(--line); }
.counts button:hover { background: var(--hover); }
.counts button[aria-pressed="true"] { background: var(--brand-soft); }
.counts b { font-size: 19px; line-height: 24px; font-weight: 700; display: flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.counts span { font-size: 11.5px; line-height: 15px; color: var(--ink-3); }
.sec { padding: 16px 18px 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sec h2 { margin: 0; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.sec .lnk { font-size: 12.5px; }
.tmx { margin: 0 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tmx button { width: 100%; border: 0; background: none; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 10px; text-align: left; font-size: 13px; }
.tmx button + button { border-top: 1px solid var(--line); }
.tmx button:hover { background: var(--hover); }
.tmx button[aria-pressed="true"] { background: var(--brand-soft); }
.tmx .ty { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.tmx .ty small { color: var(--ink-3); font: 400 11.5px/1 var(--mono); }
.tmx .pr { display: flex; gap: 4px; }
.alist { display: flex; flex-direction: column; padding: 0 8px; }
.al { display: grid; grid-template-columns: 3px 18px minmax(0, 1fr) auto; gap: 9px; align-items: start; padding: 8px 8px 8px 0; border-radius: 8px; text-align: left; border: 0; background: none; width: 100%; cursor: pointer; }
.al:hover { background: var(--hover); }
.al .bar { align-self: stretch; border-radius: 2px; background: transparent; }
.al.unack .bar { background: var(--pcol); }
.al .tt { font-weight: 500; font-size: 13px; line-height: 18px; }
.al.unack .tt { font-weight: 700; }
.al .m { font-size: 12px; line-height: 16px; color: var(--ink-3); display: flex; gap: 5px; align-items: center; flex-wrap: wrap; margin-top: 2px; }
.al .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.al .d { font: 400 11.5px/16px var(--mono); color: var(--ink-3); white-space: nowrap; }
.dev { width: 100%; border: 0; background: none; display: grid; grid-template-columns: 16px 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 18px; text-align: left; }
.dev:hover { background: var(--hover); }
.dev .n { display: flex; flex-direction: column; min-width: 0; }
.dev .n b { font: 500 12.5px/17px var(--mono); }
.dev .n span { font-size: 12px; line-height: 15px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dev .v { font: 400 12px/16px var(--mono); color: var(--ink-2); white-space: nowrap; text-align: right; }
.dev svg.ty { width: 16px; height: 16px; color: var(--ink-3); }
.dgroup { padding: 10px 18px 2px; font-size: 11.5px; line-height: 16px; color: var(--ink-3); font-weight: 600; }
.met { padding: 8px 18px; border-bottom: 1px solid var(--line); }
.met .rw { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.met .rw span:first-child { color: var(--ink-2); font-size: 13px; }
.met .rw b { font: 500 14.5px/20px var(--mono); }
.met .rw b.bad { color: var(--critical-ink); } .met .rw b.warn { color: var(--medium-ink); } .met .rw b.stale { color: var(--ink-3); font-weight: 400; font-size: 13px; }
.met .q { font-size: 11px; line-height: 14px; color: var(--ink-3); margin-top: 1px; }
.pfoot { border-top: 1px solid var(--line); padding: 10px 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.pfoot .btn { flex: 1; height: 36px; }
.pbody { padding: 0 18px; }
.sugg { margin: 0 18px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.sugg .h { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.wcard { margin: 0 18px 6px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; width: calc(100% - 36px); text-align: left; background: none; }
.wcard:hover { background: var(--hover); }
.wcard .h { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }

/* kabin görünümü (9.8) */
.rack { display: grid; grid-template-columns: 220px 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.pole { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 14px; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.pole .mast { width: 10px; height: 160px; background: linear-gradient(var(--line-2), var(--line)); border-radius: 3px; margin-top: -4px; }
.cab { border: 2px solid var(--line-2); border-radius: 10px; background: var(--sunken); padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.cab .lbl, .pole .lbl { font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; align-self: stretch; display: flex; justify-content: space-between; }
.slot { border: 1px solid var(--line-2); background: var(--surface); border-radius: 5px; min-height: 36px; display: grid; grid-template-columns: 24px 18px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 4px 8px; text-align: left; font-size: 12.5px; width: 100%; }
.slot:hover { border-color: var(--brand); }
.slot .u { font: 500 10.5px/1 var(--mono); color: var(--ink-3); }
.slot.kritik { border-left: 4px solid var(--critical); } .slot.uyari { border-left: 4px solid var(--medium); } .slot.erisilemiyor { border-left: 4px solid var(--offline); } .slot.bakimda { border-left: 4px solid var(--maint); } .slot.etkilenen { border-left: 4px dashed var(--affected); }
.slot.blank { background: repeating-linear-gradient(135deg, transparent 0 6px, var(--hover) 6px 7px); border-style: dashed; min-height: 22px; cursor: default; }
.slot.sel { box-shadow: 0 0 0 2px var(--brand); }
.podev { width: 100%; border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 6px 8px; display: grid; grid-template-columns: 18px minmax(0, 1fr) 16px; gap: 6px; align-items: center; text-align: left; font-size: 12px; }
.podev:hover { border-color: var(--brand); }

/* video */
.video { position: relative; aspect-ratio: 16 / 9; background: #0b0d10; border-radius: 10px; overflow: hidden; color: #e8eaee; }
.video svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.video .ov { position: absolute; left: 10px; top: 8px; font: 500 12px/16px var(--mono); text-shadow: 0 1px 2px #000; }
.video .ov2 { position: absolute; right: 10px; bottom: 8px; font: 500 11px/16px var(--mono); opacity: .8; }
.video .rec { display: inline-block; width: 8px; height: 8px; border-radius: 4px; background: #f23; margin-right: 6px; vertical-align: 0; }
.video .nos { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px; font-size: 14px; }

/* akış diyagramı */
.flowd { display: flex; flex-wrap: wrap; gap: 8px 0; align-items: stretch; }
.flowd .n { border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px; padding: 8px 10px; font-size: 12.5px; line-height: 17px; min-width: 120px; max-width: 200px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.flowd .n b { font-size: 13px; }
.flowd .n small { color: var(--ink-3); font-size: 11.5px; line-height: 15px; }
.flowd button.n:hover { border-color: var(--brand); background: var(--brand-soft); }
.flowd .n.dec { border-style: dashed; }
.flowd .ar { display: flex; align-items: center; padding: 0 4px; color: var(--ink-3); }
.flowd .ar svg { width: 18px; height: 18px; }
.smx { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12.5px; }
.smx span.s { border: 1px solid var(--line-2); border-radius: 12px; padding: 2px 9px; background: var(--surface); white-space: nowrap; }
.smx span.s.end { background: var(--ok-soft); border-color: transparent; }

/* KPI */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi .l { font-size: 12.5px; color: var(--ink-3); }
.kpi b { font: 600 22px/28px var(--mono); font-variant-numeric: tabular-nums; }
.kpi .tg { font-size: 12px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; }
.matrix td.c { text-align: center; font: 600 12px/1 var(--mono); }
.matrix td.c.Y { color: var(--brand-ink); } .matrix td.c.O { color: var(--maint); } .matrix td.c.İ { color: var(--ok-ink); } .matrix td.c.K { color: var(--medium-ink); } .matrix td.c.G { color: var(--ink-2); }
.matrix td.c.— { color: var(--line-2); }

/* duvar modu */
.wall { position: fixed; inset: 0; z-index: 50; background: var(--bg); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.wall .wtop { display: flex; align-items: center; gap: 24px; padding: 12px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.wall .wtop .big { font: 600 30px/34px var(--mono); }
.wall .wtop .lb { font-size: 12px; color: var(--ink-3); }
.wall .wbody { display: grid; grid-template-columns: minmax(0, 1fr) 460px; min-height: 0; }
.wall .wlist { background: var(--surface); border-left: 1px solid var(--line); overflow: hidden; padding: 8px 0; }
.wall .wlist .al .tt { font-size: 15px; line-height: 21px; }
.wall .wfoot { padding: 8px 20px; background: var(--surface); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); display: flex; gap: 16px; }
.dz { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 18px; text-align: center; color: var(--ink-3); font-size: 13px; }
.prog { height: 6px; border-radius: 3px; background: var(--hover); overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.fish { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; position: relative; }
.fish .bone { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--sunken); }
.fish .bone b { font-size: 12px; color: var(--ink-3); display: block; margin-bottom: 4px; }
.fish .bone textarea { width: 100%; border: 0; background: transparent; resize: vertical; min-height: 40px; font-size: 13px; padding: 0; outline: none; }
.fish .head { grid-column: 1 / -1; text-align: center; padding: 8px; border-radius: 8px; background: var(--critical-soft); font-weight: 700; font-size: 13px; }

@media (max-width: 1180px) {
  .ops { grid-template-columns: minmax(0, 1fr) 360px; }
  .gmain { grid-template-columns: 1fr; }
  .rack { grid-template-columns: 1fr 1fr; }
  .gsearch { width: 220px; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; grid-template-rows: 52px minmax(0, 1fr); height: auto; min-height: 100%; }
  html, body, #app { height: auto; }
  .side { position: fixed; z-index: 75; top: 0; bottom: 0; left: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; box-shadow: var(--shadow-lg); }
  .side.open { transform: none; }
  .menutoggle { display: inline-flex; }
  .top { position: sticky; top: 0; z-index: 30; padding: 0 8px; gap: 6px; }
  .gsearch { width: auto; flex: 1; } .crumbs, .clock { display: none; }
  .main, .main.full { overflow: visible; }
  .ops { position: relative; inset: auto; grid-template-columns: 1fr; }
  .mapwrap { height: 64vh; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .page { padding: 18px 16px 40px; }
  .formfoot { margin: 20px -16px -40px; padding: 12px 16px; }
  .grid2, .grid3, .form, .rack, .fish { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 110px minmax(0, 1fr); }
  .filters { right: 56px; }
  .wall .wbody { grid-template-columns: 1fr; }
  .hovercard { display: none; }
}

/* sınırsız liste ve parametre ekranları */
.ledit { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; width: 100%; }
.lrow { display: flex; gap: 6px; align-items: center; width: 100%; }
.lrow input { flex: 1; height: 34px; border: 1px solid var(--line-2); border-radius: 8px; padding: 0 10px; background: var(--surface); font-size: 13.5px; min-width: 0; }
.lrow input:disabled { background: var(--sunken); }
.lnum { font: 500 12px/1 var(--mono); color: var(--ink-3); min-width: 56px; }
.lacts { display: flex; gap: 0; }
.iconbtn.sm { width: 28px; height: 28px; font-size: 15px; }
.iconbtn[disabled] { opacity: .3; cursor: not-allowed; }
.redit .t td { padding: 5px 8px; }
.mpick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip.sm { height: 26px; font-size: 12px; padding: 0 8px; }
.chip[disabled] { opacity: .6; cursor: default; }
.mnew input { height: 28px; border: 1px dashed var(--line-2); border-radius: 14px; padding: 0 10px; background: transparent; font-size: 12.5px; width: 130px; }
.pgrid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 18px; }
.plist { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; position: sticky; top: 0; }
.plist .ngrp { margin-top: 10px; }
.plist .nv { height: 32px; font-size: 13px; }
.lvl { min-width: 34px; height: 26px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); font: 600 12px/1 var(--mono); }
.lvl.l1 { background: var(--medium-soft); color: var(--medium-ink); border-color: transparent; }
.lvl.l2 { background: var(--low-soft); color: var(--low); border-color: transparent; }
.lvl.l3 { background: var(--ok-soft); color: var(--ok-ink); border-color: transparent; }
.lvl.l0 { color: var(--line-2); }
.lvl:disabled { cursor: default; }
.lvl.diff { box-shadow: 0 0 0 2px var(--brand); }
.pmx td.c { text-align: center; padding: 4px; }
.pmx tr.grp td { background: var(--sunken); font-size: 11px; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; padding: 6px 12px; }
.ucard { display: flex; gap: 14px; align-items: center; }
.ucard .avatar { width: 48px; height: 48px; border-radius: 24px; font-size: 16px; line-height: 48px; }
.drawer { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.drawer header { padding: 18px 22px 10px; border-bottom: 1px solid var(--line); }
.drawer h2 { margin: 0; font-size: 18px; }
.drawer .body { flex: 1; overflow: auto; padding: 16px 22px; }
.drawer footer { padding: 12px 22px; border-top: 1px solid var(--line); display: flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr; } .plist { position: static; } }
.pmx td { padding-top: 4px; padding-bottom: 4px; }

/* veri tablosu */
.dt { display: flex; flex-direction: column; gap: 8px; }
.dtbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dtq { position: relative; flex: 1; min-width: 280px; height: 36px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--surface); display: flex; align-items: center; gap: 6px; padding: 0 4px 0 10px; }
.dtq:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.dtq input { flex: 1; border: 0; outline: none; background: transparent; height: 34px; font: 400 13.5px/1 var(--mono); min-width: 0; }
.dtsug { position: absolute; z-index: 65; left: 0; top: 40px; width: min(480px, 100%); background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 4px; }
.dtsug button { width: 100%; border: 0; background: none; text-align: left; padding: 6px 10px; border-radius: 6px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.dtsug button.on, .dtsug button:hover { background: var(--hover); }
.dtsug small { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dtchips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.dtchips .chip { cursor: default; }
.dtchips .chip b { font-weight: 600; color: var(--ink-3); }
.dtchips .chip.neg { border-style: dashed; }
.dtchips .chip.err { border-color: var(--critical); color: var(--critical-ink); }
.dtchips .chip .x { border: 0; background: none; padding: 0 0 0 4px; font-size: 15px; line-height: 1; color: var(--ink-3); }
.thw { display: inline-flex; align-items: center; gap: 2px; }
.ths { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; }
.ths:hover:not([disabled]) { color: var(--ink); }
.ths[disabled] { cursor: default; }
.sarr { margin-left: 3px; color: var(--brand-ink); font-family: var(--mono); }
.thf { border: 0; background: none; width: 20px; height: 20px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); opacity: .55; }
th:hover .thf, .thf.on { opacity: 1; }
.thf.on { color: var(--brand-ink); background: var(--brand-soft); }
.dtg td { background: var(--sunken); font-size: 12.5px; }
.dtfoot { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); flex-wrap: wrap; }
mark { background: color-mix(in srgb, var(--medium) 40%, transparent); color: inherit; border-radius: 2px; padding: 0 1px; }

/* okuma aracı ve bağlayıcı */
pre.code { margin: 0; padding: 12px 14px; background: var(--sunken); border: 1px solid var(--line); border-radius: 8px; font: 400 12px/17px var(--mono); max-height: 460px; overflow: auto; white-space: pre; }
.jpick { border: 1px solid var(--line); border-radius: 8px; max-height: 380px; overflow: auto; }
.jrow { display: flex; align-items: center; gap: 10px; padding: 3px 8px 3px 6px; border-bottom: 1px solid var(--line); min-height: 32px; }
.jrow:last-child { border-bottom: 0; }
.jrow:hover { background: var(--hover); }
.mibtree { max-height: 520px; overflow: auto; }
.mibmod { width: 100%; border: 0; background: none; text-align: left; padding: 6px 4px; font-weight: 700; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.mibobj { width: 100%; border: 0; background: none; text-align: left; padding: 5px 8px 5px 22px; display: flex; gap: 8px; align-items: center; border-radius: 6px; }
.mibobj:hover, .mibobj.on { background: var(--brand-soft); }
.opctree { max-height: 520px; overflow: auto; }
.opcrow { display: flex; align-items: center; gap: 8px; padding: 3px 4px; min-height: 32px; border-radius: 6px; }
.opcrow:hover { background: var(--hover); }
.opcrow .tg { width: 20px; height: 20px; border: 0; background: none; color: var(--ink-3); padding: 0; }
.msglist { display: flex; flex-direction: column; gap: 2px; max-height: 360px; overflow: auto; margin-top: 8px; }
.msg { border: 0; background: none; text-align: left; padding: 6px 8px; border-radius: 6px; display: flex; justify-content: space-between; gap: 10px; }
.msg:hover, .msg.on { background: var(--brand-soft); }
.t tr.selrow td { background: var(--brand-soft); }
/* 18 · Entegrasyonlar ve erişim gözden geçirme: dar ekranda taşmayı önleyen yerleşim yardımcıları */
.ig-fit > * { min-width: 0; }
.ig-scroll { overflow-x: auto; }
@media (max-width: 900px) {
  .ig-g2 { grid-template-columns: 1fr; }
  .ig-g3 { grid-template-columns: 1fr !important; }
  .ig-side { grid-template-columns: 1fr !important; }
}

/* sekme başındaki veri yönü satırı */
.ig-dir { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding: 10px 12px; margin-bottom: 14px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 8px; background: var(--surface); font-size: 13px; }
.ig-dir .muted { flex-basis: 100%; }
/* 20 · panolar ve raporlar (Madde 17) — doğrulanmış kategorik palet, açık ve koyu */
:root { --rp-1: #2a78d6; --rp-2: #eb6834; --rp-3: #1baf7a; --rp-4: #eda100; --rp-5: #e87ba4; --rp-grid: #e1e0d9; --rp-axis: #c3c2b7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --rp-1: #3987e5; --rp-2: #d95926; --rp-3: #199e70; --rp-4: #c98500; --rp-5: #d55181; --rp-grid: #2c2c2a; --rp-axis: #383835; } }
:root[data-theme="dark"] { --rp-1: #3987e5; --rp-2: #d95926; --rp-3: #199e70; --rp-4: #c98500; --rp-5: #d55181; --rp-grid: #2c2c2a; --rp-axis: #383835; }

.rp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.rp-card { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; font: inherit; color: inherit; }
.rp-card:hover { border-color: var(--line-2); background: var(--hover); }
.rp-card b { font-size: 15px; }
.rp-card .rp-meta { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.rp-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.rp-filter .fld { width: 170px; }
.rp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.rp-grid .rp-w.wide { grid-column: 1 / -1; }
.rp-w { min-width: 0; }
.rp-w .bh .rp-wact { margin-left: auto; display: flex; gap: 4px; }

.rp-chart { position: relative; }
.rp-chart svg { display: block; width: 100%; overflow: visible; }
.rp-chart .gl { stroke: var(--rp-grid); stroke-width: 1; }
.rp-chart .ax { stroke: var(--rp-axis); stroke-width: 1; }
.rp-chart .tl { fill: var(--ink-3); font: 500 11px var(--mono); }
.rp-chart .hit { fill: transparent; }
.rp-chart .xh { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.rp-tip { position: absolute; z-index: 5; pointer-events: none; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); border-radius: 8px; padding: 6px 9px; font-size: 12px; line-height: 16px; white-space: nowrap; transform: translate(-50%, calc(-100% - 8px)); }
.rp-tip b { font-family: var(--mono); }
.rp-legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin-top: 6px; }
.rp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }

.rp-hb { display: grid; grid-template-columns: minmax(90px, 38%) minmax(0, 1fr) auto; gap: 6px 10px; align-items: center; font-size: 13px; }
.rp-hb .lb { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.rp-hb .tr { height: 10px; background: var(--hover); border-radius: 0 4px 4px 0; overflow: hidden; }
.rp-hb .tr i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--rp-1); }
.rp-hb .v { font: 500 12px var(--mono); color: var(--ink); text-align: right; }

.rp-big { font: 600 40px/44px var(--mono); font-variant-numeric: tabular-nums; }
.rp-designer { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
.rp-designer > * { min-width: 0; }
.rp-designer .form { grid-template-columns: minmax(0, 1fr); }
.rp-wl { display: flex; flex-direction: column; gap: 6px; }
.rp-wl .r { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font-size: 13px; }
.rp-wl .r span { flex: 1; min-width: 0; }

.kb-steps { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 20px; }
.kb-steps li { margin: 2px 0; }

@media (max-width: 900px) {
  .rp-grid, .rp-designer { grid-template-columns: minmax(0, 1fr); }
  .rp-filter .fld { width: calc(50% - 4px); }
}

/* 22 · topoloji, saha yerleşimi, QR etiket */
.tp-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; margin-top: 14px; align-items: start; }
.tp-canvas { position: relative; height: 620px; max-height: 76vh; overflow: hidden; background: var(--sunken); border: 1px solid var(--line); border-radius: 12px; touch-action: none; cursor: grab; }
.tp-canvas.drag { cursor: grabbing; }
.tp-canvas > svg { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.tp-zoom { position: absolute; right: 10px; bottom: 10px; display: flex; flex-direction: column; gap: 2px; padding: 3px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow); }
.tp-hint { position: absolute; left: 12px; bottom: 10px; font-size: 11.5px; color: var(--ink-3); background: var(--surface); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); }
.tp-node { cursor: pointer; }
.tp-node > rect:first-child { fill: var(--surface); stroke: var(--line-2); stroke-width: 1.3; }
.tp-node.kritik > rect:first-child, .tp-node.erisilemiyor > rect:first-child, .tp-node.uyari > rect:first-child, .tp-node.bakimda > rect:first-child { stroke-width: 2; }
.tp-node.sel > rect:first-child { stroke-width: 2.4; }
.tp-node:focus { outline: none; }
.tp-node:focus-visible > rect:first-child { stroke: var(--focus) !important; stroke-width: 2.6; }
.tp-node:hover > rect:first-child { fill: var(--hover); }
.tp-node.dim, .tp-node.ext { opacity: .62; }
.tp-node .tp-stack { fill: var(--line-2); stroke: none; }
.tp-node .tp-ic { color: var(--ink-2); }
.tp-node .t1 { font: 600 12.5px var(--sans); fill: var(--ink); }
.tp-node .t1.m { font-family: var(--mono); }
.tp-node .t2 { font: 400 11px var(--sans); fill: var(--ink-3); }
.tp-edge { fill: none; }
.tp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); align-items: center; }
.tp-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tp-legend i { display: inline-block; width: 22px; height: 0; }
.tp-side { position: sticky; top: 12px; }
.tp-sh { font-size: 12px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; text-transform: none; }
.tp-rel { display: flex; align-items: center; gap: 6px; padding: 4px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tp-rel > .muted { min-width: 74px; font-size: 12px; }
.tp-lay { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.tp-stage { position: relative; background: var(--sunken); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; user-select: none; }
.tp-stage img { display: block; width: 100%; height: auto; pointer-events: none; }
.tp-stage.edit { box-shadow: 0 0 0 2px var(--brand-soft); }
.tp-stage.placing { cursor: crosshair; }
.tp-pin { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px 0 4px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--line-2); box-shadow: var(--shadow); font: 600 11px/1 var(--mono); color: var(--ink); white-space: nowrap; cursor: pointer; touch-action: none; }
.tp-pin.edit { cursor: move; }
.tp-pin:hover { background: var(--hover); }
.tp-pin.kritik { border-color: var(--critical); } .tp-pin.uyari { border-color: var(--medium); } .tp-pin.erisilemiyor { border-color: var(--offline); }
.tp-pin.etkilenen { border-color: var(--affected); border-style: dashed; } .tp-pin.bakimda { border-color: var(--maint); }
.tp-x { margin-left: 2px; width: 16px; height: 16px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-3); font-family: var(--sans); font-size: 13px; }
.tp-x:hover { background: var(--critical-soft); color: var(--critical-ink); }
.tp-unplaced { max-height: 520px; overflow: auto; padding-bottom: 8px; }
.tp-ud { width: 100%; border: 0; background: none; display: flex; align-items: center; gap: 7px; padding: 6px 14px; text-align: left; font-size: 12.5px; color: var(--ink); }
.tp-ud:hover { background: var(--hover); }
.tp-ud[aria-pressed="true"] { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand); }
.tp-ud .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
/* etiket: kâğıt üzerindeki görünüm, temadan bağımsız beyaz zemin ve siyah mürekkep */
.tp-label { box-sizing: border-box; display: flex; align-items: center; background: #fff; color: #000; border: 1px solid #c4c8ce; border-radius: 4px; overflow: hidden; font-family: var(--sans); line-height: 1.15; }
.tp-lt { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.tp-lt > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tp-lb { display: inline-flex; align-items: center; gap: 3px; font-weight: 700; color: #2b4cac; }
.tp-lid { font-family: var(--mono); letter-spacing: .01em; }
.tp-preview { display: flex; justify-content: center; padding: 18px; background: var(--sunken); border-radius: 10px; }
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 84px; overflow: auto; }
.tp-chips .lnk { margin-left: 2px; }
.tp-sheetwrap { overflow: auto; max-height: 460px; background: var(--sunken); border-radius: 10px; padding: 14px; }
.tp-sheet { box-sizing: border-box; display: grid; align-content: start; background: #fff; box-shadow: var(--shadow); margin: 0 auto; }
@media (max-width: 1100px) { .tp-wrap, .tp-lay { grid-template-columns: 1fr; } .tp-side { position: static; } }
/* 23 · ekler: dar ekranda üst çubukta yer açmak için ikincil düğmeler gizlenir */
@media (max-width: 520px) { .hide-sm { display: none !important; } }
/* uzun seçenek adlı açılır listeler ızgara sütununu genişletmesin */
.grid2 > *, .gmain > * { min-width: 0; }
.form select { min-width: 0; max-width: 100%; }
/* telefon genişliği: kutu içindeki tablolar kendi içinde kayar, alt çubuk sarılır, uzun kodlar kırılır */
@media (max-width: 600px) {
  .box > table.t, .bb > table.t, .box > div > table.t { display: block; overflow-x: auto; }
  .formfoot { flex-wrap: wrap; }
  .pgrid > *, .plist { min-width: 0; max-width: 100%; }
  .page .mono { overflow-wrap: anywhere; }
}
