.resume-preview-app {
  min-height: 100vh;
  background: #f5f5f3;
}
.profile-picker {
  position: relative;
  z-index: 70;
  background: #11171c;
  color: #edf2f5;
  padding: 18px clamp(18px, 4vw, 56px) 21px;
  font:
    13px/1.4 system-ui,
    sans-serif;
  border-bottom: 1px solid #36414b;
}
.profile-picker-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}
.profile-picker-heading > span:first-child {
  font-weight: 650;
  letter-spacing: 0.02em;
}
.profile-picker-heading > span:last-child {
  font-size: 11px;
  color: #afbdc8;
}
.profile-picker-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 6px;
}
.profile-picker-row > strong {
  font-size: 11px;
  color: #acbac4;
  min-width: 92px;
  font-weight: 500;
}
.profile-picker-row > div {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.profile-picker button,
.profile-preview-actions a {
  font: inherit;
  min-height: 44px;
  padding: 9px 14px;
  background: transparent;
  border: 1px solid #3d4954;
  border-radius: 6px;
  color: #d5dde4;
  cursor: pointer;
}
.profile-picker button[aria-pressed="true"] {
  background: #eff5f8;
  color: #11171c;
  border-color: #eff5f8;
}
.profile-picker button:hover,
.profile-preview-actions a:hover {
  border-color: #b9c7d1;
}
.profile-picker button:focus-visible,
.profile-preview-actions a:focus-visible {
  outline: 2px solid #80c3ed;
  outline-offset: 3px;
}
.preview-scope-note {
  background: #11171c;
  color: #b6c2cb;
  padding: 25px 20px;
  text-align: center;
  font:
    11px/1.6 system-ui,
    sans-serif;
}
.original-preview {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-display), "Space Grotesk", Arial, sans-serif;
  isolation: isolate;
}
.original-preview img {
  max-width: 100%;
}
.original-preview button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.original-preview a[href="#contact-modal"] {
  cursor: pointer;
}
.original-preview a[href="/schedule"] {
  pointer-events: none;
  opacity: 0.5;
}
@media (max-width: 700px) {
  .profile-picker {
    padding: 14px 14px 18px;
  }
  .profile-picker-heading {
    margin-bottom: 13px;
  }
  .profile-picker-heading > span:last-child {
    display: none;
  }
  .profile-picker-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-top: 13px;
  }
  .profile-picker-row > div {
    gap: 5px;
  }
  .profile-picker button,
  .profile-preview-actions a {
    padding: 9px 11px;
    font-size: 12px;
  }
  .profile-picker-row > strong {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
  }
}
@media print {
  .profile-picker,
  .preview-scope-note {
    display: none !important;
  }
  .original-preview {
    min-height: 0;
  }
}
.profile-preview-actions {
  display: flex;
  gap: 8px;
}
.profile-preview-actions button {
  font-size: 11px;
  min-height: 36px;
  padding: 7px 12px;
  border-color: #566574;
}
.profile-preview-actions button:first-child {
  background: #edf2f5;
  color: #11171c;
}
@media (max-width: 700px) {
  .profile-preview-actions button {
    font-size: 10px;
    padding: 7px 9px;
    min-height: 36px;
  }
}
.profile-composition {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #36414b;
  color: #c9d4dc;
  font-size: 12px;
}
.profile-composition summary {
  cursor: pointer;
  display: list-item;
  max-width: max-content;
  min-height: 32px;
  padding: 5px 0;
}
.profile-composition > div {
  padding: 10px 0 3px;
  max-width: 780px;
}
.profile-composition label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: #f1f4f6;
}
.profile-composition input {
  width: 17px;
  height: 17px;
  accent-color: #bddaf0;
}
.profile-composition p {
  line-height: 1.6;
  font-size: 12px;
  max-width: 76ch;
  color: #b9c7d2;
}
.profile-composition dl {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.profile-composition dt {
  color: #91a5b6;
  font-size: 10px;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.profile-composition dd {
  margin: 0;
  text-transform: capitalize;
}
.profile-composition small {
  font-size: 10px;
  color: #91a5b6;
}
.profile-composition summary:focus-visible,
.profile-composition input:focus-visible {
  outline: 2px solid #80c3ed;
  outline-offset: 4px;
}

.profile-preview-actions a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.theme-stage { opacity:1; transform:none; transition:opacity 180ms ease, transform 180ms ease; }
.theme-stage[data-theme-phase="exit"] { opacity:0; transform:translateY(-8px); pointer-events:none; }
.theme-stage[data-theme-phase="enter"] { animation:theme-arrive 300ms cubic-bezier(.2,.75,.2,1) both; }
@keyframes theme-arrive { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@media(prefers-reduced-motion:reduce) { .theme-stage { transition:none; animation:none!important; transform:none!important; } }
