@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/dm-sans-400.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/dm-sans-500.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/dm-sans-600.ttf) format('truetype');
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/dm-sans-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/static/fonts/manrope-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/static/fonts/manrope-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/static/fonts/manrope-600.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/static/fonts/manrope-700.ttf) format('truetype');
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/static/fonts/manrope-800.ttf) format('truetype');
}

:root {
  --ink: #172d27;
  --green: #175640;
  --mint: #e7f1eb;
  --paper: #f6f7f4;
  --line: #e1e6df;
  --muted: #687a71;
  --amber: #825714;
  --amber-bg: #fff3d8;
  --red: #9c3434;
  --white: #fff;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 16px;
  background: var(--green);
  color: white;
  font-weight: 600;
  font-size: 13px;
  transition: background 0.15s;
}
button:hover {
  filter: brightness(0.96);
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #8dba49;
  outline-offset: 3px;
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
}
.text-button {
  padding: 6px 8px;
  background: transparent;
  color: var(--green);
}
a {
  color: var(--green);
  text-underline-offset: 3px;
}
p {
  line-height: 1.55;
}
h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 5px 0 8px;
}
h2 {
  font-size: 19px;
  margin: 0 0 12px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 15px;
  margin: 0 0 10px;
}
small {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
#app {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 239px;
  background: #fff;
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 0 auto 0 0;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  font-weight: 800;
  font-size: 23px;
  text-decoration: none;
  margin: 0 12px 40px;
}
.brandmark {
  display: grid;
  place-items: center;
  font:
    bold 35px/1 Manrope,
    sans-serif;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: #d1ed8b;
  border-radius: 12px;
  letter-spacing: -3px;
  padding-right: 3px;
}
.brand-sub {
  display: block;
  font:
    500 11px/1.3 "DM Sans",
    sans-serif;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-caption {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: #7b8b80;
  margin: 0 13px 12px;
}
.nav {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  border-radius: 6px;
  margin: 3px 0;
  padding: 12px 13px;
  background: transparent;
  color: #53665c;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.nav > span {
  font-size: 19px;
  width: 19px;
  text-align: center;
}
.nav.active {
  color: var(--green);
  background: var(--mint);
  font-weight: 700;
}
.nav b {
  margin-left: auto;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: white;
}
.sidebar-footer {
  margin-top: auto;
  padding: 24px 13px 0;
  font-size: 11px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.sidebar-footer p {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #588d64;
  border-radius: 50%;
  margin-right: 5px;
}
main {
  margin-left: 239px;
  width: calc(100% - 239px);
  padding: 36px 42px 20px;
  max-width: 1900px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.9px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
header > div > p:last-child {
  font-size: 13px;
  margin: 0;
  color: var(--muted);
}
.header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.stats button {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
  padding: 20px;
  box-shadow: 0 2px 1px #1d3e2610;
}
.stats button > span {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: #6a7b6e;
}
.stats strong {
  font-family: Manrope, sans-serif;
  font-size: 32px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 8px 0 5px;
}
.stats strong span {
  font-size: 16px;
  color: var(--muted);
  margin-left: 3px;
}
.stats small {
  font-size: 10px;
  font-weight: 400;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  margin-bottom: 18px;
}
.panel-heading {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading p {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 0;
}
.panel-body {
  padding: 22px;
}
.filters {
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
input,
select,
textarea {
  border: 1px solid #d8e0d7;
  border-radius: 6px;
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 12px;
  max-width: 100%;
}
.filters input {
  min-width: 210px;
  flex: 1;
}
.filters select {
  max-width: 180px;
}
.filter-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 14px 22px 0;
}
.filter-tabs button {
  background: #f6f8f4;
  color: var(--muted);
  font-size: 11px;
  padding: 7px 11px;
  border: 1px solid transparent;
}
.filter-tabs button.selected {
  border-color: #b7d2be;
  background: #eaf3e9;
  color: var(--green);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--muted);
  padding: 13px 22px;
  background: #fafbf8;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #edf0e9;
  vertical-align: top;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.bill-row {
  cursor: pointer;
}
.bill-row:hover {
  background: #f7faf4;
}
.bill-label {
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.bill-title {
  font-size: 12px;
  font-weight: 600;
  max-width: 500px;
  line-height: 1.5;
  margin-top: 5px;
}
.bill-summary {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin-top: 4px;
}
.jurisdiction {
  display: inline-flex;
  font-weight: 700;
  color: #4b6e57;
  background: #eff4ed;
  padding: 5px 7px;
  font-size: 10px;
  border-radius: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.4;
  border-radius: 4px;
  padding: 4px 7px;
  background: #eff3ed;
  color: #57705f;
  white-space: normal;
  max-width: 200px;
}
.badge.amber {
  background: var(--amber-bg);
  color: var(--amber);
}
.badge.red {
  background: #fbe9e8;
  color: var(--red);
}
.badge.green {
  background: #dff0e6;
  color: #245d3f;
}
.tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.topic-Cannabis {
  background: #eaf3e2;
  color: #456233;
}
.topic-Psychedelics {
  background: #f1eafa;
  color: #75538d;
}
.topic-Nicotine {
  background: #e8eef8;
  color: #4f6483;
}
.topic-Kratom {
  background: #f9ecdf;
  color: #8a623d;
}
.topic-Harm {
  background: #e2f2f0;
  color: #426e6b;
}
.status-text {
  max-width: 230px;
  font-size: 11px;
  color: #52695e;
  line-height: 1.5;
}
.date {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.empty {
  padding: 65px 22px;
  text-align: center;
}
.empty .empty-icon {
  font-size: 32px;
  display: block;
  color: #b1c5b1;
  margin-bottom: 16px;
}
.empty h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 7px;
}
.empty p {
  font-size: 12px;
  color: var(--muted);
  max-width: 470px;
  margin: 0 auto 20px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.pagination button {
  padding: 6px 12px;
  margin-left: 5px;
}
.message {
  padding: 13px 18px;
  background: var(--mint);
  border: 1px solid #bed4c5;
  border-radius: 7px;
  font-size: 12px;
  margin-bottom: 15px;
}
.message.error {
  background: #fff0ec;
  color: #903b2b;
  border-color: #e7b7a5;
}
.job-banner {
  display: flex;
  gap: 15px;
  align-items: center;
  border: 1px solid #cddfb9;
  border-radius: 8px;
  padding: 15px 19px;
  background: #f1f6e8;
  margin-bottom: 20px;
  font-size: 12px;
}
.job-banner small {
  margin-left: auto;
}
.job-banner button {
  padding: 5px 9px;
}
.pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.2;
  }
}
footer {
  font-size: 10px;
  color: #879184;
  margin-top: 28px;
  line-height: 1.8;
}
footer span {
  margin: 0 5px;
}
.attribution {
  float: right;
}
.notice {
  border-left: 3px solid #b9cd76;
  background: #f4f7eb;
  padding: 13px 16px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.notice.amber {
  background: #fff8e8;
  border-color: #d5af67;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid > label,
label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  color: #435d4c;
  margin-bottom: 14px;
}
label small {
  font-size: 10px;
}
.connection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.connection {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
}
.connection .badge {
  align-self: flex-start;
}
textarea {
  width: 100%;
  line-height: 1.6;
  min-height: 100px;
  resize: vertical;
}
.checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}
.settings-section {
  margin-bottom: 26px;
}
.muted {
  color: var(--muted);
}
.compact {
  font-size: 11px;
  line-height: 1.6;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}
.number-count {
  background: #edf2e9;
  color: #577348;
  font-size: 10px;
  padding: 4px 7px;
  border-radius: 4px;
  font-family: "DM Sans", sans-serif;
  margin-left: 8px;
}
#drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #08291e66;
  z-index: 50;
}
#drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 51;
  background: white;
  width: min(780px, 93vw);
  overflow: auto;
  box-shadow: -10px 0 60px #092c2520;
}
.drawer-head {
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--line);
  background: #f7faf3;
}
.drawer-head .topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}
.drawer-head h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 10px 0 14px;
}
.drawer-head .close {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
}
.drawer-body {
  padding: 24px 30px;
}
.drawer-body h3 {
  margin: 24px 0 12px;
  font-size: 14px;
}
.drawer-body h3:first-child {
  margin-top: 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.fact small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}
