/* Quick Reading slides. Each slide is a fixed canvas (1080 px wide; 1920 / 1350 / 1080 px tall) scaled down for
 * the on-screen preview and captured at full size for the PNG / PDF export.
 * Brand: teal #2F5F6A / #46818F, coral #FF6F61, black, white. All text pairs meet WCAG AA.
 */

/* ── Create page ── */
.qk-ratios { border: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.qk-ratios legend { margin-bottom: 8px; }
.qk-ratio { display: flex; align-items: center; gap: 12px; border: 2px solid var(--teal-800); border-radius: 12px; padding: 12px; cursor: pointer; }
body.light .qk-ratio { border-color: var(--teal-200); }
.qk-ratio input { accent-color: var(--coral); width: 18px; height: 18px; }
.qk-ratio:has(input:checked) { border-color: var(--coral); }
.qk-ratio-shape { flex: 0 0 auto; border: 2px solid currentColor; border-radius: 4px; }
.qk-shape-9x16 { width: 27px; height: 48px; } .qk-shape-4x5 { width: 34px; height: 42px; } .qk-shape-1x1 { width: 40px; height: 40px; }
.qk-ratio-text { display: flex; flex-direction: column; font-size: 14px; }
.qk-ratio-text small { font-size: 12px; opacity: .85; }
@media (max-width: 640px) { .qk-ratios { grid-template-columns: 1fr; } }

/* ── Slides page toolbar ── */
.qk-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 10px 0; }
.qk-format { display: flex; align-items: center; gap: 8px; margin: 0; }
.qk-format select { background: var(--teal-950); color: var(--white); border: 1px solid var(--teal); border-radius: 8px; padding: 6px 10px; font: 600 13px 'Inter', sans-serif; }
body.light .qk-format select { background: #fff; color: var(--black); border-color: var(--teal-700); }
.qk-back { color: var(--white); font-size: 13px; }
body.light .qk-back { color: var(--teal-700); }
.qk-hint { font-size: 13px; color: var(--muted-dark); margin: 0 0 14px; }
body.light .qk-hint { color: var(--muted-light); }
.pdf-btn:disabled, .pdf-mail-btn:disabled { opacity: 1; cursor: progress; background: transparent; color: var(--muted-dark); border-color: var(--teal-800); }

/* ── Deck preview ── */
.qk-deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.qs-frame { position: relative; overflow: hidden; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.qs-frame .qs { transform-origin: top left; position: absolute; top: 0; left: 0; }

/* ── The slide canvas ── */
.qs { --qs-font: 29px; background: #14313A; color: #111; font-family: 'Inter', Arial, sans-serif; display: flex; flex-direction: column;
  padding: 36px 40px 30px; box-sizing: border-box; overflow: hidden; }
.qs * { box-sizing: border-box; }
.qs-top { display: flex; justify-content: space-between; align-items: center; background: #2F5F6A; color: #fff; border-radius: 14px;
  padding: 20px 28px; border-bottom: 6px solid #FF6F61; }
.qs-brand { font-size: 30px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.qs-who { font-size: 24px; font-weight: 600; color: #E3F0F2; max-width: 50%; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-body { flex: 1; display: flex; flex-direction: column; gap: 16px; padding: 22px 0 16px; min-height: 0; }
.qs-foot { display: flex; justify-content: space-between; color: #E3F0F2; font-size: 20px; padding-top: 10px; border-top: 2px solid #2F5F6A; }
.qs-page { font-weight: 800; color: #fff; }
.qs-title { margin: 0; color: #fff; font-size: 34px; font-weight: 800; line-height: 1.2; }
.qs-title small { display: block; font-size: 22px; font-weight: 600; color: #B5D6DD; margin-top: 4px; letter-spacing: .04em; text-transform: uppercase; }
.qs-sub { margin: 6px 0 0; color: #fff; font-size: 26px; font-weight: 800; }
.qs-card { background: #fff; border-radius: 14px; border: 2px solid #B5D6DD; }

/* Rows: label | number | conversational text */
.qs-row { display: grid; grid-template-columns: 270px 104px 1fr; gap: 12px; align-items: stretch; }
/* Left column: element name + what it means. Large, dark, upright text for easy reading (13:1 contrast). */
.qs-label { background: #FFFFFF; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; border: 2px solid #B5D6DD; }
.qs-label strong { display: block; background: #2F5F6A; color: #fff; font-size: 28px; padding: 12px 16px; line-height: 1.15; }
.qs-label span { flex: 1; display: flex; align-items: center; padding: 12px 16px; font-size: 25px; font-weight: 600;
  line-height: 1.3; color: #14313A; }
.qs-num { border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 46px; font-weight: 800; text-align: center; line-height: 1.05; padding: 4px; }
.qs-text { font-size: var(--qs-font); line-height: 1.4; padding: 14px 18px; display: flex; align-items: center; color: #111; }
.qs-wait { color: #3A565D; font-style: italic; }


/* Personal months: their own slide, 2 columns, each with a short conversational note */
.qs-months { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex: 1; align-content: start; }
.qs-months li { background: #fff; border-radius: 14px; overflow: hidden; border: 2px solid #B5D6DD; display: flex; flex-direction: column; }
.qs-m-head { display: grid; grid-template-columns: 1fr 60px; align-items: stretch; background: #EFF7F8; border-bottom: 2px solid #B5D6DD; }
.qs-m-name { font-size: 26px; font-weight: 800; padding: 10px 14px; color: #111; }
.qs-m-num { display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.qs-m-key { font-size: 20px; font-weight: 700; color: #2F5F6A; padding: 0 12px; display: flex; align-items: center; justify-content: flex-end; text-align: right; }
.qs-m-text { margin: 0; padding: 12px 16px; font-size: calc(var(--qs-font) - 4px); line-height: 1.4; color: #111; }

/* Cover */
.qs-cover-body { align-items: stretch; }
.qs-cover-main { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.qs-photo { width: 400px; height: 400px; border-radius: 50%; border: 12px solid #FF6F61; background: #2F5F6A; overflow: hidden;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.qs-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qs-initials { font-family: 'Cinzel', serif; font-size: 140px; font-weight: 700; color: #fff; }
.qs-logo { width: 300px; height: 300px; object-fit: contain; background: #fff; border-radius: 24px; padding: 20px; }
.qs-grid { width: 100%; border-collapse: separate; border-spacing: 6px; background: #fff; border-radius: 14px; }
.qs-grid th, .qs-grid td { text-align: center; font-size: 30px; font-weight: 800; padding: 8px 0; border-radius: 8px; }
.qs-grid td { background: #EFF7F8; color: #111; }
.qs-facts { margin: 0; display: grid; gap: 8px; }
.qs-facts div { display: grid; grid-template-columns: 260px 1fr; background: #fff; border-radius: 12px; overflow: hidden; }
.qs-facts dt { background: #2F5F6A; color: #fff; font-size: 26px; font-weight: 800; padding: 14px 18px; }
.qs-facts dd { margin: 0; font-size: 28px; padding: 14px 18px; color: #111; display: flex; align-items: center; }
.qs-gift { background: #FFE3E0; border-left: 10px solid #FF6F61; border-radius: 14px; padding: 18px 24px; color: #111; }
.qs-gift-for { font-size: 26px; font-weight: 800; color: #2F5F6A; text-transform: uppercase; letter-spacing: .05em; }
.qs-gift-msg { font-size: 30px; line-height: 1.4; margin: 8px 0 0; font-style: italic; }
.qs-gift-from { font-size: 26px; font-weight: 700; margin: 8px 0 0; }

/* Careers + notes */
.qs-career-text { font-size: calc(var(--qs-font) + 3px); padding: 22px 26px; }
.qs-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.qs-chips li { background: #EFF7F8; border: 2px solid #46818F; color: #111; border-radius: 30px; padding: 10px 20px; font-size: 24px; font-weight: 700; }
.qs-notes-card { padding: 22px 26px; font-size: var(--qs-font); line-height: 1.45; }
.qs-notes-card p { margin: 0 0 14px; } .qs-notes-card p:last-child { margin: 0; }
.qs-notes-body { align-items: center; text-align: center; }
.qs-notes-body .qs-title, .qs-notes-body .qs-card { align-self: stretch; text-align: left; }
.qs-logo-big { width: 300px; height: 300px; object-fit: contain; background: #fff; border-radius: 50%; padding: 30px; border: 10px solid #FF6F61; margin-top: 10px; }
.qs-copy { color: #E3F0F2; font-size: 22px; margin: 0; }

/* Smaller canvases: tighter type */
.qs-4x5 .qs-photo, .qs-1x1 .qs-photo { width: 300px; height: 300px; }
.qs-4x5 .qs-logo, .qs-1x1 .qs-logo { width: 220px; height: 220px; }
.qs-1x1 .qs-grid th, .qs-1x1 .qs-grid td { font-size: 24px; padding: 4px 0; }
.qs-1x1 .qs-facts dt, .qs-1x1 .qs-facts dd { font-size: 22px; padding: 10px 14px; }
.qs-1x1 .qs-photo { width: 240px; height: 240px; border-width: 10px; }
.qs-1x1 .qs-logo { width: 180px; height: 180px; }
.qs-1x1 .qs-logo-big, .qs-4x5 .qs-logo-big { width: 200px; height: 200px; padding: 20px; }
.qs-1x1 .qs-months li { min-height: 48px; }
.qs-num-pair { font-size: 34px; white-space: nowrap; }
.qs-cover-body { justify-content: space-between; }
/* 1:1 cover: everything must fit in 1080 x 1080 */
.qs-1x1.qs--cover .qs-body { gap: 10px; padding: 14px 0 10px; }
.qs-1x1 .qs-photo { width: 210px; height: 210px; border-width: 8px; }
.qs-1x1 .qs-initials { font-size: 80px; }
.qs-1x1 .qs-logo { width: 150px; height: 150px; padding: 12px; }
.qs-1x1 .qs-grid { border-spacing: 4px; }
.qs-1x1 .qs-grid th, .qs-1x1 .qs-grid td { font-size: 21px; padding: 3px 0; }
.qs-1x1 .qs-facts { gap: 5px; }
.qs-1x1 .qs-facts div { grid-template-columns: 210px 1fr; }
.qs-1x1 .qs-facts dt, .qs-1x1 .qs-facts dd { font-size: 20px; padding: 8px 14px; }
.qs-1x1 .qs-gift { padding: 10px 18px; }
.qs-1x1 .qs-gift-for { font-size: 19px; }
.qs-1x1 .qs-gift-msg { font-size: 22px; margin-top: 4px; }
.qs-1x1 .qs-gift-from { font-size: 20px; margin-top: 4px; }
.qs-4x5 .qs-initials { font-size: 110px; }
.qs--careers .qs-body { justify-content: center; }

/* Disclaimer (notes slide) */
.qs-disclaimer { align-self: stretch; text-align: left; background: #FFE3E0; border-left: 10px solid #FF6F61; border-radius: 14px;
  padding: 18px 24px; font-size: calc(var(--qs-font) - 2px); line-height: 1.45; color: #111; }
.qs-disclaimer strong { color: #111; }
.qs-1x1 .qs-logo-big, .qs-4x5 .qs-logo-big { width: 150px; height: 150px; padding: 14px; border-width: 8px; }
.qs-1x1 .qs-notes-body, .qs-4x5 .qs-notes-body { gap: 12px; }
.qs-9x16.qs--careers .qs-career-text { font-size: calc(var(--qs-font) + 7px); line-height: 1.5; }
.qs-9x16.qs--careers .qs-chips li { font-size: 28px; }
/* Notes slide: logo centred in the free space below the notes, large and crisp */
.qs-brand-block { flex: 1; align-self: stretch; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; min-height: 0; }
.qs .qs-logo-big { width: 400px; height: 400px; padding: 16px; border-width: 12px; margin: 0; background: #fff; }
.qs-4x5 .qs-logo-big { width: 250px; height: 250px; padding: 10px; border-width: 10px; }
.qs-1x1 .qs-logo-big { width: 200px; height: 200px; padding: 8px; border-width: 8px; }
.qs-copy { font-size: 24px; font-weight: 600; }
.qs-1x1 .qs-logo-big { width: 165px; height: 165px; }
.qs-1x1 .qs-copy { font-size: 20px; }
.qs-1x1 .qs-brand-block { gap: 10px; }

/* ── Quick Compatibility Report ── */
.qc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 14px; }
.qc-source { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.qc-rels { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) { .qc-rels { grid-template-columns: 1fr 1fr; } }

.qc-cover { gap: 18px; }
.qc-cover-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.qc-cover-title { margin: 0; color: #fff; font-size: 52px; font-weight: 800; line-height: 1.1; }
.qc-rel { display: inline-block; margin-top: 12px; background: #FF6F61; color: #111; font-size: 28px; font-weight: 800;
  border-radius: 30px; padding: 8px 22px; text-transform: uppercase; letter-spacing: .05em; }
.qc-people { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qc-person { background: #fff; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.qc-photo { width: 220px; height: 220px; border-width: 10px; }
.qc-photo .qs-initials { font-size: 84px; }
.qc-facts { margin: 0; width: 100%; font-size: calc(var(--qs-font) - 5px); color: #111; }
.qc-facts dt { font-weight: 800; color: #2F5F6A; font-size: calc(var(--qs-font) - 9px); text-transform: uppercase; letter-spacing: .05em; margin-top: 8px; }
.qc-facts dd { margin: 2px 0 0; line-height: 1.3; }

.qc-block { display: flex; flex-direction: column; gap: 10px; }
.qc-block + .qc-block { margin-top: 10px; }
.qc-block-head { background: #2F5F6A; color: #fff; border-radius: 12px; padding: 10px 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; border-left: 8px solid #FF6F61; }
.qc-block-head strong { font-size: 30px; }
.qc-block-head span { font-size: 22px; color: #E3F0F2; }
.qc-tone-tile { flex-direction: column; gap: 4px; font-size: 24px; }
.qc-tone-tile small { font-size: 18px; font-weight: 700; }
.qc-tone, .qc-tone-tile { background: #46818F; color: #000; }
.qc-tone.tone-F, .qc-tone-tile.tone-F { background: #2F5F6A; color: #fff; }
.qc-tone.tone-M, .qc-tone-tile.tone-M { background: #000; color: #fff; }
.qc-tone.tone-C, .qc-tone-tile.tone-C { background: #FF6F61; color: #000; }
.qc-xrow .qs-text { background: #EFF7F8; }

.qc-months { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: calc(var(--qs-font) - 7px); color: #111; }
.qc-months thead th { background: #2F5F6A; color: #fff; font-size: calc(var(--qs-font) - 7px); padding: 10px 12px; text-align: left; }
.qc-months thead th:first-child { border-radius: 10px 0 0 10px; } .qc-months thead th:last-child { border-radius: 0 10px 10px 0; text-align: center; }
.qc-months tbody th, .qc-months tbody td { background: #fff; padding: 6px 10px; }
.qc-months tbody th { text-align: left; font-weight: 800; border-radius: 10px 0 0 10px; }
.qc-months tbody td:last-child { border-radius: 0 10px 10px 0; text-align: center; }
.qc-months td { white-space: nowrap; }
.qc-mnum { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; font-weight: 800; margin-right: 10px; vertical-align: middle; }
.qc-mtext { font-style: italic; }
.qc-tone { display: inline-block; border-radius: 16px; padding: 4px 12px; font-weight: 800; font-size: calc(var(--qs-font) - 9px); }
.qc-legend { color: #E3F0F2; font-size: calc(var(--qs-font) - 9px); margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.qs-1x1 .qc-cover-title { font-size: 40px; }
.qs-1x1 .qc-rel { font-size: 22px; margin-top: 8px; }
.qs-1x1 .qc-photo { width: 140px; height: 140px; border-width: 7px; }
.qs-1x1 .qc-photo .qs-initials { font-size: 54px; }
.qs-1x1 .qc-person { padding: 12px; gap: 8px; flex-direction: row; align-items: center; }
.qs-1x1 .qc-cover .qs-grid th, .qs-1x1 .qc-cover .qs-grid td { font-size: 20px; padding: 2px 0; }
.qs-4x5 .qc-photo { width: 170px; height: 170px; }
.qs-1x1.qs--compat .qs-brand-block { gap: 6px; }
.qs-1x1.qs--compat .qs-logo-big { width: 150px; height: 150px; }
.qs-9x16 .qc-months { font-size: calc(var(--qs-font) - 3px); border-spacing: 0 10px; }
.qs-9x16 .qc-months tbody th, .qs-9x16 .qc-months tbody td { padding: 22px 12px; }
.qs-9x16 .qc-mnum { width: 46px; height: 46px; }
.qs-9x16 .qc-tone { font-size: calc(var(--qs-font) - 6px); padding: 6px 14px; }

/* Number tiles: the single value big, the value it derives from small and faded (extra insight only) */
.qs-num { flex-direction: column; gap: 2px; }
.qs-num-main { line-height: 1; }
.qs-num-sub { font-size: 22px; font-weight: 700; opacity: .75; line-height: 1; }   /* faded, still >= 3:1 */

/* Source number above the single value, with a little breathing room */
.qs-num-sub { order: -1; margin-bottom: 8px; }
.qs-num { gap: 0; }
/* Letters of the name on the 1-9 board: tinted in their number's colour (70% lighter), bold */
.qs-grid td.is-used { font-weight: 900; color: #000; }

/* Fill each slide evenly (owner, 2026-12-03): rows, month boxes and text cards stretch to the card's height;
   quick.js then picks the largest text that fits. */
.qs-body > .qs-row { flex: 1 1 auto; }
.qs-body > .qs-card.qs-text { flex: 1 1 auto; }
.qs-months { align-content: stretch; grid-auto-rows: 1fr; }
.qs-months li .qs-m-text { flex: 1; display: flex; align-items: center; }
.qs-label span { font-size: calc(var(--qs-font) - 4px); }

/* Personal-day calendar slide: 12 months x 31 days. Turned to landscape on 9:16 and 4:5 (quick.js sizes it). */
.qs-cal-body { position: relative; padding: 0; }
.qs-cal { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.qs-cal-rot { position: absolute; top: 0; left: 0; transform-origin: top left; transform: rotate(90deg) translateY(-100%); padding: 18px 0; }
.qs-cal-table { width: 100%; flex: 1; border-collapse: separate; border-spacing: 3px; table-layout: fixed; background: #fff; border-radius: 14px; padding: 6px; }
.qs-cal-table th, .qs-cal-table td { text-align: center; font-weight: 800; color: #111; border-radius: 6px; font-size: 22px; padding: 0; }
.qs-cal-table thead th { background: #EFF7F8; font-size: 18px; color: #2F5F6A; }
.qs-cal-table .qs-cal-m { width: 120px; background: #2F5F6A; color: #fff; font-size: 20px; text-align: left; padding: 0 8px; white-space: nowrap; }
.qs-cal-table .qs-cal-m span { display: inline-block; min-width: 30px; text-align: center; border-radius: 6px; margin-left: 4px; color: #111; }
.qs-cal-table td.qs-cal-x { background: #2F5F6A; }
.qs-cal-note { margin: 0; color: #fff; font-size: 20px; line-height: 1.4; }
.qs-1x1 .qs-cal-table th, .qs-1x1 .qs-cal-table td { font-size: 14px; }
.qs-1x1 .qs-cal-table .qs-cal-m { width: 84px; font-size: 14px; }
/* Calendar: keep the title and note ~50px clear of the slide heading; month numbers in one aligned column */
.qs-cal-rot { padding-left: 50px; padding-right: 10px; }
.qs-cal-table .qs-cal-m { text-align: left; }
.qs-cal-table .qs-cal-mn { display: inline-block; width: 50px; text-align: left; }
.qs-cal-table .qs-cal-m .qs-cal-pm { margin-left: 0; }
/* Calendar: equal space on all four sides (replaces the 50px / 10px offsets) */
.qs-cal-rot { padding: 32px; justify-content: center; }
/* Calendar text colours follow the number colour (black or white, whichever reads better; see app.css .nc-*) */
.qs-cal-table td { color: var(--nc-fg, #111); }
.qs-cal-table td.qs-cal-x { color: transparent; }
.qs-cal-table thead th { color: #2F5F6A; }
/* Month column: name on the left in white, Personal Month number on the right */
.qs-cal-mrow { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.qs-cal-table .qs-cal-mn { width: auto; color: #fff; }
.qs-cal-table .qs-cal-m .qs-cal-pm { color: var(--nc-fg); min-width: 32px; margin: 0; }

/* Personal Day finder: Personal Month (rows) x day digit (columns), word per number, compatibility tone mark */
.qs-mx-body { gap: 14px; }
.qs-mx-wrap { flex: 1; display: grid; grid-template-columns: 56px 1fr; gap: 0; min-height: 0; }
.qs-mx-side { background: #2F5F6A; color: #fff; writing-mode: vertical-rl; transform: rotate(180deg); text-align: center;
  font-size: 30px; font-weight: 700; border-radius: 0 12px 12px 0; display: flex; align-items: center; justify-content: center; }
.qs-mx { width: 100%; height: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; background: #fff; border-radius: 14px; padding: 6px; }
.qs-mx-corner { background: transparent; width: 120px; }
.qs-mx-top { background: #2F5F6A; color: #fff; font-size: 20px; font-weight: 700; padding: 8px; border-radius: 8px; }
.qs-mx-h { background: #3a3a3a; color: #fff; font-size: 30px; font-weight: 800; border-radius: 8px; padding: 6px 0; text-align: center; }
.qs-mx-rowh { text-align: center; }
.qs-mx-rowh small { display: block; font-size: 15px; font-weight: 600; color: #DDEFF2; line-height: 1.1; }
.qs-mx-c { position: relative; background: #F4F7F8; color: #111; text-align: center; border-radius: 8px; padding: 6px 2px 6px; vertical-align: middle; }
.qs-mx-c b { display: block; font-size: 34px; line-height: 1.05; }
.qs-mx-c small { display: block; font-size: 14px; font-weight: 600; line-height: 1.1; color: #2F5F6A; overflow-wrap: anywhere; }
.qs-mx-c::before { content: ""; position: absolute; top: 4px; left: 4px; width: 12px; height: 12px; border-radius: 50%; }
.qs-mx-c.tone-F::before, .qs-mx-dot.tone-F { background: #2a8a6a; }
.qs-mx-c.tone-M::before, .qs-mx-dot.tone-M { background: #e0a020; }
.qs-mx-c.tone-C::before, .qs-mx-dot.tone-C { background: #FF6F61; }
.qs-mx tr.is-row .qs-mx-c, .qs-mx tr.is-row .qs-mx-rowh { background: #F7D774; color: #111; }
.qs-mx tr.is-row .qs-mx-rowh small { color: #111; }
.qs-mx .qs-mx-c.is-col, .qs-mx .qs-mx-h.is-col { background: #6F9EE6; color: #111; }
.qs-mx .qs-mx-c.is-col small { color: #111; }
.qs-mx .qs-mx-c.is-now { background: #2a8a6a; color: #fff; }
.qs-mx .qs-mx-c.is-now small { color: #fff; }
.qs-mx-key { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #fff; font-size: 22px; }
.qs-mx-key li { display: flex; align-items: center; gap: 8px; }
.qs-mx-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; }
.qs-mx-note { margin: 0; color: #fff; font-size: 20px; line-height: 1.4; }
.qs-1x1 .qs-mx-c b { font-size: 24px; } .qs-1x1 .qs-mx-c small { font-size: 11px; }
.qs-1x1 .qs-mx-h { font-size: 22px; } .qs-1x1 .qs-mx-rowh small { font-size: 11px; }
.qs-1x1 .qs-mx-key, .qs-1x1 .qs-mx-note { font-size: 15px; } .qs-1x1 .qs-mx-side { font-size: 22px; }
.qs-1x1 .qs-mx-wrap { grid-template-columns: 40px 1fr; } .qs-1x1 .qs-mx-corner { width: 86px; }
/* Personal Day finder uses the calendar's landscape direction (turned on 9:16 and 4:5, like the calendar) */
.qs-mx-inner { gap: 12px; }
.qs-mx-inner .qs-mx-wrap { flex: 1 1 auto; }
/* Finder cells: smaller number at 90% opacity, then the theme, 2 strengths (+) and 2 challenges (−) */
.qs-mx-c b { font-size: 24px; opacity: .9; }
.qs-mx-c small { font-size: 13px; margin-bottom: 2px; }
.qs-mx-plus, .qs-mx-minus { display: block; line-height: 1.12; }
.qs-mx-plus i, .qs-mx-minus i { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-mx-plus i { color: #1F6B52; }
.qs-mx-minus i { color: #B3362B; }
.qs-mx tr.is-row .qs-mx-c i, .qs-mx .qs-mx-c.is-col i { color: #111; }
.qs-mx .qs-mx-c.is-now i { color: #fff; }
.qs-1x1 .qs-mx-c b { font-size: 16px; } .qs-1x1 .qs-mx-plus i, .qs-1x1 .qs-mx-minus i { font-size: 8.5px; }
/* Finder, v3: no coloured dots (they looked like number colours); 3 short lines per cell so the grid fits */
.qs-mx-c::before { content: none; }
.qs-mx-c { padding: 4px 6px; text-align: left; vertical-align: top; }
.qs-mx-mark { position: absolute; top: 3px; right: 6px; font-size: 15px; font-weight: 900; color: #2F5F6A; line-height: 1; }
.qs-mx-head { display: block; font-size: 13px; font-weight: 700; color: #2F5F6A; line-height: 1.2; padding-right: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qs-mx-head b { display: inline; font-size: 14px; opacity: .9; margin-right: 2px; color: #111; }
.qs-mx-plus, .qs-mx-minus { display: block; font-size: 12px; font-weight: 600; line-height: 1.25; white-space: normal; }
.qs-mx-plus { color: #1F6B52; }
.qs-mx-minus { color: #B3362B; }
.qs-mx tr.is-row .qs-mx-c *, .qs-mx .qs-mx-c.is-col * { color: #111; }
.qs-mx .qs-mx-c.is-now * { color: #fff; }
.qs-mx { height: 100%; }
.qs-mx-inner .qs-mx-wrap { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.qs-mx-key { gap: 6px 20px; font-size: 18px; }
.qs-mx-keymark { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px;
  background: #fff; color: #2F5F6A; font-weight: 900; }
.qs-mx-note { font-size: 17px; }
.qs-1x1 .qs-mx-head { font-size: 9px; } .qs-1x1 .qs-mx-head b { font-size: 10px; }
.qs-1x1 .qs-mx-plus, .qs-1x1 .qs-mx-minus { font-size: 8px; } .qs-1x1 .qs-mx-mark { font-size: 10px; }
.qs-1x1 .qs-mx-key { font-size: 13px; } .qs-1x1 .qs-mx-note { font-size: 12px; }

/* Toolbar stays visible while the slides scroll (top set by quick.js under the site's top bar) */
.qk-toolbar { position: sticky; top: 56px; z-index: 900; padding: 10px 12px; margin: 10px -12px; border-radius: 0 0 14px 14px;
  background: rgba(14, 29, 34, .96); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 8px 18px rgba(0,0,0,.25); }
body.light .qk-toolbar { background: rgba(255, 255, 255, .96); box-shadow: 0 8px 18px rgba(20,49,58,.12); }
/* One slide at a time can be turned upright (or back to landscape) */
.qk-slot { display: flex; flex-direction: column; gap: 8px; }
.qk-rot { align-self: center; display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  font: 600 13px 'Inter', sans-serif; background: transparent; color: inherit; border: 1px solid var(--teal-300); }
.qk-rot[aria-pressed="true"] { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.qs.is-upright .qs-cal-rot { position: static; transform: none; width: auto; height: 100%; padding: 24px 0; }
.qs.is-upright .qs-cal-table th, .qs.is-upright .qs-cal-table td { font-size: 14px; }
.qs.is-upright .qs-cal-table thead th { font-size: 12px; }
.qs.is-upright .qs-cal-table .qs-cal-m { width: 84px; font-size: 13px; padding: 0 4px; }
.qs.is-upright .qs-cal-note { font-size: 18px; }
.qs.is-upright .qs-mx-head { font-size: 11px; } .qs.is-upright .qs-mx-head b { font-size: 12px; }
.qs.is-upright .qs-mx-plus, .qs.is-upright .qs-mx-minus { font-size: 10px; }
.qs.is-upright .qs-mx-corner { width: 90px; }
.qs.is-upright .qs-mx-rowh small { font-size: 11px; }
@media print { .qk-toolbar { position: static; } }

/* Landscape slides (calendar, day finder on 9:16 and 4:5): the WHOLE slide turns, heading and footer included,
   so it reads correctly when the phone is turned. quick.js gives .qs-land the slide's height as its width. */
.qs.is-land { position: relative; padding: 0; }
.qs-land { position: absolute; top: 0; left: 0; display: flex; flex-direction: column; padding: 36px 40px 30px;
  transform-origin: top left; transform: rotate(90deg) translateY(-100%); }
.qs.is-land .qs-cal-body { padding: 0; }
.qs.is-land .qs-cal { position: static; transform: none; padding: 18px 0 8px; height: 100%; }
.qs.is-land.is-upright .qs-land { position: static; transform: none; width: 100%; height: 100%; }
/* Finder: the mark has its own space at the end of the first line, so it never covers the word */
.qs-mx-head { display: flex; align-items: flex-start; gap: 4px; padding-right: 0; white-space: normal; overflow: visible; }
.qs-mx-w { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.qs-mx-mark { position: static; flex: none; line-height: 1.2; }

/* Quick Compatibility months: fixed columns that wrap, smaller text, so nothing runs off the slide in any language */
.qc-months { table-layout: fixed; width: 100%; font-size: calc(var(--qs-font) - 9px); }
.qc-months thead th { font-size: calc(var(--qs-font) - 10px); padding: 8px 10px; overflow-wrap: anywhere; }
.qc-months thead th:nth-child(1), .qc-months tbody th { width: 19%; }
.qc-months thead th:nth-child(2), .qc-months thead th:nth-child(3) { width: 33%; }
.qc-months thead th:nth-child(4) { width: 15%; }
.qc-months td, .qc-months th { white-space: normal; overflow-wrap: anywhere; vertical-align: middle; }
.qc-months .qc-mnum { float: left; margin: 0 8px 2px 0; }
.qc-months .qc-mtext { display: block; overflow: hidden; line-height: 1.25; }
.qc-months .qc-tone { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.qs-9x16 .qc-months { font-size: calc(var(--qs-font) - 8px); border-spacing: 0 8px; }
.qs-9x16 .qc-months tbody th, .qs-9x16 .qc-months tbody td { padding: 14px 10px; }
/* Any slide text wraps inside its box instead of overflowing (other languages run longer) */
.qs p, .qs li, .qs td, .qs th, .qs dd, .qs dt, .qs .qs-text, .qs .qs-label span, .qs .qs-label strong { overflow-wrap: anywhere; }
.qs .qs-row > *, .qs .qs-months li, .qs .qs-facts div > * { min-width: 0; }

/* Personal Day finder turned upright: quick.js lowers --mx until all 9 rows fit the slide (4:5 is short) */
.qs.is-upright.qs--matrix .qs-mx { border-spacing: calc(4px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-c { padding: calc(6px * var(--mx, 1)) 2px; }
.qs.is-upright.qs--matrix .qs-mx-c b { font-size: calc(24px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-c small { font-size: calc(13px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-head { font-size: calc(11px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-head b { font-size: calc(12px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-plus, .qs.is-upright.qs--matrix .qs-mx-minus { font-size: calc(10px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-plus i, .qs.is-upright.qs--matrix .qs-mx-minus i { font-size: calc(12.5px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-h { font-size: calc(30px * var(--mx, 1)); padding: calc(6px * var(--mx, 1)) 0; }
.qs.is-upright.qs--matrix .qs-mx-top { font-size: calc(20px * var(--mx, 1)); padding: calc(8px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-rowh small { font-size: calc(11px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-key { font-size: calc(22px * var(--mx, 1)); gap: calc(8px * var(--mx, 1)) 22px; }
.qs.is-upright.qs--matrix .qs-mx-note { font-size: calc(20px * var(--mx, 1)); }
.qs.is-upright.qs--matrix .qs-mx-inner { gap: calc(12px * var(--mx, 1)); }

/* Showcase reports (staff, social media): call to action in the footer, disclaimer on the cover */
.qs-foot .qs-cta b { color: #fff; }
.qs-sc-note { margin: 0 0 10px; color: #DDEFF2; font-size: 18px; font-style: italic; text-align: center; }
.qs-1x1 .qs-sc-note { font-size: 14px; }
/* Closing logo: a rounded white card that keeps the logo's shape (it was squeezed into an oval on 4:5) */
.qs .qs-logo-big { flex: none; width: auto; height: 230px; max-width: 70%; object-fit: contain;
  padding: 20px 32px; border: 8px solid #FF6F61; border-radius: 28px; background: #fff; box-sizing: border-box; }
.qs-4x5 .qs-logo-big, .qs-1x1.qs--compat .qs-logo-big { width: auto; height: 160px; padding: 14px 24px; border-width: 6px; }
.qs-1x1 .qs-logo-big { width: auto; height: 130px; padding: 12px 20px; border-width: 6px; }
/* Notes slide: the logo keeps a fixed size; the notes text shrinks to fit (quick.js) */
.qs-notes-body .qs-brand-block { flex: none; gap: 12px; margin: auto 0; padding-top: 28px; }
.qs-1x1 .qs-notes-body .qs-brand-block { padding-top: 14px; }
.qs .qs-disclaimer { color: #111; }
.qk-format.is-hidden { display: none; }

/* Showcase closing slide: get your own report */
.qs-cta-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 40px; }
.qs-cta-h { margin: 0; color: #fff; font: 800 96px/1.08 'Cinzel', serif; }
.qs-cta-p { margin: 0; color: #fff; font-size: 44px; line-height: 1.35; max-width: 92%; }
.qs-cta-url { margin: 0; padding: 24px 44px; border-radius: 999px; background: linear-gradient(135deg, #FF9A8B, #FF6F61); color: #000;
  font-size: 46px; font-weight: 800; }
.qs-4x5 .qs-cta-body { gap: 30px; } .qs-4x5 .qs-cta-h { font-size: 80px; } .qs-4x5 .qs-cta-p { font-size: 38px; } .qs-4x5 .qs-cta-url { font-size: 42px; }
.qs-1x1 .qs-cta-body { gap: 22px; } .qs-1x1 .qs-cta-h { font-size: 64px; } .qs-1x1 .qs-cta-p { font-size: 30px; } .qs-1x1 .qs-cta-url { font-size: 34px; padding: 16px 32px; }

/* Personal days calendar: month names white and bold on the dark teal column (a span rule had made them #111) */
.qs-cal-table .qs-cal-m .qs-cal-mn { color: #fff; font-weight: 700; }

/* Career box as 2-3 short paragraphs */
.qs-career-text p { margin: 0 0 .6em; } .qs-career-text p:last-child { margin: 0; }

/* Day charts for phones (2026-12-04): upright, bigger cells.
   Calendar: half a month per slide. Finder: 3 Personal Months (columns) x 9 day digits (rows) per slide. */
.qs--calendar .qs-cal-table th, .qs--calendar .qs-cal-table td { font-size: 26px; font-weight: 700; }
.qs--calendar .qs-cal-table thead th { font-size: 22px; }
.qs--calendar .qs-cal-table .qs-cal-m { width: 150px; font-size: 24px; }
.qs-4x5.qs--calendar .qs-cal-table th, .qs-4x5.qs--calendar .qs-cal-table td { font-size: 22px; }
.qs-1x1.qs--calendar .qs-cal-table th, .qs-1x1.qs--calendar .qs-cal-table td { font-size: 18px; }
.qs-1x1.qs--calendar .qs-cal-table .qs-cal-m { width: 110px; font-size: 18px; }
.qs-mx2-wrap { grid-template-columns: 1fr; }
.qs.qs--matrix .qs-mx2 { border-spacing: calc(6px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx2-corner { width: 16%; background: #2F5F6A; color: #fff; font-size: calc(30px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx2-corner small { display: block; font-size: calc(15px * var(--mx, 1)); font-weight: 600; color: #DDEFF2; }
.qs.qs--matrix .qs-mx2 .qs-mx2-pm { font-size: calc(32px * var(--mx, 1)); padding: calc(10px * var(--mx, 1)) 4px; }
.qs.qs--matrix .qs-mx2 .qs-mx2-pm small { display: block; font-size: calc(18px * var(--mx, 1)); font-weight: 600; color: #DDEFF2; }
.qs.qs--matrix .qs-mx2 .qs-mx2-pm.is-col { background: #6F9EE6; color: #111; } .qs.qs--matrix .qs-mx2 .qs-mx2-pm.is-col small { color: #111; }
.qs.qs--matrix .qs-mx2 .qs-mx-rowh { font-size: calc(40px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx-c { padding: calc(10px * var(--mx, 1)) calc(12px * var(--mx, 1)); text-align: left; }
.qs.qs--matrix .qs-mx2 .qs-mx-c b { font-size: calc(36px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx-head { font-size: calc(24px * var(--mx, 1)); font-weight: 700; }
.qs.qs--matrix .qs-mx2 .qs-mx-plus, .qs.qs--matrix .qs-mx2 .qs-mx-minus { font-size: calc(20px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx-plus i, .qs.qs--matrix .qs-mx2 .qs-mx-minus i { font-size: calc(20px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx2 .qs-mx-c::before { width: 14px; height: 14px; }
.qs.qs--matrix .qs-mx-key { font-size: calc(22px * var(--mx, 1)); }
.qs.qs--matrix .qs-mx-note { font-size: calc(20px * var(--mx, 1)); }

/* Logos keep their proportions in the downloads too: the image is drawn at its natural ratio inside a sized box
   (html2canvas, which makes the PNG/PDF, ignores object-fit, so a fixed square box stretched the wide logo). */
.qs-logo-img { display: block; width: 100%; height: auto; }
.qs-logo-box { display: flex; align-items: center; justify-content: center; flex: none; width: 300px; padding: 22px 18px;
  background: #fff; border-radius: 24px; box-sizing: border-box; }
.qs-4x5 .qs-logo-box { width: 240px; padding: 18px 14px; }
.qs-1x1 .qs-logo-box { width: 190px; padding: 14px 12px; }
.qs-logo-card { display: block; flex: none; width: 440px; padding: 22px 30px; background: #fff; border: 8px solid #FF6F61;
  border-radius: 28px; box-sizing: border-box; }
.qs-4x5 .qs-logo-card { width: 340px; padding: 16px 24px; border-width: 6px; }
.qs-1x1 .qs-logo-card { width: 280px; padding: 12px 20px; border-width: 6px; }

/* Career box: the short paragraphs stack (the box was a flex row, so they stood side by side) */
.qs .qs-career-text { display: flex; flex-direction: column; justify-content: center; align-items: stretch; }

/* Contents page and the link back to it on every page */
.qs-toc-body { gap: 18px; }
.qs-toc { list-style: none; margin: 0; padding: 18px 26px; background: #fff; border-radius: 18px; display: grid; gap: 4px; flex: 1; align-content: start; }
.qs-toc li a { display: flex; align-items: baseline; gap: 12px; padding: 12px 4px; color: #111; text-decoration: none; font-size: 30px; font-weight: 600;
  border-bottom: 1px solid #DDE7EA; }
.qs-toc li:last-child a { border-bottom: 0; }
.qs-toc-dots { flex: 1; border-bottom: 3px dotted #7FB3C0; transform: translateY(-6px); }
.qs-toc-n { min-width: 56px; text-align: center; padding: 2px 10px; border-radius: 999px; background: #2F5F6A; color: #fff; font-weight: 800; }
.qs-4x5 .qs-toc li a { font-size: 25px; padding: 8px 4px; } .qs-1x1 .qs-toc li a { font-size: 20px; padding: 5px 4px; }
.qs-1x1 .qs-toc { padding: 10px 18px; gap: 0; }
.qs-page a.qs-tocl { color: #fff; font-weight: 700; text-decoration: none; }
.qs { scroll-margin-top: 150px; }

/* Contents: 40px of room at the top; lines stay dark on white when hovered or focused (a site link rule made them vanish) */
.qs .qs-toc { padding-top: 40px; }
.qs .qs-toc li a, .qs .qs-toc li a:visited { color: #111; }
.qs .qs-toc li a:hover, .qs .qs-toc li a:focus-visible { color: #111; background: #EEF6F8; outline: none; }
.qs .qs-toc li a:hover .qs-toc-n, .qs .qs-toc li a:focus-visible .qs-toc-n { background: #FF6F61; color: #000; }
.qs .qs-page a.qs-tocl, .qs .qs-page a.qs-tocl:visited, .qs .qs-page a.qs-tocl:hover { color: #fff; }

/* Quick Compatibility months on 4:5 (six a slide): larger text and taller rows fill the slide; quick.js still shrinks if needed */
.qs-4x5 .qc-months { font-size: calc(var(--qs-font) - 2px); border-spacing: 0 12px; }
.qs-4x5 .qc-months thead th { font-size: calc(var(--qs-font) - 4px); padding: 12px; }
.qs-4x5 .qc-months tbody th, .qs-4x5 .qc-months tbody td { padding: 18px 12px; }
.qs-4x5 .qc-months .qc-mtext { line-height: 1.3; }
/* Month names and column headings never break inside a word */
.qs .qc-months thead th, .qs .qc-months tbody th { overflow-wrap: normal; word-break: keep-all; white-space: nowrap; }
.qs-4x5 .qc-months thead th:nth-child(1), .qs-4x5 .qc-months tbody th { width: 22%; }
.qs-4x5 .qc-months thead th:nth-child(2), .qs-4x5 .qc-months thead th:nth-child(3) { width: 30%; }
.qs-4x5 .qc-months thead th:nth-child(4) { width: 18%; }
.qs-4x5 .qc-months tbody th { font-size: calc(var(--qs-font) - 4px); }
