@import url("/base.css");

.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;
}
.pipeline-row-name,
.pipeline-row-meta {
  display: block;
}

/* Keep secondary labels legible on the light dashboard surfaces. */
body .page-heading p:not(.eyebrow),
body .panel-subtitle,
body .stat-caption,
body .pipeline-row-meta,
body .chart-caption,
body .chart-labels span,
body .grid-line span,
body .table-footer,
body .run-id,
body th,
body .legend,
body .activity-copy p,
body .pipeline-card p,
body .modal-intro,
body .detail-note {
  color: #737e8d;
}
body .stat-title {
  font-size: 11px;
  color: #75808e;
}
body .stat-caption {
  font-size: 10px;
}
body .page-heading p:not(.eyebrow) {
  font-size: 12px;
}
body .panel-heading h2,
body .section-heading h2 {
  font-size: 13px;
}
body .panel-subtitle {
  font-size: 10px;
}
body .pipeline-row-name {
  font-size: 11px;
}
body .pipeline-row-meta {
  font-size: 9px;
}
body .run-name {
  font-size: 11px;
}
body .run-id {
  font-size: 9px;
}
body td {
  font-size: 11px;
  color: #737e8d;
}
body th {
  font-size: 10px;
}
body .status-badge {
  font-size: 9px;
}
body .table-footer {
  font-size: 9px;
}
body .environment-tag {
  font-size: 10px;
}
body .page-footer {
  color: #737e8d;
}

