/* Additive photo layer only: no typography or layout-system replacement. */
@media screen {
.sample-body-theme .medical-target-grid,
.sample-body-theme .family-wish-grid,
.sample-body-theme .coverage-purpose-note,
.sample-body-theme .education-children-empty { background:var(--sample-soft); border-color:var(--sample-line); }
.sample-body-theme .guided-range { border-color:var(--sample-line); }
.sample-body-theme .guided-range-exact input { border-color:var(--sample-line); }
.sample-body-theme .form-error-summary { border-left-color:#D31145; }
.sample-body-theme .field-invalid { border-color:#D31145!important; }
.sample-body-theme .guided-range-heading b { color:#D31145; }
.sample-body-theme { --aia-red:var(--sample-accent); --aia-red-dark:var(--sample-accent); --wine:var(--sample-accent); --rose-pale:var(--sample-soft); --cream:white; --line:var(--sample-line); }
.sample-body-theme .field-grid input,
.sample-body-theme .field-grid select,
.sample-body-theme .income-member-card,
.sample-body-theme .education-stage-row { background:white; border-color:var(--sample-line); }
.sample-body-theme .education-age-note,
.sample-body-theme .education-plan-scope,
.sample-body-theme .education-cny-reference,
.sample-body-theme .carried-data > div,
.sample-body-theme .amount-input i { background:var(--sample-soft); border-color:var(--sample-line); }
.sample-body-theme .education-age-note strong,
.sample-body-theme .education-cny-reference,
.sample-body-theme .formula-row > span,
.sample-body-theme .education-child-buttons button,
.sample-body-theme .draft-button { color:var(--sample-accent); }
.sample-body-theme .education-child-buttons button,
.sample-body-theme .draft-button { border-color:var(--sample-line); }
.sample-body-theme .education-child-buttons .add-child-button,
.sample-body-theme .save-module,
.sample-body-theme .save-module:hover { color:white; background:var(--sample-accent); border-color:var(--sample-accent); }
.sample-body-theme .field-grid b,
.sample-body-theme .field-grid > label:not(.guided-range):has(input:required) > span:first-child:not(:has(b))::after,
.sample-body-theme .field-grid > label:not(.guided-range):has(select:required) > span:first-child:not(:has(b))::after { color:#D31145; }
.sample-themed-rail .module-progress > button.active,
.sample-themed-rail .module-progress > button.active strong,
.sample-themed-rail .module-progress > button.active small,
.sample-themed-rail .module-progress > button.active em { color:var(--sample-accent)!important; }
.sample-themed-rail .module-progress > button.active .rail-icon { background:var(--sample-accent)!important; color:white!important; }
.sample-themed-rail { border-right-color:var(--sample-accent)!important; }
.sample-themed-rail .module-progress > button.active { border-left-color:var(--sample-accent)!important; }
.sample-themed-rail .report-rail-button,
.sample-themed-rail .report-rail-button strong,
.sample-themed-rail .report-rail-button small { color:var(--sample-accent)!important; }
.sample-body-theme .question-heading h2,
.sample-body-theme .income-member-card legend strong,
.sample-body-theme .logic-banner strong,
.sample-body-theme .calculation-title strong { color:var(--sample-accent); }
.sample-body-theme .question-heading > span,
.sample-body-theme .income-member-card legend > span { background:var(--sample-accent); color:white; }
.sample-body-theme .question-card,
.sample-body-theme .income-member-card { border-color:var(--sample-line); }
.sample-body-theme .question-heading { border-bottom-color:var(--sample-line); }
.sample-body-theme .logic-banner,
.sample-body-theme .calculation-preview,
.sample-body-theme .carried-data,
.sample-body-theme .education-child-controls { background:var(--sample-soft); border-color:var(--sample-line); }
.sample-body-theme .logic-banner > span,
.sample-body-theme .calculation-title > span:first-child { color:var(--sample-accent); }
.sample-body-theme .formula-row { border-color:var(--sample-line); }
.sample-body-theme .formula-row.accent { background:var(--sample-soft); color:var(--sample-accent); }
.sample-body-theme input:not([type="range"]):focus,
.sample-body-theme select:focus,
.sample-body-theme textarea:focus { border-color:var(--sample-accent)!important; outline:2px solid var(--sample-line); outline-offset:1px; box-shadow:none; }
.module-card .sample-goal-photo { width:100%; height:104px; object-fit:cover; object-position:center top; flex:none; border-radius:3px; }
.scope-block .module-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.scope-block .module-card { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:10px; padding:10px; }
.scope-block .module-card strong { min-height:36px; display:flex; align-items:center; }
@media(max-width:1100px){.module-card .sample-goal-photo{height:90px}}
@media(max-width:740px){.scope-block .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.sample-banner-photo { width:220px; height:140px; object-fit:cover; object-position:center top; flex:none; border-radius:3px; }
.assessment-topline.sample-photo-banner { border-left:4px solid var(--sample-accent); padding-left:18px; align-items:center; }
.assessment-topline.sample-photo-banner > div:first-child { flex:1; min-width:0; }
.module-progress button.active { border-left-color:var(--sample-accent,var(--aia-red))!important; }
.sample-switch { position:fixed; bottom:12px; right:18px; z-index:100; display:flex; gap:6px; padding:7px; background:white; border:1px solid #d8c7cd; box-shadow:0 2px 12px #30394116; }
.sample-switch button { background:white; color:#8f1236; border:1px solid #d8c7cd; padding:7px 10px; cursor:pointer; }
.sample-switch small { align-self:center; color:#75656b; margin-right:6px; }
@media(max-width:1100px){.sample-banner-photo{width:175px;height:132px}.sample-photo-banner .section-time{display:none}}
@media(max-width:740px){.sample-banner-photo{width:100%;height:150px;margin-top:14px}.sample-switch small{display:none}}
}
@media print { .sample-banner-photo, .sample-goal-photo { display:none!important; } }
