:root{--crm-font:"Segoe UI Variable","Segoe UI",Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--crm-sidebar-width:208px;--crm-ink:#17283e;--crm-muted:#788598;--crm-border:#e4eaf1}body{font-family:var(--crm-font);background:#f4f6fa;margin:0}.crm-shell{--crm-sidebar-width:208px;min-height:100vh;color:var(--crm-ink);font-size:14px;line-height:1.55;font-family:var(--crm-font)}.crm-shell *{box-sizing:border-box}.crm-shell button,.crm-shell input,.crm-shell select,.crm-shell textarea{font-family:var(--crm-font)!important}.crm-sidebar{width:var(--crm-sidebar-width);color:#fff;z-index:30;background:#101f36;border-right:1px solid #223048;flex-direction:column;display:flex;position:fixed;inset:0 auto 0 0}.crm-brand{color:#fff;flex-shrink:0;align-items:center;gap:12px;height:64px;padding:0 16px;text-decoration:none;display:flex}.crm-brand-mark{color:#12223a;background:#f6c746;border-radius:10px;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:21px;font-weight:800;line-height:1;display:grid;position:relative}.crm-brand-mark span{background:#12223a;border-radius:50%;width:4px;height:4px;position:absolute;bottom:5px;right:5px}.crm-brand-text{letter-spacing:-.3px;white-space:nowrap;font-size:16px;font-weight:650}.crm-brand-text small{letter-spacing:1.7px;color:#a6b3c6;margin-top:3px;font-size:9px;font-weight:500;display:block}.crm-menu-caption{color:#8392aa;letter-spacing:1.5px;white-space:nowrap;padding:8px 18px 5px;font-size:10px;font-weight:600}.crm-navigation{scrollbar-width:thin;scrollbar-color:#344662 transparent;flex:1;min-height:0;padding:0 12px;overflow:hidden auto}.crm-nav-item{color:#aebdd2;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:36px;margin:2px 0;padding:8px 9px;font-size:12px;font-weight:500;line-height:1.25;display:flex;position:relative}.crm-nav-item svg{flex-shrink:0}.crm-nav-item:hover{color:#fff;background:#1a2e4b}.crm-nav-item.is-active{color:#fff;background:#203854;font-weight:600}.crm-nav-item.is-active svg{color:#f6c746}.crm-active-dot{background:#f6c746;border-radius:50%;flex-shrink:0;width:5px;height:5px;margin-left:auto;display:none}.crm-nav-item.is-active .crm-active-dot{display:block}.crm-nav-label{white-space:nowrap}.crm-sidebar-footer{border-top:1px solid #26364d;flex-shrink:0;padding:9px 12px}.crm-profile{align-items:center;gap:10px;min-width:0;padding:2px 8px 12px;display:flex}.crm-avatar{color:#e4ecf6;background:#31435d;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;font-size:11px;font-weight:600;display:grid}.crm-profile-text{min-width:0;line-height:1.5}.crm-profile-text strong{text-overflow:ellipsis;white-space:nowrap;color:#e3eaf5;font-size:12px;font-weight:600;display:block;overflow:hidden}.crm-profile-text small{color:#899ab2;font-size:11px}.crm-logout{color:#bdcada}.crm-logout:hover{color:#fff;background:#3e2935}.crm-workspace{margin-left:var(--crm-sidebar-width);min-width:0}.crm-topbar{z-index:20;border-bottom:1px solid var(--crm-border);background:#fffffffa;justify-content:space-between;align-items:center;gap:16px;height:68px;padding:0 28px;display:flex;position:sticky;top:0}.crm-topbar-left{align-items:center;gap:18px;min-width:0;display:flex}.crm-sidebar-toggle{border:1px solid var(--crm-border);color:#66758a;cursor:pointer;background:#fff;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.crm-sidebar-toggle:hover{color:#17283e;background:#f3f6fa}.crm-breadcrumb{align-items:center;gap:12px;min-width:0;font-size:12px;display:flex}.crm-breadcrumb>span:first-child{color:#778699;white-space:nowrap}.crm-breadcrumb-separator{color:#c3cdd9}.crm-breadcrumb strong{color:#32465f;text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.crm-topbar-account{color:#718097;white-space:nowrap;align-items:center;gap:7px;font-size:11px;display:flex}.crm-status-dot{background:#3ba387;border-radius:50%;width:6px;height:6px}.crm-content{outline:none;min-width:0}.crm-content,.crm-content div,.crm-content p,.crm-content table,.crm-content h1,.crm-content h2,.crm-content h3{font-family:var(--crm-font)!important}.crm-content h1{letter-spacing:-.75px;line-height:1.25;font-size:26px!important;font-weight:650!important}.crm-content h2{letter-spacing:-.4px;line-height:1.3;font-size:20px!important;font-weight:650!important}.crm-content h3{letter-spacing:-.2px;line-height:1.4;font-size:16px!important;font-weight:600!important}.crm-content p{font-size:13px;line-height:1.7}.crm-content button,.crm-content input,.crm-content select,.crm-content textarea{font-size:13px!important}.crm-content input:not([type=checkbox]):not([type=radio]):not([type=file]),.crm-content select,.crm-content textarea{min-height:40px}.crm-content th{letter-spacing:.15px;color:#536780;font-size:12px!important;font-weight:600!important}.crm-content td{line-height:1.55;font-size:13px!important}.crm-content small{font-size:11px!important}.crm-page{min-height:calc(100vh - 68px)!important;color:var(--crm-ink)!important;background:#f4f6fa!important;padding:26px 28px 32px!important}.crm-page-header{border:1px solid var(--crm-border);gap:18px;color:var(--crm-ink)!important;box-shadow:none!important;background:#fff!important;border-radius:12px!important;padding:23px 24px!important}.crm-page-header h1{color:var(--crm-ink)!important;margin:0!important}.crm-page-header p{max-width:780px;color:#788598!important;opacity:1!important;margin:7px 0 0!important}.crm-page-header button{color:#415771!important;background:#fff!important;border:1px solid #d9e2ed!important;border-radius:8px!important;padding:9px 14px!important;font-weight:500!important}.crm-content .crm-stat-value{letter-spacing:-.8px;font-variant-numeric:tabular-nums;font-size:28px!important;font-weight:650!important}.crm-dashboard-title{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:26px 0 18px;display:flex}.crm-dashboard-title h2{margin:0 0 4px}.crm-dashboard-title p{color:#788598;margin:0}.crm-dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.crm-dashboard-card{text-align:left;border:1px solid var(--crm-border);color:var(--crm-ink);cursor:pointer;background:#fff;border-radius:12px;flex-direction:column;align-items:flex-start;min-width:0;padding:20px;transition:box-shadow .15s,border-color .15s;display:flex;box-shadow:0 2px 5px #10243a03}.crm-dashboard-card:hover:not(:disabled){border-color:#a8bfd9;box-shadow:0 4px 15px #10243a09}.crm-dashboard-card:disabled{cursor:default;opacity:1}.crm-dashboard-icon{color:#4e79a5;background:#edf3fa;border-radius:10px;place-items:center;width:36px;height:36px;margin-bottom:16px;display:grid}.crm-dashboard-card h3{color:#758499;letter-spacing:0;margin:0 0 5px;font-size:12px!important;font-weight:500!important}.crm-dashboard-card h2{letter-spacing:-.8px;font-variant-numeric:tabular-nums;margin:0;line-height:1.3;font-size:28px!important;font-weight:650!important}.crm-dashboard-card p{color:#8795a8;margin:8px 0 0;font-size:11px}.crm-dashboard-hint{color:#527eac;margin-top:16px;font-size:10px;font-weight:500}.crm-shell button:focus-visible,.crm-shell a:focus-visible,.crm-shell input:focus-visible,.crm-shell select:focus-visible,.crm-shell textarea:focus-visible{outline-offset:3px;outline:2px solid #518ed0}.crm-shell button:disabled{cursor:not-allowed}.crm-skip-link{z-index:99;color:#17283e;background:#fff;padding:12px;position:fixed;top:-80px;left:240px}.crm-skip-link:focus{top:10px}.crm-shell--compact .crm-brand-text,.crm-shell--compact .crm-menu-caption,.crm-shell--compact .crm-nav-label,.crm-shell--compact .crm-profile-text,.crm-shell--compact .crm-active-dot{display:none}.crm-shell--compact .crm-navigation{padding-top:16px}.crm-shell--compact .crm-nav-item{justify-content:center;padding:12px 0}.crm-shell--compact .crm-profile{padding:2px 10px 12px}@media (width<=1180px){.crm-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.crm-shell{--crm-sidebar-width:68px}.crm-brand,.crm-shell--compact .crm-brand{height:68px;padding:0 18px}.crm-brand-text,.crm-menu-caption,.crm-nav-label,.crm-profile-text,.crm-active-dot{display:none!important}.crm-navigation{padding:12px 8px 0}.crm-nav-item{justify-content:center;padding:12px 0}.crm-sidebar-footer{padding:12px 8px}.crm-profile,.crm-shell--compact .crm-profile{padding:0 10px 10px}.crm-sidebar-toggle{display:none}.crm-topbar{height:60px;padding:0 18px}.crm-page{min-height:calc(100vh - 60px)!important;padding:20px 18px!important}.crm-page-header{padding:20px!important}.crm-content h1{font-size:23px!important}.crm-skip-link{left:80px}}@media (width<=560px){.crm-topbar-account,.crm-breadcrumb>span{display:none}.crm-topbar{height:54px;padding:0 14px}.crm-page{padding:16px 12px!important}.crm-page-header{flex-direction:column;align-items:flex-start!important;padding:16px!important}.crm-dashboard-grid{grid-template-columns:1fr}.crm-dashboard-card{padding:18px}.crm-content h1{font-size:21px!important}.crm-content h2{font-size:18px!important}.crm-dashboard-card h2{font-size:27px!important}}@media print{.crm-sidebar,.crm-topbar,.crm-skip-link{display:none!important}.crm-workspace{margin-left:0!important}.crm-page{min-height:0!important;padding:0!important}.crm-shell{background:#fff}.crm-page-header{border:none}}@media (prefers-reduced-motion:reduce){.crm-shell *{scroll-behavior:auto!important;transition:none!important}}@media (width<=560px){.crm-content form{grid-template-columns:1fr!important}}@media (width>=901px){.crm-nav-item svg{width:18px;height:18px}.crm-topbar{height:56px}.crm-profile{padding-bottom:7px}}.crm-shell{--crm-sidebar-width:196px}.crm-shell--compact{--crm-sidebar-width:64px}.crm-brand{gap:9px;height:58px;padding:0 13px}.crm-brand-text{font-size:14px}.crm-brand-text small{letter-spacing:1.4px;font-size:8px}.crm-menu-caption{padding:6px 15px;font-size:9px}.crm-navigation{padding:0 8px 8px}.crm-nav-item{gap:8px;min-height:33px;padding:8px;font-size:11px}.crm-nav-item svg{width:16px;height:16px}.crm-nav-label{white-space:normal;overflow-wrap:anywhere}.crm-nav-chevron{color:#9db0c9;flex-shrink:0;margin-left:auto;font-size:15px;line-height:1}.crm-submenu-slot[hidden]{display:none!important}.crm-submenus{border-left:1px solid #34465f;flex-direction:column;gap:1px;margin:2px 0 7px 16px;padding-left:9px;display:flex}.crm-submenu-item{text-align:left;color:#acbdd2;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;border-radius:5px;width:100%;padding:7px 8px;font-size:10.5px;line-height:1.4;display:block}.crm-submenu-item:hover{color:#fff;background:#1a2e4b}.crm-submenu-item.is-active{color:#ffe08a;background:#263f5e;font-weight:600}.crm-submenu-item:disabled{opacity:.55}.crm-submenus-fallback{flex-wrap:wrap;gap:6px;margin:14px 0;display:flex}.crm-submenus-fallback .crm-submenu-item{color:#243b53;background:#edf2f7;width:auto}.crm-profile-text strong{font-size:10.5px}.crm-profile-text small{font-size:10px}.crm-shell--compact .crm-nav-chevron{display:none}.crm-shell--compact .crm-brand{padding:0 16px}.crm-shell--compact .crm-nav-item{padding:10px 0}.crm-sidebar-scrim{display:none}@media (width<=900px){.crm-shell{--crm-sidebar-width:196px}.crm-shell--compact{--crm-sidebar-width:60px}.crm-workspace{margin-left:60px}.crm-sidebar-toggle{display:grid}.crm-shell:not(.crm-shell--compact) .crm-brand-text,.crm-shell:not(.crm-shell--compact) .crm-menu-caption,.crm-shell:not(.crm-shell--compact) .crm-nav-label,.crm-shell:not(.crm-shell--compact) .crm-profile-text{display:block!important}.crm-shell:not(.crm-shell--compact) .crm-nav-item{justify-content:flex-start;padding:8px}.crm-shell:not(.crm-shell--compact) .crm-brand{padding:0 13px}.crm-shell .crm-navigation{padding:6px 8px 8px}.crm-sidebar-scrim{z-index:25;background:#0f172a66;border:0;display:block;position:fixed;inset:0}.crm-shell--compact .crm-brand{padding:0 14px}.crm-shell--compact .crm-profile{padding:0 5px 10px}}.purchase-import{color:#24354b;background:#fff;border:1px solid #dce5ee;border-radius:12px;margin:16px 0;padding:18px;font-size:13px}.purchase-import-heading{justify-content:space-between;gap:12px;display:flex}.purchase-import h2{margin:0;font-size:18px}.purchase-import-tools{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.purchase-import label{flex-direction:column;gap:5px;font-size:12px;display:flex}.purchase-import input,.purchase-import select,.purchase-import button{font:inherit;color:#24354b;background:#fff;border:1px solid #d3deea;border-radius:6px;max-width:100%;padding:8px}.purchase-import button{cursor:pointer}.purchase-import button:disabled{opacity:.5;cursor:wait}.purchase-import-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:14px 0;display:grid}.purchase-import-table{margin:14px 0;overflow:auto}.purchase-import table{border-collapse:collapse;width:100%;min-width:1050px}.purchase-import td,.purchase-import th{text-align:left;border-bottom:1px solid #e0e6ee;padding:7px}.purchase-import td:first-child{min-width:260px}.purchase-import td:first-child input,.purchase-import td:first-child select{width:100%;margin-bottom:4px;display:block}.purchase-import td input{width:95px}.purchase-import small{color:#66758a;font-size:10px;display:block}.purchase-import-warning{background:#fff8e8;border-radius:7px;padding:10px}.purchase-import-error{color:#a62222;background:#ffeded;padding:10px}.purchase-import pre{white-space:pre-wrap;max-height:230px;font-size:11px;overflow:auto}.purchase-import .purchase-import-confirm{flex-direction:row;align-items:center;margin:15px 0}.purchase-import-confirm input{width:auto}.purchase-import .purchase-import-save{color:#fff;background:#147d60;border-color:#147d60}.purchase-transfer-toolbar{flex-wrap:wrap;gap:7px;margin:12px 0;display:flex}.purchase-transfer-toolbar button{color:#294159;cursor:pointer;background:#fff;border:1px solid #d6e1eb;border-radius:7px;padding:8px 11px;font-size:12px}.doctor-page{color:#13243b;padding:clamp(10px,3vw,24px)}.doctor-page nav,.doctor-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0;display:flex}.doctor-page button,.doctor-page input,.doctor-page select,.doctor-page textarea{font:inherit;color:inherit;background:#fff;border:1px solid #ccd7e3;border-radius:6px;padding:8px}.doctor-page button{cursor:pointer}.doctor-page button[aria-current=page],.doctor-page button[type=submit]{color:#fff;background:#1464a4}.doctor-page button:disabled{opacity:.55;cursor:default}.doctor-card{background:#fff;border:1px solid #dce5ed;border-radius:10px;margin:12px 0;padding:14px}.doctor-grid{border:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:12px;min-width:0;padding:0;display:grid}.doctor-grid strong{font-size:1.5rem}.doctor-grid input,.doctor-grid select,.doctor-grid textarea{box-sizing:border-box;width:100%;margin-top:5px;display:block}.doctor-table{overflow:auto}.doctor-table table{border-collapse:collapse;width:100%}.doctor-table th,.doctor-table td{text-align:left;border-bottom:1px solid #edf1f5;padding:8px}.doctor-page [role=alert]{color:#9a281c}.doctor-form-group{border:1px solid #dce5ed;border-radius:8px;grid-column:1/-1;min-width:0;margin:0;padding:12px}.doctor-form-group legend{color:#1464a4;padding:0 6px;font-weight:600}.doctor-letter-preview{border:1px dashed #9ab0c6;border-radius:8px;margin-top:18px;padding:16px}.doctor-letter-preview dl{grid-template-columns:max-content 1fr;gap:6px 12px;display:grid}.doctor-letter-preview dd{margin:0}.doctor-letter-body{white-space:pre-wrap}.asset-page{color:#13243b;padding:24px}.asset-page nav,.asset-actions{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.asset-page button,.asset-page input,.asset-page select{font:inherit;background:#fff;border:1px solid #ccd7e3;border-radius:6px;padding:8px}.asset-page button{cursor:pointer;color:#173456}.asset-page button[aria-current=page]{color:#fff;background:#1464a4}.asset-page button:disabled{opacity:.55;cursor:wait}.asset-card,.asset-summary>div{background:#fff;border:1px solid #dce5ed;border-radius:10px;margin:12px 0;padding:14px}.asset-summary,.asset-fields{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;display:grid}.asset-summary strong,.asset-summary span,.asset-fields input,.asset-fields select{display:block}.asset-summary strong{font-size:1.4rem}.asset-fields input,.asset-fields select{width:100%;margin-top:5px}.asset-table{overflow:auto}.asset-table table{border-collapse:collapse;width:100%}.asset-table th,.asset-table td{text-align:left;border-bottom:1px solid #edf1f5;padding:8px}.asset-page [role=alert]{color:#9a281c}.asset-empty{background:#f7faff;border:1px dashed #c8d5e5;border-radius:8px;margin-top:14px;padding:18px}.asset-empty h2{margin:0 0 6px;font-size:17px}.asset-empty p{color:#536780;margin:0 0 12px}
