:root {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #243332;
  background: #f5f7f7;
  font-synthesis: none;
  font-size: 14px;
  --accent: #147d6c;
  --line: #e4eae9;
  --muted: #7b8987;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
.button {
  border: 1px solid #dce5e3;
  border-radius: 7px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 600;
  background: white;
  color: #354744;
  transition: background 0.15s;
}
button:hover,
.button:hover {
  background: #f0f6f4;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #4aaa9870;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.disabled {
  pointer-events: none;
  opacity: 0.4;
}
.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.primary:hover {
  background: #116d5f;
}
.quiet {
  background: white;
}
.danger {
  color: #b34e4e;
}
.icon-button {
  border: 0;
  padding: 5px 8px;
  background: transparent;
  font-size: 19px;
  font-weight: 400;
}
.text-link {
  color: var(--accent);
  font-weight: 600;
}
.muted,
small {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.6;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.25;
  font-weight: 650;
  margin-bottom: 10px;
}
h2 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.25px;
  margin-bottom: 8px;
}
h3 {
  font-size: 15px;
}
p {
  line-height: 1.6;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
  max-width: 600px;
  max-height: 250px;
  overflow: auto;
  background: #f3f5f5;
  padding: 12px;
  border-radius: 6px;
}
code,
.mono {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 12px;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 234px;
  background: #152b29;
  color: #aec1bc;
  padding: 32px 18px 20px;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f2f7f5;
  font-size: 12px;
  letter-spacing: 1.4px;
  font-weight: 750;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 2.8px;
  color: #8fa9a2;
  margin-top: 5px;
}
.brand-symbol {
  font-size: 29px;
  letter-spacing: -2px;
  font-weight: 500;
}
.brand-symbol span {
  color: #55c4a5;
}
.sidebar > .brand {
  padding: 0 10px 40px;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.9px;
  padding: 0 14px 14px;
  color: #688f83;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  align-items: center;
  padding: 12px 13px;
  border-radius: 6px;
  font-size: 12px;
  gap: 13px;
}
nav a:hover {
  background: #1b3731;
  color: #fff;
}
nav a.active {
  background: #22443b;
  color: #a6e1ca;
}
nav a b {
  margin-left: auto;
  font-size: 24px;
  line-height: 0.4;
  color: #64c5a1;
}
.nav-icon {
  font-size: 20px;
  width: 22px;
  text-align: center;
  font-weight: 400;
}
.sidebar-bottom {
  margin-top: auto;
}
.environment {
  font-size: 10px;
  border-bottom: 1px solid #2b4540;
  padding: 22px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6cae8d;
  display: inline-block;
  flex-shrink: 0;
}
.account {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 22px 4px 0;
}
.account strong {
  font-size: 11px;
  color: #dfe8e4;
  display: block;
}
.account small {
  display: block;
  font-size: 9px;
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account button {
  color: #a7bcb5;
  margin-left: auto;
}
.avatar {
  display: inline-flex;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #304b40;
  color: #c2d9b5;
  font-size: 12px;
  flex-shrink: 0;
}
.avatar.light {
  background: #edf3ef;
  color: #527860;
}
.workspace {
  margin-left: 234px;
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 0 38px;
  font-size: 11px;
  color: #52645e;
}
.topbar b {
  padding: 0 12px;
  color: #c7d0cd;
  font-weight: 400;
}
.topbar > div {
  display: flex;
  align-items: center;
  gap: 23px;
}
.live-label {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
}
.top-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ecf1ed;
  width: 30px;
  height: 30px;
  font-size: 11px;
  color: #527958;
}
main#main {
  padding: 35px 38px;
  max-width: 1800px;
  margin: 0 auto;
  min-height: calc(100vh - 130px);
}
.eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.8px;
  color: #81948c;
  margin-bottom: 13px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin: 0;
  color: #85918d;
  font-size: 12px;
}
.heading-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}
.date-chip {
  font-size: 11px;
  border: 1px solid #dce5e1;
  background: white;
  border-radius: 6px;
  padding: 11px 15px;
}
.heading-actions button,
.heading-actions a {
  font-size: 11px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.metrics.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.metric {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  padding: 20px 22px;
}
.metric-label {
  font-size: 11px;
  color: #788b82;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.metric-label > span {
  font-size: 18px;
  color: #658a7a;
}
.metric > strong {
  font-size: 31px;
  letter-spacing: -1px;
  font-weight: 650;
  display: block;
  margin: 14px 0 8px;
}
.metric > small {
  font-size: 10px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px;
  margin-bottom: 22px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}
.panel-heading p {
  color: #88968f;
  font-size: 11px;
  margin: 0;
}
.panel-heading h2 {
  margin-bottom: 6px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(235px, 1fr);
  gap: 22px;
}
.dashboard-grid.equal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-grid > .panel {
  min-height: 310px;
}
.tag {
  display: inline-block;
  border: 1px solid #e1e9e4;
  background: #f7f9f7;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 9px;
  color: #75887b;
  white-space: nowrap;
}
svg {
  display: block;
  width: 100%;
  overflow: visible;
}
svg text {
  font-family: inherit;
  fill: #92a098;
  font-size: 9px;
}
.grid-line {
  stroke: #e8eeea;
  stroke-dasharray: 3 4;
  stroke-width: 1;
}
.chart-bar {
  fill: #388c78;
}
.chart-bar:hover {
  fill: #126a55;
}
.chart-legend {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: #6b8175;
  margin-bottom: 19px;
}
.chart-legend .muted {
  margin-left: auto;
}
.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #388c78;
}
.chart-data {
  font-size: 10px;
  margin-top: 9px;
  color: #788b7e;
}
.chart-data table {
  margin-top: 12px;
}
.source-total {
  display: flex;
  flex-direction: column;
  margin: 10px 0 27px;
}
.source-total strong {
  font-size: 35px;
  font-weight: 650;
  letter-spacing: -1px;
}
.source-total span {
  font-size: 10px;
  color: #819087;
  margin-top: 7px;
}
.source-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin: 16px 0 10px;
  color: #687e71;
}
.source-row strong {
  font-weight: 600;
  color: #3e5c49;
}
.source-bar {
  margin-bottom: 25px;
}
.table-wrap {
  overflow-x: auto;
  margin: 0 -22px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-weight: 500;
  color: #89998e;
  background: #fafcfb;
  font-size: 10px;
  border-top: 1px solid #edf1ee;
  border-bottom: 1px solid #e7ede8;
  padding: 13px 22px;
  white-space: nowrap;
}
td {
  padding: 17px 22px;
  border-bottom: 1px solid #eff2ef;
  vertical-align: middle;
  line-height: 1.6;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  font-size: 11px;
  font-weight: 600;
}
.sub {
  display: block;
  color: #8c9b90;
  font-size: 10px;
  margin-top: 3px;
}
.person {
  display: flex;
  gap: 11px;
  align-items: center;
}
.person small {
  display: block;
  font-size: 10px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 9px;
  background: #f1f3f3;
  color: #7b8783;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.good {
  background: #edf6ef;
  color: #518168;
}
.badge.bad {
  background: #fbefec;
  color: #b56c5f;
}
.badge.neutral {
  background: #f5f2e8;
  color: #95834f;
}
.empty {
  text-align: center;
  padding: 30px 15px;
  color: #91a095;
}
.empty h3 {
  margin: 12px 0 6px;
  color: #697f70;
}
.empty p {
  font-size: 12px;
  margin: 0;
}
.empty-mark {
  font-size: 25px;
  color: #9fb5a6;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.search {
  border: 1px solid #dce5df;
  border-radius: 7px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  flex: 1;
  max-width: 450px;
}
.search span {
  font-size: 22px;
  color: #99aa9d;
}
.search input {
  border: 0;
  padding: 11px 0;
  width: 100%;
  outline: 0;
  font-size: 11px;
}
.toolbar select {
  width: auto;
  min-width: 140px;
}
.toolbar button {
  font-size: 11px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
  font-size: 10px;
  color: #86968a;
}
.pagination > div {
  display: flex;
  gap: 9px;
}
.pagination .button {
  font-size: 10px;
  padding: 7px 10px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 11px;
  color: #5d7264;
}
.field > span {
  font-weight: 600;
}
.field small {
  font-size: 10px;
  line-height: 1.6;
  color: #8a9a8e;
}
input:not([type="checkbox"]),
textarea,
select {
  display: block;
  width: 100%;
  background: white;
  border: 1px solid #dce5df;
  border-radius: 6px;
  padding: 10px 11px;
  color: #334d3d;
  font-size: 12px;
}
input::placeholder,
textarea::placeholder {
  color: #a8b5aa;
}
textarea {
  resize: vertical;
  line-height: 1.6;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #147d6c;
  cursor: pointer;
  flex-shrink: 0;
}
.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.switch-row strong {
  font-size: 12px;
}
.switch-row small {
  display: block;
  font-size: 10px;
  margin-top: 4px;
}
.user-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.3fr);
  gap: 22px;
}
.activity-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.activity-item:last-child {
  border: 0;
}
.activity-item > div {
  flex: 1;
  min-width: 0;
}
.activity-item strong {
  font-size: 12px;
}
.activity-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #edf5ef;
  color: #448563;
  display: flex;
  align-items: center;
  justify-content: center;
}
.activity-icon.error {
  background: #fbefec;
  color: #bd695c;
}
.vin-ledger {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  padding-top: 20px;
}
.vin-ledger small {
  display: block;
}
.run {
  margin-bottom: 6px;
}
.run summary {
  white-space: nowrap;
  font-size: 10px;
}
.run pre {
  max-width: 360px;
}
.row-actions {
  display: flex;
  gap: 5px;
}
.row-actions button {
  font-size: 10px;
  padding: 6px 8px;
}
details summary {
  cursor: pointer;
  color: #5d7868;
}
.truncate {
  max-width: 270px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.task-group {
  margin-bottom: 32px;
}
.task-group-heading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.task-group-heading h2 {
  margin: 0;
  font-size: 18px;
}
.task-group-heading .muted {
  font-size: 11px;
}
.task-car-title {
  color: var(--accent);
  font-size: 11px;
  margin-bottom: 8px;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}
.task-card {
  display: flex;
  flex-direction: column;
  padding: 23px;
  margin: 0;
  transition:
    border-color 0.15s,
    transform 0.15s;
}
.task-card:hover {
  border-color: #8ab8a2;
  transform: translateY(-2px);
}
.task-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.task-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 23px;
  background: #edf4ef;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  color: #4c8467;
}
.task-card h3 {
  font-size: 17px;
}
.task-card p {
  font-size: 11px;
  color: #8a998d;
  line-height: 1.7;
  min-height: 52px;
  flex: 1;
}
.task-card-bottom {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 9px;
  color: #829689;
}
.task-card-bottom b {
  margin-left: auto;
  font-size: 17px;
}
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.vehicle-grid .panel {
  margin: 0;
}
.vehicle-form h2 {
  margin-top: 14px;
}
.vehicle-icon {
  font-size: 32px;
  color: #7b9c87;
}
.inline-form {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}
.inline-form .field {
  flex: 1;
  margin-bottom: 0;
}
.inline-form button {
  margin-bottom: 1px;
}
.resource {
  margin-bottom: 35px;
}
.resource > div {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 14px;
}
.resource > div span {
  color: #819789;
}
.resource small {
  font-size: 10px;
  display: block;
  margin-top: 11px;
}
.details-list {
  margin: 0;
}
.details-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
  font-size: 11px;
}
.details-list dt {
  color: #879b8b;
}
.details-list dd {
  margin: 0;
  text-align: right;
}
.loading {
  padding: 80px;
  text-align: center;
  color: #91a295;
}
footer {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 5px 38px 24px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #9baa9f;
}
footer span {
  font-size: 9px;
  letter-spacing: 0;
}
#updated {
  margin-left: auto;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #174c39;
  color: #fff;
  max-width: 90vw;
  padding: 13px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 35px #152b2926;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s;
  z-index: 20;
  font-size: 12px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
