:root{font-family:system-ui,sans-serif;color:#233243;background:#fff9f4;font-size:16px}*{box-sizing:border-box}body{margin:0}header{background:#a73f10;color:white;padding:20px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}header b{font-size:26px}header span{font-size:16px;letter-spacing:2px}main{max-width:1000px;margin:auto;padding:20px}h1{font-size:26px}button{background:#234c68;color:white;border:0;border-radius:9px;padding:13px 18px;cursor:pointer;font:inherit;font-weight:650;margin:4px}button:disabled{opacity:.5;cursor:wait}.danger{background:#a42c2c}input,select,textarea{display:block;width:100%;border:1px solid #8596a3;border-radius:8px;padding:12px;font:inherit;background:white;color:#233243;margin:6px 0 15px}input[type=checkbox]{display:inline;width:auto;margin:8px}label{display:block;font-weight:600}small,p{line-height:1.5}.card,form,fieldset{background:white;border:1px solid #d4dce2;border-radius:12px;padding:18px;margin:12px 0}nav{display:flex;gap:5px;flex-wrap:wrap}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.muted{color:#526271}.row{display:flex;gap:12px;flex-wrap:wrap}.row>*{flex:1;min-width:120px}#notice{position:fixed;bottom:16px;left:5%;right:5%;background:#233243;color:white;padding:15px;border-radius:10px;display:none;z-index:10}table{width:100%;border-collapse:collapse}td,th{padding:9px;text-align:left;border-bottom:1px solid #ddd}.scroll{overflow:auto}details{margin:12px 0}summary{cursor:pointer;font-weight:bold}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #e88036;outline-offset:2px}.chip{display:inline-block;padding:4px 8px;background:#eef3f5;border-radius:6px;margin:3px}

.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;align-items:end}.sheet-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:18px}.chemical-table th{background:#cff9f9;color:#9f201b}.chemical-table td:first-child{background:#fffdb0}.chemical-table tr:last-child{font-weight:bold;background:#ffd34f}.production-table th{background:#b9d897;white-space:nowrap}.production-table td{background:#fff0c1;white-space:nowrap}.production-table tbody tr:last-child td{border-bottom:2px solid #ad732e}td:not(:first-child){font-variant-numeric:tabular-nums}@media(max-width:700px){.sheet-layout{grid-template-columns:1fr}}@media print{@page{size:landscape;margin:8mm}body{background:white;font-size:9px}header,nav,button,.filters,label,#notice{display:none!important}main{max-width:none;padding:0}h1,h2{font-size:15px}.grid{display:flex}.grid .card{padding:6px;margin:4px}.sheet-layout{grid-template-columns:1fr 3fr}.scroll{overflow:visible}td,th{padding:4px}thead{display:table-header-group}tr{break-inside:avoid}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.sheet-layout>section{min-width:0}.scroll{max-width:100%}

.update-photos{display:flex;gap:10px;flex-wrap:wrap}.update-photos img{max-width:100%;width:440px;height:auto;object-fit:contain;border-radius:8px}
