/* My INAYAH: shared patient and consultation visual language. */
.my-monitoring-workspace,.my-patient-monitoring{display:grid;gap:22px;min-width:0}
.my-monitoring-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:32px;border-radius:24px;background:linear-gradient(125deg,#830c16,#bd1420 65%,#e31f2b);color:#fff;overflow:hidden}
.my-monitoring-hero>div{max-width:680px;min-width:0}.my-monitoring-hero>svg{width:90px;height:90px;flex-shrink:0;opacity:.6;stroke-width:1}
.my-monitoring-hero span{font-size:11px;font-weight:800;letter-spacing:.12em;color:#ffdde1}
.my-monitoring-hero h1,.my-monitoring-hero h2{font-size:clamp(24px,3vw,38px);line-height:1.3;margin:12px 0;color:#fff;letter-spacing:-.035em}
.my-monitoring-hero p{font-size:14px;line-height:1.8;color:#ffe4e7;margin:0}
.my-monitoring-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.my-monitoring-stats article{display:grid;gap:4px;padding:20px 24px;background:var(--surface,#fff);border:1px solid var(--border,#ebdfe2);border-radius:18px}.my-monitoring-stats strong{font-size:30px;color:#c91a2c}.my-monitoring-stats span{font-size:12px;color:var(--muted,#686772)}
.my-monitoring-toolbar{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:12px}.my-monitoring-toolbar label{display:grid;gap:7px;min-width:min(320px,100%);font-size:12px}.my-monitoring-toolbar select{min-height:44px}
.my-monitoring-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-block:20px}.my-monitoring-form-grid label,.my-monitoring-thresholds label{display:grid;gap:8px;font-size:13px;font-weight:600;min-width:0}
.my-monitoring-prescription input:not([type=checkbox]),.my-monitoring-prescription select,.my-monitoring-prescription textarea,.my-monitoring-toolbar select{width:100%;min-height:44px;border:1px solid var(--border,#ded8dc);border-radius:10px;padding:10px 12px;background:var(--surface,#fff);color:inherit;font:inherit;box-sizing:border-box}
.my-monitoring-prescription textarea{resize:vertical}.my-monitoring-prescription{border:1px solid #eec7ce!important}
.my-monitoring-moments{display:flex;flex-wrap:wrap;gap:14px;border:1px solid var(--border,#ded8dc);padding:16px;border-radius:12px}.my-monitoring-moments legend{font-size:13px;font-weight:700}.my-monitoring-moments label,.my-monitoring-checkbox{display:flex;align-items:center;gap:8px;font-size:12px}.my-monitoring-moments input,.my-monitoring-checkbox input{accent-color:#c81c2f;width:17px;height:17px}
.my-monitoring-thresholds{border-top:1px solid var(--border,#e5dde0);padding-block:18px;margin-block:16px}.my-monitoring-thresholds summary{cursor:pointer;font-size:13px;font-weight:700}.my-monitoring-thresholds>p{font-size:12px;color:var(--muted,#666)}.my-monitoring-thresholds>div{display:grid;grid-template-columns:1.2fr 1fr 1fr;align-items:center;gap:12px;margin-top:16px}.my-monitoring-thresholds strong{font-size:12px}
.my-monitoring-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:16px}.my-monitoring-plan{min-width:0;padding:22px;border:1px solid var(--border,#e8e0e3);border-radius:18px;background:var(--surface,#fff)}.my-monitoring-plan header{display:flex;align-items:center;justify-content:space-between}.my-monitoring-plan header>svg{color:#cb2439}.my-monitoring-plan h4{font-size:19px;margin:18px 0 8px}.my-monitoring-plan>strong{font-size:13px}.my-monitoring-plan p{font-size:13px;color:var(--muted,#666);line-height:1.7;white-space:pre-wrap}.my-monitoring-plan small{font-size:11px}.my-monitoring-plan footer{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px;border-top:1px solid var(--border,#eee);padding-top:12px}
.my-monitoring-plan button,.my-monitoring-history button{display:flex;align-items:center;gap:5px;padding:9px 10px;border:1px solid var(--border,#ded8dc);border-radius:8px;font-size:12px;background:var(--surface,#fff);color:inherit;cursor:pointer;min-height:40px}.my-monitoring-plan button svg,.my-monitoring-history button svg{width:14px;height:14px}
.my-monitoring-history article{display:flex;justify-content:space-between;gap:18px;border-top:1px solid var(--border,#e8e0e3);padding:20px 0}.my-monitoring-history article>div{min-width:0}.my-monitoring-history article>div:last-child{display:flex;align-items:flex-start;gap:8px;flex-direction:column;flex-shrink:0}.my-monitoring-history strong{font-size:14px}.my-monitoring-history time{display:block;font-size:12px;color:var(--muted,#6e6870);margin:7px 0}.my-monitoring-history p{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}.my-monitoring-history small{font-size:12px}
.my-monitoring-empty{padding:28px 12px;color:var(--muted,#686772);line-height:1.8;text-align:center}.my-monitoring-footnote{font-size:12px;color:#796873;line-height:1.7}
.patient-portal-shell{background:#fbf8f8!important;--portal-primary:#bd1420;--portal-text:#241c23;--portal-muted:#756c74;color:#241c23;min-height:100dvh}.patient-portal-shell button:focus-visible,.my-monitoring-workspace button:focus-visible{outline:3px solid #e45b6b;outline-offset:3px}.patient-portal-shell button{touch-action:manipulation}.patient-portal-shell .patient-portal-header{background:#fff;border-bottom:1px solid #eee3e6}.patient-portal-shell .patient-portal-sidebar{background:#fff;border:1px solid #eee3e6;border-radius:20px}.patient-portal-shell .patient-portal-sidebar nav button.active{background:#fff0f2;color:#bd1420}.patient-portal-shell .patient-portal-welcome{background:linear-gradient(125deg,#830c16,#bd1420 65%,#e31f2b);border-radius:24px;padding:36px;color:#fff}.patient-portal-shell .patient-portal-welcome h1{color:#fff}.patient-portal-shell .patient-portal-welcome p,.patient-portal-shell .patient-portal-welcome .eyebrow{color:#ffe2e6}.patient-portal-shell .patient-portal-welcome button{background:#fff;color:#a41323;margin-top:20px}.patient-portal-shell .patient-portal-panel{background:#fff;border:1px solid #eee3e6;border-radius:20px;box-shadow:0 7px 0 #f2e9ec}.patient-portal-shell .patient-portal-primary{background:#bd1420;color:#fff;border-radius:12px;min-height:46px}.patient-portal-shell .patient-portal-welcome .patient-portal-primary{background:#fff;color:#a41323}
.my-patient-plan-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr));gap:14px}.my-patient-plan-cards button{display:grid;text-align:start;gap:10px;border:1px solid #e7dce0;border-radius:18px;background:#fff;padding:22px;color:#32232a;min-width:0;cursor:pointer}.my-patient-plan-cards button.active{border:2px solid #bd1420;padding:21px;background:#fff5f6}.my-patient-plan-cards svg{color:#bd1420;width:24px}.my-patient-plan-cards strong{font-size:17px}.my-patient-plan-cards span{font-size:11px;color:#806670}.my-patient-plan-cards small{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.my-patient-measure-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:22px;align-items:start}.my-patient-measure-layout>div{display:grid;gap:22px;min-width:0}.my-patient-instructions p{white-space:pre-wrap;line-height:1.9;color:#625760}.my-patient-instructions small{display:flex;gap:7px;align-items:center;flex-wrap:wrap;line-height:1.8;color:#806c75}.my-patient-instructions svg{width:16px;height:16px}.my-patient-monitoring .patient-portal-form h2{display:flex;align-items:center;gap:8px}.my-patient-monitoring input,.my-patient-monitoring select,.my-patient-monitoring textarea{min-width:0;width:100%;min-height:46px;font-size:16px;background:#fff;color:#241c23;border:1px solid #ded4da;border-radius:10px}.my-patient-monitoring .patient-portal-unit-input{display:flex;align-items:center;min-width:0;gap:8px}.my-patient-monitoring .patient-portal-unit-input b{white-space:nowrap;font-size:12px}.my-patient-history article{display:grid;gap:9px;padding:22px 0;border-top:1px solid #eee3e6}.my-patient-history time{font-size:12px;color:#756772}.my-patient-history strong{font-size:16px;line-height:1.8}.my-patient-history small,.my-patient-history p{font-size:13px;color:#756772;line-height:1.7;white-space:pre-wrap}.my-patient-history article>span{justify-self:start;font-size:11px;padding:5px 10px;border-radius:8px}.my-patient-history .received{background:#e9f5ef;color:#236144}.my-patient-history .needs-review{background:#fff0d7;color:#815814}
@media(max-width:900px){.my-patient-measure-layout{grid-template-columns:1fr}.my-monitoring-hero{padding:26px}.my-monitoring-hero>svg{width:55px;height:55px}}
@media(max-width:600px){.my-monitoring-form-grid{grid-template-columns:1fr}.my-monitoring-hero{padding:24px;gap:12px}.my-monitoring-hero>svg{display:none}.my-monitoring-stats{gap:8px}.my-monitoring-stats article{padding:14px 10px}.my-monitoring-stats strong{font-size:25px}.my-monitoring-stats span{font-size:10px}.my-monitoring-history article{flex-direction:column}.my-monitoring-thresholds>div{grid-template-columns:1fr 1fr}.my-monitoring-thresholds strong{grid-column:1/-1}.my-patient-plan-cards{grid-template-columns:1fr 1fr;gap:10px}.my-patient-plan-cards button{padding:15px}.my-patient-plan-cards button.active{padding:14px}.my-patient-plan-cards strong{font-size:14px}.my-patient-plan-cards small{font-size:11px}.my-patient-monitoring .patient-portal-form-grid{grid-template-columns:1fr}.patient-portal-shell .patient-portal-welcome{padding:25px}.patient-portal-shell .patient-portal-bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ecdde1}.patient-portal-shell .patient-portal-bottom-nav button.active{color:#bd1420}.my-monitoring-toolbar>label{width:100%}}
@media(prefers-reduced-motion:reduce){.my-monitoring-workspace *,.my-patient-monitoring *{animation:none!important;transition:none!important}}
.my-account-workspace{display:grid;gap:22px}.my-account-list{display:grid;gap:12px}.my-account-list>article{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid var(--border,#eadfe3);border-radius:16px;padding:20px;background:var(--surface,#fff)}.my-account-list>article>div:first-child{display:grid;gap:8px}.my-account-list small,.my-account-sync{font-size:12px;color:var(--muted,#7d6d78)}.my-account-list .portal-status{justify-self:start}.my-account-actions{display:flex;flex-wrap:wrap;gap:8px}.my-account-actions button,.my-account-actions a{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;min-height:44px;border:1px solid var(--border,#e4d6dc);border-radius:10px;background:var(--surface,#fff);color:var(--text,#29222a);font-size:12px}.my-account-actions svg{width:16px;height:16px}.my-account-actions button:disabled{opacity:.4;cursor:not-allowed}.my-account-workspace .my-monitoring-toolbar input{min-width:260px;padding:11px;border:1px solid var(--border,#e4d6dc);border-radius:10px;background:var(--surface,#fff);color:var(--text,#29222a)}.my-account-modal-backdrop{position:fixed;inset:0;background:#160c1c88;z-index:1500;display:grid;place-items:center;padding:20px}.my-account-modal{background:var(--surface,#fff);border:1px solid var(--border,#e4d6dc);border-radius:22px;max-width:580px;width:100%;padding:28px;box-shadow:0 24px 100px #1d0b2355;max-height:90vh;overflow:auto}.my-account-modal header{display:flex;justify-content:space-between;align-items:center;gap:16px}.my-account-modal header button{background:transparent;border:0;color:inherit;min-width:44px;min-height:44px}.my-account-credentials{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px;border-radius:14px;background:var(--surface-soft,#fff3f5);border:1px solid var(--border,#eadfe3);margin-block:20px}.my-account-credentials label{font-size:12px;display:grid;gap:12px}.my-account-credentials strong{font:700 27px monospace;letter-spacing:2px;color:#bd1420}.my-account-hint{font-size:12px;line-height:1.8;color:var(--muted,#7d6d78)}@media(max-width:800px){.my-account-list>article{align-items:stretch;flex-direction:column}.my-account-actions{gap:6px}.my-account-actions button{flex:1 0 auto}.my-account-modal{padding:20px}.my-account-credentials{grid-template-columns:1fr}.my-account-workspace .my-monitoring-toolbar input{min-width:0;width:100%}}
.my-doc-sharing{display:grid;gap:24px}.my-doc-policy{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin:20px 0}.my-doc-policy>label{display:grid;gap:9px;border:1px solid var(--border,#eadde4);border-radius:12px;padding:16px;background:var(--surface,#fff)}.my-doc-policy strong{font-size:13px}.my-doc-policy select{font-size:12px;min-height:40px;padding:7px}.my-doc-pick-list{display:grid;gap:9px;max-height:340px;overflow:auto;margin:18px 0}.my-doc-pick-list>label{display:flex;align-items:center;gap:13px;border:1px solid var(--border,#eadde4);border-radius:12px;padding:15px;cursor:pointer}.my-doc-pick-list>label.selected{border-color:#bd1420;background:#fff3f5}.my-doc-pick-list input{width:auto!important}.my-doc-pick-list span{display:grid;gap:5px}.my-doc-pick-list strong{font-size:13px}.my-doc-pick-list small{font-size:11px;color:var(--muted,#917786)}.my-doc-pick-list svg{color:#b5233e;flex-shrink:0}.my-doc-sharing .portal-publish-row>label{display:grid;gap:8px;font-size:12px}.my-doc-sharing .section-heading h3{display:flex;align-items:center;gap:10px}
.my-doc-pick-list>label.selected{color:#652236}.my-doc-pick-list>label.selected small{color:#906174}
.my-account-print-options{margin:20px 0;padding:16px;border:1px solid var(--border,#e4d6dc);border-radius:14px}.my-account-print-options legend{padding:0 6px;font-size:13px;font-weight:700}.my-account-print-options>div{display:grid;grid-template-columns:1fr 1fr;gap:10px}.my-account-print-options label{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border,#e4d6dc);border-radius:10px;cursor:pointer}.my-account-print-options label.selected{border-color:#d5233c;background:var(--surface-soft,#fff3f5)}.my-account-print-options input{accent-color:#c71d36}.my-account-print-options span{display:grid;gap:4px}.my-account-print-options small,.my-account-print-options p{font-size:11px;color:var(--muted,#7d6d78)}.my-account-print-options p{margin:12px 0 0}@media(max-width:480px){.my-account-print-options>div{grid-template-columns:1fr}}
