.diagram.svelte-hv15d5{width:100%}.diagram.svelte-hv15d5 svg{max-width:100%;height:auto;display:block}.diagram.fit.svelte-hv15d5 svg{width:100%;max-width:none;height:auto;max-height:var(--fit-max,none)}.diagram.sized.svelte-hv15d5 svg{width:var(--drawn-width);max-width:none}.diagram.svelte-hv15d5 [data-box]{cursor:pointer}.diagram.svelte-hv15d5 [data-box] rect{transition:stroke .12s,fill .12s}.diagram.svelte-hv15d5 [data-box]:hover rect{stroke:var(--accent,#1d4ed8);stroke-width:2px}.diagram.svelte-hv15d5 [data-box]:focus{outline:none}.diagram.svelte-hv15d5 [data-box]:focus-visible rect,.diagram.svelte-hv15d5 [data-box].is-selected rect{stroke:var(--accent,#1d4ed8);stroke-width:2.5px}.diagram.svelte-hv15d5 [data-box].is-selected rect{fill:var(--box-selected,#eff6ff)}.num-field.svelte-11sdb28{justify-content:space-between;align-items:center;gap:.75rem;padding:.3rem 0;display:flex}.num-field.svelte-11sdb28 span:where(.svelte-11sdb28){flex:1;font-size:.85rem}.num-field.svelte-11sdb28 input:where(.svelte-11sdb28){border:1px solid var(--border,#cbd5e1);width:6rem;font:inherit;background:var(--input-bg,#fff);color:inherit;border-radius:6px;flex:none;padding:.35rem .5rem}@media (width<=700px){.num-field.svelte-11sdb28 input:where(.svelte-11sdb28){min-height:44px;font-size:16px}}@media (width<=420px){.num-field.svelte-11sdb28 input:where(.svelte-11sdb28){width:4.5rem}}.num-field.warning.svelte-11sdb28 input:where(.svelte-11sdb28){border-color:var(--warn,#d97706);outline:1px solid var(--warn,#d97706)}.note.svelte-11sdb28{border-left:3px solid var(--warn,#b45309);background:var(--warn-bg,#fef3c7);color:var(--warn-text,#52320a);border-radius:0 6px 6px 0;margin:.1rem 0 .35rem;padding:.4rem .6rem;font-size:.8rem;line-height:1.45}.count-list.svelte-1gl0ajn{flex-direction:column;gap:.35rem;padding:.3rem 0;display:flex}.row.svelte-1gl0ajn{gap:.4rem;display:flex}input.svelte-1gl0ajn{border:1px solid var(--border,#cbd5e1);font:inherit;background:var(--input-bg,#fff);color:inherit;border-radius:6px;padding:.35rem .5rem;font-size:.85rem}.label.svelte-1gl0ajn{flex:1;min-width:0}.num.svelte-1gl0ajn{flex:none;width:5rem}@media (width<=700px){input.svelte-1gl0ajn{min-height:44px;font-size:16px}.remove.svelte-1gl0ajn,.add.svelte-1gl0ajn{min-height:44px}.remove.svelte-1gl0ajn{min-width:44px}}@media (width<=420px){.num.svelte-1gl0ajn{width:4rem}}.remove.svelte-1gl0ajn{cursor:pointer;color:var(--muted,#64748b);background:0 0;border:none;padding:0 .3rem;font-size:1.1rem}.remove.svelte-1gl0ajn:hover{color:var(--warn,#d97706)}.add.svelte-1gl0ajn{border:1px dashed var(--border,#cbd5e1);font:inherit;cursor:pointer;color:var(--muted,#64748b);background:0 0;border-radius:6px;align-self:flex-start;padding:.3rem .6rem;font-size:.8rem}.add.svelte-1gl0ajn:hover{color:inherit;border-color:var(--muted,#64748b)}.export-bar.svelte-16dq5zn{border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);border-radius:10px;flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;padding:.5rem .85rem;display:flex}.group.svelte-16dq5zn{flex-wrap:wrap;align-items:center;gap:.35rem;display:flex}.group-label.svelte-16dq5zn{text-transform:uppercase;letter-spacing:.04em;color:var(--muted,#64748b);margin-right:.15rem;font-size:.75rem}button.svelte-16dq5zn{border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);color:inherit;font:inherit;cursor:pointer;border-radius:7px;padding:.35rem .7rem;font-size:.82rem}button.svelte-16dq5zn:hover:not(:disabled){border-color:var(--accent,#2563eb);color:var(--accent,#2563eb)}button.svelte-16dq5zn:disabled{opacity:.5;cursor:progress}.status.svelte-16dq5zn{color:var(--muted,#64748b);margin:0;font-size:.8rem}.status.svelte-16dq5zn:not(:empty){flex-basis:100%}@media (width<=700px){.export-bar.svelte-16dq5zn{flex-direction:column;align-items:stretch}.group.svelte-16dq5zn{grid-template-columns:1fr 1fr;gap:.45rem;display:grid}.group-label.svelte-16dq5zn{grid-column:1/-1;margin:.2rem 0 0}button.svelte-16dq5zn{width:100%;min-height:46px}}.panel.svelte-yneocg{background:var(--surface,#fff);border:1px solid var(--border,#cbd5e1);border-radius:12px;width:min(21rem,100vw - 2rem);padding:.85rem 1rem .9rem;box-shadow:0 12px 32px #0f172a2e}header.svelte-yneocg{justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.5rem;display:flex}h2.svelte-yneocg{margin:0;font-size:.9rem}header.svelte-yneocg button:where(.svelte-yneocg){cursor:pointer;color:var(--muted,#64748b);background:0 0;border:none;padding:0 .15rem;font-size:1.2rem;line-height:1}header.svelte-yneocg button:where(.svelte-yneocg):hover{color:inherit}.row.svelte-yneocg{justify-content:space-between;align-items:center;gap:.75rem;padding:.3rem 0;font-size:.85rem;display:flex}.row.svelte-yneocg input:where(.svelte-yneocg){border:1px solid var(--border,#cbd5e1);width:6rem;font:inherit;background:var(--input-bg,#fff);color:inherit;border-radius:6px;padding:.35rem .5rem}.row-list.svelte-yneocg{padding:.2rem 0}.list-label.svelte-yneocg{color:var(--muted,#64748b);font-size:.8rem}.note.svelte-yneocg,.hint.svelte-yneocg{color:var(--muted,#64748b);margin:.4rem 0 0;font-size:.78rem}.extras.svelte-yneocg{border-top:1px solid var(--border,#cbd5e1);margin-top:.6rem;padding-top:.5rem}.extras.svelte-yneocg summary:where(.svelte-yneocg){cursor:pointer;color:var(--muted,#64748b);font-size:.8rem}.row.stacked.svelte-yneocg{flex-direction:column;align-items:stretch;gap:.25rem}.row.stacked.svelte-yneocg input:where(.svelte-yneocg){border:1px solid var(--border,#cbd5e1);width:100%;font:inherit;background:var(--input-bg,#fff);color:inherit;border-radius:6px;padding:.35rem .5rem;font-size:.82rem}@media (width<=700px){.row.svelte-yneocg input:where(.svelte-yneocg),.row.stacked.svelte-yneocg input:where(.svelte-yneocg){min-height:44px;font-size:16px}header.svelte-yneocg button:where(.svelte-yneocg){min-width:44px;min-height:44px;font-size:1.4rem}.extras.svelte-yneocg summary:where(.svelte-yneocg){padding:.7rem 0}}.dedup.svelte-1t8l83g{margin-top:.4rem}.toggle.svelte-1t8l83g{border:1px dashed var(--border,#cbd5e1);font:inherit;cursor:pointer;color:var(--muted,#64748b);background:0 0;border-radius:6px;padding:.3rem .6rem;font-size:.8rem}.toggle.svelte-1t8l83g:hover{color:inherit;border-color:var(--muted,#64748b)}@media (width<=700px){.toggle.svelte-1t8l83g,.apply.svelte-1t8l83g{min-height:44px}.row.svelte-1t8l83g input:where(.svelte-1t8l83g){min-height:44px;font-size:16px}}.body.svelte-1t8l83g{border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);border-radius:8px;margin-top:.5rem;padding:.65rem .8rem}.intro.svelte-1t8l83g,.answer.svelte-1t8l83g,.problem.svelte-1t8l83g{margin:0 0 .5rem;font-size:.82rem;line-height:1.55}.problem.svelte-1t8l83g{color:var(--warn,#b45309)}.row.svelte-1t8l83g{justify-content:space-between;align-items:center;gap:.6rem;margin-bottom:.5rem;font-size:.82rem;display:flex}.row.svelte-1t8l83g input:where(.svelte-1t8l83g){border:1px solid var(--border,#cbd5e1);width:6rem;font:inherit;background:var(--input-bg,#fff);color:inherit;border-radius:6px;flex:none;padding:.35rem .5rem}.apply.svelte-1t8l83g{border:1px solid var(--accent,#1d4ed8);background:var(--accent,#1d4ed8);color:var(--accent-contrast,#fff);font:inherit;cursor:pointer;border-radius:6px;padding:.3rem .7rem;font-size:.8rem}.app.svelte-1eoldlj{flex-direction:column;gap:1.25rem;display:flex}.app.svelte-1eoldlj>:where(.svelte-1eoldlj){min-width:0}@media (width>=1100px){.app.svelte-1eoldlj{grid-template-columns:minmax(360px,460px) 1fr;grid-template-areas:"form preview""form exports""form mark";align-items:start;column-gap:2rem;display:grid}.form.svelte-1eoldlj{grid-area:form}.preview.svelte-1eoldlj{grid-area:preview}.exports.svelte-1eoldlj{grid-area:exports}.mark-note.svelte-1eoldlj{grid-area:mark}}.form.svelte-1eoldlj{flex-direction:column;gap:1rem;min-width:0;display:flex}.fieldsets.svelte-1eoldlj{column-gap:1rem}.fieldsets.svelte-1eoldlj fieldset:where(.svelte-1eoldlj){break-inside:avoid;margin:0 0 1rem}@media (width>=700px){.fieldsets.svelte-1eoldlj{columns:2}}@media (width>=1100px){.fieldsets.svelte-1eoldlj{columns:1}}.toolbar.svelte-1eoldlj{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.toolbar.svelte-1eoldlj button:where(.svelte-1eoldlj){border:1px solid var(--accent,#1d4ed8);background:var(--accent,#1d4ed8);color:var(--accent-contrast,#fff);font:inherit;cursor:pointer;border-radius:8px;padding:.45rem .9rem;font-size:.85rem}.toolbar.svelte-1eoldlj button.ghost:where(.svelte-1eoldlj){color:var(--accent,#2563eb);background:0 0}@media (width<=700px){.toolbar.svelte-1eoldlj button:where(.svelte-1eoldlj){min-height:44px;padding:.45rem 1rem}.inline.svelte-1eoldlj select:where(.svelte-1eoldlj){min-height:44px;font-size:16px}.checkbox.svelte-1eoldlj input:where(.svelte-1eoldlj){flex:none;width:20px;height:20px}}fieldset.svelte-1eoldlj{border:1px solid var(--border,#cbd5e1);border-radius:10px;min-width:0;padding:.75rem 1rem 1rem}legend.svelte-1eoldlj{padding:0 .4rem;font-size:.85rem;font-weight:600}.inline.svelte-1eoldlj{align-items:center;gap:.6rem;padding:.3rem 0;font-size:.85rem;display:flex}.inline.svelte-1eoldlj select:where(.svelte-1eoldlj){font:inherit;border:1px solid var(--border,#cbd5e1);background:var(--input-bg,#fff);color:inherit;border-radius:6px;padding:.3rem .4rem}.checkbox.svelte-1eoldlj{align-items:flex-start}.checkbox.svelte-1eoldlj input:where(.svelte-1eoldlj){margin-top:.2rem}.hint.svelte-1eoldlj{color:var(--muted,#64748b);margin:.4rem 0 .1rem;font-size:.8rem}.field-note.svelte-1eoldlj{border-left:3px solid var(--warn,#b45309);background:var(--warn-bg,#fef3c7);color:var(--warn-text,#52320a);border-radius:0 6px 6px 0;margin:.1rem 0 .35rem;padding:.4rem .6rem;font-size:.8rem;line-height:1.45}.warnings.svelte-1eoldlj{border:1px solid var(--warn,#b45309);background:var(--warn-bg,#fef3c7);color:var(--warn-text,#52320a);border-radius:10px;padding:.75rem 1rem;font-size:.85rem}.warnings.svelte-1eoldlj ul:where(.svelte-1eoldlj){margin:.4rem 0 0;padding-left:1.1rem}.warnings.svelte-1eoldlj li:where(.svelte-1eoldlj){margin:.25rem 0}.preview.svelte-1eoldlj{top:var(--header-h,70px);z-index:10;background:var(--page-bg,#f8fafc);flex-direction:column;gap:.6rem;padding:.6rem 0 .75rem;display:flex;position:sticky}.preview-wrap.svelte-1eoldlj{position:relative}.preview-scroll.svelte-1eoldlj{--fit-max:calc(68vh - 2px);border:1px solid var(--border,#cbd5e1);background:#fff;border-radius:10px;justify-content:center;align-items:center;max-height:68vh;display:flex;overflow:auto}@media (width<=700px){.preview-scroll.svelte-1eoldlj{--fit-max:none;max-height:32vh;display:block}}@media (width>=701px) and (width<=1099.98px){.preview-scroll.svelte-1eoldlj{max-height:min(68vh, calc(100vh - var(--header-h,70px) - 14rem));--fit-max:min(calc(68vh - 2px), calc(100vh - var(--header-h,70px) - 14rem - 2px))}}@media (width>=1100px){.preview-scroll.svelte-1eoldlj{max-height:calc(100vh - var(--header-h,70px) - 2rem);--fit-max:calc(100vh - var(--header-h,70px) - 2rem - 2px)}}.preview-bar.svelte-1eoldlj{flex-wrap:wrap;gap:.5rem;display:flex}.preview-bar.svelte-1eoldlj .fold:where(.svelte-1eoldlj){border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);min-height:44px;color:inherit;font:inherit;cursor:pointer;border-radius:8px;padding:.4rem .9rem;font-size:.85rem}.zoom.svelte-1eoldlj{border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);border-radius:8px;flex:11rem;align-items:center;gap:.45rem;min-height:44px;padding:0 .6rem;display:flex}.zoom.svelte-1eoldlj input:where(.svelte-1eoldlj){min-width:0;accent-color:var(--accent,#1d4ed8);flex:1}.zoom-end.svelte-1eoldlj{color:var(--muted,#64748b);white-space:nowrap;font-size:.72rem}.edge.svelte-1eoldlj{z-index:5;pointer-events:none;opacity:0;transition:opacity .15s;position:absolute}.edge.on.svelte-1eoldlj{opacity:1}.edge-top.svelte-1eoldlj,.edge-bottom.svelte-1eoldlj{height:20px;left:1px;right:1px}.edge-left.svelte-1eoldlj,.edge-right.svelte-1eoldlj{width:20px;top:1px;bottom:1px}.edge-top.svelte-1eoldlj{background:linear-gradient(#0f172a2b,#0f172a00);border-radius:9px 9px 0 0;top:1px}.edge-bottom.svelte-1eoldlj{background:linear-gradient(#0f172a00,#0f172a2b);border-radius:0 0 9px 9px;bottom:1px}.edge-left.svelte-1eoldlj{background:linear-gradient(90deg,#0f172a2b,#0f172a00);border-radius:9px 0 0 9px;left:1px}.edge-right.svelte-1eoldlj{background:linear-gradient(270deg,#0f172a2b,#0f172a00);border-radius:0 9px 9px 0;right:1px}.popover.svelte-1eoldlj{z-index:20;max-width:calc(100% - 1rem);position:absolute}.sheet.svelte-1eoldlj{margin-bottom:.25rem}.sheet.svelte-1eoldlj .panel{width:100%}.exports.svelte-1eoldlj>summary:where(.svelte-1eoldlj){display:none}@media (width<=700px){.exports.svelte-1eoldlj>summary:where(.svelte-1eoldlj){border:1px solid var(--border,#cbd5e1);background:var(--surface,#fff);cursor:pointer;border-radius:10px;padding:.85rem;font-size:.85rem;font-weight:600;list-style:none;display:block}.exports.svelte-1eoldlj>summary:where(.svelte-1eoldlj)::-webkit-details-marker{display:none}.exports.svelte-1eoldlj>summary:where(.svelte-1eoldlj):after{content:" ▾";color:var(--muted,#64748b)}.exports[open].svelte-1eoldlj>summary:where(.svelte-1eoldlj){margin-bottom:.5rem}.exports[open].svelte-1eoldlj>summary:where(.svelte-1eoldlj):after{content:" ▴"}}.tip.svelte-1eoldlj{color:var(--muted,#64748b);margin:0;font-size:.8rem}.mark-note.svelte-1eoldlj{color:var(--muted,#64748b);margin:.5rem 0 0;font-size:.82rem;line-height:1.55}.mark-note.clear.svelte-1eoldlj{font-size:.78rem}.mark-note.svelte-1eoldlj a:where(.svelte-1eoldlj),.mark-note.svelte-1eoldlj .link:where(.svelte-1eoldlj){color:var(--accent,#1d4ed8);white-space:nowrap;font-weight:600}.mark-note.svelte-1eoldlj .link:where(.svelte-1eoldlj){font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration:underline}.mark-note.svelte-1eoldlj .link:where(.svelte-1eoldlj):disabled{color:var(--muted,#64748b);cursor:default;text-decoration:none}.shared-note.svelte-1eoldlj{border:1px solid var(--border,#cbd5e1);border-left:3px solid var(--accent,#1d4ed8);background:var(--surface,#fff);border-radius:8px;margin:0;padding:.6rem .85rem;font-size:.83rem;line-height:1.55}
