/* NyxGlobe ERP workspace — loaded after the shared Dark Premium tokens. */
#workspace{--workspace-sidebar:244px;color:#c0cbdc;font-size:14px}
#workspace .sidebar{width:var(--workspace-sidebar);padding:25px 14px 18px;background:#101827;border-right:1px solid #253149;overflow:hidden;gap:0}
#workspace .sidebar>.brand{padding:0 13px;font-size:28px;letter-spacing:-1.1px}
#workspace .sidebar>.brand small{font-size:8px;letter-spacing:2px;color:#74849d}
#workspace .nav{display:block;overflow-y:auto;min-height:0;margin-top:28px;padding-right:3px;scrollbar-width:thin;scrollbar-color:#32415d transparent}
#workspace .nav-group{margin:0 0 21px}
#workspace .nav-group-title{font-size:9px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:#61738f;padding:0 13px;margin:0 0 7px}
#workspace .nav-button{width:100%;min-height:41px;padding:10px 13px;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:550;gap:11px;color:#9aabc4;transition:background .16s,color .16s}
#workspace .nav-button i{font-size:13px;width:17px;text-align:center;color:#7187a7}
#workspace .nav-button:hover{background:#1a2840;color:#fff}
#workspace .nav-button.active{background:linear-gradient(100deg,#00f0ff13,#2563eb1c);border-color:#00f0ff24;color:#e5fcff}
#workspace .nav-button.active i{color:#00f0ff}
#workspace .sidebar-bottom{margin-top:auto;padding:16px 9px 0;border-top:1px solid #26334a;flex-shrink:0}
#workspace .account{gap:10px;margin-bottom:12px;min-width:0}
#workspace .account>div:last-child{min-width:0;overflow:hidden}
#workspace #actor-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
#workspace #actor-role{font-size:10px}
#workspace .avatar{width:34px;height:34px;flex-shrink:0;font-size:13px;border:1px solid #00f0ff26;border-radius:9px}
#workspace #logout{font-size:11px;padding:9px;min-height:35px;border-color:#2b3951}
#workspace .main{margin-left:var(--workspace-sidebar);max-width:none;padding:27px 30px 22px;min-width:0}
#workspace .topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:25px;padding-bottom:25px;border-bottom:1px solid #263149;margin-bottom:27px}
#workspace .workspace-heading{min-width:210px}
#workspace .breadcrumbs{display:flex;align-items:center;gap:9px;color:#667b9c;font-size:10px;line-height:1.5;margin-bottom:11px}
#workspace .breadcrumbs button{border:0;background:none;padding:0;color:#91a6c3;font-size:10px;cursor:pointer}
#workspace .breadcrumbs button:hover{color:#00f0ff}
#workspace #breadcrumb-current{color:#b9c7db}
#workspace .workspace-title{display:flex;align-items:center;gap:10px}
#workspace h1{font-size:25px;font-weight:720;line-height:1.3;letter-spacing:-.7px}
#workspace #page-subtitle{font-size:11px;line-height:1.6;margin-top:7px;max-width:470px;color:#7486a1}
#workspace .workspace-tools{display:flex;gap:10px;align-items:center;justify-content:flex-end;min-width:0;margin-top:9px;flex:1}
#workspace .workspace-search{position:relative;display:flex;align-items:center;min-width:140px;max-width:290px;flex:1}
#workspace .workspace-search>i{position:absolute;left:12px;color:#6f86a6;font-size:12px}
#workspace #workspace-search{width:100%;font-size:11px;padding:11px 12px 11px 33px;background:#111b2c;border:1px solid #29364e;border-radius:8px;min-width:0;text-overflow:ellipsis}
#workspace #workspace-search:disabled{background:#101827;opacity:.5}
#workspace .language-control{width:61px;flex-shrink:0}
#workspace #workspace-language{font-size:11px;padding:10px 7px;margin:0;min-height:38px;border-radius:8px;border:1px solid #2b3b55;background:#111c2e}
#workspace .company-chip{min-width:140px;max-width:205px;padding:0 0 0 13px;border:0;border-left:1px solid #2c3b54;border-radius:0;background:none;line-height:1.6;flex-shrink:1}
#workspace .company-chip strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:1px}
#workspace .company-chip>span{font-size:9px;color:#7489a7;white-space:nowrap}
#workspace .workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 0 2px}
#workspace .workspace-intro .eyebrow{font-size:8px;letter-spacing:1.8px;color:#00d4e2;margin-bottom:8px}
#workspace .workspace-intro h2{font-size:23px;letter-spacing:-.6px;font-weight:650;line-height:1.3}
#workspace .workspace-intro .muted{font-size:11px;margin-top:8px;color:#8093af}
#workspace .button{font-size:11px;border-radius:8px;padding:11px 15px;min-height:38px;white-space:normal}
#workspace .button.secondary{color:#b6c7df;border-color:#34445f;background:#142035}
#workspace .button.secondary:hover{background:#1c2d48;border-color:#45618b}
#workspace .metrics{gap:14px;margin:23px 0 29px;grid-template-columns:repeat(4,minmax(0,1fr))}
#workspace .card.metric-card{background:linear-gradient(140deg,#172238,#121d30);border:1px solid #283650;padding:19px 18px 17px;border-radius:11px;min-width:0}
#workspace .metric-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
#workspace .metric-top>p{font-size:10px;color:#94a6c0;line-height:1.5}
#workspace .metric-top i{font-size:12px;color:#00d4e2}
#workspace .metric-value{font-size:25px;font-weight:700;letter-spacing:-.6px;margin:15px 0 6px;overflow-wrap:anywhere;line-height:1.2}
#workspace .metric-card>p:last-child{font-size:9px;color:#69809f}
#workspace .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:15px}
#workspace .section-heading h2{font-size:15px;font-weight:650;letter-spacing:-.2px}
#workspace .section-heading p{font-size:10px;color:#7489a7}
#workspace .module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#workspace .module-tile{display:flex;align-items:center;text-align:left;gap:13px;min-height:94px;background:#131e31;border:1px solid #25354f;border-radius:10px;padding:17px 15px;color:#a2b4ce;min-width:0;transition:background .15s,border-color .15s,transform .15s}
#workspace .module-tile:hover{background:#192840;border-color:#00d3e559;transform:translateY(-1px)}
#workspace .module-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:10px;background:#00f0ff0d;border:1px solid #00f0ff20;color:#00e0ef;font-size:16px}
#workspace .module-finance{background:#2563eb1b;border-color:#4781ed33;color:#80abff}
#workspace .module-administration{background:#20334b;border-color:#45618144;color:#a5c8ed}
#workspace .module-copy{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
#workspace .module-copy strong{font-size:12px;font-weight:650;color:#e4ecf8;line-height:1.4}
#workspace .module-copy>span{font-size:9px;line-height:1.65;color:#748ba9}
#workspace .module-tile>i{font-size:10px;color:#536d91;flex-shrink:0}
#workspace .dashboard-bottom{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(230px,1fr);gap:16px;margin-top:26px}
#workspace .panel{background:#131f33;border-color:#27364e;border-radius:11px;padding:21px;min-width:0}
#workspace .panel h2{font-size:15px;font-weight:650}
#workspace .activity-row{padding:13px 0;align-items:center;border-color:#27364e}
#workspace .activity-row strong{font-size:11px;font-weight:550}
#workspace .activity-row p{font-size:9px;color:#667f9f}
#workspace .activity-empty{padding:20px 0;font-size:11px;color:#6f86a5}
#workspace .badge{font-size:9px;border:1px solid #00f0ff23;padding:4px 9px;background:#00f0ff0c;color:#7ae1e9}
#workspace .organisation-panel>.button{margin-top:22px;min-width:0}
#workspace .organisation-panel>.eyebrow{font-size:8px;letter-spacing:1.5px}
#workspace .organisation-panel>.muted{font-size:11px}
#workspace .list-toolbar{padding:0 0 15px;margin:0;min-height:52px}
#workspace .list-count{font-size:11px;color:#8298b8;line-height:1.6}
#workspace .table-scroll{border-color:#2b3a53;border-radius:10px;max-width:100%;background:#131e31}
#workspace table{background:#131e31;font-size:11px}
#workspace th{padding:13px 16px;background:#17243a;color:#8299b9;font-size:9px;font-weight:650;letter-spacing:.7px;white-space:nowrap}
#workspace td{padding:13px 16px;line-height:1.6;color:#bdcbe0;border-color:#24334b;max-width:270px}
#workspace tbody tr:hover{background:#1b2c46}
#workspace td .button{font-size:10px;padding:6px 10px;min-height:30px}
#workspace .creator{max-width:970px}
#workspace .creator .form-grid{gap:18px}
#workspace label{font-size:11px;color:#92a8c7}
#workspace input,#workspace select{font-size:12px;border-radius:8px;border-color:#34445e;padding:11px 12px}
#workspace input[type=checkbox]{width:17px;height:17px;accent-color:#00f0ff;margin-left:9px;vertical-align:middle}
#workspace .creator .notice{font-size:11px;line-height:1.8}
#workspace .footer{border-top:1px solid #243149;margin-top:28px;padding-top:16px;color:#4f6686;font-size:9px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[dir=rtl] #workspace .main{margin-left:0;margin-right:var(--workspace-sidebar)}
html[dir=rtl] #workspace .sidebar{inset:0 0 0 auto;border-right:0;border-left:1px solid #253149}
html[dir=rtl] #workspace .nav-button,html[dir=rtl] #workspace .module-tile,html[dir=rtl] #workspace th,html[dir=rtl] #workspace td{text-align:right}
html[dir=rtl] #workspace .company-chip{border-left:0;border-right:1px solid #2c3b54;padding-left:0;padding-right:13px}
@media(min-width:1650px){#workspace .main{padding:32px 44px}#workspace .module-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#workspace .module-tile{min-height:105px}}
@media(max-width:1200px){#workspace{--workspace-sidebar:222px}#workspace .main{padding:24px}#workspace .topbar{flex-wrap:wrap}#workspace .workspace-tools{justify-content:flex-start;flex-basis:100%;margin-top:0}#workspace .workspace-search{max-width:none}#workspace .company-chip{max-width:260px}#workspace .module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){#workspace .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .dashboard-bottom{grid-template-columns:1fr}#workspace .workspace-intro h2{font-size:20px}#workspace .workspace-intro{align-items:flex-start}#workspace .workspace-intro .button{max-width:150px}#workspace .section-heading>p{max-width:180px;text-align:right}}
@media(max-width:700px){#workspace{--workspace-sidebar:270px}#workspace .sidebar{padding:24px 14px 16px;position:fixed;z-index:30;height:100dvh}#workspace .main,html[dir=rtl] #workspace .main{margin:0;padding:18px 16px}#workspace .topbar{padding-bottom:18px;margin-bottom:23px;gap:17px}#workspace .workspace-heading{width:100%;min-width:0}#workspace .breadcrumbs{font-size:9px;margin-bottom:12px}#workspace h1{font-size:23px}#workspace #mobile-menu{display:inline-flex;min-height:30px;padding:7px 9px}#workspace #page-subtitle{font-size:10px;margin-top:8px}#workspace .workspace-tools{display:grid;grid-template-columns:minmax(0,1fr) 61px;width:100%;gap:11px}#workspace .workspace-search{min-width:0;max-width:none}#workspace .company-chip{grid-column:1/-1;max-width:none;width:100%;display:flex;justify-content:space-between;gap:10px;padding:9px 0 0;border:0;border-top:1px solid #263650;background:none}#workspace .company-chip strong{max-width:55%;font-size:10px}#workspace .company-chip>span{font-size:8px}#workspace .workspace-intro{display:block}#workspace .workspace-intro>.button{margin-top:17px;max-width:none}#workspace .workspace-intro h2{font-size:21px}#workspace .workspace-intro .muted{line-height:1.7}#workspace .metrics{gap:10px;margin:21px 0 25px}#workspace .card.metric-card{padding:15px 13px}#workspace .metric-top{align-items:flex-start}#workspace .metric-top>p{font-size:9px}#workspace .metric-value{font-size:23px;margin-top:14px}#workspace .metric-card>p:last-child{font-size:8px;line-height:1.5}#workspace .module-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#workspace .module-tile{flex-direction:column;align-items:flex-start;padding:16px 13px;gap:12px;min-height:156px;position:relative}#workspace .module-tile>i{position:absolute;top:20px;right:14px}#workspace .module-copy strong{font-size:11px}#workspace .module-copy>span{font-size:9px;line-height:1.6}#workspace .module-icon{width:35px;height:35px;font-size:14px}#workspace .section-heading{gap:10px}#workspace .section-heading h2{font-size:14px}#workspace .section-heading p{font-size:9px}#workspace .panel{padding:18px 16px}#workspace .list-toolbar{flex-direction:row;align-items:center;gap:10px}#workspace .list-toolbar .button{max-width:160px}#workspace th,#workspace td{padding:11px 12px}#workspace .creator .form-grid{grid-template-columns:1fr}#workspace .mobile-backdrop{z-index:25}html[dir=rtl] #workspace .sidebar{transform:translateX(100%)}html[dir=rtl] #workspace .sidebar.open{transform:none}html[dir=rtl] #workspace .module-tile>i{right:auto;left:14px}}
@media(prefers-reduced-motion:reduce){#workspace *{transition:none!important;scroll-behavior:auto!important}}
#workspace .preview-banner{display:flex;align-items:center;gap:14px;justify-content:space-between;flex-wrap:wrap;background:#00f0ff0b;border:1px solid #00f0ff32;color:#a6d8e3;border-radius:9px;padding:12px 15px;margin-bottom:22px;font-size:10px;line-height:1.7}
#workspace .preview-banner strong{color:#7deaf2;font-size:10px}
#workspace .preview-banner>span{flex:1;color:#6fa5b9;font-size:9px}
#workspace .preview-signup{color:#c4faff;text-decoration:underline;text-underline-offset:3px;font-size:10px}
#workspace .preview-view-note{display:inline-block;font-size:10px;padding:7px 11px;border-radius:6px;background:#00f0ff0a;color:#7bd4dd;margin-bottom:18px;border:1px solid #00f0ff1e}
#workspace :is(.notice,.panel,.module-copy){overflow-wrap:anywhere}
.document-studio-grid{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,1fr);gap:24px;margin-top:24px}.document-studio-tools{display:flex;flex-direction:column;gap:14px}.document-studio-tools label{display:flex;flex-direction:column;gap:6px}.document-studio-tools input,.document-studio-tools select{width:100%;padding:10px;border:1px solid #334155;border-radius:8px;background:#0b0f19;color:white}.document-studio-tools input[type=checkbox]{width:20px;height:20px}.document-studio-preview{width:100%;min-height:850px;background:white;border:1px solid #334155;border-radius:10px}@media(max-width:900px){.document-studio-grid{grid-template-columns:1fr}.document-studio-preview{min-height:650px}}
