.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-title button{flex-shrink:0}.notice{border:1px solid #e7dba9;background:#fff9df;border-radius:12px;padding:18px 22px;margin:12px 0 22px;font-size:13px}.notice p{font-size:12px;margin:6px 0 0;color:#776940}.notice small{margin-top:8px}.review-progress{display:grid;grid-template-columns:auto 1fr;gap:8px 14px;align-items:center;font-size:12px;padding:10px 0 22px}.review-progress strong{font-size:24px;letter-spacing:-1px}.review-progress progress{grid-column:1/-1;width:100%;height:8px;accent-color:#8f2439}.filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.filters label{margin:0;font-size:11px}.filters input,.filters select{padding:12px;font-size:13px}.search-field{grid-column:1/-1}.list-heading{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin:25px 0 16px}.list-heading span{font-size:11px;color:var(--muted)}.client-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.client-card{background:white;border:1px solid var(--line);border-radius:16px;padding:23px;min-width:0;overflow-wrap:anywhere}.client-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.sequence{background:#f6efdf;color:#9b8742;border-radius:8px;padding:8px 11px;font-size:11px;font-weight:700}.badge{background:#fff2dc;color:#8b6521;border-radius:20px;padding:7px 10px;font-size:10px}.badge.done{background:#e5f1e5;color:#376844}.client-card h2{font-size:21px;line-height:1.3;margin:0 0 9px}.client-address{font-size:12px;line-height:1.6;min-height:40px}.client-address strong{font-weight:500}.client-tags{display:flex;gap:6px;flex-wrap:wrap}.client-tags span{background:#f4f4ed;border-radius:6px;font-size:10px;padding:7px 9px;color:#6f786b}dl{margin:17px 0;font-size:12px}dl>div{display:grid;grid-template-columns:95px 1fr;gap:12px;border-bottom:1px solid #f1f2eb;padding:9px 0}dt{color:var(--muted)}dd{margin:0;line-height:1.5}.debt-note{background:#f8f5eb;padding:12px;border-radius:8px;font-size:11px;margin:17px 0}.debt-note small{font-size:10px;margin-top:3px}.card-actions{display:flex;gap:10px;flex-wrap:wrap}.card-actions button{font-size:12px;flex:1}.button-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:12px 20px;color:var(--red);font-size:12px;text-decoration:none}.mobile-actions{display:flex;gap:10px;margin-top:18px}.mobile-actions button{font-size:12px}#client-status{font-size:12px;margin:12px 0;color:var(--red)}#load-more{display:block;margin:25px auto}#load-more[hidden]{display:none}.back-top{position:fixed;bottom:25px;right:24px;border-radius:50%;width:47px;height:47px;background:var(--red);color:white;box-shadow:0 3px 12px #73213733;z-index:5;padding:0;font-size:22px}dialog{border:1px solid var(--line);border-radius:18px;width:min(790px,95vw);max-height:90dvh;padding:27px;box-shadow:0 20px 90px #1b291c33}dialog::backdrop{background:#14221888}.dialog-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.dialog-title h2{margin:8px 0 20px;font-size:25px}.dialog-title button{padding:6px 12px;font-size:24px}fieldset{border:0;padding:0;margin:0}fieldset:disabled{opacity:.85}fieldset h3{margin:25px 0 0;padding-top:22px;border-top:1px solid var(--line);font-size:16px}fieldset legend{font-size:13px}.check-row{display:flex;gap:25px}.check-row label,.review-checks label,.inline-check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.5}.check-row input,.review-checks input,.inline-check input{width:18px;height:18px;margin:0;accent-color:var(--red);flex-shrink:0}.source-list>div{grid-template-columns:1fr 1fr;font-size:11px}.source-list dd{overflow-wrap:anywhere}.review-checks{border-top:1px solid var(--line);margin-top:20px;padding-top:6px}.delivery-cards{max-width:600px;margin:auto;grid-template-columns:1fr}#clients-root{max-width:1200px}.delivery-cards .client-card{border-left:4px solid #d8b154}@media(max-width:1000px){.client-cards{grid-template-columns:1fr}.filters{grid-template-columns:1fr 1fr}}@media(max-width:650px){.page-title{display:block}.page-title button{margin-bottom:10px}.notice{padding:16px}.filters{gap:12px}.client-card{padding:20px}.list-heading span{display:none}.mobile-actions{flex-direction:column}.mobile-actions button{min-height:46px}dialog{padding:20px;max-height:94dvh}.source-list>div{display:block}.source-list dd{margin-top:6px}.card-actions button{min-height:45px}.back-top{bottom:18px;right:17px}.review-progress{grid-template-columns:1fr}.review-progress strong{font-size:22px}}

#operation-message:not(:empty){padding:1rem;margin:.75rem 0;border:2px solid currentColor;border-radius:.6rem;font-weight:650}#factory-feed li{margin:.5rem 0}.rejection{padding:.75rem;border-left:.25rem solid #a51d2d;background:#fff5ef}.rejection form{display:grid;gap:.65rem;padding:.75rem 0}
.client-header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#factory-production summary{cursor:pointer;padding:.75rem 0;font-weight:650}
#factory-production fieldset{min-width:0;margin:.85rem 0;padding:.7rem}
.flavor-row{display:flex;align-items:center;justify-content:space-between;gap:.35rem;min-height:3rem;border-bottom:1px solid #e8e5dd}
.flavor-row label{display:flex;align-items:center;gap:.4rem;margin:0}
.flavor-row label input{width:auto;margin:0}
.flavor-row [data-quantity]:not([hidden]){display:flex;align-items:center;gap:.15rem}
.flavor-row [data-quantity] input{width:3.2rem;text-align:center;margin:0;padding:.45rem}
.flavor-row [data-step]{padding:.35rem .55rem;min-height:2.25rem}
#production-history ul{padding-left:1.3rem}#production-history li{margin:.4rem 0}
