:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#172044;background:#f6f7fc;--brand-primary:#1d4ed8;--brand-primary-dark:#1e40af;--brand-highlight:#3b82f6;--ink:#0b1f3a;--muted:#475569;--line:#dce6f2}*{box-sizing:border-box}body{margin:0;background:#f6f7fc}button,input,select,textarea{font:inherit}.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 80% 5%,#eff6ff,transparent 38%),#f7f8fd}.login-card{width:min(420px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 50px #1e40af16}.brand-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#3b82f6,#3b82f6);color:#fff;font-size:25px;box-shadow:0 8px 18px #3b82f633}.login-card h1{margin:8px 0 0;font-size:30px}.eyebrow{margin:0;color:var(--brand-primary);font-size:11px;font-weight:800;letter-spacing:.12em}.login-subtitle{margin:3px 0 26px;color:var(--muted);font-size:17px}.login-card form{display:grid;gap:15px}.login-card label,.form-grid label{display:grid;gap:7px;color:#344268;font-size:13px;font-weight:650}.login-card input,.form-grid input,.form-grid select,.form-grid textarea{width:100%;padding:12px;border:1px solid #ccd5eb;border-radius:9px;outline:0;color:var(--ink);background:#fff}.login-card input:focus,.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--brand-primary);box-shadow:0 0 0 3px #3b82f618}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:9px;padding:11px 16px;cursor:pointer;font-weight:750}.primary{background:var(--brand-primary);color:#fff}.primary:hover{background:#1d4ed8}.secondary{background:#fff;color:#1d4ed8;border:1px solid #d7d2f2}.full{width:100%}.link-button{border:0;background:transparent;color:var(--brand-primary);cursor:pointer;font-size:13px}.form-message{min-height:18px;margin:0;color:#bd2c4a;font-size:13px}.login-card small{display:block;margin-top:22px;color:var(--muted);line-height:1.45}.app-shell{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:245px;display:flex;flex-direction:column;padding:22px 14px;background:#191634;color:#eae7ff}.sidebar-brand{display:flex;align-items:center;gap:10px;padding:4px 10px 28px}.sidebar-brand .brand-mark{width:35px;height:35px;border-radius:10px;font-size:18px}.sidebar-brand b,.sidebar-brand small{display:block}.sidebar-brand small{margin-top:3px;color:#1e40af;font-size:11px}.sidebar nav{display:grid;gap:20px}.nav-group{display:grid;gap:4px}.nav-label{padding:0 12px 5px;color:#475569;font-size:10px;font-weight:800;letter-spacing:.12em}.nav-item{display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:#1e40af;text-align:left;cursor:pointer}.nav-item:hover,.nav-item.active{background:#1e40af;color:#fff}.nav-item .nav-icon{width:18px;color:#1e40af}.sidebar-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:15px 10px;border-top:1px solid #1e40af;font-size:12px}.sidebar-footer .link-button{color:#1e40af}.workspace{width:calc(100% - 245px);margin-left:245px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:25px 34px 18px;background:#fff;border-bottom:1px solid var(--line)}.topbar h2{margin:3px 0 0;font-size:26px}.global-search{display:flex;align-items:center;gap:8px;width:min(500px,48%);padding:10px 14px;border:1px solid #d7def0;border-radius:10px;color:var(--brand-primary)}.global-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink)}.page-content{padding:24px 34px 44px}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric,.panel,.table-wrap{border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 4px 15px #26366c08}.metric{padding:18px}.metric small,.muted{color:var(--muted)}.metric strong{display:block;margin-top:8px;font-size:28px}.metric.purple{border-top:3px solid #2563eb}.metric.orange{border-top:3px solid #f28a37}.metric.green{border-top:3px solid #20a779}.metric.blue{border-top:3px solid #3778e8}.panel{padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.panel h3{margin:0;font-size:17px}.section-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px;margin-top:18px}.request-row,.result-row{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #edf0f7;font-size:13px}.status{display:inline-flex;width:max-content;padding:5px 9px;border-radius:99px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:750}.status.waiting{background:#fff2d8;color:#a56700}.status.done{background:#ddf5e9;color:#087452}.status.denied{background:#fde5e9;color:#b72f4b}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;font-size:13px}.data-table th,.data-table td{padding:13px 15px;border-bottom:1px solid #edf0f7;text-align:left;white-space:nowrap}.data-table th{color:#687698;font-size:11px;text-transform:uppercase;letter-spacing:.04em}.toolbar{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.toolbar input{width:min(420px,100%);padding:11px 13px;border:1px solid #ccd5eb;border-radius:9px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-grid .wide{grid-column:1/-1}.form-grid textarea{min-height:100px;resize:vertical}.empty{padding:30px;text-align:center;color:var(--muted)}[hidden]{display:none!important}@media(max-width:900px){.sidebar{width:210px}.workspace{width:calc(100% - 210px);margin-left:210px}.summary-grid{grid-template-columns:repeat(2,1fr)}.section-grid{grid-template-columns:1fr}.topbar{padding-inline:20px}.page-content{padding-inline:20px}}@media(max-width:650px){.sidebar{position:static;width:100%;height:auto}.app-shell{display:block}.workspace{width:100%;margin:0}.sidebar nav{display:flex;overflow:auto}.nav-group{display:flex}.nav-label{display:none}.sidebar-footer{display:none}.topbar{align-items:flex-start;flex-direction:column}.global-search{width:100%}.page-content{padding:16px}.summary-grid{grid-template-columns:1fr 1fr}.request-row{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}}

/* Keep account actions visible while the navigation scrolls. */
.sidebar { overflow: hidden; }
.sidebar-brand { flex-shrink: 0; }
.sidebar nav { min-height: 0; overflow-y: auto; flex: 1; align-content: start; padding-bottom: 16px; }
.sidebar-footer { flex-shrink: 0; margin-top: 0; }
.sidebar-footer #currentUser { min-width: 0; overflow-wrap: anywhere; }
.sidebar-footer #logoutButton { flex-shrink: 0; min-height: 42px; padding: 10px 16px; border: 1px solid #1d4ed8; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 600; }
.sidebar-footer #logoutButton:hover { background: #1e40af; }
.sidebar-footer #logoutButton:focus-visible { outline: 2px solid #dbeafe; outline-offset: 3px; }
@media(max-width:650px) {
  .sidebar nav { flex: none; overflow-x: auto; }
  .sidebar-footer { display: flex; margin-top: 12px; }
}

