/* EditFormView.razor.css.rz.scp.css */
/* The generated form's container: a gap after the last field, so the Update/Reset buttons never touch
   the final control (triage fb-56bc4164). Field spacing is in PropertyView.razor.css. */
dl.form-group[b-79yy48jefb] {
    margin: 0 0 16px 0;
    padding: 0;
}

/* EditorView.razor.css.rz.scp.css */
/* The generated form's container: a gap after the last field, so a button or text placed after the
   form never touches its final control (triage fb-56bc4164). Field spacing is in PropertyView.razor.css. */
dl.form-group[b-tz6jg0d1e7] {
    margin: 0 0 16px 0;
    padding: 0;
}

/* NumberFieldView.razor.css.rz.scp.css */
/* Theme-specific styles for NumberFieldView */
[b-mvfrf86dsx] .control {
    color: var(--neutral-foreground-rest);
}

/* Ensure proper text color in dark mode */
:root[data-prefers-color-scheme='dark'][b-mvfrf86dsx]  .control {
    color: var(--neutral-foreground-rest);
}

/* Handle input text color when system theme is dark */
@media (prefers-color-scheme: dark) {
    [b-mvfrf86dsx] .control {
        color: var(--neutral-foreground-rest) !important;
    }
}

/* HideStep — the native spin buttons.
   There is no inline style that can reach these: Blink/WebKit render them as
   ::-webkit-{outer,inner}-spin-button pseudo-elements, and Firefox needs `appearance: textfield`
   on the input itself. So the view emits the `hide-step` class and the rules live here.
   ::deep, because the <input> is rendered by InputNumber — a child COMPONENT — and CSS isolation
   does not carry this component's scope attribute onto another component's markup. */
[b-mvfrf86dsx] .control.hide-step {
    -moz-appearance: textfield;
    appearance: textfield;
}

[b-mvfrf86dsx] .control.hide-step::-webkit-outer-spin-button,
[b-mvfrf86dsx] .control.hide-step::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

/* PropertyView.razor.css.rz.scp.css */
/* The Edit macro's generated form: one PropertyView per field = <dt> label + <dd> (description, control).
   Nothing styled these elements, so a field's description sat flush against the next control and
   against whatever followed the form (triage fb-56bc4164). The spacing lives HERE, with the markup
   that emits the elements, so every form built with host.Edit(...) carries it - a node never needs
   a stylesheet of its own to read as a form. Tokens only, no fixed colours (light + dark). */
dt[b-3vcarsdb6g] {
    margin: 0 0 4px 0;
    font-weight: 600;
}

dt label[b-3vcarsdb6g] {
    display: inline-block;
}

dd[b-3vcarsdb6g] {
    margin: 0 0 16px 0;
}

dd > p[b-3vcarsdb6g] {
    margin: 0 0 8px 0;
    color: var(--neutral-foreground-hint);
    font-size: 12px;
    line-height: 1.4;
}
