.home-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.home-health-grid>.daily-challenge-entry{margin:0;width:100%;min-width:0;min-height:66px;padding:12px;gap:10px;display:flex;align-items:center;justify-content:center;text-align:center;font-size:14px;box-sizing:border-box}.home-health-grid>.daily-challenge-entry>span{min-width:0;overflow-wrap:anywhere;line-height:1.35}.home-health-grid svg{width:24px;height:24px;flex:0 0 24px}.home-health-grid .food-home-icon{display:flex;align-items:center;justify-content:center;flex:0 0 24px}
.medication-content{max-width:820px}.medication-content button,.medication-dialog button{letter-spacing:0}.medication-toolbar{display:flex;align-items:center;gap:12px;margin:0 0 22px}.medication-toolbar .together-tabs{flex:1;min-width:0}.medication-toolbar>button,.medication-card header>button{width:42px;min-height:42px;flex:0 0 42px;display:grid;place-items:center;padding:9px;margin:0;color:var(--theme-color);background:#161d24;border:1px solid #303d46;border-radius:6px}.medication-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.medication-heading>div{min-width:0}.medication-heading strong{display:block;color:var(--theme-color);font-size:19px;line-height:1.5;overflow-wrap:anywhere}.medication-heading small{display:block;font-size:12px;line-height:1.6;color:#a7b6c3;margin-top:4px}.medication-heading>button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px;margin:0;font-size:13px;background:#161d24;color:#e7edf3;border:1px solid #303d46;border-radius:6px}
.medication-cards{display:grid;gap:16px}.medication-card{padding:18px;border:1px solid #35444d;border-radius:8px;background:#10181e}.medication-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.medication-card header>div{min-width:0}.medication-card h3{font-size:18px;line-height:1.5;margin:0;overflow-wrap:anywhere}.medication-card header p{font-size:13px;color:#b8c5ce;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}.medication-progress{color:var(--theme-color);font-size:12px;line-height:1.6;margin:14px 0 6px}.medication-dose-list{display:flex;flex-direction:column}.medication-dose{display:flex;gap:12px;align-items:center;text-align:left;padding:12px 0;min-height:62px;width:100%;margin:0;border:0;border-bottom:1px solid #2c3942;border-radius:0;color:#e7edf3;background:none}.medication-dose>span:nth-child(2){flex:1;min-width:0}.medication-dose strong{display:block;font-size:14px;font-weight:500}.medication-dose small{display:block;font-size:12px;line-height:1.6;margin-top:3px;color:#a7b6c3}.medication-dose-marker{display:grid;place-items:center;flex:0 0 28px;height:28px;border:1px solid #54646f;border-radius:50%;font-size:12px;color:#b8c5ce}.medication-dose.recorded .medication-dose-marker{border-color:#40cf86;background:#40cf861a;color:#40cf86}.medication-dose.recorded strong{color:#40cf86}.medication-dose.just-recorded .medication-dose-marker{animation:medication-recorded .6s ease-out}.medication-taken,.medication-wide{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;width:100%;padding:12px;margin:18px 0 0;border-radius:6px;font-size:14px;box-sizing:border-box}.medication-recorded-label{font-size:13px;line-height:1.6;text-align:center;color:#40cf86;margin:18px 0 0}.medication-instructions{font-size:12px;line-height:1.7;color:#b8c5ce;margin-top:14px}.medication-instructions summary{cursor:pointer}.medication-instructions p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.medication-caption{font-size:12px;line-height:1.7;color:#a7b6c3;margin:10px 0 16px}.medication-inline-confirmation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 18px;color:#40cf86;font-size:14px;line-height:1.6}.medication-inline-confirmation>span{min-width:0;overflow-wrap:anywhere}.medication-inline-confirmation button{width:36px;min-height:36px;display:grid;place-items:center;margin:0;padding:8px;background:none;border:1px solid #35444d;border-radius:6px;color:#b8c5ce}.medication-pending-offers{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;margin:0 0 18px;padding:12px;border:1px solid var(--theme-color);border-radius:6px;background:#10181e;color:var(--theme-color);text-align:left;font-size:13px}
.medication-empty{text-align:center;padding:28px 0}.medication-empty>svg{height:42px;width:42px;color:var(--theme-color)}.medication-empty p{font-size:14px;color:#b8c5ce;line-height:1.7}.medication-history-day{padding:18px 0;border-bottom:1px solid #303d46}.medication-history-day h3{font-size:15px;margin:0 0 10px}.medication-history-entry,.medication-medicine-list>button{display:flex;align-items:center;gap:12px;min-height:64px;padding:14px 0;margin:0;width:100%;border:0;border-bottom:1px solid #2c3942;border-radius:0;background:none;color:#e7edf3;text-align:left}.medication-history-entry>svg:first-child{color:#40cf86}.medication-history-entry>span,.medication-medicine-list>button>span{flex:1;min-width:0}.medication-history-entry strong,.medication-medicine-list strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.medication-history-entry small,.medication-medicine-list small{display:block;font-size:12px;line-height:1.7;color:#a7b6c3;margin-top:4px;overflow-wrap:anywhere}
.medication-dialog p{font-size:13px;line-height:1.75;color:#b8c5ce;overflow-wrap:anywhere}.medication-dialog [role=alert],#medication-status{font-size:13px;line-height:1.6;color:#edacb5}.medication-dialog [role=alert]:empty,#medication-status:empty,.medication-settings-status:empty{display:none}.medication-dialog select[data-custom-select],.medication-preference-block select[data-custom-select]{display:none!important}.medication-dialog .profile-sound-setting,.medication-preference-block .profile-sound-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:16px 0}.medication-dialog .profile-sound-setting input,.medication-preference-block .profile-sound-setting input{flex:0 0 46px;margin:0}.medication-dialog .profile-sound-setting small,.medication-preference-block .profile-sound-setting small{display:block;font-size:12px;line-height:1.6;color:#a7b6c3;margin-top:5px}.medication-preference-block{padding:0 0 16px;border-bottom:1px solid #303d46}.medication-preference-block h4{font-size:16px;font-weight:400;line-height:1.4;margin:18px 0 12px;color:inherit}.medication-preference-block>label:last-child{border-bottom:0}.medication-preference-block [hidden]{display:none!important}.medication-grace{padding:0 0 4px}.medication-grace label{font-size:13px;color:#c4cdd6;margin:14px 0 8px;display:block}.medication-grace p,.medication-settings-status{font-size:12px;line-height:1.7;color:#a7b6c3;margin:10px 0 0}.medication-dialog .medication-form-heading{font-size:15px;margin:24px 0 10px}.medication-time-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:10px;margin:10px 0}.medication-time-fields>div{min-width:0}.medication-time-fields label{margin:0 0 7px;font-size:12px}.medication-dialog .medication-time-row{margin:0;padding:12px 0;border-bottom:1px solid #303d46}.medication-time-row .personal-check{margin:0}.medication-link-row{border-top:1px solid #303d46;padding:16px 0;margin:16px 0!important}.medication-link-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:13px}.medication-link-heading button{display:grid;place-items:center;width:36px;min-height:36px;padding:8px;margin:0;color:#edacb5;background:none;border:1px solid #603840;border-radius:6px}.medication-info-button{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:10px;margin:16px 0 0;border:1px solid #35444d;border-radius:6px;background:#161d24;color:var(--theme-color);font-size:13px;box-sizing:border-box}.medication-entry-time{color:var(--theme-color)!important;font-weight:600}
.medication-acknowledgement{max-width:540px;text-align:center;padding:30px 24px;border:1px solid #43584e;background:#0c1417}.medication-acknowledgement::backdrop{background:#000c;backdrop-filter:blur(4px)}.medication-ack-icon{display:grid;place-items:center;width:68px;height:68px;margin:4px auto 22px;border:1px solid #40cf8680;border-radius:50%;background:#40cf8612;box-shadow:0 0 34px #40cf8622;animation:medication-recorded .65s ease-out}.medication-ack-icon svg{width:34px;height:34px;color:#40cf86}.medication-acknowledgement h2{font-size:23px;line-height:1.5;margin:0 0 12px;overflow-wrap:anywhere}.medication-acknowledgement .medication-upcoming{margin:24px 0;padding:18px 0;border-top:1px solid #303d46;border-bottom:1px solid #303d46}.medication-upcoming h3{font-size:14px;color:#e7edf3}.medication-upcoming>div{display:flex;align-items:baseline;gap:16px;justify-content:space-between;text-align:left;font-size:13px;line-height:1.6;margin:10px 0}.medication-upcoming span{min-width:0;overflow-wrap:anywhere}.medication-upcoming strong{color:var(--theme-color);white-space:nowrap;font-weight:500}.medication-offer{margin:18px 0!important;text-align:left}.medication-offer p{font-size:14px;line-height:1.8}.medication-offer strong{color:var(--theme-color)}.medication-offer .personal-actions{flex-wrap:wrap;gap:8px;margin:14px 0}.medication-offer .personal-actions button{flex:1 1 70px}.medication-acknowledgement>.medication-wide{margin-top:18px}.medication-dialog .game-custom-select{min-width:0;max-width:100%}.medication-dialog .game-custom-select-button{min-width:0;overflow-wrap:anywhere}.medication-dialog .personal-actions{flex-wrap:wrap}.medication-dialog .personal-actions>button{min-width:0;overflow-wrap:anywhere}
.medication-card>header{background:transparent;padding:0;text-align:left;border:0;border-radius:0;box-shadow:none}.medication-card>header h3{color:#e7edf3}.medication-dialog .medication-cancel-reminder{color:#edacb5;border-color:#603840}
.medication-dose-progress i.just-filled{transform-origin:left center;animation:medication-progress-fill .5s ease-out}@keyframes medication-progress-fill{from{transform:scaleX(.1);opacity:.5}to{transform:scaleX(1);opacity:1}}
.medication-content .action-apply,.medication-dialog .action-apply{background:#40cf86;color:#062919;border:0}.medication-content .action-apply:hover,.medication-dialog .action-apply:hover{background:#57d995}.medication-content .action-apply:active,.medication-dialog .action-apply:active{background:#32ba73}.medication-dose-progress{display:flex;gap:5px;margin:12px 0 8px;height:6px}.medication-dose-progress i{flex:1;min-width:0;background:#30414a;border-radius:3px;transition:background-color .25s ease,box-shadow .25s ease}.medication-dose-progress i.filled{background:#40cf86;box-shadow:0 0 7px #40cf8630}.medication-card header>button{color:#a7b6c3;background:transparent;border-color:#303d46}.medication-dose.recorded{background:#40cf8608}.medication-instructions summary{color:#9babb9}.medication-ack-icon{box-shadow:0 0 34px #40cf8630}
.medication-empty>p{margin-bottom:0}.medication-empty .medication-empty-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;min-height:44px;margin:24px auto 0;padding:12px 18px;border-radius:6px;box-sizing:border-box;font-size:14px;line-height:1.4;text-align:center}.medication-empty-add>svg{display:block;width:20px;height:20px;flex:0 0 20px}.medication-empty-add>span{min-width:0;overflow-wrap:anywhere}
.medication-next-reminders{padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #303d46}.medication-next-reminders summary{font-size:13px;line-height:1.7;color:#b8c5ce;cursor:pointer}.medication-next-reminders summary>span{margin-left:8px;color:var(--theme-color)}.medication-next-reminders>button{display:flex;align-items:center;gap:10px;width:100%;min-height:46px;padding:12px 0;margin:0;background:none;border:0;border-bottom:1px solid #2c3942;border-radius:0;text-align:left;color:#e7edf3;font-size:12px;line-height:1.6}.medication-next-reminders>button>span{flex:1;min-width:0;overflow-wrap:anywhere}.medication-next-reminders strong{color:var(--theme-color);font-weight:500;text-align:right}.medication-next-reminders svg{width:16px;height:16px;flex:0 0 16px}
.medication-dialog .profile-sound-setting input[role=switch],.medication-preference-block .profile-sound-setting input[role=switch]{width:48px;height:28px;min-height:28px;flex:0 0 48px;padding:0;border-radius:16px;background:#30363d}.medication-dialog .profile-sound-setting input[role=switch]:checked,.medication-preference-block .profile-sound-setting input[role=switch]:checked{background:var(--theme-color)}.medication-dialog .profile-sound-setting{border:0;border-bottom:1px solid #303d46}.medication-preference-block>.profile-sound-setting,.medication-preference-block [data-medication-owner-reminders]>.profile-sound-setting{border:0}.medication-dialog>header{padding-bottom:18px;margin-bottom:0;border-bottom:1px solid #303d46}
.medication-grace-scale{margin:18px 0 12px}.medication-scale-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}.medication-grace-scale .medication-scale-heading label{margin:0;font-size:13px;line-height:1.5;min-width:0}.medication-scale-heading output{color:var(--theme-color);font-size:13px;font-weight:600;text-align:right;flex-shrink:0}.medication-dialog .medication-grace-scale input[type=range],.medication-preference-block .medication-grace-scale input[type=range]{appearance:none;-webkit-appearance:none;display:block;width:100%;height:28px;min-height:28px;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;touch-action:pan-y}.medication-grace-scale input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:linear-gradient(to right,var(--theme-color) 0 var(--medication-range-progress),#35444d var(--medication-range-progress) 100%)}.medication-grace-scale input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-8px;border:2px solid #0c141a;border-radius:50%;background:var(--theme-color);box-shadow:0 0 0 1px var(--theme-color)}.medication-grace-scale input[type=range]::-moz-range-track{height:6px;border-radius:3px;background:#35444d}.medication-grace-scale input[type=range]::-moz-range-progress{height:6px;border-radius:3px;background:var(--theme-color)}.medication-grace-scale input[type=range]::-moz-range-thumb{width:18px;height:18px;border:2px solid #0c141a;border-radius:50%;background:var(--theme-color);box-shadow:0 0 0 1px var(--theme-color)}.medication-grace-scale input[type=range]:focus-visible{outline:2px solid var(--theme-color);outline-offset:4px}.medication-scale-ticks{display:flex;justify-content:space-between;gap:8px;margin-top:5px;font-size:11px;line-height:1.5;color:#a7b6c3}
@keyframes medication-recorded{0%{transform:scale(.8);opacity:.3}65%{transform:scale(1.08);opacity:1}100%{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.medication-dialog *,.medication-content *{animation:none!important;transition:none!important}}@media(max-width:360px){.home-health-grid>.daily-challenge-entry{flex-direction:column;gap:6px;min-height:84px;padding:10px 8px}.medication-card{padding:14px}.medication-acknowledgement{padding:24px 18px}.medication-acknowledgement h2{font-size:21px}.medication-heading>button{font-size:12px;gap:5px}}
.medication-history-day:has(.medication-history-entry){border-bottom:0;padding-bottom:0}
