.mh-intro{padding:24px;border:1px solid #c9eb7240;border-radius:16px;background:linear-gradient(135deg,#202a18,#131910)}
.mh-intro h2{font-size:clamp(1.7rem,5vw,2.6rem);line-height:1.1;margin:8px 0}.mh-intro p:last-child{margin-bottom:0}
.mh-help,.mh-urgent{font-size:.9rem;line-height:1.5}
.mh-urgent{border-left:3px solid #e8b36e;padding:12px 14px;background:#34291a;color:#ffe0ad;border-radius:7px}
.mh-heading,.mh-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.mh-heading h3{margin:0}.mh-actions{justify-content:flex-start;margin:12px 0}
#mh-settings summary,.mh-learn summary{font-weight:bold;cursor:pointer}
#mh-profile,#mh-entry{display:grid;gap:12px;margin-top:16px}
#mh-profile label:not(.check),#mh-entry label,.mh-heading label{display:grid;gap:5px}
#mh-profile :is(input,select,textarea),#mh-entry :is(input,select,textarea){margin:0;width:100%;font:inherit}
#mh-profile .check{display:flex;align-items:flex-start;gap:10px}#mh-profile .check input{width:20px;flex:0 0 20px;margin-top:3px}
.mh-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#mh-profile fieldset,#mh-entry fieldset{min-width:0;margin:0;border:1px solid #a8b19a40;border-radius:10px;padding:13px}
.mh-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mh-form-grid label{min-width:0}.mh-form-grid input{min-width:0}
.mh-plan{white-space:pre-wrap;overflow-wrap:anywhere}
.mh-charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px;margin:16px 0}
.mh-chart{margin:0;border:1px solid #a8b19a40;padding:12px;border-radius:12px;background:#12180f}.mh-chart figcaption{font-weight:bold;font-size:.9rem}
.mh-chart svg{display:block;width:100%;height:auto;margin-top:8px;overflow:visible}.mh-chart p{font-size:.75rem;margin:4px 0;color:#b6c2ac}
.mh-history-row{border-bottom:1px solid #a8b19a40;padding:14px 0}.mh-history-row summary{cursor:pointer;display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
.mh-history-row summary span{font-size:.85rem;color:#aebaa4}.mh-history-row p{margin:7px 0;overflow-wrap:anywhere;white-space:pre-wrap;font-size:.9rem}.mh-history-row ul{padding-inline-start:20px}
.mh-context{border-left:2px solid #c9eb7270;padding-left:12px;margin:12px 0}.mh-learn a{color:#c9eb72;text-decoration:underline}
.mh-reminder{margin:12px 0;padding:13px 16px;border:1px solid #c9eb7240;border-radius:12px;background:#1a2214}.mh-reminder summary{cursor:pointer;font-weight:bold}.mh-reminder .mh-plan{font-size:.9rem;margin-bottom:0}
#ma-health{scroll-margin-top:24px}#ma-health :is(select,button){font:inherit;min-height:44px;border:1px solid #ffffff30;border-radius:7px;background:#151c11;color:#f4f5ef;padding:9px 12px}
@media(max-width:600px){.mh-intro{padding:18px}.mh-form-grid,.mh-options{grid-template-columns:1fr}#mh-profile :is(input,select,textarea),#mh-entry :is(input,select,textarea){font-size:16px}.mh-heading{align-items:flex-start}.mh-actions button{min-height:44px}}
