.eh-actions{display:flex;gap:8px;flex-wrap:wrap}.eh-document-badge{display:inline-flex;align-items:center;gap:9px;margin-top:10px;border:1px solid #d6e2dc;background:#fff;border-radius:11px;padding:7px 10px;box-shadow:0 3px 10px #183f3210}.eh-document-badge img{width:34px;height:34px;object-fit:contain;flex:0 0 auto}.eh-document-badge>span{display:grid;gap:2px;font-size:10px;font-weight:800;color:#253c32}.eh-document-badge small{font-size:9px;color:var(--sub);font-weight:700}.eh-document-badge b{direction:ltr;display:inline-block;color:var(--teal);font-size:10px}.eh-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.eh-kpi{padding:16px;display:flex;gap:12px;align-items:center}.eh-kpi-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--tealSoft);font-size:20px}.eh-kpi b{display:block;font-size:23px}.eh-kpi span{font-size:10.5px;color:var(--sub)}
.eh-filters{padding:14px;display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(4,minmax(125px,1fr));gap:10px;margin-bottom:16px}.eh-filters input,.eh-filters select{height:40px;border:1px solid #dbe2dd;border-radius:10px;padding:0 11px;background:#fff;outline:0}.eh-filters input:focus,.eh-filters select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--tealSoft)}
.eh-events{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.eh-event{padding:16px;position:relative;overflow:hidden}.eh-event:before{content:"";position:absolute;right:0;top:0;bottom:0;width:4px;background:var(--gold)}.eh-event.archived{opacity:.72}.eh-event-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.eh-event h3{font-size:14px;margin:0 0 6px;line-height:1.7}.eh-code{direction:ltr;display:inline-flex;background:#eff3f1;color:var(--teal);border-radius:7px;padding:4px 7px;font-size:9.5px;font-weight:800}.eh-meta{display:flex;gap:7px;flex-wrap:wrap;color:var(--sub);font-size:10px;margin:10px 0 12px}.eh-meta span{background:#f8faf8;border:1px solid #e7ebe8;border-radius:8px;padding:5px 7px}.eh-progress-row{display:grid;grid-template-columns:1fr 44px;gap:9px;align-items:center;margin:10px 0}.eh-progress{height:8px;background:#ecf0ed;border-radius:99px;overflow:hidden}.eh-progress i{height:100%;display:block;background:linear-gradient(90deg,var(--gold),#d2ad68)}.eh-progress-row b{font-size:10px;text-align:left}.eh-event-foot{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #edf0ee;padding-top:11px;margin-top:11px}.eh-event-foot small{color:var(--sub);font-size:9px}.eh-empty{padding:42px 20px;text-align:center;grid-column:1/-1}.eh-empty .icon{font-size:42px}.eh-empty h3{font-size:16px}.eh-empty p{color:var(--sub);font-size:11px}
.event-file-modal{width:min(1240px,98vw);max-height:94vh;padding:0;overflow:hidden;display:flex;flex-direction:column}.eh-file-head{padding:18px 20px 14px;background:linear-gradient(135deg,#e7f1ed,#fff);border-bottom:1px solid #dfe8e3}.eh-file-head-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.eh-file-title h2{font-size:20px;margin:0 0 5px}.eh-file-title p{font-size:10.5px;color:var(--sub);margin:0}.eh-file-codes{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.eh-file-codes span{direction:ltr;background:#fff;border:1px solid #dbe5e0;border-radius:8px;padding:5px 7px;font-size:9px;font-weight:800;color:#35574a}.eh-file-completion{min-width:150px}.eh-file-completion>div:first-child{display:flex;justify-content:space-between;font-size:10px;font-weight:800;margin-bottom:6px}.eh-tabs{display:flex;gap:6px;overflow:auto;padding:10px 14px;border-bottom:1px solid #e4e9e6;background:#fff;flex:0 0 auto}.eh-tab{border:1px solid #dfe5e1;background:#fafbfa;border-radius:9px;padding:8px 10px;white-space:nowrap;cursor:pointer;font:inherit;font-size:10px;font-weight:800;color:#4b5d54}.eh-tab.active{background:var(--teal);color:#fff;border-color:var(--teal)}.eh-file-body{padding:17px;overflow:auto;flex:1;background:#f7f9f7}.eh-section{background:#fff;border:1px solid #e0e6e2;border-radius:14px;padding:16px}.eh-section-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-bottom:1px solid #edf0ee;padding-bottom:12px;margin-bottom:14px}.eh-section-identity{display:flex;align-items:flex-start;gap:10px}.eh-section-identity>img{width:45px;height:45px;object-fit:contain;flex:0 0 auto}.eh-section-head h3{font-size:15px;margin:0 0 4px}.eh-section-head p{font-size:10px;color:var(--sub);margin:0}.eh-model-code{direction:ltr;color:var(--teal);font-weight:800}.eh-document-number{display:inline-flex;gap:5px;align-items:center;margin-top:6px;border:1px solid #d9e4de;background:#f6f9f7;border-radius:7px;padding:4px 7px;font-size:9.5px;font-weight:800;color:#52665c}.eh-document-number b{direction:ltr;display:inline-block;color:var(--teal)}.eh-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.eh-form-grid .wide{grid-column:1/-1}.eh-form-grid .span-2{grid-column:span 2}.eh-form-grid label{display:flex;flex-direction:column;gap:6px;font-size:10.5px;color:var(--sub);font-weight:700}.eh-form-grid input,.eh-form-grid select,.eh-form-grid textarea,.eh-inline-input{width:100%;border:1px solid #dbe2dd;border-radius:9px;padding:9px 10px;background:#fff;font:inherit;font-size:11px;outline:0}.eh-form-grid textarea{min-height:86px;resize:vertical;line-height:1.7}.eh-form-grid input:focus,.eh-form-grid select:focus,.eh-form-grid textarea:focus,.eh-inline-input:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--tealSoft)}.eh-savebar{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #edf0ee;margin-top:15px;padding-top:14px}
.purchase-form-overlay{align-items:flex-start;overflow-y:auto;overscroll-behavior:contain}.purchase-form-modal{width:min(1240px,98vw);max-height:calc(100dvh - 40px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;margin:auto;-webkit-overflow-scrolling:touch}.purchase-form-modal>.modal-head{position:sticky;top:-20px;z-index:8;background:#fff;padding:20px 0 12px;border-bottom:1px solid #e6ebe7}.purchase-form-modal .table-wrap{max-height:none;overflow:auto}.purchase-form-modal .form-actions{position:sticky;bottom:-20px;z-index:7;background:#fff;padding-bottom:20px}
.eh-edit-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1050px}.eh-edit-table th{background:#f2f6f3;position:sticky;top:0;z-index:1}.eh-edit-table td,.eh-edit-table th{padding:8px;border-left:1px solid #e6ebe7;border-bottom:1px solid #e6ebe7;white-space:normal;vertical-align:top}.eh-edit-table input,.eh-edit-table select,.eh-edit-table textarea{width:100%;min-width:85px;border:1px solid #dce3df;border-radius:7px;padding:7px;font:inherit;font-size:10px;background:#fff}.eh-edit-table textarea{min-height:58px;resize:vertical}.eh-edit-table .task-cell{min-width:260px}.eh-edit-table .notes-cell{min-width:180px}.eh-table-wrap{overflow:auto;max-height:56vh;border:1px solid #e2e8e4;border-radius:11px}.eh-add-row{margin-top:11px}
.eh-indicators-editor{border:1px solid #dfe7e2;border-radius:13px;padding:13px;background:#fbfcfb}.eh-indicators-editor .eh-section-head{margin-bottom:10px}.eh-indicators-editor .eh-edit-table{min-width:920px}.eh-indicators-editor td:nth-child(2){min-width:180px}.eh-indicators-editor td:nth-child(5),.eh-indicators-editor td:nth-child(6){min-width:190px}
.eh-edit-table thead th{background:linear-gradient(135deg,#174f42,#24705d);color:#fff;border-color:#2f6f5f}.eh-edit-table tbody tr:nth-child(even) td{background:#f3f8f5}.eh-edit-table tbody tr:hover td{background:#e7f3ed}.eh-plan-table{min-width:1780px;table-layout:fixed}.eh-plan-table th:nth-child(1),.eh-plan-table td:nth-child(1){width:45px}.eh-plan-table th:nth-child(2),.eh-plan-table td:nth-child(2){width:245px}.eh-plan-table th:nth-child(3),.eh-plan-table td:nth-child(3){width:170px}.eh-plan-table th:nth-child(4),.eh-plan-table td:nth-child(4){width:125px}.eh-plan-table th:nth-child(5),.eh-plan-table td:nth-child(5){width:145px}.eh-plan-table th:nth-child(6),.eh-plan-table td:nth-child(6){width:135px}.eh-plan-table th:nth-child(7),.eh-plan-table td:nth-child(7){width:105px}.eh-plan-table th:nth-child(8),.eh-plan-table td:nth-child(8){width:180px}.eh-plan-table th:nth-child(9),.eh-plan-table td:nth-child(9),.eh-plan-table th:nth-child(10),.eh-plan-table td:nth-child(10){width:125px}.eh-plan-table th:nth-child(11),.eh-plan-table td:nth-child(11),.eh-plan-table th:nth-child(12),.eh-plan-table td:nth-child(12){width:190px}.eh-plan-table th:nth-child(13),.eh-plan-table td:nth-child(13){width:58px}
.eh-share{display:grid;grid-template-columns:1fr 220px;gap:16px;align-items:start;margin-bottom:16px}.eh-share-box{border:1px solid #dfe7e2;background:#f8fbf9;border-radius:13px;padding:14px}.eh-share-box h4{font-size:12px;margin:0 0 8px}.eh-share-link{display:flex;gap:7px;flex-wrap:wrap}.eh-share-link input{direction:ltr;text-align:left;flex:1 1 280px;min-width:0;border:1px solid #d7e1db;border-radius:9px;padding:9px;font-size:10px}.eh-share-link .btn{text-decoration:none}.eh-qr{border:1px solid #e0e7e3;border-radius:13px;background:#fff;padding:10px;text-align:center}.eh-qr img{width:190px;height:190px;max-width:100%}.eh-qr .btn{display:inline-flex;margin-top:8px;text-decoration:none}.eh-switches{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.eh-switches label{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid #e1e7e3;border-radius:9px;padding:8px 10px;font-size:10.5px;font-weight:700}.eh-switches input{accent-color:var(--teal)}.eh-question{display:grid;grid-template-columns:1fr 130px 100px 40px;gap:8px;align-items:center;padding:9px;border-bottom:1px solid #edf0ee}.eh-question:last-child{border-bottom:0}.eh-question input,.eh-question select{border:1px solid #dbe2dd;border-radius:8px;padding:8px;font-size:10.5px}.eh-results-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.eh-result{padding:13px;background:#f8faf8;border:1px solid #e3e8e4;border-radius:11px}.eh-result b{display:block;font-size:20px}.eh-result span{font-size:9.5px;color:var(--sub)}.eh-chart{display:grid;gap:11px;margin-top:14px}.eh-chart-row{display:grid;grid-template-columns:minmax(170px,1.2fr) 2fr 55px;gap:9px;align-items:center;font-size:10px}.eh-chart-row .bar{height:10px}.eh-chart-row .bar i{background:var(--teal)}
.eh-upload{border:1px dashed #bfcfc6;border-radius:13px;padding:14px;background:#f9fbfa;margin-bottom:14px}.eh-upload-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:10px}.eh-upload input,.eh-upload select,.eh-upload textarea{width:100%;border:1px solid #dbe2dd;border-radius:9px;padding:9px;font:inherit;font-size:10.5px}.eh-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.eh-photo{border:1px solid #e0e6e2;border-radius:12px;overflow:hidden;background:#fff}.eh-photo img{width:100%;height:150px;object-fit:cover;background:#edf1ee}.eh-photo-body{padding:10px}.eh-photo-body b{display:block;font-size:10.5px;margin-bottom:4px}.eh-photo-body p{font-size:9.5px;color:var(--sub);margin:0 0 8px;line-height:1.6}.eh-file-list{display:grid;gap:8px}.eh-file-item{display:flex;justify-content:space-between;gap:12px;align-items:center;border:1px solid #e1e7e3;border-radius:11px;padding:11px;background:#fff}.eh-file-item b{display:block;font-size:11px}.eh-file-item span{font-size:9.5px;color:var(--sub)}
.eh-timeline{display:grid;gap:9px}.eh-time{display:grid;grid-template-columns:125px 1fr;gap:12px;border-right:3px solid var(--teal);background:#f9fbfa;border-radius:10px;padding:11px}.eh-time time{font-size:9px;color:var(--sub)}.eh-time b{font-size:11px}.eh-time p{margin:4px 0 0;color:var(--sub);font-size:9.5px;line-height:1.7}.eh-time small{display:block;margin-top:5px;color:#819088;font-size:8.5px}
.eh-status-missing{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.eh-status-missing span{font-size:9px;padding:5px 7px;border-radius:7px;background:#fff4df;color:#7b5a1c}.eh-status-missing span.done{background:#e5f3e9;color:#267044}
.eh-approvals-panel{margin-top:12px}.eh-approval-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eh-approval-controls label{display:grid;gap:6px;font-size:10.5px;font-weight:800;color:var(--sub)}.eh-approval-controls select{width:100%;border:1px solid #dbe2dd;border-radius:9px;padding:10px;background:#fff;font:inherit;font-size:11px;outline:0}.eh-approval-controls select:focus{border-color:var(--teal);box-shadow:0 0 0 3px var(--tealSoft)}.eh-approval-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));direction:rtl;gap:14px;margin-top:14px}.eh-approval-preview-box{border:1px solid #9baba2;border-top:4px solid var(--gold);border-radius:11px;min-height:260px;padding:14px;text-align:center;background:#fcfdfc}.eh-approval-preview-box b,.eh-approval-preview-box span,.eh-approval-preview-box small,.eh-approval-preview-box em{display:block}.eh-approval-preview-box b{font-size:12px;color:var(--teal);margin-bottom:8px}.eh-approval-preview-box span{font-size:12px;font-weight:800;margin-bottom:4px}.eh-approval-preview-box small{font-size:10px;color:var(--sub)}.eh-approval-preview-box em{margin-top:5px;font-size:9.5px;font-style:normal;color:#607068}.eh-signature-image{display:grid;place-items:center;border-bottom:1px dashed #d5dfda}.eh-signature-image.screen{border:1px solid #dbe5df;border-radius:9px;background:linear-gradient(#fff,#fbfcfb)}.eh-signature-image img{max-width:100%}
@media(max-width:1050px){.eh-kpis{grid-template-columns:repeat(2,1fr)}.eh-filters{grid-template-columns:repeat(2,1fr)}.eh-filters input{grid-column:1/-1}.eh-events{grid-template-columns:1fr}.eh-form-grid{grid-template-columns:repeat(2,1fr)}.eh-photos{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.eh-kpis,.eh-filters,.eh-form-grid,.eh-upload-grid,.eh-share,.eh-results-grid,.eh-approval-controls{grid-template-columns:1fr}.eh-form-grid .span-2{grid-column:auto}.eh-file-head-top{flex-direction:column}.eh-file-completion{width:100%}.eh-photos{grid-template-columns:repeat(2,1fr)}.eh-question{grid-template-columns:1fr 1fr}.eh-question>input:first-child{grid-column:1/-1}.eh-file-item{align-items:flex-start;flex-direction:column}.eh-time{grid-template-columns:1fr}.event-file-modal{width:100%;max-height:100vh;border-radius:0}.purchase-form-overlay{padding:0}.purchase-form-modal{width:100%;max-height:100dvh;min-height:100dvh;border-radius:0}.eh-file-body{padding:10px}.eh-section{padding:12px}}
@media(max-width:430px){.eh-kpis,.eh-photos{grid-template-columns:1fr}.eh-event-head,.eh-event-foot,.eh-section-head{flex-direction:column}.eh-actions{width:100%}.eh-actions .btn{flex:1}.eh-question{grid-template-columns:1fr}.eh-question>input:first-child{grid-column:auto}}
.eh-chat-list{display:flex;flex-direction:column;gap:10px;max-height:430px;overflow:auto;padding:12px;background:#f4f8f6;border:1px solid var(--line);border-radius:14px}.eh-chat-message{width:min(78%,680px);padding:11px 13px;border:1px solid #cbdad3;border-radius:13px;background:#fff}.eh-chat-message.mine{margin-right:auto;background:#e5f3ec;border-color:#9bc5b2}.eh-chat-message b,.eh-chat-message small{display:block}.eh-chat-message small{font-size:10px;color:var(--sub);margin-top:3px}.eh-chat-message p{margin:8px 0 0;white-space:pre-wrap;line-height:1.7}.eh-chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:12px}.eh-chat-compose textarea{min-height:76px}.eh-chat-compose button{align-self:stretch;min-width:110px}.eh-file-item select{min-width:145px}@media(max-width:700px){.eh-chat-compose{grid-template-columns:1fr}.eh-chat-message{width:94%}}
