.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-color: #5eead4;
  border-radius: 8px;
  background: #0f766e;
  color: #ffffff;
}

.ps-workspace-launcher-header-button:hover {
  border-color: #99f6e4;
  background: #115e59;
}

.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 {
  background: rgba(0, 229, 194, 0.08) !important;
  color: #f2fffd !important;
}

.ps-workspace-launcher-sidebar-button:hover {
  background: rgba(0, 229, 194, 0.14) !important;
}

.ps-workspace-launcher-sidebar-secondary,
.ps-workspace-launcher-sidebar-group {
  padding-left: 31px !important;
}

.ps-workspace-launcher-sidebar-group {
  color: #a9bec1 !important;
  font-size: 12px !important;
}

.ps-workspace-sidebar-count,
.ps-workspace-sidebar-section-meta {
  min-width: 18px;
  margin-left: auto;
  color: #8fa9ad;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: right;
}

.ps-workspace-sidebar-section-toggle {
  display: flex;
  width: 100%;
  height: 26px;
  min-width: 0;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #78969b;
  cursor: pointer;
  font: 750 10px/1 var(--ps-shell-font, Inter, ui-sans-serif, system-ui, sans-serif);
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
}

.ps-workspace-sidebar-section-toggle:hover {
  color: #dff8f5;
}

.ps-workspace-sidebar-section-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-workspace-launcher-chevron {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
  transform: rotate(90deg);
  transition: transform 140ms ease;
}

[aria-expanded="false"] > .ps-workspace-launcher-chevron {
  transform: rotate(0deg);
}

.ps-runtime-local-navigation-items[hidden] {
  display: none !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(1120px, 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: 22px;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.ps-workspace-launcher-summary {
  margin-top: 5px;
  color: #526a70;
  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: #526a70;
  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: 16px 22px 22px;
}

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

.ps-workspace-launcher-panel[data-ps-launcher-panel="products"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

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

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

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

.ps-workspace-launcher-group-heading {
  color: #526a70;
}

.ps-workspace-launcher-group-toggle {
  display: flex;
  width: 100%;
  min-height: 28px;
  align-items: center;
  gap: 6px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 800 11px/1 var(--ps-shell-font, Inter, ui-sans-serif, system-ui, sans-serif);
  letter-spacing: 0.09em;
  text-align: left;
  text-transform: uppercase;
}

.ps-workspace-launcher-group-toggle:hover {
  color: #0f766e;
}

.ps-workspace-launcher-group-label {
  min-width: 0;
}

.ps-workspace-launcher-group-count {
  min-width: 20px;
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 999px;
  background: #e9f0f1;
  color: #38545b;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  text-align: center;
}

.ps-workspace-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 104px));
  gap: 8px;
  justify-content: start;
}

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

.ps-workspace-product-tile,
.ps-workspace-tool-tile {
  min-width: 0;
}

.ps-workspace-product-card {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 88px;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 5px;
  padding: 10px 7px 8px;
  border: 1px solid #bfd0d3;
  border-radius: 11px;
  background: #ffffff;
  color: #102a34;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  transition: transform 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.ps-workspace-product-card:hover:not([aria-disabled="true"]) {
  border-color: #299b8c;
  box-shadow: 0 8px 22px rgba(15, 55, 62, 0.09);
  transform: translateY(-2px);
}

.ps-workspace-product-card[aria-disabled="true"],
.ps-workspace-tool-card[aria-disabled="true"] {
  cursor: not-allowed;
  background: #f2f5f5;
  color: #55686d;
}

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

.ps-workspace-product-image {
  width: 38px;
  height: 38px;
  align-self: end;
}

