:root {
  --ink: #e8f6ff;
  --navy: #0b3558;
  --navy-deep: #041018;
  --line: rgba(46, 196, 182, 0.5);
  --paper: rgba(8, 20, 36, 0.88);
  --paper-2: rgba(12, 28, 48, 0.94);
  --teal: #1a7a76;
  --teal-d: #7ee0d6;
  --cyan: #2ec4b6;
  --cyan-2: #7ee0d6;
  --blue: #3d7ea6;
  --muted: #9ec0d4;
  --danger: #ff8a7a;
  --shadow: 0 24px 64px rgba(3, 12, 24, 0.55);
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--navy-deep);
  min-height: 100%;
  min-height: 100dvh;
  padding: 0;
}

.lab-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(4, 16, 28, 0.55), rgba(4, 16, 28, 0.78)),
    url("assets/stem/circuit.jpg") center/cover;
}

.lab-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(126, 224, 214, 0.18) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}

.os-window {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background:
    linear-gradient(180deg, rgba(8, 22, 40, 0.82), rgba(6, 16, 30, 0.9)),
    url("assets/stem/circuit.jpg") center/cover;
  color: var(--ink);
  border: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.os-window::before,
.os-window::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid var(--cyan);
  pointer-events: none;
  z-index: 2;
}
.os-window::before,
.os-window::after { display: none; }

.titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 12px;
  border-bottom: 2px solid var(--line);
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  background: rgba(6, 18, 32, 0.72);
  color: var(--ink);
  flex: 0 0 auto;
}

.filename { font-weight: 500; color: #7ee0d6; }

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

.folio-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--teal-d);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 3px 10px;
  background: rgba(46, 196, 182, 0.12);
}
.folio-link:hover { background: rgba(46, 196, 182, 0.28); color: #fff; }

.signout-btn {
  appearance: none;
  background: rgba(46, 196, 182, 0.12);
  border: 1px solid var(--line);
  color: var(--teal-d);
  font: inherit;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  cursor: pointer;
}

.signout-btn:hover {
  background: rgba(46, 196, 182, 0.28);
  color: #fff;
}

.mode-pill {
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 3px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.mode-pill.auth {
  color: var(--teal-d);
  border-color: var(--teal);
  background: rgba(46, 196, 182, 0.12);
}

.quote-bar {
  border-bottom: 2px solid var(--line);
  padding: 14px 22px 16px;
  text-align: center;
  flex: 0 0 auto;
  background: linear-gradient(90deg, rgba(7, 28, 48, 0.85), rgba(26, 122, 118, 0.35));
}

.quote-bar p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: #d9f6ff;
}

.quote-bar .cite {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-size: 16px;
  color: #ffd166;
}

.body-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 0;
  flex: 1;
}

.sidebar {
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 16px 14px 10px;
  background: rgba(6, 18, 34, 0.72);
  min-height: 0;
}

.menu-label {
  font-size: 16px;
  margin-bottom: 8px;
  color: #7ee0d6;
}

.menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.nav-btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 3px 0;
  font: inherit;
  font-size: 15.5px;
  color: #c5e8ff;
  cursor: pointer;
  text-align: left;
  width: 100%;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  color: #7ee0d6;
  outline: none;
}

.nav-btn.is-active {
  color: #fff;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--cyan);
  padding-left: 8px;
}

.stem-btn {
  margin-top: auto;
  appearance: none;
  background: none;
  border: 0;
  padding: 8px 0 4px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  line-height: 1;
}

.stem-btn .atom {
  width: 42px;
  height: 42px;
  overflow: visible;
}

.stem-btn .atom ellipse {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.6;
}

