

html[data-theme="editorial"] body {
  background: var(--na-bg) !important;
  background-image: none !important;
  color: var(--na-text);
}

html[data-theme="editorial"] body::before {
  display: none;
}

html[data-theme="editorial"] .topbar,
html[data-theme="editorial"] .card,
html[data-theme="editorial"] .member-side .card,
html[data-theme="editorial"] .auth-card,
html[data-theme="editorial"] .side-nav,
html[data-theme="editorial"] .side-drawer,
html[data-theme="editorial"] .side-fab,
html[data-theme="editorial"] .side-mask,
html[data-theme="editorial"] .side-drawer-head,
html[data-theme="editorial"] .notify-panel,
html[data-theme="editorial"] .modal,
html[data-theme="editorial"] .legal-modal,
html[data-theme="editorial"] .notice-modal,
html[data-theme="editorial"] .modal-mask,
html[data-theme="editorial"] .theme-sheet,
html[data-theme="editorial"] .theme-sheet-mask,
html[data-theme="editorial"] .dock-bar,
html[data-theme="editorial"] .topbar-notice,
html[data-theme="editorial"] .contact-qr,
html[data-theme="editorial"] .qr-lightbox {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html[data-theme="editorial"] .card,
html[data-theme="editorial"] .member-side .card,
html[data-theme="editorial"] .auth-card,
html[data-theme="editorial"] .notify-panel,
html[data-theme="editorial"] .theme-sheet,
html[data-theme="editorial"] .modal,
html[data-theme="editorial"] .legal-modal,
html[data-theme="editorial"] .notice-modal,
html[data-theme="editorial"] .side-drawer {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  box-shadow: var(--na-shadow-xs);
}

html[data-theme="editorial"] .auth-card {
  border-radius: var(--na-radius-xl);
  box-shadow: var(--na-shadow-md);
}

html[data-theme="editorial"] .modal,
html[data-theme="editorial"] .legal-modal,
html[data-theme="editorial"] .notice-modal,
html[data-theme="editorial"] .theme-sheet,
html[data-theme="editorial"] .notify-panel {
  border-radius: var(--na-radius-xl);
  box-shadow: var(--na-shadow-lg);
}

html[data-theme="editorial"] .side-nav {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  box-shadow: var(--na-shadow-xs);
}

html[data-theme="editorial"] .dock-bar {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  box-shadow: var(--na-shadow-lg);
}

html[data-theme="editorial"] .side-drawer {
  border-right: 1px solid var(--na-border-soft);
  box-shadow: var(--na-shadow-lg);
}

html[data-theme="editorial"] .side-drawer-head,
html[data-theme="editorial"] .side-drawer-foot,
html[data-theme="editorial"] .theme-sheet-head,
html[data-theme="editorial"] .theme-sheet-foot,
html[data-theme="editorial"] .notify-head,
html[data-theme="editorial"] .notify-foot,
html[data-theme="editorial"] .modal-head,
html[data-theme="editorial"] .modal-foot {
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .stat,
html[data-theme="editorial"] .token-box,
html[data-theme="editorial"] .device-row,
html[data-theme="editorial"] .group-card,
html[data-theme="editorial"] .contact-card,
html[data-theme="editorial"] .purchase-bar,
html[data-theme="editorial"] .feedback-item,
html[data-theme="editorial"] .icon-card,
html[data-theme="editorial"] .app-card,
html[data-theme="editorial"] .source-hero,
html[data-theme="editorial"] .source-update-card,
html[data-theme="editorial"] .icons-guide,
html[data-theme="editorial"] .icons-active,
html[data-theme="editorial"] .icon-editor-panel,
html[data-theme="editorial"] .icon-preview-card,
html[data-theme="editorial"] .icon-group-choice,
html[data-theme="editorial"] .icon-template-btn,
html[data-theme="editorial"] .device-delete-modal,
html[data-theme="editorial"] .profile-avatar,
html[data-theme="editorial"] .topbar-notice {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
  box-shadow: none;
}

html[data-theme="editorial"] .profile-avatar,
html[data-theme="editorial"] .avatar-preview {
  border-style: solid;
}

html[data-theme="editorial"] .perm-list,
html[data-theme="editorial"] .user-meta,
html[data-theme="editorial"] .auth-links,
html[data-theme="editorial"] .pager,
html[data-theme="editorial"] .notice,
html[data-theme="editorial"] .msg-item,
html[data-theme="editorial"] .profile-avatar,
html[data-theme="editorial"] .avatar-preview {
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .brand-text strong,
html[data-theme="editorial"] .auth-head h1,
html[data-theme="editorial"] .card-title h2,
html[data-theme="editorial"] .user-line h2,
html[data-theme="editorial"] .user-hero-name,
html[data-theme="editorial"] .stat-value,
html[data-theme="editorial"] .not-found h1,
html[data-theme="editorial"] .maintenance-card h1,
html[data-theme="editorial"] .modal h3,
html[data-theme="editorial"] .modal-head h3,
html[data-theme="editorial"] .notice-modal-title,
html[data-theme="editorial"] .theme-sheet-title,
html[data-theme="editorial"] .icons-guide h1,
html[data-theme="editorial"] .icon-plaza-head h1,
html[data-theme="editorial"] .icon-editor-head h1,
html[data-theme="editorial"] .apps-hero h1,
html[data-theme="editorial"] .apps-hero-stats strong,
html[data-theme="editorial"] .source-hero-name,
html[data-theme="editorial"] .group-card-head h3,
html[data-theme="editorial"] .contact-title strong,
html[data-theme="editorial"] .icon-card-name {
  font-family: var(--na-font-display);
  letter-spacing: 0;
}

html[data-theme="editorial"] .auth-head h1,
html[data-theme="editorial"] .stat-value,
html[data-theme="editorial"] .apps-hero-stats strong,
html[data-theme="editorial"] .not-found h1 {
  font-weight: var(--na-weight-regular);
}

html[data-theme="editorial"] .brand-text strong,
html[data-theme="editorial"] .user-line h2,
html[data-theme="editorial"] .user-hero-name {
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .card-title h2,
html[data-theme="editorial"] .modal-head h3,
html[data-theme="editorial"] .modal h3,
html[data-theme="editorial"] .theme-sheet-title,
html[data-theme="editorial"] .notice-modal-title {
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .eyebrow {
  color: var(--na-gold);
  font-weight: var(--na-weight-medium);
  letter-spacing: var(--na-tracking-caps);
}

html[data-theme="editorial"] .auth-head .eyebrow {
  color: var(--na-danger);
}

html[data-theme="editorial"] .meta-label,
html[data-theme="editorial"] .stat-label,
html[data-theme="editorial"] .section-title,
html[data-theme="editorial"] .theme-section-title {
  letter-spacing: var(--na-tracking-caps);
}

html[data-theme="editorial"] .stat-value,
html[data-theme="editorial"] .apps-hero-stats strong,
html[data-theme="editorial"] .meta-item strong,
html[data-theme="editorial"] .msg-time,
html[data-theme="editorial"] .notice-head .muted,
html[data-theme="editorial"] .notice-head .small,
html[data-theme="editorial"] .device-meta,
html[data-theme="editorial"] .device-ua,
html[data-theme="editorial"] .pager,
html[data-theme="editorial"] .group-meta strong,
html[data-theme="editorial"] .token-value,
html[data-theme="editorial"] .feedback-time,
html[data-theme="editorial"] .icon-card-sub,
html[data-theme="editorial"] .icon-like-btn {
  font-variant-numeric: tabular-nums;
}

html[data-theme="editorial"] .stat-value {
  color: var(--na-text);
}

html[data-theme="editorial"] .topbar {
  background: var(--na-surface);
  border-bottom: 1px solid var(--na-border-soft);
  box-shadow: none;
}

html[data-theme="editorial"] .brand-text strong {
  color: var(--na-text);
}

html[data-theme="editorial"] .brand-text small {
  color: var(--na-muted);
  letter-spacing: var(--na-tracking-wide);
}

html[data-theme="editorial"] .topnav a,
html[data-theme="editorial"] .topnav .linkish {
  border-radius: var(--na-radius-sm);
  color: var(--text-soft);
}

html[data-theme="editorial"] .topnav a:hover,
html[data-theme="editorial"] .topnav .linkish:hover,
html[data-theme="editorial"] .topbar .icon-link:hover,
html[data-theme="editorial"] .topnav .icon-link:hover,
html[data-theme="editorial"] .theme-trigger[aria-expanded="true"] {
  background: var(--na-surface-soft);
  color: var(--na-primary);
}

html[data-theme="editorial"] .topnav a.active {
  background: transparent;
  color: var(--na-primary);
  box-shadow: inset 0 -2px 0 var(--na-danger);
  border-radius: 0;
}

html[data-theme="editorial"] .notify-dot {
  background: var(--na-danger);
  color: var(--na-primary-ink);
  box-shadow: none;
}

html[data-theme="editorial"] .topbar-notice {
  border: 1px solid var(--na-border-soft);
  border-left: 2px solid var(--na-danger);
  border-radius: var(--na-radius-sm);
}

html[data-theme="editorial"] .topbar-notice-icon {
  color: var(--na-danger);
}

html[data-theme="editorial"] .side-nav a {
  color: var(--text-soft);
  border-radius: var(--na-radius-sm);
}

html[data-theme="editorial"] .side-nav a:hover {
  color: var(--na-primary);
  background: var(--na-primary-soft);
}

html[data-theme="editorial"] .side-nav a.active {
  color: var(--na-primary);
  background: var(--na-primary-soft);
  font-weight: var(--na-weight-medium);
  box-shadow: inset 2px 0 0 var(--na-primary);
}

@media (max-width: 960px) {
  html[data-theme="editorial"] .side-nav a.active {
    box-shadow: inset 0 -2px 0 var(--na-primary);
    border-radius: var(--na-radius-sm) var(--na-radius-sm) 0 0;
  }
}

html[data-theme="editorial"] .side-drawer {
  background: var(--na-surface);
}

html[data-theme="editorial"] .side-drawer-head {
  background: transparent;
}

html[data-theme="editorial"] .side-drawer-item {
  border-radius: var(--na-radius-sm);
  color: var(--text-soft);
}

html[data-theme="editorial"] .side-drawer-item:hover {
  color: var(--na-primary);
  background: var(--na-primary-soft);
}

html[data-theme="editorial"] .side-drawer-item.active {
  color: var(--na-primary);
  background: var(--na-primary-soft);
  font-weight: var(--na-weight-medium);
  box-shadow: inset 2px 0 0 var(--na-primary);
}

html[data-theme="editorial"] .side-fab {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  color: var(--na-primary);
  box-shadow: var(--na-shadow-md);
}

html[data-theme="editorial"] .side-fab:hover {
  background: var(--na-surface-soft);
  transform: none;
}

html[data-theme="editorial"] .side-fab.open {
  background: var(--na-primary);
  border-color: transparent;
  color: var(--na-primary-ink);
}

html[data-theme="editorial"] .side-mask,
html[data-theme="editorial"] .theme-sheet-mask {
  background: rgba(33, 29, 24, 0.42);
}

html[data-theme="editorial"] .dock-item {
  color: var(--na-muted);
  border-radius: var(--na-radius-sm);
}

html[data-theme="editorial"] .dock-item:hover {
  color: var(--na-primary);
}

html[data-theme="editorial"] .dock-item.active {
  background: var(--na-surface-soft);
  color: var(--na-primary);
}

html[data-theme="editorial"] .dock-item.active .dock-icon {
  transform: none;
}

html[data-theme="editorial"] .dock-item.active .dock-label {
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .auth-card {
  background: var(--na-surface);
}

html[data-theme="editorial"] .auth-head {
  margin-bottom: var(--na-space-5);
  padding-bottom: var(--na-space-4);
  border-bottom: 1px solid var(--na-border-soft);
}

html[data-theme="editorial"] .auth-head h1 {
  font-size: var(--na-text-3xl);
  line-height: var(--na-lh-tight);
}

html[data-theme="editorial"] .auth-head p {
  color: var(--na-muted);
}

html[data-theme="editorial"] .auth-head .eyebrow {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

html[data-theme="editorial"] .auth-head .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: var(--na-space-6);
  height: 2px;
  background: var(--na-danger);
  opacity: 0.85;
}

html[data-theme="editorial"] .auth-links {
  color: var(--na-muted);
  border-top: 1px solid var(--na-border-soft);
}

html[data-theme="editorial"] .auth-links a {
  color: var(--na-primary);
}

html[data-theme="editorial"] .input,
html[data-theme="editorial"] .apps-search,
html[data-theme="editorial"] .icon-code,
html[data-theme="editorial"] .altcha-insecure button {
  background: var(--na-surface);
  border-color: var(--na-border);
  box-shadow: none;
}

html[data-theme="editorial"] .input:focus,
html[data-theme="editorial"] .icon-code:focus {
  background: var(--na-surface);
  border-color: rgba(var(--na-primary-rgb), 0.55);
  box-shadow: 0 0 0 3px rgba(var(--na-primary-rgb), 0.12);
}

html[data-theme="editorial"] .input::placeholder {
  color: rgba(var(--na-muted-rgb), 0.7);
}

html[data-theme="editorial"] .btn {
  background: var(--na-surface);
  border-color: var(--na-border);
  color: var(--na-primary);
  box-shadow: none;
}

html[data-theme="editorial"] .btn:hover:not(:disabled) {
  background: var(--na-surface-soft);
  border-color: rgba(var(--na-primary-rgb), 0.4);
}

html[data-theme="editorial"] .btn-primary {
  background: var(--na-primary);
  background-image: none;
  border-color: var(--na-primary);
  color: var(--na-primary-ink);
  box-shadow: none;
}

html[data-theme="editorial"] .btn-primary:hover:not(:disabled) {
  background: var(--na-primary-dark);
  border-color: var(--na-primary-dark);
  filter: none;
}

html[data-theme="editorial"] .btn-ghost {
  background: transparent;
  border-color: transparent;
  color: var(--text-soft);
}

html[data-theme="editorial"] .btn-ghost:hover:not(:disabled) {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
  color: var(--na-primary);
}

html[data-theme="editorial"] .btn-danger {
  background: var(--na-danger-soft);
  border-color: var(--na-danger);
  color: var(--na-danger);
}

html[data-theme="editorial"] .btn-danger:hover:not(:disabled) {
  background: var(--na-danger-soft);
  border-color: var(--na-danger);
}

html[data-theme="editorial"] .btn:active:not(:disabled) {
  transform: scale(0.985);
}

html[data-theme="editorial"] .btn:disabled {
  opacity: 0.45;
}

html[data-theme="editorial"] .check-line input[type="checkbox"] {
  accent-color: var(--na-primary);
}

html[data-theme="editorial"] .stat {
  border: 1px solid var(--na-border-soft);
  border-radius: var(--na-radius-md);
}

html[data-theme="editorial"] .stat-value {
  font-size: var(--na-text-3xl);
  line-height: var(--na-lh-tight);
}

html[data-theme="editorial"] .token-box {
  border: 1px solid var(--na-border-soft);
}

html[data-theme="editorial"] .token-value {
  color: var(--na-text);
}

html[data-theme="editorial"] .notice,
html[data-theme="editorial"] .msg-item {
  border-bottom-color: var(--na-border-soft);
}

html[data-theme="editorial"] .msg-dot {
  background: var(--na-danger);
  box-shadow: none;
}

html[data-theme="editorial"] .msg-unread .msg-head strong {
  color: var(--na-text);
}

html[data-theme="editorial"] .empty {
  color: var(--na-muted);
}

html[data-theme="editorial"] .empty::before {
  content: "";
  display: block;
  width: var(--na-space-6);
  height: 2px;
  margin-bottom: var(--na-space-2);
  border-radius: var(--na-radius-xs);
  background: var(--na-gold);
  opacity: 0.8;
}

html[data-theme="editorial"] .notify-empty,
html[data-theme="editorial"] .icons-empty,
html[data-theme="editorial"] .svg-icon-empty {
  color: var(--na-muted);
}

html[data-theme="editorial"] .notify-empty::before {
  content: "";
  display: block;
  width: var(--na-space-5);
  height: 2px;
  margin: 0 auto var(--na-space-2);
  background: var(--na-gold);
  opacity: 0.8;
}

html[data-theme="editorial"] .notify-panel {
  background: var(--na-surface);
}

html[data-theme="editorial"] .notify-head strong,
html[data-theme="editorial"] .notify-item-title {
  color: var(--na-text);
}

html[data-theme="editorial"] .notify-item:hover {
  background: var(--na-surface-soft);
}

html[data-theme="editorial"] .notify-item.unread .notify-item-title::before {
  color: var(--na-danger);
}

html[data-theme="editorial"] .notify-item.unread {
  background: var(--na-primary-soft);
}

html[data-theme="editorial"] .notify-all,
html[data-theme="editorial"] .notify-foot {
  color: var(--na-primary);
}

html[data-theme="editorial"] .modal-mask {
  background: rgba(33, 29, 24, 0.42);
}

html[data-theme="editorial"] .modal,
html[data-theme="editorial"] .legal-modal,
html[data-theme="editorial"] .notice-modal {
  background: var(--na-surface);
}

html[data-theme="editorial"] .modal-close {
  border: 1px solid var(--na-border-soft);
  color: var(--na-muted);
}

html[data-theme="editorial"] .modal-close:hover {
  color: var(--na-primary);
  background: var(--na-surface-soft);
}

html[data-theme="editorial"] .notice-modal-icon {
  background: var(--na-gold-soft);
  color: var(--na-gold);
}

html[data-theme="editorial"] .theme-sheet {
  background: var(--na-surface);
}

html[data-theme="editorial"] .theme-sheet-title {
  font-size: var(--na-text-lg);
}

html[data-theme="editorial"] .theme-sheet-title i {
  color: var(--na-gold);
}

html[data-theme="editorial"] .theme-section-title {
  color: var(--na-muted);
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .theme-swatch,
html[data-theme="editorial"] .theme-layout,
html[data-theme="editorial"] .theme-mode-opt {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
  border-radius: var(--na-radius-sm);
  box-shadow: none;
}

html[data-theme="editorial"] .theme-swatch:hover,
html[data-theme="editorial"] .theme-layout:hover {
  transform: none;
  border-color: rgba(var(--na-primary-rgb), 0.4);
}

html[data-theme="editorial"] .theme-swatch.active,
html[data-theme="editorial"] .theme-layout.active,
html[data-theme="editorial"] .theme-mode-opt.active {
  background: var(--na-primary-soft);
  border-color: var(--na-primary);
  color: var(--na-primary);
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .theme-layout-name {
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .theme-sheet-foot {
  background: transparent;
}

html[data-theme="editorial"] .toast {
  background: var(--na-text);
  color: var(--na-bg);
  box-shadow: var(--na-shadow-lg);
}

html[data-theme="editorial"] .toast-success {
  background: var(--na-success);
}

html[data-theme="editorial"] .toast-error {
  background: var(--na-danger);
}

html[data-theme="editorial"] .toast-warning {
  background: var(--na-warning);
}

html[data-theme="editorial"] .qr-lightbox {
  background: rgba(33, 29, 24, 0.78);
}

html[data-theme="editorial"] .qr-lightbox img {
  border: 1px solid var(--na-border-soft);
}

html[data-theme="editorial"] .contact-qr {
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .source-tab,
html[data-theme="editorial"] .source-platform-tab,
html[data-theme="editorial"] .icon-sort-tab,
html[data-theme="editorial"] .feedback-tab,
html[data-theme="editorial"] .apps-filter-chip,
html[data-theme="editorial"] .source-chip {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
  box-shadow: none;
}

html[data-theme="editorial"] .source-tab.active,
html[data-theme="editorial"] .source-platform-tab.active,
html[data-theme="editorial"] .icon-sort-tab.active,
html[data-theme="editorial"] .feedback-tab.active,
html[data-theme="editorial"] .apps-filter-chip.active {
  background: var(--na-primary-soft);
  border-color: var(--na-primary);
  color: var(--na-primary);
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"] .source-chip.exclusive {
  background: var(--na-gold-soft);
  border-color: var(--na-gold);
  color: var(--na-gold);
}

html[data-theme="editorial"] .icons-group-chip,
html[data-theme="editorial"] .icon-group-choice {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .icons-group-chip.active,
html[data-theme="editorial"] .icon-group-choice.active {
  background: var(--na-primary-soft);
  border-color: var(--na-primary);
  color: var(--na-primary);
}

html[data-theme="editorial"] .icon-card.is-active,
html[data-theme="editorial"] .group-card.current {
  border-color: var(--na-primary);
  box-shadow: none;
}

html[data-theme="editorial"] .icon-card-preview,
html[data-theme="editorial"] .icon-modal-preview,
html[data-theme="editorial"] .icon-preview-stage,
html[data-theme="editorial"] .icon-active-preview,
html[data-theme="editorial"] .icons-active-preview {
  background: var(--na-surface);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .icon-code {
  background: var(--na-surface);
  border-color: var(--na-border);
}

html[data-theme="editorial"] .icon-modal-code {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .icon-preview-status .error,
html[data-theme="editorial"] .icon-code-meta .error,
html[data-theme="editorial"] .form-error {
  color: var(--na-danger);
}

html[data-theme="editorial"] .icon-color-swatch,
html[data-theme="editorial"] .icon-color-dot {
  border-color: var(--na-border);
}

html[data-theme="editorial"] .apps-search {
  background: var(--na-surface);
}

html[data-theme="editorial"] .source-update-list li,
html[data-theme="editorial"] .source-history-item {
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .source-hero {
  background: var(--na-surface-soft);
}

html[data-theme="editorial"] .feedback-status {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  color: var(--na-muted);
}

html[data-theme="editorial"] .feedback-status-0 {
  color: var(--na-warning);
}

html[data-theme="editorial"] .feedback-status-1 {
  color: var(--na-success);
}

html[data-theme="editorial"] .device-delete-mask {
  background: rgba(33, 29, 24, 0.42);
}

html[data-theme="editorial"] .device-delete-modal,
html[data-theme="editorial"] .device-delete-modal .modal-head,
html[data-theme="editorial"] .device-delete-modal .modal-body,
html[data-theme="editorial"] .device-delete-modal .modal-foot {
  background: var(--na-surface);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"] .device-delete-modal .modal-head h2,
html[data-theme="editorial"] .device-delete-modal .modal-body p {
  color: var(--na-text) !important;
}

html[data-theme="editorial"] .device-delete-modal .modal-head h2 {
  font-family: var(--na-font-display);
  font-weight: var(--na-weight-medium);
}

html[data-theme="editorial"][data-mode="dark"] body {
  background: var(--na-bg) !important;
}

html[data-theme="editorial"][data-mode="dark"] .card,
html[data-theme="editorial"][data-mode="dark"] .member-side .card,
html[data-theme="editorial"][data-mode="dark"] .auth-card,
html[data-theme="editorial"][data-mode="dark"] .side-nav,
html[data-theme="editorial"][data-mode="dark"] .notify-panel,
html[data-theme="editorial"][data-mode="dark"] .modal,
html[data-theme="editorial"][data-mode="dark"] .theme-sheet,
html[data-theme="editorial"][data-mode="dark"] .dock-bar,
html[data-theme="editorial"][data-mode="dark"] .side-drawer {
  background: var(--na-surface);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"][data-mode="dark"] .stat,
html[data-theme="editorial"][data-mode="dark"] .token-box,
html[data-theme="editorial"][data-mode="dark"] .device-row,
html[data-theme="editorial"][data-mode="dark"] .group-card,
html[data-theme="editorial"][data-mode="dark"] .contact-card,
html[data-theme="editorial"][data-mode="dark"] .purchase-bar,
html[data-theme="editorial"][data-mode="dark"] .icon-card,
html[data-theme="editorial"][data-mode="dark"] .app-card,
html[data-theme="editorial"][data-mode="dark"] .theme-swatch,
html[data-theme="editorial"][data-mode="dark"] .theme-layout,
html[data-theme="editorial"][data-mode="dark"] .theme-mode-opt {
  background: var(--na-surface-soft);
  border-color: var(--na-border-soft);
}

html[data-theme="editorial"][data-mode="dark"] .toast {
  background: var(--na-text);
  color: var(--na-bg);
}

@media (prefers-reduced-motion: no-preference) {
  html[data-theme="editorial"] .card,
  html[data-theme="editorial"] .group-card,
  html[data-theme="editorial"] .icon-card,
  html[data-theme="editorial"] .app-card {
    transition: border-color var(--na-duration-fast) var(--na-ease),
      box-shadow var(--na-duration-fast) var(--na-ease);
  }

  html[data-theme="editorial"] .card:hover,
  html[data-theme="editorial"] .group-card:hover,
  html[data-theme="editorial"] .icon-card:hover,
  html[data-theme="editorial"] .app-card:hover {
    box-shadow: var(--na-shadow-sm);
  }
}

@media (max-width: 640px) {
  html[data-theme="editorial"] .theme-sheet {
    border-radius: var(--na-radius-xl) var(--na-radius-xl) 0 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
  }
}

html[data-theme="editorial"] .maintenance-card,
html[data-theme="editorial"] .not-found {
  background: var(--na-surface);
  border: 1px solid var(--na-border-soft);
  box-shadow: var(--na-shadow-md);
}

html[data-theme="editorial"] .maintenance-card h1,
html[data-theme="editorial"] .not-found h1 {
  color: var(--na-text);
  font-family: var(--na-font-display);
  font-weight: var(--na-weight-regular);
}

html[data-theme="editorial"] .maintenance-icon {
  color: var(--na-gold);
}
