.customers-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.customers-heading h2{margin-bottom:4px}.customers-heading .note{margin:0}.customers-filters{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:10px;margin-bottom:12px}.customers-filters label,.customer-form label{display:grid;gap:7px;font-size:.82rem;font-weight:700;color:var(--navy)}.customers-filters input,.customers-filters select,.customer-form input,.customer-form textarea{width:100%;min-width:0;min-height:44px;padding:10px 12px;border:1px solid #cbd3db;border-radius:8px;font:inherit;background:#fff;color:var(--navy)}.customer-button{min-height:44px;padding:9px 13px;border:1px solid #cad3df;border-radius:8px;background:#fff;color:var(--navy);font:inherit;font-size:.82rem;font-weight:700;cursor:pointer}.customer-button:hover{background:#f2f5f9}.customer-button:disabled{opacity:.5;cursor:default}.customer-button.danger{color:#a52b19;border-color:#edc5bc;background:#fff7f4}.customer-button.primary{background:var(--navy);border-color:var(--navy);color:#fff}.customer-button.danger.primary{background:#b33520;border-color:#b33520;color:#fff}.customer-button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #dc8a24;outline-offset:2px}.customers-table td{white-space:normal;vertical-align:top;overflow-wrap:anywhere}.customers-table th:last-child{min-width:180px}.customer-name{display:block;font-weight:700}.customer-date{display:block;font-size:.74rem;color:var(--muted);margin-top:6px}.customer-actions{display:flex;gap:7px;flex-wrap:wrap}.customer-state{display:inline-flex;border-radius:30px;padding:5px 9px;font-size:.74rem;font-weight:700;white-space:nowrap;background:#e9f3e0;color:#365915}.customer-state.inactive{background:#fff1eb;color:#a33f24}.customer-state.admin{background:#eaf0fa;color:#29476d}.customers-pagination{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;font-size:.76rem;color:var(--muted)}.customers-pagination>div{display:flex;gap:5px}.customer-dialog{color:var(--navy);width:min(540px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:24px;border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 90px #071a3540}.customer-dialog::backdrop{background:#071a357a}.customer-dialog h2{margin:0 0 8px;font-size:1.55rem}.customer-dialog .dialog-description{color:var(--muted);line-height:1.5;margin:0 0 18px;font-size:.88rem}.customer-form{display:grid;gap:14px}.customer-form .customer-check{display:flex;align-items:start;gap:10px;font-size:.82rem;font-weight:400;line-height:1.45}.customer-check input{width:18px;min-height:18px;margin:2px 0 0;flex-shrink:0}.customer-form textarea{resize:vertical;min-height:82px}.customer-dialog .dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:7px}.customer-dialog .status{line-height:1.4;min-height:1em;margin:0}.customer-email-warning{background:#fff5e9;border:1px solid #efd3ad;border-radius:8px;padding:10px}.customer-email-warning[hidden]{display:none}.customer-dialog .customer-summary{background:#f3f6fa;border:1px solid #e1e6ed;border-radius:10px;padding:12px;line-height:1.5;overflow-wrap:anywhere}.customer-summary strong{display:block}.customers-table-wrap{max-height:none}.grid{grid-template-columns:minmax(0,1fr)}
@media(max-width:650px){.customers-heading{align-items:start;margin-bottom:14px}.customers-heading h2{font-size:1.25rem}.customers-heading .note{font-size:.78rem}.customers-filters{grid-template-columns:minmax(0,1fr) 110px}.customers-table-wrap{border:0;overflow:visible;border-radius:0}.customers-table,.customers-table tbody,.customers-table tr,.customers-table td{display:block;width:100%}.customers-table thead{display:none}.customers-table tr{border:1px solid var(--line);border-radius:12px;padding:13px;margin-bottom:10px}.customers-table td{border:0;padding:0 0 8px;font-size:.86rem;white-space:normal}.customers-table td[data-label="Empresa"]::before{content:'Empresa · ';color:var(--muted)}.customer-name{font-size:1rem}.customer-date{font-size:.72rem}.customers-table td:last-child{padding:5px 0 0}.customer-actions{display:grid;grid-template-columns:1fr 1fr}.customer-actions .customer-button{width:100%}.customers-pagination{align-items:start;flex-wrap:wrap;font-size:.75rem}.customer-dialog{padding:20px}.customer-dialog h2{font-size:1.4rem}#clientsPanel>.note{font-size:.76rem;line-height:1.5}.top{flex-wrap:wrap}.top-actions{flex-wrap:wrap}.panel{padding:15px}}
