/*
  Compass Project Library
  Shared discovery experience for family, student, counselor, and standalone access.
*/

:root {
  --pl-ink: #11182a;
  --pl-muted: #667085;
  --pl-subtle: #98a2b3;
  --pl-line: rgba(16, 24, 40, 0.09);
  --pl-accent: #4945d6;
  --pl-accent-deep: #312e9d;
  --pl-accent-soft: #f0efff;
  --pl-surface: #ffffff;
  --pl-surface-soft: #f8f9fd;
  --pl-success: #16835d;
  --pl-shadow: 0 24px 70px rgba(20, 27, 50, 0.09);
  --pl-heading: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  --pl-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.pl-modal-open {
  overflow: hidden;
}

#project-library-view {
  width: min(100%, 1540px);
  margin: 0 auto;
}

.pl-app,
.pl-app * {
  box-sizing: border-box;
}

.pl-app {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 26px;
  width: 100%;
  color: var(--pl-ink);
  font-family: var(--pl-body);
}

.pl-app button,
.pl-app input,
.pl-app select {
  font: inherit;
}

.pl-app button {
  cursor: pointer;
}

.pl-app button:focus-visible,
.pl-app input:focus-visible,
.pl-app select:focus-visible {
  outline: 3px solid rgba(73, 69, 214, 0.22);
  outline-offset: 3px;
}

.pl-main-column {
  min-width: 0;
  padding-bottom: 100px;
}

.pl-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 2px 18px;
}

.pl-title-group {
  max-width: 760px;
}



.pl-title-group h1 {
  margin: 7px 0 8px;
  font-family: var(--pl-heading);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.pl-title-group h1 span {
  display: inline-block;
  margin-left: 10px;
  color: #ff8d55;
  font-size: 0.48em;
  vertical-align: 0.5em;
}

.pl-title-group p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 15px;
  line-height: 1.6;
}

.pl-context-control {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 176px;
}

.pl-context-mode {
  color: #4f46c7;
}

.pl-context-person,
.pl-context-select {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 12px 7px 8px;
  border: 1px solid var(--pl-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.05);
}

.pl-context-person > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #5155e7, #7b63dc);
  font-size: 13px;
  font-weight: 900;
}

.pl-context-person strong,
.pl-context-person small {
  display: block;
}

.pl-context-person strong {
  font-size: 12px;
}

.pl-context-person small {
  margin-top: 3px;
  color: var(--pl-muted);
  font-size: 10px;
}

.pl-context-select {
  padding: 0;
  overflow: hidden;
}

.pl-context-select select {
  min-width: 210px;
  height: 52px;
  padding: 0 38px 0 14px;
  border: 0;
  color: #30374a;
  background: transparent;
  font-size: 12px;
  font-weight: 750;
}

.pl-search-section {
  padding: 6px 0 27px;
}

