@font-face {
  font-family: Geist;
  src: url('/geist-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
:root {
  font-family:
    Geist,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: var(--text-primary);
  background: var(--canvas);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
}
header {
  background: #19384c;
  color: white;
  padding: 1rem max(5vw, 1rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
a {
  color: inherit;
  text-decoration: none;
}
nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9rem;
}
.brand {
  font-weight: 750;
  font-size: 1rem;
}
.brand span {
  font-weight: 450;
}
main {
  width: min(100% - 2rem, 48rem);
  margin: 3rem auto;
}
h1 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.011em;
  line-height: 1.4;
  margin: 0 0 1rem;
}
p {
  line-height: 1.5;
}
.context {
  color: #215985;
  font-weight: 650;
  margin: 0;
}
section {
  background: #fff;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-panel);
  padding: 1rem;
  margin: 1rem 0;
}
h2 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
form {
  display: grid;
  gap: 0.375rem;
}
label {
  font-weight: 600;
}
button,
select,
input {
  font: inherit;
  min-height: var(--go-control-height);
  border-radius: var(--radius-control);
}
select,
input {
  padding: 0.65rem;
  border: 1px solid var(--border-default);
  width: 100%;
  background: #fff;
  color: inherit;
}
button {
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 0.375rem var(--go-control-padding);
  font-weight: 600;
  justify-self: start;
}
button:disabled {
  opacity: 0.6;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
}
[role='status']:empty {
  display: none;
}
[role='status']:not(:empty) {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  overflow-wrap: anywhere;
}
#casos {
  margin-top: 0.75rem;
}
article {
  padding: 1rem 0;
  border-bottom: 1px solid #c7d8d8;
}
article:first-child {
  padding-top: 0;
}
article p {
  margin: 0 0 0.65rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.brand img {
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.passport {
  color: #195a89;
  text-decoration: underline;
}
button:not(:disabled):hover {
  background: #16496f;
}
.paging {
  align-items: center;
  margin-top: 1rem;
}
.paging button {
  background: white;
  color: #194b72;
  border: 1px solid #b7c9db;
}
.paging button:not(:disabled):hover {
  background: #e6eff6;
}

textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  resize: vertical;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  padding: 0.75rem;
}
.narrative {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#publico {
  display: block;
  overflow-wrap: anywhere;
  margin-bottom: 0.75rem;
}
[hidden] {
  display: none !important;
}

#logo-org {
  max-width: 12rem;
  max-height: 5rem;
  object-fit: contain;
}
#settings fieldset {
  margin: 1rem 0;
  border: 1px solid #cad7df;
  border-radius: 8px;
}
#settings input[type='checkbox'] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin-right: 0.6rem;
}
#indicadores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
  gap: 1rem;
}
#indicadores div {
  border: 1px solid var(--border-default);
  padding: 1rem;
  border-radius: 10px;
}
#indicadores dd {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  margin: 0.35rem 0 0;
}
#historico form {
  max-width: 40rem;
}
#historico li,
#historico p {
  overflow-wrap: anywhere;
}

body:has(#barra) {
  color: var(--text-primary);
  background: var(--canvas);
}
#barra {
  position: fixed;
  z-index: 4;
  inset: 0 auto 0 0;
  width: 15rem;
  display: flex;
  flex-direction: column;
}
#barra .sidebar-product-bar {
  height: var(--go-workspace-topbar-height);
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
}
#areas {
  display: grid;
  gap: 1px;
  padding: 0.75rem 0.5rem;
}
.sidebar-brand-footer {
  margin-top: auto;
  display: grid;
  place-items: center;
  padding: 1rem;
}
body:has(#barra) > header {
  margin-left: 15rem;
  height: var(--go-workspace-topbar-height);
  padding: 0 1.5rem;
  color: var(--text-primary);
  font-size: 0.8125rem;
}
body:has(#barra) main {
  margin: 2rem auto 3rem 15rem;
  padding: 0 clamp(1rem, 4vw, 4.5rem);
  width: auto;
  max-width: 100rem;
}
#abrir-menu {
  display: none;
}
#abas-caso {
  border-bottom: 1px solid var(--border-default);
  gap: 1rem;
}
#abas-caso [aria-current] {
  color: var(--primary);
  font-weight: 600;
  border-bottom: 2px solid currentColor;
}
#case-requests li,
#case-people li {
  padding: 0.65rem 0;
  line-height: 1.5;
}
#historico li button {
  margin: 0.25rem;
  font-size: 0.8125rem;
}
@media (max-width: 1023px) {
  #abrir-menu {
    display: block;
  }
  #barra {
    top: var(--go-workspace-topbar-height);
    display: none;
    width: min(15rem, 90vw);
  }
  #barra[data-open] {
    display: flex;
  }
  body:has(#barra) main,
  body:has(#barra) > header {
    margin-left: 0;
  }
  body:has(#barra) > header {
    position: sticky;
    top: 0;
    z-index: 5;
    flex-wrap: nowrap;
    padding: 0 0.75rem;
  }
}

