/* Page shell: header row, section tabs and tools menu, guide banner and orientation note. Moved unchanged from the retired detector-report.css. */
body{grid-template-rows:48px 40px auto minmax(0,1fr) 26px}#main{display:flex;flex-direction:column}#main>.workgrid,#main>.page{height:auto;flex:1;min-height:0}
.topbar{grid-row:1}.navline{grid-row:2}#guide-return{grid-row:3}#main{grid-row:4}body>footer{grid-row:5}
.navline{display:flex;align-items:stretch;min-width:0;border-bottom:1px solid var(--ds-rule);background:var(--ds-surface)}.navline .tabs{border:0;flex:1;gap:22px}.advanced-nav{display:flex;flex-direction:row;align-items:center;gap:7px;margin:0 16px 0 5px;flex:none;font-size:10px}.advanced-nav>span{white-space:nowrap}.advanced-nav select{font-size:11px;max-width:180px;min-height:27px}.guide-return{display:flex;align-items:center;justify-content:space-between;padding:5px 16px;gap:12px;border-bottom:1px solid var(--ds-rule);background:var(--ds-surface-sunk);font-size:11px}.guide-return p{margin:0}.guide-return button{font-size:11px;min-height:25px}.view-orientation{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;margin:0;padding:7px 14px;border-bottom:1px solid var(--ds-rule);font-size:11px;background:var(--ds-surface-sunk)}.view-orientation p{margin:0}.view-orientation button{font-size:10px;min-height:25px;white-space:nowrap}
@media(max-width:850px){body{grid-template-rows:auto 40px auto minmax(0,1fr) 24px}.view-orientation{padding:6px 10px;font-size:10px}.advanced-nav{margin-right:8px;gap:0}.advanced-nav>span{display:none}.advanced-nav select{max-width:140px}.navline .tabs{gap:16px}.guide-return p{font-size:10px}}