.pl-search-field {
  position: relative;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 0 20px;
  border: 1px solid rgba(44, 51, 75, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 18px 50px rgba(27, 34, 62, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.pl-search-field:focus-within {
  border-color: rgba(73, 69, 214, 0.44);
  box-shadow:
    0 22px 58px rgba(46, 42, 154, 0.11),
    0 0 0 4px rgba(73, 69, 214, 0.07);
  transform: translateY(-1px);
}



.pl-search-icon {
  width: 23px;
  height: 23px;
  color: #344054;
}

.pl-search-field input {
  width: 100%;
  min-width: 0;
  height: 60px;
  border: 0;
  outline: 0;
  color: var(--pl-ink);
  background: transparent;
  font-size: 15px;
  font-weight: 520;
}

.pl-search-field input::placeholder {
  color: #98a2b3;
}

.pl-search-spark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  color: #544fdc;
  background: #f0efff;
  font-size: 15px;
}

.pl-query-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.pl-query-suggestions button {
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid rgba(73, 69, 214, 0.14);
  border-radius: 999px;
  color: #625dce;
  background: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  font-weight: 700;
  transition: transform 140ms ease, border-color 140ms ease, background 140ms ease;
}

.pl-query-suggestions button:hover {
  border-color: rgba(73, 69, 214, 0.34);
  background: #fff;
  transform: translateY(-1px);
}

.pl-curated {
  padding: 4px 0 28px;
}

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

.pl-section-heading h2 {
  margin: 4px 0 0;
  font-family: var(--pl-heading);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.035em;
}

.pl-text-button {
  padding: 8px 0;
  border: 0;
  color: #4f46c7;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

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

.pl-collection-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px;
  border: 1px solid var(--pl-line);
  border-radius: 18px;
  color: var(--pl-ink);
  background:
    radial-gradient(circle at 85% 0%, rgba(83, 88, 226, 0.08), transparent 37%),
    rgba(255, 255, 255, 0.92);
  text-align: left;
  box-shadow: 0 13px 34px rgba(16, 24, 40, 0.045);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pl-collection-card:hover,
.pl-collection-card.active {
  border-color: rgba(73, 69, 214, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(31, 35, 88, 0.085);
}

.pl-collection-card.active {
  background:
    radial-gradient(circle at 85% 0%, rgba(83, 88, 226, 0.14), transparent 38%),
    #fbfbff;
}

.pl-collection-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  padding: 7px;
  margin-bottom: 10px;
  border-radius: 11px;
  color: #4f46c7;
  background: #f0efff;
}

.pl-collection-card:nth-child(1) .pl-collection-icon {
  color: #16835d;
  background: #eaf8f1;
}

.pl-collection-card:nth-child(3) .pl-collection-icon {
  color: #c96b13;
  background: #fff3e7;
}

.pl-collection-card:nth-child(4) .pl-collection-icon {
  color: #2f7cc2;
  background: #eaf4ff;
}

.pl-collection-card strong {
  font-family: var(--pl-heading);
  font-size: 13px;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.pl-collection-card p {
  flex: 1;
  margin: 6px 0 10px;
  color: var(--pl-muted);
  font-size: 10px;
  line-height: 1.45;
}

.pl-collection-card small {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #858da0;
  font-size: 9px;
  font-weight: 750;
}

.pl-collection-card small span {
  width: 13px;
  height: 13px;
}

.pl-results-section {
  position: relative;
}

.pl-filter-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 10px;
  border-top: 1px solid rgba(16, 24, 40, 0.07);
}

.pl-filter-button,
.pl-saved-toggle,
.pl-compact-select,
.pl-sort-select {
  min-height: 39px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
}

.pl-filter-button,
.pl-saved-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  color: #344054;
  font-size: 10px;
  font-weight: 780;
}

.pl-filter-button > span,
.pl-saved-toggle > svg {
  width: 16px;
  height: 16px;
}

.pl-filter-button em {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--pl-accent);
  font-size: 9px;
  font-style: normal;
}

.pl-saved-toggle svg.filled,
.pl-saved-toggle.active svg,
.pl-card-save svg.filled,
.pl-preview-save svg.filled {
  fill: currentColor;
}

.pl-saved-toggle.active {
  color: #d94d67;
  border-color: rgba(217, 77, 103, 0.22);
  background: #fff7f8;
}

.pl-saved-toggle > span {
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #667085;
  background: #f2f4f7;
  font-size: 8px;
}

.pl-compact-select,
.pl-sort-select {
  position: relative;
  overflow: hidden;
}

.pl-compact-select select,
.pl-sort-select select {
  height: 37px;
  padding: 0 30px 0 11px;
  border: 0;
  outline: 0;
  color: #475467;
  background: transparent;
  font-size: 10px;
  font-weight: 720;
}

.pl-sort-select {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding-left: 11px;
}

.pl-sort-select > span {
  color: #98a2b3;
  font-size: 9px;
  font-weight: 700;
}

.pl-sort-select select {
  padding-left: 4px;
  color: #344054;
}

.pl-advanced-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  margin: 4px 0 12px;
  padding: 14px;
  border: 1px solid rgba(73, 69, 214, 0.13);
  border-radius: 16px;
  background: rgba(248, 248, 255, 0.96);
  box-shadow: 0 15px 35px rgba(46, 42, 154, 0.06);
}

.pl-advanced-filters[hidden] {
  display: none;
}

.pl-advanced-filters label > span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pl-advanced-filters select {
  width: 100%;
  height: 39px;
  padding: 0 10px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 11px;
  color: #344054;
  background: #fff;
  font-size: 10px;
}

