@font-face{font-family:"Josefin Sans";src:url("/static/josefin-sans-400.ttf") format("truetype");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Josefin Sans";src:url("/static/josefin-sans-600.ttf") format("truetype");font-weight:500 600;font-style:normal;font-display:swap}
@font-face{font-family:"Josefin Sans";src:url("/static/josefin-sans-700.ttf") format("truetype");font-weight:700 900;font-style:normal;font-display:swap}
html,body,body *,button,input,select,textarea{font-family:"Josefin Sans",sans-serif!important}
a:visited{color:inherit!important}
html[data-theme="github"]{--bg-page:#0d1117;--bg-panel:#161b22;--bg-panel-2:#0d1117;--bg-elevated:#21262d;--border:#30363d;--border-strong:#484f58;--table-border:#30363d;--tab-separator:rgba(255,204,0,.48);--text-primary:#e7e3d1;--text-secondary:#b1bac4;--text-muted:#8b949e;--accent-blue:#58a6ff;--accent-blue-soft:rgba(88,166,255,.15);--selection-bg:rgba(255,204,0,.38);--selection-text:#e7e3d1;--scroll-thumb:#484f58;--scroll-thumb-hover:#6e7681;--scroll-track:#010409;--btn-hover-bg:#30363d}
html[data-theme="github"] body{--bg:#0d1117;--panel:#161b22;--panel2:#0d1117;--border:#30363d;--text:#e7e3d1;--muted:#8b949e;background:#0d1117;color:#e7e3d1}
html[data-theme="github"] .topbar{background:#010409!important;border-color:#30363d!important}
html[data-theme="github"] .sidebar,html[data-theme="github"] aside{background:#0d1117}
html[data-theme="github"] .profile-panel{background:#161b22;border-color:#30363d;box-shadow:0 18px 45px rgba(1,4,9,.72)}
html[data-theme="github"] .profile-item:hover{background:#21262d!important}
html[data-theme="github"] .theme-toggle{background:#0d1117!important;border-color:#484f58!important}
html[data-theme="github"] .theme-toggle-btn{background:#0d1117!important;color:#8b949e!important}
html[data-theme="github"] .theme-toggle-btn:hover{background:#21262d!important;color:#e7e3d1!important}
html[data-theme="github"] .theme-toggle-btn.active,html[data-theme="github"] .theme-toggle-btn.active:hover{background:#ffcc00!important;color:#1a1508!important}
html[data-theme="github"] input:focus,html[data-theme="github"] select:focus,html[data-theme="github"] textarea:focus{outline:2px solid #ffcc00!important;outline-offset:-1px;border-color:#ffcc00!important;box-shadow:none!important}
html[data-theme="github"] button:focus-visible,html[data-theme="github"] a:focus-visible,html[data-theme="github"] [role="button"]:focus-visible{outline:2px solid #8b949e!important;outline-offset:2px;box-shadow:none!important}
html[data-theme="github"] .dropdown.open>button,html[data-theme="github"] .multi-select.open>button,html[data-theme="github"] .plant-dd.open .plant-dd-btn{border-color:#ffcc00!important;box-shadow:0 0 0 1px rgba(255,204,0,.28)!important}
html[data-theme="github"] button:hover,html[data-theme="github"] .btn:hover{border-color:#6e7681!important}
html[data-theme="github"] button.primary,html[data-theme="github"] .btn-primary,html[data-theme="github"] .primary.btn{background:#30363d!important;border-color:#6e7681!important;color:#e7e3d1!important;box-shadow:none!important}
html[data-theme="github"] button.primary:hover,html[data-theme="github"] .btn-primary:hover,html[data-theme="github"] .primary.btn:hover{background:#484f58!important;border-color:#8b949e!important;color:#e7e3d1!important}
html[data-theme="github"] button.primary[type="submit"],html[data-theme="github"] #btnGeneralDetailsSave,html[data-theme="github"] #btnClassModalSave,html[data-theme="github"] #btnGrupoSalvar,html[data-theme="github"] #btnAddRecordSave,html[data-theme="github"] .obs-note-edit-save{background:#ffcc00!important;border-color:#ffcc00!important;color:#1a1508!important}
html[data-theme="github"] button.primary[type="submit"]:hover,html[data-theme="github"] #btnGeneralDetailsSave:hover,html[data-theme="github"] #btnClassModalSave:hover,html[data-theme="github"] #btnGrupoSalvar:hover,html[data-theme="github"] #btnAddRecordSave:hover,html[data-theme="github"] .obs-note-edit-save:hover{background:#ffd84d!important;border-color:#ffd84d!important;color:#1a1508!important}
html[data-theme="github"] .dd-item:hover,html[data-theme="github"] .dd-item.active,html[data-theme="github"] .plant-dd-item:hover,html[data-theme="github"] .plant-dd-item.active{background:#30363d!important;color:#e7e3d1!important}
html[data-theme="github"] .dd-panel label:hover,html[data-theme="github"] .filter-option:hover,html[data-theme="github"] .multi-filter-option:hover{background:#21262d!important}
html[data-theme="github"] .dd-panel input[type="checkbox"],html[data-theme="github"] .multi-filter-option input,html[data-theme="github"] .class-filter-panel input[type="checkbox"]{accent-color:#8b949e!important}
html[data-theme="github"] .multi-filter-btn.has-values{border-color:#6e7681!important;background:#21262d!important;color:#e7e3d1!important}
html[data-theme="github"] .upload-label:hover,html[data-theme="github"] .kpi:hover{border-color:#6e7681!important}
html[data-theme="github"] .history-site-link:hover,html[data-theme="github"] .history-site-link:focus,html[data-theme="github"] #gameTable td.game-site a:hover{color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;background:rgba(177,186,196,.12)!important}
html[data-theme="github"] .dash-summary tbody tr:hover,html[data-theme="github"] #gameTable tbody tr:hover{background:rgba(177,186,196,.10)!important;box-shadow:inset 3px 0 0 #6e7681!important}
html[data-theme="github"] table tbody tr:nth-child(odd){background:#0d1117!important}
html[data-theme="github"] table tbody tr:nth-child(even){background:#161b22!important}
html[data-theme="github"] table tbody tr:hover,html[data-theme="github"] table tbody tr:nth-child(even):hover{background:#21262d!important;box-shadow:inset 3px 0 0 #6e7681!important}
html[data-theme="github"] .pie-seg,html[data-theme="github"] .general-status-slice{stroke:#30363d!important}
html[data-theme="github"] .donut-track,html[data-theme="github"] .class-donut-track{stroke:#30363d!important}
html[data-theme="github"] .modal,html[data-theme="github"] .details-section,html[data-theme="github"] .details-metric{border-color:#30363d!important}
html[data-theme="github"] .modal{background:#161b22!important;box-shadow:0 22px 56px rgba(1,4,9,.76)!important}
html[data-theme="github"] .details-section{background:#0d1117!important}
html[data-theme="github"] .details-metric{background:#161b22!important}
html[data-theme="github"] .details-section-title{color:#ffcc00!important}
html[data-theme="github"] .details-metric b{color:#e7e3d1!important}
html[data-theme="github"] .modal input,html[data-theme="github"] .modal select,html[data-theme="github"] .modal textarea{border-color:#484f58!important;background:#0d1117!important}
html[data-theme="github"] .modal input:hover,html[data-theme="github"] .modal select:hover,html[data-theme="github"] .modal textarea:hover{border-color:#6e7681!important}
html[data-theme="github"] .obs-note-editing{border-color:#ffcc00!important}
/* GitHub: azul fica reservado aos dados/categorias e aos cartões de um
   único quantitativo. Estrutura de dashboards usa cinza + títulos SHD. */
html[data-theme="github"] .panel:not(.kpi),
html[data-theme="github"] .dashboard-chart-panel,
html[data-theme="github"] .game-chart-panel,
html[data-theme="github"] .game-table-panel{
  border-color:#30363d!important;
  background:#161b22!important;
  box-shadow:none!important;
}
html[data-theme="github"] .panel:not(.kpi)>h2,
html[data-theme="github"] .panel:not(.kpi) .grupo-panel-head h2,
html[data-theme="github"] .dashboard-chart-panel h2,
html[data-theme="github"] .game-chart-panel h2,
html[data-theme="github"] .game-table-panel h2{
  color:#ffcc00!important;
}
/* Mesmo tratamento compacto para todo nome de planta navegável. */
html[data-theme="github"] a.plant-dashboard-link,
html[data-theme="github"] a.plant-dashboard-link:link,
html[data-theme="github"] a.plant-dashboard-link:visited,
html[data-theme="github"] #gameTable td.game-site a,
html[data-theme="github"] #gameTable td.game-site a:link,
html[data-theme="github"] #gameTable td.game-site a:visited,
html[data-theme="github"] .history-site-link{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  border:1px solid transparent!important;border-radius:7px!important;
  background:transparent!important;text-decoration:none!important;
  opacity:1!important;
}
html[data-theme="github"] a.plant-dashboard-link:hover,
html[data-theme="github"] a.plant-dashboard-link:focus-visible,
html[data-theme="github"] #gameTable td.game-site a:hover,
html[data-theme="github"] #gameTable td.game-site a:focus-visible,
html[data-theme="github"] .history-site-link:hover,
html[data-theme="github"] .history-site-link:focus-visible{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  border-color:#484f58!important;background:#30363d!important;
  box-shadow:none!important;outline:none!important;
}
/* Links de plantas: o hover envolve somente o nome, nunca a célula. */
a.plant-dashboard-link,
td.game-site a,
td.class-plant-name a,
td.site a,
.history-site-link{
  display:inline-flex!important;width:auto!important;max-width:100%;min-width:0!important;
  align-items:center;padding:5px 7px!important;border:1px solid transparent!important;
  border-radius:7px!important;box-sizing:border-box;text-decoration:none!important;
  transition:background .15s,border-color .15s,color .15s!important;
}
/* Visão Geral do Service: hierarquia neutra própria no tema GitHub. */
html[data-theme="github"] body.service-overview .grid>.panel:not(.kpi)>h2,
html[data-theme="github"] body.service-overview .grid>.panel:not(.kpi) .table-head h2{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  text-shadow:0 1px 8px rgba(231,227,209,.08)!important;
}
html[data-theme="github"] body.service-overview .sensor-panel{
  align-items:start!important;
}
html[data-theme="github"] body.service-overview .sensor-panel>div:first-child>h2{
  align-self:flex-start;margin-top:0!important;
}
html[data-theme="github"] body.service-overview .sensor-panel>.legend{align-self:center!important}
html[data-theme="github"] body.service-overview .table-wrap,
html[data-theme="github"] body.service-overview table,
html[data-theme="github"] body.service-overview thead,
html[data-theme="github"] body.service-overview th{
  border-color:#30363d!important;
}
html[data-theme="github"] body.service-overview th{
  background:#21262d!important;color:#b1bac4!important;
}
/* Compatibilidade com páginas de Visão Geral já geradas/em memória. */
html[data-theme="github"] .sensor-panel>div:first-child>h2,
html[data-theme="github"] .grid>.panel.table-panel .table-head h2{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  text-shadow:0 1px 8px rgba(231,227,209,.08)!important;
}
html[data-theme="github"] .topbar .title,
html[data-theme="github"] .topbar .brand-title,
html[data-theme="github"] .brand-title,
html[data-theme="github"] .profile-name,
html[data-theme="github"] .profile-item:hover,
html[data-theme="github"] .profile-trigger,
html[data-theme="github"] .profile-avatar-wrap,
html[data-theme="github"] .pie-slice-label{
  color:#e7e3d1!important;fill:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
}
html[data-theme="github"] .sensor-panel{align-items:start!important}
html[data-theme="github"] .sensor-panel>div:first-child>h2{align-self:flex-start;margin-top:0!important}
html[data-theme="github"] .sensor-panel>.legend{align-self:center!important}
html[data-theme="github"] .grid>.panel.table-panel th{background:#21262d!important;color:#b1bac4!important;border-color:#30363d!important}
/* Títulos do GitHub: creme suave do tema claro. As cores saturadas ficam
   reservadas aos dados, gráficos, estados e quantitativos. */
html[data-theme="github"] .panel:not(.kpi)>h1,
html[data-theme="github"] .panel:not(.kpi)>h2,
html[data-theme="github"] .panel:not(.kpi)>h3,
html[data-theme="github"] .panel:not(.kpi) .grupo-panel-head h2,
html[data-theme="github"] .dashboard-chart-panel h2,
html[data-theme="github"] .game-chart-panel h2,
html[data-theme="github"] .game-table-panel h2,
html[data-theme="github"] .table-head h2,
html[data-theme="github"] .modal h1,
html[data-theme="github"] .modal h2,
html[data-theme="github"] .modal h3,
html[data-theme="github"] .details-section-title,
html[data-theme="github"] .summary-responsible-block h3,
html[data-theme="github"] .dash-side-title{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  text-shadow:0 1px 8px rgba(231,227,209,.08)!important;
}
html[data-theme="github"] body.service-overview .grid>.panel:not(.kpi)>h2,
html[data-theme="github"] body.service-overview .grid>.panel:not(.kpi) .table-head h2,
html[data-theme="github"] .sensor-panel>div:first-child>h2,
html[data-theme="github"] .grid>.panel.table-panel .table-head h2{
  color:#e7e3d1!important;-webkit-text-fill-color:#e7e3d1!important;
  text-shadow:0 1px 8px rgba(231,227,209,.08)!important;
}
a.plant-dashboard-link:hover,
a.plant-dashboard-link:focus-visible,
td.game-site a:hover,
td.game-site a:focus-visible,
td.class-plant-name a:hover,
td.class-plant-name a:focus-visible,
td.site a:hover,
td.site a:focus-visible,
.history-site-link:hover,
.history-site-link:focus-visible{
  border-color:var(--border-strong,#484f58)!important;
  background:var(--btn-hover-bg,rgba(127,127,127,.12))!important;
}
.topbar .title,.topbar .title:visited,.topbar .brand-title,.topbar .brand-title:visited,.brand-title,.brand-title:visited{color:#eef2f8!important}
.tag,.class-tag,.sidebar-tag{align-items:center!important;justify-content:center!important;line-height:1!important;padding-top:3px!important;padding-bottom:2px!important}
.class-tag .tag-svg,.sidebar-tag .tag-svg{align-self:center;transform:translateY(-.2px)}
.pie-seg,.general-status-slice{stroke:#284663!important;stroke-width:3px!important}.donut-track{stroke-width:42!important}.donut-segment{stroke-width:36!important}.donut-segment:hover{stroke-width:40!important}.class-donut-track{stroke-width:34!important}.class-donut-segment{stroke-width:28!important}.class-donut-segment:hover{stroke-width:32!important}html[data-theme="light"] .pie-seg,html[data-theme="light"] .general-status-slice{stroke:#fff!important}html[data-theme="light"] .donut-track,html[data-theme="light"] .class-donut-track{stroke:#fff!important}
.profile-menu{position:relative;flex:none;margin-left:auto}
.profile-trigger{width:36px;height:36px;padding:0!important;border:0!important;border-radius:50%!important;background:var(--profile-color,#3987e5)!important;color:#fff!important;display:grid!important;place-items:center!important;overflow:hidden;cursor:pointer;transition:filter .15s,transform .15s}
.profile-trigger:hover,.profile-menu.open .profile-trigger{filter:brightness(1.12);transform:translateY(-1px)}
.profile-avatar,.profile-avatar-large{width:100%;height:100%;object-fit:cover;display:none}
.profile-initial{font-size:15px;font-weight:800;line-height:1;text-transform:uppercase}
.profile-panel{display:none;position:absolute;right:0;top:calc(100% + 9px);z-index:1000;width:232px;padding:9px;background:#0b1626;border:1px solid rgba(255,255,255,.16);border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.48);color:#eef2f8}
.profile-menu.open .profile-panel{display:block}
.profile-head{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:10px;padding:5px 6px 10px}
.profile-avatar-wrap{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--profile-color,#3987e5);color:#fff;border:0;position:relative;cursor:pointer}
.profile-avatar-wrap .profile-initial{grid-area:1/1;font-size:18px}.profile-avatar-large{grid-area:1/1}
.profile-menu.has-avatar .profile-trigger>.profile-initial,.profile-menu.has-avatar .profile-avatar-wrap>.profile-initial{display:none}
.avatar-upload-overlay{grid-area:1/1;position:absolute!important;inset:0;z-index:3;width:100%!important;min-height:0!important;padding:0!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:rgba(70,74,80,.48)!important;color:rgba(225,229,235,.76)!important;opacity:0;transition:opacity .15s;cursor:pointer!important}
.profile-avatar-wrap:hover .avatar-upload-overlay{opacity:1}.avatar-upload-overlay svg{width:19px!important;height:19px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.3!important;opacity:.82;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}.avatar-upload-overlay input{display:none!important}
.profile-name{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-user{margin-top:1px;color:#9fb0c8;font-size:10.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-identity-link{cursor:pointer;border-radius:4px;outline:none;text-decoration:none!important;transition:filter .15s,opacity .15s}.profile-identity-link:hover,.profile-identity-link:focus-visible{color:inherit;text-decoration:none!important;filter:brightness(1.25);opacity:.88}.profile-role{margin-top:2px;color:#ffcc00;font-size:9px;font-weight:700;letter-spacing:.5px}
.profile-divider{height:1px;margin:5px 3px;background:rgba(255,255,255,.12)}
.profile-item{width:100%;min-height:34px;padding:7px 8px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#c5d1e1!important;display:flex!important;align-items:center!important;gap:10px!important;font-size:12.5px!important;font-weight:600!important;text-decoration:none!important;text-align:left;cursor:pointer}
.profile-item:hover{background:#16283f!important;color:#fff!important}.profile-item svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.profile-upload input{display:none}.profile-logout-form{margin:0}.profile-uploading{opacity:.55;pointer-events:none}
.profile-appearance{display:grid!important;grid-template-columns:16px minmax(0,1fr) auto!important;box-sizing:border-box!important;overflow:hidden;cursor:default}.profile-appearance:hover{background:transparent!important;color:#c5d1e1!important}.profile-appearance .theme-toggle{margin-left:auto;margin-right:4px;transform:scale(.78);transform-origin:right center}.profile-appearance-label{white-space:nowrap}
.theme-github-btn img{display:block;width:15px;height:15px;object-fit:contain;filter:invert(89%) sepia(8%) saturate(219%) hue-rotate(174deg) brightness(108%) contrast(97%)}.theme-github-btn.active img{filter:brightness(0) saturate(100%)}
.topbar-right,.topbar .right{justify-content:flex-end}
@media(max-width:700px){.profile-panel{position:fixed;right:8px;top:68px;width:min(232px,calc(100vw - 16px))}}
