/* Guide pilgrims — parity with Maui GuidePilgrimsPage / Detail / SelectGuideProductPopup
   Dark surfaces use Maui Gray600 literal (#404040) — NOT remapped --dz-gray-600. */

.dz-guide {
  --dz-guide-top-offset: 12px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dz-guide__wash {
  position: absolute;
  top: calc(-1 * var(--dz-guide-top-offset));
  left: 0;
  right: 0;
  width: auto;
  height: calc(var(--dz-guide-top-offset) + 280px);
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(93, 24, 159, 0.3) 0%,
    rgba(93, 24, 159, 0.16) 42%,
    rgba(93, 24, 159, 0.05) 72%,
    transparent 100%
  );
}

@media (prefers-color-scheme: dark) {
  .dz-guide__wash {
    /* Maui wash stays #5D189F; slightly softer on dark page */
    background: linear-gradient(
      180deg,
      rgba(93, 24, 159, 0.28) 0%,
      rgba(93, 24, 159, 0.14) 45%,
      transparent 100%
    );
  }
}

.dz-guide__header {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  width: min(calc(100% - 40px), 440px);
  max-width: 440px;
  margin: 0 auto 8px;
  padding: 0;
  border-radius: 30px;
  background: #350066; /* Maui Primary */
  box-shadow: 0 6px 16px rgba(53, 0, 102, 0.3);
  box-sizing: border-box;
  direction: rtl;
}

@media (min-width: 900px) {
  .dz-guide__header {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  .dz-guide__header {
    background: #8a2be2; /* Maui Secondary */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  }
}

.dz-guide__header-title {
  grid-column: 2;
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  padding: 0 4px 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__back {
  grid-column: 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.dz-guide__back .dz-ico {
  width: 18px;
  height: 18px;
}

.dz-guide__header-spacer {
  grid-column: 1;
  width: 40px;
  height: 40px;
}

.dz-guide__body {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
  width: min(calc(100% - 40px), 440px);
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .dz-guide__body {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
}

.dz-guide__controls {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dz-guide__product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.dz-guide__product:disabled {
  cursor: default;
  opacity: 1;
}

.dz-guide__product-ico {
  display: grid;
  place-items: center;
  color: #350066; /* Primary */
}

.dz-guide__product-ico .dz-ico {
  width: 20px;
  height: 20px;
}

.dz-guide__product-kicker {
  margin: 0;
  font-size: 0.7rem;
  color: #919191; /* Gray400 */
}

.dz-guide__product-name {
  margin: 1px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #5d189f; /* PrimaryDark */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__product-date {
  margin: 1px 0 0;
  font-size: 0.7rem;
  color: #919191;
}

.dz-guide__product-chevron {
  color: #919191;
}

.dz-guide__product-chevron .dz-ico {
  width: 18px;
  height: 18px;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__product {
    background: #404040; /* Gray600 */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .dz-guide__product-ico {
    color: #9f58e1; /* SecondaryDark */
  }

  .dz-guide__product-kicker,
  .dz-guide__product-date,
  .dz-guide__product-chevron {
    color: #acacac; /* Gray300 */
  }

  .dz-guide__product-name {
    color: #fff;
  }
}

.dz-guide__window {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f3eefa;
}

.dz-guide__window-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #350066;
}

.dz-guide__window-hint {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #6e6e6e; /* Gray500 */
}

@media (prefers-color-scheme: dark) {
  .dz-guide__window {
    background: #2c1b42;
  }

  .dz-guide__window-label {
    color: #9f58e1; /* SecondaryDark */
  }

  .dz-guide__window-hint {
    color: #acacac; /* Gray300 */
  }
}

.dz-guide__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.dz-guide__stat {
  padding: 10px 8px;
  border-radius: 12px;
  text-align: center;
}

.dz-guide__stat--bought {
  background: #e8f5e9;
}

.dz-guide__stat--not {
  background: #ffebee;
}

.dz-guide__stat--cover {
  background: #f3eefa;
}

.dz-guide__stat-value {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.dz-guide__stat--bought .dz-guide__stat-value {
  color: #00a651;
}

.dz-guide__stat--not .dz-guide__stat-value {
  color: #c62828;
}

.dz-guide__stat--cover .dz-guide__stat-value {
  color: #350066;
}

.dz-guide__stat-label {
  margin: 2px 0 0;
  font-size: 0.7rem;
  color: #6e6e6e;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__stat--bought {
    background: #1b3a24;
  }

  .dz-guide__stat--not {
    background: #3a1b1b;
  }

  .dz-guide__stat--cover {
    background: #2c1b42;
  }

  .dz-guide__stat--bought .dz-guide__stat-value {
    color: #00a651;
  }

  .dz-guide__stat--not .dz-guide__stat-value {
    color: #c62828;
  }

  .dz-guide__stat--cover .dz-guide__stat-value {
    color: #9f58e1; /* SecondaryDark */
  }

  .dz-guide__stat-label {
    color: #acacac;
  }
}

.dz-guide__chips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dz-guide__chip {
  border: 0;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 0.75rem;
  font-family: inherit;
  background: #eee;
  color: #333;
  cursor: pointer;
}

.dz-guide__chip.is-all {
  background: #5d189f;
  color: #fff;
}

.dz-guide__chip.is-bought {
  background: #00a651;
  color: #fff;
}

.dz-guide__chip.is-not {
  background: #c62828;
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__chip {
    background: #444;
    color: #fff;
  }

  .dz-guide__chip.is-all {
    background: #5d189f;
    color: #fff;
  }

  .dz-guide__chip.is-bought {
    background: #00a651;
    color: #fff;
  }

  .dz-guide__chip.is-not {
    background: #c62828;
    color: #fff;
  }
}

.dz-guide__search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  height: 44px;
  padding: 0 10px;
  border-radius: 22px;
  border: 1px solid #919191; /* Gray400 */
  background: #fff;
  box-sizing: border-box;
}

.dz-guide__search-ico {
  color: #919191;
  display: grid;
  place-items: center;
}

.dz-guide__search-ico .dz-ico {
  width: 18px;
  height: 18px;
}

.dz-guide__search input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 16px; /* iOS Safari: avoid focus-zoom */
  color: #5d189f; /* PrimaryDark */
  min-width: 0;
}

.dz-guide__search input::placeholder {
  color: #919191;
}

.dz-guide__search-meta {
  font-size: 0.7rem;
  color: #919191;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__search {
    background: #404040;
    border-color: #6e6e6e; /* Gray500 */
  }

  .dz-guide__search-ico,
  .dz-guide__search-meta {
    color: #acacac;
  }

  .dz-guide__search input {
    color: #fff;
  }

  .dz-guide__search input::placeholder {
    color: #acacac;
  }
}

.dz-guide__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 24px;
}

.dz-guide__loading,
.dz-guide__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
  color: #6e6e6e;
}