.pl-advanced-actions {
  display: flex;
  gap: 7px;
}

.pl-advanced-actions button {
  height: 39px;
  padding: 0 12px;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 11px;
  color: #475467;
  background: #fff;
  font-size: 10px;
  font-weight: 760;
}

.pl-advanced-actions button:last-child {
  color: #fff;
  border-color: transparent;
  background: var(--pl-accent);
}

.pl-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 12px;
}

.pl-results-head > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pl-results-head span {
  color: #667085;
}

.pl-results-head strong {
  color: #344054;
  font-size: 11px;
  font-weight: 780;
}

.pl-active-collection {
  padding: 7px 10px;
  border: 0;
  border-radius: 999px;
  color: #514bc6;
  background: #f0efff;
  font-size: 9px;
  font-weight: 750;
}

.pl-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.pl-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(16, 24, 40, 0.05);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.pl-project-card:hover,
.pl-project-card.selected {
  border-color: color-mix(in srgb, var(--pl-category) 34%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 20px 46px rgba(17, 25, 54, 0.095);
}

.pl-project-card.selected {
  box-shadow:
    0 20px 46px rgba(17, 25, 54, 0.095),
    0 0 0 2px color-mix(in srgb, var(--pl-category) 15%, transparent);
}

.pl-project-cover,
.pl-preview-cover {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 22% 20%, color-mix(in srgb, var(--pl-category) 30%, #fff), transparent 34%),
    linear-gradient(145deg, color-mix(in srgb, var(--pl-category) 78%, #111827), color-mix(in srgb, var(--pl-category) 35%, #f7f9ff));
}

.pl-project-cover {
  height: 132px;
}

.pl-project-cover::after,
.pl-preview-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.22;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(135deg, #000, transparent 68%);
}

.pl-project-cover-glow {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -50px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(5px);
}

.pl-project-cover > img {
  position: absolute;
  right: -2px;
  bottom: -24px;
  width: 136px;
  height: 136px;
  object-fit: contain;
  border-radius: 33px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
  transform: rotate(-4deg);
}

.pl-category-badge,
.pl-preview-cover > span {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 64px);
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 15, 30, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 8px;
  font-weight: 800;
  line-height: 1;
}

.pl-card-save {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  color: #344054;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.13);
}

.pl-card-save.saved {
  color: #ef5572;
}

.pl-project-card-body {
  padding: 12px 12px 11px;
}

.pl-match-reason {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
  color: #5f5acb;
  font-size: 8px;
  font-weight: 780;
}

.pl-match-reason i {
  font-style: normal;
}

.pl-project-card h3 {
  min-height: 42px;
  margin: 0;
  font-family: var(--pl-heading);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.pl-project-card-body > p {
  min-height: 43px;
  margin: 6px 0 8px;
  color: var(--pl-muted);
  font-size: 9px;
  line-height: 1.5;
}

.pl-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 8px;
  min-height: 18px;
  color: #7d8597;
  font-size: 7.7px;
  font-weight: 660;
}

.pl-project-meta span {
  position: relative;
}

.pl-project-meta span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -6px;
}

.pl-project-artifact {
  margin-top: 9px;
  padding: 8px 9px;
  border-radius: 11px;
  background: #f8f9fc;
}

.pl-project-artifact > span {
  font-size: 6.5px;
}

.pl-project-artifact strong {
  display: block;
  margin-top: 3px;
  color: #344054;
  font-size: 8.5px;
  font-weight: 750;
  line-height: 1.35;
}

.pl-project-card-footer {
  min-height: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.pl-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-width: 0;
}

.pl-skill-list span,
.pl-preview-chips span {
  padding: 4px 6px;
  border-radius: 999px;
  color: #5c6578;
  background: #f3f5f8;
  font-size: 6.8px;
  font-weight: 680;
  white-space: nowrap;
}

.pl-card-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 5px;
}





.pl-open-button {
  color: #fff;
  border-color: transparent;
  background: var(--pl-accent);
}

.pl-empty-state,
.pl-upgrade-card {
  grid-column: 1 / -1;
  min-height: 230px;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 30px;
  border: 1px dashed rgba(73, 69, 214, 0.24);
  border-radius: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
}

.pl-empty-state > span {
  width: 38px;
  height: 38px;
  padding: 9px;
  color: #5c57cb;
  border-radius: 13px;
  background: #f0efff;
}

.pl-empty-state h3,
.pl-upgrade-card h3 {
  margin: 13px 0 5px;
  font-family: var(--pl-heading);
  font-size: 18px;
  letter-spacing: -0.035em;
}

.pl-empty-state p,
.pl-upgrade-card p {
  max-width: 440px;
  margin: 0;
  color: var(--pl-muted);
  font-size: 11px;
  line-height: 1.55;
}

.pl-empty-state button,
.pl-upgrade-card button {
  min-height: 40px;
  margin-top: 15px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: var(--pl-accent);
  font-size: 10px;
  font-weight: 800;
}

.pl-upgrade-card {
  min-height: 210px;
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, #3e3ab6, #8650bd);
  box-shadow: 0 20px 50px rgba(62, 58, 182, 0.22);
}

.pl-upgrade-card > span {
  font-size: 22px;
}

.pl-upgrade-card p {
  color: rgba(255, 255, 255, 0.75);
}

.pl-upgrade-card button {
  color: #3e3ab6;
  background: #fff;
}

.pl-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 21px 0 0;
}

