/* ADAU THİK — Audit Sistemi · Apple üslubu */
:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #fbfbfd;
  --glass: rgba(255, 255, 255, .72);
  --fill: rgba(118, 118, 128, .12);
  --fill-2: rgba(118, 118, 128, .08);
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, .08);
  --line-2: rgba(0, 0, 0, .05);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, .1);
  --danger: #ff3b30;
  --danger-soft: rgba(255, 59, 48, .1);
  --success: #34c759;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 4px 24px rgba(0, 0, 0, .05);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .12);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.25, .1, .25, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;

  --ga: #248a3d; --ga-bg: rgba(52, 199, 89, .16);
  --gb: #0066cc; --gb-bg: rgba(0, 113, 227, .13);
  --gc: #8a6a00; --gc-bg: rgba(255, 204, 0, .22);
  --gd: #b35c00; --gd-bg: rgba(255, 149, 0, .18);
  --ge: #c4441c; --ge-bg: rgba(255, 105, 60, .17);
  --gf: #d70015; --gf-bg: rgba(255, 59, 48, .14);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: #1c1c1e;
    --surface-2: #232325;
    --glass: rgba(28, 28, 30, .72);
    --fill: rgba(118, 118, 128, .24);
    --fill-2: rgba(118, 118, 128, .16);
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #8e8e93;
    --line: rgba(255, 255, 255, .1);
    --line-2: rgba(255, 255, 255, .06);
    --accent: #0a84ff;
    --accent-hover: #409cff;
    --accent-soft: rgba(10, 132, 255, .18);
    --danger: #ff453a;
    --danger-soft: rgba(255, 69, 58, .16);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, .5);
    --ga: #30d158; --ga-bg: rgba(48, 209, 88, .18);
    --gb: #409cff; --gb-bg: rgba(10, 132, 255, .2);
    --gc: #ffd60a; --gc-bg: rgba(255, 214, 10, .16);
    --gd: #ff9f0a; --gd-bg: rgba(255, 159, 10, .18);
    --ge: #ff7a50; --ge-bg: rgba(255, 122, 80, .18);
    --gf: #ff453a; --gf-bg: rgba(255, 69, 58, .18);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.5 var(--font); letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.022em; font-weight: 600; }
