/* src/styles.css */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --border: rgba(0, 0, 0, .10);
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --danger: #dc2626;
  --ok: #16a34a;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --radius: 18px;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
:host {
  font-family: "Poppins", sans-serif;
}
body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}
.header {
  padding: 20px clamp(16px, 2vw, 28px) 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid #ececf2;
  background: #fff;
}
.badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #34d399 0%,
      #60a5fa 100%);
}
.title {
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
}
.subtitle {
  margin-top: 2px;
  color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card.preview {
  max-width: 100%;
  width: 100%;
}
h2 {
  margin: 0 0 14px 0;
  font-size: 20px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 980px) {
  .row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.field.half {
  margin-bottom: 0;
}
label {
  font-size: 13px;
  color: var(--muted);
}
input,
textarea,
select {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  outline: none;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(37, 99, 235, .45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
  background: #fff;
}
.preview-card {
  width: 500px;
  min-width: 500px;
  max-width: 500px;
  flex: 0 0 500px;
}
.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.divider {
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
}
.btn:hover {
  background: #f8fafc;
}
.btn.primary {
  border-color: rgba(37, 99, 235, .35);
  background: rgba(37, 99, 235, .10);
  color: #1d4ed8;
}
.btn.primary:hover {
  background: rgba(37, 99, 235, .14);
}
.btn.danger {
  border-color: rgba(220, 38, 38, .35);
  background: rgba(220, 38, 38, .08);
  color: #b91c1c;
}
.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.hint {
  color: var(--muted);
  font-size: 13px;
  margin-top: 8px;
}
.err {
  margin-top: 12px;
  border: 1px solid rgba(220, 38, 38, .25);
  background: rgba(220, 38, 38, .06);
  padding: 12px;
  border-radius: 12px;
}
.ok {
  color: var(--ok);
  font-weight: 700;
}
pre,
code {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
}
.json-box {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre;
  word-break: normal;
  word-wrap: normal;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    monospace;
  font-size: 13px;
  line-height: 1.45;
  padding: 14px;
  border-radius: 14px;
  background: #0b1020;
  color: #e6e8ff;
}
.latex-link {
  margin-left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #d11a2a;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.latex-link:hover {
  opacity: 0.85;
}
.section-card {
  background: #ededed;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px 16px 14px;
  margin-top: 12px;
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-body {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px 10px;
}
.section-title {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.section-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-weight: 500;
}
.section-help {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}
.chips-field .chip,
app-chips-input .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 6px 6px 0 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 500;
}
.chips-field .chip-remove,
.meta-card {
  background: #ededed;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 12px 14px;
}
.meta-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.meta-title {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meta-hint {
  font-size: 11px;
  color: #6b7280;
}
.meta-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 14px;
}
.meta-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #6b7280;
}
app-chips-input .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  margin: 6px 6px 0 0;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 500;
}
app-chips-input .chip-remove {
  all: unset;
  cursor: pointer;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.12);
  color: #1e3a8a;
  font-size: 12px;
  line-height: 1;
}
.chips-field .chip-remove:hover,
app-chips-input .chip-remove:hover {
  background: rgba(30, 58, 138, 0.25);
}
.preview-card textarea {
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    "Courier New",
    monospace;
  line-height: 1.35;
}
.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header {
  width: 100%;
  max-width: none;
  margin: 16px;
  padding: 0;
  box-sizing: border-box;
}
@font-face {
  font-family: "Poppins";
  src: url(/assets/fonts/poppins/poppins_regular.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(/assets/fonts/poppins/poppins_medium.ttf) format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(/assets/fonts/poppins/poppins_semibold.ttf) format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(/assets/fonts/poppins/poppins_bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url(/assets/fonts/poppins/poppins_italic.ttf) format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles.css.map */
