* {
  box-sizing: border-box;
}

body {
  font-family: Poppins, sans-serif;
  font-size: 17px;          /* Small Body base */
  font-weight: 400;
  line-height: 28px;
  color: #1A0204;           /* Black / Dark Maroon */
  background-color: #F7F1E1; /* Off White */
  margin: 0;
  padding: 20px;            /* Reasonable default */
}

/* Colors - Map your globals */
:root {
  --off-white: #F7F1E1;
  --yellow: #F5B70D;
  --crimson: #8C030E;
  --black: #1A0204;
  --white: #FFFFFF;
  --gray: #7A7A7A;
  --dark-maroon: #1A0204;
}

/* Typography - Exact match to your globals */
h1, .h1, [class*="heading-xl"] {
  font-family: "Playfair Display", serif;
  font-size: 74px;
  font-weight: 300;
  line-height: 1.1em;
  color: var(--black);
  margin: 0 0 0.5em;
}

h2, .h2, [class*="heading-l"] {
  font-family: "Playfair Display", serif;
  font-size: 60px;
  font-weight: 300;
  line-height: 1.1em;
  color: var(--black);
  margin: 0 0 0.5em;
}

h3, .h3, [class*="heading-m"] {
  font-family: Poppins, sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.1em;
  color: var(--black);
  margin: 0 0 0.5em;
}

h4, .h4, [class*="heading-s"] {
  font-family: Poppins, sans-serif;
  font-size: 35px;
  font-weight: 500;
  line-height: 1.1em;
  color: var(--black);
  margin: 0 0 0.5em;
}

h5, .h5, [class*="heading-xs"] {
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--black);
  margin: 0 0 0.5em;
}

h6, .h6, [class*="accent"] {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1.75px;
  color: var(--black);
  margin: 0 0 0.5em;
  text-transform: uppercase;  /* Common for accents */
}

/* Body text variants */
p, .body-large {
  font-family: Poppins, sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: var(--black);
}

.body-small, .small {
  font-family: Poppins, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 28px;
  color: var(--black);
}

/* Buttons - Common patterns */
button, input[type="submit"], .btn, a.button {
  font-family: Poppins, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 18px;
  background-color: var(--yellow);
  color: var(--black);
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover, .btn:hover {
  background-color: var(--crimson);
  color: var(--white);
}

/* Links */
a {
  color: var(--crimson);
  text-decoration: underline;
}

a:hover {
  color: var(--yellow);
}

/* Tables - Common for database data */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(26,2,4,0.1);
}

th {
  background: var(--yellow);
  color: var(--black);
  font-weight: 500;
  padding: 12px;
  text-align: left;
}

td {
  padding: 12px;
  border-bottom: 1px solid var(--gray);
  color: var(--black);
}

tr:hover td {
  background: var(--off-white);
}

/* Search/Filter - From your custom CSS (adapted) */
.search-filter input {
  padding-right: 32px !important;
}

.search-filter .jet-search-filter__input-clear {
  right: 16px !important;
  margin-top: -18px !important;
}

.search-filter .jet-search-filter__input-loading {
  right: 20px !important;
  margin-top: -10px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 48px; }
  h2 { font-size: 40px; }
  h3 { font-size: 32px; }
  body { padding: 10px; font-size: 16px; }
}