.crm-workspace {
  color: #172b43;
  background: #f4f7fa;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
}
.crm-workspace > * {max-width: 68rem; margin-inline: auto}
.crm-workspace h1 {font-size: clamp(1.8rem, 5vw, 2.8rem); margin-block: 1.3rem}
.crm-workspace a {color: #174b78; text-decoration: underline}
.crm-workspace nav, .crm-workspace footer {margin-block: 1rem}
.crm-workspace [aria-pressed="true"] {background: #163c60; color: white}
.crm-actions {display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-block: .7rem}
.crm-card {background: white; border: 1px solid #cfd9e3; border-radius: .7rem; padding: 1rem; margin-block: .6rem}
.crm-card h2, .crm-card h3, .crm-card p {margin: 0 0 .55rem}
.crm-card li button {margin-inline-start: .65rem}
.crm-card ul:empty {display: none}
.crm-card pre {white-space: pre-wrap; overflow-wrap: anywhere}
.crm-card summary {cursor: pointer}
.crm-fields {display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .7rem}
.crm-fields label {display: grid; gap: .25rem}
.crm-workspace input:not([type="file"]), .crm-workspace select {
  color: inherit;
  background: white;
  border: 1px solid #7e91a4;
  border-radius: .3rem;
  padding: .45rem .55rem;
}

.crm-pages {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;background:white;border-top:1px solid #d9e1e8}
.crm-operator-line {margin-bottom:.55rem;color:#33485a}
.crm-session-dialog {background:white;max-width:95vw;width:52rem;max-height:90vh;overflow:auto;border-radius:12px;padding:1.5rem}
.admin-crm .facility-table td {white-space:normal}

.buyer-panel{padding:clamp(1rem,2vw,2rem)}
.buyer-panel header p,.buyer-empty,.buyer-coverage{margin:1rem 0}
.buyer-panel .table-scroll{overflow-x:auto}.buyer-panel td{white-space:normal}
.buyer-panel textarea{display:block;min-height:5rem;width:100%;resize:vertical}
.buyer-panel li{margin:.55rem 0}.buyer-coverage summary{cursor:pointer;font-weight:700}
.buyer-coverage dl>div{display:flex;gap:1rem;flex-wrap:wrap;margin:.5rem 0}
.buyer-coverage dt{font-weight:600}.buyer-coverage dd{margin:0}