.ps-workspace-product-label,
.ps-workspace-tool-label {
  min-width: 0;
  overflow: hidden;
  color: #102a34;
  font-size: 12px;
  font-weight: 750;
  display: -webkit-box;
  line-height: 15px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ps-workspace-product-status,
.ps-workspace-tool-status {
  display: block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(9, 35, 46, 0.18);
  border-radius: 50%;
  background: #0f8a78;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.ps-workspace-product-status {
  position: absolute;
  top: 8px;
  right: 8px;
}

.ps-workspace-product-status[data-tone="compatibility"],
.ps-workspace-tool-status[data-tone="compatibility"] {
  background: #4c72a8;
}

.ps-workspace-product-status[data-tone="planned"] {
  background: #6a7b81;
}

.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: #a66f12;
}

.ps-workspace-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 7px;
}

.ps-workspace-tool-card {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid #bfd0d3;
  border-radius: 10px;
  background: #ffffff;
  color: #102a34;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}

.ps-workspace-tool-card:hover:not([aria-disabled="true"]) {
  border-color: #299b8c;
  background: #fbfefd;
  transform: translateY(-1px);
}

.ps-workspace-tool-label {
  font-size: 12px;
  line-height: 15px;
  -webkit-line-clamp: 2;
}

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

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

.ps-workspace-launcher-tooltip {
  position: fixed;
  z-index: 2147483642;
  display: grid;
  width: min(260px, calc(100vw - 20px));
  gap: 4px;
  padding: 10px 11px;
  border: 1px solid #31545d;
  border-radius: 9px;
  background: #09232e;
  box-shadow: 0 12px 30px rgba(1, 12, 18, 0.28);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px) scale(0.98);
  transition: opacity 120ms ease, transform 120ms ease, visibility 120ms;
  visibility: hidden;
}

.ps-workspace-launcher-tooltip[data-visible="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.ps-workspace-launcher-tooltip-title {
  font-size: 12px;
  line-height: 1.35;
}

.ps-workspace-launcher-tooltip-detail {
  color: #d1e2e4;
  font-size: 11px;
  line-height: 1.45;
}

.ps-workspace-launcher-tooltip-status {
  width: fit-content;
  margin-top: 2px;
  padding: 3px 6px;
  border-radius: 999px;
  background: #dff7f1;
  color: #0b574e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.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,
.ps-workspace-sidebar-section-toggle:focus-visible,
.ps-workspace-launcher-sidebar-secondary:focus-visible,
.ps-workspace-launcher-sidebar-group:focus-visible {
  outline: 2px solid #0f766e !important;
  outline-offset: 2px;
}

.ps-runtime-nav .ps-workspace-sidebar-section-toggle:focus-visible,
.ps-runtime-nav .ps-workspace-launcher-sidebar-button:focus-visible,
.ps-runtime-nav .ps-workspace-launcher-sidebar-secondary:focus-visible,
.ps-runtime-nav .ps-workspace-launcher-sidebar-group:focus-visible,
.ps-runtime-header .ps-workspace-launcher-header-button:focus-visible {
  outline-color: #5eead4 !important;
}

.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-launcher-panel[data-ps-launcher-panel="products"] {
    grid-template-columns: 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-tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .ps-workspace-launcher-header {
    gap: 10px;
    padding: 14px;
  }

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

  .ps-workspace-launcher-summary {
    font-size: 11px;
  }

  .ps-workspace-launcher-controls {
    padding: 10px 14px;
  }

  .ps-workspace-launcher-content {
    padding: 12px 14px 18px;
  }

  .ps-workspace-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }

  .ps-workspace-tool-grid {
    grid-template-columns: 1fr;
  }

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

  .ps-workspace-launcher-tab,
  .ps-workspace-launcher-search,
  .ps-workspace-launcher-close,
  .ps-workspace-launcher-group-toggle,
  .ps-workspace-product-card,
  .ps-workspace-tool-card {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-workspace-launcher *,
  .ps-workspace-launcher-header-button,
  .ps-workspace-launcher-sidebar *,
  .ps-workspace-sidebar-section-toggle {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .ps-workspace-product-card:hover,
  .ps-workspace-tool-card:hover,
  .ps-workspace-launcher-tooltip,
  .ps-workspace-launcher-tooltip[data-visible="true"] {
    transform: none !important;
  }
}
