/* ============================================================
   RESUME APP — Full PDF viewer with download/print bar.
   Character: Your actual resume, readable at native fidelity.
   ============================================================ */

.window.app-resume .window-body {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.resume-wrap {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.resume-pdf {
  flex: 1;
  width: 100%;
  border: none;
  background: #f0f0f0;
}

.resume-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: linear-gradient(180deg, #f2f4fa, #e8eaf4);
  border-top: 1px solid rgba(60,80,160,0.14);
  flex-shrink: 0;
}

/* Single download button — clean, icon + label */
.resume-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border: 1px solid rgba(60,80,160,0.28);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #eef2ff);
  color: #1a3080;
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 100ms ease, border-color 100ms ease;
}

.resume-download-btn:hover {
  background: linear-gradient(180deg, #f0f4ff, #dce4ff);
  border-color: rgba(60,80,160,0.48);
}

.resume-download-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* A4-ish document container */
.window.app-resume .content-pane {
  max-width: 780px;
  margin: 24px auto;
  background: #ffffff;
  border: 1px solid rgba(60,80,140,0.16);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(20,40,100,0.12);
  padding: 40px 48px;
  color: #0e1e40;
}

/* Name heading */
.window.app-resume .doc h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: #060e28;
  margin: 0 0 4px;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

/* Sub-heading rule */
.window.app-resume .doc h2 + p {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: #6080b8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid rgba(60,80,160,0.16);
}

.window.app-resume .doc p {
  color: #2a4070;
  line-height: 1.75;
  max-width: 68ch;
  margin-bottom: 14px;
}

.window.app-resume .doc h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #3050a0;
  margin: 24px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(60,80,160,0.16);
}

/* Metric cards */
.window.app-resume .metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}

.window.app-resume .metric-card {
  border: 1px solid rgba(60,80,160,0.16);
  border-radius: 6px;
  background: linear-gradient(180deg, #f4f8ff, #eaf2ff);
  padding: 14px 16px;
}

.window.app-resume .metric-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #1a3890;
  line-height: 1.2;
  margin-bottom: 4px;
}

.window.app-resume .metric-card span { color: #4a6898; font-size: 0.80rem; }

/* Pills */
.window.app-resume .pill {
  background: rgba(60,80,160,0.08);
  border-color: rgba(60,80,160,0.22);
  color: #2040a0;
  font-size: 0.72rem;
}

/* Print button */
.window.app-resume [data-print] {
  margin-top: 20px;
  border: 1px solid rgba(60,80,160,0.28);
  border-radius: 6px;
  background: linear-gradient(180deg, #ffffff, #e8f0ff);
  color: #1a3890;
  padding: 9px 20px;
  font-size: 0.84rem;
  cursor: pointer;
  transition: background 120ms ease;
}

.window.app-resume [data-print]:hover {
  background: linear-gradient(180deg, #f4f8ff, #d0e4ff);
}
