/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --background: #fff;
  --foreground: #141414;
  --card: #fff;
  --muted: #f5f5f5;
  --muted-foreground: #6b6b6b;
  --border: #e0e0e0;
  --input: #e0e0e0;
  --primary: #1f1f1f;
  --primary-foreground: #fff;
  --destructive: #dc2626;
  --destructive-soft: #fef2f2;
  --success: #166534;
  --success-soft: #f0fdf4;
  --radius: 16px;
  --shadow-soft: 0 14px 44px #0f172a14;
  --font-sans: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  background: var(--background);
}

body {
  background: radial-gradient(circle at 0% 0%, #1f1f1f0d, transparent 24%),
    linear-gradient(180deg, var(--background) 0%, #f5f5f5e0 100%);
  min-height: 100vh;
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

a {
  color: inherit;
}

button, input, textarea {
  font: inherit;
}

.shell {
  min-height: 100dvh;
}

.topbar {
  z-index: 10;
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: #ffffffe0;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.brand strong {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.brand span {
  color: var(--muted-foreground);
  font-size: 12px;
  line-height: 1.4;
}

.top-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.container {
  width: min(1180px, 100% - 32px);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 18px;
  display: grid;
}

.stack {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.panel {
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #1414141a;
}

.panel-header {
  border-bottom: 1px solid var(--border);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 16px;
  display: grid;
}

.panel-title {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
}

.panel-description {
  color: var(--muted-foreground);
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

.panel-body {
  padding: 16px;
}

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

.field {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted-foreground);
  font-size: 13px;
  line-height: 1.4;
}

.field input, .field textarea {
  border: 1px solid var(--input);
  background: var(--background);
  width: 100%;
  color: var(--foreground);
  border-radius: 12px;
  outline: none;
  padding: 9px 11px;
  transition: border-color .16s, box-shadow .16s, background .16s;
}

.field input:focus, .field textarea:focus {
  border-color: #3d3d3d;
  box-shadow: 0 0 0 3px #1414141f;
}

.field textarea {
  resize: vertical;
  min-height: 92px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
}

.button-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.btn {
  background: var(--background);
  min-height: 32px;
  color: var(--foreground);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid #0000;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .16s, color .16s, transform .12s, box-shadow .16s;
  display: inline-flex;
  box-shadow: inset 0 0 0 1px #1414141f;
}

.btn:hover {
  background: var(--muted);
}

.btn:active {
  transform: translateY(1px);
}

.btn.primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: none;
}

.btn.primary:hover {
  background: #333;
}

.btn.danger {
  color: var(--destructive);
  box-shadow: inset 0 0 0 1px #dc262638;
}

.btn.danger:hover {
  background: var(--destructive-soft);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .5;
  transform: none;
}

.list {
  flex-direction: column;
  gap: 10px;
  display: flex;
}

.item {
  background: var(--muted);
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 0 0 1px #14141414;
}

.item-head {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
}

.meta {
  color: var(--muted-foreground);
  word-break: break-all;
  font-size: 12px;
  line-height: 1.65;
}

.badge {
  background: var(--muted);
  min-height: 24px;
  color: var(--muted-foreground);
  white-space: nowrap;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  box-shadow: inset 0 0 0 1px #1414141a;
}

.badge.good {
  background: var(--success-soft);
  color: var(--success);
  box-shadow: inset 0 0 0 1px #16653429;
}

.badge.bad {
  background: var(--destructive-soft);
  color: var(--destructive);
  box-shadow: inset 0 0 0 1px #dc262629;
}

.code {
  color: #f5f5f5;
  font-family: var(--mono);
  background: #111;
  border-radius: 14px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.65;
  display: block;
  overflow-x: auto;
  box-shadow: inset 0 0 0 1px #ffffff14;
}

.notice {
  background: var(--muted);
  color: var(--foreground);
  border-radius: 14px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
  box-shadow: inset 0 0 0 1px #1414141a;
}

.muted {
  color: var(--muted-foreground);
}

.auth-page {
  place-items: center;
  min-height: 100dvh;
  padding: 24px 16px;
  display: grid;
}

.auth-panel {
  width: min(440px, 100%);
  box-shadow: var(--shadow-soft);
}

.auth-form {
  flex-direction: column;
  gap: 14px;
  display: flex;
}

.auth-submit {
  width: 100%;
  min-height: 38px;
}

.auth-switch {
  color: var(--muted-foreground);
  text-align: center;
  margin: 14px 0 0;
  font-size: 13px;
}

.auth-switch a {
  color: var(--foreground);
  font-weight: 650;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.inline-field {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  display: grid;
}

@media (max-width: 860px) {
  .grid, .form-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-header, .inline-field {
    grid-template-columns: 1fr;
  }
}

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