@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

:root {
    color-scheme: light;
    --navy: #123b83;
    --navy-2: #155eef;
    --green: #155eef;
    --green-dark: #0d47c1;
    --ink: #142434;
    --muted: #6a7888;
    --line: #dfe7ee;
    --surface: #ffffff;
    --background: #f4f7fa;
    --danger: #b42318;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
button, input, select, textarea { font: inherit; }

body.cob-app {
    background: var(--background);
    color: var(--ink);
    font-family: 'Comfortaa', sans-serif;
}

body.cob-app, body.cob-app *, body.cob-app button, body.cob-app input, body.cob-app select, body.cob-app textarea, body.cob-app table {
    font-family: 'Comfortaa', sans-serif;
}

.cob-auth-shell {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(320px, .9fr) minmax(440px, 1.1fr);
}

.cob-brand-panel {
    display: flex;
    align-items: center;
    padding: clamp(42px, 7vw, 100px);
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, #0b348f, #155eef);
    color: #fff;
}

.cob-brand-panel::before,
.cob-brand-panel::after {
    position: absolute;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 50%;
    content: "";
}
.cob-brand-panel::before { width: 440px; height: 440px; right: -230px; top: -170px; }
.cob-brand-panel::after { width: 320px; height: 320px; left: -180px; bottom: -140px; }
.cob-brand-content { max-width: 520px; position: relative; z-index: 1; }

.cob-logo,
.cob-mobile-logo {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 34px;
    border-radius: 19px;
    background: linear-gradient(145deg, #4f8cff, var(--green));
    box-shadow: 0 14px 32px rgba(0,0,0,.2);
    color: #fff;
    font-size: 30px;
    font-weight: 850;
    place-items: center;
}

.cob-mobile-logo { display: none; }
.cob-eyebrow {
    margin: 0 0 12px;
    color: var(--green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.cob-brand-panel .cob-eyebrow { color: #c9dcff; }
.cob-brand-panel h1 {
    max-width: 480px;
    margin: 0 0 20px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.04;
    letter-spacing: -.035em;
}
.cob-brand-panel p:last-child {
    max-width: 460px;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 18px;
    line-height: 1.65;
}

.cob-form-panel {
    display: grid;
    padding: 32px;
    background:
        radial-gradient(circle at 88% 12%, rgba(21,94,239,.10), transparent 22rem),
        var(--background);
    place-items: center;
}
.cob-login-card { width: min(100%, 430px); }
.cob-login-card h2 { margin: 0; font-size: clamp(32px, 4vw, 43px); letter-spacing: -.03em; }
.cob-subtitle { margin: 10px 0 30px; color: var(--muted); line-height: 1.6; }

.cob-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 13px 15px;
    border: 1px solid #f1b4ae;
    border-radius: 12px;
    background: #fff1ef;
    color: var(--danger);
    font-size: 14px;
}
.cob-alert span {
    display: grid;
    flex: 0 0 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-weight: 800;
    place-items: center;
}

.cob-form { display: grid; }
.cob-form label { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.cob-form input {
    width: 100%;
    height: 52px;
    margin-bottom: 19px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    outline: none;
    background: var(--surface);
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.cob-form input:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(21,94,239,.12);
}
.cob-password-wrap { position: relative; }
.cob-password-wrap input { padding-right: 82px; }
.cob-toggle-password {
    position: absolute;
    top: 0;
    right: 6px;
    height: 52px;
    padding: 0 10px;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}
.cob-submit {
    height: 54px;
    margin-top: 5px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), #118565);
    box-shadow: 0 12px 26px rgba(21,94,239,.22);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    transition: transform .2s, box-shadow .2s;
}
.cob-submit:hover { transform: translateY(-1px); box-shadow: 0 15px 30px rgba(21,94,239,.28); }
.cob-security { margin: 25px 0 0; color: #8a96a2; font-size: 12px; text-align: center; }

.cob-session-shell {
    display: grid;
    min-height: 100vh;
    padding: 22px;
    background:
        radial-gradient(circle at 15% 20%, rgba(21,94,239,.12), transparent 30rem),
        radial-gradient(circle at 85% 80%, rgba(16,47,80,.12), transparent 32rem),
        var(--background);
    place-items: center;
}
.cob-session-card {
    width: min(100%, 620px);
    padding: clamp(34px, 7vw, 68px);
    border: 1px solid rgba(16,47,80,.1);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(16,47,80,.13);
    text-align: center;
}
.cob-session-card .cob-logo { margin: 0 auto 27px; }
.cob-session-card h1 { margin: 0; color: var(--navy); font-size: clamp(31px, 6vw, 46px); }
.cob-session-card > p:not(.cob-eyebrow) { color: var(--muted); line-height: 1.6; }
.cob-profile { display: inline-block; margin: 12px 0 27px; padding: 10px 15px; border-radius: 999px; background: #eaf8f3; color: var(--green-dark); font-size: 14px; }
.cob-logout { border: 0; background: transparent; color: var(--navy-2); cursor: pointer; font-weight: 750; text-decoration: underline; }

/* Painel de cobrança */
.cob-dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    background: #f5f7fb;
}

.cob-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    width: 272px;
    padding: 22px 16px;
    overflow-y: auto;
    flex-direction: column;
    background: #0b348f;
    color: #fff;
    box-shadow: 12px 0 38px rgba(16, 48, 116, .12);
}

.cob-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 8px 21px;
}

.cob-brand-mark {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 13px;
    background: #fff;
    color: #155eef;
    box-shadow: 0 9px 24px rgba(0, 0, 0, .15);
    font-size: 21px;
    font-weight: 900;
    place-items: center;
}

.cob-sidebar-brand > div,
.cob-sidebar-user > div {
    display: grid;
    min-width: 0;
}

.cob-sidebar-brand strong { font-size: 15px; }
.cob-sidebar-brand small { margin-top: 3px; color: #bed3ff; font-size: 10px; }

.cob-company-chip {
    display: grid;
    gap: 5px;
    margin-bottom: 18px;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.08);
}

.cob-company-chip span {
    color: #bcd1ff;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cob-company-chip strong { font-size: 12px; }
.cob-company-chip small {
    width: max-content;
    margin-top: 3px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: #dbe7ff;
    font-size: 9px;
}

.cob-nav { display: grid; gap: 4px; }

.cob-nav-item {
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    gap: 9px;
    padding: 11px 12px;
    border-radius: 10px;
    color: rgba(255,255,255,.74);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: background .18s, color .18s;
}

.cob-nav-item:hover,
.cob-nav-item.active {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.cob-nav-item.active { box-shadow: inset 3px 0 #fff; }
.cob-nav-icon { color: #d9e6ff; font-size: 16px; font-weight: 900; text-align: center; }

.cob-sidebar-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 22px 6px 2px;
}

.cob-sidebar-user {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.cob-sidebar-user > span,
.cob-top-user > span {
    display: grid;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #fff;
    color: #155eef;
    font-size: 13px;
    font-weight: 900;
    place-items: center;
}

.cob-sidebar-user strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.cob-sidebar-user small { margin-top: 2px; color: #bcd1ff; font-size: 9px; }
.cob-sidebar-logout {
    padding: 0;
    border: 0;
    background: transparent;
    color: #d7e4ff;
    cursor: pointer;
    font-size: 10px;
    text-decoration: underline;
}

.cob-sidebar-overlay { display: none; }
.cob-dashboard-main { min-width: 0; grid-column: 2; }

.cob-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    min-height: 86px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px clamp(20px, 4vw, 46px);
    border-bottom: 1px solid #e1e8f2;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
}

.cob-topbar h1 { margin: 3px 0 0; color: #172b4d; font-size: clamp(21px, 3vw, 28px); letter-spacing: -.025em; }
.cob-section-label {
    color: #155eef;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.cob-top-user {
    display: grid;
    grid-template-columns: 38px auto;
    align-items: center;
    gap: 10px;
}

.cob-top-user > span { background: #eaf1ff; }
.cob-top-user > div { display: grid; }
.cob-top-user strong { color: #203452; font-size: 11px; }
.cob-top-user small { margin-top: 2px; color: #718096; font-size: 9px; }
.cob-menu-button { display: none; border: 0; background: transparent; color: #155eef; cursor: pointer; font-size: 24px; }

.cob-dashboard-content { padding: clamp(22px, 4vw, 46px); }

.cob-hero {
    display: flex;
    min-height: 205px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(27px, 5vw, 48px);
    overflow: hidden;
    position: relative;
    border-radius: 22px;
    background: linear-gradient(135deg, #0b348f, #155eef);
    box-shadow: 0 18px 45px rgba(21, 94, 239, .18);
    color: #fff;
}

.cob-hero::after {
    position: absolute;
    width: 310px;
    height: 310px;
    right: -130px;
    bottom: -190px;
    border: 55px solid rgba(255,255,255,.06);
    border-radius: 50%;
    content: "";
}

.cob-hero > div { position: relative; z-index: 1; }
.cob-hero-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cob-hero h2 { max-width: 680px; margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; line-height: 1.08; }
.cob-hero p { max-width: 680px; margin: 0; color: rgba(255,255,255,.76); line-height: 1.6; }
.cob-online {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 1;
    flex: 0 0 auto;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-size: 10px;
    font-weight: 750;
}
.cob-online i { width: 7px; height: 7px; border-radius: 50%; background: #69f0ae; box-shadow: 0 0 0 4px rgba(105,240,174,.13); }

.cob-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.cob-stat-card,
.cob-panel {
    border: 1px solid #e1e8f2;
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(27, 54, 93, .045);
}

.cob-stat-card { display: grid; gap: 9px; min-width: 0; padding: 20px; }
.cob-stat-card > span { color: #718096; font-size: 9px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.cob-stat-card strong { overflow: hidden; color: #172b4d; font-size: clamp(20px, 2.5vw, 26px); text-overflow: ellipsis; }
.cob-stat-card small { color: #8390a1; font-size: 10px; line-height: 1.45; }
.cob-stat-highlight { border-color: #bfd2ff; background: #f7faff; }
.cob-stat-highlight strong { color: #155eef; }

.cob-dashboard-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(250px, .8fr); gap: 18px; }
.cob-panel { padding: 24px; }
.cob-panel-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.cob-panel-head h2,
.cob-priority-panel h2,
.cob-page-intro h2 { margin: 5px 0 6px; color: #172b4d; font-size: 22px; }
.cob-panel-head p,
.cob-priority-panel p,
.cob-page-intro p { margin: 0; color: #718096; font-size: 12px; line-height: 1.6; }

.cob-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.cob-quick-card {
    display: grid;
    gap: 7px;
    padding: 17px;
    border: 1px solid #e2e9f3;
    border-radius: 13px;
    color: #172b4d;
    text-decoration: none;
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.cob-quick-card:hover { transform: translateY(-2px); border-color: #a9c4ff; box-shadow: 0 10px 22px rgba(21,94,239,.09); }
.cob-quick-card > span { color: #155eef; font-size: 21px; }
.cob-quick-card strong { font-size: 12px; }
.cob-quick-card small { color: #8491a3; font-size: 9px; }

.cob-priority-panel { display: flex; align-items: flex-start; flex-direction: column; background: linear-gradient(145deg, #fff, #f3f7ff); }
.cob-primary-button {
    display: inline-flex;
    margin-top: auto;
    padding: 12px 17px;
    border-radius: 10px;
    background: #155eef;
    box-shadow: 0 9px 20px rgba(21,94,239,.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.cob-page-intro { margin-bottom: 20px; }
.cob-page-intro h2 { font-size: clamp(27px, 4vw, 34px); }
.cob-module-preview { min-height: 410px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.cob-preview-icon { display: grid; width: 70px; height: 70px; border-radius: 20px; background: #eaf1ff; color: #155eef; font-size: 31px; place-items: center; }
.cob-module-preview h2 { margin: 20px 0 8px; color: #172b4d; }
.cob-module-preview p { max-width: 540px; margin: 0; color: #718096; line-height: 1.6; }
.cob-status-pill { margin-top: 20px; padding: 7px 11px; border-radius: 999px; background: #eaf1ff; color: #155eef; font-size: 9px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }

@media (max-width: 820px) {
    .cob-auth-shell { grid-template-columns: 1fr; }
    .cob-brand-panel { display: none; }
    .cob-form-panel { min-height: 100vh; padding: 24px; }
    .cob-mobile-logo { display: grid; margin-bottom: 28px; }
    .cob-dashboard-shell { display: block; }
    .cob-dashboard-main { min-width: 0; }
    .cob-sidebar { transform: translateX(-105%); transition: transform .24s ease; }
    .cob-menu-open .cob-sidebar { transform: translateX(0); }
    .cob-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 35;
        background: rgba(7, 22, 50, .46);
    }
    .cob-menu-open .cob-sidebar-overlay { display: block; }
    .cob-menu-button { display: block; }
    .cob-topbar { justify-content: flex-start; min-height: 78px; padding: 14px 18px; }
    .cob-top-user { margin-left: auto; }
    .cob-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cob-dashboard-columns { grid-template-columns: 1fr; }
    .cob-priority-panel { min-height: 220px; }
}
@media (max-width: 420px) {
    .cob-form-panel { padding: 22px 18px; place-items: center stretch; }
    .cob-login-card h2 { font-size: 32px; }
    .cob-top-user > div { display: none; }
    .cob-dashboard-content { padding: 16px; }
    .cob-hero { display: block; border-radius: 17px; }
    .cob-online { margin-top: 22px; }
    .cob-stats-grid { grid-template-columns: 1fr; }
    .cob-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cob-panel { padding: 18px; }
}

/* PASSO 3 — Gestão de equipe, permissões e notas */
.cob-inline-alert {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(27, 54, 93, .05);
}

.cob-inline-alert > span {
    display: grid;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    place-items: center;
}

.cob-inline-alert p { margin: 0; font-size: 12px; font-weight: 700; }
.cob-inline-alert-success { border-color: #9bdec9; color: #0b7658; background: #effbf7; }
.cob-inline-alert-success > span { background: #0b9a72; }
.cob-inline-alert-error { border-color: #f2b8b2; color: #a72b21; background: #fff3f1; }
.cob-inline-alert-error > span { background: #c43c30; }
.cob-inline-alert-warning { border-color: #f0d58b; color: #8a6111; background: #fff9e8; }
.cob-inline-alert-warning > span { background: #b88012; }

.cob-page-intro-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.cob-team-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cob-team-summary span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 11px;
    border: 1px solid #dce5f2;
    border-radius: 999px;
    background: #fff;
    color: #718096;
    font-size: 10px;
}

.cob-team-summary strong { color: #155eef; font-size: 12px; }

.cob-team-layout {
    display: grid;
    grid-template-columns: minmax(290px, .72fr) minmax(0, 1.55fr);
    align-items: start;
    gap: 18px;
}

.cob-team-form-panel { position: sticky; top: 106px; }
.cob-team-form-panel h2,
.cob-team-list-panel h2 { margin: 6px 0 7px; color: #172b4d; font-size: 21px; }
.cob-panel-description { margin: 0 0 21px; color: #718096; font-size: 11px; line-height: 1.6; }

.cob-team-form { display: grid; gap: 16px; }
.cob-field { display: grid; gap: 7px; }
.cob-field label { color: #243b5a; font-size: 11px; font-weight: 800; }
.cob-field input,
.cob-field select {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #d9e2ef;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: #172b4d;
    font: inherit;
    font-size: 12px;
    transition: border-color .18s, box-shadow .18s;
}

.cob-field input:focus,
.cob-field select:focus {
    border-color: #5d8df5;
    box-shadow: 0 0 0 4px rgba(21, 94, 239, .1);
}

.cob-field small { color: #8491a3; font-size: 9px; line-height: 1.45; }
.cob-team-form .cob-password-wrap input { padding-right: 75px; }
.cob-team-form .cob-toggle-password { height: 48px; }

.cob-primary-submit {
    height: 49px;
    margin-top: 2px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #155eef, #0b348f);
    box-shadow: 0 11px 24px rgba(21, 94, 239, .2);
    color: #fff;
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    transition: transform .18s, box-shadow .18s;
}

.cob-primary-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(21, 94, 239, .27); }
.cob-team-list-panel { min-width: 0; }
.cob-team-table-wrap { overflow-x: auto; border: 1px solid #e2e9f3; border-radius: 13px; }

.cob-team-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    background: #fff;
    font-size: 10px;
}

.cob-team-table th,
.cob-team-table td { padding: 13px 14px; border-bottom: 1px solid #edf1f6; text-align: left; vertical-align: middle; }
.cob-team-table tr:last-child td { border-bottom: 0; }
.cob-team-table th {
    background: #f7f9fc;
    color: #6d7d91;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cob-team-table td { color: #53657d; white-space: nowrap; }
.cob-person-cell { display: grid; grid-template-columns: 35px minmax(150px, 1fr); align-items: center; gap: 9px; }
.cob-person-cell > span {
    display: grid;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eaf1ff;
    color: #155eef;
    font-size: 11px;
    font-weight: 900;
    place-items: center;
}
.cob-person-cell > div { display: grid; gap: 3px; }
.cob-person-cell strong { color: #203452; font-size: 10px; }
.cob-person-cell small { color: #8592a3; font-size: 9px; }

.cob-role-badge,
.cob-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cob-role-admin { background: #eaf1ff; color: #155eef; }
.cob-role-agente { background: #f1edff; color: #6544b8; }
.cob-status-ativo { background: #e9f8f2; color: #0a7a59; }
.cob-status-inativo,
.cob-status-bloqueado { background: #fff0ee; color: #ae3228; }
.cob-empty-state { padding: 30px !important; color: #8491a3 !important; text-align: center !important; }

.cob-stats-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cob-module-preview-compact { min-height: 320px; margin-top: 18px; }
.cob-agent-hero { margin-bottom: 18px; }

.cob-access-denied {
    min-height: min(520px, calc(100vh - 180px));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.cob-denied-icon {
    display: grid;
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
    border-radius: 22px;
    background: #fff0ee;
    color: #b42318;
    font-size: 34px;
    font-weight: 900;
    place-items: center;
}

.cob-access-denied h2 { margin: 7px 0 8px; color: #172b4d; font-size: clamp(29px, 4vw, 38px); }
.cob-access-denied p { max-width: 500px; margin: 0 0 22px; color: #718096; line-height: 1.6; }
.cob-access-denied .cob-primary-button { margin-top: 0; }

.cob-changelog-panel { padding: clamp(22px, 4vw, 36px); }
.cob-timeline { position: relative; max-width: 900px; }
.cob-timeline::before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 9px;
    width: 2px;
    border-radius: 999px;
    background: #d7e3fa;
    content: "";
}

.cob-timeline-item { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 18px; position: relative; }
.cob-timeline-marker {
    z-index: 1;
    width: 20px;
    height: 20px;
    margin-top: 19px;
    border: 5px solid #dce8ff;
    border-radius: 50%;
    background: #155eef;
    box-shadow: 0 0 0 4px #fff;
}

.cob-timeline-card {
    padding: clamp(20px, 4vw, 30px);
    border: 1px solid #dce5f2;
    border-radius: 17px;
    background: linear-gradient(145deg, #fff, #f7faff);
}

.cob-release-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.cob-release-badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: #155eef;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.cob-release-head small { color: #0b8a67; font-size: 9px; font-weight: 800; }
.cob-timeline-card p { margin: 0; color: #4d6078; font-size: 13px; line-height: 1.75; }

.cob-quick-grid-admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 1100px) {
    .cob-team-layout { grid-template-columns: 1fr; }
    .cob-team-form-panel { position: static; }
}

@media (max-width: 820px) {
    .cob-page-intro-actions { align-items: flex-start; flex-direction: column; }
    .cob-team-summary { justify-content: flex-start; }
    .cob-stats-grid-three { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .cob-quick-grid-admin { grid-template-columns: 1fr; }
    .cob-release-head { align-items: flex-start; flex-direction: column; gap: 8px; }
    .cob-timeline-item { gap: 12px; }
    .cob-changelog-panel { padding: 17px; }
}


.cob-timeline-item + .cob-timeline-item { margin-top: 18px; }

.cob-quick-grid-admin { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1100px) {
    .cob-quick-grid-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .cob-quick-grid-admin { grid-template-columns: 1fr; }
}


/* PASSO 5 — Fila de Atendimento e identidade Comfortaa */
.cob-queue-summary {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}
.cob-queue-summary > span:first-child {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    min-height: 38px;
    padding: 9px 13px;
    border: 1px solid #dbe5f4;
    border-radius: 999px;
    background: #fff;
    color: #5f7188;
    font-size: 10px;
    font-weight: 700;
}
.cob-queue-summary > span:first-child strong { color: #155eef; font-size: 15px; }

.cob-queue-layout { display: grid; gap: 18px; align-items: start; }
.cob-queue-layout.has-action-panel { grid-template-columns: minmax(0, 1fr) minmax(360px, 430px); }
.cob-queue-panel { min-width: 0; }
.cob-responsive-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e9f3;
    border-radius: 15px;
    background: #fff;
}
.cob-queue-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}
.cob-queue-table th,
.cob-queue-table td {
    padding: 14px 13px;
    border-bottom: 1px solid #edf1f6;
    text-align: left;
    vertical-align: middle;
}
.cob-queue-table th {
    background: #f7f9fd;
    color: #64768d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
    white-space: nowrap;
}
.cob-queue-table td { color: #53657d; }
.cob-queue-table td strong { color: #263b59; }
.cob-queue-table tr:last-child td { border-bottom: 0; }
.cob-queue-table tbody tr { transition: background .18s; }
.cob-queue-table tbody tr:hover,
.cob-queue-table tbody tr.is-selected { background: #f4f7ff; }
.cob-delay-badge {
    display: inline-flex;
    padding: 7px 9px;
    border-radius: 999px;
    background: #fff0ee;
    color: #aa352c;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}
.cob-action-button {
    display: inline-flex;
    min-height: 34px;
    padding: 8px 13px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #155eef;
    box-shadow: 0 8px 18px rgba(21,94,239,.17);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}
.cob-action-button:hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgba(21,94,239,.24); color: #fff; }

.cob-action-panel {
    position: sticky;
    top: 18px;
    max-height: calc(100vh - 36px);
    padding: 22px;
    overflow-y: auto;
    border: 1px solid #dfe7f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(24,55,95,.12);
}
.cob-action-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 18px;
    border-bottom: 1px solid #edf1f6;
}
.cob-action-panel-head h2 { margin: 5px 0 0; color: #172b4d; font-size: 20px; line-height: 1.25; }
.cob-panel-close {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 11px;
    background: #f1f4f8;
    color: #4d6078;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    place-items: center;
    text-decoration: none;
}
.cob-panel-close:hover { background: #e7edf5; color: #172b4d; }

.cob-debtor-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}
.cob-debtor-data-grid > div {
    min-width: 0;
    padding: 12px;
    border: 1px solid #e5ebf3;
    border-radius: 12px;
    background: #fafbfd;
}
.cob-debtor-data-grid span { display: block; margin-bottom: 5px; color: #7a899a; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cob-debtor-data-grid strong { display: block; overflow-wrap: anywhere; color: #263b59; font-size: 10px; line-height: 1.5; }

.cob-occurrence-form-section,
.cob-history-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf1f6;
}
.cob-occurrence-form-section h3,
.cob-history-section h3 { margin: 5px 0 14px; color: #203452; font-size: 15px; }
.cob-occurrence-form { display: grid; gap: 13px; }
.cob-occurrence-form .cob-field { margin: 0; }
.cob-occurrence-form textarea {
    width: 100%;
    min-height: 118px;
    padding: 13px 14px;
    resize: vertical;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    outline: none;
    background: #fff;
    color: #142434;
    font-size: 10px;
    line-height: 1.65;
}
.cob-occurrence-form textarea:focus { border-color: #155eef; box-shadow: 0 0 0 4px rgba(21,94,239,.1); }

.cob-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cob-history-head > span { color: #7b899b; font-size: 9px; font-weight: 700; }
.cob-history-list { display: grid; gap: 10px; }
.cob-history-item {
    padding: 13px;
    border: 1px solid #e4eaf3;
    border-radius: 13px;
    background: #fbfcfe;
}
.cob-history-meta { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-bottom: 9px; }
.cob-occurrence-status {
    display: inline-flex;
    padding: 6px 8px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #155eef;
    font-size: 8px;
    font-weight: 800;
}
.cob-history-meta time { color: #8a97a7; font-size: 8px; }
.cob-history-item p { margin: 0 0 8px; color: #42566f; font-size: 10px; line-height: 1.65; }
.cob-history-item small { color: #8491a3; font-size: 8px; line-height: 1.5; }
.cob-history-empty { padding: 20px; border: 1px dashed #dbe3ee; border-radius: 12px; color: #8491a3; font-size: 10px; text-align: center; }

.cob-quick-grid-admin { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (max-width: 1320px) {
    .cob-queue-layout.has-action-panel { grid-template-columns: 1fr; }
    .cob-action-panel { position: static; max-height: none; }
    .cob-quick-grid-admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .cob-queue-summary { justify-content: flex-start; }
    .cob-debtor-data-grid { grid-template-columns: 1fr; }
    .cob-action-panel { padding: 18px; border-radius: 16px; }
    .cob-quick-grid-admin { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .cob-responsive-table-wrap { overflow: visible; border: 0; background: transparent; }
    .cob-queue-table, .cob-queue-table tbody, .cob-queue-table tr, .cob-queue-table td { display: block; width: 100%; }
    .cob-queue-table thead { display: none; }
    .cob-queue-table tbody { display: grid; gap: 12px; }
    .cob-queue-table tr {
        padding: 13px;
        border: 1px solid #e2e9f3;
        border-radius: 14px;
        background: #fff;
    }
    .cob-queue-table td {
        display: grid;
        grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr);
        gap: 10px;
        padding: 9px 0;
        border-bottom: 1px solid #edf1f6;
        text-align: right;
    }
    .cob-queue-table td::before {
        color: #7a899a;
        content: attr(data-label);
        font-size: 8px;
        font-weight: 800;
        text-align: left;
        text-transform: uppercase;
    }
    .cob-queue-table td:last-child { border-bottom: 0; }
    .cob-action-button { justify-self: end; }
    .cob-history-meta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
    .cob-quick-grid-admin { grid-template-columns: 1fr; }
}

/* PASSO 6 — Simulador de Acordos e integrações de pagamento */
.cob-environment-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid #bfd3ff;
    border-radius: 999px;
    background: #edf4ff;
    color: #155eef;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.cob-environment-badge.is-production { border-color: #ffc5bf; background: #fff1ef; color: #b33b31; }
.cob-payment-settings-form { display: grid; gap: 18px; }
.cob-payment-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.cob-form-grid-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 18px; }
.cob-field small { display: block; margin-top: 6px; color: #7d8da1; font-size: 8px; line-height: 1.5; }
.cob-creditor-split-panel { min-width: 0; }
.cob-split-table td:first-child small { display: block; margin-top: 4px; color: #8491a3; font-size: 8px; }
.cob-split-table input {
    width: 100%; min-width: 210px; padding: 10px 11px; border: 1px solid #dfe7ee; border-radius: 10px;
    background: #fff; color: #203452; font-size: 9px; outline: none;
}
.cob-split-table input:focus { border-color: #155eef; box-shadow: 0 0 0 3px rgba(21,94,239,.1); }
.cob-settings-actions {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px;
    border: 1px solid #dfe7f2; border-radius: 15px; background: #fff;
}
.cob-settings-actions span { color: #7a899a; font-size: 9px; line-height: 1.5; }

.cob-agreement-section,
.cob-agreement-result {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #edf1f6;
}
.cob-agreement-section h3,
.cob-agreement-result h3 { margin: 5px 0 8px; color: #203452; font-size: 15px; }
.cob-agreement-form { display: grid; gap: 14px; margin-top: 14px; }
.cob-original-debt {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center;
    padding: 13px 14px; border: 1px solid #dbe6f5; border-radius: 13px; background: #f6f9ff;
}
.cob-original-debt span { color: #718198; font-size: 9px; font-weight: 800; text-transform: uppercase; }
.cob-original-debt strong { color: #155eef; font-size: 15px; }
.cob-original-debt small { grid-column: 1 / -1; color: #7d8da1; font-size: 8px; }
.cob-agreement-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.cob-agreement-fields .cob-field { margin: 0; }
.cob-live-calculation { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cob-live-calculation > div {
    display: grid; gap: 5px; padding: 11px; border: 1px solid #e3eaf3; border-radius: 11px; background: #fbfcfe;
}
.cob-live-calculation span { color: #7b899a; font-size: 8px; font-weight: 800; text-transform: uppercase; }
.cob-live-calculation strong { color: #263b59; font-size: 10px; }
.cob-live-calculation .is-total {
    grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; padding: 14px;
    border-color: #bfd3ff; background: #edf4ff;
}
.cob-live-calculation .is-total strong { color: #155eef; font-size: 18px; }
.cob-live-calculation .is-total small { grid-column: 1 / -1; color: #516b92; font-size: 10px; font-weight: 800; }
.cob-split-preview { margin: 0; padding: 10px 12px; border-radius: 10px; background: #eefaf4; color: #537365; font-size: 8px; line-height: 1.5; }
.cob-split-preview strong { color: #16794b; }

.cob-agreement-result {
    padding: 16px; border: 1px solid #d7e4f5; border-radius: 15px; background: #f8fbff;
}
.cob-agreement-result.is-success { border-color: #bce6d0; background: #f3fcf7; }
.cob-agreement-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.cob-api-status {
    display: inline-flex; padding: 6px 9px; border-radius: 999px; background: #fff1da; color: #9a6100;
    font-size: 8px; font-weight: 800; white-space: nowrap;
}
.cob-agreement-result.is-success .cob-api-status { background: #ddf7e8; color: #16794b; }
.cob-agreement-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }
.cob-agreement-summary-grid > div { padding: 10px; border: 1px solid #e0e8f2; border-radius: 10px; background: rgba(255,255,255,.8); }
.cob-agreement-summary-grid span { display: block; margin-bottom: 4px; color: #7c8b9d; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.cob-agreement-summary-grid strong { color: #263b59; font-size: 9px; }
.cob-api-message { margin: 12px 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.85); color: #607289; font-size: 9px; line-height: 1.6; }
.cob-pix-qr { display: flex; justify-content: center; margin: 12px 0; }
.cob-pix-qr img { width: 170px; max-width: 100%; padding: 8px; border: 1px solid #dce6f2; border-radius: 13px; background: #fff; }
.cob-agreement-result textarea { width: 100%; padding: 11px; resize: vertical; border: 1px solid #dce5ef; border-radius: 10px; background: #fff; color: #344a65; font-size: 8px; line-height: 1.5; }
.cob-secondary-button,
.cob-payment-link,
.cob-whatsapp-button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 36px; margin-top: 8px; padding: 9px 12px;
    border: 0; border-radius: 10px; font-family: 'Comfortaa', sans-serif; font-size: 8px; font-weight: 800; text-decoration: none; cursor: pointer;
}
.cob-secondary-button { background: #eaf1ff; color: #155eef; }
.cob-payment-link { width: 100%; background: #155eef; color: #fff; }
.cob-payment-link:hover { color: #fff; }
.cob-whatsapp-button { width: 100%; background: #def7e9; color: #147347; }
.cob-installment-list { display: grid; gap: 7px; margin-top: 13px; }
.cob-installment-list > div {
    display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; align-items: center; padding: 10px 11px;
    border: 1px solid #e1e8f1; border-radius: 10px; background: rgba(255,255,255,.85);
}
.cob-installment-list span { color: #65778d; font-size: 8px; font-weight: 800; }
.cob-installment-list strong { color: #203452; font-size: 9px; }
.cob-installment-list small { color: #8996a6; font-size: 7px; }
.cob-installment-list a { grid-column: 2; color: #155eef; font-size: 7px; font-weight: 800; text-decoration: none; }

.cob-quick-grid-admin { grid-template-columns: repeat(6, minmax(0, 1fr)); }

@media (max-width: 1180px) {
    .cob-payment-settings-grid { grid-template-columns: 1fr; }
    .cob-quick-grid-admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .cob-form-grid-two, .cob-agreement-fields, .cob-agreement-summary-grid { grid-template-columns: 1fr; }
    .cob-live-calculation { grid-template-columns: 1fr; }
    .cob-settings-actions { align-items: stretch; flex-direction: column; }
    .cob-settings-actions .cob-primary-submit { width: 100%; }
    .cob-split-table input { min-width: 0; }
}
@media (max-width: 540px) {
    .cob-quick-grid-admin { grid-template-columns: 1fr; }
}


/* PASSO 7 — Dupla autenticação por e-mail para agentes */
.cob-2fa-card { width: min(100%, 460px); }
.cob-2fa-destination {
    margin: -16px 0 24px;
    padding: 11px 13px;
    border: 1px solid #dce7f8;
    border-radius: 11px;
    background: #f4f8ff;
    color: #60728a;
    font-size: 12px;
    line-height: 1.6;
}
.cob-2fa-destination strong { color: #155eef; }
.cob-alert-success { border-color: #b8e5cb; background: #effbf4; color: #16794b; }
.cob-alert-success span { background: #16794b; }
.cob-2fa-form .cob-code-input {
    height: 64px;
    margin-bottom: 8px;
    padding: 0 18px;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: .28em;
    text-align: center;
}
.cob-code-help { display: block; margin: 0 0 18px; color: #7b8999; font-size: 11px; line-height: 1.5; }
.cob-submit:disabled { cursor: not-allowed; filter: grayscale(.25); opacity: .55; transform: none; }
.cob-2fa-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 20px; }
.cob-2fa-actions form { margin: 0; }
.cob-2fa-link {
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #155eef;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cob-2fa-link.is-muted { color: #728095; }
@media (max-width: 540px) {
    .cob-2fa-actions { align-items: stretch; flex-direction: column; gap: 8px; }
    .cob-2fa-form .cob-code-input { font-size: 23px; }
}

/* PASSO 8 — Sicoob V3, boleto híbrido e split virtual */
.cob-bank-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.cob-bank-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr);
    gap: 18px;
    align-items: start;
}
.cob-bank-form { display: grid; gap: 20px; }
.cob-switch-row,
.cob-check-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 15px;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    background: #f8fbff;
    color: #344b67;
    font-size: 10px;
}
.cob-switch-row span { display: grid; gap: 4px; }
.cob-switch-row strong { color: #223a59; font-size: 10px; }
.cob-switch-row small { color: #74849a; font-size: 8px; line-height: 1.5; }
.cob-switch-row input,
.cob-check-row input { width: 18px; height: 18px; accent-color: #155eef; }
.cob-certificate-box {
    display: grid;
    gap: 13px;
    padding: 16px;
    border: 1px dashed #b9cae2;
    border-radius: 14px;
    background: #f7faff;
}
.cob-certificate-box h3 { margin: 5px 0; color: #263b59; font-size: 12px; overflow-wrap: anywhere; }
.cob-certificate-box p { margin: 0; color: #718198; font-size: 8px; line-height: 1.6; }
.cob-certificate-box input[type="file"] { padding: 10px; background: #fff; }
.cob-bank-actions { display: flex; justify-content: flex-end; }
.cob-bank-help { position: sticky; top: 18px; }
.cob-bank-help h2 { margin-bottom: 8px; }
.cob-bank-help > p { color: #6d7d92; font-size: 9px; line-height: 1.7; }
.cob-bank-endpoints { display: grid; gap: 9px; margin: 17px 0; }
.cob-bank-endpoints > div { padding: 10px; border-radius: 10px; background: #f4f7fb; }
.cob-bank-endpoints dt { color: #7b899a; font-size: 7px; font-weight: 800; text-transform: uppercase; }
.cob-bank-endpoints dd { margin: 5px 0 0; color: #314965; font-size: 8px; line-height: 1.5; overflow-wrap: anywhere; }
.cob-security-note { margin-top: 15px !important; padding: 11px; border-radius: 10px; background: #eef8f3; color: #3e725a !important; }
.cob-financial-ledger { margin-top: 18px; }
.cob-financial-ledger .cob-status-pill { white-space: nowrap; }
.cob-payer-address {
    margin: 0;
    padding: 14px;
    border: 1px solid #dce6f2;
    border-radius: 13px;
    background: #f8fbff;
}
.cob-payer-address legend { padding: 0 7px; color: #29415f; font-size: 10px; font-weight: 800; }
.cob-payer-address > p { margin: 0 0 13px; color: #77879a; font-size: 8px; line-height: 1.5; }
.cob-address-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cob-address-grid .cob-field { margin: 0; }
.cob-address-wide { grid-column: span 2; }
.cob-bank-code-box { display: grid; gap: 7px; margin-top: 12px; }
.cob-bank-code-box label { color: #4e6179; font-size: 8px; font-weight: 800; }
.cob-sicoob-installments > div { grid-template-columns: 1fr auto; }
.cob-installment-head { display: flex; align-items: center; gap: 8px; }
.cob-installment-head .cob-status-pill { font-style: normal; }
.cob-inline-copy {
    grid-column: auto;
    width: fit-content;
    padding: 3px 0;
    border: 0;
    background: transparent;
    color: #155eef;
    cursor: pointer;
    font-family: 'Comfortaa', sans-serif;
    font-size: 7px;
    font-weight: 800;
}
.cob-settlement-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.cob-settlement-actions form { margin: 0; }
.cob-manual-paid-button { background: #fff0e8; color: #a44918; }
.cob-quick-grid-admin { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }

@media (max-width: 1060px) {
    .cob-bank-layout { grid-template-columns: 1fr; }
    .cob-bank-help { position: static; }
}
@media (max-width: 760px) {
    .cob-bank-status-grid,
    .cob-address-grid { grid-template-columns: 1fr; }
    .cob-address-wide { grid-column: auto; }
    .cob-switch-row { align-items: flex-start; }
    .cob-bank-actions .cob-primary-submit { width: 100%; }
}


/* Gestão de usuários — confirmação protegida de exclusão (v2.7.5) */
.cob-team-actions-cell { min-width: 105px; }
.cob-team-actions-cell form { margin: 0; }
.cob-delete-user-button,
.cob-danger-submit,
.cob-link-button {
    font-family: 'Comfortaa', sans-serif;
    cursor: pointer;
}
.cob-delete-user-button {
    border: 1px solid #f3a7ad;
    border-radius: 10px;
    background: #fff5f5;
    color: #b42318;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 700;
}
.cob-delete-user-button:hover { background: #fee4e2; border-color: #ef7c86; }
.cob-current-user-label {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #eef4ff;
    color: #155eef;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.cob-delete-user-panel {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 18px;
    margin-bottom: 24px;
    border: 1px solid #f3a7ad;
    background: linear-gradient(135deg, #fffafa 0%, #fff 100%);
}
.cob-delete-user-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #d92d20;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}
.cob-delete-user-content h2 { margin: 5px 0 8px; }
.cob-delete-user-content > p { margin: 0 0 18px; color: #526174; }
.cob-delete-code-form {
    display: grid;
    grid-template-columns: minmax(180px, 260px) auto;
    align-items: end;
    gap: 14px;
    max-width: 610px;
}
.cob-delete-code-form .cob-field { margin: 0; }
.cob-delete-code-form input {
    letter-spacing: .28em;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}
.cob-danger-submit {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #d92d20;
    color: #fff;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 700;
}
.cob-danger-submit:hover { background: #b42318; }
.cob-delete-user-secondary-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 14px;
}
.cob-delete-user-secondary-actions form { margin: 0; }
.cob-link-button {
    border: 0;
    background: transparent;
    color: #155eef;
    padding: 4px 0;
    font-size: 12px;
    font-weight: 700;
}
.cob-link-button.is-muted { color: #667085; }
@media (max-width: 720px) {
    .cob-delete-user-panel { grid-template-columns: 1fr; }
    .cob-delete-code-form { grid-template-columns: 1fr; }
    .cob-danger-submit { width: 100%; }
    .cob-delete-user-secondary-actions { align-items: flex-start; flex-direction: column; gap: 8px; }
}