.stem-btn .nucleus { fill: #7ee0d6; }
.stem-btn .electron { fill: var(--cyan); }

.stem-btn:hover span,
.stem-btn:focus-visible span { color: var(--teal-d); }

.stem-btn.is-auth span { color: var(--teal-d); }
.stem-btn.is-auth .nucleus { fill: var(--teal); }

@keyframes orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.stem-btn.is-auth .atom {
  animation: orbit 16s linear infinite;
  transform-origin: 50% 50%;
}

.viewport {
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(6, 16, 30, 0.55);
  position: relative;
}

.pane {
  min-height: 100%;
  padding: 22px 28px 32px;
}

.pane-head {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  position: relative;
  margin: 4px 0 14px;
}

.pane-head h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ghost-link {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ghost-link:hover { color: var(--teal-d); }

.box {
  border: 1.5px solid var(--line);
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--paper);
}

.box.tall {
  min-height: 220px;
}

.center-copy {
  text-align: center;
  color: var(--muted);
}

.login-pane {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 64px;
  min-height: 100%;
}

.login-pane h1 {
  margin: 0 0 36px;
  font-size: 28px;
  font-weight: 500;
}

.login-form {
  width: min(280px, 100%);
  display: grid;
  gap: 10px;
}

.field {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.field input,
.field textarea,
.field select,
.input, .textarea {
  font: inherit;
  font-size: 15px;
  border: 1.5px solid var(--line);
  padding: 6px 8px;
  width: 100%;
  background: var(--paper);
  color: var(--ink);
}

.textarea,
textarea {
  min-height: 110px;
  resize: vertical;
}

.login-submit {
  margin-top: 48px;
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 22px;
  cursor: pointer;
  align-self: flex-end;
}

.login-submit:hover { color: var(--teal-d); }

.err {
  color: var(--danger);
  font-size: 13px;
  min-height: 1.2em;
  text-align: left;
}

.title-row {
  border: 1.5px solid var(--line);
  padding: 8px 12px;
  margin-bottom: 8px;
  cursor: pointer;
  background: var(--paper);
  color: #fff;
  font-size: 16px;
  text-align: center;
  user-select: none;
}

.title-row:hover,
.title-row:focus-visible {
  background: rgba(46, 196, 182, 0.16);
  outline: none;
}

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

.project-list {
  display: grid;
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
}

.project-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  color: #0b2548;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, outline-color 0.15s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.project-card.is-selected {
  outline: 3px solid #2ec4b6;
  outline-offset: 2px;
  box-shadow: 0 16px 36px rgba(46, 196, 182, 0.35);
}

.project-card-title {
  margin: 0;
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.01em;
}

.project-card-text {
  font-size: 14.5px;
  line-height: 1.55;
}

.project-card-text p { margin: 0 0 0.6em; }
.project-card-text p:last-child { margin-bottom: 0; }

.project-card-media {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(7, 21, 38, 0.2);
}

.project-card-media .media-stage.has-cover,
.project-card-media .media-stage.has-cover img {
  min-height: 180px;
  height: 200px;
  max-height: 200px;
}

.pane-head.has-download h1 {
  padding-inline: 8.75rem;
}

.pane-download {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 !important;
  white-space: nowrap;
  z-index: 1;
}

.essay-detail .essay-body {
  margin-top: 8px;
}

.essay-detail {
  overflow: visible;
  max-height: none;
  height: auto;
}

.essay-pdf-pages {
  display: grid;
  gap: 18px;
  margin-top: 8px;
  justify-items: center;
  overflow: visible;
  max-height: none;
  height: auto;
}

.essay-pdf-page {
  width: 100%;
  max-width: min(900px, 100%);
  height: auto;
  display: block;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.media-stage {
  min-height: 240px;
  display: grid;
  place-items: center;
  color: var(--muted);
  gap: 12px;
}

.media-stage img,
.media-stage video {
  max-width: 100%;
  max-height: 360px;
  display: block;
}

.media-stage.has-cover {
  padding: 0;
  min-height: 220px;
}

.media-stage.has-cover img {
  width: 100%;
  height: 220px;
  max-height: none;
  object-fit: cover;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  width: 100%;
}

.media-grid figure {
  margin: 0;
  border: 1px solid #d1d5db;
  padding: 6px;
  background: #fafafa;
  position: relative;
}

.media-grid img,
.media-grid video {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.media-grid video {
  object-fit: contain;
  background: #041018;
  height: 180px;
}

.media-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(7, 21, 38, 0.82);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.media-remove:hover { background: var(--danger); }

.attach-drop {
  min-height: 64px;
  margin-top: 8px;
  padding: 12px;
  cursor: pointer;
  background: rgba(8, 20, 36, 0.45);
  border-color: var(--line);
  color: var(--teal-d);
}

.attach-drop.is-over,
.drop-media.is-over {
  border-color: var(--cyan);
  background: rgba(46, 196, 182, 0.16);
  color: #fff;
}

.media-grid figcaption {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-stack {
  display: grid;
  gap: 10px;
}

.form-stack input,
.form-stack textarea,
input.title-row,
textarea.box {
  color: #fff;
  background: var(--paper);
  caret-color: #fff;
}

.form-stack input::placeholder,
.form-stack textarea::placeholder,
input.title-row::placeholder,
textarea.box::placeholder {
  color: var(--muted);
  opacity: 1;
}

.form-stack label {
  font-size: 13px;
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.btn-row {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 6px;
}

.btn {
  appearance: none;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 14px;
  padding: 6px 12px;
  cursor: pointer;
}

.btn:hover { background: rgba(46, 196, 182, 0.18); color: #fff; }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.primary:hover { background: #0d335c; }
.btn.danger { color: var(--danger); border-color: var(--danger); }

.essay-body {
  font-size: 15.5px;
  line-height: 1.65;
  color: #dcefff;
  max-width: 68ch;
  margin: 0 auto;
}

.essay-body p { margin: 0 0 1em; }

.resume-pane { padding: 16px 18px 28px; }

.resume {
  max-width: 1100px;
  margin: 0 auto;
  color: #e8f6ff;
  min-width: 0;
  overflow-wrap: anywhere;
}

.r-sec > div { min-width: 0; }

.resume-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 21, 38, 0.28), rgba(7, 21, 38, 0.78)),
    url("assets/stem/hero.jpg") center/cover;
  color: #e8f6ff;
  border-radius: 14px;
  padding: 22px 20px 20px;
  text-align: center;
  border: 1px solid rgba(126, 224, 214, 0.35);
  box-shadow: 0 12px 28px rgba(7, 21, 38, 0.28);
  min-height: 210px;
}

.resume-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126, 224, 214, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 224, 214, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(#000, transparent 85%);
  pointer-events: none;
}

.hero-eq {
  position: relative;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #7ee0d6;
  opacity: 0.9;
  margin-bottom: 10px;
}

.hero-art {
  position: absolute;
  inset: 8px 10px;
  pointer-events: none;
}

.deco-rocket, .deco-chip, .deco-atom {
  position: absolute;
  width: 54px;
  height: 54px;
  opacity: 0.92;
}

.deco-rocket { left: 8px; top: 28px; transform: rotate(-18deg); }
.deco-chip { right: 12px; top: 18px; }
.deco-atom { right: 22px; bottom: 10px; width: 46px; height: 46px; opacity: 0.7; }

.resume-name {
  position: relative;
  text-align: center;
  font-size: clamp(26px, 5vw, 40px);
  letter-spacing: 0.08em;
  margin: 4px 0 10px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 18px rgba(46, 196, 182, 0.45);
}

.resume-meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13.5px;
  color: #c5e8ff;
  margin-bottom: 8px;
}

.resume-meta a { color: #7ee0d6; text-decoration: none; }
.resume-meta a:hover { text-decoration: underline; }

.hero-pdf {
  position: relative;
  color: #ffd166 !important;
  margin: 4px 0 0;
}

.resume-body {
  position: relative;
  margin-top: 14px;
}

.eq-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  color: #0b3558;
  background: linear-gradient(90deg, #e7fff8, #fff6e0, #e8f1ff);
  border: 1px solid rgba(11, 53, 88, 0.12);
  border-radius: 999px;
  padding: 7px 14px;
}

.eq-banner span { white-space: nowrap; }

.r-sec {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid transparent;
  overflow: hidden;
}

.sec-photo {
  width: 100%;
  height: 100%;
  min-height: 120px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.sec-copy {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  min-width: 0;
}

.tone-mission { background: linear-gradient(180deg, #fff3ea, #ffe8d6); border-color: #ffb38a; }
.tone-skills  { background: linear-gradient(180deg, #e9fff8, #d5f6ee); border-color: #7ee0d6; }
.tone-certs   { background: linear-gradient(180deg, #f3e9ff, #e8dcff); border-color: #c4a8f5; }
.tone-edu     { background: linear-gradient(180deg, #e7f2ff, #d5e8ff); border-color: #8cbcf0; }
.tone-exp     { background: linear-gradient(180deg, #fff6d8, #ffe9a8); border-color: #ffd166; }
.tone-refs    { background: linear-gradient(180deg, #e9fff0, #d4f5df); border-color: #8fe0b0; }

.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  display: grid;
  place-items: center;
  margin-top: 1px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.icon-rocket { background: linear-gradient(135deg, #ff6b3d, #e85d04); }
.icon-chip   { background: linear-gradient(135deg, #1a7a76, #2ec4b6); }
.icon-flask  { background: linear-gradient(135deg, #7b2cbf, #9d4edd); }
.icon-atom   { background: linear-gradient(135deg, #0077b6, #48cae4); }
.icon-bolt   { background: linear-gradient(135deg, #e9c46a, #f4a261); color: #3d2a00; }
.icon-people { background: linear-gradient(135deg, #2a9d8f, #52b788); }

.icon-badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }

.r-sec,
.r-sec h2,
.r-sec p,
.r-sec li,
.r-sec strong,
.skill-tag {
  color: #0b2548;
}

.r-sec h2 {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.r-sec p, .r-sec li {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1e3a5f;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-tag {
  display: inline-block;
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(26, 122, 118, 0.28);
  color: #0b3558;
}

.skill-tag:nth-child(4n+1) { background: #fff; border-color: #2ec4b6; }
.skill-tag:nth-child(4n+2) { background: #fff7e0; border-color: #ffd166; }
.skill-tag:nth-child(4n+3) { background: #eef4ff; border-color: #7eb8ff; }
.skill-tag:nth-child(4n)   { background: #ffe9dc; border-color: #ff6b3d; }

.cert-card {
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
}

.cert-card strong { display: block; font-size: 13.5px; }
.cert-card span {
  display: block;
  font-size: 12px;
  color: #4b5568;
  margin-top: 2px;
  font-family: var(--mono);
}

.job { margin-bottom: 12px; }
.job strong { display: block; margin-bottom: 2px; font-size: 13.5px; }
.job ul { margin: 4px 0 0; padding-left: 18px; }

.pdf-link {
  display: inline-block;
  margin: 0 auto 12px;
  font-size: 12.5px;
  color: var(--teal-d);
}

.ctx-menu {
  position: fixed;
  z-index: 20;
  min-width: 148px;
  background: #0c2236;
  color: #e8f6ff;
  border: 1.5px solid var(--line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  padding: 4px;
}

.ctx-menu button {
  display: block;
  width: 100%;
  text-align: left;
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 14px;
  padding: 7px 10px;
  cursor: pointer;
}

.ctx-menu button { color: #fff; }
.ctx-menu button:hover { background: rgba(46, 196, 182, 0.18); color: #fff; }
.ctx-menu button.danger { color: var(--danger); }

.hidden { display: none !important; }

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  z-index: 30;
  border: 1px solid var(--cyan);
}

.hint {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.drop {
  border: 1.5px dashed #9ca3af;
  padding: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
}

.drop:hover { border-color: var(--teal); color: var(--teal-d); }

.drop-media {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 12px;
}

.drop-media.has-files .drop-label { display: none; }
.drop-media #proj-preview { width: 100%; }

.pdf-drop {
  display: grid;
  place-items: center;
  width: 100%;
  margin: 0 0 18px;
  min-height: 96px;
}

.back {
  appearance: none;
  background: none;
  border: 0;
  font: inherit;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 8px;
}

.back:hover { color: var(--ink); }

@media (max-width: 760px) {
  body { padding: 0; }
  .body-row { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .sidebar {
    border-right: 0;
    border-bottom: 2px solid var(--line);
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
  }
  .menu { flex-direction: row; gap: 12px; }
  .stem-btn {
    margin-top: 0;
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    letter-spacing: 0.06em;
  }
  .stem-btn .atom { width: 28px; height: 28px; }
  .skills-cols { grid-template-columns: 1fr; }
  .pane { padding: 16px; }
  .login-pane { padding-top: 32px; }
  .deco-rocket, .deco-chip, .deco-atom { width: 34px; height: 34px; opacity: 0.5; }
  .hero-eq { font-size: 9px; letter-spacing: 0.02em; }
  .quote-bar p { font-size: 16px; }
  .quote-bar .cite { font-size: 14px; }
  .eq-banner { justify-content: center; border-radius: 12px; }
  .r-sec { grid-template-columns: 1fr; }
  .project-card-title { font-size: 18px; }
  .sec-photo { max-height: 140px; }
}

@media print {
  .lab-bg, .sidebar, .titlebar, .quote-bar, .ghost-link, .pdf-link { display: none !important; }
  body { background: #fff; padding: 0; }
  .os-window { box-shadow: none; border: 0; height: auto; width: 100%; }
  .body-row { display: block; }
  .viewport { overflow: visible; }
}
