:root {
  color-scheme: dark;
  --black: #020609;
  --panel: #07151c;
  --panel-soft: #0a1c24;
  --line: #17313c;
  --text: #e6eef2;
  --muted: #82949d;
  --cyan: #08d7ee;
  --cyan-soft: rgba(8, 215, 238, .09);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: 272px;
  padding: 24px 14px;
  overflow-y: auto;
  background: #031018;
  border-right: 1px solid #102b36;
  transition: width .25s ease, transform .25s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: linear-gradient(135deg, #0b2029, #07161d);
}
.brand-copy { min-width: 0; color: inherit; text-decoration: none; }
.brand-name { display: block; font-size: 15px; font-weight: 900; letter-spacing: -.55px; }
.brand-name span { color: var(--cyan); }
.brand-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.menu-toggle, .mobile-menu {
  border: 1px solid #27424e;
  border-radius: 8px;
  background: #132833;
  color: #c9d7dd;
  cursor: pointer;
}
.menu-toggle { width: 42px; height: 42px; margin-left: auto; font-size: 18px; }
.nav-label { margin: 32px 10px 12px; color: #6d838d; font-size: 10px; font-weight: 800; letter-spacing: 1px; }
.nav-list { display: grid; gap: 5px; }
.nav-list a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #c7d2d7;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: .18s ease;
}
.nav-list a::before {
  content: attr(data-icon);
  width: 28px;
  color: #d3e0e5;
  font-size: 18px;
  font-weight: 400;
}
.nav-list a:hover { color: #fff; background: #091b23; }
.nav-list a.active {
  color: #4be6f7;
  border-color: #075a69;
  background: var(--cyan-soft);
}
.nav-list a.active::after {
  content: "";
  position: absolute;
  left: -5px;
  width: 3px;
  height: 26px;
  border-radius: 4px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(8, 215, 238, .55);
}

.main { min-height: 100vh; margin-left: 272px; background: radial-gradient(circle at 80% 0%, #08212a 0, transparent 30%), var(--black); transition: margin-left .25s ease; }
.topbar { display: flex; justify-content: flex-end; align-items: center; height: 72px; padding: 0 34px; border-bottom: 1px solid #10232c; }
.system-status { color: #82969f; font-size: 12px; }
.system-status i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #27d59a; box-shadow: 0 0 9px #27d59a; }
.mobile-menu { display: none; width: 42px; height: 42px; margin-right: auto; font-size: 19px; }
.module-view { max-width: 1480px; margin: 0 auto; padding: 42px 42px 64px; }
.module-heading { position: sticky; top: 0; z-index: 12; display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: -42px -42px 0; padding: 28px 42px 24px; border-bottom: 1px solid rgba(23,49,60,.75); background: rgba(2,6,9,.94); backdrop-filter: blur(14px); }
.heading-clock { flex: 0 0 auto; padding: 9px 12px; border: 1px solid #17404f; border-radius: 7px; color: var(--cyan); font-size: 12px; font-weight: 750; }
.heading-meta { display:grid; justify-items:end; gap:6px; flex:0 0 auto; }.system-version { color:#66808b; font-size:10px; font-weight:750; letter-spacing:.4px; }
.eyebrow { margin-bottom: 14px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
h1 { max-width: 800px; margin: 0; font-size: clamp(34px, 4vw, 52px); letter-spacing: -2px; line-height: 1; }
#moduleDescription { max-width: 640px; margin: 22px 0 0; color: #91a3ab; font-size: 17px; line-height: 1.7; }
.placeholder-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  margin-top: 54px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(12, 31, 39, .92), rgba(5, 15, 20, .92));
}
.placeholder-icon { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #096879; border-radius: 12px; color: var(--cyan); background: rgba(8, 215, 238, .07); font-size: 30px; }
.status-pill { display: inline-block; padding: 5px 8px; border: 1px solid #125a65; border-radius: 20px; color: #46deef; font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.placeholder-card h2 { margin: 14px 0 6px; font-size: 24px; }
.placeholder-card p { margin: 0; color: #84969e; line-height: 1.6; }
.overlay { display: none; }
.transmission-panel { margin-top: 24px; }
body.transmission-active .placeholder-card { display: none !important; }
body.main-menu-active .placeholder-card { display:none !important; }
body.main-menu-active #mainMenuPanel { display:block !important; }
.filters { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: #06141b; }
.filters label { display: grid; gap: 7px; min-width: 220px; color: #7f949e; font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.filters select, .filters button { height: 42px; border: 1px solid #24414d; border-radius: 7px; background: #0b1e27; color: #dce7eb; font: inherit; }
.filters select { min-width: 220px; padding: 0 12px; font-size: 13px; text-transform: none; }
.filters button { padding: 0 20px; color: var(--cyan); cursor: pointer; font-size: 12px; font-weight: 800; }
.period-switch { display: flex; align-items: center; gap: 7px; margin: 18px 0 12px; color: #78a1b2; font-size: 9px; font-weight: 850; }
.period-switch button { padding: 6px 12px; border: 1px solid #29414c; border-radius: 6px; background: #07151c; color: #a8b8bf; cursor: pointer; font-size: 10px; }.period-switch button.active { border-color: #13cfe5; background: #0a3040; color: #fff; }
.operation-overview { display: grid; gap: 10px; margin-bottom: 16px; }.overview-row { display: grid; grid-template-columns: 1.15fr repeat(3,1fr); gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #06141b; }
.overview-card { position: relative; min-height: 72px; padding: 14px; border: 1px solid #233945; border-radius: 8px; background: #0b1a22; }.overview-card::after { content:""; position:absolute; inset:auto 8px 0; height:2px; background:transparent; }.overview-card small { display:block; margin-bottom:7px; color:#617c89; font-size:8px; font-weight:850; letter-spacing:.8px; }.overview-card strong { display:block; color:#e6eef2; font-size:11px; }.overview-card p { margin:5px 0 0 18px; color:#66808c; font-size:9px; line-height:1.35; }.overview-card i { display:inline-block; width:8px; height:8px; margin-right:7px; border-radius:50%; }.overview-card.amber { color:#efaa20; border-color:#76551c; }.overview-card.green { color:#34d486; border-color:#176541; }.overview-card.blue { color:#347ff0; border-color:#254f91; }.overview-card.red { color:#ef5964; border-color:#74313b; }.overview-card.amber::after,.overview-card.green::after,.overview-card.blue::after,.overview-card.red::after { background:currentColor; }.overview-card.amber i { background:#efaa20; box-shadow:0 0 8px #efaa20; }.overview-card.green i { background:#34d486; box-shadow:0 0 8px #34d486; }.overview-card.blue i { background:#347ff0; box-shadow:0 0 8px #347ff0; }.overview-card.red i { background:#ef5964; box-shadow:0 0 8px #ef5964; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.metric { position: relative; min-height: 96px; padding: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, #0b1a22, #071218); }
.metric::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: currentColor; }
.metric span { display: block; color: #78909a; font-size: 10px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.metric strong { display: block; margin-top: 10px; color: currentColor; font-size: 28px; }
.metric.cyan { color: #16d4e9; }.metric.blue { color: #4b8cff; }.metric.red { color: #f45562; }.metric.green { color: #39d98a; }
.metric-detailed,.metric-classification { min-height:190px; }
.metric .metric-title { color:#8da3ad; font-size:11px; }
.metric-detailed dl { margin:14px 0 0; }
.metric-detailed dl div { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:7px 0; border-bottom:1px solid rgba(110,145,158,.15); }
.metric-detailed dt { color:#9bb0b9; font-size:12px; font-weight:750; }
.metric-detailed dd { margin:0; color:#eef8fb; font-size:17px; font-weight:900; }
.metric-detailed .metric-total { margin-top:3px; border-bottom:0; }
.metric-detailed .metric-total dt,.metric-detailed .metric-total dd { color:currentColor; }
.classification-groups { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:10px; }
.classification-groups section { min-width:0; }
.classification-groups section div,.classification-total { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:5px 0; }
.classification-groups section span,.classification-total span { color:#9bb0b9; font-size:10px; font-weight:750; text-transform:none; letter-spacing:0; }
.classification-groups section b { color:#eef8fb; font-size:13px; }
.classification-groups .metric-danger span,.classification-groups .metric-danger b { color:#f45562; }
.classification-groups .metric-subtotal { border-top:1px solid rgba(110,145,158,.22); margin-top:3px; }
.classification-groups .metric-subtotal span,.classification-groups .metric-subtotal b { color:#39d98a; }
.classification-total { border-top:1px solid rgba(110,145,158,.28); margin-top:7px; padding-top:8px; }
.classification-total strong { margin:0; font-size:19px; color:#eef8fb; }
.stage-chart { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #06131a; }
.chart-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid #132731; }
.chart-header h2 { margin: 4px 0 0; font-size: 17px; }
.chart-header > span { color: #718892; font-size: 11px; }
.chart-kicker { color: var(--cyan); font-size: 9px; font-weight: 850; letter-spacing: 1px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 18px; margin: 16px 0; color: #82969f; font-size: 11px; }
.chart-legend span { display: flex; align-items: center; gap: 7px; }.chart-legend i { width: 9px; height: 9px; border-radius: 50%; }.legend-future { background: #347ff0; }.legend-complete { background: #35d78a; }.legend-pending { background: #ef5964; }.chart-legend .legend-help { margin-left: auto; color: #5e7681; }
.stage-rows { display: grid; gap: 9px; }
.stage-row { overflow: hidden; border: 1px solid #122832; border-radius: 9px; background: #081820; transition: border-color .2s ease; }
.stage-row:hover { border-color: #28505f; }
.stage-summary { display:grid; grid-template-columns:70px 250px minmax(0,1fr) 26px; gap:14px; align-items:center; width:100%; padding:13px 14px; border:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.stage-name { display:grid; align-self:start; min-width:0; }.stage-name span { color:#718791; font-size:8px; font-weight:800; }.stage-name strong { margin-top:5px; color:#e3edf1; font-size:20px; }.stage-dates { display:grid; gap:8px; min-width:0; }.stage-date { display:grid; grid-template-columns:56px 78px minmax(105px,1fr); gap:6px; align-items:center; min-height:18px; color:#66808b; font-size:9px; white-space:nowrap; }.stage-date em { color:#738b95; font-size:8px; font-style:normal; font-weight:850; }.stage-date time { color:#8298a1; }.stage-date b { color:#90a4ad; font-weight:700; white-space:nowrap; }.lies-date em { color:#21d8ef; }.massiva-date em { color:#a48cff; }
.stage-date.special-date { padding:3px 6px; border-radius:4px; background:#e8b932; color:#201900; }.stage-date.special-date b,.stage-date.special-date em,.stage-date.special-date time { color:#201900; }
.stage-graph { display:grid; gap:8px; min-width:0; }.stage-type-line { display:grid; grid-template-columns:64px minmax(160px,1fr) 58px 265px; gap:10px; align-items:center; }.stage-type-label { color:#8ea4ad; font-size:10px; letter-spacing:.6px; }.stage-type-lies .stage-type-label { color:#21d8ef; }.stage-type-massiva .stage-type-label { color:#a48cff; }.stage-track { height:10px; overflow:hidden; border-radius:7px; background:#152832; }.stage-total { height:100%; min-width:0; background:#347ff0; transition:width .35s ease; }.stage-type-line.type-status-future .stage-total { background:#347ff0; }.stage-type-line.type-status-current .stage-total,.stage-type-line.type-status-complete .stage-total { background:#35d78a; }.stage-type-line.type-status-pending .stage-total { background:#ef5964; }.stage-percent{color:#dcebef;font-size:12px;text-align:right;white-space:nowrap}.stage-type-line.type-status-complete .stage-percent{color:#35d78a}.stage-type-line.type-status-pending .stage-percent{color:#ff6570}.stage-type-line.type-status-future .stage-percent{color:#5e9dff}.stage-type-counts { display:flex; justify-content:flex-end; gap:5px; color:#728892; font-size:8px; font-weight:750; white-space:nowrap; }.stage-type-counts b { margin-right:5px; color:#d9e6eb; font-size:11px; }.stage-type-counts b.overdue-number,.stage-counts b.overdue-number { color:#ff5362; }
.stage-counts { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 14px; margin-top: 9px; color: #728892; font-size: 8px; font-weight: 750; }.stage-counts b { margin-left: 4px; color: #d9e6eb; font-size: 11px; }
.expand-icon { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #28505f; border-radius: 50%; color: var(--cyan); font-size: 17px; }
.stage-details { padding: 0 14px 14px; border-top: 1px solid #132c36; background: #06141b; }
.detail-heading { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0 10px; color: #dbe7eb; font-size: 12px; }.detail-heading span { color: #6f8791; }
.regional-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(390px,1fr)); gap: 10px; }
.regional-card { min-width: 0; padding: 12px; border: 1px solid #17333e; border-radius: 8px; background: #0a1a22; }
.regional-card > strong { display: block; min-height: 30px; color: #dbe7eb; font-size: 11px; }
.regional-card .regional-results { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; margin-top: 8px; }.regional-card .regional-books { padding-top:8px; border-top:1px solid #17333e; }.regional-card span { display: grid; gap: 4px; color: #708892; font-size: 8px; }.regional-card b { font-size: 11px; }.regional-number.danger { color:#f45562; }.regional-number.success { color:#39d98a; }
.stage-result { margin-left:auto; color:#39d98a; font-size:11px; letter-spacing:.5px; }
.locality-list { margin-top:10px; padding-top:9px; border-top:1px solid #17333e; }.locality-list h4 { margin:0 0 7px; color:#6f8791; font-size:9px; letter-spacing:.5px; }.locality-list>p { margin:0; color:#39d98a; font-size:10px; }.locality-row { display:grid; grid-template-columns:minmax(150px,1fr) repeat(3,minmax(58px,auto)); gap:10px; align-items:center; padding:7px 0; border-top:1px solid rgba(23,51,62,.55); }.locality-row:first-of-type { border-top:0; }.locality-row>strong { min-width:0; overflow:hidden; color:#dce7eb; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.locality-row>span { display:flex; justify-content:flex-end; gap:4px; font-size:8px; white-space:nowrap; }
.book-panel { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #06131a; }.book-header { display:flex; justify-content:space-between; gap:18px; align-items:end; padding-bottom:14px; }.book-header h2 { margin:4px 0; font-size:17px; }.book-header p { margin:0; color:#647d88; font-size:10px; }.book-filters { display:grid; grid-template-columns:120px 150px 170px 170px minmax(260px,1fr); gap:10px; margin-bottom:12px; }.book-filters label { display:grid; gap:5px; color:#708893; font-size:9px; font-weight:800; text-transform:uppercase; }.book-filters select,.book-filters input { min-width:0; width:100%; height:38px; padding:0 10px; border:1px solid #24414d; border-radius:7px; background:#0b1e27; color:#dce7eb; font-size:12px; }.table-wrap { overflow:auto; border:1px solid #142b35; border-radius:8px; }table { width:100%; min-width:1500px; border-collapse:collapse; font-size:10px; }th { padding:10px; color:#607985; background:#0a1a22; text-align:left; font-size:8px; letter-spacing:.6px; text-transform:uppercase; }td { padding:10px; border-top:1px solid #122832; color:#a6b6bd; white-space:nowrap; }td strong { display:block; color:#e2ecef; }td small { display:block; margin-top:3px; color:#607985; }.pending-value { color:#f15d68; font-weight:800; }.book-status { display:inline-block; padding:4px 7px; border:1px solid; border-radius:12px; font-size:8px; font-weight:850; }.book-status.pending { color:#ef5964; }.book-status.current,.book-status.complete { color:#35d78a; }.book-status.future { color:#4b8cff; }.table-message { padding:28px; text-align:center; }.book-footer { display:flex; justify-content:space-between; align-items:center; padding-top:14px; color:#647d88; font-size:10px; }.book-footer button { margin-left:7px; padding:7px 12px; border:1px solid #29414c; border-radius:6px; background:#0a1a22; color:#c6d3d8; cursor:pointer; }.book-footer button:disabled { opacity:.35; cursor:not-allowed; }
.export-excel { padding:10px 16px; border:1px solid #21b967; border-radius:7px; background:#0b3827; color:#54e89a; font-size:12px; font-weight:800; cursor:pointer; white-space:nowrap; }.export-excel:hover { background:#105235; }.export-excel:disabled { opacity:.5; cursor:wait; }
.table-excel{margin-left:auto;align-self:flex-start}.recurrence-section-title{display:flex;align-items:flex-start;flex-wrap:wrap;gap:4px 14px}.recurrence-section-title>span,.recurrence-section-title>h3,.recurrence-section-title>p{flex-basis:calc(100% - 150px)}.recurrence-section-title>.table-excel{position:absolute;right:0;top:0}.recurrence-section-title{position:relative;min-height:42px}.recurrence-title>.table-excel{order:2}.recurrence-title>.recurrence-rule{order:3}@media(max-width:700px){.table-excel{margin-left:0}.recurrence-section-title>.table-excel{position:static}.recurrence-section-title>span,.recurrence-section-title>h3,.recurrence-section-title>p{flex-basis:100%}}
.infm-filters,.recurrence-filters{display:grid!important;grid-template-columns:120px 150px minmax(260px,1fr) 140px 150px 150px!important;align-items:end;gap:9px}.infm-filters .infm-search,.recurrence-filters label:last-child{grid-column:2/-1}.recurrence-filters label{display:grid;gap:5px;min-width:0;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.recurrence-filters select,.recurrence-filters input{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}@media(max-width:1050px){.infm-filters,.recurrence-filters{grid-template-columns:repeat(2,minmax(0,1fr))!important}.infm-filters .infm-search,.recurrence-filters label:last-child{grid-column:1/-1}}@media(max-width:620px){.infm-filters,.recurrence-filters{grid-template-columns:1fr!important}}
#bookSortableHead button{display:flex;align-items:center;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;text-transform:inherit;letter-spacing:inherit;cursor:pointer;white-space:nowrap}#bookSortableHead button::after{content:"↕";color:#3f6878;font-size:10px}#bookSortableHead button.active{color:#14d9ef}#bookSortableHead button[data-direction="asc"]::after{content:"↑";color:#14d9ef}#bookSortableHead button[data-direction="desc"]::after{content:"↓";color:#14d9ef}
.work-panel,.work-card { width:100%; }.work-card { padding:20px; border:1px solid var(--line); border-radius:12px; background:#06131a; }.work-header { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:16px; }.work-header h2 { margin:4px 0; font-size:21px; }.work-header p { margin:0; color:#647d88; font-size:12px; }.work-filters { display:grid; grid-template-columns:repeat(5,minmax(150px,1fr)); gap:10px; padding:14px; margin-bottom:14px; border-left:3px solid var(--cyan); background:#081922; }.work-filters label { display:grid; gap:5px; color:#708893; font-size:9px; font-weight:800; text-transform:uppercase; }.work-filters select,.work-filters input { width:100%; min-width:0; height:38px; padding:0 10px; border:1px solid #24414d; border-radius:7px; background:#0b1e27; color:#dce7eb; }.work-filters button { align-self:end; height:38px; border:1px solid #00b9d4; border-radius:7px; background:#069cb4; color:#fff; font-weight:800; cursor:pointer; }.work-search { grid-column:span 2; }.work-table { min-width:max-content; }.work-table th,.work-table td { text-align:center; }.work-table th:nth-child(-n+4),.work-table td:nth-child(-n+4) { position:sticky; z-index:2; background:#071820; text-align:left; }.work-table th:nth-child(1),.work-table td:nth-child(1){left:0;min-width:150px}.work-table th:nth-child(2),.work-table td:nth-child(2){left:150px;min-width:210px}.work-table th:nth-child(3),.work-table td:nth-child(3){left:360px;min-width:250px}.work-table th:nth-child(4),.work-table td:nth-child(4){left:610px;min-width:130px;border-right:2px solid #49606a}.work-day { min-width:360px; border-left:2px solid #49606a; color:#dbe7eb; }.work-day small { display:block; margin-top:3px; color:#78909a; }.work-status { display:inline-block; min-width:78px; padding:4px 6px; border-radius:10px; font-size:8px; font-weight:850; }.work-status.ausencia,.work-status.sem_leitura { color:#ff5965; background:#35141a; }.work-status.com_leitura { color:#37dd8d; background:#0c3424; }
.loading { padding: 30px; color: #7f949e; text-align: center; }.loading.error { color: #ef6771; }

/* Enquadramento amplo e tipografia operacional +2 px. */
@media (min-width: 761px) {
  .sidebar { width: 248px; padding: 18px 12px; }
  .main { margin-left: 248px; }
  .topbar { height: 58px; padding: 0 26px; }
  .module-view { width: 100%; max-width: none; padding: 30px 28px 52px; }
  .module-heading { margin: -30px -28px 0; padding: 20px 28px 18px; }
  .transmission-panel { margin-top: 18px; }
}
.filters label { font-size: 12px; }
.filters select { font-size: 15px; }
.filters button { font-size: 14px; }
.period-switch { font-size: 11px; }
.period-switch button { font-size: 12px; }
.overview-card small { font-size: 10px; }
.overview-card strong { font-size: 13px; }
.overview-card p { font-size: 11px; }
.metric span { font-size: 12px; }
.metric strong { font-size: 30px; }
.chart-header h2, .book-header h2 { font-size: 19px; }
.chart-header > span, .chart-legend { font-size: 13px; }
.chart-kicker { font-size: 11px; }
.stage-name span { font-size: 10px; }
.stage-name strong { font-size: 20px; }
.stage-name small { font-size: 11px; }
.stage-counts { font-size: 10px; }
.stage-counts b { font-size: 13px; }
.stage-type-label { font-size: 12px; }
.stage-type-counts { font-size: 10px; }
.stage-type-counts b { font-size: 13px; }
.detail-heading { font-size: 14px; }
.regional-card > strong { font-size: 13px; }
.regional-card span { font-size: 10px; }
.regional-card b { font-size: 13px; }
.book-header p, .book-footer { font-size: 12px; }
.book-search { font-size: 11px; }
.book-search input { font-size: 13px; }
table { font-size: 12px; }
th { font-size: 10px; }
td small { font-size: 11px; }
.book-status { font-size: 10px; }

.login-screen { display:none; position:fixed; inset:0; z-index:100; place-items:center; padding:24px; background:radial-gradient(circle at 70% 10%,#0a3542 0,transparent 35%),#020609; }
body.unauthenticated .login-screen { display:grid; }body.unauthenticated .sidebar,body.unauthenticated .main { display:none; }

.history-panel{padding:20px}.history-card{padding:20px;border:1px solid #1d4857;border-radius:12px;background:#071d26}.history-heading h2{margin:5px 0}.history-heading p{color:#81a7b4}.history-tabs{display:flex;gap:7px;margin:18px 0;padding:0 0 12px;overflow-x:auto;border-bottom:1px solid #1d4857}.history-tabs button{flex:0 0 auto;padding:9px 13px;border:1px solid #28586a;border-radius:7px;background:#092630;color:#b8dce5;font-size:11px;font-weight:850}.history-tabs button.active{border-color:#1dd2e8;background:#0b7f92;color:#fff}.history-document-head{margin-bottom:10px}.history-document-head h3{margin:4px 0}.history-viewer{overflow:hidden;border:1px solid #2b6071;border-radius:10px;background:#10171b}.history-toolbar{display:grid;grid-template-columns:auto auto auto 1fr auto auto auto;gap:9px;align-items:center;padding:10px 12px;border-bottom:1px solid #2b6071;background:#0b2731}.history-toolbar button{padding:8px 12px;border:1px solid #2c687b;border-radius:7px;background:#103846;color:#e8f9fc;font-weight:800}.history-toolbar label{display:flex;align-items:center;gap:6px;color:#b5d5dd}.history-toolbar input{width:66px;padding:7px;border:1px solid #2c687b;border-radius:6px;background:#061a22;color:#fff;text-align:center}.history-status{padding:12px;color:#9bc5cf;text-align:center}.history-status.error{color:#ff9a9a}.history-canvas-host{overflow:auto;max-height:calc(100vh - 330px);min-height:580px;padding:16px;text-align:center;background:#30363a}.history-canvas-host canvas{display:inline-block;max-width:none;background:#fff;box-shadow:0 4px 24px #0008}@media(max-width:700px){.history-panel{padding:10px}.history-toolbar{grid-template-columns:1fr 1fr 1fr}.history-toolbar>span{display:none}.history-canvas-host{min-height:460px;max-height:68vh}}
.history-table-frame{display:block;width:100%;height:68vh;min-height:620px;border:0;background:#06151c}.history-table-frame[hidden]{display:none}@media(max-width:700px){.history-table-frame{height:70vh;min-height:480px}}
.history-readers{padding:12px;background:#06151c}.history-readers[hidden],.history-reader-card[hidden]{display:none}.history-reader-controls{display:grid;grid-template-columns:auto minmax(360px,1fr) auto;align-items:end;gap:14px;margin-bottom:12px;padding:10px 12px;border:1px solid #245365;border-radius:8px;background:#0a2732;color:#8fc2d0}.history-reader-controls label{display:flex;align-items:center;gap:8px;font-weight:800}.history-reader-controls select,.history-reader-controls input{padding:7px 10px;border:1px solid #347084;border-radius:6px;background:#071d26;color:#fff}.history-reader-controls select{padding-right:34px}.history-reader-search{display:grid!important;grid-template-columns:minmax(220px,1fr) auto;grid-template-areas:'title title' 'input button';gap:5px 8px!important;font-size:10px;text-transform:uppercase}.history-reader-search::before{content:'';grid-area:title}.history-reader-search input{grid-area:input}.history-reader-search button{grid-area:button;min-width:130px;padding:7px 18px;border:1px solid #25bdd4;border-radius:6px;background:#0e9db5;color:#fff;font-weight:850}.history-reader-stack{display:flex;flex-direction:column;gap:16px}.history-reader-card{overflow:hidden;border:1px solid #28596a;border-radius:9px;background:#071d26}.history-reader-card>header{padding:10px 12px;border-bottom:1px solid #36bed6;background:#0c303b;text-align:center}.history-reader-card>header>strong{display:block;color:#f3fbfd;font-size:14px}.history-reader-card>header>div{display:grid;grid-template-columns:1fr 1fr 1fr;margin-top:8px;color:#9fd2de;font-size:11px;font-weight:800}.history-reader-table-wrap{overflow-x:auto}.history-reader-card table{width:100%;min-width:1280px;border-collapse:collapse}.history-reader-card th,.history-reader-card td{padding:7px 8px;border:1px solid #214856;text-align:center;white-space:nowrap}.history-reader-card th{position:sticky;top:0;background:#123b48;color:#7fcee2;font-size:10px;letter-spacing:.03em}.history-reader-card td{color:#c5dce2;font-size:11px}.history-reader-card tbody tr:hover td{background:#0d2d37}.history-reader-total td{background:#0c303b!important;color:#fff!important;font-weight:850}@media(max-width:900px){.history-reader-controls{grid-template-columns:1fr}.history-reader-card>header>div{grid-template-columns:1fr}.history-readers{padding:6px}}
.history-ranking-wrap{max-height:68vh;overflow:auto;border:1px solid #28596a;border-radius:9px}.history-ranking-wrap table{width:100%;min-width:1500px;border-collapse:collapse;background:#071d26}.history-ranking-wrap th{position:sticky;top:0;z-index:2;padding:0;border:1px solid #28596a;background:#123b48}.history-ranking-wrap th button{width:100%;padding:9px 8px;border:0;background:transparent;color:#7fcee2;font-size:10px;font-weight:850;white-space:nowrap}.history-ranking-wrap td{padding:8px;border:1px solid #214856;color:#c5dce2;font-size:11px;white-space:nowrap;text-align:center}.history-ranking-wrap td:nth-child(2),.history-ranking-wrap td:nth-child(3),.history-ranking-wrap td:nth-child(4){text-align:left}.history-ranking-wrap tbody tr:hover td{background:#0d2d37}.history-ranking-wrap tr[hidden]{display:none}
.login-card { width:min(420px,100%); padding:34px; border:1px solid #1b3b47; border-radius:14px; background:#07151c; box-shadow:0 25px 80px rgba(0,0,0,.55); }.login-brand { font-size:20px; font-weight:950; }.login-brand span { color:var(--cyan); }.login-card>p { margin:5px 0 26px; color:#718892; font-size:12px; }.login-card h1 { margin-bottom:25px; font-size:30px; letter-spacing:-1px; }.login-card>label:not(.remember) { display:grid; gap:7px; margin-top:14px; color:#8298a2; font-size:11px; font-weight:800; text-transform:uppercase; }.login-card input:not([type=checkbox]) { height:46px; padding:0 13px; border:1px solid #294550; border-radius:8px; background:#0b1e27; color:#fff; font-size:15px; }.remember { display:flex; gap:9px; align-items:center; margin:17px 0; color:#9aabb2; font-size:12px; }.login-card>button { width:100%; height:46px; border:0; border-radius:8px; background:var(--cyan); color:#02202a; font-weight:900; cursor:pointer; }.login-error,.form-error { min-height:18px; color:#f46670; font-size:11px; }
.top-user { margin-left:auto; color:#b7c6cc; font-size:12px; }.logout-button { margin:0 14px; padding:7px 10px; border:1px solid #294550; border-radius:6px; background:#0a1a22; color:#aebdc3; cursor:pointer; }
.registration-panel { margin-top:20px; }.registration-metrics { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:10px; margin-bottom:14px; }.registration-metrics article { padding:16px; border:1px solid var(--line); border-radius:9px; background:#081820; }.registration-metrics span { display:block; color:#718892; font-size:10px; text-transform:uppercase; }.registration-metrics strong { display:block; margin-top:8px; color:var(--cyan); font-size:28px; }.users-card { padding:20px; border:1px solid var(--line); border-radius:12px; background:#06131a; }.users-header { display:flex; justify-content:space-between; gap:20px; align-items:center; margin-bottom:16px; }.users-header h2 { margin:4px 0; }.users-header p { margin:0;color:#718892;font-size:12px; }.users-header button { padding:10px 15px;border:0;border-radius:7px;background:var(--cyan);color:#05212b;font-weight:900;cursor:pointer; }.users-table { min-width:1200px; }.edit-user { padding:6px 9px;border:1px solid #28505f;border-radius:5px;background:#0a1a22;color:var(--cyan);cursor:pointer; }.user-state { padding:4px 7px;border:1px solid;border-radius:12px;font-size:10px;font-weight:850; }.user-state.active { color:#39d98a; }.user-state.inactive { color:#ef5964; }
.user-dialog { width:min(760px,calc(100% - 30px)); padding:0; border:1px solid #21434f; border-radius:13px; background:#07151c; color:var(--text); }.user-dialog::backdrop { background:rgba(0,0,0,.72);backdrop-filter:blur(3px); }.user-dialog form { padding:20px; }.dialog-header { display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #17313c;padding-bottom:14px; }.dialog-header h2 { margin:0;font-size:18px; }.dialog-header button { border:0;background:none;color:#718892;font-size:24px;cursor:pointer; }.access-status { display:flex;gap:10px;align-items:center;margin:16px 0;padding:12px;border:1px solid #243d48;border-radius:8px;color:#81949d;font-size:11px; }.access-status strong { padding:4px 12px;border-radius:5px;background:#0d583d;color:#46e6a0; }.form-grid { display:grid;grid-template-columns:1fr 1fr;gap:13px; }.form-grid>label { display:grid;gap:6px;color:#718892;font-size:10px;font-weight:850;text-transform:uppercase; }.form-grid input,.form-grid select { min-width:0;height:42px;padding:0 11px;border:1px solid #294550;border-radius:7px;background:#0b1e27;color:#e5eef2; }.regional-picker { grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border:1px solid #294550;border-radius:8px; }.regional-picker legend { color:#718892;font-size:10px;font-weight:850;text-transform:uppercase; }.regional-picker label { color:#b7c5ca;font-size:11px; }.user-active { display:flex;gap:8px;margin:15px 0;color:#aebdc3;font-size:12px; }.dialog-actions { display:grid;grid-template-columns:auto 1fr auto auto;gap:9px;padding-top:15px;border-top:1px solid #17313c; }.dialog-actions button { padding:9px 13px;border:1px solid #294550;border-radius:7px;background:#0a1a22;color:#b9c7cc;cursor:pointer; }.dialog-actions .primary { border-color:var(--cyan);background:var(--cyan);color:#04202a;font-weight:900; }.dialog-actions .danger { border-color:#71333a;color:#f2767f; }

.kml-panel { margin-top:22px; }.kml-card { padding:20px; border:1px solid var(--line); border-radius:12px; background:#06131a; }.kml-header { display:flex; justify-content:space-between; gap:20px; align-items:end; padding-bottom:16px; }.kml-header h2 { margin:5px 0; font-size:20px; }.kml-header p,.kml-header>strong { margin:0; color:#718892; font-size:12px; }.kml-filters { display:grid; grid-template-columns:170px repeat(3,minmax(190px,1fr)) auto; gap:10px; padding:15px; border:1px solid #17313c; border-radius:9px; background:#081820; }.kml-filters label,.kml-search { display:grid; gap:6px; color:#718892; font-size:10px; font-weight:850; text-transform:uppercase; }.kml-filters select,.kml-search input { min-width:0; width:100%; height:42px; padding:0 11px; border:1px solid #294550; border-radius:7px; background:#0b1e27; color:#e4edf0; }.kml-filters button,.kml-generate { align-self:end; height:42px; padding:0 17px; border:1px solid var(--cyan); border-radius:7px; background:var(--cyan); color:#04202a; font-weight:900; cursor:pointer; }.kml-actions { display:grid; grid-template-columns:minmax(300px,1fr) minmax(260px,1fr) auto; gap:14px; align-items:end; margin:14px 0; }.kml-all { display:flex; gap:9px; align-items:center; min-height:42px; color:#a9bbc2; font-size:12px; }.kml-generate:disabled { opacity:.4; cursor:not-allowed; }.kml-table { min-width:1250px; }.kml-table td:first-child,.kml-table th:first-child { width:44px; text-align:center; }.kml-table input[type=checkbox] { width:16px; height:16px; accent-color:var(--cyan); }.kml-coordinate { color:#4ed9e9; font-variant-numeric:tabular-nums; }

.main-menu-panel { margin-top: 22px; }
.welcome-card { padding: 30px 32px; border: 1px solid #16404e; border-radius: 14px; background: linear-gradient(120deg,#0b2433,#091b25 70%,#07161d); }
.welcome-card h2 { margin: 0; color: var(--cyan); font-size: 28px; letter-spacing: -.7px; }
.welcome-card h2 span { color: #edf4f6; }
.welcome-card p { max-width: 720px; margin: 11px 0 18px; color: #758c97; font-size: 14px; line-height: 1.55; }
.welcome-card > div { display: flex; flex-wrap: wrap; gap: 8px; }
.welcome-card > div span { padding: 5px 11px; border: 1px solid #087187; border-radius: 16px; color: var(--cyan); background: rgba(8,215,238,.05); font-size: 10px; font-weight: 850; letter-spacing: .6px; }
.module-search { display: flex; align-items: center; gap: 11px; height: 48px; margin: 18px 0; padding: 0 15px; border: 1px solid #243b46; border-radius: 9px; background: #091720; color: #d8e4e8; }
.module-search span { color: #a9bac1; font-size: 22px; }
.module-search input { flex: 1; height: 100%; border: 0; outline: 0; background: transparent; color: #e6eef1; font: inherit; font-size: 14px; }
.available-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; color: #28dc91; font-size: 14px; }
.available-heading span { display: grid; place-items: center; min-width: 24px; height: 20px; padding: 0 6px; border-radius: 10px; background: #13242d; color: #8298a2; font-size: 10px; }
.module-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
#moduleGrid button { display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center; min-height: 126px; padding: 17px; border: 1px solid #243b46; border-radius: 11px; background: linear-gradient(145deg,#0b1a22,#08151c); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: transform .18s ease,border-color .18s ease,background .18s ease; }
#moduleGrid button:hover,#moduleGrid button:focus-visible { transform: translateY(-2px); border-color: #07879a; background: linear-gradient(145deg,#0c2731,#091920); outline: 0; }
#moduleGrid button.search-hidden { display: none; }
#moduleGrid button i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #08bcd3; color: #effcff; font-style: normal; font-size: 21px; }
#moduleGrid button:nth-child(3n+2) i { background: #238be8; }#moduleGrid button:nth-child(3n) i { background: #11a78e; }
#moduleGrid button strong { display: block; color: #e5edf0; font-size: 15px; }
#moduleGrid button small { display: block; margin-top: 3px; color: #667f8a; font-size: 10px; }
#moduleGrid button p { grid-column: 1/-1; margin: 13px 0 0; color: #718791; font-size: 11px; line-height: 1.5; }

body.sidebar-collapsed .sidebar { width: 84px; }
body.sidebar-collapsed .main { margin-left: 84px; }
body.sidebar-collapsed .brand-copy, body.sidebar-collapsed .nav-label, body.sidebar-collapsed .nav-list a span { display: none; }
body.sidebar-collapsed .brand { justify-content: center; padding: 10px; }
body.sidebar-collapsed .menu-toggle { margin: 0; }
body.sidebar-collapsed .nav-list a { justify-content: center; padding: 0; }
body.sidebar-collapsed .nav-list a::before { width: auto; }

@media (max-width: 1100px) and (min-width: 761px) { .module-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }

.work-status.futuro { color:#5598ff; background:#102640; }
.work-table th,.work-table td { position:static; }.work-table thead tr:first-child>th:nth-child(-n+3),.work-person-row>td:nth-child(-n+3){position:sticky;z-index:3;background:#071820;text-align:left}.work-table thead tr:first-child>th:nth-child(1),.work-person-row>td:nth-child(1){left:0;min-width:150px}.work-table thead tr:first-child>th:nth-child(2),.work-person-row>td:nth-child(2){left:150px;min-width:250px}.work-table thead tr:first-child>th:nth-child(3),.work-person-row>td:nth-child(3){left:400px;min-width:140px;border-right:2px solid #49606a}.work-person{padding:0;border:0;background:transparent;color:#e6f1f4;font-weight:850;cursor:pointer;text-align:left}.work-person:hover{color:var(--cyan);text-decoration:underline}.work-detail-row>td{padding:14px;background:#071820}.work-detail{position:sticky;left:0;width:calc(100vw - 300px);max-width:1500px}.work-detail h3{margin:0 0 12px;color:#e7f1f4}.work-detail article{margin:10px 0;padding:12px;border:1px solid #1e3b47;border-radius:8px;background:#091d26}.work-detail article>header{display:flex;justify-content:space-between;gap:16px;margin-bottom:10px;color:#9bb0b8}.work-intervals{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:10px;color:#8da2aa}.work-intervals span{padding:5px 8px;border-radius:12px;background:#1b2c34}.work-intervals .almoço{color:#f3c64d}.work-intervals .ociosidade{color:#ff6570}.detail-readings{max-height:330px;overflow:auto}.detail-readings table{min-width:1000px}.detail-readings th,.detail-readings td{position:static!important}
.work-table thead tr:first-child>th:nth-child(n+4),.work-table thead tr:nth-child(2)>th,.work-person-row>td:nth-child(n+4){position:static!important;left:auto!important}.work-table .work-day-alt{background:#26323a!important}.work-person-row td.work-day-alt{background:#17242b!important}.work-table .work-closing{background:#0c3440!important;color:#d9f4f7;font-weight:800}.work-day{box-sizing:border-box;width:480px!important;min-width:480px!important;max-width:480px!important}.work-table thead tr:nth-child(2)>th:not(.work-closing),.work-person-row>td:nth-child(n+4):not(.work-closing){box-sizing:border-box;width:80px!important;min-width:80px!important;max-width:80px!important}.work-sort{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;padding:5px 3px;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-transform:uppercase;cursor:pointer}.work-sort span{color:#5f7b87}.work-sort:hover,.work-sort.active{color:var(--cyan)}.work-sort.active span{color:var(--cyan)}
.work-table .work-day{width:660px!important;min-width:660px!important;max-width:660px!important}.work-table thead tr:nth-child(2)>th:not(.work-closing),.work-person-row>td:nth-child(n+4):not(.work-closing){width:90px!important;min-width:90px!important;max-width:90px!important}.work-table thead tr:nth-child(2)>th:first-child,.work-person-row .work-displacement{width:120px!important;min-width:120px!important;max-width:120px!important}.work-displacement.warning{color:#f2b84b;font-size:10px;line-height:1.2;white-space:normal}

/* Alinhamento definitivo das duas linhas operacionais do card. */
.stage-summary{align-items:start}
.stage-name{grid-template-rows:22px 22px;row-gap:8px}
.stage-name span,.stage-name strong{display:flex;align-items:center;min-height:22px}
.stage-name strong{margin:0}
.stage-dates{grid-template-rows:22px 22px;row-gap:8px;align-self:start}
.stage-date{min-height:22px}
.stage-graph{grid-template-rows:22px 22px auto;row-gap:8px;align-self:start}
.stage-type-line{min-height:22px}
.stage-counts{margin-top:0;min-height:18px;align-items:center}
@media (max-width: 760px) {
  .sidebar { width: 272px; transform: translateX(-100%); }
  .main, body.sidebar-collapsed .main { margin-left: 0; }
  .mobile-menu { display: block; }
  .topbar { padding: 0 18px; }
  .module-view { padding: 52px 22px; }
  .module-heading { margin: -52px -22px 0; padding: 22px; }
  .heading-clock { display:none; }.overview-row { grid-template-columns:1fr; }.book-header { align-items:stretch; flex-direction:column; }.book-filters { grid-template-columns:1fr; }
  .form-grid { grid-template-columns:1fr; }.regional-picker { grid-column:auto;grid-template-columns:1fr; }.dialog-actions { grid-template-columns:1fr; }.dialog-actions span { display:none; }
  .placeholder-card { grid-template-columns: 1fr; padding: 24px; }
  .welcome-card { padding: 24px 20px; }.welcome-card h2 { font-size: 24px; }.module-grid { grid-template-columns: 1fr; }
  .kml-filters,.kml-actions,.work-filters { grid-template-columns:1fr; }.kml-header,.work-header { align-items:stretch; flex-direction:column; }.work-search { grid-column:auto; }
  .filters label, .filters select { width: 100%; min-width: 0; }.filters button { width: 100%; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage-summary { grid-template-columns:70px 1fr 26px; }.stage-dates { grid-column:2; }.stage-graph { grid-column:1 / -1; }.stage-summary>.expand-icon { grid-column:3; grid-row:1; }.stage-type-line { grid-template-columns:58px minmax(100px,1fr) 52px; }.stage-type-counts { grid-column:2 / 4; justify-content:flex-start; flex-wrap:wrap; }.stage-counts { justify-content:flex-start; }.regional-grid { grid-template-columns:1fr; }
  body.mobile-open .sidebar { transform: translateX(0); }
  body.mobile-open .overlay { display: block; position: fixed; inset: 0; z-index: 15; background: rgba(0, 0, 0, .66); }
}
.gate-panel{width:100%;padding:22px 28px 48px}.gate-card{background:#071720;border:1px solid #173846;border-radius:12px;padding:18px;overflow:hidden}.gate-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.gate-toolbar h2{margin:4px 0;font-size:1.35rem}.gate-toolbar p,.gate-detail-head p{margin:0;color:#77909d}.gate-period{display:flex;gap:8px}.gate-period button,.gate-detail-filters select{background:#0b1d28;border:1px solid #294756;color:#d9e9ef;border-radius:7px;padding:9px 12px}.gate-period button.active{border-color:#00d7ff;color:#00d7ff}.gate-table-wrap,.gate-detail-scroll{overflow:auto;border:1px solid #173846;border-radius:8px}.gate-summary-table,.gate-detail-table{width:100%;border-collapse:separate;border-spacing:0;white-space:nowrap}.gate-summary-table th,.gate-summary-table td,.gate-detail-table th,.gate-detail-table td{padding:10px 12px;border-bottom:1px solid #16313d;text-align:right}.gate-summary-table th:first-child,.gate-summary-table th:nth-child(2),.gate-summary-table td:first-child,.gate-summary-table td:nth-child(2),.gate-detail-table th:first-child,.gate-detail-table td:first-child,.gate-detail-table th:nth-child(2),.gate-detail-table td:nth-child(2){text-align:left}.gate-summary-table thead th{background:#0d1e29;color:#8da5b1;font-size:.72rem;text-transform:uppercase}.gate-summary-table thead .lies-group{color:#19dfff;border-bottom-color:#00cfee}.gate-summary-table thead .massiva-group{color:#b89cff;border-bottom-color:#8d6cff}.gate-stage-row{cursor:pointer}.gate-stage-row:hover td{background:#0b2733}.gate-stage-row td:first-child{font-weight:800}.gate-arrow{color:#00d7ff;margin-right:8px}.gate-late{color:#ff5a68;font-weight:800}.gate-detail-row>td{padding:0!important;background:#06131b}.gate-detail-row>td>div{padding:18px}.gate-detail-head,.gate-detail-filters{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.gate-detail-head h3{margin:0 0 3px}.gate-detail-head>span{border:1px solid #00bcdc;border-radius:20px;padding:6px 10px;color:#00d7ff}.gate-detail-filters{justify-content:flex-start}.gate-detail-filters label{display:grid;gap:5px;color:#718c99;font-size:.72rem;text-transform:uppercase}.gate-detail-table th{position:sticky;top:0;background:#0d1e29;z-index:2;color:#77909d;text-transform:uppercase;font-size:.68rem}.gate-detail-table th:first-child,.gate-detail-table td:first-child{position:sticky;left:0;background:#0b1b25;z-index:3;min-width:120px}.gate-detail-table th:nth-child(2),.gate-detail-table td:nth-child(2){position:sticky;left:120px;background:#0b1b25;z-index:3;min-width:160px;border-right:1px solid #285060}.gate-type{display:inline-block;border:1px solid;border-radius:12px;padding:2px 7px;font-weight:800}.gate-type.lies{color:#19dfff}.gate-type.massiva{color:#44dc91}.gate-total-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.gate-total-cards article{border:1px solid #29424e;border-radius:8px;padding:14px}.gate-total-cards small{display:block;color:#78909c;text-transform:uppercase}.gate-total-cards strong{display:block;margin-top:7px;color:#00d7ff;font-size:1.4rem}.gate-total-cards article:nth-child(2) strong{color:#b89cff}.gate-total-cards article:nth-child(3){border-color:#92700b}.gate-total-cards article:nth-child(3) strong{color:#ffd32a}.gate-legends{border-top:1px solid #173846;padding-top:12px}.gate-legends h3{font-size:.78rem;text-transform:uppercase}.gate-legends>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gate-legends article{border-left:3px solid #00d7ff;padding-left:10px}.gate-legends article+article{border-color:#9d7cff}.gate-legends p{display:inline-block;margin:5px 8px 0 0;background:#0d1e29;border:1px solid #29414d;border-radius:6px;padding:8px;color:#8aa1ad;font-size:.75rem}
.gate-period-total td{background:#102631!important;border-top:2px solid #37a9c2;border-bottom:2px solid #37a9c2!important;color:#dff6fb;font-weight:900}.gate-period-total td:first-child{color:#00d7ff;text-transform:uppercase}.gate-period-total td:last-child{color:#ffd32a;font-size:1.05rem}
.gate-period-total td.gate-late{color:#ff5a68!important}
@media(max-width:850px){.gate-panel{padding:14px}.gate-toolbar{align-items:flex-start;flex-direction:column}.gate-total-cards,.gate-legends>div{grid-template-columns:1fr}.gate-detail-head{align-items:flex-start;flex-direction:column}}
.gate-legends>div{grid-template-columns:1fr 1fr;gap:18px}.gate-legends article{padding-left:0;border-left:0}.gate-legends article>strong{display:block;margin-bottom:7px;color:#19dfff}.gate-legends .legend-massiva>strong{color:#b89cff}.legend-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gate-legends .legend-card-grid p{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin:0;min-height:46px;padding:8px 10px;border:1px solid #2b3d49;border-radius:8px;background:#101c25;color:#89a3b1;font-size:.72rem}.gate-legends .legend-card-grid p::before{content:"";width:9px;height:9px;border-radius:50%;background:#cfd8ff;box-shadow:0 0 8px #9eaaff}.gate-legends .legend-card-grid p.early::before,.gate-legends .legend-card-grid p.late::before{background:#ffd51c;box-shadow:0 0 8px #ffd51c}.gate-legends .legend-card-grid p.early,.gate-legends .legend-card-grid p.late{border-color:#776b10;background:linear-gradient(90deg,rgba(124,108,0,.25),rgba(124,108,0,.12))}.gate-legends .legend-card-grid b{color:#eef7fb;white-space:nowrap}.gate-legends .legend-card-grid span{line-height:1.3}.legend-lies{border-top:2px solid #00d7ff;padding-top:6px}.legend-massiva{border-top:2px solid #9d7cff;padding-top:6px}
@media(max-width:1000px){.gate-legends>div{grid-template-columns:1fr}.legend-card-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.legend-card-grid{grid-template-columns:1fr}}
.gate-legends{padding:20px 14px 8px}.gate-legends h3{font-size:1rem;margin:0 0 16px}.gate-legends>div{gap:24px}.gate-legends article>strong{font-size:1.05rem;margin-bottom:10px}.legend-card-grid{gap:12px}.gate-legends .legend-card-grid p{min-height:76px;padding:14px 16px;border-width:2px;font-size:.92rem}.gate-legends .legend-card-grid p::before{width:12px;height:12px}.gate-legends .legend-card-grid b{font-size:1rem}.gate-legends .legend-card-grid span{font-size:.86rem}.legend-lies,.legend-massiva{padding:10px 0 0 12px;border-top:0;border-left:4px solid #00d7ff!important}.legend-massiva{border-left-color:#9d7cff!important}.gate-legends .legend-card-grid p:not(.early):not(.late){border-color:#39495d;background:linear-gradient(135deg,rgba(74,105,139,.22),rgba(31,46,61,.45))}.gate-legends .legend-card-grid p.late,.gate-legends .legend-card-grid p.early{border-color:#a38b0a;background:linear-gradient(135deg,rgba(154,128,0,.38),rgba(84,70,0,.25))}
.gate-legends>div{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}.gate-legends article{display:flex;flex-direction:column;min-width:0}.legend-card-grid{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr;align-items:stretch}.gate-legends .legend-card-grid p{height:100%;grid-template-columns:14px minmax(0,1fr);grid-template-rows:auto 1fr;align-content:start;align-items:center}.gate-legends .legend-card-grid p::before{grid-column:1;grid-row:1}.gate-legends .legend-card-grid b{grid-column:2;grid-row:1;text-align:left}.gate-legends .legend-card-grid span{grid-column:1/-1;grid-row:2;padding-top:8px}.gate-legends .legend-card-grid p.critical b,.gate-critical-label{color:#ff4d5f!important;font-weight:900!important}.gate-summary-table thead .gate-critical-label{font-size:.76rem}
@media(max-width:1000px){.gate-legends>div{grid-template-columns:1fr}}@media(max-width:620px){.legend-card-grid{grid-template-columns:1fr}}
.gate-analytics{display:grid;gap:16px;margin:18px 0}.gate-grid-card{min-width:0;border:1px solid #173846;border-radius:10px;background:#081923;padding:14px}.gate-grid-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.gate-grid-title h3{margin:3px 0;font-size:1.05rem}.gate-grid-title p{margin:0;color:#78909c}.gate-sheet-wrap{max-height:390px;overflow:auto;border:1px solid #1b3b48;border-radius:8px;background:#07151d}.gate-sheet{width:100%;min-width:1050px;border-collapse:separate;border-spacing:0;white-space:nowrap}.gate-sheet th,.gate-sheet td{padding:9px 11px;border-right:1px solid #15323e;border-bottom:1px solid #15323e;text-align:right;font-variant-numeric:tabular-nums}.gate-sheet th{position:sticky;top:0;z-index:3;background:#10242f;color:#8ea9b5;text-transform:uppercase;font-size:.7rem;letter-spacing:.03em}.gate-sheet th:first-child,.gate-sheet td:first-child{position:sticky;left:0;z-index:2;text-align:left;background:#0b202a}.gate-sheet th:first-child{z-index:4;background:#102b37}.gate-sheet tbody tr:nth-child(even) td:not(:first-child){background:#091b24}.gate-sheet tbody tr:hover td{background:#10303c!important}.gate-sheet .gate-good{color:#43db94;font-weight:800}.gate-sheet .gate-late{color:#ff5a68;font-weight:800}
.gate-summary-table thead tr:first-child .lies-group,.gate-summary-table thead tr:first-child .massiva-group{text-align:center!important}
.gate-filter-bar{display:grid;grid-template-columns:180px 240px minmax(240px,1fr) 190px auto;gap:12px;align-items:end;margin:0 0 16px;padding:14px;background:#091b24;border:1px solid #1b3b48;border-radius:9px}.gate-filter-bar label{display:grid;gap:6px;color:#78a0b1;font-size:.75rem;font-weight:800;text-transform:uppercase}.gate-filter-bar select,.gate-filter-bar button{height:42px;border:1px solid #315361;border-radius:7px;background:#0c202a;color:#edf7fa;padding:0 12px}.gate-filter-bar button{background:#00bcd4;border-color:#00d8f2;color:#001014;font-weight:900;cursor:pointer}@media(max-width:1100px){.gate-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-filter-bar button{grid-column:1/-1}}@media(max-width:620px){.gate-filter-bar{grid-template-columns:1fr}}
.gate-sheet .gate-section-row td{position:static!important;background:#123341!important;color:#00d7ff!important;text-align:left!important;font-weight:900;letter-spacing:.08em}
.gate-month-row{cursor:pointer}.gate-month-row:hover td{background:#10303c!important}.gate-month-detail>td{position:static!important;padding:0!important;background:#06131a!important}.gate-month-detail-wrap{padding:12px;overflow:auto}.gate-month-detail-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.gate-month-detail-wrap th,.gate-month-detail-wrap td{position:static!important;padding:7px 9px!important;background:#091b24!important;border:1px solid #183944!important;text-align:right}.gate-month-detail-wrap th:first-child,.gate-month-detail-wrap td:first-child{text-align:left}.gate-horizontal-sheet{min-width:max-content}.gate-horizontal-sheet thead tr:first-child th{text-align:center!important}.gate-horizontal-sheet .gate-month-group{color:#00d7ff;border-bottom:2px solid #00a8c7}.gate-horizontal-sheet .gate-acc-group{color:#ffd43b;border-bottom:2px solid #a78200}.gate-horizontal-sheet th:first-child,.gate-horizontal-sheet td:first-child{min-width:190px}.gate-horizontal-sheet th:nth-child(2),.gate-horizontal-sheet td:nth-child(2){min-width:105px}.gate-horizontal-sheet th,.gate-horizontal-sheet td{min-width:82px}
.gate-toolbar-actions{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.gate-export-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.gate-export-actions button{border:1px solid #18bddd;border-radius:7px;background:#0b2430;color:#dff9ff;padding:8px 12px;font-weight:800;cursor:pointer}.gate-export-actions button[data-format="xlsx"]{border-color:#25c77a;color:#5de69d}.gate-export-actions button:hover{filter:brightness(1.2)}.gate-export-actions button:disabled{opacity:.55;cursor:wait}@media(max-width:850px){.gate-toolbar-actions{align-items:flex-start}.gate-grid-title{gap:12px;flex-direction:column}.gate-export-actions{justify-content:flex-start}}
.gate-view-tabs{display:flex;gap:8px;margin:0 0 14px;border-bottom:1px solid #1a3b48}.gate-view-tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#7894a1;padding:10px 14px;font-weight:800;cursor:pointer}.gate-view-tabs button.active{border-bottom-color:#00d7ff;color:#00d7ff}.gate-books-control{display:grid;gap:16px;margin-top:18px}.gate-book-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.gate-book-kpis article{border:1px solid #225064;border-radius:9px;background:#0a202a;padding:14px}.gate-book-kpis span,.gate-book-kpis small{display:block;color:#7d9ba8}.gate-book-kpis strong{display:block;color:#39e0ff;font-size:1.35rem;margin-top:5px}.gate-book-ranking{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:12px}.gate-book-ranking>section{border:1px solid #225064;border-radius:9px;padding:13px;background:#091c25}.gate-book-ranking h4{margin:4px 0 12px;font-size:1.05rem}.gate-book-ranking article{display:flex;align-items:center;gap:10px;border:1px solid #1a4352;border-radius:8px;padding:10px;margin-top:8px}.gate-book-ranking article>b{color:#35eba5;border:1px solid #35eba5;border-radius:7px;padding:5px}.gate-book-ranking article>div{min-width:0;flex:1}.gate-book-ranking article strong,.gate-book-ranking article small,.gate-book-ranking article em{display:block}.gate-book-ranking article small{color:#70b9ce}.gate-book-ranking article em{font-style:normal;text-align:right;color:#40eba6;font-weight:800}.gate-book-reader-row button{border:0;background:transparent;color:#e7f5f8;text-align:left;cursor:pointer}.gate-book-reader-row button strong,.gate-book-reader-row button small{display:block}.gate-book-reader-row button small{color:#73b9cd;margin-left:22px}.gate-book-reader-detail>td{padding:0!important}.gate-book-reader-detail>td>div{padding:12px;background:#06131a;overflow:auto}.gate-book-reader-detail table{width:100%;border-collapse:collapse}.gate-book-reader-detail th,.gate-book-reader-detail td{position:static!important;background:transparent!important;border:1px solid #1a3945;padding:8px;text-align:left}.gate-sheet td:first-child small{display:block;color:#6fa7b8;margin-top:3px}.gate-book-regional-row>td:first-child button{border:0;background:transparent;color:#eaf8fb;cursor:pointer;text-align:left;font:inherit}.gate-book-regional-row>td:first-child button strong{font-size:.9rem}.gate-book-regional-detail>td{padding:0!important;background:#06131a!important}.gate-book-regional-detail>td>div{padding:14px;overflow:auto}.gate-book-regional-detail table{min-width:100%;border-collapse:collapse;white-space:nowrap}.gate-book-regional-detail th,.gate-book-regional-detail td{position:static!important;background:#081b24!important;border:1px solid #1a3a46;padding:8px;text-align:right}.gate-book-regional-detail th:first-child,.gate-book-regional-detail td:first-child{text-align:left;background:#0b2631!important}.gate-book-contract-total td{background:#12313b!important;border-top:2px solid #00d7ff!important;color:#e9fbff;font-weight:800}.gate-book-contract-total td strong{color:#42e7ff}@media(max-width:1000px){.gate-book-kpis{grid-template-columns:repeat(2,1fr)}.gate-book-ranking{grid-template-columns:1fr}}
.gate-month-row:nth-child(4n+1) td,.gate-month-row:nth-child(4n+1)+.gate-month-detail td{background:#27343c!important}.gate-reader-sheet th:nth-child(3),.gate-reader-sheet td:nth-child(3){width:145px;min-width:145px;max-width:145px;white-space:normal}.gate-stage-sheet .gate-date-col{width:98px;min-width:98px;max-width:98px}.gate-stage-sheet thead tr:nth-child(2) th:nth-child(1),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(5),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(17),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(21),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(33),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(37){width:98px;min-width:98px;max-width:98px}.gate-reader-sheet tbody>tr.gate-reader-row td:nth-child(n+4):nth-child(-n+11),.gate-reader-sheet tbody>tr.gate-reader-row td:nth-child(n+20):nth-child(-n+27),.gate-reader-sheet tbody>tr.gate-reader-row td:nth-child(n+36):nth-child(-n+43),.gate-reader-sheet thead tr:first-child th:nth-child(4),.gate-reader-sheet thead tr:first-child th:nth-child(6),.gate-reader-sheet thead tr:first-child th:nth-child(8),.gate-reader-sheet thead tr:nth-child(2) th:nth-child(n+1):nth-child(-n+8),.gate-reader-sheet thead tr:nth-child(2) th:nth-child(n+17):nth-child(-n+24),.gate-reader-sheet thead tr:nth-child(2) th:nth-child(n+33):nth-child(-n+40){background:#27343c!important}.gate-stage-sheet tbody>tr:not(.gate-stage-analytics-detail)>td:nth-child(n+2):nth-child(-n+9),.gate-stage-sheet tbody>tr:not(.gate-stage-analytics-detail)>td:nth-child(n+18):nth-child(-n+25),.gate-stage-sheet tbody>tr:not(.gate-stage-analytics-detail)>td:nth-child(n+34):nth-child(-n+41),.gate-stage-sheet thead tr:first-child th:nth-child(2),.gate-stage-sheet thead tr:first-child th:nth-child(4),.gate-stage-sheet thead tr:first-child th:nth-child(6),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(n+1):nth-child(-n+8),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(n+17):nth-child(-n+24),.gate-stage-sheet thead tr:nth-child(2) th:nth-child(n+33):nth-child(-n+40){background:#27343c!important}
.gate-reader-sheet th:nth-child(n+4),.gate-reader-sheet td:nth-child(n+4){box-sizing:border-box;width:86px!important;min-width:86px!important;max-width:86px!important}.gate-reader-sort{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-transform:uppercase;cursor:pointer;white-space:nowrap}.gate-reader-sort span{visibility:hidden;color:#00d7ff}.gate-reader-sort:hover,.gate-reader-sort.active{color:#00d7ff}.gate-reader-sort:hover span,.gate-reader-sort.active span{visibility:visible}
.gate-stage-analytics-row{cursor:pointer}.gate-stage-analytics-detail>td{position:static!important;padding:0!important;background:#06131a!important}.gate-stage-analytics-detail>td>div{padding:12px;overflow:auto}.gate-stage-analytics-detail table{width:100%;border-collapse:collapse}.gate-stage-analytics-detail th,.gate-stage-analytics-detail td{position:static!important;padding:8px 10px!important;border:1px solid #183944;background:#091b24!important;text-align:right}.gate-stage-analytics-detail th:first-child,.gate-stage-analytics-detail td:first-child{text-align:left}.gate-stage-total td{background:#12303b!important;border-top:2px solid #00cfe8;font-weight:800}.gate-stage-total td:first-child{color:#00d7ff}
.gate-stage-detail-title{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;color:#dff4f8}.gate-stage-detail-title span{color:#00d7ff}.gate-stage-analytics-detail td[rowspan]{vertical-align:top;background:#102b37!important;color:#00d7ff}.gate-stage-analytics-detail th:nth-child(1),.gate-stage-analytics-detail th:nth-child(2),.gate-stage-analytics-detail td:nth-child(1),.gate-stage-analytics-detail td:nth-child(2){text-align:left}
.gate-horizontal-sheet thead tr:nth-child(2)>th:first-child{position:static!important;left:auto!important;z-index:3!important;width:86px!important;min-width:86px!important;max-width:86px!important}.gate-reader-name{display:flex;align-items:center;gap:7px;width:100%;padding:0;border:0;background:transparent;color:#eef8fb;font:inherit;font-weight:800;text-align:left;cursor:pointer}.gate-reader-name:hover{color:#00d7ff}.gate-reader-detail>td{position:static!important;padding:0!important;background:#06131a!important}.gate-reader-detail>td>div{padding:12px;overflow:auto}.gate-reader-detail table{width:100%;border-collapse:collapse}.gate-reader-detail th,.gate-reader-detail td{position:static!important;min-width:115px!important;padding:8px 10px!important;border:1px solid #183944;background:#091b24!important;text-align:right}.gate-reader-detail th:first-child,.gate-reader-detail td:first-child{text-align:left}.gate-reader-detail-total td{background:#12303b!important;font-weight:800}.gate-early-value{background:inherit!important;color:#ffd51c!important;font-weight:900}.gate-zero-light{color:#f4f8fa!important}.gate-zero-dark{color:#f4f8fa!important;font-weight:400}
.gate-regional-row{cursor:pointer}.gate-regional-row:hover td{background:#0b2733}.gate-regional-detail>td{position:static!important;padding:0!important;background:#06131a!important}.gate-regional-detail>td>div{padding:12px;overflow:auto}.gate-regional-detail table{width:100%;border-collapse:collapse}.gate-regional-detail th,.gate-regional-detail td{position:static!important;min-width:135px!important;padding:8px 10px!important;border:1px solid #183944;background:#091b24!important;text-align:right}.gate-regional-detail th:nth-child(-n+2),.gate-regional-detail td:nth-child(-n+2){text-align:left}

.module-picker{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border:1px solid #294550;border-radius:8px}.module-picker legend{color:#718892;font-size:10px;font-weight:850;text-transform:uppercase}.module-picker label{color:#b7c5ca;font-size:11px}
.objectives-panel{padding:22px}.objectives-card{border:1px solid #173946;border-radius:10px;background:#071923;padding:16px}.objectives-toolbar{display:flex;align-items:end;justify-content:space-between;gap:18px}.objectives-toolbar h2{margin:4px 0}.objectives-toolbar p{margin:0;color:#77909b}.objectives-toolbar label{display:grid;gap:5px;color:#7895a0;font-size:.72rem;text-transform:uppercase}.objectives-toolbar input,.objective-bulk input,.objective-bulk select,.objective-editor select,.objective-month input{height:38px;border:1px solid #294c5a;border-radius:6px;background:#0b2029;color:#edf7fa;padding:0 10px}.objective-bulk{display:grid;grid-template-columns:auto 190px 150px 150px 150px auto;gap:10px;align-items:end;margin:16px 0;padding:12px;border:1px solid #24424e;border-radius:8px;background:#0a2029}.objective-bulk strong{align-self:center;color:#00d7f2}.objective-bulk label{display:grid;gap:4px;color:#7895a0;font-size:.68rem;text-transform:uppercase}.objective-bulk button,.objective-month button{height:38px;border:1px solid #00cce6;border-radius:6px;background:#00bcd4;color:#001216;font-weight:900;cursor:pointer}.objectives-layout{display:grid;grid-template-columns:minmax(520px,1fr) minmax(480px,.9fr);gap:14px;align-items:start}.objective-list-wrap{max-height:670px;overflow:auto;border:1px solid #1b3b47;border-radius:8px}.objective-list{width:100%;border-collapse:collapse}.objective-list th{position:sticky;top:0;z-index:2;background:#102a35;color:#84a4b0;text-transform:uppercase;font-size:.69rem}.objective-list th,.objective-list td{padding:9px;border-bottom:1px solid #173743;text-align:left}.objective-list tr:nth-child(even){background:#0b2029}.objective-list tr:hover{background:#11313d}.objective-list td small{display:block;color:#78909a}.objective-person{border:0;background:transparent;color:#eaf5f7;font-weight:800;cursor:pointer}.objective-person:hover{color:#00d7f2}.objective-status{font-weight:900}.objective-status.ativo{color:#46df94}.objective-status.ferias{color:#ffd537}.objective-status.afastado{color:#f3cb20}.objective-status.demitido{color:#ff5361}.objective-editor{max-height:670px;overflow:auto;border:1px solid #1b3b47;border-radius:8px;background:#081b24}.objective-empty{padding:60px 20px;text-align:center;color:#78909a}.objective-editor>header{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;gap:12px;padding:14px;background:#102a35;border-bottom:1px solid #29505e}.objective-editor h3{margin:0 0 4px}.objective-editor header small{color:#91a7af}.objective-editor header label{display:grid;gap:4px;color:#88a3ad;font-size:.68rem;text-transform:uppercase}.objective-months{padding:10px}.objective-month{display:grid;grid-template-columns:75px 1fr 90px;gap:10px;align-items:start;padding:10px;border-bottom:1px solid #24424d}.objective-month-alt{background:#26333a}.objective-month>strong{padding-top:12px;color:#00d7f2;text-transform:uppercase}.objective-month>div{display:grid;grid-template-columns:repeat(3,minmax(105px,1fr));gap:7px}.objective-month label{display:grid;gap:3px;color:#8ba1aa;font-size:.64rem;text-transform:uppercase}.objective-month input:disabled{opacity:.42;cursor:not-allowed}.objective-month button{margin-top:18px}.objective-month button:disabled{opacity:.45}@media(max-width:1250px){.objective-bulk{grid-template-columns:repeat(3,1fr)}.objectives-layout{grid-template-columns:1fr}.objective-editor{max-height:none}}@media(max-width:760px){.objectives-panel{padding:12px}.objectives-toolbar{align-items:stretch;flex-direction:column}.objective-bulk{grid-template-columns:1fr}.objective-month{grid-template-columns:1fr}.objective-month>div{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.module-picker{grid-column:auto;grid-template-columns:1fr}}
.gate-reader-detail td[rowspan]{vertical-align:top;background:#102b37!important;color:#00d7ff}.gate-reader-detail th:nth-child(1),.gate-reader-detail th:nth-child(2),.gate-reader-detail td:nth-child(1),.gate-reader-detail td:nth-child(2){text-align:left}
.gate-reader-detail-horizontal{min-width:max-content!important;white-space:nowrap}.gate-reader-detail-horizontal th:nth-child(1),.gate-reader-detail-horizontal td:nth-child(1){width:90px!important;min-width:90px!important}.gate-reader-detail-horizontal th:nth-child(2),.gate-reader-detail-horizontal td:nth-child(2){width:220px!important;min-width:220px!important;text-align:left!important}.gate-reader-detail-horizontal th:nth-child(3),.gate-reader-detail-horizontal td:nth-child(3){width:240px!important;min-width:240px!important;text-align:left!important}.gate-reader-detail-horizontal th:nth-child(n+4),.gate-reader-detail-horizontal td:nth-child(n+4){width:86px!important;min-width:86px!important;max-width:86px!important}.gate-reader-detail-horizontal thead tr:first-child th{text-align:center!important}.gate-reader-detail-horizontal .gate-month-group{color:#00d7ff;border-bottom:2px solid #00a8c7}.gate-reader-detail-horizontal .gate-acc-group{color:#ffd43b;border-bottom:2px solid #a78200}
.gate-reader-sheet>thead>tr>th{position:static!important;top:auto!important;left:auto!important;z-index:auto!important}.gate-reader-detail-horizontal thead th{position:static!important;top:auto!important;z-index:auto!important}
.gate-regional-detail-horizontal{min-width:max-content!important;white-space:nowrap}.gate-regional-detail-horizontal thead th{position:static!important;top:auto!important;z-index:auto!important;text-align:center!important}.gate-regional-detail-horizontal th:first-child,.gate-regional-detail-horizontal td:first-child{width:260px!important;min-width:260px!important;text-align:left!important}.gate-regional-detail-horizontal th:nth-child(n+2),.gate-regional-detail-horizontal td:nth-child(n+2){width:120px!important;min-width:120px!important;text-align:right!important}.gate-regional-detail-horizontal .gate-month-group{color:#00d7ff;border-bottom:2px solid #00a8c7}.gate-regional-detail-horizontal .gate-acc-group{color:#ffd43b;border-bottom:2px solid #a78200}
.gate-regional-sheet>thead>tr>th{position:static!important;top:auto!important;left:auto!important;z-index:auto!important}
.gate-regional-sheet>thead>tr:first-child>th:nth-child(2),.gate-regional-sheet>thead>tr:first-child>th:nth-child(4),.gate-regional-sheet>thead>tr:first-child>th:nth-child(6),.gate-regional-sheet>thead>tr:nth-child(2)>th:nth-child(n+1):nth-child(-n+4),.gate-regional-sheet>thead>tr:nth-child(2)>th:nth-child(n+9):nth-child(-n+12),.gate-regional-sheet>thead>tr:nth-child(2)>th:nth-child(n+17):nth-child(-n+20),.gate-regional-sheet>tbody>tr:not(.gate-regional-detail)>td:nth-child(n+2):nth-child(-n+5),.gate-regional-sheet>tbody>tr:not(.gate-regional-detail)>td:nth-child(n+10):nth-child(-n+13),.gate-regional-sheet>tbody>tr:not(.gate-regional-detail)>td:nth-child(n+18):nth-child(-n+21),.gate-regional-detail-horizontal>thead>tr:first-child>th:nth-child(2),.gate-regional-detail-horizontal>thead>tr:first-child>th:nth-child(4),.gate-regional-detail-horizontal>thead>tr:first-child>th:nth-child(6),.gate-regional-detail-horizontal>thead>tr:nth-child(2)>th:nth-child(n+1):nth-child(-n+4),.gate-regional-detail-horizontal>thead>tr:nth-child(2)>th:nth-child(n+9):nth-child(-n+12),.gate-regional-detail-horizontal>thead>tr:nth-child(2)>th:nth-child(n+17):nth-child(-n+20),.gate-regional-detail-horizontal>tbody>tr>td:nth-child(n+2):nth-child(-n+5),.gate-regional-detail-horizontal>tbody>tr>td:nth-child(n+10):nth-child(-n+13),.gate-regional-detail-horizontal>tbody>tr>td:nth-child(n+18):nth-child(-n+21){background:#27343c!important}
.gate-stage-sheet>thead>tr>th{position:static!important;top:auto!important;left:auto!important;z-index:auto!important}.gate-stage-detail-horizontal{min-width:max-content!important;white-space:nowrap}.gate-stage-detail-horizontal thead th{position:static!important;top:auto!important;z-index:auto!important;text-align:center!important}.gate-stage-detail-horizontal th:first-child,.gate-stage-detail-horizontal td:first-child{width:300px!important;min-width:300px!important;text-align:left!important}.gate-stage-detail-horizontal td:first-child small{display:block;margin-top:3px;color:#78909c;font-weight:400}.gate-stage-detail-horizontal th:nth-child(n+2),.gate-stage-detail-horizontal td:nth-child(n+2){width:105px!important;min-width:105px!important;text-align:right!important}.gate-stage-detail-horizontal .gate-month-group{color:#00d7ff;border-bottom:2px solid #00a8c7}.gate-stage-detail-horizontal .gate-acc-group{color:#ffd43b;border-bottom:2px solid #a78200}
.objective-format-legend{display:flex;gap:8px;flex-wrap:wrap;padding:10px 14px;border-bottom:1px solid #24424d;background:#091e27}.objective-format-legend span{padding:5px 9px;border:1px solid #2a4a57;border-radius:14px;color:#89a1ab;font-size:.7rem}.objective-format-legend b{color:#00d7f2}.objective-value-input{display:grid;grid-template-columns:1fr;align-items:center;position:relative}.objective-value-input.currency{grid-template-columns:30px 1fr}.objective-value-input.percent{grid-template-columns:1fr 24px}.objective-value-input>span{display:grid;place-items:center;height:38px;background:#12303a;color:#00d7f2;font-weight:900}.objective-value-input.currency>span{border:1px solid #294c5a;border-right:0;border-radius:6px 0 0 6px}.objective-value-input.percent>span{border:1px solid #294c5a;border-left:0;border-radius:0 6px 6px 0}.objective-value-input.currency input{border-radius:0 6px 6px 0}.objective-value-input.percent input{border-radius:6px 0 0 6px}.objective-value-input input{width:100%;min-width:0;text-align:right;font-variant-numeric:tabular-nums}
.objective-filters{display:grid;grid-template-columns:150px 210px minmax(210px,1fr) 160px minmax(220px,1fr);gap:10px;margin-top:16px;padding:12px;border:1px solid #24424e;border-radius:8px;background:#091e27}.objective-filters label{display:grid;gap:5px;color:#7895a0;font-size:.68rem;font-weight:800;text-transform:uppercase}.objective-filters select,.objective-filters input{height:40px;border:1px solid #294c5a;border-radius:6px;background:#0b2029;color:#edf7fa;padding:0 10px}.objectives-layout{grid-template-columns:minmax(330px,32%) minmax(0,68%)}.objective-list th,.objective-list td{padding:7px}.objective-months{overflow-x:auto}.objective-month{grid-template-columns:68px minmax(900px,1fr) 82px;min-width:1060px;padding:8px}.objective-month>div{grid-template-columns:repeat(10,minmax(82px,1fr));gap:5px}.objective-month input{height:34px;padding:0 6px}.objective-value-input>span{height:34px}.objective-month button{height:34px;margin-top:17px;font-size:.7rem}.objective-month-selected{outline:2px solid #00d7f2;outline-offset:-2px}@media(max-width:1200px){.objective-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.objectives-layout{grid-template-columns:1fr}.objective-month{min-width:1060px}}@media(max-width:620px){.objective-filters{grid-template-columns:1fr}}
.objective-bulk{grid-template-columns:minmax(210px,1.1fr) minmax(190px,1fr) minmax(170px,.75fr) minmax(170px,.75fr) minmax(140px,.65fr) minmax(250px,1.25fr);width:100%;box-sizing:border-box}.objective-bulk>*{min-width:0}.objective-bulk input,.objective-bulk select,.objective-bulk button{box-sizing:border-box;width:100%;min-width:0}.objective-list th:last-child,.objective-list td:last-child{width:125px;white-space:nowrap}@media(max-width:1350px){.objective-bulk{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.objective-bulk{grid-template-columns:1fr}}
.objectives-layout{grid-template-columns:minmax(300px,28%) minmax(0,72%)}.objective-list{table-layout:fixed}.objective-list th,.objective-list td{padding:6px 4px}.objective-list th:nth-child(1),.objective-list td:nth-child(1){width:28px;text-align:center}.objective-list th:nth-child(2),.objective-list td:nth-child(2){width:38px;text-align:center}.objective-list th:nth-child(4),.objective-list td:nth-child(4){width:96px}.objective-list th:nth-child(3),.objective-list td:nth-child(3){width:auto}.objective-person{display:block;width:100%;padding:0;white-space:normal;overflow-wrap:anywhere;line-height:1.25}.objective-list td small{margin-top:2px;line-height:1.1}@media(max-width:1200px){.objectives-layout{grid-template-columns:1fr}}
.objectives-layout{grid-template-columns:minmax(260px,22%) minmax(0,78%)}.objective-list th,.objective-list td{padding:7px 3px}.objective-list th:nth-child(1),.objective-list td:nth-child(1){width:30px;text-align:center}.objective-list th:nth-child(2),.objective-list td:nth-child(2){width:auto;text-align:left}.objective-list th:nth-child(3),.objective-list td:nth-child(3){width:94px;text-align:left}.objective-person{font-size:.78rem;line-height:1.2}.objective-status{font-size:.72rem}@media(max-width:1200px){.objectives-layout{grid-template-columns:1fr}}

/* Objetivos: lista compacta, sem a largura mínima global das demais grades. */
.objectives-layout{grid-template-columns:minmax(230px,19%) minmax(0,81%);gap:8px}
.objective-list-wrap{margin:0;padding:0;scrollbar-gutter:stable}
.objective-list{width:100%;min-width:0!important;table-layout:fixed}
.objective-list th,.objective-list td{box-sizing:border-box;padding:6px 2px;white-space:normal}
.objective-list th:nth-child(1),.objective-list td:nth-child(1){width:22px;padding-left:0;padding-right:0;text-align:left}
.objective-list th:nth-child(1) input,.objective-list td:nth-child(1) input{display:block;margin:0 0 0 1px}
.objective-list th:nth-child(2),.objective-list td:nth-child(2){width:auto;padding-left:3px;padding-right:3px;text-align:left}
.objective-list th:nth-child(3),.objective-list td:nth-child(3){width:70px;padding-left:2px;padding-right:1px;text-align:left;white-space:nowrap}
.objective-person{font-size:.72rem;line-height:1.12;text-align:left}
.objective-status{font-size:.62rem;line-height:1;white-space:nowrap}
@media(max-width:1200px){.objectives-layout{grid-template-columns:1fr}}
.objective-month{grid-template-columns:90px minmax(900px,1fr) 82px}
.objective-month>strong{white-space:nowrap;word-break:keep-all}
.infm-panel{display:grid;gap:18px;padding:24px;min-width:0}.infm-panel[hidden]{display:none}.infm-card{background:#071923;border:1px solid #183746;border-radius:12px;padding:16px;min-width:0}.infm-title{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.infm-title h2,.infm-title h3{margin:2px 0 3px;color:#f2f7fa}.infm-title p{margin:0;color:#7392a3}.infm-filters{display:grid;grid-template-columns:140px 190px minmax(190px,1fr) 170px 180px minmax(230px,1.3fr);gap:10px;padding:12px;background:#0a202b;border:1px solid #1a4252;border-radius:9px;margin-bottom:14px}.infm-filters label{display:grid;gap:5px;color:#6da4bd;font-size:11px;font-weight:700;text-transform:uppercase}.infm-filters select,.infm-filters input{width:100%;height:38px;border:1px solid #285064;border-radius:7px;background:#0b212b;color:#eef8fc;padding:0 11px}.infm-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.infm-summary article{display:grid;gap:5px;padding:12px 14px;border:1px solid #214654;border-radius:9px;background:#0b202a}.infm-summary span{color:#6d98aa;font-size:11px;text-transform:uppercase;font-weight:700}.infm-summary strong{color:#20d2ef;font-size:24px}.infm-alert{color:#ff5265!important;font-weight:800}.infm-sheet-wrap{overflow:auto;max-width:100%;border:1px solid #1a3c49;border-radius:8px}.infm-sheet{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;color:#c6dbe4;font-size:12px}.infm-sheet th,.infm-sheet td{padding:10px 12px;border-right:1px solid #173845;border-bottom:1px solid #173845;white-space:nowrap;text-align:right}.infm-sheet th{background:#102c38;color:#7fb3c8;text-transform:uppercase;font-size:10px;letter-spacing:.03em}.infm-ranking th:nth-child(-n+4),.infm-ranking td:nth-child(-n+4),.infm-horizontal th:first-child,.infm-horizontal td:first-child{text-align:left}.infm-ranking tbody tr[data-infm-index]{cursor:pointer}.infm-ranking tbody tr[data-infm-index]:hover td{background:#10303c}.infm-sheet td small{display:block;color:#6f93a2;margin-top:3px}.infm-type,.infm-status{display:inline-block;border:1px solid #25748a;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800}.infm-type.massiva{color:#a88cff;border-color:#7258ba}.infm-type.lies{color:#21dffc}.infm-status.inside{color:#30dc88;border-color:#168a55}.infm-status.above{color:#ff596c;border-color:#c83b4d}.infm-status.unset{color:#f1bd42;border-color:#8b6b24}.infm-horizontal th:first-child,.infm-horizontal td:first-child{position:sticky;left:0;z-index:3;background:#0b222d;min-width:210px}.infm-horizontal thead th:first-child{z-index:5;background:#12323f}.infm-horizontal td:nth-child(2){min-width:90px}.infm-horizontal td:nth-child(3){min-width:145px}.infm-month-alt{background:#263640!important}.infm-acc{background:#26352d!important;color:#e7d84a!important}.infm-detail-row td{padding:0!important}.infm-detail{padding:14px 18px;background:#06151d;text-align:left;white-space:normal}.infm-detail>strong{display:block;color:#19d8f1;margin-bottom:10px}.infm-detail table{width:100%;border-collapse:collapse}.infm-detail th,.infm-detail td{position:static!important;min-width:0!important;background:transparent!important;padding:8px 10px!important;text-align:left!important}.infm-card .book-footer{margin-top:10px}
@media(max-width:1100px){.infm-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.infm-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.infm-panel{padding:12px}.infm-filters,.infm-summary{grid-template-columns:1fr}}
.infm-filters{grid-template-columns:130px 175px minmax(175px,1fr) 150px 145px 145px 170px minmax(210px,1.2fr)}
.infm-subfilters{display:grid;grid-template-columns:130px 180px minmax(190px,1fr) 145px 145px minmax(210px,1fr);gap:10px;padding:11px;margin:0 0 13px;background:#091c25;border:1px solid #193e4d;border-radius:8px}.infm-subfilters label{display:grid;gap:5px;color:#6da4bd;font-size:11px;font-weight:700;text-transform:uppercase}.infm-subfilters select,.infm-subfilters input{width:100%;height:38px;border:1px solid #285064;border-radius:7px;background:#0b212b;color:#eef8fc;padding:0 11px}
@media(max-width:1100px){.infm-filters,.infm-subfilters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.infm-subfilters{grid-template-columns:1fr}}
.infm-detail>p{margin:3px 0 14px;color:#6e91a3}.infm-cycle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.infm-cycle-card{padding:13px;border:1px solid #244552;border-radius:10px;background:#0b1e28}.infm-cycle-card.above{border-color:#63333d;background:linear-gradient(145deg,#161d27,#121a23)}.infm-cycle-card header{display:flex;justify-content:space-between;gap:10px;margin-bottom:12px;color:#27d8f0;text-transform:uppercase}.infm-cycle-card.above header b{color:#ff586a}.infm-cycle-card.inside header b{color:#31d98a}.infm-cycle-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0}.infm-cycle-card dl div{display:grid;gap:3px}.infm-cycle-card dt{color:#6e8da0;font-size:10px;font-weight:800;text-transform:uppercase}.infm-cycle-card dd{margin:0;color:#f1f7fa;font-size:16px;font-weight:800}
.infm-regional-row{cursor:pointer}.infm-regional-row:hover td{filter:brightness(1.16)}.infm-arrow{display:inline-block;width:18px;color:#23d9ef}.infm-total-row td{border-top:2px solid #20d8ef;background:#12313d!important;font-weight:800}.infm-regional-detail td{padding:0!important;background:#061820!important}.infm-regional-detail>td>div{padding:14px 16px}.infm-regional-detail>td>div>strong{display:block;color:#20d9ef;margin-bottom:10px}.infm-detail-scroll{overflow:auto;border:1px solid #1d3f4c;border-radius:7px}.infm-detail-scroll table{width:max-content;min-width:100%;border-collapse:collapse}.infm-detail-scroll th,.infm-detail-scroll td{position:static!important;min-width:90px!important;padding:8px 10px!important;border-right:1px solid #173845;border-bottom:1px solid #173845;text-align:right;white-space:nowrap}.infm-detail-scroll th:first-child,.infm-detail-scroll td:first-child{text-align:left;min-width:190px!important}.infm-regional-chart{margin-top:18px;padding-top:16px;border-top:1px solid #1c3d49}.infm-chart-title h3{margin:3px 0 12px}.infm-chart-legend{display:flex;gap:18px;margin-bottom:12px;color:#90abb7}.infm-chart-legend span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:6px}.infm-chart-legend .lies:before{background:#22d7ef}.infm-chart-legend .massiva:before{background:#9a74ef}.infm-chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.infm-chart-grid article{padding:12px;border:1px solid #1b3b48;border-radius:9px;background:#091c25}.infm-chart-grid article>strong{display:block;margin-bottom:10px;color:#dcebf1;text-transform:capitalize}.infm-chart-line{display:grid;grid-template-columns:58px 1fr 58px;gap:8px;align-items:center;margin:7px 0;font-size:11px}.infm-chart-line i{display:block;height:9px;border-radius:999px;background:#17333f;overflow:hidden}.infm-chart-line b{display:block;height:100%;border-radius:999px}.infm-chart-line b.lies{background:#22d7ef}.infm-chart-line b.massiva{background:#9a74ef}.infm-chart-line em{text-align:right;font-style:normal;font-weight:800;color:#e5f1f5}
.infm-filters,.infm-subfilters{display:flex;flex-wrap:wrap;align-items:end}.infm-filters label,.infm-subfilters label{flex:1 1 170px;min-width:0}.infm-filters label:nth-child(1),.infm-subfilters label:nth-child(1){flex:0 1 135px}.infm-filters label:nth-child(2),.infm-subfilters label:nth-child(2){flex:0 1 190px}.infm-filters label:nth-child(3),.infm-subfilters label:nth-child(3){flex:2 1 280px}.infm-filters label:nth-child(4){flex:0 1 165px}.infm-filters label:nth-child(5),.infm-filters label:nth-child(6),.infm-subfilters label:nth-child(4),.infm-subfilters label:nth-child(5){flex:0 0 190px;min-width:190px}.infm-filters label:nth-child(7){flex:0 1 180px}.infm-filters label:last-child,.infm-subfilters label:last-child{flex:2 1 260px}.infm-filters input[type="month"],.infm-subfilters input[type="month"]{min-width:190px;box-sizing:border-box;padding-right:10px}
.infm-chart-grid{display:grid;grid-template-columns:1fr;gap:10px;max-height:720px;overflow:auto}.infm-evolution-row{display:grid;grid-template-columns:190px minmax(620px,1fr);align-items:center;padding:10px 14px!important;border:1px solid #1c3e4b!important;border-radius:9px;background:#091c25!important}.infm-evolution-row.total{border-color:#1ebdd3!important;background:#0c2631!important}.infm-evolution-row header{display:grid;gap:5px;padding-right:14px}.infm-evolution-row header strong{color:#e7f2f6;text-transform:none;margin:0!important}.infm-evolution-row header span{color:#7595a4;font-size:11px}.infm-evolution-row svg{width:100%;min-width:620px;height:116px;overflow:visible}.infm-evolution-row svg .axis{stroke:#294854;stroke-width:1}.infm-evolution-row svg polyline{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.infm-evolution-row svg polyline.lies{stroke:#22d7ef}.infm-evolution-row svg polyline.massiva{stroke:#9a74ef}.infm-evolution-row svg circle.lies{fill:#22d7ef}.infm-evolution-row svg circle.massiva{fill:#9a74ef}.infm-evolution-row svg text{fill:#7c9aa8;font-size:10px;text-transform:capitalize}.infm-evolution-values{grid-column:2;display:flex;flex-wrap:wrap;gap:6px 14px;color:#8ba5b1;font-size:10px}.infm-evolution-values span{white-space:nowrap}.infm-evolution-values b{display:none}@media(max-width:900px){.infm-evolution-row{grid-template-columns:1fr;overflow:auto}.infm-evolution-row svg,.infm-evolution-values{grid-column:1}.infm-evolution-row header{position:sticky;left:0;z-index:2;background:#091c25}}
.infm-chart-grid{gap:5px}.infm-evolution-row{grid-template-columns:160px minmax(620px,1fr);min-height:94px;padding:4px 12px!important}.infm-evolution-row header{gap:2px}.infm-evolution-row svg{height:92px}.infm-evolution-row svg polyline{stroke-width:5}.infm-evolution-row svg circle{stroke:#071923;stroke-width:2}.infm-evolution-row svg text.value{font-size:10px;font-weight:800}.infm-evolution-row svg text.value.lies{fill:#22d7ef}.infm-evolution-row svg text.value.massiva{fill:#b59aff}.infm-evolution-row svg text.month{fill:#88a6b3;font-size:9px}
.objectives-panel,.objectives-card,.objectives-layout,.objective-list-wrap,.objective-editor,.objective-months{box-sizing:border-box;min-width:0;max-width:100%}.objectives-panel{width:100%;overflow:hidden}.objectives-card{width:100%;overflow:hidden}.objective-filters{grid-template-columns:minmax(115px,.7fr) minmax(155px,1fr) minmax(190px,1.8fr) minmax(145px,.8fr) minmax(180px,1.4fr);width:100%;box-sizing:border-box}.objective-filters label,.objective-filters select,.objective-filters input{min-width:0;width:100%;box-sizing:border-box}.objective-bulk{grid-template-columns:minmax(175px,1.1fr) minmax(145px,.9fr) repeat(3,minmax(120px,.8fr)) minmax(190px,1.25fr)}.objective-list-wrap{scrollbar-gutter:auto}.objective-months{overflow-x:auto;overflow-y:visible}.objective-editor{overflow-x:hidden;overflow-y:auto}@media(max-width:1500px){.objective-bulk{grid-template-columns:minmax(180px,1fr) repeat(2,minmax(150px,1fr))}.objective-bulk button{min-width:0}.objectives-layout{grid-template-columns:minmax(225px,21%) minmax(0,79%)}}@media(max-width:1150px){.objective-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.objective-filters label:nth-child(3),.objective-filters label:last-child{grid-column:span 2}.objective-bulk{grid-template-columns:repeat(2,minmax(0,1fr))}.objectives-layout{grid-template-columns:1fr}.objective-list-wrap,.objective-editor{max-height:520px}}@media(max-width:700px){.objective-filters,.objective-bulk{grid-template-columns:1fr}.objective-filters label:nth-child(3),.objective-filters label:last-child{grid-column:auto}}
.objectives-active,.objectives-active .main,.objectives-active .module-view{overflow-x:hidden}.objective-list-wrap{overflow-x:hidden;overflow-y:auto}.objective-list{max-width:100%;overflow:hidden}.objective-editor{scrollbar-gutter:auto}.objective-months{margin:0;padding-left:8px;padding-right:8px}.objectives-layout{overflow:hidden}
.objectives-active .module-view{padding-left:0;padding-right:0}.objectives-panel{padding-left:0!important;padding-right:0!important}.objectives-card{border-left:0;border-right:0;border-radius:0;padding-left:14px;padding-right:14px}.objective-bulk{grid-template-columns:180px minmax(180px,1.15fr) minmax(135px,.8fr) minmax(135px,.8fr) minmax(110px,.65fr) minmax(190px,1.1fr);gap:8px;align-items:end}.objective-bulk strong{white-space:nowrap}.objective-bulk label{min-width:0}.objective-bulk button{white-space:nowrap;padding:0 10px}@media(min-width:1101px){.objective-bulk{grid-template-columns:180px minmax(180px,1.15fr) minmax(135px,.8fr) minmax(135px,.8fr) minmax(110px,.65fr) minmax(190px,1.1fr)}}@media(max-width:1100px){.objective-bulk{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.objective-bulk{grid-template-columns:1fr}}
.objective-bulk strong{white-space:normal;line-height:1.12;font-size:.92rem}.objective-bulk button{white-space:normal;line-height:1.12;font-size:.78rem}
.objective-scope-card{margin-top:14px;border:1px solid #27505e;border-radius:9px;background:#091e27;overflow:hidden}.objective-scope-title{display:flex;justify-content:space-between;align-items:end;gap:16px;padding:14px}.objective-scope-title h3{margin:3px 0}.objective-scope-title p{margin:0;color:#7895a0}.objective-scope-actions{display:flex;align-items:end;gap:8px}.objective-scope-actions label{display:grid;gap:4px;color:#7895a0;font-size:.68rem;text-transform:uppercase}.objective-scope-actions select,.objective-scope-actions input,.objective-scope-actions button,.objective-scope-footer button{height:38px;border:1px solid #294c5a;border-radius:6px;background:#0b2029;color:#edf7fa;padding:0 10px}.objective-scope-actions button,.objective-scope-footer button{border-color:#00cce6;background:#00bcd4;color:#001216;font-weight:900;cursor:pointer}.objective-scope-fields{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));gap:8px;padding:12px 14px}.objective-scope-fields label{display:grid;gap:4px;color:#8ba1aa;font-size:.64rem;text-transform:uppercase}.objective-scope-fields input{height:36px;border:1px solid #294c5a;border-radius:6px;background:#0b2029;color:#edf7fa;padding:0 8px}.objective-scope-footer{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:0 14px 14px}.objective-scope-footer span{color:#7edcf0}.objective-scope-footer button{min-width:180px}@media(max-width:1200px){.objective-scope-title{align-items:stretch;flex-direction:column}.objective-scope-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:700px){.objective-scope-actions{align-items:stretch;flex-direction:column}.objective-scope-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
.objective-file-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:760px}.objective-file-actions button{min-height:38px;border:1px solid #00cce6;border-radius:6px;background:#0b2029;color:#7edcf0;padding:7px 12px;font-weight:800;cursor:pointer}.objective-file-actions button:hover{background:#00bcd4;color:#001216}.objective-file-actions button:disabled{opacity:.55;cursor:wait}.objective-file-message{margin:10px 0;padding:10px 12px;border:1px solid #27505e;border-radius:7px;color:#7edcf0;background:#091e27}.objective-file-message.error{border-color:#a84955;color:#ff8b98}@media(max-width:900px){.objectives-toolbar{align-items:flex-start;flex-direction:column}.objective-file-actions{justify-content:flex-start}}
.infm-ranking th:nth-child(4),.infm-ranking td:nth-child(4){text-align:right}
.infm-active,.infm-active .main,.infm-active .module-view{overflow-x:hidden}.infm-active .module-view{width:100%;max-width:none;padding-left:0;padding-right:0}.infm-active .infm-panel{width:100%;padding-left:0;padding-right:0}.infm-active .infm-card{border-left:0;border-right:0;border-radius:0;padding-left:14px;padding-right:14px}
.infm-sort{display:inline-flex;align-items:center;justify-content:inherit;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-transform:uppercase;cursor:pointer;white-space:nowrap}.infm-sort span{color:#5f8291;font-size:12px}.infm-sort:hover,.infm-sort.active,.infm-sort.active span{color:#20d7ef}
.infm-horizontal>thead>tr:nth-child(2)>th{position:static!important;left:auto!important;z-index:auto!important;min-width:92px}.infm-horizontal>thead>tr:first-child>th[rowspan]{min-width:210px;vertical-align:middle}.infm-horizontal>thead>tr:first-child>th[colspan]{text-align:center}
.infm-horizontal tbody tr[data-infm-reader-index]{cursor:pointer}.infm-horizontal tbody tr[data-infm-reader-index]:hover td{background:#10303c!important}.infm-reader-detail-panel{margin-top:14px;padding:14px;border:1px solid #1a4050;border-radius:10px;background:#071720}.infm-reader-detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px;border:1px solid #176078;border-radius:8px;background:#0a2632}.infm-reader-detail-heading h3{margin:3px 0;color:#f1f7f9}.infm-reader-detail-heading p{margin:0;color:#7798a7}.infm-reader-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.infm-reader-detail-summary article{padding:10px;border:1px solid #29434e;border-radius:7px;background:#101e27}.infm-reader-detail-summary span{display:block;color:#7899a8;font-size:10px;font-weight:800;text-transform:uppercase}.infm-reader-detail-summary strong{display:block;margin-top:5px;color:#eef7fa;font-size:18px}.infm-reader-detail-summary article.above{border-color:#73323c}.infm-reader-detail-summary article.above strong{color:#ff5265}.infm-reader-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.infm-reader-tabs button{padding:6px 10px;border:1px solid #31505e;border-radius:16px;background:#0d2029;color:#91a9b4;font-size:11px;font-weight:800;cursor:pointer}.infm-reader-tabs button.active{border-color:#18d6ee;color:#19dcf4;background:#0a303d}.infm-reader-detail-scroll{max-height:360px;overflow:auto;border:1px solid #173946;border-radius:7px}.infm-reader-detail-scroll table{width:100%;border-collapse:collapse}.infm-reader-detail-scroll th,.infm-reader-detail-scroll td{padding:8px 10px;border-bottom:1px solid #16313c;text-align:right}.infm-reader-detail-scroll th{position:sticky;top:0;background:#102630;color:#7fa5b5;font-size:10px;text-transform:uppercase}.infm-reader-detail-scroll th:first-child,.infm-reader-detail-scroll td:first-child,.infm-reader-detail-scroll th:nth-child(2),.infm-reader-detail-scroll td:nth-child(2){text-align:left}@media(max-width:800px){.infm-reader-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.infm-reader-detail-heading{display:grid}}
.infm-impediment-table th:nth-child(5),.infm-impediment-table td:nth-child(5){text-align:left!important;min-width:680px;white-space:normal;line-height:1.35}

/* Mantém os filtros INFM dentro da largura útil, inclusive os controles de data nativos. */
.infm-filters,.infm-subfilters{box-sizing:border-box;max-width:100%}
.infm-filters label,.infm-subfilters label{min-width:0!important}
.infm-filters select,.infm-filters input,.infm-subfilters select,.infm-subfilters input{
  box-sizing:border-box;min-width:0!important;max-width:100%;width:100%
}
@media(min-width:1101px){
  .infm-filters{
    display:grid!important;
    grid-template-columns:minmax(95px,120px) minmax(115px,150px) minmax(180px,1fr) minmax(120px,140px) minmax(125px,150px) minmax(125px,150px)!important
  }
  .infm-filters label{flex:none!important}
  .infm-filters label:nth-child(7){grid-column:1}
  .infm-filters label:last-child{grid-column:2 / -1}
}

@media(min-width:1101px){
  .infm-subfilters{
    display:grid!important;
    grid-template-columns:minmax(95px,110px) minmax(125px,155px) minmax(180px,1fr) minmax(125px,145px) minmax(125px,150px) minmax(125px,150px) minmax(190px,1.15fr)!important
  }
  .infm-subfilters label{flex:none!important;min-width:0!important}
}
.recurrence-panel{width:100%;padding:24px;min-width:0}.recurrence-panel[hidden]{display:none}.recurrence-card{padding:16px;border:1px solid #183d4b;border-radius:12px;background:#071923}.recurrence-title,.recurrence-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.recurrence-title h2,.recurrence-detail-head h3{margin:3px 0;color:#f1f7fa}.recurrence-title p,.recurrence-detail-head p{margin:0;color:#7897a5}.recurrence-rule{padding:7px 11px;border:1px solid #17bfd7;border-radius:18px;color:#20d7ef;font-size:11px;font-weight:800}.recurrence-filters{display:flex;align-items:end;flex-wrap:wrap;gap:9px;margin:14px 0;padding:12px;border:1px solid #1b4351;border-radius:9px;background:#0a202a}.recurrence-filters label{display:grid;flex:1 1 155px;gap:5px;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.recurrence-filters label:nth-child(3),.recurrence-filters label:last-child{flex:2 1 250px}.recurrence-filters select,.recurrence-filters input{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}.recurrence-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:12px}.recurrence-summary article{padding:12px;border:1px solid #214855;border-radius:8px;background:#0b212b}.recurrence-summary span{display:block;color:#7399a9;font-size:10px;font-weight:800;text-transform:uppercase}.recurrence-summary strong{display:block;margin-top:5px;color:#20d7ef;font-size:22px}.recurrence-summary article:nth-child(2) strong{color:#ff5265}.recurrence-table-wrap{max-height:520px;overflow:auto;border:1px solid #1a3c49;border-radius:8px}.recurrence-table{width:100%;min-width:1180px;border-collapse:collapse}.recurrence-table th,.recurrence-table td{padding:9px 11px;border-right:1px solid #173845;border-bottom:1px solid #173845;text-align:right;white-space:nowrap}.recurrence-table th{position:sticky;top:0;z-index:2;background:#102c38;color:#7fb3c8;font-size:10px;text-transform:uppercase}.recurrence-table th:nth-child(-n+4),.recurrence-table td:nth-child(-n+4){text-align:left}.recurrence-table tbody tr{cursor:pointer}.recurrence-table tbody tr:hover td{background:#10303c}.recurrence-status{display:inline-block;padding:4px 8px;border:1px solid;border-radius:12px;font-size:9px;font-weight:850}.recurrence-status.active{color:#ff5265;border-color:#c43d4e}.recurrence-status.history{color:#f2c44f;border-color:#8d7029}.recurrence-detail{margin-top:14px;padding:14px;border:1px solid #1d4554;border-radius:9px;background:#081a23}.recurrence-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-top:12px}.recurrence-months article{display:grid;gap:5px;padding:10px;border:1px solid #24505e;border-left:4px solid #24cce4;border-radius:7px;background:#0b222c}.recurrence-months article.break{margin-left:8px;border-left-color:#f2bd43}.recurrence-months span{color:#81a4b3;text-transform:capitalize}.recurrence-months strong{color:#edf7fa}.recurrence-months small{color:#708e9b}.recurrence-panel,.recurrence-panel *{box-sizing:border-box}@media(max-width:800px){.recurrence-panel{padding:12px}.recurrence-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.recurrence-title,.recurrence-detail-head{display:grid}}
.recurrence-analytics{margin-top:18px;padding-top:16px;border-top:1px solid #1b4250}.recurrence-section-title{margin-bottom:11px}.recurrence-section-title h3{margin:3px 0;color:#eff7fa}.recurrence-section-title p{margin:0;color:#7896a3}.recurrence-ranking-table{min-width:760px}.recurrence-horizontal{width:max-content;min-width:100%}.recurrence-horizontal thead tr:first-child th{text-align:center}.recurrence-horizontal thead tr:nth-child(2) th{position:static;min-width:92px}.recurrence-horizontal th:first-child,.recurrence-horizontal td:first-child{min-width:220px;text-align:left}.recurrence-month-alt{background:#293943!important}.recurrence-acc{background:#26362e!important;color:#e7d84a!important}
.recurrence-horizontal tbody tr[data-recurrence-regional]{cursor:pointer}.recurrence-horizontal tbody tr[data-recurrence-regional]:hover td{filter:brightness(1.18)}.recurrence-expand-marker{display:inline-block;margin-right:9px;color:#15d9f4;font-size:17px}.recurrence-total-row td{font-weight:800;border-top:2px solid #18d6ec;background:#123845}.recurrence-regional-detail{margin-top:14px;padding:14px;border:1px solid #1b5060;border-radius:10px;background:#061b24}.recurrence-detail-close{align-self:center;border:1px solid #287084;border-radius:7px;background:#0c2b36;color:#c8e8f0;padding:7px 12px;cursor:pointer}.recurrence-regional-scroll{max-height:430px;overflow:auto;border:1px solid #174654;border-radius:8px;margin-top:12px}.recurrence-regional-scroll table{width:100%;min-width:1120px;border-collapse:collapse}.recurrence-regional-scroll th,.recurrence-regional-scroll td{padding:9px 10px;border-bottom:1px solid #153e4b;text-align:left;vertical-align:top}.recurrence-regional-scroll th{position:sticky;top:0;z-index:1;background:#103441;color:#70b9d0;text-transform:uppercase;font-size:11px}.recurrence-regional-scroll td{color:#c2d5dc}.recurrence-regional-scroll td:nth-child(2),.recurrence-regional-scroll td:nth-child(3),.recurrence-regional-scroll td:nth-child(6){white-space:nowrap}.recurrence-code-description{min-width:420px;white-space:normal!important;text-align:left!important;line-height:1.35}.recurrence-limit-note{margin:9px 2px 0;color:#d6b954;font-size:12px}
.recurrence-detail-buttons,.recurrence-detail-actions{display:flex;align-items:end;gap:8px}.recurrence-detail-actions label{display:grid;gap:4px;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.recurrence-detail-actions select{height:36px;padding:0 10px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}.recurrence-classification{display:inline-block;padding:3px 7px;border:1px solid;border-radius:11px;font-size:9px;font-weight:850}.recurrence-classification.infm{color:#35e598;border-color:#248d66}.recurrence-classification.other{color:#efc958;border-color:#8d7029}@media(max-width:800px){.recurrence-detail-buttons,.recurrence-detail-actions{align-items:stretch;flex-direction:column}}
.collaborators-panel{width:100%;padding:24px}.collaborators-card{padding:18px;border:1px solid #1b4655;border-radius:12px;background:#071c25}.collaborators-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.collaborators-head h2{margin:4px 0;color:#f1f7fa}.collaborators-head p{margin:0;color:#7da1af}.collaborators-total{padding:10px 14px;border:1px solid #1bc6df;border-radius:8px;color:#22d9ef;font-weight:800}.collaborators-filters{display:flex;gap:10px;margin:16px 0}.collaborators-filters label{display:grid;gap:5px;min-width:220px;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.collaborators-filters label:last-child{flex:1}.collaborators-filters select,.collaborators-filters input{height:40px;padding:0 11px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}.collaborators-table-wrap{max-height:570px;overflow:auto;border:1px solid #1a4350;border-radius:8px}.collaborators-table-wrap table{width:100%;min-width:1550px;border-collapse:collapse}.collaborators-table-wrap th,.collaborators-table-wrap td{padding:9px 11px;border-right:1px solid #173845;border-bottom:1px solid #173845;text-align:left;white-space:nowrap}.collaborators-table-wrap th{position:sticky;top:0;z-index:2;background:#10303d;color:#77bfd5;font-size:10px;text-transform:uppercase}.collaborators-table-wrap td{color:#c8dbe2}.collaborators-table-wrap tbody tr:hover td{background:#0e2b36}@media(max-width:800px){.collaborators-panel{padding:12px}.collaborators-head,.collaborators-filters{display:grid}.collaborators-filters label{min-width:0}}
.collaborators-actions{display:flex;align-items:center;gap:10px}@media(max-width:800px){.collaborators-actions{justify-content:space-between;flex-wrap:wrap}}
.recurrence-ranking-table tbody tr[data-recurrence-collaborator]{cursor:pointer}.recurrence-chart-section{margin-top:18px;padding-top:15px;border-top:1px solid #1b4250}.recurrence-chart-section h3{margin:3px 0 12px;color:#eff7fa}.recurrence-lines{display:grid;gap:9px;max-height:620px;overflow:auto}.recurrence-lines article{display:grid;grid-template-columns:170px minmax(680px,1fr);align-items:center;min-height:105px;padding:7px 12px;border:1px solid #1b4b59;border-radius:9px;background:#08202a}.recurrence-lines article.contract{border-color:#18d6ec;background:#0b2b36}.recurrence-lines article>strong{color:#e9f5f8}.recurrence-lines svg{width:100%;height:105px;overflow:visible}.recurrence-lines svg text{fill:#93b2be;font-size:10px;font-weight:700}.recurrence-lines svg text:first-of-type{fill:#eaf8fb}@media(max-width:800px){.recurrence-lines article{grid-template-columns:1fr;overflow:auto}.recurrence-lines svg{min-width:700px}}
.recurrence-chart-filters{display:grid;grid-template-columns:minmax(160px,1fr) minmax(145px,.75fr) minmax(145px,.75fr) minmax(145px,.75fr) auto;gap:9px;align-items:end;margin:10px 0 14px;padding:11px;border:1px solid #1b4351;border-radius:9px;background:#0a202a}.recurrence-chart-filters label{display:grid;gap:5px;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.recurrence-chart-filters select,.recurrence-chart-filters input{width:100%;min-width:0;height:38px;padding:0 10px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}.recurrence-chart-filters button{height:38px;padding:0 16px;border:1px solid #17bfd7;border-radius:7px;background:#0a3440;color:#22def6;font-weight:800;cursor:pointer}@media(max-width:900px){.recurrence-chart-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.recurrence-chart-filters button{grid-column:span 2}}
.occurrence-pct{color:#ff5265!important;font-weight:800}.recurrence-table #recurrenceMainHead tr:nth-child(2) th{position:sticky;top:35px;z-index:3;background:#183d4b}.recurrence-table #recurrenceMainHead th[title]{min-width:72px}.recurrence-table #recurrenceMainHead th:nth-child(-n+5){text-align:center}
.penalties-panel{padding:24px;width:100%;box-sizing:border-box}.penalties-panel[hidden]{display:none}.penalties-head,.penalties-filters,.penalties-metrics,.penalties-table-wrap{border:1px solid #1d4654;border-radius:10px;background:#071c25}.penalties-head{padding:16px}.penalties-head span{color:#19d7ef;font-size:11px;font-weight:800}.penalties-head h2{margin:4px 0;color:#f2f8fa}.penalties-head p{margin:0;color:#7d9ba7}.penalties-filters{display:grid;grid-template-columns:180px 220px 1fr;gap:10px;margin:12px 0;padding:12px}.penalties-filters label{display:grid;gap:5px;color:#76a6b8;font-size:10px;font-weight:800;text-transform:uppercase}.penalties-filters select,.penalties-filters input{height:38px;border:1px solid #285565;border-radius:7px;background:#0a222c;color:#eef8fa;padding:0 10px}.penalties-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:10px;margin-bottom:12px}.penalties-metrics article{padding:12px;border:1px solid #24505e;border-radius:8px}.penalties-metrics span{display:block;color:#78a1b1;font-size:10px;text-transform:uppercase}.penalties-metrics strong{display:block;margin-top:5px;color:#20d7ef;font-size:22px}.penalties-table-wrap{max-height:420px;overflow:auto}.penalties-table-wrap table{width:100%;min-width:850px;border-collapse:collapse}.penalties-table-wrap.details table{min-width:1450px}.penalties-table-wrap th,.penalties-table-wrap td{padding:9px;border-bottom:1px solid #173d49;text-align:left}.penalties-table-wrap th{position:sticky;top:0;background:#10303b;color:#79b4c8;font-size:10px;text-transform:uppercase}.penalties-table-wrap td{color:#c9dce2}.penalties-panel>h3{color:#edf7fa}
.objective-month{min-width:1320px}.objective-month>div{grid-template-columns:repeat(13,minmax(88px,1fr))}
.ptm-panel{padding:22px;min-width:0}.ptm-card{padding:18px;border:1px solid #1d4654;border-radius:10px;background:#071d26;min-width:0}.ptm-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.ptm-title h2{margin:4px 0}.ptm-title p{margin:0;color:#77a0af}.ptm-title button,.ptm-filters button{height:40px;padding:0 18px;border:1px solid #18cf78;border-radius:7px;background:#073a2b;color:#55efa1;font-weight:900;cursor:pointer}.ptm-filters{display:grid;grid-template-columns:150px 220px 180px minmax(230px,1fr) 130px;gap:9px;align-items:end;margin:16px 0;padding:12px;border:1px solid #24505e;border-radius:8px;background:#09212b}.ptm-filters label{display:grid;gap:5px;color:#75a9bb;font-size:10px;font-weight:800;text-transform:uppercase}.ptm-filters select,.ptm-filters input{height:40px;min-width:0;padding:0 10px;border:1px solid #285565;border-radius:7px;background:#0a222c;color:#eef8fa}.ptm-filters button{border-color:#12bfd7;background:#0d9fb4;color:#001519}.ptm-message{padding:10px;color:#78bed0}.ptm-summary{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:10px 0}.ptm-summary article{padding:12px;border:1px solid #24505e;border-radius:8px;background:#0a2732}.ptm-summary span{display:block;color:#75a9bb;font-size:10px;text-transform:uppercase}.ptm-summary strong{display:block;margin-top:4px;color:#1bdcf2;font-size:20px}.ptm-scroll{max-width:100%;max-height:620px;overflow:auto;border:1px solid #24505e;border-radius:8px}.ptm-scroll table{width:max-content;min-width:100%;border-collapse:collapse}.ptm-scroll th,.ptm-scroll td{min-width:115px;padding:9px;border-right:1px solid #173d49;border-bottom:1px solid #173d49;white-space:nowrap}.ptm-scroll th{position:sticky;top:0;z-index:2;background:#123744;color:#79bed3;font-size:10px;text-transform:uppercase}.ptm-scroll th:first-child,.ptm-scroll td:first-child{position:sticky;left:0;z-index:1;min-width:220px;background:#0b2731}.ptm-scroll th:first-child{z-index:3;background:#123744}.ptm-scroll td{color:#cce6ed}.ptm-scroll td small{display:block;margin-top:3px;color:#7ea5b2}.ptm-ok{color:#53e69a!important}.ptm-fail{color:#ff5366!important}.ptm-payment{background:#102f28!important;color:#61f0a8!important;font-size:16px;font-weight:900}@media(max-width:900px){.ptm-panel{padding:10px}.ptm-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ptm-summary{grid-template-columns:repeat(2,1fr)}}
.ptm-filters{grid-template-columns:130px 190px 165px 150px 150px minmax(210px,1fr) 120px}.ptm-title-actions{display:flex;gap:8px}.ptm-title-actions #ptmConsolidate{border-color:#f2b93f;background:#3b2b08;color:#ffd66f}.ptm-title-actions button:disabled{opacity:.4;cursor:not-allowed}.ptm-scroll td button{padding:6px 10px;border:1px solid #16bad1;border-radius:6px;background:#0b3340;color:#2adcf2;font-weight:800}.ptm-contest-status{border-color:#f0b83e!important;color:#ffd46b!important}.ptm-lock{color:#ffd46b;font-weight:900}.ptm-dialog{width:min(620px,92vw);padding:0;border:1px solid #2a5b69;border-radius:10px;background:#071d26;color:#e9f6f9}.ptm-dialog::backdrop{background:rgba(0,7,10,.78)}.ptm-dialog form>header{display:flex;justify-content:space-between;align-items:center;padding:14px;border-bottom:1px solid #234854}.ptm-dialog h3{margin:0}.ptm-dialog header button{border:0;background:transparent;color:#a8cbd5;font-size:24px}.ptm-dialog #ptmDialogBody{display:grid;gap:12px;padding:16px}.ptm-dialog fieldset{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;border:1px solid #28505e}.ptm-dialog label{display:grid;gap:5px}.ptm-dialog textarea{padding:10px;border:1px solid #285565;border-radius:7px;background:#0a222c;color:#eef8fa;resize:vertical}.ptm-dialog blockquote{margin:0;padding:12px;border-left:3px solid #20cde5;background:#0a2732}.ptm-dialog menu{display:flex;justify-content:flex-end;gap:8px;padding:12px 16px;border-top:1px solid #234854}.ptm-dialog menu button{padding:9px 16px;border:1px solid #285565;border-radius:7px;background:#0b2833;color:#d9edf2}.ptm-dialog menu #ptmDialogConfirm{background:#0e9fb5;color:#00171b;font-weight:900}@media(max-width:1200px){.ptm-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:700px){.ptm-title{align-items:stretch;flex-direction:column}.ptm-title-actions{flex-wrap:wrap}.ptm-filters{grid-template-columns:1fr}.ptm-dialog fieldset{grid-template-columns:1fr}}
.ptm-history{margin-top:24px;padding-top:20px;border-top:1px solid #24505e}.ptm-history h3{margin:4px 0;color:#f1f9fb}.ptm-history-filters{display:grid;grid-template-columns:minmax(260px,2fr) minmax(190px,1fr) 170px;gap:10px;align-items:end;margin:15px 0}.ptm-history-filters label{display:grid;gap:5px;color:#75a9bb;font-size:10px;font-weight:800;text-transform:uppercase}.ptm-history-filters select,.ptm-history-filters button{height:40px;padding:0 11px;border:1px solid #285565;border-radius:7px;background:#0a222c;color:#eef8fa}.ptm-history-filters button{border-color:#12bfd7;background:#0d9fb4;color:#001519;font-weight:900}.ptm-history-scroll{max-height:430px}.ptm-history-scroll th:first-child,.ptm-history-scroll td:first-child{min-width:145px}.ptm-history-scroll tr.ptm-history-paid td{background-color:#0b2d28}.ptm-history-scroll tr.ptm-history-unpaid td{background-color:#2b1820}@media(max-width:700px){.ptm-history-filters{grid-template-columns:1fr}}
.ptm-sort{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left;text-transform:uppercase;cursor:pointer;white-space:nowrap}.ptm-sort span{color:#638c9b;font-size:12px}.ptm-sort:hover,.ptm-sort.active,.ptm-sort.active span{color:#20daf1}
.books-card{position:relative}.books-excel{position:absolute;top:18px;right:18px;height:40px;padding:0 18px;border:1px solid #18cf78;border-radius:7px;background:#073a2b;color:#55efa1;font-weight:900;cursor:pointer}.books-excel:hover{filter:brightness(1.15)}
.icel-sort{display:inline-flex;align-items:center;justify-content:flex-start;gap:5px;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:800;text-align:left;text-transform:uppercase;cursor:pointer;white-space:nowrap}.icel-sort span{color:#638c9b;font-size:12px}.icel-sort:hover,.icel-sort.active,.icel-sort.active span{color:#20daf1}
.icel-person{display:inline-flex;align-items:center;gap:8px;padding:0;border:0;background:transparent;color:#eefbff;font:inherit;font-weight:800;cursor:pointer}.icel-person span{color:#20d7ef}.icel-person:hover{color:#20d7ef}.icel-detail-row>td{padding:0!important;background:#06171e!important}.icel-detail-box{padding:16px 20px;border-left:3px solid #20d7ef}.icel-detail-box h4{margin:0 0 12px;color:#20d7ef}.icel-detail-box>div{max-height:360px;overflow:auto;border:1px solid #24505e;border-radius:7px}.icel-detail-box table{width:100%;min-width:900px}.icel-detail-box th{position:sticky;top:0;z-index:1;background:#123744}.icel-detail-box td,.icel-detail-box th{padding:9px;border:1px solid #173d49;white-space:nowrap}
.collaborator-transmission{margin-top:16px;padding:20px;border:1px solid var(--line);border-radius:12px;background:#06131a}.collaborator-transmission-header{display:flex;justify-content:space-between;align-items:end;gap:18px;padding-bottom:15px;border-bottom:1px solid #132731}.collaborator-transmission-header h2{margin:4px 0;font-size:19px}.collaborator-transmission-header p{margin:0;color:#647d88;font-size:12px}.collaborator-transmission-header label{display:grid;gap:5px;min-width:280px;color:#708893;font-size:10px;font-weight:800;text-transform:uppercase}.collaborator-transmission-header input{height:38px;padding:0 11px;border:1px solid #24414d;border-radius:7px;background:#0b1e27;color:#dce7eb}.collaborator-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:15px}.collaborator-chart{min-width:0;padding:14px;border:1px solid #17333e;border-radius:10px;background:#081820}.collaborator-chart.lies{border-top:3px solid #21d8ef}.collaborator-chart.massiva{border-top:3px solid #a48cff}.collaborator-chart-title{display:flex;justify-content:space-between;align-items:start;gap:12px;padding-bottom:12px}.collaborator-chart-title span{color:#21d8ef;font-size:10px;font-weight:900;letter-spacing:.8px}.collaborator-chart.massiva .collaborator-chart-title span{color:#a48cff}.collaborator-chart-title h3{margin:3px 0 0;color:#e4eef2;font-size:15px}.collaborator-chart-title>strong{color:#78919c;font-size:10px;text-align:right}.collaborator-chart-rows{display:grid;gap:7px;max-height:700px;overflow:auto;padding-right:4px}.collaborator-evolution-row{display:grid;grid-template-columns:150px minmax(380px,1fr);gap:5px 10px;align-items:center;padding:9px 10px;border:1px solid #15323d;border-radius:8px;background:#091c25}.collaborator-evolution-row header{min-width:0}.collaborator-evolution-row header strong{display:block;overflow:hidden;color:#e4eef2;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.collaborator-evolution-row header span{display:block;margin-top:4px;color:#718b96;font-size:9px}.collaborator-evolution-row svg{width:100%;min-width:380px;height:112px;overflow:visible}.collaborator-evolution-row svg .axis{stroke:#1c3945;stroke-width:1}.collaborator-evolution-row svg text{fill:#617e8a;font-size:7px}.collaborator-evolution-row svg .axis-label{font-size:6px}.collaborator-evolution-row svg polyline{fill:none;stroke:#21d8ef;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.collaborator-chart.massiva .collaborator-evolution-row svg polyline{stroke:#a48cff}.collaborator-evolution-row svg circle{fill:#21d8ef;stroke:#071820;stroke-width:2}.collaborator-chart.massiva .collaborator-evolution-row svg circle{fill:#a48cff}.collaborator-evolution-row svg circle.has-pending{fill:#ef5964}.collaborator-evolution-row dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:0;padding-top:7px;border-top:1px solid #15323d}.collaborator-evolution-row dl div{display:flex;justify-content:space-between;gap:6px}.collaborator-evolution-row dt{color:#6f8791;font-size:8px}.collaborator-evolution-row dd{margin:0;color:#dbe8ed;font-size:9px;font-weight:850}.collaborator-evolution-row dd.pending{color:#ef5964}.collaborator-chart-legend{display:flex;flex-wrap:wrap;gap:18px;margin-top:12px;color:#748e99;font-size:10px}.collaborator-chart-legend span{display:flex;align-items:center;gap:6px}.collaborator-chart-legend i{width:9px;height:9px;border-radius:50%}.collaborator-chart-legend i.executed{background:#21d8ef}.collaborator-chart-legend i.pending{background:#ef5964}@media(max-width:1300px){.collaborator-chart-grid{grid-template-columns:1fr}.collaborator-chart-rows{max-height:600px}}@media(max-width:760px){.collaborator-transmission-header{align-items:stretch;flex-direction:column}.collaborator-transmission-header label{min-width:0}.collaborator-evolution-row{grid-template-columns:125px minmax(380px,1fr);overflow:auto}.collaborator-evolution-row dl{position:sticky;left:0;min-width:505px}}
.collaborator-filters{display:grid;grid-template-columns:220px 220px 220px minmax(220px,1fr) auto;gap:12px;align-items:end;margin:15px 0;padding:14px;border:1px solid #17333e;border-radius:9px;background:#081820}.collaborator-filters label{display:grid;gap:6px;color:#79a0b0;font-size:10px;font-weight:850;text-transform:uppercase}.collaborator-filters select{width:100%;height:42px;padding:0 12px;border:1px solid #285061;border-radius:7px;background:#0b222c;color:#e4f0f4;font-weight:750}.collaborator-filters button{height:42px;padding:0 20px;border:1px solid #18bed5;border-radius:7px;background:#0a3440;color:#22def6;font-weight:850;cursor:pointer}.collaborator-transmission-summary{margin:10px 0;color:#78939e;font-size:11px}.collaborator-transmission-rows{display:grid;gap:12px;max-height:1000px;overflow:auto;padding-right:4px}.collaborator-group{overflow:hidden;border:1px solid #173640;border-radius:10px;background:#071820}.collaborator-group>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 16px;border-bottom:1px solid #173640;background:#0a2029}.collaborator-group>header h3{margin:3px 0;color:#edf6f8;font-size:15px}.collaborator-group>header p{margin:0;color:#78929d;font-size:10px}.collaborator-group>header>strong{color:#efc34b;font-size:11px}.collaborator-stage-list{display:grid;gap:8px;padding:10px}.collaborator-stage-card{overflow:hidden;border:1px solid #15323d;border-radius:8px;background:#091c25}.collaborator-stage-summary{display:grid;grid-template-columns:70px minmax(0,1fr) 28px;gap:14px;align-items:center;width:100%;padding:12px 14px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.collaborator-stage-number span{display:block;color:#708892;font-size:8px;font-weight:850}.collaborator-stage-number strong{display:block;margin-top:4px;color:#f0f7f9;font-size:21px}.collaborator-stage-lines{display:grid;gap:8px}.collaborator-stage-line{display:grid;grid-template-columns:70px minmax(180px,1fr) 62px 285px;gap:10px;align-items:center}.collaborator-stage-line>strong{color:#21d8ef;font-size:10px}.collaborator-stage-line.massiva>strong{color:#a48cff}.collaborator-stage-track{height:11px;overflow:hidden;border-radius:8px;background:#162d37}.collaborator-stage-track i{display:block;height:100%;border-radius:8px;background:#35d78a}.collaborator-stage-line.massiva .collaborator-stage-track i{background:#4b8cff}.collaborator-stage-line>b{color:#e5f1f4;font-size:11px;text-align:right}.collaborator-stage-line>span{color:#718a95;font-size:9px;white-space:nowrap;text-align:right}.collaborator-stage-line em{color:#dae9ed;font-size:11px;font-style:normal;font-weight:850}.collaborator-stage-line em.pending{color:#ef5964}.collaborator-books{padding:0 14px 14px;border-top:1px solid #173640;background:#06151c}.collaborator-books table{min-width:1000px}.collaborator-books th{text-align:center}.collaborator-books th:first-child,.collaborator-books th:nth-child(2),.collaborator-books td:first-child,.collaborator-books td:nth-child(2){text-align:left}.book-progress{color:#21d8ef}.book-progress.massiva{color:#a48cff}@media(max-width:1200px){.collaborator-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.collaborator-filters button{grid-column:span 2}.collaborator-stage-line{grid-template-columns:65px minmax(160px,1fr) 58px 250px}}@media(max-width:760px){.collaborator-filters{grid-template-columns:1fr}.collaborator-filters button{grid-column:auto}.collaborator-stage-summary{grid-template-columns:55px minmax(620px,1fr) 28px;overflow:auto}.collaborator-stage-line{grid-template-columns:65px minmax(180px,1fr) 58px 250px}}
.collaborator-filters{grid-template-columns:125px 170px 165px minmax(190px,1fr) 120px 150px 155px auto}@media(max-width:1550px){.collaborator-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.collaborator-filters button{grid-column:span 4}}@media(max-width:1000px){.collaborator-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.collaborator-filters button{grid-column:span 2}}@media(max-width:760px){.collaborator-filters{grid-template-columns:1fr}.collaborator-filters button{grid-column:auto}}
.geo-map,.geo-correct{display:inline-block;margin:2px;padding:5px 8px;border:1px solid #1689a1;border-radius:6px;background:#092631;color:#67d9ec;font:inherit;font-weight:800;text-decoration:none;cursor:pointer;white-space:nowrap}.geo-correct{border-color:#c49332;color:#f2c45e}.collaborators-table-wrap th,.collaborators-table-wrap td{white-space:nowrap}
.turnover-panel{width:100%;padding:24px;min-width:0}.turnover-card{display:grid;gap:16px;padding:20px;border:1px solid #1b4655;border-radius:12px;background:#071c25}.turnover-head,.turnover-section-title{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.turnover-head h2,.turnover-section-title h3{margin:4px 0;color:#f1f7fa}.turnover-head p,.turnover-section-title p{margin:0;color:#7da1af}.turnover-actions{display:flex;gap:8px}.turnover-actions button{height:40px;padding:0 16px;border:1px solid #19bad2;border-radius:7px;background:#0b303b;color:#d8f8fc;font-weight:800}.turnover-actions .export-excel{border-color:#17c875;background:#073a2b;color:#5af0a5}.turnover-filters{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:10px;padding:13px;border:1px solid #1a4350;border-radius:9px;background:#08232d}.turnover-filters label{display:grid;gap:5px;color:#75a2b5;font-size:10px;font-weight:800;text-transform:uppercase}.turnover-filters select,.turnover-filters input{height:40px;padding:0 11px;border:1px solid #295264;border-radius:7px;background:#0b222c;color:#edf7fa}.turnover-rule,.turnover-quality{margin:0;padding:11px 13px;border:1px solid #594f25;border-radius:8px;background:#242313;color:#cfbf72}.turnover-metrics{display:grid;grid-template-columns:repeat(5,minmax(150px,1fr));gap:10px}.turnover-metrics article{padding:14px;border:1px solid #245264;border-radius:9px;background:#0a2732}.turnover-metrics span{display:block;color:#78a8b9;font-size:10px;font-weight:800;text-transform:uppercase}.turnover-metrics strong{display:block;margin-top:5px;color:#14d5ee;font-size:24px}.turnover-metrics small{display:block;margin-top:4px;color:#7da1af}.turnover-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:14px}.turnover-grid>section,.turnover-table-section{padding:14px;border:1px solid #1a4350;border-radius:9px;background:#081f29}.turnover-chart{height:285px;overflow-x:auto}.turnover-chart svg{display:block;width:100%;min-width:720px;height:280px}.turnover-chart .axis{stroke:#315967}.turnover-chart .bar{fill:#28c8df}.turnover-chart .line{fill:none;stroke:#efbc42;stroke-width:3}.turnover-chart .dot{fill:#efbc42}.turnover-chart text{fill:#86b5c4;font-size:11px}.turnover-chart .value{fill:#d9f5fa;font-weight:700}.turnover-center-chart{display:grid;gap:9px;padding-top:14px}.turnover-center-chart>div{display:grid;grid-template-columns:minmax(120px,1fr) 2fr 45px;gap:8px;align-items:center;color:#c9e1e8}.turnover-center-chart i{height:15px;overflow:hidden;border-radius:8px;background:#12323d}.turnover-center-chart b{display:block;height:100%;background:#29c9df}.turnover-table-wrap{overflow:auto;border:1px solid #1a4350;border-radius:8px}.turnover-table-wrap table{width:100%;min-width:900px;border-collapse:collapse}.turnover-table-wrap th,.turnover-table-wrap td{padding:10px;border-right:1px solid #173845;border-bottom:1px solid #173845;text-align:right;white-space:nowrap}.turnover-table-wrap th:first-child,.turnover-table-wrap td:first-child{text-align:left}.turnover-table-wrap th{background:#10303d;color:#77bfd5;font-size:10px;text-transform:uppercase}.turnover-table-wrap td{color:#c8dbe2}.turnover-rate{display:inline-block;padding:4px 8px;border:1px solid #6c5b26;border-radius:999px;background:#2b2817;color:#f3c64e;font-weight:800}.turnover-quality{border-color:#285164;background:#092732;color:#83b9ca}@media(max-width:1050px){.turnover-metrics{grid-template-columns:repeat(2,1fr)}.turnover-grid{grid-template-columns:1fr}}@media(max-width:700px){.turnover-panel{padding:10px}.turnover-head,.turnover-section-title,.turnover-actions{display:grid}.turnover-filters,.turnover-metrics{grid-template-columns:1fr}}
#gateBookSummaryHead tr:first-child th{top:0;z-index:7;height:34px}#gateBookSummaryHead tr:nth-child(2) th{top:34px;z-index:6}#gateBookSummaryHead tr:first-child th:first-child{left:0;z-index:9}#gateBookSummaryRows>tr>td:first-child{position:sticky;left:0;z-index:5;background:#0b202a}.gate-book-regional-detail th{position:sticky!important;top:0;z-index:5;background:#102b37!important}.gate-book-regional-detail thead tr:nth-child(2) th{top:34px}.gate-book-regional-detail th:first-child,.gate-book-regional-detail td:first-child{position:sticky!important;left:0;z-index:6}.gate-book-regional-detail thead tr:first-child th:first-child{z-index:8}.gate-book-regional-detail thead tr:nth-child(2) th:first-child{z-index:7}.gate-book-regional-detail tbody td:first-child{background:#0b2631!important}

/* Cabeçalhos e colunas congelados das grades de livros. */
#gateBookSummaryHead tr:first-child th,
#gateBookReaderHead tr:first-child th{top:0;height:36px;box-sizing:border-box;z-index:8;background:#102b37}
#gateBookSummaryHead tr:nth-child(2) th,
#gateBookReaderHead tr:nth-child(2) th{top:36px;height:34px;box-sizing:border-box;z-index:7;background:#10242f}
#gateBookSummaryHead th[rowspan="2"],
#gateBookReaderHead th[rowspan="2"]{top:0;height:70px;vertical-align:middle;z-index:10}
#gateBookReaderHead tr:first-child th:first-child{left:0;z-index:12}
#gateBookReaderHead tr:first-child th:nth-child(2){position:sticky;left:190px;z-index:11}
#gateBookReaderRows>tr.gate-book-reader-row>td:first-child{position:sticky;left:0;z-index:5;background:#0b202a}
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(2){position:sticky;left:190px;z-index:4;background:#0b202a}

/* Alternância visual mensal: cinza suave e cor original. */
#gateBookSummaryHead tr:first-child th:nth-child(even),
#gateBookSummaryHead tr:nth-child(2) th:nth-child(4n+1),
#gateBookSummaryHead tr:nth-child(2) th:nth-child(4n+2),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(4n+2),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(4n+3){background:#263842}
#gateBookReaderHead tr:first-child th:nth-child(odd):not(:first-child),
#gateBookReaderHead tr:nth-child(2) th:nth-child(4n+1),
#gateBookReaderHead tr:nth-child(2) th:nth-child(4n+2),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(4n+3),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(4n+4){background:#263842}
.gate-book-regional-detail thead tr:first-child th:nth-child(even),
.gate-book-regional-detail thead tr:nth-child(2) th:nth-child(4n+2),
.gate-book-regional-detail thead tr:nth-child(2) th:nth-child(4n+3),
.gate-book-regional-detail tbody td:nth-child(4n+2),
.gate-book-regional-detail tbody td:nth-child(4n+3){background:#263842!important}

/* Geometria determinística: impede sobreposição das colunas congeladas. */
#gateBookSummaryHead tr:first-child th:first-child,
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:first-child{box-sizing:border-box;width:190px;min-width:190px;max-width:190px;left:0}
#gateBookReaderHead tr:first-child th:first-child,
#gateBookReaderRows>tr.gate-book-reader-row>td:first-child{box-sizing:border-box;width:290px;min-width:290px;max-width:290px;left:0}
#gateBookReaderHead tr:first-child th:nth-child(2),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(2){box-sizing:border-box;width:140px;min-width:140px;max-width:140px;left:290px}
#gateBookReaderHead tr:first-child th:nth-child(2){left:290px}
#gateBookSummaryHead tr:nth-child(2) th,
#gateBookReaderHead tr:nth-child(2) th{left:auto;width:105px;min-width:105px;max-width:105px}
#gateBookReaderRows>tr.gate-book-reader-row>td:first-child,
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(2){background:#0b202a!important}
#gateBookReaderRows>tr.gate-book-reader-row>td:first-child{z-index:6}
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(2){z-index:5;border-right:2px solid #2a5968}
#gateBookReaderRows .gate-book-reader-row button{display:block;width:100%;overflow:hidden}
#gateBookReaderRows .gate-book-reader-row button strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gate-book-regional-detail th:first-child,
.gate-book-regional-detail td:first-child{box-sizing:border-box;width:120px;min-width:120px;max-width:120px;left:0}

/* Congela o cabeçalho de duas linhas como um bloco indivisível. */
#gateBookSummaryHead,
#gateBookReaderHead{position:sticky;top:0;z-index:20;background:#10242f}
#gateBookSummaryHead tr:first-child th,
#gateBookSummaryHead tr:nth-child(2) th,
#gateBookReaderHead tr:first-child th,
#gateBookReaderHead tr:nth-child(2) th{top:auto}
#gateBookSummaryHead tr:nth-child(2) th:first-child,
#gateBookReaderHead tr:nth-child(2) th:first-child{position:static;left:auto!important;z-index:auto}

/* Grupos mensais com três colunas: Livros, Valor e Abono. */
#gateBookSummaryHead tr:nth-child(2) th,
#gateBookReaderHead tr:nth-child(2) th,
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:not(:first-child),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(n+3){background:#091b24}
#gateBookSummaryHead tr:nth-child(2) th:nth-child(6n+1),
#gateBookSummaryHead tr:nth-child(2) th:nth-child(6n+2),
#gateBookSummaryHead tr:nth-child(2) th:nth-child(6n+3),
#gateBookReaderHead tr:nth-child(2) th:nth-child(6n+1),
#gateBookReaderHead tr:nth-child(2) th:nth-child(6n+2),
#gateBookReaderHead tr:nth-child(2) th:nth-child(6n+3),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(6n+2),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(6n+3),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(6n+4),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(6n+3),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(6n+4),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(6n+5){background:#263842}
.gate-abono-cell{text-align:center!important;min-width:105px!important}.gate-abono-open{padding:5px 8px;border:1px solid #e0b442;border-radius:6px;background:#332b12;color:#ffd45d;font-weight:800;cursor:pointer}.gate-abono-open:hover{filter:brightness(1.2)}
.gate-abono-dialog{width:min(880px,94vw);max-height:88vh;border:1px solid #287084;border-radius:12px;background:#071d26;color:#eaf8fb}.gate-abono-dialog::backdrop{background:rgba(0,0,0,.76)}.gate-abono-dialog form{display:grid;gap:13px}.gate-abono-dialog header{display:flex;justify-content:space-between;align-items:start}.gate-abono-dialog h3{margin:4px 0}.gate-abono-dialog header button{border:0;background:transparent;color:#dcecf1;font-size:25px;cursor:pointer}.gate-abono-dialog fieldset{min-width:0;border:1px solid #24505e;border-radius:8px}.gate-abono-dialog label{display:grid;gap:6px;color:#77aec0;font-size:11px;font-weight:800}.gate-abono-dialog textarea,.gate-abono-dialog input[type=file]{padding:10px;border:1px solid #285565;border-radius:7px;background:#092630;color:#eefbff}.gate-abono-dialog small{color:#7396a3}.gate-abono-books{display:grid;gap:7px;max-height:300px;overflow:auto}.gate-abono-books label{display:flex;align-items:flex-start;gap:9px;padding:9px;border:1px solid #1b4350;border-radius:7px;background:#09232d}.gate-abono-books span,.gate-abono-books strong,.gate-abono-books small{display:block}.gate-abono-books small{margin-top:3px}.gate-abono-dialog menu{display:flex;justify-content:flex-end;gap:8px;margin:0;padding:0}.gate-abono-dialog menu button{padding:9px 14px;border:1px solid #315666;border-radius:7px;background:#0b2833;color:#e8f6f9;font-weight:800}.gate-abono-dialog menu .primary-button{border-color:#20c878;background:#087a4b}

/* O detalhamento regional reutiliza o cabeçalho principal; exibe somente as etapas. */
.gate-book-regional-detail>td>div{padding:0;overflow:visible}
.gate-book-regional-detail table{table-layout:fixed}
.gate-book-regional-detail tbody td:first-child{width:190px;min-width:190px;max-width:190px}
.gate-book-regional-detail tbody td:not(:first-child){width:105px;min-width:105px;max-width:105px}

/* Separação mensal dos livros LIES e Massiva. */
.gate-book-kpis{grid-template-columns:repeat(6,minmax(150px,1fr))}
.gate-book-kpis article.lies{border-top:3px solid #22d8ee}.gate-book-kpis article.massiva{border-top:3px solid #9b7cff}
.gate-lies-count{color:#29d9ef!important;font-weight:800}.gate-massiva-count{color:#a88bff!important;font-weight:800}
#gateBookSummaryHead tr:nth-child(2) th,#gateBookReaderHead tr:nth-child(2) th,
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:not(:first-child),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(n+3),.gate-book-regional-detail tbody td:not(:first-child){background:#091b24!important}
#gateBookSummaryHead tr:nth-child(2) th:nth-child(10n+1),#gateBookSummaryHead tr:nth-child(2) th:nth-child(10n+2),#gateBookSummaryHead tr:nth-child(2) th:nth-child(10n+3),#gateBookSummaryHead tr:nth-child(2) th:nth-child(10n+4),#gateBookSummaryHead tr:nth-child(2) th:nth-child(10n+5),
#gateBookReaderHead tr:nth-child(2) th:nth-child(10n+1),#gateBookReaderHead tr:nth-child(2) th:nth-child(10n+2),#gateBookReaderHead tr:nth-child(2) th:nth-child(10n+3),#gateBookReaderHead tr:nth-child(2) th:nth-child(10n+4),#gateBookReaderHead tr:nth-child(2) th:nth-child(10n+5),
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(10n+2),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(10n+3),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(10n+4),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(10n+5),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(10n+6),
#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(10n+3),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(10n+4),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(10n+5),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(10n+6),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(10n+7),
.gate-book-regional-detail tbody td:nth-child(10n+2),.gate-book-regional-detail tbody td:nth-child(10n+3),.gate-book-regional-detail tbody td:nth-child(10n+4),.gate-book-regional-detail tbody td:nth-child(10n+5),.gate-book-regional-detail tbody td:nth-child(10n+6){background:#263842!important}
@media(max-width:1200px){.gate-book-kpis{grid-template-columns:repeat(3,1fr)}}
.gate-abono-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:4px}.gate-abono-open.secondary{border-color:#3b8297;background:#0a2b36;color:#77d9ed}.gate-abono-dialog select{height:40px;padding:0 10px;border:1px solid #285565;border-radius:7px;background:#092630;color:#eefbff}.gate-abono-history{display:grid;gap:8px;max-height:220px;overflow:auto;padding:9px;border:1px solid #24505e;border-radius:8px;background:#06171e}.gate-abono-history article{padding:9px;border-left:3px solid #2acbe1;background:#0a2630}.gate-abono-history strong,.gate-abono-history small{display:block}.gate-abono-history small{margin-top:3px}.gate-abono-history p{margin:8px 0 0;white-space:pre-wrap}
.gate-net-value{color:#5ee4a2!important;background:#0b2a24!important}.gate-abono-actions>b{padding:3px 6px;border-radius:999px;background:#725812;color:#ffe081;font-size:10px}.gate-book-comparison{display:grid;gap:4px;margin-top:12px;padding:13px 15px;border:1px solid #285567;border-radius:8px;background:#09242e}.gate-book-comparison>span{color:#25d8ef;font-size:10px;font-weight:900;text-transform:uppercase}.gate-book-comparison p{margin:0;color:#94b6c2}.gate-book-comparison .positive strong{color:#55e69d}.gate-book-comparison .negative strong{color:#ff6572}.gate-book-comparison .neutral strong{color:#f0c75a}
.gate-book-comparison>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:7px}.gate-book-comparison section{display:grid;gap:4px;padding:10px;border:1px solid #24505e;border-radius:7px;background:#071d26}.gate-book-comparison section>b{color:#dff8ff}.gate-book-comparison section>small{color:#7fa8b6}@media(max-width:850px){.gate-book-comparison>div{grid-template-columns:1fr}}
/* Cada competência ocupa seis colunas: LIES, Massiva, Total, bruto, Abono e líquido. */
#gateBookSummaryHead tr:nth-child(2) th,#gateBookReaderHead tr:nth-child(2) th,#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:not(:first-child),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(n+3),.gate-book-regional-detail tbody td:not(:first-child){background:#091b24!important}
#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+1),#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+2),#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+3),#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+4),#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+5),#gateBookSummaryHead tr:nth-child(2) th:nth-child(12n+6),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+1),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+2),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+3),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+4),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+5),#gateBookReaderHead tr:nth-child(2) th:nth-child(12n+6){background:#263842!important}
#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+2),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+3),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+4),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+5),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+6),#gateBookSummaryRows>tr:not(.gate-book-regional-detail)>td:nth-child(12n+7),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+3),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+4),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+5),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+6),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+7),#gateBookReaderRows>tr.gate-book-reader-row>td:nth-child(12n+8),.gate-book-regional-detail tbody td:nth-child(12n+2),.gate-book-regional-detail tbody td:nth-child(12n+3),.gate-book-regional-detail tbody td:nth-child(12n+4),.gate-book-regional-detail tbody td:nth-child(12n+5),.gate-book-regional-detail tbody td:nth-child(12n+6),.gate-book-regional-detail tbody td:nth-child(12n+7){background:#263842!important}
.gate-book-reader-detail>td{vertical-align:top;background:#071820!important;border-top:2px solid #287084!important}.gate-book-reader-detail>td:first-child,.gate-book-reader-detail>td:nth-child(2){padding:12px!important;background:#0b202a!important}.gate-reader-month-detail{box-sizing:border-box;width:630px;max-height:310px;padding:8px!important;overflow:auto!important;background:#071820!important}.gate-reader-month-detail>strong{display:block;margin-bottom:7px;color:#26d9ef;text-transform:capitalize}.gate-reader-month-detail table{min-width:600px}.gate-reader-month-empty{width:630px;min-width:630px;text-align:center!important;padding:18px!important;color:#688b97!important}.gate-reader-detail-total{width:630px;min-width:630px;padding:14px!important;background:#142d31!important}.gate-reader-detail-total strong,.gate-reader-detail-total small{display:block}.gate-reader-detail-total strong{color:#ffd45d}.gate-reader-detail-total small{margin-top:4px;color:#83b4c2}
/* Relatório de Fotos */
.photo-report-panel{padding:22px 3.5%;background:#031017;min-height:60vh}.photo-report-card{border:1px solid #174556;border-radius:12px;background:#071d27;padding:18px}.photo-report-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.photo-report-heading h2{margin:3px 0}.photo-report-heading p{margin:0;color:#78a9bd}.photo-report-heading button,.photo-report-filters button{border:1px solid #00d4ff;border-radius:7px;background:#063142;color:#dff8ff;font-weight:700;padding:11px 18px}.photo-report-filters{display:grid;grid-template-columns:150px 150px 220px minmax(220px,1fr) minmax(280px,2fr);gap:10px;margin:18px 0;padding:13px;border:1px solid #174556;border-radius:9px}.photo-report-filters label{display:grid;gap:5px;color:#69bddb;font-size:12px;font-weight:700;text-transform:uppercase}.photo-report-filters input,.photo-report-filters select{min-width:0;border:1px solid #24576a;border-radius:7px;background:#071a23;color:#eaf8fc;padding:10px}.photo-report-metrics{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-bottom:16px}.photo-report-metrics article{border:1px solid #24576a;border-radius:8px;padding:12px}.photo-report-metrics span{display:block;color:#72a9bd;font-size:12px}.photo-report-metrics strong{display:block;color:#00d9ff;font-size:23px;margin-top:4px}.photo-report-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}.photo-item{overflow:hidden;border:1px solid #1a5062;border-radius:10px;background:#04151d}.photo-item a{display:block;background:#02090d}.photo-item img{display:block;width:100%;height:190px;object-fit:cover}.photo-item div{padding:11px}.photo-item strong,.photo-item span,.photo-item small{display:block}.photo-item strong{color:#fff}.photo-item span{color:#58d9f3;margin:4px 0}.photo-item small{color:#8db3c2;line-height:1.45}.photo-report-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:17px;color:#66cbe8}.photo-report-pagination button{margin-left:8px;border:1px solid #24576a;border-radius:7px;background:#071a23;color:#fff;padding:9px 14px}.photo-report-pagination button:disabled{opacity:.35}@media(max-width:900px){.photo-report-filters{grid-template-columns:1fr 1fr}.photo-report-metrics{grid-template-columns:1fr 1fr}.photo-report-filters label:last-child{grid-column:1/-1}}
.gate-sheet-wrap{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}
.gate-stage-comparison{margin-top:12px;padding-top:12px;border-top:1px solid #28505e}.gate-stage-comparison>strong{display:block;margin-bottom:9px;color:#d9edf3}.gate-stage-comparison-grid{display:grid;grid-template-columns:repeat(9,minmax(105px,1fr));gap:7px}.gate-stage-comparison-grid span{display:flex;justify-content:space-between;gap:7px;padding:8px 9px;border:1px solid #28505e;border-radius:6px;background:#091d27;color:#92abb5}.gate-stage-comparison-grid span b{color:#eef8fb}.gate-stage-comparison-grid span.worst{border-color:#ff5265;background:#3a1119;color:#ff9ba6;box-shadow:inset 0 0 0 1px #ff5265}.gate-stage-comparison-grid span.worst b{color:#ff6f7d}@media(max-width:1200px){.gate-stage-comparison-grid{grid-template-columns:repeat(6,minmax(105px,1fr))}}@media(max-width:760px){.gate-stage-comparison-grid{grid-template-columns:repeat(3,minmax(95px,1fr))}}
.ptm-fail{color:#ff5366!important;font-weight:900}.ptm-below{color:#ff5366!important}.ptm-result-over{color:#ff5366!important;font-weight:900!important}
#ptmPanel>.ptm-card>.ptm-scroll>table>thead>tr>th:nth-child(7),#ptmPanel>.ptm-card>.ptm-scroll>table>tbody>tr>td:nth-child(7),#ptmPanel>.ptm-card>.ptm-scroll>table>thead>tr>th:nth-child(10),#ptmPanel>.ptm-card>.ptm-scroll>table>tbody>tr>td:nth-child(10){display:none}
.ptm-dialog fieldset label{display:flex;align-items:center;gap:8px;min-height:28px}.ptm-dialog fieldset input{flex:0 0 auto;margin:0}.ptm-dialog fieldset span{line-height:1.25}
.ptm-xt-open{display:grid!important;gap:2px;width:100%;border-color:#24cce3!important;color:#dffbff!important}.ptm-xt-open small{color:#ffd46b!important}.ptm-xt-dialog{width:min(780px,94vw);max-height:88vh;overflow:auto}.ptm-xt-dialog>div>header{display:flex;justify-content:space-between;align-items:flex-start;padding:15px;border-bottom:1px solid #234854}.ptm-xt-dialog header h3{margin:0}.ptm-xt-dialog header p{margin:4px 0 0;color:#7fb2c0}.ptm-xt-dialog header>button{border:0;background:transparent;color:#a8cbd5;font-size:24px}.ptm-xt-dialog #ptmXtHistory{display:grid;gap:10px;max-height:370px;overflow:auto;padding:15px}.ptm-xt-entry{padding:12px;border:1px solid #28505e;border-radius:8px;background:#09242e}.ptm-xt-entry>header{display:flex;justify-content:space-between;padding:0;border:0}.ptm-xt-entry>header strong{color:#63efa9;font-size:17px}.ptm-xt-entry>header span{color:#ffd46b;font-weight:900}.ptm-xt-entry.aprovado>header span{color:#63efa9}.ptm-xt-entry.indeferido>header span{color:#ff7180}.ptm-xt-entry p{margin:8px 0;white-space:pre-wrap}.ptm-xt-entry>small{display:block;color:#81aab6}.ptm-xt-files{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.ptm-xt-files a{padding:6px 8px;border:1px solid #276071;border-radius:6px;color:#6ee8f7;text-decoration:none}.ptm-xt-entry blockquote{margin:9px 0 0}.ptm-xt-entry label{margin-top:10px}.ptm-xt-decisions{display:flex;gap:8px;margin-top:8px}.ptm-xt-decisions button{padding:8px 13px;border:1px solid #18cf78;border-radius:6px;background:#073a2b;color:#55efa1;font-weight:900}.ptm-xt-decisions button.reject{border-color:#c94859;background:#39151d;color:#ff93a0}.ptm-xt-dialog #ptmXtNew{padding:15px;border-top:1px solid #234854}.ptm-xt-dialog h4{margin:0 0 10px}.ptm-xt-form{display:grid;grid-template-columns:180px 1fr;gap:10px}.ptm-xt-form label{display:grid;gap:5px;color:#8bb5c1}.ptm-xt-form .wide{grid-column:1/-1}.ptm-xt-form input,.ptm-xt-form textarea{padding:10px;border:1px solid #285565;border-radius:7px;background:#0a222c;color:#eef8fa}.ptm-xt-dialog #ptmXtNew>small{display:block;margin-top:7px;color:#7ea5b2}.ptm-xt-dialog .error{min-height:18px;color:#ff7180}.ptm-xt-dialog menu{margin:0 -15px -15px}.ptm-xt-empty{color:#80a8b4;text-align:center}@media(max-width:650px){.ptm-xt-form{grid-template-columns:1fr}.ptm-xt-form .wide{grid-column:auto}}

/* Análise de Fotos — restaura a estrutura visual nativa do módulo. */
.photo-analysis-panel{box-sizing:border-box;width:100%;min-height:60vh;padding:22px 3.5% 36px;background:#031017;color:#eaf8fc}.photo-analysis-card{min-width:0;padding:18px;border:1px solid #174556;border-radius:12px;background:#071d27}.photo-analysis-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:16px}.photo-analysis-heading h2{margin:3px 0;color:#edf8fb}.photo-analysis-heading p{margin:0;color:#78a9bd}
.photo-analysis-heading button,.photo-analysis-pagination button,.photo-analysis-table button{min-height:38px;padding:9px 16px;border:1px solid #00cfea;border-radius:7px;background:#083343;color:#e8fbff;font-weight:800;cursor:pointer}.photo-analysis-heading button:hover,.photo-analysis-pagination button:hover,.photo-analysis-table button:hover{filter:brightness(1.16)}.photo-analysis-heading button:disabled,.photo-analysis-pagination button:disabled,.photo-analysis-table button:disabled{cursor:not-allowed;opacity:.4}
.photo-analysis-filters{display:grid;grid-template-columns:150px 150px 220px 170px minmax(250px,1fr);gap:10px;margin-bottom:14px;padding:13px;border:1px solid #174556;border-radius:9px;background:#061923}.photo-analysis-filters label{display:grid;align-content:start;gap:5px;min-width:0;color:#69bddb;font-size:11px;font-weight:800;text-transform:uppercase}.photo-analysis-filters input,.photo-analysis-filters select{box-sizing:border-box;width:100%;min-width:0;height:40px;padding:0 10px;border:1px solid #24576a;border-radius:7px;background:#071a23;color:#eaf8fc;color-scheme:dark}.photo-analysis-filters input:focus,.photo-analysis-filters select:focus{outline:2px solid rgba(0,211,239,.35);outline-offset:1px;border-color:#00cfea}
.photo-analysis-metrics{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin-bottom:14px}.photo-analysis-metrics article{min-height:62px;padding:11px 13px;border:1px solid #24576a;border-radius:8px;background:#08222c}.photo-analysis-metrics span{display:block;color:#78a9bd;font-size:11px;font-weight:700;text-transform:uppercase}.photo-analysis-metrics strong{display:block;margin-top:3px;color:#00d9ff;font-size:22px}
.photo-analysis-table{position:relative;max-width:100%;max-height:calc(100vh - 365px);min-height:260px;overflow:auto;border:1px solid #174556;border-radius:9px;background:#061820;scrollbar-color:#7b8790 #16252c}.photo-analysis-table table{width:100%;min-width:1180px;border-collapse:separate;border-spacing:0;table-layout:fixed}.photo-analysis-table th{position:sticky;top:0;z-index:3;padding:12px 10px;border-bottom:1px solid #285565;background:#123947;color:#68cae8;font-size:10px;text-align:left;text-transform:uppercase}.photo-analysis-table td{padding:10px;border-bottom:1px solid #173c49;color:#dff4f9;font-size:12px;vertical-align:middle}.photo-analysis-table tbody tr:hover td{background:#092731}.photo-analysis-table img{display:block;width:76px;height:56px;border:1px solid #285565;border-radius:5px;background:#02090d;object-fit:cover}.photo-analysis-table td strong,.photo-analysis-table td small{display:block}.photo-analysis-table td strong{color:#f5fcff}.photo-analysis-table td small{margin-top:3px;color:#6da5b8}.photo-analysis-table td:nth-last-child(2){font-weight:800;text-transform:uppercase}.photo-analysis-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#66cbe8}.photo-analysis-pagination>div{display:flex;gap:8px}
.photo-analysis-dialog{box-sizing:border-box;width:min(1120px,96vw);max-height:92vh;padding:0;overflow:auto;border:1px solid #287084;border-radius:12px;background:#071d26;color:#eaf8fb;box-shadow:0 24px 80px rgba(0,0,0,.7)}.photo-analysis-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(2px)}.photo-analysis-dialog form{min-width:0}.photo-analysis-dialog-head{position:sticky;top:0;z-index:8;display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #285565;background:#09242e}.photo-analysis-dialog-head h3{margin:0;color:#f4fbfd}.photo-analysis-dialog-head p{margin:5px 0 0;color:#82adba}.photo-analysis-dialog-head button{width:34px;height:34px;border:1px solid #3b6b78;border-radius:6px;background:#081c24;color:#dff6fa;font-size:23px;line-height:1;cursor:pointer}
.photo-analysis-dialog-grid{display:grid;grid-template-columns:minmax(360px,1.12fr) minmax(350px,.88fr);gap:16px;padding:16px 18px 18px}.photo-analysis-image{display:flex;align-items:center;justify-content:center;min-width:0;min-height:430px;padding:10px;border:1px solid #1d4957;border-radius:9px;background:#02090d}.photo-analysis-image img{display:block;width:100%;max-width:100%;height:auto;max-height:calc(92vh - 125px);object-fit:contain}.photo-analysis-info{display:grid;align-content:start;gap:13px;min-width:0}.photo-analysis-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.photo-analysis-info dl>div{min-width:0;padding:9px 10px;border:1px solid #1d4957;border-radius:7px;background:#08232d}.photo-analysis-info dt{color:#70b8cd;font-size:10px;font-weight:800;text-transform:uppercase}.photo-analysis-info dd{margin:4px 0 0;overflow-wrap:anywhere;color:#f0fafc;font-weight:700}
.photo-analysis-dialog fieldset{min-width:0;margin:0;padding:11px;border:1px solid #285565;border-radius:8px;background:#061a22}.photo-analysis-dialog legend{padding:0 6px;color:#bfe8f1;font-weight:800}#photoAnalysisReasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}#photoAnalysisReasons label{display:flex;align-items:flex-start;gap:8px;min-height:30px;padding:6px;border-radius:5px;color:#d9edf2;font-size:12px;line-height:1.3}#photoAnalysisReasons label:hover{background:#0b2b36}#photoAnalysisReasons input{flex:0 0 auto;margin-top:2px;accent-color:#00cfea}.photo-analysis-info>label{display:grid;gap:6px;color:#8bb8c4;font-size:12px;font-weight:700}.photo-analysis-info textarea{box-sizing:border-box;width:100%;min-height:86px;padding:10px;border:1px solid #285565;border-radius:7px;background:#092630;color:#eefbff;resize:vertical}.photo-analysis-info .error{min-height:18px;margin:0;color:#ff7180}.photo-analysis-info menu{display:flex;justify-content:flex-end;gap:8px;margin:0;padding:0}.photo-analysis-info menu button{min-height:39px;padding:9px 15px;border:1px solid #315666;border-radius:7px;background:#0b2833;color:#e8f6f9;font-weight:800;cursor:pointer}.photo-analysis-info menu .primary-button{border-color:#00cfea;background:#089ab2;color:#00151b}
@media(max-width:1100px){.photo-analysis-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-analysis-filters label:last-child{grid-column:1/-1}.photo-analysis-table{max-height:calc(100vh - 430px)}}@media(max-width:850px){.photo-analysis-panel{padding:14px}.photo-analysis-heading{align-items:stretch;flex-direction:column}.photo-analysis-metrics{grid-template-columns:repeat(2,1fr)}.photo-analysis-dialog-grid{grid-template-columns:1fr}.photo-analysis-image{min-height:260px}.photo-analysis-image img{max-height:44vh}#photoAnalysisReasons{grid-template-columns:1fr}}@media(max-width:560px){.photo-analysis-filters,.photo-analysis-metrics{grid-template-columns:1fr}.photo-analysis-filters label:last-child{grid-column:auto}.photo-analysis-pagination{align-items:stretch;flex-direction:column}.photo-analysis-pagination>div button{flex:1}.photo-analysis-info dl{grid-template-columns:1fr}.photo-analysis-dialog-grid{padding:12px}.photo-analysis-dialog-head{padding:13px}}
.photo-analysis-dialog{width:min(1040px,calc(100vw - 40px));max-width:calc(100vw - 40px)}.photo-analysis-dialog-grid{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}.photo-analysis-image{box-sizing:border-box;width:100%;height:clamp(340px,65vh,560px);min-height:0;overflow:hidden}.photo-analysis-image img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center}.photo-coordinate-comparison{grid-column:1/-1;padding:11px;border:1px solid #2a6070;border-radius:8px;background:#061a22}.photo-coordinate-comparison h4{margin:0 0 9px;color:#dff8fc}.photo-coordinate-comparison>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.photo-coordinate-comparison article{min-width:0;padding:9px;border:1px solid #204b59;border-radius:6px;background:#092731}.photo-coordinate-comparison span,.photo-coordinate-comparison strong,.photo-coordinate-comparison small{display:block}.photo-coordinate-comparison span{color:#70b8cd;font-size:10px;font-weight:800;text-transform:uppercase}.photo-coordinate-comparison strong{margin-top:5px;color:#eefcff}.photo-coordinate-comparison small{margin-top:3px;color:#8eb4bf}.photo-coordinate-comparison .photo-distance{border-color:#328196}.photo-coordinate-comparison .photo-distance strong{color:#27d9ef;font-size:20px}@media(max-width:850px){.photo-analysis-dialog{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}.photo-coordinate-comparison>div{grid-template-columns:1fr}.photo-analysis-image{height:min(48vh,460px)}}

.infm-owner-line{display:block;font-size:11px;line-height:1.6;white-space:nowrap;color:#b9d3dc;font-weight:500}.infm-summary .infm-owner-line{margin-top:4px}

.infm-owner-line{font-size:13px;line-height:1.7}
.infm-summary{grid-template-columns:0.7fr 1.5fr 1.5fr 0.7fr}
.infm-owner-results{display:flex;gap:16px;align-items:center;margin-top:10px}
.infm-owner-results>div{flex:1;min-width:0}
.infm-owner-results span{display:block;font-size:12px!important;text-transform:none!important;letter-spacing:0!important;color:#b9d3dc}
.infm-owner-results strong{display:block;font-size:22px!important;margin-top:5px!important}
.infm-owner-results .infm-general-result{border-left:1px solid #285064;padding-left:14px}
.infm-owner-results .infm-general-result strong{font-size:18px!important;color:#b9d3dc}
.infm-max-result.inside strong,.infm-max-goal.inside{color:#36d78b!important}
.infm-max-result.above strong,.infm-max-goal.above{color:#ff5265!important}
.infm-max-goal{font-size:12px;line-height:1.5;margin-top:12px;color:#b9d3dc}
@media(max-width:1100px){.infm-summary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.infm-summary{grid-template-columns:1fr}}

.infm-owner-line.infm-max-above,.infm-max-result.above strong,.infm-max-goal.above{color:#ff5265!important;font-weight:800!important}

.infm-total-above{color:#ff5265!important;font-weight:800!important}

.infm-summary{grid-template-columns:minmax(100px,.65fr) minmax(265px,1.5fr) minmax(265px,1.5fr) minmax(195px,1.2fr) minmax(100px,.65fr)}
.infm-comparison-card small{display:block;font-size:11px;line-height:1.5;color:#b9d3dc;margin-top:4px}
.infm-comparison-card .infm-comparison-value{font-size:24px!important;margin-top:8px!important}
.infm-comparison-card>b{font-size:12px}
.infm-comparison-card.worse .infm-comparison-value,.infm-comparison-card.worse>b{color:#ff5265!important;font-weight:800!important}
.infm-comparison-card.better .infm-comparison-value,.infm-comparison-card.better>b{color:#36d78b!important}
@media(max-width:1100px){.infm-summary{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.infm-summary{grid-template-columns:1fr}}

.infm-summary:not(:has(.infm-comparison-card)){grid-template-columns:0.7fr 1.5fr 1.5fr 0.7fr}
@media(max-width:1100px){.infm-summary:not(:has(.infm-comparison-card)){grid-template-columns:1fr 1fr}}
@media(max-width:600px){.infm-summary:not(:has(.infm-comparison-card)){grid-template-columns:1fr}}

.infm-owner-results{display:grid;grid-template-columns:minmax(92px,1.3fr) minmax(60px,1fr) minmax(56px,1fr);gap:8px}.infm-owner-results .infm-general-result{padding-left:8px}

/* Pendencias vencidas por colaborador: preservar o percentual executado. */
.collaborator-stage-line.overdue .collaborator-stage-track{background:#47252d;box-shadow:inset 0 0 0 1px #ef5964}
.collaborator-stage-line.overdue .collaborator-stage-track i{background:#ef5964}
.collaborator-stage-line.overdue>b,.collaborator-stage-line.overdue .collaborator-due-date{color:#ef5964;font-weight:850}

/* Classes de avaliação: estilos limitados ao painel de parâmetros por escopo. */
#objectiveScopeFields.scope-evaluation{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
#objectiveScopeFields .scope-group{border:1px solid #28505f;border-radius:9px;background:#0b252f;overflow:hidden}
#objectiveScopeFields .scope-group header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px;background:#123541}
#objectiveScopeFields h4{margin:0;font-size:1rem;color:#edfaff}
#objectiveScopeFields .scope-score{font-size:.78rem;color:#7df0c4;white-space:nowrap}
#objectiveScopeFields .scope-score.invalid{color:#ffb39e}
#objectiveScopeFields .scope-ptm{padding:12px 14px;border-bottom:1px solid #28505f;background:#0a303c}
#objectiveScopeFields .scope-criterion{padding:14px;border-bottom:1px solid #244451}
#objectiveScopeFields .scope-criterion:last-child{border-bottom:0}
#objectiveScopeFields .scope-criterion-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
#objectiveScopeFields .scope-criterion-title>b{font-size:.82rem;color:#d8eef5}
#objectiveScopeFields .scope-criterion-title>label{width:100px;flex-shrink:0}
#objectiveScopeFields .scope-targets{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:9px}
#objectiveScopeFields input{width:100%;min-width:0;box-sizing:border-box;font-size:.85rem}
#objectiveScopeFields input:disabled{opacity:.65;cursor:not-allowed}
#objectiveScopeFields small{display:block;color:#9bb8c3;margin-top:8px;font-size:.72rem}
#objectiveScopeFields .scope-permissions{grid-column:1/-1;border:1px solid #28505f;border-radius:8px;padding:14px}
#objectiveScopeFields summary{cursor:pointer;color:#85ddeb;font-weight:bold}
#objectiveScopeFields .scope-permissions p{color:#a6bec8;font-size:.8rem}
#objectiveScopeFields .scope-permissions select{max-width:400px;padding:9px;background:#0b2029;color:#edfaff;border:1px solid #315967;border-radius:5px}
#objectiveScopeFields .scope-permission-checks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
#objectiveScopeFields .scope-permission-checks label{display:flex;align-items:center;font-size:.72rem;text-transform:none}
#objectiveScopeFields .scope-permission-checks input{width:16px;height:16px;flex-shrink:0}
#objectiveScopeFields .scope-permissions button{padding:10px;background:#00bcd4;color:#001216;border:0;border-radius:5px;font-weight:bold;cursor:pointer;margin-right:12px}
#objectiveScopeFields [role=status]{color:#85ddeb;font-size:.8rem}
@media(max-width:1000px){#objectiveScopeFields.scope-evaluation{grid-template-columns:1fr}#objectiveScopeFields .scope-permission-checks{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){#objectiveScopeFields .scope-permission-checks{grid-template-columns:1fr}}

/* Permissões de avaliação dentro do Cadastro de usuários. */
#userScopePermissions{margin:16px 0;padding:14px;border:1px solid #315564;border-radius:8px;min-width:0}
#userScopePermissions legend{color:#80dfed;font-weight:bold;font-size:.85rem}
#userScopePermissions p,#userScopeMessage{color:#9cbdc9;font-size:.8rem}
#userScopePermissions .user-scope-controls{display:flex;gap:10px;align-items:end;flex-wrap:wrap}
#userScopePermissions .user-scope-controls label{display:grid;gap:5px;font-size:.75rem}
#userScopePermissions select,#userScopePermissions input[type=month]{background:#0b2029;color:#edfaff;border:1px solid #315967;border-radius:5px;padding:8px;min-width:0}
#userScopePermissions button{background:#00bcd4;color:#001216;border:0;padding:10px;border-radius:5px;cursor:pointer;font-weight:bold}
#userScopePermissions button:disabled{opacity:.5;cursor:not-allowed}
#userScopeChecks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0}
#userScopeChecks h4{color:#8cdce9;margin:0 0 10px}
#userScopeChecks label{display:flex;align-items:center;gap:7px;font-size:.75rem;margin:8px 0;color:#d9ebf1}
#userScopeChecks input{width:16px;height:16px;flex-shrink:0}
#userScopePermissions .user-scope-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
@media(max-width:700px){#userScopeChecks{grid-template-columns:1fr}}

#ptmGroupsPanel{border:1px solid #285365;border-radius:9px;padding:16px;margin-top:22px;background:#08212b}
#ptmGroupsPanel .ptm-title{gap:16px}
#ptmGroupsPanel .ptm-title p{color:#9fbbc7;line-height:1.5}
#ptmGroupsPanel button{border:1px solid #08c4d9;border-radius:5px;background:#0a3442;color:#82ecf4;padding:9px 12px;cursor:pointer}
#ptmGroupsPanel button:disabled{opacity:.5;cursor:not-allowed}
#ptmGroupsPanel #ptmGroupsMessage{color:#a7c4d0;font-size:.8rem;margin:12px 0}
#ptmGroupsPanel .ptm-group-value{display:grid;gap:5px;min-width:135px}
#ptmGroupsPanel .ptm-group-value span{font-size:.68rem;font-weight:bold}
#ptmGroupsPanel .won span{color:#78e5ad}#ptmGroupsPanel .lost span{color:#ff9c94}#ptmGroupsPanel .pending span{color:#f3d385}
#ptmGroupsPanel td small{display:block;margin-top:5px;color:#96b5c2}
#ptmGroupsPanel td{vertical-align:top;padding:12px}
#ptmGroupsPanel details{margin-top:12px;border:1px solid #234959;border-radius:7px;padding:12px}
#ptmGroupsPanel summary{cursor:pointer;color:#89ddeb;font-weight:600}
#ptmGroupsPanel h4{color:#cfe8f0;margin:16px 0 8px}
#ptmGroupsPanel p,#ptmGroupsPanel li{font-size:.8rem;color:#a7c4d0;line-height:1.6}

/* Pendências apenas na apuração PTM por grupos. */
#ptmGroupsPanel .ptm-pending-text,#ptmGroupsPanel .pending span,#ptmGroupsPanel .pending strong{color:#ff6b6b;font-weight:700}

/* Zoom exclusivo da conferência de fotos. */
#photoAnalysisDialog .photo-analysis-image{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:hidden}
#photoAnalysisDialog .photo-zoom-toolbar{display:flex;align-items:center;justify-content:center;gap:8px;flex-shrink:0;padding:0 0 8px}
#photoZoomViewport{overflow:auto;flex:1;min-height:0;min-width:0;cursor:grab;overscroll-behavior:contain}
#photoAnalysisDialog #photoAnalysisImage{display:block;max-width:none;max-height:none;object-fit:contain;margin:auto;user-select:none}
#photoAnalysisInfo .photo-data-warning{grid-column:1/-1;border-color:#c78d23;color:#ffdc8b}
#photoAnalysisInfo .photo-data-warning dd{font-size:12px;color:#ffdc8b}

#photoAnalysisDialog .photo-zoom-toolbar{flex-wrap:wrap}
#photoAnalysisDialog .photo-zoom-toolbar small{flex-basis:100%;text-align:center;color:#9dccda;font-size:11px}
#photoZoomViewport{position:relative;touch-action:none}
#photoAnalysisDialog .photo-zoom-toolbar button{min-height:32px;min-width:36px}

/* Visualizador exclusivo da Análise de Fotos, fora da caixa de conferência. */
#photoAnalysisViewer{box-sizing:border-box;inset:0;margin:0;padding:0;border:0;width:100vw;max-width:none;height:100vh;height:100dvh;max-height:none;background:#02090d;color:#e9f8fc;overflow:hidden}
#photoAnalysisViewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr)}
#photoAnalysisViewer::backdrop{background:#000e}
#photoAnalysisViewer header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px 18px;background:#08232d;border-bottom:1px solid #245566}
#photoAnalysisViewer header>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#photoAnalysisViewer header small{flex-basis:100%;color:#a5c9d4}
#photoAnalysisViewer button{min-height:38px;min-width:40px;cursor:pointer}
#photoAnalysisViewer .photo-viewer-canvas{overflow:auto;min-height:0;min-width:0;touch-action:none;cursor:grab;overscroll-behavior:contain}
#photoAnalysisViewer img{display:block;margin:12px auto;max-width:none;max-height:none;object-fit:contain;user-select:none}
#photoAnalysisDialog #photoAnalysisImage{cursor:zoom-in}

#gateAbonoBookField .gate-abono-search{display:grid;gap:10px;margin-bottom:12px}#gateAbonoSearch{width:100%;min-width:0;padding:9px;border:1px solid #285565;border-radius:7px;background:#092630;color:#eefbff}#gateAbonoBookField .gate-abono-select-all{display:flex;align-items:center;gap:8px}#gateAbonoBooks label[hidden]{display:none}

.work-table td.work-first-failure{color:#ff4d5e!important;font-weight:800!important}.work-table td.work-first-tolerance{background:#ffe082!important;color:#211b00!important}.work-table .work-first-pending{display:block;color:#f2b84b;font-size:9px;font-weight:400}

.work-table td.work-displacement-pending{background:#ffe082!important;color:#211b00!important;font-weight:700}

#workPanel td.work-failures-four{background:#ffe082!important;color:#211b00!important;font-weight:800}#workPanel td.work-failures-many{color:#ff4d5e!important;font-weight:800}#workPanel .work-page-size{display:inline-flex;align-items:center;gap:8px;margin-right:12px}#workPageSize{width:78px;padding:6px}

#workPanel .work-color-legend{margin-top:16px;padding:14px 16px;border:1px solid #244653;border-radius:6px;background:#071b24;color:#b8cbd4;text-align:left;font-size:12px;line-height:1.5}#workPanel .work-color-legend>strong{color:#e5f0f4;font-size:13px}#workPanel .work-color-legend ul{list-style:none;margin:10px 0;padding:0;display:grid;gap:8px}#workPanel .work-color-legend li{display:flex;align-items:flex-start;gap:10px}#workPanel .work-legend-swatch{display:inline-flex;align-items:center;justify-content:center;flex:0 0 30px;min-height:24px;border-radius:3px}#workPanel .work-legend-normal{background:#192a32;color:#b8cbd4}#workPanel .work-legend-yellow{background:#ffe082;color:#211b00}#workPanel .work-legend-red{background:#192a32;color:#ff4d5e;font-weight:800}#workPanel .work-color-legend p{margin:10px 0 0;color:#b8cbd4}

.login-card .login-password-row{display:flex;align-items:stretch;gap:8px;margin-top:7px}.login-card .login-password-row input{flex:1;min-width:0;margin:0}.login-card #loginPasswordToggle{width:auto;flex:0 0 auto;padding:10px 12px;margin:0;font-size:12px;background:#10313d;color:#c6f5ff;border:1px solid #286277;border-radius:6px}.login-card #loginPasswordToggle:focus-visible{outline:2px solid #00cfe8;outline-offset:2px}.login-card .login-contact{display:flex;flex-direction:column;align-items:center;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid #244653;font-size:12px;color:#9cb6c2}.login-card .login-contact a{color:#55dbeb;overflow-wrap:anywhere}.login-card .login-contact .system-version{font-size:11px}

.login-screen{grid-template-columns:minmax(0,1fr);overflow-y:auto}.login-card{box-sizing:border-box;min-width:0;justify-self:center}@media(max-width:480px){.login-card{padding:24px}.login-card input:not([type=checkbox]){min-width:0;width:100%}}

/* Contenção do formulário de abonos, inclusive pedidos históricos agrupados. */
#gateAbonoDialog{box-sizing:border-box;width:min(880px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:16px;overflow-y:auto;overflow-x:hidden}
#gateAbonoForm{grid-template-columns:minmax(0,1fr);min-width:0}
#gateAbonoForm>*{min-width:0;max-width:100%;box-sizing:border-box}
#gateAbonoDialog label,#gateAbonoHistory,#gateAbonoHistory section,#gateAbonoHistory article{min-width:0;grid-template-columns:minmax(0,1fr)}
#gateAbonoDialog select,#gateAbonoDialog textarea,#gateAbonoDialog input[type=file]{box-sizing:border-box;width:100%;min-width:0;max-width:100%}
#gateAbonoDialog select{text-overflow:ellipsis}
#gateAbonoHistory{overflow-x:hidden;max-height:260px}
#gateAbonoHistory .ptm-scroll{min-width:0;max-width:100%;overflow-x:auto}
#gateAbonoHistory p,#gateAbonoHistory small,#gateAbonoHistory strong,#gateAbonoHistory a,#gateAbonoDialog h3{overflow-wrap:anywhere}
#gateAbonoHistory textarea{min-height:70px;resize:vertical}
#gateAbonoHistory [data-batch-approve],#gateAbonoHistory [data-abono-decision]{max-width:100%;white-space:normal;margin-top:8px;padding:9px 12px;border:1px solid #287084;border-radius:6px;background:#0b2833;color:#e8f6f9;font-weight:700;cursor:pointer}
#gateAbonoHistory [data-batch-approve],#gateAbonoHistory [data-abono-decision="APROVADO"]{border-color:#20c878;background:#087a4b}
#gateAbonoHistory [data-abono-decision="REJEITADO"]{border-color:#b64a55}
#gateAbonoDialog menu{flex-wrap:wrap}
#gateAbonoBooks span{min-width:0;overflow-wrap:anywhere}
@media(max-width:540px){#gateAbonoDialog{padding:12px;width:calc(100vw - 20px);max-width:calc(100vw - 20px)}#gateAbonoDialog menu button{flex:1}#gateAbonoHistory{max-height:240px}}

#gateAbonoHistory .gate-abono-batch{min-width:0;padding:8px;border:1px solid #24505e;border-radius:6px}#gateAbonoHistory .gate-abono-batch summary{cursor:pointer;color:#77d9ed;font-weight:700;overflow-wrap:anywhere}

/* Rolagem restrita ao painel de análise de fotos, com confirmação acessível. */
#photoAnalysisDialog .photo-analysis-info{display:flex;flex-direction:column;min-width:0;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:6px}
#photoAnalysisDialog .photo-analysis-info>*{flex-shrink:0}
#photoAnalysisDialog .photo-analysis-info>.primary-button{position:sticky;bottom:0;z-index:2;flex-shrink:0;width:100%;margin-top:auto;background:#089ab2;color:#00151b;box-shadow:0 -8px 0 #071d26}
#photoAnalysisDialog [hidden]{display:none!important}
@media(max-width:850px){#photoAnalysisDialog .photo-analysis-dialog-grid{grid-template-rows:minmax(140px,35%) minmax(0,1fr)!important;overflow:hidden!important}}

/* Cadastro: quadro das permissoes individuais de treinamento. */
#userDialog #modulePermissionField .it-permission-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;min-width:0;margin-top:8px;padding:14px 12px;border:1px solid #294550;border-radius:8px;box-sizing:border-box}
#userDialog #modulePermissionField .it-permission-options>strong{grid-column:1/-1;display:block;margin:0 0 2px;padding-bottom:10px;border-bottom:1px solid #294550;color:#718892;font-size:10px;font-weight:850;text-transform:uppercase;line-height:1.5;overflow-wrap:anywhere}
#userDialog #modulePermissionField .it-permission-options>label{display:flex;flex-direction:row;align-items:flex-start;justify-content:flex-start;gap:8px;min-width:0;margin:0;padding:4px 0;line-height:1.5;text-align:left;white-space:normal;overflow-wrap:anywhere;color:#b7c5ca;font-size:11px}
#userDialog #modulePermissionField .it-permission-options>label>input[type=checkbox]{flex:0 0 14px;width:14px;height:14px;min-width:14px;margin:1px 0 0;padding:0}
@media(max-width:760px){#userDialog #modulePermissionField .it-permission-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px}}
@media(max-width:480px){#userDialog #modulePermissionField .it-permission-options{grid-template-columns:minmax(0,1fr)}}

.history-reader-card td.infm-alert{color:#ff5265!important;font-weight:800!important}

.history-reader-card td.history-gate-alert{color:#ff5366!important;font-weight:900!important}

.history-reader-card td.history-icel-alert{color:#ff5366!important;font-weight:900!important}

.history-ranking-wrap td.history-ranking-alert{color:#ff5366!important;font-weight:900!important}
.history-ranking-wrap td.infm-alert{color:#ff5265!important;font-weight:800!important}

.history-reader-card td.history-zero-payment{color:#ff5366!important;font-weight:900!important}

.history-reader-card td.history-work-alert{color:#ff5366!important;font-weight:900!important}

.history-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.history-heading p{margin:8px 0 0}.history-export{display:flex;gap:8px;align-items:center}.history-export button{min-height:38px;padding:9px 15px;border:1px solid #3193a8;border-radius:6px;background:#103846;color:#e8f9fc;font-weight:800;cursor:pointer}.history-export button:hover{background:#156074}.history-export button:disabled{opacity:.55;cursor:wait}#historyExportStatus{margin:8px 0 0;color:#9bc5cf;font-size:12px}#historyExportStatus:empty{display:none}
.history-reader-controls{grid-template-columns:140px minmax(260px,1fr) auto;gap:18px;align-items:end;padding:14px 16px}.history-reader-controls .history-period-filter{display:grid;gap:7px;font-size:11px}.history-reader-controls .history-reader-search{grid-template-areas:'title title' 'input button';grid-template-columns:minmax(160px,1fr) 100px;font-size:11px;gap:7px 10px!important}.history-reader-search::before{display:none}.history-reader-search>span{grid-area:title}.history-reader-controls input,.history-reader-controls select,.history-reader-search button{height:38px;box-sizing:border-box;margin:0}.history-reader-search button{min-width:0}.history-reader-controls>span{display:flex;align-items:center;min-height:38px;white-space:nowrap;font-size:12px}.history-period-filter>span,.history-reader-search>span{line-height:16px;text-transform:none;letter-spacing:0}
@media(max-width:700px){.history-heading{align-items:flex-start;gap:16px}.history-export{width:100%}.history-export button{flex:1}.history-reader-controls{grid-template-columns:1fr;gap:12px}.history-reader-controls>span{min-height:20px;justify-content:flex-end}.history-reader-controls .history-reader-search{grid-template-columns:minmax(0,1fr) 85px}}

/* Histórico dos Leituristas: fundo branco, total preto e alertas vermelhos. */
.history-reader-card tbody td{background:#fff!important;color:#000!important}
.history-reader-card tr.history-reader-total td{background:#000!important;color:#fff!important}
.history-reader-card tbody td:is(.ptm-result-over,.infm-alert,.history-gate-alert,.history-icel-alert,.history-zero-payment,.history-work-alert){background:#ff0000!important;color:#000!important;font-weight:900!important}

/* Ranking: identificação e alertas, preservando cabeçalho e totais. */
.history-ranking-wrap tbody tr[data-history-ranking-reader] td{background:#fff!important;color:#000!important}
.history-ranking-wrap tbody tr[data-history-ranking-reader] td:is(.history-ranking-alert,.infm-alert){background:#ff0000!important;color:#000!important;font-weight:900!important}
.history-ranking-wrap tbody tr[data-history-ranking-reader] td.ranking-person-experiencia{background:#70ad47!important;color:#000!important}
.history-ranking-wrap tbody tr[data-history-ranking-reader] td.ranking-person-rural{background:#5b9bd5!important;color:#000!important}
.history-ranking-wrap tbody tr[data-history-ranking-reader] td.ranking-person-misto{background:#bfbfbf!important;color:#000!important}

.history-ranking-wrap tbody tr[data-history-ranking-reader] td strong{color:inherit!important}

.concordia-controls{display:flex;align-items:center;gap:20px;padding:12px 14px;border:1px solid #28596a;border-radius:7px;background:#0a2732;color:#aed5e1}.concordia-controls label{display:flex;gap:10px;align-items:center;font-weight:800}.concordia-controls select{background:#071d26;color:#fff;border:1px solid #347084;border-radius:5px;padding:7px 12px}.concordia-note,#concordiaProgress{font-size:12px;line-height:1.5;color:#9bc5cf;margin:10px 0}.concordia-grids{display:flex;align-items:flex-start;gap:0.6mm;overflow:auto;padding-bottom:10px;max-width:100%}.concordia-grid{flex:none;margin:0}.concordia-grid h4{height:38px;box-sizing:border-box;margin:0;padding:10px 12px;background:#123b48;color:#eafaff;text-align:center;border:1px solid #28596a;font-size:12px}.concordia-grid table{border-collapse:collapse;width:auto;table-layout:fixed}.concordia-grid th{background:#123b48;color:#8fdcf0;font-weight:800;font-size:10px}.concordia-grid th,.concordia-grid td{border:1px solid #28596a;padding:7px 9px;height:34px;box-sizing:border-box;white-space:nowrap;text-align:center;min-width:65px}.concordia-grid td{background:#fff;color:#000;font-size:12px}.concordia-grid td.concordia-diff-positive{color:#ff0000;font-weight:900}.concordia-grid td.concordia-diff-negative{color:#0000ff}.concordia-grid td.concordia-good{background:#ffff00;color:#ff0000;font-weight:900}.concordia-grid td.concordia-bad{background:#ff0000;color:#000;font-weight:900}.concordia-grid td.concordia-pending{color:#526777}.concordia-legacy{margin-top:18px}.concordia-legacy summary{cursor:pointer;color:#9bd3e2;font-weight:800;padding:8px 0}

.concordia-grid{width:max-content;min-width:0}.concordia-grid table{min-width:0!important;width:max-content!important}

/* Tratamento de deslocamentos */
.work-travel-button{background:transparent;border:0;color:inherit;padding:8px 4px;cursor:pointer;font:inherit;min-width:78px;text-align:center}
.work-travel-button:hover,.work-travel-button:focus-visible{outline:1px solid #00bfd5;border-radius:4px}
.work-travel-button small{display:block;font-size:9px;margin-top:4px;font-weight:700}
.work-travel-help{font-size:12px;line-height:1.6;color:#a8c5cd}
.work-pending-filter{display:flex;align-items:center;gap:8px;margin:12px 0;font-size:12px;color:#e0f2f6}.work-pending-filter input{width:auto}
.work-travel-dialog{width:min(740px,94vw);max-height:90vh;overflow:auto;box-sizing:border-box;background:#0b222c;color:#e5f3f7;border:1px solid #318194;border-radius:12px;padding:24px}
.work-travel-dialog::backdrop{background:#000b}
.work-travel-dialog header,.work-travel-dialog footer{display:flex;justify-content:space-between;align-items:start;gap:16px}
.work-travel-dialog h2{font-size:19px;margin:6px 0}
.work-travel-dialog p{line-height:1.5;font-size:13px}
.work-travel-dialog nav{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}
.work-travel-dialog a{color:#76e0f0;text-decoration:underline;font-size:13px}
.work-travel-dialog fieldset{border:1px solid #315460;border-radius:8px;padding:16px;margin:18px 0}
.work-travel-dialog legend{font-size:13px;font-weight:700;padding:0 6px}
.work-travel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.work-travel-grid label{display:flex;flex-direction:column;gap:6px;font-size:12px}
.work-travel-dialog input,.work-travel-dialog textarea{box-sizing:border-box;width:100%;background:#061820;color:#fff;border:1px solid #3d7280;border-radius:4px;padding:9px;min-width:0}
.work-travel-dialog button{cursor:pointer;background:#0b8da3;color:white;border:1px solid #30bbd0;border-radius:5px;padding:9px 12px}
.work-travel-dialog button:disabled{opacity:.5;cursor:wait}
.work-travel-dialog small{display:block;line-height:1.5;margin-top:10px;color:#a8c5cd;font-size:11px}
.work-travel-dialog .work-travel-batch{display:flex;align-items:start;gap:8px;font-size:12px;line-height:1.5;margin-top:14px}
.work-travel-batch input{width:auto;margin-top:3px}
.work-travel-result{background:#153643;border-left:3px solid #50cadc;padding:12px 16px;margin-top:16px}
.work-travel-result strong{font-size:24px}
#travelError{color:#ff9b93}
@media(max-width:560px){.work-travel-grid{grid-template-columns:1fr}.work-travel-dialog{padding:16px}.work-travel-dialog footer{flex-wrap:wrap}}

/* Relatório de fotos: filtros com largura adaptável. */
.photo-report-filters{grid-template-columns:repeat(4,minmax(0,1fr))}.photo-report-filters label{min-width:0}.photo-report-filters label:last-child{grid-column:span 2}@media(max-width:900px){.photo-report-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.photo-report-filters{grid-template-columns:1fr}.photo-report-filters label:last-child{grid-column:auto}}

/* Fundo cinza claro do sistema — 12/10/2026. */
:root { --system-background: #eceff1; }
body, .main, .login-screen { background: var(--system-background); }
.topbar, .module-heading { background: var(--system-background); border-bottom-color: #c7d0d5; color: #243640; }
.module-heading h1 { color: #243640; }
.module-heading #moduleDescription, .topbar .top-user, .topbar .system-status, .module-heading .system-version { color: #52636d; }
.module-heading .eyebrow, .module-heading .heading-clock { color: #006879; }
.module-heading .heading-clock { border-color: #97acb6; }
.available-heading > strong { color: #006879; }
