:root {
  --bg: #060606;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.1);
  --border: rgba(255,255,255,0.12);
  --text: #f5f7f8;
  --muted: #b2b8bd;
  --silver: #d9dee2;
  --accent: #11b86f;
  --accent-soft: rgba(17,184,111,0.15);
  --danger: #ff6b6b;
  --warn: #ffb84d;
  --ok: #35d68a;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; font-family: 'Inter', sans-serif; background: #07111b; color: var(--text); }
body { overflow-x: hidden; position: relative; }
body::before { content: ''; position: fixed; inset: 0; background: linear-gradient(180deg, rgba(4,11,18,0.86), rgba(5,10,15,0.92)), url('https://www.genspark.ai/api/files/s/c0cblwZY') center center / cover no-repeat; z-index: -2; }
body::after { content: ''; position: fixed; inset: 0; background: radial-gradient(circle at center, rgba(42,114,180,0.18), rgba(3,8,14,0.78) 62%, rgba(2,6,10,0.92) 100%); z-index: -1; }
button, input, select, textarea { font: inherit; }
input, select, textarea { width: 100%; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,0.04); color: var(--text); padding: 14px 16px; outline: none; }
a { color: #aef5cf; }
code { color: #b9f7d7; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
label span { display: block; margin-bottom: 8px; color: var(--silver); font-size: 13px; }
h1,h2,h3,p { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 11px; color: #97a0a7; margin-bottom: 8px; }
.muted { color: var(--muted); line-height: 1.6; }
.tiny, .hint { color: #9da4ab; font-size: 12px; line-height: 1.6; }
.glass { background: linear-gradient(180deg, rgba(8,20,31,0.86), rgba(8,18,28,0.72)); border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow); backdrop-filter: blur(16px); }
.subtle-box { background: rgba(255,255,255,0.04); border-radius: 18px; padding: 16px; border: 1px solid rgba(255,255,255,0.08); }
.brand-lockup { display: flex; align-items: center; gap: 16px; }
.brand-lockup.compact h2 { font-size: 20px; }
.brand-lockup-hero { align-items: flex-start; }
.brand-lockup-sidebar { align-items: center; }
.logo-image { display: block; object-fit: contain; filter: drop-shadow(0 12px 30px rgba(75,160,255,0.22)); border-radius: 20px; }
.logo-image-lg { width: 240px; max-width: 42vw; }
.logo-image-sm { width: 120px; max-width: 100%; }
.brand-mark { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; font-weight: 800; color: #05150d; background: linear-gradient(135deg, #d9dee2, #11b86f); }
.btn { border: 0; border-radius: 14px; padding: 14px 18px; cursor: pointer; font-weight: 700; }
.btn-primary { background: linear-gradient(135deg, #15cf7c, #0f8c58); color: #04130c; }
.btn-secondary { background: rgba(255,255,255,0.08); color: var(--text); border: 1px solid var(--border); }
.login-overlay { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0,0,0,0.45); z-index: 40; }
.login-card { width: min(640px, 100%); border-radius: 28px; padding: 32px; }
.login-grid, .form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 22px 0; }
.login-actions, .modal-actions, .topbar-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.credentials-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 12px; }
.credentials-grid p { margin: 10px 0 4px; }
.app-shell { display: grid; grid-template-columns: 280px 1fr; gap: 22px; padding: 22px; min-height: 100vh; }
.sidebar { border-radius: 28px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; }
.sidebar-top { display: grid; gap: 18px; }
.current-user strong { display: block; margin-bottom: 10px; }
.nav { display: grid; gap: 10px; margin: 10px 0 28px; }
.nav-item { width: 100%; text-align: left; padding: 14px 16px; border-radius: 14px; border: 1px solid transparent; background: transparent; color: var(--silver); cursor: pointer; }
.nav-item.active, .nav-item:hover { background: rgba(255,255,255,0.08); border-color: var(--border); color: #fff; }
.status-card { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 999px; background: var(--accent-soft); color: #a6f1cd; font-size: 13px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px rgba(53,214,138,0.15); }
.main-content { display: flex; flex-direction: column; gap: 20px; }
.topbar { border-radius: 26px; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.section { display: none; }
.section.active { display: block; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.card-span-8 { grid-column: span 8; }
.card-span-7 { grid-column: span 7; }
.card-span-5 { grid-column: span 5; }
.card-span-4 { grid-column: span 4; }
.hero-main, .stat-card, .chart-card, .table-card, .timeline-card, .upload-zone, .info-card, .seller-card, .lane { border-radius: 24px; padding: 22px; }
.hero-main { display: flex; justify-content: space-between; gap: 24px; min-height: 220px; }
.hero-text { max-width: 640px; }
.hero-text h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.1; margin-bottom: 14px; }
.hero-highlights { display: grid; gap: 12px; min-width: 220px; }
.mini-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); }
.mini-card strong { display: block; font-size: 24px; margin-bottom: 6px; }
.stat-card h3 { font-size: 34px; margin: 10px 0 12px; }
.label { color: var(--muted); font-size: 13px; }
.bar { height: 10px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; margin: 12px 0; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #bfc5ca, #11b86f); border-radius: inherit; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.bars { height: 260px; display: flex; align-items: flex-end; gap: 18px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bars span { width: 100%; border-radius: 16px 16px 6px 6px; background: linear-gradient(180deg, #dfe4e7, #12b46c); min-height: 12px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.4); }
.bars label { color: var(--muted); font-size: 12px; }
.stack-list { margin: 0; padding-left: 18px; color: var(--silver); display: grid; gap: 10px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 6px 0 18px; }
.table-card { overflow: auto; }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th, td { text-align: left; padding: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
th { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.badge { display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge.ok { background: rgba(53,214,138,0.12); color: #8af0ba; }
.badge.warn { background: rgba(255,184,77,0.12); color: #ffca74; }
.badge.danger { background: rgba(255,107,107,0.12); color: #ff9f9f; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lane h3 { margin-bottom: 14px; }
.lane-card { padding: 16px; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.cards-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-card h3, .seller-card h3 { margin-bottom: 8px; }
.timeline-card { display: grid; gap: 14px; }
.timeline-item { padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 16px; }
.ranking-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.upload-zone { min-height: 220px; display: grid; place-items: center; text-align: center; }
.profile-list { display: grid; gap: 14px; margin-top: 14px; }
.profile-item { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.profile-item:last-child { border-bottom: 0; }
.profile-item p { color: var(--muted); margin-top: 6px; }
.recovery-grid { margin-top: 18px; }
.progress-steps { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.step { padding: 10px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); color: var(--muted); }
.step.active { background: rgba(17,184,111,0.15); color: #9befc8; border-color: rgba(17,184,111,0.25); }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 50; }
.modal.open { display: flex; }
.modal-card { width: min(720px, 100%); border-radius: 28px; padding: 24px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.close-modal { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: rgba(255,255,255,0.05); color: #fff; font-size: 28px; cursor: pointer; }
.hidden { display: none !important; }
.toast { position: fixed; right: 22px; bottom: 22px; min-width: 280px; max-width: 420px; padding: 14px 16px; border-radius: 16px; background: rgba(16,16,16,0.92); border: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: all .25s ease; z-index: 60; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.ok { background: rgba(11,42,27,0.96); color: #d9ffe9; border-color: rgba(53,214,138,0.3); }
.toast.warn { background: rgba(66,45,15,0.96); color: #ffe9be; border-color: rgba(255,184,77,0.3); }
.toast.danger { background: rgba(70,20,20,0.96); color: #ffd7d7; border-color: rgba(255,107,107,0.3); }
@media (max-width: 1180px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid, .kanban, .cards-row, .ranking-grid, .credentials-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .card-span-8, .card-span-7, .card-span-5, .card-span-4 { grid-column: span 12; }
  .hero-main { flex-direction: column; }
}
@media (max-width: 720px) {
  .app-shell { padding: 14px; gap: 14px; }
  .topbar, .sidebar, .hero-main, .stat-card, .chart-card, .table-card, .timeline-card, .upload-zone, .info-card, .seller-card, .lane, .login-card { border-radius: 22px; }
  .login-grid, .form-grid { grid-template-columns: 1fr; }
  .topbar, .section-head, .timeline-item, .profile-item, .brand-lockup-hero { flex-direction: column; align-items: stretch; }
  .logo-image-lg { width: 200px; max-width: 100%; }
  .logo-image-sm { width: 96px; }
}

/* PATCH: Botoes Editar/Excluir nas linhas */
.btn-row { padding: 4px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; border: 1px solid; margin-right: 4px; background: transparent; font-family: inherit; transition: background 0.15s; }
.btn-row-edit { color: #6cf2c8; border-color: #6cf2c8; }
.btn-row-del { color: #ff7d7d; border-color: #ff7d7d; }
.btn-row-edit:hover { background: rgba(108,242,200,0.12); }
.btn-row-del:hover { background: rgba(255,125,125,0.12); }
.lane-card-actions { margin-top: 10px; display: flex; gap: 6px; }
.lane-card-actions .btn-row { padding: 2px 8px; font-size: 11px; }
.seller-card .btn-row { margin-top: 10px; }
.info-card .btn-row { margin-top: 10px; }

/* ===== MEGA PATCH v3 ===== */

/* Tema claro - aplica via [data-theme="light"] no <html> */
html[data-theme="light"] body { background: #f5f7fb; color: #1a1f2e; }
html[data-theme="light"] .glass { background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); border: 1px solid rgba(0,0,0,0.06); color: #1a1f2e; }
html[data-theme="light"] .topbar.glass { background: rgba(255,255,255,0.95); }
html[data-theme="light"] .sidebar.glass { background: rgba(255,255,255,0.92); }
html[data-theme="light"] .nav-item { color: #4a5568; }
html[data-theme="light"] .nav-item.active { background: rgba(108,242,200,0.15); color: #0a3a2a; }
html[data-theme="light"] table { color: #1a1f2e; }
html[data-theme="light"] th { color: #6b7280; }
html[data-theme="light"] tr { border-bottom: 1px solid rgba(0,0,0,0.05); }
html[data-theme="light"] input, html[data-theme="light"] select, html[data-theme="light"] textarea { background: #fff; color: #1a1f2e; border: 1px solid #d1d5db; }
html[data-theme="light"] .modal-card { background: #fff; color: #1a1f2e; }
html[data-theme="light"] .btn-secondary { background: #e5e7eb; color: #1a1f2e; }
html[data-theme="light"] .lane-card { background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.06); }
html[data-theme="light"] .login-overlay { background: linear-gradient(135deg, #f5f7fb 0%, #e5edf8 100%); }
html[data-theme="light"] .stat-card h3, html[data-theme="light"] .mini-card strong { color: #0a3a2a; }
html[data-theme="light"] .muted, html[data-theme="light"] .tiny, html[data-theme="light"] .label, html[data-theme="light"] .eyebrow { color: #6b7280; }

/* Toggle de tema (botao no sidebar) */
.theme-toggle { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: inherit; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-size: 12px; margin-top: 12px; width: 100%; }
.theme-toggle:hover { background: rgba(255,255,255,0.12); }

/* Search input nas tabelas */
.table-search { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.table-search input { flex: 1; max-width: 360px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: inherit; font-size: 13px; font-family: inherit; }
.table-search input:focus { outline: none; border-color: #6cf2c8; }
.btn-export { padding: 7px 14px; border-radius: 8px; font-size: 12px; cursor: pointer; border: 1px solid rgba(108,242,200,0.5); color: #6cf2c8; background: transparent; font-family: inherit; }
.btn-export:hover { background: rgba(108,242,200,0.1); }

/* Skeleton loader */
@keyframes skeleton-pulse { 0% { opacity: .6; } 50% { opacity: 1; } 100% { opacity: .6; } }
.skeleton { animation: skeleton-pulse 1.4s ease-in-out infinite; background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.12), rgba(255,255,255,0.05)); border-radius: 4px; height: 14px; display: inline-block; min-width: 80px; }
.skeleton-row td { padding: 10px 12px; }

/* Drag and drop no funil */
.lane-card { cursor: grab; transition: transform 0.15s; }
.lane-card:active { cursor: grabbing; }
.lane.drag-over { background: rgba(108,242,200,0.08); border: 2px dashed #6cf2c8; }
.lane-card.dragging { opacity: 0.5; }

/* Topbar lane (kanban) - mostrar valor total */
.lane-total { color: #6cf2c8; font-size: 12px; margin-left: 6px; opacity: 0.8; }

/* Charts container */
.chart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.chart-box { padding: 18px; min-height: 280px; }
.chart-box h4 { margin: 0 0 12px 0; font-size: 13px; opacity: 0.75; font-weight: 600; }
.chart-box canvas { max-height: 220px !important; }
.chart-period { display: inline-flex; gap: 4px; margin-bottom: 14px; }
.chart-period button { padding: 4px 10px; border-radius: 6px; font-size: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: inherit; cursor: pointer; font-family: inherit; }
.chart-period button.active { background: #6cf2c8; color: #0a3a2a; border-color: #6cf2c8; font-weight: 600; }

/* Command palette (Cmd+K) */
.cmd-palette { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: none; align-items: flex-start; justify-content: center; padding-top: 100px; z-index: 999; }
.cmd-palette.open { display: flex; }
.cmd-palette-card { width: 95%; max-width: 580px; background: #131a26; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,0.5); }
html[data-theme="light"] .cmd-palette-card { background: #fff; border-color: #e5e7eb; }
.cmd-palette input { width: 100%; padding: 16px 20px; background: transparent; border: none; outline: none; color: inherit; font-size: 16px; font-family: inherit; }
.cmd-results { max-height: 400px; overflow-y: auto; border-top: 1px solid rgba(255,255,255,0.06); }
html[data-theme="light"] .cmd-results { border-top-color: #e5e7eb; }
.cmd-item { padding: 12px 20px; cursor: pointer; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.cmd-item:hover, .cmd-item.selected { background: rgba(108,242,200,0.1); }
.cmd-item-tag { font-size: 11px; opacity: 0.6; padding: 2px 6px; border-radius: 4px; background: rgba(255,255,255,0.06); }

/* Tarefas / agenda (futuro) */
.task-item { padding: 8px 12px; border-radius: 6px; background: rgba(255,255,255,0.04); margin-bottom: 6px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }

/* Mobile responsive */
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr !important; }
  .sidebar { position: fixed; left: -260px; top: 0; bottom: 0; width: 260px; z-index: 100; transition: left 0.3s; }
  .sidebar.open { left: 0; }
  .topbar { flex-wrap: wrap; gap: 10px; }
  .topbar h1 { font-size: 18px; }
  .topbar-actions { width: 100%; }
  .mobile-menu-btn { display: inline-flex !important; }
  table { font-size: 12px; }
  th, td { padding: 6px 8px !important; }
  .grid { grid-template-columns: 1fr !important; }
  .card-span-4, .card-span-5, .card-span-7, .card-span-8 { grid-column: auto !important; }
  .chart-grid { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: 1fr; gap: 12px; }
  .cards-row { grid-template-columns: 1fr !important; }
  .modal-card { width: 95%; max-width: 95%; }
  .form-grid { grid-template-columns: 1fr !important; }
  .table-card { overflow-x: auto; }
}
.mobile-menu-btn { display: none; padding: 8px 14px; border-radius: 8px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); color: inherit; cursor: pointer; font-family: inherit; }

/* Audit feed */
.audit-row { padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.05); display: grid; grid-template-columns: 160px 120px 1fr; gap: 12px; font-size: 12px; }
.audit-row .audit-when { opacity: 0.7; }
.audit-row .audit-actor { font-weight: 600; color: #6cf2c8; }

/* ===== KANBAN CLIENTES ===== */
.clients-toolbar { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.view-toggle { display: inline-flex; background: rgba(255,255,255,0.06); border-radius: 8px; padding: 3px; border: 1px solid rgba(255,255,255,0.08); }
.vt-btn { padding: 6px 14px; border-radius: 6px; font-size: 12px; font-family: inherit; cursor: pointer; border: none; background: transparent; color: inherit; transition: all 0.15s; }
.vt-btn.active { background: #6cf2c8; color: #0a3a2a; font-weight: 600; }
.vt-btn:hover:not(.active) { background: rgba(255,255,255,0.05); }
html[data-theme="light"] .view-toggle { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.08); }

.clients-kanban { display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; overflow-x: auto; padding-bottom: 12px; }
.client-lane { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; display: flex; flex-direction: column; min-width: 220px; max-height: 720px; }
html[data-theme="light"] .client-lane { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.06); }
.client-lane.drag-over { background: rgba(108,242,200,0.08); border-color: #6cf2c8; }

.client-lane-head { padding: 10px 12px; border-radius: 12px 12px 0 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; background: rgba(255,255,255,0.04); }
html[data-theme="light"] .client-lane-head { background: rgba(255,255,255,0.6); }
.client-lane-head h4 { margin: 0; font-size: 13px; font-weight: 600; }
.client-lane-head .lane-count { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; background: rgba(108,242,200,0.18); color: #6cf2c8; font-size: 11px; font-weight: 700; }
.client-lane-head .tiny { font-size: 10px; opacity: 0.55; margin-top: 2px; }
.lane-add-btn { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(108,242,200,0.4); background: transparent; color: #6cf2c8; cursor: pointer; font-size: 18px; line-height: 1; font-weight: 600; }
.lane-add-btn:hover { background: rgba(108,242,200,0.12); }

.client-lane-body { padding: 8px; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 8px; }

.client-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 10px; cursor: grab; transition: transform 0.15s, box-shadow 0.15s; }
html[data-theme="light"] .client-card { background: rgba(255,255,255,0.85); border-color: rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.client-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-1px); }
html[data-theme="light"] .client-card:hover { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.client-card.dragging { opacity: 0.5; }
.client-card.empty { background: transparent; border: 1px dashed rgba(255,255,255,0.08); text-align: center; padding: 14px; cursor: default; }
.client-card:active { cursor: grabbing; }
.client-card .cc-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 4px; }
.client-card .cc-head strong { font-size: 13px; }
.client-card .cc-contact { font-size: 12px; opacity: 0.85; }
.client-card .cc-cargo { font-size: 11px; opacity: 0.6; margin-top: 2px; }
.client-card .cc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,0.06); }
html[data-theme="light"] .client-card .cc-foot { border-top-color: rgba(0,0,0,0.06); }
.client-card .cc-vendor { font-size: 11px; color: #6cf2c8; font-weight: 600; }
.client-card .cc-phone { font-size: 10px; opacity: 0.55; font-variant-numeric: tabular-nums; }
.client-card .cc-actions { display: flex; gap: 4px; margin-top: 8px; }
.client-card .cc-actions button { flex: 1; padding: 4px 6px; border-radius: 4px; border: 1px solid rgba(108,242,200,0.3); background: transparent; color: #6cf2c8; cursor: pointer; font-size: 10px; font-family: inherit; }
.client-card .cc-actions button:hover { background: rgba(108,242,200,0.1); }
.client-card .cc-actions button.del { border-color: rgba(255,125,125,0.3); color: #ff7d7d; }
.client-card .cc-actions button.del:hover { background: rgba(255,125,125,0.1); }

.prio-chip { padding: 1px 6px; border-radius: 8px; font-size: 9px; font-weight: 700; letter-spacing: 0.3px; }
.prio-chip.crit { background: rgba(239,68,68,0.2); color: #ef4444; }
.prio-chip.high { background: rgba(251,146,60,0.2); color: #fb923c; }
.prio-chip.med { background: rgba(251,191,36,0.2); color: #fbbf24; }

@media (max-width: 1200px) {
  .clients-kanban { grid-template-columns: repeat(3, minmax(200px, 1fr)); }
}
@media (max-width: 700px) {
  .clients-kanban { grid-template-columns: 1fr; max-height: none; }
  .client-lane { max-height: none; }
}
