/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.table{display:table}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#090d0b;--sidebar:#0b110e;--surface:#111814;--surface-soft:#151f19;--surface-raised:#19251e;--line:#b1d6be1a;--line-strong:#78e2a43d;--text:#f4f8f5;--muted:#8d9d93;--mint:#7be3a6;--teal:#45d4c5;--blue:#63a9ff;--danger:#ff6d77;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}body{background:var(--bg);min-width:320px;color:var(--text)}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--mint);outline-offset:3px}.portal-icon{flex:none;width:20px;height:20px;display:block}.portal-shell{background:radial-gradient(circle at 94% 4%, #45d4c50d, transparent 22rem), var(--bg);min-height:100vh}.ems-shell{grid-template-columns:288px minmax(0,1fr);display:grid}.samd-shell{display:block}.sidebar-shell{z-index:30;border-right:1px solid var(--line);background:#0a100df5;flex-direction:column;height:100dvh;display:flex;position:sticky;top:0}.sidebar-brand{border-bottom:1px solid var(--line);align-items:center;gap:13px;min-height:84px;padding:18px 20px;display:flex}.medical-mark{background:#7be3a614;border:1px solid #7be3a647;border-radius:12px;width:38px;height:38px;position:relative;box-shadow:inset 0 0 20px #45d4c50d}.medical-mark span{background:linear-gradient(135deg, var(--mint), var(--teal));border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.medical-mark span:first-child{width:18px;height:5px}.medical-mark span:last-child{width:5px;height:18px}.sidebar-brand>div:nth-child(2){flex-direction:column;display:flex}.sidebar-brand strong{letter-spacing:.01em;font-size:15px}.sidebar-brand small{color:var(--muted);margin-top:3px;font-size:11px}.sidebar-close{background:0 0;border:0;margin-left:auto;font-size:26px;display:none}.source-switcher{border:1px solid var(--line);background:#0a0f0c;border-radius:13px;grid-template-columns:1fr 1fr;gap:7px;margin:16px 16px 8px;padding:5px;display:grid}.source-switcher button{color:var(--muted);cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:8px;padding:9px 10px;display:flex}.source-switcher button.active{background:var(--surface-raised);color:#fff;box-shadow:0 5px 16px #0000002e}.source-switcher button>span:first-child{font-size:16px}.source-switcher button>span:last-child{flex-direction:column;min-width:0;display:flex}.source-switcher strong{font-size:12px}.source-switcher small{color:#718079;text-transform:uppercase;font-size:9px}.medical-navigation{scrollbar-width:thin;scrollbar-color:#26352b transparent;flex:1;padding:8px 12px 18px;overflow-y:auto}.medical-navigation section{margin-top:19px}.medical-navigation p{color:#718078;letter-spacing:.11em;text-transform:none;margin:0 10px 8px;font-size:10px;font-weight:700}.medical-navigation button{color:#aab6af;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;width:100%;min-height:44px;margin:2px 0;padding:9px 11px;font-size:13px;transition:all .18s;display:flex}.medical-navigation button:hover{color:#d8e2dc;background:#7be3a60d}.medical-navigation button.active{color:var(--mint);box-shadow:inset 2px 0 var(--mint);background:linear-gradient(90deg,#7be3a621,#45d4c50d)}.medical-navigation button .portal-icon{color:#829088;width:18px;height:18px}.medical-navigation button.active .portal-icon{color:var(--mint)}.medical-navigation button>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.medical-navigation button>b{min-width:23px;height:23px;color:var(--mint);background:#7be3a621;border-radius:8px;place-items:center;margin-left:auto;font-size:10px;display:grid}.medical-navigation .employee-primary-action{color:#dff8e8;background:linear-gradient(135deg,#7be3a62e,#45d4c51a);border:1px solid #7be3a62e;margin:7px 0 13px}.medical-navigation .employee-primary-action:hover{background:linear-gradient(135deg,#7be3a640,#45d4c524)}.medical-navigation .employee-primary-action .portal-icon{color:var(--mint)}.dashboard-link{margin-top:4px!important}.sidebar-footer{border-top:1px solid var(--line);align-items:center;gap:8px;padding:14px 16px;display:flex}.user-chip{flex:1;align-items:center;gap:9px;min-width:0;display:flex}.user-chip>span{border:1px solid var(--line-strong);width:32px;height:32px;color:var(--mint);background:#17231c;border-radius:10px;flex:none;place-items:center;font-size:12px;font-weight:700;display:grid}.user-chip div{flex-direction:column;min-width:0;display:flex}.user-chip strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.user-chip small{color:var(--muted);font-size:10px}.logout-button{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px}.logout-button:hover{color:var(--danger);background:#ff6d7717}.logout-button .portal-icon{width:17px;height:17px}.portal-main{min-width:0}.portal-header{z-index:20;border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#090d0bdb;justify-content:space-between;align-items:center;gap:20px;min-height:84px;padding:14px clamp(20px,3vw,42px);display:flex;position:sticky;top:0}.header-title{align-items:center;gap:12px;display:flex}.header-title h1{letter-spacing:-.025em;margin:3px 0 0;font-size:clamp(19px,2vw,25px);font-weight:650}.eyebrow{color:var(--muted);letter-spacing:.13em;text-transform:uppercase;gap:7px;font-size:9px;font-weight:700;display:flex}.eyebrow span:first-child{color:var(--teal)}.eyebrow i{color:#3d4a42}.mobile-menu{background:0 0;border:0;font-size:20px;display:none}.ems-header{min-height:64px;padding-block:10px}.ems-header .header-title h1{margin:0;font-size:17px;font-weight:650}.header-divider{background:var(--line);width:1px;height:22px}.service-button{border:1px solid var(--line);color:#e0e7e2;cursor:pointer;background:#111814e6;border-radius:10px;align-items:center;gap:9px;min-height:40px;padding:0 15px;font-size:12px;font-weight:650;display:inline-flex}.service-button:hover{border-color:var(--line-strong);background:var(--surface-raised)}.service-button .portal-icon{width:17px;height:17px;color:var(--mint)}.compact-sync{border-right:0;padding-right:0}.compact-sync strong{font-size:11px}.compact-sync small{font-size:9px}.icon-button{border:1px solid var(--line);width:39px;height:39px;color:var(--mint);cursor:pointer;background:#7be3a60a;border-radius:10px;place-items:center;display:grid}.icon-button:hover{border-color:var(--line-strong);background:#7be3a617}.icon-button:disabled{cursor:wait;opacity:.55}.icon-button .portal-icon{width:17px;height:17px}.header-actions{align-items:center;gap:12px;display:flex}.ems-header .module-switch-button{color:#a8c9c1;cursor:pointer;background:#45d4c50e;border:1px solid #45d4c538;border-radius:9px;align-items:center;gap:8px;min-height:39px;padding:0 11px;font-size:11px;display:inline-flex}.ems-header .module-switch-button:hover{border-color:var(--line-strong);color:var(--mint);background:#7be3a617}.ems-header .module-switch-button .portal-icon{width:16px;height:16px}.sync-indicator{border-right:1px solid var(--line);align-items:center;gap:9px;padding-right:15px;display:flex}.sync-indicator>span{background:#63716a;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 4px #63716a1a}.sync-indicator[data-state=ready]>span{background:var(--mint);box-shadow:0 0 0 4px #7be3a61a,0 0 12px #7be3a666}.sync-indicator[data-state=degraded]>span{background:var(--danger)}.sync-indicator[data-state=reauthentication_required]>span{background:#f3bf66}.sync-indicator[data-state=syncing]>span{background:var(--blue);animation:1.2s infinite pulse}.sync-indicator div{flex-direction:column;display:flex}.sync-indicator strong{font-size:10px}.sync-indicator small{color:var(--muted);margin-top:2px;font-size:9px}.secondary-button,.primary-button,.ghost-button{cursor:pointer;border-radius:9px;min-height:39px;padding:0 14px;font-size:11px;font-weight:700;transition:all .18s}.secondary-button{border:1px solid var(--line-strong);color:var(--mint);background:#7be3a60f}.secondary-button:hover{background:#7be3a61f}.secondary-button:disabled,.primary-button:disabled{cursor:wait;opacity:.55}.secondary-button span{margin-right:6px;display:inline-block}.spinning{animation:.8s linear infinite spin}.primary-button{color:#07110c;background:linear-gradient(135deg,#6bd89a,#45c5b8);border:1px solid #7be3a657;box-shadow:0 8px 24px #45d4c51f}.primary-button.danger{background:var(--danger);color:#1a0608;border-color:#ff8790}.ghost-button{border:1px solid var(--line);color:var(--muted);background:0 0}.samd-header{z-index:25;border:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0d1813f0;border-radius:15px;grid-template-columns:minmax(300px,1fr) auto minmax(300px,1fr);align-items:center;gap:20px;min-height:78px;margin:20px clamp(20px,3vw,34px) 0;padding:12px 16px;display:grid;position:sticky;top:0;box-shadow:0 18px 50px #0003}.samd-brand-button{cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:12px;min-width:0;padding:0;display:flex}.samd-brand-button>span:last-child{flex-direction:column;min-width:0;display:flex}.samd-brand-button strong{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}.samd-brand-button small{color:var(--muted);margin-top:3px;font-size:10px}.samd-mark{flex:none}.samd-mark i{background:linear-gradient(135deg, var(--mint), var(--teal));border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.samd-mark i:first-child{width:18px;height:5px}.samd-mark i:last-child{width:5px;height:18px}.samd-current-page{min-width:0;color:var(--muted);justify-content:center;align-items:center;gap:9px;font-size:11px;display:flex}.samd-current-page button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:7px;padding:7px 9px;display:inline-flex}.samd-current-page button:hover{color:var(--mint);background:#7be3a60f}.samd-current-page .portal-icon{width:15px;height:15px}.samd-current-page strong{color:#dce5df;text-overflow:ellipsis;white-space:nowrap;max-width:240px;font-size:12px;overflow:hidden}.samd-header-actions{justify-content:flex-end;align-items:center;gap:7px;display:flex}.samd-header-actions button{border:1px solid var(--line);color:#aab7af;cursor:pointer;background:#7be3a606;border-radius:9px;align-items:center;gap:8px;min-height:38px;padding:0 11px;font-size:11px;display:inline-flex}.samd-header-actions button:hover{border-color:var(--line-strong);color:var(--mint);background:#7be3a612}.samd-header-actions .module-switch-button{color:#a8c9c1;background:#45d4c50e;border-color:#45d4c538}.samd-header-actions button:disabled{cursor:wait;opacity:.55}.samd-header-actions .portal-icon{width:16px;height:16px}.portal-content{max-width:1620px;margin:0 auto;padding:clamp(20px,3vw,42px)}.ems-shell .portal-content.patient-registry-content{max-width:none;margin:0;padding:24px}.samd-shell .portal-content{max-width:1380px;padding-top:28px}.samd-home{padding:8px 0 70px;position:relative}.samd-home:before{z-index:-1;content:"";background:radial-gradient(circle,#45d4c50b,#0000 68%);border:1px solid #7be3a606;border-radius:50%;width:min(760px,78vw);height:min(760px,78vw);position:fixed;top:120px;left:50%;transform:translate(-50%)}.samd-welcome{text-align:center;padding:20px 20px 35px}.samd-welcome>span{color:var(--teal);letter-spacing:.14em;text-transform:uppercase;font-size:10px;font-weight:750}.samd-welcome h1{letter-spacing:-.045em;margin:11px 0 5px;font-size:clamp(30px,4vw,45px);font-weight:640}.samd-welcome p{color:var(--muted);margin:0;font-size:14px}.samd-menu-section{margin:0 auto 38px}.samd-menu-section>header{border-bottom:1px solid var(--line);align-items:center;gap:11px;margin-bottom:18px;padding-bottom:12px;display:flex}.samd-menu-section>header .portal-icon{width:20px;height:20px;color:var(--mint);background:#7be3a614;border-radius:6px;padding:3px}.samd-menu-section>header h2{letter-spacing:-.015em;margin:0;font-size:17px}.samd-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 16px;display:grid}.samd-menu-tile{min-width:0;position:relative}.samd-tile-open{width:100%;min-height:180px;color:inherit;cursor:pointer;text-align:center;background:0 0;border:0;border-radius:18px;outline:none;flex-direction:column;justify-content:flex-start;align-items:center;padding:9px 14px 15px;text-decoration:none;transition:all .2s;display:flex}.samd-tile-open:hover{background:linear-gradient(#7be3a60e,#0000);transform:translateY(-2px)}.samd-round-icon{color:#81b9ff;background:linear-gradient(145deg,#63a9ff21,#45d4c512);border:1px solid #63a9ff38;border-radius:50%;place-items:center;width:88px;height:88px;margin-bottom:14px;transition:all .2s;display:grid;box-shadow:inset 0 0 28px #63a9ff0a,0 14px 35px #00000029}.samd-tile-open:hover .samd-round-icon{color:var(--mint);border-color:#7be3a65c;box-shadow:inset 0 0 28px #7be3a614,0 15px 38px #0003}.samd-round-icon .portal-icon{width:34px;height:34px}.favorite-round{color:#f3bf66;background:#f3bf6617;border-color:#f3bf664d}.samd-tile-open strong{max-width:100%;font-size:13px;line-height:1.35}.samd-tile-open small{color:#718078;margin-top:5px;font-size:10px}.favorite-toggle{z-index:2;color:#46534b;cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;width:30px;height:30px;font-size:16px;display:grid;position:absolute;top:2px;right:16px}.favorite-toggle:hover,.favorite-toggle.active{color:#f3bf66;background:#f3bf6614}.favorites-section .samd-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.overview-stack,.workspace-stack{flex-direction:column;gap:18px;display:flex}.overview-hero{border:1px solid var(--line);background:linear-gradient(115deg,#0e1c15fa,#090f0cf0),radial-gradient(circle at 70%,#45d4c533,#0000 24rem);border-radius:22px;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);min-height:300px;padding:clamp(30px,5vw,64px);display:grid;position:relative;overflow:hidden;box-shadow:0 25px 70px #0000002e}.overview-hero:before{content:"";background-image:linear-gradient(#7be3a606 1px,#0000 1px),linear-gradient(90deg,#7be3a606 1px,#0000 1px);background-size:34px 34px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(90deg,#0000,#000);mask-image:linear-gradient(90deg,#0000,#000)}.hero-copy{z-index:2;align-self:center;position:relative}.hero-badge{border:1px solid var(--line-strong);color:var(--mint);letter-spacing:.09em;text-transform:uppercase;background:#7be3a612;border-radius:99px;align-items:center;gap:7px;padding:6px 10px;font-size:9px;font-weight:750;display:inline-flex}.hero-copy h2{letter-spacing:-.055em;margin:18px 0 12px;font-size:clamp(32px,4vw,55px);font-weight:570;line-height:1.02}.hero-copy h2 em{color:var(--mint);font-style:normal;font-weight:680}.hero-copy>p{color:#9caaa1;max-width:660px;margin:0;font-size:13px;line-height:1.7}.hero-metrics{gap:30px;margin-top:30px;display:flex}.hero-metrics div{flex-direction:column;display:flex}.hero-metrics strong{letter-spacing:-.03em;font-size:21px}.hero-metrics small{color:var(--muted);text-transform:uppercase;margin-top:2px;font-size:9px}.care-visual{align-self:center;min-height:230px;position:relative}.care-cross{filter:drop-shadow(0 0 28px #45d4c52e);width:120px;height:120px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)rotate(4deg)}.care-cross:before{content:"";background:#7be3a609;border:1px solid #7be3a642;border-radius:26px;position:absolute;inset:0;transform:rotate(45deg)}.care-cross span{background:linear-gradient(135deg, var(--mint), var(--teal));border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.care-cross span:first-child{width:68px;height:20px}.care-cross span:last-child{width:20px;height:68px}.pulse-ring{border:1px solid #45d4c521;border-radius:50%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ring-one{width:210px;height:210px;animation:5s ease-in-out infinite float}.ring-two{border-style:dashed;width:290px;height:290px;animation:24s linear infinite spin-slow}.ecg-line{background:linear-gradient(90deg, transparent, var(--teal), transparent);opacity:.35;height:1px;position:absolute;top:50%;left:-35px;right:-35px}.ecg-line i{background:var(--teal);width:4px;height:4px;box-shadow:0 0 9px var(--teal);border-radius:50%;position:absolute;top:-2px}.ecg-line i:first-child{left:8%}.ecg-line i:nth-child(2){left:26%}.ecg-line i:nth-child(3){left:54%}.ecg-line i:nth-child(4){left:78%}.ecg-line i:nth-child(5){left:91%}.connection-notice{background:#63a9ff0e;border:1px solid #63a9ff29;border-radius:15px;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:16px 18px;display:grid}.notice-icon{width:38px;height:38px;color:var(--blue);background:#63a9ff1a;border-radius:11px;place-items:center;display:grid}.connection-notice strong{font-size:12px}.connection-notice p{color:var(--muted);margin:4px 0 0;font-size:10px;line-height:1.5}.connection-notice>span{color:#8ebdff;text-transform:uppercase;border:1px solid #63a9ff26;border-radius:99px;padding:6px 9px;font-size:9px}.overview-grid{grid-template-columns:minmax(0,1fr) 330px;gap:18px;display:grid}.panel{border:1px solid var(--line);background:#111814d1;border-radius:17px;box-shadow:0 15px 45px #0000001a}.panel-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 21px;display:flex}.panel-heading h3,.records-toolbar h3{letter-spacing:-.02em;margin:3px 0 0;font-size:17px;font-weight:650}.panel-heading>small{color:var(--muted);font-size:11px}.section-kicker{color:var(--teal);letter-spacing:.12em;text-transform:uppercase;font-size:10px;font-weight:750}.folder-card-grid{background:var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;padding:1px;display:grid}.folder-card{background:var(--surface);cursor:pointer;text-align:left;border:0;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;min-height:106px;padding:18px;transition:all .18s;display:grid;position:relative}.folder-card:hover{z-index:1;background:#16221a;box-shadow:inset 0 0 0 1px #7be3a624}.folder-icon{border:1px solid var(--line);background:#0d1510;border-radius:11px;place-items:center;width:38px;height:38px;font-size:17px;display:grid}.folder-copy{flex-direction:column;min-width:0;display:flex}.folder-copy strong{font-size:13px}.folder-copy small{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-top:5px;font-size:11px;line-height:1.45;display:-webkit-box;overflow:hidden}.folder-count{color:var(--mint);background:#7be3a612;border-radius:6px;align-self:flex-start;padding:4px 6px;font-size:9px}.folder-arrow{color:#526158;transition:all .18s;position:absolute;bottom:12px;right:16px}.folder-card:hover .folder-arrow{color:var(--mint);transform:translate(3px)}.overview-aside{flex-direction:column;gap:18px;display:flex}.status-pill{color:var(--muted);text-transform:uppercase;background:#8d9d9314;border-radius:99px;padding:5px 8px;font-size:8px;font-weight:700}.status-pill[data-state=ready]{color:var(--mint);background:#7be3a61a}.status-pill[data-state=degraded]{color:var(--danger);background:#ff6d771a}.status-pill[data-state=reauthentication_required]{color:#f3bf66;background:#f3bf661a}.health-panel dl{margin:0;padding:8px 21px 14px}.health-panel dl div{border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;padding:11px 0;display:flex}.health-panel dl div:last-child{border-bottom:0}.health-panel dt{color:var(--muted);font-size:9px}.health-panel dd{text-align:right;margin:0;font-size:9px;font-weight:600}.timeline{padding:10px 20px 16px}.timeline-item{grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:9px 0;display:grid}.timeline-item>span{background:#59665f;border-radius:50%;width:7px;height:7px}.timeline-item>span[data-state=succeeded]{background:var(--mint);box-shadow:0 0 8px #7be3a666}.timeline-item>span[data-state=failed]{background:var(--danger)}.timeline-item>span[data-state=reauthentication_required]{background:#f3bf66}.timeline-item div{flex-direction:column;display:flex}.timeline-item strong{font-size:9px}.timeline-item small{color:var(--muted);margin-top:2px;font-size:8px}.timeline-item b{color:var(--muted);font-size:10px}.quiet-empty{color:var(--muted);text-align:center;margin:0;padding:24px 20px;font-size:10px}.queue-panel{overflow:hidden}.queue-line{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr;gap:9px;padding:10px 20px;display:grid}.queue-line>span{color:var(--teal)}.queue-line div{flex-direction:column;display:flex}.queue-line strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.queue-line small{color:var(--muted);font-size:8px}.folder-intro{grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:24px 2px 10px;display:grid}.folder-intro-icon{border:1px solid var(--line-strong);background:linear-gradient(145deg,#7be3a61f,#45d4c509);border-radius:16px;place-items:center;width:54px;height:54px;font-size:24px;display:grid}.folder-intro h2{letter-spacing:-.04em;margin:3px 0 5px;font-size:26px}.folder-intro p{max-width:760px;color:var(--muted);margin:0;font-size:12px;line-height:1.55}.local-first-badge{border:1px solid var(--line);background:#7be3a60a;border-radius:11px;align-items:center;gap:9px;padding:9px 12px;display:flex}.local-first-badge>span{width:24px;height:24px;color:var(--mint);background:#7be3a61a;border-radius:50%;place-items:center;font-size:10px;display:grid}.local-first-badge div{flex-direction:column;display:flex}.local-first-badge strong{font-size:9px}.local-first-badge small{color:var(--muted);font-size:8px}.actions-panel{overflow:hidden}.action-grid{background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr));display:grid}.action-grid button{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface);cursor:pointer;text-align:left;grid-template-columns:auto 1fr;align-content:center;gap:3px 9px;min-height:102px;padding:16px;transition:all .18s;display:grid;position:relative}.action-grid button:hover{background:var(--surface-raised)}.action-grid button>span{border:1px solid var(--line-strong);width:30px;height:30px;color:var(--mint);background:#7be3a60f;border-radius:9px;grid-row:span 2;place-items:center;display:grid}.action-grid button strong{align-self:end;font-size:12px}.action-grid button small{color:var(--muted);font-size:10px}.action-grid button i{color:#526158;font-style:normal;position:absolute;bottom:10px;right:12px}.action-grid button.danger>span{color:var(--danger);background:#ff6d7712;border-color:#ff6d7740}.document-types{border-top:1px solid var(--line);padding:16px 20px}.document-types>span{color:var(--muted);letter-spacing:.11em;text-transform:uppercase;margin-bottom:9px;font-size:8px;font-weight:700;display:block}.document-types>div{flex-wrap:wrap;gap:6px;display:flex}.document-types button{border:1px solid var(--line);color:#9eaca3;cursor:default;background:#0e1611;border-radius:7px;padding:6px 8px;font-size:8px}.records-panel{overflow:hidden}.records-toolbar{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(240px,360px) auto;align-items:center;gap:18px;padding:18px 20px;display:grid}.medical-search{border:1px solid var(--line);background:#0b120e;border-radius:9px;align-items:center;gap:8px;height:38px;padding:0 11px;display:flex}.medical-search span{color:var(--muted)}.medical-search input{width:100%;color:var(--text);background:0 0;border:0;outline:none;font-size:12px}.record-total{color:var(--muted);font-size:11px}.records-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;min-height:270px;padding:35px;display:flex}.empty-orbit{border:1px dashed #7be3a63d;border-radius:50%;place-items:center;width:72px;height:72px;margin-bottom:17px;animation:22s linear infinite spin-slow;display:grid}.empty-orbit span{width:42px;height:42px;color:var(--mint);background:#7be3a60f;border-radius:14px;place-items:center;font-size:20px;animation:22s linear infinite reverse spin-slow;display:grid}.records-empty strong{font-size:13px}.records-empty p{max-width:480px;color:var(--muted);margin:7px 0 0;font-size:10px;line-height:1.6}.error-state>span{width:38px;height:38px;color:var(--danger);background:#ff6d7714;border-radius:50%;place-items:center;margin-bottom:12px;display:grid}.records-loading{background:var(--line);gap:1px;display:grid}.records-loading span{background:linear-gradient(90deg, var(--surface), var(--surface-raised), var(--surface));background-size:200% 100%;height:58px;animation:1.4s infinite shimmer}.record-table-wrap{overflow-x:auto}.record-table{border-collapse:collapse;width:100%}.record-table th{color:var(--muted);letter-spacing:.08em;text-align:left;text-transform:uppercase;padding:13px 17px;font-size:10px}.record-table td{border-top:1px solid var(--line);color:#a9b5ad;padding:14px 17px;font-size:12px}.record-table tbody tr{cursor:pointer;transition:all .15s}.record-table tbody tr:hover{background:#7be3a609}.record-table td:first-child{color:var(--text);align-items:center;gap:9px;display:flex}.record-avatar{width:29px;height:29px;color:var(--mint);background:#7be3a614;border-radius:8px;flex:none;place-items:center;font-size:9px;font-weight:700;display:grid}.record-table td:last-child button{color:var(--muted);cursor:pointer;background:0 0;border:0}.pagination{border-top:1px solid var(--line);justify-content:flex-end;align-items:center;gap:12px;padding:13px 17px;display:flex}.pagination button{color:var(--mint);cursor:pointer;background:0 0;border:0;font-size:9px}.pagination button:disabled{color:#465149;cursor:default}.pagination span{color:var(--muted);font-size:9px}.drawer-backdrop{z-index:60;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#020503b8;justify-content:flex-end;display:flex;position:fixed;inset:0}.detail-drawer,.action-drawer{border-left:1px solid var(--line-strong);background:#0c120f;width:min(540px,100%);height:100%;animation:.22s ease-out drawer-in;overflow-y:auto;box-shadow:-30px 0 80px #00000061}.drawer-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;min-height:86px;padding:20px 23px;display:flex}.drawer-heading h2{letter-spacing:-.03em;margin:4px 0 0;font-size:20px}.drawer-heading>button{border:1px solid var(--line);width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border-radius:9px;font-size:22px}.record-meta{flex-wrap:wrap;gap:8px;padding:18px 23px 0;display:flex}.record-meta span{border:1px solid var(--line);color:var(--muted);border-radius:6px;padding:5px 7px;font-size:8px}.record-summary{border-left:2px solid var(--teal);color:#b1beb6;background:#45d4c50a;margin:16px 23px;padding:13px;font-size:10px;line-height:1.6}.record-fields{padding:7px 23px 30px}.record-fields>div{border-bottom:1px solid var(--line);grid-template-columns:145px minmax(0,1fr);gap:16px;padding:12px 0;display:grid}.record-fields dt{color:var(--muted);font-size:9px}.record-fields dd{overflow-wrap:anywhere;white-space:pre-wrap;margin:0;font-size:10px}.record-fields dd.structured{color:#a9bbb0;background:#080d0a;border-radius:8px;padding:10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:8px;line-height:1.6}.drawer-loading{gap:10px;padding:25px;display:grid}.drawer-loading span{background:linear-gradient(90deg, var(--surface), var(--surface-raised), var(--surface));background-size:200%;border-radius:10px;height:60px;animation:1.4s infinite shimmer}.action-context{border:1px solid var(--line);background:#7be3a609;border-radius:12px;gap:12px;margin:20px 23px 0;padding:14px;display:flex}.action-context>span{width:35px;height:35px;color:var(--mint);background:#7be3a614;border-radius:10px;flex:none;place-items:center;display:grid}.action-context>span.danger{color:var(--danger);background:#ff6d7714}.action-context strong{font-size:10px}.action-context p{color:var(--muted);margin:4px 0 0;font-size:9px;line-height:1.55}.action-form{flex-direction:column;gap:15px;padding:22px 23px;display:flex}.action-form>label>span{color:#c2cdc6;justify-content:space-between;margin-bottom:7px;font-size:9px;font-weight:650;display:flex}.action-form label small{color:var(--muted);font-weight:400}.action-form input,.action-form textarea{border:1px solid var(--line);width:100%;color:var(--text);background:#090f0c;border-radius:9px;outline:none;font-size:10px}.action-form input{height:42px;padding:0 11px}.action-form textarea{resize:vertical;padding:11px}.action-form input:focus,.action-form textarea:focus{border-color:#45d4c56b;box-shadow:0 0 0 3px #45d4c50f}.danger-confirm{background:#ff6d770a;border:1px solid #ff6d772e;border-radius:9px;align-items:flex-start;gap:9px;padding:12px;display:flex}.danger-confirm input{width:15px;height:15px;accent-color:var(--danger);flex:none;margin:1px 0 0}.danger-confirm span{line-height:1.5;color:#e5b3b7!important;margin:0!important;font-weight:400!important}.form-note{color:#91a39a;background:#63a9ff0a;border-radius:8px;gap:8px;padding:10px;font-size:8px;line-height:1.5;display:flex}.form-note span{color:var(--blue)}.drawer-actions{justify-content:flex-end;gap:8px;padding-top:6px;display:flex}.portal-toast{z-index:80;border:1px solid var(--line-strong);color:#dce7df;background:#142119;border-radius:11px;align-items:center;gap:9px;max-width:min(420px,100vw - 40px);padding:12px 15px;font-size:10px;display:flex;position:fixed;bottom:24px;right:24px;box-shadow:0 18px 50px #00000061}.portal-toast span{width:22px;height:22px;color:var(--mint);background:#7be3a61a;border-radius:50%;place-items:center;display:grid}.global-error{color:#efafb4;background:#ff6d770d;border:1px solid #ff6d7733;border-radius:9px;margin:18px clamp(20px,3vw,42px) 0;padding:11px 14px;font-size:10px}.portal-loading,.fatal-state{background:var(--bg);text-align:center;place-content:center;justify-items:center;min-height:100vh;display:grid}.medical-loader{width:48px;height:48px;animation:1.5s ease-in-out infinite breathe;position:relative}.medical-loader span{background:linear-gradient(135deg, var(--mint), var(--teal));border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.medical-loader span:first-child{width:44px;height:12px}.medical-loader span:last-child{width:12px;height:44px}.portal-loading p{color:var(--muted);font-size:11px}.fatal-state>span{color:var(--mint);font-size:48px}.fatal-state h1{margin:14px 0 6px;font-size:24px}.fatal-state p{color:var(--muted);margin:0 0 18px;font-size:11px}.login-screen{background:linear-gradient(90deg,#050907f7,#080e0bd6),url(/medical-assets/og.png) 50%/cover;place-items:center;min-height:100vh;padding:30px 20px;display:grid;position:relative;overflow:hidden}.login-ambient{border:1px solid #45d4c50d;border-radius:50%;width:620px;height:620px;animation:8s ease-in-out infinite float;position:absolute;box-shadow:0 0 120px #45d4c512}.login-card{z-index:2;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);text-align:center;background:#090f0ce8;border:1px solid #b1d6be21;border-radius:24px;width:min(510px,100%);padding:clamp(28px,5vw,48px);position:relative;box-shadow:0 30px 100px #0000008c}.login-brand{justify-content:center;align-items:center;gap:10px;display:flex}.login-brand img{object-fit:contain;width:34px;height:34px}.login-brand div{text-align:left;flex-direction:column;display:flex}.login-brand strong{font-size:12px}.login-brand small{color:var(--muted);font-size:9px}.login-cross{border:1px solid var(--line-strong);background:#7be3a60d;border-radius:20px;width:66px;height:66px;margin:28px auto 21px;position:relative}.login-cross span{background:linear-gradient(135deg, var(--mint), var(--teal));border-radius:99px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.login-cross span:first-child{width:34px;height:10px}.login-cross span:nth-child(2){width:10px;height:34px}.login-cross i{border:1px dashed #7be3a621;border-radius:24px;animation:18s linear infinite spin-slow;position:absolute;inset:-9px}.login-kicker{color:var(--teal);letter-spacing:.14em;text-transform:uppercase;font-size:8px;font-weight:750}.login-card h1{letter-spacing:-.05em;margin:12px 0;font-size:clamp(29px,5vw,42px);font-weight:570;line-height:1.08}.login-card h1 em{color:var(--mint);font-style:normal;font-weight:680}.login-card>p{color:#98a79e;margin:0 auto;font-size:11px;line-height:1.7}.discord-login{color:#dce9ff;cursor:pointer;background:linear-gradient(135deg,#63a9ff30,#5b6fde21);border:1px solid #63a9ff3d;border-radius:11px;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;width:100%;min-height:48px;margin-top:25px;padding:0 15px;font-size:11px;font-weight:700;text-decoration:none;display:grid}.discord-login:hover{border-color:#63a9ff6b;transform:translateY(-1px)}.discord-login>span{font-size:17px}.discord-login i{font-style:normal}.login-message{color:#b7c7bd!important;margin-top:12px!important;font-size:9px!important}.manual-login-link{color:#bcd5ff;border:1px solid #63a9ff4d;border-radius:8px;margin-top:10px;padding:8px 12px;font-size:9px;font-weight:700;text-decoration:none;display:inline-flex}.manual-login-link:hover{color:#edf4ff;border-color:#63a9ff8c}.device-login-panel{background:#060b09b8;border:1px solid #63a9ff33;border-radius:13px;gap:10px;margin-top:22px;padding:16px;display:grid}.device-login-panel>strong{color:#dce9ff;font-size:11px}.device-login-panel>p{color:var(--muted);margin:0;font-size:9px;line-height:1.55}.device-login-code{color:var(--mint);letter-spacing:.09em;background:#070c09;border:1px dashed #7be3a661;border-radius:10px;padding:12px;font:800 clamp(23px,7vw,34px)/1 ui-monospace,SFMono-Regular,Consolas,monospace}.device-login-url{border:1px solid var(--line);color:#91a39a;background:#070c09;border-radius:8px;outline:none;width:100%;min-height:38px;padding:0 10px;font:600 9px ui-monospace,SFMono-Regular,Consolas,monospace}.device-login-panel .manual-login-link{justify-content:center;margin:0}.device-login-restart{border:1px solid var(--line);color:#b9c8bf;cursor:pointer;background:#7be3a609;border-radius:8px;min-height:36px;font-family:inherit;font-size:9px;font-weight:700}.device-login-restart:disabled{cursor:wait;opacity:.45}.login-security{border:1px solid var(--line);text-align:left;background:#7be3a606;border-radius:10px;align-items:center;gap:9px;margin-top:20px;padding:12px;display:flex}.login-security>span{color:var(--mint)}.login-security div{flex-direction:column;display:flex}.login-security strong{font-size:9px}.login-security small{color:var(--muted);margin-top:2px;font-size:8px}.domain-links{border-top:1px solid var(--line);justify-content:center;gap:16px;margin-top:26px;padding-top:18px;display:flex}.domain-links a,.domain-links span{color:#6f7e75;font-size:8px;text-decoration:none}.domain-links a:hover{color:var(--mint)}.domain-links span{color:#aebbb3}.sidebar-backdrop{display:none}.toast-enter-active,.toast-leave-active{transition:all .22s}.toast-enter-from,.toast-leave-to{opacity:0;transform:translateY(10px)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes spin-slow{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes breathe{50%{filter:drop-shadow(0 0 15px #45d4c566);transform:scale(1.05)}}@keyframes float{50%{transform:translateY(-8px)}}@keyframes shimmer{to{background-position:-200% 0}}@keyframes drawer-in{0%{opacity:0;transform:translate(30px)}}body.embedded-phone{min-width:0}body.embedded-phone .login-screen{place-items:start center;min-height:100dvh;padding:10px;overflow-y:auto}body.embedded-phone .login-ambient{display:none}body.embedded-phone .login-card{border-radius:16px;width:100%;padding:20px 14px}body.embedded-phone .login-cross{width:52px;height:52px;margin:18px auto 16px}body.embedded-phone .login-card h1{font-size:28px}body.embedded-phone .domain-links{gap:9px}body.embedded-phone .ems-shell{display:block}body.embedded-phone .sidebar-shell{width:min(320px,88vw);transition:transform .23s;position:fixed;left:0;transform:translate(-105%)}body.embedded-phone .sidebar-mobile-open{transform:translate(0)}body.embedded-phone .sidebar-backdrop{z-index:25;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000009e;border:0;display:block;position:fixed;inset:0}body.embedded-phone .sidebar-close,body.embedded-phone .mobile-menu{display:block}body.embedded-phone .ems-header .module-switch-button span{display:none}body.embedded-phone .portal-content,body.embedded-phone .samd-shell .portal-content{padding:14px}body.embedded-phone .samd-header{grid-template-columns:1fr;margin:10px 10px 0;padding:12px;position:relative}body.embedded-phone .samd-current-page{display:none}body.embedded-phone .samd-header-actions{border-top:1px solid var(--line);justify-content:flex-start;padding-top:10px;overflow-x:auto}body.embedded-phone .samd-header-actions button{flex:none;min-height:42px}body.embedded-phone .samd-header-actions button span{display:none}body.embedded-phone .samd-tile-grid,body.embedded-phone .favorites-section .samd-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 5px}body.embedded-phone .samd-tile-open{min-height:156px;padding-inline:7px}body.embedded-phone .overview-hero{grid-template-columns:1fr;min-height:390px;padding:27px 22px}body.embedded-phone .hero-copy h2{font-size:34px}body.embedded-phone .care-visual{opacity:.4;width:300px;position:absolute;bottom:-65px;right:-80px;transform:scale(.8)}body.embedded-phone .folder-card-grid,body.embedded-phone .overview-aside,body.embedded-phone .action-grid{grid-template-columns:1fr}body.embedded-phone .records-toolbar{grid-template-columns:1fr auto}body.embedded-phone .medical-search{grid-area:2/1/auto/-1}body.embedded-phone .record-table th:nth-child(2),body.embedded-phone .record-table td:nth-child(2){display:none}body.embedded-phone .portal-toast{bottom:12px;left:12px;right:12px}@media (width<=1180px){.samd-header{grid-template-columns:minmax(260px,1fr) auto}.samd-current-page{display:none}.samd-tile-grid,.favorites-section .samd-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.overview-aside{grid-template-columns:repeat(2,1fr);display:grid}.queue-panel{grid-column:1/-1}.action-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=900px){.ems-shell{display:block}.sidebar-shell{width:min(320px,88vw);transition:transform .23s;position:fixed;left:0;transform:translate(-105%)}.sidebar-mobile-open{transform:translate(0)}.sidebar-backdrop{z-index:25;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0000009e;border:0;display:block;position:fixed;inset:0}.sidebar-close,.mobile-menu{display:block}.samd-header{grid-template-columns:1fr;margin:12px 14px 0;position:relative}.samd-header-actions{border-top:1px solid var(--line);justify-content:flex-start;padding-top:10px;overflow-x:auto}.samd-header-actions button{flex:none}.samd-shell .portal-content{padding:20px}.samd-tile-grid,.favorites-section .samd-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-hero{grid-template-columns:1fr}.care-visual{opacity:.4;width:300px;position:absolute;bottom:-45px;right:-55px}.hero-copy{max-width:620px}.action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.portal-header{min-height:72px;padding:12px 15px}.header-actions .sync-indicator{display:none}.ems-header .module-switch-button{justify-content:center;width:40px;padding:0}.ems-header .module-switch-button span{display:none}.secondary-button{white-space:nowrap;width:40px;padding:0 11px;overflow:hidden}.secondary-button span{margin-right:20px}.portal-content{padding:15px}.samd-shell .portal-content{padding:14px}.samd-header{margin:10px 10px 0;padding:12px}.samd-brand-button strong{font-size:13px}.samd-brand-button small{font-size:9px}.samd-header-actions button{min-height:42px}.samd-header-actions button span{display:none}.samd-header-actions button .portal-icon{width:18px;height:18px}.samd-welcome{padding:18px 8px 30px}.samd-welcome h1{font-size:30px}.samd-menu-section{margin-bottom:30px}.samd-menu-section>header h2{font-size:15px}.samd-tile-grid,.favorites-section .samd-tile-grid{gap:12px 5px}.samd-tile-open{min-height:156px;padding-inline:7px}.samd-round-icon{width:74px;height:74px}.samd-round-icon .portal-icon{width:29px;height:29px}.samd-tile-open strong{font-size:12px}.samd-tile-open small{font-size:9px}.favorite-toggle{right:5px}.compact-sync{display:none}.service-button{padding:0 10px}.service-button .portal-icon{margin-right:0}.overview-hero{min-height:390px;padding:27px 22px}.hero-copy h2{font-size:34px}.hero-metrics{gap:20px}.care-visual{bottom:-65px;right:-80px;transform:scale(.8)}.connection-notice{grid-template-columns:auto 1fr}.connection-notice>span{display:none}.folder-card-grid,.overview-aside{grid-template-columns:1fr}.folder-card{min-height:96px}.folder-intro{grid-template-columns:auto 1fr}.local-first-badge{grid-column:1/-1;justify-self:stretch}.action-grid{grid-template-columns:1fr}.records-toolbar{grid-template-columns:1fr auto}.medical-search{grid-area:2/1/auto/-1}.record-table th:nth-child(2),.record-table td:nth-child(2){display:none}.record-fields>div{grid-template-columns:1fr;gap:6px}.portal-toast{bottom:15px;right:15px}.domain-links{gap:10px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.novi-workspace{gap:15px;display:grid}.novi-command{border:1px solid var(--line-strong);background:linear-gradient(135deg,#15211bfa,#0c1410fa);border-radius:14px;justify-content:space-between;align-items:center;gap:24px;min-height:92px;padding:19px 22px;display:flex;box-shadow:0 18px 48px #0000002e}.novi-command>div{grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;display:grid}.novi-command h2{letter-spacing:-.03em;margin:0;font-size:20px}.novi-command p{color:var(--muted);grid-column:1/-1;margin:3px 0 0;font-size:11px}.novi-emergency-badge{color:#ff8b94;letter-spacing:.12em;text-transform:uppercase;background:#ff5a671a;border:1px solid #ff5a6752;border-radius:999px;padding:4px 8px;font-size:8px;font-weight:850}.novi-trigger{color:#ffb0b6;cursor:pointer;background:#ff5a671a;border:1px solid #ff5a6757;border-radius:9px;min-height:40px;padding:0 14px;font-size:10px;font-weight:750}.novi-trigger:hover{color:#fff;background:#ff5a6729}.novi-slot-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.novi-slot{border:1px solid var(--line);background:#111914d1;border-radius:12px;min-height:92px;padding:14px 16px}.novi-slot header{color:var(--muted);justify-content:space-between;align-items:center;font-size:9px;display:flex}.novi-slot header b{background:#8d9d9314;border-radius:999px;align-items:center;gap:5px;padding:3px 7px;font-weight:650;display:inline-flex}.novi-slot header i{border:1px solid #738078;border-radius:50%;width:6px;height:6px}.novi-slot>strong{margin-top:14px;font-size:13px;display:block}.novi-slot>small{color:#718078;margin-top:3px;font-size:9px;display:block}.novi-history{border:1px solid var(--line);background:#0a100d9e;border-radius:14px;overflow:hidden}.novi-history-toolbar{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(240px,360px) auto;align-items:center;gap:16px;padding:16px 18px;display:grid}.novi-history-toolbar h3{margin:3px 0 0;font-size:16px}.novi-search{height:36px}.novi-incident-list{gap:7px;padding:10px;display:grid}.novi-incident{background:#111a15;border:1px solid #b1d6be1f;border-radius:10px;transition:border-color .16s,background .16s;overflow:hidden}.novi-incident:hover,.novi-incident.open{background:#142019;border-color:#7be3a640}.novi-incident-summary{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;width:100%;min-height:50px;padding:9px 12px;display:grid}.novi-incident-meta{align-items:center;gap:10px;min-width:0;display:flex}.novi-incident-meta time{color:#9baba1;font-variant-numeric:tabular-nums;flex:none;font-size:9px}.novi-incident-meta small{color:#7f8d85;flex:none;font-size:9px}.novi-incident-meta strong{color:#edf4ef;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.novi-counts{align-items:center;gap:7px;display:flex}.novi-counts b{text-align:center;border-radius:999px;min-width:42px;padding:4px 7px;font-size:8px}.novi-counts .ua{color:#ff7f8a;background:#ff4b5b21}.novi-counts .ur{color:#ffab5c;background:#ff9d3c21}.novi-counts .dcd{color:#aebac5;background:#95a6b81c}.novi-counts small{color:#9caaa2;white-space:nowrap;font-size:9px}.novi-counts i{color:#8ca096;margin-left:3px;font-style:normal;transition:transform .18s}.novi-incident.open .novi-counts i{transform:rotate(180deg)}.novi-incident-detail{border-top:1px solid var(--line);padding:12px}.novi-closed-by{color:#9eada4;margin-bottom:10px;font-size:9px}.novi-detail-loading{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.novi-detail-loading span{background:linear-gradient(90deg,#152019,#1d2b22,#152019) 0 0/200%;border-radius:9px;height:170px;animation:1.4s infinite shimmer}.novi-triage-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px;display:grid}.novi-triage-column{border:1px solid var(--line);background:#0a0f0c9e;border-radius:10px;overflow:hidden}.novi-triage-column>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:40px;padding:0 12px;display:flex}.novi-triage-column>header strong{letter-spacing:.06em;text-transform:uppercase;font-size:9px}.novi-triage-column>header b{font-size:11px}.novi-triage-column.ua>header{color:#ff7f8a;background:#ff4b5b12}.novi-triage-column.ur>header{color:#ffab5c;background:#ff9d3c12}.novi-triage-column.dcd>header{color:#b9c4ce;background:#95a6b812}.novi-victim-list{gap:7px;padding:7px;display:grid}.novi-victim-list>article{background:#17211b;border:1px solid #b1d6be14;border-radius:8px;padding:11px;box-shadow:0 7px 18px #00000014}.novi-victim-heading{align-items:center;gap:6px;display:flex}.novi-victim-heading strong{color:#f2f6f3;margin-right:auto;font-size:11px}.novi-victim-heading span{color:#8cbcf5;background:#63a9ff14;border-radius:4px;padding:2px 5px;font-size:7px;font-weight:800}.novi-victim-list article>small{color:#74837a;margin-top:5px;font-size:8px;display:block}.novi-victim-list article>p{color:#b8c3bc;white-space:pre-line;margin:9px 0;font-size:10px;line-height:1.55}.novi-victim-list footer{flex-wrap:wrap;align-items:center;gap:5px;display:flex}.novi-victim-list footer span,.novi-victim-list footer b,.novi-victim-list footer i{color:#87cba2;background:#7be3a60f;border-radius:5px;padding:3px 6px;font-size:7px;font-style:normal;font-weight:750}.novi-victim-list footer b{color:#d4ba71}.novi-victim-list footer i{color:#aab5ae}.novi-no-victim{color:#68776f;text-align:center;margin:0;padding:22px 12px;font-size:9px}.novi-incident-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:10px;padding-top:10px;display:flex}.novi-incident-actions button{border:1px solid var(--line);color:#aebbb3;cursor:pointer;background:#18231c;border-radius:7px;min-height:34px;padding:0 10px;font-size:8px;font-weight:700}.novi-incident-actions button.danger{color:#ff929a;border-color:#ff6d7740}@media (width<=980px){.novi-history-toolbar{grid-template-columns:1fr auto}.novi-search{grid-area:2/1/auto/-1}.novi-triage-grid,.novi-detail-loading{grid-template-columns:1fr}.novi-detail-loading span:not(:first-child){display:none}}@media (width<=680px){.novi-command{flex-direction:column;align-items:flex-start}.novi-trigger{width:100%}.novi-slot-grid{grid-template-columns:1fr}.novi-incident-summary{grid-template-columns:1fr;gap:8px}.novi-incident-meta{flex-wrap:wrap;gap:4px 8px}.novi-incident-meta strong{white-space:normal;flex-basis:100%}.novi-counts{flex-wrap:wrap;justify-content:flex-start}.novi-counts i{margin-left:auto}}body.embedded-phone .novi-slot-grid,body.embedded-phone .novi-triage-grid{grid-template-columns:1fr}body.embedded-phone .novi-incident-summary{grid-template-columns:1fr;gap:8px}body.embedded-phone .novi-incident-meta{flex-wrap:wrap}body.embedded-phone .novi-incident-meta strong{white-space:normal;flex-basis:100%}body.embedded-phone .novi-counts{flex-wrap:wrap;justify-content:flex-start}.hostage-workspace,.patient-workspace,.document-workspace,.structured-workspace{flex-direction:column;gap:16px;display:flex}.hostage-command,.patient-registry-heading,.document-heading,.structured-heading{border:1px solid var(--line);background:linear-gradient(115deg,#0f1b15f5,#0a110deb);border-radius:16px;justify-content:space-between;align-items:center;gap:24px;min-height:108px;padding:24px;display:flex}.hostage-kicker{color:#f2b96c;letter-spacing:.13em;text-transform:uppercase;font-size:9px;font-weight:800}.hostage-command h2,.patient-registry-heading h2,.document-heading h2,.structured-heading h2{letter-spacing:-.035em;margin:5px 0 4px;font-size:clamp(22px,3vw,30px)}.hostage-command p,.patient-registry-heading p,.document-heading p,.structured-heading p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.hostage-new,.patient-primary-actions button{color:#f6c889;cursor:pointer;background:#f2b96c17;border:1px solid #f2b96c4d;border-radius:9px;min-height:42px;padding:0 15px;font-size:10px;font-weight:750}.hostage-live{border:1px solid var(--line);background:#111814b8;border-radius:12px;align-items:center;gap:12px;padding:14px 17px;display:flex}.hostage-live-dot{border:2px solid #5e6c64;border-radius:50%;width:9px;height:9px}.hostage-live div{flex-direction:column;display:flex}.hostage-live strong{font-size:10px}.hostage-live small{color:var(--muted);margin-top:3px;font-size:9px}.hostage-history{border:1px solid var(--line);background:#0c120ec7;border-radius:16px;overflow:hidden}.hostage-toolbar{border-bottom:1px solid var(--line);grid-template-columns:1fr minmax(240px,360px) auto;align-items:center;gap:16px;padding:18px;display:grid}.hostage-toolbar h3{margin:3px 0 0;font-size:17px}.hostage-list{padding:8px}.hostage-day+.hostage-day{margin-top:13px}.hostage-day-header{justify-content:space-between;align-items:center;gap:12px;padding:10px 9px 8px;display:flex}.hostage-day-header strong{color:#c7d2cb;font-size:10px}.hostage-day-header span{color:var(--muted);text-transform:uppercase;font-size:8px}.hostage-incident{border:1px solid var(--line);background:#131d17b3;border-radius:8px;margin-bottom:5px;overflow:hidden}.hostage-incident.open{border-color:#f2b96c3d}.hostage-summary{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:62px minmax(0,1fr) auto 18px;align-items:center;gap:13px;width:100%;min-height:58px;padding:10px 13px;display:grid}.hostage-summary time{color:#a9b8af;font:700 11px ui-monospace,monospace}.hostage-summary>span{flex-direction:column;min-width:0;display:flex}.hostage-summary strong{text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.hostage-summary small{color:var(--muted);margin-top:3px;font-size:9px}.hostage-summary>b{color:#f3c17c;background:#f2b96c1a;border-radius:99px;padding:5px 8px;font-size:9px}.hostage-summary>i{color:var(--muted);font-style:normal;transition:all .18s}.hostage-incident.open .hostage-summary>i{transform:rotate(180deg)}.hostage-detail{border-top:1px solid var(--line);background:#070c096b;padding:14px}.hostage-closed-by{color:var(--muted);margin-bottom:10px;font-size:8px}.hostage-closed-by strong{color:#bac6be;font-weight:650}.hostage-victim-list{gap:7px;display:grid}.hostage-victim{border:1px solid var(--line);background:#141f18bf;border-radius:8px;grid-template-columns:minmax(125px,.55fr) minmax(0,1.8fr) auto;align-items:start;gap:10px;padding:11px;display:grid}.hostage-victim>header{flex-direction:column;gap:4px;min-width:0;display:flex}.hostage-victim>header strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;overflow:hidden}.hostage-victim>header span{color:var(--muted);text-transform:uppercase;font-size:7px}.hostage-needs{flex-wrap:wrap;gap:5px;min-width:0;display:flex}.hostage-needs span{color:#9caf9f;background:#7be3a60e;border-radius:6px;padding:5px 7px;font-size:7px;line-height:1.35}.hostage-needs span.yes{color:#f0a4aa;background:#ff6d7717}.hostage-needs span.unknown{color:#829087;background:#8d9d930f}.hostage-identity{display:contents}.hostage-identity>button{color:#8db8ee;cursor:pointer;white-space:nowrap;background:#63a9ff0e;border:1px solid #63a9ff2e;border-radius:6px;min-height:28px;padding:0 8px;font-size:7px}.hostage-identity>button span{margin-right:4px}.hostage-identity-content{border:1px solid var(--line);background:#090f0c;border-radius:7px;grid-column:1/-1;margin-top:8px;padding:8px}.hostage-identity-content img{object-fit:contain;border-radius:5px;width:min(100%,720px);max-height:620px;margin:auto;display:block}.hostage-identity-content textarea{resize:vertical;border:1px solid var(--line);color:#bdc8c0;background:#080d0a;border-radius:6px;width:min(100%,720px);min-height:120px;font-size:8px}.hostage-identity-content p{color:var(--muted);margin:0;font-size:8px}.hostage-actions{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px;padding-top:12px;display:flex}.hostage-actions button{border:1px solid var(--line);color:#aab8af;cursor:pointer;background:0 0;border-radius:8px;min-height:34px;padding:0 10px;font-size:8px}.hostage-actions button.danger{color:var(--danger);border-color:#ff6d7740}.hostage-no-detail,.hostage-detail-error{color:var(--muted);text-align:center;background:#8d9d930d;border-radius:8px;margin:0;padding:14px;font-size:9px}.patient-workspace{gap:24px}.patient-registry-heading{background:0 0;border:0;border-radius:0;justify-content:space-between;align-items:center;gap:20px;min-height:auto;padding:0;display:flex}.patient-registry-heading h2{letter-spacing:-.035em;margin:0;font-size:clamp(24px,2.2vw,32px);font-weight:750}.patient-registry-heading p{color:var(--muted);margin:5px 0 0;font-size:14px}.patient-primary-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.patient-primary-actions button{border:1px solid var(--line);color:#e4ece7;cursor:pointer;background:#111814d6;border-radius:8px;align-items:center;gap:8px;min-height:38px;padding:0 14px;font-size:12px;font-weight:650;display:inline-flex}.patient-primary-actions button.primary{color:#07110c;background:linear-gradient(135deg,#68cc93f2,#3aab94f2);border-color:#7be3a657}.patient-filter-panel{background:0 0;border:0;border-radius:0;align-items:center;gap:8px;padding:0;display:flex}.patient-search{border:1px solid var(--line);background:#0e1411d1;border-radius:9px;flex:1;align-items:center;gap:9px;min-width:0;height:40px;padding:0 12px;display:flex}.patient-search .portal-icon{width:17px;height:17px;color:var(--muted)}.patient-search input{min-width:0;color:var(--text);background:0 0;border:0;outline:0;flex:1;font-size:13px}.patient-search button{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;font-size:18px}.patient-selects{gap:8px;display:flex}.patient-selects select{border:1px solid var(--line);color:#dce5df;background:#0e1511;border-radius:9px;outline:none;min-width:180px;height:40px;padding:0 34px 0 12px;font-size:12px}.patient-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.patient-card{border:1px solid var(--line);cursor:pointer;background:#0d1310e6;border-radius:13px;outline:none;flex-direction:column;min-width:0;min-height:430px;padding:0;transition:all .16s;display:flex;position:relative;overflow:visible}.patient-card:hover,.patient-card:focus-visible{border-color:var(--line-strong);background:#111a14f5;transform:translateY(-1px);box-shadow:0 12px 32px #0003}.patient-card.unhealthy{border:2px solid #ff5763d1}.patient-watch{z-index:2;color:#fff;white-space:nowrap;background:#df4651;border-radius:99px;padding:4px 12px;font-size:11px;font-weight:700;position:absolute;top:-12px;left:50%;transform:translate(-50%)}.patient-card>header{justify-content:space-between;align-items:flex-start;gap:12px;min-height:88px;padding:24px 24px 14px;display:flex}.patient-card h3{letter-spacing:-.02em;margin:0;font-size:18px;font-weight:700;line-height:1.35}.patient-card>header small{color:var(--muted);margin-top:6px;font-size:13px;display:block}.patient-type{color:#8ebcff;background:#63a9ff2e;border-radius:99px;flex:none;padding:4px 8px;font-size:11px;font-weight:650}.patient-card-body{flex-direction:column;flex:1;padding:18px 24px 8px;display:flex}.patient-details-grid{grid-template-columns:1fr 1fr;gap:14px 20px;display:grid}.patient-detail{color:#d3ddd7;align-items:center;gap:10px;min-width:0;font-size:13px;line-height:1.35;display:flex}.patient-detail .portal-icon{color:#b8c5bd;width:17px;height:17px}.patient-detail span{overflow-wrap:anywhere;min-width:0}.patient-detail b{border:1px solid var(--line);color:#dbe4df;border-radius:99px;margin-left:4px;padding:3px 7px;font-size:11px}.patient-allergies{color:#d6dfda;margin-top:18px}.patient-allergies strong{font-size:13px}.patient-allergies p{color:#c0cbc4;-webkit-line-clamp:2;background:#8d9d9314;border-radius:8px;-webkit-box-orient:vertical;min-height:39px;margin:8px 0 0;padding:10px 12px;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.patient-interventions{color:var(--muted);align-items:center;gap:9px;padding:10px 24px 16px;font-size:12px;display:flex}.patient-interventions .portal-icon{width:16px;height:16px}.patient-card>footer{gap:8px;padding:0 24px 22px;display:flex}.patient-card>footer button{cursor:pointer;border-radius:7px;flex:1;justify-content:center;align-items:center;gap:7px;min-height:34px;font-size:12px;font-weight:650;display:inline-flex}.patient-card>footer .portal-icon{width:15px;height:15px}.patient-edit{border:1px solid var(--line);color:#e0e8e3;background:0 0}.patient-details-button{color:#06100b;background:linear-gradient(135deg,#69c28feb,#3da58feb);border:1px solid #7be3a652}.patient-skeleton{background:linear-gradient(90deg, var(--surface), var(--surface-raised), var(--surface));background-size:200%;height:430px;animation:1.4s infinite shimmer}.patient-pagination{flex-wrap:wrap;justify-content:center;align-items:center;gap:4px;display:flex}.patient-pagination button{color:#c7d1cb;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:center;align-items:center;gap:5px;min-width:36px;height:36px;padding:0 10px;font-size:12px;display:inline-flex}.patient-pagination button:hover:not(:disabled){background:#7be3a612}.patient-pagination button:disabled{cursor:default;opacity:.35}.patient-pagination .patient-page.active{border:1px solid var(--line);color:#fff;background:#111814d9}.patient-pagination-ellipsis{width:36px;height:36px;color:var(--muted);place-items:center;font-size:10px;display:grid}.patient-modal-backdrop{z-index:80;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#010705d1;place-items:center;padding:28px;display:grid;position:fixed;inset:0}.patient-modal{scrollbar-color:#ffffff3d transparent;background:#070c0a;border:1px solid #ffffff17;border-radius:16px;width:min(768px,100%);max-height:calc(100vh - 56px);overflow-y:auto;box-shadow:0 30px 100px #0000008c}.patient-modal-heading{z-index:2;background:linear-gradient(#070c0a 80%,#070c0a00);justify-content:space-between;align-items:flex-start;gap:24px;padding:24px 24px 16px;display:flex;position:sticky;top:0}.patient-modal-heading h2{color:#f2f6f4;align-items:center;gap:10px;margin:0;font-size:20px;line-height:1.25;display:flex}.patient-modal-heading h2 svg{width:19px;height:19px;color:var(--medical-accent)}.patient-modal-heading p{color:var(--medical-muted);margin:8px 0 0;font-size:13px}.patient-modal-heading>button{width:34px;height:34px;color:var(--medical-muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:0 0 34px;place-items:center;font-size:22px;display:grid}.patient-modal-heading>button:hover{color:#fff;background:#ffffff0f}.patient-modal-content{gap:24px;padding:0 24px 24px;display:grid}.patient-modal-loading{justify-content:center;align-items:center;gap:8px;min-height:280px;display:flex}.patient-modal-loading span{background:var(--medical-accent);border-radius:50%;width:9px;height:9px;animation:.9s ease-in-out infinite alternate patient-pulse}.patient-modal-loading span:nth-child(2){animation-delay:.18s}.patient-modal-loading span:nth-child(3){animation-delay:.36s}@keyframes patient-pulse{to{opacity:.25;transform:translateY(-5px)}}.patient-personal-card,.patient-history-card{background:#0b110e;border:1px solid #ffffff17;border-radius:14px}.patient-personal-card{padding:24px}.patient-personal-card h3,.patient-history-card>h3{color:#e8eeeb;align-items:center;gap:9px;margin:0;font-size:16px;display:flex}.patient-personal-card h3 svg,.patient-history-card>h3 svg{width:17px;height:17px;color:var(--medical-accent)}.patient-personal-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 46px;margin:32px 0 0;display:grid}.patient-personal-grid>div{min-width:0}.patient-personal-grid dt{color:var(--medical-muted);margin-bottom:5px;font-size:13px}.patient-personal-grid dd{overflow-wrap:anywhere;color:#eef3f0;margin:0;font-size:14px;line-height:1.45}.patient-personal-grid .patient-personal-separator{border-top:1px solid #ffffff14;padding-top:22px}.patient-personal-wide{grid-column:1/-1}.patient-blood-badge,.patient-personal-grid .patient-type{color:#f2f6f4;background:#ffffff0a;border:1px solid #ffffff1a;border-radius:999px;padding:3px 9px;font-size:12px;display:inline-flex}.patient-allergy-value{background:#ffffff0a;border-radius:7px;padding:9px 11px}.patient-health-status{color:#dbe2de;border-top:1px solid #ffffff14;flex-wrap:wrap;gap:18px;margin-top:20px;padding-top:18px;font-size:13px;font-weight:700;display:flex}.patient-health-status .healthy{color:#28c56b}.patient-health-status .unhealthy{color:#f87171}.patient-history-card{padding:24px}.patient-no-intervention{color:var(--medical-muted);text-align:center;margin:28px 0 4px}.patient-intervention-card{border:1px solid #ffffff14;border-left:4px solid var(--medical-accent);background:#14251e85;border-radius:13px;margin-top:22px;padding:18px}.patient-intervention-card>header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.patient-intervention-card h4{color:#eff4f1;margin:0 0 8px;font-size:15px}.patient-intervention-card header p,.patient-intervention-card header small{color:var(--medical-muted);margin:0 0 5px;font-size:12px;display:block}.patient-intervention-card header span{color:#cdd7d2;background:#ffffff0d;border-radius:999px;margin-top:3px;padding:3px 8px;font-size:11px;font-weight:700;display:inline-flex}.patient-intervention-total{text-align:right;flex:none;gap:5px;display:grid}.patient-intervention-total small{color:var(--medical-muted);font-size:12px}.patient-intervention-total strong{color:#28c56b;font-size:19px}.patient-intervention-details,.patient-care-table{border-top:1px solid #ffffff14;margin-top:18px;padding-top:17px}.patient-intervention-details h5,.patient-care-table h5{color:#e6ece8;margin:0 0 10px;font-size:13px}.patient-intervention-details p{overflow-wrap:anywhere;color:#d5ddd8;white-space:pre-wrap;margin:0;font-size:13px;line-height:1.55}.patient-care-table-scroll{overflow-x:auto}.patient-care-table table{border-collapse:collapse;color:#d9e1dd;width:100%;font-size:12px}.patient-care-table th,.patient-care-table td{text-align:left;border-bottom:1px solid #ffffff12;padding:9px 8px}.patient-care-table th:not(:first-child),.patient-care-table td:not(:first-child){text-align:right;white-space:nowrap}.patient-care-table tfoot th{color:#f1f5f3;border-bottom:0}@media (width<=1500px){.patient-details-grid{grid-template-columns:1fr}}.document-count{border:1px solid var(--line);color:var(--muted);border-radius:99px;padding:7px 10px;font-size:9px}.document-flow{grid-template-columns:minmax(280px,.72fr) minmax(0,1.28fr);gap:13px;display:grid}.document-flow>article,.document-preview-panel{border:1px solid var(--line);background:#111814d1;border-radius:15px}.document-flow article>header{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:17px;display:flex}.document-flow article>header>span{width:28px;height:28px;color:var(--mint);background:#7be3a61a;border-radius:9px;place-items:center;font-size:10px;font-weight:800;display:grid}.document-flow header div{flex-direction:column;display:flex}.document-flow header strong{font-size:11px}.document-flow header small{color:var(--muted);margin-top:2px;font-size:8px}.document-patient-step{padding-bottom:16px}.document-patient-step>label,.document-patient-fields label{flex-direction:column;gap:6px;margin:15px 16px 0;display:flex}.document-patient-step label span{color:#b4c0b8;font-size:8px}.document-patient-step input{border:1px solid var(--line);width:100%;height:40px;color:var(--text);background:#0a100d;border-radius:8px;outline:none;padding:0 10px;font-size:9px}.document-patient-fields{grid-template-columns:1fr 1fr;display:grid}.document-patient-fields label:last-child{grid-column:1/-1}.document-patient-step>button{border:1px solid var(--line-strong);min-height:36px;color:var(--mint);cursor:pointer;background:#7be3a60f;border-radius:8px;margin:15px 16px 0;padding:0 11px;font-size:9px}.document-type-search{margin:14px}.document-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:390px;padding:0 14px 14px;display:grid;overflow-y:auto}.document-type-grid button{border:1px solid var(--line);color:#aebbb3;cursor:pointer;text-align:left;background:#0d1511;border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;min-height:58px;padding:10px;display:grid}.document-type-grid button.active{color:#e4eee8;background:#7be3a613;border-color:#7be3a64d}.document-type-grid button>span{color:var(--teal)}.document-type-grid button strong{font-size:8px;line-height:1.35}.document-type-grid button i{visibility:hidden;color:var(--mint);font-style:normal}.document-type-grid button.active i{visibility:visible}.document-preview-panel{overflow:hidden}.document-preview-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:17px;display:flex}.document-preview-panel h3{margin:3px 0 0;font-size:14px}.document-preview-panel>header>span{color:var(--muted);font-size:8px}.document-paper{color:#1b2920;background:#e9eee9;border-radius:3px;width:min(600px,100% - 32px);min-height:300px;margin:22px auto;padding:30px;box-shadow:0 18px 45px #0000004d}.document-paper-brand{border-bottom:2px solid #47735b;align-items:center;gap:9px;padding-bottom:15px;display:flex}.document-paper-brand>span{color:#fff;background:#47735b;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.document-paper-brand div{flex-direction:column;display:flex}.document-paper-brand strong{letter-spacing:.09em;font-size:10px}.document-paper-brand small{color:#607068;font-size:7px}.document-paper>p{color:#607068;text-transform:uppercase;margin:32px 0 7px;font-size:8px}.document-paper h4{margin:0;font-size:18px}.document-paper-lines{gap:10px;margin-top:30px;display:grid}.document-paper-lines span{background:#c5cec8;height:1px}.document-paper-lines span:nth-child(3){width:84%}.document-paper-lines span:nth-child(4){width:62%}.document-preview-panel>footer{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:15px 17px;display:flex}.structured-heading{grid-template-columns:auto minmax(0,1fr) auto;display:grid}.structured-heading-icon{border:1px solid var(--line-strong);background:#7be3a614;border-radius:14px;place-items:center;width:50px;height:50px;font-size:22px;display:grid}.structured-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:550px;display:flex}.structured-actions button{border:1px solid var(--line);color:#aab7af;cursor:pointer;background:#7be3a606;border-radius:8px;min-height:34px;padding:0 10px;font-size:8px}.structured-actions button.primary{border-color:var(--line-strong);color:var(--mint);background:#7be3a614}.structured-actions button.danger{color:var(--danger);border-color:#ff6d7738}.structured-toolbar{border:1px solid var(--line);background:#111814b8;border-radius:12px;grid-template-columns:minmax(240px,520px) auto 1fr;align-items:center;gap:12px;padding:13px;display:grid}.structured-toolbar>span{color:#b6c3bb;font-size:9px}.structured-toolbar>small{color:var(--muted);justify-self:end;font-size:8px}.structured-loading{border:1px solid var(--line);border-radius:12px;overflow:hidden}.structured-table-panel{border:1px solid var(--line);background:#0c120ecc;border-radius:14px;overflow:hidden}.structured-table-panel>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;display:flex}.structured-table-panel>header strong{font-size:11px}.structured-table-panel>header span{color:var(--muted);font-size:8px}.structured-table-panel>article{border-bottom:1px solid var(--line)}.structured-table-panel>article:last-child{border-bottom:0}.structured-table-row{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:minmax(160px,.85fr) minmax(200px,1.2fr) minmax(180px,1fr) 100px 18px;align-items:center;gap:12px;width:100%;min-height:54px;padding:9px 14px;display:grid}.structured-table-row:hover{background:#7be3a609}.structured-table-row>strong{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.structured-table-row>span{color:#a5b1a9;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.structured-row-tags{gap:5px;display:flex}.structured-row-tags i{color:#8ab8f4;text-overflow:ellipsis;white-space:nowrap;background:#63a9ff12;border-radius:6px;padding:4px 6px;font-style:normal;overflow:hidden}.structured-table-row>small{color:var(--muted);text-align:right;font-size:7px}.structured-table-row>b{color:var(--muted);transition:all .18s}.structured-table-panel>article.open .structured-table-row>b{transform:rotate(180deg)}.structured-inline-detail,.structured-card-detail{border-top:1px solid var(--line);background:#05090761;padding:14px}.structured-inline-detail dl,.structured-card-detail dl{border:1px solid var(--line);background:var(--line);border-radius:9px;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0 0 12px;display:grid;overflow:hidden}.structured-inline-detail dl>div,.structured-card-detail dl>div{background:#0f1712;min-width:0;padding:10px}.structured-inline-detail dt,.structured-card-detail dt{color:var(--muted);text-transform:uppercase;font-size:7px}.structured-inline-detail dd,.structured-card-detail dd{overflow-wrap:anywhere;color:#c1cbc4;white-space:pre-wrap;margin:4px 0 0;font-size:9px}.structured-paragraphs{gap:6px;display:grid}.structured-paragraphs p{color:#aebbb3;background:#7be3a609;border-radius:7px;margin:0;padding:9px 10px;font-size:9px;line-height:1.55}.structured-card-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.structured-card-grid.mode-page,.structured-card-grid.mode-calendar{grid-template-columns:1fr}.structured-card-grid.mode-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.structured-card-grid>article{border:1px solid var(--line);background:#111914d1;border-radius:12px;min-width:0;overflow:hidden}.structured-card-grid>article.open{border-color:var(--line-strong);grid-column:1/-1}.structured-card-grid>article>button{cursor:pointer;text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;min-height:100px;padding:14px;display:grid}.structured-card-icon{border:1px solid var(--line);background:#0b120e;border-radius:10px;place-items:center;width:37px;height:37px;font-size:16px;display:grid}.structured-card-grid button>div{min-width:0}.structured-card-grid button strong{text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.structured-card-grid button p{color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:5px 0 0;font-size:8px;line-height:1.45;display:-webkit-box;overflow:hidden}.structured-card-grid button>small{color:var(--mint);background:#7be3a60f;border-radius:6px;grid-column:2;justify-self:start;padding:4px 6px;font-size:7px}.structured-card-grid button>i{color:var(--muted);grid-area:1/3/span 2;font-style:normal}@media (width<=1000px){.document-flow{grid-template-columns:1fr}.structured-card-grid,.structured-card-grid.mode-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.structured-table-row{grid-template-columns:minmax(140px,1fr) minmax(180px,1.4fr) 90px 18px}.structured-row-tags{display:none}}@media (width<=720px){.patient-modal-backdrop{align-items:end;padding:0}.patient-modal{border-radius:16px 16px 0 0;width:100%;max-height:94vh}.patient-modal-heading,.patient-personal-card,.patient-history-card{padding:18px}.patient-modal-content{gap:16px;padding:0 14px 18px}.patient-personal-grid{grid-template-columns:1fr;gap:18px;margin-top:24px}.patient-personal-wide{grid-column:auto}.patient-personal-grid .patient-personal-separator{border-top:0;padding-top:0}.patient-intervention-card>header{display:grid}.patient-intervention-total{text-align:left}.hostage-command,.patient-registry-heading,.document-heading,.structured-heading{flex-direction:column;align-items:flex-start;padding:18px}.structured-heading{display:flex}.structured-actions,.patient-primary-actions{justify-content:flex-start;width:100%}.hostage-toolbar{grid-template-columns:1fr auto}.hostage-toolbar .medical-search{grid-area:2/1/auto/-1}.patient-card-grid,.structured-card-grid,.structured-card-grid.mode-metrics,.hostage-victim{grid-template-columns:1fr}.patient-filter-panel{flex-direction:column;align-items:stretch}.patient-filter-hints{margin-left:0}.document-type-grid{grid-template-columns:1fr}.document-preview-panel>header{flex-direction:column;align-items:flex-start}.structured-toolbar{grid-template-columns:1fr auto}.structured-toolbar .medical-search{grid-column:1/-1}.structured-toolbar>small{display:none}.structured-table-row{grid-template-columns:1fr auto 18px}.structured-table-row>span,.structured-table-row>small{grid-column:1}.structured-table-row>small{grid-area:1/2}.structured-inline-detail dl,.structured-card-detail dl{grid-template-columns:1fr}}body.embedded-phone .hostage-command,body.embedded-phone .patient-registry-heading,body.embedded-phone .document-heading,body.embedded-phone .structured-heading{flex-direction:column;align-items:flex-start;padding:16px}body.embedded-phone .structured-heading{display:flex}body.embedded-phone .hostage-toolbar{grid-template-columns:1fr auto}body.embedded-phone .hostage-toolbar .medical-search{grid-column:1/-1}body.embedded-phone .hostage-victim,body.embedded-phone .patient-card-grid,body.embedded-phone .structured-card-grid,body.embedded-phone .structured-card-grid.mode-metrics,body.embedded-phone .document-flow{grid-template-columns:1fr}body.embedded-phone .patient-filter-panel{flex-direction:column;align-items:stretch}body.embedded-phone .patient-filter-hints{margin-left:0}body.embedded-phone .document-type-grid{grid-template-columns:1fr}body.embedded-phone .structured-toolbar{grid-template-columns:1fr auto}body.embedded-phone .structured-toolbar .medical-search{grid-column:1/-1}body.embedded-phone .structured-table-row{grid-template-columns:1fr auto 18px}body.embedded-phone .structured-table-row>span{grid-column:1/-1}body.embedded-phone .structured-row-tags,body.embedded-phone .structured-table-row>small{display:none}.record-drawer-tags{flex-wrap:wrap;gap:6px;padding:0 23px 12px;display:flex}.record-drawer-tags span{color:#92bdf5;background:#63a9ff12;border-radius:6px;padding:5px 7px;font-size:8px}.record-drawer-paragraphs{gap:7px;padding:0 23px 28px;display:grid}.record-drawer-paragraphs p{border:1px solid var(--line);color:#aebbb3;background:#7be3a608;border-radius:8px;margin:0;padding:10px 11px;font-size:9px;line-height:1.55}
