:root{--ink:#060913;--text:#eef2ff;--text-2:#c4cbe3;--muted:#8f9bbd;--stroke:rgba(255,255,255,0.1);--stroke-2:rgba(255,255,255,0.18);--arterial:#ff4d6d;--venous:#5b8cff;--violet:#8b7bff;--teal:#2dd4bf;--amber:#fbbf24;--ease:cubic-bezier(0.22,1,0.36,1);--spring:cubic-bezier(0.34,1.56,0.64,1);--font:"Readex Pro","Segoe UI",Tahoma,system-ui,sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0}body{background:var(--ink);color:var(--text);font-family:var(--font);line-height:1.55;min-height:100vh;overflow-x:hidden;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:inherit}::selection{background:rgba(91,140,255,.4)}:focus-visible{outline:2px solid var(--venous);outline-offset:2px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:rgba(255,255,255,.12);border-radius:10px;border:2px solid transparent;background-clip:padding-box}::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.22);background-clip:padding-box;border:2px solid transparent}::-webkit-scrollbar-track{background:transparent}.aurora{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}.aurora i{position:absolute;border-radius:50%;filter:blur(90px);will-change:transform}.aurora .a1{width:46vw;height:46vw;min-width:420px;min-height:420px;top:-14vw;right:-8vw;opacity:.42;background:radial-gradient(circle at 30% 30%,#ff4d6d,transparent 66%);animation:drift1 26s ease-in-out infinite alternate}.aurora .a2{width:50vw;height:50vw;min-width:460px;min-height:460px;bottom:-20vw;left:-12vw;opacity:.5;background:radial-gradient(circle at 50% 50%,#3b6bff,transparent 66%);animation:drift2 32s ease-in-out infinite alternate}.aurora .a3{width:34vw;height:34vw;min-width:320px;min-height:320px;top:32%;left:36%;opacity:.28;background:radial-gradient(circle,#7c5cff,transparent 66%);animation:drift3 38s ease-in-out infinite alternate}.aurora:after{content:"";position:absolute;inset:0;opacity:.07;mix-blend-mode:overlay;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}@keyframes drift1{to{transform:translate3d(-12vw,10vw,0) scale(1.15)}}@keyframes drift2{to{transform:translate3d(14vw,-8vw,0) scale(1.1)}}@keyframes drift3{to{transform:translate3d(-10vw,8vw,0) scale(1.25)}}.glass{position:relative;overflow:hidden;border-radius:22px;border:1px solid var(--stroke);background:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.025));backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);box-shadow:0 18px 50px -18px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.13)}.glass:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;background:radial-gradient(420px circle at var(--mx,50%) var(--my,0),rgba(255,255,255,.1),transparent 45%);transition:opacity .4s}.glass:hover:before{opacity:1}.panel{border-radius:16px;border:1px solid var(--stroke);background:rgba(255,255,255,.04);padding:18px}.shell{position:relative;z-index:1;display:flex;gap:20px;padding:16px;min-height:100vh}.sidebar{width:272px;position:-webkit-sticky;position:sticky;top:16px;height:calc(100vh - 32px);display:flex;flex-direction:column;padding:20px 14px;animation:slideInSide .9s var(--ease) both}.sidebar,.sidebar>.brand,.sidebar>.side-foot{flex-shrink:0}.sidebar>.nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.2) transparent}@keyframes slideInSide{0%{opacity:0;transform:translateX(40px);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}.main{flex:1 1;min-width:0;padding:8px 8px 40px}.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 20px;margin-bottom:18px;border-bottom:1px solid var(--stroke)}.brand-mark{width:44px;height:44px;border-radius:14px;flex-shrink:0;display:grid;place-items:center;background:linear-gradient(135deg,#ff4d6d,#8b7bff 60%,#5b8cff);box-shadow:0 10px 30px -8px rgba(255,77,109,.7),inset 0 1px 0 rgba(255,255,255,.4)}.brand-name{font-weight:600;font-size:1.05rem;line-height:1.2}.brand-sub{color:var(--muted);font-size:.78rem}.nav{position:relative;display:flex;flex-direction:column;gap:6px}.nav-ind{position:absolute;inset-inline:0;top:0;height:48px;border-radius:14px;background:linear-gradient(135deg,rgba(91,140,255,.3),rgba(139,123,255,.16));border:1px solid rgba(139,160,255,.35);box-shadow:0 8px 30px -8px rgba(91,140,255,.6),inset 0 1px 0 rgba(255,255,255,.15);transition:transform .55s var(--spring)}.nav-item{position:relative;z-index:1;height:48px;display:flex;align-items:center;gap:12px;padding:0 14px;border:0;background:transparent;color:var(--muted);border-radius:14px;cursor:pointer;font-weight:500;font-size:.92rem;text-align:start;transition:color .25s}.nav-item:hover{color:var(--text)}.nav-item.active{color:#fff}.nav-item svg{transition:transform .4s var(--spring)}.nav-item:hover svg{transform:scale(1.15) rotate(-4deg)}.nav-badge{-webkit-margin-start:auto;margin-inline-start:auto;min-width:24px;height:22px;padding:0 8px;border-radius:999px;display:grid;place-items:center;font-size:.72rem;font-weight:600;background:rgba(255,255,255,.08);color:var(--text-2);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.side-foot{margin-top:auto;display:flex;flex-direction:column;gap:12px}.user-card{display:flex;align-items:center;gap:12px;padding:12px}.avatar{width:40px;height:40px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;font-weight:600;color:#fff;text-transform:uppercase;box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 6px 18px -6px rgba(0,0,0,.6)}.avatar.lg{width:54px;height:54px;font-size:1.3rem}.user-name{font-weight:500;font-size:.9rem;line-height:1.2}.user-role{color:var(--muted);font-size:.74rem}.status-chip{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;font-size:.8rem;color:var(--text-2);background:rgba(255,255,255,.04);border:1px solid var(--stroke)}.dot{width:8px;height:8px;border-radius:50%;background:var(--c,var(--teal));box-shadow:0 0 12px var(--c,var(--teal));animation:blink 2s ease-in-out infinite}@keyframes blink{50%{opacity:.35;transform:scale(.8)}}.view{animation:viewIn .28s ease-out both}@keyframes viewIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.rise{animation:rise .75s var(--ease) both;animation-delay:calc(var(--i, 0) * 70ms)}@keyframes rise{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin:8px 4px 24px;flex-wrap:wrap}.page-title{font-size:1.75rem;font-weight:600;margin:0}.page-sub{color:var(--muted);margin:4px 0 0;font-size:.92rem}.hero{padding:34px 36px;margin-bottom:20px;min-height:190px;display:flex;align-items:center}.hero-body{position:relative;z-index:2;display:flex;flex-direction:column;gap:18px;align-items:flex-start;max-width:520px}.hero h1{font-size:2.1rem;font-weight:600;margin:0 0 6px}.hero p{margin:0;color:var(--text-2)}.hero-date{color:var(--muted);font-size:.85rem;margin-bottom:6px}.ecg{position:absolute;left:0;top:0;bottom:0;width:62%;z-index:1;pointer-events:none;-webkit-mask-image:linear-gradient(270deg,transparent 0,#000 45%);mask-image:linear-gradient(270deg,transparent 0,#000 45%)}.ecg path{fill:none;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}.ecg .base{stroke:rgba(255,255,255,.16);stroke-width:1.5}.ecg .comet{stroke:url(#ecgGrad);stroke-width:3;stroke-dasharray:140 1000;filter:drop-shadow(0 0 8px rgba(255,77,109,.9));animation:sweep 3.8s linear infinite}@keyframes sweep{0%{stroke-dashoffset:140}to{stroke-dashoffset:-1000}}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:16px;gap:16px;margin-bottom:20px}.stat{padding:20px 22px;display:flex;flex-direction:column;gap:16px;transition:transform .5s var(--ease),border-color .3s}.stat:hover{transform:translateY(-4px);border-color:var(--stroke-2)}.stat-top{display:flex;align-items:center;justify-content:space-between}.chip-ic{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent);border:1px solid color-mix(in srgb,var(--c) 32%,transparent);box-shadow:0 0 26px -6px color-mix(in srgb,var(--c) 70%,transparent)}.stat-value{font-size:2.5rem;font-weight:600;line-height:1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stat-label{color:var(--muted);font-size:.88rem}.charts{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-gap:16px;gap:16px}.card{padding:24px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px;gap:12px}.card-title{font-size:1.05rem;font-weight:600;margin:0}.card-sub{color:var(--muted);font-size:.8rem;margin:2px 0 0}.chart-box{position:relative;height:300px}.donut-box{position:relative;height:210px}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.donut-center b{font-size:1.9rem;font-weight:600;line-height:1.1}.donut-center span{color:var(--muted);font-size:.78rem}.legend{margin-top:18px;flex-direction:column}.legend,.legend-row{display:flex;gap:10px}.legend-row{align-items:center;font-size:.85rem;color:var(--text-2)}.legend-row i{width:10px;height:10px;border-radius:4px;background:var(--c);box-shadow:0 0 10px var(--c)}.legend-row b{-webkit-margin-start:auto;margin-inline-start:auto;font-weight:500;color:var(--text);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.btn{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 18px;border-radius:12px;border:1px solid var(--stroke);background:rgba(255,255,255,.06);color:var(--text);font-weight:500;font-size:.9rem;cursor:pointer;transition:transform .35s var(--spring),box-shadow .3s,background .3s,border-color .3s}.btn:hover{transform:translateY(-2px);background:rgba(255,255,255,.11);border-color:var(--stroke-2)}.btn:active{transform:translateY(0) scale(.97)}.btn.sm{height:36px;padding:0 14px;font-size:.84rem}.btn.block{width:100%}.btn-primary{border:0;color:#fff;background:linear-gradient(135deg,#5b8cff,#7c5cff);box-shadow:0 12px 30px -10px rgba(91,140,255,.85),inset 0 1px 0 rgba(255,255,255,.3)}.btn-primary:hover{background:linear-gradient(135deg,#6b98ff,#8d6cff);box-shadow:0 18px 40px -10px rgba(124,92,255,.95),inset 0 1px 0 rgba(255,255,255,.35)}.btn-primary:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.35) 50%,transparent 70%);transform:translateX(-130%);transition:transform .9s var(--ease)}.btn-primary:hover:after{transform:translateX(130%)}.btn-success{border:0;color:#04211e;font-weight:600;background:linear-gradient(135deg,#2dd4bf,#5eead4);box-shadow:0 12px 30px -10px rgba(45,212,191,.8),inset 0 1px 0 rgba(255,255,255,.5)}.btn-success:hover{background:linear-gradient(135deg,#3ee0cb,#7af0de)}.btn-wa{color:#4ade80;background:rgba(37,211,102,.12);border-color:rgba(37,211,102,.4)}.btn-wa:hover{background:rgba(37,211,102,.22);border-color:rgba(37,211,102,.7)}.btn-info{color:#7dd3fc;background:rgba(56,189,248,.12);border-color:rgba(56,189,248,.4)}.btn-info:hover{background:rgba(56,189,248,.22)}.btn-danger{border:0;color:#fff;background:linear-gradient(135deg,#ff4d6d,#ff7a59);box-shadow:0 12px 30px -10px rgba(255,77,109,.85),inset 0 1px 0 rgba(255,255,255,.3)}.btn-danger:hover{background:linear-gradient(135deg,#ff6483,#ff8d6e)}.icon-btn{--c:var(--venous);width:38px;height:38px;border-radius:12px;display:inline-grid;place-items:center;border:1px solid var(--stroke);background:rgba(255,255,255,.05);color:var(--c);cursor:pointer;transition:transform .35s var(--spring),background .25s,box-shadow .25s,border-color .25s}.icon-btn:hover{transform:translateY(-3px) scale(1.08);background:color-mix(in srgb,var(--c) 18%,transparent);border-color:color-mix(in srgb,var(--c) 55%,transparent);box-shadow:0 10px 24px -8px var(--c)}.icon-btn:active{transform:scale(.92)}.icon-btn.close{--c:var(--text-2)}.search{position:relative}.search svg{position:absolute;inset-inline-start:14px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none;transition:color .25s}.search input{-webkit-padding-start:42px;padding-inline-start:42px;width:260px;transition:width .5s var(--ease),border-color .25s,box-shadow .25s,background .25s}.search input:focus{width:340px}.search:focus-within svg{color:var(--venous)}.table-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:14px}.table-wrap{overflow-x:auto}.tbl{width:100%;min-width:780px;border-collapse:separate;border-spacing:0 8px}.tbl th{font-weight:500;color:var(--muted);font-size:.8rem;padding:4px 16px;text-align:start;white-space:nowrap}.tbl td.c,.tbl th.c{text-align:center}.tbl td{padding:14px 16px;background:rgba(255,255,255,.035);transition:background .25s;vertical-align:middle}.tbl td:first-child{border-start-start-radius:14px;border-end-start-radius:14px}.tbl td:last-child{border-start-end-radius:14px;border-end-end-radius:14px}.tbl tr.row{animation:rise .6s var(--ease) both;animation-delay:calc(var(--i, 0) * 45ms)}.tbl tr.row:hover td{background:rgba(255,255,255,.08)}.patient{display:flex;align-items:center;gap:12px;background:none;border:0;padding:0;color:var(--text);cursor:pointer;font-weight:500;font-size:.95rem;text-align:start}.patient:hover span.nm{color:#9db9ff}.num{direction:ltr;unicode-bidi:embed;display:inline-block;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;color:var(--text-2)}.when b{display:block;font-weight:500;font-size:.9rem}.when span{color:var(--muted);font-size:.78rem}.actions{display:flex;gap:8px;justify-content:center}.pill{--c:var(--teal);display:inline-flex;align-items:center;gap:8px;padding:5px 12px;border-radius:999px;font-size:.78rem;font-weight:500;color:var(--c);white-space:nowrap;background:color-mix(in srgb,var(--c) 14%,transparent);border:1px solid color-mix(in srgb,var(--c) 35%,transparent)}.pill i{width:6px;height:6px;border-radius:50%;background:var(--c);box-shadow:0 0 10px var(--c)}.pill.live i{animation:blink 1.8s ease-in-out infinite}.skel{height:60px;border-radius:14px;margin-bottom:8px;background:linear-gradient(100deg,rgba(255,255,255,.04) 30%,rgba(255,255,255,.11) 50%,rgba(255,255,255,.04) 70%);background-size:200% 100%;animation:shimmer 1.4s linear infinite}@keyframes shimmer{to{background-position:-200% 0}}.empty{text-align:center;padding:56px 20px;color:var(--muted)}.empty .ic{width:64px;height:64px;margin:0 auto 16px;border-radius:20px;display:grid;place-items:center;background:rgba(255,255,255,.05);border:1px solid var(--stroke);color:var(--text-2)}.empty b{display:block;color:var(--text);font-weight:500;margin-bottom:4px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));grid-gap:16px;gap:16px}.item-card{padding:22px;display:flex;flex-direction:column;gap:14px;transition:transform .5s var(--ease),border-color .3s}.item-card:hover{transform:translateY(-5px);border-color:var(--stroke-2)}.item-card:after{content:"";position:absolute;inset-inline-start:0;top:22px;bottom:22px;width:3px;border-radius:3px;background:var(--c,var(--teal));box-shadow:0 0 16px var(--c,var(--teal))}.item-title{font-size:1.15rem;font-weight:600;margin:0}.meta-row{display:flex;align-items:center;gap:8px;color:var(--text-2);font-size:.88rem}.meta-row svg{color:var(--muted);flex-shrink:0}.date-block{width:58px;flex-shrink:0;border-radius:16px;padding:8px 0;text-align:center;background:rgba(255,77,109,.1);border:1px solid rgba(255,77,109,.3)}.date-block b{display:block;font-size:1.5rem;line-height:1.1;font-weight:600;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.date-block span{font-size:.74rem;color:#ff9db0}.surg-row{display:flex;gap:14px;align-items:flex-start}.proc{color:#9db9ff;font-weight:500;font-size:.9rem;margin:4px 0 0}.timeline{position:relative;-webkit-padding-start:28px;padding-inline-start:28px;display:flex;flex-direction:column;gap:12px}.timeline:before{content:"";position:absolute;inset-inline-start:6px;top:8px;bottom:8px;width:2px;border-radius:2px;background:linear-gradient(to bottom,var(--arterial),var(--venous),transparent)}.tl-item{position:relative;padding:14px 18px;border-radius:14px;background:rgba(255,255,255,.04);border:1px solid var(--stroke);display:flex;justify-content:space-between;align-items:center;gap:12px;animation:rise .6s var(--ease) both;animation-delay:calc(var(--i, 0) * 60ms);transition:background .25s}.tl-item:hover{background:rgba(255,255,255,.07)}.tl-item:before{content:"";position:absolute;inset-inline-start:-28px;top:50%;transform:translateY(-50%);width:12px;height:12px;border-radius:50%;background:var(--ink);border:2px solid var(--venous);box-shadow:0 0 14px var(--venous)}.tl-item b{font-weight:500}.tl-item small{display:block;color:var(--muted);margin-top:2px;font-size:.78rem}.tl-time{color:var(--muted);font-size:.8rem;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(4,6,14,.55);backdrop-filter:blur(14px) saturate(120%);-webkit-backdrop-filter:blur(14px) saturate(120%);animation:fadeIn .35s ease both}.overlay.top{z-index:1200}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.glass.modal{width:100%;max-height:90vh;overflow-y:auto;padding:28px;background:linear-gradient(145deg,rgba(26,33,62,.9),rgba(12,16,34,.94));animation:modalIn .65s var(--spring) both}@keyframes modalIn{0%{opacity:0;transform:translateY(30px) scale(.93);filter:blur(8px)}to{opacity:1;transform:none;filter:none}}.modal-head{justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--stroke);flex-wrap:wrap}.modal-head,.modal-title{display:flex;align-items:center}.modal-title{gap:14px}.modal-title h3{margin:0;font-size:1.2rem;font-weight:600}.modal-title p{margin:2px 0 0;color:var(--muted);font-size:.85rem}.modal-foot{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.panel-title{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:.95rem;font-weight:600}.panel-title svg{color:var(--venous)}.form-row{margin-bottom:16px}.smart-list-field{min-width:0}.smart-entry-row{display:flex;gap:8px;align-items:center}.smart-entry-row .field{flex:1 1;min-width:0}.smart-selected{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}.smart-chip{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:5px 9px;border-radius:999px;background:rgba(91,140,255,.12);border:1px solid rgba(91,140,255,.24);color:var(--text-2);font-size:.78rem}.smart-chip button{border:0;color:var(--muted);background:transparent;cursor:pointer;font-size:1rem;line-height:1;padding:0 2px}.smart-chip button:hover{color:var(--arterial)}.smart-hint{display:block;margin-top:5px;color:var(--muted);font-size:.72rem}.smart-search-wrap{position:relative}.smart-suggestions{position:absolute;z-index:40;top:calc(100% + 4px);inset-inline:0;max-height:260px;overflow:auto;padding:5px;border:1px solid var(--stroke);border-radius:12px;background:#10182b;box-shadow:0 15px 34px rgba(0,0,0,.38)}.smart-suggestions button{display:block;width:100%;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:var(--text);text-align:right;cursor:pointer;font:inherit;font-size:.82rem}.smart-suggestions button:hover{background:rgba(91,140,255,.15)}.smart-hint.catalog-error{color:var(--arterial)}.grid-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}.lbl.limb-tag{display:flex;align-items:center;gap:8px}.limb-tag i{width:8px;height:8px;border-radius:50%;background:var(--c);box-shadow:0 0 10px var(--c)}.confirm{text-align:center}.confirm .big-ic{width:64px;height:64px;margin:0 auto 16px;border-radius:20px;display:grid;place-items:center;color:var(--arterial);background:rgba(255,77,109,.12);border:1px solid rgba(255,77,109,.35);box-shadow:0 0 40px -6px rgba(255,77,109,.6)}.confirm h3{margin:0 0 8px;font-size:1.2rem;font-weight:600}.confirm p{margin:0;color:var(--text-2);font-size:.92rem}.confirm .modal-foot{justify-content:center}.lbl{display:block;font-size:.82rem;font-weight:500;color:var(--text-2);margin-bottom:8px}.field{width:100%;height:44px;padding:0 14px;border-radius:12px;border:1px solid var(--stroke);background:rgba(255,255,255,.05);color:var(--text);font-size:.92rem;outline:none;color-scheme:dark;transition:border-color .25s,box-shadow .25s,background .25s}textarea.field{height:auto;padding:12px 14px;resize:vertical;line-height:1.6}.field::placeholder{color:var(--muted)}.field:focus{border-color:rgba(91,140,255,.7);background:rgba(91,140,255,.07);box-shadow:0 0 0 4px rgba(91,140,255,.16)}.field:disabled{opacity:.55;cursor:not-allowed}select.field option{background:#0d1328;color:#eef2ff}.toast{--c:var(--teal);position:fixed;top:20px;left:50%;z-index:2000;display:flex;align-items:center;gap:12px;min-width:320px;max-width:min(560px,92vw);padding:14px 16px;border-radius:16px;overflow:hidden;background:linear-gradient(145deg,rgba(26,33,62,.92),rgba(12,16,34,.95));border:1px solid color-mix(in srgb,var(--c) 40%,transparent);box-shadow:0 24px 60px -16px rgba(0,0,0,.8),0 0 40px -12px var(--c);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);animation:toastIn .7s var(--spring) both}.toast.err{--c:var(--arterial)}.toast .t-ic{width:34px;height:34px;flex-shrink:0;border-radius:11px;display:grid;place-items:center;color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent)}.toast .t-txt{flex:1 1;font-size:.9rem}.toast .t-bar{position:absolute;bottom:0;inset-inline:0;height:2px;background:var(--c);transform-origin:right;animation:drain 4.5s linear forwards}@keyframes toastIn{0%{opacity:0;transform:translate(-50%,-26px) scale(.92);filter:blur(6px)}to{opacity:1;transform:translate(-50%);filter:none}}@keyframes drain{to{transform:scaleX(0)}}@media (max-width:1100px){.charts{grid-template-columns:1fr}}@media (max-width:1024px){.sidebar{width:84px;padding:16px 10px}.sidebar .brand{justify-content:center;padding-inline:0}.sidebar .brand-txt,.sidebar .nav-badge,.sidebar .nav-label,.sidebar .status-txt,.sidebar .user-card-txt{display:none}.nav-item{justify-content:center;padding:0}.status-chip,.user-card{justify-content:center;padding-inline:0}.hero h1{font-size:1.7rem}}@media (max-width:720px){.shell{flex-direction:column;padding:10px 10px 100px}.sidebar{position:fixed;z-index:900;bottom:10px;top:auto;inset-inline:10px;width:auto;height:auto;flex-direction:row;padding:8px;animation:none}.sidebar .brand,.sidebar .side-foot{display:none}.nav{flex:1 1 auto;flex-direction:row;width:100%;min-width:0;gap:4px;overflow-x:auto;overflow-y:hidden}.nav-ind{display:none}.nav-item{flex:0 0 48px;justify-content:center}.nav-item.active{background:rgba(91,140,255,.25)}.grid-2{grid-template-columns:1fr}.hero{padding:26px 22px}.ecg{opacity:.5}.ecg,.search input,.search input:focus{width:100%}.search{flex:1 1;min-width:180px}.glass.modal{padding:20px}}.patient-qr-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 16px;padding:16px;border:1px solid var(--border,rgba(148,163,184,.25));border-radius:16px;background:rgba(15,23,42,.38)}.patient-qr-card h4,.patient-qr-summary h4{margin:0 0 8px}.patient-qr-card p,.patient-qr-summary p{margin:5px 0;color:var(--text-2,#aab8cc);line-height:1.65}.patient-qr-card svg{display:block;flex:0 0 auto;background:#fff;border-radius:8px}.patient-qr-summary{padding:16px}@media print{@page{size:A4;margin:14mm}.aurora,.main,.no-print,.sidebar,.toast,body.print-emr-report .aurora,body.print-emr-report .global-controls,body.print-emr-report .main,body.print-emr-report .overlay:not(.patient-file-overlay),body.print-emr-report .sidebar,body.print-emr-report .toast{display:none!important}body.print-emr-report .patient-file-modal,body.print-emr-report .patient-file-overlay{position:static!important;display:block!important;padding:0!important;background:#fff!important}body.print-emr-report .patient-file-modal{width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;overflow:visible!important;border:0!important;box-shadow:none!important}body.print-emr-report .patient-file-modal>:not(.emr-printable-report){display:none!important}body.print-emr-report .emr-printable-report{display:block!important;color:#111!important;font:12pt/1.65 Arial,sans-serif!important;direction:rtl}body.print-emr-report .emr-printable-report *{color:#111!important;text-shadow:none!important}body.print-emr-report .emr-report-header{text-align:center;border-bottom:2px solid #234;margin-bottom:16px;padding-bottom:12px}body.print-emr-report .emr-report-header h1{margin:0 0 5px;font-size:19pt}body.print-emr-report .emr-report-header p{margin:0;font-size:15pt;font-weight:700}body.print-emr-report .emr-report-patient{display:grid;grid-template-columns:1fr 1fr;grid-gap:7px 16px;gap:7px 16px;padding:12px;margin-bottom:16px;border:1px solid #999;page-break-inside:avoid;break-inside:avoid}body.print-emr-report .emr-report-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}body.print-emr-report .emr-report-grid article{padding:10px;border:1px solid #aaa;min-height:50px;page-break-inside:avoid;break-inside:avoid}body.print-emr-report .emr-report-grid article b{display:block;margin-bottom:4px}body.print-emr-report .emr-report-grid article p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}body.print-emr-report .emr-report-signatures{display:flex;justify-content:space-between;gap:20px;margin-top:45px;page-break-inside:avoid;break-inside:avoid}body.print-emr-report .emr-report-empty{padding:18px;border:1px solid #aaa}body.print-emr-report{background:#fff!important;color:#111!important}body{background:#fff!important;color:#000!important}.shell{display:block;padding:0}.overlay{position:static!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;display:block!important}.glass.modal,.overlay{background:#fff!important;padding:0!important;animation:none!important}.glass.modal{max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important}.glass.modal *{color:#000!important;text-shadow:none!important}.field,.panel{background:#fff!important;border:1px solid #999!important;box-shadow:none!important}.avatar,body.print-surgery-report .aurora,body.print-surgery-report .main,body.print-surgery-report .overlay:not(.surgery-plan-overlay),body.print-surgery-report .sidebar,body.print-surgery-report .toast{display:none!important}body.print-surgery-report .surgery-plan-overlay{position:static!important;display:block!important;padding:0!important;background:#fff!important}body.print-surgery-report .surgery-plan-modal{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}body.print-surgery-report .surgery-form-content,body.print-surgery-report .surgery-plan-modal>.modal-head{display:none!important}body.print-surgery-report .surgery-printable-report{display:block!important;color:#000!important;font-family:Arial,sans-serif;direction:rtl}body.print-surgery-report .surgery-printable-report *{color:#000!important}body.print-patient-qr .aurora,body.print-patient-qr .main,body.print-patient-qr .modal-head,body.print-patient-qr .modal>:not(.patient-qr-card),body.print-patient-qr .patient-qr-summary,body.print-patient-qr .sidebar,body.print-patient-qr .toast{display:none!important}body.print-patient-qr .overlay{background:#fff!important}body.print-patient-qr .glass.modal,body.print-patient-qr .overlay{position:static!important;display:block!important;padding:0!important}body.print-patient-qr .glass.modal{width:100%!important;max-width:none!important}body.print-patient-qr .patient-qr-card{position:static!important;display:flex!important;width:-moz-fit-content;width:fit-content;min-width:340px;margin:25mm auto;padding:24px;border:1px solid #777!important;border-radius:0;background:#fff!important;color:#000!important}body.print-patient-qr .patient-qr-card h4,body.print-patient-qr .patient-qr-card p{color:#000!important}}.surgery-printable-report{display:none}.surgery-report-header{text-align:center;border-bottom:2px solid #222;padding:0 0 14px;margin-bottom:20px}.surgery-report-header h1{font-size:24px;margin:0 0 6px}.surgery-report-header p{margin:0}.surgery-report-patient{padding:12px;border:1px solid #777;margin-bottom:18px;display:flex;justify-content:space-between;gap:20px}.surgery-report-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px}.surgery-report-grid>div{border:1px solid #999;padding:12px;min-height:72px;page-break-inside:avoid;break-inside:avoid}.surgery-report-grid b{display:block;margin-bottom:8px}.surgery-report-grid p{margin:0;white-space:pre-wrap}.surgery-report-signatures{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;margin-top:54px;page-break-inside:avoid;break-inside:avoid}.inbox-view{min-width:0}.integration-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:13px 16px;margin-bottom:14px;border-color:rgba(251,191,36,.25);background:rgba(251,191,36,.055)}.integration-banner.connected{border-color:rgba(45,212,191,.25);background:rgba(45,212,191,.055)}.integration-banner>div:first-child b,.integration-banner>div:first-child small{display:block}.integration-banner>div:first-child small,.integration-help{color:var(--muted);font-size:.75rem;margin-top:4px}.integration-chips{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted);font-size:.74rem}.integration-chips .ready{color:var(--teal)}.inbox-filters{display:grid;grid-template-columns:minmax(190px,1.5fr) repeat(4,minmax(120px,1fr));grid-gap:10px;gap:10px;padding:14px;margin-bottom:16px}.inbox-layout{display:grid;grid-template-columns:minmax(270px,.78fr) minmax(0,1.7fr);grid-gap:16px;gap:16px;min-height:620px}.conversation-list{padding:8px;overflow-y:auto;max-height:720px}.conversation-row{width:100%;display:flex;gap:11px;align-items:center;text-align:right;padding:13px 10px;color:var(--text);border:1px solid transparent;border-bottom:1px solid var(--stroke);background:transparent;cursor:pointer;border-radius:13px}.conversation-row.selected,.conversation-row:hover{background:rgba(91,140,255,.1);border-color:rgba(91,140,255,.22)}.conversation-summary{min-width:0;flex:1 1;display:flex;flex-direction:column;gap:4px}.conversation-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-2)}.conversation-meta,.conversation-status{color:var(--muted);font-size:.72rem;white-space:nowrap}.chat-panel{min-width:0;display:flex;flex-direction:column;overflow:hidden}.chat-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--stroke)}.chat-actions,.chat-person{display:flex;align-items:center;gap:10px}.chat-person small{display:block;color:var(--muted);font-size:.78rem;margin-top:3px}.chat-actions{flex-wrap:wrap;justify-content:flex-end}.ai-mode{color:var(--teal);font-size:.78rem}.ai-mode.paused{color:var(--amber)}.chat-context{display:flex;gap:20px;flex-wrap:wrap;padding:10px 16px;color:var(--muted);font-size:.78rem;border-bottom:1px solid var(--stroke)}.chat-context b{color:var(--text-2)}.chat-mini-select{width:auto;min-width:130px;height:34px;padding:0 9px;font-size:.76rem}.message-thread{min-height:190px;flex:1 1;padding:18px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;overflow:auto;background:rgba(4,8,20,.2)}.message-bubble{max-width:82%;padding:11px 14px;border:1px solid var(--stroke);border-radius:16px}.message-bubble p{margin:0;line-height:1.7}.message-bubble small{display:block;color:var(--muted);font-size:.7rem;margin-top:5px}.message-bubble.incoming{background:rgba(255,255,255,.055);border-start-start-radius:4px}.message-bubble.outgoing{align-self:flex-end;background:rgba(91,140,255,.16);border-color:rgba(91,140,255,.25);border-start-end-radius:4px}.retry-message{margin-top:7px;padding:4px 9px!important;font-size:.72rem!important;color:var(--amber)!important;border-color:rgba(251,191,36,.35)!important}.icon-btn.danger{color:#ff7488;border-color:rgba(255,77,109,.35)}.emr-printable-report{display:none}.handoff-note{align-self:center;color:var(--muted);font-size:.72rem;padding:5px 10px}.copilot-card{margin:0 14px 12px;padding:13px;border:1px solid rgba(139,123,255,.32);border-radius:14px;background:rgba(139,123,255,.08)}.copilot-card b{color:#b9aaff;font-size:.84rem}.copilot-card p{margin:7px 0 10px;color:var(--text-2);font-size:.84rem;line-height:1.7}.chat-compose{padding:0 14px 14px}.compose-actions{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px}.compose-actions .btn{font-size:.76rem;padding:7px 10px}.compose-line{display:flex;gap:8px;align-items:flex-end}.compose-line textarea{flex:1 1}.attach-btn{display:inline-flex;cursor:pointer}.attach-btn,.followup-tools{align-items:center}.followup-tools .field{flex:1 1;min-width:130px;height:38px;font-size:.76rem}.chat-image{display:block;max-height:280px;border-radius:10px}.chat-image,.message-bubble audio{max-width:min(340px,70vw)}.handoff-event{align-self:center;padding:7px 12px;border-radius:999px;background:rgba(251,191,36,.1);color:#fcd875;border:1px solid rgba(251,191,36,.22);font-size:.72rem}.recording{color:#ff718b!important;border-color:rgba(255,77,109,.55)!important;animation:recordPulse 1.2s infinite alternate}@keyframes recordPulse{to{box-shadow:0 0 0 5px rgba(255,77,109,.12)}}@media (max-width:950px){.inbox-layout{grid-template-columns:1fr}.conversation-list{max-height:260px}.inbox-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-search{grid-column:1/-1}}@media (max-width:540px){.chat-head{align-items:flex-start;flex-direction:column}.chat-actions{justify-content:flex-start}.chat-context{gap:8px 14px}.compose-line{align-items:stretch;flex-direction:column}}.crm-module-page{--module-surface:linear-gradient(145deg,rgba(255,255,255,.085),rgba(255,255,255,.028));position:relative!important;isolation:isolate;min-height:100vh;color:var(--text)!important;background:transparent!important;font-family:var(--font)!important;line-height:1.65}.crm-module-page:before{content:"";position:fixed;z-index:-1;inset:-18%;pointer-events:none;background:radial-gradient(ellipse at 86% 12%,rgba(255,77,109,.19),transparent 34%),radial-gradient(ellipse at 15% 86%,rgba(59,107,255,.24),transparent 38%),radial-gradient(ellipse at 52% 43%,rgba(124,92,255,.11),transparent 36%);transform:translateZ(0) scale(1);animation:moduleAurora 28s ease-in-out infinite alternate}@keyframes moduleAurora{to{transform:translate3d(1.5%,-1%,0) scale(1.06)}}.crm-module-page>a:first-child{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:7px 13px;border:1px solid rgba(139,160,255,.23);border-radius:12px;background:rgba(91,140,255,.1);color:#b9c9ff!important;text-decoration:none;transition:transform .32s var(--spring),background .28s,box-shadow .28s}.crm-module-page>a:first-child:hover{transform:translateY(-2px);background:rgba(91,140,255,.18);box-shadow:0 10px 28px -18px rgba(91,140,255,.9)}.crm-module-page>h1{margin:18px 4px 4px;color:#f5f7ff!important;font-size:clamp(1.55rem,3vw,2rem);font-weight:650;letter-spacing:-.02em;animation:moduleTitleIn .65s var(--ease) both}@keyframes moduleTitleIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.crm-module-page>p{color:var(--text-2)!important;max-width:1000px;margin:5px 4px 22px}.crm-module-page>div[role=alert],.crm-module-page>form,.crm-module-page>section{border:1px solid var(--stroke)!important;border-radius:20px!important;background:var(--module-surface)!important;color:var(--text)!important;box-shadow:0 18px 50px -28px rgba(0,0,0,.82),inset 0 1px 0 rgba(255,255,255,.09);backdrop-filter:blur(22px) saturate(150%);-webkit-backdrop-filter:blur(22px) saturate(150%);animation:rise .7s var(--ease) both;transition:border-color .3s,box-shadow .35s,transform .4s var(--ease)}.crm-module-page form,.crm-module-page section{border-color:var(--stroke)!important;border-radius:18px!important;background:var(--module-surface)!important;color:var(--text)!important;box-shadow:0 18px 50px -28px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.08);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%)}.crm-module-page>form:nth-of-type(2),.crm-module-page>section:nth-of-type(2){animation-delay:70ms}.crm-module-page>form:nth-of-type(3),.crm-module-page>section:nth-of-type(3){animation-delay:.14s}.crm-module-page>form:nth-of-type(4),.crm-module-page>section:nth-of-type(4){animation-delay:.21s}.crm-module-page>form:hover,.crm-module-page>section:hover{border-color:var(--stroke-2)!important;box-shadow:0 22px 56px -28px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.12)}.crm-module-page>div[role=alert]{color:#ff9aaa!important;background:linear-gradient(135deg,rgba(255,77,109,.12),rgba(255,255,255,.025))!important}.crm-module-page h2{color:#f1f4ff;font-size:1.12rem;font-weight:600;margin-top:0}.crm-module-page article{border-color:rgba(255,255,255,.09)!important;border-radius:14px;transition:background .25s,border-color .25s,transform .35s var(--ease),box-shadow .3s}.crm-module-page section>article:nth-of-type(-n+8){animation:rise .58s var(--ease) both}.crm-module-page article:hover{background-color:rgba(255,255,255,.035);border-color:rgba(139,160,255,.24)!important;transform:translateY(-2px)}.crm-module-page label{color:var(--text-2);font-size:.9rem}.crm-module-page input:not([type=checkbox]):not([type=radio]),.crm-module-page select,.crm-module-page textarea{color:var(--text)!important;background:rgba(5,10,23,.62)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:11px!important;transition:border-color .25s,box-shadow .25s,background .25s!important}.crm-module-page input:focus,.crm-module-page select:focus,.crm-module-page textarea:focus{border-color:rgba(91,140,255,.72)!important;box-shadow:0 0 0 3px rgba(91,140,255,.13)!important;outline:none}.crm-module-page option{color:var(--text);background:#111a2d}.crm-module-page button{min-height:38px;padding:8px 14px!important;border:1px solid rgba(139,160,255,.24)!important;border-radius:12px!important;background:linear-gradient(135deg,rgba(91,140,255,.22),rgba(139,123,255,.16))!important;color:#eef2ff!important;font:600 .86rem var(--font)!important;cursor:pointer;transition:transform .32s var(--spring),box-shadow .3s,border-color .25s,background .25s!important}.crm-module-page button:not(:disabled):hover{transform:translateY(-2px);border-color:rgba(139,160,255,.48)!important;box-shadow:0 10px 26px -16px rgba(91,140,255,.8);background:linear-gradient(135deg,rgba(91,140,255,.35),rgba(139,123,255,.25))!important}.crm-module-page button:not(:disabled):active{transform:translateY(0) scale(.98)}.crm-module-page button:disabled{opacity:.48;cursor:not-allowed}.crm-module-page table{color:var(--text-2);border-collapse:separate!important;border-spacing:0 5px!important}.crm-module-page th{color:#bdcaff;font-weight:600}.crm-module-page td,.crm-module-page th{border-color:rgba(255,255,255,.09)!important}.crm-module-page tbody tr{transition:background .25s}.crm-module-page tbody tr:hover{background:rgba(91,140,255,.07)}.crm-module-page small{color:var(--muted)}.crm-portal-page{display:grid!important;align-content:start;justify-items:center;height:auto!important;min-height:100vh;min-height:100dvh;overflow:visible!important;padding-bottom:max(24px,env(safe-area-inset-bottom))!important;background:transparent!important}.crm-portal-page>section{width:min(100%,720px);padding:clamp(22px,4vw,34px)!important;border-radius:24px!important;box-shadow:0 28px 90px -35px rgba(0,0,0,.85),0 0 55px -42px rgba(91,140,255,.8),inset 0 1px 0 rgba(255,255,255,.14)!important}.crm-portal-page>section header>div:first-child{color:#f4f6ff}.crm-portal-page>section header p,.crm-portal-page>section header>div:nth-child(2){color:var(--muted)!important}.crm-portal-page button{background:linear-gradient(135deg,#5b8cff,#7c5cff)!important;color:white!important;box-shadow:0 12px 30px -16px rgba(91,140,255,.9)}.crm-portal-page a{color:#9bb4ff!important}@media (max-width:700px){.crm-module-page{padding:18px!important}.crm-module-page>form,.crm-module-page>section{padding:15px!important}.crm-module-page table{min-width:650px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.aurora i,.crm-module-page:before{animation:none!important}}.theme-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 13px;border:1px solid var(--stroke-2);border-radius:13px;color:var(--text);background:rgba(20,29,49,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 8px 28px rgba(0,0,0,.18);cursor:pointer;font:600 .82rem var(--font);transition:transform .25s var(--spring),background .25s,color .25s,box-shadow .25s}.global-controls{position:fixed;z-index:1200;top:16px;inset-inline-end:16px;display:flex;align-items:center;gap:8px}.language-toggle{min-height:40px;padding:8px 13px;border:1px solid var(--stroke-2);border-radius:13px;color:var(--text);background:rgba(20,29,49,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 8px 28px rgba(0,0,0,.18);cursor:pointer;font:600 .82rem var(--font)}.language-toggle:hover,.theme-toggle:hover{transform:translateY(-2px)}.theme-toggle:hover{box-shadow:0 12px 32px rgba(0,0,0,.22)}.theme-toggle span:first-child{font-size:1.05rem}body[data-theme=light]{--ink:#edf2f8;--text:#172033;--text-2:#46536a;--muted:#65738b;--stroke:rgba(36,55,82,.14);--stroke-2:rgba(36,55,82,.24);color-scheme:light;background:#edf2f8;color:var(--text)}body[data-theme=light] .aurora{opacity:.26}body[data-theme=light] .aurora i{filter:blur(105px)}body[data-theme=light] .glass,body[data-theme=light] .panel,body[data-theme=light] .status-chip{color:var(--text);border-color:var(--stroke);background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(247,250,255,.78));box-shadow:0 14px 38px -24px rgba(35,55,88,.35),inset 0 1px 0 rgba(255,255,255,.92)}body[data-theme=light] .card-title,body[data-theme=light] .main,body[data-theme=light] .page-title,body[data-theme=light] .patient,body[data-theme=light] .stat-value,body[data-theme=light] .user-name{color:var(--text)}body[data-theme=light] .nav-item{color:#64728a}body[data-theme=light] .nav-item.active,body[data-theme=light] .nav-item:hover{color:#1b2d4d}body[data-theme=light] .nav-ind{background:linear-gradient(135deg,rgba(91,140,255,.17),rgba(139,123,255,.1));border-color:rgba(80,112,186,.24);box-shadow:0 8px 24px -12px rgba(53,92,170,.3)}body[data-theme=light] .btn:not(.btn-primary):not(.btn-success):not(.btn-danger){color:#273956;background:rgba(58,91,145,.08);border-color:rgba(58,91,145,.18)}body[data-theme=light] .tbl td{background:rgba(255,255,255,.68);color:#27364e}body[data-theme=light] .tbl tr.row:hover td{background:rgba(91,140,255,.1)}body[data-theme=light] .crm-module-page{--module-surface:linear-gradient(145deg,rgba(255,255,255,.92),rgba(245,248,253,.86));color:#202c40!important}body[data-theme=light] .crm-module-page h2,body[data-theme=light] .crm-module-page label,body[data-theme=light] .crm-module-page strong,body[data-theme=light] .crm-module-page td,body[data-theme=light] .crm-module-page>h1{color:#26344b!important}body[data-theme=light] .crm-module-page p,body[data-theme=light] .crm-module-page small,body[data-theme=light] .crm-module-page>p{color:#58677e!important}body[data-theme=light] .crm-module-page article,body[data-theme=light] .crm-module-page form,body[data-theme=light] .crm-module-page section,body[data-theme=light] .crm-module-page>div[role=alert],body[data-theme=light] .crm-module-page>div[role=status]{color:#27364d!important;background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(244,248,253,.9))!important;border-color:rgba(42,65,98,.14)!important;box-shadow:0 14px 38px -26px rgba(31,53,86,.28),inset 0 1px 0 #fff}body[data-theme=light] .crm-module-page input:not([type=checkbox]):not([type=radio]),body[data-theme=light] .crm-module-page select,body[data-theme=light] .crm-module-page textarea{color:#202c40!important;background:rgba(255,255,255,.94)!important;border-color:rgba(40,61,93,.2)!important}body[data-theme=light] .crm-module-page input::placeholder,body[data-theme=light] .crm-module-page textarea::placeholder{color:#8793a6}body[data-theme=light] .crm-module-page td,body[data-theme=light] .crm-module-page th{border-color:rgba(42,65,98,.13)!important}body[data-theme=light] .crm-portal-page>section{box-shadow:0 28px 80px -44px rgba(42,66,105,.35),inset 0 1px 0 #fff!important}body[data-theme=light] .crm-auth-screen{color:#202c40!important;background:radial-gradient(circle at 20% 10%,rgba(45,212,191,.12),transparent 34%),#edf2f8!important;font-family:var(--font)!important}body[data-theme=light] .crm-auth-card{color:#202c40;background:rgba(255,255,255,.95)!important;border-color:rgba(42,65,98,.15)!important;box-shadow:0 24px 70px rgba(42,66,105,.15)!important}body[data-theme=light] .crm-auth-label{color:#46536a!important}body[data-theme=light] .crm-auth-input{color:#202c40!important;background:#fff!important;border-color:rgba(40,61,93,.2)!important}body[data-theme=light] .crm-auth-card p{color:#58677e!important}body[data-theme=light] .crm-portal-page>section header>div:first-child{color:#26344b!important}body[data-theme=light] .language-toggle,body[data-theme=light] .theme-toggle{color:#26344b;background:rgba(255,255,255,.88);border-color:rgba(42,65,98,.18)}body[data-theme=surgical]{--ink:#0c191b;--text:#e9f5f0;--text-2:#b1cbc4;--muted:#96b2ae;--stroke:rgba(165,224,213,.12);--stroke-2:rgba(165,224,213,.22);--venous:#57c6af;--violet:#7bada7;--teal:#65d3ae;--amber:#edc477;color-scheme:dark;color:var(--text);background:radial-gradient(ellipse at 90% 0,rgba(54,155,137,.12),transparent 36%),var(--ink)}body[data-theme=surgical] .aurora .a1{background:radial-gradient(circle at 30% 30%,#3d9b87,transparent 68%);opacity:.25}body[data-theme=surgical] .aurora .a2{background:radial-gradient(circle at 50% 50%,#276f78,transparent 68%);opacity:.34}body[data-theme=surgical] .aurora .a3{background:radial-gradient(circle,#57c6af,transparent 68%);opacity:.14}body[data-theme=surgical] .glass,body[data-theme=surgical] .panel,body[data-theme=surgical] .status-chip{color:var(--text);border-color:var(--stroke);background:linear-gradient(145deg,rgba(24,53,53,.94),rgba(16,37,39,.9));box-shadow:0 18px 50px -25px rgba(0,0,0,.58),inset 0 1px 0 rgba(190,235,224,.07)}body[data-theme=surgical] .brand-mark{background:linear-gradient(135deg,#3c9b88,#57c6af 65%,#2e7975);box-shadow:0 10px 28px -8px rgba(52,171,148,.45),inset 0 1px 0 rgba(255,255,255,.3)}body[data-theme=surgical] .nav-ind{background:linear-gradient(135deg,rgba(87,198,175,.23),rgba(72,145,142,.12));border-color:rgba(118,216,194,.26);box-shadow:0 8px 28px -9px rgba(49,159,138,.38),inset 0 1px 0 rgba(255,255,255,.08)}body[data-theme=surgical] .btn-primary{background:linear-gradient(135deg,#368e80,#4fb69e);box-shadow:0 12px 28px -12px rgba(54,157,135,.72),inset 0 1px 0 rgba(255,255,255,.23)}body[data-theme=surgical] .btn-primary:hover{background:linear-gradient(135deg,#43a291,#61c9ad);box-shadow:0 15px 34px -12px rgba(66,180,153,.72),inset 0 1px 0 rgba(255,255,255,.3)}body[data-theme=surgical] .btn-success{color:#09231e;background:linear-gradient(135deg,#65d3ae,#8be2c4)}body[data-theme=surgical] .field:focus{border-color:rgba(87,198,175,.72);background:rgba(87,198,175,.08);box-shadow:0 0 0 4px rgba(87,198,175,.14)}body[data-theme=surgical] select.field option{background:#122527;color:#e9f5f0}body[data-theme=surgical] .smart-chip{background:rgba(87,198,175,.12);border-color:rgba(87,198,175,.24)}body[data-theme=surgical] .smart-suggestions{background:#122527}body[data-theme=surgical] .smart-suggestions button:hover{background:rgba(87,198,175,.14)}body[data-theme=surgical] .smart-hint.catalog-error{color:#ff9aa3}body[data-theme=surgical] .tbl td{background:rgba(214,244,234,.035)}body[data-theme=surgical] .tbl tr.row:hover td{background:rgba(87,198,175,.08)}body[data-theme=surgical] .crm-module-page{--module-surface:linear-gradient(145deg,rgba(24,53,53,.94),rgba(16,37,39,.9));color:var(--text)!important}body[data-theme=surgical] .crm-module-page:before{background:radial-gradient(ellipse at 86% 12%,rgba(66,170,148,.16),transparent 36%),radial-gradient(ellipse at 15% 86%,rgba(43,111,120,.2),transparent 38%),radial-gradient(ellipse at 52% 43%,rgba(87,198,175,.08),transparent 36%)}body[data-theme=surgical] .crm-module-page>a:first-child{color:#9ce0cb!important;border-color:rgba(121,212,190,.23);background:rgba(87,198,175,.1)}body[data-theme=surgical] .crm-module-page>a:first-child:hover{background:rgba(87,198,175,.18);box-shadow:0 10px 28px -18px rgba(87,198,175,.7)}body[data-theme=surgical] .crm-module-page h2,body[data-theme=surgical] .crm-module-page strong,body[data-theme=surgical] .crm-module-page>h1{color:#e9f5f0!important}body[data-theme=surgical] .crm-module-page p,body[data-theme=surgical] .crm-module-page small,body[data-theme=surgical] .crm-module-page>p{color:#a8c3bc!important}body[data-theme=surgical] .crm-module-page article,body[data-theme=surgical] .crm-module-page form,body[data-theme=surgical] .crm-module-page section,body[data-theme=surgical] .crm-module-page>form,body[data-theme=surgical] .crm-module-page>section{border-color:var(--stroke)!important;background:var(--module-surface)!important;color:var(--text)!important}body[data-theme=surgical] .crm-module-page article:hover{background-color:rgba(87,198,175,.07)!important;border-color:rgba(121,212,190,.24)!important}body[data-theme=surgical] .crm-module-page label{color:var(--text-2)!important}body[data-theme=surgical] .crm-module-page input:not([type=checkbox]):not([type=radio]),body[data-theme=surgical] .crm-module-page select,body[data-theme=surgical] .crm-module-page textarea{color:var(--text)!important;background:rgba(8,25,27,.72)!important;border-color:rgba(165,224,213,.16)!important}body[data-theme=surgical] .crm-module-page input:focus,body[data-theme=surgical] .crm-module-page select:focus,body[data-theme=surgical] .crm-module-page textarea:focus{border-color:rgba(87,198,175,.7)!important;box-shadow:0 0 0 3px rgba(87,198,175,.13)!important}body[data-theme=surgical] .crm-module-page option{color:var(--text);background:#122527}body[data-theme=surgical] .crm-module-page button{border-color:rgba(121,212,190,.24)!important;background:linear-gradient(135deg,rgba(57,145,128,.3),rgba(63,133,131,.19))!important;color:#e9f5f0!important}body[data-theme=surgical] .crm-module-page button:not(:disabled):hover{border-color:rgba(121,212,190,.46)!important;background:linear-gradient(135deg,rgba(57,145,128,.43),rgba(63,133,131,.3))!important;box-shadow:0 10px 26px -16px rgba(87,198,175,.62)}body[data-theme=surgical] .crm-module-page th{color:#b8e5d9}body[data-theme=surgical] .crm-module-page td,body[data-theme=surgical] .crm-module-page th{border-color:var(--stroke)!important}body[data-theme=surgical] .crm-module-page tbody tr:hover{background:rgba(87,198,175,.065)}body[data-theme=surgical] .crm-portal-page>section{box-shadow:0 28px 80px -44px rgba(0,0,0,.6),inset 0 1px 0 rgba(190,235,224,.07)!important}body[data-theme=surgical] .crm-portal-page button{background:linear-gradient(135deg,#368e80,#4fb69e)!important;box-shadow:0 12px 30px -16px rgba(54,157,135,.78)}body[data-theme=surgical] .crm-portal-page a{color:#9ce0cb!important}body[data-theme=surgical] .crm-auth-screen{color:var(--text)!important;background:radial-gradient(circle at 20% 10%,rgba(87,198,175,.12),transparent 34%),#0c191b!important}body[data-theme=surgical] .crm-auth-card{color:var(--text);background:rgba(18,37,39,.95)!important;border-color:var(--stroke)!important;box-shadow:0 24px 70px rgba(0,0,0,.4)!important}body[data-theme=surgical] .crm-auth-label{color:var(--text-2)!important}body[data-theme=surgical] .crm-auth-input{color:var(--text)!important;background:rgba(8,25,27,.72)!important;border-color:rgba(165,224,213,.18)!important}body[data-theme=surgical] .crm-auth-card p{color:var(--muted)!important}body[data-theme=surgical] .language-toggle,body[data-theme=surgical] .theme-toggle{color:var(--text);background:rgba(18,37,39,.9);border-color:var(--stroke-2)}@media (max-width:720px){.global-controls{top:10px;inset-inline-end:10px;gap:6px}.language-toggle,.theme-toggle{min-height:36px;padding:6px 10px;font-size:.75rem}}body[data-theme=dark]{--ink:#0a1020;--text:#eef2ff;--text-2:#c4cde0;--muted:#94a2bf;--stroke:rgba(220,232,255,.10);--stroke-2:rgba(220,232,255,.18);--arterial:#ef7186;--venous:#70a1ff;--violet:#9a8cff;--teal:#48c5a5;--amber:#f0bb65;color-scheme:dark;color:var(--text);background:radial-gradient(ellipse at 83% -20%,rgba(91,140,255,.16),transparent 42%),#0a1020}body[data-theme=dark] .aurora .a1{background:radial-gradient(circle at 30% 30%,#526fae,transparent 68%);opacity:.18}body[data-theme=dark] .aurora .a2{background:radial-gradient(circle at 50% 50%,#4e6fa8,transparent 68%);opacity:.19}body[data-theme=dark] .aurora .a3{background:radial-gradient(circle,#7867c4,transparent 68%);opacity:.12}body[data-theme=dark] .glass{border-color:rgba(220,232,255,.1);background:linear-gradient(145deg,rgba(24,36,59,.88),rgba(16,25,43,.84));box-shadow:0 18px 46px -28px rgba(0,0,0,.72),inset 0 1px 0 rgba(255,255,255,.055);backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%)}body[data-theme=dark] .panel{border-color:var(--stroke);background:rgba(23,35,58,.68)}body[data-theme=dark] .brand-mark{background:linear-gradient(135deg,#5b8cff,#8b7bff);box-shadow:0 8px 22px -12px rgba(112,161,255,.72),inset 0 1px 0 rgba(255,255,255,.32)}body[data-theme=dark] .nav-ind{background:rgba(112,161,255,.13);border-color:rgba(112,161,255,.24);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}body[data-theme=dark] .nav-item.active{color:#dce8ff}body[data-theme=dark] .nav-badge{background:rgba(112,161,255,.12);color:#b9cdf4}body[data-theme=dark] .hero{background:linear-gradient(112deg,rgba(20,31,52,.88),rgba(44,35,62,.76))}body[data-theme=dark] .ecg .comet{filter:drop-shadow(0 0 5px rgba(112,161,255,.46))}body[data-theme=dark] .btn-primary{background:#346fce;box-shadow:0 9px 22px -13px rgba(91,140,255,.72),inset 0 1px 0 rgba(255,255,255,.2)}body[data-theme=dark] .btn-primary:hover{background:#427fdf;box-shadow:0 12px 26px -13px rgba(91,140,255,.8),inset 0 1px 0 rgba(255,255,255,.24)}body[data-theme=dark] .btn-success{background:linear-gradient(135deg,#38ad94,#48c5a5);box-shadow:0 9px 22px -14px rgba(72,197,165,.7)}body[data-theme=dark] .field{color:var(--text);background:rgba(10,16,32,.68);border-color:rgba(220,232,255,.13)}body[data-theme=dark] .field:focus{border-color:rgba(112,161,255,.68);box-shadow:0 0 0 3px rgba(112,161,255,.12)}body[data-theme=dark] .tbl td{background:rgba(23,35,58,.58)}body[data-theme=dark] .tbl tr.row:hover td{background:rgba(112,161,255,.09)}body[data-theme=dark] .patient:hover span.nm{color:#a9c6ff}body[data-theme=dark] .language-toggle,body[data-theme=dark] .theme-toggle{color:var(--text);background:rgba(17,26,45,.9);border-color:var(--stroke-2)}body[data-theme=dark] .crm-module-page{--module-surface:linear-gradient(145deg,rgba(23,35,58,.94),rgba(15,24,41,.92));color:var(--text)!important}body[data-theme=dark] .crm-module-page h2,body[data-theme=dark] .crm-module-page label,body[data-theme=dark] .crm-module-page strong,body[data-theme=dark] .crm-module-page>h1{color:#e7edfb!important}body[data-theme=dark] .crm-module-page p,body[data-theme=dark] .crm-module-page small,body[data-theme=dark] .crm-module-page>p{color:#a5b2cc!important}body[data-theme=dark] .crm-module-page article,body[data-theme=dark] .crm-module-page form,body[data-theme=dark] .crm-module-page section,body[data-theme=dark] .crm-module-page>form,body[data-theme=dark] .crm-module-page>section{color:var(--text)!important;border-color:var(--stroke)!important;background:var(--module-surface)!important}body[data-theme=dark] .crm-module-page input:not([type=checkbox]):not([type=radio]),body[data-theme=dark] .crm-module-page select,body[data-theme=dark] .crm-module-page textarea{color:var(--text)!important;background:rgba(10,16,32,.76)!important;border-color:rgba(220,232,255,.14)!important}body[data-theme=dark] .crm-module-page option{color:var(--text);background:#111a2d}body[data-theme=dark] .crm-module-page button{color:var(--text)!important;border-color:rgba(112,161,255,.22)!important;background:rgba(112,161,255,.1)!important}body[data-theme=dark] .crm-module-page button:not(:disabled):hover{background:rgba(112,161,255,.18)!important;border-color:rgba(112,161,255,.4)!important}body[data-theme=dark] .crm-module-page td,body[data-theme=dark] .crm-module-page th{border-color:var(--stroke)!important}body[data-theme=dark] .crm-auth-screen{color:var(--text)!important;background:radial-gradient(circle at 20% 10%,rgba(91,140,255,.12),transparent 34%),#0a1020!important}body[data-theme=dark] .crm-auth-card{color:var(--text);background:rgba(17,26,45,.96)!important;border-color:var(--stroke)!important;box-shadow:0 24px 70px rgba(0,0,0,.42)!important}body[data-theme=dark] .crm-auth-label{color:var(--text-2)!important}body[data-theme=dark] .crm-auth-input{color:var(--text)!important;background:rgba(10,16,32,.76)!important;border-color:rgba(220,232,255,.16)!important}body[data-theme=dark] .crm-auth-card p{color:var(--muted)!important}body[data-theme=dark] .crm-portal-page>section{box-shadow:0 28px 80px -44px rgba(0,0,0,.68),inset 0 1px 0 rgba(255,255,255,.06)!important}body[data-theme=dark] .crm-portal-page button{background:linear-gradient(135deg,#346fce,#507ed0)!important}body[data-theme=dark] .crm-portal-page a{color:#a9c6ff!important}html[dir=ltr] .crm-auth-screen,html[dir=ltr] .crm-module-page:not(.patient-facing){direction:ltr!important;text-align:left}html[dir=ltr] .crm-module-page:not(.patient-facing) table{direction:ltr}html[dir=ltr] .crm-module-page:not(.patient-facing) td,html[dir=ltr] .crm-module-page:not(.patient-facing) th{text-align:left!important}html[dir=ltr] .protocol-patient-text{direction:rtl!important;text-align:right!important}@media (min-width:721px){.shell{gap:14px;padding:12px}.sidebar{width:246px;top:12px;height:calc(100vh - 24px);padding:16px 12px}.main{padding:6px 6px 30px}.brand{gap:10px;padding:2px 7px 15px;margin-bottom:13px}.brand-mark{width:38px;height:38px;border-radius:12px}.nav{gap:4px}.nav-ind,.nav-item{height:42px;border-radius:11px}.nav-item{gap:10px;padding-inline:12px;font-size:.86rem}.nav-item svg{width:18px;height:18px}.nav-badge{min-width:21px;height:19px;padding-inline:6px;font-size:.68rem}.user-card{gap:9px;padding:9px}.avatar{width:35px;height:35px}.status-chip{gap:8px;padding:8px 10px}.page-head{margin:5px 3px 18px;gap:12px}.page-title{font-size:1.55rem}.page-sub{font-size:.86rem}.hero{min-height:154px;padding:24px 28px;margin-bottom:16px}.hero-body{gap:13px}.hero h1{font-size:1.85rem}.stats{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:16px}.stat{gap:11px;padding:16px 18px}.chip-ic{width:36px;height:36px;border-radius:12px}.stat-value{font-size:2.1rem}.stat-label{font-size:.82rem}.charts{gap:13px}.card{padding:18px}.card-head{margin-bottom:13px}.chart-box{height:260px}.donut-box{height:185px}.legend{margin-top:13px;gap:8px}.btn{height:38px;padding-inline:15px;font-size:.84rem}.btn.sm{height:33px;padding-inline:12px;font-size:.78rem}.table-head{margin-bottom:10px}.tbl{min-width:740px;border-spacing:0 5px}.tbl th{padding:3px 12px;font-size:.75rem}.tbl td{padding:10px 12px}.tbl td:first-child{border-radius:0;border-start-start-radius:11px;border-end-start-radius:11px}.tbl td:last-child{border-radius:0;border-start-end-radius:11px;border-end-end-radius:11px}.patient{gap:9px;font-size:.88rem}.when b{font-size:.84rem}.actions{gap:6px}.cards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.item-card{gap:10px;padding:18px}.item-title{font-size:1.05rem}.meta-row{font-size:.82rem}.glass.modal{padding:24px}.modal-head{gap:12px;padding-bottom:14px;margin-bottom:16px}.modal-title{gap:11px}.modal-title h3{font-size:1.1rem}.modal-foot{gap:8px;margin-top:18px}.form-row{margin-bottom:13px}.grid-2{gap:13px}.lbl{margin-bottom:6px;font-size:.79rem}.field{height:40px;padding-inline:12px;font-size:.88rem}textarea.field{padding:10px 12px}.empty{padding:42px 18px}}@media (max-width:720px){.shell{padding:8px 8px 88px;gap:10px}.main{padding:4px 2px 22px}.page-head{margin:6px 2px 15px;gap:10px}.page-title{font-size:1.45rem}.page-sub{font-size:.84rem}.hero{min-height:140px;padding:20px 18px;margin-bottom:14px}.hero h1{font-size:1.65rem}.hero-body{gap:12px}.stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:9px;margin-bottom:13px}.stat{padding:13px;gap:10px}.stat-value{font-size:1.9rem}.chip-ic{width:34px;height:34px}.charts{gap:10px}.card{padding:15px}.chart-box{height:230px}.tbl{border-spacing:0 4px}.tbl td{padding:9px 10px}.cards{gap:10px}.item-card{padding:16px}.glass.modal{padding:18px}.modal-head{padding-bottom:12px;margin-bottom:14px}.form-row{margin-bottom:12px}.grid-2{gap:10px}.field{height:42px}}