.components-open{width:100%;margin-top:14px;min-height:44px}
.components-table{scroll-margin-top:145px}.components-table caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.components-dialog{width:min(1000px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;overflow:auto;border:1px solid #d5ddcf;border-radius:18px;background:#fff;color:#293527;box-shadow:0 25px 100px #14200d40}
.components-dialog::backdrop{background:#15211090}
.components-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #e3e8df;background:#fff;position:sticky;top:0;z-index:2}
.components-header h2{margin:6px 0;font-size:22px;line-height:1.3}.components-header p{margin:0;color:#5e6d56;font-size:13px;overflow-wrap:anywhere}.components-header .button{flex-shrink:0}
.components-content{padding:18px 24px 24px}.components-intro,.components-notes{font-size:13px;line-height:1.6;color:#52614d}.components-intro{margin:0 0 18px}
.components-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:20px}.components-totals button{padding:12px;text-align:left;font:inherit;cursor:pointer;border:1px solid #d4dfce;border-radius:10px;background:#f6f8f3;color:inherit;min-height:72px}.components-totals span{display:block;font-size:12px;margin-bottom:6px}.components-totals strong{font-size:20px}.components-totals [aria-pressed=true]{background:#dce8cf;border-color:#809b67}
.components-filters{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:14px}.components-filters label{display:grid;gap:7px;font-size:13px}.components-filters input,.components-filters select{width:100%;min-width:0;min-height:44px;border:1px solid #cad5c5;border-radius:9px;padding:10px 12px;font:inherit;color:inherit;background:#fff}
.components-count{font-size:12px;color:#52614d;margin:18px 0 10px}.components-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.5}.components-table th{padding:10px 12px;text-align:left;background:#f3f6ef;font-weight:600}.components-table th:first-child{width:48%}.components-table th:last-child{width:125px;text-align:right}.components-table td{padding:14px 12px;border-bottom:1px solid #e0e7d9;vertical-align:top;overflow-wrap:anywhere}.components-table td>strong,.components-table td>span,.components-table td>small{display:block}.components-table td>strong{font-size:14px;margin-bottom:4px}.components-table small{font-size:12px;color:#52614d;margin-top:4px}.components-table .components-group{color:#35614d;margin:0 0 4px}.components-size{margin-top:6px}.components-quantity{text-align:right;white-space:nowrap;font-weight:700;font-variant-numeric:tabular-nums}
.components-pagination{display:flex;justify-content:center;align-items:center;gap:16px;padding:20px 0 4px;font-size:13px}.components-pagination[hidden],.components-empty[hidden],#components-review-note[hidden]{display:none}.components-empty{padding:30px 10px;text-align:center;color:#52614d;font-size:14px}.components-notes{padding-top:14px;border-top:1px solid #e3e8df;margin-top:18px}.components-notes p{margin:6px 0}.components-dialog .button{min-height:44px}.components-dialog :is(button,input,select):focus-visible{outline:3px solid #809b67;outline-offset:3px}.components-totals button:hover{background:#eaf0e3}
@media(max-width:640px){.components-dialog{width:100vw;max-height:100dvh;height:100dvh;border:0;border-radius:0}.components-header{padding:14px 16px;align-items:flex-start;gap:10px}.components-header h2{font-size:18px}.components-header .button{padding:9px 12px;font-size:12px}.components-content{padding:16px}.components-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.components-filters{grid-template-columns:1fr}.components-filters input,.components-filters select{font-size:16px}.components-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.components-table,.components-table tbody,.components-table tr,.components-table td{display:block;width:auto}.components-table tr{border:1px solid #d8e0d2;border-radius:10px;margin-bottom:12px;padding:12px}.components-table td{border:0;padding:0}.components-table td+td{margin-top:10px}.components-table .components-quantity{text-align:left;border-top:1px solid #e3e8df;padding-top:10px;display:flex;justify-content:space-between}.components-quantity:before{content:'Количество';font-weight:400;color:#52614d}}
.components-dialog [hidden]{display:none!important}.components-tools,.components-form-actions,.components-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.components-tools{margin-bottom:8px}.components-status{font-size:13px;line-height:1.5;color:#35614d;min-height:20px;margin:8px 0 16px}.components-status.is-error{color:#9a391e}.components-form{padding:16px;background:#f3f6ef;border:1px solid #d4dfce;border-radius:12px;margin:0 0 20px;scroll-margin-top:150px}.components-form fieldset{border:0;margin:0;padding:0;min-width:0}.components-form legend{font-weight:600;font-size:18px;margin-bottom:8px}.components-hint{font-size:13px;line-height:1.5;color:#52614d;margin:0 0 16px}.components-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.components-form-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px}.components-wide{grid-column:1/-1}.components-form :is(input,select,textarea){box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #cad5c5;border-radius:9px;padding:10px 12px;font:inherit;font-size:16px;color:inherit;background:#fff}.components-form textarea{resize:vertical}.components-optional{font-size:12px;color:#52614d}.components-form-actions{margin-top:16px}.components-manual-manager{border:1px solid #d4dfce;border-radius:10px;margin:0 0 20px;padding:0 12px}.components-manual-manager summary{cursor:pointer;min-height:44px;box-sizing:border-box;padding:12px 0;font-size:13px;color:#335d49}.components-manual-manager[open] summary{border-bottom:1px solid #e0e7d9}#components-manual-rows{max-height:360px;overflow:auto}.components-manual-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid #e0e7d9}.components-manual-row:last-child{border:0}.components-manual-row>div:first-child{min-width:0;overflow-wrap:anywhere}.components-manual-row strong,.components-manual-row span{display:block;font-size:13px;line-height:1.5}.components-row-actions{flex-shrink:0}.components-table .components-manual-badge{color:#335d49}.components-totals strong{overflow-wrap:anywhere;font-size:18px}.components-dialog :is(button,input,select,textarea,summary):focus-visible{outline:3px solid #809b67;outline-offset:3px}
@media(max-width:640px){.components-form{padding:14px;scroll-margin-top:145px}.components-form-grid{grid-template-columns:1fr}.components-wide{grid-column:auto}.components-manual-row{align-items:flex-start;flex-direction:column;gap:8px}.components-row-actions{width:100%}.components-row-actions button{flex:1}.components-form-actions .button{flex:1}.components-tools .button{flex:1}.components-optional{display:inline}}
