body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
}

*, *::before, *::after {
  box-sizing: border-box;
}

a {
  color: var(--g);
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

.nav a {
  color: var(--text-3);
  text-decoration: none;
}

.nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.mark {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  color: var(--text) !important;
  letter-spacing: -0.3px;
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--g);
  border-radius: var(--radius-full);
  margin: 0 0.5px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.nav-r {
  display: flex;
  gap: 18px;
  align-items: center;
  font-family: var(--mono);
  font-size: 12px;
}

.nav-cta {
  background: var(--g);
  color: #fff !important;
  padding: 5px 13px;
  border-radius: var(--radius-base);
  font-weight: 500;
}

.nav-cta:hover {
  opacity: 0.88;
}

.content {
  padding: var(--space-9) 0;
}

.content h1 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: var(--space-7);
  color: var(--text);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 14px;
}

.card h2 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--g);
  margin: 0 0 8px;
}

.card p {
  font-family: var(--body);
  font-size: 14.5px;
  color: var(--text-2);
  margin: 0 0 12px;
  line-height: 1.6;
}

.card p:last-child {
  margin-bottom: 0;
}

.btn-fill {
  display: inline-block;
  background: var(--g);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-base);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-fill:hover {
  opacity: 0.88;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--g);
  padding: 7px 18px;
  border-radius: var(--radius-base);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--g);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--g);
  color: #fff;
  text-decoration: none;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

.card label {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-3);
}

.input {
  background: var(--well);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font-family: var(--mono);
  font-size: 13px;
  padding: 8px 12px;
  outline: none;
}

.input:focus {
  border-color: var(--g);
}

.input::placeholder {
  color: var(--text-4);
}

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

.profile-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-2);
}

.profile-field + .profile-field {
  border-top: 1px solid var(--line);
}

.profile-label {
  color: var(--text-3);
  min-width: 100px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .nav-r {
    gap: 12px;
    font-size: 11px;
  }
}

.flash {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  margin-top: 14px;
}

.flash-success {
  background: var(--g-pale);
  border: 1px solid var(--g);
  color: var(--g2);
}

.flash-error {
  background: #2E1C1C;
  border: 1px solid #AA5555;
  color: #E08080;
}

.htmx-indicator { display: none; }
.htmx-request .htmx-indicator { display: inline; }
.htmx-request .htmx-hide-on-request { display: none; }
.btn-fill.htmx-request { opacity: 0.6; pointer-events: none; }

.announcement {
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 18px;
  background: #2A2818;
  border: 1px solid #AA9E68;
  border-radius: var(--radius-lg);
  color: #D4C878;
  margin-top: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.7;
}
ÊÇE½]