/* 砺阵后台框架：侧栏 + 顶栏固定，业务页进内容框 */

html.admin-app-root,
body.admin-app-root {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

body.admin-app-root .admin-shell {
  height: 100vh;
  max-height: 100vh;
}

body.admin-app-root .admin-main-wrap {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

.admin-frame {
  flex: 1;
  width: 100%;
  min-height: 0;
  border: 0;
  background: var(--adm-bg, #f0f2f5);
  display: block;
}

html.admin-framed,
html.admin-framed body.admin-app {
  background: var(--adm-bg, #f0f2f5);
}

html.admin-framed #admin-page {
  padding: 16px 20px 28px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

html.admin-framed p[aria-label="面包屑"],
html.admin-framed .adm-crumb,
html.admin-framed .comp-crumb,
html.admin-framed .dt-crumb,
html.admin-framed .wu-crumb,
html.admin-framed .im-crumb,
html.admin-framed .sc-crumb,
html.admin-framed .tm-crumb,
html.admin-framed .ul-crumb,
html.admin-framed .qb-crumb,
html.admin-framed .fg-crumb,
html.admin-framed .paper-crumb,
html.admin-framed .inst-crumb,
html.admin-framed .sw-crumb,
html.admin-framed .net-crumb,
html.admin-framed .mode-rel + .mode-crumb {
  display: none !important;
}

.cms-mods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}
.cms-mod {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--adm-border, #e5e7eb);
  border-radius: 10px;
  padding: 1rem 1.1rem 0.95rem;
  min-height: 7.2rem;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.cms-mod:hover {
  border-color: var(--adm-accent, #0d9488);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  transform: translateY(-1px);
}
.cms-mod .ico { font-size: 1.35rem; line-height: 1; }
.cms-mod h2 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 650;
}
.cms-mod p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--adm-muted, #4b5563);
  line-height: 1.45;
}
.cms-mod .n {
  margin-top: 0.55rem;
  font-family: var(--adm-mono, ui-monospace, monospace);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--adm-accent, #0d9488);
}
@media (max-width: 900px) {
  .cms-mods { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cms-mods { grid-template-columns: 1fr; }
}
