.cv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}
.cv-editor-intro {
  max-width: 750px;
  color: #586159;
  line-height: 1.7;
}
.cv-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.cv-editor-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
.cv-editor-field textarea {
  min-height: 95px;
  resize: vertical;
}
.cv-editor-field input,
.cv-editor-field textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
}
.cv-editor-full {
  grid-column: 1 / -1;
}
.cv-editor-card {
  padding: 24px;
  background: #fff;
  border: 1px solid #d7ddd6;
  border-radius: 12px;
  margin: 20px 0;
  min-width: 0;
}
.cv-editor-card legend {
  padding: 0 9px;
  font-weight: 600;
  font-size: 16px;
}
.cv-editor-entry {
  background: #f5f7f1;
  padding: 20px;
  border: 1px solid #e0e4d9;
  border-radius: 8px;
  margin: 18px 0;
  min-width: 0;
}
.cv-editor-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.cv-editor-controls button {
  padding: 8px 12px;
  border: 1px solid #bcc6bb;
  border-radius: 5px;
  background: white;
  color: #29392e;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.cv-editor-controls button:hover {
  background: #e9efe3;
}
.cv-editor-controls button:disabled {
  opacity: 0.45;
  cursor: default;
}
#cv-editor-status {
  min-height: 25px;
  line-height: 1.6;
  font-size: 14px;
}
#cv-editor-status[data-error="true"] {
  color: #a12620;
}
#cv-editor-form :focus-visible {
  outline: 3px solid #477a49;
  outline-offset: 3px;
}
#cv-preview-frame {
  width: 100%;
  height: 760px;
  border: 1px solid #cbd2c5;
  background: #f4f3ef;
  margin-top: 15px;
}
#cv-preview-details summary {
  cursor: pointer;
  font-weight: 600;
}
.cv-preview .navbar,
.cv-preview .menu,
.cv-preview .skip-link,
.cv-preview .resume-action-bar {
  display: none !important;
}
.cv-preview .resume-page-container {
  margin: 0 auto;
  padding: 16px;
}
.cv-body {
  white-space: pre-line;
}
.cv-tagline {
  font-size: 13px;
  color: #4a524e;
  margin: 7px 0 0;
}
.resume-entry h3 {
  font-family: inherit;
  margin: 0;
}
.resume-section h2 {
  font-family: inherit;
  letter-spacing: inherit;
}
#cv-load-status {
  font-size: 13px;
  color: #566354;
}
@media (max-width: 650px) {
  .cv-editor-grid {
    grid-template-columns: 1fr;
  }
  .cv-editor-card {
    padding: 16px;
  }
  .cv-editor-entry {
    padding: 14px;
  }
  #cv-preview-frame {
    height: 650px;
  }
}
@media print {
  .resume-entry {
    break-inside: avoid;
  }
  #cv-load-status {
    display: none;
  }
}
