.card { padding: 20px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.card-header h2, .card-header h3 { margin: 0; }
.metric { min-height: 132px; }
.metric-label { color: var(--muted); font-size: .86rem; }
.metric-value { margin: 8px 0 0; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; letter-spacing: -.03em; }
.metric-trend { margin-top: 6px; color: var(--lime); font-size: .76rem; }
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 11px; cursor: pointer; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); border-color: rgba(199,255,74,.4); }
.btn-primary { color: var(--lime-ink); border-color: var(--lime); background: var(--lime); font-weight: 800; }
.btn-danger { color: white; border-color: rgba(255,99,120,.35); background: rgba(255,99,120,.16); }
.btn-block { width: 100%; }
.field { display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: .83rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid var(--line); outline: none; background: rgba(0,0,0,.18); border-radius: 10px; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(199,255,74,.09); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; }
th, td { min-width: 120px; padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th { color: var(--muted); background: rgba(255,255,255,.025); font-size: .78rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255,255,255,.025); }
.badge { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 9px; color: var(--muted); border: 1px solid var(--line); background: var(--surface-soft); border-radius: 999px; font-size: .74rem; font-weight: 800; }
.badge.success { color: var(--success); border-color: rgba(89,227,145,.25); }
.badge.danger { color: var(--danger); border-color: rgba(255,99,120,.25); }
.badge.warning { color: var(--warning); border-color: rgba(255,202,92,.25); }
.empty { padding: 38px 18px; color: var(--muted); text-align: center; }
.skeleton { position: relative; min-height: 100px; overflow: hidden; background: var(--surface-soft); border-radius: var(--radius); }
.skeleton::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); transform: translateX(-100%); animation: shimmer 1.35s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.toast-stack { position: fixed; z-index: 100; left: 20px; bottom: 20px; display: grid; width: min(380px, calc(100vw - 40px)); gap: 10px; }
.toast { padding: 13px 15px; border: 1px solid var(--line); background: #18201c; border-radius: 12px; box-shadow: var(--shadow); animation: toast-in .22s ease; }
.toast.error { border-color: rgba(255,99,120,.5); }
.toast.success { border-color: rgba(89,227,145,.5); }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.alert { padding: 13px 15px; border: 1px solid var(--line); background: var(--surface-soft); border-radius: 12px; }
.alert.danger { color: #ffd8de; border-color: rgba(255,99,120,.35); background: rgba(255,99,120,.09); }
.chart { display: flex; align-items: end; gap: 10px; height: 210px; padding-top: 20px; }
.chart-column { display: flex; flex: 1; height: 100%; min-width: 42px; flex-direction: column; justify-content: end; gap: 5px; text-align: center; }
.chart-bar { min-height: 3px; background: linear-gradient(var(--lime), #77a91a); border-radius: 7px 7px 2px 2px; }
.chart-label { color: var(--muted); font-size: .69rem; }
.kanban { display: grid; grid-template-columns: repeat(5, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; }
.kanban-column { min-height: 340px; padding: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; }
.kanban-card { margin-top: 10px; padding: 12px; border: 1px solid var(--line); background: var(--surface-strong); border-radius: 11px; }
.muted { color: var(--muted); }
.lime { color: var(--lime); }
.danger-text { color: var(--danger); }
.split-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 18px; background: rgba(0,0,0,.72); }
.modal > .card { width: min(720px, 100%); max-height: calc(100vh - 36px); overflow-y: auto; }
.login-title { margin-bottom: 8px; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.12; }
.feature-list { display: grid; gap: 12px; padding: 0; list-style: none; color: var(--muted); }
.feature-list li::before { margin-left: 9px; color: var(--lime); content: "✓"; }
