/* /tools/drayage-quote, step 2 chrome AROUND the quote sheet: the action bar above it and the Email Quote modal. (The charges table is inside the sheet: drayage-sheet-acc.css.)
   Page tokens only. None of this is part of the printable quote (drayage-sheet.css, inside the frame). */

/* ACTION BAR: one centred row. */
.dq-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; }
.dq-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 112px; min-height: 44px; padding: 0 16px; font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-btn); cursor: pointer; }
.dq-bar button svg { flex: none; width: 24px; height: 24px; color: var(--accent); }
.dq-bar button:hover { background: var(--accent-soft); border-color: var(--accent); }
.dq-bar button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dq-bar button[disabled] { opacity: 0.55; cursor: not-allowed; }
/* Edit looks exactly like Email, Print and Save PDF (owner, 2026-11-20): same colour, border and weight. */
.dq-bar .dq-bar-edit { color: var(--ink); border-color: var(--border-strong); }
@media (max-width: 480px) { .dq-bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .dq-bar button { min-width: 0; } }

.dq-sheet { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.dq-sheet .dq-doc { display: block; width: 100%; min-height: 320px; border: 0; }

.dq-i:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dq-i { display: inline-grid; place-items: center; width: 24px; height: 24px; margin: 0 0 0 4px; padding: 0; font: italic 700 12px/1 Georgia, serif; color: var(--muted); background: transparent; border: 1px solid var(--border-strong); border-radius: 6px; cursor: pointer; }
.dq-i:hover { color: var(--ink); border-color: var(--ink); }

/* EMAIL QUOTE MODAL: centred, over a dimmed page. */
body.dq-modal-open { overflow: hidden; } body.dq-modal-open .qf-mc-fab { display: none; } #dq-email-send[aria-busy="true"] { opacity: 0.6; cursor: progress; }
.dq-modal[hidden] { display: none; }
.dq-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.dq-modal-back { position: absolute; inset: 0; background: rgb(15 23 42 / 0.55); }
.dq-modal-box { position: relative; box-sizing: border-box; width: min(92vw, 520px); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.dq-modal-x { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: var(--radius-btn); cursor: pointer; }
.dq-modal-x:hover { color: var(--ink); background: var(--accent-soft); }
.dq-modal-x:focus-visible, .dq-modal-close:focus-visible, .dq-modal-btns .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.dq-modal-t { margin: 0 48px 8px 0; font-size: 20px; font-weight: 700; line-height: 1.4; }
.dq-modal-p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.dq-modal-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.dq-modal-btns .btn { min-height: 48px; padding: 8px 12px; font-size: 14px; font-weight: 700; line-height: 1.4; cursor: pointer; }
.dq-modal-foot { display: flex; justify-content: flex-end; margin: 16px 0 0; }
.dq-modal-close { min-height: 44px; padding: 0 12px; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); background: transparent; border: 0; text-decoration: underline; cursor: pointer; }
@media (max-width: 480px) { .dq-modal-btns { grid-template-columns: minmax(0, 1fr); } .dq-modal-box { padding: 16px; } }
