*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* OX Design System — Portal do Parceiro */
    --primary:        #D71920;   /* OX Red */
    --primary-dark:   #A90F17;
    --primary-subtle: #FDECEC;
    --ink:            #14161C;   /* texto principal — leve viés azulado, nunca preto puro */
    --ink-soft:       #3A3F4B;
    --muted:          #6B7280;
    --muted-2:        #9AA1AC;
    --border:         #E4E7EC;
    --border-soft:    #EEF0F3;
    --bg:             #F4F5F7;
    --surface:         #FFFFFF;
    --sidebar-bg:     #14161C;
    --sidebar-hover:  #1F222B;
    --sidebar-text:   #A6ABB8;
    --danger:         #DC2626;
    --success:        #16A34A;
    --success-bg:     #ECFDF3;
    --warning:        #D97706;
    --warning-bg:     #FFFAEB;
    --danger-bg:      #FEF2F2;
    --radius:         12px;
    --radius-sm:      8px;
    --shadow-xs:      0 1px 2px rgba(20,22,28,.04);
    --shadow-sm:      0 1px 3px rgba(20,22,28,.06), 0 1px 2px rgba(20,22,28,.04);
    --shadow-md:      0 8px 24px rgba(20,22,28,.08), 0 2px 6px rgba(20,22,28,.04);
    --font:           'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

html { font-feature-settings: 'tnum' 1; }

body {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink);
    background: var(--bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }

/* ── Shell: sidebar + conteúdo ── */
#app { min-height: 100vh; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: 240px;
    flex-shrink: 0;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    padding: 20px 20px 16px;
}
.sidebar-brand-img { height: 30px; width: auto; object-fit: contain; }

