/* unified/receipt-purpose-r97.css */
.pt-r97-purpose-cell{display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap;max-width:100%}.pt-r97-invoice-ref{font-weight:700;color:#136b58;text-decoration:underline;white-space:nowrap}.pt-r97-purpose-button{padding:4px 9px;border-radius:7px;border:1px solid #44836a;color:#18553e;background:#f4faf6;cursor:pointer;white-space:nowrap}.pt-r97-purpose-overlay{position:fixed;inset:0;background:#0008;z-index:15000;display:flex;align-items:center;justify-content:center;padding:18px;direction:rtl}.pt-r97-purpose-dialog{width:min(94vw,600px);max-height:90vh;overflow:auto;background:white;border-radius:13px;padding:20px;box-shadow:0 10px 35px #0003}.pt-r97-purpose-dialog header,.pt-r97-purpose-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.pt-r97-purpose-dialog h3{margin:0}.pt-r97-purpose-invoices{max-height:37vh;overflow:auto;display:grid;gap:5px;padding:7px;border:1px solid #dbe8df;border-radius:9px}.pt-r97-purpose-invoice{display:flex;gap:10px;align-items:center;padding:9px;border-bottom:1px solid #eef3ee;cursor:pointer}.pt-r97-purpose-invoice span{display:flex;flex:1;justify-content:space-between;gap:10px}.pt-r97-purpose-invoice [data-r97-amount]{width:140px;min-width:90px;padding:7px;direction:ltr;text-align:right;border:1px solid #cbd8d1;border-radius:6px}.pt-r97-purpose-invoice small{color:#62766b}.pt-r97-purpose-amount{display:grid;gap:6px;margin-top:14px}.pt-r97-purpose-amount input{direction:ltr;text-align:right;max-width:100%;padding:9px}.pt-r97-purpose-dialog [data-r97-status]{color:#a4422b;min-height:20px}.pt-r97-purpose-dialog footer{justify-content:flex-end}.pt-r97-purpose-dialog button{cursor:pointer}
.unified-finance-page[data-unified-finance="receipts"] th:nth-child(4),.unified-finance-page[data-unified-finance="receipts"] td:nth-child(4){width:90px;max-width:120px;overflow-wrap:anywhere}.unified-finance-page[data-unified-finance="receipts"] th:nth-child(5),.unified-finance-page[data-unified-finance="receipts"] td:nth-child(5){min-width:150px}

/* R98: live Golden receipts have expansion column before the payment methods. */
.unified-finance-page[data-unified-finance="receipts"] th:nth-child(5),.unified-finance-page[data-unified-finance="receipts"] td:nth-child(5){width:95px;max-width:120px;overflow-wrap:anywhere}
.unified-finance-page[data-unified-finance="receipts"] th:nth-child(6),.unified-finance-page[data-unified-finance="receipts"] td:nth-child(6){min-width:160px;width:190px}

/* S346 receipt document and invoice links */
.pt-r97-purpose-cell{min-width:0}.pt-r97-invoice-ref{border:0;background:transparent;cursor:pointer;font:inherit}.pt-r97-quote-ref{white-space:nowrap}.pt-r97-unallocated{color:#667085}.receipt-invoice-link-s346{font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:2px;padding:0 2px;white-space:nowrap}.receipt-document-method-s346{width:100%;margin:10px 0}.receipt-document-facts-s346{width:100%;border-collapse:collapse}.receipt-document-facts-s346 th,.receipt-document-facts-s346 td{padding:8px 10px;border-bottom:1px solid #e6e8ec;text-align:right;vertical-align:top}.receipt-document-facts-s346 th{width:32%;white-space:nowrap}.receipt-attachments-s346{margin-top:14px}.receipt-attachment-grid-s346{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.receipt-attachment-s346{display:grid;gap:8px;border:1px solid #d8dee8;border-radius:10px;padding:12px;min-width:0;overflow-wrap:anywhere}.receipt-attachment-s346 small{color:#667085}.receipt-attachment-preview-s346{display:grid;gap:6px;justify-items:start}.receipt-attachment-preview-s346 img{display:block;max-width:min(100%,420px);max-height:360px;object-fit:contain;border-radius:6px;background:#f4f5f7}.receipt-attachment-download-s346{font-weight:600}.receipt-attachments-s346 details{margin-top:12px}.receipt-attachments-s346 summary{cursor:pointer}@media(max-width:640px){.receipt-document-facts-s346 th{width:42%;white-space:normal}.receipt-attachment-grid-s346{grid-template-columns:1fr}.receipt-attachment-preview-s346 img{max-height:260px}}
/* unified/features/storage-usage-v1.css */
.storage-usage-card{display:grid;gap:14px;margin:18px 0;border:1px solid #dce6df;background:linear-gradient(145deg,#fff,#f8fbf9)}
.storage-usage-card .data-card-head{margin-bottom:0}
.storage-usage-card h2{margin:3px 0 0}
.storage-usage-topline{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;color:#52675b}
.storage-usage-topline strong{font-size:1.35rem;color:#183d2c}
.storage-usage-topline b{margin-inline-start:auto;color:#255d40;font-size:1.15rem}
.storage-usage-meter{height:12px;overflow:hidden;border-radius:999px;background:#e5ede7}
.storage-usage-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#54a875,#24633f);transition:width .2s ease}
.storage-usage-freespace,.storage-usage-card>small{color:#68786e;font-size:.88rem}
.storage-usage-freespace span{padding-inline:5px;color:#9aaba0}
.storage-usage-empty,.storage-usage-state{margin:0;padding:12px 14px;border-radius:10px;background:#f1f6f2;color:#375543}
.storage-usage-state.is-running{background:#eef5ff;color:#285178}
.storage-usage-state.is-error,.storage-usage-note{color:#8b4d21}
.storage-usage-actions{display:flex;gap:8px;flex-wrap:wrap}
.storage-usage-actions button{min-height:38px}
.storage-usage-details,.storage-usage-preview{padding-top:12px;border-top:1px solid #e3ebe5}
.storage-usage-details h3,.storage-usage-preview h3{margin:0 0 10px;font-size:1rem;color:#264b35}
.storage-usage-table-wrap{overflow:auto;border:1px solid #e5ebe6;border-radius:10px}
.storage-usage-card table{width:100%;border-collapse:collapse;min-width:540px;background:#fff}
.storage-usage-card th,.storage-usage-card td{padding:9px 11px;border-bottom:1px solid #edf1ed;text-align:start;font-size:.88rem}
.storage-usage-card thead th{background:#f4f8f5;color:#53675a;font-weight:700}
.storage-usage-card tbody tr:last-child th,.storage-usage-card tbody tr:last-child td{border-bottom:0}
.storage-usage-backups{margin-top:12px}
.storage-usage-backups summary{padding:9px 0;color:#31593f;font-weight:700;cursor:pointer}
.storage-usage-backups .storage-usage-table-wrap{margin-top:8px}
.storage-usage-preview-summary p{margin:0 0 9px;color:#53675a}
.storage-usage-preview-summary ul{display:grid;gap:7px;margin:0;padding-inline-start:22px}
.storage-usage-review-families{display:grid;gap:6px;margin-top:12px;padding:10px 12px;border-radius:10px;background:#fff8e9;color:#765323}
.storage-usage-review-families span{font-size:.9rem}
.storage-usage-card [hidden]{display:none!important}
@media(max-width:640px){.storage-usage-card{padding:14px}.storage-usage-topline strong{font-size:1.15rem}.storage-usage-actions button{flex:1 1 46%}.storage-usage-card table{min-width:500px}}
.storage-usage-other{margin-top:14px;padding:14px;border:1px solid #dce5df;border-radius:12px;background:#fbfdfb}.storage-usage-other h3{margin:0 0 8px}.storage-usage-other h4{margin:14px 0 7px}.storage-usage-other p{line-height:1.8;color:#5e6e64}.storage-usage-other table{min-width:780px}.storage-usage-other td{vertical-align:top}.storage-usage-other td[dir="ltr"]{overflow-wrap:anywhere}

/* unified/retail-shared-layout-s169.css */
/* S169 - constrain the four audited page grids to the AppShell workspace. */
body.pt-shell-v280 main#app .owner-accounts-page-v230 {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .owner-accounts-page-v230 > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .owner-account-summary-v230 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
body.pt-shell-v280 main#app .owner-account-summary-v230 article { min-width: 0; }
body.pt-shell-v280 main#app .owner-accounts-page-v230 .grid-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
}

body.pt-shell-v280 main#app .print-center-page {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .print-center-page > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .print-center-page .print-operational {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
}
body.pt-shell-v280 main#app .print-center-page .print-kind-cards {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 112px), 1fr));
  box-sizing: border-box;
}
@media (min-width: 761px) and (max-width: 1100px) {
  body.pt-shell-v280 main#app .print-center-page .print-quick-search {
    min-width: 0;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-sizing: border-box;
  }
  body.pt-shell-v280 main#app .print-center-page .print-quick-search > * {
    min-width: 0;
    max-width: 100%;
  }
}

body.pt-shell-v280 main#app .dyehouse-page {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .dyehouse-page > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .dyehouse-page .dyehouse-tabs {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}
body.pt-shell-v280 main#app .dyehouse-page .dyehouse-detail-card,
body.pt-shell-v280 main#app .dyehouse-page .dye-compare-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

body.pt-shell-v280 main#app .data-backup-page {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .data-backup-page > * {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .data-backup-page .backup-health-grid {
  min-width: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
body.pt-shell-v280 main#app .data-backup-page .data-backup-grid {
  min-width: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.pt-shell-v280 main#app .data-backup-page .data-backup-grid > * { min-width: 0; }
body.pt-shell-v280 main#app .data-backup-page #storage-usage-v1 {
  min-width: 0;
  max-width: 100%;
}
body.pt-shell-v280 main#app .data-backup-page .storage-usage-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
  box-sizing: border-box;
}
body.pt-shell-v280 main#app .data-backup-page .storage-usage-card > * { min-width: 0; }
body.pt-shell-v280 main#app .data-backup-page .storage-usage-table-wrap {
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 900px) {
  body.pt-shell-v280 main#app .data-backup-page .data-backup-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


