/* src/frontend/styles.css */
:root {
  color: #202a39;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  --muted: #8590a0;
  --line: #eaedf1;
  --navy: #202939;
  --green: #23886c;
  background: #f5f6f8;
  font-family: DM Sans, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
  font-weight: 400;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button, a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible {
  outline: 3px solid #a7d8c7;
  outline-offset: 3px;
}

a:focus-visible {
  outline: 3px solid #a7d8c7;
  outline-offset: 3px;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  position: fixed;
  z-index: 2;
  display: flex;
  color: #c6ccd5;
  background: #202939;
  flex-direction: column;
  width: 236px;
  padding: 25px 15px 14px;
  inset: 0 auto 0 0;
}

.brand {
  display: flex;
  color: #fff;
  letter-spacing: -1px;
  align-items:  center;
  gap: 10px;
  padding: 0 9px;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  color: #1b332f;
  background: #83dbb9;
  border-radius: 9px;
  place-items:  center;
  width: 30px;
  height: 30px;
}

.brand-dot {
  color: #83dbb9;
}

.workspace-switcher {
  display: flex;
  border: 1px solid #394354;
  border-radius: 9px;
  align-items:  center;
  gap: 10px;
  margin-top: 34px;
  padding: 10px 9px;
}

.workspace-avatar, .profile-avatar, .top-avatar {
  display: grid;
  flex: none;
  place-items:  center;
  font-size: 12px;
  font-weight: 700;
}

.workspace-avatar {
  color: #f8e3bc;
  background: #79654e;
  border-radius: 8px;
  width: 30px;
  height: 30px;
}

.workspace-copy, .profile-copy {
  display: grid;
  flex: 1;
  gap: 2px;
  min-width: 0;
}

.workspace-copy strong, .profile-copy strong {
  color: #f2f4f8;
  font-size: 12px;
  font-weight: 600;
}

.workspace-copy small, .profile-copy small {
  color: #8993a3;
  font-size: 11px;
}

.workspace-switcher > svg, .profile > svg {
  color: #8993a3;
}

.side-nav {
  margin-top: 31px;
}

.nav-label {
  color: #798496;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 9px 10px;
  font-size: 10px;
  font-weight: 700;
}

.nav-label-spaced {
  margin-top: 31px;
}

.nav-item {
  position: relative;
  display: flex;
  color: #aab2bf;
  border-radius: 7px;
  align-items:  center;
  gap: 12px;
  height: 40px;
  margin: 3px 0;
  padding: 0 11px;
  transition: background .16s, color .16s;
  font-size: 13px;
}

.nav-item:hover {
  color: #fff;
  background: #2a3546;
}

.nav-item.active {
  color: #f9fffc;
  background: #334253;
}

.nav-item.active:before {
  position: absolute;
  content: "";
  background: #83dbb9;
  border-radius: 0 3px 3px 0;
  width: 3px;
  inset: 8px auto 8px -15px;
}

.nav-item.active svg {
  color: #83dbb9;
}

.nav-count {
  display: grid;
  color: #c9d0d9;
  background: #394658;
  border-radius: 6px;
  place-items:  center;
  width: 21px;
  height: 21px;
  margin-left: auto;
  font-size: 10px;
}

.sidebar-bottom {
  margin-top: auto;
}

.sidebar-health {
  display: flex;
  border: 1px solid #394354;
  border-radius: 8px;
  align-items:  flex-start;
  gap: 10px;
  padding: 13px 10px;
}

.sidebar-health > span:last-child {
  display: grid;
  gap: 4px;
}

.sidebar-health strong {
  color: #e8edf2;
  font-size: 10px;
  font-weight: 600;
}

.sidebar-health small {
  color: #8e9aaa;
  font-size: 10px;
}

.pulse-dot {
  display: inline-block;
  background: #46c594;
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 3px;
  box-shadow: 0 0 0 3px #46c59422;
}

.profile {
  display: flex;
  border-top: 1px solid #394354;
  align-items:  center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 7px 2px;
}

.profile-avatar {
  color: #f8e7d8;
  background: #986d57;
  border-radius: 50%;
  width: 31px;
  height: 31px;
}

.main-area {
  min-height: 100vh;
  margin-left: 236px;
}

.topbar {
  display: flex;
  background: #fff;
  border-bottom: 1px solid #eaedf1;
  justify-content: space-between;
  align-items:  center;
  height: 64px;
  padding: 0 36px;
}

.breadcrumbs {
  display: flex;
  color: #929bab;
  align-items:  center;
  gap: 11px;
  font-size: 12px;
}

.breadcrumbs strong {
  color: #4b5665;
  font-weight: 600;
}

.crumb-slash {
  color: #c2c8d0;
}

.topbar-actions {
  display: flex;
  align-items:  center;
  gap: 18px;
}

.icon-button {
  position: relative;
  display: grid;
  color: #667180;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  place-items:  center;
  width: 32px;
  height: 32px;
}

.icon-button:hover, .more-button:hover {
  background: #f2f4f7;
}

.notification-dot {
  position: absolute;
  background: #ed796f;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  top: 5px;
  right: 5px;
}

.top-avatar {
  color: #f8e7d8;
  background: #986d57;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  font-size: 10px;
}

.content-wrap {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 31px 36px 21px;
}

.search-hero {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items:  center;
  margin: 0 auto 29px;
}

.search-hero h2 {
  color: #253143;
  letter-spacing: -.55px;
  margin: 0 0 4px;
  font-family: Manrope, sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.search-hero p {
  color: #929ba8;
  margin: 0;
  font-size: 12px;
}

.workspace-search {
  display: flex;
  color: #8792a0;
  cursor: text;
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 999px;
  align-items:  center;
  gap: 13px;
  width: min(100%, 650px);
  height: 56px;
  margin-top: 16px;
  padding: 0 19px;
  transition: border-color .18s, box-shadow .18s;
  box-shadow: 0 4px 14px #2531430b;
}

.workspace-search:hover, .workspace-search:focus-within {
  border-color: #d5e2dc;
  box-shadow: 0 5px 20px #25314314;
}

.workspace-search > svg {
  color: #768394;
  flex: none;
}

.workspace-search input {
  outline: 0;
  color: #344154;
  font: inherit;
  background: none;
  border: 0;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  font-size: 13px;
}

.workspace-search input::placeholder {
  color: #a2aab5;
}

.workspace-search input:focus-visible {
  outline: 0;
}

.workspace-search input::-webkit-search-cancel-button {
  display: none;
}

.workspace-search kbd {
  color: #8c96a3;
  background: #fafbfc;
  border: 1px solid #e6e9ed;
  border-radius: 5px;
  flex: none;
  padding: 4px 7px;
  font-family: inherit;
  font-size: 10px;
}

.clear-search {
  display: grid;
  color: #8993a0;
  cursor: pointer;
  background: #f0f2f4;
  border: 0;
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 23px;
  height: 23px;
  padding: 0 0 2px;
  font-size: 17px;
  line-height: 1;
}

.clear-search:hover {
  color: #344154;
  background: #e6e9ec;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items:  flex-end;
  gap: 20px;
  margin-bottom: 24px;
}

.eyebrow {
  color: #8c96a3;
  letter-spacing: 1px;
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
}

h1, h2, p {
  margin-top: 0;
}

h1 {
  color: #202a39;
  letter-spacing: -.8px;
  margin-bottom: 4px;
  font-family: Manrope, sans-serif;
  font-size: 26px;
  font-weight: 700;
}

.page-subtitle {
  color: #8590a0;
  margin-bottom: 0;
  font-size: 13px;
}

.heading-actions {
  display: flex;
  align-items:  center;
  gap: 9px;
}

.period-select, .refresh-button {
  display: flex;
  color: #5d6878;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-radius: 7px;
  align-items:  center;
  gap: 8px;
  height: 36px;
  padding: 0 11px;
  font-size: 11px;
}

.period-select svg:first-child {
  color: #8993a0;
}

.period-select svg:last-child {
  color: #a7afb9;
  margin-left: 5px;
}

.refresh-button {
  color: #fff;
  cursor: pointer;
  background: #2c8d70;
  border-color: #2c8d70;
  padding: 0 12px;
  transition: background .16s;
  font-weight: 600;
}

.refresh-button:hover {
  background: #24785f;
}

.refresh-button svg {
  color: #d4f1e5;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.metric-card, .panel {
  background: #fff;
  border: 1px solid #e9edf1;
  border-radius: 9px;
  box-shadow: 0 2px 5px #1e2b3c05;
}

.metric-card {
  min-width: 0;
  padding: 15px 16px 13px;
}

.metric-top {
  display: flex;
  color: #7c8796;
  justify-content: space-between;
  align-items:  center;
  font-size: 11px;
  font-weight: 500;
}

.metric-icon {
  display: grid;
  border-radius: 8px;
  place-items:  center;
  width: 29px;
  height: 29px;
}

.metric-icon.mint {
  color: #308b6e;
  background: #e9f6f0;
}

.metric-icon.lilac {
  color: #7769bb;
  background: #f1effb;
}

.metric-icon.blue {
  color: #5379c0;
  background: #edf3fc;
}

.metric-icon.rose {
  color: #bd6c68;
  background: #fbefee;
}

.metric-value {
  color: #202a39;
  letter-spacing: -1.1px;
  margin: 9px 0 3px;
  font-family: Manrope, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.metric-unit {
  color: #445061;
  letter-spacing: -.4px;
  margin-left: 2px;
  font-size: 17px;
  font-weight: 600;
}

.metric-total {
  color: #a4acb7;
  letter-spacing: -.3px;
  font-size: 17px;
  font-weight: 500;
}

.metric-foot {
  position: relative;
  display: flex;
  overflow: hidden;
  color: #9aa3ae;
  white-space: nowrap;
  align-items:  center;
  gap: 5px;
  min-height: 19px;
  font-size: 10px;
}

.trend-positive {
  display: inline-flex;
  color: #298766;
  align-items:  center;
  font-weight: 600;
}

.trend-negative {
  color: #bd6e66;
  font-weight: 600;
}

.metric-muted {
  color: #6e7989;
}

.sparkline {
  overflow: visible;
  flex: none;
  width: 58px;
  height: 21px;
  margin-left: auto;
}

.sparkline path {
  fill: none;
  stroke: #51b290;
  stroke-width: 2;
  stroke-linecap: round;
}

.metric-card:nth-child(2) .sparkline path {
  stroke: #9486d1;
}

.metric-card:nth-child(3) .sparkline path {
  stroke: #7092ce;
}

.metric-card:nth-child(4) .sparkline path {
  stroke: #d58b83;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.67fr) minmax(310px, .93fr);
  align-items:  start;
  gap: 16px;
  margin-top: 18px;
}

.panel {
  min-width: 0;
}

.pipeline-panel {
  overflow: hidden;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items:  flex-start;
  gap: 12px;
  padding: 18px 19px 13px;
}

.panel-heading h2 {
  color: #263143;
  letter-spacing: -.15px;
  margin-bottom: 4px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.panel-heading p {
  color: #929ba8;
  margin-bottom: 0;
  font-size: 10px;
}

.text-button, .activity-link {
  display: inline-flex;
  color: #35896e;
  cursor: pointer;
  background: none;
  border: 0;
  align-items:  center;
  gap: 6px;
  padding: 3px 0;
  font-size: 10px;
  font-weight: 600;
}

.mock-label {
  color: #a0a8b2;
  letter-spacing: .7px;
  border: 1px solid #ebeff2;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 8px;
  font-weight: 700;
}

.text-button:hover, .activity-link:hover {
  color: #216d55;
}

.text-button span, .activity-link span {
  font-size: 15px;
  line-height: 10px;
}

.pipeline-tabs {
  display: flex;
  border-bottom: 1px solid #edf0f3;
  align-items:  center;
  gap: 19px;
  padding: 0 19px;
}

.tab-button {
  position: relative;
  display: flex;
  color: #929ba8;
  cursor: pointer;
  background: none;
  border: 0;
  align-items:  center;
  gap: 7px;
  height: 34px;
  padding: 0 0 1px;
  font-size: 10px;
}

.tab-button.selected {
  color: #31866a;
  font-weight: 600;
}

.tab-button.selected:after {
  position: absolute;
  content: "";
  background: #3c9b79;
  height: 2px;
  bottom: -1px;
  left: 0;
  right: 0;
}

.tab-count {
  color: #929ba8;
  background: #f2f4f6;
  border-radius: 5px;
  padding: 2px 5px;
  font-size: 9px;
}

.tab-button.selected .tab-count {
  color: #31866a;
  background: #eaf6f1;
}

.pipeline-table-wrap {
  overflow-x: auto;
}

.pipeline-table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

.pipeline-table thead th {
  color: #9aa3af;
  white-space: nowrap;
  height: 34px;
  padding: 0 11px;
  font-size: 9px;
  font-weight: 500;
}

.pipeline-table thead th:first-child, .pipeline-table tbody td:first-child {
  padding-left: 19px;
}

.pipeline-table thead th:last-child, .pipeline-table tbody td:last-child {
  padding-right: 19px;
}

.pipeline-table tbody tr {
  border-top: 1px solid #f0f2f5;
}

.pipeline-table tbody tr:hover {
  background: #fbfcfd;
}

.pipeline-table tbody td {
  color: #526071;
  white-space: nowrap;
  height: 57px;
  padding: 6px 11px;
  font-size: 10px;
}

.pipeline-name-cell {
  display: flex;
  align-items:  center;
  gap: 9px;
  min-width: 160px;
}

.pipeline-avatar {
  display: grid;
  border-radius: 8px;
  flex: none;
  place-items:  center;
  width: 29px;
  height: 29px;
  font-size: 9px;
  font-weight: 700;
}

.pipeline-avatar.violet {
  color: #725db0;
  background: #f0edfb;
}

.pipeline-avatar.blue {
  color: #4b7ab6;
  background: #edf4fb;
}

.pipeline-avatar.orange {
  color: #bb8050;
  background: #fcf3e9;
}

.pipeline-avatar.green {
  color: #39876c;
  background: #eaf6f0;
}

.pipeline-avatar.pink {
  color: #b46b83;
  background: #faeff3;
}

.pipeline-copy {
  display: grid;
  gap: 3px;
}

.pipeline-copy strong {
  color: #374354;
  font-size: 10px;
  font-weight: 600;
}

.pipeline-copy small, .duration {
  color: #9aa3af;
  font-size: 9px;
}

.status-pill {
  display: inline-flex;
  border-radius: 12px;
  align-items:  center;
  gap: 5px;
  padding: 4px 7px;
  font-size: 9px;
}

.status-pill > span {
  background: currentColor;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.status-pill.healthy {
  color: #34866b;
  background: #eaf6f0;
}

.status-pill.delayed {
  color: #b17a35;
  background: #fbf3e6;
}

.status-pill.failed {
  color: #bd6d67;
  background: #faeeed;
}

.last-run {
  display: block;
  color: #596576;
  margin-bottom: 3px;
  font-size: 9px;
}

.success-rate {
  color: #526071;
  font-size: 10px;
  font-weight: 600;
}

.pipeline-footer {
  display: flex;
  color: #a0a8b3;
  border-top: 1px solid #edf0f3;
  justify-content: space-between;
  align-items:  center;
  padding: 10px 19px;
  font-size: 9px;
}

.refreshed {
  color: #8792a0;
}

.empty-state {
  color: #718090;
  margin: 0;
  padding: 25px 19px;
  font-size: 11px;
}

.right-column {
  display: grid;
  gap: 16px;
}

.health-panel {
  padding-bottom: 14px;
}

.compact-heading {
  align-items:  center;
  padding-bottom: 13px;
}

.healthy-label {
  display: inline-flex;
  color: #32866a;
  white-space: nowrap;
  background: #eaf6f0;
  border-radius: 12px;
  align-items:  center;
  gap: 6px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 600;
}

.healthy-label > span {
  background: #40a980;
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.health-summary {
  display: flex;
  align-items:  center;
  gap: 11px;
  padding: 5px 19px 12px;
}

.health-score {
  color: #263143;
  letter-spacing: -1px;
  font-family: Manrope, sans-serif;
  font-size: 29px;
  font-weight: 700;
}

.health-score span {
  color: #465262;
  margin-left: 1px;
  font-size: 15px;
}

.health-copy {
  display: grid;
  gap: 3px;
}

.health-copy strong {
  color: #3f4b5a;
  font-size: 10px;
  font-weight: 600;
}

.health-copy span {
  color: #99a2ae;
  font-size: 9px;
}

.uptime-bars {
  display: grid;
  grid-template-columns: repeat(30, minmax(2px, 1fr));
  gap: 3px;
  padding: 0 19px;
}

.uptime-bars span {
  background: #72c8a7;
  border-radius: 3px;
  height: 20px;
}

.uptime-bars span.uptime-warning {
  background: #e8ba6c;
}

.uptime-labels {
  display: flex;
  color: #a2aab5;
  justify-content: space-between;
  margin-top: 6px;
  padding: 0 19px;
  font-size: 8px;
}

.health-divider {
  background: #eef0f3;
  height: 1px;
  margin: 14px 19px 11px;
}

.health-breakdown {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  padding: 0 19px;
}

.health-breakdown > span {
  display: inline-flex;
  color: #848f9d;
  white-space: nowrap;
  align-items:  center;
  gap: 5px;
  font-size: 9px;
}

.health-breakdown strong {
  color: #4b5665;
  margin-left: 1px;
  font-weight: 600;
}

.legend-dot {
  display: inline-block;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.healthy-dot {
  background: #55b98e;
}

.delayed-dot {
  background: #e1ae54;
}

.failed-dot {
  background: #d97e77;
}

.activity-panel {
  padding-bottom: 13px;
}

.more-button {
  display: grid;
  color: #8c96a3;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 5px;
  place-items:  center;
  width: 25px;
  height: 25px;
  margin: -4px -6px 0 0;
  font-size: 20px;
  line-height: 1;
}

.activity-list {
  padding: 0 17px;
}

.activity-item {
  position: relative;
  display: flex;
  align-items:  flex-start;
  gap: 9px;
  min-height: 51px;
  padding: 5px 0 8px;
}

.activity-item:not(:last-child):before {
  position: absolute;
  content: "";
  background: #edf0f2;
  width: 1px;
  top: 22px;
  bottom: -2px;
  left: 9px;
}

.activity-marker {
  z-index: 1;
  display: grid;
  border: 2px solid #fff;
  border-radius: 50%;
  flex: none;
  place-items:  center;
  width: 19px;
  height: 19px;
}

.activity-marker.success {
  color: #3b9c78;
  background: #e5f5ee;
}

.activity-marker.warning {
  color: #c08b3f;
  background: #fbf2e3;
}

.activity-marker.error {
  color: #c6726b;
  background: #faecea;
}

.activity-copy {
  display: grid;
  flex: 1;
  gap: 3px;
  min-width: 0;
  padding-top: 1px;
}

.activity-copy strong {
  overflow: hidden;
  color: #4a5666;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
}

.activity-copy span {
  overflow: hidden;
  color: #9aa3ae;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}

.activity-item time {
  color: #a0a8b2;
  white-space: nowrap;
  padding-top: 3px;
  font-size: 8px;
}

.activity-link {
  border-top: 1px solid #eff1f4;
  justify-content: center;
  width: calc(100% - 34px);
  margin: 4px 17px 0;
  padding-top: 8px;
  font-size: 9px;
}

.dashboard-footer {
  display: flex;
  color: #a1a9b4;
  justify-content: space-between;
  align-items:  center;
  padding-top: 18px;
  font-size: 9px;
}

.dashboard-footer > span:first-child {
  display: inline-flex;
  color: #728091;
  align-items:  center;
  gap: 7px;
}

.dashboard-footer .pulse-dot {
  width: 6px;
  height: 6px;
  margin: 0;
}

@media (width >= 1500px) {
  .content-wrap {
    padding-left: 46px;
    padding-right: 46px;
  }
}

@media (width <= 1180px) {
  .sidebar {
    width: 208px;
  }

  .main-area {
    margin-left: 208px;
  }

  .content-wrap {
    padding-left: 25px;
    padding-right: 25px;
  }

  .topbar {
    padding: 0 25px;
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, .9fr);
    gap: 12px;
  }

  .pipeline-table thead th, .pipeline-table tbody td {
    padding-left: 7px;
    padding-right: 7px;
  }

  .pipeline-table thead th:first-child, .pipeline-table tbody td:first-child {
    padding-left: 13px;
  }

  .pipeline-table thead th:last-child, .pipeline-table tbody td:last-child {
    padding-right: 13px;
  }

  .pipeline-name-cell {
    gap: 7px;
    min-width: 145px;
  }
}

@media (width <= 960px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .right-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items:  start;
  }
}

@media (width <= 680px) {
  .sidebar {
    align-items:  center;
    width: 62px;
    padding: 19px 8px 12px;
  }

  .brand {
    padding: 0;
  }

  .brand > span:last-child, .workspace-switcher, .nav-label, .nav-item > span, .sidebar-health, .profile-copy, .profile > svg {
    display: none;
  }

  .side-nav {
    width: 100%;
    margin-top: 35px;
  }

  .nav-item {
    justify-content: center;
    width: 44px;
    margin: 5px auto;
    padding: 0;
  }

  .nav-item.active:before {
    left: -9px;
  }

  .nav-item svg {
    width: 19px;
    height: 19px;
  }

  .profile {
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 12px 0 0;
  }

  .main-area {
    margin-left: 62px;
  }

  .topbar {
    height: 56px;
    padding: 0 17px;
  }

  .topbar-actions {
    gap: 8px;
  }

  .content-wrap {
    padding: 25px 17px 18px;
  }

  .search-hero {
    margin-bottom: 24px;
  }

  .search-hero h2 {
    font-size: 21px;
  }

  .workspace-search {
    height: 52px;
    margin-top: 14px;
    padding: 0 15px;
  }

  .page-heading {
    flex-direction: column;
    align-items:  flex-start;
    gap: 15px;
    margin-bottom: 19px;
  }

  .heading-actions {
    width: 100%;
  }

  .period-select {
    flex: 1;
  }

  .metrics-grid {
    gap: 9px;
  }

  .metric-card {
    padding: 12px 11px;
  }

  .metric-top {
    font-size: 10px;
  }

  .metric-icon {
    width: 25px;
    height: 25px;
  }

  .metric-value {
    font-size: 24px;
  }

  .metric-foot {
    gap: 4px;
    font-size: 9px;
  }

  .sparkline {
    width: 40px;
  }

  .right-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width <= 430px) {
  .content-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    padding: 0 12px;
  }

  .breadcrumbs {
    gap: 7px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .notification-button {
    display: none;
  }

  .metrics-grid {
    gap: 7px;
  }

  .metric-card {
    padding: 10px 9px;
  }

  .metric-top {
    font-size: 9px;
  }

  .metric-foot {
    font-size: 8px;
  }

  .sparkline {
    width: 30px;
  }

  .panel-heading, .pipeline-tabs {
    padding-left: 13px;
    padding-right: 13px;
  }

  .pipeline-table {
    min-width: 530px;
  }

  .pipeline-footer {
    padding-left: 13px;
    padding-right: 13px;
  }

  .dashboard-footer {
    flex-direction: column;
    align-items:  flex-start;
    gap: 7px;
  }
}
