:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  min-height: 100%;
  background: #f5f7fb;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC',
    'Microsoft YaHei', sans-serif;
}

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

.logo {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1677ff, #69b1ff);
  display: grid;
  place-items: center;
  font-size: 14px;
}

.content-wrap {
  padding: 20px 24px 32px;
}

.page-title {
  margin-bottom: 16px !important;
}

.log-terminal {
  background: #0b1220;
  color: #d7e0f2;
  border-radius: 10px;
  padding: 12px 14px;
  height: 360px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.55;
}

.log-line {
  white-space: pre-wrap;
  word-break: break-word;
}

.log-time {
  color: #7f8da3;
  margin-right: 6px;
}

.log-INFO { color: #91caff; }
.log-DEBUG { color: #8c8c8c; }
.log-WARNING { color: #ffc53d; }
.log-ERROR { color: #ff7875; }
.log-SYSTEM { color: #b37feb; }
.log-AI { color: #73d13d; }
.log-SUCCESS { color: #95de64; }

.stat-card .ant-statistic-content {
  font-size: 22px;
}

.muted {
  color: rgba(0, 0, 0, 0.45);
}
