/* [project]/src/app/(frontend)/overview-visuals.css [app-client] (css) */
.capital-overview {
  color: #172c50;
  font-variant-numeric: tabular-nums;
  gap: 18px;
  display: grid;
}

.capital-overview h2 {
  letter-spacing: -.03em;
  margin: 0;
  font-size: 19px;
}

.capital-toolbar, .capital-toolbar > div {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.capital-toolbar > span {
  font-size: 15px;
  font-weight: 650;
}

.capital-toolbar small {
  color: #7a8ca7;
  margin-left: 12px;
  font-weight: 400;
}

.capital-toolbar label {
  color: #617491;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.capital-toolbar select, .capital-toolbar input {
  color: #243b61;
  min-height: 36px;
  font: inherit;
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 6px;
  padding: 6px 10px;
}

.capital-funding {
  background: #eef5ff;
  border: 1px solid #d7e5f7;
  border-radius: 8px;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 20px 24px 12px;
  display: flex;
}

.capital-funding-title {
  align-items: center;
  gap: 12px;
  display: flex;
}

.capital-funding-title small {
  color: #657995;
  margin-top: 6px;
  font-size: 11px;
  display: block;
}

.capital-funding dl {
  flex: 1;
  justify-content: space-around;
  gap: 20px;
  margin: 0;
  display: flex;
}

.capital-overview dt {
  color: #647896;
  font-size: 12px;
}

.capital-overview dd {
  letter-spacing: -.04em;
  margin: 7px 0 0;
  font-size: 24px;
  font-weight: 700;
}

.capital-funding > p {
  color: #617491;
  border-top: 1px solid #d9e5f6;
  flex-basis: 100%;
  margin: 0;
  padding-top: 10px;
  font-size: 11px;
}

.capital-main-grid {
  grid-template-columns: minmax(0, 2.35fr) minmax(250px, 1fr);
  gap: 18px;
  display: grid;
}

.capital-bottom-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  display: grid;
}

.capital-panel {
  background: #fff;
  border: 1px solid #e0e8f3;
  border-radius: 7px;
  min-width: 0;
  padding: 23px;
}

.capital-panel header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.capital-panel header p {
  color: #7183a0;
  margin: 7px 0 0;
  font-size: 12px;
}

.capital-results {
  justify-content: space-between;
  gap: 12px;
  margin: 23px 0 2px;
  display: flex;
}

.capital-results dd {
  font-size: 22px;
}

.capital-results > div:last-child dd {
  color: #239674;
}

.capital-plot {
  position: relative;
}

.capital-overview .analytics-chart {
  width: 100%;
  min-width: 0;
  height: 285px;
}

.capital-empty {
  text-align: center;
  color: #5f7494;
  background: #ffffffed;
  width: 85%;
  padding: 20px;
  font-size: 15px;
  position: absolute;
  top: 43%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.capital-empty small {
  margin-top: 10px;
  font-size: 12px;
  display: block;
}

.capital-note {
  color: #7a8ba4;
  margin: 12px 0 0;
  font-size: 11px;
  line-height: 1.7;
}

.capital-priorities ol, .capital-events {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.capital-priorities li {
  border-bottom: 1px solid #edf1f7;
}

.capital-priorities li button {
  text-align: left;
  width: 100%;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  display: flex;
}

.capital-priorities li button > span {
  flex: 1;
  min-width: 0;
}

.capital-priorities strong, .capital-events strong {
  font-size: 13px;
  line-height: 1.6;
}

.capital-priorities small, .capital-events small {
  color: #7b8da8;
  margin-top: 4px;
  font-size: 11px;
  display: block;
}

.capital-rank {
  color: #597397;
  background: #e9eff8;
  border-radius: 5px;
  place-items: center;
  min-width: 25px;
  height: 25px;
  font-size: 12px;
  display: grid;
}

.rank-P1 {
  color: #d34f60;
  background: #ffe9eb;
}

.rank-P2 {
  color: #c67f26;
  background: #fff0dc;
}

.capital-events li {
  border-bottom: 1px solid #edf1f7;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  display: flex;
}

.capital-events li > svg {
  color: #4882e3;
  flex-shrink: 0;
}

.capital-events li > div {
  flex: 1;
  min-width: 0;
}

.capital-events li > span {
  color: #7b8da8;
  white-space: nowrap;
  font-size: 11px;
}

.capital-events .capital-success {
  color: #289f7a;
}

.capital-await {
  text-align: center;
  color: #7185a2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 13px;
  height: 285px;
  display: flex;
}

.capital-await strong {
  color: #435e80;
  font-size: 16px;
}

.capital-await p {
  max-width: 380px;
  margin: 0;
  font-size: 12px;
  line-height: 1.8;
}

.capital-quiet {
  color: #7b8da8;
  padding: 35px 0;
  font-size: 13px;
}

.capital-overview button:focus-visible, .capital-overview select:focus-visible, .capital-overview input:focus-visible {
  outline-offset: 3px;
  outline: 2px solid #377bf2;
}

@media (max-width: 1180px) {
  .capital-main-grid {
    grid-template-columns: minmax(0, 1.7fr) minmax(220px, 1fr);
  }

  .capital-funding-title {
    width: 100%;
  }

  .capital-toolbar {
    flex-wrap: wrap;
  }

  .capital-overview dd {
    font-size: 20px;
  }

  .capital-results {
    flex-wrap: wrap;
  }

  .capital-results > div {
    min-width: 40%;
  }
}

@media (max-width: 760px) {
  .capital-main-grid, .capital-bottom-grid {
    grid-template-columns: 1fr;
  }

  .capital-panel {
    padding: 17px;
  }

  .capital-toolbar > div {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .capital-funding {
    gap: 16px;
    padding: 18px;
  }

  .capital-funding dl {
    flex-basis: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .capital-overview dd {
    font-size: 18px;
  }

  .capital-overview dt {
    font-size: 11px;
  }

  .capital-funding .primary-button {
    justify-content: center;
    width: 100%;
  }

  .capital-panel header {
    flex-wrap: wrap;
  }

  .capital-overview .analytics-chart {
    height: 270px;
  }

  .capital-toolbar small {
    margin: 5px 0;
    display: block;
  }

  .capital-results > div {
    min-width: 42%;
  }
}

.capital-waterfall {
  overscroll-behavior-x: contain;
  overflow-x: auto;
}

.capital-waterfall .analytics-chart {
  min-width: 620px;
}

.capital-waterfall:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #377bf2;
}

/* [project]/src/app/(frontend)/analytics-workspace.css [app-client] (css) */
.analytics-content {
  background: #f8faff;
}

.analytics-content .page-heading {
  min-height: 62px;
  margin-bottom: 6px;
  padding-bottom: 0;
}

.analytics-content .heading-title {
  padding-left: 0;
}

.analytics-content .heading-title > svg {
  color: #326eeb;
}

.analytics-content .heading-title h1 {
  color: #0b1b3d;
  font-size: 31px;
}

.analytics-workspace {
  color: #142447;
  font-variant-numeric: tabular-nums;
  gap: 17px;
  padding-bottom: 24px;
  display: grid;
}

.analytics-workspace .sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.analytics-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 22px;
  display: flex;
}

.analytics-kicker, .analytics-section-index {
  color: #326eeb;
  letter-spacing: .1em;
  font-size: 10px;
  font-weight: 780;
}

.analytics-intro p {
  color: #5f7090;
  margin: 5px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

.analytics-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  display: flex;
}

.analytics-filters label {
  color: #5270a1;
  background: #fff;
  border: 1px solid #dce5f4;
  border-radius: 6px;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  padding: 0 7px;
  display: inline-flex;
}

.analytics-filters input, .analytics-filters select {
  color: #21365d;
  background: none;
  border: 0;
  outline: 0;
  max-width: 160px;
  height: 35px;
  padding: 0 3px;
  font-size: 11px;
}

.analytics-filters select {
  min-width: 104px;
  max-width: 168px;
}

.analytics-filters input:focus-visible, .analytics-filters select:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #7faaf9;
}

.analytics-date-dash {
  color: #8da2c1;
  font-size: 13px;
}

.analytics-evidence {
  color: #647594;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 24px;
  font-size: 11px;
  display: flex;
}

.analytics-evidence b {
  color: #2e5aa4;
}

.analytics-evidence-divider {
  background: #cfdbeb;
  width: 1px;
  height: 13px;
  margin: 0 6px;
}

.analytics-live-dot {
  background: #2fbc8d;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px #e0f5ed;
}

.analytics-warning {
  color: #b13f4f;
  margin-left: auto;
}

.analytics-surface {
  background: #fff;
  border: 1px solid #e2eafa;
  border-radius: 8px;
  min-width: 0;
  box-shadow: 0 8px 26px #1d4b9a08;
}

.analytics-section-heading {
  justify-content: space-between;
  align-items: start;
  gap: 12px;
  display: flex;
}

.analytics-section-heading h2 {
  color: #0e2047;
  letter-spacing: -.025em;
  margin: 5px 0 4px;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.2;
}

.analytics-section-heading p {
  color: #73809c;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
}

.analytics-unit {
  color: #6c7b9a;
  white-space: nowrap;
  padding-top: 22px;
  font-size: 10px;
}

.analytics-chart {
  min-width: 0;
}

.analytics-chart-scroll {
  min-width: 0;
  overflow-x: auto;
}

.analytics-mobile-hint {
  display: none;
}

.analytics-finance {
  grid-template-columns: minmax(0, 1fr) 295px;
  min-height: 343px;
  display: grid;
}

.analytics-finance-main {
  min-width: 0;
  padding: 20px 20px 8px;
}

.analytics-waterfall {
  height: 260px;
  margin-top: 8px;
}

.analytics-return {
  border-left: 1px solid #dce6f4;
  flex-direction: column;
  min-width: 0;
  margin: 19px 0;
  padding: 0 22px;
  display: flex;
}

.analytics-return-title {
  color: #101f40;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 750;
  display: flex;
}

.analytics-return-title span {
  color: #4475cf;
  background: #eff5ff;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 9px;
  font-weight: 650;
}

.analytics-return-primary {
  gap: 4px;
  margin-top: 18px;
  display: grid;
}

.analytics-return small {
  color: #596c91;
  font-size: 11px;
  font-weight: 620;
}

.analytics-return-primary strong {
  color: #087f71;
  letter-spacing: -.045em;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
}

.analytics-return-primary strong.is-negative {
  color: #d24e63;
}

.analytics-return-primary span, .analytics-return-pair span {
  color: #8a98b0;
  font-size: 10px;
  line-height: 1.5;
}

.analytics-return-pair {
  border-top: 1px solid #e4ebf6;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 19px;
  padding-top: 16px;
  display: grid;
}

.analytics-return-pair > div {
  align-content: start;
  gap: 5px;
  min-width: 0;
  display: grid;
}

.analytics-return-pair strong {
  color: #326eeb;
  letter-spacing: -.04em;
  font-size: 24px;
  line-height: 1.15;
}

.analytics-return-pair > div:first-child strong {
  color: #0c8c78;
}

.analytics-return-foot {
  color: #7b8ba8;
  margin: auto 0 0;
  padding-top: 16px;
  font-size: 10px;
  line-height: 1.45;
}

.analytics-media, .analytics-acquisition {
  padding: 20px 20px 13px;
}

.analytics-star-chart {
  height: 244px;
  margin-top: 9px;
}

.analytics-chart-caption {
  color: #8291aa;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 2px 1px;
  font-size: 10px;
  display: flex;
}

.analytics-acquisition {
  padding-bottom: 18px;
}

.analytics-acquisition-body {
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr);
  align-items: stretch;
  gap: 17px;
  margin-top: 15px;
  display: grid;
}

.analytics-acquisition-body > div:first-child {
  min-width: 0;
}

.analytics-acquisition-table-wrap {
  min-width: 0;
  overflow-x: auto;
}

.analytics-acquisition-table {
  border-collapse: collapse;
  white-space: nowrap;
  width: 100%;
  font-size: 11px;
}

.analytics-acquisition-table thead {
  background: #f5f8fe;
}

.analytics-acquisition-table th, .analytics-acquisition-table td {
  text-align: right;
  border-bottom: 1px solid #e7edf7;
  padding: 11px 8px;
}

.analytics-acquisition-table th:first-child, .analytics-acquisition-table td:first-child {
  text-align: left;
}

.analytics-acquisition-table thead th {
  color: #53698f;
  font-size: 10px;
  font-weight: 650;
}

.analytics-acquisition-table tbody th {
  text-overflow: ellipsis;
  color: #172849;
  align-items: center;
  gap: 8px;
  max-width: 150px;
  font-weight: 680;
  display: flex;
  overflow: hidden;
}

.analytics-acquisition-table tbody th i {
  border-radius: 50%;
  flex: none;
  width: 9px;
  height: 9px;
  display: inline-block;
}

.analytics-acquisition-table tbody td {
  color: #2c4066;
  font-weight: 600;
}

.analytics-acquisition-chart {
  border-left: 1px solid #e7edf7;
  height: 100%;
  min-height: 165px;
}

.analytics-chart-empty {
  text-align: center;
  background: #fbfcff;
  border: 1px dashed #d6e3f8;
  border-radius: 6px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  display: flex;
}

.analytics-chart-empty svg {
  color: #8faee9;
}

.analytics-chart-empty strong {
  color: #2e4d82;
  font-size: 14px;
}

.analytics-chart-empty span {
  color: #8291aa;
  max-width: 430px;
  font-size: 11px;
  line-height: 1.5;
}

.analytics-acquisition-empty {
  height: 150px;
  margin-top: 15px;
}

.analytics-review {
  color: #41577c;
  background: #fff;
  border: 1px solid #e2eafa;
  border-radius: 8px;
  font-size: 11px;
}

.analytics-review > summary {
  color: #275baf;
  cursor: pointer;
  padding: 13px 18px;
  font-size: 12px;
  font-weight: 700;
}

.analytics-review > summary b {
  margin-left: 4px;
}

.analytics-review > p {
  margin: 0 18px 12px;
}

.analytics-review .analytics-review-error {
  color: #b13f4f;
}

.analytics-review-row {
  border-top: 1px solid #e7edf7;
  gap: 11px;
  margin: 0 18px;
  padding: 15px 0;
  display: grid;
}

.analytics-review-row > div:first-child {
  gap: 4px;
  display: grid;
}

.analytics-review-row > div:first-child strong {
  color: #182e55;
  font-size: 12px;
}

.analytics-review-row > div:first-child span {
  color: #7a8aa4;
}

.analytics-review-row dl {
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  display: flex;
}

.analytics-review-row dl div {
  gap: 3px;
  display: grid;
}

.analytics-review-row dt {
  color: #8290a6;
}

.analytics-review-row dd {
  color: #273c62;
  margin: 0;
  font-weight: 650;
}

.analytics-review-row button {
  justify-self: start;
  min-height: 34px;
  font-size: 11px;
}

