/* MiStudio SMART PREFILL (Maysam, November 23, 2026; web/prefill.js). Field colors refine 0.5.20's "one highlight": the field being
   FILLED = the tool orange (its FILLING badge), every other field its own calm tint, the same color as its dot; the selection blue
   only for picks in no field. Tints avoid the selection blue (--acc), the tool orange (--tool), the measure teal and node pink. */
:root{--fld1:#6c4ee6;--fld2:#2b8a3e;--fld3:#0f8fa8;--fld4:#c2417a}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--fld1:#a08cff;--fld2:#69db7c;--fld3:#4cc9e8;--fld4:#f07aa8}}
:root[data-theme="dark"]{--fld1:#a08cff;--fld2:#69db7c;--fld3:#4cc9e8;--fld4:#f07aa8}
/* the dot: the field's color while it holds picks; orange while it fills */
.pk.has .pk-f i{background:var(--pk-tint,var(--acc));border-color:var(--pk-tint,var(--acc))}
.pk.act .pk-f i{background:var(--tool);border-color:var(--tool)}
/* a field the prefill could not fill for sure: dashed in the tool color until the user fills it */
.pk.need .pk-f{border:1.5px dashed var(--tool);background:var(--tool-soft)}
/* the swap button sits in the row from the moment the panel opens (filling / swapping never moves a control) */
.pk-sw{width:26px;height:26px;padding:0;justify-content:center;flex:none;font-size:14px;line-height:1}
/* the one line "Filled from your 2 picks in pick order: swap with ⇅": one line, never wraps (no shift when its text changes) */
.tp-fill{margin:0 0 2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:1.4em}