.pl-load-more-wrap[hidden] {
  display: none;
}

.pl-load-more {
  min-width: 215px;
  min-height: 43px;
  padding: 0 18px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 13px;
  color: #344054;
  background: #fff;
  font-size: 10px;
  font-weight: 780;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.04);
}

.pl-load-more span {
  margin-left: 10px;
}

.pl-preview-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  height: calc(100vh - 110px);
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.09);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--pl-shadow);
}

.pl-preview-inner {
  height: 100%;
  display: grid;
  grid-template-rows: 188px minmax(0, 1fr) auto;
  overflow: hidden;
}

.pl-preview-cover {
  min-height: 188px;
}

.pl-preview-cover > img {
  position: absolute;
  right: 16px;
  bottom: -37px;
  width: 188px;
  height: 188px;
  object-fit: contain;
  border-radius: 44px;
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.24));
  transform: rotate(-4deg);
}

.pl-preview-save {
  position: absolute;
  right: 12px;
  top: 12px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 0;
  border-radius: 11px;
  color: #344054;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  font-size: 9px;
  font-weight: 800;
}

.pl-preview-save svg {
  width: 15px;
  height: 15px;
}

.pl-preview-save.saved {
  color: #e04e6d;
}

.pl-preview-close {
  display: none;
}

.pl-preview-copy {
  min-height: 0;
  overflow-y: auto;
  padding: 18px 18px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(152, 162, 179, 0.36) transparent;
}

.pl-preview-match {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #5b56c9;
  font-size: 8px;
  font-weight: 780;
}

.pl-preview-match i {
  font-style: normal;
}

.pl-preview-copy h2 {
  margin: 7px 0 7px;
  font-family: var(--pl-heading);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.pl-preview-copy > p {
  margin: 0;
  color: var(--pl-muted);
  font-size: 10px;
  line-height: 1.55;
}

.pl-preview-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 15px 0 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(16, 24, 40, 0.07);
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}

.pl-preview-facts > div {
  padding: 0 10px;
  border-right: 1px solid rgba(16, 24, 40, 0.07);
}

.pl-preview-facts > div:first-child {
  padding-left: 0;
}

.pl-preview-facts > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.pl-preview-facts span,
.pl-preview-facts strong {
  display: block;
}

.pl-preview-facts span {
  color: #98a2b3;
  font-size: 7px;
  font-weight: 700;
}

.pl-preview-facts strong {
  margin-top: 4px;
  color: #344054;
  font-size: 9px;
  line-height: 1.25;
}

.pl-preview-section {
  margin-top: 14px;
}

.pl-preview-section > span {
  color: #344054;
  font-size: 8px;
}

.pl-preview-section > p {
  margin: 6px 0 0;
  color: #475467;
  font-size: 9px;
  line-height: 1.5;
}

.pl-preview-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}

.pl-preview-chips span {
  font-size: 7.5px;
}

