/* Keep the operation column and evidence column independently reachable. */
/* A panel without the .split two-column body has no inner scroll box, so the
   flow layout above would clip everything below the fold with no way to reach
   it (实测：#three-module 内容 1454px、可视 662px，下半截完全看不到）。
   Keep the flat panels scrolling on their own, exactly like #history did. */
.store-app .panel:not(:has(>.split)){display:block;overflow:auto}
@media(min-width:721px){
  .store-app .panel{display:flex;flex-direction:column;overflow:hidden}
  .store-app .panel>.split{flex:1;min-height:0;overflow:hidden}
  .store-app .panel>.split>aside,.store-app .panel>.split>div{overflow:auto;scrollbar-gutter:stable;min-height:0;padding-bottom:16px}
  .store-app .panel>.split>div{padding-right:5px}
  .store-app .panel>.subnav{flex:none}
}

.role-picker{border:1px solid #d5e0eb;border-radius:5px;padding:12px;margin:0 0 14px}.role-picker legend{padding:0 5px}.role-picker .permissions{grid-template-columns:1fr}
.history-json{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f8fc;padding:16px;border-radius:6px;max-height:360px;overflow:auto}
#history-detail{margin-top:24px;border-top:1px solid #dce4ed;padding-top:16px}
#history.panel{display:block;overflow:auto}
#history-rows .table-scroll{max-height:46vh;overflow:auto}
#history-search{grid-template-columns:180px minmax(180px,1fr) auto;align-items:end}
#history-search label{margin-bottom:0}
#history>.actions{justify-content:flex-end}
#history>.actions>button{flex:none}
@media(max-width:720px){#history-search{grid-template-columns:1fr}#history-search button{justify-self:start}}