.sidebar {
  width: 232px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 32px 18px 0;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 31px;
  height: 31px;
}
.brand > span:not(.brand-tag) {
  font-size: 25px;
  letter-spacing: -1.2px;
  font-weight: 740;
}
.brand-period {
  color: var(--accent);
}
.brand-tag {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #909399;
  margin: 7px 0 0 2px;
}
.workspace-switch {
  margin: 34px 0 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  text-align: left;
}
.workspace-icon {
  width: 29px;
  height: 30px;
  display: grid;
  place-items: center;
  background: #f1f2f4;
  border: 1px solid #e6e7e9;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 650;
}
.workspace-switch strong,
.profile strong {
  font-size: 11px;
  display: block;
  font-weight: 600;
}
.workspace-switch small,
.profile small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.workspace-chevron {
  margin-left: auto;
  color: #7b8089;
}
.nav-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #9a9ea6;
  padding: 0 13px;
  margin-bottom: 11px;
}
.nav-link {
  width: 100%;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #777c86;
  font-size: 12px;
  border-radius: 6px;
  margin-bottom: 5px;
  font-weight: 500;
}
.nav-link.active {
  background: var(--orange-light);
  color: var(--accent);
  font-weight: 650;
}
.nav-link:hover:not(.active) {
  background: #f7f7f8;
  color: var(--ink);
}
.nav-count {
  margin-left: auto;
  min-width: 22px;
  line-height: 18px;
  text-align: center;
  background: #f0f1f3;
  border-radius: 4px;
  font-size: 9px;
  color: #9398a1;
}
.nav-link.active .nav-count {
  background: #ffe5db;
  color: #d6613f;
}
.sidebar-bottom {
  margin-top: auto;
}
.connect-card {
  background: #fafaf9;
  border: 1px solid #ececeb;
  border-radius: 9px;
  padding: 15px;
  margin-bottom: 20px;
}
.tiny-orbit {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  background: #fff0e8;
  border: 1px solid #f9e2d6;
  border-radius: 8px;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 13px;
}
.connect-card strong {
  display: block;
  font-size: 11px;
}
.connect-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #90939b;
  margin: 7px 0 13px;
}
.connect-card .button {
  font-size: 10px;
  padding: 8px 10px;
  justify-content: space-between;
  width: 100%;
  min-height: 32px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #848995;
  font-size: 11px;
  text-decoration: none;
  padding: 10px 12px 18px;
}
.external-arrow {
  margin-left: auto;
}
.profile {
  display: flex;
  align-items: center;
  width: calc(100% + 36px);
  gap: 10px;
  background: #fff;
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 -18px;
  padding: 20px;
  text-align: left;
}
.profile > svg {
  margin-left: auto;
  width: 15px;
  color: #9297a1;
}
.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eeece7;
  color: #79746c;
  border: 2px solid white;
  outline: 1px solid #e9e7e1;
  width: 31px;
  height: 31px;
  font-weight: 650;
  font-size: 11px;
  flex-shrink: 0;
}
.avatar-small {
  width: 28px;
  height: 28px;
  font-size: 10px;
}
.shell {
  margin-left: 232px;
}
.topbar {
  height: 72px;
  padding: 0 39px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  display: flex;
  gap: 17px;
  align-items: center;
  font-size: 11px;
}
.breadcrumb-project {
  color: #92969e;
}
.breadcrumb strong {
  font-weight: 500;
}
.slash {
  color: #d2d5da;
  font-weight: 300;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mode-indicator {
  font-size: 10px;
  color: #747a83;
  display: flex;
  gap: 6px;
  align-items: center;
}
.mode-indicator > span {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: #e4a54f;
}
.mode-indicator.live > span {
  background: var(--green);
}
.header-divider {
  height: 15px;
  width: 1px;
  background: var(--line);
}
.topbar-right .icon-button {
  color: #7e8590;
}
.mobile-mark,
.mobile-nav {
  display: none;
}
main {
  padding: 38px 39px 24px;
  max-width: 1600px;
  margin: auto;
  min-height: calc(100vh - 128px);
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 29px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #a0a4ad;
  margin: 0 0 10px;
}
.page-heading h1 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.page-heading p:not(.eyebrow) {
  color: #8a909b;
  font-size: 11px;
  margin: 0;
  line-height: 1.6;
}
.page-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.period-select {
  height: 35px;
  padding: 0 10px;
  font-size: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 110px;
}
.button {
  min-height: 35px;
  background: #fff;
  border: 1px solid #e2e4e8;
  border-radius: 6px;
  color: #545c69;
  font-size: 10px;
  font-weight: 550;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-decoration: none;
  transition:
    background 0.15s,
    transform 0.15s;
  white-space: nowrap;
}
.button:hover {
  background: #f9fafb;
}
.button:active {
  transform: translateY(1px);
}
.button-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.button-primary:hover {
  background: #d9532e;
}
.button-primary svg {
  width: 13px;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.button-white {
  background: white;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 23px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 19px 19px 17px;
  position: relative;
  overflow: hidden;
}
.stat-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 500;
  color: #818894;
  margin-bottom: 18px;
}
.stat-icon {
  color: #9aa1ad;
  display: grid;
  place-items: center;
}
.stat-icon svg {
  width: 15px;
}
.stat-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 35px;
}
.stat-value {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1;
  font-weight: 560;
  color: #313947;
  font-variant-numeric: tabular-nums;
}
.stat-caption {
  font-size: 9px;
  color: #969ca5;
  margin-top: 13px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.stat-caption .positive {
  color: #489c7c;
}
.mini-chart {
  width: 80px;
  height: 29px;
  opacity: 0.9;
}
.chart-row {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 21px 0;
  gap: 12px;
}
.panel-heading h2,
.section-heading h2 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.15px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.panel-subtitle {
  font-size: 9px;
  color: #a0a5ae;
  margin: 6px 0 0;
}
.legend {
  display: flex;
  gap: 13px;
  font-size: 8px;
  color: #959ba5;
  white-space: nowrap;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--accent);
}
.legend .legend-failed {
  background: #f2c1b2;
}
.legend .legend-other {
  background: #e8ebef;
}
.chart {
  padding: 22px 22px 13px;
  position: relative;
}
.chart-plot {
  height: 169px;
  position: relative;
  padding-left: 28px;
}
.chart-grid {
  position: absolute;
  inset: 0 0 0 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.grid-line {
  border-top: 1px dashed #eaecf0;
  width: 100%;
  position: relative;
}
.grid-line span {
  position: absolute;
  right: calc(100% + 11px);
  top: -5px;
  font-size: 8px;
  color: #a4a9b2;
}
.chart-bars {
  position: relative;
  display: flex;
  justify-content: space-around;
  height: 100%;
  gap: 16px;
  align-items: flex-end;
  padding: 0 10px;
}
.chart-column {
  display: flex;
  flex: 1;
  max-width: 40px;
  position: relative;
  align-items: flex-end;
  height: 100%;
  border: 0;
  background: none;
  padding: 0;
  cursor: default;
}
.chart-column-bar {
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
  min-height: 1px;
}
.chart-segment {
  width: 100%;
  background: var(--accent);
  transition: height 0.3s;
}
.chart-segment.failed {
  background: #f2c1b2;
}
.chart-segment.other {
  background: #e8ebef;
}
.chart-column:hover .chart-column-bar {
  filter: brightness(0.95);
}
.chart-labels {
  display: flex;
  justify-content: space-around;
  padding: 12px 10px 0 38px;
  gap: 16px;
}
.chart-labels span {
  flex: 1;
  text-align: center;
  max-width: 40px;
  font-size: 8px;
  color: #969da8;
}
.chart-caption {
  font-size: 8px;
  color: #a0a6af;
  margin: 12px 0 0;
  text-align: right;
}
.pipeline-list {
  padding: 7px 20px 10px;
}
.pipeline-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid #f0f1f3;
  background: white;
  text-align: left;
}
.pipeline-row:last-child {
  border: 0;
}
.pipeline-row:hover .pipeline-row-name {
  color: var(--accent);
}
.pipeline-symbol {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #ebe7e2;
  background: #faf7f3;
  border-radius: 8px;
  color: #a99173;
  flex-shrink: 0;
}
.pipeline-symbol.blue {
  color: #778dac;
  background: #f2f5fa;
  border-color: #e3e9f2;
}
.pipeline-symbol.purple {
  color: #9781ac;
  background: #f7f3fa;
  border-color: #e9e1f0;
}
.pipeline-symbol.green {
  color: #75938a;
  background: #f1f7f5;
  border-color: #e1ece7;
}
.pipeline-symbol svg {
  width: 16px;
}
.pipeline-row-name {
  font-size: 10px;
  font-weight: 550;
  margin: 0 0 5px;
}
.pipeline-row-meta {
  font-size: 8px;
  color: #9da3ad;
  margin: 0;
}
.pipeline-row-state {
  margin-left: auto;
  text-align: right;
  font-size: 9px;
  color: #747e8c;
}
.pipeline-row-state small {
  display: block;
  margin-top: 5px;
  font-size: 8px;
  color: #adb1b9;
}
.pipeline-list .status-dot {
  display: inline-block;
  margin-right: 4px;
}
.text-button {
  color: #8a909b;
  font-size: 9px;
  border: 0;
  background: none;
  padding: 4px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.text-button:hover {
  color: var(--accent);
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 15px;
}
.section-heading .text-button {
  font-size: 10px;
}
.count-chip {
  font-size: 9px;
  line-height: 17px;
  padding: 0 5px;
  border: 1px solid #e5e7eb;
  color: #959ca7;
  border-radius: 4px;
  font-weight: 400;
}
.table-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.search-box {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #a9aeb7;
}
.search-box input {
  border: 0;
  padding: 5px 0;
  font-size: 10px;
  outline: none;
  background: transparent;
  min-width: 220px;
  width: 100%;
  color: var(--ink);
}
.search-box:focus-within {
  color: var(--accent);
}
.search-box input::placeholder {
  color: #a6acb6;
}
.search-box svg {
  width: 14px;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-select {
  font-size: 9px;
  background: #fff;
  border: 1px solid #e6e8ed;
  border-radius: 5px;
  color: #7b8492;
  padding: 6px;
  max-width: 180px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  color: #9ca3ae;
  font-size: 9px;
  font-weight: 450;
  padding: 11px 18px;
  background: #fcfcfd;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 15px 18px;
  border-bottom: 1px solid #f0f1f4;
  font-size: 10px;
  color: #8c94a0;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfcfd;
}
.run-name {
  font-weight: 550;
  font-size: 10px;
  color: #4c5666;
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  white-space: nowrap;
}
.run-name:hover {
  color: var(--accent);
}
.run-name svg {
  width: 14px;
  color: #a0a8b3;
}
.run-id {
  font-family: var(--mono);
  font-size: 8px;
  color: #a6adb8;
  display: block;
  margin: 5px 0 0 23px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 7px;
  background: #edf7f1;
  color: #57a17b;
  border: 1px solid #e1efe7;
  font-size: 8px;
  font-weight: 500;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.status-badge.running {
  color: #5e8bbd;
  background: #eef4fc;
  border-color: #e2ebf7;
}
.status-badge.running .status-dot {
  box-shadow: 0 0 0 2px #dce8f7;
}
.status-badge.pending {
  color: #ab9471;
  background: #faf6ef;
  border-color: #f0e8da;
}
.status-badge.failed,
.status-badge.timed_out,
.status-badge.terminated {
  color: #c97c75;
  background: #fdf1f0;
  border-color: #f6e4e1;
}
.status-badge.cancelled {
  color: #979da7;
  background: #f4f5f7;
  border-color: #e8eaee;
}
.environment-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
}
.environment-tag::before {
  content: "";
  width: 4px;
  height: 4px;
  background: #c0c5cd;
  border-radius: 50%;
}
.environment-tag.prod::before {
  background: #8a97ac;
}
.row-arrow {
  color: #b6bcc5;
}
.row-arrow svg {
  width: 13px;
}
.table-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 18px;
  color: #a1a7b0;
  font-size: 8px;
}
.pagination {
  display: flex;
  align-items: center;
  gap: 9px;
}
.page-number {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: #777f8c;
  font-size: 9px;
}
.pagination .icon-button {
  width: 23px;
  height: 23px;
}
.page-footer {
  max-width: 1600px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 16px 39px 22px;
  font-size: 8px;
  color: #a7adb7;
}
.footer-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #a7b4a9;
  border-radius: 50%;
  vertical-align: 2px;
  margin-right: 5px;
}
.footer-divider {
  margin: 0 8px;
  color: #d1d5dd;
}
.tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 22px;
  overflow: auto;
}
.tab {
  padding: 0 1px 13px;
  display: flex;
  gap: 7px;
  align-items: center;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9299a4;
  font-size: 10px;
  white-space: nowrap;
}
.tab.active {
  border-bottom-color: var(--accent);
  color: var(--accent);
}
.tab small {
  font-size: 8px;
  background: #ebeef1;
  padding: 2px 5px;
  border-radius: 4px;
  color: #929ba8;
}
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pipeline-card {
  padding: 21px;
}
.pipeline-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.pipeline-card h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 0 8px;
}
.pipeline-card p {
  font-size: 11px;
  color: #969da7;
  line-height: 1.7;
  min-height: 55px;
}
.pipeline-card code {
  display: block;
  font-size: 9px;
  color: #8b93a1;
  overflow-wrap: anywhere;
}
.pipeline-card-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 13px;
  color: #919aa7;
  font-size: 10px;
}
.activity-list {
  padding: 5px 22px;
}
.activity-item {
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 15px;
  align-items: center;
}
.activity-item:last-child {
  border: 0;
}
.activity-copy {
  flex: 1;
  min-width: 0;
}
.activity-copy button {
  border: 0;
  background: none;
  padding: 0;
  font-size: 11px;
  font-weight: 550;
  text-align: left;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.activity-copy p {
  font-size: 10px;
  color: #989fac;
  margin: 6px 0 0;
}
.activity-item time {
  font-size: 9px;
  color: #a1a8b2;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #99a1ae;
}
.empty-state svg {
  width: 28px;
  height: 28px;
}
.empty-state h3 {
  font-size: 14px;
  font-weight: 500;
  color: #677384;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.7;
}
.notice {
  padding: 12px 15px;
  background: #fff8ee;
  color: #aa885d;
  border: 1px solid #f3e8d5;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.notice.error {
  background: #fff1ef;
  color: #b76457;
  border-color: #f1d9d5;
}
.live-status-bars {
  padding: 25px 22px;
}
.live-status-row {
  margin-bottom: 20px;
}
.live-status-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #929baa;
  margin-bottom: 8px;
}
.live-status-track {
  height: 6px;
  background: #f4f5f7;
  border-radius: 8px;
  overflow: hidden;
}
.live-status-track > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 8px;
}
.live-status-row:nth-child(2) .live-status-track > span {
  background: #8ca9cc;
}
.live-status-row:nth-child(3) .live-status-track > span {
  background: #d9ab9e;
}
.live-status-row:nth-child(4) .live-status-track > span {
  background: #d5d9e0;
}

