.ec-table-wrap{height:clamp(360px,65vh,760px);overflow:auto!important;position:relative;border:1px solid #ccdaed;background:#fff;overscroll-behavior:contain;scrollbar-color:#94abc9 #edf3fb;scrollbar-width:auto}
.ec-estimate-table{display:table!important;width:100%;min-width:1120px!important;table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.ec-estimate-table thead{display:table-header-group!important}.ec-estimate-table tbody{display:table-row-group!important;padding:0!important}.ec-estimate-table tr{display:table-row!important}.ec-estimate-table th{position:sticky;top:0;z-index:4;height:46px!important;background:#15365e!important;color:#fff!important;padding:8px!important;font-size:12px!important;border-right:1px solid #416083;text-align:left;white-space:normal}
.ec-estimate-table th:nth-child(1){width:44px}.ec-estimate-table th:nth-child(2){width:132px}.ec-estimate-table th:nth-child(3){width:300px}.ec-estimate-table th:nth-child(4){width:64px}.ec-estimate-table th:nth-child(n+5){width:100px}.ec-estimate-table th:nth-child(9){width:128px}.ec-estimate-table th:nth-child(10){width:42px}
.ec-estimate-table tbody tr td{display:table-cell!important;position:static;vertical-align:middle;height:52px;min-height:0!important;padding:4px 6px!important;border:0;border-right:1px solid #e0e8f3;border-bottom:1px solid #e0e8f3;border-radius:0!important;background:#fff;font-size:12px}
.ec-estimate-table tbody tr:nth-child(even) td{background:#f8fbff}.ec-estimate-table tbody tr:hover td{background:#eff6ff}.ec-estimate-table tbody tr:focus-within td{background:#eaf3ff}.ec-estimate-table tbody td:before{display:none!important}.ec-estimate-table tbody td:first-child{position:sticky!important;left:0;z-index:2;width:44px!important;text-align:center;color:#527096;box-shadow:1px 0 #ccd9eb}.ec-estimate-table th:first-child{left:0;z-index:6}
.ec-estimate-table input,.ec-estimate-table textarea,.ec-estimate-table select{width:100%;min-width:0;max-width:100%;border:1px solid transparent!important;border-radius:3px;background:transparent;color:#173657;padding:4px!important;font-size:13px!important;box-sizing:border-box}.ec-estimate-table input{height:32px!important}.ec-estimate-table input[type=number]{text-align:right;appearance:textfield}.ec-estimate-table input::-webkit-inner-spin-button{appearance:none}.ec-estimate-table textarea{height:28px!important;min-height:28px!important;resize:vertical;line-height:20px!important}.ec-estimate-table select{height:22px!important;font-size:11px!important;margin:0!important;color:#58728e}.ec-estimate-table .source-label{font-size:9px;line-height:12px;color:#637c97;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ec-estimate-table .amount{font-size:13px!important;text-align:right!important;font-weight:700;white-space:nowrap}.ec-estimate-table :is(input,textarea,select):focus{outline:2px solid #1769ee!important;outline-offset:-1px;background:#fff!important}.ec-estimate-table .section-row td{background:#e5effc!important;height:38px!important}.ec-estimate-table .section-row input{font-weight:700}.ec-estimate-table .row-menu{width:32px;height:36px}.ec-estimate-table tr.overrun td{box-shadow:inset 0 -2px #e4a82f}
.ec-sheet-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:8px 12px;background:#f6f9ff;border-top:1px solid #d8e3f1}.ec-sheet-toolbar button{min-height:36px;padding:6px 10px;border:1px solid #cbd9ec;border-radius:7px;background:#fff;color:#23466f;font-size:12px;cursor:pointer}.ec-sheet-toolbar button:disabled{opacity:.4;cursor:default}.ec-sheet-toolbar button[aria-pressed=true]{background:#1769ee;color:#fff}.ec-sheet-help{padding:7px 12px;font-size:11px;color:#5c7390;background:#fff}.ec-sheet-compact .ec-estimate-table tbody td{height:40px}.ec-sheet-compact .source-label,.ec-sheet-compact select.category{display:none}.ec-sheet-compact tr:focus-within .source-label,.ec-sheet-compact tr:focus-within select.category{display:block}.ec-sheet-expanded{position:fixed!important;inset:0!important;z-index:500!important;background:#fff;display:flex!important;flex-direction:column;overflow:auto;padding:12px!important}.ec-sheet-expanded .ec-table-wrap{flex:1;min-height:200px;height:auto}.ec-sheet-expanded .ec-summary,.ec-sheet-expanded .ec-ai-validation{display:none}.ec-table-footer{font-size:12px;padding:12px!important;background:#f5f9ff}.ec-table-footer b{font-size:14px}
@media(max-width:760px){.ec-table-wrap{height:62vh;min-height:340px}.ec-table-tools #addSection{display:inline-flex}.ec-table-tools{grid-template-columns:1fr 1fr}.ec-table-tools select{grid-column:1/3}.ec-table-tools button{font-size:12px;min-height:40px}.ec-sheet-toolbar{padding:8px;gap:5px}.ec-sheet-toolbar button{min-height:40px;font-size:11px}.ec-estimate-table input,.ec-estimate-table textarea,.ec-estimate-table select{font-size:16px!important}.ec-estimate-table select.category{font-size:16px!important}.ec-estimate-table th{font-size:12px!important}.ec-sheet-expanded{padding:4px!important}.ec-table-footer>div{flex-wrap:wrap;gap:8px}}
@media print{.ec-sheet-toolbar,.ec-sheet-help{display:none!important}.ec-sheet-expanded{position:static!important;display:none!important}}
