/* Kodvanta Vault lisans sunucusu arayüzü (kodvanta.com paleti)
   Elle yazılmış CSS, derleme adımı yok. Belirteçler: SPEC §7. */

/* ---------- Yazı tipleri (Poppins, Outfit, IBM Plex Mono; SIL OFL 1.1) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/poppins-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-latin-600-normal.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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/outfit-latin-500-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/outfit-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/outfit-latin-600-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/outfit-latin-ext-600-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/outfit-latin-700-normal.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; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/outfit-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ---------- Belirteçler ---------- */
:root {
  --ink: #0A1A2F;
  --ink-2: #12283F;
  --ink-3: #1C3654;
  --paper: #F4F5F7;
  --surface: #FFFFFF;
  --surface-2: #F9FAFB;
  --line: #DFE3E9;
  --line-soft: #ECEFF3;
  --line-strong: #C8CFD9;
  --text: #101828;
  --text-2: #4A5567;
  --text-3: #7C8698;
  --brass: #0C50B4;
  --brand-dark: #093C87;
  --brand-light: #2E7BE0;
  --brass-light: #EDF3FC;
  --success: #12805C; --success-bg: #E7F4EE;
  --warning: #B4530A; --warning-bg: #FDF1E6;
  --danger: #B3261E;  --danger-bg: #FBE9E7;
  --info: #0C50B4;    --info-bg: #EDF3FC;
  --neutral: #5B6873; --neutral-bg: #EDF0F2;
  --r-control: 6px;
  --r-panel: 8px;
  --r-badge: 4px;
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Outfit", "Poppins", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sidebar-w: 240px;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5;
  color: var(--text); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 600; line-height: 1.3; }
p { margin: 0 0 12px; }
a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
code, kbd, .mono { font-family: var(--mono); font-size: 12.5px; }
small { font-size: 12.5px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }
.num, .tnum, table, .kpi-value, time { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--brass-light); color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -40px; z-index: 50; background: var(--surface); color: var(--ink); padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--r-control); }
.skip-link:focus { top: 12px; }

