/* 26102407: one desktop frame. Preserve forms and business handlers. */
@media(min-width:801px){
dialog.meter-modal.fms-popup,dialog.inspection-entry-dialog.fms-popup,dialog.fms-work-dialog.fms-popup,dialog.spt-patrol-dialog.fms-popup{width:min(1280px,96vw)!important;height:min(775px,94dvh)!important;max-height:94dvh!important;max-width:96vw!important;box-sizing:border-box!important;padding:0!important;overflow:hidden!important}
dialog.meter-modal iframe,dialog.inspection-entry-dialog iframe,dialog.fms-work-dialog iframe,dialog.spt-patrol-dialog iframe{height:calc(100% - 42px)!important;flex:1;min-height:0;width:100%;border:0}
body.spt-fixed{--fixed-top:148px;--fixed-bottom:214px;margin:0!important;padding:8px!important;height:100dvh!important;box-sizing:border-box;overflow:hidden!important;background:white!important}
body.spt-fixed>main{height:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important}
body.spt-fixed .spt-fixed-top{position:fixed!important;inset:8px 8px auto!important;height:114px!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important}
body.spt-fixed .spt-fixed-middle{position:fixed!important;top:var(--fixed-top)!important;bottom:var(--fixed-bottom)!important;left:8px!important;right:8px!important;overflow:auto!important;min-height:0!important;margin:0!important;padding:8px!important;border:1px solid #d8e6f7!important;border-radius:4px;background:white!important;box-sizing:border-box!important}
body.spt-fixed .spt-fixed-bottom{position:fixed!important;inset:auto 8px 44px!important;height:162px!important;margin:0!important;box-sizing:border-box!important;overflow:hidden!important}
body.spt-fixed .spt-fixed-bottom>section,body.spt-fixed .spt-fixed-bottom>.wp-bottom{min-height:0!important;max-height:100%!important;overflow:auto!important}
body.spt-fixed .spt-fixed-actions{position:fixed!important;inset:auto 8px 6px!important;height:32px!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;padding:0!important;background:white!important;z-index:6}
body.spt-fixed .spt-fixed-actions .actions{margin:0!important;padding:0!important}
body.spt-fixed .spt-fixed-actions>[data-operation-open]{order:-1;margin-right:auto!important}
body.spt-fixed .spt-fixed-round{position:fixed!important;top:122px!important;left:8px!important;right:8px!important;height:24px!important;display:flex;align-items:center;gap:8px;margin:0!important;font-size:12px}
body.spt-fixed .spt-fixed-round label{display:flex;align-items:center;gap:8px;margin:0!important}body.spt-fixed .spt-fixed-round select,body.spt-fixed .spt-fixed-round button{min-height:22px!important;height:22px;padding:0 8px!important;font-size:12px}
body.spt-fixed .spt-fixed-top .reading-summary,body.spt-fixed .spt-fixed-top.spt-meta,body.spt-fixed .spt-fixed-top .spt-meta{height:114px!important;margin:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(3,1fr)!important}
body.spt-fixed .spt-fixed-top .spt-photo{height:112px!important;max-height:112px!important}
body.spt-fixed .spt-fixed-top>div,body.spt-fixed .spt-fixed-top .reading-summary>div,body.spt-fixed .spt-fixed-top .spt-meta>div{min-height:0!important}
body.spt-fixed .reading-title{display:none!important}
body.spt-fixed .spt-patrol .patrol-point-list{max-height:none!important;overflow:visible!important}
body.spt-fixed .spt-patrol [data-patrol-inline]{margin:0!important}
body.spt-fixed .spt-patrol-result .patrol-result-top{height:114px;border:1px solid #d8e6f7;padding:12px;box-sizing:border-box}
body.spt-fixed .spt-fixed-middle .patrol-result-scroll{max-height:none!important;overflow:visible!important}
/* Keep each patrol table header flush with its own scroll viewport. */
body.spt-fixed .spt-patrol-result .spt-fixed-middle {
  display: flex;
  flex-direction: column;
}
body.spt-fixed .spt-patrol-result .spt-fixed-middle .patrol-result-scroll {
  overflow: auto !important;
}

/* Restore 26102404's active-workspace contract. Only the middle scrolls. */
body.spt-fixed .ic-console{height:calc(100dvh - 16px)!important;min-height:0!important;transform:none!important;--ic-top:140px;--ic-bottom:206px}
body.spt-fixed .ic-console .ic-scroll{position:absolute!important;inset:var(--ic-top) 0 var(--ic-bottom)!important;overflow:auto!important;border:1px solid #d8e6f7!important}
body.spt-fixed .ic-console [data-inspection-root]:not(.ic-active)>:not(.ic-work-title):not(.ic-load-status){display:none!important}
body.spt-fixed .ic-console .ic-active form[data-inspection-form]{display:contents!important}
body.spt-fixed .ic-console .ic-active .iw-summary{position:fixed!important;inset:8px 8px auto!important;height:114px!important;margin:0!important;z-index:4}
body.spt-fixed .ic-console .ic-active .iw-summary>div{width:auto!important;height:112px!important}body.spt-fixed .ic-console .iw-summary dl{height:112px;grid-template-rows:repeat(3,1fr)}
body.spt-fixed .ic-console .ic-active .iw-message{position:fixed!important;inset:124px 8px auto!important;height:20px!important;margin:0!important;padding:0!important;z-index:4;font-size:12px!important}
body.spt-fixed .ic-console .ic-active .iw-bottom{position:fixed!important;inset:auto 8px 44px!important;height:162px!important;margin:0!important;z-index:4}
body.spt-fixed .ic-console .ic-active .iw-bottom>div{overflow:auto!important;min-height:0!important}
body.spt-fixed .ic-console .ic-active .iw-submit{position:fixed!important;inset:auto 8px 6px!important;height:32px!important;margin:0!important;z-index:5}
body.spt-fixed .ic-console .iw-summary dd{overflow:auto!important;color:#153b6a!important}
body.spt-fixed .ic-console .ic-collapsed .iw-layout{display:none!important}
body.spt-fixed .ic-console .iw-layout{margin:0!important;padding:8px!important}
body.spt-fixed .ic-console .iw-layout.iw-split{grid-template-columns:minmax(0,51fr) minmax(0,49fr)!important}
body.spt-fixed .ic-console .iw-errors:not(:empty){position:fixed!important;top:124px;left:8px;right:8px;z-index:8;max-height:100px;overflow:auto}
body.spt-fixed .ic-console .iw-result-info{grid-template-rows:48px minmax(0,1fr)!important}
body.spt-fixed .ic-console .iw-note textarea{height:68px!important;min-height:0!important}
body.spt-fixed .wp-header{height:134px!important;padding:0!important}body.spt-fixed .wp-header .spt-meta-photo{height:114px!important;margin:0!important}body.spt-fixed .wp-header .spt-meta-extra{margin-top:4px;font-size:11px}
body.spt-fixed .spt-work-bottom .wp-bottom{padding:8px!important}body.spt-fixed .wp-bottom textarea{height:54px!important;min-height:0!important}
}
@media(min-width:801px){
body.spt-fixed .spt-fixed-bottom>section{padding:8px!important}
body.spt-fixed .spt-fixed-bottom h2,body.spt-fixed .spt-fixed-bottom h3{font-size:13px!important;margin:0 0 4px!important}
body.spt-fixed .spt-fixed-bottom .spt-result-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:3px 8px!important;font-size:12px}
body.spt-fixed .spt-fixed-bottom .spt-result-grid>div,body.spt-fixed .spt-fixed-bottom .spt-result-grid>label{min-height:24px!important;gap:4px!important}
body.spt-fixed .spt-fixed-bottom .spt-result-grid b{flex-basis:74px!important;font-size:11px!important}
body.spt-fixed .spt-fixed-bottom .spt-result-grid textarea{height:30px!important;min-height:30px!important}
body.spt-fixed .spt-fixed-bottom .spt-result-grid input,body.spt-fixed .spt-fixed-bottom .spt-result-grid select,body.spt-fixed .spt-fixed-bottom .spt-result-grid button{min-height:24px!important;height:26px;padding:2px 5px!important;font-size:12px}
body.spt-fixed .spt-fixed-bottom .spt-result-grid .spt-worker-line{grid-column:span 2}
body.spt-fixed .spt-fixed-bottom .spt-result-grid .spt-result-wide{grid-column:1/-1}
body.spt-fixed .spt-fixed-bottom .spt-result-grid .counter-sign{max-height:24px!important;max-width:70px!important}
}
@media(min-width:801px){
body.spt-fixed .spt-fixed-bottom{align-items:stretch!important}body.spt-fixed .spt-fixed-bottom>section,body.spt-fixed .spt-fixed-bottom>.wp-bottom{height:100%!important;box-sizing:border-box!important}
body.spt-fixed .wp-bottom .wp-workers{display:flex!important;align-items:center!important;gap:8px!important;min-height:28px!important;margin:0!important}
body.spt-fixed .wp-bottom .wp-workers>div{flex:1;min-width:0}
body.spt-fixed .wp-bottom .wp-processing{margin:3px 0!important;gap:10px!important}
body.spt-fixed .wp-bottom .wp-processing label{display:flex!important;align-items:center!important;gap:6px!important;margin:0!important;font-size:12px!important}
body.spt-fixed .wp-bottom .wp-processing input,body.spt-fixed .wp-bottom [data-worker-open]{height:26px!important;min-height:26px!important;padding:2px 6px!important;font-size:12px!important}
body.spt-fixed .wp-bottom .wp-content{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;align-items:center;gap:8px;margin:4px 0 0!important;font-size:12px!important}
body.spt-fixed .wp-bottom .wp-content textarea{height:42px!important;min-height:42px!important;margin:0!important}
}

@media(min-width:801px){body.spt-fixed .meter-round-strip.spt-fixed-round{height:auto!important;min-height:36px;box-sizing:border-box;padding:4px 0!important;flex-wrap:wrap;z-index:5;background:#fff}body.spt-fixed .meter-round-strip.spt-fixed-round button,body.spt-fixed .meter-round-strip.spt-fixed-round .meter-reset-button{height:28px!important;min-height:28px!important;box-sizing:border-box;padding:3px 8px!important;display:inline-flex;align-items:center;line-height:20px;margin-top:0;margin-bottom:0}}
