.se-page {
    position: fixed;
    inset: 0;
    background: #F4F6F8;
    overflow-y: auto;
    z-index: 1000;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #1F2430;
    padding: 56px 24px 140px;
    -webkit-font-smoothing: antialiased;
}

.se-container { max-width: 1040px; margin: 0 auto; }

.se-page svg,
.se-modal-overlay svg { display: inline-block; }

.se-page--embedded {
    position: static;
    inset: auto;
    z-index: auto;
    overflow-y: visible;
    padding: 40px 24px 40px;
    background: transparent;
}

.se-page--embedded .se-action-bar {

    position: sticky;
    left: auto;
    transform: none;
    bottom: 26px;
    margin: 26px auto 0;
    width: min(1040px, 100%);
}

.se-eyebrow {
    color: #2E5BFF;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.se-title { font-size: 38px; line-height: 1.15; font-weight: 700; color: #1F2430; margin: 0 0 12px; }
.se-subtitle { font-size: 16px; color: #7A8090; margin: 0 0 28px; }
.se-subtitle strong { color: #1F2430; font-weight: 600; }

.se-toolbar { display: flex; gap: 16px; align-items: stretch; margin-bottom: 28px; }

.se-search {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E2E5EA;
    border-radius: 12px;
    padding: 0 16px;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.04);
}

.se-search:focus-within { border-color: #B8C6F5; box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.10); }
.se-search svg { flex: 0 0 auto; color: #9AA1AF; }

.se-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: #1F2430;
    padding: 15px 10px;
}

.se-search input::placeholder { color: #9AA1AF; }

.se-kbd {
    flex: 0 0 auto;
    border: 1px solid #E2E5EA;
    border-radius: 6px;
    padding: 2px 9px;
    font-size: 13px;
    color: #9AA1AF;
    background: #F5F6F8;
}

.se-tabs {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #E2E5EA;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.04);
}

.se-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    border-radius: 9px;
    padding: 10px 18px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #5F6674;
    cursor: pointer;
    white-space: nowrap;
}

.se-tab--active { background: #EAF0FE; color: #1D41B5; font-weight: 600; }
.se-tab .se-tab-count { font-size: 13px; background: #EDEFF3; color: #5F6674; border-radius: 999px; padding: 1px 9px; }
.se-tab--active .se-tab-count { background: #D6E1FD; color: #1D41B5; }

.se-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8A90A0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.se-recentes-wrap { margin-bottom: 22px; }
.se-recentes { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; }

.se-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid #E2E5EA;
    border-radius: 999px;
    padding: 8px 18px 8px 8px;
    max-width: 280px;
    cursor: pointer;
    font-size: 15px;
    color: #1F2430;
    box-shadow: 0 1px 2px rgba(31, 36, 48, 0.04);
}

.se-chip:hover { border-color: #B8C6F5; }
.se-chip .se-chip-nome { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }

.se-list-card {
    background: #FFFFFF;
    border: 1px solid #E2E5EA;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(31, 36, 48, 0.05);
    overflow: hidden;
}

.se-group-header {
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    color: #9AA1AF;
    letter-spacing: 0.04em;
    border-bottom: 1px solid #EEF0F4;
}

.se-group-header--fixadas {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #C68A00;
    text-transform: none;
    font-size: 14px;
}

.se-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid #EEF0F4;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: background 0.12s;
}

.se-row:hover { background: #FAFBFD; }
.se-row--selecionada { background: #EAF0FE; border-left-color: #2E5BFF; }

.se-avatar {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
}

.se-avatar--sm { width: 32px; height: 32px; border-radius: 9px; font-size: 12px; }
.se-avatar--lg { width: 68px; height: 68px; border-radius: 18px; font-size: 22px; }

.se-row-main { flex: 1 1 auto; min-width: 0; }
.se-row-nome { font-size: 16px; font-weight: 600; color: #1F2430; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; }
.se-row-doc { font-size: 14px; color: #7A8090; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; margin-top: 2px; }
.se-row-id { color: #9AA1AF; margin-left: 10px; }

.se-badge {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 500;
    border-radius: 8px;
    padding: 5px 12px;
    background: #EDEFF3;
    color: #5F6674;
}
.se-badge--admin { background: #EAF0FE; color: #1D41B5; }
.se-badge--operador { background: #E7F3EC; color: #2C7A4B; }
.se-badge--cobranca { background: #FBF1E1; color: #9A6B12; }

/* Tipo da conta (Business, Marketplace, Subconta) */
.se-badge--tipo-business { background: #EDEFF3; color: #48506B; }
.se-badge--tipo-marketplace { background: #F2EAFB; color: #6B2FA8; }
.se-badge--tipo-subconta { background: #E4F3F7; color: #16697A; }

.se-status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #5F6674;
    min-width: 78px;
}
.se-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FA85B; }
.se-status--pendente .se-status-dot { background: #E6890B; }

.se-star { flex: 0 0 auto; background: transparent; border: 0; cursor: pointer; padding: 7px; border-radius: 9px; color: #CBD0DA; line-height: 0; transition: background 0.12s, color 0.12s; }
.se-star:hover { background: #EEF0F4; color: #E0A21A; }
.se-star--on { color: #F2B01E; }
.se-star--on:hover { background: #FBF3DE; }

.se-chevron { flex: 0 0 auto; background: transparent; border: 0; cursor: pointer; padding: 7px; border-radius: 9px; color: #C4C9D4; line-height: 0; transition: background 0.12s, color 0.12s; }
.se-chevron:hover { background: #EAF0FE; color: #1D41B5; }

.se-load-more { text-align: center; padding: 16px; }
.se-load-more button {
    background: transparent;
    border: 0;
    color: #1D41B5;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.se-empty { padding: 40px 24px; text-align: center; color: #9AA1AF; font-size: 15px; }

.se-voltar { text-align: left; margin: 26px 2px 0; }
.se-voltar a { color: #1D41B5; font-size: 15px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }

.se-footer { text-align: center; color: #A6ABB8; font-size: 13px; margin-top: 40px; }

.se-action-bar {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 26px;
    width: min(1040px, calc(100% - 48px));
    background: #FFFFFF;
    border: 1px solid #E2E5EA;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(31, 36, 48, 0.16);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 1100;
}

.se-action-empresa { display: flex; align-items: center; gap: 14px; min-width: 0; }
.se-action-nome { font-size: 16px; font-weight: 600; color: #1F2430; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-action-doc { font-size: 14px; color: #7A8090; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; }

.se-btn-acessar {
    flex: 0 0 auto;
    background: #1D41B5;
    color: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 14px 28px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.se-btn-acessar:hover { background: #17369B; }
.se-btn-acessar:disabled { opacity: 0.45; cursor: default; }

.se-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(31, 41, 74, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1600;
    font-family: 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.se-modal {
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(31, 36, 48, 0.22);
    padding: 40px 56px;
    text-align: center;
    max-width: 420px;
}

.se-modal-title { font-size: 22px; font-weight: 700; color: #1F2430; margin-top: 18px; }
.se-modal-sub { font-size: 15px; color: #7A8090; margin-top: 6px; }
.se-modal-nome { font-size: 17px; font-weight: 600; color: #1F2430; margin-top: 4px; }
.se-modal-doc { font-size: 14px; color: #7A8090; font-family: 'SFMono-Regular', Menlo, Consolas, monospace; margin-top: 4px; }

.se-check {
    width: 76px; height: 76px;
    margin: 0 auto;
    border-radius: 50%;
    background: #E4F5EB;
    color: #2FA85B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

.se-spinner {
    width: 40px; height: 40px;
    margin: 18px auto 0;
    border: 4px solid #E2E5EA;
    border-top-color: #1D41B5;
    border-radius: 50%;
    animation: se-spin 0.8s linear infinite;
}
@keyframes se-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    .se-page { padding: 32px 16px 130px; }
    .se-title { font-size: 28px; }
    .se-toolbar { flex-direction: column; }
    .se-badge, .se-status { display: none; }
}
