/* ============================================
   CN Dataworks guide pages

   A guide is the page type that is expected to change, so the Last reviewed
   stamp and change log are first-class furniture rather than footnotes.

   Contrast: every gold fill carries dark text. Gold #C9A962 is 1.9:1 against
   white and fails all WCAG 2.2 thresholds, so white-on-gold is never used.
   Loaded after marketing.css, which defines the --mk-* tokens.
   ============================================ */

.guide-page {
    --guide-max: 860px;      /* comfortable measure for long-form reading */
    --guide-wide: 1180px;    /* full-bleed blocks: ladder, stage grid */
}

.guide-section {
    padding-left: 20px;
    padding-right: 20px;
}

/* === Hero === */

.guide-hero {
    padding-bottom: 8px;
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    font-size: 0.82rem;
}

.guide-meta-item {
    background: var(--mk-surface-alt, #f2f4f7);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    color: var(--mk-muted, #5c6470);
    border-radius: 50px;
    padding: 5px 13px;
}

.guide-meta-free {
    background: rgba(201, 169, 98, 0.18);
    border-color: rgba(201, 169, 98, 0.45);
    color: #6b5420;
    font-weight: 600;
}

/* === Long-form prose === */

.guide-prose {
    max-width: var(--guide-max);
    margin: 0 auto;
}

.guide-prose h2 {
    font-size: 1.7rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.guide-prose p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--mk-ink, #1a1a1a);
    margin-bottom: 20px;
}

.guide-callout {
    background: var(--mk-surface-alt, #f2f4f7);
    border-left: 4px solid #1A3C5E;
    border-radius: 8px;
    padding: 24px 28px;
    margin-top: 32px;
}

.guide-callout h3 {
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.guide-callout ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-callout li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 13px;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--mk-ink, #1a1a1a);
}

.guide-callout li:last-child {
    margin-bottom: 0;
}

.guide-callout li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    background: var(--mk-gold, #C9A962);
    border-radius: 50%;
}

/* === The assessment instrument === */

.assessment {
    max-width: var(--guide-max);
    margin: 0 auto;
}

.assessment-toolbar {
    position: sticky;
    top: 75px;                 /* clears the fixed 75px navbar */
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--mk-surface, #fff);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 26px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.assessment-progress {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--mk-ink, #1a1a1a);
    flex: 1 1 240px;
}

.assessment-progress-bar {
    margin-top: 7px;
    height: 6px;
    background: var(--mk-surface-alt, #f2f4f7);
    border-radius: 50px;
    overflow: hidden;
}

.assessment-progress-fill {
    height: 100%;
    width: 0;
    background: var(--mk-gold, #C9A962);
    border-radius: 50px;
    transition: width 0.25s ease;
}

.question-group {
    margin-bottom: 42px;
}

.question-group-head {
    border-bottom: 2px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.question-group-head h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.question-group-head p {
    font-size: 0.85rem;
    color: var(--mk-muted, #5c6470);
    margin: 0;
}

.question-group-key {
    display: inline-block;
    background: #1A3C5E;
    color: #fff;             /* 9.2:1 on this navy */
    font-size: 0.8rem;
    font-weight: 700;
    width: 26px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 6px;
    margin-right: 8px;
}

.question {
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-left: 4px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 10px;
    padding: 20px 22px;
    margin: 0 0 16px;
    background: var(--mk-surface, #fff);
    transition: border-color 0.2s ease;
    scroll-margin-top: 160px;   /* clears navbar + sticky toolbar on jump */
}

.question-answered {
    border-left-color: var(--mk-gold, #C9A962);
}

.question-legend {
    float: none;
    width: 100%;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 600;
    color: var(--mk-ink, #1a1a1a);
    margin-bottom: 10px;
    padding: 0;
}

.question-id {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--mk-muted, #5c6470);
    background: var(--mk-surface-alt, #f2f4f7);
    border-radius: 4px;
    padding: 2px 7px;
    margin-right: 6px;
    vertical-align: 2px;
}

.question-stage {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    padding: 2px 7px;
    margin-right: 8px;
    vertical-align: 2px;
    background: rgba(41, 99, 162, 0.14);
    color: #1A3C5E;
    border: 1px solid rgba(41, 99, 162, 0.3);
}

.question-text {
    display: inline;
}

.question-yes {
    font-size: 0.87rem;
    line-height: 1.6;
    color: var(--mk-muted, #5c6470);
    background: var(--mk-surface-alt, #f2f4f7);
    border-radius: 7px;
    padding: 11px 14px;
    margin: 0 0 16px;
}

.question-yes strong {
    color: var(--mk-ink, #1a1a1a);
}

/* --- the three answers --- */

.answer-row {
    display: flex;
    gap: 10px;
}

.answer-option {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1.5px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--mk-muted, #5c6470);
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--mk-surface, #fff);
    margin: 0;
}

.answer-option:hover {
    border-color: #1A3C5E;
    color: var(--mk-ink, #1a1a1a);
}

/* The radio stays in the accessibility tree and keeps keyboard operation;
   it is only visually replaced by the styled label. */
.answer-option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.answer-option:focus-within {
    outline: 3px solid rgba(41, 99, 162, 0.45);
    outline-offset: 2px;
}

.answer-option input:checked + span {
    color: var(--mk-ink, #1a1a1a);
}

.answer-no:has(input:checked) {
    background: rgba(176, 58, 46, 0.1);
    border-color: rgba(176, 58, 46, 0.6);
    color: #8c2d24;
}

.answer-partly:has(input:checked) {
    background: rgba(201, 169, 98, 0.22);
    border-color: rgba(201, 169, 98, 0.75);
    color: #6b5420;
}

.answer-yes:has(input:checked) {
    background: rgba(34, 102, 68, 0.12);
    border-color: rgba(34, 102, 68, 0.6);
    color: #1d5940;
}

/* === Result === */

.result-pending {
    max-width: var(--guide-max);
    margin: 0 auto;
    text-align: center;
    background: var(--mk-surface-alt, #f2f4f7);
    border: 1px dashed var(--mk-border, rgba(0, 0, 0, 0.18));
    border-radius: 10px;
    padding: 34px 24px;
    color: var(--mk-muted, #5c6470);
}

.result-pending p {
    margin: 0 0 6px;
}

.result-pending-count {
    font-weight: 700;
    color: var(--mk-ink, #1a1a1a);
}

.result-card {
    max-width: var(--guide-wide);
    margin: 0 auto;
    background: var(--mk-surface, #fff);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-top: 5px solid var(--mk-gold, #C9A962);
    border-radius: 12px;
    overflow: hidden;
}

.result-stage {
    padding: 32px 32px 26px;
    text-align: center;
    border-bottom: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
}

.result-stage-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mk-muted, #5c6470);
    margin-bottom: 8px;
}

.result-stage-name {
    font-family: var(--font-display, inherit);
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--mk-ink, #1a1a1a);
}

.result-stage-means {
    max-width: 620px;
    margin: 12px auto 0;
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--mk-muted, #5c6470);
}

/* --- the ladder --- */

.result-ladder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--mk-border, rgba(0, 0, 0, 0.1));
    border-bottom: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
}

.ladder-rung {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 18px 16px;
    background: var(--mk-surface, #fff);
}

.ladder-met {
    background: rgba(34, 102, 68, 0.08);
}

.ladder-key {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--mk-surface-alt, #f2f4f7);
    color: var(--mk-muted, #5c6470);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.12));
}

.ladder-met .ladder-key {
    background: #226644;
    color: #fff;              /* 5.9:1 */
    border-color: #226644;
}

.ladder-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.86rem;
    line-height: 1.35;
}

.ladder-body strong {
    color: var(--mk-ink, #1a1a1a);
    font-weight: 600;
}

.ladder-state {
    font-size: 0.76rem;
    color: var(--mk-muted, #5c6470);
}

.ladder-met .ladder-state {
    color: #1d5940;
    font-weight: 600;
}

/* --- the gap --- */

.result-gap {
    padding: 28px 32px;
}

.result-gap h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #1A3C5E;
    margin-bottom: 10px;
}

.result-gap-name {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mk-ink, #1a1a1a);
    margin-bottom: 20px;
}

.result-blockers h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--mk-muted, #5c6470);
    margin-bottom: 11px;
}

.result-blockers ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-blockers li {
    font-size: 0.89rem;
    line-height: 1.55;
    color: var(--mk-ink, #1a1a1a);
    padding: 9px 0;
    border-top: 1px solid var(--mk-border, rgba(0, 0, 0, 0.08));
}

.blocker-id {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    background: rgba(176, 58, 46, 0.12);
    color: #8c2d24;
    border-radius: 4px;
    padding: 2px 6px;
    margin-right: 5px;
}

.blocker-jump {
    font-size: 0.78rem;
    font-weight: 600;
    color: #1A3C5E;
    white-space: nowrap;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0 32px 28px;
}

.result-copied {
    font-size: 0.84rem;
    font-weight: 600;
    color: #1d5940;
}

.why-floor {
    max-width: var(--guide-max);
    margin: 30px auto 0;
    background: var(--mk-surface-alt, #f2f4f7);
    border-radius: 10px;
    padding: 24px 28px;
}

.why-floor h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.why-floor p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--mk-muted, #5c6470);
    margin: 0;
}

/* === Roadmap for IT === */

.roadmap-steps {
    max-width: var(--guide-max);
    margin: 0 auto 36px;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.roadmap-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 54px;
    margin-bottom: 24px;
}

.roadmap-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    background: var(--mk-gold, #C9A962);
    color: var(--mk-ink, #1a1a1a);   /* dark on gold, never white */
    font-weight: 700;
}

.roadmap-steps h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.roadmap-steps p {
    font-size: 0.93rem;
    line-height: 1.65;
    color: var(--mk-muted, #5c6470);
    margin: 0;
}

.asks-split {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 36px;
    max-width: var(--guide-wide);
    margin: 0 auto;
}

/* Grid items default to min-width:auto, so the 560px-wide table below would
   stretch this column past the viewport and scroll the whole page sideways.
   min-width:0 lets .asks-table-wrap do the scrolling instead. */
.asks-col {
    min-width: 0;
}

.asks-col h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.asks-col > p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--mk-muted, #5c6470);
}

.asks-note {
    font-size: 0.86rem !important;
    margin-bottom: 16px;
}

.asks-list {
    margin: 0;
}

.asks-list dt {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1A3C5E;
    margin-top: 13px;
}

.asks-list dd {
    font-size: 0.87rem;
    line-height: 1.55;
    color: var(--mk-muted, #5c6470);
    margin: 3px 0 0;
}

.asks-table-head {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--mk-muted, #5c6470);
    margin: 26px 0 10px;
}

/* Wide table scrolls inside its own box rather than the page. */
.asks-table-wrap {
    overflow-x: auto;
}

.asks-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.asks-table th {
    background: var(--mk-gold, #C9A962);
    color: var(--mk-ink, #1a1a1a);    /* dark on gold */
    text-align: left;
    font-weight: 700;
    padding: 9px 11px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.asks-table td {
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.12));
    padding: 16px 11px;
}

/* === Calls to action === */

.guide-selfserve-note {
    max-width: var(--guide-max);
    margin: 0 auto 32px;
    border-left: 4px solid var(--mk-gold, #C9A962);
    background: rgba(201, 169, 98, 0.1);
    border-radius: 0 8px 8px 0;
    padding: 18px 22px;
}

.guide-selfserve-note p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--mk-ink, #1a1a1a);
    margin: 0;
}

.guide-cta {
    max-width: var(--guide-wide);
    margin: 0 auto;
    background: var(--mk-surface, #fff);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 12px;
    padding: 36px 32px;
    text-align: center;
}

.guide-cta h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.guide-cta > p {
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--mk-muted, #5c6470);
}

.guide-cta-quiet {
    background: var(--mk-surface-alt, #f2f4f7);
    border-style: dashed;
    padding: 24px;
}

.guide-cta-quiet p {
    font-size: 0.92rem;
    margin: 0;
}

.guide-cta-gap {
    max-width: 640px;
    margin: 0 auto 22px;
}

.guide-cta-engagements {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-bottom: 8px;
}

.cta-engagement {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 200px;
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.12));
    border-top: 3px solid var(--mk-gold, #C9A962);
    border-radius: 9px;
    padding: 15px 20px;
    text-decoration: none;
    background: var(--mk-surface-alt, #f2f4f7);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-engagement:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.09);
}

.cta-engagement strong {
    font-size: 1rem;
    color: var(--mk-ink, #1a1a1a);
}

.cta-engagement span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1A3C5E;
}

/* === Download and change log === */

.guide-download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--guide-max);
    margin: 0 auto;
    background: var(--mk-surface-alt, #f2f4f7);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 10px;
    padding: 24px 28px;
}

.guide-download h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.guide-download p {
    font-size: 0.89rem;
    line-height: 1.6;
    color: var(--mk-muted, #5c6470);
    margin: 0;
    max-width: 480px;
}

.guide-changelog {
    max-width: var(--guide-max);
    margin: 0 auto;
    border-top: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    padding-top: 26px;
}

.guide-changelog h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.guide-changelog-note {
    font-size: 0.85rem;
    color: var(--mk-muted, #5c6470);
    margin-bottom: 16px;
}

.guide-changelog dl {
    margin: 0;
}

.guide-changelog dt {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1A3C5E;
    margin-top: 12px;
}

.guide-changelog dd {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--mk-muted, #5c6470);
    margin: 4px 0 0;
}

.guide-reviewed-footer {
    margin-top: 22px;
    font-size: 0.85rem;
    color: var(--mk-muted, #5c6470);
}

/* === Stage detail (guide 2) === */

.stage-detail-list {
    max-width: var(--guide-max);
    margin: 0 auto;
}

.stage-detail {
    display: flex;
    gap: 22px;
    padding: 26px 0;
    border-top: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    scroll-margin-top: 95px;
}

.stage-detail-marker {
    flex-shrink: 0;
    width: 86px;
    text-align: center;
}

.stage-detail-key {
    display: block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    margin: 0 auto 6px;
    border-radius: 50%;
    background: #1A3C5E;
    color: #fff;               /* 9.2:1 */
    font-weight: 700;
    font-size: 1rem;
}

.stage-detail-num {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--mk-muted, #5c6470);
}

.stage-detail-body h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.stage-detail-means {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mk-ink, #1a1a1a);
    margin-bottom: 10px;
}

.stage-detail-body p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--mk-muted, #5c6470);
    margin-bottom: 0;
}

/* === Guides index === */

.guide-index-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: var(--guide-wide);
    margin: 0 auto;
}

.guide-index-card {
    display: flex;
    flex-direction: column;
    background: var(--mk-surface, #fff);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-top: 4px solid var(--mk-gold, #C9A962);
    border-radius: 11px;
    padding: 28px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-index-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.guide-index-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--mk-ink, #1a1a1a);
}

.guide-index-promise {
    font-size: 0.97rem;
    line-height: 1.6;
    color: var(--mk-ink, #1a1a1a);
    margin-bottom: 12px;
}

.guide-index-summary {
    font-size: 0.89rem;
    line-height: 1.6;
    color: var(--mk-muted, #5c6470);
    flex-grow: 1;
    margin-bottom: 18px;
}

.guide-index-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.guide-index-meta span {
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--mk-surface-alt, #f2f4f7);
    color: var(--mk-muted, #5c6470);
    border: 1px solid var(--mk-border, rgba(0, 0, 0, 0.1));
    border-radius: 50px;
    padding: 4px 10px;
}

/* === Responsive === */

@media (max-width: 1000px) {
    .asks-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .result-ladder {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-index-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .assessment-toolbar {
        position: static;
    }

    .answer-row {
        flex-direction: column;
    }

    .result-ladder {
        grid-template-columns: 1fr;
    }

    .result-stage,
    .result-gap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .result-actions {
        padding-left: 20px;
        padding-right: 20px;
    }

    .result-actions .btn {
        width: 100%;
    }

    .result-stage-name {
        font-size: 1.4rem;
    }

    .stage-detail {
        flex-direction: column;
        gap: 12px;
    }

    .stage-detail-marker {
        display: flex;
        align-items: center;
        gap: 10px;
        width: auto;
        text-align: left;
    }

    .stage-detail-key {
        margin: 0;
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 0.85rem;
    }

    .guide-download {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================
   Print — people print the assessment to run it in a room.
   Drop the chrome, keep the questions and the result.
   ============================================ */

@media print {
    nav,
    footer,
    .navbar,
    #main-footer,
    .assessment-toolbar,
    .result-actions,
    .guide-cta,
    .guide-cta-quiet,
    .guide-download,
    .blocker-jump,
    .modal,
    .mobile-contact {
        display: none !important;
    }

    body,
    .secondary-content,
    .guide-page {
        background: #fff !important;
        color: #000 !important;
    }

    .guide-section,
    .content-section {
        padding: 0 !important;
        margin-bottom: 14pt;
    }

    .guide-prose,
    .assessment,
    .result-card,
    .roadmap-steps,
    .asks-split,
    .guide-changelog {
        max-width: 100% !important;
    }

    /* A question and its answer row must not be split across a page break. */
    .question,
    .stage-detail,
    .roadmap-steps li,
    .ladder-rung {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .question {
        border: 1px solid #999 !important;
        border-left-width: 1px !important;
        padding: 8pt 10pt;
        margin-bottom: 8pt;
    }

    .question-group {
        break-before: auto;
        margin-bottom: 16pt;
    }

    .question-yes {
        background: none !important;
        border-left: 2pt solid #ccc;
        border-radius: 0;
        padding: 2pt 0 2pt 8pt;
    }

    /* Printed to be filled in by hand: show the boxes, not the colors. */
    .answer-option {
        border: 1pt solid #666 !important;
        background: none !important;
        color: #000 !important;
        padding: 4pt !important;
    }

    .answer-option::before {
        content: "";
        display: inline-block;
        width: 9pt;
        height: 9pt;
        border: 1pt solid #000;
        margin-right: 5pt;
    }

    .result-card {
        border: 1pt solid #666 !important;
    }

    .asks-table th {
        background: #ddd !important;
        color: #000 !important;
    }

    a[href]::after {
        content: "";
    }

    .guide-meta-free {
        display: none;
    }
}