.dz-guide__empty-ico {
  color: #350066;
  display: grid;
  place-items: center;
}

.dz-guide__empty-ico .dz-ico {
  width: 36px;
  height: 36px;
}

.dz-guide__empty-ico.is-muted {
  color: #919191;
}

.dz-guide__empty p {
  margin: 0;
  font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__loading,
  .dz-guide__empty {
    color: #acacac;
  }

  .dz-guide__empty-ico {
    color: #9f58e1; /* SecondaryDark */
  }

  .dz-guide__empty-ico.is-muted {
    color: #919191;
  }
}

.dz-guide__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dz-guide__card {
  display: grid;
  grid-template-columns: 4px 1fr;
  border: 0;
  border-radius: 12px;
  padding: 0;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  text-align: start;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  font: inherit;
  min-width: 0;
}

.dz-guide__card:disabled {
  cursor: default;
}

.dz-guide__card-strip {
  background: #9e9e9e;
  min-height: 100%;
  align-self: stretch;
}

.dz-guide__card-strip.is-bought {
  background: #00a651;
}

.dz-guide__card-strip.is-not {
  background: #c62828;
}

.dz-guide__card-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.dz-guide__card-title {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  color: #5d189f; /* PrimaryDark — Maui name color */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__card-status {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
}

.dz-guide__card-status.is-bought {
  color: #00a651;
}

.dz-guide__card-status.is-not {
  color: #c62828;
}

.dz-guide__card-meta {
  margin: 0;
  font-size: 0.625rem;
  color: #919191;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__card {
    background: #404040; /* Gray600 */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .dz-guide__card-title {
    color: #fff;
    font-weight: 800;
  }

  .dz-guide__card-meta {
    color: #acacac; /* Gray300 */
  }

  .dz-guide__card-status.is-bought {
    color: #00a651;
  }

  .dz-guide__card-status.is-not {
    color: #c62828;
  }
}

