/* ==========================================================================
   lesser.uk - Modern Legal & Privacy Portal Stylesheet
   Zero external dependencies • 100% GDPR compliant • Dark & Light Mode
   ========================================================================== */

/* --- CSS Variables & Theme Definition --- */
:root {
  /* Color Palette (Dark Theme Default) */
  --bg-primary: #0a0f1d;
  --bg-secondary: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  --bg-card-solid: #1e293b;
  --bg-input: #1e293b;
  --bg-pill: rgba(56, 189, 248, 0.1);
  --bg-pill-hover: rgba(56, 189, 248, 0.18);

  /* Borders & Dividers */
  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-card: rgba(148, 163, 184, 0.16);
  --border-card-hover: rgba(56, 189, 248, 0.35);

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent & Status Colors */
  --accent-primary: #38bdf8;
  --accent-secondary: #818cf8;
  --accent-glow: rgba(56, 189, 248, 0.25);
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  
  --color-success: #34d399;
  --color-info-bg: rgba(56, 189, 248, 0.08);
  --color-info-border: rgba(56, 189, 248, 0.25);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.35);

  /* Layout & Geometry */
  --header-height: 72px;
  --max-width: 1140px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transition Speeds */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(241, 245, 249, 0.95);
  --bg-card-solid: #f1f5f9;
  --bg-input: #f1f5f9;
  --bg-pill: rgba(2, 132, 199, 0.08);
  --bg-pill-hover: rgba(2, 132, 199, 0.15);

  --border-subtle: rgba(100, 116, 139, 0.14);
  --border-card: rgba(100, 116, 139, 0.18);
  --border-card-hover: rgba(2, 132, 199, 0.45);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --accent-primary: #0284c7;
  --accent-secondary: #6366f1;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);

  --color-success: #059669;
  --color-info-bg: rgba(2, 132, 199, 0.06);
  --color-info-border: rgba(2, 132, 199, 0.25);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", "Fira Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  transition: background-color var(--transition-normal), color var(--transition-normal);
  background-image: 
    radial-gradient(ellipse at 50% -20%, rgba(56, 189, 248, 0.07), transparent 60%),
    radial-gradient(ellipse at 100% 40%, rgba(129, 140, 248, 0.04), transparent 50%);
  background-attachment: fixed;
}

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

code, .code-pill {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875em;
  background-color: var(--bg-card-solid);
  color: var(--accent-primary);
  padding: 0.15em 0.45em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

/* --- Site Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.header-container {
  max-width: var(--max-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
  opacity: 0.9;
}

.brand-icon {
  width: 26px;
  height: 26px;
  color: var(--accent-primary);
}

.brand-accent {
  color: var(--accent-primary);
}

.brand-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  color: var(--accent-primary);
  border: 1px solid var(--border-card);
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  padding: 0.3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  box-shadow: inset var(--shadow-sm);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.tab-btn .tab-icon {
  width: 17px;
  height: 17px;
  transition: transform var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--bg-card-solid);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.tab-btn.active .tab-icon {
  color: var(--accent-primary);
}

/* Utility Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-card);
  transform: translateY(-1px);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

/* Dark/Light icon switching */
[data-theme="dark"] .theme-icon-sun {
  display: block;
}
[data-theme="dark"] .theme-icon-moon {
  display: none;
}
[data-theme="light"] .theme-icon-sun {
  display: none;
}
[data-theme="light"] .theme-icon-moon {
  display: block;
}

/* --- Main Layout --- */
.main-content {
  flex: 1;
  padding: 3rem 1.5rem 5rem;
}

.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Tab Panels Animation */
.tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Hero Section */
.hero-section {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--bg-pill);
  color: var(--accent-primary);
  border: 1px solid var(--border-card);
  margin-bottom: 1rem;
}

.page-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* --- Card System --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.card:hover {
  border-color: var(--border-card-hover);
  box-shadow: var(--shadow-card), 0 0 20px var(--accent-glow);
}

.card.full-width {
  grid-column: 1 / -1;
}

.card-header {
  padding: 1.5rem 1.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-pill);
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
}

.card-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card-body {
  padding: 1.5rem 1.75rem;
}

/* Info Groups in Cards */
.info-group {
  margin-bottom: 1.25rem;
}

.info-group:last-child {
  margin-bottom: 0;
}

