.ps-workspace-launcher-header-button,
.ps-workspace-launcher-close {
  display: inline-grid;
  place-items: center;
  border: 1px solid #2c4c57;
  background: #0b2632;
  color: #d7e4e6;
  cursor: pointer;
}

.ps-workspace-launcher-header-button {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 8px;
}

.ps-workspace-launcher-header-button:hover {
  border-color: #4f7a80;
  background: #123743;
}

.ps-workspace-launcher-trigger-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto;
}

.ps-workspace-launcher-sidebar {
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(111, 141, 146, 0.2);
}

.ps-workspace-launcher-sidebar-button {
  color: #e2eff0 !important;
}

.ps-workspace-launcher {
  position: fixed;
  z-index: 2147483640;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  font-family: var(--ps-shell-font, Inter, ui-sans-serif, system-ui, sans-serif);
}

.ps-workspace-launcher[hidden] {
  display: none !important;
}

.ps-workspace-launcher-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 12, 18, 0.72);
  cursor: default;
}

.ps-workspace-launcher-dialog {
  position: relative;
  display: grid;
  width: min(1080px, calc(100vw - 36px));
  max-height: min(860px, calc(100dvh - 36px));
  grid-template-rows: auto auto auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #cedbde;
  border-radius: 18px;
  background: #f7fafb;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  color: #102a34;
}

.ps-workspace-launcher-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #dbe5e7;
  background: #ffffff;
}

.ps-workspace-launcher-eyebrow,
.ps-workspace-launcher-summary,
.ps-workspace-launcher-group-heading {
  margin: 0;
}

.ps-workspace-launcher-eyebrow {
  color: #15806f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ps-workspace-launcher-title {
  margin: 3px 0 0;
  color: #09232e;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ps-workspace-launcher-summary {
  margin-top: 5px;
  color: #60777d;
  font-size: 12px;
  line-height: 1.5;
}

.ps-workspace-launcher-close {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-color: #d3dfe1;
  border-radius: 9px;
  background: #f5f8f8;
  color: #38545b;
  font-size: 24px;
  line-height: 1;
}

.ps-workspace-launcher-close:hover {
  background: #e9f0f1;
  color: #102f39;
}

.ps-workspace-launcher-controls {
  display: grid;
  grid-template-columns: auto minmax(220px, 360px);
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 22px;
  border-bottom: 1px solid #dbe5e7;
  background: #ffffff;
}

.ps-workspace-launcher-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid #d6e2e4;
  border-radius: 10px;
  background: #f1f6f6;
}

.ps-workspace-launcher-tab {
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #60777d;
  cursor: pointer;
  font: 700 12px/1 var(--ps-shell-font, Inter, ui-sans-serif, system-ui, sans-serif);
}

.ps-workspace-launcher-tab[aria-selected="true"] {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(15, 42, 52, 0.12);
  color: #0d7667;
}

.ps-workspace-launcher-search {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #cddbdd;
  border-radius: 9px;
  background: #fbfdfd;
  color: #102a34;
  font: 500 13px/1 var(--ps-shell-font, Inter, ui-sans-serif, system-ui, sans-serif);
  outline: none;
}

.ps-workspace-launcher-search:focus {
  border-color: #3a9b8d;
  box-shadow: 0 0 0 3px rgba(55, 161, 145, 0.14);
}

.ps-workspace-launcher-notice {
  margin: 0;
  padding: 9px 22px;
  border-bottom: 1px solid #dbe5e7;
  background: #edf7f5;
  color: #17685d;
  font-size: 12px;
  font-weight: 650;
}

.ps-workspace-launcher-notice[data-tone="warning"] {
  background: #fff8e7;
  color: #895f11;
}

.ps-workspace-launcher-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 22px 24px;
}

.ps-workspace-launcher-panel {
  display: grid;
  gap: 22px;
}

.ps-workspace-launcher-panel[hidden] {
  display: none !important;
}

