:root{--bg:#f7f9fc;--panel:#fff;--line:#e6eaf0;--text:#192434;--muted:#788498;--blue:#2563eb}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:13px/1.55 Inter,Segoe UI,Arial,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid #dce2eb;border-radius:7px;background:white;color:#42516a;padding:9px 14px}button:hover{border-color:#93b1ed;background:#f2f7ff}button.primary{background:var(--blue);color:white;border-color:var(--blue);font-weight:600}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--blue);text-decoration:none}aside{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 19px}.brand{display:flex;gap:13px;align-items:center;color:#283754;font-size:29px}.brand b{font-size:20px;letter-spacing:2px}.brand span{display:block;font-size:8px;letter-spacing:2px;color:#8a95a6}.navcaption{font-size:9px;color:#99a3b2;letter-spacing:1.6px;margin:42px 12px 13px}nav button{display:block;background:none;border:0;text-align:left;width:100%;margin:4px 0;padding:12px;color:#647188}nav button.active{background:#edf4ff;color:#2563eb;font-weight:600}nav button span{margin-right:11px;font-size:17px}.asidefoot{margin-top:auto;border-top:1px solid var(--line);padding:20px 10px 0;font-weight:600}.asidefoot small{display:block;font-weight:400;color:var(--muted)}.workspace{margin-left:238px}header{height:76px;background:#ffffffdd;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:15px}#breadcrumb{color:#7a8799;font-size:12px}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.iconbutton{border:0;background:none;font-size:11px;padding:8px;color:#67758a}#user{background:#ecf2ff;color:#4267af;padding:7px 12px;border-radius:7px;font-size:11px}main{padding:32px;min-height:calc(100vh - 132px)}h1{font-size:25px;letter-spacing:-.5px;margin:0 0 6px;font-weight:600}h2{font-size:16px;margin:0 0 16px;font-weight:600}h3{font-size:13px;margin:0 0 8px}p,small{color:var(--muted)}p{margin:8px 0 18px}.titlebar{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px;gap:15px}.titlebar p{font-size:12px;margin:0}.panel{padding:23px;background:var(--panel);border:1px solid var(--line);border-radius:10px;margin-bottom:20px;box-shadow:0 2px 3px #19243402}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:25px 0}.stat{padding:22px;border:1px solid var(--line);border-radius:10px;background:white}.stat strong{display:block;font-size:30px;margin-top:10px;font-weight:600}.stat span{font-size:11px;color:var(--muted)}.stat i{float:right;font-size:22px;color:#86a3cf;font-style:normal}.toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.toolbar input{flex:1;min-width:180px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;letter-spacing:.4px;font-weight:500;color:#8792a3;background:#f9fafc;padding:13px}td{padding:14px 13px;border-bottom:1px solid #edf0f5;font-size:12px}td small{display:block;font-size:10px}tr:last-child td{border:0}.badge{display:inline-block;border:1px solid #dbe8ff;background:#eff6ff;color:#4a75b9;font-size:10px;padding:3px 8px;border-radius:5px}.badge.warn{background:#fff8ec;border-color:#f0e2c6;color:#ac7b29}.badge.green{background:#edfaf4;color:#328367;border-color:#cceddf}.muted{color:var(--muted)}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:20px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:15px}input,select,textarea{background:#fff;border:1px solid #dce2eb;border-radius:6px;color:var(--text);padding:10px 12px;min-width:0}textarea{min-height:120px;resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #a6c7ff;outline-offset:1px}label.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#4f5c70;margin-bottom:17px}.full{grid-column:1/-1}.notice{border:1px solid #dbe8ff;border-radius:7px;background:#f3f8ff;padding:13px 16px;color:#55759c;font-size:12px;margin:18px 0}.empty,.loading{text-align:center;padding:55px;color:var(--muted)}footer{border-top:1px solid var(--line);padding:17px 32px;color:#9aa4b2;font-size:10px;display:flex;justify-content:space-between}dialog{border:1px solid #dbe2ed;border-radius:12px;padding:28px;width:min(650px,calc(100% - 28px));max-height:90vh;color:var(--text);box-shadow:0 25px 80px #101a3c25}dialog::backdrop{background:#15213e88;backdrop-filter:blur(3px)}dialog .close{float:right;border:0;padding:0 5px;font-size:22px}dialog h2{font-size:22px}.modalactions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.small{font-size:11px;padding:7px 10px}.ghost{background:none}.formerror{color:#b7354b}#toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;background:#20324e;color:white;box-shadow:0 10px 30px #19243430;border-radius:8px;max-width:90%;z-index:20}.notify{padding:15px 0;border-bottom:1px solid var(--line)}.notify small{display:block;margin-top:5px}.authshell{max-width:420px;margin:65px auto;background:white;border:1px solid var(--line);border-radius:14px;padding:40px;text-align:center}.authshell .mark{font-size:38px;color:var(--blue)}.authshell button{margin-top:15px}.board{display:flex;gap:15px;overflow:auto;padding-bottom:18px;align-items:flex-start}.column{min-width:250px;flex:1;max-width:330px;background:#edf1f7;border-radius:9px;padding:14px}.column>h3{display:flex;justify-content:space-between;font-size:11px;color:#68758b;margin:0 0 15px}.task{background:white;padding:16px;border:1px solid #e1e6ee;border-radius:8px;margin:0 0 13px;cursor:pointer;box-shadow:0 2px 3px #19243403}.task:hover{border-color:#a8bfe7}.task h3{font-size:13px;line-height:1.5;margin:12px 0}.task small{font-size:10px}.task .owner{margin-top:15px;border-top:1px solid #edf0f4;padding-top:10px;color:#8a96a8;font-size:10px}.tabs{display:flex;gap:8px;margin-bottom:20px}.tabs button.active{background:#e9f1ff;border-color:#bcd0f4;color:#2563eb}.comment{background:#f5f8fc;border-radius:7px;padding:13px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.comment small{display:block;margin-bottom:5px}.secret{overflow-wrap:anywhere;background:#f5f7fc;padding:15px;border:1px dashed #b7c7e0;border-radius:6px}.taskdesc{white-space:pre-wrap;overflow-wrap:anywhere}.checkline{display:flex;align-items:center;gap:8px}.keys{font:11px monospace}.searchinfo{font-size:11px;color:#8796aa}@media(max-width:1000px){aside{width:195px}.workspace{margin-left:195px}main{padding:25px 20px}header{padding:0 20px}.grid2{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){aside{position:static;width:100%;padding:16px}.brand{font-size:24px}.navcaption,.asidefoot{display:none}nav{display:flex;overflow:auto;margin-top:12px}nav button{white-space:nowrap;width:auto;padding:8px;font-size:11px}.workspace{margin:0}header{height:auto;min-height:62px;padding:12px 16px}#breadcrumb{display:none}main{padding:22px 15px}.titlebar h1{font-size:23px}.titlebar{align-items:flex-start}.stats{gap:10px}.stat{padding:16px}.formgrid{grid-template-columns:1fr}.full{grid-column:auto}footer{padding:16px;gap:10px;flex-direction:column}.iconbutton{padding:4px}.column{min-width:260px}}

/* Standalone entrance, inspired by the Forja split layout. */
.auth-pending>aside,.auth-pending .workspace>header,.auth-pending .workspace>footer,.auth-page>aside,.auth-page .workspace>header,.auth-page .workspace>footer{display:none}
.auth-pending .workspace,.auth-page .workspace{margin:0}
.auth-page #main{padding:0;min-height:100svh}
.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100svh;background:#fff}
.login-story{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:#202622;color:#f5f4ee;padding:48px clamp(36px,5.7vw,100px);min-height:100svh}
.login-brand{display:flex;align-items:center;gap:14px;color:#f5f4ee;width:fit-content;position:relative;z-index:1}
.login-brand>span{font-size:42px;color:#dca56f;font-weight:400}
.login-brand b{font-size:34px;letter-spacing:-1.6px;line-height:1;font-weight:650}
.login-brand b span{display:block;font-size:8px;letter-spacing:2.6px;font-weight:500;margin-top:10px;color:#c6c7be}
.login-story-copy{position:relative;z-index:1;padding:76px 0 90px}
.login-eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;color:#767c7d}
.login-story .login-eyebrow{color:#d5ab7e;font-size:9px}
.login-story h2{font-size:clamp(38px,4.1vw,68px);line-height:1.12;letter-spacing:-2.6px;font-weight:600;margin:28px 0}
.login-story h2 em{font-style:normal;color:#d9b48b}
.login-story-copy p{font-size:15px;line-height:1.9;color:#bdc4bd;margin:0}
.login-rule{height:1px;background:#9c855450;width:42px;margin:30px 0 16px}
.login-story-caption{font-size:11px;color:#aeb8ad}
.login-story-foot{display:flex;gap:18px;justify-content:space-between;position:relative;z-index:1;color:#a9b3a9;font-size:10px}
.login-story-foot>span:first-child{font-size:8px;letter-spacing:1.8px}
.login-art{position:absolute;z-index:0;width:380px;height:900px;border:1px solid #bda17a24;transform:rotate(33deg);right:-225px;bottom:-440px;box-shadow:0 0 0 50px #bda17a04,0 0 0 105px #bda17a03;pointer-events:none}
.login-content{display:flex;flex-direction:column;justify-content:space-between;padding:40px clamp(32px,5.3vw,90px);min-width:0}
.login-topline,.login-bottomline{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#737e84}
.login-topline{font-size:8px;letter-spacing:1.3px}
.login-form-wrap{width:100%;max-width:370px;margin:64px auto}
.login-form-wrap h1{font-size:clamp(29px,2.7vw,40px);line-height:1.18;letter-spacing:-1.3px;color:#222b28;font-weight:600;margin:19px 0 15px}
.login-description{font-size:13px;color:#77817d;line-height:1.8;margin:0 0 35px}
.login-form-wrap label.field{font-size:12px;color:#454f4a;margin-bottom:23px;gap:9px}
.login-form-wrap input{height:49px;width:100%;border:1px solid #dfe4df;border-radius:7px;background:#fff;padding:13px 15px;color:#25332b}
.login-form-wrap input::placeholder{color:#929b96;font-size:12px}
.login-form-wrap input:focus{outline:2px solid #b48855;outline-offset:2px}
.login-password-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#454f4a;margin-bottom:9px}
.login-link{border:0;background:none!important;padding:0;color:#8c6037;font-size:11px}
.login-password{position:relative}
.login-password input{padding-right:78px}
.login-password button{position:absolute;right:6px;top:5px;height:39px;border:0;background:transparent;padding:0 10px;font-size:11px;color:#737e75}
.login-form-wrap .formerror{font-size:12px;margin:12px 0;line-height:1.5}
.login-form-wrap .formerror:empty{display:none}
.login-submit{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 18px;min-height:49px;margin-top:26px;border:1px solid #ad733c;border-radius:7px;background:#ad733c;color:#fff;font-size:12px;font-weight:600;box-shadow:0 3px 8px #ad733c17}
.login-submit:hover{background:#986232;border-color:#986232}
.login-submit>span:last-child{font-size:20px;font-weight:400;line-height:1}
.login-security{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:27px;font-size:11px;color:#7a857f}
.login-security svg{width:17px;height:17px;flex-shrink:0}
.auth-page button:focus-visible,.auth-page a:focus-visible{outline:2px solid #b48855;outline-offset:4px}
@media(min-width:1600px){.login-form-wrap{max-width:400px}}
@media(max-width:900px){.login-story{padding:35px}.login-content{padding:35px}.login-story h2{letter-spacing:-1.8px}.login-story-foot{flex-direction:column;gap:8px}.login-topline>span:last-child{display:none}}
@media(max-width:650px){.login-layout{grid-template-columns:1fr}.login-story{min-height:auto;padding:25px 26px}.login-brand>span{font-size:32px}.login-brand b{font-size:27px}.login-brand b span{font-size:7px;margin-top:7px}.login-story-copy{padding:28px 0 8px}.login-story h2{font-size:32px;letter-spacing:-1px;line-height:1.15;margin:13px 0}.login-story h2 br{display:none}.login-story h2 br:after{content:' '}.login-story h2 em{display:block}.login-story-copy p,.login-story-caption,.login-rule,.login-story-foot{display:none}.login-content{padding:28px 26px;min-height:510px}.login-topline{display:none}.login-form-wrap{margin:12px auto 40px;max-width:400px}.login-form-wrap h1{font-size:30px}.login-form-wrap h1 br{display:none}.login-form-wrap input{font-size:16px}.login-bottomline{font-size:9px}.login-security{font-size:10px}}

/* Administrative workspace: Metronic structure and Forja visual identity. */
body:not(.auth-page){--bg:#f6f7f9;--line:#e8ebef;--text:#242b35;--muted:#77818e;--blue:#a36a36}
body:not(.auth-page) aside{width:264px;padding:26px 18px;background:#fff;overflow-y:auto}
body:not(.auth-page) .workspace{margin-left:264px}
.brand{padding:0 12px;color:#a36a36;font-size:34px}.brand b{color:#26342c;font-size:23px;letter-spacing:1px}.brand span{font-size:8px;letter-spacing:2px;margin-top:2px}
.workspace-switch{display:flex;align-items:center;gap:11px;padding:14px 11px;margin:30px 0 16px;border:1px solid var(--line);border-radius:9px;background:#fafbf9}.workspace-mark{display:grid;place-items:center;width:34px;height:34px;background:#eaf0e9;color:#46634b;border-radius:8px;font-weight:700}.workspace-switch strong{display:block;font-size:12px}.workspace-switch small{font-size:10px}
.navgroup{font-size:9px;font-weight:600;letter-spacing:1.3px;color:#9aa1aa;padding:21px 12px 7px}nav button{display:flex;align-items:center;gap:12px;font-size:12px;border:1px solid transparent;padding:11px 12px;margin:3px 0}nav button span{display:grid;place-items:center;width:20px;margin:0;font-size:18px;color:#909aa7}nav button.active{background:#fbf4ec;color:#986434;border-color:#f0e3d5}nav button.active span{color:#b07942}nav button:hover{background:#f6f7f9}.asidefoot{font-size:12px;margin-top:35px}.asidefoot small{font-size:10px;margin-top:4px}
body:not(.auth-page) header{position:sticky;top:0;z-index:5;height:74px;background:#ffffffed;backdrop-filter:blur(12px);padding:0 36px}#breadcrumb{font-size:12px}.iconbutton{display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:7px;min-height:34px}.iconbutton:hover{background:#f4f5f7}.iconbutton svg{width:19px;height:19px}#notifcount{background:#fff0f0;color:#d94b56;font-size:9px;border-radius:20px;padding:0 5px}#user{background:#edf2ec;color:#47674d;font-weight:600;border:1px solid #dde6db;padding:8px 12px}
body:not(.auth-page) main{max-width:1600px;margin:auto;padding:34px 36px 50px}h1{font-size:27px;font-weight:650;letter-spacing:-.7px}.titlebar{margin-bottom:28px}.titlebar p{font-size:12px;margin-top:7px}.titlebar>button{font-size:11px;background:white;box-shadow:0 2px 3px #242b3503}.panel{border-radius:12px;padding:24px;box-shadow:0 3px 8px #24302003}.stats{gap:20px;margin:0 0 28px}.stat{position:relative;padding:23px;border-radius:12px;min-height:136px;box-shadow:0 3px 8px #24302003}.stat strong{font-size:34px;font-weight:600;letter-spacing:-1px;margin-top:18px;line-height:1}.stat span{font-size:12px;color:#737e8c}.stat i{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#f5ede4;color:#b08352;font-size:20px}.stat:nth-child(2) i{background:#eaf4ed;color:#568867}.stat:nth-child(3) i{background:#edf1fc;color:#6b84bb}.stat:nth-child(4) i{background:#f3edfb;color:#9171b6}.grid2{grid-template-columns:1.1fr 1fr;gap:22px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.panel-title h2{margin:5px 0 0;font-size:17px}.eyebrow{font-size:9px;letter-spacing:1.2px;color:#9b8266}.overview-line{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:16px 0;border-bottom:1px solid #eef0f3;font-size:12px;color:#77818e}.overview-line strong{color:#394452;font-size:13px}.quick-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:23px}.quick-actions button{font-size:11px}.activity{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f0f1f4}.activity-dot{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#b28a5b;box-shadow:0 0 0 4px #faf2e8}.activity strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.activity small{display:block;font-size:10px;margin-top:3px}.activity time{margin-left:auto;white-space:nowrap;font-size:10px;color:#919ba7}.badge{font-size:10px;font-weight:500;border-radius:5px}.badge.neutral{background:#f5f6f8;border-color:#e8ebee;color:#7b8491}.badge.danger{background:#fff0f2;border-color:#f7dce1;color:#be596c}.badge.green{background:#eef9f1;color:#4d8c62;border-color:#d9efdf}
.list-toolbar{justify-content:space-between;margin:0 0 18px}.table-search{display:flex;align-items:center;gap:9px;min-width:280px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:8px;color:#8894a1}.table-search input{border:0;width:100%;background:transparent}.table-search span{font-size:23px}#search-status{font-size:11px;color:#909ba8}th{font-size:10px;font-weight:600;letter-spacing:.5px;color:#8b96a5;background:#fafbfc;padding:15px}td{padding:17px 15px;font-size:12px;color:#566172}tbody tr:hover{background:#fafbfc}td:first-child{color:#303c4c;font-weight:500}.tablewrap{border:1px solid #edf0f3;border-radius:8px}.small{font-size:10px;padding:6px 10px}.notice{background:#f8f6f1;border-color:#eee4d3;color:#987b50}button.primary{background:#a36a36;border-color:#a36a36}button.primary:hover{background:#8e5b2c}button:focus-visible,a:focus-visible{outline:2px solid #a36a36;outline-offset:3px}dialog{border-radius:14px;padding:30px;box-shadow:0 24px 90px #14231c30}dialog h2{font-size:23px}.checkline input{width:16px;height:16px;accent-color:#a36a36}.menu-toggle{display:none}.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}
@media(max-width:1150px){.stats{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}body:not(.auth-page) main{padding:26px}body:not(.auth-page) header{padding:0 26px}}
@media(max-width:760px){body:not(.auth-page) aside{position:fixed;inset:64px auto 0 0;width:264px;z-index:8;transform:translateX(-100%);transition:transform .2s;box-shadow:15px 0 35px #14231c15}body.menu-open:not(.auth-page) aside{transform:translateX(0)}body:not(.auth-page) .workspace{margin:0}.menu-toggle{display:block;padding:5px 10px;font-size:20px}body:not(.auth-page) header{height:64px;min-height:64px;padding:0 15px}.workspace header>.row{margin-left:auto;gap:4px}#breadcrumb{display:none}#user{max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.iconbutton{font-size:10px;padding:5px}body:not(.auth-page) main{padding:24px 16px}.titlebar{align-items:flex-start}.titlebar h1{font-size:24px}.titlebar>button{white-space:nowrap;padding:8px}.stats{gap:12px}.stat{padding:17px;min-height:126px}.stat strong{font-size:29px}.stat i{width:29px;height:29px}.panel{padding:18px}.panel-title{align-items:flex-start;flex-wrap:wrap}.table-search{min-width:0;width:100%}.activity time{white-space:normal;text-align:right;min-width:60px}nav{display:block;overflow:visible;margin:0}nav button{width:100%;font-size:12px;padding:11px 12px}.asidefoot{display:block}.workspace-switch{margin-top:20px}.brand{font-size:30px}}

nav button svg,.stat i svg{width:20px;height:20px;display:block}

.mfa-key{border:1px solid #e6e0d5;border-radius:8px;padding:16px;margin-bottom:20px;background:#faf8f4}.mfa-key strong{display:block;font:14px/1.8 monospace;overflow-wrap:anywhere;color:#66472b;margin:12px 0}.mfa-key small{font-size:11px}.mfa-codes{display:grid;grid-template-columns:1fr;gap:6px;padding:16px;border:1px solid #e6e0d5;border-radius:8px;background:#faf8f4}.mfa-codes code{font-size:13px;color:#4b4135;overflow-wrap:anywhere}
