/* 积磊企业管理中心：简洁、适配手机与电脑；不继承后台管理界面的密度。 */
.enterprise-page { padding: 28px 0 56px; }
.enterprise-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; justify-content: space-between; }
.enterprise-brand { display: flex; gap: 14px; align-items: center; }
.enterprise-logo { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; background: var(--surface-muted, #f2f0eb); }
.enterprise-head h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.enterprise-head p { margin: 0; color: var(--muted, #777); }
.enterprise-role { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border, #e5e2da); border-radius: 999px; padding: 4px 12px; font-size: .82rem; color: var(--muted, #777); }
.enterprise-subnav { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 26px; border-bottom: 1px solid var(--border, #e5e2da); padding-bottom: 10px; }
.enterprise-subnav a { padding: 8px 13px; border-radius: 10px; text-decoration: none; color: var(--fg, #26231d); font-size: .92rem; }
.enterprise-subnav a.is-active { background: var(--brand-soft, #e8f0ec); color: var(--brand, #276c63); font-weight: 600; }
.enterprise-subnav .enterprise-notice-link { margin-left: auto; }
.enterprise-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.enterprise-metric { border: 1px solid var(--border, #e5e2da); border-radius: 16px; padding: 16px 18px; background: var(--surface, #fff); }
.enterprise-metric small { display: block; color: var(--muted, #777); font-size: .8rem; margin-bottom: 8px; }
.enterprise-metric strong { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
.enterprise-metric span { display: block; color: var(--muted, #777); font-size: .78rem; margin-top: 6px; }
.enterprise-panel { border: 1px solid var(--border, #e5e2da); border-radius: 18px; background: var(--surface, #fff); margin-top: 22px; overflow: hidden; }
.enterprise-panel > header { padding: 17px 20px; border-bottom: 1px solid var(--border, #e5e2da); display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.enterprise-panel > header h2 { margin: 0; font-size: 1.08rem; }
.enterprise-panel > header p { margin: 4px 0 0; color: var(--muted, #777); font-size: .84rem; }
.enterprise-panel__body { padding: 18px 20px; }
.enterprise-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.enterprise-table th, .enterprise-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border, #eeeae2); vertical-align: top; }
.enterprise-table th { color: var(--muted, #777); font-weight: 600; font-size: .8rem; }
.enterprise-table tr:last-child td { border-bottom: 0; }
.enterprise-table__wrap { overflow-x: auto; }
.enterprise-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.enterprise-actions form { display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.enterprise-actions input[name=note] { min-width: 130px; }
.enterprise-status { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: .76rem; background: #f1efe9; color: #6d665a; }
.enterprise-status--pending { background: #fff4db; color: #8a6200; }
.enterprise-status--approved { background: #e6f4ec; color: #1d6b45; }
.enterprise-status--rejected { background: #fdeceb; color: #9a2d27; }
.enterprise-status--failed { background: #f2ecfb; color: #68409a; }
.enterprise-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: end; }
.enterprise-form label { display: grid; gap: 5px; font-size: .86rem; color: var(--muted, #777); }
.enterprise-form input, .enterprise-form select { padding: 9px 10px; border: 1px solid var(--border, #ddd8cf); border-radius: 9px; font: inherit; background: #fff; }
.enterprise-empty { padding: 28px 20px; color: var(--muted, #777); text-align: center; }
.enterprise-note { border-left: 3px solid var(--brand, #276c63); padding: 10px 14px; background: var(--brand-soft, #f2f6f4); color: #40514b; font-size: .86rem; border-radius: 0 10px 10px 0; }
.enterprise-bars { display: grid; gap: 8px; }
.enterprise-bars > div { display: grid; grid-template-columns: 110px 1fr 60px; gap: 10px; align-items: center; font-size: .84rem; }
.enterprise-bars i { display: block; height: 8px; border-radius: 999px; background: var(--brand, #276c63); min-width: 2px; }
.enterprise-bars b { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.enterprise-kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 16px; font-size: .9rem; }
.enterprise-kv dt { color: var(--muted, #777); }
.enterprise-kv dd { margin: 0; }
.enterprise-application-detail { display: grid; gap: 12px; }
@media (max-width: 640px) {
  .enterprise-page { padding-top: 18px; }
  .enterprise-metric strong { font-size: 1.4rem; }
  .enterprise-kv { grid-template-columns: 96px 1fr; }
  .enterprise-bars > div { grid-template-columns: 76px 1fr 50px; }
}
