/* Conecta Empresa • Design System 4.0
 * Override isolado: mantém todas as regras e os dados da aplicação existente.
 * Tokens semânticos, responsividade, teclado, modo escuro e baixo movimento.
 */
:root{
  color-scheme:light;
  --brand-navy:#0b1c33;--brand-teal:#087d79;--brand-green:#16b7a1;--brand-mint:#c2f7eb;
  --bg:#f4f7fb;--surface:#ffffff;--surface-2:#f4f8fa;--text:#15263d;--muted:#62738a;
  --line:#e1e8ee;--primary:#087e7a;--primary-2:#056b68;--primary-soft:#e6f7f4;
  --accent:#1ab9a6;--accent-soft:#ebfbf7;--warning:#b87d22;--warning-soft:#fff6e6;
  --danger:#c74452;--danger-soft:#fff0f2;--info:#286eae;--info-soft:#edf6ff;
  --shadow:0 21px 52px rgba(12,35,58,.08);--shadow-sm:0 6px 21px rgba(21,47,68,.042);
  --radius:20px;--radius-sm:12px;--sidebar:264px;
  --ce-border-strong:#cddbe5;--ce-ring:0 0 0 4px rgba(15,155,142,.13);
  --ce-topbar:rgba(248,250,252,.92);--ce-thead:#f7f9fc;
  --ce-indigo:#5f65c7;--ce-ink:#182b41;
}
body.dark{
  color-scheme:dark;
  --bg:#091422;--surface:#111f30;--surface-2:#17293b;
  --text:#e9f2f8;--muted:#a1b4c3;--line:#293d50;
  --primary:#4bdbc1;--primary-2:#72ead1;--primary-soft:#173c3e;
  --accent:#4bdbc1;--accent-soft:#173c3e;
  --warning:#f2be69;--warning-soft:#393020;--danger:#ff8494;--danger-soft:#3c2832;
  --info:#8dbce9;--info-soft:#1b354d;
  --shadow:0 20px 50px rgba(0,0,0,.28);--shadow-sm:0 7px 23px rgba(0,0,0,.14);
  --ce-border-strong:#486074;--ce-ring:0 0 0 4px rgba(74,219,193,.17);
  --ce-topbar:rgba(9,20,34,.91);--ce-thead:#182b3d;--ce-ink:#e9f2f8;
}
html{scroll-padding-top:94px}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.53;background:var(--bg);letter-spacing:-.007em}
h1,h2,h3,h4,.brand-copy strong,.ce-home-copy h1,.ce-home-product-card strong,
.ce3-kpi strong,.metric-value,.result-box strong{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.038em}
:where(button,input,select,textarea){font-family:inherit}
:where(button,a,input,select,textarea,[role=button]):focus-visible{
  outline:3px solid var(--primary)!important;outline-offset:3px
}
button:disabled,button[disabled]{opacity:.53;cursor:not-allowed;transform:none!important}
button,input,select,textarea{touch-action:manipulation}
.app-shell{background:linear-gradient(143deg,var(--bg),var(--bg) 74%,var(--primary-soft))}
.main-wrap{min-width:0}
.sidebar{background:var(--surface);border-color:var(--line);box-shadow:5px 0 30px rgba(14,45,74,.025);padding:21px 13px 15px}
.sidebar .brand{padding:5px 10px 25px;gap:12px}
.sidebar .brand-mark{width:44px;height:44px;flex:0 0 44px}
.sidebar .brand-copy strong{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px!important;letter-spacing:-.04em;gap:3px}
.sidebar .brand-copy>span{font-size:10.5px!important;max-width:167px;line-height:1.5!important}
.sidebar .brand-copy strong>span{color:var(--text)!important}
.sidebar .brand-copy strong>em{color:var(--primary)!important}
.sidebar .nav{gap:3px;padding:0 3px 15px}
.sidebar .ce3-nav-label{letter-spacing:.16em;font-size:9px;color:var(--muted);padding:17px 14px 8px}
.sidebar .nav-item{position:relative;min-height:43px!important;padding:10px 12px!important;border-radius:11px;font-size:12.7px;font-weight:650;color:var(--muted);gap:8px;transition:color .2s,background .2s,transform .2s}
.sidebar .nav-item>span{width:24px;min-width:24px;height:24px;margin-right:4px;color:inherit}
.sidebar .nav-item>span svg{width:19px;height:19px;stroke-width:1.8;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.sidebar .nav-item:hover{color:var(--text);background:var(--surface-2);transform:translateX(2px)}
.sidebar .nav-item.active{color:var(--primary);background:var(--primary-soft);box-shadow:inset 3px 0 0 var(--primary)}
.sidebar .nav-item.active:before{content:'';position:absolute;right:12px;top:50%;transform:translateY(-50%);height:6px;width:6px;border-radius:50%;background:var(--primary)}
.sidebar .nav-item-new{border:1px dashed var(--ce-border-strong);margin-top:10px!important;color:var(--primary)}
.sidebar .nav-divider{margin:10px 9px 2px;border-color:var(--line)}
.sidebar .brand-mini-card{background:linear-gradient(145deg,var(--primary-soft),var(--surface-2));padding:14px!important;border:1px solid var(--line);border-radius:16px}
.sidebar .brand-mini-card strong{font-size:12px}
.sidebar .brand-mini-card p{font-size:10.8px!important}
.topbar{height:78px;padding:0 clamp(15px,2.7vw,38px);background:var(--ce-topbar);border-bottom:1px solid var(--line);backdrop-filter:blur(18px) saturate(135%);gap:15px}
body.dark .topbar{background:var(--ce-topbar);border-color:var(--line)}
.topbar .top-search{max-width:600px}
.topbar .top-search input#globalSearch{height:46px!important;background:var(--surface)!important;border-color:var(--line)!important;border-radius:14px!important;font-size:13px!important;font-weight:500;box-shadow:var(--shadow-sm)!important}
.topbar .top-search>span{background:var(--primary-soft);color:var(--primary);border-radius:9px}
.topbar .top-search:focus-within input#globalSearch{box-shadow:var(--ce-ring),var(--shadow-sm)!important}
.topbar .search-results{border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:7px;overflow-y:auto}
.topbar .search-item{border-radius:9px;padding:12px 13px}
.topbar .search-item:hover,.topbar .search-item:focus-visible{background:var(--primary-soft)}
.topbar .top-actions{gap:8px}
.icon-button{width:42px;height:42px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:12px;box-shadow:var(--shadow-sm);transition:border-color .18s,background .18s,color .18s}
.icon-button:hover{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}
.icon-button svg{height:18px;width:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.company-chip{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:5px 10px 5px 6px;gap:9px;min-height:46px;box-shadow:var(--shadow-sm)}
.company-avatar{background:linear-gradient(145deg,#0b8f8a,#1ac3ac);color:white;border-radius:10px;width:34px;height:34px;font-size:11px}
.company-chip-text strong{font-size:12.5px;max-width:155px}
.company-chip-text small{font-size:10px}
.backend-status{border-radius:100px;font-size:10.5px;white-space:nowrap}
.content{width:100%;max-width:1580px;padding:clamp(18px,2.75vw,38px) clamp(16px,2.8vw,38px) 72px}
.page-head{margin-bottom:25px}
.page-head h1{font-size:clamp(25px,3vw,37px)}
.page-head p,.ce3-pagehead p{color:var(--muted);line-height:1.67}
.ce3-shell{max-width:1460px}
.ce3-pagehead{position:relative;align-items:center;gap:22px;margin:0 0 24px;border-radius:24px;padding:26px 29px;background:linear-gradient(112deg,#0a2739 0%,#0c4e54 64%,#087f78 110%);border:1px solid rgba(255,255,255,.13);box-shadow:0 20px 44px rgba(8,70,81,.15);overflow:hidden}
.ce3-pagehead:after{content:'';position:absolute;width:290px;height:290px;right:-90px;top:-145px;border-radius:50%;border:46px solid rgba(255,255,255,.055);pointer-events:none}
.ce3-pagehead>div,.ce3-pagehead>.ce3-link{position:relative;z-index:1}
.ce3-pagehead .ce3-overline{color:#b8f5e5;font-size:10px;letter-spacing:.18em;margin-bottom:11px}
.ce3-pagehead h1{font-size:clamp(26px,2.8vw,36px);color:#fff;line-height:1.19;letter-spacing:-.055em;margin:2px 0 10px;font-weight:750}
.ce3-pagehead p{font-size:13.5px;color:#d3e7ea;max-width:660px}
.ce3-pagehead .ce3-link{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.36);color:#fff;backdrop-filter:blur(8px);min-height:43px}
.ce3-pagehead .ce3-link:hover{background:#fff;color:#0c5457}
.ce3-link{min-height:39px;border-radius:11px;font-weight:700;transition:background .2s,border-color .2s,color .2s,transform .2s;box-shadow:var(--shadow-sm)}
.ce3-link:hover{background:var(--primary-soft);transform:translateY(-1px)}
.ce3-kpigrid{gap:15px;margin-bottom:17px}
.ce3-kpi{position:relative;border:1px solid var(--line);border-radius:18px;min-height:150px;padding:19px 20px 16px;box-shadow:var(--shadow-sm);gap:11px;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.ce3-kpi:after{content:'';position:absolute;left:20px;right:20px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--primary);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.ce3-kpi:hover:after,.ce3-kpi:focus-visible:after{transform:scaleX(1)}
.ce3-kpi:nth-child(2) .ce3-kpi-head>span:last-child{background:#edf0ff;color:#5866bb}
.ce3-kpi:nth-child(3) .ce3-kpi-head>span:last-child{background:var(--warning-soft);color:var(--warning)}
.ce3-kpi:nth-child(4) .ce3-kpi-head>span:last-child{background:var(--info-soft);color:var(--info)}
.ce3-kpi-head{font-size:12.6px;color:var(--muted);font-weight:650}
.ce3-kpi-head>span:last-child{height:37px;width:37px;min-width:37px;display:grid;place-items:center;border-radius:12px;background:var(--primary-soft);color:var(--primary);font-size:18px}
.ce3-kpi-head svg{height:19px;width:19px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ce3-kpi strong{font-size:clamp(20px,2vw,29px);font-weight:750;line-height:1.25;color:var(--text)}
.ce3-kpi small{font-size:11px;line-height:1.5}
.ce3-mainrow{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:17px;margin-bottom:17px}
.ce3-panel,.card,.question-card,.form-card{border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow-sm);background:var(--surface)}
.ce3-panel{padding:23px 24px}
.ce3-sectionheading{margin-bottom:18px;align-items:center}
.ce3-sectionheading h2{font-size:17px}
.ce3-overline{font-size:10px;letter-spacing:.15em}
.ce3-priorities{border-top:3px solid var(--primary)}
.ce3-count{font-size:11px;padding:6px 11px;background:var(--primary-soft)}
.ce3-prioritylist{gap:6px}
.ce3-priority{padding:12px 8px;border-radius:12px;border:1px solid transparent;min-height:68px}
.ce3-priority:hover{background:var(--surface-2);border-color:var(--line)}
.ce3-priority-icon{width:40px;height:40px;flex-basis:40px;border-radius:12px}
.ce3-priority strong{font-size:13px}
.ce3-priority small{font-size:11px}
.ce3-empty{position:relative;border:1px dashed var(--ce-border-strong);background:linear-gradient(145deg,var(--primary-soft),var(--surface));padding:27px 24px;border-radius:15px}
.ce3-empty:before{content:'✓';display:grid;place-items:center;width:38px;height:38px;border-radius:13px;background:var(--primary);color:white;font-size:20px;margin-bottom:12px}
.ce3-empty strong{font-size:13px}
.ce3-empty p{font-size:11.5px}
.ce3-quickgrid{gap:10px}
.ce3-quick{min-height:65px;gap:11px;border-radius:13px;padding:12px;font-size:12px;background:var(--surface-2);transition:background .2s,border-color .2s,transform .2s}
.ce3-quick>span{display:grid;place-items:center;background:var(--surface);height:35px;width:35px;min-width:35px;border:1px solid var(--line);border-radius:10px;color:var(--primary);font-size:18px}
.ce3-quick:hover{transform:translateY(-2px);background:var(--primary-soft)}
.ce3-taskpanel{margin-bottom:18px}
.ce3-tasklist{gap:10px}
.ce3-task{min-height:56px;border-radius:12px;padding:12px 14px;background:var(--surface-2)}
.ce3-task strong{font-size:12px}
.ce3-task small{font-size:11px}
.ce3-task-dot{width:9px;height:9px;flex-basis:9px;box-shadow:0 0 0 4px var(--primary-soft)}
.ce3-explore{margin-top:25px}
.ce3-exploregrid{gap:13px}
.ce3-exploreitem{min-height:139px;border-radius:17px;padding:18px;gap:10px;background:var(--surface);box-shadow:var(--shadow-sm)}
.ce3-exploreitem>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--primary-soft);color:var(--primary);font-size:21px}
.ce3-exploreitem strong{font-size:13px}
.ce3-exploreitem small{font-size:11px}
.ce3-toolgrid{gap:13px}
.ce3-tool{min-height:108px;border-radius:16px;padding:16px;box-shadow:var(--shadow-sm)}
.ce3-tool-icon{height:44px;width:44px;flex:0 0 44px;border-radius:13px;font-size:20px}
.ce3-tool-copy strong{font-size:13px}
.ce3-tool-copy small{font-size:11px;line-height:1.55}
.ce3-workspace{scroll-margin-top:110px}
.ce3-readonly-note{background:var(--warning-soft);border-color:var(--line)}
.management-workspace,.management-shell,.management-catalog{color:var(--text)}
.card{padding:22px}
.card,.ce3-kpi,.ce3-panel,.ce3-tool,.ce3-exploreitem,.management-tool-card,.solution-card,.tool-card{transition:box-shadow .19s,border-color .19s,transform .19s}
:is(.card,.management-tool-card,.tool-card,.solution-card):hover{border-color:var(--ce-border-strong)}
.ce3-kpi:hover,.ce3-tool:hover,.ce3-exploreitem:hover,.management-tool-card:hover,.tool-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--primary)}
.card h2,.card h3,.ce3-panel h2{font-weight:750;color:var(--text)}
.metric-value{font-size:clamp(22px,2vw,30px)}
.metric-icon,.quick-icon,.solution-icon{border-radius:13px;background:var(--primary-soft)}
.btn,.ce-home-btn,.filter-btn,.management-tab,.ce3-link{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:750}
.btn{border-radius:12px;min-height:42px;padding:11px 17px;font-size:12.5px;transition:transform .18s,box-shadow .18s,background .18s}
.btn.primary{background:var(--primary);color:#fff;box-shadow:0 9px 20px rgba(8,126,122,.17)}
.btn.primary:hover{background:var(--primary-2);box-shadow:0 12px 25px rgba(8,126,122,.23);transform:translateY(-1px)}
body.dark .btn.primary{background:#188c85;color:#fff}
body.dark .btn.primary:hover{background:#0c7772}
.btn.secondary{background:var(--surface);border:1px solid var(--ce-border-strong);color:var(--text)}
.btn.secondary:hover{background:var(--surface-2)}
.btn.ghost{background:var(--primary-soft);color:var(--primary)}
.btn.danger{color:var(--danger);background:var(--danger-soft)}
.btn.small{min-height:34px;padding:7px 11px}
:is(.field,.tool-form,.form-grid) label{font-size:12px;font-weight:650;color:var(--text)}
:where(.field,.modal,.management-workspace,.tool-form) :is(input,select,textarea){
  background:var(--surface);border:1px solid var(--ce-border-strong);border-radius:11px;color:var(--text);
  min-height:44px;padding:10px 12px;font-size:13px;transition:border-color .17s,box-shadow .17s
}
:where(.field,.modal,.management-workspace,.tool-form) :is(input,select,textarea):focus{
  outline:none;border-color:var(--primary);box-shadow:var(--ce-ring)
}
:is(input,textarea)::placeholder{color:var(--muted);opacity:.78}
.field textarea,.tool-form textarea{min-height:105px;line-height:1.65}
input[type=checkbox],input[type=radio]{accent-color:var(--primary);min-height:0!important}
input[type=file]{max-width:100%}
.form-grid{gap:15px}
.tool-form{gap:15px}
.result-box{background:linear-gradient(130deg,var(--primary-soft),var(--surface));border:1px solid var(--line);border-radius:15px;padding:18px}
.result-box strong{font-size:26px}
.table-wrap,.polished-table-wrap{overflow-x:auto;max-width:100%;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
.table-wrap table,.polished-table-wrap table{margin:0;min-width:600px}
.table-wrap th,.polished-table-wrap th{background:var(--ce-thead);color:var(--muted);font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;padding:14px 15px}
.table-wrap td,.polished-table-wrap td{padding:14px 15px;font-size:12.5px}
.table-wrap tbody tr,.polished-table-wrap tbody tr{transition:background .17s}
.table-wrap tbody tr:hover,.polished-table-wrap tbody tr:hover{background:var(--surface-2)}
.table-wrap tbody tr:last-child td,.polished-table-wrap tbody tr:last-child td{border-bottom:0}
.filter-btn{min-height:38px;padding:8px 15px;font-size:12px;border:1px solid var(--line);border-radius:10px}
.filter-btn.active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}
.pill{letter-spacing:.015em;border-radius:8px;font-weight:700;padding:5px 9px}
.info-banner,.warning-note,.ce3-readonly-note{border-radius:13px;border:1px solid var(--line);padding:13px 16px;line-height:1.6}
.empty,.history-empty{color:var(--muted);padding:30px 20px}
.empty-icon{border-radius:15px}
.modal-backdrop{background:rgba(5,20,34,.58);backdrop-filter:blur(9px)}
.modal{width:min(800px,calc(100% - 24px));border-radius:21px;box-shadow:0 28px 90px rgba(4,24,45,.28);border:1px solid var(--line);overflow:auto}
.modal-header{padding:22px 26px 16px;background:var(--surface);border-bottom:1px solid var(--line)}
.modal-header h2{font-size:21px}
.modal-body{padding:24px 26px 28px}
.toast{display:flex;align-items:center;gap:10px;max-width:min(410px,calc(100vw - 30px));min-height:52px;right:22px;bottom:23px;border-radius:14px;background:#132d42;color:#fff;border:1px solid rgba(255,255,255,.12);padding:13px 17px 13px 15px;font-size:12.5px;font-weight:600;line-height:1.5;box-shadow:0 18px 36px rgba(5,27,41,.25)}
.toast:before{content:'i';display:grid;place-items:center;flex:0 0 23px;height:23px;border-radius:50%;border:1px solid rgba(255,255,255,.7);font-size:13px;font-weight:750}
.toast[data-tone=success]{background:#0b6459}.toast[data-tone=success]:before{content:'✓'}
.toast[data-tone=error]{background:#932f3e}.toast[data-tone=error]:before{content:'!'}
.toast[data-tone=warning]{background:#865a1d}.toast[data-tone=warning]:before{content:'!'}
.backend-status[data-status=success]{color:var(--primary)}
/* Tela de início público e autenticação: uma identidade em todos os pontos. */
.ce-home-shell,.ce-auth-screen,.ce-public-shell,.ce-legal-wrap{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.ce-home-shell :is(h1,h2,h3),.ce-auth-screen :is(h1,h2,h3){font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.04em}
.ce-home-header{backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.ce-home-product-card,.ce-home-window,.ce-home-metrics>div,.ce-home-score,
.ce-auth-card,.ce-legal-card{border-radius:18px}
.ce-home-btn.primary{background:var(--primary);color:#fff;border-radius:12px;box-shadow:0 9px 20px rgba(10,100,92,.16)}
.ce-home-btn.secondary{border-radius:12px}
.ce-home-btn:focus-visible{outline:3px solid var(--primary)!important;outline-offset:3px}
.ce-home-hero-grid{gap:clamp(18px,4vw,68px)}
.ce-home-kicker{letter-spacing:.13em}
.ce-home-product-card{box-shadow:0 24px 68px rgba(9,33,51,.15)}
.ce-home-proof span{border-radius:10px}
/* Loading explícito de interface, não simula números nem obscurece erros. */
.ce-visual-loading{max-width:1100px;margin:0 auto;padding:38px 16px}
.ce-visual-loading .ce-skeleton{border-radius:15px;background:linear-gradient(105deg,var(--surface-2) 9%,var(--line) 35%,var(--surface-2) 57%);background-size:220% 100%;animation:ce-shimmer 1.5s ease-in-out infinite}
.ce-visual-loading .ce-skeleton.head{height:88px;margin-bottom:22px}
.ce-visual-loading .ce-skeleton.row{height:120px}
.ce-visual-loading .ce-skeleton.short{height:18px;width:62%;margin-bottom:15px}
.ce-visual-loading .ce-skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@keyframes ce-shimmer{to{background-position-x:-220%}}

/* Pictogramas vetoriais: componentes únicos, sem fontes de ícone externas. */
.ce3-shell :is(.ce3-kpi-head,.ce3-quick,.ce3-exploreitem,.ce3-tool-icon,.ce3-priority-icon) svg{
 width:20px;height:20px;display:block;stroke:currentColor;fill:none;
 stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0
}
.ce3-quick>span svg{width:18px;height:18px}
.ce3-priority-icon svg{width:19px;height:19px}
.ce3-tool-icon svg{width:21px;height:21px}
.ce3-exploreitem>span svg{width:22px;height:22px}
.ce-visual-loading .sr-only,.sr-only{
 position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
 margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important
}

@media(max-width:1220px){
  .ce3-kpigrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ce3-exploregrid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ce3-toolgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .backend-status{max-width:130px;overflow:hidden;text-overflow:ellipsis}
}
@media(max-width:900px){
  .sidebar{box-shadow:18px 0 42px rgba(7,27,46,.22)}
  .ce3-mainrow{grid-template-columns:1fr}
  .ce3-pagehead{padding:24px}
  .ce3-exploregrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topbar{padding:0 15px}
}
@media(max-width:650px){
  .content{padding:18px 14px 55px}
  .topbar{height:64px;gap:8px;padding:0 10px}
  .icon-button{height:38px;width:38px;border-radius:10px}
  .topbar .top-search{min-width:0}
  .topbar .top-search input#globalSearch{height:40px!important;min-height:40px!important;padding-left:39px!important;font-size:11px!important}
  .topbar .top-actions{gap:5px}
  .company-chip{min-height:40px;max-width:108px;padding:3px 6px}
  .company-avatar{width:30px;height:30px;font-size:10px}
  .company-chip-text strong{max-width:58px;font-size:10.5px}
  .company-chip-text small{display:none}
  .ce3-pagehead{padding:21px 19px;border-radius:18px;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:16px}
  .ce3-pagehead h1{font-size:25px}
  .ce3-pagehead p{font-size:12px}
  .ce3-pagehead .ce3-link{width:100%}
  .ce3-kpigrid{gap:9px;margin-bottom:12px}
  .ce3-kpi{padding:14px;min-height:140px;border-radius:15px;gap:8px}
  .ce3-kpi-head{font-size:11px;align-items:flex-start}
  .ce3-kpi-head>span:last-child{height:31px;width:31px;min-width:31px}
  .ce3-kpi strong{font-size:clamp(16px,4.8vw,21px);overflow-wrap:anywhere}
  .ce3-kpi small{font-size:10px}
  .ce3-panel{padding:16px;border-radius:16px}
  .ce3-priority{min-height:62px;padding:10px 3px}
  .ce3-quick{min-height:58px;font-size:11px;padding:9px}
  .ce3-quick>span{height:30px;width:30px;min-width:30px}
  .ce3-exploregrid{gap:10px}
  .ce3-exploreitem{padding:13px;min-height:119px}
  .ce3-toolgrid{grid-template-columns:1fr}
  .modal-body{padding:17px}
  .modal-header{padding:17px}
  .table-wrap th,.table-wrap td{padding:11px 12px}
  .ce-visual-loading .ce-skeleton-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:390px){
  .topbar .top-actions{gap:3px}
  .company-chip-text{display:none}
  .ce3-kpi strong{font-size:16px}
  .ce3-quickgrid{grid-template-columns:1fr}
  .ce3-exploregrid{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}
}
@media(forced-colors:active){:where(button,a,input,select,textarea):focus-visible{outline:3px solid Highlight!important}}
