.pets-editor{margin:12px 0;min-width:0}.pets-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.client-detail .pets-heading h3,.pets-heading h3{margin:0;font-size:14px}.pets-heading .btn{padding:7px 10px;font-size:11px}.pet-rows{display:grid;gap:8px}.pet-row{display:grid;grid-template-columns:minmax(80px,1fr) 90px 68px 72px 26px;gap:8px;align-items:end}.pet-row label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:var(--muted);min-width:0}.pet-row input,.pet-row select{width:100%;min-width:0;box-sizing:border-box;padding:8px;font-size:12px;height:36px}.pet-row input:focus,.pet-row select:focus{outline:2px solid #cfab56;outline-offset:1px}.pet-row select:disabled{opacity:.5}.pet-remove{height:36px}.pets-save{display:flex;justify-content:flex-end;margin-top:10px}.pets-save .btn{padding:8px 12px;font-size:11px}.pets-editor>small{display:block;margin-bottom:10px;line-height:1.5;font-size:11px}
@media(max-width:480px){.pet-row{grid-template-columns:minmax(60px,1fr) 70px 51px 55px 22px;gap:4px}.pet-row input,.pet-row select{padding:6px 3px;font-size:11px}.pet-row label{font-size:9px}.pet-remove{padding:0;width:22px}}
.client-action-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:16px 0 20px}.client-action-row>.btn{padding:10px 12px;font-size:12px;white-space:nowrap}.client-delivery-dates{display:flex;flex-direction:column;gap:3px;font-size:10px;line-height:1.4;color:var(--muted);margin-left:4px}.client-delivery-dates strong{font-weight:500;color:var(--deep);margin-left:5px}.client-action-row>.client-edit-button{margin-left:auto}.client-detail .pets-editor{margin-top:0}.client-detail .pets-heading{margin-bottom:6px}.client-detail .pets-save{margin-top:8px}.client-detail .pets-save .btn{padding:7px 10px}
@media(max-width:600px){.client-action-row{gap:7px}.client-action-row>.btn{padding:8px 9px;font-size:10px}.client-delivery-dates{font-size:9px;gap:2px;margin-left:0}}
.pets-autosave-status{display:block;min-height:14px;font-size:10px;line-height:1.4;text-align:right;color:var(--muted);margin-top:5px}.pets-autosave-status.is-error{color:#a2382d}
.client-action-row>.client-edit-button,.client-action-row>.client-edit-button:hover{background:transparent;border:0;box-shadow:none}.client-action-row>.client-edit-button:hover{text-decoration:underline}.client-action-row>.client-edit-button:focus-visible{outline:2px solid #cfab56;outline-offset:3px}
.customer-card .customer-stats{display:grid;grid-template-columns:minmax(0,.6fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,.85fr);gap:10px;padding:15px 0;margin-bottom:8px}.customer-card .customer-stats>div{min-width:0}.customer-card .customer-stats small{font-size:9px;white-space:nowrap}.customer-card .customer-stats strong{font-size:16px;white-space:nowrap}
@media(max-width:400px){.customer-card .customer-stats{gap:7px}.customer-card .customer-stats small{font-size:8px}.customer-card .customer-stats strong{font-size:13px}}
.customer-card .customer-head{gap:10px;margin-bottom:0}.customer-card .customer-head h2{flex:1;min-width:0;margin:0;overflow-wrap:anywhere}.customer-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.customer-header-actions .customer-select{padding:5px;margin:0}.customer-header-actions input{margin:0}.customer-header-actions .icon-btn{flex-shrink:0}
.filters:has(.customer-list-options){display:flex;align-items:center;flex-wrap:nowrap;gap:12px}.filters:has(.customer-list-options)>.search{flex:1;min-width:0;max-width:460px;width:auto;margin-top:0}.filters:has(.customer-list-options)>.search input{min-width:0;width:100%}.customer-list-options{position:relative;display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:8px;margin-left:auto;white-space:nowrap}.customer-menu-anchor{position:relative}.customer-list-options .customer-menu-button{background:transparent;border:0;box-shadow:none;padding:6px 4px;color:var(--brown);font:inherit;font-size:12px;cursor:pointer}.customer-list-options .customer-menu-button:hover{text-decoration:underline}.customer-list-options .customer-menu-button:focus-visible{outline:2px solid #cfab56;outline-offset:2px}.customer-list-options .customer-list-reset{font-size:20px;line-height:1;padding:5px}.customer-list-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:30;width:250px;max-width:calc(100vw - 36px);max-height:65vh;overflow-y:auto;padding:12px;background:#fffdfa;border:1px solid var(--border);border-radius:10px;box-shadow:0 10px 28px #42362f20;white-space:normal}.customer-list-popover fieldset{border:0;padding:0;margin:0 0 10px;min-width:0}.customer-list-popover fieldset:last-child{margin-bottom:0}.customer-list-popover legend{font-size:11px;color:var(--muted);margin-bottom:4px}.customer-list-popover .customer-menu-check{display:flex;align-items:center;gap:8px;padding:7px 2px;font-size:12px;cursor:pointer}.customer-menu-check input{width:15px;height:15px;margin:0;flex-shrink:0;accent-color:#b78519}.customer-menu-check>span{display:flex;align-items:center;gap:8px;flex:1}.customer-menu-check small{font-size:10px;color:var(--muted);margin-left:auto}.customer-sort-direction{display:flex;gap:10px;padding:0 0 7px 23px}.customer-sort-direction .customer-menu-check{font-size:10px;gap:4px}.customer-menu-check:has(input:disabled){opacity:.45}.customer-sort-option+.customer-sort-option{border-top:1px solid var(--border)}.page-heading-actions{flex-wrap:wrap;justify-content:flex-end}
@media(max-width:700px){.filters:has(.customer-list-options){gap:6px}.customer-list-options{gap:3px}.customer-list-options .customer-menu-button{font-size:11px;padding:6px 3px}.customer-list-options .customer-list-reset{font-size:18px}.filters:has(.customer-list-options)>.search{width:auto;max-width:none}.filters:has(.customer-list-options)>.search .search-go{padding-left:5px;padding-right:5px}.customer-list-popover{position:absolute;right:0;width:245px}.customer-menu-anchor:first-child .customer-list-popover{right:-65px}.page-heading-actions .btn{margin-top:0}}
.customer-list-options{padding-right:28px;min-height:32px;box-sizing:border-box}.customer-list-options>.customer-list-reset{position:absolute;right:0;top:50%;transform:translateY(-50%);width:24px;box-sizing:border-box}
.client-detail-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin-bottom:18px}.client-detail-tabs button{font:inherit;font-size:13px;color:var(--muted);border:0;border-bottom:2px solid transparent;background:transparent;padding:10px 17px;cursor:pointer}.client-detail-tabs button[aria-selected=true]{color:var(--brown);border-bottom-color:#c79623}.client-detail-tabs button:focus-visible{outline:2px solid #cfab56;outline-offset:-2px}.client-detail-panel[hidden]{display:none!important}.client-detail-panel>.client-action-row{margin-top:0}