.pl-preview-benefits ul {
  display: grid;
  gap: 7px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.pl-preview-benefits li {
  position: relative;
  padding-left: 17px;
  color: #475467;
  font-size: 8.7px;
  line-height: 1.4;
}

.pl-preview-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--pl-success);
  font-size: 11px;
  font-weight: 900;
}

.pl-preview-actions {
  padding: 12px 18px 15px;
  border-top: 1px solid rgba(16, 24, 40, 0.07);
  background: rgba(255, 255, 255, 0.97);
}

.pl-preview-primary {
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #4d48dc, #4c3fc1);
  box-shadow: 0 14px 30px rgba(73, 69, 214, 0.23);
  font-size: 10px;
  font-weight: 820;
}

.pl-preview-actions > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.pl-preview-actions > div button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 11px;
  color: #344054;
  background: #fff;
  font-size: 8.5px;
  font-weight: 760;
}

.pl-preview-actions > div button:last-child.active {
  color: #4f46c7;
  border-color: rgba(73, 69, 214, 0.2);
  background: #f0efff;
}

.pl-preview-actions > div svg {
  width: 14px;
  height: 14px;
}

.pl-preview-empty {
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 30px;
  color: var(--pl-muted);
  text-align: center;
}

.pl-preview-empty > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #5c57cb;
  background: #f0efff;
  font-size: 20px;
}

.pl-preview-empty strong {
  font-family: var(--pl-heading);
  color: #344054;
}



















.pl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(7, 15, 31, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}



































.pl-detail-modal {
  position: relative;
  width: min(940px, 100%);
}

.pl-detail-modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 5;
}

.pl-detail-modal > header {
  min-height: 235px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 34px 68px 34px 34px;
  color: #fff;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.22), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--pl-category) 80%, #111827), color-mix(in srgb, var(--pl-category) 38%, #fff));
}

.pl-detail-modal > header img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 45px;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.23));
}

.pl-detail-modal > header span {
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.pl-detail-modal > header h2 {
  margin: 7px 0 9px;
  font-family: var(--pl-heading);
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.pl-detail-modal > header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.6;
}

.pl-detail-modal-body {
  padding: 24px 28px 28px;
}

.pl-detail-modal-body > section {
  margin-top: 22px;
}

.pl-detail-modal-body > section:first-child {
  margin-top: 0;
}

.pl-detail-modal-body > section > p {
  margin: 8px 0 0;
  color: #475467;
  font-size: 11px;
  line-height: 1.7;
}

.pl-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.pl-detail-facts > div {
  padding: 14px;
  border: 1px solid var(--pl-line);
  border-radius: 14px;
  background: #f9fafc;
}

.pl-detail-facts span,
.pl-detail-facts strong {
  display: block;
}

.pl-detail-facts span {
  color: #98a2b3;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pl-detail-facts strong {
  margin-top: 6px;
  color: #344054;
  font-size: 11px;
}

.pl-detail-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.pl-detail-list article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--pl-line);
  border-radius: 13px;
}

.pl-detail-list em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #4f46c7;
  background: #f0efff;
  font-size: 9px;
  font-style: normal;
  font-weight: 850;
}

.pl-detail-list strong {
  font-size: 11px;
}

.pl-detail-list p {
  margin: 4px 0 0;
  color: var(--pl-muted);
  font-size: 9px;
  line-height: 1.55;
}

.pl-detail-modal > footer {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 18px;
  border-top: 1px solid var(--pl-line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
}

.pl-detail-modal > footer button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--pl-line);
  border-radius: 12px;
  color: #475467;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
}

.pl-detail-modal > footer button:last-child {
  color: #fff;
  border-color: transparent;
  background: var(--pl-accent);
}

.pl-toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 300;
  max-width: 320px;
  padding: 12px 15px;
  border-radius: 12px;
  color: #fff;
  background: rgba(13, 24, 46, 0.94);
  box-shadow: 0 18px 50px rgba(3, 10, 25, 0.25);
  font-size: 10px;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.pl-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.pl-loading {
  min-height: 620px;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
}

.pl-loading-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 54px rgba(73, 69, 214, 0.18);
  animation: plPulse 1.6s ease-in-out infinite;
}

.pl-loading-mark img {
  width: 43px;
  height: 43px;
}

.pl-loading strong {
  font-family: var(--pl-heading);
  font-size: 19px;
}

