/* Quote detail owns its table and responsive cards. */

                .orc-detail {container-type:inline-size;min-width:0}
                .orc-detail .detail-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
                .orc-detail .detail-item {min-width:0;overflow-wrap:anywhere}
                .orc-detail-table {width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
                .orc-detail-table th,.orc-detail-table td {padding:10px 8px;border-bottom:1px solid var(--border);vertical-align:top;white-space:normal;overflow-wrap:anywhere}
                .orc-detail-table th {background:var(--bg-secondary);color:var(--text-secondary);text-align:left;font-size:11px;text-transform:uppercase}
                .orc-detail-table .text-right {text-align:right}
                .orc-detail-table td:nth-child(3) {line-height:1.45}
                .orc-detail-table tfoot {background:var(--bg-secondary)}
                @container (max-width:600px) {
                    .orc-detail-table thead {display:none}
                    .orc-detail-table,.orc-detail-table tbody,.orc-detail-table tr,.orc-detail-table td {display:block;width:auto}
                    .orc-detail-table colgroup {display:none}
                    .orc-detail-table tbody tr {padding:8px 0;border-bottom:1px solid var(--border)}
                    .orc-detail-table tbody td {display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px;text-align:left;padding:4px 8px;border:0}
                    .orc-detail-table tbody td:before {content:attr(data-label);color:var(--text-secondary);font-size:11px}
                    .orc-detail-table tfoot {display:flex;justify-content:flex-end}
                    .orc-detail-table tfoot tr {display:flex}
                }
                

.orc-detail .detail-item > span { white-space: normal !important; overflow-wrap: anywhere; min-width: 0; }
.orc-detail .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.orc-detail .orc-detail-table :is(th, td) { white-space: normal !important; overflow-wrap: anywhere; }
/* The workspace window already supplies the title and close control. */
.wm-window:has(.orc-detail) .wm-body > .modal-header { display: none !important; }
