﻿:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #1b1f2a;
  --muted: #6b7280;
  --accent: #2f6fed;
  --border: #e4e7ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.page {
  max-width: 960px;
  margin: 32px auto 64px;
  padding: 0 16px;
}

h1 { margin: 0 0 8px; }

h2 { margin: 0; font-size: 18px; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 16px 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px;
  font-size: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
}

button.secondary {
  background: #e9eefc;
  color: #1d3c8a;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.output {
  min-height: 52px;
  background: #f3f4f8;
  border-radius: 8px;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-all;
}

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

.list {
  margin: 8px 0 0;
  padding-left: 16px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

thead th {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
}

tbody td {
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
}

footer {
  margin-top: 24px;
  font-size: 12px;
}
