/* ════════════════════════════════════════════════════════════════════
   STYLE PROFILE: apple-style  (v2 — light-only, full reskin)
   ────────────────────────────────────────────────────────────────────
   macOS / iOS / apple.com look for the back-office (admin, user, auth).
   Loaded ONLY when the 'apple-style' profile is active — every rule is
   scoped to body[data-style-profile="apple-reloaded"], so the default
   profile is completely unaffected.

   This profile is LIGHT-ONLY: theme switching is disabled server-side
   (styleProfiles.js forcedTheme) and the profile JS strips any stray
   .dark class, so no .dark variants are needed here.

   Layer 1 — design tokens: overrides the project --ui-color-* tokens and
             the vendor Tailwind --color-brand-* / --color-gray-* theme
             variables (all utilities read them via var()).
   Layer 2 — typography, white window, glass chrome, scrollbars, focus.
   Layer 3 — component skins: pill buttons, filled fields, custom
             checks/radios, iOS switches, segmented controls, list-view
             tables, popovers, sheets, notification banners.
   Layer 4 — motion: spring easings, large-title chrome (JS-assisted),
             hover lifts, press states, reduced-motion guards.
   ════════════════════════════════════════════════════════════════════ */

/* ── 1. Design tokens ─────────────────────────────────────────────── */

body[data-style-profile="apple-reloaded"] {
  /* Apple system palette */
  --as-blue: #0071e3;            /* apple.com action blue */
  --as-blue-vivid: #007aff;      /* iOS system blue */
  --as-blue-hover: #0077ed;
  --as-blue-active: #006edb;
  --as-green: #34c759;
  --as-orange: #ff9500;
  --as-red: #ff3b30;
  --as-red-deep: #d70015;
  --as-ink: #1d1d1f;
  --as-ink-secondary: #6e6e73;
  --as-hairline: rgb(0 0 0 / 0.08);
  --as-hairline-strong: rgb(0 0 0 / 0.16);
  --as-fill: rgb(120 120 128 / 0.08);      /* Apple quaternary fill  */
  --as-fill-strong: rgb(120 120 128 / 0.16);
  --as-window-bg: #fbfbfd;                 /* apple.com off-white    */
  --as-glass: rgb(255 255 255 / 0.72);
  --as-glass-sidebar: rgb(255 255 255 / 0.78);
  --as-focus-ring: rgb(0 125 250 / 0.3);
  --as-shadow-card: 0 2px 12px rgb(0 0 0 / 0.04);
  --as-shadow-card-hover: 0 12px 32px rgb(0 0 0 / 0.1);
  --as-shadow-popover: 0 24px 60px rgb(0 0 0 / 0.18), 0 0 0 0.5px rgb(0 0 0 / 0.05);
  --as-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --as-font-mono: "SF Mono", ui-monospace, "Cascadia Code", Menlo, Consolas, monospace;
  --as-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --as-ease-pop: cubic-bezier(0.175, 0.885, 0.32, 1.15);

  /* Project UI tokens */
  --ui-color-primary: var(--as-blue);
  --ui-color-primary-hover: var(--as-blue-hover);
  --ui-color-primary-soft: rgb(0 113 227 / 0.1);
  --ui-color-on-primary: #fff;
  --ui-color-link: var(--as-blue);
  --ui-color-link-hover: var(--as-blue-active);
  --ui-color-success: #248a3d;
  --ui-color-success-bg: rgb(52 199 89 / 0.12);
  --ui-color-success-hover: rgb(52 199 89 / 0.2);
  --ui-color-success-border: rgb(52 199 89 / 0.32);
  --ui-color-warning: #c93400;
  --ui-color-warning-bg: rgb(255 149 0 / 0.12);
  --ui-color-warning-hover: rgb(255 149 0 / 0.2);
  --ui-color-warning-border: rgb(255 149 0 / 0.32);
  --ui-color-danger: var(--as-red-deep);
  --ui-color-danger-bg: rgb(255 59 48 / 0.1);
  --ui-color-danger-hover: rgb(255 59 48 / 0.18);
  --ui-color-danger-border: rgb(255 59 48 / 0.28);
  --ui-color-danger-solid: var(--as-red);
  --ui-color-danger-solid-hover: var(--as-red-deep);
  --ui-color-danger-outline: var(--as-red);
  --ui-color-on-danger: #fff;
  --ui-color-surface: #fff;
  --ui-color-surface-raised: #fff;
  --ui-color-surface-subtle: #f5f5f7;
  --ui-color-surface-strong: #e8e8ed;
  --ui-color-surface-hover: rgb(0 0 0 / 0.03);
  --ui-color-border: var(--as-hairline);
  --ui-color-border-strong: var(--as-hairline-strong);
  --ui-color-text: var(--as-ink);
  --ui-color-text-muted: var(--as-ink-secondary);
  --ui-color-control-disabled-bg: #f5f5f7;
  --ui-color-control-disabled-border: var(--as-hairline);
  --ui-color-control-disabled-text: #aeaeb2;
  --ui-shadow-xs: 0 0.5px 2px rgb(0 0 0 / 0.1);

  /* Vendor Tailwind theme variables (recolor every utility) */
  --font-outfit: var(--as-font);
  --color-brand-25: #f5faff;
  --color-brand-50: #eaf4ff;
  --color-brand-100: #d8ebff;
  --color-brand-200: #b3d7ff;
  --color-brand-300: #7ebcff;
  --color-brand-400: #409cff;
  --color-brand-500: #0071e3;
  --color-brand-600: #0064c8;
  --color-brand-700: #0058b0;
  --color-brand-800: #004a94;
  --color-brand-900: #003a75;
  --color-brand-950: #0b1929;
  --color-gray-25: #fdfdfe;
  --color-gray-50: #f5f5f7;
  --color-gray-100: #ebebf0;
  --color-gray-200: #e3e3e8;
  --color-gray-300: #d2d2d7;
  --color-gray-400: #aeaeb2;
  --color-gray-500: #8e8e93;
  --color-gray-600: #636366;
  --color-gray-700: #48484a;
  --color-gray-800: #2c2c2e;
  --color-gray-900: #1d1d1f;
  --color-gray-950: #161617;
  --color-success-500: #34c759;
  --color-success-600: #248a3d;
  --color-warning-500: #ff9500;
  --color-error-500: #ff3b30;
  --color-error-600: #d70015;
}

/* ── 2. Base: white window, SF typography, rendering ──────────────── */

body[data-style-profile="apple-reloaded"] {
  font-family: var(--as-font) !important;
  background: var(--as-window-bg) !important;
  color: var(--as-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  caret-color: var(--as-blue);
}

body[data-style-profile="apple-reloaded"] button,
body[data-style-profile="apple-reloaded"] input,
body[data-style-profile="apple-reloaded"] select,
body[data-style-profile="apple-reloaded"] textarea {
  font-family: var(--as-font) !important;
}

body[data-style-profile="apple-reloaded"] code,
body[data-style-profile="apple-reloaded"] pre,
body[data-style-profile="apple-reloaded"] .ui-code-block,
body[data-style-profile="apple-reloaded"] .env-status-code {
  font-family: var(--as-font-mono) !important;
}

body[data-style-profile="apple-reloaded"] h1,
body[data-style-profile="apple-reloaded"] h2,
body[data-style-profile="apple-reloaded"] h3,
body[data-style-profile="apple-reloaded"] h4 {
  letter-spacing: -0.025em;
  color: var(--as-ink);
}

/* apple.com large-title page headers */
body[data-style-profile="apple-reloaded"] main h2.text-2xl,
body[data-style-profile="apple-reloaded"] .mb-6.flex-col h2 {
  font-size: 2rem !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
}

body[data-style-profile="apple-reloaded"] ::selection {
  background: rgb(0 125 250 / 0.22);
  color: inherit;
}

/* macOS overlay scrollbars */
body[data-style-profile="apple-reloaded"] ::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  background: transparent;
}

body[data-style-profile="apple-reloaded"] ::-webkit-scrollbar-track {
  background: transparent;
}

