/* real-home.css: filled by lane q1125-real-home. The real Quotes Home's own styles (card P4387): the groups of the list, a tile with no figure yet, the foot of the list, and the saved
   version view (saved-quote.js). Everything else the home draws is the approved design's own (sell.css, components.css, frame.css). Print: only the saved document prints.
   EVERY RULE HERE NAMES A CLASS OF ITS OWN (ql-quotes-home, ql-home-*, ql-tile-none, ql-notread, ql-foot, ql-picklist, qv-*; Pricing Setup's Not Set pill is ql-home-ratemark-none, and its own sheets and finishes are ql-home-cardhead, ql-home-by, ql-home-sheen, ql-home-more, ql-home-finish and ql-home-swatch), so no rule restyles a screen of the approved design:
   the saved version view is qv-, because qs- is the Set Up This Quote screen's (quote-setup.css). tests/q1125-real-home.test.cjs H10 reads this file and holds it to that. */
/* ---- the list's groups: the Sample row first, then the drafts, then the saved quotes ---- */
/* a group's name heads its rows, so it is larger and heavier than they are (rows are 14 px) and in the main text color, and it starts where the cells under it start */
.ql-quotes-home tr.ql-group{ cursor:default; }
.ql-quotes-home tr.ql-group th{ height:auto; padding:12px 12px 8px; font-size:16px; line-height:24px; font-weight:650; letter-spacing:-.01em; color:var(--text); text-align:left; background:var(--surface-hi); border-top:1px solid var(--border); }
.ql-quotes-home tr.ql-home-row td{ height:56px; }
/* the Sample row opens like every other row: a pointer (from the list's own rule), and its tint deepens under the pointer instead of dropping out */
.ql-quotes-home tr.ql-home-sample td{ background:color-mix(in srgb, var(--warn) 7%, var(--surface)); }
.ql-quotes-home tr.ql-home-sample:hover td{ background:color-mix(in srgb, var(--warn) 13%, var(--surface)); }
.ql-quotes-home .ql-sampletag-home{ margin-left:0; }
.ql-quotes-home .ql-sampletag-home .q-mock-tag{ flex:none; }
.ql-quotes-home .ql-version{ white-space:nowrap; }
/* ---- a tile the real quotes cannot answer yet: words in the figure's place, never a sample figure ---- */
.ql-tile-none{ font-family:var(--font); font-size:15px; line-height:20px; font-weight:600; color:var(--text-muted); letter-spacing:0; }
/* ---- Pricing Setup on the account's own screen (setup.js): with no loaded rate yet the bar's marker has no place on the range, so one quiet pill over the middle of the bar says
   Not Set, with no tick under it. The pill is the marker's own shape in the muted ink of a figure that is not there. ---- */
.ql-ratebar-mark.ql-home-ratemark-none b{ background:var(--surface-hi); color:var(--text-muted); border:1px solid var(--border); font-weight:600; white-space:nowrap; }
/* the one line over the Profit Guard Rules table runs the table's width: the off line's own 44 character measure broke it after its last word but one */
.q-off-why.ql-home-offline-wide{ max-width:none; }
/* ---- Pricing Setup on the account's own screen, its own sheets and finishes (setup.js, round 3): a supplier's card heads its prices with the supplier's name and the newest day a
   price was set, which drops under a long name instead of squeezing it; what a price is priced by reads quieter than the amount, in the text face; a finish's sheen sits at the
   right of its row, quiet, and wraps; the line under a card that holds more than it shows; and a finish's own color as a small swatch before its name. ---- */
.ql-home-cardhead{ flex-wrap:wrap; align-items:baseline; row-gap:2px; }
.ql-home-cardhead .q-h{ min-width:0; overflow-wrap:anywhere; }
.ql-home-by{ font-family:var(--font); font-weight:400; color:var(--text-muted); }
.ql-home-sheen{ text-align:right; color:var(--text-muted); white-space:normal; overflow-wrap:break-word; }
.ql-home-more{ margin:0; font-size:13px; line-height:18px; color:var(--text-muted); }
/* a finish's name starts beside its swatch on every line, so a long name wraps under its own first word and never under the swatch */
.ql-home-finish{ display:flex; align-items:flex-start; gap:8px; }
.ql-home-swatch{ flex:none; width:14px; height:14px; margin-top:3px; border-radius:4px; border:1px solid var(--border-strong); }
/* ---- under the list: the empty state of a new account, the line of a read that failed, Show The Sample Quote and Load More ---- */
.ql-empty-home{ padding:40px 24px; }
.ql-notread{ padding:14px 16px; }
.ql-foot{ padding:12px 16px; border-top:1px solid var(--border); justify-content:flex-end; }
.ql-picklist{ max-height:420px; overflow:auto; }
/* ---- the saved version view ---- */
.qv-saved{ display:flex; flex-direction:column; gap:16px; max-width:960px; }
.qv-h1{ margin:0; font-size:var(--type-h2-size); line-height:var(--type-h2-lh); font-weight:650; letter-spacing:-.02em; }
.qv-head{ gap:12px; align-items:baseline; }
.qv-actions{ gap:8px; flex-wrap:wrap; }
.qv-note{ margin:0; min-height:18px; }
.qv-note-bad{ color:var(--danger); }
.qv-paper{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px 40px; color:var(--text); }
.qv-paper .cq-doc{ max-width:720px; }
.qv-links{ display:flex; flex-direction:column; gap:8px; padding:16px 20px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); }
.qv-links h2{ margin:0; }
.qv-linklist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; }
.qv-link{ gap:12px; flex-wrap:wrap; min-height:32px; }
/* one short line with its info icon beside it */
.qv-links-foot{ gap:6px; margin-top:4px; }
.qv-links-line{ margin:0; }
/* ---- print: the saved document only. The shell, the band and the bar are hidden by frame.css; the view's own controls and links are hidden here. ---- */
@media print{
  .qv-chrome, .qv-links{ display:none !important; }
  .qv-host{ padding:0 !important; overflow:visible !important; }
  .qv-saved{ max-width:none; }
  .qv-paper{ border:0; border-radius:0; padding:0; }
}
/* ---- Mark (round 5 of card P4387): a saved row's Mark sits before its Open; the dialog's one line with its info icon, the moves, and the line a refusal is read out on;
   the Desk's read-only band carries the same moves (saved-quote.js markBar) ---- */
.ql-home-acts{ white-space:nowrap; }
.ql-home-acts .ql-home-mark{ margin-right:8px; }
.ql-home-markline{ gap:6px; align-items:center; }
.ql-home-markline .ql-line{ margin:0; }
.ql-home-moves{ gap:8px; flex-wrap:wrap; }
.ql-home-marknote{ margin:0; min-height:18px; }
.ql-home-marknote-bad{ color:var(--danger); }
.qv-marks{ gap:8px; flex-wrap:wrap; margin-left:8px; }
