.quantity-review-tools{margin:18px 0 10px;padding:14px;background:#f0f6fc;border:1px solid #cbdff0;border-radius:10px}.quantity-review-tools h3{margin:0 0 10px;font-size:16px}.quantity-filters{display:grid;grid-template-columns:2fr 1fr 1.5fr auto;gap:8px;align-items:end}.quantity-filters label{display:grid;gap:5px;font-size:12px;color:#315470}.quantity-filters input,.quantity-filters select,.quantity-filters button{min-width:0;min-height:42px;padding:8px;border:1px solid #b9cfe1;border-radius:6px;background:white;color:#203e58;font-size:13px}.quantity-review-tools p{margin:10px 0 0;font-size:12px;color:#405f77}.quantity-source-link{display:block;margin-top:8px;color:#246ca8;font-weight:700}.quantity-delete{display:block;margin-top:8px;padding:7px 12px;background:#fff;color:#8b3941;border:1px solid #dab8bd;border-radius:6px}.quantity-trash{margin:14px 0;padding:12px;border:1px solid #d2dce5;border-radius:8px;font-size:13px}.quantity-trash summary{cursor:pointer;font-weight:700}.quantity-trash article{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #e1e8ed}.quantity-trash small{display:block;margin-top:5px;color:#5c7080}.quantity-trash button{min-height:42px;padding:8px 14px;background:#f0f6fc;color:#215d8c;border:1px solid #bad0e3;border-radius:6px}.takeoff-results tr[hidden]{display:none!important}
@media(max-width:767px){.quantity-filters{grid-template-columns:1fr 1fr}.quantity-filters label:first-child{grid-column:1/-1}.quantity-filters button{min-height:44px}.takeoff-results{overflow:visible}.takeoff-results .takeoff-table{display:block;width:100%;min-width:0!important}.takeoff-results .takeoff-table thead{display:none}.takeoff-results .takeoff-table tbody{display:grid;gap:14px}.takeoff-results .takeoff-table tr{display:block;padding:12px;border:1px solid #c6d9e8;border-radius:10px;background:#fff;box-shadow:0 2px 5px #163e6010}.takeoff-results .takeoff-table td{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 0;border:0;border-bottom:1px solid #edf1f5;white-space:normal;font-size:13px;overflow-wrap:anywhere}.takeoff-results .takeoff-table td::before{content:attr(data-label);flex:0 0 80px;font-weight:700;color:#506d84;font-size:12px}.takeoff-results .takeoff-table td input:not([type=checkbox]),.takeoff-results .takeoff-table td select{min-height:44px;font-size:14px;max-width:100%;min-width:0}.takeoff-results .takeoff-table td>input:not([type=checkbox]){width:calc(100% - 90px)}.takeoff-results .takeoff-table td .takeoff-spec{min-width:0}.takeoff-results .takeoff-table td .takeoff-note{width:100%}.takeoff-results .takeoff-table td>small{flex-basis:100%}.takeoff-results .quantity-editor{flex:1;min-width:0}.takeoff-results .quantity-editor input{width:90px}.takeoff-results .quantity-editor select{width:80px}.takeoff-results .takeoff-review-actions{flex-basis:100%;flex-wrap:wrap}.takeoff-results .takeoff-review-actions button,.takeoff-results .quantity-delete{min-height:44px;padding:10px 14px;font-size:13px}.takeoff-results input[type=checkbox]{width:24px;height:24px}.quantity-trash article{align-items:flex-start}.quantity-trash button{flex:none}.schedule-review input,.schedule-review select,.schedule-review button{min-height:44px!important;font-size:14px!important}.schedule-review input[type=checkbox]{min-height:24px!important;width:24px;height:24px;vertical-align:middle}.schedule-review form>label{display:flex;gap:8px;align-items:center;margin:12px 0}}
@media(min-width:768px){.shell{grid-template-columns:272px minmax(0,1fr)}.shell>main,.analysis-panel{min-width:0}}
.length-choice-list{display:grid;gap:6px;max-height:420px;overflow:auto;margin:12px 0}.length-choice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px;border:1px solid #cbddea;border-radius:7px;background:#fff}.length-choice label{display:flex;align-items:center;gap:8px;min-height:32px;font-size:12px}.length-choice input[type=checkbox]{width:22px;height:22px}.length-choice button{flex:none;min-height:40px;padding:7px 10px;background:#f1f7fc;border:1px solid #b5cce0;border-radius:6px;color:#225b89}.length-choice:has(input:checked){border-color:#4d94ca;background:#eaf5ff}[data-length-total]{font-size:13px;font-weight:700;color:#245d88}
.quantity-summary{margin:10px 0 16px;padding:12px;border:1px solid #bbd2e5;border-radius:8px;background:#f8fbff;font-size:13px}.quantity-summary summary{font-weight:700;cursor:pointer}.quantity-summary p{color:#55728a;line-height:1.6}.quantity-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px}.quantity-summary-grid article{padding:12px;background:#fff;border:1px solid #d7e4ee;border-radius:7px}.quantity-summary-grid b,.quantity-summary-grid span,.quantity-summary-grid small{display:block}.quantity-summary-grid span{margin:7px 0;color:#1e649b;font-size:18px;font-weight:700}.quantity-summary-grid small{color:#617c92;overflow-wrap:anywhere}
[data-length-form] .schedule-row-fields label:first-child,[data-length-form] .schedule-row-fields label:last-child{grid-column:1/-1}[data-length-form]>button[type=submit]{min-height:44px;width:100%;margin-top:8px;padding:10px 14px;border:0;border-radius:7px;background:#286da5;color:#fff;font-weight:700;cursor:pointer}[data-length-message]{color:#9a3741;font-size:13px}
.cad-frame-form{display:grid;gap:8px;margin-top:12px}.cad-frame-form label{display:grid;gap:4px;font-size:12px}.cad-frame-form input{min-width:0;width:100%;min-height:42px;padding:8px;border:1px solid #b9cfe1;border-radius:5px;background:#fff;font-size:14px}.cad-frame-form label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:8px;line-height:1.5}.cad-frame-form input[type=checkbox]{width:22px;height:22px;min-height:22px;flex:none}.cad-frame-form button{min-height:44px;background:#286da5;color:white;border:0;border-radius:6px;font-weight:700;cursor:pointer}[data-cad-message]{color:#9a3741;font-size:12px}
.quantity-csv-exports{border:1px solid #c6d8e7;border-radius:7px;padding:0 10px;align-self:flex-start;background:#f7fafc}.quantity-csv-exports summary{font-size:12px;min-height:42px;align-content:center;color:#35668a;cursor:pointer}.quantity-csv-exports>div{display:flex;flex-wrap:wrap;gap:7px;padding:0 0 9px}[data-quantity-xlsx][aria-busy=true]{opacity:.7;cursor:wait}@media(max-width:767px){.quantity-csv-exports{width:100%;box-sizing:border-box}.quantity-csv-exports>div{display:grid}[data-quantity-xlsx]{width:100%;box-sizing:border-box;text-align:center}}
