:root{--nav:#2c3e50;--teal:#18b99e;--blue:#287eae;--text:#344653;--muted:#667682;--line:#d2d7da;--bg:#f5f5f5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-family:"Arial Narrow",Arial,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--nav);background:var(--nav);color:white;padding:10px 19px;border-radius:5px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}button:hover,.button:hover{filter:brightness(1.1)}button:disabled{opacity:.5;cursor:wait}.secondary{background:#fff;color:var(--nav);border-color:#b5c3cb}.ghost{border:0;background:transparent;color:inherit;padding:7px 12px;font-size:23px}.link{border:0;background:none;color:var(--blue);padding:0;justify-content:start;text-align:left}a{color:var(--blue)}header{height:72px;background:var(--nav);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:fixed;inset:0 0 auto 0;z-index:5;border-bottom:2px solid white}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:#eee;font-size:21px}.brandmark{width:42px;height:42px;border:3px solid #f0a348;border-radius:12px;display:inline-grid;place-items:center;color:#f0a348;font-size:29px;font-weight:700}.brand small{font-size:17px;font-weight:400}.account{text-align:right;font-size:14px}.account small{display:block;font-size:11px;margin-top:6px;color:#d0d7db}aside{width:245px;background:var(--nav);position:fixed;top:72px;bottom:0;left:0;color:white;overflow:auto}nav a,.nav-button{width:100%;min-height:91px;display:flex;align-items:center;gap:16px;padding:20px;border-radius:0;border:0;border-bottom:1px dashed #afbac3;color:#eee;text-decoration:none;font-size:13px;text-transform:uppercase;justify-content:flex-start;background:transparent}nav a:hover,.nav-button:hover{background:#354e64}nav svg{width:30px;height:30px;stroke:#42b9e3;fill:none;stroke-width:3;flex-shrink:0}#content{margin:72px 0 0 245px;padding:38px 42px 60px;min-height:calc(100vh - 72px)}h1,h2,h3{font-weight:400;line-height:1.3}h1{font-size:25px;margin:12px 0 28px}h2{font-size:21px}h3{font-size:17px}.welcome{text-align:center;font-stretch:condensed;font-size:24px;margin:21px 0 46px}.cards{display:grid;grid-template-columns:repeat(4,minmax(155px,212px));gap:12px 15px;justify-content:center}.module-card{min-height:212px;background:white;border:1px solid #ccc;border-radius:11px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:25px 18px;color:#3c4b54;text-decoration:none;text-align:center;font-size:18px;line-height:1.3;box-shadow:0 0 2px #ddd}.module-card:hover{border-color:var(--teal);box-shadow:0 4px 15px #2c3e5012;transform:translateY(-2px)}.module-card svg{width:70px;height:70px;stroke:#378db6;fill:#eff8fc;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.module-card:nth-child(3n) svg{stroke:#344653;fill:#ffefbd}.module-card:nth-child(4n) svg{stroke:#344653;fill:#f2c2b9}.cards>.module-card:nth-child(9):nth-last-child(2){grid-column:2}.development{text-align:center;font-size:12px;color:var(--muted);margin-top:32px}.panel{background:white;border:1px solid var(--line);border-radius:6px;padding:25px;margin:20px 0}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-head h1{margin:10px 0}.client-picker{display:flex;align-items:flex-end;gap:12px;margin:25px 0}.client-picker label{flex:1;max-width:650px}.client-picker button{margin-bottom:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 25px}label{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;font-size:14px}input,select,textarea{width:100%;border:1px solid #bac6ce;background:#fff;padding:10px 11px;border-radius:3px;min-height:40px;color:var(--text)}input:focus,select:focus,textarea:focus{outline:2px solid #279ac352;outline-offset:1px}textarea{resize:vertical;min-height:90px}label.check{flex-direction:row;align-items:center;margin:10px 0}input[type=checkbox]{width:18px;min-height:18px}.toolbar,.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:18px 0}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.dialog-head h2{margin:5px 0 22px}.dialog-head .ghost{align-self:flex-start}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th{text-align:left;background:var(--teal);color:white;font-weight:600;padding:13px 10px;white-space:nowrap}td{padding:12px 10px;border-bottom:1px solid #e1e7eb;vertical-align:middle}tr:nth-child(even) td{background:#f6f9fa}td small{display:block;margin-top:7px}.row-actions{display:flex;gap:7px;flex-wrap:wrap}.row-actions button{font-size:12px;padding:7px 9px}.warning{color:#9e5c11}.notice{border:1px solid #e7cb92;background:#fff9eb;color:#735723;padding:14px 17px;line-height:1.5;font-size:13px;border-radius:4px;margin:20px 0}.empty{text-align:center;padding:50px;color:var(--muted);border:1px dashed #bbc6ce;background:white}.search{max-width:550px;margin:25px 0}details{margin:25px 0;padding:20px;border:1px solid var(--line);background:white}summary{cursor:pointer}.steps{list-style:none;display:flex;justify-content:center;padding:15px;gap:35px;color:var(--muted)}.steps li{padding:10px;border-bottom:3px solid var(--teal)}dialog{width:min(1050px,95vw);border:1px solid var(--line);border-radius:7px;padding:28px;max-height:93vh;color:var(--text)}dialog::backdrop{background:#102332a6}.editable input{min-width:100px;padding:8px;font-size:13px}.editable td{padding:6px}.editable input[type=text]{min-width:180px}.salary-list{max-height:380px;margin:25px 0}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:25px 0}.summary-grid div{padding:20px;background:#f4f9fb;border-top:3px solid var(--teal)}.summary-grid span{display:block;color:var(--muted);font-size:13px;margin-bottom:12px}.summary-grid strong{font-size:24px;font-weight:400}.report{padding:30px}.report h1{margin-top:0}.muted{color:var(--muted);font-size:12px}.prewrap{white-space:pre-wrap}.help{line-height:1.7}.help h2{color:var(--nav);margin-top:30px}.mobile-menu{display:none}.auth{display:grid;place-items:center;min-height:100vh;background:var(--nav)}.login{width:min(440px,94vw);padding:35px;margin:30px auto}.login h1{margin:20px 0 10px}.login p{color:var(--muted);line-height:1.5}.login form{margin-top:25px}.login button{width:100%;margin:10px 0 20px}.error{color:#a12828}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#204e48;color:white;padding:14px 24px;border-radius:6px;z-index:100;max-width:90vw;display:none;box-shadow:0 4px 20px #0003}#toast.show{display:block}#toast.error{background:#8e3030;color:white}dt{font-size:12px;color:var(--muted);margin-top:20px}dd{margin:8px 0;font-size:18px}@media(max-width:1150px){#content{padding:25px}.cards{grid-template-columns:repeat(3,minmax(150px,1fr))}.cards>.module-card:nth-child(9):nth-last-child(2){grid-column:auto}.module-card{min-height:190px}.brand small{display:none}.summary-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){header{padding:0 12px;height:64px}.brand{font-size:20px;gap:10px}.brandmark{width:35px;height:35px;font-size:23px}.account{font-size:11px}.account small{font-size:10px}.mobile-menu{display:block}aside{top:64px;transform:translateX(-100%);z-index:10;transition:transform .15s}.menu-open aside{transform:none}#content{margin:64px 0 0;padding:20px 15px 45px}.welcome{font-size:20px;margin:20px 0 28px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-card{min-height:175px;padding:20px 10px;font-size:16px;gap:15px}.module-card svg{width:55px;height:55px}.form-grid{grid-template-columns:1fr;gap:3px}.client-picker{gap:8px;align-items:stretch}.client-picker label{margin:0;min-width:0}.client-picker button{align-self:flex-end;padding:10px;font-size:12px}.panel{padding:16px}.page-head{align-items:flex-start;flex-direction:column;gap:5px}.summary-grid{grid-template-columns:1fr 1fr;gap:8px}.summary-grid div{padding:12px}.summary-grid strong{font-size:19px}.steps{font-size:12px;gap:5px;padding:0}.steps li{padding:8px}.actions{gap:7px}dialog{padding:18px;max-height:95vh}h1{font-size:23px}table{font-size:12px}.table-wrap th,.table-wrap td{min-width:95px}.report{padding:16px}}@media print{header,aside,.no-print,#toast,dialog,.client-picker{display:none!important}body{background:white;color:black}#content{margin:0;padding:0}.panel{border:0;padding:0}.notice{background:white;border:1px solid #777}.table-wrap{overflow:visible}table{font-size:9px}th{color:black;background:#ddd;white-space:normal}th,td{padding:5px!important;min-width:0!important}tr{break-inside:avoid}.summary-grid{grid-template-columns:repeat(3,1fr)}.summary-grid div{padding:10px}.summary-grid strong{font-size:16px}@page{size:A4 landscape;margin:12mm}}

.data-graph{display:block;min-width:800px;width:100%;font-family:Arial,sans-serif;font-size:12px}.salary-graph{width:auto;max-width:none}.graph-period{fill:#287eae}.graph-open{fill:#e9f6fb;stroke:#287eae;stroke-width:2;stroke-dasharray:5 3}.graph-salary{fill:#148572}.graph-axis{stroke:#687b87;stroke-width:1}

[hidden]{display:none!important}.rule-result{border:1px solid #d2d7da;border-left:4px solid #287eae;padding:18px;margin:15px 0;break-inside:avoid}.rule-status{font-weight:bold}.rule-progress{width:min(100%,500px);height:16px}.rule-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.rule-metrics dt{margin:8px 0}.rule-metrics dd{font-size:15px}.assessment h2{color:#0066cc}@media(max-width:600px){.rule-metrics{grid-template-columns:1fr}}

.salary-grid input{width:105px;min-width:105px;font-size:12px;padding:8px}.salary-grid th{position:sticky;top:0}.salary-grid td{padding:5px}
