.holos-passport-account {
  --hp-cocoa: #5b2d20;
  --hp-cocoa-deep: #321812;
  --hp-orange: #ef7b35;
  --hp-cream: #fffaf4;
  color: inherit;
  font: inherit;
}

.holos-passport-account__trigger {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 3px 12px 3px 4px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.holos-passport-account__trigger:hover,
.holos-passport-account__trigger:focus-visible {
  background: rgba(255, 255, 255, .2);
  border-color: currentColor;
  color: inherit;
  outline: none;
  text-decoration: none;
  transform: translateY(-1px);
}

.holos-passport-account__trigger-label {
  font-size: 13px;
  font-weight: 700;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.holos-passport-account__avatar {
  align-items: center;
  background: linear-gradient(145deg, var(--hp-orange), var(--hp-cocoa));
  border: 2px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(58, 22, 9, .24);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  letter-spacing: -.02em;
  position: relative;
  width: 30px;
}

.holos-passport-account__avatar svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.holos-passport-account__avatar--guest {
  background: rgba(255, 255, 255, .16);
}

.holos-passport-account__avatar--large {
  border-width: 3px;
  font-size: 18px;
  height: 54px;
  width: 54px;
}

.holos-passport-account__status {
  background: #28c786;
  border: 2px solid #fff;
  border-radius: 50%;
  bottom: -1px;
  height: 10px;
  position: absolute;
  right: -1px;
  width: 10px;
}

.holos-passport-account__dialog {
  background: transparent;
  border: 0;
  color: var(--hp-cocoa-deep);
  margin: auto;
  max-height: calc(100vh - 32px);
  max-width: calc(100vw - 24px);
  overflow: visible;
  padding: 0;
  width: 390px;
}

.holos-passport-account__dialog::backdrop {
  background: rgba(24, 12, 9, .6);
  backdrop-filter: blur(5px);
}

.holos-passport-account__panel {
  background: var(--hp-cream);
  border: 1px solid rgba(91, 45, 32, .12);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(35, 14, 8, .34);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px;
  position: relative;
}

.holos-passport-account__close {
  align-items: center;
  background: #f1e8df;
  border: 0;
  border-radius: 50%;
  color: var(--hp-cocoa);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 34px;
}

.holos-passport-account__close:hover,
.holos-passport-account__close:focus-visible {
  background: #e6d6c7;
  outline: 2px solid var(--hp-orange);
  outline-offset: 2px;
}

.holos-passport-account__close svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  width: 18px;
}

.holos-passport-account__brand {
  align-items: center;
  background: linear-gradient(145deg, var(--hp-orange), var(--hp-cocoa));
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(120, 53, 24, .2);
  color: #fff;
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 52px;
  justify-content: center;
  margin-bottom: 22px;
  width: 52px;
}

.holos-passport-account__eyebrow {
  color: #a4603f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 44px 6px 0;
  text-transform: uppercase;
}

.holos-passport-account__title {
  color: var(--hp-cocoa-deep);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 0;
}

.holos-passport-account__title--user {
  font-size: 22px;
}

.holos-passport-account__description,
.holos-passport-account__hint,
.holos-passport-account__email {
  color: #765d54;
  font-size: 14px;
  line-height: 1.55;
}

.holos-passport-account__description {
  margin: 13px 0 22px;
}

.holos-passport-account__hint {
  font-size: 12px;
  margin: 16px 4px 0;
  text-align: center;
}

.holos-passport-account__email {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.holos-passport-account__primary,
.holos-passport-account__secondary,
.holos-passport-account__danger {
  align-items: center;
  border-radius: 13px;
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  justify-content: center;
  min-height: 48px;
  padding: 11px 16px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.holos-passport-account__primary {
  background: linear-gradient(135deg, #6c42e8, #914de4);
  border: 0;
  box-shadow: 0 10px 24px rgba(103, 63, 220, .22);
  color: #fff;
  gap: 10px;
  justify-content: space-between;
}

.holos-passport-account__primary:hover,
.holos-passport-account__primary:focus-visible {
  box-shadow: 0 13px 28px rgba(103, 63, 220, .3);
  color: #fff;
  outline: 2px solid #bfa9ff;
  outline-offset: 2px;
  text-decoration: none;
}

.holos-passport-account__secondary {
  background: #fff;
  border: 1px solid #d9c8ba;
  color: var(--hp-cocoa);
}

.holos-passport-account__secondary:hover,
.holos-passport-account__secondary:focus-visible {
  background: #f5ece4;
  color: var(--hp-cocoa-deep);
  outline: none;
  text-decoration: none;
}

.holos-passport-account__danger {
  background: transparent;
  border: 0;
  color: #9d3d34;
  min-height: 40px;
}

.holos-passport-account__danger:hover,
.holos-passport-account__danger:focus-visible {
  background: #fff0ed;
  color: #7d211d;
  outline: none;
}

.holos-passport-account__divider {
  align-items: center;
  color: #9b857b;
  display: flex;
  font-size: 11px;
  gap: 12px;
  margin: 16px 0;
  text-transform: uppercase;
}

.holos-passport-account__divider::before,
.holos-passport-account__divider::after {
  background: #e3d8cf;
  content: '';
  flex: 1;
  height: 1px;
}

.holos-passport-account__identity {
  align-items: center;
  display: flex;
  gap: 14px;
  padding-right: 34px;
}

.holos-passport-account__badge {
  align-items: center;
  background: #e9f8f1;
  border-radius: 10px;
  color: #167653;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  gap: 8px;
  margin-top: 20px;
  padding: 9px 12px;
}

.holos-passport-account__badge span {
  background: #28c786;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.holos-passport-account__menu {
  border-bottom: 1px solid #e6dbd2;
  border-top: 1px solid #e6dbd2;
  margin: 18px 0;
}

.holos-passport-account__menu a {
  align-items: center;
  color: var(--hp-cocoa-deep);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 13px 3px;
  text-decoration: none;
}

.holos-passport-account__menu a + a {
  border-top: 1px solid #eee5de;
}

.holos-passport-account__menu a:hover,
.holos-passport-account__menu a:focus-visible {
  color: #b64d24;
  outline: none;
  text-decoration: none;
}

.holos-passport-account__menu b {
  font-size: 16px;
}

.holos-passport-account__notice {
  background: #f4ebe3;
  border-radius: 14px;
  display: grid;
  gap: 5px;
  margin: 20px 0 14px;
  padding: 14px;
}

.holos-passport-account__notice strong {
  color: var(--hp-cocoa-deep);
  font-size: 14px;
}

.holos-passport-account__notice span {
  color: #765d54;
  font-size: 12px;
  line-height: 1.45;
}

.holos-passport-account__actions {
  display: grid;
  gap: 5px;
}

.holos-passport-account__actions form {
  margin: 0;
}

@media (max-width: 720px) {
  .holos-passport-account__trigger {
    border-color: transparent;
    min-height: 36px;
    padding: 2px;
  }

  .holos-passport-account__trigger-label {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .holos-passport-account__panel {
    border-radius: 20px;
    padding: 26px 22px;
  }

  .holos-passport-account__title {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .holos-passport-account__trigger {
    transition: none;
  }
}