.fact div {
  font-size: 12px;
  line-height: 1.6;
}
.evidence {
  padding: 14px 17px;
  background: #f5f7f1;
  border-left: 2px solid #9bb88c;
  margin: 10px 0;
  font-size: 12px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.evidence small {
  display: block;
  margin-top: 9px;
  font-size: 9px;
}
.drawer-actions {
  position: sticky;
  bottom: 0;
  padding: 16px 30px;
  border-top: 1px solid var(--line);
  background: #fffffff5;
  display: flex;
  gap: 9px;
  z-index: 3;
}
.drawer-actions button:first-child {
  flex: 1;
}
.drawer-section-tabs {
  display: flex;
  gap: 5px;
  margin: 18px 0 0;
}
.drawer-section-tabs button {
  padding: 7px 10px;
  font-size: 10px;
}
.history-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.history-item p {
  margin: 5px 0;
}
.diff {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.diff > div {
  padding: 13px;
  background: #f5f7f2;
  font-size: 11px;
  overflow-wrap: anywhere;
}
.diff pre {
  white-space: pre-wrap;
}
.danger-text {
  color: var(--red);
}
.login-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  width: min(420px, 90vw);
  margin: 12vh auto;
}
.login-card .brandmark {
  margin-bottom: 25px;
}
.login-card p {
  font-size: 13px;
  color: var(--muted);
}
.login-card label {
  margin-top: 25px;
}
.login-card button {
  width: 100%;
}
details {
  margin: 10px 0;
  font-size: 12px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1550px) {
  main {
    padding: 45px 60px;
  }
  .bill-title {
    max-width: 620px;
  }
}
@media (max-width: 1200px) {
  aside {
    width: 215px;
    padding: 25px 12px;
  }
  main {
    margin-left: 215px;
    width: calc(100% - 215px);
    padding: 28px 25px;
  }
  .header-actions {
    flex-direction: column;
  }
  .stats {
    gap: 10px;
  }
  .stats button {
    padding: 16px 13px;
  }
  .stats small {
    font-size: 9px;
  }
  td,
  th {
    padding: 15px;
  }
  .connection-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  #app {
    display: block;
  }
  aside {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 15px 16px 10px;
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    margin: 0 0 12px;
    font-size: 19px;
  }
  .brandmark {
    width: 34px;
    height: 34px;
    font-size: 28px;
    border-radius: 9px;
  }
  .brand-sub {
    display: inline;
    margin-left: 9px;
    font-size: 10px;
  }
  .nav-caption,
  .sidebar-footer {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .nav {
    width: auto;
    padding: 8px 10px;
    font-size: 10px;
    margin: 0;
    gap: 5px;
  }
  .nav > span {
    font-size: 15px;
    width: auto;
  }
  .nav b {
    display: none;
  }
  main {
    margin: 0;
    width: 100%;
    padding: 24px 16px;
  }
  header {
    display: block;
    margin-bottom: 24px;
  }
  h1 {
    font-size: 25px;
  }
  .header-actions {
    flex-direction: row;
    margin-top: 18px;
  }
  .header-actions button {
    flex: 1;
    padding: 10px;
    font-size: 11px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-bottom: 22px;
  }
  .stats button {
    padding: 15px;
  }
  .stats strong {
    font-size: 27px;
  }
  .stats button > span {
    font-size: 8px;
  }
  .stats small {
    font-size: 9px;
  }
  .panel-heading {
    padding: 16px;
  }
  .panel-heading h2 {
    font-size: 16px;
  }
  .filters {
    padding: 13px;
    gap: 7px;
  }
  .filters input {
    width: 100%;
    min-width: 0;
    flex-basis: 100%;
  }
  .filters select {
    flex: 1;
    min-width: 0;
  }
  .filter-tabs {
    padding: 12px 13px 0;
  }
  .filter-tabs button {
    font-size: 9px;
    padding: 6px 8px;
  }
  th,
  td {
    padding: 13px 12px;
  }
  table {
    min-width: 620px;
  }
  td .bill-title {
    max-width: 280px;
  }
  .panel-body {
    padding: 16px;
  }
  .form-grid,
  .connection-grid {
    grid-template-columns: 1fr;
  }
  .job-banner {
    flex-wrap: wrap;
  }
  .job-banner small {
    margin: 0;
  }
  .attribution {
    float: none;
    display: block;
  }
  #drawer {
    width: 100%;
    max-width: 100vw;
  }
  .drawer-head {
    padding: 21px;
  }
  .drawer-head h2 {
    font-size: 20px;
  }
  .drawer-body {
    padding: 20px;
  }
  .drawer-actions {
    padding: 13px 20px;
  }
  .facts-grid {
    gap: 12px;
  }
  .diff {
    grid-template-columns: 1fr;
  }
}
