.accueil{min-height:100vh;color:#fff;position:relative;overflow:hidden;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.acc-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1}.acc-bg__img{position:absolute;top:0;right:0;bottom:0;left:0;background-size:cover;background-position:center;filter:saturate(1.05) contrast(1.05)}.acc-bg__overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(to bottom,rgba(2,6,23,.85),rgba(2,6,23,.72),rgba(2,6,23,.92))}.acc-bg__glow{position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 20% 15%,rgba(59,130,246,.35),transparent 45%),radial-gradient(circle at 85% 25%,rgba(147,197,253,.2),transparent 40%),radial-gradient(circle at 50% 95%,rgba(59,130,246,.18),transparent 45%)}.acc-bg__shade{position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.22)}.acc-wrap{max-width:1120px;margin:0 auto;padding:24px 24px 40px}.acc-grid{display:grid;gap:18px;grid-template-columns:1fr}@media (min-width: 1024px){.acc-grid{grid-template-columns:1.15fr .85fr;gap:22px;align-items:stretch}}.glass{border-radius:22px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.1);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 18px 60px #00000047}.navbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;border-radius:22px}.brand{display:flex;align-items:center;gap:12px}.brand-title{font-weight:900;letter-spacing:.6px;font-size:20px;line-height:1.1}.brand-title span{color:#60a5fa;margin-left:6px}.brand-sub{font-size:12px;color:#ffffffb3;margin-top:2px}.navlinks{display:none;gap:10px}@media (min-width: 768px){.navlinks{display:flex}}.navlinks a{text-decoration:none;color:#ffffffe6;padding:10px 14px;border-radius:14px;border:1px solid transparent;transition:.15s}.navlinks a:hover{background:rgba(255,255,255,.1);border-color:#ffffff1a}.navlinks a.active{background:rgba(255,255,255,.12);border-color:#ffffff1f}.infobar{margin-top:14px;padding:12px 14px;border-radius:18px;display:flex;gap:10px;align-items:center;color:#ffffffeb;font-size:15px}.badge{display:inline-flex;align-items:center;margin-right:8px;font-size:15px;padding:10px;border-radius:999px;border:1px solid rgba(147,197,253,.25);background:rgba(59,130,246,.2);color:#dbeafef2}.hero{margin-top:75px;padding:26px}.hero h1{margin-top:20px;font-size:44px;line-height:1.05;font-weight:900}.hero h1 .accent{color:#93c5fd}.hero p{margin-top:20px;color:#ffffffc7;line-height:1.55;max-width:56ch}.features{margin-top:18px;display:grid;grid-template-columns:1fr;gap:10px}@media (min-width: 640px){.features{grid-template-columns:repeat(3,1fr)}}.feature{background:rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:14px}.feature .t{font-weight:700;font-size:14px}.feature .s{margin-top:4px;font-size:12px;color:#ffffffb3}.formCard{margin-top:75px;padding:26px}.formCard h2{font-size:22px;font-weight:800}.formCard .sub{margin-top:6px;font-size:15px;color:#ffffffb3}.field{margin-top:14px}.labelRow{display:flex;align-items:center;justify-content:space-between}.labelRow label{font-size:15px;color:#ffffffd9}.helper{font-size:15px;color:#93c5fd}.input{margin-top:8px;width:95%;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);color:#fff;font-size:15px;outline:none;transition:.15s}.input::placeholder{color:#fff6}.input:focus{border-color:#60a5fa59;box-shadow:0 0 0 4px #3b82f638}.modes{margin-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.modeBtn{text-align:center;padding:14px;width:210%;border-radius:18px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.2);color:#fff;cursor:pointer;transition:.15s}.modeBtn:hover{background:rgba(255,255,255,.08)}.modeBtn.selected{background:rgba(59,130,246,.22);border-color:#93c5fd47;box-shadow:0 0 0 4px #3b82f62e}.modeBtn .title{font-weight:800}.modeBtn .desc{margin-top:4px;font-size:12px;color:#ffffffb3}.errorBox{margin-top:12px;padding:12px 14px;border-radius:16px;border:1px solid rgba(252,165,165,.25);background:rgba(239,68,68,.14);color:#fee2e2f2;font-size:13px}.actions{margin-top:14px;display:flex;gap:10px}.btn{flex:1;border:0;border-radius:16px;padding:12px 14px;font-weight:800;cursor:pointer;transition:.15s}.btnPrimary{background:rgba(59,130,246,.95);color:#fff;box-shadow:0 18px 40px #3b82f633}.btnPrimary:hover{background:rgba(59,130,246,.85)}.btnPrimary:disabled{cursor:not-allowed;opacity:.45}.btnGhost{background:rgba(255,255,255,.1);color:#ffffffeb;border:1px solid rgba(255,255,255,.1)}.btnGhost:hover{background:rgba(255,255,255,.14)}.footer{margin-top:18px;text-align:center;font-size:12px;color:#fff9}.themeModalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:18px;background:rgba(0,0,0,.55)}.themeModal{width:min(980px,96vw);max-height:86vh;overflow:hidden;border-radius:22px;border:1px solid rgba(255,255,255,.1)}.themeModalTop{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 18px 10px}.themeModalTitle{font-weight:900;font-size:18px}.themeModalSub{margin-top:4px;font-size:13px;color:#ffffffb3}.themeModalClose{border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.25);color:#ffffffeb;border-radius:14px;width:42px;height:42px;cursor:pointer;transition:.15s}.themeModalClose:hover{background:rgba(255,255,255,.08)}.themeModalSearch{display:flex;align-items:center;gap:10px;margin:0 18px 14px;padding:12px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.1);background:rgba(0,0,0,.22)}.themeModalSearchIcon{opacity:.8}.themeModalSearchInput{width:100%;border:0;outline:none;background:transparent;color:#fff;font-size:14px}.themeGrid{padding:0 18px 18px;display:grid;gap:14px;grid-template-columns:repeat(2,1fr);overflow:auto;max-height:calc(86vh - 190px)}@media (min-width: 720px){.themeGrid{grid-template-columns:repeat(3,1fr)}}.themeCard{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);border-radius:18px;padding:18px 14px;cursor:pointer;transition:.15s;display:grid;gap:10px;place-items:center;color:#fff}.themeCard:hover{background:rgba(255,255,255,.1);border-color:#93c5fd40}.themeIcon{width:74px;height:74px;border-radius:999px;display:grid;place-items:center;font-size:34px;border:2px solid rgba(96,165,250,.65);background:rgba(59,130,246,.1)}.themeLabel{font-size:15px;color:#fffc;text-align:center}.themeModalBottom{padding:14px 18px 18px;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.16)}.themeRandom{width:100%;border:0;border-radius:14px;padding:14px 16px;font-weight:900;cursor:pointer;color:#fff;background:rgba(251,146,60,.8);transition:.15s}.themeRandom:hover{background:rgba(251,146,60,.92)}.themeRandom:disabled{opacity:.5;cursor:not-allowed}.sg-ui{height:100vh;font-family:Segoe UI,Tahoma,sans-serif;background:radial-gradient(1400px 650px at 60% 10%,#efefef,#d7d7d7 50%,#c9c9c9);color:#222}.sg-topbar{height:35px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;color:#fff;background:linear-gradient(#4b66b3,#2f468f);box-shadow:inset 0 -1px #ffffff40}.sg-topbar-left{display:flex;align-items:center;gap:10px;font-size:14px}.sg-topbar-right{display:flex;align-items:center;gap:8px;font-size:14px}.sg-top-chip{padding:2px 6px;border-radius:4px;background:rgba(0,0,0,.2);border:1px solid rgba(255,255,255,.15);font-weight:800}.sg-top-txt{opacity:.95;font-weight:600}.sg-top-sep{opacity:.6}.sg-clock{padding:2px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(0,0,0,.18);font-weight:900;letter-spacing:.2px;font-size:11px}.sg-top-icon{width:35px;height:22px;border-radius:4px;border:1px solid rgba(0,0,0,.25);background:rgba(255,255,255,.12);color:#fff;cursor:pointer}.sg-top-icon:hover{background:rgba(255,255,255,.18)}.sg-top-icon-close{background:rgba(255,120,120,.25)}.sg-body{height:calc(100vh - 32px);display:flex}.sg-sidebar{width:60px;border-right:1px solid #b4b4b4;background:linear-gradient(#d7d7d7,#c9c9c9);display:flex;flex-direction:column;align-items:center;padding:8px 0;gap:20px;box-shadow:inset -1px 0 #fff6}.sg-sidebtn{width:50px;height:50px;border-radius:8px;border:1px solid #a9a9a9;background:#efefef;font-size:25px;cursor:pointer;position:relative;box-shadow:inset 0 1px #fff9,0 1px 3px #00000026}.sg-sidebtn:hover{background:#f8f8f8}.sg-plus{position:absolute;right:4px;bottom:2px;font-size:23px;color:#2b7a2b;font-weight:900}.sg-sidelist{display:flex;flex-direction:column;gap:8px;margin-top:4px}.sg-sidebtn2{width:50px;height:50px;border-radius:8px;border:1px solid #a9a9a9;background:#ececec;font-size:25px;cursor:pointer;box-shadow:inset 0 1px #fff9,0 1px 3px #0000001f}.sg-sidebtn2:hover{background:#f7f7f7}.sg-main{flex:1;padding:10px 12px}.sg-main-empty{display:flex;align-items:flex-start;justify-content:flex-start}.sg-breadcrumb{height:8px}.sg-bc-left{font-weight:700}.sg-bc-mid{text-align:center;font-weight:700;opacity:.8}.sg-bc-sub{text-align:center;font-size:11px;opacity:.7}.sg-grid{height:calc(100% - 36px);display:grid;grid-template-columns:1.05fr 1.2fr .55fr;grid-template-rows:320px 220px 1fr;gap:12px;align-items:stretch}.sg-leftTop{grid-column:1;grid-row:1;height:380px}.sg-centerTop{grid-column:2;grid-row:1;height:380px}.sg-right{grid-column:3;grid-row:1 / span 3}.sg-observation{grid-column:1;grid-row:2;margin-top:60px;height:250px}.sg-listPanel{grid-column:2;grid-row:2;margin-top:60px;height:250px}.sg-patient{grid-column:1 / span 2;grid-row:3;margin-top:90px}.sg-panel{border-radius:8px;border:1px solid #b7b7b7;background:#d9d9d9;box-shadow:inset 0 1px #ffffff8c,0 2px 12px #0003;overflow:hidden}.sg-panelHead{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;font-size:12px;font-weight:900;border-bottom:1px solid #b1b1b1}.sg-purple{color:#fff;background:linear-gradient(#4b66b3,#2f468f);border-bottom-color:#0003}.sg-dark{background:linear-gradient(#696969,#4f4f4f);color:#f1f1f1}.sg-panelBody{padding:10px}.sg-dossierLine{display:flex;align-items:center;gap:8px}.sg-folder{font-size:14px}.sg-dossierNum{font-size:13px;font-weight:900}.sg-tag{margin-left:8px;font-size:11px;padding:2px 10px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;font-weight:900}.sg-tag-editable{cursor:text}.sg-tag-editable:hover{background:rgba(255,255,255,.16)}.sg-tagInput{height:22px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(0,0,0,.18);color:#fff;padding:0 10px;font-size:11px;font-weight:900;outline:none}.sg-flagGroup{display:flex;gap:8px;align-items:center}.sg-flag-img{width:26px;height:26px;padding:0;border:none;background:transparent;cursor:pointer;opacity:.45;transition:opacity .2s ease,transform .15s ease}.sg-flag-img img{width:100%;height:100%;object-fit:contain;pointer-events:none}.sg-flag-img:active{transform:scale(.9)}.sg-flag-img.isOn{opacity:1;animation:flagPulse .35s ease}.sg-flag-img.p2.isOn{filter:drop-shadow(0 0 6px #2ecc71) drop-shadow(0 0 12px rgba(46,204,113,.8))}.sg-flag-img.p1.isOn{filter:drop-shadow(0 0 6px #f1c40f) drop-shadow(0 0 12px rgba(241,196,15,.8))}.sg-flag-img.p0.isOn{filter:drop-shadow(0 0 6px #e74c3c) drop-shadow(0 0 14px rgba(231,76,60,.9))}@keyframes flagPulse{0%{transform:scale(.8);opacity:.4}60%{transform:scale(1.15)}to{transform:scale(1);opacity:1}}.sg-row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.sg-row-center{justify-content:center}.sg-row-tight{margin-bottom:6px}.sg-input{height:26px;border-radius:10px;border:1px solid #b2b2b2;background:linear-gradient(#f4f4f4,#ededed);padding:0 10px;font-size:12px;outline:none;box-shadow:inset 0 1px 2px #0000001f;flex:1}.sg-input-wide{flex:1}.sg-input-sm{max-width:110px}.sg-input-tel{max-width:360px}.sg-roundBtn{width:30px;height:30px;border-radius:999px;border:1px solid #a7a7a7;background:linear-gradient(#efefef,#dedede);cursor:pointer;box-shadow:inset 0 1px #fff9,0 1px 3px #00000026}.sg-roundBtn:hover{background:linear-gradient(#f8f8f8,#e7e7e7)}.sg-roundBtn-blue{background:linear-gradient(#5c8dff,#2f5fd8);border-color:#254db3;color:#fff}.sg-roundBtn-blue:hover{background:linear-gradient(#6ea0ff,#3a6be5)}.sg-pencil{width:26px;height:26px;border-radius:7px;border:1px solid #a7a7a7;background:linear-gradient(#e9e9e9,#dcdcdc);cursor:pointer}.sg-subPanel{margin:0 10px 10px;border:1px solid #b6b6b6;border-radius:8px;background:#d6d6d6;box-shadow:inset 0 1px #ffffff80;overflow:hidden}.sg-subTitle{height:26px;display:flex;align-items:center;padding:0 10px;font-size:12px;font-weight:900;color:#3b3b3b;background:linear-gradient(#d6d6d6,#c7c7c7);border-bottom:1px solid #b1b1b1}.sg-subBody{padding:10px}.sg-orangeTag{background:linear-gradient(#f2b35c,#d98a2e);border:1px solid rgba(0,0,0,.18);padding:2px 10px;border-radius:8px;font-weight:1000;color:#2c1b05}.sg-blockTitle{font-size:12px;font-weight:900;color:#444;margin:6px 0 8px}.sg-blueRow{padding:6px;border-radius:10px;background:linear-gradient(#cdd6ee,#bdc8e5);border:1px solid rgba(0,0,0,.08)}.sg-blueLabel{font-size:12px;font-weight:900;color:#2e3a57;padding:0 6px}.sg-suggest{margin:-4px 0 10px;border:1px solid rgba(0,0,0,.18);border-radius:10px;overflow:hidden;background:rgba(255,255,255,.7);box-shadow:0 8px 18px #0000002e}.sg-suggestItem{width:100%;text-align:left;padding:8px 10px;background:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px}.sg-suggestItem:hover{background:rgba(0,0,0,.05)}.sg-suggestName{font-weight:900;font-size:12px;color:#2a2a2a}.sg-suggestMeta{font-size:11px;opacity:.75}.sg-right{display:flex;flex-direction:column;gap:8px}.sg-rightBtn{height:36px;border-radius:8px;border:1px solid #5f5f5f;background:linear-gradient(#5c5c5c,#3f3f3f);color:#f2f2f2;font-weight:900;font-size:12px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:inset 0 1px #ffffff1a,0 2px 10px #0000002e}.sg-rightBtn:hover{background:linear-gradient(#6a6a6a,#4a4a4a)}.sg-rightIcon{opacity:.85}.sg-observation{background:#fff;border-color:#bdbdbd;position:relative;display:flex;flex-direction:column}.sg-obsTools{padding:8px 10px 6px;display:flex;gap:10px;color:#444;flex:0 0 auto}.sg-obsBtn{width:26px;height:26px;border-radius:8px;border:1px solid #b5b5b5;background:linear-gradient(#efefef,#e0e0e0);cursor:pointer;font-weight:900}.sg-obsArea{position:relative;flex:1 1 auto}.sg-obsPlaceholder{position:absolute;top:10px;left:12px;font-size:18px;font-weight:900;color:#5a5a5a;pointer-events:none;transition:opacity .12s ease}.sg-obsPlaceholder.isHidden{opacity:0}.sg-obsEditor{width:100%;height:100%;padding:10px 12px 12px;font-size:18px;outline:none;overflow:auto;background:#fff}.sg-obsEditor ul,.sg-obsEditor ol{margin:6px 0 6px 18px}.sg-obsEditor b{font-weight:800}.sg-obsEditor i{font-style:italic}.sg-listPanel{background:#d6d6d6}.sg-listBody{padding:8px 10px;display:grid;gap:6px}.sg-listRow{height:29px;border-radius:6px;border:1px solid #8e8e8e;background:linear-gradient(#7a7a7a,#5f5f5f);color:#f1f1f1;font-weight:900;font-size:12px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;cursor:pointer}.sg-listRow:hover{background:linear-gradient(#868686,#6a6a6a)}.sg-listRow.isYellow{color:#2b1b05;border-color:#00000040;background:linear-gradient(#f2b35c,#f2b35c)}.sg-listRow.isYellow:hover{background:linear-gradient(#f2b35c,#f2b35c)}.sg-listKey{font-weight:1000}.sg-patientInput{height:28px;border-radius:12px;background:linear-gradient(#fbfbfb,#ececec);border-color:#b0b0b0}input.sg-patientInput[type=date]{padding-right:10px}.sg-patient{background:#d3d3d3}.sg-patientTabs{display:flex;flex-direction:column;border-bottom:1px solid rgba(0,0,0,.15);background:#d3d3d3}.sg-patientAdd{width:100%;height:30px;background:linear-gradient(#4b66b3,#2f468f);color:#fff;border:none;display:flex;align-items:center;justify-content:space-between;padding:0 10px;font-weight:1000;font-size:12px;cursor:pointer}.sg-patientPlus{width:18px;height:18px;border-radius:4px;background:rgba(0,0,0,.18);display:grid;place-items:center;font-weight:1100}.sg-patientTabStrip{display:flex;gap:6px;padding:8px 10px;overflow-x:auto}.sg-patientTab{display:flex;align-items:center;gap:10px;height:26px;padding:0 10px;border-radius:8px;border:1px solid #9a9a9a;background:linear-gradient(#efefef,#dcdcdc);cursor:pointer;font-weight:900;font-size:12px;white-space:nowrap}.sg-patientTab.isActive{outline:3px solid rgba(75,102,179,.25)}.sg-patientClose{display:inline-grid;place-items:center;width:18px;height:18px;border-radius:6px;border:1px solid rgba(0,0,0,.18);background:rgba(255,120,120,.25);cursor:pointer}.sg-patientBody{padding:10px;background:#d3d3d3}.sg-patientEmpty{padding:12px;color:#444}.sg-lbl{width:100px;font-size:12px;font-weight:900;color:#3a3a3a}.sg-lbl-sub{margin-top:8px}.sg-patientGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:10px}.sg-patientCol{display:flex;flex-direction:column;gap:6px}.sg-modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.25);display:grid;place-items:center;z-index:9999}.sg-modal{width:520px;max-width:calc(100vw - 30px);border-radius:10px;border:1px solid rgba(0,0,0,.25);background:#d8d8d8;box-shadow:0 18px 40px #00000059;overflow:hidden}.sg-modalHead{height:34px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;background:linear-gradient(#f2b35c,#d98a2e);border-bottom:1px solid #c07b2a;color:#2b1b05;font-weight:1000;font-size:12px}.sg-modalTitle{font-weight:1000}.sg-modalClose{width:26px;height:24px;border-radius:6px;border:1px solid rgba(0,0,0,.25);background:rgba(255,255,255,.25);cursor:pointer}.sg-modalBody{padding:10px;background:#d8d8d8}.sg-chooser{display:grid;gap:8px}.sg-chooserItem{height:32px;border-radius:8px;border:1px solid #8e8e8e;background:linear-gradient(#7a7a7a,#5f5f5f);color:#f1f1f1;font-weight:900;font-size:12px;padding:0 10px;display:flex;align-items:center;cursor:pointer}.sg-chooserItem:hover{background:linear-gradient(#868686,#6a6a6a)}.sg-confirmText{font-size:12px;font-weight:800;color:#2a2a2a;padding:8px 4px}.sg-confirmHint{margin-top:6px;font-size:11px;opacity:.8;font-weight:700}.sg-confirmActions{display:flex;justify-content:flex-end;gap:10px;margin-top:10px}.sg-confirmBtn{height:32px;padding:0 12px;border-radius:8px;border:1px solid rgba(0,0,0,.25);background:linear-gradient(#efefef,#dcdcdc);cursor:pointer;font-weight:1000;font-size:12px}.sg-confirmBtn:hover{background:linear-gradient(#f6f6f6,#e4e4e4)}.sg-confirmBtnGhost{background:transparent}