body[data-style-profile="apple-reloaded"] ::-webkit-scrollbar-thumb {
  background: rgb(0 0 0 / 0.22);
  border: 3px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

body[data-style-profile="apple-reloaded"] ::-webkit-scrollbar-thumb:hover {
  background: rgb(0 0 0 / 0.38);
  border-width: 2px;
  background-clip: content-box;
}

body[data-style-profile="apple-reloaded"] * {
  scrollbar-width: thin;
  scrollbar-color: rgb(0 0 0 / 0.25) transparent;
}

/* Keyboard focus: Apple's soft blue halo */
body[data-style-profile="apple-reloaded"] a:focus-visible,
body[data-style-profile="apple-reloaded"] button:focus-visible,
body[data-style-profile="apple-reloaded"] [role="button"]:focus-visible,
body[data-style-profile="apple-reloaded"] summary:focus-visible {
  outline: 4px solid var(--as-focus-ring) !important;
  outline-offset: 1px;
  border-radius: 8px;
}

/* Belt and braces: this profile has no dark mode */
body[data-style-profile="apple-reloaded"] [data-theme-toggle] {
  display: none !important;
}

/* ── 3. Chrome: borderless glass header + white glass sidebar ─────── */

body[data-style-profile="apple-reloaded"] header.sticky {
  background: var(--as-glass) !important;
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 0.5px solid transparent !important;
  box-shadow: none;
  transition: border-color 240ms ease, box-shadow 240ms ease, background-color 240ms ease;
}

/* Hairline + depth appear only once content scrolls (profile JS) */
body[data-style-profile="apple-reloaded"].as-scrolled header.sticky {
  border-bottom-color: var(--as-hairline) !important;
  box-shadow: 0 1px 12px rgb(0 0 0 / 0.05);
}

body[data-style-profile="apple-reloaded"] .app-sidebar {
  background: var(--as-glass-sidebar) !important;
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  backdrop-filter: saturate(180%) blur(30px);
  border-right: 0.5px solid var(--as-hairline) !important;
}

/* Finder-style rows with SF-symbol-like icon alignment */
body[data-style-profile="apple-reloaded"] .menu-item {
  border-radius: 8px !important;
  font-weight: 500;
  letter-spacing: -0.014em;
  transition: background-color 140ms ease, color 140ms ease, transform 160ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .menu-item:active {
  transform: scale(0.985);
}

body[data-style-profile="apple-reloaded"] .menu-item-active {
  background: rgb(0 113 227 / 0.12) !important;
  color: var(--as-blue-active) !important;
}

body[data-style-profile="apple-reloaded"] .menu-item-active .menu-item-icon-active,
body[data-style-profile="apple-reloaded"] .menu-item-active svg {
  color: var(--as-blue) !important;
}

body[data-style-profile="apple-reloaded"] .menu-item-inactive:hover {
  background: rgb(0 0 0 / 0.045) !important;
}

/* Sidebar group headings — macOS section labels */
body[data-style-profile="apple-reloaded"] .app-sidebar h3,
body[data-style-profile="apple-reloaded"] .app-sidebar nav > p,
body[data-style-profile="apple-reloaded"] .app-sidebar [class*="uppercase"] {
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase;
  color: #aeaeb2 !important;
}

/* ── 4. Buttons — apple.com pills ─────────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-btn {
  border-radius: 980px !important;
  font-weight: 500 !important;
  letter-spacing: -0.014em;
  transition: background-color 180ms ease, border-color 180ms ease,
    color 180ms ease, box-shadow 180ms ease, transform 180ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .ui-btn:active:not(:disabled),
body[data-style-profile="apple-reloaded"] .ui-icon-btn:active:not(:disabled),
body[data-style-profile="apple-reloaded"] .as-pressed {
  transform: scale(0.96);
}

body[data-style-profile="apple-reloaded"] .ui-btn-primary {
  background: var(--as-blue) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-primary:hover:not(:disabled) {
  background: var(--as-blue-hover) !important;
  box-shadow: 0 4px 16px rgb(0 113 227 / 0.35) !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-secondary {
  background: var(--as-fill) !important;
  border-color: transparent !important;
  color: var(--as-blue) !important;
  box-shadow: none !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-secondary:hover:not(:disabled) {
  background: var(--as-fill-strong) !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-ghost {
  color: var(--as-blue) !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-ghost:hover:not(:disabled) {
  background: var(--as-fill) !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-danger-solid {
  background: var(--as-red) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-danger-solid:hover:not(:disabled) {
  background: var(--as-red-deep) !important;
  box-shadow: 0 4px 16px rgb(255 59 48 / 0.35) !important;
}

body[data-style-profile="apple-reloaded"] .ui-btn-danger,
body[data-style-profile="apple-reloaded"] .ui-btn-danger-outline,
body[data-style-profile="apple-reloaded"] .ui-btn-success,
body[data-style-profile="apple-reloaded"] .ui-btn-warning {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Generic Tailwind CTA buttons (bg-brand-*) become pills too */
body[data-style-profile="apple-reloaded"] button[class*="bg-brand-"],
body[data-style-profile="apple-reloaded"] a[class*="bg-brand-"] {
  border-radius: 980px !important;
  letter-spacing: -0.014em;
  transition: background-color 180ms ease, transform 180ms var(--as-ease-pop),
    box-shadow 180ms ease;
}

body[data-style-profile="apple-reloaded"] button[class*="bg-brand-"]:active,
body[data-style-profile="apple-reloaded"] a[class*="bg-brand-"]:active {
  transform: scale(0.97);
}

/* Toolbar icon buttons — circular, macOS style */
body[data-style-profile="apple-reloaded"] .ui-icon-btn,
body[data-style-profile="apple-reloaded"] header.sticky button.rounded-lg,
body[data-style-profile="apple-reloaded"] header.sticky button.rounded-full {
  border-radius: 999px !important;
  border-color: transparent !important;
  background: var(--as-fill);
  transition: background-color 140ms ease, color 140ms ease,
    transform 160ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .ui-icon-btn:hover,
body[data-style-profile="apple-reloaded"] header.sticky button.rounded-lg:hover,
body[data-style-profile="apple-reloaded"] header.sticky button.rounded-full:hover {
  background: var(--as-fill-strong) !important;
}

/* Pagination — pill cluster */
body[data-style-profile="apple-reloaded"] .ui-page-btn {
  border-radius: 999px !important;
  border-color: transparent !important;
}

body[data-style-profile="apple-reloaded"] .ui-page-btn:hover {
  background: var(--as-fill) !important;
}

body[data-style-profile="apple-reloaded"] .ui-page-btn-active,
body[data-style-profile="apple-reloaded"] .ui-page-btn-active:hover {
  background: var(--as-blue) !important;
  color: #fff !important;
}

/* Text links */
body[data-style-profile="apple-reloaded"] .ui-link-action,
body[data-style-profile="apple-reloaded"] .ui-text-action {
  font-weight: 500 !important;
}

/* ── 5. Forms — iOS filled fields ─────────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-input,
body[data-style-profile="apple-reloaded"] .ui-select,
body[data-style-profile="apple-reloaded"] .ui-textarea {
  border-radius: 12px !important;
  border: 1px solid transparent !important;
  background-color: var(--as-fill) !important;
  box-shadow: none !important;
  transition: border-color 180ms ease, box-shadow 180ms ease,
    background-color 180ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-input:hover:not(:disabled):not(:focus),
body[data-style-profile="apple-reloaded"] .ui-select:hover:not(:disabled):not(:focus),
body[data-style-profile="apple-reloaded"] .ui-textarea:hover:not(:disabled):not(:focus) {
  background-color: var(--as-fill-strong) !important;
}

body[data-style-profile="apple-reloaded"] .ui-input:focus,
body[data-style-profile="apple-reloaded"] .ui-select:focus,
body[data-style-profile="apple-reloaded"] .ui-textarea:focus {
  background-color: #fff !important;
  border-color: var(--as-blue-vivid) !important;
  box-shadow: 0 0 0 4px var(--as-focus-ring) !important;
  outline: none !important;
}

body[data-style-profile="apple-reloaded"] .ui-input::placeholder,
body[data-style-profile="apple-reloaded"] .ui-textarea::placeholder {
  color: rgb(60 60 67 / 0.4);
}

body[data-style-profile="apple-reloaded"] .ui-input:disabled,
body[data-style-profile="apple-reloaded"] .ui-select:disabled,
body[data-style-profile="apple-reloaded"] .ui-textarea:disabled {
  background-color: rgb(120 120 128 / 0.05) !important;
  color: #aeaeb2 !important;
}

/* macOS double-chevron select indicator */
body[data-style-profile="apple-reloaded"] .ui-select:not([multiple]) {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='16' viewBox='0 0 10 16'%3E%3Cpath d='M1.5 6 5 2.5 8.5 6' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M1.5 10 5 13.5 8.5 10' fill='none' stroke='%236e6e73' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.6rem center !important;
  background-size: 10px 16px !important;
  padding-right: 1.85rem !important;
}

body[data-style-profile="apple-reloaded"] .ui-label {
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--as-ink);
}

/* Custom Apple checkboxes (rounded square, white check) */
body[data-style-profile="apple-reloaded"] .ui-checkbox {
  -webkit-appearance: none;
  appearance: none;
  height: 1.125rem !important;
  width: 1.125rem !important;
  border: 1px solid var(--as-hairline-strong) !important;
  border-radius: 6px !important;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease,
    transform 160ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .ui-checkbox:active {
  transform: scale(0.9);
}

body[data-style-profile="apple-reloaded"] .ui-checkbox:checked {
  background: var(--as-blue-vivid) !important;
  border-color: var(--as-blue-vivid) !important;
}

body[data-style-profile="apple-reloaded"] .ui-checkbox:checked::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.7l4.5-5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

body[data-style-profile="apple-reloaded"] .ui-checkbox:focus,
body[data-style-profile="apple-reloaded"] .ui-checkbox:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px var(--as-focus-ring) !important;
}

/* Custom Apple radios (circle, white dot) */
body[data-style-profile="apple-reloaded"] .ui-radio {
  -webkit-appearance: none;
  appearance: none;
  height: 1.125rem !important;
  width: 1.125rem !important;
  border: 1px solid var(--as-hairline-strong) !important;
  border-radius: 999px !important;
  background: #fff;
  display: inline-grid;
  place-content: center;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-radio:checked {
  background: var(--as-blue-vivid) !important;
  border-color: var(--as-blue-vivid) !important;
}

body[data-style-profile="apple-reloaded"] .ui-radio:checked::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #fff;
}

body[data-style-profile="apple-reloaded"] .ui-radio:focus,
body[data-style-profile="apple-reloaded"] .ui-radio:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px var(--as-focus-ring) !important;
}

/* Other native checkboxes/radios keep at least the system accent */
body[data-style-profile="apple-reloaded"] input[type="checkbox"]:not(.ui-checkbox),
body[data-style-profile="apple-reloaded"] input[type="radio"]:not(.ui-radio) {
  accent-color: var(--as-blue-vivid) !important;
}

/* Upload dropzones */
body[data-style-profile="apple-reloaded"] .ui-upload-dropzone {
  border-radius: 16px !important;
  border: 1.5px dashed var(--as-hairline-strong) !important;
  background: var(--as-window-bg) !important;
  transition: border-color 180ms ease, background-color 180ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-upload-dropzone:hover {
  border-color: var(--as-blue) !important;
  background: rgb(0 113 227 / 0.04) !important;
}

/* ── 6. Switches — iOS toggles ────────────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-toggle-control {
  height: 1.65rem !important;
  width: 2.75rem !important;
  background: var(--as-fill-strong) !important;
  transition: background-color 220ms ease !important;
}

body[data-style-profile="apple-reloaded"] .ui-toggle-control::after {
  height: 1.4rem !important;
  width: 1.4rem !important;
  left: 0.125rem !important;
  top: 0.125rem !important;
  box-shadow: 0 2px 4px rgb(0 0 0 / 0.2), 0 0 0 0.5px rgb(0 0 0 / 0.05) !important;
  transition: transform 260ms var(--as-ease-pop) !important;
}

body[data-style-profile="apple-reloaded"] .ui-toggle input:checked + .ui-toggle-control {
  background: var(--as-green) !important;
}

body[data-style-profile="apple-reloaded"] .ui-toggle input:checked + .ui-toggle-control::after {
  transform: translateX(1.1rem) !important;
}

body[data-style-profile="apple-reloaded"] .ui-toggle input:focus-visible + .ui-toggle-control {
  outline: 4px solid var(--as-focus-ring) !important;
}

/* Handlebars {{> toggle}} partial switch: green when on, springy knob */
body[data-style-profile="apple-reloaded"] .h-6.w-11.rounded-full.bg-brand-500 {
  background: var(--as-green) !important;
}

body[data-style-profile="apple-reloaded"] .h-6.w-11.rounded-full {
  transition: background-color 220ms ease;
}

body[data-style-profile="apple-reloaded"] .h-6.w-11.rounded-full + div,
body[data-style-profile="apple-reloaded"] .h-6.w-11.rounded-full ~ .absolute {
  transition: transform 260ms var(--as-ease-pop) !important;
}

body[data-style-profile="apple-reloaded"] .ui-quick-toggle {
  border-radius: 999px !important;
}

/* ── 7. Tabs — macOS segmented control ────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-tab-list {
  background: var(--as-fill) !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 2px !important;
  gap: 2px !important;
}

body[data-style-profile="apple-reloaded"] .ui-tab-pill {
  border-radius: 8px !important;
  border: none !important;
  font-weight: 500 !important;
  letter-spacing: -0.014em;
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-tab-pill-active {
  background: #fff !important;
  color: var(--as-ink) !important;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.12), 0 0 0 0.5px rgb(0 0 0 / 0.04) !important;
}

body[data-style-profile="apple-reloaded"] .ui-tab {
  letter-spacing: -0.014em;
}

body[data-style-profile="apple-reloaded"] .ui-tab-underline.ui-tab-active {
  border-color: var(--as-blue) !important;
  color: var(--as-blue) !important;
}

/* ── 8. Surfaces — white cards, soft depth, hover lift ────────────── */

body[data-style-profile="apple-reloaded"] .ui-panel,
body[data-style-profile="apple-reloaded"] .ui-stat-card,
body[data-style-profile="apple-reloaded"] .ui-inset-card,
body[data-style-profile="apple-reloaded"] .ui-selectable-card {
  border-radius: 18px !important;
  border: 0.5px solid rgb(0 0 0 / 0.06) !important;
  background: #fff !important;
  box-shadow: var(--as-shadow-card);
}

body[data-style-profile="apple-reloaded"] .ui-panel-lg {
  border-radius: 22px !important;
}

body[data-style-profile="apple-reloaded"] .rounded-2xl.border {
  border-radius: 18px !important;
  border-width: 0.5px !important;
  border-color: rgb(0 0 0 / 0.06) !important;
  box-shadow: var(--as-shadow-card);
}

/* Interactive cards lift like apple.com product tiles */
body[data-style-profile="apple-reloaded"] .automation-action-card,
body[data-style-profile="apple-reloaded"] .ui-selectable-card,
body[data-style-profile="apple-reloaded"] .inspiration-card {
  transition: transform 260ms var(--as-ease-spring), box-shadow 260ms ease,
    border-color 260ms ease, background-color 260ms ease;
}

body[data-style-profile="apple-reloaded"] .automation-action-card:hover:not(:disabled),
body[data-style-profile="apple-reloaded"] .ui-selectable-card:hover:not(:disabled),
body[data-style-profile="apple-reloaded"] .inspiration-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--as-shadow-card-hover) !important;
}

