.project-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0}.project-toolbar label{display:flex;align-items:center;gap:10px;min-width:300px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--muted)}.project-toolbar input{width:100%;padding:11px 0;border:0;outline:0;background:transparent;font:inherit}.project-toolbar>span{color:var(--muted);font-size:13px}.project-table-wrap{overflow:auto}.project-table{width:100%;border-collapse:collapse;min-width:760px}.project-table th,.project-table td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap}.project-table th{color:var(--muted);font-size:12px;font-weight:700}.project-table td{font-size:13px}.project-actions{display:flex;gap:8px}.project-actions button{border:0;border-radius:7px;padding:6px 10px;background:#edf4ff;color:#1455a3;font:inherit;cursor:pointer}.project-actions .delete{background:#fff0f0;color:#b42318}.project-modal{position:fixed;inset:0;z-index:30;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(15,30,50,.42)}.project-modal.open{display:flex}.project-dialog{width:min(620px,100%);background:#fff;border-radius:14px;box-shadow:0 20px 60px rgba(15,30,50,.25)}.project-dialog>header,.project-dialog>footer{display:flex;align-items:center;justify-content:space-between;padding:20px 24px}.project-dialog>header{border-bottom:1px solid var(--line)}.project-dialog h2{margin:4px 0 0;font-size:20px}.project-dialog footer{justify-content:flex-end;gap:10px;border-top:1px solid var(--line)}.project-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px}.project-form-grid label{display:grid;gap:7px;font-size:13px;font-weight:700;color:var(--ink)}.project-form-grid input{padding:10px 11px;border:1px solid var(--line);border-radius:8px;font:inherit}.icon-btn{border:0;background:transparent;font-size:28px;line-height:1;cursor:pointer;color:var(--muted)}@media(max-width:680px){.project-toolbar{align-items:stretch;flex-direction:column}.project-toolbar label{min-width:0}.project-form-grid{grid-template-columns:1fr}}
.project-toolbar{margin:16px 0}.project-toolbar label{border-color:#d8e1ef;border-radius:9px}.project-toolbar input{padding:9px 0;font-size:13px}.project-table-wrap{border:1px solid #d7e1ee;box-shadow:0 8px 20px rgba(17,62,112,.05)}.project-table{border-collapse:separate;border-spacing:0;min-width:2300px;font-size:12px}.project-table th,.project-table td{height:34px;padding:0 12px;border-bottom:1px solid #edf0f4}.project-table th{position:sticky;top:0;z-index:3;background:linear-gradient(90deg,#0b4c91,#176bb6);color:#fff;border-bottom:0;font-size:12px}.project-table td{color:#26384d}.project-table tbody tr:nth-child(odd) td{background:#fff}.project-table tbody tr:nth-child(even) td{background:#fff9e9}.project-table tbody tr:hover td{background:#e7f1ff}.project-table th:nth-child(1),.project-table td:nth-child(1){position:sticky;left:0;z-index:2;min-width:110px}.project-table th:nth-child(2),.project-table td:nth-child(2){position:sticky;left:134px;z-index:2;min-width:145px}.project-table th:nth-child(3),.project-table td:nth-child(3){position:sticky;left:303px;z-index:2;min-width:120px}.project-table th:nth-child(-n+3){z-index:4}.project-table tbody tr:nth-child(odd) td:nth-child(-n+3){background:#fff}.project-table tbody tr:nth-child(even) td:nth-child(-n+3){background:#fff9e9}.project-table tbody tr:hover td:nth-child(-n+3){background:#e7f1ff}.project-table th:last-child,.project-table td:last-child{position:sticky;right:0;z-index:2;box-shadow:-5px 0 10px rgba(31,55,84,.06)}.project-table th:last-child{z-index:4}.project-actions{gap:6px}.project-actions button{padding:4px 8px;font-size:12px}.project-dialog{width:min(900px,100%);max-height:88vh;overflow:auto}.project-dialog>header,.project-dialog>footer{padding:18px 24px}.project-dialog>header{position:sticky;top:0;z-index:1;background:#fff}.project-dialog footer{position:sticky;bottom:0;background:#fff}.project-form-grid{grid-template-columns:repeat(3,1fr);gap:14px;padding:22px 24px}.project-form-grid label{gap:6px;font-size:12px;color:#35506d}.project-form-grid input{min-width:0;padding:9px 10px;font-size:13px;border-color:#d8e1ef}@media(max-width:680px){.project-form-grid{grid-template-columns:1fr}}
.product-head{margin-bottom:10px}.product-head h1{margin:0}.product-actions{display:flex;gap:9px}.btn.danger{background:#fff0f0;color:#b42318;border:1px solid #f3c4c1}.project-table{min-width:max-content}.project-table th,.project-table td{padding:0 9px}.project-table th:first-child,.project-table td:first-child{min-width:36px;width:36px;left:0;text-align:center}.project-table th:nth-child(2),.project-table td:nth-child(2){left:54px;min-width:max-content}.project-table th:nth-child(3),.project-table td:nth-child(3){left:calc(54px + 10ch);min-width:max-content}.project-table th:nth-child(4),.project-table td:nth-child(4){left:calc(54px + 23ch);min-width:max-content}.project-table th:nth-child(-n+4){z-index:4}.project-table tbody tr:nth-child(odd) td:nth-child(-n+4){background:#fff}.project-table tbody tr:nth-child(even) td:nth-child(-n+4){background:#fff9e9}.project-table tbody tr:hover td:nth-child(-n+4){background:#e7f1ff}.matrix-label{grid-column:span 1}.matrix-label select{min-width:0;padding:9px 10px;border:1px solid #d8e1ef;border-radius:7px;background:#fff;font:inherit;font-size:13px}.matrix-label.computed input{background:#f3f7fb;color:#47617e}.selection-note{grid-column:1/-1;margin:-2px 0 0;color:#6d7c91;font-size:12px}@media(max-width:680px){.product-head{align-items:flex-start}.product-actions{width:100%;flex-wrap:wrap}.project-table th:nth-child(n),.project-table td:nth-child(n){position:static}.project-table th:first-child,.project-table td:first-child{position:sticky;left:0;z-index:3}}
.product-head{display:grid;grid-template-columns:auto minmax(230px,360px) auto;align-items:center;gap:20px;margin-bottom:14px}.product-head .project-toolbar{margin:0}.product-head .project-toolbar label{min-width:0}.product-head .project-toolbar>span{white-space:nowrap}.product-actions{justify-self:end}.project-actions .btn::first-letter{font-weight:900}.project-table-wrap{max-height:calc(100vh - 215px);overflow:auto;overscroll-behavior:contain}.project-table th{top:0}.project-table th:first-child,.project-table td:first-child{min-width:30px;width:30px;padding:0 4px}.project-table th:nth-child(2),.project-table td:nth-child(2){left:30px;padding-left:4px}.project-table th:nth-child(3),.project-table td:nth-child(3){left:calc(30px + 10ch)}.project-table th:nth-child(4),.project-table td:nth-child(4){left:calc(30px + 23ch)}@media(max-width:850px){.product-head{grid-template-columns:1fr}.product-actions{justify-self:start}.project-table-wrap{max-height:calc(100vh - 300px)}}
.project-table .num{text-align:right;font-variant-numeric:tabular-nums}.project-table{box-shadow:0 10px 28px rgba(11,76,145,.08)}.project-dialog{width:min(1280px,96vw)}.matrix-wrap{overflow:auto;border:1px solid #d6e1ef;border-radius:9px;margin:20px 24px 12px}.matrix-table{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.matrix-table th{position:sticky;top:0;background:#0b4c91;color:#fff;padding:9px;white-space:nowrap}.matrix-table td{padding:5px;border-bottom:1px solid #edf1f6;background:#fff}.matrix-table tr:nth-child(even) td{background:#fff9e9}.matrix-table input,.matrix-table select{width:105px;border:1px solid #d6e1ef;border-radius:5px;padding:7px;background:#fff;font:inherit}.matrix-table .computed{background:#eef4fa;color:#30577c}.add-row{margin:0 24px 18px}.project-dialog footer{margin-top:0}.project-table th,.project-table td{font-size:12px}.product-actions .btn{min-width:78px}
