/* ===================================================================
   MODERN RESUME / CV DESIGN SYSTEM & STYLESHEET
   Clean, Executive, Glassmorphic & Print-Ready
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color Palette - Modern Dark Theme (Default) */
  --bg-body: #0b0f19;
  --bg-canvas: #0f172a;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-badge: rgba(59, 130, 246, 0.12);
  --bg-pill: rgba(255, 255, 255, 0.05);

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  --primary: #3b82f6;
  --primary-rgb: 59, 130, 246;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;

  --accent: #10b981;
  --accent-rgb: 16, 185, 129;
  --accent-purple: #8b5cf6;

  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(59, 130, 246, 0.5);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 25px rgba(59, 130, 246, 0.2);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --transition-fast: 0.18s ease;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-canvas: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-hover: #ffffff;
  --bg-badge: rgba(37, 99, 235, 0.08);
  --bg-pill: rgba(15, 23, 42, 0.05);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1e40af;

  --accent: #059669;
  --accent-purple: #7c3aed;

  --border: rgba(15, 23, 42, 0.09);
  --border-focus: rgba(37, 99, 235, 0.5);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.12);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Background Ambient Glow */
.bg-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-decor-blob-1 {
  position: absolute;
  top: -150px;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, transparent 70%);
  filter: blur(80px);
}

.bg-decor-blob-2 {
  position: absolute;
  top: 40%;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  filter: blur(90px);
}

/* Floating Action Header Bar */
.action-bar {
  position: sticky;
  top: 16px;
  z-index: 100;
  max-width: 1080px;
  margin: 16px auto;
  padding: 10px 20px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.action-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.action-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(59, 130, 246, 0.45);
}

.btn-secondary {
  background: var(--bg-pill);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-badge);
  border-color: var(--border-focus);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-icon {
  padding: 8px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Main CV Container */
.cv-container {
  max-width: 1080px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Master Resume Card */
.resume-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

/* Header / Banner Area */
.resume-header {
  position: relative;
  padding: 40px 44px 30px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.avatar-img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--bg-card);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 2px var(--primary);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.avatar-wrapper:hover .avatar-img {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--primary-light);
}

.avatar-badge-online {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent);
  border: 3px solid var(--bg-card);
  title: "Sẵn sàng làm việc";
}

.hero-info {
  flex: 1;
}

.hero-role-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 8px;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Quick Contact Row */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.contact-item:hover {
  color: var(--primary-light);
}

.contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Key Metrics Bar */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px 44px;
  background: var(--bg-pill);
  border-bottom: 1px solid var(--border);
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.metric-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-badge);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* Two Column Layout */
.resume-body {
  display: grid;
  grid-template-columns: 340px 1fr;
  min-height: 800px;
}

/* Left Sidebar */
.resume-sidebar {
  padding: 36px 32px;
  background: rgba(0, 0, 0, 0.1);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

[data-theme="light"] .resume-sidebar {
  background: rgba(15, 23, 42, 0.02);
}

/* Main Content Area */
.resume-main {
  padding: 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Section Common Styling */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
}

.section-title svg {
  color: var(--primary);
}

.section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 8px;
}

/* Sidebar: Career Goal */
.goal-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Skill Groups */
.skill-category {
  margin-bottom: 18px;
}

.skill-category:last-child {
  margin-bottom: 0;
}

.skill-category-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-pill);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.tag:hover {
  border-color: var(--primary);
  background: var(--bg-badge);
  color: var(--primary-light);
  transform: translateY(-1px);
}

.tag.tag-featured {
  background: var(--bg-badge);
  border-color: rgba(59, 130, 246, 0.3);
  color: var(--primary-light);
  font-weight: 600;
}

/* Skill Progress Bars */
.skill-bar-item {
  margin-bottom: 12px;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: var(--bg-pill);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border);
}

.skill-bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  transition: width 1s ease-in-out;
}

/* Certification List */
.cert-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cert-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cert-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cert-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Language List */
.lang-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lang-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  padding: 8px 12px;
  background: var(--bg-pill);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.lang-name {
  font-weight: 600;
}

