/* Compact person selection; saved values and calculation handlers stay intact. */
html body.simple-ui.discovery-ui .shared-profile-picker,
html body.simple-ui.discovery-ui .divine-profiles {
 display:block;grid-template-columns:1fr;min-height:0!important;padding:0!important;
 margin:0 0 12px!important;border:0!important;background:transparent!important;box-shadow:none!important;
}
html body.simple-ui.discovery-ui :is(.shared-profile-picker,.divine-profiles)[hidden],
html body.simple-ui.discovery-ui .saved-profile-control[hidden]{display:none!important}
html body.simple-ui.discovery-ui .shared-profile-controls,
html body.simple-ui.discovery-ui .divine-profiles {
 display:grid;grid-template-columns:minmax(0,1fr) auto!important;gap:8px;align-items:end;
}
html body.simple-ui.discovery-ui :is(.shared-profile-controls,.divine-profiles) label{min-width:0;font-size:13px!important;margin:0!important;line-height:1.4}
html body.simple-ui.discovery-ui select[data-compact-profile],
html body.simple-ui.discovery-ui #reminderProfile {
 display:block!important;position:static!important;width:100%!important;min-width:0!important;
 min-height:44px!important;height:44px!important;max-width:100%;margin-top:5px!important;
 padding:8px 30px 8px 10px!important;border-radius:10px!important;font:inherit;
}
html body.simple-ui.discovery-ui :is(.shared-profile-controls,.divine-profiles)>.text-action{
 min-height:44px!important;width:auto!important;padding:6px 8px!important;margin:0!important;
 font-size:12px!important;white-space:nowrap!important;align-self:end;
}
html body.simple-ui.discovery-ui #birthProfilePanel{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;gap:6px;margin-bottom:10px!important}
html body.simple-ui.discovery-ui #birthProfilePanel .profile-controls{gap:8px!important}
html body.simple-ui.discovery-ui #birthProfilePanel .profile-heading{min-height:0!important;margin:0!important;justify-content:flex-end!important}
html body.simple-ui.discovery-ui #birthProfilePanel #newBirthProfile{min-height:36px!important;width:auto!important;padding:4px 8px!important;margin:0!important;font-size:12px!important}
html body.simple-ui.discovery-ui #birthProfilePanel .profile-actions{gap:0!important;margin:0!important}
html body.simple-ui.discovery-ui #birthProfilePanel .profile-actions button{width:auto!important;min-height:36px!important;padding:4px 6px!important;font-size:12px!important}
html body.simple-ui.discovery-ui #birthProfilePanel:not(.has-saved-profiles) .profile-heading{display:none!important}
html body.simple-ui.discovery-ui .site-header .site-brand{display:flex!important;align-items:center;gap:6px!important;min-width:0!important;flex-shrink:1!important;text-decoration:none}
html body.simple-ui.discovery-ui .site-header .site-brand>span{font-size:clamp(24px,7vw,32px)!important;font-weight:850!important;line-height:1.1!important;letter-spacing:-.04em!important;white-space:nowrap;text-shadow:0 1px 10px #daa17e18}
html body.simple-ui.discovery-ui .site-header .site-brand img{width:36px!important;height:36px!important;flex:none}
@media(max-width:359px){
 html body.simple-ui.discovery-ui .site-header .site-brand img{width:28px!important;height:28px!important}
 html body.simple-ui.discovery-ui .site-header .menu-button{width:34px!important;min-width:34px!important}
 html body.simple-ui.discovery-ui .site-header .header-inner{gap:3px!important;padding-inline:6px!important}
 html body.simple-ui.discovery-ui .site-header .site-brand{gap:4px!important}
}

html body.simple-ui.discovery-ui #birthProfilePanel #profileStatus{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}

/* Keep the wordmark and all language controls separate on narrow phones. */
@media(max-width:379px){
 html body.simple-ui.discovery-ui .site-header .site-brand img{display:none!important}
}
