/* GPanel — graphite + amber, rafine koyu yönetim teması.
   Gamze • Duru • Deren (kaynak-içi ithaf). */

:root {
  /* yüzeyler (katmanlı derinlik) */
  --bg:        #0d0f13;
  --bg-2:      #13161c;
  --panel:     #171b22;
  --panel-2:   #1c212a;
  --panel-3:   #222834;
  --line:      #272d38;
  --line-soft: #1f242d;
  /* metin */
  --txt:       #e7e9ee;
  --txt-dim:   #a9b0bc;
  --muted:     #737a86;
  /* amber vurgu */
  --amber:       #f0b429;
  --amber-dim:   #cf971c;
  --amber-ghost: rgba(240,180,41,.12);
  --amber-soft:  rgba(240,180,41,.20);
  /* durum renkleri */
  --ok:        #4cc38a;
  --ok-bg:     rgba(76,195,138,.13);
  --danger:    #f0616d;
  --danger-bg: rgba(240,97,109,.13);
  --info:      #5b9ef0;
  --info-bg:   rgba(91,158,240,.14);
  --warn:      #e8a13a;
  --warn-bg:   rgba(232,161,58,.14);
  /* biçim */
  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --shadow:    0 1px 2px rgba(0,0,0,.28), 0 14px 32px -16px rgba(0,0,0,.55);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --ring:      0 0 0 3px var(--amber-ghost);
  --font-sans: ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SF Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --sidebar-w: 248px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--amber); text-decoration: none; transition: color .12s; }
a:hover { color: var(--amber-dim); }
h2 { font-size: 17px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
h3 { font-size: 14px; font-weight: 600; margin: 0; }
hr { border: none; border-top: 1px solid var(--line); margin: 4px 0; }

/* ── Utilities ──────────────────────────────────────────────── */
.mono   { font-family: var(--font-mono); font-size: 12.5px; }
.muted  { color: var(--muted); }
.strong { font-weight: 600; }
.sub    { font-size: 12px; margin-top: 2px; }
.ta-right { text-align: right; }

/* ── App shell ──────────────────────────────────────────────── */
.app { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--sidebar-w);
  flex: 0 0 var(--sidebar-w);
  background: linear-gradient(180deg, #12151b, #0c0e12);
  border-right: 1px solid var(--line);
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
}

.brand { display: flex; align-items: center; gap: 11px; padding: 6px 8px 16px; }
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--amber), var(--amber-dim));
  color: #1a1205; font-weight: 800; font-family: var(--font-mono); font-size: 17px;
  box-shadow: 0 4px 14px rgba(240,180,41,.30);
}
.brand-mark.lg { width: 46px; height: 46px; font-size: 23px; border-radius: 12px; }
.brand-name { font-weight: 700; letter-spacing: .02em; font-size: 16px; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-item {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  color: var(--txt-dim); font-weight: 500; font-size: 13.5px;
  transition: background .12s, color .12s;
}
.nav-item:hover { background: var(--panel); color: var(--txt); }
.nav-item.active { background: var(--amber-ghost); color: var(--amber); }
.nav-item.active::before {
  content: ""; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 18px; border-radius: 0 3px 3px 0; background: var(--amber);
}
.nav-item.active .nav-ic { color: var(--amber); }
.nav-ic { width: 18px; text-align: center; font-size: 14px; color: var(--muted); flex: 0 0 18px; }
.nav-sep {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--muted); padding: 14px 12px 4px; font-weight: 600;
}
.nav .ic, .nav-item .ic {
  width: 18px; height: 18px; flex: 0 0 18px;
  display: block; fill: currentColor; color: var(--muted);
  transition: color .12s;
}
.nav-item:hover .ic { color: var(--txt-dim); }
.nav-item.active .ic { color: var(--amber); }

