/* App chrome and density. The existing modules own their calculations and print layouts. */
.crm-shell, .crm-auth {
    --shell-canvas: #f3f6fa;
    --shell-surface: #fff;
    --shell-text: #172f49;
    --shell-secondary: #495f74;
    --shell-muted: #5b7187;
    --shell-line: #d6e0ea;
    --shell-tint: #eef4fb;
    --shell-accent: #17549a;
    --shell-action: #1753a0;
    --shell-rail: #132a45;
    --shell-pill: #294664;
    --shell-orange: #ff8219;
    --shell-sidebar-width: 251px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}
html[data-theme=dark] :is(.crm-shell, .crm-auth) {
    --shell-canvas: #101b29;
    --shell-surface: #17283a;
    --shell-text: #e4edf7;
    --shell-secondary: #bdcede;
    --shell-muted: #a1b5c8;
    --shell-line: #34485d;
    --shell-tint: #203449;
    --shell-accent: #9ac5ff;
    --shell-action: #255ea5;
    --shell-rail: #112337;
    --shell-pill: #284664;
}
.crm-shell [hidden], .crm-auth [hidden] { display: none !important; }
.crm-shell :is(a, button, summary, input, select, textarea):focus-visible,
.crm-auth :is(a, button, summary, input, select, textarea):focus-visible {
    outline: 3px solid #4d98e5;
    outline-offset: 2px;
}
.shell-skip { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; color: #fff; background: #164678; border-radius: 6px; transform: translateY(-160%); }
.shell-skip:focus { transform: none; }
@media screen {
    body.crm-shell { background: var(--shell-canvas); color: var(--shell-text); }
    .crm-shell aside.shell-sidebar {
        position: fixed; inset: 0 auto 0 0; z-index: 10;
        display: flex; flex-flow: column nowrap; gap: 0;
        width: var(--shell-sidebar-width); height: 100vh; height: 100dvh; padding: 0;
        overflow: hidden; border: 0; border-right: 1px solid #23394d;
        background: var(--shell-rail); color: #deebf8;
    }
    .shell-brandline { flex: 0 0 auto; padding: 18px; background: #fff; border-bottom: 3px solid #ff851f; }
    .crm-shell .shell-brandline .brand { display: flex; align-items: center; justify-content: center; height: 54px; width: 100%; background: #fff; border-radius: 0; padding: 0; margin: 0; }
    .crm-shell .shell-brandline .brand img { width: min(100%,193px); height: 74px; margin: 0; object-fit: contain; }
    .shell-menu-toggle { display: none; }
    .shell-navigation {
        flex: 1; min-height: 0; display: flex; flex-direction: column;
        overflow: auto; overscroll-behavior: contain; scrollbar-color: #45637e var(--shell-rail);
        padding: 13px 13px 15px;
    }
    .crm-shell #nav { display: grid; gap: 3px; padding: 0; margin: 0; overflow: visible; }
    .crm-shell .shell-sidebar .nav-label {
        display: block; color: #afc5d9 !important; padding: 17px 12px 5px;
        font-size: 10px; line-height: 1.45; letter-spacing: .11em; text-transform: uppercase; font-weight: 650;
    }
    .crm-shell #nav button, .crm-shell .shell-sidebar .switchpage {
        display: flex; align-items: center; justify-content: flex-start; gap: 11px;
        flex: 0 0 auto; width: 100%; min-height: 40px; padding: 8px 12px; margin: 0;
        border: 1px solid transparent; border-radius: 7px; background: transparent;
        color: #e1eaf3; text-decoration: none; text-align: left; white-space: normal;
        font-size: 13px; font-weight: 500; line-height: 1.45; box-shadow: none;
    }
    .crm-shell #nav button:hover, .crm-shell .shell-sidebar .switchpage:hover { background: #203e5b; color: #fff; }
    .crm-shell #nav button.active, .crm-shell #nav [aria-current=page], .crm-shell[data-mode=config] .shell-sidebar .switchpage {
        color: #fff; background: var(--shell-pill); box-shadow: inset 3px 0 0 var(--shell-orange); font-weight: 650;
    }
    .crm-shell .shell-sidebar .switchpage { margin-top: 4px; }
    .shell-account-area { margin-top: auto; padding: 22px 7px 0; }
    .crm-shell .shell-sidebar .storage-status { display: block; margin: 0; padding: 0 0 9px; color: #b7cadd !important; font-size: 11px; }
    .crm-shell .host-account { display: flex; align-items: center; flex-wrap: nowrap; gap: 9px; padding-top: 12px; border-top: 1px solid #38516b; }
    .shell-avatar { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #dceafb; color: #143d68; font-weight: 750; font-size: 14px; }
    .shell-account-name { flex: 1; min-width: 0; font-weight: 650; color: #fff; font-size: 13px; overflow-wrap: anywhere; }
    .crm-shell .host-account button { border-color: #47617a; background: transparent; color: #e0ecf7; min-height: 34px; border-radius: 7px; padding: 5px 10px; }
    .crm-shell .host-account button:hover { background: #294664; }
    .crm-shell > main {
        min-width: 0; width: calc(100% - var(--shell-sidebar-width)); max-width: none;
        margin: 0 0 0 var(--shell-sidebar-width); padding: clamp(20px, 2.65vw, 42px);
        background: var(--shell-canvas); min-height: 100vh;
    }
    .crm-shell > main > :is(.app-header, #app, .shell-footer, #storageWarning, #notice) { max-width: 1600px; margin-inline: auto; }
    .crm-shell .app-header {
        display: flex; align-items: end; justify-content: space-between; gap: 17px 24px;
        flex-wrap: wrap; border-bottom: 1px solid var(--shell-line);
        padding: 0 0 20px; margin-block: 0 23px;
    }
    .crm-shell .app-header .app-heading { min-width: 0; flex: 1 1 240px; }
    .crm-shell .app-header .eyebrow { font-size: 11px; letter-spacing: .06em; font-weight: 650; text-transform: uppercase; color: var(--shell-muted); }
    .crm-shell .app-header h1 { margin: 6px 0 0; color: var(--shell-text); font-size: clamp(23px, 2.5vw, 34px); line-height: 1.13; font-weight: 730; letter-spacing: -.035em; }
    .crm-shell .app-header .header-controls { gap: 7px; }
    .crm-shell .header-controls .month-label { color: var(--shell-secondary); font-size: 11px; font-weight: 650; }
    .crm-shell .header-controls > button, .crm-shell .header-controls > .utilities > summary,
    .crm-shell .header-controls .month-label input {
        border: 1px solid var(--shell-line); color: var(--shell-secondary); background: var(--shell-surface); border-radius: 8px;
    }
    .crm-shell .header-controls > button:hover, .crm-shell .header-controls > .utilities > summary:hover { background: var(--shell-tint); }
    .crm-shell .header-controls .utilities > div { background: var(--shell-surface); border-color: var(--shell-line); }
    .crm-shell .header-controls > button, .crm-shell .header-controls > .utilities > summary { font-size: 12px; }
    .crm-shell #app > :is(.entry,.panel), .crm-shell #app > form.entry, .crm-shell .tablebox, .crm-shell .empty-state,
    .crm-shell #app .cards > .card, .crm-shell .report-filter-panel, .crm-shell .email-settings {
        background: var(--shell-surface); color: var(--shell-text);
        border: 1px solid var(--shell-line); border-radius: 12px; box-shadow: 0 2px 5px rgb(20 48 76/.045);
    }
    .crm-shell #app > :is(.entry,.panel), .crm-shell #app > form.entry {
        padding: clamp(18px, 2.2vw, 32px);
    }
    .crm-shell :is(.entry,.panel) > :is(h2, h3), .crm-shell .saved-heading h2 { color: var(--shell-text); letter-spacing: -.02em; }
    .crm-shell :is(.entry,.panel) > h2 { font-size: clamp(18px,1.5vw,22px); line-height: 1.25; }
    .crm-shell :is(.entry,.panel) > p, .crm-shell .formgrid label small, .crm-shell .saved-heading p {
        color: var(--shell-muted); line-height: 1.55;
    }
    .crm-shell .formgrid label { color: var(--shell-secondary); font-weight: 600; font-size: 13px; }
    .crm-shell .formgrid :is(input,select,textarea) { color: var(--shell-text); border-color: var(--shell-line); background: var(--shell-surface); border-radius: 8px; }
    .crm-shell .formgrid :is(input,textarea)::placeholder { color: var(--shell-muted); }
    .crm-shell .formgrid :is(input[readonly],select:disabled) { color: var(--shell-secondary); background: var(--shell-tint); }
    .crm-shell .actions { border-color: var(--shell-line); }
    .crm-shell .actions .primary, .crm-shell .result-bottom .primary, .crm-auth button.primary {
        background: var(--shell-action); color: white; border: 1px solid transparent; border-radius: 8px; font-weight: 650;
        box-shadow: 0 2px 4px rgb(15 55 104/.12);
    }
    .crm-shell .actions .primary:hover, .crm-shell .result-bottom .primary:hover, .crm-auth button.primary:hover { filter: brightness(1.08); }
    .crm-shell .empty-state { border-style: dashed; background: var(--shell-surface); color: var(--shell-muted); }
    .crm-shell .empty-state strong { color: var(--shell-secondary); }
    .crm-shell .tablebox { width: 100%; overflow-x: auto; }
    .crm-shell .tablebox :is(th,td) { font-variant-numeric: tabular-nums; }
    .crm-shell .tablebox thead th { font-weight: 650; font-size: 12px; }
    .crm-shell .tablebox > table:not(.rpt-table) thead th { background: var(--shell-tint); color: var(--shell-secondary); }
    .crm-shell .tablebox td { border-color: var(--shell-line); }
    .crm-shell :is(.detail-dialog,.edit-dialog,.access-dialog,.feedback-dialog) { border-color: var(--shell-line); border-radius: 15px; box-shadow: 0 18px 70px rgba(12,29,49,.22); }
    .crm-shell :is(.detail-heading,.edit-dialog-header,.feedback-heading) { border-top: 0; }
    .crm-shell .detail-heading button { display: inline-grid; place-items: center; }
    .crm-shell .shell-footer { margin-top: 28px; padding: 16px 0 0; border-top: 1px solid var(--shell-line); color: var(--shell-muted); }
    .crm-shell .developer-credit, .crm-shell .developer-credit strong { color: var(--shell-secondary); }
}
/* The same compact glyphs identify each operational area in either theme. */
.crm-shell #nav button[data-page]::before, .crm-shell .shell-sidebar .switchpage::before {
    content: ""; display: block; flex: 0 0 17px; width: 17px; height: 17px;
    background: currentColor; -webkit-mask: var(--shell-icon) center/contain no-repeat;
    mask: var(--shell-icon) center/contain no-repeat;
}
.crm-shell #nav [data-page="visao-geral"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%228%22%20height%3D%227%22%20rx%3D%221.3%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%2212%22%20rx%3D%221.3%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2213%22%20width%3D%228%22%20height%3D%228%22%20rx%3D%221.3%22%2F%3E%3Cpath%20d%3D%22M14%2019h7%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="consultores"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.4%22%2F%3E%3Cpath%20d%3D%22M5%2020v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="gestao"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228%22%20r%3D%223.1%22%2F%3E%3Cpath%20d%3D%22M3%2020v-2a6%206%200%200%201%2012%200v2m0-15a3%203%200%200%201%200%206m2%203a5%205%200%200%201%204%205%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="gestaoLojas"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%227%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%221.8%22%2F%3E%3Cpath%20d%3D%22M8%207V5a1%201%200%200%201%201-1h6a1%201%200%200%201%201%201v2M3%2012a24%2024%200%200%200%2018%200m-10%201h2%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="producao"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010v10h16V10M3%209l2-5h14l2%205a2.4%202.4%200%200%201-4.5%201%202.4%202.4%200%200%201-4.5%200%202.4%202.4%200%200%201-4.5%200A2.4%202.4%200%200%201%203%209zm6%2011v-6h5v6%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="colaboradores"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.4%205%205.6.8-4%204%20.9%205.6-4.9-2.6-4.9%202.6.9-5.6-4-4%205.6-.8z%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="streets"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%206a3%203%200%201%200%206%200%203%203%200%201%200-6%200zm3%203v3a2%202%200%200%200%202%202h5a2%202%200%200%201%202%202v2%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2220%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="deducoes"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%224%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M8%2012h8%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="report"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h17M6%2016v-5m5%205V6m5%2010V9%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell #nav [data-page="equipe"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%204%206v5c0%205%204%208%208%2010%204-2%208-5%208-10V6z%22%2F%3E%3Cpath%20d%3D%22m8.5%2012%202.3%202.2%204.7-4.8%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell .shell-sidebar .switchpage { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207h8m4%200h6M3%2017h3m4%200h11%22%2F%3E%3Ccircle%20cx%3D%2213%22%20cy%3D%227%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2217%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E"); }

@media screen and (max-width: 1150px) and (min-width: 851px) {
    .crm-shell { --shell-sidebar-width: 218px; }
    .crm-shell .app-header .header-controls { width: 100%; justify-content: start; }
    .crm-shell > main { padding: 25px; }
}
@media screen and (max-width: 850px) {
    .crm-shell aside.shell-sidebar {
        position: relative; inset: auto; width: 100%; height: auto;
        border-right: 0; overflow: visible;
    }
    .shell-brandline { height: 66px; padding: 5px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
    .crm-shell .shell-brandline .brand { height: 54px; width: 150px; }
    .crm-shell .shell-brandline .brand img { width: 150px; height: 58px; }
    .crm-shell.shell-interactive .shell-menu-toggle {
        display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 7px 13px;
        min-height: 40px; background: #f4f7fb; color: #16436d; border: 1px solid #c9d9e8; font-weight: 650; font-size: 13px;
    }
    .shell-menu-toggle span { position: relative; display: block; height: 12px; width: 16px; border-block: 1.5px solid currentColor; }
    .shell-menu-toggle span::after { content: ''; display: block; width: 100%; position: absolute; top: calc(50% - .75px); border-top: 1.5px solid currentColor; }
    .shell-interactive .shell-sidebar:not(.shell-open) .shell-navigation { display: none; }
    .shell-navigation { flex: none; max-height: calc(100dvh - 75px); padding: 8px 16px 16px; }
    .crm-shell #nav { display: grid; }
    .crm-shell #nav button, .crm-shell .shell-sidebar .switchpage { min-height: 43px; }
    .shell-account-area { margin-top: 8px; }
    .crm-shell > main { width: 100%; margin: 0; padding: 22px 16px; min-height: calc(100vh - 66px); }
    .crm-shell .app-header .header-controls { justify-content: flex-start; width: 100%; }
    .crm-shell .header-controls > .utilities[open] { width: 100%; }
    .crm-shell .header-controls > .utilities[open] > div { position: static; width: min(100%,320px); margin-top: 5px; }
}
@media screen and (max-width: 520px) {
    .crm-shell > main { padding: 20px 12px; }
    .crm-shell .app-header { padding-bottom: 15px; gap: 14px; margin-bottom: 18px; }
    .crm-shell .app-header .header-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 7px; align-items: end; }
    .crm-shell .header-controls .month-label { width: 100%; min-width: 0; max-width: none; }
    .crm-shell .header-controls > :is(button,details), .crm-shell .header-controls > .utilities > summary {
        width: 100%; min-width: 0; min-height: 42px; height: auto;
    }
    .crm-shell .header-controls > button, .crm-shell .header-controls > .utilities > summary {
        padding: 8px 5px; line-height: 1.35; text-align: center; white-space: normal;
    }
    .crm-shell .header-controls > .theme-toggle span { display: inline; }
    .crm-shell .header-controls > .utilities[open] { grid-column: 1/-1; }
    .crm-shell .header-controls > .utilities[open] > div { position: static; width: 100%; max-width: 100%; margin-top: 5px; }
    .crm-shell .header-controls .month-label input { padding-inline: 5px; }
    .crm-shell #app > :is(.entry,.panel), .crm-shell #app > form.entry { padding: 17px 13px; }
}
@media print {
    .shell-skip, .shell-sidebar, .shell-footer { display: none !important; }
}

.crm-auth.auth-page { background: var(--shell-canvas); color: var(--shell-text); padding: clamp(14px, 4vw, 48px); }
.crm-auth.auth-page > main.auth-card {
    border: 1px solid var(--shell-line); border-radius: 16px; background: var(--shell-surface);
    box-shadow: 0 22px 80px rgb(27 55 84/.09); overflow: hidden;
}
.crm-auth.auth-page > main.login-card {
    display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.15fr);
    max-width: 835px; padding: 0;
}
.crm-auth .login-brand {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 56px;
    padding: clamp(24px, 4vw, 42px); background: #163451; color: #fff;
    border-bottom: 4px solid #ff8520;
}
.crm-auth .login-brand .auth-logo {
    background: #fff; width: min(100%,180px); height: 61px; object-fit: contain; border-radius: 8px; margin: 0;
}
.crm-auth .login-identity h1 { font-size: clamp(26px,3.2vw,38px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; color: #fff; margin: 0; }
.crm-auth .login-identity p { color: #d2e3f2; margin: 12px 0 0; font-size: 14px; }
.crm-auth .login-form-section { min-width: 0; padding: clamp(26px,4vw,46px); }
.crm-auth .login-form-section h2 { font-size: clamp(21px,2.4vw,26px); margin: 0; color: var(--shell-text); letter-spacing: -.03em; }
.crm-auth .login-form-section footer { padding-top: 22px; }
.crm-auth.auth-page :is(label,legend) { font-size: 13px; color: var(--shell-secondary); }
.crm-auth.auth-page :is(input, select) { background: var(--shell-surface); color: var(--shell-text); border-color: var(--shell-line); height: 46px; }
.crm-auth.auth-page :is(small,footer,.access-note,.setup-steps) { color: var(--shell-muted); }
.crm-auth.auth-page :is(.setup-checks,.setup-key-box details,.setup-key-path) { background: var(--shell-tint); border-color: var(--shell-line); }
.crm-auth .setup-key-box :is(p,summary), .crm-auth .setup-key-path { color: var(--shell-secondary); }
.crm-auth.auth-page :is(.setup-intro,.setup-form) :is(h1,h2) { color: var(--shell-text); letter-spacing: -.025em; }
.crm-auth .setup-intro .auth-logo { background: #fff; border-radius: 7px; width: min(100%,210px); }
.crm-auth.auth-page .setup-intro p, .crm-auth.auth-page .setup-steps { color: var(--shell-secondary); }
.crm-auth.auth-page .setup-checks li { font-size: 12px; }
html[data-theme=dark] .crm-auth .check-ok { color: #a2e6bc; }
html[data-theme=dark] .crm-auth .check-fail { color: #ffc4ab; }
html[data-theme=dark] .crm-auth .check-ok span { background: #244e3a; }
html[data-theme=dark] .crm-auth .check-fail span { background: #56382f; }
@media (max-width: 675px) {
    .crm-auth.auth-page > main.login-card { grid-template-columns: minmax(0,1fr); max-width: 435px; }
    .crm-auth .login-brand { gap: 16px; padding: 22px 25px; border-width: 3px; }
    .crm-auth .login-brand .auth-logo { width: 152px; height: 48px; }
    .crm-auth .login-identity h1 { font-size: 25px; }
    .crm-auth .login-identity p { margin-top: 5px; }
    .crm-auth .login-form-section { padding: 24px; }
}
.crm-shell #nav [data-page="pessoas"] { --shell-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.6%22%2F%3E%3Cpath%20d%3D%22M8%2017a4%204%200%200%201%208%200M2%208h3m-3%206h3%22%2F%3E%3C%2Fsvg%3E"); }
.crm-shell[data-can-configure="false"] :is(.utilities, #serviceStatus, #switchpage, #lockSettings, .quick-rule-actions, [data-team-adjust], [data-sp-rule], [data-street-adjust], [data-street-month-adjust], #chooseBackup, #folderBackup, #closeMonth, .backup-location) { display: none !important; }

.shell-account-name small { display:block; color:#b9cbe0; font-weight:450; font-size:11px; margin-top:2px; }
