:root {
  color-scheme: light dark;
  background: light-dark(#f5f6f5, #141816);
  color: light-dark(#23322a, #e9eee9);
  font:
    16px/1.45 Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Arial,
    sans-serif;
}
@font-face {
  font-family: Inter;
  src: url('fonts/inter.woff') format('woff');
  font-weight: 100 900;
  font-display: swap;
}
body {
  margin: 0;
}
.profile-navigation,
.profile-actions {
  width: min(100% - 28px, 420px);
  margin-inline: auto;
  box-sizing: border-box;
}
.profile-navigation {
  display: flex;
  justify-content: space-between;
  gap: 8px 16px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 50px;
}
.visual-mode .profile-navigation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 10px;
}
.visual-mode .profile-navigation:has(.vi-switch) { grid-template-columns: 1fr auto 44px; }
.visual-mode #manage-publication { grid-column: 1 / -1; }
@media (max-width: 390px) {
  .visual-mode .profile-navigation { gap: 0 5px; }
}
.profile-navigation a,
.profile-navigation button {
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.profile-navigation .create-resume { gap: 6px; }
.profile-navigation button {
  cursor: pointer;
  background: transparent;
  border: 0;
  min-height: 44px;
  padding: 0;
}
.profile-navigation :focus-visible,
.profile-actions :focus-visible {
  outline: 2px solid #8661ee;
  outline-offset: 2px;
}
.public-bank {
  margin: 0 auto;
  width: min(100%, 430px);
}
.profile-actions {
  margin-block: 14px max(12px, env(safe-area-inset-bottom));
  padding-inline: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.profile-action {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid light-dark(#cbd4ce, #526058);
  border-radius: 9px;
  background: light-dark(#fff, #202823);
  color: inherit;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font:
    570 14px/1.4 Inter,
    sans-serif;
}
.profile-action.primary {
  background: #6143cc;
  color: #fff;
  border-color: #6143cc;
}
.profile-action:disabled {
  cursor: progress;
  opacity: 0.7;
}
.profile-message:not(:empty),
.profile-share-url {
  width: 100%;
  font-size: 14px;
  text-align: center;
}
.profile-message {
  margin: 0;
}
.profile-message:empty {
  display: none;
}
.profile-share-url {
  box-sizing: border-box;
  padding: 8px 6px;
  font: inherit;
}

.profile-actions [hidden],
.profile-navigation [hidden],
.print-copy {
  display: none;
}
body.plain-mode {
  background: #fff;
  color: #202328;
  color-scheme: light;
  min-height: 100vh;
}
.plain-mode .profile-navigation {
  width: min(100% - 40px, 760px);
}
.plain-mode .profile-navigation {
  border-bottom: 1px solid #e2e4e7;
}
@media print {
  @page {
    margin: 16mm;
  }
  :root,
  body {
    background: #fff;
    color: #000;
  }
  .profile-navigation,
  .profile-actions,
  .visual-only {
    display: none !important;
  }
  .print-copy {
    display: block;
  }
}
