/* Daily medication cards and accessible, aligned confirmation controls. */
.checklist-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.checklist-heading h2{margin:8px 0}.checklist-heading p{margin:0;font-size:13px}.checklist-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.checklist-med{border:1px solid #dce6e2;border-radius:12px;overflow:hidden;background:#fff}.checklist-med header{display:flex;align-items:flex-start;gap:12px;padding:20px;background:#f6faf8}.checklist-med h3{font-size:15px;line-height:1.5;margin:0;overflow-wrap:anywhere}.checklist-med header p{font-size:12px;margin:6px 0 0;color:#526860}.daily-checklist .dose-check-form{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;margin:0;border-bottom:1px solid #edf1ec}.daily-checklist .dose-check-form:last-child{border-bottom:0}.daily-checklist .dose-check-form label{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0;cursor:pointer;flex:1;min-width:0}.daily-checklist .dose-check-form input[type=checkbox]{display:block;width:22px;height:22px;min-width:22px;margin:0;padding:0;flex:0 0 22px;accent-color:#147c73}.dose-check-form label>span{display:flex;flex-direction:column;gap:5px}.dose-check-form strong{font-size:13px;color:#24443b}.dose-check-form small{font-size:12px;color:#657a72}.dose-check-form.is-confirmed{background:#f1f8f4}.dose-check-form.is-confirmed small{color:#147c73}.dose-check-form .button{flex-shrink:0;min-height:38px}.checklist-scheduled{padding:20px}.checklist-scheduled p{font-size:13px;margin:0 0 16px}.checklist-footer{border-top:1px solid #edf1ec;margin-top:24px;padding-top:16px}.checklist-footer>p{font-size:12px;color:#657a72;margin:0 0 14px}.checklist-footer summary{font-size:13px;cursor:pointer}.daily-checklist input:focus-visible{outline:3px solid #80b6ad;outline-offset:3px}@media(max-width:900px){.checklist-cards{grid-template-columns:1fr}}@media(max-width:650px){.checklist-heading{align-items:flex-start;flex-direction:column;gap:12px}.checklist-med header,.daily-checklist .dose-check-form,.checklist-scheduled{padding:16px}}

.form-grid .split-dose-option{display:flex;flex-direction:row;align-items:center;gap:14px;padding:18px 20px;border:1px solid #dce6e2;border-radius:10px;background:#f6faf8;cursor:pointer;margin:0}.form-grid .split-dose-option input[type=checkbox]{width:22px;height:22px;min-width:22px;flex:0 0 22px;margin:0;padding:0;accent-color:#147c73}.split-dose-option>span{display:flex;flex-direction:column;gap:5px}.split-dose-option strong{font-size:14px;color:#24443b;font-weight:600}.split-dose-option small{font-size:12px;line-height:1.5;color:#657a72}.split-dose-option:has(input:checked){border-color:#80b6ad;background:#edf7f2}.split-dose-option input:focus-visible{outline:3px solid #80b6ad;outline-offset:3px}.form-grid label[hidden]{display:none!important}@media(max-width:650px){.form-grid .split-dose-option{padding:15px;align-items:flex-start}}

.dose-day-picker{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-bottom:20px}.dose-day-picker label{display:grid;gap:6px}.dose-check-form{flex-wrap:wrap}.dose-check-form .dose-actual-time{display:grid;flex:0 1 160px;gap:5px}.dose-actual-time span{font-size:12px}.dose-actual-time input{width:100%;box-sizing:border-box}

.daily-checklist .dose-check-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end}.daily-checklist .dose-check-form>label:not(.dose-actual-time){grid-column:1/-1}.daily-checklist .dose-check-form label.dose-actual-time{display:grid;grid-template-columns:1fr;align-items:start;gap:6px}.daily-checklist .dose-check-form label.dose-actual-time input{max-width:180px;min-height:40px}.daily-checklist .dose-check-form label.dose-actual-time span{display:block}

.dose-time-edit{min-width:0}.dose-time-edit summary{cursor:pointer;color:#147c73;font-size:12px}.dose-time-edit label{margin-top:10px!important}.dose-time-edit>small{display:block;margin-top:6px}

.dose-spacing-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.dose-spacing-controls label{display:grid;gap:6px;min-width:0}.dose-spacing-controls .spacing-estimate{display:flex;align-items:center;font-size:12px}.spacing-estimate input{width:18px;height:18px}.spacing-chart{height:290px;margin:20px 0}.dose-spacing details{margin:16px 0}@media(max-width:650px){.dose-spacing-controls label:not(.spacing-estimate){width:100%}.dose-spacing-controls select,.dose-spacing-controls input[type=date]{width:100%;box-sizing:border-box}}

.timing-summary{background:#f1f8f4;border:1px solid #dce6e2;border-radius:10px;padding:16px;margin:16px 0}.timing-summary small{color:#657a72}.timing-history h4{margin:20px 0 4px}
.adherence-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px;margin:16px 0}.adherence-card{border:1px solid #dce6e2;border-top:4px solid #75817d;border-radius:12px;padding:18px;min-width:0;background:#fff}.adherence-card h3{margin:0 0 12px}.adherence-score strong{font-size:30px}.adherence-score span{display:block;font-weight:600}.adherence-card dl{margin:14px 0}.adherence-card dl div{display:flex;justify-content:space-between;gap:14px;padding:6px 0}.adherence-card dt{color:#526860}.adherence-card dd{margin:0;font-weight:600;text-align:right}.adherence-card small{display:block;color:#526860}.adherence-excellent{border-top-color:#257452}.adherence-good{border-top-color:#28659b}.adherence-fair{border-top-color:#a45e13}.adherence-poor{border-top-color:#a73636}.adherence-excellent .adherence-score{color:#257452}.adherence-good .adherence-score{color:#28659b}.adherence-fair .adherence-score{color:#a45e13}.adherence-poor .adherence-score{color:#a73636}.adherence-method{margin:16px 0}
