.bill-section-title{border-bottom:1px solid var(--line);margin:24px 0 12px;padding-bottom:9px;font-size:1rem}.items-heading{justify-content:space-between;align-items:end;gap:12px;display:flex}.items-heading>div{gap:8px;margin-bottom:10px;display:flex}.items-heading button{border:1px solid var(--navy);color:var(--navy);cursor:pointer;background:#fff;border-radius:5px;padding:8px 12px;font-weight:700}.line-items{border:1px solid var(--line);border-radius:6px;overflow:auto}.line-head,.line-row{grid-template-columns:90px minmax(210px,2fr) 120px 100px 70px 110px 80px 120px 42px;align-items:center;min-width:990px;display:grid}.line-head{background:var(--navy);color:#fff;font-size:.75rem;font-weight:700}.line-head span{padding:10px 8px}.line-row{border-top:1px solid var(--line)}.line-row input,.line-row select{border:0;border-right:1px solid var(--line);min-width:0;font:inherit;background:#fff;height:45px;padding:11px 8px}.line-row input:focus,.line-row select:focus{outline-offset:-2px;outline:2px solid #e21d2d44}.line-row b{text-align:right;padding:8px;font-size:.82rem}.line-row button{color:#b42318;cursor:pointer;background:#fff;border:0;font-size:1.4rem}.invoice-items td small{color:#555;margin-bottom:2px;font-size:8px;font-style:normal;display:block}.invoice-details>div:nth-last-child(-n+2){grid-column:span 1}@media (max-width:800px){.items-heading{flex-direction:column;align-items:flex-start}.bill-form{padding:16px}.line-items{margin-left:-4px;margin-right:-4px}}.job-submit{justify-content:space-between;align-items:center;margin-top:18px;display:flex}.job-submit label{align-items:center;gap:8px;display:flex}.work-filter{gap:7px;margin-bottom:18px;display:flex}.work-filter button{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:5px;padding:10px 15px;font-weight:700}.work-filter button.active{background:var(--navy);color:#fff}.work-board{gap:16px;display:grid}.work-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px}.work-card>header{justify-content:space-between;gap:15px;display:flex}.work-card h3{margin:6px 0}.work-card p{color:var(--muted);margin:0}.work-status{background:#edf2f7;border-radius:99px;height:max-content;padding:7px 10px;font-size:.75rem;font-weight:800}.status-ongoing{color:#855b00;background:#fff3cd}.status-ready-for-billing,.status-ready-for-delivery{color:#17603a;background:#e7f7ee}.status-completed{color:#234c85;background:#e8eef8}.progress{background:#e9edf3;border-radius:99px;height:6px;margin:17px 0 6px;overflow:hidden}.progress span{background:var(--red);height:100%;display:block}.work-items{border:1px solid var(--line);border-radius:6px;margin-top:15px;display:grid}.work-items label{border-top:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px;display:grid}.work-items label:first-child{border-top:0}.work-items label>span{gap:4px;display:grid}.work-items small{color:var(--muted)}.work-items em{font-size:.75rem;font-style:normal;font-weight:700}.work-card>footer{color:inherit;background:0 0;justify-content:flex-end;gap:9px;padding:15px 0 0;display:flex}.work-card>footer button,.work-card>footer a,.work-card>footer select{border:1px solid var(--line);min-height:40px;font:inherit;cursor:pointer;background:#fff;border-radius:5px;padding:8px 12px;font-weight:700}.work-card>footer .red-button{background:var(--red);color:#fff}.reset-card{background:#fff;border:1px solid #fecaca;border-top:5px solid #b42318;border-radius:8px;max-width:720px;padding:28px}.reset-card p{color:var(--muted);line-height:1.6}.danger-button{color:#fff;cursor:pointer;background:#b42318;border:0;border-radius:5px;margin:14px 0;padding:12px 18px;font-weight:800}@media (max-width:700px){.job-submit,.work-card>header,.work-card>footer{flex-direction:column;align-items:flex-start}.work-items label{grid-template-columns:auto 1fr}.work-items em{grid-column:2}}.overview-wrap{gap:20px;display:grid}.date-filter{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:end;gap:12px;padding:16px;display:flex}.date-filter label{gap:6px;font-size:.8rem;font-weight:700;display:grid}.date-filter input{border:1px solid var(--input);min-height:42px;font:inherit;border-radius:5px;padding:8px 10px}.date-filter button{border:1px solid var(--line);cursor:pointer;border-radius:5px;min-height:42px;padding:0 16px;font-weight:700}.overview-stats{grid-template-columns:repeat(5,1fr);gap:11px;display:grid}.overview-stats article{border:1px solid var(--line);background:#fff;border-radius:7px;min-height:90px;padding:16px}.overview-stats article.warn{border-left:4px solid var(--red)}.overview-stats span{color:var(--muted);font-size:.78rem;display:block}.overview-stats strong{margin-top:9px;font-size:1.25rem;display:block}.overview-card{border:1px solid var(--line);background:#fff;border-radius:8px;padding:20px}.overview-card>div:first-child{justify-content:space-between;align-items:center;display:flex}.overview-card h2{margin:0 0 14px;font-size:1.15rem}.overview-card p{color:var(--muted)}.mini-chart{border-bottom:1px solid var(--line);align-items:end;gap:5px;height:180px;padding-top:15px;display:flex}.chart-day{flex:1;justify-content:center;align-items:end;gap:1px;height:100%;display:flex}.bar{border-radius:3px 3px 0 0;width:40%;min-width:2px;display:block}.bar.billed{background:var(--navy)}.bar.collected{background:var(--red)}.chart-key{gap:18px;margin-top:12px;font-size:.78rem;display:flex}.chart-key span{align-items:center;gap:6px;display:flex}.chart-key i{border-radius:2px;width:10px;height:10px}.key-billed{background:var(--navy)}.key-collected{background:var(--red)}.overview-columns{grid-template-columns:1fr 1fr;gap:15px;display:grid}.overview-row{border-top:1px solid var(--line);justify-content:space-between;gap:14px;padding:12px 0;display:flex}.overview-row span{gap:4px;display:grid}.overview-row small{color:var(--muted)}.overview-row>strong{text-align:right;font-size:.85rem}@media (max-width:1100px){.overview-stats{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.date-filter{flex-direction:column;align-items:stretch}.overview-stats,.overview-columns{grid-template-columns:1fr 1fr}.date-filter button{width:100%}}@media (max-width:450px){.overview-stats,.overview-columns{grid-template-columns:1fr}}.date-filter .filter-spacer{flex:1}.date-filter .export-button{color:var(--navy);border-color:var(--navy);white-space:nowrap;background:#fff}.date-filter .export-button:hover{background:var(--navy);color:#fff}.date-filter button:disabled{opacity:.55;cursor:not-allowed}@media (max-width:1100px){.date-filter{flex-wrap:wrap}.date-filter .filter-spacer{display:none}}@media (max-width:700px){.date-filter .export-button{width:100%}}