.analytics-footer {
  color: #7182a1;
  justify-content: space-between;
  align-items: start;
  gap: 14px;
  font-size: 10px;
  line-height: 1.5;
  display: flex;
}

.analytics-footer > span {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.analytics-footer svg {
  color: #326eeb;
  flex: none;
}

.analytics-footer details {
  text-align: right;
  max-width: 480px;
}

.analytics-footer summary {
  color: #3f6ec5;
  cursor: pointer;
  font-weight: 650;
}

.analytics-footer details p {
  text-align: left;
  margin: 8px 0 0;
}

@media (max-width: 1150px) {
  .analytics-finance {
    grid-template-columns: minmax(0, 1fr) 255px;
  }

  .analytics-return {
    padding: 0 17px;
  }

  .analytics-acquisition-body {
    grid-template-columns: 1fr;
  }

  .analytics-acquisition-chart {
    border-left: 0;
    height: 185px;
  }
}

@media (max-width: 780px) {
  .analytics-content .page-heading {
    min-height: 52px;
  }

  .analytics-content .heading-title h1 {
    font-size: 25px;
  }

  .analytics-finance {
    grid-template-columns: 1fr;
  }

  .analytics-return {
    border-top: 1px solid #dce6f4;
    border-left: 0;
    margin: 0 18px 18px;
    padding: 18px 0 0;
  }

  .analytics-return-pair {
    max-width: 480px;
  }

  .analytics-media, .analytics-acquisition, .analytics-finance-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .analytics-chart-caption, .analytics-footer {
    flex-direction: column;
  }

  .analytics-footer details {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .analytics-filters {
    width: 100%;
  }

  .analytics-filters label {
    flex: 42%;
  }

  .analytics-filters input, .analytics-filters select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .analytics-date-dash, .analytics-unit {
    display: none;
  }

  .analytics-chart-scroll > .analytics-waterfall {
    min-width: 720px;
    height: 280px;
  }

  .analytics-chart-scroll > .analytics-star-chart {
    min-width: 550px;
  }

  .analytics-mobile-hint {
    color: #6d7f9d;
    margin: 5px 0 0;
    font-size: 10px;
    display: block;
  }

  .analytics-return-pair {
    grid-template-columns: 1fr 1fr;
  }

  .analytics-acquisition-table {
    min-width: 530px;
  }
}

/* [project]/src/app/(frontend)/styles.css [app-client] (css) */
:root {
  --ink: #18252b;
  --muted: #61717b;
  --soft: #87949c;
  --line: #dce5e8;
  --surface: #fff;
  --wash: #f7fafb;
  --accent: #08685f;
  --accent-hover: #07584f;
  --risk: #ad382c;
  --warn: #bb5d19;
  color: var(--ink);
  letter-spacing: 0;
  background: #fff;
  font-family: Segoe UI, PingFang SC, Microsoft YaHei, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  margin: 0;
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible {
  outline-offset: 2px;
  outline: 3px solid #78bcb3;
}

a {
  color: inherit;
}

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

.app-shell {
  grid-template-columns: 98px minmax(0, 1fr);
  min-height: 100dvh;
  display: grid;
}

.sidebar {
  color: #e8eff0;
  background: #2c3336;
  flex-direction: column;
  align-items: center;
  height: 100dvh;
  padding: 25px 13px 18px;
  display: flex;
  position: sticky;
  top: 0;
}

.sidebar-brand {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 18px;
  display: flex;
}

.sidebar-brand strong {
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
}

.side-nav {
  gap: 11px;
  width: 100%;
  margin-top: 65px;
  display: grid;
}

.side-nav button {
  color: #cbd4d7;
  background: none;
  border: 0;
  border-radius: 7px;
  place-items: center;
  width: 66px;
  height: 66px;
  display: grid;
  position: relative;
}

.side-nav button.active {
  color: #fff;
  background: #0c6d67;
}

.side-nav button b {
  color: #176b63;
  background: #edf5f4;
  border-radius: 4px;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 3px;
  font-size: 10px;
  display: grid;
  position: absolute;
  top: 7px;
  right: 7px;
}

.sidebar-bottom {
  border-top: 1px solid #4d5b5e;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding-top: 20px;
  display: flex;
}

.rail-avatar, .topbar-avatar {
  border-radius: 50%;
  flex: none;
  place-items: center;
  font-weight: 700;
  display: grid;
}

.rail-avatar {
  color: #22353b;
  background: #e8efec;
  width: 46px;
  height: 46px;
  font-size: 17px;
}

.main-content {
  background: #fff;
  min-width: 0;
}

.topbar {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  height: 77px;
  margin: 0 32px;
  display: flex;
}

.topbar-context, .topbar-account {
  align-items: center;
  min-width: 0;
  display: flex;
}

.topbar-context {
  gap: 30px;
}

.workspace-switcher {
  min-width: 0;
  position: relative;
}

.workspace-trigger {
  width: 246px;
  max-width: 58vw;
  height: 46px;
  color: var(--ink);
  text-align: left;
  background: #fff;
  border: 1px solid #d6e2e4;
  border-radius: 6px;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  display: flex;
}

.workspace-trigger:hover:not(:disabled), .workspace-trigger[aria-expanded="true"] {
  background: #f8fbfa;
  border-color: #8fb8b3;
}

.workspace-trigger:disabled {
  cursor: default;
  opacity: 1;
}

.workspace-mark {
  width: 28px;
  height: 28px;
  color: var(--accent);
  background: #e7f1ee;
  border-radius: 5px;
  flex: none;
  place-items: center;
  display: grid;
}

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

.workspace-trigger-copy small {
  color: #75858c;
  font-size: 10px;
  line-height: 1;
}

.workspace-trigger-copy strong {
  color: #1c3035;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1.25;
  overflow: hidden;
}

.workspace-trigger > svg {
  color: #65767c;
  flex: none;
  transition: transform .15s;
}

.workspace-trigger > svg.workspace-chevron-open {
  transform: rotate(180deg);
}

.workspace-demo-badge {
  color: #996324;
  white-space: nowrap;
  background: #f8ede0;
  border-radius: 3px;
  flex: none;
  padding: 3px 5px;
  font-size: 10px;
  font-weight: 700;
}

.workspace-options {
  z-index: 15;
  background: #fff;
  border: 1px solid #d6e1e3;
  border-radius: 6px;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  position: absolute;
  top: calc(100% + 7px);
  left: 0;
  box-shadow: 0 14px 35px #102b3026;
}

.workspace-options-label {
  color: #7d8b91;
  padding: 8px 9px 7px;
  font-size: 11px;
  display: block;
}

.workspace-option {
  width: 100%;
  min-height: 54px;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  border-radius: 4px;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  display: flex;
}

.workspace-option:hover, .workspace-option.selected {
  background: #edf5f3;
}

.workspace-option > span {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.workspace-option strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 690;
}

.workspace-option small {
  color: #687a81;
  font-size: 11px;
}

.workspace-option > svg {
  color: var(--accent);
  flex: none;
}

.product-label {
  color: #56646d;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
}

.topbar-account {
  gap: 13px;
}

.timezone-label {
  color: #63727d;
  white-space: nowrap;
  font-size: 12px;
}

.topbar-divider {
  background: var(--line);
  width: 1px;
  height: 30px;
  margin: 0 10px;
}

.topbar-avatar {
  color: #1e3238;
  background: #eaf0f1;
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.account-name {
  max-width: 190px;
  color: var(--ink);
  white-space: nowrap;
  text-overflow: ellipsis;
  align-items: baseline;
  gap: 4px;
  font-size: 13px;
  font-weight: 650;
  display: flex;
  overflow: hidden;
}

.account-name small {
  color: #5c6972;
  font-size: 11px;
  font-weight: 500;
}

.icon-button {
  color: #5a6d73;
  background: none;
  border: 0;
  border-radius: 4px;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.icon-button:hover {
  color: var(--accent);
  background: #edf3f3;
}

.content-inner {
  min-width: 0;
  max-width: 1630px;
  margin: 0 auto;
  padding: 27px 32px 22px;
}

.page-heading {
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  min-height: 104px;
  margin-bottom: 12px;
  padding-bottom: 16px;
  display: flex;
}

.heading-title, .heading-actions {
  align-items: center;
  display: flex;
}

.heading-title {
  gap: 20px;
  min-width: 0;
  padding-left: 8px;
}

.heading-title > svg {
  width: 37px;
  height: 37px;
  color: var(--accent);
  flex: none;
}

.heading-title h1 {
  color: #101c23;
  margin: 0;
  font-size: 33px;
  font-weight: 760;
  line-height: 1.25;
}

.heading-title p {
  color: #5c6b75;
  margin: 5px 0 0;
  font-size: 16px;
}

.heading-actions {
  flex: none;
  gap: 22px;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  white-space: nowrap;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
}

.primary-button:hover:not(:disabled) {
  background: var(--accent-hover);
}

.secondary-button {
  color: #215b57;
  white-space: nowrap;
  background: #fff;
  border: 1px solid #b9cdcf;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
}

.secondary-button:hover:not(:disabled) {
  border-color: var(--accent);
  background: #f0f7f5;
}

.refresh-button {
  min-width: 168px;
  min-height: 52px;
}

.last-refresh {
  color: #4b5a64;
  white-space: nowrap;
  gap: 4px;
  min-width: 160px;
  font-size: 13px;
  display: grid;
}

.last-refresh small {
  color: #85939a;
  font-size: 11px;
}

.spinning {
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.notice {
  color: #126355;
  background: #f0f8f5;
  border: 1px solid #bddad1;
  border-radius: 5px;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 11px 13px;
  font-size: 13px;
  display: flex;
}

.notice-error {
  color: #9e473e;
  background: #fff5f2;
  border-color: #e6c8c1;
}

.notice > span {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.notice button {
  color: inherit;
  background: none;
  border: 0;
  place-items: center;
  display: grid;
}

.workboard {
  grid-template-columns: minmax(0, 1.95fr) minmax(370px, 1fr);
  gap: 14px;
  display: grid;
}

.board-panel {
  background: var(--surface);
  border: 1px solid #d9e3e9;
  border-radius: 6px;
  min-width: 0;
  min-height: 584px;
  box-shadow: 0 5px 18px #183c4906;
}

.matrix-panel {
  padding: 31px 16px 25px;
}

.tasks-panel {
  padding: 30px 19px;
}

.panel-heading {
  margin: 0 6px 22px;
}

.panel-heading h2 {
  color: #16232b;
  margin: 0;
  font-size: 22px;
  font-weight: 730;
  line-height: 1.35;
}

.panel-heading p {
  color: #6b7a83;
  margin: 6px 0 0;
  font-size: 13px;
}

.matrix-panel .panel-heading {
  margin-bottom: 30px;
}

.matrix-panel .panel-heading p {
  margin-top: 12px;
  font-size: 15px;
}

.panel-heading-inline {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 23px;
  display: flex;
}

.panel-heading-inline h2 {
  white-space: nowrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.count-badge {
  color: #075f58;
  background: #e5eff0;
  border-radius: 4px;
  place-items: center;
  min-width: 28px;
  height: 27px;
  padding: 0 6px;
  font-size: 14px;
  display: grid;
}

.text-button {
  min-height: 34px;
  color: var(--accent);
  white-space: nowrap;
  background: none;
  border: 0;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
}

.text-button:hover {
  color: var(--accent-hover);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.matrix-list {
  min-width: 0;
}

.matrix-head, .store-row {
  grid-template-columns: minmax(188px, 1.75fr) minmax(90px, .72fr) minmax(98px, .78fr) minmax(135px, 1.15fr) minmax(122px, 1fr) 35px;
  align-items: center;
  display: grid;
}

.matrix-head {
  color: #51616b;
  background: #f2f6f8;
  min-height: 68px;
  font-size: 14px;
  font-weight: 660;
}

.matrix-head span {
  border-right: 1px solid #e3ebef;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  display: flex;
}

.matrix-head span:last-child {
  border: 0;
  justify-content: center;
  padding: 0;
}

.matrix-record {
  border-bottom: 1px solid #e0e8eb;
}

.store-row {
  min-height: 121px;
}

.store-row > div:not(:first-child) {
  border-left: 1px solid #e4ebee;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  min-width: 0;
  padding: 0 14px;
  display: flex;
}

.store-identity {
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 0 14px;
  display: flex;
}

.store-icon {
  background: #eaf2e7;
  border-radius: 8px;
  flex: none;
  place-items: center;
  width: 54px;
  height: 54px;
  display: grid;
  overflow: hidden;
}

.store-icon.woo {
  background: #f0e7f3;
}

.store-icon.woo img {
  width: 40px;
  height: 27px;
}

.store-main {
  gap: 5px;
  min-width: 0;
  display: grid;
}

.store-main strong {
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 690;
  line-height: 1.35;
}

.store-main a {
  color: #193c3c;
  overflow-wrap: anywhere;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  font-size: 16px;
  font-weight: 690;
  line-height: 1.35;
  text-decoration: none;
  display: inline-flex;
}

.store-main a:hover {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.store-main a svg {
  flex: none;
}

.store-main small {
  color: #6e7f88;
  font-size: 13px;
  line-height: 1.35;
}

.store-metric strong, .store-observed strong {
  color: #17232b;
  font-weight: 730;
  display: block;
}

.store-metric strong {
  font-size: 28px;
  line-height: 1.1;
}

.store-metric small, .store-observed small, .freshness small {
  color: #71818b;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.35;
  display: block;
}

.store-metric small {
  display: none;
}

.store-observed strong {
  white-space: nowrap;
  font-size: 16px;
}

.freshness > span {
  color: #188166;
  white-space: nowrap;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 720;
  display: flex;
}

.freshness > span svg {
  flex: none;
}

.freshness.stale > span {
  color: var(--risk);
}

.freshness.attention > span {
  color: var(--warn);
}

.store-expand {
  color: #667780;
  background: none;
  border: 0;
  border-radius: 4px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.store-expand:hover {
  color: var(--accent);
  background: #edf3f4;
}

.store-expand svg {
  transition: transform .18s;
}

.store-expand svg.expanded {
  transform: rotate(90deg);
}

.store-detail {
  color: #61717b;
  background: #f8fbfb;
  border-top: 1px solid #e5ecee;
  flex-wrap: wrap;
  gap: 25px;
  padding: 13px 17px 16px 81px;
  font-size: 11px;
  display: flex;
}

.store-detail strong {
  color: #23353d;
  margin-left: 5px;
  font-size: 12px;
}

.store-detail-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-left: auto;
  display: inline-flex;
}

.store-detail-actions button {
  color: var(--accent);
  background: none;
  border: 0;
  align-items: center;
  gap: 5px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.store-detail-actions button:hover:not(:disabled) {
  text-decoration: underline;
}

.store-detail-actions .setup-note {
  color: #8b642b;
  margin: 0;
  font-size: 11px;
}

.freshness small {
  overflow-wrap: anywhere;
}

.task-list, .full-task-list {
  align-content: start;
  gap: 12px;
  display: grid;
}

.task-card {
  border: 1px solid #d9e4e8;
  border-left: 3px solid var(--warn);
  background: #fff;
  border-radius: 5px;
  flex-direction: column;
  min-width: 0;
  min-height: 192px;
  padding: 19px 16px 17px 18px;
  display: flex;
}

.task-card.task-muted {
  border-left-color: #b8c6c8;
}

.task-card-head {
  align-items: center;
  gap: 9px;
  min-width: 0;
  display: flex;
}

.task-priority {
  color: #fff;
  background: #bcc9c7;
  border-radius: 4px;
  flex: none;
  place-items: center;
  min-width: 38px;
  height: 29px;
  padding: 0 5px;
  font-size: 13px;
  font-weight: 780;
  display: grid;
}

.task-priority.priority-p1 {
  background: #b45a1c;
}

.task-priority.priority-p2 {
  background: #b08337;
}

.task-title {
  color: #1c2a31;
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 0;
  font-size: 17px;
  font-weight: 710;
  line-height: 1.45;
}

.task-status {
  color: #536670;
  white-space: nowrap;
  background: #edf2f4;
  border-radius: 4px;
  flex: none;
  padding: 5px 8px;
  font-size: 11px;
}

.status-claimed {
  color: #96622b;
  background: #faf0e5;
}

.status-done {
  color: #33785b;
  background: #eaf4ef;
}

.status-not-observed {
  color: #69757a;
  background: #eff1f0;
}

.task-detail {
  color: #5a6b75;
  overflow-wrap: anywhere;
  margin: 12px 0 13px;
  font-size: 15px;
  line-height: 1.55;
}

.task-card-foot {
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-top: auto;
  display: flex;
}

.task-meta {
  color: #73838c;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  display: grid;
}

.task-meta span {
  overflow-wrap: anywhere;
  align-items: center;
  gap: 7px;
  display: flex;
}

.task-meta svg {
  flex: none;
}

.row-action {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  border-radius: 4px;
  flex: none;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 79px;
  min-height: 42px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
}

.row-action:hover:not(:disabled) {
  background: var(--accent-hover);
}

.recent-run {
  border: 1px solid #dae4e8;
  border-radius: 6px;
  grid-template-columns: 30px 160px 104px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 82px;
  margin-top: 28px;
  padding: 12px 24px;
  display: grid;
  box-shadow: 0 4px 14px #173d4805;
}

.recent-run > svg {
  color: var(--accent);
}

.recent-run > strong {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

.recent-run time {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
}

.run-mode {
  color: #51636e;
  text-align: center;
  white-space: nowrap;
  background: #eef3f5;
  border-radius: 4px;
  padding: 5px 8px;
  font-size: 11px;
}

.run-summary {
  color: #6b7b85;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
}

.full-section {
  border: 1px solid #d9e3e9;
  border-radius: 6px;
  min-height: 520px;
  padding: 18px 22px;
}

.view-toolbar {
  border-bottom: 1px solid var(--line);
  color: #65747d;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 55px;
  margin-bottom: 12px;
  padding-bottom: 13px;
  font-size: 12px;
  display: flex;
}

.segmented {
  border: 1px solid var(--line);
  background: var(--wash);
  border-radius: 5px;
  align-items: center;
  gap: 2px;
  padding: 3px;
  display: flex;
}

.segmented button {
  color: #62727b;
  background: none;
  border: 0;
  border-radius: 3px;
  min-width: 54px;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.segmented button.selected {
  color: var(--accent);
  background: #fff;
  font-weight: 700;
  box-shadow: 0 1px 2px #152a1f15;
}

.full-task-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.run-row {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 8px minmax(0, 1fr) 80px 96px;
  align-items: start;
  gap: 12px;
  padding: 18px 0;
  display: grid;
}

.run-marker {
  background: #aeb8b0;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-top: 5px;
}

.run-marker.run-success {
  background: #3b9970;
}

.run-marker.run-failed {
  background: var(--risk);
}

.run-main {
  min-width: 0;
}

.run-main strong {
  font-size: 13px;
}

.run-main p {
  color: #75848d;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.run-correlation {
  color: #62777d;
  white-space: nowrap;
}

.run-label, .run-row time {
  color: #75838b;
  font-size: 12px;
}

.run-label.run-success {
  color: #27835b;
}

.run-label.run-failed {
  color: var(--risk);
}

.workflow-list {
  gap: 0;
  margin-bottom: 24px;
  display: grid;
}

.workflow-row {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 12px 3px;
  display: flex;
}

.workflow-icon {
  width: 39px;
  height: 39px;
  color: var(--accent);
  background: #e8f2ef;
  border-radius: 5px;
  flex: none;
  place-items: center;
  display: grid;
}

.workflow-main {
  gap: 5px;
  min-width: 0;
  margin-right: auto;
  display: grid;
}

.workflow-main strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.3;
}

.workflow-main small {
  color: var(--muted);
  font-size: 12px;
}

.workflow-row .secondary-button {
  min-height: 34px;
}

.run-history-heading {
  margin-top: 9px;
}

.empty-state {
  color: #9aa9ae;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 170px;
  display: flex;
}

.empty-state strong {
  color: #687a82;
  font-size: 13px;
  font-weight: 600;
}

.listing-workspace {
  min-width: 0;
}

.listing-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  margin-bottom: 15px;
  display: flex;
}

.listing-toolbar > div {
  align-items: baseline;
  gap: 12px;
  display: flex;
}

.listing-toolbar strong {
  font-size: 15px;
}

.listing-toolbar span {
  color: var(--muted);
  font-size: 12px;
}

.listing-layout {
  border: 1px solid var(--line);
  border-radius: 6px;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  min-height: 590px;
  display: grid;
  overflow: hidden;
}

.listing-layout-empty {
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  min-height: 0;
  display: block;
  overflow: visible;
}

.listing-layout-empty .batch-detail {
  padding: 26px 0;
}

.batch-list {
  border-right: 1px solid var(--line);
  background: #f8faf9;
  min-width: 0;
}

.batch-row {
  width: 100%;
  min-height: 104px;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid #e1e8e6;
  gap: 7px;
  padding: 16px;
  display: grid;
}

.batch-row:hover, .batch-row.selected {
  background: #fff;
}

.batch-row.selected {
  box-shadow: inset 3px 0 var(--accent);
}

.batch-row-head, .batch-row-foot {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.batch-row-head strong {
  overflow-wrap: anywhere;
  min-width: 0;
  font-size: 13px;
  line-height: 1.4;
}

.batch-row-head svg {
  color: #8c9c9c;
  flex: none;
}

.batch-row-store {
  color: #5d7078;
  overflow-wrap: anywhere;
  font-size: 12px;
}

.batch-row-foot {
  color: #849298;
  font-size: 11px;
}

.state-text {
  white-space: nowrap;
  font-weight: 700;
}

.state-review, .state-readback, .state-failed {
  color: #a55723;
}

.state-running, .state-drafting {
  color: var(--accent);
}

.state-monitoring {
  color: #32805d;
}

.batch-empty {
  color: #71848a;
  align-content: center;
  justify-items: start;
  gap: 8px;
  min-height: 210px;
  padding: 24px;
  font-size: 12px;
  display: grid;
}

.batch-empty svg {
  color: var(--accent);
}

.batch-empty strong {
  color: var(--ink);
  font-size: 14px;
}

.batch-detail {
  min-width: 0;
  padding: 25px 29px 28px;
}

.listing-start {
  padding: 3px 0;
}

.listing-start h2 {
  margin: 0 0 17px;
  font-size: 17px;
}

.setup-summary {
  color: #667980;
  max-width: 1040px;
  margin: 18px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.setup-checks {
  border-top: 1px solid var(--line);
  width: min(100%, 1040px);
  display: grid;
}

.setup-checks > div {
  border-bottom: 1px solid var(--line);
  grid-template-columns: 28px minmax(110px, 1fr) minmax(100px, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 59px;
  display: grid;
}

.setup-checks strong {
  font-size: 13px;
}

.setup-checks small {
  color: var(--muted);
  font-size: 12px;
}

.setup-checks button, .form-link {
  width: fit-content;
  color: var(--accent);
  background: none;
  border: 0;
  align-items: center;
  gap: 5px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.setup-checks button:hover, .form-link:hover {
  text-decoration: underline;
}

.setup-ready, .setup-missing {
  border-radius: 4px;
  place-items: center;
  width: 24px;
  height: 24px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.setup-ready {
  color: #257555;
  background: #e1f1e9;
}

.setup-missing {
  color: #a15d25;
  background: #f4ece0;
}

.batch-detail-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

.batch-detail-head > div {
  min-width: 0;
}

.batch-eyebrow {
  color: #72838b;
  font-size: 11px;
}

.batch-detail-head h2 {
  overflow-wrap: anywhere;
  margin: 6px 0;
  font-size: 21px;
  line-height: 1.3;
}

.batch-detail-head p {
  color: #5d6f76;
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
}

.batch-status {
  color: #4c6670;
  background: #edf2f1;
  border-radius: 4px;
  flex: none;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
}

.batch-status-review, .batch-status-readback, .batch-status-failed {
  color: #a25b25;
  background: #f9eee3;
}

.batch-status-running, .batch-status-drafting {
  color: var(--accent);
  background: #e4f1ef;
}

.batch-status-monitoring {
  color: #267553;
  background: #e6f2eb;
}

.stage-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin: 27px 0 22px;
  display: grid;
}

.stage-step {
  color: #8a999d;
  border-top: 2px solid #e4ebeb;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 4px;
  display: flex;
}

.stage-step > span {
  background: #edf1f0;
  border-radius: 4px;
  flex: none;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 10px;
  display: grid;
}

.stage-step strong {
  min-width: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.35;
}

.stage-step.stage-current {
  border-top-color: var(--accent);
  color: var(--accent);
}

.stage-step.stage-current > span {
  background: var(--accent);
  color: #fff;
}

.stage-step.stage-done {
  color: #397b60;
  border-top-color: #80b9a2;
}

.stage-step.stage-done > span {
  background: #e4f0e9;
}

.batch-metrics {
  border: 1px solid var(--line);
  border-radius: 5px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.batch-metrics > div {
  border-right: 1px solid var(--line);
  gap: 4px;
  padding: 15px 17px;
  display: grid;
}

.batch-metrics > div:last-child {
  border-right: 0;
}

.batch-metrics strong {
  font-variant-numeric: tabular-nums;
  font-size: 23px;
  line-height: 1.1;
}

.batch-metrics span {
  color: #6f8087;
  font-size: 11px;
}

.batch-actions {
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 11px 17px;
  min-height: 72px;
  padding: 14px 0;
  display: flex;
}

.batch-actions > span {
  color: #9e6232;
  font-size: 12px;
}

.batch-actions .batch-active-status {
  color: var(--accent);
  align-items: center;
  gap: 7px;
  font-weight: 650;
  display: inline-flex;
}

.batch-actions .text-button {
  margin-left: auto;
}

.batch-section-head {
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 23px 0 11px;
  display: flex;
}

.batch-section-head h3 {
  margin: 0;
  font-size: 15px;
}

.batch-section-head span {
  color: #7b8a91;
  font-size: 11px;
}

.listing-items-head, .listing-item {
  grid-template-columns: minmax(160px, 1.55fr) minmax(88px, .72fr) minmax(145px, 1.2fr) 83px;
  align-items: center;
  gap: 12px;
  display: grid;
}

.listing-items-head {
  color: #6d7e83;
  background: #f2f6f5;
  min-height: 35px;
  padding: 0 12px;
  font-size: 11px;
}

.listing-item {
  border-bottom: 1px solid var(--line);
  min-height: 67px;
  padding: 10px 12px;
  font-size: 12px;
}

.listing-item-selected {
  background: #f1f7f3;
}

.listing-item-name {
  gap: 4px;
  min-width: 0;
  display: grid;
}

.listing-item-name strong {
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.4;
}

.listing-item-name small {
  color: #89979c;
  overflow-wrap: anywhere;
  font-size: 10px;
}

.item-state {
  color: #53666f;
  background: #edf1f2;
  border-radius: 3px;
  width: fit-content;
  padding: 5px 7px;
  font-size: 11px;
  font-weight: 700;
}

.item-blocked, .item-attention {
  color: #a05a24;
  background: #f9eee3;
}

.item-ready, .item-draft_verified, .item-published {
  color: #2d7657;
  background: #e6f2eb;
}

.listing-item-reason {
  color: #63757c;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.item-select {
  color: var(--accent);
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.item-select input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}

.item-select:has(input:disabled) {
  color: #9aa9ae;
  cursor: not-allowed;
}

.item-link {
  color: var(--accent);
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
}

.item-link:hover {
  text-decoration: underline;
}

.listing-no-items, .listing-no-runs {
  color: #819096;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 105px;
  font-size: 12px;
  display: flex;
}

.run-section-head {
  margin-top: 26px;
}

.listing-run {
  border-bottom: 1px solid var(--line);
  color: #63747a;
  grid-template-columns: 8px 88px minmax(0, 1fr) 96px;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  font-size: 12px;
  display: grid;
}

.listing-run strong {
  color: var(--ink);
  font-size: 12px;
}

.listing-run time {
  color: #89989c;
  text-align: right;
  white-space: nowrap;
}

.draft-confirm-copy {
  color: #4e626a;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.draft-selected-list {
  border-top: 1px solid var(--line);
  gap: 0;
  max-height: 220px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  overflow: auto;
}

.draft-selected-list li {
  border-bottom: 1px solid var(--line);
  gap: 3px;
  padding: 10px 0;
  display: grid;
}

.draft-selected-list strong {
  font-size: 12px;
  font-weight: 650;
}

.draft-selected-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
  font-size: 11px;
}

.content-footer {
  color: #8c9aa1;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  font-size: 11px;
  display: flex;
}

.page-error {
  max-width: 500px;
  margin: 12vh auto;
  padding: 20px;
}

.page-error h1 {
  font-size: 25px;
}

.page-error p {
  color: var(--muted);
  font-size: 14px;
}

.page-error a {
  color: var(--accent);
}

.dialog-backdrop {
  z-index: 20;
  background: #14282c85;
  place-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0;
}

.dialog {
  background: #fff;
  border: 1px solid #ccd9dc;
  border-radius: 7px;
  width: min(100%, 470px);
  max-height: min(90dvh, 760px);
  overflow: auto;
  box-shadow: 0 20px 80px #0e282c30;
}

.dialog-head {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 21px 24px 16px;
  display: flex;
}

.dialog-head h2 {
  margin: 0;
  font-size: 20px;
}

.dialog-form {
  gap: 16px;
  padding: 22px 24px 24px;
  display: grid;
}

.dialog-form label {
  color: #35484f;
  gap: 7px;
  font-size: 13px;
  font-weight: 650;
  display: grid;
}

.dialog-form input, .dialog-form select {
  width: 100%;
  min-height: 42px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c6d4d8;
  border-radius: 5px;
  padding: 0 11px;
  font-size: 14px;
}

.dialog-form input::placeholder {
  color: #93a0a5;
}

.form-divider {
  border-top: 1px solid var(--line);
  color: #35484f;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 9px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.form-divider small, .form-note {
  color: #687a82;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.form-note {
  margin: 0;
}

.dialog-actions {
  justify-content: flex-end;
  gap: 9px;
  margin-top: 6px;
  display: flex;
}

.login-shell {
  background: #f7f9f9;
  place-items: center;
  min-height: 100dvh;
  padding: 90px 24px;
  display: grid;
}

.login-brand {
  color: var(--ink);
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 720;
  display: flex;
  position: absolute;
  top: 32px;
  left: 38px;
}

.brand-symbol {
  color: #fff;
  background: #2c3336;
  border-radius: 5px;
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.login-form {
  width: min(100%, 390px);
  display: grid;
}

.login-form h1 {
  margin: 0 0 30px;
  font-size: 27px;
  font-weight: 730;
}

.login-form label {
  color: #4c5b63;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 650;
}

.login-form input {
  width: 100%;
  height: 44px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cbd6da;
  border-radius: 5px;
  margin-bottom: 20px;
  padding: 0 12px;
  font-size: 14px;
}

.login-form .primary-button {
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  margin-top: 5px;
  padding: 0 14px;
}

.form-error {
  color: var(--risk);
  margin: -3px 0 17px;
  font-size: 12px;
}

@media (max-width: 1280px) {
  .workboard {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-panel {
    min-height: auto;
  }

  .matrix-panel {
    min-height: 420px;
  }

  .tasks-panel {
    min-height: 245px;
  }

  .task-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-run {
    grid-template-columns: 30px 160px 104px 76px minmax(0, 1fr) auto;
  }
}

@media (max-width: 900px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    flex-direction: row;
    justify-content: space-between;
    height: 62px;
    padding: 7px 18px;
    position: relative;
  }

  .sidebar-brand {
    flex-direction: row;
    gap: 8px;
    width: auto;
  }

  .sidebar-brand strong {
    font-size: 15px;
  }

  .side-nav {
    justify-content: flex-end;
    gap: 4px;
    width: auto;
    margin: 0;
    display: flex;
  }

  .side-nav button {
    width: 48px;
    height: 46px;
  }

  .side-nav button b {
    top: 2px;
    right: 2px;
  }

  .sidebar-bottom {
    display: none;
  }

  .topbar {
    height: 63px;
    margin: 0 22px;
  }

  .content-inner {
    padding: 20px 22px;
  }

  .page-heading {
    min-height: 95px;
  }

  .heading-title h1 {
    font-size: 27px;
  }

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

  .listing-layout {
    grid-template-columns: minmax(205px, 245px) minmax(0, 1fr);
  }

  .batch-detail {
    padding: 20px;
  }

  .listing-items-head, .listing-item {
    grid-template-columns: minmax(120px, 1.3fr) 85px minmax(110px, 1fr) 74px;
    gap: 8px;
  }
}

@media (max-width: 720px) {
  .product-label, .timezone-label, .topbar-divider, .account-name {
    display: none;
  }

  .topbar-context {
    gap: 0;
  }

  .workspace-trigger {
    width: min(246px, 58vw);
  }

  .page-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 24px;
  }

  .page-heading-listing {
    min-height: 0;
    margin-bottom: 20px;
    padding-bottom: 0;
  }

  .heading-title {
    gap: 12px;
  }

  .heading-title > svg {
    width: 28px;
    height: 28px;
  }

  .heading-title h1 {
    font-size: 25px;
  }

  .heading-title p {
    font-size: 12px;
  }

  .heading-actions {
    justify-content: space-between;
    gap: 12px;
  }

  .refresh-button {
    min-width: 0;
    min-height: 44px;
  }

  .last-refresh {
    min-width: 0;
    font-size: 11px;
  }

  .last-refresh small {
    font-size: 10px;
  }

  .matrix-panel {
    min-height: 0;
    padding: 20px 13px 12px;
  }

  .tasks-panel {
    padding: 20px 13px;
  }

  .panel-heading, .matrix-panel .panel-heading {
    margin: 0 6px 17px;
  }

  .panel-heading h2 {
    font-size: 18px;
  }

  .matrix-head {
    display: none;
  }

  .matrix-record {
    position: relative;
  }

  .store-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 8px;
    min-height: 0;
    padding: 17px 0;
  }

  .store-identity {
    grid-column: 1 / -1;
    padding: 0 40px 0 5px;
  }

  .store-icon {
    width: 44px;
    height: 44px;
  }

  .store-main strong, .store-main a {
    font-size: 13px;
  }

  .store-row > div:not(:first-child) {
    border-left: 0;
    padding: 0 5px;
  }

  .store-metric strong {
    font-size: 22px;
  }

  .store-metric small {
    display: block;
  }

  .store-observed strong {
    font-size: 12px;
  }

  .freshness > span {
    white-space: normal;
    font-size: 12px;
  }

  .store-expand {
    position: absolute;
    top: 22px;
    right: 2px;
  }

  .store-detail {
    gap: 8px 20px;
    padding: 12px 7px;
  }

  .store-detail-actions {
    width: 100%;
    margin: 6px 0 0;
  }

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

  .recent-run {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 15px;
  }

  .recent-run > strong {
    grid-column: 2;
    font-size: 12px;
  }

  .recent-run time {
    grid-area: 2 / 2;
    font-size: 12px;
  }

  .run-mode {
    grid-area: 1 / 3;
  }

  .run-summary {
    white-space: normal;
    grid-area: 3 / 2 / auto / -1;
  }

  .recent-run .text-button {
    grid-area: 4 / 2 / auto / -1;
    justify-self: start;
  }

  .run-row {
    grid-template-columns: 8px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .run-row time {
    grid-area: 2 / 2;
  }

  .listing-toolbar {
    margin-bottom: 12px;
  }

  .listing-layout {
    min-height: 0;
    display: block;
  }

  .batch-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow-x: auto;
  }

  .batch-row {
    border-right: 1px solid var(--line);
    border-bottom: 0;
    flex: 0 0 222px;
  }

  .batch-row:only-child {
    flex-basis: 100%;
  }

  .batch-empty {
    min-height: 105px;
  }

  .batch-detail {
    padding: 19px 15px 23px;
  }

  .listing-layout-empty .batch-detail {
    padding: 20px 0;
  }

  .setup-checks > div {
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .setup-checks small {
    grid-area: 2 / 2;
    margin-top: -14px;
  }

  .setup-checks button {
    grid-area: 1 / 3 / 3;
  }

  .stage-track {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stage-step {
    align-content: start;
    gap: 5px;
    min-height: 66px;
    padding: 8px 2px;
    display: grid;
  }

  .stage-step strong {
    overflow-wrap: anywhere;
    font-size: 10px;
  }

  .listing-items-head {
    display: none;
  }

  .listing-item {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 13px 2px;
  }

  .listing-item-name {
    grid-column: 1 / -1;
  }

  .listing-item-reason {
    grid-column: 1;
  }

  .listing-run {
    grid-template-columns: 8px minmax(0, 1fr) auto;
  }

  .listing-run > span:nth-child(3) {
    grid-area: 2 / 2 / auto / -1;
  }

  .listing-run time {
    grid-area: 1 / 3;
  }

  .content-footer {
    margin-top: 23px;
  }
}

@media (max-width: 430px) {
  .sidebar {
    padding: 7px 12px;
  }

  .sidebar-brand strong {
    font-size: 13px;
  }

  .side-nav button {
    width: 42px;
  }

  .topbar {
    margin: 0 16px;
  }

  .workspace-trigger {
    gap: 6px;
    padding: 0 8px;
  }

  .workspace-mark, .workspace-trigger-copy small {
    display: none;
  }

  .content-inner {
    padding: 17px 16px;
  }

  .heading-actions {
    flex-direction: column;
    align-items: start;
  }

  .last-refresh {
    gap: 8px;
    display: flex;
  }

  .last-refresh small {
    align-self: center;
  }

  .task-card-head {
    flex-wrap: wrap;
  }

  .task-title {
    flex-basis: calc(100% - 50px);
  }

  .task-status {
    margin-left: 45px;
  }

  .full-section {
    padding: 14px;
  }

  .heading-actions {
    width: 100%;
  }

  .heading-actions .secondary-button {
    min-height: 44px;
  }

  .dialog-head {
    padding: 16px 18px;
  }

  .dialog-form {
    padding: 18px;
  }

  .batch-detail-head h2 {
    font-size: 18px;
  }

  .batch-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .batch-metrics > div:nth-child(2) {
    border-right: 0;
  }

  .batch-metrics > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .batch-status {
    text-align: center;
    max-width: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spinning {
    animation: none;
  }

  .store-expand svg {
    transition: none;
  }
}

.side-nav button {
  align-content: center;
  gap: 5px;
}

.nav-caption {
  white-space: nowrap;
  font-size: 11px;
}

@media (max-width: 600px) {
  .nav-caption {
    font-size: 10px;
  }
}

:root {
  --ink: #172133;
  --muted: #647087;
  --soft: #718098;
  --line: #e2e7ee;
  --wash: #f7f9fc;
  --accent: #1962bc;
  --accent-hover: #144f9b;
}

.app-shell {
  grid-template-columns: 216px minmax(0, 1fr);
}

.sidebar {
  color: var(--ink);
  border-right: 1px solid var(--line);
  background: #f3f5f8;
  align-items: stretch;
  padding: 22px 14px;
}

.sidebar-brand {
  flex-direction: row;
  gap: 12px;
  margin-bottom: 22px;
  padding: 0 10px;
}

.sidebar-brand strong {
  font-size: 22px;
}

.sidebar .workspace-trigger {
  width: 100%;
  max-width: none;
  height: 44px;
}

.sidebar .workspace-trigger-copy small {
  display: none;
}

.sidebar .workspace-mark {
  color: var(--ink);
  background: none;
}

.sidebar .workspace-options {
  width: 260px;
}

.side-nav {
  gap: 8px;
  margin-top: 24px;
}

.side-nav button {
  color: #48546a;
  border-radius: 5px;
  justify-content: flex-start;
  gap: 13px;
  width: 100%;
  height: 44px;
  padding: 0 12px;
  display: flex;
}

.side-nav button:hover {
  color: var(--accent);
  background: #e9eef6;
}

.side-nav button.active {
  color: #165cad;
  background: #dfebfa;
  box-shadow: inset 3px 0 #1962bc;
}

.side-nav button b {
  color: #1b559a;
  background: #cbdff7;
  top: 13px;
  right: 9px;
}

.nav-caption {
  font-size: 14px;
}

.sidebar-bottom {
  border-color: var(--line);
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
}

.rail-avatar {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.rail-user {
  overflow-wrap: anywhere;
  font-size: 12px;
}

.rail-user small {
  color: var(--muted);
  margin-top: 4px;
  display: block;
}

.topbar {
  height: 61px;
  margin: 0 28px;
}

.product-label {
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 400;
  display: flex;
}

.topbar-divider, .timezone-label {
  display: none;
}

.content-inner {
  max-width: 1600px;
  padding: 22px 28px;
}

.page-heading {
  min-height: 54px;
  margin-bottom: 22px;
  padding: 0;
}

.heading-title {
  padding: 0;
}

.heading-title > svg {
  display: none;
}

.heading-title h1 {
  letter-spacing: -.6px;
  font-size: 27px;
}

.heading-title p {
  color: var(--muted);
  margin-top: 7px;
  font-size: 13px;
}

.heading-actions {
  gap: 12px;
}

.secondary-button {
  color: var(--accent);
  border-color: #d0d9e5;
  font-weight: 600;
}

.secondary-button:hover:not(:disabled) {
  background: #f3f7fc;
}

.text-button {
  color: var(--accent);
}

.primary-button, .secondary-button, .text-button {
  text-decoration: none;
}

.primary-button {
  border-radius: 5px;
  font-weight: 600;
}

.hub-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(165px, .95fr);
  align-items: center;
  gap: 16px;
  display: grid;
}

.hub-stat {
  text-align: left;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
  border-radius: 6px;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  font-size: 13px;
  display: flex;
}

.hub-stat > svg {
  box-sizing: content-box;
  color: var(--accent);
  background: #edf4fc;
  border-radius: 7px;
  padding: 12px;
}

.hub-stat strong {
  color: var(--ink);
  margin: 3px 0;
  font-size: 29px;
  line-height: 1.25;
  display: block;
}

.hub-stat small {
  font-size: 12px;
  display: block;
}

.hub-stat:hover {
  border-color: #b5c9e4;
}

.hub-primary {
  height: 64px;
  margin-left: 6px;
  font-size: 16px;
}

.connection-banner {
  color: #8e541c;
  text-align: left;
  background: #fff9f0;
  border: 1px solid #f5dfbc;
  border-radius: 5px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 16px 0 20px;
  padding: 13px 16px;
  font-size: 13px;
  display: flex;
}

.connection-banner > span {
  flex: 1;
}

.connection-banner strong {
  color: var(--accent);
  margin-left: 14px;
  font-weight: 600;
}

.hub-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: stretch;
  gap: 18px;
  display: grid;
}

.hub-main {
  align-content: start;
  gap: 18px;
  min-width: 0;
  display: grid;
}

.hub-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  min-width: 0;
  overflow: hidden;
}

.hub-panel-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 19px 20px 14px;
  display: flex;
}

.hub-panel h2 {
  letter-spacing: -.4px;
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
}

.hub-panel-heading p {
  color: var(--muted);
  margin: 3px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.hub-panel-heading .text-button {
  white-space: nowrap;
  padding-top: 5px;
  font-size: 12px;
}

.hub-tabs {
  border-bottom: 1px solid var(--line);
  gap: 20px;
  padding: 0 20px;
  display: flex;
}

.hub-tabs button {
  color: var(--muted);
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  padding: 14px 0 11px;
  font-size: 13px;
}

.hub-tabs button[aria-pressed="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
  font-weight: 650;
}

.hub-tabs span {
  background: #edf3fb;
  border-radius: 3px;
  padding: 1px 4px;
}

.inbox-columns, .inbox-row {
  grid-template-columns: minmax(160px, 1fr) 70px 96px 67px;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  display: grid;
}

.inbox-columns, .hub-stores-head, .ecosystem-table-head {
  color: var(--muted);
  background: #f6f8fb;
  font-size: 12px;
}

.inbox-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  color: var(--muted);
  text-align: left;
  background: #fff;
  min-height: 91px;
  font-size: 12px;
}

.inbox-row.selected, .ecosystem-row.selected {
  background: #eaf3ff;
}

.inbox-row:hover, .ecosystem-row:hover {
  background: #f0f6fd;
}

.inbox-row strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  display: block;
}

.inbox-row small {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 3px;
  line-height: 1.5;
  display: -webkit-box;
  overflow: hidden;
}

.hub-pill {
  color: #526077;
  background: #f0f3f7;
  border-radius: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  font-size: 12px;
  display: inline-block;
}

.inbox-row .hub-pill {
  color: #9a5f22;
  background: #fff0d9;
}

.hub-stores-head, .hub-store {
  grid-template-columns: minmax(150px, 1.15fr) minmax(88px, .7fr) minmax(100px, .8fr) 48px;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  display: grid;
}

.hub-store {
  border-bottom: 1px solid var(--line);
  min-height: 80px;
  font-size: 13px;
}

.hub-store:last-child {
  border-bottom: 0;
}

.hub-store small {
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
  display: block;
}

.hub-store-name {
  align-items: center;
  gap: 12px;
  display: flex;
}

.hub-brand {
  object-fit: contain;
  flex-shrink: 0;
}

.hub-store-name strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.hub-empty {
  color: var(--muted);
  text-align: center;
  justify-items: center;
  gap: 12px;
  padding: 35px 20px;
  font-size: 13px;
  display: grid;
}

.handoff-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 20px 20px;
  display: grid;
}

.handoff-row button {
  color: var(--ink);
  border: 0;
  border-right: 1px solid var(--line);
  text-align: left;
  background: none;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 8px;
  display: flex;
}

.handoff-row button:last-child {
  border-right: 0;
}

.handoff-row strong {
  font-size: 12px;
  display: block;
}

.handoff-row small {
  color: var(--muted);
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.5;
  display: block;
}

.handoff-row svg {
  flex-shrink: 0;
}

.task-inspector {
  padding: 20px;
}

.inspector-tags {
  gap: 12px;
  margin-bottom: 18px;
  display: flex;
}

.task-inspector h2 {
  margin-bottom: 16px;
  font-size: 19px;
}

.inspector-source {
  color: var(--muted);
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  font-size: 13px;
  display: flex;
}

.inspector-source .hub-brand {
  width: 24px;
  height: 24px;
}

.inspector-section {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 20px;
}

.inspector-section h3 {
  margin: 0 0 12px;
  font-size: 14px;
}

.inspector-section p, .ecosystem-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.inspector-section .primary-button {
  width: 100%;
  margin: 8px 0 0;
}

.ecosystem-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 20px;
  display: grid;
}

.ecosystem-table-head, .ecosystem-row {
  grid-template-columns: 105px minmax(140px, 1fr) 110px 16px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  display: grid;
}

.ecosystem-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  width: 100%;
  color: var(--muted);
  background: #fff;
  font-size: 13px;
}

.ecosystem-row strong {
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 13px;
}

.ecosystem-description {
  margin-top: 20px;
}

.connection-facts {
  margin: 24px 0;
  font-size: 13px;
}

.connection-facts div {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  display: flex;
}

.connection-facts dt {
  color: var(--muted);
}

.connection-facts dd {
  margin: 0;
}

.ecosystem-layout .task-inspector > button {
  width: 100%;
  margin: 7px 0;
}

.run-source {
  color: var(--muted);
  margin: 5px 0;
  font-size: 11px;
  display: inline-block;
}

.listing-flow {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  gap: 18px;
  margin: 8px 0 26px;
  padding: 20px 0;
  display: flex;
}

.listing-flow > span {
  color: #53677e;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  display: flex;
}

.listing-flow svg {
  flex-shrink: 0;
}

.listing-empty-copy {
  text-align: center;
  justify-items: center;
  gap: 12px;
  padding: 36px 16px;
  display: grid;
}

.listing-empty-copy > svg {
  color: #8b9aad;
}

.listing-empty-copy h2 {
  margin: 0;
  font-size: 20px;
}

.listing-empty-copy p {
  color: var(--muted);
  font-size: 14px;
}

.listing-readiness {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.listing-readiness summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
}

.listing-readiness .setup-checks {
  margin-top: 20px;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }

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

  .task-inspector {
    min-height: 0;
  }

  .hub-summary {
    gap: 10px;
  }

  .hub-stat {
    gap: 9px;
    padding: 12px;
  }

  .hub-stat > svg {
    padding: 7px;
  }
}

@media (max-width: 900px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    height: auto;
    padding: 12px 16px;
    display: grid;
    position: relative;
  }

  .sidebar-brand {
    margin: 0;
    padding: 0;
  }

  .sidebar-brand strong {
    font-size: 20px;
  }

  .sidebar .workspace-switcher {
    justify-self: end;
    width: 200px;
  }

  .sidebar .workspace-options {
    left: auto;
    right: 0;
  }

  .side-nav {
    grid-column: 1 / -1;
    gap: 4px;
    width: 100%;
    margin: 0;
    display: flex;
  }

  .side-nav button {
    flex: 1;
    justify-content: center;
    gap: 8px;
    padding: 0 6px;
  }

  .side-nav button b, .sidebar-bottom {
    display: none;
  }

  .topbar {
    margin: 0 18px;
  }

  .content-inner {
    padding: 20px 18px;
  }

  .listing-flow {
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .nav-caption {
    font-size: 11px;
  }

  .side-nav button {
    flex-direction: column;
    gap: 4px;
    height: 54px;
  }

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

  .topbar {
    height: 48px;
  }

  .topbar-account {
    gap: 5px;
  }

  .topbar-avatar, .account-name {
    display: none;
  }

  .heading-title h1 {
    font-size: 24px;
  }

  .page-heading {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    min-height: 0;
  }

  .hub-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hub-stat {
    min-height: 100px;
    padding: 11px 8px;
    font-size: 11px;
  }

  .hub-stat > svg, .hub-stat small {
    display: none;
  }

  .hub-stat strong {
    margin-top: 10px;
    font-size: 26px;
  }

  .hub-primary {
    grid-column: 1 / -1;
    height: 42px;
    margin: 0;
    font-size: 14px;
  }

  .connection-banner {
    font-size: 12px;
  }

  .connection-banner strong {
    margin: 4px 0 0;
    display: block;
  }

  .hub-panel-heading {
    padding: 16px;
  }

  .hub-panel h2 {
    font-size: 19px;
  }

  .hub-panel-heading p {
    font-size: 12px;
  }

  .inbox-columns, .hub-stores-head, .ecosystem-table-head {
    display: none;
  }

  .inbox-row {
    grid-template-columns: 1fr auto;
    padding: 16px;
  }

  .inbox-row > span:first-child {
    grid-column: 1 / -1;
  }

  .inbox-row > time {
    font-size: 11px;
  }

  .hub-store {
    grid-template-columns: 1fr auto;
    padding: 16px;
  }

  .hub-store-name {
    grid-column: 1 / -1;
  }

  .hub-store > span:nth-child(3) {
    grid-area: 3 / 1;
  }

  .hub-store > button {
    grid-area: 3 / 2;
  }

  .handoff-row {
    grid-template-columns: 1fr;
    padding: 0 16px 16px;
  }

  .handoff-row button {
    border-right: 0;
    padding: 10px 0;
  }

  .ecosystem-row {
    grid-template-columns: 1fr auto 16px;
    gap: 8px;
    padding: 16px;
  }

  .ecosystem-row > span:first-child {
    grid-column: 1 / -1;
    font-size: 11px;
  }

  .ecosystem-row strong {
    font-size: 13px;
  }

  .listing-flow {
    gap: 14px;
    margin-bottom: 12px;
    padding: 12px 0;
  }

  .listing-flow > span {
    gap: 6px;
    font-size: 12px;
  }

  .listing-flow > span > svg:first-child {
    display: none;
  }
}

@media (min-width: 901px) {
  .main-content {
    position: relative;
  }

  .topbar {
    border-bottom: 0;
    height: 46px;
    position: absolute;
    top: 7px;
    right: 0;
  }

  .topbar-context {
    display: none;
  }

  .page-heading {
    padding-right: 265px;
  }

  .page-heading:has(.refresh-button) {
    padding-top: 48px;
    padding-right: 0;
  }
}

.inbox-row {
  font-size: 13px;
}

.inbox-row strong {
  font-size: 14px;
}

.inbox-row small {
  font-size: 12px;
}

.inspector-section p, .hub-store-name strong {
  font-size: 14px;
}

.listing-start {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  display: grid;
}

.listing-empty-copy {
  border: 1px solid var(--line);
  border-radius: 6px;
  align-content: center;
  min-height: 310px;
}

.listing-connection-inspector {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
}

.listing-connection-inspector label {
  color: var(--muted);
  gap: 10px;
  font-size: 13px;
  display: grid;
}

.listing-connection-inspector select {
  border: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
  padding: 10px;
}

.listing-connection-inspector p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.listing-connection-inspector button {
  width: 100%;
}

@media (max-width: 1050px) {
  .listing-start {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .listing-empty-copy {
    min-height: 220px;
  }
}

.business-home-links {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
  display: grid;
}

.business-home-links button {
  text-align: left;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 6px;
  grid-template-columns: 1fr auto;
  gap: 9px;
  padding: 18px;
  display: grid;
}

.business-home-links button span {
  color: var(--muted);
  grid-row: 2;
  font-size: 13px;
}

.business-home-links button svg {
  color: var(--accent);
  grid-area: 1 / 2 / 3;
  align-self: center;
}

.business-intro {
  color: var(--muted);
  line-height: 1.8;
}

.business-steps {
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 0;
  font-size: 13px;
  display: flex;
}

.business-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 20px 0;
  display: flex;
}

.business-toolbar .hub-tabs {
  border: 0;
  padding: 0;
}

.business-grid {
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 20px;
  display: grid;
}

.business-empty {
  justify-items: start;
  gap: 12px;
  padding: 32px;
  display: grid;
}

.business-empty h2, .business-empty p {
  margin: 0;
}

.business-empty p {
  color: var(--muted);
  line-height: 1.8;
}

.business-row {
  border: 0;
  border-top: 1px solid var(--line);
  width: 100%;
  color: var(--ink);
  text-align: left;
  overflow-wrap: anywhere;
  background: #fff;
  gap: 9px;
  padding: 20px;
  display: grid;
}

.business-row.selected {
  box-shadow: inset 3px 0 var(--accent);
  background: #f0f6ff;
}

.business-row > span, .business-row small {
  color: var(--muted);
  font-size: 12px;
}

.business-row .hub-pill {
  justify-self: start;
}

.business-detail {
  overflow-wrap: anywhere;
  padding: 24px;
}

.business-detail > h2 {
  margin: 0 0 12px;
}

.business-detail > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.business-detail-anchor {
  min-width: 0;
  scroll-margin-top: 16px;
}

.business-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0;
  display: grid;
}

.business-facts dt {
  color: var(--muted);
  font-size: 12px;
}

.business-facts dd {
  margin: 7px 0 0;
  font-weight: 600;
}

.business-field {
  gap: 9px;
  margin: 18px 0;
  font-size: 14px;
  display: grid;
}

.business-field select, .business-field textarea {
  border: 1px solid var(--line);
  width: 100%;
  min-width: 0;
  color: var(--ink);
  font: inherit;
  background: #fff;
  border-radius: 5px;
  padding: 12px;
  line-height: 1.7;
}

.business-field textarea {
  resize: vertical;
}

.business-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
  display: flex;
}

.business-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.business-excerpt {
  white-space: pre-wrap;
}

.business-workspace button:focus-visible, .business-home-links button:focus-visible, .business-field :focus-visible {
  outline-offset: 3px;
  outline: 3px solid #77a6e0;
}

.marketing-workspace {
  color: #19283a;
  gap: 20px;
  display: grid;
}

.marketing-hero {
  color: #fff;
  background: linear-gradient(120deg, #102d50, #154b83 72%, #2367a6);
  border-radius: 10px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  padding: 34px 38px;
  display: grid;
  overflow: hidden;
}

.marketing-eyebrow, .marketing-kicker {
  color: #547091;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
}

.marketing-hero .marketing-eyebrow {
  color: #a8d6ff;
  letter-spacing: 1px;
}

.marketing-hero h2 {
  letter-spacing: -.8px;
  max-width: 630px;
  margin: 13px 0 10px;
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.25;
}

.marketing-hero p {
  color: #d2e6fa;
  max-width: 600px;
  margin: 0 0 21px;
  font-size: 14px;
  line-height: 1.7;
}

.marketing-hero .primary-button {
  color: #154779;
  background: #fff;
  border-color: #fff;
}

.marketing-hero .primary-button:hover:not(:disabled) {
  background: #eaf5ff;
}

.marketing-hero-flow {
  align-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.marketing-hero-flow li {
  border-bottom: 1px solid #ffffff35;
  grid-template-columns: 38px 1fr;
  column-gap: 13px;
  padding: 11px 0;
  display: grid;
}

.marketing-hero-flow li:last-child {
  border-bottom: 0;
}

.marketing-hero-flow li span {
  color: #c7e4ff;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  grid-row: 1 / 3;
  place-items: center;
  width: 35px;
  height: 35px;
  font-size: 11px;
  display: grid;
}

.marketing-hero-flow li strong {
  font-size: 14px;
  font-weight: 650;
}

.marketing-hero-flow li small {
  color: #b8d5ef;
  font-size: 12px;
}

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

.marketing-stats > div {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  gap: 3px;
  padding: 18px 22px;
  display: grid;
}

.marketing-stats span {
  color: #5b6d80;
  font-size: 12px;
}

.marketing-stats strong {
  color: #152b47;
  font-size: 28px;
  line-height: 1.3;
}

.marketing-stats small {
  color: #7d8da0;
  font-size: 11px;
}

.marketing-layout {
  grid-template-columns: minmax(0, 1fr) 294px;
  align-items: start;
  gap: 18px;
  display: grid;
}

.marketing-main, .marketing-side {
  gap: 18px;
  min-width: 0;
  display: grid;
}

.marketing-card {
  background: #fff;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  min-width: 0;
  overflow: hidden;
}

.marketing-card-heading {
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 23px 25px 20px;
  display: flex;
}

.marketing-card-heading h2, .marketing-side h2 {
  color: #182e4a;
  letter-spacing: -.35px;
  margin: 5px 0 3px;
  font-size: 20px;
}

.marketing-card-heading p {
  color: #718195;
  margin: 0;
  font-size: 12px;
}

.marketing-tabs {
  border-bottom: 1px solid #e3eaf1;
  gap: 25px;
  padding: 0 25px;
  display: flex;
  overflow-x: auto;
}

.marketing-tabs button {
  color: #64758a;
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  flex: none;
  padding: 13px 0 11px;
  font-size: 12px;
}

.marketing-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.marketing-list-head, .marketing-row {
  grid-template-columns: minmax(190px, 1.5fr) minmax(72px, .6fr) minmax(112px, .8fr) 86px 16px;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  display: grid;
}

.marketing-list-head {
  color: #748499;
  background: #f5f8fc;
  font-size: 11px;
}

.marketing-row {
  color: #586b80;
  text-align: left;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #ebeff4;
  width: 100%;
  min-height: 69px;
  font-size: 12px;
}

.marketing-row:last-child {
  border-bottom: 0;
}

.marketing-row:hover, .marketing-row.is-selected {
  background: #f0f6fd;
}

.marketing-row.is-selected {
  box-shadow: inset 3px 0 #2769af;
}

.marketing-row strong, .marketing-row small {
  overflow-wrap: anywhere;
  display: block;
}

.marketing-row strong {
  color: #1c3350;
  font-size: 13px;
}

.marketing-row small {
  color: #8290a0;
  margin-top: 4px;
  font-size: 11px;
}

.marketing-status {
  color: #23609e;
  white-space: nowrap;
  background: #edf4fc;
  border-radius: 4px;
  justify-self: start;
  padding: 5px 9px;
  font-size: 11px;
  display: inline-block;
}

.marketing-status.is-done {
  color: #207447;
  background: #e6f5eb;
}

.marketing-status.is-error {
  color: #a13f31;
  background: #fff0ed;
}

.marketing-empty {
  background: radial-gradient(circle at 16% 54%, #e8f2fe, #fff 30%);
  align-items: center;
  gap: 28px;
  min-height: 250px;
  padding: 27px 38px 36px;
  display: flex;
}

.marketing-empty-icon {
  color: #276cb0;
  background: #fff;
  border: 1px solid #cadef3;
  border-radius: 24px;
  flex: none;
  place-items: center;
  width: 86px;
  height: 86px;
  display: grid;
  box-shadow: 0 10px 26px #b8d5f440;
}

.marketing-empty h3 {
  color: #19314f;
  margin: 8px 0 6px;
  font-size: 21px;
}

.marketing-empty p {
  color: #61758b;
  max-width: 400px;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
}

.marketing-side .marketing-card {
  padding: 23px;
}

.marketing-side h2 {
  margin: 8px 0 16px;
  font-size: 17px;
}

.marketing-progress ul {
  gap: 0;
  margin: 0 0 17px;
  padding: 0;
  list-style: none;
  display: grid;
}

.marketing-progress li {
  border-bottom: 1px solid #e8eef4;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 8px;
  padding: 10px 0;
  font-size: 12px;
  display: grid;
}

.marketing-progress li strong {
  color: #263c56;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.marketing-progress li span {
  color: #2869a9;
}

.marketing-progress li small {
  color: #8191a4;
}

.marketing-side p {
  color: #718195;
  margin: 14px 0 15px;
  font-size: 12px;
  line-height: 1.75;
}

.marketing-side .text-button {
  padding: 0;
  font-size: 12px;
}

.marketing-steps ol {
  gap: 17px;
  margin: 19px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
}

.marketing-steps li {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.marketing-steps li b {
  color: #2268a7;
  background: #e7f1fb;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 11px;
  display: grid;
}

.marketing-steps li strong {
  color: #263c56;
  font-size: 12px;
  display: block;
}

.marketing-steps li p {
  margin: 4px 0 0;
  font-size: 11px;
}

.marketing-notice {
  color: #23734a;
  background: #ecf8f1;
  border: 1px solid #bcdcca;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
}

.marketing-notice.is-error {
  color: #a14334;
  background: #fff3f1;
  border-color: #e9c1ba;
}

.marketing-editor {
  padding-bottom: 21px;
}

.marketing-form {
  gap: 16px;
  padding: 0 25px;
  display: grid;
}

.marketing-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 20px;
  display: grid;
}

.marketing-form label {
  color: #3e536d;
  gap: 7px;
  min-width: 0;
  font-size: 12px;
  font-weight: 650;
  display: grid;
}

.marketing-form input, .marketing-form select, .marketing-form textarea {
  color: #203550;
  background: #fff;
  border: 1px solid #ccd8e5;
  border-radius: 5px;
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 400;
}

.marketing-form textarea {
  resize: vertical;
}

.marketing-form-foot {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 6px;
  display: flex;
}

.marketing-form-foot span, .marketing-data-note {
  color: #7a899b;
  font-size: 11px;
  line-height: 1.6;
}

.marketing-data-note {
  padding: 0 25px;
}

.marketing-detail {
  padding-bottom: 23px;
}

.marketing-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  padding: 0 25px 22px;
  display: grid;
}

.marketing-detail-grid > div {
  gap: 4px;
  display: grid;
}

.marketing-detail-grid span {
  color: #7b8b9e;
  font-size: 11px;
}

.marketing-detail-grid strong {
  color: #293d56;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 600;
}

.marketing-detail-actions {
  border-top: 1px solid #e8eef4;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 17px 25px;
  display: flex;
}

.marketing-detail-actions > span {
  color: #62768c;
  align-items: center;
  gap: 6px;
  margin-right: auto;
  font-size: 12px;
  display: flex;
}

.marketing-link {
  color: var(--accent);
  align-items: center;
  gap: 5px;
  padding: 0 25px;
  font-size: 12px;
  display: inline-flex;
}

.marketing-result {
  background: #f6faff;
  border: 1px solid #d4e5f5;
  border-radius: 6px;
  gap: 10px;
  margin: 10px 25px 0;
  padding: 17px;
  display: grid;
}

.marketing-result > div {
  gap: 4px;
  display: grid;
}

.marketing-result strong {
  font-size: 15px;
}

.marketing-result small, .marketing-result p {
  color: #6c7e91;
  margin: 0;
  font-size: 11px;
}

.marketing-result a {
  color: var(--accent);
  align-items: center;
  gap: 5px;
  font-size: 12px;
  display: inline-flex;
}

.marketing-result .marketing-package {
  background: #fff;
  border: 1px solid #dce7f0;
  border-radius: 8px;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: 0;
  margin-top: 10px;
  display: grid;
  overflow: hidden;
}

.marketing-result .marketing-package-media {
  background: #f5f8fc;
  align-content: start;
  gap: 8px;
  padding: 14px;
  display: grid;
}

.marketing-package-media img {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e4ebf3;
  border-radius: 5px;
  width: 100%;
}

.marketing-package-media > span {
  aspect-ratio: 4 / 5;
  color: #7890a6;
  border: 1px dashed #bdccdb;
  place-items: center;
  display: grid;
}

.marketing-result .marketing-package-media small {
  color: #775f3f;
  line-height: 1.5;
}

.marketing-result .marketing-package-copy {
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 22px;
  display: grid;
}

.marketing-package-copy h3 {
  color: #172e49;
  margin: 0;
  font-size: 21px;
  line-height: 1.3;
}

.marketing-result .marketing-package-body {
  color: #2c4059;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.7;
}

.marketing-package-brief {
  background: #f4f8fc;
  border-left: 3px solid #2d72b5;
  padding: 12px 14px;
}

.marketing-package-brief strong {
  color: #274a70;
  font-size: 12px;
}

.marketing-result .marketing-package-brief p, .marketing-result .marketing-package-note {
  color: #687d91;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
}

.marketing-result .marketing-package-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 2px;
  display: flex;
}

.marketing-package-actions > span {
  color: #247449;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: inline-flex;
}

.marketing-package-actions .text-button {
  font-size: 12px;
}

.marketing-list-empty {
  color: #718195;
  align-items: center;
  gap: 10px;
  padding: 35px 25px;
  font-size: 12px;
  display: flex;
}

@media (max-width: 1100px) {
  .marketing-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .marketing-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .marketing-hero {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .marketing-hero-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .marketing-hero-flow li {
    border: 0;
    display: block;
  }

  .marketing-hero-flow li span {
    margin-bottom: 7px;
  }

  .marketing-hero-flow li strong {
    font-size: 12px;
    display: block;
  }

  .marketing-hero-flow li small {
    display: none;
  }

  .marketing-stats {
    gap: 8px;
  }

  .marketing-stats > div {
    padding: 13px;
  }

  .marketing-stats strong {
    font-size: 23px;
  }

  .marketing-side {
    grid-template-columns: 1fr;
  }

  .marketing-list-head {
    display: none;
  }

  .marketing-row {
    grid-template-columns: 1fr auto;
  }

  .marketing-row > span:nth-child(2), .marketing-row time, .marketing-row > svg {
    display: none;
  }

  .marketing-form-grid, .marketing-detail-grid {
    grid-template-columns: 1fr;
  }

  .marketing-form-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .marketing-empty {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px;
  }

  .marketing-result {
    margin-inline: 12px;
    padding: 12px;
  }

  .marketing-result .marketing-package {
    grid-template-columns: 1fr;
  }

  .marketing-result .marketing-package-media {
    grid-template-columns: minmax(0, 120px) minmax(0, 1fr);
    align-items: end;
  }

  .marketing-result .marketing-package-copy {
    padding: 16px;
  }

  .marketing-package-copy h3 {
    font-size: 18px;
  }
}

@media (max-width: 900px) {
  .side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
  }
}

@media (max-width: 720px) {
  .business-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .business-home-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .business-detail, .business-empty {
    padding: 20px;
  }
}

.managed-operations {
  margin-bottom: 28px;
}

.managed-cards {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: 16px;
  display: grid;
}

.managed-card {
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 22px;
  display: flex;
}

.managed-card p, .managed-boundary p {
  color: #666;
  margin: 0;
  line-height: 1.7;
}

.managed-card-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.managed-card-heading h3 {
  margin: 0;
}

.managed-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  display: flex;
}

.managed-boundary {
  padding: 18px 0;
}

.managed-admin {
  margin: 20px 0;
}

.managed-admin summary {
  cursor: pointer;
}

.shopify-setup-banner {
  background: #f4f8fd;
  border: 1px solid #bfd5ee;
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px;
  display: flex;
}

.shopify-setup {
  margin-bottom: 24px;
  padding: 24px;
}

.shopify-setup-steps {
  gap: 20px;
  padding-left: 24px;
  display: grid;
}

.shopify-setup p {
  line-height: 1.7;
}

.shopify-setup-values {
  gap: 12px;
  margin-bottom: 16px;
  display: grid;
}

.shopify-setup-values > div {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.shopify-setup-values code {
  overflow-wrap: anywhere;
  min-width: 0;
}

.shopify-setup .dialog-form {
  max-width: 600px;
}

.mail-content .page-heading {
  margin-bottom: 12px;
}

.mail-workspace {
  min-width: 0;
}

.mail-toolbar {
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  display: flex;
}

.mail-address {
  overflow-wrap: anywhere;
  background: #edf3fb;
  border-radius: 22px;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  font-size: 13px;
  display: inline-flex;
}

.mail-address svg {
  color: var(--accent);
  flex-shrink: 0;
}

.mail-search {
  color: var(--muted);
  border: 1px solid #d0d9e5;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  width: min(320px, 40%);
  margin-left: auto;
  padding: 9px 12px;
  display: flex;
}

.mail-search input {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: none;
  border: 0;
  font-size: 14px;
}

.mail-icon-button {
  width: 39px;
  height: 39px;
  color: var(--muted);
  background: #fff;
  border: 1px solid #d0d9e5;
  border-radius: 6px;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.mail-icon-button[aria-expanded="true"] {
  color: var(--accent);
  background: #edf3fb;
}

.mail-tabs {
  border-bottom: 1px solid var(--line);
  gap: 26px;
  display: flex;
}

.mail-tabs button {
  color: var(--muted);
  white-space: nowrap;
  background: none;
  border: 0;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 7px;
  padding: 14px 0;
  font-size: 14px;
  display: inline-flex;
}

.mail-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--accent);
  color: var(--accent);
  font-weight: 650;
}

.mail-tabs button span {
  background: #eef2f7;
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 12px;
}

.mail-tabs button[aria-pressed="true"] span {
  background: #e1edff;
}

.mail-filters {
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  font-size: 13px;
  display: flex;
}

.mail-filters label {
  align-items: center;
  gap: 8px;
  display: flex;
}

.mail-layout {
  grid-template-columns: minmax(290px, .38fr) minmax(0, .62fr);
  min-height: 690px;
  display: grid;
}

.mail-list {
  border-right: 1px solid var(--line);
  scrollbar-width: thin;
  min-width: 0;
  min-height: 440px;
  max-height: calc(100dvh - 215px);
  padding: 10px 8px 0 0;
  overflow-y: auto;
}

.mail-row {
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--line);
  width: 100%;
  min-height: 108px;
  color: var(--ink);
  background: #fff;
  border-left: 3px solid #0000;
  align-items: flex-start;
  gap: 17px;
  padding: 20px 16px;
  display: flex;
}

.mail-row > svg {
  color: #6a7f9c;
  flex-shrink: 0;
  margin-top: 12px;
}

.mail-row:hover {
  background: #f7f9fc;
}

.mail-row.selected {
  border-left-color: var(--accent);
  background: #edf4ff;
}

.mail-row.selected > svg {
  color: var(--accent);
}

.mail-row-content {
  flex: 1;
  gap: 8px;
  min-width: 0;
  display: grid;
}

.mail-row-meta {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  display: flex;
}

.mail-row-meta time {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mail-row-content strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 650;
  overflow: hidden;
}

.mail-preview {
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.6;
  overflow: hidden;
}

.mail-reader-wrap {
  min-width: 0;
}

.mail-reader {
  overflow-wrap: anywhere;
  padding: 26px 0 28px 28px;
}

.mail-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  display: flex;
}

.mail-actions .primary-button, .mail-actions .secondary-button {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 13px;
  text-decoration: none;
}

.mail-actions .text-button {
  font-size: 12px;
}

.mail-reader h2 {
  letter-spacing: -.025em;
  margin: 0 0 24px;
  font-size: 26px;
  line-height: 1.5;
}

.mail-envelope {
  align-items: center;
  gap: 14px;
  display: flex;
}

.mail-envelope-icon {
  width: 46px;
  height: 46px;
  color: var(--accent);
  background: #e7f0ff;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.mail-envelope > div {
  gap: 7px;
  min-width: 0;
  display: grid;
}

.mail-envelope > div > span {
  color: var(--muted);
  font-size: 12px;
}

.mail-envelope > time {
  color: var(--muted);
  white-space: nowrap;
  margin-left: auto;
  font-size: 12px;
}

.mail-metadata {
  border-bottom: 1px solid var(--line);
  padding: 12px 0 20px;
}

.mail-metadata summary {
  color: var(--accent);
  cursor: pointer;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  list-style: none;
  display: flex;
}

.mail-metadata .business-facts {
  margin-bottom: 0;
  font-size: 13px;
}

.mail-metadata summary::-webkit-details-marker {
  display: none;
}

.mail-draft summary::-webkit-details-marker {
  display: none;
}

.mail-body {
  white-space: pre-wrap;
  max-width: 760px;
  min-height: 335px;
  padding: 27px 0 40px;
  font-size: 20px;
  line-height: 1.6;
}

.mail-draft {
  border: 1px solid var(--line);
  background: #fbfcfe;
  border-radius: 7px;
}

.mail-draft summary {
  color: var(--muted);
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 17px;
  font-size: 13px;
  list-style: none;
  display: flex;
}

.mail-draft summary > svg:last-child {
  margin-left: auto;
}

.mail-draft[open] summary > svg:last-child, .mail-metadata[open] summary > svg {
  transform: rotate(180deg);
}

.mail-draft-content {
  border-top: 1px solid var(--line);
  padding: 0 18px 8px;
}

.mail-close-form {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 0 16px 16px;
}

.mail-close-form input {
  border: 1px solid var(--line);
  border-radius: 5px;
  width: 100%;
  min-width: 0;
  padding: 10px;
}

.mail-empty {
  text-align: center;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 54px 18px;
  display: flex;
}

.mail-empty h2 {
  color: var(--ink);
  margin: 0;
  font-size: 17px;
}

.mail-empty p {
  margin: 0;
  font-size: 13px;
}

.mail-back {
  display: none;
}

.mail-workspace :is(button, input, select, textarea, summary, a):focus-visible {
  outline-offset: 2px;
  outline: 3px solid #77a6e0;
}

@media (min-width: 1450px) {
  .mail-content {
    position: relative;
  }

  .mail-toolbar {
    min-height: 40px;
    margin-top: -52px;
    margin-bottom: 18px;
    padding: 0 280px 0 246px;
  }

  .mail-toolbar .mail-search {
    width: min(280px, 42%);
  }
}

@media (max-width: 1050px) and (min-width: 721px) {
  .mail-layout {
    grid-template-columns: minmax(250px, .4fr) minmax(0, .6fr);
  }

  .mail-reader {
    padding-left: 20px;
  }

  .mail-envelope {
    flex-wrap: wrap;
  }

  .mail-envelope > time {
    margin-left: 60px;
  }

  .mail-row {
    gap: 10px;
    padding: 18px 10px;
  }
}

@media (max-width: 720px) {
  .mail-toolbar {
    flex-wrap: wrap;
  }

  .mail-address {
    margin-bottom: 3px;
  }

  .mail-search {
    order: 2;
    width: 100%;
    margin-left: 0;
  }

  .mail-icon-button {
    margin-left: auto;
  }

  .mail-tabs {
    gap: 18px;
    overflow-x: auto;
  }

  .mail-tabs button {
    font-size: 13px;
  }

  .mail-layout {
    min-height: 400px;
    display: block;
  }

  .mail-list {
    border-right: 0;
    max-height: none;
    padding-right: 0;
  }

  .mail-reader-wrap, .mail-workspace.is-reading .mail-list {
    display: none;
  }

  .mail-workspace.is-reading .mail-reader-wrap {
    display: block;
  }

  .mail-back {
    margin-top: 18px;
    display: inline-flex;
  }

  .mail-reader {
    padding: 20px 0;
  }

  .mail-reader h2 {
    font-size: 21px;
  }

  .mail-envelope {
    flex-wrap: wrap;
  }

  .mail-envelope > time {
    margin-left: 60px;
  }

  .mail-reader-empty {
    display: none;
  }

  .mail-body {
    min-height: 240px;
  }
}

.mail-content .heading-title > svg {
  color: #294e7b;
  width: 28px;
  height: 28px;
  display: block;
}

.mail-content .heading-title h1 {
  font-size: 28px;
}

.mail-envelope strong {
  font-size: 16px;
}

.mail-envelope > div > span, .mail-envelope > time, .mail-metadata summary {
  font-size: 14px;
}

@media (max-width: 720px) {
  .mail-content .heading-title h1 {
    font-size: 24px;
  }

  .mail-reader h2 {
    font-size: 21px;
  }

  .mail-body {
    font-size: 16px;
  }

  .mail-envelope > div > span, .mail-envelope > time {
    font-size: 12px;
  }
}

.mail-unsaved {
  background: #fff8e8;
  border: 1px solid #e3ca94;
  border-radius: 6px;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0;
  padding: 12px 16px;
  font-size: 14px;
  display: flex;
}

.mail-unsaved + .mail-toolbar {
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 720px) {
  .mail-workspace.is-reading .mail-toolbar, .mail-workspace.is-reading .mail-tabs {
    display: none;
  }

  .mail-workspace.is-reading .mail-back {
    margin-top: 0;
  }
}

.mail-workspace, .shared-select {
  --mail-control-border: #d5deeb;
  --mail-control-radius: 8px;
  --mail-focus-ring: 0 0 0 3px #1962bc1a;
}

.mail-workspace :is(.primary-button, .secondary-button) {
  border-radius: var(--mail-control-radius);
  min-height: 40px;
  font-size: 13px;
  transition: background-color .15s, border-color .15s;
}

.mail-workspace .secondary-button {
  border-color: var(--mail-control-border);
  color: #344967;
  background: #fff;
}

.mail-workspace .secondary-button:hover:not(:disabled) {
  background: #f4f8fe;
  border-color: #9bb5d7;
}

.mail-workspace .business-field {
  color: #344967;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.mail-workspace .business-field > :is(textarea, input:not([type="checkbox"])) {
  border: 1px solid var(--mail-control-border);
  border-radius: var(--mail-control-radius);
  font: inherit;
  color: var(--ink);
  background: #fff;
  padding: 11px 13px;
  font-weight: 400;
  line-height: 1.7;
  transition: border-color .15s, box-shadow .15s;
}

.mail-workspace .business-field > :is(textarea, input):focus-visible {
  border-color: var(--accent);
  box-shadow: var(--mail-focus-ring);
  outline: none;
}

.mail-workspace .business-field > :is(textarea, input):disabled {
  color: #7c8798;
  cursor: not-allowed;
  background: #f1f4f8;
}

.mail-workspace .business-field > :is(textarea, input)::placeholder {
  color: #8795a9;
}

.mail-workspace .mail-search {
  border-radius: var(--mail-control-radius);
  border-color: var(--mail-control-border);
}

.mail-workspace .mail-search:focus-within {
  border-color: var(--accent);
  box-shadow: var(--mail-focus-ring);
}

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

.mail-category {
  max-width: 360px;
}

:is(.mail-category, .shared-select) .mail-select__control {
  border: 1px solid var(--mail-control-border);
  border-radius: var(--mail-control-radius);
  cursor: pointer;
  background: #fff;
  min-height: 44px;
  transition: border-color .15s, box-shadow .15s;
}

:is(.mail-category, .shared-select) .mail-select__control:hover {
  border-color: #9bb5d7;
}

:is(.mail-category, .shared-select) .mail-select__control--is-focused {
  border-color: var(--accent);
  box-shadow: var(--mail-focus-ring);
}

:is(.mail-category, .shared-select) .mail-select__control--menu-is-open {
  border-color: var(--accent);
}

:is(.mail-category, .shared-select) .mail-select__control--is-disabled {
  color: #7c8798;
  cursor: not-allowed;
  background: #f1f4f8;
}

:is(.mail-category, .shared-select) .mail-select__value-container {
  padding: 9px 13px;
}

:is(.mail-category, .shared-select) .mail-select__single-value {
  color: var(--ink);
  font-weight: 400;
}

:is(.mail-category, .shared-select) .mail-select__dropdown-indicator {
  color: #7d8ba1;
  padding: 10px 12px;
}

:is(.mail-category, .shared-select) .mail-select__dropdown-indicator svg {
  width: 17px;
  height: 17px;
}

:is(.mail-category, .shared-select) .mail-select__control--menu-is-open .mail-select__dropdown-indicator {
  color: var(--accent);
  transform: rotate(180deg);
}

:is(.mail-category, .shared-select) .mail-select__menu {
  z-index: 10;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 10px;
  margin: 6px 0;
  padding: 5px;
  box-shadow: 0 8px 28px #182f511a, 0 2px 6px #182f510a;
}

:is(.mail-category, .shared-select) .mail-select__menu-list {
  scrollbar-width: thin;
}

:is(.mail-category, .shared-select) .mail-select__option {
  color: #344967;
  cursor: pointer;
  border-radius: 5px;
  min-height: 38px;
  padding: 9px 11px;
  font-weight: 400;
}

:is(.mail-category, .shared-select) .mail-select__option--is-focused {
  background: #f1f5fb;
}

:is(.mail-category, .shared-select) .mail-select__option--is-selected {
  color: var(--accent);
  background: #eaf2ff;
  font-weight: 600;
}

.mail-select-label {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.mail-select-label svg {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  .mail-workspace *, .mail-workspace :before, .mail-workspace :after {
    transition: none !important;
  }
}

.store-pricing-form, .preparation-summary {
  gap: 12px;
  min-width: 0;
  display: grid;
}

.store-pricing-form {
  text-align: left;
  width: 100%;
  max-width: 460px;
}

.store-pricing-form h3, .store-pricing-form p, .preparation-summary p {
  margin: 0;
}

.store-pricing-form label {
  font-weight: 500;
}

.store-pricing-form input[type="number"] {
  border: 1px solid #ccd8e8;
  border-radius: 6px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
}

.store-pricing-form small, .preparation-summary small {
  color: #687a92;
  line-height: 1.6;
}

.market-select__menu {
  z-index: 20 !important;
}

.store-pricing-form .market-select__control {
  border-color: #ccd8e8;
  min-height: 40px;
}

.store-detail:has(.store-pricing-form) {
  flex-wrap: wrap;
}

.mail-tabs {
  gap: 20px;
  overflow-x: auto;
}

.mail-conversation h2 {
  margin-bottom: 8px;
  font-size: 23px;
}

.mail-correspondent {
  color: var(--ink);
  margin: 0 0 24px;
  font-size: 13px;
}

.mail-correspondent span {
  color: var(--muted);
}

.mail-state {
  color: #31547b;
  background: #edf3fb;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 650;
}

.state-review {
  color: #78520c;
  background: #fff3dd;
}

.state-waiting, .state-closed {
  color: #246049;
  background: #eaf5ef;
}

.mail-judgment {
  background: #f1f6fc;
  border: 1px solid #d9e5f4;
  border-radius: 8px;
  margin-bottom: 24px;
  padding: 16px;
  font-size: 13px;
}

.mail-judgment.needs-review {
  background: #fffaf0;
  border-color: #ebd6ab;
}

.mail-judgment-heading {
  align-items: center;
  gap: 8px;
  display: flex;
}

.mail-judgment-heading > span {
  margin-left: auto;
  font-size: 12px;
}

.mail-judgment p, .mail-judgment small {
  color: #52617a;
  line-height: 1.7;
}

.mail-judgment ul {
  padding-left: 22px;
  line-height: 1.8;
}

.mail-judgment small {
  display: block;
}

.mail-message {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 18px;
  font-size: 14px;
}

.mail-message.outbound {
  background: #f3f7fd;
  border-color: #d7e3f3;
  margin-left: 24px;
}

.mail-message header {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 12px;
  display: flex;
}

.mail-message time, .mail-message footer {
  color: var(--muted);
  font-size: 12px;
}

.mail-message > div {
  white-space: pre-wrap;
  line-height: 1.8;
}

.mail-message footer {
  margin-top: 16px;
  line-height: 1.7;
}

.mail-compose {
  border: 1px solid #bacde4;
  border-radius: 8px;
  padding: 18px;
}

.mail-compose-heading {
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  display: flex;
}

.mail-compose-heading span {
  color: var(--muted);
  font-size: 12px;
}

.mail-compose textarea {
  min-height: 180px;
  line-height: 1.75;
}

.mail-send-check {
  background: #f0f5fd;
  border-radius: 6px;
  margin-top: 18px;
  padding: 16px;
  font-size: 13px;
  line-height: 1.7;
}

.mail-send-check label {
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.mail-outcome {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 13px;
}

.mail-outcome summary {
  cursor: pointer;
}

.mail-outcome input {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 10px;
}

@media (max-width: 720px) {
  .mail-message.outbound {
    margin-left: 12px;
  }

  .mail-message, .mail-compose {
    padding: 14px;
  }
}

.campaign-toolbar, .campaign-detail-actions, .campaign-bulk, .campaign-pagination {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.campaign-toolbar > div {
  margin-right: auto;
}

.campaign-toolbar strong {
  font-size: 20px;
}

.campaign-toolbar p, .campaign-note {
  color: #607188;
  margin: 5px 0;
  font-size: 13px;
  line-height: 1.7;
}

.campaign-workspace .marketing-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.campaign-workspace .marketing-stats > div {
  padding: 18px 22px;
}

.campaign-filters {
  grid-template-columns: minmax(220px, 1.3fr) 1fr 1fr 180px;
  align-items: end;
  gap: 14px;
  display: grid;
}

.campaign-filters label, .campaign-choice {
  color: #455c77;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  display: grid;
}

.campaign-search {
  border: 1px solid #d5deeb;
  border-radius: 8px;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  display: flex !important;
}

.campaign-search input {
  outline: 0;
  width: 100%;
  border: 0 !important;
  padding: 0 !important;
}

.campaign-filters input {
  border: 1px solid #d5deeb;
  border-radius: 8px;
  min-width: 0;
  height: 44px;
  padding: 9px 12px;
}

.campaign-workspace .marketing-card {
  overflow: visible;
}

.campaign-bulk {
  min-height: 68px;
  padding: 16px 20px;
}

.campaign-bulk strong {
  margin-right: auto;
  font-size: 13px;
}

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

.campaign-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 830px;
  font-size: 13px;
}

.campaign-table th {
  text-align: left;
  color: #5e7085;
  background: #f5f8fc;
  font-weight: 500;
}

.campaign-table td, .campaign-table th {
  border-bottom: 1px solid #e6edf4;
  padding: 16px 18px;
}

.campaign-table input {
  accent-color: #1962bc;
  width: 16px;
  height: 16px;
}

.campaign-table small {
  color: #61758b;
  margin-top: 6px;
  font-size: 12px;
  display: block;
}

.campaign-table td:nth-child(2) {
  max-width: 310px;
}

.campaign-title {
  color: #1c395b;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 650;
  line-height: 1.5;
}

.campaign-title:hover {
  text-decoration: underline;
}

.campaign-pagination {
  padding: 16px 20px;
  font-size: 13px;
}

.campaign-pagination > span {
  margin-right: auto;
}

.campaign-empty {
  text-align: center;
  color: #607188;
  padding: 35px;
}

.campaign-dialog, .campaign-confirm {
  color: #243b56;
  border: 1px solid #dce5ef;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 24px 80px #10243d40;
}

.campaign-dialog {
  width: min(920px, 100vw - 40px);
  max-height: calc(100dvh - 40px);
  overflow: hidden;
}

.campaign-dialog[open] {
  flex-direction: column;
  display: flex;
}

.campaign-dialog::backdrop, .campaign-confirm::backdrop {
  background: #152a4b66;
}

.campaign-dialog > header, .campaign-dialog > footer {
  background: #fff;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  display: flex;
}

.campaign-dialog > header {
  border-bottom: 1px solid #e3eaf2;
}

.campaign-dialog > header > div {
  min-width: 0;
  margin-right: auto;
}

.campaign-dialog h2 {
  overflow-wrap: anywhere;
  margin: 5px 0 0;
  font-size: 22px;
}

.campaign-dialog > header small {
  color: #657c97;
  font-size: 12px;
}

.campaign-dialog > footer {
  border-top: 1px solid #e3eaf2;
}

.campaign-dialog > footer > span {
  color: #657c97;
  margin-right: auto;
  font-size: 12px;
}

.campaign-dialog-body {
  overscroll-behavior: contain;
  min-height: 0;
  padding: 24px 26px;
  overflow-y: auto;
}

.campaign-dialog .marketing-form {
  padding: 0;
}

.campaign-dialog .marketing-form label {
  font-size: 13px;
  font-weight: 500;
}

.campaign-dialog .marketing-form input:not([role="combobox"]), .campaign-dialog textarea {
  border-radius: 8px;
  min-height: 42px;
}

.campaign-dialog .shared-select input {
  border: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.campaign-dialog .marketing-form .shared-select {
  font-weight: 400;
}

.campaign-facts {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
  display: grid;
}

.campaign-facts dt {
  color: #607188;
  margin-bottom: 5px;
  font-size: 12px;
}

.campaign-facts dd {
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
}

.campaign-detail-actions {
  margin: 16px 0;
}

.campaign-detail-actions h3 {
  margin: 0 auto 0 0;
}

.campaign-copy {
  background: #f9fbfe;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  margin-top: 24px;
  padding: 22px;
}

.campaign-copy h4 {
  margin: 16px 0;
  font-size: 19px;
  line-height: 1.5;
}

.campaign-copy-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.85;
}

.campaign-copy a, .campaign-results a, .campaign-history a {
  color: #1962bc;
  font-size: 13px;
}

.campaign-readiness, .campaign-results {
  border-bottom: 1px solid #e2e9f1;
  padding: 18px 0;
  font-size: 13px;
  line-height: 1.8;
}

.campaign-readiness h3, .campaign-results h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.campaign-readiness p, .campaign-results p {
  color: #607188;
}

.campaign-tracking {
  flex-wrap: wrap;
  align-items: end;
  gap: 10px;
  margin: 15px 0;
  display: flex;
}

.campaign-tracking label {
  flex: 1;
  gap: 6px;
  min-width: 180px;
  display: grid;
}

.campaign-tracking input {
  border: 1px solid #d5deeb;
  border-radius: 7px;
  width: 100%;
  min-width: 0;
  padding: 10px;
}

.campaign-tracking small {
  color: #607188;
  flex-basis: 100%;
}

.campaign-history {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.75;
}

.campaign-history summary {
  cursor: pointer;
  padding: 8px 0;
  font-weight: 600;
}

.campaign-history > div {
  border-top: 1px solid #dce5ef;
  padding: 14px 0;
}

.campaign-outcomes {
  font-size: 13px;
}

.campaign-confirm {
  width: min(460px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 25px;
  overflow: auto;
}

.campaign-confirm h2 {
  margin: 0 0 16px;
  font-size: 20px;
}

.campaign-confirm label {
  gap: 8px;
  margin-top: 18px;
  font-size: 13px;
  display: grid;
}

.campaign-confirm textarea {
  border: 1px solid #d5deeb;
  border-radius: 8px;
  min-height: 90px;
  padding: 12px;
}

.campaign-confirm .campaign-detail-actions {
  justify-content: flex-end;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .campaign-filters, .campaign-workspace .marketing-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .campaign-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }

  .campaign-dialog > header, .campaign-dialog > footer {
    padding: 16px;
  }

  .campaign-dialog h2 {
    font-size: 18px;
  }

  .campaign-dialog-body {
    padding: 18px 16px;
  }

  .campaign-dialog .marketing-form-grid, .campaign-facts {
    grid-template-columns: 1fr;
  }

  .campaign-copy {
    padding: 15px;
  }

  .campaign-dialog > footer > span {
    max-width: 110px;
  }

  .campaign-filters {
    gap: 10px;
  }

  .campaign-search {
    grid-column: 1 / -1;
  }

  .campaign-toolbar {
    gap: 8px;
  }

  .campaign-toolbar > div {
    width: 100%;
  }

  .campaign-workspace .marketing-stats > div {
    padding: 15px;
  }

  .campaign-detail-actions {
    gap: 10px;
  }

  .campaign-confirm .campaign-detail-actions {
    flex-wrap: nowrap;
  }
}

.campaign-asset-preview img, .campaign-asset-preview video {
  object-fit: contain;
  border-radius: 8px;
  max-width: 100%;
  max-height: 420px;
  margin: 16px auto;
  display: block;
}

.campaign-workspace .campaign-toolbar {
  justify-content: flex-end;
}

.campaign-toolbar .campaign-search {
  background: #fff;
  width: min(360px, 100%);
  margin-right: auto;
}

.composer-list-filters, .composer-extra-filters {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  display: flex;
}

.composer-list-filters > .campaign-choice {
  min-width: 220px;
}

.composer-list-filters > .campaign-choice > span {
  display: none;
}

.composer-extra-filters {
  padding: 14px 0;
}

.composer-extra-filters > label {
  gap: 8px;
  font-size: 13px;
  display: grid;
}

.composer-extra-filters input {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
}

.composer-list-tabs {
  overflow: visible !important;
}

.composer-menu {
  font-size: 13px;
  position: relative;
}

.composer-menu summary {
  cursor: pointer;
  align-items: center;
  gap: 7px;
  padding: 12px;
  list-style: none;
  display: flex;
}

.composer-menu summary::-webkit-details-marker {
  display: none;
}

.composer-menu > div {
  z-index: 12;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  min-width: 160px;
  padding: 6px;
  position: absolute;
  top: 100%;
  right: 0;
  box-shadow: 0 8px 24px #172f4f1a;
}

.composer-menu > div > button {
  text-align: left;
  color: #233d5b;
  background: #fff;
  border-radius: 5px;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  border: 0 !important;
}

.composer-menu > div > button:hover {
  background: #eef5fc;
}

.composer-menu button:disabled {
  opacity: .5;
}

.composer-dialog {
  border-radius: 12px;
  width: min(1080px, 100vw - 48px);
  height: min(840px, 100dvh - 48px);
}

.composer-dialog > header {
  border: 0;
  gap: 12px;
  padding: 24px 28px 18px;
}

.composer-dialog > header > div {
  align-items: center;
  gap: 18px;
  display: flex;
}

.composer-dialog h2 {
  margin: 0;
  font-size: 21px;
}

.composer-dialog > header .marketing-status {
  flex-shrink: 0;
  font-size: 12px;
}

.composer-tabs {
  border-bottom: 1px solid #e3eaf2;
  flex-shrink: 0;
  gap: 26px;
  padding: 0 28px;
  display: flex;
}

.composer-tabs button {
  color: #4b6078;
  background: none;
  border: 0;
  border-bottom: 3px solid #0000;
  padding: 16px 0;
  font-size: 14px;
}

.composer-tabs button[aria-selected="true"] {
  color: #1764b5;
  border-color: #1764b5;
  font-weight: 650;
}

.composer-dialog .campaign-dialog-body {
  flex: 1;
  padding: 24px 28px;
}

.composer-dialog .composer-body {
  flex-direction: column;
  padding: 0;
  display: flex;
  overflow: hidden;
}

.composer-body > .marketing-notice, .composer-body > .campaign-outcomes {
  flex-shrink: 0;
  margin: 10px 28px;
}

.composer-content {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.composer-grid {
  overscroll-behavior: contain;
  flex: 1;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  min-height: 0;
  display: grid;
  overflow: auto;
}

.composer-writing {
  padding: 28px;
}

.composer-preview {
  background: #f8faff;
  border-left: 1px solid #e3eaf2;
  min-width: 0;
  padding: 28px 24px;
}

.composer-section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 40px;
  margin-bottom: 16px;
  display: flex;
}

.composer-section-heading h3 {
  margin: 0;
  font-size: 17px;
}

.composer-section-heading > span {
  color: #1764b5;
  background: #eaf3ff;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
}

.composer-copy-text {
  border: 1px solid #e2e9f2;
  border-radius: 8px;
  min-height: 320px;
  padding: 18px;
}

.composer-copy-text h4 {
  margin: 0 0 16px;
  font-size: 15px;
}

.composer-copy-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.composer-preview article {
  background: #fff;
  border: 1px solid #e2e9f2;
  border-radius: 8px;
  min-height: 380px;
  padding: 20px;
}

.composer-preview article > strong {
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.5;
  display: block;
}

.composer-preview .campaign-copy-body {
  font-size: 14px;
  line-height: 1.75;
}

.composer-assets {
  border-top: 1px solid #e3eaf2;
  margin-top: 24px;
  padding-top: 6px;
}

.composer-assets > summary {
  cursor: pointer;
  align-items: center;
  gap: 12px;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  display: flex;
}

.composer-assets > summary span {
  color: #687d92;
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
}

.composer-assets > label {
  gap: 8px;
  margin: 14px 0;
  display: grid;
}

.composer-footer {
  background: #fff;
  border-top: 1px solid #e3eaf2;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  display: flex;
}

.composer-footer > span {
  color: #627790;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 13px;
  display: flex;
}

.composer-dialog > footer {
  padding: 18px 28px;
}

.composer-settings {
  max-width: 850px;
  margin: 0 auto;
}

.composer-settings .campaign-detail-actions {
  margin-top: 0;
}

.composer-advanced {
  border-top: 1px solid #e3eaf2;
  margin-top: 22px;
  padding-top: 14px;
  font-size: 13px;
  line-height: 1.7;
}

.composer-advanced summary {
  cursor: pointer;
  color: #445f7b;
  padding: 6px 0;
  font-weight: 600;
}

.composer-advanced[open] > summary {
  margin-bottom: 16px;
}

.composer-wizard {
  width: min(760px, 100vw - 48px);
  height: min(800px, 100dvh - 48px);
}

.composer-wizard > header {
  border-bottom: 1px solid #e3eaf2;
  padding: 24px 32px;
}

.composer-wizard .campaign-dialog-body {
  padding: 24px 40px;
}

.composer-steps {
  border-bottom: 1px solid #e3eaf2;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 0 0 22px;
  list-style: none;
  display: flex;
}

.composer-steps li {
  color: #8090a2;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: flex;
}

.composer-steps li > span {
  background: #edf2f8;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  display: grid;
}

.composer-steps li[aria-current] {
  color: #1764b5;
  font-weight: 600;
}

.composer-steps li[aria-current] > span {
  color: #fff;
  background: #1764b5;
}

.composer-form h3 {
  outline: none;
  margin: 0 0 24px;
  font-size: 20px;
}

.composer-form label {
  gap: 9px !important;
}

.composer-form > .campaign-choice, .composer-form > label {
  margin-bottom: 20px;
}

.composer-form .marketing-form-grid {
  margin-top: 18px;
}

.composer-form input, .composer-form textarea {
  font-size: 14px !important;
}

.composer-form textarea {
  line-height: 1.75;
}

.composer-product {
  background: #f6f9fd;
  border-radius: 8px;
  align-items: center;
  gap: 14px;
  margin: 16px 0 22px;
  padding: 16px;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
}

.composer-product svg {
  color: #7692b0;
  flex-shrink: 0;
}

.composer-product strong {
  overflow-wrap: anywhere;
}

.composer-product small {
  color: #6b819a;
  margin-top: 5px;
  display: block;
}

.composer-prompts {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  display: flex;
}

.composer-prompts button {
  font-size: 13px;
}

.composer-brief {
  overflow-wrap: anywhere;
  background: #f6f9fd;
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  line-height: 1.8;
}

.composer-brief h4 {
  margin: 0 0 8px;
}

.composer-brief p {
  white-space: pre-wrap;
  margin: 0;
}

.composer-blank {
  text-align: center;
  max-width: 620px;
  margin: 40px auto;
}

.composer-blank > svg {
  color: #88a0bb;
}

.composer-blank h3 {
  font-size: 21px;
}

.composer-blank > p {
  color: #647b94;
  font-size: 14px;
  line-height: 1.8;
}

.composer-blank .composer-brief {
  text-align: left;
  margin: 24px 0;
}

@media (max-width: 700px) {
  .composer-dialog, .composer-wizard {
    width: calc(100vw - 20px);
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
  }

  .composer-dialog > header {
    padding: 18px 16px;
  }

  .composer-dialog > header > div {
    display: block;
  }

  .composer-dialog h2 {
    font-size: 18px;
  }

  .composer-dialog > header .marketing-status {
    margin-top: 8px;
    display: inline-block;
  }

  .composer-tabs {
    gap: 22px;
    padding: 0 16px;
  }

  .composer-tabs button {
    font-size: 13px;
  }

  .composer-dialog .campaign-dialog-body {
    padding: 20px 16px;
  }

  .composer-dialog .composer-body {
    padding: 0;
  }

  .composer-grid {
    display: block;
  }

  .composer-writing, .composer-preview {
    padding: 20px 16px;
  }

  .composer-preview {
    border-top: 1px solid #e3eaf2;
    border-left: 0;
  }

  .composer-preview article {
    min-height: 0;
  }

  .composer-copy-text {
    min-height: 220px;
  }

  .composer-footer, .composer-dialog > footer {
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
  }

  .composer-footer > span {
    flex-basis: 100%;
    font-size: 12px;
  }

  .composer-footer > button:first-of-type {
    margin-left: auto;
  }

  .composer-wizard .marketing-form-grid, .composer-wizard .campaign-facts {
    grid-template-columns: 1fr;
  }

  .composer-steps {
    gap: 8px;
  }

  .composer-form h3 {
    font-size: 18px;
  }

  .composer-list-filters > .campaign-choice {
    min-width: 180px;
  }

  .composer-list-tabs {
    flex-wrap: wrap;
    gap: 2px !important;
  }

  .composer-list-tabs > button {
    padding: 12px 10px !important;
  }

  .campaign-toolbar .campaign-search {
    width: 100%;
  }

  .composer-assets > summary {
    flex-wrap: wrap;
  }

  .composer-assets > summary span {
    font-size: 11px;
  }
}

.marketing-materials {
  border-top: 1px solid #dce6f3;
  margin-top: 24px;
  padding-top: 20px;
}

.marketing-materials > label {
  gap: 8px;
  margin: 16px 0;
  font-size: 13px;
  display: grid;
}

.marketing-materials textarea {
  width: 100%;
  font: inherit;
  resize: vertical;
  border: 1px solid #ccd9e8;
  border-radius: 8px;
  padding: 10px;
}

.marketing-material-grid {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin: 16px 0;
  display: grid;
}

.marketing-material-grid button {
  cursor: pointer;
  background: #fff;
  border: 2px solid #e1e8f1;
  border-radius: 10px;
  padding: 6px;
}

.marketing-material-grid button[aria-pressed="true"] {
  background: #f1f6ff;
  border-color: #1764ca;
}

.marketing-material-grid img {
  object-fit: contain;
  width: 100%;
  height: 140px;
}

.marketing-material-grid span {
  color: #34516e;
  padding: 6px 0;
  font-size: 12px;
  display: block;
}

/*# sourceMappingURL=src_app_%28frontend%29_1odocgm._.css.map*/