/* path: app/static/css/site.css */
[x-cloak] { display: none !important; }
html { scroll-behavior: smooth; }
.font-display { font-variation-settings: "opsz" 96; }

.logo-mark {
  width: 28px; height: 28px; border-radius: 8px; display: inline-block;
  background:
    linear-gradient(135deg, transparent 50%, #e0892a 50%),
    #1f6f68;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15);
}

.navlink { color: #12302f; opacity: .78; position: relative; padding: 4px 0; }
.navlink:hover, .navlink.active { opacity: 1; }
.navlink.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: #e0892a; border-radius: 2px;
}

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #e0892a; color: #fff; font-weight: 600; font-size: .9rem;
  padding: .7rem 1.25rem; border-radius: 999px; transition: background .15s, transform .15s;
}
.btn-primary:hover { background: #c47318; transform: translateY(-1px); }
.btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: #12302f; color: #fff; font-weight: 600; font-size: .9rem;
  padding: .7rem 1.25rem; border-radius: 999px; transition: background .15s;
}
.btn-dark:hover { background: #195a54; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 1.5px solid rgba(18,48,47,.25); color: #12302f; font-weight: 600; font-size: .9rem;
  padding: .65rem 1.2rem; border-radius: 999px; transition: border-color .15s, background .15s;
}
.btn-ghost:hover { border-color: #12302f; background: rgba(18,48,47,.04); }

.eyebrow { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: #c47318; }
.card { background: #fff; border: 1px solid rgba(18,48,47,.08); border-radius: 18px; }
.card-hover { transition: transform .18s, box-shadow .18s, border-color .18s; }
.card-hover:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px rgba(18,48,47,.35); border-color: rgba(31,111,104,.35); }

.chip {
  display: inline-block; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px;
  background: #eef7f5; color: #195a54;
}
.chip-saffron { background: #fbe9d3; color: #8a4f10; }

.field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(18,48,47,.18); border-radius: 12px; padding: .7rem .85rem;
  background: #fff; font-size: .95rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: #1f6f68; box-shadow: 0 0 0 3px rgba(31,111,104,.15);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.hero-grid {
  background-image:
    linear-gradient(rgba(18,48,47,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,48,47,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}

.omr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.omr span { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(18,48,47,.35); display: inline-block; }
.omr span.on { background: #12302f; border-color: #12302f; }

.prose-tc p { margin: 0 0 1rem; line-height: 1.75; }

/* admin */
.adm-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #4b6563; font-weight: 600; padding: .6rem .75rem; border-bottom: 1px solid #e5ebea; }
.adm-table td { padding: .65rem .75rem; border-bottom: 1px solid #f0f3f2; font-size: .88rem; vertical-align: top; }
