.fg-head{margin:24px 0}.fg-head h1{font-size:var(--course-module-title-size);line-height:1.3;margin:8px 0}.fg-menu{background:white;border:1px solid #dce3e0;border-radius:14px;padding:16px;margin-bottom:24px}.fg-menu summary{cursor:pointer;font-size:14px;color:#24564b}.fg-menu summary span{float:right;font-size:11px}.fg-menu nav{display:grid;gap:4px;margin-top:12px}.fg-menu nav a{padding:9px;border-radius:6px;font-size:14px}.fg-menu [aria-current]{background:#e2eff3}.fg-copy{font-size:14.5px;line-height:1.7}.fg-copy h2,.fg-overview h2{font-size:19px;line-height:1.4;margin:12px 0 22px}.fg-copy p{font-size:14.5px;line-height:1.7;margin:0 0 18px}.fg-meta{display:flex;justify-content:space-between;color:#73807b;font-size:11px}.fg-card,.fg-response{background:#fff;border:1px solid #dce3e0;border-radius:16px;padding:22px;margin:22px 0}.fg-card h3{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.5;margin:0 0 14px}.fg-card p:last-child{margin-bottom:0}.fg-copy svg,.fg-overview svg{width:21px;height:21px;flex:0 0 21px;stroke:#24564b;stroke-width:1.7;fill:none}.fg-overview,.fg-scenario{background:#e2eff4;border:1px solid #cddfe5;border-radius:16px;padding:22px;margin:22px 0}.fg-overview ul{list-style:none;padding:0;display:grid;gap:16px}.fg-overview li{display:flex;gap:12px;align-items:flex-start;font-size:14.5px}.fg-scenario h3{font-size:15px;line-height:1.5}.fg-reminder{background:#e9eeec;color:#1b2420;border:1px solid #d5dfdb;border-radius:16px;padding:22px;margin:22px 0;font-size:14.5px;line-height:1.7}.fg-quote{font-weight:500}.fg-controls{display:flex;gap:12px;justify-content:space-between;margin:28px 0 8px}.fg-controls .btn{flex:1;font-size:14px}.fg-response>label{display:flex;gap:12px;font-size:15px;line-height:1.6;margin:12px 0 18px}.fg-response textarea,.fg-response input{width:100%;background:white!important;border:1px solid #4e9b88;border-radius:12px;padding:14px;font:inherit;box-sizing:border-box;color:inherit}.fg-response textarea{resize:vertical;min-height:120px}.fg-save{display:flex;align-items:center;gap:6px;color:#4c9582;margin-top:10px;font-size:9px!important}.fg-save svg{width:13px;height:13px;flex-basis:13px}.fg-response .eyebrow{font-size:9px}.fg-check{display:flex;gap:12px;align-items:flex-start;margin:15px 0;font-size:14.5px}.fg-check input{width:20px;height:20px;flex:0 0 20px;accent-color:#24564b;margin-top:3px}.fg-entry{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.fg-entry label{flex:1;font-size:11px}.fg-entry select{display:block;padding:10px;width:100%;font:inherit;background:white;border:1px solid #cddbd6;border-radius:8px}.fg-print{gap:10px;margin-top:18px;font-size:14px}.fg-copy :focus-visible,.fg-menu :focus-visible{outline:2px solid #24564b;outline-offset:3px}
.fg-library .page-head h1{font-size:22px}.fg-library .tile h3{font-size:17px;line-height:1.45}.fg-library .lede{font-size:14.5px;line-height:1.7}.fg-library .icon svg{width:24px;height:24px}.fg-library .grid{align-items:stretch}.fg-library .tile{display:flex;flex-direction:column}.fg-library .tile .action{margin-top:auto;padding-top:18px}.fg-library .tile .icon{margin-bottom:14px}

/* One complete statement per card; calm grey reminders and blue key ideas. */
.fg-reminder-blue{background:#e2eff4;border-color:#cddfe5}
.fg-reminder p:last-child{margin-bottom:0}
.fg-head h1:focus,.fg-copy h2[tabindex]:focus{outline:none}

.fg-copy h2.fg-subsection-title{margin-top:36px;padding-top:26px;border-top:1px solid #d5dfdb}

/* Action plans read as guidance, not a checklist of tasks. */
.fg-action-plan{background:#fff;border:1px solid #dce3e0;border-radius:14px;padding:4px 20px;margin:20px 0}
.fg-action-group{padding:20px 0}
.fg-action-group+.fg-action-group{border-top:1px solid #e4e9e7}
.fg-copy .fg-action-group h3{font-size:13px;line-height:1.4;font-weight:500;color:#24564b;margin:0 0 14px}
.fg-action-group ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.fg-action-group li{display:flex;align-items:flex-start;gap:12px;font-size:14.5px;line-height:1.65}
.fg-action-group li svg{width:16px;height:16px;flex:0 0 16px;margin-top:4px;stroke:#599383;stroke-width:1.5;fill:none}
.fg-copy .fg-action-note{font-size:14.5px;color:#52655d;margin:0 0 12px}

/* Match the Parent Development System's script cards and overview badges. */
.fg-reminder-grey{background:#fff;border:0;border-left:4px solid var(--teal);border-radius:0 14px 14px 0;padding:14px 15px;margin:22px 0;color:var(--ink)}
.fg-copy .fg-reminder-grey p{font-size:14.5px;line-height:1.7;margin:0 0 8px;font-weight:400}
.fg-copy .fg-reminder-grey p:last-child{margin-bottom:0}
.fg-overview .lesson-list{gap:10px;margin:15px 0 0}
.fg-overview .lesson-list li{display:grid;grid-template-columns:25px minmax(0,1fr);gap:9px;line-height:1.5}
.fg-overview .lesson-list li a{color:var(--ink);text-decoration:none}

/* Shared step cards: one surface with meaningful icon headings. */
.fg-step-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin:22px 0}
.fg-step{padding:20px 0 0;margin:20px 0 0;border-top:1px solid var(--line)}
.fg-step:first-child{padding-top:0;margin-top:0;border-top:0}
.fg-step h3{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.5;font-weight:500;margin:0 0 12px}
.fg-step h3 svg{width:21px;height:21px;flex:0 0 21px;stroke:var(--teal);stroke-linecap:round;stroke-linejoin:round;margin-top:1px}
.fg-copy .fg-step p:last-child,.fg-step-card>p:last-child{margin-bottom:0}
.fg-step-card>.fg-reminder:last-child{margin-bottom:0}

/* Give takeaways contrast when they sit inside a white content card. */
:is(.fg-step-card,.fg-card,.fg-action-plan) .fg-reminder-grey{background:#f1f3f5}

/* Full-width title bands separate the action plan's time frames. */
.fg-action-plan{padding:0;overflow:hidden}
.fg-action-group{padding:0 20px 20px}
.fg-action-group+.fg-action-group{border-top:0}
.fg-copy .fg-action-group h3{background:#f1f3f5;margin:0 -20px 18px;padding:14px 20px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5;color:var(--green)}
.fg-copy .fg-action-note{padding:0 20px}

/* Keep question numbers and callout labels attached to their content. */
.fg-question-number{display:inline-flex;align-items:center;justify-content:center;min-width:32px;padding:5px 8px;margin-bottom:14px;background:var(--blue);color:var(--green);border-radius:8px;font-size:13px;font-weight:500;line-height:1.4}
.fg-card h3 svg{stroke-linecap:round;stroke-linejoin:round}
.fg-copy .fg-callout-title{font-size:13px;line-height:1.5;font-weight:500;color:var(--green);margin:0 0 14px}
.fg-copy .fg-direction-label{font-size:13px;line-height:1.5;color:var(--green);margin-bottom:12px}

/* Keep each dated check together and give writing areas a quiet grey surface. */
.module-reader-shell .fg-check-group{background:#fff;border:1px solid #dce3e0;border-radius:16px;overflow:hidden;margin:24px 0}
.module-reader-shell .fg-check-group>h3{display:flex;align-items:flex-start;gap:12px;background:#edf0ee;margin:0;padding:18px 22px;font-size:15px;line-height:1.5;color:#24564b}
.module-reader-shell .fg-check-group>h3 span{min-width:0}
.module-reader-shell .fg-response.reflection-card{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:28px 0;min-width:0}
.module-reader-shell .fg-check-group .fg-response.reflection-card{margin:0;padding:20px 22px}
.module-reader-shell .fg-check-group .fg-date-response.reflection-card{padding-bottom:0}
.module-reader-shell .fg-date-response>label{margin:0 0 8px;font-size:13px;color:#365d53}
.module-reader-shell .fg-date-response .fg-save{display:none}
.module-reader-shell .fg-response :is(textarea,input){display:block;min-width:0;max-width:100%;width:100%;box-sizing:border-box;background:#f0f3f1!important;border:1px solid #b7cbc3;border-left:3px solid #4e9b88;border-radius:10px;padding:14px;color:#202824}
.module-reader-shell .fg-response :is(textarea,input):focus{outline:2px solid #4e9b88;outline-offset:2px}
.module-reader-shell .fg-response>label{align-items:flex-start}
.module-reader-shell .fg-response>label>svg{margin-top:2px}
.module-reader-shell .fg-response>label>span{min-width:0}
/* iOS date controls have an intrinsic native width; contain and reset it. */
.module-reader-shell .fg-check-group .fg-date-response{display:grid;grid-template-columns:minmax(0,1fr);box-sizing:border-box;width:100%;max-width:100%}
.module-reader-shell .fg-date-response input[type="date"]{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-inline-size:0;inline-size:100%;height:48px;min-height:48px;margin:0;padding:10px 14px;line-height:26px!important;text-align:left}
.module-reader-shell .fg-date-response input[type="date"]::-webkit-date-and-time-value{min-width:0;min-height:26px;text-align:left}
.module-reader-shell .fg-date-response input[type="date"]::-webkit-datetime-edit{display:block;padding:0;min-width:0}
/* Reading flows on the page, as in the Parent Development System. */
.module-reader-shell .fg-copy .fg-card,
.module-reader-shell .fg-copy .fg-step-card,
.module-reader-shell .fg-copy .fg-scenario{background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;margin:28px 0}
.module-reader-shell .fg-copy .fg-card+.fg-card{border-top:1px solid var(--line);padding-top:24px}
.module-reader-shell .fg-copy .fg-step{padding-top:24px;margin-top:24px}
.module-reader-shell .fg-copy .fg-step:first-child{padding-top:0;margin-top:0}
.module-reader-shell .fg-copy :is(.fg-card,.fg-step)>h3{gap:12px;margin:0 0 14px;line-height:1.5}
.module-reader-shell .fg-copy :is(.fg-card,.fg-step)>h3 span{min-width:0}
.module-reader-shell .fg-copy :is(.fg-card,.fg-step)>h3 svg{margin-top:1px}
/* Retain emphasis only for scripts, takeaways, overview and practical tools. */
.module-reader-shell .fg-copy :is(.fg-card,.fg-step-card) .fg-reminder-grey{background:#fff}
/* Compact title cards; explanations stay on the open reading surface. */
.module-reader-shell .fg-copy :is(.fg-card,.fg-step,.fg-scenario)>h3{display:flex;align-items:flex-start;gap:12px;box-sizing:border-box;width:100%;background:#e9eeec;border:1px solid #d8e1dd;border-radius:12px;padding:14px 16px;margin:0 0 18px;color:var(--green);line-height:1.5}
.module-reader-shell .fg-copy .fg-card+.fg-card{border-top:0;padding-top:0}
.module-reader-shell .fg-copy .fg-step{border-top:0;padding-top:0;margin-top:28px}
.module-reader-shell .fg-copy .fg-scenario>h3{margin-top:28px}

.fg-finish-controls{flex-wrap:wrap}.fg-finish-controls>a[data-section]{flex:0 0 100%;box-sizing:border-box}

/* One central statement per guide, matching the PDS black anchors. */
.module-reader-shell .fg-copy .fg-anchor{background:#111;color:#fff;border:0;border-radius:16px;padding:22px;margin:22px 0;text-align:left}
.module-reader-shell .fg-copy .fg-anchor-label{display:block;color:#fff;font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;margin:0 0 14px}
.module-reader-shell .fg-copy .fg-anchor p{color:#fff;font-size:var(--course-copy-size);line-height:1.6;font-weight:500;margin:0;text-align:left}

/* Colour follows purpose: blue teaching headings, neutral practical steps. */
.module-reader-shell .fg-copy :is(.fg-card,.fg-scenario)>h3{background:#e2eff4;border-color:#cddfe5;color:#202824}
.module-reader-shell .fg-copy .fg-step>h3{background:#eceeef;border-color:#dce0e2;color:#202824}
.module-reader-shell .fg-check-group>h3{background:#e2eff4;color:#202824}
