:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:#173d4b;background:#f4f7f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer;border:1px solid #d4e1e5;border-radius:10px;padding:11px 15px;background:#fff;color:#175c6b}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #51a5b3;outline-offset:3px}header{display:flex;align-items:center;justify-content:space-between;padding:22px max(20px,calc((100vw - 1120px)/2));background:#163f50;color:#fff}.brand{font-size:26px;font-weight:800;letter-spacing:2px}.brand span{display:block;font-size:9px;letter-spacing:3px;font-weight:500;margin-top:4px}.account{text-align:right;font-size:14px}.account small{display:block;opacity:.7;margin-top:4px}.content{max-width:1160px;padding:26px 20px 110px;margin:auto}.heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}h1{font-size:30px;letter-spacing:-1px;line-height:1.2;margin:8px 0}h2{font-size:18px;margin:25px 0 10px}h3{margin:0;font-size:17px}h4{font-size:13px;margin:0 0 15px}.eyebrow{font-size:10px;letter-spacing:2px;color:#66828b;margin:0}.filters{display:flex;gap:12px;margin:16px 0}.filters label{flex:1}.preview-control{display:flex;align-items:center;gap:14px;max-width:450px}label{font-size:12px;color:#5e7780}input,select{width:100%;padding:12px;border:1px solid #ccdce0;border-radius:9px;background:#fff;color:#173d4b;margin-top:7px;min-height:45px}.sync,.muted{font-size:12px;color:#6c838c;line-height:1.7}.sync{margin:19px 0}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0 28px}.kpi,.panel{background:#fff;border:1px solid #e0e9eb;border-radius:16px;padding:23px;box-shadow:0 4px 15px #163f5004}.kpi{display:flex;flex-direction:column;gap:15px}.kpi span{font-size:12px;line-height:1.5;color:#5d7781}.kpi strong{font-size:29px;letter-spacing:-1px}.kpi small{font-size:10px;color:#789098;line-height:1.5}.people{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.person-head{display:flex;gap:12px;align-items:center}.avatar{background:#e4f1f1;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;font-weight:bold;color:#277b87}.person-head small{font-size:10px;color:#789098}.gross{font-size:30px;letter-spacing:-.8px}.net{display:flex;flex-direction:column;gap:8px;padding:20px 0}.net span{font-size:12px;color:#6c838c}.net strong{font-size:30px;color:#197384;letter-spacing:-1px}.attendance{border-top:1px solid #e5ecef;padding:12px 0}.attendance p,.deposit p{display:flex;justify-content:space-between;gap:10px;font-size:12px;line-height:1.6}.attendance small,.peak small,.deposit small{font-size:10px;color:#758b94;line-height:1.6;display:block}.peak{border-top:1px dashed #d5e0e3;padding:15px 0;display:flex;flex-direction:column;gap:8px}.peak span{font-size:11px;color:#6c838c}.peak b{font-size:17px;color:#5c7c86}.deposit{background:#eff6f5;border:1px solid #d7e7e4;border-radius:11px;padding:16px;margin-top:10px}.deposit>strong{display:block;font-size:24px;margin:16px 0;color:#1c6875}.salary-form button{margin:8px 0 5px;background:#1c6875;color:white;font-size:12px;border:0}.chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:24px}.panel h2{margin:0 0 20px}.bar-label{display:flex;justify-content:space-between;font-size:12px;gap:10px;margin:15px 0 8px}.meter{height:8px;background:#edf2f4;border-radius:9px;overflow:hidden}.meter i{display:block;height:100%;background:#338998;border-radius:9px}.notice{padding:16px;border:1px solid #bfd9de;background:#eaf4f5;border-radius:10px;font-size:12px;line-height:1.7;margin:15px 0}.notice button{margin-top:10px;display:block}.warning{border-color:#e8c992;background:#fff7e6;color:#80601d}.search{display:flex;gap:10px}.search input{flex:1;min-width:0}.search select{width:145px}.surgery{padding:0;margin:12px 0;overflow:hidden}.surgery summary{list-style:none;display:grid;grid-template-columns:55px 1fr auto;gap:13px;align-items:start;padding:19px;cursor:pointer}.surgery summary::-webkit-details-marker{display:none}.surgery h3{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.surgery p{font-size:12px;color:#81959b;margin:7px 0;line-height:1.6}.surgery summary>b{font-size:13px;white-space:nowrap;margin-top:5px}.date{font-size:12px;background:#edf5f5;color:#5d8088;border-radius:12px;padding:12px 8px;text-align:center;line-height:1.6}.surgery p.observations,.observations{color:#b42318;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.surgery>p{padding:0 20px}.surgery dl{padding:0 20px 20px;margin:0}.surgery dl>div{display:grid;grid-template-columns:minmax(105px,35%) 1fr;gap:12px;border-top:1px solid #edf1f2;padding:12px 0;font-size:12px;line-height:1.6}.surgery dt{color:#80959d}.surgery dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.future{font-size:12px;border-top:1px solid #e0e8eb;padding:15px 0;line-height:1.7}.future p{color:#748c96;margin:5px 0}.history{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;border:0;border-bottom:1px solid #e5ecef;border-radius:0;text-align:left;padding:18px 0}.history small{display:block;color:#80969e;margin-top:7px;font-size:11px}footer{color:#84979e;font-size:11px;line-height:1.7;margin-top:25px}footer small{display:block;margin-top:15px}nav{position:fixed;bottom:0;left:0;right:0;display:flex;gap:3px;background:#fff;border-top:1px solid #d9e6e9;padding:9px 15px calc(9px + env(safe-area-inset-bottom));z-index:10;box-shadow:0 -5px 20px #173d4b08}nav button{flex:1;border:0;border-radius:10px;font-size:13px;max-width:220px;margin:auto}nav .active{background:#e5f1f2;color:#196c7c;font-weight:700}.login{max-width:430px;margin:8vh auto;padding:30px 25px}.login h1{font-size:36px}.login>p{font-size:14px;color:#78919a;line-height:1.7}.login .eyebrow{margin-top:45px}.login label{display:block;margin-top:20px}.primary{background:#1b6979;border:0;color:white;width:100%;margin-top:25px;font-weight:600}.error{color:#b42318;font-size:12px;line-height:1.6}.login>small{display:block;text-align:center;color:#90a3aa;margin-top:45px}@media(max-width:800px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.people{grid-template-columns:1fr}.chart-grid{grid-template-columns:1fr}.content{padding:25px 15px 110px}h1{font-size:25px}.heading button{font-size:11px;padding:10px}.kpi{padding:18px}.kpi strong{font-size:26px}.surgery summary{grid-template-columns:47px 1fr auto;gap:10px;padding:16px 12px}.surgery summary>b{font-size:11px}.surgery h3{font-size:12px}.surgery p{font-size:11px}.surgery .observations{font-size:11px}.panel{padding:20px}.surgery{padding:0}}
.donut{width:190px;height:190px;border-radius:50%;margin:15px auto 25px;display:grid;place-items:center}.donut>div{background:white;border-radius:50%;width:145px;height:145px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:8px}.donut small{font-size:10px;color:#789098}.donut b{font-size:20px;letter-spacing:-.5px}