#toast.error {
  background: #984c43;
}
.form-error {
  color: #b14d42;
  font-size: 12px;
}
.hint {
  font-size: 10px;
  color: #8b9e90;
  line-height: 1.8;
}
.editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
.editor-main,
.editor-side {
  min-width: 0;
}
.editor-side h2 {
  font-size: 14px;
}
.editor-side .muted {
  font-size: 11px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #71907a;
}
.palette {
  display: grid;
  gap: 10px;
}
.palette button {
  padding: 12px 10px;
  text-align: left;
  justify-content: flex-start;
  font-size: 10px;
  font-weight: 400;
}
.palette button b {
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
  color: #7e9b87;
}
.palette button strong {
  font-size: 11px;
}
.palette button small {
  display: block;
  font-size: 9px;
}
.palette-icon {
  font-size: 22px;
  color: #427f60;
  min-width: 27px;
}
.flow-terminal {
  margin: 0 auto;
  width: 100px;
  padding: 8px;
  text-align: center;
  border-radius: 20px;
  background: #f0f5f1;
  border: 1px solid #dfe9e1;
  color: #739780;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}
.block {
  border: 1px solid #dfe8e1;
  border-radius: 7px;
  margin: 25px 0;
  position: relative;
  background: white;
}
.block:before {
  content: "↓";
  position: absolute;
  top: -23px;
  left: 50%;
  color: #91ad99;
  font-size: 16px;
}
.block-heading {
  display: flex;
  align-items: center;
  background: #f6f9f6;
  padding: 10px 13px;
  border-radius: 6px 6px 0 0;
  gap: 10px;
  cursor: grab;
}
.block-heading strong {
  font-size: 11px;
  color: #557d62;
}
.step-number {
  font-family: Consolas, monospace;
  font-size: 10px;
  color: #93ab99;
}
.block-actions {
  margin-left: auto;
  display: flex;
}
.block-actions button {
  font-size: 16px;
}
.block-body {
  padding: 16px;
}
.block-body .field:last-child {
  margin: 0;
}
.empty-blocks {
  padding: 25px;
  text-align: center;
  color: #99ad9e;
  font-size: 11px;
}
.dragging {
  opacity: 0.4;
}
.save-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border: 1px solid #d9e4dc;
  border-radius: 8px;
  background: #fff;
  position: sticky;
  bottom: 15px;
  box-shadow: 0 4px 20px #213c2b0a;
}
.save-bar span {
  font-size: 10px;
  color: #819b87;
}
.asset {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
}
.asset-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}
.asset-heading button {
  padding: 4px 8px;
  font-size: 10px;
  flex-shrink: 0;
}
.asset strong,
.asset small,
.asset code {
  display: block;
  overflow-wrap: anywhere;
  font-size: 9px;
}
.asset strong {
  font-size: 10px;
  margin-bottom: 4px;
}
.asset code {
  margin: 7px 0;
}
.upload {
  cursor: pointer;
  position: relative;
  width: 100%;
  font-size: 11px;
}
.upload input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
#upload-progress {
  font-size: 10px;
  line-height: 1.7;
  margin-top: 10px;
  color: #769281;
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.login-story {
  background: #152f28;
  color: #d4e5d7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 45px 60px;
}
.login-story > .brand {
  margin-bottom: 90px;
}
.login-story .eyebrow {
  color: #8bac94;
  margin-bottom: 24px;
}
.login-story h1 {
  font-size: 51px;
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 500;
  color: #e8f0e8;
}
.login-story p {
  font-size: 13px;
  color: #9fb9a4;
  line-height: 1.9;
}
.login-story > small {
  font-size: 10px;
  color: #7a9a82;
  margin-top: 80px;
}
.login-diagram {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 45px;
}
.login-diagram span {
  font-size: 8px;
  letter-spacing: 1px;
  padding: 14px 12px;
  border: 1px solid #40634a;
  border-radius: 7px;
  color: #9dbda5;
}
.login-diagram b {
  font-weight: 300;
  color: #4b7157;
}
.login-form {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #fbfcfb;
}
.login-form form {
  max-width: 355px;
  width: 100%;
}
.login-form h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}
.login-form .muted {
  font-size: 12px;
  margin-bottom: 35px;
}
.login-form .field {
  margin-bottom: 22px;
}
.login-form .primary {
  width: 100%;
  justify-content: space-between;
  margin-top: 5px;
}
.login-form .hint {
  text-align: center;
  margin-top: 25px;
}
@media (min-width: 1600px) {
  main#main {
    padding-top: 45px;
  }
  .panel {
    padding: 27px;
  }
  .table-wrap {
    margin: 0 -27px;
  }
  .metrics {
    gap: 22px;
  }
  .metric {
    padding: 24px;
  }
  .editor {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 200px;
    padding-inline: 12px;
  }
  .workspace {
    margin-left: 200px;
  }
  main#main {
    padding: 28px 24px;
  }
  .topbar {
    padding: 0 24px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.9fr) minmax(210px, 1fr);
  }
  .editor {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .heading-actions {
    gap: 7px;
  }
  .metric {
    padding: 17px;
  }
  .metric-label {
    font-size: 10px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .login-story {
    padding: 35px;
  }
  .login-story h1 {
    font-size: 44px;
  }
  .login-diagram {
    gap: 6px;
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 70px;
    padding: 25px 10px;
  }
  .sidebar > .brand {
    padding: 0 7px 30px;
  }
  .sidebar .brand > span:last-child,
  .nav-label,
  nav a b,
  .sidebar-bottom .environment,
  .account > div,
  .account > .avatar {
    display: none;
  }
  nav a {
    font-size: 0;
    padding: 12px;
    gap: 0;
    justify-content: center;
  }
  .nav-icon {
    font-size: 23px;
  }
  .workspace {
    margin-left: 70px;
  }
  .account {
    justify-content: center;
  }
  .account button {
    margin: 0;
  }
  .dashboard-grid,
  .dashboard-grid.equal,
  .user-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .editor {
    grid-template-columns: 1fr;
  }
  .editor-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .editor-side .panel:first-child {
    grid-column: 1/-1;
  }
  .palette {
    grid-template-columns: repeat(3, 1fr);
  }
  .palette button small {
    display: none;
  }
  .login-story {
    padding: 30px 25px;
  }
  .login-story h1 {
    font-size: 38px;
  }
  .login-diagram {
    flex-wrap: wrap;
  }
  .login-diagram span {
    font-size: 7px;
    padding: 10px;
  }
  .login-form {
    padding: 30px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .metric > strong {
    font-size: 26px;
  }
  .metrics.three .metric-label > span {
    display: none;
  }
}
@media (max-width: 600px) {
  main#main {
    padding: 24px 14px;
  }
  .topbar {
    height: 60px;
    padding: 0 16px;
  }
  .live-label {
    display: none;
  }
  .page-heading {
    gap: 15px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .heading-actions {
    flex-wrap: wrap;
  }
  .metrics,
  .metrics.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .metric {
    padding: 14px;
  }
  .metric > strong {
    font-size: 25px;
  }
  .metric > small {
    font-size: 9px;
  }
  .panel {
    padding: 17px;
  }
  .table-wrap {
    margin: 0 -17px;
  }
  th,
  td {
    padding: 12px 17px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search {
    min-width: 170px;
  }
  .toolbar select {
    max-width: 150px;
  }
  .inline-form {
    flex-direction: column;
    align-items: stretch;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .editor-side {
    grid-template-columns: 1fr;
  }
  .palette {
    grid-template-columns: 1fr;
  }
  .palette button small {
    display: block;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 24px;
  }
  .login-story > .brand {
    margin-bottom: 30px;
  }
  .login-story h1 {
    font-size: 32px;
  }
  .login-story p,
  .login-diagram,
  .login-story > small {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .pagination {
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }
  footer {
    padding: 0 15px 20px;
    gap: 8px;
  }
  footer > span:first-child {
    display: none;
  }
  .details-list > div {
    flex-wrap: wrap;
  }
  .panel-heading {
    flex-wrap: wrap;
  }
  .date-chip {
    display: none;
  }
}
