/* Keep the three creation tools prominent and secondary controls discoverable. */
.nav .nav-button,
.nav .nav-button span:not(.nav-icon),
.nav .nav-label {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  letter-spacing: 0;
}
.nav .nav-button,
.nav .nav-button span:not(.nav-icon) {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.nav .nav-button.active,
.nav .nav-button.active span:not(.nav-icon) {
  font-weight: 600;
}
.nav .nav-button span:not(.nav-icon) {
  max-width: none;
}
.nav .nav-label {
  font-size: 12px;
}
#charSwitcherWrap .label {
  white-space: nowrap;
}
.nav .nav-billing {
  margin-top: 12px;
}
.workspace-disclosure {
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.workspace-disclosure > summary {
  padding: 14px 16px;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}
.workspace-disclosure > .form-grid {
  padding: 0 16px 16px;
}
.workspace-disclosure > .panel {
  margin: 0;
  border: 0;
  box-shadow: none;
}
.workspace-disclosure summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.home-character {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
}
.home-character strong {
  margin-left: 8px;
  color: var(--text);
}
.home-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-actions .panel-body {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 16px;
}
.home-actions h2 {
  margin: 0;
  font-size: 22px;
}
.home-actions p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.home-actions .btn {
  margin-top: auto;
  white-space: normal;
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px !important;
  font-weight: 600;
  letter-spacing: 0;
}
#page-character > .grid-2 {
  display: block;
  max-width: 900px;
}
#characterStory {
  max-width: 900px;
}
#characterStory > summary {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}
.character-story-body {
  padding: 0 16px 16px;
}
.character-story-body h2 {
  font-size: 20px;
}
.workspace-duplicate-action {
  display: none;
}
#studioMore {
  margin-top: 0;
}
#photoDetails .context-grid,
#photoDetails #ctxSummary {
  margin: 12px 16px;
}
.results-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.results-switch .btn {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 0;
}
.results-switch .btn[aria-pressed="true"] {
  color: var(--gold) !important;
  border-color: var(--gold) !important;
  background: rgba(240, 215, 140, 0.08) !important;
}
.result-panel[hidden] {
  display: none;
}
@media (max-width: 1100px) {
  .home-actions {
    grid-template-columns: 1fr;
  }
}
