.customer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px;margin:18px 0}.customer-row{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;padding:18px;border:1px solid #34445c;border-radius:18px;background:#152133;color:#e9edf7;min-width:0;overflow-wrap:anywhere;font:inherit;cursor:pointer}.customer-row:hover{border-color:#b65be2}.customer-row small{color:#b9c5d8}.customer-directory{display:grid;gap:12px}.inspection-card{border:1px solid #34445c;border-radius:18px;padding:18px;margin:14px 0}.customer-chat{min-width:0}.customer-message-list{max-height:500px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:12px 0}.customer-message{max-width:90%;padding:14px;border-radius:15px;background:#1e2b40;border:1px solid #34445c;overflow-wrap:anywhere}.customer-message.from-staff{align-self:flex-end;background:#2c2141}.customer-message p{white-space:pre-wrap;margin:8px 0}.customer-message small{font-size:.85em;color:#bdc6d7}.customer-chat form,.reminder-form{display:grid;gap:12px;margin-top:16px}.customer-chat textarea,.reminder-form textarea{width:100%;box-sizing:border-box}.customer-chat form button{justify-self:start}.customer-panel{margin-top:20px}.ca-auth select{width:100%;padding:12px;border-radius:12px;background:#101928;color:#e9edf7;border:1px solid #34445c;font:inherit}.ca-tools{flex-wrap:wrap}.customer-inspections .inspection-card p{margin:8px 0}.customer-tg-link{display:inline-block;padding:12px 18px;border-radius:12px;background:#7633b2;color:white;text-decoration:none}.customer-directory [data-customer-list]{margin-top:0}@media(max-width:600px){.customer-message{max-width:100%}.inspection-card .form-actions{display:flex;flex-wrap:wrap}.inspection-card .form-actions button{flex:1 1 150px}.customer-chat form button{width:100%}.cp-actions{flex-wrap:wrap;gap:8px}}

.ca-form [hidden],.customer-directory[hidden]{display:none!important}.customer-panel .field{display:grid;gap:8px}.customer-panel textarea{padding:12px;border:1px solid #495c75;border-radius:12px;background:#0c1626;color:#f0f4fa;font:inherit}.customer-panel .button{padding:12px 18px;border-radius:12px;border:1px solid #495c75;background:#1d2b41;color:#f0f4fa;font:inherit;cursor:pointer}.customer-panel .button-primary{background:linear-gradient(110deg,#d900a4,#8722e9);border:0}

[data-customer-detail]{display:grid;gap:16px;min-width:0}[data-customer-detail]>[data-back-customers]{justify-self:start}.inspection-card{overflow-wrap:anywhere}
