.home-loading-actions{display:grid;grid-template-columns:repeat(2,minmax(130px,1fr));gap:12px;margin-bottom:24px}
.home-loading-actions a{padding:14px 12px;border-radius:7px;color:#fff;text-align:center;text-decoration:none}
.record-forms{display:flex;gap:10px;flex-wrap:wrap}
.record-forms form,.record-card form{margin:0}
.record-card button{border:0;border-radius:6px;padding:8px 12px;color:#fff;cursor:pointer}
.delivery-paper{width:100%;max-width:1280px;margin:0 auto;padding:26px!important}
.delivery-paper h1{font-size:24px;margin:0 0 14px}
.delivery-paper>p{font-size:15px;margin:0 0 14px}
.delivery-paper table{table-layout:fixed;font-size:14px}
.delivery-paper th,.delivery-paper td{padding:9px 6px!important;vertical-align:middle;overflow-wrap:anywhere}
.delivery-paper th:nth-child(1){width:7%}.delivery-paper th:nth-child(2){width:14%}.delivery-paper th:nth-child(3){width:18%}.delivery-paper th:nth-child(4){width:14%}.delivery-paper th:nth-child(5){width:7%}.delivery-paper th:nth-child(6){width:7%}.delivery-paper th:nth-child(7){width:21%}.delivery-paper th:nth-child(8){width:12%}
@page{size:A4 landscape;margin:6mm}
@media print{.delivery-paper{width:100%;max-width:none;padding:0!important}.delivery-paper h1{font-size:18pt}.delivery-paper>p{font-size:11pt}.delivery-paper table{font-size:10pt;border:1.5px solid #000!important}.delivery-paper th,.delivery-paper td{padding:6px 4px!important;border:1.5px solid #000!important}.delivery-paper tr{break-inside:avoid;page-break-inside:avoid}}
.camera-button{border:0;border-radius:7px;padding:11px 18px;background:#2476c7;color:#fff;font-size:15px;cursor:pointer}
.scan-head-tools{display:flex;align-items:center;gap:12px}.speech-speed{display:flex;align-items:center;gap:6px;background:#fff;padding:7px 9px;border-radius:8px}.speech-speed button{border:1px solid #ccd7df;background:#eef4f8;padding:5px 9px;border-radius:5px;cursor:pointer}.speech-speed b{min-width:42px;text-align:center}.speech-speed span{font-size:14px;color:#536574}
.camera-start{margin:10px 0 16px;width:100%}
.camera-panel{background:#fff;padding:16px;border-radius:12px;margin-bottom:18px;text-align:center}
#cameraReader{max-width:520px;margin:0 auto 12px}#cameraReader video{border-radius:8px}
.photo-scan{display:inline-block;margin-left:10px;padding:10px 14px;border-radius:7px;background:#4caf50;color:#fff;cursor:pointer}.photo-scan input{display:none}
@media(max-width:700px){.scan-head{gap:12px;align-items:flex-start}.scan-head-tools{flex-direction:column;align-items:stretch}.speech-speed{flex-wrap:wrap;justify-content:center}.camera-button{padding:10px 12px}.camera-panel{padding:10px}.package-display{font-size:38px}}
.scanner-title-row{position:relative}.realtime-button{position:absolute;right:0;top:0;background:#fff;color:#2476c7;padding:10px 14px;border-radius:7px;text-decoration:none;font-weight:700}.accessory-card{background:#fff;border-radius:12px;padding:22px;margin-top:20px}.accessory-add{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;align-items:end}.accessory-add label{margin:0}.accessory-add select{width:100%;margin-top:8px;padding:12px;border:1px solid #ccd7df;border-radius:7px;font-size:16px}.quantity-control{display:flex;margin-top:8px}.quantity-control input{margin:0;border-radius:0;text-align:center}.quantity-control button{width:45px;border:1px solid #ccd7df;background:#eef4f8;font-size:22px}.accessory-submit{height:46px}.accessory-list{margin-top:18px;border-top:1px solid #e1e7eb}.accessory-list>div{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e1e7eb}.accessory-list form{display:flex;gap:6px}.accessory-list button{padding:5px 12px;font-size:18px}.data-table form{margin:0}@media(max-width:800px){.accessory-add{grid-template-columns:1fr 1fr}.realtime-button{position:static;display:inline-block;margin-bottom:10px}.package-display{margin-top:8px}.accessory-list>div{align-items:flex-start;gap:8px}}@media(max-width:480px){.accessory-add{grid-template-columns:1fr}}
.compact-panel{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px 20px;padding:22px 26px;background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(30,55,80,.08)}
.compact-panel .checkmark{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#28b66f;color:#fff;font-size:28px}.compact-panel h2,.compact-panel p{margin:0}.completion-total{font-size:22px;color:#17324d}.completion-breakdown{grid-column:2/4;display:flex;gap:28px;color:#536b80}.compact-actions{margin-top:18px}
.date-filter{display:flex;align-items:end;gap:12px;flex-wrap:wrap;background:#fff;padding:14px 16px;border-radius:10px;margin-bottom:20px}.date-filter label{display:grid;gap:5px;color:#536b80;font-size:14px}.date-filter select{min-width:110px;padding:9px;border:1px solid #cbd6df;border-radius:6px;background:#fff}
.records-table-wrap{overflow-x:auto;background:#fff;border:1px solid #dfe7ee;border-radius:10px}.records-table{width:100%;border-collapse:collapse;min-width:980px}.records-table th,.records-table td{padding:10px 12px;border-bottom:1px solid #e7edf2;text-align:left;white-space:nowrap;font-size:14px}.records-table th{background:#f3f6f9;color:#354b5f}.records-table tr:last-child td{border-bottom:0}.record-actions{display:flex;align-items:center;gap:10px}.record-actions form{margin:0}.link-button{border:0;background:none;color:#2879c8;padding:0;cursor:pointer;font:inherit}.danger-text{color:#d54b4b}.status-tag{padding:3px 8px;border-radius:12px;font-size:12px}.status-tag.doing{background:#fff0c9;color:#9a6500}.status-tag.done{background:#dff5e8;color:#197647}.section-count{font-size:13px;background:#e8eef4;padding:3px 8px;border-radius:12px}.empty-cell{text-align:center!important;padding:24px!important}
@media(max-width:760px){.compact-panel{grid-template-columns:auto 1fr}.completion-total,.completion-breakdown{grid-column:1/3}.completion-breakdown{flex-direction:column;gap:6px}.date-filter{align-items:stretch}.date-filter label,.date-filter select{width:100%}}
