/* /quote-template-australia/ (page-quote-template-australia.php): the complete sample preview. Field cards stack on a phone; the item table scrolls sideways. */
#qt-preview-h{margin-top:1.6rem}
.qt-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:10px 14px;margin:0 0 1.2rem;padding:0}
.qt-fields>div{min-width:0;padding:10px 12px;border:2px solid var(--char);background:var(--sheet)}
.qt-fields dt{margin:0 0 3px;font:700 .72rem var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.qt-fields dd{margin:0;font-size:.95rem;overflow-wrap:anywhere}
.qt-items{border:2px solid var(--char);background:var(--sheet)}
.qt-items:focus{outline:3px solid var(--char);outline-offset:3px}
.qt-items table{width:100%;min-width:46rem;border-collapse:collapse}
.qt-items th,.qt-items td{padding:9px 10px;border-bottom:1px dotted var(--muted);text-align:left;vertical-align:top}
.qt-items thead th{border-bottom:2px solid var(--char);font:700 .72rem var(--mono);letter-spacing:.05em;text-transform:uppercase}
.qt-items tbody th,.qt-items tfoot th{font-weight:800}
.qt-items tfoot th{text-align:right}
.qt-items td.n{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums;white-space:nowrap}
.qt-items tr.tot th,.qt-items tr.tot td{border-top:2px solid var(--char)}
/* /work-order-template-trades/ (page-work-order-template-trades.php): the blank and SAMPLE records sit in two native collapsible panels; the 12-column line table scrolls sideways on a narrow screen. */
.wo-panels{margin:1.2rem 0 1.4rem}
.wo-panel{margin:0 0 12px;border:2px solid var(--char);background:var(--sheet)}
.wo-panel>summary{display:flex;align-items:center;min-height:56px;padding:12px 18px;font-weight:800;cursor:pointer}
.wo-panel[open]>summary{background:var(--yellow);border-bottom:2px solid var(--char)}/*dk*/@media (prefers-color-scheme:dark){.wo-panel[open]>summary{color:#1b2430}}/*kd*/
.wo-panel>summary:focus-visible{outline:3px solid var(--char);outline-offset:-3px}
.wo-body{padding:6px 18px 18px}
.wo-body .mini-h{margin:1.4rem 0 .6rem}
.wo-body .qt-items{margin-block:.4rem 1rem}
.qt-items.wo-wide table{min-width:68rem}
.wo-dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:12px 14px;margin-bottom:1rem}
.wo-dl .btn{justify-content:center;text-align:center}
[data-wb-page="work-order-template-trades"] .steps,[data-wb-page="progress-claim-template-trades"] .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 28px;max-width:none}
@media (max-width:700px){[data-wb-page="work-order-template-trades"] .steps,[data-wb-page="progress-claim-template-trades"] .steps{grid-template-columns:1fr}}
