.rl-shell {
  --rl-rule: rgba(180, 160, 200, 0.35);
  max-width: 48rem;
  margin: 0 auto;
  color: inherit;
  line-height: 1.55;
}

.rl-mast {
  text-align: center;
  border-top: 3px solid var(--rl-rule);
  border-bottom: 1px solid var(--rl-rule);
  padding: 0.6rem 0 0.85rem;
  margin-bottom: 1.25rem;
}

.rl-shell h1,
.rl-shell h2,
.rl-shell h3 {
  font-family: "Cinzel Decorative", "Palatino Linotype", Georgia, serif;
  text-shadow: none;
}

.rl-mast h1 {
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin: 0.2rem 0;
}

.rl-kicker, .rl-dateline {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
  margin: 0;
}

.rl-intro { margin: 0 0 1rem; }
.rl-back, .rl-muted, .rl-hint { opacity: 0.8; font-size: 0.92rem; }
.rl-tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1rem; }
.rl-flash {
  border: 1px solid var(--rl-rule);
  padding: 0.55rem 0.75rem;
  margin: 0.75rem 0;
}
.rl-empty { opacity: 0.7; font-style: italic; }
.rl-banner {
  border: 1px solid var(--rl-rule);
  padding: 0.45rem 0.7rem;
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
}

.rl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1rem;
  align-items: center;
}

.rl-input, .rl-btn, .rl-shell select.rl-input {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--rl-rule);
  padding: 0.35rem 0.55rem;
}

.rl-area { width: 100%; min-height: 6rem; }
.rl-shell a.rl-btn,
.rl-btn {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  color: inherit;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
}
.rl-shell a.rl-btn:hover,
.rl-btn:hover { border-color: rgba(190, 150, 220, 0.85); }
.rl-btn-ghost { opacity: 0.85; }
.rl-btn-danger { border-color: rgba(180, 60, 80, 0.6); }

.rl-datefield { display: inline-flex; gap: 0.35rem; align-items: center; }
.rl-date-pick {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 1px solid var(--rl-rule);
  padding: 0.3rem;
}
.rl-date-text { min-width: 9rem; }

.rl-card {
  border: 1px solid var(--rl-rule);
  padding: 0.85rem 1rem;
  margin: 0 0 0.75rem;
}
.rl-card a { color: inherit; text-decoration: none; }
.rl-card h3 { margin: 0.2rem 0 0.35rem; font-size: 1.25rem; }
.rl-id {
  font-family: Consolas, "Courier New", monospace;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  opacity: 0.85;
}
.rl-meta, .rl-excerpt { margin: 0.25rem 0; font-size: 0.95rem; }

.rl-pager { display: flex; gap: 0.45rem; margin: 1rem 0; flex-wrap: wrap; }
.rl-pager a, .rl-pager .rl-on {
  border: 1px solid var(--rl-rule);
  padding: 0.15rem 0.5rem;
  text-decoration: none;
  color: inherit;
}
.rl-pager .rl-on { font-weight: 700; }

.rl-file section { margin: 1.25rem 0; border-top: 1px solid var(--rl-rule); padding-top: 0.75rem; }
.rl-file h3 { margin: 0 0 0.5rem; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.95rem; }
.rl-cover { max-width: 100%; height: auto; display: block; border: 1px solid var(--rl-rule); margin: 0 0 0.75rem; }
.rl-embed { position: relative; padding-bottom: 56.25%; height: 0; margin: 0.5rem 0 1rem; }
.rl-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.rl-resources { list-style: none; padding: 0; margin: 0; }
.rl-resources li { padding: 0.45rem 0; border-bottom: 1px dotted var(--rl-rule); }
.rl-related { margin: 0.75rem 0; }
.rl-related h4 { margin: 0 0 0.35rem; font-size: 1rem; }
.rl-related .rl-tools { margin-bottom: 0.35rem; }

.rl-form label { display: block; margin: 0.65rem 0; }
.rl-checks label { display: inline-block; margin: 0.25rem 0.75rem 0.25rem 0; }
.rl-checks input[type="checkbox"] { margin: 0 0.35rem 0 0; vertical-align: middle; }
.rl-actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0; }
.rl-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.rl-table th, .rl-table td { border-bottom: 1px solid var(--rl-rule); padding: 0.4rem 0.35rem; text-align: left; vertical-align: top; }
.rl-admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.rl-guest { border: 1px solid var(--rl-rule); padding: 0.6rem 0.75rem; margin: 0.5rem 0; }
.rl-ext { color: inherit; }
