/* v0.9.66 shared TEP controls: isolated from ordinary/express global styles. */
.tep-resize-form{display:grid;gap:12px;min-width:0}.tep-resize-form label{display:grid;gap:5px;font-size:12px;min-width:0}.tep-resize-form .tep-enable{display:flex;align-items:center;gap:8px;font-weight:650}.tep-resize-help{font-size:12px!important;color:#747b83;line-height:1.55;margin:0!important}.tep-resize-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tep-resize-fields small{color:#737b84}.tep-resize-fields input{box-sizing:border-box;min-width:0;width:100%;border:1px solid #e6c476;background:#fff8e8;border-radius:6px;padding:10px;font:inherit;font-variant-numeric:tabular-nums}.tep-resize-fields input:invalid{border-color:#b24438}.tep-resize-form select{width:100%;min-width:0;border:1px solid #d7dde1;border-radius:6px;padding:9px;background:#fff;font:inherit}.tep-resize-total{font-weight:650;background:#f4f8f6;padding:10px;margin:0}.tep-resize-error{color:#b24438}.tep-preview{min-width:0;margin-top:14px}.tep-preview-head{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;margin-bottom:8px}.tep-preview-table{width:100%;overflow:auto}.tep-preview-table table{width:100%;border-collapse:collapse;font-size:12px;min-width:380px}.tep-preview-table th,.tep-preview-table td{padding:10px;text-align:right;border-bottom:1px solid #e6eaed;vertical-align:top;font-variant-numeric:tabular-nums}.tep-preview-table th{background:#f5f6f7;color:#65717c}.tep-preview-table th:first-child,.tep-preview-table td:first-child{text-align:left}.tep-preview-table td small{display:block;color:#6f7c85;line-height:1.5}.tep-house-details{margin-top:12px}.tep-house-details summary{cursor:pointer;color:#875807;padding:9px 0;font-size:12px}.tep-house-details table{min-width:720px}.tep-preview-warning{padding:9px 11px;background:#fff6dc;border:1px solid #ecd59a;font-size:11px;line-height:1.6}.tep-status-added{background:#edf7f2}.tep-status-removed{background:#fff3ee}.tep-dialog{border:1px solid #dfe3e7;border-radius:10px;padding:0;width:min(1080px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 40px)}.tep-dialog::backdrop{background:#26394d77}.tep-dialog-head,.tep-dialog-foot{padding:14px 20px;display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #e0e4e8}.tep-dialog-head h2{margin:0;font-size:20px}.tep-dialog-foot{border:0;border-top:1px solid #e0e4e8;justify-content:flex-end}.tep-dialog-body{padding:20px;overflow:auto;max-height:calc(100vh - 205px)}.tep-dialog-body .tep-resize-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.tep-dialog-body #tepResizeStatus{font-size:12px;line-height:1.6}.tep-form-actions{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}.land-first-rns{display:flex;gap:10px;align-items:center;flex-wrap:wrap;background:#f1f7f4;border:1px solid #d5e7df;padding:12px;margin:12px 0}.land-first-rns span{color:#62706c;font-size:12px}.land-payment-dates{display:grid;gap:6px;min-width:140px}.land-payment-dates span{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.land-payment-dates small{color:#62706c;white-space:nowrap}.land-all-due-dates{margin-top:12px}.land-all-due-dates summary{cursor:pointer;padding:8px 0;color:#875807}.land-due-summary{line-height:1.6}.tep-gantt-removed{opacity:.65}.tep-gantt-added .gantt-label small{color:#207765}
@media(max-width:780px){.tep-dialog-body .tep-resize-fields{grid-template-columns:1fr 1fr}.tep-dialog-body{padding:12px}.tep-dialog-foot{flex-wrap:wrap}.tep-preview-head{display:grid}}

/* .67 mean capacity explanation, no theme-wide layout changes */
.tep-resize-mean{margin:12px 0;padding:12px;background:#f3f8f6;border:1px solid #dbe8e2;overflow-wrap:anywhere}.tep-resize-mean b,.tep-resize-mean small{display:block}.tep-resize-mean small{margin-top:5px;color:#64756d;font-size:12px}

/* Keep absolutely positioned numeric source inputs clipped to this scrolling table. */
.land-year-payment-table{position:relative;max-width:100%;min-width:0}
