/* Shared geometry for parent pages that host entry and record views. */

:where(body.subpage-workspace-page) .subpage-head-box{flex:0 0 auto;width:100%;box-sizing:border-box;overflow:hidden;}
:where(body.subpage-workspace-page) .subpage-head-box .header{position:relative!important;min-height:46px!important;height:46px!important;padding:0 14px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;}
:where(body.subpage-workspace-page) .header-title{height:46px;display:flex;align-items:center;justify-content:center;white-space:nowrap;}
:where(body.subpage-workspace-page) .header-user{position:absolute;inset-inline-end:12px;top:5px;height:36px;display:flex;align-items:center;}
:where(body.subpage-workspace-page) .subpage-head-box .back-btn{height:36px!important;min-height:36px!important;padding:0 12px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;}
:where(body.subpage-workspace-page) main.container{flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0 16px 12px!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
:where(body.subpage-workspace-page) :is(.subpage-entry-box,.subpage-record-box){display:none;flex:1 1 auto;min-height:0;width:100%;padding:0;box-sizing:border-box;overflow:hidden;}
:where(body.subpage-workspace-page) :is(.entry-frame-wrap,.frame-wrap,.record-frame-wrap){position:relative;flex:1 1 auto;width:100%;height:100%;min-height:0;box-sizing:border-box;overflow:hidden;}
:where(body.subpage-workspace-page) :is(.definitions-entry-frame,.definitions-frame,.transactions-entry-frame,.transactions-record-frame){display:block;width:100%;height:100%!important;min-height:0!important;border:0;opacity:1;}

@media(max-width:760px){
  :where(body.subpage-workspace-page) main.container{padding-inline:10px!important;padding-bottom:10px!important;}
  :where(body.subpage-workspace-page) .header-user{inset-inline-end:6px;}
  :where(body.subpage-workspace-page) .subpage-head-box .back-btn{padding-inline:8px!important;}
}
