/* V12.5: Enterprise-only visual layer. Core ERP is not affected. */
:root{--pp-navy:#102d4e;--pp-ink:#142f50;--pp-border:#c8d5e3;--pp-silver:#edf2f8;--pp-blue:#24618a;background:#e9eff6;color:var(--pp-ink);font-family:Segoe UI,system-ui,sans-serif}
body{background:linear-gradient(135deg,#e8eef6,#f7f9fc);min-height:100vh}
body>header{padding:10px clamp(16px,3vw,48px);gap:16px;background:linear-gradient(110deg,#081d35,#123b61);border-bottom:3px solid #b9c9dc;box-shadow:0 4px 18px #102d4e25;min-height:86px}
body>header img{width:172px;max-height:76px;object-fit:contain;padding:6px;border:1px solid #d9e4f1;box-shadow:0 3px 9px #0004;border-radius:10px}body>header strong{font-size:22px;letter-spacing:1.5px}body>header small{font-size:12px}body>header a,body>header button{padding:10px 14px;border:1px solid #aec7df66;border-radius:8px;font-weight:650}body>header a:hover,body>header button:hover{background:#2b5276}
main{max-width:1800px;padding:20px 24px}#workspace:not([hidden]){grid-template-columns:238px minmax(0,1fr);gap:12px 20px;align-items:start}
#workspace>.top{grid-column:1/-1;min-height:112px;padding:20px 28px;position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#09233f,#1e527e 72%,#163452);border:1px solid #b2c8dd;border-radius:14px;box-shadow:0 5px 15px #12345420}#workspace>.top:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 69%,#cbd8e82b 69.2%,#cbd8e805 77%,#cbd8e84a 77.2%,transparent 83%);pointer-events:none}#workspace>.top h1{font-size:clamp(24px,2.5vw,34px);letter-spacing:-.7px;margin:5px 0}#workspace>.top p{margin:4px 0;color:#dbe8f5;overflow-wrap:anywhere}#workspace>.top .eyebrow{font-size:10px;letter-spacing:2px;color:#b5d2ec}#workspace>.top button{color:#0d2c4c;background:linear-gradient(#fff,#d9e3ef);border:1px solid #fff;white-space:nowrap;box-shadow:0 2px 6px #0003}
#workspace>.notice{background:#f5f8fc;border-color:#c7d7e6;color:#425c75;padding:9px 13px;font-size:11px;margin:0}
#workspace>#tabs{grid-row:3/span 2;position:sticky;top:12px;background:linear-gradient(150deg,#102e4e,#071e36);padding:11px;gap:5px;border:1px solid #365674;border-radius:14px;box-shadow:0 8px 18px #152e4926;max-height:calc(100vh - 24px);overflow:auto;flex-wrap:nowrap}
.pp-nav-head{padding:8px 9px 12px;border-bottom:1px solid #7290ae55;color:#c4d8eb;font-size:10px;font-weight:750;letter-spacing:1.3px;margin-bottom:3px}#workspace>#tabs button{display:flex;align-items:center;gap:10px;min-height:44px;flex-shrink:0;font-weight:650;padding:10px 11px;border:1px solid transparent;text-align:left;color:#e8f1fb;white-space:normal;line-height:1.25;background:transparent;box-shadow:none}#workspace>#tabs button:hover{background:#234b70;border-color:#6d8eab55}#workspace>#tabs button.active{background:linear-gradient(160deg,#f6f8fb,#aabed3);border-color:#e7eff8;color:#102d4e;box-shadow:0 3px 7px #0003} .pp-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:inherit}.pp-icon svg{width:19px;height:19px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.pp-nav-text{flex:1;min-width:0}.pp-nav-arrow{opacity:.65;font-size:16px}
#workspace>#status{min-height:0}#workspace>#status:empty{display:none}#workspace>#view{grid-row:3}#workspace>#status:not(:empty)+#view{grid-row:4}#workspace>#status:not(:empty){padding:11px 14px;background:white;border:1px solid var(--pp-border);border-radius:8px}#workspace>#status.error{border-color:#e5a4aa;background:#fff2f2}
.pp-pagehead{display:flex;align-items:center;gap:12px;padding:14px 18px;margin-bottom:12px;border-radius:12px;border:1px solid #b9cbdd;background:linear-gradient(130deg,#fff,#e1eaf4);box-shadow:0 3px 10px #142f5010}.pp-pagehead>.pp-icon{background:linear-gradient(145deg,#326b96,#0d2c4c);border:1px solid #779ab9;color:#e9f3ff;width:43px;height:43px;border-radius:10px;box-shadow:0 3px 7px #12345422}.pp-pagehead .pp-icon svg{width:24px;height:24px}.pp-pagehead strong{display:block;font-size:19px}.pp-pagehead small{display:block;margin-top:3px;color:#536d85;font-size:11px}
#workspace .panel{padding:20px;border:1px solid #c8d6e4;border-radius:13px;box-shadow:0 4px 14px #193b5b0c;background:#fff}#workspace .panel h2{font-size:19px;color:#132f4e;letter-spacing:-.25px}#workspace .panel h3{font-size:15px;color:#20476a}#workspace .panel p{color:#536b82}#workspace .portal-metrics{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}#workspace .portal-metric{position:relative;min-width:0;border:1px solid #c1d0e0;border-radius:11px;padding:15px 13px;min-height:96px;background:linear-gradient(145deg,#fafcff,#dce6f1);box-shadow:inset 0 1px white,0 3px 7px #193b5b12;font-size:12px;font-weight:600;overflow-wrap:anywhere}#workspace .portal-metric:not([class*="wf-"]):nth-child(odd){background:linear-gradient(145deg,#285d87,#0d2e50);color:#e7f1fc;border-color:#91abc4;box-shadow:inset 0 1px #ffffff40,0 3px 8px #193b5b22}#workspace .portal-metric:not([class*="wf-"]):nth-child(odd) b{color:#fff}#workspace .portal-metric b{font-size:clamp(20px,1.75vw,28px);letter-spacing:-.5px;line-height:1.2;margin-top:12px;font-variant-numeric:tabular-nums}#workspace .wf-metrics .portal-metric{box-shadow:inset 0 1px #ffffffaa,0 3px 7px #193b5b12}
#workspace .portal-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}#workspace .portal-shortcuts button{display:flex;align-items:center;gap:12px;text-align:left;min-height:70px;background:linear-gradient(145deg,#285d87,#0d2e50);color:white;border:1px solid #91abc4;border-radius:11px;box-shadow:inset 0 1px #ffffff40,0 3px 8px #193b5b22;padding:12px}#workspace .portal-shortcuts button:hover{background:linear-gradient(145deg,#3676a2,#194c78)}#workspace .portal-shortcuts .pp-icon svg{width:25px;height:25px}
#workspace .tablewrap{border:1px solid #c8d6e4;border-radius:9px;overflow:auto}#workspace table{font-size:12px}#workspace th{background:linear-gradient(#234e73,#163654);color:#f1f6fc;font-size:11px;letter-spacing:.25px;padding:12px 10px}#workspace td{padding:12px 10px;border-color:#dde6ef}#workspace tbody tr:nth-child(even){background:#f5f8fc}#workspace tbody tr:hover{background:#e9f2fa}#workspace input:not([type=checkbox]),#workspace select,#workspace textarea{background:#f8fafc;border:1px solid #b9cadd;border-radius:8px;min-height:40px}#workspace input:focus,#workspace select:focus,#workspace textarea:focus{outline:2px solid #76a8d4;outline-offset:1px}#workspace label{font-size:12px;color:#294866}#workspace button:not(.secondary):not(.danger):not([data-tab]):not(.cr-type){background-color:#174b76;border-radius:8px}#workspace button.secondary{background:linear-gradient(#fff,#e6edf5);border-color:#b9cadd;color:#173a5c}#workspace button.secondary:hover{background:#dce9f5}#workspace .cashpro-tools{display:flex;flex-wrap:wrap;gap:8px}#workspace .cr-type-grid{gap:10px}#workspace .cr-type-grid button{border-color:#b9cadd;min-height:52px}#workspace .cr-type-grid .selected{background:linear-gradient(#2a6089,#123653)}
@media(max-width:1000px){#workspace:not([hidden]){grid-template-columns:200px minmax(0,1fr)}main{padding:16px}#workspace .panel{padding:16px}}@media(max-width:850px){#workspace:not([hidden]){grid-template-columns:minmax(0,1fr);gap:12px}#workspace>#tabs{grid-column:1;grid-row:auto;position:static;max-height:none;flex-direction:row;flex-wrap:nowrap;overflow-x:auto;gap:6px;padding:8px}#workspace>#tabs button{min-width:max-content;max-width:230px;white-space:nowrap}#workspace .pp-nav-head{display:none}#workspace>#status,#workspace>#view,#workspace>#status:not(:empty)+#view{grid-column:1;grid-row:auto}#workspace>.top{padding:16px}#workspace .portal-shortcuts{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}body>header img{width:125px}body>header strong{font-size:18px}body>header small{font-size:10px}}@media(max-width:480px){main{padding:10px}body>header{padding:9px 12px;gap:9px}body>header .spacer{display:none}body>header a,body>header button{font-size:11px;padding:7px 9px}#workspace .panel{padding:12px}#workspace .portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}#workspace .portal-metric{padding:11px 9px;min-height:86px}#workspace>.top h1{font-size:23px}#workspace>.top button{padding:8px;font-size:12px}#workspace .pp-pagehead{padding:10px}}
@media print{body{background:white!important}#workspace:not([hidden]){display:block}#workspace .pp-pagehead{display:none!important}#workspace .panel{box-shadow:none;border:0;padding:0;background:white}#workspace .tablewrap{border:0;overflow:visible}#workspace th{background:#e7edf4!important;color:#142f50!important}#workspace td{background:white!important}#workspace .portal-metric{box-shadow:none!important;background:white!important;color:#142f50!important}#workspace .portal-metric b{color:#142f50!important}}
