/* off-states.css: filled by lane q1125-off-states. Card P4389. Created empty by q1125-port (card P4384): the styles of a control drawn off with its reason in words go here.
   A control whose money or message switch is off stays in its place as a real button (a border, a fill or both: components.css draws the face), aria-disabled, with its reason in one
   short line under it (QM.offControl) or beside it (QM.offLine, the Text Too toggle). Every color is a token of the theme, so the line reads in both themes and on the customer's paper. */
.q-off{ display:inline-flex; flex-direction:column; align-items:flex-start; gap:4px; max-width:100%; min-width:0; }
.q-off-inline{ flex-direction:row; align-items:center; gap:10px; flex-wrap:wrap; }
.q-off-why{ margin:0; font:500 12px/16px var(--font); color:var(--text-muted); max-width:44ch; overflow-wrap:anywhere; }
.q-off-why[data-off-line]{ display:block; }
/* the off button keeps its face and its tab stop; the pointer says it does nothing here. components.css already fades a .q-btn[aria-disabled="true"] to .5 and takes its shadow off. */
.q-off-btn{ cursor:not-allowed; pointer-events:auto; }
.q-off-btn:focus-visible{ outline:var(--focus-ring-width, 2px) solid var(--focus-ring-color, var(--accent)); outline-offset:2px; }
/* a primary button drawn off keeps its fill, faded, so the main action of a screen still reads as the main action */
.q-off-btn.q-btn-primary{ opacity:.55; }
/* the reason under a wide primary (Save Version N, Sign And Approve) may run the button's full width */
.q-off > .q-btn-lg + .q-off-why{ max-width:60ch; }
/* the line beside a toggle row (Text Too) sits on the toggle's baseline and never wraps under it */
.ql-toggle-row .q-off-why, .ql-field-row .q-off-why{ white-space:nowrap; }
/* the line under the Follow-Up Plan's three toggles and above the To field on a real quote */
.ql-follow .q-off-why, .ql-send .q-field + .q-off-why{ margin-top:2px; }
/* the Sent band's Sample chip sits at the right of its first row */
.ql-sentband .q-mock-tag{ margin-left:auto; }
/* the one card a step shows on a real quote until sending and signing are turned on (Final Measure And Release, The Job, Change Order) */
.qa-locked [data-off-why]{ color:var(--text-muted); }
/* the customer's paper: the reason is written in the paper's own muted ink */
.q-paper .q-off-why{ color:var(--text-muted); }
.qc-cta .q-off{ align-items:flex-start; }
.qc-cta .q-off-why{ max-width:60ch; }
/* a dialog's off action: the Share dialog's Send on a real quote */
.q-dialog .q-off{ margin-top:8px; }
/* the Review column's main action drawn off keeps the sendbar's width */
.ql-sendbar .q-off{ flex:1 1 auto; }
.ql-sendbar .q-off > .q-btn{ align-self:stretch; }
/* the real quote's Activity: the saved versions list */
.ql-versions{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.ql-versions li{ display:flex; align-items:center; gap:10px; padding:8px 0; border-top:1px solid var(--border); }
.ql-versions li:first-child{ border-top:0; padding-top:0; }
/* THE SHARE DIALOG'S TWO BOXES (the fix round of 11/25/2026, card P4389; found by this lane's own live check). customer.css lays Name and Email Or Phone out in two 1fr columns, and a 1fr
   column never goes narrower than what stands in it. How wide a text box asks to be is the browser's and the font's own: measured in the Linux browser of the live check it asked for 256 px,
   so the two and their gap asked for 528 px of a dialog that has 438, and Email Or Phone ran 90 px past the dialog's inner edge (on the Mac the same box asks for less and fits by luck).
   In a dialog the two columns are equal shares of the room there is, and each box fills its own, whatever the browser. The mockup's two columns, side by side, are kept. */
.q-dialog .qc-fields{ grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); }
.q-dialog .qc-fields .q-input{ width:100%; min-width:0; }
/* the reason under the dialog's off Send has the dialog's whole width, so it reads on one line */
.q-dialog .q-off-why{ max-width:none; }
/* print: the reason prints with its button, never cut */
@media print{ .q-off-why{ color:#444; } }
