#menubar button[hidden] { display:none !important; }
.uniform-kpis { grid-template-columns:repeat(5, minmax(0,1fr)); }
.uniform-kpi { position:relative; overflow:hidden; min-height:80px; padding:13px 16px 11px; border:1px solid #a4adb2; border-radius:4px; background:linear-gradient(145deg,#fff,#f4f7f8); box-shadow:var(--sif-shadow); text-align:left; cursor:pointer; font:inherit; }
.uniform-kpi::after { content:''; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg,var(--sif-green),#68bd60); }
.uniform-kpi > b { display:block; color:#173f58; font-size:23px; letter-spacing:-.4px; margin-bottom:5px; }
.uniform-kpi > small { display:block; color:#627683; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.35px; }
.uniform-kpi:hover { border-color:#6f8796; }
.uniform-kpi.active { outline:2px solid #2f6f95; outline-offset:-2px; }
.uniform-kpi-warn { background:linear-gradient(145deg,#fffaf0,#fdf0d2); border-color:#d7b25a; }
.uniform-kpi-warn::after { background:#c48a12; }
.uniform-kpi-warn > b { color:#8a5a00; }
.uniform-kpi-danger { background:linear-gradient(145deg,#fff5f3,#fbe2dd); border-color:#d58b7f; }
.uniform-kpi-danger::after { background:#b8402e; }
.uniform-kpi-danger > b { color:#a33a2c; }
.uniform-head { display:flex; align-items:center; min-height:38px; padding:0 10px; flex:0 0 auto; }
.uniform-head .uniform-views { margin:0; border:0; }
.uniform-head > b { font-size:13px; }
.uniform-ficha-btn { margin-left:6px; min-height:22px; padding:0 9px; font-size:11px; }
.uniform-empty { padding:0; }
.uniform-empty-head { display:flex; align-items:baseline; gap:12px; padding:12px 16px; border-bottom:1px solid #c3ccd2; background:linear-gradient(#f7fafb,#eef3f5); }
.uniform-empty-head b { color:#173f58; font-size:14px; }
.uniform-empty-head span { color:#627683; font-size:12px; }
.uniform-steps { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; padding:16px; }
.uniform-step { position:relative; display:flex; flex-direction:column; gap:6px; padding:16px 16px 14px 60px; border:1px solid #c3ccd2; border-radius:6px; background:#fff; min-height:120px; }
.uniform-step-n { position:absolute; left:16px; top:14px; width:30px; height:30px; border-radius:50%; background:var(--sif-green); color:#fff; font-weight:700; font-size:14px; display:flex; align-items:center; justify-content:center; }
.uniform-step b { color:#173f58; font-size:13px; }
.uniform-step p { margin:0; color:#4f6371; font-size:12px; line-height:1.45; flex:1; }
.uniform-step .uniform-step-acoes { margin:6px 0 0 !important; padding:0 !important; min-height:0 !important; border:0 !important; background:none !important; box-shadow:none !important; }
@media (max-width:900px) { .uniform-steps { grid-template-columns:1fr; } }
.uniform-itens .sif-table-wrap { max-height:55vh; overflow:auto; margin:8px 0; }
.uniform-itens input, .uniform-itens select { width:100%; box-sizing:border-box; padding:5px; }
#modal:has(.uniform-itens) { width:min(1100px, calc(100vw - 24px)); }
.uniform-actions { min-height:36px; padding:4px 6px; margin-bottom:6px; }
.uniform-actions button { min-height:26px; padding:3px 8px; font-size:11px; }
.uniform-actions label { display:flex; align-items:center; gap:6px; font-size:11px; }
.uniform-actions input { min-width:180px; padding:5px; }
.uniform-columns { display:grid; grid-template-columns:1fr 1fr; gap:8px; min-height:0; flex:1 1 auto !important; }
.uniform-columns .sif-panel { min-width:0; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.uniform-columns .sif-table-wrap { min-height:0; flex:1 1 auto; overflow:auto; }
.uniform-low,.uniform-error { color:#a33a2c; }
.uniform-error { margin:7px 0; font-size:12px; }
.uniform-demo { margin:0 0 6px; padding:7px 10px; border:1px solid #d8c486; border-left:3px solid #ae8423; background:#fff9e8; color:#66501d; font-size:11px; }
.uniform-loading { margin:4px 0; font-size:12px; }
.uniform-form { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.uniform-form label { display:flex; flex-direction:column; gap:4px; font-size:12px; font-weight:600; }
.uniform-form input,.uniform-form select { width:100%; box-sizing:border-box; padding:7px; }
.uniform-form label > span { display:block; }
.uniform-form .uniform-wide { grid-column:1/-1; }
.uniform-hint { margin:0; color:#647987; font-size:11px; }
.uniform-form .uniform-entry-only { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; }
.uniform-form .uniform-entry-only[hidden] { display:none; }
.uniform-actions select { padding:4px; }
.uniform-views { margin:6px 6px 0; flex:0 0 auto; }
.uniform-ca-expired { color:#a33a2c; font-weight:700; }
.uniform-ca-soon { color:#9a6a00; font-weight:700; }
@media (max-width:700px) {
  .uniform-columns,.uniform-form,.uniform-form .uniform-entry-only { grid-template-columns:1fr; }
  .uniform-kpis { grid-template-columns:repeat(2, minmax(0,1fr)); }
  .uniform-columns { display:block; }
  .uniform-columns .sif-panel { margin-bottom:8px; }
  .uniform-actions label { width:100%; }
  .uniform-actions input { flex:1; min-width:0; }
}

#sectorbar { display:flex; align-items:flex-end; gap:2px; min-height:30px; padding:0 12px; background:linear-gradient(90deg,#0f344d,#134f70 58%,#185f80); flex:0 0 auto; }
#sectorbar button { min-height:26px; padding:0 18px; border:0; border-radius:4px 4px 0 0; background:rgba(255,255,255,.08); color:rgba(255,255,255,.86); font-size:11.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; cursor:pointer; }
#sectorbar button:hover:not(:disabled) { background:rgba(255,255,255,.18); color:#fff; }
#sectorbar button.active { background:#fff; color:#174f70; box-shadow:inset 0 3px 0 var(--sif-green); }
#sectorbar button.sif-no-access { background:transparent; color:rgba(255,255,255,.38); cursor:not-allowed; }
@media print { #sectorbar { display:none !important; } }

.adm-toolbar { flex-wrap:wrap; row-gap:8px; }
.adm-toolbar .sif-plain-select { max-width:220px; }
.adm-toolbar .adm-search { flex:1 1 260px; min-width:220px; max-width:380px; }
.adm-toolbar .adm-search input { width:100%; }

.adm-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
.adm-grid.adm-grid-expanded { grid-template-columns:minmax(0, 1fr); }
.adm-grid > .adm-ranking-hidden { display:none !important; }
.adm-grid .panel-head > button { flex:0 0 auto; padding:3px 7px; border:1px solid #92a0a6; border-radius:3px; background:#fff; color:#174f70; font-size:11px; cursor:pointer; }
.adm-row-link { cursor:pointer; }

.adm-daily-grid td.adm-sticky { position:static; background:inherit; }
.adm-daily-grid th.adm-sticky { left:auto; }
.adm-daily-grid .adm-day { min-width:40px; padding-left:3px; padding-right:3px; text-align:center; }
.adm-daily-grid td.adm-weekend { background:#f2f4f5; }
.adm-daily-grid tbody tr[data-adm-row] { cursor:pointer; }
.adm-daily-grid tbody tr.selected td.adm-weekend { background:inherit; }

@media (max-width:900px) {
  .adm-grid { grid-template-columns:1fr; }
  .adm-toolbar .sif-plain-select { max-width:none; }
}

.adm-toolbar .adm-field { display:inline-flex; align-items:center; gap:5px; }
.adm-grid .panel-head span { display:flex; flex-direction:column; gap:2px; }
.adm-grid .panel-head small { color:#75858f; font-size:10px; font-weight:400; }

@media (max-width:700px) {
  .adm-toolbar .adm-field, .adm-toolbar .sif-day-filter { display:flex; width:100%; align-items:center; gap:8px; }
  .adm-toolbar .adm-field .sif-tool-label { flex:0 0 92px; }
  .adm-toolbar .adm-field select, .adm-toolbar .sif-day-filter input { flex:1 1 auto; min-width:0; width:auto; max-width:none; }
  .adm-toolbar .adm-search { max-width:none; }
}

#screen-administrativo > .screen-title { height:38px; min-height:38px; max-height:38px; box-sizing:border-box; display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:4px 12px 4px 18px; gap:10px; }
#screen-administrativo > .screen-title b { font-size:13px; line-height:1.15; }
#screen-administrativo > .screen-title span { grid-column:2; font-size:10.5px; line-height:1.15; text-align:center; white-space:nowrap; }
@media (max-width:700px) {
  #screen-administrativo > .screen-title { height:auto; max-height:none; grid-template-columns:1fr; gap:2px; padding:6px 12px 6px 16px; }
  #screen-administrativo > .screen-title span { grid-column:1; text-align:left; white-space:normal; }
}

.adm-resumo-table td, .adm-resumo-table th { vertical-align:middle; }
.adm-resumo-table tbody tr.adm-res-first td { border-top:2px solid #929da3; }
.adm-resumo-table tbody tr.adm-res-group-even .adm-res-equip,.adm-resumo-table tbody tr.adm-res-group-even .adm-res-value { background:#e7f1f5 !important; }
.adm-resumo-table tbody tr.adm-res-group-odd .adm-res-equip,.adm-resumo-table tbody tr.adm-res-group-odd .adm-res-value { background:#f1f5f7 !important; }
.adm-resumo-table tbody tr.adm-res-not-last .adm-res-equip,.adm-resumo-table tbody tr.adm-res-not-last .adm-res-value { border-bottom-color:transparent !important; }
.adm-resumo-table tbody tr:not(.adm-res-first) .adm-res-equip,.adm-resumo-table tbody tr:not(.adm-res-first) .adm-res-value { border-top-color:transparent !important; }
.adm-resumo-table .adm-res-continuation .adm-res-link { visibility:hidden; }
.adm-resumo-table .adm-res-equip, .adm-resumo-table .adm-res-value { text-align:center; }
.adm-resumo-table tbody .adm-res-equip, .adm-resumo-table tbody .adm-res-value { position:relative; }
.adm-resumo-table tbody .adm-res-equip:not(.adm-res-continuation),
.adm-resumo-table tbody .adm-res-value:not(.adm-res-continuation) { z-index:1; }
.adm-resumo-table tbody .adm-res-link,
.adm-resumo-table tbody .adm-res-total {
  display:inline-block;
  transform:translateY(var(--adm-res-group-offset, 0px));
}
.adm-resumo-table tbody .adm-res-value { font-weight:700; }
.adm-resumo-table .adm-res-sum, .adm-resumo-table tfoot .adm-res-value { text-align:right; white-space:nowrap; }
.adm-resumo-table tbody tr:hover td { background:inherit; }
.adm-resumo-table .adm-res-auth { text-align:center; }
.adm-auth-pill { display:inline-block; max-width:190px; padding:2px 9px; border-radius:10px; font-size:11px; font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; vertical-align:middle; line-height:1.35; }
.adm-auth-pill.is-ok { background:#e3f2e5; color:#277234; }
.adm-auth-pill.is-no { background:#fbe3e0; color:#a33a2c; }
.adm-auth-pill.is-wait { background:#fff1d6; color:#8a5a12; }
.adm-auth-pill.is-none { background:#eef1f3; color:#5b6b76; }
.adm-res-link { border:0; background:none; padding:0; font:inherit; font-weight:700; color:#174f70; cursor:pointer; text-align:center; }
.adm-res-link:hover { text-decoration:underline; }

.adm-resumo-table tfoot th { position:sticky; bottom:0; z-index:3; padding:9px 10px; border-top:2px solid var(--sif-green); background:linear-gradient(#f7faf8,#e9f2ec); color:#174f70; font-weight:700; box-shadow:0 -2px 6px rgba(31,58,77,.08); }

#screen-administrativo.active { display:flex; flex-direction:column; overflow:hidden; }
#screen-administrativo.active > * { flex:0 0 auto; }
#screen-administrativo.active > .sif-panel,
#screen-administrativo.active > .adm-grid { flex:1 1 auto; min-height:0; }
#screen-administrativo > .sif-panel { display:flex; flex-direction:column; overflow:hidden; }
#screen-administrativo > .sif-panel > .sif-table-wrap { flex:1 1 auto; min-height:0; max-height:none; }
#screen-administrativo .adm-grid > .sif-panel { display:flex; flex-direction:column; min-height:0; overflow:hidden; }
#screen-administrativo .adm-grid > .sif-panel > .sif-table-wrap { flex:1 1 auto; min-height:0; max-height:none; }
@media (max-width:700px) {
  #screen-administrativo.active { display:block; overflow:auto; }
  #screen-administrativo > .sif-panel > .sif-table-wrap, #screen-administrativo .adm-grid > .sif-panel > .sif-table-wrap { max-height:70vh; }
}

.adm-daily-grid .adm-id { max-width:122px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#screen-administrativo .adm-daily-grid thead th.adm-id[data-filter] { padding-right:9px; }
#screen-administrativo .adm-daily-grid .adm-header-content { display:flex; align-items:center; gap:7px; width:100%; }
#screen-administrativo .adm-daily-grid .adm-header-label {
  display:block; flex:1 1 auto; min-width:0; max-width:110px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
#screen-administrativo .adm-daily-grid thead th.adm-sticky .adm-header-label { max-width:140px; }
#screen-administrativo .adm-daily-grid .adm-header-content > .sif-col-filter-btn {
  position:static; flex:0 0 20px; transform:none; margin:0;
}
.adm-daily-grid td:nth-child(3).adm-id, .adm-daily-grid th:nth-child(3).adm-id { max-width:140px; }
.adm-daily-grid th.adm-sticky, .adm-daily-grid td.adm-sticky { max-width:165px; }
.adm-daily-grid tfoot th { position:sticky; bottom:0; z-index:2; padding:7px 8px; border-top:2px solid var(--sif-green); background:#eef5f0; color:#174f70; font-weight:700; white-space:nowrap; }
.adm-daily-grid tfoot th.adm-sticky { z-index:4; background:#eef5f0; }
.adm-daily-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; }
.adm-daily-head small { font-weight:400; font-size:11px; color:#657784; }

@media (min-width:701px) {
  #screen-administrativo.adm-compact-screen > .screen-title {
    height:30px; min-height:30px; max-height:30px; padding-top:2px; padding-bottom:2px;
  }
  #screen-administrativo.adm-compact-screen > :not(.screen-title) {
    margin-left:6px; margin-right:6px; max-width:calc(100% - 12px);
  }
  #screen-administrativo.adm-compact-screen .adm-toolbar {
    min-height:0; padding:4px 6px; gap:4px 6px; margin-bottom:6px;
  }
  #screen-administrativo.adm-compact-screen .adm-toolbar label { font-size:11px; }
  #screen-administrativo.adm-compact-screen .adm-toolbar .sif-day-filter { margin:0; gap:4px; }
  #screen-administrativo.adm-compact-screen .adm-toolbar input,
  #screen-administrativo.adm-compact-screen .adm-toolbar select,
  #screen-administrativo.adm-compact-screen .adm-toolbar button {
    min-height:27px; height:27px; font-size:11px; padding-top:2px; padding-bottom:2px;
  }
  #screen-administrativo.adm-compact-screen .adm-toolbar .sif-plain-select { max-width:185px; }
  #screen-administrativo.adm-compact-screen .adm-toolbar [data-adm-action^="export-"] { margin-left:auto; }
  #screen-administrativo.adm-compact-screen .adm-toolbar .adm-search { flex-basis:220px; max-width:300px; }
  #screen-administrativo.adm-compact-screen > .sif-acumulado-panel,
  #screen-administrativo.adm-compact-screen > .adm-resumo { padding:6px; margin-bottom:6px; }
  #screen-administrativo.adm-compact-screen .adm-grid { gap:6px; }
  #screen-administrativo.adm-compact-screen .adm-grid > .sif-panel { padding:6px; margin-bottom:6px; }
  #screen-administrativo.adm-compact-screen .adm-grid .panel-head { margin:-6px -6px 6px; padding:6px; }
  #screen-administrativo.adm-compact-screen > .sif-kpis { gap:6px; margin-bottom:6px; }
  #screen-administrativo.adm-compact-screen > .sif-kpis > div { min-height:68px; padding:8px 10px; }
  #screen-administrativo.adm-compact-screen .adm-daily-head { margin-bottom:4px; gap:8px; font-size:11px; }
  #screen-administrativo.adm-compact-screen .adm-daily-head small { font-size:10px; }
  #screen-administrativo.adm-compact-screen .sif-table-filterbar { min-height:30px; padding:2px 6px; }
  #screen-administrativo.adm-compact-screen .sif-table-filterbar input { height:24px; }
}

#screen-administrativo .adm-daily-grid {
  height:auto;
  border-collapse:separate;
  border-spacing:0;
}
#screen-administrativo .adm-daily-grid th,
#screen-administrativo .adm-daily-grid td {
  border-top:0;
  border-left:0;
  border-right:1px solid #a0a8ad;
  border-bottom:1px solid #b8bdc1;
}
#screen-administrativo .adm-daily-grid thead tr,
#screen-administrativo .adm-daily-grid tbody tr,
#screen-administrativo .adm-daily-grid tfoot tr { height:1px; }
#screen-administrativo .adm-daily-grid tbody::after {
  content:'';
  display:table-row;
  height:100%;
}
#screen-administrativo .adm-daily-grid tfoot th {
  left:auto;
  z-index:5;
  background:#edf1f4;
  border:0;
  box-shadow:inset 0 1px 0 #aeb9c0, inset -1px 0 0 #bfc9cf, inset 0 -1px 0 #bfc9cf;
}
#admin-subnav { display:flex; gap:2px; padding:0 18px; min-height:34px; align-items:stretch; background:#f6f9fa; border-bottom:1px solid #b1b8bd; }
#admin-subnav[hidden] { display:none; }
#admin-subnav button { border:0; border-radius:0; background:none; padding:0 12px; min-height:33px; color:#4b6475; font-size:12px; font-weight:600; cursor:pointer; }
#admin-subnav button:hover { color:#105c8f; }
#admin-subnav button.active { color:#0e4d23; box-shadow:inset 0 -3px 0 var(--sif-green); }
body:not(.sgo-admin-mode) #admin-subnav { display:none; }
.rh-sub { display:block; font-weight:400; color:#647987; font-size:10px; }
.rh-num { text-align:right; white-space:nowrap; }
.adm-resumo-table th.rh-day, .adm-resumo-table td.rh-day { min-width:30px; width:30px; padding-left:3px; padding-right:3px; text-align:center; }
th.rh-day small { display:block; font-weight:400; font-size:9px; color:#7b8d99; text-transform:lowercase; }
th.rh-weekend small { color:#a33a2c; }
.rh-adjusted { color:#8a5a12; font-weight:700; }
td.rh-adjusted::after { content:' *'; }
.rh-actions { text-align:center; white-space:nowrap; }
.rh-actions button { min-height:22px; padding:1px 6px; }
.rh-note { margin:4px 2px; color:#647987; font-size:11px; }
.rh-cad-table td { padding:4px 8px; }
#modal:has(.rh-aprop-form) { width:min(1400px, calc(100vw - 24px)); }
#civil-marca label[hidden] { display:none !important; }
.rh-grid-wrap { max-height:60vh; overflow:auto; }
.rh-grid th, .rh-grid td { padding:2px 3px; }
.rh-grid input { width:100%; box-sizing:border-box; padding:3px 4px; font-size:12px; }
.rh-grid .rh-in-centro, .rh-grid .rh-in-plano { min-width:200px; }
.rh-grid .rh-in-tarefa { min-width:150px; }
.rh-grid td.rh-day input { width:38px; text-align:center; }
.rh-grid .rh-total-row td, .rh-grid .rh-oc-row td { background:#f4f7f9; }
.rh-grid input.rh-bad { border-color:#a33a2c; background:#fdeceb; }
.rh-obs { display:flex; flex-direction:column; gap:4px; margin-top:8px; font-size:12px; font-weight:600; }
.rh-obs textarea { width:100%; box-sizing:border-box; }
.rh-aprop-table td.rh-tarefa { max-width:220px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.adm-daily-grouped td.adm-daily-activity { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.adm-daily-grouped td.adm-res-sum { text-align:right; white-space:nowrap; }
.adm-daily-grouped td.adm-same { border-top-color:transparent !important; }
.adm-daily-grouped tbody tr:has(+ tr td.adm-same) td:nth-child(3), .adm-daily-grouped tbody tr:has(+ tr td.adm-same:nth-child(4)) td:nth-child(4) { border-bottom-color:transparent !important; }
.adm-daily-grouped td.adm-merge-head { position:relative; z-index:1; text-align:center; }
.adm-daily-grouped .adm-merge-label { display:inline-block; transform:translateY(var(--adm-res-group-offset, 0px)); }
.rh-origem { display:inline-block; margin-left:4px; padding:0 5px; border-radius:8px; background:#e3f0f7; color:#1d5c80; font-size:9px; font-weight:700; text-transform:uppercase; }
.rh-aprop-head { display:flex; flex-wrap:wrap; gap:6px 18px; margin:0 0 8px; padding:6px 10px; border:1px solid #b1b8bd; border-radius:4px; background:#f6f9fa; font-size:12px; color:#33495a; }
.rh-grid { border-collapse:separate; border-spacing:0; }
.rh-grid th.rh-what, .rh-grid td.rh-what { position:sticky; left:0; z-index:2; min-width:260px; max-width:300px; background:#fff; text-align:left; }
.rh-grid thead th.rh-what { z-index:3; background:#eef3f6; }
.rh-grid td.rh-what b { display:block; font-size:12px; }
.rh-grid td.rh-what small { display:block; color:#647987; font-size:10.5px; }
.rh-grid td.rh-what input { display:block; margin:1px 0; }
.rh-grid td.rh-what .rh-origem { margin:2px 0 0; }
.rh-grid tr.rh-locked td { background:#f7fafc; color:#3f5566; }
.rh-grid tr.rh-locked td.rh-what { background:#f7fafc; }
.rh-grid td.rh-h-locked { text-align:center; font-weight:700; }
.rh-grid tr.rh-section td { padding:6px 8px 3px; background:#fff !important; border:0; color:#174f70; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
.rh-grid tr.rh-add td { background:#fff; border:0; }
.rh-grid tr.rh-total-row td { font-weight:700; border-top:2px solid #929da3; }
.rh-grid td.rh-over { color:#a33a2c; }
.rh-grid th.rh-weekend, .rh-grid td.rh-weekend { background:#f4f5f6; }
.rh-grid tr.rh-total-row td.rh-what, .rh-grid tr.rh-oc-row td.rh-what { background:#f4f7f9; }
.rh-siglas { display:flex; flex-wrap:wrap; gap:4px 10px; margin:6px 0 0; font-size:10.5px; color:#647987; }
.rh-siglas b { color:#174f70; }
.rh-grid { table-layout:fixed; width:100%; }
.rh-grid th.rh-what, .rh-grid td.rh-what { width:300px; min-width:300px; max-width:300px; position:sticky; }
.rh-grid td.rh-what b, .rh-grid td.rh-what small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rh-grid th.rh-day, .rh-grid td.rh-day { width:auto; min-width:0; padding:2px; text-align:center; }
.rh-grid th:last-child, .rh-grid td.rh-row-total, .rh-grid #rh-total-all { width:56px; text-align:right; padding-right:8px; }
.rh-grid td.rh-day input { width:100%; min-width:0; height:26px; padding:0; border:1px solid #b6bdc2; border-radius:3px; background:#fff; text-align:center; font-size:12px; }
.rh-grid td.rh-day input:focus { border-color:#2f8f3a; outline:none; box-shadow:0 0 0 2px rgba(47,143,58,.15); }
.rh-grid td.rh-what { position:sticky; }
.rh-grid td.rh-what .rh-del-row { float:right; margin:0 0 2px 4px; }
.rh-grid tr.rh-section .rh-siglas { display:inline-flex; margin:0 0 0 12px; text-transform:none; font-weight:400; letter-spacing:0; }
.rh-grid tr.rh-add td { padding:4px 8px; }
.rh-grid tr.rh-total-row[hidden] { display:none; }
.rh-grid th.rh-day .rh-jor { color:#2f6f3a; font-weight:700; }
.rh-grid th.rh-weekend .rh-jor { color:#a33a2c; }
.rh-grid td.rh-h-locked.rh-over, .rh-grid input.rh-in-h.rh-over { color:#a33a2c; background:#fdeceb; }
.rh-grid input.rh-in-sigla { text-transform:uppercase; font-weight:700; color:#174f70; }
.rh-grid input.rh-in-sigla.rh-bad { border-color:#a33a2c; background:#fdeceb; }
.rh-fech-table td.rh-merge { text-align:center; }
.rh-fech-table td.adm-merge-head { position:relative; z-index:1; }
.rh-fech-table .adm-merge-label { display:inline-block; transform:translateY(var(--adm-res-group-offset, 0px)); }
.rh-fech-table td.adm-same { border-top-color:transparent !important; }
.rh-fech-table tbody tr:has(+ tr td.adm-same) td.rh-merge { border-bottom-color:transparent !important; }
.rh-aprop-table td.rh-day-click { cursor:pointer; }
.rh-aprop-table td.rh-day-click:hover { outline:2px solid #2f8f3a; outline-offset:-2px; }
.rh-marca { display:block; margin:1px auto 0; padding:0 3px; border-radius:3px; background:#174f70; color:#fff; font-size:9px; font-weight:700; line-height:14px; white-space:nowrap; }
.rh-origem.rh-auto { background:#eef2e4; color:#4a6a1d; }
.rh-aprop-table tr.rh-row-auto td:not(.adm-res-equip):not(.adm-res-value) { color:#5d6f52; font-style:italic; }
.rh-aprop-table tr.rh-row-auto td.adm-res-sum b { font-weight:600; }
.rh-aprop-table tr.rh-row-auto .rh-origem { font-style:normal; }
.rh-aprop-table { table-layout:fixed; width:100% !important; min-width:0 !important; }
.rh-aprop-table col.rh-c-colab { width:16%; }
.rh-aprop-table col.rh-c-horas { width:6%; }
.rh-aprop-table col.rh-c-centro { width:10%; }
.rh-aprop-table col.rh-c-plano { width:8%; }
.rh-aprop-table col.rh-c-tarefa { width:10%; }
.rh-aprop-table col.rh-c-total { width:4.5%; }
.rh-aprop-table th, .rh-aprop-table td { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.rh-aprop-table th { padding-left:4px; padding-right:4px; }
.rh-aprop-table td.adm-res-equip, .rh-aprop-table td.adm-res-value { white-space:normal; overflow:visible; }
.rh-aprop-table th.rh-day, .rh-aprop-table td.rh-day { min-width:0 !important; width:auto !important; padding:2px 1px !important; font-size:11px; }
.rh-aprop-table td .rh-origem { display:none; }
.rh-aprop-table td.adm-res-sum { padding-right:4px; }
.rh-aprop-table tbody td { padding-top:3px !important; padding-bottom:3px !important; font-size:12px; line-height:1.25; }
.rh-aprop-table td.adm-res-equip .adm-res-link { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
.rh-aprop-table td.adm-res-equip, .rh-aprop-table td.adm-res-value { white-space:nowrap; }
.rh-aprop-table td.rh-day { position:relative; overflow:visible; }
.rh-aprop-table .rh-marca { position:absolute; top:0; right:0; margin:0; padding:0 2px; border-radius:0 0 0 3px; font-size:8px; line-height:11px; }
.rh-aprop-table ~ .sif-table-filterbar, .adm-resumo .sif-table-filterbar:has(+ table.rh-aprop-table), .sif-table-wrap:has(.rh-aprop-table) .sif-table-filterbar { min-height:0 !important; height:auto !important; padding-top:2px !important; padding-bottom:2px !important; }
.sif-table-wrap:has(.rh-aprop-table) .sif-table-filterbar input { height:24px; min-height:24px; }
.sif-table-wrap:has(.rh-aprop-table) .sif-table-filterbar button { min-height:22px; padding-top:1px; padding-bottom:1px; }
.rh-aprop-table tbody td.rh-has-marca { padding-top:11px !important; padding-bottom:0 !important; vertical-align:bottom; }
.rh-aprop-table .rh-marca { left:0; right:0; border-radius:0; text-align:center; }
.sif-table-wrap:has(.rh-aprop-table) .sif-table-filterbar { display:none !important; }
#rh-marca-form label[hidden] { display:none !important; }
.rh-aprop-table.rh-mes col.rh-c-colab { width:12%; }
.rh-aprop-table.rh-mes col.rh-c-horas { width:4.5%; }
.rh-aprop-table.rh-mes col.rh-c-centro { width:7%; }
.rh-aprop-table.rh-mes col.rh-c-plano { width:6.5%; }
.rh-aprop-table.rh-mes col.rh-c-tarefa { width:6.5%; }
.rh-aprop-table.rh-mes col.rh-c-total { width:3.5%; }
.rh-aprop-table.rh-mes th.rh-day, .rh-aprop-table.rh-mes td.rh-day { font-size:10px; padding:2px 0 !important; }
.rh-aprop-table.rh-mes th.rh-day small { font-size:8px; }
table.data-table th, table.data-table td, table.dt th, table.dt td, table.all-equip th, table.all-equip td { border-color:#929ea7 !important; }
table.data-table thead th, table.dt thead th, table.all-equip thead th { border-bottom:2px solid #8fa3b0 !important; }
table.data-table tbody tr.adm-res-first td { border-top:2px solid #8fa3b0 !important; }
#modal:has(#civil-pick), #modal:has(#civil-pick) #modal-body, #modal:has(#civil-pick) .modal-body { overflow:visible !important; }
#civil-pick .sif-search-options { max-height:320px; z-index:50; }
#civil-form .rh-what .sif-search-select { margin:1px 0; }
#civil-form .rh-what .sif-search-select > input { min-height:26px; padding-top:2px; padding-bottom:2px; font-size:12px; }
#civil-form .sif-search-options { z-index:60; }
.rh-grid-wrap:has(#civil-body) { overflow:visible; max-height:none; }

.civil-prev { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.civil-prev span { display:flex; flex-direction:column; gap:2px; padding:6px 8px; border:1px solid var(--line, #c9ced6); border-radius:6px; min-width:0; }
.civil-prev small { color:var(--muted, #6b7280); font-size:11px; }
.civil-prev b { font-weight:500; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.civil-tipo { display:block; font-size:11px; }
#modal:has(.civil-dia) { width:min(980px, calc(100vw - 24px)); }
.civil-dia-tabela { width:100%; table-layout:fixed; border-collapse:collapse; }
.civil-dia-tabela td, .civil-dia-tabela th { vertical-align:middle; padding:6px 8px; text-align:left; }
.civil-dia-tabela .civil-dia-h { width:110px; text-align:center; }
.civil-dia-tabela .civil-dia-h input { width:80px; text-align:center; }
.civil-dia-ativ .civil-tipo { display:block; margin-bottom:2px; }
.civil-dia-txt { display:block; white-space:normal; line-height:1.35; }
.civil-dia-ativ { position:relative; }
.civil-dia-campos { display:grid; grid-template-columns:1fr 1fr; gap:6px; padding-right:34px; }
.civil-dia-campos > * { min-width:0; width:100%; margin:0; }
.civil-dia-ativ .rh-del-row { position:absolute; top:6px; right:8px; }
.civil-dia-oc { margin-top:12px; }
.civil-dia-oc label[hidden] { display:none !important; }
.civil-dia-acoes { float:right; display:flex; gap:6px; margin-left:8px; }
.civil-dia-acoes button { font-size:12px; padding:2px 8px; }
.civil-dia-acoes .civil-remover { color:#b42318; }
.civil-removida .civil-dia-txt, .civil-removida .civil-dia-campos { text-decoration:line-through; opacity:.55; }
.adm-res-link.civil-nome { cursor:default; }
#uniform-form-error button { margin-left:6px; padding:2px 8px; font-size:11px; }
#menubar .admin-group-btn.sif-no-access, #menubar button[data-admin-nav].sif-no-access, #admin-subnav button.sif-no-access { opacity:.45; cursor:not-allowed; }
#admin-subnav button.sif-no-access:hover { color:#4b6475; }
#admin-subnav2 { display:flex; gap:2px; padding:0 18px; min-height:30px; align-items:stretch; background:#fbfcfd; border-bottom:1px solid #b1b8bd; }
#admin-subnav2[hidden] { display:none; }
body:not(.sgo-admin-mode) #admin-subnav2 { display:none; }
#admin-subnav2 button { border:0; border-radius:0; background:none; padding:0 12px; min-height:29px; color:#4b6475; font-size:12px; font-weight:600; cursor:pointer; }
#admin-subnav2 button:hover { color:#105c8f; }
#admin-subnav2 button.active { color:#0e4d23; box-shadow:inset 0 -3px 0 var(--sif-green); }
#admin-subnav2 button.sif-no-access { opacity:.45; cursor:not-allowed; }
.rh-lotacao { display:grid; grid-template-columns:1fr 1fr 1fr; gap:10px; }
.rh-lotacao[hidden] { display:none; }
.rh-lotacao .rh-note { grid-column:1/-1; margin:0; }


.sst-titulo { margin:4px 2px 8px; color:#627683; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.4px; }
.sst-mov { margin-top:14px; display:flex; flex-direction:column; }
.sst-mov-head { justify-content:space-between; gap:12px; flex-wrap:wrap; }
.sst-periodo { display:flex; gap:10px; align-items:center; }
.sst-periodo label { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:600; color:#4e6573; }
.sst-nums { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); border-bottom:1px solid #d5dde1; background:#f7fafb; }
.sst-num { padding:12px 16px; border-left:1px solid #dfe6ea; }
.sst-num:first-child { border-left:0; }
.sst-num > b { display:block; color:#173f58; font-size:22px; line-height:1.1; }
.sst-num.in > b { color:#2f7d32; }
.sst-num.out > b { color:#2f6f95; }
.sst-num > small { display:block; margin-top:3px; color:#627683; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.3px; }
.uniform-quick-chip { padding:4px 10px; border-radius:999px; background:#e9f3f8; color:#174e6d; font-size:12px; font-weight:700; }
@media (max-width: 900px) { .sst-nums { grid-template-columns:repeat(2, minmax(0,1fr)); } .sst-num { border-left:0; border-top:1px solid #dfe6ea; } }
.sst-mov-head .toolbar.sst-periodo { border:0; background:none; box-shadow:none; padding:4px 0; margin:0; min-height:0; }

.sst-sub { margin-left:10px; color:#6b7f8a; font-size:12px; font-weight:400; }
.sst-tag { display:inline-block; margin-left:4px; padding:1px 6px; border-radius:9px; background:#eef2f4; color:#4e6573; font-size:10.5px; font-weight:600; }
.sst-sit { display:inline-block; padding:2px 8px; border-radius:9px; font-size:11px; font-weight:700; white-space:nowrap; }
.sst-sit.ok { background:#e3f3de; color:#2f6d22; }
.sst-sit.pend { background:#fdf0d2; color:#8a5a00; }
.sst-sit.sem { background:#eef2f4; color:#6b7f8a; }
.sst-itens { font-size:12px; line-height:1.5; }
.sst-linha { display:grid; grid-template-columns:2.2fr .8fr .8fr 1fr auto; gap:6px; margin-bottom:6px; }
.sst-linha input { min-width:0; }
.sst-previa ul { margin:8px 0; padding-left:18px; line-height:1.6; }
.sst-previa details { margin-top:8px; }
.sst-previa table { margin-top:6px; font-size:12px; }
#screen-administrativo:has(.sst-mov) { overflow-y:auto; }
#screen-administrativo .sst-mov { flex:0 0 auto !important; min-height:auto !important; height:auto !important; }
#screen-administrativo .sst-mov .sif-table-wrap { flex:0 0 auto; min-height:120px; max-height:380px; overflow:auto; }
