.my-page-back {
  justify-self: start;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.my-page-back:hover,
.my-page-back:focus-visible {
  border-color: var(--line-strong);
  color: var(--ink);
  outline: none;
}

.my-whoami-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.my-whoami-summary strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 850;
}

.my-whoami-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.my-whoami-export-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.my-whoami-copy-menu {
  position: relative;
  display: inline-flex;
}

.my-whoami-copy-options {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  display: none;
  min-width: 150px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
  padding: 5px;
}

.my-whoami-copy-menu:hover .my-whoami-copy-options,
.my-whoami-copy-menu:focus-within .my-whoami-copy-options {
  display: grid;
  gap: 4px;
}

.my-whoami-copy-options button {
  justify-content: flex-start;
  width: 100%;
  border-color: transparent;
  background: #fff;
  color: #111;
  text-align: left;
}

.my-whoami-copy-options button:hover,
.my-whoami-copy-options button:focus-visible {
  background: #111;
  color: #fff;
}

.my-whoami-summary button,
.my-whoami-answer-button {
  min-height: 34px;
  border: 1px solid #111;
  border-radius: 8px;
  background: #111;
  color: #fff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.my-whoami-summary button:hover,
.my-whoami-summary button:focus-visible,
.my-whoami-answer-button:hover,
.my-whoami-answer-button:focus-visible {
  background: #2a2a2a;
  outline: none;
}

.my-whoami-notice {
  justify-self: start;
  margin: -8px 0 0;
  border: 1px solid rgba(0, 186, 124, 0.28);
  border-radius: 8px;
  background: rgba(0, 186, 124, 0.08);
  color: #007a55;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.my-whoami-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scrollbar-width: thin;
}

.my-whoami-filter-block {
  display: grid;
  gap: 6px;
  margin-top: -4px;
}

.my-whoami-filter-block + .my-whoami-filter-block {
  margin-top: -18px;
}

.my-whoami-filter-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.2;
}

.my-whoami-filter-chip {
  width: 76px;
  min-height: 54px;
  display: inline-grid;
  align-items: center;
  justify-items: center;
  gap: 2px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 7px 8px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  text-align: center;
}

.my-whoami-filter-chip span {
  max-width: 100%;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.my-whoami-filter-chip:hover,
.my-whoami-filter-chip:focus-visible {
  border-color: var(--line-strong);
  background: #f8faf9;
  outline: none;
}

.my-whoami-filter-chip.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}

.my-whoami-filter-chip em {
  color: inherit;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  opacity: 0.72;
}

.my-whoami-list {
  display: grid;
  gap: 18px;
}

.my-whoami-group {
  display: grid;
  gap: 8px;
}

.my-whoami-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 2px 8px;
}

.my-whoami-group-head h2 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.35;
}

.my-whoami-group-head span {
  min-width: 44px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: right;
}

.my-whoami-group-list {
  display: grid;
  gap: 6px;
}

.my-whoami-question {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.my-whoami-question.is-open {
  border-color: var(--line-strong);
}

.my-whoami-question-title {
  width: 100%;
  min-height: 46px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  text-align: left;
  cursor: pointer;
}

.my-whoami-question-title:hover,
.my-whoami-question-title:focus-visible {
  background: #f8faf9;
  outline: none;
}

.my-whoami-question-title span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.my-whoami-question-title strong {
  min-width: 0;
  font-size: 13px;
  font-weight: 780;
  line-height: 1.35;
}

.my-whoami-question-title em {
  min-width: 52px;
  border-radius: 999px;
  padding: 4px 7px;
  color: #536471;
  background: #eef2f4;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.my-whoami-question.is-answered .my-whoami-question-title em {
  color: #007a55;
  background: rgba(0, 186, 124, 0.12);
}

.my-whoami-question.is-unanswered .my-whoami-question-title em {
  color: #8a3d00;
  background: rgba(245, 158, 11, 0.16);
}

.my-whoami-answer {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: #fbfbfb;
  padding: 12px 14px 14px 52px;
}

.my-whoami-answer-list {
  display: grid;
  gap: 8px;
}

.my-whoami-answer-item {
  display: grid;
  gap: 6px;
}

.my-whoami-answer-item + .my-whoami-answer-item {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}

.my-whoami-answer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.my-whoami-answer-meta strong {
  color: #007a55;
  font-size: 12px;
  font-weight: 850;
}

.my-whoami-answer-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.my-whoami-answer p {
  margin: 0;
  color: #1f2933;
  font-size: 14px;
  line-height: 1.7;
}

.my-whoami-answer .my-whoami-empty {
  color: var(--muted);
}

.my-whoami-answer-button {
  justify-self: start;
}

.whoami-prompt-modal {
  width: min(100%, 620px);
}

.whoami-prompt-modal h2 {
  margin: 8px 0 14px;
  font-size: 19px;
  line-height: 1.35;
}

.whoami-prompt-preview {
  max-height: min(52vh, 420px);
  overflow: auto;
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf9;
  color: #1f2933;
  padding: 14px;
  white-space: pre-wrap;
  word-break: keep-all;
  overflow-wrap: anywhere;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.7;
}

@media (max-width: 820px) {
  .my-page-menu {
    grid-template-columns: 1fr;
  }

  .my-whoami-export-actions {
    width: 100%;
    margin-left: 0;
  }

  .my-whoami-question-title {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .my-whoami-question-title em {
    grid-column: 2;
    justify-self: start;
  }

  .my-whoami-answer {
    padding-left: 46px;
  }
}
