:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #17332d;
  background: #f3f5f0;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: #225d49;
  text-underline-offset: 4px;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  background: #fcfdf9;
  border-bottom: 1px solid #dce3d8;
  gap: 20px;
}
.brand {
  font-size: 22px;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -1px;
  white-space: nowrap;
}
.brand i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #224e40;
  color: #d4ec9c;
  font-style: normal;
  margin-right: 10px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a {
  font-size: 14px;
  text-decoration: none;
}
.nav form {
  margin: 0;
}
.nav button {
  margin: 0;
  padding: 8px 14px;
  background: transparent;
  color: #385449;
  border: 1px solid #cdd9ce;
}
.muted {
  color: #6a796e;
}
main {
  max-width: 1180px;
  margin: 48px auto 72px;
  padding: 0 24px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 750;
  color: #6a796e;
  text-transform: uppercase;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 14px 0;
}
h2 {
  font-size: 20px;
  letter-spacing: -0.5px;
  margin-top: 0;
}
p {
  line-height: 1.6;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.hero p {
  margin: 8px 0;
}
.pill {
  padding: 8px 14px;
  background: #e6eddc;
  font-size: 12px;
  border: 1px solid #d6e0c8;
  border-radius: 99px;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 30px 0;
}
.stat,
.card {
  background: #fff;
  border: 1px solid #dfe5da;
  border-radius: 16px;
  padding: 24px;
}
.stat:first-child {
  background: #234f40;
  color: #fff;
  border-color: #234f40;
}
.stat small {
  font-size: 12px;
  opacity: 0.7;
}
.stat b {
  display: block;
  font-size: 34px;
  margin: 12px 0 5px;
  letter-spacing: -1px;
}
.stat span {
  font-size: 13px;
}
.card {
  margin: 22px 0;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.toolbar .search {
  flex: 1;
  min-width: 180px;
}
.toolbar label {
  font-size: 12px;
  margin-top: 0;
}
.toolbar select {
  min-width: 150px;
}
.toolbar button {
  margin: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 20px 0 8px;
}
input,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfdacf;
  border-radius: 8px;
  background: #fff;
  color: #17332d;
  font: inherit;
  font-size: 14px;
}
input:focus,
select:focus {
  outline: 2px solid #8fac7b;
  outline-offset: 2px;
}
button,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  background: #234f40;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 18px;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  margin: 12px 6px 0 0;
}
.secondary {
  background: #f0f4ea;
  color: #234f40;
  border-color: #dce4d5;
}
.small {
  padding: 8px 12px;
  font-size: 12px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
}
th,
td {
  text-align: left;
  border-bottom: 1px solid #e8ede3;
  padding: 19px 12px;
  font-size: 14px;
}
th {
  text-transform: uppercase;
  font-size: 10px;
  color: #7b897f;
  letter-spacing: 1px;
  font-weight: 650;
}
td small {
  display: block;
  font-size: 11px;
  color: #829086;
  margin-top: 4px;
}
td a {
  text-decoration: none;
}
.code {
  font-weight: 750;
  background: #f0f4eb;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 12px;
}
.badge {
  border-radius: 99px;
  font-size: 11px;
  padding: 6px 10px;
  background: #eef1e9;
  color: #697765;
  display: inline-block;
}
.badge.ativa {
  background: #e5f1df;
  color: #32632c;
}
.badge.pausada {
  background: #fff1d9;
  color: #906325;
}
.badge:before {
  content: "●";
  font-size: 8px;
  margin-right: 5px;
}
.right {
  text-align: right;
}
.empty {
  text-align: center;
  padding: 48px;
  color: #6a796e;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 24px;
}
.grid .card {
  margin-top: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.full {
  grid-column: 1/-1;
}
.hint {
  font-size: 12px;
  color: #7a887d;
  line-height: 1.6;
  margin: 8px 0;
}
.link-box {
  padding: 14px;
  background: #f1f5ed;
  border-radius: 8px;
  border: 1px solid #dce5d5;
  font-size: 13px;
  word-break: break-all;
}
.notice {
  padding: 14px 18px;
  border-radius: 9px;
  background: #e6f1de;
  border: 1px solid #d2e1c6;
  margin: 20px 0;
  font-size: 14px;
}
.error {
  background: #fff0e9;
  border-color: #ebc8b5;
  color: #873e28;
}
.back {
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}
.public {
  max-width: 460px;
  text-align: center;
  margin: 64px auto;
  background: #fff;
  border: 1px solid #dde5d5;
  border-radius: 24px;
  padding: 42px 30px;
}
.public h1 {
  font-size: 32px;
  letter-spacing: -1px;
}
.public .button {
  display: flex;
  width: 100%;
  padding: 16px;
  margin-top: 16px;
}
.logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 18px;
  margin: 0 auto 16px;
}
.monogram {
  width: 72px;
  height: 72px;
  background: #e7eedb;
  border-radius: 20px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  color: #234f40;
  font-size: 30px;
  font-weight: 750;
}
.login {
  max-width: 420px;
  margin: 65px auto;
}
.login button {
  width: 100%;
  margin-top: 24px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.section-title h2 {
  margin: 0;
}
.section-title a {
  font-size: 12px;
}
details summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}
details[open] summary {
  margin-bottom: 16px;
}
.divider {
  border: 0;
  border-top: 1px solid #e0e7da;
  margin: 24px 0;
}
.logo-preview {
  display: flex;
  gap: 16px;
  align-items: center;
}
.logo-preview .logo {
  margin: 0;
  width: 64px;
  height: 64px;
}
footer {
  font-size: 11px;
  color: #8a978b;
  margin-top: 32px;
  text-align: center;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  font-size: 12px;
}
@media (max-width: 760px) {
  header {
    height: 72px;
  }
  .nav {
    gap: 12px;
  }
  .nav .optional {
    display: none;
  }
  main {
    margin-top: 28px;
  }
  .hero {
    align-items: start;
  }
  .hero .pill {
    display: none;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .stat b {
    font-size: 28px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .toolbar > * {
    flex: 1;
  }
  .card {
    padding: 18px;
  }
  .public {
    padding: 30px 22px;
    margin-top: 30px;
  }
  .section-title {
    align-items: start;
  }
}