body[data-style-profile="apple-reloaded"] .ui-muted-box,
body[data-style-profile="apple-reloaded"] .ui-empty-box {
  border-radius: 16px !important;
  border: none !important;
  background: var(--as-window-bg) !important;
}

body[data-style-profile="apple-reloaded"] .ui-empty-box {
  padding: 2.5rem 1.5rem !important;
}

body[data-style-profile="apple-reloaded"] .ui-code-block {
  border-radius: 12px !important;
  background: #f5f5f7 !important;
  border: 0.5px solid var(--as-hairline) !important;
}

/* ── 9. Tables — macOS list views ─────────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-data-table-wrap {
  border-radius: 16px !important;
  border: 0.5px solid rgb(0 0 0 / 0.06) !important;
  overflow: hidden;
  box-shadow: var(--as-shadow-card);
  background: #fff;
}

body[data-style-profile="apple-reloaded"] .ui-data-table thead {
  background: var(--as-window-bg) !important;
}

body[data-style-profile="apple-reloaded"] .ui-data-table th {
  font-size: var(--ui-font-caption, 0.75rem) !important;
  font-weight: 600 !important;
  text-transform: none;
  letter-spacing: normal;
  color: var(--as-ink-secondary) !important;
  border-bottom: 0.5px solid var(--as-hairline) !important;
}

body[data-style-profile="apple-reloaded"] .ui-data-table tbody tr {
  border-bottom: 0.5px solid var(--as-hairline) !important;
  transition: background-color 120ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-data-table tbody tr:last-child {
  border-bottom: none !important;
}

body[data-style-profile="apple-reloaded"] .ui-data-table tbody tr:hover {
  background: rgb(0 113 227 / 0.05) !important;
}

/* ── 10. Pills, badges, avatars, alerts ───────────────────────────── */

body[data-style-profile="apple-reloaded"] .status-pill,
body[data-style-profile="apple-reloaded"] .jobs-status-pill {
  border-radius: 999px !important;
  font-weight: 500 !important;
  letter-spacing: -0.006em;
}

body[data-style-profile="apple-reloaded"] .ui-state-pill {
  border-radius: 999px !important;
  border: none !important;
  background: var(--as-fill) !important;
  font-weight: 500;
}

body[data-style-profile="apple-reloaded"] .ui-title-count {
  color: #aeaeb2 !important;
  font-weight: 500 !important;
}

/* Avatars get the subtle Apple contact ring */
body[data-style-profile="apple-reloaded"] header.sticky img.rounded-full,
body[data-style-profile="apple-reloaded"] .rounded-full[class*="bg-brand"] {
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.1);
}

body[data-style-profile="apple-reloaded"] .ui-alert-success,
body[data-style-profile="apple-reloaded"] .ui-alert-warning {
  border-radius: 14px !important;
  border-width: 0.5px !important;
}

/* ── 11. Menus & popovers — heavy white glass ─────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-menu,
body[data-style-profile="apple-reloaded"] .shadow-theme-lg {
  border-radius: 16px !important;
  border: 0.5px solid var(--as-hairline) !important;
  background: rgb(255 255 255 / 0.8) !important;
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);
  box-shadow: var(--as-shadow-popover) !important;
  animation: as-popover-in 220ms var(--as-ease-pop);
  transform-origin: top;
}

/* Popovery v hlavičke: hlavička má vlastný backdrop-filter, takže vnorené sklo
   nerozmaže stránku pod sebou a obsah presvitá. Plné pozadie bez skla. */
