.patient-portrait{display:inline-block;position:relative;flex:none;width:58px;height:58px;overflow:hidden;border-radius:50%;background:#e6eef4;box-shadow:0 0 0 3px #fff,0 0 0 4px #dce6ef;vertical-align:middle;direction:ltr}.portrait-neutral{width:100%;height:100%;fill:#8da9bd}.portrait-sprite{position:absolute;inset:0;display:block;background-image:url('assets/portraits/patient-portraits-v1.png');background-size:400% 400%;background-repeat:no-repeat}.patient-portrait--hero{width:82px;height:82px}.patient-portrait--table{width:42px;height:42px;box-shadow:0 0 0 2px #fff,0 0 0 3px #dce6ef}.patient-portrait--mobile{width:53px;height:53px}.patient-portrait--picker{width:58px;height:58px}.patient-demographics{display:flex;gap:8px 16px;flex-wrap:wrap;color:#496a83;font-size:11px;line-height:1.9;margin-top:6px}.patient-demographics>span{white-space:normal}.patient-demographics>span>span{color:#71889a;font-size:10px}.patient-card-top>div:nth-child(2){min-width:0;flex:1}.patient-card-top .patient-demographics{gap:4px 12px;font-size:10px;margin-top:5px}.patient-card-top .patient-demographics>span>span{font-size:9px}.patient-card-category{margin:3px 0 0!important;font-size:9px!important}.patient-table-person{display:flex;align-items:center;gap:12px;min-width:240px}.patient-table-person>div{min-width:0}.patient-table-person .patient-demographics{font-size:10px;margin:4px 0 0;gap:4px 10px}.patient-table-person .patient-demographics>span>span{font-size:9px}.patient-identity-strip{align-items:center;gap:19px}.patient-identity-strip .patient-profile-name{flex:1;min-width:170px}.patient-identity-strip .patient-profile-name>p{margin-top:4px;font-size:10px;color:#71889a;line-height:1.8}.patient-identity-strip .patient-demographics{font-size:12px;margin-top:8px;gap:10px 20px}.patient-portrait-edit{padding:0;border:0;background:transparent;position:relative;cursor:pointer;flex:none;margin:3px}.patient-portrait-edit>span:last-child{position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);padding:3px 11px;border-radius:7px;background:#497897;color:white;font-size:9px;line-height:1.5;white-space:nowrap;border:2px solid white}.identity-header-actions{display:flex;flex-direction:column;gap:5px;align-items:stretch}.identity-header-actions .btn{font-size:10px;min-height:33px;padding:7px 10px}.identity-editor-intro{display:flex;align-items:center;gap:18px;margin:5px 0 24px;padding:10px 5px 18px;border-bottom:1px solid #e6edf3;color:#52768e}.identity-editor-intro b{font-size:15px}.identity-editor-intro p{font-size:11px;color:#6e8597;margin-top:7px}.identity-age-preview{font-size:11px;color:#557b96;margin:7px 0 0}.portrait-picker{border:0;padding:0;margin:20px 0}.portrait-picker legend{font-size:12px;color:#557b96;padding:0;margin-bottom:13px}.portrait-options{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.portrait-option{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:13px 6px 10px!important;border:1px solid #dce7ef;border-radius:10px;cursor:pointer;min-width:0;background:#f8fbfd;color:#55758d;font-size:9px!important;line-height:1.7;text-align:center;font-weight:400!important}.portrait-option>input{position:absolute;inset-inline-start:6px;top:6px;accent-color:#5285a8;width:13px;height:13px}.portrait-option>span:last-child{min-height:27px;display:flex;align-items:center;justify-content:center}.portrait-option:has(input:checked){border-color:#679abf;background:#eef6fc;box-shadow:0 0 0 1px #679abf}.portrait-option:has(input:focus-visible){outline:3px solid #86b5d6;outline-offset:2px}.identity-editor-footer{padding-top:18px;margin-top:18px;border-top:1px solid #e2eaf1;display:flex;justify-content:end}.new-patient-portrait{margin:18px 0;border:1px solid #dce7ef;border-radius:10px;padding:12px 15px;background:#fafcfd}.new-patient-portrait>summary{cursor:pointer;color:#587c98;font-size:12px}.new-patient-portrait .portrait-options{grid-template-columns:repeat(4,minmax(0,1fr))}.new-patient-portrait .hint{font-size:10px;line-height:1.8;color:#6e8597;margin-top:10px}.mobile-patient-identity{display:flex;gap:13px;align-items:center;margin:0 0 19px;padding:0 0 17px;border-bottom:1px solid #e6edf2;min-width:0}.mobile-patient-identity>div{min-width:0;flex:1}.mobile-patient-identity b{font-size:12px;line-height:1.7;color:#456d8a;display:block;overflow-wrap:anywhere}.mobile-patient-identity .patient-demographics{font-size:9px;gap:4px 9px;margin-top:4px}.mobile-patient-identity .patient-demographics>span>span{font-size:8px}.mobile-patient-identity small{font-size:8px;color:#6d8598;display:block;margin-top:4px}.patient-portrait-edit:focus-visible{outline:3px solid #86b5d6;outline-offset:7px;border-radius:50%}
@media(max-width:1000px){.patient-identity-strip .patient-profile-facts{margin-inline-start:0}.identity-header-actions{flex-direction:row;flex-wrap:wrap}.patient-identity-strip{flex-wrap:wrap}.portrait-options{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.patient-portrait--card{width:52px;height:52px}.patient-portrait--hero{width:72px;height:72px}.patient-identity-strip{gap:14px}.patient-identity-strip .patient-profile-name{min-width:150px}.patient-identity-strip .patient-demographics{font-size:11px;gap:5px 12px}.identity-header-actions{width:100%;gap:8px}.identity-header-actions .btn{flex:1}.patient-identity-strip .patient-profile-facts{width:100%;justify-content:space-around}.patient-identity-strip .patient-profile-name>h2{font-size:17px}.portrait-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.new-patient-portrait .portrait-options{grid-template-columns:repeat(3,minmax(0,1fr))}.portrait-option{padding:12px 5px 8px!important}.patient-portrait--picker{width:53px;height:53px}}