.info-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.info-value.highlight {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.info-link {
  color: var(--accent-primary);
  font-weight: 500;
  word-break: break-all;
}

.copyable-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.copy-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.copy-btn:hover {
  background: var(--bg-pill);
  color: var(--accent-primary);
  border-color: var(--border-card-hover);
}

.copy-btn svg {
  width: 14px;
  height: 14px;
}

/* Domain Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.domain-tag {
  display: inline-block;
  font-size: 0.825rem;
  font-family: ui-monospace, monospace;
  background: var(--bg-pill);
  color: var(--accent-primary);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
}

.domain-tag:hover {
  background: var(--bg-pill-hover);
  border-color: var(--accent-primary);
}

.text-accent {
  color: var(--accent-primary);
}

/* Legal Prose Formatting */
.legal-prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-prose h3:first-child {
  margin-top: 0;
}

.legal-prose p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.legal-prose ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.legal-prose li {
  margin-bottom: 0.4rem;
}

.info-box {
  background: var(--bg-card-solid);
  border-left: 4px solid var(--accent-primary);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1rem 0;
  font-size: 0.95rem;
}

/* Alert Boxes */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
}

.alert-box svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
}

.alert-info {
  background: var(--color-info-bg);
  border: 1px solid var(--color-info-border);
  color: var(--text-primary);
}

.alert-info svg {
  color: var(--accent-primary);
}

/* --- Privacy Policy Layout with Sidebar --- */
.privacy-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.privacy-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.sidebar-sticky {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

.sidebar-header svg {
  width: 16px;
  height: 16px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toc-link {
  display: block;
  padding: 0.45rem 0.65rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.toc-link:hover {
  background: var(--bg-pill);
  color: var(--accent-primary);
  text-decoration: none;
  transform: translateX(3px);
}

.toc-link.active {
  background: var(--bg-pill);
  color: var(--accent-primary);
  font-weight: 700;
  border-left: 3px solid var(--accent-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.toc-sublinks {
  margin-left: 0.75rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}

.toc-sublink {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.3rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.toc-sublink:hover {
  color: var(--accent-primary);
  text-decoration: none;
}

.toc-sublink.active {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Privacy Main Sections */
.privacy-main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.privacy-section {
  scroll-margin-top: calc(var(--header-height) + 2rem);
}

.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* Modular Service Blocks */
.service-block {
  margin-bottom: 1.5rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card-solid);
}

.service-icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-pill);
  color: var(--accent-primary);
  border: 1px solid var(--border-subtle);
}

.service-icon-wrap svg {
  width: 19px;
  height: 19px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.service-domain {
  font-family: ui-monospace, monospace;
  font-size: 0.775rem;
  color: var(--text-dim);
}

/* Betroffenenrechte Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.right-item {
  background: var(--bg-card-solid);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.right-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.35rem;
}

.right-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Text Muted */
.text-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Site Footer --- */
.site-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-copy {
  color: var(--text-primary);
}

.footer-scope {
  color: var(--text-dim);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.footer-sep {
  color: var(--border-subtle);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border: 1px solid var(--accent-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 15px var(--accent-glow);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .privacy-sidebar {
    position: static;
    display: none; /* Hide sticky sidebar on tablet/mobile for clean reading flow */
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .rights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0 1rem;
  }

  .brand-badge {
    display: none;
  }

  .nav-tabs {
    padding: 0.2rem;
  }

  .tab-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .tab-btn .tab-icon {
    display: none; /* Icon hidden on narrow mobile for space */
  }

  .main-content {
    padding: 2rem 1rem 3.5rem;
  }

  .card-header {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Print Stylesheet (@media print) --- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    background-image: none !important;
    font-size: 11pt;
    line-height: 1.4;
  }

  .site-header,
  .nav-tabs,
  .header-actions,
  .privacy-sidebar,
  .site-footer,
  .toast,
  .copy-btn,
  .hero-badge,
  .section-badge {
    display: none !important;
  }

  .main-content {
    padding: 0 !important;
  }

  .tab-panel {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
    page-break-after: always;
  }

  .page-title {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
    font-size: 20pt;
    margin-bottom: 0.5rem;
  }

  .cards-grid {
    display: block !important;
  }

  .card {
    background: none !important;
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    margin-bottom: 1.5rem !important;
    page-break-inside: avoid;
  }

  .card-header, .service-header {
    background: #f5f5f5 !important;
    border-bottom: 1px solid #cccccc !important;
  }

  .rights-grid {
    display: block !important;
  }

  .right-item {
    background: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
    margin-bottom: 0.75rem;
    page-break-inside: avoid;
  }

  a {
    color: #000000 !important;
    text-decoration: underline;
  }

  code, .code-pill {
    background: #eeeeee !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
  }
}
