/* =============================================================
   SHELBNB — stylesheet
   ============================================================= */
:root {
  --forest: #1f4636;
  --forest-deep: #15311f;
  --sand: #f4ede2;
  --cream: #fbf8f3;
  --coral: #e5734f;
  --coral-dark: #c95a37;
  --ink: #23211d;
  --muted: #6f6a60;
  --line: #e3dccf;
  --gold: #d8a23a;
  --ok: #2e7d52;
  --shadow: 0 18px 50px -22px rgba(31, 70, 54, .45);
  --radius: 18px;
  --max: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.18; font-weight: 700; }
section { padding: 84px 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--coral-dark);
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 10px 0 14px; }
.section-intro { color: var(--muted); max-width: 620px; margin: 0 auto; }

/* ---- Buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 700; cursor: pointer;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { box-shadow: var(--shadow); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---- Header -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--forest); }
.logo .mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--forest); color: var(--sand);
  display: grid; place-items: center; font-size: 1.1rem;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .96rem; color: var(--ink); }
.nav-links a:hover { color: var(--coral-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--forest); }

/* ---- Hero ---------------------------------------------------- */
.hero {
  background:
    linear-gradient(180deg, rgba(21,49,31,.15), rgba(21,49,31,.72)),
    linear-gradient(120deg, #2c5d44, #6f9c6c 55%, #d8a23a);
  color: #fff; padding: 0;
}
.hero-inner { padding: 96px 0 104px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); max-width: 720px; }
.hero .lede { font-size: 1.16rem; max-width: 560px; margin: 18px 0 28px; opacity: .94; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 7px 14px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  margin-bottom: 22px;
}
.hero-stats { display: flex; gap: 34px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.7rem; }
.hero-stats .stat span { font-size: .85rem; opacity: .85; }

/* ---- Trust strip --------------------------------------------- */
.trust { background: var(--forest-deep); color: var(--sand); padding: 22px 0; }
.trust .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; }
.trust-item .ic { color: var(--gold); font-size: 1.1rem; }