body[data-style-profile="apple-reloaded"] .workspace-header .shadow-theme-lg {
  background: #fff !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body[data-style-profile="apple-reloaded"] .ui-menu-item {
  border-radius: 8px !important;
  font-weight: 400;
  transition: background-color 100ms ease, color 100ms ease;
}

body[data-style-profile="apple-reloaded"] .ui-menu-item:hover {
  background: var(--as-blue-vivid) !important;
  color: #fff !important;
}

body[data-style-profile="apple-reloaded"] .ui-menu-item:hover svg {
  color: #fff !important;
}

body[data-style-profile="apple-reloaded"] .ui-menu-item-danger:hover {
  background: var(--as-red) !important;
  color: #fff !important;
}

body[data-style-profile="apple-reloaded"] .ui-menu-divider {
  border-color: var(--as-hairline) !important;
}

/* ── 12. Modals — macOS sheets ────────────────────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-modal-backdrop {
  background: rgb(0 0 0 / 0.22) !important;
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
}

body[data-style-profile="apple-reloaded"] .ui-modal-panel {
  border-radius: 18px !important;
  border: 0.5px solid rgb(0 0 0 / 0.08) !important;
  background: rgb(255 255 255 / 0.94) !important;
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.28), 0 0 0 0.5px rgb(0 0 0 / 0.04) !important;
  animation: as-sheet-in 300ms var(--as-ease-pop);
}

/* Traffic lights injected by apple-style.profile.js */
body[data-style-profile="apple-reloaded"] .as-traffic-lights {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

body[data-style-profile="apple-reloaded"] .as-traffic-light {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
  border: 0.5px solid rgb(0 0 0 / 0.15);
  cursor: default;
  transition: filter 140ms ease, transform 160ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .as-traffic-light-close {
  background: #ff5f57;
  cursor: pointer;
}

body[data-style-profile="apple-reloaded"] .as-traffic-light-min {
  background: #febc2e;
}

body[data-style-profile="apple-reloaded"] .as-traffic-light-max {
  background: #28c840;
}

body[data-style-profile="apple-reloaded"] .as-traffic-lights:hover .as-traffic-light {
  filter: brightness(0.92);
}

body[data-style-profile="apple-reloaded"] .as-traffic-light-close:active {
  transform: scale(0.88);
}

body[data-style-profile="apple-reloaded"] .ui-modal-panel.as-has-traffic-lights {
  padding-top: 2.6rem;
}

/* Lepená hlavička zásuvky (detail objednávky) prekryje aj pás nad sebou — inak cez priesvitný panel
   presvitá obsah, ktorý pod ňou odroluje (majiteľ 2026-09-29). */
body[data-style-profile="apple-reloaded"] .ui-modal-panel.as-has-traffic-lights > .ui-order-head,
body[data-style-profile="apple-reloaded"] .ui-modal-panel.as-has-traffic-lights > .ui-drawer-nav {
  top: -2.6rem;
  margin-top: -2.6rem;
  padding-top: 2.6rem;
}

/* ── 13. Toasts — Notification Center banners ─────────────────────── */

body[data-style-profile="apple-reloaded"] .ui-toast {
  border-radius: 18px !important;
  border: 0.5px solid var(--as-hairline) !important;
  background: rgb(250 250 252 / 0.82) !important;
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  backdrop-filter: saturate(180%) blur(40px);
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.16) !important;
  animation: as-toast-in 340ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .ui-toast-icon {
  border-radius: 10px !important;
}

body[data-style-profile="apple-reloaded"] .ui-toast-progress {
  background: var(--as-blue) !important;
}

/* ── 14. Auth screens — apple.com hero feel ───────────────────────── */

body[data-style-profile="apple-reloaded"] .bg-brand-950 {
  background: radial-gradient(130% 130% at 80% -10%, #2c2c2e 0%, #1d1d1f 45%, #000 100%) !important;
}

/* Style profile switcher on auth pages — small glass pill */
body[data-style-profile="apple-reloaded"] .style-profile-select {
  border-radius: 980px !important;
  background-color: rgb(255 255 255 / 0.85) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.08) !important;
}

/* ── 15. Preloader — quiet Apple boot ─────────────────────────────── */

body[data-style-profile="apple-reloaded"] .animate-spin.border-brand-500 {
  height: 2.5rem !important;
  width: 2.5rem !important;
  border-color: rgb(0 0 0 / 0.1) !important;
  border-top-color: #8e8e93 !important;
  border-width: 3px !important;
}

/* ── 16. Motion ───────────────────────────────────────────────────── */

@keyframes as-sheet-in {
  from {
    opacity: 0;
    transform: scale(1.03) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes as-popover-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(-5px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes as-toast-in {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes as-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Content gently rises on page load (enabled by profile JS via .as-ready) */
body[data-style-profile="apple-reloaded"].as-ready main .ui-panel,
body[data-style-profile="apple-reloaded"].as-ready main .ui-stat-card,
body[data-style-profile="apple-reloaded"].as-ready main .rounded-2xl.border,
body[data-style-profile="apple-reloaded"].as-ready main .ui-data-table-wrap {
  animation: as-rise 460ms var(--as-ease-spring) both;
}

/* Slight stagger for the first few cards */
body[data-style-profile="apple-reloaded"].as-ready main .ui-stat-card:nth-child(2) {
  animation-delay: 40ms;
}

body[data-style-profile="apple-reloaded"].as-ready main .ui-stat-card:nth-child(3) {
  animation-delay: 80ms;
}

body[data-style-profile="apple-reloaded"].as-ready main .ui-stat-card:nth-child(4) {
  animation-delay: 120ms;
}

/* ── 17. Department preview switcher — glowing segmented control ──── */

body[data-style-profile="apple-reloaded"] .department-preview-group {
  border: none !important;
  border-radius: 999px !important;
  background: var(--as-fill);
  padding: 3px !important;
  gap: 2px;
}

body[data-style-profile="apple-reloaded"] .department-preview-pill {
  border-radius: 999px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  color: var(--as-ink-secondary) !important;
  transition: background-color 180ms ease, color 180ms ease,
    box-shadow 260ms ease, transform 180ms var(--as-ease-pop);
}

body[data-style-profile="apple-reloaded"] .department-preview-pill:hover {
  background: rgb(0 0 0 / 0.05) !important;
  color: var(--as-ink) !important;
}

body[data-style-profile="apple-reloaded"] .department-preview-pill:active {
  transform: scale(0.96);
}

/* Active department glows like a charging indicator */
body[data-style-profile="apple-reloaded"] .department-preview-pill-active,
body[data-style-profile="apple-reloaded"] .department-preview-pill-active:hover {
  /* #0066cc: white text stays >= 4.5:1 (WCAG AA); the profile's iOS blue gives only ~4.0:1. */
  background: #0066cc !important;
  color: #fff !important;
  box-shadow: 0 0 0 1px rgb(0 113 227 / 0.25), 0 0 14px rgb(0 113 227 / 0.5) !important;
  animation: as-glow-breathe 3s ease-in-out infinite alternate;
}

@keyframes as-glow-breathe {
  from {
    box-shadow: 0 0 0 1px rgb(0 113 227 / 0.25), 0 0 10px rgb(0 113 227 / 0.35);
  }
  to {
    box-shadow: 0 0 0 1px rgb(0 113 227 / 0.3), 0 0 20px rgb(0 113 227 / 0.6);
  }
}

/* Mobile department select gets the same glow accent */
body[data-style-profile="apple-reloaded"] .department-preview-select,
body[data-style-profile="apple-reloaded"] header select.ui-select.department-preview-select {
  border: 1px solid rgb(0 113 227 / 0.35) !important;
  background-color: #fff !important;
  /* Dark text on the white pill (a white inherited color made it unreadable on mobile). */
  color: var(--as-ink) !important;
  box-shadow: 0 0 10px rgb(0 113 227 / 0.22) !important;
  border-radius: 999px !important;
}

/* ── 18. Deep coverage — the rest of the surface ──────────────────── */

/* Breadcrumbs — quiet, tight */
body[data-style-profile="apple-reloaded"] nav[aria-label="Breadcrumb"] {
  font-size: 0.75rem !important;
  letter-spacing: -0.006em;
}

body[data-style-profile="apple-reloaded"] nav[aria-label="Breadcrumb"] a:hover {
  color: var(--as-blue) !important;
}

/* Notification dropdown — rounded rows, blue accents */
body[data-style-profile="apple-reloaded"] .shadow-theme-lg li > a {
  border-radius: 12px !important;
  transition: background-color 140ms ease;
}

body[data-style-profile="apple-reloaded"] .shadow-theme-lg li {
  border-color: var(--as-hairline) !important;
}

body[data-style-profile="apple-reloaded"] .shadow-theme-lg .bg-orange-400 {
  background: var(--as-red) !important;
}

/* Filter toolbars sit on the window, not in boxes */
body[data-style-profile="apple-reloaded"] .ui-filter-toolbar {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Setting rows — iOS Settings list separators */
body[data-style-profile="apple-reloaded"] .ui-setting-row {
  border-color: var(--as-hairline) !important;
}

/* Confirm boxes and danger zones */
body[data-style-profile="apple-reloaded"] .ui-confirm-box {
  border-radius: 14px !important;
  border-width: 0.5px !important;
}

/* Status pills — Apple system tints */
body[data-style-profile="apple-reloaded"] .status-pill-success,
body[data-style-profile="apple-reloaded"] .jobs-status-pill-success {
  background: rgb(52 199 89 / 0.14) !important;
  color: #248a3d !important;
}

body[data-style-profile="apple-reloaded"] .status-pill-warning,
body[data-style-profile="apple-reloaded"] .jobs-status-pill-warning {
  background: rgb(255 149 0 / 0.14) !important;
  color: #c93400 !important;
}

body[data-style-profile="apple-reloaded"] .status-pill-error,
body[data-style-profile="apple-reloaded"] .jobs-status-pill-error {
  background: rgb(255 59 48 / 0.12) !important;
  color: var(--as-red-deep) !important;
}

body[data-style-profile="apple-reloaded"] .status-pill-neutral,
body[data-style-profile="apple-reloaded"] .jobs-status-pill-neutral {
  background: var(--as-fill) !important;
  color: var(--as-ink-secondary) !important;
}

/* Thumbnails, color inputs, media buttons */
body[data-style-profile="apple-reloaded"] .ui-thumbnail-card,
body[data-style-profile="apple-reloaded"] .ui-thumbnail-preview {
  border-radius: 14px !important;
  border-width: 0.5px !important;
}

body[data-style-profile="apple-reloaded"] .ui-color-input,
body[data-style-profile="apple-reloaded"] .ui-color-input-compact {
  border-radius: 10px !important;
  border: 0.5px solid var(--as-hairline) !important;
}

body[data-style-profile="apple-reloaded"] .ui-round-media-button {
  background: rgb(255 255 255 / 0.75) !important;
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
}

/* Toast close affordance */
body[data-style-profile="apple-reloaded"] .ui-toast-close {
  border-radius: 999px !important;
}

/* Info dots and static indicators */
body[data-style-profile="apple-reloaded"] .ui-info-dot {
  background: var(--as-fill) !important;
  color: var(--as-ink-secondary) !important;
}

/* Inventory + summary cards inherit card language */
body[data-style-profile="apple-reloaded"] .inventory-summary-card {
  border-radius: 16px !important;
  border: 0.5px solid rgb(0 0 0 / 0.06) !important;
  background: #fff !important;
  box-shadow: var(--as-shadow-card);
}

/* ── 19. Accessibility guards ─────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  body[data-style-profile="apple-reloaded"] *,
  body[data-style-profile="apple-reloaded"] *::before,
  body[data-style-profile="apple-reloaded"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body[data-style-profile="apple-reloaded"] header.sticky,
  body[data-style-profile="apple-reloaded"] .app-sidebar,
  body[data-style-profile="apple-reloaded"] .ui-menu,
  body[data-style-profile="apple-reloaded"] .shadow-theme-lg,
  body[data-style-profile="apple-reloaded"] .ui-toast,
  body[data-style-profile="apple-reloaded"] .ui-modal-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: #fff !important;
  }
}

/* ── 5. RELOADED — jazyk Orbitu ───────────────────────────────────── */

body[data-style-profile="apple-reloaded"] {
  --as-blue: #007aff;
  --as-blue-vivid: #007aff;
  --as-blue-hover: #0a6cff;
  --as-blue-active: #0060df;
  --as-ink: #111113;
  --as-ink-secondary: rgb(17 17 19 / 0.55);
  --as-hairline: rgb(17 17 19 / 0.08);
  --as-hairline-strong: rgb(17 17 19 / 0.14);
  --as-fill: rgb(17 17 19 / 0.04);
  --as-fill-strong: rgb(17 17 19 / 0.08);
  --as-window-bg: #ffffff;
  --as-glass: rgb(255 255 255 / 0.88);
  --as-glass-sidebar: #ffffff;
  --as-focus-ring: rgb(0 122 255 / 0.28);
  --as-shadow-card: none;
  --as-shadow-card-hover: none;
  --as-shadow-popover: 0 0 0 1px rgb(17 17 19 / 0.1);
  --as-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", system-ui, "Segoe UI", sans-serif;
  --rl-dim: rgb(17 17 19 / 0.5);
  --rl-line: rgb(17 17 19 / 0.1);
  --rl-soft: rgb(17 17 19 / 0.05);
  --rl-blue-soft: rgb(0 122 255 / 0.1);
  --rl-green: #34c759;
  --rl-orange: #ff9500;
  --rl-red: #ff3b30;
  --ui-color-primary: #007aff;
  --ui-color-primary-hover: #0a6cff;
  --ui-color-primary-soft: rgb(0 122 255 / 0.1);
  --ui-color-link: #007aff;
  --ui-color-link-hover: #0060df;
  --ui-color-surface-subtle: #fafafa;
  background: #ffffff;
  color: var(--as-ink);
  font-family: var(--as-font);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

/* Žiadne vrhané tiene nikde — len čiary. */
body[data-style-profile="apple-reloaded"] *,
body[data-style-profile="apple-reloaded"] *::before,
body[data-style-profile="apple-reloaded"] *::after {
  box-shadow: none !important;
}
body[data-style-profile="apple-reloaded"] .ui-toggle-control::after,
body[data-style-profile="apple-reloaded"] .ui-status-dot,
body[data-style-profile="apple-reloaded"] [data-rl-glow],
body[data-style-profile="apple-reloaded"] .fo-status i {
  box-shadow: 0 0 10px currentColor !important;
}
body[data-style-profile="apple-reloaded"] :focus-visible {
  outline: 2px solid rgb(0 122 255 / 0.55) !important;
  outline-offset: 2px;
}

/* Okno: biely papier, bočný panel a hlavička oddelené čiarou. */
body[data-style-profile="apple-reloaded"] aside,
body[data-style-profile="apple-reloaded"] .sidebar,
body[data-style-profile="apple-reloaded"] header.sticky {
  background: #ffffff !important;
  border-color: var(--rl-line) !important;
}
body[data-style-profile="apple-reloaded"] header.sticky {
  border-bottom: 1px solid var(--rl-line) !important;
}
body[data-style-profile="apple-reloaded"] main {
  background: #ffffff;
}

/* Typografia: téma (kapitálky) · o čo ide (bold) · vysvetlenie (tenko). */
body[data-style-profile="apple-reloaded"] h1,
body[data-style-profile="apple-reloaded"] .ui-heading-1 {
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.05 !important;
  color: var(--as-ink) !important;
}
body[data-style-profile="apple-reloaded"] h2,
body[data-style-profile="apple-reloaded"] .ui-heading-2 {
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.1 !important;
}
body[data-style-profile="apple-reloaded"] h3,
body[data-style-profile="apple-reloaded"] h4,
body[data-style-profile="apple-reloaded"] .ui-heading-3,
body[data-style-profile="apple-reloaded"] .ui-heading-4,
body[data-style-profile="apple-reloaded"] .ui-heading-5 {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}
body[data-style-profile="apple-reloaded"] main p,
body[data-style-profile="apple-reloaded"] .text-gray-500,
body[data-style-profile="apple-reloaded"] .text-gray-400 {
  color: var(--rl-dim) !important;
}
body[data-style-profile="apple-reloaded"] main p {
  font-weight: 300;
}
body[data-style-profile="apple-reloaded"] .rl-emoji-title {
  margin-right: 0.3em;
  font-weight: 400;
  letter-spacing: 0;
}

/* Kapitálky: skupiny v menu, hlavičky tabuliek, drobné štítky. */
body[data-style-profile="apple-reloaded"] .menu-group-title,
body[data-style-profile="apple-reloaded"] .ui-data-table thead th,
body[data-style-profile="apple-reloaded"] .ui-workspace-breadcrumb,
body[data-style-profile="apple-reloaded"] nav[aria-label="Breadcrumb"] {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: var(--rl-dim) !important;
}

/* Menu: emoji + názov, výber = jemná modrá plocha, bez ikon. */
body[data-style-profile="apple-reloaded"] .menu-item {
  border-radius: 12px !important;
  font-size: 14px;
  font-weight: 500;
  gap: 10px;
  color: var(--as-ink) !important;
}
body[data-style-profile="apple-reloaded"] .menu-item:hover {
  background: var(--rl-soft) !important;
}
body[data-style-profile="apple-reloaded"] .menu-item-active {
  background: var(--rl-blue-soft) !important;
  font-weight: 700;
}
body[data-style-profile="apple-reloaded"] .menu-item .rl-emoji {
  width: 22px;
  flex: 0 0 22px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
}
body[data-style-profile="apple-reloaded"] .menu-item.rl-has-emoji > svg {
  display: none;
}

/* Karty a panely: biele, tenká čiara, veľké zaoblenie. */
body[data-style-profile="apple-reloaded"] .ui-panel,
body[data-style-profile="apple-reloaded"] .ui-stat-card,
body[data-style-profile="apple-reloaded"] .ui-selectable-card,
body[data-style-profile="apple-reloaded"] .ui-empty-box,
body[data-style-profile="apple-reloaded"] .rounded-2xl.border,
body[data-style-profile="apple-reloaded"] .rounded-xl.border {
  background: #ffffff !important;
  border: 1px solid var(--rl-line) !important;
  border-radius: 22px !important;
}

/* Čísla: veľké a tenké. */
body[data-style-profile="apple-reloaded"] .ui-stat-card .ui-heading-4,
body[data-style-profile="apple-reloaded"] .ui-stat-card h4,
body[data-style-profile="apple-reloaded"] .ui-stat-card .text-title-md,
body[data-style-profile="apple-reloaded"] .ui-stat-card .text-2xl,
body[data-style-profile="apple-reloaded"] .ui-stat-card .text-3xl {
  font-size: clamp(28px, 2.6vw, 40px) !important;
  font-weight: 200 !important;
  letter-spacing: -0.045em !important;
  font-variant-numeric: tabular-nums;
  line-height: 1 !important;
}
body[data-style-profile="apple-reloaded"] .ui-stat-card > span:first-child,
body[data-style-profile="apple-reloaded"] .ui-stat-card .flex > span:first-child {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Tlačidlá: pilulky; hlavné plné modré, ostatné jemná plocha. */
body[data-style-profile="apple-reloaded"] .ui-btn,
body[data-style-profile="apple-reloaded"] .ui-pill-button {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}
body[data-style-profile="apple-reloaded"] .ui-btn-primary,
body[data-style-profile="apple-reloaded"] button[class*="bg-brand-"],
body[data-style-profile="apple-reloaded"] a[class*="bg-brand-"] {
  background: #007aff !important;
  border-color: #007aff !important;
  color: #ffffff !important;
}
body[data-style-profile="apple-reloaded"] .ui-btn-primary:hover {
  background: #0a6cff !important;
}
body[data-style-profile="apple-reloaded"] .ui-btn-secondary,
body[data-style-profile="apple-reloaded"] .ui-btn-ghost {
  background: var(--rl-soft) !important;
  border-color: transparent !important;
  color: var(--as-ink) !important;
}
body[data-style-profile="apple-reloaded"] .ui-btn-secondary:hover,
body[data-style-profile="apple-reloaded"] .ui-btn-ghost:hover {
  background: rgb(17 17 19 / 0.08) !important;
}

/* Prepínače a karty kariet: sivá dráha, vybraná biela pilulka s čiarou. */
body[data-style-profile="apple-reloaded"] .ui-tab-list,
body[data-style-profile="apple-reloaded"] .ui-segment {
  background: var(--rl-soft) !important;
  border-radius: 999px !important;
  padding: 3px !important;
  border: 0 !important;
}
body[data-style-profile="apple-reloaded"] .ui-tab,
body[data-style-profile="apple-reloaded"] .ui-tab-pill {
  border-radius: 999px !important;
  color: rgb(17 17 19 / 0.55) !important;
}
body[data-style-profile="apple-reloaded"] .ui-tab-active,
body[data-style-profile="apple-reloaded"] .ui-tab-pill-active,
body[data-style-profile="apple-reloaded"] .ui-tab[aria-selected="true"] {
  background: #ffffff !important;
  color: var(--as-ink) !important;
  font-weight: 700 !important;
  outline: 1px solid var(--rl-line);
}

/* Navigácia pracovnej plochy (Objednávky | Odosielanie | …) ako segmentový prepínač. */
body[data-style-profile="apple-reloaded"] .ui-workspace-navigation {
  display: inline-flex !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  background: var(--rl-soft) !important;
  border: 0 !important;
}
body[data-style-profile="apple-reloaded"] .ui-workspace-link {
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: rgb(17 17 19 / 0.55) !important;
  font-weight: 500 !important;
}
body[data-style-profile="apple-reloaded"] .ui-workspace-link[aria-current],
body[data-style-profile="apple-reloaded"] .ui-workspace-link.is-active,
body[data-style-profile="apple-reloaded"] .ui-workspace-link-active {
  background: #ffffff !important;
  color: var(--as-ink) !important;
  font-weight: 700 !important;
  outline: 1px solid var(--rl-line);
}

/* Polia: jemná plocha bez rámu, modrý prstenec pri písaní. */
body[data-style-profile="apple-reloaded"] .ui-input,
body[data-style-profile="apple-reloaded"] .ui-select,
body[data-style-profile="apple-reloaded"] .ui-textarea {
  background: var(--rl-soft) !important;
  border: 1px solid transparent !important;
  border-radius: 12px !important;
}
body[data-style-profile="apple-reloaded"] .ui-input:focus,
body[data-style-profile="apple-reloaded"] .ui-select:focus,
body[data-style-profile="apple-reloaded"] .ui-textarea:focus {
  background: #ffffff !important;
  border-color: rgb(0 122 255 / 0.55) !important;
}

/* Tabuľky: len vodorovné čiary, bez zebry. */
body[data-style-profile="apple-reloaded"] .ui-data-table tbody tr {
  background: transparent !important;
  border-bottom: 1px solid var(--rl-line);
}
body[data-style-profile="apple-reloaded"] .ui-data-table tbody tr:hover {
  background: var(--rl-soft) !important;
}

/* Štítky stavu: jemné tónované pilulky; bodka so žiarou. */
body[data-style-profile="apple-reloaded"] .ui-badge,
body[data-style-profile="apple-reloaded"] .ui-state-pill {
  border-radius: 999px !important;
  font-weight: 700;
}
body[data-style-profile="apple-reloaded"] .ui-badge-success { background: rgb(52 199 89 / 0.12) !important; color: #1f8a3d !important; }
body[data-style-profile="apple-reloaded"] .ui-badge-warning { background: rgb(255 149 0 / 0.14) !important; color: #b36200 !important; }
body[data-style-profile="apple-reloaded"] .ui-badge-info { background: rgb(0 122 255 / 0.1) !important; color: #0060df !important; }

/* Okná (modaly): biely papier s čiarou, pozadie stlmené. */
body[data-style-profile="apple-reloaded"] .ui-modal-panel {
  border: 1px solid var(--rl-line) !important;
  border-radius: 28px !important;
}
body[data-style-profile="apple-reloaded"] .as-traffic-light-min,
body[data-style-profile="apple-reloaded"] .as-traffic-light-max {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  body[data-style-profile="apple-reloaded"] .menu-item,
  body[data-style-profile="apple-reloaded"] .ui-btn {
    transition: none !important;
  }
}

/* ── 6. Emoji namiesto ikon v menu a pred nadpisom (čisto CSS, bez preblikovania) ── */

body[data-style-profile="apple-reloaded"] a.menu-item > svg {
  display: none !important;
}
body[data-style-profile="apple-reloaded"] a.menu-item::before {
  content: "•";
  flex: 0 0 22px;
  width: 22px;
  text-align: center;
  font-size: 17px;
  line-height: 1;
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/overview"]::before {
  content: "📊";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin"]::before {
  content: "🏠";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/launch-wizard"]::before {
  content: "🚀";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ai-tasks"]::before {
  content: "✅";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/scheduler"]::before {
  content: "🗓️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/orders"]::before {
  content: "🛒";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/dispatch"]::before {
  content: "🚚";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/legacy-orders"]::before {
  content: "🕰️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/customers"]::before {
  content: "👥";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/submissions"]::before {
  content: "📥";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ai-assistant"]::before {
  content: "🤖";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/assistant"]::before {
  content: "✨";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/withdrawals"]::before {
  content: "↩️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/reviews"]::before {
  content: "⭐";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/product-questions"]::before {
  content: "❓";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/products"]::before {
  content: "🧴";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/product-taxonomy"]::before {
  content: "🏷️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/product-sets"]::before {
  content: "🎁";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/product-prices"]::before {
  content: "💶";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/pricing-cascade"]::before {
  content: "🪜";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/price-benchmarks"]::before {
  content: "⚖️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/dynamic-discounts"]::before {
  content: "🔻";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/e-commerce"]::before {
  content: "🛍️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/special-sales"]::before {
  content: "🔥";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/inventory"]::before {
  content: "📦";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/documents"]::before {
  content: "🗂️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/product-descriptions"]::before {
  content: "📝";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/set-prices"]::before {
  content: "💰";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/production-costs"]::before {
  content: "🏭";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/storefront-content"]::before {
  content: "🧩";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/storefront-texts"]::before {
  content: "🔤";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/articles"]::before {
  content: "📰";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/recipes"]::before {
  content: "🥣";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ebooks"]::before {
  content: "📚";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/seo"]::before {
  content: "🔎";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/public-sites"]::before {
  content: "🌐";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/public-files"]::before {
  content: "📁";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/redirects"]::before {
  content: "↪️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/campaigns"]::before {
  content: "📅";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/newsletters"]::before {
  content: "📬";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/organic"]::before {
  content: "🌱";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/real-content"]::before {
  content: "📸";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/social-footer"]::before {
  content: "🖼️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/social-inbox"]::before {
  content: "💬";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/social-reactions"]::before {
  content: "❤️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ai-engine"]::before {
  content: "🧠";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/personas"]::before {
  content: "🧑";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/avatars"]::before {
  content: "🙂";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ugc-avatars"]::before {
  content: "🎭";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/influencers"]::before {
  content: "🌟";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/influencers/calendar"]::before {
  content: "📆";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/influencers/documentation"]::before {
  content: "📓";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/influencers/organic"]::before {
  content: "🍃";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/products/visuals"]::before {
  content: "🎨";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/graphic-works"]::before {
  content: "🪄";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/automations"]::before {
  content: "🔁";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/feeds"]::before {
  content: "📡";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/newsletter-subscribers"]::before {
  content: "💌";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/persona-problems"]::before {
  content: "🩺";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/marketing-solutions"]::before {
  content: "💡";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/marketing-facts"]::before {
  content: "📋";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/mood"]::before {
  content: "🌈";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/previews"]::before {
  content: "👀";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/media-review"]::before {
  content: "🎞️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/inspirations"]::before {
  content: "💭";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/graphic-assets"]::before {
  content: "🗃️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/prompts"]::before {
  content: "🧾";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/email-templates"]::before {
  content: "✉️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/ppc-overview"]::before {
  content: "📣";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/margin"]::before {
  content: "📈";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/cash-flow"]::before {
  content: "💸";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/cash-flow/incomes"]::before {
  content: "⬆️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/cash-flow/expenses"]::before {
  content: "⬇️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/cash-flow/recurring"]::before {
  content: "🔄";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/marketing-overview"]::before {
  content: "📢";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/analytics"]::before {
  content: "📉";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/traffic"]::before {
  content: "🚦";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/visitor-flow"]::before {
  content: "🧭";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/account"]::before {
  content: "👤";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/brands"]::before {
  content: "🏛️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/domains"]::before {
  content: "🌍";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/legal-documents"]::before {
  content: "📜";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/packeta-settings"]::before {
  content: "📮";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/shop-settings"]::before {
  content: "🏪";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/invoices"]::before {
  content: "🧮";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/qr-codes"]::before {
  content: "🔳";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/settings"]::before {
  content: "⚙️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/users"]::before {
  content: "🧑‍🤝‍🧑";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/departments"]::before {
  content: "🏢";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/security"]::before {
  content: "🛡️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/integrations"]::before {
  content: "🔌";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/project"]::before {
  content: "🗺️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/navigation"]::before {
  content: "🧷";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/analytics-settings"]::before {
  content: "📐";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/llm-settings"]::before {
  content: "🧬";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/data-processor-settings"]::before {
  content: "🖥️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/notifications"]::before {
  content: "🔔";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/news"]::before {
  content: "🗞️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/modules"]::before {
  content: "🧱";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/settings-history"]::before {
  content: "🕘";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/settings-metadata"]::before {
  content: "ℹ️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/health"]::before {
  content: "❤️‍🩹";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/setup"]::before {
  content: "🛠️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/integration-checks"]::before {
  content: "🔍";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/third-party"]::before {
  content: "🤝";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/logs"]::before {
  content: "🪵";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/database"]::before {
  content: "🗄️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/uploads"]::before {
  content: "📤";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/api-analytics"]::before {
  content: "📶";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/api-keys"]::before {
  content: "🔑";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/remote-access"]::before {
  content: "🛰️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/translations"]::before {
  content: "🈯";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/styles"]::before {
  content: "💅";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/testing"]::before {
  content: "🧪";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/processor-events"]::before {
  content: "⚠️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/app/finance-settings"]::before {
  content: "💳";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/app/settings"]::before {
  content: "⚙️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/app/settings/sessions"]::before {
  content: "🔐";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/app/notifications"]::before {
  content: "🔔";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/status"]::before {
  content: "🟢";
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/overview"]) h1.ui-heading-1 > span:first-child::before {
  content: "📊";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏠";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/launch-wizard"]) h1.ui-heading-1 > span:first-child::before {
  content: "🚀";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ai-tasks"]) h1.ui-heading-1 > span:first-child::before {
  content: "✅";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/scheduler"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗓️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/orders"]) h1.ui-heading-1 > span:first-child::before {
  content: "🛒";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/dispatch"]) h1.ui-heading-1 > span:first-child::before {
  content: "🚚";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/legacy-orders"]) h1.ui-heading-1 > span:first-child::before {
  content: "🕰️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/customers"]) h1.ui-heading-1 > span:first-child::before {
  content: "👥";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/submissions"]) h1.ui-heading-1 > span:first-child::before {
  content: "📥";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ai-assistant"]) h1.ui-heading-1 > span:first-child::before {
  content: "🤖";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/assistant"]) h1.ui-heading-1 > span:first-child::before {
  content: "✨";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/withdrawals"]) h1.ui-heading-1 > span:first-child::before {
  content: "↩️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/reviews"]) h1.ui-heading-1 > span:first-child::before {
  content: "⭐";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/product-questions"]) h1.ui-heading-1 > span:first-child::before {
  content: "❓";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/products"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧴";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/product-taxonomy"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏷️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/product-sets"]) h1.ui-heading-1 > span:first-child::before {
  content: "🎁";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/product-prices"]) h1.ui-heading-1 > span:first-child::before {
  content: "💶";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/pricing-cascade"]) h1.ui-heading-1 > span:first-child::before {
  content: "🪜";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/price-benchmarks"]) h1.ui-heading-1 > span:first-child::before {
  content: "⚖️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/dynamic-discounts"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔻";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/e-commerce"]) h1.ui-heading-1 > span:first-child::before {
  content: "🛍️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/special-sales"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔥";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/inventory"]) h1.ui-heading-1 > span:first-child::before {
  content: "📦";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/documents"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗂️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/product-descriptions"]) h1.ui-heading-1 > span:first-child::before {
  content: "📝";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/set-prices"]) h1.ui-heading-1 > span:first-child::before {
  content: "💰";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/production-costs"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏭";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/storefront-content"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧩";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/storefront-texts"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔤";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/articles"]) h1.ui-heading-1 > span:first-child::before {
  content: "📰";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/recipes"]) h1.ui-heading-1 > span:first-child::before {
  content: "🥣";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ebooks"]) h1.ui-heading-1 > span:first-child::before {
  content: "📚";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/seo"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔎";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/public-sites"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌐";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/public-files"]) h1.ui-heading-1 > span:first-child::before {
  content: "📁";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/redirects"]) h1.ui-heading-1 > span:first-child::before {
  content: "↪️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/campaigns"]) h1.ui-heading-1 > span:first-child::before {
  content: "📅";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/newsletters"]) h1.ui-heading-1 > span:first-child::before {
  content: "📬";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/organic"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌱";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/real-content"]) h1.ui-heading-1 > span:first-child::before {
  content: "📸";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/social-footer"]) h1.ui-heading-1 > span:first-child::before {
  content: "🖼️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/social-inbox"]) h1.ui-heading-1 > span:first-child::before {
  content: "💬";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/social-reactions"]) h1.ui-heading-1 > span:first-child::before {
  content: "❤️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ai-engine"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧠";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/personas"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧑";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/avatars"]) h1.ui-heading-1 > span:first-child::before {
  content: "🙂";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ugc-avatars"]) h1.ui-heading-1 > span:first-child::before {
  content: "🎭";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/influencers"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌟";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/influencers/calendar"]) h1.ui-heading-1 > span:first-child::before {
  content: "📆";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/influencers/documentation"]) h1.ui-heading-1 > span:first-child::before {
  content: "📓";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/influencers/organic"]) h1.ui-heading-1 > span:first-child::before {
  content: "🍃";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/products/visuals"]) h1.ui-heading-1 > span:first-child::before {
  content: "🎨";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/graphic-works"]) h1.ui-heading-1 > span:first-child::before {
  content: "🪄";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/automations"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔁";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/feeds"]) h1.ui-heading-1 > span:first-child::before {
  content: "📡";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/newsletter-subscribers"]) h1.ui-heading-1 > span:first-child::before {
  content: "💌";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/persona-problems"]) h1.ui-heading-1 > span:first-child::before {
  content: "🩺";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/marketing-solutions"]) h1.ui-heading-1 > span:first-child::before {
  content: "💡";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/marketing-facts"]) h1.ui-heading-1 > span:first-child::before {
  content: "📋";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/mood"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌈";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/previews"]) h1.ui-heading-1 > span:first-child::before {
  content: "👀";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/media-review"]) h1.ui-heading-1 > span:first-child::before {
  content: "🎞️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/inspirations"]) h1.ui-heading-1 > span:first-child::before {
  content: "💭";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/graphic-assets"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗃️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/prompts"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧾";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/email-templates"]) h1.ui-heading-1 > span:first-child::before {
  content: "✉️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/ppc-overview"]) h1.ui-heading-1 > span:first-child::before {
  content: "📣";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/margin"]) h1.ui-heading-1 > span:first-child::before {
  content: "📈";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/cash-flow"]) h1.ui-heading-1 > span:first-child::before {
  content: "💸";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/cash-flow/incomes"]) h1.ui-heading-1 > span:first-child::before {
  content: "⬆️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/cash-flow/expenses"]) h1.ui-heading-1 > span:first-child::before {
  content: "⬇️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/cash-flow/recurring"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔄";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/marketing-overview"]) h1.ui-heading-1 > span:first-child::before {
  content: "📢";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/analytics"]) h1.ui-heading-1 > span:first-child::before {
  content: "📉";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/traffic"]) h1.ui-heading-1 > span:first-child::before {
  content: "🚦";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/visitor-flow"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧭";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/account"]) h1.ui-heading-1 > span:first-child::before {
  content: "👤";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/brands"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏛️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/domains"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌍";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/legal-documents"]) h1.ui-heading-1 > span:first-child::before {
  content: "📜";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/packeta-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "📮";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/shop-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏪";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/invoices"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧮";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/qr-codes"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔳";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "⚙️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/users"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧑‍🤝‍🧑";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/departments"]) h1.ui-heading-1 > span:first-child::before {
  content: "🏢";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/security"]) h1.ui-heading-1 > span:first-child::before {
  content: "🛡️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/integrations"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔌";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/project"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗺️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/navigation"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧷";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/analytics-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "📐";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/llm-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧬";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/data-processor-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "🖥️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/notifications"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔔";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/news"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗞️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/modules"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧱";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/settings-history"]) h1.ui-heading-1 > span:first-child::before {
  content: "🕘";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/settings-metadata"]) h1.ui-heading-1 > span:first-child::before {
  content: "ℹ️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/health"]) h1.ui-heading-1 > span:first-child::before {
  content: "❤️‍🩹";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/setup"]) h1.ui-heading-1 > span:first-child::before {
  content: "🛠️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/integration-checks"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔍";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/third-party"]) h1.ui-heading-1 > span:first-child::before {
  content: "🤝";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/logs"]) h1.ui-heading-1 > span:first-child::before {
  content: "🪵";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/database"]) h1.ui-heading-1 > span:first-child::before {
  content: "🗄️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/uploads"]) h1.ui-heading-1 > span:first-child::before {
  content: "📤";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/api-analytics"]) h1.ui-heading-1 > span:first-child::before {
  content: "📶";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/api-keys"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔑";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/remote-access"]) h1.ui-heading-1 > span:first-child::before {
  content: "🛰️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/translations"]) h1.ui-heading-1 > span:first-child::before {
  content: "🈯";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/styles"]) h1.ui-heading-1 > span:first-child::before {
  content: "💅";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/testing"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧪";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/processor-events"]) h1.ui-heading-1 > span:first-child::before {
  content: "⚠️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/app/finance-settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "💳";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/app/settings"]) h1.ui-heading-1 > span:first-child::before {
  content: "⚙️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/app/settings/sessions"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔐";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/app/notifications"]) h1.ui-heading-1 > span:first-child::before {
  content: "🔔";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/status"]) h1.ui-heading-1 > span:first-child::before {
  content: "🟢";
  margin-right: 0.3em;
  font-weight: 400;
}

