@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&display=swap";:root{color:#17202a;font-synthesis:none;--navy:#073b70;--blue:#0d5fae;--blue2:#1570d8;--teal:#087e8b;--line:#dde5ec;--muted:#647486;--surface:#fff;--soft:#f6f8fa;--green:#138a5b;--amber:#b46100;--red:#b42318;--shadow:0 12px 30px #152b4414;background:#f4f7fa;font-family:DM Sans,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline-offset:1px;outline:3px solid #1570d83b}.app-shell{min-height:100vh}.sidebar{z-index:20;color:#dbe9f6;background:#072f59;flex-direction:column;width:264px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:8px 0 24px #00183014}.sidebar-head{border-bottom:1px solid #ffffff1a;justify-content:space-between;align-items:center;height:80px;padding:0 18px;display:flex}.brand{align-items:center;gap:11px;display:flex}.brand-mark{color:#073b70;background:linear-gradient(145deg,#e1fbff,#8fe2eb);border-radius:11px;place-items:center;width:38px;height:38px;display:grid}.brand strong{color:#fff;font-size:18px;line-height:1.05;display:block}.brand span{letter-spacing:.13em;color:#9bb9d3;font:500 9px/1.5 IBM Plex Mono;display:block}.sidebar .icon-btn{color:#b9cde0}.sidebar nav{flex:1;padding:18px 12px;overflow-y:auto}.nav-group{margin-bottom:22px}.nav-group small{letter-spacing:.13em;color:#7fa2c0;padding:0 12px 8px;font:500 10px IBM Plex Mono;display:block}.nav-group button,.sidebar-foot>button{color:#c6d8e8;text-align:left;background:0 0;border:0;border-radius:7px;align-items:center;gap:11px;width:100%;height:42px;margin:2px 0;padding:0 12px;font-size:13.5px;font-weight:500;display:flex}.nav-group button:hover,.nav-group button.active,.sidebar-foot>button:hover{color:#fff;background:#ffffff1a}.nav-group button.active{box-shadow:inset 3px 0 #4ed6e4}.nav-group button b{color:#075b65;background:#dff7fa;border-radius:20px;margin-left:auto;padding:2px 7px;font-size:10px}.sidebar-foot{border-top:1px solid #ffffff1a;padding:12px}.security{color:#a9c4db;align-items:center;gap:9px;padding:10px;display:flex}.security div{flex-direction:column;display:flex}.security strong{font-size:11px}.security span{color:#789ab7;font-size:9px}.main-shell{flex-direction:column;min-height:100vh;margin-left:264px;display:flex}.topbar{border-bottom:1px solid var(--line);z-index:10;background:#fff;align-items:center;height:80px;padding:0 30px;display:flex;position:sticky;top:0}.topbar>.icon-btn{display:none}.context{flex-direction:column;display:flex}.context span{letter-spacing:.1em;color:#8391a0;font:500 9px IBM Plex Mono}.context button{color:#243343;background:0 0;border:0;align-items:center;gap:7px;padding:5px 0;font-weight:600;display:flex}.top-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.global-search{border:1px solid var(--line);color:#788696;text-align:left;background:#f8fafc;border-radius:7px;align-items:center;gap:8px;width:230px;height:38px;padding:0 11px;display:flex}.global-search span{flex:1}.global-search kbd{background:#fff;border:1px solid #d9e1e8;border-radius:4px;padding:2px 6px;font-size:10px}.icon-btn{color:#526274;background:0 0;border:0;border-radius:7px;place-items:center;width:36px;height:36px;display:inline-grid;position:relative}.icon-btn:hover{background:#eef3f7}.icon-btn i{background:#e44236;border:2px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:7px}.user-menu{border-left:1px solid var(--line);align-items:center;gap:9px;height:46px;margin-left:7px;padding-left:14px;display:flex}.user-menu>span,.person>span{color:#075192;background:#dcebf8;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;font-weight:700;display:grid}.user-menu div{flex-direction:column;display:flex}.user-menu strong{font-size:12px}.user-menu small{color:var(--muted);font-size:10px}main{flex:1;width:100%;max-width:1620px;margin:0 auto;padding:28px 32px 48px}.page-header{justify-content:space-between;align-items:flex-end;margin-bottom:24px;display:flex}.breadcrumb{text-transform:uppercase;letter-spacing:.07em;color:#768697;align-items:center;gap:6px;margin-bottom:9px;font:500 10px IBM Plex Mono;display:flex}.page-header h1{letter-spacing:-.025em;color:#172b3e;margin:0 0 5px;font-size:27px}.page-header p,.card-head p,.form-card>p{color:var(--muted);margin:0;font-size:13.5px}.primary,.subtle,.link{border:0;border-radius:6px;justify-content:center;align-items:center;gap:8px;height:40px;padding:0 15px;font-size:13px;font-weight:600;display:inline-flex}.primary{color:#fff;background:linear-gradient(#126abf,#07549d);box-shadow:0 5px 12px #0d5fae30}.primary:hover{filter:brightness(.96)}.subtle{color:#35495b;background:#fff;border:1px solid #d6e0e9}.subtle:hover{background:#f5f8fa}.link{color:var(--blue);background:0 0;height:auto;padding:0}.full{width:100%}.stats-grid{grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px;display:grid}.stat{border:1px solid var(--line);background:#fff;border-radius:9px;gap:14px;min-height:110px;padding:18px;display:flex}.stat-icon{width:40px;height:40px;color:var(--blue);background:#e8f2fc;border-radius:9px;place-items:center;display:grid}.stat>div:last-child{flex-direction:column;display:flex}.stat span{color:#657586;font-size:12px}.stat strong{letter-spacing:-.03em;margin:3px 0;font-size:25px}.stat small{color:var(--green);font-size:10.5px}.stat.amber .stat-icon{color:#aa5b00;background:#fff2dc}.stat.teal .stat-icon{color:#08786e;background:#e2f6f4}.stat.violet .stat-icon{color:#7047a8;background:#f1eafd}.dashboard-grid{grid-template-columns:2fr 1fr;gap:18px;margin-bottom:18px;display:grid}.card{border:1px solid var(--line);background:#fff;border-radius:9px;box-shadow:0 1px 2px #14283c06}.card-head{border-bottom:1px solid #e7edf2;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.card-head h2,.role-title h2,.form-card h2{color:#213548;margin:0 0 3px;font-size:16px}.chart{height:260px;padding:24px 24px 22px 45px;position:relative}.chart svg{width:100%;height:190px;overflow:visible}.chart-labels{color:#8b98a5;flex-direction:column;justify-content:space-between;height:190px;font:10px IBM Plex Mono;display:flex;position:absolute;top:20px;left:17px}.chart-days{color:#7d8996;justify-content:space-between;padding-top:8px;font-size:10px;display:flex}.tasks{padding:4px 14px}.tasks>div{border-bottom:1px solid #edf1f5;align-items:center;gap:11px;height:76px;display:flex}.tasks>div:last-child{border:0}.tasks>div>svg{color:#95a1ad;width:16px}.tasks p{flex-direction:column;flex:1;margin:0;display:flex}.tasks strong{font-size:12.5px}.tasks small{color:var(--muted);margin-top:3px;font-size:10.5px}.task-icon{background:#f0f3f5;border-radius:8px;place-items:center;width:36px;height:36px;display:grid}.task-icon svg{width:17px}.task-icon.warning{color:#ac6100;background:#fff2dc}.task-icon.blue{color:#075eaa;background:#e8f2fc}.task-icon.red{color:#b42318;background:#fdebea}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;white-space:nowrap;width:100%}th{text-align:left;border-bottom:1px solid var(--line);color:#647486;letter-spacing:.055em;text-transform:uppercase;background:#f7f9fb;height:42px;padding:0 16px;font:600 10px IBM Plex Mono}td{color:#405163;border-bottom:1px solid #edf1f4;height:58px;padding:8px 16px;font-size:12.5px}tbody tr:hover{background:#f9fbfd}tbody tr:last-child td{border-bottom:0}td strong,.cell-main{color:#26394b}.cell-main{display:block}.person{align-items:center;gap:10px;display:flex}.person strong{font-size:12.5px}.person>span{width:31px;height:31px;font-size:9px}.mono{font-family:IBM Plex Mono}.strong{color:#23394d;font-weight:600}.badge{color:#4e6273;background:#edf2f5;border-radius:20px;padding:4px 9px;font:600 10.5px DM Sans;display:inline-flex}.badge.actif,.badge.confirme,.badge.termine,.badge.reussi,.badge.medecin{color:#087646;background:#e5f6ed}.badge.en-attente,.badge.invite,.badge.en-verification,.badge.document-manquant,.badge.de-garde{color:#9b5300;background:#fff1d9}.badge.desactive,.badge.suspendu{color:#a92c22;background:#fce8e6}.badge.gestionnaire{color:#155ba8;background:#e8f1ff}.badge.secretaire,.badge.auditeur{color:#6546a1;background:#eeeafd}.badge.brouillon,.badge.maintenance{color:#5e6b78;background:#eceff2}.toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.tabs{gap:2px;display:flex}.tabs button{color:#687887;background:0 0;border:0;border-radius:5px;height:36px;padding:0 12px;font-size:12px;font-weight:600}.tabs button.active{color:#075da9;background:#e9f2fb}.tabs b{background:#d9e8f7;border-radius:20px;margin-left:5px;padding:2px 6px;font-size:9px}.toolbar-actions{gap:7px;display:flex}.toolbar-actions label{color:#7a8896;border:1px solid #d6e0e9;border-radius:6px;align-items:center;gap:7px;width:235px;height:38px;padding:0 10px;display:flex}.toolbar-actions input{border:0;outline:0;width:100%;font-size:12px}.toolbar .subtle{height:38px}.table-footer{border-top:1px solid var(--line);color:#748291;justify-content:space-between;align-items:center;min-height:52px;padding:0 16px;font-size:11px;display:flex}.table-footer div{align-items:center;gap:4px;display:flex}.table-footer button,.table-footer b{border:1px solid var(--line);background:#fff;border-radius:5px;place-items:center;width:30px;height:30px;display:grid}.table-footer b{color:#fff;background:#075da9}.agenda-controls{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.segmented{background:#e8edf2;border-radius:7px;padding:3px;display:flex}.segmented button{color:#637383;background:0 0;border:0;border-radius:5px;height:32px;padding:0 13px;font-size:11px}.segmented button.active{color:#164b79;background:#fff;box-shadow:0 1px 4px #00000014}.date-nav{align-items:center;gap:8px;display:flex}.date-nav strong{text-align:center;min-width:145px;font-size:13px}.agenda-controls select,.field input,.field select{color:#304355;background:#fff;border:1px solid #d4dfe8;border-radius:6px;height:40px;padding:0 11px}.calendar{overflow:auto}.cal-head,.cal-body{grid-template-columns:70px repeat(5,1fr);min-width:900px;display:grid}.cal-head{border-bottom:1px solid var(--line);height:70px}.cal-head>div{color:#687989;border-right:1px solid #e8edf2;flex-direction:column;justify-content:center;align-items:center;font-size:11px;display:flex}.cal-head span{color:#233b50;margin-top:2px;font-size:18px;font-weight:700}.cal-head .today{color:#0b63b4;background:#f1f7fd}.cal-head .today span{color:#fff;background:#0b63b4;border-radius:50%;place-items:center;width:30px;height:30px;display:grid}.cal-body{height:560px}.times{text-align:right;color:#84909c;flex-direction:column;justify-content:space-between;padding:0 10px 4px 0;font:9px IBM Plex Mono;display:flex}.day-col{background:repeating-linear-gradient(#fff 0 61px,#edf1f4 62px);border-left:1px solid #e8edf2;position:relative}.event{color:#174f82;background:#e8f2fc;border-left:3px solid #1269bc;border-radius:5px;padding:7px;position:absolute;left:6px;right:6px;overflow:hidden;box-shadow:0 2px 4px #174f8214}.event strong,.event span{font-size:10px;display:block}.event span{color:#41729d;margin-top:3px}.event.pending{color:#7c4b00;background:#fff3db;border-color:#e39816}.event.done{color:#126742;background:#e6f7ef;border-color:#159061}.event.blocked{color:#596673;background:#f0f2f4;border-color:#8794a0}.roles-grid{grid-template-columns:repeat(2,1fr);gap:18px;display:grid}.role-card{padding:20px}.role-title{align-items:center;gap:12px;display:flex}.role-title>div:nth-child(2){flex:1}.role-title p{color:var(--muted);margin:0;font-size:11px}.role-symbol{color:#0c5fa9;background:#e6f1fb;border-radius:9px;place-items:center;width:42px;height:42px;display:grid}.role-symbol svg{width:19px}.role-symbol.c1{color:#0a796d;background:#e9f7f4}.role-symbol.c2{color:#6d4aa3;background:#f0ebfb}.role-symbol.c3{color:#a25a00;background:#fff0dc}.permission-list{grid-template-columns:1fr 1fr;gap:10px 18px;margin:22px 0;display:grid}.permission-list>div{color:#89949f;align-items:center;gap:7px;font-size:11px;display:flex}.permission-list span{background:#f0f2f4;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.permission-list svg{width:11px}.permission-list .enabled{color:#35495b}.permission-list .enabled span{color:#08734a;background:#e3f5ec}.settings-grid{grid-template-columns:240px 1fr;gap:18px;display:grid}.settings-nav{height:max-content;padding:8px}.settings-nav button{text-align:left;color:#566879;background:0 0;border:0;border-radius:6px;width:100%;height:42px;padding:0 12px;font-size:12px;display:block}.settings-nav button.active{color:#075da9;background:#eaf2fa;font-weight:600}.form-card{padding:24px}.form-card h3{margin:23px 0 14px;font-size:14px}.form-grid{grid-template-columns:1fr 1fr;gap:16px;margin-top:22px;display:grid}.field{flex-direction:column;gap:6px;display:flex}.field>span{color:#425568;font-size:11px;font-weight:600}.form-card hr{border:0;border-top:1px solid var(--line);margin:25px 0}.toggle-line{border-bottom:1px solid #edf1f4;justify-content:space-between;align-items:center;padding:14px 0;display:flex}.toggle-line>div{flex-direction:column;display:flex}.toggle-line strong{font-size:12px}.toggle-line span{color:var(--muted);margin-top:3px;font-size:10.5px}.switch input{display:none}.switch>span{background:#ccd6df;border-radius:20px;width:38px;height:22px;padding:3px;display:block}.switch>span:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:all .2s;display:block}.switch input:checked+span{background:#0875c9}.switch input:checked+span:after{transform:translate(16px)}.form-actions{justify-content:flex-end;gap:8px;margin-top:25px;display:flex}footer{border-top:1px solid var(--line);color:#82909e;background:#fff;justify-content:space-between;align-items:center;height:58px;padding:0 32px;font-size:10px;display:flex}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#04152494;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:12px;width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto;box-shadow:0 28px 70px #0014284d}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;padding:21px 24px;display:flex}.modal-head h2{margin:0 0 4px;font-size:19px}.modal-head p{color:var(--muted);margin:0;font-size:12px}.modal-body{padding:24px}.modal-body h3{margin:25px 0 12px;font-size:13px}.check-grid{grid-template-columns:1fr 1fr;gap:9px;display:grid}.check-grid label{border:1px solid var(--line);border-radius:6px;align-items:center;gap:8px;height:38px;padding:0 10px;font-size:11px;display:flex}.check-grid input{display:none}.check-grid label>span{border:1px solid #c5d0da;border-radius:4px;place-items:center;width:17px;height:17px;display:grid}.check-grid svg{width:11px;display:none}.check-grid input:checked+span{color:#fff;background:#075da9;border-color:#075da9}.check-grid input:checked+span svg{display:block}.notice{color:#155a94;background:#eef6fc;border-radius:7px;gap:10px;margin-top:18px;padding:13px;display:flex}.notice svg{width:19px}.notice p{flex-direction:column;margin:0;display:flex}.notice strong{font-size:11px}.notice span{margin-top:2px;font-size:10px}.modal-foot{border-top:1px solid var(--line);justify-content:flex-end;gap:8px;padding:16px 24px;display:flex}.mobile-scrim{display:none}@media (width<=1180px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid,.roles-grid{grid-template-columns:1fr}.global-search{width:170px}.user-menu div{display:none}}@media (width<=900px){.sidebar{transition:all .25s;transform:translate(-100%)}.sidebar.open{transform:none}.mobile-scrim{z-index:15;background:#0112226b;display:block;position:fixed;inset:0}.main-shell{margin-left:0}.topbar>.icon-btn{display:grid}.topbar{padding:0 18px}.context{margin-left:8px}main{padding:24px 18px}.settings-grid{grid-template-columns:1fr}.settings-nav{display:flex;overflow:auto}.settings-nav button{white-space:nowrap;width:auto}.toolbar{flex-direction:column;align-items:flex-start}.toolbar-actions{width:100%}.toolbar-actions label{flex:1;width:auto}}@media (width<=640px){.topbar{height:66px}.context span,.global-search,.user-menu div,.user-menu>svg{display:none}.user-menu{margin-left:0;padding-left:8px}.top-actions{gap:2px}main{padding:20px 12px}.page-header{align-items:flex-start;gap:16px}.page-header h1{font-size:22px}.page-header p{font-size:12px}.page-header .primary{width:40px;padding:0;font-size:0}.stats-grid{grid-template-columns:1fr 1fr;gap:9px}.stat{gap:9px;min-height:100px;padding:13px}.stat-icon{width:34px;height:34px}.stat strong{font-size:20px}.stat span{font-size:10px}.stat small{font-size:8.5px}.card-head{padding:15px}.chart{height:220px;padding-left:35px}.chart svg{height:155px}.tasks>div{height:68px}.tabs{width:100%;overflow:auto}.toolbar-actions{flex-wrap:wrap}.toolbar-actions label{flex-basis:100%;width:100%}.toolbar-actions .subtle{flex:1}.agenda-controls{flex-wrap:wrap}.date-nav{order:3;justify-content:center;width:100%}.agenda-controls select{max-width:160px}.permission-list,.form-grid,.check-grid{grid-template-columns:1fr}.roles-grid{gap:12px}.role-card{padding:16px}.settings-nav{order:2}.form-card{padding:17px}footer{padding:0 15px}footer span:last-child{display:none}.modal-backdrop{align-items:end;padding:0}.modal{border-radius:14px 14px 0 0;width:100%;max-height:92vh}.modal-body,.modal-head{padding:18px}.breadcrumb{font-size:8px}}.facility-switcher{color:#253b50;background:#fff;border:1px solid #dce3ea;border-radius:8px;max-width:360px;padding:7px 31px 7px 10px;font-size:12px;font-weight:700}.login-page{background:#fff;grid-template-columns:minmax(420px,1.1fr) minmax(430px,.9fr);min-height:100vh;display:grid}.login-brand{color:#fff;background:radial-gradient(circle at 75% 20%,#23aabb45,#0000 32%),linear-gradient(145deg,#052b51,#07467c 58%,#075864);flex-direction:column;justify-content:space-between;padding:46px clamp(36px,6vw,90px);display:flex;position:relative;overflow:hidden}.login-brand:after{content:"";border:1px solid #ffffff17;border-radius:50%;width:520px;height:520px;position:absolute;bottom:-210px;right:-240px;box-shadow:0 0 0 70px #ffffff06,0 0 0 140px #ffffff05}.login-brand>div:nth-child(2){z-index:1;position:relative}.login-brand>div:nth-child(2)>span,.eyebrow{letter-spacing:.14em;color:#70d9e3;font:500 10px IBM Plex Mono}.login-brand h1{letter-spacing:-.04em;margin:20px 0;font-size:clamp(36px,4vw,58px);line-height:1.08}.login-brand p{color:#c5d9e9;max-width:570px;font-size:16px;line-height:1.7}.login-brand>small{letter-spacing:.05em;color:#91b3cf;z-index:1;font:500 10px IBM Plex Mono;position:relative}.login-panel{place-items:center;padding:40px;display:grid}.login-panel form{width:min(390px,100%)}.login-panel h2{letter-spacing:-.03em;margin:12px 0 5px;font-size:31px}.login-panel form>p{color:var(--muted);margin:0 0 28px;font-size:13px}.login-panel .field{margin-bottom:16px}.login-panel .field input{height:47px;font-size:14px}.login-options{color:#5d6d7d;justify-content:space-between;align-items:center;margin:4px 0 22px;font-size:11px;display:flex}.login-options label{align-items:center;gap:7px;display:flex}.login-options button{color:var(--blue);background:0 0;border:0;font-weight:600}.login-submit{width:100%;height:48px}.login-submit svg{width:17px}.login-submit:disabled{opacity:.7;cursor:wait}.login-security{color:#607588;background:#f2f7fb;border:1px solid #e0eaf2;border-radius:7px;align-items:flex-start;gap:10px;margin-top:20px;padding:12px;font-size:10px;line-height:1.5;display:flex}.login-security svg{color:#1769ad;flex:none;width:16px}.login-error{color:#98271f;background:#fff0ef;border:1px solid #f1cbc7;border-radius:7px;align-items:center;gap:9px;margin-bottom:18px;padding:11px;font-size:11px;display:flex}.login-error svg{width:17px}.login-mobile-logo{display:none}.login-panel .brand strong{color:#17354e}.login-panel .brand span{color:#6e879b}@media (width<=800px){.login-page{background:linear-gradient(#eef6fb,#fff 38%);grid-template-columns:1fr}.login-brand{display:none}.login-panel{padding:28px 20px}.login-mobile-logo{margin-bottom:50px;display:block}.login-panel form{max-width:430px}.login-panel h2{font-size:27px}}.login-phone-stage{perspective:600px;place-items:center;width:320px;height:210px;margin:0 0 26px -4px;display:grid;position:relative}.login-phone-halo{filter:blur(22px);background:linear-gradient(145deg,#2e96ff7a,#39e1c252);border-radius:50%;width:116px;height:116px;animation:4s ease-in-out infinite loginPhoneGlow;position:absolute}.login-phone-orbit{border:1px solid #74e2eb47;border-radius:50%;width:128px;height:128px;animation:12s linear infinite loginPhoneOrbit;position:absolute}.login-phone-orbit:after{content:"";border:1px dashed #ffffff2e;border-radius:50%;position:absolute;inset:12px}.login-phone-orbit i{background:#70e6cf;border-radius:50%;width:7px;height:7px;position:absolute;top:-4px;left:50%;box-shadow:0 0 0 5px #70e6cf1f,0 0 14px #70e6cf}.login-phone-device{width:61px;height:119px;transform-style:preserve-3d;background:#f8fbff;border:4px solid #071b31;border-radius:13px;padding:8px 5px 5px;animation:5s ease-in-out infinite loginPhoneFloat;position:relative;overflow:hidden;box-shadow:-7px 14px 24px #000c256b}.care-network-lines{width:100%;height:100%;position:absolute;inset:0;overflow:visible}.care-network-lines path{fill:none;stroke:#80dbed59;stroke-width:1.5px;stroke-dasharray:5 7;animation:7s linear infinite careLineFlow}.care-network-lines .flow{fill:#78f0d7;filter:drop-shadow(0 0 5px #78f0d7)}.care-network-lines .flow-two{fill:#66baff;filter:drop-shadow(0 0 5px #66baff)}.care-node{z-index:3;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#052d51b8;border:1px solid #ffffff38;border-radius:11px;grid-template-rows:auto auto;grid-template-columns:31px auto;align-items:center;column-gap:8px;min-width:112px;padding:8px 10px;animation:4.5s ease-in-out infinite careNodeFloat;display:grid;position:absolute;box-shadow:0 12px 28px #000e273b,inset 0 1px #ffffff1a}.care-node>span{color:#a8f5e8;background:linear-gradient(145deg,#268dff59,#39dcc138);border-radius:9px;grid-row:1/3;place-items:center;width:31px;height:31px;display:grid}.care-node b{color:#fff;font-size:10px;line-height:1.2}.care-node small{color:#9fc5db;font-size:7px;line-height:1.3}.patient-node{top:15px;left:0}.doctor-node{animation-delay:-1.4s;top:15px;right:0}.facility-node{animation-name:careNodeFloatCenter;animation-delay:-2.7s;bottom:0;left:50%;transform:translate(-50%)}.login-phone-device{z-index:4}.login-phone-halo,.login-phone-orbit{z-index:1}.login-phone-device:after{content:"";background:linear-gradient(110deg,#0000 25%,#ffffffa6 45%,#0000 62%);animation:6s ease-in-out infinite loginPhoneShine;position:absolute;inset:0;transform:translate(-140%)}.login-phone-island{z-index:2;background:#06111f;border-radius:5px;width:21px;height:4px;position:absolute;top:3px;left:50%;transform:translate(-50%)}.login-phone-screen{color:#113454;padding-top:5px}.login-phone-brand{align-items:center;gap:3px;font-size:5px;font-weight:800;display:flex}.login-phone-brand b{color:#fff;background:#0867e8;border-radius:3px;place-items:center;width:10px;height:10px;font-size:5px;display:grid}.login-phone-line{background:#dbe7f3;border-radius:4px;width:28px;height:3px;margin-top:5px}.login-phone-line.wide{background:#b8d0e8;width:40px;margin-top:9px}.login-phone-card{background:linear-gradient(135deg,#0872f5,#0751bf);border-radius:5px;align-items:center;gap:4px;height:28px;margin-top:7px;padding:4px;display:flex}.login-phone-card i{color:#fff;background:#fff3;border-radius:4px;place-items:center;width:12px;height:12px;font-size:8px;font-style:normal;display:grid}.login-phone-card span{background:#ffffffb3;border-radius:3px;width:22px;height:3px}.login-phone-actions{grid-template-columns:repeat(3,1fr);gap:3px;margin-top:7px;display:grid}.login-phone-actions i{background:#e5f0fa;border:1px solid #d4e4f2;border-radius:4px;height:17px}.login-brand-message>span{display:inline-block;position:relative}.login-brand-message>span:before{content:"";background:linear-gradient(90deg,#2a9cff,#70e6cf);width:22px;height:2px;margin:0 9px 3px 0;display:inline-block;box-shadow:0 0 10px #70e6cfa6}.login-brand-message{text-align:center;align-self:center;width:min(640px,100%)}.login-brand-message .login-phone-stage{margin:0 auto 28px}.login-brand-message p{margin-left:auto;margin-right:auto}.login-brand-message h1{max-width:620px;margin-left:auto;margin-right:auto}.login-brand>small{text-align:center;align-self:center}.login-brand>.brand{align-self:flex-start}@media (height<=760px) and (width>=801px){.login-phone-stage{transform:scale(.8);margin-top:-20px!important;margin-bottom:-2px!important}.login-brand h1{margin:12px 0;font-size:38px}.login-brand p{line-height:1.5}}@keyframes loginPhoneFloat{0%,to{transform:translateY(0)rotate(3deg)rotateY(-5deg)}50%{transform:translateY(-10px)rotate(-2deg)rotateY(5deg)}}@keyframes loginPhoneGlow{0%,to{opacity:.48;transform:scale(.9)}50%{opacity:.95;transform:scale(1.08)}}@keyframes loginPhoneOrbit{to{transform:rotate(360deg)}}@keyframes loginPhoneShine{0%,55%{transform:translate(-140%)}80%,to{transform:translate(140%)}}@keyframes careLineFlow{to{stroke-dashoffset:-48px}}@keyframes careNodeFloat{0%,to{transform:translateY(0)}50%{transform:translateY(-6px)}}@keyframes careNodeFloatCenter{0%,to{transform:translate(-50%)}50%{transform:translate(-50%,-6px)}}@media (prefers-reduced-motion:reduce){.login-phone-device,.login-phone-halo,.login-phone-orbit,.login-phone-device:after,.care-network-lines path,.care-node{animation:none}}.empty-state{text-align:center;color:#718191;background:#fafcfd;padding:42px 20px;font-size:13px}.scope-card{margin-bottom:18px}.scope-card>.notice{margin:18px}.state-page{text-align:center;color:#294157;background:#f4f7fa;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:28px;display:flex}.state-page>svg{color:#0d5fae;width:42px;height:42px}.state-page h1{margin:16px 0 5px;font-size:23px}.state-page p{color:#657789;margin:0 0 20px}.decision-actions{gap:7px;display:flex}.decision-actions button{border-radius:5px;align-items:center;gap:5px;height:32px;padding:0 10px;font-size:11px;font-weight:600;display:inline-flex}.decision-actions svg{width:13px}.decision-actions .approve{color:#087647;background:#e8f7ef;border:1px solid #9bd6ba}.decision-actions .reject{color:#a92c22;background:#fff0ef;border:1px solid #efb7b2}.role-source{color:#748596;border-top:1px solid #e8edf2;padding-top:13px;font:10px IBM Plex Mono;display:block}@media (width<=640px){.decision-actions{flex-direction:column}.decision-actions button{width:100%}}.subtle.compact{height:32px;padding:0 11px;font-size:11px}.governance-checks{margin-top:18px}.logout-button{color:#526274;background:#fff;border:1px solid #d8e1e9;border-radius:7px;align-items:center;gap:7px;height:38px;padding:0 11px;font-size:11px;font-weight:600;display:inline-flex}.logout-button:hover{color:#a92c22;background:#fff1ef;border-color:#efb7b2}.logout-button:focus-visible{outline-offset:2px;outline:3px solid #b4231826}@media (width<=700px){.logout-button{justify-content:center;width:38px;padding:0}.logout-button span{display:none}}.danger-action{color:#a92c22;border-color:#efc2be}.danger-action:hover{background:#fff0ef}.practitioner-modal{max-width:850px}.practitioner-modal .modal-body{gap:16px;display:grid}.practitioner-identity{margin:0}.table-secondary{color:#7c8997;margin-top:4px;display:block}.row-actions{flex-wrap:wrap;gap:6px;display:flex}.compact-modal{max-width:560px}.facility-multi-field{grid-column:1/-1}.facility-check-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;padding:2px;display:grid;overflow-y:auto}.facility-check-list>label{cursor:pointer;background:#fff;border:1px solid #dfe5eb;border-radius:10px;align-items:center;gap:8px;padding:10px;display:flex}.facility-check-list>label>input{opacity:0;pointer-events:none;position:absolute}.facility-check-list>label>span{flex:1;grid-template-columns:24px 1fr;align-items:center;column-gap:7px;display:grid}.facility-check-list svg{color:#497089;grid-row:1/3;width:17px}.facility-check-list b{font-size:11px}.facility-check-list small{color:#7d8997;font-size:9px}.facility-check-list>label>i{border:1px solid #ccd5de;border-radius:5px;place-items:center;width:18px;height:18px;display:grid}.facility-check-list>label>i svg{width:12px}.facility-check-list>label.selected{background:#eff9f6;border-color:#25947a}.facility-check-list>label.selected>i{color:#fff;background:#25947a;border-color:#25947a}@media (width<=650px){.facility-check-list{grid-template-columns:1fr}}.schedule-shell{background:#fff;border:1px solid #e5e9f1;border-radius:22px;overflow:hidden;box-shadow:0 14px 42px #1f334914}.schedule-top{border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:24px 26px;display:flex}.schedule-top h2{color:#16283b;margin:4px 0;font-size:24px}.schedule-top p{color:#68778a;margin:0}.eyebrow{letter-spacing:.13em;color:#167b69;font-size:11px;font-weight:800}.schedule-controls{background:#f8fafc;border-bottom:1px solid #edf0f5;justify-content:space-between;align-items:center;padding:17px 24px;display:flex}.schedule-controls select{background:#fff;border:1px solid #dce2ea;border-radius:10px;min-width:220px;padding:10px 34px 10px 12px}.week-nav{align-items:center;gap:8px;display:flex}.week-nav button{background:#fff;border:1px solid #dce2ea;border-radius:9px;place-items:center;width:38px;height:38px;display:grid}.week-nav button.today{width:auto;padding:0 14px;font-weight:700}.week-nav strong{text-transform:capitalize;color:#31455a;margin-left:10px}.schedule-stats{align-items:center;gap:14px;padding:15px 24px;display:flex}.schedule-stats>div:not(.legend){background:#f8fafc;border-radius:10px;grid-template-columns:12px auto auto;align-items:baseline;gap:8px;padding:9px 13px;display:grid}.schedule-stats strong{font-size:20px}.schedule-stats small{color:#718094}.stat-dot{border-radius:50%;width:9px;height:9px}.stat-dot.free{background:#20a77c}.stat-dot.occupied{background:#3678d4}.legend{color:#64748b;gap:14px;margin-left:auto;font-size:13px;display:flex}.legend span{align-items:center;gap:6px;display:flex}.legend i{border-radius:3px;width:10px;height:10px}.legend i.free{background:#dff7ee;border:1px solid #20a77c}.legend i.occupied{background:#e6effc;border:1px solid #3678d4}.calendar-grid{border-top:1px solid #edf0f5;grid-template-columns:repeat(7,minmax(155px,1fr));display:grid;overflow-x:auto}.calendar-day{background:#fbfcfe;border-right:1px solid #edf0f5;min-height:420px}.calendar-day:last-child{border-right:0}.calendar-day.current{background:#f3fbf8}.calendar-day>header{text-transform:capitalize;color:#66778a;border-bottom:1px solid #edf0f5;justify-content:center;align-items:center;gap:8px;height:65px;display:flex}.calendar-day>header strong{color:#20364b;font-size:22px}.calendar-day.current>header strong{color:#fff;background:#167b69;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.day-slots{align-content:start;gap:9px;padding:10px;display:grid}.slot-card{border-left:4px solid;border-radius:10px;padding:10px;font-size:12px;box-shadow:0 2px 8px #1e32460d}.slot-card.free{background:#edf9f5;border-color:#20a77c}.slot-card.occupied{background:#edf4fd;border-color:#3678d4}.slot-card>div{color:#32475c;align-items:center;gap:4px;font-weight:800;display:flex}.slot-card>strong,.slot-card>small{margin-top:5px;display:block}.slot-card>small{color:#65768a}.no-slot{text-align:center;color:#a0aab6;padding:20px 4px;font-size:12px}.appointment-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.appointment-actions button,.appointment-actions select{background:#fff;border:1px solid #d9e1ea;border-radius:8px;padding:7px 9px;font-size:12px}.appointment-actions button:first-child{color:#08735e;background:#e7f7f1;border-color:#bde8d9}.appointment-actions .danger-text,.appointment-actions .cancel{color:#b43c45}.muted-action{color:#8491a1;font-size:12px}.action-feedback{color:#116b59;background:#effaf6;border:1px solid #bfe6d8;border-radius:10px;margin:14px 24px;padding:11px 14px}.slot-modal{max-width:720px}@media (width<=900px){.schedule-top,.schedule-controls{flex-direction:column;align-items:flex-start;gap:14px}.schedule-controls select{width:100%}.week-nav{flex-wrap:wrap}.week-nav strong{width:100%;margin:5px 0 0}.schedule-stats{flex-wrap:wrap}.legend{width:100%;margin-left:0}.calendar-grid{grid-template-columns:repeat(7,155px)}}.analytics-card{margin-bottom:20px}.data-badge{color:#19725f;background:#eff9f6;border:1px solid #d7e7e2;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}.doctor-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 22px 22px;display:grid}.doctor-stats>article{background:linear-gradient(145deg,#fff,#f9fbfd);border:1px solid #e7ebf1;border-radius:14px;padding:17px}.doctor-stat-head{align-items:center;gap:10px;display:flex}.doctor-stat-head>div{flex-direction:column;display:flex}.doctor-stat-head small{color:#7b8999;margin-top:2px}.doctor-stat-head>b{color:#173954;margin-left:auto;font-size:22px}.doctor-avatar{color:#147661;background:#e7f4f0;border-radius:11px;place-items:center;width:38px;height:38px;font-size:12px;font-weight:800;display:grid}.metric-bar{background:#e8edf2;border-radius:10px;height:7px;margin:13px 0;overflow:hidden}.metric-bar>i{border-radius:inherit;background:linear-gradient(90deg,#15816b,#28b49a);height:100%;display:block}.status-metrics{color:#647386;flex-wrap:wrap;gap:10px;font-size:10px;display:flex}.status-metrics span{align-items:center;gap:4px;display:flex}.status-metrics i{border-radius:50%;width:7px;height:7px}.status-metrics .pending{background:#e6a522}.status-metrics .confirmed{background:#347bd1}.status-metrics .completed{background:#20a277}.status-metrics .cancelled{background:#d15b63}.subscription-layout{grid-template-columns:1.5fr .8fr;gap:30px;padding:0 24px 24px;display:grid}.subscription-bars{gap:14px;display:grid}.subscription-bars header{justify-content:space-between;font-size:13px;display:flex}.subscription-bars .metric-bar{margin:7px 0}.monthly-subscriptions{background:#f7f9fc;border-radius:14px;padding:16px 18px}.monthly-subscriptions h3{margin:0 0 11px;font-size:13px}.monthly-subscriptions>div{text-transform:capitalize;border-bottom:1px solid #e7ebf0;justify-content:space-between;padding:8px 0;font-size:12px;display:flex}.monthly-subscriptions>div:last-child{border:0}@media (width<=850px){.doctor-stats,.subscription-layout{grid-template-columns:1fr}}.appointment-modal-backdrop{align-items:flex-start;padding:30px;overflow-y:auto}.appointment-create-modal{width:min(1050px,100%);max-width:none}.modal-kicker{letter-spacing:.12em;color:#147460;font-size:10px;font-weight:800}.appointment-alert{color:#96342c;background:#fff2f0;border:1px solid #efc7c2;border-radius:10px;align-items:center;gap:10px;margin:18px 24px 0;padding:12px 14px;display:flex}.appointment-alert svg{width:20px}.appointment-alert div{flex-direction:column;font-size:12px;display:flex}.appointment-form-layout{background:#f7f9fb;grid-template-columns:minmax(0,1fr) 300px;gap:22px;padding:22px;display:grid}.appointment-form-main{gap:18px;display:grid}.form-section{background:#fff;border:1px solid #e0e5ec;border-radius:15px;padding:20px;box-shadow:0 4px 16px #2032480a}.form-section>header{border-bottom:1px solid #e8ebf0;align-items:center;gap:12px;margin-bottom:18px;padding-bottom:14px;display:flex}.form-section>header>span{color:#175fae;background:#e8f1ff;border-radius:10px;place-items:center;width:38px;height:38px;display:grid}.form-section>header svg{width:19px}.form-section h3,.form-section p{margin:0}.form-section h3{font-size:16px}.form-section p{color:#748294;margin-top:3px;font-size:11px}.mode-switch{background:#eef1f5;border-radius:9px;grid-template-columns:1fr 1fr;margin-bottom:16px;padding:3px;display:grid}.mode-switch button{color:#6a7787;background:0 0;border:0;border-radius:7px;padding:9px;font-size:12px;font-weight:700}.mode-switch button.active{color:#155ca7;background:#fff;box-shadow:0 2px 8px #1e32461a}.patient-results{grid-template-columns:repeat(2,1fr);gap:8px;margin-top:10px;display:grid}.patient-results button{text-align:left;background:#fff;border:1px solid #e0e5eb;border-radius:10px;align-items:center;gap:9px;padding:9px;display:flex}.patient-results button>span{color:#14715f;background:#e9f5f1;border-radius:9px;place-items:center;width:32px;height:32px;font-size:10px;font-weight:800;display:grid}.patient-results button>div{flex-direction:column;flex:1;display:flex}.patient-results small{color:#7c8997}.patient-results svg{opacity:0;color:#16806a;width:16px}.patient-results button.selected{background:#f1faf7;border-color:#48aa93}.patient-results button.selected svg{opacity:1}.form-section textarea{resize:vertical}.field-help{color:#748294;margin-top:6px;font-size:10px;line-height:1.4;display:block}.field-help.warning{color:#a76216}.slot-picker-trigger{color:#647487;text-align:left;background:#fff;border:1px solid #dce2e9;border-radius:9px;align-items:center;gap:11px;width:100%;min-height:58px;padding:10px 12px;display:flex}.slot-picker-trigger>svg:first-child{color:#1766b4;width:20px}.slot-picker-trigger>svg:last-child{width:17px;margin-left:auto}.slot-picker-trigger>span{flex-direction:column;flex:1;gap:3px;display:flex}.slot-picker-trigger strong{color:#304459;font-size:12px}.slot-picker-trigger small{font-size:10px}.slot-picker-trigger.selected{background:#f3fbf8;border-color:#3ca58d}.slot-picker-trigger:disabled{opacity:.6}.slot-picker-overlay{z-index:1200;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#09192b9e;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.slot-picker-dialog{background:#f8fafc;border:1px solid #ffffff8c;border-radius:18px;flex-direction:column;width:min(820px,100%);max-height:min(760px,90vh);display:flex;overflow:hidden;box-shadow:0 30px 80px #05142847}.slot-picker-dialog>header{background:#fff;border-bottom:1px solid #e4e8ee;justify-content:space-between;align-items:flex-start;padding:21px 24px;display:flex}.slot-picker-dialog h3{margin:4px 0;font-size:22px}.slot-picker-dialog header p{color:#6f7e8f;margin:0;font-size:12px}.slot-picker-legend{color:#647487;background:#f2f6fa;border-bottom:1px solid #e5e9ef;justify-content:space-between;padding:11px 24px;font-size:11px;display:flex}.slot-picker-legend span{align-items:center;gap:6px;display:flex}.slot-picker-legend i{background:#dff5ee;border:1px solid #25a27f;border-radius:3px;width:9px;height:9px}.slot-days{gap:15px;padding:18px 22px;display:grid;overflow-y:auto}.slot-days>section{background:#fff;border:1px solid #e1e6ec;border-radius:13px;grid-template-columns:185px 1fr;gap:16px;padding:15px;display:grid}.slot-day-label{text-transform:capitalize;align-items:flex-start;gap:10px;display:flex}.slot-day-label>svg{color:#1764b0;width:19px}.slot-day-label>div{flex-direction:column;gap:3px;display:flex}.slot-day-label strong{font-size:12px}.slot-day-label small{color:#83909e;font-size:10px}.slot-time-grid{grid-template-columns:repeat(4,minmax(80px,1fr));gap:8px;display:grid}.slot-time-grid button{color:#2d6457;text-align:left;background:#f8fbfa;border:1px solid #dce4e9;border-radius:9px;grid-template-columns:16px auto;align-items:center;gap:2px 5px;padding:9px;display:grid;position:relative}.slot-time-grid button>svg:first-child{grid-row:1/3;width:15px}.slot-time-grid button strong{font-size:12px}.slot-time-grid button small{color:#7b8a98;font-size:9px}.slot-time-grid button>svg:last-child{width:12px;position:absolute;top:4px;right:4px}.slot-time-grid button:hover,.slot-time-grid button.selected{background:#e6f7f1;border-color:#209478;box-shadow:0 4px 10px #187d671f}.slot-picker-dialog>footer{background:#fff;border-top:1px solid #e1e6ec;justify-content:space-between;align-items:center;gap:20px;padding:15px 22px;display:flex}.slot-picker-dialog>footer>div{color:#4f6072;align-items:center;gap:8px;font-size:11px;display:flex}.slot-picker-dialog>footer>div>svg{color:#188168;width:18px}.slot-picker-dialog>footer span{flex-direction:column;display:flex}.slot-picker-dialog>footer strong{color:#1f384e}.decision-dialog{background:#fff;border-radius:18px;width:min(620px,100%);overflow:hidden;box-shadow:0 30px 80px #0514284d}.decision-dialog>header{border-bottom:1px solid #e7eaee;justify-content:space-between;padding:22px 24px;display:flex}.decision-dialog h3{margin:4px 0;font-size:21px}.decision-dialog header p{color:#738192;margin:0;font-size:11px}.modal-kicker.danger{color:#b43b45}.decision-body{padding:20px 24px}.decision-body>p{color:#657486;margin:0 0 15px;font-size:11px}.reason-grid{grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:16px;display:grid}.reason-grid button{color:#435569;text-align:left;background:#fff;border:1px solid #e0e4e9;border-radius:9px;align-items:center;gap:9px;padding:11px;font-size:11px;display:flex}.reason-grid button>span{border:1px solid #cfd7df;border-radius:50%;place-items:center;width:18px;height:18px;display:grid}.reason-grid button svg{width:12px}.reason-grid button.selected{color:#8e3038;background:#fff5f5;border-color:#ce6b72}.reason-grid button.selected>span{color:#fff;background:#c7555d;border-color:#c7555d}.decision-dialog>footer{background:#f8f9fb;border-top:1px solid #e7eaee;justify-content:flex-end;gap:9px;padding:15px 24px;display:flex}.danger-button{color:#fff;background:#b83f48;border:0;border-radius:9px;padding:10px 16px;font-weight:700}.danger-button:disabled{opacity:.45}@media (width<=700px){.slot-picker-overlay{padding:8px}.slot-days>section{grid-template-columns:1fr}.slot-time-grid{grid-template-columns:repeat(3,1fr)}.slot-picker-dialog>footer{flex-direction:column;align-items:stretch}.slot-picker-dialog>footer button{width:100%}}.appointment-summary{background:#fff;border:1px solid #dde3ea;border-radius:15px;align-self:start;padding:20px;position:sticky;top:0;box-shadow:0 10px 28px #1e314514}.appointment-summary h3{border-bottom:1px solid #e8ebef;margin:14px 0;padding-bottom:12px}.draft-badge{color:#718091;background:#edf0f4;border-radius:20px;padding:5px 8px;font:700 9px IBM Plex Mono}.appointment-summary dl{margin:0}.appointment-summary dl>div{padding:10px 0}.appointment-summary dt{color:#83909f;letter-spacing:.07em;text-transform:uppercase;margin-bottom:3px;font:700 9px IBM Plex Mono}.appointment-summary dd{color:#263a4e;margin:0;font-size:12px;font-weight:600}.source-chip{color:#135da9;background:#e8f3ff;border-radius:6px;padding:4px 7px;font-size:9px;display:inline-block}.summary-actions{border-top:1px solid #e8ebef;gap:8px;margin-top:18px;padding-top:16px;display:grid}.summary-actions button{width:100%}.summary-actions .primary{justify-content:center}@media (width<=850px){.appointment-modal-backdrop{padding:10px}.appointment-form-layout{grid-template-columns:1fr;padding:12px}.appointment-summary{position:static}.patient-results{grid-template-columns:1fr}}
