:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#25374c;background:#f4f6f9;font-synthesis:none;--green:#0057a6;--muted:#7b8899;--line:#e5eaf0;--red:#c65151;--purple:#9167bc}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;vertical-align:middle;flex:none}button{border:0;background:none;color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;letter-spacing:-1px;font-weight:650}h2{font-size:17px;letter-spacing:-.3px;font-weight:650}h3{font-size:15px}small,.muted{color:var(--muted)}small{font-size:12px}.shell{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#002c54;color:#e5edf6;display:flex;flex-direction:column;padding:30px 19px}.brand{display:flex;gap:11px;align-items:center;padding:0 13px 38px}.brand-icon{width:37px;height:37px;background:#dbeafe;color:#002c54;border-radius:10px;display:grid;place-items:center}.brand strong{font-size:24px;letter-spacing:2px}.brand small{color:#86a4c1;display:block;font-size:11px;letter-spacing:1.8px;margin-top:3px}.nav-label{padding:0 15px 12px;font-size:11px;letter-spacing:1.7px;color:#779abb}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:13px;text-align:left;padding:13px 15px;border-radius:7px;font-size:13px;color:#a7bfd5}.nav button:hover{background:#073c69}.nav button.active{background:#0057a6;color:#fff}.nav .badge{margin-left:auto;background:#dbeafe;color:#0057a6;border-radius:5px;padding:2px 6px;font-size:11px}.system-card{margin-top:auto;padding:17px 13px 20px;border-bottom:1px solid #17466e}.system-card p{font-size:12px;margin-bottom:9px}.system-card small{color:#86a4c1;line-height:1.7}.dot{display:inline-block;width:6px;height:6px;background:#91b783;border-radius:50%;margin-right:7px}.dot.amber{background:#d8ae68}.side-user{display:flex;align-items:center;gap:11px;padding:23px 9px 0}.avatar{height:34px;width:34px;display:grid;place-items:center;border-radius:50%;background:#eaf0f7;color:#49617d;font-size:12px;font-weight:650}.side-user .avatar{background:#174b79;color:#d7eaff}.side-user strong{font-size:12px;font-weight:500}.side-user small{color:#89a9c6;display:block;margin-top:4px;font-size:11px}.main{grid-column:2;min-width:0}.topbar{height:75px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 37px;background:#fff;gap:12px;font-size:12px}.crumb{color:#8797aa;display:flex;align-items:center;gap:11px}.crumb strong{color:#344f70;font-weight:500}.top-right{display:flex;gap:19px;align-items:center}.preview-badge{border:1px solid #ead9b7;background:#fff9ee;color:#96712f;border-radius:5px;font-size:11px;padding:5px 8px}.content{padding:32px 37px;max-width:1700px;margin:auto}.title-row{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:27px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:10px;font-weight:650;color:#8a99ab;margin-bottom:8px}.subtitle{color:#8090a5;font-size:12px;margin-top:10px;line-height:1.6}.btn{border:1px solid #dce4ee;background:#fff;border-radius:6px;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:500;white-space:nowrap;min-height:38px}.btn svg{height:15px;width:15px}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn:hover{filter:brightness(.96)}.btn.danger{color:var(--red)}.actions{display:flex;gap:9px;align-items:center}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.stat{border:1px solid var(--line);background:#fff;border-radius:9px;padding:19px 20px;position:relative;min-height:130px}.stat label{font-size:12px;color:#8493a6}.stat .stat-icon{position:absolute;top:17px;right:18px;color:#8195ad;background:#eef3fa;padding:8px;border-radius:8px}.stat .stat-icon svg{width:15px;height:15px}.stat .value{font-size:30px;font-weight:600;letter-spacing:-1px;margin:15px 0 7px;line-height:1}.stat .value span{font-size:14px;color:#98a5b6;font-weight:400;letter-spacing:0}.stat p{font-size:11px;color:#8a9aad}.stat p em{font-style:normal;color:#0057a6}.card{background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;gap:14px}.card-head p{font-size:12px;color:#8b9bae;margin-top:6px}.period-toggle{display:flex;gap:3px;background:#f0f4f9;border:1px solid #e8edf4;padding:3px;border-radius:6px}.period-toggle button{font-size:11px;padding:6px 12px;color:#8191a4;border-radius:4px}.period-toggle .selected{background:#fff;box-shadow:0 1px 3px #142f1812;color:#375574}.toolbar{display:flex;gap:10px;align-items:center;padding:0 23px 18px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:0 10px;border-radius:5px;height:35px;min-width:200px}.search svg{width:14px;height:14px;color:#97a193}.search input{border:0;min-width:0;width:175px;font-size:12px;background:transparent;padding:8px 0}.toolbar input[type=date],.toolbar select{font-size:11px;border:1px solid var(--line);background:#fff;border-radius:5px;height:35px;padding:0 9px;color:#73816f}.legend{display:flex;align-items:center;gap:13px;font-size:10px;margin-left:auto;white-space:nowrap;color:#8797a9}.legend i{display:inline-block;height:6px;width:6px;border-radius:50%;margin-right:5px}.legend .red{background:#d17575}.legend .green{background:#79a977}.legend .purple{background:#a682c7}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;white-space:nowrap;text-align:left}thead{background:#f8fafd;border-top:1px solid #eef1f6;border-bottom:1px solid #e9eef4}th{font-size:10px;letter-spacing:.4px;color:#8d9bb0;font-weight:500;padding:12px 17px}th:first-child,td:first-child{padding-left:23px}td{font-size:12px;padding:15px 17px;border-bottom:1px solid #eef2f6;color:#687b91}tbody tr:last-child td{border-bottom:0}.employee-cell{display:flex;align-items:center;gap:11px}.employee-cell strong{font-size:12px;color:#30465f;font-weight:550;display:block}.employee-cell small{font-size:10px;display:block;margin-top:4px;color:#98a190}.employee-link{text-align:left}.employee-link:hover strong{text-decoration:underline}.employee-cell .avatar{height:33px;width:33px;font-size:11px;border-radius:9px;background:#edf1e8}.employee-cell .av1{background:#f4ede3;color:#9d8758}.employee-cell .av2{background:#e9edf2;color:#678195}.employee-cell .av3{background:#eee8f2;color:#937aa6}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:4px;font-size:10px;font-weight:500}.status.under{background:#fcf0ed;color:#c66e62}.status.normal{background:#edf5e9;color:#78a367}.status.over{background:#f2eaf9;color:#a07aba}.status.review{background:#fff5df;color:#b59243}.status.neutral{background:#f0f3ed;color:#84917b}.duration{font-size:12px;font-weight:600;color:#3b5576}.duration.under{color:#c86c61}.duration.over{color:#a17cbb}.duration.normal{color:#76a264}.progress{height:3px;width:75px;border-radius:3px;background:#edf1e8;margin-top:6px;overflow:hidden}.progress i{display:block;height:100%;background:currentColor}.balance{font-variant-numeric:tabular-nums;font-size:11px}.online{color:#80a36b;font-size:10px}.table-footer{padding:14px 23px;border-top:1px solid var(--line);font-size:10px;color:#9ba390;display:flex;justify-content:space-between}.bottom-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;margin-top:23px}.chart-body{display:flex;gap:18px;padding:0 24px 18px;align-items:flex-end;height:175px}.axis{height:135px;display:flex;flex-direction:column;justify-content:space-between;color:#a4ad9c;font-size:8px;padding-bottom:19px}.bars{display:flex;gap:18px;align-items:flex-end;justify-content:space-around;flex:1;height:145px;border-bottom:1px solid #e9eff6;background:repeating-linear-gradient(to top,transparent 0,transparent 32px,#eff3f8 33px,#eff3f8 34px)}.bar-column{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;width:100%;height:100%;position:relative;gap:7px}.bar-column i{display:block;width:66%;max-width:38px;background:#b8d2ed;border-radius:4px 4px 0 0;min-height:0}.bar-column.current i{background:#0057a6}.bar-column span{font-size:8px;color:#9aa48e;position:absolute;bottom:-15px}.bar-column b{font-weight:500;font-size:8px;color:#6484ab}.chart-foot{padding:17px 24px 19px;display:flex;justify-content:space-between;font-size:10px;color:#99a38c;border-top:1px solid #eef3f9}.event-list{padding:0 21px 5px}.event-item{display:flex;align-items:center;gap:11px;padding:13px 0;border-top:1px solid #eff2ea}.event-icon{height:29px;width:29px;display:grid;place-items:center;border-radius:7px;background:#f0f5eb;color:#759c65}.event-icon.out{background:#f4f0e8;color:#b29c6a}.event-icon svg{width:14px;height:14px}.event-text{flex:1}.event-text strong{font-size:11px;font-weight:500;color:#526b89}.event-text p{font-size:8px;color:#a0a78f;margin-top:4px}.event-time{font-size:10px;color:#839275;font-variant-numeric:tabular-nums}.photo-btn{color:#9cab8b;min-height:28px;min-width:28px}.photo-btn svg{height:15px;width:15px}.text-btn{font-size:11px;color:#0057a6;display:flex;align-items:center;gap:5px}.text-btn svg{height:12px;width:12px}.footer{margin-top:23px;display:flex;justify-content:space-between;color:#a0a994;font-size:10px}.empty{padding:50px;text-align:center;font-size:12px;line-height:1.8;color:#8c9a83}.notice{padding:13px 16px;background:#f3f7fc;border:1px solid #e2eaf5;border-radius:6px;font-size:12px;line-height:1.7;color:#6e86a3;margin-bottom:20px}.notice.warn{background:#fff8eb;border-color:#f0e2c5;color:#ad8b4a}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-body{padding:0 23px 23px;display:grid;gap:17px}.field{display:grid;gap:7px;font-size:12px;color:#647d9c}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe7f0;padding:10px;border-radius:5px;background:#fff;color:#3b5475;min-height:39px;font-size:12px}.field textarea{min-height:80px;resize:vertical}.field small{line-height:1.6;font-size:10px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;align-items:center;gap:9px;font-size:12px}.check input{accent-color:#0057a6;width:16px;height:16px}.settings-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:21px}.big-number{font-size:40px;letter-spacing:-1.5px;color:#0057a6}.integration-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-top:1px solid #e9eff6;font-size:12px}.integration-row p{color:#9aa48e;font-size:10px;margin-top:6px}dialog{border:1px solid #dce5f0;border-radius:13px;max-width:680px;width:calc(100% - 32px);padding:0;color:#36516e;box-shadow:0 30px 100px #0e291c35;background:#fff}dialog::backdrop{background:#0c244970;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.modal-head button{font-size:24px;color:#8b9b7d}.modal-content{padding:0 24px 24px}.modal-content .form-body{padding:0}.modal-content .actions{margin-top:22px;justify-content:flex-end}.modal-content img{display:block;max-width:100%;height:auto;border-radius:5px}.detail-summary{display:flex;gap:35px;margin-bottom:24px}.detail-summary small{display:block;margin-bottom:6px}.detail-summary strong{font-size:22px}.timeline{display:grid;gap:10px}.timeline-item{border:1px solid var(--line);border-radius:5px;padding:12px;display:flex;align-items:center;gap:10px;font-size:12px}.timeline-item .muted{margin-left:auto}.login{min-height:100vh;display:grid;place-items:center;background:#002c54;padding:24px}.login-box{max-width:380px;background:#fff;padding:36px;border-radius:12px;width:100%}.login-box h1{font-size:25px;margin-bottom:8px}.login-box .subtitle{margin-bottom:28px}.login-box .btn{width:100%;margin-top:24px}.login-box .field{margin-bottom:15px}.login-error{color:#c36f59;font-size:12px;margin-top:12px;line-height:1.6}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;gap:20px;font-size:30px;color:#274e35}.boot span{font-size:13px;color:#85957b}#toast{position:fixed;right:28px;bottom:25px;background:#0057a6;color:#fff;border-radius:7px;padding:14px 20px;box-shadow:0 8px 30px #173e7526;font-size:12px;max-width:min(480px,calc(100% - 40px));z-index:10;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:none}#toast.error{background:#a14e42}.subnav{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:24px}.subnav button{font-size:12px;color:#8d9b82;padding:0 3px 13px}.subnav .active{color:#0057a6;border-bottom:2px solid #0057a6}.report-options{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:23px}.report-option{padding:24px}.report-option svg{color:#7e9b6c;margin-bottom:18px}.report-option p{font-size:11px;color:#96a08b;line-height:1.7;margin:9px 0 20px}.red-text{color:#c47563}.voided{opacity:.45;text-decoration:line-through}.photo-state{font-size:10px;color:#9aa38c}.mobile-menu{display:none}
@media(min-width:1500px){.content{padding-top:38px}.stat{min-height:146px}td{padding-top:19px;padding-bottom:19px}.chart-body{height:190px}}@media(max-width:1150px){.shell{grid-template-columns:200px 1fr}.sidebar{width:200px;padding-left:13px;padding-right:13px}.content{padding:25px}.topbar{padding:0 25px}.stats{gap:10px}.stat{padding:17px 14px}.stat .stat-icon{right:12px}.legend{display:none}.bottom-grid{gap:15px;grid-template-columns:1fr 1fr}.chart-body{gap:10px}.bars{gap:10px}.toolbar{padding-left:18px;padding-right:18px}.top-right>.muted{display:none}}@media(max-width:850px){.shell{grid-template-columns:78px 1fr}.sidebar{width:78px;padding:25px 12px}.brand{padding:0 8px 30px}.brand-icon{width:37px}.brand>div:last-child,.nav-label,.nav button span,.nav button .badge,.system-card,.side-user{display:none}.nav button{justify-content:center;padding:15px}.nav button svg{width:20px;height:20px}.content{padding:24px 19px}.topbar{padding:0 19px}.stats{grid-template-columns:1fr 1fr}.bottom-grid,.settings-grid{grid-template-columns:1fr}.title-row{align-items:flex-start}h1{font-size:25px}.title-row .actions{flex-wrap:wrap;justify-content:flex-end}.report-options{gap:10px}.report-option{padding:18px}}@media(max-width:520px){.shell{grid-template-columns:1fr}.sidebar{position:sticky;top:0;z-index:4;inset:auto;width:100%;height:59px;flex-direction:row;padding:6px 12px;gap:9px}.brand{padding:0 8px 0 0}.brand-icon{height:31px;width:31px}.nav{display:flex;flex:1;justify-content:space-around;gap:2px}.nav button{padding:11px}.main{grid-column:1}.topbar{height:49px;padding:0 15px;font-size:11px}.top-right{gap:8px}.preview-badge{font-size:8px}.content{padding:24px 14px}.title-row{margin-bottom:20px;gap:8px;flex-wrap:wrap}.title-row .actions{margin-top:5px}.subtitle{font-size:12px}.stats{gap:9px}.stat{min-height:125px;padding:15px 13px}.stat .value{font-size:27px}.stat .stat-icon{top:14px;right:12px;padding:6px}.stat label{font-size:11px}.stat p{font-size:10px}.toolbar{padding:0 15px 14px}.search{flex:1;min-width:180px}.search input{width:100%}.card-head{padding:19px 15px;align-items:flex-start;flex-wrap:wrap}h2{font-size:15px}.period-toggle button{padding:6px 10px}.footer{font-size:8px;gap:10px}.report-options{grid-template-columns:1fr}.report-option p{margin-bottom:14px}.report-option svg{margin-bottom:10px}.two-fields{grid-template-columns:1fr}.legend{gap:8px}.modal-head{padding:20px}.modal-content{padding:0 19px 22px}.table-footer{padding:14px 15px}.detail-summary{gap:20px}.detail-summary strong{font-size:19px}}

