/* Skyenet — layout inspired by the old site's "Dimension" look:
   full-screen night photo, centred header, articles open as panels. */

:root {
  --fg: #ffffff;
  --fg-dim: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.85);
  --line-soft: rgba(255, 255, 255, 0.18);
  --panel: rgba(23, 27, 31, 0.9);
  --accent: #4fb3ff;
  --accent-red: #ff5a5a;
  --field: rgba(255, 255, 255, 0.06);
  --radius: 4px;
  --font: "Source Sans Pro", "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { font-size: 16px; }
@media (max-width: 736px) { html { font-size: 14px; } }

body {
  margin: 0;
  min-height: 100vh;
  background: #111417;
  color: var(--fg);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

body.is-preload *, body.is-preload *::before, body.is-preload *::after {
  transition: none !important;
  animation: none !important;
}

a { color: inherit; border-bottom: 1px dotted rgba(255, 255, 255, 0.5); text-decoration: none; transition: color .2s, border-color .2s; }
a:hover { border-bottom-color: transparent; color: var(--accent); }

h1, h2, h3, h4 { font-weight: 600; letter-spacing: 0.2rem; text-transform: uppercase; line-height: 1.3; margin: 0 0 1rem; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1rem; }
h4 { font-size: 0.85rem; letter-spacing: 0.15rem; }
p { margin: 0 0 1.5rem; }
strong, b { font-weight: 600; }

h2.major, h3.major { border-bottom: 1px solid var(--line); display: inline-block; padding-bottom: 0.4rem; margin-bottom: 1.6rem; }
h3.major { margin-top: 1.5rem; }

/* ---------- background ---------- */
#bg {
  position: fixed; inset: 0; z-index: 0;
  transform: scale(1);
  transition: transform .4s ease-out, filter .4s ease-out;
}
#bg::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(to top, rgba(19, 21, 25, 0.62), rgba(19, 21, 25, 0.62)),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,.55) 100%);
}
#bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: #111 url("img/bg.jpg") center / cover no-repeat;
}
body.is-article-visible #bg { transform: scale(1.08); filter: blur(3px); }

/* ---------- wrapper ---------- */
#wrapper {
  position: relative; z-index: 3;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 4rem 2rem;
}
#wrapper::before { content: ""; display: block; }
@media (max-width: 736px) { #wrapper { padding: 2rem 1rem; } }

/* ---------- header ---------- */
#header {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 100%;
  transition: transform .325s ease-in-out, filter .325s ease-in-out, opacity .325s ease-in-out;
}
#header > * { position: relative; margin-top: 3.5rem; }
#header > *::before { content: ""; position: absolute; top: -3.5rem; left: calc(50% - 0.5px); width: 1px; height: 3.5rem; background: var(--line); }
#header > :first-child { margin-top: 0; }
#header > :first-child::before { display: none; }

#header .logo {
  width: 5.5rem; height: 5.5rem;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--accent);
}
#header .logo, #header .content, #header nav ul {
  background: rgba(12, 14, 17, 0.62);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}
#header .content {
  border-style: solid; border-color: var(--line); border-width: 1px 0;
  max-width: 100%;
}
#header h1, #header p, #header nav a { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9); }
#header .content .inner {
  padding: 3rem 2rem; max-height: 40rem; overflow: hidden;
  transition: max-height .75s ease, padding .75s ease, opacity .325s ease-in-out;
}
#header .content p { text-transform: uppercase; letter-spacing: 0.2rem; font-size: 0.85rem; font-weight: 400; line-height: 2; margin: 0; color: rgba(255, 255, 255, 0.9); }
#header .content h1 { font-size: 2.75rem; letter-spacing: 0.5rem; margin-bottom: 0.75rem; }

