/* Business quote generator (QUOTE-TOOL-1111). Sits beside checker.css (the free-tool sheet: .ck-* form, lines, actions, toast); this file adds only what the quote needs: the details grid, the notes box, the document preview, the example table.
   Open, not boxed (family guide 6.1): the preview is a sheet of paper on the page, not a card; hairlines and space; colour only on the one action and on focus. Logical properties throughout, so Arabic mirrors itself. */
.bq-sub { font: 400 clamp(20px, 2.6vw, 24px)/1.25 var(--serif); margin: 30px 0 12px; }
.bq-sub:first-child { margin-top: 0; }
.bq-grid { display: grid; grid-template-columns: 1fr; gap: 14px 24px; }
@media (min-width: 720px) { .bq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bq-notes-f { grid-column: 1 / -1; } }
.bq-after { margin-top: 22px; }
.ck textarea { width: 100%; min-height: 96px; padding: 10px 12px; font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; resize: vertical; }
.ck textarea:focus-visible { outline: 2px solid var(--erp); outline-offset: 2px; }
/* the lines have four fields here (checker.css lays out five) */
@media (min-width: 720px) { .ck.bq .ck-line { grid-template-columns: minmax(0, 2.6fr) minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, 1fr) 36px; } }
.bq-paper { margin: 14px 0 0; padding: 28px 24px 22px; background: #fff; color: #18181b; border: 1px solid var(--rule); border-radius: 4px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 32px -18px rgba(0,0,0,.25); max-width: 44rem; }
@media (min-width: 720px) { .bq-paper { padding: 40px 44px 30px; } }
.bq-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; }
.bq-seller { font: 400 22px/1.2 var(--serif); margin: 0 0 4px; overflow-wrap: anywhere; }
.bq-contact { font-size: 13px; color: #71717a; margin: 0; overflow-wrap: anywhere; }
.bq-meta { margin: 0; display: grid; grid-template-columns: auto auto; gap: 2px 14px; font-size: 13px; }
.bq-meta dt { color: #71717a; }
.bq-meta dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.bq-meta .bq-title { grid-column: 1 / -1; font: 400 24px/1.2 var(--serif); color: #18181b; text-align: end; margin-bottom: 6px; }
.bq-meta .bq-title + dd { display: none; }
.bq-for { margin: 22px 0 0; display: flex; flex-direction: column; font-size: 13px; color: #71717a; }
.bq-for strong { font-size: 15px; color: #18181b; font-weight: 600; overflow-wrap: anywhere; }
.bq-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.bq-table th { text-align: start; font-weight: 400; font-size: 12px; color: #71717a; padding: 0 0 8px; border-bottom: 1px solid #d4d4d8; }
.bq-table td { padding: 10px 0; border-bottom: 1px solid #ececef; vertical-align: top; overflow-wrap: anywhere; }
.bq-table th.n, .bq-table td.n { text-align: end; padding-inline-start: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bq-paper .bq-tot { margin: 14px 0 0; margin-inline-start: auto; width: min(100%, 19rem); font-size: 14px; }
.bq-tot > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 3px 0; }
.bq-tot dt { color: #52525b; }
.bq-tot dd { margin: 0; text-align: end; font-variant-numeric: tabular-nums; }
.bq-tot .bq-save dt, .bq-tot .bq-save dd { font-size: 13px; color: #71717a; }
.bq-tot .bq-tot-big { margin-top: 8px; padding-top: 10px; border-top: 1px solid #18181b; }
.bq-tot .big { font: 600 17px/1.4 var(--sans); color: #18181b; }
.bq-notes { margin: 20px 0 0; font-size: 14px; color: #52525b; white-space: pre-line; overflow-wrap: anywhere; }
.bq-fine { margin: 14px 0 0; font-size: 12px; color: #71717a; }
.bq-fine + .bq-fine { margin-top: 2px; }
.bq-nb { white-space: nowrap; }   /* WEB-R6-1A-REST-1211 (G-WQL-3): the address in the maker line stays whole */
.bq-eg { max-width: 44rem; }
.bq-eg table { width: 100%; }
.bq-eg th[scope="col"] { font-size: 13px; font-weight: 400; color: var(--ink-3); padding: 0 0 8px; text-align: start; border-top: 0; }
.bq-eg th.n, .bq-eg td { text-align: end; }
.bq-eg tbody th { font-weight: 400; color: var(--ink); text-align: start; }
.bq-eg td { padding-inline-start: 10px; }
.bq-eg .bq-eg-t th { color: var(--ink-2); text-align: end; }
.bq-eg .bq-eg-t:last-child th, .bq-eg .bq-eg-t:last-child td { font-weight: 600; color: var(--ink); }
/* WEB-QUOTE-ANY-1111: "a quote for the way you work" - a statement-style list with hairlines (open, not boxed), the button at the end of each row; under 540 px the button drops under the words */
.bq-uses { margin: 44px 0 0; max-width: 44rem; }
.bq-uses h2 { margin: 0 0 6px; }
.bq-uses-list { list-style: none; margin: 14px 0 0; padding: 0; }
.bq-uses-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 14px 0; border-top: 1px solid var(--hairline); }
.bq-uses-list li:last-child { border-bottom: 1px solid var(--hairline); }
.bq-uses-list h3 { font: 600 16px/1.4 var(--sans); margin: 0; }
.bq-uses-list p { margin: 2px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.bq-uses-list .ck-link { flex: none; min-height: 44px; }
.bq-uses-more { margin: 14px 0 0; }
@media (max-width: 539px) { .bq-uses-list li { flex-direction: column; align-items: flex-start; } }
.bq-track { margin: 4px 0 0; }
.bq-links { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 539px) { .bq-eg th, .bq-eg td { font-size: 14px; } .bq-eg td, .bq-eg th.n { padding-inline-start: 6px; } }
@media print { .bq-paper { box-shadow: none; border: 0; } }
/* WEB-QUOTE-LOGO-1111: the seller's logo, in the form (a small picture and Remove) and at the start edge of the preview above the seller's name (the PDF draws it in the same place) */
.bq-logo-f { display: flex; flex-direction: column; gap: 4px; }
.bq-logo-l { font-size: 14px; color: var(--ink-2); margin: 0 0 4px; }
.bq-logo-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 16px; min-height: 44px; }
.bq-logo-have { display: inline-flex; align-items: center; gap: 16px; }
.bq-logo-have[hidden], .bq-logo-row [hidden] { display: none; }
.bq-logo-keep[hidden] { display: none; }   /* G-GL1211-1: the "Remember this logo" choice, shown once a logo is added, off by default */
.bq-logo-tick { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.bq-logo-tick input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--ink); cursor: pointer; }
.bq-logo-keep .ck-hintline { margin-top: 0; }
.bq-logo-thumb { max-height: 36px; max-width: 120px; object-fit: contain; }
.bq-logo { display: block; max-width: 132px; max-height: 44px; object-fit: contain; margin: 0 0 10px; }
@media (max-width: 539px) { .bq-table { font-size: 13px; } .bq-table th { font-size: 11.5px; } .bq-table th.n, .bq-table td.n { padding-inline-start: 6px; } }   /* a narrow phone in Russian: the table must fit the paper, so the Amount column is where the totals stack ends */
@media (max-width: 359px) { .bq-eg th, .bq-eg td { font-size: 11.5px; } .bq-eg th[scope="col"] { font-size: 10.5px; } .bq-eg td, .bq-eg th.n { padding-inline-start: 3px; } .bq-paper { padding: 20px 10px 18px; } .bq-table { font-size: 12px; } .bq-table th { font-size: 10.5px; } .bq-table th.n, .bq-table td.n { padding-inline-start: 4px; } .bq-table th.n { white-space: normal; overflow-wrap: anywhere; } }   /* 12 Nov 2026 (R6-1a, axe reflow at 320 px): the preview paper no longer pushes the page sideways (EN 17 px, AR 23 px, RU 66 px over) */