/* Original PTS logo and verified blue/red palette from rafallitwinski.pl. */
.brand{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:0 13px 36px}.brand img{width:180px;height:auto;display:block;background:#fff;padding:9px 7px;border-radius:4px;margin-bottom:22px;box-sizing:content-box}.brand .brand-name{font-size:18px;font-weight:550;line-height:1.25;letter-spacing:-.3px;color:#fff}.brand small{font-size:9px;letter-spacing:.3px;color:#88aacb;margin-top:9px}.credit{font-weight:400;color:#0057a6;display:inline-block;margin-left:8px}.login-logo{width:100%;max-width:280px;margin:0 0 27px}.login-credit{text-align:center;font-size:10px;color:#879bb6;margin-top:25px}.login-box h1{font-size:24px}.sidebar{border-top:3px solid #d22e12}.login{border-top:4px solid #d22e12}.status.under{color:#bd4d43;background:#fff0ee}.status.normal{color:#4d8e48;background:#eef7ec}.status.over{color:#8860ae;background:#f3ecfb}.duration.under{color:#c15d50}.duration.normal{color:#5c9950}.duration.over{color:#9167b7}.subtitle{line-height:1.65}.stat .value{font-size:29px}.chart-foot,.table-footer,.footer{font-size:10px}.footer{line-height:1.6;align-items:flex-start;gap:20px}.login-box{max-width:410px}
@media(max-width:1150px){.brand{padding-left:7px;padding-right:7px}.brand img{width:150px}}@media(max-width:850px){.brand{padding:0 3px 23px}.brand img{width:42px;height:36px;object-fit:cover;object-position:left;padding:3px;margin-bottom:0}.brand .brand-name,.brand small{display:none}.credit{display:block;margin-left:0}}@media(max-width:520px){.brand{padding:0 7px 0 0;justify-content:center}.brand img{width:35px;height:31px;padding:2px;margin:0}.sidebar{border-top-width:2px}.footer{display:block}.footer>span{display:block;margin-top:9px}}

.provider-credit{display:inline-flex;align-items:center;gap:7px;vertical-align:middle}.provider-logo{display:inline-block;width:136px;height:auto;vertical-align:middle}.brand small .provider-logo{display:block;width:138px;height:auto;max-width:none;margin:0;padding:4px 6px;background:#fff;border-radius:3px;box-sizing:content-box}.brand small .provider-credit{gap:6px;letter-spacing:0}.login-credit .provider-logo{width:160px}.footer .provider-logo{width:132px}@media(max-width:850px){.brand small{display:none}}
