:root{--navy: #0c1b2e;--navy-2: #13283f;--ink: #122033;--muted: #6d7c8d;--gold: #c4a46a;--gold-soft: #f3e6c8;--blue: #1d4e89;--header: #d7e2ef;--green: #3f6b32;--green-soft: #e7f3df;--red: #b42318;--line: #c9d4e2;--white: #fbfcfe;--card: rgba(255, 255, 255, .94);font-family:Manrope,Segoe UI,sans-serif;color:var(--ink);background:var(--navy)}*{box-sizing:border-box}html,body,#root{margin:0;min-height:100%;min-height:100dvh}html{-webkit-text-size-adjust:100%}body{overscroll-behavior:none}body{background:radial-gradient(900px 420px at 12% -10%,rgba(196,164,106,.18),transparent 55%),radial-gradient(800px 500px at 100% 0%,rgba(61,112,168,.22),transparent 50%),linear-gradient(180deg,#0a1626,#10233a 48%,#0c1b2e)}button,input,select{font:inherit}.app{position:relative;min-height:100vh;min-height:100dvh;padding:22px 24px 40px;padding-top:calc(12px + env(safe-area-inset-top));padding-bottom:calc(28px + env(safe-area-inset-bottom))}.glow{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(255,255,255,.02),transparent 30%)}.topnav{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px;padding:10px 12px 10px 10px;border:1px solid rgba(196,164,106,.22);background:#0a16269e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-radius:18px}.brand{display:flex;gap:12px;align-items:center;color:#f4efe4}.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(180deg,#d8bc7d,#b48c43);color:#1b1408;font-weight:800;letter-spacing:.4px}.brand strong{display:block;font-size:15px}.brand p{margin:2px 0 0;color:#c9b58a;font-size:12px}.header-logout{flex:0 0 auto}.nav-links{display:flex;gap:6px;padding:4px;border-radius:12px;background:#ffffff0a;margin-left:auto}.nav-links button{border:0;background:transparent;color:#d7deea;padding:9px 10px;border-radius:9px;cursor:pointer;font-weight:600}.nav-links button.active{background:linear-gradient(180deg,#f0dfb4,#c9a65d);color:#1b1408}.toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.search{width:230px;border:1px solid #d5deea;background:#fff;border-radius:12px;padding:10px 13px}button.primary,button.ghost,.row-actions button{border:0;border-radius:12px;padding:10px 14px;cursor:pointer}button.primary{background:linear-gradient(180deg,#1f5aa0,#163e70);color:#fff;font-weight:700}button.ghost{background:#ffffffe6;border:1px solid #d3dce8;color:#1d334c}button:disabled{opacity:.45;cursor:not-allowed}.sheet{position:relative;z-index:1;background:var(--card);border:1px solid rgba(255,255,255,.5);box-shadow:0 24px 60px #030a1447,0 1px #ffffffb3 inset;overflow:hidden;border-radius:6px}.sheet .person-card{margin:12px 16px 4px;box-shadow:0 4px 14px #030a1414}.sheet-title{background:linear-gradient(180deg,#1d4f8c,#163e6e);color:#fff;text-align:center;font-family:Cormorant Garamond,Georgia,serif;font-size:40px;font-weight:700;letter-spacing:.3px;padding:18px 16px 16px}.sheet-title p{margin:8px 0 0;font-family:Manrope,Segoe UI,sans-serif;font-size:15px;font-weight:700;letter-spacing:0;opacity:.92}.rate-note{display:block;font-size:11px;color:var(--muted);font-weight:600}.sheet-controls{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px 22px 12px;flex-wrap:wrap}.sheet-controls-center{justify-content:center}.tabs{display:flex;background:#f3f6fa;border-radius:12px;padding:4px}.tabs button{border:0;background:transparent;padding:8px 16px;border-radius:9px;cursor:pointer;color:var(--muted);font-weight:700}.tabs button.active{background:#fff;color:#163e6e;box-shadow:0 1px 6px #10233a14}.selectors{display:flex;gap:18px}.selectors label{display:flex;align-items:center;gap:8px}.selectors span{background:#eef3f8;border:1px solid #d3dbe4;color:#5b6773;border-radius:8px;padding:7px 12px;min-width:86px;text-align:center}.selectors select{appearance:none;background:#1d4e89;color:#fff;border:0;border-radius:8px;min-width:130px;padding:7px 28px 7px 14px;background-image:linear-gradient(45deg,transparent 50%,white 50%),linear-gradient(135deg,white 50%,transparent 50%);background-position:calc(100% - 16px) 12px,calc(100% - 11px) 12px;background-size:5px 5px;background-repeat:no-repeat}.options-page{display:grid;gap:18px}.options-hero{position:relative;z-index:1;display:flex;justify-content:space-between;gap:16px;align-items:end;flex-wrap:wrap;color:#f6f1e6}.eyebrow{margin:0 0 6px;color:var(--gold);letter-spacing:.16em;text-transform:uppercase;font-size:11px;font-weight:700}.options-hero h1,.modal h2{margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:42px;font-weight:700}.table-wrap{overflow:auto;max-height:calc(100vh - 290px);padding:6px 14px 16px}table{border-collapse:collapse;min-width:max-content;width:100%}th,td{border:1px solid var(--line);text-align:center;white-space:nowrap;font-size:13px}th{background:var(--header);color:#243447;font-weight:700;padding:9px 6px;position:sticky;top:0;z-index:2}th.today,td.today{background:#fff4cc}th.count{background:var(--green);color:#fff;min-width:110px}th.actions{min-width:88px;background:#e8eef6}td{padding:0;background:#fff;height:40px}tbody tr:nth-child(2n) td{background:#f7fafc}tbody tr:nth-child(2n) td.today{background:#fff4cc}td.sticky,th.sticky{position:sticky;z-index:3;background:#e8eef6}th.sticky{z-index:5}td.sticky.id,th.sticky.id{left:0;min-width:96px;padding:0 10px}td.sticky.name,th.sticky.name{left:96px;min-width:160px;text-align:left;padding:0 12px}.count-cell{background:var(--green-soft)!important;color:var(--green);font-weight:700;font-size:15px}td.sticky.comm-type,th.sticky.comm-type{left:0;min-width:148px;text-align:left;padding:0 12px}.load-cell{width:100%;min-width:46px;height:40px;border:0;background:transparent;text-align:center;font-weight:800;color:#13283f}.load-amount{width:78px;border:0;background:#13283f;color:#f0dfb4;border-radius:12px;padding:8px 6px;text-align:center;font-weight:800;font-size:22px}.pin-card{max-width:420px;margin:0 auto}.pin-dots{display:flex;justify-content:center;gap:12px;margin:8px 0 4px}.pin-dots span{width:14px;height:14px;border-radius:50%;border:2px solid #c9d4e2;background:transparent}.pin-dots span.on{background:#13283f;border-color:#13283f}.pin-dots.bad span{border-color:#b42318}.pin-dots.bad span.on{background:#b42318;border-color:#b42318}.pin-error{margin:0;text-align:center;color:#b42318;font-weight:700}.empty{padding:28px!important;color:var(--muted)}.mark{width:100%;min-width:42px;height:40px;border:0;background:transparent;cursor:pointer;display:grid;place-items:center}.mark:hover{background:#c4a46a1f}.mark:disabled{opacity:.22;cursor:not-allowed}.mark svg{width:20px;height:20px}.mark-P svg circle{fill:#e8f5e1;stroke:var(--green);stroke-width:1.6}.mark-P svg path{fill:none;stroke:var(--green);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.mark-A svg circle{fill:#fde8e8;stroke:var(--red);stroke-width:1.6}.mark-A svg path{fill:none;stroke:var(--red);stroke-width:2.1;stroke-linecap:round}.dot{width:7px;height:7px;border-radius:50%;background:#d5dee8}.row-actions{padding:0 6px}.row-actions button{padding:4px 8px;margin:0 2px;background:#eef3f8;font-size:12px}.row-actions .danger{color:var(--red)}.modal-bg{position:fixed;inset:0;background:#080e1894;display:grid;place-items:center;padding:20px;z-index:20}.modal{width:min(440px,100%);background:#fffdf8;border-radius:20px;padding:24px;display:grid;gap:12px;border:1px solid rgba(196,164,106,.28);box-shadow:0 24px 60px #080e1847}.modal label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.modal input,.modal select{border:1px solid #d5deea;border-radius:12px;padding:11px 12px;color:var(--ink);background:#fff;width:100%}.range-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pdf-totals{display:grid;grid-template-columns:1fr 1fr;gap:8px}.pdf-totals div{background:#f4f7fb;border-radius:12px;padding:10px 12px}.pdf-totals span{display:block;font-size:11px;color:var(--muted);font-weight:700}.pdf-totals strong{display:block;margin-top:2px;font-size:15px;color:#13283f}.salary-bar{position:relative;z-index:1;margin-bottom:14px}.salary-bar div{background:#fffffff5;box-shadow:0 8px 18px #030a141f}.report-page{position:relative;z-index:1;display:grid;gap:12px}.report-card{background:#fffffff5;border-radius:18px;padding:16px;box-shadow:0 10px 24px #030a1429;display:grid;gap:12px}.report-card h2,.report-card h3{margin:0;color:#13283f}.report-card h2{font-size:28px}.report-card h3{font-size:16px}.report-card label{display:grid;gap:6px;font-size:13px;color:var(--muted)}.report-card input,.report-card select{border:1px solid #d5deea;border-radius:12px;padding:11px 12px;color:var(--ink);background:#fff;width:100%}.report-card .tabs button{flex:1}.report-export{display:flex;flex-wrap:wrap;gap:8px}.report-export button{flex:1 1 140px;min-height:44px}.report-table-wrap{overflow-x:auto}.report-table{width:100%;border-collapse:collapse;font-size:13px}.report-table th,.report-table td{padding:8px 6px;border-bottom:1px solid #e6edf5;text-align:left}.report-table th:not(:first-child),.report-table td:not(:first-child){text-align:right}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:6px}.date-bar{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;color:#f6f1e6}.circle-btn{width:48px;height:48px;border:1px solid rgba(196,164,106,.28);border-radius:50%;background:#ffffff0f;color:#f0dfb4;font-size:28px;line-height:1;cursor:pointer}.date-center{text-align:center}.date-center h1{margin:0;font-family:Cormorant Garamond,Georgia,serif;font-size:34px;font-weight:700}.date-stats{margin:4px 0 0;color:#c9d4e2;font-size:13px}.quick-row{position:relative;z-index:1;display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;margin-bottom:14px;-webkit-overflow-scrolling:touch}.chip{flex:0 0 auto;border:1px solid rgba(196,164,106,.24);background:#ffffff0f;color:#f4efe4;border-radius:999px;padding:9px 14px;font-weight:700;font-size:13px;cursor:pointer}.chip.on{background:linear-gradient(180deg,#f0dfb4,#c9a65d);color:#1b1408;border-color:transparent}.options-tools{position:relative;z-index:1;display:grid;gap:10px;margin-bottom:14px}.options-tools .search,.options-tools .toolbar-actions,.options-tools .toolbar-actions button{width:100%}.day-list{position:relative;z-index:1;display:grid;gap:10px}.person-card{background:#fffffff5;border-radius:18px;padding:14px;box-shadow:0 10px 24px #030a1429}.person-card.mark-P{box-shadow:inset 0 0 0 2px #3f6b32}.person-card.mark-A{box-shadow:inset 0 0 0 2px #b42318}.person-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}.avatar{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#13283f;color:#f0dfb4;font-weight:800}.person-meta{flex:1;min-width:0}.person-meta strong{display:block;font-size:16px}.person-meta p{margin:2px 0 0;color:var(--muted);font-size:12px}.text-btn{border:0;background:transparent;color:#1d4e89;font-weight:700;cursor:pointer}.card-actions{display:flex;gap:8px}.pay-open{width:100%;border:0;background:transparent;text-align:left;padding:0;cursor:pointer;color:inherit}.add-pay{background:#13283f;color:#f0dfb4;border-radius:12px;padding:8px 12px;font-weight:800}.pay-chips{display:flex;flex-wrap:wrap;gap:6px}.pay-chip{border:0;border-radius:999px;padding:7px 10px;font-weight:700;font-size:12px;cursor:pointer}.pay-chip.advance{background:#fff4cc;color:#7a5b12}.pay-chip.salary{background:#e7f3df;color:#3f6b32}.pay-empty{margin:0;color:var(--muted);font-size:13px}.pay-sheet .pay-amount{margin:0;font-size:40px;font-weight:800;color:#13283f}.quick-amounts{display:flex;flex-wrap:wrap;gap:6px}.chip-light{border:1px solid #d3dce8;background:#f4f7fb;color:#1d334c;border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer}.keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.key{min-height:52px;border:0;border-radius:14px;background:#eef3f8;color:#122033;font-weight:800;cursor:pointer}.status-btn.salary-on{background:#1d4e89;border-color:#1d4e89;color:#fff}.status-btn:disabled{opacity:.4}.status-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.status-btn{min-height:48px;border:1px solid #d3dce8;border-radius:14px;background:#f4f7fb;color:#1d334c;font-weight:800;cursor:pointer}.status-btn.present.on{background:#3f6b32;border-color:#3f6b32;color:#fff}.status-btn.absent.on{background:#b42318;border-color:#b42318;color:#fff}.empty-card{background:#ffffffeb;border-radius:16px;padding:28px 16px;text-align:center;color:var(--muted)}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.machine-add{display:flex;gap:8px;align-items:center}.machine-add input{flex:1;min-height:44px;border:1px solid #d5deea;border-radius:12px;padding:0 12px}.fill-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.fill-btn{min-height:88px;border:0;border-radius:18px;background:#fffffff5;box-shadow:0 10px 24px #030a1429;display:grid;place-items:center;gap:4px;padding:12px 8px;cursor:pointer}.fill-btn strong{font-size:18px}.fill-btn span{color:var(--muted);font-size:13px;font-weight:700}.fill-btn:disabled{opacity:.5}.fill-btn.on{background:#fff6d8;box-shadow:0 0 0 3px #c9a65d,0 10px 24px #030a1429}.hire-grid{grid-template-columns:1fr 1fr;margin:10px 0}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-card{display:grid;gap:8px;background:#fffffff5;border-radius:18px;padding:12px;color:#122033}.photo-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-card strong{font-size:15px}.photo-x{width:32px;height:32px;border:0;border-radius:999px;background:#c0392b;color:#fff;font-size:22px;line-height:1;font-weight:800;cursor:pointer}.op-date{display:grid;gap:6px;color:#d7deea;font-weight:700}.op-date input{min-height:46px;border:0;border-radius:14px;padding:0 12px}.photo-shot{position:relative;min-height:140px;border-radius:14px;background:#eef3f8;display:grid;place-items:center;overflow:hidden;cursor:pointer}.photo-shot img{width:100%;height:140px;object-fit:cover}.photo-shot span{color:#5d6d80;font-weight:700;text-align:center;padding:12px}.photo-shot input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-card input[inputmode=decimal]{min-height:42px;border:1px solid #d5deea;border-radius:12px;padding:0 10px}.op-total{margin:8px 0 0;color:#f4efe4;font-weight:800;text-align:center}.pending-hour{display:grid;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e4ebf3}.pending-hour p{margin:0;color:#3d4d60;font-weight:700}.machine-mini{display:flex;justify-content:space-between;align-items:center;color:#d7deea;font-size:13px}.machine-mini p{margin:0}.person-card .machine-mini{color:#3d4d60}.hire-names{margin:8px 0 0;color:#3d4d60;font-size:13px;font-weight:700}.hour-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:end;margin-top:10px}.hour-save{width:100%;margin-top:10px;min-height:44px}.hour-row label{display:grid;gap:4px;font-size:12px;color:var(--muted)}.hour-row input{min-height:42px;border:1px solid #d5deea;border-radius:12px;padding:0 10px}.bottom-nav,.more-bg,.more-sheet{display:none}.danger-full{color:var(--red)}.mobile-only{display:none}@media(max-width:800px){html,body{overflow-x:hidden}.sheet-title,.options-hero h1,.modal h2,.report-card h2{font-size:22px}.date-center h1{font-size:20px;line-height:1.15}.date-year{display:none}.date-center .eyebrow{margin-bottom:2px;letter-spacing:.08em}.date-stats{display:none}.date-bar{gap:8px;margin-bottom:8px}.circle-btn{width:40px;height:40px;font-size:24px;flex:0 0 auto}.quick-row{margin-bottom:10px}.app{padding:8px 10px calc(78px + env(safe-area-inset-bottom));overflow-x:hidden}.search,.toolbar-actions,.toolbar-actions button{width:100%}.topnav{margin-bottom:8px;gap:8px;padding:8px}.brand{gap:8px;min-width:0}.brand-mark{width:36px;height:36px;border-radius:11px;font-size:13px}.brand strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header-logout{padding:7px 10px;font-size:12px}.desktop-only{display:none}.mobile-only,.bottom-nav{display:flex}.bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:12;justify-content:space-around;gap:6px;padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#0a1626f5;border-top:1px solid rgba(196,164,106,.2);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav button{flex:1;border:0;background:transparent;color:#c9d4e2;font-weight:800;min-height:48px;border-radius:14px;font-size:13px;padding:0 4px}.bottom-nav button.active{background:linear-gradient(180deg,#f0dfb4,#c9a65d);color:#1b1408}.more-bg{display:flex;position:fixed;inset:0;z-index:20;background:#060c168c;align-items:flex-end}.more-sheet{display:grid;width:100%;gap:8px;background:#102033;border-radius:20px 20px 0 0;padding:16px 14px calc(16px + env(safe-area-inset-bottom));color:#f4efe4;box-shadow:0 -12px 32px #00000047}.more-sheet p{margin:0 4px 4px;color:#c9b58a;font-size:12px;font-weight:800}.more-sheet button{min-height:50px;border:0;border-radius:14px;background:#ffffff14;color:#f4efe4;font-weight:800;font-size:16px}.more-sheet button.on{background:linear-gradient(180deg,#f0dfb4,#c9a65d);color:#1b1408}.chip-row{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:2px}.tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.tabs button{flex:1 0 auto;padding:8px 12px;font-size:13px}.sheet-controls,.selectors{gap:10px;padding:12px}.selectors{width:100%;flex-wrap:wrap}.selectors select{min-width:0;flex:1}.person-top{gap:8px}.load-amount{width:64px;font-size:18px;padding:6px 4px}.fill-grid{gap:6px}.machine-add{flex-wrap:wrap}.machine-add input,.machine-add button{width:100%}.options-hero{gap:8px}.table-wrap{max-height:calc(100dvh - 360px);padding:0 0 12px}.hour-row{grid-template-columns:1fr 1fr}.hour-row label:last-child{grid-column:1 / -1}.fill-btn{min-height:76px}.fill-btn strong{font-size:16px}.mark{min-width:46px;height:46px}td.sticky.name,th.sticky.name{left:78px;min-width:120px}td.sticky.id,th.sticky.id{min-width:78px}.modal{width:100%;border-radius:20px 20px 0 0;margin-top:auto}.modal-bg{align-items:end;padding:0}input,select,button{font-size:16px}}
