:root{--background:#f6faff;--surface:#f6faff;--surface-dim:#c8ddee;--surface-container-low:#eaf5ff;--surface-container:#dff0ff;--surface-container-high:#d6ebfc;--surface-container-highest:#d1e5f6;--surface-variant:#d1e5f6;--on-surface:#091e2a;--on-surface-variant:#424752;--primary:#00478d;--primary-container:#005eb8;--on-primary:#fff;--on-primary-container:#c8daff;--primary-fixed:#d6e3ff;--secondary:#b8120b;--secondary-container:#dd3123;--on-secondary:#fff;--tertiary:#733700;--tertiary-container:#974a00;--on-tertiary-container:#ffd1b3;--error:#ba1a1a;--error-container:#ffdad6;--on-error-container:#93000a;--outline:#727783;--outline-variant:#c2c6d4;--severe:#d52b1e;--severe-container:#ffdad5;--warning:#ff8200;--warning-container:#ffdcc6;--mild-container:#ffd1b3;--neutral:#425563;--border-subtle:#e2e8f0;--font-headline:"Hanken Grotesk",system-ui,sans-serif;--font-body:"Inter",system-ui,sans-serif;--radius-sm:4px;--radius:6px;--radius-md:8px;--radius-lg:10px;--radius-xl:14px;--radius-full:9999px;--space-unit:8px;--space-gutter:16px;--space-container:24px;--touch-min:48px;--icon-input-gap:20px;--icon-input-padding-inline:13px;--shadow-overlay:0 4px 20px rgba(0,0,0,.05);--shadow-sm:0 1px 2px rgba(9,30,42,.06)}*{box-sizing:border-box}.icon-input-spacing{gap:var(--icon-input-gap);padding-inline:var(--icon-input-padding-inline)}html{color-scheme:light}body{font-family:var(--font-body);font-size:15px;line-height:1.47;background:var(--background);-webkit-font-smoothing:antialiased}body,h1,h2,h3,h4{margin:0;color:var(--on-surface)}h1,h2,h3,h4{font-family:var(--font-headline)}h1{font-size:24px;font-weight:600;line-height:32px}h2{font-size:20px;font-weight:500;line-height:28px}h3{font-size:16px;line-height:24px}h3,h4{font-weight:600}h4{font-size:15px;line-height:22px}.eyebrow{color:var(--primary-container);font-size:11px;font-weight:700;letter-spacing:.08em;line-height:16px}p{margin:0}a{color:var(--primary-container)}a,a:active,a:focus,a:hover{text-decoration:none!important}ul{list-style:none;padding:0;margin:0}.material-symbols-outlined{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;user-select:none}.app-shell{min-height:100dvh;max-width:430px;margin:0 auto;background:var(--background);position:relative}.app-content,.pharmacist-content{width:100%;max-width:430px;margin:0 auto}.app-content>main,.pharmacist-content>main{max-width:430px;margin:0 auto;padding:var(--space-gutter) var(--space-gutter) var(--space-container)}.patient-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px var(--space-gutter);background:var(--surface-container-lowest);border-bottom:1px solid var(--border-subtle);position:-webkit-sticky;position:sticky;top:0;z-index:20}.patient-header .brand-logo{flex-direction:row;text-align:left;gap:8px}.patient-header .brand-logo__mark{width:40px;height:40px}.patient-header .brand-logo__name{font-size:18px;line-height:24px}.patient-header__actions,.pharmacist-nav__user{display:flex;align-items:center;gap:8px}.patient-header__identity{position:relative;display:inline-flex;align-items:center;color:var(--on-surface);text-decoration:none!important}.patient-header__identity:focus,.patient-header__identity:focus .patient-header__name,.patient-header__identity:focus-visible,.patient-header__identity:focus-visible .patient-header__name,.patient-header__identity:hover,.patient-header__identity:hover .patient-header__name{text-decoration:none!important}.patient-header__name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--on-surface-variant)}.patient-header__tooltip{position:absolute;z-index:30;top:calc(100% + 9px);left:50%;min-width:max-content;padding:7px 10px;border:1px solid hsla(0,0%,100%,.14);border-radius:8px;background:#17243a;box-shadow:0 7px 18px rgba(19,33,55,.22);color:#f7faff;font-size:12px;font-weight:650;line-height:1.25;opacity:0;pointer-events:none;transform:translate(-50%,-4px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease;visibility:hidden;white-space:nowrap}.patient-header__tooltip:before{position:absolute;bottom:100%;left:50%;width:8px;height:8px;background:#17243a;content:"";transform:translate(-50%,4px) rotate(45deg)}.patient-header__identity:focus .patient-header__tooltip,.patient-header__identity:focus-visible .patient-header__tooltip,.patient-header__identity:hover .patient-header__tooltip{opacity:1;transform:translate(-50%);visibility:visible}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app-shell--with-nav{padding-bottom:calc(var(--touch-min) + var(--space-gutter) + env(safe-area-inset-bottom, 0px))}main.app-main{max-width:430px;margin:0 auto;padding:var(--space-gutter) var(--space-gutter) var(--space-container)}.page-header{display:flex;align-items:center;gap:12px;padding:12px var(--space-gutter);background:var(--background);position:-webkit-sticky;position:sticky;top:0;z-index:10}.page-header__back{display:inline-flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);margin:-8px;border:none;background:transparent;color:var(--on-surface);cursor:pointer;border-radius:var(--radius-full)}.page-header__back:hover{background:var(--surface-container-low)}.page-header__title{font-family:var(--font-headline);font-size:18px;font-weight:600}.page-header--in-content{padding:0 0 20px;position:static;background:transparent}.page-header--in-content .page-header__back{margin-left:-12px}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:var(--touch-min);height:var(--touch-min);padding:0;border:0;border-radius:var(--radius-full);background:transparent;color:var(--on-surface-variant);box-shadow:none}.icon-btn:hover{background:var(--surface-container-low);color:var(--primary)}.notification-bell{position:relative}.notification-bell__badge{position:absolute;top:2px;right:2px;min-width:16px;height:16px;padding:0 3px;display:inline-flex;align-items:center;justify-content:center;color:#fff;background:#c94740;border-radius:999px;font-size:10px;font-weight:700;line-height:1}.notification-bell__panel{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(340px,calc(100vw - 32px));max-height:380px;overflow-y:auto;padding:10px;background:#fff;border:1px solid #c7d8ef;border-radius:10px;box-shadow:0 12px 28px rgba(26,60,98,.16)}.notification-bell__title{margin-bottom:6px;padding:4px 6px;color:#5b789c;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.notification-bell__empty{padding:16px 6px;color:var(--on-surface-variant);font-size:13px;text-align:center}.notification-bell__list{display:flex;flex-direction:column;gap:4px}.notification-bell__list li{display:flex;align-items:flex-start;gap:8px;padding:9px 8px;border-radius:8px;cursor:pointer}.notification-bell__list li:hover{background:var(--surface-container-low)}.notification-bell__list li p{margin:0;color:var(--on-surface-variant);font-size:13px;line-height:18px}.notification-bell__list li small{color:#8d98a4;font-size:11px}.notification-bell__item--unread p{color:var(--on-surface);font-weight:700}.notification-bell__dot{flex:0 0 auto;width:8px;height:8px;margin-top:5px;background:#244c93;border-radius:999px}.brand-logo{flex-direction:column;gap:12px;text-align:center}.brand-logo--sm{gap:8px}.brand-logo--lg{gap:16px}.brand-logo__mark{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:var(--radius-lg);background:var(--primary-fixed);color:var(--primary-container)}.brand-logo--sm .brand-logo__mark{width:44px;height:44px}.brand-logo--lg .brand-logo__mark{width:72px;height:72px}.brand-logo__text{display:flex;flex-direction:column;gap:4px}.brand-logo__name{font-family:var(--font-headline);font-size:28px;font-weight:600;line-height:36px;color:var(--on-surface)}.brand-logo--sm .brand-logo__name{font-size:20px;line-height:28px}.brand-logo__tagline{font-size:15px;line-height:22px;max-width:280px}.auth-shell{min-height:100dvh;display:flex;flex-direction:column;align-items:center;padding:40px var(--space-gutter) 32px;background:var(--background)}.auth-card{width:100%;max-width:400px;margin-top:32px;padding:24px;background:var(--surface-container-lowest);border:1px solid var(--border-subtle);box-shadow:var(--shadow-overlay)}.auth-card__heading{font-family:var(--font-headline);font-size:20px;font-weight:500;margin-bottom:var(--space-container)}.auth-card .role-tabs{margin-bottom:20px}.auth-card .btn-block{margin-top:4px}.auth-role-switch{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:var(--space-container);padding:16px;background:var(--surface-container-low);border-radius:var(--radius-lg);font-size:14px;color:var(--on-surface-variant)}.auth-role-switch button{display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--primary-container);font-weight:600;font-size:14px;cursor:pointer;padding:0;box-shadow:none}.auth-footer{margin-top:24px;text-align:center;font-size:14px;color:var(--on-surface-variant)}.auth-footer a{font-weight:600;color:var(--primary-container)}.field{margin-bottom:20px}.field label,.search-bar__label{display:block;margin-bottom:8px;font-size:13px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--on-surface-variant)}.input-field{position:relative}.input-field input,input:not([type=checkbox]),select,textarea{font-family:var(--font-body);font-size:15px;line-height:22px;padding:14px 14px 14px 44px;border-radius:var(--radius);border:1px solid var(--outline-variant);width:100%;background:var(--surface-container-lowest);color:var(--on-surface);min-height:var(--touch-min);transition:border-color .15s,box-shadow .15s}input:not([type=checkbox]):-webkit-autofill,input:not([type=checkbox]):-webkit-autofill:active,input:not([type=checkbox]):-webkit-autofill:focus,input:not([type=checkbox]):-webkit-autofill:hover{-webkit-text-fill-color:var(--on-surface)!important;caret-color:var(--on-surface);box-shadow:0 0 0 1000px var(--surface-container-lowest) inset!important;background-color:var(--surface-container-lowest)!important;background-clip:padding-box}input:not([type=checkbox]):-webkit-autofill{color:var(--on-surface)!important;background-color:var(--surface-container-lowest)!important;box-shadow:0 0 0 1000px var(--surface-container-lowest) inset!important}input:not([type=checkbox]):autofill{color:var(--on-surface)!important;background-color:var(--surface-container-lowest)!important;box-shadow:0 0 0 1000px var(--surface-container-lowest) inset!important}.input-field input{padding-left:44px}.input-field--no-icon input{padding-left:14px}.input-field__icon{left:14px;pointer-events:none}.input-field__action,.input-field__icon{position:absolute;top:50%;transform:translateY(-50%);color:var(--outline)}.input-field__action{right:8px;background:none;border:none;cursor:pointer;padding:8px;min-height:unset;box-shadow:none}.input-field__label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.input-field__label-row label{margin-bottom:0}.input-field__label-row a{font-size:13px;font-weight:500;text-transform:none;letter-spacing:0}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--primary-container);box-shadow:0 0 0 3px var(--primary-fixed)}textarea{padding:14px;resize:vertical}select{padding-left:16px;padding-right:48px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M12 15l-4.243-4.243 1.415-1.414L12 12.172l2.828-2.829 1.415 1.414z' fill='%23727783'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;cursor:pointer;font-weight:500;transition:all .2s ease}select:hover{background-color:#f8fafc;border-color:var(--primary)}.select-field{position:relative;width:100%}.select-field--open{z-index:30}button.select-field__trigger{width:100%;min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 15px;border:1px solid #cbd9ef;border-radius:12px;background:#fff;color:#1a3357;cursor:pointer;font:inherit;font-size:15px;font-weight:500;line-height:22px;text-align:left;box-shadow:inset 0 1px 2px rgba(46,76,125,.03);transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}button.select-field__trigger:hover:not(:disabled){border-color:#9eb6e2;background:#fbfdff}.select-field--open button.select-field__trigger,button.select-field__trigger:focus-visible{border-color:#557bc6;outline:0;box-shadow:0 0 0 4px rgba(85,123,198,.13)}button.select-field__trigger:disabled{cursor:not-allowed;opacity:.62}.select-field__trigger>.material-symbols-outlined{flex:0 0 22px;color:#5875aa;transition:transform .16s ease}.select-field__placeholder{color:#8493aa}.select-field__menu{position:absolute;z-index:50;top:calc(100% + 8px);left:0;right:0;display:grid;grid-gap:4px;gap:4px;margin:0;padding:6px;overflow:hidden;border:1px solid #c9d8ed;border-radius:14px;background:hsla(0,0%,100%,.98);box-shadow:0 18px 42px rgba(38,68,113,.2),0 4px 12px rgba(38,68,113,.08);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.select-field__option{min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;border-radius:9px;color:#344d70;cursor:pointer;font-size:14px;font-weight:600;line-height:1.35;transition:color .12s ease,background-color .12s ease}.select-field__option--active{background:#edf4ff;color:#294f91}.select-field__option--selected{background:#e4eeff;color:#244b8d;font-weight:750}.select-field__option>.material-symbols-outlined{color:#4167b2}html[data-theme=dark] button.select-field__trigger{border-color:#405b80;background:rgba(15,29,48,.9);color:#edf4ff;box-shadow:inset 0 1px hsla(0,0%,100%,.05)}html[data-theme=dark] .select-field__menu{border-color:#405b80;background:rgba(16,30,49,.98);box-shadow:0 20px 46px rgba(0,0,0,.42)}html[data-theme=dark] .select-field__option{color:#cfddf2}html[data-theme=dark] .select-field__option--active,html[data-theme=dark] .select-field__option--selected{background:#263e61;color:#f1f6ff}.search-bar__field{position:relative;display:flex;align-items:center}.search-bar__field input{padding-left:0}.search-bar__icon{flex:0 0 20px;color:var(--outline);pointer-events:none}.btn,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-body);font-size:15px;font-weight:600;padding:14px 20px;min-height:var(--touch-min);border:none;background:var(--primary-container);color:var(--on-primary);cursor:pointer;text-decoration:none;transition:background .15s,opacity .15s;box-shadow:var(--shadow-sm)}.btn:not(.secondary):not(.ghost):hover,button:not([class]):hover{background:var(--primary);color:var(--on-primary)}.btn:disabled,button:disabled{opacity:.55;cursor:not-allowed}.btn.secondary,button.secondary{background:var(--surface-container-lowest);color:var(--on-surface);border:1px solid var(--outline-variant);box-shadow:none}.btn.secondary:hover,button.secondary:hover{background:var(--surface-container-low)}button.ghost{background:transparent;color:var(--on-surface-variant);box-shadow:none;min-height:unset;padding:8px 12px}button.ghost:hover{background:var(--surface-container-low)}button.btn-block{width:100%}button.btn-severe{background:var(--secondary-container)}button.btn-severe:hover{background:var(--secondary)}.check-cta:hover,.dashboard-action--primary:hover,.interaction-run:hover,.primary:hover,button.primary:hover{color:#fff;filter:brightness(.96)}.greeting{margin-bottom:var(--space-container)}.greeting__title{font-family:var(--font-headline);font-size:24px;font-weight:600;line-height:32px;margin-bottom:4px}.greeting__subtitle{font-size:15px;color:var(--on-surface-variant);line-height:22px}.stat-card{position:relative}.stat-card>.material-symbols-outlined{color:var(--primary-container);margin-bottom:4px}.stat-card.attention>.material-symbols-outlined{color:var(--severe)}.check-cta{margin:-4px 0 var(--space-container)}.history-card__badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.empty-state{display:flex;flex-direction:column;align-items:center;gap:8px}.empty-state strong{font-family:var(--font-headline);font-size:16px}.empty-state--compact{padding:24px 20px}.intro-panel{display:flex;gap:12px;align-items:flex-start;padding:16px;margin-bottom:16px;border-radius:var(--radius-lg);background:var(--primary-fixed);color:var(--on-surface)}.intro-panel__icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 auto;border-radius:var(--radius);background:var(--surface-container-lowest);color:var(--primary)}.intro-panel h2{font-size:17px;font-weight:600;margin-bottom:4px}.intro-panel p{color:var(--on-surface-variant);font-size:14px;line-height:20px}.medication-form{margin-bottom:16px}.section{margin-bottom:28px}.section__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.section__title{display:flex;align-items:center;gap:8px;font-family:var(--font-headline);font-size:16px;font-weight:600;color:var(--on-surface)}.section__title .material-symbols-outlined{color:var(--primary-container);font-size:20px}.section__link{font-size:13px;font-weight:600;color:var(--primary-container);display:inline-flex;align-items:center;gap:2px}.med-card{background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:14px var(--space-gutter);margin-bottom:10px}.med-card__badge{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.med-card__badge span:first-child{font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--primary-container);background:var(--primary-fixed);padding:3px 8px;border-radius:var(--radius-sm)}.med-card__menu{background:none;border:none;color:var(--outline);padding:4px;min-height:unset;box-shadow:none;cursor:pointer}.med-card__menu:hover{color:var(--secondary);background:none}.med-card__name{font-family:var(--font-headline);font-size:16px;font-weight:600;margin-bottom:2px}.med-card__brand{margin-bottom:8px}.med-card__brand,.med-card__schedule{font-size:13px;color:var(--on-surface-variant)}.med-card__schedule{display:flex;align-items:center;gap:6px}.med-card__menu--inline{margin-left:auto}.med-card--add{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:16px;background:var(--surface-container-low);border:1px dashed var(--outline-variant);border-radius:var(--radius-lg);color:var(--primary-container);font-weight:600;font-size:14px;cursor:pointer;margin-bottom:10px;min-height:var(--touch-min);box-shadow:none}.med-card--add:hover{background:var(--surface-container);border-color:var(--primary-container)}.history-card{background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:14px var(--space-gutter);margin-bottom:10px;cursor:pointer;transition:background .15s}.history-card:hover{background:var(--surface-container-low)}.history-card__date{font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--on-surface-variant);margin-bottom:8px}.history-card__row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.history-card__content h4{font-family:var(--font-headline);font-size:14px;font-weight:600;margin-bottom:4px}.history-card__content p{font-size:13px;color:var(--on-surface-variant);line-height:18px}.badge{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;padding:4px 8px;border-radius:var(--radius);white-space:nowrap;flex-shrink:0}.badge .material-symbols-outlined{font-size:14px}.badge-confirmed{background:var(--primary-fixed);color:var(--primary)}.badge-warning{background:var(--severe-container);color:var(--secondary)}.badge-unconfirmed{background:var(--surface-variant);color:var(--on-surface-variant)}.badge-urgent{background:var(--severe-container);color:var(--severe)}.badge-ok{background:var(--surface-variant);color:var(--neutral)}.badge-success{background:var(--primary-fixed);color:var(--primary)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:430px;display:flex;align-items:stretch;background:var(--surface-container-lowest);padding:8px var(--space-gutter) calc(8px + env(safe-area-inset-bottom, 0px));z-index:30;box-shadow:0 -2px 12px rgba(9,30,42,.06)}.bottom-nav__item{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:6px 4px;min-height:var(--touch-min);border:none;background:none;color:var(--on-surface-variant);font-size:11px;font-weight:600;text-decoration:none;cursor:pointer;box-shadow:none;border-radius:var(--radius)}.bottom-nav__item:hover{background:var(--surface-container-low);color:var(--on-surface);text-decoration:none}.bottom-nav__item--accent,.bottom-nav__item--active,.bottom-nav__item--primary{color:var(--primary-container)}.bottom-nav__item--accent{font-weight:700}.alert-card{border-radius:var(--radius-lg);padding:var(--space-gutter);margin-bottom:12px;background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-left-width:4px;box-shadow:var(--shadow-sm)}.alert-card-header{display:flex;align-items:flex-start;gap:10px;width:100%;margin-bottom:8px}.alert-detail-box__collapse{max-height:0;overflow:hidden;transition:max-height .25s ease}.alert-detail-box__collapse--open{max-height:600px}.expandable-text__toggle{all:unset;display:inline;font-weight:700;color:var(--primary);cursor:pointer;white-space:nowrap}.expandable-text__toggle:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}.alert-icon-wrap{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius);flex-shrink:0}.alert-card-body h3{font-family:var(--font-headline);font-size:15px;font-weight:600;margin-bottom:4px}.alert-severity-tag{display:inline-block;font-size:11px;font-weight:700;padding:2px 8px;border-radius:var(--radius-sm);margin-bottom:6px}.alert-description{font-size:15px;line-height:22px;color:var(--on-surface);margin:8px 0}.alert-action-box,.alert-science-box{background:#f1f5fb;border:1px dashed #c3d3e8;border-radius:var(--radius);padding:12px;margin-top:10px;color:#3a4c66;font-size:13.5px;line-height:20px}.alert-action-box strong,.alert-science-box strong{display:block;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;margin-bottom:4px;color:#5b719a}.alert-source{font-size:13px;color:var(--on-surface-variant)}.alert-detail-tabs,.alert-source{margin-top:10px}.alert-detail-tabs__nav{margin-bottom:0}.alert-detail-tabs .alert-action-box,.alert-detail-tabs .alert-science-box{margin-top:8px}.severity-nang{border-left-color:var(--severe)}.severity-nang .alert-icon-wrap{background:var(--severe-container);color:var(--severe)}.severity-nang .alert-severity-tag{background:var(--severe-container);color:var(--secondary)}.severity-trung-binh{border-left-color:var(--warning)}.severity-trung-binh .alert-icon-wrap{background:var(--warning-container);color:var(--warning)}.severity-trung-binh .alert-severity-tag{background:var(--warning-container);color:var(--tertiary-container)}.severity-nhe{border-left-color:var(--tertiary-container)}.severity-nhe .alert-icon-wrap{background:var(--mild-container);color:var(--tertiary-container)}.severity-nhe .alert-severity-tag{background:var(--mild-container);color:var(--tertiary)}.severity-chua-phan-loai,.severity-none{border-left-color:var(--outline)}.severity-chua-phan-loai .alert-icon-wrap,.severity-none .alert-icon-wrap{background:var(--surface-variant);color:var(--on-surface-variant)}.overview-highlight{background:none;font-weight:700;color:var(--primary)}.overview-highlight--clickable{cursor:pointer}.overview-highlight--clickable:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:2px}.urgent-banner{background:var(--severe-container);color:var(--secondary);border:1px solid rgba(184,18,11,.2);border-radius:var(--radius-lg);padding:var(--space-gutter);margin-bottom:var(--space-gutter);display:flex;align-items:flex-start;gap:12px}.urgent-banner__icon{color:var(--severe);flex-shrink:0}.urgent-banner strong{font-weight:700}.info-banner{background:var(--warning-container);color:var(--tertiary);padding:14px var(--space-gutter);margin-bottom:var(--space-gutter);display:flex;gap:10px;align-items:flex-start;font-size:14px}.info-banner,.result-summary{border-radius:var(--radius-lg)}.result-summary{background:var(--surface-container-low);padding:var(--space-gutter);margin-bottom:var(--space-container)}.result-summary h2{margin-bottom:8px}.result-summary p{font-size:15px;color:var(--on-surface-variant);line-height:22px}.pharmacist-note-box{display:flex;gap:12px;align-items:flex-start;padding:16px;margin-bottom:20px;border-radius:var(--radius-lg);border:1px solid var(--border-subtle);background:var(--surface-container-lowest);color:var(--primary)}.pharmacist-note-box p:not(.eyebrow){margin-top:4px;color:var(--on-surface);font-size:14px;line-height:20px}.result-list-heading{margin-top:24px}.alert-source{display:flex;align-items:center;gap:5px}.disclaimer{font-size:13px;font-weight:600;line-height:18px;color:var(--on-surface-variant);background:var(--surface-container-low);border-left:4px solid var(--outline);padding:12px 14px;margin:var(--space-gutter) 0;border-radius:var(--radius);display:flex;gap:8px;align-items:flex-start}.pharmacist-nav{display:flex;align-items:center;gap:12px;padding:12px var(--space-gutter);background:var(--surface-container-lowest);border-bottom:1px solid var(--border-subtle);position:-webkit-sticky;position:sticky;top:0;z-index:20}.pharmacist-nav .brand-logo{flex-direction:row;align-items:center;text-align:left;gap:10px}.pharmacist-nav .brand-logo__mark{width:36px;height:36px}.pharmacist-nav .brand-logo__name{font-size:16px;line-height:22px}.pharmacist-nav .spacer{flex:1 1}.pharmacist-nav__user{display:flex;align-items:center;gap:8px}.pharmacist-shell{background:var(--background)}.pharmacist-nav__link{display:inline-flex;align-items:center;gap:8px;min-height:var(--touch-min);padding:8px 12px;color:var(--on-surface-variant);border-radius:var(--radius);font-size:14px;font-weight:600}.pharmacist-nav__link.active,.pharmacist-nav__link:hover{background:var(--primary-fixed);color:var(--primary);text-decoration:none}.pharmacist-nav__user-name{font-size:14px;color:var(--on-surface-variant)}@media (max-width:640px){.pharmacist-nav{flex-wrap:wrap}.pharmacist-nav__link{order:3;width:100%}.pharmacist-nav__user-name{display:none}}.avatar{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:var(--radius-full);background:var(--primary-fixed);color:var(--primary);font-weight:700;font-size:13px;flex-shrink:0}.card{background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-gutter);margin-bottom:10px}.card.hoverable{cursor:pointer;transition:background .15s}.card.hoverable:hover{background:var(--surface-container-low)}.panel{background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:var(--space-container)}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px;margin-bottom:var(--space-container)}.stat-card{background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);padding:12px;text-align:center}.stat-card .stat-value{font-family:var(--font-headline);font-size:24px;font-weight:600;line-height:1.1;color:var(--primary-container)}.stat-card .stat-label{font-size:11px;font-weight:600;color:var(--on-surface-variant);margin-top:4px}.stat-card.attention .stat-value{color:var(--severe)}.patient-card{justify-content:space-between}.patient-card,.patient-card__info{display:flex;align-items:center;gap:12px}.patient-card__name{font-family:var(--font-headline);font-weight:600;font-size:15px}.patient-card--large{display:block;padding:16px;margin-bottom:12px;background:var(--surface-container-lowest);border:1px solid var(--border-subtle);border-radius:var(--radius-lg)}.patient-card--urgent{border-left:4px solid var(--severe)}.patient-card__info h2{font-family:var(--font-headline);font-size:17px;font-weight:600;margin:0 0 3px}.patient-card__info p{color:var(--on-surface-variant);font-size:13px}.patient-header__avatar{display:grid;place-items:center;flex:0 0 auto;width:var(--touch-min);height:var(--touch-min);border:0;border-radius:var(--radius-full);background:var(--surface-container-low);color:var(--on-surface-variant);font-size:18px;font-weight:700;line-height:1;box-shadow:none}.patient-card__footer{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:16px;padding-top:12px;border-top:1px solid var(--border-subtle)}.avatar--large{width:48px;height:48px;font-size:15px}.pharmacist-stats{grid-template-columns:repeat(2,1fr)}.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 16px;border-radius:var(--radius-lg);background:var(--surface-container-low)}.review-toolbar h2{margin-top:2px;font-size:16px;font-weight:600}.review-select{margin-bottom:20px}.review-form{margin-top:24px}.success-text{display:flex;align-items:center;gap:6px;color:var(--primary);font-size:14px;font-weight:600;margin-top:12px}.error-text{color:var(--error);font-size:14px;margin:8px 0}.notice-box{display:flex;gap:10px;align-items:flex-start;padding:12px;background:var(--warning-container);border-radius:var(--radius);font-size:13px;color:var(--tertiary);margin:var(--space-gutter) 0}.empty-state{text-align:center;padding:40px 20px;color:var(--on-surface-variant);border:1px dashed var(--outline-variant);border-radius:var(--radius-lg);background:var(--surface-container-low)}.empty-state .material-symbols-outlined{font-size:40px;color:var(--outline);margin-bottom:10px}.actions-row{display:flex;gap:12px;margin:var(--space-gutter) 0;flex-wrap:wrap}.spinner{display:inline-block;width:18px;height:18px;border:2.5px solid var(--primary-fixed);border-top-color:var(--primary-container);border-radius:50%;animation:spin .7s linear infinite}.spinner--sm{width:16px;height:16px;border-width:2px}@keyframes spin{to{transform:rotate(1turn)}}.loading-row{display:flex;align-items:center;gap:10px;color:var(--on-surface-variant);padding:24px 0}.autocomplete{position:relative}.autocomplete-list{margin:6px 0 0;padding:6px;background:var(--surface-container-lowest);border:1px solid var(--outline-variant);border-radius:var(--radius-lg);position:absolute;width:100%;z-index:10;max-height:240px;overflow-y:auto;box-shadow:var(--shadow-overlay)}.autocomplete-list li{padding:10px 12px;border-radius:var(--radius);cursor:pointer;font-weight:500;font-size:14px}.autocomplete-list li:hover{background:var(--primary-fixed);color:var(--primary)}.role-tabs{display:flex;gap:4px;margin-bottom:20px;background:var(--surface-container);padding:4px;border-radius:var(--radius)}.role-tabs button{flex:1 1;background:transparent;color:var(--on-surface-variant);border:none;box-shadow:none;border-radius:var(--radius-sm);padding:10px 14px;font-size:14px;min-height:unset}.role-tabs button.active{background:var(--surface-container-lowest);color:var(--on-surface);box-shadow:var(--shadow-sm)}@media (min-width:768px){.app-shell,.bottom-nav,main.app-main{max-width:480px}}@media (max-width:420px){.auth-shell{padding-top:28px}.auth-card{padding:20px 16px}.patient-header__name{display:none}.app-content>main,.pharmacist-content>main{padding-left:16px;padding-right:16px}.patient-card__footer{align-items:stretch}.patient-card__footer button{width:100%}}:root{--background:#f4f8fc;--surface-container-low:#edf5fb;--surface-container:#e3f0fa;--primary-container:#075ea8;--border-subtle:#d9e5ef;--shadow-overlay:0 14px 32px rgba(25,71,105,.08);--shadow-sm:0 2px 8px rgba(25,71,105,.07)}body{letter-spacing:0}.app-shell,.pharmacist-shell{background:var(--background)}.patient-header,.pharmacist-nav{min-height:68px;padding-top:10px;padding-bottom:10px;box-shadow:0 1px 0 rgba(37,85,119,.04)}#interaction-result,#pharmacist-interaction-result,#saved-prescription-result{scroll-margin-top:96px}.patient-header .brand-logo__mark,.pharmacist-nav .brand-logo__mark{border-radius:14px;background:linear-gradient(145deg,#dcecff,#c8e2fb)}.patient-header__actions{gap:12px}.patient-header__name{font-weight:600;color:var(--on-surface)}.patient-header .icon-btn{background:var(--surface-container-low)}.app-content>main,.pharmacist-content>main,main.app-main{padding-top:28px}.greeting{margin-bottom:24px}.greeting__title{letter-spacing:0}.greeting__subtitle{max-width:360px}.eyebrow{font-size:10px;letter-spacing:.11em}.stat-grid{gap:12px}.stat-card{padding:16px 10px;border-radius:14px;box-shadow:var(--shadow-sm)}.stat-card>.material-symbols-outlined{margin-bottom:8px}.stat-card .stat-value{font-size:26px}.section{margin-bottom:32px}.section__header{margin-bottom:14px}.section__title{font-size:17px;letter-spacing:0}.section__link{padding:6px 0}.alert-card,.card,.history-card,.med-card,.panel{border-color:var(--border-subtle);border-radius:14px;box-shadow:var(--shadow-sm)}.med-card{padding:16px}.med-card__name{font-size:17px}.med-card__badge span:first-child{border-radius:999px}.med-card--add{border-radius:14px;background:transparent;border-color:#9dbbd5}.check-cta{min-height:56px;border-radius:14px;box-shadow:0 8px 18px rgba(0,94,184,.2)}.disclaimer{border-radius:12px;margin:20px 0 30px}.bottom-nav{padding-top:10px;background:hsla(0,0%,100%,.96);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav__item{border-radius:12px}.bottom-nav__item--accent{color:var(--primary)}.auth-shell{justify-content:center;padding-top:24px;background:radial-gradient(circle at 50% 0,#e1f1ff 0,var(--background) 42%)}.auth-card{margin-top:28px;padding:28px;border:0;border-radius:var(--radius-lg);box-shadow:0 20px 50px rgba(26,74,110,.12)}.auth-card__heading{font-size:22px;letter-spacing:0}.role-tabs{border-radius:12px;background:var(--surface-container-low)}.role-tabs button.active{border-radius:9px}.btn,button,input:not([type=checkbox]),select,textarea{border-radius:var(--radius)}.page-header--in-content{padding-bottom:24px}.page-header__back{border-radius:12px;margin-left:-8px}.intro-panel{border-radius:16px;padding:18px;box-shadow:var(--shadow-sm)}.intro-panel__icon{border-radius:12px}.pharmacist-shell{min-height:100dvh}.pharmacist-nav{padding-left:max(24px,calc((100vw - 1180px) / 2));padding-right:max(24px,calc((100vw - 1180px) / 2))}.pharmacist-content>main{max-width:720px}.pharmacist-nav__link{border-radius:10px}@media (min-width:768px){.app-shell{box-shadow:0 0 0 1px #e3edf5,0 20px 60px rgba(36,78,111,.08)}.app-content,.app-content>main,.app-shell,.bottom-nav,main.app-main{max-width:520px}.auth-shell{padding:56px 24px}.auth-card{max-width:440px}}.dashboard-page{max-width:none!important}.dashboard-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:34px}.dashboard-title{margin-top:4px;font-size:31px;line-height:1.2;letter-spacing:0}.dashboard-title__mobile{display:none}.dashboard-subtitle{margin-top:8px;color:var(--on-surface-variant);font-size:16px}.dashboard-actions{display:flex;gap:14px;flex-shrink:0}.dashboard-action{min-height:46px;padding:11px 18px;border-radius:8px;font-weight:700;white-space:nowrap}.dashboard-action--secondary{color:var(--primary);background:#fff;border:1px solid var(--primary)}.dashboard-action--secondary:hover{background:var(--surface-container-low);text-decoration:none}.dashboard-action--primary{background:#2c4d91;box-shadow:none}.dashboard-alert{display:flex;gap:13px;align-items:flex-start;padding:16px 18px;margin-bottom:32px;color:#fff;background:#d32f2f;border:none;border-radius:5px}.dashboard-alert>.material-symbols-outlined{margin-top:1px}.dashboard-alert strong{display:block;font-size:14px;letter-spacing:.04em}.dashboard-alert p{margin-top:10px;color:hsla(0,0%,100%,.95);font-size:15px;line-height:1.5}.dashboard-alert small{display:block;margin-top:14px;color:hsla(0,0%,100%,.8);font-size:13px}.dashboard-section{margin-bottom:32px}.dashboard-section__header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.dashboard-section__header h2{font-size:22px;font-weight:700}.dashboard-section__header a{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700}.dashboard-notifications{display:flex;flex-direction:column;gap:8px;margin-bottom:24px}.dashboard-notification{display:flex;gap:10px;padding:12px 14px;color:#244c93;background:#eef4fc;border:1px solid #c7d8ef;border-radius:10px;cursor:pointer}.dashboard-notification:hover{background:#dbe8fb}.dashboard-notification span{flex:1 1;font-size:13.5px;line-height:19px}.dashboard-med-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:14px;gap:14px}.dashboard-med-card{min-height:142px;padding:16px;background:#fff;border:1px solid #c7d0df;border-radius:8px;box-shadow:none}.dashboard-med-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dashboard-med-card h3{font-size:21px;line-height:1.2;letter-spacing:0}.med-status{padding:4px 12px;border-radius:999px;font-size:11px;font-weight:700;white-space:nowrap}.med-status--confirmed{color:#1c458f;background:#dbe5ff}.med-status--pending{color:#8e2825;background:#f9d6d4}.dashboard-med-card__instruction{margin-top:7px;color:#293d58;font-size:14px}.dashboard-med-card__footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px;padding-top:14px;border-top:1px solid #dce3ed;color:#334966;font-size:13px}.dashboard-med-card__footer>span{display:inline-flex;align-items:center;gap:7px}.med-delete{min-height:unset;padding:4px;color:var(--outline);background:transparent;box-shadow:none}.med-delete:hover{color:var(--primary);background:var(--surface-container-low)}.dashboard-med-card--add{display:flex;align-items:center;justify-content:center;gap:9px;min-height:142px;color:var(--primary);border-style:dashed;font-weight:700}.dashboard-med-card--add:hover{background:var(--surface-container-low);text-decoration:none}.dashboard-summary-row{display:flex;gap:20px;margin:5px 0 12px;color:var(--on-surface-variant);font-size:13px}.dashboard-summary-row>div{padding:10px 12px;border:1px solid var(--outline-variant);background:var(--surface-container-low);border-radius:8px}.dashboard-summary-number{color:var(--primary);font-size:18px;font-weight:800}.dashboard-history{margin-top:28px}.dashboard-history .history-card{display:grid;grid-template-columns:150px 1fr auto;align-items:center;width:100%;padding:14px 16px;text-align:left}.dashboard-history .history-card>span{color:var(--on-surface-variant);font-size:12px}.dashboard-history .history-card strong{font-size:14px}.dashboard-history .history-card:focus-visible,.dashboard-history .history-card:hover{color:#173f7d;background:#dbe8fb;border-color:#8eadd5;box-shadow:0 4px 12px rgba(38,83,138,.14)}.dashboard-history .history-card:hover span{color:#3c5f88}@media (min-width:768px){.app-content,.app-shell{max-width:none}.app-content>main{max-width:1180px;padding:28px 32px 48px}.patient-header{padding-left:32px;padding-right:32px}}@media (max-width:720px){.dashboard-hero{align-items:stretch;flex-direction:column;margin-bottom:24px}.dashboard-title{font-size:27px}.dashboard-actions{width:100%}.dashboard-action{flex:1 1;padding-left:10px;padding-right:10px;font-size:13px}.dashboard-med-grid{grid-template-columns:1fr}.dashboard-med-card h3,.dashboard-section__header h2{font-size:19px}.dashboard-history .history-card{grid-template-columns:1fr auto;gap:5px 10px}.dashboard-history .history-card>span{grid-column:1/-1}}@media (min-width:768px){.app-shell--with-nav{display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:100dvh;padding-bottom:0;padding-left:248px;overflow:hidden;transition:padding-left .25s ease}.app-shell--with-nav.app-shell--sidebar-collapsed{padding-left:80px}.app-shell--with-nav .patient-header{padding-left:32px}.app-shell--with-nav .app-content{min-height:0;max-width:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.app-shell--with-nav .app-content>main{max-width:1180px}.bottom-nav.sidebar{position:fixed;inset:0 auto 0 0;transform:none;width:248px;max-width:none;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:6px;padding:28px 16px;border:0;border-right:1px solid var(--border-subtle);box-shadow:4px 0 18px rgba(9,30,42,.05);z-index:40;transition:width .25s ease,padding .25s ease}.bottom-nav.sidebar.sidebar--collapsed{width:80px;padding:28px 12px}.sidebar__brand-row{position:relative}.sidebar__toggle{position:absolute;top:12px;right:-6px}.sidebar--collapsed .sidebar__toggle{right:-6px}.sidebar__brand-row{display:flex;align-items:flex-start;justify-content:space-between;min-height:84px;padding:0 0 22px}.sidebar__toggle{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#657586;cursor:pointer;box-shadow:none}.sidebar__toggle:hover{background:transparent;color:#2c4d79}.sidebar--collapsed .sidebar__brand{display:none}.sidebar--collapsed .sidebar__brand-row{justify-content:center;min-height:84px}.sidebar--collapsed .bottom-nav__item{justify-content:center!important;padding-left:0!important;padding-right:0!important}.sidebar--collapsed .bottom-nav__item span{display:none}.sidebar--collapsed .bottom-nav__item .material-symbols-outlined{display:block}.sidebar--collapsed .bottom-nav__item--active{background:transparent}.sidebar__section-label{padding:12px 12px 6px;color:var(--outline);font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.bottom-nav.sidebar .bottom-nav__item{flex:0 0 auto;flex-direction:row;justify-content:flex-start;gap:12px;min-height:48px;padding:10px 12px;margin-bottom:8px;font-size:14px;text-align:left;border-radius:8px;text-decoration:none}.bottom-nav.sidebar .bottom-nav__item:hover{text-decoration:none}.bottom-nav.sidebar .bottom-nav__item--active{background-color:#e8f0fe;color:#1a2b4c;font-weight:700}.pharmacist-shell{padding-left:248px}.pharmacist-sidebar{position:fixed;inset:0 auto 0 0;width:248px;min-height:100dvh;flex-direction:column;align-items:stretch;padding:28px 16px;border:0;border-right:1px solid var(--border-subtle);box-shadow:4px 0 18px rgba(9,30,42,.05)}.pharmacist-sidebar .brand-logo{margin-bottom:28px}.pharmacist-sidebar .pharmacist-nav__link{width:100%}.pharmacist-sidebar .spacer{flex:1 1}.pharmacist-sidebar .pharmacist-nav__user{padding:12px 4px 0;border-top:1px solid var(--border-subtle)}.pharmacist-content{max-width:none}.pharmacist-content>main{max-width:1180px;margin:0 auto}}@media (max-width:767px){.sidebar__toggle{display:none}.sidebar__brand-row{padding:0}.sidebar__section-label{display:none}.pharmacist-sidebar{position:-webkit-sticky;position:sticky}}html[data-theme=dark] .mc-header,html[data-theme=dark] .mc-header--scrolled{border-color:rgba(69,91,124,.72);background:rgba(18,28,43,.62);box-shadow:0 12px 32px rgba(0,0,0,.2);-webkit-backdrop-filter:blur(18px) saturate(130%);backdrop-filter:blur(18px) saturate(130%)}html[data-theme=dark] .mc-hero__new-copy h1{color:#f0f5ff}html[data-theme=dark] .mc-hero__new-copy h1 em,html[data-theme=dark] .mc-kicker{color:#a9c4fb}html[data-theme=dark] .mc-hero__new-copy p{color:#b8c8dc}html[data-theme=dark] .mc-audience-card,html[data-theme=dark] .mc-feature-card,html[data-theme=dark] .mc-mission__card{border-color:#344963;background:linear-gradient(135deg,rgba(25,40,62,.78),rgba(19,32,51,.62));box-shadow:0 8px 24px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}html[data-theme=dark] .mc-search-row{border-color:#40597d;background:rgba(23,37,58,.72);box-shadow:0 8px 24px rgba(0,0,0,.2)}html[data-theme=dark] .mc-cta{border-color:#344963;background:linear-gradient(120deg,rgba(27,44,69,.76),rgba(20,34,54,.62));box-shadow:0 10px 28px rgba(0,0,0,.18);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}body{background:radial-gradient(circle at 7% 6%,rgba(197,215,250,.4),transparent 28rem),radial-gradient(circle at 94% 28%,rgba(222,232,252,.5),transparent 34rem),#f5f7fb;background-attachment:fixed}.card,.contact-list,.dashboard-notification,.history-card,.history-tile,.interaction-result,.interaction-search,.interaction-selection,.mc-auth__card,.med-detail-overview,.med-history,.panel,.patient-card,.prescription-panel,.profile-details-card,.side-effect-card,.usage-guide{background:hsla(0,0%,100%,.76);box-shadow:inset 0 1px hsla(0,0%,100%,.72),0 9px 26px rgba(38,61,101,.07);backdrop-filter:blur(16px) saturate(125%);-webkit-backdrop-filter:blur(16px) saturate(125%)}.bottom-nav.sidebar,.patient-header,.pharmacist-nav{background:hsla(0,0%,100%,.72);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%)}.dashboard-hero,.interaction-guide,.mascot-tip,.prescription-guide,.profile-intro{background:linear-gradient(120deg,hsla(0,0%,100%,.72),rgba(237,244,255,.58));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}html[data-theme=dark] body{background:radial-gradient(circle at 7% 6%,rgba(47,73,113,.28),transparent 30rem),radial-gradient(circle at 94% 28%,rgba(34,54,86,.28),transparent 36rem),#0d1523}html[data-theme=dark] .card,html[data-theme=dark] .contact-list,html[data-theme=dark] .dashboard-notification,html[data-theme=dark] .history-card,html[data-theme=dark] .history-tile,html[data-theme=dark] .interaction-result,html[data-theme=dark] .interaction-search,html[data-theme=dark] .interaction-selection,html[data-theme=dark] .mc-auth__card,html[data-theme=dark] .med-detail-overview,html[data-theme=dark] .med-history,html[data-theme=dark] .panel,html[data-theme=dark] .patient-card,html[data-theme=dark] .prescription-panel,html[data-theme=dark] .profile-details-card,html[data-theme=dark] .side-effect-card,html[data-theme=dark] .usage-guide{border-color:rgba(65,87,119,.82);background:rgba(22,34,53,.78);box-shadow:inset 0 1px rgba(140,170,214,.05),0 10px 28px rgba(0,0,0,.18)}html[data-theme=dark] .bottom-nav.sidebar,html[data-theme=dark] .patient-header,html[data-theme=dark] .pharmacist-nav{background:rgba(18,28,43,.78)}.page-intro{margin-bottom:30px}.page-intro h1{margin-top:4px;font-size:30px;letter-spacing:0}.page-intro>p:last-child{margin-top:8px;color:var(--on-surface-variant)}.history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:18px;gap:18px}.history-tile{display:block;min-height:245px;padding:16px;text-align:left;color:var(--on-surface);background:#fff;border:1px solid #c7d0df;border-radius:8px;box-shadow:none}.history-tile:hover{background:var(--surface-container-low)}.history-tile__top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px;color:#334966;font-size:12px}.history-status{display:inline-flex;align-items:center;gap:4px;padding:4px 9px;border-radius:999px;font-size:11px;white-space:nowrap}.history-status--confirmed{color:#fff;background:#3c64bd}.history-status--pending{color:#fff;background:#9b5b1c}.history-status--not-sent{color:#fff;background:#6c7f95}.history-tile>strong{font-size:14px}.history-tile__chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.history-tile__chips>span{display:inline-flex;align-items:center;gap:7px;width:100%;min-width:0;padding:10px 12px;color:#173b72;background:#deebfb;border-radius:4px;font-size:14px}.history-tile__chips>span b{flex:1 1;overflow:hidden;min-width:0;text-overflow:ellipsis;white-space:nowrap;font-weight:600}.history-tile__bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:28px;padding-top:14px;border-top:1px solid #d4dce7;color:var(--on-surface-variant);font-size:13px}.history-tile{display:flex;flex-direction:column;min-height:252px;color:#172b50;background:linear-gradient(145deg,hsla(0,0%,100%,.92),rgba(247,250,255,.8));border-color:#d4e1f4;border-radius:18px;box-shadow:0 12px 28px rgba(53,82,135,.08);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.history-tile:hover{transform:translateY(-3px);background:linear-gradient(145deg,#fff,#f4f8ff);border-color:#b9cdf0;box-shadow:0 18px 34px rgba(53,82,135,.14)}.history-tile__top{margin-bottom:24px;color:#36527a}.history-tile__top>span:first-child{font-weight:700;line-height:1.45}.history-status{padding:6px 10px;box-shadow:0 4px 10px rgba(61,89,136,.12)}.history-tile>strong{margin-bottom:10px;color:#213a62;font-size:13px;font-weight:800;letter-spacing:.01em}.history-tile__chips{margin-top:0}.history-tile__chips>span{min-height:58px;padding:12px 14px;color:#254c87;border:1px solid #d6e4fa;background:linear-gradient(135deg,#edf4ff,#e3eeff);border-radius:12px}.history-tile__chips .material-symbols-outlined{flex:0 0 auto;color:#4167b2}.history-tile__chips>span b{font-weight:750}.history-tile__bottom{margin-top:auto;padding-top:13px;border-top-color:#e0e9f6;color:#627795}.history-tile__bottom .material-symbols-outlined{color:#4167b2}.history-tile__delete{display:grid;flex:0 0 auto;place-items:center;width:30px;height:30px;padding:4px;color:#ad5160;border:0;border-radius:0;background:transparent;box-shadow:none;cursor:pointer;transition:background .18s ease,color .18s ease}.history-tile__delete:hover{color:#c85360;background:transparent}.page-intro--emergency{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #c7d0df;color:#ae2e2a}.page-intro--emergency h1{color:#ad2b2b}.emergency-cards{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px;margin:30px 0}.emergency-card{padding:24px;border:1px solid #c7d0df;border-radius:8px}.emergency-card h2{font-size:22px;font-weight:800}.emergency-card p{min-height:42px;margin:10px 0 20px;color:var(--on-surface-variant)}.emergency-card a{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:46px;color:#fff;border-radius:10px;font-weight:700}.emergency-card--red{background:#fbe0dc;border-color:#b83932}.emergency-card--red a{background:#ad3028}.emergency-card--blue{background:#e3efff}.emergency-card--blue a{background:#2c4d91}.contact-list{margin-top:28px}.contact-list>h2{gap:10px;padding-left:12px;border-left:4px solid #3159a0;font-size:22px}.contact-list>h2,.contact-row{display:flex;align-items:center}.contact-row{gap:14px;margin-top:16px;padding:16px;background:#fff;border:1px solid #c7d0df;border-radius:8px}.contact-avatar{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 auto;color:#fff;background:#3c64bd;border-radius:10px}.contact-avatar--brown{background:#9b5b1c}.contact-row>div{flex:1 1}.contact-row strong{font-size:17px}.contact-row p{margin-top:3px;color:var(--on-surface-variant);font-size:13px}.contact-row__actions{display:flex;flex:0 0 auto!important;gap:8px}.contact-row a{display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:9px 16px;color:#fff;background:#2c4d91;border-radius:10px;font-size:13px;font-weight:700}.contact-row a.contact-message{color:#244c93;background:#f7faff;border:1px solid #c5d2e4}@media (max-width:720px){.emergency-cards,.history-grid{grid-template-columns:1fr}.history-tile{min-height:0}.contact-row{align-items:flex-start;flex-wrap:wrap}.contact-row__actions{width:calc(100% - 60px);margin-left:60px}.contact-row__actions a{flex:1 1;justify-content:center}}.interaction-page .page-intro{margin-bottom:30px}.page-intro--with-action{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.interaction-reset{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;color:#4c5c72;background:#eef1f4;border:none;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.interaction-reset:hover{background:#e2e6eb}.interaction-page .page-intro h1{font-size:31px}.interaction-search{position:relative;padding:24px;margin-bottom:30px}.interaction-search>label{display:block;margin-bottom:9px;font-size:14px;font-weight:700}.interaction-search__input{display:flex;align-items:center;min-height:52px;border:1px solid #c7d0df;border-radius:7px;background:#f8fbff;color:#59718e}.interaction-search__input input{min-height:48px;padding:10px 0;border:0;background:transparent;box-shadow:none}.interaction-search__input input:focus{box-shadow:none}.interaction-search__input input:focus,.interaction-search__input input:not([type=checkbox]):focus{box-shadow:none!important;border-color:transparent!important;outline:0!important}.interaction-search__input{border-color:#d5dfed!important;box-shadow:none!important;outline:0!important;transition:border-color .16s ease,box-shadow .16s ease}.interaction-search__input:focus-within{border-color:#6f89c2!important;box-shadow:0 0 0 3px rgba(79,111,186,.18)!important}html[data-theme=dark] .interaction-search__input{border-color:#405b80!important}html[data-theme=dark] .interaction-search__input:focus-within{border-color:#83a9e8!important;box-shadow:0 0 0 3px rgba(110,153,226,.28)!important}.interaction-search__input button{min-height:unset;padding:5px;color:var(--outline);background:transparent;box-shadow:none}.interaction-suggestions{position:absolute;left:24px;right:24px;z-index:5;margin-top:6px;padding:0;overflow:hidden;background:#fff;border:1px solid #c7d0df;border-radius:5px;box-shadow:0 10px 24px rgba(20,47,80,.12)}.interaction-suggestions li{display:flex;align-items:center;justify-content:space-between;padding:15px;cursor:pointer}.interaction-suggestions li:hover{background:var(--surface-container-low)}.interaction-suggestions li.interaction-suggestion--selected{color:#8999b4;background:#f1f4f9;cursor:not-allowed;opacity:.72}.interaction-suggestions li.interaction-suggestion--selected:hover{background:#f1f4f9}.interaction-suggestions li.interaction-suggestion--selected small,.interaction-suggestions li.interaction-suggestion--selected strong{color:#8999b4}.interaction-suggestions li small,.interaction-suggestions li strong{display:block}.interaction-suggestions li small{margin-top:3px;color:var(--on-surface-variant);font-size:12px}.interaction-workspace{display:grid;grid-template-columns:288px minmax(0,1fr);grid-gap:22px;gap:22px}.interaction-result,.interaction-selection{min-height:370px;padding:22px}.interaction-result{margin-top:22px}.interaction-result--split{min-height:0;padding:0;overflow:visible;border:0;background:transparent;box-shadow:none;container-type:inline-size;container-name:interaction-result}.interaction-result__layout{--interaction-graph-width:58%;display:grid;grid-template-columns:minmax(0,var(--interaction-graph-width)) 12px minmax(0,1fr);align-items:stretch;grid-gap:0;gap:0}.interaction-result__layout--resizing,.interaction-result__layout--resizing *{cursor:col-resize!important;-webkit-user-select:none;-moz-user-select:none;user-select:none}.interaction-result__divider{position:relative;z-index:12;width:12px;min-width:12px;height:100%;display:grid;place-items:center;cursor:col-resize;touch-action:none;outline:none}.interaction-result__divider:before{display:none}.interaction-result__divider:focus-visible:before,.interaction-result__divider:hover:before,.interaction-result__layout--resizing .interaction-result__divider:before{display:none}.interaction-result__pane{min-width:0;min-height:0;padding:22px}.interaction-result__pane--graph{display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-gutter:stable}.interaction-result__pane--analysis{position:relative;display:flex;flex-direction:column;height:100%;max-height:none;padding-bottom:92px}.interaction-result__subtitle{margin-top:5px;color:var(--on-surface-variant);font-size:12.5px;line-height:1.5}.interaction-result__analysis-scroll{flex:1 1;min-height:0;padding-right:4px;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-gutter:stable}.interaction-result__analysis-scroll::-webkit-scrollbar,.interaction-result__pane--graph::-webkit-scrollbar{width:3px}.interaction-result__analysis-scroll::-webkit-scrollbar-track,.interaction-result__pane--graph::-webkit-scrollbar-track{background:transparent}.interaction-result__analysis-scroll::-webkit-scrollbar-thumb,.interaction-result__pane--graph::-webkit-scrollbar-thumb{border-radius:999px;background:#b9c8dc}.interaction-result__analysis-actions{position:absolute;z-index:8;right:18px;bottom:16px;left:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px;padding:10px;border:1px solid rgba(203,216,237,.92);border-radius:15px;background:hsla(0,0%,100%,.92);box-shadow:0 12px 28px rgba(38,61,101,.16);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.interaction-result__analysis-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:9px 12px;border-radius:10px;font-size:12.5px;font-weight:750;white-space:nowrap}.interaction-result__analysis-action--secondary{color:#315a9f;border:1px solid #b9ccec;background:#f7faff}.interaction-result__analysis-action--primary{color:#fff;border:1px solid #315a9f;background:#315a9f}.interaction-result__analysis-actions>:only-child{grid-column:1/-1}.interaction-result__analysis-action--secondary:hover{background:#eaf1fd;border-color:#8daade}.interaction-result__analysis-action--primary:hover{background:#254c8f}.interaction-result__header,.interaction-selection__header{display:flex;align-items:center;justify-content:space-between;gap:10px}.interaction-result__header h2,.interaction-selection__header h2{font-size:18px;font-weight:800}.interaction-overview__summary{margin:16px 0;padding:14px 16px;border-radius:var(--radius-lg);border:1px solid var(--border-subtle);background:var(--surface-container-low)}.interaction-overview__summary p:not(.eyebrow){margin-top:4px;color:var(--on-surface-variant);font-size:14px;line-height:21px}.pharmacist-review-section{margin:16px 0}.pharmacist-review-section .pharmacist-prompt{margin-top:0}.pharmacist-review-section.pharmacist-review-section--below-result{width:100%;margin:18px 0 0}.pharmacist-review-section--below-result:empty{display:none}.pharmacist-review-section--below-result .pharmacist-prompt--cta-row{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 22px}.pharmacist-review-section--below-result .pharmacist-prompt--cta-row .pharmacist-prompt__title{flex:1 1;margin:0}.pharmacist-review-section--below-result .pharmacist-prompt--cta-row .guest-login-link,.pharmacist-review-section--below-result .pharmacist-prompt--cta-row .pharmacist-prompt__cta{flex:0 0 auto;margin-left:auto}@media (max-width:640px){.pharmacist-review-section--below-result .pharmacist-prompt--cta-row{align-items:stretch;flex-direction:column;gap:14px}.pharmacist-review-section--below-result .pharmacist-prompt--cta-row .guest-login-link,.pharmacist-review-section--below-result .pharmacist-prompt--cta-row .pharmacist-prompt__cta{width:100%;margin-left:0;text-align:center}.interaction-result__analysis-actions{grid-template-columns:minmax(0,1fr)}.interaction-result__analysis-action{white-space:normal}}.interaction-selection__header>span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;color:#244c93;background:#dbe8fb;border-radius:50%;font-size:12px;font-weight:800}.interaction-selection__import{margin:10px 0 4px}.interaction-selection__empty{display:flex;flex-direction:column;align-items:center;gap:10px;margin:42px 10px;color:var(--on-surface-variant);text-align:center;font-size:13px}.selected-medication{display:flex;align-items:center;gap:9px;margin-top:13px;padding:11px;border:1px solid #c7d0df;border-radius:5px;background:#f7faff}.selected-medication__icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#234c98;background:#deebfb;border-radius:6px}.selected-medication>div{min-width:0;flex:1 1}.selected-medication small,.selected-medication strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selected-medication small{margin-top:3px;color:var(--on-surface-variant);font-size:12px}.selected-medication>button{min-height:unset;padding:5px;color:#6c7f95;background:transparent;box-shadow:none}.interaction-run{width:100%;min-height:45px;margin-top:28px;padding:10px}.interaction-result__header{margin-bottom:18px}.interaction-result__header--analysis{padding-bottom:16px;border-bottom:1px solid var(--border-subtle)}.interaction-result__header .interaction-graph-level-toggle{flex:0 0 auto;margin:0;white-space:nowrap}.interaction-result__graph-meta{margin-bottom:12px}.interaction-result__graph-meta .tt-graph-legend{margin:0 0 10px}.interaction-result__graph-meta .tt-severity-strip{margin:0}.interaction-result--split .interaction-overview__summary{margin:16px 0 0}.interaction-result--split .interaction-detail-tabs .interaction-pairs{margin-top:14px}.interaction-result--split .pharmacist-review-section{margin-top:0}.result-pill{padding:5px 11px;color:#244c93;background:#dbe8fb;border-radius:999px;font-size:12px;font-weight:700}.result-pill--danger{color:#9b3029;background:#f8d8d4}.interaction-graph{position:relative;min-height:218px;overflow:hidden;border:1px solid #dae2ed;border-radius:5px;background:#f5f9ff}.graph-placeholder{justify-content:center;height:218px;gap:8px;color:#7f94ad;font-size:13px}.graph-node,.graph-placeholder{display:flex;flex-direction:column;align-items:center}.graph-node{position:absolute;z-index:2;gap:7px;color:#1c2f4c;font-size:12px;font-weight:700}.graph-node .material-symbols-outlined{display:flex;align-items:center;justify-content:center;width:54px;height:54px;color:#193e82;background:#d9e7f9;border:2px solid #becde0;border-radius:12px}.graph-node--0{top:28px;left:50%;transform:translateX(-50%)}.graph-node--1{bottom:22px;left:20%}.graph-node--2{bottom:22px;right:20%}.graph-line{position:absolute;top:105px;left:30%;width:40%;height:2px;background:#c83e38;transform:rotate(24deg)}.graph-line--two{transform:rotate(-24deg)}.interaction-alert{display:flex;gap:11px;margin-top:14px;padding:14px 16px;color:#9c2f2b;background:#f8d9d5;border-left:4px solid #b5362f}.interaction-alert strong{display:block;font-size:14px}.interaction-alert p{margin-top:6px;color:#5e2524;font-size:13px;line-height:1.45}.interaction-alert small{display:block;margin-top:7px;color:#8c5551;font-size:12px}.interaction-alert--empty{align-items:center;color:var(--on-surface-variant);background:var(--surface-container-low);border-left-color:#6b86a5;font-size:13px}.interaction-unknown{display:flex;align-items:center;justify-content:space-between;width:100%;padding:14px 15px;color:#6d7785;background:#f2f4f7;border:1px solid #c9d0d9;border-radius:5px;text-align:left;box-shadow:none}.interaction-unknown:hover{background:#e9edf1}.interaction-unknown small,.interaction-unknown strong{display:block}.interaction-unknown small{margin-top:3px;font-size:12px;font-weight:400}.selected-medication--unknown{color:#6d7785;background:#f2f4f7;border-color:#c9d0d9}.selected-medication--unknown .selected-medication__icon{color:#78828e;background:#dfe3e8}.graph-node--unknown .material-symbols-outlined{color:#77818c;background:#e0e4e9;border-color:#c5ccd4}.result-pill--unknown{color:#64707e;background:#e2e6eb}.interaction-alert--unknown{color:#687582;background:#e8ebee;border-left-color:#89949f}.interaction-alert--unknown p{color:#4f5d6b}.interaction-alert--unknown small{color:#6c7781}.interaction-alert--moderate{color:#9b6414;background:#fff0d9;border-left-color:#c58a32}.interaction-alert--moderate p{color:#6f4d1c}.interaction-alert--moderate small{color:#8a6a38}.interaction-alert--mild{color:#397257;background:#e5f3ea;border-left-color:#5d9b78}.interaction-alert--mild p{color:#315c47}.tt-graph-canvas{position:relative;min-height:680px}.interaction-result--split .tt-graph-canvas{display:flex;flex:0 0 auto;flex-direction:column;min-height:0}.tt-graph-canvas svg{display:block;width:100%;height:680px}.interaction-result--split .tt-graph-canvas svg{flex:none;min-height:0;height:500px}.interaction-result--split .tt-severity-strip{flex-wrap:wrap;gap:8px;margin:0;overflow-x:visible}@container interaction-result (min-width: 901px){.interaction-result__pane{height:min(780px,calc(100dvh - 120px));min-height:600px}.interaction-result__pane--graph{overflow-y:auto}}.interaction-result__pane--graph.interaction-result__pane--graph-static{height:auto;min-height:0;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}@container interaction-result (max-width: 900px){.interaction-result__layout{grid-template-columns:minmax(0,1fr)}.interaction-result__divider{display:none}.interaction-result__pane--analysis{height:auto;max-height:none}.interaction-result__analysis-scroll{overflow:visible}}@media (max-width:1080px){.interaction-result__layout{grid-template-columns:minmax(0,1fr)}.interaction-result__divider{display:none}.interaction-result__pane--analysis{height:auto;max-height:none}.interaction-result__analysis-scroll{overflow:visible}}@media (max-width:767px){.interaction-result__layout{gap:14px}.interaction-result__pane{padding:16px}.interaction-result__pane--graph{height:auto;min-height:0;overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}.interaction-result__pane--analysis{height:auto;min-height:0;padding-bottom:16px}.interaction-result__analysis-scroll{overflow:visible;overscroll-behavior:auto;scrollbar-gutter:auto}.interaction-result__analysis-action--primary,.interaction-result__analysis-actions--summary-only{display:none}.interaction-result__analysis-actions{position:static;margin-top:16px;padding:10px}.interaction-result--split .tt-graph-canvas{min-height:340px}.interaction-result--split .tt-graph-canvas svg{flex:none;height:340px}.interaction-result--split .tt-severity-strip{flex-wrap:wrap;overflow-x:visible}}.tt-graph-edge-hit{fill:none;stroke:transparent;stroke-width:.8;pointer-events:stroke}.tt-graph-edge-group--clickable .tt-graph-edge-hit{cursor:pointer}.tt-graph-edge{fill:none;stroke-width:.8;stroke-linecap:round;pointer-events:none;transition:opacity .18s ease,stroke-width .18s ease}.tt-graph-node{cursor:default;transition:transform .18s ease,filter .18s ease}.tt-graph-node__fill{transition:opacity .18s ease;filter:drop-shadow(0 3px 3px rgba(36,65,101,.18))}.tt-graph-node__ring{fill:none;stroke:#fff;stroke-width:1.7;pointer-events:none;transition:opacity .18s ease .07s}.tt-graph-node__label{fill:#fff;font-family:var(--font-body);font-size:2.6px;font-weight:700;pointer-events:none;filter:drop-shadow(0 0 1.2px rgba(0,0,0,.55));transition:opacity .18s ease}.tt-graph-tooltip{position:absolute;transform:translate(-50%,calc(-100% - 14px));background:#1c2f4c;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:600;white-space:nowrap;pointer-events:none;box-shadow:0 4px 12px rgba(20,35,60,.25);z-index:5}.tt-graph-tooltip--below{transform:translate(-50%,14px)}.tt-graph-legend{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0 2px;color:#64788f;font-size:11px}.tt-graph-legend span{display:inline-flex;align-items:center;gap:5px}.tt-graph-legend__dot{width:9px;height:9px;display:inline-block;border-radius:50%}.tt-severity-strip{display:flex;flex-wrap:wrap;gap:14px;margin:12px 0 2px;color:#4c5c72;font-size:12px}.tt-severity-strip__item{display:inline-flex;align-items:center;gap:6px}.tt-severity-strip__item--filter{width:auto;min-height:34px;padding:6px 10px;border:1px solid #d5e1f1;border-radius:11px;background:#fff;color:inherit;cursor:pointer;font:inherit;line-height:1.2;transition:background .18s ease,border-color .18s ease,opacity .18s ease}.tt-severity-strip__item--filter:hover{border-color:#8faad1}.tt-severity-strip__item--filter.is-active{background:#edf4ff;border-color:#99b9e8}.tt-severity-strip__item--filter:not(.is-active){opacity:.43}.tt-severity-strip__item--filter:focus-visible{outline:3px solid rgba(65,103,178,.25);outline-offset:2px}.tt-legend-dot{width:9px;height:9px;display:inline-block;border-radius:50%}.tt-legend-dot--severe{background:#c94740}.tt-legend-dot--moderate{background:#c58a32}.tt-legend-dot--mild{background:#5d9b78}.tt-legend-dot--unknown{background:#8d98a4}.tt-graph-pair__notice{display:flex;align-items:center;gap:6px;margin:8px 0 0;color:#8a6a38;font-size:12px}.tt-graph-pair__actions{position:absolute;top:14px;right:14px;z-index:1;display:flex;align-items:center;gap:8px}.tt-graph-pair__detail{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;color:#244c93;background:#dbe8fb;border:none;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.tt-graph-pair__detail:hover{background:#c9dcf5}.tt-graph-pair__severe{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;color:#9b3029;background:#f8d8d4;border:none;border-radius:999px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}.tt-graph-pair__severe:hover{background:#f0c3bd}.tt-graph-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:12px;padding:7px 14px;color:#4c5c72;background:#eef1f4;border:none;border-radius:999px;font-size:13px;font-weight:600;cursor:pointer}.tt-graph-back:hover{background:#e2e6eb}.tt-severe-popup{position:relative;margin-bottom:16px;padding:16px 44px 16px 16px;background:#f8d8d4;border:1px solid #f0b8b2;border-radius:10px}.tt-severe-popup__header{display:flex;align-items:center;gap:8px;margin-bottom:4px;color:#9b3029;font-size:15px}.tt-severe-popup__close{position:absolute;top:12px;right:12px;padding:4px;color:#9b3029;background:none;border:none;cursor:pointer}.tt-severe-popup__close:hover{color:#6f221d}.pharmacist-prompt{margin-top:12px;padding:16px;background:#fff;border:1px solid #c7d8ef;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.05)}.pharmacist-prompt__title{margin-bottom:8px;color:#244c93;font-size:15px;font-weight:600}.pharmacist-prompt__cta{padding:10px 16px;color:#fff;background:#244c93;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer}.pharmacist-prompt__cta:hover{background:#1b3a70}.pharmacist-prompt__cta:disabled{background:#9db6da;cursor:default}.pharmacist-prompt__back{display:inline-flex;align-items:center;gap:4px;margin-bottom:10px;padding:0;color:#64707e;background:none;border:none;font-size:12.5px;font-weight:600;cursor:pointer;box-shadow:none}.pharmacist-prompt__back:hover{color:#244c93}.pharmacist-prompt__list{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%;margin-top:12px;max-height:360px;overflow-x:hidden;overflow-y:auto;padding:4px 2px;box-sizing:border-box}.pharmacist-prompt__list--loading{min-height:360px}.pharmacist-prompt__loading{color:#64707e;font-size:13px}.pharmacist-prompt__item{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;height:auto!important;min-height:-moz-fit-content!important;min-height:fit-content!important;padding:12px 16px!important;color:inherit;text-align:left!important;background-color:#f8fafc!important;border:1px solid #d4e1f5!important;border-radius:var(--radius-md)!important;box-shadow:none!important;cursor:pointer;box-sizing:border-box;transition:all .2s cubic-bezier(.4,0,.2,1)!important}.pharmacist-prompt__item:hover{background-color:#fff!important;border-color:var(--primary)!important;transform:translateY(-2px);box-shadow:0 8px 18px rgba(36,75,145,.12)!important}.pharmacist-prompt__item-body{min-width:0;flex:1 1;gap:3px}.pharmacist-prompt__name{color:#1a2b4c;font-weight:600}.pharmacist-prompt__bio,.pharmacist-prompt__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pharmacist-prompt__bio{margin-top:4px;color:#64707e;font-size:12px;line-height:16px}.pharmacist-prompt__attach-toggle{display:flex;flex-direction:column;gap:8px;margin:12px 0;font-size:13px}.pharmacist-prompt__attach-option{display:flex;align-items:center;gap:10px;padding:10px 12px;color:var(--on-surface);background:#fafafa;border:1px solid #eee;border-radius:8px;cursor:pointer;transition:border-color .15s ease,background .15s ease}.pharmacist-prompt__attach-option>span{display:flex;flex-direction:column;gap:3px}.pharmacist-prompt__attach-option small{color:var(--on-surface-variant);font-size:12px;font-weight:400;line-height:1.45}.pharmacist-prompt__attach-option:hover{background:#f2f6fb}.pharmacist-prompt__attach-option--active{background:#eef4fc;border-color:#244c93;color:#1a2b4c;font-weight:600}.pharmacist-prompt__attach-option input[type=checkbox],.pharmacist-prompt__attach-option input[type=radio]{width:16px;height:16px;margin:0;flex-shrink:0;accent-color:#244c93}.pharmacist-prompt__manual-form{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}.pharmacist-prompt__privacy-note{display:flex;align-items:flex-start;gap:7px;margin:2px 2px 0;color:var(--on-surface-variant);font-size:12px;line-height:1.5}.pharmacist-prompt__privacy-note .material-symbols-outlined{flex-shrink:0;margin-top:1px}.pharmacist-prompt__assign{padding:8px 16px;color:#fff;background:#244c93;border:none;border-radius:4px;font-weight:600;cursor:pointer}.pharmacist-prompt__assign:disabled{background:#ccc;cursor:default}.pharmacist-prompt--done{color:#397257;background:#e5f3ea;border:1px solid #c8e6c9;border-radius:8px}.pharmacist-prompt--confirmed,.pharmacist-prompt--done{display:flex;align-items:center;gap:8px;margin-top:12px;padding:12px 16px}.pharmacist-prompt--confirmed{color:#244c93;background:#dbe8fb;border:1px solid #c3d7f5;border-radius:8px}.pharmacist-prompt--loading{display:flex;align-items:center;gap:8px;color:#64707e;font-size:13px}.profile-page{min-height:100vh;padding:2px;border-radius:24px;background:#f4f7fc}.profile-intro{position:relative;overflow:hidden;display:flex;align-items:center;gap:16px;min-height:112px;padding:22px 26px;margin-bottom:22px;border:1px solid #cbdcf4;border-radius:20px;background:linear-gradient(105deg,hsla(0,0%,100%,.78),rgba(242,247,255,.68) 60%,rgba(226,235,255,.7));box-shadow:0 16px 36px rgba(57,84,134,.12);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.profile-intro:after{position:absolute;right:-55px;bottom:-95px;width:220px;height:220px;border:1px solid rgba(79,108,182,.18);border-radius:50%;content:""}.profile-avatar{display:inline-flex;align-items:center;justify-content:center;width:58px;height:58px;color:#4167b2;border:0;border-radius:0;background:transparent;box-shadow:none}.profile-avatar,.profile-intro>div{position:relative;z-index:1}.profile-intro h2{color:#172b50;font-size:21px;font-weight:800}.profile-intro p{max-width:700px;margin-top:6px;color:var(--on-surface-variant);font-size:14px;line-height:1.5}.profile-intro__state{position:relative;z-index:1;display:inline-flex;align-items:center;gap:7px;margin-left:auto;padding:9px 12px;color:#4167b2;border:1px solid #cbdcf4;border-radius:999px;background:hsla(0,0%,100%,.75);font-size:12px;font-weight:800;white-space:nowrap}@media (max-width:640px){.profile-intro{align-items:flex-start;min-height:0;padding:18px}.profile-avatar{width:48px;height:48px;border-radius:14px}.profile-intro h2{font-size:18px}.profile-intro p{font-size:13px}.profile-intro__state{display:none}}.profile-add-form{position:relative;padding:18px}.profile-add-form>label{display:block;margin-bottom:9px;font-size:14px;font-weight:700}.profile-add-form__input{display:flex;align-items:center;gap:var(--icon-input-gap);min-height:50px;padding-left:var(--icon-input-padding-inline);border:1px solid var(--outline-variant);border-radius:10px}.profile-add-form__input input{min-height:46px;padding:10px 0;border:0;box-shadow:none}.profile-add-form__input input:focus{box-shadow:none}.profile-add-form__input button{min-height:42px;margin-right:4px;padding:8px 13px}.profile-field-control{display:flex;align-items:center;width:100%;min-height:70px;overflow:hidden;border:1px solid #d5dfed;border-radius:11px;background:#fff;transition:border-color .16s ease,box-shadow .16s ease}.profile-field-control:hover{border-color:#aebfda}.profile-field-control:focus-within{border-color:#6f89c2;box-shadow:0 0 0 3px rgba(79,111,186,.12)}.profile-field-control>.material-symbols-outlined{flex:0 0 auto;margin-left:20px;color:#5578bc}.profile-field-control>input:not([type=checkbox]),.profile-field-control>textarea{flex:1 1 auto;min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.profile-field-control>input:not([type=checkbox]){min-height:68px;padding:0 20px 0 16px}.profile-field-control--textarea{align-items:flex-start}.profile-field-control--textarea>.material-symbols-outlined{margin-top:20px}.profile-field-control>textarea{min-height:126px;padding:19px 20px 16px 16px}.profile-field-control>input:not([type=checkbox]):focus,.profile-field-control>input:not([type=checkbox]):hover,.profile-field-control>textarea:focus,.profile-field-control>textarea:hover{border:0;background:transparent;box-shadow:none;outline:0}.profile-field-control>input:-webkit-autofill,.profile-field-control>input:-webkit-autofill:active,.profile-field-control>input:-webkit-autofill:focus,.profile-field-control>input:-webkit-autofill:hover{-webkit-text-fill-color:#1a3357!important;box-shadow:inset 0 0 0 1000px #fff!important}html[data-theme=dark] .profile-field-control{border-color:#344966;background:#142238}html[data-theme=dark] .profile-field-control:hover{border-color:#54709a}html[data-theme=dark] .profile-field-control:focus-within{border-color:#7fa2e3;box-shadow:0 0 0 3px rgba(111,145,205,.16)}html[data-theme=dark] .profile-field-control>.material-symbols-outlined{color:#91b0ea}html[data-theme=dark] .profile-field-control>input:-webkit-autofill,html[data-theme=dark] .profile-field-control>input:-webkit-autofill:active,html[data-theme=dark] .profile-field-control>input:-webkit-autofill:focus,html[data-theme=dark] .profile-field-control>input:-webkit-autofill:hover{-webkit-text-fill-color:#edf4ff!important;box-shadow:inset 0 0 0 1000px #142238!important}.profile-details-form{margin-bottom:24px}.profile-details-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:24px;gap:24px;align-items:stretch}.profile-details-card{position:relative;overflow:hidden;min-height:100%;padding:28px;border:1px solid #d6e2f5;border-radius:20px;background:linear-gradient(145deg,hsla(0,0%,100%,.78),rgba(243,248,255,.62));box-shadow:0 18px 38px rgba(51,82,135,.11);-webkit-backdrop-filter:blur(18px) saturate(130%);backdrop-filter:blur(18px) saturate(130%)}.profile-details-card__title{display:flex;align-items:center;gap:10px;margin:0 0 26px;padding-bottom:18px;border-bottom:1px solid #e1eaf8;color:#172b50;font-size:19px;font-weight:800;letter-spacing:0}.profile-details-card__hint{margin:-15px 0 22px;color:#6b7d96;font-size:12px;line-height:1.55}.profile-details-card__title .material-symbols-outlined{display:grid;place-items:center;width:38px;height:38px;color:#4167b2;border-radius:11px;background:#eaf1ff}.profile-details-card--medical .profile-details-card__title .material-symbols-outlined{color:#bb5b67;background:#fff0f1}.profile-details-card .field{margin-bottom:20px}.profile-details-card .field:last-child{margin-bottom:0}.profile-details-card .field label{margin-bottom:8px;color:#61738f;font-size:12px;font-weight:800;letter-spacing:.045em}.profile-details-card input:not([type=checkbox]),.profile-details-card select,.profile-details-card textarea{min-height:52px;padding:13px 15px;border-color:#cbd9ef;border-radius:12px;background:#fff;box-shadow:inset 0 1px 2px rgba(46,76,125,.03)}.profile-details-card textarea{min-height:94px;line-height:1.5;resize:none}.profile-details-card input:focus,.profile-details-card select:focus,.profile-details-card textarea:focus{border-color:#557bc6;outline:0;box-shadow:0 0 0 4px rgba(85,123,198,.13)}.profile-details-card [aria-invalid=true]{border-color:#c45c69;background:#fffafb;box-shadow:0 0 0 4px rgba(196,92,105,.12)}.profile-field-error{margin:7px 0 0;color:#b24f5c;font-size:12px;font-weight:700;line-height:1.4}.condition-selector__empty,.condition-selector__hint{margin:0 0 10px;color:#6b7d96;font-size:12px;line-height:1.5}.condition-selector__empty{padding:10px 12px;border:1px dashed #cbd9ef;border-radius:10px;background:rgba(244,248,255,.72)}.condition-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.condition-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:8px 8px 8px 11px;color:#23436f;border:1px solid #bfd2ee;border-radius:12px;background:#edf4ff}.condition-chip>span{display:grid;min-width:0}.condition-chip small,.condition-chip strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.condition-chip strong{font-size:13px}.condition-chip small{margin-top:2px;color:#637895;font-size:11px}.condition-chip button{display:grid;flex:0 0 auto;place-items:center;width:26px;min-height:26px;padding:0;color:#587095;border:0;border-radius:8px;background:transparent;box-shadow:none}.condition-chip button:hover{color:#a23f4c;background:#ffe7ea}.condition-search-wrap{position:relative;display:flex;align-items:center}.condition-search-wrap>.material-symbols-outlined{position:absolute;left:14px;z-index:1;color:#71829c;pointer-events:none}.profile-details-card .condition-search-wrap input{padding-right:42px;padding-left:43px}.condition-search-wrap>.spinner{position:absolute;right:14px}.profile-details-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.profile-details-actions{display:flex;grid-column:1/-1;align-items:center;justify-content:flex-end;gap:16px;padding:2px 2px 0}.profile-details-actions .primary{min-height:48px;padding:0 20px;border-radius:12px;box-shadow:0 10px 20px rgba(53,91,164,.2)}@media (max-width:900px){.profile-details-grid{grid-template-columns:1fr}}@media (max-width:640px){.profile-details-card{padding:20px;border-radius:16px}.profile-details-card__title{margin-bottom:20px;padding-bottom:14px;font-size:17px}.profile-details-row{grid-template-columns:1fr;gap:0}.profile-details-actions{align-items:stretch;flex-direction:column}.profile-details-actions .primary{width:100%;justify-content:center}}.profile-suggestions{top:94px;left:18px;width:calc(100% - 36px)}.profile-medications{margin-top:28px}.profile-medications .dashboard-section__header button{min-height:40px;padding:8px 12px;font-size:12px}.profile-medication{display:flex;align-items:center;gap:12px;padding:15px;margin-bottom:10px;background:#fff;border:1px solid var(--border-subtle);border-radius:12px;box-shadow:var(--shadow-sm)}.profile-medication__icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;color:var(--primary);background:var(--primary-fixed);border-radius:10px}.profile-medication>div{flex:1 1}.profile-medication strong{font-size:16px}.profile-medication p{margin-top:3px;color:var(--on-surface-variant);font-size:13px}.guest-login-link{min-height:38px;padding:8px 13px;background:var(--primary-fixed);border-radius:9px;font-size:12px}.guest-entry-link,.guest-login-link{display:inline-flex;align-items:center;color:var(--primary);font-weight:700}.guest-entry-link{gap:6px;margin-top:18px;font-size:14px}.auth-card form>button[type=submit]:hover{background:#2f6fb4}.auth-card .role-tabs button:hover{color:var(--primary);background:#e1edfb}.auth-card .input-field__action:hover{color:var(--primary);background:#edf4fc}.auth-card .auth-role-switch button:hover{color:#2f6fb4;background:transparent}.guest-mode-banner{margin-bottom:18px;padding:10px 13px;color:#596979;background:#eef1f4;border:1px solid #d3dae2;border-radius:8px;font-size:13px}.guest-mode-banner,.profile-medication__title{display:flex;align-items:center;gap:8px}.profile-medication__title .med-status{font-size:10px}.profile-medication>div:after{content:"Đang sử dụng";display:inline-flex;margin-top:6px;padding:3px 8px;color:#244c93;background:#dbe8fb;border-radius:999px;font-size:10px;font-weight:700}.profile-medication__icon--stopped{color:#6e7985;background:#e2e6eb}.med-status--stopped{color:#687582;background:#e2e6eb}.interaction-pairs{margin-top:28px}.interaction-pairs .dashboard-section__header{margin-bottom:14px}.interaction-pairs .dashboard-section__header h2{display:flex;align-items:center;gap:8px;font-size:20px}.interaction-pairs .dashboard-section__header>span{color:var(--on-surface-variant);font-size:12px}.interaction-pairs .alert-card{margin-bottom:12px}.interaction-pair-card{scroll-margin-top:24px;border-radius:14px}.interaction-pair-card--focused{outline:3px solid #e2a640;outline-offset:3px}.interaction-pair-card{position:relative}.interaction-pair-card--with-actions .alert-card-header{padding-right:174px}.interaction-pair-card .alert-card-body{flex:1 1;min-width:0}.interaction-pair-card .alert-card-body h3{max-width:100%;overflow-wrap:break-word;word-break:normal}@media (max-width:620px){.interaction-pair-card .tt-graph-pair__actions{position:static;justify-content:flex-end;margin:0 0 8px}.interaction-pair-card--with-actions .alert-card-header{padding-right:0}}.interaction-pair-card__origin{margin-bottom:8px;padding:3px 10px;background:#dbe8fb;border-radius:999px;font-size:11px}.interaction-pair-card__origin,.interaction-pairs__toggle{display:inline-flex;align-items:center;color:#244c93;font-weight:700}.interaction-pairs__toggle{gap:6px;margin-bottom:16px;padding:8px 13px;background:#eef4fc;border:1px solid #c7d8ef;border-radius:999px;font-size:12.5px;box-shadow:none}.interaction-pairs__toggle:hover{background:#dbe8fb}.interaction-detail-tabs__nav{margin-top:4px}.interaction-workspace--board{grid-template-columns:minmax(0,1fr)}.prescription-add-link{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:10px;padding:9px;color:#244c93;background:transparent;border:1px dashed #9db6da;border-radius:7px;font-size:12.5px;font-weight:700;box-shadow:none}.prescription-add-link:hover{background:#eef4fc}.prescription-board-wrap{margin-bottom:30px}.prescription-guide{position:relative;display:grid;grid-template-columns:142px minmax(0,1fr);align-items:center;grid-gap:22px;gap:22px;min-height:150px;margin:0 0 24px;padding:20px 26px 20px 18px;overflow:hidden;border:1px solid #cbdcf4;border-radius:22px;background:radial-gradient(circle at 84% 14%,rgba(154,188,255,.34),transparent 30%),linear-gradient(110deg,hsla(0,0%,100%,.92),rgba(233,242,255,.86));box-shadow:0 16px 34px rgba(54,84,137,.1)}.prescription-guide__fox{width:142px;height:112px}.prescription-guide__content{position:relative;z-index:1}.prescription-guide__eyebrow{display:block;margin-bottom:7px;color:#4167b2;font-size:10px;font-weight:800;letter-spacing:.14em}.prescription-guide h2{margin:0 0 7px;color:#172b50;font-size:22px;letter-spacing:0}.prescription-guide p{max-width:650px;margin:0;color:#5d7190;font-size:13px;line-height:1.6}.prescription-guide__action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;color:#fff;border:1px solid #4167b2;border-radius:12px;background:#4167b2;box-shadow:0 10px 20px rgba(53,91,164,.2);cursor:pointer;font:inherit;font-size:13px;font-weight:800;white-space:nowrap;transition:transform .18s ease,background .18s ease}.prescription-guide__action:hover{background:#2f579f;transform:translateY(-2px)}.prescription-guide__action:disabled{cursor:wait;opacity:.72;transform:none}.profile-interaction-result{margin:34px 0 30px;padding-top:28px;border-top:1px solid #d5e2f5;background:transparent}.profile-interaction-run{margin-top:20px}.profile-interaction-result__header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:18px}.profile-interaction-result__header h2{margin:5px 0 0;color:#172b50;font-size:24px;letter-spacing:0}.interaction-guide{display:flex;align-items:center;gap:18px;margin:0 0 22px;padding:15px 22px;border:1px solid #d5e2f6;border-radius:18px;background:linear-gradient(110deg,hsla(0,0%,100%,.9),rgba(236,245,255,.82));box-shadow:0 12px 28px rgba(54,84,137,.08)}.interaction-guide__fox{width:100px;height:82px}.interaction-guide__eyebrow{display:block;margin-bottom:5px;color:#4167b2;font-size:10px;font-weight:800;letter-spacing:.14em}.interaction-guide h2{margin:0 0 5px;color:#172b50;font-size:17px;letter-spacing:0}.interaction-guide p{margin:0;color:#60738f;font-size:13px;line-height:1.55}@media (max-width:720px){.prescription-guide{grid-template-columns:92px 1fr;gap:14px;padding:18px}.prescription-guide__fox{width:92px;height:86px}.prescription-guide h2{font-size:19px}.prescription-guide p{font-size:12px}.prescription-guide__action{grid-column:1/-1;width:100%}.interaction-guide{align-items:flex-start;padding:15px}.interaction-guide__fox{width:78px;height:70px}.interaction-guide h2{font-size:16px}.interaction-guide p{font-size:12px}.profile-interaction-result__header{align-items:flex-start;flex-direction:column}}.prescription-board{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:18px;margin-bottom:16px;align-items:start}.prescription-board--slider{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-left:2px;padding:2px 2px 10px;-webkit-overflow-scrolling:touch}.prescription-board--slider .prescription-board__add,.prescription-board--slider .prescription-panel{flex:0 0 300px;width:300px;scroll-snap-align:start}.prescription-board--slider::-webkit-scrollbar{height:8px}.prescription-board--slider::-webkit-scrollbar-track{background:transparent}.prescription-board--slider::-webkit-scrollbar-thumb{background:#c7d6ea;border-radius:999px}.prescription-panel{position:relative;animation:prescription-panel-in .2s ease-out}@keyframes prescription-panel-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}.prescription-panel .interaction-search__input{margin-bottom:4px}.prescription-panel__header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.prescription-panel__header h3{flex:1 1;min-width:0;overflow:hidden;font-size:15px;font-weight:800;white-space:nowrap;text-overflow:ellipsis}.prescription-panel__header-actions{display:flex;flex-shrink:0;align-items:center;gap:2px}.prescription-panel__edit{min-height:unset;padding:5px;color:#6c7f95;background:transparent;box-shadow:none}.prescription-panel__edit:hover{color:#244c93}.prescription-panel__actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:12px}.prescription-panel__tool{display:inline-flex;align-items:center;gap:5px;min-height:unset;padding:6px 10px;color:#4a5b70;background:var(--surface-container-low);border-radius:999px;font-size:11.5px;font-weight:700;box-shadow:none;white-space:nowrap}.prescription-panel__tool:hover:not(:disabled){background:#dbe8fb;color:#244c93}.prescription-panel__tool:disabled{cursor:not-allowed;opacity:.55}.prescription-panel__remove{min-height:unset;padding:5px;color:#6c7f95;background:transparent;box-shadow:none}.prescription-panel__remove:hover{color:#b5362f}.ocr-scan-loading{display:flex;flex-direction:column;align-items:center;gap:4px;width:100%;margin-bottom:12px;padding:18px 16px;border:1px solid var(--outline-variant);border-radius:var(--radius-lg);background:var(--surface-container-low);color:var(--on-surface-variant);text-align:center}.ocr-scan-loading__fox{width:72px;height:62px;animation:medi-fox-breathe 1.7s ease-in-out infinite}.ocr-scan-loading strong{color:var(--on-surface);font-size:14px}.ocr-scan-loading span{font-size:12px}.ocr-scan-backdrop{position:fixed;z-index:4900;inset:0;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(21,32,52,.58);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:medi-alert-fade-in .2s ease-out}.ocr-scan-modal{display:flex;flex-direction:column;flex:0 0 auto;gap:16px;width:min(680px,calc(100vw - 40px));max-height:min(720px,calc(100vh - 40px));padding:26px 28px 22px;border-radius:var(--radius-xl);background:var(--surface-container-lowest);color:var(--on-surface);box-shadow:0 28px 70px rgba(4,13,29,.34);animation:medi-alert-pop-in .24s cubic-bezier(.2,.8,.2,1);overflow:hidden}.ocr-scan-modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ocr-scan-modal__header h2{margin:4px 0 6px;font-size:19px}.ocr-scan-modal__header p{margin:0;color:var(--on-surface-variant);font-size:13px;line-height:1.5}.ocr-scan-modal__eyebrow{color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.08em}.ocr-scan-modal__close{flex-shrink:0;min-height:unset;padding:6px;color:var(--on-surface-variant);background:transparent;box-shadow:none}.ocr-scan-modal__close:hover{color:var(--on-surface)}.ocr-scan-modal__empty{padding:20px;color:var(--on-surface-variant);text-align:center}.ocr-scan-rows{display:flex;flex-direction:column;gap:14px;margin:0;padding:2px 2px 2px 0;list-style:none}.ocr-scan-row{min-width:0;padding:14px 16px;border:1px solid var(--border-subtle);border-radius:var(--radius-md);background:var(--surface-container-low)}.ocr-scan-row__ocr{display:flex;align-items:flex-start;gap:8px;margin-bottom:10px}.ocr-scan-row__number{flex-shrink:0;padding:2px 7px;border-radius:var(--radius-full);background:var(--surface-container-high);font-size:11px}.ocr-scan-row__label,.ocr-scan-row__number{color:var(--on-surface-variant);font-weight:700}.ocr-scan-row__label{display:block;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase}.ocr-scan-row__ocr{min-width:0}.ocr-scan-row__ocr p{margin:2px 0 0;color:var(--on-surface);font-size:14px;line-height:1.4;overflow-wrap:anywhere}.ocr-scan-row__options{display:flex;flex-direction:column;gap:6px;min-width:0}.ocr-scan-option{display:flex;align-items:center;gap:8px;min-width:0;padding:8px 10px;border:1px solid var(--border-subtle);border-radius:var(--radius);background:var(--surface-container-lowest);cursor:pointer}.ocr-scan-option input[type=checkbox],.ocr-scan-option input[type=radio]{width:16px;height:16px;min-height:0;padding:0;margin:0;flex-shrink:0;accent-color:var(--primary)}.ocr-scan-option__name{flex:1 1;min-width:0;overflow-wrap:anywhere;font-size:13.5px;font-weight:600}.ocr-scan-option__tag{flex-shrink:0;padding:2px 8px;border-radius:var(--radius-full);background:var(--surface-container-high);color:var(--on-surface-variant);font-size:10.5px;font-weight:700;white-space:nowrap}.ocr-scan-option__tag--top{background:var(--primary-fixed);color:var(--primary)}.ocr-scan-diseases{min-width:0;margin-bottom:4px}.ocr-scan-diseases__label{margin:0 0 8px;font-size:10.5px;font-weight:800;color:var(--primary);letter-spacing:.08em;text-transform:uppercase}.ocr-scan-diseases__label span{font-weight:600;color:var(--on-surface-variant);text-transform:none;letter-spacing:0}.ocr-scan-option--readonly{cursor:default}.ocr-scan-option--selected{border-color:var(--primary);background:var(--primary-fixed)}.ocr-scan-option--manual{flex-wrap:wrap}.ocr-scan-option--manual input[type=text]{flex:1 1;min-width:140px;min-height:32px;padding:4px 8px;border:1px solid var(--outline-variant);border-radius:var(--radius-sm);background:var(--surface-container-lowest);color:var(--on-surface);font:inherit;font-size:13px}.ocr-scan-option__name--empty{color:var(--on-surface-variant);font-weight:500}.ocr-scan-row__unmatched{display:flex;align-items:center;gap:5px;margin:8px 0 0;color:#6d7785;font-size:12px}.ocr-scan-drug-picked{display:flex;flex-direction:column;gap:8px}.ocr-scan-drug-actions{display:flex;gap:8px}.ocr-scan-drug-actions button{display:flex;align-items:center;gap:4px;min-height:unset;padding:5px 10px;border:1px solid var(--outline-variant);border-radius:var(--radius-sm);background:var(--surface-container-lowest);color:var(--on-surface-variant);font-size:12px;font-weight:600;box-shadow:none}.ocr-scan-drug-actions button:hover{color:var(--on-surface);border-color:var(--primary)}.ocr-scan-drug-edit{display:flex;flex-direction:column;gap:8px}.ocr-scan-drug-edit__suggestions{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.ocr-scan-drug-edit__suggestions .ocr-scan-option{width:100%;min-height:unset;justify-content:flex-start;text-align:left;color:inherit;font:inherit;box-shadow:none}.ocr-scan-drug-edit__suggestions .ocr-scan-option:hover{border-color:var(--primary)}.ocr-scan-drug-edit__empty{margin:0;color:var(--on-surface-variant);font-size:12px}.ocr-scan-drug-edit__cancel{align-self:flex-start;min-height:unset;padding:0;border:none;background:transparent;color:var(--on-surface-variant);font-size:12.5px;font-weight:600;text-decoration:underline;box-shadow:none}.ocr-scan-row__removed{display:flex;align-items:center;gap:8px;margin:0;padding:8px 10px;border:1px dashed var(--outline-variant);border-radius:var(--radius);color:var(--on-surface-variant);font-size:12.5px}.ocr-scan-row__removed button{min-height:unset;padding:0;border:none;background:transparent;color:var(--primary);font-size:12.5px;font-weight:700;text-decoration:underline;box-shadow:none}.ocr-scan-modal__footer{display:flex;justify-content:flex-end;gap:10px;padding-top:4px;border-top:1px solid var(--border-subtle)}.ocr-scan-modal__cancel{color:var(--on-surface-variant);background:transparent;border:1px solid var(--outline-variant)}.ocr-scan-modal__confirm{display:inline-flex;align-items:center;gap:6px;color:var(--on-primary);background:var(--primary);border:1px solid var(--primary)}.ocr-scan-modal__confirm:disabled{cursor:not-allowed;opacity:.5}.ocr-scan-content{display:flex;gap:16px;min-width:0;min-height:0;overflow:auto}.ocr-scan-lists{display:flex;flex:1 1;flex-direction:column;gap:14px;min-width:0}.ocr-scan-preview{position:-webkit-sticky;position:sticky;top:0}.ocr-scan-rows{min-width:0}.ocr-scan-preview{flex:0 0 auto;width:160px;height:200px;border:1px solid var(--outline-variant);border-radius:var(--radius-m);overflow:hidden;background:var(--surface)}.ocr-scan-preview__image{width:100%;height:100%;object-fit:cover;cursor:pointer}.ocr-scan-preview__zoom-hint{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);color:#fff;opacity:0;transition:opacity .15s;pointer-events:none}.ocr-scan-preview:hover .ocr-scan-preview__zoom-hint{opacity:1}.ocr-scan-zoom-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.ocr-scan-zoom-modal{position:relative;background:#fff;border-radius:var(--radius-lg);box-shadow:0 10px 40px rgba(0,0,0,.3);overflow:hidden;max-width:min(800px,90vw);max-height:80vh;display:flex;flex-direction:column}.ocr-scan-zoom-image{display:block;width:100%;height:auto;object-fit:contain;flex:1 1;overflow:auto;min-height:0}.ocr-scan-zoom-close{position:absolute;top:12px;right:12px;width:40px;height:40px;min-height:unset;padding:0;background:rgba(0,0,0,.5);color:#fff;border:none;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s}.ocr-scan-zoom-close:hover{background:rgba(0,0,0,.7)}html[data-theme=dark] .ocr-scan-modal,html[data-theme=dark] .ocr-scan-option,html[data-theme=dark] .ocr-scan-row{background:#172235;border-color:#39516f}html[data-theme=dark] .ocr-scan-option--manual input[type=text]{background:#111c2e;color:#edf4ff;border-color:#405a7d}html[data-theme=dark] .ocr-scan-option--selected{background:#223552;border-color:var(--primary)}html[data-theme=dark] .ocr-scan-row__unmatched{color:#9fb0c7}.prescription-panel__list{margin-top:6px}.prescription-panel__empty{margin-top:14px;color:var(--on-surface-variant);font-size:12.5px;text-align:center}.interaction-suggestions--inline{position:relative;left:auto;right:auto;margin-top:6px;margin-bottom:6px}.prescription-board__add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:160px;padding:20px;color:#244c93;background:#f7faff;border:2px dashed #9db6da;border-radius:14px;font-size:13px;font-weight:700;box-shadow:none}.prescription-board__add:hover{background:#eef4fc;border-color:#6f95c8}.prescription-panel__label-input{flex:1 1;min-width:0;padding:4px 6px;color:var(--on-surface);background:transparent;border:1px solid transparent;border-radius:6px;font-size:15px;font-weight:800}.prescription-panel__label-input:focus,.prescription-panel__label-input:hover{background:var(--surface-container-low);border-color:#c7d8ef;outline:none}.prescription-panel__label-input:disabled{opacity:.6}.prescription-panel__import{position:relative}.prescription-panel__import-menu{position:absolute;top:calc(100% + 6px);left:0;z-index:20;width:max(220px,100%);max-height:240px;overflow-y:auto;padding:6px;background:var(--surface-container-high);border:1px solid var(--outline-variant);border-radius:10px;box-shadow:var(--shadow-overlay);scrollbar-width:thin;scrollbar-color:var(--outline-variant) transparent}.prescription-panel__import-menu::-webkit-scrollbar{width:6px}.prescription-panel__import-menu::-webkit-scrollbar-track{background:transparent}.prescription-panel__import-menu::-webkit-scrollbar-thumb{background:var(--outline-variant);border-radius:999px}.prescription-panel__import-menu::-webkit-scrollbar-thumb:hover{background:var(--outline)}.prescription-panel__import-menu li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-radius:7px;cursor:pointer}.prescription-panel__import-menu li:hover{background:var(--surface-container-highest)}.prescription-panel__import-menu li strong{display:block;font-size:13px;color:var(--on-surface)}.prescription-panel__import-menu li small{color:var(--on-surface-variant);font-size:11.5px}.profile-tabs{margin-bottom:20px;background:var(--surface-container-low)}.profile-tabs,.profile-tabs__item{display:inline-flex;gap:6px;border-radius:999px}.profile-tabs__item{align-items:center;min-height:unset;padding:9px 16px;color:var(--on-surface-variant);background:transparent;font-size:13px;font-weight:700;box-shadow:none}.profile-tabs__item--active{color:#244c93;box-shadow:0 1px 3px rgba(20,40,80,.12)}.dashboard-prescription-group{margin-bottom:20px}.dashboard-prescription-group__title{margin-bottom:10px;font-size:15px;font-weight:800}@media (max-width:720px){.prescription-board{grid-template-columns:minmax(0,1fr)}}.bottom-nav__item,.bottom-nav__item--accent,.bottom-nav__item--primary{color:#111827}.bottom-nav__item--active{color:var(--primary-container)!important}.bottom-nav__item--active .material-symbols-outlined{color:var(--primary-container)}.profile-medication{cursor:pointer}.profile-medication:hover{background:var(--surface-container-low)}.medication-detail-page{max-width:1180px!important}.med-detail-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:24px;border-bottom:1px solid #d5dfeb}.med-detail-back{min-height:unset;margin-bottom:13px;padding:0;color:var(--primary);background:transparent;box-shadow:none;font-size:13px}.med-detail-title{display:flex;align-items:center;gap:12px}.med-detail-title h1{font-size:31px;letter-spacing:0}.med-detail-header>div>p{margin-top:7px;color:var(--on-surface-variant)}.med-detail-actions{display:flex;gap:10px}.med-detail-actions button{min-height:45px}.med-detail-overview{display:grid;grid-template-columns:180px minmax(0,1fr) 275px;grid-gap:24px;gap:24px;align-items:center;padding:28px 16px 35px}.med-detail-photo{display:flex;align-items:center;justify-content:center;height:180px;color:#7e9abb;background:linear-gradient(145deg,#d8e3ed,#eef3f7);border-radius:4px}.med-detail-facts h2,.med-schedule h2{display:flex;align-items:center;gap:8px;font-size:21px;font-weight:800}.med-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px;margin-top:16px}.med-fact-grid>div{padding:14px;background:#edf4fd;border:1px solid #c8d5e6;border-radius:5px}.med-fact-grid small{display:block;color:#5d7390;font-size:11px;font-weight:700;letter-spacing:.06em}.med-fact-grid strong{display:block;margin-top:7px;color:#244d94;font-size:19px}.med-stock{display:flex;align-items:center;gap:8px;margin-top:22px;font-weight:700}.med-schedule h2{margin-bottom:16px}.schedule-slot{display:flex;align-items:center;gap:10px;min-height:60px;margin-bottom:10px;padding:12px 14px;border-radius:4px}.schedule-slot--active{color:#fff;background:#3e63b7}.schedule-slot--active b{margin-left:auto;padding:5px 9px;color:#244d94;background:#fff;border-radius:999px;font-size:12px}.schedule-slot--muted{color:#8994a1;background:#f9fafc;border:1px solid #d4dce7}.schedule-slot--muted small{margin-left:auto;font-weight:700}.med-schedule>p{color:var(--on-surface-variant);text-align:right;font-size:12px}.med-detail-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-gap:24px;gap:24px}.usage-guide{padding:24px 26px;border-left:4px solid #98631d;background:#fbfdff}.side-effect-card h2,.usage-guide h2{display:flex;align-items:center;gap:9px;font-size:21px;font-weight:800}.usage-guide ul{margin-top:17px}.usage-guide li{display:flex;gap:10px;margin-top:13px;line-height:1.5}.usage-guide li .material-symbols-outlined{color:#98631d;flex-shrink:0}.side-effect-card{padding:24px;border:1px solid #8795a7;border-radius:8px}.side-effect-card h2{color:#192e52}.side-effect-card h2 .material-symbols-outlined{color:#b42d3c}.side-effect-card>p{margin-top:16px;color:var(--on-surface-variant);font-size:13px;line-height:1.5}.side-effect-card ul{margin-top:16px;padding-top:6px;border-top:1px solid #d4dce7}.side-effect-card li{padding:10px 0;font-size:14px}.med-history{margin-top:34px}.med-history .dashboard-section__header span{color:var(--primary);font-size:13px;font-weight:700}.med-history-table{display:grid;grid-template-columns:1fr 1fr 1fr;padding:14px 8px;border-top:1px solid #ccd6e3;border-bottom:1px solid #ccd6e3}.med-history-table>div{display:flex;flex-direction:column;gap:12px}.med-history-table small{color:#5d7390;font-size:11px}.med-history-table strong{font-size:14px}@media (max-width:800px){.med-detail-content,.med-detail-header,.med-detail-overview{grid-template-columns:1fr;flex-direction:column;align-items:stretch}.med-detail-header{align-items:stretch}.med-detail-actions{width:100%}.med-detail-actions button{flex:1 1}.med-detail-overview{display:grid}.med-detail-photo{height:150px}}@media (max-width:720px){.interaction-workspace{grid-template-columns:1fr}.interaction-result,.interaction-selection{min-height:0}.interaction-page .page-intro h1{font-size:27px}}.citation-wrap{position:relative;display:inline-flex;margin-top:13px}.citation-trigger{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:5px 8px;color:#355b91;background:#eef4fc;border:1px solid #d3dfef;border-radius:6px;box-shadow:none;font-size:15px;font-weight:700;letter-spacing:.06em;line-height:1.5;font-feature-settings:"case" 1}.citation-trigger__text{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.citation-trigger:focus-visible,.citation-trigger:hover{color:#173f7d;background:#dfebfa}.citation-popover{position:absolute;bottom:calc(100% + 9px);left:0;z-index:15;display:none;width:min(360px,calc(100vw - 48px));padding:14px;color:#233c5b;background:#fff;border:1px solid #c7d5e7;border-radius:9px;box-shadow:0 12px 28px rgba(26,60,98,.16)}.citation-popover:after{content:"";position:absolute;bottom:-6px;left:18px;width:10px;height:10px;background:#fff;border-right:1px solid #c7d5e7;border-bottom:1px solid #c7d5e7;transform:rotate(45deg)}.citation-wrap:focus-within .citation-popover,.citation-wrap:hover .citation-popover{display:block}.citation-wrap--open .citation-popover{display:block}.citation-popover__label{display:block;margin-bottom:7px;color:#5b789c;font-size:13px;font-weight:800;letter-spacing:.1em;font-feature-settings:"case" 1}.citation-popover strong{display:block;color:#173f7d;font-family:var(--font-body);font-size:14px;line-height:1.4}.citation-popover p{margin-top:8px;color:#687b91;font-size:12px;line-height:1.45}.citation-popover__refs{margin:8px 0 0;padding:0;list-style:none;max-height:220px;overflow-y:auto;color:#687b91;font-size:11.5px;font-style:italic;line-height:1.5}.citation-popover__refs li+li{margin-top:7px}.citation-popover__refs-num{font-style:normal;font-weight:700;color:#5b719a}.check-result-page .alert-card{font-family:var(--font-body)}.check-result-page .alert-card h3,.check-result-page .alert-card p,.check-result-page .alert-card strong{letter-spacing:0}.citation-wrap:focus-within .citation-popover,.citation-wrap:hover .citation-popover{display:none}.citation-wrap--open .citation-popover{display:block!important}.review-layout{display:flex;gap:24px;align-items:flex-start;margin-top:16px}.review-layout__main{flex:1 1;min-width:0;display:flex;flex-direction:column;gap:16px}.review-layout__sidebar{flex:0 0 400px;position:-webkit-sticky;position:sticky;top:80px}.review-layout .profile-medications{margin-top:0}:root{--background:#f7faff;--surface-container-low:#f1f6ff;--surface-container:#e8f0ff;--on-surface:#14233a;--on-surface-variant:#657792;--primary:#264b91;--primary-container:#506bb3;--primary-fixed:#dfe9ff;--border-subtle:#d4e1f5;--shadow-overlay:0 18px 45px rgba(49,78,130,.1);--shadow-sm:0 8px 22px rgba(54,83,137,.08)}body{background:radial-gradient(circle at 8% 0,rgba(216,229,255,.78),transparent 28rem),#f7faff}.app-shell,.pharmacist-shell{background:transparent}.patient-header,.pharmacist-nav{background:hsla(0,0%,100%,.78);border-bottom:1px solid rgba(212,225,245,.78);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-logo{display:flex;align-items:center;gap:8px;min-width:0}.brand-logo__image{width:auto;height:auto;max-height:48px;object-fit:contain}.brand-logo--sm .brand-logo__image{max-height:56px}.brand-logo--lg .brand-logo__image{max-height:64px}.sidebar .sidebar__brand{width:190px;height:auto;overflow:visible}.sidebar__brand-link{display:block;width:-moz-fit-content;width:fit-content;line-height:0}.sidebar .sidebar__brand .brand-logo__image{width:190px;max-height:none;transform:none}@media (max-width:767px){.sidebar .sidebar__brand{width:auto;height:auto;overflow:visible}.sidebar .sidebar__brand .brand-logo__image{width:180px;max-height:50px;transform:none}}.brand-logo__tagline{color:var(--on-surface-variant);font-size:12px;white-space:nowrap}.alert-card,.card,.empty-state,.history-card,.intro-panel,.med-card,.panel,.patient-card,.prescription-panel{border-color:var(--border-subtle);background:hsla(0,0%,100%,.86);box-shadow:var(--shadow-sm)}.dashboard-hero .eyebrow,.page-intro .eyebrow{color:var(--primary-container);font-weight:800}.dashboard-hero{position:relative;overflow:hidden;align-items:center;min-height:142px;padding:22px 30px;border:1px solid var(--border-subtle);border-radius:20px;background:radial-gradient(circle at 90% 10%,rgba(181,205,255,.85),transparent 25%),linear-gradient(115deg,#fff,#f1f6ff 65%,#e1ebff);box-shadow:var(--shadow-overlay)}.dashboard-hero:after{position:absolute;right:-45px;bottom:-85px;width:220px;height:220px;border:1px solid rgba(80,107,179,.2);border-radius:50%;content:""}.dashboard-hero>*{position:relative;z-index:1}.dashboard-hero .dashboard-title{margin:4px 0 0;color:#172b50;font-size:clamp(28px,3vw,40px)}.dashboard-hero .dashboard-subtitle{max-width:560px;margin:8px 0 0;font-size:16px}.dashboard-hero__stats{display:flex;gap:14px;flex-wrap:wrap}.dashboard-hero__stats .stat-card{min-width:176px;padding:18px;border:1px solid rgba(212,225,245,.95);background:hsla(0,0%,100%,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.dashboard-hero__stats .stat-value{margin-top:8px;font-size:30px;color:var(--primary)}.dashboard-hero__mascot{position:absolute;z-index:1;right:36px;bottom:-12px;width:164px;height:142px;filter:drop-shadow(0 16px 16px rgba(55,83,135,.16))}.dashboard-hero--patient>div:first-child{max-width:min(70%,650px)}.dashboard-section__header h2,.page-intro h1,.section__title{color:#172b50}.dashboard-section__header a,.page-header__back,.section__link{color:var(--primary-container);font-weight:700}.check-cta,.dashboard-action--primary,.interaction-run,.primary{background:linear-gradient(135deg,#6e8ee0,#4263ae);box-shadow:0 10px 20px rgba(66,99,174,.22)}.dashboard-action--secondary,.secondary{border-color:#b9cdf0;background:hsla(0,0%,100%,.78);color:var(--primary)}.bottom-nav{border-top:1px solid var(--border-subtle);background:hsla(0,0%,100%,.86);box-shadow:0 -8px 30px rgba(56,83,132,.08)}.bottom-nav__item--active,.bottom-nav__item--active .material-symbols-outlined{color:var(--primary-container)!important}.dashboard-notification,.history-card:hover,.patient-card:hover{border-color:#b8cdf4;background:#f7faff}.input-group input,.search-input,input:not([type=checkbox]),select,textarea{border-color:#cbdaf1;background:hsla(0,0%,100%,.92)}input:focus,select:focus,textarea:focus{border-color:#6e8ee0;box-shadow:0 0 0 4px rgba(110,142,224,.15)}@media (min-width:768px){.pharmacist-content>main{max-width:1080px}.pharmacist-content>main.pharmacist-review-page{max-width:1480px}.dashboard-page{max-width:1180px!important}}@media (max-width:640px){.dashboard-hero{min-height:138px;padding:20px;border-radius:18px}.dashboard-hero__stats{width:100%}.dashboard-hero__stats .stat-card{flex:1 1;min-width:130px}.dashboard-hero__mascot{right:12px;bottom:-10px;width:96px;height:84px;opacity:.9}.dashboard-hero--patient>div:first-child{max-width:68%}}.medi-fox{position:relative;display:block;flex:0 0 auto}.medi-fox img{object-fit:contain}.empty-state{min-height:210px;justify-content:center}.empty-state__mascot{width:104px;height:88px;margin-bottom:4px}.mascot-tip{display:flex;align-items:center;gap:20px;margin:0 0 28px;padding:17px 22px;border:1px solid #cbdcf4;border-radius:18px;background:linear-gradient(105deg,#fff,#edf4ff);box-shadow:var(--shadow-sm)}.mascot-tip__image{width:112px;height:94px}.mascot-tip .eyebrow{margin:0 0 5px;color:var(--primary-container)}.mascot-tip strong{display:block;color:#1b3157;font-size:16px}.mascot-tip span{display:block;margin-top:5px;color:var(--on-surface-variant);font-size:14px;line-height:1.5}.interaction-mascot-note{display:flex;align-items:center;gap:16px;width:100%;max-width:none;margin:18px 0 20px;padding:14px 18px;border:1px solid #c7dbf5;border-radius:18px;background:#f8fbff}.interaction-mascot-note--alert{border-color:#f1c4c8;background:#fff8f8}.interaction-mascot-note__image{width:104px;height:82px}.interaction-mascot-note strong{color:#1b3157;font-size:16px}.interaction-mascot-note p{margin:5px 0 0;color:var(--on-surface-variant);font-size:14px;line-height:1.5}.disease-scope-note{display:flex;align-items:flex-start;gap:12px;margin:0 0 16px;padding:14px 16px;border:1px solid #b9ddcc;border-radius:14px;background:#f2fbf7;color:#1f5c45}.disease-scope-note--fallback{border-color:#d6ddeb;background:#f7f9fc;color:#40546f}.disease-scope-note strong{display:block;color:inherit;font-size:15px}.disease-scope-note p{margin:4px 0 0;color:var(--on-surface-variant);font-size:14px;line-height:1.5}.disease-scope-note a{color:var(--primary);font-weight:700;text-decoration:none}.medi-alert-backdrop{position:fixed;z-index:5000;inset:0;display:grid;place-items:center;padding:20px;background:rgba(21,32,52,.58);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);animation:medi-alert-fade-in .2s ease-out}.medi-alert{position:relative;width:min(510px,calc(100% - 80px));min-height:190px;margin-left:110px;padding:38px 42px 34px 92px;border:0;border-radius:20px;background:#fff;box-shadow:0 28px 70px rgba(4,13,29,.34);animation:medi-alert-pop-in .24s cubic-bezier(.2,.8,.2,1)}.medi-alert--danger{border-color:#efc3c9;background:linear-gradient(145deg,#fff,#fff6f7)}.medi-alert__fox{position:absolute;z-index:1;left:-155px;bottom:-38px;width:230px;height:210px;filter:drop-shadow(0 14px 12px rgba(9,20,40,.16))}.medi-alert__content{position:relative;z-index:2;text-align:center;font-family:var(--font-body)}.medi-alert__eyebrow{display:inline-flex;align-items:center;gap:7px;color:#4167b2;font-size:10px;font-weight:800;line-height:1.4;letter-spacing:.1em}.medi-alert--danger .medi-alert__eyebrow{color:#b64d5b}.medi-alert h2{margin:11px 0 9px;color:#172b50;font-family:var(--font-body);font-size:22px;font-weight:650;line-height:1.35;letter-spacing:0}.medi-alert p{margin:0;color:#5e718e;font-size:15px;line-height:1.6;letter-spacing:.005em}.medi-alert__actions{display:flex;justify-content:center;gap:10px;margin-top:24px}.medi-alert__actions button{min-height:42px;padding:0 16px;border-radius:11px;cursor:pointer;font:inherit;font-size:13px;font-weight:800}.medi-alert__cancel{color:#506683;border:1px solid #cbd9ee;background:#fff}.medi-alert__confirm{color:#fff;border:1px solid #4167b2;background:#4167b2}.medi-alert--danger .medi-alert__confirm{border-color:#c85360;background:#c85360}@keyframes medi-alert-fade-in{0%{opacity:0}to{opacity:1}}@keyframes medi-alert-pop-in{0%{transform:translateY(10px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.medi-toast{position:fixed;z-index:5100;top:80px;right:24px;display:flex;align-items:flex-start;gap:11px;width:min(390px,calc(100vw - 32px));padding:15px 14px 15px 16px;border:1px solid #6fc59d;border-radius:15px;background:linear-gradient(135deg,#157b58,#259b70);box-shadow:0 18px 45px rgba(21,123,88,.28);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);color:#eafff5;animation:medi-toast-in .28s ease-out both,medi-toast-out .32s ease-in 2.85s both}.medi-toast--info{border-color:#80a7ef;background:linear-gradient(135deg,#3d67b5,#6288d1);box-shadow:0 18px 45px rgba(50,85,158,.28);color:#f5f8ff}.medi-toast>div{flex:1 1}.medi-toast strong{display:block;color:#fff;font-size:14px;line-height:1.35}.medi-toast p{margin:3px 0 0;color:hsla(0,0%,100%,.82);font-size:12px;line-height:1.45}.medi-toast button{display:grid;place-items:center;padding:0;border:0;background:transparent;color:hsla(0,0%,100%,.82);cursor:pointer}@keyframes medi-toast-in{0%{transform:translateX(calc(100% + 36px));opacity:0}to{transform:translateX(0);opacity:1}}@keyframes medi-toast-out{0%{transform:translateY(0);opacity:1}to{transform:translateY(14px);opacity:0}}@media (max-width:767px){.medi-toast{top:72px;right:16px}}.pharmacist-login-required{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #c9daf4;border-radius:16px;background:#f6faff}.pharmacist-login-required strong{display:block;color:#1b3157;font-size:15px}.pharmacist-login-required p{margin:5px 0 0;color:#647691;font-size:13px;line-height:1.5}.pharmacist-login-required__action{flex:0 0 auto;padding:10px 15px;color:#fff;border-radius:10px;background:#4167b2;font-size:13px;font-weight:800;text-decoration:none}.mc-auth__mascot{position:absolute;z-index:0;left:43%;top:58%;width:250px;height:215px;opacity:.2;pointer-events:none;transform:translate(-50%,-50%)}.mascot-loading{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;color:var(--on-surface-variant);font-size:14px;font-weight:700}.mascot-loading__image{width:62px;height:54px;animation:medi-fox-breathe 1.7s ease-in-out infinite}.pharmacist-mascot-loading{display:flex;align-items:center;gap:18px;width:min(760px,100%);margin:20px auto 0;padding:16px 22px;border:1px solid #cbdcf4;border-radius:16px;background:linear-gradient(100deg,#fff,#f1f6ff);color:#476494;box-shadow:var(--shadow-sm)}.pharmacist-mascot-loading__image{width:82px;height:68px;animation:medi-fox-breathe 1.7s ease-in-out infinite}.pharmacist-mascot-loading strong{font-size:16px}.medi-page-loading{display:grid;min-height:100dvh;place-items:center;padding:24px;background:radial-gradient(circle at 50% 35%,rgba(188,207,255,.38),transparent 34%),#f8faff}.medi-page-loading__card{display:flex;align-items:center;gap:20px;width:min(500px,100%);padding:26px 30px;border:1px solid #d5e1f7;border-radius:24px;background:hsla(0,0%,100%,.88);box-shadow:0 20px 48px rgba(67,94,151,.14)}.medi-page-loading__fox{width:112px;height:96px;flex:0 0 auto;animation:medi-fox-breathe 1.7s ease-in-out infinite}.medi-page-loading__eyebrow{margin:0 0 5px;color:#5870bb;font-size:12px;font-weight:800;letter-spacing:.16em}.medi-page-loading strong{display:block;color:#1d315c;font-size:18px;line-height:1.35}.medi-page-loading__card>div>p:last-child{margin:6px 0 0;color:#687b9b;font-size:14px}@keyframes medi-fox-breathe{50%{transform:translateY(-5px) rotate(-2deg)}}@media (prefers-reduced-motion:reduce){.mascot-loading__image,.medi-page-loading__fox{animation:none}}@media (max-width:640px){.mascot-tip{align-items:flex-start;gap:12px;padding:14px}.mascot-tip__image{width:82px;height:72px}.mascot-tip strong{font-size:14px}.mascot-tip span{font-size:13px}.interaction-mascot-note{align-items:flex-start;gap:10px;padding:13px}.interaction-mascot-note__image{width:78px;height:66px}.interaction-mascot-note strong{font-size:14px}.interaction-mascot-note p{font-size:13px}.medi-alert{width:min(460px,calc(100% - 32px));min-height:0;margin:58px 0 0;padding:76px 24px 24px}.medi-alert__fox{top:-70px;bottom:auto;left:50%;width:132px;height:120px;transform:translateX(-50%)}.medi-alert__actions{flex-direction:column-reverse}.medi-alert__actions button{width:100%}.pharmacist-login-required{align-items:flex-start;flex-direction:column}.pharmacist-login-required__action{width:100%;text-align:center}.mc-auth__mascot{left:auto;right:-12px;top:auto;bottom:-8px;width:150px;height:130px;opacity:.14;transform:none}.mascot-loading{font-size:13px;text-align:left}.pharmacist-mascot-loading{gap:12px;padding:13px}.pharmacist-mascot-loading__image{width:62px;height:52px}.pharmacist-mascot-loading strong{font-size:13px}.medi-page-loading__card{gap:14px;padding:20px;border-radius:20px}.medi-page-loading__fox{width:84px;height:72px}.medi-page-loading strong{font-size:16px}}@media (max-width:900px){.review-layout{flex-direction:column}.review-layout__sidebar{flex:none;width:100%;position:static}}html[data-theme=dark]{color-scheme:dark;--background:#111827;--surface:#111827;--surface-container-lowest:#172235;--surface-container-low:#1c2a40;--surface-container:#223552;--surface-container-high:#2a3d5b;--surface-container-highest:#344966;--surface-variant:#344966;--on-surface:#edf4ff;--on-surface-variant:#b7c5d9;--border-subtle:#344966;--outline-variant:#435a7a;--shadow-overlay:0 16px 38px rgba(0,0,0,.34);--shadow-sm:0 4px 12px rgba(0,0,0,.26)}html[data-theme=dark] .app-content,html[data-theme=dark] .app-shell,html[data-theme=dark] .pharmacist-shell,html[data-theme=dark] body{background:var(--background);color:var(--on-surface)}html[data-theme=dark] .auth-card,html[data-theme=dark] .card,html[data-theme=dark] .history-card,html[data-theme=dark] .interaction-result,html[data-theme=dark] .med-card,html[data-theme=dark] .panel,html[data-theme=dark] .prescription-panel,html[data-theme=dark] .profile-details-card{background:#172235;border-color:#39516f;color:var(--on-surface)}html[data-theme=dark] h1,html[data-theme=dark] h2,html[data-theme=dark] h3,html[data-theme=dark] h4{color:var(--on-surface)}html[data-theme=dark] input:not([type=checkbox]),html[data-theme=dark] select,html[data-theme=dark] textarea{background:#111c2e;color:#edf4ff;border-color:#405a7d}.theme-toggle{position:fixed;z-index:4800;right:24px;bottom:24px;display:inline-flex;align-items:center;justify-content:space-around;width:100px;height:50px;padding:0;overflow:hidden;border:2px solid #8ea2bd;border-radius:999px;background:#4e6f9c;box-shadow:inset 0 0 8px rgba(33,55,80,.3),0 3px 8px rgba(24,48,83,.28);color:hsla(0,0%,100%,.72);cursor:pointer;transition:background .5s ease,border-color .5s ease,box-shadow .5s ease}.theme-toggle--dark{background:#18202f;border-color:#5b6577}.theme-toggle__thumb{position:absolute;z-index:3;top:3px;left:4px;width:40px;height:40px;border-radius:50%;background:#ffd84d;box-shadow:0 2px 5px rgba(40,53,79,.32);transition:transform .55s cubic-bezier(.22,.8,.25,1),background .45s ease,box-shadow .45s ease}.theme-toggle--dark .theme-toggle__thumb{transform:translateX(50px);background:#c6cede}.theme-toggle .material-symbols-outlined{position:relative;z-index:1}.theme-toggle__day-scene{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;pointer-events:none;transition:opacity .4s ease,transform .48s ease}.theme-toggle__cloud--blue{fill:#c1d2e1}.theme-toggle__cloud--blue-light{fill:#d7e3ed}.theme-toggle__cloud--white{fill:#f8fbfd}.theme-toggle--dark .theme-toggle__day-scene{opacity:0;transform:translateY(10px)}.theme-toggle__clouds,.theme-toggle__stars{position:absolute;inset:0;pointer-events:none;transition:opacity .42s ease,transform .42s ease}.theme-toggle__clouds{left:auto;right:7px;bottom:5px;width:36px;height:20px;overflow:hidden}.theme-toggle__clouds i{position:absolute;bottom:-7px;display:block;border-radius:50%;background:rgba(240,248,255,.92)}.theme-toggle__clouds i:first-child{left:0;width:20px;height:20px}.theme-toggle__clouds i:nth-child(2){left:12px;width:24px;height:24px}.theme-toggle__clouds i:nth-child(3){right:-7px;width:19px;height:19px}.theme-toggle__stars{left:9px;top:7px;width:25px;height:24px;opacity:0}.theme-toggle__stars i{position:absolute;display:block;width:3px;height:3px;border-radius:50%;background:#f8fbff;box-shadow:0 0 6px hsla(0,0%,100%,.9)}.theme-toggle__stars i:first-child{top:1px;left:4px}.theme-toggle__stars i:nth-child(2){top:11px;left:16px;width:4px;height:4px}.theme-toggle__stars i:nth-child(3){top:18px;left:1px;width:2px;height:2px}.theme-toggle--dark .theme-toggle__clouds{opacity:0}.theme-toggle--light .theme-toggle__clouds{display:none}.theme-toggle--dark .theme-toggle__stars{opacity:1;transform:scale(1)}.theme-toggle--light .theme-toggle__stars{transform:scale(.5)}.theme-toggle--dark .material-symbols-outlined:last-of-type,.theme-toggle--light .material-symbols-outlined:first-child{color:#1a2941}.theme-toggle .material-symbols-outlined{opacity:0}.theme-toggle--light{border-color:#6d8298;background:radial-gradient(circle at 104% 19%,rgba(247,252,255,.96) 0 18%,rgba(218,234,245,.88) 18.5% 26%,transparent 26.5%),linear-gradient(108deg,#6688ae 0 26%,#7899bf 26.5% 45%,#6d90b9 45.5% 64%,#5e81ac 64.5% 100%)}.theme-toggle--light:before{display:none}.theme-toggle--dark:before{opacity:0;transform:translateY(16px);animation:theme-clouds-fall .5s ease-in both}.theme-toggle--dark{border-color:#687183;background:radial-gradient(circle at 15% 27%,#f8fbff 0 1px,transparent 2px),radial-gradient(circle at 28% 57%,#dce6f2 0 1px,transparent 2px),radial-gradient(circle at 40% 18%,#f8fbff 0 1px,transparent 2px),linear-gradient(100deg,#101521,#222a3a)}.theme-toggle--light .theme-toggle__thumb{background:#f1d44f;box-shadow:inset 0 2px 3px rgba(255,255,220,.7),0 3px 6px rgba(28,39,55,.42)}.theme-toggle--dark .theme-toggle__thumb{background:radial-gradient(circle at 32% 30%,#9aa3b8 0 12%,transparent 13%),radial-gradient(circle at 66% 62%,#a8b0c2 0 10%,transparent 11%),radial-gradient(circle at 39% 74%,#919bad 0 8%,transparent 9%),#dbe1ed;box-shadow:inset 0 2px 4px hsla(0,0%,100%,.6),0 3px 6px rgba(0,0,0,.42)}@keyframes theme-sunrise{0%{filter:brightness(.82)}55%{filter:brightness(1.15)}to{filter:brightness(1)}}@keyframes theme-moonrise{0%{filter:brightness(1.16)}to{filter:brightness(1)}}@keyframes theme-clouds-fall{0%{opacity:.9;transform:translateY(0)}to{opacity:0;transform:translateY(16px)}}@keyframes theme-clouds-rise{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes theme-nightfall{0%{filter:brightness(1.12)}to{filter:brightness(1)}}.theme-toggle--light:before{animation:theme-clouds-rise .45s ease-out both}.theme-toggle--dark{animation:theme-nightfall .52s ease-out}.theme-toggle--light .theme-toggle__thumb{animation:theme-sunrise .55s ease-out}.theme-toggle--dark .theme-toggle__thumb{animation:theme-moonrise .5s ease-out}.theme-toggle:focus-visible{outline:3px solid rgba(80,123,204,.4);outline-offset:3px}@media (max-width:640px){.theme-toggle{right:16px;bottom:16px}}.mc-header .theme-toggle,.patient-header .theme-toggle{position:relative;right:auto;bottom:auto;flex:0 0 auto;width:100px;height:50px;padding:0;border:0!important;box-shadow:inset 0 1px 1px hsla(0,0%,100%,.34),inset 0 -2px 5px rgba(36,58,82,.22),0 2px 7px rgba(47,65,83,.2);width:54px;height:26px;min-height:0;transform:translateX(-12px)}.mc-header .theme-toggle:not(:disabled):active,.patient-header .theme-toggle:not(:disabled):active{transform:translateX(-12px) translateY(1px)}.mc-header .theme-toggle{transform:none}.mc-header .theme-toggle:not(:disabled):active{transform:translateY(1px)}.mc-header .theme-toggle--light,.patient-header .theme-toggle--light{background:#6689b3}.mc-header .theme-toggle--light .theme-toggle__clouds,.patient-header .theme-toggle--light .theme-toggle__clouds{display:none}.mc-header .mc-login{width:104px;height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0}.mc-header .theme-toggle__thumb,.patient-header .theme-toggle__thumb{top:5px;left:4px;width:40px;height:40px;transform:none;top:3px;left:3px;width:20px;height:20px}.mc-header .theme-toggle--light .theme-toggle__thumb,.patient-header .theme-toggle--light .theme-toggle__thumb{background:#e8cc4b;box-shadow:inset 0 2px 2px rgba(255,249,190,.5),0 3px 5px rgba(55,70,86,.3)}.mc-header .theme-toggle--dark .theme-toggle__thumb,.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(52px);transform:translateX(28px)}html[data-theme=dark] .mc-header .theme-toggle,html[data-theme=dark] .patient-header .theme-toggle{border-color:#354156;box-shadow:inset 0 1px 2px rgba(213,226,248,.16),inset 0 -3px 7px rgba(2,8,18,.52)}.mc-header .theme-toggle .material-symbols-outlined,.patient-header .theme-toggle .material-symbols-outlined{font-size:17px;font-size:9px}@media (max-width:640px){.mc-header .theme-toggle,.patient-header .theme-toggle{right:auto;bottom:auto;width:40px;height:18px;border-width:1px}.mc-header .mc-login{width:96px;height:38px}.mc-header .theme-toggle__thumb,.patient-header .theme-toggle__thumb{top:2px;left:2px;width:14px;height:14px}.mc-header .theme-toggle--dark .theme-toggle__thumb,.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(22px)}}html[data-theme=dark] .bottom-nav,html[data-theme=dark] .bottom-nav.sidebar,html[data-theme=dark] .patient-header,html[data-theme=dark] .pharmacist-nav{background:#121b2a;border-color:#2d405b;box-shadow:0 1px 0 rgba(158,190,234,.08)}html[data-theme=dark] .bottom-nav__item,html[data-theme=dark] .patient-header__name,html[data-theme=dark] .sidebar__section-label{color:#b9c9df}html[data-theme=dark] .patient-header__avatar{background:#1d2c43;color:#c9dcfa;box-shadow:none}html[data-theme=dark] .bottom-nav__item--active,html[data-theme=dark] .bottom-nav__item:hover{background:#233753;color:#b8d2ff}html[data-theme=dark] .patient-header .icon-btn{background:#1d2c43;border-color:#405879;color:#c9dcfa}html[data-theme=dark] .sidebar__toggle{color:#aebfd5}html[data-theme=dark] .sidebar__toggle:hover{color:#e4efff}html[data-theme=dark] .patient-header .brand-logo__mark{background:#213452}html[data-theme=dark] .dashboard-page,html[data-theme=dark] .history-page,html[data-theme=dark] .interaction-page,html[data-theme=dark] .page-intro,html[data-theme=dark] .profile-page{color:#edf4ff}html[data-theme=dark] .history-filter,html[data-theme=dark] .history-tabs,html[data-theme=dark] .profile-tabs{background:#202e46}html[data-theme=dark] .history-filter button,html[data-theme=dark] .history-tabs button,html[data-theme=dark] .profile-tabs__item{color:#b6c7df}html[data-theme=dark] .history-filter button.active,html[data-theme=dark] .history-tabs button.active,html[data-theme=dark] .profile-tabs__item--active{background:#365993;color:#fff}html[data-theme=dark] .alert-card,html[data-theme=dark] .dashboard-med-card,html[data-theme=dark] .dashboard-notification,html[data-theme=dark] .history-tile,html[data-theme=dark] .interaction-result,html[data-theme=dark] .interaction-selection,html[data-theme=dark] .prescription-board__add,html[data-theme=dark] .prescription-panel{background:linear-gradient(145deg,#1c2a40,#142136);border-color:#38516f;box-shadow:0 14px 30px rgba(0,0,0,.24);color:#edf4ff}html[data-theme=dark] .dashboard-med-card:hover,html[data-theme=dark] .history-tile:hover{background:linear-gradient(145deg,#253958,#1b2b44);border-color:#5b7eaa}html[data-theme=dark] .dashboard-med-card h3,html[data-theme=dark] .history-tile>strong,html[data-theme=dark] .history-tile__bottom,html[data-theme=dark] .history-tile__top,html[data-theme=dark] .prescription-panel__header h3{color:#dbe8fa}html[data-theme=dark] .history-tile__bottom{border-top-color:#314863}html[data-theme=dark] .history-tile__chips>span,html[data-theme=dark] .medication-row,html[data-theme=dark] .prescription-panel .drug-chip{background:#223552;border-color:#3b5680;color:#dbe9ff}html[data-theme=dark] .history-tile__bottom .material-symbols-outlined,html[data-theme=dark] .history-tile__chips .material-symbols-outlined{color:#91b7ff}html[data-theme=dark] .interaction-guide,html[data-theme=dark] .interaction-mascot-note,html[data-theme=dark] .interaction-overview__summary,html[data-theme=dark] .pharmacist-login-required,html[data-theme=dark] .prescription-guide{background:linear-gradient(120deg,#1a2b45,#1e3453);border-color:#3c5c86}html[data-theme=dark] .interaction-result--split{background:transparent;border-color:transparent;box-shadow:none}html[data-theme=dark] .interaction-result__analysis-scroll::-webkit-scrollbar-thumb,html[data-theme=dark] .interaction-result__pane--graph::-webkit-scrollbar-thumb{background:#49617f}html[data-theme=dark] .interaction-result__divider:before{display:none}html[data-theme=dark] .interaction-result__divider:focus-visible:before,html[data-theme=dark] .interaction-result__divider:hover:before,html[data-theme=dark] .interaction-result__layout--resizing .interaction-result__divider:before{display:none}html[data-theme=dark] .interaction-result__analysis-actions{border-color:#405a7d;background:rgba(20,33,52,.96)}.interaction-result__analysis-actions--summary-only,html[data-theme=dark] .interaction-result__analysis-actions--summary-only{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}html[data-theme=dark] .interaction-result__analysis-action--secondary{color:#c5d8f5;border-color:#48678f;background:#213754}html[data-theme=dark] .interaction-guide h2,html[data-theme=dark] .interaction-mascot-note strong,html[data-theme=dark] .interaction-overview__summary p,html[data-theme=dark] .prescription-guide h2{color:#edf4ff}html[data-theme=dark] .interaction-guide p,html[data-theme=dark] .interaction-mascot-note p,html[data-theme=dark] .prescription-guide p{color:#b8c8df}html[data-theme=dark] .disease-scope-note{border-color:#356b59;background:#172f2a;color:#a9e6cf}html[data-theme=dark] .disease-scope-note--fallback{border-color:#3c5c86;background:#1a2b45;color:#c7d9f2}html[data-theme=dark] .disease-scope-note p{color:#b8c8df}html[data-theme=dark] .mc-header--scrolled{background:rgba(17,27,42,.88);border-color:#354d6e}html[data-theme=dark] .mc-auth{background:#0d1523;color:#edf4ff}html[data-theme=dark] .mc-auth__card{background:#17263b;border-color:#344d6d}html[data-theme=dark] .dashboard-hero,html[data-theme=dark] .dashboard-hero__stats .stat-card,html[data-theme=dark] .empty-state,html[data-theme=dark] .intro-panel,html[data-theme=dark] .patient-card{background:linear-gradient(135deg,#1d304b,#17263d 62%,#203756);border-color:#3a5680;color:#edf4ff}html[data-theme=dark] .dashboard-hero .dashboard-title,html[data-theme=dark] .dashboard-section__header h2,html[data-theme=dark] .page-intro h1,html[data-theme=dark] .section__title{color:#edf4ff}html[data-theme=dark] .dashboard-hero .dashboard-subtitle,html[data-theme=dark] .dashboard-subtitle,html[data-theme=dark] .empty-state span{color:#b7c9e3}html[data-theme=dark] .dashboard-hero__stats .stat-value,html[data-theme=dark] .dashboard-section__header a,html[data-theme=dark] .section__link{color:#9fc1ff}html[data-theme=dark] .dashboard-notification,html[data-theme=dark] .history-card,html[data-theme=dark] .patient-card:hover{background:#1b2a41;border-color:#3a5680;color:#e9f2ff}html[data-theme=dark] .dashboard-history .history-card strong,html[data-theme=dark] .dashboard-history .history-card>span{color:#d9e7fb}html[data-theme=dark] .selected-medication,html[data-theme=dark] .selected-medication--unknown{background:#1a2a42;border-color:#385475;color:#edf4ff}html[data-theme=dark] .selected-medication strong{color:#edf4ff}html[data-theme=dark] .selected-medication small{color:#aec2df}html[data-theme=dark] .selected-medication__icon{background:#28456e;color:#afcaff}html[data-theme=dark] .selected-medication>button{color:#adc6e8}html[data-theme=dark] .dashboard-summary-row>div,html[data-theme=dark] .disclaimer{background:#1b2a41;border-color:#385475;color:#b8cbe5}html[data-theme=dark] .interaction-search__input,html[data-theme=dark] .interaction-suggestions,html[data-theme=dark] .med-detail-card,html[data-theme=dark] .profile-details-card,html[data-theme=dark] .search-results,html[data-theme=dark] .tt-severity-strip__item--filter{background:#192942;border-color:#385475;color:#dce9fb}html[data-theme=dark] .interaction-suggestions li:hover,html[data-theme=dark] .tt-severity-strip__item--filter.is-active{background:#28466f;border-color:#6390cc}html[data-theme=dark] .interaction-suggestions li.interaction-suggestion--selected,html[data-theme=dark] .interaction-suggestions li.interaction-suggestion--selected:hover{color:#8398ba;background:#1b2d48}html[data-theme=dark] .interaction-suggestions li.interaction-suggestion--selected small,html[data-theme=dark] .interaction-suggestions li.interaction-suggestion--selected strong{color:#8398ba}html[data-theme=dark] .med-detail-card h2,html[data-theme=dark] .profile-details-card label,html[data-theme=dark] .profile-details-card__title{color:#edf4ff}html[data-theme=dark] .condition-chip small,html[data-theme=dark] .condition-selector__empty,html[data-theme=dark] .condition-selector__hint{color:#aec2df}html[data-theme=dark] .condition-chip,html[data-theme=dark] .condition-selector__empty{color:#e8f1ff;border-color:#385475;background:#1a2a42}html[data-theme=dark] .condition-chip button{color:#adc6e8}html[data-theme=dark] .condition-chip button:hover{background:#28466f}html[data-theme=dark] .medi-alert{background:linear-gradient(145deg,#1b2a40,#142136);border-color:#3b5578}html[data-theme=dark] .medi-alert h2{color:#f1f6ff}html[data-theme=dark] .medi-alert p{color:#bdcde3}html[data-theme=dark] .medi-alert__cancel{background:#223551;border-color:#476488;color:#e6efff}html[data-theme=dark] .profile-page{background:#111827}html[data-theme=dark] .mascot-tip,html[data-theme=dark] .profile-intro{background:linear-gradient(120deg,#1c2e49,#18263c);border-color:#395678;box-shadow:0 14px 32px rgba(0,0,0,.25)}html[data-theme=dark] .mascot-tip strong,html[data-theme=dark] .profile-intro h2{color:#edf4ff}html[data-theme=dark] .mascot-tip span,html[data-theme=dark] .profile-intro p{color:#b6c9e3}html[data-theme=dark] .profile-avatar,html[data-theme=dark] .profile-intro__state{background:#203552;border-color:#42628b;color:#c6dcff}html[data-theme=dark] .profile-avatar{border:0;background:transparent;box-shadow:none}html[data-theme=dark] .prescription-board__add,html[data-theme=dark] .prescription-board__add:hover{background:#172842;border-color:#557db4;color:#b9d1ff}html[data-theme=dark] .prescription-board__add .material-symbols-outlined{color:#a9c6ff}html[data-theme=dark] .dashboard-title{color:#edf4ff!important}html[data-theme=dark] .mascot-tip .eyebrow{color:#9fc1ff}html[data-theme=dark] .mc-page{--ink:#edf4ff;--muted:#b9c9df;background:#0b1220;color:#edf4ff}html[data-theme=dark] .mc-nav a:not(.mc-login){color:#c2d2e8}html[data-theme=dark] .mc-login{background:#1b3152;border-color:#4d71a5;color:#e7f0ff}html[data-theme=dark] .mc-hero{background:#132238;border-color:#365578;box-shadow:0 24px 70px rgba(0,0,0,.3)}html[data-theme=dark] .mc-hero__overlay{background:linear-gradient(90deg,#132238,rgba(19,34,56,.94) 34%,rgba(19,34,56,.08) 68%,transparent)}html[data-theme=dark] .mc-hero__caption,html[data-theme=dark] .mc-hero__caption h1{color:#eff5ff}html[data-theme=dark] .mc-audience-card p,html[data-theme=dark] .mc-feature-card p,html[data-theme=dark] .mc-hero__caption p,html[data-theme=dark] .mc-mission p,html[data-theme=dark] .mc-section-heading p{color:#b8c9df}html[data-theme=dark] .mc-cta,html[data-theme=dark] .mc-glass{background:linear-gradient(135deg,#172842,#1c3150);border-color:#3a587c}html[data-theme=dark] .mc-login-toast,html[data-theme=dark] .mc-result-shell{background:#172842;color:#edf4ff;border-color:#3a587c}html[data-theme=dark] .mc-auth{background:#0b1220}html[data-theme=dark] .mc-auth__layout{background:linear-gradient(120deg,#101d30,#172842 58%,#101d30);border-color:#355475;box-shadow:0 24px 70px rgba(0,0,0,.3)}html[data-theme=dark] .mc-auth__layout:after{background:rgba(71,112,176,.22)}html[data-theme=dark] .mc-auth__intro h1,html[data-theme=dark] .mc-auth__title{color:#edf4ff}html[data-theme=dark] .mc-auth__intro p:not(.mc-auth__eyebrow),html[data-theme=dark] .mc-auth__point,html[data-theme=dark] .mc-auth__subtitle{color:#bacbe2}html[data-theme=dark] .mc-auth__card{background:rgba(20,34,55,.94);border-color:#3b597d;box-shadow:0 22px 45px rgba(0,0,0,.28)}html[data-theme=dark] .mc-auth__tabs{background:#15263e}html[data-theme=dark] .mc-auth__tab{color:#aebfda}html[data-theme=dark] .mc-auth__tab--active{background:#29466e;color:#fff}html[data-theme=dark] .mc-auth__role-option{border-color:#3d5a80;background:#12223a;color:#aebfda;box-shadow:none}html[data-theme=dark] .mc-auth__role-option .material-symbols-outlined{color:#86a4d2}html[data-theme=dark] .mc-auth__role-option:hover:not(.mc-auth__role-option--active){border-color:#5879a8;background:#172b47;color:#d4e2f5}html[data-theme=dark] .mc-auth__role-option--active{border-color:#83a9e8;background:#edf4ff;color:#244b8d;box-shadow:0 0 0 3px rgba(110,153,226,.2)}html[data-theme=dark] .mc-auth__role-option--active .material-symbols-outlined{color:#4167b2}html[data-theme=dark] .mc-auth__error{color:#ff9eaa}html[data-theme=dark] .mc-auth__notice{color:#91b5f2}html[data-theme=dark] .mc-auth__demo button,html[data-theme=dark] .mc-auth__google-btn,html[data-theme=dark] .mc-auth__input{background:#12223a;border-color:#3d5a80;color:#e9f2ff}html[data-theme=dark] .mc-auth__field label,html[data-theme=dark] .mc-auth__input input,html[data-theme=dark] .mc-auth__input select{color:#dbe9fb}html[data-theme=dark] .notification-bell__panel{background:#172842;border-color:#3a577c;box-shadow:0 16px 34px rgba(0,0,0,.38)}html[data-theme=dark] .notification-bell__title{color:#a9c7fb}html[data-theme=dark] .notification-bell__empty,html[data-theme=dark] .notification-bell__list li p{color:#bdcce1}html[data-theme=dark] .notification-bell__item--unread p{color:#f2f7ff}html[data-theme=dark] .notification-bell__list li small{color:#8fa6c4}html[data-theme=dark] .notification-bell__list li:hover{background:#233b5d}html[data-theme=dark] .interaction-pairs__toggle,html[data-theme=dark] .tt-graph-back,html[data-theme=dark] .tt-graph-pair__detail{background:#27456e;border-color:#4c70a0;color:#eaf2ff}html[data-theme=dark] .interaction-pairs__toggle:hover,html[data-theme=dark] .tt-graph-back:hover,html[data-theme=dark] .tt-graph-pair__detail:hover{background:#345987}html[data-theme=dark] .pharmacist-prompt{background:#172842;border-color:#3a577c;box-shadow:0 10px 24px rgba(0,0,0,.24)}html[data-theme=dark] .pharmacist-prompt__name,html[data-theme=dark] .pharmacist-prompt__title{color:#edf4ff}html[data-theme=dark] .pharmacist-prompt__bio,html[data-theme=dark] .pharmacist-prompt__loading{color:#b4c7e1}html[data-theme=dark] .pharmacist-prompt__attach-option,html[data-theme=dark] .pharmacist-prompt__item{background:#1d314e!important;border-color:#3b587d!important;color:#dce9fb}html[data-theme=dark] .pharmacist-prompt__item:focus,html[data-theme=dark] .pharmacist-prompt__item:focus-visible,html[data-theme=dark] .pharmacist-prompt__item:hover{background-color:#27456e!important;border-color:#5b85bd!important;color:#edf4ff;outline:none}html[data-theme=dark] .pharmacist-prompt__list{scrollbar-width:thin;scrollbar-color:#627899 transparent}html[data-theme=dark] .pharmacist-prompt__list::-webkit-scrollbar{width:8px}html[data-theme=dark] .pharmacist-prompt__list::-webkit-scrollbar-track{background:transparent}html[data-theme=dark] .pharmacist-prompt__list::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#627899;background-clip:padding-box}html[data-theme=dark] .pharmacist-prompt__list::-webkit-scrollbar-button{display:none;width:0;height:0}html[data-theme=dark] .pharmacist-prompt__attach-option--active,html[data-theme=dark] .pharmacist-prompt__attach-option:hover{background:#27456e;border-color:#5b85bd;color:#edf4ff}html[data-theme=dark] .interaction-search__input input,html[data-theme=dark] .mc-auth__input input,html[data-theme=dark] .mc-auth__input select,html[data-theme=dark] .mc-search-row input,html[data-theme=dark] .search-input input{background:transparent;box-shadow:none}html[data-theme=dark] .mc-search-row{background:#182842;border-color:#456183}html[data-theme=dark] .mc-search-row input{color:#edf4ff}html[data-theme=dark] .mc-search-row input::placeholder{color:#aebfd7}:root{--ui-blue-50:#f4f7ff;--ui-blue-100:#e8efff;--ui-blue-200:#cfddfb;--ui-blue-500:#5875c3;--ui-blue-600:#4562ad;--ui-navy:#172642;--ui-muted:#687994;--ui-card:hsla(0,0%,100%,.82);--ui-border:rgba(190,207,235,.78);--ui-shadow:0 14px 38px rgba(49,75,123,.09);--ui-shadow-hover:0 20px 46px rgba(49,75,123,.15)}body{background:radial-gradient(circle at 8% 4%,rgba(205,220,255,.42),transparent 28rem),radial-gradient(circle at 96% 22%,rgba(220,232,255,.38),transparent 32rem),#f4f7fc}.app-content>main,.pharmacist-content>main{padding-top:clamp(22px,3vw,38px);padding-bottom:52px}.page-header--in-content,.page-intro{position:relative;isolation:isolate;margin-bottom:26px;padding:22px 24px;overflow:hidden;border:1px solid var(--ui-border);border-radius:20px;background:linear-gradient(125deg,hsla(0,0%,100%,.9),rgba(237,243,255,.76));box-shadow:var(--ui-shadow)}.page-header--in-content:after,.page-intro:after{position:absolute;z-index:-1;right:-52px;bottom:-92px;width:190px;height:190px;border:1px solid rgba(88,117,195,.16);border-radius:50%;background:rgba(213,225,255,.18);content:""}.greeting__title,.page-header__title,.page-intro h1{color:var(--ui-navy);font-weight:750;letter-spacing:-.025em}.page-header--in-content>div>p:last-child,.page-intro>div>p:last-child{margin-top:8px;color:var(--ui-muted)}.page-title-icon,.section-heading-icon{display:flex;align-items:center;gap:10px}.page-title-icon>.material-symbols-outlined,.section-heading-icon>.material-symbols-outlined{display:inline-grid;flex:0 0 auto;place-items:center;width:34px;height:34px;color:var(--ui-blue-600);border:1px solid var(--ui-blue-200);border-radius:10px;background:rgba(238,244,255,.9)}.section-heading-icon>.material-symbols-outlined{width:32px;height:32px;border-radius:9px}.dashboard-history,.dashboard-section,.pharmacist-review-section,.prescription-board-wrap,.profile-interaction-result{margin-top:30px}.dashboard-page>.dashboard-summary-row+.dashboard-section{margin-top:10px!important}.dashboard-page>.dashboard-section{margin-bottom:12px}.dashboard-page>.dashboard-section+.dashboard-history{margin-top:0!important}.dashboard-section__header,.profile-interaction-result__header,.section__header{min-height:42px;margin-bottom:16px}.card,.contact-list,.history-card,.history-tile,.interaction-result,.interaction-search,.interaction-selection,.mc-audience-card,.mc-auth__card,.mc-feature-card,.med-detail-overview,.med-history,.panel,.patient-card,.prescription-panel,.profile-details-card,.side-effect-card,.usage-guide{border:1px solid var(--ui-border);border-radius:18px;background:var(--ui-card);box-shadow:var(--ui-shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.history-card,.history-tile,.mc-audience-card,.mc-feature-card,.patient-card,.prescription-panel{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.history-card:hover,.history-tile:hover,.mc-audience-card:hover,.mc-feature-card:hover,.patient-card:hover,.prescription-panel:hover{transform:translateY(-3px);border-color:#adc3ec;box-shadow:var(--ui-shadow-hover)}.profile-details-card{padding:clamp(20px,3vw,30px)}.contact-list>h2,.interaction-result__header h2,.interaction-selection__header h2,.med-schedule>h2,.profile-details-card__title,.side-effect-card>h2,.usage-guide>h2{color:var(--ui-navy);font-weight:750}.field label,.interaction-search>label,.profile-add-form>label{margin-bottom:8px;color:#52637f;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.interaction-search__input,.profile-add-form__input,.search-bar,input:not([type=checkbox]),select,textarea{border:1px solid #c7d6ee;border-radius:12px;background:hsla(0,0%,100%,.86);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.interaction-search__input:hover,.profile-add-form__input:hover,input:not([type=checkbox]):hover,select:hover,textarea:hover{border-color:#9eb6e2}.interaction-search__input:focus-within,.profile-add-form__input:focus-within,input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:var(--ui-blue-500);outline:0;box-shadow:0 0 0 4px rgba(88,117,195,.13)}.btn-severe,.interaction-run,.mc-login,.mc-search-submit,.primary,.secondary,button{border-radius:12px;font-weight:700;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}.primary:not(:disabled):active,.secondary:not(:disabled):active,button:not(:disabled):active{transform:translateY(1px)}.check-cta,.dashboard-action--primary,.interaction-run,.mc-search-submit,.primary{border:0;background:linear-gradient(135deg,#6d8cde,#4664b0);color:#fff;box-shadow:0 10px 22px rgba(70,100,176,.24)}.check-cta:hover:not(:disabled),.dashboard-action--primary:hover:not(:disabled),.interaction-run:hover:not(:disabled),.mc-search-submit:hover:not(:disabled),.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 26px rgba(70,100,176,.3)}.secondary{border:1px solid #b9cae9;background:hsla(0,0%,100%,.78);color:#38558f;box-shadow:0 5px 14px rgba(49,75,123,.07)}.secondary:hover:not(:disabled){border-color:#91a9d7;background:#f3f7ff}.bottom-nav__item .material-symbols-outlined,.pharmacist-nav__link .material-symbols-outlined{flex:0 0 auto;transition:transform .16s ease,color .16s ease}.bottom-nav__item:hover .material-symbols-outlined,.pharmacist-nav__link:hover .material-symbols-outlined{transform:scale(1.08)}.bottom-nav__item--active{border:1px solid rgba(178,198,235,.65);background:linear-gradient(110deg,#edf3ff,#e5edff);box-shadow:inset 3px 0 0 var(--ui-blue-500)}.history-grid{gap:20px}.history-tile{min-height:238px;padding:20px}.history-tile__chips>span,.selected-medication{border-color:#d4e0f3;border-radius:12px;background:linear-gradient(135deg,#f4f7ff,#ebf1ff)}.history-tile__delete,.prescription-panel__edit,.prescription-panel__remove,.selected-medication>button{border-radius:9px}.empty-state{border:1px dashed #bccdea;border-radius:18px;background:rgba(248,250,255,.72)}.error-text,.guest-mode-banner,.interaction-alert,.success-text{border-radius:12px}html[data-theme=dark] body{background:radial-gradient(circle at 8% 4%,rgba(45,70,112,.35),transparent 30rem),radial-gradient(circle at 96% 22%,rgba(36,57,91,.28),transparent 34rem),#0b1220}html[data-theme=dark] .card,html[data-theme=dark] .contact-list,html[data-theme=dark] .history-card,html[data-theme=dark] .history-tile,html[data-theme=dark] .interaction-result,html[data-theme=dark] .interaction-search,html[data-theme=dark] .interaction-selection,html[data-theme=dark] .mc-audience-card,html[data-theme=dark] .mc-auth__card,html[data-theme=dark] .mc-feature-card,html[data-theme=dark] .med-detail-overview,html[data-theme=dark] .med-history,html[data-theme=dark] .page-header--in-content,html[data-theme=dark] .page-intro,html[data-theme=dark] .panel,html[data-theme=dark] .patient-card,html[data-theme=dark] .prescription-panel,html[data-theme=dark] .profile-details-card,html[data-theme=dark] .side-effect-card,html[data-theme=dark] .usage-guide{border-color:rgba(69,91,124,.82);background:rgba(22,34,53,.9);color:#edf4ff;box-shadow:0 16px 38px rgba(0,0,0,.2)}html[data-theme=dark] .page-title-icon>.material-symbols-outlined,html[data-theme=dark] .section-heading-icon>.material-symbols-outlined{color:#b8d0ff;border-color:#405b84;background:#213653}html[data-theme=dark] .greeting__title,html[data-theme=dark] .interaction-result__header h2,html[data-theme=dark] .interaction-selection__header h2,html[data-theme=dark] .page-header__title,html[data-theme=dark] .page-intro h1,html[data-theme=dark] .profile-details-card__title{color:#f0f5ff}html[data-theme=dark] .field label,html[data-theme=dark] .interaction-search>label,html[data-theme=dark] .profile-add-form>label{color:#aebfda}html[data-theme=dark] .interaction-search__input,html[data-theme=dark] .profile-add-form__input,html[data-theme=dark] .search-bar,html[data-theme=dark] input:not([type=checkbox]),html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:#40597d;background:rgba(15,27,45,.9)}html[data-theme=dark] .history-tile__chips>span,html[data-theme=dark] .selected-medication{border-color:#3b5579;background:linear-gradient(135deg,#1d304c,#192a43);color:#e9f1ff}html[data-theme=dark] .secondary{border-color:#456185;background:#1c2d47;color:#dce9ff}html[data-theme=dark] .secondary:hover:not(:disabled){border-color:#6689bb;background:#253c5e}html[data-theme=dark] .bottom-nav__item--active{border-color:#3c577d;background:linear-gradient(110deg,#223854,#1d304a);box-shadow:inset 3px 0 0 #81a6ee}html[data-theme=dark] .empty-state{border-color:#40597d;background:rgba(19,31,49,.72)}@media (max-width:767px){.app-content>main,.pharmacist-content>main{padding-top:18px;padding-bottom:92px}.page-header--in-content,.page-intro{padding:18px;border-radius:16px}.page-intro--with-action{align-items:center}.page-title-icon>.material-symbols-outlined{width:31px;height:31px}.dashboard-history,.dashboard-section,.prescription-board-wrap,.profile-interaction-result{margin-top:24px}.history-grid{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.alert-detail-box__collapse,.history-card,.history-tile,.mc-audience-card,.mc-feature-card,.patient-card,.prescription-panel,button{transition:none!important}}.interaction-search__input>input:not([type=checkbox]),.mc-auth__input>input:not([type=checkbox]),.mc-auth__input>select,.mc-search-row>input:not([type=checkbox]),.profile-add-form__input>input:not([type=checkbox]),.search-bar__field>input:not([type=checkbox]){min-width:0;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0}.interaction-search__input>input:not([type=checkbox]):focus,.interaction-search__input>input:not([type=checkbox]):hover,.mc-auth__input>input:not([type=checkbox]):focus,.mc-auth__input>input:not([type=checkbox]):hover,.mc-auth__input>select:focus,.mc-auth__input>select:hover,.mc-search-row>input:not([type=checkbox]):focus,.mc-search-row>input:not([type=checkbox]):hover,.profile-add-form__input>input:not([type=checkbox]):focus,.profile-add-form__input>input:not([type=checkbox]):hover,.search-bar__field>input:not([type=checkbox]):focus,.search-bar__field>input:not([type=checkbox]):hover{border:0;background:transparent;box-shadow:none;outline:0}.profile-page>.page-header--in-content{min-height:0;margin-bottom:24px;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.profile-page>.page-header--in-content:after{display:none}.dashboard-notifications{gap:12px;margin:2px 0 28px}.dashboard-notification{display:grid;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;grid-gap:15px;gap:15px;width:100%;min-height:92px;padding:16px 18px;color:var(--ui-navy);text-align:left;border:1px solid #bfd0ef;border-radius:18px;background:radial-gradient(circle at 96% 0,rgba(191,211,250,.34),transparent 26%),hsla(0,0%,100%,.8);box-shadow:0 12px 30px rgba(49,75,123,.09);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.dashboard-notification:hover{transform:translateY(-2px);border-color:#9db6e4;background:radial-gradient(circle at 96% 0,rgba(183,205,248,.44),transparent 28%),#fff;box-shadow:0 17px 36px rgba(49,75,123,.14)}.dashboard-notification__icon{display:grid;place-items:center;width:48px;height:48px;color:#4967b4;border:1px solid #c7d7f3;border-radius:14px;background:linear-gradient(145deg,#edf3ff,#dfe9ff)}.dashboard-notification .dashboard-notification__content{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:inherit;line-height:inherit}.dashboard-notification__content>strong{overflow:hidden;color:#213a65;font-size:15px;font-weight:700;line-height:1.45;text-overflow:ellipsis}.dashboard-notification .dashboard-notification__meta{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#58709a;font-size:11px;line-height:1.3}.dashboard-notification__meta b{color:#4c68ad;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.dashboard-notification__meta small{color:#7a8ba6;font-size:11px;white-space:nowrap}.dashboard-notification__arrow{display:grid;place-items:center;width:36px;height:36px;color:#4967b4;border-radius:11px;background:rgba(232,239,255,.86);transition:transform .16s ease,background .16s ease}.dashboard-notification:hover .dashboard-notification__arrow{transform:translateX(3px);background:#dce7ff}html[data-theme=dark] .dashboard-notification{color:#edf4ff;border-color:#3b557b;background:radial-gradient(circle at 96% 0,rgba(72,105,161,.22),transparent 28%),rgba(23,36,57,.9);box-shadow:0 14px 32px rgba(0,0,0,.2)}html[data-theme=dark] .dashboard-notification:hover{border-color:#5476a8;background:#1b2d47}html[data-theme=dark] .dashboard-notification__arrow,html[data-theme=dark] .dashboard-notification__icon{color:#bad0ff;border-color:#415d86;background:#213958}html[data-theme=dark] .dashboard-notification__content>strong{color:#edf4ff}html[data-theme=dark] .dashboard-notification__meta b{color:#a9c4fb}html[data-theme=dark] .dashboard-notification__meta small{color:#91a5c1}.profile-page .prescription-guide{position:relative;isolation:isolate;grid-template-columns:170px minmax(0,1fr);gap:28px;min-height:190px;padding:24px 42px 24px 26px;overflow:hidden;border:1px solid rgba(182,204,237,.82);border-radius:26px;background:radial-gradient(circle at 7% 50%,rgba(170,207,255,.28),transparent 160px),hsla(0,0%,100%,.48);box-shadow:inset 0 1px hsla(0,0%,100%,.82),0 18px 42px rgba(44,76,126,.1);backdrop-filter:blur(20px) saturate(125%);-webkit-backdrop-filter:blur(20px) saturate(125%)}.profile-page .prescription-guide:after{content:"";position:absolute;z-index:-1;right:-80px;bottom:-120px;width:300px;height:230px;border-radius:50%;background:rgba(157,193,247,.18);filter:blur(30px)}.profile-page .prescription-guide__fox{align-self:center;justify-self:center;width:164px;height:138px;filter:drop-shadow(0 12px 12px rgba(46,83,137,.14));animation:none}.profile-page .prescription-guide__eyebrow{margin-bottom:10px;color:#5572b7;font-size:12px;font-weight:800;letter-spacing:.16em}.profile-page .prescription-guide h2{display:flex;align-items:center;gap:12px;margin-bottom:10px;color:#1c2d51;font-size:clamp(25px,2.5vw,34px);letter-spacing:-.035em}.profile-page .prescription-guide h2 .material-symbols-outlined{color:#5d77bd;font-size:29px}.profile-page .prescription-guide p{max-width:760px;color:#647695;font-size:15px;line-height:1.65}.profile-page .prescription-guide{background:radial-gradient(circle at 92% 112%,transparent 0 118px,rgba(121,157,220,.16) 119px 120px,transparent 121px 148px,rgba(121,157,220,.08) 149px 150px,transparent 151px),radial-gradient(circle at 99% 108%,rgba(177,208,255,.18),transparent 205px),radial-gradient(circle at 7% 50%,rgba(170,207,255,.28),transparent 160px),hsla(0,0%,100%,.48)}@keyframes prescription-fox-float{0%,to{transform:translateY(2px) rotate(-1deg)}50%{transform:translateY(-7px) rotate(1deg)}}html[data-theme=dark] .profile-page .prescription-guide{border-color:rgba(81,116,164,.72);background:radial-gradient(circle at 92% 112%,transparent 0 118px,rgba(121,157,220,.2) 119px 120px,transparent 121px 148px,rgba(121,157,220,.1) 149px 150px,transparent 151px),radial-gradient(circle at 99% 108%,rgba(63,111,184,.2),transparent 205px),radial-gradient(circle at 7% 50%,rgba(63,111,184,.22),transparent 160px),rgba(22,39,64,.62);box-shadow:inset 0 1px hsla(0,0%,100%,.08),0 18px 42px rgba(0,0,0,.22)}html[data-theme=dark] .profile-page .prescription-guide h2{color:#edf4ff}html[data-theme=dark] .profile-page .prescription-guide p{color:#b5c8e2}@media (max-width:720px){.profile-page .prescription-guide{grid-template-columns:88px minmax(0,1fr);gap:15px;min-height:0;padding:18px;border-radius:21px}.profile-page .prescription-guide__fox{width:92px;height:86px}.profile-page .prescription-guide h2{gap:7px;font-size:21px}.profile-page .prescription-guide h2 .material-symbols-outlined{font-size:22px}.profile-page .prescription-guide p{font-size:13px}}@media (prefers-reduced-motion:reduce){.profile-page .prescription-guide__fox{animation:none}}.dashboard-hero,.interaction-guide,.mascot-tip,.prescription-guide{isolation:isolate;overflow:hidden}.dashboard-hero:before,.interaction-guide:before,.mascot-tip:before,.prescription-guide:before{content:"";position:absolute;z-index:-1;width:190px;height:190px;border:1px solid rgba(92,128,196,.2);border-radius:50%;background:rgba(174,209,255,.12);box-shadow:0 0 0 14px rgba(174,209,255,.06),0 0 0 28px rgba(174,209,255,.04)}.dashboard-hero:before{right:76px;top:-125px}.dashboard-hero:after{right:-42px;bottom:-105px;width:245px;height:245px;border-color:rgba(92,128,196,.25);box-shadow:inset 0 0 0 14px rgba(174,209,255,.08),0 0 0 28px rgba(174,209,255,.04)}.mascot-tip:before{left:-72px;top:-105px}.interaction-guide:after,.mascot-tip:after,.prescription-guide:before{content:"";position:absolute;z-index:-1;right:28px;bottom:-82px;width:170px;height:170px;border:1px solid rgba(92,128,196,.2);border-radius:50%;background:transparent;box-shadow:inset 0 0 0 12px rgba(174,209,255,.07)}.interaction-guide:before{left:-76px;bottom:-124px}.interaction-guide:after{right:20px;bottom:-112px;width:210px;height:210px}.prescription-guide:before{right:-20px;bottom:-116px;width:235px;height:235px}.dashboard-hero>*,.interaction-guide>*,.mascot-tip>*,.prescription-guide>*{position:relative;z-index:1}html[data-theme=dark] .dashboard-hero:after,html[data-theme=dark] .dashboard-hero:before,html[data-theme=dark] .interaction-guide:after,html[data-theme=dark] .interaction-guide:before,html[data-theme=dark] .mascot-tip:after,html[data-theme=dark] .mascot-tip:before,html[data-theme=dark] .prescription-guide:before{border-color:rgba(137,177,238,.2);background:rgba(76,126,202,.1);box-shadow:inset 0 0 0 12px rgba(137,177,238,.05),0 0 0 24px rgba(76,126,202,.04)}html[data-theme=dark] .page-header--in-content,html[data-theme=dark] .page-intro{border-color:transparent;background:transparent;box-shadow:none}html[data-theme=dark] .page-intro:after{display:none}html[data-theme=dark] .page-header--in-content .eyebrow,html[data-theme=dark] .page-intro .eyebrow{color:#a9c4f6}html[data-theme=dark] .interaction-search__input,html[data-theme=dark] .profile-add-form__input,html[data-theme=dark] .search-bar,html[data-theme=dark] input:not([type=checkbox]),html[data-theme=dark] select,html[data-theme=dark] textarea{border-color:#405b80;background:rgba(15,29,48,.78);color:#edf4ff;box-shadow:inset 0 1px hsla(0,0%,100%,.04)}html[data-theme=dark] .interaction-search__input input::placeholder,html[data-theme=dark] .profile-add-form__input input::placeholder,html[data-theme=dark] .search-bar input::placeholder,html[data-theme=dark] input:not([type=checkbox])::placeholder,html[data-theme=dark] textarea::placeholder{color:#91a6c5;opacity:1}html[data-theme=dark] .interaction-search__input:focus-within,html[data-theme=dark] .profile-add-form__input:focus-within,html[data-theme=dark] .search-bar:focus-within,html[data-theme=dark] input:not([type=checkbox]):focus,html[data-theme=dark] select:focus,html[data-theme=dark] textarea:focus{border-color:#83a9e8;outline:0;box-shadow:0 0 0 3px rgba(110,153,226,.22),inset 0 1px hsla(0,0%,100%,.06)}html[data-theme=dark] input:not([type=checkbox]):disabled,html[data-theme=dark] select:disabled,html[data-theme=dark] textarea:disabled{border-color:#304664;background:rgba(12,24,40,.6);color:#7186a4}.mc-auth__input{background:hsla(0,0%,100%,.46);border-color:rgba(183,204,237,.82);backdrop-filter:blur(14px) saturate(125%);-webkit-backdrop-filter:blur(14px) saturate(125%)}.mc-auth__input input,.mc-auth__input input:focus,.mc-auth__input select,.mc-auth__input select:focus{border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important}.mc-auth__input input::placeholder{color:#7f91ae;opacity:1}html[data-theme=dark] .mc-auth__input{background:rgba(18,34,58,.5);border-color:rgba(91,127,178,.68)}html[data-theme=dark] .mc-auth__input input,html[data-theme=dark] .mc-auth__input select{background:transparent!important;color:#edf4ff}html[data-theme=dark] .mc-auth__input input:-webkit-autofill,html[data-theme=dark] .mc-auth__input input:-webkit-autofill:active,html[data-theme=dark] .mc-auth__input input:-webkit-autofill:focus,html[data-theme=dark] .mc-auth__input input:-webkit-autofill:hover{border:0!important;-webkit-text-fill-color:#edf4ff!important;caret-color:#edf4ff;box-shadow:inset 0 0 0 1000px #12223a!important;background-color:#12223a!important;background-clip:padding-box}html[data-theme=dark] .mc-auth__input input:-webkit-autofill{color:#edf4ff!important;background-color:#12223a!important;box-shadow:inset 0 0 0 1000px #12223a!important}html[data-theme=dark] .mc-auth__input input:autofill{color:#edf4ff!important;background-color:#12223a!important;box-shadow:inset 0 0 0 1000px #12223a!important}html[data-theme=dark] .mc-auth__input input::placeholder{color:#91a7c7}html[data-theme=dark] .mc-auth__input:focus-within{border-color:#83a9e8;box-shadow:0 0 0 3px rgba(110,153,226,.22)}@media (min-width:768px){.bottom-nav.sidebar{width:252px;padding:24px 16px;border-right:1px solid rgba(190,208,236,.72);background:radial-gradient(circle at 0 0,rgba(201,220,255,.34),transparent 240px),hsla(0,0%,100%,.72);box-shadow:8px 0 30px rgba(45,75,122,.08);backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%)}.sidebar__brand-row{min-height:92px;align-items:center;padding:0 4px 24px}.sidebar__brand-link{transition:transform .18s ease}.sidebar__brand-link:hover{transform:translateY(-2px)}.sidebar__toggle{right:-16px;width:38px;height:38px;border:0;border-radius:0;background:transparent;color:#55709f;box-shadow:none;transition:transform .18s ease,color .18s ease}.sidebar__toggle:hover{background:transparent;color:#315da1;transform:translateX(2px)}.bottom-nav.sidebar .bottom-nav__item{position:relative;min-height:52px;margin:4px 0;padding:12px 14px;gap:14px;border:1px solid transparent;border-radius:15px;color:#30476e;font-size:15px;font-weight:600;transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease}.bottom-nav.sidebar .bottom-nav__item .material-symbols-outlined{width:24px;color:#5b76b8;transition:transform .18s ease,color .18s ease}.bottom-nav.sidebar .bottom-nav__item:hover{border-color:rgba(180,202,237,.7);background:rgba(235,242,255,.76);color:#254b8e;transform:translateX(3px)}.bottom-nav.sidebar .bottom-nav__item:hover .material-symbols-outlined{color:#4167b2;transform:scale(1.08)}.bottom-nav.sidebar .bottom-nav__item--active{border-color:rgba(170,195,237,.82);background:linear-gradient(105deg,rgba(224,235,255,.96),rgba(241,246,255,.76));color:#294f96!important;box-shadow:0 8px 18px rgba(65,103,178,.1),inset 3px 0 #557bc6}.bottom-nav.sidebar .bottom-nav__item--active .material-symbols-outlined{color:#557bc6}.bottom-nav.sidebar.sidebar--collapsed{width:82px;padding:24px 12px}.sidebar--collapsed .bottom-nav__item{width:56px;margin-inline:auto;border-radius:16px}}html[data-theme=dark] .bottom-nav.sidebar{border-color:rgba(67,91,127,.8);background:radial-gradient(circle at 0 0,rgba(43,77,126,.28),transparent 240px),rgba(14,25,42,.84);box-shadow:8px 0 30px rgba(0,0,0,.2)}html[data-theme=dark] .sidebar__toggle{border-color:transparent;background:transparent;color:#aec5eb}html[data-theme=dark] .sidebar__toggle:hover{background:transparent;color:#fff}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item{color:#c5d4eb}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item .material-symbols-outlined{color:#91afe1}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item:hover{border-color:rgba(89,124,177,.62);background:rgba(42,69,108,.56);color:#fff}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item--active{border-color:#496a9b;background:linear-gradient(105deg,rgba(43,72,114,.94),rgba(31,53,84,.82));box-shadow:inset 3px 0 #8db2f0,0 10px 22px rgba(0,0,0,.18)}@media (max-width:767px){body,html{max-width:100%;overflow-x:hidden}.app-content,.app-content>main,.app-shell,.pharmacist-content,.pharmacist-content>main{width:100%;max-width:none}.app-shell--with-nav{padding-bottom:calc(88px + env(safe-area-inset-bottom, 0px))}.patient-header{min-height:60px;padding:8px 14px}.patient-header__actions{gap:6px}.patient-header .theme-toggle{position:relative;inset:auto;width:84px;height:40px;border-width:3px}.patient-header .theme-toggle__thumb{top:4px;left:4px;width:32px;height:32px}.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(44px)}.app-content>main,.pharmacist-content>main{padding:18px 14px 30px}.bottom-nav.sidebar,.bottom-nav.sidebar.sidebar--collapsed{position:fixed;z-index:1000;right:10px;bottom:calc(8px + env(safe-area-inset-bottom, 0px));left:10px;width:auto;max-width:none;min-height:70px;padding:7px;display:flex;flex-direction:row;align-items:stretch;gap:4px;border:1px solid rgba(183,204,237,.78);border-radius:20px;background:hsla(0,0%,100%,.88);box-shadow:0 12px 30px rgba(38,65,108,.18);backdrop-filter:blur(20px) saturate(135%);-webkit-backdrop-filter:blur(20px) saturate(135%)}.bottom-nav.sidebar .sidebar__brand-row,.bottom-nav.sidebar .sidebar__toggle{display:none}.bottom-nav.sidebar .bottom-nav__item,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item{flex:1 1;width:auto;min-width:0;min-height:56px;margin:0;padding:7px 3px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;border:1px solid transparent;border-radius:14px;color:#536887;font-size:9px;font-weight:700;line-height:1.1;text-align:center;white-space:normal}.bottom-nav.sidebar .bottom-nav__item span,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item span{display:block;overflow:hidden;max-width:100%;text-overflow:ellipsis}.bottom-nav.sidebar .bottom-nav__item .material-symbols-outlined{width:auto;font-size:21px;line-height:22px}.bottom-nav.sidebar .bottom-nav__item:hover{transform:none}.bottom-nav.sidebar .bottom-nav__item--active,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item--active{box-shadow:inset 0 -3px #557bc6;transform:none}.page-header--in-content,.page-intro{margin-bottom:18px;padding:15px 0}.dashboard-section__header,.interaction-result__header,.page-intro--with-action,.profile-interaction-result__header{align-items:flex-start;flex-direction:column;gap:12px}.interaction-result__header h2,.page-header__title,.page-intro h1{font-size:clamp(24px,7vw,32px);line-height:1.15}.dashboard-grid,.emergency-cards,.history-grid,.interaction-workspace,.profile-details-grid{grid-template-columns:minmax(0,1fr)}.dashboard-hero{min-height:180px;padding:18px}.dashboard-hero--patient>div:first-child{max-width:72%}.dashboard-hero__mascot{right:8px;bottom:-8px;width:108px;height:94px}.interaction-guide,.mascot-tip,.prescription-guide{max-width:100%;overflow:hidden}.prescription-board,.prescription-board--slider{grid-template-columns:minmax(0,1fr)}.interaction-result,.interaction-selection,.prescription-panel,.profile-details-card{padding:16px;border-radius:16px}.interaction-result{min-height:0;overflow:hidden}.tt-graph-canvas{min-height:420px}.tt-graph-canvas svg{height:420px}.tt-severity-strip{flex-wrap:wrap;gap:6px}.interaction-detail-tabs__nav,.profile-tabs{max-width:100%;overflow-x:auto}.profile-tabs__item{flex:0 0 auto;white-space:nowrap}.mc-auth__layout{grid-template-columns:minmax(0,1fr);padding:24px 14px 28px;border-radius:20px}.mc-auth__intro h1{font-size:clamp(34px,11vw,48px)}.mc-auth__card{width:100%;padding:20px 16px}input:not([type=checkbox]),select,textarea{max-width:100%;font-size:16px}}@media (max-width:380px){.bottom-nav.sidebar .bottom-nav__item,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item{font-size:8px}.bottom-nav.sidebar .bottom-nav__item .material-symbols-outlined{font-size:19px}.patient-header .theme-toggle{width:76px;height:36px}.patient-header .theme-toggle__thumb{width:28px;height:28px}.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(40px)}}html[data-theme=dark] .bottom-nav.sidebar{border-color:rgba(73,101,142,.82);background:rgba(16,29,48,.92);box-shadow:0 12px 30px rgba(0,0,0,.32)}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item{color:#b4c7e4}html[data-theme=dark] .bottom-nav.sidebar .bottom-nav__item--active{color:#f0f5ff!important;background:rgba(50,81,127,.72);box-shadow:inset 0 -3px #91b5ef}.dashboard-page .dashboard-hero--pharmacist{position:relative;isolation:isolate;min-height:232px;padding:34px 40px;border:1px solid rgba(181,202,235,.82);border-radius:26px;background:radial-gradient(circle at 92% 0,rgba(174,207,255,.28),transparent 220px),linear-gradient(120deg,hsla(0,0%,100%,.84),rgba(238,244,255,.64));box-shadow:0 18px 42px rgba(41,73,122,.1),inset 0 1px hsla(0,0%,100%,.84);backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%)}.dashboard-page .dashboard-hero--pharmacist:after,.dashboard-page .dashboard-hero--pharmacist:before{content:"";position:absolute;z-index:-1;border:1px solid rgba(102,139,204,.18);border-radius:50%}.dashboard-page .dashboard-hero--pharmacist:before{right:72px;top:-135px;width:250px;height:250px}.dashboard-page .dashboard-hero--pharmacist:after{right:-42px;bottom:-150px;width:310px;height:310px;box-shadow:inset 0 0 0 12px rgba(174,207,255,.08)}.dashboard-page .dashboard-hero--pharmacist>div:first-child{position:relative;z-index:1}.dashboard-page .dashboard-hero--pharmacist .dashboard-title{margin:8px 0 6px!important;color:#1e2e53!important;font-size:clamp(30px,3vw,44px)!important;letter-spacing:-.04em}.dashboard-page .dashboard-hero--pharmacist>div:first-child>p:last-child{color:#647695!important;font-size:16px!important}.dashboard-page .dashboard-hero--pharmacist>div:last-child{position:relative;z-index:1;display:grid!important;grid-template-columns:repeat(2,minmax(150px,1fr));width:min(440px,42%);grid-gap:14px!important;gap:14px!important}.dashboard-page .dashboard-hero--pharmacist .stat-card{min-width:0!important;min-height:138px;padding:20px!important;border:1px solid rgba(187,205,235,.8);border-radius:20px;background:hsla(0,0%,100%,.68)!important;box-shadow:0 10px 24px rgba(44,76,126,.08),inset 0 1px hsla(0,0%,100%,.8);text-align:center;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.dashboard-page .dashboard-hero--pharmacist .stat-card .material-symbols-outlined{color:#607bc0}.dashboard-page .dashboard-hero--pharmacist .stat-card .stat-value{margin-top:8px!important;color:#526eb7;font-size:34px!important;line-height:1}.dashboard-page .dashboard-hero--pharmacist .stat-card .stat-label{margin-top:9px;color:#6c7d9c;font-size:12px;font-weight:700}.dashboard-page .dashboard-section{margin-top:48px}.dashboard-page .dashboard-section__header{margin-bottom:16px}.dashboard-page .dashboard-section__header h2{display:flex;align-items:center;gap:10px;color:#23365e;font-size:24px;letter-spacing:-.025em}.dashboard-page .dashboard-section__header h2 .material-symbols-outlined{color:#6682c8}.dashboard-page .empty-state{position:relative;min-height:280px;overflow:hidden;border:1px dashed rgba(154,181,224,.76);border-radius:22px;background:hsla(0,0%,100%,.44);box-shadow:inset 0 1px hsla(0,0%,100%,.7)}.dashboard-page .empty-state:after{content:"";position:absolute;right:-42px;bottom:-135px;width:260px;height:260px;border:1px solid rgba(102,139,204,.16);border-radius:50%;box-shadow:inset 0 0 0 12px rgba(174,207,255,.08)}.dashboard-page .empty-state>*{position:relative;z-index:1}.dashboard-page .empty-state__mascot{width:118px;height:100px}.dashboard-page .empty-state strong{color:#52627f;font-size:18px}.dashboard-page .empty-state span{color:#7a8aa7;font-size:14px}.dashboard-page .patient-card--large{border:1px solid rgba(184,204,235,.8);border-radius:20px;background:hsla(0,0%,100%,.68);box-shadow:0 12px 28px rgba(43,75,124,.08);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.dashboard-page .patient-card--large:hover{border-color:#9fb9e6;box-shadow:0 16px 32px rgba(43,75,124,.13);transform:translateY(-2px)}.dashboard-page .dashboard-med-card{min-height:108px;border:1px solid rgba(182,204,237,.82);border-radius:18px;background:hsla(0,0%,100%,.62);color:#4167b2;box-shadow:0 10px 24px rgba(43,75,124,.08)}html[data-theme=dark] .dashboard-page .dashboard-hero--pharmacist{border-color:rgba(74,105,150,.82);background:radial-gradient(circle at 92% 0,rgba(49,91,155,.3),transparent 220px),linear-gradient(120deg,rgba(25,43,69,.92),rgba(21,36,59,.8))}html[data-theme=dark] .dashboard-page .dashboard-hero--pharmacist .dashboard-title,html[data-theme=dark] .dashboard-page .dashboard-section__header h2{color:#edf4ff!important}html[data-theme=dark] .dashboard-page .dashboard-hero--pharmacist>div:first-child>p:last-child{color:#b7c9e3!important}html[data-theme=dark] .dashboard-page .dashboard-hero--pharmacist .stat-card{border-color:#405f89;background:rgba(26,46,75,.82)!important}html[data-theme=dark] .dashboard-page .dashboard-hero--pharmacist .stat-card .stat-label{color:#a9bddb}html[data-theme=dark] .dashboard-page .dashboard-med-card,html[data-theme=dark] .dashboard-page .empty-state,html[data-theme=dark] .dashboard-page .patient-card--large{border-color:#3d5a80;background:rgba(22,39,64,.78);color:#edf4ff}html[data-theme=dark] .dashboard-page .empty-state strong{color:#dce8fa}html[data-theme=dark] .dashboard-page .empty-state span{color:#aebfda}@media (max-width:767px){.dashboard-page .dashboard-hero--pharmacist{min-height:0;padding:24px 18px;align-items:stretch;gap:22px}.dashboard-page .dashboard-hero--pharmacist>div:last-child{width:100%}.dashboard-page .dashboard-hero--pharmacist .stat-card{min-height:112px;padding:15px!important}.dashboard-page .dashboard-section{margin-top:34px}.dashboard-page .dashboard-section__header h2{font-size:21px}.dashboard-page .patient-card--large .patient-card__footer{align-items:stretch;flex-direction:column;gap:12px}.dashboard-page .patient-card--large .secondary{width:100%;justify-content:center}.dashboard-page .patient-card--large{position:relative}.dashboard-page .patient-card--large .patient-card__info{width:100%;padding-right:118px}.dashboard-page .patient-card--large .patient-card__info>div{min-width:0}.dashboard-page .patient-card--large .patient-card__info h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-page .patient-card--large .patient-card__footer>.badge{position:absolute;top:20px;right:16px;max-width:112px;overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}}@media (max-width:640px){.dashboard-notification{grid-template-columns:42px minmax(0,1fr) 30px;gap:11px;min-height:82px;padding:13px;border-radius:15px}.dashboard-notification__icon{width:42px;height:42px;border-radius:12px}.dashboard-notification__arrow{width:30px;height:30px}.dashboard-notification .dashboard-notification__meta{align-items:flex-start;flex-direction:column;gap:3px}.dashboard-notification__content>strong{display:-webkit-box;overflow:hidden;font-size:14px;-webkit-box-orient:vertical;-webkit-line-clamp:2}}:root{--background:#f5f7fb;--surface-container-lowest:#fff;--on-surface:#17233b;--on-surface-variant:#66758d;--primary:#315a9f;--primary-container:#4f6fba;--border-subtle:#dfe6f1;--ui-card:#fff;--ui-border:#dce5f2;--ui-shadow:0 8px 24px rgba(38,61,101,.07);--ui-shadow-hover:0 12px 30px rgba(38,61,101,.11)}body{background:#f5f7fb}.app-content>main,.pharmacist-content>main{display:flex;flex-direction:column;gap:0}.page-header--in-content,.page-intro,.profile-page>.page-header--in-content{min-height:0;margin:0 0 28px;padding:0;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none}.page-header--in-content:after,.page-intro:after{display:none}.greeting__title,.page-header__title,.page-intro h1{font-size:clamp(26px,3vw,34px);line-height:1.2}.page-title-icon>.material-symbols-outlined,.section-heading-icon>.material-symbols-outlined{width:auto;height:auto;color:#5573bb;border:0;border-radius:0;background:transparent}.dashboard-history,.dashboard-section,.pharmacist-review-section,.prescription-board-wrap,.profile-interaction-result{margin-top:28px}.dashboard-section__header,.profile-interaction-result__header,.section__header{min-height:36px;margin-bottom:14px}.dashboard-section__header h2,.section-heading-icon,.section__title{font-size:20px;line-height:1.35}.card,.contact-list,.history-card,.history-tile,.interaction-result,.interaction-search,.interaction-selection,.mc-auth__card,.med-detail-overview,.med-history,.panel,.patient-card,.prescription-panel,.profile-details-card,.side-effect-card,.usage-guide{border:1px solid #dce5f2;border-radius:16px;background:#fff;box-shadow:var(--ui-shadow);-webkit-backdrop-filter:none;backdrop-filter:none}.history-card:hover,.history-tile:hover,.patient-card:hover,.prescription-panel:hover{transform:translateY(-2px);border-color:#bdcce4;box-shadow:var(--ui-shadow-hover)}.dashboard-hero,.interaction-guide,.mascot-tip,.prescription-guide,.profile-intro{border:1px solid #d6e1f1;border-radius:18px;background:linear-gradient(120deg,#fff,#f4f7fd 72%,#edf3ff);box-shadow:0 8px 24px rgba(38,61,101,.07)}.dashboard-hero:after,.profile-intro:after{opacity:.45}.interaction-guide,.mascot-tip,.prescription-guide{gap:20px;padding:18px 22px}.profile-details-grid{gap:20px}.profile-details-card{padding:24px}.prescription-board{gap:18px}.prescription-panel{padding:20px}.history-tile__chips>span,.selected-medication{border:1px solid #dce5f2;border-radius:11px;background:#f7f9fc}.selected-medication__icon{color:#4968ad;background:#eaf0fb}.profile-tabs{width:-moz-fit-content;width:fit-content;padding:4px;border:1px solid #dce5f2;border-radius:13px;background:#edf1f7}.profile-tabs__item{min-height:40px;padding:8px 16px;border-radius:9px}.profile-tabs__item--active{background:#fff;box-shadow:0 2px 8px rgba(38,61,101,.08)}.patient-header,.pharmacist-nav{border-bottom:1px solid #dfe6f1;background:hsla(0,0%,100%,.92);box-shadow:none;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-nav.sidebar{border-right:1px solid #dfe6f1;background:#fff;box-shadow:none}.bottom-nav__item{min-height:48px;border:1px solid transparent;border-radius:11px}.bottom-nav__item--active{border-color:#d7e1f2;background:#eef3fc;box-shadow:none}.field{gap:0}.interaction-search__input,.profile-add-form__input,.search-bar,input:not([type=checkbox]),select,textarea{border-color:#d5dfed;border-radius:11px;background:#fff}.interaction-search__input:focus-within,.profile-add-form__input:focus-within,input:not([type=checkbox]):focus,select:focus,textarea:focus{border-color:#6f89c2;box-shadow:0 0 0 3px rgba(79,111,186,.12)}.check-cta,.dashboard-action--primary,.interaction-run,.mc-search-submit,.primary{background:#4f6fba;box-shadow:0 7px 16px rgba(58,85,151,.18)}.check-cta:hover:not(:disabled),.dashboard-action--primary:hover:not(:disabled),.interaction-run:hover:not(:disabled),.mc-search-submit:hover:not(:disabled),.primary:hover:not(:disabled){background:#425fa5;box-shadow:0 9px 19px rgba(58,85,151,.22)}.dashboard-notification{min-height:82px;border-radius:15px;background:#fff;box-shadow:var(--ui-shadow)}.dashboard-notification:hover{background:#fbfcff}.history-tile{min-height:224px}.empty-state{min-height:190px;border-color:#cbd7e9;background:#fafbfd}html[data-theme=dark] body{background:#0d1523}html[data-theme=dark] .page-title-icon>.material-symbols-outlined,html[data-theme=dark] .section-heading-icon>.material-symbols-outlined{color:#a9c3f4;border:0;background:transparent}html[data-theme=dark] .card,html[data-theme=dark] .contact-list,html[data-theme=dark] .history-card,html[data-theme=dark] .history-tile,html[data-theme=dark] .interaction-result,html[data-theme=dark] .interaction-search,html[data-theme=dark] .interaction-selection,html[data-theme=dark] .mc-auth__card,html[data-theme=dark] .med-detail-overview,html[data-theme=dark] .med-history,html[data-theme=dark] .panel,html[data-theme=dark] .patient-card,html[data-theme=dark] .prescription-panel,html[data-theme=dark] .profile-details-card,html[data-theme=dark] .side-effect-card,html[data-theme=dark] .usage-guide{border-color:#34465f;background:#172235;box-shadow:0 8px 24px rgba(0,0,0,.18)}html[data-theme=dark] .dashboard-history .history-card:focus,html[data-theme=dark] .dashboard-history .history-card:focus-visible,html[data-theme=dark] .dashboard-history .history-card:hover{border-color:#526f9c;background:#223553;color:#edf4ff;outline:none;box-shadow:0 5px 16px rgba(0,0,0,.24)}html[data-theme=dark] .dashboard-history .history-card:focus-visible>.material-symbols-outlined,html[data-theme=dark] .dashboard-history .history-card:focus-visible>span,html[data-theme=dark] .dashboard-history .history-card:focus-visible>strong,html[data-theme=dark] .dashboard-history .history-card:focus>.material-symbols-outlined,html[data-theme=dark] .dashboard-history .history-card:focus>span,html[data-theme=dark] .dashboard-history .history-card:focus>strong,html[data-theme=dark] .dashboard-history .history-card:hover>.material-symbols-outlined,html[data-theme=dark] .dashboard-history .history-card:hover>span,html[data-theme=dark] .dashboard-history .history-card:hover>strong{color:#edf4ff}html[data-theme=dark] .dashboard-hero,html[data-theme=dark] .interaction-guide,html[data-theme=dark] .mascot-tip,html[data-theme=dark] .prescription-guide,html[data-theme=dark] .profile-intro{border-color:#344963;background:linear-gradient(120deg,#172235,#1a2940)}html[data-theme=dark] .bottom-nav.sidebar,html[data-theme=dark] .patient-header,html[data-theme=dark] .pharmacist-nav{border-color:#2d3e55;background:#121c2b}html[data-theme=dark] .empty-state,html[data-theme=dark] .history-tile__chips>span,html[data-theme=dark] .selected-medication{border-color:#344963;background:#1a283d}html[data-theme=dark] .profile-tabs{border-color:#344963;background:#111c2c}html[data-theme=dark] .profile-tabs__item--active{background:#223653;box-shadow:none}@media (max-width:767px){.page-header--in-content,.page-intro,.profile-page>.page-header--in-content{margin-bottom:22px;padding:0}.dashboard-hero,.interaction-guide,.mascot-tip,.prescription-guide,.profile-intro{border-radius:15px}.profile-tabs{width:100%;overflow-x:auto}}.sidebar-mobile-backdrop,.sidebar-mobile-toggle{display:none}@media (max-width:767px){.app-shell--with-nav{padding-bottom:0}.sidebar-mobile-toggle{position:fixed;top:12px;left:14px;z-index:1102;display:grid;width:44px;height:44px;place-items:center;border:0;border-radius:0;color:#405d9e;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transition:top .22s ease,left .22s ease,color .16s ease}.sidebar-mobile-toggle .material-symbols-outlined{font-size:38px!important}.sidebar-mobile-backdrop{position:fixed;inset:0;z-index:1099;display:block;border:0;background:rgba(18,31,52,.38)}.bottom-nav.sidebar,.bottom-nav.sidebar.sidebar--collapsed{top:0;right:auto;bottom:0;left:0;z-index:1100;width:min(82vw,300px);min-height:100dvh;padding:22px 14px;display:flex;flex-direction:column;align-items:stretch;gap:4px;border-width:0 1px 0 0;border-radius:0 24px 24px 0;transform:translateX(-105%);transition:transform .22s ease}.bottom-nav.sidebar.sidebar--mobile-open{transform:translateX(0)}.bottom-nav.sidebar .sidebar__brand-row{display:flex;min-height:78px;padding-bottom:18px}.bottom-nav.sidebar .sidebar__toggle{display:none}.bottom-nav.sidebar .bottom-nav__item,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item{flex:0 0 auto;width:100%;min-height:50px;margin:3px 0;padding:12px 14px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:14px;border-radius:14px;font-size:14px;text-align:left}.bottom-nav.sidebar .bottom-nav__item span,.bottom-nav.sidebar.sidebar--collapsed .bottom-nav__item span{display:block;max-width:none}.bottom-nav.sidebar .bottom-nav__item .material-symbols-outlined{width:24px;font-size:22px}html[data-theme=dark] .sidebar-mobile-toggle{color:#c5d7f5;background:transparent}}.admin-content{width:100%}.admin-header__context{display:inline-flex;align-items:center;gap:9px;color:#3f5f9f;font-size:14px;font-weight:700}.admin-header__identity{cursor:default}.admin-sidebar__eyebrow{margin:17px 12px 9px;color:#8190aa;font-size:10px;font-weight:700;letter-spacing:.1em}.sidebar--collapsed .admin-sidebar__eyebrow,.sidebar--collapsed .admin-sidebar__footer{display:none}.admin-sidebar__footer{margin-top:auto;padding:13px 12px;display:flex;align-items:center;gap:10px;border:1px solid #dce6f4;border-radius:12px;color:#637896;background:#f7f9fd;font-size:12px}.admin-page{width:min(100%,1320px);margin:0 auto;padding:30px 30px 50px}.admin-page-heading{margin-bottom:26px;display:flex;justify-content:space-between;align-items:flex-end;gap:24px}.admin-page-heading .eyebrow{margin:0 0 7px}.admin-page-heading h1{margin:0;color:#172642;font-size:clamp(27px,3vw,38px);line-height:1.2}.admin-page-heading>div>p:last-child{max-width:720px;margin:9px 0 0;color:#71819b;font-size:15px;line-height:1.55}.admin-page-heading__action{flex:0 0 auto}.admin-page-heading__action select{min-width:190px;height:44px}.admin-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-gap:14px;gap:14px}.admin-stat-card{min-height:122px;padding:19px;display:flex;align-items:flex-start;gap:13px;border:1px solid #dce5f2;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(44,67,105,.07)}.admin-stat-card__icon{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#4f70b8;background:#edf3ff}.admin-stat-card p{margin:2px 0 8px;color:#7787a0;font-size:12px;font-weight:650}.admin-stat-card strong{color:#172642;font-size:25px}.admin-stat-card--cyan .admin-stat-card__icon{color:#147d91;background:#e8f8fb}.admin-stat-card--violet .admin-stat-card__icon{color:#7358b2;background:#f1edfb}.admin-stat-card--amber .admin-stat-card__icon{color:#a56a0c;background:#fff5df}.admin-stat-card--rose .admin-stat-card__icon{color:#b75062;background:#fff0f2}.admin-stat-card--green .admin-stat-card__icon{color:#278064;background:#e9f7f1}.admin-dashboard-grid{margin-top:20px;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.8fr);grid-gap:20px;gap:20px}.admin-data-summary,.admin-quick-actions{padding:24px}.admin-section-title{margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:18px}.admin-section-title .eyebrow{margin:0 0 4px}.admin-section-title h2{margin:0;color:#1d2d49;font-size:20px}.admin-section-title>a{display:inline-flex;align-items:center;gap:5px;color:#4d70bc;font-size:13px;font-weight:700}.admin-data-summary__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:10px;gap:10px}.admin-data-summary__grid>div{min-height:126px;padding:16px;display:flex;flex-direction:column;border:1px solid #e1e8f3;border-radius:13px;color:#5473b1;background:#fafcff}.admin-data-summary__grid span{margin:12px 0 5px;color:#75849b;font-size:11px}.admin-data-summary__grid strong{color:#20304d;font-size:20px}.admin-quick-actions>a{padding:13px 4px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #e7edf5;color:inherit}.admin-quick-actions>a:last-child{border-bottom:0}.admin-quick-actions>a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;color:#5273b7;background:#edf3ff}.admin-quick-actions>a>div{min-width:0;flex:1 1}.admin-quick-actions strong{color:#263650;font-size:14px}.admin-quick-actions p{margin:3px 0 0;color:#7a899e;font-size:12px}.admin-quick-actions>a>.material-symbols-outlined{color:#8d9ab0}.admin-toolbar{padding:16px;display:flex;align-items:center;gap:12px}.admin-toolbar select{min-width:175px;height:48px}.admin-filter-select{width:210px;flex:0 0 auto}.admin-filter-select .select-field__trigger{min-height:48px;padding-block:11px}.admin-search{min-width:240px;height:48px;padding:0 15px;display:flex;flex:1 1;align-items:center;gap:10px;border:1px solid #d5dfed;border-radius:11px;color:#6280b8;background:#fff}.admin-search:focus-within{border-color:#6f89c2;box-shadow:0 0 0 3px rgba(79,111,186,.12)}.admin-search input{height:46px;min-width:0;padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.admin-list-meta{margin:18px 2px 10px;display:flex;justify-content:space-between;color:#7b899d;font-size:12px}.admin-list-meta strong{color:#354967;font-size:14px}.admin-alert,.admin-info-note,.admin-loading,.admin-review-banner{padding:16px 18px;display:flex;align-items:center;gap:11px;border:1px solid #dce6f3;border-radius:13px;color:#516985;background:#f8fbff}.admin-alert--error{margin:14px 0;border-color:#f0c9d0;color:#a84053;background:#fff7f8}.admin-loading{min-height:150px;justify-content:center}.admin-empty-state{min-height:260px;padding:38px;display:grid;place-items:center;align-content:center;border:1px dashed #cbd8ea;border-radius:17px;text-align:center;background:hsla(0,0%,100%,.68)}.admin-empty-state>span{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;color:#5677b9;background:#edf3ff}.admin-empty-state h2{margin:16px 0 5px;color:#263751;font-size:19px}.admin-empty-state p{margin:0;color:#7b8aa0}.admin-table-wrap{overflow-x:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th{padding:14px 16px;color:#78879d;background:#f8fafd;font-size:11px;letter-spacing:.04em;text-align:left;text-transform:uppercase}.admin-table td{padding:15px 16px;border-top:1px solid #e7edf5;color:#4c5f79;font-size:13px}.admin-user-cell{min-width:210px;display:flex;align-items:center;gap:11px}.admin-user-cell>span{width:38px;height:38px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#fff;background:linear-gradient(135deg,#7698dd,#4c70bb);font-weight:700}.admin-user-cell small,.admin-user-cell strong{display:block}.admin-user-cell strong{color:#243550;font-size:14px}.admin-user-cell small{margin-top:2px;color:#8290a4}.admin-unverified,.admin-verified{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.admin-verified{color:#27765e}.admin-unverified{color:#9b6b25}.admin-status{padding:6px 9px;display:inline-flex;border-radius:999px;color:#536983;background:#edf2f8;font-size:11px;font-weight:700;white-space:nowrap}.admin-status--active,.admin-status--resolved{color:#247058;background:#e7f7f0}.admin-status--locked,.admin-status--rejected{color:#a64155;background:#ffedf0}.admin-status--in_progress,.admin-status--pending_email,.admin-status--pending_pharmacist{color:#996515;background:#fff3d9}.admin-status--new{color:#426caf;background:#eaf1ff}.admin-action,.admin-reject-button{min-height:38px;padding:8px 12px;display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid;border-radius:10px;font-size:12px;font-weight:700;white-space:nowrap}.admin-action--lock,.admin-reject-button{border-color:#efc5cd;color:#a43e52;background:#fff7f8}.admin-action--unlock{border-color:#bfe2d4;color:#276f59;background:#f1fbf7}.admin-action-pending{color:#8a96a8;font-size:12px;white-space:nowrap}.admin-review-banner{margin-bottom:20px;align-items:flex-start;border-color:#cddcf3;background:linear-gradient(120deg,#f5f8ff,#fbfdff)}.admin-review-banner>span{width:44px;height:44px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#4d70b8;background:#e5eeff}.admin-review-banner strong{color:#2b3f60}.admin-review-banner p{margin:4px 0 0;line-height:1.5}.admin-pharmacist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.admin-pharmacist-card{padding:22px}.admin-pharmacist-card__header{display:flex;align-items:center;gap:12px}.admin-pharmacist-card__header>span{width:48px;height:48px;display:grid;flex:0 0 auto;place-items:center;border-radius:14px;color:#fff;background:linear-gradient(135deg,#7798dc,#476ab4);font-size:18px;font-weight:700}.admin-pharmacist-card__header>div{min-width:0;flex:1 1}.admin-pharmacist-card__header h2{margin:0;color:#21324f;font-size:18px}.admin-pharmacist-card__header p{margin:3px 0 0;overflow:hidden;color:#7d8ba0;font-size:13px;text-overflow:ellipsis}.admin-pharmacist-card__header small{display:flex;align-items:center;gap:4px;color:#8391a4}.admin-pharmacist-card dl{margin:20px 0;display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px}.admin-pharmacist-card dl>div{padding:14px;border:1px solid #e1e8f3;border-radius:12px;background:#fafcff}.admin-pharmacist-card dt{display:flex;align-items:center;gap:6px;color:#74849b;font-size:11px;font-weight:700;text-transform:uppercase}.admin-pharmacist-card dd{margin:8px 0 0;color:#273956;font-size:14px;font-weight:650}.admin-pharmacist-card__actions{display:flex;justify-content:flex-end;gap:10px}.admin-toolbar--tabs{justify-content:space-between}.admin-toolbar--tabs .admin-search{max-width:520px}.admin-segmented{padding:4px;display:flex;border-radius:11px;background:#eef3fa}.admin-segmented button{min-height:40px;padding:8px 14px;display:flex;align-items:center;gap:7px;border:0;border-radius:9px;color:#6c7f9c;background:transparent;font-size:13px;font-weight:700;box-shadow:none}.admin-segmented button.active{color:#355caa;background:#fff;box-shadow:0 3px 10px rgba(51,78,124,.1)}.admin-drug-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:13px;gap:13px}.admin-drug-card{min-width:0;padding:17px;display:flex;gap:12px}.admin-drug-card>span{width:42px;height:42px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#5577ba;background:#edf3ff}.admin-drug-card>div{min-width:0}.admin-drug-card h2{margin:1px 0 5px;color:#253651;font-size:15px}.admin-drug-card h2,.admin-drug-card p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-drug-card p{margin:0 0 9px;color:#78879c;font-size:12px}.admin-drug-card small{display:flex;align-items:center;gap:5px;color:#8090a6}.admin-info-note{margin-top:18px;align-items:flex-start}.admin-info-note p{margin:0;line-height:1.5}.admin-pagination{margin-top:18px;display:flex;justify-content:center;align-items:center;gap:14px}.admin-pagination button{min-width:124px}.admin-pagination>span{color:#718199;font-size:13px}.admin-pagination>span strong{color:#2f466b}.admin-feedback-list{display:grid;grid-gap:14px;gap:14px}.admin-feedback-card{padding:20px}.admin-feedback-card__top{display:flex;align-items:flex-start;gap:12px}.admin-feedback-card__top>div{min-width:0;flex:1 1}.admin-feedback-card__icon{width:44px;height:44px;display:grid;flex:0 0 auto;place-items:center;border-radius:12px;color:#526fb1;background:#edf3ff}.admin-feedback-card__meta{display:flex;align-items:center;gap:10px;color:#77869c;font-size:11px}.admin-feedback-card__meta span{color:#4d6da9;font-weight:700;text-transform:uppercase}.admin-feedback-card h2{margin:5px 0 3px;color:#21324d;font-size:17px}.admin-feedback-card__user{margin:0;color:#8390a2;font-size:12px}.admin-feedback-card__description{margin:16px 0;color:#52647d;line-height:1.6}.admin-feedback-card__resolution{padding:12px 14px;display:flex;align-items:flex-start;gap:8px;border-radius:10px;color:#31725e;background:#edf9f4}.admin-feedback-card__resolution p{margin:0}.admin-feedback-card__actions{display:flex;justify-content:flex-end}.admin-feedback-editor{margin-top:14px;padding-top:14px;border-top:1px solid #e5ebf4}.admin-feedback-editor textarea{min-height:100px}.admin-feedback-editor>div{margin-top:10px;display:flex;justify-content:flex-end;gap:9px}.admin-modal-backdrop{position:fixed;inset:0;z-index:1400;padding:20px;display:grid;place-items:center;background:rgba(18,30,50,.48);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.admin-modal{width:min(100%,520px);padding:28px;border:1px solid #dce5f1;border-radius:20px;background:#fff;box-shadow:0 24px 70px rgba(23,38,64,.24)}.admin-modal__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;color:#a54255;background:#ffedf0}.admin-modal h2{margin:17px 0 7px;color:#21324d}.admin-modal>p{margin:0 0 18px;color:#728198;line-height:1.55}.admin-modal label{color:#435873;font-size:13px;font-weight:700}.admin-modal textarea{margin-top:8px;min-height:120px;font-weight:400}.admin-modal__actions{margin-top:17px;display:flex;justify-content:flex-end;gap:9px}html[data-theme=dark] .admin-header__context{color:#a9c2ee}html[data-theme=dark] .admin-empty-state,html[data-theme=dark] .admin-modal,html[data-theme=dark] .admin-search,html[data-theme=dark] .admin-sidebar__footer,html[data-theme=dark] .admin-stat-card{border-color:#34465f;background:#172235}html[data-theme=dark] .admin-drug-card h2,html[data-theme=dark] .admin-empty-state h2,html[data-theme=dark] .admin-feedback-card h2,html[data-theme=dark] .admin-modal h2,html[data-theme=dark] .admin-page-heading h1,html[data-theme=dark] .admin-pharmacist-card dd,html[data-theme=dark] .admin-pharmacist-card__header h2,html[data-theme=dark] .admin-quick-actions strong,html[data-theme=dark] .admin-section-title h2,html[data-theme=dark] .admin-stat-card strong,html[data-theme=dark] .admin-user-cell strong{color:#edf4ff}html[data-theme=dark] .admin-data-summary__grid>div,html[data-theme=dark] .admin-pharmacist-card dl>div{border-color:#34465f;background:#1b2a40}html[data-theme=dark] .admin-table th{color:#9fb0c8;background:#1a293e}html[data-theme=dark] .admin-table td{border-color:#314258;color:#bdcbe0}html[data-theme=dark] .admin-alert,html[data-theme=dark] .admin-info-note,html[data-theme=dark] .admin-loading,html[data-theme=dark] .admin-review-banner{border-color:#344963;color:#b5c6de;background:#17263b}html[data-theme=dark] .admin-segmented{background:#111c2c}html[data-theme=dark] .admin-segmented button.active{color:#c7d9fa;background:#263b59}@media (max-width:1180px){.admin-data-summary__grid,.admin-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-drug-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:900px){.admin-dashboard-grid,.admin-pharmacist-grid{grid-template-columns:1fr}}@media (max-width:767px){.admin-header__context{display:none}.admin-page{padding:24px 16px 40px}.admin-page-heading{align-items:flex-start;flex-direction:column;gap:14px}.admin-page-heading__action,.admin-page-heading__action button,.admin-page-heading__action select{width:100%}.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-stat-card{min-height:105px;padding:14px}.admin-data-summary__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-toolbar,.admin-toolbar--tabs{align-items:stretch;flex-direction:column}.admin-filter-select,.admin-search,.admin-toolbar select,.admin-toolbar--tabs .admin-search{width:100%;max-width:none}.admin-segmented button{flex:1 1;justify-content:center}.admin-list-meta span{display:none}.admin-drug-grid{grid-template-columns:1fr}.admin-pagination{justify-content:space-between;gap:8px}.admin-pagination button{min-width:0;padding-inline:10px}.admin-pagination>span{font-size:12px}.admin-pharmacist-card dl{grid-template-columns:1fr}.admin-pharmacist-card__header small{display:none}.admin-feedback-editor>div,.admin-modal__actions,.admin-pharmacist-card__actions{flex-direction:column-reverse}.admin-feedback-editor button,.admin-modal__actions button,.admin-pharmacist-card__actions button{width:100%}.admin-feedback-card__top{flex-wrap:wrap}.admin-feedback-card__top .admin-status{margin-left:56px}.admin-modal{padding:22px}.admin-sidebar .admin-sidebar__eyebrow{display:block}.admin-sidebar .admin-sidebar__footer{display:flex}}body,html{width:100%;overflow-x:clip}body,canvas,html,img,svg,video{max-width:100%}.app-content,.app-content>main,.app-shell,.card,.interaction-result,.panel,.pharmacist-content,.pharmacist-content>main,.prescription-panel,.review-layout,.review-layout__main,.review-layout__sidebar{min-width:0}@media (min-width:768px) and (max-width:1180px){.app-content>main,.pharmacist-content>main{padding-inline:clamp(18px,3vw,30px)}.dashboard-grid,.med-detail-content,.med-detail-overview,.profile-details-grid,.review-layout{gap:18px}.review-layout{grid-template-columns:minmax(0,1.35fr) minmax(300px,.85fr)}.admin-page{padding-inline:22px}}@media (max-width:767px){body,html{height:100%;overscroll-behavior:none}body{min-width:320px}.app-shell--with-nav{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;height:100svh;min-height:0;padding:0;overflow:hidden}.app-shell--with-nav .app-content,.app-shell--with-nav .pharmacist-content{min-height:0;overflow-x:clip;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:auto}.admin-header,.patient-header{position:relative;z-index:30;min-height:62px;margin:8px 8px 0;padding:8px max(12px,env(safe-area-inset-right)) 8px 66px;border:1px solid #dfe6f1;border-radius:18px}.patient-header__actions{min-width:0;margin-left:auto!important;gap:5px}.patient-header__identity{min-width:0}.patient-header__identity>div,.patient-header__identity>span:not(.patient-header__avatar):not(.patient-header__tooltip){display:none}.patient-header .theme-toggle{width:62px;height:34px;border-width:2px}.patient-header .theme-toggle__thumb{top:3px;left:3px;width:26px;height:26px}.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(28px)}.patient-header .icon-btn{width:38px;height:38px;min-width:38px}.notification-bell__panel{position:fixed;top:calc(78px + env(safe-area-inset-top, 0px));right:12px;left:12px;width:auto;max-height:calc(100svh - 96px - env(safe-area-inset-bottom, 0px));box-sizing:border-box}.sidebar-mobile-toggle{top:calc(10px + env(safe-area-inset-top, 0px));left:max(12px,env(safe-area-inset-left))}.sidebar-mobile-toggle[aria-expanded=true]{top:calc(18px + env(safe-area-inset-top, 0px));left:calc(min(86vw, 310px) - 52px)}.bottom-nav.sidebar,.bottom-nav.sidebar.sidebar--collapsed{width:min(86vw,310px);max-width:calc(100vw - 48px);min-height:100svh;padding-top:calc(18px + env(safe-area-inset-top, 0px));padding-bottom:calc(18px + env(safe-area-inset-bottom, 0px));overflow-y:auto}.app-content>main,.pharmacist-content>main{width:100%;max-width:100%;padding:18px 14px calc(28px + env(safe-area-inset-bottom, 0px))}.greeting,.page-header--in-content,.page-intro,.profile-page>.page-header--in-content{width:100%;min-width:0;margin-bottom:18px}.admin-page-heading,.admin-section-title,.dashboard-section__header,.med-detail-header,.page-header--in-content,.page-intro--with-action,.profile-interaction-result__header,.section__header{align-items:flex-start;flex-wrap:wrap;gap:10px}.admin-page-heading>div,.admin-section-title>div,.med-detail-header>div,.page-header--in-content>div,.page-intro--with-action>div{min-width:0}.admin-page-heading h1,.dashboard-title,.greeting__title,.med-detail-title h1,.page-header__title,.page-intro h1{font-size:clamp(20px,5.5vw,24px)!important;line-height:1.18}.admin-page-heading h1,.admin-section-title h2,.dashboard-section__header h2,.dashboard-title,.greeting__title,.interaction-result__header h2,.med-detail-title h1,.page-header__title,.page-intro h1,.page-title-icon,.profile-interaction-result__header h2,.section__title{max-width:100%;min-width:0;overflow:hidden;overflow-wrap:normal;text-overflow:ellipsis;white-space:nowrap;word-break:normal}.admin-section-title h2,.dashboard-section__header h2,.interaction-result__header h2,.profile-interaction-result__header h2,.section__title{font-size:clamp(17px,4.8vw,20px)!important}.interaction-result__pane--analysis{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.interaction-result__pane--graph,html[data-theme=dark] .interaction-result__pane--graph{border:0;background:transparent;box-shadow:none}.interaction-result__analysis-actions,html[data-theme=dark] .interaction-result__analysis-actions{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}html[data-theme=dark] .interaction-result__pane--analysis{border:0;background:transparent;box-shadow:none}.admin-page-heading__action,.med-detail-actions,.page-intro--with-action>a,.page-intro--with-action>button{width:100%}.med-detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.med-detail-actions button{min-width:0;padding-inline:10px}.card,.contact-list,.dashboard-hero,.history-tile,.interaction-guide,.interaction-result,.mascot-tip,.med-detail-overview,.med-history,.panel,.prescription-guide,.prescription-panel,.profile-details-card,.profile-intro,.side-effect-card,.usage-guide{max-width:100%;border-radius:15px}.dashboard-hero{min-height:164px;padding:18px;overflow:hidden}.dashboard-hero--patient{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;grid-gap:14px;gap:14px}.dashboard-title__desktop{display:none}.dashboard-title__mobile{display:inline}.dashboard-hero--patient>div:first-child{grid-column:2;grid-row:1;max-width:100%;min-width:0}.dashboard-title{font-size:clamp(18px,5vw,22px)!important}.dashboard-subtitle{font-size:12px;line-height:1.45}.dashboard-hero__mascot{position:relative;right:auto;bottom:auto;grid-column:1;grid-row:1;width:96px;height:104px}.admin-dashboard-grid,.admin-drug-grid,.admin-pharmacist-grid,.dashboard-grid,.dashboard-summary-row,.emergency-cards,.history-grid,.med-detail-content,.med-detail-overview,.profile-details-grid,.review-layout{grid-template-columns:minmax(0,1fr)!important}.dashboard-summary-row{gap:10px}.dashboard-summary-row>div{min-width:0}.interaction-guide,.mascot-tip,.prescription-guide{align-items:flex-start;gap:12px;padding:14px}.interaction-guide__fox,.mascot-tip__image,.prescription-guide__fox{width:64px;height:64px;flex:0 0 64px}.interaction-workspace,.prescription-board,.prescription-board--slider,.prescription-board-wrap{width:100%;max-width:100%;min-width:0}.interaction-workspace,.prescription-board,.prescription-board--slider{grid-template-columns:minmax(0,1fr)!important}.interaction-result,.interaction-selection,.prescription-panel,.profile-details-card{padding:15px}.interaction-detail-tabs__nav,.profile-tabs,.tt-severity-strip{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.interaction-detail-tabs__nav::-webkit-scrollbar,.profile-tabs::-webkit-scrollbar,.tt-severity-strip::-webkit-scrollbar{display:none}.interaction-detail-tabs__nav button,.profile-tabs__item,.tt-severity-strip>*{flex:0 0 auto}.tt-graph-canvas,.tt-graph-canvas svg{min-height:360px;height:360px}.interaction-result,.profile-interaction-result,.review-layout__main,.review-layout__sidebar{height:auto!important;max-height:none!important;overflow:visible!important}.pharmacist-review-page{overflow-x:hidden}.pharmacist-review-page .review-layout{display:flex;flex-direction:column;width:100%;max-width:100%;gap:14px}.pharmacist-review-page .profile-medications,.pharmacist-review-page .review-layout__main,.pharmacist-review-page .review-layout__sidebar{width:100%;max-width:100%;min-width:0}.pharmacist-review-page .prescription-board--slider{display:flex;gap:12px;padding:2px 2px 10px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-left:2px;touch-action:pan-x;-webkit-overflow-scrolling:touch}.pharmacist-review-page .prescription-board--slider .prescription-panel{flex:0 0 min(82vw,300px);width:min(82vw,300px);max-width:min(82vw,300px);min-width:0;scroll-snap-align:start}.pharmacist-review-page .disease-scope-note p,.pharmacist-review-page .field p,.pharmacist-review-page .selected-medication,.pharmacist-review-page .selected-medication strong{max-width:100%;min-width:0;overflow-wrap:anywhere;white-space:normal}.contact-row{grid-template-columns:auto minmax(0,1fr);align-items:start}.contact-row__actions{grid-column:1/-1;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.contact-row__actions a{justify-content:center}.med-detail-content,.med-detail-overview{display:grid}.med-detail-facts,.med-schedule,.side-effect-card,.usage-guide{min-width:0}.med-fact-grid,.med-history-table{grid-template-columns:minmax(0,1fr)!important}.admin-page{width:100%;padding:20px 14px 32px}.admin-data-summary__grid,.admin-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-data-summary__grid>div,.admin-stat-card{min-width:0;min-height:104px;padding:13px}.admin-toolbar,.admin-toolbar--tabs{width:100%;padding:13px}.admin-segmented{width:100%;overflow-x:auto}.admin-segmented button{min-width:max-content}.admin-table-wrap{max-width:100%;border-radius:14px;-webkit-overflow-scrolling:touch}.admin-table{min-width:760px}.admin-feedback-card,.admin-pharmacist-card{padding:16px}.admin-feedback-card__top .admin-status{margin-left:0}.admin-modal-backdrop{align-items:end;padding:12px}.admin-modal{max-height:calc(100svh - 24px);padding:20px 16px calc(20px + env(safe-area-inset-bottom, 0px));overflow-y:auto;border-radius:20px}button,input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%}input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}dd,h1,h2,h3,li,p,span,strong,td{overflow-wrap:break-word}}@media (max-width:390px){.admin-page,.app-content>main,.pharmacist-content>main{padding-inline:11px}.admin-header,.patient-header{padding-right:9px;padding-left:60px}.patient-header .theme-toggle{width:56px}.patient-header .theme-toggle--dark .theme-toggle__thumb{transform:translateX(22px)}.dashboard-hero--patient>div:first-child{max-width:100%}.dashboard-hero--patient{grid-template-columns:82px minmax(0,1fr);gap:10px}.dashboard-hero__mascot{width:82px;height:90px}.admin-data-summary__grid,.admin-stat-grid,.contact-row__actions,.med-detail-actions{grid-template-columns:minmax(0,1fr)}}.frontend-boot-gate__card,.frontend-boot-gate__copy{min-width:0}@media (max-width:560px){.frontend-boot-gate{padding:16px!important}.frontend-boot-gate__card{width:100%;max-width:360px!important;gap:12px!important;padding:16px!important;border-radius:17px!important}.frontend-boot-gate__mascot{width:62px;height:54px;flex:0 0 62px}.frontend-boot-gate__copy strong{font-size:15px!important;line-height:1.35}.frontend-boot-gate__copy span{font-size:12px!important}}