/* VECTOR — custom CSS. Start with the tokens below to make it your own. */
:root {
  --bg: #0c1417;
  --panel: #111c20;
  --panel-hover: #17252a;
  --line: #26373d;
  --line-soft: #203137;
  --text: #f0f4f4;
  --muted: #a8b9c0;
  --quiet: #728992;
  --lime: #c6fa67;
  --lime-dim: #263622;
  --blue: #86ccef;
  --amber: #ffbd55;
  --danger: #ff9c99;
  --radius: 9px;
  --sidebar: 208px;
  --font: Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
.search-trigger {
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  display: block;
}
button svg,
a svg {
  flex-shrink: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 31px;
  letter-spacing: -1.1px;
  line-height: 1.15;
  font-weight: 650;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.25px;
  font-weight: 620;
}
h3 {
  font-size: 15px;
  letter-spacing: -0.15px;
}
small {
  font-size: 12px;
}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon.small {
  width: 17px;
  height: 17px;
}
.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;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--lime);
  color: #12200a;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: linear-gradient(180deg, #0e171b, #0d1619);
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 21px 26px 29px;
  color: var(--lime);
}
.brand span {
  letter-spacing: 4.4px;
  font-size: 14px;
  font-weight: 750;
  color: var(--text);
}
.nav-list {
  padding: 0 9px;
  display: grid;
  gap: 7px;
}
.nav-list a,
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  gap: 21px;
  min-height: 47px;
  padding: 11px 18px;
  color: var(--muted);
  border-radius: 5px;
  font-size: 13px;
  border-left: 3px solid transparent;
}
.nav-list a:hover,
.sidebar-bottom > a:hover {
  background: #18252b;
  color: var(--text);
}
.nav-list a.active,
.sidebar-bottom > a.active {
  border-left-color: var(--lime);
  color: var(--lime);
  background: linear-gradient(90deg, #273621, #1d2b24);
}
.nav-list a.active {
  font-weight: 600;
}
.nav-count {
  margin-left: auto;
  background: #25362d;
  border: 1px solid #3e5237;
  color: var(--lime);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 4px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 9px;
}
.workspace-note {
  margin: 0 18px 30px;
  font-size: 10px;
  color: var(--quiet);
  line-height: 1.8;
}
.workspace-note small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
}
.workspace-note .live-dot {
  width: 5px;
  height: 5px;
  margin-right: 5px;
}
.app-shell {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #0e181c;
}
.workspace-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #172226;
  font-size: 12px;
  min-width: 172px;
}
.demo-badge {
  background: #1d2c32;
  border: 1px solid #293a41;
  color: #bbc9cf;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  font-size: 10px;
  white-space: nowrap;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.global-search {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  padding: 7px 10px;
  background: #131f23;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  width: min(31vw, 355px);
}
.global-search input {
  background: none;
  border: 0;
  color: var(--text);
  width: 100%;
  min-width: 20px;
  font-size: 12px;
  padding: 0;
  outline: none;
}
.global-search input:focus-visible {
  outline: none;
}
.global-search:focus-within {
  border-color: var(--lime);
}
input::placeholder {
  color: var(--quiet);
}
kbd {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 4px;
}
.icon-button {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
}
.icon-button:hover {
  background: var(--panel-hover);
  color: var(--text);
  border-color: var(--line);
}
.notification-dot {
  width: 5px;
  height: 5px;
  background: var(--amber);
  border-radius: 50%;
  position: absolute;
  top: 3px;
  right: 5px;
}
.profile-link {
  padding: 3px;
}
.mobile-menu,
.nav-shade {
  display: none;
}
.avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #203b34;
  color: #a4ddb3;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #29493e;
}
.avatar.amber {
  background: #41381f;
  color: var(--amber);
  border-color: #574c2d;
}
.avatar.blue {
  background: #203d4e;
  color: #b3ddf3;
  border-color: #2b5367;
}
.avatar.rose {
  background: #422d40;
  color: #eab6d6;
  border-color: #594051;
}
.avatar.owner {
  width: 27px;
  height: 27px;
  font-size: 10px;
  background: #29404a;
  border-color: #3c5660;
  color: #dfedf3;
}
.profile-link .avatar {
  width: 29px;
  height: 29px;
  background: #3a4d2d;
  color: #d2ebba;
  border-color: #65764a;
}
main {
  padding: 24px 27px 0;
  max-width: 1800px;
  margin: auto;
  min-height: calc(100vh - 120px);
}
main:focus {
  outline: 0;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 19px;
}
.page-heading p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}
.date-line {
  font-family: var(--mono);
  letter-spacing: 0.3px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 39px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #17262c;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.button:hover {
  background: #22353d;
  border-color: #4a6069;
}
.button.primary {
  background: var(--lime);
  color: #132007;
  border-color: var(--lime);
  box-shadow: 0 1px 0 #d9ff9b inset;
}
.button.primary:hover {
  background: #d6ff89;
}
.button.ghost {
  background: transparent;
  font-weight: 500;
}
.button.danger {
  color: var(--danger);
  border-color: #684040;
  background: #2b1e24;
}
.button.small {
  min-height: 31px;
  padding: 5px 11px;
  font-size: 11px;
}
.button-link {
  border: 0;
  padding: 4px 0;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-size: 11px;
}
.button-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.button-link.blue {
  color: var(--blue);
}
.button-link.amber {
  color: var(--amber);
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 15px;
  background: linear-gradient(120deg, #152227, #121d21);
}
.metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px;
  text-align: left;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
}
.metric:last-child {
  border-right: 0;
}
.metric:hover {
  background: #1a2b2e;
}
.metric .label {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 1px;
}
.metric strong {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}
.metric .icon {
  color: var(--quiet);
  width: 23px;
  height: 23px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(290px, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(120deg, #111d21, #101a1e);
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
}
.panel-head.border {
  border-bottom: 1px solid var(--line-soft);
}
.panel-head p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.segmented {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #17252b;
  padding: 2px;
  flex-shrink: 0;
}
.segmented button {
  border: 0;
  background: transparent;
  color: #c1ced3;
  font-size: 10px;
  padding: 5px 13px;
  border-radius: 4px;
  min-height: 27px;
}
.segmented button.active {
  color: var(--lime);
  background: #26362d;
  box-shadow: 0 0 0 1px #3a4a3c inset;
}
.segmented button:hover {
  color: var(--text);
  background: #25353c;
}
.chart-wrap {
  padding: 0 18px 14px;
}
.chart {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 700/210;
  overflow: visible;
}
.chart text {
  fill: #b4c3c9;
  font-family: var(--font);
  font-size: 11px;
}
.chart .grid {
  stroke: #23343a;
  stroke-width: 1;
}
.chart .axis {
  stroke: #53656b;
  stroke-width: 1;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 10px;
  color: #d4dfe2;
  padding: 8px 5px 0;
}
.legend-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend-key i {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
}
.legend-key.plan i {
  background: var(--blue);
  position: relative;
}
.legend-key.plan i:before {
  content: "";
  position: absolute;
  width: 18px;
  left: -5px;
  top: 3px;
  border-top: 1px dashed var(--blue);
}
.chart-legend .hint {
  margin-left: auto;
  color: var(--quiet);
}
.attention {
  padding: 0 18px 3px;
}
.attention-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
}
.attention-row .avatar {
  width: 38px;
  height: 38px;
}
.attention-copy {
  min-width: 0;
  flex: 1;
}
.attention-copy strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.attention-copy p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.attention-row .button-link {
  font-size: 10px;
  white-space: nowrap;
}
.table-panel {
  margin-bottom: 15px;
}
.table-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px 14px;
}
.field-search {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #0c181c;
  padding: 7px 10px;
  min-width: 240px;
  color: var(--quiet);
}
.field-search input {
  color: var(--text);
  border: 0;
  background: none;
  outline: none;
  width: 100%;
  font-size: 11px;
}
.field-search:focus-within {
  border-color: var(--lime);
}
select,
input[type="text"],
input[type="date"],
input[type="number"],
textarea {
  background: #0d191e;
  border: 1px solid #34474f;
  border-radius: 5px;
  color: var(--text);
  padding: 9px 11px;
  max-width: 100%;
}
select {
  font-size: 11px;
  padding: 8px 29px 8px 11px;
}
option {
  background: #142127;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  background: #18262c;
  color: #aebfc6;
  font-weight: 500;
  font-size: 10px;
  padding: 8px 18px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: 0.15px;
}
td {
  padding: 9px 18px;
  border-bottom: 1px solid var(--line-soft);
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #16252a;
}
th:first-child {
  width: 28%;
}
th:last-child {
  width: 50px;
}
.account-cell {
  display: flex;
  align-items: center;
  gap: 13px;
}
.account-name {
  background: none;
  border: 0;
  color: var(--text);
  font-size: 11px;
  font-weight: 550;
  text-align: left;
  padding: 0;
}
.account-name:hover {
  color: var(--lime);
}
.account-cell small {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  margin-top: 2px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--lime);
  font-size: 11px;
}
.status:before {
  content: "";
  height: 7px;
  width: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: currentColor;
}
.status.attention {
  padding: 0;
  color: var(--amber);
}
.status.risk {
  color: #ffaaa0;
}
.status.deferred {
  color: var(--blue);
}
.status-note {
  display: block;
  color: var(--muted);
  padding-left: 16px;
  font-size: 10px;
  line-height: 1.35;
  margin-top: 3px;
}
.owner-cell {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c4d0d5;
  white-space: nowrap;
}
.row-action {
  width: 26px;
  height: 26px;
  color: var(--muted);
  border: 0;
  background: none;
  padding: 4px;
  border-radius: 4px;
}
.row-action:hover {
  color: var(--lime);
  background: #26353a;
}
.history-list {
  padding: 0 18px 8px;
}
.history-row {
  display: grid;
  grid-template-columns: 140px 22px 1fr 100px 100px;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  padding: 10px 0;
  border-top: 1px solid var(--line-soft);
}
.history-row time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}
.history-row > .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
}
.history-row > .byline {
  color: var(--muted);
  font-size: 10px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 16px 28px 22px;
  color: var(--quiet);
  font-size: 9px;
  letter-spacing: 0.2px;
  max-width: 1800px;
  margin: auto;
}
.footer-slash {
  padding: 0 6px;
}
.empty-state {
  padding: 40px 24px;
  text-align: center;
  display: grid;
  gap: 9px;
  justify-items: center;
}
.empty-state h3 {
  font-size: 16px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
  max-width: 340px;
}
.empty-state .icon {
  color: var(--lime);
  margin-bottom: 8px;
}
.result-count {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.filter-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  background: #23343a;
  border: 1px solid #31464e;
  border-radius: 4px;
  color: var(--muted);
}
.tag.lime {
  background: #243622;
  color: var(--lime);
  border-color: #3f5135;
}
.decision-list {
  display: grid;
  gap: 12px;
}
.decision-card {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: start;
  padding: 22px;
}
.decision-card h3 {
  font-size: 17px;
  margin: 5px 0;
}
.decision-card p {
  color: var(--muted);
  font-size: 12px;
  max-width: 680px;
  margin: 7px 0 12px;
}
.decision-meta {
  display: flex;
  gap: 16px;
  font-size: 10px;
  color: var(--quiet);
  flex-wrap: wrap;
}
.decision-card > .button {
  align-self: center;
}
.decision-card .tag {
  margin-right: 7px;
}
.section-intro {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 660px;
}
.scenario-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 16px;
}
.scenario-controls {
  padding: 23px;
}
.scenario-controls label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin: 22px 0 12px;
}
.scenario-controls output {
  color: var(--lime);
  font-family: var(--mono);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--lime);
  cursor: pointer;
  height: 22px;
}
.range-ends {
  display: flex;
  justify-content: space-between;
  color: var(--quiet);
  font-size: 10px;
}
.scenario-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 16px;
}
.scenario-stat {
  padding: 17px 19px;
}
.scenario-stat:not(:last-child) {
  border-right: 1px solid var(--line);
}
.scenario-stat small {
  color: var(--muted);
  font-size: 10px;
  display: block;
}
.scenario-stat strong {
  display: block;
  font-size: 23px;
  font-weight: 500;
  margin-top: 4px;
}
.scenario-stat .positive {
  color: var(--lime);
}
.saved-scenarios {
  margin-top: 17px;
}
.saved-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px auto;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 12px;
}
.saved-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
  gap: 18px;
}
.settings-form {
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field small {
  color: var(--muted);
  font-size: 10px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  font-size: 12px;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 22px 0;
  font-size: 12px;
}
.checkbox-field input {
  accent-color: var(--lime);
  margin-top: 4px;
  width: 15px;
  height: 15px;
}
.checkbox-field small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}
.form-footer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.form-footer small {
  color: var(--quiet);
}
.settings-aside {
  display: grid;
  gap: 18px;
  align-content: start;
}
.info-panel {
  padding: 23px;
}
.info-panel p {
  font-size: 12px;
  color: var(--muted);
  margin: 10px 0 18px;
  line-height: 1.7;
}
.info-panel ul {
  padding-left: 17px;
  color: var(--muted);
  font-size: 11px;
  line-height: 2;
}
.activity-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.timeline {
  padding: 0 22px;
}
.timeline-row {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.timeline-icon {
  height: 33px;
  width: 33px;
  border-radius: 50%;
  background: #24332b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}
.timeline-icon .icon {
  width: 17px;
  height: 17px;
}
.timeline-row h3 {
  font-size: 12px;
  font-weight: 550;
}
.timeline-row p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.timeline-row time {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--quiet);
  white-space: nowrap;
}
dialog {
  padding: 0;
  border: 1px solid #3c515a;
  border-radius: 13px;
  background: #132026;
  color: var(--text);
  width: min(680px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  box-shadow: 0 30px 100px #0009;
  overflow: auto;
}
dialog::backdrop {
  background: #040b10bd;
  backdrop-filter: blur(5px);
}
.dialog-header {
  padding: 25px 26px 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}
.dialog-header .icon-button {
  margin: -6px -6px 0 auto;
}
.dialog-header h2 {
  font-size: 22px;
  margin-top: 5px;
  letter-spacing: -0.6px;
}
.dialog-header p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.dialog-body {
  padding: 23px 26px;
}
.dialog-body > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.dialog-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  background: #101c21;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 24px;
}
.detail-box {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px;
}
.detail-box small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.detail-box strong {
  font-size: 19px;
  font-weight: 550;
  display: block;
  margin-top: 5px;
}
.detail-note {
  padding: 14px 16px;
  border-left: 2px solid var(--lime);
  background: #1c2d26;
  font-size: 12px;
  color: #cedbc9;
  margin: 18px 0;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  margin-bottom: 20px;
}
.comparison div {
  padding: 18px;
}
.comparison div + div {
  border-left: 1px solid var(--line);
  background: #1b2b23;
}
.comparison small {
  color: var(--muted);
  display: block;
  font-size: 11px;
}
.comparison strong {
  display: block;
  font-size: 23px;
  margin-top: 5px;
  font-weight: 550;
}
.comparison .proposed {
  color: var(--lime);
}
.detail-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.detail-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 0;
}
.detail-list .icon {
  width: 16px;
  height: 16px;
  color: var(--lime);
}
.dialog-subtitle {
  margin: 20px 0 12px;
  font-size: 13px;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: calc(50% + var(--sidebar) / 2);
  transform: translate(-50%, 15px);
  max-width: min(500px, calc(100vw - 32px));
  padding: 12px 19px;
  border: 1px solid #4d6341;
  background: #233723;
  color: #e1f6c4;
  border-radius: 7px;
  box-shadow: 0 10px 40px #0005;
  font-size: 12px;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dense td {
  padding-top: 5px;
  padding-bottom: 5px;
}
.dense .account-cell > .avatar {
  width: 28px;
  height: 28px;
  font-size: 10px;
}
.noscript-message {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--bg);
  display: grid;
  place-content: center;
  padding: 40px;
  text-align: center;
}
@media (min-width: 1500px) {
  :root {
    --sidebar: 224px;
  }
  main {
    padding: 28px 30px 0;
  }
  .topbar {
    padding: 0 30px;
  }
  .chart {
    aspect-ratio: 700/225;
  }
  .attention-row {
    padding: 22px 0;
  }
  td {
    padding-top: 11px;
    padding-bottom: 11px;
  }
}
@media (max-width: 1150px) {
  :root {
    --sidebar: 180px;
  }
  .brand {
    padding-left: 21px;
    gap: 15px;
  }
  .brand span {
    letter-spacing: 3px;
  }
  .nav-list a,
  .sidebar-bottom > a {
    padding-left: 14px;
    gap: 14px;
  }
  .topbar {
    padding: 0 20px;
    gap: 10px;
  }
  .demo-badge {
    display: none;
  }
  .global-search {
    width: 250px;
  }
  main {
    padding: 23px 20px 0;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(275px, 1fr);
  }
  .attention-row {
    gap: 10px;
    padding: 14px 0;
  }
  .attention-row .button-link {
    font-size: 0;
    gap: 0;
  }
  .attention-row .button-link .icon {
    width: 18px;
  }
  .panel-head {
    padding: 14px;
  }
  .attention {
    padding: 0 14px 3px;
  }
  .chart-wrap {
    padding: 0 13px 14px;
  }
  .segmented button {
    padding: 5px 9px;
  }
  .history-row {
    grid-template-columns: 120px 17px 1fr 85px;
    gap: 12px;
  }
  .history-row > .byline {
    display: none;
  }
  td,
  th {
    padding-left: 14px;
    padding-right: 14px;
  }
  .scenario-grid {
    grid-template-columns: 290px 1fr;
  }
  .scenario-controls {
    padding: 20px;
  }
  .scenario-stat {
    padding: 15px 12px;
  }
  .scenario-stat strong {
    font-size: 20px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-aside {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  :root {
    --sidebar: 74px;
  }
  .brand {
    padding: 22px 21px 30px;
  }
  .brand span,
  .nav-list a > span,
  .sidebar-bottom > a > span,
  .workspace-note {
    display: none;
  }
  .nav-list a,
  .sidebar-bottom > a {
    justify-content: center;
    padding: 12px 8px;
    gap: 0;
  }
  .nav-list a .icon {
    width: 22px;
  }
  .sidebar-bottom {
    padding-bottom: 24px;
  }
  .workspace-switch {
    min-width: 155px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .attention {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 16px 14px;
    gap: 16px;
  }
  .attention-row {
    padding: 13px 0 2px;
    gap: 9px;
    align-items: start;
    position: relative;
  }
  .attention-row .avatar {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
  .attention-row .button-link {
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .attention-copy p {
    padding-right: 20px;
  }
  .attention-copy strong {
    font-size: 11px;
  }
  .chart {
    aspect-ratio: 700/205;
  }
  .owner-cell {
    font-size: 10px;
  }
  .scenario-grid {
    grid-template-columns: 1fr;
  }
  .scenario-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 24px;
  }
  .scenario-controls h2,
  .scenario-controls .scenario-save {
    grid-column: 1/-1;
  }
  .scenario-controls label {
    margin-top: 0;
  }
  .scenario-controls .scenario-save {
    margin-top: 0 !important;
  }
  .history-row {
    grid-template-columns: 115px 17px 1fr 90px;
  }
  .account-cell {
    gap: 9px;
  }
}
@media (max-width: 650px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 228px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 15px 0 50px #0008;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar .brand span,
  .sidebar .nav-list a > span,
  .sidebar .sidebar-bottom > a > span,
  .sidebar .workspace-note {
    display: block;
  }
  .sidebar .brand {
    gap: 18px;
  }
  .sidebar .nav-list a,
  .sidebar .sidebar-bottom > a {
    justify-content: flex-start;
    padding-left: 20px;
    gap: 18px;
  }
  .sidebar .nav-count {
    margin-left: auto;
  }
  .nav-shade:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    border: 0;
    background: #0008;
    z-index: 29;
  }
  .mobile-menu {
    display: flex;
  }
  .topbar {
    height: 60px;
    padding: 0 12px;
    gap: 8px;
  }
  .workspace-switch {
    border: 0;
    background: transparent;
    min-width: 0;
    padding: 5px 0;
    font-size: 12px;
    gap: 10px;
  }
  .global-search {
    margin-left: auto;
    width: 34px;
    padding: 7px;
    border-color: transparent;
    background: transparent;
  }
  .global-search .icon {
    width: 18px;
    height: 18px;
  }
  .global-search input {
    position: absolute;
    width: 1px;
    opacity: 0;
    pointer-events: none;
  }
  .global-search kbd {
    display: none;
  }
  .global-search:focus-within {
    position: absolute;
    left: 53px;
    right: 94px;
    width: auto;
    background: #15252c;
    border: 1px solid var(--lime);
    z-index: 5;
  }
  .global-search:focus-within input {
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
  }
  .notification-button {
    width: 29px;
  }
  .profile-link .avatar {
    width: 26px;
    height: 26px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .page-heading h1 {
    font-size: 25px;
    letter-spacing: -0.8px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .page-heading > .button {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 35px;
    gap: 7px;
  }
  .page-heading > .button .icon {
    width: 15px;
  }
  main {
    padding: 22px 14px 0;
  }
  .metrics {
    margin-bottom: 14px;
  }
  .metric {
    padding: 11px 12px;
  }
  .metric .label {
    font-size: 9px;
  }
  .metric strong {
    font-size: 24px;
  }
  .metric .icon {
    display: none;
  }
  .panel-head {
    padding: 14px;
  }
  .panel-head h2 {
    font-size: 15px;
  }
  .panel-head .button-link {
    font-size: 10px;
  }
  .panel-head .button-link .icon {
    width: 14px;
  }
  .chart-panel .panel-head {
    align-items: flex-start;
    gap: 10px;
  }
  .segmented button {
    font-size: 9px;
    padding: 3px 8px;
    min-height: 24px;
  }
  .chart-wrap {
    padding: 3px 11px 14px;
  }
  .chart {
    aspect-ratio: 700/290;
  }
  .chart text {
    font-size: 14px;
  }
  .chart-legend {
    font-size: 9px;
    gap: 17px;
  }
  .chart-legend .hint {
    font-size: 8px;
  }
  .attention {
    display: block;
    padding: 0 15px 4px;
  }
  .attention-row {
    padding: 14px 0;
    align-items: center;
  }
  .attention-row .avatar {
    width: 35px;
    height: 35px;
    font-size: 11px;
  }
  .attention-row .button-link {
    position: static;
    font-size: 10px;
    gap: 7px;
  }
  .attention-copy strong {
    font-size: 12px;
  }
  .attention-copy p {
    font-size: 10px;
  }
  .table-tools {
    padding: 0 14px 13px;
    gap: 8px;
  }
  .field-search {
    min-width: 0;
    flex: 1;
    padding: 7px 8px;
  }
  .table-tools select {
    max-width: 125px;
    font-size: 10px;
    padding: 7px 20px 7px 7px;
  }
  .result-count {
    display: none;
  }
  .account-table thead {
    display: none;
  }
  .account-table tbody {
    display: block;
  }
  .account-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 138px;
    position: relative;
    padding: 13px 14px;
    border-top: 1px solid var(--line-soft);
    gap: 8px 10px;
  }
  .account-table td {
    display: block;
    padding: 0;
    border: 0;
  }
  .account-table td:nth-child(3) {
    font-size: 10px;
    color: var(--muted);
    padding-left: 44px;
  }
  .account-table td:nth-child(3):before {
    content: "Review: ";
    color: var(--quiet);
  }
  .account-table td:nth-child(4) {
    display: none;
  }
  .account-table td:last-child {
    position: absolute;
    bottom: 9px;
    right: 11px;
  }
  .account-cell .avatar {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }
  .account-name {
    font-size: 11px;
  }
  .account-cell small {
    font-size: 9px;
  }
  .status {
    font-size: 10px;
  }
  .status-note {
    font-size: 9px;
    max-width: 125px;
  }
  .history-list {
    padding: 0 14px 7px;
  }
  .history-row {
    grid-template-columns: 18px 1fr auto;
    gap: 9px;
    padding: 13px 0;
  }
  .history-row time {
    grid-column: 2;
    grid-row: 2;
    font-size: 9px;
  }
  .history-row > .icon {
    grid-column: 1;
    grid-row: 1;
  }
  .history-row > .history-text {
    grid-column: 2;
    grid-row: 1;
    font-size: 10px;
  }
  .history-row > .button-link {
    grid-column: 3;
    grid-row: 1/3;
    font-size: 0;
    gap: 0;
  }
  .app-footer {
    padding: 17px 15px 22px;
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
  }
  .filter-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .filter-row .segmented {
    flex: 1;
    justify-content: space-around;
  }
  .filter-row .segmented button {
    font-size: 10px;
    flex: 1;
    padding: 5px 8px;
  }
  .decision-card {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    padding: 17px;
  }
  .decision-card > .button {
    grid-column: 2;
    justify-self: start;
  }
  .decision-card > .avatar {
    width: 33px;
    height: 33px;
    font-size: 10px;
  }
  .decision-card h3 {
    font-size: 15px;
  }
  .decision-card p {
    font-size: 11px;
  }
  .scenario-controls {
    display: block;
    padding: 19px;
  }
  .scenario-controls label {
    margin-top: 20px;
  }
  .scenario-stats {
    margin-top: 0;
  }
  .scenario-stat {
    padding: 14px 10px;
  }
  .scenario-stat strong {
    font-size: 18px;
  }
  .scenario-stat small {
    font-size: 9px;
  }
  .saved-row {
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 15px;
  }
  .saved-row > span:not(:first-child) {
    display: none;
  }
  .saved-row > .button {
    grid-column: 2;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .settings-form {
    padding: 19px;
  }
  .settings-aside {
    grid-template-columns: 1fr;
  }
  .form-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .timeline {
    padding: 0 15px;
  }
  .timeline-row {
    grid-template-columns: 27px 1fr;
    gap: 11px;
    padding: 18px 0;
  }
  .timeline-icon {
    width: 27px;
    height: 27px;
  }
  .timeline-row time {
    grid-column: 2;
    font-size: 9px;
  }
  .timeline-row h3 {
    font-size: 11px;
  }
  .timeline-row p {
    font-size: 10px;
  }
  .activity-controls {
    gap: 8px;
  }
  .activity-controls select {
    max-width: 130px;
  }
  .dialog-header {
    padding: 20px;
  }
  .dialog-header h2 {
    font-size: 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .dialog-footer .button {
    flex: 1;
  }
  .detail-grid {
    gap: 7px;
  }
  .detail-box {
    padding: 10px;
  }
  .detail-box small {
    font-size: 9px;
  }
  .detail-box strong {
    font-size: 15px;
  }
  .comparison div {
    padding: 14px;
  }
  .comparison strong {
    font-size: 20px;
  }
  .toast {
    bottom: 15px;
    font-size: 11px;
  }
  .dense .account-table td {
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