.pl-loading > span {
  margin-top: 7px;
  color: var(--pl-muted);
  font-size: 10px;
}

@keyframes plPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Counselor portal integration */
.counselor-project-library-host .pl-app {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.counselor-project-library-host .pl-header {
  padding-top: 5px;
}





/* Standalone shell */
.project-library-standalone-page {
  min-height: 100vh;
  margin: 0;
  color: var(--pl-ink);
  font-family: var(--pl-body);
  background:
    radial-gradient(circle at 78% 0%, rgba(73, 69, 214, 0.08), transparent 30%),
    linear-gradient(180deg, #fbfcff 0%, #f5f6fa 100%);
}

.pl-standalone-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
}

.pl-standalone-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 25px 16px;
  border-right: 1px solid rgba(16, 24, 40, 0.07);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px);
}

.pl-standalone-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 7px 21px;
  color: var(--pl-ink);
  text-decoration: none;
}

.pl-standalone-brand img {
  width: 42px;
  height: 42px;
}

.pl-standalone-brand strong,
.pl-standalone-brand span {
  display: block;
}

.pl-standalone-brand strong {
  font-family: var(--pl-heading);
  font-size: 15px;
  letter-spacing: -0.03em;
}

.pl-standalone-brand span {
  margin-top: 2px;
  color: var(--pl-muted);
  font-size: 9px;
}

.pl-standalone-nav {
  display: grid;
  gap: 6px;
  padding-top: 19px;
  border-top: 1px solid var(--pl-line);
}

.pl-standalone-nav a,
.pl-standalone-nav span {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-radius: 13px;
  color: #667085;
  text-decoration: none;
  font-size: 11px;
  font-weight: 740;
}

.pl-standalone-nav span.active {
  color: #443fc1;
  background: #f0efff;
}

.pl-standalone-access-card {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(145deg, #4e49db, #8b50bd);
  box-shadow: 0 18px 40px rgba(73, 69, 214, 0.2);
}

.pl-standalone-access-card strong {
  display: block;
  font-family: var(--pl-heading);
  font-size: 13px;
}

.pl-standalone-access-card p {
  margin: 7px 0 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 9px;
  line-height: 1.5;
}

.pl-standalone-access-card a {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #3732a4;
  background: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 820;
}

.pl-standalone-main {
  min-width: 0;
  padding: 12px 30px 80px;
}

.pl-standalone-topbar {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.pl-standalone-topbar a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--pl-line);
  border-radius: 11px;
  color: #475467;
  background: #fff;
  text-decoration: none;
  font-size: 9px;
  font-weight: 780;
}

.pl-standalone-topbar a.primary {
  color: #fff;
  border-color: transparent;
  background: var(--pl-accent);
}

.pl-standalone-library {
  width: min(100%, 1460px);
  margin: 0 auto;
}

