.industry-dialog{width:min(94vw,620px);max-height:88vh;padding:0;border:1px solid #a3beaa;border-radius:15px;color:#203e2a;background:#fff;box-shadow:0 18px 60px #183d3240;font:inherit}
.industry-dialog::backdrop{background:#102d23a6}
.industry-dialog header,.industry-dialog footer,.industry-content{padding:18px 22px}
.industry-dialog header,.industry-dialog footer{background:#f2f7ef}
.industry-dialog header{position:sticky;top:0;border-bottom:1px solid #d4e2d4;z-index:1}
.industry-dialog h2{margin:5px 0 0;font-size:22px}.industry-dialog h3{font-size:16px;margin:18px 0 8px}
.industry-dialog small,.industry-kpis small{display:block;color:#526859}
.industry-dialog footer,.industry-choices{display:flex;gap:10px;flex-wrap:wrap}
.industry-dialog footer{justify-content:flex-end;border-top:1px solid #dae6da;position:sticky;bottom:0}
.industry-choices button{min-width:90px}.industry-line{display:flex;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #e0e8df;font-size:14px}
.industry-line input[type=checkbox]{width:20px;height:20px;accent-color:#266940;flex:none}
.industry-line span{flex:1}.industry-line strong,.industry-total{font-variant-numeric:tabular-nums}
.industry-qty{width:110px;padding:8px;border:1px solid #a1b6a4;border-radius:6px}
.industry-total{font-weight:700;color:#285c38}.industry-error:not(:empty){margin:0 20px 12px;padding:10px;background:#fff0ed;color:#8a3126}
.industry-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:16px 0}
.industry-kpis div{border:1px solid #d7e3d7;border-radius:9px;padding:14px}.industry-kpis div:first-child{background:#eaf5e9;border-color:#9bc4a3}.industry-kpis b{display:block;font-size:23px;color:#285c38}
.industry-history{border-bottom:1px solid #dce5db;padding:12px}.industry-history summary{cursor:pointer}

.industry-dialog textarea{width:100%;resize:vertical;min-height:130px;line-height:1.5;padding:9px;font:inherit}
.industry-dialog [data-mail-body]{display:grid;gap:12px}
.industry-monday{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;border-left:4px solid #bd7a20;padding:16px 20px;margin-bottom:15px}
.industry-monday h2,.industry-monday p{margin:3px 0}
.indus-split{margin:0 0 12px 22px;padding:12px 14px;border:1px solid #b7d2b9;border-radius:9px;background:#f5f9f3}
.indus-split[hidden]{display:none}
.indus-split legend{font-weight:700;color:#285c38}.indus-split .toolbar{margin-bottom:10px}
.industry-mail-photo{display:block;width:100%;height:auto;border-radius:7px}

.industry-dashboard{margin:0 0 16px}.industry-dashboard h2{color:#205e38;margin:0}.industry-dashboard .industry-kpis{margin:12px 0}
.industry-dashboard .industry-aged{background:#fff0df;border-color:#efcfaa}.industry-dashboard summary{color:#496251;cursor:pointer;font-size:12px}

.announcement-comment-fields{margin-top:12px}
.announcement-comment-fields summary{cursor:pointer;font-weight:600}
.announcement-comment-fields .field{margin:12px 0}
.industry-dialog .announcement-comment-fields textarea{min-height:54px}
.lot-quality-link{font:inherit;font-size:.83rem;letter-spacing:.02em;background:#fff7ec;border:1px solid #dcbe93;color:#78420f;border-radius:5px;padding:4px 8px;cursor:pointer}
.lot-quality-choice{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:10px 0}
.lot-star-picker{border:0;padding:0;margin:0}.lot-star-picker legend{font-weight:650;color:#285c38}
.lot-star-options{display:flex;gap:2px;flex-wrap:wrap;margin:8px 0}
.lot-star-options label{position:relative;display:grid;place-items:center;width:44px;height:46px;cursor:pointer}
.lot-star-options input{position:absolute;width:1px;height:1px;opacity:0}
.lot-star-options span{font:36px/1 "DejaVu Sans",sans-serif;color:#6b726c;padding:3px;border-radius:4px}
.lot-star-options .filled{color:var(--star-fill)}.lot-star-options input:focus-visible+span{outline:2px solid #205e38}

@media(min-width:750px){.daily-production .daily-production-counts{grid-template-columns:repeat(3,minmax(0,1fr))}}

.industry-declare-intro{display:grid;grid-template-columns:minmax(190px,1fr) minmax(0,260px);gap:20px;align-items:center}.industry-declare-answer .industry-note{margin:0 0 14px}.industry-declare-truck{display:block;width:100%;height:auto;border-radius:10px;border:1px solid #d4e2d4;box-shadow:0 4px 14px #183d3215}@media(max-width:520px){.industry-declare-intro{grid-template-columns:1fr;gap:16px}.industry-declare-truck{width:min(100%,300px);justify-self:center}}

/* Readable lot identifiers and production values in invoice tracking. */
.invoice-lots-readable{min-width:1080px!important}
.invoice-lots-readable tbody td{padding:13px 12px!important;vertical-align:middle;line-height:1.4}
.invoice-lots-readable tbody td:first-child{font-size:17px!important;font-weight:800;color:#185c3b;white-space:nowrap}
.invoice-lots-readable tbody td:first-child strong{font-size:inherit}
.invoice-lots-readable tbody td:nth-child(3){font-size:14px!important;font-weight:750;min-width:190px;color:#203e2a}
.invoice-lots-readable tbody td:nth-child(4){font-size:15px!important;font-weight:800;min-width:125px;color:#245238}
.invoice-lots-readable tbody td:nth-child(6){font-size:16px!important;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;color:#185c3b}
.invoice-lots-readable [data-invoice-quality]{font-size:11px;font-weight:600}
.invoice-lots-readable tbody tr:hover{background:#f1f7ee}

.invoice-lots-readable tbody tr.billing-paid{background:#e7f4e9!important;box-shadow:inset 5px 0 #3f9657}.invoice-lots-readable tbody tr.billing-pending{background:#fff6e7!important;box-shadow:inset 5px 0 #e5a23e}.invoice-lots-readable tbody tr.billing-excluded{background:#edf0f1!important;box-shadow:inset 5px 0 #89969c;color:#56656c}.billing-exclude-btn{display:block;margin-top:7px;font-size:12px!important;padding:5px 8px!important;white-space:nowrap}.billing-status.grey{background:#dce3e6;color:#45575f}