.lang-level {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Main: Professional Summary */
.summary-text {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.summary-text strong {
  color: var(--text-main);
}

/* Main: Timeline for Experience & Education */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-radius: 1px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.timeline-item:hover .timeline-dot {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-role {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.timeline-company {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.timeline-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-dim);
  background: var(--bg-pill);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 10px;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.timeline-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.timeline-bullets li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 0.9rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tags .tag {
  font-size: 0.75rem;
  padding: 3px 8px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.project-card {
  background: var(--bg-pill);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  position: relative;
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.project-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.project-links {
  display: flex;
  gap: 8px;
}

.project-link-btn {
  color: var(--text-dim);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.project-link-btn:hover {
  color: var(--primary-light);
}

.project-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.project-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.project-techs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project-techs span {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

[data-theme="light"] .project-techs span {
  background: rgba(0, 0, 0, 0.04);
}

/* Education & Honors */
.edu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.edu-degree {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
}

.edu-school {
  font-size: 0.88rem;
  color: var(--primary-light);
}

.edu-period {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-main);
  color: var(--text-inverse);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Editable Mode Banner & Styling */
.edit-mode-active [contenteditable="true"] {
  outline: 2px dashed rgba(59, 130, 246, 0.6) !important;
  outline-offset: 4px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.05);
  transition: all 0.2s ease;
}

.edit-mode-active [contenteditable="true"]:focus {
  outline: 2px solid var(--primary) !important;
  background: rgba(59, 130, 246, 0.12);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .action-bar {
    border-radius: var(--radius-md);
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }

  .action-bar-right {
    justify-content: flex-end;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .contact-grid {
    justify-content: center;
  }

  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .resume-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

@media (max-width: 600px) {
  .metrics-strip {
    grid-template-columns: 1fr;
    padding: 16px 24px;
  }

  .resume-header {
    padding: 28px 20px 20px;
  }

  .resume-sidebar, .resume-main {
    padding: 24px 18px;
  }

  .hero-name {
    font-size: 1.8rem;
  }
}

/* ===================================================================
   PRINT STYLESHEET OPTIMIZATION
   Strictly optimized for A4 paper export / Save to PDF
   =================================================================== */
@media print {
  @page {
    size: A4 portrait;
    margin: 8mm 10mm;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt !important;
    line-height: 1.4 !important;
  }

  .bg-decor,
  .action-bar,
  .toast-msg,
  .status-badge,
  .project-links {
    display: none !important;
  }

  .cv-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .resume-card {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .resume-header {
    padding: 0 0 16px 0 !important;
    background: transparent !important;
    border-bottom: 2px solid #e2e8f0 !important;
  }

  .avatar-img {
    width: 100px !important;
    height: 100px !important;
    box-shadow: none !important;
    border: 2px solid #cbd5e1 !important;
  }

  .avatar-badge-online {
    display: none !important;
  }

  .hero-name {
    font-size: 20pt !important;
    color: #0f172a !important;
  }

  .hero-role-tag {
    color: #2563eb !important;
    font-size: 9pt !important;
  }

  .hero-tagline {
    font-size: 10pt !important;
    color: #475569 !important;
    margin-bottom: 10px !important;
  }

  .contact-item {
    font-size: 8.5pt !important;
    color: #334155 !important;
  }

  .contact-item svg {
    color: #2563eb !important;
  }

  .metrics-strip {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 10px 0 !important;
    background: transparent !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  .metric-number {
    font-size: 13pt !important;
    color: #0f172a !important;
  }

  .metric-label {
    font-size: 7.5pt !important;
    color: #64748b !important;
  }

  .resume-body {
    display: grid !important;
    grid-template-columns: 260px 1fr !important;
    gap: 20px !important;
  }

  .resume-sidebar {
    padding: 16px 16px 0 0 !important;
    background: transparent !important;
    border-right: 1px solid #e2e8f0 !important;
  }

  .resume-main {
    padding: 16px 0 0 0 !important;
  }

  .section-title {
    font-size: 11pt !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
  }

  .timeline {
    gap: 16px !important;
  }

  .timeline-item {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  .timeline-role {
    font-size: 10.5pt !important;
    color: #0f172a !important;
  }

  .timeline-company {
    color: #2563eb !important;
    font-size: 9pt !important;
  }

  .timeline-bullets li {
    font-size: 8.5pt !important;
    color: #334155 !important;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .project-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
    padding: 10px !important;
  }

  .project-title {
    font-size: 9.5pt !important;
    color: #0f172a !important;
  }

  .project-desc {
    font-size: 8pt !important;
    color: #475569 !important;
  }

  .tag {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #1e293b !important;
    font-size: 7.5pt !important;
    padding: 2px 6px !important;
  }

  .skill-bar-track {
    border: 1px solid #cbd5e1 !important;
    background: #f1f5f9 !important;
  }

  .skill-bar-fill {
    background: #2563eb !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}