/* ── 7. Apple štítky: značky, stavy, trhy, filtre ─────────────────── */

/* Farby značiek z databázy → najbližšia systémová farba Apple (inline --ui-brand-color). */
body[data-style-profile="apple-reloaded"] .ui-brand-pill { --rl-brand: #8e8e93; }
body[data-style-profile="apple-reloaded"] .ui-brand-pill[style*="559829" i] { --rl-brand: #34c759; }
body[data-style-profile="apple-reloaded"] .ui-brand-pill[style*="7356a6" i] { --rl-brand: #af52de; }
body[data-style-profile="apple-reloaded"] .ui-brand-pill[style*="b85a35" i] { --rl-brand: #ff9500; }
body[data-style-profile="apple-reloaded"] .ui-brand-pill[style*="467b91" i] { --rl-brand: #30b0c7; }
body[data-style-profile="apple-reloaded"] .ui-brand-pill {
  border: 0 !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--rl-brand) 13%, #ffffff) !important;
  color: color-mix(in srgb, var(--rl-brand) 62%, #111113) !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}
body[data-style-profile="apple-reloaded"] .ui-brand-pill::before {
  background: var(--rl-brand) !important;
  box-shadow: 0 0 8px var(--rl-brand) !important;
}
body[data-style-profile="apple-reloaded"] .ui-brand-pill[aria-pressed="true"] {
  background: var(--rl-brand) !important;
  color: #ffffff !important;
}
body[data-style-profile="apple-reloaded"] .ui-brand-pill[aria-pressed="true"]::before {
  background: #ffffff !important;
  box-shadow: none !important;
}

/* Stavy: jemne tónované pilulky v systémových farbách Apple, bez rámu. */
body[data-style-profile="apple-reloaded"] .status-pill,
body[data-style-profile="apple-reloaded"] .ui-badge,
body[data-style-profile="apple-reloaded"] .ui-state-pill {
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}
body[data-style-profile="apple-reloaded"] .status-pill-success, body[data-style-profile="apple-reloaded"] .ui-badge-success { background: rgb(52 199 89 / 0.14) !important; color: #1f7a36 !important; }
body[data-style-profile="apple-reloaded"] .status-pill-warning, body[data-style-profile="apple-reloaded"] .ui-badge-warning { background: rgb(255 149 0 / 0.16) !important; color: #a35c00 !important; }
body[data-style-profile="apple-reloaded"] .status-pill-error { background: rgb(255 59 48 / 0.12) !important; color: #c4281c !important; }
body[data-style-profile="apple-reloaded"] .status-pill-info, body[data-style-profile="apple-reloaded"] .ui-badge-info { background: rgb(0 122 255 / 0.12) !important; color: #0058cc !important; }
body[data-style-profile="apple-reloaded"] .status-pill-violet { background: rgb(175 82 222 / 0.14) !important; color: #8a3bb8 !important; }
body[data-style-profile="apple-reloaded"] .status-pill-teal { background: rgb(48 176 199 / 0.16) !important; color: #1c7f92 !important; }
body[data-style-profile="apple-reloaded"] .status-pill-neutral { background: rgb(17 17 19 / 0.06) !important; color: rgb(17 17 19 / 0.7) !important; }

/* Trhy (CZ/SK/PL) a filtre: neutrálne pilulky; zapnutý filter = atrament. */
body[data-style-profile="apple-reloaded"] .ui-market-pill {
  border: 0 !important;
  border-radius: 999px !important;
  background: rgb(17 17 19 / 0.06) !important;
  color: var(--as-ink) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
}
body[data-style-profile="apple-reloaded"] .ui-filter-chip {
  border: 0 !important;
  border-radius: 999px !important;
  background: rgb(17 17 19 / 0.05) !important;
  color: var(--as-ink) !important;
  font-weight: 600 !important;
}
body[data-style-profile="apple-reloaded"] .ui-filter-chip[aria-pressed="true"],
body[data-style-profile="apple-reloaded"] .ui-filter-chip.is-active,
body[data-style-profile="apple-reloaded"] .ui-state-pill-active {
  background: #111113 !important;
  color: #ffffff !important;
}

/* Položky bez ikonky v menu a v nadpise (majiteľ 2026-10-26: „v menu chýba ikonka“ pri Obsahu webu). */
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/web-content"]::before {
  content: "🖼️";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/customer-contact"]::before {
  content: "💬";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/online-assistant"]::before {
  content: "🌿";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/review-kit"]::before {
  content: "✅";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/meta-ppc/creatives"]::before {
  content: "🎯";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/meta-ppc/overview"]::before {
  content: "📊";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/meta-ppc/context"]::before {
  content: "🧭";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/marketing-emails"]::before {
  content: "📨";
}
body[data-style-profile="apple-reloaded"] a.menu-item[href="/admin/brand-preflight"]::before {
  content: "🚀";
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/web-content"]) h1.ui-heading-1 > span:first-child::before {
  content: "🖼️";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/customer-contact"]) h1.ui-heading-1 > span:first-child::before {
  content: "💬";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/online-assistant"]) h1.ui-heading-1 > span:first-child::before {
  content: "🌿";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/review-kit"]) h1.ui-heading-1 > span:first-child::before {
  content: "✅";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/meta-ppc/creatives"]) h1.ui-heading-1 > span:first-child::before {
  content: "🎯";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/meta-ppc/overview"]) h1.ui-heading-1 > span:first-child::before {
  content: "📊";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/meta-ppc/context"]) h1.ui-heading-1 > span:first-child::before {
  content: "🧭";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/marketing-emails"]) h1.ui-heading-1 > span:first-child::before {
  content: "📨";
  margin-right: 0.3em;
  font-weight: 400;
}
body[data-style-profile="apple-reloaded"]:has(a.menu-item-active[href="/admin/brand-preflight"]) h1.ui-heading-1 > span:first-child::before {
  content: "🚀";
  margin-right: 0.3em;
  font-weight: 400;
}
