.brewery{--amber:#bd8135;--amber-dark:#805b25;--pale:#fcf7e9}.brewery main{max-width:1800px}.brewery .rl-intro h1 em{color:#9a7b43}.br-mission{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 22px;border:1px solid #e4dfc8;background:#faf7ec;border-radius:9px;margin-bottom:20px}.br-mission label{font-size:9px;text-transform:uppercase;letter-spacing:1.3px;display:block;margin-bottom:6px;color:#85764c}.br-mission select{padding:5px 24px 5px 0;border:0;background:none;color:var(--ink);font-weight:600;font-size:15px;max-width:100%}.br-mission p{font-size:11px;color:#797d65;max-width:740px;line-height:1.6;margin:6px 0 0}.br-lot{text-align:right;min-width:210px}.br-lot strong,.br-lot small{display:block}.br-lot strong{font-size:12px}.br-lot small{font-size:9px;color:var(--muted);margin:5px 0 8px}.br-lot button{font-size:10px}.br-layout{display:grid;grid-template-columns:230px minmax(0,1fr) 290px;gap:16px;align-items:start}.br-scroll{max-height:calc(100vh - 180px);min-height:570px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c8cdb4 #fafbf7;overscroll-behavior:contain}.br-main-scroll{min-height:900px;max-height:calc(100vh + 120px);padding-bottom:18px}.br-steps{padding:10px 9px;min-height:650px}.br-step{display:flex;gap:11px;align-items:center;width:100%;text-align:left;background:none;border-color:transparent;margin:3px 0;padding:12px 9px}.br-step>span:first-child{display:grid;place-items:center;border:1px solid #dce3cf;border-radius:50%;width:27px;height:27px;flex-shrink:0;color:#8f9a7c;font-size:10px}.br-step strong{display:block;font-size:11px;font-weight:500}.br-step small{font-size:9px;color:#929c82;display:block;margin-top:4px}.br-step.current{background:#f9f1dc;border-color:#e5d8b6}.br-step.current>span:first-child{background:#bc883d;color:white;border-color:#bc883d}.br-step.done>span:first-child{background:#e5efe2;color:var(--green)}.br-left-note{padding:13px 15px;font-size:10px;color:#8c967c;line-height:1.7;border-top:1px solid var(--line)}.br-toolbar{padding:12px 15px;display:flex;flex-wrap:wrap;gap:7px;align-items:center;position:sticky;top:0;background:#fbfcf7f5;z-index:3;border-bottom:1px solid var(--line)}.br-toolbar button{font-size:10px;padding:9px 10px}.br-speed{font-size:9px;color:var(--muted);margin-left:auto}.br-speed select{font-size:10px;padding:5px;border:1px solid var(--line);border-radius:4px;color:var(--ink);background:white}.br-live{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line)}.br-live>div{padding:17px 13px;border-right:1px solid var(--line)}.br-live small{display:block;font-size:8px;letter-spacing:.5px;color:#8c987c;text-transform:uppercase}.br-live strong{display:block;font-size:23px;font-weight:500;margin-top:8px;white-space:nowrap}.br-live i{font-size:10px;font-style:normal;color:#94a27f;margin-left:3px}.br-progress{padding:14px 18px 9px;background:#fcfcf7}.br-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#80906f;margin-bottom:6px}.br-progress progress{width:100%;height:7px;accent-color:#b8863c;display:block}.br-status{margin:0;padding:13px 18px;background:#f8f1df;color:#8f7447;font-size:11px;line-height:1.7;border-bottom:1px solid #eae1c9;min-height:43px}.br-stage{background:linear-gradient(#fcfdf8,#f5f8ee);padding:18px;min-height:440px}.br-stage h3{font:23px Georgia,serif;margin:3px 0 12px;font-weight:400}.br-caption{font-size:11px;line-height:1.85;color:var(--muted);margin:8px 0 15px}.br-plant{width:100%;display:block}.br-plant text{font-family:'Segoe UI',Arial,sans-serif}.br-plant [data-equipment]{cursor:pointer}.br-plant [data-equipment]:hover rect.br-unit,.br-plant [data-equipment]:focus rect.br-unit{stroke:#b67f32;stroke-width:2}.br-plant .br-flow{stroke-dasharray:8 6}.br-plant.active .br-flow{animation:flow 2s linear infinite}.br-legend{display:flex;gap:17px;font-size:9px;color:#839275;padding:10px 4px;flex-wrap:wrap}.br-legend span:before{content:'';display:inline-block;width:7px;height:7px;background:#dce3d2;border-radius:50%;margin-right:5px}.br-legend span:nth-child(2):before{background:#bd893d}.br-legend span:nth-child(3):before{background:#32816b}.br-operations{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.br-note-card{background:#fffffc;border:1px solid #e2e6d7;border-radius:7px;padding:15px;min-width:0}.br-note-card h4{font-size:11px;margin:0 0 7px;font-weight:600}.br-note-card p{font-size:11px;color:#7c8d6c;line-height:1.8;margin:0}.br-tank{display:block;width:100%;height:310px}.br-tag{font-size:9px;padding:5px 9px;background:#ebf0df;border:1px solid #dce5cb;border-radius:4px;display:inline-block;color:#6e825b}.br-chem-equation{font:clamp(16px,2vw,25px) Georgia,serif;text-align:center;background:#fffdf6;padding:23px 8px;border:1px solid #e9dec3;border-radius:7px;color:#966b2f;margin-bottom:15px}.br-chem-table,.br-table{width:100%;border-collapse:collapse;font-size:11px;line-height:1.7}.br-chem-table th,.br-chem-table td,.br-table th,.br-table td{text-align:left;border-bottom:1px solid #e5e9dc;padding:10px 6px;font-weight:400}.br-chem-table th,.br-table th{font-size:9px;color:#859074}.br-chart{display:block;width:100%;height:auto;background:#fffefa;border:1px solid #e3e5d5;border-radius:6px;margin:12px 0}.br-chart text{font:10px 'Segoe UI',Arial,sans-serif;fill:#859275}.br-chart-legend{font-size:10px;color:var(--muted);line-height:1.7}.br-transfer{padding:17px 18px;background:#fffdf7;border-top:1px solid #e8e1cc;border-bottom:1px solid #e8e1cc;display:flex;gap:14px;justify-content:space-between;align-items:center}.br-transfer strong{font-size:11px}.br-transfer p{font-size:10px;color:#8d957c;line-height:1.8;margin:5px 0 0}.br-transfer>div:last-child{display:flex;flex-wrap:wrap;gap:7px;justify-content:end;flex-shrink:0;max-width:42%}.br-transfer button{font-size:10px}.br-journal{padding:18px 18px 0}.br-journal h3{font-size:12px;margin:0 0 10px}.br-journal h3 span{font-size:9px;color:#94a281;font-weight:400;margin-left:10px}.br-log{padding:9px 0;border-bottom:1px solid #edf0e5;display:grid;grid-template-columns:65px 1fr;gap:10px;font-size:10px;color:#75896b;line-height:1.8}.br-log time{font-size:9px;color:#a0aa90}.br-section{padding:19px 17px;border-bottom:1px solid var(--line)}.br-section h3{font-size:12px;font-weight:600;margin:0 0 15px}.br-section p{font-size:10px;line-height:1.8;color:#899879}.br-section button{font-size:10px;margin-top:8px}.br-section label{display:block;font-size:10px;color:#7d8c6d;line-height:1.8;margin:14px 0}.br-section label:first-child{margin-top:0}.br-section output{float:right;color:#8e7546;font-variant-numeric:tabular-nums}.br-section input[type=range]{display:block;width:100%;accent-color:#8ba571;margin:9px 0 3px}.br-section input[type=number],.br-section select{display:block;width:100%;padding:8px;border:1px solid #dce5d0;border-radius:4px;background:#f9fbf5;color:var(--ink);margin-top:5px}.br-section label.br-check{display:flex;align-items:center;gap:7px}.br-check input{accent-color:#8ba571}.br-section textarea{width:100%;max-width:100%;min-height:90px;resize:vertical;border:1px solid #dae3d0;border-radius:5px;padding:10px;font:11px/1.8 'Segoe UI',Arial;background:#fafcf6;color:var(--ink)}.br-section input:disabled{opacity:.5}.br-facts{margin:0}.br-facts div{display:flex;justify-content:space-between;gap:9px;align-items:baseline;border-bottom:1px solid #ecf0e4;padding:10px 0;font-size:10px}.br-facts dt{color:#8a9877}.br-facts dd{margin:0;text-align:right;color:#597051;font-variant-numeric:tabular-nums}.br-issues{font-size:10px;line-height:1.8;color:#98713d;padding-left:17px;margin:10px 0}.br-qc-ok{color:var(--green);font-size:11px}.br-qc-wait{color:#9c7a46;font-size:11px}.br-sample{font-size:10px;color:#879671;line-height:1.8;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}.br-objectives{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}.br-objective{background:#fffdf7;padding:14px;border:1px solid #e3e7d5;border-radius:6px;font-size:11px;line-height:1.8}.br-objective span{display:block;font-size:10px;color:#8b9875}.br-objective.good{border-color:#b7d0b0;background:#f3f9eb}.br-table-wrap{overflow-x:auto}.br-result-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.br-store-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:12px 0;font-size:12px}.br-store-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.br-store-row button{font-size:11px}.br-dialog-actions{display:flex;justify-content:end;gap:9px;margin-top:20px}.brewery dialog{max-width:760px;width:calc(100% - 32px);max-height:85vh;border:1px solid #dce4d2;border-radius:12px;color:var(--ink);padding:28px;line-height:1.8}.brewery dialog::backdrop{background:#243e3655;backdrop-filter:blur(3px)}.brewery dialog h2{font:28px Georgia,serif;font-weight:400;margin-top:0}.brewery dialog h3{font-size:14px;margin-top:22px}.brewery dialog p,.brewery dialog li{font-size:12px;color:#748769}.brewery dialog a{overflow-wrap:anywhere}.brewery .rl-footer button{font-size:9px;border:0;background:none;padding:0;color:#718b60}.br-print-report{display:none}.br-formula-strip{display:flex;align-items:center;justify-content:space-around;padding:15px;background:#fffef8;border:1px solid #e9e1cb;border-radius:6px;font-size:11px;color:#9b7f4b;gap:8px;flex-wrap:wrap}.br-bubble{animation:bubble 2s ease-in-out infinite}.paused .br-bubble{animation-play-state:paused}@keyframes flow{to{stroke-dashoffset:-28}}@keyframes bubble{0%{transform:translateY(25px);opacity:0}30%{opacity:.6}100%{transform:translateY(-60px);opacity:0}}
@media(min-width:1500px){.br-layout{grid-template-columns:250px minmax(0,1fr) 315px}.br-steps{min-height:720px}.br-step{padding:15px 11px}}
@media(max-width:1120px){.br-layout{grid-template-columns:210px minmax(0,1fr)}.br-right{grid-column:1/-1}.br-right>.br-scroll{display:grid;grid-template-columns:1fr 1fr;min-height:0;max-height:650px}.br-right .br-section{border-right:1px solid var(--line)}.br-stage{padding:14px}.br-toolbar{gap:6px}.br-transfer{align-items:start}.br-transfer>div:last-child{max-width:44%}}
@media(max-width:680px){.br-layout{display:flex;flex-direction:column}.br-left,.br-center,.br-right{width:100%}.br-steps{min-height:0;max-height:220px;display:grid;grid-template-columns:1fr 1fr}.br-step{padding:9px 5px}.br-step strong{font-size:10px}.br-step small{font-size:8px}.br-step>span:first-child{width:23px;height:23px;font-size:9px}.br-left-note{font-size:9px}.br-mission{padding:13px;align-items:start;gap:10px}.br-mission p{font-size:10px}.br-mission select{font-size:12px}.br-lot{min-width:95px}.br-lot small{max-width:110px;font-size:8px}.br-lot button{padding:7px;font-size:9px}.br-main-scroll{min-height:850px;max-height:1100px}.br-live>div{padding:14px 8px}.br-live strong{font-size:19px}.br-live small{font-size:7px}.br-live i{font-size:8px}.br-toolbar button{font-size:9px;padding:8px}.br-toolbar{padding:10px}.br-speed{font-size:8px}.br-transfer{display:block;padding:15px}.br-transfer>div:last-child{max-width:none;justify-content:start;margin-top:10px}.br-operations,.br-objectives{grid-template-columns:1fr}.br-stage{min-height:400px;padding:12px}.br-stage h3{font-size:21px}.br-caption{font-size:10px}.br-plant{min-width:400px}.br-plant-wrap{overflow:auto}.br-tank{height:270px}.br-right>.br-scroll{display:block;max-height:700px}.br-chem-table,.br-table{font-size:9px}.br-chem-table td{padding:8px 3px}.br-log{grid-template-columns:55px 1fr;font-size:9px}.br-objective{font-size:10px}.brewery dialog{padding:21px}.br-section{padding:16px}.br-lot strong{font-size:10px}}
@media(prefers-reduced-motion:reduce){.br-bubble,.br-flow{animation:none!important}}
@media print{@page{size:A4;margin:15mm}.brewery{background:white;color:#111;font:11pt/1.6 Arial}.brewery .rl-top,.brewery main>section:not(.br-print-report),.br-layout,.brewery .rl-footer,.brewery dialog{display:none!important}.brewery main{padding:0;max-width:none}.br-print-report{display:block}.br-print-report h1{font-size:23pt}.br-print-report h2{font-size:14pt;margin-top:22pt}.br-print-report table{width:100%;border-collapse:collapse;font-size:9pt}.br-print-report th,.br-print-report td{border-bottom:1px solid #ccc;text-align:left;padding:6pt}.br-print-report tr{break-inside:avoid}.br-print-report p{font-size:10pt}.br-print-report .report-note{white-space:pre-wrap}}
.brewery button.primary{background:#207c6c;color:#fff;border-color:#207c6c}.br-progress progress::-webkit-progress-bar{background:#e6e8d8;border-radius:4px}.br-progress progress::-webkit-progress-value{background:#b88a45;border-radius:4px}
