.hpc-trigger{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:5px 7px;border:1px solid #cbd8bf;border-radius:24px;background:#f4f7ec;color:#173e30;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-touch-callout:none}.hpc-trigger.hpc-selected{border-color:#7f9f6b;background:#e6efdd}.hpc-pair{display:flex;align-items:center}.hpc-avatar{display:block;position:relative;overflow:hidden;width:32px;height:32px;flex-shrink:0;border:2px solid #fff;border-radius:50%;background:#e8e5d8}.hpc-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hpc-pair .hpc-avatar+.hpc-avatar{margin-left:-8px}.hpc-initial,.hpc-empty{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font:700 14px/1 system-ui;color:#345e3a}.hpc-empty{width:28px;font-size:23px}.hpc-count{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;background:#214f3b;color:#fff;font:700 10px system-ui;margin-left:-4px;border:2px solid #fff}.hpc-label{font:650 10px/1.2 system-ui;max-width:48px}.hpc-account-copy{display:flex;flex-direction:column;line-height:1.1;text-align:left}.hpc-account-copy small{display:block;font:500 10px/1.2 system-ui;color:#526457}.hpc-account-copy strong{font:700 12px/1.2 system-ui}.hpc-person{border-color:#8dab74;width:32px;height:32px}#accountLink:has(.hpc-person){display:flex;align-items:center;gap:5px;text-decoration:none;min-height:44px}
.hpc-dialog{width:min(600px,calc(100% - 22px));max-height:calc(100dvh - 28px);margin:auto;border:1px solid #d6dfcc;border-radius:22px;padding:22px;background:#faf7ee;color:#173e30;overflow:auto;box-shadow:0 20px 70px #102c2459}.hpc-dialog::backdrop{background:#102c24b3;backdrop-filter:blur(5px)}.hpc-dialog-head{display:flex;align-items:center;gap:12px;justify-content:space-between}.hpc-dialog h2{font:500 28px/1.15 Georgia,serif;margin:0}.hpc-close{width:44px;height:44px;min-width:44px;border:1px solid #d3ddc7;border-radius:50%;background:#fff;color:#173e30;font:400 26px/1 system-ui;cursor:pointer}.hpc-help{font:400 13px/1.5 system-ui;color:#526457;margin:12px 0 16px}.hpc-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hpc-option{display:flex;align-items:center;gap:9px;min-width:0;min-height:80px;padding:12px;border:1px solid #d6dfcc;border-radius:14px;background:#fff;cursor:pointer}.hpc-option:has(input:checked){background:#eaf2e1;border-color:#7d9d68}.hpc-option input{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:#285b3f}.hpc-option .hpc-avatar{width:48px;height:48px}.hpc-pet-copy{min-width:0}.hpc-pet-copy strong{display:block;font:700 13px/1.3 system-ui;overflow-wrap:anywhere}.hpc-pet-copy small{display:block;font:400 11px/1.3 system-ui;color:#526457;margin-top:3px}.hpc-pet-copy .hpc-reference{font-size:9px;color:#72613e}.hpc-selection-note{font:500 12px/1.4 system-ui;color:#526457;margin:13px 0}.hpc-actions{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.hpc-actions button{min-height:44px;padding:10px 14px;font:650 13px/1.3 system-ui;border:1px solid #c8d4bc;border-radius:11px;background:#fff;color:#173e30;cursor:pointer}.hpc-actions .hpc-done{background:#214f3b;color:#fff;border-color:#214f3b}.hpc-register{display:inline-flex;align-items:center;min-height:44px;color:#285b3f;font:500 12px system-ui;text-underline-offset:3px}.hpc-trigger:focus-visible,.hpc-dialog :is(button,input,a):focus-visible{outline:3px solid #b16d25;outline-offset:3px}
@media(max-width:420px){.header-actions{gap:6px}.hpc-trigger{padding:4px;max-width:65px}.hpc-trigger .hpc-label{display:none}.hpc-trigger .hpc-avatar{width:28px;height:28px}.hpc-count{min-width:20px;height:20px;font-size:9px}.hpc-person{width:29px;height:29px}.hpc-account-copy small{font-size:9px}.hpc-account-copy strong{font-size:11px}#accountLink:has(.hpc-person){max-width:91px}.hpc-dialog{padding:17px}.hpc-dialog h2{font-size:25px}.hpc-options{grid-template-columns:1fr}.hpc-option{min-height:76px}.hpc-actions button{flex:1}}