.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.stack-sm > * + * { margin-top: 4px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.grow { flex: 1 1 auto; }

/* ---------- Uygulama iskeleti ---------- */
.app { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; background: var(--ink); }

.sidebar {
  background: var(--ink); color: #B9C3CB; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 16px; color: #fff; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 24px; width: auto; flex: none; display: block; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: 0.03em; line-height: 1.2; color: var(--brand-light); }
.brand-area { display: block; font-size: 12px; font-weight: 400; color: #8E9BA5; margin-top: 1px; }

.nav { padding: 6px 12px 16px; flex: 1 1 auto; }
.nav-section { font-size: 11.5px; color: #75838E; padding: 14px 10px 6px; }
.nav a {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 7px 10px; margin: 1px 0; border-radius: var(--r-control);
  color: #C2CBD2; font-size: 13.5px; text-decoration: none;
}
.nav a svg { width: 16px; height: 16px; flex: none; color: #8E9BA5; }
.nav a:hover { background: var(--ink-2); color: #fff; }
.nav a.is-active { background: var(--ink-2); color: #fff; font-weight: 500; }
.nav a.is-active svg { color: var(--brand-light); }
.nav a.is-active::before {
  content: ""; position: absolute; left: -12px; top: 6px; bottom: 6px; width: 3px;
  background: var(--brass); border-radius: 0 2px 2px 0;
}
.nav .count {
  margin-left: auto; font-size: 11.5px; font-weight: 500; min-width: 20px; text-align: center;
  padding: 0 6px; border-radius: var(--r-badge); background: #3A2522; color: #F2B8B2;
}
.nav a:focus-visible { outline-offset: -2px; }

.sidebar-foot { border-top: 1px solid var(--ink-2); padding: 14px 20px 18px; font-size: 12.5px; }
.sidebar-foot .who { color: #fff; font-weight: 500; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot .who-sub { color: #8E9BA5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot form { margin-top: 10px; }
.btn-ghost-dark {
  background: transparent; border: 1px solid var(--ink-3); color: #C2CBD2; height: 28px; padding: 0 10px;
  border-radius: var(--r-control); font: inherit; font-size: 12.5px; cursor: pointer;
}
.btn-ghost-dark:hover { background: var(--ink-2); color: #fff; }

.main { min-width: 0; display: flex; flex-direction: column; background: var(--paper); }
.topbar {
  height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 32px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); min-width: 0; }
.crumbs a { color: var(--text-2); }
.crumbs .sep { color: var(--line-strong); }
.crumbs .current { color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar-meta { font-size: 12.5px; color: var(--text-3); white-space: nowrap; }

.content { padding: 24px 32px 48px; width: 100%; max-width: 1480px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 21px; letter-spacing: -0.1px; }
.page-head .sub { color: var(--text-2); margin-top: 4px; font-size: 13.5px; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Paneller ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.panel + .panel, .panel + .grid, .grid + .panel, .grid + .grid, .kpis + .grid, .kpis + .panel, .flash + .panel { margin-top: 20px; }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 52px;
}
.panel-head h2 { font-size: 14.5px; }
.panel-head .hint { font-size: 12.5px; color: var(--text-3); font-weight: 400; margin-left: 8px; }
.panel-body { padding: 16px; }
.panel-body.tight { padding: 12px 16px; }
.panel-foot { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text-2); }
.panel > .table-wrap:last-child table tr:last-child td { border-bottom: 0; }
.panel-link { font-size: 13px; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.grid > .panel + .panel, .grid > .grid, .grid > .panel + .grid, .grid > .grid + .panel { margin-top: 0; }

/* Göstergeler — tek panel, ince ayraçlar */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); }
.kpis.kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kpis.kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kpi { padding: 14px 18px 16px; border-left: 1px solid var(--line); min-width: 0; color: inherit; display: block; }
.kpi:first-child { border-left: 0; }
a.kpi:hover { text-decoration: none; background: var(--surface-2); }
.kpi-label { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value { font-size: 26px; font-weight: 600; color: var(--ink); line-height: 1.25; margin-top: 4px; letter-spacing: -0.3px; }
.kpi-note { font-size: 12px; color: var(--text-3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value.is-danger { color: var(--danger); }
.kpi-value.is-warning { color: var(--warning); }

/* ---------- Tablolar ---------- */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left; font-weight: 500; font-size: 12.5px; color: var(--text-2);
  background: var(--surface-2); padding: 8px 12px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table th:first-child, .table td:first-child { padding-left: 16px; }
.table th:last-child, .table td:last-child { padding-right: 16px; }
.table td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:hover td { background: #FAFBFC; }
.table .num, .table th.num { text-align: right; }
.table .actions { text-align: right; white-space: nowrap; }
.table .strong { font-weight: 500; color: var(--text); }
.table .sub { display: block; font-size: 12.5px; color: var(--text-3); }
.table a.strong { color: var(--text); }
.table a.strong:hover { color: var(--info); }
.table.table-compact td { padding-top: 7px; padding-bottom: 7px; }
.table tr.is-muted td { color: var(--text-3); }
.key { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.2px; white-space: nowrap; color: var(--ink); }
.empty { padding: 36px 16px; text-align: center; color: var(--text-2); }
.empty strong { display: block; color: var(--text); font-weight: 500; margin-bottom: 2px; }

/* Tanım listesi */
.dl { display: grid; grid-template-columns: 170px minmax(0, 1fr); margin: 0; }
.dl dt, .dl dd { padding: 9px 16px; border-bottom: 1px solid var(--line-soft); margin: 0; font-size: 13.5px; }
.dl dt { color: var(--text-2); padding-right: 0; }
.dl dd { min-width: 0; overflow-wrap: anywhere; }
.dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- Rozetler ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 20px; padding: 0 7px;
  border-radius: var(--r-badge); font-size: 12px; font-weight: 500; white-space: nowrap; line-height: 1;
  background: var(--neutral-bg); color: var(--neutral);
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.badge.plain::before { display: none; }
.badge--success { background: var(--success-bg); color: var(--success); }
.badge--warning { background: var(--warning-bg); color: var(--warning); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }
.badge--info { background: var(--info-bg); color: var(--info); }
.badge--brass { background: var(--brass-light); color: var(--brand-dark); }
.tag { display: inline-block; padding: 0 6px; height: 20px; line-height: 19px; border: 1px solid var(--line); border-radius: var(--r-badge); font-size: 12px; color: var(--text-2); background: var(--surface); white-space: nowrap; margin: 1px 2px 1px 0; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); margin-right: 6px; vertical-align: 1px; }
.dot--success { background: var(--success); } .dot--danger { background: var(--danger); } .dot--warning { background: var(--warning); }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: var(--r-control);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text);
  font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--surface-2); border-color: #B3BDC5; text-decoration: none; }
.btn:active { background: #EEF1F3; }
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-primary:active { background: var(--brand-dark); }
.btn-danger { color: var(--danger); border-color: #E7C2BE; }
.btn-danger:hover { background: var(--danger-bg); border-color: #DDA9A3; }
.btn-danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-solid:hover { background: #9C2019; border-color: #9C2019; }
.btn-sm { height: 28px; padding: 0 10px; font-size: 13px; }
.btn-link { background: none; border: 0; padding: 0; height: auto; color: var(--info); font: inherit; font-size: 13px; cursor: pointer; }
.btn-link:hover { text-decoration: underline; text-underline-offset: 2px; background: none; }
.btn-link.danger { color: var(--danger); }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.btn-group { display: inline-flex; gap: 6px; flex-wrap: wrap; }
form.inline { display: inline; }

/* ---------- Formlar ---------- */
.form { max-width: 880px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field-label { font-size: 13px; font-weight: 500; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-control);
}
.textarea { height: auto; min-height: 84px; padding: 8px 10px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 30px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%235B6873' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.input:hover, .select:hover, .textarea:hover { border-color: #AEB8C0; }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--brass); outline-offset: -1px; border-color: var(--brass); }
.input[readonly] { background: var(--surface-2); color: var(--text-2); }
.input.is-invalid, .select.is-invalid, .textarea.is-invalid { border-color: var(--danger); }
.input-sm, .select.input-sm { height: 32px; font-size: 13.5px; }
.help { font-size: 12.5px; color: var(--text-3); }
.error-text { font-size: 12.5px; color: var(--danger); }
.form-actions { display: flex; gap: 8px; align-items: center; padding: 14px 16px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.form-section { padding: 18px 16px; border-bottom: 1px solid var(--line-soft); }
.form-section:last-of-type { border-bottom: 0; }
.form-section h3 { font-size: 13.5px; margin-bottom: 4px; }
.form-section > .help { margin: 0 0 14px; }

.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; padding: 3px 0; }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; }
.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }

/* Süzgeç çubuğu */
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.filters .input, .filters .select { height: 32px; font-size: 13.5px; width: auto; }
.filters .input[type="search"] { min-width: 260px; }
.filters .spacer { flex: 1 1 auto; }
.bulk-bar { background: var(--surface); }
.table th.select-col, .table td.select-col { width: 36px; padding-right: 0; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--r-control); overflow: hidden; }
.seg a { padding: 0 12px; height: 30px; display: inline-flex; align-items: center; font-size: 13px; color: var(--text-2); border-left: 1px solid var(--line); }
.seg a:first-child { border-left: 0; }
.seg a:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.seg a.is-active { background: var(--ink); color: #fff; }

/* ---------- Bildirimler ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1px solid; border-radius: var(--r-panel); margin-bottom: 20px; font-size: 13.5px; }
.flash--success { background: var(--success-bg); border-color: #BFDCCD; color: #1F5A40; }
.flash--danger { background: var(--danger-bg); border-color: #EDC0BB; color: #8A1D17; }
.flash--warning { background: var(--warning-bg); border-color: #EBCF9F; color: #74490C; }
.flash--info { background: var(--info-bg); border-color: #BCD3E4; color: #1F4E6E; }
.flash ul { margin: 4px 0 0; padding-left: 18px; }
.flash .key { color: inherit; }
.callout { padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: var(--r-control); background: var(--surface-2); font-size: 13.5px; }

/* Anahtar listesi / kod bloğu */
.codebox { position: relative; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-control); padding: 12px 14px; font-family: var(--mono); font-size: 12px; line-height: 1.55; white-space: pre-wrap; word-break: break-all; color: var(--ink); max-height: 360px; overflow: auto; margin: 0; }

/* ---------- Grafik ---------- */
.chart { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--text-3); font-variant-numeric: tabular-nums; }
.chart .grid-line { stroke: var(--line-soft); stroke-width: 1; }
.chart .axis { stroke: var(--line); stroke-width: 1; }
.chart .bar-success { fill: var(--success); }
.chart .bar-warning { fill: #D9A54A; }
.chart .bar-failed { fill: var(--danger); }
.chart rect.hit { fill: transparent; }
.chart g.day:hover rect.hit { fill: rgba(20, 33, 43, .04); }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }

/* Kullanım çubuğu */
.meter { height: 6px; background: var(--line-soft); border-radius: 3px; overflow: hidden; min-width: 60px; }
.meter > span { display: block; height: 100%; background: var(--ink); }
.meter.is-full > span { background: var(--warning); }

/* ---------- Sayfalama ---------- */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); flex-wrap: wrap; }
.pager-links { display: flex; gap: 4px; }
.pager-links a, .pager-links span { min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-control); color: var(--text); background: var(--surface); font-variant-numeric: tabular-nums; }
.pager-links a:hover { background: var(--surface-2); text-decoration: none; }
.pager-links .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager-links .is-disabled { color: var(--text-3); background: var(--surface-2); }

/* ---------- Kipli iletişim kutusu ---------- */
dialog.modal { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 0; width: min(440px, calc(100vw - 32px)); color: var(--text); background: var(--surface); }
dialog.modal::backdrop { background: rgba(20, 33, 43, .48); }
.modal-body { padding: 20px 20px 8px; }
.modal-body h2 { font-size: 16px; margin-bottom: 8px; }
.modal-body p { color: var(--text-2); font-size: 13.5px; margin: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px 18px; }

/* ---------- Oturum açma ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 5fr) 7fr; }
.auth-side { background: var(--ink); color: #B9C3CB; padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side .brand { padding: 0; }
.auth-side h2 { color: #fff; font-size: 24px; font-weight: 500; line-height: 1.35; max-width: 380px; letter-spacing: -0.2px; }
.auth-side p { max-width: 380px; margin-top: 14px; color: #A7B2BA; font-size: 14px; }
.auth-side .rule { width: 32px; height: 2px; background: var(--brass); margin-bottom: 20px; }
.auth-side .foot { font-size: 12.5px; color: #75838E; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 22px; margin-bottom: 6px; }
.auth-card .sub { color: var(--text-2); margin-bottom: 24px; }
.auth-card .field + .field { margin-top: 16px; }
.auth-card .btn-primary { width: 100%; height: 40px; margin-top: 20px; font-size: 14px; }
.auth-switch { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Genel sayfalar ---------- */
.site-head { background: var(--ink); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.site-head nav { display: flex; gap: 4px; }
.site-head nav a { color: #C2CBD2; font-size: 13.5px; padding: 7px 12px; border-radius: var(--r-control); }
.site-head nav a:hover { background: var(--ink-2); color: #fff; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.hero { background: var(--ink); color: #B9C3CB; padding: 64px 0 72px; border-top: 1px solid var(--ink-2); }
.hero .eyebrow { font-size: 13px; color: var(--brand-light); font-weight: 500; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: 38px; font-weight: 500; line-height: 1.2; max-width: 700px; letter-spacing: -0.6px; }
.hero p { max-width: 620px; font-size: 16px; margin-top: 18px; color: #A7B2BA; }
.hero .row { margin-top: 28px; gap: 10px; }
.hero .btn { height: 40px; padding: 0 18px; }
.hero .btn-brass { background: var(--brass); border-color: var(--brass); color: #fff; }
.hero .btn-brass:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.hero .btn-outline { background: transparent; border-color: #3A4E5D; color: #E3E8EC; }
.hero .btn-outline:hover { background: var(--ink-2); }
.section { padding: 56px 0; }
.section h2 { font-size: 22px; margin-bottom: 8px; }
.section .lead { color: var(--text-2); max-width: 640px; margin-bottom: 28px; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.feature { padding: 22px 24px; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.feature:nth-child(3n+1) { border-left: 0; }
.feature:nth-child(-n+3) { border-top: 0; }
.feature h3 { font-size: 15px; margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 13.5px; margin: 0; }
.portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.portal-link { display: block; padding: 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); color: var(--text); }
.portal-link:hover { border-color: var(--ink); text-decoration: none; }
.portal-link strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; font-weight: 600; }
.portal-link span { color: var(--text-2); font-size: 13.5px; }
.site-foot { border-top: 1px solid var(--line); padding: 24px 0 32px; font-size: 13px; color: var(--text-3); }
.status-list { list-style: none; margin: 0; padding: 0; }
.status-list li { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.status-list li:last-child { border-bottom: 0; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1280px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis .kpi:nth-child(3n+1) { border-left: 0; }
  .kpis .kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
  .kpis.kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis.kpis-4 .kpi { border-left: 1px solid var(--line); border-top: 0; }
  .kpis.kpis-4 .kpi:nth-child(odd) { border-left: 0; }
  .kpis.kpis-4 .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-main { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .brand { padding: 12px 16px; }
  .nav { order: 3; width: 100%; display: flex; overflow-x: auto; padding: 0 8px 8px; gap: 2px; }
  .nav-section { display: none; }
  .nav a { white-space: nowrap; }
  .nav a.is-active::before { left: 8px; right: 8px; top: auto; bottom: 0; width: auto; height: 2px; border-radius: 2px 2px 0 0; }
  .sidebar-foot { border-top: 0; margin-left: auto; padding: 8px 16px; display: flex; align-items: center; gap: 12px; }
  .sidebar-foot form { margin-top: 0; }
  .sidebar-foot .who-sub { display: none; }
  .topbar, .content { padding-left: 20px; padding-right: 20px; }
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .form-grid, .form-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { padding: 28px 24px; }
  .auth-side .foot, .auth-side p { display: none; }
  .features, .portals { grid-template-columns: minmax(0, 1fr); }
  .feature { border-left: 0 !important; border-top: 1px solid var(--line) !important; }
  .feature:first-child { border-top: 0 !important; }
  .dl { grid-template-columns: 130px minmax(0, 1fr); }
  .filters .input[type="search"] { min-width: 0; width: 100%; }
}
@media (max-width: 640px) {
  .kpis, .kpis.kpis-4, .kpis.kpis-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis .kpi { border-left: 1px solid var(--line) !important; border-top: 1px solid var(--line) !important; }
  .kpis .kpi:nth-child(odd) { border-left: 0 !important; }
  .kpis .kpi:nth-child(-n+2) { border-top: 0 !important; }
  .hero h1 { font-size: 28px; }
}

@media print {
  .sidebar, .topbar, .page-head .actions, .filters, .pager { display: none !important; }
  .app { display: block; }
  .panel { border-color: #bbb; }
}

/* ---------- Kodvanta marka katmanı ---------- */
h1, h2, h3, .hero h1, .stat-value, .kpi-value { font-family: var(--display); }
.brand { flex-wrap: wrap; row-gap: 6px; }

/* ---------- Şifre sıfırlama / giriş ekleri ---------- */
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-row label { font-size: 13px; font-weight: 500; color: var(--text); }
.label-row a { font-size: 13px; }
.auth-note { margin: 18px 0 0; font-size: 12.5px; color: var(--text-3); line-height: 1.55; }
.auth-card > a.btn-primary { width: 100%; height: 40px; margin-top: 4px; }

/* ---------- Genel site: üst ve alt bilgi ---------- */
.site-head nav { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.site-head nav a[aria-current="page"] { color: #fff; background: var(--ink-2); }
.site-head-sep { width: 1px; height: 18px; background: var(--ink-3); margin: 0 6px; }
.site-head nav a.site-head-cta { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; background: var(--brass); color: #fff; font-weight: 500; padding: 7px 14px; }
.site-head nav a.site-head-cta:hover { background: var(--brand-dark); }
.site-head nav a.site-head-cta svg { width: 15px; height: 15px; }
.site-foot-links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-foot-links a { color: var(--text-2); }
.site-foot-contact { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; }
.site-foot-contact a { color: var(--text-2); }
.hero .btn svg { width: 16px; height: 16px; }
.hero-meta { margin-top: 18px; font-size: 13px; color: #8E9BA5; }
.portals.portals-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Sayfa başlık bandı (indirme, dokümanlar) */
.page-band { background: var(--ink); color: #B9C3CB; padding: 44px 0 48px; border-top: 1px solid var(--ink-2); }
.page-band .eyebrow { font-size: 13px; color: var(--brand-light); font-weight: 500; margin-bottom: 10px; }
.page-band h1 { color: #fff; font-size: 32px; font-weight: 500; letter-spacing: -0.4px; line-height: 1.2; }
.page-band p { max-width: 680px; margin: 14px 0 0; font-size: 15px; color: #A7B2BA; }
.page-band-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 18px; font-size: 13px; color: #8E9BA5; }
.btn-link-light { background: none; border: 0; padding: 0; font: inherit; color: #C9DCF6; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(201, 220, 246, .4); }
.btn-link-light:hover { color: #fff; }
.section-tight { padding-top: 32px; }

/* ---------- İndirme sayfası ---------- */
.dl-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; align-items: start; margin-bottom: 20px; }
.dl-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dl-card { border-top: 3px solid var(--brass); }
.dl-version { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.dl-version-num { font-family: var(--display); font-size: 34px; font-weight: 600; color: var(--ink); letter-spacing: -0.5px; line-height: 1.1; }
.dl.dl-plain { grid-template-columns: 110px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-control); margin-bottom: 18px; }
.dl.dl-plain dt, .dl.dl-plain dd { padding: 9px 12px; }
.hash-row { display: flex; gap: 8px; align-items: flex-start; }
.hash { flex: 1 1 auto; font-size: 12px; line-height: 1.6; word-break: break-all; color: var(--ink); }
.btn-xl { height: 46px; padding: 0 22px; font-size: 15px; width: 100%; }
.btn-xl svg { width: 17px; height: 17px; }
.dl-verify { flex-direction: column; align-items: flex-start; gap: 6px; background: var(--surface-2); border-radius: 0 0 var(--r-panel) var(--r-panel); }
.dl-verify code { font-size: 12px; color: var(--ink); word-break: break-all; }

/* Numaralı adımlar */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 12px 36px; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--brass);
  font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums;
}
.steps > li:not(:last-child)::after { content: ""; position: absolute; left: 11.5px; top: 27px; bottom: 3px; width: 1px; background: var(--line); }
.steps strong { font-weight: 600; color: var(--ink); }
.steps-compact > li { padding-bottom: 8px; }

/* Sürüm geçmişi */
.release-list { list-style: none; margin: 0; padding: 0; }
.release-list > li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 16px; border-bottom: 1px solid var(--line-soft); }
.release-list > li:last-child { border-bottom: 0; }
.release-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; align-content: flex-start; font-size: 13px; }
.release-version { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); }
.release-notes { white-space: pre-line; font-size: 13.5px; line-height: 1.6; max-width: 80ch; }
.release-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; }

/* ---------- Doküman sayfaları ---------- */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; padding-top: 36px; padding-bottom: 56px; align-items: start; }
.docs-toc { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; font-size: 13px; padding-right: 4px; }
.docs-toc-title { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; padding-left: 12px; }
.docs-toc ol { list-style: none; margin: 0; padding: 0; }
.docs-toc > ol { border-left: 1px solid var(--line); }
.docs-toc a { display: block; padding: 4px 10px 4px 12px; margin-left: -1px; border-left: 2px solid transparent; color: var(--text-2); line-height: 1.4; }
.docs-toc a:hover { color: var(--ink); text-decoration: none; }
.docs-toc a.is-active { color: var(--brass); border-left-color: var(--brass); font-weight: 500; }
.docs-toc ol ol a { padding-left: 24px; font-size: 12.5px; color: var(--text-3); }
.docs-toc ol ol a.is-active { color: var(--brass); }
.docs-toc-foot { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding: 14px 0 0 12px; border-top: 1px solid var(--line); }

.docs-body { max-width: 72ch; font-size: 15px; line-height: 1.7; color: var(--text); min-width: 0; }
.docs-body > section { padding-bottom: 12px; }
.docs-body > section + section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 16px; }
.docs-body h2 { font-size: 24px; letter-spacing: -0.3px; margin: 0 0 14px; }
.docs-body h3 { font-size: 18px; margin: 28px 0 10px; }
.docs-body h4 { font-size: 15.5px; margin: 22px 0 8px; font-family: var(--display); }
.docs-body p { margin: 0 0 14px; }
.docs-body ul { margin: 0 0 14px; padding-left: 20px; }
.docs-body ul > li { margin-bottom: 6px; }
.docs-body ul > li::marker { color: var(--text-3); }
.docs-body .steps { margin: 0 0 16px; }
.docs-body .steps > li { font-size: 15px; line-height: 1.65; padding-bottom: 14px; padding-left: 38px; }
.docs-body .steps > li::before { top: 2px; }
.docs-body .steps > li:not(:last-child)::after { top: 29px; }
.docs-body code { font-size: 13px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.docs-body strong { font-weight: 600; color: var(--ink); }
.docs-body .callout { font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; padding: 14px 16px; background: var(--brass-light); border-color: #CFDDF3; border-left-color: var(--brass); }
.docs-body .callout-danger { background: var(--danger-bg); border-color: #EDC0BB; border-left-color: var(--danger); }
.docs-body .callout-danger strong { color: #8A1D17; }
.doc-h { position: relative; scroll-margin-top: 20px; }
.doc-anchor { margin-left: 8px; font-weight: 400; color: var(--line-strong); opacity: 0; transition: opacity .12s; text-decoration: none; }
.doc-h:hover .doc-anchor, .doc-anchor:focus-visible { opacity: 1; }
.doc-anchor:hover { color: var(--brass); text-decoration: none; }
.doc-table { border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); margin: 0 0 16px; }
.doc-table .table { font-size: 13.5px; }
.doc-table .table td { vertical-align: top; line-height: 1.5; }
.doc-table .table tbody tr:last-child td { border-bottom: 0; }
.doc-figure { margin: 4px 0 22px; }
.doc-figure a { display: block; }
.doc-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.doc-figure figcaption { font-size: 13px; color: var(--text-3); margin-top: 8px; line-height: 1.5; }
.doc-sample { font-family: var(--mono); font-size: 12.5px; white-space: pre-wrap; word-break: normal; overflow-wrap: anywhere; margin: 0 0 16px; max-height: none; }
.docs-end { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }

@media (max-width: 960px) {
  .site-head .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 8px; }
  .site-head nav { justify-content: flex-start; }
  .site-head-sep { display: none; }
  .site-head nav a.site-head-cta { margin-left: 0; }
  .portals.portals-2, .dl-grid, .dl-grid-even { grid-template-columns: minmax(0, 1fr); }
  .release-list > li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; }
  .docs-toc { position: static; max-height: none; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); padding: 14px 12px; }
  .docs-toc ol ol { display: none; }
  .page-band h1 { font-size: 26px; }
  .wrap { padding: 0 20px; }
}

@media print {
  .site-head, .site-foot, .docs-toc, .page-band-meta, .doc-anchor, .skip-link, .btn { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .page-band { background: none; color: #000; padding: 0 0 12pt; border: 0; }
  .page-band h1 { color: #000; font-size: 22pt; }
  .page-band p, .page-band .eyebrow { color: #333; }
  .wrap { max-width: none; padding: 0; }
  .docs { display: block; padding: 0; }
  .docs-body { max-width: none; font-size: 10.5pt; line-height: 1.55; }
  .docs-body > section + section { border-top: 0; padding-top: 6pt; }
  .docs-body h2, .docs-body h3, .docs-body h4 { break-after: avoid; page-break-after: avoid; }
  .doc-figure, .callout, .doc-table, .steps > li { break-inside: avoid; page-break-inside: avoid; }
  .doc-figure img { max-height: 9cm; width: auto; max-width: 100%; }
  .docs-body a { color: #000; text-decoration: none; }
  .callout { background: none !important; }
}
.dl-grid > .panel + .panel, .dl-grid > section + section { margin-top: 0; }
.docs-toc-foot a { padding: 0; margin: 0; border: 0; color: var(--info); }
@media (max-width: 640px) { .hash-row { flex-direction: column; } .dl.dl-plain { grid-template-columns: 84px minmax(0, 1fr); } }

/* İndirme sayfası: diğer Windows sürümleri */
.dl-editions { margin-bottom: 20px; }
.dl-alt-list { list-style: none; margin: 0; padding: 0; }
.dl-alt-list > li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 16px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.dl-alt-list > li:last-child { border-bottom: 0; }
.dl-alt-list > li[hidden] { display: none; }
.dl-alt-name { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.dl-alt-name strong { font-weight: 600; color: var(--ink); }
.dl-alt-name .faint { font-size: 12.5px; }
.dl-alt-meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; min-width: 0; }
.dl-alt-meta code { font-size: 12px; }
@media (max-width: 900px) { .dl-alt-list > li { grid-template-columns: minmax(0, 1fr); gap: 8px; } .dl-alt-list > li .btn { justify-self: start; } }

/* Portal: dosya geri yükleme */
.restore-search { margin-left: auto; min-width: 260px; }
.restore-search .input { height: 32px; }
.restore-dest { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.restore-dest label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.restore-dest label input { margin-top: 3px; }
.restore-dest label > span { display: flex; flex-direction: column; gap: 2px; }
.crumb { color: var(--info); cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }
.crumb:hover { text-decoration: underline; }
.crumb-sep { color: var(--text-3); margin: 0 6px; }
.row-dir td:nth-child(2) button { font-weight: 500; color: var(--text); background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.row-dir td:nth-child(2) button:hover { color: var(--info); }

/* Portal: uzaktan yönetim günlüğü */
.logview { max-height: 480px; overflow: auto; margin: 0; padding: 12px; background: #0F1A24; color: #DCE3EA; border-radius: 6px; font: 12px/1.55 var(--mono); white-space: pre-wrap; word-break: break-word; }

/* ---------- Paneller: dar ekran menüsü ve dokunma hedefleri (masaüstü görünümü değişmez) ---------- */
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .js .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; margin: 0 12px 0 auto; min-height: 44px; padding: 0 12px;
    background: transparent; color: #fff; border: 1px solid var(--ink-3); border-radius: var(--r-control); font: inherit; font-size: 14px; cursor: pointer;
  }
  .nav-toggle svg { width: 20px; height: 20px; }
  .nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
  .nav-toggle[aria-expanded="true"] .i-close { display: block; }
  .nav-toggle .count { font-size: 11.5px; font-weight: 500; padding: 0 6px; border-radius: var(--r-badge); background: #3A2522; color: #F2B8B2; }
  .js .sidebar { position: sticky; top: 0; z-index: 30; max-height: 100vh; max-height: 100dvh; }
  .js .sidebar:not(.is-open) .nav, .js .sidebar:not(.is-open) .sidebar-foot { display: none; }
  .js .sidebar.is-open { overflow-y: auto; }
  .js .sidebar.is-open .nav { display: block; overflow: visible; padding: 4px 12px 8px; border-top: 1px solid var(--ink-2); }
  .js .sidebar.is-open .nav-section { display: block; padding: 12px 10px 4px; }
  .js .sidebar.is-open .nav a { min-height: 44px; font-size: 14.5px; }
  .js .sidebar.is-open .nav a.is-active::before { left: -12px; right: auto; top: 8px; bottom: 8px; width: 3px; height: auto; border-radius: 0 2px 2px 0; }
  .js .sidebar.is-open .sidebar-foot { width: 100%; margin: 0; padding: 12px 20px 16px; border-top: 1px solid var(--ink-2); justify-content: space-between; }
  .js .sidebar.is-open .sidebar-foot .who-sub { display: block; }
  .js .sidebar.is-open .btn-ghost-dark { min-height: 40px; }
  .page-head .actions .btn, .filters .btn, .filters .select, .filters .input { min-height: 40px; }
  .table .actions .btn-sm { min-height: 36px; }
}
@media (max-width: 640px) {
  .topbar { height: auto; min-height: 48px; padding-top: 8px; padding-bottom: 8px; }
  .topbar-meta { display: none; }
  .crumbs { flex-wrap: wrap; row-gap: 2px; }
  .content { padding: 18px 16px 40px; }
  .topbar { padding-left: 16px; padding-right: 16px; }
  .page-head { align-items: flex-start; }
  .page-head .actions { width: 100%; }
  .panel-head { padding: 12px 14px; }
  .panel-foot { flex-wrap: wrap; }
  .dl { grid-template-columns: minmax(0, 1fr); }
  .dl dt { padding-bottom: 0; border-bottom: 0; font-weight: 500; }
  .dl > :nth-last-child(2) { border-bottom: 0; }
  .filters { padding: 10px 14px; }
  .filters .input, .filters .select { flex: 1 1 140px; }
  .restore-search { min-width: 0; width: 100%; margin-left: 0; }
  .pager-links a, .pager-links span { min-width: 40px; height: 40px; }
  .auth-main { padding: 28px 20px 40px; align-items: flex-start; }
  .auth-side { padding: 20px; }
  .auth-side h2 { font-size: 19px; }
  .auth-card .input { height: 44px; font-size: 16px; }
  .auth-card .btn-primary { height: 48px; }
  .label-row a, .auth-switch a { display: inline-flex; min-height: 40px; align-items: center; }
  .input, .select { font-size: 16px; }
}
@media (max-width: 960px) {
  .table-wrap { position: relative; -webkit-overflow-scrolling: touch; }
  .label-row a, .auth-switch a { display: inline-flex; min-height: 44px; align-items: center; }
  .auth-card .input { height: 44px; }
  .auth-card .btn-primary { height: 48px; }
}
@media (max-width: 960px) {
  .js .sidebar { flex-wrap: wrap; align-items: center; }
  .js .sidebar > .brand { flex: 1 1 0; min-width: 0; flex-wrap: nowrap; padding: 10px 16px; gap: 10px; }
  .js .sidebar > .brand .brand-mark { height: 20px; }
  .js .sidebar > .brand .brand-area { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .js .nav-toggle { flex: none; }
  .js .sidebar.is-open .sidebar-foot { order: 4; }
}
@media (max-width: 380px) {
  .js .sidebar > .brand .brand-area { display: none; }
  .nav-toggle > span:not(.count) { display: none; }
}
@media (max-width: 960px) { .app { grid-template-rows: auto 1fr; } }
