@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Source+Serif+4:wght@600;700;800&display=swap");

:root {
  --paper: #ffffff;
  --paper-deep: #f0f4f4;
  --ink: #111111;
  --muted: #687070;
  --rule: #d8dddd;
  --surface: #ffffff;
  --red: #b21f2d;
  --red-dark: #7f1620;
  --red-soft: #f7e7e8;
  --ochre: #c8953e;
  --success: #28634a;
  font-family: Poppins, Manrope, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; padding-bottom: 3rem; background: var(--paper); color: var(--ink); }
main { width: min(100% - 40px, 1180px); margin: 3.5rem auto; }
a { color: var(--red-dark); }
h1, h2, h3 { color: var(--ink); font-family: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif; font-weight: 800; letter-spacing: -0.025em; }
h1 { margin: 0 0 2.5rem; font-size: clamp(2.2rem, 7vw, 5rem); line-height: 0.95; }
h2 { margin: 2.5rem 0 1rem; color: var(--red-dark); font-size: clamp(1.45rem, 3vw, 2.2rem); line-height: 1; }
section { margin: 3rem 0; }
.rcp-nav { display: flex; align-items: center; gap: 1.4rem; width: 100%; padding: 20px; border-bottom: 4px solid var(--red-dark); background: var(--red); }
.rcp-nav a { display: inline-flex; align-items: center; min-height: 2.25rem; color: #fff; font-weight: 600; text-decoration: none; }
.rcp-nav a:hover, .rcp-nav a:focus-visible { color: #ffdfe1; }
.rcp-brand { margin-right: auto; gap: 0.55rem; font-family: "Source Serif 4", "Source Serif Pro", Georgia, serif; font-size: 1.25rem; font-weight: 800 !important; letter-spacing: -0.04em; }
.rcp-mark { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 5px; color: var(--red); background: #fff; font-size: 0.95rem; }
.rcp-nav-label { color: #ffdfe1; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; }
.rcp-nav + hr { display: none; }
button, input, select, textarea { min-height: 2.75rem; font: inherit; }
button { border: 2px solid var(--ink); border-radius: 5px; padding: 0.55rem 0.9rem; color: var(--surface); background: var(--ink); font-weight: 700; cursor: pointer; }
button:hover, button:focus-visible { border-color: var(--red); background: var(--red); }
button:disabled { opacity: 0.5; cursor: wait; }
input, select, textarea { width: 100%; border: 2px solid var(--rule); border-radius: 5px; padding: 0.55rem 0.7rem; color: var(--ink); background: var(--surface); }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: 3px solid var(--red-soft); }
label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
#contact-actions { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; margin: 1.25rem 0; padding: 0.9rem 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
#contact-feedback, [role="status"] { min-height: 1.5rem; color: var(--muted); }
#contact-feedback[data-state="error"] { color: var(--red); font-weight: 700; }
#contact-feedback[data-state="success"] { color: var(--success); font-weight: 700; }
.tabulator { border: 2px solid var(--ink); border-radius: 5px; background: var(--surface); font-size: 0.92rem; }
.tabulator .tabulator-header { color: var(--surface); background: var(--ink); }
.tabulator .tabulator-col { border-right-color: #444; }
.tabulator .tabulator-cell { min-height: 2.75rem; padding: 0.55rem 0.65rem; }
.tabulator .tabulator-row.create-row { position: sticky; top: 0; z-index: 5; border-bottom: 3px solid var(--red); background: var(--red-soft); }
.tabulator .tabulator-row.create-row .tabulator-cell { background: var(--red-soft); }
.tabulator .tabulator-row.tabulator-row-even { background: var(--paper); }
.tabulator .tabulator-row:hover { background: #e9eeee; }
.tabulator .tabulator-footer { background: #f0f4f4; }
@media (max-width: 840px) { .rcp-nav { gap: 0.5rem 0.9rem; flex-wrap: wrap; } .rcp-brand { flex-basis: 100%; } .rcp-nav-label { display: none; } main { width: min(100% - 40px, 680px); margin: 2.5rem auto; } .tabulator { font-size: 0.86rem; } .tabulator .tabulator-header { white-space: normal; } }
