/* New five forms only: original templates and styles remain unchanged. */
.practical-heading{display:flex;align-items:center;gap:28px;margin:20px 0 32px;padding:28px;border:1px solid var(--line);border-radius:24px;background:#f5f7f1}.practical-heading>div{flex:1}.practical-heading h1{font-size:34px;margin:7px 0 12px;line-height:1.3}.practical-heading p{color:var(--muted)}.practical-heading svg{width:220px;max-width:38%}.practical-heading small{color:var(--green);font-size:12px;letter-spacing:1px}.practical-paper{color:var(--sheet-ink);font-size:11px;line-height:1.5}.practical-paper *{box-sizing:border-box}.practical-paper h2,.practical-paper h3,.practical-paper p{margin:0}.practical-paper strong,.practical-paper b,.practical-paper [data-user-text]{overflow-wrap:anywhere}.px-spec{font-size:9px;margin:0 0 3mm!important}.px-labels{display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);gap:4mm;width:182mm;height:210mm}.px-labels section{border:1px dashed var(--sheet-ink);border-radius:3mm;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:3mm;min-width:0;gap:2mm}.px-labels.solid section{border-style:solid}.px-labels strong{font-size:17px;line-height:1.3}.px-labels small{font-size:9px}.px-timetable{display:grid;grid-template-columns:13mm repeat(var(--days),minmax(0,1fr));border-top:1px solid var(--sheet-line);border-left:1px solid var(--sheet-line)}.px-timetable>*{border-right:1px solid var(--sheet-line);border-bottom:1px solid var(--sheet-line);min-width:0;padding:2mm}.px-timetable>b{background:var(--sheet-pale);text-align:center}.px-timetable aside{display:grid;place-items:center;font-weight:700}.px-timetable section{min-height:12.6mm;display:flex;flex-direction:column;justify-content:center}.px-timetable strong{font-size:12px;line-height:1.3}.px-timetable small{font-size:9px;line-height:1.4}.px-people{display:grid;grid-template-columns:repeat(var(--people),minmax(0,1fr));gap:4mm;align-items:start}.px-owner{min-width:0;border:1px solid var(--sheet-line);border-radius:3mm;padding:3mm;background:var(--sheet-pale)}.px-owner header{border-bottom:2px solid var(--sheet-accent);padding-bottom:2mm;margin-bottom:3mm}.px-owner h2{font-size:16px}.px-owner header span{font-size:9px}.px-owner article{background:white;border:1px solid var(--sheet-line);padding:2mm;margin-bottom:2mm;border-radius:2mm}.px-owner h3{font-size:12px;margin-bottom:1.5mm}.px-owner article div{display:flex;gap:1mm 3mm;flex-wrap:wrap;font-size:10px}.px-owner .px-done{font-size:10px;margin-top:3mm}.px-saving-goal{display:grid;grid-template-columns:1fr auto;gap:1mm 5mm;padding:4mm;background:var(--sheet-pale);border:1px solid var(--sheet-line);border-radius:3mm;margin-bottom:4mm}.px-saving-goal strong{font-size:24px;grid-row:1/3;grid-column:2}.px-saving-goal b{font-size:12px}.px-saving{display:grid;grid-template-columns:repeat(5,1fr);gap:2mm;margin-bottom:3mm}.px-saving section{border:1px solid var(--sheet-ink);border-radius:8mm;min-height:13mm;display:flex;align-items:center;justify-content:center;flex-direction:column;line-height:1.25;padding:1mm}.px-saving small{font-size:8px}.px-saving b{font-size:12px}.px-saving.hundred{grid-template-columns:repeat(10,1fr);gap:1.5mm}.px-saving.hundred section{min-height:12mm}.px-saving.hundred b{font-size:8px}.px-saving.hundred small{font-size:7px}.px-progress{border-top:1px solid var(--sheet-line);padding-top:3mm;font-size:11px}.px-expense-meta{display:flex;justify-content:space-between;gap:5mm;padding:3mm 0 4mm;font-size:12px}.px-expenses{width:100%;border-collapse:collapse;table-layout:fixed;font-size:10px}.px-expenses th,.px-expenses td{border-bottom:1px solid var(--sheet-line);padding:2mm 1.5mm;text-align:left;overflow-wrap:anywhere}.px-expenses th{background:var(--sheet-pale)}.px-expenses th:first-child{width:25%}.px-expenses th:nth-child(3){width:23%}.px-expenses th:last-child{width:10%}.px-expenses td:nth-child(3){text-align:right}.px-total{display:flex;justify-content:space-between;align-items:center;padding:3mm;background:var(--sheet-pale);margin:3mm 0 5mm}.px-total strong{font-size:20px}.px-receipts{display:grid;grid-template-columns:1fr 1fr;gap:4mm}.px-receipts section{height:68mm;border:1px dashed var(--sheet-ink);padding:3mm;display:flex;flex-direction:column;justify-content:space-between}.px-receipts.count-4 section{height:43mm}.px-receipts b{font-size:10px}.px-receipts p{font-size:9px;color:var(--sheet-ink)}
@media(max-width:600px){.practical-heading{padding:20px;display:block}.practical-heading h1{font-size:29px}.practical-heading svg{max-width:100%;width:170px;display:block;margin:12px auto 0}}

.px-timetable.dense section{height:13mm;min-height:0;padding:0.6mm}.px-timetable.dense strong{font-size:9px;line-height:1.2}.px-timetable.dense small{font-size:7px;line-height:1.2}.px-owner.dense article{padding:1mm;margin-bottom:1mm}.px-owner.dense h3{font-size:9px;margin-bottom:1mm}.px-owner.dense article div{font-size:8px;gap:1mm}.px-owner.dense header{margin-bottom:2mm}
.px-labels{grid-template-rows:repeat(var(--rows),minmax(0,1fr))}.px-labels section{padding:2mm;gap:1mm}.px-labels strong{font-size:14px;line-height:1.2}.px-labels small{font-size:8px;line-height:1.3}
.sheet[data-sheet=timetable] .paper-head h1,.sheet[data-sheet=chores] .paper-head h1{max-width:250mm!important;font-size:24px}
.px-timetable.dense section{height:12mm}

.px-labels.large strong{font-size:22px}.px-labels.large small{font-size:11px}.px-timetable:not(.dense) section{min-height:18mm}.px-timetable.dense section{height:calc(120mm / var(--periods))}.px-saving.twenty section{min-height:26mm}.px-saving.twenty b{font-size:16px}.px-owner{min-height:112mm;display:flex;flex-direction:column}.px-owner .px-done{margin-top:auto;padding-top:3mm}