/* ---- Gallery ------------------------------------------------- */
.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
}
.gallery-grid .tile {
  border-radius: 14px; overflow: hidden; position: relative;
  display: flex; align-items: flex-end; color: #fff;
  font-weight: 600; padding: 14px;
  background-size: cover; background-position: center;
}
.gallery-grid .tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
}
.gallery-grid .tile span { position: relative; z-index: 1; font-size: .9rem; }
.gallery-grid .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.g0 { background: linear-gradient(135deg,#34604a,#7ba17e); }
.g1 { background: linear-gradient(135deg,#b9763f,#e0b06a); }
.g2 { background: linear-gradient(135deg,#3b5566,#7d99a8); }
.g3 { background: linear-gradient(135deg,#6c8b54,#c6c977); }
.g4 { background: linear-gradient(135deg,#3a6358,#88b0a3); }
.g5 { background: linear-gradient(135deg,#8a5a76,#c79bb2); }

/* ---- Highlights --------------------------------------------- */
.highlight-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px;
}
.highlight {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: transform .15s ease, box-shadow .2s;
}
.highlight:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.highlight .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sand); color: var(--forest); font-size: 1.3rem; margin-bottom: 12px;
}
.highlight h3 { font-size: 1.05rem; }
.highlight p { color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---- Section helpers ---------------------------------------- */
.alt { background: var(--sand); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

/* ---- Platforms ---------------------------------------------- */
.platform-table {
  width: 100%; border-collapse: collapse; margin-top: 30px;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); font-size: .95rem;
}
.platform-table th, .platform-table td { padding: 14px 18px; text-align: left; }
.platform-table thead { background: var(--forest); color: var(--sand); }
.platform-table tbody tr { border-top: 1px solid var(--line); }
.platform-table tbody tr:hover { background: var(--cream); }
.platform-table .fee-zero { color: var(--ok); font-weight: 700; }
.platform-table .direct-row { background: #eef6ef; font-weight: 700; }
.tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--forest);
}

/* ---- Savings calculator ------------------------------------- */
.calc {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  margin-top: 34px;
}
.calc-controls label { font-weight: 700; display: block; margin-bottom: 6px; }
.calc-controls .row { margin-bottom: 22px; }
.calc input[type=range] { width: 100%; accent-color: var(--coral); }
.calc .range-val { font-size: 1.5rem; font-weight: 800; color: var(--forest); }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg button {
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line);
  background: #fff;
}
.seg button.active { border-color: var(--coral); background: var(--coral); color: #fff; }
.compare { display: grid; gap: 14px; }
.compare-card { border-radius: 14px; padding: 20px; border: 2px solid var(--line); }
.compare-card.platform { background: var(--cream); }
.compare-card.direct { background: var(--forest); color: #fff; border-color: var(--forest); }
.compare-card .label { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.compare-card .price { font-size: 2.1rem; font-weight: 800; margin: 4px 0; }
.compare-card .line { display: flex; justify-content: space-between; font-size: .88rem; opacity: .85; }
.savings-banner {
  background: var(--gold); color: var(--forest-deep);
  border-radius: 12px; padding: 14px 18px; text-align: center; font-weight: 800;
  font-size: 1.05rem;
}

/* ---- Testimonials ------------------------------------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px; }
.testi {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 12px;
}
.testi .stars { color: var(--gold); letter-spacing: 2px; }
.testi .quote { font-family: var(--serif); font-size: 1.02rem; }
.testi .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--forest); color: var(--sand); font-weight: 700;
}
.testi .who strong { display: block; font-size: .95rem; }
.testi .who span { font-size: .8rem; color: var(--muted); }
.via {
  font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--sand); color: var(--forest); align-self: flex-start;
}

/* ---- CTA band ------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--forest), #2c5d44);
  color: #fff; text-align: center; border-radius: 24px; padding: 56px 28px;
}
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.cta-band p { opacity: .9; margin: 10px auto 24px; max-width: 520px; }

/* ---- Social -------------------------------------------------- */
.social-grid { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  text-decoration: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 28px; min-width: 150px;
  transition: transform .15s, box-shadow .2s;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social-card .si {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--forest); color: var(--sand); font-weight: 800; font-size: 1.1rem;
}
.social-card strong { color: var(--forest); }
.social-card span { font-size: .82rem; color: var(--muted); }

/* ---- Footer -------------------------------------------------- */
.site-footer { background: var(--forest-deep); color: var(--sand); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer a { color: var(--sand); text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: var(--gold); }
.footer-links { list-style: none; display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .84rem; opacity: .8;
}

/* =============================================================
   BOOKING PAGE
   ============================================================= */
.book-hero {
  background: linear-gradient(120deg, var(--forest), #2c5d44);
  color: #fff; padding: 54px 0;
}
.book-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.book-hero p { opacity: .9; margin-top: 8px; }

.steps { display: flex; gap: 10px; margin: 28px 0 8px; flex-wrap: wrap; }
.step-pill {
  display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700;
  color: var(--muted);
}
.step-pill .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--line); color: var(--muted); font-size: .82rem;
}
.step-pill.active { color: var(--forest); }
.step-pill.active .n { background: var(--coral); color: #fff; }
.step-pill.done .n { background: var(--ok); color: #fff; }

.book-layout { display: grid; grid-template-columns: 1.4fr .85fr; gap: 32px; align-items: start; }
.book-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.book-step { display: none; }
.book-step.active { display: block; }

/* ---- Calendar ------------------------------------------------ */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; cursor: pointer; font-size: 1.1rem;
}
.cal-head button:hover { background: var(--sand); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cal-month h3 { text-align: center; font-size: 1rem; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-day {
  aspect-ratio: 1; border: 0; background: var(--cream); cursor: pointer;
  border-radius: 9px; font: inherit; font-weight: 600; font-size: .86rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink);
}
.cal-day .dp { font-size: .6rem; font-weight: 600; color: var(--muted); }
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day:disabled { color: #c4bdae; cursor: not-allowed; background: transparent; text-decoration: line-through; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.in-range { background: #e3efe5; border-radius: 0; }
.cal-day.range-end, .cal-day.range-start { background: var(--forest); color: #fff; }
.cal-day.range-start .dp, .cal-day.range-end .dp { color: rgba(255,255,255,.8); }
.cal-day.today { outline: 2px solid var(--coral); outline-offset: -2px; }
.cal-legend { display: flex; gap: 18px; margin-top: 14px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.cal-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 5px; }

.field { margin-bottom: 16px; }
.field label { font-weight: 700; display: block; margin-bottom: 5px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 13px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--coral); background: #fff;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; align-items: center; gap: 9px; }
.check-row input { width: auto; }
.hint { font-size: .82rem; color: var(--muted); }
.err { color: var(--coral-dark); font-size: .85rem; font-weight: 600; margin-top: 6px; min-height: 1.1em; }

/* ---- Booking summary card ----------------------------------- */
.summary {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: sticky; top: 90px;
}
.summary h3 { font-size: 1.1rem; margin-bottom: 4px; }
.summary .prop-loc { color: var(--muted); font-size: .88rem; margin-bottom: 16px; }
.summary .sum-dates {
  display: flex; justify-content: space-between; gap: 10px;
  background: var(--cream); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px;
}
.summary .sum-dates .d span { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; text-transform: uppercase; }
.summary .sum-dates .d strong { font-size: .98rem; }
.sum-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; }
.sum-line.disc { color: var(--ok); font-weight: 600; }
.sum-divider { border-top: 1px solid var(--line); margin: 8px 0; }
.sum-total { display: flex; justify-content: space-between; font-size: 1.2rem; font-weight: 800; padding-top: 6px; }
.sum-save {
  margin-top: 14px; background: #eef6ef; color: var(--ok);
  border-radius: 10px; padding: 10px 12px; font-weight: 700; font-size: .9rem; text-align: center;
}
.sum-empty { color: var(--muted); font-size: .9rem; }
.book-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }

/* ---- Confirmation ------------------------------------------- */
.confirm-box { text-align: center; padding: 18px 0; }
.confirm-box .tick {
  width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff;
  display: grid; place-items: center; font-size: 2.2rem; margin: 0 auto 16px;
}
.confirm-ref {
  display: inline-block; background: var(--sand); border-radius: 10px;
  padding: 8px 18px; font-weight: 800; letter-spacing: .12em; margin: 10px 0;
}
.confirm-detail {
  text-align: left; background: var(--cream); border-radius: 12px;
  padding: 18px; margin: 18px 0; display: grid; gap: 7px;
}
.confirm-detail .row { display: flex; justify-content: space-between; font-size: .92rem; }

/* ---- Responsive --------------------------------------------- */
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--line);
  }
  .split, .calc, .book-layout { grid-template-columns: 1fr; }
  .highlight-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cal-months { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  section { padding: 56px 0; }
  .highlight-grid, .testi-grid, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .tile:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .hero-stats { gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .trust .wrap { justify-content: center; }
}

/* =============================================================
   CMS / ADMIN EDITOR
   ============================================================= */
.admin-body { background: #eef0ec; }
.admin-bar {
  position: sticky; top: 0; z-index: 60;
  background: var(--forest-deep); color: var(--sand);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; flex-wrap: wrap;
}
.admin-bar .logo { color: var(--sand); }
.admin-bar .logo .mark { background: var(--coral); color: #fff; }
.admin-bar-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-status {
  font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,.14);
}
.admin-status.dirty { background: var(--gold); color: var(--forest-deep); }
.admin-status.saved { background: rgba(46,125,82,.35); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }

.admin-shell { max-width: 1080px; margin: 0 auto; padding: 26px 24px 80px; }
.admin-hint-banner {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--coral);
  border-radius: 12px; padding: 16px 20px; margin-bottom: 22px; font-size: .92rem;
}
.admin-hint-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.admin-hint-banner ol { margin: 8px 0 0 20px; }
.admin-hint-banner code {
  background: var(--sand); padding: 1px 6px; border-radius: 5px; font-size: .88em;
}

.draft-banner {
  background: var(--gold); color: var(--forest-deep); border-radius: 12px;
  padding: 12px 18px; margin-bottom: 20px; display: flex; gap: 12px;
  align-items: center; justify-content: space-between; flex-wrap: wrap; font-weight: 600;
}
.draft-banner .btn { padding: 7px 14px; font-size: .85rem; }

.admin-nav {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px;
}
.admin-nav a {
  text-decoration: none; font-size: .85rem; font-weight: 700;
  background: #fff; border: 1px solid var(--line); color: var(--forest);
  padding: 7px 14px; border-radius: 999px;
}
.admin-nav a:hover { background: var(--forest); color: #fff; }

.admin-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 26px; margin-bottom: 20px; scroll-margin-top: 80px;
}
.admin-card > h2 {
  font-size: 1.15rem; margin-bottom: 4px;
  display: flex; align-items: center; gap: 9px;
}
.admin-card > h2 .ci {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--sand); color: var(--forest); font-size: .95rem;
}
.admin-card > .card-note { color: var(--muted); font-size: .87rem; margin-bottom: 16px; }

.adm-field { margin-bottom: 14px; }
.adm-field > label {
  display: block; font-weight: 700; font-size: .86rem; margin-bottom: 4px;
}
.adm-field .fhint { font-size: .78rem; color: var(--muted); font-weight: 500; }
.adm-field input, .adm-field textarea, .adm-field select {
  width: 100%; font: inherit; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--cream);
}
.adm-field input:focus, .adm-field textarea:focus, .adm-field select:focus {
  outline: 2px solid var(--coral); background: #fff;
}
.adm-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.adm-grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.adm-grid4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.adm-suffix { position: relative; }
.adm-suffix input { padding-right: 30px; }
.adm-suffix::after {
  content: attr(data-suffix); position: absolute; right: 11px; top: 32px;
  color: var(--muted); font-weight: 700; font-size: .85rem;
}

.adm-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 16px;
  margin-bottom: 12px; background: var(--cream);
}
.adm-item-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.adm-item-head strong { font-size: .92rem; color: var(--forest); }
.btn-del {
  background: #fff; border: 1px solid #e3b4a4; color: var(--coral-dark);
  border-radius: 8px; padding: 5px 12px; font: inherit; font-weight: 700;
  font-size: .8rem; cursor: pointer;
}
.btn-del:hover { background: var(--coral); color: #fff; border-color: var(--coral); }
.btn-add {
  background: var(--forest); color: #fff; border: 0; border-radius: 9px;
  padding: 9px 16px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer;
}
.btn-add:hover { background: var(--forest-deep); }

.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.adm-table th, .adm-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.adm-table th { color: var(--muted); font-size: .76rem; text-transform: uppercase; }
.adm-empty { color: var(--muted); font-size: .88rem; font-style: italic; }

.admin-modal {
  position: fixed; inset: 0; background: rgba(21,49,31,.55);
  display: none; align-items: center; justify-content: center; z-index: 80; padding: 24px;
}
.admin-modal.open { display: flex; }
.admin-modal-box {
  background: #fff; border-radius: var(--radius); max-width: 760px; width: 100%;
  max-height: 86vh; display: flex; flex-direction: column; overflow: hidden;
}
.admin-modal-box header {
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.admin-modal-box textarea {
  flex: 1; margin: 0; border: 0; padding: 18px 22px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .82rem; resize: none; background: var(--cream); min-height: 320px;
}
.admin-modal-box footer {
  padding: 14px 22px; border-top: 1px solid var(--line);
  display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap;
}
.modal-x { background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--muted); }

@media (max-width: 680px) {
  .adm-grid2, .adm-grid3, .adm-grid4 { grid-template-columns: 1fr; }
}
