@charset "UTF-8";

/* Shared visual primitives for Gestão, Horas and the secure forms. */
.ui-system,.ui-auth,.ui-document{
  --ui-ink:#152638;
  --ui-muted:#506579;
  --ui-navy:#102438;
  --ui-accent:#12577e;
  --ui-highlight:#72d1d6;
  --ui-surface:#fff;
  --ui-canvas:#edf2f6;
  --ui-soft:#f5f8fb;
  --ui-line:#d8e3ec;
  --ui-radius:14px;
  --ui-small:8px;
  --ui-shadow:0 2px 4px #10243808,0 12px 30px #10243807;
  --ui-font:"Inter","Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  font-family:var(--ui-font);
  color:var(--ui-ink);
}
body.premium-ui.ui-system{
  --navy:var(--ui-navy);
  --navy2:#18374f;
  --blue:var(--ui-accent);
  --aqua:var(--ui-highlight);
  --paper:var(--ui-canvas);
  --ink:var(--ui-ink);
  --muted:var(--ui-muted);
  --line:var(--ui-line);
  --surface:var(--ui-surface);
  --surface-soft:var(--ui-soft);
  --surface-blue:#e9f2f8;
  --brand-radius:var(--ui-radius);
  --brand-shadow:var(--ui-shadow);
  --ui-rail:224px;
  margin:0;
  font-size:14px;
  letter-spacing:0;
  background:radial-gradient(85% 400px at 82% 0,#fbfdff 0,transparent 100%),var(--ui-canvas);
}
:is(.ui-system,.ui-auth,.ui-document) [hidden]{display:none!important}
:is(.ui-system,.ui-auth,.ui-document) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid #11769a;
  outline-offset:3px;
}
.ui-skip-link{
  position:fixed;top:12px;left:12px;z-index:1500;
  transform:translateY(-180%);padding:10px 14px;background:#fff;color:var(--ui-navy);
  border:1px solid var(--ui-line);border-radius:var(--ui-small);
}
.ui-skip-link:focus{transform:none}
body.ui-system .sidebar{
  width:var(--ui-rail);padding:22px 15px 18px;box-sizing:border-box;
  background:linear-gradient(162deg,#142e43 0,#0a1c2e 48%,#0c2132 100%);
  box-shadow:inset -1px 0 #9cd5e321;
  border:0;color:#d6e5ed;
}
body.ui-system .sidebar .brand{
  gap:9px;padding:8px 10px 19px;margin-bottom:13px;
  border-bottom:1px solid #b5c8d527;
}
body.ui-system .brand img{width:136px;max-width:100%;height:auto;object-fit:contain}
body.ui-system .brand span{
  color:#a9c3d2;font-family:var(--ui-font);
  font-size:9px;letter-spacing:.13em;line-height:1.45;font-weight:680;
}
body.ui-system .sidebar nav{gap:5px}
body.ui-system .sidebar nav .nav-section{margin:3px 8px 6px;padding:0}
body.ui-system .sidebar nav .nav-section span{color:#a0b9c9;font-size:9px;letter-spacing:.1em}
body.ui-system .sidebar nav button{
  min-height:42px;padding:9px 11px!important;gap:10px;box-shadow:none;
  color:#c6d7e2;font-size:13px;font-weight:610;border:1px solid transparent!important;
  border-radius:9px;letter-spacing:.005em;transform:none;
}
body.ui-system .sidebar nav button .nav-icon{color:#9db7c7}
body.ui-system .sidebar nav button:hover{color:white;background:#ffffff0b;transform:none}
body.ui-system .sidebar nav button.active{
  background:#234459!important;border-color:#7bc9d041!important;
  box-shadow:none;color:#faffff;
}
body.ui-system .sidebar nav button.active:before{
  width:3px;left:0;top:10px;bottom:10px;border-radius:0 4px 4px 0;background:var(--ui-highlight)
}
body.ui-system .sidebar nav button.active .nav-icon{color:var(--ui-highlight)}
body.ui-system .sidebar-bottom{border-top-color:#b5c8d527;padding:15px 1px 0}
body.ui-system .sidebar-bottom .account{
  padding:9px 8px;gap:10px;border-radius:9px;background:#ffffff0b;border:1px solid #a6bfcc22;
}
body.ui-system .sidebar-bottom .account strong{color:#eff7fc;font-size:12px}
body.ui-system .sidebar-bottom .account small{color:#b2c9d8}
body.ui-system .sidebar-bottom .avatar{background:#204257;color:#b5eff0;border:1px solid #7ac7ca43}
body.ui-system .sidebar-bottom>a,body.ui-system .sidebar-bottom>button,body.ui-system .sidebar-bottom .version{color:#b2c9d8}
body.ui-system .workspace{margin-left:var(--ui-rail);min-width:0}
body.ui-system .workspace .topbar{
  position:sticky;top:0;z-index:14;min-height:62px;box-sizing:border-box;
  padding:10px clamp(18px,2.3vw,36px);gap:14px;
  background:#fcfdffed;border-bottom:1px solid #dce6ee;
  box-shadow:0 1px 4px #10243805;backdrop-filter:blur(13px);
}
body.ui-system .topbar .breadcrumb-wrap{
  font-size:12px;color:var(--ui-muted);min-width:0;flex:0 1 auto;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
body.ui-system .topbar .breadcrumb-wrap strong{color:var(--ui-ink);font-weight:720}
body.ui-system .topbar .breadcrumb-wrap i{margin-inline:5px;color:#70869a}
body.ui-system .topbar>.global-search{flex:1 1 310px;min-width:0;max-width:520px;margin-inline:auto}
body.ui-system .topbar #globalSearch{height:36px;color:var(--ui-ink);border-color:var(--ui-line);background-color:#f3f7fa}
body.ui-system .topbar .search-shortcut{background:white;border-color:var(--ui-line);color:var(--ui-muted)}
body.ui-system .topbar .management-tools-trigger{min-height:36px;color:var(--ui-ink)}
body.ui-system .topbar>a{font-size:12px;color:var(--ui-accent);white-space:nowrap}
body.ui-system .workspace main{max-width:1720px;padding:24px clamp(18px,2.3vw,36px) 36px;margin-inline:auto;min-width:0;box-sizing:border-box}
body.ui-system #content{min-width:0;scroll-margin-top:78px}
body.ui-system #content.view-enter{animation:none}
body.ui-system .page-title{
  position:relative;isolation:isolate;gap:16px;align-items:center;
  padding:23px 24px;margin:0 0 18px;border:1px solid var(--ui-line);border-radius:var(--ui-radius);
  background:linear-gradient(115deg,#fff 30%,#f3f8fb 100%);box-shadow:var(--ui-shadow)
}
body.ui-system .page-title:before{
  content:"";position:absolute;inset:19px auto 19px 0;width:3px;
  border-radius:0 4px 4px 0;background:linear-gradient(180deg,#4896ad,#b6dce3);pointer-events:none;
}
body.ui-system .page-title:after{
  content:"";position:absolute;z-index:-1;inset:0 0 0 auto;width:40%;opacity:.10;
  background-image:var(--ui-mast-image,none);background-position:center right;background-size:cover;
  mask-image:linear-gradient(90deg,transparent,#000 55%);border-radius:inherit;pointer-events:none;
}
.ui-system .page-title[data-ui-area="production"]{--ui-mast-image:url("/gestao/assets/page-banners/obras.webp")}
.ui-system .page-title[data-ui-area="clients"]{--ui-mast-image:url("/gestao/assets/page-banners/clientes.webp")}
.ui-system .page-title[data-ui-area="rh"]{--ui-mast-image:url("/gestao/assets/page-banners/rh.webp")}
.ui-system .page-title[data-ui-area="finance"]{--ui-mast-image:url("/gestao/assets/page-banners/financeiro.webp")}
.ui-system .page-title[data-ui-area="logistics"]{--ui-mast-image:url("/gestao/assets/page-banners/viagens.webp")}
.ui-system .page-title[data-ui-area="admin"]{--ui-mast-image:url("/gestao/assets/page-banners/gestao.webp")}
body.ui-system .page-title #title{
  margin:3px 0 0;color:var(--ui-navy);font-weight:720;line-height:1.06;letter-spacing:-.045em;
  font-size:clamp(29px,3.2vw,42px);text-wrap:balance;overflow-wrap:anywhere;
}
body.ui-system .page-title #subtitle{
  max-width:72ch;margin:8px 0 0;color:var(--ui-muted);font-size:13px;line-height:1.55;
}
body.ui-system .page-title #pageEyebrow{
  display:block;margin:0;color:#345a75;font-size:10px;letter-spacing:.095em;font-weight:720;
}
body.ui-system .page-title #pageEyebrow:empty{display:none}
body.ui-system .page-title #pageEyebrow:before{width:13px;height:2px;vertical-align:3px;background:#438eaa}
body.ui-system #sectionBanner{display:none!important}
body.ui-system .ui-footer{border-color:var(--ui-line);color:var(--ui-muted);font-size:11px;padding-top:14px;margin-top:24px}
body.ui-system #subnav{display:flex;grid-template-columns:none;padding:5px;gap:8px;align-items:center;background:var(--ui-surface);border:1px solid var(--ui-line);box-shadow:var(--ui-shadow)}
body.ui-system .subnav>.subnav-head{display:none}
body.ui-system #subnav .subnav-tabs{display:flex;flex-wrap:wrap;flex:1 1 100%;width:100%;min-width:0;gap:4px;justify-content:flex-start}
body.ui-system .subnav-tabs button{
  min-height:36px;font-size:12px;font-weight:650;padding:8px 12px;border-radius:8px;
}
body.ui-system .subnav-tabs button:not(.active){color:#354f64;background:transparent;border-color:transparent;box-shadow:none}
body.ui-system .subnav-tabs button:not(.active):hover{background:var(--ui-soft);color:var(--ui-navy)}
body.ui-system .subnav-tabs button.active,body.ui-system .sfp-inline-tabs button.active{background:#193e56;color:#fff;box-shadow:none}
body.ui-system :is(.weekbar,.filters,.section-toolbar,.prod-toolbar,.fin-toolbar,.legal-toolbar,.log-toolbar,.pay-toolbar,.record-toolbar){
  border-radius:11px;border-color:var(--ui-line);background:#fff;color:var(--ui-ink);box-shadow:var(--ui-shadow);
  gap:9px;min-width:0;
}
body.ui-system .weekbar :is(.actions,.weekpicker){gap:7px}
body.ui-system .weekbar input{font-weight:650;font-variant-numeric:tabular-nums}
body.ui-system .weekbar small{color:var(--ui-muted)}
body.ui-system :is(.panel,.kpi,.prod-card,.prod-kpi,.fin-kpi,.commercial-kpi,.legal-kpi,.pay-kpi,.garnish-kpi,
  .log-stat,.sfp-dashboard-section,.sfp-command-kpi,.travel-kpis>article,.dashboard-country-summary,.dashboard-evolution){
  min-width:0;border:1px solid var(--ui-line);border-radius:var(--ui-radius);
  background:#fff;color:var(--ui-ink);box-shadow:var(--ui-shadow);
}
body.ui-system .panel{padding:16px 18px}
body.ui-system :is(.panel-head,.sfp-section-head,.commercial-detail-head,.travel-detail-head,.profile-header){
  min-width:0;border-bottom-color:#e5edf3;gap:12px;
}
body.ui-system :is(.panel-head,.sfp-section-head,.profile-header) h2{
  color:var(--ui-navy);font-weight:720;letter-spacing:-.028em;line-height:1.19;
}
body.ui-system :is(.panel-head,.sfp-section-head,.profile-header) p{color:var(--ui-muted);line-height:1.5}
body.ui-system :is(.panel-head,.sfp-section-head,.profile-header)>.actions{display:flex;align-items:center;flex-wrap:wrap}
body.ui-system :is(.prod-kpi,.fin-kpi,.commercial-kpi,.legal-kpi,.pay-kpi,.garnish-kpi,.sfp-command-kpi,.travel-kpis>article) strong{
  color:var(--ui-navy);font-weight:730;font-variant-numeric:tabular-nums;letter-spacing:-.045em
}
body.ui-system :is(.panel,.page-title,.sfp-dashboard-section) .eyebrow{color:#345a75}
body.ui-system .empty{
  background:#f9fbfd;color:var(--ui-muted);border:1px dashed #bdceda;border-radius:11px;line-height:1.6;
}
body.ui-system :is(.notice,.commercial-help,.sfp-form-alert){
  border-radius:9px;border-color:#cbdbe7;background:#edf5fa;color:#234a64;box-shadow:none;
}
body.ui-system :is(.notice.warn,.notice.warning,.notice.review,.notice[data-ui-tone="warning"]){
  background:#fff6e3;border-color:#e6c685;color:#694712;
}
body.ui-system :is(.notice.error,.notice.danger,.form-error:not(:empty)){
  background:#fff1ef;border-color:#e7b9b3;color:#842a27;
}
body.ui-system :is(.notice.success,.notice.ok){background:#eaf7f1;border-color:#b6ddcc;color:#1a5b4c}
body.ui-system :is(.notice,.commercial-help) :is(button,.button-link){box-shadow:none}
body.ui-system :is(button,.button-link){
  border-radius:var(--ui-small);font-family:var(--ui-font);min-height:34px;box-shadow:none;
}
body.ui-system :is(button,.button-link):hover:not(:disabled){transform:none}
body.ui-system :is(button.primary,.button-link.primary,button[data-ui-action="primary"]){
  background:#165576;border-color:#165576;color:white;
  font-weight:680;box-shadow:0 2px 5px #0e527526,inset 0 1px #ffffff26;
}
body.ui-system :is(button.primary,.button-link.primary,button[data-ui-action="primary"]):hover:not(:disabled){
  background:#103f5d;border-color:#103f5d;color:#fff;
}
body.ui-system button:disabled{opacity:.62;cursor:not-allowed}
body.ui-system :is(button.danger,button.danger-soft){color:#852d2a;border-color:#e1b4ac;background:#fff5f3}
body.ui-system :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  border-color:#cbd9e3;border-radius:var(--ui-small);color:var(--ui-ink);
  font-family:var(--ui-font);
}
body.ui-system :is(input,select,textarea):focus-visible{border-color:#2681a0}
body.ui-system :is(input[type=checkbox],input[type=radio]){accent-color:var(--ui-accent)}
body.ui-system :is(label,legend){color:#334f62}
body.ui-system :is(fieldset,.sfp-form-section,.log-form-section){min-width:0}
body.ui-system :is(#driverAdvancePanel,[data-exchange-record]) fieldset{
  border:1px solid var(--ui-line);border-radius:11px;padding:12px 14px;
}
body.ui-system [data-exchange-record] section{padding:8px 0;border-bottom:1px solid var(--ui-line)}
body.ui-system [data-exchange-record] :is(textarea,input[type=url]){width:100%}
body.ui-system .badge{font-weight:700;line-height:1.2;border-radius:5px}
body.ui-system .badge.approved,body.ui-system .badge.closed{color:#164d3f;background:#e6f4ee;border-color:#bbdccc}
body.ui-system .badge.review,body.ui-system .badge.pending{color:#62430f;background:#fff3d8;border-color:#eacb91}
body.ui-system .badge.submitted{color:#214e70;background:#e8f2fa;border-color:#c6dcea}
body.ui-system .ui-table-frame,body.ui-system :is(.sheet-scroll,.registry-table-wrap,.dashboard-country-table-wrap){
  width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;
  border:1px solid var(--ui-line);border-radius:10px;background:#fff;box-shadow:none;
  scrollbar-color:#a2b7c7 #edf3f7;
}
body.ui-system .ui-table-frame{margin-block:5px}
body.ui-system .ui-table-frame>table{margin:0;border:0}
body.ui-system :is(.sheet th,.registry-table th,.commercial-table th,.dashboard-country-table th){
  padding-block:9px;background:#edf3f8;color:#38556a;border-bottom:1px solid #cad9e5;
  font-weight:750;letter-spacing:.035em;
}
body.ui-system :is(.sheet td,.registry-table td,.commercial-table td,.dashboard-country-table td){
  border-bottom-color:#e8eef2;font-variant-numeric:tabular-nums;
}
body.ui-system .sheet tbody tr:not(.group):hover>td{background:#f1f7fb}
body.ui-system .country-block,.ui-system .commercial-measurement-grid-scroll{min-width:0;max-width:100%}
body.ui-system .group td{background:#183f57;color:white;box-shadow:inset 3px 0 #73c2c8}
body.ui-system .dashboard-management-hero{
  min-height:212px;align-items:stretch;gap:24px;padding:25px 28px;
  border-radius:17px;border:1px solid #24465d!important;box-shadow:0 12px 32px #102b4624;
  background-color:#122d46;
}
body.ui-system .dashboard-management-hero .dashboard-hero-copy{min-width:0}
body.ui-system .dashboard-management-hero h2{font-size:clamp(25px,3vw,42px);font-weight:690;letter-spacing:-.045em}
body.ui-system .dashboard-management-hero h2 b{font-weight:760;color:white;font-variant-numeric:tabular-nums}
body.ui-system .dashboard-management-hero h2 span{display:inline-block;margin-top:4px;font-size:clamp(15px,1.75vw,22px)}
body.ui-system .dashboard-management-hero p{font-size:13px;line-height:1.52}
body.ui-system .dashboard-management-hero .dashboard-hero-week{
  flex-shrink:0;min-width:183px!important;justify-content:flex-end!important;
}
body.ui-system .dashboard-management-kpis{gap:10px}
body.ui-system .dashboard-management-kpis .dashboard-stat{
  border-top:3px solid #73afc2;min-height:95px;padding:12px 13px;
}
body.ui-system .dashboard-management-kpis .dashboard-stat strong{font-size:26px;font-variant-numeric:tabular-nums}
body.ui-system .dashboard-management-kpis .dashboard-stat small{color:var(--ui-muted)}
body.ui-system dialog{
  border:1px solid #cedce6;border-radius:17px;box-shadow:0 28px 92px #10243852;
  background:#fff;color:var(--ui-ink);
}
body.ui-system dialog::backdrop{background:#0a1c2e99;backdrop-filter:blur(3px)}
body.ui-system dialog#dialog[open]{
  display:flex;flex-direction:column;max-height:calc(100dvh - 50px);overflow:hidden;
  max-width:min(1460px,calc(100vw - 38px));padding:16px 18px;
}
body.ui-system #dialog .dialog-head{
  flex:0 0 auto;padding:0 0 12px;margin:0 0 11px;min-width:0;border:0;border-bottom:1px solid var(--ui-line);
}
body.ui-system #dialog .dialog-head h2{color:var(--ui-navy);font-size:clamp(17px,2vw,24px);letter-spacing:-.025em;line-height:1.15}
body.ui-system #dialog .dialog-head .eyebrow{font-size:9px;color:var(--ui-muted)}
body.ui-system #dialog #dialogBody{
  flex:1 1 auto;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;
  scrollbar-color:#a2b7c7 #edf3f7;
}
body.ui-system #dialog #closeDialog{flex:0 0 38px;width:38px;height:38px;border-radius:9px;background:#edf3f7;color:#22485f}
body.ui-system #dialog .dialog-actions{border-color:var(--ui-line);gap:8px;flex-wrap:wrap}
body.ui-system #dialog .dialog-actions button{min-height:37px}
body.ui-system #dialog .form-error:empty{display:none}
body.ui-system #dialog #dialogBody>.form-grid{min-width:0}
body.ui-system #dialog :is(.form-grid,.dialog-actions)>*{min-width:0}
body.ui-system #dialog textarea{max-width:100%}

/* Long data grids retain their columns inside their own scroll area. */
body.ui-system :is(main,#content,section,article,.workspace,.panel,.workspace>header){min-width:0}
body.ui-system #content>[style*="grid"],body.ui-system #content :is(.profit-grid,.profit-wrap,.log-center,.inbox-layout){max-width:100%}
body.ui-system a,body.ui-system dd{overflow-wrap:anywhere}
body.ui-system :is(.profit-controls,.profit-toolbar,.fin-module-toolbar,.inbox-history-card,.log-history-toolbar){flex-wrap:wrap;min-width:0}

@media(max-width:1020px){
  body.ui-system{--ui-rail:203px}
  body.ui-system .workspace .topbar{gap:9px;padding-inline:16px}
  body.ui-system .workspace main{padding-inline:16px}
  body.ui-system .topbar .search-shortcut{display:none}
  body.ui-system .topbar #globalSearch{padding-right:12px}
}
@media(max-width:880px){
  body.ui-system .workspace{margin-left:0}
  body.ui-system .sidebar{width:auto;padding:11px 14px}
  body.ui-system .sidebar .brand{padding:0 0 10px;margin:0 0 6px}
  body.ui-system .sidebar nav{white-space:nowrap}
  body.ui-system .sidebar nav button{min-height:34px}
  body.ui-system .workspace .topbar{min-height:55px;padding:8px 12px;gap:7px}
  body.ui-system .workspace main{padding:14px 13px 25px}
  body.ui-system .topbar>a{display:none}
  body.ui-system .topbar>.global-search{max-width:none}
  body.ui-system #subnav .subnav-tabs{
    flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;width:100%;scrollbar-color:#a3bacb #eef4f8;
  }
  body.ui-system .subnav-tabs button{flex:0 0 auto;white-space:nowrap}
}
@media(max-width:580px){
  body.ui-system .workspace .topbar{display:grid;grid-template-columns:minmax(0,1fr) auto}
  body.ui-system .topbar .breadcrumb-wrap{font-size:11px}
  body.ui-system .topbar>.global-search{grid-column:1/-1;grid-row:2;width:100%;margin:0}
  body.ui-system .topbar #globalSearch{width:100%;height:36px}
  body.ui-system .topbar .management-tools-wrap{grid-column:2;grid-row:1}
  body.ui-system .topbar .management-tools-trigger{font-size:11px;min-height:36px;padding-inline:8px}
  body.ui-system .topbar .global-search-results{width:100%;max-width:100%;right:0}
  body.ui-system .page-title{flex-wrap:wrap;gap:11px;padding:16px;margin-bottom:12px}
  body.ui-system .page-title #title{font-size:29px;line-height:1.1}
  body.ui-system .page-title #subtitle{font-size:12px;line-height:1.5}
  body.ui-system .page-title #importOpen{width:auto;min-height:38px}
  body.ui-system :is(.panel,.sfp-dashboard-section){padding:13px}
  body.ui-system :is(.panel-head,.sfp-section-head,.profile-header){align-items:flex-start;flex-wrap:wrap}
  body.ui-system .dashboard-management-hero{padding:18px;min-height:0;gap:12px}
  body.ui-system .dashboard-management-hero h2{font-size:28px}
  body.ui-system .dashboard-management-hero .dashboard-hero-week{
    padding:11px 0 0!important;min-width:0!important;border:0;border-top:1px solid #b1d4e354;
  }
  body.ui-system .dashboard-management-kpis .dashboard-stat{padding:10px 9px;min-height:84px}
  body.ui-system .dashboard-management-kpis .dashboard-stat strong{font-size:23px}
  body.ui-system .weekbar :is(.actions,.weekpicker){display:flex;flex-wrap:wrap}
  body.ui-system .weekbar .docbar-note{margin:0}
  body.ui-system #subnav{display:block;padding:4px}
  body.ui-system .subnav-tabs button{min-height:38px}
  body.ui-system dialog#dialog[open]{
    width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px);max-height:calc(100dvh - 14px);
    padding:12px;border-radius:13px;
  }
  body.ui-system #dialog .dialog-head{padding-bottom:8px;margin-bottom:8px}
  body.ui-system #dialogBody>.form-grid,body.ui-system #dialogBody .form-grid{grid-template-columns:minmax(0,1fr)}
  body.ui-system #dialogBody .form-grid>*{grid-column:1/-1}
  body.ui-system #driverAdvancePanel form{max-width:100%}
}
html.embedded-workspace-root body.ui-system .workspace,html.embedded-workspace-root body.ui-system .workspace main{margin-left:0}
html.embedded-workspace-root .ui-skip-link{display:none!important}

/* Login and security keep a consistent type scale, controls and branding. */
body.ui-auth{
  background:#ebf1f5;color:var(--ui-ink);font-family:var(--ui-font)
}
body.ui-auth .login-panel{background:#f7fafc;color:var(--ui-ink)}
body.ui-auth .login-form-wrap{background:#fff;border:1px solid #d7e2eb;border-radius:18px;box-shadow:var(--ui-shadow)}
body.ui-auth .login-form-wrap>h2{color:var(--ui-navy);letter-spacing:-.04em;font-weight:730}
body.ui-auth .login-form-wrap .eyebrow{color:#31596f}
body.ui-auth .login-form label{color:#234255}
body.ui-auth .login-form input{border:1px solid #c9d8e1;border-radius:9px;background:#f7fafb;color:var(--ui-ink)}
body.ui-auth .login-form .primary-button{
  border-radius:9px;color:#fff;background:#145778;border-color:#145778;box-shadow:0 6px 18px #10496b23
}
body.ui-auth .login-copy h1{letter-spacing:-.042em;text-wrap:balance}
body.ui-auth .area-choice{background:#f5f9fc;border-color:#d8e4ed;color:#19374d}
body.ui-auth .security-note{color:#4a6678}
@media(max-width:620px){
  body.ui-auth .login-panel{padding:18px 12px 28px}
  body.ui-auth .login-form-wrap{padding:22px 17px}
  body.ui-auth .mobile-brand{display:block;margin-bottom:14px}
  body.ui-auth .mobile-brand img{max-width:155px}
}

/* Shared surfaces for links opened by workers and recipients. */
body.ui-document{background:radial-gradient(92% 400px at 50% 0,#f9fcff,#edf2f6);color:var(--ui-ink)}
body.ui-document main{
  width:min(680px,calc(100% - 28px));box-sizing:border-box;padding:22px clamp(14px,4vw,32px);
  margin:clamp(12px,4vw,34px) auto;border:1px solid var(--ui-line);border-radius:16px;
  box-shadow:var(--ui-shadow);background:#fff;
}
body.ui-document :is(h1,h2){color:var(--ui-navy);letter-spacing:-.035em}
body.ui-document h1{font-size:clamp(24px,5.2vw,34px);line-height:1.17}
body.ui-document main img{max-width:min(180px,70%)}
body.ui-document :is(input,textarea,select){max-width:100%;box-sizing:border-box;border-color:#c7d7e2;border-radius:7px;color:var(--ui-ink)}
body.ui-document button{background:#155779;color:#fff;border-color:#155779;border-radius:8px;min-height:39px}
body.ui-document button:disabled{opacity:.6}
body.ui-document article{border-color:var(--ui-line);background:#f9fbfd;border-radius:11px}
body.ui-document form{min-width:0}
@media(prefers-reduced-motion:reduce){
  body.ui-system *,body.ui-system *::before,body.ui-system *::after{
    animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important;
  }
}

/* Identidade INOVAFA — porcelana, cobalto e traço de execução. */
.ui-system,.ui-auth,.ui-document{
  --ui-ink:#171d30;
  --ui-muted:#50596a;
  --ui-navy:#151a28;
  --ui-accent:#2448d8;
  --ui-highlight:#9db0ff;
  --ui-copper:#eabb72;
  --ui-porcelain:#f7f4ed;
  --ui-canvas:#f2f0e9;
  --ui-surface:#fffefa;
  --ui-soft:#f5f4ef;
  --ui-line:#d8d9df;
  --ui-radius:8px;
  --ui-small:6px;
  --ui-shadow:0 1px 2px #181e3310,0 8px 24px #41425a0b;
  --ui-display:Georgia,"Times New Roman",serif;
  --ui-spec:"Cascadia Mono",Consolas,monospace;
  --ui-film:url("/gestao/assets/inovafa-estudio-painel.webp");
  --ui-entry:url("/gestao/assets/inovafa-estudio-acesso.webp");
}
body.premium-ui.ui-system{
  --navy2:#252d47;
  --surface-blue:#ebeffd;
  background:radial-gradient(90% 410px at 88% 0,#fcfaf4 0,transparent 100%),var(--ui-canvas);
}
:is(.ui-system,.ui-auth,.ui-document) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline-color:#3459e6;
}

/* A navegação é uma peça clara independente da área de trabalho. */
body.ui-system .sidebar{
  color:#1b243a;
  background:
    linear-gradient(90deg,#2448d813,transparent 14px) 100% 0/24px 100% no-repeat,
    linear-gradient(158deg,#f8f6ef 0%,#f0eee7 84%,#e8e8e7);
  box-shadow:inset -1px 0 #cfd1da,5px 0 18px #201e360a;
}
body.ui-system .sidebar .brand{
  position:relative;isolation:isolate;
  background:#191f34;
  border:1px solid #2b3a63;border-radius:7px 7px 2px 2px;
  padding:13px 12px 14px;
  box-shadow:0 8px 20px #151c3626;
}
body.ui-system .sidebar .brand::after{
  content:"";position:absolute;inset:5px 6px;z-index:-1;border:1px solid #9fb4ff2e;
  background:
    linear-gradient(#eabb72,#eabb72) right top/18px 1px no-repeat,
    linear-gradient(#eabb72,#eabb72) right top/1px 9px no-repeat,
    linear-gradient(150deg,#2c386c52,transparent 42%,#2448d824);
  pointer-events:none;
}
body.ui-system .sidebar .brand span{color:#cbd4f5;font-family:var(--ui-spec);font-size:9px;letter-spacing:.09em}
body.ui-system .sidebar nav .nav-section span{
  color:#5a6274;font-family:var(--ui-spec);font-weight:650;letter-spacing:.075em;
}
body.ui-system .sidebar nav button{color:#232c40;border-radius:5px;font-weight:650;}
body.ui-system .sidebar nav button .nav-icon{color:#535f83}
body.ui-system .sidebar nav button:hover{
  color:#173588;background:#e4eaff;border-color:#c8d4ff!important;
}
body.ui-system .sidebar nav button.active{
  color:#fff;background:linear-gradient(107deg,#21378e,#2848c7 88%)!important;
  border-color:#2945bd!important;box-shadow:inset 0 1px #e1e8ff2b,0 5px 12px #233f9829;
}
body.ui-system .sidebar nav button.active .nav-icon{color:#e0e8ff}
body.ui-system .sidebar nav button.active::before{
  background:#ffd58e;box-shadow:1px 0 7px #edbc7073;
  top:8px;bottom:8px;width:2px;border-radius:0;
}
body.ui-system .sidebar-bottom{border-top-color:#c9ccd7}
body.ui-system .sidebar-bottom .account{
  background:#fffdf6;border-color:#d5d6df;box-shadow:0 2px 6px #1d25470b;border-radius:5px;
}
body.ui-system .sidebar-bottom .account strong{color:#19223b}
body.ui-system .sidebar-bottom :is(.account small,a,button,.version){color:#4f5870}
body.ui-system .sidebar-bottom .avatar{color:#273b96;background:#e9edff;border-color:#d1d8fa}
body.ui-system .sidebar-bottom :is(a,button):hover{color:#1737a4}
body.ui-system .sidebar-bottom .version{font-family:var(--ui-spec);font-size:8px;letter-spacing:-.02em}
body.ui-system .workspace .topbar{
  border-color:#d5d6db;background:#fffdf6f5;box-shadow:0 2px 12px #2427480d;
}
body.ui-system .topbar .breadcrumb-wrap{color:#57617a}
body.ui-system .topbar .breadcrumb-wrap strong{color:#181e30}
body.ui-system .topbar #globalSearch{
  background:#f3f2f0;border-color:#d2d5df;box-shadow:inset 0 1px 2px #16223d09;
}
body.ui-system .topbar #globalSearch:focus{
  background:#fff;border-color:#5676ee;box-shadow:0 0 0 2px #dce5ff;
}
body.ui-system .topbar .search-shortcut{background:#fffcf7;border-color:#d0d5e3;color:#435072}
body.ui-system .topbar :is(.global-search-results,.management-tools-menu){
  background:#fffefa;border-color:#cdd4e4;box-shadow:0 14px 38px #17234829;
}

/* Os cabeçalhos usam a linguagem de uma folha de projeto. */
body.ui-system .page-title{
  background:
    linear-gradient(#516cc260,#516cc260) calc(100% - 13px) 12px/26px 1px no-repeat,
    linear-gradient(#516cc260,#516cc260) calc(100% - 13px) 12px/1px 22px no-repeat,
    linear-gradient(110deg,#fffdfa 0%,#f9f7f0 51%,#e9edfa 100%);
  border-radius:4px 10px 4px 4px;border-color:#cdd1de;
  box-shadow:0 1px 3px #1a28410d,0 12px 28px #424c6411;
}
body.ui-system .page-title::before{
  inset:16px auto 16px 0;width:3px;border-radius:0;
  background:linear-gradient(180deg,#e0ac62 0 30%,#3557ce 30%);
}
body.ui-system .page-title::after{
  width:61%;opacity:.52;mask-image:linear-gradient(90deg,transparent,#000 69%);
  background:
    repeating-linear-gradient(90deg,#5e72bb2e 0 1px,transparent 1px 28px),
    repeating-linear-gradient(0deg,#5e72bb2e 0 1px,transparent 1px 28px),
    linear-gradient(128deg,transparent 0 59%,#5b72c322 59.1% 59.4%,transparent 59.5%),
    linear-gradient(90deg,transparent,#9eb1ef61);
}
body.ui-system .page-title #title{
  font-family:var(--ui-display);font-weight:500;letter-spacing:-.048em;color:#181e32;
  font-size:clamp(32px,3.6vw,50px);
}
body.ui-system .page-title #subtitle{color:#475266;max-width:70ch}
body.ui-system .page-title #pageEyebrow{
  color:#314b91;font-family:var(--ui-spec);font-weight:700;letter-spacing:.085em;
}
body.ui-system .page-title #pageEyebrow::before{background:#a2692a;}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]){
  --mast-shadow:#111e3b;
  --mast-peek:#f5cc8b;
  border-color:#253951;
  background:linear-gradient(109deg,var(--mast-shadow) 16%,var(--mast-light,#304987) 100%);
  box-shadow:0 1px 3px #15193029,0 12px 24px #293b641d;
}
.ui-system .page-title[data-ui-area="rh"]{--mast-light:#423d68;}
.ui-system .page-title[data-ui-area="finance"]{--mast-light:#32506f;}
.ui-system .page-title[data-ui-area="logistics"]{--mast-light:#284e67;}
.ui-system .page-title[data-ui-area="clients"]{--mast-light:#344980;}
.ui-system .page-title[data-ui-area="admin"]{--mast-light:#4c426d;}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""])::after{
  width:56%;
  background:
    linear-gradient(#eabb72b5,#eabb72b5) calc(100% - 18px) 15px/26px 1px no-repeat,
    linear-gradient(#eabb72b5,#eabb72b5) calc(100% - 18px) 15px/1px 19px no-repeat,
    repeating-linear-gradient(90deg,#c2cfff2b 0 1px,transparent 1px 25px),
    repeating-linear-gradient(0deg,#c2cfff24 0 1px,transparent 1px 25px),
    linear-gradient(90deg,#171b36aa,#121e4d34 90%),
    var(--ui-mast-image,var(--ui-film)) 92% 51%/cover no-repeat;
  mask-image:linear-gradient(90deg,transparent,#000 60%);
  opacity:.85;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""])::before{
  background:linear-gradient(180deg,var(--mast-peek) 38%,#88a6ff 38%);
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #title{color:#fffaf0}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #subtitle{color:#e1e7f3}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #pageEyebrow{color:#d0deff}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #pageEyebrow::before{background:var(--mast-peek);}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #importOpen{
  border-color:#a8bcff6e;box-shadow:inset 0 1px #e1e8ff26,0 4px 9px #08123044;
}
body.ui-system #subnav{
  padding-block:4px;
  border-color:#d3d7e2;
  background:#fffdf5;
}
body.ui-system #subnav .subnav-tabs button{
  position:relative;border-radius:3px;font-weight:660;
}
body.ui-system #subnav .subnav-tabs button.active{
  color:#203a9b;background:#e8edff;
  box-shadow:inset 0 -2px #3157dc;
}
body.ui-system #subnav .subnav-tabs button:not(.active):hover{color:#173aa4;background:#f0f2fb;}
body.ui-system .ui-footer{font-family:var(--ui-spec);color:#5b6172;border-color:#d2d3da}

/* O painel destaca os indicadores mantendo os estados de atenção. */
body.ui-system .dashboard-management-hero{
  isolation:isolate;border-radius:7px 10px 7px 7px;
  background:#151e39;border-color:#303d67!important;
  box-shadow:0 1px 3px #19245224,0 16px 29px #12265436;
}
body.ui-system .dashboard-management-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:
    linear-gradient(90deg,#101a34 0%,#131e37f0 24%,#14213da0 48%,#141f3a18 72%,#111d40a0 100%),
    var(--ui-film) center 51%/cover no-repeat;
}
body.ui-system .dashboard-management-hero::after{
  inset:10px;z-index:0;border:1px solid #bdd1ff46;border-radius:3px 6px 3px 3px;
  background:
    linear-gradient(#facb83,#facb83) right top/32px 1px no-repeat,
    linear-gradient(#facb83,#facb83) right top/1px 16px no-repeat,
    linear-gradient(#aebef9a1,#aebef9a1) left bottom/30px 1px no-repeat;
}
body.ui-system .dashboard-management-hero .eyebrow{
  color:#c9d9ff;font-family:var(--ui-spec);letter-spacing:.11em;font-weight:650;
}
body.ui-system .dashboard-management-hero .eyebrow::before{
  background:linear-gradient(90deg,#f6c57f 60%,#789af9 60%);width:27px;
}
body.ui-system .dashboard-management-hero h2{
  font-family:var(--ui-display);font-size:clamp(30px,4vw,56px);
  font-weight:500;letter-spacing:-.055em;color:#fffaf0;
  text-shadow:0 1px 15px #101832cc;
}
body.ui-system .dashboard-management-hero h2 b{font-weight:500;color:#fff4dc;}
body.ui-system .dashboard-management-hero h2 span{
  color:#e6edff;font-family:var(--ui-font);font-weight:640;font-size:clamp(15px,1.75vw,22px);
}
body.ui-system .dashboard-management-hero p{color:#e5ebfa;text-shadow:0 1px 8px #111733}
body.ui-system .dashboard-hero-week{
  border-inline-start-color:#ddcbac9c!important;
  filter:drop-shadow(0 1px 6px #101a38c5);
}
body.ui-system .dashboard-hero-week>span{color:#f6d4a0;font-family:var(--ui-spec);font-weight:650}
body.ui-system .dashboard-hero-week button{
  background:#182544cf;color:#fff;border-color:#c5d4ff81;border-radius:4px;
}
body.ui-system .dashboard-hero-week button:hover{background:#263a69;border-color:#dce4ff;}
body.ui-system .dashboard-management-kpis .dashboard-stat{
  border-radius:4px 6px 4px 4px;
  border-color:#d8dae4;border-top-color:#758ee3;
  background:
    linear-gradient(#cbb27b,#cbb27b) calc(100% - 11px) 12px/15px 1px no-repeat,
    linear-gradient(#cbb27b,#cbb27b) calc(100% - 11px) 12px/1px 11px no-repeat,
    linear-gradient(132deg,#fffefa 48%,#f0f1f6);
  box-shadow:0 1px 4px #191b3315;
}
body.ui-system .dashboard-management-kpis .dashboard-stat.good{border-top-color:#539875;}
body.ui-system .dashboard-management-kpis .dashboard-stat.warn{border-top-color:#b77b28;}
body.ui-system .dashboard-management-kpis .dashboard-stat.danger{border-top-color:#b24d49;background:#fdf1ef;}
body.ui-system .dashboard-management-kpis .dashboard-stat::after{
  border-radius:0;right:0;top:0;width:64px;height:45px;
  background:
    repeating-linear-gradient(90deg,#7788ae2b 0 1px,transparent 1px 9px),
    repeating-linear-gradient(0deg,#7788ae2b 0 1px,transparent 1px 9px);
  mask-image:linear-gradient(135deg,transparent 20%,#000);
}
body.ui-system .dashboard-management-kpis .dashboard-stat strong{
  color:#1f2b52;font-size:30px;font-weight:690;font-variant-numeric:tabular-nums;
}
body.ui-system .dashboard-management-kpis .dashboard-stat span{color:#39476a;letter-spacing:.048em}
body.ui-system .dashboard-management-kpis .dashboard-stat small{color:#4c556a;}
body.ui-system .dashboard-management :is(.dashboard-cycle-card,.dashboard-finance-grid>div){
  border-radius:4px;background:#fffefa;
}
body.ui-system .dashboard-management :is(.sfp-section-head h2,.panel-head h2){
  color:#1c263f;font-family:var(--ui-display);font-weight:500;letter-spacing:-.038em;
}
body.ui-system .dashboard-management .dashboard-cycle-card i b{
  background:linear-gradient(90deg,#2d4dcb,#829aff);
}

/* Acesso — imagem, margem de enquadramento e papel quente junto ao formulário. */
body.ui-auth .login-visual{background:#17203b;}
body.ui-auth .login-photo{
  background-image:var(--ui-entry);background-position:center 53%;filter:none;
}
body.ui-auth .login-overlay{
  background:
    linear-gradient(0deg,#10172cf8 0%,#171e32c9 23%,#17223500 57%,#0f16324d 100%),
    linear-gradient(90deg,#111d3a22,transparent 77%);
}
body.ui-auth .login-visual::after{
  content:"";position:absolute;inset:24px;border:1px solid #e0eaff55;pointer-events:none;
  background:
    linear-gradient(#f6cc8c,#f6cc8c) top right/35px 1px no-repeat,
    linear-gradient(#f6cc8c,#f6cc8c) top right/1px 35px no-repeat,
    linear-gradient(#f6cc8c,#f6cc8c) bottom left/35px 1px no-repeat,
    linear-gradient(#f6cc8c,#f6cc8c) bottom left/1px 35px no-repeat;
}
body.ui-auth .login-copy h1{
  font-family:var(--ui-display);font-weight:500;letter-spacing:-.055em;color:#fffaf0;
  text-shadow:0 3px 14px #10162dc9;
}
body.ui-auth .login-copy .eyebrow{color:#fadbab;font-family:var(--ui-spec);letter-spacing:.095em}
body.ui-auth .login-copy p{color:#e6ebf5}
body.ui-auth .login-panel{
  background:
    linear-gradient(90deg,#dac294,#ddd2ad) 0 0/2px 100% no-repeat,
    radial-gradient(110% 68% at 98% 22%,#fffef9,#f4f1e9 73%,#ece9e3);
}
body.ui-auth .login-form-wrap{
  width:min(474px,100%);box-sizing:border-box;padding:clamp(25px,3.1vw,38px);
  border-color:#d6cfbd;border-radius:5px 16px 5px 5px;
  background:
    linear-gradient(#b68e4e,#b68e4e) calc(100% - 12px) 12px/27px 1px no-repeat,
    linear-gradient(#b68e4e,#b68e4e) calc(100% - 12px) 12px/1px 20px no-repeat,
    linear-gradient(90deg,#2d49b8,#758be3 61%,#d5ab69) top/100% 2px no-repeat,
    #fffdf7;
  box-shadow:0 2px 6px #34314713,0 21px 51px #28243b1e;
}
body.ui-auth .login-form-wrap>h2{
  font-family:var(--ui-display);font-weight:500;letter-spacing:-.047em;color:#1a2543;
}
body.ui-auth .login-form-wrap .eyebrow{color:#334b94;font-family:var(--ui-spec);letter-spacing:.08em}
body.ui-auth .login-form{row-gap:15px;}
body.ui-auth .login-form .form-error:empty{min-height:0;margin-block-start:-15px;}
body.ui-auth .login-form label{color:#232d4b}
body.ui-auth .login-form input,body.ui-auth .login-form .password-wrap .icon-button{
  background:#f6f5ef;border-color:#cacbd5;color:#24304b;border-radius:5px;
}
body.ui-auth .login-form input:focus{
  background:#fff;border-color:#3458d7;box-shadow:0 0 0 3px #dce3ff;
}
body.ui-auth .login-form .password-wrap .icon-button:hover{background:#e6eafd;}
body.ui-auth .login-form .primary-button{
  border-radius:4px;color:white;border-color:#2543bc;
  background:linear-gradient(111deg,#25398e,#2d4cce);
  box-shadow:inset 0 1px #dbe5ff37,0 8px 17px #273d962c;
}
body.ui-auth .login-form .login-button{
  display:flex;align-items:center;justify-content:space-between;
  min-height:44px;padding-inline:15px;
}
body.ui-auth .login-form .login-button span[aria-hidden]{font-size:17px;font-weight:500;}
body.ui-auth .login-form .primary-button:hover{background:#1f3dba;}
body.ui-auth .security-note{color:#545d70;}
body.ui-document{
  background:radial-gradient(97% 370px at 50% 0,#fffdf5,#efeee9);color:var(--ui-ink);
}
body.ui-document main{border-color:#d0d3df;background:#fffefa;}
body.ui-document main h1{font-family:var(--ui-display);font-weight:500;}
body.ui-document button{background:#2544c2;border-color:#2544c2;}

@keyframes inovafa-studio-cover{
  from{opacity:.12;scale:1.035;clip-path:inset(0 0 0 12%);}
  to{opacity:1;scale:1;clip-path:inset(0);}
}
@keyframes inovafa-studio-guide{
  from{opacity:.16;clip-path:inset(0 100% 0 0);}
  to{opacity:1;clip-path:inset(0);}
}
@keyframes inovafa-studio-menu{
  from{scale:1 .18;opacity:.35;}
  to{scale:1 1;opacity:1;}
}
@keyframes inovafa-studio-view{
  from{translate:0 5px;}
  to{translate:0 0;}
}
@media(prefers-reduced-motion:no-preference){
  body.ui-auth .login-visual::after{animation:inovafa-studio-guide .8s ease-out both;}
  body.ui-auth .login-photo{animation:inovafa-studio-cover .95s cubic-bezier(.22,.55,.23,1) both;}
  body.ui-system .dashboard-management-hero::before{
    animation:inovafa-studio-cover .8s cubic-bezier(.22,.6,.24,1) both;
  }
  body.ui-system .dashboard-management-hero::after{animation:inovafa-studio-guide .65s .14s ease-out both;}
  body.ui-system .sidebar nav button.active::before{animation:inovafa-studio-menu .22s ease-out both;}
  body.ui-system .sidebar nav button{transition:background-color .14s,box-shadow .14s,color .14s,border-color .14s;}
  body.ui-system #content.view-enter{animation:inovafa-studio-view .19s cubic-bezier(.23,.7,.28,1) both;}
}
@media(max-width:580px){
  body.ui-auth .login-form-wrap{padding:22px 17px;}
  body.ui-system .page-title #title{font-size:31px;}
  body.ui-system .dashboard-management-hero h2{font-size:32px;}
}

/* Superfícies de trabalho · grelhas, painéis, campos e estados. */
.ui-system{
  --ledger-ink:#171d30;
  --ledger-muted:#505971;
  --ledger-edge:#d8d9df;
  --ledger-ruling:#e8e6e1;
  --ledger-paper:#fffdfa;
  --ledger-stripe:#f6f5f2;
  --ledger-night:#20283b;
  --ledger-night-light:#2d3752;
  --ledger-cobalt:#2448d8;
  --ledger-cobalt-dark:#1b36a0;
  --ledger-tab:#e8edff;
  --ledger-sand:#eabb72;
}

/* A margem vincada e a cor do papel mantêm o foco na zona de trabalho. */
body.ui-system :is(.weekbar,.filters,.section-toolbar,.prod-toolbar,.fin-toolbar,.legal-toolbar,
  .log-toolbar,.pay-toolbar,.record-toolbar,.salary-tools,.sfp-map-toolbar){
  color:var(--ledger-ink);
  background:linear-gradient(104deg,#fffdfa,#fff 58%);
  border-color:var(--ledger-edge);
  box-shadow:0 1px 3px #171d3010,inset 2px 0 #6678b3;
}
body.ui-system :is(.panel,.prod-card,.sfp-dashboard-section,.dashboard-country-summary,.dashboard-evolution){
  background:var(--ledger-paper);
  border-color:var(--ledger-edge);
  border-radius:11px;
  box-shadow:0 1px 2px #171d3011,0 4px 16px #171d3007;
}
body.ui-system :is(.panel-head,.sfp-section-head,.commercial-detail-head,.travel-detail-head,.profile-header){
  border-bottom-color:var(--ledger-edge);
}
body.ui-system :is(.panel-head,.sfp-section-head,.profile-header) h2{
  color:var(--ledger-ink);
  font-weight:750;
}
body.ui-system :is(.panel-head,.sfp-section-head,.profile-header) p{color:var(--ledger-muted)}
body.ui-system :is(.panel,.sfp-dashboard-section) .eyebrow{color:#4b5580}
body.ui-system :is(.panel,.sfp-dashboard-section) .eyebrow::before{background:#a26a26}
body.ui-system :is(.kpi,.prod-kpi,.fin-kpi,.commercial-kpi,.legal-kpi,.pay-kpi,.garnish-kpi,
  .log-stat,.sfp-command-kpi,.travel-kpis>article){
  background:
    linear-gradient(90deg,#384dc225,#384dc225) right 13px top 15px/13px 1px no-repeat,
    linear-gradient(#384dc225,#384dc225) right 19px top 9px/1px 13px no-repeat,
    linear-gradient(125deg,var(--ledger-paper) 57%,#f1f3fb);
  border-color:var(--ledger-edge);
  border-radius:10px;
  box-shadow:inset 0 2px #7d89b2,0 2px 6px #171d300a;
}
body.ui-system :is(.kpi,.prod-kpi,.fin-kpi,.commercial-kpi,.legal-kpi,.pay-kpi,.garnish-kpi,
  .log-stat,.sfp-command-kpi,.travel-kpis>article) strong{
  color:var(--ledger-ink);
  font-variant-numeric:tabular-nums lining-nums;
}
body.ui-system :is(.kpi,.prod-kpi,.fin-kpi,.commercial-kpi,.legal-kpi,.pay-kpi,.garnish-kpi,
  .log-stat,.sfp-command-kpi,.travel-kpis>article):is(.warn,.warning,.danger,.error,.success,.ok){
  box-shadow:0 2px 6px #171d300a;
}

/* Cabeçalhos de tabela como índices. As bandas do corpo são neutras. */
body.ui-system :is(.ui-table-frame,.sheet-scroll,.registry-table-wrap,.registry-table-scroll,
  .dashboard-country-table-wrap,.sfp-sheet-scroll,.sfp-hours-grid-wrap,.commercial-measurement-grid-scroll){
  border-color:var(--ledger-edge);
  background:var(--ledger-paper);
  border-radius:8px;
  scrollbar-color:#8e97b3 #eeece7;
}
body.ui-system :is(.sheet:not(.sfp-hours-grid),.registry-table,.commercial-table,.dashboard-country-table) thead th{
  color:#fffdf6;
  background-color:var(--ledger-night);
  background-image:linear-gradient(180deg,#465475 0 1px,transparent 1px);
  border-bottom-color:#52658a;
}
body.ui-system :is(.sheet:not(.sfp-hours-grid),.registry-table,.commercial-table,.dashboard-country-table) thead th :is(a,small,span){
  color:inherit;
}
body.ui-system :is(.sheet:not(.sfp-hours-grid),.registry-table,.commercial-table,.dashboard-country-table) tbody td{
  color:var(--ledger-ink);
  border-bottom-color:var(--ledger-ruling);
  font-variant-numeric:tabular-nums;
}
body.ui-system :is(.sheet:not(.sfp-hours-grid),.registry-table,.commercial-table,.dashboard-country-table)
  tbody tr:not(.group):nth-child(even)>td{
  background-color:var(--ledger-stripe);
}
body.ui-system :is(.sheet:not(.sfp-hours-grid),.registry-table,.commercial-table,.dashboard-country-table)
  tbody tr:not(.group):is(:hover,:focus-within)>td{
  background-color:#ebeffe;
}
body.ui-system .registry-table .registry-row:is(:hover,:focus-visible)>td{background-color:#ebeffe!important}
body.ui-system .registry-table .registry-row:focus-visible{outline-color:var(--ledger-cobalt)}
body.ui-system :is(.sheet,.registry-table,.commercial-table) tbody td small{color:var(--ledger-muted)}
body.ui-system :is(.sheet,.registry-table,.commercial-table,.dashboard-country-table) tfoot td{
  background:#e9edf8;
  border-color:#b7c2de;
  color:#262f4d;
}
body.ui-system .group td{
  color:#fffdf6;
  background:#2a344c;
  box-shadow:inset 2px 0 var(--ledger-sand);
}
body.ui-system .group td :is(strong,small){color:inherit}

/* Horas e Autos mantêm as proporções da grelha e a cor semântica do fim de semana. */
body.ui-system .commercial-measurement-grid thead th:not(.weekend){
  background:var(--ledger-night);
  color:#fffdf5;
  border-color:#4b5976;
}
body.ui-system .commercial-measurement-grid thead tr:nth-child(2) th:not(.weekend){
  background:var(--ledger-night-light);
  color:#f5f5ff;
}
body.ui-system .commercial-measurement-grid tbody td:not(.weekend){border-color:#dedee4}
body.ui-system .commercial-measurement-grid tbody :is(td.grid-hours,td.grid-rate,td.grid-total):not(.weekend){
  background:#edf0f9;
  border-color:#d6dceb;
  color:#202b52;
}
body.ui-system .commercial-measurement-grid tbody td.grid-total:not(.weekend){
  background:#e5eafd;
  box-shadow:inset 1px 0 #bdc8f3;
}
body.ui-system .commercial-measurement-grid .commercial-day-input:focus-visible{
  outline:1px solid var(--ledger-cobalt);
  outline-offset:-1px;
  box-shadow:inset 0 0 0 1px var(--ledger-cobalt);
}
body.ui-system .commercial-measurement-grid tfoot td{
  background:#e8ecf8!important;
  color:#202c55;
  border-color:#cbd4eb;
  border-top-color:#7e8fbe;
}
body.ui-system .sfp-hours-grid thead th:not(.weekend){background:var(--ledger-night);color:#fffdf6}
body.ui-system .sfp-hours-grid thead th:nth-child(-n+2):not(.weekend){
  background:var(--ledger-night)!important;color:#fffdf6!important;
}
body.ui-system .sfp-hours-grid :is(tfoot td,td.row-total:not(.weekend)){
  background:#e8ecf8;
  color:#202c55;
}
body.ui-system .sfp-hours-grid tfoot td:first-child{background:#e8ecf8!important}

/* Etiquetas de estado conservam a semântica. A régua lateral ajuda a encontrá-las. */
body.ui-system :is(.notice,.commercial-help,.sfp-form-alert):not(.error,.danger,.warning,.warn,.success,.ok,.review,[data-ui-tone]){
  background:#edf1fc;
  border-color:#bbc8ed;
  color:#253673;
  box-shadow:inset 3px 0 #4a63c5;
}
body.ui-system :is(.notice.warn,.notice.warning,.notice.review,.notice[data-ui-tone="warning"]){
  background:#fff3df;
  border-color:#dfbe7c;
  color:#6c4517;
  box-shadow:inset 3px 0 #ae7125;
}
body.ui-system :is(.notice.error,.notice.danger,.form-error:not(:empty)){
  background:#fff1ee;
  border-color:#e4b6af;
  color:#7e272d;
  box-shadow:inset 3px 0 #ae4350;
}
body.ui-system :is(.notice.success,.notice.ok){
  background:#e9f5ed;
  border-color:#abd2b9;
  color:#215641;
  box-shadow:inset 3px 0 #42785d;
}
body.ui-system :is(.badge.approved,.badge.closed){background:#e2f2e7;border-color:#b4d6bf;color:#225740}
body.ui-system :is(.badge.pending,.badge.review){background:#fff0d4;border-color:#e2c28c;color:#6b4312}
body.ui-system .badge.submitted{background:#e5ebff;border-color:#b9c6ec;color:#2e4288}
body.ui-system :is(.empty,.record-empty){
  background:#fbfaf7;
  color:var(--ledger-muted);
  border-color:#c7c8d3;
}

/* Cobalto para executar, superfície de papel para consultar. */
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(button,.button-link):not(.primary,.danger,.danger-soft,.active,[data-ui-action="primary"]){
  border-color:#d4d6e2;
  box-shadow:inset 0 1px #ffffff90;
}
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(button,.button-link):not(.primary,.danger,.danger-soft,.active,[data-ui-action="primary"]):hover:not(:disabled){
  color:var(--ledger-cobalt-dark);
  border-color:#a8b5e7;
  background-color:#f0f2ff;
}
body.ui-system :is(button.primary,.button-link.primary,button[data-ui-action="primary"]){
  background:linear-gradient(144deg,#3155e0,var(--ledger-cobalt-dark));
  color:#fff;
  border-color:#2846bc;
  box-shadow:inset 0 1px #fff3,0 2px 5px #25378129;
}
body.ui-system :is(button.primary,.button-link.primary,button[data-ui-action="primary"]):hover:not(:disabled){
  background:linear-gradient(144deg,#2648d5,#182b83);
  border-color:#1f37a6;
  box-shadow:inset 0 1px #fff3,0 3px 8px #25378140;
}
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(input:not([type="checkbox"],[type="radio"]),select,textarea){
  border-color:#cbcdd8;
  color:var(--ledger-ink);
}
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(input,select,textarea)::placeholder{
  color:#535d73;
}
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(input,select,textarea):focus-visible{
  outline-color:var(--ledger-cobalt);
  border-color:var(--ledger-cobalt);
  box-shadow:0 0 0 3px #2448d827;
}
body.ui-system :is(#content,#dialogBody,.weekbar,.filters) :is(label,legend){
  color:#34405a;
}
body.ui-system :is(#content,#dialogBody) :is(.sfp-section-label,.form-section-title){
  border-color:#c1cae4;
  border-inline-start-color:var(--ledger-cobalt);
}
body.ui-system :is(#content,#dialogBody) :is(.sfp-section-label,.form-section-title) strong{color:#293970}
body.ui-system :is(#content,#dialogBody) :is(.form-grid,.sfp-form-grid) label:focus-within{
  border-color:#bdc6e6;
}
@media (prefers-reduced-motion:no-preference){
  body.ui-system :is(.sheet,.registry-table,.commercial-table) tbody td{
    transition:background-color 120ms ease;
  }
}

/* Cartografia, navegação diária e estados de teclado. */
body.ui-system .dashboard-evolution-chart .grid line{stroke:#d9dde9;}
body.ui-system .dashboard-evolution-chart .grid text{fill:#596582;}
body.ui-system .dashboard-evolution-chart .trend{
  stroke:#3456d2;filter:drop-shadow(0 2px 2px #2e4aaa29);
}
body.ui-system .dashboard-evolution-chart .trend-area{fill:#627dec25;}
body.ui-system .dashboard-evolution-chart .point circle{stroke:#435fcb;}
body.ui-system .dashboard-evolution-chart .point.latest circle{fill:#3154d1;stroke:#fff;}
body.ui-system .dashboard-evolution-chart .point.latest .value-pill rect{
  fill:#2f4cc1;stroke:#2f4cc1;
}
body.ui-system .dashboard-evolution-chart .point .month{fill:#4b597b;}
body.ui-system .dashboard-country-bar b,body.ui-system .dashboard-share-cell i b{
  background:linear-gradient(90deg,#2b46b4,#869dfe);
}
body.ui-system .dashboard-map .dashboard-map-country-summary{
  border-color:#d3d6e0;border-radius:5px;
}
body.ui-system .dashboard-map .dashboard-map-country-row:nth-child(even){background:#f5f5f2;}
body.ui-system .dashboard-map .dashboard-map-country-metric{color:#263b82;}
body.ui-system .dashboard-map .dashboard-map-country-metric svg{stroke:#4561bb;}
body.ui-system .dashboard-map .dashboard-map-country-metric span{color:#545d71;}
body.ui-system .sfp-command-hero{
  background:linear-gradient(110deg,#151e39 10%,#25365e 76%,#3a4a81);
  border-color:#283e66;border-radius:6px;
  box-shadow:0 14px 30px #22355a2b;
}
body.ui-system .sfp-command-hero :is(h1,h2,h3){font-family:var(--ui-display);font-weight:500;}
body.ui-system .sfp-command-hero .eyebrow{color:#f2cc87;font-family:var(--ui-spec);}
@media(prefers-reduced-motion:no-preference){
  body.ui-system #subnav .subnav-tabs button{
    transition:background-color .15s ease,color .15s ease,box-shadow .15s ease;
  }
}
@media(prefers-reduced-motion:reduce){
  body.ui-system :is(#content.view-enter,.work-window-shell,#dialog[open]),
  body.ui-system .dashboard-management-hero::before,
  body.ui-system .dashboard-management-hero::after,
  body.ui-system .sidebar nav button.active::before,
  body.ui-auth .login-photo,
  body.ui-auth .login-visual::after{animation:none!important;}
}

/* A folha de obra mantém a hierarquia país, obra e equipa em três níveis de contraste. */
body.ui-system .country-block.prod-project-country-block{
  background:#faf8f1;border-color:#cbd0df;border-radius:7px;
  box-shadow:0 3px 12px #202a4414;
}
body.ui-system .country-block.prod-project-country-block>.country-head{
  padding:9px 14px;
  background:linear-gradient(118deg,#171f34,#273759 80%,#334878)!important;
  box-shadow:inset 0 1px #d2ddff2a;
}
body.ui-system .country-block.prod-project-country-block>.country-head h2{
  color:#fff9ed;font-family:var(--ui-display);font-weight:500;letter-spacing:-.02em;
}
body.ui-system .country-block.prod-project-country-block>.country-head .eyebrow{
  color:#f3ce95!important;font-family:var(--ui-spec);
}
body.ui-system .country-block.prod-project-country-block>.country-head p{color:#e5eafb!important;}
body.ui-system .prod-project-structure-scroll{border-color:#ced3e2;border-radius:5px;background:#fffefa;}
body.ui-system .sheet.prod-project-structure tbody+tbody .group td{border-top-color:#faf8f1;}
body.ui-system .sheet.prod-project-structure .group td{
  background:#343e60!important;color:#fffcf4!important;box-shadow:inset 3px 0 #e7be83;
}
body.ui-system .sheet.prod-project-structure .project-row-head span{color:#e7edff!important;}
body.ui-system .sheet.prod-project-structure .project-row-head small{
  color:#f5f7ff!important;background:#212a48!important;
}
body.ui-system .sheet.prod-project-structure .prod-project-data td{
  background:#eeeff7!important;border-bottom-color:#d1d6e8;
}
body.ui-system .sheet.prod-project-structure .prod-project-data td:first-child{border-left-color:#6885ed;}
body.ui-system .sheet.prod-project-structure .prod-project-team{border-top-color:#d1d6e8;}
body.ui-system .sheet.prod-project-structure .prod-project-team-head{
  background:#e6e9f6;color:#293857;border-bottom-color:#cfd5e9;
}
body.ui-system .sheet.prod-project-structure .prod-project-team-row{
  background:#fffefa;border-top-color:#e3e4ea;
}
body.ui-system .sheet.prod-project-structure .prod-project-team-row:nth-child(odd){background:#f8f7f3;}
body.ui-system .sheet.prod-project-structure .prod-project-team-row .worker-no{color:#2d49a4;}
body.ui-system .sheet.prod-project-structure .prod-project-team-row .worker-profession{
  color:#283b80;background:#edf0fc;border-color:#d1d8f2;
}
body.ui-system .topbar #globalSearch{font-size:13px;}
body.ui-system #subnav .subnav-tabs button.active{border-color:#a9b6e8;}
body.ui-system #dialog .dialog-head{padding-inline:13px 8px;}

/* Janelas de trabalho · prancheta em porcelana, desenho de execução em cobalto. */
body.ui-system :is(#dialog,.work-window-shell),
html.embedded-workspace-root body.ui-system {
  --window-ink:#171d30;
  --window-matte:#f7f4ed;
  --window-line:#d2d1d5;
  --window-cobalt:#2448d8;
  --window-cobalt-hover:#1634ad;
  --window-ruler:#b17d30;
  --window-mono:"Cascadia Mono","Consolas",monospace;
  color:var(--window-ink);
}
body.ui-system :is(#dialog,.work-window-shell) {
  background-color:#fcfbf8;
  border-color:#a8abba;
  border-radius:12px;
  box-shadow:0 0 0 1px #fcfbf892,0 4px 9px #11182d38,0 30px 84px #11182d59;
}
body.ui-system #dialog::backdrop {
  background:#14192bb3;
  backdrop-filter:saturate(.62) blur(2px);
}
body.ui-system.work-window-open::after {
  content:"";
  position:fixed;
  inset:0;
  z-index:12999;
  background:#151a286b;
  pointer-events:none;
}

body.ui-system #dialog .dialog-head,
body.ui-system .work-window-head {
  position:relative;
  isolation:isolate;
  color:var(--window-ink);
  border-color:var(--window-line);
  background:linear-gradient(108deg,#fffcf6 0%,#f4efe5 69%,#ecebf4 100%);
  box-shadow:inset 0 1px #fff,0 1px 2px #181c3420;
}
/* A grelha e as marcas de cota ficam por baixo dos controlos e do texto. */
body.ui-system #dialog .dialog-head::after,
body.ui-system .work-window-head::after {
  content:"";
  pointer-events:none;
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:inherit;
  background:
    linear-gradient(90deg,transparent,#2448d865) right 6.5% top 29%/20% 1px no-repeat,
    linear-gradient(#2448d880,#2448d880) right 24.5% top 29%/1px 12px no-repeat,
    linear-gradient(#2448d880,#2448d880) right 12.5% top 29%/1px 12px no-repeat,
    repeating-linear-gradient(135deg,transparent 0 6px,#2448d82a 6px 7px) right 9% bottom 23%/18% 10px no-repeat,
    repeating-linear-gradient(90deg,transparent 0 15px,#2448d81b 15px 16px) right top/31% 100% no-repeat,
    repeating-linear-gradient(0deg,transparent 0 15px,#2448d817 15px 16px) right top/31% 100% no-repeat;
  mask-image:linear-gradient(90deg,transparent 62%,#000 87%);
}
body.ui-system #dialog .dialog-head::before,
body.ui-system .work-window-head::before {
  content:"";
  pointer-events:none;
  position:absolute;
  inset:auto 10px 0 0;
  z-index:-1;
  height:2px;
  transform-origin:left;
  background:linear-gradient(90deg,
    var(--window-cobalt) 0 45px,#eabb72 45px 57px,#a5b4fb 57px 59%,
    transparent 100%);
}
body.ui-system #dialog .dialog-head {
  border-inline-start:1px solid var(--window-line);
  border-radius:7px 7px 1px 1px;
}
body.ui-system #dialog .dialog-head h2,
body.ui-system .work-window-head strong {
  color:var(--window-ink);
  font-family:var(--ui-display);
  font-weight:750;
  letter-spacing:-.045em;
}
body.ui-system #dialog .dialog-head #dialogEyebrow,
body.ui-system .work-window-head span {
  color:#344371;
  font-family:var(--window-mono);
  letter-spacing:.08em;
}
body.ui-system #dialog .dialog-head #dialogEyebrow::before {
  width:11px;
  height:7px;
  vertical-align:0;
  border-left:1px solid var(--window-ruler);
  border-bottom:1px solid var(--window-ruler);
  background:none;
  border-radius:0;
}
body.ui-system .work-window-head small {color:#465272;}

body.ui-system #dialog #closeDialog,
body.ui-system .work-window-head .work-window-close {
  background:#171e34;
  border-color:#171e34;
  color:#fff;
  border-radius:5px;
  box-shadow:inset 0 1px #fff4,0 2px 4px #151a281f;
}
body.ui-system #dialog #closeDialog:hover,
body.ui-system .work-window-head .work-window-close:hover {
  background:var(--window-cobalt);
  border-color:var(--window-cobalt);
  color:#fff;
}
body.ui-system .work-window-head .work-window-popout {
  color:#24408d;
  background:#fbf9f4;
  border-color:#a3afd8;
  border-radius:5px;
  box-shadow:inset 0 1px #fff;
}
body.ui-system .work-window-head .work-window-popout:hover {
  color:#142c79;
  background:#edf0ff;
  border-color:#677dcd;
}
body.ui-system #dialog #closeDialog:focus-visible,
body.ui-system .work-window-head :is(.work-window-close,.work-window-popout):focus-visible {
  outline:2px solid var(--window-cobalt);
  outline-offset:2px;
}
body.ui-system :is(#dialog,.work-window-shell) :is(input,select,textarea):focus-visible,
html.embedded-workspace-root body.ui-system :is(input,select,textarea):focus-visible {
  outline-color:var(--window-cobalt);
}

body.ui-system #dialog #dialogBody {
  scrollbar-color:#8997c6 #f3f0e9;
}
body.ui-system #dialog .dialog-actions {
  border-color:#bbbcd0;
  background:
    repeating-linear-gradient(90deg,#2448d865 0 1px,transparent 1px 8px) left top/72px 3px no-repeat,
    linear-gradient(180deg,#f3f0e99c,transparent);
}
body.ui-system #dialog:not([data-dialog-tone="risk"]) .dialog-actions
:is(button,.button-link).primary:not(:is(.danger,.danger-btn,.warn,.warning,.approve,.success)) {
  background:var(--window-cobalt);
  border-color:#1936bb;
  color:#fff;
  box-shadow:inset 0 1px #fff3,0 4px 9px #2448d837;
}
body.ui-system #dialog:not([data-dialog-tone="risk"]) .dialog-actions
:is(button,.button-link).primary:not(:is(.danger,.danger-btn,.warn,.warning,.approve,.success)):hover:not(:disabled) {
  background:var(--window-cobalt-hover);
  box-shadow:inset 0 1px #fff3,0 5px 12px #2448d852;
}
body.ui-system #dialog .dialog-actions :is(button,.button-link):focus-visible {
  outline-color:var(--window-cobalt);
}
body.ui-system #dialog .commercial-measurement-grid thead th:not(.weekend) {
  background:#222b48;
  color:#fbfaff;
}
body.ui-system #dialog .commercial-measurement-grid thead tr:nth-child(2) th:not(.weekend) {
  background:#2b375c;
}
/* As cores da legenda correspondem às células do Auto. O CSS da grelha já marca estes fundos como prioritários. */
body.ui-system #dialog .commercial-measurement-grid .weekend {
  background-color:#f4e9d6!important;
  color:#392f21;
}
body.ui-system #dialog .commercial-measurement-grid thead .weekend,
body.ui-system #dialog .commercial-measurement-legend i.weekend {
  background-color:#ead3a5!important;
  border-color:#bc995e;
  color:#392f21;
}
body.ui-system #dialog .commercial-measurement-grid tfoot td {
  border-top-color:var(--window-cobalt);
  background-color:#eaedfe!important;
  color:var(--window-ink);
}

body.ui-system .work-window-frame,
html.embedded-workspace-root body.ui-system {
  background-color:var(--window-matte,#f7f4ed);
}
html.embedded-workspace-root body.ui-system {
  background-image:linear-gradient(180deg,#e8ebfa 0%,var(--window-matte) 235px);
}
body.ui-system .work-window-loading {
  border:1px solid #b5bfdc;
  border-inline-start:2px solid var(--window-cobalt);
  border-radius:5px;
  color:#263867;
  background:#fffcf6;
  box-shadow:0 5px 20px #161d3729;
}
body.ui-system .work-window-loading.error {
  border-inline-start-color:#a22d2d;
  color:#622929;
}
html.embedded-workspace-root body.ui-system .workspace main > .page-title {
  color:var(--window-ink);
  border-color:#c4c9df;
  background:
    linear-gradient(90deg,#2448d8 0 42px,#dfb572 42px 58px,#bfc8f4 58px 124px,transparent 124px) left bottom/100% 2px no-repeat,
    linear-gradient(108deg,#fffdfa 0%,#f7f4ed 64%,#e8ecff 100%);
  box-shadow:0 1px 2px #1a23451a;
}
html.embedded-workspace-root body.ui-system .workspace main > .page-title #title {color:var(--window-ink);}
html.embedded-workspace-root body.ui-system .workspace main > .page-title :is(#pageEyebrow,#subtitle) {color:#364675;}
html.embedded-workspace-root body.ui-system .workspace main > .page-title::before {
  background:linear-gradient(var(--window-cobalt),#7e96f2);
  box-shadow:none;
}
html.embedded-workspace-root body.ui-system .workspace main > .page-title::after {
  background-image:
    repeating-linear-gradient(90deg,transparent 0 17px,#2448d849 17px 18px),
    repeating-linear-gradient(0deg,transparent 0 17px,#2448d843 17px 18px);
  background-blend-mode:normal;
  opacity:.4;
}
html.embedded-workspace-root body.ui-system .profile-tabs-main {
  background:#f4f1ea;
  box-shadow:0 5px 13px #151a2810;
}
html.embedded-workspace-root body.ui-system .profile-tabs-main button.active {
  border-color:var(--window-cobalt);
  box-shadow:inset 0 -2px var(--window-cobalt);
  color:#1833a1;
  background:#eff1ff;
}
@media (max-width:760px) {
  body.ui-system .work-window-shell {border-radius:0;}
  body.ui-system .work-window-head strong {letter-spacing:-.025em;}
}
@media (prefers-reduced-motion:no-preference) {
  @keyframes inovafa-window-seat {
    from {opacity:.82;translate:0 8px;}
    to {opacity:1;translate:0 0;}
  }
  @keyframes inovafa-window-rule {
    from {transform:scaleX(.24);}
    to {transform:scaleX(1);}
  }
  body.ui-system :is(#dialog[open],.work-window-shell) {
    animation:inovafa-window-seat .24s cubic-bezier(.18,.7,.26,1) both;
  }
  body.ui-system #dialog[open] .dialog-head::before,
  body.ui-system .work-window-head::before {
    animation:inovafa-window-rule .32s cubic-bezier(.25,.7,.26,1) both;
  }
}
@media (prefers-reduced-motion:reduce) {
  body.ui-system :is(#dialog[open],.work-window-shell),
  body.ui-system #dialog[open] .dialog-head::before,
  body.ui-system .work-window-head::before {animation:none;}
}

/* Do desenho à obra: as duas vistas partilham o enquadramento e o texto fica acima. */
body.ui-system .dashboard-management-hero{
  --ui-drawing:url("/gestao/assets/inovafa-estudio-tracado.webp");
}
body.ui-system .dashboard-management-hero::before{
  background:
    linear-gradient(#f4ca83,#f4ca83) calc(100% - 11px) 10px/32px 1px no-repeat,
    linear-gradient(#f4ca83,#f4ca83) calc(100% - 11px) 10px/1px 18px no-repeat,
    linear-gradient(#bccbfd75,#bccbfd75) 10px calc(100% - 10px)/27px 1px no-repeat,
    linear-gradient(90deg,#101a34 0%,#131e37f0 24%,#14213da0 48%,#141f3a12 72%,#111d40a0 100%),
    var(--ui-film) center 51%/cover no-repeat;
}
body.ui-system .dashboard-management-hero::after{
  content:none;
}
@keyframes inovafa-studio-drafting{
  0%,28%{
    opacity:1;visibility:visible;
    clip-path:polygon(0 0,100% 0,100% 100%,0 100%);
  }
  78%{
    opacity:.97;
    clip-path:polygon(85% 0,100% 0,100% 100%,73% 100%);
  }
  100%{
    opacity:0;visibility:hidden;
    clip-path:polygon(100% 0,100% 0,100% 100%,100% 100%);
  }
}
@media(prefers-reduced-motion:no-preference){
  body.ui-system .dashboard-management-hero::before{animation:none;}
  body.ui-system .dashboard-management-hero::after{
    content:"";inset:0;border:0;border-radius:inherit;pointer-events:none;
    background:
      linear-gradient(90deg,#101a34 1%,#131e37c0 20%,#101a3438 64%,#111d4090 100%),
      var(--ui-drawing) center 51%/cover no-repeat,
      #151f3d;
    animation:inovafa-studio-drafting 1.38s cubic-bezier(.32,.45,.22,1) both;
  }
}
@media(min-width:1200px){
  body.ui-system .dashboard-management-kpis{
    gap:0;
    border-radius:6px;
    border:1px solid #cbd1e0;
    overflow:hidden;
    background:#fffefa;
    box-shadow:0 2px 5px #19233b0e,0 9px 22px #3036580d;
  }
  body.ui-system .dashboard-management-kpis .dashboard-stat{
    border:none;border-inline-end:1px solid #dadde8;
    border-radius:0;
    box-shadow:inset 0 2px var(--ui-meter,#a3afcd);
    background:
      linear-gradient(#b89a62,#b89a62) calc(100% - 12px) 13px/15px 1px no-repeat,
      linear-gradient(#b89a62,#b89a62) calc(100% - 12px) 13px/1px 11px no-repeat,
      linear-gradient(135deg,#fffefa 54%,#f2f3f9);
  }
  body.ui-system .dashboard-management-kpis .dashboard-stat:last-child{border-inline-end:0;}
  body.ui-system .dashboard-management-kpis .dashboard-stat.good{--ui-meter:#509576;}
  body.ui-system .dashboard-management-kpis .dashboard-stat.warn{--ui-meter:#b77b28;}
  body.ui-system .dashboard-management-kpis .dashboard-stat.danger{--ui-meter:#b24d49;background:#fdf1ef;}
  body.ui-system .dashboard-management-kpis .dashboard-stat strong{font-size:34px;line-height:1.07;}
}

/* Continuidade da marca, a partir de public_site/assets/css/site.css. */
body.ui-system{
  --inovafa-navy:#061522;--inovafa-navy2:#0d263a;--inovafa-blue:#0f5ea8;--inovafa-cyan:#58bdd2;
  --inovafa-paper:#f3f6f8;--inovafa-ink:#111c28;--inovafa-muted:#4a5a6a;--inovafa-line:#dce3e9;
  --inovafa-soft:#eaf1f4;--inovafa-surface:#fff;--inovafa-surface-2:#f7fafc;
  --inovafa-shadow:0 18px 48px rgba(8,31,49,.10),0 2px 10px rgba(8,31,49,.06);
  --inovafa-ease:cubic-bezier(.22,1,.36,1);
  --inovafa-display:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --inovafa-hero:linear-gradient(118deg,rgba(3,14,25,.94) 0%,rgba(6,36,62,.84) 42%,rgba(15,94,168,.48) 72%,rgba(88,189,210,.22) 100%),url("/assets/images/inovafa-equipa-1200.webp");
  --ui-accent:var(--inovafa-blue);--ui-navy:var(--inovafa-navy);--ui-ink:var(--inovafa-ink);
  --ui-muted:var(--inovafa-muted);--ui-line:var(--inovafa-line);--ui-paper:var(--inovafa-paper);
  color:var(--inovafa-ink);background:var(--inovafa-paper);font-family:var(--inovafa-display);
}
body.ui-system .workspace{background:var(--inovafa-paper)}
body.ui-system .sidebar{
  background:var(--inovafa-navy);border-right:1px solid #244255;
  box-shadow:none;
}
body.ui-system .sidebar .brand{
  background:none;border:0;border-radius:0;box-shadow:none;
  border-bottom:1px solid #244255;padding:4px 4px 18px;margin-bottom:14px;
}
body.ui-system .sidebar .brand::after{content:none}
body.ui-system .sidebar .brand img{width:min(100%,177px)}
body.ui-system .sidebar .brand span{color:#c7d8e3;font-family:var(--inovafa-display);letter-spacing:.14em}
body.ui-system .sidebar nav .nav-section span{color:#9eb5c5}
body.ui-system .sidebar nav button,body.ui-system .sidebar nav button .nav-icon{color:#dae8f2}
body.ui-system .sidebar nav button{border-radius:4px;background:transparent}
body.ui-system .sidebar nav button.active{
  background:#0d263a!important;color:#eefcff!important;border-color:#58bdd266!important;
  box-shadow:inset 3px 0 var(--inovafa-cyan);
}
body.ui-system .sidebar nav button.active .nav-icon{color:var(--inovafa-cyan)}
body.ui-system .sidebar nav button.active::before{content:none}
body.ui-system .sidebar nav button:hover:not(.active){background:#102c42!important;color:white}
body.ui-system .sidebar .account{background:#0d263a;border-color:#244255;color:#eefcff;}
body.ui-system .sidebar .account :is(strong,small,div){color:#d6e7f2}
body.ui-system .sidebar .account .avatar{background:#163951;color:#c9f3fc;border-color:#426779}
body.ui-system .sidebar-bottom :is(a,button,.version){color:#b9d0df}
body.ui-system .topbar{
  background:var(--inovafa-surface);border-bottom-color:var(--inovafa-line);
  box-shadow:0 2px 10px #081f310b;
}
body.ui-system .topbar #globalSearch{
  border:1px solid var(--inovafa-line);background:var(--inovafa-surface-2);color:var(--inovafa-ink);
}
body.ui-system .topbar #globalSearch::placeholder{color:var(--inovafa-muted)}
body.ui-system .topbar input+span{background:var(--inovafa-soft);color:var(--inovafa-navy2);border-color:var(--inovafa-line)}
body.ui-system .topbar :is(.breadcrumb-wrap,strong){color:var(--inovafa-navy2)}
body.ui-system .topbar a{color:var(--inovafa-blue)!important}
body.ui-system .page-title[data-ui-area]{
  min-height:159px;background:var(--inovafa-navy);border-radius:4px;border-color:#123147;
  overflow:hidden;isolation:isolate;box-shadow:var(--inovafa-shadow);
}
body.ui-system .page-title[data-ui-area]::before{content:none}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""])::after{
  inset:0;width:100%;background-image:var(--inovafa-hero);
  background-size:cover;background-position:center 56%;background-repeat:no-repeat;
  opacity:1;mask-image:none;border-radius:0;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) :is(#title,#subtitle){color:#fff}
body.ui-system .page-title[data-ui-area] #title{
  font:800 clamp(42px,4.6vw,65px)/.98 var(--inovafa-display);
  letter-spacing:-.055em;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #pageEyebrow{
  color:var(--inovafa-cyan);font:800 .76rem/1.4 var(--inovafa-display);letter-spacing:.15em;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #pageEyebrow::before{
  width:26px;height:1px;background:currentColor;border-radius:0;
}
body.ui-system #subnav{background:var(--inovafa-surface);border-color:var(--inovafa-line);border-radius:4px}
body.ui-system #subnav .subnav-tabs button{color:var(--inovafa-muted);background:var(--inovafa-surface);border-radius:3px}
body.ui-system #subnav .subnav-tabs button.active{
  color:var(--inovafa-blue);background:#eaf5f8;border-color:transparent;box-shadow:inset 0 -2px var(--inovafa-cyan);
}
body.ui-system #subnav .subnav-tabs button:hover{color:var(--inovafa-blue);background:#eaf5f8}
body.ui-system :is(button.primary,.button.primary,a.primary):not(.danger,.warn){
  color:var(--inovafa-navy)!important;background:var(--inovafa-cyan)!important;border-color:var(--inovafa-cyan)!important;
  border-radius:4px;box-shadow:0 4px 15px rgba(88,189,210,.22);
}
body.ui-system :is(button.primary,.button.primary,a.primary):not(.danger,.warn):hover{background:#7bcbdc!important}
body.ui-system :is(button,a,input,select):focus-visible{outline-color:var(--inovafa-cyan)}
body.ui-system #content .prod-toolbar{
  background:var(--inovafa-surface);border-color:var(--inovafa-line);
  border-radius:4px;color:var(--inovafa-navy2);box-shadow:inset 3px 0 var(--inovafa-cyan);
}
body.ui-system #content .prod-toolbar input{border-color:var(--inovafa-line);color:var(--inovafa-ink);border-radius:4px}
body.ui-system .country-block.prod-project-country-block{
  background:var(--inovafa-surface);border-color:var(--inovafa-line);border-radius:4px;box-shadow:var(--inovafa-shadow);
}
body.ui-system .country-block.prod-project-country-block>.country-head{
  background:linear-gradient(135deg,var(--inovafa-navy),var(--inovafa-navy2))!important;
  border-color:var(--inovafa-navy2);
}
body.ui-system .country-block.prod-project-country-block>.country-head h2{font:760 24px/1.02 var(--inovafa-display)!important;color:#fff!important}
body.ui-system .country-block.prod-project-country-block>.country-head p{color:#d6e5ed!important}
body.ui-system .country-block.prod-project-country-block>.country-head .eyebrow{color:var(--inovafa-cyan)!important;font-family:var(--inovafa-display);letter-spacing:.15em}
body.ui-system .country-block.prod-project-country-block>.country-head .eyebrow::before{background:var(--inovafa-cyan)!important}
body.ui-system .prod-project-structure-scroll{border-color:var(--inovafa-line);border-radius:4px}
body.ui-system .sheet.prod-project-structure thead th{background:#eaf1f4!important;color:var(--inovafa-navy2)!important;border-color:var(--inovafa-line)}
body.ui-system .sheet.prod-project-structure .group td{
  background:var(--inovafa-navy2)!important;box-shadow:inset 3px 0 var(--inovafa-cyan);
}
body.ui-system .sheet.prod-project-structure .project-row-head span{color:#dceaf0!important}
body.ui-system .sheet.prod-project-structure .project-row-head small{background:#13334b!important;color:white!important}
body.ui-system .sheet.prod-project-structure .prod-project-data td{background:#f7fafc!important;border-color:var(--inovafa-line)}
body.ui-system .sheet.prod-project-structure .prod-project-data td:first-child{border-left-color:var(--inovafa-cyan)}
body.ui-system .sheet.prod-project-structure .prod-project-team-head{background:var(--inovafa-soft);color:var(--inovafa-navy2);border-color:var(--inovafa-line)}
body.ui-system .sheet.prod-project-structure .prod-project-team-row{border-color:var(--inovafa-line)}
body.ui-system .sheet.prod-project-structure .prod-project-team-row:nth-child(odd){background:var(--inovafa-surface-2)}
body.ui-system .sheet.prod-project-structure .prod-project-team-row:hover{background:#e7f5f9}
body.ui-system .sheet.prod-project-structure .prod-project-team-row .worker-no{color:var(--inovafa-blue)}
body.ui-system .sheet.prod-project-structure .worker-profession{
  color:#174357;background:#e6f2f6;border-color:#c5dce5;border-radius:4px;
}
@media(prefers-reduced-motion:no-preference){
  body.ui-system :is(.sidebar nav button,.subnav-tabs button,.prod-project-team-row){
    transition:background-color .22s var(--inovafa-ease),color .22s var(--inovafa-ease);
  }
}

body.ui-system .workspace .topbar{
  background:var(--inovafa-surface);border-bottom-color:var(--inovafa-line);
}
body.ui-system .sidebar .sidebar-bottom{border-top-color:#244255}
body.ui-system .sidebar .sidebar-bottom :is(a,button,.version){color:#b9d0df;}
body.ui-system .sidebar .sidebar-bottom :is(a,button):hover{color:var(--inovafa-cyan);}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""])::after{
  background-position:center 42%;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""])::before{
  content:"";inset:0;position:absolute;pointer-events:none;width:auto;height:auto;z-index:-1;
  background:radial-gradient(circle at 72% 34%,rgba(88,189,210,.16),transparent 30%),
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:auto,72px 72px,72px 72px;
  mask-image:linear-gradient(to bottom,rgba(0,0,0,.75),transparent 90%);
}
body.ui-system .sheet.prod-project-structure .prod-project-team-row{
  background:var(--inovafa-surface);
}
body.ui-system .sheet.prod-project-structure .prod-project-team-row:nth-child(odd){
  background:var(--inovafa-surface-2);
}
body.ui-system .sheet.prod-project-structure .prod-project-team-row .worker-profession{
  color:#174357;background:#e6f2f6;border-color:#c5dce5;
}

/* Continuidade institucional e legibilidade nas vistas operacionais. */
:is(.ui-system,.ui-auth,.ui-document){
  --ui-display:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ui-font:var(--ui-display);
  --ui-ink:#111c28;--ui-navy:#061522;--ui-accent:#0f5ea8;--ui-highlight:#58bdd2;
  --ui-muted:#4a5a6a;--ui-line:#dce3e9;--ui-canvas:#f3f6f8;--ui-soft:#eaf1f4;--ui-surface:#fff;
}
body.premium-ui.ui-system{
  --navy2:#0d263a;--surface-blue:#eaf1f4;
  background:#f3f6f8;
}
body.ui-system .page-title[data-ui-area=""]{
  background:#fff;border-color:#dce3e9;min-height:0;box-shadow:0 1px 4px #06152210;
}
body.ui-system .page-title[data-ui-area=""]::after{content:none;}
body.ui-system .page-title[data-ui-area=""] #title{color:#111c28;}
body.ui-system .page-title[data-ui-area=""] #subtitle{color:#4a5a6a;}
body.ui-system .page-title[data-ui-area] #title{font-size:clamp(34px,3.55vw,51px);text-wrap:balance;}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #subtitle{
  color:#fff;text-shadow:0 1px 3px #061522;
}
body.ui-system .page-title[data-ui-area]:not([data-ui-area=""]) #pageEyebrow{
  color:#9ce0ee;text-shadow:0 1px 3px #061522;
}
body.ui-system .dashboard-management-hero{
  background:#061522;border-color:#28475d!important;border-radius:4px;
  box-shadow:0 8px 20px #06152225;
}
body.ui-system .dashboard-management-hero::before{
  background:
    linear-gradient(90deg,#061522f7 0%,#061522ef 25%,#0a2136ad 51%,#0d263a51 75%,#061522cd 100%),
    url("/assets/images/inovafa-equipa-1200.webp") center 45%/cover no-repeat;
}
body.ui-system .dashboard-management-hero::after{content:none;animation:none;}
body.ui-system .dashboard-management-hero h2{
  font-family:var(--ui-display);font-size:clamp(28px,3.3vw,47px);font-weight:770;letter-spacing:-.045em;
  color:#fff;
}
body.ui-system .dashboard-management-hero h2 b{font-weight:770;color:#fff;}
body.ui-system .dashboard-management-hero .eyebrow,body.ui-system .dashboard-hero-week>span{
  font-family:var(--ui-display);color:#a2e3ee;
}
body.ui-system .dashboard-management-hero .eyebrow::before{
  background:#58bdd2;width:22px;
}
body.ui-system .dashboard-hero-week button{background:#0d263a;color:#fff;border-color:#a9dce5;}
body.ui-system .dashboard-management-kpis{
  border-color:#dce3e9;box-shadow:0 1px 5px #06152211;
}
body.ui-system .dashboard-management-kpis .dashboard-stat{
  background:#fff;border-color:#dce3e9;
}
body.ui-system .dashboard-management-kpis .dashboard-stat::after{
  width:0;height:0;
}
body.ui-system .dashboard-management-kpis .dashboard-stat :is(strong,span){color:#111c28;}
body.ui-system .sfp-command-hero{
  background:linear-gradient(112deg,#061522,#0d263a 70%,#153d59);
  border-color:#23475e;border-radius:4px;
}
body.ui-system .sfp-command-hero .eyebrow{color:#a2e3ee;}
body.ui-system .sfp-command-hero :is(h1,h2,h3){color:#fff;font-weight:730;}
body.ui-system .sfp-command-hero p{color:#dae8ee;}
body.ui-system .ui-footer{border-color:#dce3e9;color:#4a5a6a;font-family:var(--ui-font);}
body.ui-system :is(.panel,.sfp-dashboard-section,.dashboard-map,.dashboard-evolution){
  background:#fff;border-color:#dce3e9;border-radius:4px;box-shadow:0 1px 4px #0615220d;
}
body.ui-system :is(.panel,.sfp-dashboard-section) .eyebrow{color:#0e5d81;}
body.ui-system :is(.panel,.sfp-dashboard-section) .eyebrow::before{background:#58bdd2;}
body.ui-system .dashboard-management :is(.sfp-section-head h2,.panel-head h2){
  color:#111c28;font-weight:710;letter-spacing:-.035em;
}
body.ui-system .dashboard-management :is(.dashboard-cycle-card,.dashboard-finance-grid>div){background:#fff;}
body.ui-system :is(.dashboard-cycle-card>small,.dashboard-finance-grid small,
  .dashboard-attention-list>div>span,.dashboard-evolution-legend span){color:#4a5a6a;}
body.ui-system .dashboard-evolution-chart .trend{stroke:#0f5ea8;}
body.ui-system .dashboard-evolution-chart .trend-area{fill:#58bdd230;}
body.ui-system .dashboard-evolution-chart .point circle{stroke:#0f5ea8;}
body.ui-system .dashboard-evolution-chart .point.latest .value-pill rect{fill:#0f5ea8;stroke:#0f5ea8;}
body.ui-system .dashboard-management .dashboard-cycle-card i b,
body.ui-system .dashboard-country-bar b,body.ui-system .dashboard-share-cell i b{
  background:linear-gradient(90deg,#0f5ea8,#58bdd2);
}
body.ui-system :is(.close360-hero,.compliance-hero,.profit-hero) .eyebrow,
body.ui-system .profit-hero .profit-period-controls label{color:#fff;}
body.ui-system .sheet.team-structure-table tbody tr.group > td{
  background:#0d263a!important;color:#fff!important;
}
body.ui-system .sheet.team-structure-table .project-row-head :is(strong,span,b){color:#fff!important;}
body.ui-system .sheet.team-structure-table .project-row-head small{
  background:#16415c!important;color:#fff!important;
}
body.ui-system .sheet:not(.sfp-hours-grid) tr:not(.group) td small{color:#4a5a6a;}
/* Fundo e primeiro plano pertencem ao mesmo componente nos dois backoffices. */
body.ui-system .log-map-card > header{
  background:#eaf1f4;color:#111c28;
  border-bottom:1px solid #d1dfe7;
  box-shadow:inset 3px 0 #0f5ea8;
}
body.ui-system .log-map-card.has-financial-alert > header{box-shadow:inset 3px 0 #a86922;}
body.ui-system .log-map-card > header > div{min-width:0;overflow-wrap:anywhere;}
body.ui-system .log-map-card > header span{
  opacity:1;color:#3b5364;font-size:11px;font-weight:650;
}
body.ui-system .log-map-card > header strong{font-size:14px;color:#111c28;line-height:1.3;}
body.ui-system .log-map-card > header > b{
  flex:none;white-space:nowrap;font-variant-numeric:tabular-nums;color:#0d446f;
}
body.ui-system .log-map-kpis{background:#f3f6f8;}
body.ui-system :is(#dialog,.work-window-shell),
html.embedded-workspace-root body.ui-system{
  --window-ink:#111c28;--window-matte:#f3f6f8;--window-line:#c4d4de;
  --window-cobalt:#0f5ea8;--window-cobalt-hover:#0d467a;--window-ruler:#188297;
  --window-mono:var(--ui-font);
}
body.ui-system :is(#dialog,.work-window-shell){background:#fff;border-color:#9eb7c6;}
body.ui-system :is(#dialog .dialog-head,.work-window-head){
  background:linear-gradient(103deg,#fff,#eaf1f4);
}
body.ui-system :is(#dialog .dialog-head,.work-window-head)::after{opacity:.5;}
body.ui-system .work-window-head strong,body.ui-system #dialog .dialog-head h2{
  font-family:var(--ui-font);font-weight:730;color:#111c28;
}
body.ui-system .work-window-head small{color:#4a5a6a;}
html.embedded-workspace-root body.ui-system .workspace main>.page-title[data-ui-area]{
  background:#f3f6f8;border-color:#c4d4de;min-height:0;box-shadow:none;
}
html.embedded-workspace-root body.ui-system .workspace main>.page-title[data-ui-area]::after{
  background:linear-gradient(90deg,transparent,#58bdd234);mask-image:none;opacity:1;
}
html.embedded-workspace-root body.ui-system .workspace main>.page-title[data-ui-area] :is(#title,#subtitle){
  color:#111c28;text-shadow:none;
}
html.embedded-workspace-root body.ui-system .workspace main>.page-title[data-ui-area] #pageEyebrow{
  color:#0e5d81;text-shadow:none;
}

/* O acesso partilha a fotografia e a linguagem de formulário do site. */
body.ui-auth .login-visual{background:#061522;}
body.ui-auth .login-photo{
  background-image:url("/assets/images/inovafa-equipa-1200.webp");
  background-position:55% 47%;
}
body.ui-auth .login-overlay{
  background:linear-gradient(0deg,#061522 0%,#061522c9 29%,#0d263a22 72%,#06152288 100%);
}
body.ui-auth .login-visual::after{content:none;}
body.ui-auth .login-copy h1{color:#fff;font-weight:770;letter-spacing:-.05em;}
body.ui-auth .login-copy .eyebrow{color:#a2e3ee;font-family:var(--ui-font);}
body.ui-auth .login-panel{background:#f3f6f8;}
body.ui-auth .login-form-wrap{
  border-color:#dce3e9;border-radius:4px;
  background:linear-gradient(90deg,#0f5ea8,#58bdd2) top/100% 2px no-repeat,#fff;
  box-shadow:0 12px 34px #06152214;
}
body.ui-auth .login-form-wrap>h2{color:#111c28;font-weight:730;}
body.ui-auth .login-form-wrap .eyebrow{color:#0e5d81;font-family:var(--ui-font);}
body.ui-auth .login-form :is(input,.password-wrap .icon-button){
  background:#f3f6f8;border-color:#bdcdd7;color:#111c28;border-radius:4px;
}
body.ui-auth .login-form .primary-button{
  background:#58bdd2;color:#061522;border-color:#58bdd2;box-shadow:none;
}
body.ui-auth .login-form .primary-button:hover{background:#84cedd;color:#061522;}
body.ui-document{background:#f3f6f8;}
body.ui-document main{background:#fff;border-color:#dce3e9;}
body.ui-document button{background:#0f5ea8;border-color:#0f5ea8;}
:is(.ui-system,.ui-auth,.ui-document) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline-color:#0f5ea8;
}
body.ui-system .sidebar :is(a,button):focus-visible{outline-color:#9de3ef;}
@media(prefers-reduced-motion:no-preference){
  body.ui-system #content.view-enter{animation-duration:.16s;}
  body.ui-system :is(.work-window-shell,#dialog[open]){animation-duration:.18s;}
  body.ui-auth .login-photo{animation-duration:.34s;}
}

/* Legend, neutral badges and period controls also render with module-owned styles. */
body.ui-system .target-dashboard-evolution .dashboard-evolution-legend > span{color:#4a5a6a;}
body.ui-system .profit-hero .profit-period-controls > label{color:#fff!important;}
body.ui-system :is([class="badge"],[class="badge "]){color:#4a5a6a;}