/* ── Main + topbar ──────────────────────────────────────────── */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 62px;
  border-bottom: 1px solid var(--line);
  background: rgba(13,15,19,.72);
  backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 10;
}
.topbar-title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.topbar-user { display: flex; align-items: center; gap: 16px; }
.u-meta { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.u-name { font-weight: 600; font-size: 13px; }
.u-role { font-size: 11px; color: var(--muted); }
.logout-form { margin: 0; }

/* İç alan artık main gövdeyi tamamen doldurur.
   Böylece sidebar ile sağ ekran kenarı arasındaki sol/sağ boşluklar eşit kalır. */
.content { padding: 28px; width: 100%; max-width: none; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  vertical-align: middle;
  font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 15px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s, transform .04s;
  white-space: nowrap; line-height: 1.2;
}
.btn:active { transform: translateY(.5px); }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-xs { padding: 5px 10px; font-size: 12px; border-radius: 7px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--amber); color: #1a1205; border-color: var(--amber); box-shadow: 0 2px 10px -3px rgba(240,180,41,.5); }
.btn-primary:hover { background: var(--amber-dim); border-color: var(--amber-dim); color: #1a1205; }
.btn-ghost { background: var(--panel-2); color: var(--txt-dim); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-3); color: var(--txt); border-color: #34404f; }
.btn-danger { background: transparent; color: var(--danger); border-color: rgba(240,97,109,.4); }
.btn-danger:hover { background: var(--danger-bg); color: var(--danger); border-color: rgba(240,97,109,.6); }
.btn svg { width: 15px; height: 15px; fill: currentColor; }

/* ── Flash ──────────────────────────────────────────────────── */
.flashes { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.flash {
  padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px;
  border: 1px solid var(--line); border-left-width: 3px;
}
.flash-ok  { background: var(--ok-bg);     border-color: rgba(76,195,138,.4);  border-left-color: var(--ok);     color: #8ee0b5; }
.flash-err { background: var(--danger-bg); border-color: rgba(240,97,109,.4);  border-left-color: var(--danger); color: #f2949c; }

/* ── Page / section heads ───────────────────────────────────── */
.panel-block { margin-top: 26px; }
.panel-block:first-child { margin-top: 0; }
.block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.block-head h2, .block-head h3 { display: flex; align-items: center; gap: 11px; min-width: 0; }

/* başlık ikon çipi */
.head-ic {
  flex: 0 0 auto; display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--amber-ghost); color: var(--amber);
}
.head-ic svg { width: 17px; height: 17px; fill: currentColor; display: block; }
.block-head h2[style] .head-ic, .block-head h3 .head-ic { width: 27px; height: 27px; border-radius: 8px; }
.block-head h2[style] .head-ic svg, .block-head h3 .head-ic svg { width: 15px; height: 15px; }

.lead { color: var(--txt-dim); margin: -6px 0 18px; max-width: 760px; }

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 20px; border-bottom: 1px solid var(--line);
}
.card-head h2, .card-head h3 { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.card-body { padding: 20px; }

/* ── Stat cards ─────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px;
  display: block; box-shadow: var(--shadow-sm);
  transition: border-color .12s, transform .12s, box-shadow .12s;
}
a.stat-card:hover { border-color: #34404f; transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-val { font-family: var(--font-mono); font-size: 30px; font-weight: 700; color: var(--txt); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: 12px; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.stat-ic {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--amber-ghost); color: var(--amber);
}
.stat-ic svg { width: 19px; height: 19px; fill: currentColor; }

/* ── Tables ─────────────────────────────────────────────────── */
.table {
  width: 100%; border-collapse: collapse;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.table thead th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted); font-weight: 600;
  padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--bg-2);
  white-space: nowrap;
}
.table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .1s; }
.table tbody tr:hover { background: var(--panel-2); }

/* tablo işlem hücresi — butonlar tek satırda, hizalı, taşınca sarar */
.table td.ta-right {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: flex-end; align-items: center;
}
.inline { display: inline-flex; align-items: center; margin: 0; }
.del-form { display: inline-flex; margin: 0; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px;
  font-size: 11.5px; font-weight: 600;
  background: var(--panel-3); color: var(--txt-dim);
}
.badge-ok   { background: var(--ok-bg);     color: var(--ok); }
.badge-off  { background: rgba(118,125,137,.16); color: var(--muted); }
.badge-info { background: var(--info-bg);   color: var(--info); }
.badge-warn { background: var(--warn-bg);   color: var(--warn); }

/* ── Empty state ────────────────────────────────────────────── */
.empty {
  background: var(--panel); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 38px; text-align: center; color: var(--txt-dim);
}

/* ── Tabs (DNS kayıt türleri vb.) ───────────────────────────── */
.tab-bar {
  display: flex; flex-wrap: wrap; gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.tab {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: inherit; font-size: 13px; font-weight: 600;
  color: var(--txt-dim); background: transparent;
  border: none; border-bottom: 2px solid transparent;
  padding: 10px 15px; margin-bottom: -1px; cursor: pointer;
  transition: color .12s, border-color .12s;
}
.tab:hover { color: var(--txt); }
.tab.active { color: var(--amber); border-bottom-color: var(--amber); }
.tab-count {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  background: rgba(118,125,137,.18); color: var(--muted);
  padding: 1px 7px; border-radius: 20px; min-width: 16px; text-align: center;
  transition: background .12s, color .12s;
}
.tab.active .tab-count { background: var(--amber-ghost); color: var(--amber); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Forms ──────────────────────────────────────────────────── */
.form-card {
  background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  border-radius: var(--radius); padding: 24px;
  width: 100%;
  display: flex; flex-direction: column; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label, .lbl { font-size: 12.5px; font-weight: 600; color: var(--txt-dim); display: block; }
.field-hint { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* çok alanlı satırlar genişliği eşit paylaşıp tam doldurur */
.field-row, .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 20px;
}

.input, .inp {
  width: 100%; padding: 10px 13px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--txt);
  font-family: inherit; font-size: 13.5px; outline: none;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.input:hover, .inp:hover { border-color: #34404f; }
.input:focus, .inp:focus { border-color: var(--amber-dim); box-shadow: var(--ring); background: var(--panel); }
textarea.input, textarea.inp { line-height: 1.5; resize: vertical; }
select.input, select.inp { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%23737a86'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}

.check { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--txt-dim); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--amber); flex: 0 0 16px; }
.hidden-cb { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }

.form-actions { display: flex; gap: 10px; margin-top: 4px; flex-wrap: wrap; }

/* ── Auth ───────────────────────────────────────────────────── */
.auth-body {
  display: grid; place-items: center; min-height: 100vh;
  background:
    radial-gradient(1000px 560px at 72% -12%, rgba(240,180,41,.10), transparent 60%),
    var(--bg);
}
.auth-wrap { width: 100%; max-width: 392px; padding: 24px; }
.auth-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  display: flex; flex-direction: column; gap: 18px;
}
.auth-brand { display: flex; align-items: center; gap: 14px; }
.auth-title { font-size: 20px; font-weight: 700; letter-spacing: .01em; }
.auth-sub { font-size: 12.5px; color: var(--muted); }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.auth-alt { text-align: center; font-size: 12.5px; margin-top: 4px; }
.auth-foot { text-align: center; color: var(--muted); font-size: 11.5px; margin-top: 16px; }

/* ── Coming soon ────────────────────────────────────────────── */
.coming {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.coming h2 { font-size: 22px; }
.coming p { max-width: 460px; margin: 0; color: var(--txt-dim); }
.coming-badge {
  background: var(--amber-ghost); color: var(--amber);
  padding: 4px 13px; border-radius: 20px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 920px) {
  :root { --sidebar-w: 64px; }
  .brand-name, .nav-item span:not(.nav-ic), .nav-sep { display: none; }
  .brand { justify-content: center; padding: 6px 0 14px; }
  .nav-item { justify-content: center; padding: 11px 0; }
  .nav-item.active::before { display: none; }
  .content { padding: 18px; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 16px; }
  .u-meta { display: none; }
}

/* ── WebFTP / FileZilla benzeri dosya yöneticisi ─────────────────── */
.fm-shell { --fm-side: 310px; }
.fm-head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fm-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px;
  margin-bottom: 14px; padding: 10px 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.fm-breadcrumb a { color: var(--txt-dim); }
.fm-breadcrumb a:hover { color: var(--amber); }
.fm-sep { color: var(--muted); }
.fm-layout { display: grid; grid-template-columns: minmax(240px, var(--fm-side)) minmax(0, 1fr); gap: 16px; align-items: start; }
.fm-side { position: sticky; top: 78px; }
.fm-side-body { display: flex; flex-direction: column; gap: 16px; }
.fm-upload-form { display: flex; flex-direction: column; gap: 9px; margin: 0; }
.fm-file-input { display: none; }
.fm-dropzone {
  display: grid; place-items: center; text-align: center; gap: 7px;
  min-height: 132px; padding: 18px;
  border: 1px dashed #3a4656; border-radius: var(--radius);
  background: rgba(255,255,255,.02); color: var(--txt-dim);
  transition: border-color .12s, background .12s, color .12s, transform .12s;
}
.fm-dropzone span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.fm-drop-ic { font-size: 30px; line-height: 1; color: var(--amber); }
.fm-dropzone.drag-over, .fm-row.drag-over td {
  border-color: rgba(240,180,41,.7);
  background: var(--amber-ghost) !important;
  color: var(--txt);
}
.fm-progress { display: flex; flex-direction: column; gap: 7px; }
.fm-progress-line {
  height: 9px; overflow: hidden; border-radius: 99px;
  background: var(--panel-3); border: 1px solid var(--line);
}
.fm-progress-line span {
  display: block; height: 100%; width: 0%; border-radius: inherit;
  background: var(--amber); transition: width .12s ease;
}
.fm-progress-text { font-size: 12px; color: var(--muted); }
.fm-mini-form { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.fm-inline-form { display: flex; gap: 8px; align-items: center; }
.fm-inline-form .input { min-width: 0; }
.fm-main { min-width: 0; overflow: hidden; }
.fm-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.fm-toolbar-left, .fm-toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fm-search { width: min(280px, 36vw); }
.fm-table-wrap { overflow: auto; }
.fm-table { border: 0; border-radius: 0; box-shadow: none; }
.fm-table thead th { position: sticky; top: 0; z-index: 1; }
.fm-check { width: 38px; text-align: center !important; padding-left: 12px !important; padding-right: 8px !important; }
.fm-check input { accent-color: var(--amber); }
.fm-name-cell { min-width: 260px; }
.fm-name { display: inline-flex; align-items: center; gap: 8px; }
.fm-icon { font-size: 16px; line-height: 1; }
.fm-actions { min-width: 250px; }
.fm-row { cursor: default; }
.fm-row[data-dir="true"] { cursor: pointer; }
.fm-row[hidden] { display: none; }
.btn[disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 980px) {
  .fm-layout { grid-template-columns: 1fr; }
  .fm-side { position: static; }
  .fm-toolbar { align-items: stretch; flex-direction: column; }
  .fm-search { width: 100%; }
}
.fm-perm-cell { white-space: nowrap; min-width: 132px; }
.fm-perm-cell .btn { margin-left: 6px; }

/* ── Site health / diagnosis ─────────────────────────────────────── */
.health-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.health-summary { border-left: 4px solid var(--ok); }
.health-summary.health-warn { border-left-color: var(--warn); }
.health-summary.health-danger { border-left-color: var(--danger); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.pill { display: inline-flex; padding: 2px 7px; border-radius: 999px; background: var(--panel-3); border: 1px solid var(--line); margin: 2px 3px 2px 0; }
.diagnose-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.diagnose-item { border-left: 3px solid var(--ok); }
.diagnose-item.diag-warn { border-left-color: var(--warn); }
.diagnose-item.diag-danger { border-left-color: var(--danger); }
.nav-count { display:inline-flex; min-width:18px; height:18px; padding:0 5px; border-radius:999px; align-items:center; justify-content:center; background:var(--danger-bg); color:var(--danger); font-size:11px; margin-left:4px; }
.card-list { display:flex; flex-direction:column; gap:12px; }
.notif-unread { border-color: rgba(240,180,41,.45); box-shadow: 0 0 0 1px rgba(240,180,41,.08); }
.grid-2 { display:grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap:16px; }
.grid-3 { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:16px; }
.check-row { display:flex; align-items:flex-start; gap:9px; color:var(--txt-dim); font-size:13.5px; }
.check-row input { margin-top:3px; accent-color:var(--amber); }

/* Scrollbar gizleme: scroll davranışı kalır, çubuk görünmez. */
html, body, .sidebar, .main, .content {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar,
.sidebar::-webkit-scrollbar,
.main::-webkit-scrollbar,
.content::-webkit-scrollbar { display: none; width: 0; height: 0; }

.table-compact thead th { padding: 10px 12px; }
.table-compact tbody td { padding: 10px 12px; }
.input-xs { min-width: 190px; padding: 6px 9px; font-size: 12px; }
.align-end { align-items: flex-end; }
.kv-grid { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:10px; margin:12px 0 16px; }
.kv-grid > div { background: var(--bg-2); border:1px solid var(--line); border-radius: var(--radius-sm); padding:12px; }
.kv-grid span { display:block; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.kv-grid strong { display:block; margin-top:4px; font-family:var(--font-mono); }
button:disabled, .btn:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.clean-list{margin:0;padding-left:18px;color:var(--muted);line-height:1.75}.clean-list li{margin:2px 0}.badge-warn{background:rgba(245,158,11,.18);color:#fbbf24}