@media (max-width: 1320px) {
  .pl-app,
  .counselor-project-library-host .pl-app {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
  }

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

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

@media (max-width: 1060px) {
  .pl-app,
  .counselor-project-library-host .pl-app {
    display: block;
  }

  .pl-preview-panel {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 150;
    width: min(420px, 100%);
    height: 100vh;
    min-height: 0;
    border-radius: 0;
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .pl-mobile-preview-open .pl-preview-panel {
    transform: translateX(0);
  }

  .pl-preview-close {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 11px;
    color: #344054;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    font-size: 20px;
  }

  .pl-preview-save {
    right: 58px;
  }


}

@media (max-width: 760px) {
  #project-library-view {
    width: 100%;
  }

  .pl-main-column {
    padding-bottom: 120px;
  }

  .pl-header {
    display: block;
    padding-top: 14px;
  }

  .pl-title-group h1 {
    font-size: 40px;
  }

  .pl-context-control {
    justify-items: start;
    margin-top: 15px;
  }

  .pl-search-field {
    min-height: 58px;
    padding: 0 14px;
  }

  .pl-search-field input {
    height: 54px;
    font-size: 13px;
  }

  .pl-query-suggestions {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .pl-query-suggestions::-webkit-scrollbar {
    display: none;
  }

  .pl-query-suggestions button {
    flex: 0 0 auto;
  }

  .pl-section-heading {
    align-items: flex-start;
  }

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

  .pl-collection-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pl-collection-grid::-webkit-scrollbar {
    display: none;
  }

  .pl-collection-card {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }

  .pl-filter-toolbar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .pl-filter-toolbar::-webkit-scrollbar {
    display: none;
  }

  .pl-filter-button,
  .pl-saved-toggle,
  .pl-compact-select,
  .pl-sort-select {
    flex: 0 0 auto;
  }

  .pl-sort-select {
    margin-left: 0;
  }

  .pl-advanced-filters {
    grid-template-columns: 1fr;
  }

  .pl-advanced-actions {
    justify-content: flex-end;
  }

  .pl-result-grid {
    grid-template-columns: 1fr;
  }

  .pl-project-cover {
    height: 155px;
  }

  .pl-project-cover > img {
    width: 155px;
    height: 155px;
  }

  .pl-project-card h3 {
    min-height: 0;
    font-size: 16px;
  }

  .pl-project-card-body > p {
    min-height: 0;
    font-size: 10px;
  }

  .pl-project-meta,
  .pl-project-artifact strong,
  .pl-match-reason {
    font-size: 9px;
  }

  .pl-skill-list span {
    font-size: 8px;
  }







  .pl-modal-backdrop {
    padding: 8px;
  }



  .pl-detail-modal > header {
    grid-template-columns: 90px minmax(0, 1fr);
    gap: 16px;
    min-height: 180px;
    padding: 26px 52px 26px 20px;
  }

  .pl-detail-modal > header img {
    width: 90px;
    height: 90px;
    border-radius: 24px;
  }

  .pl-detail-modal > header h2 {
    font-size: 24px;
  }

  .pl-detail-facts {
    grid-template-columns: 1fr;
  }

  .pl-standalone-shell {
    display: block;
  }

  .pl-standalone-sidebar {
    position: static;
    height: auto;
    padding: 14px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--pl-line);
  }

  .pl-standalone-nav,
  .pl-standalone-access-card {
    display: none;
  }

  .pl-standalone-brand {
    padding: 0;
  }

  .pl-standalone-main {
    padding: 0 16px 70px;
  }

  .pl-standalone-topbar {
    min-height: 52px;
  }
}

/* Standalone access and checkout */
.pl-standalone-access-card button,
.pl-standalone-topbar button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.pl-standalone-access-card button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #3732a4;
  background: #fff;
  font-size: 9px;
  font-weight: 820;
}

.pl-standalone-topbar button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border-radius: 11px;
  color: #475467;
  background: #fff;
  font-size: 9px;
  font-weight: 780;
}

.pl-standalone-topbar button.primary {
  color: #fff;
  background: var(--pl-accent);
}

.pl-access-backdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(12, 20, 38, 0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pl-access-modal {
  position: relative;
  width: min(100%, 590px);
  max-height: min(850px, calc(100vh - 48px));
  overflow: auto;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  background:
    radial-gradient(circle at 95% 0%, rgba(100, 91, 235, 0.12), transparent 32%),
    #fff;
  box-shadow: 0 32px 90px rgba(11, 20, 42, 0.28);
}

.pl-access-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pl-line);
  border-radius: 50%;
  color: #667085;
  background: rgba(255, 255, 255, 0.86);
  font-size: 22px;
  cursor: pointer;
}

.pl-access-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border-radius: 999px;
  color: #514bce;
  background: #f0efff;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pl-access-modal h2 {
  max-width: 480px;
  margin: 18px 0 12px;
  color: var(--pl-ink);
  font-family: var(--pl-heading);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.pl-access-intro {
  margin: 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.65;
}

.pl-access-intro strong {
  color: #344054;
}

.pl-access-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}

.pl-access-value-grid div {
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--pl-line);
  border-radius: 15px;
  background: rgba(248, 249, 252, 0.75);
}

.pl-access-value-grid strong,
.pl-access-value-grid span {
  display: block;
}

.pl-access-value-grid strong {
  color: #3f3ab7;
  font-family: var(--pl-heading);
  font-size: 22px;
}

.pl-access-value-grid span {
  margin-top: 3px;
  color: #667085;
  font-size: 9px;
  line-height: 1.35;
}

