.auth-showcase-list { display: grid; gap: 0.85rem; padding: 0; margin: 1.75rem 0 0; color: #d7e5ec; list-style: none; }.auth-showcase-list li { display: flex; align-items: center; gap: 0.65rem; }.auth-showcase-list i { color: #93c5fd; font-size: 1.05rem; }.auth-showcase-footer { color: var(--app-sidebar-muted); font-size: 0.8rem; }.auth-card-header { margin-bottom: 1.75rem; }.auth-card-header h2 { margin: 0.5rem 0; font-size: clamp(1.6rem, 4vw, 2rem); letter-spacing: -0.04em; }.auth-card-header p { margin: 0; color: var(--app-muted); line-height: 1.55; }.auth-mobile-brand { display: none; margin-bottom: 2.5rem; }.auth-inline-link, .auth-footer-copy a { color: var(--app-primary-hover); font-weight: 650; text-decoration: none; }.auth-password-field { position: relative; }.auth-password-field .form-control { padding-right: 3rem; }.auth-password-toggle { position: absolute; top: 0.45rem; right: 0.45rem; display: grid; width: 1.9rem; height: 1.9rem; place-items: center; color: var(--app-muted); background: transparent; border: 0; }.auth-security-note { display: flex; gap: 0.65rem; padding: 0.85rem; margin: 1.25rem 0; color: var(--app-muted); background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); font-size: 0.8rem; line-height: 1.45; }.auth-security-note i { color: var(--app-primary-hover); }.auth-footer-copy { margin: 1.25rem 0 0; color: var(--app-muted); font-size: 0.88rem; text-align: center; }.auth-check { display: flex; gap: 0.6rem; margin: 1.25rem 0; color: var(--app-muted); font-size: 0.82rem; line-height: 1.45; }.auth-check input { flex: 0 0 auto; margin-top: 0.18rem; accent-color: var(--app-primary); }.auth-state { max-width: 25rem; margin: 0 auto; text-align: center; }.auth-state-icon { display: inline-grid; width: 4rem; height: 4rem; place-items: center; margin-bottom: 1.4rem; color: var(--app-primary-contrast); background: var(--app-primary); border-radius: 1.1rem; box-shadow: 0 1rem 2rem rgba(37, 99, 235, 0.2); font-size: 1.7rem; }.auth-state h2 { margin: 0.55rem 0 0.7rem; font-size: 1.7rem; letter-spacing: -0.04em; }.auth-state p { margin-bottom: 1.5rem; color: var(--app-muted); line-height: 1.6; }
.two-factor-setup { display: grid; grid-template-columns: 8.75rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 0.9rem; margin: -0.25rem 0 1.25rem; background: var(--app-surface-muted); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); }.two-factor-setup img { width: 8.75rem; height: 8.75rem; padding: 0.35rem; background: #fff; border-radius: 0.75rem; }.two-factor-manual { display: grid; gap: 0.35rem; color: var(--app-muted); font-size: 0.78rem; }.two-factor-manual strong { color: var(--app-ink); font-size: 0.86rem; }.two-factor-manual code { display: block; overflow-wrap: anywhere; padding: 0.45rem; color: var(--app-primary-hover); background: var(--app-surface); border: 1px dashed var(--app-border); border-radius: 0.45rem; font-size: 0.72rem; }.two-factor-code-input { display: block; width: min(100%, 16rem); min-height: 3.4rem; margin: 0 auto; font-size: 1.75rem; font-weight: 750; letter-spacing: 0.45em; text-align: center; }.auth-state-start { margin-bottom: 1.25rem; }@media (max-width: 400px) { .two-factor-setup { grid-template-columns: 1fr; text-align: center; }.two-factor-setup img { margin: 0 auto; } }

/* Formulários públicos: largura confortável e empilhamento seguro em telas estreitas. */
.auth-card .auth-form { display: grid; gap: 1.25rem; }
.auth-card .auth-form, .auth-card .app-field, .auth-card .auth-password-field { min-width: 0; }
.auth-card .auth-form > .app-field, .auth-card .auth-form > .auth-check, .auth-card .auth-form > .auth-security-note, .auth-card .auth-form > .auth-footer-copy { margin: 0; }
.auth-card .auth-form .row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.auth-card .form-control:not([type="checkbox"]):not([type="radio"]), .auth-card .form-select { display: block; width: 100%; min-height: 3rem; padding: 0.625rem 0.75rem; color: var(--app-ink); font: inherit; line-height: 1.5; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-sm); }
.auth-card .form-label { display: block; }
.auth-card .form-text { display: block; margin-top: 0.35rem; font-size: 0.8rem; line-height: 1.45; }
.auth-card .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.625rem 0.9rem; font: inherit; font-weight: 650; line-height: 1.5; border: 1px solid transparent; border-radius: var(--app-radius-sm); cursor: pointer; }
.auth-card .w-100 { width: 100%; }
.auth-field-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.35rem 0.75rem; margin-bottom: 0.4rem; }
.auth-field-heading .form-label { margin: 0; }
.auth-check input[type="checkbox"] { width: 1.05rem; height: 1.05rem; min-height: 1.05rem; padding: 0; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.auth-form-grid-item { min-width: 0; }
.auth-form-grid-item-wide { grid-column: 1 / -1; }
.auth-card-company-select .dashboard-action-card { width: 100%; min-height: 5.75rem; padding: 1.1rem 1.2rem; }
.auth-card-company-select .dashboard-action-copy strong { font-size: 1rem; }
.auth-card-company-select .dashboard-action-copy small { font-size: 0.82rem; }
.auth-card-company-select .dashboard-action-copy strong, .auth-card-company-select .dashboard-action-copy small { overflow-wrap: anywhere; white-space: normal; }
.cf-turnstile { display: flex; align-items: flex-start; justify-content: center; min-height: 65px; overflow: hidden; text-align: center; }.cf-turnstile > div, .cf-turnstile > iframe { margin-inline: auto; }
@media (max-width: 1199.98px) { .auth-card-wide .row > .col-sm-6 { flex: 0 0 100%; width: 100%; max-width: 100%; } }
@media (max-width: 575.98px) { .auth-card .auth-form { gap: 1rem; }.auth-form-grid { grid-template-columns: 1fr; gap: 1rem; }.auth-form-grid-item-wide { grid-column: auto; }.auth-card .form-control:not([type="checkbox"]):not([type="radio"]), .auth-card .form-select { min-height: 2.9rem; }.auth-field-heading { align-items: flex-start; flex-direction: column; }.auth-card-company-select .dashboard-action-card { min-height: 5.25rem; padding: 1rem; }.auth-card-company-select .dashboard-action-copy small { white-space: normal; } }
.dashboard-welcome { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; overflow: hidden; background: radial-gradient(circle at 93% 6%, rgba(37, 99, 235, 0.2), transparent 13rem), linear-gradient(130deg, var(--app-surface), color-mix(in srgb, var(--app-primary) 6%, var(--app-surface))); border: 1px solid var(--app-border); border-radius: var(--app-radius-lg); box-shadow: var(--app-shadow-sm); }.dashboard-welcome h1 { margin: 0.55rem 0 0.6rem; font-size: clamp(1.65rem, 4vw, 2.5rem); letter-spacing: -0.045em; }.dashboard-welcome p { max-width: 42rem; margin: 0; color: var(--app-muted); line-height: 1.6; }.dashboard-welcome-icon { display: grid; flex: 0 0 auto; width: clamp(4rem, 10vw, 6.5rem); height: clamp(4rem, 10vw, 6.5rem); place-items: center; color: var(--app-primary-contrast); background: linear-gradient(135deg, var(--app-primary), #60a5fa); border-radius: 1.5rem; box-shadow: 0 1.25rem 2.5rem rgba(37, 99, 235, 0.24); font-size: clamp(1.8rem, 5vw, 3rem); }.dashboard-section { margin-bottom: 1.5rem; }.dashboard-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }.dashboard-section-heading h2 { margin: 0.25rem 0 0; font-size: 1.2rem; }.dashboard-demo-label { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--app-muted); font-size: 0.78rem; }.dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }.dashboard-metric { --metric-color: var(--app-primary); display: flex; align-items: center; gap: 0.75rem; min-width: 0; padding: 1rem; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: var(--app-radius-md); box-shadow: var(--app-shadow-sm); }.metric-blue { --metric-color: #3b82f6; }.metric-success { --metric-color: var(--app-success); }.metric-warning { --metric-color: var(--app-warning); }.dashboard-metric-icon { display: inline-grid; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; place-items: center; color: var(--metric-color); background: color-mix(in srgb, var(--metric-color) 13%, var(--app-surface)); border-radius: 0.7rem; font-size: 1.1rem; }.dashboard-metric-copy { min-width: 0; }.dashboard-metric-copy small, .dashboard-metric-copy strong { display: block; }.dashboard-metric-copy small { overflow: hidden; color: var(--app-muted); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }.dashboard-metric-copy strong { margin-top: 0.18rem; font-size: 1.2rem; }.dashboard-metric > .bi-chevron-right { margin-left: auto; color: var(--app-muted); font-size: 0.8rem; }.dashboard-actions-card .app-card-header p { max-width: 35rem; margin: 0.45rem 0 0; color: var(--app-muted); font-size: 0.9rem; }.dashboard-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; padding: 1.25rem; }.dashboard-action-card { position: relative; display: flex; align-items: center; gap: 0.85rem; min-width: 0; padding: 1rem; color: var(--app-ink); background: var(--app-surface-muted); border: 1px solid transparent; border-radius: var(--app-radius-sm); text-decoration: none; transition: border-color 0.16s ease, transform 0.16s ease; }.dashboard-action-card:hover { border-color: color-mix(in srgb, var(--app-primary) 50%, var(--app-border)); transform: translateY(-1px); }.dashboard-action-icon { display: grid; flex: 0 0 auto; width: 2.65rem; height: 2.65rem; place-items: center; color: var(--app-primary-hover); background: color-mix(in srgb, var(--app-primary) 12%, var(--app-surface)); border-radius: 0.75rem; }.dashboard-action-copy { min-width: 0; }.dashboard-action-copy strong, .dashboard-action-copy small { display: block; }.dashboard-action-copy strong { font-size: 0.9rem; }.dashboard-action-copy small { margin-top: 0.15rem; overflow: hidden; color: var(--app-muted); font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }.dashboard-action-arrow { margin-left: auto; color: var(--app-muted); font-size: 0.8rem; }
@media (max-width: 1199.98px) { .dashboard-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 767.98px) { .auth-mobile-brand { display: inline-flex; } .dashboard-welcome { align-items: flex-start; }.dashboard-welcome-icon { width: 4rem; height: 4rem; border-radius: 1rem; }.dashboard-actions { grid-template-columns: 1fr; } } @media (max-width: 575.98px) { .dashboard-metrics { grid-template-columns: 1fr; }.dashboard-section-heading { align-items: flex-start; flex-direction: column; }.dashboard-action-copy small { white-space: normal; }.auth-card { box-shadow: none; }.auth-content { background: var(--app-surface); } }

/* Shell e dashboard alinhados ao padrão estrutural da referência 4K. */
.app-sidebar { inset: 0 auto 0 0; width: var(--app-sidebar-width); background: radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--app-sidebar-active) 30%, transparent), transparent 38%), linear-gradient(180deg, var(--app-sidebar-bg) 0%, var(--app-sidebar-bg-end) 100%); border-right: 1px solid rgba(255, 255, 255, 0.08); transition: width 0.24s ease, transform 0.24s ease; }
.app-sidebar-brand { display: flex; flex: 0 0 auto; align-items: center; gap: 0.75rem; min-height: var(--app-topbar-height); padding: 0 1rem 0 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.app-brand-link { display: flex; flex: 1; align-items: center; gap: 0.75rem; min-width: 0; color: #fff; text-decoration: none; }.app-brand-link:hover { color: #fff; }.app-brand-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; white-space: nowrap; }.app-brand-copy strong { font-size: 0.96rem; }.app-brand-copy small { margin-top: 0.2rem; color: var(--app-sidebar-muted); font-size: 0.72rem; }
.app-sidebar-collapse { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; color: var(--app-sidebar-text); cursor: pointer; background: rgba(255, 255, 255, 0.08); border: 0; border-radius: 12px; }.app-sidebar-collapse:hover { background: rgba(255, 255, 255, 0.14); }
.app-sidebar-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(255, 255, 255, 0.24) transparent; scrollbar-width: thin; }.app-sidebar-scroll::-webkit-scrollbar { width: 6px; }.app-sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.24); border-radius: 99px; }
.app-nav { display: flex; flex-direction: column; gap: 0.35rem; padding: 1rem 0.75rem; }.app-nav-group { margin: 0.15rem 0; }.app-nav-group summary { display: flex; align-items: center; justify-content: space-between; gap: 0.65rem; min-height: 42px; padding: 0.7rem 0.8rem; color: var(--app-sidebar-muted); cursor: pointer; border-radius: 10px; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.035em; list-style: none; text-transform: uppercase; user-select: none; }.app-nav-group summary::-webkit-details-marker { display: none; }.app-nav-group summary:hover, .app-nav-group[open] > summary { color: #fff; background: rgba(255, 255, 255, 0.05); }.app-nav-group summary > span { display: flex; align-items: center; gap: 0.7rem; min-width: 0; }.app-nav-group summary > span > i { width: 20px; font-size: 1rem; text-align: center; }.app-nav-chevron { transition: transform 0.2s ease; }.app-nav-group[open] .app-nav-chevron { transform: rotate(180deg); }.app-nav-group-links { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.25rem 0 0.45rem 0.55rem; margin-left: 1.15rem; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.app-nav-link { min-height: 44px; padding: 0.65rem 0.8rem; color: var(--app-sidebar-text); border: 0; border-radius: 11px; font-size: 0.88rem; font-weight: 550; transition: background-color 0.18s ease, color 0.18s ease; }.app-nav-link > i { width: 22px; flex: 0 0 22px; color: var(--app-sidebar-muted); font-size: 1.08rem; text-align: center; transition: color 0.18s ease; }.app-nav-link:hover, .app-nav-link.active { color: #fff; background: rgba(255, 255, 255, 0.09); }.app-nav-link.active { background: color-mix(in srgb, var(--app-sidebar-active) 78%, #fff 2%); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18); }.app-nav-link:hover > i, .app-nav-link.active > i { color: #fff; }.app-nav-link.is-disabled { opacity: 0.72; }
.app-nav-link-feature { min-height: 58px; margin: 0.2rem 0 0.45rem; border: 1px solid rgba(96, 165, 250, 0.36); background: linear-gradient(110deg, rgba(96, 165, 250, 0.16), rgba(255, 255, 255, 0.07)); }.app-nav-link-feature > i { color: #93c5fd; font-size: 1.25rem; }.app-nav-feature-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.1; }.app-nav-feature-copy strong { color: #fff; font-size: 0.82rem; }.app-nav-feature-copy small { margin-top: 0.18rem; color: var(--app-sidebar-muted); font-size: 0.67rem; }.app-nav-feature-indicator { width: 8px; height: 8px; flex: 0 0 8px; background: #93c5fd; border: 2px solid rgba(255, 255, 255, 0.4); border-radius: 50%; box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.1); }
.app-sidebar-footer { display: grid; flex: 0 0 auto; gap: 0.25rem; padding: 0.75rem; background: rgba(0, 0, 0, 0.18); border-top: 1px solid rgba(255, 255, 255, 0.08); }.app-sidebar-footer .app-nav-link { color: var(--app-sidebar-muted); }.app-sidebar-footer .app-nav-link:hover { color: #fff; }
.app-main { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; margin-left: var(--app-sidebar-width); transition: margin-left 0.24s ease; }.app-topbar { min-height: var(--app-topbar-height); gap: 1rem; padding: 0.75rem 1.5rem; background: color-mix(in srgb, var(--app-surface) 93%, transparent); }.app-page-identity { display: flex; flex-direction: column; line-height: 1.2; }.app-page-identity strong { font-size: 1rem; }.app-page-eyebrow { color: var(--app-text-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.065em; text-transform: uppercase; }.app-user-menu { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.3rem; color: var(--app-text); background: transparent; border: 0; text-align: left; }.app-user-copy { display: flex; flex-direction: column; line-height: 1.15; }.app-user-copy strong { font-size: 0.82rem; }.app-user-copy small { margin-top: 0.16rem; color: var(--app-muted); font-size: 0.7rem; }.app-page { padding: 1.5rem; }.app-page > .dashboard { max-width: 1440px; margin: 0 auto; }.app-footer { padding: 0.9rem 1.5rem 1.25rem; margin-top: auto; }
.dashboard { display: grid; gap: 1.5rem; }.dashboard-welcome { position: relative; min-height: 150px; padding: clamp(1.35rem, 3vw, 2rem); color: #fff; background: radial-gradient(circle at 85% 0%, rgba(147, 197, 253, 0.38), transparent 35%), linear-gradient(135deg, #2563eb 0%, #1e40af 100%); border: 0; border-radius: 22px; box-shadow: 0 18px 45px rgba(37, 99, 235, 0.25); }.dashboard-welcome > div:first-child { position: relative; z-index: 1; max-width: 720px; }.dashboard-welcome .app-eyebrow { color: rgba(255, 255, 255, 0.72); }.dashboard-welcome h1 { margin: 0.35rem 0 0.5rem; font-size: clamp(1.55rem, 3vw, 2.35rem); font-weight: 760; letter-spacing: -0.025em; }.dashboard-welcome p { max-width: 620px; color: rgba(255, 255, 255, 0.78); font-size: clamp(0.9rem, 1.4vw, 1rem); }.dashboard-welcome-icon { width: 100px; height: 100px; color: rgba(255, 255, 255, 0.52); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 26px; box-shadow: none; transform: rotate(8deg); font-size: 2.6rem; }
.dashboard-section { padding: clamp(1.1rem, 2.4vw, 1.5rem); margin: 0; background: var(--app-surface); border: 1px solid var(--app-border); border-radius: 20px; box-shadow: 0 12px 32px rgba(16, 24, 40, 0.05); }.dashboard-section-heading h2 { color: var(--app-text); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 730; letter-spacing: -0.015em; }.dashboard-metrics { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }.dashboard-metric { padding: 1.1rem; color: var(--app-text); border-radius: 16px; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }.dashboard-metric:hover { border-color: color-mix(in srgb, var(--metric-color) 30%, var(--app-border)); box-shadow: 0 12px 25px color-mix(in srgb, var(--metric-color) 12%, transparent); transform: translateY(-2px); }.dashboard-metric-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 14px; font-size: 1.35rem; }.dashboard-metric-copy strong { font-size: 1.55rem; line-height: 1.1; }.dashboard-actions-card { border-radius: 20px; }.dashboard-actions { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0.85rem; }.dashboard-action-card { min-height: 92px; padding: 1rem; background: var(--app-surface); border-color: var(--app-border); border-radius: 15px; transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }.dashboard-action-card:hover { background: color-mix(in srgb, var(--app-primary) 3%, var(--app-surface)); border-color: color-mix(in srgb, var(--app-primary) 28%, var(--app-border)); transform: translateY(-2px); }.dashboard-action-icon { width: 48px; height: 48px; flex-basis: 48px; border-radius: 13px; font-size: 1.3rem; }.dashboard-action-copy small { margin-top: 0.2rem; font-size: 0.74rem; }
.app-sidebar-collapsed .app-sidebar { width: 84px; }.app-sidebar-collapsed .app-main { margin-left: 84px; }.app-sidebar-collapsed .app-brand-copy, .app-sidebar-collapsed .app-sidebar-collapse, .app-sidebar-collapsed .app-nav-link > span, .app-sidebar-collapsed .app-nav-group, .app-sidebar-collapsed .app-sidebar-footer span { display: none; }.app-sidebar-collapsed .app-sidebar-brand { justify-content: center; padding: 0; }.app-sidebar-collapsed .app-nav-link { justify-content: center; padding-inline: 0; }
@media (max-width: 991.98px) { .app-page { padding: 1rem; }.app-sidebar-collapsed .app-main { margin-left: 0; }.app-sidebar-collapsed .app-sidebar { width: var(--app-sidebar-width); }.app-sidebar-collapsed .app-brand-copy, .app-sidebar-collapsed .app-nav-link > span, .app-sidebar-collapsed .app-nav-group, .app-sidebar-collapsed .app-sidebar-footer span { display: initial; } }
@media (max-width: 899.98px) { .dashboard-metrics { grid-template-columns: 1fr; } }
@media (max-width: 575.98px) { .dashboard { gap: 1rem; }.dashboard-welcome { min-height: 135px; border-radius: 17px; }.dashboard-welcome-icon { position: absolute; right: -25px; width: 90px; height: 90px; opacity: 0.45; }.dashboard-welcome > div:first-child { padding-right: 2.5rem; }.dashboard-section { border-radius: 17px; }.app-page { padding: 0.75rem; }.app-topbar { padding: 0.75rem 1rem; } }
.dashboard-welcome-logo { width: 6rem !important; max-width: 6rem !important; height: 6rem !important; max-height: 6rem !important; flex: 0 0 6rem !important; padding: 0; object-fit: contain !important; object-position: center; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
@media (max-width: 575.98px) { .dashboard-welcome-logo { position: absolute; right: -25px; width: 5.5rem !important; max-width: 5.5rem !important; height: 5.5rem !important; max-height: 5.5rem !important; flex-basis: 5.5rem !important; opacity: 0.7; } }
