.eng-sidebar-shell{--eng-wine:#650b0b;--eng-border:#e1e6ed;--eng-muted:#637083;position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border-radius:0!important;display:flex!important;flex-direction:column!important;background:#fff!important;color:#243247!important;overflow:hidden!important}
.eng-sidebar-shell button{font:inherit;cursor:pointer}.eng-sidebar-shell button:focus-visible{outline:3px solid #2165ad;outline-offset:2px}
.eng-compact-header{height:64px;flex-shrink:0;display:flex;align-items:center;gap:10px;padding:8px 14px;border-bottom:1px solid var(--eng-border)}
.eng-compact-header>button{border:0;background:transparent;color:#243247;min-width:40px;min-height:40px;border-radius:8px}
.eng-project-name{flex:1;min-width:0;display:flex;flex-direction:column}.eng-project-name strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.eng-project-name small{font-size:11px;color:var(--eng-muted)}
.eng-compact-header .eng-status{font-size:12px!important;white-space:nowrap;background:#fce6e5;color:#8e1f1f;padding:6px 10px;min-height:30px}.eng-status.ready{background:#e2f3e9;color:#15643c}
.eng-sidebar-body{display:flex;flex:1;min-height:0;position:relative}.eng-side-nav{width:246px;flex-shrink:0;border-right:1px solid var(--eng-border);padding:14px 10px;overflow:auto;background:white;z-index:3}
.eng-side-title{display:flex;justify-content:space-between;align-items:center;padding:8px 12px 18px;color:var(--eng-wine)}.eng-side-title button{display:none}
.eng-side-nav>div>button{width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 12px;border:0;border-radius:8px;color:#29374b;background:white;font-size:14px;min-height:48px}.eng-side-nav>div>button>span:first-of-type{flex:1}
.eng-side-nav>div>button.selected{background:var(--eng-wine);color:white}.eng-side-sub{display:flex;flex-direction:column;padding:4px 0 8px 34px;gap:2px}.eng-side-sub button{text-align:left;border:0;background:white;color:#536174;padding:10px;font-size:13px;border-radius:6px;min-height:40px}.eng-side-sub button[aria-current]{color:var(--eng-wine);font-weight:700;background:#f7eeee}
.eng-side-nav>small{display:block;color:var(--eng-muted);font-size:11px;margin:24px 12px}.eng-main-column{flex:1;min-width:0;display:flex;flex-direction:column}
.eng-page-heading{display:flex;align-items:center;gap:10px;padding:15px 20px 8px}.eng-page-heading h2{margin:0!important;font-size:23px!important;color:#243247!important}
.eng-local-tabs,.eng-doc-filters{display:flex;gap:6px;overflow-x:auto;flex-shrink:0;padding:5px 20px 12px;scrollbar-width:thin}.eng-local-tabs button,.eng-doc-filters button{background:#f1f4f8!important;color:#43516a!important;border:1px solid transparent!important;border-radius:7px;padding:9px 12px;font-size:13px;white-space:nowrap;min-height:40px}.eng-local-tabs button[aria-pressed=true],.eng-doc-filters button[aria-pressed=true]{background:var(--eng-wine)!important;color:white!important}
.eng-sidebar-shell .engineering-workspace-content{flex:1;min-height:0;overflow:auto!important;padding:16px 20px!important;background:#f5f7fa!important;font-size:14px!important;overscroll-behavior:contain}
.eng-sidebar-shell .engineering-tab-panel[hidden]{display:none!important}.eng-sidebar-shell .engineering-tab-panel>section{padding:16px;background:white;border-radius:10px}
.eng-sidebar-shell .engineering-tab-panel p{font-size:14px!important;line-height:1.5!important}.eng-sidebar-shell .engineering-tab-panel h3,.eng-sidebar-shell .engineering-tab-panel h4{font-size:18px!important;margin:0 0 12px!important}
.eng-sidebar-shell .engineering-tab-panel input,.eng-sidebar-shell .engineering-tab-panel select{font-size:16px!important;min-height:42px!important;padding:9px!important}
.eng-sidebar-shell .engineering-tab-panel button{font-size:14px!important;min-height:42px!important;padding:9px 12px!important}.eng-sidebar-shell .engineering-tab-panel label{font-size:12px!important}
.eng-sidebar-shell .engineering-workspace-actions.eng-compact-footer{display:flex!important;justify-content:flex-end;flex-shrink:0;padding:10px 20px calc(10px + env(safe-area-inset-bottom))!important;margin:0!important;border-top:1px solid var(--eng-border);background:white;gap:8px!important}
.eng-compact-footer button{min-height:44px!important;padding:10px 24px!important;font-size:14px!important;border-radius:8px!important;min-width:120px}
.eng-sidebar-shell .primary{background:var(--eng-wine)!important;color:white!important;border:1px solid var(--eng-wine)!important}.eng-sidebar-shell .secondary{background:#fff!important;color:#29374b!important;border:1px solid #cbd4df!important;border-radius:7px}
.eng-summary-screen{background:white;border-radius:10px;padding:18px}.eng-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.eng-metrics button{display:flex;align-items:center;flex-direction:column;gap:6px;padding:14px 6px;border:1px solid var(--eng-border);background:#f8f9fb;border-radius:8px;color:#26354a}.eng-metrics strong{font-size:24px}.eng-metrics span{font-size:12px}
.eng-summary-list{display:grid;gap:0;margin-top:18px}.eng-summary-list button{display:flex;align-items:center;gap:12px;min-height:60px;border:0;border-bottom:1px solid var(--eng-border);background:white;text-align:left;color:#243247}.eng-summary-list strong{flex:1;font-size:14px}
.eng-doc-hub{background:white;border-radius:8px;padding:8px 12px}.eng-doc-counts{font-size:13px;color:var(--eng-muted);margin:5px 0 14px}.eng-doc-filters{padding:0 0 12px}.eng-doc-filters button{flex:1;font-size:12px}.eng-doc-line{display:grid;grid-template-columns:24px minmax(0,1fr) auto auto;gap:10px;align-items:center;min-height:66px;border-bottom:1px solid var(--eng-border);padding:8px 4px}.eng-doc-line strong{font-size:13px;line-height:1.35}.eng-doc-line>button{font-size:12px;padding:8px;min-height:40px}.eng-document-status{font-size:10px;border-radius:20px;padding:5px 7px;background:#fff0ca;color:#80510a;white-space:nowrap}.eng-document-status.ready{background:#dff3e7;color:#19643d}.eng-doc-line.daniel{background:#fbf3f3;border:1px solid #a86b6b;border-radius:7px;padding:8px 5px}.eng-doc-hub>small{display:block;font-size:11px;color:var(--eng-muted);margin-top:16px}
.eng-document-info{position:absolute;inset:0;background:white;z-index:5;padding:24px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.eng-document-info p{max-width:560px;line-height:1.5}.eng-menu-shade{display:none}
.eng-sidebar-shell [data-content-view=equipment] #eng-documentation>.eng-entry-tabs,.eng-sidebar-shell [data-content-view=design] #eng-documentation>.eng-entry-tabs,.eng-sidebar-shell [data-content-view=location] #eng-documentation>.eng-entry-tabs,.eng-sidebar-shell [data-content-view=sources] #eng-documentation>.eng-entry-tabs{display:none!important}
.eng-sidebar-shell [data-content-view] #eng-documentation>[role=tabpanel]{display:none!important}
.eng-sidebar-shell [data-content-view=equipment] #eng-documentation>#entry-panel-equipment,.eng-sidebar-shell [data-content-view=design] #eng-documentation>#entry-panel-design,.eng-sidebar-shell [data-content-view=location] #eng-documentation>#entry-panel-unit,.eng-sidebar-shell [data-content-view=sources] #eng-documentation>#entry-panel-sources{display:block!important}
.eng-sidebar-shell [data-view=documents] #eng-generated-documents>.eng-practical-checks,.eng-sidebar-shell [data-view=documents] #eng-generated-documents>.eng-calculation-policy{display:none!important}
@media(max-width:767px){.eng-compact-header{height:58px;padding:6px 8px;gap:4px}.eng-project-name strong{font-size:14px}.eng-project-name small{font-size:10px}.eng-compact-header .eng-status{font-size:10px!important;padding:5px 7px}.eng-side-nav{display:none;position:absolute;inset:0 auto 0 0;width:min(84vw,300px);box-shadow:10px 0 35px #0003}.eng-side-nav.open{display:block}.eng-side-title{background:var(--eng-wine);color:white;margin:-14px -10px 10px;padding:16px}.eng-side-title button{display:block;background:none;border:0;color:white;font-size:25px;min-width:40px;min-height:40px}.eng-menu-shade{display:block;position:absolute;inset:0;background:#0007!important;border:0!important;z-index:2}.eng-page-heading{padding:12px 12px 6px}.eng-page-heading h2{font-size:21px!important}.eng-local-tabs{padding:4px 12px 10px}.eng-local-tabs button{font-size:12px;padding:8px 10px}.eng-sidebar-shell .engineering-workspace-content{padding:10px!important}.eng-sidebar-shell .engineering-workspace-actions.eng-compact-footer{padding:8px 10px calc(8px + env(safe-area-inset-bottom))!important}.eng-compact-footer button{flex:1;min-width:0!important}.eng-doc-hub{padding:8px}.eng-doc-line{gap:6px;grid-template-columns:20px minmax(0,1fr) auto auto}.eng-doc-line strong{font-size:12px}.eng-doc-line>button{font-size:11px;padding:6px}.eng-document-status{font-size:9px;padding:4px}.eng-sidebar-shell .policy-grid{grid-template-columns:1fr 1fr!important}.eng-sidebar-shell .project-visit-tab header{display:block!important}.eng-sidebar-shell .eng-submission-row{padding:10px!important}.eng-sidebar-shell .eng-submission-description strong{font-size:13px!important}}
@media(min-width:768px){.eng-compact-header>button:first-child{display:none}}

.eng-sidebar-shell nav.engineering-workspace-tabs[hidden]{display:none!important}

.eng-sidebar-shell .eng-content-part[hidden]{display:none!important}
.eng-sidebar-shell .eng-content-part>section{background:white;padding:14px;border-radius:8px}

.eng-sidebar-shell .eng-document-info{position:fixed;inset:0;z-index:2147483000;box-sizing:border-box}
