.fam-dialog{box-sizing:border-box;width:min(1260px,97vw);max-width:97vw;max-height:93dvh;padding:0;border:1px solid #a7b4ad;border-radius:12px;background:#f6f8f5;color:#223d34;font:15px/1.5 Tahoma,sans-serif}
.fam-dialog::backdrop{background:#102b28a6}.fam-dialog *{box-sizing:border-box}
.fam-head,.fam-tools,.fam-history,.fam-choices{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.fam-head{justify-content:space-between;background:#224b40;color:white;padding:12px 18px}.fam-head h2{font-size:1.25rem;margin:0}
.fam-dialog :is(button,select,input){font:inherit;min-height:42px;border:1px solid #a4b2ab;border-radius:5px;padding:5px 10px;background:white;color:#233b33;max-width:100%}
.fam-dialog button{cursor:pointer}.fam-dialog button:disabled{opacity:.55;cursor:default}.fam-dialog button[aria-pressed=true],.fam-history button:last-child:not(:disabled){background:#245b48;color:white}
.fam-tools,.fam-history{padding:10px 15px}.fam-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,25%);align-items:start;padding:0 14px 12px;gap:12px}
.fam-stage{background:white;border:1px solid #b5c4bd;min-width:0}.fam-stage svg{display:block;width:100%;height:auto}.fam-stage [data-fam]{cursor:pointer}.fam-current polyline{stroke-width:.72}
.fam-panel{background:white;border:1px solid #c4cec7;border-radius:6px;padding:12px;min-width:0}.fam-panel :is(h3,h4,p){margin:0 0 7px}.fam-panel h4{margin-top:12px}.fam-panel p{font-size:.92em}.fam-panel form{display:grid;gap:7px;margin:10px 0}.fam-panel label{display:flex;align-items:center;justify-content:space-between;gap:5px}.fam-panel input{width:5.2em}
.fam-wait,.fam-status{color:#944710}.fam-status:not(:empty){padding:0 15px 12px}.fam-dialog [hidden],.fam-prints{display:none}
@media(max-width:760px){.fam-dialog{width:100vw;max-width:100vw;max-height:96dvh}.fam-body{grid-template-columns:1fr;padding:0 8px 8px}.fam-tools{padding:8px}.fam-head{padding:8px 12px}.fam-panel{padding:10px}.fam-tools select:first-child{flex-basis:100%}.fam-dialog :is(button,select,input){min-height:44px}}
@page familyA3{size:420mm 297mm;margin:0}
@media print{body.fam-open{display:block!important;width:420mm!important;margin:0!important;padding:0!important;background:white!important}body.fam-open>:not(.fam-prints){display:none!important}.fam-prints{display:block!important;page:familyA3}.fam-prints article{display:block;width:420mm;height:297mm;padding:0;margin:0;break-after:page;overflow:hidden}.fam-prints article:last-child{break-after:auto}.fam-prints svg{display:block;width:420mm;height:297mm;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
