/* Fix Planner v1.0: layout only. Colours come from base.css and portfolio.css. */
.fp-setup{display:flex;flex-wrap:wrap;gap:14px 22px;align-items:flex-end;margin:0 0 18px}
.fp-setup label{display:block;font-size:.82rem;color:var(--text-2);margin:0 0 6px}
.fp-setup .pf-in{width:200px}
.fp-setup select.pf-in{width:auto}
.fp-table{min-width:980px}
.fp-table td .pf-in{width:100%;min-height:36px;font-size:.86rem}
.fp-table td input[type=text].pf-in{min-width:230px}
.fp-table td .fp-num{width:130px;text-align:right}
.fp-table td .fp-pct{width:84px;text-align:right}
.fp-table td select.pf-in{min-width:150px;max-width:230px}
.fp-table td small{margin-top:5px}
.fp-grade{display:inline-block;font-size:.72rem;font-weight:600;line-height:1.5;padding:0 8px;border-radius:999px;border:1px solid var(--pf-line);color:var(--text);white-space:nowrap}
.fp-grade.is-strong{border-color:var(--ok)}
.fp-grade.is-partial{border-color:var(--amber)}
.fp-grade.is-weak,.fp-grade.is-none{border-style:dashed;border-color:var(--red-text)}
.fp-res tr.is-on td{background:var(--gold-soft)}
.fp-res tr.is-on td.fp-dec{font-weight:600;color:var(--text)}
.fp-res td.fp-dec{min-width:220px;white-space:normal}
.fp-rule{border-left:3px solid var(--gold);padding:10px 14px;margin:18px 0 0;background:var(--panel);color:var(--text-2);font-size:.9rem;max-width:80ch;border-radius:0 var(--radius) var(--radius) 0}
.fp-check{color:var(--text-2);font-size:.86rem;margin:12px 0 0;max-width:80ch}
.fp-gl{text-decoration:underline dotted;text-underline-offset:3px}
.fp-chart{max-width:760px;border:1px solid var(--pf-line);border-radius:var(--radius-lg);padding:10px;background:var(--panel)}
.fp-chart svg{display:block;width:100%;height:auto}
.fp-grid{stroke:var(--pf-line);stroke-width:1}
.fp-axis{stroke:var(--text-3);stroke-width:1}
.fp-even{stroke:var(--text-2);stroke-width:1.5;stroke-dasharray:6 5}
.fp-tick{fill:var(--text-2);font:400 11px var(--f-body)}
.fp-lab{fill:var(--text-2);font:500 12px var(--f-body)}
.fp-pt text{font:600 11px var(--f-body);pointer-events:none}
.fp-pt.is-on circle{fill:var(--btn-bg);stroke:var(--text);stroke-width:1.5}
.fp-pt.is-on text{fill:#0B0B0A}
.fp-pt.is-off circle{fill:var(--panel);stroke:var(--text-2);stroke-width:1.5;stroke-dasharray:3 2}
.fp-pt.is-off text{fill:var(--text)}
.fp-pt:focus{outline:none}
.fp-pt:focus-visible circle,.fp-pt:hover circle{stroke:var(--gold-hi);stroke-width:3;stroke-dasharray:none}
.fp-key{list-style:none;display:flex;flex-wrap:wrap;gap:6px 20px;margin:0 0 10px;padding:0;font-size:.84rem;color:var(--text-2)}
.fp-key i{display:inline-block;width:14px;height:14px;border-radius:50%;vertical-align:-2px;margin-right:6px;box-sizing:border-box}
.fp-key .k-on{background:var(--btn-bg);border:1.5px solid var(--text)}
.fp-key .k-off{background:var(--panel);border:1.5px dashed var(--text-2)}
.fp-key .k-line{width:22px;height:0;border-radius:0;border-top:2px dashed var(--text-2);vertical-align:4px}
.fp-fold{margin:28px 0 0;border-top:1px solid var(--pf-line);padding-top:14px}
.fp-fold summary{cursor:pointer;font-weight:600;color:var(--text)}
.fp-fold summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.fp-fold p,.fp-fold li{color:var(--text-2);font-size:.92rem;max-width:76ch}
@media (max-width:640px){.fp-setup .pf-in{width:100%}.fp-setup>div{flex:1 1 100%}}
@media print{.fp-in,.pf-noprint,.g-trail,.g-next{display:none !important}.fp-chart{border:0}.fp-res tr.is-on td{background:transparent;font-weight:600}}
