/* Task-oriented desktop tools, matching the published workbench palette. */
.cw-layout{display:grid;grid-template-columns:177px minmax(0,1fr);gap:22px;align-items:start}.cw-tool-nav{border:1px solid #e0e7d9;border-radius:8px;background:#fafcf7;padding:9px 8px;position:sticky;top:24px}.cw-nav-heading{padding:12px 10px 17px;color:#78896b;font-size:12px;display:flex;justify-content:space-between;border-bottom:1px solid #e8eddf;margin-bottom:9px}.cw-nav-heading span{font-size:10px;color:#9ba78e}.cw-tool-nav>button{display:flex;align-items:center;gap:8px;width:100%;padding:15px 9px;margin:3px 0;border-radius:5px;text-align:left;font-size:12px;color:#6e815d}.cw-tool-nav>button.active{background:#e5eedb;color:#355f2d;font-weight:600}.cw-tool-nav>button:hover{background:#edf3e5}.cw-tool-number{font-size:9px;letter-spacing:.5px;color:#94a77e;font-weight:400}.cw-tool-arrow{margin-left:auto;color:#a5b692}.cw-nav-foot{color:#91a181;font-size:11px;line-height:1.9;padding:24px 12px 12px}.cw-tool-workspace{min-width:0}.cw-tool-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:2px 0 19px}.cw-tool-heading h2{font-size:19px;font-weight:600;letter-spacing:.4px;margin:0 0 8px}.cw-tool-heading p{font-size:12px;line-height:1.8;color:#7a896b;margin:0;max-width:650px}.cw-tool-heading .button{flex-shrink:0}.cw-work-grid{display:grid;grid-template-columns:minmax(0,1fr) 315px;gap:20px;align-items:start}.cw-form-panel{padding:23px;background:#fff;border:1px solid #e2e9da;border-radius:8px;min-width:0}.cw-group{padding:20px 0;border:0;border-top:1px solid #e5ebdc;margin:0}.cw-group:first-child{padding-top:0;border-top:0}.cw-group legend{font-size:12px;line-height:1.8;color:#566e45;padding:0 12px 0 0}.cw-group:first-child legend{padding-bottom:10px}.cw-group-note{font-size:11px;color:#7a8c68;line-height:1.9;margin:0 0 18px}.cw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 19px}.cw-field{min-width:0}.cw-field label{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;font-size:12px;line-height:1.8;color:#526b40;margin-bottom:7px}.cw-field label span{font-size:10px;color:#899e74;text-align:right;max-width:115px}.cw-field input,.cw-field select,.cw-helper select,.cw-preset-box>select,.cw-preset-box input,.cw-prep-filter select,.cw-prep-filter input,.cw-noise-table input{width:100%;min-width:0;border:1px solid #dfe7d5;background:#fcfdf9;color:#435d33;border-radius:5px;padding:10px;font-size:13px;line-height:1.5}.cw-field select{font-size:12px;height:41px;text-overflow:ellipsis}.cw-field input::placeholder,.cw-preset-box input::placeholder,.cw-prep-filter input::placeholder,.cw-noise-table input::placeholder{font-size:11px;color:#99a98a}.cw-field input[aria-invalid=true],.cw-noise-table input[aria-invalid=true]{border-color:#c58a65;background:#fffaf4}.cw-field-error{display:block;font-size:10px;color:#ab704b;margin-top:6px;line-height:1.7}.cw-select{grid-column:1/-1}.cw-select select{max-width:100%}.cw-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.cw-quick button{font-size:10px;color:#718c57;padding:5px 10px;background:#f1f6e9;border:1px solid #e0eacd;border-radius:4px}.cw-quick button.active{background:#dfeccd;border-color:#bad19c;color:#4b7330}.cw-result-panel{background:#f8fbf2;border:1px solid #dbe6ce;border-radius:8px;padding:23px;position:sticky;top:24px;max-height:calc(100vh - 48px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#dae4cd transparent}.cw-result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:19px;border-bottom:1px solid #dfe8d3}.cw-result-heading h3{font-size:14px;font-weight:600;margin:0;color:#4a6639}.cw-result-heading>span{font-size:10px;color:#8fa478;border:1px solid #dbe7cc;border-radius:4px;padding:4px 7px;white-space:nowrap}.cw-output{padding:17px 0;border-bottom:1px solid #e1e9d6}.cw-output>span{font-size:11px;color:#748d5d;line-height:1.7}.cw-output>div{display:flex;align-items:baseline;gap:7px;padding-top:9px;flex-wrap:wrap}.cw-output strong{font-size:22px;font-weight:500;letter-spacing:-.4px;color:#4c7137;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cw-output small{font-size:11px;color:#8ba574}.cw-output p{font-size:10px;color:#889c74;line-height:1.9;margin:9px 0 0}.cw-output-main{padding:24px 0;text-align:center}.cw-output-main>span{font-size:12px}.cw-output-main>div{justify-content:center}.cw-output-main strong{font-size:42px;letter-spacing:-1px}.cw-output-main small{font-size:14px}.cw-copy-button{width:100%;margin-top:22px;border:1px solid #cfddbd;background:#e4eed7;color:#5a7b40;font-size:12px}.cw-copy-button:hover{background:#dbe9ca}.cw-copy-button:disabled{opacity:.55}.cw-source{color:#8a9c75;font-size:10px;line-height:1.9;padding-top:12px;overflow-wrap:anywhere}.cw-source summary{cursor:pointer;color:#6c8453}.cw-source p{margin:10px 0 0}.cw-source a{text-decoration:underline}.cw-formula-source{border-top:1px solid #e0e8d4;margin-top:18px;padding-top:17px}.cw-helper{padding:0 0 20px;margin-bottom:10px;border-bottom:1px solid #e3eadd}.cw-helper label,.cw-factor-search>span,.cw-prep-filter label{font-size:11px;color:#6c8455;display:block;margin-bottom:8px}.cw-helper p{font-size:10px;color:#889d73;line-height:1.9;margin:9px 0 0}.cw-subtabs{display:flex;flex-wrap:wrap;gap:7px;padding-bottom:22px;margin-bottom:7px;border-bottom:1px solid #e4ebdc}.cw-subtabs button{font-size:11px;color:#82966c;padding:8px 10px;border:1px solid #e3ead9;border-radius:5px;background:#fbfdf7}.cw-subtabs button.active{background:#eaf2df;border-color:#cdddba;color:#4e7432;font-weight:600}.cw-transfer{margin-top:10px;width:100%}.cw-transfer+.cw-group-note{font-size:10px;margin:10px 0 0}.cw-preset-box{padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e2ead9}.cw-inline-select{margin-bottom:17px}.cw-factor-search{display:block;margin-bottom:12px}.cw-preset-actions{display:flex;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap}.cw-text-button{font-size:11px;color:#6b8b4f;padding:4px 0;text-align:left;text-decoration:underline;text-underline-offset:3px}.cw-text-button:disabled{text-decoration:none}.cw-preset-reference{font-size:11px;color:#718b58;line-height:2;margin:16px 0 0}.cw-checkbox{display:flex;align-items:flex-start;gap:9px;font-size:11px;line-height:1.9;color:#697f53}.cw-checkbox input{margin-top:4px;accent-color:#5b7d40;width:15px;height:15px;flex-shrink:0}.cw-confirm{border-top:1px solid #e3eadb;padding-top:16px;margin:5px 0 13px}.cw-confirm+.cw-group-note{font-size:10px}.cw-demo-options{border-top:1px solid #e6ecde;padding-top:17px;font-size:11px;color:#889b72;line-height:1.9}.cw-demo-options summary{cursor:pointer;color:#7b905f}.cw-demo-options .cw-checkbox{margin-top:15px}.cw-demo-options p{font-size:10px}.cw-demo-value{margin-top:14px;font-size:11px;color:#7b925f}.cw-demo-value strong{font-size:16px;font-weight:500}.cw-demo-value button{margin-left:8px}.cw-result-notes,.cw-volume-source,.cw-result-note{font-size:11px;color:#80936b;line-height:1.9;margin:18px 0 0}.cw-result-notes p{margin:0 0 9px}.cw-volume-source{border:1px solid #dde8ce;background:#eef5e5;border-radius:5px;padding:10px;font-size:10px}.cw-result-error{font-size:11px;color:#b17c41;background:#fff8ea;border:1px solid #edddbf;border-radius:5px;padding:10px;line-height:1.9}.cw-results-empty{font-size:12px;line-height:2;color:#8b9e78;padding:30px 5px}.cw-check-summary{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #dfe8d3;padding:15px 0;gap:14px}.cw-check-summary>div{text-align:center}.cw-check-summary strong{font-size:24px;font-weight:500;color:#627f4d}.cw-check-summary span{font-size:10px;color:#8d9e7b;display:block;margin-top:5px}.cw-check-summary .warning strong{color:#b58c52}.cw-check-summary .pending strong{color:#8b9b7d}.cw-check-row{border-bottom:1px solid #e0e8d5;padding:15px 0;font-size:11px;color:#7d9268}.cw-check-row summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;line-height:1.7}.cw-check-row summary>span{color:#5d7848;font-weight:500}.cw-check-row summary>small{font-size:9px;padding:3px 5px;border-radius:3px;border:1px solid #dce5cf;white-space:nowrap;color:#8b9d78}.cw-check-row.pass summary>small{color:#5c8440;border-color:#cddfba;background:#edf6e4}.cw-check-row.warning summary>small{color:#a77b3b;border-color:#e8d9bc;background:#fff8ea}.cw-check-row dl{display:grid;grid-template-columns:75px minmax(0,1fr);gap:8px;margin:15px 0 0;font-size:10px}.cw-check-row dt{color:#9aaa87}.cw-check-row dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.cw-check-row p{font-size:10px;line-height:1.9;margin:12px 0 0;color:#8a9b77}.cw-run-checks{width:100%;margin-top:9px}.cw-work-footer{display:flex;justify-content:space-between;gap:15px;font-size:10px;color:#8fa17b;line-height:1.8;padding:16px 2px}.cw-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%);background:#2d5338;color:#fff;padding:12px 18px;border-radius:6px;max-width:90vw;font-size:12px;z-index:3000;box-shadow:0 5px 22px #29462e22}.cw-prep-filter label{margin-top:16px}.cw-prep-filter label:first-child{margin-top:0}.cw-prep-filter{margin-bottom:19px}.cw-prep-item{border-top:1px solid #e2eada;padding:19px 0}.cw-prep-item>div{display:flex;justify-content:space-between;gap:15px;align-items:center}.cw-prep-item strong{font-size:13px;color:#526e3e}.cw-prep-item p{font-size:12px;color:#788f61;line-height:1.9;margin:9px 0 0;overflow-wrap:anywhere}.cw-prep-item p b{font-weight:400;color:#93a67e}.cw-selection-total{text-align:center;padding:24px 0;border-bottom:1px solid #dfe8d3}.cw-selection-total strong{display:block;font-size:38px;line-height:1.3;color:#668748;font-weight:500}.cw-selection-total span{display:block;margin-top:7px;font-size:11px;color:#8b9e76}.cw-selected-prep{padding:17px 0;border-bottom:1px solid #e0e8d5}.cw-selected-prep strong{font-size:12px;color:#607d48}.cw-selected-prep small{font-size:9px;color:#a0ae8b;margin-left:8px}.cw-selected-prep p{font-size:11px;color:#8b9e74;line-height:1.9;white-space:pre-wrap;margin:10px 0 0;overflow-wrap:anywhere}.cw-method-summary{margin-top:20px;font-size:10px;color:#8b9f72;line-height:1.9}.cw-method-summary b{font-weight:500;color:#718a56}.cw-method-summary p{margin:9px 0 0}.cw-noise-scroll{overflow-x:auto;margin:0 0 16px}.cw-noise-table{border-collapse:collapse;width:100%;font-size:11px;color:#7b9165}.cw-noise-table th{text-align:left;padding:9px 6px;font-weight:400;min-width:95px;line-height:1.7}.cw-noise-table td{padding:7px 4px;min-width:95px}.cw-noise-table th:first-child,.cw-noise-table td:first-child{min-width:120px}.cw-noise-table th:last-child,.cw-noise-table td:last-child{min-width:20px}.cw-noise-table button{color:#91a67a;font-size:19px}.cw-rounded-table{border-collapse:collapse;width:100%;font-size:12px;margin-top:16px}.cw-rounded-table th,.cw-rounded-table td{text-align:left;padding:13px 5px;border-bottom:1px solid #e1e9d5}.cw-rounded-table th{font-weight:400;color:#8ca276;font-size:10px}.cw-rounded-table td{font-size:20px;font-weight:500;color:#5d8040}.cw-rounded-table tbody th{overflow-wrap:anywhere}
@media(min-width:1800px){.cw-layout{grid-template-columns:197px minmax(0,1fr);gap:28px}.cw-work-grid{grid-template-columns:minmax(0,1fr) 365px;gap:26px}.cw-tool-nav>button{font-size:13px}.cw-form-panel,.cw-result-panel{padding:28px}.cw-field label{font-size:13px}.cw-group-note,.cw-result-notes,.cw-result-note{font-size:12px}.cw-output strong{font-size:25px}.cw-output-main strong{font-size:48px}.cw-check-row{font-size:12px}.cw-check-row summary>small{font-size:10px}}
@media(max-width:1250px){.cw-layout{grid-template-columns:154px minmax(0,1fr);gap:16px}.cw-tool-nav>button{font-size:11px;gap:6px;padding:13px 8px}.cw-work-grid{grid-template-columns:minmax(0,1fr) 265px;gap:15px}.cw-form-panel,.cw-result-panel{padding:18px}.cw-fields{gap:17px 14px}.cw-field label{display:block;font-size:11px}.cw-field label span{display:block;text-align:left;max-width:none}.cw-tool-heading{align-items:flex-start}.cw-tool-heading p{font-size:11px}.cw-tool-heading .button{padding:7px 8px;font-size:11px}.cw-output-main strong{font-size:35px}.cw-result-heading h3{font-size:13px}.cw-result-heading>span{font-size:9px}.cw-subtabs{gap:5px}.cw-subtabs button{font-size:10px;padding:7px 8px}}
@media(max-width:1050px){.cw-layout{display:block}.cw-tool-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;position:static;padding:9px;margin-bottom:23px}.cw-nav-heading,.cw-nav-foot{display:none}.cw-tool-nav>button{margin:0;padding:11px;font-size:12px}.cw-work-grid{grid-template-columns:minmax(0,1fr) 280px;gap:16px}.cw-field label{font-size:12px}.cw-fields{gap:17px}.cw-tool-heading p{font-size:12px}}
@media(max-width:740px){.cw-work-grid{grid-template-columns:minmax(0,1fr)}.cw-tool-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:6px;margin-bottom:20px}.cw-tool-nav>button{font-size:11px;padding:9px 6px;gap:5px}.cw-tool-arrow{display:none}.cw-tool-number{font-size:8px}.cw-tool-heading{display:block}.cw-tool-heading h2{font-size:18px}.cw-tool-heading .button{margin-top:12px}.cw-tool-heading p{font-size:11px}.cw-result-panel{position:static;max-height:none;padding:20px}.cw-form-panel{padding:17px}.cw-fields{grid-template-columns:minmax(0,1fr);gap:17px}.cw-field label{display:flex;font-size:12px}.cw-field label span{max-width:120px;text-align:right;font-size:10px}.cw-output-main strong{font-size:40px}.cw-work-footer{display:block;font-size:9px}.cw-work-footer span{display:block}.cw-subtabs button{font-size:10px;padding:8px}.cw-group-note{font-size:11px}.cw-preset-reference{font-size:11px}.cw-noise-table th,.cw-noise-table td{min-width:85px}.cw-noise-table th:first-child,.cw-noise-table td:first-child{min-width:110px}.cw-tool-nav .cw-tool-number{display:none}}
@media print{.cw-tool-nav,.cw-tool-heading>.button,.cw-subtabs,.cw-preset-actions,.cw-run-checks,.cw-copy-button,.cw-transfer,.cw-toast{display:none!important}.cw-layout,.cw-work-grid{display:block}.cw-result-panel{position:static;max-height:none;overflow:visible;background:#fff;margin-top:20px}.cw-form-panel{border:0;padding:0}.cw-field input,.cw-field select{background:#fff}.cw-work-footer{font-size:10px}.cw-output{break-inside:avoid}.cw-check-row{break-inside:avoid}}
