.customer-directory-head,.customer-detail-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:24px}.customer-directory-head h1,.customer-detail-head h1{margin:0;overflow-wrap:anywhere}.customer-directory-tools{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}.customer-directory-tools .search-field{flex:1;min-width:180px}.customer-list{display:grid;gap:8px}.customer-row{display:grid;grid-template-columns:minmax(0,1fr) 140px 190px;gap:20px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:16px;background:var(--white,#fff);text-align:left;color:var(--forest);font:inherit;width:100%;min-width:0;cursor:pointer}.customer-row:hover,.customer-row:focus-visible{background:var(--pale,#edf3e9)}.customer-row-head{display:flex;align-items:center;gap:14px;min-width:0}.customer-row strong,.customer-project-badge{overflow-wrap:anywhere;min-width:0}.customer-avatar{width:48px;height:48px;flex:none;display:grid;place-items:center;border-radius:8px;background:#edf2e9;color:var(--forest);font-weight:600}.customer-avatar img{width:100%;height:100%;object-fit:contain}.customer-row small,.customer-row time{color:var(--muted);font-size:13px}.customer-list-labels{background:transparent;border:0;padding-block:0;font-size:13px;cursor:default}.customer-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.customer-tabs button{font:inherit;padding:10px 16px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--forest)}.customer-tabs button[aria-selected=true]{background:var(--pale,#e7eedf);border-color:var(--forest)}.customer-project-list{display:grid;gap:10px}.customer-project-entry{display:flex;align-items:center;gap:16px;padding:16px;border:1px solid var(--line);border-radius:8px;min-width:0}.customer-project-entry>div{flex:1;min-width:0;overflow-wrap:anywhere}.customer-project-entry img{width:90px;height:64px;object-fit:cover;border-radius:5px}.customer-project-entry small{display:block;color:var(--muted);margin-top:6px}.customer-form{max-width:640px}.customer-dialog{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-sizing:border-box}.customer-dialog h2{margin-top:0}.customer-dialog .profile-form{width:100%;box-sizing:border-box}.customer-picker,.customer-appearance{min-width:0}.customer-picker select{width:100%;max-width:100%;text-overflow:ellipsis}.customer-qr-preview{max-width:180px}.customer-qr-preview canvas{width:100%;height:auto;display:block}.customer-project-badge{display:block;font-size:12px;color:var(--muted);margin-top:6px}.customer-appearance{margin-bottom:16px}.customer-appearance select{width:100%;max-width:100%}.customer-detail-subtitle{color:var(--muted);margin-block:0 24px}.customer-detail-head>div{display:flex;gap:12px;align-items:center;min-width:0}.customer-empty{padding:30px;border:1px dashed var(--line);border-radius:8px;color:var(--muted)}.customer-form input,.customer-form textarea,.customer-form select{min-width:0;max-width:100%;box-sizing:border-box}.customer-detail-content{min-width:0}.customer-project-entry .button{flex:none}.customer-form .qr-branding-control{min-width:0}.customer-form .qr-branding-actions{flex-wrap:wrap}
.customer-optional-data{border:1px solid var(--line);border-radius:8px;padding:12px}.customer-optional-data summary{cursor:pointer}.customer-optional-data>label{display:grid;gap:8px;margin-top:16px}
.customer-form{gap:14px}
.customer-dialog h2{margin-bottom:18px}
.customer-form label,.customer-branding-settings>label{display:grid;gap:6px;margin:0;font-size:13px;color:var(--muted)}
.customer-form label[hidden]{display:none}
.customer-form .customer-branding-title{margin:0;font-size:16px;line-height:1.4}
.customer-branding-layout{display:grid;grid-template-columns:140px minmax(0,1fr);gap:20px;align-items:start;min-width:0}
.customer-branding-settings{display:grid;gap:12px;min-width:0}
.customer-form .customer-qr-preview{width:100%;max-width:140px}
.customer-form .qr-branding-control{margin:0;gap:10px;align-items:flex-start}
.customer-form .qr-branding-control>img{width:36px;height:36px;flex:none}
.customer-form .qr-branding-control>div{min-width:0}
.customer-form .qr-branding-control strong{margin-bottom:6px;font-size:13px}
.customer-form .qr-branding-actions{gap:6px}
.customer-form .qr-branding-actions .button{min-height:40px;padding:9px 10px;font-size:12px}
.customer-form .share-feedback{min-height:0;padding-top:4px;line-height:1.4}
.customer-form .share-feedback:empty,.customer-form>.company-feedback:empty{display:none}
.customer-form .profile-checkbox{margin:0;min-height:28px}
.customer-form .field-hint{margin:0;font-size:12px}
.customer-form .folder-dialog-actions{margin-top:0}
.customer-form .customer-optional-data>label{margin-top:12px}
@media(max-width:520px){.customer-branding-layout{grid-template-columns:100px minmax(0,1fr);gap:12px}.customer-branding-settings{display:contents}.customer-branding-settings>label{grid-column:1/-1}.customer-form .customer-qr-preview{max-width:100px}.customer-form .qr-branding-control{display:block}.customer-form .qr-branding-control>img{float:right;margin:0 0 6px 6px}.customer-form .qr-branding-control strong{min-height:36px}.customer-form .qr-branding-actions{clear:both}}
@media(max-width:700px){.customer-row{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:12px}.customer-row time{grid-column:1/-1;padding-left:62px}.customer-list-labels{display:none}.customer-directory-head .button{width:100%}.customer-project-entry{flex-wrap:wrap}.customer-project-entry .button{margin-left:auto}.customer-dialog{padding:20px}.customer-appearance{width:100%}.customer-tabs button{flex:1;padding-inline:10px}}
