:root{font:15px/1.45 "Segoe UI",Arial,sans-serif;color:#203129;background:#f3f6f3}*{box-sizing:border-box}body{margin:0}header{background:#173b2c;color:white;padding:12px max(calc((100% - 1200px)/2),18px);display:flex;justify-content:space-between;align-items:center}header a{color:white;text-decoration:none}.brand{font-weight:700;font-size:20px}.brand span{font-weight:400}nav{display:flex;gap:4px;overflow:auto;padding:10px max(calc((100% - 1200px)/2),18px);background:#e1eae3;white-space:nowrap}nav a{padding:8px;color:#173b2c;text-decoration:none;border-radius:4px}nav a:hover{background:white}.button{display:inline-block;padding:8px 12px;border:1px solid #9aaca0;border-radius:4px;background:#fff;color:#173b2c;text-decoration:none}.button:hover{background:#eef4ef}details>summary{cursor:pointer;font-weight:700;color:#173b2c;margin-bottom:10px}.inline{display:inline-block;margin:2px 4px 2px 0}main{max-width:1200px;margin:24px auto;padding:0 18px;min-height:72vh}h1{font-size:26px;margin:10px 0 20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.card,.panel{background:white;border:1px solid #dce5de;border-radius:7px;padding:16px;margin:12px 0}.card strong{font-size:28px;display:block;color:#1b6342}label{display:inline-flex;flex-direction:column;gap:5px;margin:5px 10px 8px 0;font-weight:600}input,select,textarea{font:inherit;padding:8px;border:1px solid #bccbc0;border-radius:4px;min-width:170px}textarea{min-width:280px;min-height:65px}button{font:inherit;padding:8px 12px;border:1px solid #9aaca0;border-radius:4px;background:#fff;color:#173b2c;cursor:pointer}button:hover,.primary{background:#24613f;color:#fff}.inline{display:inline}.inline button{padding:4px 8px}.scroll{overflow:auto;background:white}table{border-collapse:collapse;width:100%;background:white}th,td{text-align:left;padding:9px;border-bottom:1px solid #e3e9e4;vertical-align:top}th{background:#edf3ee}.actions{display:flex;gap:10px;align-items:center;margin:12px 0}.error{background:#fce9e7;border:1px solid #dba6a0;padding:10px}.note{max-width:800px;background:white;padding:28px;border:1px solid #ccd5ce;margin:18px auto}.note-head{display:flex;justify-content:space-between;border-bottom:2px solid #222;padding-bottom:15px}.note table{margin-top:24px}.total{text-align:right;border-top:2px solid #222;padding-top:14px}.note-instructions{margin:8px 0}.signature{height:24mm;display:flex;align-items:flex-end;gap:8px;margin-top:6mm;font-size:10pt}.signature span{white-space:nowrap}.signature i{display:block;flex:1;border-bottom:1px solid #222;height:18mm}.note-compact{padding:14px 18px;margin:8px auto}.note-compact .note-head{padding-bottom:7px}.note-compact>p{margin:7px 0}.note-compact table{margin-top:8px}.note-compact th,.note-compact td{padding:5px 7px}.note-compact .total{padding-top:6px;margin:7px 0 0}.note-compact .signature{margin-top:3mm}.note-compact{break-inside:avoid;page-break-inside:avoid}.note-compact table{margin-top:8px}.note-compact th,.note-compact td{padding:5px 7px}.muted{color:#65736a}footer{text-align:center;padding:16px;color:#65736a}.login{max-width:430px;margin:12vh auto}@media print{@page{margin:8mm}body{background:white;font:11pt/1.25 Arial,sans-serif}header,nav,footer,.print-hide,main>h1{display:none!important}main{margin:0;padding:0;min-height:0}.note{border:0;margin:0;max-width:none;padding:8mm}.note table{font-size:10pt}.note-compact{max-width:none;border:1px solid #333;margin:0 0 3mm;padding:3mm 4mm;break-inside:avoid;page-break-inside:avoid}.note-compact .note-head{padding-bottom:2mm}.note-compact>p{margin:2mm 0}.note-compact table{margin-top:2mm}.note-compact th,.note-compact td{padding:1.3mm 2mm}.note-compact .total{padding-top:2mm;margin-top:2mm}.note-compact .signature{height:20mm;margin-top:2mm}.note-compact .signature i{height:15mm}}
@media print {
  @page { size: 4.25in 5.5in; margin: 4mm; }
  body { font: 9pt/1.15 Arial, sans-serif; }
  main > .note { width: 100%; max-width: none; min-height: 0; margin: 0; padding: 2mm; border: 0; break-inside: auto; page-break-inside: auto; }
  main > .note:not(:last-of-type) { break-after: page; page-break-after: always; }
  .note .note-head { padding-bottom: 2mm; border-bottom-width: 1px; }
  .note p { margin: 2mm 0; }
  .note table { margin-top: 2mm; font-size: 8pt; }
  .note th, .note td { padding: 1mm; }
  .note .total { padding-top: 2mm; margin: 2mm 0 0; }
  .note .signature { height: 12mm; margin-top: 3mm; font-size: 8pt; }
  .note .signature i { height: 9mm; }
  .note-compact { padding: 2mm; border: 0; margin: 0; break-inside: auto; page-break-inside: auto; }
  .note-compact .note-head { padding-bottom: 2mm; }
  .note-compact > p { margin: 2mm 0; }
  .note-compact table { margin-top: 2mm; }
  .note-compact th, .note-compact td { padding: 1mm; }
  .note-compact .total { padding-top: 2mm; margin-top: 2mm; }
  .note-compact .signature { height: 12mm; margin-top: 3mm; }
  .note-compact .signature i { height: 9mm; }
}
.danger{border-color:#a22;background:#9e1b1b;color:#fff}.danger:hover{background:#761515;color:#fff}.purge-confirm textarea{display:block;max-width:100%;min-height:80px}.preparation-summary h2{font-size:19px;margin:0 0 10px}.preparation-summary p{margin:6px 0}.collection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.collection-page{background:#fff;border:1px solid #dce5de;border-radius:7px;padding:18px;margin:14px 0}.collection-page h2{margin:0 0 8px}.collection-page table{table-layout:fixed}.collection-page th,.collection-page td{padding:8px}
@media print{
  @page{size:letter portrait;margin:10mm}
  @page note{size:4.25in 5.5in;margin:4mm}
  @page collection{size:letter portrait;margin:10mm}
  main>.note{page:note}
  .note .unit-price{display:none!important}
  .note .scroll{overflow:visible!important}
  .collection-toolbar{display:none!important}
  .collection-page{border:0;margin:0;padding:0;min-height:0}
  .collection-page table{font-size:9pt}
  .preparation-sheet:not(:last-of-type){break-after:page;page-break-after:always}
  .preparation-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #222;padding:0 0 3mm;margin-bottom:3mm;font-size:14pt}
  .preparation-meta p{margin:1.5mm 0}
  .preparation-sheet>h2,.preparation-instructions h2{font-size:10pt;margin:3mm 0 1mm}
  .preparation-items{width:100%;margin-top:2mm;border-collapse:collapse}
  .preparation-items th,.preparation-items td{border:1px solid #444;padding:1.5mm;text-align:left}
  .preparation-instructions{margin-top:3mm}
  .preparation-instructions p{white-space:pre-wrap}
  .preparation-signature{height:10mm!important;margin-top:3mm!important}
  .preparation-signature i{height:6mm!important}
}
.preparation-head{display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #222;padding-bottom:7px;margin-bottom:10px;font-size:18px}
.preparation-meta p{margin:5px 0}
.preparation-sheet>h2,.preparation-instructions h2{font-size:14px;margin:12px 0 6px}
.preparation-items{width:100%;border-collapse:collapse}
.preparation-items th,.preparation-items td{border:1px solid #c7d3c9;padding:8px;text-align:left}
.preparation-instructions{margin-top:14px;padding-top:8px;border-top:1px solid #c7d3c9}
.preparation-instructions p{white-space:pre-wrap}
.preparation-signature{height:14mm!important}

input[type="checkbox"]{min-width:0;width:18px;height:18px;accent-color:#24613f}button:disabled{opacity:.5;cursor:not-allowed;background:#f3f5f3;color:#65736a}.actions,.table-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.row-actions{min-width:210px}.line{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #dce5de}.line select{max-width:440px}.line input{width:110px;min-width:100px}[hidden]{display:none!important}.report-scope{font-size:11px;color:#3b4b40}.collection-page td{overflow-wrap:anywhere}.collection-page td:not(:first-child){white-space:nowrap}.collection-page th:first-child{width:40%}
.note{position:relative;isolation:isolate}.note>.note-watermark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:88%;height:auto;opacity:.10;z-index:0;pointer-events:none}.note>:not(.note-watermark){position:relative;z-index:1}.note .scroll,.note table,.note th{background:transparent}.note-phones{font-weight:600;font-size:11px;text-align:center}.note tr{break-inside:avoid;page-break-inside:avoid}
@media print{.note-watermark{display:block!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.note .note-phones{font-size:7.5pt;margin:1.5mm 0}}
@media print{
 :root,body{background:#fff}
 .table-controls{display:none!important}
 .collection-report{page:collection}
 .collection-page{height:auto;min-height:0;max-height:none;overflow:visible;break-inside:auto;page-break-inside:auto}
 .collection-page+.collection-page{break-before:page;page-break-before:always}
 .collection-page table{table-layout:fixed;width:100%;font-size:9pt}
 .collection-page thead{display:table-header-group}
 .collection-page tr{break-inside:avoid;page-break-inside:avoid}
 .collection-page h2,.collection-page p{break-after:avoid;page-break-after:avoid}
 .collection-page th,.collection-page td{padding:2mm}
 .collection-page h2{font-size:14pt}
}

.preferences{border:1px solid #bccbc0;border-radius:6px;margin:12px 0;padding:12px}.preferences legend{font-weight:700}.preferences p{margin:4px 0 12px}.preferences label:has(input[type=checkbox]){flex-direction:row;align-items:center}.collection-additional th:nth-child(1){width:23%}.collection-additional th:nth-child(2){width:12%}.collection-additional th:nth-child(3){width:30%}.collection-additional th:nth-child(4){width:35%}.collection-additional td:not(:first-child){white-space:normal;overflow-wrap:anywhere}.collection-totals{break-inside:avoid;margin-top:5mm}.collection-totals h2{font-size:14pt}.collection-totals p{margin:2mm 0}@media print{.collection-page+.collection-additional{break-before:auto;page-break-before:auto;margin-top:5mm}.collection-additional thead{display:table-header-group}}