#header nav ul {
  display: flex; list-style: none; margin: 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
}
#header nav li { border-left: 1px solid var(--line); }
#header nav li:first-child { border-left: 0; }
#header nav a {
  display: block; min-width: 8.5rem; height: 2.85rem; line-height: 2.85rem;
  padding: 0 1.25rem; border: 0;
  text-transform: uppercase; letter-spacing: 0.2rem; font-size: 0.85rem; font-weight: 600;
}
#header nav.remote a {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(12, 14, 17, 0.62);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  min-width: 12rem;
}
#header nav a:hover { background: rgba(255, 255, 255, 0.075); color: var(--fg); }
#header nav a:active { background: rgba(255, 255, 255, 0.175); }
#header nav a.locked::after {
  content: ""; display: inline-block; width: 0.7em; height: 0.7em; margin-left: 0.5em;
  background: currentColor; opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7V5a4 4 0 1 1 8 0v2h1v8H3V7h1zm2 0h4V5a2 2 0 1 0-4 0v2z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 7V5a4 4 0 1 1 8 0v2h1v8H3V7h1zm2 0h4V5a2 2 0 1 0-4 0v2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 680px) {
  #header .content h1 { font-size: 2rem; letter-spacing: 0.3rem; }
  #header .content .inner { padding: 2.25rem 0.5rem; }
  #header nav ul { flex-direction: column; min-width: 12rem; }
  #header nav li { border-left: 0; border-top: 1px solid var(--line); }
  #header nav li:first-child { border-top: 0; }
  #header nav a { height: 3rem; line-height: 3rem; }
}

body.is-article-visible #header { transform: scale(0.95); filter: blur(0.1rem); opacity: 0; pointer-events: none; }

/* ---------- articles ---------- */
#main {
  position: fixed; inset: 0; z-index: 4;
  display: none; overflow-y: auto; overscroll-behavior: contain;
  padding: 4rem 2rem;
}
body.is-article-visible #main { display: block; }
@media (max-width: 736px) { #main { padding: 2rem 0.75rem; } }

#main article {
  position: relative; display: none;
  width: 44rem; max-width: 100%; margin: 0 auto;
  padding: 4.5rem 2.5rem 1.5rem;
  background: var(--panel);
  border-radius: var(--radius);
  opacity: 0; transform: translateY(0.25rem);
  transition: opacity .325s ease-in-out, transform .325s ease-in-out;
}
#main article.wide { width: 56rem; }
#main article.active { display: block; }
#main article.shown { opacity: 1; transform: none; }
@media (max-width: 736px) { #main article { padding: 3.5rem 1.25rem 0.5rem; } }

#main article .close {
  position: absolute; top: 0; right: 0;
  width: 4rem; height: 4rem; border: 0; background: none; cursor: pointer;
  color: var(--fg); padding: 0; box-shadow: none; line-height: normal;
}
#main article .close:hover { background: none; }
#main article .close::before {
  content: ""; position: absolute; top: 0.75rem; left: 0.75rem; width: 2.5rem; height: 2.5rem; border-radius: 100%;
  background: rgba(255,255,255,0.1) center / 1rem no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath stroke='white' stroke-width='2.4' stroke-linecap='round' d='M3 3l14 14M17 3L3 17'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  transition: background-color .2s, box-shadow .2s;
}
#main article .close:hover::before { background-color: rgba(255,255,255,0.22); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8); }
#main article .close:focus-visible { outline: none; }
#main article .close:focus-visible::before { box-shadow: 0 0 0 2px var(--accent); }

#footer { width: 100%; text-align: center; transition: opacity .325s; }
#footer .copyright { letter-spacing: 0.2rem; font-size: 0.6rem; text-transform: uppercase; opacity: 0.75; margin: 2rem 0 0; }
body.is-article-visible #footer { opacity: 0; }

body.is-preload #header { filter: blur(0.125rem); opacity: 0; }
body.is-preload #header .content .inner { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; }

/* ---------- content bits ---------- */
.image.main { display: block; margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.image.main img { display: block; width: 100%; height: auto; }

.lead { font-size: 1.1rem; }
.loading { color: var(--fg-dim); font-style: italic; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.card {
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.5rem; background: rgba(255,255,255,0.025);
  transition: border-color .2s, background .2s;
}
.card:hover { border-color: rgba(79, 179, 255, 0.55); background: rgba(79, 179, 255, 0.05); }
.card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; margin-bottom: 0.6rem; }
.card h3 svg { flex: none; color: var(--accent); }
.card p { font-size: 0.95rem; color: rgba(255,255,255,0.82); margin-bottom: 0.75rem; }
.card ul { margin: 0 0 0.75rem; padding-left: 1.1rem; font-size: 0.9rem; color: var(--fg-dim); }
.card li { margin: 0.1rem 0; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.75rem; padding: 0; list-style: none; }
.tags li {
  font-size: 0.72rem; letter-spacing: 0.05rem; padding: 0.1rem 0.5rem;
  border: 1px solid var(--line-soft); border-radius: 999px; color: rgba(255,255,255,0.75);
}

.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1rem 2.75rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0.1rem;
  width: 1.85rem; height: 1.85rem; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem; font-weight: 600;
}
.steps strong { display: block; text-transform: uppercase; letter-spacing: 0.12rem; font-size: 0.8rem; }
.steps span { color: var(--fg-dim); }