.modal,
.detail-dialog {
  border: 1px solid #e4e7ec;
  border-radius: 15px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 90px #1b26332b;
  padding: 29px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.modal {
  width: min(470px, calc(100vw - 30px));
}
.modal::backdrop,
.detail-dialog::backdrop {
  background: #1e283e42;
  backdrop-filter: blur(3px);
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-mark {
  color: var(--accent);
  background: var(--orange-light);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.modal h2 {
  font-size: 23px;
  letter-spacing: -0.7px;
  font-weight: 600;
  margin: 0 0 12px;
}
.modal-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #929aa6;
  margin-bottom: 23px;
}
.modal label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: #737e8e;
  margin: 16px 0;
}
.modal input,
.modal select {
  border: 1px solid #dde2e9;
  border-radius: 6px;
  padding: 10px;
  font: inherit;
  font-size: 12px;
  color: #4d5b6d;
  width: 100%;
  background: #fff;
}
.modal input:focus,
.modal select:focus {
  outline: 2px solid #f1b69e;
  outline-offset: 1px;
}
.modal-footnote {
  font-size: 10px;
  color: #a3aab4;
  line-height: 1.7;
  text-align: center;
  margin: 16px 0 0;
}
.full-width {
  width: 100%;
  margin-top: 8px;
  min-height: 39px;
}
.form-error {
  font-size: 11px;
  color: #b4594d;
  line-height: 1.7;
  min-height: 0;
}
.form-error:empty {
  display: none;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.disconnect-button {
  display: block;
  margin: 17px auto 0;
  color: #b46b5c;
}
.field-caption {
  font-size: 11px;
  color: #8d97a5;
  line-height: 1.7;
  margin-top: 22px;
}
pre {
  background: #f6f7f9;
  border: 1px solid #e7e9ed;
  border-radius: 7px;
  padding: 15px;
  font-size: 11px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--mono);
  color: #5f6e83;
}
.detail-dialog {
  margin: 0 0 0 auto;
  width: min(510px, 100vw);
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  padding: 32px;
}
.detail-kicker {
  font-size: 10px;
  letter-spacing: 1px;
  color: #aaaeb7;
  margin-top: 12px;
}
.detail-dialog h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
  font-weight: 550;
}
.detail-dialog .detail-workflow {
  font-size: 11px;
  overflow-wrap: anywhere;
  color: #8e98a9;
  line-height: 1.8;
}
.detail-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 15px;
  border-block: 1px solid var(--line);
  padding: 25px 0;
  margin: 25px 0;
}
.detail-fields dt {
  font-size: 10px;
  color: #a3aab5;
  margin-bottom: 9px;
}
.detail-fields dd {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}
.detail-dialog h3 {
  font-size: 12px;
  font-weight: 550;
  margin-top: 25px;
}
.detail-note {
  font-size: 11px;
  color: #99a3b1;
  line-height: 1.8;
}
.detail-full-id {
  font-size: 10px;
  color: #9aa2af;
  font-family: var(--mono);
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: calc(50% + 116px);
  transform: translate(-50%, 15px);
  padding: 12px 20px;
  background: #303a47;
  color: white;
  border: 1px solid #4a5566;
  border-radius: 8px;
  font-size: 11px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 40px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  position: fixed;
  inset: 0;
  background: #fff;
  padding: 40px;
  z-index: 100;
}

