:root{font-family:Roboto,Segoe UI,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color-scheme:light;--shell-frame:#1b253b;--content-bg:#fff;--surface:#fff;--surface-soft:#f8fafc;--surface-muted:#f1f5f9;--text:#1e293b;--text-strong:#0f172a;--text-muted:#64748b;--text-subtle:#94a3b8;--border:#e2e8f0;--border-strong:#cbd5e1;--primary:#1d4ed8;--primary-hover:#1e40af;--primary-soft:#eff6ff;--field-bg:#fff;--field-color:#111827;--field-border:#cbd5e1;--grid-head:#e8f0fb;--grid-head-border:#c7d7ee;--grid-row:#fff;--grid-row-alt:#f8fafc;--grid-row-hover:#eff6ff;--shadow:0 15px 40px rgb(15 23 42 / 8%)}html.dark{color-scheme:dark;--shell-frame:#1b253b;--content-bg:#232e45;--surface:#28354f;--surface-soft:#2c3a54;--surface-muted:#334662;--text:#cbd5e1;--text-strong:#f8fafc;--text-muted:#a6b6ce;--text-subtle:#8495b1;--border:#3b4a64;--border-strong:#526984;--primary:#3b82f6;--primary-hover:#60a5fa;--primary-soft:rgb(59 130 246 / 13%);--field-bg:#1b253b;--field-color:#f8fafc;--field-border:#475569;--grid-head:#334662;--grid-head-border:#526984;--grid-row:#28354f;--grid-row-alt:#2c3a54;--grid-row-hover:#334155;--shadow:0 16px 44px rgb(0 0 0 / 28%)}*{box-sizing:border-box}html,body,#root{min-height:100%}html{background:var(--shell-frame)}body{min-width:320px;margin:0;padding:12px;overflow-x:hidden;background:var(--shell-frame);color:var(--text);font-size:14px;line-height:1.45}body,button,input,select{font-family:Roboto,Segoe UI,Arial,sans-serif}button,input,select{font:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgb(59 130 246 / 48%);outline-offset:2px}button:disabled{cursor:not-allowed;opacity:.62}a{color:inherit;text-decoration:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-frame{display:flex;min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px);width:100%}.desktop-sidebar{position:sticky;top:12px;display:flex;flex:0 0 290px;flex-direction:column;width:290px;height:calc(100vh - 24px);height:calc(100dvh - 24px);min-height:560px;overflow-y:auto;padding:4px 19px 18px 0;color:#fff;scrollbar-width:none}.desktop-sidebar::-webkit-scrollbar{display:none}.brand-lockup{display:flex;height:126px;flex:0 0 126px;flex-direction:column;align-items:center;justify-content:center;margin:0 0 13px -9px}.brand-lockup img{display:block;width:138px;height:103px;object-fit:contain}.brand-caption{margin-top:3px;color:#a6b6ce;font-size:12px;letter-spacing:.02em}.nav-section-label{margin:0 0 9px 18px;color:#8495b1;font-size:10px;font-weight:700;letter-spacing:.13em}.side-navigation{display:flex;flex-direction:column;gap:2px}.side-nav-link{position:relative;z-index:0;display:flex;min-height:48px;align-items:center;gap:12px;padding:0 14px;border-radius:999px;color:#e2e8f0d1;transition:color .15s ease,background-color .15s ease,transform .15s ease}.side-nav-link:hover,.side-nav-link:focus-visible{background:#ffffff1f;color:#fff}.side-nav-link.is-active{z-index:1;margin-right:-19px;padding-right:26px;border-radius:999px 0 0 999px;background:var(--content-bg);color:var(--text-strong);font-weight:650}.side-nav-icon{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center}.side-nav-label{min-width:0;flex:1}.nav-count{display:inline-grid;min-width:21px;height:21px;place-items:center;padding:0 5px;border-radius:999px;background:#e11d48;color:#fff;font-size:11px;font-weight:700}.sidebar-spacer{flex:1;min-height:18px}.sidebar-help{display:flex;flex-direction:column;gap:6px;margin:12px 1px 16px 0;padding:15px;border:1px solid rgb(148 163 184 / 15%);border-radius:13px;background:#1e40af29;color:#c7d7ee;font-size:12px}.sidebar-help-icon{display:flex;color:#60a5fa}.sidebar-help strong{color:#fff;font-size:13px}.sidebar-help button{margin-top:4px;padding:8px 10px;border:0;border-radius:7px;background:#3b82f638;color:#b9d6ff;text-align:left;font-size:11px}.sidebar-brand-footer{display:flex;flex-direction:column;gap:2px;padding-left:8px;color:#8ca2c0;font-size:12px}.sidebar-brand-footer span:first-child{color:#a9c1e2;font-weight:600}.product-footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 16px;margin:16px 0 0;padding:10px 2px 2px;border-top:1px solid var(--border);color:var(--text-subtle);font-size:10px}.product-footer span:last-child{text-align:right}.ps-main-content{position:relative;min-width:0;flex:1;min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px);padding:0 22px 22px;overflow:hidden;border-radius:30px;background:var(--content-bg);color:var(--text);transition:background-color .18s ease,color .18s ease}.topbar{position:relative;z-index:30;display:flex;min-height:72px;align-items:center;gap:16px;border-bottom:1px solid var(--border)}.tenant-context{display:flex;min-width:0;align-items:center;gap:10px}.tenant-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:1px solid var(--border);border-radius:10px;background:var(--surface-muted);color:var(--primary)}.tenant-copy{display:flex;min-width:0;flex-direction:column;line-height:1.25}.tenant-copy small{color:var(--text-muted);font-size:9px;font-weight:700;letter-spacing:.1em}.tenant-copy strong{overflow:hidden;color:var(--text-strong);font-size:13px;text-overflow:ellipsis;white-space:nowrap}.demo-tag{padding:3px 6px;border:1px solid rgb(245 158 11 / 30%);border-radius:5px;background:#f59e0b1f;color:#d97706;font-size:9px;font-weight:800;letter-spacing:.08em}html.dark .demo-tag{color:#fbbf24}.tenant-chevron{color:var(--text-muted)}.topbar-spacer{flex:1}.icon-action,.theme-switch,.mobile-menu-trigger{position:relative;display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--text-muted)}.icon-action:not(:disabled):hover,.theme-switch:hover{background:var(--surface-muted);color:var(--text-strong)}.notification-action span{position:absolute;top:-1px;right:-2px;display:grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border:2px solid var(--content-bg);border-radius:999px;background:#e11d48;color:#fff;font-size:9px;font-weight:700}.topbar-divider{width:1px;height:29px;background:var(--border)}.theme-switch{color:var(--primary)}.profile-menu{position:relative}.profile-chip{display:flex;align-items:center;gap:9px;padding:3px 5px 3px 2px;border:0;border-radius:999px;background:transparent;color:var(--text-muted);cursor:pointer;transition:background-color .15s ease}.profile-chip:hover,.profile-chip:focus-visible{background:var(--surface-soft);outline:none}.profile-menu-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:40;min-width:180px;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 14px 32px #0f172a2e;animation:profile-menu-in .14s ease-out both}.profile-menu-logout{display:flex;width:100%;min-height:38px;align-items:center;gap:9px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:var(--text);font-size:12px;text-align:left;cursor:pointer}.profile-menu-logout:hover,.profile-menu-logout:focus-visible{background:var(--surface-soft);color:var(--danger,#dc2626);outline:none}@keyframes profile-menu-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.profile-avatar{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:linear-gradient(145deg,#3b82f6,#1d4ed8);color:#fff;font-size:12px;font-weight:700}.profile-copy{display:flex;flex-direction:column;line-height:1.25}.profile-copy strong{color:var(--text-strong);font-size:12px}.profile-copy small{color:var(--text-muted);font-size:10px}.mobile-menu-trigger,.mobile-brand{display:none}.route-area{min-width:0;padding:17px 0 3px;animation:route-intro .25s ease-out both}@keyframes route-intro{0%{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.page-content{min-width:0}.prototype-notice{display:flex;align-items:center;gap:9px;margin:0 0 18px;padding:10px 13px;border:1px solid #c7d2fe;border-radius:9px;background:#eef2ff;color:#3730a3;font-size:12px}.prototype-notice strong{font-weight:750}.prototype-notice-icon{display:flex;flex:0 0 auto;color:#4f46e5}html.dark .prototype-notice{border-color:#526984;background:#28354f;color:#e0e7ff}html.dark .prototype-notice-icon{color:#a5b4fc}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:1px 0 17px}.eyebrow{margin:0 0 5px;color:var(--primary);font-size:10px;font-weight:750;letter-spacing:.11em}.page-heading h1{margin:0;color:var(--text-strong);font-size:clamp(22px,2.2vw,27px);font-weight:700;letter-spacing:-.035em;line-height:1.2}.page-subtitle{margin:6px 0 0;color:var(--text-muted);font-size:13px}.page-actions{display:flex;flex:0 0 auto;gap:9px}.primary-button,.secondary-button{display:inline-flex;min-height:39px;align-items:center;justify-content:center;gap:8px;padding:0 13px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:650;white-space:nowrap;transition:background-color .15s ease,border-color .15s ease,transform .15s ease}.primary-button{background:var(--primary);color:#fff}.primary-button:not(:disabled):hover{background:var(--primary-hover)}.secondary-button{border-color:var(--border-strong);background:var(--surface);color:var(--text-strong)}.secondary-button:not(:disabled):hover{border-color:var(--primary);color:var(--primary)}.compact-button{min-height:37px}.mobile-menu-layer{display:none}.client-session-context{display:flex;min-width:0;max-width:390px;align-items:center;padding:0}.client-session-copy{display:flex;min-width:0;flex:1;flex-direction:column;line-height:1.2}.client-session-copy small{color:var(--text-muted);font-size:8px;font-weight:750;letter-spacing:.09em}.client-session-copy .client-session-label{font-size:8px}.client-session-copy .client-session-cnpj{margin-top:2px;font-size:9px;font-weight:500;letter-spacing:0}.client-session-copy strong{overflow:hidden;color:var(--text-strong);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.client-session-context{max-width:390px;min-height:42px;border:0;border-radius:8px;background:transparent;color:inherit;text-align:left;cursor:pointer;transition:background-color .15s ease}.client-session-context:hover{background:var(--surface-muted)}.client-session-context:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.client-session-context:disabled{cursor:default}.client-session-context:disabled:hover{background:transparent}.client-session-modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#09101e94;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:client-session-overlay-in .15s ease-out both}.client-session-modal{position:relative;width:min(100%,440px);padding:27px;border:1px solid var(--border);border-radius:18px;background:var(--surface);color:var(--text);box-shadow:0 24px 70px #040a164d;animation:client-session-modal-in .18s ease-out both}.client-session-modal-icon{display:grid;width:44px;height:44px;place-items:center;margin-bottom:17px;border-radius:13px;background:#3b82f61f;color:var(--primary)}.client-session-modal-close{position:absolute;top:17px;right:17px;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:9px;background:transparent;color:var(--text-muted);cursor:pointer}.client-session-modal-close:hover{background:var(--surface-muted);color:var(--text-strong)}.client-session-modal-eyebrow{margin:0 0 6px;color:var(--primary);font-size:9px;font-weight:800;letter-spacing:.12em}.client-session-modal h2{margin:0;color:var(--text-strong);font-size:20px;letter-spacing:-.02em}.client-session-modal>p:last-of-type{margin:10px 0 0;color:var(--text-muted);font-size:13px;line-height:1.65}.client-session-modal>p:last-of-type strong{color:var(--text-strong)}.client-session-modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px}.client-session-confirm-button{background:#dc2626}.client-session-confirm-button:not(:disabled):hover{background:#b91c1c}@keyframes client-session-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes client-session-modal-in{0%{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}.session-loading{display:grid;min-height:100vh;place-items:center;background:var(--app-bg);color:var(--text-muted);font-size:13px}.shell-session-error{position:relative;z-index:1;margin:8px 20px 0;padding:8px 12px;border:1px solid rgb(239 68 68 / 28%);border-radius:8px;background:#ef444414;color:#dc2626;font-size:11px}.metric-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 14px}.metric-card{display:flex;min-width:0;min-height:94px;align-items:center;gap:11px;padding:13px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 2px 7px #0f172a08;transition:transform .16s ease,box-shadow .16s ease}.metric-card:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.metric-icon{display:grid;width:43px;height:43px;flex:0 0 43px;place-items:center;border-radius:50%}.tone-green{background:#10b98126;color:#10b981}.tone-amber{background:#f59e0b29;color:#f59e0b}.tone-blue{background:#3b82f626;color:#3b82f6}.tone-rose{background:#f43f5e26;color:#f43f5e}.tone-violet{background:#8b5cf629;color:#8b5cf6}.tone-cyan{background:#06b6d426;color:#06b6d4}.metric-copy{display:flex;min-width:0;flex-direction:column;gap:1px}.metric-label{overflow:hidden;color:var(--text-muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.metric-value{color:var(--text-strong);font-size:22px;font-weight:750;line-height:1.1}.pw-counter{display:inline-block;font-variant-numeric:tabular-nums}.metric-trend{display:inline-flex;align-items:center;gap:3px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.trend-up,.trend-down{color:#16a34a}.client-tools{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 13px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft)}.search-field{display:flex;min-width:220px;min-height:40px;flex:1 1 230px;align-items:center;gap:9px;padding:0 11px;border:1px solid var(--field-border);border-radius:8px;background:var(--field-bg);color:var(--text-muted)}.search-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61f}.search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--field-color);font-size:12px}.search-field input::placeholder{color:var(--text-subtle)}.quick-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.filter-chip{display:inline-flex;min-height:37px;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-muted);font-size:11px;white-space:nowrap}.filter-chip:hover{border-color:var(--border-strong);color:var(--text-strong)}.filter-chip.is-selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:700}.filter-chip>span:last-child:not(.chip-dot){font-size:10px;opacity:.75}.chip-dot,.quiet-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.chip-dot-amber{background:#f59e0b}.select-filter{display:flex;min-width:115px;min-height:39px;flex-direction:column;justify-content:center;padding:3px 10px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}.select-filter span{color:var(--text-muted);font-size:9px}.select-filter select{width:100%;border:0;outline:0;background:transparent;color:var(--text-strong);font-size:11px}.clear-filters{display:inline-flex;min-height:38px;align-items:center;justify-content:center;gap:6px;padding:0 10px;border:0;border-radius:8px;background:var(--surface-muted);color:var(--text-muted);font-size:11px}.clear-filters:hover{color:var(--primary)}.client-table-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:0 2px 8px #0f172a08}.table-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px 13px}.table-heading h2{margin:0;color:var(--text-strong);font-size:14px;font-weight:700}.table-heading p{margin:3px 0 0;color:var(--text-muted);font-size:11px}.result-count{color:var(--text-muted);font-size:10px}.table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.client-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0 7px;padding:0 9px;color:var(--text)}.client-table th{height:37px;padding:0 9px;border-top:1px solid var(--grid-head-border);border-bottom:1px solid var(--border);background:var(--grid-head);color:var(--text-muted);font-size:9px;font-weight:750;letter-spacing:.035em;text-align:left;text-transform:uppercase;white-space:nowrap}.client-table th:first-child{border-left:1px solid var(--grid-head-border);border-radius:7px 0 0 7px}.client-table th:last-child{border-right:1px solid var(--grid-head-border);border-radius:0 7px 7px 0}.client-table td{height:54px;padding:7px 9px;background:var(--grid-row);color:var(--text);font-size:11px;transition:background-color .14s ease}.client-table tbody tr{animation:row-enter .22s ease both}.client-table tbody tr:nth-child(2n) td{background:var(--grid-row-alt)}.client-table tbody tr:hover td,.client-table tbody tr:focus-within td{background:var(--grid-row-hover)}.client-table tbody td:first-child{border-radius:7px 0 0 7px}.client-table tbody td:last-child{border-radius:0 7px 7px 0}@keyframes row-enter{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}.favorite-col{width:38px;text-align:center!important}.actions-col{width:106px;text-align:right!important}.favorite-button{display:inline-grid;width:30px;height:30px;place-items:center;border:0;border-radius:7px;background:transparent;color:var(--text-subtle)}.favorite-button:hover{background:var(--primary-soft);color:#f59e0b}.favorite-button.is-favorite{color:#f59e0b}.company-cell{display:flex;min-width:210px;align-items:center;gap:9px}.company-mark{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-size:10px;font-weight:800}.company-name-wrap{display:flex;min-width:0;flex-direction:column;gap:1px}.company-name-wrap strong{overflow:hidden;color:var(--text-strong);font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.company-name-wrap small{color:var(--text-muted);font-size:9px}.cnpj-cell{color:var(--text-muted)!important;font-variant-numeric:tabular-nums;white-space:nowrap}.location-cell{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);white-space:nowrap}.location-cell svg{color:var(--text-subtle)}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.status-pill>span{width:7px;height:7px;border-radius:50%;background:currentColor}.status-online{background:#10b98124;color:#10b981}.status-atrasado{background:#f59e0b24;color:#d97706}.status-offline{background:#f43f5e24;color:#e11d48}.sync-cell{display:flex;flex-direction:column;gap:2px;color:var(--text);font-size:10px;white-space:nowrap}.sync-cell small{display:inline-flex;align-items:center;gap:4px;color:var(--text-muted);font-size:9px}.count-cell{display:inline-flex;min-width:24px;align-items:center;justify-content:center;gap:5px;color:var(--text-muted);font-variant-numeric:tabular-nums}.count-cell.has-alerts{color:#f59e0b;font-weight:700}.count-cell.has-messages{color:#3b82f6}.row-action{display:inline-flex;min-height:31px;align-items:center;justify-content:center;gap:4px;padding:0 9px;border:1px solid rgb(59 130 246 / 32%);border-radius:7px;background:#3b82f61f;color:var(--primary);font-size:10px;font-weight:700}.row-action:not(:disabled):hover{background:var(--primary);color:#fff}.empty-cell{height:100px!important;color:var(--text-muted)!important;text-align:center}.table-footer{display:flex;min-height:47px;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-top:1px solid var(--border);color:var(--text-muted);font-size:10px}.pagination{display:flex;align-items:center;gap:8px}.pagination button{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--text-muted)}.current-page{display:grid;width:25px;height:25px;place-items:center;border-radius:6px;background:var(--primary);color:#fff;font-weight:700}.page-total{color:var(--text-muted)}.page-footnote{display:flex;align-items:center;gap:6px;margin:11px 2px 0;color:var(--text-muted);font-size:10px}.pending-card{display:flex;max-width:720px;align-items:flex-start;gap:16px;margin-top:16px;padding:24px;border:1px solid var(--border);border-radius:13px;background:var(--surface);box-shadow:0 3px 12px #0f172a0a}.pending-icon{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:13px;background:var(--primary-soft);color:var(--primary)}.pending-card h2{margin:1px 0 5px;color:var(--text-strong);font-size:16px}.pending-card p{max-width:570px;margin:0 0 12px;color:var(--text-muted);font-size:13px}.pending-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:10px;font-weight:650}@media(prefers-reduced-motion:reduce){.metric-card:hover{transform:none}.client-table tbody tr{animation:none}}.client-table-live{min-width:780px}.status-active{background:#10b98124;color:#059669}.status-inactive{background:#94a3b829;color:#64748b}.trend-neutral{color:var(--text-muted)}.clients-feedback{margin:0 0 12px;padding:10px 12px;border:1px solid rgb(239 68 68 / 28%);border-radius:8px;background:#ef444414;color:#dc2626;font-size:12px}.client-create-modal{width:min(100%,590px);max-height:min(88vh,760px);overflow-y:auto}.client-create-modal>p:nth-of-type(2){margin:7px 0 0;color:var(--text-muted);font-size:12px;line-height:1.5}.client-create-form{display:grid;gap:13px;margin-top:19px}.client-create-form label{display:grid;min-width:0;gap:5px;color:var(--text-muted);font-size:11px;font-weight:650}.client-create-form input{width:100%;min-height:39px;padding:0 10px;border:1px solid var(--field-border);border-radius:8px;outline:0;background:var(--field-bg);color:var(--field-color);font:inherit;font-weight:400}.client-create-form input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61f}.client-create-form input::placeholder{color:var(--text-subtle)}.client-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.client-create-form .client-session-modal-actions{margin-top:5px}@media(max-width:520px){.client-create-grid{grid-template-columns:1fr}.client-create-modal{padding:21px}}.portal-page{display:flex;flex-direction:column}.portal-page-heading{margin-bottom:14px}.portal-metric-grid{display:grid;gap:9px;margin:0 0 13px}.portal-metric-grid-six{grid-template-columns:repeat(6,minmax(0,1fr))}.portal-metric-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}.portal-metric-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}.portal-metric-card{min-height:84px;padding:10px;gap:9px}.portal-metric-card .metric-icon{width:38px;height:38px;flex-basis:38px}.portal-metric-card .metric-label{font-size:10px}.portal-metric-card .metric-value{font-size:17px;white-space:nowrap}.portal-metric-card .metric-trend{font-size:9px}.portal-trend-up{color:#16a34a}.portal-trend-down{color:#e11d48}.portal-trend-neutral{color:var(--text-muted)}.portal-context-strip{display:flex;min-height:58px;align-items:center;gap:14px;margin:0 0 12px;padding:8px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.portal-context-company{display:flex;min-width:190px;align-items:center;gap:9px}.portal-context-icon{display:grid;width:35px;height:35px;flex:0 0 35px;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary)}.portal-context-company>span:last-child,.portal-context-cnpj{display:flex;min-width:0;flex-direction:column;gap:1px}.portal-context-strip small{color:var(--text-muted);font-size:8px;font-weight:750;letter-spacing:.06em}.portal-context-strip strong{color:var(--text-strong);font-size:11px}.portal-context-divider{width:1px;height:30px;background:var(--border)}.portal-context-cnpj{min-width:145px}.portal-period-select{display:flex;min-height:36px;align-items:center;gap:7px;margin-left:auto;padding:0 9px;border:1px solid var(--field-border);border-radius:7px;background:var(--field-bg);color:var(--primary)}.portal-period-select select{max-width:170px;border:0;outline:0;background:transparent;color:var(--field-color);font-size:10px}.portal-panel{min-width:0;overflow:hidden;margin:0 0 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 2px 8px #0f172a08}.portal-panel-heading{display:flex;min-width:0;min-height:50px;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px}.portal-panel-title-wrap{display:flex;min-width:0;align-items:center;gap:8px}.portal-panel-icon{display:grid;width:29px;height:29px;flex:0 0 29px;place-items:center;border-radius:8px;background:var(--primary-soft);color:var(--primary)}.portal-panel-heading h2{margin:0;color:var(--text-strong);font-size:12px;font-weight:720}.portal-panel-heading p{margin:2px 0 0;color:var(--text-muted);font-size:9px}.portal-panel-title-wrap h2{white-space:nowrap}.portal-result-badge{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:var(--surface-muted);color:var(--text-muted);font-size:9px;font-weight:650}.portal-dashboard-row{display:grid;min-width:0;gap:11px}.portal-dashboard-row-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-dashboard-row-three{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr)}.portal-chart-panel{padding-bottom:10px}.portal-chart-total{display:flex;flex-direction:column;align-items:flex-end;white-space:nowrap}.portal-chart-total small{color:var(--text-muted);font-size:8px}.portal-chart-total strong{color:var(--text-strong);font-size:11px}.portal-legend-inline{display:inline-flex;align-items:center;gap:5px;color:var(--text-muted);font-size:9px;white-space:nowrap}.portal-legend-inline i,.portal-storage-info i{display:inline-block;width:8px;height:8px;border-radius:50%}.legend-blue{background:var(--primary)}.legend-orange{background:#f59e0b}.portal-bar-chart,.portal-line-chart{display:grid;grid-template-columns:54px minmax(0,1fr);padding:2px 12px 0 6px}.portal-chart-y-labels{display:flex;height:150px;flex-direction:column;justify-content:space-between;padding-right:5px;color:var(--text-subtle);font-size:8px;text-align:right}.portal-bar-plot{position:relative;height:150px;min-width:0;border-bottom:1px solid var(--border-strong)}.portal-bar-grid{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;justify-content:space-between}.portal-bar-grid i{width:100%;border-top:1px solid var(--border)}.portal-bar-columns{position:absolute;top:0;right:1px;bottom:0;left:1px;display:flex;align-items:stretch;justify-content:space-between;gap:2px}.portal-bar-column{position:relative;z-index:1;display:flex;min-width:2px;flex:1;align-items:flex-end}.portal-bar{width:100%;min-height:2px;border-radius:3px 3px 0 0;background:var(--primary);transform:scaleY(0);transform-origin:bottom;animation:portal-bar-grow .72s cubic-bezier(.2,.75,.3,1) both}@keyframes portal-bar-grow{to{transform:scaleY(1)}}.portal-chart-x-labels{display:flex;grid-column:2;justify-content:space-between;padding-top:5px;color:var(--text-subtle);font-size:8px}.portal-line-chart svg{width:100%;height:150px;overflow:visible}.portal-line-grid{fill:none;stroke:var(--border);stroke-width:1}.portal-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1000;stroke-dashoffset:1000;animation:portal-line-draw 1.1s ease .12s both}.portal-line-blue{stroke:var(--primary)}.portal-line-orange{stroke:#f59e0b;animation-delay:.24s}@keyframes portal-line-draw{to{stroke-dashoffset:0}}.portal-donut{position:relative;display:grid;width:120px;height:120px;flex:0 0 120px;place-items:center;border-radius:50%;animation:portal-donut-in .65s ease-out both}.portal-donut:before{position:absolute;width:84px;height:84px;border-radius:50%;background:var(--surface);content:""}.portal-donut>span{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;color:var(--text-strong)}.portal-donut>span strong{font-size:17px;line-height:1.1}.portal-donut>span small{color:var(--text-muted);font-size:9px}@keyframes portal-donut-in{0%{transform:scale(.9) rotate(-18deg);opacity:.35}to{transform:scale(1);opacity:1}}.portal-donut-layout,.portal-status-summary{display:flex;min-height:150px;align-items:center;justify-content:center;gap:14px;padding:8px 12px}.portal-donut-legend,.portal-status-legend{display:flex;min-width:0;flex:1;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.portal-donut-legend li,.portal-status-legend li{display:flex;min-width:0;align-items:center;gap:6px;color:var(--text-muted);font-size:9px}.portal-donut-legend li>i,.portal-status-legend li>i{width:8px;height:8px;flex:0 0 8px;border-radius:50%}.portal-donut-legend li>span,.portal-status-legend li>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-donut-legend li>strong,.portal-status-legend li>strong{color:var(--text-strong);font-size:9px}.portal-cfop-panel .portal-table{min-width:430px}.portal-donut-status{width:100px;height:100px;flex-basis:100px}.portal-donut-status:before{width:70px;height:70px}.status-dot-success{background:#10b981}.status-dot-warning{background:#f59e0b}.status-dot-danger{background:#f43f5e}.status-dot-neutral{background:#64748b}.portal-text-action{display:inline-flex;align-items:center;gap:7px;color:var(--primary);font-size:9px;font-weight:700;white-space:nowrap}.portal-sync-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:9px 18px;padding:10px 3px 2px;color:var(--text-muted);font-size:9px}.portal-sync-strip>span{display:inline-flex;align-items:center;gap:5px}.portal-sync-dot{width:7px;height:7px;border-radius:50%;background:#94a3b8}.portal-table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}.portal-table{width:100%;min-width:740px;border-collapse:separate;border-spacing:0 4px;padding:0 8px;color:var(--text)}.portal-table th{height:31px;padding:0 8px;border-top:1px solid var(--grid-head-border);border-bottom:1px solid var(--border);background:var(--grid-head);color:var(--text-muted);font-size:8px;font-weight:750;letter-spacing:.035em;text-align:left;text-transform:uppercase;white-space:nowrap}.portal-table th:first-child{border-left:1px solid var(--grid-head-border);border-radius:6px 0 0 6px}.portal-table th:last-child{border-right:1px solid var(--grid-head-border);border-radius:0 6px 6px 0}.portal-table td{height:39px;padding:6px 8px;background:var(--grid-row);color:var(--text);font-size:9px;vertical-align:middle}.portal-table tbody tr:nth-child(2n) td{background:var(--grid-row-alt)}.portal-table tbody tr:hover td{background:var(--grid-row-hover)}.portal-table tbody td:first-child{border-radius:5px 0 0 5px}.portal-table tbody td:last-child{border-radius:0 5px 5px 0}.portal-table tbody tr{animation:row-enter .22s ease both}.portal-table strong{color:var(--text-strong)}.portal-document-type{display:inline-flex;align-items:center;gap:5px;color:var(--text-strong);white-space:nowrap}.portal-document-type svg{color:var(--primary)}.portal-document-type small{padding:2px 4px;border-radius:4px;background:var(--surface-muted);color:var(--text-muted);font-size:8px}.portal-status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:999px;font-size:8px;font-weight:700;white-space:nowrap}.portal-status>span{width:6px;height:6px;border-radius:50%;background:currentColor}.portal-status-success{background:#10b98124;color:#059669}.portal-status-warning{background:#f59e0b26;color:#d97706}.portal-status-danger{background:#f43f5e24;color:#e11d48}.portal-status-neutral{background:#64748b26;color:#64748b}.portal-status-processing{background:#3b82f626;color:#2563eb}.portal-status-info{background:#06b6d424;color:#0891b2}html.dark .portal-status-success{color:#34d399}html.dark .portal-status-warning{color:#fbbf24}html.dark .portal-status-danger{color:#fb7185}html.dark .portal-status-neutral{color:#cbd5e1}html.dark .portal-status-processing{color:#93c5fd}html.dark .portal-status-info{color:#67e8f9}.portal-nowrap{white-space:nowrap}.portal-party-cell{display:flex;max-width:175px;flex-direction:column;gap:1px}.portal-party-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-party-cell small{overflow:hidden;color:var(--text-muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.portal-key-cell{display:block;max-width:112px;overflow:hidden;color:var(--text-muted);font-variant-numeric:tabular-nums;text-overflow:ellipsis;white-space:nowrap}.portal-xml-present,.portal-xml-missing{display:inline-flex;align-items:center;gap:4px;color:#059669;font-size:8px}.portal-xml-missing{color:#e11d48}.portal-row-actions{display:inline-flex;align-items:center;gap:3px}.portal-row-actions button{display:grid;width:25px;height:25px;place-items:center;border:0;border-radius:5px;background:transparent;color:var(--text-subtle)}.portal-empty-row{height:75px!important;color:var(--text-muted)!important;text-align:center}.portal-table-footer{display:flex;min-height:40px;align-items:center;justify-content:space-between;gap:10px;padding:0 12px;border-top:1px solid var(--border);color:var(--text-muted);font-size:9px}.portal-table-footer .pagination{gap:6px}.portal-table-footer .pagination button{width:24px;height:24px;font-size:15px}.portal-filter-panel{padding:0 12px 10px}.portal-filter-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.portal-filter-panel-heading .portal-panel-heading{flex:1;padding-left:0}.portal-filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.portal-filter-field{display:flex;min-width:0;min-height:43px;flex-direction:column;justify-content:center;gap:2px;padding:4px 8px;border:1px solid var(--field-border);border-radius:7px;background:var(--field-bg)}.portal-filter-field>span{color:var(--text-muted);font-size:8px}.portal-filter-field select{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--field-color);font-size:10px}.portal-filter-field select:disabled{opacity:.7}.portal-search-field{display:flex;min-width:0;min-height:43px;align-items:center;gap:8px;padding:0 9px;border:1px solid var(--field-border);border-radius:7px;background:var(--field-bg);color:var(--text-muted)}.portal-search-field:focus-within{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61f}.portal-search-field input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--field-color);font-size:10px}.portal-search-field input::placeholder{color:var(--text-subtle)}.portal-button-secondary{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:0 9px;border:1px solid var(--border-strong);border-radius:7px;background:var(--surface);color:var(--text-muted);font-size:9px;font-weight:650;white-space:nowrap}.portal-button-secondary:not(:disabled):hover{border-color:var(--primary);color:var(--primary)}.portal-filter-tags{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;margin:8px 1px 0;color:var(--text-muted);font-size:8px}.portal-filter-tags>span{display:inline-flex;align-items:center;gap:4px}.portal-calendar-mark{color:var(--primary);font-size:15px}.portal-document-table{min-width:1120px}.portal-document-table td{height:43px}.portal-check-col{width:32px;text-align:center!important}.portal-check-col input{accent-color:var(--primary)}.portal-xml-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end}.portal-download-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.portal-download-tile{display:grid;min-width:0;min-height:76px;grid-template-columns:38px 1fr;grid-template-rows:1fr 1fr;align-items:center;gap:0 10px;padding:10px 12px;border:1px solid transparent;border-radius:9px;color:#fff;text-align:left}.portal-download-tile:disabled{opacity:.78}.portal-download-tile>span{display:grid;width:37px;height:37px;grid-row:1/3;place-items:center;border-radius:9px;background:#ffffff2e}.portal-download-tile strong{overflow:hidden;align-self:end;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.portal-download-tile small{overflow:hidden;align-self:start;color:#ffffffc7;font-size:8px;text-overflow:ellipsis;white-space:nowrap}.tile-blue{background:linear-gradient(110deg,#2563eb,#3b82f6)}.tile-green{background:linear-gradient(110deg,#059669,#10b981)}.tile-violet{background:linear-gradient(110deg,#6d28d9,#8b5cf6)}.tile-outline{border-color:var(--primary);background:var(--surface);color:var(--text-strong)}.tile-outline>span{background:var(--primary-soft);color:var(--primary)}.tile-outline small{color:var(--text-muted)}.portal-export-list{padding:0 13px 10px}.portal-export-row{display:grid;min-height:42px;grid-template-columns:25px minmax(140px,1fr) minmax(70px,.7fr) 34px auto;align-items:center;gap:8px;border-top:1px solid var(--border)}.portal-export-icon{display:grid;width:24px;height:24px;place-items:center;border-radius:6px;background:var(--primary-soft);color:var(--primary)}.portal-export-copy{display:flex;min-width:0;flex-direction:column;gap:1px}.portal-export-copy strong{overflow:hidden;color:var(--text-strong);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.portal-export-copy small{color:var(--text-muted);font-size:8px}.portal-progress{height:6px;overflow:hidden;border-radius:999px;background:var(--surface-muted)}.portal-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#10b981);animation:portal-progress-in .7s ease-out both}@keyframes portal-progress-in{0%{width:0}}.portal-progress-value{color:var(--text-muted);font-size:8px}.portal-storage-body{display:flex;align-items:center;gap:14px;padding:7px 13px 13px}.portal-storage-donut{width:105px;height:105px;flex-basis:105px}.portal-storage-donut:before{width:74px;height:74px}.portal-storage-donut>span strong{font-size:13px}.portal-storage-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:10px}.portal-storage-info>span{display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:6px;color:var(--text-muted);font-size:8px}.portal-storage-info>span strong{color:var(--text-strong)}.portal-storage-info p{display:flex;align-items:flex-start;gap:6px;margin:2px 0 0;padding:8px;border-radius:7px;background:var(--primary-soft);color:var(--text-muted);font-size:8px}.portal-storage-info p svg{flex:0 0 auto;color:var(--primary)}.portal-report-filters{display:grid;grid-template-columns:1.05fr 1.35fr 1fr 1fr auto;align-items:end;gap:8px;padding-top:10px}.portal-generate-button{min-height:42px;font-size:10px}.portal-filter-hint,.portal-inline-feedback{display:flex;align-items:center;gap:5px;margin:8px 1px 0;color:var(--text-muted);font-size:8px}.portal-filter-hint svg{color:var(--primary)}.portal-inline-feedback{color:#059669;font-weight:650}html.dark .portal-inline-feedback{color:#34d399}.portal-report-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 11px}.portal-report-card{display:flex;min-width:0;min-height:105px;flex-direction:column;align-items:flex-start;gap:6px;padding:10px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text-muted);text-align:left;transition:all .16s ease}.portal-report-card:hover{transform:translateY(-1px);border-color:var(--primary)}.portal-report-card.is-selected{border-color:var(--primary);background:var(--primary-soft);box-shadow:inset 0 0 0 1px var(--primary)}.portal-report-icon{display:grid;width:32px;height:32px;place-items:center;border-radius:8px;background:var(--surface-muted);color:var(--primary)}.portal-report-card strong{color:var(--text-strong);font-size:9px}.portal-report-card small{color:var(--text-muted);font-size:8px;line-height:1.35}.portal-reports-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start}.portal-report-preview{padding-bottom:12px}.portal-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 10px 10px}.portal-report-metrics .portal-metric-card{min-height:70px}.portal-report-metrics .metric-icon{width:31px;height:31px;flex-basis:31px}.portal-report-chart-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 11px;padding:10px 2px;border-top:1px solid var(--border);color:var(--text-strong);font-size:9px;font-weight:700}.portal-report-chart-heading>span:first-child{display:inline-flex;align-items:center;gap:6px}.portal-report-chart-heading svg{color:var(--primary)}.portal-report-chart-heading>span:last-child{padding:5px 7px;border:1px solid var(--border);border-radius:6px;color:var(--text-muted);font-size:8px;font-weight:500}.portal-report-bars{display:flex;height:180px;align-items:stretch;justify-content:space-around;gap:15px;margin:0 13px 13px;padding:10px 14px 0;border-bottom:1px solid var(--border-strong);background:repeating-linear-gradient(to bottom,transparent 0,transparent 43px,var(--border) 44px)}.portal-report-bar-item{display:flex;min-width:0;flex:1;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}.portal-report-bar-item>span{color:var(--text-muted);font-size:7px;white-space:nowrap}.portal-report-bar-item>i{width:min(100%,44px);min-height:2px;border-radius:4px 4px 0 0;background:linear-gradient(180deg,var(--primary),#60a5fa);transform:scaleY(0);transform-origin:bottom;animation:portal-bar-grow .7s ease-out both}.portal-report-bar-item>small{color:var(--text-muted);font-size:8px}.portal-report-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 11px 6px}.portal-report-detail-heading h3{margin:0;color:var(--text-strong);font-size:10px}.portal-report-detail-heading p{margin:2px 0 0;color:var(--text-muted);font-size:8px}.portal-report-search{min-height:32px;max-width:220px}.portal-share-cell{display:flex;align-items:center;gap:6px;color:var(--text-muted);white-space:nowrap}.portal-share-cell i{width:56px;height:5px;overflow:hidden;border-radius:99px;background:var(--surface-muted)}.portal-share-cell b{display:block;height:100%;border-radius:inherit;background:var(--primary)}.portal-report-sidebar{min-width:0}.portal-recent-report-list{padding:0 11px 7px}.portal-recent-report{display:flex;min-width:0;min-height:48px;align-items:center;gap:7px;border-top:1px solid var(--border)}.portal-recent-report-icon{display:grid;width:27px;height:27px;flex:0 0 27px;place-items:center;border-radius:7px;background:var(--primary-soft);color:var(--primary)}.portal-recent-report>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.portal-recent-report strong{overflow:hidden;color:var(--text-strong);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.portal-recent-report small{color:var(--text-muted);font-size:7px}.portal-report-state{padding:4px 6px;border-radius:99px;background:#10b98124;color:#059669;font-size:7px;white-space:nowrap}.portal-report-state.state-muted{background:var(--surface-muted);color:var(--text-muted)}.portal-report-note{padding:14px}.portal-report-note-icon{display:grid;width:35px;height:35px;place-items:center;border-radius:9px;background:var(--primary-soft);color:var(--primary)}.portal-report-note h3{margin:9px 0 5px;color:var(--text-strong);font-size:11px}.portal-report-note p{margin:0 0 11px;color:var(--text-muted);font-size:9px;line-height:1.5}.portal-report-note .secondary-button{width:100%;font-size:9px}.portal-alert-filter-grid{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(145px,1fr))}.portal-alert-list{padding:0 13px 7px}.portal-alert-row{display:grid;min-width:0;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 0;border-top:1px solid var(--border)}.portal-alert-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:10px}.severity-critical{background:#f43f5e24;color:#e11d48}.severity-attention{background:#f59e0b26;color:#d97706}.severity-info{background:var(--primary-soft);color:var(--primary)}.portal-alert-copy{min-width:0}.portal-alert-copy>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.portal-alert-copy>div strong{color:var(--text-strong);font-size:10px}.portal-alert-copy p{margin:4px 0;color:var(--text-muted);font-size:9px}.portal-alert-copy>span{color:var(--text-subtle);font-size:8px}.portal-alert-copy>span i{padding:0 3px;font-style:normal}.portal-alert-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.portal-alert-side .portal-button-secondary{min-height:29px}.portal-empty-state{display:flex;min-height:100px;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--text-muted);text-align:center}.portal-empty-state svg{color:var(--text-subtle)}.portal-empty-state strong{color:var(--text-strong);font-size:10px}.portal-empty-state span{font-size:8px}.portal-channel-note{display:flex;min-height:52px;align-items:center;gap:10px;margin:0 0 11px;padding:8px 11px;border:1px solid rgb(16 185 129 / 28%);border-radius:9px;background:#10b98112}.portal-channel-note>span:first-child{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border-radius:8px;background:#10b98124;color:#059669}.portal-channel-note>div{display:flex;min-width:0;flex:1;flex-direction:column;gap:1px}.portal-channel-note strong{color:var(--text-strong);font-size:10px}.portal-channel-note small{color:var(--text-muted);font-size:8px}.portal-planned-badge{padding:4px 7px;border-radius:99px;background:#f59e0b24;color:#b45309;font-size:8px;font-weight:700;white-space:nowrap}.portal-messages-layout{display:grid;min-width:0;grid-template-columns:minmax(220px,.78fr) minmax(340px,1.55fr) minmax(205px,.78fr);align-items:start;gap:9px}.portal-messages-layout>.portal-panel,.portal-message-aside>.portal-panel{margin-bottom:0}.portal-conversation-panel,.portal-chat-panel{display:flex;min-height:560px;flex-direction:column}.portal-conversation-tabs{display:flex;gap:3px;padding:9px 9px 7px;border-bottom:1px solid var(--border)}.portal-conversation-tabs button{display:inline-flex;min-height:28px;align-items:center;gap:4px;padding:0 7px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--text-muted);font-size:8px;white-space:nowrap}.portal-conversation-tabs button.is-selected{border-color:var(--primary);background:var(--primary-soft);color:var(--primary);font-weight:700}.portal-conversation-tabs button span{display:grid;min-width:15px;height:15px;place-items:center;border-radius:99px;background:#e11d48;color:#fff;font-size:7px}.portal-conversation-search{min-height:34px;margin:8px}.portal-conversation-list{min-height:0;overflow-y:auto}.portal-conversation-item{display:flex;width:100%;min-width:0;align-items:flex-start;gap:8px;padding:10px 9px;border:0;border-top:1px solid var(--border);background:transparent;color:var(--text);text-align:left}.portal-conversation-item:hover{background:var(--surface-soft)}.portal-conversation-item.is-active{background:var(--primary-soft);box-shadow:inset 2px 0 var(--primary)}.portal-company-avatar{display:grid;width:34px;height:34px;flex:0 0 34px;place-items:center;border-radius:50%;color:#fff;font-size:9px;font-weight:750}.portal-company-avatar.tone-blue,.portal-message-avatar.tone-blue,.portal-office-avatar{background:linear-gradient(145deg,#3b82f6,#1d4ed8)}.portal-company-avatar.tone-green,.portal-message-avatar.tone-green{background:linear-gradient(145deg,#34d399,#059669)}.portal-company-avatar.tone-violet,.portal-message-avatar.tone-violet{background:linear-gradient(145deg,#a78bfa,#7c3aed)}.portal-company-avatar.tone-amber,.portal-message-avatar.tone-amber{background:linear-gradient(145deg,#fbbf24,#d97706)}.portal-company-avatar.tone-cyan,.portal-message-avatar.tone-cyan{background:linear-gradient(145deg,#22d3ee,#0891b2)}.portal-conversation-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:3px}.portal-conversation-copy strong,.portal-conversation-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-conversation-copy strong{color:var(--text-strong);font-size:8px}.portal-conversation-copy small{color:var(--text-muted);font-size:8px}.portal-category-chip{align-self:flex-start;padding:2px 5px;border-radius:99px;background:var(--surface-muted);color:var(--text-muted);font-size:7px;font-style:normal}.category-blue{background:#3b82f61f;color:#2563eb}.category-green{background:#10b98121;color:#059669}.category-violet{background:#8b5cf624;color:#7c3aed}.category-amber{background:#f59e0b24;color:#b45309}.category-cyan{background:#06b6d421;color:#0891b2}.portal-conversation-meta{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:6px;color:var(--text-subtle);font-size:7px}.portal-conversation-meta b{display:grid;min-width:16px;height:16px;place-items:center;border-radius:99px;background:#e11d48;color:#fff;font-size:7px}.portal-chat-header{display:flex;min-height:58px;align-items:center;gap:9px;padding:8px 11px;border-bottom:1px solid var(--border)}.portal-chat-header>span:nth-child(2){display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.portal-chat-header strong{overflow:hidden;color:var(--text-strong);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.portal-chat-header small{color:var(--text-muted);font-size:8px}.portal-chat-header>div{display:flex;gap:3px}.portal-chat-header button,.portal-chat-composer>button{display:grid;width:29px;height:29px;place-items:center;border:0;border-radius:6px;background:transparent;color:var(--text-muted)}.portal-chat-history{display:flex;min-height:365px;flex:1;flex-direction:column;gap:10px;overflow-y:auto;padding:11px 9px;background:var(--surface-soft)}.portal-chat-date{align-self:center;padding:4px 8px;border-radius:99px;background:var(--surface-muted);color:var(--text-muted);font-size:7px}.portal-message-row{display:flex;max-width:95%;align-items:flex-end;gap:6px}.portal-message-row.is-outgoing{align-self:flex-end}.portal-message-row.is-incoming{align-self:flex-start}.portal-message-avatar{display:grid;width:24px;height:24px;flex:0 0 24px;place-items:center;border-radius:50%;color:#fff;font-size:7px;font-weight:700}.portal-message-bubble{max-width:min(100%,340px);padding:8px 9px 5px;border:1px solid var(--border);border-radius:10px 10px 10px 3px;background:var(--surface);color:var(--text)}.portal-message-row.is-outgoing .portal-message-bubble{border-color:#3b82f647;border-radius:10px 10px 3px;background:var(--primary-soft)}.portal-message-bubble p{margin:0;font-size:8px;line-height:1.5}.portal-message-bubble>small{display:flex;align-items:center;justify-content:flex-end;gap:3px;margin-top:4px;color:var(--text-subtle);font-size:7px}.portal-message-bubble>small svg{color:var(--primary)}.portal-message-attachment{display:flex;align-items:center;gap:6px;margin-top:6px;padding:7px;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:#e11d48}.portal-message-attachment>span{display:flex;min-width:0;flex:1;flex-direction:column;gap:2px}.portal-message-attachment strong{overflow:hidden;color:var(--text-strong);font-size:7px;text-overflow:ellipsis;white-space:nowrap}.portal-message-attachment small{color:var(--text-muted);font-size:7px}.portal-attachment-action{color:var(--primary);font-size:15px}.portal-chat-composer{display:flex;align-items:flex-end;gap:4px;padding:8px;border-top:1px solid var(--border)}.portal-chat-composer textarea{min-height:38px;max-height:75px;flex:1;resize:none;padding:8px;border:1px solid var(--field-border);border-radius:7px;background:var(--field-bg);color:var(--field-color);font-size:8px}.portal-chat-composer>button{flex:0 0 29px}.portal-chat-composer .portal-send-button{display:flex;width:auto;flex:0 0 auto;gap:5px;padding:0 8px;background:var(--primary);color:#fff;font-size:8px}.portal-chat-disclaimer{display:flex;align-items:center;gap:4px;margin:0;padding:0 9px 8px;color:var(--text-subtle);font-size:7px}.portal-message-aside{display:flex;min-width:0;flex-direction:column;gap:9px}.portal-message-aside .portal-panel-heading{min-height:40px;padding:8px 9px}.portal-message-aside .portal-panel-icon{width:25px;height:25px;flex-basis:25px}.portal-message-aside .portal-panel-heading h2{font-size:9px}.portal-contact-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 9px 10px}.portal-contact-card .portal-company-avatar{width:44px;height:44px;font-size:11px}.portal-contact-card>strong{color:var(--text-strong);font-size:9px;text-align:center}.portal-contact-card>small{color:var(--text-muted);font-size:7px}.portal-profile-link{display:inline-flex;align-items:center;gap:4px;margin-top:3px;color:var(--primary);font-size:8px}.portal-detail-list{display:flex;flex-direction:column;padding:0 9px 7px}.portal-detail-list>span{display:grid;min-height:32px;grid-template-columns:15px minmax(74px,.7fr) minmax(0,1fr);align-items:center;gap:5px;border-top:1px solid var(--border);color:var(--text-muted);font-size:7px}.portal-detail-list>span svg{color:var(--primary)}.portal-detail-list>span strong{color:var(--text-strong);font-size:7px;font-weight:600}.portal-subject-card{display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:3px 7px;padding:3px 9px 10px}.portal-subject-icon{display:grid;width:30px;height:30px;grid-row:1/span 2;place-items:center;border-radius:8px;background:#f59e0b24;color:#d97706}.portal-subject-card strong{color:var(--text-strong);font-size:8px}.portal-subject-card small{color:var(--text-muted);font-size:7px}.portal-delphin-card{display:flex;align-items:center;gap:7px;padding:3px 9px 7px}.portal-delphin-card>span{display:grid;width:29px;height:29px;flex:0 0 29px;place-items:center;border-radius:8px;background:#10b98124;color:#059669}.portal-delphin-card>div{display:flex;min-width:0;flex-direction:column;gap:2px}.portal-delphin-card strong{color:var(--text-strong);font-size:8px}.portal-delphin-card small{color:var(--text-muted);font-size:7px}.portal-channel-privacy{margin:0 9px 9px;color:var(--text-muted);font-size:7px;line-height:1.45}@media(max-width:1500px){.portal-metric-grid-six,.portal-report-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-dashboard-row-three{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-dashboard-row-three>:last-child{grid-column:1/-1}}@media(max-width:1180px){.portal-metric-grid-five{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-dashboard-row-wide{grid-template-columns:1fr}.portal-messages-layout{grid-template-columns:minmax(210px,.8fr) minmax(320px,1.5fr)}.portal-message-aside{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.portal-conversation-panel,.portal-chat-panel{min-height:520px}.portal-reports-layout{grid-template-columns:minmax(0,1fr) 250px}}@media(max-width:980px){.portal-metric-grid-six,.portal-metric-grid-five,.portal-metric-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-dashboard-row-three{grid-template-columns:1fr}.portal-dashboard-row-three>:last-child{grid-column:auto}.portal-reports-layout{grid-template-columns:1fr}.portal-report-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.portal-report-sidebar>.portal-panel{margin-bottom:0}.portal-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-alert-filter-grid{grid-template-columns:1fr 1fr}}@media(max-width:767px){.portal-page-heading{align-items:flex-start}.portal-metric-grid-six,.portal-metric-grid-five,.portal-metric-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.portal-metric-card{min-height:76px;padding:8px 7px;gap:7px}.portal-metric-card .metric-icon{width:31px;height:31px;flex-basis:31px}.portal-metric-card .metric-icon svg{width:16px;height:16px}.portal-metric-card .metric-label,.portal-metric-card .metric-trend{white-space:normal}.portal-metric-card .metric-value{font-size:15px}.portal-context-strip{flex-wrap:wrap;gap:8px;padding:8px}.portal-context-company{min-width:0;flex:1 1 100%}.portal-context-divider{display:none}.portal-context-cnpj{min-width:0}.portal-period-select{min-height:32px}.portal-dashboard-row-wide,.portal-dashboard-row-three{grid-template-columns:1fr}.portal-dashboard-row-three>:last-child{grid-column:auto}.portal-donut-layout{gap:12px;padding:7px}.portal-donut{width:100px;height:100px;flex-basis:100px}.portal-donut:before{width:70px;height:70px}.portal-status-summary{gap:8px}.portal-filter-panel{padding:0 8px 8px}.portal-filter-grid,.portal-xml-filter-grid,.portal-alert-filter-grid{grid-template-columns:1fr 1fr}.portal-filter-grid>:first-child{grid-column:1/-1}.portal-download-actions{grid-template-columns:1fr 1fr;gap:7px}.portal-download-tile{min-height:65px;padding:8px;grid-template-columns:31px 1fr;gap:0 7px}.portal-download-tile>span{width:30px;height:30px}.portal-download-tile strong{font-size:8px}.portal-download-tile small{font-size:7px}.portal-export-row{grid-template-columns:23px minmax(100px,1fr) 28px auto;gap:5px;padding:5px 0}.portal-export-row .portal-progress{display:none}.portal-storage-body{flex-direction:column}.portal-storage-info{width:100%}.portal-report-filters{grid-template-columns:1fr 1fr}.portal-generate-button{grid-column:1/-1}.portal-report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-report-card{min-height:96px}.portal-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-report-sidebar{grid-template-columns:1fr}.portal-report-detail-heading{align-items:flex-start;flex-direction:column}.portal-report-search{width:100%;max-width:none}.portal-report-bars{gap:6px;margin-right:6px;margin-left:6px;padding-right:4px;padding-left:4px}.portal-report-bar-item>span{font-size:6px}.portal-channel-note{align-items:flex-start}.portal-channel-note small{line-height:1.4}.portal-planned-badge{align-self:center}.portal-messages-layout{grid-template-columns:1fr}.portal-conversation-panel{min-height:0}.portal-conversation-list{max-height:260px}.portal-chat-panel{min-height:490px}.portal-chat-history{min-height:300px}.portal-message-aside{grid-column:auto;grid-template-columns:1fr}.portal-alert-row{grid-template-columns:32px minmax(0,1fr);gap:8px}.portal-alert-icon{width:31px;height:31px}.portal-alert-side{grid-column:2;flex-direction:row;align-items:center;justify-content:flex-start}.portal-sync-strip{align-items:flex-start;flex-direction:column;gap:6px}.portal-panel-heading{padding:9px}.portal-panel-heading p{line-height:1.35}}@media(prefers-reduced-motion:reduce){.portal-bar,.portal-report-bar-item>i,.portal-line,.portal-donut,.portal-progress i{animation:none!important;transform:none!important;stroke-dashoffset:0!important}.portal-report-card:hover{transform:none}}.portal-panel-heading h2{font-size:13px}.portal-panel-heading p,.portal-page-heading p{font-size:10px}.portal-table th{font-size:9px}.portal-table td{font-size:10px}.portal-document-type small,.portal-status,.portal-party-cell small,.portal-xml-present,.portal-xml-missing,.portal-chart-y-labels,.portal-chart-x-labels,.portal-donut-legend li,.portal-status-legend li,.portal-conversation-tabs button{font-size:9px}.portal-conversation-copy strong{font-size:10px}.portal-conversation-copy small{font-size:9px}.portal-category-chip,.portal-conversation-meta,.portal-conversation-meta b{font-size:8px}.portal-chat-header strong{font-size:11px}.portal-chat-header small{font-size:9px}.portal-chat-date,.portal-message-avatar{font-size:8px}.portal-message-bubble p,.portal-chat-composer textarea{font-size:10px}.portal-message-bubble>small,.portal-message-attachment small,.portal-conversation-meta{font-size:8px}.portal-message-attachment strong,.portal-chat-composer .portal-send-button{font-size:9px}.portal-chat-disclaimer,.portal-contact-card>small,.portal-delphin-card small,.portal-channel-privacy{font-size:8px}.portal-message-aside .portal-panel-heading h2{font-size:10px}.portal-contact-card>strong,.portal-delphin-card strong{font-size:10px}.portal-detail-list>span{font-size:8px}.portal-detail-list>span strong,.portal-subject-card small{font-size:8px}.portal-subject-card strong{font-size:9px}.portal-audit-filter-grid{grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(140px,1fr))}.portal-audit-table{min-width:1080px}.portal-audit-table tr.is-selected td{background:var(--primary-soft)}.portal-audit-time,.portal-audit-actor,.portal-audit-action,.portal-audit-origin{display:flex;min-width:110px;flex-direction:column;gap:2px}.portal-audit-time strong,.portal-audit-actor strong{color:var(--text-strong);font-weight:650;white-space:nowrap}.portal-audit-time small,.portal-audit-actor small,.portal-audit-action small,.portal-audit-origin small{color:var(--text-muted);font-size:9px;white-space:nowrap}.portal-audit-action{min-width:160px;color:var(--text-strong)}.portal-audit-origin{min-width:125px;display:grid;grid-template-columns:14px 1fr;align-items:center;column-gap:4px}.portal-audit-origin small{grid-column:2}.portal-audit-detail-button{display:grid;width:28px;height:28px;place-items:center;border:1px solid var(--border);border-radius:7px;background:var(--surface);color:var(--primary)}.portal-audit-detail-button[aria-pressed=true]{border-color:var(--primary);background:var(--primary-soft)}.portal-audit-detail-panel{margin-top:10px}.portal-audit-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;padding:0 13px 12px}.portal-audit-detail-grid>div{display:flex;min-width:0;min-height:52px;flex-direction:column;justify-content:center;gap:4px;border-top:1px solid var(--border)}.portal-audit-detail-grid small{color:var(--text-muted);font-size:9px}.portal-audit-detail-grid strong{overflow:hidden;color:var(--text-strong);font-size:10px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.portal-audit-detail-grid>p{display:flex;grid-column:1/-1;align-items:flex-start;gap:7px;margin:2px 0 0;padding:10px;border-radius:7px;background:var(--surface-soft);color:var(--text-muted);font-size:10px;line-height:1.5}.portal-audit-detail-grid>p svg{flex:0 0 auto;color:var(--primary)}.portal-audit-table th{font-size:10px}.portal-audit-table td,.portal-audit-time strong,.portal-audit-actor strong,.portal-audit-action{font-size:11px}.portal-audit-time small,.portal-audit-actor small,.portal-audit-action small,.portal-audit-origin small{font-size:10px}@media(max-width:1180px){.portal-audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.portal-audit-filter-grid{grid-template-columns:1fr 1fr}.portal-audit-filter-grid>.portal-search-field{grid-column:1/-1}.portal-audit-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding-right:9px;padding-left:9px}.portal-audit-detail-grid>p{grid-column:1/-1}}.login-page{position:relative;display:flex;min-height:100vh;min-height:100dvh;align-items:stretch;overflow:hidden;padding:34px clamp(24px,5.2vw,88px);background:radial-gradient(ellipse at 84% 92%,rgb(37 99 235 / 18%),transparent 34%),radial-gradient(ellipse at 50% 0%,rgb(59 130 246 / 11%),transparent 44%),#1b253b;color:#f8fafc}.login-page:before,.login-page:after{position:absolute;z-index:0;width:75vw;height:88vh;border:1px solid rgb(96 165 250 / 9%);border-radius:50%;content:"";pointer-events:none}.login-page:before{top:41%;left:-33%;transform:rotate(-12deg)}.login-page:after{right:-32%;bottom:-57%;transform:rotate(-14deg)}.login-orb{position:absolute;z-index:0;width:7px;height:7px;border-radius:50%;background:#3b82f6;box-shadow:0 0 20px 5px #3b82f647}.login-orb-one{top:25%;left:49%}.login-orb-two{right:11%;bottom:19%;width:5px;height:5px}.login-help{position:absolute;z-index:3;top:27px;right:clamp(24px,5.2vw,88px);display:inline-flex;align-items:center;gap:8px;color:#93c5fd;font-size:12px}.login-layout{position:relative;z-index:1;display:grid;width:100%;max-width:1460px;min-height:calc(100vh - 68px);min-height:calc(100dvh - 68px);grid-template-columns:minmax(0,1fr) minmax(390px,.82fr);align-items:center;gap:clamp(38px,8vw,140px);margin:auto}.login-intro{display:flex;min-height:640px;flex-direction:column;justify-content:center}.login-brand{display:flex;width:max-content;flex-direction:column;align-items:flex-start}.login-brand img{width:190px;height:138px;object-fit:contain;object-position:left center}.login-brand>span{margin-top:-8px;color:#a6b6ce;font-size:13px}.login-intro-copy{max-width:530px;margin-top:38px}.login-intro-copy h1{max-width:520px;margin:0;color:#f8fafc;font-size:clamp(35px,4.5vw,58px);font-weight:700;letter-spacing:-.045em;line-height:1.08}.login-lead{max-width:490px;margin:17px 0 0;color:#a6b6ce;font-size:16px;line-height:1.65}.login-benefits{display:grid;max-width:530px;gap:17px;margin-top:34px}.login-benefit{display:flex;align-items:center;gap:13px}.login-benefit-icon{display:grid;width:40px;height:40px;flex:0 0 40px;place-items:center;border:1px solid rgb(59 130 246 / 19%);border-radius:50%;background:#1e40af2b;color:#60a5fa}.login-benefit div{display:flex;flex-direction:column;gap:2px}.login-benefit strong{color:#e2e8f0;font-size:13px}.login-benefit div span{color:#91a4c1;font-size:11px}.login-footer{display:flex;flex-direction:column;gap:3px;margin-top:auto;padding-top:28px;color:#718096;font-size:11px}.login-footer span:first-child{color:#a6b6ce;font-weight:600}.login-form-column{width:100%;max-width:490px;justify-self:center}.login-mobile-brand{display:none}.login-card{padding:clamp(25px,3vw,39px);border:1px solid rgb(96 123 161 / 28%);border-radius:15px;background:linear-gradient(145deg,#28354fd9,#1b253bd6);box-shadow:0 22px 75px #0000004d;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.login-card-heading{display:flex;align-items:center;gap:9px;margin-bottom:16px}.login-card-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#10b98126;color:#34d399}.login-card-label{color:#8fa8c9;font-size:10px;font-weight:750;letter-spacing:.12em}.login-card h2{margin:0;color:#f8fafc;font-size:29px;font-weight:700;letter-spacing:-.035em}.login-card-subtitle{margin:5px 0 25px;color:#a6b6ce;font-size:13px}.login-form{display:flex;flex-direction:column}.login-form>label{margin:0 0 7px;color:#e2e8f0;font-size:12px;font-weight:600}.login-input-wrap{display:flex;min-height:47px;align-items:center;gap:11px;margin-bottom:17px;padding:0 13px;border:1px solid #40516e;border-radius:8px;background:#0f172a4d;color:#90a4c1}.login-input-wrap:focus-within{border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.login-input-wrap input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:#f8fafc;font-size:13px}.login-input-wrap input::placeholder{color:#8294af}.password-toggle{display:grid;width:28px;height:30px;flex:0 0 28px;place-items:center;border:0;background:transparent;color:#91a4c1}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.remember-option{display:inline-flex;align-items:center;gap:8px;color:#a6b6ce;font-size:11px;cursor:pointer}.remember-option input{position:absolute;width:1px;height:1px;opacity:0}.checkbox-visual{display:grid;width:17px;height:17px;place-items:center;border:1px solid #536783;border-radius:4px;color:transparent}.remember-option input:checked+.checkbox-visual{border-color:#3b82f6;background:#3b82f6;color:#fff}.remember-option input:focus-visible+.checkbox-visual{outline:3px solid rgb(59 130 246 / 48%);outline-offset:2px}.text-link{border:0;background:transparent;color:#60a5fa;font-size:11px;text-decoration:underline;text-underline-offset:3px}.login-feedback{margin:0 0 14px;padding:9px 11px;border:1px solid rgb(251 191 36 / 30%);border-radius:7px;background:#f59e0b1a;color:#fde68a;font-size:11px}.login-submit{width:100%;min-height:49px;justify-content:center;margin-top:1px;background:linear-gradient(100deg,#2563eb,#3b82f6);font-size:13px}.login-submit svg{margin-left:4px}.login-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#718096;font-size:11px}.login-divider:before,.login-divider:after{height:1px;flex:1;background:#94a3b833;content:""}.login-card .secondary-button{width:100%;min-height:45px;border-color:#38577f;background:transparent;color:#93c5fd;font-size:12px}.login-card .secondary-button:hover{background:#3b82f61a}.login-security-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:18px 0 0;color:#8294af;font-size:10px;text-align:center}.login-security-note svg{flex:0 0 auto;color:#34d399}.login-terms{margin:14px 0 0;color:#718096;font-size:10px;line-height:1.5;text-align:center}.product-footer-login{flex-direction:column;align-items:center;gap:3px;margin-top:9px;padding:0;border:0;color:#718096;font-size:9px;text-align:center}.product-footer-login span:last-child{text-align:center}html.ps-login-active body{padding:0!important;overflow:hidden!important;overscroll-behavior:none}.admin-console{display:flex;flex-direction:column;gap:13px}.admin-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.admin-page-heading h1{margin:0;color:var(--text-strong);font-size:25px;line-height:1.2;letter-spacing:-.035em}.admin-root-badge{display:inline-flex;min-height:34px;flex:0 0 auto;align-items:center;gap:7px;padding:0 11px;border:1px solid rgb(59 130 246 / 24%);border-radius:8px;background:var(--primary-soft);color:var(--primary);font-size:10px;font-weight:700}.admin-message{padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:11px}.admin-message.is-error{border-color:#ef44444d;background:#ef444414;color:#dc2626}.admin-message.is-success{border-color:#10b98147;background:#10b98114;color:#059669}html.dark .admin-message.is-error{color:#fca5a5}html.dark .admin-message.is-success{color:#6ee7b7}.admin-metrics{margin:0}.admin-tabs{display:flex;flex-wrap:wrap;gap:5px;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface-soft)}.admin-tabs button{min-height:34px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--text-muted);font-size:10px;font-weight:650;transition:background-color .15s ease,color .15s ease}.admin-tabs button:hover{color:var(--text-strong)}.admin-tabs button.is-active{background:var(--surface);color:var(--primary);box-shadow:0 1px 4px #0f172a1a}.admin-section-grid{display:grid;grid-template-columns:minmax(280px,.72fr) minmax(0,1.55fr);align-items:start;gap:12px}.admin-form-card{padding-bottom:14px}.admin-form{display:grid;gap:10px;padding:0 15px}.admin-form label{display:grid;min-width:0;gap:5px;color:var(--text-muted);font-size:10px;font-weight:650}.admin-form input,.admin-form select,.admin-office-filter select,.expiry-editor input{width:100%;min-width:0;min-height:37px;padding:0 9px;border:1px solid var(--field-border);border-radius:7px;outline:0;background:var(--field-bg);color:var(--field-color);font:inherit;font-size:11px}.admin-form input:focus,.admin-form select:focus,.admin-office-filter select:focus,.expiry-editor input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #3b82f61f}.admin-form-divider{padding:7px 0 0;border-top:1px solid var(--border);color:var(--text-strong);font-size:10px;font-weight:750}.admin-inline-note{margin:0;color:var(--text-muted);font-size:9px;line-height:1.5}.admin-office-filter{display:flex;max-width:300px;flex-direction:column;gap:4px;margin:0 15px 10px;color:var(--text-muted);font-size:9px}.admin-table{min-width:760px}.admin-table td{height:49px}.admin-table td small{display:block;margin-top:3px;color:var(--text-muted);font-size:9px}.admin-table .empty-cell{height:90px!important}.admin-credential{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid rgb(59 130 246 / 24%);border-radius:9px;background:var(--primary-soft);color:var(--primary)}.admin-credential>svg{flex:0 0 auto}.admin-credential>div{display:grid;min-width:0;flex:1;gap:3px}.admin-credential strong{font-size:11px}.admin-credential code{width:max-content;max-width:100%;overflow-wrap:anywhere;padding:4px 7px;border-radius:5px;background:var(--surface);color:var(--text-strong);font-size:12px;font-weight:750}.admin-credential small{color:var(--text-muted);font-size:9px}.compact-button{display:inline-flex;min-height:34px;align-items:center;justify-content:center;gap:6px;padding:0 10px;font-size:10px}.expiry-editor{display:grid;min-width:155px;gap:4px}.expiry-editor input{min-height:31px;padding:0 6px;font-size:9px}.expiry-editor .row-action{justify-self:start;min-height:25px}.danger-text{border-color:#ef444442;background:#ef444414;color:#dc2626}.office-users-grid{grid-template-columns:minmax(245px,.65fr) minmax(0,1.6fr)}.office-users-table{min-width:770px}.password-change-page{min-height:100vh}.password-change-layout{align-items:center}.password-success{border-color:#10b98147;background:#10b98114;color:#059669}@media(max-width:1000px){.admin-section-grid,.office-users-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:680px){.admin-page-heading{flex-direction:column}.admin-page-heading h1{font-size:21px}.admin-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tabs button{padding:0 6px}.admin-credential{align-items:flex-start;flex-wrap:wrap}.admin-credential .compact-button{margin-left:29px}}@media(prefers-reduced-motion:reduce){.admin-tabs button{transition:none}}@media(min-width:768px)and (max-width:1279px){.desktop-sidebar{flex-basis:84px;width:84px;padding-right:15px}.brand-lockup{height:82px;flex-basis:82px;margin-left:-7px}.brand-lockup img{width:40px;height:40px;content:url(/brand/perfect-butterfly-white.svg)}.brand-caption,.nav-section-label,.side-nav-label,.nav-count,.sidebar-help,.sidebar-brand-footer{display:none}.side-nav-link{justify-content:center;padding:0}.side-nav-link.is-active{margin-right:-15px;padding-right:15px}.side-nav-icon{width:27px;height:27px}.ps-main-content{padding-right:18px;padding-left:18px}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metric-card:nth-child(4),.metric-card:nth-child(5){min-height:82px}}@media(max-width:1180px){.client-tools{align-items:stretch}.search-field{flex-basis:calc(50% - 5px)}.quick-filters{flex:1 1 100%;order:2}.select-filter{flex:1}.clear-filters{flex:0 0 auto}.login-layout{gap:44px}}@media(max-width:980px){.login-page{min-height:100vh;min-height:100dvh;align-items:flex-start;padding:25px 18px}.login-help{top:18px;right:18px;font-size:11px}.login-layout{display:flex;min-height:auto;flex:1;flex-direction:column;justify-content:center;gap:17px;padding-top:26px}.login-intro{display:none}.login-mobile-brand{display:flex;flex-direction:column;align-items:center}.login-mobile-brand img{width:136px;height:96px;object-fit:contain}.login-mobile-brand span{margin-top:-6px;color:#a6b6ce;font-size:11px}.login-form-column{max-width:490px}}@media(max-width:767px){body{padding:0}.app-frame{min-height:100vh;min-height:100dvh}.desktop-sidebar{display:none}.ps-main-content{min-height:100vh;min-height:100dvh;padding:0 14px 20px;border-radius:0}.topbar{min-height:60px;gap:9px}.mobile-menu-trigger{display:grid;width:36px;height:36px;flex-basis:36px;margin-left:-5px;color:var(--text-strong)}.mobile-brand{display:flex;min-width:0;align-items:center;gap:7px;color:var(--text-strong);font-size:11px;font-weight:650;white-space:nowrap}.mobile-brand img{width:27px;height:27px;object-fit:contain}.tenant-context{display:none}.topbar-spacer{min-width:2px}.help-action,.notification-action,.topbar-divider,.profile-copy,.profile-chip>svg{display:none}.theme-switch{width:34px;height:34px;flex-basis:34px}.profile-chip{gap:0;padding:0}.profile-avatar{width:32px;height:32px;flex-basis:32px;font-size:10px}.route-area{padding-top:13px}.mobile-menu-layer{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:block}.mobile-menu-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;background:#020617b3}.mobile-sidebar{position:absolute;top:0;bottom:0;left:0;display:flex;width:min(310px,calc(100vw - 50px));flex-direction:column;overflow-y:auto;padding:15px 18px 20px;background:var(--shell-frame);box-shadow:18px 0 50px #00000047;animation:drawer-in .18s ease-out both}@keyframes drawer-in{0%{transform:translate(-18px);opacity:.7}to{transform:translate(0);opacity:1}}.mobile-sidebar .brand-lockup{height:110px;flex-basis:110px;margin:0 0 13px}.mobile-sidebar .brand-lockup img{width:112px;height:82px}.mobile-sidebar .brand-caption,.mobile-sidebar .side-nav-label{display:inline}.mobile-sidebar .nav-section-label{display:block}.mobile-sidebar .nav-count{display:inline-grid}.mobile-sidebar .side-nav-link{justify-content:flex-start;padding:0 14px}.mobile-sidebar .side-nav-link.is-active{margin-right:-18px;padding-right:25px}.mobile-sidebar .sidebar-help,.mobile-sidebar .sidebar-brand-footer{display:flex}.mobile-close{position:absolute;top:18px;right:16px;z-index:2;display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:9px;background:#ffffff12;color:#cbd5e1}.page-heading{align-items:flex-start;flex-direction:column;gap:12px}.page-heading h1{font-size:23px}.page-subtitle{max-width:570px;font-size:12px}.page-actions{width:100%}.page-actions button{flex:1}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric-card{min-height:94px;align-items:flex-start;gap:8px;padding:10px 8px}.metric-icon{width:34px;height:34px;flex-basis:34px;margin-top:3px}.metric-icon svg{width:17px;height:17px}.metric-label{overflow:visible;font-size:10px;line-height:1.15;text-overflow:clip;white-space:normal}.metric-value{font-size:19px}.metric-trend{overflow:visible;font-size:9px;line-height:1.15;text-overflow:clip;white-space:normal}.client-tools{gap:7px;padding:8px}.search-field{min-width:100%;flex:1 1 100%}.quick-filters{flex-wrap:wrap;width:100%;overflow:visible;padding-bottom:0}.filter-chip{flex:0 0 auto}.select-filter{min-width:105px}.clear-filters{flex:1}.table-heading{align-items:flex-start;flex-direction:column;gap:5px;padding:13px 12px 11px}.table-footer{padding:0 11px}.page-footnote{align-items:flex-start;line-height:1.45}.page-footnote svg{flex:0 0 auto;margin-top:1px}.pending-card{padding:17px}.login-page{min-height:100vh;min-height:100dvh;padding:19px 15px 24px}.login-help{top:14px;right:14px;font-size:10px}.login-help svg{width:15px}.login-mobile-brand img{width:120px;height:85px}.login-card{padding:22px 18px}.login-card h2{font-size:25px}.login-card-subtitle{margin-bottom:20px;font-size:12px}.login-terms{margin-bottom:4px}}@media(max-width:390px){.page-actions{flex-direction:column}.metric-card{min-height:94px}.metric-icon{width:32px;height:32px;flex-basis:32px}.metric-trend{max-width:110px}.login-options{align-items:flex-start;flex-direction:column}.login-card{padding:19px 15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.metric-card:hover{transform:none}.client-table tbody tr{animation:none}}@media(max-height:760px){.login-page{padding-top:12px;padding-bottom:12px}.login-layout{gap:8px;padding-top:14px}.login-mobile-brand img{width:105px;height:72px}.login-card{padding-top:18px;padding-bottom:18px}.login-card-heading{margin-bottom:10px}.login-card-subtitle{margin-bottom:16px}.login-input-wrap{min-height:42px;margin-bottom:11px}.login-options{margin-bottom:14px}.login-divider{margin:13px 0}.login-security-note{margin-top:12px}.login-terms{margin-top:8px}}@media(max-height:620px){.login-mobile-brand img{width:78px;height:53px}.login-mobile-brand span{display:none}.login-layout{gap:4px;padding-top:10px}.login-card{padding:13px 16px}.login-card h2{font-size:22px}.login-card-subtitle{margin:3px 0 10px}.login-card-heading{margin-bottom:7px}.login-input-wrap{min-height:36px;margin-bottom:8px}.login-options{margin-bottom:9px}.login-submit{min-height:40px}.login-divider{margin:8px 0}.login-card .secondary-button{min-height:38px}.login-security-note,.login-terms{display:none}}@media(max-width:980px){.tenant-context{display:none}}@media(max-width:767px){.topbar{gap:5px}.mobile-brand{flex:0 0 27px}.mobile-brand span{display:none}.client-session-context{max-width:none;min-width:0;flex:1}.client-session-copy small{font-size:7px}.client-session-copy strong{font-size:10px}.topbar-spacer{display:none}}@media(max-width:520px){.client-session-modal{padding:23px 18px 18px}.client-session-modal h2{max-width:290px;font-size:18px}.client-session-modal-actions{flex-direction:column-reverse}.client-session-modal-actions button{width:100%}}
