/*
 * Auftrion Modern UI — optional overlay theme
 * Release: 7.0.19
 *
 * This file deliberately does not replace any existing stylesheet.
 * It only becomes active when <html data-auftrion-theme="modern"> is present.
 */

html[data-auftrion-theme="modern"] {
  --au-modern-bg: #f5f5f7;
  --au-modern-surface: rgba(255,255,255,.94);
  --au-modern-surface-solid: #ffffff;
  --au-modern-surface-soft: #fbfbfd;
  --au-modern-text: #1d1d1f;
  --au-modern-muted: #6e6e73;
  --au-modern-line: rgba(29,29,31,.10);
  --au-modern-line-strong: rgba(29,29,31,.16);
  --au-modern-accent: var(--brand-primary, var(--brand, #2563eb));
  --au-modern-accent-text: var(--brand-primary-text, #ffffff);
  --au-modern-radius-sm: 10px;
  --au-modern-radius: 16px;
  --au-modern-radius-lg: 22px;
  --au-modern-shadow-sm: 0 1px 2px rgba(0,0,0,.035), 0 6px 18px rgba(0,0,0,.035);
  --au-modern-shadow: 0 12px 36px rgba(0,0,0,.075);
  --au-modern-ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
  background: var(--au-modern-bg);
}

html[data-auftrion-theme="modern"] body {
  background:
    radial-gradient(900px 460px at 92% -160px, color-mix(in srgb, var(--au-modern-accent) 8%, transparent), transparent 70%),
    var(--au-modern-bg) !important;
  color: var(--au-modern-text) !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", system-ui, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[data-auftrion-theme="modern"] :where(h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6) {
  color: var(--au-modern-text);
  letter-spacing: -.025em;
}

html[data-auftrion-theme="modern"] :where(p,.text-muted,.form-text,.small) {
  text-wrap: pretty;
}

html[data-auftrion-theme="modern"] .text-muted,
html[data-auftrion-theme="modern"] .form-text {
  color: var(--au-modern-muted) !important;
}

html[data-auftrion-theme="modern"] a {
  text-underline-offset: 2px;
}

/* Apple-like theme switch. It is present in both modes, the new CSS only refines it. */
.au-modern-theme-toggle {
  --au-switch-w: 42px;
  --au-switch-h: 24px;
  appearance: none;
  border: 1px solid #d8dee8;
  background: #fff;
  color: #334155;
  min-height: 34px;
  padding: 4px 7px 4px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.au-modern-theme-toggle:hover { border-color:#b8c3d1; background:#f8fafc; }
.au-modern-theme-toggle:focus-visible { outline:3px solid rgba(37,99,235,.2); outline-offset:2px; }
.au-modern-theme-toggle:active { transform:scale(.985); }
.au-modern-theme-toggle .au-modern-theme-icon { display:inline-grid; place-items:center; width:17px; height:17px; font-size:.84rem; }
.au-modern-theme-toggle .au-modern-theme-switch {
  width:var(--au-switch-w); height:var(--au-switch-h); padding:2px; border-radius:999px;
  background:#d1d5db; display:inline-flex; align-items:center; flex:0 0 auto;
  transition:background .22s ease;
}
.au-modern-theme-toggle .au-modern-theme-switch::after {
  content:""; width:20px; height:20px; border-radius:50%; background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.24); transform:translateX(0);
  transition:transform .24s cubic-bezier(.2,.8,.2,1);
}
html[data-auftrion-theme="modern"] .au-modern-theme-toggle {
  border-color:rgba(29,29,31,.11);
  background:rgba(255,255,255,.76);
  color:var(--au-modern-text);
  box-shadow:0 2px 12px rgba(0,0,0,.05);
  backdrop-filter:blur(18px) saturate(1.3);
  -webkit-backdrop-filter:blur(18px) saturate(1.3);
}
html[data-auftrion-theme="modern"] .au-modern-theme-toggle .au-modern-theme-switch { background:#34c759; }
html[data-auftrion-theme="modern"] .au-modern-theme-toggle .au-modern-theme-switch::after { transform:translateX(18px); }
html[data-auftrion-theme="modern"] .public-nav .au-modern-theme-toggle {
  background:rgba(255,255,255,.82); border-color:rgba(29,29,31,.10); color:#1d1d1f;
}

/* Shells: tenant + staff */
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) {
  background:rgba(247,247,249,.97) !important;
  color:var(--au-modern-text) !important;
  border-right:1px solid var(--au-modern-line) !important;
  box-shadow:none !important;
  backdrop-filter:blur(26px) saturate(1.2);
  -webkit-backdrop-filter:blur(26px) saturate(1.2);
}
html[data-auftrion-theme="modern"][dir="rtl"] :where(#sidebar,#superadmin-sidebar) {
  border-right:0 !important;
  border-left:1px solid var(--au-modern-line) !important;
}
html[data-auftrion-theme="modern"] :where(.sidebar-brand,.sa-brand) {
  color:var(--au-modern-text) !important;
  border-bottom-color:var(--au-modern-line) !important;
}
html[data-auftrion-theme="modern"] :where(.sidebar-brand small,.sa-brand small) { color:var(--au-modern-muted) !important; }
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) :where(.nav-link-side,.nav-group-title,.nav-section-title,.nav-link,.sidebar-link) {
  color:#424245 !important;
}
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) :where(.nav-link-side,.nav-link,.sidebar-link) {
  border-radius:11px !important;
  margin-inline:7px;
  transition:background .16s ease, color .16s ease, transform .16s ease;
}
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) :where(.nav-link-side,.nav-link,.sidebar-link):hover {
  background:rgba(0,0,0,.045) !important;
  color:#111 !important;
  transform:translateX(1px);
}
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) :where(.nav-link-side.active,.nav-link.active,.sidebar-link.active,[aria-current="page"]) {
  background:color-mix(in srgb, var(--au-modern-accent) 11%, #fff) !important;
  color:color-mix(in srgb, var(--au-modern-accent) 76%, #111) !important;
  box-shadow:inset 0 0 0 1px color-mix(in srgb, var(--au-modern-accent) 12%, transparent);
  font-weight:700;
}
html[data-auftrion-theme="modern"] :where(#sidebar,#superadmin-sidebar) i { opacity:.88; }

html[data-auftrion-theme="modern"] :where(#topbar,.topbar) {
  background:rgba(255,255,255,.82) !important;
  color:var(--au-modern-text) !important;
  border-bottom:1px solid var(--au-modern-line) !important;
  box-shadow:none !important;
  backdrop-filter:blur(24px) saturate(1.35);
  -webkit-backdrop-filter:blur(24px) saturate(1.35);
}
html[data-auftrion-theme="modern"] .au-topbar-title,
html[data-auftrion-theme="modern"] .topbar .page-title {
  color:var(--au-modern-text) !important;
  font-weight:720 !important;
  letter-spacing:-.018em;
}
html[data-auftrion-theme="modern"] :where(#main-content,.main-content,.staff-content-inner) {
  color:var(--au-modern-text);
}

/* Surfaces */
html[data-auftrion-theme="modern"] :where(.card,.modal-content,.offcanvas,.dropdown-menu,.list-group-item,.accordion-item,.toast) {
  background:var(--au-modern-surface-solid) !important;
  border-color:var(--au-modern-line) !important;
  color:var(--au-modern-text) !important;
}
html[data-auftrion-theme="modern"] .card {
  border-radius:var(--au-modern-radius) !important;
  box-shadow:var(--au-modern-shadow-sm) !important;
  overflow:clip;
}
html[data-auftrion-theme="modern"] .card.shadow,
html[data-auftrion-theme="modern"] .card.shadow-sm,
html[data-auftrion-theme="modern"] .shadow-sm {
  box-shadow:var(--au-modern-shadow-sm) !important;
}
html[data-auftrion-theme="modern"] .card-header {
  background:rgba(250,250,252,.92) !important;
  color:var(--au-modern-text) !important;
  border-bottom:1px solid var(--au-modern-line) !important;
  padding-top:.9rem;
  padding-bottom:.9rem;
}
html[data-auftrion-theme="modern"] .card-footer {
  background:#fbfbfd !important;
  border-top-color:var(--au-modern-line) !important;
}
html[data-auftrion-theme="modern"] .modal-content {
  border-radius:22px !important;
  box-shadow:0 28px 80px rgba(0,0,0,.18) !important;
}
html[data-auftrion-theme="modern"] .dropdown-menu {
  border-radius:14px !important;
  padding:6px !important;
  box-shadow:0 18px 46px rgba(0,0,0,.14) !important;
}
html[data-auftrion-theme="modern"] .dropdown-item { border-radius:9px; color:var(--au-modern-text); }
html[data-auftrion-theme="modern"] .dropdown-item:hover,
html[data-auftrion-theme="modern"] .dropdown-item:focus { background:#f2f2f7; color:#111; }
html[data-auftrion-theme="modern"] .dropdown-item.active { background:color-mix(in srgb, var(--au-modern-accent) 12%, #fff); color:var(--au-modern-accent); }

/* Inputs */
html[data-auftrion-theme="modern"] :where(.form-control,.form-select,.input-group-text) {
  background:#fff !important;
  color:var(--au-modern-text) !important;
  border:1px solid #d2d2d7 !important;
  border-radius:11px !important;
  box-shadow:none !important;
  min-height:40px;
}
html[data-auftrion-theme="modern"] :where(.form-control,.form-select):hover { border-color:#b7b7bd !important; }
html[data-auftrion-theme="modern"] :where(.form-control,.form-select):focus {
  border-color:color-mix(in srgb, var(--au-modern-accent) 70%, #999) !important;
  box-shadow:0 0 0 4px color-mix(in srgb, var(--au-modern-accent) 12%, transparent) !important;
}
html[data-auftrion-theme="modern"] .form-check-input { border-color:#b7b7bd; }
html[data-auftrion-theme="modern"] .form-check-input:checked { background-color:var(--au-modern-accent); border-color:var(--au-modern-accent); }

/* Buttons */
html[data-auftrion-theme="modern"] .btn {
  border-radius:10px !important;
  font-weight:650;
  letter-spacing:-.008em;
  box-shadow:none !important;
  transition:transform .16s var(--au-modern-ease), box-shadow .16s ease, filter .16s ease, background .16s ease;
}
html[data-auftrion-theme="modern"] .btn:hover { transform:translateY(-1px); }
html[data-auftrion-theme="modern"] :where(.btn-primary,.btn-success,.btn-brand) {
  background:var(--au-modern-accent) !important;
  border-color:var(--au-modern-accent) !important;
  color:var(--au-modern-accent-text) !important;
  box-shadow:0 5px 14px color-mix(in srgb, var(--au-modern-accent) 20%, transparent) !important;
}
html[data-auftrion-theme="modern"] :where(.btn-outline-secondary,.btn-light) {
  background:rgba(255,255,255,.86) !important;
  border-color:var(--au-modern-line-strong) !important;
  color:#343437 !important;
}
html[data-auftrion-theme="modern"] :where(.btn-outline-secondary,.btn-light):hover { background:#f2f2f7 !important; color:#111 !important; }
html[data-auftrion-theme="modern"] .btn-outline-primary { color:var(--au-modern-accent) !important; border-color:color-mix(in srgb, var(--au-modern-accent) 45%, #d2d2d7) !important; background:#fff !important; }
html[data-auftrion-theme="modern"] .btn-outline-primary:hover { background:color-mix(in srgb, var(--au-modern-accent) 7%, #fff) !important; }

/* Tables */
html[data-auftrion-theme="modern"] .table {
  --bs-table-bg:transparent;
  --bs-table-color:var(--au-modern-text);
  --bs-table-border-color:var(--au-modern-line);
  color:var(--au-modern-text) !important;
}
html[data-auftrion-theme="modern"] .table > thead > tr > th {
  background:#f7f7f9 !important;
  color:#5f5f64 !important;
  border-bottom-color:var(--au-modern-line-strong) !important;
  font-size:.75rem;
  font-weight:750;
  letter-spacing:.015em;
  text-transform:none;
}
html[data-auftrion-theme="modern"] .table > tbody > tr { transition:background .14s ease; }
html[data-auftrion-theme="modern"] .table > tbody > tr:hover > * { background:#fafafa !important; }
html[data-auftrion-theme="modern"] .table-responsive { border-radius:14px; }

/* Secondary components */
html[data-auftrion-theme="modern"] .alert { border-radius:14px; border-width:1px; }
html[data-auftrion-theme="modern"] .badge { border-radius:999px; font-weight:700; letter-spacing:0; }
html[data-auftrion-theme="modern"] .nav-tabs { border-bottom-color:var(--au-modern-line); gap:4px; }
html[data-auftrion-theme="modern"] .nav-tabs .nav-link { border:0 !important; border-radius:9px !important; color:var(--au-modern-muted); }
html[data-auftrion-theme="modern"] .nav-tabs .nav-link.active { background:#fff !important; color:var(--au-modern-text) !important; box-shadow:inset 0 0 0 1px var(--au-modern-line); }
html[data-auftrion-theme="modern"] .pagination .page-link { border-color:var(--au-modern-line); color:var(--au-modern-text); background:#fff; }
html[data-auftrion-theme="modern"] .pagination .page-item.active .page-link { background:var(--au-modern-accent); border-color:var(--au-modern-accent); color:#fff; }
html[data-auftrion-theme="modern"] .accordion-button { color:var(--au-modern-text) !important; background:#fff !important; box-shadow:none !important; }
html[data-auftrion-theme="modern"] .accordion-button:not(.collapsed) { background:#f7f7f9 !important; }
html[data-auftrion-theme="modern"] hr { border-color:var(--au-modern-line); opacity:1; }

/* Common dashboard tiles/cards found throughout the product */
html[data-auftrion-theme="modern"] :where([class*="stat-card"],[class*="metric-card"],[class*="kpi-card"],[class*="summary-card"],[class*="action-card"],[class*="quick-card"],[class*="panel"]) {
  border-color:var(--au-modern-line) !important;
}

/* Public navigation */
html[data-auftrion-theme="modern"] .public-nav {
  background:rgba(250,250,252,.84) !important;
  border-bottom:1px solid rgba(29,29,31,.10) !important;
  backdrop-filter:blur(24px) saturate(1.4) !important;
  -webkit-backdrop-filter:blur(24px) saturate(1.4) !important;
  box-shadow:none !important;
}
html[data-auftrion-theme="modern"] .public-nav .logo-text { color:#1d1d1f !important; letter-spacing:-.025em; }
html[data-auftrion-theme="modern"] .public-nav .logo-badge { background:#1d1d1f !important; color:#fff !important; }
html[data-auftrion-theme="modern"] .public-nav .nav-links > a:not(.nav-cta) { color:#515154 !important; }
html[data-auftrion-theme="modern"] .public-nav .nav-links > a:not(.nav-cta):hover { color:#111 !important; background:rgba(0,0,0,.045) !important; }
html[data-auftrion-theme="modern"] .public-nav .nav-cta {
  background:#1d1d1f !important; color:#fff !important; border-radius:999px !important; box-shadow:none !important;
}
html[data-auftrion-theme="modern"] .public-nav :where(.btn-outline-light,.btn-outline-secondary) { background:#fff !important; color:#1d1d1f !important; border-color:var(--au-modern-line-strong) !important; }
html[data-auftrion-theme="modern"] .public-nav-compact summary { color:#1d1d1f !important; border-color:var(--au-modern-line-strong) !important; background:#fff; }
html[data-auftrion-theme="modern"] .public-nav-compact-menu { border-color:var(--au-modern-line) !important; border-radius:16px !important; box-shadow:0 24px 60px rgba(0,0,0,.16) !important; }

/* Public homepage — a calmer, editorial design rather than "AI dashboard" styling. */
html[data-auftrion-theme="modern"] .hero-section {
  background:
    radial-gradient(900px 520px at 88% 8%, color-mix(in srgb,var(--brand) 11%, transparent), transparent 68%),
    linear-gradient(180deg,#fbfbfd 0%,#f5f5f7 100%) !important;
  color:#1d1d1f !important;
  min-height:min(820px,92vh);
  display:flex;
  align-items:center;
  padding-top:132px;
  border-bottom:1px solid var(--au-modern-line);
}
html[data-auftrion-theme="modern"] .hero-section::after {
  width:520px; height:520px; inset:auto -150px -290px auto;
  border:1px solid rgba(29,29,31,.06); transform:none;
  animation:auModernFloat 14s ease-in-out infinite alternate;
}
html[data-auftrion-theme="modern"] :where(.hero-seo-heading,.hero-badge) { color:color-mix(in srgb,var(--brand) 75%,#1d1d1f) !important; }
html[data-auftrion-theme="modern"] .hero-badge {
  background:#fff !important; border-color:var(--au-modern-line) !important; box-shadow:var(--au-modern-shadow-sm); color:#4a4a4f !important;
}
html[data-auftrion-theme="modern"] .hero-headline { color:#1d1d1f !important; font-weight:760 !important; letter-spacing:-.052em; }
html[data-auftrion-theme="modern"] :where(.hero-sub,.hero-seo-copy,.hero-proof) { color:#6e6e73 !important; }
html[data-auftrion-theme="modern"] .hero-proof i { color:#248a3d !important; }
html[data-auftrion-theme="modern"] .btn-brand { border-radius:999px !important; padding-inline:25px !important; }
html[data-auftrion-theme="modern"] .btn-ghost {
  background:transparent !important; color:#1d1d1f !important; border-color:#c7c7cc !important; border-radius:999px !important;
}
html[data-auftrion-theme="modern"] .btn-ghost:hover { background:#fff !important; }
html[data-auftrion-theme="modern"] .stat-pill { background:rgba(255,255,255,.76) !important; border-color:var(--au-modern-line) !important; box-shadow:var(--au-modern-shadow-sm); }
html[data-auftrion-theme="modern"] .stat-pill .num { color:#1d1d1f !important; }
html[data-auftrion-theme="modern"] .stat-pill .lbl { color:#6e6e73 !important; }
html[data-auftrion-theme="modern"] .ops-preview {
  background:#1d1d1f !important; border-color:rgba(255,255,255,.08) !important; border-radius:28px !important;
  box-shadow:0 36px 80px rgba(0,0,0,.22) !important; backdrop-filter:none !important;
}
html[data-auftrion-theme="modern"] .ops-card { background:#2c2c2e !important; border-color:rgba(255,255,255,.07) !important; }

html[data-auftrion-theme="modern"] :where(.audience-section,.features-section,.pulse-market-section,.workflow-section,.sales-proof-section,.pricing-section,.faq-section,.demo-section,.sales-form-section,.portal-entry-section) {
  background:#f5f5f7 !important;
}
html[data-auftrion-theme="modern"] :where(.audience-section,.workflow-section,.sales-proof-section,.faq-section) { background:#fff !important; }
html[data-auftrion-theme="modern"] :where(.audience-chip,.feature-card,.workflow-step,.proof-card,.pricing-card,.login-card,.demo-industry-picker,.sales-form-card,.portal-entry-card,.interest-option) {
  background:#fff !important; border:1px solid var(--au-modern-line) !important; box-shadow:var(--au-modern-shadow-sm) !important;
  border-radius:20px !important;
}
html[data-auftrion-theme="modern"] :where(.feature-card,.workflow-step,.proof-card,.pricing-card,.portal-entry-card) {
  transition:transform .24s var(--au-modern-ease), box-shadow .24s ease, border-color .24s ease;
}
html[data-auftrion-theme="modern"] :where(.feature-card,.workflow-step,.proof-card,.pricing-card,.portal-entry-card):hover {
  transform:translateY(-3px); box-shadow:0 18px 44px rgba(0,0,0,.075) !important;
}
html[data-auftrion-theme="modern"] :where(.feature-icon,.portal-entry-icon,.pulse-market-benefit i,.demo-industry-icon) {
  border-radius:14px !important; background:color-mix(in srgb,var(--brand) 9%,#fff) !important; border-color:color-mix(in srgb,var(--brand) 14%,#fff) !important;
}
html[data-auftrion-theme="modern"] :where(.autopilot-market-section,.modules-section,.ai-copilot-market-section,.roi-section) {
  background:#1d1d1f !important; color:#f5f5f7 !important;
}
html[data-auftrion-theme="modern"] :where(.autopilot-showcase,.module-group,.ai-copilot-market-card,.roi-card) {
  background:#2c2c2e !important; border-color:rgba(255,255,255,.10) !important; border-radius:22px !important; box-shadow:none !important;
}
html[data-auftrion-theme="modern"] .autopilot-tab { border-color:rgba(255,255,255,.16) !important; background:transparent !important; }
html[data-auftrion-theme="modern"] .autopilot-tab.is-active { background:#fff !important; color:#1d1d1f !important; }
html[data-auftrion-theme="modern"] .pulse-market-panel { background:#1d1d1f !important; border-radius:26px !important; box-shadow:0 24px 60px rgba(0,0,0,.16) !important; }
html[data-auftrion-theme="modern"] .cta-section { background:#1d1d1f !important; }
html[data-auftrion-theme="modern"] .pricing-card.is-featured {
  border:1px solid color-mix(in srgb,var(--brand) 38%,#d2d2d7) !important;
  box-shadow:0 20px 50px color-mix(in srgb,var(--brand) 10%,transparent) !important;
}
html[data-auftrion-theme="modern"] .pricing-popular { background:#1d1d1f !important; color:#fff !important; }
html[data-auftrion-theme="modern"] footer.site-footer { background:#f5f5f7 !important; color:#6e6e73 !important; border-top-color:var(--au-modern-line) !important; }
html[data-auftrion-theme="modern"] footer.site-footer a { color:#515154 !important; }

/* SEO industry pages */
html[data-auftrion-theme="modern"] :where(.industry-seo-hero,.industry-detail-hero) {
  background:linear-gradient(180deg,#fbfbfd,#f5f5f7) !important; color:#1d1d1f !important;
  border-bottom:1px solid var(--au-modern-line);
}
html[data-auftrion-theme="modern"] :where(.industry-seo-hero,.industry-detail-hero) .lead,
html[data-auftrion-theme="modern"] .industry-breadcrumb { color:#6e6e73 !important; }
html[data-auftrion-theme="modern"] .industry-breadcrumb a { color:#424245 !important; }
html[data-auftrion-theme="modern"] :where(.industry-module-card,.industry-related-card,.industry-card) {
  background:#fff !important; border-color:var(--au-modern-line) !important; border-radius:18px !important; box-shadow:var(--au-modern-shadow-sm) !important;
}
html[data-auftrion-theme="modern"] .industry-detail-section.alt { background:#f5f5f7 !important; }
html[data-auftrion-theme="modern"] .industry-cta { background:#1d1d1f !important; }

/* Minimal/login layouts */
html[data-auftrion-theme="modern"] body > #main-content:only-of-type,
html[data-auftrion-theme="modern"] body > main#main-content { color:var(--au-modern-text); }
html[data-auftrion-theme="modern"] :where(.login-shell,.auth-shell,.login-card,.auth-card) { border-radius:22px !important; }

/* Motion: subtle, purposeful and disabled for reduced-motion users. */
@keyframes auModernFloat { from { transform:translate3d(0,0,0); } to { transform:translate3d(-24px,-18px,0); } }
@keyframes auModernEnter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
html[data-auftrion-theme="modern"] body.au-modern-ready :where(#main-content > *,.main-content > *) {
  animation:auModernEnter .38s var(--au-modern-ease) both;
}

@media (max-width: 991.98px) {
  .au-modern-theme-toggle .au-modern-theme-label { display:none; }
  .au-modern-theme-toggle { padding-left:6px; gap:5px; }
  html[data-auftrion-theme="modern"] .hero-section { min-height:auto; }
}
@media (max-width: 575.98px) {
  .au-modern-theme-toggle .au-modern-theme-icon { display:none; }
  .au-modern-theme-toggle { min-height:32px; padding:3px 5px; border-radius:999px; }
  .au-modern-theme-toggle .au-modern-theme-switch { --au-switch-w:38px; --au-switch-h:22px; }
  .au-modern-theme-toggle .au-modern-theme-switch::after { width:18px; height:18px; }
  html[data-auftrion-theme="modern"] .au-modern-theme-toggle .au-modern-theme-switch::after { transform:translateX(16px); }
  html[data-auftrion-theme="modern"] .card { border-radius:14px !important; }
  html[data-auftrion-theme="modern"] .hero-section { padding-top:102px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-auftrion-theme="modern"] *,
  html[data-auftrion-theme="modern"] *::before,
  html[data-auftrion-theme="modern"] *::after { animation:none !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
@media print {
  .au-modern-theme-toggle { display:none !important; }
  html[data-auftrion-theme="modern"] body { background:#fff !important; }
  html[data-auftrion-theme="modern"] .card { box-shadow:none !important; }
}

.au-minimal-theme-toggle { position:fixed; top:1rem; inset-inline-end:5.7rem; z-index:1081; }
@media (max-width:575.98px) { .au-minimal-theme-toggle { inset-inline-end:5.1rem; } }

/* V7.0.19 · restrained creator credit in the optional Modern theme */
html[data-auftrion-theme="modern"] .fairwebdesign-credit { border-top-color:var(--au-modern-line) !important; }
html[data-auftrion-theme="modern"] .fairwebdesign-credit-label { color:#86868b !important; }
html[data-auftrion-theme="modern"] .fairwebdesign-credit-link {
  background:#fff !important;
  border-color:var(--au-modern-line) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.03) !important;
}
html[data-auftrion-theme="modern"] .fairwebdesign-credit-link:hover {
  box-shadow:0 10px 28px rgba(0,0,0,.08) !important;
}
