.product-entry-panel{min-width:0;width:100%;color:#182c24;background:#fff;border-bottom:1px solid #dce3dd;font:13px/1.4 system-ui,sans-serif}
.product-entry-panel summary{cursor:pointer;padding:6px 12px;font-weight:650;color:#17633e}
.product-grid{box-sizing:border-box;width:100%;max-height:44vh;overflow:auto;padding:0 9px 8px}
.product-grid .grid-tools,.product-grid .grid-bottom,.product-grid footer{display:flex;align-items:center;gap:8px}
.product-grid .grid-tools{margin:0 0 4px}
.product-grid output{border:1px solid #c7d5cc;min-width:40px;padding:1px 6px;text-align:center;font:12px/19px monospace}
.product-grid .grid-hint,.product-grid .grid-bottom{font-size:11px;color:#50645a}
.product-grid .grid-scroll{max-height:22vh;overflow:auto;border:1px solid #b5c6bb;isolation:isolate}
.product-grid table{border-spacing:0;border-collapse:separate;width:100%;min-width:355px;table-layout:fixed}
.product-grid td,.product-grid th{padding:0;height:23px;border:0;border-right:1px solid #cbd7cd;border-bottom:1px solid #cbd7cd;vertical-align:middle}
.product-grid th{background:#f1f5f2;font-size:12px;font-weight:550;text-align:center}
.product-grid thead th{position:sticky;top:0;z-index:2;white-space:nowrap;height:32px;line-height:15px}
.product-grid thead small{display:block;color:#687b6f;font:10px/12px system-ui}
.product-grid th:first-child{width:32px;position:sticky;left:0;z-index:1}
.product-grid thead th:first-child{z-index:3;top:0}
.product-grid tbody th{color:#53645b;font:11px system-ui}
.product-grid td{position:relative;background:#fff}
.product-grid input{display:block;width:100%;min-width:0;height:23px;box-sizing:border-box;border:0!important;border-radius:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#172b20;padding:0 4px;font:12px/23px system-ui}
.product-grid td:nth-child(n+5) input{text-align:right;font-variant-numeric:tabular-nums}
.product-grid td.sheet-range{background:#e6f3eb}
.product-grid td.sheet-focus{background:#fff;outline:2px solid #18864f;outline-offset:-2px}
.product-grid th.sheet-axis{color:#086034;background:#d6eade}
.product-grid .grid-bottom{justify-content:space-between;padding:2px 0}
.product-grid button{font:inherit;cursor:pointer;border:1px solid #bdcdc2;border-radius:4px;padding:3px 10px;background:white;color:#294535}
.product-grid .grid-bottom button{font-size:11px;border:0;padding:3px 5px}
.product-grid .grid-question{display:flex;align-items:center;gap:8px;font-size:12px}
.product-grid textarea{min-width:0;flex:1;border:1px solid #bdcdc2;border-radius:3px;padding:3px 6px;font:inherit;background:white;color:#172b20}
.product-grid .grid-error:not(:empty){color:#a32c25;margin:5px 0}
.product-grid footer{justify-content:flex-end;margin-top:4px}
.product-grid button.grid-primary{background:#157344;border-color:#157344;color:white}

.knowledge-rag [data-sheet]{position:relative;display:flex;align-items:center;justify-content:center;gap:.5rem;background:white;padding:2px 8px max(5px,env(safe-area-inset-bottom));flex:none}
.knowledge-rag [data-sheet] .hours-sheet-trigger{font:600 13px/1.4 system-ui;color:#344054;border:1px solid #d6dae0;border-radius:9px;padding:6px 12px;cursor:pointer}
.knowledge-rag [data-sheet] .product-entry-panel{position:absolute;bottom:100%;width:min(760px,calc(100% - 16px));z-index:2;box-shadow:0 4px 24px #18253524;border-radius:12px}
.knowledge-rag [data-sheet] .product-entry-panel:not([open]){display:none}
.knowledge-rag [data-sheet] .product-grid{padding-top:8px}
.knowledge-rag [data-sheet] [role=status]{padding:0;font-size:12px}
.knowledge-rag [data-sheet] [role=status]:empty{display:none}