.pl-access-email {
  display: grid;
  gap: 7px;
}

.pl-access-email span {
  color: #344054;
  font-size: 10px;
  font-weight: 800;
}

.pl-access-email input {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid #d9dce6;
  border-radius: 13px;
  outline: 0;
  color: #1d2939;
  background: #fff;
  font: inherit;
  font-size: 13px;
}

.pl-access-email input:focus {
  border-color: #7770e6;
  box-shadow: 0 0 0 4px rgba(99, 91, 225, 0.1);
}

.pl-access-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 13px 0;
}

.pl-access-plans label {
  cursor: pointer;
}

.pl-access-plans input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pl-access-plans label > span {
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 13px;
  border: 1px solid #dfe2eb;
  border-radius: 14px;
  background: #fff;
  transition: 160ms ease;
}

.pl-access-plans input:checked + span {
  border-color: #665fe0;
  background: #f5f4ff;
  box-shadow: inset 0 0 0 1px #665fe0;
}

.pl-access-plans strong {
  color: #344054;
  font-size: 12px;
}

.pl-access-plans small {
  margin-top: 4px;
  color: #7a8496;
  font-size: 9px;
}

.pl-access-primary,
.pl-google-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  font: inherit;
  font-size: 11px;
  font-weight: 820;
  cursor: pointer;
}

.pl-access-primary {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #4b45d4, #6c5ce7);
  box-shadow: 0 14px 30px rgba(76, 69, 212, 0.22);
}

.pl-google-button {
  margin-top: 24px;
  border: 1px solid #dfe2eb;
  color: #344054;
  background: #fff;
}

.pl-google-button img {
  width: 18px;
  height: 18px;
}

.pl-access-primary:disabled,
.pl-google-button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.pl-access-status {
  min-height: 18px;
  margin: 9px 0 0;
  color: #c23b4a;
  font-size: 10px;
  text-align: center;
}

.pl-access-existing {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  color: #7a8496;
  font-size: 10px;
}

.pl-access-existing button {
  padding: 0;
  border: 0;
  color: #5049c7;
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pl-access-setup-note {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #e3e0ff;
  border-radius: 16px;
  background: #f7f6ff;
}

.pl-access-setup-note strong {
  color: #3732a4;
  font-size: 13px;
}

.pl-access-setup-note p {
  margin: 7px 0 12px;
  color: #667085;
  font-size: 11px;
  line-height: 1.6;
}

.pl-access-setup-note a {
  color: #5049c7;
  font-size: 10px;
  font-weight: 800;
}

.pl-access-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 16px 0;
}

.pl-access-divider span {
  height: 1px;
  background: var(--pl-line);
}

.pl-access-divider em {
  color: #98a2b3;
  font-size: 9px;
  font-style: normal;
}

.pl-page-status {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 360px;
  padding: 12px 15px;
  border-radius: 12px;
  color: #fff;
  background: #28344a;
  box-shadow: 0 16px 40px rgba(14, 22, 40, 0.22);
  font-size: 11px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 180ms ease;
}

.pl-page-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.pl-page-status.success {
  background: #18794e;
}

.pl-page-status.error {
  background: #b4233a;
}

@media (max-width: 620px) {
  .pl-access-backdrop {
    align-items: end;
    padding: 0;
  }

  .pl-access-modal {
    width: 100%;
    max-height: 92vh;
    padding: 28px 20px calc(24px + env(safe-area-inset-bottom));
    border-radius: 25px 25px 0 0;
  }

  .pl-access-value-grid,
  .pl-access-plans {
    grid-template-columns: 1fr;
  }
}

/* Project card action polish: keep the preview affordance square and fully visible. */
.pl-card-actions {
  align-items: center;
}

.pl-open-button {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(73, 69, 214, 0.16);
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(180deg, #5d59e7 0%, #3f42c9 100%);
  box-shadow: 0 10px 22px rgba(63, 66, 201, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.pl-open-button svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pl-open-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #6864ef 0%, #4649d4 100%);
  box-shadow: 0 14px 28px rgba(63, 66, 201, 0.25);
}

.pl-open-button:focus-visible {
  outline: 3px solid rgba(73, 69, 214, 0.24);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .pl-open-button {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
}
