/* C29.5 · shared project-document CI */
.paper{--doc-accent:#F5A999;--doc-accent-2:#97BAE2;--doc-ink:#17253F;--doc-muted:#627086;--doc-line:#d7dee6;--doc-soft:#f7f9fb}
.c292-project-print-stage>.paper,.paginated-print-paper,.material-print-page,.c293-project-overview-page,.c292-native-worksheet-page{font-family:Montserrat,Arial,sans-serif;color:var(--doc-ink)}

/* Header language: same geometry everywhere, format identity only through restrained accents. */
.c295-print-header .print-paper-title{position:relative;border-bottom-color:var(--doc-line)}
.c295-print-header .print-paper-title::after{content:"";position:absolute;left:0;bottom:-1px;width:42px;height:3px;border-radius:999px;background:var(--doc-accent)}
.c295-print-header .print-title-row{color:var(--doc-ink)}
.c295-print-header .print-title-row>span{color:var(--doc-accent);font-weight:600}
.c295-print-header .print-meta-row{color:var(--doc-muted)}
.c295-print-header .print-meta-divider{color:#a2adba}
.c295-print-brand-wrap{min-width:0}
.c295-wed-brand{display:grid;justify-items:end;gap:3px;text-align:right;color:var(--doc-ink);line-height:1}
.c295-wed-brand strong{font-size:11px;letter-spacing:.11em;font-weight:600}
.c295-wed-brand span{font-size:6.5px;letter-spacing:.10em;color:var(--doc-muted)}
.c295-ferment-logo{display:block;max-width:31mm;max-height:19mm;object-fit:contain}
.c295-cobrand{display:flex;align-items:center;justify-content:flex-end;gap:8px;color:var(--doc-muted);font-size:10px}
.c295-cobrand .c295-ferment-logo,.c295-cobrand .print-paper-logo{max-width:22mm;max-height:16mm}

/* Footer: one visual hierarchy across overview, schedule, materials, questions, worksheets. */
.c295-document-footer{color:var(--doc-muted)!important;font-family:Montserrat,Arial,sans-serif}
.c295-document-footer>span:last-child{color:var(--doc-accent);font-weight:600}

/* Shared page intro / headline system. */
.print-document-intro,.material-list-head,.c292-native-head{position:relative;padding-left:14px}
.print-document-intro::before,.material-list-head::before,.c292-native-head::before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:4px;border-radius:999px;background:var(--doc-accent)}
.print-document-intro h2,.material-list-head h2,.c292-native-head h2{color:var(--doc-ink);font-weight:500!important;letter-spacing:-.015em}
.print-document-intro p,.material-list-head p,.c292-native-head p{color:var(--doc-muted)}
.c295-document-eyebrow{margin:0 0 5px!important;padding:0!important;color:var(--doc-accent)!important;font-size:6.5px!important;font-weight:600!important;letter-spacing:.12em!important;text-transform:uppercase}

/* Project overview now follows the selected document identity instead of a fixed Crew-Up green. */
.c293-project-overview-page{color:var(--doc-ink)}
.c293-overview-hero{border-left-color:var(--doc-accent);background:linear-gradient(135deg,#fafbfc 0%,var(--doc-soft) 100%)}
.c293-kicker,.c293-event-index{color:var(--doc-accent)}
.c293-overview-hero h1,.c293-card-head h2,.c293-briefing-head h2,.c293-overview-field strong{color:var(--doc-ink)}
.c293-card-head>span,.c293-briefing-head>span{background:var(--doc-ink)}
.c293-card,.c293-briefing{border-color:var(--doc-line)}

/* Reusable cards: same line weight/radius; semantic category colours remain intact. */
.question-print-card,.mirror-print-card,.before-print-card,.c292-native-guides section{border-color:var(--doc-line);box-shadow:none}
.question-print-card h3,.mirror-print-head h3,.before-print-card h3,.c292-native-canvases h3,.c292-native-guides h3{color:var(--doc-ink);font-weight:500!important}
.c292-native-meta section{border-bottom-color:var(--doc-line)}
.c292-native-guides section{border-top-color:var(--doc-accent)}
.c292-native-guides section:nth-child(2){border-top-color:var(--doc-accent-2)}
.c292-native-canvases section>div{border-color:var(--doc-line);background:repeating-linear-gradient(0deg,#fff,#fff 27px,var(--doc-soft) 28px)}

/* Material zones keep their semantic colours but use the same typography and neutral chrome. */
.material-print-zone-title{border-bottom-width:3px}
.material-print-zone-title h3,.material-print-row strong{color:var(--doc-ink)}
.material-print-row{border-bottom-color:#edf0f3}

/* Survey editor headings follow the active format identity; PDF-lib export mirrors the same colours. */
.survey-section-heading{color:var(--doc-ink);border-bottom-color:var(--doc-line)}
.survey-section-heading span::before{background:var(--doc-accent)}

@media print{
  .c295-print-header .print-paper-title::after{height:.8mm;width:11mm}
  .print-document-intro,.material-list-head,.c292-native-head{padding-left:3.5mm!important}
  .print-document-intro::before,.material-list-head::before,.c292-native-head::before{width:1mm!important}
  .c295-wed-brand strong{font-size:8pt}.c295-wed-brand span{font-size:5pt}
}

/* The project-PDF renderer captures an off-screen DOM, not print media. Mirror the print-header geometry there explicitly. */
.c292-project-print-stage .c295-print-header{display:grid!important;grid-template-columns:minmax(0,1fr) 113px!important;gap:23px!important;align-items:start!important;margin-bottom:19px!important}
.c292-project-print-stage .c295-print-header .print-paper-title{min-width:0!important;padding-bottom:13px!important;border-bottom:1px solid var(--doc-line)!important}
.c292-project-print-stage .c295-print-header .print-title-row{display:flex!important;align-items:baseline!important;gap:16px!important;min-width:0!important;font-variant-numeric:tabular-nums}
.c292-project-print-stage .c295-print-header .print-title-row>span,.c292-project-print-stage .c295-print-header .print-title-row>strong{font-size:24px!important;line-height:1.1!important;letter-spacing:-.025em!important}
.c292-project-print-stage .c295-print-header .print-title-row>span{flex:0 0 auto!important}
.c292-project-print-stage .c295-print-header .print-title-row>strong{min-width:0!important;font-weight:500!important}
.c292-project-print-stage .c295-print-header .print-meta-row{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;margin-top:9px!important;font-size:10px!important;font-weight:500!important;line-height:1.2!important;white-space:nowrap!important}
.c292-project-print-stage .c295-print-header .print-paper-logo-wrap{height:72px!important;display:flex!important;justify-content:flex-end!important;align-items:flex-start!important}
.c292-project-print-stage .c295-print-header .print-paper-logo{max-width:110px!important;max-height:72px!important;object-fit:contain!important}
.c292-project-print-stage .c295-print-header .c295-ferment-logo{max-width:117px!important;max-height:72px!important}