#barra .sidebar-product-bar {
  display: flex;
}
.sidebar-product-name {
  flex: 1;
  text-align: center;
}
#recolher {
  width: 2.75rem;
  height: 100%;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
}
@media (min-width: 1024px) {
  html[data-workspace-sidebar='collapsed'] body {
    --integridade-nav-width: 3.5rem;
  }
  #barra {
    width: var(--integridade-nav-width, 15rem);
  }
  body:has(#barra) main,
  body:has(#barra) > header {
    margin-left: var(--integridade-nav-width, 15rem);
  }
  html[data-workspace-sidebar='collapsed'] #barra :is(.nav-label, .sidebar-product-name) {
    display: none;
  }
  html[data-workspace-sidebar='collapsed'] #barra .module-navigation-item {
    justify-content: center;
  }
  html[data-workspace-sidebar='collapsed'] #recolher {
    width: 100%;
  }
  html[data-workspace-sidebar='collapsed'] .sidebar-brand-footer img {
    width: 2rem;
  }
}
@media (max-width: 1023px) {
  #recolher {
    display: none;
  }
}

h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
}
form label,
legend {
  font-size: 0.8125rem;
  font-weight: 500;
}
form :is(select, input, textarea) + label {
  margin-top: 0.375rem;
}
form button {
  margin-top: 0.375rem;
  font-size: 0.8125rem;
  font-weight: var(--go-control-weight);
}
#branding {
  display: grid;
  gap: 0.375rem;
}
#settings-form,
#historico form,
#entrega {
  max-width: 38rem;
}
#equipe label {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
}
#abas-caso {
  gap: clamp(0.5rem, 2vw, 1.25rem);
  margin: 0.75rem 0 1rem;
  flex-wrap: wrap;
}
#abas-caso a {
  font-size: 0.8125rem;
  min-height: 2.25rem;
}
#caso-titulo {
  margin: 0.625rem 0 0.25rem;
}
#caso-descricao {
  color: var(--text-secondary);
  margin: 0;
}
#historico ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
#historico li {
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.5rem 0;
}
#historico li button,
#fila,
#copiar,
#copiar-terceiro,
#abrir-menu {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  font-weight: 500;
}
#historico li button:hover,
#fila:hover,
#copiar:hover,
#copiar-terceiro:hover,
#abrir-menu:hover {
  background: var(--surface-hover);
}
#historico ul:empty {
  display: none;
}
#estado,
.context,
.passport {
  font-size: 0.8125rem;
}
#org-topo {
  font-weight: 600;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.platform-topbar > a {
  flex-shrink: 0;
  color: var(--text-secondary);
}
#pedidos li {
  display: grid;
  gap: 0.25rem;
}
#pedidos li strong {
  font-weight: 600;
}
#pedidos li small {
  color: var(--text-muted);
  font-size: 0.8125rem;
}
@media (min-width: 1100px) {
  :is(#case-people, #case-requests):has(ul:not(:empty)) {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(15rem, 1fr);
    gap: 0 1.5rem;
    align-items: start;
  }
  :is(#case-people, #case-requests) > ul {
    margin-top: 0;
  }
  :is(#case-people, #case-requests) > form {
    border-inline-start: 1px solid var(--border-subtle);
    padding-inline-start: 1.5rem;
    width: 100%;
  }
  #entrega {
    grid-column: 2;
  }
}
@media (pointer: coarse) {
  button,
  input:not([type='checkbox']),
  select,
  #abas-caso a {
    min-height: 44px;
  }
}
@media (max-width: 600px) {
  body:has(#barra) main {
    margin-top: 1rem;
    padding-inline: 1rem;
  }
  section {
    padding: 0.875rem;
  }
  #abas-caso {
    column-gap: 0.75rem;
  }
  #indicadores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem;
  }
  #indicadores div {
    padding: 0.5rem;
  }
  #indicadores dt {
    font-size: 0.75rem;
  }
}

#category-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-block: 0.5rem;
}
#category-list strong {
  overflow-wrap: anywhere;
  font-weight: 500;
}
#category-list span {
  color: var(--text-secondary);
}
#category-list button,
#category-reset {
  background: var(--surface);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}
#category-form {
  max-width: 38rem;
  margin-top: 1rem;
}
#category-active {
  width: auto;
  min-height: auto;
}
#org-topo {
  border-radius: var(--radius-control);
  padding: 0.5rem 0.75rem;
}
#account {
  margin-inline-start: auto;
}
#areas {
  overflow-y: auto;
}
#barra .workspace-launcher-trigger {
  padding: 0;
}
@media (min-width: 1024px) {
  html[data-workspace-sidebar='collapsed'] #barra .sidebar-product-bar {
    flex-direction: column;
    height: auto;
  }
}
#areas .module-navigation-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 1.5rem;
  background: transparent;
  border: 0;
  padding: 0.25rem 0.5rem;
  font-size: 0.6875rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.015em;
}
#areas .nav-group {
  display: grid;
  gap: 1px;
  margin-bottom: 0.75rem;
}
@media (min-width: 1024px) {
  html[data-workspace-sidebar='collapsed'] #areas .module-navigation-group-trigger {
    display: none;
  }
  html[data-workspace-sidebar='collapsed'] #areas .nav-group[hidden] {
    display: grid !important;
  }
}
