/* RN sale: one task, one primary action. Scoped to the existing dialog. */
dialog.trsa-production-dialog {
  box-sizing: border-box; width: min(1120px, 96vw); max-width: 96vw; max-height: 92dvh;
  top: 4dvh; bottom: auto; margin-block: 0;
  padding: 0; border: 1px solid #e5e5e7; border-radius: 20px; background: #fff; color: #1d1d1f;
  box-shadow: 0 24px 80px #0003; font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-variant-numeric: tabular-nums;
}
dialog.trsa-production-dialog::backdrop { background: #16181d70; }
.trsa-production-dialog *, .trsa-production-dialog *::before { box-sizing: border-box; }
.trsa-production-dialog [hidden] { display: none !important; }
.trsa-production-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 16px; padding: 16px 28px; border-bottom: 1px solid #ececee; background: #fff; position: sticky; top: 0; z-index: 2; }
.trsa-production-head h2 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.2px; }
.trsa-sale-header-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-width: 0; flex: 1; }
.trsa-sale-header-links { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.trsa-sale-document-link, .trsa-sale-tutorial-link { display: inline-flex; align-items: center; gap: 5px; color: #0069cc; font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; min-height: 32px; }
.trsa-sale-document-link:hover, .trsa-sale-tutorial-link:hover { text-decoration: underline; }
.trsa-sale-document-link:focus-visible, .trsa-sale-tutorial-link:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 4px; }
.trsa-sale-document-link svg, .trsa-sale-tutorial-link svg { flex-shrink: 0; }
.trsa-production-body { padding: 28px; }
.trsa-made-to-order-choice { max-width: 780px; margin-inline: auto; }
.trsa-made-to-order-choice h4 { color: #0071e3; overflow-wrap: anywhere; }
.trsa-vp-receipt-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; }
.trsa-production-dialog .trsa-vp-receipt-heading h3 { margin: 0; }
.trsa-vp-payment-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #65656b; }
.trsa-vp-payment-status[data-state="paid"] { color: #18763c; font-weight: 600; }
.trsa-vp-payment-status[data-state="partial"], .trsa-vp-payment-status[data-state="unknown"] { color: #8a5b13; }
.trsa-vp-payment-status .trsa-sale-opening-spinner { width: 14px; height: 14px; flex-basis: 14px; }
.trsa-production-dialog .trsa-vp-payment-check { color: #0069cc; font-size: 13px; padding: 4px 6px; border: 0; background: transparent; }
.trsa-vp-payment-check:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; border-radius: 4px; }
.trsa-vp-payment-batch { max-width: 700px; }
.trsa-vp-payment-batch-status { font-weight: 600; line-height: 1.6; }
.trsa-vp-payment-batch-results { padding-left: 20px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.trsa-vp-payment-batch-results li { margin-block: 8px; }
.trsa-vp-payment-batch-results [data-state="paid"] { color: #18763c; }
.trsa-vp-payment-batch-results [data-state="unknown"] { color: #8a5b13; }
.trsa-sale-opening { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 240px; padding: 32px 20px; color: #65656b; }
.trsa-sale-opening-spinner { width: 22px; height: 22px; flex: 0 0 22px; border: 2px solid #e0e0e3; border-top-color: #0071e3; border-radius: 50%; animation: trsa-sale-opening-spin .8s linear infinite; }
.trsa-production-dialog[data-sale-loading="true"] [data-header-status] { visibility: hidden; }
@keyframes trsa-sale-opening-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .trsa-sale-opening-spinner { animation: none; } }
.trsa-sale-simple { padding: clamp(24px, 5vw, 64px) 28px; min-height: 230px; text-align: center; }
.trsa-sale-simple[data-input="true"] { padding: 0 28px 20px; min-height: 0; text-align: left; }
.trsa-sale-simple[data-input="true"] .trsa-sale-simple-summary { margin-inline: 0 !important; }
.trsa-production-dialog[data-sale-view="simple"] .trsa-production-body > .trsa-advance-totals,
.trsa-production-dialog[data-sale-view="simple"] .trsa-production-progress { display: none; }
.trsa-sale-simple-summary { max-width: 680px; margin-inline: auto !important; white-space: pre-line; overflow-wrap: anywhere; color: #65656b; }
.trsa-sale-meter { position: relative; overflow: hidden; height: 24px; width: min(100%, 620px); margin: 30px auto 22px; border-radius: 14px; background: #e9f1fc; }
.trsa-sale-meter > span { display: block; height: 100%; border-radius: inherit; background: #0071e3; transition: width .2s ease; }
.trsa-sale-meter[data-indeterminate="true"] > span { width: 35%; }
.trsa-sale-meter[data-indeterminate="true"][data-running="true"] > span { animation: trsa-sale-wait 1.6s ease-in-out infinite alternate; }
.trsa-sale-meter[data-indeterminate="true"][data-running="false"] > span { width: 0; }
@keyframes trsa-sale-wait { from { transform: translateX(0); } to { transform: translateX(185%); } }
.trsa-sale-current { font-size: 17px; font-weight: 500; }
.trsa-sale-simple :is(.trsa-production-error, .trsa-sale-status-note) { max-width: 680px; margin-inline: auto; }
.trsa-production-dialog .trsa-sale-view-switch { border: 0; padding: 6px; background: transparent; font-size: 13px; white-space: nowrap; }
.trsa-sale-view-track { position: relative; display: inline-block; flex: 0 0 38px; height: 24px; border-radius: 14px; background: #b8b8be; transition: background .18s; }
.trsa-sale-view-track::before { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform .18s; }
.trsa-sale-view-switch[aria-checked="true"] .trsa-sale-view-track { background: #0071e3; }
.trsa-sale-view-switch[aria-checked="true"] .trsa-sale-view-track::before { transform: translateX(14px); }
@media (prefers-reduced-motion: reduce) {
  .trsa-sale-meter > span, .trsa-sale-view-track, .trsa-sale-view-track::before { transition: none; animation: none !important; }
  .trsa-sale-meter[data-indeterminate="true"] > span { margin-inline: auto; }
}
@media (max-width: 600px) { .trsa-sale-simple { padding: 24px 16px; } .trsa-sale-meter { height: 22px; } }
.trsa-production-dialog h3 { margin: 0 0 12px; font-size: 17px; font-weight: 600; }
.trsa-production-dialog h3.trsa-production-page-title, .trsa-production-payment-setup h3 { font-size: 26px; letter-spacing: -.6px; line-height: 1.25; }
.trsa-production-dialog h4 { margin: 0 0 10px; font-size: 15px; }
.trsa-production-dialog p { margin: 8px 0 16px; }
.trsa-production-section { margin: 28px 0; }
.trsa-production-page-title:focus { outline: none; }
.trsa-production-muted, .trsa-production-intro, .trsa-production-footnote { color: #65656b; }
.trsa-production-warning { padding: 12px 16px; border-radius: 10px; background: #fbf7ed; color: #775722; }
.trsa-production-error { color: #a3342b; white-space: pre-wrap; overflow-wrap: anywhere; }
.trsa-production-dialog button, .trsa-production-button {
  appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 16px; border-radius: 10px; border: 1px solid #d8d8dd;
  background: #fff; color: #1d1d1f; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none;
}
.trsa-production-dialog button:hover:not(:disabled), .trsa-production-button:hover { background: #f5f5f7; }
.trsa-production-dialog button.primary { background: #0071e3; color: #fff; border-color: #0071e3; }
.trsa-production-dialog button.primary:hover:not(:disabled) { background: #0064ca; }
.trsa-production-dialog button.quiet { border-color: transparent; color: #0069cc; background: transparent; }
.trsa-production-dialog button:disabled { opacity: .45; cursor: default; }
.trsa-production-dialog :is(button, a, input, select, [tabindex="0"]):focus-visible { outline: 3px solid #80b7ef; outline-offset: 3px; }
.trsa-production-dialog select, .trsa-production-dialog input[type="number"] { font: inherit; color: inherit; border: 1px solid #c5c5cb; border-radius: 10px; background: #fff; padding: 12px; min-height: 48px; }
.trsa-production-dialog input[type="number"] { display: block; width: 160px; margin: 8px 0 16px; }
.trsa-production-payment-controls { display: grid; gap: 8px; margin: 24px 0; }
.trsa-production-receipt-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; margin: 24px 0; }
.trsa-production-receipt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.trsa-production-receipt-field > label { font-size: 13px; font-weight: 500; color: #65656b; }
.trsa-production-receipt-field :is(input, select) { width: 100%; min-height: 48px; font: inherit; color: inherit; border: 1px solid #c5c5cb; border-radius: 10px; background: #fff; padding: 12px; }
/* Shared by MP, VP, advances and refund dropdowns, including inline panels. */
dialog.trsa-production-dialog select:not([multiple]):not([size]),
dialog.trsa-production-dialog select:not([multiple])[size="1"] {
  appearance: none; -webkit-appearance: none; padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230071e3' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center; background-repeat: no-repeat; background-size: 20px;
}
@media (forced-colors: active) {
  dialog.trsa-production-dialog select:not([multiple]):not([size]),
  dialog.trsa-production-dialog select:not([multiple])[size="1"] { appearance: auto; -webkit-appearance: auto; background-image: none; }
}
.trsa-production-receipt-field .trsa-production-saved-payment { margin: 0; padding: 12px 0; }
.trsa-production-receipt-field .trsa-production-error { margin: 0; font-size: 13px; }
.trsa-production-fiscal-buyer-summary { font-size: 14px; color: #51515a; }
.trsa-production-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 24px 0 0; }
.trsa-production-page > .trsa-production-actions { justify-content: flex-end; }
.trsa-production-wizard-footer { position: sticky; bottom: 0; z-index: 2; background: #fff; border-top: 1px solid #ececee; padding: 12px 28px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px 12px; }
.trsa-sale-footer-info, .trsa-sale-footer-primary, .trsa-sale-header-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.trsa-sale-footer-info { min-width: 0; justify-content: flex-start; }
.trsa-sale-footer-options { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.trsa-production-dialog button.trsa-sale-more-options { gap: 6px; padding-inline: 8px; white-space: nowrap; font-size: 13px; }
.trsa-sale-more-options svg { width: 16px; height: 16px; flex-shrink: 0; }
.trsa-sale-more-options[aria-expanded="true"] svg { transform: rotate(180deg); }
.trsa-sale-footer-primary { justify-content: flex-end; }
.trsa-production-dialog button.trsa-obuka-toggle { flex-shrink: 0; border: 0; background: transparent; padding: 8px 4px; gap: 10px; font-size: 12px; font-weight: 600; }
.trsa-obuka-track { display: inline-block; position: relative; width: 44px; height: 26px; border-radius: 20px; background: #86868b; transition: background .18s ease; }
.trsa-obuka-track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #0003; transition: transform .18s ease; }
.trsa-obuka-toggle[aria-checked="true"] .trsa-obuka-track { background: #248a3d; }
.trsa-obuka-toggle[aria-checked="false"] .trsa-obuka-track::before { transform: translateX(18px); }
.trsa-obuka-label { display: flex; flex-direction: column; line-height: 1.35; text-align: center; color: #6e6e73; }
.trsa-obuka-label[data-selected="true"] { color: #1d1d1f; }
.trsa-obuka-track { flex-shrink: 0; }
.trsa-link-summary { padding: 16px; border: 1px solid #e5e5ea; border-radius: 14px; background: #fafafa; }
.trsa-link-summary p { margin: 6px 0 12px; }
.trsa-link-summary ul { list-style: none; padding: 0; margin: 0; }
.trsa-link-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.trsa-link-summary li + li { border-top: 1px solid #e5e5ea; }
@media (prefers-reduced-motion: reduce) { .trsa-obuka-track, .trsa-obuka-track::before { transition: none; } }
.trsa-production-wizard-footer > .trsa-sale-issue-warning { grid-column: 1 / -1; margin: 0; padding: 0; border-radius: 0; background: transparent; text-align: right; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.trsa-sale-header-tools { flex-wrap: nowrap; }
.trsa-production-head [data-header-status] { grid-column: 1 / -1; margin: 0; font-size: 12px; line-height: 1.4; min-width: 0; overflow-wrap: anywhere; }
.trsa-production-head .trsa-sale-header-tools { min-width: 0; }
.trsa-sale-header-tools > button { flex-shrink: 0; }
.trsa-production-dialog button.trsa-sale-close { font-size: 26px; font-weight: 400; width: 44px; padding: 0; color: #65656b; }
.trsa-sale-inline { margin: 0 28px 20px; padding-top: 20px; border-top: 1px solid #ececee; }
.trsa-sale-inline .trsa-production-section { margin: 16px 0; }
.trsa-production-dialog button.trsa-reversal-toggle { gap: 8px; padding-inline: 12px; color: #51515a; white-space: nowrap; font-size: 14px; }
.trsa-production-dialog button.trsa-reversal-toggle:hover:not(:disabled), .trsa-production-dialog button.trsa-reversal-toggle[aria-expanded="true"] { background: #f5f5f7; color: #1d1d1f; }
.trsa-reversal-chevron { display: block; flex-shrink: 0; width: 16px; height: 16px; transition: transform .16s ease; }
.trsa-reversal-toggle[aria-expanded="true"] .trsa-reversal-chevron { transform: rotate(180deg); }
.trsa-production-dialog .trsa-receipt-download { padding-inline: 12px; border-color: transparent; background: transparent; color: #0069cc; white-space: nowrap; font-size: 14px; }
.trsa-production-dialog .trsa-receipt-download:hover { background: #f5f5f7; }
.trsa-receipt-download svg { flex-shrink: 0; }
.trsa-production-dialog button.trsa-sale-recovery-receipt { font-size: 14px; border-color: #d8e7f6; }
.trsa-production-wizard-footer[data-page="pdf"] .trsa-sale-footer-primary { gap: 12px; }
@media (prefers-reduced-motion: reduce) { .trsa-reversal-chevron { transition: none; } }
.trsa-reversal-summary { padding: 10px 14px; border-radius: 10px; background: #f5f5f7; color: #51515a; font-size: 13px; }
.trsa-reversal-summary[data-state="refunded"], .trsa-reversal-summary[data-state="cancelled"] { background: #fff2e5; color: #874300; }
.trsa-reversal-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trsa-sale-progress { list-style: none; padding: 0; margin: 20px 0; }
.trsa-sale-progress > li { position: relative; padding: 0 0 20px 42px; min-height: 48px; }
.trsa-sale-progress > li:last-child { padding-bottom: 0; }
.trsa-sale-progress > li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 2px; background: #e5e5e7; }
.trsa-sale-step-marker { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #ededf0; color: #65656b; font-size: 13px; font-weight: 600; }
.trsa-sale-progress [data-state="completed"] > .trsa-sale-step-marker { background: #21834c; color: #fff; }
.trsa-sale-progress [data-state="active"] > .trsa-sale-step-marker { background: #0071e3; color: #fff; }
.trsa-sale-progress :is([data-state="unknown"], [data-state="failed"]) > .trsa-sale-step-marker { background: #fbf1e6; color: #775722; }
.trsa-sale-action-heading { min-height: 28px; padding: 2px 0 8px; display: flex; align-items: baseline; gap: 10px; }
.trsa-sale-action-heading > span { font-size: 13px; flex-shrink: 0; }
.trsa-production-dialog button.trsa-sale-pdf-link { display: inline; padding: 0; min-height: 0; border: 0; border-radius: 2px; background: transparent; color: #216547; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.trsa-production-dialog button.trsa-sale-pdf-link:hover { color: #16482f; }
.trsa-production-dialog button.trsa-sale-pdf-link:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }
.trsa-production-dialog button.trsa-sale-pdf-link:disabled { cursor: progress; opacity: .65; }
.trsa-sale-progress [data-state="completed"] .trsa-sale-action-heading > :is(strong, span) { color: #216547; }
.trsa-sale-progress [data-state="active"] { border-color: #0071e3; }
.trsa-sale-progress > li[data-state="active"] .trsa-sale-action-status::before { content: ""; display: inline-block; width: 12px; height: 12px; box-sizing: border-box; margin-right: 6px; vertical-align: -2px; border: 2px solid #0071e3; border-right-color: transparent; border-radius: 50%; animation: trsa-production-loading .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .trsa-sale-progress > li[data-state="active"] .trsa-sale-action-status::before { animation: none; } }
.trsa-sale-progress :is([data-state="unknown"], [data-state="failed"]) .trsa-sale-action-heading > strong { color: #775722; }
.trsa-production-table-wrap { overflow-x: auto; }
.trsa-sale-action-table { table-layout: fixed; min-width: 620px; }
.trsa-sale-action-table th:first-child { width: 14%; }
.trsa-sale-action-table th:nth-child(2) { width: 35%; }
.trsa-sale-action-table th:nth-child(n+3) { width: 17%; }
.trsa-sale-action-table td:nth-child(3), .trsa-sale-action-table th:nth-child(3) { text-align: right; white-space: nowrap; }
.trsa-production-dialog .trsa-sale-action-table :is(th, td) { padding: 8px 14px; overflow-wrap: anywhere; }
.trsa-sale-negative { color: #b42318; }
.trsa-sale-positive { color: #216547; }
.trsa-production-dialog button.trsa-sale-option { justify-content: flex-start; text-align: left; padding: 24px; }
.trsa-sale-option .trsa-sale-advance-word { color: #0071e3; }
.trsa-production-progress { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0 0 28px; color: #65656b; font-size: 14px; }
.trsa-production-progress li { display: flex; align-items: center; gap: 8px; flex: 1; }
.trsa-production-progress li:first-child::after { content: ""; height: 1px; background: #e5e5e7; flex: 1; margin-left: 8px; }
.trsa-production-step-number { display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #f2f2f4; font-size: 13px; }
.trsa-production-progress [aria-current="step"] { color: #1d1d1f; font-weight: 600; }
.trsa-production-progress [aria-current="step"] .trsa-production-step-number { background: #0071e3; color: #fff; }
.trsa-production-checklist { list-style: none; padding: 0 0 20px; margin: 0 0 24px; border-bottom: 1px solid #ececee; }
.trsa-production-checklist li { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.trsa-production-checklist small { color: #65656b; font-size: 13px; }
.trsa-production-summary { border-radius: 14px; padding: 22px; background: #f5f5f7; display: grid; gap: 6px; margin: 24px 0; }
.trsa-production-total { font-size: 34px; letter-spacing: -.8px; line-height: 1.2; font-weight: 600; }
.trsa-production-payment { color: #65656b; }
.trsa-production-amounts { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid #e0e0e3; }
.trsa-production-amounts dd { margin: 0; text-align: right; }
.trsa-production-scroll { overflow-x: auto; overscroll-behavior-inline: contain; margin: 16px 0; border: 1px solid #e5e5e7; border-radius: 12px; }
.trsa-production-dialog table { border-collapse: collapse; width: 100%; font-size: 14px; }
.trsa-production-dialog th, .trsa-production-dialog td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid #ececee; white-space: pre-line; }
.trsa-production-dialog th { font-weight: 600; background: #f5f5f7; }
.trsa-production-dialog .trsa-sale-action-table th { background: transparent; color: #65656b; font-size: 12px; font-weight: 500; }
.trsa-production-dialog tbody tr:last-child td { border-bottom: 0; }
.trsa-production-dialog table.trsa-production-line-table { min-width: 1160px; }
.trsa-production-dialog table.trsa-vp-line-table { min-width: 1160px; }
.trsa-vp-line-table td:nth-child(2) { min-width: 220px; }
.trsa-vp-line-table td:nth-child(n+4), .trsa-vp-line-table th:nth-child(n+4) { text-align: right; white-space: nowrap; }
.trsa-production-line-table thead tr:first-child th[colspan] { text-align: center; }
.trsa-production-line-table tbody td:nth-child(n+5), .trsa-production-line-table tfoot td { text-align: right; white-space: nowrap; }
.trsa-production-line-table tbody td:nth-child(3) { min-width: 220px; }
.trsa-production-line-table tfoot { font-weight: 600; background: #f5f5f7; }
.trsa-production-status { font-size: 13px; }
.trsa-stock-check-table table { table-layout: fixed; min-width: 700px; width: 100%; }
.trsa-stock-check-table th:nth-child(1) { width: 40%; }
.trsa-stock-check-table th:nth-child(2) { width: 18%; }
.trsa-stock-check-table th:nth-child(3) { width: 16%; }
.trsa-stock-check-table th:nth-child(4) { width: 26%; }
.trsa-stock-check-table td { overflow-wrap: anywhere; }
.trsa-stock-check-table td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.trsa-production-status[data-status="checking"] { color: #0066cc; }
.trsa-production-status[data-status="verified"], .trsa-production-timeline [data-status="completed"] .trsa-production-step-number { color: #216547; }
.trsa-production-status[data-status="failed"] { color: #9f352d; }
.trsa-production-timeline { list-style: none; padding: 20px; margin: 16px 0 24px; background: #f5f5f7; border-radius: 14px; }
.trsa-production-timeline li { display: flex; gap: 14px; position: relative; padding: 0 0 22px; }
.trsa-production-timeline li:last-child { padding-bottom: 0; }
.trsa-production-timeline .trsa-production-step-number { background: #fff; }
.trsa-production-timeline li:not(:last-child)::before { position: absolute; content: ""; left: 13px; top: 34px; bottom: 6px; width: 1px; background: #e2e2e6; }
.trsa-production-timeline li > div { flex: 1; min-width: 0; }
.trsa-production-timeline li p { margin: 4px 0 0; font-size: 14px; }
.trsa-production-action-status { display: block; font-size: 13px; color: #65656b; }
.trsa-production-timeline [data-status="active"] .trsa-production-step-number { background: #eaf3fd; color: #0069cc; }
.trsa-production-timeline :is([data-status="failed"], [data-status="unknown"]) .trsa-production-step-number { background: #fbf1e6; color: #775722; }
.trsa-production-consent { display: flex; align-items: flex-start; gap: 12px; padding: 20px 0; border-top: 1px solid #ececee; margin-top: 24px; }
.trsa-production-consent input { flex-shrink: 0; width: 18px; height: 18px; margin: 3px 0 0; accent-color: #0071e3; }
.trsa-production-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px; background: #f5f5f7; border-radius: 12px; margin: 20px 0; }
.trsa-production-tabs button { border: 0; background: transparent; white-space: nowrap; flex: 1; }
.trsa-production-tabs [aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px #0001; }
.trsa-production-issue, .trsa-production-receipt { padding: 18px; border-radius: 12px; background: #f5f5f7; margin: 16px 0; }
.trsa-production-issue ul { overflow-wrap: anywhere; white-space: pre-wrap; padding-left: 20px; }
.trsa-production-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.trsa-production-body[aria-busy="true"] { min-height: 140px; }
.trsa-production-body[aria-busy="true"] > [role="status"] { display: flex; align-items: center; gap: 12px; }
.trsa-production-body[aria-busy="true"] > [role="status"]::before { content: ""; width: 20px; height: 20px; border: 2px solid #e0e0e3; border-top-color: #0071e3; border-radius: 50%; animation: trsa-production-loading .8s linear infinite; }
.trsa-recipe-list > table { width: 100%; min-width: 620px; table-layout: fixed; }
.trsa-recipe-list > table > thead th:nth-child(1) { width: 6%; }
.trsa-recipe-list > table > thead th:nth-child(2) { width: 16%; }
.trsa-recipe-list > table > thead th:nth-child(3) { width: 40%; }
.trsa-recipe-list > table > thead th:nth-child(4) { width: 17%; }
.trsa-recipe-list > table > thead th:nth-child(5) { width: 21%; }
.trsa-recipe-list > table > tbody > tr > td { white-space: normal; overflow-wrap: anywhere; vertical-align: top; }
.trsa-recipe-list tr[hidden] { display: none; }
.trsa-recipe-expanded { padding: 14px 0; min-width: 0; }
.trsa-recipe-expanded .article-flow-term { padding: 12px; }
.trsa-recipe-expanded .article-flow-head { margin-bottom: 8px; }
.trsa-recipe-expanded .article-flow-head h3 { font-size: 16px; }
.trsa-reversal-fields { display: grid; gap: 14px; margin: 18px 0; max-width: 580px; }
.trsa-reversal-fields > label { display: block; font-size: 14px; font-weight: 500; }
.trsa-reversal-fields input[type="text"] { display: block; box-sizing: border-box; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1px solid #d2d2d7; border-radius: 9px; background: #fff; color: #1d1d1f; font: inherit; }
.trsa-reversal-fields input:focus-visible { outline: 3px solid #0071e345; outline-offset: 2px; }
.trsa-reversal-fields input[type="checkbox"] { accent-color: #0071e3; }
.trsa-reversal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin: 14px 0; }
.trsa-reversal-navigation { justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid #e9e9ed; margin-top: 24px; }
.trsa-reversal-step-heading { display: flex; align-items: center; gap: 12px; margin: 20px 0 12px; }
.trsa-reversal-correction .trsa-reversal-step-heading { justify-content: center; }
.trsa-reversal-correction .trsa-reversal-fields { margin-inline: auto; text-align: center; }
.trsa-reversal-correction [data-reversal-field="reason"] { text-align: center; }
.trsa-reversal-reason-label { font-size: 14px; font-weight: 500; }
.trsa-reversal-reasons { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.trsa-production-dialog .trsa-reversal-reasons > button { font-size: 13px; min-height: 40px; padding: 8px 12px; border-radius: 20px; background: #f5f5f7; border-color: #e5e5ea; }
.trsa-production-dialog .trsa-reversal-reasons > button[aria-pressed="true"] { background: #eaf3ff; color: #0066cc; border-color: #0071e3; }
.trsa-reversal-other-reason { flex: 1 1 260px; min-width: 0; max-width: 100%; }
.trsa-reversal-other-reason > label { font-size: 13px; color: #65656b; }
.trsa-reversal-other-reason input { margin-top: 4px; }
.trsa-reversal-kicker { color: #65656b; font-size: 13px; white-space: nowrap; background: #f5f5f7; border-radius: 8px; padding: 4px 8px; }
.trsa-production-dialog [data-reversal-step-title] { font-size: 16px; font-weight: 600; margin: 0; }
.trsa-reversal-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 10px; margin: 16px 0; }
.trsa-reversal-choice { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid #dedee3; border-radius: 14px; background: #fafafa; color: #1d1d1f; text-align: left; font: inherit; cursor: pointer; }
.trsa-reversal-choice strong { font-size: 15px; font-weight: 600; }
.trsa-reversal-choice span { font-size: 13px; line-height: 1.45; }
.trsa-reversal-choice:hover { border-color: #a4a4ad; background: #f4f4f7; }
.trsa-reversal-choice[aria-pressed="true"] { border-color: #0071e3; background: #f0f6ff; }
.trsa-reversal-choice:focus-visible, .trsa-reversal-payment select:focus-visible { outline: 3px solid #0071e345; outline-offset: 3px; }
.trsa-reversal-payment { display: grid; gap: 6px; max-width: 580px; font-size: 14px; }
.trsa-reversal-payment select { padding: 10px 12px; border: 1px solid #d2d2d7; border-radius: 9px; background: #fff; color: #1d1d1f; font: inherit; }
.trsa-reversal-fields > .trsa-reversal-attestation { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; font-weight: 400; }
.trsa-reversal-attestation input { margin: 3px 0 0; flex-shrink: 0; }
.trsa-reversal-fields p { margin: -6px 0 2px; font-size: 13px; }
.trsa-reversal-fields .trsa-reversal-consent { margin: 2px 0 0; padding: 12px 14px; border-radius: 10px; background: #f5f5f7; color: #51515a; line-height: 1.5; }
.trsa-reversal-technical { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ececee; font-size: 13px; color: #65656b; overflow-wrap: anywhere; }
.trsa-reversal-technical h4 { font-size: 14px; font-weight: 600; color: #1d1d1f; }
.trsa-reversal-technical p { margin: 6px 0; }
.trsa-reversal-technical > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; cursor: pointer; list-style: none; font-weight: 600; color: #1d1d1f; }
.trsa-reversal-technical > summary::-webkit-details-marker { display: none; }
.trsa-reversal-technical > summary:focus-visible { outline: 2px solid #0071e3; outline-offset: 4px; border-radius: 6px; }
.trsa-reversal-technical[open] > summary .trsa-reversal-chevron { transform: rotate(180deg); }
.trsa-reversal-meter { text-align: center; padding: 8px 0; }
.trsa-reversal-meter[data-completed="true"] .trsa-sale-current { color: #218443; }
.trsa-receipt-send { position: relative; }
.trsa-receipt-send[hidden], .trsa-receipt-send-menu[hidden] { display: none !important; }
.trsa-production-dialog button.trsa-receipt-send-button { min-height: 38px; height: 38px; padding: 0 12px; border-radius: 14px; border: none; background: #2563eb; color: #fff; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 800; box-shadow: 0 14px 28px rgb(37 99 235 / 25%); }
.trsa-production-dialog button.trsa-receipt-send-button:hover:not(:disabled) { background: #1d4ed8; }
.trsa-receipt-send-button svg { flex-shrink: 0; }
.trsa-receipt-send-menu { position: absolute; z-index: 10; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 72px)); max-height: 65dvh; overflow-y: auto; padding: 8px; border: 1px solid #e7e7ea; border-radius: 16px; background: #fff; box-shadow: 0 12px 40px #0002; }
.trsa-production-dialog .trsa-receipt-send-menu > button { width: 100%; justify-content: flex-start; border: 0; border-radius: 9px; padding: 12px; background: transparent; text-align: left; font: inherit; font-size: 13px; color: #1d1d1f; cursor: pointer; overflow-wrap: anywhere; white-space: normal; }
.trsa-production-dialog .trsa-receipt-send-menu > button:hover:not(:disabled) { background: #f2f6fc; }
.trsa-receipt-send-menu p { margin: 8px 10px; font-size: 12px; }
.trsa-receipt-send-menu button:focus-visible, .trsa-receipt-send-button:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.trsa-receipt-contact { display: flex; align-items: center; border: 1px solid #b7c9dc; border-radius: 10px; margin: 4px; overflow: hidden; }
.trsa-receipt-contact:focus-within { box-shadow: 0 0 0 2px #0071e326; border-color: #0071e3; }
.trsa-production-dialog .trsa-receipt-contact input { min-width: 0; width: 100%; border: 0; outline: 0; padding: 12px; background: #fff; color: #1d1d1f; -webkit-text-fill-color: #1d1d1f; caret-color: #1d1d1f; color-scheme: light; font: inherit; font-size: 14px; }
.trsa-production-dialog .trsa-receipt-contact input::placeholder { color: #6e6e73; -webkit-text-fill-color: #6e6e73; opacity: 1; }
.trsa-production-dialog button.trsa-receipt-contact-save { flex-shrink: 0; border: 0; background: transparent; color: #218443; padding: 10px; cursor: pointer; }
.trsa-receipt-contact-save[data-valid="false"] svg { visibility: hidden; }
.trsa-receipt-contact-save:disabled, .trsa-receipt-send-menu button:disabled { opacity: .5; cursor: default; }
.trsa-receipt-sent { color: #218443; }
.trsa-receipt-send-menu .trsa-sale-opening-spinner { display: inline-block; width: 12px; height: 12px; margin-right: 8px; }
.trsa-receipt-one-time { border-top: 1px solid #ececee; padding-top: 6px; }
.trsa-receipt-one-time > label { display: block; margin: 12px 4px; font-size: 12px; color: #65656b; }
.trsa-receipt-one-time .trsa-receipt-contact { margin: 4px 0 0; }
.trsa-production-dialog button.trsa-receipt-one-time-send { flex-shrink: 0; border: 0; background: transparent; color: #0071e3; padding: 10px; }
.trsa-reversal-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 12px; }
.trsa-reversal-heading h3 { margin: 0; }
.trsa-production-dialog button.trsa-reversal-help { min-height: 32px; padding: 4px; border: 0; background: transparent; color: #0071e3; font-size: 13px; font-weight: 500; }
.trsa-production-dialog button.trsa-reversal-help:hover:not(:disabled) { background: transparent; text-decoration: underline; }
.trsa-reversal-timeline > li { padding-bottom: 12px; min-height: 40px; }
.trsa-reversal-timeline .trsa-sale-action-heading { padding-bottom: 0; }
.trsa-reversal-timeline .trsa-sale-action-heading strong { font-size: 14px; font-weight: 500; }
.trsa-vp-gallery { margin-top: 18px; border: 1px solid #e8e8ed; border-radius: 18px; background: #fff; overflow: hidden; }
.trsa-vp-gallery-slides { min-height: 540px; padding: 24px; overflow: hidden; }
.trsa-vp-gallery-slide h4 { margin: 0 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.35px; }
.trsa-vp-gallery-slide p { margin: 10px 0 16px; line-height: 1.5; }
.trsa-vp-gallery-slide > a.quiet { display: inline-block; margin: 4px 16px 4px 0; }
.trsa-vp-gallery-open { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.trsa-vp-gallery-open a.primary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 20px; border-radius: 12px; background: #0071e3; color: white; text-decoration: none; }
.trsa-vp-gallery-open .trsa-production-warning { font-size: 13px; margin: 0; }
.trsa-vp-gallery-image { display: grid; place-items: center; height: clamp(280px, 55vh, 560px); width: 100%; border-radius: 12px; overflow: hidden; background: #f5f5f7; color: #51515a; text-align: center; }
.trsa-vp-gallery-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.trsa-vp-gallery-image img[hidden] { display: none; }
.trsa-vp-gallery-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 14px 20px; border-top: 1px solid #e8e8ed; background: #fafafa; }
.trsa-vp-gallery-nav > button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; justify-self: start; }
.trsa-vp-gallery-nav > button:last-child { justify-self: end; }
.trsa-vp-gallery-position { display: grid; justify-items: center; gap: 2px; font-size: 12px; color: #6e6e73; font-variant-numeric: tabular-nums; }
.trsa-vp-gallery-dots { display: flex; }
.trsa-production-dialog .trsa-vp-gallery-dots button { display: grid; place-items: center; padding: 0; width: 26px; min-height: 26px; border: 0; background: transparent; }
.trsa-vp-gallery-dots button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #c8c8ce; }
.trsa-vp-gallery-dots button[aria-current="step"]::before { background: #0071e3; }
.trsa-vp-gallery :is(button, a):focus-visible { outline: 3px solid #80b7ef; outline-offset: 3px; }
.trsa-vp-gallery-slide.is-forward { animation: trsa-vp-guide-next .18s ease-out; }
.trsa-vp-gallery-slide.is-backward { animation: trsa-vp-guide-back .18s ease-out; }
@keyframes trsa-vp-guide-next { from { opacity: .4; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
@keyframes trsa-vp-guide-back { from { opacity: .4; transform: translateX(-16px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .trsa-vp-gallery-slide:is(.is-forward, .is-backward) { animation: none; } }
@media (max-width: 640px) {
  .trsa-vp-gallery-slides { padding: 18px; min-height: 390px; }
  .trsa-vp-gallery-open { min-height: 240px; }
  .trsa-vp-gallery-nav { padding: 10px 8px; gap: 2px; }
  .trsa-vp-gallery-nav > button { padding: 8px; }
}
.trsa-reversal-intro, .trsa-reversal-step-content { color: #51515a; font-size: 14px; line-height: 1.55; }
.trsa-reversal-manual summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; padding: 3px 0; color: #1d1d1f; font-size: 14px; font-weight: 500; cursor: pointer; }
.trsa-reversal-manual summary::-webkit-details-marker { display: none; }
.trsa-reversal-manual summary:focus-visible { outline: 3px solid #80b7ef; outline-offset: 3px; border-radius: 4px; }
.trsa-reversal-manual details[open] > summary .trsa-reversal-chevron { transform: rotate(180deg); }
.trsa-reversal-step-content p { margin: 10px 0; }
.trsa-reversal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; }
.trsa-reversal-links a { color: #0069cc; text-underline-offset: 3px; }
.trsa-reversal-sef { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #fbf7ed; font-size: 13px; }
.trsa-reversal-sef a { color: #0069cc; text-underline-offset: 3px; }
.trsa-reversal-timeline .trsa-sale-action-heading { flex-wrap: wrap; row-gap: 2px; }
.trsa-production-dialog .trsa-reversal-status-note { padding-top: 14px; border-top: 1px solid #ececee; font-size: 13px; color: #65656b; }
@keyframes trsa-production-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .trsa-production-body[aria-busy="true"] > [role="status"]::before { animation: none; } }
@media (max-width: 640px) {
  .trsa-production-head { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; }
  .trsa-sale-header-title, .trsa-production-head .trsa-sale-header-tools { display: contents; }
  .trsa-production-head h2 { grid-column: 1 / -1; grid-row: 1; min-width: 0; padding-inline-end: 54px; overflow-wrap: anywhere; line-height: 1.35; }
  .trsa-sale-header-links { grid-column: 1; grid-row: 2; gap: 4px 12px; }
  .trsa-sale-header-tools > :is(button, .trsa-receipt-send) { grid-column: 2; grid-row: 2; justify-self: end; }
  .trsa-sale-header-tools > button.trsa-sale-close { grid-row: 1; }
  .trsa-production-head [data-header-status] { grid-row: 3; }
  .trsa-production-dialog button.trsa-receipt-send-button { min-height: 44px; height: auto; box-shadow: none; }
  .trsa-production-wizard-footer { padding: 10px 16px max(10px, env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px 8px; }
  .trsa-sale-footer-back { grid-column: 1; grid-row: 2; }
  .trsa-sale-footer-info { display: contents; }
  .trsa-sale-footer-info > .trsa-sale-more-options { grid-column: 2; grid-row: 2; justify-self: end; }
  .trsa-sale-footer-options { grid-column: 1 / -1; grid-row: 3; justify-content: flex-end; }
  .trsa-sale-footer-primary { grid-column: 1 / -1; grid-row: 1; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .trsa-sale-footer-primary:empty { display: none; }
  dialog.trsa-production-dialog .trsa-sale-footer-primary > :is(button, a) { width: 100%; min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; padding: 10px; }
  .trsa-sale-footer-primary > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .trsa-production-wizard-footer > .trsa-sale-issue-warning { grid-row: 4; text-align: left; }
  .trsa-sale-inline { margin: 0 18px 16px; }
  .trsa-sale-action-heading { align-items: flex-start; }
  .trsa-production-body, .trsa-production-head { padding: 18px; }
  .trsa-production-progress { gap: 8px; }
  .trsa-production-checklist li { flex-direction: column; gap: 0; margin-bottom: 6px; }
  .trsa-production-actions > button { flex: 1 1 auto; }
  .trsa-production-total { font-size: 30px; }
  /* PDF tools share one compact row: Nazad · PDF · Storno · Više.
     Keep the full labels for desktop and accessible names. */
  .trsa-production-wizard-footer[data-page$="pdf"] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; padding-inline: 12px; }
  .trsa-production-wizard-footer[data-page$="pdf"] :is(.trsa-sale-footer-back, .trsa-sale-footer-primary) { display: contents; }
  dialog.trsa-production-dialog .trsa-production-wizard-footer[data-page$="pdf"] :is(button, a.trsa-receipt-download) { width: auto; min-height: 44px; padding: 8px 6px; gap: 4px; font-size: 13px; white-space: nowrap; }
  .trsa-production-wizard-footer[data-page$="pdf"] [data-mobile-label] { font-size: 0; }
  .trsa-production-wizard-footer[data-page$="pdf"] [data-mobile-label]::after { content: attr(data-mobile-label); font-size: 13px; }
  .trsa-production-wizard-footer[data-page$="pdf"] .trsa-sale-footer-back > button { order: 0; }
  .trsa-production-wizard-footer[data-page$="pdf"] [data-original-receipt-download] { order: 1; }
  .trsa-production-wizard-footer[data-page$="pdf"] .trsa-reversal-toggle { order: 2; }
  .trsa-production-wizard-footer[data-page$="pdf"] .trsa-sale-more-options { order: 3; }
  .trsa-production-wizard-footer[data-page$="pdf"] [data-refund-receipt-download] { order: 4; }
  .trsa-production-wizard-footer[data-page$="pdf"] .trsa-sale-footer-options { order: 5; flex-basis: 100%; }
}
.trsa-project-delivery-dialog .trsa-advance-field { margin-block: 14px; }
.trsa-project-delivery-dialog .trsa-project-purpose { width: min(100%, 440px); }
.trsa-project-purpose-toggle { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: #f2f2f7; }
.trsa-project-delivery-dialog .trsa-project-purpose-toggle button { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1 1 0; min-width: 0; min-height: 44px; padding: 8px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #65656b; font-size: 13px; line-height: 1.35; }
.trsa-project-delivery-dialog .trsa-project-purpose-toggle button[aria-pressed="true"] { background: #fff; border-color: #d9e7fa; color: #0066cc; box-shadow: 0 1px 3px #00000012; font-weight: 600; }
.trsa-project-purpose-check { visibility: hidden; flex: 0 0 14px; font-weight: 700; }
.trsa-project-purpose-toggle button[aria-pressed="true"] .trsa-project-purpose-check { visibility: visible; }
.trsa-project-delivery-dialog .trsa-project-purpose-toggle button:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
.trsa-project-picker { margin-block: 14px; }
.trsa-project-picker .rn-relink-label { display: block; }
.trsa-project-picker [hidden] { display: none !important; }
.trsa-project-picker .rn-save-linked-pill { max-width: 100%; }
.trsa-project-picker .rn-save-suggest-item:focus-visible,
.trsa-project-picker .rn-save-linked-clear:focus-visible { outline: 2px solid #007aff; outline-offset: -2px; }
.trsa-project-picker .trsa-project-address { margin: 8px 2px; font-size: 13px; }
.trsa-project-address-editor { margin-top: 12px; }
.trsa-project-requirements { margin-top: 16px; padding: 12px 14px; border: 1px solid #ead4af; border-radius: 12px; background: #fff8ed; color: #704c15; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.trsa-project-requirements[hidden] { display: none; }
.trsa-project-requirements ul { margin: 6px 0 0; padding-left: 20px; }
.trsa-project-requirements li + li { margin-top: 6px; }
.trsa-project-address-editor > p { margin: 0 0 10px; font-size: 13px; }
.trsa-project-address-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.trsa-project-delivery-dialog .trsa-project-address-fields .trsa-advance-field { display: grid; gap: 7px; min-width: 0; margin: 0; font-size: 14px; }
.trsa-project-address-fields input { box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 12px; border: 1px solid #c5c5cb; border-radius: 10px; font: inherit; background: #fff; color: #1d1d1f; }
.trsa-project-address-fields input:focus-visible { outline: 2px solid #007aff; outline-offset: 2px; }
@media (max-width: 640px) { .trsa-project-address-fields { grid-template-columns: 1fr; } }
#rn-project-delivery-picker .trsa-project-control { position: relative; }
#rn-project-delivery-picker .rn-save-input-shell { flex-wrap: nowrap; min-height: 48px; padding: 6px 8px; gap: 8px; border-radius: 12px; }
#rn-project-delivery-picker .rn-save-input { min-width: 0; min-height: 34px; height: 34px; padding: 4px; flex: 1 1 0; font-size: 14px; }
#rn-project-delivery-picker .rn-save-linked-pill { flex: 1 1 0; min-width: 0; max-width: none; min-height: 34px; padding: 5px 10px; border-radius: 10px; }
#rn-project-delivery-picker .rn-save-linked-text { flex: 1 1 0; white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
#rn-project-delivery-picker .rn-save-linked-clear { min-height: 20px; height: 20px; width: 20px; padding: 0; }
#rn-project-delivery-picker .trsa-project-dropdown-toggle { flex: 0 0 32px; width: 32px; min-height: 32px; height: 32px; padding: 0; border: 0; background: transparent; color: #65656b; font-size: 20px; }
#rn-project-delivery-picker .trsa-project-dropdown-toggle[aria-expanded="true"] span { transform: rotate(180deg); }
#rn-project-delivery-picker .rn-save-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 4; max-height: min(240px, 35vh); margin: 0; padding: 4px; border: 1px solid #e5e5ea; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px #0000001f; }
#rn-project-delivery-picker .rn-save-suggest > p { padding: 8px; margin: 0; }
#rn-project-delivery-picker .rn-save-suggest-item { border-radius: 8px; white-space: normal; }