.sidebar-nav {
    flex: 1;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow-y: auto;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--sidebar-text);
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    transition: background .12s, color .12s;
}
.sidebar-link i { width: 16px; text-align: center; font-size: 14px; flex-shrink: 0; }
.sidebar-link:hover { background: var(--sidebar-hover); color: #fff; }
.sidebar-link.ativo { background: var(--primary); color: #fff; }

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin-bottom: 4px;
}
.sidebar-user-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--primary); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.sidebar-user-name {
    font-size: 12.5px; font-weight: 600; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-user-email {
    font-size: 11px; color: var(--sidebar-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-signout {
    display: flex; align-items: center; gap: 9px;
    width: 100%; padding: 9px 8px; border: none; background: transparent;
    color: var(--sidebar-text); font-size: 13px; font-weight: 500;
    border-radius: var(--radius-sm); cursor: pointer; transition: background .12s, color .12s;
}
.sidebar-signout:hover { background: var(--sidebar-hover); color: #f87171; }

.main-content {
    flex: 1;
    min-width: 0;
    padding: 32px 40px 56px;
    max-width: 1280px;
}

.page-header { margin-bottom: 24px; }
.page-title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); margin-bottom: 4px; }
.page-subtitle { font-size: 13.5px; color: var(--muted); }

/* ── Cards ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    margin-bottom: 20px;
}
.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
}
.card-body { padding: 20px; }
.card-eyebrow {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted-2); margin-bottom: 6px;
}

/* ── Formulários ── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 12.5px; color: var(--ink-soft); }
.form-input, .form-select, textarea.form-input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 14px;
    color: var(--ink);
    background: var(--surface);
    transition: border-color .15s, box-shadow .15s;
}
.form-input:disabled { background: var(--bg); color: var(--muted); }
.form-input:focus, .form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-subtle);
}

/* ── Botões ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, opacity .15s, border-color .15s;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); }
.btn-ghost     { background: transparent; color: var(--ink-soft); border: 1px solid var(--border); }
.btn-ghost:hover:not(:disabled) { background: var(--bg); }
.btn-sm        { padding: 6px 12px; font-size: 12.5px; }
.btn-danger    { background: var(--danger); color: #fff; }

/* ── Tabela ── */
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.table th {
    text-align: left;
    padding: 11px 20px;
    font-weight: 600;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
table.table td {
    padding: 13px 20px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: middle;
}
table.table tbody tr:last-child td { border-bottom: none; }
table.table tbody tr:hover { background: var(--bg); }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.badge-success { background: var(--success-bg); color: #0a7a3d; }
.badge-warning { background: var(--warning-bg); color: #92400e; }
.badge-danger  { background: var(--danger-bg);  color: #991b1b; }
.badge-neutral { background: var(--bg); color: var(--ink-soft); }
.badge-primary { background: var(--primary-subtle); color: var(--primary-dark); }

/* ── Login split-screen (branding OX Parceiros) ── */
.login-root { display: flex; min-height: 100vh; background: #0a0a0a; }

.login-branding {
    flex: 0 0 440px; position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(160deg, #0F1420 0%, #0A0D14 100%);
}
.login-branding::after {
    content: ''; position: absolute; top: 0; right: 0; width: 1px; height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(215,25,32,.6) 30%,
        rgba(215,25,32,.8) 50%, rgba(215,25,32,.6) 70%, transparent 100%);
}
.login-branding-inner {
    position: relative; z-index: 1; padding: 48px; max-width: 380px; width: 100%;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.login-ox-logo { width: 280px; height: auto; margin-bottom: 24px; filter: drop-shadow(0 8px 40px rgba(215,25,32,.5)); }
.login-brand-tagline {
    font-size: 12.5px; color: rgba(255,255,255,.45); line-height: 1.7;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 44px;
}
.login-features { display: flex; flex-direction: column; gap: 14px; width: 100%; text-align: left; }
.login-feature-item {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: 10px;
}
.login-feature-icon {
    width: 34px; height: 34px; background: rgba(215,25,32,.15); border: 1px solid rgba(215,25,32,.3);
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #e74c3c; flex-shrink: 0;
}
.login-feature-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); line-height: 1.3; }
.login-feature-sub { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 2px; }

.login-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.login-deco-1 { width: 500px; height: 500px; bottom: -200px; left: -150px; background: radial-gradient(circle, rgba(215,25,32,.06) 0%, transparent 70%); }
.login-deco-2 { width: 300px; height: 300px; top: -80px; right: -60px; background: radial-gradient(circle, rgba(215,25,32,.05) 0%, transparent 70%); }

.login-watermark { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.login-watermark-icon { position: absolute; color: rgba(215,25,32,.06); line-height: 1; user-select: none; }
.login-watermark-icon:nth-child(1)  { font-size: 120px; top:  -20px; left:  -30px; transform: rotate(-15deg); }
.login-watermark-icon:nth-child(2)  { font-size:  80px; top:   40px; right:  20px; transform: rotate(10deg); }
.login-watermark-icon:nth-child(3)  { font-size: 100px; top:  160px; left:   60px; transform: rotate(5deg); }
.login-watermark-icon:nth-child(4)  { font-size:  70px; top:  200px; right:  60px; transform: rotate(-20deg); }
.login-watermark-icon:nth-child(5)  { font-size:  90px; top:  360px; left:  -20px; transform: rotate(12deg); }
.login-watermark-icon:nth-child(6)  { font-size: 110px; top:  380px; right: -20px; transform: rotate(-8deg); }
.login-watermark-icon:nth-child(7)  { font-size:  75px; top:  540px; left:   80px; transform: rotate(-5deg); }
.login-watermark-icon:nth-child(8)  { font-size:  85px; top:  560px; right:  80px; transform: rotate(18deg); }
.login-watermark-icon:nth-child(9)  { font-size:  95px; bottom: 80px; left:  10px; transform: rotate(-10deg); }
.login-watermark-icon:nth-child(10) { font-size:  65px; bottom: 40px; right:  30px; transform: rotate(8deg); }

.login-form-panel { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); }
.login-form-wrap { width: 100%; max-width: 380px; position: relative; z-index: 1; }

.login-mobile-logo { display: none; flex-direction: column; align-items: center; margin-bottom: 32px; }
.login-mobile-logo img { width: 200px; height: auto; filter: drop-shadow(0 6px 20px rgba(215,25,32,.5)); }

.login-form-header { margin-bottom: 30px; }
.login-form-title { font-size: 25px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; margin-bottom: 6px; }
.login-form-sub { font-size: 13.5px; color: var(--muted); }

.login-brand-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.login-brand-divider::before, .login-brand-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.login-brand-badge {
    display: flex; align-items: center; gap: 6px; padding: 4px 12px;
    border: 1px solid var(--border); border-radius: 20px; font-size: 11px; font-weight: 700;
    color: var(--primary-dark); letter-spacing: .05em; white-space: nowrap;
}

.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-label { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); }
.login-label .fas { font-size: 12px; color: var(--primary-dark); width: 14px; text-align: center; }

.login-input {
    width: 100%; height: 44px; padding: 0 14px; font-size: 14px; color: var(--ink);
    background: var(--surface); border: 1.5px solid var(--border); border-radius: 10px; outline: none;
    transition: border-color .15s, box-shadow .15s; font-family: var(--font);
}
.login-input::placeholder { color: var(--muted-2); }
.login-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-subtle); }
.login-input:hover:not(:focus) { border-color: rgba(215,25,32,.4); }
.login-input-error { border-color: var(--danger) !important; background: var(--danger-bg) !important; }

.login-input-group { position: relative; }
.login-input-icon-right { padding-right: 44px; }
.login-input-toggle {
    position: absolute; right: 0; top: 0; height: 100%; width: 44px;
    display: flex; align-items: center; justify-content: center;
    background: none; border: none; cursor: pointer; color: var(--muted-2); font-size: 14px; transition: color .15s;
}
.login-input-toggle:hover { color: var(--ink-soft); }

.login-erro {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: var(--danger-bg); border: 1px solid #fecaca;
    border-radius: 10px; color: var(--danger); font-size: 13px; font-weight: 500;
}

.login-btn {
    height: 46px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 14.5px; font-weight: 700; color: #fff; background: var(--primary); border: none;
    border-radius: 10px; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
    margin-top: 4px; letter-spacing: .01em;
}
.login-btn:hover:not(:disabled) { background: var(--primary-dark); box-shadow: 0 4px 20px rgba(215,25,32,.35); transform: translateY(-1px); }
.login-btn:active:not(:disabled) { transform: translateY(0); box-shadow: none; }
.login-btn:disabled { opacity: .65; cursor: not-allowed; }

.login-footer { text-align: center; font-size: 12px; color: var(--muted-2); margin-top: 28px; }

.spinner-sm { width: 16px; height: 16px; border-width: 2px; }

@media (max-width: 900px) {
    .login-branding { display: none; }
    .login-mobile-logo { display: flex; }
    .login-form-panel { background: #14090A; }
    .login-root { background: #14090A; }
    .login-form-title { color: #f0f0f0; }
    .login-form-sub { color: rgba(255,255,255,.5); }
    .login-label { color: rgba(255,255,255,.7); }
    .login-input { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); color: #f0f0f0; }
    .login-input::placeholder { color: rgba(255,255,255,.25); }
    .login-brand-divider::before, .login-brand-divider::after { background: rgba(255,255,255,.1); }
    .login-brand-badge { border-color: rgba(215,25,32,.4); background: rgba(215,25,32,.1); }
    .login-footer { color: rgba(255,255,255,.25); }
    .login-watermark-icon { color: rgba(215,25,32,.08); }
    .login-form-header { text-align: center; }
    .login-form-wrap { max-width: 400px; }
}
@media (max-width: 480px) {
    .login-form-panel { padding: 24px 16px; align-items: flex-start; padding-top: 48px; }
}

/* ── Filtros ── */
.filtros {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 16px 20px;
}

/* ── Paginação ── */
.paginacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--border);
}

/* ── Stats / KPIs ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: box-shadow .15s, border-color .15s;
}
.stat-card:hover { box-shadow: var(--shadow-sm); }
.stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    background: var(--primary-subtle);
    color: var(--primary-dark);
}
.stat-icon.stat-icon-success { background: var(--success-bg); color: #0a7a3d; }
.stat-icon.stat-icon-warning { background: var(--warning-bg); color: #92400e; }
.stat-icon.stat-icon-danger  { background: var(--danger-bg);  color: #991b1b; }
.stat-info { min-width: 0; }
.stat-value { font-size: 22px; font-weight: 700; line-height: 1.15; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-label { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── Gamificação (nível do parceiro) ── */
.nivel-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-xs); padding: 24px 28px; margin-bottom: 20px;
}
.nivel-track {
    display: flex; align-items: center; justify-content: space-between;
    margin: 24px 0 14px; position: relative; padding: 0 24px;
}
.nivel-track::before {
    content: ''; position: absolute; top: 50%; left: 24px; right: 24px; height: 2px;
    background: var(--border-soft); transform: translateY(-50%); z-index: 0;
}
.nivel-track-progress {
    position: absolute; top: 50%; left: 24px; height: 2px;
    background: var(--primary); transform: translateY(-50%); z-index: 0; transition: width .3s;
}
.nivel-badge {
    position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 19px;
    background: var(--surface); border: 2px solid var(--border); color: var(--muted-2);
    flex-shrink: 0;
}
.nivel-badge.atingido { background: var(--primary-subtle); border-color: var(--primary); color: var(--primary-dark); }
.nivel-badge.atual { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 0 0 4px var(--primary-subtle); }
.nivel-labels { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; font-weight: 600; padding: 0 24px; }
.nivel-labels span { width: 48px; text-align: center; }

/* ── Gráfico de crescimento ── */
.chart-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 8px; }
.chart-bar-col { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.chart-bar {
    width: 100%; max-width: 34px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 4px 4px 0 0; min-height: 3px; transition: height .3s;
}
.chart-bar-label { font-size: 10.5px; color: var(--muted); margin-top: 8px; }

/* ── Spinners ── */
.spinner {
    display: inline-block;
    width: 26px;
    height: 26px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-wrap {
    display: flex;
    justify-content: center;
    padding: 48px;
}

/* ── Empty ── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 48px;
    color: var(--muted);
    gap: 12px;
}
.empty-state i { font-size: 2rem; color: var(--primary-dark); opacity: .45; }

/* ── Modal ── */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(14,16,20,.55); backdrop-filter: blur(2px);
    z-index: 9998; display: flex; align-items: center; justify-content: center;
    padding: 16px; animation: fadeIn .15s ease;
}
.modal {
    background: var(--surface); border-radius: 16px;
    box-shadow: 0 24px 64px rgba(20,22,28,.28);
    width: 100%; max-width: 480px; max-height: calc(100vh - 48px); overflow-y: auto;
    animation: slideUp .18s ease;
}
.modal-lg { max-width: 720px; }
.modal-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1px solid var(--border-soft); gap: 12px;
}
.modal-title { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.modal-body { padding: 24px; }
.modal-footer {
    display: flex; align-items: center; justify-content: flex-end; gap: 12px;
    padding: 16px 24px; border-top: 1px solid var(--border-soft);
    background: var(--bg); border-radius: 0 0 16px 16px;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ── Formulários (extra) ── */
.form-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.form-row .form-group { flex: 1 1 120px; margin-bottom: 0; }
.form-hint { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.4; display: block; }
.alert { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.alert-danger { background: var(--danger-bg); color: #991b1b; border: 1px solid #fecaca; }

/* ── Wizard ── */
.wizard-steps { display: flex; align-items: center; gap: 5px; }
.wizard-steps .step { height: 6px; border-radius: 3px; background: var(--border); width: 8px; }
.wizard-steps .step.ativo { width: 24px; background: var(--primary); }
.wizard-section {
    display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
    font-size: 13px; font-weight: 700; color: var(--ink);
}
.wizard-section .wizard-icon {
    width: 26px; height: 26px; border-radius: 7px; background: var(--primary-subtle);
    color: var(--primary-dark); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; font-size: 12px;
}
.modulo-item {
    display: flex; align-items: center; padding: 10px 14px; border: 1px solid var(--border);
    border-radius: var(--radius-sm); cursor: pointer; margin-bottom: 6px; gap: 10px;
    transition: border-color .12s, background .12s;
}
.modulo-item.selecionado { border-color: var(--primary); background: var(--primary-subtle); }

/* ── Kanban ── */
.kanban-board { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.kanban-coluna {
    background: var(--bg); border-radius: var(--radius); padding: 14px;
    min-width: 230px; flex: 1 1 230px;
}
.kanban-coluna-titulo {
    font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--muted); margin-bottom: 12px; display: flex; align-items: center;
    justify-content: space-between;
}
.kanban-coluna.drop-ativo { background: var(--primary-subtle); outline: 2px dashed var(--primary); }
.kanban-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 11px 13px; margin-bottom: 8px; font-size: 13px; box-shadow: var(--shadow-xs);
}
.kanban-card[draggable="true"] { cursor: grab; }
.kanban-card-desc { color: var(--ink); margin-bottom: 6px; }
.kanban-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--muted); }

.cliente-opcao:hover { background: var(--bg); }

/* ── Toast ── */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    animation: slideIn .2s ease;
}
.toast-success { background: var(--success); }
.toast-erro    { background: var(--danger); }
@keyframes slideIn { from { opacity:0; transform:translateY(8px); } }