img { max-width: 100%; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---------- Layout ---------- */
.app { display: flex; min-height: 100vh; }
.sidebar {
  width: 264px; flex-shrink: 0; position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; padding: 20px 14px 14px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-right: 1px solid var(--line); z-index: 40;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 10px 22px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; border-radius: 10px; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 20px; color: #fff;
  background: linear-gradient(145deg, #2997ff, #0058b9); box-shadow: 0 4px 12px rgba(0, 113, 227, .3);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand-text b { font-size: 15px; font-weight: 600; }
.brand-text small { font-size: 12px; color: var(--text-2); }
.nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px;
  color: var(--text); font-size: 14px; font-weight: 500; transition: background .2s var(--ease);
}
.nav a i { font-size: 17px; color: var(--text-2); width: 20px; text-align: center; }
.nav a:hover { background: var(--fill-2); text-decoration: none; }
.nav a.active { background: var(--accent); color: #fff; }
.nav a.active i { color: #fff; }
.nav-label { margin: 18px 12px 6px; font-size: 11px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.sidebar-foot { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.me { flex: 1; display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 10px; color: var(--text); min-width: 0; }
.me:hover, .me.active { background: var(--fill-2); text-decoration: none; }
.me-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.me-text b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-text small { font-size: 11.5px; color: var(--text-2); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(145deg, #8e8e93, #636366); color: #fff; font-size: 13px; font-weight: 600;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex-shrink: 0;
  border: 0; background: transparent; color: var(--text-2); font-size: 18px; cursor: pointer; transition: background .2s;
}
.icon-btn:hover { background: var(--fill); color: var(--text); text-decoration: none; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 30; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 32px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-2);
}
.topbar-title { font-weight: 600; font-size: 15px; flex: 1; opacity: 0; transition: opacity .25s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar.scrolled .topbar-title { opacity: 1; }
.menu-btn { display: none; }
.top-search { position: relative; width: 280px; }
.top-search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 13px; }
.topbar .top-search input {
  min-height: 34px;
  width: 100%; height: 34px; border-radius: 10px; border: 0; background: var(--fill); padding: 0 12px 0 32px;
  font: inherit; font-size: 14px; color: var(--text); outline: none; transition: box-shadow .2s;
}
.topbar .top-search input:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.content { padding: 28px 32px 64px; max-width: 1240px; width: 100%; margin: 0 auto; }
.scrim { display: none; }

/* ---------- Page header ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 8px 0 28px; flex-wrap: wrap; }
.page-head h1 { font-size: 34px; line-height: 1.12; font-weight: 700; letter-spacing: -.028em; }
.page-head .sub { color: var(--text-2); font-size: 15px; margin-top: 6px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 6px; letter-spacing: 0; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow);
  border: 1px solid var(--line-2); padding: 24px;
}
.card + .card { margin-top: 20px; }
.grid-2 > .card, .grid-3 > .card, .grid-4 > .card, .cols-main > .card { margin-top: 0; }
.cols-main.stretch { align-items: stretch; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-head h2, .card-title { font-size: 19px; font-weight: 600; }
.card-head .muted { font-size: 13px; }
.card-flush { padding: 0; overflow: hidden; }
.card-flush .card-head { padding: 20px 24px 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cols-main { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.col-span-2 { grid-column: span 2; }
.mt { margin-top: 20px; }
.mt-lg { margin-top: 32px; }

/* KPI */
.kpi { padding: 22px 24px; }
.kpi-label { font-size: 13px; color: var(--text-2); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.kpi-label i { font-size: 15px; color: var(--accent); }
.kpi-value { font-size: 36px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.kpi-value small { font-size: 17px; font-weight: 500; color: var(--text-2); }
.kpi-foot { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px;
  border-radius: 980px; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500;
  white-space: nowrap; transition: background .2s var(--ease), transform .15s var(--ease), filter .2s;
  text-decoration: none !important; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn i { font-size: 15px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--fill); color: var(--text); }
.btn-secondary:hover { background: rgba(118, 118, 128, .2); }
.btn-ghost { background: transparent; color: var(--accent); padding: 0 12px; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 46px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon { width: 32px; height: 32px; padding: 0; border-radius: 50%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.inline { display: inline; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--text-2); padding-left: 2px; }
.field > span em { color: var(--danger); font-style: normal; }
.field small { font-size: 12px; color: var(--text-3); padding-left: 2px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=url], input:not([type]), select, textarea {
  width: 100%; min-height: 42px; padding: 10px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2386868b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--surface); }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input[type=file] { font: inherit; font-size: 14px; color: var(--text-2); }
input[type=file]::file-selector-button {
  font: inherit; font-size: 13px; font-weight: 500; border: 0; border-radius: 980px; padding: 7px 14px; margin-right: 12px;
  background: var(--fill); color: var(--text); cursor: pointer;
}
.form-section-title { font-size: 13px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.form-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; user-select: none; }
.check input { display: none; }
.check .switch { width: 42px; height: 26px; border-radius: 13px; background: var(--fill); position: relative; transition: background .25s var(--ease); flex-shrink: 0; }
.check .switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .2); transition: transform .25s var(--ease); }
.check input:checked + .switch { background: var(--success); }
.check input:checked + .switch::after { transform: translateX(16px); }

/* Filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.filters .field { flex: 1 1 150px; }
.filters .field.grow { flex: 2 1 240px; }
.filters input, .filters select { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 14px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  text-align: left; font-size: 12px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .04em;
  padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .15s; }
.table tbody tr:hover { background: var(--fill-2); }
.table tr.clickable { cursor: pointer; }
.table .t-title { font-weight: 500; color: var(--text); }
.table .t-sub { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.code-pill { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; padding: 3px 8px; border-radius: 6px; background: var(--fill-2); color: var(--text); white-space: nowrap; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; }

/* ---------- Grade ---------- */
.grade {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 26px; padding: 0 8px;
  border-radius: 8px; font-weight: 700; font-size: 13.5px; letter-spacing: 0; color: var(--gx); background: var(--gx-bg);
}
.grade-lg { min-width: 64px; height: 44px; font-size: 22px; border-radius: 12px; }
.g-a { --gx: var(--ga); --gx-bg: var(--ga-bg); }
.g-b { --gx: var(--gb); --gx-bg: var(--gb-bg); }
.g-c { --gx: var(--gc); --gx-bg: var(--gc-bg); }
.g-d { --gx: var(--gd); --gx-bg: var(--gd-bg); }
.g-e { --gx: var(--ge); --gx-bg: var(--ge-bg); }
.g-f { --gx: var(--gf); --gx-bg: var(--gf-bg); }
.g-none { --gx: var(--text-3); --gx-bg: var(--fill-2); }

.result-hero { display: flex; align-items: center; gap: 28px; }
.ring { --p: 0; --gx: var(--accent); width: 148px; height: 148px; border-radius: 50%; flex-shrink: 0; position: relative;
  background: conic-gradient(var(--gx) calc(var(--p) * 1%), var(--fill-2) 0); display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--surface); }
.ring-inner { position: relative; text-align: center; line-height: 1; }
.ring-grade { font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: var(--gx); }
.ring-score { font-size: 14px; color: var(--text-2); margin-top: 6px; font-weight: 500; }
.ring.g-a { --gx: var(--ga); } .ring.g-b { --gx: var(--gb); } .ring.g-c { --gx: var(--gc); }
.ring.g-d { --gx: var(--gd); } .ring.g-e { --gx: var(--ge); } .ring.g-f { --gx: var(--gf); }

.meter { height: 8px; border-radius: 4px; background: var(--fill-2); overflow: hidden; min-width: 80px; }
.meter > span { display: block; height: 100%; border-radius: 4px; background: var(--gx, var(--accent)); transition: width .6s var(--ease); }

.meta-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 24px; }
.meta-list dt { font-size: 12px; color: var(--text-3); font-weight: 500; margin-bottom: 3px; }
.meta-list dd { margin: 0; font-size: 15px; font-weight: 500; word-break: break-word; }

.scale-strip { display: flex; gap: 6px; flex-wrap: wrap; }
.scale-strip .grade { min-width: 0; }
.scale-strip .s { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--text-3); }

.prose { white-space: pre-wrap; line-height: 1.6; font-size: 15px; }

/* ---------- Indicator editor ---------- */
.ind-list { display: flex; flex-direction: column; gap: 10px; }
.ind-row {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 108px 50px auto; gap: 10px; align-items: center;
  padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2);
  animation: fadeUp .3s var(--ease);
}
.ind-row .num { font-size: 13px; color: var(--text-3); font-weight: 600; text-align: center; }
.ind-row .val { position: relative; }
.ind-row .val input { padding-right: 30px; text-align: right; font-variant-numeric: tabular-nums; }
.ind-row .val::after { content: "%"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); font-size: 14px; pointer-events: none; }
.ind-row .note { grid-column: 2 / -1; }
.ind-row .note input { min-height: 36px; font-size: 13.5px; padding: 7px 12px; }
.ind-row .tools { display: flex; gap: 2px; }
.ind-row .tools .icon-btn { width: 30px; height: 30px; font-size: 15px; }
.ind-row .grade { justify-self: center; }
.live-result { position: sticky; top: 76px; }
.live-big { display: flex; align-items: center; gap: 20px; }

/* ---------- Alerts / misc ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; font-size: 14px; margin-bottom: 16px; line-height: 1.45; }
.alert i { font-size: 16px; margin-top: 1px; }
.alert-success { background: var(--ga-bg); color: var(--ga); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--accent-soft); color: var(--accent); }
.alert-warning { background: var(--gd-bg); color: var(--gd); }
.empty { text-align: center; padding: 56px 20px; color: var(--text-2); }
.empty i { font-size: 44px; color: var(--text-3); display: block; margin-bottom: 12px; }
.empty h3 { font-size: 19px; color: var(--text); margin-bottom: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 980px; font-size: 12px; font-weight: 500; background: var(--fill-2); color: var(--text-2); }
.chip.on { background: var(--ga-bg); color: var(--ga); }
.chip.off { background: var(--fill-2); color: var(--text-3); }
.chip.role-admin { background: var(--accent-soft); color: var(--accent); }
.pagination { display: flex; gap: 6px; justify-content: center; padding: 18px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; display: inline-grid; place-items: center; border-radius: 10px; font-size: 14px; color: var(--text); }
.pagination a:hover { background: var(--fill); text-decoration: none; }
.pagination .cur { background: var(--accent); color: #fff; font-weight: 600; }
.divider { height: 1px; background: var(--line); margin: 20px 0; }
.chart-box { position: relative; height: 280px; }
.chart-box.tall { height: 340px; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .grow { flex: 1; min-width: 0; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-preview { width: 120px; height: 120px; border-radius: 18px; background: var(--fill-2); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.logo-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.scale-edit { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.scale-edit .field { align-items: stretch; }
.scale-edit .field > span { display: flex; justify-content: center; }

/* ---------- Auth ---------- */
.auth-body { min-height: 100vh; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(0, 113, 227, .10), transparent 60%), var(--bg); }
.auth-wrap { width: 100%; max-width: 400px; }
.auth-card { background: var(--surface); border-radius: 24px; padding: 40px 32px 32px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); text-align: center; }
.auth-card .form { text-align: left; margin-top: 8px; }
.auth-mark { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 18px; display: grid; place-items: center; font-size: 30px; color: #fff;
  background: linear-gradient(145deg, #2997ff, #0058b9); box-shadow: 0 8px 24px rgba(0, 113, 227, .35); }
.auth-logo { width: 76px; height: 76px; object-fit: contain; margin: 0 auto 16px; display: block; }
.auth-title { font-size: 26px; font-weight: 700; }
.auth-sub { color: var(--text-2); margin: 4px 0 22px; }
.auth-foot { text-align: center; margin-top: 20px; font-size: 14px; }

/* Verify page */
.verify-badge { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 36px; }
.verify-badge.ok { background: var(--ga-bg); color: var(--ga); }
.verify-badge.bad { background: var(--gf-bg); color: var(--gf); }
.verify-rows { text-align: left; margin-top: 20px; border-top: 1px solid var(--line); }
.verify-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.verify-rows div span:first-child { color: var(--text-2); }
.verify-rows div span:last-child { font-weight: 500; text-align: right; }

/* ---------- Animation ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-main { grid-template-columns: 1fr; }
  .live-result { position: static; }
}
@media (max-width: 860px) {
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .3s var(--ease); background: var(--surface); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .3); z-index: 35; }
  .scrim.show { display: block; }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 0 16px; }
  .topbar-title { opacity: 1; }
  .top-search { width: 44%; }
  .content { padding: 20px 16px 48px; }
  .page-head h1 { font-size: 28px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .col-span-2 { grid-column: auto; }
  .scale-edit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-hero { flex-direction: column; align-items: flex-start; }
  .ind-row { grid-template-columns: 22px minmax(0, 1fr) 96px; }
  .ind-row .grade { grid-column: 2; justify-self: start; }
  .ind-row .tools { grid-column: 3; justify-self: end; }
  .card { padding: 20px 18px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi { padding: 16px; }
  .kpi-value { font-size: 28px; }
  .top-search { display: none; }
}
