/* The website's account pages: sign in with the Kar account and the CV maker (owner, 28 Nov 2026). Clean and light
   like the reference the owner chose; the one rich thing on screen is the CV itself, a real A4 sheet on a grey desk. */
:root {
  --bg: #fafafa; --card: #ffffff; --raised: #f4f4f5; --desk: #e9e9eb;
  --text: #171717; --text2: #525252; --muted: #737373;
  --line: rgba(23, 23, 23, .08); --line2: rgba(23, 23, 23, .16);
  --accent: #08428c; --accent-soft: rgba(8, 66, 140, .12);
  --danger: #b91c1c; --ok: #15803d;
  --radius: 10px; --ease: cubic-bezier(.22, 1, .36, 1);
  --latin: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --arabic: 'Noto Sans Arabic', 'Inter', system-ui, 'Segoe UI', Tahoma, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 15px/1.55 var(--latin); -webkit-font-smoothing: antialiased; }
html[dir=rtl] body { font-family: var(--arabic); line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 17px; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 8px; }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.who { color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.lang { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--line2); border-radius: 8px; background: var(--card); }
.lang button { border: 0; background: none; min-height: 32px; padding: 0 10px; border-radius: 6px; font-size: 13px; color: var(--text2); cursor: pointer; transition: background-color .15s var(--ease), color .15s var(--ease); }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed=true] { background: var(--raised); color: var(--text); font-weight: 500; }
.lang button[data-lang=ckb], .lang button[data-lang=ar] { font-family: var(--arabic); }
.lang button[data-lang=en] { font-family: var(--latin); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid transparent; font-weight: 500; cursor: pointer; white-space: nowrap; text-decoration: none; transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease); }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn-primary { background: var(--text); color: #fff; }
.btn-primary:hover { background: #2b2b2b; }
.btn-secondary { background: var(--card); border-color: var(--line2); color: var(--text); }
.btn-secondary:hover { background: var(--raised); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-text { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 4px 0; min-height: 32px; font-weight: 500; }
.btn-text:hover { text-decoration: underline; }
.btn-text.danger { color: var(--danger); }
.g-mark { width: 18px; height: 18px; }

/* Fields */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.label { font-size: 14px; font-weight: 500; }
.label .req { color: var(--danger); margin-inline-start: 2px; }
.hint { font-size: 13px; color: var(--muted); }
.input { width: 100%; min-height: 44px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line2); border-radius: var(--radius); transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
textarea.input { min-height: 104px; resize: vertical; line-height: 1.55; }
html[dir=rtl] textarea.input { line-height: 1.75; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[readonly], .input:disabled { background: var(--raised); color: var(--text2); }
.input[dir=ltr] { text-align: left; }
.input[aria-invalid=true] { border-color: var(--danger); }
.input[aria-invalid=true]:focus { box-shadow: 0 0 0 3px rgba(185, 28, 28, .14); }
.check { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; color: var(--text2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.message { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; }
.message.error { background: #fef2f2; color: #991b1b; }
.message.ok { background: #f0fdf4; color: #166534; }

/* Sign in */
.auth { max-width: 400px; margin: 64px auto 80px; padding: 0 16px; }
.auth h1 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
html[dir=rtl] .auth h1 { letter-spacing: 0; line-height: 1.5; }
.auth .lead { color: var(--text2); margin-top: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.auth form { margin-top: 24px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.switch { color: var(--text2); font-size: 14px; text-align: center; }
.small { color: var(--muted); font-size: 13px; }

/* CV maker */
.toolbar { position: sticky; top: 60px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.toolbar-inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar h1 { font-size: 20px; font-weight: 600; }
.status { color: var(--muted); font-size: 13px; }
.status.error { color: var(--danger); }
.toolbar .actions { margin-inline-start: auto; display: flex; gap: 8px; }
.views { display: none; }
.cv-layout { max-width: 1240px; margin: 0 auto; padding: 24px 24px 80px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.cv-form .intro { color: var(--text2); margin-bottom: 8px; }
.cv-form .notice { margin-top: 12px; }
.cv-form section { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.cv-form section:first-of-type { border-top: 0; padding-top: 16px; }
.cv-form h2 { font-size: 17px; font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.entry { border: 1px solid var(--line2); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; background: var(--card); }
.entry-foot { display: flex; justify-content: flex-end; }
.languages { display: flex; flex-direction: column; gap: 8px; }
.language-row { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.language-row label { display: flex; align-items: center; gap: 10px; flex: 1; cursor: pointer; }
.language-row input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.language-row select { width: 120px; }
.preview { position: sticky; top: 136px; max-height: calc(100vh - 152px); overflow-y: auto; overscroll-behavior: contain; }
.desk { background: var(--desk); border-radius: 16px; padding: 20px; overflow: hidden; }
.sheet-fit { position: relative; }
.preview-note { color: var(--muted); font-size: 13px; margin-top: 10px; text-align: center; }

/* Choosing a CV, and the look panel above the preview */
.chooser { max-width: 880px; margin: 56px auto 80px; padding: 0 24px; }
.chooser h1 { font-size: 28px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
html[dir=rtl] .chooser h1 { letter-spacing: 0; line-height: 1.5; }
.chooser .lead { color: var(--text2); margin-top: 8px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.choice { display: flex; flex-direction: column; gap: 6px; padding: 24px; min-height: 132px; background: var(--card); border: 1px solid var(--line2); border-radius: 14px; color: var(--text); transition: border-color .15s var(--ease), background-color .15s var(--ease); }
.choice:hover { text-decoration: none; border-color: var(--text); }
.choice:active { background: var(--raised); }
.choice-title { font-size: 18px; font-weight: 600; }
.choice-lead { color: var(--text2); font-size: 14px; }
.saved { margin-top: 40px; }
.saved h2 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.saved ul { list-style: none; }
.saved li { display: flex; align-items: center; gap: 16px; min-height: 52px; border-top: 1px solid var(--line); }
.saved-name { flex: 1; min-width: 0; font-weight: 500; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 12px 0; text-align: left; }
/* The name has dir=auto, so a Kurdish name on the English page would otherwise sit at the far end of the row. */
html[dir=rtl] .saved-name { text-align: right; }
.saved-when { color: var(--muted); font-size: 13px; white-space: nowrap; }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; color: var(--text2); font-size: 14px; }
.back:hover { color: var(--text); text-decoration: none; }
.back .icon, .photo-thumb .icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir=rtl] .back .icon { transform: scaleX(-1); }
.look { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.swatches { display: flex; }
.swatch { position: relative; padding: 8px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.swatch span { display: block; width: 24px; height: 24px; border-radius: 50%; background: var(--cv-accent); }
.swatch input:checked + span { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--cv-accent); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 5px; }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.photo-thumb { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--raised); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }

/* The CV sheet: drawn at A4 size and scaled down to fit on screen, so the preview is the printed page. The same blocks
   in three looks (t-side, t-band, t-classic) and four colours (c-*). The document itself may be bold; the page around
   it stays quiet. */
.c-navy { --cv-accent: #08428c; } .c-green { --cv-accent: #1b7a53; } .c-red { --cv-accent: #c8282e; } .c-graphite { --cv-accent: #3a3f47; }
.sheet {
  --cv-ink: #16191d; --cv-text: #3a3f46; --cv-muted: #6b7079; --cv-rule: #d5d8dd;
  --cv-tint: color-mix(in srgb, var(--cv-accent) 7%, #fff);
  --cv-head: 'Montserrat', 'Noto Kufi Arabic', 'Noto Sans Arabic', sans-serif;
  width: 210mm; min-height: 297mm; padding: 14mm 0 9mm; display: flex; flex-direction: column;
  background: #fff; color: var(--cv-text); font: 9.3pt/1.5 'Inter', 'Noto Sans Arabic', sans-serif;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 12px 32px rgba(0, 0, 0, .10); transform-origin: top left; position: absolute; top: 0; left: 0;
}
html[dir=rtl] .sheet { transform-origin: top right; left: auto; right: 0; line-height: 1.65; }
.cv-cols { flex: 1; display: grid; grid-template-columns: 68mm minmax(0, 1fr); }
.cv-aside, .cv-main { min-width: 0; }
.cv-aside { padding: 0 8mm; }
.cv-main { padding-inline: 10mm 14mm; }
.cv-section { margin-top: 6mm; }
.cv-aside > .cv-section:first-child, .cv-main > .cv-section:first-child, .cv-band .cv-section { margin-top: 0; }
.cv-h { font: 600 8.8pt/1.3 var(--cv-head); color: var(--cv-ink); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3mm; break-after: avoid; }
html[dir=rtl] .cv-h { letter-spacing: 0; font-size: 10pt; line-height: 1.6; }
.cv-name { font: 700 23pt/1.12 var(--cv-head); color: var(--cv-ink); overflow-wrap: anywhere; }
html[dir=rtl] .cv-name { line-height: 1.55; }
.cv-headline { margin-top: 2mm; font: 500 10.5pt/1.4 var(--cv-head); color: var(--cv-accent); }
html[dir=rtl] .cv-headline { line-height: 1.75; }
.cv-photo { display: block; width: 36mm; height: 36mm; margin: 0 auto 7mm; border-radius: 50%; object-fit: cover; }
.cv-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.cv-section > .cv-text + .cv-text, .cv-item + .cv-text { margin-top: 2mm; }
/* What people typed reads in its own direction (an English line in an Arabic CV keeps its full stop at the end), while
   each line still starts on the page's side. */
.cv-name, .cv-headline, .cv-text, .cv-item-title, .cv-item-sub, .cv-ct, .cv-list li, .cv-facts dd { unicode-bidi: plaintext; }
.cv-name, .cv-headline, .cv-text, .cv-item-sub, .cv-list li, .cv-facts dd { width: fit-content; max-width: 100%; }
.cv-contact { list-style: none; display: flex; flex-direction: column; gap: 2.2mm; }
.cv-contact li { display: flex; align-items: flex-start; gap: 2.6mm; }
.cv-ic { flex: none; display: flex; justify-content: center; width: 4mm; padding-top: .55mm; color: var(--cv-accent); }
html[dir=rtl] .cv-ic { padding-top: 1.1mm; }
.cv-ic .icon { width: 3.5mm; height: 3.5mm; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cv-ct { min-width: 0; overflow-wrap: anywhere; color: var(--cv-ink); }
.cv-ct a { color: inherit; }
.cv-link-label { display: block; color: var(--cv-muted); font-size: 7.8pt; }
.cv-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2mm 4mm; }
.cv-facts > div { min-width: 0; }
.cv-facts dt { color: var(--cv-muted); font-size: 7.8pt; }
.cv-facts dd { color: var(--cv-ink); overflow-wrap: anywhere; }
.cv-list { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2mm; }
.cv-list li { position: relative; padding-inline-start: 3.6mm; color: var(--cv-ink); overflow-wrap: anywhere; }
.cv-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 1.4mm; height: 1.4mm; border-radius: 50%; background: var(--cv-accent); }
html[dir=rtl] .cv-list li::before { top: .8em; }
.cv-langs { list-style: none; display: flex; flex-direction: column; gap: 2mm; }
.cv-langs li { display: flex; align-items: center; justify-content: space-between; gap: 3mm; color: var(--cv-ink); }
.cv-level { flex: none; display: inline-flex; gap: 1.2mm; }
.cv-level i { width: 2.2mm; height: 2.2mm; border-radius: 50%; background: var(--cv-rule); }
.cv-level i.on { background: var(--cv-accent); }
.cv-level-text { color: var(--cv-muted); }
.cv-item { margin-bottom: 4mm; break-inside: avoid; }
.cv-item:last-child { margin-bottom: 0; }
.cv-item-top { display: flex; align-items: baseline; gap: 4mm; }
.cv-item-title { min-width: 0; font-weight: 600; color: var(--cv-ink); overflow-wrap: anywhere; }
.cv-item-when { margin-inline-start: auto; flex: none; font-size: 8.4pt; color: var(--cv-muted); white-space: nowrap; unicode-bidi: plaintext; }
.cv-item-sub { color: var(--cv-text); }
.cv-item .cv-text { margin-top: 1mm; }
.cv-credit { margin-top: 6mm; padding-inline: 14mm; text-align: end; font-size: 7.2pt; color: #9aa0a7; }
.cv-empty { color: #a3a3a3; }

/* Side column (the owner's samples 1 and 3): a pale column of the colour with the photo, contact, details, skills and
   languages; the name in capitals over a rule; jobs and schools on a thin timeline. The column is painted on the sheet,
   so it runs from the top edge to the bottom one. */
.t-side { background: linear-gradient(to right, var(--cv-tint) 68mm, #fff 68mm); }
html[dir=rtl] .t-side { background: linear-gradient(to left, var(--cv-tint) 68mm, #fff 68mm); }
.t-side .cv-photo { border: 1.2mm solid #fff; }
/* Printed, the column is a fixed box, which Chrome repeats on every page, so it also fills the rest of a second page. */
.cv-stripe { display: none; }
.t-side .cv-id { padding-bottom: 5mm; margin-bottom: 7mm; border-bottom: .5mm solid var(--cv-ink); }
.t-side .cv-name { text-transform: uppercase; letter-spacing: .02em; }
.t-side .cv-headline { text-transform: uppercase; letter-spacing: .1em; font-size: 9.6pt; }
html[dir=rtl] .t-side .cv-name, html[dir=rtl] .t-side .cv-headline { letter-spacing: 0; }
.t-side .cv-h { padding-bottom: 1.6mm; border-bottom: .3mm solid var(--cv-ink); }
.t-side .cv-tl .cv-item { position: relative; margin: 0; margin-inline-start: 1.3mm; padding-bottom: 4mm; padding-inline-start: 5.5mm; border-inline-start: .3mm solid var(--cv-accent); }
.t-side .cv-tl .cv-item::before { content: ""; position: absolute; top: .42em; inset-inline-start: -1.45mm; width: 2.6mm; height: 2.6mm; border-radius: 50%; background: #fff; border: .45mm solid var(--cv-accent); }
html[dir=rtl] .t-side .cv-tl .cv-item::before { top: .62em; }

/* Top band (sample 2): a grey band with the contact in a pill of the colour and the name, its first word light; under
   it two columns split by a line that lines up with the band's. Language levels are sliders. */
.t-band .cv-band { display: grid; grid-template-columns: 62mm minmax(0, 1fr); align-items: center; margin: -14mm 0 9mm; padding: 13mm 14mm 10mm; background: #eceef1; }
.t-band .cv-band-contact { align-self: stretch; padding-inline-end: 7mm; border-inline-end: .3mm solid var(--cv-ink); }
.t-band .cv-id { padding-inline-start: 9mm; }
.t-band .cv-name { font-weight: 400; font-size: 25pt; letter-spacing: .14em; text-transform: uppercase; }
.t-band .cv-rest { font-weight: 700; color: var(--cv-accent); }
.t-band .cv-headline { color: var(--cv-text); font-weight: 400; letter-spacing: .12em; }
html[dir=rtl] .t-band .cv-name, html[dir=rtl] .t-band .cv-headline { letter-spacing: 0; }
.t-band .cv-contact { gap: 0; }
.t-band .cv-contact li { gap: 3mm; }
.t-band .cv-ic { align-self: stretch; width: 6mm; padding: 1.5mm 0; background: var(--cv-accent); color: #fff; }
html[dir=rtl] .t-band .cv-ic { padding-top: 2mm; }
.t-band .cv-contact li:first-child .cv-ic { border-start-start-radius: 3mm; border-start-end-radius: 3mm; padding-top: 2.2mm; }
.t-band .cv-contact li:last-child .cv-ic { border-end-start-radius: 3mm; border-end-end-radius: 3mm; padding-bottom: 2.2mm; }
.t-band .cv-ct { padding: 1.2mm 0; }
.t-band .cv-contact li:first-child .cv-ct { padding-top: 1.9mm; }
.t-band .cv-cols { grid-template-columns: 62mm minmax(0, 1fr); padding: 0 14mm; }
.t-band .cv-aside { padding: 0; padding-inline-end: 7mm; border-inline-end: .3mm solid var(--cv-ink); }
.t-band .cv-main { padding: 0; padding-inline-start: 9mm; }
.t-band .cv-main .cv-section + .cv-section { margin-top: 6mm; padding-top: 6mm; border-top: .3mm solid var(--cv-ink); }
.t-band .cv-h { font-weight: 500; letter-spacing: .22em; }
.t-band .cv-photo { width: 36mm; height: 36mm; border: 1.6mm solid var(--cv-accent); }
.t-band .cv-langs li { display: block; }
.t-band .cv-level { display: block; position: relative; height: .3mm; margin: 2.4mm 0 1.4mm; background: var(--cv-ink); }
.t-band .cv-level i { display: none; }
.t-band .cv-level::after { content: ""; position: absolute; top: -1.3mm; inset-inline-start: calc(var(--level) * 100% - 2.6mm); width: 2.6mm; height: 2.6mm; border-radius: 50%; background: var(--cv-accent); }

/* Classic (sample 4): a large serif name, a black and white photo, a thin line between the columns, calm and formal. */
.t-classic { --cv-head: 'Playfair Display', 'Noto Naskh Arabic', serif; padding-top: 18mm; }
.t-classic .cv-cols { grid-template-columns: 64mm minmax(0, 1fr); padding: 0 14mm; }
.t-classic .cv-aside { padding: 0; padding-inline-end: 8mm; border-inline-end: .3mm solid #b8bcc3; }
.t-classic .cv-main { padding: 0; padding-inline-start: 10mm; }
.t-classic .cv-photo { width: 42mm; height: 42mm; filter: grayscale(1); }
.t-classic .cv-id { padding-bottom: 5mm; margin-bottom: 8mm; border-bottom: .3mm solid #b8bcc3; }
.t-classic .cv-name { font-style: italic; font-weight: 600; font-size: 31pt; letter-spacing: .05em; color: var(--cv-accent); }
html[dir=rtl] .t-classic .cv-name { font-style: normal; letter-spacing: 0; font-size: 28pt; }
.t-classic .cv-headline { font-weight: 400; font-size: 12.5pt; color: var(--cv-ink); }
.t-classic .cv-h { font-weight: 500; font-size: 10pt; letter-spacing: .24em; }
html[dir=rtl] .t-classic .cv-h { letter-spacing: 0; font-size: 11pt; }
.t-classic .cv-ic { width: 6mm; height: 6mm; padding: 0; align-items: center; border-radius: 50%; background: var(--cv-accent); color: #fff; }
.t-classic .cv-ic .icon { width: 3.2mm; height: 3.2mm; }
.t-classic .cv-contact li { align-items: center; }

@media (max-width: 960px) {
  .cv-layout { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 80px; gap: 24px; }
  .views { display: flex; }
  .preview { position: static; max-height: none; overflow: visible; }
  body[data-view=edit] .preview, body[data-view=preview] .cv-form { display: none; }
  .who { display: none; }
}
@media (max-width: 560px) {
  .top-inner, .toolbar-inner { padding-inline: 16px; }
  .grid2 { grid-template-columns: 1fr; }
  .toolbar h1 { font-size: 17px; }
  .toolbar .actions { width: 100%; }
  .toolbar .actions .btn { flex: 1; }
  .desk { padding: 12px; border-radius: 12px; }
  .auth { margin-top: 40px; }
  .chooser { margin-top: 32px; padding: 0 16px; }
  .choices { grid-template-columns: 1fr; }
}

/* Printing: only the sheet, at full size, edge to edge. A CV longer than a page gets the sheet's top and bottom
   padding again on every page (box-decoration-break), and its colours print even with "Background graphics" off. */
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  body > *:not(main), .toolbar, .cv-form, .preview-note, .look { display: none !important; }
  .cv-layout { display: block; padding: 0; max-width: none; }
  .preview { display: block !important; position: static; max-height: none; overflow: visible; }
  .desk { background: none; padding: 0; border-radius: 0; }
  .sheet-fit { height: auto !important; }
  .sheet { position: static; transform: none !important; box-shadow: none; min-height: 296.5mm; -webkit-box-decoration-break: clone; box-decoration-break: clone; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .sheet.t-side { background: none; }
  .t-side .cv-stripe { display: block; position: fixed; top: 0; bottom: 0; inset-inline-start: 0; width: 68mm; z-index: -1; background: var(--cv-tint); }
}
