* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
  margin: 0;
}

body {
  color: #1f2937;
  background: #f5f7fb;
  font-family:
    Inter,
    "PingFang SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  min-height: 100vh;
}

.app-main {
  min-height: calc(100vh - 64px);
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.panel {
  border: 1px solid #d9e0ea;
  border-radius: 8px;
  background: #ffffff;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid #e7ecf3;
}

.panel-title {
  margin: 0;
  color: #172033;
  font-size: 18px;
  font-weight: 700;
}

.muted {
  color: #667085;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 24px, 1180px);
    padding-top: 18px;
  }
}
