.medication-page{max-width:1120px;margin:auto}.medication-page .intro{padding:17px 0 10px;margin-bottom:18px}.medication-page .intro h1{font-size:43px;letter-spacing:-1.5px;font-weight:550;margin-bottom:10px}.medication-page .intro p{font-size:15px}.medication-page .intro .date{font-size:12px;margin-bottom:18px}.health-sections{margin-bottom:31px}.health-sections button{font-size:13px;min-height:44px;padding:10px 22px}
.med-refined{max-width:1060px}.regimen-tools{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--quiet-border);padding-top:24px;margin-bottom:27px}.regimen-tools .med-navigation{margin:0;gap:5px;display:flex}.regimen-tools .med-navigation button{border:0;background:transparent;color:var(--muted);font-size:13px;padding:10px 19px;min-height:43px}.regimen-tools .med-navigation button.active{background:var(--quiet-surface);color:var(--ink)}.regimen-add{font-size:13px;min-height:44px;padding:11px 22px}
.regimen-daybar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:21px}.regimen-date-title{display:grid;gap:5px}.regimen-date-title>strong{font-family:Outfit,sans-serif;font-weight:550;font-size:22px;letter-spacing:-.4px}.regimen-date-title>span{font-size:12px;color:var(--muted)}.regimen-date-controls{display:flex;align-items:center;gap:7px}.regimen-date-controls .med-date-arrow{width:35px;height:37px;font-size:21px;border:0;background:var(--quiet-surface);border-radius:50%}.regimen-date-input{margin:0}.regimen-date-input input{width:155px;min-height:39px;font-size:12px;border:1px solid var(--quiet-border);border-radius:12px;background:var(--panel);padding:9px 10px}.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.regimen-summary{background:var(--panel);border:1px solid var(--quiet-border);border-radius:22px;padding:23px 27px;margin-bottom:25px;max-width:none}.regimen-summary-top{display:flex;align-items:center;gap:15px}.regimen-summary-icon{width:43px;height:43px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;flex:none}.regimen-summary-icon svg{width:20px;height:20px}.regimen-summary-top>div{flex:1}.regimen-summary h2{font-size:24px;font-weight:500;letter-spacing:-.5px}.regimen-summary p{color:var(--muted);font-size:12px;margin:5px 0 0}.regimen-private{font-size:11px;padding:8px 12px;border-radius:20px;color:var(--muted);background:var(--quiet-surface)}.regimen-progress{height:7px;border-radius:10px;background:var(--quiet-surface);overflow:hidden;margin-top:20px}.regimen-progress>span{display:block;height:100%;border-radius:10px;background:var(--action-bg)}
.regimen-filter{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 23px}.regimen-filter button{border:1px solid var(--quiet-border);background:var(--quiet-surface);color:var(--muted);border-radius:22px;min-height:39px;font-size:12px;padding:9px 15px;display:flex;align-items:center;gap:8px}.regimen-filter button.active{background:var(--action-bg);border-color:var(--action-bg);color:var(--action-fg)}.regimen-filter button>span{font-size:10px;opacity:.8}.regimen-sort-note{margin-left:auto;font-size:10px;color:var(--muted)}
.regimen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:23px}.regimen-card{min-width:0;background:var(--panel);border:1px solid var(--quiet-border);border-radius:22px;overflow:hidden}.regimen-heading{display:flex;gap:13px;align-items:center;padding:24px 23px 20px}.regimen-icon{width:39px;height:39px;display:grid;place-items:center;background:var(--soft);color:var(--accent);border-radius:13px;flex:none}.regimen-icon svg{width:20px;height:20px}.regimen-title{flex:1;min-width:0}.regimen-title h2{font-size:25px;letter-spacing:-.5px;font-weight:550;overflow-wrap:anywhere;line-height:1.2;margin:0}.regimen-title p{font-size:11px;color:var(--muted);margin:6px 0 0;line-height:1.6}.regimen-edit{font-size:11px;min-height:42px;min-width:40px;text-align:right}.regimen-instructions{margin:-4px 23px 18px;padding:11px 13px;font-size:12px;line-height:1.7;border-radius:9px;background:var(--quiet-surface);color:var(--muted);overflow-wrap:anywhere}
.regimen-dose-list{padding:0 23px}.regimen-dose{border-top:1px solid var(--quiet-border);padding:18px 0}.regimen-dose-info{display:flex;gap:10px;align-items:center}.regimen-clock{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;color:var(--muted);flex:none}.regimen-clock svg{width:18px;height:18px}.regimen-time{min-width:85px}.regimen-time>strong{font-size:15px;font-weight:550}.regimen-time>small{font-size:10px;line-height:1.7;margin-top:3px;color:var(--muted);display:block}.regimen-amount{font-size:12px;color:var(--muted);background:var(--quiet-surface);padding:6px 10px;border-radius:8px;overflow-wrap:anywhere;min-width:0;line-height:1.7;margin-left:auto;text-align:right}
.regimen-dose-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:12px;min-height:38px}.regimen-status{font-size:11px;color:var(--muted);line-height:1.7}.regimen-status.is-taken{color:#3c6c50}.regimen-status.is-skipped{color:#8a6c3b}.regimen-status>small{font-size:10px;color:var(--muted)}.regimen-dose-actions{display:flex;align-items:center;gap:11px;flex:none}.regimen-dose-actions .button{font-size:11px;min-height:36px;padding:8px 16px}.regimen-dose-bottom>.text-button,.regimen-skip{font-size:11px;min-height:40px}.regimen-foot{display:flex;justify-content:space-between;gap:10px;font-size:10px;line-height:1.6;color:var(--muted);background:var(--quiet-surface);padding:12px 23px}.regimen-empty-filter{grid-column:1/-1;text-align:center;padding:40px 20px;background:var(--panel);border:1px solid var(--quiet-border);border-radius:20px}.regimen-empty-filter>span{font-size:30px;color:var(--accent)}.regimen-empty-filter h2{font-size:23px;font-weight:500;margin:15px 0 8px}
.regimen-care-note{display:flex;gap:14px;align-items:center;background:var(--quiet-surface);border-radius:17px;margin-top:28px;padding:20px 23px;max-width:630px}.regimen-care-note>span{display:grid;place-items:center;width:35px;height:35px;flex:none;color:var(--accent)}.regimen-care-note svg{width:25px;height:25px}.regimen-care-note p{font-family:Outfit,sans-serif;font-weight:500;font-size:19px;margin:0}.regimen-care-note small{display:block;font-family:'DM Sans',sans-serif;font-size:12px;color:var(--muted);font-weight:400;line-height:1.7;margin-top:3px}.med-refined .med-scope-note{border:0;padding:0;font-size:11px;color:var(--muted);line-height:1.8;margin-top:23px;max-width:660px}.med-refined .medication-definition{border-color:var(--quiet-border);border-radius:22px;background:var(--panel)}.med-refined .med-schedule-chips>div{background:var(--quiet-surface)}.med-refined .medication-history{border-color:var(--quiet-border);border-radius:22px}.med-refined .dose-history-row{border-color:var(--quiet-border)}.med-refined .medication-empty{border-color:var(--quiet-border)}
.dark .regimen-status.is-taken{color:#a6d6b7}.dark .regimen-status.is-skipped{color:#dfc48e}.dark .regimen-dose-info .regimen-clock{color:#b5bdca}
.large .regimen-title h2{font-size:30px}.large .regimen-time>strong{font-size:19px}.large .regimen-time>small,.large .regimen-status,.large .regimen-status>small,.large .regimen-amount,.large .regimen-dose-actions .button,.large .regimen-dose-bottom>.text-button,.large .regimen-skip,.large .regimen-foot,.large .regimen-title p,.large .regimen-instructions{font-size:16px}.large .regimen-grid{grid-template-columns:1fr}.large .regimen-filter button{font-size:16px}.large .regimen-summary h2{font-size:28px}.large .regimen-date-input input{font-size:16px;width:185px}.large .regimen-dose-info,.large .regimen-dose-bottom{flex-wrap:wrap}.large .regimen-sort-note{font-size:14px}
@media(max-width:1000px){.regimen-grid{gap:18px}.regimen-heading{padding:21px 19px 18px;gap:10px}.regimen-dose-list{padding:0 19px}.regimen-title h2{font-size:23px}.regimen-time{min-width:78px}.regimen-clock{display:none}.regimen-sort-note{width:100%;margin:5px 0 0}.regimen-summary h2{font-size:23px}}
@media(max-width:760px){.regimen-grid{grid-template-columns:1fr;gap:19px}.regimen-clock{display:grid}.regimen-heading{padding:24px 23px 20px}.regimen-title h2{font-size:25px}.regimen-dose-list{padding:0 23px}.regimen-dose{padding:19px 0}.regimen-tools{gap:15px}.regimen-tools .med-navigation button{padding:10px 13px}.regimen-add{font-size:12px;padding:11px 17px}.regimen-summary{padding:22px}.regimen-private{font-size:10px}.regimen-sort-note{width:auto;margin:0 0 0 auto}}
@media(max-width:540px){.medication-page .intro{padding:12px 0 5px;margin-bottom:16px}.medication-page .intro h1{font-size:34px;letter-spacing:-1px}.medication-page .intro p{font-size:13px;line-height:1.7}.medication-page .intro .date{font-size:11px;margin-bottom:14px}.health-sections{margin-bottom:22px;gap:6px}.health-sections button{font-size:12px;padding:9px 20px;min-height:42px}.regimen-tools{display:flex;flex-direction:column-reverse;align-items:stretch;padding-top:19px;margin-bottom:22px;gap:18px}.regimen-add{min-height:45px;width:100%;font-size:13px}.regimen-tools .med-navigation{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.regimen-tools .med-navigation button{font-size:12px;padding:9px 5px;min-height:41px}.regimen-daybar{display:block;margin-bottom:18px}.regimen-date-title{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:15px}.regimen-date-title>strong{font-size:23px}.regimen-date-title>span{font-size:11px}.regimen-date-controls{justify-content:space-between;gap:8px}.regimen-date-input{flex:1}.regimen-date-input input{width:100%;min-height:38px;font-size:13px;padding:8px 11px;background:transparent}.regimen-date-controls .med-date-arrow{width:35px;height:35px;flex:none}.regimen-summary{border-radius:18px;padding:21px 18px;margin-bottom:21px}.regimen-summary-top{gap:11px;flex-wrap:wrap}.regimen-summary-icon{width:35px;height:35px}.regimen-summary-icon svg{width:17px;height:17px}.regimen-summary h2{font-size:23px;letter-spacing:-.4px}.regimen-summary p{font-size:11px;margin-top:4px}.regimen-private{display:none}.regimen-progress{height:6px;margin-top:17px}.regimen-filter{display:flex;gap:6px;margin-bottom:19px}.regimen-filter button{font-size:10px;min-height:37px;padding:8px 11px;gap:6px}.regimen-filter button>span{font-size:9px}.regimen-sort-note{font-size:10px;width:100%;margin:7px 0 0}.regimen-card{border-radius:18px}.regimen-heading{padding:22px 18px 17px;gap:11px}.regimen-icon{width:35px;height:35px;border-radius:11px}.regimen-icon svg{width:18px;height:18px}.regimen-title h2{font-size:24px}.regimen-title p{font-size:11px;margin-top:5px}.regimen-edit{font-size:11px;padding:5px;min-width:36px;min-height:39px}.regimen-dose-list{padding:0 18px}.regimen-dose{padding:17px 0}.regimen-dose-info{gap:8px}.regimen-time{min-width:78px}.regimen-time>strong{font-size:15px}.regimen-clock{width:22px}.regimen-clock svg{width:17px;height:17px}.regimen-time>small{font-size:10px}.regimen-amount{font-size:11px;max-width:145px;padding:5px 9px}.regimen-dose-actions .button{font-size:11px;min-height:37px;padding:8px 16px}.regimen-dose-actions{gap:9px}.regimen-status{font-size:11px}.regimen-status>small{display:block;font-size:9px}.regimen-dose-bottom{margin-top:11px;gap:10px}.regimen-skip{font-size:11px}.regimen-foot{padding:12px 18px;font-size:10px}.regimen-instructions{font-size:11px;margin:-2px 18px 16px;padding:10px 12px}.regimen-care-note{margin-top:23px;padding:19px 18px;gap:10px}.regimen-care-note p{font-size:20px}.regimen-care-note small{font-size:11px}.med-refined .med-scope-note{font-size:10px;line-height:1.8;margin-top:21px}.large .regimen-filter{display:grid;grid-template-columns:1fr}.large .regimen-filter button{justify-content:space-between;font-size:16px}.large .regimen-tools .med-navigation{grid-template-columns:1fr}.large .regimen-tools .med-navigation button{font-size:16px}.large .regimen-summary h2{font-size:25px}.large .regimen-title h2{font-size:29px}.large .regimen-dose-bottom{flex-wrap:wrap}.large .regimen-dose-actions{margin-left:auto}.large .regimen-amount{max-width:none}.large .regimen-time>small,.large .regimen-foot,.large .regimen-status>small{font-size:14px}}
.medication-page .intro .date{display:none}@media(max-width:540px){.medication-page .intro{padding-top:10px}.regimen-daybar{display:flex;gap:10px;align-items:center}.regimen-date-title{display:block;margin:0}.regimen-date-title>strong{font-size:21px}.regimen-date-title>span{display:none}.regimen-date-controls{gap:5px}.regimen-date-input{flex:none}.regimen-date-input input{width:132px;font-size:12px}.regimen-date-controls .med-date-arrow{width:30px;height:33px}.large .regimen-daybar{display:block}.large .regimen-date-title{margin-bottom:12px}.large .regimen-date-input input{width:180px;font-size:16px}}
.regimen-heading{background:var(--soft);border-bottom:1px solid var(--accent-line);box-shadow:inset 4px 0 0 var(--accent)}.regimen-title h2{color:var(--accent)}.regimen-icon{background:var(--panel)}.regimen-dose:first-child{border-top:0}.regimen-instructions{margin-top:14px}
