/* src/styles.css */
:root {
  color: #0f172a;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 0% 0%,
      rgba(34, 197, 94, 0.16),
      transparent 34%),
    radial-gradient(
      circle at 100% 0%,
      rgba(14, 165, 233, 0.14),
      transparent 28%),
    linear-gradient(
      180deg,
      #eef4ff 0%,
      #f9fafb 40%,
      #f5f7fb 100%);
  font-family:
    "Avenir Next",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
}
a {
  color: #0f4c81;
}
button,
input,
select,
textarea {
  font: inherit;
}
.app-shell {
  min-height: 100vh;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.topbar strong {
  display: block;
  font-size: 20px;
}
.brand-copy {
  display: grid;
  gap: 4px;
}
.topbar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.topbar-user {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #dbe3f0;
  color: #334155;
  cursor: pointer;
  appearance: none;
}
.app-main {
  max-width: 1380px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}
.workspace-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.panel {
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
}
.panel h1,
.panel h2,
.panel h3,
.panel p {
  margin-top: 0;
}
.panel-hero {
  background:
    linear-gradient(
      160deg,
      rgba(15, 23, 42, 0.96),
      rgba(15, 76, 129, 0.94)),
    #0f172a;
  color: #fff;
}
.panel-hero .hero-copy,
.panel-hero .muted-text,
.panel-hero .field-label {
  color: rgba(255, 255, 255, 0.82);
}
.panel-wide {
  grid-column: 1 / -1;
}
.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #93c5fd;
}
.hero-copy,
.muted-text {
  color: #475569;
  line-height: 1.7;
}
.toolbar-row,
.checkbox-row,
.totals-strip,
.status-strip,
.panel-head {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.panel-head {
  justify-content: space-between;
}
.status-strip {
  margin-top: 18px;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.18);
}
.status-badge,
.result-pill,
.finding-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.08);
}
.result-pass {
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}
.result-review {
  background: rgba(234, 179, 8, 0.18);
  color: #854d0e;
}
.result-fail {
  background: rgba(239, 68, 68, 0.16);
  color: #991b1b;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.field {
  display: grid;
  gap: 8px;
}
.compact-field {
  display: grid;
  gap: 4px;
  min-width: 148px;
}
.compact-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}
.compact-select {
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
}
.field-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.field-input,
.field-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
}
.field-textarea {
  resize: vertical;
}
.checkbox {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  background: #fff;
}
.item-list,
.finding-list,
.threshold-list,
.source-list {
  display: grid;
  gap: 12px;
}
.item-card,
.source-card,
.threshold-card {
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
}
.finding {
  border-radius: 18px;
  padding: 14px 16px;
  border: 1px solid #dbe3f0;
}
.finding-error {
  background: rgba(254, 242, 242, 0.9);
  border-color: #fecaca;
}
.finding-warning {
  background: rgba(254, 249, 195, 0.9);
  border-color: #fde68a;
}
.finding-info {
  background: rgba(239, 246, 255, 0.95);
  border-color: #bfdbfe;
}
.finding-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}
.notice-inline,
.service-inline {
  margin-top: 18px;
  border-radius: 18px;
  padding: 14px 16px;
}
.notice-inline {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.notice-inline p,
.service-inline {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0;
}
.service-inline {
  background: rgba(15, 23, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.preview-frame {
  width: 100%;
  min-height: 720px;
  border: 1px solid #dbe3f0;
  border-radius: 18px;
  background: #fff;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(8px);
}
.modal-card {
  width: min(860px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
}
.source-meta,
.summary-title {
  color: #475569;
}
.empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  padding: 22px;
  color: #64748b;
  text-align: center;
}
.segmented-control {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #eef2ff;
  margin-bottom: 18px;
}
.segmented-button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  color: #334155;
}
.segmented-button.active {
  background: #0f172a;
  color: #fff;
}
.auth-shell {
  display: grid;
  gap: 10px;
}
.auth-actions-wide {
  grid-column: 1 / -1;
}
.panel-copy {
  display: grid;
  gap: 4px;
}
.ops-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ops-column {
  display: grid;
  gap: 12px;
}
.inverted-badge {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
@media (max-width: 1120px) {
  .workspace-grid,
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .topbar-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .workspace-grid,
  .field-grid,
  .ops-grid {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 18px;
  }
  .preview-frame {
    min-height: 520px;
  }
  .modal-backdrop {
    padding: 12px;
  }
}
.action-button {
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  cursor: pointer;
}
.action-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.pill-muted {
  background: rgba(15, 23, 42, 0.08);
  color: #334155;
}
.notice-banner {
  background:
    linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.96),
      rgba(15, 76, 129, 0.92));
  color: #fff;
}
.notice-banner .muted-text {
  color: rgba(255, 255, 255, 0.82);
}
.secondary-button {
  background: #fff;
  color: #0f172a;
}
/*# sourceMappingURL=main.css.map */
