.customer-layout{display:grid;grid-template-columns:330px 1fr;gap:15px}.customer-list,.customer-detail{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px}.customer-search{width:100%;height:42px;border:1px solid var(--line);border-radius:9px;padding:0 11px;margin-bottom:10px}.customer-card{width:100%;border:0;border-bottom:1px solid var(--line);background:#fff;text-align:left;padding:13px 8px}.customer-card:hover,.customer-card.active{background:#f8f1f2}.customer-card b,.customer-card span{display:block}.customer-card span{font-size:.67rem;color:var(--muted);margin-top:3px}.customer-head{display:flex;justify-content:space-between;gap:15px}.customer-head h2{margin:0}.customer-head p{margin:4px 0;color:var(--muted)}.customer-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}.customer-tabs button{border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 11px;font-size:.7rem;font-weight:800}.customer-tabs button.active{background:#1a1c20;color:#fff}.customer-section[hidden]{display:none}.record-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.record-row:last-child{border:0}.record-row h3{font-size:.78rem;margin:0}.record-row p{font-size:.67rem;color:var(--muted);margin:3px 0}.service-controls{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.service-controls select,.service-controls input,.service-controls button{height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 8px;font-size:.65rem}.service-controls button{color:var(--red);font-weight:900}.blocked-badge{color:#bd1725;background:#feecef;padding:5px 7px;border-radius:7px;font-size:.62rem;font-weight:900}.finance-hidden{padding:15px;background:#f6f7f9;color:var(--muted);border-radius:10px;font-size:.7rem}@media(max-width:900px){.customer-layout{grid-template-columns:1fr}.customer-list{max-height:330px;overflow:auto}.record-row{grid-template-columns:1fr}.service-controls{justify-content:flex-start}} 
.customer-card small{display:block;color:var(--muted);font-size:.68rem;line-height:1.35;margin-top:3px;overflow-wrap:anywhere}.customer-card small+small{font-size:.62rem}
.portal-enable{border:0;border-radius:9px;padding:9px 12px;background:#d7192d;color:#fff;font-size:.7rem;font-weight:800;cursor:pointer}.portal-enable:disabled{background:#e8eaee;color:#5f6672;cursor:default}
.customer-file-download{border:1px solid var(--red);border-radius:9px;color:var(--red);padding:8px 12px;font-size:.68rem;font-weight:900;text-decoration:none}.customer-file-download:hover{background:var(--red);color:#fff}
.customer-file-upload{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) auto;gap:10px;align-items:end;border:1px dashed var(--line);border-radius:12px;background:#fafbfc;padding:14px;margin-bottom:14px}.customer-file-upload label{font-size:.68rem;font-weight:900}.customer-file-upload input{width:100%;min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;padding:9px;margin-top:5px}.customer-file-upload button{min-height:42px;border:0;border-radius:9px;background:var(--red);color:#fff;padding:0 14px;font-weight:900}.customer-file-upload>small{grid-column:1/-1;color:var(--muted)}.customer-file-actions{display:flex;gap:7px;align-items:center}.customer-file-actions button{border:1px solid #edbdc3;border-radius:9px;background:#fff;color:#c41929;padding:8px 11px;font-size:.68rem;font-weight:900}@media(max-width:760px){.customer-file-upload{grid-template-columns:1fr}.customer-file-upload>small{grid-column:auto}.customer-file-actions{align-items:stretch;flex-direction:column}}
.customer-activity article{position:relative;display:flex;gap:14px;padding:0 0 20px}.customer-activity article:not(:last-child):before{content:"";position:absolute;left:5px;top:13px;bottom:0;width:1px;background:#e2e7ec}.customer-activity article>i{position:relative;z-index:1;width:11px;height:11px;margin-top:5px;border-radius:50%;background:var(--primary);box-shadow:0 0 0 4px #fff}.customer-activity h3{margin:0 0 3px;font-size:.9rem}.customer-activity p,.customer-activity span{margin:0;color:var(--muted);font-size:.72rem}.customer-activity span{display:block;margin-top:3px}
.customer-support-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.customer-support-head h3,.customer-support-head p{margin:0}.customer-support-head p{color:var(--muted);font-size:.75rem;margin-top:4px}.customer-support-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;border-top:1px solid #edf0f3;background:transparent;padding:14px 0;text-align:left;cursor:pointer}.customer-support-row:hover b{color:var(--primary)}.customer-support-row span:last-child{text-align:right}.customer-support-row b,.customer-support-row small{display:block}.customer-support-row small{color:var(--muted);font-size:.7rem;margin-top:3px}.customer-support-modal{position:fixed;inset:0;z-index:10010;display:grid;place-items:center;padding:20px;background:rgba(12,18,28,.58);backdrop-filter:blur(4px)}.customer-support-modal>section{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 30px 90px rgba(0,0,0,.25)}.customer-support-modal header{display:flex;justify-content:space-between;padding:24px;border-bottom:1px solid #e8ebef}.customer-support-modal header h2,.customer-support-modal header p{margin:0}.customer-support-modal header small{color:var(--primary);font-weight:800}.customer-support-modal header button{border:0;background:transparent;font-size:1.6rem}.customer-support-modal form{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px}.customer-support-modal label{display:grid;gap:6px;font-size:.76rem;font-weight:700}.customer-support-modal input,.customer-support-modal select,.customer-support-modal textarea{width:100%;border:1px solid #dfe4e9;border-radius:10px;padding:11px;background:#fff}.customer-support-modal textarea{min-height:120px}.customer-support-modal .wide{grid-column:1/-1}.customer-support-actions{display:flex;justify-content:flex-end;gap:10px}.customer-support-actions button{padding:11px 16px;border-radius:10px;border:1px solid #dfe4e9}.customer-support-actions .primary{border-color:var(--primary)}@media(max-width:650px){.customer-support-modal form{grid-template-columns:1fr}.customer-support-modal .wide{grid-column:auto}.customer-support-row{align-items:flex-start}.customer-support-row span:last-child{text-align:left}}
