.tm-panel{min-width:0;max-width:100%;color:#153e36}.tm-modes{display:flex;gap:8px;margin:0 0 16px;flex-wrap:wrap}.tm-modes button{background:#fff;color:#31554d;border:1px solid #c5dcd2}.tm-modes button.active{background:#e3f4ec;border-color:#54a785;color:#155a40;font-weight:700}.tm-heading,.tm-card-top,.tm-dialog-head,.tm-dialog-actions,.tm-card-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tm-heading h3,.tm-dialog-head h3{margin:0}.tm-heading p,.tm-form-note,.tm-catalog-preview p{color:#55736a;font-size:14px}.tm-flow{margin:14px 0;padding:13px 16px;background:#edf8f2;border:1px solid #c4e3d2;border-radius:9px;font-size:13px;line-height:1.8}.tm-flow span{padding:0 8px;color:#679881}.tm-filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:16px}.tm-filters label:first-child{flex:1;min-width:240px}.tm-filters label{display:grid;gap:5px}.tm-card{margin:12px 0;background:#fff;border:1px solid #c6ded1;border-radius:11px;overflow:hidden}.tm-card-top{padding:13px 17px;background:#eaf6ef;border-bottom:1px solid #d2e8dc}.tm-card-top>div{display:flex;gap:15px;align-items:center;flex-wrap:wrap}.tm-amount{margin-left:auto;font-size:18px;color:#135c40;white-space:nowrap}.tm-badge{display:inline-flex;border:1px solid #9acbb2;border-radius:20px;background:#fff;color:#245d45;padding:4px 9px;font-size:12px;white-space:nowrap}.tm-summary,.tm-line-summary{display:flex;gap:12px 22px;flex-wrap:wrap;padding:12px 17px;font-size:13px;color:#547268}.tm-line-summary{padding-top:0}.tm-card-actions{padding:0 17px 13px;justify-content:flex-end}.tm-empty{background:#fff;padding:34px;text-align:center;color:#648177;border:1px dashed #c4dacd;border-radius:10px}.tm-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:14px;font-size:13px}.tm-dialog{box-sizing:border-box;width:min(1140px,94vw);max-width:94vw;max-height:92vh;overflow:auto;padding:22px;border:1px solid #a4cdb8;border-radius:14px;color:#153e36;box-shadow:0 18px 70px #143f3c35}.tm-dialog::backdrop,.tm-photo::backdrop{background:#0c292b88}.tm-dialog label{font-size:13px;display:grid;gap:6px}.tm-dialog input,.tm-dialog select,.tm-dialog textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%;padding:9px;border:1px solid #c6dcd0;border-radius:6px;background:#fff;color:#214a40}.tm-dialog button,.tm-panel button,.tm-modes button{width:auto;max-width:100%;white-space:normal}.tm-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0}.tm-form-note{padding:12px;background:#f1f8f4;border-radius:7px;line-height:1.7}.tm-form-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:13px;margin:12px 0}.tm-vendor-results{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:220px;overflow:auto}.tm-vendor-results:empty{display:none}.tm-vendor-results button{text-align:left;display:grid;gap:4px;border:1px solid #c8e1d3;background:#f4faf6;color:#235943;padding:10px}.tm-vendor-results span{font-size:12px;color:#648075}.tm-vendor-selected{grid-column:1/-1;font-size:13px;color:#397d5f}.tm-table-wrap{max-width:100%;overflow-x:auto;margin:15px 0}.tm-table{width:100%;min-width:760px;border-collapse:collapse;table-layout:fixed;font-size:13px}.tm-table th{background:#eaf5ee;color:#20543e;font-weight:700;text-align:left;white-space:normal}.tm-table th,.tm-table td{padding:10px;border:1px solid #d3e3d9;vertical-align:top;overflow-wrap:anywhere}.tm-table td:first-child{width:25%}.tm-table td span{display:block;margin-top:4px;color:#698378;font-size:12px}.tm-table .tm-actions{display:table-cell}.tm-actions button{margin:0 4px 7px 0;font-size:12px;padding:7px 9px}.tm-editor-table{min-width:880px}.tm-editor-table th:first-child{width:24%}.tm-editor-table th:nth-child(2){width:12%}.tm-editor-table th:nth-child(3){width:10%}.tm-editor-table th:nth-child(4),.tm-editor-table th:nth-child(5){width:12%}.tm-editor-table th:last-child{width:8%}.tm-editor-table input,.tm-editor-table select{font-size:13px;padding:7px}.tm-note{margin:16px 0}.tm-note textarea{min-height:78px;resize:vertical}.tm-total{display:flex;gap:15px;justify-content:space-between;align-items:center;background:#e6f5eb;border:1px solid #acdabf;padding:13px;border-radius:8px;color:#215e43}.tm-total strong{font-size:18px}.tm-dialog-actions{justify-content:flex-end;margin-top:17px}.tm-detail-summary{display:grid;gap:7px;padding:16px;background:#eaf6ef;border:1px solid #c4e4d1;border-radius:9px;margin-top:14px}.tm-detail-summary span{color:#527263;font-size:13px}.tm-review-note{padding:10px;background:#fff6e9;border-radius:6px}.tm-error{color:#ae3636;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.tm-error:empty{display:none}.tm-payment-upload{border:1px dashed #80b89b;background:#f2faf5;padding:15px;border-radius:8px;outline-offset:4px}.tm-payment-upload p{font-size:13px;color:#5b796b}.tm-proofs{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.tm-proofs figure{display:grid;gap:7px;margin:0;width:170px}.tm-proofs img{display:block;width:170px;height:115px;object-fit:contain;border:1px solid #c8ddce;background:#f6faf7;cursor:zoom-in}.tm-proofs figcaption{font-size:12px;overflow-wrap:anywhere;color:#547063}.tm-proofs button{font-size:11px;padding:3px 6px}.tm-photo{width:92vw;height:90vh;border:0;background:#fff;border-radius:10px;padding:15px;box-sizing:border-box}.tm-photo img{display:block;width:100%;height:calc(100% - 48px);object-fit:contain}.tm-photo button{display:block;margin-left:auto;margin-bottom:8px}.tm-catalog-preview{padding:17px;background:#eaf7ef;border:1px solid #a8d5ba;border-radius:10px;margin-top:18px}.tm-catalog-preview h4{margin-top:0}.tm-catalog-preview dl{display:grid;grid-template-columns:150px minmax(0,1fr);gap:9px}.tm-catalog-preview dt{color:#56816a}.tm-catalog-preview dd{margin:0;overflow-wrap:anywhere;font-weight:600}@media(max-width:650px){.tm-fields{grid-template-columns:minmax(0,1fr)}.tm-vendor-results{grid-template-columns:1fr}.tm-dialog{padding:13px}.tm-total{align-items:start;flex-direction:column}.tm-catalog-preview dl{grid-template-columns:100px minmax(0,1fr)}.tm-filters{align-items:stretch}.tm-filters label:first-child{min-width:0;width:100%}.tm-card-top>div{gap:6px}.tm-summary{gap:8px}.tm-pager{flex-wrap:wrap}}
