:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17211f;background:#f4f6f5;font-synthesis:none;--green: #155c50;--green-dark: #123b36;--green-light: #e3f0ec;--line: #dce3e0;--muted: #65716e;--red: #a83931}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit}button,input,select{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5ba99b;outline-offset:2px}.shell{min-height:100vh;display:grid;grid-template-columns:232px 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:30px 20px 20px;background:var(--green-dark);color:#eef8f5;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 32px}.brand strong,.brand small,.sidebar-foot strong,.sidebar-foot small{display:block}.brand strong{font-size:18px;letter-spacing:.01em}.brand small,.sidebar-foot small{color:#9dbbb4;font-size:11px;margin-top:2px}.brand-mark{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;color:var(--green-dark);background:#9ee0cd;font-weight:800}nav{display:grid;gap:5px}nav a{color:#bdd0cb;text-decoration:none;padding:11px 13px;border-radius:8px;font-size:14px;font-weight:600}nav a:hover{background:#1b4b45;color:#fff}nav a.active{background:#246158;color:#fff}.sidebar-foot{margin-top:auto;border-top:1px solid #2b5751;padding:20px 8px 0;display:flex;gap:10px;align-items:center}.sidebar-foot strong{font-size:12px}.avatar{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#2e6b62;font-size:11px;font-weight:700}.content{min-width:0}.topbar{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px;font-weight:600}.secure{color:var(--green)}.page{max-width:1220px;padding:42px;margin:0 auto}.page-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:25px}.page-header h1{margin:2px 0 0;font-size:29px;letter-spacing:-.035em}.eyebrow{color:var(--green);font-size:11px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;margin:0 0 5px}.page-actions{display:flex;gap:10px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px;box-shadow:0 1px 2px #14322d08}.card h2{margin:0 0 16px;font-size:15px}.card p{line-height:1.55}.hero-card{display:flex;align-items:center;justify-content:space-between;padding:31px;background:linear-gradient(120deg,#fff,#f0f7f5);border-color:#c9ded8}.hero-card h2{font-size:22px;margin:3px 0 7px}.hero-card p:not(.eyebrow){color:var(--muted);margin:0}.button{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 16px;border:1px solid #cbd5d2;border-radius:8px;background:#fff;color:#25332f;text-decoration:none;font-size:13px;font-weight:700;cursor:pointer}.button:hover{border-color:#9baaa6}.button-primary{border-color:var(--green);background:var(--green);color:#fff}.button-primary:hover{background:#104b41}.button:disabled{opacity:.55;cursor:not-allowed}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:16px 0}.stat-grid.payroll{grid-template-columns:repeat(4,1fr)}.stat-grid .card{min-height:120px;display:flex;flex-direction:column;align-items:flex-start;gap:6px}.label{margin:0;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:800}.stat{font-size:25px;letter-spacing:-.04em}.card small,td small{display:block;color:var(--muted);margin-top:5px}.split{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.list-row,.check-row{display:flex;align-items:center;justify-content:space-between;padding:11px 0}.check-row{justify-content:flex-start;gap:12px}.check-on,.check-off{width:28px;height:28px;display:grid;place-items:center;border-radius:50%;background:var(--green-light);color:var(--green);font-weight:800}.check-off{color:#9a5d13;background:#fbefdd}.muted{color:var(--muted)}.status{display:inline-flex;border-radius:99px;padding:4px 8px;background:#eef1f0;color:#52615d;text-transform:capitalize;font-size:10px;font-weight:800;letter-spacing:.03em}.status-finalized,.status-paid,.status-remitted,.status-active{color:var(--green);background:var(--green-light)}.status-calculated,.status-reviewed{color:#76520c;background:#faf0d9}.ready{color:var(--green);font-weight:750;font-size:12px}.action-required{color:#975a12;font-weight:750;font-size:12px}.table-card{padding:0;overflow:hidden}table{width:100%;border-collapse:collapse}th{padding:13px 17px;background:#f7f9f8;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.07em;text-align:left}td{padding:16px 17px;border-top:1px solid #e7ebe9;font-size:13px}td a{color:var(--green);text-decoration:none}.money{font-variant-numeric:tabular-nums;white-space:nowrap}.empty{min-height:300px;text-align:center;display:grid;place-content:center;justify-items:center}.empty-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:var(--green-light);color:var(--green);font-weight:900}.empty h2{margin:15px 0 2px;font-size:18px}.empty p{color:var(--muted);max-width:430px;margin:6px 0 18px}.form-card{max-width:850px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid.three{grid-template-columns:repeat(3,1fr)}.form-card label{display:grid;gap:7px;color:#43504d;font-size:12px;font-weight:700}.form-card input,.form-card select,.hours-table input{width:100%;height:41px;border:1px solid #cbd5d2;border-radius:7px;padding:0 11px;background:#fff;color:#17211f}.checkbox{display:flex!important;grid-template-columns:18px 1fr;align-items:center;margin-top:20px}.checkbox input{width:17px;height:17px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}.notice{margin:20px 0 0;padding:13px 15px;background:#f4f7f6;border-left:3px solid #8ba49e;border-radius:4px;font-size:12px}.notice p{margin:3px 0 0;color:var(--muted)}.notice-error,.notice-blocking{background:#fdf0ef;border-color:var(--red);color:#7d2822}.notice-warning{background:#fff6e6;border-color:#c17a18}.notice-success{background:var(--green-light);border-color:var(--green);color:var(--green)}.field-errors{margin:8px 0 0;padding-left:18px;display:flex;flex-direction:column;gap:4px;font-size:13px}.settings-section{margin-top:22px;border:1px solid var(--line);border-radius:10px;padding:6px 18px 18px}.settings-section legend{padding:0 6px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.settings-section .form-grid{margin-top:6px}.pay-items{margin-top:26px;border-top:1px solid var(--line);padding-top:18px}.pay-items h3{margin:0 0 4px;font-size:14px}.pay-item-group{padding:12px 0;border-bottom:1px solid var(--line)}.pay-item-group:last-child{border-bottom:0}.pay-item-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.pay-item-head strong{flex:1 1 160px;font-size:13px}.add-pay-item{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.add-pay-item input{width:92px}.pay-item-list{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-direction:column;gap:6px}.pay-item-list li{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.pay-item-list li span{flex:1 1 auto}.record-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;padding:16px 0 4px}.record-form label{display:flex;flex-direction:column;gap:4px;flex:1 1 150px;min-width:0;font-size:12px;color:var(--muted)}.record-form small{font-size:11px}.button-small{padding:4px 10px;font-size:12px}.field-help{display:block;margin-top:-6px;color:var(--muted);font-size:12px}.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.sign-out{margin-top:12px;width:100%;border:1px solid var(--line);border-radius:8px;background:transparent;color:inherit;padding:7px 10px;font:inherit;font-size:12px;cursor:pointer}.sign-out:hover{border-color:var(--green);color:var(--green)}.danger-zone{margin-top:26px;border:1px solid var(--line);border-radius:10px;padding:16px 18px}.danger-zone h3{margin:0 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.danger-zone p{margin:0 0 12px;color:var(--muted);font-size:13px}.danger-zone .confirm-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.danger-zone input{flex:1 1 220px;min-width:0}.button-danger{border-color:#b3261e;color:#b3261e}.button-danger:disabled{opacity:.45;cursor:not-allowed}.logo-field{margin-top:22px;border:1px solid var(--line);border-radius:10px;padding:14px 16px 16px}.logo-field legend{padding:0 6px;color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.06em}.logo-field-row{display:flex;flex-wrap:wrap;align-items:center;gap:18px}.logo-preview{width:150px;max-height:44px;object-fit:contain;object-position:left center}.logo-preview-empty{display:inline-flex;align-items:center;justify-content:center;height:44px;border:1px dashed var(--line);border-radius:8px;color:var(--muted);font-size:11px}.logo-field small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.logo-field .logo-error{color:var(--danger, #b3261e)}.fixed-settings{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}.fixed-settings span{border:1px solid var(--line);border-radius:99px;padding:6px 10px;color:var(--muted);font-size:11px}dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}dt{color:var(--muted);font-size:12px}dd{margin:0;text-align:right;font-size:13px;font-weight:650}.workflow{display:flex;max-width:650px;margin:0 0 25px}.step{position:relative;flex:1;color:#8a9592;font-size:11px;font-weight:750}.step:before{content:"";position:absolute;top:13px;left:24px;right:4px;height:2px;background:#d6dedb}.step:last-child:before{display:none}.step{display:flex;align-items:center;gap:7px}.step span{margin-left:2px}.step.done,.step.current{color:var(--green)}.step.done:before{background:var(--green)}.hours-table input{min-width:90px;height:36px}.review-actions{margin-top:18px}.loading{height:60vh;display:flex;align-items:center;justify-content:center;color:var(--muted);gap:10px}.loading span{width:18px;height:18px;border:2px solid #c5d0cd;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}.report-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.report-grid p{color:var(--muted);font-size:13px}.report-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:var(--green-light);color:var(--green);margin-bottom:15px}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{position:static;width:100%;height:auto;padding:15px}.brand{padding-bottom:12px}.sidebar nav{grid-template-columns:repeat(3,1fr)}.sidebar-foot{display:none}.topbar{padding:0 20px}.page{padding:25px 20px}.stat-grid,.stat-grid.payroll,.report-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.sidebar nav{grid-template-columns:1fr 1fr}.page-header,.hero-card{align-items:flex-start;gap:16px;flex-direction:column}.stat-grid,.stat-grid.payroll,.split,.report-grid,.form-grid,.form-grid.three{grid-template-columns:1fr}.table-card{overflow-x:auto}.page{padding:20px 14px}}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:25px;background:#f4f7f6}.auth-page h1{margin:14px 0 4px}.auth-page p{color:var(--muted);margin:5px 0 22px}.auth-page small{color:var(--muted);margin-top:14px}.auth-logo{width:52px;height:52px;display:grid;place-items:center;border-radius:13px;background:var(--green);color:#fff;font-size:24px;font-weight:850}.report-period{display:grid;gap:6px;max-width:320px;margin-bottom:15px;font-weight:600}.report-period select{padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:#fff;font-weight:400}
