/* Quote/cost workspaces. Load after design-system.css; no monetary or permission logic. */
.formal-quote-lines{min-width:0;max-width:100%}
.formal-quote-table{width:100%;font-variant-numeric:tabular-nums;border-collapse:collapse}
.formal-quote-table th{background:transparent;color:var(--muted);font-weight:500;font-size:12px;text-align:left}
.formal-quote-table td,.formal-quote-table th{padding:11px 10px;border-bottom:1px solid var(--line-soft);vertical-align:top}
.formal-quote-table .formal-quote-number{text-align:right;white-space:nowrap}
.formal-quote-item{width:42%;overflow-wrap:anywhere}
.formal-quote-name,.formal-quote-spec{display:block}
.formal-quote-name{font-weight:600;font-size:14px}
.formal-quote-spec{margin-top:3px;color:var(--muted);font-size:12px;line-height:1.45}
.formal-quote-label{display:none}
.formal-quote-subtotal .formal-quote-value{font-weight:650}
#dialog:has(.quote-workspace),#dialog:has(.cost-workspace){width:min(1160px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);background:var(--ground)}
#dialog:has(.quote-workspace) .dialog-head,#dialog:has(.cost-workspace) .dialog-head{position:sticky;top:0;z-index:4;background:var(--ground)}
#dialog:has(.quote-workspace) .dialog-body,#dialog:has(.cost-workspace) .dialog-body{padding:18px 22px}
#dialog:has(.quote-workspace) .dialog-foot,#dialog:has(.cost-workspace) .dialog-foot{position:sticky;bottom:0;z-index:3;background:var(--ground);margin:18px -22px -18px;padding:14px 22px;border-top:1px solid var(--line);box-shadow:0 -7px 14px #20232206}
.quote-workspace,.cost-workspace{min-width:0;max-width:100%;font-variant-numeric:tabular-nums}
.quote-workspace-intro,.cost-workspace-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin:0 0 14px}
.quote-workspace-intro strong,.cost-workspace-heading strong{font-size:16px;font-weight:650}
.quote-workspace-intro p,.cost-workspace-heading p{font-size:13px;line-height:1.65;color:var(--muted);margin:5px 0 0;max-width:68ch}
.quote-help{display:inline-flex;align-items:flex-start;gap:8px;flex-wrap:wrap;justify-content:flex-end;max-width:420px}
.quote-help-toggle{min-width:44px;min-height:44px;width:44px;padding:0;border:1px solid var(--line);border-radius:50%;color:var(--ink);background:#fff;font-size:16px;line-height:1}
.quote-help-copy{font-size:13px;line-height:1.65;background:#f0f3ef;padding:10px 12px;border-left:2px solid #61745e;max-width:42ch;color:var(--ink)}
.quote-help-copy[hidden]{display:none}
.quote-help-toggle:focus-visible,.quote-workspace summary:focus-visible,.cost-workspace summary:focus-visible{outline:3px solid #3b6eb2;outline-offset:3px}
.quote-workspace-progress{display:flex;flex-wrap:wrap;gap:8px 24px;margin-bottom:18px;padding:11px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted);overflow-wrap:anywhere}
.quote-workspace-progress strong{color:var(--ink);font-size:15px}
.quote-editor-head,.quote-editor-row{display:grid;grid-template-columns:minmax(180px,1.15fr) minmax(220px,1.3fr) minmax(145px,.8fr) minmax(130px,.75fr);column-gap:16px;align-items:start}
.quote-editor-head{color:var(--muted);font-size:12px;padding:0 12px 10px}
#dialog .quote-editor-row{border:0;border-top:1px solid var(--line);border-radius:0;padding:14px 12px;margin:0;background:transparent;transition:background-color .12s}
#dialog .quote-editor-row:focus-within{background:#eff3ec;box-shadow:inset 3px 0 #527c4d}
.quote-editor-item{display:flex;gap:9px;min-width:0}
.quote-row-number{display:inline-grid;place-items:center;flex:0 0 22px;height:22px;border-radius:4px;background:#eef0ed;color:#596255;font-size:11px;margin-top:2px}
.quote-editor-item h4{margin:0;font-size:14px;font-weight:650;line-height:1.5;overflow-wrap:anywhere}
.quote-editor-item p{margin:3px 0 4px;color:var(--muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.quote-editor-item span:not(.quote-row-number){font-size:12px}
#dialog .quote-editor-row .field{margin:0;font-size:12px;min-width:0}
#dialog .quote-editor-row .field>span{font-size:12px}
#dialog .quote-editor-row input,#dialog .quote-editor-row select{font-size:14px;padding:8px 9px;min-height:42px;max-width:100%;width:100%;box-sizing:border-box}
.quote-choice-meta{font-size:11px;color:var(--muted);line-height:1.5;margin:5px 0 0;overflow-wrap:anywhere}
.quote-line-state{display:block;font-size:11px;margin-top:5px;color:#62735d}
.quote-row-incomplete .quote-line-state{color:#8a5a2d}
.quote-row-evidence{margin-top:0;border:0;min-width:0;font-size:12px}
.quote-row-evidence>summary{min-height:44px;display:flex;align-items:center;color:#3b5140;cursor:pointer;line-height:1.45}
.quote-row-evidence>summary:before{content:'+';font-size:18px;margin-right:6px}
.quote-row-evidence[open]>summary:before{content:'−'}
.quote-row-evidence>p{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0}
.quote-terms,.cost-common-terms{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}
.quote-terms h3,.cost-common-terms h3{font-size:15px;font-weight:650;margin:0 0 12px}
#dialog .quote-terms>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.quote-terms-rule{font-size:12px;color:#765125;line-height:1.6;margin:8px 0 12px}
.quote-extension{border-top:1px solid var(--line-soft);padding-top:4px}
.quote-extension>summary,.quote-version-history>summary,.quote-version-history details>summary,.quote-fee-detail>summary{min-height:44px;display:flex;align-items:center;font-size:12px;cursor:pointer;color:var(--muted)}
.quote-extension .field{margin:6px 0 12px!important}
.quote-extension textarea{min-height:76px}
.quote-version-bar{display:flex;align-items:center;gap:10px 18px;flex-wrap:wrap;margin:0 0 14px;min-width:0}
.quote-version-bar>strong{font-size:17px;font-weight:650}
.quote-version-bar>span{font-size:12px;overflow-wrap:anywhere;color:var(--muted)}
.quote-total-strip{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:14px;background:#eef2eb;border:1px solid #d9e1d3;border-radius:7px;padding:14px 16px;margin-bottom:14px;font-variant-numeric:tabular-nums}
.quote-total-strip>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.quote-total-strip span{font-size:12px;color:var(--muted)}
.quote-total-strip strong{font-size:17px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
.quote-total-strip .quote-total-due{padding-left:16px;border-left:1px solid #d1dbca;text-align:right}
.quote-total-due strong{font-size:22px;color:#254d2c}
.quote-delivery-strip{display:flex;gap:8px 24px;flex-wrap:wrap;padding:6px 0 12px;font-size:12px;color:var(--muted)}
.quote-delivery-strip strong{color:var(--ink);font-weight:550}
.quote-key-rule{font-size:12px;line-height:1.65;padding:9px 11px;border-left:2px solid #809176;background:#f2f4f0;color:#465141;margin:0 0 12px}
.quote-fee-note{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-top:12px}
.quote-version-section .quote-version-card{border:0;padding:0;margin:0;background:transparent}
.quote-current-actions{margin:0 0 15px;gap:8px}
.quote-version-history{border-top:1px solid var(--line);margin-top:18px}
.quote-version-history details{border-top:1px solid var(--line-soft)}
.quote-version-history .quote-version-card{padding:12px 0}
.quote-fee-detail{border-top:1px solid var(--line-soft);font-size:12px}
.quote-fee-detail p{margin:0 0 12px;line-height:1.65}
#dialog .cost-context-fields{grid-template-columns:1fr 1.5fr 1fr;gap:16px}
#dialog .cost-context-fields .field{margin:0;min-width:0}
.cost-basis-notice{font-size:12px;line-height:1.65;padding:9px 12px;margin:12px 0 18px;border-left:2px solid #62785e;background:#eef2eb;color:#3e5140}
.cost-line-head,.cost-input-row{display:grid;grid-template-columns:minmax(200px,1.3fr) minmax(130px,.7fr) minmax(210px,1fr) minmax(160px,.8fr);gap:16px;align-items:start}
.cost-line-head{font-size:12px;color:var(--muted);padding:0 10px 9px}
#dialog .cost-input-lines>.cost-input-row{border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;margin:0;padding:13px 10px}
#dialog .cost-input-row:focus-within{background:#eff3ec;box-shadow:inset 3px 0 #527c4d}
.cost-material{min-width:0}
#dialog .cost-material .check{gap:10px;align-items:flex-start;margin:0;line-height:1.4;min-height:44px}
.cost-material .check>span{min-width:0;overflow-wrap:anywhere}
.cost-material strong,.cost-material small,.cost-material b{display:block}
.cost-material strong{font-size:14px;font-weight:650;line-height:1.5}
.cost-material small{font-size:12px;color:var(--muted);line-height:1.45;margin:3px 0}
.cost-material b{font-size:12px;font-weight:500}
#dialog .cost-input-row .field{margin:0;font-size:12px;min-width:0}
#dialog .cost-input-row input:not([type=checkbox]){font-size:14px;min-height:42px;padding:8px 9px;min-width:0;width:100%;box-sizing:border-box}
#dialog .cost-input-row .field>small{font-size:10px;line-height:1.4;margin-top:4px}
.cost-line-terms{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cost-original-fields{min-width:0;font-size:12px}
.cost-original-fields summary{cursor:pointer;line-height:1.5;min-height:44px;display:flex;align-items:center;color:#4b6348}
.cost-original-fields>details>p{font-size:12px;line-height:1.6;color:var(--muted)}
.cost-input-row:has(.cost-original-fields>details[open]) .cost-original-fields{grid-column:1/-1}
#dialog .cost-original-fields .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#dialog .cost-common-terms>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cost-inclusion-flags{display:flex;gap:10px 20px;flex-wrap:wrap;margin:0 0 14px}
#dialog .cost-inclusion-flags .check{font-size:12px;line-height:1.5;min-height:44px;margin:0}
.cost-attachments{border-top:1px solid var(--line-soft);margin-top:14px}
.cost-attachments>summary{display:flex;align-items:center;min-height:44px;font-size:12px;color:var(--muted);cursor:pointer}
.cost-preview-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:15px 0}
.cost-preview-actions>span{font-size:12px;color:var(--muted);line-height:1.55}
.cost-preview-total{display:flex;align-items:baseline;gap:5px;flex-wrap:wrap;background:#edf3e9;border:1px solid #d4dfce;border-radius:6px;padding:12px 14px;font-size:13px}
.cost-preview-total strong{font-size:24px;color:#31532f}
.cost-trace>summary{min-height:44px;display:flex;align-items:center;font-size:12px;cursor:pointer}
.cost-trace{margin:8px 0;max-width:100%;min-width:0}
.cost-trace-version{color:var(--muted);font-size:11px}
.cost-trace .subrecord{background:transparent;margin:0;padding:12px 0}
.cost-trace .definition{font-size:12px;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr)}
.cost-trace .definition dd{overflow-wrap:anywhere}
.cost-trace .cost-table-scroll{max-width:100%;overflow:auto}
.cost-trace .cost-table-scroll table{min-width:850px;font-size:12px}
.cost-trace .price-calculation-summary{display:flex;flex-wrap:wrap;gap:7px 18px;font-size:12px;margin:12px 0}
.cost-trace .price-calculation-summary strong{color:#31532f}
@media(max-width:1000px){
 .quote-editor-head,.quote-editor-row{grid-template-columns:minmax(140px,1fr) minmax(180px,1.2fr) minmax(125px,.8fr)}
 .quote-editor-head>span:last-child{display:none}
 .quote-row-evidence{grid-column:2/-1}
 .cost-line-head,.cost-input-row{grid-template-columns:minmax(160px,1.2fr) minmax(125px,.8fr) minmax(190px,1fr)}
 .cost-line-head>span:last-child{display:none}
 .cost-original-fields{grid-column:2/-1}
 #dialog .cost-common-terms>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:640px){
 #dialog:has(.quote-workspace),#dialog:has(.cost-workspace){width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:auto}
 #dialog:has(.quote-workspace) .dialog-head,#dialog:has(.cost-workspace) .dialog-head{padding:13px 14px;gap:8px}
 #dialog:has(.quote-workspace) .dialog-head h2,#dialog:has(.cost-workspace) .dialog-head h2{font-size:17px;line-height:1.4}
 #dialog:has(.quote-workspace) .dialog-body,#dialog:has(.cost-workspace) .dialog-body{padding:14px}
 #dialog:has(.quote-workspace) .dialog-foot,#dialog:has(.cost-workspace) .dialog-foot{margin:16px -14px -14px;padding:12px 14px;gap:8px;flex-direction:row}
 #dialog:has(.quote-workspace) .dialog-foot button,#dialog:has(.cost-workspace) .dialog-foot button{min-height:44px;min-width:0;flex:1;font-size:14px;padding:10px 7px}
 .quote-workspace-intro,.cost-workspace-heading{gap:8px;margin-bottom:12px}
 .quote-workspace-intro strong,.cost-workspace-heading strong{font-size:15px}
 .quote-workspace-intro p,.cost-workspace-heading p{font-size:12px;margin-top:4px}
 .quote-help{max-width:100%;flex:0 0 auto}
 .quote-help:has(.quote-help-copy:not([hidden])){flex-basis:100%}
 .quote-help-copy{max-width:100%;font-size:12px}
 .quote-workspace-progress{gap:7px 18px;font-size:11px;padding:10px 0;margin-bottom:10px}
 .quote-workspace-progress>span:last-child{width:100%;font-size:10px}
 .quote-editor-head,.cost-line-head{display:none}
 #dialog .quote-editor-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:12px 3px}
 .quote-editor-item{grid-column:1/-1;gap:7px}
 .quote-editor-item>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 9px;flex:1;min-width:0}
 .quote-editor-item h4{font-size:14px}
 .quote-editor-item p{grid-column:1/-1;grid-row:2;margin:0;font-size:11px}
 .quote-editor-item span:not(.quote-row-number){grid-column:2;grid-row:1;white-space:nowrap;font-size:12px}
 .quote-editor-cost{grid-column:1/-1;min-width:0}
 .quote-editor-sale{grid-column:1;min-width:0}
 .quote-row-evidence{grid-column:2;min-width:0}
 #dialog .quote-editor-row .field>span{font-size:11px}
 #dialog .quote-editor-row input,#dialog .quote-editor-row select{font-size:16px;min-height:44px;padding:8px}
 .quote-row-evidence>summary{font-size:12px;min-height:44px;padding-top:12px;box-sizing:border-box}
 .quote-row-evidence[open]{grid-column:1/-1}
 .quote-row-evidence[open]>summary{padding-top:0;min-height:36px}
 .quote-row-evidence>p{font-size:11px}
 #dialog .quote-terms>.form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 #dialog .quote-terms>.form-grid>.field:last-child{grid-column:1/-1}
 .quote-terms h3,.cost-common-terms h3{font-size:14px}
 .quote-terms input{font-size:16px;min-height:44px;min-width:0;width:100%;box-sizing:border-box}
 .quote-version-bar{gap:5px 10px;margin-bottom:11px}
 .quote-version-bar>strong{font-size:16px}
 .quote-version-bar>span{font-size:11px}
 .quote-total-strip{grid-template-columns:1fr 1fr;gap:10px;padding:12px;margin-bottom:10px}
 .quote-total-strip span{font-size:11px}
 .quote-total-strip strong{font-size:17px}
 .quote-total-strip .quote-total-due{grid-column:1/-1;display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;border:0;border-top:1px solid #d1dbca;padding:9px 0 0;text-align:left}
 .quote-total-due strong{font-size:23px}
 .quote-delivery-strip{gap:6px 16px;font-size:12px}
 .quote-key-rule{font-size:12px;margin-bottom:10px}
 .formal-quote-table,.formal-quote-table tbody{display:block;width:100%}
 .formal-quote-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .formal-quote-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px 12px;padding:11px 0;border-bottom:1px solid var(--line-soft);width:100%}
 .formal-quote-table td{border:0;padding:0;min-width:0;display:block}
 .formal-quote-table .formal-quote-item{grid-column:1/-1;width:100%;padding:0 0 2px}
 .formal-quote-name{font-size:14px;line-height:1.45}
 .formal-quote-spec{font-size:11px;margin-top:1px;line-height:1.4}
 .formal-quote-table .formal-quote-number{display:block;width:100%;white-space:normal;text-align:right;font-size:13px}
 .formal-quote-table td:nth-child(2){grid-column:1/-1;display:flex;justify-content:space-between;gap:10px;text-align:right}
 .formal-quote-table td:nth-child(2) .formal-quote-label{display:inline}
 .formal-quote-label{display:block;text-align:left;color:var(--muted);font-size:11px;line-height:1.5}
 .formal-quote-table td:nth-child(n+3) .formal-quote-label{text-align:right}
 .formal-quote-value{display:block;min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;line-height:1.5}
 #dialog .cost-context-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
 #dialog .cost-context-fields>.field:nth-child(2){grid-column:1/-1;grid-row:2}
 #dialog .cost-context-fields>.field:nth-child(3){grid-column:2;grid-row:1}
 #dialog .cost-context-fields input,#dialog .cost-context-fields select{font-size:16px;min-height:44px;min-width:0;max-width:100%}
 .cost-basis-notice{font-size:12px;margin:11px 0;padding:8px 10px}
 #dialog .cost-input-lines>.cost-input-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;padding:12px 3px}
 .cost-material{grid-column:1/-1}
 .cost-material .check>span{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;width:100%}
 .cost-material strong{font-size:14px}
 .cost-material small{grid-column:1/-1;grid-row:2;margin:0;font-size:11px}
 .cost-material b{grid-column:2;grid-row:1;font-size:12px;white-space:nowrap}
 .cost-main-price{grid-column:1;min-width:0}
 .cost-line-terms{grid-column:2;grid-template-columns:minmax(0,1fr);gap:6px;min-width:0}
 #dialog .cost-input-row input:not([type=checkbox]){font-size:16px;min-height:44px;padding:8px}
 #dialog .cost-input-row .field>span{font-size:11px}
 #dialog .cost-input-row .field>small{font-size:10px}
 .cost-original-fields{grid-column:1/-1;font-size:12px}
 .cost-original-fields summary{min-height:34px}
 #dialog .cost-original-fields .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 #dialog .cost-common-terms>.form-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 #dialog .cost-common-terms input,#dialog .cost-common-terms textarea{font-size:16px;min-height:44px;min-width:0}
 .cost-inclusion-flags{gap:4px;margin-bottom:10px;flex-direction:column}
 .cost-preview-actions>button{width:100%;min-height:44px;font-size:14px}
 .cost-trace .definition{grid-template-columns:minmax(85px,.75fr) minmax(0,1fr);font-size:12px;gap:7px 10px}
 .cost-trace summary{font-size:12px;line-height:1.5}
 .cost-preview-total{font-size:12px;padding:10px}
 .cost-preview-total strong{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.quote-editor-row{transition:none}}
/* Internal saved-cost list: one comparable summary per quote, details on demand. */
.cost-quote-list{border-top:1px solid var(--line-soft);margin:8px 0 16px}
.cost-quote-record{border-bottom:1px solid var(--line-soft);margin:0}
.cost-quote-record>summary{display:grid;grid-template-columns:minmax(180px,1.1fr) minmax(120px,.7fr) minmax(140px,.7fr);gap:8px 18px;align-items:center;padding:14px 4px;cursor:pointer;list-style:none}
.cost-quote-record>summary:focus-visible{outline:3px solid #3b6eb2;outline-offset:2px}
.cost-record-source{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.cost-record-source>strong{font-size:14px;overflow-wrap:anywhere}
.cost-record-source:before{content:'+';color:var(--muted);font-size:18px}
.cost-quote-record[open] .cost-record-source:before{content:'−'}
.cost-record-coverage{font-size:12px;color:var(--muted)}
.cost-record-total{text-align:right;font-variant-numeric:tabular-nums}
.cost-record-total small{display:block;color:var(--muted);font-size:11px}
.cost-record-total strong{font-size:17px;font-weight:650;overflow-wrap:anywhere}
.cost-record-terms{grid-column:1/-1;font-size:12px;color:var(--muted);padding-left:19px}
.cost-record-body{padding:0 4px 14px}
.cost-record-table table{font-size:12px;min-width:610px}
.cost-record-table td:first-child{white-space:normal;max-width:260px}
.cost-record-table td small{display:block;font-size:11px;color:var(--muted);line-height:1.45;margin-top:3px}
.cost-record-table td:nth-child(n+2),.cost-record-table th:nth-child(n+2){text-align:right;font-variant-numeric:tabular-nums}
.cost-record-label{display:none}
.cost-quote-actions{margin:12px 0;gap:8px}
@media(max-width:359px){
 #dialog .cost-context-fields{grid-template-columns:minmax(0,1fr)}
 #dialog .cost-context-fields>.field:nth-child(2),#dialog .cost-context-fields>.field:nth-child(3){grid-column:1;grid-row:auto}
}
@media(max-width:640px){
 .cost-quote-record>summary{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px 0}
 .cost-record-source{grid-column:1/-1}
 .cost-record-coverage{font-size:11px}
 .cost-record-total strong{font-size:16px}
 .cost-record-total small{font-size:10px}
 .cost-record-terms{padding-left:0;font-size:11px;line-height:1.5}
 .cost-record-body{padding:0 0 12px}
 .cost-record-table table,.cost-record-table tbody{display:block;width:100%;min-width:0}
 .cost-record-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .cost-record-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 12px;padding:12px 0;border-bottom:1px solid var(--line-soft)}
 .cost-record-table td{display:block;border:0;padding:0;min-width:0;overflow-wrap:anywhere;white-space:normal}
 .cost-record-table td:first-child{grid-column:1/-1;max-width:none;font-size:14px}
 .cost-record-table td:nth-child(2){grid-column:1/-1;display:flex;justify-content:space-between;gap:8px}
 .cost-record-table .cost-record-label{display:block;font-size:11px;font-weight:400;line-height:1.5;color:var(--muted)}
 .cost-record-table td:nth-child(2) .cost-record-label{text-align:left}
 .cost-record-table td:nth-child(n+3){font-size:13px;line-height:1.5}
 .cost-record-table td small{font-size:11px;line-height:1.5;margin-top:2px}
 .cost-quote-actions{flex-direction:column}
 .cost-quote-actions button{width:100%;min-height:44px}
}
