:root {
  --paper: #f1f3f3;
  --surface: #fff;
  --ink: #172c36;
  --muted: #546871;
  --line: #ced8db;
  --brand: #086c68;
  --nav: #122d37;
  --accent: #b95b22;
  --space: 24px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}
body {
  background: var(--paper) !important;
  color: var(--ink) !important;
  font-size: 15px;
  line-height: 1.55;
}
a {
  color: var(--brand);
}
a:hover {
  text-decoration: underline;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
summary,
select {
  cursor: pointer;
}
button,
input,
select {
  min-height: 42px;
}
input,
select,
textarea {
  max-width: 100%;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 12px;
  background: var(--surface);
}
:focus-visible {
  outline: 3px solid #b55b17 !important;
  outline-offset: 3px;
}
h1 {
  letter-spacing: -0.035em;
}
h2 {
  letter-spacing: -0.02em;
}
p {
  overflow-wrap: anywhere;
}
main {
  max-width: 1540px !important;
  min-width: 0;
  padding: 32px 40px !important;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.product-header {
  background: var(--nav);
  color: #f7fbfc;
  padding: 0 32px;
  border-bottom: 4px solid #40b5a8;
}
.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}
.product-brand {
  color: white;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.product-brand small {
  font-size: 11px;
  color: #b4c9cc;
  letter-spacing: 0.12em;
  font-weight: 500;
  display: block;
}
.product-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  padding-bottom: 12px;
}
.product-nav > a,
.product-nav > details > summary {
  padding: 10px 15px;
  color: #dce9eb;
  border-radius: 5px;
  font-weight: 500;
}
.product-nav > a[aria-current="page"] {
  background: #274954;
  color: white;
  box-shadow: inset 0 -2px #5ed1c0;
}
.product-nav details {
  position: relative;
}
.product-nav details > div {
  position: absolute;
  background: white;
  border: 1px solid var(--line);
  padding: 8px;
  min-width: 220px;
  z-index: 50;
  box-shadow: 0 8px 30px #122d3722;
}
.product-nav details a {
  display: block;
  padding: 8px;
  color: #172c36;
}
.product-user {
  font-size: 13px;
  color: #c4d8db;
  display: flex;
  gap: 18px;
  align-items: center;
}
.product-user button {
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand);
  font-size: 11px;
  font-weight: 750;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 36px;
  font-weight: 720;
  line-height: 1.15;
  margin: 8px 0;
}
.page-heading p {
  color: var(--muted);
  max-width: 750px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  border: 1px solid var(--brand);
  color: white;
  padding: 9px 16px;
  border-radius: 5px;
  min-height: 42px;
  font-weight: 650;
  text-decoration: none;
}
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  margin: 20px 0;
}
.toolbar label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--muted);
  gap: 5px;
}
.toolbar label.check {
  flex-direction: row;
  align-items: center;
  padding-bottom: 10px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.panel-head h2 {
  font-size: 19px;
  font-weight: 700;
}
.panel-body {
  padding: 22px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.notice {
  border-left: 3px solid var(--brand);
  background: #e3efec;
  padding: 14px 18px;
  color: #234b47;
  margin: 16px 0;
}
.empty {
  padding: 40px 24px;
  color: var(--muted);
  text-align: center;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table caption {
  text-align: left;
  padding: 14px 20px;
  color: var(--muted);
  font-size: 12px;
}
.data-table th {
  text-align: left;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 650;
  background: #f6f8f8;
}
.data-table th,
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.data-table tbody tr:hover {
  background: #f3f8f7;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
.badge {
  display: inline-block;
  border: 1px solid #c8d9d8;
  background: #edf4f3;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: #335c59;
}
.graph-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  min-height: 550px;
}
.graph-stage {
  position: relative;
  min-height: 550px;
  background-color: #f9fbfa;
  background-image: radial-gradient(#c9d9d7 1px, transparent 1px);
  background-size: 20px 20px;
}
#graph-canvas {
  position: absolute;
  inset: 0;
}
.graph-detail {
  padding: 24px;
  border-left: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.graph-detail h2 {
  font-size: 23px;
  font-weight: 700;
  margin-bottom: 14px;
}
.graph-detail dl {
  margin: 16px 0;
}
.graph-detail dt {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}
.graph-detail dd {
  font-size: 14px;
}
.graph-actions {
  right: 16px;
  flex-wrap: wrap;
  align-items: end;
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  gap: 6px;
  z-index: 2;
}
.graph-actions button {
  background: white;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 4px;
  color: var(--ink);
}
.graph-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 14px 22px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline-list > li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
  padding: 22px;
  gap: 24px;
}
.timeline-list time {
  color: var(--muted);
  font-size: 13px;
}
.timeline-list h2 {
  font-size: 18px;
  font-weight: 650;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  margin: 24px 0;
  overflow: hidden;
}
.stat-strip > div {
  padding: 22px;
  border-right: 1px solid var(--line);
}
.stat-strip strong {
  display: block;
  font-size: 34px;
  letter-spacing: -1px;
}
.stat-strip span {
  font-size: 12px;
  color: var(--muted);
}
.news-row {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.news-row h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 7px 0;
}
.news-row .muted {
  font-size: 12px;
}
footer {
  color: var(--muted) !important;
}
.sn-chat-btn {
  width: 44px !important;
  height: 44px !important;
}
.sn-chat-btn:focus-visible {
  outline-offset: 4px;
}
.flex {
  min-width: 0;
}
table {
  max-width: 100%;
}
form {
  max-width: 100%;
}
.max-w-7xl {
  max-width: 1440px;
}
pre {
  max-width: 100%;
  overflow: auto;
}
@media (max-width: 1000px) {
  main {
    padding: 24px !important;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .graph-workspace {
    grid-template-columns: 1fr;
  }
  .graph-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .graph-stage {
    min-height: 450px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  main {
    padding: 20px 16px !important;
  }
  .product-header {
    padding: 0 16px;
  }
  .product-topline {
    align-items: flex-start;
  }
  .product-brand {
    font-size: 22px;
  }
  .product-brand small {
    font-size: 9px;
    max-width: 200px;
  }
  .product-user {
    font-size: 11px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .product-nav {
    gap: 0;
  }
  .product-nav > a,
  .product-nav > details > summary {
    padding: 10px;
    font-size: 13px;
  }
  .product-nav details > div {
    left: 0;
    right: auto;
    min-width: 200px;
  }
  .page-heading {
    flex-direction: column;
    gap: 16px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar label {
    flex: 1 1 140px;
  }
  .toolbar input,
  .toolbar select {
    width: 100%;
  }
  .toolbar button {
    flex: 1;
  }
  .graph-stage {
    min-height: 400px;
  }
  .stat-strip > div {
    padding: 16px;
  }
  .stat-strip strong {
    font-size: 28px;
  }
  .timeline-list > li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px;
  }
  .data-table th,
  .data-table td {
    padding: 12px;
  }
  .panel-head {
    padding: 16px;
  }
  .panel-body {
    padding: 16px;
  }
  form.flex {
    flex-wrap: wrap;
  }
  form input {
    min-width: 0;
  }
  .sn-chat-panel {
    right: 12px !important;
  }
  .sn-chat-btn {
    right: 12px !important;
    bottom: 12px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.split > * {
  min-width: 0;
}
.product-header table {
  max-width: 100%;
}
.table-scroll:focus-visible {
  outline: 3px solid #b55b17;
  outline-offset: 2px;
}
.data-table td:first-child {
  min-width: 120px;
}
main p a,
main li a:not(.button),
.muted a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
main .text-gray-500 {
  color: #54616a;
}
.product-nav a,
.product-brand {
  text-decoration: none;
}
.activity-day {
  display: grid;
  grid-template-columns: 100px minmax(60px, 1fr) 40px;
  gap: 12px;
  align-items: center;
  margin: 8px 0;
  font-size: 12px;
}
.activity-day meter {
  width: 100%;
  height: 18px;
}