/* ---------- remote support ---------- */
.dl-box { margin: 0 0 2rem; }
.button.dl-button { display: flex; align-items: center; justify-content: center; gap: 0.7rem; width: 100%;
  height: auto; min-height: 3.4rem; line-height: 1.3; padding: 0.8rem 1.25rem; font-size: 0.9rem; text-align: center; }
.button.dl-button svg { flex: none; }
.button.dl-button span { line-height: 1; }
.dl-meta { margin: 0.6rem 0 0; text-align: center; font-size: 0.85rem; color: var(--fg-dim); }
.support-note { padding: 0.75rem 1rem; border-radius: var(--radius); border-left: 3px solid var(--accent);
  background: rgba(79, 179, 255, 0.08); font-size: 0.95rem; }
.support-details { margin: 0 0 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.support-details summary { cursor: pointer; color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.15rem;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.support-details p { margin-bottom: 0.6rem; }
.support-details code { font-size: 0.78rem; word-break: break-all; color: var(--fg-dim); }

/* ---------- forms & buttons ---------- */
form .fields { display: flex; flex-wrap: wrap; gap: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
form .field { flex: 1 1 100%; }
form .field.half { flex: 1 1 calc(50% - 0.75rem); min-width: 12rem; }
form .field.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

label {
  display: block; margin: 0 0 0.6rem;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2rem; text-transform: uppercase;
}
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], select, textarea {
  width: 100%; display: block;
  background: var(--field); color: var(--fg);
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 300;
  padding: 0 0.85rem; height: 2.75rem;
  outline: 0; transition: border-color .2s, box-shadow .2s;
}
textarea { height: auto; padding: 0.65rem 0.85rem; resize: vertical; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='white' stroke-width='1.4' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; background-size: 0.75rem; padding-right: 2.25rem; }
select option { background: #1b1f22; color: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
button, .button {
  display: inline-block; cursor: pointer;
  height: 2.75rem; padding: 0 1.5rem;
  background: transparent; color: var(--fg);
  border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line);
  font: inherit; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2rem; text-transform: uppercase;
  line-height: 2.75rem; /* after the font shorthand, which would otherwise reset it */
  text-align: center; text-indent: 0.2rem; /* balances the trailing letter-spacing */
  transition: background-color .2s;
}
button:hover, .button:hover { background: rgba(255,255,255,0.075); color: var(--fg); }
button:active, .button:active { background: rgba(255,255,255,0.2); }
button.primary, .button.primary { background: var(--fg); color: #1b1f22 !important; font-weight: 600; }
button.primary:hover, .button.primary:hover { background: rgba(255,255,255,0.88); }
button.small, .button.small { height: 2.1rem; line-height: 2.1rem; font-size: 0.7rem; padding: 0 1rem; }
button:disabled { opacity: 0.5; cursor: default; }
.button { border-bottom: 0; }

.form-msg { padding: 0.6rem 0.9rem; border-radius: var(--radius); border-left: 3px solid var(--accent-red); background: rgba(255, 90, 90, 0.1); }
.form-msg.ok { border-left-color: #5fd38d; background: rgba(95, 211, 141, 0.1); }

/* ---------- resume ---------- */

.cv-head { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1.5rem; }
.cv-avatar {
  flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  font-size: 1.4rem; font-weight: 600; letter-spacing: 0.1rem; color: var(--accent);
}
.cv-head h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }
.cv-head .role { color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.15rem; font-size: 0.8rem; }
.cv-contact { list-style: none; padding: 0; margin: 0.4rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 0.9rem; }

.cv-section { margin-bottom: 1.75rem; }
.cv-section > h4 { border-bottom: 1px solid var(--line-soft); padding-bottom: 0.4rem; margin-bottom: 1rem; color: var(--accent); }
.cv-skills { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.25rem 1.5rem; }
.cv-skills h5 { margin: 0 0 0.35rem; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12rem; }
.cv-job { margin-bottom: 1.25rem; }
.cv-job .when { float: right; color: var(--fg-dim); font-size: 0.85rem; margin-left: 1rem; }
.cv-job h5 { margin: 0; font-size: 1rem; font-weight: 600; }
.cv-job .org { color: var(--fg-dim); margin-bottom: 0.4rem; }
.cv-job ul { margin: 0; padding-left: 1.1rem; }
.cv-list { margin: 0; padding-left: 1.1rem; }
.placeholder-note {
  font-size: 0.85rem; padding: 0.5rem 0.8rem; border-radius: var(--radius);
  border: 1px dashed rgba(255, 200, 80, 0.6); color: #ffd27a; margin-bottom: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* ---------- live network effect (assets/net.js) ---------- */
canvas.net-bg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
canvas.net-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 20; pointer-events: none; }
.net-hit { animation: net-hit .7s ease-out; }
@keyframes net-hit {
  0%   { box-shadow: 0 0 0 0 rgba(79, 179, 255, 0.9), inset 0 0 0 1px rgba(79, 179, 255, 1); background-color: rgba(79, 179, 255, 0.28); }
  100% { box-shadow: 0 0 0 14px rgba(79, 179, 255, 0), inset 0 0 0 1px rgba(79, 179, 255, 0); }
}

/* ---------- resume edit mode ---------- */
.cv-skills h5 span { display: inline; }
.unlocked-view.editing .person { outline: 1px dashed rgba(79, 179, 255, 0.35); outline-offset: 0.75rem; border-radius: var(--radius); }
.ed { display: inline-block; min-width: 3ch; border-radius: 3px; padding: 0 0.2rem; margin: 0 -0.2rem; outline: none;
      background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 -1px 0 rgba(79, 179, 255, 0.45); cursor: text; transition: background .15s, box-shadow .15s; }
h3.ed, h5.ed, div.ed, p.ed { display: block; }
p.ed[data-multi] { white-space: pre-line; }
.ed:hover { background: rgba(79, 179, 255, 0.08); }
.ed:focus { background: rgba(79, 179, 255, 0.12); box-shadow: inset 0 0 0 1px var(--accent); }
.ed:empty::before { content: attr(data-ph); color: rgba(255, 255, 255, 0.35); font-style: italic; pointer-events: none; }
.placeholder-note.ed { margin: 0 0 1.5rem; }
.cv-section p { white-space: pre-line; }

.ed-btn {
  height: 1.6rem; line-height: 1.6rem; padding: 0 0.55rem; margin: 0.25rem 0.35rem 0.25rem 0;
  font-size: 0.68rem; letter-spacing: 0.08rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(79, 179, 255, 0.5); color: var(--accent);
}
.ed-btn:hover { background: rgba(79, 179, 255, 0.15); color: #fff; }
li > .ed-btn[data-ed="del"], h5 > .ed-btn[data-ed="del"] {
  height: 1.3rem; line-height: 1.2rem; width: 1.3rem; padding: 0; margin: 0 0 0 0.4rem; vertical-align: middle;
  box-shadow: none; color: rgba(255, 255, 255, 0.4); font-size: 0.95rem; letter-spacing: 0;
}
li > .ed-btn[data-ed="del"]:hover, h5 > .ed-btn[data-ed="del"]:hover { color: var(--accent-red); background: rgba(255, 90, 90, 0.12); }
.tags li.add { border-style: dashed; padding: 0; }
.tags li.add .ed-btn { margin: 0; height: 1.25rem; line-height: 1.25rem; box-shadow: none; }
.editing .tags li { display: inline-flex; align-items: center; }
.ed-row { float: right; margin-left: 1rem; }
.editing .cv-job { padding: 0.75rem; margin: 0 -0.75rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); }
.editing .cv-job .when { float: none; display: block; margin: 0 0 0.3rem; }
.editing .cv-list li { margin: 0.2rem 0; }

.bar-msg { align-self: center; font-size: 0.85rem; color: #ffb3b3; }
.bar-msg.ok { color: #5fd38d; }
.edit-login { margin: -0.5rem 0 1.5rem; }
.edit-login-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.edit-login-row input { flex: 1 1 12rem; width: auto; height: 2.1rem; }
.edit-login .form-msg { margin: 0.75rem 0 0; }
/* show (and read back) the real letter case while editing */
.editing .ed { text-transform: none; }

/* ---------- printed resume (built by site.js on beforeprint) ----------
   A separate one-page A4 layout; everything else is hidden when printing.
   body.print-test shows it on screen for checking. */
.cv-print { display: none; }
@page { size: A4; margin: 12mm; }
@media print {
  html, body { background: #fff !important; }
  body.printing > :not(.cv-print) { display: none !important; }
  body.printing .cv-print { display: block; }
}
body.print-test > :not(.cv-print) { display: none !important; }
body.print-test { background: #888; }
body.print-test .cv-print { display: block; margin: 20px auto; padding: 12mm; box-sizing: content-box; background: #fff; }

.cv-print {
  --fs: 9.5pt;
  --ink: #16191d; --muted: #555b63; --accent: #1d5f99; --rule: #c9d3dd;
  width: 186mm; color: var(--ink); background: #fff;
  font-family: "Source Sans Pro", "Source Sans 3", "Segoe UI", "DejaVu Sans", Arial, sans-serif;
  font-size: var(--fs); font-weight: 400; line-height: 1.32; letter-spacing: 0;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.cv-print * { color: inherit; text-shadow: none !important; }
.cv-print h1 { font-size: 2.3em; letter-spacing: 0.06em; margin: 0; line-height: 1.1; font-weight: 700; text-transform: uppercase; }
.cv-print .pt-headline { font-size: 1.2em; color: var(--accent); font-weight: 600; margin: 0.15em 0 0.35em; }
.cv-print .pt-contact { color: var(--muted); font-size: 0.95em; }
.cv-print .pt-contact span + span::before { content: "·"; margin: 0 0.6em; color: var(--rule); }
.cv-print header { border-bottom: 2px solid var(--accent); padding-bottom: 0.7em; margin-bottom: 0.9em; }
.cv-print header { display: flex; justify-content: space-between; align-items: flex-end; gap: 6mm; }
.cv-print .pt-id { min-width: 0; }
.cv-print .pt-qr { flex: none; display: flex; flex-direction: column; align-items: center; margin-bottom: -0.3em; }
.cv-print .pt-qr svg { width: 22mm; height: 22mm; display: block; }
.cv-print a { color: inherit; text-decoration: none; border: 0; }
.cv-print a.pt-qr { color: var(--muted); }
.cv-print .pt-qr span { font-size: 7pt; line-height: 1.15; color: var(--muted); text-align: center; margin-top: 0.5mm; }
.cv-print .pt-cols { display: grid; grid-template-columns: 56mm 1fr; gap: 7mm; }
.cv-print .pt-side { border-right: 1px solid var(--rule); padding-right: 5mm; }
.cv-print h2 {
  font-size: 0.86em; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 0.45em; padding-bottom: 0.2em; border-bottom: 1px solid var(--rule);
}
.cv-print section { margin-bottom: 0.95em; break-inside: avoid; }
.cv-print p { margin: 0; }
.cv-print ul { margin: 0; padding-left: 1.1em; }
.cv-print li { margin: 0.08em 0; }
.cv-print .pt-side ul { list-style: none; padding: 0; }
.cv-print .pt-side li { margin: 0 0 0.3em; }
.cv-print .pt-skill { margin-bottom: 0.45em; }
.cv-print .pt-skill b { display: block; font-weight: 700; font-size: 0.92em; }
.cv-print .pt-skill span { color: var(--muted); }
.cv-print .pt-job { margin-bottom: 0.7em; break-inside: avoid; }
.cv-print .pt-job-head { display: flex; justify-content: space-between; gap: 1em; align-items: baseline; }
.cv-print .pt-job-head b { font-size: 1.05em; }
.cv-print .pt-when { color: var(--muted); white-space: nowrap; font-size: 0.92em; }
.cv-print .pt-org { color: var(--accent); font-weight: 600; margin-bottom: 0.15em; }