/* Shared Portal scrollbar style. */
.sidebar nav { scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: #6676b4 transparent; }
.sidebar nav::-webkit-scrollbar { width: 7px; height: 7px; }
.sidebar nav::-webkit-scrollbar-track { background: transparent; }
.sidebar nav::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: #6676b4; background-clip: padding-box; }
.se-decision{display:flex;gap:8px}
.se-decision .primary,.se-decision .secondary{padding:7px 10px;font-size:12px;white-space:nowrap}
.sidebar nav::-webkit-scrollbar-thumb:hover { background: #3b82f6; background-clip: padding-box; }

/* Dashboard layout matching the operational design. */
.app-shell { color:#100c43; background:radial-gradient(ellipse at 70% 0,#00397d 0,transparent 45%),#001127; }
.app-shell .sidebar { width:255px; padding:26px 16px 12px; background:radial-gradient(ellipse at 10% 105%,#1d4ed8,transparent 35%),linear-gradient(155deg,#0b1f3a,#1e3a8a 58%,#0b1f3a); isolation:isolate; }
.app-shell .sidebar::before,.app-shell .sidebar::after { content:''; position:absolute; z-index:-1; pointer-events:none; width:570px; height:400px; border:1px solid #3b82f6; border-radius:50%; transform:rotate(38deg); left:-280px; bottom:-130px; background:linear-gradient(140deg,#1d4ed8a0,#0b1f3a 70%); }
.app-shell .sidebar::after { left:-180px; bottom:140px; background:transparent; border-color:#1d4ed870; }
.app-shell .sidebar-brand { justify-content:center; padding:4px 8px 32px; }
.app-shell .sidebar-brand img { display:block; width:205px; max-width:100%; height:auto; object-fit:contain; }
.app-shell .sidebar nav { gap:4px; padding-bottom:20px; scrollbar-gutter:auto; }
.app-shell .nav-label { display:none; }
.app-shell .nav-group { gap:4px; }
.app-shell .nav-item { min-height:48px; padding:11px 17px; gap:18px; font-size:16px; font-weight:400; line-height:1.3; border-radius:9px; }
.app-shell .nav-icon { width:26px; flex:0 0 26px; display:grid; place-items:center; color:#1e40af; }
.app-shell .nav-item.active { background:linear-gradient(100deg,#3b82f6,#1e40af); box-shadow:inset 0 1px 0 #ffffff12; }
.app-shell .nav-item.active .nav-icon { color:white; }
.app-shell .sidebar-footer { padding:12px 4px; border-color:#3b82f65c; }
.app-shell .workspace { width:calc(100% - 255px); margin-left:255px; min-width:0; }
.app-shell .topbar { padding:20px 26px 0 30px; gap:24px; border:0; background:transparent; align-items:flex-start; }
.app-shell .topbar > div:first-child { flex:1; min-width:225px; }
.app-shell .topbar .eyebrow { color:#3b82f6; font-size:12px; letter-spacing:.13em; }
.app-shell .topbar h2 { color:#10083c; font-size:28px; font-weight:800; letter-spacing:-.8px; margin:5px 0 3px; }
.topbar-subtitle { margin:0; color:#475569; font-size:13px; }
.app-shell .global-search { margin-top:2px; width:34%; min-width:220px; padding:11px 14px; border-color:#e4e5f7; background:#ffffffd9; border-radius:9px; }
.app-shell .global-search input { font-size:12px; }
.app-shell .global-search { width:40%; min-width:300px; padding:13px 16px; }
.app-shell .global-search input { font-size:13px; }
.app-shell .global-search-icon { width:20px; height:20px; flex:0 0 20px; }
.profile-summary { display:flex; align-items:center; gap:12px; min-width:166px; color:#110b43; }
.profile-avatar { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#0b1f3a; color:#fff; font-size:16px; font-weight:650; flex-shrink:0; }
.profile-summary b,.profile-summary small { display:block; font-size:12px; }
.profile-summary b { max-width:150px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.profile-summary small { margin-top:4px; color:#475569; }
.app-shell .page-content { padding:0 24px 36px 26px; }
.app-shell.employees-full-page .sidebar,.app-shell.employees-full-page .topbar{display:none}.app-shell.employees-full-page .workspace{width:100%;margin:0}.app-shell.employees-full-page .page-content{padding:20px 24px 36px;max-width:none}
.reference-dashboard { display:grid; gap:14px; }
.ref-period { min-height:68px; display:flex; align-items:flex-end; justify-content:flex-end; gap:16px; font-size:13px; font-weight:650; }
.ref-filter-field { display:grid; gap:7px; min-width:0; color:#0b1f3a; }
.ref-filter-field > label,.ref-filter-field > span { font-size:12px; text-align:center; }
.ref-period select { border:0; padding:3px 5px; color:#0b1f3a; background:#fff; font-size:12px; max-width:265px; }
.ref-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:13px; }
.ref-metric { display:flex; align-items:flex-start; gap:15px; background:#fff; border:1px solid #e9eafb; border-radius:11px; padding:16px 13px 13px; min-height:112px; box-shadow:0 3px 10px #37299604; }
.ref-metric-icon { width:58px; height:58px; flex:0 0 58px; display:grid; place-items:center; border-radius:50%; background:radial-gradient(circle,#e8efff,#d9e8ff); color:#1d4ed8; }
.ref-metric-icon.purple { background:radial-gradient(circle,#eff6ff,#dbeafe); color:#2563eb; }
.ref-metric-icon.green { background:radial-gradient(circle,#e4f8f2,#c9eee3); color:#0ab489; }
.ref-metric-icon.red { background:radial-gradient(circle,#ffe7eb,#ffd6dd); color:#ff354d; }
.ref-metric h3 { font-size:12px; line-height:1.35; font-weight:700; color:#334155; margin:0 0 8px; }
.ref-metric strong { display:block; font-size:34px; line-height:1.05; letter-spacing:-.8px; }
.ref-metric p { font-size:10px; color:#64748b; margin:8px 0 0; white-space:normal; }
.ref-panel { background:#fff; border:1px solid #e9eafb; border-radius:11px; padding:12px 15px; min-width:0; box-shadow:0 3px 10px #37299604; }
.ref-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; min-height:29px; }
.ref-panel h3 { display:flex; align-items:center; gap:10px; margin:0; color:#0b1f3a; font-size:16px; letter-spacing:-.45px; font-weight:750; }
.ref-panel h3 svg { color:#3b82f6; flex-shrink:0; }
.period-caption { border:1px solid #e3e6f7; border-radius:6px; padding:7px 11px; white-space:nowrap; font-size:11px; color:#1e40af; }
.ref-chart-row { display:grid; grid-template-columns:1.28fr 1fr; gap:14px; }
.ref-chart { display:block; width:100%; height:180px; overflow:visible; }
.ref-chart text { fill:#64748b; font-size:10px; }
.ref-chart-legend { display:flex; gap:20px; color:#475569; font-size:11px; }
.ref-chart-legend span::before { content:''; display:inline-block; width:11px; height:11px; background:#cfb2ff; border-radius:3px; margin-right:7px; vertical-align:middle; }
.ref-chart-legend span:last-child::before { background:#641aff; }
.ref-status { display:flex; gap:28px; align-items:center; justify-content:space-between; min-height:180px; }
.ref-donut { display:grid; place-items:center; border-radius:50%; width:160px; height:160px; flex:0 0 160px; transform:rotate(-90deg); }
.ref-donut > div { width:94px; height:94px; border-radius:50%; background:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; transform:rotate(90deg); }
.ref-donut strong { font-size:24px; line-height:1.3; }
.ref-donut span { color:#475569; font-size:16px; }
.ref-status ul { flex:1; list-style:none; padding:0; margin:0; }
.ref-status li { display:grid; grid-template-columns:12px minmax(95px,1fr) 30px 35px; gap:8px; align-items:center; font-size:11px; margin:12px 0; }
.ref-status li i { width:11px; height:11px; border-radius:50%; }
.ref-status li span { font-weight:650; }
.ref-status small { font-size:11px; text-align:right; color:#64748b; }
.ref-middle-row { display:grid; grid-template-columns:1.9fr 1fr; gap:14px; }
.ref-times { display:grid; grid-template-columns:1fr 1fr; gap:9px; min-width:0; }
.ref-time { padding:12px 10px; display:flex; flex-direction:column; }
.ref-time-title { display:flex; align-items:flex-start; gap:6px; min-height:44px; }
.ref-time-title > span { flex-shrink:0; display:grid; place-items:center; color:#3b82f6; border-radius:50%; background:#eff6ff; width:28px; height:28px; }
.ref-time h3 { font-size:11px; line-height:1.4; letter-spacing:0; margin-top:2px; }
.ref-time > strong { display:block; font-size:24px; white-space:nowrap; margin:4px 0 2px 34px; }
.ref-time > strong small { font-size:12px; }
.ref-unavailable { margin:0 0 0 34px; color:#475569; font-size:9px; }
.ref-mini-chart { display:block; width:100%; height:62px; margin-top:auto; }
.ref-middle-row > .ref-panel { min-height:198px; }
.ref-middle-row .ref-panel h3 { font-size:15px; }
.ref-bar { display:grid; grid-template-columns:minmax(100px,1.2fr) 1fr 26px 30px; gap:8px; align-items:center; font-size:10px; margin:12px 0; }
.ref-bar > div { height:12px; border-radius:4px; background:#eff6ff; }
.ref-bar i { display:block; height:100%; background:linear-gradient(90deg,#3b82f6,#3b82f6); border-radius:4px; }
.ref-bar small { font-size:10px; color:#475569; text-align:right; }
.ref-origins { padding:0; margin:16px 0 0; list-style:none; display:grid; gap:14px; }
.ref-origins li { display:flex; align-items:center; gap:16px; font-size:12px; }
.ref-origins svg { color:#3b82f6; }
.ref-origins span { flex:1; }
.ref-origins b { font-size:13px; }
.ref-bottom-row { display:grid; grid-template-columns:1.65fr 1.25fr .95fr; gap:14px; align-items:start; }
.ref-operations-column { display:grid; align-content:start; gap:14px; min-width:0; }
.ref-insights-column { display:grid; align-content:start; gap:14px; min-width:0; }
.ref-operations-column .ref-panel { min-width:0; }
.ref-activity-table { overflow:visible; }
.ref-activity-table .ref-table { table-layout:fixed; }
.ref-activity-table .ref-table th,.ref-activity-table .ref-table td { overflow-wrap:anywhere; white-space:normal; }
.ref-operations-column .ref-panel { min-height:244px; }
.ref-pageviews strong { display:block; margin-top:16px; color:#1a1050; font-size:30px; line-height:1.1; }
.ref-pageviews p { margin:6px 0 0; color:#475569; font-size:12px; }
.ref-table-scroll { overflow:auto; scrollbar-width:thin; scrollbar-color:#3b82f6 transparent; }
.ref-table { width:100%; border-collapse:collapse; font-size:10px; }
.ref-table th { font-size:10px; font-weight:650; color:#676199; background:#f8f8ff; padding:9px 7px; text-align:left; white-space:nowrap; }
.ref-table td { padding:9px 7px; border-bottom:1px solid #f0eff8; line-height:1.45; }
.ref-table td:first-child { font-weight:700; white-space:nowrap; }
.ref-table td button { background:transparent; border:0; padding:0; color:#0b1f3a; font:inherit; font-weight:700; cursor:pointer; }
.ref-priority { border-radius:20px; padding:3px 8px; background:#eff6ff; color:#1d4ed8; white-space:nowrap; }
.ref-see { display:flex; align-items:center; gap:8px; white-space:nowrap; color:#3b82f6; background:none; border:0; font-size:11px; font-weight:650; cursor:pointer; padding:4px 0; }
.ref-summary { display:grid; gap:10px; padding:0; margin:12px 0 0; list-style:none; }
.ref-summary li { display:grid; grid-template-columns:21px 52px 1fr; gap:8px; align-items:center; font-size:10px; }
.ref-summary svg { color:#3b82f6; }
.ref-summary li:nth-child(2) svg { color:#0cbb90; }
.ref-summary li:nth-child(3) svg { color:#fa3554; }
.ref-summary b { font-size:13px; white-space:nowrap; }
.ref-no-data { text-align:center; color:#475569; font-size:12px; padding:44px 12px!important; font-weight:400!important; }
@media(min-width:1450px) { .ref-chart { height:180px; } .ref-chart-row > .ref-panel { min-height:234px; } }
@media(max-width:1250px) { .ref-metric { gap:8px; padding:13px 9px; } .ref-metric-icon { width:38px; height:38px; flex-basis:38px; } .ref-metric-icon svg { width:23px; } .ref-metric strong { font-size:28px; } .ref-status { gap:12px; } .ref-donut { width:122px; height:122px; flex-basis:122px; } .ref-donut > div { width:78px; height:78px; } .ref-middle-row { grid-template-columns:1.8fr 1fr; } .ref-origins { grid-template-columns:repeat(4,1fr); } .ref-bottom-row { grid-template-columns:1.4fr 1fr; } .ref-bottom-row > :last-child { grid-column:1/-1; min-height:0; } .ref-summary { grid-template-columns:1fr 1fr; } .profile-summary { min-width:40px; } .profile-summary > div { display:none; } }
@media(max-width:1050px) { .app-shell .sidebar { width:220px; padding-inline:12px; } .app-shell .workspace { margin-left:220px; width:calc(100% - 220px); } .app-shell .sidebar-brand { padding-inline:10px; } .app-shell .topbar { flex-wrap:wrap; padding:20px; } .app-shell .global-search { order:3; width:100%; } .ref-metrics { grid-template-columns:repeat(3,minmax(0,1fr)); } .ref-chart-row { grid-template-columns:1fr; } .ref-status { justify-content:flex-start; gap:35px; } .ref-status ul { max-width:380px; } .ref-middle-row,.ref-bottom-row { grid-template-columns:1fr; } .ref-origins { grid-template-columns:1fr 1fr; } .ref-time h3 { font-size:13px; } }
@media(max-width:650px) { .app-shell .sidebar { position:relative; width:100%; padding:16px; } .app-shell .sidebar-brand { padding:0 0 14px; } .app-shell .sidebar nav { display:flex; } .app-shell .nav-group { display:flex; flex-shrink:0; } .app-shell .nav-item { width:auto; white-space:nowrap; padding:10px; gap:8px; font-size:14px; } .app-shell .sidebar-footer { margin-top:10px; } .app-shell .workspace { margin:0; width:100%; } .app-shell .page-content { padding:0 14px 24px; } .app-shell .topbar { flex-direction:row; } .ref-period { gap:12px; } .ref-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .ref-chart-legend { gap:8px; } .ref-panel h3 { font-size:14px; } .ref-summary { grid-template-columns:1fr; } }
@media(max-width:390px) { .ref-times { grid-template-columns:1fr; } .ref-status { gap:12px; flex-wrap:wrap; } .ref-origins { grid-template-columns:1fr; } .ref-period select { max-width:200px; } }
.ref-donut { position:relative; transform:none; }
.ref-donut > svg { position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.ref-donut > div { position:relative; transform:none; }
.ref-bar > svg { width:100%; height:12px; }
.app-shell .topbar { padding-top:18px; }
.ref-period { min-height:42px; }
.ref-chart-row > .ref-panel { min-height:234px; }
.ref-chart-row { align-items:stretch; }
/* Compact KPI cards and month-over-month comparison. */
.ref-metrics { gap:10px; }
.ref-metric { min-height:94px; padding:12px 10px; gap:10px; align-items:flex-start; border-radius:9px; }
.ref-metric-icon { width:46px; height:46px; flex-basis:46px; }
.ref-metric-icon svg { width:30px; height:30px; }
.ref-metric > div { min-width:0; flex:1; }
.ref-metric h3 { font-size:11px; line-height:1.3; margin:0 0 5px; }
.ref-metric strong { font-size:28px; line-height:1.05; }
.ref-metric p { display:flex; align-items:center; flex-wrap:wrap; gap:4px; margin:6px 0 0; font-size:10px; line-height:1.35; }
.ref-metric p > span { white-space:nowrap; }
.metric-change { font-weight:700; }
.metric-change.positive { color:#00ad82; }
.metric-change.negative { color:#f12e4d; }
.metric-change.neutral { color:#84799f; }
@media(min-width:1051px) and (max-width:1350px) {
  .ref-metric { padding:11px 8px; gap:8px; }
  .ref-metric-icon { width:38px; height:38px; flex-basis:38px; }
  .ref-metric-icon svg { width:27px; height:27px; }
  .ref-metric h3 { font-size:10px; }
  .ref-metric p { font-size:9px; }
}
/* Period filter menu and custom range dialog. */
.period-picker { position:relative; }
.period-picker summary { list-style:none; display:flex; align-items:center; gap:11px; min-width:270px; min-height:43px; padding:9px 12px; border:1px solid #3b82f6; border-radius:9px; background:#fff; color:#140b47; cursor:pointer; font-size:13px; }
.period-picker summary > span { font-weight:400; }
.period-picker summary::-webkit-details-marker { display:none; }
.period-picker summary svg:first-child { color:#3b82f6; }
.period-picker summary svg:last-child { margin-left:auto; }
.period-menu { position:absolute; z-index:20; top:calc(100% + 6px); right:0; width:300px; max-height:min(360px,55dvh); overflow-y:auto; padding:10px; border:1px solid #dce6f2; border-radius:12px; background:#fff; box-shadow:0 16px 38px #1e40af25; scrollbar-width:thin; scrollbar-color:#dbeafe transparent; }
.period-menu::-webkit-scrollbar { width:5px; }
.period-menu::-webkit-scrollbar-thumb { border-radius:5px; background:#dbeafe; }
.company-picker summary { width:220px; min-width:220px; }
.company-menu { width:260px; max-height:310px; overflow-y:auto; }
.company-menu-search{display:grid;gap:6px;padding:3px 3px 10px;color:#dbe7ff;font-size:11px}
.company-menu-search input{box-sizing:border-box;width:100%;min-width:0;min-height:38px;padding:8px 10px;border:1px solid #24518b;border-radius:8px;background:#05213e;color:#fff;font:inherit;font-size:12px}
.company-menu-search input::placeholder{color:#9ab4d4}
.company-menu-search input:focus-visible{outline:2px solid #67b6ff;outline-offset:1px}
.company-menu [data-company][hidden],.company-menu-empty[hidden]{display:none!important}
.company-menu-empty{margin:8px 4px 2px;color:#bdcdff;font-size:12px}
.company-menu-search,.company-menu-search input{cursor:text}.company-menu-search input{caret-color:#fff;user-select:text;-webkit-user-select:text}.company-menu-search input::-webkit-search-cancel-button{cursor:pointer}
#appView #dashboardCompanySearch{cursor:text!important}
.dashboard-company-audience{display:flex;align-items:center;justify-content:space-between;gap:24px}.dashboard-company-audience h3{margin:0 0 5px;font-size:16px}.dashboard-company-audience p{margin:0;font-size:12px;color:#bdcdff}.dashboard-company-audience-metrics{display:grid;grid-template-columns:repeat(3,minmax(92px,1fr));gap:12px;min-width:min(100%,450px)}.dashboard-company-audience-metrics div{display:grid;gap:4px;padding:10px 12px;border:1px solid #24518b;border-radius:9px;background:#05213e}.dashboard-company-audience-metrics span{font-size:11px;color:#bdcdff}.dashboard-company-audience-metrics strong{font-size:22px;color:#fff}@media(max-width:700px){.dashboard-company-audience{align-items:stretch;flex-direction:column}.dashboard-company-audience-metrics{min-width:0}}@media(max-width:430px){.dashboard-company-audience-metrics{grid-template-columns:minmax(0,1fr)}}
.period-group { padding:5px 0; border-bottom:1px solid #eff6ff; }
.period-group:last-child { border-bottom:0; }
.period-group button { display:flex; align-items:center; width:100%; gap:13px; padding:10px 12px; border:0; border-radius:8px; background:transparent; color:#171044; text-align:left; font-size:13px; font-weight:400; cursor:pointer; }
.period-group button:hover,.period-group button.selected { background:#eff6ff; color:#3b82f6; }
.period-group button svg:last-child { margin-left:auto; }
.custom-period-dialog { width:min(760px,calc(100% - 30px)); border:1px solid #dce6f2; border-radius:17px; padding:0; color:#0b1f3a; box-shadow:0 24px 70px #1e40af38; }
.custom-period-dialog::backdrop { background:#0b1f3a55; backdrop-filter:blur(2px); }
.custom-period-dialog form { padding:26px; }
.custom-period-head { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.custom-period-head h2 { display:flex; align-items:center; gap:14px; margin:0; font-size:22px; }
.custom-period-head h2 svg { color:#3b82f6; }
.custom-period-head > button { border:0; background:transparent; color:#475569; font-size:34px; line-height:1; cursor:pointer; }
.custom-period-dialog form > p { color:#475569; line-height:1.5; }
.custom-period-dates { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-top:22px; }
.custom-period-dates label { display:block; margin-bottom:7px; font-weight:700; }
.custom-period-dates input { width:100%; padding:12px 14px; border:1px solid #ccd1e8; border-radius:9px; color:#171044; font:inherit; }
.period-calendar { margin-top:10px; padding:12px; border:1px solid #dce6f2; border-radius:11px; }
.calendar-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:9px; text-transform:capitalize; }
.calendar-heading button { width:28px; height:28px; border:0; border-radius:6px; background:#eff6ff; color:#3b82f6; font-size:22px; cursor:pointer; }
.calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; text-align:center; }
.calendar-grid > span { padding:4px 0; color:#475569; font-size:11px; }
.calendar-grid button { aspect-ratio:1; border:0; border-radius:6px; background:transparent; color:#171044; cursor:pointer; }
.calendar-grid button:hover,.calendar-grid button.selected { background:#3b82f6; color:#fff; }
.period-error { min-height:18px; color:#c3294d!important; font-size:13px; }
.custom-period-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:18px; }
.custom-period-actions button { padding:11px 22px; border-radius:9px; border:1px solid #d5d2e8; background:#fff; color:#3b82f6; font-weight:700; cursor:pointer; }
.custom-period-actions button[type=submit] { border-color:#3b82f6; background:#3b82f6; color:#fff; }
@media(max-width:650px) { .ref-period { align-items:flex-start; flex-direction:column; } .period-picker summary { min-width:240px; } .period-menu { left:0; right:auto; } .custom-period-dates { grid-template-columns:1fr; gap:12px; } }
@media(max-width:650px) { .ref-filter-field { width:100%; } .period-picker summary,.company-picker summary { min-width:0; width:100%; } }
.overview-page { display:grid; gap:18px; }
.overview-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.overview-metrics .metric { min-height:108px; padding:18px; background:#fff; border:1px solid #e9eafb; border-radius:11px; }
.overview-metrics .metric small { color:#59517b; font-weight:650; }
.overview-metrics .metric strong { font-size:32px; }
.overview-page .panel { background:#fff; }
@media(max-width:900px){.overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}}
.complaint-filter { display:flex; align-items:center; justify-content:flex-end; gap:12px; margin:18px 0 14px; }
.complaint-filter label { color:#475569; font-size:13px; font-weight:650; }
.complaint-filter > div { display:flex; align-items:center; gap:8px; min-width:240px; padding:9px 12px; border:1px solid #dbeafe; border-radius:9px; background:#fff; color:#3b82f6; }
.complaint-filter select { flex:1; border:0; outline:0; background:#fff; color:#0b1f3a; font:inherit; cursor:pointer; }
.complaint-detail .panel-head { margin-bottom:18px; }
.complaint-meta { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
.complaint-meta > div { padding:13px; border:1px solid #dce6f2; border-radius:9px; background:#eff6ff; }
.complaint-meta small,.complaint-meta strong { display:block; }
.complaint-meta small { color:#475569; font-size:11px; margin-bottom:6px; }
.complaint-meta strong { color:#171044; font-size:13px; overflow-wrap:anywhere; }
.complaint-content,.complaint-public { padding:18px; border:1px solid #dce6f2; border-radius:10px; margin-bottom:14px; }
.complaint-content h4,.complaint-public h4 { margin:0 0 10px; color:#1a104e; }
.complaint-content p,.complaint-public p { margin:0; color:#475569; line-height:1.65; white-space:pre-wrap; }
.complaint-deactivate,.complaint-deactivate-summary { margin:16px 0; padding:16px; border:1px solid #fecaca; border-radius:10px; background:#fffafa; }
.complaint-deactivate-head { display:flex; align-items:center; justify-content:space-between; gap:14px; }
.complaint-deactivate-head h4,.complaint-deactivate-summary strong { margin:0; color:#991b1b; }
.complaint-deactivate-head p,.complaint-deactivate-summary p { margin:5px 0 0; color:#64748b; line-height:1.5; }
.complaint-deactivate-form { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:16px; }
.complaint-deactivate-form[hidden] { display:none; }
.complaint-deactivate-form label { display:grid; gap:7px; color:#1e293b; font-size:13px; font-weight:650; }
.complaint-deactivate-form label:first-child { grid-column:1/-1; }
.complaint-deactivate-form select,.complaint-deactivate-form textarea { width:100%; min-width:0; padding:10px 12px; border:1px solid #cbd5e1; border-radius:8px; background:#fff; color:#0f172a; font:inherit; }
.complaint-deactivate-form textarea { min-height:120px; resize:vertical; }
.complaint-deactivate-form small { color:#64748b; font-weight:400; line-height:1.5; }
.complaint-deactivate-form [data-deactivate-feedback],.complaint-deactivate-form button[type=submit] { grid-column:1/-1; }
.complaint-deactivate-form button[type=submit] { justify-self:start; }
.complaint-deactivate-form button[type=submit] { padding:10px 14px; border:1px solid #fecaca; border-radius:8px; background:#dc2626; color:#fff; font-weight:700; cursor:pointer; }
.complaint-deactivate-form button[type=submit]:hover { background:#b91c1c; }
@media(max-width:600px){.complaint-deactivate-head{align-items:stretch;flex-direction:column}.complaint-deactivate-form{grid-template-columns:1fr}.complaint-deactivate-form label:first-child{grid-column:auto}.complaint-deactivate-form [data-deactivate-feedback],.complaint-deactivate-form button[type=submit]{grid-column:auto}.complaint-deactivate-form button[type=submit]{width:100%}}
@media(max-width:800px){.complaint-meta{grid-template-columns:repeat(2,1fr);}.complaint-filter{justify-content:stretch; flex-direction:column; align-items:stretch;}.complaint-filter > div{min-width:0;}}
.evaluation-face { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; font-size:19px; font-weight:700; }
.evaluation-face.yes { background:#d7f6e9; color:#079b6f; }
.evaluation-face.no { background:#ffe0e5; color:#ed334f; }
.evaluation-pending { color:#475569; font-size:11px; }
.evaluation-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin:10px 0 14px; }
.evaluation-grid > div { padding:12px; border:1px solid #dce6f2; border-radius:8px; background:#eff6ff; }
.evaluation-grid small,.evaluation-grid strong { display:block; }
.evaluation-grid small { color:#475569; font-size:11px; margin-bottom:7px; }
.evaluation-grid strong { color:#171044; font-size:13px; }
@media(max-width:700px){.evaluation-grid{grid-template-columns:repeat(2,1fr);}}
.evaluation-mascot { display:block; width:34px; height:34px; object-fit:contain; margin-inline:auto; }
.panel:has(.complaint-filter) .data-table th,
.panel:has(.complaint-filter) .data-table td { text-align:center; vertical-align:middle; }
/* Cabeçalhos mantêm palavras inteiras na atividade recente. */
.ref-activity-table{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#3b82f6 transparent}
.ref-activity-table .ref-table{table-layout:auto;min-width:330px}
.ref-activity-table .ref-table th{overflow-wrap:normal;word-break:normal;white-space:normal}
.ref-activity-table .ref-table th:first-child{min-width:88px}
.ref-seal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.ref-seal-metrics strong{display:block;font-size:25px;margin-top:7px;color:#632bd8}.ref-return{display:block;margin-top:5px;padding:4px 6px;border-radius:6px;background:#eff6ff;color:#3b82f6;font-size:10px}.ref-agent{display:block;font-size:10px;font-weight:400;color:#777596;margin-top:4px}.ref-queue-filter{margin:14px 0}.ref-queue-filter input{display:block;width:100%;box-sizing:border-box;margin-top:7px;padding:10px;border:1px solid #dbeafe;border-radius:8px}@media(max-width:650px){.ref-seal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Filas e atividades com colunas flexíveis, sem largura mínima forçada. */
.ref-summary-column{display:grid;gap:14px;min-width:0;align-content:start}
.ref-bottom-row{grid-template-columns:minmax(0,1.75fr) minmax(0,1.5fr) minmax(0,.75fr)}
.ref-activity-table .ref-table,.ref-attendance-queue .ref-table{table-layout:fixed;min-width:0}
.ref-activity-table .ref-table th:first-child,.ref-attendance-queue .ref-table th:first-child{min-width:0;width:64px;white-space:nowrap}
.ref-activity-table .ref-table th,.ref-activity-table .ref-table td,.ref-attendance-queue .ref-table th,.ref-attendance-queue .ref-table td{padding:9px 5px;white-space:normal;overflow-wrap:anywhere}
.ref-activity-table .ref-table th,.ref-attendance-queue .ref-table th{overflow-wrap:normal;word-break:normal}
.ref-attendance-queue .ref-priority{white-space:nowrap}
.ref-attendance-queue .ref-table th:last-child{width:76px}
.ref-attendance-queue .ref-table th:first-child{width:58px}
@media(max-width:1250px){.ref-bottom-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}}
@media(max-width:1050px){.ref-bottom-row{grid-template-columns:minmax(0,1fr)}}

.ref-operations-column .ref-panel-heading{flex-wrap:wrap;gap:8px}
.ref-operations-column .ref-panel-heading h3{flex:1 0 auto}
.ref-queue-search{display:flex;align-items:center;gap:5px;width:105px;padding:5px 7px;border:1px solid #dce6f2;border-radius:7px;color:#3b82f6;background:#eff6ff}
.ref-queue-search:focus-within{border-color:#93c5fd}
.ref-queue-search svg{flex-shrink:0}
.ref-queue-search input{min-width:0;width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:11px;color:#0b1f3a}

/* Legibilidade padrão do dashboard: dados no tamanho das demais tabelas. */
.ref-table{font-size:13px;line-height:1.45}
.ref-table th{font-size:12px;line-height:1.4}
.ref-table td{padding:11px 7px}
.ref-agent,.ref-return{font-size:12px}
.ref-priority{font-size:12px}
.ref-queue-search{width:130px}
.ref-queue-search input{font-size:13px}
.ref-attendance-queue .ref-table th:last-child{width:98px}
.ref-activity-table .ref-table th:first-child,.ref-attendance-queue .ref-table th:first-child{width:82px}
.ref-activity-table .ref-table th,.ref-activity-table .ref-table td,.ref-attendance-queue .ref-table th,.ref-attendance-queue .ref-table td{padding:11px 7px;overflow-wrap:normal;word-break:normal}
.ref-activity-table .ref-table,.ref-attendance-queue .ref-table{table-layout:auto}
.ref-metric p,.ref-chart-legend,.ref-status li,.ref-status small,.ref-time h3{font-size:12px}

/* Dashboard com textos legíveis e painéis mais largos. */
.ref-bottom-row{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:18px}
.ref-summary-column{grid-column:1/-1;width:100%;max-width:none}
.ref-panel h3{font-size:18px;letter-spacing:0}
.ref-table{font-size:14px}
.ref-table th{font-size:13px}
.ref-table th,.ref-table td{padding:12px 9px}
.ref-summary li,.ref-bar,.ref-origins li,.ref-pageviews p{font-size:14px;line-height:1.5}
.ref-summary b,.ref-origins b{font-size:16px}
.ref-summary li{grid-template-columns:24px 95px minmax(0,1fr)}
.ref-see,.ref-agent,.ref-return,.ref-priority,.ref-no-data,.ref-bar small,.period-caption,.ref-chart-legend,.ref-status li,.ref-status small{font-size:13px}
.ref-metric h3,.ref-time h3{font-size:14px}
.ref-metric p{font-size:13px}
.ref-queue-search input{font-size:14px}
.ref-attendance-queue .ref-table th:last-child{width:108px}
@media(max-width:1050px){.ref-bottom-row{grid-template-columns:minmax(0,1fr)}}

/* Resumo compacto aproveita a coluna de informações. */
.ref-summary-column{grid-column:auto;width:100%;max-width:440px;justify-self:start;gap:18px}
.ref-summary-column .ref-panel-heading{flex-wrap:wrap;gap:8px}
.ref-summary-column .ref-summary{grid-template-columns:minmax(0,1fr)}
.ref-summary-column .ref-summary li{grid-template-columns:24px 76px minmax(0,1fr)}

.ref-operations-column .ref-summary-column{display:grid;grid-template-columns:minmax(140px,.75fr) minmax(290px,1.25fr);max-width:none;width:100%;align-items:start;gap:14px}
.ref-operations-column .ref-summary-column .ref-pageviews{min-height:0}
@media(max-width:1250px){.ref-operations-column .ref-summary-column{grid-template-columns:minmax(0,1fr)}}

.ops-user-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0 0 24px;padding:18px;background:#eff6ff;border:1px solid #dce6f2;border-radius:12px}.ops-user-form h3,.ops-user-form p{grid-column:1/-1}.ops-user-form label{display:grid;gap:7px;font-size:14px}.ops-user-form input,.ops-user-form select,.ops-distribution select{width:100%;padding:10px;border:1px solid #dbeafe;border-radius:8px;background:#fff;font:inherit}.ops-user-form input[type=checkbox]{width:18px;height:18px}.ops-distribution{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ops-distribution select{width:auto;max-width:260px}.workspace,.page-content,.sv-screen,.ref-dashboard{min-width:0}
@media(max-width:650px){.ops-user-form{grid-template-columns:minmax(0,1fr)}.ops-user-form h3,.ops-user-form p{grid-column:1}.sv-header,.sv-header-actions{flex-wrap:wrap}.ref-operations-column .ref-summary-column{grid-template-columns:minmax(0,1fr)}.ref-summary-column .ref-summary li{grid-template-columns:22px 66px minmax(0,1fr)}.sidebar-footer{display:flex}.global-search{max-width:100%}}

.consumers-panel{max-width:1050px;margin:0 auto}.consumer-search{display:flex;align-items:center;gap:10px;border:1px solid #dce1f2;border-radius:9px;padding:10px 14px;margin-bottom:18px}.consumer-search input{border:0;outline:0;width:100%;min-width:0;background:transparent;color:inherit;font:inherit}.consumers-panel small,.consumer-record small{display:block;color:#6b789c;margin-top:5px}.consumer-count{background:#eff6ff;color:#1d4ed8;padding:6px 12px;border-radius:8px;font-weight:700}.consumer-pagination{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:18px;font-size:13px}.consumer-backdrop{position:fixed;inset:0;z-index:100;background:#17133355;display:flex;justify-content:flex-end}.consumer-drawer{width:min(640px,100%);height:100dvh;overflow-y:auto;background:linear-gradient(140deg,#eff6ff,#fff 35%);padding:24px;box-shadow:-10px 0 30px #15103520;box-sizing:border-box}.consumer-drawer h3{margin:0;font-size:22px}.consumer-drawer p{font-size:13px;color:#68759a}.consumer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:22px 0}.consumer-stats>div{padding:14px;background:#fff;border:1px solid #e4e5f7;border-radius:12px}.consumer-stats strong{font-size:24px;color:#3b82f6;display:block}.consumer-stats small{font-size:12px;color:#6b789c}.consumer-companies,.consumer-records{display:grid;gap:8px}.consumer-company,.consumer-record{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border:1px solid #e1e5f1;border-radius:10px;background:#fff;color:#172044;text-align:left;cursor:pointer;font:inherit;font-size:13px}.consumer-company span{font-size:12px;color:#6b789c}.consumer-company:hover,.consumer-record:hover,.consumer-company.selected{background:#eff6ff;border-color:#93c5fd}.consumer-record>span:first-child{min-width:0;overflow-wrap:anywhere}.consumer-drawer h4{margin:24px 0 12px}@media(max-width:600px){.consumer-drawer{padding:16px}.consumer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.consumer-company,.consumer-record{flex-wrap:wrap}}

.consumer-stats>div:nth-child(1) strong{color:#e62a63}.consumer-stats>div:nth-child(2) strong{color:#2856ee}.consumer-stats>div:nth-child(3) strong{color:#059b78}.consumer-stats>div:nth-child(4) strong{color:#cb3262}.consumer-search:focus-within{border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f622}.consumer-drawer .panel-head>div{min-width:0;overflow-wrap:anywhere}

.consumer-registration dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.consumer-registration dt{font-size:12px;color:#657497}.consumer-registration dd{margin:4px 0;overflow-wrap:anywhere}.consumer-history-event{border:1px solid #dfe2ef;border-radius:12px;background:white;padding:14px;margin:12px 0;overflow-wrap:anywhere}.consumer-history-event small{display:block;color:#6b789c;margin-top:5px}.consumer-history-event p{font-size:13px}.consumer-stats{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){.consumer-stats,.consumer-registration dl{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Lista de consumidores conforme referência visual. */
.consumer-punishment-form,.consumer-punishment-active{display:grid;gap:9px;margin:12px 0;padding:12px;border:1px solid #fecaca;border-radius:10px;background:#fff8f8;color:#7f1d1d}.consumer-punishment-form textarea{width:100%;min-height:74px;margin-top:5px;padding:9px;border:1px solid #dce6f2;border-radius:7px;font:inherit;resize:vertical}.consumer-punishment-form small{color:#64748b;line-height:1.4}.consumer-punishment-active{display:block}
.consumers-panel{padding:24px;border:1px solid #dce0f7;border-radius:16px;background:linear-gradient(120deg,#fff,#eff6ff);box-shadow:0 5px 24px #625de008}.consumer-list-heading{display:flex;align-items:center;gap:16px;margin-bottom:28px}.consumer-heading-icon{display:grid;place-items:center;flex:0 0 64px;height:64px;border-radius:50%;background:#eff6ff;color:#3b82f6}.consumer-list-heading h3{font-size:28px;line-height:1.15;margin:0 0 6px;color:#10113f}.consumer-list-heading p{font-size:15px;margin:0;color:#64769b}.consumers-panel .secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#3b82f6;border:1px solid #dbeafe;border-radius:9px;font-weight:600;min-height:40px;padding:8px 14px}.consumer-export{margin-left:auto;flex-shrink:0}.consumer-search-row{display:flex;gap:16px;margin-bottom:24px}.consumer-search{flex:1;margin:0;height:46px;padding:10px 16px;color:#7688ab}.consumer-search input{font-size:15px}.consumer-search input::placeholder{color:#6c7ea2;opacity:1}.consumers-panel .consumer-filter-toggle{width:48px;height:46px;padding:10px;background:#f8f9fd;color:#53668d;border-color:#e0e6f7}.consumer-list-filter{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-size:14px}.consumers-panel .table-wrap{border:1px solid #e6eafa;border-radius:12px}.consumers-panel .data-table{width:100%;font-size:13px}.consumers-panel .data-table th{background:#f8f9fd;color:#53688e;font-size:11px;padding:14px 16px;white-space:nowrap}.consumers-panel .data-table td{padding:14px 16px;border-bottom:1px solid #e9edf8;white-space:nowrap}.consumer-list-identity{display:flex;align-items:center;gap:12px}.consumer-list-identity strong{color:#12143d;font-size:14px}.consumers-panel small{margin-top:4px;font-size:13px;color:#65779b}.consumer-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#e3efff;color:#0875ff;flex-shrink:0}.consumer-count{display:inline-block;min-width:52px;text-align:center;padding:7px 12px;border-radius:9px;font-size:14px}.consumer-count.high{background:#ffe5ec;color:#ea174d}.consumer-count.medium{background:#fff2d8;color:#b77000}.consumer-count.low{background:#e6eeff;color:#2256ee}.consumers-panel .secondary:hover{background:#eff6ff;border-color:#93c5fd}.consumer-pagination{margin-top:24px}.consumers-panel .data-table tr:last-child td{border-bottom:0}
@media(max-width:600px){.consumers-panel{padding:16px}.consumer-list-heading{gap:10px;flex-wrap:wrap;margin-bottom:20px}.consumer-heading-icon{flex-basis:48px;height:48px}.consumer-list-heading h3{font-size:23px}.consumer-list-heading p{font-size:13px}.consumer-export{margin-left:58px}.consumer-search-row{gap:8px}.consumer-search{padding:10px}.consumer-search input{font-size:13px}}

/* Perfil ao lado da lista de consumidores. */
.consumer-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start;max-width:1600px;margin:auto}.consumer-layout.has-profile{grid-template-columns:minmax(0,1fr)}.consumer-layout .consumers-panel{width:100%;min-width:0}.consumer-layout .consumer-drawer{position:fixed;right:0;top:0;z-index:100;width:min(570px,100%);height:100dvh;padding:24px 16px;background:linear-gradient(135deg,#e8eaff,#fafaff 45%,#f5f7ff);border-radius:16px 0 0 16px;box-shadow:-8px 0 26px #26345b26;border:1px solid #e3e7fb;min-width:0}.consumer-profile-heading{display:flex;align-items:center;gap:16px;position:relative;padding:8px 12px 0}.consumer-profile-heading>div{min-width:0;overflow-wrap:anywhere;padding-right:20px}.consumer-profile-heading h3{font-size:20px;margin:0 0 4px}.consumer-profile-heading p{margin:4px 0;font-size:14px;color:#566a93}.consumer-profile-avatar{width:80px;height:80px;border-radius:50%;display:grid;place-items:center;background:#eff6ff;color:#3b82f6;flex-shrink:0;box-shadow:0 6px 20px #7772d51a}.consumer-profile-close{position:absolute;right:0;top:0;border:0;background:transparent;font-size:30px;color:#263654;cursor:pointer;padding:0 6px}.consumer-layout .consumer-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 10px 8px}.consumer-layout .consumer-stats>div{padding:16px 12px;min-height:100px}.consumer-layout .consumer-stats small{line-height:1.5}.consumer-history-summary{margin:8px 10px 16px;font-size:12px!important}.consumer-profile-card{background:#fff;border:1px solid #edf0fc;border-radius:12px;margin-bottom:14px;min-width:0}.consumer-profile-tabs{display:flex;border-bottom:1px solid #e4e8f5;padding:0 12px;overflow-x:auto}.consumer-profile-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;white-space:nowrap;font-size:13px;padding:18px 5px;border:0;border-bottom:3px solid transparent;background:transparent;color:#62749a;cursor:pointer}.consumer-profile-tabs button.selected{color:#3b82f6;border-bottom-color:#3b82f6;font-weight:650}.consumer-tab-content{padding:18px 16px}.consumer-drawer .consumer-profile-card h4{font-size:16px;color:#11163f;margin:0 0 5px}.consumer-profile-card .muted{font-size:12px;margin:0 0 16px;line-height:1.5}.consumer-companies-table{width:100%;border-collapse:collapse;font-size:12px}.consumer-companies-table th{font-size:10px;text-transform:uppercase;background:#f8f9ff;padding:12px 8px;color:#61749b;text-align:left;white-space:nowrap}.consumer-companies-table td{padding:8px;border-bottom:1px solid #edf0f9}.consumer-companies-table td:first-child button{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;color:#131a40;font:inherit;cursor:pointer}.consumer-company-avatar{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;background:#eff6ff;color:#3b82f6;border-radius:8px}.consumer-row-arrow{font-size:25px;color:#3b82f6;border:0;background:transparent;cursor:pointer}.consumer-show-all{display:block;width:100%;margin-top:10px;padding:12px;border:1px solid #e3e7f5;border-radius:8px;background:white;color:#3b82f6;font:inherit;font-size:12px;font-weight:650;cursor:pointer}.consumer-recent{padding:18px 16px}.consumer-profile-card .consumer-records{gap:0;border:1px solid #e5eafa;border-radius:10px}.consumer-profile-card .consumer-record{border:0;border-radius:0;border-bottom:1px solid #edf0fa;gap:10px;padding:12px 8px;font-size:12px;flex-wrap:wrap}.consumer-profile-card .consumer-record:last-child{border-bottom:0}.consumer-record-text{flex:1;min-width:110px}.consumer-profile-card .consumer-record small{font-size:11px}.consumer-profile-card .status{font-size:10px;padding:6px 8px;white-space:normal}.consumer-profile-card .status.evaluated{background:#ddfae9;color:#048340}.consumer-profile-card .status.answered{background:#e2edff;color:#0958c7}.consumer-profile-card .status.pending{background:#ffe7ed;color:#d32556}.consumer-profile-card .status.disabled{background:#ececf3;color:#66677e}.consumer-tab-content .consumer-registration h4{margin-top:18px}
@media(max-width:1200px){.consumer-layout.has-profile{grid-template-columns:minmax(0,1fr)}.consumer-layout .consumer-drawer{position:fixed;right:0;top:0;z-index:100;width:min(570px,100%);height:100dvh;border-radius:16px 0 0 16px;box-shadow:-8px 0 26px #26345b26}}
@media(max-width:600px){.consumer-layout .consumer-drawer{padding:16px 10px;border-radius:0}.consumer-profile-avatar{width:58px;height:58px}.consumer-profile-heading{gap:10px;padding-inline:6px}.consumer-profile-heading h3{font-size:18px}.consumer-layout .consumer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.consumer-profile-tabs{padding:0 5px}.consumer-profile-tabs button{font-size:11px;gap:4px;padding:14px 5px}.consumer-profile-tabs button svg{width:15px}.consumer-tab-content{padding:16px 10px}.consumer-companies-table{min-width:430px}}

.consumer-layout .consumer-stats small{display:block}.consumer-companies-table button:focus-visible,.consumer-profile-tabs button:focus-visible,.consumer-profile-close:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}

.consumer-layout .consumer-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.consumer-layout .consumer-stats>div{padding:14px 9px}.consumer-layout .consumer-stats>div:nth-child(5) strong{color:#65718b}@media(max-width:600px){.consumer-layout .consumer-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

.consumer-layout .consumer-stats>button{min-height:76px;padding:10px 7px;text-align:left;border:1px solid #dfe4ff;border-radius:12px;background:#fff;font:inherit;cursor:pointer;color:#65759d}.consumer-layout .consumer-stats>button strong{display:block;font-size:23px;line-height:1.2;color:#ed2864}.consumer-layout .consumer-stats>button:nth-child(2) strong{color:#2558ff}.consumer-layout .consumer-stats>button:nth-child(3) strong{color:#00a181}.consumer-layout .consumer-stats>button:nth-child(5) strong{color:#65718b}.consumer-layout .consumer-stats>button small{font-size:10px;line-height:1.35;margin-top:3px}.consumer-layout .consumer-stats>button:hover{background:#eff6ff;border-color:#93c5fd}.consumer-layout .consumer-stats>button[aria-pressed=true]{background:#eff6ff;border-color:#3b82f6}.consumer-layout .consumer-stats>button:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}

/* Lista de análises sem largura mínima ou rolagem horizontal. */
.ops-analysis-list .data-table{table-layout:fixed;width:100%;min-width:0;font-size:12px}
.ops-analysis-list .data-table th,.ops-analysis-list .data-table td{white-space:normal;overflow-wrap:anywhere;padding:13px 10px;vertical-align:middle;line-height:1.5}
.ops-analysis-list th:nth-child(1){width:12%}.ops-analysis-list th:nth-child(2){width:10%}.ops-analysis-list th:nth-child(3){width:13%}.ops-analysis-list th:nth-child(4){width:20%}.ops-analysis-list th:nth-child(5){width:10%}.ops-analysis-list th:nth-child(6){width:14%}.ops-analysis-list th:nth-child(7){width:13%}.ops-analysis-list th:nth-child(8){width:8%}
.ops-analysis-list .status{width:auto;max-width:100%;white-space:normal}.ops-analysis-list .secondary{padding:8px;font-size:12px;max-width:100%}
@media(max-width:850px){.ops-analysis-list .data-table,.ops-analysis-list tbody,.ops-analysis-list tr,.ops-analysis-list td{display:block;width:100%}.ops-analysis-list thead{display:none}.ops-analysis-list tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border-bottom:1px solid #e1e5f1;padding:10px}.ops-analysis-list .data-table td{padding:7px;border:0;min-width:0}.ops-analysis-list td::before{content:attr(data-label);display:block;color:#6b789c;font-size:10px;font-weight:700;margin-bottom:4px;text-transform:uppercase}.ops-analysis-list td[data-label='Motivo']{grid-column:1/-1}}

/* Identidade operacional azul; os estados semânticos mantêm suas próprias cores. */
.sidebar{background:#0b1f3a;color:#eaf2ff}
.sidebar-brand,.sidebar-brand b{color:#fff}
.sidebar-brand small,.nav-label,.sidebar-footer{color:#bfdbfe}
.nav-item{color:#dbeafe}.nav-item .nav-icon{color:#93c5fd}
.nav-item:hover,.nav-item.active{background:#1e40af;color:#fff}
.nav-item:hover .nav-icon,.nav-item.active .nav-icon{color:#fff}
.sidebar-footer{border-top-color:#284667}.sidebar-footer .link-button{color:#bfdbfe}
.brand-mark{background:linear-gradient(145deg,#1d4ed8,#3b82f6);box-shadow:0 8px 18px #1d4ed833}
.metric.purple{border-top-color:#1d4ed8}
.status:not(.waiting):not(.done):not(.denied):not(.evaluated):not(.answered):not(.pending):not(.disabled){background:#eff6ff;color:#1e40af}
.secondary:hover,.link-button:hover{background:#eff6ff;color:#1e40af}
.global-search:focus-within,.toolbar input:focus-visible{border-color:#2563eb;outline:2px solid #bfdbfe;outline-offset:2px}
/* O estado deve permanecer legível em uma única linha. */
.ops-analysis-list .status{white-space:nowrap}
.ops-analysis-list .status{width:max-content;max-width:none;font-size:10px;padding-inline:8px}

/* A área Consumidores mantém a moldura fixa; rolam apenas a tabela e o perfil longo. */
.app-shell.consumers-no-page-scroll{height:100dvh;min-height:0;overflow:hidden}
.app-shell.consumers-no-page-scroll .workspace{height:100%;min-height:0;display:flex;flex-direction:column}
.app-shell.consumers-no-page-scroll .page-content{flex:1;min-height:0;overflow:hidden;padding-bottom:24px}
.app-shell.consumers-no-page-scroll .consumer-layout{height:100%;min-height:0;grid-template-rows:minmax(0,1fr)}
.app-shell.consumers-no-page-scroll .consumers-panel{min-height:0;display:flex;flex-direction:column}
.app-shell.consumers-no-page-scroll .consumer-search-row,.app-shell.consumers-no-page-scroll .consumer-list-heading,.app-shell.consumers-no-page-scroll .consumer-list-filter,.app-shell.consumers-no-page-scroll .consumer-pagination{flex:none}
.app-shell.consumers-no-page-scroll .consumers-panel>.table-wrap{flex:1;min-height:0;overflow:auto}
.consumer-layout .consumer-drawer{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#93c5fd #eff6ff}
.consumer-punishment-launch{display:grid;justify-items:start;gap:7px;margin:12px 10px 16px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}
.consumer-punishment-launch small,.consumer-punishment-form>small{color:#64748b;line-height:1.4}
.consumer-punishment-form{display:grid;gap:12px;margin:12px 10px 16px;padding:14px;border:1px solid #fecaca;border-radius:10px;background:#fff8f8;color:#7f1d1d}
.consumer-punishment-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.consumer-punishment-options>strong{grid-column:1/-1}
.consumer-punishment-options label{display:flex;align-items:center;gap:7px;min-width:0;padding:9px;border:1px solid #fecaca;border-radius:8px;background:#fff;cursor:pointer}
.consumer-punishment-options label:has(input:checked){border-color:#ef4444;background:#fff1f2}
.consumer-punishment-options label span,.consumer-punishment-options label small{display:block}
.consumer-punishment-options label small{margin-top:3px;color:#64748b;font-size:10px}
.consumer-punishment-form>label{display:grid;gap:5px}
.consumer-punishment-form textarea{width:100%;min-height:74px;padding:9px;border:1px solid #dce6f2;border-radius:7px;font:inherit;resize:vertical}
.consumer-punishment-feedback{margin:0;color:#b91c1c;font-size:12px}
.consumer-punishment-actions{display:flex;justify-content:flex-end;gap:8px}
.consumer-punishment-active,.company-punishment-active{display:grid;gap:6px;margin:12px 10px 16px;padding:12px;border:1px solid #fecaca;border-radius:10px;background:#fff1f2;color:#7f1d1d;font-size:12px;line-height:1.4}.consumer-punishment-active strong,.company-punishment-active strong{font-size:13px}.consumer-punishment-active button,.company-punishment-active button{justify-self:start;min-height:28px;margin-top:3px;padding:5px 9px;font-size:11px;box-shadow:none}.company-punishment-active{grid-column:1/-1;margin:4px 0 8px}.company-ops-summary>.company-punishment-active{grid-column:1/-1}.company-punishment-active span{overflow-wrap:anywhere}
@media(max-width:650px){.app-shell.consumers-no-page-scroll{height:auto;min-height:100dvh;overflow:visible}.app-shell.consumers-no-page-scroll .workspace{height:auto;min-height:0;display:block}.app-shell.consumers-no-page-scroll .page-content{min-height:0;overflow:visible}.app-shell.consumers-no-page-scroll .consumer-layout{height:auto;min-height:0}.app-shell.consumers-no-page-scroll .consumers-panel{min-height:0}.app-shell.consumers-no-page-scroll .consumers-panel>.table-wrap{flex:none;max-height:60dvh}.consumer-punishment-options{grid-template-columns:1fr}}

/* A tabela de consumidores cabe na largura e se transforma em cartões em telas menores. */
.app-shell.consumers-no-page-scroll .consumers-panel>.table-wrap{width:100%;min-width:0}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table{width:100%;min-width:0;table-layout:fixed}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th,.app-shell.consumers-no-page-scroll .consumers-panel .data-table td{white-space:normal;overflow-wrap:anywhere}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(1){width:35%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(2){width:14%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(3){width:13%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(4){width:10%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(5){width:12%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(6){width:16%}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table td{padding:10px 8px}
.app-shell.consumers-no-page-scroll .consumer-list-identity{min-width:0;gap:8px}
.app-shell.consumers-no-page-scroll .consumer-list-identity>div{min-width:0;overflow-wrap:anywhere}
.app-shell.consumers-no-page-scroll .consumers-panel .data-table td .secondary{max-width:100%;padding:8px;font-size:12px;white-space:normal}
.consumer-punishment-launch{display:flex;align-items:center;justify-items:initial;flex-wrap:wrap;gap:10px}
.consumer-punishment-launch .secondary{flex:none;min-height:36px;padding:7px 12px;font-size:12px;background:#fff;color:#3756b8;border-color:#dbeafe}
.consumer-punishment-launch small{flex:1 1 260px;min-width:0}
/* O formulário de punição permanece compacto dentro do perfil lateral. */
.consumer-punishment-form{gap:9px;margin:10px 10px 14px;padding:10px;border-radius:9px}
.consumer-punishment-heading,.consumer-punishment-submit{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.consumer-punishment-heading{font-size:13px}
.consumer-punishment-heading .link-button{padding:3px 6px;font-size:11px}
.consumer-punishment-options{min-width:0;margin:0;padding:0;border:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.consumer-punishment-options legend{margin-bottom:5px;font-size:11px;font-weight:700}
.consumer-punishment-options label{gap:5px;padding:6px;border-radius:7px;font-size:11px}
.consumer-punishment-options label input{margin:0;flex:none}
.consumer-punishment-options label span{min-width:0}
.consumer-punishment-options label small{margin-top:1px;font-size:9px;line-height:1.2}
.consumer-punishment-reason{display:grid;gap:4px;font-size:11px;font-weight:700}
.consumer-punishment-form textarea{min-height:54px;max-height:100px;padding:7px;font-size:12px;resize:vertical}
.consumer-punishment-permanent{margin:0;padding:7px 8px;border-radius:7px;background:#fff1f2;font-size:11px;line-height:1.35}
.consumer-punishment-submit{justify-content:flex-end;flex-wrap:wrap}
.consumer-punishment-submit .primary{min-height:32px;padding:6px 10px;font-size:11px}
.consumer-punishment-feedback{flex:1 1 150px;font-size:11px}
.company-punishment-form{margin:14px 0 0;background:#fffaf2;border-color:#fed7aa;color:#7c2d12}
.company-punishment-form .consumer-punishment-options label{border-color:#fed7aa}
.company-punishment-form .consumer-punishment-options label:has(input:checked){border-color:#f97316;background:#fff7ed}
.company-punishment-form .consumer-punishment-submit small{flex:1 1 240px;color:#64748b;line-height:1.35}
.consumer-punishment-heading [data-consumer-punish-cancel],.consumer-punishment-heading [data-company-punish-cancel],.consumer-punishment-heading [data-company-consumer-punish-cancel]{min-height:24px;padding:3px 7px;border:1px solid transparent;border-radius:6px;background:#f1f5f9;color:#2457d6;font-size:10px;line-height:1.2;box-shadow:none!important;transform:none!important;transition:background-color .15s,color .15s,border-color .15s}
.consumer-punishment-heading [data-consumer-punish-cancel]:hover,.consumer-punishment-heading [data-company-punish-cancel]:hover,.consumer-punishment-heading [data-company-consumer-punish-cancel]:hover{background:#e7eef9;color:#1743b5;box-shadow:none!important;transform:none!important}
.consumer-punishment-heading [data-consumer-punish-cancel]:focus-visible,.consumer-punishment-heading [data-company-punish-cancel]:focus-visible,.consumer-punishment-heading [data-company-consumer-punish-cancel]:focus-visible{outline:2px solid #3b82f6;outline-offset:2px}
.company-consumer-punishment-form [data-company-consumer-punish-cancel]{border-color:transparent;background:transparent;box-shadow:none!important;transition:color .15s ease,background-color .15s ease}.company-consumer-punishment-form [data-company-consumer-punish-cancel]:hover{border-color:transparent;background:#fff1f2;color:#be123c;box-shadow:none!important;transform:none!important}
.consumer-punishment-options label{display:grid;grid-template-columns:15px minmax(0,1fr);align-items:start;min-height:82px;padding:7px}
.consumer-punishment-options label span{display:grid;gap:2px}
.consumer-punishment-options label b{font-size:13px;line-height:1.2}
.consumer-punishment-options label em{display:block;margin-top:2px;color:#64748b;font-size:9px;font-style:normal;font-weight:400;line-height:1.25}
.consumer-punishment-options label:nth-of-type(1) b{color:#dc2626}
.consumer-punishment-options label:nth-of-type(2) b{color:#2563eb}
.consumer-punishment-options label:nth-of-type(3) b{color:#7c3aed}
.company-ops-details{margin-top:16px;padding:14px;border:1px solid #dbeafe;border-radius:12px;background:#f8fbff}
.company-ops-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.company-ops-details-head h3{margin:0 0 4px;color:#12264a}
.company-ops-details-head p{margin:0;color:#64748b;font-size:12px}
.company-ops-summary{display:grid;grid-template-columns:auto 1fr;gap:5px 12px;margin:12px 0;padding:10px;border-radius:9px;background:#fff}
.company-ops-summary>span{color:#64748b;font-size:12px}
.company-ops-summary>strong{font-size:13px}
.company-ops-summary .is-suspended{color:#b91c1c}
.company-ops-summary .is-review{color:#a16207}
.company-ops-summary small{grid-column:1/-1;color:#64748b;line-height:1.4}
.company-status-form{display:flex;align-items:flex-end;gap:8px;margin:10px 0}
.company-status-form label{display:grid;gap:4px;flex:1 1 220px;color:#334155;font-size:11px;font-weight:700}
.company-status-form select{min-height:34px;padding:6px 9px;border:1px solid #cbd5e1;border-radius:7px;background:white;color:#0f172a;font:inherit}
.company-status-form p{flex:1 1 140px;margin:0;color:#64748b;font-size:11px}
.company-punishment-open{margin-top:4px}
@media(max-width:600px){.consumer-punishment-options{grid-template-columns:minmax(0,1fr)}.consumer-punishment-options label{min-height:0}.consumer-punishment-options label small{font-size:10px}}
@media(max-width:600px){.company-ops-details-head{flex-direction:column}.company-status-form{align-items:stretch;flex-wrap:wrap}.company-status-form label,.company-status-form button{width:100%}}
@media(max-width:420px){.consumer-punishment-options label{padding:5px 3px;font-size:10px}.consumer-punishment-options label small{font-size:8px}}
@media(max-width:1200px){.app-shell.consumers-no-page-scroll .consumers-panel>.table-wrap{overflow-y:auto}.app-shell.consumers-no-page-scroll .consumers-panel .data-table,.app-shell.consumers-no-page-scroll .consumers-panel .data-table tbody{display:block;width:100%;min-width:0}.app-shell.consumers-no-page-scroll .consumers-panel .data-table thead{display:none}.app-shell.consumers-no-page-scroll .consumers-panel .data-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;padding:12px;border:1px solid #e9edf8;border-radius:10px;margin-bottom:8px;background:#fff}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:5px 2px;border:0;text-align:right;white-space:normal;overflow-wrap:anywhere}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td::before{content:attr(data-label);flex:0 1 auto;color:#64748b;font-size:10px;font-weight:700;text-align:left}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Consumidor"],.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Ações"]{grid-column:1/-1}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Consumidor"]{justify-content:flex-start;text-align:left}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Consumidor"]::before,.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Ações"]::before{min-width:110px}.app-shell.consumers-no-page-scroll .consumers-panel .data-table td[data-label="Ações"]{justify-content:flex-end}.app-shell.consumers-no-page-scroll .consumer-list-identity,.app-shell.consumers-no-page-scroll .consumer-list-identity>div{min-width:0}.app-shell.consumers-no-page-scroll .consumer-list-identity strong{white-space:normal;overflow-wrap:anywhere}}

/* A tabela de consumidores usa toda a largura disponível sem criar rolagem horizontal. */
@media(min-width:1201px){
  .app-shell.consumers-no-page-scroll .consumers-panel .data-table{width:100%;min-width:0;table-layout:fixed}
  .app-shell.consumers-no-page-scroll .consumers-panel .data-table th,.app-shell.consumers-no-page-scroll .consumers-panel .data-table td{white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
  .app-shell.consumers-no-page-scroll .consumers-panel .data-table th:nth-child(n+2),.app-shell.consumers-no-page-scroll .consumers-panel .data-table td:nth-child(n+2){text-align:center}
  .app-shell.consumers-no-page-scroll .consumer-list-identity{min-width:0}
  .app-shell.consumers-no-page-scroll .consumer-list-identity>div{min-width:0}
  .app-shell.consumers-no-page-scroll .consumer-list-identity strong:not(.consumer-name-long){white-space:nowrap}
  .app-shell.consumers-no-page-scroll .consumer-list-identity strong.consumer-name-long{white-space:normal;overflow-wrap:anywhere}
  .app-shell.consumers-no-page-scroll .consumer-list-identity small{white-space:normal;overflow-wrap:anywhere}
}
.consumer-profile-tabs{flex-wrap:wrap;overflow-x:visible}
.consumer-profile-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere}
.consumer-tab-content .table-wrap{width:100%;min-width:0}
.consumer-companies-table{width:100%;min-width:0;table-layout:fixed}
.consumer-companies-table th,.consumer-companies-table td{white-space:normal;overflow-wrap:anywhere}
.consumer-companies-table th:nth-child(1){width:42%}.consumer-companies-table th:nth-child(2){width:13%}.consumer-companies-table th:nth-child(3){width:16%}.consumer-companies-table th:nth-child(4){width:19%}.consumer-companies-table th:nth-child(5){width:10%}
.consumer-companies-table td:first-child button{width:100%;min-width:0;overflow-wrap:anywhere}
.consumer-companies-table td:first-child button strong{min-width:0;overflow-wrap:anywhere}
/* Centraliza títulos e conteúdo das tabelas de consumidores e empresas no perfil. */
.app-shell.consumers-no-page-scroll .consumers-panel .data-table th{ text-align:center; overflow-wrap:normal; word-break:normal; hyphens:none }
.consumer-companies-table th,.consumer-companies-table td{ text-align:center; vertical-align:middle; overflow-wrap:normal; word-break:normal; hyphens:none }
.consumer-companies-table td:first-child button{ justify-content:center; text-align:center }

/* Lista de empresas compacta e detalhes no mesmo drawer lateral dos consumidores. */
.company-list-table-wrap{margin-top:4px}
.company-list-table th,.company-list-table td{padding:8px 12px;line-height:1.25}
.company-pagination{margin-top:12px}
.company-ops-details{position:fixed;inset:0 0 0 auto;z-index:110;width:min(570px,100vw);height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;margin:0;padding:20px 16px;border:1px solid #e3e7fb;border-radius:16px 0 0 16px;background:linear-gradient(135deg,#e8eaff,#fafaff 45%,#f5f7ff);box-shadow:-8px 0 26px #26345b26;scrollbar-width:thin;scrollbar-color:#93c5fd #eff6ff}
.company-ops-details:focus{outline:none}
.company-ops-details-head{position:relative;padding-right:44px}
.company-ops-details-head .consumer-profile-close{right:0;top:-5px;transition:color .16s ease,background-color .16s ease}.company-ops-details-head .consumer-profile-close:hover{color:#64748b;background-color:#e9eefb;border-radius:6px}.company-ops-details-head .consumer-profile-close:focus-visible{outline:2px solid #93c5fd;outline-offset:2px}
.company-consumers-card{margin-top:14px;padding:12px;border:1px solid #dbeafe;border-radius:10px;background:#fff}.company-consumers-card header{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.company-consumers-card h4{margin:0 0 4px;color:#12264a}.company-consumers-card header p,.company-consumers-card>.muted{margin:0;color:#64748b;font-size:11px;line-height:1.4}.company-consumer-ranking{display:grid;gap:8px;margin:10px 0 0;padding:0;list-style:none}.company-consumer-ranking>li{display:grid;grid-template-columns:minmax(0,1fr) minmax(110px,.35fr) auto;gap:8px;align-items:center;padding:9px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc}.company-consumer-identity{display:flex;align-items:center;gap:8px;min-width:0}.company-consumer-identity>div{display:grid;gap:2px;min-width:0}.company-consumer-identity strong,.company-consumer-identity small{overflow-wrap:anywhere}.company-consumer-identity strong{color:#12264a;font-size:12px}.company-consumer-identity small{color:#64748b;font-size:10px}.company-consumer-rank{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#dbeafe;color:#1d4ed8;font-size:11px;font-weight:700}.company-consumer-count{justify-self:start;color:#1e40af;font-size:11px;font-weight:700;white-space:nowrap}.company-consumer-punish-open{min-height:28px;padding:5px 8px;font-size:10px;box-shadow:none}.company-consumer-punishment-form{grid-column:1/-1;width:100%;margin:5px 0 0;padding:9px}.company-consumer-punishment-form .consumer-punishment-options label{min-height:66px}.company-consumer-punishment-form .consumer-punishment-options label em{font-size:9px}.company-consumer-punishment-form .consumer-punishment-submit{align-items:center}.company-consumer-punishment-form .consumer-punishment-submit small{flex:1 1 180px;color:#64748b;line-height:1.35}.company-consumers-card .form-message{margin:6px 0;font-size:11px}
@media(max-width:600px){.company-list-table th,.company-list-table td{padding:7px 8px}.company-ops-details{width:100vw;padding:16px 10px;border-radius:0}.company-ops-details-head{flex-direction:row;align-items:flex-start}.company-ops-details-head h3{padding-right:4px}.company-consumer-ranking>li{grid-template-columns:minmax(0,1fr) minmax(110px,.35fr) auto}.company-consumer-count{grid-column:2;grid-row:1;justify-self:start;text-align:left}.company-consumer-punish-open{grid-column:3;grid-row:1;justify-self:end}.company-consumer-punishment-form{grid-column:1/-1}.company-consumer-punishment-form .consumer-punishment-options{grid-template-columns:repeat(3,minmax(0,1fr))}.company-consumer-punishment-form .consumer-punishment-options label{padding:6px 4px}.company-consumer-punishment-form .consumer-punishment-options label em{display:none}}
@media(max-width:380px){.company-consumer-ranking>li{grid-template-columns:minmax(0,1fr) auto}.company-consumer-count{grid-column:2;grid-row:1;justify-self:start;text-align:left}.company-consumer-punish-open{grid-column:1/-1;grid-row:2;justify-self:start}}
.company-ops-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 8px}.company-ops-stat-grid article{min-width:0;padding:9px 8px;border:1px solid #dfe4ff;border-radius:10px;background:#fff}.company-ops-stat-grid article strong{display:block;color:#ed2864;font-size:21px;line-height:1.15}.company-ops-stat-grid article:nth-child(2) strong{color:#2558ff}.company-ops-stat-grid article:nth-child(3) strong{color:#00a181}.company-ops-stat-grid article:nth-child(5) strong{color:#65718b}.company-ops-stat-grid article small{display:block;margin-top:3px;color:#65759d;font-size:10px;line-height:1.3}.company-history-summary{margin:4px 0 10px!important;font-size:11px!important;color:#65759d!important}.company-punishment-launch{margin:10px 0 14px;padding:10px}.company-punishment-launch .company-punishment-open{margin:0;flex:none;min-height:32px;padding:6px 10px;font-size:11px}
@media(max-width:600px){.company-ops-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.company-ops-stat-grid article{padding:8px}.company-ops-stat-grid article:last-child{grid-column:1/-1}}
.company-status-form{align-items:flex-end;gap:8px;margin:4px 0 10px}.company-status-form label{flex:0 0 132px;gap:4px;font-size:12px;line-height:1.25}.company-status-form select{width:100%;min-height:30px;padding:4px 8px;font-size:12px}.company-status-form>button{min-height:30px;width:auto;padding:4px 8px;font-size:11px;box-shadow:none}.company-status-form>p{flex:1 1 100px;font-size:10px}.company-status-form>p:empty{display:none}.company-status-form>p.is-success{color:#047857;font-weight:650}
@media(max-width:600px){.company-status-form{display:grid;grid-template-columns:132px auto;align-items:end}.company-status-form label{width:132px;min-width:0}.company-status-form>button{width:auto}.company-status-form>p{grid-column:1/-1}}
.company-list-table th,.company-list-table td{text-align:center;vertical-align:middle}
.punishment-action-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:7px 11px;border:1px solid #fb923c!important;border-radius:8px;background:#fff!important;color:#dc2626!important;font-size:11px;font-weight:750;box-shadow:none!important;transform:none!important;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.punishment-action-button:hover{border-color:#f97316!important;background:#fff7ed!important;color:#b91c1c!important;box-shadow:none!important;transform:none!important}.punishment-gavel-icon{width:15px;height:15px;flex:0 0 15px}.company-consumers-card .punishment-action-button{justify-self:end}.consumer-punishment-launch .punishment-action-button{flex:none;min-height:36px;padding:7px 12px;font-size:12px;background:#fff!important}

.company-status-label{display:inline-flex;align-items:center;gap:6px}.company-status-dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:#22c55e}.company-status-dot.is-analysis{background:#eab308}.punishment-action-button,.company-consumer-punish-open{cursor:pointer!important}.punishment-gavel-icon{display:block}

.company-status-label{display:block;margin:0 0 4px}.company-status-select-wrap{position:relative;display:block;width:100%}.company-status-select-wrap select[name=status]{width:100%;padding-left:26px!important}.company-status-select-wrap .company-status-dot{position:absolute;z-index:1;left:9px;top:50%;transform:translateY(-50%);pointer-events:none}.punishment-gavel-icon{width:17px;height:17px;flex:0 0 17px}

.company-status-form{display:flex;align-items:flex-end;gap:8px}.company-status-save-group{display:flex;align-items:center;align-self:flex-end;gap:8px;flex:1 1 auto;min-width:0}.company-status-save-group>button{flex:none;align-self:center;min-height:30px;padding:4px 8px;font-size:12px;line-height:1.2;box-shadow:none}.company-status-save-group>p{display:flex;align-items:center;align-self:center;flex:1 1 auto;min-width:0;min-height:30px;margin:0;line-height:1.25}.company-status-save-group>p.is-success{color:#047857;font-weight:650}.company-status-save-group>p:empty{display:none}@media(max-width:600px){.company-status-form{display:grid;grid-template-columns:132px auto;align-items:end}.company-status-form>label{width:132px;min-width:0}.company-status-save-group{width:auto;flex-wrap:nowrap}.company-status-form>button{width:auto}.company-status-save-group>p{grid-column:auto}}
/* Dashboard proporcional em zoom de navegador 100%, sem escala artificial. */
@media(min-width:651px){
.app-shell .sidebar{width:190px;padding:18px 12px 8px}.app-shell .sidebar-brand{padding:4px 10px 22px}.app-shell .sidebar-brand img{width:150px;max-width:100%;height:auto}.app-shell .nav-item{min-height:36px;padding:8px 12px;gap:12px;font-size:12px;border-radius:7px}.app-shell .nav-icon{width:19px;flex-basis:19px}.app-shell .nav-icon svg{width:19px;height:19px}.app-shell .sidebar-footer{font-size:10px;padding:10px 3px}.app-shell .sidebar-footer #logoutButton{min-height:32px;padding:7px 10px;font-size:11px}.app-shell .workspace{width:calc(100% - 190px);margin-left:190px}.app-shell.employees-full-page .workspace{width:100%;margin-left:0}
}
.app-shell.dashboard-compact .topbar{padding:16px 20px 0 24px;gap:18px}.app-shell.dashboard-compact .topbar>div:first-child{min-width:180px}.app-shell.dashboard-compact .eyebrow{font-size:10px}.app-shell.dashboard-compact .topbar h2{font-size:22px;margin:4px 0}.dashboard-compact .topbar-subtitle{font-size:11px}.app-shell.dashboard-compact .global-search{min-width:0;width:40%;padding:9px 12px;border-radius:7px}.dashboard-compact .global-search input{font-size:11px}.dashboard-compact .global-search-icon{width:16px;height:16px;flex-basis:16px}.dashboard-compact .profile-summary{min-width:145px;gap:9px}.dashboard-compact .profile-avatar{width:32px;height:32px;font-size:13px}.dashboard-compact .profile-summary b,.dashboard-compact .profile-summary small{font-size:10px}.app-shell.dashboard-compact .page-content{padding:0 20px 28px}.dashboard-compact .reference-dashboard{gap:14px}.dashboard-compact .ref-period{min-height:46px;gap:12px}.dashboard-compact .ref-filter-field{gap:5px}.dashboard-compact .ref-filter-field>label,.dashboard-compact .ref-filter-field>span{font-size:10px}.dashboard-compact .ref-period select{font-size:11px}.dashboard-compact .ref-panel{padding:12px;border-radius:8px}.dashboard-compact .ref-panel h3{font-size:14px;letter-spacing:0}.dashboard-compact .ref-panel-heading{min-height:24px;margin-bottom:9px}.dashboard-compact .ref-metric{min-height:78px;padding:10px 8px;gap:8px}.dashboard-compact .ref-metric-icon{width:34px;height:34px;flex-basis:34px}.dashboard-compact .ref-metric-icon svg{width:23px;height:23px}.dashboard-compact .ref-metric h3{font-size:11px;margin-bottom:5px}.dashboard-compact .ref-metric strong{font-size:23px}.dashboard-compact .ref-metric p{font-size:10px;margin-top:5px}.dashboard-compact .ref-seal-metrics .ref-panel{padding:10px 12px}.dashboard-compact .ref-seal-metrics small{font-size:10px}.dashboard-compact .ref-seal-metrics strong{font-size:20px}.dashboard-compact .ref-chart-row>.ref-panel{min-height:200px}.dashboard-compact .ref-chart{height:150px}.dashboard-compact .ref-status{min-height:150px;gap:18px}.dashboard-compact .ref-donut{width:125px;height:125px;flex-basis:125px}.dashboard-compact .ref-donut>div{width:74px;height:74px}.dashboard-compact .ref-donut strong{font-size:21px}.dashboard-compact .ref-donut span{font-size:12px}.dashboard-compact .ref-status li{font-size:11px;margin:8px 0;grid-template-columns:12px minmax(75px,1fr) 22px 30px;gap:6px}.dashboard-compact .ref-status small,.dashboard-compact .ref-chart-legend{font-size:10px}.dashboard-compact .ref-chart-legend{gap:12px}.dashboard-compact .ref-table{font-size:12px;line-height:1.4}.dashboard-compact .ref-table th{font-size:10px}.dashboard-compact .ref-table th,.dashboard-compact .ref-table td{padding:9px 7px}.dashboard-compact .ref-operations-column .ref-panel{min-height:180px}.dashboard-compact .ref-no-data{padding:28px 10px!important;font-size:11px}.dashboard-compact .ref-see,.dashboard-compact .ref-agent,.dashboard-compact .ref-return,.dashboard-compact .ref-priority,.dashboard-compact .period-caption{font-size:11px}.dashboard-compact .ref-summary li,.dashboard-compact .ref-bar,.dashboard-compact .ref-origins li,.dashboard-compact .ref-pageviews p{font-size:12px}.dashboard-compact .ref-summary b,.dashboard-compact .ref-origins b{font-size:13px}.dashboard-compact .ref-summary{gap:8px}.dashboard-compact .ref-pageviews strong{font-size:26px;margin-top:10px}.dashboard-compact .ref-time h3{font-size:12px}.dashboard-compact .ref-time>strong{font-size:21px}.dashboard-compact .ref-queue-search{width:110px}.dashboard-compact .ref-queue-search input{font-size:12px}
@media(max-width:1100px){.dashboard-compact .topbar{flex-wrap:wrap}.app-shell.dashboard-compact .global-search{flex:1;min-width:220px}.dashboard-compact .ref-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-compact .ref-chart-row{grid-template-columns:minmax(0,1fr)}.dashboard-compact .ref-bottom-row{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.app-shell.dashboard-compact .topbar{padding:16px 12px 8px}.app-shell.dashboard-compact .page-content{padding:0 12px 24px}.app-shell.dashboard-compact .global-search{width:100%;flex-basis:100%;min-width:0}.dashboard-compact .ref-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-compact .ref-status{gap:12px}.dashboard-compact .ref-donut{width:105px;height:105px;flex-basis:105px}.dashboard-compact .ref-donut>div{width:62px;height:62px}.dashboard-compact .ref-chart-legend{flex-wrap:wrap}.dashboard-compact .ref-period{flex-wrap:wrap}.dashboard-compact .ref-table{min-width:480px}.dashboard-compact .ref-table-scroll{max-width:100%;overflow:auto}}
.dashboard-compact .period-picker summary{min-width:200px;min-height:34px;padding:7px 10px;font-size:11px;border-radius:7px;gap:8px}.dashboard-compact .company-picker summary{width:165px;min-width:165px}.dashboard-compact .period-picker summary svg{width:16px;height:16px}.dashboard-compact .audience-summary{padding:16px 18px;border-radius:10px;gap:14px}.dashboard-compact .audience-summary h3{font-size:13px;margin:0 0 6px}.dashboard-compact .audience-summary p{font-size:11px}.dashboard-compact .audience-summary button{padding:9px 12px;font-size:12px;border-radius:7px}.dashboard-compact .reference-dashboard>.ref-metrics,.dashboard-compact .reference-dashboard>.ref-seal-metrics,.dashboard-compact .reference-dashboard>.ref-chart-row{margin-top:0;margin-bottom:0}
@media(max-width:650px){.dashboard-compact .audience-summary{flex-wrap:wrap}.dashboard-compact .period-picker summary{max-width:100%}}
/* Cabeçalho do dashboard organizado em duas faixas alinhadas. */
.app-shell.dashboard-compact .topbar{display:grid;grid-template-columns:minmax(230px,1fr) minmax(280px,440px) auto;align-items:center;gap:20px;padding:20px 20px 16px}.app-shell.dashboard-compact .topbar>div:first-child{min-width:0}.app-shell.dashboard-compact .global-search{width:100%;margin:0;min-width:0;min-height:38px}.dashboard-compact .profile-summary{min-width:0;max-width:180px}.dashboard-compact .topbar h2{margin:4px 0 6px}.dashboard-compact .ref-period{justify-content:flex-start;align-items:center;min-height:0;padding:12px 16px;gap:16px;background:#ffffffb8;border:1px solid #e4e9f6;border-radius:9px}.dashboard-compact .ref-filter-field{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px}.dashboard-compact .ref-filter-field>span,.dashboard-compact .ref-filter-field>label{font-size:11px;text-align:left;white-space:nowrap}.dashboard-compact .period-picker summary{min-height:36px}.dashboard-compact .company-picker summary{width:190px;min-width:0}.dashboard-compact .ref-filter-field:last-child{margin-left:auto}
@media(max-width:1100px){.app-shell.dashboard-compact .topbar{grid-template-columns:minmax(0,1fr) auto;gap:14px}.app-shell.dashboard-compact .global-search{grid-row:2;grid-column:1/-1;min-width:0}.dashboard-compact .profile-summary{grid-column:2;grid-row:1}}
@media(max-width:650px){.app-shell.dashboard-compact .topbar{padding:16px 12px}.dashboard-compact .ref-period{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.dashboard-compact .ref-filter-field{grid-template-columns:60px minmax(0,1fr);width:100%}.dashboard-compact .ref-filter-field:last-child{margin-left:0}.dashboard-compact .period-picker{min-width:0}.dashboard-compact .period-picker summary,.dashboard-compact .company-picker summary{width:100%;min-width:0}.dashboard-compact .profile-summary{max-width:135px}.dashboard-compact .profile-summary b{max-width:90px}}

/* Protocolo: hover apenas na cor do texto, sem fundo ou sombra. */
.data-table .link-button[data-complaint],.ref-table button[data-complaint]{background:transparent!important;box-shadow:none!important;filter:none!important;transform:none!important;transition:color .15s ease}
.data-table .link-button[data-complaint]:hover,.ref-table button[data-complaint]:hover{background:transparent!important;box-shadow:none!important;color:#173b9c!important}
.data-table .link-button[data-complaint]:focus-visible,.ref-table button[data-complaint]:focus-visible{outline:1px solid #93b4f5;outline-offset:3px}

/* Filtros e paginação operacional */
.ops-status-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ops-status-filter select{max-width:100%;padding:10px;border:1px solid #dce6f2;border-radius:8px;background:#fff;color:#172044}.ops-queue-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px}.ops-queue-pagination div{display:flex;gap:8px}.ops-queue-pagination button:disabled{opacity:.5;cursor:default}@media(max-width:600px){.ops-status-filter{width:100%}.ops-status-filter select{flex:1;min-width:0}.ops-queue-pagination{align-items:flex-start;flex-direction:column}}

/* Agrupamentos reutilizam o componente visual de navegação existente. */
.app-shell .nexus-group-toggle{justify-content:space-between}
.app-shell .nav-group[hidden]{display:none}

.nexus-group-name{flex:1;text-align:left;min-width:0}.nexus-pending:disabled{cursor:default;opacity:.65}.nexus-pending small{display:block;font-size:10px;color:inherit}

/* Cursor institucional preto em todas as áreas do Nexus. */
html,body,body *{cursor:url('/imagens/cursor-seta-neon.png?v=20261012-branco-11') 4 4,auto!important}
body :is(a[href],[role="link"],button:not(:disabled),[role="button"]:not([aria-disabled="true"]),summary,select:not(:disabled),label[for],input[type="button"]:not(:disabled),input[type="submit"]:not(:disabled),input[type="reset"]:not(:disabled),input[type="checkbox"]:not(:disabled),input[type="radio"]:not(:disabled)){cursor:url('/imagens/cursor-seta-neon.png?v=20261012-branco-11') 4 4,default!important}
body :is(input[type="text"],input[type="password"],input[type="email"],input[type="search"],input[type="tel"],input[type="url"],input[type="number"],input:not([type]),textarea,[contenteditable="true"]){cursor:text!important}
body :is(input,textarea,[contenteditable="true"]){cursor:text}
.company-admin-toolbar{display:grid;grid-template-columns:minmax(220px,280px) minmax(170px,220px) minmax(170px,220px);justify-content:start;align-items:end;gap:12px;margin:12px 0 18px}
.company-admin-toolbar>label{display:grid;gap:5px;color:#d7e8ff;font-size:12px;font-weight:600}
.company-admin-toolbar>label{text-align:center}
.company-admin-toolbar select{width:100%;min-height:42px;padding:9px 12px;border:1px solid #2c557f;border-radius:8px;background:#092a49;color:#fff;color-scheme:dark;font:inherit;text-align:left;transition:background-color .15s ease,border-color .15s ease}
.company-admin-toolbar select:hover{background:#0b3866;border-color:#3a72ad}
.company-admin-toolbar select:focus-visible{outline:2px solid #51c9ff;outline-offset:2px}
@media(max-width:760px){.company-admin-toolbar{grid-template-columns:1fr 1fr}.company-admin-toolbar>input{grid-column:1/-1}}
@media(max-width:480px){.company-admin-toolbar{grid-template-columns:1fr}.company-admin-toolbar>input{grid-column:auto}}

/* Cadastros e detalhes empresariais usam o tema azul sem cartões brancos. */
.app-shell .company-list-table-wrap,.app-shell .company-ops-details{color:#f8fbff!important;background:linear-gradient(145deg,#082746,#061b33 65%,#082746)!important;border-color:#16456f!important}
.app-shell .company-list-table-wrap{box-shadow:0 8px 24px #00112755!important}
.app-shell .company-list-table th,.app-shell .company-list-table td{color:#f8fbff!important;border-color:#16456f!important}
.app-shell .company-list-table th{background:#0c3153!important;color:#fff!important}
.app-shell .company-list-table tbody tr{background:#082746!important}
.app-shell .company-list-table tbody tr:nth-child(even){background:#0a2b4b!important}
.app-shell .company-list-table tbody tr:hover{background:#10395f!important}
.app-shell .company-ops-details :is(h2,h3,h4,strong,label,b,small,p,span){color:#f8fbff}
.app-shell .company-ops-details .company-history-summary,.app-shell .company-ops-details .company-consumers-card header p,.app-shell .company-ops-details .company-consumer-identity small,.app-shell .company-ops-details .company-ops-stat-grid article small,.app-shell .company-ops-details .company-consumer-punishment-form .consumer-punishment-submit small{color:#bfd3e9!important}
.app-shell .company-ops-details .company-ops-stat-grid article,.app-shell .company-ops-details .company-consumers-card,.app-shell .company-ops-details .company-consumer-ranking>li,.app-shell .company-ops-details .company-punishment-launch,.app-shell .company-ops-details .consumer-punishment-form{background:#0a2b4b!important;border-color:#1a4b75!important;color:#f8fbff!important}
.app-shell .consumer-punishment-launch{background:#0a2b4b!important;border-color:#1a4b75!important;color:#f8fbff!important}
.app-shell .consumer-punishment-launch small{color:#bfd3e9!important}
.app-shell .company-ops-details .company-consumer-identity strong,.app-shell .company-ops-details .company-ops-stat-grid article strong,.app-shell .company-ops-details .company-consumer-count{color:#fff!important}
.app-shell .company-ops-details :is(select,input,textarea){background:#0b2a48!important;color:#fff!important;border-color:#28618d!important;color-scheme:dark}
.app-shell .company-ops-details select option{background:#082746;color:#fff}
.app-shell .company-ops-details .company-consumer-rank{background:#174a78!important;color:#fff!important}
.app-shell .company-ops-details .punishment-action-button{background:#331d36!important;color:#ffc3d0!important;border-color:#81405c!important}
.app-shell .company-ops-details .punishment-action-button:hover{background:#49243a!important;color:#ffe5eb!important;border-color:#b44b68!important}
.app-shell .company-ops-details .company-status-form>p.is-success{color:#a7f3d0!important}
.company-mei-badge{display:inline-flex;align-items:center;vertical-align:middle;margin-left:7px;padding:3px 8px;border:1px solid #37d6c0;border-radius:999px;background:#063d4b;color:#a9fff0;font-size:10px;font-weight:800;letter-spacing:.04em}
.app-shell .company-list-table-wrap .status.waiting{background:#61440d!important;color:#ffe6a6!important}
.app-shell .company-list-table-wrap .status.done{background:#07564a!important;color:#bbf7df!important}

.nexus-plans-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.nexus-plan{min-width:0;overflow-wrap:anywhere}.nexus-plan ul{padding-left:20px}.nexus-plan li{margin-bottom:7px}

.nexus-plans-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:18px}.nexus-plan{border:2px solid var(--plan-color);border-radius:18px;background:#fff;overflow:hidden}.nexus-plan summary{display:flex;align-items:center;gap:16px;min-height:114px;padding:20px;cursor:pointer;list-style:none}.nexus-plan summary::-webkit-details-marker{display:none}.nexus-plan-icon{width:56px;height:56px;border-radius:15px;background:var(--plan-color);color:#18354b;display:grid;place-items:center;flex:none}.nexus-plan-icon svg{width:32px;height:32px}.nexus-plan-title{min-width:0;flex:1}.nexus-plan-title strong{display:block;font-size:19px;line-height:1.25}.nexus-plan-title small{display:block;margin-top:8px;font-size:13px;color:#475569}.nexus-plan-arrow{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;color:var(--plan-color);background:color-mix(in srgb,var(--plan-color) 14%,white);flex:none}.nexus-plan-details{padding:0 20px 20px;border-top:1px solid #e2e8f0}.nexus-plan summary:focus-visible{outline:3px solid #1d4ed8;outline-offset:-5px}.nexus-plan summary:hover{background:#f8fafc}@media(max-width:1100px){.nexus-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.nexus-plans-grid{grid-template-columns:minmax(0,1fr)}}

.nexus-plan{--plan-color:#64748b}.nexus-plan-free{--plan-color:#7b89ac}.nexus-plan-teste{--plan-color:#168ef2}.nexus-plan-basic{--plan-color:#12b7c9}.nexus-plan-plus{--plan-color:#14c77d}.nexus-plan-performance{--plan-color:#efb72c}.nexus-plan-prime{--plan-color:#f33e47}.nexus-plan-mei-essential{--plan-color:#f88427}.nexus-plan-mei-pro{--plan-color:#2563ef}

.nexus-plan summary{cursor:default}.nexus-plan summary:hover{background:transparent}.nexus-plan-arrow{border:0;padding:0;cursor:pointer}.nexus-plan-arrow:hover{filter:brightness(.94)}.nexus-plan-arrow:focus-visible{outline:2px solid #1d4ed8;outline-offset:3px}

.nexus-plan-modal{position:fixed;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #dce6f2;border-radius:18px;padding:28px;color:#172044;background:#fff}.nexus-plan-modal::backdrop{background:#0b1f3a99}.nexus-modal-close{float:right;font-size:24px}.nexus-plan-modal h3{margin:0 50px 20px 0}.nexus-plan-modal .nexus-plan-details{padding:18px 0 0;overflow-wrap:anywhere}

.nexus-plan-modal{scrollbar-width:thin;scrollbar-color:#8b5cf6 transparent}.nexus-plan-modal::-webkit-scrollbar{width:6px;height:6px}.nexus-plan-modal::-webkit-scrollbar-track{background:transparent}.nexus-plan-modal::-webkit-scrollbar-thumb{background:#8b5cf6;border-radius:999px}.nexus-plan-modal::-webkit-scrollbar-thumb:hover{background:#7c3aed}.nexus-plan-modal .nexus-modal-close{border:0;background:transparent;box-shadow:none;padding:4px 8px;min-width:0;min-height:0;color:#1d4ed8;cursor:pointer;transition:color .18s}.nexus-plan-modal .nexus-modal-close:hover{color:#8b5cf6;background:transparent}.nexus-plan-modal .nexus-modal-close:focus-visible{outline:2px solid #8b5cf6;outline-offset:2px}

.nexus-plan-form{display:grid;gap:14px}.nexus-plan-form label{display:grid;gap:6px}.nexus-plan-form input,.nexus-plan-form select,.nexus-plan-form textarea{width:100%;min-width:0;padding:10px;border:1px solid #dce6f2;border-radius:8px}.nexus-plan-form textarea{resize:vertical}

.nexus-plan-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-wrap:wrap}.nexus-plan-actions button{font-size:13px;padding:8px 12px;min-height:34px;white-space:nowrap}@media(max-width:650px){.panel-head:has(.nexus-plan-actions){flex-wrap:wrap}.nexus-plan-actions{margin-left:0}}

.nexus-plan-benefits ul,.plan-feature-preview{list-style:none;padding:0;display:grid;gap:10px}.nexus-plan-benefits li,.plan-feature-preview li{display:flex;align-items:flex-start;gap:9px;overflow-wrap:anywhere;min-width:0}.plan-feature-mark{font-weight:700;flex-shrink:0}.plan-feature-mark.included{color:#15803d}.plan-feature-mark.excluded{color:#dc2626}.plan-feature-editor{display:flex;align-items:flex-start;gap:10px}.plan-feature-editor>.plan-feature-mark{padding-top:10px}.plan-feature-editor textarea{flex:1;min-width:0}.plan-feature-preview:empty{display:none}.plan-feature-preview{font-size:13px;margin:4px 0 0}.nexus-plan-benefits li>span:last-child,.plan-feature-preview li>span:last-child{min-width:0}
.portfolio-title{display:flex;align-items:center;gap:18px;margin:12px 0 22px}.portfolio-title>div{background:#e5efff;color:#2155f4;padding:16px;border-radius:14px}.portfolio-title h2{margin:0;font-size:28px}.portfolio-title p{margin:6px 0}.portfolio-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:18px}.portfolio-layout .panel{border:1px solid #dce6f5;box-shadow:none}.portfolio-layout input{min-width:0;max-width:100%;padding:11px 14px;border:1px solid #d2dded;border-radius:8px}.portfolio-staff>input{width:100%;margin-bottom:12px}.portfolio-person{width:100%;display:flex;align-items:center;gap:12px;padding:15px 10px;background:transparent;border:0;border-bottom:1px solid #e8edf5;text-align:left;color:#10234a;border-radius:8px}.portfolio-person:hover,.portfolio-person.selected{background:#e8f1ff}.portfolio-person.selected{box-shadow:inset 3px 0 #2454f4}.portfolio-person>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.portfolio-person small{display:block;margin-top:6px;color:#5f7195}.portfolio-person b{padding:7px 10px;background:#f1f5fc;border-radius:20px}.portfolio-avatar{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;border-radius:50%;background:#e0ebff;color:#2155f4;font-weight:700}.portfolio-profile{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.portfolio-profile>.portfolio-avatar{width:86px;height:86px;font-size:26px}.portfolio-profile h2{margin:0 0 10px}.portfolio-total{margin-left:auto;background:#f1f6ff;padding:18px;border-radius:12px}.portfolio-total strong{display:block;color:#2454f4;font-size:30px;margin-top:6px}.portfolio-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px;flex-wrap:wrap}.portfolio-layout .panel-head{flex-wrap:wrap}.portfolio-layout .data-table{min-width:680px}@media(max-width:1100px){.portfolio-layout{grid-template-columns:240px minmax(0,1fr)}}@media(max-width:800px){.portfolio-layout{grid-template-columns:minmax(0,1fr)}.portfolio-staff{max-height:360px;overflow:auto}.portfolio-total{margin-left:0}.portfolio-title h2{font-size:24px}}

.nexus-group-toggle>span:last-child{display:flex;transition:transform .18s ease;transform:rotate(0deg)}.nexus-group-toggle[aria-expanded=true]>span:last-child{transform:rotate(180deg)}@media(prefers-reduced-motion:reduce){.nexus-group-toggle>span:last-child{transition:none}}

.nexus-company-frame{width:100%;height:calc(100dvh - 240px);min-height:420px;border:0;display:block}@media(max-width:650px){.nexus-company-frame{height:75dvh;min-height:420px}}

.nexus-plan-companies th{text-align:center}.nexus-plan-companies td:nth-child(2){white-space:nowrap}

.nexus-plan-details>[data-plan-companies],.nexus-plan-details>[data-plan-edit]{padding:7px 11px;font-size:13px;min-height:34px;margin-bottom:8px}.nexus-plan-details>[data-plan-companies]{margin-right:10px}

.portfolio-back{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px}.nexus-delete-confirm{margin:auto;max-width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 32px)}
.portfolio-back{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #cfdcff;border-radius:7px;padding:9px 14px;font-size:13px;font-weight:650;min-height:36px;background:#fff;color:#0065ff;box-shadow:none;cursor:pointer}.portfolio-back:hover{background:#edf4ff}.portfolio-back svg{transform:rotate(180deg)}.app-shell .sidebar nav,.app-shell .sidebar .nav-group{min-width:0;max-width:100%;box-sizing:border-box}.app-shell .sidebar .nav-item{min-width:0;width:100%;box-sizing:border-box;white-space:normal}.app-shell .sidebar .nexus-group-name{min-width:0;flex:1;overflow-wrap:anywhere}.app-shell .sidebar .nexus-group-toggle>span:last-child{flex-shrink:0}@media(min-width:651px){.app-shell .sidebar{width:220px}.app-shell .workspace{width:calc(100% - 220px);margin-left:220px}.app-shell.employees-full-page .workspace{width:100%;margin-left:0}}@media(max-width:650px){.app-shell .sidebar nav{display:grid;grid-template-columns:minmax(0,1fr);max-height:60dvh;overflow-y:auto}.app-shell .sidebar .nav-group{display:grid;grid-template-columns:minmax(0,1fr)}.app-shell .sidebar{width:100%}}
:is([data-elogios-revisar],[data-magazine-audience]){display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:36px;padding:8px 14px;border:1px solid #cfdcff;border-radius:7px;background:#fff;color:#0065ff;font-family:inherit;font-size:13px;font-weight:650;line-height:1.4;text-align:center;white-space:normal;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s}:is([data-elogios-revisar],[data-magazine-audience]):hover{background:#edf4ff;border-color:#a8c4ff;color:#0059e5}:is([data-elogios-revisar],[data-magazine-audience]):focus-visible{outline:2px solid #0065ff;outline-offset:3px}:is([data-elogios-revisar],[data-magazine-audience]):disabled{opacity:.6;cursor:default}@media(prefers-reduced-motion:reduce){:is([data-elogios-revisar],[data-magazine-audience]){transition:none}}

.app-shell .sidebar-brand{padding:0 6px 10px;min-height:0;height:auto;margin-bottom:0}.app-shell .sidebar-brand img{width:160px;height:74px;object-fit:contain}.app-shell .sidebar{padding-top:12px}

.app-shell .sidebar-brand{padding:2px 0 12px;display:flex;justify-content:center}.app-shell .sidebar-brand img{width:184px;max-width:100%;height:80px;object-fit:cover;object-position:center}.app-shell .sidebar{padding-top:14px}





/* Carteira: margens curtas, lista de colaboradores compacta e tabela com mais espaço. */
.app-shell.portfolio-full-page .page-content{padding:18px 22px 28px}.portfolio-full-page .portfolio-title{margin:8px 0 20px;gap:16px}.portfolio-full-page .portfolio-title h2{font-size:28px}.portfolio-full-page .portfolio-layout{grid-template-columns:minmax(240px,27%) minmax(0,1fr);gap:18px;align-items:start}.portfolio-full-page .portfolio-layout>.portfolio-staff{padding:18px 14px}.portfolio-full-page .portfolio-layout>div{min-width:0;display:grid;gap:16px}.portfolio-full-page .portfolio-profile{margin:0;padding:20px;min-height:140px}.portfolio-full-page .portfolio-layout .panel{margin-top:0}.portfolio-full-page .portfolio-person{padding:12px 9px;gap:10px;font-size:13px}.portfolio-full-page .portfolio-person small{margin-top:5px}.portfolio-full-page .portfolio-layout .data-table th,.portfolio-full-page .portfolio-layout .data-table td{padding:10px 12px}.portfolio-full-page .portfolio-layout .data-table th{text-align:center}.portfolio-full-page .portfolio-pagination{gap:14px;margin-top:20px}.portfolio-full-page .portfolio-total{min-width:215px}
@media(min-width:1600px){.portfolio-full-page .portfolio-layout{grid-template-columns:380px minmax(0,1fr)}}@media(max-width:1100px){.portfolio-full-page .portfolio-layout{grid-template-columns:240px minmax(0,1fr)}.portfolio-full-page .portfolio-total{min-width:0;margin-left:0;flex:1}}@media(max-width:800px){.app-shell.portfolio-full-page .page-content{padding:16px}.portfolio-full-page .portfolio-layout{grid-template-columns:minmax(0,1fr)}.portfolio-full-page .portfolio-staff{max-height:340px;overflow:auto}.portfolio-full-page .portfolio-title h2{font-size:24px}.portfolio-full-page .portfolio-profile{gap:14px;padding:16px}.portfolio-full-page .portfolio-total{flex:1 1 100%}}
.portfolio-identity{min-width:0}.portfolio-identity h2{overflow-wrap:anywhere}.portfolio-identity small{display:block;margin-top:6px;overflow-wrap:anywhere}.portfolio-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto}.portfolio-actions button{min-height:38px}.portfolio-remove{color:#ffd2d6!important;border-color:#874350!important}.portfolio-remove:disabled{opacity:.55;cursor:not-allowed}
.portfolio-editor-dialog{box-sizing:border-box;width:min(700px,calc(100vw - 28px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #2d5e8d;border-radius:15px;background:#06233f;color:#edf4ff;box-shadow:0 24px 80px #0008}.portfolio-editor-dialog::backdrop{background:#001326b8}.portfolio-editor-form{display:grid;gap:14px;padding:20px}.portfolio-editor-form header,.portfolio-editor-form footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.portfolio-editor-form header{padding-bottom:12px;border-bottom:1px solid #1d456c}.portfolio-editor-form h2{margin:0;font-size:20px}.portfolio-editor-form header p{margin:5px 0 0;color:#b8cce5}.portfolio-editor-form>p{margin:0}.portfolio-editor-form input[type=search]{box-sizing:border-box;width:100%;min-width:0;padding:10px 12px;border:1px solid #2d5e8d;border-radius:8px;background:#0b2c4a;color:#f2f6ff;font:inherit}.portfolio-company-options{display:grid;gap:6px;max-height:min(44dvh,360px);overflow:auto;padding:2px;overscroll-behavior:contain}.portfolio-company-options label{display:flex;align-items:center;gap:10px;min-width:0;padding:9px 10px;border:1px solid #1d456c;border-radius:8px;background:#082a49;cursor:pointer}.portfolio-company-options label[hidden]{display:none}.portfolio-company-options input{flex:none;width:18px;height:18px;accent-color:#1483ff}.portfolio-company-options label span{display:grid;gap:3px;min-width:0}.portfolio-company-options strong,.portfolio-company-options small{overflow-wrap:anywhere}.portfolio-company-options small{color:#b8cce5}.portfolio-editor-form footer{justify-content:flex-end}.portfolio-editor-form footer button,.portfolio-editor-form header button{min-height:38px}.portfolio-editor-form footer .primary{padding:8px 14px;border:1px solid #2587ff;border-radius:7px;background:#0875ef;color:#fff;cursor:pointer}.portfolio-editor-message{min-height:1.3em;margin:0;color:#ffd0d5}.portfolio-profile{position:relative}
@media(max-width:800px){.portfolio-actions{width:100%;margin-left:0}.portfolio-editor-form{padding:15px}.portfolio-editor-form h2{font-size:18px}}

/* Ação da audiência separada dos indicadores, no padrão dos botões do Nexus. */
[data-magazine-audience]{margin-top:14px;}

.app-shell .sidebar .nexus-group-name{font-weight:700}

/* Retorno compartilhado das telas em página completa, seguindo o modelo do RH. */
.app-shell .nexus-back-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:40px;padding:9px 12px;border:1px solid #24518b;border-radius:8px;background:#05213e;color:#bdcdff;font:inherit;font-size:13px;font-weight:400;line-height:normal;text-align:center;text-decoration:none;white-space:normal;box-shadow:none;cursor:pointer;transition:background-color .15s,color .15s}.app-shell .nexus-back-button svg{width:20px;height:20px;flex-shrink:0}.app-shell .nexus-back-button:hover{background:#0b3866;color:#bdcdff}.app-shell .nexus-back-button:focus-visible{outline:2px solid #51c9ff;outline-offset:3px}@media(prefers-reduced-motion:reduce){.app-shell .nexus-back-button{transition:none}}
.app-shell.employees-dark-page{background:radial-gradient(ellipse at 70% 0,#00397d 0,transparent 45%),#001127;min-height:100dvh}.employees-dark-page .workspace{background:transparent}.employees-dark-page .employees-workspace-heading h2,.employees-dark-page .ep-config-header h2{color:#f5f4ff}.employees-dark-page .ep-config-header p,.employees-dark-page .ep-config-nav small{color:#acbfdd}.employees-dark-page .ep-config-nav button:not(.is-active){color:#dbe7ff}

/* Fundo padrão do Nexus, compartilhado por todas as seções. */
#appView.app-shell{background:radial-gradient(ellipse at 70% 0,#00397d 0,transparent 45%),#001127}#appView.app-shell .workspace{background:transparent}

/* Contraste dos cabeçalhos externos e Visão Geral no fundo azul. */
#appView .topbar h2,#appView .profile-summary b,#appView .portfolio-title h2{color:#f5f4ff}
#appView .topbar-subtitle,#appView .profile-summary small,#appView .portfolio-title p{color:#acbfdd}
#appView .topbar .eyebrow{color:#51baff}
#appView .overview-page{color:#e7efff;--muted:#acbfdd;--ink:#f5f4ff;--line:#164169}
#appView .overview-page .metric,#appView .overview-page .panel{background:linear-gradient(120deg,#042141,#002039);border-color:#064067;box-shadow:none}
#appView .overview-metrics .metric small,#appView .overview-page .muted,#appView .overview-page .empty{color:#acbfdd}
#appView .overview-metrics .metric strong,#appView .overview-page h3{color:#f5f4ff}
#appView .overview-page .data-table th{background:#0b2c50;color:#dbe7ff}
#appView .overview-page .data-table th,#appView .overview-page .data-table td{border-color:#164169}
#appView .overview-page .secondary{background:#05213e;border:1px solid #24518b;color:#bdcdff}

/* Menu lateral compacto inspirado na navegação luminosa do Nexus. */
#appView.app-shell .sidebar{background:radial-gradient(circle at 90% 0,#103477 0,transparent 37%),linear-gradient(180deg,#061834,#031126 72%,#061a3b);border-right:1px solid #1a3970;box-shadow:inset -1px 0 #4ba2ff20;padding:12px 10px 10px}
#appView.app-shell .sidebar::before,#appView.app-shell .sidebar::after{display:none}
#appView.app-shell .sidebar-brand{padding:0 4px 12px;margin:0;justify-content:center}
#appView.app-shell .sidebar-brand img{width:170px;height:72px;max-width:100%;object-fit:contain}
#appView.app-shell .sidebar nav{display:grid;align-content:start;gap:5px;padding:0 2px 12px;min-height:0;overflow-y:auto}
#appView.app-shell .sidebar .nav-group{gap:4px}
#appView.app-shell .sidebar .nav-item{min-height:35px;padding:7px 10px;gap:9px;border:1px solid #22508366;border-radius:11px;background:#051735;color:#e7efff;font-size:11px;font-weight:650;line-height:1.18;box-shadow:inset 0 1px #ffffff0b;transition:background-color .16s,border-color .16s,box-shadow .16s}
#appView.app-shell .sidebar .nav-item:hover{background:#0b2c5c;border-color:#2877b5;color:#fff}
#appView.app-shell .sidebar .nav-item:focus-visible,#appView.app-shell .sidebar-profile:focus-visible,#appView.app-shell .sidebar-logout:focus-visible{outline:2px solid #7ad5ff;outline-offset:2px}
#appView.app-shell .sidebar .nav-icon{width:21px;flex:0 0 21px;color:#42baff}
#appView.app-shell .sidebar .nav-icon svg{width:19px;height:19px}
#appView.app-shell .sidebar .nexus-group-toggle>span:last-child,#appView.app-shell .sidebar .nexus-home-arrow{display:flex;align-items:center;justify-content:center;width:14px;flex:0 0 14px;color:#bddbff}
#appView.app-shell .sidebar .nexus-group-toggle>span:last-child svg,#appView.app-shell .sidebar .nexus-home-arrow svg{width:14px;height:14px}
#appView.app-shell .sidebar .nexus-menu-group-4>.nexus-group-toggle .nav-icon{color:#8e83ff}
#appView.app-shell .sidebar .nexus-menu-group-1>.nexus-group-toggle .nav-icon{color:#dc6afa}
#appView.app-shell .sidebar .nexus-menu-group-2>.nexus-group-toggle .nav-icon{color:#43c6ff}
#appView.app-shell .sidebar .nexus-menu-group-3>.nexus-group-toggle .nav-icon{color:#31c8ef}
#appView.app-shell .sidebar .nexus-menu-group-5>.nexus-group-toggle .nav-icon{color:#27c8ef}
#appView.app-shell .sidebar .nexus-home-item.active{background:linear-gradient(105deg,#14b6ff,#1741c8 64%,#1c77ee);border-color:#3aa9ff;color:#fff;box-shadow:0 0 7px #16b9ff,0 0 17px #0e72edaa,inset 0 1px #ffffff5c}
#appView.app-shell .sidebar .nexus-home-item.active .nav-icon{color:#e9faff}
#appView.app-shell .sidebar .nexus-home-arrow svg{transform:rotate(-90deg)}
#appView.app-shell .sidebar .nav-group>.nav-group{padding:2px 0 4px 13px}
#appView.app-shell .sidebar .nav-group>.nav-group .nav-item{min-height:31px;background:#092148;border-color:#20427470;color:#d9e9ff;font-size:10px}
#appView.app-shell .sidebar .nav-group>.nav-group .nav-item.active{background:#14428a;border-color:#358fea;color:#fff;box-shadow:0 0 9px #1788ff55}
#appView.app-shell .sidebar .nav-group>.nav-group .nav-item.nexus-pending{opacity:.58}
#appView.app-shell .sidebar-footer{display:grid;gap:7px;margin-top:auto;padding:10px 2px 0;border-top:1px solid #244979;color:#e8f3ff}
#appView.app-shell .sidebar-profile{display:flex;align-items:center;gap:8px;width:100%;padding:4px 3px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
#appView.app-shell .sidebar-avatar{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:1px solid #87b8ff;border-radius:50%;background:linear-gradient(145deg,#2150bf,#061f54);color:#fff;font-size:10px;font-weight:800;box-shadow:0 0 7px #347cffaa}
#appView.app-shell .sidebar-identity{display:grid;gap:2px;min-width:0;flex:1}
#appView.app-shell .sidebar-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#f4f8ff;font-size:10px;font-weight:700}
#appView.app-shell .sidebar-identity small{color:#99b8e3;font-size:9px}
#appView.app-shell .sidebar-profile-chevron{width:13px;height:13px;flex:0 0 13px;fill:none;stroke:#bbd7ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:transform .16s}
#appView.app-shell .sidebar-profile[aria-expanded=true] .sidebar-profile-chevron{transform:rotate(180deg)}
#appView.app-shell .sidebar-profile-details{padding:2px 5px 5px 39px;color:#b7d4fa;font-size:10px;overflow-wrap:anywhere}
#appView.app-shell .sidebar-logout{display:flex;align-items:center;gap:9px;width:100%;min-height:31px;padding:5px 10px;border:1px solid #1c4a98;border-radius:9px;background:#051632;color:#eaf3ff;text-align:left;font-size:10px;font-weight:650;cursor:pointer}
#appView.app-shell .sidebar-logout:hover{background:#0b2d62;border-color:#3a91e8}
#appView.app-shell .sidebar-logout svg{width:15px;height:15px;fill:none;stroke:#a8d4ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:650px){#appView.app-shell .sidebar{position:relative;width:100%;height:auto;padding:12px 14px}#appView.app-shell .sidebar nav{max-height:52dvh;overflow-y:auto}#appView.app-shell .sidebar .nav-item{width:100%;white-space:normal}#appView.app-shell .sidebar-footer{margin-top:7px}#appView.app-shell .sidebar-identity strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){#appView.app-shell .sidebar .nav-item,#appView.app-shell .sidebar-profile-chevron{transition:none}}

/* A arte original tem grandes margens transparentes: amplia e recorta somente a área da marca. */
#appView.app-shell .sidebar-brand{height:68px;min-height:68px;flex:0 0 68px;overflow:hidden;padding:0;margin:0 0 8px;align-items:center}
#appView.app-shell .sidebar-brand img{width:190px;height:190px;max-width:none;flex:0 0 190px;object-fit:contain}
#appView.app-shell .sidebar nav{flex:0 1 auto;max-height:calc(100dvh - 190px);padding-bottom:0}
#appView.app-shell .sidebar-footer{margin-top:14px}
@media(max-width:650px){#appView.app-shell .sidebar nav{max-height:52dvh}#appView.app-shell .sidebar-footer{margin-top:12px}}
#appView .overview-page .secondary:hover{background:#0b3866}
#appView .overview-page .link-button{background:transparent;color:#51c9ff}

/* Respiro entre o subtítulo da página e o conteúdo abaixo. */
#appView .topbar-subtitle{margin-bottom:16px}

/* Menu e indicadores da Visão Geral: espaçamento compacto e realce contido. */
#appView.app-shell .sidebar{bottom:auto;height:fit-content;max-height:100dvh}
#appView.app-shell .sidebar nav{margin-top:12px}
#appView.app-shell .sidebar .nexus-home-item.active{box-shadow:inset 0 0 0 1px #6bd4ff,inset 0 0 12px #24b6ff77}
#appView.app-shell .sidebar .nav-group>.nav-group .nav-item:hover{background:#113463;border-color:#3672ae;color:#fff}
#appView .overview-metrics{margin-top:12px;gap:12px}
#appView .overview-metrics .metric{min-height:88px;padding:13px 16px}
#appView .overview-metrics .metric strong{margin-top:6px;font-size:27px}
@media(max-width:650px){#appView.app-shell .sidebar{height:auto;max-height:none}#appView.app-shell .sidebar nav{margin-top:9px}#appView .overview-metrics{margin-top:9px}}

/* Mantém o avatar visível sobre o azul-marinho do rodapé. */
#appView.app-shell .sidebar-footer .sidebar-avatar{background:linear-gradient(145deg,#3f83ff,#1845aa);border:1px solid #b7ddff;box-shadow:0 0 0 2px #3d8cff55,inset 0 1px 0 #ffffff55;color:#fff}

/* Escala do menu no zoom de 100% e acabamento inferior contínuo. */
@media(min-width:901px){#appView.app-shell .sidebar{width:274px}#appView.app-shell .workspace{width:calc(100% - 274px);margin-left:274px}}
#appView.app-shell .sidebar{border-bottom:1px solid #2b5791;border-bottom-right-radius:16px;box-shadow:inset -1px 0 #4ba2ff20,0 10px 22px #00112655;padding:12px 14px 14px}
#appView.app-shell .sidebar-brand{height:90px;min-height:90px;flex-basis:90px;margin-bottom:8px}
#appView.app-shell .sidebar-brand img{width:235px;height:235px;flex-basis:235px}
#appView.app-shell .sidebar nav{margin-top:14px;gap:6px;max-height:calc(100dvh - 230px)}
#appView.app-shell .sidebar .nav-item{min-height:44px;padding:9px 12px;gap:11px;font-size:13px;border-radius:12px}
#appView.app-shell .sidebar .nav-icon{width:24px;flex-basis:24px}
#appView.app-shell .sidebar .nav-icon svg{width:22px;height:22px}
#appView.app-shell .sidebar-footer{gap:9px;margin-top:16px;padding-top:13px}
#appView.app-shell .sidebar-profile{gap:10px}
#appView.app-shell .sidebar-footer .sidebar-avatar{width:38px;height:38px;flex-basis:38px;font-size:12px}
#appView.app-shell .sidebar-identity strong{font-size:12px}
#appView.app-shell .sidebar-identity small{font-size:10px}
#appView.app-shell .sidebar-logout{min-height:38px;font-size:12px}
@media(min-width:651px) and (max-width:900px){#appView.app-shell .sidebar{width:235px}#appView.app-shell .workspace{width:calc(100% - 235px);margin-left:235px}#appView.app-shell .sidebar-brand img{width:210px;height:210px;flex-basis:210px}}
@media(max-width:650px){#appView.app-shell .sidebar{width:100%;border-bottom-right-radius:0;padding:12px 14px 14px}#appView.app-shell .sidebar nav{max-height:52dvh;margin-top:10px}#appView.app-shell .sidebar-brand{height:75px;min-height:75px;flex-basis:75px}#appView.app-shell .sidebar-brand img{width:205px;height:205px;flex-basis:205px}#appView.app-shell .workspace{width:100%;margin-left:0}}

/* Opções reveladas pelos grupos precisam permanecer legíveis no zoom de 100%. */
#appView.app-shell .sidebar .nav-group>.nav-group .nav-item{min-height:38px;font-size:12px;line-height:1.3}

/* Menu de conta sem aparência de seleção fixa. */
#appView.app-shell .sidebar nav{margin-top:30px}
#appView.app-shell .sidebar-profile{outline:0;border-radius:9px}
#appView.app-shell .sidebar-profile:focus:not(:focus-visible){outline:0}
#appView.app-shell .sidebar-profile-details{display:grid;gap:5px;padding:7px;border:1px solid #28639b;border-radius:10px;background:#082347;box-shadow:0 8px 20px #0005}
#appView.app-shell .sidebar-profile-details[hidden]{display:none}
#appView.app-shell .sidebar-profile-details>span{padding:4px 7px;color:#acc8eb;font-size:10px;overflow-wrap:anywhere}
#appView.app-shell .sidebar-profile-details>button{width:100%;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#f1f7ff;text-align:left;font-size:12px;cursor:pointer}
#appView.app-shell .sidebar-profile-details>button:hover{background:#164577}
#appView.app-shell .sidebar-profile-details>p{margin:3px 7px;color:#bce8ff;font-size:11px}
.profile-password-dialog{width:min(390px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #3474b9;border-radius:14px;background:#082347;color:#fff;box-shadow:0 18px 55px #001126aa}
.profile-password-dialog::backdrop{background:#001126aa}
.profile-password-dialog form,.profile-password-dialog label{display:grid;gap:10px}
.profile-password-dialog form{gap:14px}
.profile-password-dialog h2{margin:0;font-size:20px}
.profile-password-dialog label{font-size:12px}
.profile-password-dialog input{width:100%;padding:10px;border:1px solid #3372ad;border-radius:7px;background:#031b39;color:#fff}
.profile-password-dialog p{margin:0;color:#b8d1ee;font-size:11px}
.profile-password-dialog [role=alert]{color:#ffc5c5}
.profile-password-dialog form>div{display:flex;justify-content:flex-end;gap:8px}
.profile-password-dialog button{padding:9px 12px;border:1px solid #3678bc;border-radius:7px;background:#123e75;color:#fff;cursor:pointer}
@media(max-width:650px){#appView.app-shell .sidebar nav{margin-top:16px}}

/* Módulos em tela cheia não reservam a largura do menu lateral. */
#appView.app-shell.employees-full-page .workspace{width:100%;margin-left:0}
#appView.app-shell.employees-full-page .sidebar{display:none}

/* Planos: o cartão muda de tom; apenas a seta abre os detalhes. */
#appView .nexus-plans-grid .nexus-plan summary{transition:background-color .16s ease}
#appView .nexus-plans-grid .nexus-plan summary:hover{background:#0c3158}
html body #appView .nexus-plan summary,html body #appView .nexus-plan summary *{cursor:url('/imagens/cursor-seta-neon.png?v=20261012-branco-11') 4 4,auto!important}
html body #appView .nexus-plan summary .nexus-plan-arrow,html body #appView .nexus-plan summary .nexus-plan-arrow *{cursor:url('/imagens/cursor-mao.png?v=20261013-preta-1') 8 3,pointer!important}

/* Menu de conta em uma coluna, integrado ao rodapé da lateral. */
#appView.app-shell .sidebar-footer #sidebarProfileDetails{width:100%;margin-top:4px;padding:7px;display:grid;grid-template-columns:minmax(0,1fr);gap:3px;border:1px solid #27649a;border-radius:11px;background:linear-gradient(155deg,#092d57,#061d3d);box-shadow:inset 0 1px #ffffff16,0 8px 20px #00112655}
#appView.app-shell .sidebar-footer #sidebarProfileDetails[hidden]{display:none}
#appView.app-shell .sidebar-footer #sidebarProfileDetails>button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;margin:0;padding:8px 10px;border:0;border-radius:7px;background:transparent;color:#eaf4ff;text-align:left;font-size:12px;font-weight:600;box-shadow:none}
#appView.app-shell .sidebar-footer #sidebarProfileDetails>button:hover{background:#164879;color:#fff}
#appView.app-shell .sidebar-footer #sidebarProfileDetails>button:focus-visible{outline:2px solid #65c5ff;outline-offset:-2px}
#appView.app-shell .sidebar-footer #sidebarProfileDetails>button svg{width:17px;height:17px;flex:none;fill:none;stroke:#79c6ff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#appView.app-shell .sidebar-footer #sidebarProfileDetails>#logoutButton{margin-top:4px;border-top:1px solid #2a5685;border-radius:0 0 7px 7px}

/* A tabela das empresas aparece no diálogo, fora de #appView. */
body:has(#appView:not([hidden])) .nexus-plan-modal .table-wrap{max-width:100%;overflow:auto;border:1px solid #20527f;border-radius:10px;background:#082947;box-shadow:none}
body:has(#appView:not([hidden])) .nexus-plan-modal .nexus-plan-companies{background:#082947;color:#f2f7ff}
body:has(#appView:not([hidden])) .nexus-plan-modal .nexus-plan-companies th{background:#103b64;color:#f2f7ff;border-color:#20527f}
body:has(#appView:not([hidden])) .nexus-plan-modal .nexus-plan-companies td{background:#082947;color:#e6f2ff;border-color:#20527f}
body:has(#appView:not([hidden])) .nexus-plan-modal .nexus-plan-companies tr:hover td{background:#11416c}

.company-plan-form{display:grid;gap:6px;margin:10px 0;padding:10px 12px;border:1px solid #16456f;border-radius:9px;background:#0a2b4b}.company-plan-form>label{font-size:12px;font-weight:700;color:#f8fbff}.company-plan-form>div{display:flex;gap:8px;align-items:center}.company-plan-form select{flex:1;min-width:0;min-height:34px;padding:6px 9px;border:1px solid #28618d;border-radius:7px;background:#0b2a48;color:#fff;color-scheme:dark}.company-plan-form .company-plan-feedback{min-height:0;margin:0;color:#bfd3e9;font-size:11px}.company-plan-form .company-plan-feedback:empty{display:none}.company-plan-form .company-plan-feedback.is-success{color:#a7f3d0}@media(max-width:600px){.company-plan-form>div{align-items:stretch;flex-direction:column}.company-plan-form button{width:100%}}

/* Controles do detalhe empresarial lado a lado, com margem e empilhamento responsivo. */
#appView .company-detail-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:12px;margin:12px 8px}
#appView .company-detail-controls>.company-plan-form,#appView .company-detail-controls>.company-status-form{box-sizing:border-box;min-width:0;min-height:100%;margin:0;padding:12px 14px;border:1px solid #16456f;border-radius:9px;background:#0a2b4b}
#appView .company-detail-controls .company-plan-form>label{font-size:12px;font-weight:700;color:#f8fbff}
#appView .company-detail-controls .company-status-form{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:6px}
#appView .company-detail-controls .company-status-form{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}
#appView .company-detail-controls .company-status-form>label{width:auto;min-width:0;max-width:128px;flex:auto}
#appView .company-detail-controls .company-status-select-wrap select[name=status]{width:100%;min-width:0}
#appView .company-detail-controls .company-status-save-group{width:auto;flex:none}
#appView .company-detail-controls .company-status-save-group>p{grid-column:auto}
#appView .company-detail-controls .company-status-save-group>button{width:auto}
#appView .company-detail-controls .company-plan-form>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
#appView .company-detail-controls .company-plan-form button{width:auto;white-space:nowrap}
@media(max-width:600px){#appView .company-detail-controls{grid-template-columns:minmax(0,1fr);gap:10px;margin:10px 4px}#appView .company-detail-controls>.company-plan-form,#appView .company-detail-controls>.company-status-form{min-height:0}}

/* Recorte da foto do perfil operacional. */
.profile-photo-crop-dialog{width:min(460px,calc(100vw - 28px));max-width:none;max-height:min(92dvh,760px);margin:auto;padding:0;border:1px solid #1e5688;border-radius:16px;background:linear-gradient(145deg,#082746,#061b33 68%,#082746);color:#f5f9ff;box-shadow:0 24px 70px #0009}
.profile-photo-crop-dialog::backdrop{background:#020b18c9;backdrop-filter:blur(3px)}
.profile-photo-crop-dialog form{display:grid;gap:14px;padding:20px}
.profile-photo-crop-dialog h2{margin:0;font-size:19px}
.profile-photo-crop-dialog p{margin:0;color:#b8cce3;font-size:12px;line-height:1.45}
.profile-photo-crop-stage{display:grid;place-items:center;min-height:250px;padding:16px;border:1px solid #1b4b75;border-radius:12px;background:radial-gradient(circle,#123657,#06182e 75%)}
.profile-photo-crop-stage canvas{display:block;width:min(260px,65vw);height:auto;aspect-ratio:1;border:2px solid #c8e6ff;border-radius:50%;background:#071b30;touch-action:none;cursor:grab}
.profile-photo-crop-stage canvas:active{cursor:grabbing}
.profile-photo-crop-controls{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px}
.profile-photo-crop-controls button,.profile-photo-crop-actions button{min-height:36px;padding:7px 12px;border:1px solid #28618d;border-radius:8px;background:#0b2a48;color:#eef6ff;font:inherit;font-size:12px;font-weight:650}
.profile-photo-crop-controls input{width:100%;accent-color:#3aa7ff}
.profile-photo-crop-actions{display:flex;justify-content:flex-end;gap:8px}
.profile-photo-crop-actions .is-primary{border-color:#168bd1;background:#0876bd;color:#fff}
.profile-photo-crop-message{min-height:0!important;color:#ffcfbd!important}
@media(max-width:480px){.profile-photo-crop-dialog form{gap:12px;padding:16px}.profile-photo-crop-stage{min-height:220px;padding:12px}.profile-photo-crop-stage canvas{width:min(230px,68vw)}}
.portal-support-admin{display:grid;gap:14px}.portal-support-thread{border:1px solid #24496b;border-radius:11px;overflow:hidden;background:#0a2946;color:#f5f9ff}.portal-support-thread>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none;background:#0c3153}.portal-support-thread>summary::-webkit-details-marker{display:none}.portal-support-thread>summary>span:first-child{display:grid;gap:5px;min-width:0}.portal-support-thread>summary small{color:#b9cce0}.portal-support-messages{display:grid;gap:10px;padding:14px}.portal-support-message{max-width:88%;padding:11px 13px;border:1px solid #2a5278;border-radius:10px;background:#0d3558}.portal-support-message.from-portal{justify-self:end;background:#104674}.portal-support-message p{margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere;color:#eff7ff}.portal-support-message time{font-size:11px;color:#b9cce0}.portal-support-thread form{display:grid;gap:10px;padding-top:12px;border-top:1px solid #24496b}.portal-support-thread form label{display:grid;gap:6px;font-size:13px;font-weight:700}.portal-support-thread form textarea{width:100%;resize:vertical;padding:10px;border:1px solid #2a5278;border-radius:8px;background:#061d34;color:#fff}.portal-support-thread form>div{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.portal-support-thread form p{flex:1;min-width:160px;margin:0;color:#c5d8eb;font-size:12px}.portal-support-thread .status{white-space:nowrap}@media(max-width:600px){.portal-support-thread>summary{align-items:flex-start;flex-direction:column}.portal-support-message{max-width:100%}.portal-support-thread form>div{align-items:stretch;flex-direction:column}.portal-support-thread form>div button{width:100%}}
.portal-support-waiting{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px;border:1px solid #3773ac;border-radius:12px;background:#0b3154;color:#f5f9ff}.portal-support-waiting-main{display:flex;align-items:center;gap:14px;min-width:0}.portal-support-waiting-main>span{display:grid;gap:4px;min-width:0}.portal-support-waiting-main small{color:#c0d7ef;overflow-wrap:anywhere}.portal-support-position{min-width:84px;padding:9px 11px;border-radius:9px;background:#12528b;color:#fff;text-align:center;white-space:nowrap}.portal-support-waiting>details{grid-column:1/-1;border-top:1px solid #315c80;padding-top:9px}.portal-support-waiting>details summary{cursor:pointer;color:#b7ddff}.portal-support-active-row{position:relative}.portal-support-unread{display:inline-block;margin:0 0 5px;padding:5px 10px;border-radius:99px;background:#006cdb;color:#fff;font-size:12px}.portal-support-waiting .portal-support-messages{padding:9px 0 0}@media(max-width:600px){.portal-support-waiting{grid-template-columns:1fr}.portal-support-waiting>button{width:100%}.portal-support-waiting-main{align-items:flex-start}.portal-support-position{min-width:74px}}
.portal-support-rating{padding:11px 13px;border:1px solid #315d85;border-radius:9px;background:#08233c;color:#eaf4ff}.portal-support-rating>strong{display:block}.portal-support-rating>strong span{color:#45b979;letter-spacing:2px}.portal-support-rating>p{margin:8px 0 0;color:#c5d8eb;white-space:pre-wrap;overflow-wrap:anywhere}

.portal-support-attachment{display:inline-flex;align-items:center;gap:7px;max-width:100%;margin-top:7px;padding:6px 8px;border:1px solid #2b587d;border-radius:7px;background:#08233c;color:#9bd2ff;font-size:11px;text-decoration:none;overflow-wrap:anywhere}.portal-support-attachment:hover{text-decoration:underline}.portal-support-attachment small{color:#bfd3e9;font-size:10px}.portal-support-admin .support-attachment-control{background:#0a2b4b;border-color:#2b587d;color:#e5f2ff}.portal-support-admin .support-attachment-control small,.portal-support-admin .support-pending-file{color:#bfd3e9}.portal-support-admin .support-pending-file{background:#0b3559}.portal-support-admin .support-pending-file button{color:#9bd2ff}

/* Prazos de análise: cinco indicadores na mesma linha em telas amplas. */
#appView .overview-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
#appView .overview-metrics .metric{min-width:0;min-height:84px;padding:11px 12px}
#appView .overview-metrics .metric small{display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.25}
#appView .overview-metrics .metric strong{font-size:25px}
#appView .overview-metrics .metric.red{border-top:3px solid #ef526b}
.overview-deadline-icon{display:inline-grid;place-items:center;flex:none;width:17px;height:17px;border-radius:50%;background:#ef526b;color:#fff;font-size:11px;font-weight:800}
.analysis-deadline{display:inline-block;white-space:normal;line-height:1.3}
.analysis-deadline.is-overdue{color:#ff607b;font-weight:800}
@media(max-width:1250px){#appView .overview-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#appView .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){#appView .overview-metrics{grid-template-columns:minmax(0,1fr)}}

.portal-support-widget{position:fixed;z-index:1600;right:20px;bottom:20px}.portal-support-launcher{position:relative;display:grid;place-items:center;width:86px;height:86px;padding:0;border:0;background:transparent;cursor:pointer;filter:drop-shadow(0 5px 10px #102b4d42)}.portal-support-launcher img{width:82px;height:82px;object-fit:contain}.portal-support-launcher [data-portal-support-notice]{position:absolute;top:0;left:-6px;padding:5px 8px;border-radius:999px;background:#d92d20;color:white;font-size:11px;font-weight:800;white-space:nowrap;box-shadow:0 2px 8px #102b4d42}.portal-support-window{position:absolute;right:0;bottom:96px;display:flex;flex-direction:column;width:min(390px,calc(100vw - 28px));height:min(650px,calc(100dvh - 125px));overflow:hidden;border:1px solid #dce6f2;border-radius:12px;background:white;box-shadow:0 12px 40px #102b4d42}.portal-support-window[hidden],.portal-support-widget[hidden]{display:none!important}.portal-support-window-header{display:flex;align-items:center;gap:10px;min-height:60px;padding:8px 12px;background:linear-gradient(105deg,#063b6f,#0873df);color:white}.portal-support-window-header img{width:42px;height:42px;object-fit:contain}.portal-support-window-header>div{display:grid;gap:3px;min-width:0;flex:1}.portal-support-window-header strong{font-size:14px}.portal-support-window-header small{overflow:hidden;color:#e5f2ff;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.portal-support-window-header button{width:34px;height:34px;border:0;border-radius:7px;background:#ffffff20;color:white;font-size:22px;cursor:pointer}.portal-support-window-content{display:flex;flex:1;min-height:0;flex-direction:column;gap:10px;padding:12px;background:#f7f9fc}.portal-support-chat-meta{display:grid;gap:3px;color:#24415c;font-size:12px}.portal-support-chat-meta small{color:#687b8f;font-size:10px}.portal-support-chat-messages{display:flex;min-height:0;flex:1;flex-direction:column;gap:8px;overflow:auto;padding:2px}.portal-support-chat-message{max-width:88%;align-self:flex-start;padding:9px 11px;border-radius:10px;background:#eaf1f8;color:#223a52;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.portal-support-chat-message.from-customer{align-self:flex-end;background:#dcebff}.portal-support-chat-message p{margin:0 0 5px;white-space:pre-wrap}.portal-support-chat-message time{display:block;margin-top:4px;color:#718298;font-size:9px}.portal-support-chat-empty{margin:auto;color:#52677d;font-size:13px;text-align:center}.portal-support-chat-form{display:grid;gap:7px}.portal-support-chat-form textarea{width:100%;min-height:66px;max-height:130px;resize:vertical;border:1px solid #cbd8e6;border-radius:8px;padding:9px;background:white;color:#172c43;font:inherit;font-size:13px}.portal-support-chat-form button{justify-self:end;min-height:35px;padding:0 14px;border:0;border-radius:7px;background:#0873df;color:#fff;font-weight:700;cursor:pointer}.portal-support-chat-form button:disabled{opacity:.6;cursor:wait}.portal-support-chat-status{margin:0;color:#49627b;font-size:11px}@media(max-width:520px){.portal-support-widget{right:10px;bottom:10px}.portal-support-window{right:0;bottom:86px;width:calc(100vw - 20px);height:min(650px,calc(100dvh - 105px))}.portal-support-launcher{width:76px;height:76px}.portal-support-launcher img{width:74px;height:74px}}.portal-support-chat-form{gap:7px}.portal-support-chat-form textarea{min-height:70px}.portal-support-composer-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.portal-support-clip{position:relative;display:grid;place-items:center;width:36px;height:36px;border:1px solid #cbd8e6;border-radius:8px;color:#42617e;cursor:pointer}.portal-support-clip svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.portal-support-chat-form .portal-support-send{display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:0;border:0;border-radius:50%;background:#0873df;color:#fff}.portal-support-chat-form .portal-support-end{justify-self:start;min-height:30px;padding:0 10px;font-size:11px}.portal-support-chat-form .portal-support-chat-status{min-height:15px}.portal-support-chat-form .support-pending-files{display:grid;gap:5px}
.portal-support-chat-empty-state{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:13px;padding:24px 18px;text-align:center}.portal-support-chat-empty-state img{display:block;width:min(190px,65%);max-height:210px;object-fit:contain}.portal-support-chat-empty-state h2{margin:0;color:#102d52;font-size:clamp(18px,4vw,23px);line-height:1.25}.portal-support-chat-empty-state p{max-width:330px;margin:0;color:#6a7e99;font-size:14px;line-height:1.55}@media(max-width:520px){.portal-support-chat-empty-state{gap:10px;padding:18px 12px}.portal-support-chat-empty-state img{width:min(150px,58%);max-height:165px}.portal-support-chat-empty-state p{font-size:13px}}

.portal-support-window-header [data-portal-support-close-window]{font-size:21px}


.portal-support-window-header button{width:auto;height:auto;min-width:18px;padding:2px 4px;border:0;border-radius:0;background:transparent;color:#fff;line-height:1;box-shadow:none}.portal-support-window-header button:hover,.portal-support-window-header button:focus-visible{background:transparent;color:#fff;box-shadow:none}.portal-support-window-header [data-portal-support-close-window]:hover,.portal-support-window-header [data-portal-support-close-window]:focus-visible{background:transparent;color:#ff414d}
.portal-support-admin .support-pending-file button:hover,.portal-support-admin .support-pending-file button:focus-visible{color:#ff414d}
.portal-support-admin{gap:16px;align-content:start;min-height:0}.portal-support-admin .panel-head{margin:0;flex-wrap:wrap}.portal-support-admin .panel-head .muted{margin:6px 0 0;color:#bbd0e7}.portal-support-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.portal-support-tabs{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #28567e;border-radius:12px;background:#082741}.portal-support-tabs button{display:inline-flex;align-items:center;gap:8px;min-height:37px;padding:7px 11px;border:0;border-radius:8px;background:transparent;color:#c8dcf0;font-weight:700;cursor:pointer}.portal-support-tabs button[aria-selected=true]{background:#0873df;color:#fff}.portal-support-tabs button span{display:inline-grid;place-items:center;min-width:24px;height:22px;padding:0 6px;border-radius:99px;background:#ffffff25;font-size:12px}.portal-support-search{flex:1 1 230px;max-width:350px}.portal-support-search input{width:100%;min-width:0;min-height:41px;padding:9px 12px;border:1px solid #3b688c;border-radius:9px;background:#092b49;color:#fff}.portal-support-search input::placeholder{color:#b8cee5}.portal-support-results{display:grid;align-content:start;gap:10px;min-height:0}.portal-support-result-count{margin:0;color:#a9c6e4;font-size:12px;font-weight:700}.portal-support-empty{margin:0;padding:22px;border:1px dashed #315d83;border-radius:10px;color:#bdd1e7;text-align:center}.portal-support-error{display:grid;justify-items:start;gap:9px;padding:16px;border:1px solid #e0a85c;border-radius:11px;background:#422f1c;color:#fff}.portal-support-error p{margin:0;color:#ffe1bc;overflow-wrap:anywhere}.portal-support-admin [role=tab]:focus-visible,.portal-support-search input:focus-visible{outline:2px solid #9cdaff;outline-offset:2px}@media(max-width:700px){.portal-support-toolbar{align-items:stretch;flex-direction:column}.portal-support-tabs{width:100%}.portal-support-tabs button{flex:1;justify-content:center;min-width:0;font-size:12px}.portal-support-search{flex:auto;max-width:none}.portal-support-admin .panel-head>button{width:100%}}@media(max-width:390px){.portal-support-tabs button{gap:4px;padding:7px 6px;font-size:11px}.portal-support-tabs button span{min-width:20px}}
