/* Styles for the PDF form filler.

   These lived in editor.css, which this tool never loads: that stylesheet is
   linked when the spatial editor mounts, and a form has no canvas to mount
   one on. So every rule here was being downloaded by the tools that do load
   it, where none of them could match, and was missing from the only page
   that wanted it. The two buttons at the foot of the tool were the visible
   half of that: they are meant to be full width with ten pixels between
   them, and instead sat flush against each other at different widths. */
[data-fill-form].workspace{min-height:440px;border:1px solid var(--line);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-lg)}
/* A floor on the height so the panel does not jump as the tool moves from
   the field list to the spinner to the result. The field list can be long and
   wants the room; a spinner and a heading do not, and at four hundred pixels
   they were showing eighty-six pixels of content in a panel two thirds empty. */
[data-fill-form] .options{min-height:400px;padding:24px}
[data-fill-form] .progress,[data-fill-form] .result{min-height:240px;padding:24px}
[data-fill-form] .summary{display:grid;gap:4px;padding:16px;background:var(--surface-soft)}
[data-fill-form] .summary small,[data-fill-form] .status,[data-fill-form] .flatten-choice small{color:var(--ink-faint)}
[data-fill-form] .no-fields{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
[data-fill-form] .no-fields p{color:var(--ink-soft)}
[data-fill-form] .flatten-choice{display:flex;gap:10px;align-items:flex-start;margin:16px 0}
[data-fill-form] .flatten-choice input{width:20px;height:20px}
[data-fill-form] .flatten-choice span{display:grid}
[data-fill-form] .process,[data-fill-form] .reset{width:100%;margin-top:10px}
[data-fill-form] .progress,[data-fill-form] .result{display:grid;place-items:center;align-content:center;text-align:center}
[data-fill-form] .result .button{margin:5px}
[data-fill-form] .error{margin:12px;padding:12px;color:var(--danger)}
[data-fill-form] .spinner{width:46px;height:46px;border:4px solid var(--accent-soft);border-top-color:var(--accent);border-radius:50%;animation:edit-spin .8s linear infinite}
