:root {
  color-scheme: dark;
  --bg: #07090d;
  --panel: #0d1118;
  --panel-raised: #121823;
  --panel-soft: #0a0e14;
  --line: #202938;
  --line-soft: #171e29;
  --text: #f4f7fb;
  --muted: #8491a5;
  --subtle: #526075;
  --accent: #8b5cf6;
  --accent-strong: #a78bfa;
  --accent-soft: rgba(139, 92, 246, .13);
  --cyan: #22d3ee;
  --green: #34d399;
  --amber: #fbbf24;
  --red: #fb7185;
  --blue: #60a5fa;
  --green-dim: rgba(52,211,153,.08);
  --red-dim: rgba(251,113,133,.08);
  --accent-dim: rgba(139,92,246,.13);
  --shadow: 0 22px 65px rgba(0, 0, 0, .26);
  --radius: 14px;
  --sidebar: 248px;
  --bg2: var(--panel);
  --bg3: var(--panel-raised);
  --bg4: #181f2b;
  --border: var(--line-soft);
  --border2: var(--line);
  --text0: var(--text);
  --text1: var(--muted);
  --text2: var(--subtle);
  --accent2: var(--accent-strong);
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --font: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% -20%, rgba(139, 92, 246, .10), transparent 32rem),
    var(--bg);
  color: var(--text);
  font: 14px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }

.v2-shell { min-height: 100vh; }
.v2-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  width: var(--sidebar);
  flex-direction: column;
  border-right: 1px solid var(--line-soft);
  background: rgba(8, 11, 16, .94);
  backdrop-filter: blur(18px);
}
.v2-brand {
  display: flex;
  height: 78px;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line-soft);
}
.v2-brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, .35);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(139, 92, 246, .30), rgba(139, 92, 246, .08));
  color: #ddd6fe;
  font-weight: 850;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.v2-brand-name { font-size: 14px; font-weight: 760; letter-spacing: -.01em; }
