﻿/* Operational theme: woodland green, warm ivory, restrained amber. */
:root {
  --bg: #f4f5f0;
  --paper: #fff;
  --ink: #263b32;
  --muted: #6e7b72;
  --line: #e0e6db;
  --green: #27573e;
  --soft: #edf3e8;
  --accent: #b98a44;
  --shadow: 0 4px 20px #263d2804;
  font-size: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
}
body {
  background: var(--bg);
  line-height: 1.5;
}
.sidebar {
  width: 244px;
  padding: 22px 16px 14px;
  background: #183c2e;
}
.main-shell {
  margin-left: 244px;
}
.official-brand img,
.sidebar .official-brand img {
  width: 116px;
  height: 116px;
  border-radius: 7px;
}
.sidebar .division {
  padding: 12px 10px;
  margin: 21px 3px 23px;
  border-color: #d9e6d41c;
}
.division strong {
  font-size: 12px;
}
.division small {
  font-size: 10px;
  line-height: 1.6;
}
.division-icon {
  height: 33px;
  width: 33px;
}
.sidebar nav {
  gap: 4px;
  margin-bottom: 24px;
}
.sidebar nav a {
  min-height: 43px;
  padding: 11px 13px;
  font-size: 12px;
  gap: 12px;
  border-radius: 6px;
}
.sidebar nav a.active {
  background: #e5edd6;
  color: #264c31;
  box-shadow: inset 3px 0 #bdc9a4;
}
.sidebar nav small {
  font-size: 10px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #9db39f;
  margin-bottom: 11px;
}
.sidebar-footer {
  padding: 16px 5px;
  font-size: 9px;
  line-height: 1.7;
}
.user {
  padding: 12px 10px;
  min-height: 58px;
}
.user strong {
  font-size: 12px;
}
.user small {
  font-size: 10px;
}
.avatar {
  height: 33px;
  width: 33px;
}
.topbar {
  height: 76px;
  padding: 0 32px;
  background: var(--paper);
}
.crumb {
  font-size: 12px;
  gap: 13px;
}
.topbar-right {
  gap: 18px;
}
.workspace-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-picker label {
  font-size: 8px;
  letter-spacing: 1px;
  color: var(--muted);
}
.workspace-picker select {
  font-size: 11px;
  padding: 8px 25px 8px 10px;
  min-height: 34px;
  border-color: var(--line);
  background: var(--bg);
}
.demo-badge {
  font-size: 8px;
  letter-spacing: 1px;
}
.topbar .icon-button {
  height: 35px;
  width: 35px;
  background: var(--bg);
  border: 1px solid var(--line);
}
main {
  padding: 32px;
  max-width: 1680px;
}
.page-heading {
  margin-bottom: 25px;
  gap: 20px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-bottom: 11px;
}
.page-heading h1 {
  font-size: 29px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.9px;
  margin-bottom: 10px;
}
.page-heading p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.7;
}
.button {
  min-height: 38px;
  border-radius: 6px;
  font-size: 11px;
  padding: 10px 14px;
  font-weight: 600;
  gap: 8px;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.secondary:hover {
  border-color: #b4c5a7;
}
.button.primary {
  background: #2c5d40;
}
.dark .button.primary {
  background: #446d44;
}
.dataset-notice {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #dfdcc9;
  background: #f1f0e5;
  border-radius: 7px;
  margin-bottom: 23px;
  padding: 11px 15px;
  color: #7a704e;
}
.dataset-notice .icon {
  width: 18px;
  height: 18px;
}
.dataset-notice strong {
  font-size: 11px;
  font-weight: 600;
  margin-right: 10px;
  color: #6a613f;
}
.dataset-notice div > span {
  font-size: 10px;
}
.sample-readonly {
  margin-left: auto;
  letter-spacing: 1px;
  font-size: 8px;
  white-space: nowrap;
}
.stats {
  gap: 16px;
  margin-bottom: 22px;
}
.stat {
  padding: 19px 20px 18px;
  border-radius: 8px;
  border-color: var(--line);
  box-shadow: var(--shadow);
  position: relative;
}
.stat-top {
  font-size: 11px;
  color: #69776c;
}
.stat-value {
  font-size: 35px;
  margin: 8px 0 7px;
  letter-spacing: -1.2px;
  line-height: 1.15;
  font-weight: 550;
  color: var(--ink);
}
.stat-icon {
  height: 32px;
  width: 32px;
  border-radius: 8px;
}
.stat-icon .icon {
  width: 18px;
  height: 18px;
}
.stat-bottom {
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted);
}
.metric-context {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  margin-top: 7px;
  color: var(--muted);
}
.metric-context .metric-delta {
  font-weight: 600;
  color: var(--green);
}
.operational-grid {
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: start;
}
.panel {
  border-radius: 8px;
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.panel-heading {
  padding: 20px 21px 17px;
  gap: 12px;
}
.panel h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.panel-heading p {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 4px;
}
.panel-heading .tag {
  font-size: 8px;
}
.tag {
  font-size: 8px;
  letter-spacing: 0.65px;
  line-height: 1.3;
  font-weight: 600;
  border-radius: 4px;
  padding: 5px 7px;
}
.tag.red {
  background: #f9eae5;
  color: #ab5141;
}
.tag.amber {
  background: #f8f0dd;
  color: #9d7735;
}
.tag.gray {
  background: #eff1ec;
  color: #6f7b69;
}
.status-text {
  font-size: 11px;
  line-height: 1.8;
}
.state-empty {
  padding: 60px 25px;
}
.empty-state h2 {
  font-size: 16px;
}
.empty-state p {
  font-size: 12px;
  max-width: 390px;
  line-height: 1.85;
}
.page-footer {
  font-size: 9px;
  margin-top: 27px;
  padding-top: 17px;
  gap: 15px;
}
.table-wrap table {
  font-size: 12px;
}
.table-wrap th {
  font-size: 9px;
  padding: 13px 20px;
  color: var(--muted);
}
.table-wrap td {
  padding: 15px 20px;
  line-height: 1.7;
}
.table-wrap td small {
  font-size: 9px;
  line-height: 1.6;
}
.asset-location {
  font-size: 11px;
}
.toolbar {
  padding: 14px 20px;
  gap: 12px;
}
.toolbar label {
  font-size: 11px;
}
.toolbar .count {
  font-size: 11px;
}
.toolbar input[type="search"] {
  min-width: 190px;
  flex: 1;
  max-width: 340px;
  font-size: 12px;
}
.toolbar select {
  font-size: 11px;
  min-height: 36px;
}
.filter-tabs {
  padding: 0 20px 14px;
  gap: 7px;
}
.filter-tab {
  font-size: 10px;
  padding: 7px 12px;
  min-height: 31px;
}
.text-button {
  font-size: 11px;
  font-weight: 500;
  min-height: 29px;
}
.panel-bottom {
  padding: 10px 20px;
  border-top: 1px solid var(--line);
}
.incident-summary {
  margin: 0 0 10px;
  gap: 6px;
}
.incident-compact {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
}
.incident-compact:first-child {
  border-top: 0;
}
.incident-top {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.incident-reference {
  font-size: 8px;
  letter-spacing: 0.7px;
  color: var(--muted);
}
.incident-compact h3 {
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0 6px;
}
.incident-compact p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.incident-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 11px;
}
.incident-footer .text-button {
  font-size: 10px;
}
.ttc-line {
  font-size: 9px;
  color: #8e6a34;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ttc-line .icon {
  width: 12px;
  height: 12px;
}
.scenario-map {
  height: 339px;
  margin: 0 13px 13px;
  border-radius: 5px;
  border: 1px solid #dce4ce;
  position: relative;
  overflow: hidden;
  background: #e6edda;
}
.scenario-map .terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scenario-map-content {
  position: absolute;
  inset: 0;
  transform-origin: center;
  transition: transform 0.18s;
}
.scenario-map .map-word {
  left: 35%;
  top: 28%;
  font-size: 10px;
  letter-spacing: 3px;
  color: #7d9366;
}
.scenario-map .map-caption {
  font-size: 7px;
  top: 12px;
  left: 12px;
}
.scenario-map .map-village {
  font-size: 8px;
  white-space: nowrap;
}
.scenario-map .camera-marker {
  width: 17px;
  height: 17px;
}
.scenario-map .camera-marker.offline {
  background: #92998b;
}
.scenario-map .animal-marker {
  width: 26px;
  height: 26px;
}
.scenario-map .animal-marker:after {
  font-size: 8px;
  padding: 5px 7px;
}
.scenario-map .map-legend {
  font-size: 7px;
  gap: 10px;
}
.map-scale {
  font-size: 7px;
}
.map-toolbar {
  display: flex;
  gap: 7px;
  align-items: center;
}
.map-toolbar select {
  font-size: 10px;
  padding: 5px 21px 5px 8px;
  min-height: 29px;
}
.network-summary {
  display: flex;
  padding: 0 21px 18px;
  gap: 18px;
  font-size: 10px;
  color: var(--muted);
}
.network-summary span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.network-summary i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #74945b;
}
.network-summary .warning {
  background: #b99556;
}
.network-summary .offline {
  background: #a7afa0;
}
.overview-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.chart-frame {
  display: flex;
  gap: 15px;
  padding: 2px 22px 24px;
  height: 190px;
}
.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  padding-bottom: 21px;
  width: 15px;
}
.chart-main {
  flex: 1;
  position: relative;
  margin-bottom: 21px;
  min-width: 0;
}
.chart-guides {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to top,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 34px
  );
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 17px;
  justify-content: space-around;
  position: absolute;
  inset: 5px 0 0;
}
.chart-bar {
  position: relative;
  width: 29px;
  border-radius: 4px 4px 0 0;
  background: #9db58a;
  min-height: 2px;
}
.chart-bar.today {
  background: #416b47;
}
.chart-bar b {
  position: absolute;
  bottom: calc(100% + 5px);
  width: 100%;
  text-align: center;
  font-size: 8px;
  color: var(--green);
  font-weight: 500;
}
.chart-bar span {
  position: absolute;
  top: calc(100% + 10px);
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: var(--muted);
}
.chart-key {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
}
.chart-key i {
  height: 6px;
  width: 6px;
  background: #9db58a;
  border-radius: 2px;
}
.response-overview {
  padding: 0 21px 17px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.response-number {
  font-size: 25px;
  color: var(--ink);
  font-weight: 550;
  letter-spacing: -0.6px;
}
.response-number small {
  font-size: 11px;
  letter-spacing: 0;
  color: var(--muted);
  font-weight: 400;
}
.response-label {
  font-size: 9px;
  color: var(--muted);
  margin-top: 3px;
}
.team-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-top: 1px solid var(--line);
}
.team-mini .avatar {
  width: 29px;
  height: 29px;
  font-size: 9px;
  background: var(--soft);
  color: var(--green);
}
.team-mini strong {
  display: block;
  font-size: 10px;
  font-weight: 550;
}
.team-mini small {
  font-size: 9px;
  color: var(--muted);
}
.team-mini .tag {
  margin-left: auto;
  font-size: 7px;
}
.coexistence-strip {
  margin-top: 20px;
  border: 1px solid #dce5d2;
  background: #edf2e6;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 19px;
  color: #67804f;
}
.coexistence-strip strong {
  font-size: 11px;
  font-weight: 550;
  color: #45623b;
}
.coexistence-strip p {
  font-size: 10px;
  color: #77866c;
  margin: 3px 0 0;
}
.coexistence-strip .tag {
  margin-left: auto;
  background: #dfe8d0;
}
.detection-table .species-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}
.species-emblem {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  height: 31px;
  width: 31px;
  border-radius: 7px;
  color: #6a8753;
  background: #edf2e6;
}
.species-emblem .icon {
  width: 17px;
  height: 17px;
}
.confidence-number {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--green);
}
.camera-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.camera-status:before {
  content: "";
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #7b9a65;
}
.camera-status.degraded:before {
  background: #bd9b5c;
}
.camera-status.offline:before,
.camera-status.stale:before {
  background: #a4aa9d;
}
.sample-inline {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.4px;
}
.readonly-note {
  font-size: 11px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 6px;
  line-height: 1.8;
}
.detail-grid {
  padding: 19px 0;
}
.detail-grid small {
  font-size: 10px;
}
.detail-grid strong {
  font-size: 19px;
}
.dialog-heading {
  padding: 20px 25px;
}
.dialog-heading h2 {
  font-size: 18px;
}
.dialog-heading p {
  font-size: 10px;
}
.dialog-body > p {
  font-size: 12px;
}
.dialog-body label {
  font-size: 12px;
}
.dialog-body input,
.dialog-body select,
.dialog-body textarea {
  font-size: 12px;
}
.timeline-item strong {
  font-size: 11px;
}
.timeline-item time {
  font-size: 9px;
}
.timeline-item p {
  font-size: 11px;
}
.dialog-body .section-label {
  font-size: 10px;
}
.reason {
  font-size: 11px;
}
.message-card {
  margin: 0 20px 15px;
}
.message-card p {
  font-size: 13px;
  line-height: 1.9;
}
.message-card small {
  font-size: 10px;
}
.message-top {
  font-size: 11px;
}
.message-top time {
  font-size: 9px;
}
.registry-form h2 {
  font-size: 15px;
}
.registry-form label {
  font-size: 12px;
}
.plain-list li {
  font-size: 12px;
  padding: 16px 20px;
}
.toast {
  font-size: 12px;
  max-width: calc(100vw - 30px);
}
.dark {
  --bg: #16271f;
  --paper: #20362b;
  --ink: #e2e9db;
  --muted: #a1b09d;
  --line: #354a38;
  --green: #9cbe87;
  --soft: #2d4430;
}
.dark .stat-top {
  color: #b0bea8;
}
.dark .stat-icon {
  background: #304830;
  color: #b9cfa1;
}
.dark .dataset-notice {
  background: #343a28;
  border-color: #4d5337;
  color: #c5c6a1;
}
.dark .dataset-notice strong {
  color: #d3d4b0;
}
.dark .scenario-map {
  filter: brightness(0.8);
}
.dark .coexistence-strip {
  background: #2b402c;
  border-color: #40533a;
}
.dark .coexistence-strip strong,
.dark .coexistence-strip p {
  color: #bacba7;
}
.dark .chart-bar {
  background: #6d8c5c;
}
.dark .chart-bar.today {
  background: #b2c895;
}
.dark .confidence-number {
  color: #b6cf9f;
}
.dark .species-emblem {
  background: #304632;
  color: #b6cc9f;
}
@media (min-width: 1600px) {
  main {
    padding: 36px 42px;
  }
  .topbar {
    padding: 0 42px;
  }
  .page-heading h1 {
    font-size: 32px;
  }
  .scenario-map {
    height: 385px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 224px;
    padding-left: 13px;
    padding-right: 13px;
  }
  .main-shell {
    margin-left: 224px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 27px 25px;
  }
  .operational-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr);
    gap: 16px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 17px;
  }
  .stat-top {
    font-size: 10px;
  }
  .workspace-picker label {
    display: none;
  }
  .overview-lower {
    gap: 16px;
  }
  .stat-bottom {
    font-size: 8px;
  }
  .panel-heading {
    padding: 18px;
  }
  .topbar-right {
    gap: 12px;
  }
  .network-summary {
    font-size: 9px;
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 27px;
  }
  .dataset-notice div > span {
    display: block;
    font-size: 9px;
    margin-top: 2px;
  }
}
@media (max-width: 1000px) {
  .operational-grid,
  .overview-lower {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar .official-brand img {
    width: 105px;
    height: 105px;
  }
  .sidebar nav a {
    min-height: 39px;
    font-size: 11px;
  }
  .scenario-map {
    height: 360px;
  }
  .plain-list .incident-compact {
    padding: 15px 20px;
  }
  .response-overview {
    padding-bottom: 18px;
  }
  .team-mini {
    padding: 14px 20px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .stat-top {
    font-size: 11px;
  }
  .stat-bottom {
    font-size: 9px;
  }
  .dataset-notice {
    margin-bottom: 20px;
  }
  .overview-lower {
    margin-top: 16px;
  }
}
@media (max-width: 740px) {
  .sidebar {
    width: 244px;
  }
  .main-shell {
    margin-left: 0;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .topbar {
    height: 65px;
    padding: 0 16px;
  }
  .crumb {
    font-size: 10px;
    gap: 9px;
  }
  .crumb > span:first-of-type {
    display: none;
  }
  .topbar-right {
    gap: 9px;
  }
  .workspace-picker select {
    font-size: 10px;
    min-height: 34px;
    width: 125px;
    padding-right: 14px;
  }
  .topbar .demo-badge {
    display: none;
  }
  main {
    padding: 24px 16px;
  }
  .page-heading {
    gap: 17px;
    align-items: stretch;
    margin-bottom: 21px;
  }
  .page-heading h1 {
    font-size: 27px;
    line-height: 1.3;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  .page-heading > .button {
    align-self: flex-start;
    width: auto;
    min-height: 40px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .dataset-notice {
    gap: 9px;
    padding: 11px 12px;
  }
  .dataset-notice strong {
    font-size: 10px;
  }
  .dataset-notice div > span {
    font-size: 8px;
    line-height: 1.6;
  }
  .sample-readonly {
    font-size: 7px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 16px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-icon {
    height: 26px;
    width: 26px;
  }
  .stat-icon .icon {
    width: 15px;
    height: 15px;
  }
  .stat-value {
    font-size: 32px;
    margin-top: 11px;
  }
  .stat-bottom {
    font-size: 8px;
  }
  .panel h2 {
    font-size: 14px;
  }
  .panel-heading {
    padding: 18px 16px;
    align-items: center;
  }
  .panel-heading p {
    font-size: 9px;
  }
  .panel-heading .tag {
    font-size: 7px;
  }
  .scenario-map {
    height: 310px;
    margin: 0 8px 11px;
  }
  .scenario-map .map-caption {
    font-size: 6px;
    padding: 6px;
  }
  .scenario-map .map-word {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .scenario-map .map-legend {
    font-size: 6px;
    gap: 6px;
    padding: 7px;
  }
  .scenario-map .animal-marker:after {
    font-size: 7px;
    left: 27px;
    padding: 4px;
  }
  .map-toolbar select {
    max-width: 103px;
    font-size: 9px;
  }
  .network-summary {
    padding: 0 17px 16px;
    gap: 12px;
    font-size: 8px;
  }
  .incident-compact h3 {
    font-size: 13px;
  }
  .incident-compact p {
    font-size: 10px;
  }
  .incident-compact .text-button {
    min-height: 38px;
  }
  .chart-bars {
    gap: 9px;
  }
  .chart-bar {
    width: 23px;
  }
  .chart-frame {
    padding-left: 17px;
    padding-right: 17px;
    height: 182px;
  }
  .response-number {
    font-size: 28px;
  }
  .response-label {
    font-size: 10px;
  }
  .coexistence-strip {
    padding: 14px;
    align-items: flex-start;
    gap: 10px;
  }
  .coexistence-strip .tag {
    display: none;
  }
  .coexistence-strip strong {
    font-size: 11px;
  }
  .coexistence-strip p {
    font-size: 9px;
    line-height: 1.8;
  }
  .page-footer {
    font-size: 8px;
    line-height: 1.8;
    gap: 20px;
  }
  .toolbar {
    padding: 13px 16px;
    gap: 8px;
  }
  .toolbar input[type="search"] {
    min-width: 0;
    max-width: none;
    flex-basis: 100%;
    font-size: 12px;
  }
  .toolbar label {
    font-size: 10px;
  }
  .table-wrap table {
    min-width: 680px;
  }
  .table-wrap td {
    font-size: 11px;
    padding: 13px 16px;
  }
  .button {
    min-height: 42px;
  }
  .filter-tab {
    min-height: 36px;
  }
  .toast {
    left: 50%;
    width: max-content;
  }
  .detail-actions .button {
    min-height: 46px;
  }
  .scenario-map .camera-marker {
    height: 21px;
    width: 21px;
  }
  .sample-inline {
    font-size: 7px;
  }
}
@media print {
  .dataset-notice {
    display: flex !important;
  }
  .operational-grid,
  .overview-lower {
    grid-template-columns: 1fr;
  }
  .sample-readonly {
    display: block;
  }
  .scenario-map {
    height: 300px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.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;
}
/* Inherit text from the theme variables in both color schemes. */
body {
  color: var(--ink);
}
.dark .stat:nth-child(2) .stat-icon {
  background: #48412c;
  color: #dbc18a;
}
.dark .stat:nth-child(3) .stat-icon {
  background: #30464b;
  color: #a5c5cd;
}
.dark .stat:nth-child(4) .stat-icon {
  background: #3e3c53;
  color: #c1b6e2;
}
.dark .ttc-line {
  color: #d2b57c;
}
/* Upcoming independently developed workspaces. */
.sidebar nav .module-soon-badge {
  margin-left: auto;
  background: #d9c69c13;
  color: #d8c796;
  font-size: 7px;
  letter-spacing: 0.6px;
  padding: 3px 5px;
  font-weight: 500;
}
.sidebar nav a.active .module-soon-badge {
  color: #7b6c3c;
  background: #c6b47b25;
}
.coming-soon-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 385px;
  background: var(--paper);
}
.coming-soon-copy {
  padding: 39px 40px 35px;
}
.coming-soon-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #f5efdc;
  color: #8b7443;
  border: 1px solid #eadfc2;
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: 1.2px;
  padding: 6px 9px;
  margin-bottom: 25px;
  font-weight: 600;
}
.coming-soon-status i {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #b89b5e;
}
.module-kicker {
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--muted);
  margin: 0 0 12px;
}
.panel .coming-soon-title {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 550;
  max-width: 390px;
  margin: 0 0 17px;
}
.coming-soon-description {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 430px;
  margin: 0 0 15px;
}
.coming-soon-development {
  font-size: 11px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 400px;
  margin: 0 0 22px;
}
.module-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center, #e5ecd8, #f0f3e9 80%);
  color: #6c8958;
  border-left: 1px solid var(--line);
  padding: 25px 20px;
}
.module-illustration svg {
  width: 100%;
  max-width: 400px;
  display: block;
}
.module-illustration > span {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #7d8e6f;
  padding: 10px;
  text-align: center;
}
.planned-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 30px 0 15px;
  gap: 15px;
}
.planned-heading h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 0;
}
.planned-heading > span {
  font-size: 10px;
  color: var(--muted);
}
.module-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.module-feature {
  padding: 24px;
}
.module-feature-icon {
  display: grid;
  place-items: center;
  height: 35px;
  width: 35px;
  background: var(--soft);
  color: var(--green);
  border-radius: 8px;
  margin-bottom: 18px;
}
.module-feature-icon .icon {
  height: 18px;
  width: 18px;
}
.module-feature h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 10px;
}
.module-feature p {
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0;
}
.dark .coming-soon-status {
  background: #443f2a;
  border-color: #5b5235;
  color: #dfc994;
}
.dark .module-illustration {
  background: radial-gradient(ellipse at center, #344c31, #253b2b 80%);
  color: #9ab884;
}
.dark .module-illustration > span {
  color: #b1c49f;
}
@media (max-width: 1100px) {
  .coming-soon-copy {
    padding: 30px;
  }
  .panel .coming-soon-title {
    font-size: 26px;
  }
  .module-feature {
    padding: 21px;
  }
  .module-illustration {
    padding: 15px;
  }
  .module-feature-grid {
    gap: 13px;
  }
}
@media (max-width: 900px) {
  .coming-soon-panel {
    grid-template-columns: 1fr;
  }
  .module-illustration {
    min-height: 240px;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 14px;
  }
  .module-illustration svg {
    max-width: 300px;
    height: 210px;
  }
  .module-feature-grid {
    grid-template-columns: 1fr;
  }
  .module-feature {
    padding: 22px;
  }
  .module-feature-icon {
    float: left;
    margin: 0 15px 10px 0;
  }
  .module-feature h3 {
    margin-top: 0;
  }
  .coming-soon-copy {
    padding: 30px;
  }
}
@media (max-width: 740px) {
  .coming-soon-copy {
    padding: 27px 24px;
  }
  .panel .coming-soon-title {
    font-size: 26px;
  }
  .coming-soon-description {
    font-size: 12px;
  }
  .coming-soon-development {
    font-size: 11px;
  }
  .coming-soon-status {
    margin-bottom: 22px;
  }
  .module-illustration {
    min-height: 220px;
  }
  .planned-heading {
    align-items: flex-start;
    margin-top: 25px;
  }
  .planned-heading h2 {
    font-size: 13px;
    max-width: 190px;
  }
  .planned-heading > span {
    font-size: 9px;
    text-align: right;
  }
  .sidebar nav a {
    min-height: 38px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .sidebar nav {
    gap: 3px;
    margin-bottom: 18px;
  }
  .module-feature p {
    font-size: 11px;
  }
  .module-illustration > span {
    font-size: 7px;
    letter-spacing: 1.3px;
  }
}