.ps-workspace-launcher-group {
  display: grid;
  gap: 9px;
}

.ps-workspace-launcher-group[hidden] {
  display: none !important;
}

.ps-workspace-launcher-group-heading {
  color: #60777d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ps-workspace-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.ps-workspace-product-card {
  display: grid;
  min-width: 0;
  min-height: 116px;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px solid #dbe5e7;
  border-radius: 12px;
  background: #ffffff;
  color: #102a34;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ps-workspace-product-card:hover:not(:disabled) {
  border-color: #88cfc3;
  box-shadow: 0 8px 22px rgba(15, 55, 62, 0.09);
  transform: translateY(-1px);
}

.ps-workspace-product-card:disabled,
.ps-workspace-tool-card:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.ps-workspace-product-card[hidden],
.ps-workspace-tool-card[hidden] {
  display: none !important;
}

.ps-workspace-product-image {
  width: 48px;
  height: 48px;
}

.ps-workspace-product-copy {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ps-workspace-product-label,
.ps-workspace-tool-label {
  min-width: 0;
  overflow: hidden;
  color: #102a34;
  font-size: 13px;
  font-weight: 750;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-workspace-product-detail {
  display: -webkit-box;
  min-height: 30px;
  overflow: hidden;
  color: #70858a;
  font-size: 11px;
  line-height: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ps-workspace-product-status,
.ps-workspace-tool-status {
  width: fit-content;
  margin-top: 2px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #eaf7f3;
  color: #1a7165;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.ps-workspace-product-status[data-tone="compatibility"],
.ps-workspace-tool-status[data-tone="compatibility"] {
  background: #eef3fb;
  color: #3c6092;
}

.ps-workspace-product-status[data-tone="planned"] {
  background: #f2f3f5;
  color: #737d84;
}

.ps-workspace-product-status[data-tone="loading"],
.ps-workspace-product-status[data-tone="blocked"],
.ps-workspace-tool-status[data-tone="loading"],
.ps-workspace-tool-status[data-tone="blocked"] {
  background: #f6f0e5;
  color: #8a6829;
}

.ps-workspace-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ps-workspace-tool-card {
  display: flex;
  min-width: 0;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #dbe5e7;
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.ps-workspace-tool-card:hover:not(:disabled) {
  border-color: #88cfc3;
  background: #fbfefd;
}

.ps-workspace-tool-status {
  flex: 0 0 auto;
  margin: 0;
}

.ps-workspace-launcher-empty {
  margin: 30px 0;
  color: #70858a;
  font-size: 14px;
  text-align: center;
}

.ps-workspace-launcher button:focus-visible,
.ps-workspace-launcher input:focus-visible,
.ps-workspace-launcher-header-button:focus-visible,
.ps-workspace-launcher-sidebar-button:focus-visible {
  outline: 2px solid #4cc5b2 !important;
  outline-offset: 2px;
}

.ps-outreach-state-note {
  margin: 3px 0 0 !important;
  color: #64777d !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}

body[data-ps-workspace-launcher-open="true"] {
  overflow: hidden !important;
}

@media (max-width: 920px) {
  .ps-workspace-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .ps-workspace-launcher {
    padding: 8px;
  }

  .ps-workspace-launcher-dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  .ps-workspace-launcher-header {
    padding: 16px;
  }

  .ps-workspace-launcher-title {
    font-size: 20px;
  }

  .ps-workspace-launcher-controls {
    grid-template-columns: 1fr;
    padding: 11px 16px;
  }

  .ps-workspace-launcher-tabs {
    width: 100%;
  }

  .ps-workspace-launcher-tab {
    flex: 1;
  }

  .ps-workspace-launcher-content {
    padding: 15px 16px 20px;
  }

  .ps-workspace-product-grid,
  .ps-workspace-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ps-workspace-product-grid,
  .ps-workspace-tool-grid {
    grid-template-columns: 1fr;
  }

  .ps-workspace-product-card {
    min-height: 92px;
  }
}