@media (min-width: 1500px) {
  main {
    padding-top: 46px;
  }
  .stat-card {
    padding: 23px;
  }
  .chart-plot {
    height: 200px;
  }
  .pipeline-row {
    padding: 18px 0;
  }
  .pipeline-list {
    padding-top: 11px;
  }
  .chart-row {
    grid-template-columns: 1.8fr 1fr;
  }
  td {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 204px;
    padding-inline: 14px;
  }
  .brand {
    padding-inline: 6px;
  }
  .brand-tag {
    display: none;
  }
  .shell {
    margin-left: 204px;
  }
  .profile {
    width: calc(100% + 28px);
    margin-inline: -14px;
    padding: 18px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 30px 25px 20px;
  }
  .page-footer {
    padding-inline: 25px;
  }
  .chart-row {
    gap: 16px;
    grid-template-columns: 1.4fr 1fr;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 16px;
  }
  .mini-chart {
    width: 58px;
  }
  .legend {
    gap: 8px;
    font-size: 7px;
  }
  .panel-heading {
    padding: 18px 17px 0;
  }
  .pipeline-list {
    padding-inline: 16px;
  }
  .pipeline-row-name {
    font-size: 9px;
  }
  .pipeline-row-meta {
    font-size: 7px;
  }
  .page-heading p:not(.eyebrow) {
    max-width: 290px;
  }
  .pipeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .toast {
    left: calc(50% + 102px);
  }
}
@media (max-width: 900px) {
  .sidebar {
    width: 180px;
    padding-inline: 12px;
  }
  .shell {
    margin-left: 180px;
  }
  .workspace-switch strong {
    font-size: 10px;
  }
  .workspace-switch {
    padding: 10px 7px;
    gap: 7px;
  }
  .workspace-icon {
    width: 25px;
    height: 25px;
  }
  .connect-card {
    padding: 12px;
  }
  .profile {
    width: calc(100% + 24px);
    margin-inline: -12px;
    padding: 16px 12px;
  }
  .profile strong {
    font-size: 10px;
  }
  .brand > span:not(.brand-tag) {
    font-size: 24px;
  }
  .brand img {
    width: 27px;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-actions {
    padding-top: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .chart-row {
    grid-template-columns: 1fr;
  }
  .pipeline-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  .pipeline-row:nth-last-child(2) {
    border-bottom: 0;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mini-chart {
    width: 100px;
  }
  .chart-plot {
    height: 160px;
  }
  .stat-title {
    margin-bottom: 15px;
  }
  .toast {
    left: calc(50% + 90px);
  }
}
@media (max-width: 650px) {
  .sidebar {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 19px;
  }
  .mobile-mark {
    display: block;
    line-height: 0;
  }
  .mobile-mark img {
    width: 25px;
    height: 25px;
  }
  .breadcrumb {
    gap: 10px;
  }
  .breadcrumb-project {
    display: none;
  }
  .breadcrumb .slash {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar-right .header-divider,
  .topbar-right > a {
    display: none;
  }
  .mode-indicator {
    font-size: 9px;
  }
  .mobile-nav {
    display: flex;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0 15px;
    gap: 10px;
  }
  .mobile-nav .nav-link {
    justify-content: center;
    font-size: 10px;
    padding: 11px 7px;
    margin: 0;
    border-radius: 0;
    gap: 6px;
    border-bottom: 2px solid transparent;
  }
  .mobile-nav .nav-link.active {
    background: white;
    border-bottom-color: var(--accent);
  }
  .mobile-nav .nav-link svg {
    width: 14px;
  }
  .mobile-nav .nav-count {
    display: none;
  }
  main {
    padding: 25px 18px 15px;
  }
  .page-heading {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 23px;
  }
  .page-heading h1 {
    font-size: 29px;
    margin-bottom: 7px;
  }
  .page-heading p:not(.eyebrow) {
    max-width: 100%;
    font-size: 11px;
  }
  .page-actions {
    padding: 0;
    justify-content: flex-start;
    width: 100%;
  }
  .page-actions .button-primary {
    margin-left: auto;
  }
  .eyebrow {
    font-size: 8px;
    margin-bottom: 7px;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 18px;
  }
  .stat-card {
    padding: 15px 13px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-title {
    font-size: 9px;
    margin-bottom: 14px;
  }
  .stat-caption {
    font-size: 8px;
  }
  .mini-chart {
    width: 58px;
  }
  .stat-icon svg {
    width: 13px;
  }
  .chart-row {
    gap: 18px;
    margin-bottom: 25px;
  }
  .panel-heading {
    padding: 17px 15px 0;
  }
  .panel-heading h2 {
    font-size: 11px;
  }
  .legend {
    gap: 8px;
    font-size: 7px;
  }
  .chart {
    padding: 23px 15px 13px;
  }
  .chart-bars {
    gap: 15px;
    padding: 0 4px;
  }
  .chart-labels {
    padding-left: 32px;
    gap: 15px;
  }
  .chart-caption {
    font-size: 7px;
  }
  .chart-plot {
    height: 160px;
  }
  .pipeline-list {
    gap: 0 15px;
    padding-inline: 15px;
  }
  .pipeline-row {
    gap: 8px;
    padding: 16px 0;
  }
  .pipeline-symbol {
    width: 26px;
    height: 28px;
    border-radius: 6px;
  }
  .pipeline-symbol svg {
    width: 13px;
  }
  .pipeline-row-meta {
    font-size: 7px;
  }
  .pipeline-row-state {
    display: none;
  }
  .pipeline-row-name {
    font-size: 9px;
  }
  .table-toolbar {
    padding: 11px 13px;
  }
  .search-box {
    width: 100%;
  }
  .filter-group {
    width: 100%;
  }
  .filter-select {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .table-toolbar .button {
    min-height: 28px;
    padding: 5px 8px;
  }
  th,
  td {
    padding-left: 14px;
    padding-right: 14px;
  }
  .table-footer {
    padding: 10px 13px;
  }
  .page-footer {
    padding: 15px 18px 22px;
    font-size: 7px;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }
  .pipeline-grid {
    grid-template-columns: 1fr;
  }
  .pipeline-card p {
    min-height: 0;
  }
  .activity-item time {
    display: none;
  }
  .activity-item {
    gap: 10px;
  }
  .activity-copy button {
    font-size: 10px;
  }
  .toast {
    left: 50%;
    width: max-content;
  }
  .detail-dialog {
    padding: 24px;
  }
  .modal {
    padding: 23px;
  }
  .modal h2 {
    font-size: 22px;
  }
  .section-heading h2 {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
