* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f2f4f8;
  color: #131a24;
}

.container {
  max-width: 1100px;
  margin: 32px auto;
  padding: 0 16px 32px;
}

.card,
.resume,
.warning,
.error {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
}

.lang-switch {
  display: inline-flex;
  border-radius: 10px;
  padding: 4px;
  background: #e8edf5;
  gap: 4px;
}

.lang-switch a {
  text-decoration: none;
  color: #4a5568;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.lang-switch a.active {
  background: #fff;
  color: #0f172a;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
}

.hero-content,
.hero-preview {
  flex: 1;
}

.hero-content {
  padding: 44px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
}

.hero-content p {
  margin: 0 0 24px;
  color: #d5ddf0;
  max-width: 540px;
}

.hero-preview .preview-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.template-card {
  border: 1px solid #d9e2ee;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f9fbff;
}

.template-card.static {
  min-height: 96px;
}

.template-card.selectable {
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-card.selectable:hover {
  border-color: #93c5fd;
}

.template-card input[type='radio'] {
  margin-top: 5px;
}

.template-card h3,
.section-head h2,
.builder-header h1 {
  margin: 0 0 6px;
}

.template-card p {
  margin: 0;
  color: #5b6678;
  font-size: 14px;
}

.landing-templates {
  grid-template-columns: 1fr;
}

.btn-primary,
.btn-secondary {
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

.btn-primary {
  background: #2563eb;
  color: #fff;
}

.btn-secondary {
  background: #e2e8f0;
  color: #1e293b;
}

/* Wizard step buttons: inverse Sign In style (blue -> white on hover) */
.wizard-shell .btn-primary,
.wizard-shell .btn-secondary,
.wizard-shell #exp-download-btn,
.wizard-shell #exp-print-btn,
.wizard-shell #exp-send-email-btn,
.wizard-shell #btn-back,
.wizard-shell #btn-next {
  border: 1.5px solid #2563eb;
  border-radius: 8px;
  height: 34px;
  padding: 0 12px;
  background: #2563eb;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}

.wizard-shell .btn-primary:hover,
.wizard-shell .btn-secondary:hover,
.wizard-shell #exp-download-btn:hover,
.wizard-shell #exp-print-btn:hover,
.wizard-shell #exp-send-email-btn:hover,
.wizard-shell #btn-back:hover,
.wizard-shell #btn-next:hover {
  background: #fff;
  color: #2563eb;
  border-color: #2563eb;
}

.wizard-shell .btn-primary:disabled,
.wizard-shell .btn-secondary:disabled,
.wizard-shell #exp-download-btn:disabled,
.wizard-shell #exp-print-btn:disabled,
.wizard-shell #exp-send-email-btn:disabled,
.wizard-shell #btn-back:disabled,
.wizard-shell #btn-next:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-icon-remove {
  border: 0;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  padding: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  background: transparent;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.btn-icon-remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

.builder-page {
  margin-top: 24px;
}

.builder-header {
  padding: 20px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.builder-form {
  padding: 20px;
}

.builder-section + .builder-section {
  margin-top: 20px;
  border-top: 1px solid #e9eff8;
  padding-top: 20px;
}

.section-head {
  margin-bottom: 14px;
}

.section-head p,
.muted {
  margin: 0;
  color: #5f6f84;
}

.row-between {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  border: 1px solid #d3deea;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

textarea {
  resize: vertical;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.inline-checkbox {
  flex-direction: row;
  align-items: center;
}

.item-card {
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  padding: 14px;
  background: #fcfdff;
  position: relative;
}

.item-card + .item-card {
  margin-top: 12px;
}

.remove-item {
  position: absolute;
  right: 10px;
  top: 8px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.warning,
.error {
  padding: 12px 16px;
  margin-bottom: 12px;
}

.warning {
  border-left: 4px solid #d97706;
}

.error {
  border-left: 4px solid #b91c1c;
}

.resume {
  padding: 26px;
}

.resume h1,
.resume h2,
.resume h3 {
  margin-top: 0;
}

.resume-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  border-bottom: 1px solid #dce6f2;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.resume-header h1 {
  margin-bottom: 4px;
}

.resume-header h2 {
  margin: 0;
  color: #4b5c73;
  font-size: 18px;
}

.resume-contact-inline {
  display: grid;
  gap: 2px;
  font-size: 13px;
  color: #4b5c73;
  text-align: right;
}

.resume-summary {
  margin-bottom: 14px;
}

.resume-main {
  display: grid;
  grid-template-columns: minmax(220px, 30%) minmax(0, 1fr);
  gap: 18px;
}

.resume section {
  margin-bottom: 14px;
}

.resume ul {
  margin: 8px 0;
  padding-left: 18px;
}

.generated-sheet {
  background: #fff;
  border: 1px solid #dbe6f3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.generated-sheet .sheet-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
}

/* Base sidebar style (used by modern-professional) */
.generated-sheet .sheet-side {
  background: #1e293b;
  color: #fff;
  padding: 18px;
}

/* Modern Professional: default look, dark sidebar */
.generated-sheet.template-modern-professional .sheet-side {
  background: #0f172a;
}

/* Creative Tech: gradient sidebar, stronger accent */
.generated-sheet.template-creative-tech .sheet-side {
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
}
.generated-sheet.template-creative-tech .sheet-main {
  background: #0b1020;
  color: #e5e7eb;
}
.generated-sheet.template-creative-tech .sheet-main h3 {
  border-bottom-color: rgba(148, 163, 184, 0.6);
}
.generated-sheet.template-creative-tech .sheet-company {
  color: #cbd5f5;
}

/* Minimalist: single column, top-to-bottom, no dark sidebar */
.generated-sheet.template-minimalist .sheet-grid,
.generated-sheet.layout-minimalist .sheet-grid {
  grid-template-columns: 1fr;
}
.generated-sheet.template-minimalist .sheet-side,
.generated-sheet.layout-minimalist .sheet-side {
  background: #ffffff !important;
  color: #111827 !important;
  border-bottom: 2px solid #e5e7eb;
  text-align: center;
  padding: 24px 28px 20px;
}
.generated-sheet.template-minimalist .sheet-id h1,
.generated-sheet.layout-minimalist .sheet-id h1 {
  color: #111827;
}
.generated-sheet.template-minimalist .sheet-id p,
.generated-sheet.template-minimalist .sheet-contact,
.generated-sheet.layout-minimalist .sheet-id p,
.generated-sheet.layout-minimalist .sheet-contact {
  color: #6b7280 !important;
}
.generated-sheet.layout-minimalist .sheet-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 16px;
}
.generated-sheet.template-minimalist .sheet-side h3,
.generated-sheet.layout-minimalist .sheet-side h3 {
  color: #374151;
  border-bottom-color: #e5e7eb;
}
.generated-sheet.template-minimalist .sheet-skills span,
.generated-sheet.layout-minimalist .sheet-skills span {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #374151;
}
.generated-sheet.template-minimalist .sheet-main,
.generated-sheet.layout-minimalist .sheet-main {
  background: #ffffff !important;
  color: #1e293b;
}

/* Lauren Chen: teal/blue sidebar for marketing professionals */
.generated-sheet.template-lauren-chen .sheet-side {
  background: linear-gradient(160deg, #0d9488, #0891b2);
}
.generated-sheet.template-lauren-chen .sheet-main {
  background: #f0fdfa;
}
.generated-sheet.template-lauren-chen .sheet-main h3 {
  color: #0d9488;
  border-bottom-color: #99f6e4;
}
.generated-sheet.template-lauren-chen .sheet-item-head small {
  color: #0d9488;
}
.generated-sheet.template-lauren-chen .sheet-company {
  color: #0891b2;
}

/* Nina Lane: dark sidebar with yellow accent for creative designers */
.generated-sheet.template-nina-lane .sheet-side {
  background: #16213e;
}
.generated-sheet.template-nina-lane .sheet-side h3 {
  color: #f1c40f;
  border-bottom-color: #f1c40f44;
}
.generated-sheet.template-nina-lane .sheet-main {
  background: #1a1a2e;
  color: #e2e8f0;
}
.generated-sheet.template-nina-lane .sheet-main h3 {
  color: #f1c40f;
  border-bottom-color: #f1c40f33;
}
.generated-sheet.template-nina-lane .sheet-company {
  color: #f1c40f99;
}
.generated-sheet.template-nina-lane .sheet-item-head small {
  color: #f1c40f;
}

/* Markus Johnson: light sidebar with green accents */
.generated-sheet.template-markus-johnson .sheet-side {
  background: #f0eeea;
  color: #2d2d2d;
  border-right: 1px solid #d1e8d4;
}
.generated-sheet.template-markus-johnson .sheet-side h3 {
  color: #27ae60;
  border-bottom-color: #27ae60;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
}
.generated-sheet.template-markus-johnson .sheet-id h1 {
  color: #1a1a1a;
}
.generated-sheet.template-markus-johnson .sheet-id p,
.generated-sheet.template-markus-johnson .sheet-contact {
  color: #27ae60;
}
.generated-sheet.template-markus-johnson .sheet-main {
  background: #ffffff;
}
.generated-sheet.template-markus-johnson .sheet-main h3 {
  color: #1a1a1a;
  border-bottom-color: #27ae60;
  border-bottom-width: 2px;
}
.generated-sheet.template-markus-johnson .sheet-item-head small {
  color: #27ae60;
}
.generated-sheet.template-markus-johnson .sheet-company {
  color: #27ae60;
}

/* Software Engineer: dark navy sidebar for tech professionals */
.generated-sheet.template-software-engineer .sheet-side {
  background: #0a192f;
}
.generated-sheet.template-software-engineer .sheet-side h3 {
  color: #64ffda;
  border-bottom-color: #64ffda44;
  letter-spacing: 0.1em;
  font-size: 10px;
}
.generated-sheet.template-software-engineer .sheet-id p {
  color: #64ffda;
}
.generated-sheet.template-software-engineer .sheet-contact {
  color: #8892b0;
}
.generated-sheet.template-software-engineer .sheet-skills span {
  background: #112240;
  color: #64ffda;
  border: 1px solid #64ffda33;
}
.generated-sheet.template-software-engineer .sheet-main {
  background: #f8f9fb;
}
.generated-sheet.template-software-engineer .sheet-main h3 {
  color: #0a192f;
  border-bottom-color: #0a192f;
}
.generated-sheet.template-software-engineer .sheet-item-head small {
  background: #0a192f;
  color: #64ffda;
  padding: 1px 7px;
  border-radius: 3px;
}
.generated-sheet.template-software-engineer .sheet-company {
  color: #5a6a7a;
}

/* ─── Photo Profile Templates ─────────────────────────────────────────────── */

/* Shared photo avatar element */
.sheet-photo-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #e2e8f0);
  border: 3px solid #cbd5e1;
  overflow: hidden;
  margin: 4px auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sheet-photo-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ─── Photo Top Layout ─────────────────────────────────────────────────────── */
/* 1-column layout: colored header at top with photo + info, then full-width content below */

.generated-sheet.layout-photo-top .sheet-top-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
}
.generated-sheet.layout-photo-top .sheet-top-header .sheet-photo-avatar {
  margin: 0;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}
.generated-sheet.layout-photo-top .sheet-top-info {
  flex: 1;
  min-width: 0;
}
.generated-sheet.layout-photo-top .sheet-id h1 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.generated-sheet.layout-photo-top .sheet-id p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 3px;
}
.generated-sheet.layout-photo-top .sheet-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 14px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}
.generated-sheet.layout-photo-top .sheet-single-col {
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.generated-sheet.layout-photo-top .sheet-single-col section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.generated-sheet.layout-photo-top .sheet-single-col h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 6px;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}
.generated-sheet.layout-photo-top .sheet-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Default fallback for photo-top without a specific color theme */
.generated-sheet.layout-photo-top .sheet-top-header {
  background: linear-gradient(160deg, #1e293b, #334155);
}

/* Photo Top color themes — mirrors photo-left sidebar colors for the header */
.generated-sheet.layout-photo-top.template-photo-violet .sheet-top-header {
  background: linear-gradient(160deg, #7c3aed, #4f46e5);
}
.generated-sheet.layout-photo-top.template-photo-violet .sheet-single-col h3 {
  color: #5b21b6;
  border-bottom-color: #ddd6fe;
}
.generated-sheet.layout-photo-top.template-photo-violet .sheet-item-head small {
  color: #7c3aed;
}
.generated-sheet.layout-photo-top.template-photo-violet .sheet-company {
  color: #6d28d9;
}
.generated-sheet.layout-photo-top.template-photo-violet .sheet-skills span {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  color: #5b21b6;
}

.generated-sheet.layout-photo-top.template-photo-sky .sheet-top-header {
  background: linear-gradient(160deg, #0284c7, #0ea5e9);
}
.generated-sheet.layout-photo-top.template-photo-sky .sheet-single-col h3 {
  color: #0369a1;
  border-bottom-color: #bae6fd;
}
.generated-sheet.layout-photo-top.template-photo-sky .sheet-item-head small {
  color: #0284c7;
}
.generated-sheet.layout-photo-top.template-photo-sky .sheet-company {
  color: #0369a1;
}
.generated-sheet.layout-photo-top.template-photo-sky .sheet-skills span {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

.generated-sheet.layout-photo-top.template-photo-rose .sheet-top-header {
  background: linear-gradient(160deg, #e11d48, #be123c);
}
.generated-sheet.layout-photo-top.template-photo-rose .sheet-single-col h3 {
  color: #9f1239;
  border-bottom-color: #fecdd3;
}
.generated-sheet.layout-photo-top.template-photo-rose .sheet-item-head small {
  color: #e11d48;
}
.generated-sheet.layout-photo-top.template-photo-rose .sheet-company {
  color: #be123c;
}
.generated-sheet.layout-photo-top.template-photo-rose .sheet-skills span {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.3);
  color: #9f1239;
}

.generated-sheet.layout-photo-top.template-photo-amber .sheet-top-header {
  background: linear-gradient(160deg, #d97706, #b45309);
}
.generated-sheet.layout-photo-top.template-photo-amber .sheet-single-col h3 {
  color: #92400e;
  border-bottom-color: #fde68a;
}
.generated-sheet.layout-photo-top.template-photo-amber .sheet-item-head small {
  color: #d97706;
}
.generated-sheet.layout-photo-top.template-photo-amber .sheet-company {
  color: #b45309;
}
.generated-sheet.layout-photo-top.template-photo-amber .sheet-skills span {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: #92400e;
}

/* Photo – Violet */
.generated-sheet.template-photo-violet .sheet-side {
  background: linear-gradient(160deg, #7c3aed, #4f46e5);
}
.generated-sheet.template-photo-violet .sheet-main {
  background: #f5f3ff;
}
.generated-sheet.template-photo-violet .sheet-main h3 {
  color: #5b21b6;
  border-bottom-color: #ddd6fe;
}
.generated-sheet.template-photo-violet .sheet-item-head small {
  color: #7c3aed;
}
.generated-sheet.template-photo-violet .sheet-company {
  color: #6d28d9;
}
.generated-sheet.template-photo-violet .sheet-skills span {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.4);
  color: #5b21b6;
}

/* Photo – Sky Blue */
.generated-sheet.template-photo-sky .sheet-side {
  background: linear-gradient(160deg, #0284c7, #0ea5e9);
}
.generated-sheet.template-photo-sky .sheet-main {
  background: #f0f9ff;
}
.generated-sheet.template-photo-sky .sheet-main h3 {
  color: #0369a1;
  border-bottom-color: #bae6fd;
}
.generated-sheet.template-photo-sky .sheet-item-head small {
  color: #0284c7;
}
.generated-sheet.template-photo-sky .sheet-company {
  color: #0369a1;
}
.generated-sheet.template-photo-sky .sheet-skills span {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(14, 165, 233, 0.35);
  color: #0369a1;
}

/* Photo – Rose */
.generated-sheet.template-photo-rose .sheet-side {
  background: linear-gradient(160deg, #e11d48, #be123c);
}
.generated-sheet.template-photo-rose .sheet-main {
  background: #fff1f2;
}
.generated-sheet.template-photo-rose .sheet-main h3 {
  color: #9f1239;
  border-bottom-color: #fecdd3;
}
.generated-sheet.template-photo-rose .sheet-item-head small {
  color: #e11d48;
}
.generated-sheet.template-photo-rose .sheet-company {
  color: #be123c;
}
.generated-sheet.template-photo-rose .sheet-skills span {
  background: rgba(225, 29, 72, 0.1);
  border-color: rgba(225, 29, 72, 0.3);
  color: #9f1239;
}

/* Photo – Amber */
.generated-sheet.template-photo-amber .sheet-side {
  background: linear-gradient(160deg, #d97706, #b45309);
}
.generated-sheet.template-photo-amber .sheet-main {
  background: #fffbeb;
}
.generated-sheet.template-photo-amber .sheet-main h3 {
  color: #92400e;
  border-bottom-color: #fde68a;
}
.generated-sheet.template-photo-amber .sheet-item-head small {
  color: #d97706;
}
.generated-sheet.template-photo-amber .sheet-company {
  color: #b45309;
}
.generated-sheet.template-photo-amber .sheet-skills span {
  background: rgba(217, 119, 6, 0.1);
  border-color: rgba(217, 119, 6, 0.3);
  color: #92400e;
}

/* ─── Classic Timeline Template ───────────────────────────────────────────── */
.generated-sheet.template-classic-timeline .sheet-grid {
  grid-template-columns: minmax(190px, 240px) minmax(0, 2fr);
}
.generated-sheet.template-classic-timeline .sheet-side {
  background: #1e1b4b;
  color: #e2e8f0;
}
.generated-sheet.template-classic-timeline .sheet-side h3 {
  color: #a78bfa;
  border-bottom-color: rgba(167, 139, 250, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 700;
}
.generated-sheet.template-classic-timeline .sheet-id h1 {
  font-size: 22px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.generated-sheet.template-classic-timeline .sheet-id p {
  color: #a78bfa;
}
.generated-sheet.template-classic-timeline .sheet-contact {
  color: #94a3b8;
}
.generated-sheet.template-classic-timeline .sheet-skills span {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.3);
  color: #a78bfa;
}
.generated-sheet.template-classic-timeline .sheet-main {
  background: #ffffff;
  color: #1e293b;
}
.generated-sheet.template-classic-timeline .sheet-main h3 {
  color: #1e1b4b;
  border-bottom-color: #e0e7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  font-weight: 700;
}
.generated-sheet.template-classic-timeline .sheet-item {
  position: relative;
  padding-left: 20px;
}
.generated-sheet.template-classic-timeline .sheet-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4f46e5;
  border: 2px solid #c7d2fe;
  box-sizing: border-box;
}
.generated-sheet.template-classic-timeline .sheet-item + .sheet-item {
  margin-top: 12px;
}
.generated-sheet.template-classic-timeline .sheet-item + .sheet-item::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: -12px;
  height: 12px;
  width: 1px;
  background: #c7d2fe;
}
.generated-sheet.template-classic-timeline .sheet-item-head small {
  background: #eef2ff;
  color: #4f46e5;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.generated-sheet.template-classic-timeline .sheet-company {
  color: #4f46e5;
  font-weight: 500;
  margin-top: 2px;
}

.generated-sheet .sheet-id h1 {
  margin: 0;
  font-size: 28px;
}

.generated-sheet .sheet-id p {
  margin: 4px 0 0;
  color: #cbd5e1;
}

.generated-sheet .sheet-contact {
  margin-top: 14px;
  font-size: 13px;
  color: #dbe3ef;
  display: grid;
  gap: 4px;
  word-break: break-word;
}

.generated-sheet .sheet-side h3 {
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.generated-sheet .sheet-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.generated-sheet .sheet-skills span {
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
}

.generated-sheet .sheet-main {
  background: #faf8f3;
  color: #1e293b;
  padding: 18px;
}

.generated-sheet .sheet-main section + section {
  margin-top: 14px;
}

.generated-sheet .sheet-main h3 {
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8e1ec;
}

.generated-sheet .sheet-main p {
  margin: 0;
}

.generated-sheet .sheet-item + .sheet-item {
  margin-top: 10px;
}

.generated-sheet .sheet-item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.generated-sheet .sheet-item-head small {
  color: #64748b;
}

.generated-sheet .sheet-company {
  color: #475569;
  margin-top: 3px;
}

.generated-sheet.preview-mode {
  box-shadow: none;
}

.generated-sheet.template-classic .sheet-side {
  background: #f8fafc;
  color: #1e293b;
  border-right: 1px solid #dbe6f3;
}

.generated-sheet.template-modern-corporate .sheet-side {
  background: #f8fafc;
  color: #1e293b;
  border-right: 1px solid #dbe6f3;
}

.generated-sheet.template-classic .sheet-id p,
.generated-sheet.template-classic .sheet-contact {
  color: #475569;
}

.generated-sheet.template-modern-corporate .sheet-id p,
.generated-sheet.template-modern-corporate .sheet-contact {
  color: #475569;
}

.generated-sheet.template-classic .sheet-side h3 {
  border-bottom: 1px solid #d5dfec;
}

.generated-sheet.template-modern-corporate .sheet-side h3 {
  border-bottom: 1px solid #d5dfec;
}

.generated-sheet.template-classic .sheet-skills span {
  border-color: #cbd7e6;
  background: #eef2f7;
  color: #334155;
}

.generated-sheet.template-modern-corporate .sheet-skills span {
  border-color: #cbd7e6;
  background: #eef2f7;
  color: #334155;
}

.generated-sheet.template-minimal .sheet-grid {
  grid-template-columns: 1fr;
}

.generated-sheet.template-minimalist .sheet-grid,
.generated-sheet.layout-minimalist .sheet-grid {
  grid-template-columns: 1fr;
}

.generated-sheet.template-minimal .sheet-side {
  background: #fff;
  color: #1e293b;
  border-bottom: 1px solid #dbe6f3;
}

.generated-sheet.template-minimalist .sheet-side,
.generated-sheet.layout-minimalist .sheet-side {
  background: #fff;
  color: #1e293b;
  border-bottom: 1px solid #dbe6f3;
}

.generated-sheet.template-minimal .sheet-id p,
.generated-sheet.template-minimal .sheet-contact {
  color: #475569;
}

.generated-sheet.template-minimalist .sheet-id p,
.generated-sheet.template-minimalist .sheet-contact,
.generated-sheet.layout-minimalist .sheet-id p,
.generated-sheet.layout-minimalist .sheet-contact {
  color: #475569;
}

.generated-sheet.template-minimal .sheet-side h3 {
  border-bottom: 1px solid #dbe6f3;
}

.generated-sheet.template-minimalist .sheet-side h3,
.generated-sheet.layout-minimalist .sheet-side h3 {
  border-bottom: 1px solid #dbe6f3;
}

.generated-sheet.template-minimal .sheet-skills span {
  border-color: #cbd7e6;
  background: #f8fafc;
  color: #334155;
}

.generated-sheet.template-minimalist .sheet-skills span,
.generated-sheet.layout-minimalist .sheet-skills span {
  border-color: #cbd7e6;
  background: #f8fafc;
  color: #334155;
}

.generated-sheet.template-minimal .sheet-main {
  background: #fff;
}

.generated-sheet.template-minimalist .sheet-main,
.generated-sheet.layout-minimalist .sheet-main {
  background: #fff;
}

.item-block + .item-block {
  margin-top: 12px;
}

.item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.company {
  font-weight: 500;
  color: #49576d;
  margin-top: 2px;
}

.skill-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.skill-chips span {
  display: inline-block;
  border: 1px solid #ced8e6;
  background: #f8fafc;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.template-modern {
  border-top: 7px solid #2563eb;
}

/* Alias for wizard template IDs */
.template-modern-professional {
  border-top: 7px solid #2563eb;
}

.template-executive {
  border-top: 7px solid #2563eb;
}
.template-classic {
  border-top: 7px solid #334155;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #cfd9e5;
}

.template-modern-corporate {
  border-top: 7px solid #334155;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #cfd9e5;
}

/* Creative / tech-focused template can share modern corporate base */
.template-creative-tech {
  border-top: 7px solid #334155;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #cfd9e5;
}

.template-classic .resume-header,
.template-classic .resume-summary,
.template-classic section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.template-modern-corporate .resume-header,
.template-modern-corporate .resume-summary,
.template-modern-corporate section {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 12px;
}

.template-minimal {
  border-top: 7px solid #475569;
  box-shadow: none;
  border: 1px solid #d5deea;
  background: #fff;
}

.template-minimalist,
.layout-minimalist {
  border-top: 7px solid #475569;
  box-shadow: none;
  border: 1px solid #d5deea;
  background: #fff;
}

.template-minimal .resume-main {
  grid-template-columns: 1fr;
}

.template-minimalist .resume-main,
.layout-minimalist .resume-main {
  grid-template-columns: 1fr;
}

.template-minimal .resume-contact-inline {
  text-align: left;
}

.template-minimalist .resume-contact-inline,
.layout-minimalist .resume-contact-inline {
  text-align: left;
}

.template-minimal .resume-header {
  display: block;
}

.template-minimalist .resume-header,
.layout-minimalist .resume-header {
  display: block;
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEW TEMPLATE STYLES (11–50)
   ═══════════════════════════════════════════════════════════════════════════ */

/* 11. Coral Pop — coral/orange gradient header, card layout */
.generated-sheet.template-coral-pop .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-coral-pop .sheet-side { background: linear-gradient(135deg, #f97316, #ef4444); padding: 20px 28px 18px; }
.generated-sheet.template-coral-pop .sheet-main { background: #fff; }
.generated-sheet.template-coral-pop .sheet-main h3 { color: #ea580c; border-bottom-color: #fed7aa; }
.generated-sheet.template-coral-pop .sheet-item-head small { color: #f97316; }
.generated-sheet.template-coral-pop .sheet-company { color: #c2410c; }

/* 12. Rose Gold — blush pink gradient sidebar */
.generated-sheet.template-rose-gold .sheet-side { background: linear-gradient(160deg, #be185d, #9d174d); }
.generated-sheet.template-rose-gold .sheet-main { background: #fff7f7; }
.generated-sheet.template-rose-gold .sheet-main h3 { color: #be185d; border-bottom-color: #fce7f3; }
.generated-sheet.template-rose-gold .sheet-item-head small { color: #be185d; }
.generated-sheet.template-rose-gold .sheet-company { color: #9d174d; }
.generated-sheet.template-rose-gold .sheet-id p { color: #fce7f3; }

/* 13. Forest Green — deep green sidebar */
.generated-sheet.template-forest-green .sheet-side { background: #14532d; }
.generated-sheet.template-forest-green .sheet-main { background: #f0fdf4; }
.generated-sheet.template-forest-green .sheet-main h3 { color: #166534; border-bottom-color: #bbf7d0; }
.generated-sheet.template-forest-green .sheet-item-head small { color: #16a34a; }
.generated-sheet.template-forest-green .sheet-company { color: #15803d; }
.generated-sheet.template-forest-green .sheet-side h3 { color: #bbf7d0; border-bottom-color: rgba(187,247,208,.3); }

/* 14. Midnight Dark — all-dark theme, cyan accents */
.generated-sheet.template-midnight-dark .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-midnight-dark .sheet-side { background: #0a0f1e; border-bottom: 1px solid rgba(34,211,238,.2); }
.generated-sheet.template-midnight-dark .sheet-side h3 { color: #22d3ee; border-bottom-color: rgba(34,211,238,.2); }
.generated-sheet.template-midnight-dark .sheet-id p { color: #22d3ee; }
.generated-sheet.template-midnight-dark .sheet-contact { color: #94a3b8; }
.generated-sheet.template-midnight-dark .sheet-skills span { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.25); color: #22d3ee; }
.generated-sheet.template-midnight-dark .sheet-main { background: #0f172a; color: #e2e8f0; }
.generated-sheet.template-midnight-dark .sheet-main p { color: #cbd5e1; }
.generated-sheet.template-midnight-dark .sheet-main h3 { color: #22d3ee; border-bottom-color: rgba(34,211,238,.25); }
.generated-sheet.template-midnight-dark .sheet-item-head small { color: #22d3ee; }
.generated-sheet.template-midnight-dark .sheet-company { color: #94a3b8; }

/* 15. Amber Warm — light amber sidebar, warm accent band */
.generated-sheet.template-amber-warm .sheet-side { background: #fffbeb; color: #78350f; border-right: 1px solid #fde68a; border-top: 6px solid #f59e0b; }
.generated-sheet.template-amber-warm .sheet-side h3 { color: #92400e; border-bottom-color: #fde68a; }
.generated-sheet.template-amber-warm .sheet-id h1 { color: #78350f; }
.generated-sheet.template-amber-warm .sheet-id p { color: #f59e0b; }
.generated-sheet.template-amber-warm .sheet-contact { color: #92400e; }
.generated-sheet.template-amber-warm .sheet-skills span { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.generated-sheet.template-amber-warm .sheet-main { background: #fffbeb; border-top: 6px solid #f59e0b; }
.generated-sheet.template-amber-warm .sheet-main h3 { color: #b45309; border-bottom-color: #fde68a; }
.generated-sheet.template-amber-warm .sheet-item-head small { color: #d97706; }
.generated-sheet.template-amber-warm .sheet-company { color: #92400e; }

/* 16. Sky Blue — sky blue header, light blue body */
.generated-sheet.template-sky-blue .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-sky-blue .sheet-side { background: #0284c7; padding: 20px 28px 18px; }
.generated-sheet.template-sky-blue .sheet-main { background: #f0f9ff; }
.generated-sheet.template-sky-blue .sheet-main h3 { color: #0369a1; border-bottom-color: #bae6fd; }
.generated-sheet.template-sky-blue .sheet-item-head small { color: #0284c7; }
.generated-sheet.template-sky-blue .sheet-company { color: #0369a1; }
.generated-sheet.template-sky-blue .sheet-skills span { background: rgba(14,165,233,.1); border-color: rgba(14,165,233,.3); color: #0369a1; }

/* 17. Olive Earth — olive green sidebar, cream body */
.generated-sheet.template-olive-earth .sheet-side { background: #4d7c0f; }
.generated-sheet.template-olive-earth .sheet-side h3 { color: #d9f99d; border-bottom-color: rgba(217,249,157,.3); }
.generated-sheet.template-olive-earth .sheet-id p { color: #d9f99d; }
.generated-sheet.template-olive-earth .sheet-main { background: #fefce8; }
.generated-sheet.template-olive-earth .sheet-main h3 { color: #3f6212; border-bottom-color: #d9f99d; }
.generated-sheet.template-olive-earth .sheet-item-head small { color: #65a30d; }
.generated-sheet.template-olive-earth .sheet-company { color: #4d7c0f; }

/* 18. Monochrome — pure black & white */
.generated-sheet.template-monochrome .sheet-side { background: #ffffff !important; color: #0f172a !important; border-bottom: 4px solid #0f172a; }
.generated-sheet.template-monochrome .sheet-id h1 { color: #0f172a !important; }
.generated-sheet.template-monochrome .sheet-id p { color: #475569 !important; }
.generated-sheet.template-monochrome .sheet-contact { color: #475569 !important; }
.generated-sheet.template-monochrome .sheet-side h3 { color: #0f172a; border-bottom: 1.5px solid #0f172a; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.generated-sheet.template-monochrome .sheet-skills span { background: #f1f5f9; border-color: #1e293b; color: #0f172a; border-radius: 0; }
.generated-sheet.template-monochrome .sheet-main { background: #ffffff !important; color: #0f172a; }
.generated-sheet.template-monochrome .sheet-main h3 { color: #0f172a; border-bottom: 1.5px solid #0f172a; text-transform: uppercase; letter-spacing: .05em; }
.generated-sheet.template-monochrome .sheet-item-head small { color: #475569; }
.generated-sheet.template-monochrome .sheet-company { color: #374151; }

/* 19. Violet Dusk — violet gradient header, lavender body */
.generated-sheet.template-violet-dusk .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-violet-dusk .sheet-side { background: linear-gradient(135deg, #5b21b6, #7c3aed); padding: 20px 28px 18px; }
.generated-sheet.template-violet-dusk .sheet-main { background: #faf5ff; }
.generated-sheet.template-violet-dusk .sheet-main h3 { color: #5b21b6; border-bottom-color: #ddd6fe; }
.generated-sheet.template-violet-dusk .sheet-item-head small { color: #7c3aed; }
.generated-sheet.template-violet-dusk .sheet-company { color: #6d28d9; }
.generated-sheet.template-violet-dusk .sheet-skills span { background: rgba(167,139,250,.15); border-color: rgba(167,139,250,.4); color: #5b21b6; }

/* 20. Terracotta — burnt orange sidebar, warm body */
.generated-sheet.template-terracotta .sheet-side { background: #9a3412; }
.generated-sheet.template-terracotta .sheet-id p { color: #fed7aa; }
.generated-sheet.template-terracotta .sheet-main { background: #fff7ed; }
.generated-sheet.template-terracotta .sheet-main h3 { color: #7c2d12; border-bottom-color: #fed7aa; }
.generated-sheet.template-terracotta .sheet-item-head small { color: #ea580c; }
.generated-sheet.template-terracotta .sheet-company { color: #9a3412; }

/* 21. Teal Wave — teal gradient header, mint body */
.generated-sheet.template-teal-wave .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-teal-wave .sheet-side { background: linear-gradient(135deg, #0d9488, #06b6d4); padding: 20px 28px 18px; }
.generated-sheet.template-teal-wave .sheet-main { background: #f0fdfa; }
.generated-sheet.template-teal-wave .sheet-main h3 { color: #0d9488; border-bottom-color: #ccfbf1; }
.generated-sheet.template-teal-wave .sheet-item-head small { color: #0d9488; }
.generated-sheet.template-teal-wave .sheet-company { color: #0891b2; }

/* 22. Sand Dune — dark brown header, sandy body */
.generated-sheet.template-sand-dune .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-sand-dune .sheet-side { background: #78350f; padding: 20px 28px 18px; }
.generated-sheet.template-sand-dune .sheet-skills span { background: rgba(254,243,199,.15); border-color: rgba(254,243,199,.35); color: #fef3c7; }
.generated-sheet.template-sand-dune .sheet-main { background: #fefce8; }
.generated-sheet.template-sand-dune .sheet-main h3 { color: #78350f; border-bottom-color: #fde68a; }
.generated-sheet.template-sand-dune .sheet-item-head small { color: #92400e; }
.generated-sheet.template-sand-dune .sheet-company { color: #78350f; }

/* 23. Indigo Sharp — indigo header, light indigo body, bullet-dot items */
.generated-sheet.template-indigo-sharp .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-indigo-sharp .sheet-side { background: #4338ca; padding: 20px 28px 18px; }
.generated-sheet.template-indigo-sharp .sheet-main { background: #eef2ff; }
.generated-sheet.template-indigo-sharp .sheet-main h3 { color: #3730a3; border-bottom-color: #c7d2fe; }
.generated-sheet.template-indigo-sharp .sheet-item { position: relative; padding-left: 16px; }
.generated-sheet.template-indigo-sharp .sheet-item::before { content: ''; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; border-radius: 50%; background: #4338ca; }
.generated-sheet.template-indigo-sharp .sheet-item-head small { color: #4338ca; }
.generated-sheet.template-indigo-sharp .sheet-company { color: #3730a3; }

/* 24. Cherry Blossom — pink left accent, light pink tones */
.generated-sheet.template-cherry-blossom { border-left: 8px solid #fb7185; }
.generated-sheet.template-cherry-blossom .sheet-side { background: #fff1f2; color: #1a1a1a; border-right: 1px solid #fecdd3; }
.generated-sheet.template-cherry-blossom .sheet-side h3 { color: #be123c; border-bottom-color: #fecdd3; }
.generated-sheet.template-cherry-blossom .sheet-id h1 { color: #9f1239; }
.generated-sheet.template-cherry-blossom .sheet-id p { color: #fb7185; }
.generated-sheet.template-cherry-blossom .sheet-contact { color: #6b7280; }
.generated-sheet.template-cherry-blossom .sheet-skills span { background: #fce7f3; border-color: #fecdd3; color: #9f1239; }
.generated-sheet.template-cherry-blossom .sheet-main { background: #fff; }
.generated-sheet.template-cherry-blossom .sheet-main h3 { color: #be123c; border-bottom-color: #fecdd3; }
.generated-sheet.template-cherry-blossom .sheet-item-head small { color: #e11d48; }
.generated-sheet.template-cherry-blossom .sheet-company { color: #be123c; }

/* 25. Slate Pro — slate gray sidebar */
.generated-sheet.template-slate-pro .sheet-side { background: #334155; }
.generated-sheet.template-slate-pro .sheet-main { background: #f8fafc; }
.generated-sheet.template-slate-pro .sheet-main h3 { color: #334155; border-bottom-color: #e2e8f0; }
.generated-sheet.template-slate-pro .sheet-item-head small { color: #475569; }
.generated-sheet.template-slate-pro .sheet-company { color: #475569; }

/* 26. Mint Fresh — mint accent topbar, clean body */
.generated-sheet.template-mint-fresh .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-mint-fresh .sheet-side { background: #ffffff !important; color: #064e3b !important; border-bottom: 1px solid #d1fae5; border-top: 6px solid #10b981; }
.generated-sheet.template-mint-fresh .sheet-side h3 { color: #059669; border-bottom-color: #d1fae5; }
.generated-sheet.template-mint-fresh .sheet-id h1 { color: #064e3b !important; }
.generated-sheet.template-mint-fresh .sheet-id p { color: #10b981 !important; }
.generated-sheet.template-mint-fresh .sheet-contact { color: #374151 !important; }
.generated-sheet.template-mint-fresh .sheet-skills span { background: #d1fae5; border-color: #6ee7b7; color: #064e3b; }
.generated-sheet.template-mint-fresh .sheet-main { background: #f0fdf4 !important; border-top: 6px solid #10b981; }
.generated-sheet.template-mint-fresh .sheet-main h3 { color: #059669; border-bottom-color: #d1fae5; }
.generated-sheet.template-mint-fresh .sheet-item-head small { color: #10b981; }
.generated-sheet.template-mint-fresh .sheet-company { color: #059669; }

/* 27. Gold Rush — very dark bg, gold/amber accents */
.generated-sheet.template-gold-rush .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-gold-rush .sheet-side { background: #1c1917; border-bottom: 1px solid rgba(245,158,11,.2); }
.generated-sheet.template-gold-rush .sheet-side h3 { color: #f59e0b; border-bottom-color: rgba(245,158,11,.25); }
.generated-sheet.template-gold-rush .sheet-id h1 { color: #fef3c7; }
.generated-sheet.template-gold-rush .sheet-id p { color: #f59e0b; }
.generated-sheet.template-gold-rush .sheet-contact { color: #a8a29e; }
.generated-sheet.template-gold-rush .sheet-skills span { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #f59e0b; }
.generated-sheet.template-gold-rush .sheet-main { background: #1c1917; color: #e7e5e4; }
.generated-sheet.template-gold-rush .sheet-main p { color: #d6d3d1; }
.generated-sheet.template-gold-rush .sheet-main h3 { color: #f59e0b; border-bottom-color: rgba(245,158,11,.25); }
.generated-sheet.template-gold-rush .sheet-item-head small { color: #f59e0b; }
.generated-sheet.template-gold-rush .sheet-company { color: #a8a29e; }

/* 28. Crimson Edge — thin crimson left accent, clean white */
.generated-sheet.template-crimson-edge { border-left: 7px solid #dc2626; }
.generated-sheet.template-crimson-edge .sheet-side { background: #ffffff; color: #1e293b; border-right: 1px solid #f1f5f9; }
.generated-sheet.template-crimson-edge .sheet-side h3 { color: #dc2626; border-bottom-color: #fee2e2; }
.generated-sheet.template-crimson-edge .sheet-id h1 { color: #1e293b; }
.generated-sheet.template-crimson-edge .sheet-id p { color: #dc2626; }
.generated-sheet.template-crimson-edge .sheet-contact { color: #64748b; }
.generated-sheet.template-crimson-edge .sheet-skills span { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.generated-sheet.template-crimson-edge .sheet-main { background: #fff; }
.generated-sheet.template-crimson-edge .sheet-main h3 { color: #1e293b; border-bottom-color: #e2e8f0; }
.generated-sheet.template-crimson-edge .sheet-item-head small { color: #dc2626; }
.generated-sheet.template-crimson-edge .sheet-company { color: #475569; }

/* 29. Aqua Marine — aqua/cyan gradient header */
.generated-sheet.template-aqua-marine .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-aqua-marine .sheet-side { background: linear-gradient(135deg, #0891b2, #0e7490); padding: 20px 28px 18px; }
.generated-sheet.template-aqua-marine .sheet-main { background: #ecfeff; }
.generated-sheet.template-aqua-marine .sheet-main h3 { color: #0e7490; border-bottom-color: #a5f3fc; }
.generated-sheet.template-aqua-marine .sheet-item-head small { color: #0891b2; }
.generated-sheet.template-aqua-marine .sheet-company { color: #0e7490; }
.generated-sheet.template-aqua-marine .sheet-skills span { background: rgba(8,145,178,.1); border-color: rgba(8,145,178,.3); color: #0e7490; }

/* 30. Charcoal Ink — near-black sidebar, dark body */
.generated-sheet.template-charcoal-ink .sheet-side { background: #09090b; }
.generated-sheet.template-charcoal-ink .sheet-side h3 { color: #d4d4d8; border-bottom-color: rgba(212,212,216,.2); }
.generated-sheet.template-charcoal-ink .sheet-id p { color: #a1a1aa; }
.generated-sheet.template-charcoal-ink .sheet-contact { color: #a1a1aa; }
.generated-sheet.template-charcoal-ink .sheet-skills span { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.15); color: #d4d4d8; }
.generated-sheet.template-charcoal-ink .sheet-main { background: #18181b; color: #e4e4e7; }
.generated-sheet.template-charcoal-ink .sheet-main p { color: #d4d4d8; }
.generated-sheet.template-charcoal-ink .sheet-main h3 { color: #a1a1aa; border-bottom-color: rgba(161,161,170,.2); }
.generated-sheet.template-charcoal-ink .sheet-item-head small { color: #71717a; }
.generated-sheet.template-charcoal-ink .sheet-company { color: #71717a; }

/* 31. Neon Grid — dark bg, neon green accents */
.generated-sheet.template-neon-grid .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-neon-grid .sheet-side { background: #0d0d0d; border-bottom: 1px solid rgba(0,255,136,.15); }
.generated-sheet.template-neon-grid .sheet-side h3 { color: #00ff88; border-bottom-color: rgba(0,255,136,.2); }
.generated-sheet.template-neon-grid .sheet-id h1 { color: #00ff88; }
.generated-sheet.template-neon-grid .sheet-id p { color: #00ccaa; }
.generated-sheet.template-neon-grid .sheet-contact { color: #6b7280; }
.generated-sheet.template-neon-grid .sheet-skills span { background: rgba(0,255,136,.08); border-color: rgba(0,255,136,.25); color: #00ff88; border-radius: 2px; }
.generated-sheet.template-neon-grid .sheet-main { background: #111111; color: #d1d5db; }
.generated-sheet.template-neon-grid .sheet-main p { color: #9ca3af; }
.generated-sheet.template-neon-grid .sheet-main h3 { color: #00ff88; border-bottom-color: rgba(0,255,136,.2); }
.generated-sheet.template-neon-grid .sheet-item-head small { color: #00ccaa; }
.generated-sheet.template-neon-grid .sheet-company { color: #6b7280; }

/* 32. Pastel Columns — pastel gradient header, light lavender body */
.generated-sheet.template-pastel-columns .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-pastel-columns .sheet-side { background: linear-gradient(90deg, #a5b4fc 33%, #fbcfe8 66%, #6ee7b7 100%); padding: 20px 28px 18px; color: #312e81; }
.generated-sheet.template-pastel-columns .sheet-id h1 { color: #312e81; }
.generated-sheet.template-pastel-columns .sheet-id p { color: #4c1d95; }
.generated-sheet.template-pastel-columns .sheet-contact { color: #312e81; }
.generated-sheet.template-pastel-columns .sheet-side h3 { color: #312e81; border-bottom-color: rgba(255,255,255,.5); }
.generated-sheet.template-pastel-columns .sheet-skills span { background: rgba(255,255,255,.5); border-color: rgba(49,46,129,.25); color: #312e81; }
.generated-sheet.template-pastel-columns .sheet-main { background: #f5f3ff; }
.generated-sheet.template-pastel-columns .sheet-main h3 { color: #4338ca; border-bottom-color: #e0e7ff; }
.generated-sheet.template-pastel-columns .sheet-item-head small { color: #6366f1; }
.generated-sheet.template-pastel-columns .sheet-company { color: #4338ca; }

/* 33. Blueprint — navy throughout, white text */
.generated-sheet.template-blueprint .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-blueprint .sheet-side { background: #1e3a5f; border-bottom: 1px solid rgba(255,255,255,.12); }
.generated-sheet.template-blueprint .sheet-side h3 { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.15); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.generated-sheet.template-blueprint .sheet-id h1 { color: #fff; }
.generated-sheet.template-blueprint .sheet-id p { color: rgba(255,255,255,.7); }
.generated-sheet.template-blueprint .sheet-contact { color: rgba(255,255,255,.6); }
.generated-sheet.template-blueprint .sheet-skills span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: rgba(255,255,255,.85); border-radius: 0; }
.generated-sheet.template-blueprint .sheet-main { background: #1e3a5f; color: rgba(255,255,255,.85); }
.generated-sheet.template-blueprint .sheet-main p { color: rgba(255,255,255,.75); }
.generated-sheet.template-blueprint .sheet-main h3 { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.15); text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.generated-sheet.template-blueprint .sheet-item-head small { color: rgba(255,255,255,.7); }
.generated-sheet.template-blueprint .sheet-company { color: rgba(255,255,255,.6); }

/* 34. Retro Type — cream bg, red left margin, typewriter feel */
.generated-sheet.template-retro-type .sheet-side { background: #fdf6e3 !important; color: #2c2c2c !important; border-bottom: 1px solid #ccc; border-left: 4px solid #e74c3c; }
.generated-sheet.template-retro-type .sheet-side h3 { color: #2c2c2c; border-bottom: 1px solid #ccc; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.generated-sheet.template-retro-type .sheet-id h1 { color: #2c2c2c !important; }
.generated-sheet.template-retro-type .sheet-id p { color: #888 !important; }
.generated-sheet.template-retro-type .sheet-contact { color: #555 !important; }
.generated-sheet.template-retro-type .sheet-skills span { background: #f0e8d0; border-color: #ccc; color: #2c2c2c; border-radius: 0; }
.generated-sheet.template-retro-type .sheet-main { background: #fdf6e3 !important; color: #2c2c2c; }
.generated-sheet.template-retro-type .sheet-main h3 { color: #2c2c2c; border-bottom: 1px solid #ccc; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.generated-sheet.template-retro-type .sheet-item-head small { color: #e74c3c; }
.generated-sheet.template-retro-type .sheet-company { color: #888; }

/* 35. Gradient Flow — full diagonal gradient throughout */
.generated-sheet.template-gradient-flow .sheet-side { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.generated-sheet.template-gradient-flow .sheet-side h3 { color: rgba(255,255,255,.9); border-bottom-color: rgba(255,255,255,.25); }
.generated-sheet.template-gradient-flow .sheet-id p { color: rgba(255,255,255,.75); }
.generated-sheet.template-gradient-flow .sheet-contact { color: rgba(255,255,255,.75); }
.generated-sheet.template-gradient-flow .sheet-skills span { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: #fff; }
.generated-sheet.template-gradient-flow .sheet-main { background: linear-gradient(135deg, #8b5cf6, #ec4899); color: #fff; }
.generated-sheet.template-gradient-flow .sheet-main p { color: rgba(255,255,255,.85); }
.generated-sheet.template-gradient-flow .sheet-main h3 { color: #fff; border-bottom-color: rgba(255,255,255,.3); }
.generated-sheet.template-gradient-flow .sheet-item-head small { color: rgba(255,255,255,.8); }
.generated-sheet.template-gradient-flow .sheet-company { color: rgba(255,255,255,.75); }

/* 36. Magazine — black sidebar with amber accent, editorial feel */
.generated-sheet.template-magazine .sheet-side { background: #111111; border-right: 4px solid #f59e0b; }
.generated-sheet.template-magazine .sheet-side h3 { color: #f59e0b; border-bottom-color: rgba(245,158,11,.3); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.generated-sheet.template-magazine .sheet-id p { color: #f59e0b; }
.generated-sheet.template-magazine .sheet-contact { color: #9ca3af; }
.generated-sheet.template-magazine .sheet-skills span { background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); color: #f59e0b; }
.generated-sheet.template-magazine .sheet-main { background: #fff; }
.generated-sheet.template-magazine .sheet-main h3 { color: #111; border-bottom: 2px solid #f59e0b; text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
.generated-sheet.template-magazine .sheet-item-head small { color: #f59e0b; }
.generated-sheet.template-magazine .sheet-company { color: #374151; }

/* 37. Deco Art — cream bg, gold borders, art deco style */
.generated-sheet.template-deco-art .sheet-side { background: #fafaf7; color: #1a1a1a; border-right: 2px solid #b8931f; border-top: 2px solid #b8931f; }
.generated-sheet.template-deco-art .sheet-side h3 { color: #b8931f; border-bottom: 1px solid #b8931f; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.generated-sheet.template-deco-art .sheet-id h1 { color: #1a1a1a; }
.generated-sheet.template-deco-art .sheet-id p { color: #b8931f; }
.generated-sheet.template-deco-art .sheet-contact { color: #555; }
.generated-sheet.template-deco-art .sheet-skills span { background: #fdf9ed; border-color: #b8931f; color: #1a1a1a; border-radius: 0; }
.generated-sheet.template-deco-art .sheet-main { background: #fafaf7; border-top: 2px solid #b8931f; }
.generated-sheet.template-deco-art .sheet-main h3 { color: #1a1a1a; border-bottom: 1px solid #b8931f; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.generated-sheet.template-deco-art .sheet-item-head small { color: #b8931f; }
.generated-sheet.template-deco-art .sheet-company { color: #8a6e10; }

/* 38. Split Horizon — white left / dark right split */
.generated-sheet.template-split-horizon .sheet-side { background: #ffffff; color: #1e293b; border-right: 2px solid #1e293b; }
.generated-sheet.template-split-horizon .sheet-side h3 { color: #1e293b; border-bottom-color: #e2e8f0; }
.generated-sheet.template-split-horizon .sheet-id h1 { color: #1e293b; }
.generated-sheet.template-split-horizon .sheet-id p { color: #64748b; }
.generated-sheet.template-split-horizon .sheet-contact { color: #475569; }
.generated-sheet.template-split-horizon .sheet-skills span { background: #f1f5f9; border-color: #cbd5e1; color: #1e293b; }
.generated-sheet.template-split-horizon .sheet-main { background: #1e293b; color: #e2e8f0; }
.generated-sheet.template-split-horizon .sheet-main p { color: #cbd5e1; }
.generated-sheet.template-split-horizon .sheet-main h3 { color: #f1f5f9; border-bottom-color: rgba(241,245,249,.15); }
.generated-sheet.template-split-horizon .sheet-item-head small { color: #94a3b8; }
.generated-sheet.template-split-horizon .sheet-company { color: #94a3b8; }

/* 39. Polaroid Stack — gray background with white card panels */
.generated-sheet.template-polaroid-stack { background: #d1d5db; }
.generated-sheet.template-polaroid-stack .sheet-side { background: #fff; color: #1e293b; border-right: 1px solid #e5e7eb; margin: 8px 0 8px 8px; border-radius: 4px; box-shadow: 2px 2px 6px rgba(0,0,0,.12); }
.generated-sheet.template-polaroid-stack .sheet-side h3 { color: #374151; border-bottom-color: #e5e7eb; }
.generated-sheet.template-polaroid-stack .sheet-id h1 { color: #111827; }
.generated-sheet.template-polaroid-stack .sheet-id p { color: #6b7280; }
.generated-sheet.template-polaroid-stack .sheet-contact { color: #4b5563; }
.generated-sheet.template-polaroid-stack .sheet-skills span { background: #f3f4f6; border-color: #d1d5db; color: #374151; }
.generated-sheet.template-polaroid-stack .sheet-main { background: #fff; margin: 8px 8px 8px 0; border-radius: 4px; box-shadow: 2px 2px 6px rgba(0,0,0,.12); }
.generated-sheet.template-polaroid-stack .sheet-main h3 { color: #111827; border-bottom-color: #e5e7eb; }
.generated-sheet.template-polaroid-stack .sheet-item-head small { color: #6b7280; }
.generated-sheet.template-polaroid-stack .sheet-company { color: #374151; }

/* 40. Sunrise — multicolor sunrise accent band, warm two-col */
.generated-sheet.template-sunrise { border-top: 10px solid transparent; border-image: linear-gradient(90deg, #ef4444, #f97316, #facc15) 1; }
.generated-sheet.template-sunrise .sheet-side { background: #fff7ed; color: #431407; border-right: 1px solid #fed7aa; }
.generated-sheet.template-sunrise .sheet-side h3 { color: #9a3412; border-bottom-color: #fed7aa; }
.generated-sheet.template-sunrise .sheet-id h1 { color: #431407; }
.generated-sheet.template-sunrise .sheet-id p { color: #f97316; }
.generated-sheet.template-sunrise .sheet-contact { color: #6b7280; }
.generated-sheet.template-sunrise .sheet-skills span { background: #fef3c7; border-color: #fde68a; color: #92400e; }
.generated-sheet.template-sunrise .sheet-main { background: #fff; }
.generated-sheet.template-sunrise .sheet-main h3 { color: #9a3412; border-bottom-color: #fed7aa; }
.generated-sheet.template-sunrise .sheet-item-head small { color: #f97316; }
.generated-sheet.template-sunrise .sheet-company { color: #ea580c; }

/* 41. Origami Fold — clean white, indigo corner fold decoration */
.generated-sheet.template-origami-fold { position: relative; overflow: hidden; }
.generated-sheet.template-origami-fold::after { content: ''; position: absolute; top: 0; right: 0; width: 0; height: 0; border-style: solid; border-width: 0 52px 52px 0; border-color: transparent #6366f1 transparent transparent; pointer-events: none; }
.generated-sheet.template-origami-fold .sheet-side { background: #f9fafb; color: #1e293b; border-right: 1px solid #e5e7eb; }
.generated-sheet.template-origami-fold .sheet-side h3 { color: #6366f1; border-bottom-color: #e0e7ff; }
.generated-sheet.template-origami-fold .sheet-id h1 { color: #1e293b; }
.generated-sheet.template-origami-fold .sheet-id p { color: #6366f1; }
.generated-sheet.template-origami-fold .sheet-contact { color: #475569; }
.generated-sheet.template-origami-fold .sheet-skills span { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.generated-sheet.template-origami-fold .sheet-main { background: #fff; }
.generated-sheet.template-origami-fold .sheet-main h3 { color: #4338ca; border-bottom-color: #e0e7ff; }
.generated-sheet.template-origami-fold .sheet-item-head small { color: #6366f1; }
.generated-sheet.template-origami-fold .sheet-company { color: #4f46e5; }

/* 42. Mosaic Tiles — multicolor tile header bar, clean white body */
.generated-sheet.template-mosaic-tiles .sheet-grid { grid-template-columns: 1fr; }
.generated-sheet.template-mosaic-tiles .sheet-side { background: linear-gradient(90deg, #6366f1 0% 16.7%, #ec4899 16.7% 33.3%, #f59e0b 33.3% 50%, #10b981 50% 66.7%, #0ea5e9 66.7% 83.3%, #8b5cf6 83.3% 100%); padding: 18px 28px; }
.generated-sheet.template-mosaic-tiles .sheet-main { background: #fff; }
.generated-sheet.template-mosaic-tiles .sheet-main h3 { color: #6366f1; border-bottom-color: #e0e7ff; }
.generated-sheet.template-mosaic-tiles .sheet-item-head small { color: #6366f1; }
.generated-sheet.template-mosaic-tiles .sheet-company { color: #4f46e5; }

/* 43. Skill Chips — prominent skill chips, clean indigo accents */
.generated-sheet.template-skill-chips .sheet-side { background: #fafafa; color: #111111; border-right: 1px solid #e5e7eb; }
.generated-sheet.template-skill-chips .sheet-side h3 { color: #6366f1; border-bottom: 2px solid #6366f1; text-transform: uppercase; letter-spacing: .06em; font-size: 10px; }
.generated-sheet.template-skill-chips .sheet-id h1 { color: #111; }
.generated-sheet.template-skill-chips .sheet-id p { color: #6366f1; }
.generated-sheet.template-skill-chips .sheet-contact { color: #374151; }
.generated-sheet.template-skill-chips .sheet-skills span { background: #e0e7ff; border-color: #a5b4fc; color: #3730a3; border-radius: 999px; }
.generated-sheet.template-skill-chips .sheet-main { background: #fff; }
.generated-sheet.template-skill-chips .sheet-main h3 { color: #111; border-bottom: 2px solid #6366f1; text-transform: uppercase; letter-spacing: .04em; font-size: 11px; }
.generated-sheet.template-skill-chips .sheet-item-head small { background: #e0e7ff; color: #4338ca; padding: 1px 8px; border-radius: 999px; font-size: 11px; }
.generated-sheet.template-skill-chips .sheet-company { color: #6366f1; }

/* 44. Newspaper — dark banner header, classic editorial */
.generated-sheet.template-newspaper .sheet-side { background: #111111 !important; color: #fff !important; border-bottom: 2px solid #111; text-align: center; }
.generated-sheet.template-newspaper .sheet-side h3 { color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; }
.generated-sheet.template-newspaper .sheet-id h1 { color: #fff !important; font-family: Georgia, serif; letter-spacing: -.5px; }
.generated-sheet.template-newspaper .sheet-id p { color: rgba(255,255,255,.75) !important; }
.generated-sheet.template-newspaper .sheet-contact { color: rgba(255,255,255,.7) !important; }
.generated-sheet.template-newspaper .sheet-skills span { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.generated-sheet.template-newspaper .sheet-main { background: #fffef7 !important; font-family: Georgia, serif; }
.generated-sheet.template-newspaper .sheet-main h3 { color: #111; border-bottom: 2px solid #111; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; }
.generated-sheet.template-newspaper .sheet-item-head small { color: #111; font-weight: 700; }
.generated-sheet.template-newspaper .sheet-company { color: #374151; font-style: italic; }

/* 45. Timeline Left — left sidebar, timeline dot+line on content items */
.generated-sheet.template-timeline-left .sheet-side { background: #fff; color: #1e293b; border-right: 1px solid #e0e7ff; }
.generated-sheet.template-timeline-left .sheet-side h3 { color: #6366f1; border-bottom-color: #e0e7ff; }
.generated-sheet.template-timeline-left .sheet-id h1 { color: #1e293b; }
.generated-sheet.template-timeline-left .sheet-id p { color: #6366f1; }
.generated-sheet.template-timeline-left .sheet-contact { color: #475569; }
.generated-sheet.template-timeline-left .sheet-skills span { background: #eef2ff; border-color: #c7d2fe; color: #4338ca; }
.generated-sheet.template-timeline-left .sheet-main { background: #fff; }
.generated-sheet.template-timeline-left .sheet-main h3 { color: #1e293b; border-bottom-color: #e0e7ff; }
.generated-sheet.template-timeline-left .sheet-item { position: relative; padding-left: 20px; }
.generated-sheet.template-timeline-left .sheet-item::before { content: ''; position: absolute; left: 0; top: 5px; width: 8px; height: 8px; border-radius: 50%; background: #6366f1; border: 2px solid #c7d2fe; box-sizing: border-box; }
.generated-sheet.template-timeline-left .sheet-item + .sheet-item::after { content: ''; position: absolute; left: 3px; top: -12px; height: 12px; width: 2px; background: #c7d2fe; }
.generated-sheet.template-timeline-left .sheet-item-head small { color: #6366f1; }
.generated-sheet.template-timeline-left .sheet-company { color: #4f46e5; }

/* 46. Diagonal Slash — diagonal orange corner decoration */
.generated-sheet.template-diagonal-slash { position: relative; overflow: hidden; }
.generated-sheet.template-diagonal-slash::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 0; border-style: solid; border-width: 70px 70px 0 0; border-color: #f97316 transparent transparent transparent; pointer-events: none; z-index: 1; }
.generated-sheet.template-diagonal-slash .sheet-side { background: #f9fafb; color: #1e293b; border-right: 1px solid #e5e7eb; }
.generated-sheet.template-diagonal-slash .sheet-side h3 { color: #f97316; border-bottom-color: #fed7aa; }
.generated-sheet.template-diagonal-slash .sheet-id h1 { color: #1e293b; }
.generated-sheet.template-diagonal-slash .sheet-id p { color: #f97316; }
.generated-sheet.template-diagonal-slash .sheet-contact { color: #475569; }
.generated-sheet.template-diagonal-slash .sheet-skills span { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
.generated-sheet.template-diagonal-slash .sheet-main { background: #fff; }
.generated-sheet.template-diagonal-slash .sheet-main h3 { color: #1e293b; border-bottom-color: #fed7aa; }
.generated-sheet.template-diagonal-slash .sheet-item-head small { color: #f97316; }
.generated-sheet.template-diagonal-slash .sheet-company { color: #ea580c; }

/* 47. Ice Nordic — ultra-minimal, barely-there gray lines */
.generated-sheet.template-ice-nordic .sheet-side { background: #f8fafc !important; color: #0f172a !important; border-bottom: 1px solid #e2e8f0; }
.generated-sheet.template-ice-nordic .sheet-side h3 { color: #475569; border-bottom: 1px solid #e2e8f0; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.generated-sheet.template-ice-nordic .sheet-id h1 { color: #0f172a !important; font-size: 32px; }
.generated-sheet.template-ice-nordic .sheet-id p { color: #64748b !important; }
.generated-sheet.template-ice-nordic .sheet-contact { color: #64748b !important; }
.generated-sheet.template-ice-nordic .sheet-skills span { background: transparent; border-color: #cbd5e1; color: #475569; }
.generated-sheet.template-ice-nordic .sheet-main { background: #f8fafc !important; }
.generated-sheet.template-ice-nordic .sheet-main h3 { color: #0f172a; border-bottom: 1px solid #1e293b; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.generated-sheet.template-ice-nordic .sheet-item-head small { color: #64748b; }
.generated-sheet.template-ice-nordic .sheet-company { color: #475569; }

/* 49. Washi Tape — cream bg, warm amber/pink decorative accent bands */
.generated-sheet.template-washi-tape .sheet-side { background: #fffdf5; color: #4b3a1a; border-right: 1px solid #fef3c7; border-top: 10px solid #fbbf24; }
.generated-sheet.template-washi-tape .sheet-side h3 { color: #4b3a1a; border-bottom-color: #fde68a; font-size: 11px; }
.generated-sheet.template-washi-tape .sheet-id h1 { color: #4b3a1a; }
.generated-sheet.template-washi-tape .sheet-id p { color: #d97706; }
.generated-sheet.template-washi-tape .sheet-contact { color: #78716c; }
.generated-sheet.template-washi-tape .sheet-skills span { background: #fef3c7; border-color: #fde68a; color: #78350f; }
.generated-sheet.template-washi-tape .sheet-main { background: #fffdf5; border-top: 10px solid #f9a8d4; }
.generated-sheet.template-washi-tape .sheet-main h3 { color: #4b3a1a; border-bottom-color: #fde68a; }
.generated-sheet.template-washi-tape .sheet-item-head small { color: #d97706; }
.generated-sheet.template-washi-tape .sheet-company { color: #92400e; }

/* 50. Holographic — iridescent gradient throughout */
.generated-sheet.template-holographic .sheet-side { background: linear-gradient(135deg, #fce7f3, #e0e7ff, #d1fae5); color: #1e1b4b; }
.generated-sheet.template-holographic .sheet-side h3 { color: #4c1d95; border-bottom-color: rgba(139,92,246,.3); }
.generated-sheet.template-holographic .sheet-id h1 { color: #1e1b4b; }
.generated-sheet.template-holographic .sheet-id p { color: #6d28d9; }
.generated-sheet.template-holographic .sheet-contact { color: #4c1d95; }
.generated-sheet.template-holographic .sheet-skills span { background: rgba(255,255,255,.5); border-color: rgba(139,92,246,.4); color: #4c1d95; }
.generated-sheet.template-holographic .sheet-main { background: linear-gradient(135deg, #d1fae5, #fef3c7, #fce7f3); color: #1e1b4b; }
.generated-sheet.template-holographic .sheet-main h3 { color: #4c1d95; border-bottom-color: rgba(139,92,246,.3); }
.generated-sheet.template-holographic .sheet-item-head small { color: #6d28d9; }
.generated-sheet.template-holographic .sheet-company { color: #5b21b6; }

/* ─── Print overrides for light-bg new templates ──────────────────────────── */
@media print {
  .generated-sheet.template-amber-warm .sheet-side,
  .generated-sheet.template-cherry-blossom .sheet-side,
  .generated-sheet.template-crimson-edge .sheet-side,
  .generated-sheet.template-monochrome .sheet-side,
  .generated-sheet.template-retro-type .sheet-side,
  .generated-sheet.template-mint-fresh .sheet-side,
  .generated-sheet.template-ice-nordic .sheet-side,
  .generated-sheet.template-deco-art .sheet-side,
  .generated-sheet.template-skill-chips .sheet-side,
  .generated-sheet.template-timeline-left .sheet-side,
  .generated-sheet.template-diagonal-slash .sheet-side,
  .generated-sheet.template-origami-fold .sheet-side,
  .generated-sheet.template-polaroid-stack .sheet-side,
  .generated-sheet.template-washi-tape .sheet-side,
  .generated-sheet.template-split-horizon .sheet-side,
  .generated-sheet.template-holographic .sheet-side { background-color: unset !important; color: inherit !important; }
  .generated-sheet.template-amber-warm .sheet-main,
  .generated-sheet.template-cherry-blossom .sheet-main,
  .generated-sheet.template-crimson-edge .sheet-main,
  .generated-sheet.template-monochrome .sheet-main,
  .generated-sheet.template-retro-type .sheet-main,
  .generated-sheet.template-mint-fresh .sheet-main,
  .generated-sheet.template-ice-nordic .sheet-main,
  .generated-sheet.template-deco-art .sheet-main,
  .generated-sheet.template-skill-chips .sheet-main,
  .generated-sheet.template-timeline-left .sheet-main,
  .generated-sheet.template-diagonal-slash .sheet-main,
  .generated-sheet.template-origami-fold .sheet-main,
  .generated-sheet.template-washi-tape .sheet-main,
  .generated-sheet.template-holographic .sheet-main { background-color: unset !important; color: inherit !important; }
}

@media (max-width: 768px) {
  .topbar {
    margin-top: 16px;
  }

  .hero {
    flex-direction: column;
  }

  .hero-content {
    padding: 28px;
  }

  .builder-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .row-between {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    gap: 8px;
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .resume-header {
    display: block;
  }

  .resume-contact-inline {
    text-align: left;
    margin-top: 10px;
  }

  .resume-main {
    grid-template-columns: 1fr;
  }

  .generated-sheet .sheet-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4;
    margin: 2mm;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body {
    background: #fff;
  }

  .actions,
  .warning,
  .muted,
  .builder-header,
  .builder-form,
  .topbar,
  .hero {
    display: none;
  }

  .container {
    margin: 0;
    max-width: none;
    padding: 0;
  }

  .generated-sheet {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #dbe6f3;
    overflow: visible;
  }

  .sheet-item {
    break-inside: avoid;
  }

  .generated-sheet .sheet-side,
  .generated-sheet .sheet-main {
    min-height: 0;
  }

  .generated-sheet .sheet-grid {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  }

  .generated-sheet .sheet-side {
    background: #1e293b !important;
    color: #fff !important;
  }

  .generated-sheet .sheet-id p,
  .generated-sheet .sheet-contact {
    color: #dbe3ef !important;
  }

  .generated-sheet .sheet-side h3 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  }

  .generated-sheet .sheet-main {
    background: #faf8f3 !important;
    color: #1e293b !important;
  }

  .generated-sheet.template-classic .sheet-side,
  .generated-sheet.template-modern-corporate .sheet-side {
    background: #f8fafc !important;
    color: #1e293b !important;
    border-right: 1px solid #dbe6f3;
  }

  .generated-sheet.template-classic .sheet-id p,
  .generated-sheet.template-modern-corporate .sheet-id p,
  .generated-sheet.template-classic .sheet-contact,
  .generated-sheet.template-modern-corporate .sheet-contact {
    color: #475569 !important;
  }

  .generated-sheet.template-classic .sheet-side h3,
  .generated-sheet.template-modern-corporate .sheet-side h3 {
    border-bottom: 1px solid #d5dfec !important;
  }

  .generated-sheet.template-minimal .sheet-grid,
  .generated-sheet.template-minimalist .sheet-grid,
  .generated-sheet.layout-minimalist .sheet-grid {
    grid-template-columns: 1fr;
  }

  .generated-sheet.template-minimal .sheet-side,
  .generated-sheet.template-minimalist .sheet-side,
  .generated-sheet.layout-minimalist .sheet-side {
    background: #fff !important;
    color: #1e293b !important;
    border-bottom: 1px solid #dbe6f3;
  }

  .generated-sheet.template-minimal .sheet-id p,
  .generated-sheet.template-minimalist .sheet-id p,
  .generated-sheet.layout-minimalist .sheet-id p,
  .generated-sheet.template-minimal .sheet-contact,
  .generated-sheet.template-minimalist .sheet-contact,
  .generated-sheet.layout-minimalist .sheet-contact {
    color: #475569 !important;
  }

  .generated-sheet.template-minimal .sheet-side h3,
  .generated-sheet.template-minimalist .sheet-side h3,
  .generated-sheet.layout-minimalist .sheet-side h3 {
    border-bottom: 1px solid #dbe6f3 !important;
  }

  .generated-sheet.template-minimal .sheet-main,
  .generated-sheet.template-minimalist .sheet-main,
  .generated-sheet.layout-minimalist .sheet-main {
    background: #fff !important;
  }

  .resume {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
}
