@font-face{font-family:IMRORaleway;src:url('/public/fonts/imro-raleway.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
/* IMRO: blue structure, green accents, white navigation. */
.webhub-ui{--bg:#f4f6fa;--surface:#fff;--ink:#273476;--muted:#58647c;--line:#dce3ec;--accent:#167657;--soft:#edf8f3;--hero:#e8f4f0;--nav:#fff;--shadow:0 16px 45px #2734760c}
[data-theme=dark] .webhub-ui{--bg:#151c30;--surface:#202a42;--ink:#edf1fa;--muted:#b8c4dc;--line:#36425d;--accent:#7ad6ad;--soft:#233d3c;--hero:#233d3c;--nav:#fff;--input:#18233a}
.webhub-ui h1,.webhub-ui h2,.webhub-ui h3,.webhub-ui .brand,.webhub-ui .hub-sidebar a{font-family:IMRORaleway,'Segoe UI',sans-serif}
.webhub-ui .topbar{background:#fff;color:#273476;border-top:4px solid #273476;border-bottom-color:#dce3ec}
.webhub-ui .topbar-inner{min-height:84px}
.webhub-ui .topbar .brand-accent{color:#167657}
.webhub-ui .topbar .brand-divider{border-color:#dce3ec}
.webhub-ui .topbar .admin-link,.webhub-ui .topbar .text-button{color:#58647c}
.webhub-ui .topbar .avatar{background:#edf8f3;color:#167657}
.webhub-ui .topbar .theme-button{background:#f4f6fa;color:#273476;border-color:#dce3ec}
.webhub-ui .primary-button{background:#273476;color:#fff}
.webhub-ui .primary-button:hover{background:#35458f}
.webhub-ui .app-card{--card-accent:#273476;--card-soft:#edf1fa;border-radius:16px}
.webhub-ui .app-card.smartgo,.webhub-ui .app-card.book{--card-accent:#167657;--card-soft:#edf8f3}
.webhub-ui .app-category{color:var(--card-accent)}
[data-theme=dark] .webhub-ui .app-category{color:#b8c4dc}
.webhub-ui .app-card.book .app-icon{object-fit:contain}
.webhub-ui .hero{overflow:hidden}
.hub-sidebar{position:fixed;left:0;top:88px;bottom:0;width:248px;overflow:auto;background:#fdfefe;border-right:1px solid #dfe6ed;padding:30px 17px 22px;color:#344761;display:flex;flex-direction:column;z-index:20}
.hub-sidebar-caption{margin:0 10px 14px;font-size:10px;font-weight:750;letter-spacing:1.8px;color:#78869a;text-transform:uppercase}
.hub-sidebar nav{display:grid;gap:5px}
.hub-sidebar a{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;border-radius:10px;color:#344761;font-size:13px;font-weight:620;line-height:1.4}
.hub-sidebar a:hover{background:#eef4f7}
.hub-sidebar a.active{background:#e8f4f0;color:#156e59;box-shadow:inset 3px 0 #159276}
.hub-sidebar .hub-menu-symbol{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:#eef2f7;color:#375572;flex-shrink:0;font-size:17px}
.hub-sidebar img,.hub-sidebar .app-icon{width:26px;height:26px;object-fit:contain;border-radius:6px}
.hub-sidebar-footer{margin-top:auto;padding:20px 10px 0;border-top:1px solid #e6ebf0;color:#6c7a8c;font-size:11px}
.hub-sidebar-footer strong{display:block;font-size:14px;color:#273476;margin-bottom:5px}
.hub-with-menu>.shell{width:min(1120px,calc(100% - 312px));margin-left:max(280px,calc(248px + (100vw - 248px - 1120px)/2));margin-right:auto}
.hub-with-menu .hero{padding-top:48px}
body.sd-app{--sd-bg:#f4f6fa;--sd-surface:#fff;--sd-ink:#273476;--sd-muted:#58647c;--sd-line:#dce3ec;--sd-accent:#167657}
body.sd-app.dark-mode{--sd-bg:#151c30;--sd-surface:#202a42;--sd-ink:#edf1fa;--sd-muted:#b8c4dc;--sd-line:#36425d;--sd-accent:#7ad6ad}
.sd-app h1,.sd-app h2,.sd-app h3,.sd-app .sd-brand,.sd-app .sd-nav-item{font-family:IMRORaleway,'Segoe UI',sans-serif}
.sd-app .sd-sidebar{background:#fdfefe;color:#344761;border-right:1px solid #dfe6ed;padding:28px 17px 22px}
.sd-app .sd-brand{color:#273476}
.sd-app .sd-brand>span>span{color:#167657}
.sd-app .sd-brand small{color:#78869a}
.sd-app .sd-nav-label{color:#78869a}
.sd-app .sd-nav-item{color:#344761;border-radius:10px;min-height:48px;font-weight:620;background:transparent}
.sd-app .sd-nav-item:hover{background:#eef4f7;color:#273476}
.sd-app .sd-nav-item.active{background:#e8f4f0;color:#156e59;box-shadow:inset 3px 0 #159276}
.sd-app .sd-nav-item>span{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#eef2f7;color:#375572;flex-shrink:0}
.sd-app .sd-nav-item.active>span{background:#d6ebe3;color:#156e59}
.sd-app .sd-sidebar-footer{border-top-color:#e6ebf0;color:#273476}
.sd-app .sd-sidebar-footer p{color:#6c7a8c}
.sd-app .sd-menu-close{color:#273476}
.sd-app .btn-sim-primary,.sd-app .btn-sim-success,.sd-app .btn-sim-info,.sd-app .step.active .sd-step-number{background:#273476;color:#fff;border-color:#273476}
.sd-app .sd-eyebrow{color:var(--sd-accent)}
.sd-app .medecin-card .total-value{background:#edf8f3;color:#167657}
.sd-app.dark-mode .medecin-card .total-value{background:#233d3c;color:#7ad6ad}
.sd-app .sd-theme{border-radius:10px}
.sd-app .ra-table input[type=checkbox]{accent-color:#273476}
@media(max-width:1000px){.hub-with-menu .hub-art{display:none}.hub-with-menu .login-layout{gap:28px}}
@media(max-width:900px){.hub-sidebar{position:static;width:100%;padding:12px 18px;border-right:0;border-bottom:1px solid #dfe6ed;display:block}.hub-sidebar-caption,.hub-sidebar-footer{display:none}.hub-sidebar nav{display:flex;gap:5px;overflow-x:auto}.hub-sidebar a{white-space:nowrap;min-height:42px;padding:8px 10px;font-size:12px}.hub-with-menu>.shell{width:calc(100% - 36px);margin-inline:auto;max-width:1120px}.hub-with-menu .hero{padding-top:32px}.hub-with-menu .footer{flex-wrap:wrap}}
@media(max-width:600px){.webhub-ui .topbar-inner{padding:14px 18px}.webhub-ui .top-actions{gap:12px}.webhub-ui .account-name{max-width:110px}.hub-with-menu .hero-details{flex-wrap:wrap}.webhub-ui .app-card{padding:23px}.hub-sidebar img,.hub-sidebar .app-icon{width:22px;height:22px}}
