:root {
  --teal: #0F5D5D;
  --teal-light: #1a7a7a;
  --teal-pale: #e6f2f2;
  --teal-mid: #c2dfdf;
  --cream: #faf9f7;
  --ink: #212121;
  --muted: #757575;
  --border: #e0e0e0;
  --section-bg: #f5f5f5;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;

  --shadow-soft: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.08);

  --container: 1160px;
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 93, 93, 0.25);
}

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--border);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: var(--teal-mid);
  color: var(--teal);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
}

.chip.active {
  background: var(--teal-pale);
  border-color: var(--teal-mid);
  color: var(--teal);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(46, 125, 50, 0.25);
  background: rgba(46, 125, 50, 0.08);
  color: #1b5e20;
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2e7d32;
}

.card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.toast-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 250;
}

.toast {
  width: min(360px, calc(100vw - 40px));
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.toast .t-icon {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.toast.error .t-icon {
  background: #c62828;
}

.toast .t-title {
  font-size: 13px;
  font-weight: 600;
}

.toast .t-body {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.toast .t-close {
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  padding: 0;
  line-height: 1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.label {
  font-size: 13px;
  color: var(--muted);
}

.input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.input:focus {
  border-color: var(--teal-mid);
  box-shadow: 0 0 0 4px rgba(15, 93, 93, 0.08);
}

.input.error {
  border-color: #c62828;
  box-shadow: 0 0 0 4px rgba(198, 40, 40, 0.08);
}

.field-error {
  font-size: 12px;
  color: #c62828;
  display: none;
}

.field-error.visible {
  display: block;
}