/* Detail person card — name + chips + coverage side-by-side */
.dz-guide__person-wrap {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.dz-guide__person {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
  direction: rtl;
}

.dz-guide__person-main {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.dz-guide__person-avatar {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(93, 24, 159, 0.12);
  color: #5d189f;
}

.dz-guide__person-avatar .dz-ico {
  width: 20px;
  height: 20px;
}

.dz-guide__person-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1 1 auto;
}

.dz-guide__person-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #5d189f;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__person-chips {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.dz-guide__person-chip {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(53, 0, 102, 0.06);
  color: #5a5a5a;
  font-size: 0.72rem;
  line-height: 1.2;
  min-width: 0;
}

.dz-guide__person-chip-ico {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: #7a4aad;
}

.dz-guide__person-chip-lbl {
  color: #7a7a7a;
  flex: 0 0 auto;
}

.dz-guide__person-chip-val {
  font-weight: 600;
  color: #404040;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  unicode-bidi: plaintext;
}

.dz-guide__person-stat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 76px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(93, 24, 159, 0.14), rgba(53, 0, 102, 0.06));
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  color: inherit;
}

.dz-guide__person-stat.is-open,
.dz-guide__person-stat:active {
  background: linear-gradient(160deg, rgba(93, 24, 159, 0.22), rgba(53, 0, 102, 0.1));
  box-shadow: inset 0 0 0 1px rgba(93, 24, 159, 0.18);
}

.dz-guide__person-stat-num {
  font-size: 0.92rem;
  font-weight: 700;
  color: #350066;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  unicode-bidi: plaintext;
}

.dz-guide__person-stat-num b {
  font-weight: 800;
}

.dz-guide__person-stat-sep {
  margin: 0 1px;
  font-weight: 600;
  opacity: 0.55;
}

.dz-guide__person-stat-help {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 7px 2px 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(93, 24, 159, 0.12);
}

.dz-guide__person-stat-lbl {
  font-size: 0.62rem;
  font-weight: 700;
  color: #7a4aad;
  white-space: nowrap;
}

.dz-guide__person-stat-info {
  width: 14px;
  height: 14px;
  color: #5d189f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.dz-guide__person-stat-info .dz-ico {
  width: 13px;
  height: 13px;
}

.dz-guide__person-hint {
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(93, 24, 159, 0.08), rgba(53, 0, 102, 0.03));
  border: 1px solid rgba(93, 24, 159, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  box-sizing: border-box;
}

.dz-guide__person-hint p {
  margin: 0 0 7px;
  font-size: 0.68rem;
  line-height: 1.6;
  color: #505050;
  text-align: right;
}

.dz-guide__person-hint p:last-child {
  margin-bottom: 0;
}

.dz-guide__person-hint-lead {
  color: #350066;
  font-weight: 650;
}

.dz-guide__person-hint-stat {
  color: #5d189f;
  font-weight: 700;
}

.dz-guide__person-hint-body {
  color: #3f3f3f;
}

