/* INOVAFA 11.23.60 — premium visual system
   Obras remains the list/dossier reference; Produção keeps its denser operational grammar.
   Brand palette is sourced from the institutional site. */
:root{
  --navy:#061522;
  --navy2:#0d263a;
  --blue:#0f5ea8;
  --aqua:#58bdd2;
  --paper:#f3f6f8;
  --ink:#111c28;
  --muted:#5d6d77;
  --line:#dce3e9;
  --surface:#ffffff;
  --surface-soft:#f8fafb;
  --surface-blue:#eef5f9;
  --brand-shadow:0 12px 34px rgba(3,20,34,.075);
  --brand-shadow-hover:0 18px 44px rgba(3,20,34,.11);
  --brand-radius:14px;
}
body.premium-ui{
  background:linear-gradient(180deg,#f8fafc 0,#f3f6f8 210px,#f3f6f8 100%);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
body.premium-ui .sidebar{
  background:linear-gradient(180deg,#061522 0%,#071b2a 55%,#061522 100%);
  border-right:1px solid rgba(88,189,210,.12);
  box-shadow:12px 0 34px rgba(3,20,34,.08);
}
body.premium-ui .brand span{color:#8eabbc;letter-spacing:2.2px}
body.premium-ui .sidebar nav{gap:5px}
body.premium-ui .sidebar nav button{border-radius:10px;color:#b7cad6;padding:11px 12px;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease}
body.premium-ui .sidebar nav button:hover{background:rgba(255,255,255,.055);color:#fff;transform:translateX(1px)}
body.premium-ui .sidebar nav button.active{color:#fff;border-color:rgba(88,189,210,.16);background:linear-gradient(90deg,rgba(88,189,210,.18),rgba(15,94,168,.11));box-shadow:inset 3px 0 var(--aqua),0 8px 22px rgba(0,0,0,.08)}
body.premium-ui .workspace .topbar{background:rgba(255,255,255,.9);backdrop-filter:blur(16px);border-bottom-color:#e2e9ee;box-shadow:0 4px 18px rgba(3,20,34,.03)}
body.premium-ui main{padding-top:30px}
body.premium-ui .page-title{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #e0e8ed;align-items:flex-end}
body.premium-ui .page-title h1{font-size:32px;letter-spacing:-1.15px;color:var(--navy)}
body.premium-ui .page-title p{max-width:900px;color:var(--muted)}
body.premium-ui .eyebrow{color:var(--blue);letter-spacing:1.8px}
body.premium-ui .eyebrow:before{content:"";display:inline-block;width:22px;height:2px;margin-right:8px;vertical-align:3px;background:var(--aqua);border-radius:999px}
body.premium-ui button,body.premium-ui .button-link{border-radius:9px;min-height:35px;transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease,background .14s ease,color .14s ease}
body.premium-ui button:hover:not(:disabled),body.premium-ui .button-link:hover{transform:translateY(-1px)}
body.premium-ui button.primary,body.premium-ui .primary,body.premium-ui .button-link.primary{color:#fff;border-color:#0f5ea8;background:linear-gradient(135deg,#0f5ea8 0%,#0b4d82 100%);box-shadow:0 7px 18px rgba(15,94,168,.16),inset 0 1px rgba(255,255,255,.14)}
body.premium-ui button.primary:hover:not(:disabled),body.premium-ui .primary:hover:not(:disabled),body.premium-ui .button-link.primary:hover{color:#fff;background:linear-gradient(135deg,#116bbd 0%,#0b4d82 100%);box-shadow:0 10px 24px rgba(15,94,168,.22)}
body.premium-ui button.danger{border-color:#e0b6b1;color:#9f3f37;background:#fff8f7}
body.premium-ui button.danger:hover{border-color:#ca827a;background:#fff1ef}
body.premium-ui input,body.premium-ui select,body.premium-ui textarea{border-color:#d6e0e7;border-radius:9px;background:#fff;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}
body.premium-ui input:hover,body.premium-ui select:hover,body.premium-ui textarea:hover{border-color:#b5c7d2}
body.premium-ui input:focus,body.premium-ui select:focus,body.premium-ui textarea:focus{outline:none;border-color:#64b8ca;box-shadow:0 0 0 3px rgba(88,189,210,.15)}
body.premium-ui label{color:#425765}
body.premium-ui .panel,body.premium-ui .kpi,body.premium-ui .prod-card,body.premium-ui .prod-kpi,body.premium-ui .fin-kpi,body.premium-ui .commercial-kpi,body.premium-ui .legal-kpi,body.premium-ui .garnish-kpi,body.premium-ui .pay-kpi,body.premium-ui .fin-domain,body.premium-ui .fin-map-card,body.premium-ui .prod-project-card,body.premium-ui .log-map-card,body.premium-ui .refund-card{border-color:var(--line);border-radius:var(--brand-radius);background:#fff;box-shadow:var(--brand-shadow)}
body.premium-ui button.prod-kpi:hover,body.premium-ui button.fin-kpi:hover,body.premium-ui .fin-domain:hover{border-color:#b9d4df;box-shadow:var(--brand-shadow-hover)}
body.premium-ui .panel{padding:20px}
body.premium-ui .panel-head{padding-bottom:13px;margin-bottom:15px;border-bottom:1px solid #edf1f4}
body.premium-ui .panel-head h2{color:var(--navy)}
body.premium-ui .panel-head p{color:var(--muted)}
body.premium-ui .prod-kpi strong,body.premium-ui .fin-kpi strong,body.premium-ui .commercial-kpi strong,body.premium-ui .legal-kpi strong,body.premium-ui .garnish-kpi strong,body.premium-ui .pay-kpi strong{color:var(--navy)}
body.premium-ui .weekbar,body.premium-ui .filters,body.premium-ui .prod-toolbar,body.premium-ui .fin-toolbar,body.premium-ui .legal-toolbar,body.premium-ui .garnish-toolbar,body.premium-ui .pay-toolbar,body.premium-ui .log-toolbar,body.premium-ui .record-toolbar,body.premium-ui .fin-module-nav,body.premium-ui .subnav{border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.94);box-shadow:0 7px 22px rgba(3,20,34,.035)}
body.premium-ui .prod-toolbar,body.premium-ui .fin-toolbar,body.premium-ui .legal-toolbar,body.premium-ui .garnish-toolbar,body.premium-ui .pay-toolbar,body.premium-ui .log-toolbar,body.premium-ui .record-toolbar{padding:11px 12px}
body.premium-ui .subnav{padding:5px}
body.premium-ui .subnav button.active,body.premium-ui .sfp-inline-tabs button.active{background:var(--navy);color:#fff;box-shadow:0 5px 14px rgba(6,21,34,.13)}
body.premium-ui .sheet-scroll{border-color:var(--line);border-radius:13px;background:#fff;box-shadow:0 8px 26px rgba(3,20,34,.045)}
body.premium-ui .sheet th{background:#edf3f6;color:#536b7a;border-bottom-color:#d7e2e8;font-weight:800;letter-spacing:.55px}
body.premium-ui .sheet td{border-bottom-color:#edf1f4;color:#1d303d}
body.premium-ui .sheet tbody tr:not(.group):hover>td{background:#f4fafc}
body.premium-ui .sheet .group td,body.premium-ui .group td{background:linear-gradient(100deg,#061522 0%,#0b2b41 100%);color:#fff;box-shadow:inset 3px 0 var(--aqua)}
body.premium-ui .group td span{color:#b7cbd7}
body.premium-ui .group td small{color:#a9c1cf}
body.premium-ui .group td b{color:#fff}
body.premium-ui .country-head{align-items:flex-end;margin-bottom:10px;padding:0 3px}
body.premium-ui .country-head h2{color:var(--navy);font-size:19px}
body.premium-ui .country-head p{color:var(--muted)}
body.premium-ui .country-block{margin-bottom:24px}
body.premium-ui .badge{border:1px solid transparent;font-weight:750}
body.premium-ui .badge.approved,body.premium-ui .badge.closed{border-color:#cce3d8}
body.premium-ui .badge.review{border-color:#f1d7a6}
body.premium-ui .badge.submitted{border-color:#c8dced}
body.premium-ui .notice{border-radius:10px}
body.premium-ui .notice.info{background:#eff7fa;border-color:#c9e2e9;color:#244c60}
body.premium-ui dialog{border-radius:16px;border-color:#cfdce4;box-shadow:0 34px 110px rgba(6,21,34,.28)}
body.premium-ui dialog::backdrop{background:rgba(6,21,34,.7);backdrop-filter:blur(5px)}
body.premium-ui .dialog-head{padding-bottom:15px}
body.premium-ui .form-grid fieldset,body.premium-ui .sfp-form-section,body.premium-ui .log-form-section{background:#f9fbfc!important;border-color:#dde6eb!important;border-radius:12px!important}
/* Keep Produção operational and dense, but brand-aligned. */
body.premium-ui .sfp-hours-grid-wrap{box-shadow:0 8px 24px rgba(3,20,34,.045)}
body.premium-ui .sfp-hours-summary>div{border-radius:11px;box-shadow:0 5px 16px rgba(3,20,34,.03)}
body.premium-ui .sfp-hours-grid thead th:nth-child(1),body.premium-ui .sfp-hours-grid thead th:nth-child(2){background:#061522!important}
/* Clientes + Propostas use the same panel, KPI and .sheet grammar as the rest of Gestão. */
/* Reconcile module-specific surfaces to the same brand grammar. */
body.premium-ui .fin-map-card>header,body.premium-ui .prod-project-card header{background:linear-gradient(100deg,#eef5f8,#fbfdfe);border-bottom-color:#dbe5ea}
body.premium-ui .prod-need-meter span{background:linear-gradient(90deg,var(--blue),var(--aqua))}
body.premium-ui .fin-calc{background:#eef6f9;border-color:#d3e4ea}
body.premium-ui .legal-facts>div,body.premium-ui .garnish-facts>div,body.premium-ui .fin-facts>div,body.premium-ui .prod-facts>div,body.premium-ui .pay-detail-grid>div,body.premium-ui .record-summary-grid>div{background:#f8fafb;border-color:#e0e8ed;border-radius:10px}
@media(max-width:720px){body.premium-ui .page-title{align-items:flex-start}body.premium-ui .page-title h1{font-size:27px}}

/* 11.23.60 — Meu Trabalho: one coordination layer over existing operational sources. */
body.premium-ui .work-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px;padding:24px 26px;border:1px solid #cfdde6;border-radius:16px;background:linear-gradient(125deg,#061522 0%,#0d3049 72%,#105b78 100%);box-shadow:0 18px 42px rgba(6,21,34,.13);color:#fff}
body.premium-ui .work-hero .eyebrow{color:#8ed8e6}
body.premium-ui .work-hero .eyebrow:before{background:#58bdd2}
body.premium-ui .work-hero h2{margin:5px 0 6px;font-size:25px;letter-spacing:-.55px;color:#fff}
body.premium-ui .work-hero p{max-width:780px;margin:0;color:#c2d4df;line-height:1.55}
body.premium-ui .work-hero-actions{display:flex;gap:8px;flex:0 0 auto}
body.premium-ui .work-hero-actions button:not(.primary){border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff}
body.premium-ui .work-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:14px}
body.premium-ui .work-metric{display:flex;align-items:flex-end;justify-content:space-between;min-height:82px;padding:14px 15px;border:1px solid #d9e3e9;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(3,20,34,.04)}
body.premium-ui .work-metric span{font-size:11px;font-weight:800;letter-spacing:.35px;text-transform:uppercase;color:#70828e}
body.premium-ui .work-metric strong{font-size:27px;line-height:1;color:#0b2233}
body.premium-ui .work-metric.warn{border-color:#ead6a7;background:#fffdf7}
body.premium-ui .work-metric.danger{border-color:#e7c2bd;background:#fff9f8}
body.premium-ui .work-metric.danger strong{color:#a9463d}
body.premium-ui .work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px;padding:9px 11px;border:1px solid #dbe4ea;border-radius:12px;background:#fff}
body.premium-ui .work-toolbar>span{font-size:12px;color:#73838d;white-space:nowrap}
body.premium-ui .work-scopes{display:flex;gap:5px;flex-wrap:wrap}
body.premium-ui .work-scopes button{min-height:31px;padding:5px 10px;border-color:transparent;background:#f3f6f8;color:#4f6471;font-size:11px;font-weight:750}
body.premium-ui .work-scopes button b{margin-left:4px;color:inherit}
body.premium-ui .work-scopes button.active{background:#061522;color:#fff;box-shadow:0 5px 14px rgba(6,21,34,.13)}
body.premium-ui .work-list{display:grid;gap:9px}
body.premium-ui .work-item{display:grid;grid-template-columns:118px minmax(0,1fr) auto;gap:17px;align-items:stretch;padding:0;border:1px solid #dce5ea;border-left:4px solid #91a8b6;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(3,20,34,.035);overflow:hidden;transition:border-color .14s ease,box-shadow .14s ease,transform .14s ease}
body.premium-ui .work-item:hover{border-color:#bfd3dc;box-shadow:0 10px 26px rgba(3,20,34,.07);transform:translateY(-1px)}
body.premium-ui .work-item.priority-urgent{border-left-color:#c95b4e}
body.premium-ui .work-item.priority-warning{border-left-color:#d8a236}
body.premium-ui .work-item-side{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:15px 0 15px 14px}
body.premium-ui .work-area{font-size:10px;font-weight:850;letter-spacing:.65px;text-transform:uppercase;color:#527081}
body.premium-ui .work-bucket{font-size:12px;font-weight:800;color:#0d3148}
body.premium-ui .bucket-overdue .work-bucket{color:#a53f36}
body.premium-ui .work-item-main{min-width:0;padding:14px 0}
body.premium-ui .work-item-title{display:flex;align-items:center;gap:9px;margin-bottom:3px}
body.premium-ui .work-item-title h3{min-width:0;margin:0;color:#0a2233;font-size:15px;line-height:1.25}
body.premium-ui .work-item-main>p{margin:0 0 8px;color:#687b87;font-size:12px;line-height:1.4}
body.premium-ui .work-next{display:flex;gap:8px;align-items:baseline;margin:6px 0 9px;padding:7px 9px;border-radius:8px;background:#f2f7f9}
body.premium-ui .work-next span{flex:0 0 auto;font-size:9px;font-weight:850;letter-spacing:.55px;text-transform:uppercase;color:#6c8491}
body.premium-ui .work-next strong{font-size:12px;color:#18384b}
body.premium-ui .work-meta{display:flex;gap:14px;flex-wrap:wrap;color:#637682;font-size:11px}
body.premium-ui .work-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;padding:14px 14px 14px 4px}
body.premium-ui .work-item-actions button{white-space:nowrap;min-height:32px;padding:6px 9px;font-size:10px}
body.premium-ui .work-dialog-context{margin-bottom:15px;padding:13px 14px;border-radius:10px;background:#f2f7f9;border:1px solid #dce8ed}
body.premium-ui .work-dialog-context h3{margin:4px 0;color:#0a2233}
body.premium-ui .work-dialog-context p{margin:0;color:#687b87;font-size:12px;line-height:1.45}
body.premium-ui .work-form>label{display:grid;gap:6px;margin-top:12px}
body.premium-ui .work-form textarea{width:100%;resize:vertical}
body.premium-ui .sfp-command-hero-actions{display:flex;gap:7px;margin-top:7px}
@media(max-width:1080px){body.premium-ui .work-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}body.premium-ui .work-item{grid-template-columns:105px minmax(0,1fr)}body.premium-ui .work-item-actions{grid-column:2;justify-content:flex-start;padding:0 12px 13px 0}}
@media(max-width:720px){body.premium-ui .work-hero{align-items:flex-start;flex-direction:column;padding:19px}body.premium-ui .work-hero-actions{width:100%}body.premium-ui .work-hero-actions button{flex:1}body.premium-ui .work-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-ui .work-toolbar{align-items:flex-start;flex-direction:column}body.premium-ui .work-item{grid-template-columns:1fr;gap:0;padding:14px}body.premium-ui .work-item-side{padding:0 0 7px;flex-direction:row;justify-content:flex-start}body.premium-ui .work-item-main{padding:0}body.premium-ui .work-item-actions{grid-column:1;padding:10px 0 0;justify-content:flex-start;flex-wrap:wrap}}

/* 11.23.61 — Fase 1 completa: histórico, ownership e resumo pessoal no Dashboard. */
body.premium-ui .work-history{margin-top:16px;border:1px solid #dbe5ea;border-radius:10px;background:#fbfdfe;overflow:hidden}
body.premium-ui .work-history summary{cursor:pointer;padding:11px 13px;font-size:11px;font-weight:850;letter-spacing:.4px;text-transform:uppercase;color:#355365;background:#f3f7f9}
body.premium-ui .work-history-list{display:grid;gap:0}
body.premium-ui .work-history-row{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;padding:11px 13px;border-top:1px solid #e8eef2}
body.premium-ui .work-history-row>span{display:grid;gap:2px;align-content:start}
body.premium-ui .work-history-row>span strong{color:#16364a;font-size:12px}
body.premium-ui .work-history-row>span small{color:#7a8b95;font-size:10px}
body.premium-ui .work-history-row p{margin:0 0 4px;color:#647883;font-size:11px;line-height:1.45}
body.premium-ui .work-history-row p:last-child{margin-bottom:0}
body.premium-ui .work-history-row p b{display:inline-block;min-width:102px;color:#304f61}
body.premium-ui .sfp-work-digest{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(300px,1.5fr) auto;gap:20px;align-items:center;margin:14px 0 18px;padding:16px 18px;border:1px solid #d6e3e9;border-left:4px solid #58bdd2;border-radius:13px;background:linear-gradient(105deg,#f8fbfc 0%,#fff 72%);box-shadow:0 8px 24px rgba(3,20,34,.04)}
body.premium-ui .sfp-work-digest.warn{border-left-color:#d6a13e;background:linear-gradient(105deg,#fffaf0 0%,#fff 70%)}
body.premium-ui .sfp-work-digest.danger{border-left-color:#c95b4e;background:linear-gradient(105deg,#fff7f5 0%,#fff 70%)}
body.premium-ui .sfp-work-digest-summary h2{margin:3px 0 4px;color:#0a2233;font-size:18px}
body.premium-ui .sfp-work-digest-summary p{margin:0;color:#687b87;font-size:11px}
body.premium-ui .sfp-work-digest-items{display:grid;gap:5px;min-width:0}
body.premium-ui .sfp-work-digest-items>div{display:flex;justify-content:space-between;gap:16px;min-width:0;padding:5px 0;border-bottom:1px solid #edf1f3}
body.premium-ui .sfp-work-digest-items>div:last-child{border-bottom:0}
body.premium-ui .sfp-work-digest-items strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#19394b;font-size:11px}
body.premium-ui .sfp-work-digest-items span{flex:0 0 auto;color:#7a8992;font-size:10px}
@media(max-width:980px){body.premium-ui .sfp-work-digest{grid-template-columns:1fr auto}body.premium-ui .sfp-work-digest-items{grid-column:1/-1;grid-row:2}}
@media(max-width:720px){body.premium-ui .work-history-row{grid-template-columns:1fr;gap:5px}body.premium-ui .sfp-work-digest{grid-template-columns:1fr}body.premium-ui .sfp-work-digest-items{grid-column:1;grid-row:auto}body.premium-ui .sfp-work-digest>button{width:100%}body.premium-ui .sfp-work-digest-items>div{align-items:flex-start;flex-direction:column;gap:2px}}

/* 11.23.62 — Agenda operacional + alertas inteligentes. */
body.premium-ui .agenda-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:16px;padding:24px 26px;border:1px solid #cfdde6;border-radius:16px;background:linear-gradient(125deg,#061522 0%,#0d3049 68%,#0f5ea8 100%);box-shadow:0 18px 42px rgba(6,21,34,.13);color:#fff}
body.premium-ui .agenda-hero .eyebrow{color:#8ed8e6}
body.premium-ui .agenda-hero .eyebrow:before{background:#58bdd2}
body.premium-ui .agenda-hero h2{margin:5px 0 6px;font-size:25px;letter-spacing:-.55px;color:#fff}
body.premium-ui .agenda-hero p{max-width:800px;margin:0;color:#c7d8e2;line-height:1.55}
body.premium-ui .agenda-hero-actions{display:flex;gap:8px;flex:0 0 auto}
body.premium-ui .agenda-hero-actions button:not(.primary){border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff}
body.premium-ui .agenda-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:9px 10px;border:1px solid #dce5ea;border-radius:11px;background:#fff}
body.premium-ui .agenda-toolbar>span{flex:0 0 auto;color:#788a95;font-size:10px}
body.premium-ui .agenda-filters{display:flex;gap:6px;flex-wrap:wrap}
body.premium-ui .agenda-filters button{min-height:31px;padding:6px 9px;border-radius:8px;background:#f6f9fa;color:#46606f;font-size:10px}
body.premium-ui .agenda-filters button.active{border-color:#0f5ea8;background:#eaf4fb;color:#0b4d87;box-shadow:inset 0 0 0 1px rgba(15,94,168,.08)}
body.premium-ui .agenda-filters button b{margin-left:3px;color:inherit}
body.premium-ui .agenda-timeline{display:grid;gap:0;position:relative}
body.premium-ui .agenda-timeline:before{content:"";position:absolute;left:78px;top:8px;bottom:8px;width:1px;background:#dce6eb}
body.premium-ui .agenda-day{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:0 0 15px;position:relative}
body.premium-ui .agenda-date{position:relative;z-index:1;align-self:start;padding:8px 10px 8px 0;text-align:right;background:#f3f7f9}
body.premium-ui .agenda-date:after{content:"";position:absolute;right:12px;bottom:-2px;width:9px;height:9px;border:3px solid #f3f7f9;border-radius:50%;background:#58bdd2;transform:translateX(18px)}
body.premium-ui .agenda-day.overdue .agenda-date:after{background:#c95b4e}
body.premium-ui .agenda-date strong{display:block;color:#1f4357;font-size:11px;text-transform:capitalize}
body.premium-ui .agenda-date span{display:block;margin-top:2px;color:#80919a;font-size:9px}
body.premium-ui .agenda-events{display:grid;gap:8px}
body.premium-ui .agenda-event{display:grid;gap:7px;padding:13px 14px;border:1px solid #dbe5ea;border-left:4px solid #a8bac4;border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(3,20,34,.035)}
body.premium-ui .agenda-event.warning{border-left-color:#d6a13e;background:linear-gradient(100deg,#fffdf8 0%,#fff 25%)}
body.premium-ui .agenda-event.urgent{border-left-color:#c95b4e;background:linear-gradient(100deg,#fff9f8 0%,#fff 25%)}
body.premium-ui .agenda-event.informative{border-left-color:#8db9c5}
body.premium-ui .agenda-event-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.premium-ui .agenda-event-top>div{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
body.premium-ui .agenda-area,.agenda-action-badge,.agenda-info-badge{display:inline-flex;align-items:center;min-height:20px;padding:3px 7px;border-radius:999px;font-size:9px;font-weight:850;letter-spacing:.35px;text-transform:uppercase}
body.premium-ui .agenda-area{background:#edf4f7;color:#36586a}
body.premium-ui .agenda-action-badge{background:#eaf4fb;color:#0f5ea8}
body.premium-ui .agenda-info-badge{background:#f1f4f5;color:#71818a}
body.premium-ui .agenda-owner{color:#81919a;font-size:9px}
body.premium-ui .agenda-event h3{margin:0;color:#102f42;font-size:14px}
body.premium-ui .agenda-event>p{margin:0;color:#6d7f89;font-size:11px;line-height:1.45}
body.premium-ui .agenda-event-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
body.premium-ui .agenda-event-actions button{min-height:30px;padding:5px 9px;font-size:9px}
@media(max-width:720px){body.premium-ui .agenda-hero{align-items:flex-start;flex-direction:column;padding:19px}body.premium-ui .agenda-hero-actions{width:100%}body.premium-ui .agenda-hero-actions button{flex:1}body.premium-ui .agenda-toolbar{align-items:flex-start;flex-direction:column}body.premium-ui .agenda-timeline:before{left:7px}body.premium-ui .agenda-day{grid-template-columns:1fr;gap:6px;padding-left:20px}body.premium-ui .agenda-date{text-align:left;padding:0;background:transparent}body.premium-ui .agenda-date:after{left:-18px;right:auto;top:4px;bottom:auto;transform:none}body.premium-ui .agenda-event-actions{justify-content:flex-start}}

/* 11.23.63 — clear product hierarchy: Dashboard = management intelligence; Meu Trabalho = action; Agenda = time. */
body.premium-ui .dashboard-management-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:16px;margin-top:16px}
body.premium-ui .dashboard-management-grid>.dashboard-evolution,
body.premium-ui .dashboard-management-grid>.dashboard-map{grid-column:1/-1}
body.premium-ui .dashboard-management-hero{background:linear-gradient(125deg,#061522 0%,#0b2d45 68%,#0f5ea8 100%)}
body.premium-ui .dashboard-management-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}
body.premium-ui .dashboard-stat{min-width:0;text-align:left}
body.premium-ui .dashboard-stat strong{font-variant-numeric:tabular-nums}
body.premium-ui .dashboard-work-highlight{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 0;padding:11px 14px;border:1px solid #d9e3e9;border-left:3px solid #58bdd2;border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(3,20,34,.035)}
body.premium-ui .dashboard-work-highlight.warn{border-left-color:#d6a13e;background:#fffdf8}
body.premium-ui .dashboard-work-highlight.danger{border-left-color:#c95b4e;background:#fff9f8}
body.premium-ui .dashboard-work-highlight>div{display:grid;grid-template-columns:auto auto 1fr;align-items:baseline;gap:8px 13px;min-width:0}
body.premium-ui .dashboard-work-highlight .eyebrow{font-size:9px}
body.premium-ui .dashboard-work-highlight>div>strong{color:#123449;font-size:13px}
body.premium-ui .dashboard-work-highlight>div>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#70818b;font-size:10px}
body.premium-ui .dashboard-work-highlight button{flex:0 0 auto;min-height:31px;padding:5px 10px;font-size:10px}
body.premium-ui .dashboard-country-table-wrap{overflow:auto;border:1px solid #e1e8ec;border-radius:10px}
body.premium-ui .dashboard-country-table{width:100%;border-collapse:collapse;font-size:11px;font-variant-numeric:tabular-nums}
body.premium-ui .dashboard-country-table th,body.premium-ui .dashboard-country-table td{padding:10px 11px;border-bottom:1px solid #edf1f3;text-align:right;white-space:nowrap}
body.premium-ui .dashboard-country-table th:first-child,body.premium-ui .dashboard-country-table td:first-child{text-align:left}
body.premium-ui .dashboard-country-table thead th{background:#edf3f6;color:#536b7a;font-size:9px;letter-spacing:.45px;text-transform:uppercase}
body.premium-ui .dashboard-country-table tbody th{color:#183b50;font-weight:800}
body.premium-ui .dashboard-country-table tbody tr:hover{background:#f7fbfc}
body.premium-ui .dashboard-country-table .needs-open{color:#a45d1f;font-weight:850}
body.premium-ui .dashboard-country-table tfoot th,body.premium-ui .dashboard-country-table tfoot td{border-bottom:0;background:#071c2b;color:#fff;font-weight:850}
body.premium-ui .dashboard-country-bars{display:grid;gap:14px;padding:2px 1px}
body.premium-ui .dashboard-country-bar{display:grid;gap:6px}
body.premium-ui .dashboard-country-bar>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.premium-ui .dashboard-country-bar strong{color:#173b50;font-size:11px}
body.premium-ui .dashboard-country-bar span{color:#6d7f89;font-size:10px;font-variant-numeric:tabular-nums}
body.premium-ui .dashboard-country-bar i{display:block;height:9px;border-radius:999px;background:#edf2f4;overflow:hidden}
body.premium-ui .dashboard-country-bar b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f5ea8,#58bdd2)}
body.premium-ui .dashboard-evolution-chart{display:grid;gap:9px}
body.premium-ui .dashboard-evolution-chart svg{width:100%;height:230px;overflow:visible}
body.premium-ui .dashboard-evolution-chart .grid line{stroke:#e4eaee;stroke-width:1}
body.premium-ui .dashboard-evolution-chart .grid text{fill:#83919a;font-size:10px}
body.premium-ui .dashboard-evolution-chart .trend{fill:none;stroke:#0f5ea8;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
body.premium-ui .dashboard-evolution-chart .point circle{fill:#fff;stroke:#58bdd2;stroke-width:3}
body.premium-ui .dashboard-evolution-chart .point .value{fill:#173b50;font-size:10px;font-weight:850}
body.premium-ui .dashboard-evolution-chart .point .month{fill:#71828c;font-size:10px;text-transform:capitalize}
body.premium-ui .dashboard-evolution-legend{display:flex;gap:8px;flex-wrap:wrap}
body.premium-ui .dashboard-evolution-legend span{display:flex;gap:6px;padding:6px 8px;border:1px solid #e2e9ed;border-radius:7px;background:#fafcfd;color:#6d7e88;font-size:9px}
body.premium-ui .dashboard-evolution-legend strong{color:#294d61}
body.premium-ui .dashboard-map .sfp-project-ops-list{max-height:430px;overflow:auto}
body.premium-ui .agenda-calendar-hero{background:linear-gradient(125deg,#0b2637 0%,#113f5b 72%,#326f87 100%)}
body.premium-ui .agenda-calendar-toolbar{margin-top:0}
body.premium-ui .agenda-calendar-timeline .agenda-event.calendar-event{border-left-color:#8db9c5;background:#fff;box-shadow:0 4px 14px rgba(3,20,34,.03)}
body.premium-ui .agenda-calendar-timeline .agenda-event.calendar-event .agenda-event-actions{justify-content:flex-start}
body.premium-ui .agenda-calendar-timeline .agenda-event.calendar-event .agenda-event-actions:empty{display:none}
@media(max-width:1180px){body.premium-ui .dashboard-management-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}body.premium-ui .dashboard-management-grid{grid-template-columns:1fr}body.premium-ui .dashboard-management-grid>*{grid-column:1!important}}
@media(max-width:720px){body.premium-ui .dashboard-management-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-ui .dashboard-work-highlight{align-items:flex-start;flex-direction:column}body.premium-ui .dashboard-work-highlight>div{grid-template-columns:1fr;gap:3px}body.premium-ui .dashboard-work-highlight>div>small{white-space:normal}body.premium-ui .dashboard-work-highlight button{width:100%}body.premium-ui .dashboard-country-table{min-width:650px}body.premium-ui .dashboard-evolution-chart svg{height:200px}}

/* R11.10.7 — orientação contextual dinâmica. Não cria um novo fluxo de trabalho:
   sinaliza automaticamente o que falta no contexto atual e desaparece quando a origem fica regularizada. */
body.premium-ui .context-assist{margin:12px 0 18px;border:1px solid #d9e4ea;border-left:4px solid #5ca9bc;border-radius:14px;background:linear-gradient(105deg,#f8fbfc 0%,#fff 62%);box-shadow:0 10px 28px rgba(3,20,34,.055);overflow:hidden;animation:assistIn .2s ease-out}
body.premium-ui .context-assist.warning{border-left-color:#d3a13f;background:linear-gradient(105deg,#fffaf0 0%,#fff 62%)}
body.premium-ui .context-assist.urgent{border-left-color:#c55d51;background:linear-gradient(105deg,#fff7f5 0%,#fff 62%)}
body.premium-ui .context-assist-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-bottom:1px solid rgba(205,220,228,.72)}
body.premium-ui .context-assist-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
body.premium-ui .context-assist-kicker{color:#5f7886;font-size:8px;font-weight:900;letter-spacing:1.45px}
body.premium-ui .context-assist-head strong{color:#17394d;font-size:12px}
body.premium-ui .context-assist-status{flex:0 0 auto;padding:4px 8px;border-radius:999px;background:#eaf4f7;color:#2b6072;font-size:8px;font-weight:900;letter-spacing:.7px}
body.premium-ui .context-assist.warning .context-assist-status{background:#fff1cf;color:#8b6420}
body.premium-ui .context-assist.urgent .context-assist-status{background:#fee9e5;color:#9d493f}
body.premium-ui .context-assist-body{display:grid;gap:0}
body.premium-ui .context-assist-item{display:grid;grid-template-columns:34px minmax(0,1fr);gap:11px;padding:13px 16px;border-bottom:1px solid #edf2f4}
body.premium-ui .context-assist-item:last-of-type{border-bottom:0}
body.premium-ui .context-assist-index{display:grid;place-items:center;width:27px;height:27px;border:1px solid #c9dbe3;border-radius:8px;background:#f2f7f9;color:#427187;font-size:9px;font-weight:900;font-variant-numeric:tabular-nums}
body.premium-ui .context-assist-item.warning .context-assist-index{border-color:#ead5a9;background:#fff7e5;color:#9a6b22}
body.premium-ui .context-assist-item.urgent .context-assist-index{border-color:#eac4bf;background:#fff0ee;color:#a84e43}
body.premium-ui .context-assist-copy h3{margin:0 0 3px;color:#102f42;font-size:13px;letter-spacing:-.08px}
body.premium-ui .context-assist-copy p{margin:0;color:#6b7d87;font-size:10.5px;line-height:1.45}
body.premium-ui .context-assist-copy .context-assist-why{margin-top:6px;padding:6px 8px;border-radius:8px;background:rgba(238,245,248,.72);color:#536c7a}
body.premium-ui .context-assist-copy .context-assist-why span{margin-right:6px;color:#294e62;font-size:8px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
body.premium-ui .context-assist-copy ol{display:grid;gap:3px;margin:7px 0 0;padding-left:18px;color:#334f5e;font-size:10.5px;line-height:1.4}
body.premium-ui .context-assist-copy li::marker{color:#5b99aa;font-weight:900}
body.premium-ui .context-assist-more{margin:0;padding:9px 16px 11px;color:#7d8e98;font-size:9.5px}
body.premium-ui .assist-target{position:relative!important;border-color:#d7a84d!important;box-shadow:0 0 0 2px rgba(215,168,77,.12),0 7px 18px rgba(3,20,34,.05)!important}
body.premium-ui .sidebar nav .assist-target{box-shadow:inset 3px 0 #d7a84d,0 0 0 1px rgba(215,168,77,.28)!important;color:#fff!important}
body.premium-ui .assist-target::after{content:attr(data-assist-count);position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#bd8230;color:#fff;font-size:8px;font-weight:900;line-height:1;z-index:8;box-shadow:0 3px 9px rgba(62,42,12,.18)}
body.premium-ui .sidebar nav .assist-target::after{top:5px;right:6px;border-color:#071b2a}
body.premium-ui .assist-focus{position:relative!important;outline:2px solid rgba(215,168,77,.72)!important;outline-offset:3px!important;border-radius:8px;animation:assistPulse 1.7s ease-in-out infinite}
body.premium-ui .assist-focus::after{content:attr(data-assist-hint);position:absolute;right:8px;top:-10px;z-index:20;padding:3px 7px;border-radius:999px;background:#8e6424;color:#fff;font-size:8px;font-weight:900;letter-spacing:.4px;box-shadow:0 4px 12px rgba(77,51,15,.2);pointer-events:none}
@keyframes assistIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes assistPulse{0%,100%{outline-color:rgba(215,168,77,.42)}50%{outline-color:rgba(215,168,77,.92)}}
@media(max-width:720px){body.premium-ui .context-assist-head{align-items:flex-start;flex-direction:column;gap:6px}body.premium-ui .context-assist-head>div{align-items:flex-start;flex-direction:column;gap:2px}body.premium-ui .context-assist-item{grid-template-columns:28px minmax(0,1fr);padding:12px}body.premium-ui .context-assist-copy .context-assist-why span{display:block;margin:0 0 2px}}


/* R11.10.7.4 — Dashboard executivo: contraste, hierarquia e leitura de gestão. */
body.premium-ui .dashboard-management{gap:14px}
body.premium-ui .dashboard-management-hero{position:relative;overflow:hidden;min-height:196px;align-items:stretch;padding:28px 30px;border:0;color:#fff;background:linear-gradient(90deg,rgba(6,21,34,.97) 0%,rgba(6,21,34,.92) 44%,rgba(8,37,55,.66) 72%,rgba(8,37,55,.48) 100%),url('/gestao/assets/inovafa-equipa-1200.webp') center 46%/cover no-repeat;box-shadow:0 18px 44px rgba(3,20,34,.16)}
body.premium-ui .dashboard-management-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(88,189,210,.08),transparent 45%);pointer-events:none}
body.premium-ui .dashboard-management-hero>*{position:relative;z-index:1}
body.premium-ui .dashboard-management-hero .eyebrow{color:#8de0ec}
body.premium-ui .dashboard-management-hero .eyebrow:before{background:#8de0ec}
body.premium-ui .dashboard-hero-copy{display:flex;flex-direction:column;justify-content:center;max-width:720px}
body.premium-ui .dashboard-hero-status{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;margin:9px 0 10px;padding:5px 9px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.09);color:#dbeaf1;font-size:9px;font-weight:850;letter-spacing:.35px;text-transform:uppercase;backdrop-filter:blur(8px)}
body.premium-ui .dashboard-hero-status i{width:7px;height:7px;border-radius:50%;background:#e0a545;box-shadow:0 0 0 4px rgba(224,165,69,.12)}
body.premium-ui .dashboard-management-hero.stable .dashboard-hero-status i{background:#71c49c;box-shadow:0 0 0 4px rgba(113,196,156,.13)}
body.premium-ui .dashboard-management-hero h2{margin:0;color:#fff;font-size:32px;line-height:1.08;letter-spacing:-1px;text-shadow:0 2px 14px rgba(0,0,0,.16)}
body.premium-ui .dashboard-management-hero h2 span{color:#b8d4e1;font-size:22px;font-weight:650;letter-spacing:-.45px}
body.premium-ui .dashboard-management-hero p{max-width:700px;margin-top:10px;color:#d4e3eb;font-size:12px;line-height:1.55}
body.premium-ui .dashboard-management-hero>div:last-child.dashboard-hero-week{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:220px;padding:18px 0 18px 24px;border-left:1px solid rgba(255,255,255,.16);color:#fff}
body.premium-ui .dashboard-hero-week>span{color:#8de0ec;font-size:8px;font-weight:900;letter-spacing:1.35px}
body.premium-ui .dashboard-hero-week>strong{margin-top:6px;color:#fff;font-size:21px;letter-spacing:-.4px}
body.premium-ui .dashboard-hero-week>small{margin-top:2px;color:#c8dbe5!important;font-size:10px}
body.premium-ui .dashboard-hero-week button{margin-top:14px;min-height:33px;border-color:rgba(255,255,255,.28);background:rgba(255,255,255,.11);color:#fff;box-shadow:none;backdrop-filter:blur(8px)}
body.premium-ui .dashboard-hero-week button:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.42)}
body.premium-ui .dashboard-management-kpis{gap:9px}
body.premium-ui .dashboard-management-kpis .dashboard-stat{position:relative;overflow:hidden;min-height:100px;padding:14px 15px;border-top:3px solid #c4d4de;box-shadow:0 7px 20px rgba(3,20,34,.045)}
body.premium-ui .dashboard-management-kpis .dashboard-stat:after{content:"";position:absolute;right:-16px;top:-22px;width:66px;height:66px;border-radius:50%;background:rgba(88,189,210,.055)}
body.premium-ui .dashboard-management-kpis .dashboard-stat.good{border-top-color:#78b89a}
body.premium-ui .dashboard-management-kpis .dashboard-stat.warn{border-top-color:#d5a34b}
body.premium-ui .dashboard-management-kpis .dashboard-stat.danger{border-top-color:#c96055;background:#fffafa}
body.premium-ui .dashboard-management-kpis .dashboard-stat strong{font-size:27px;letter-spacing:-.6px}
body.premium-ui .dashboard-management-kpis .dashboard-stat span{color:#355166;font-size:9px}
body.premium-ui .dashboard-executive-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,.8fr);gap:14px}
body.premium-ui .dashboard-executive-grid>.sfp-dashboard-section{margin:0}
body.premium-ui .dashboard-cycle-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.premium-ui .dashboard-cycle-card{display:flex;flex-direction:column;min-width:0;min-height:122px;padding:14px;border:1px solid #e1e8ec;border-top:3px solid #8ab7c7;border-radius:11px;background:linear-gradient(180deg,#fff,#fbfcfd)}
body.premium-ui .dashboard-cycle-card.good{border-top-color:#78b89a}
body.premium-ui .dashboard-cycle-card.warn{border-top-color:#d5a34b;background:linear-gradient(180deg,#fffdf8,#fff)}
body.premium-ui .dashboard-cycle-card.danger{border-top-color:#c96055;background:linear-gradient(180deg,#fff9f8,#fff)}
body.premium-ui .dashboard-cycle-card>span{color:#607581;font-size:8px;font-weight:900;letter-spacing:.65px;text-transform:uppercase}
body.premium-ui .dashboard-cycle-card>strong{margin-top:6px;color:#102f42;font-size:20px;line-height:1.15;letter-spacing:-.35px}
body.premium-ui .dashboard-cycle-card>small{margin-top:5px;color:#6e808a;font-size:9px;line-height:1.4}
body.premium-ui .dashboard-cycle-card>i{display:block;height:5px;margin-top:auto;border-radius:999px;background:#e9eff2;overflow:hidden}
body.premium-ui .dashboard-cycle-card>i b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f5ea8,#58bdd2)}
body.premium-ui .dashboard-period-chip,body.premium-ui .dashboard-finance-lock{display:inline-flex;align-items:center;padding:5px 8px;border:1px solid #d9e5eb;border-radius:999px;background:#f6fafc;color:#526d7c;font-size:8px;font-weight:850}
body.premium-ui .dashboard-attention-count{display:grid;place-items:center;min-width:31px;height:31px;border-radius:50%;background:#fff1d8;color:#946521;font-size:12px;font-weight:900}
body.premium-ui .dashboard-attention-count.danger{background:#fdecea;color:#a34840}
body.premium-ui .dashboard-attention-list{display:grid;gap:7px}
body.premium-ui .dashboard-attention-list>div{display:grid;grid-template-columns:82px minmax(0,1fr);gap:9px;align-items:center;padding:9px 10px;border:1px solid #e5ebee;border-left:3px solid #b8c8d0;border-radius:8px;background:#fbfcfd}
body.premium-ui .dashboard-attention-list>div.warn{border-left-color:#d5a34b;background:#fffdf8}
body.premium-ui .dashboard-attention-list>div.danger{border-left-color:#c96055;background:#fff9f8}
body.premium-ui .dashboard-attention-list>div.good{border-left-color:#78b89a;background:#f9fdfb}
body.premium-ui .dashboard-attention-list span{color:#778a95;font-size:8px;font-weight:900;letter-spacing:.55px;text-transform:uppercase}
body.premium-ui .dashboard-attention-list strong{color:#234356;font-size:10px;line-height:1.35}
body.premium-ui .dashboard-finance{margin:0}
body.premium-ui .dashboard-finance-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
body.premium-ui .dashboard-finance-grid>div{padding:14px;border:1px solid #e0e7eb;border-radius:11px;background:#fff}
body.premium-ui .dashboard-finance-grid>div.warn{border-color:#edd0a0;background:#fffdf7}
body.premium-ui .dashboard-finance-grid span{display:block;color:#607581;font-size:8px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
body.premium-ui .dashboard-finance-grid strong{display:block;margin-top:5px;color:#102f42;font-size:20px;letter-spacing:-.35px;font-variant-numeric:tabular-nums}
body.premium-ui .dashboard-finance-grid small{display:block;margin-top:3px;color:#7a8a93;font-size:9px}
body.premium-ui .dashboard-management-grid{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr);gap:14px;margin-top:0}
body.premium-ui .dashboard-management-grid>.dashboard-evolution{grid-column:auto}
body.premium-ui .dashboard-management-grid>.dashboard-map{grid-column:1/-1}
body.premium-ui .dashboard-share-cell{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:105px}
body.premium-ui .dashboard-share-cell span{min-width:38px;text-align:right}
body.premium-ui .dashboard-share-cell i{display:block;width:52px;height:5px;border-radius:999px;background:#e8eef1;overflow:hidden}
body.premium-ui .dashboard-share-cell b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f5ea8,#58bdd2)}
body.premium-ui .dashboard-evolution-compact{display:grid;grid-template-columns:1fr auto 1fr;gap:14px;align-items:center;min-height:132px;padding:18px;border:1px solid #e1e8ec;border-radius:11px;background:linear-gradient(135deg,#f8fbfc,#fff)}
body.premium-ui .dashboard-evolution-compact>div{display:grid;gap:2px;text-align:center}
body.premium-ui .dashboard-evolution-compact span{color:#728691;font-size:9px;font-weight:850;text-transform:uppercase}
body.premium-ui .dashboard-evolution-compact strong{color:#12384d;font-size:27px;letter-spacing:-.7px}
body.premium-ui .dashboard-evolution-compact small{color:#83939c;font-size:8px}
body.premium-ui .dashboard-evolution-compact>b{padding:6px 8px;border-radius:999px;background:#edf4f7;color:#466879;font-size:9px;white-space:nowrap}
body.premium-ui .dashboard-evolution-compact>b.down{background:#fff1e8;color:#a05b29}
body.premium-ui .dashboard-evolution-compact>b.up{background:#eaf6ef;color:#327456}
@media(max-width:1200px){body.premium-ui .dashboard-executive-grid{grid-template-columns:1fr}body.premium-ui .dashboard-cycle-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-ui .dashboard-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-ui .dashboard-management-grid{grid-template-columns:1fr}body.premium-ui .dashboard-management-grid>*{grid-column:1!important}}
@media(max-width:720px){body.premium-ui .dashboard-management-hero{min-height:0;padding:22px 20px}body.premium-ui .dashboard-management-hero h2{font-size:27px}body.premium-ui .dashboard-management-hero h2 span{font-size:18px}body.premium-ui .dashboard-management-hero>div:last-child.dashboard-hero-week{align-items:flex-start;width:100%;min-width:0;padding:14px 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.16)}body.premium-ui .dashboard-cycle-grid,body.premium-ui .dashboard-finance-grid{grid-template-columns:1fr}body.premium-ui .dashboard-evolution-compact{grid-template-columns:1fr}body.premium-ui .dashboard-attention-list>div{grid-template-columns:1fr}}

/* R11.10.7.38 — Formulários: proporção, hierarquia e leitura por assunto. */
body.premium-ui dialog[data-auto-fit="1"]{padding:clamp(18px,1.45vw,28px)}
body.premium-ui dialog .form-grid{gap:18px;align-items:start}
body.premium-ui dialog .form-grid>label:not(.compact-field){min-width:0;padding:10px 12px;border:1px solid #e2e9ee;border-radius:10px;background:#fbfcfd}
body.premium-ui dialog .form-grid>label>input,
body.premium-ui dialog .form-grid>label>select,
body.premium-ui dialog .form-grid>label>textarea{width:100%;margin-top:2px}
body.premium-ui dialog .form-grid>label>small{display:block;margin-top:3px;color:#73838e;font-weight:500;line-height:1.35}
body.premium-ui dialog .form-grid>label:has(input[readonly]),
body.premium-ui dialog .form-grid>label:has(select:disabled){background:#f4f7f9;border-color:#e1e7eb}
body.premium-ui dialog .form-grid>label:focus-within{border-color:#a9cfdb;box-shadow:0 0 0 3px rgba(88,189,210,.08);background:#fff}
body.premium-ui .form-topic,
body.premium-ui .sfp-form-section.form-topic{grid-column:1/-1;position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:18px 18px 20px;border:1px solid #dce5ea!important;border-left-width:4px!important;border-radius:13px!important;background:#fbfcfd!important;box-shadow:0 5px 18px rgba(3,20,34,.025)}
body.premium-ui .form-topic legend,
body.premium-ui .sfp-form-section.form-topic legend{padding:0 9px;font-size:12px;font-weight:850;letter-spacing:.35px;text-transform:uppercase;color:#294456}
body.premium-ui .form-topic label,
body.premium-ui .sfp-form-section.form-topic label{display:grid;gap:6px;min-width:0;padding:0;border:0;background:transparent}
body.premium-ui .form-topic .full,
body.premium-ui .sfp-form-section.form-topic .full{grid-column:1/-1}
body.premium-ui .form-topic.tone-blue{border-left-color:#2f7db6!important;background:#f7fbfe!important}
body.premium-ui .form-topic.tone-violet{border-left-color:#796bb0!important;background:#faf9fd!important}
body.premium-ui .form-topic.tone-cyan{border-left-color:#4ba9b9!important;background:#f6fbfc!important}
body.premium-ui .form-topic.tone-navy{border-left-color:#254a63!important;background:#f7f9fa!important}
body.premium-ui .form-topic.tone-green{border-left-color:#4b8b69!important;background:#f7fbf8!important}
body.premium-ui .form-topic.tone-amber{border-left-color:#b98232!important;background:#fffbf4!important}
body.premium-ui .form-topic.tone-teal{border-left-color:#3b8a86!important;background:#f6fbfa!important}
body.premium-ui .form-topic.tone-red{border-left-color:#b76863!important;background:#fff9f8!important}
body.premium-ui .form-topic.tone-slate{border-left-color:#71818c!important;background:#f9fbfc!important}
body.premium-ui .form-section-title{grid-column:1/-1;margin:4px 0 0;padding:12px 14px;border:1px solid #d9e5eb;border-left:4px solid var(--aqua);border-radius:10px;background:#f2f8fa}
body.premium-ui .form-section-title strong{display:block;color:#173b50;font-size:12px;text-transform:uppercase;letter-spacing:.35px}
body.premium-ui .form-section-title span{display:block;margin-top:3px;color:#667985;font-size:10px;line-height:1.4}
body.premium-ui .sectioned-form{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.premium-ui .sectioned-form .form-topic{grid-template-columns:repeat(2,minmax(0,1fr))}
body.premium-ui .sfp-worker-form .form-topic{grid-template-columns:repeat(3,minmax(0,1fr))}
body.premium-ui #productionProjectForm .form-topic{grid-template-columns:repeat(3,minmax(0,1fr))}
body.premium-ui .travel-form{grid-template-columns:repeat(3,minmax(0,1fr))}
body.premium-ui .travel-form>.full{grid-column:1/-1}
@media(max-width:1100px){body.premium-ui .form-topic,body.premium-ui .sfp-worker-form .form-topic,body.premium-ui #productionProjectForm .form-topic,body.premium-ui .travel-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){body.premium-ui dialog .form-grid,body.premium-ui .sectioned-form,body.premium-ui .form-topic,body.premium-ui .sfp-worker-form .form-topic,body.premium-ui #productionProjectForm .form-topic,body.premium-ui .travel-form{grid-template-columns:1fr!important}body.premium-ui .form-topic{padding:15px 14px 17px}}
body.premium-ui .form-topic{min-width:0}
body.premium-ui .form-topic legend:before{content:"";display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:#71818c;vertical-align:1px}
body.premium-ui .form-topic.tone-blue legend:before{background:#2f7db6}
body.premium-ui .form-topic.tone-violet legend:before{background:#796bb0}
body.premium-ui .form-topic.tone-cyan legend:before{background:#4ba9b9}
body.premium-ui .form-topic.tone-navy legend:before{background:#254a63}
body.premium-ui .form-topic.tone-green legend:before{background:#4b8b69}
body.premium-ui .form-topic.tone-amber legend:before{background:#b98232}
body.premium-ui .form-topic.tone-teal legend:before{background:#3b8a86}
body.premium-ui .form-topic.tone-red legend:before{background:#b76863}
body.premium-ui dialog .form-grid>.dialog-actions{grid-column:1/-1;padding-top:5px;border-top:1px solid #edf1f4}

/* R11.10.7.43 — Banners das áreas principais, derivados do banner executivo do Dashboard. */
body.premium-ui .menu-section-banner{position:relative;overflow:hidden;display:flex;align-items:center;min-height:164px;margin:0 0 18px;padding:24px 30px;border:0;border-radius:14px;color:#fff;background-color:#061522;background-image:linear-gradient(90deg,rgba(6,21,34,.97) 0%,rgba(6,21,34,.92) 44%,rgba(8,37,55,.66) 72%,rgba(8,37,55,.48) 100%),var(--menu-banner-image);background-position:center,center 46%;background-size:cover,cover;background-repeat:no-repeat;box-shadow:0 18px 44px rgba(3,20,34,.16)}
body.premium-ui .menu-section-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(88,189,210,.08),transparent 45%);pointer-events:none}
body.premium-ui .menu-section-banner>*{position:relative;z-index:1}
body.premium-ui .menu-section-banner-copy{display:flex;flex-direction:column;justify-content:center;width:min(720px,72%)}
body.premium-ui .menu-section-banner .eyebrow{margin:0 0 10px;color:var(--menu-banner-accent,#8de0ec);font-size:9px;font-weight:800;line-height:1.2;letter-spacing:1.8px;text-transform:uppercase}
body.premium-ui .menu-section-banner .eyebrow:before{width:22px;height:2px;margin-right:8px;vertical-align:3px;background:currentColor}
body.premium-ui .menu-section-banner h2{margin:0;color:#fff;font-size:32px;font-weight:700;line-height:1.08;letter-spacing:-1px;text-shadow:0 2px 14px rgba(0,0,0,.16)}
body.premium-ui .menu-section-banner p{max-width:700px;margin:10px 0 0;color:#d4e3eb;font-size:12px;font-weight:400;line-height:1.55}
body.premium-ui #content.has-menu-section-banner>.company-docs-shell:first-of-type{margin-top:0}
@media(max-width:900px){body.premium-ui .menu-section-banner{min-height:150px;padding:22px 24px;background-position:center,center 46%;background-size:cover,cover}body.premium-ui .menu-section-banner-copy{width:min(650px,82%)}body.premium-ui .menu-section-banner h2{font-size:29px}}
@media(max-width:720px){body.premium-ui .menu-section-banner{min-height:142px;padding:20px;background-position:center,center 46%;background-size:cover,cover}body.premium-ui .menu-section-banner-copy{width:88%}body.premium-ui .menu-section-banner h2{font-size:27px}body.premium-ui .menu-section-banner p{font-size:11px}}


/* R11.10.7.44 — unified page shell and data grammar.
   One hierarchy for every main area: page title -> contextual banner -> local nav -> attention -> KPIs -> content. */
body.premium-ui.has-section-banner .page-title{margin-bottom:14px}
body.premium-ui .section-banner-slot{margin:0 0 18px}
body.premium-ui .section-banner-slot[hidden]{display:none!important}
body.premium-ui .section-banner-slot .menu-section-banner{min-height:146px;margin:0;padding:23px 28px;border-radius:14px;background-position:center,center 46%;background-size:cover,cover}
body.premium-ui .section-banner-slot .menu-section-banner-copy{width:min(720px,74%)}
body.premium-ui .section-banner-slot .menu-section-banner .eyebrow{margin-bottom:9px;font-size:9px;font-weight:800;line-height:1.2;letter-spacing:1.8px}
body.premium-ui .section-banner-slot .menu-section-banner h2{font-size:32px;font-weight:700;line-height:1.08;letter-spacing:-1px;color:#fff}
body.premium-ui .section-banner-slot .menu-section-banner p{margin-top:9px;color:#d4e3eb;font-size:12px;line-height:1.55}
body.premium-ui.has-section-banner .subnav{margin-top:0}
body.premium-ui.has-section-banner :is(.weekbar,.docbar,.travelbar,.managementbar){margin-top:0}

/* compact functional utility rows replace ad-hoc secondary hero blocks */
body.premium-ui .section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px;padding:11px 13px;border:1px solid #dce5ea;border-radius:12px;background:#fff;box-shadow:0 6px 18px rgba(3,20,34,.035)}
body.premium-ui .section-toolbar>span{color:#607482;font-size:11px;font-weight:700}
body.premium-ui .company-docs-toolbar{align-items:center}
body.premium-ui .company-period-control{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
body.premium-ui .company-period-control label{display:flex;align-items:center;gap:8px;margin:0;color:#526875;font-size:10px}
body.premium-ui .company-period-control input{min-height:34px;padding:6px 9px}
body.premium-ui .company-pack-inline{display:flex;align-items:center;justify-content:flex-end;gap:9px;min-width:0}
body.premium-ui .company-pack-inline>span{color:#0f5ea8;font-size:8px;font-weight:900;letter-spacing:1.15px}
body.premium-ui .company-pack-inline>strong{color:#102b3d;font-size:12px;white-space:nowrap}
body.premium-ui .company-pack-inline>small{color:#74858f;font-size:9px;white-space:nowrap}
body.premium-ui .company-pack-inline .button-link{min-height:32px;padding:6px 10px;font-size:9px}
body.premium-ui .settings-top-actions{justify-content:flex-end}
body.premium-ui .settings-top-actions>span{margin-right:auto}

/* Contextual attention is always secondary to the page identity. Compact by default, expandable on demand. */
body.premium-ui details.context-assist{margin:0 0 16px;border-radius:12px;box-shadow:0 6px 18px rgba(3,20,34,.035)}
body.premium-ui details.context-assist>summary{list-style:none;cursor:pointer}
body.premium-ui details.context-assist>summary::-webkit-details-marker{display:none}
body.premium-ui details.context-assist .context-assist-head{min-height:52px;padding:10px 13px;border-bottom:0}
body.premium-ui details.context-assist[open] .context-assist-head{border-bottom:1px solid rgba(205,220,228,.72)}
body.premium-ui .context-assist-head>div:first-child{display:grid;grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px 10px}
body.premium-ui .context-assist-head small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#72838d;font-size:9.5px;font-weight:500}
body.premium-ui .context-assist-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.premium-ui .context-assist-toggle{color:#526b79;font-size:9px;font-weight:800}
body.premium-ui details.context-assist[open] .context-assist-toggle::before{content:'Ocultar ';}
body.premium-ui details.context-assist[open] .context-assist-toggle{font-size:0}
body.premium-ui details.context-assist[open] .context-assist-toggle::before{font-size:9px}

/* One premium table grammar across modules (hours grids keep their dedicated dense layout). */
body.premium-ui .sheet-scroll:not(.worker-directory-scroll):not(.professional-categories-scroll),
body.premium-ui .company-table-wrap{max-height:none;border:1px solid #dce5ea;border-radius:12px;background:#fff;box-shadow:none;overflow:auto}
body.premium-ui .sheet:not(.sfp-hours-grid){min-width:860px;border-spacing:0}
body.premium-ui .sheet:not(.sfp-hours-grid) th{position:sticky;top:0;z-index:3;padding:11px 13px;background:#f3f6f8;color:#5a6f7c;border-bottom:1px solid #dce5ea;text-align:left;font-size:9px;font-weight:850;line-height:1.25;letter-spacing:.75px;text-transform:uppercase;white-space:nowrap}
body.premium-ui .sheet:not(.sfp-hours-grid) td{padding:12px 13px;border-bottom:1px solid #edf1f4;background:#fff;color:#1d303d;font-size:11px;line-height:1.42;vertical-align:middle;white-space:normal}
body.premium-ui .sheet:not(.sfp-hours-grid) tbody tr:nth-child(even)>td{background:#fcfdfe}
body.premium-ui .sheet:not(.sfp-hours-grid) tbody tr:hover>td{background:#f5fafc}
body.premium-ui .sheet:not(.sfp-hours-grid) tbody tr:last-child>td{border-bottom:0}
body.premium-ui .sheet:not(.sfp-hours-grid) td strong{color:#102b3d;font-weight:750}
body.premium-ui .sheet:not(.sfp-hours-grid) td small{display:block;margin-top:3px;color:#74858f;font-size:9.5px;line-height:1.35}
body.premium-ui .sheet :is(th.num,td.num),body.premium-ui .sheet td.fin-amount{text-align:right;font-variant-numeric:tabular-nums}
body.premium-ui .panel>.sheet-scroll:last-child{margin:0 -20px -20px;border-width:1px 0 0;border-radius:0 0 14px 14px}
body.premium-ui .prod-directory-panel>.prod-directory-scroll{margin:0 -20px -20px;border-width:1px 0 0;border-radius:0 0 14px 14px}
body.premium-ui .prod-directory-tools{margin:0 -2px 13px}
body.premium-ui .company-section>.company-table-wrap{margin:0 -20px -20px;border-width:1px 0 0;border-radius:0 0 14px 14px}
body.premium-ui .company-table{min-width:820px}
body.premium-ui .company-table th,body.premium-ui .company-table td{text-align:left}
body.premium-ui .company-table td:last-child{min-width:150px}

/* Table actions: one primary path, secondary maintenance actions live in a real expandable menu. */
body.premium-ui .row-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:0}
body.premium-ui .row-actions>button{min-height:30px;padding:5px 9px;font-size:9px;white-space:nowrap}
body.premium-ui .row-primary-action{border-color:#bfd5df!important;background:#eef7fa!important;color:#0c527a!important}
body.premium-ui .row-warning-action{border-color:#ead2a0!important;background:#fff9eb!important;color:#8a631d!important}
body.premium-ui details.row-more-actions{position:relative}
body.premium-ui details.row-more-actions>summary{list-style:none;cursor:pointer;min-height:30px;padding:6px 9px;border:1px solid #d7e1e7;border-radius:8px;background:#fff;color:#526a78;font-size:9px;font-weight:800;white-space:nowrap}
body.premium-ui details.row-more-actions>summary::-webkit-details-marker{display:none}
body.premium-ui details.row-more-actions[open]>summary{background:#f3f7f9;color:#15384d}
body.premium-ui details.row-more-actions>div{position:absolute;right:0;top:calc(100% + 5px);z-index:20;display:grid;gap:4px;min-width:145px;padding:6px;border:1px solid #d8e2e8;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(3,20,34,.16)}
body.premium-ui details.row-more-actions>div button{width:100%;min-height:30px;padding:5px 8px;text-align:left;font-size:9px}
body.premium-ui .prod-directory-table td:last-child{overflow:visible}

/* Make headers and KPI rows obey the same rhythm across modules. */
body.premium-ui :is(.prod-directory-kpis,.worker-kpis,.company-kpis,.fin-kpis,.legal-kpis,.recruit-kpis){margin-bottom:14px}
body.premium-ui .panel{margin-bottom:16px}
body.premium-ui .panel-head{align-items:flex-start;gap:16px;padding-bottom:12px;margin-bottom:13px}
body.premium-ui .panel-head>div:first-child{min-width:0}
body.premium-ui .panel-head h2{font-size:18px;line-height:1.2;letter-spacing:-.35px}
body.premium-ui .panel-head p{max-width:820px;margin-top:4px;font-size:10.5px;line-height:1.5}
body.premium-ui .panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}
body.premium-ui .panel-actions button,body.premium-ui .panel-actions .button-link{min-height:32px;padding:6px 9px;font-size:9px}

@media(max-width:900px){
 body.premium-ui .section-banner-slot .menu-section-banner{min-height:138px;padding:21px 23px}
 body.premium-ui .section-banner-slot .menu-section-banner h2{font-size:29px}
 body.premium-ui .company-docs-toolbar{align-items:stretch;flex-direction:column}
 body.premium-ui .company-pack-inline{justify-content:flex-start;flex-wrap:wrap}
}
@media(max-width:720px){
 body.premium-ui .section-banner-slot .menu-section-banner{min-height:132px;padding:19px 20px}
 body.premium-ui .section-banner-slot .menu-section-banner-copy{width:90%}
 body.premium-ui .section-banner-slot .menu-section-banner h2{font-size:27px}
 body.premium-ui .context-assist-head>div:first-child{grid-template-columns:1fr;gap:2px}
 body.premium-ui .context-assist-head-actions{width:100%;justify-content:space-between}
 body.premium-ui .row-actions{justify-content:flex-start;flex-wrap:wrap}
 body.premium-ui details.row-more-actions>div{left:0;right:auto}
}
/* Keep expandable row actions inside the table flow so they cannot be clipped by scroll containers. */
body.premium-ui details.row-more-actions>div{position:static;margin-top:5px;min-width:132px;box-shadow:none;background:#f8fafb}
body.premium-ui details.row-more-actions[open]{align-self:flex-start}

/* R11.10.7.44 — legacy operational tables join the same visual grammar.
   Dashboard and the dedicated monthly hours matrix deliberately keep their own layouts. */
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table){width:100%;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;background:#fff}
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) thead th{padding:11px 13px;background:#f3f6f8;color:#5a6f7c;border-bottom:1px solid #dce5ea;text-align:left;font-size:9px;font-weight:850;line-height:1.25;letter-spacing:.75px;text-transform:uppercase}
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) tbody td,
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) tbody th{padding:12px 13px;border-bottom:1px solid #edf1f4;background:#fff;color:#1d303d;font-size:11px;line-height:1.42;vertical-align:middle;text-align:left}
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) tbody tr:nth-child(even)>*{background:#fcfdfe}
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) tbody tr:hover>*{background:#f5fafc}
body.premium-ui :is(.fin-prev-table,.log-compare,.log-change-table,.hours-reply-table) tbody tr:last-child>*{border-bottom:0}
body.premium-ui :is(.team-row-action,.prod-directory-actions,.worker-row-actions) :is(button,summary),
body.premium-ui .company-table td:last-child :is(button,.button-link){min-height:30px;padding:5px 8px;font-size:9px}

/* R11.10.7.45 — section identity persists across subroutes; photographic layer now uses the Dashboard full-bleed cover treatment. */

/* R11.10.7.46 — componentes transversais: Tesouraria + Saúde Ocupacional */
.treasury-filters{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.treasury-filters>div{display:flex;gap:8px;align-items:end;flex-wrap:wrap}.treasury-filters label{display:grid;gap:5px;font-size:10px;color:var(--muted)}.treasury-actions,.health-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.treasury-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.treasury-account-fields{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.treasury-suggestions{display:grid;gap:7px;max-height:52vh;overflow:auto;padding-right:3px}.treasury-suggestion{display:grid!important;grid-template-columns:auto minmax(0,1fr) 120px;gap:10px;align-items:center;padding:10px!important;border:1px solid var(--line);border-radius:9px;background:#fbfcfd}.treasury-suggestion>span{min-width:0}.treasury-suggestion strong,.treasury-suggestion small{display:block}.treasury-suggestion small{margin-top:3px;color:var(--muted)}.treasury-suggestion input[type=number]{width:100%}.treasury-table td:first-child{white-space:nowrap}.treasury-table .badge{white-space:nowrap}.treasury-forecast{margin-top:14px}
.occupational-health-board{margin:14px 0}.health-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:12px 0}.health-kpis>div{padding:11px;border:1px solid var(--line);border-radius:9px;background:#f9fbfc}.health-kpis span{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.04em}.health-kpis strong{display:block;margin-top:5px;color:var(--navy);font-size:20px}.health-alert-list{display:grid;gap:6px}.health-alert-row{display:grid;grid-template-columns:minmax(180px,.9fr) minmax(240px,1.5fr) auto;gap:12px;align-items:center;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:9px;background:#fff}.health-alert-row.urgent{border-color:#e0b4ae;background:#fff6f4}.health-alert-row.warning{border-color:#e9d4a8;background:#fffaf0}.health-alert-row span strong,.health-alert-row span small{display:block}.health-alert-row small{margin-top:3px;color:var(--muted)}.health-alert-row p{margin:0;color:#4e6572;font-size:11px}.occupational-health-panel{margin:0 0 14px;border-top:3px solid #65aebd}.health-current{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.health-current>div{padding:11px;border:1px solid var(--line);border-radius:9px;background:#f9fbfc}.health-current span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase}.health-current strong{display:block;margin-top:4px;color:var(--navy)}.health-current small{display:block;margin-top:3px;color:var(--muted)}.health-worker-issues{display:grid;gap:7px;margin-top:10px}.health-worker-issues .notice{display:grid;grid-template-columns:minmax(140px,.4fr) minmax(220px,1fr) auto;gap:10px;align-items:center;margin:0}.health-worker-issues .notice span{font-size:11px}.health-history{margin-top:12px;border-top:1px solid var(--line);padding-top:10px}.health-history summary{cursor:pointer;font-weight:700;color:var(--navy)}.health-history>div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf2f4;font-size:11px}.health-history>div span{color:var(--muted)}
@media(max-width:1100px){.health-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.health-current{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.treasury-map-grid,.health-current{grid-template-columns:1fr}.treasury-suggestion{grid-template-columns:auto 1fr}.treasury-suggestion input[type=number]{grid-column:2}.health-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.health-alert-row,.health-worker-issues .notice{grid-template-columns:1fr}.health-history>div{display:grid}}


/* R11.10.7.50 — Modais premium: largura confortável + linguagem cromática por assunto. */
body.premium-ui dialog{--dlg-accent:#2f6f99;--dlg-accent-strong:#214f70;--dlg-soft:#f1f7fa;--dlg-border:#cfdee7;--dlg-ink:#183f57;background:linear-gradient(180deg,#ffffff 0%,#fbfdfe 100%)}
body.premium-ui dialog[data-dialog-tone="production"]{--dlg-accent:#2f78a9;--dlg-accent-strong:#205979;--dlg-soft:#eef6fb;--dlg-border:#c8ddeb;--dlg-ink:#174d6d}
body.premium-ui dialog[data-dialog-tone="rh"]{--dlg-accent:#2f8279;--dlg-accent-strong:#235f59;--dlg-soft:#eff8f6;--dlg-border:#c9e2dd;--dlg-ink:#245d58}
body.premium-ui dialog[data-dialog-tone="finance"]{--dlg-accent:#4b8062;--dlg-accent-strong:#365f48;--dlg-soft:#f0f7f3;--dlg-border:#cee0d5;--dlg-ink:#315f46}
body.premium-ui dialog[data-dialog-tone="commercial"]{--dlg-accent:#5e6ca8;--dlg-accent-strong:#465284;--dlg-soft:#f3f4fb;--dlg-border:#d5d9ec;--dlg-ink:#445184}
body.premium-ui dialog[data-dialog-tone="documents"]{--dlg-accent:#3d8596;--dlg-accent-strong:#2b6270;--dlg-soft:#eff8fa;--dlg-border:#cbe1e6;--dlg-ink:#2b6170}
body.premium-ui dialog[data-dialog-tone="logistics"]{--dlg-accent:#397d91;--dlg-accent-strong:#2b5c6b;--dlg-soft:#eff7f9;--dlg-border:#cbe0e5;--dlg-ink:#2e6272}
body.premium-ui dialog[data-dialog-tone="admin"]{--dlg-accent:#607382;--dlg-accent-strong:#455662;--dlg-soft:#f3f6f8;--dlg-border:#d7e0e5;--dlg-ink:#445a69}
body.premium-ui dialog[data-dialog-tone="risk"]{--dlg-accent:#b06b3d;--dlg-accent-strong:#87502e;--dlg-soft:#fff7f1;--dlg-border:#ecd4c4;--dlg-ink:#844d2a}
body.premium-ui dialog[data-has-form="1"]{min-width:min(920px,calc(100vw - 32px))}
body.premium-ui dialog .dialog-head{position:relative;align-items:flex-start;margin:-5px -5px 22px;padding:16px 17px 16px 19px;border:1px solid var(--dlg-border);border-left:4px solid var(--dlg-accent);border-radius:12px;background:linear-gradient(100deg,var(--dlg-soft) 0%,#fff 72%);box-shadow:0 6px 18px rgba(6,21,34,.035)}
body.premium-ui dialog .dialog-head #dialogEyebrow{margin-bottom:6px;color:var(--dlg-accent);font-size:9px;letter-spacing:1.45px}
body.premium-ui dialog .dialog-head h2{margin:0;color:#102b3d;font-size:clamp(21px,1.55vw,27px);line-height:1.12;letter-spacing:-.45px}
body.premium-ui dialog .dialog-head button{flex:0 0 auto;border:1px solid var(--dlg-border);border-radius:9px;background:#fff;color:#536773;box-shadow:0 2px 7px rgba(6,21,34,.04)}
body.premium-ui dialog .dialog-head button:hover{border-color:var(--dlg-accent);color:var(--dlg-accent)}
body.premium-ui dialog .form-grid>label:not(.compact-field):focus-within{border-color:var(--dlg-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--dlg-accent) 11%,transparent);background:#fff}
body.premium-ui dialog .notice.info{border-color:var(--dlg-border);background:var(--dlg-soft);color:var(--dlg-ink)}
body.premium-ui dialog .form-section-title{border-left-color:var(--dlg-accent);background:var(--dlg-soft)}
body.premium-ui dialog .form-section-title strong{color:var(--dlg-ink)}
body.premium-ui dialog .dialog-actions{padding-top:15px;border-top:1px solid #e8eef2}
body.premium-ui dialog button.primary,body.premium-ui dialog .primary{border-color:var(--dlg-accent);background:linear-gradient(135deg,var(--dlg-accent),var(--dlg-accent-strong));box-shadow:0 8px 20px color-mix(in srgb,var(--dlg-accent) 22%,transparent)}
body.premium-ui dialog button.primary:hover:not(:disabled),body.premium-ui dialog .primary:hover:not(:disabled){background:linear-gradient(135deg,color-mix(in srgb,var(--dlg-accent) 88%,#fff),var(--dlg-accent-strong));box-shadow:0 10px 24px color-mix(in srgb,var(--dlg-accent) 28%,transparent)}

/* Conferência de respostas: cada tipo de informação tem uma cor funcional própria. */
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-context{margin-bottom:16px;padding:16px 17px;border:1px solid #cfe0eb;border-left:4px solid #2f78a9;border-radius:11px;background:linear-gradient(105deg,#f1f8fc,#fff 72%)}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-context .eyebrow{color:#2f78a9}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-receipt{gap:10px;padding:0;border:0}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-receipt>div{padding:12px 14px;border:1px solid #dfe7ec;border-radius:10px;background:#f7f9fb}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-receipt>div:nth-child(2){border-color:#cee3e8;background:#f1f9fa}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-original-reason{padding:13px 15px;border:1px solid #ead8b6;border-left:4px solid #bd8434;border-radius:10px;background:#fff9ef}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-review-form.is-resolved .hours-reply-original-reason{border-color:#cfe1d7;border-left-color:#4f8767;background:#f2f8f4}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:first-child{border-color:#c8e1e6;background:#eef8fa}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:first-child span,body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:first-child strong{color:#246d78}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:last-child{border-color:#d5dfe6;background:#f1f5f7}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:last-child span,body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-totals>div:last-child strong{color:#2e5368}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-table thead th:nth-child(2){background:#f4f6f8;color:#697b87}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-table thead th:nth-child(3){background:#eef8fa;color:#2c7480}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-table thead th:nth-child(4){background:#f0f4f7;color:#35586c}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-blockers{border-left:4px solid #c28a3a;background:#fff8eb}
body.premium-ui dialog[data-dialog-mode="hours-reply-review"] .hours-reply-actions button:not(.primary){background:#fff;border-color:#d8e2e8;color:#365260}
@media(max-width:980px){body.premium-ui dialog[data-has-form="1"]{min-width:0;width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)}body.premium-ui dialog .dialog-head{margin:-3px -3px 18px}}


/* R11.10.7.53 — evolução com escala útil, área, valores e variação legíveis. */
body.premium-ui .dashboard-evolution-chart{position:relative;gap:10px;padding-top:4px}
body.premium-ui .dashboard-evolution-chart svg{height:245px}
body.premium-ui .dashboard-evolution-chart .trend-area{fill:url(#dashboardTrendArea)}
body.premium-ui .dashboard-evolution-chart .trend{stroke:#0f69c7;stroke-width:3.2;filter:drop-shadow(0 2px 3px rgba(15,94,168,.10))}
body.premium-ui .dashboard-evolution-chart .point circle{fill:#fff;stroke:#1573cf;stroke-width:2.5}
body.premium-ui .dashboard-evolution-chart .point.latest circle{fill:#12889e;stroke:#fff;stroke-width:2.5;filter:drop-shadow(0 2px 5px rgba(18,136,158,.25))}
body.premium-ui .dashboard-evolution-chart .value-pill rect{fill:#fff;stroke:#d9e5eb;stroke-width:1;filter:drop-shadow(0 3px 5px rgba(4,29,47,.08))}
body.premium-ui .dashboard-evolution-chart .point.latest .value-pill rect{fill:#0e8094;stroke:#0e8094}
body.premium-ui .dashboard-evolution-chart .point.latest .value{fill:#fff}
body.premium-ui .dashboard-evolution-chart .point .value{font-size:10px;font-weight:900}
body.premium-ui .dashboard-evolution-chart .point .month{font-size:10px;font-weight:750}
body.premium-ui .dashboard-evolution-summary{position:absolute;z-index:4;right:2px;top:-56px;display:grid;grid-template-columns:auto auto;align-items:center;gap:0 5px;min-width:128px;padding:7px 9px;border:1px solid #d9e6ec;border-radius:10px;background:#f7fafb;color:#496574;box-shadow:0 4px 14px rgba(3,20,34,.04)}
body.premium-ui .dashboard-evolution-summary>span{grid-row:1/3;font-size:18px;font-weight:900}body.premium-ui .dashboard-evolution-summary strong{font-size:12px;color:#173b50}body.premium-ui .dashboard-evolution-summary small{font-size:7px;color:#758893;white-space:nowrap}
body.premium-ui .dashboard-evolution-summary.up{border-color:#c9e4d4;background:#f1faf5}body.premium-ui .dashboard-evolution-summary.up>span,body.premium-ui .dashboard-evolution-summary.up strong{color:#267653}body.premium-ui .dashboard-evolution-summary.down{border-color:#f0d4c4;background:#fff7f2}body.premium-ui .dashboard-evolution-summary.down>span,body.premium-ui .dashboard-evolution-summary.down strong{color:#a45d31}
body.premium-ui .dashboard-evolution-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px}body.premium-ui .dashboard-evolution-legend span{justify-content:flex-start;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:720px){body.premium-ui .dashboard-evolution-summary{position:static;justify-self:end;margin-bottom:-4px}body.premium-ui .dashboard-evolution-chart svg{height:215px}}

/* R11.10.7.54 — dashboard fiel ao grafismo aprovado. */
body.premium-ui .dashboard-country-table-wrap{overflow:hidden;border:1px solid #dbe5ea;border-radius:11px;background:#fff;box-shadow:0 5px 18px rgba(7,35,50,.035)}
body.premium-ui .dashboard-country-table{font-size:11px}
body.premium-ui .dashboard-country-table thead th{padding:9px 11px;background:#073149;color:#f3fbff;border-bottom-color:#073149;font-size:8px;font-weight:850;letter-spacing:.45px}
body.premium-ui .dashboard-country-table tbody th,body.premium-ui .dashboard-country-table tbody td{padding:10px 11px}
body.premium-ui .dashboard-country-table tbody tr:nth-child(even){background:#fbfcfd}
body.premium-ui .dashboard-country-table tbody tr:hover{background:#f4f9fb}
body.premium-ui .dashboard-country-name{display:inline-flex;align-items:center;gap:9px;font-weight:850;color:#102f42}
body.premium-ui .dashboard-flag{display:inline-block;flex:0 0 22px;width:22px;height:13px;border-radius:3px;box-shadow:0 0 0 1px rgba(9,43,61,.08),0 2px 5px rgba(9,43,61,.08);overflow:hidden}
body.premium-ui .dashboard-flag.flag-lu{background:linear-gradient(to bottom,#ef3340 0 33.33%,#fff 33.33% 66.66%,#00a3e0 66.66%)}
body.premium-ui .dashboard-flag.flag-fr{background:linear-gradient(to right,#0055a4 0 33.33%,#fff 33.33% 66.66%,#ef4135 66.66%)}
body.premium-ui .dashboard-flag.flag-be{background:linear-gradient(to right,#111 0 33.33%,#ffd90c 33.33% 66.66%,#ef3340 66.66%)}
body.premium-ui .dashboard-flag.flag-es{background:linear-gradient(to bottom,#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%)}
body.premium-ui .dashboard-flag.flag-pt{background:linear-gradient(to right,#046a38 0 40%,#da291c 40%)}
body.premium-ui .dashboard-flag.flag-eu{background:linear-gradient(135deg,#244f70,#58bdd2)}
body.premium-ui .dashboard-country-table tfoot th,body.premium-ui .dashboard-country-table tfoot td{padding:10px 11px;background:#062538;color:#fff}
body.premium-ui .dashboard-share-cell i{width:58px;height:5px;background:#e8eef1}body.premium-ui .dashboard-share-cell b{background:#1597c0}
body.premium-ui .target-dashboard-evolution{padding-top:0;gap:8px}
body.premium-ui .target-dashboard-evolution svg{height:220px}
body.premium-ui .target-dashboard-evolution .grid line{stroke:#e4ebef;stroke-width:1}
body.premium-ui .target-dashboard-evolution .grid text{fill:#7a8b95;font-size:9px}
body.premium-ui .target-dashboard-evolution .trend-area{fill:url(#dashboardTrendArea)}
body.premium-ui .target-dashboard-evolution .trend{stroke:#0b70ca;stroke-width:2.4;filter:none}
body.premium-ui .target-dashboard-evolution .point circle{fill:#fff;stroke:#0b70ca;stroke-width:2}
body.premium-ui .target-dashboard-evolution .point.latest circle{fill:#fff;stroke:#0b70ca;stroke-width:2;filter:none}
body.premium-ui .target-dashboard-evolution .point .value,body.premium-ui .target-dashboard-evolution .point.latest .value{fill:#0c3045;font-size:9px;font-weight:900}
body.premium-ui .target-dashboard-evolution .point .month{fill:#70818b;font-size:9px;font-weight:750}
body.premium-ui .target-dashboard-evolution .dashboard-evolution-legend{display:flex;gap:6px;flex-wrap:wrap}
body.premium-ui .target-dashboard-evolution .dashboard-evolution-legend span{display:flex;gap:5px;min-width:0;padding:5px 7px;border:1px solid #dfe8ec;border-radius:7px;background:#fafcfd;color:#687b86;font-size:8px;white-space:nowrap}
body.premium-ui .target-dashboard-evolution .dashboard-evolution-legend strong{color:#123f58}
body.premium-ui .dashboard-map-country-summary{display:grid;grid-template-rows:repeat(5,minmax(54px,1fr)) auto;border:1px solid #dce5ea;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(5,31,48,.04)}
body.premium-ui .dashboard-map-country-row{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(82px,.65fr) minmax(105px,.8fr);align-items:center;gap:10px;padding:10px 13px;border-bottom:1px solid #e8eef1}
body.premium-ui .dashboard-map-country-row:nth-child(even){background:#fbfcfd}
body.premium-ui .dashboard-map-country-title{display:flex;align-items:center;gap:9px;min-width:0}
body.premium-ui .dashboard-map-country-title strong{overflow:hidden;text-overflow:ellipsis;color:#0d2f42;font-size:12px;white-space:nowrap}
body.premium-ui .dashboard-map-country-metric{display:grid;grid-template-columns:18px auto;grid-template-rows:auto auto;align-items:center;column-gap:6px;justify-content:start;color:#16425a}
body.premium-ui .dashboard-map-country-metric svg{grid-row:1/3;width:17px;height:17px;fill:none;stroke:#164c68;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.premium-ui .dashboard-map-country-metric strong{font-size:15px;line-height:1;font-variant-numeric:tabular-nums}.dashboard-map-country-metric span{color:#788a94;font-size:7px;line-height:1.2}
body.premium-ui .dashboard-map-country-total{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(82px,.65fr) minmax(105px,.8fr);align-items:center;gap:10px;padding:12px 13px;background:#062c43;color:#fff}
body.premium-ui .dashboard-map-country-total>strong{font-size:14px}.dashboard-map-country-total>div{display:grid;grid-template-columns:18px auto;grid-template-rows:auto auto;align-items:center;column-gap:7px}.dashboard-map-country-total svg{grid-row:1/3;width:17px;height:17px;fill:none;stroke:#d9f4ff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dashboard-map-country-total b{font-size:16px;line-height:1}.dashboard-map-country-total span{color:#b9ced9;font-size:7px}
body.premium-ui .dashboard-map .sfp-section-head{margin-bottom:11px}
@media(max-width:1050px){body.premium-ui .dashboard-map-country-summary{grid-template-rows:none}body.premium-ui .dashboard-map-country-row{grid-template-columns:minmax(170px,1fr) 100px 130px}body.premium-ui .dashboard-map-country-total{grid-template-columns:minmax(170px,1fr) 100px 130px}}
@media(max-width:650px){body.premium-ui .dashboard-map-country-row,body.premium-ui .dashboard-map-country-total{grid-template-columns:1fr auto auto;padding:9px}.dashboard-map-country-metric span,.dashboard-map-country-total span{display:none}}

/* R11.10.7.68 — work windows: keep the list/context intact while a record is handled. */
body.work-window-open{overflow:hidden}
.work-window-shell{position:fixed;left:50%;top:50%;width:clamp(680px,60vw,1180px);max-width:calc(100vw - 32px);height:60vh;max-height:88vh;transform:translate(-50%,-50%);z-index:13000;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #b9cad4;border-radius:18px;background:#eef4f7;box-shadow:0 28px 90px rgba(4,24,38,.34);transition:height .16s ease,width .16s ease}
.work-window-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 15px 12px 18px;border-bottom:1px solid #cbd9e0;background:#fff}
.work-window-head>div:first-child{display:grid;grid-template-columns:auto auto;align-items:baseline;gap:2px 10px;min-width:0}.work-window-head span{font-size:8px;font-weight:900;letter-spacing:1.4px;color:#64808f}.work-window-head strong{font-size:14px;color:#123448}.work-window-head small{grid-column:1/-1;color:#7b8d97;font-size:9.5px}
.work-window-head>div:last-child{display:flex;align-items:center;gap:8px}.work-window-popout{padding:7px 10px;border:1px solid #d2dde3;border-radius:8px;background:#f8fafb;color:#3e5968;font-size:9.5px;font-weight:750}.work-window-close{width:36px;height:36px;padding:0;border:0;border-radius:10px;background:#eaf0f3;color:#17394d;font-size:23px;line-height:1}
.work-window-frame{width:100%;height:100%;border:0;background:#f3f7f9;opacity:0;transition:opacity .14s ease}.work-window-frame.ready{opacity:1}.work-window-loading{position:absolute;left:50%;top:50%;z-index:1;transform:translate(-50%,-50%);padding:10px 14px;border-radius:10px;background:#fff;color:#607886;font-size:11px;box-shadow:0 8px 28px rgba(3,20,34,.12)}
html.embedded-workspace-root body{background:#f3f7f9}html.embedded-workspace-root .sidebar,html.embedded-workspace-root .topbar,html.embedded-workspace-root footer{display:none!important}html.embedded-workspace-root .workspace{margin-left:0!important}html.embedded-workspace-root main{max-width:none!important;padding:18px 22px 28px!important}html.embedded-workspace-root #sectionBanner{display:none!important}html.embedded-workspace-root .page-title{margin-bottom:14px}html.embedded-workspace-root .page-title #importOpen{display:none!important}html.embedded-workspace-root .back-link{display:none!important}html.embedded-workspace-root .subnav{display:none!important}html.embedded-workspace-root body:not(.embedded-work-ready) main{opacity:0}html.embedded-workspace-root body.embedded-work-ready main{opacity:1;transition:opacity .12s ease}
@media(max-width:760px){.work-window-shell{left:0;top:0;width:100vw;max-width:none;height:100vh;max-height:none;transform:none;border:0;border-radius:0}.work-window-head small,.work-window-popout{display:none}.work-window-head{padding:10px 12px}html.embedded-workspace-root main{padding:12px!important}}



/* R68.11 commercial email composer */
body.premium-ui dialog[data-dialog-mode="commercial-email"]{width:min(1080px,calc(100vw - 48px));max-width:1080px;min-width:0;padding:24px 26px 26px;overflow:auto}
body.premium-ui dialog[data-dialog-mode="commercial-email"] .dialog-head{margin-bottom:18px;padding-bottom:16px}
body.premium-ui dialog[data-dialog-mode="commercial-email"] #dialogBody{min-width:0}
body.premium-ui .commercial-email-form{display:block;min-width:0}
body.premium-ui .commercial-email-editor,body.premium-ui .commercial-email-review-shell{display:grid;gap:18px;min-width:0}
body.premium-ui .commercial-email-stepbar{display:flex;align-items:center;gap:8px;padding:4px 0 2px}
body.premium-ui .commercial-email-stepbar span{display:inline-flex;align-items:center;gap:7px;color:#85939d;font-size:11px;font-weight:750;letter-spacing:.2px}
body.premium-ui .commercial-email-stepbar span:not(:last-child)::after{content:"";width:34px;height:1px;background:#dbe4e9;margin-left:2px}
body.premium-ui .commercial-email-stepbar b{display:grid;place-items:center;width:23px;height:23px;border:1px solid #d5e0e6;border-radius:50%;background:#f7fafb;color:#71818c;font-size:10px}
body.premium-ui .commercial-email-stepbar .active{color:#0f5ea8}
body.premium-ui .commercial-email-stepbar .active b{background:#0f5ea8;border-color:#0f5ea8;color:#fff;box-shadow:0 4px 12px rgba(15,94,168,.2)}
body.premium-ui .commercial-email-stepbar .done{color:#47756a}
body.premium-ui .commercial-email-stepbar .done b{background:#e8f4ef;border-color:#bfd9ce;color:#2e7059}
body.premium-ui .commercial-email-layout,body.premium-ui .commercial-email-review-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);gap:18px;align-items:start;min-width:0}
body.premium-ui .commercial-email-main,body.premium-ui .commercial-email-review-main,body.premium-ui .commercial-email-side{display:grid;gap:16px;min-width:0}
body.premium-ui .commercial-email-card{min-width:0;padding:18px;border:1px solid #dde6eb;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(26,57,75,.045)}
body.premium-ui .commercial-email-card-label{display:block;margin-bottom:6px;color:#5a7688;font-size:9px;font-weight:800;letter-spacing:1.55px}
body.premium-ui .commercial-email-card h3{margin:0;color:#183244;font-size:15px;letter-spacing:-.15px}
body.premium-ui .commercial-email-card p{margin:5px 0 0;color:#6d7c86;font-size:11px;line-height:1.45}
body.premium-ui .commercial-email-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:15px}
body.premium-ui .commercial-email-section-head>div{min-width:0}
body.premium-ui .commercial-email-section-head button{flex:none;padding:8px 11px;border-color:#c9dbe5;background:#f8fbfd;color:#315d76;font-size:11px}
body.premium-ui .commercial-email-recipients{display:grid;gap:9px}
body.premium-ui #commercialEmailAdditional{display:grid;gap:9px}
body.premium-ui .commercial-email-editor-row{display:grid;grid-template-columns:82px minmax(220px,1fr) minmax(150px,.62fr) auto;gap:10px;align-items:end;padding:11px;border:1px solid #e1e8ed;border-radius:11px;background:#f8fafb}
body.premium-ui .commercial-email-editor-row.primary{grid-template-columns:82px minmax(220px,1fr) 135px;background:#f3f8fb;border-color:#cee0ea}
body.premium-ui .commercial-email-send-toggle{display:flex;align-items:center;gap:7px;align-self:center;height:40px;color:#345567;font-size:11px;font-weight:750}
body.premium-ui .commercial-email-send-toggle input{margin:0}
body.premium-ui .commercial-email-field{display:grid;gap:6px;min-width:0;color:#334f60;font-size:11px;font-weight:750}
body.premium-ui .commercial-email-field>span{display:block}
body.premium-ui .commercial-email-field input,body.premium-ui .commercial-email-field textarea{width:100%;margin:0;border-color:#d6e1e7;background:#fff;color:#172834;font-weight:500;box-shadow:none}
body.premium-ui .commercial-email-field input{height:42px}
body.premium-ui .commercial-email-field textarea{min-height:220px;padding:12px 13px;line-height:1.55;resize:vertical}
body.premium-ui .commercial-email-field input:focus,body.premium-ui .commercial-email-field textarea:focus{border-color:#79b9d2;box-shadow:0 0 0 3px rgba(88,189,210,.11);outline:0}
body.premium-ui .commercial-email-recipient-role{display:grid;align-content:center;min-height:42px;padding:0 10px;border-left:1px solid #dce7ed}
body.premium-ui .commercial-email-recipient-role strong{font-size:11px;color:#274b61}
body.premium-ui .commercial-email-recipient-role small{color:#7a8993;font-size:9px}
body.premium-ui .commercial-email-remove{height:42px;padding:0 11px;border-color:#ead6d6;background:#fff8f8;color:#9a4646;font-size:10px}
body.premium-ui .commercial-email-remove:hover{border-color:#d6aaaa;background:#fff2f2}
body.premium-ui .commercial-email-compose-card{display:grid;gap:14px}
body.premium-ui .commercial-email-compose-card .commercial-email-section-head{margin-bottom:1px}
body.premium-ui .commercial-email-side .commercial-email-card{padding:16px}
body.premium-ui .commercial-email-signature-card{background:#fbfdfe}
body.premium-ui .commercial-email-signature{margin-top:10px;padding:10px;border:1px solid #e3eaee;border-radius:10px;background:#fff;overflow:hidden}
body.premium-ui .commercial-email-signature img{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
body.premium-ui .commercial-email-signature-card>small{display:block;margin-top:8px;color:#7b8992;font-size:9px}
body.premium-ui .commercial-email-attachment{background:linear-gradient(145deg,#f6fbfe,#fff)}
body.premium-ui .commercial-email-attachment strong{display:block;color:#19384c;font-size:12px}
body.premium-ui .commercial-email-attachment a{display:inline-flex;margin-top:10px;padding:8px 10px;border:1px solid #c9dbe6;border-radius:8px;background:#fff;font-size:10px;font-weight:750}
body.premium-ui .commercial-email-client-validation{border-left:3px solid #5cb7c8;background:#f6fbfc}
body.premium-ui .commercial-email-client-validation>strong{font-size:12px;color:#234e5b}
body.premium-ui .commercial-email-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;border-top:1px solid #e5ecef}
body.premium-ui .commercial-email-footer>span{display:grid;gap:1px;color:#486170;font-size:11px}
body.premium-ui .commercial-email-footer>span small{color:#81909a;font-size:9px}
body.premium-ui .commercial-email-footer>div{display:flex;align-items:center;gap:12px}
body.premium-ui .commercial-email-footer>div small{color:#7c8b94;font-size:9px}
body.premium-ui .commercial-email-footer .primary{min-width:155px}
body.premium-ui .commercial-email-review-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:15px 17px;border:1px solid #d8e5eb;border-radius:12px;background:linear-gradient(120deg,#f5fafc,#fff 72%)}
body.premium-ui .commercial-email-review-intro h3{font-size:16px;color:#183244}
body.premium-ui .commercial-email-review-intro p{margin-top:4px;color:#71808a;font-size:11px}
body.premium-ui .commercial-email-pending{flex:none;padding:5px 9px;border-radius:999px;background:#fff2d9;color:#8a621c;font-size:9px;font-weight:800}
body.premium-ui .commercial-email-recipient-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
body.premium-ui .commercial-email-recipient-tags em{padding:6px 9px;border:1px solid #cee0e9;border-radius:999px;background:#f2f8fb;color:#2c5870;font-size:10px;font-style:normal;font-weight:700}
body.premium-ui .commercial-email-review-subject{display:block;color:#1b3342;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
body.premium-ui .commercial-email-review-message{margin-top:5px;padding:15px;border:1px solid #e2e8ec;border-radius:10px;background:#fbfcfd;color:#263d4c;font-size:11px;line-height:1.65;white-space:pre-wrap}
body.premium-ui .commercial-email-validation-preview{background:#f5fbf8;border-color:#d5e6de}
body.premium-ui .commercial-email-validation-preview>div{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 8px}
body.premium-ui .commercial-email-validation-approve,body.premium-ui .commercial-email-validation-correct{display:inline-flex;padding:7px 9px;border-radius:8px;font-size:9px;font-weight:800}
body.premium-ui .commercial-email-validation-approve{background:#e7f4ed;color:#246347;border:1px solid #c4ded0}
body.premium-ui .commercial-email-validation-correct{background:#fff2df;color:#8a5a18;border:1px solid #ead2aa}
body.premium-ui dialog[data-dialog-mode="commercial-email"] .form-error{margin-top:12px}
@media(max-width:900px){body.premium-ui dialog[data-dialog-mode="commercial-email"]{width:calc(100vw - 28px);padding:20px}body.premium-ui .commercial-email-layout,body.premium-ui .commercial-email-review-layout{grid-template-columns:1fr}body.premium-ui .commercial-email-side{grid-template-columns:repeat(2,minmax(0,1fr))}body.premium-ui .commercial-email-signature-card{grid-column:1/-1}}
@media(max-width:650px){body.premium-ui .commercial-email-stepbar span:not(:last-child)::after{width:16px}body.premium-ui .commercial-email-editor-row,body.premium-ui .commercial-email-editor-row.primary{grid-template-columns:1fr}body.premium-ui .commercial-email-send-toggle{height:auto}body.premium-ui .commercial-email-recipient-role{border-left:0;border-top:1px solid #dce7ed;padding:8px 0 0}body.premium-ui .commercial-email-side{grid-template-columns:1fr}body.premium-ui .commercial-email-signature-card{grid-column:auto}body.premium-ui .commercial-email-footer,body.premium-ui .commercial-email-review-intro{align-items:stretch;flex-direction:column}body.premium-ui .commercial-email-footer>div{justify-content:space-between;flex-wrap:wrap}body.premium-ui .commercial-email-footer .primary{width:100%}}