.v2-brand-caption { color: var(--subtle); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.v2-nav { flex: 1; overflow-y: auto; padding: 18px 12px; }
.v2-nav-section { margin-bottom: 22px; }
.v2-nav-label { padding: 0 10px 7px; color: #465267; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.v2-nav-item {
  display: flex;
  min-height: 40px;
  align-items: center;
  gap: 11px;
  margin: 2px 0;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #8f9caf;
  font-size: 12px;
  font-weight: 610;
  transition: .15s ease;
}
.v2-nav-item svg { width: 17px; height: 17px; color: #5f6c80; }
.v2-nav-item:hover { background: rgba(255,255,255,.025); color: #dce3ed; }
.v2-nav-item.active {
  border-color: rgba(139, 92, 246, .22);
  background: var(--accent-soft);
  color: #ede9fe;
}
.v2-nav-item.active svg { color: var(--accent-strong); }
.v2-sidebar-user {
  margin: 12px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255,255,255,.015);
}
.v2-user-row { display: flex; align-items: center; gap: 10px; }
.v2-avatar { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; background: #1b2230; color: #cbd5e1; font-size: 10px; font-weight: 800; }
.v2-user-name { font-size: 11px; font-weight: 720; }
.v2-user-role { color: var(--subtle); font-size: 10px; }
.v2-logout { margin-left: auto; color: var(--subtle); }
.v2-logout:hover { color: var(--red); }

.v2-main { min-height: 100vh; margin-left: var(--sidebar); }
.v2-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  height: 66px;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 9, 13, .82);
  backdrop-filter: blur(16px);
}
.v2-breadcrumb { color: var(--subtle); font-size: 11px; }
.v2-breadcrumb strong { color: #cfd7e4; font-weight: 650; }
.v2-health { display: flex; align-items: center; gap: 8px; color: #77859a; font-size: 10px; font-weight: 680; letter-spacing: .04em; text-transform: uppercase; }
.v2-health-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.08); }
.v2-content { width: min(1500px, 100%); margin: 0 auto; padding: 30px; }

.v2-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 23px; }
.v2-eyebrow { margin-bottom: 5px; color: var(--accent-strong); font-size: 9px; font-weight: 830; letter-spacing: .16em; text-transform: uppercase; }
.v2-page-head h1 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 760; letter-spacing: -.045em; line-height: 1.1; }
.v2-page-head p { max-width: 650px; margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.v2-periods { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-soft); }
.v2-period { padding: 7px 10px; border-radius: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.v2-period:hover { color: var(--text); }
.v2-period.active { background: #20283a; color: #f1f5f9; box-shadow: 0 1px 2px rgba(0,0,0,.2); }

.v2-scope-tabs { display: flex; gap: 7px; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.v2-scope-tab { min-width: max-content; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.012); color: var(--muted); font-size: 10px; font-weight: 700; }
.v2-scope-tab:hover { border-color: #364155; color: #d9e0ea; }
.v2-scope-tab.active { border-color: rgba(139,92,246,.45); background: var(--accent-soft); color: #ddd6fe; }

.v2-metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.v2-metric {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(18,24,35,.9), rgba(10,14,20,.92));
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
.v2-metric-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 780; letter-spacing: .09em; text-transform: uppercase; }
.v2-metric-label span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.v2-metric-value { margin-top: 10px; overflow: hidden; font-size: 23px; font-weight: 735; letter-spacing: -.045em; text-overflow: ellipsis; white-space: nowrap; }
.v2-metric-note { margin-top: 4px; color: var(--subtle); font-size: 10px; }

.v2-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(310px, .7fr); gap: 14px; margin-bottom: 14px; }
.v2-panel { border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(13,17,24,.90); box-shadow: var(--shadow); }
.v2-panel-head { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 0 18px; border-bottom: 1px solid var(--line-soft); }
.v2-panel-title { font-size: 12px; font-weight: 720; }
.v2-panel-subtitle { color: var(--subtle); font-size: 9px; }
.v2-panel-body { padding: 18px; }
.v2-badge { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 700; }

.v2-chart { display: flex; height: 245px; align-items: stretch; gap: 5px; padding-top: 16px; }
.v2-chart-column { position: relative; display: flex; min-width: 0; flex: 1; flex-direction: column; justify-content: flex-end; }
.v2-chart-bar-wrap { display: flex; height: 194px; align-items: flex-end; }
.v2-chart-bar { width: 100%; min-height: 2px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, rgba(139,92,246,.95), rgba(79,70,229,.42)); box-shadow: 0 -8px 24px rgba(139,92,246,.10); transition: .16s ease; }
.v2-chart-column:hover .v2-chart-bar { background: linear-gradient(180deg, #a78bfa, #6366f1); }
.v2-chart-label { height: 27px; padding-top: 8px; overflow: hidden; color: #48556a; font-size: 8px; text-align: center; white-space: nowrap; }
.v2-chart-tip { position: absolute; bottom: calc(var(--bar-height) + 36px); left: 50%; z-index: 3; display: none; width: max-content; transform: translateX(-50%); padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; background: #171d28; color: #e2e8f0; font-size: 9px; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.v2-chart-column:hover .v2-chart-tip { display: block; }

.v2-finance-stack { display: grid; gap: 10px; }
.v2-finance-row { padding: 13px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(255,255,255,.012); }
.v2-finance-row-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-finance-name { color: var(--muted); font-size: 10px; }
.v2-finance-value { font-size: 16px; font-weight: 720; letter-spacing: -.03em; }
.v2-finance-row p { margin: 5px 0 0; color: var(--subtle); font-size: 9px; line-height: 1.45; }
.v2-finance-row.primary { border-color: rgba(52,211,153,.18); background: rgba(52,211,153,.035); }
.v2-finance-row.primary .v2-finance-value { color: #6ee7b7; }

.v2-table-wrap { overflow-x: auto; }
.v2-table { width: 100%; border-collapse: collapse; }
.v2-table th { padding: 11px 16px; border-bottom: 1px solid var(--line-soft); color: #4e5c70; font-size: 8px; font-weight: 800; letter-spacing: .12em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.v2-table td { padding: 13px 16px; border-bottom: 1px solid rgba(32,41,56,.55); color: #aab5c5; font-size: 11px; }
.v2-table tr:last-child td { border-bottom: 0; }
.v2-table tbody tr:hover { background: rgba(255,255,255,.012); }
.v2-mode { color: #eef2f7; font-weight: 670; }
.v2-mode small { display: block; color: var(--subtle); font-size: 9px; font-weight: 500; }
.v2-share { display: flex; width: 120px; align-items: center; gap: 8px; }
.v2-share-track { height: 4px; flex: 1; overflow: hidden; border-radius: 999px; background: #1b2230; }
.v2-share-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.v2-empty { padding: 42px 20px; color: var(--subtle); font-size: 11px; text-align: center; }
.v2-alert { margin-bottom: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 11px; }
.v2-alert.success { border-color: rgba(52,211,153,.22); background: rgba(52,211,153,.055); color: #a7f3d0; }
.v2-alert.error { border-color: rgba(248,113,113,.25); background: rgba(248,113,113,.055); color: #fecaca; }
.v2-code { color: #c4b5fd; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; }
.v2-status { display: inline-flex; padding: 4px 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--subtle); font-size: 9px; }
.v2-status.online { border-color: rgba(52,211,153,.18); color: #6ee7b7; }
.v2-status.danger { border-color: rgba(248,113,113,.22); color: #fca5a5; }
.v2-status.warning { border-color: rgba(251,191,36,.22); color: #fde68a; }
.v2-button { display: inline-flex; min-height: 33px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #cbd5e1; font: inherit; font-size: 10px; font-weight: 700; cursor: pointer; }
.v2-button.ghost { background: rgba(255,255,255,.015); }
.v2-button.primary { border-color: rgba(139,92,246,.5); background: #7c3aed; color: white; }
.v2-button.danger { border-color: rgba(248,113,113,.45); background: #b91c1c; color: white; }
.v2-form-panel { max-width: 780px; }
.v2-form { padding: 20px; }
.v2-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.v2-form-grid.one { grid-template-columns: 1fr; }
.v2-field { display: grid; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.v2-field input:not([type=checkbox]) { width: 100%; min-height: 39px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #090d13; color: #edf2f7; font: inherit; }
.v2-field select,.v2-field textarea,.v2-filterbar select { width: 100%; min-height: 39px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #090d13; color: #edf2f7; font: inherit; }
.v2-field textarea { resize: vertical; line-height: 1.5; }
.v2-field small { color: var(--subtle); font-size: 9px; font-weight: 500; }
.v2-field small.success { color: #6ee7b7; }
.v2-field input:focus { border-color: rgba(139,92,246,.6); box-shadow: 0 0 0 3px rgba(139,92,246,.08); }
.v2-field.checkbox { display: flex; align-items: center; align-self: end; flex-direction: row-reverse; justify-content: flex-end; padding-bottom: 11px; }
.v2-field .error { color: #fca5a5; font-size: 9px; }
.v2-form-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line-soft); }
.v2-auth-body { display: grid; min-height: 100vh; place-items: center; padding: 26px; background: radial-gradient(circle at 18% 15%,rgba(124,58,237,.13),transparent 31%),#07090d; }
.v2-auth-shell { display: grid; width: min(1040px,100%); min-height: 620px; grid-template-columns: 1.12fr .88fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #0a0e14; box-shadow: 0 40px 120px rgba(0,0,0,.48); }
.v2-auth-visual { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 38px; border-right: 1px solid var(--line); background: linear-gradient(145deg,rgba(124,58,237,.12),transparent 55%),repeating-linear-gradient(90deg,transparent 0,transparent 47px,rgba(255,255,255,.018) 48px),repeating-linear-gradient(0deg,transparent 0,transparent 47px,rgba(255,255,255,.018) 48px),#090d13; }
.v2-auth-visual::after { position: absolute; right: -110px; bottom: -150px; width: 420px; height: 420px; border: 1px solid rgba(139,92,246,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(139,92,246,.025),0 0 0 110px rgba(139,92,246,.018); content: ''; }
.v2-auth-copy { position: relative; z-index: 1; max-width: 510px; }
.v2-auth-copy h1 { margin: 14px 0 19px; color: #f4f7fb; font-size: clamp(34px,4vw,50px); font-weight: 720; letter-spacing: -.055em; line-height: 1.05; }
.v2-auth-copy h1 em { color: #a78bfa; font-style: normal; }
.v2-auth-copy p { max-width: 450px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.v2-auth-signal { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: var(--subtle); font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.v2-auth-signal span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.08); }
.v2-auth-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px; }
.v2-auth-form-head { margin-bottom: 25px; }
.v2-auth-index { color: #6d7788; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.v2-auth-form-head h2 { margin-top: 12px; font-size: 25px; letter-spacing: -.04em; }
.v2-auth-form-head p,.v2-auth-footnote { color: var(--subtle); font-size: 10px; }
.v2-form.auth { display: grid; gap: 17px; padding: 0; }
.v2-button.full { width: 100%; min-height: 42px; justify-content: space-between; margin-top: 4px; }
.v2-auth-footnote { margin: 22px 0 0; line-height: 1.6; text-align: center; }
.v2-filterbar { display: grid; grid-template-columns: minmax(260px,1fr) 190px auto; gap: 9px; margin-bottom: 14px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 11px; background: rgba(13,17,24,.8); }
.v2-filterbar.sanctions { grid-template-columns: minmax(240px,1fr) 150px 150px auto; }
.v2-search { display: flex; min-height: 39px; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: #090d13; color: var(--subtle); }
.v2-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #edf2f7; font: inherit; }
.v2-player-line { display: flex; align-items: center; gap: 10px; }
.v2-head-actions { display: flex; gap: 8px; }.v2-metric-grid.moderation { grid-template-columns: repeat(5,minmax(0,1fr)); }
.danger-text { color: #fca5a5; }.warning-text { color: #fde68a; }.v2-cell-note { display: block; margin-top: 3px; color: var(--subtle); font-size: 9px; }
.v2-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0; color: var(--subtle); font-size: 10px; }
.v2-spaced { margin-top: 14px; }.v2-inline-form { display: grid; grid-template-columns: minmax(180px,.5fr) 1fr auto; gap: 9px; padding: 13px; border-bottom: 1px solid var(--line-soft); }
.v2-inline-form input { min-height: 38px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; background: #090d13; color: #edf2f7; }
.v2-filterbar.logs { grid-template-columns: minmax(220px,1fr) 150px 150px 130px auto; }
.v2-risk { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #93c5fd; font-family: ui-monospace,SFMono-Regular,Consolas,monospace; font-size: 10px; }.v2-risk.medium { color: #fde68a; }.v2-risk.high { border-color: rgba(248,113,113,.25); color: #fca5a5; }
.v2-row-actions { display: flex; gap: 5px; }
.v2-check { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; white-space: nowrap; }
.v2-fieldset { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; }.v2-fieldset legend { padding: 0 6px; color: var(--muted); font-size: 10px; font-weight: 700; }
.v2-prose h3 { margin: 0 0 5px; color: #7d899b; font-size: 9px; letter-spacing: .11em; text-transform: uppercase; }.v2-prose p { margin: 0 0 18px; color: #c2cad6; font-size: 11px; line-height: 1.65; }.v2-prose p:last-child { margin-bottom: 0; }
.v2-timeline { padding: 5px 18px; }.v2-timeline article { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }.v2-timeline article:last-child { border-bottom: 0; }.v2-timeline article > div { display: flex; justify-content: space-between; gap: 12px; }.v2-timeline strong { font-size: 11px; }.v2-timeline span,.v2-timeline small { color: var(--subtle); font-size: 9px; }.v2-timeline p { margin: 7px 0; color: #aeb8c7; font-size: 11px; line-height: 1.55; }
.v2-sticky-actions { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(139,92,246,.25); border-radius: 11px; background: rgba(10,14,20,.94); backdrop-filter: blur(14px); }
.v2-sticky-actions strong,.v2-sticky-actions span { display: block; }
.v2-sticky-actions strong { font-size: 11px; }.v2-sticky-actions span { color: var(--subtle); font-size: 9px; }
.v2-permission-panel { margin-bottom: 14px; }
.v2-permission-table th:not(:first-child),.v2-permission-table td:not(:first-child) { width: 125px; text-align: center; }
.v2-permission-table .v2-mode small,.v2-permission-table .v2-code { display: block; margin-top: 3px; }
.v2-switch { display: inline-block; cursor: pointer; }.v2-switch input { position: absolute; opacity: 0; }
.v2-switch span { position: relative; display: block; width: 34px; height: 19px; border: 1px solid var(--line); border-radius: 999px; background: #111722; transition: .16s; }
.v2-switch span::after { position: absolute; top: 3px; left: 3px; width: 11px; height: 11px; border-radius: 50%; background: #596579; content: ''; transition: .16s; }
.v2-switch input:checked + span { border-color: rgba(139,92,246,.55); background: rgba(124,58,237,.38); }.v2-switch input:checked + span::after { left: 18px; background: #c4b5fd; }
.v2-profile-title { display: flex; align-items: center; gap: 14px; }
.v2-profile-avatar { display: grid; width: 54px; height: 54px; place-items: center; border: 1px solid rgba(139,92,246,.28); border-radius: 14px; background: rgba(139,92,246,.09); color: #c4b5fd; font-size: 17px; font-weight: 800; }
.v2-mobile-menu { display: none; border: 0; background: transparent; }
.v2-field-wide { grid-column: 1/-1; }.v2-tag-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; }
.v2-kanban { display: grid; grid-template-columns: repeat(5,minmax(235px,1fr)); gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.v2-kanban-column { min-height: 430px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(10,14,20,.72); }
.v2-kanban-column>header { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid var(--line-soft); color: #a9b4c4; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.v2-kanban-column>header span { display: flex; align-items: center; gap: 7px; }.v2-kanban-column>header i { width: 7px; height: 7px; border-radius: 50%; }.v2-kanban-column>header b { padding: 2px 6px; border-radius: 999px; background: #181f2b; color: var(--subtle); font-size: 9px; }
.v2-kanban-cards { min-height: 370px; padding: 9px; }.v2-task-card { display: block; margin-bottom: 8px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--panel-raised); transition: .15s; }.v2-task-card:hover { border-color: #354158; transform: translateY(-1px); }.v2-task-card>strong { display: block; margin-bottom: 10px; font-size: 11px; line-height: 1.45; }
.v2-task-tags { display: flex; flex-wrap: wrap; gap: 4px; }.v2-task-tags span { padding: 2px 6px; border: 1px solid color-mix(in srgb,var(--tag),transparent 68%); border-radius: 999px; color: var(--tag); font-size: 8px; }.v2-task-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 11px; }.v2-task-card footer>span:last-child { display: flex; align-items: center; gap: 4px; color: var(--subtle); font-size: 8px; }.v2-mini-avatar { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; background: var(--accent-soft); color: #c4b5fd; font-size: 7px; font-style: normal; font-weight: 800; }.v2-kanban-empty { padding: 22px 4px; color: var(--subtle); font-size: 9px; text-align: center; }.v2-task-ghost { opacity: .35; }
.v2-tag-editor { display: grid; flex: 1; grid-template-columns: 34px minmax(120px,1fr) auto auto; gap: 8px; align-items: center; }.v2-tag-editor input { min-height: 34px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: #090d13; color: var(--text); }.v2-tag-editor input[type=color] { width: 34px; padding: 3px; }.v2-tag-editor code { color: var(--subtle); font-size: 9px; }.v2-timeline article:has(.v2-tag-editor) { display: flex; gap: 8px; }.v2-danger-panel { border-color: rgba(248,113,113,.2); }

.v2-destructive-form { display: flex; gap: 8px; margin-top: 10px; }.v2-destructive-form input { min-height: 34px; padding: 0 10px; border: 1px solid rgba(248,113,113,.28); border-radius: 7px; outline: 0; background: #090d13; color: #fecaca; font: 10px var(--mono); }
.btn { display: inline-flex; min-height: 33px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: #cbd5e1; font-size: 10px; font-weight: 700; cursor: pointer; }.btn-primary { border-color: rgba(139,92,246,.5); background: #7c3aed; color: white; }.btn-ghost { background: rgba(255,255,255,.015); }.badge { display: inline-flex; padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 9px; }.badge-purple { border-color: rgba(139,92,246,.35); color: #c4b5fd; }.badge-blue { color: #93c5fd; }.badge-green { color: #6ee7b7; }

@media (max-width: 1250px) {
  .v2-metric-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  :root { --sidebar: 0px; }
  .v2-sidebar { display: none; }
  .v2-main { margin-left: 0; }
  .v2-grid { grid-template-columns: 1fr; }
  .v2-mobile-menu { display: inline-flex; }
  .v2-auth-shell { max-width: 520px; min-height: auto; grid-template-columns: 1fr; }
  .v2-auth-visual { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 650px) {
  .v2-topbar { height: 58px; padding: 0 16px; }
  .v2-content { padding: 20px 14px; }
  .v2-page-head { align-items: flex-start; flex-direction: column; }
  .v2-metric-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-metric { padding: 14px; }
  .v2-metric-value { font-size: 20px; }
  .v2-chart { gap: 3px; }
  .v2-chart-label { display: none; }
  .v2-form-grid { grid-template-columns: 1fr; }
  .v2-filterbar { grid-template-columns: 1fr; }
  .v2-filterbar.sanctions,.v2-inline-form { grid-template-columns: 1fr; }
  .v2-filterbar.logs { grid-template-columns: 1fr; }
  .v2-auth-body { padding: 12px; }
  .v2-auth-visual,.v2-auth-panel { padding: 27px; }
  .v2-auth-copy h1 { font-size: 31px; }
  .v2-auth-copy p,.v2-auth-signal { display: none; }
}