.dz-guide__person-hint-note {
  color: #6b5a7d;
  font-size: 0.64rem;
  opacity: 0.95;
  border-top: 1px dashed rgba(93, 24, 159, 0.18);
  margin-top: 2px !important;
  padding-top: 6px;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__person {
    background: #404040; /* Gray600 */
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .dz-guide__person-avatar {
    background: rgba(159, 88, 225, 0.22);
    color: #d2b4f8;
  }

  .dz-guide__person-name {
    color: #fff;
  }

  .dz-guide__person-chip {
    background: rgba(255, 255, 255, 0.08);
    color: #d0d0d0;
  }

  .dz-guide__person-chip-ico {
    color: #c39aef;
  }

  .dz-guide__person-chip-lbl {
    color: #acacac;
  }

  .dz-guide__person-chip-val {
    color: #eee;
  }

  .dz-guide__person-stat {
    background: linear-gradient(160deg, rgba(159, 88, 225, 0.28), rgba(138, 43, 226, 0.12));
  }

  .dz-guide__person-stat.is-open,
  .dz-guide__person-stat:active {
    background: linear-gradient(160deg, rgba(159, 88, 225, 0.36), rgba(138, 43, 226, 0.18));
    box-shadow: inset 0 0 0 1px rgba(210, 180, 248, 0.28);
  }

  .dz-guide__person-stat-num {
    color: #e8d4ff;
  }

  .dz-guide__person-stat-help {
    background: rgba(0, 0, 0, 0.22);
    box-shadow: 0 0 0 1px rgba(210, 180, 248, 0.2);
  }

  .dz-guide__person-stat-lbl {
    color: #d2b4f8;
  }

  .dz-guide__person-stat-info {
    color: #e8d4ff;
  }

  .dz-guide__person-hint {
    background: linear-gradient(165deg, rgba(159, 88, 225, 0.18), rgba(138, 43, 226, 0.08));
    border-color: rgba(159, 88, 225, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .dz-guide__person-hint p {
    color: #d8d8d8;
  }

  .dz-guide__person-hint-lead {
    color: #e8d4ff;
  }

  .dz-guide__person-hint-stat {
    color: #d2b4f8;
  }

  .dz-guide__person-hint-body {
    color: #e6e6e6;
  }

  .dz-guide__person-hint-note {
    color: #cbb8e0;
    border-top-color: rgba(210, 180, 248, 0.28);
  }
}

@media (max-width: 360px) {
  .dz-guide__person {
    flex-wrap: wrap;
  }

  .dz-guide__person-stat {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    min-width: 0;
  }
}

/* Purchase cards — colored edge on inline-start (= right in RTL) */
.dz-guide__purchase-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  min-width: 0;
  border-inline-start: 4px solid transparent;
  box-sizing: border-box;
}

.dz-guide__purchase-card.is-bought {
  border-inline-start-color: #00a651;
}

.dz-guide__purchase-card.is-not {
  border-inline-start-color: #c62828;
}

.dz-guide__purchase-body {
  padding: 10px 8px 10px 4px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dz-guide__purchase-name {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5d189f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
  line-height: 1.35;
}

.dz-guide__purchase-publish {
  margin: 0;
  font-size: 0.625rem;
  color: #919191;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__purchase-buy {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dz-guide__purchase-buy.is-bought {
  color: #00a651;
}

.dz-guide__purchase-buy.is-not {
  color: #c62828;
}

.dz-guide__purchase-ico {
  padding: 0 8px 0 4px;
  display: grid;
  place-items: center;
}

.dz-guide__purchase-ico .dz-ico {
  width: 20px;
  height: 20px;
}

.dz-guide__purchase-ico.is-bought {
  color: #00a651;
}

.dz-guide__purchase-ico.is-not {
  color: #c62828;
}

@media (prefers-color-scheme: dark) {
  .dz-guide__purchase-card {
    background: #404040;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  }

  .dz-guide__purchase-name {
    color: #fff;
  }

  .dz-guide__purchase-publish {
    color: #acacac;
  }

  .dz-guide__purchase-buy.is-bought,
  .dz-guide__purchase-ico.is-bought {
    color: #00a651;
  }

  .dz-guide__purchase-buy.is-not,
  .dz-guide__purchase-ico.is-not {
    color: #c62828;
  }
}

/* Product picker — Maui SelectGuideProductPopup */
.dz-guide-picker {
  background: #fff;
  border-color: #e1e1e1;
}

.dz-guide-picker__title {
  color: #350066; /* Primary — بنفش تیره */
}

.dz-guide-picker__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 0;
  max-height: min(46vh, 360px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.dz-guide-picker__item {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
  text-align: start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #f7f7f7;
  color: #5d189f;
  font: inherit;
  cursor: pointer;
  box-sizing: border-box;
}

.dz-guide-picker__item.is-selected {
  background: #f3eefa;
  border-color: #5d189f;
}

.dz-guide-picker__name {
  font-size: 0.875rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.dz-guide-picker__date {
  font-size: 0.7rem;
  color: #919191;
}

@media (prefers-color-scheme: dark) {
  .dz-guide-picker {
    background: #404040; /* Gray600 popup surface */
    border-color: #555;
  }

  .dz-guide-picker__title {
    color: #fff;
  }

  .dz-guide-picker__item {
    background: #2a2a2a;
    border-color: #444;
    color: #fff;
  }

  .dz-guide-picker__item.is-selected {
    background: #3d2858;
    border-color: #5d189f;
  }

  .dz-guide-picker__date {
    color: #acacac;
  }
}
