.ws-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid var(--border);margin:0 0 20px;padding-bottom:8px}
.ws-tabs button{white-space:nowrap;background:transparent;border:0;padding:10px 14px;border-radius:6px;color:#63736b;font-weight:600;font-size:13px}
.ws-tabs button[aria-selected=true]{background:#dfeae4;color:#35584a}
.ws-tabs button:hover{background:#edf2ef}
.ws-tabs button[aria-selected=true]:hover{background:#dfeae4}
.ws-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px;margin-bottom:22px;align-items:end;background:#eef3ef;border:1px solid #dde6df;border-radius:6px}
.ws-field{display:flex;flex-direction:column;gap:8px;min-width:0;color:#54665b;font-size:12px;font-weight:600}
.ws-field>span{line-height:1.3}
.ws-field input,.ws-field select,.ws-field textarea{width:100%;min-width:0;min-height:40px;border:1px solid #cdd8d0;border-radius:4px;background:#fff;color:#2c3e34;padding:8px 10px;font:400 13px var(--font-body, sans-serif);letter-spacing:0}
.ws-field .select-wrap{width:100%}
.ws-field .select-wrap select{padding-right:32px;text-overflow:ellipsis}
.ws-field input:focus,.ws-field select:focus,.ws-field textarea:focus{outline:2px solid #8ca99a;outline-offset:1px}
.ws-field input:disabled,.ws-field select:disabled{background:#f1f3f1;color:#748177}
.ws-field input[type=checkbox]{width:18px;min-height:18px;height:18px;accent-color:#4a6860}
.ws-field.ws-checkbox{flex-direction:row;align-items:center;gap:10px}
.ws-checkbox input[type=checkbox]{flex:0 0 18px;margin:0;padding:0}
.ws-checkbox>span{min-width:0}
.ws-reset{display:flex;justify-content:flex-end;align-items:center;gap:8px;min-height:40px;grid-column:-2/-1}
.ws-reset .icon-button{background:#dce8e0;color:#4a6860;border:1px solid #b5c8bc}
.ws-actions{display:flex;gap:8px;justify-content:flex-end;align-items:center;flex-wrap:wrap}
.ws-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}
.ws-toolbar h2,.ws-section h2{font-size:var(--section-title-size);font-weight:var(--section-title-weight);color:var(--section-title);margin:0}
.ws-toolbar h2 span{font-size:12px;color:#728278;font-weight:400;margin-left:8px}
.ws-table{max-height:570px;overflow:auto;border:1px solid #e0e6e1;border-radius:5px;overscroll-behavior:contain}
.ws-table table{min-width:100%;width:max-content;border-collapse:separate;border-spacing:0;font-size:12px}
.ws-table th{position:sticky;top:0;background:#f1eee9;color:#746047;font-weight:600;z-index:2;text-align:left;white-space:nowrap;padding:12px 14px;border-bottom:1px solid #ddd6cc}
.ws-table td{max-width:340px;min-width:90px;padding:11px 14px;border-bottom:1px solid #edf0ed;white-space:normal;overflow-wrap:anywhere;vertical-align:middle}
.ws-table tr:hover td{background:#f4f7f4}
.ws-table td button{padding:0;border:0;background:none;text-align:left;color:#3e6453;font-weight:600;font-size:12px}
.ws-table td.ws-number{text-align:right;font-variant-numeric:tabular-nums}
.ws-table td .icon-button{padding:7px;min-width:32px;min-height:32px}
.ws-empty{padding:45px 20px;text-align:center;border-top:1px solid #e1e7e1;color:#78867d}
.ws-empty svg{width:30px;height:30px;margin-bottom:10px;color:#a18d74}
.ws-empty p{font-size:13px;margin:8px 0}
.ws-caption{color:#748179;font-size:12px;margin:12px 0}
.ws-notice{display:flex;gap:10px;align-items:center;padding:12px 16px;background:#edf3ef;border-left:3px solid #6f9480;font-size:13px;color:#466454;margin-bottom:20px}
.ws-notice svg{width:17px;flex-shrink:0}
.ws-notice.is-error{background:#faf1ed;border-color:#b56e58;color:#854c3d}
.ws-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;background:#eef3ef;border:1px solid #dfe8e2;border-radius:6px;padding:22px;margin:0 0 24px}
.ws-kpis small{display:block;color:#65786b;font-size:12px;margin-bottom:10px}
.ws-kpis strong{font-weight:600;font-size:25px;color:#395d49}
.ws-badge{display:inline-flex;align-items:center;gap:5px;border-radius:4px;background:#edf3ef;color:#456c55;padding:4px 7px;white-space:nowrap;font-size:11px}
.ws-badge.warn{background:#f4eee4;color:#886d40}.ws-badge.error{background:#f8ece8;color:#a05f4c}
.ws-section{margin:26px 0}.ws-section h2{margin-bottom:16px}
.ws-load{display:flex;justify-content:center;padding:14px}
.ws-dialog{border:1px solid #d3ddd6;border-radius:8px;width:min(780px,calc(100vw - 28px));max-height:90vh;padding:0;color:#334a3c;box-shadow:0 20px 80px #1d342533}
.ws-dialog::backdrop{background:#20362c66}
.ws-dialog header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px 24px;border-bottom:1px solid #e2e6e2;position:sticky;top:0;background:white;z-index:3}
.ws-dialog h2{font-size:var(--section-title-size);font-weight:var(--section-title-weight);color:var(--section-title);margin:0;overflow-wrap:anywhere}
.ws-dialog-body{padding:22px 24px;overflow:auto}
.ws-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px}
.ws-form footer,.ws-form .ws-wide{grid-column:1/-1}
.ws-dialog footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:20px}
.ws-dialog p{font-size:13px;line-height:1.6}
.ws-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 22px;font-size:13px}
.ws-detail div{min-width:0;overflow-wrap:anywhere}.ws-detail dt{color:#7f725f;font-size:11px;margin-bottom:6px}.ws-detail dd{margin:0;line-height:1.5}
.ws-user-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:20px}.ws-user-actions button{width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;justify-content:center}.ws-user-actions button:only-child{grid-column:1/-1}
.ws-user-actions button svg{flex-shrink:0}
.ws-lot{display:flex;align-items:center;gap:16px;border-bottom:1px solid #e1e6e1;padding:16px 0}.ws-lot>div{flex:1;min-width:0}.ws-lot h3{font-size:14px;margin:0 0 5px}.ws-lot p{font-size:12px;margin:0;color:#748077}.ws-lot>svg{color:#8b7355;width:24px}
@media(min-width:1600px){.ws-table{max-height:650px}}
@media(max-width:1000px){.ws-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-toolbar{align-items:flex-start}.ws-kpis{gap:16px}}
@media(max-width:600px){.ws-filters{padding:14px;gap:12px}.ws-toolbar{flex-direction:column;align-items:stretch}.ws-actions .button{font-size:12px;padding:8px 10px}.ws-kpis{grid-template-columns:1fr;gap:14px;padding:16px}.ws-kpis>div{display:flex;align-items:baseline;justify-content:space-between}.ws-kpis strong{font-size:20px}.ws-kpis small{margin:0}.ws-form,.ws-detail{grid-template-columns:1fr}.ws-dialog-body{padding:18px}.ws-lot{flex-wrap:wrap}.ws-table{max-height:480px}}
