.r-shell{color:var(--s360-text,#393735);min-width:0}.r-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}.r-header h1{margin-bottom:8px!important}.r-header p,.r-muted{font-size:12px;color:var(--s360-muted,#81786f)!important;line-height:1.6}.r-preview{font-size:11px;color:var(--s360-muted,#81786f);white-space:nowrap;border:1px solid #e1d9cf;padding:7px 10px;border-radius:3px}.r-back{font-size:12px;padding:0 0 14px;color:#74675b}.r-record{display:grid;grid-template-columns:205px minmax(0,1fr);gap:24px;align-items:start}.r-financial{position:static!important;width:auto!important;padding:0!important;background:transparent!important;border:0!important}.r-card{border:1px solid var(--s360-border,#e4ddd4);background:var(--s360-panel,#fffdf9);padding:19px;margin-bottom:17px;border-radius:3px}.r-card h2{font-size:14px;font-weight:600;margin:0 0 17px}.r-financial dl{margin:0 0 14px}.r-financial dl div{display:flex;justify-content:space-between;font-size:12px;padding:8px 0;border-bottom:1px solid #eee8df}.r-financial dd{margin:0}.r-button{min-height:33px;padding:7px 11px;border:1px solid var(--action-line,#d9d0c6);background:var(--action-wash,#f5f0e9);color:var(--action-ink,#49433c);border-radius:3px;font-size:12px;margin:5px 7px 5px 0}.r-button:disabled{opacity:.5;cursor:default}.r-financial .r-button{width:100%;text-align:left}.r-tabs{display:flex;gap:19px;border-bottom:1px solid #ddd5cb;overflow:auto;margin-bottom:22px}.r-tabs button{font-size:12px;white-space:nowrap;min-height:43px;padding:0 2px;border-bottom:2px solid transparent}.r-tabs button[aria-selected=true]{border-bottom-color:#7950a8;color:#7450a4}.r-panel{min-height:280px}.r-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.r-field{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:0 0 14px}.r-field>span{color:var(--s360-muted,#81786f)}.r-field input,.r-field textarea,.r-search input{width:100%;min-width:0;border:1px solid #ddd5cb;background:#fffefa;border-radius:3px;padding:9px 10px}.r-field textarea{min-height:76px;resize:vertical;line-height:1.5}.r-card details{border:1px solid var(--s360-border,#e4ddd4)}.r-card summary{padding:13px;cursor:pointer;font-size:12px;background:#f6f2ec}.r-product{padding:16px}.r-product>span{display:block;font-size:11px;color:var(--s360-muted,#81786f);margin-bottom:14px}.r-proof{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:12px;margin:18px 0;color:#6e655d}.r-note{padding:14px 0;border-bottom:1px solid #e8e0d7}.r-note time{display:block;font-size:11px;color:var(--s360-muted,#81786f);margin-bottom:10px}.r-dropzone{display:flex;flex-direction:column;gap:10px;align-items:center;border:1px dashed #bfa7dc;background:#faf7fd;padding:25px 15px;margin:15px 0;color:#7450a4;font-size:13px;cursor:pointer}.r-dropzone span{font-size:11px;color:var(--s360-muted,#81786f)}.r-dropzone input{max-width:100%;font-size:12px}.r-file-list{list-style:none;margin:15px 0;padding:0}.r-file-list li{display:flex;flex-direction:column;gap:7px;border-bottom:1px solid #e8e0d7;padding:14px 0;font-size:12px;overflow-wrap:anywhere}.r-file-list li>span{color:var(--s360-muted,#81786f);font-size:11px}.r-search{display:flex;flex-direction:column;gap:8px;max-width:370px;font-size:12px;color:var(--s360-muted,#81786f);margin-bottom:23px}.r-table-scroll{overflow:auto;border:1px solid var(--s360-border,#e4ddd4)}.r-table{width:100%;border-collapse:collapse;min-width:580px;text-align:left}.r-table th{font-size:11px;font-weight:500;color:var(--s360-muted,#81786f);background:#f4efe8;padding:13px 17px}.r-table td{padding:18px 17px;border-top:1px solid #e8e0d7;font-size:12px}.r-record-link{text-decoration:underline;text-underline-offset:3px;padding:5px 0;color:#7450a4}.r-table tr:focus-within,.r-table tbody tr:hover{background:#f6f1e9}.r-feedback{font-size:12px;color:var(--s360-muted,#81786f);min-height:24px;margin-top:12px}.r-shell button:focus-visible,.r-shell input:focus-visible,.r-shell textarea:focus-visible,.r-shell summary:focus-visible{outline:2px solid #7950a8;outline-offset:3px}@media(max-width:1000px){.r-record{grid-template-columns:165px minmax(0,1fr);gap:16px}.r-fields{grid-template-columns:1fr}.r-header{align-items:flex-start;flex-wrap:wrap}.r-tabs{gap:13px}.r-card{padding:15px}}@media(max-width:720px){.r-record{grid-template-columns:1fr}.r-financial{display:grid;grid-template-columns:1fr 1fr;gap:12px}.r-financial .r-card{margin:0 0 14px}.r-preview{white-space:normal}.r-header{gap:12px;margin-bottom:20px}}@media(max-width:420px){.r-financial{grid-template-columns:1fr}.r-tabs{gap:15px}}


.r-shell{display:flex;flex-direction:column;min-height:100%}.r-table-scroll{flex:1;background:var(--s360-panel,#fffdf9)}.r-table th{background:var(--s360-header,var(--s360-panel,#f4efe8))}.r-record-link{color:var(--s360-text,#393735)}.r-field select{width:100%;min-width:0;border:1px solid var(--s360-border,#ddd5cb);background:var(--s360-panel,#fffefa);border-radius:3px;padding:9px 10px}.r-deposit{font-size:12px;margin:13px 0}.r-deposit>summary{cursor:pointer;padding:8px 0}.r-deposit>.r-field{margin-top:12px}

/* Compact record Overview structure. */
.r-shell .r-record-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 18px;margin-bottom:16px}
.r-shell .r-record-meta .r-field{margin-bottom:0}
.r-shell .r-record-meta input,.r-shell .r-record-meta select{padding:7px 8px}
.r-shell .r-project-heading{padding:12px 14px;margin:0 0 17px;border:1px solid var(--s360-border,#e4ddd4);border-radius:2px;background:var(--s360-header,var(--s360-panel,#f4efe8))}
.r-shell .r-project-heading .r-field{margin:0}
.r-shell .r-project-heading input{padding:8px 10px;background:var(--s360-panel,#fffdf9);border-color:var(--s360-border,#e4ddd4);color:var(--s360-text,#393735)}
.r-shell .r-products-scroll{max-width:100%;overflow:auto;border:1px solid var(--s360-border,#e4ddd4);border-radius:2px}
.r-shell .r-products-table{width:100%;min-width:700px;border-collapse:collapse;text-align:left;color:var(--s360-text,#393735);font-size:12px}
.r-shell .r-products-table th{padding:10px 12px;background:var(--s360-header,var(--s360-panel,#f4efe8));color:var(--s360-muted,#81786f);font-size:11px;font-weight:500;white-space:nowrap}
.r-shell .r-products-table td{padding:11px 12px;border-top:1px solid var(--s360-border,#e4ddd4);vertical-align:middle}
.r-shell .r-products-table th:first-child{width:150px}
.r-shell .r-products-table th:nth-child(3){width:55px}
.r-shell .r-products-table th:last-child,.r-shell .r-product-row>td:last-child{text-align:right;white-space:nowrap}
.r-shell .r-product-row .r-product-toggle{display:inline-flex;align-items:center;gap:8px;text-align:left;white-space:nowrap;padding:5px 0;color:var(--s360-text,#393735);font-size:12px;cursor:pointer}
.r-shell .r-product-chevron{width:7px;height:7px;flex:none;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(-45deg);margin-right:2px}
.r-shell .r-product-toggle[aria-expanded=true] .r-product-chevron{transform:translateY(-2px) rotate(45deg)}
.r-shell .r-product-row select{max-width:160px;width:100%;padding:6px 7px;border:1px solid var(--s360-border,#e4ddd4);border-radius:2px;background:var(--s360-panel,#fffdf9);color:var(--s360-text,#393735);font:inherit}
.r-shell .r-product-detail>td{padding:0}
.r-shell .r-product-detail .r-product{padding:16px;background:var(--s360-panel,#fffdf9)}
.r-shell .r-product-detail .r-field:last-child{margin-bottom:0}
.r-shell .r-table tbody>tr[data-r-row]{cursor:pointer}
.r-shell .r-table tbody>tr[data-r-row]:hover,.r-shell .r-table tbody>tr[data-r-row]:focus-within{background:var(--s360-header,var(--s360-panel,#f6f1e9))}
/* Keep the queue proportions steady as live records and search results change. */
.r-shell .r-table {
  table-layout: fixed;
  min-width: 680px;
}
.r-shell .r-table th:nth-child(1) { width: 12.5%; }
.r-shell .r-table th:nth-child(2) { width: 31%; }
.r-shell .r-table th:nth-child(3) { width: 40.5%; }
.r-shell .r-table th:nth-child(4) { width: 16%; }
.r-shell .r-record-queue { min-width: 860px; }
.r-shell .r-record-queue th { font-size:var(--queue-header-size,11px); }
.r-shell .r-record-queue td { font-size:var(--queue-body-size,12px); }
.r-shell .r-record-queue th:nth-child(1) { width: 12%; }
.r-shell .r-record-queue th:nth-child(2) { width: 17%; }
.r-shell .r-record-queue th:nth-child(3) { width: auto; }
.r-shell .r-record-queue th:nth-child(4) { width: 11%; }
.r-shell .r-record-queue .r-queue-date { width: 104px; }
.r-shell .r-record-queue .r-queue-last-message { width: 115px; text-align: center; }
.r-shell .r-record-queue .r-queue-amount { width: 160px; font-variant-numeric: tabular-nums; }
.r-record-queue .r-queue-amount dl { display: grid; gap: 4px; margin: 0; }
.r-record-queue .r-queue-amount dl div { display: flex; justify-content: space-between; gap: 6px; }
.r-record-queue .r-queue-amount dt { color: var(--s360-muted,#81786f); font-size: 10px; }
.r-record-queue .r-queue-amount dd { margin: 0; font-weight: 600; }
.r-shell .r-table th,
.r-shell .r-table td {
  padding-inline: clamp(10px, 1vw, 17px);
}
.r-shell .r-table tr[data-r-row] td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.r-shell .r-record-link {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}
.r-confirmed-customer { display: flex; align-items: center; gap: 5px; min-width: 0; }
.r-confirmed-customer > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media(max-width:1100px){.r-shell .r-record-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.r-shell .r-record-meta{grid-template-columns:1fr}}

/* Proof selection and preview share the record's existing theme surfaces. */
:is(.r-shell,.r-financial) .r-proof-workspace{min-width:0;border:1px solid transparent;border-radius:2px;transition:background-color .12s,border-color .12s}
:is(.r-shell,.r-financial) .r-proof-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:142px;padding:20px;border:1px dashed var(--s360-border,#d9d0c6);border-radius:2px;background:color-mix(in srgb,var(--s360-text,#393735) 2%,var(--s360-panel,#fffdf9));color:var(--s360-text,#393735);font:inherit;cursor:pointer}
:is(.r-shell,.r-financial) .r-proof-drop svg{color:var(--action-ink,var(--s360-accent,#7450a4));margin-bottom:2px}
:is(.r-shell,.r-financial) .r-proof-drop strong{font-size:13px;font-weight:600;color:var(--action-ink,var(--s360-accent,#7450a4))}
:is(.r-shell,.r-financial) .r-proof-drop span,:is(.r-shell,.r-financial) .r-proof-drop small{font-size:12px;color:var(--s360-muted,#81786f);font-weight:400}
:is(.r-shell,.r-financial) .r-proof-drop small{font-size:11px}
:is(.r-shell,.r-financial) .r-proof-drop:hover,:is(.r-shell,.r-financial) .r-proof-drop:focus-visible{border-color:var(--s360-accent,#7450a4)}
:is(.r-shell,.r-financial) .r-proof-workspace.is-dragover{border-color:var(--s360-accent,#7450a4);background:color-mix(in srgb,var(--s360-accent,#7450a4) 9%,var(--s360-panel,#fffdf9))}
:is(.r-shell,.r-financial) .r-proof-workspace.is-dragover .r-proof-drop{background:transparent;border-color:var(--s360-accent,#7450a4)}
:is(.r-shell,.r-financial) .r-proof-workspace.has-proof{display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:20px;align-items:center}
:is(.r-shell,.r-financial) .r-proof-preview{display:flex;align-items:center;justify-content:center;min-width:0;min-height:150px;border:1px solid var(--s360-border,#e4ddd4);border-radius:2px;overflow:hidden;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9))}
:is(.r-shell,.r-financial) .r-proof-image{display:block;width:100%;height:200px;object-fit:contain}
:is(.r-shell,.r-financial) .r-proof-pdf{display:block;width:100%;height:260px;border:0;background:var(--s360-panel,#fffdf9)}
:is(.r-shell,.r-financial) .r-proof-details{display:flex;flex-direction:column;gap:9px;min-width:0;align-items:flex-start;font-size:12px}
:is(.r-shell,.r-financial) .r-proof-details>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}
:is(.r-shell,.r-financial) .r-proof-eyebrow{font-size:11px;color:var(--s360-muted,#81786f)}
:is(.r-shell,.r-financial) .r-proof-file-symbol{display:flex;flex-direction:column;align-items:center;gap:12px;padding:22px;font-size:12px;overflow-wrap:anywhere;max-width:100%}
:is(.r-shell,.r-financial) .r-proof-file-symbol svg{width:28px;height:28px;color:var(--s360-muted,#81786f)}
:is(.r-shell,.r-financial) .r-proof-feedback:empty{display:none}
:is(.r-shell,.r-financial) .r-proof-feedback{margin:10px 0 0}
@media(max-width:700px){:is(.r-shell,.r-financial) .r-proof-workspace.has-proof{grid-template-columns:1fr}:is(.r-shell,.r-financial) .r-proof-image{height:180px}}

/* One record surface; headings, spacing and quiet fills provide the hierarchy. */
.r-shell .r-main{background:var(--s360-panel,#fffdf9);border:1px solid var(--s360-border,#e4ddd4);border-radius:2px}
.r-shell .r-main .r-tabs{border:0;border-bottom:1px solid color-mix(in srgb,var(--s360-border,#e4ddd4) 55%,transparent);background:var(--s360-header,var(--s360-panel,#fffdf9))}
.r-shell .r-main .r-panel{padding:22px 24px;border:0;background:transparent}
.r-shell .r-main .r-card{padding:0;margin:0 0 30px;border:0;border-radius:0;background:transparent;box-shadow:none}
.r-shell .r-main .r-card:last-child{margin-bottom:0}
.r-shell .r-main .r-card h2{margin-bottom:14px}
.r-shell .r-project-heading{padding:0;margin-bottom:18px;border:0;border-radius:0;background:transparent}
.r-shell .r-field input,.r-shell .r-field textarea,.r-shell .r-field select{border-color:transparent;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9));color:var(--s360-text,#393735);transition:background-color .12s,border-color .12s}
.r-shell .r-field input:hover,.r-shell .r-field textarea:hover,.r-shell .r-field select:hover{background:color-mix(in srgb,var(--s360-text,#393735) 5%,var(--s360-panel,#fffdf9))}
.r-shell .r-field input:focus,.r-shell .r-field textarea:focus,.r-shell .r-field select:focus{border-color:var(--s360-accent,#7450a4);background:var(--s360-panel,#fffdf9)}
.r-shell .r-products-scroll{border:0;border-radius:0}
.r-shell .r-products-table th{background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9))}
.r-shell .r-products-table td{border-top:1px solid color-mix(in srgb,var(--s360-border,#e4ddd4) 45%,transparent)}
.r-shell .r-product-row select{border-color:transparent;background:color-mix(in srgb,var(--s360-accent,#7450a4) 5%,var(--s360-panel,#fffdf9))}
.r-shell .r-product-row select:focus-visible{outline:2px solid var(--s360-accent,#7450a4);outline-offset:2px}
.r-shell .r-product-detail .r-product{background:color-mix(in srgb,var(--s360-text,#393735) 2%,var(--s360-panel,#fffdf9))}
:is(.r-shell,.r-financial) .r-proof-preview{border:0}
:is(.r-shell,.r-financial) .r-proof-drop{border-color:transparent;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9))}
.r-shell .r-note{padding:0 0 16px;border:0}
.r-shell .r-note:last-of-type{padding-bottom:0}
.r-shell .r-main .r-card details{border:0}
.r-shell .r-main .r-card summary{padding:10px 0;background:transparent}
#section-sidebar .r-financial dl div{border:0;padding:7px 0}
#section-sidebar .r-financial dl div:nth-child(6){margin-top:7px;padding-top:12px;border-top:1px solid var(--s360-border,#e4ddd4);font-weight:600}
#section-sidebar .r-financial .r-deposit{border:0}
#section-sidebar .r-financial .r-deposit>summary{background:transparent}
@media(max-width:720px){.r-shell .r-main .r-panel{padding:18px 15px}.r-shell .r-main .r-card{margin-bottom:24px}}

/* Quiet file workspace shared by job files and job permit documents. */
.r-shell .r-file-location{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:12px;color:var(--s360-muted,#81786f);margin:0 0 18px}
.r-shell .r-file-location svg{width:18px;height:18px;flex:none}
.r-shell .r-file-location strong{font-weight:500;color:var(--s360-text,#393735)}
.r-shell .r-file-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.r-shell .r-file-toolbar .r-button{display:inline-flex;align-items:center;gap:6px;margin:0;flex:none}
.r-shell .r-file-toolbar[hidden],.r-shell .r-file-toolbar .r-button[hidden]{display:none}
.r-shell .r-file-toolbar svg,.r-shell .r-document-name svg,.r-shell .r-document-remove svg{width:16px;height:16px;flex:none}
.r-shell .r-file-search{display:flex;align-items:center;gap:9px;min-width:0;width:320px;max-width:100%;padding:7px 10px;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9));border-radius:2px;color:var(--s360-muted,#81786f)}
.r-shell .r-file-search input{font:inherit;font-size:12px;border:0;min-width:0;width:100%;background:transparent;color:var(--s360-text,#393735);padding:3px 0}
.r-shell .r-file-search:focus-within{outline:2px solid var(--s360-accent,#7450a4);outline-offset:2px}
.r-shell .r-file-search input:focus-visible{outline:0}
.r-shell .r-file-drop{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:76px;padding:16px;border:1px dashed transparent;border-radius:2px;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9));color:var(--action-ink,var(--s360-accent,#7450a4));font:inherit;font-size:12px;cursor:pointer;transition:background-color .12s,border-color .12s}
.r-shell .r-file-drop svg{width:20px;height:20px}
.r-shell .r-file-drop:hover,.r-shell .r-file-drop.is-dragover{border-color:var(--s360-accent,#7450a4);background:color-mix(in srgb,var(--s360-accent,#7450a4) 7%,var(--s360-panel,#fffdf9))}
.r-shell .r-document-empty{text-align:center;font-size:12px;color:var(--s360-muted,#81786f);padding:25px 0;margin:0}
.r-shell .r-documents-scroll{overflow:auto;margin-top:16px}
.r-shell .r-documents-table{width:100%;border-collapse:collapse;text-align:left;min-width:360px;font-size:12px}
.r-shell .r-documents-table th{padding:10px 12px;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9));color:var(--s360-muted,#81786f);font-size:11px;font-weight:500}
.r-shell .r-documents-table td{padding:9px 12px;border-bottom:1px solid color-mix(in srgb,var(--s360-border,#e4ddd4) 45%,transparent)}
.r-shell .r-documents-table tbody tr{cursor:pointer}
.r-shell .r-documents-table tbody tr:hover{background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9))}
.r-shell .r-documents-table th:first-child{width:68%}
.r-shell .r-document-name{display:inline-flex;align-items:center;gap:10px;color:var(--s360-text,#393735);text-decoration:none;overflow-wrap:anywhere}
.r-shell .r-document-name:hover{text-decoration:underline;text-underline-offset:3px}
.r-shell .r-document-remove{display:inline-flex;margin:0;padding:7px;min-height:30px}
.r-shell .r-reuse-option{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:11px;color:var(--s360-muted,#81786f)}
.r-shell .r-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.r-record-dialog{width:min(680px,calc(100vw - 36px));max-height:85vh;overflow:auto;padding:22px;border:1px solid var(--s360-border,#e4ddd4);border-radius:3px;background:var(--s360-panel,#fffdf9);color:var(--s360-text,#393735);box-shadow:0 12px 48px #0003}
.r-record-dialog::backdrop{background:#0005}
.r-record-dialog .r-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}
.r-record-dialog h2{font-size:15px;margin:0;overflow-wrap:anywhere;font-weight:600}
.r-record-dialog [data-r-dialog-close]{display:flex;padding:5px;color:var(--s360-muted,#81786f)}
.r-record-dialog [data-r-dialog-close] svg{width:18px;height:18px}
.r-record-dialog .r-dialog-preview{display:block;width:100%;max-height:55vh;object-fit:contain;background:color-mix(in srgb,var(--s360-text,#393735) 3%,var(--s360-panel,#fffdf9));border:0}
.r-record-dialog iframe.r-dialog-preview{height:52vh}
.r-record-dialog .r-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}
.r-record-dialog .r-dialog-note{font-size:12px;color:var(--s360-muted,#81786f);line-height:1.6;overflow-wrap:anywhere}
.r-record-dialog .r-dialog-check{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.6;margin-top:16px}
@media(max-width:620px){.r-shell .r-file-toolbar{gap:10px}.r-shell .r-file-toolbar .r-button{padding:8px}.r-shell .r-file-search{width:auto;flex:1}.r-shell .r-file-location{gap:6px}.r-shell .r-documents-table th:first-child{width:auto}}

/* The current proof stays first in the record rail, with a narrow preview. */
.r-financial .r-proof-workspace.has-proof{grid-template-columns:minmax(0,1fr);gap:10px}
.r-financial .r-proof-drop{min-height:125px;padding:14px 10px;gap:7px;line-height:1.4}
.r-financial .r-proof-drop strong{font-size:12px}
.r-financial .r-proof-drop span,.r-financial .r-proof-drop small{font-size:11px}
.r-financial .r-proof-preview{min-height:100px}
.r-financial .r-proof-image{height:145px}
.r-financial .r-proof-pdf{height:185px}
.r-financial .r-proof-details{gap:6px}
.r-financial .r-proof-details>strong{font-size:12px}
.r-financial .r-proof-details .r-button{margin-bottom:0}

.r-record{grid-template-areas:"tools main"}
.r-record>.r-main{grid-area:main}
.r-record>.r-financial{grid-area:tools}
@media(max-width:720px){.r-record{grid-template-areas:"main" "tools"}}

/* Native product/part hierarchy, restyled for the disconnected 2.0 shell. */
.r-shell .r-product-status{display:flex;align-items:center;gap:8px}
.r-shell .r-product-status .r-button{margin:0;flex:none}
.r-shell .r-product-status select{min-width:135px;max-width:180px}
.r-shell .r-product-description{margin:0 0 9px;line-height:1.6}
.r-shell .r-product-detail h3{font-size:12px;margin:18px 0 7px;font-weight:600}
.r-shell .r-product-detail p{margin-top:0;line-height:1.6}
.r-shell .r-parts{list-style:none;padding:0;margin:0}
.r-shell .r-parts li{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 18px;padding:9px 0;border-top:1px solid color-mix(in srgb,var(--s360-border,#e4ddd4) 55%,transparent);overflow-wrap:anywhere}
.r-shell .r-parts li>div{flex:1 1 200px}
.r-shell .r-part-qty{flex:none;color:var(--s360-muted,#81786f);font-variant-numeric:tabular-nums}
