/* [project]/app/globals.css [app-client] (css) */
:root {
  --canvas: #f3f5f7;
  --surface: #fff;
  --surface-subtle: #f7f8fa;
  --text: #172026;
  --text-secondary: #5f6b73;
  --text-muted: #89939a;
  --border: #e3e7ea;
  --accent: #087f5b;
  --accent-soft: #e8f4ef;
  --danger: #c53b3b;
  --warning: #b06b00;
  --header-height: 52px;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--canvas);
  width: 100%;
  min-height: 100%;
  color: var(--text);
  letter-spacing: 0;
  margin: 0;
}

body {
  font-family: Inter, SF Pro Text, PingFang SC, Microsoft YaHei, system-ui, sans-serif;
}

button, input, textarea, select {
  font: inherit;
}

.app-layout {
  min-height: 100dvh;
}

.app-header {
  z-index: 50;
  height: var(--header-height);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  line-height: normal;
  position: sticky;
  top: 0;
}

.app-header > .ant-flex {
  height: 100%;
}

.app-body {
  min-height: calc(100dvh - var(--header-height));
}

.app-body > .ant-layout-sider {
  top: var(--header-height);
  height: calc(100dvh - var(--header-height));
  border-right: 1px solid var(--border);
  position: sticky;
  overflow: auto;
}

.app-body .ant-menu {
  border-inline-end: 0;
  padding: 12px 8px;
}

.app-content {
  background: var(--surface);
  min-width: 0;
}

.brand-mark {
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  place-items: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  display: grid;
}

.brand-block {
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  line-height: 1.15;
  display: flex;
}

.brand-block .ant-typography:last-child {
  font-size: 11px;
}

.service-pulse {
  align-items: center;
  gap: 6px;
  display: flex;
}

.dot {
  border-radius: 50%;
  flex: none;
  width: 7px;
  height: 7px;
  display: inline-block;
}

.dot-ok {
  background: #16845b;
}

.dot-error {
  background: #c53b3b;
}

.profile-button {
  align-items: center;
  gap: 8px;
  height: 36px;
  display: inline-flex;
}

.page-frame {
  width: 100%;
  min-height: calc(100dvh - var(--header-height));
  padding: 24px 32px 40px;
}

.page-heading {
  margin-bottom: 24px;
}

.page-heading .ant-typography {
  margin: 0;
}

.page-heading h2.ant-typography {
  margin-bottom: 4px;
  font-size: 20px;
  line-height: 28px;
}

.section-block {
  margin-top: 24px;
}

.section-heading {
  margin: 0 0 12px !important;
  font-size: 15px !important;
  line-height: 22px !important;
}

.metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.metric-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
  min-width: 0;
}

.metric-card .ant-card-body {
  padding: 16px;
}

.settings-card {
  max-width: 960px;
}

.settings-card .ant-card-body {
  padding: 20px 24px 24px;
}

.settings-form .ant-form-item {
  margin-bottom: 18px;
}

.settings-form .settings-enabled {
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
  padding-bottom: 18px;
}

.settings-secret-configured {
  color: var(--success) !important;
}

.settings-callback-note {
  margin-top: 2px;
}

.settings-callback-code {
  overflow-wrap: anywhere;
}

.settings-form-actions {
  justify-content: flex-end;
  margin-top: 20px;
  display: flex;
}

.metric-label {
  color: var(--text-secondary);
  font-size: 12px;
}

.metric-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
  font-size: 28px;
  font-weight: 650;
  line-height: 1.15;
}

.metric-helper {
  min-height: 18px;
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 12px;
}

.panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 6px;
}

.panel-toolbar {
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
}

.panel-body {
  padding: 16px;
}

.content-split {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 36%);
  gap: 16px;
  display: grid;
}

.code-preview {
  border: 1px solid var(--border);
  color: #273238;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f6f8f9;
  border-radius: 6px;
  max-height: 420px;
  margin: 0;
  padding: 14px;
  font-family: SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow: auto;
}

.empty-panel {
  place-items: center;
  min-height: 260px;
  padding: 24px;
  display: grid;
}

.app-loading {
  width: min(760px, 100vw - 48px);
  margin: 80px auto;
}

.login-page {
  background: linear-gradient(90deg, var(--surface-subtle) 0 42%, var(--surface) 42% 100%);
  min-height: 100dvh;
}

.login-shell {
  grid-template-columns: 42% 58%;
  align-items: stretch;
  width: min(1040px, 100vw - 48px);
  min-height: 620px;
  margin: 0 auto;
  padding-top: max(48px, 8vh);
  display: grid;
}

.login-context {
  border: 1px solid var(--border);
  background: var(--surface-subtle);
  border-right: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 44px 36px;
  display: flex;
}

.login-context h1 {
  max-width: 9em;
  margin: 22px 0 16px;
  font-size: 32px;
  line-height: 1.25;
}

.login-form-wrap {
  border: 1px solid var(--border);
  background: var(--surface);
  place-items: center;
  padding: 48px;
  display: grid;
}

.login-form {
  width: min(360px, 100%);
}

.login-form h2 {
  margin-bottom: 4px;
}

.login-points {
  color: var(--text-secondary);
  gap: 10px;
  font-size: 13px;
  display: grid;
}

.login-points > div {
  align-items: center;
  gap: 8px;
  display: flex;
}

.login-points .anticon {
  color: var(--accent);
}

.gap-priority {
  text-align: center;
  width: 34px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .page-frame {
    padding: 20px 16px 32px;
  }

  .settings-card .ant-card-body {
    padding: 16px;
  }

  .settings-form-actions, .settings-form-actions .ant-space, .settings-form-actions .ant-space-item, .settings-form-actions .ant-btn {
    width: 100%;
  }

  .service-pulse > .ant-typography {
    display: none;
  }

  .login-page {
    background: var(--surface);
  }

  .login-shell {
    grid-template-columns: 1fr;
    width: 100%;
    min-height: 100dvh;
    padding: 0;
  }

  .login-context {
    border: 0;
    border-bottom: 1px solid var(--border);
    min-height: 220px;
    padding: 28px 24px;
  }

  .login-context h1 {
    margin: 14px 0 8px;
    font-size: 26px;
  }

  .login-form-wrap {
    border: 0;
    place-items: start center;
    padding: 32px 24px;
  }
}

@media (max-width: 560px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .page-heading {
    margin-bottom: 18px;
  }

  .page-heading > .ant-flex:last-child, .page-heading > .ant-flex:last-child .ant-btn {
    width: 100%;
  }

  .login-points {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/*# sourceMappingURL=app_globals_0yg4wg8.css.map*/