/* AVstackr line item attribute keys modal — the Manage Line Item Attribute Keys window's own rules on Global
   Settings (/global-config).
   ========================================================================
   Built to docs/superpowers/plans/2026-11-14-global-config-friendly-style.md (Tasks 3 and 4). The author-facing
   shell (frame, header, body, notices, panel, field register, chips, footer, buttons and numbers) and the
   table register (the edge-to-edge panel, the table, the 32px fields and icon buttons, the row actions, the
   note and the right-aligned footer) are shared with the other author-facing windows in author-modal.css, as
   `am-` classes; that file carries the register, the colour token table and the --am-radius-* steps declared
   on .am-modal. This file holds only what the attribute keys window alone uses, every class `lik-` prefixed:
   the modal element wears `am-modal lik-modal`. A plain stylesheet rather than a scoped .razor.css, so the
   window sits on the same shell as the others. Colours are --app-* tokens only; no literal colours and no important flags.

   Promotion rule: a class used by a second author-facing window moves to author-modal.css as `am-`.

   The Sync select keeps the Bootstrap classes its bUnit test pins (form-select, form-select-sm, table-input),
   so presets.css and app.css size and colour it; nothing here restyles it.
   ======================================================================== */

/* The shared rule's max-width: calc(100vw - 48px) already bounds the width on small screens. */
.lik-modal { width: 880px; }

/* The new key's name and "Add key" on one line; the name takes the room. */
.lik-add {
    display: flex;
    align-items: center;
    gap: 8px;
}
.lik-add-name.am-input { flex: 1 1 auto; }

/* Column widths: the name takes what is left. */
.lik-order { width: 56px; }
.lik-name { min-width: 160px; }
.lik-tag { width: 180px; }
.lik-sync { width: 96px; }
.lik-status { width: 112px; }
.lik-actions { width: 200px; }

/* A deactivated key's name reads as set aside, with its "(deactivated)" note after it. */
.lik-row-off .lik-name {
    font-style: italic;
    color: var(--app-text-disabled);
}
.lik-off-note {
    margin-left: 8px;
    font-size: 12px;
    color: var(--app-text-disabled);
}

/* A row's refused CAD tag or sync direction, under its field. The text colour comes from Bootstrap's text-danger,
   which the bUnit test selects by. */
.lik-row-error {
    margin-top: 4px;
    font-size: 12px;
}
