/**
 * P1 Admin shell — loaded synchronously from index.html BEFORE any JS.
 * Keeps the 3-row header visible on cold refresh / direct URL entry.
 */
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}

#app {
  height: 100%;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.base-admin-set {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
}

.base-admin-set > .admin-top,
.base-admin-set .admin-top {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  width: 100%;
  overflow: visible;
  box-sizing: border-box;
}

.base-admin-set .p1-admin-header-root,
.base-admin-set .base-headerBar {
  display: block;
  position: relative;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
}

.base-admin-set .base-headerBar > .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.base-admin-set .base-headerBar .base-tool.base-head-top {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 56px;
  height: 56px;
  width: 100%;
  box-sizing: border-box;
}

.base-admin-set .base-headerBar .base-head-family.base-head-top {
  display: flex;
  align-items: center;
  position: relative;
  min-height: 52px;
  width: 100%;
  box-sizing: border-box;
}

.base-admin-set .base-tab {
  display: block;
  flex: 0 0 auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  height: 38px;
  background: #fff;
}

.base-admin-set > .base-content,
.base-admin-set .base-content {
  display: flex;
  flex-direction: row;
  flex: 1 1 auto;
  height: 0;
  min-height: 0;
  min-width: 0;
  position: relative;
  z-index: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.base-admin-set .base-content .admin-side {
  flex: 0 0 200px;
  width: 200px;
  min-width: 200px;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.base-admin-set .base-content .base-main {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 100%;
  overflow: auto;
  box-sizing: border-box;
}
