/*
 * Noesia Smart Waiter - admin shell CSS
 * Global strip-down after module isolation.
 *
 * Kept here:
 * - Shell/layout primitives
 * - Sidebar, topbar, nav cards, menu manager
 * - Shared cards/forms/buttons/modals
 * - Minimal-theme contrast fixes
 *
 * Removed from global shell CSS:
 * - Weather-specific view rules
 * - News-specific view rules
 * - Appointments-specific view rules
 * - Reminders-specific view rules
 * - Calculator/BMI-specific view rules (except minimal-theme contrast fixes added below)
 * - QR/docs/preview/design section-specific rules
 */

.noesia-swa-admin-wrap {
    --noesia-swa-bg: #f5f5f5;
    --noesia-swa-surface: #ffffff;
    --noesia-swa-surface-2: #f3f3f3;
    --noesia-swa-border: #d9d9d9;
    --noesia-swa-text: #101010;
    --noesia-swa-text-soft: #4a4a4a;
    --noesia-swa-text-muted: #777777;
    --noesia-swa-accent: #101010;
    --noesia-swa-accent-2: #2a2a2a;
    --noesia-swa-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --noesia-swa-radius: 18px;
    --noesia-swa-card-radius: 20px;
    --noesia-swa-sidebar-width: 312px;
    --noesia-swa-topbar-height: 78px;
    --noesia-swa-btn-bg: #ffffff;
    --noesia-swa-btn-border: #d7d7d7;
    --noesia-swa-btn-hover: #ececec;
    --noesia-swa-pill-bg: #efefef;
    --noesia-swa-blue: #1f4ab8;
    --noesia-swa-green: #2c9a4b;
    --noesia-swa-red: #c53f3f;
    --noesia-swa-trans: 0.22s ease;
    color: var(--noesia-swa-text);
    background: var(--noesia-swa-bg);
}

.noesia-swa-admin-wrap.noesia-swa-theme-default,
.noesia-swa-admin-wrap.noesia-swa-theme-ciel {
    --noesia-swa-bg: #f5f5f5;
    --noesia-swa-surface: #ffffff;
    --noesia-swa-surface-2: #f3f3f3;
    --noesia-swa-border: #d9d9d9;
    --noesia-swa-text: #101010;
    --noesia-swa-text-soft: #4a4a4a;
    --noesia-swa-text-muted: #777777;
    --noesia-swa-accent: #101010;
    --noesia-swa-accent-2: #2a2a2a;
    --noesia-swa-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    --noesia-swa-btn-bg: #ffffff;
    --noesia-swa-btn-border: #d7d7d7;
    --noesia-swa-btn-hover: #ececec;
    --noesia-swa-pill-bg: #efefef;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark {
    --noesia-swa-bg: #181818;
    --noesia-swa-surface: #202020;
    --noesia-swa-surface-2: #292929;
    --noesia-swa-border: #383838;
    --noesia-swa-text: #f8f8f8;
    --noesia-swa-text-soft: #dddddd;
    --noesia-swa-text-muted: #bbbbbb;
    --noesia-swa-accent: #ffffff;
    --noesia-swa-accent-2: #ededed;
    --noesia-swa-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
    --noesia-swa-btn-bg: #252525;
    --noesia-swa-btn-border: #3f3f3f;
    --noesia-swa-btn-hover: #2f2f2f;
    --noesia-swa-pill-bg: #242424;
}

.noesia-swa-admin-wrap.noesia-swa-theme-black,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal {
    --noesia-swa-bg: #000000;
    --noesia-swa-surface: #101010;
    --noesia-swa-surface-2: #171717;
    --noesia-swa-border: #2f2f2f;
    --noesia-swa-text: #ffffff;
    --noesia-swa-text-soft: #eeeeee;
    --noesia-swa-text-muted: #c1c1c1;
    --noesia-swa-accent: #ffffff;
    --noesia-swa-accent-2: #f1f1f1;
    --noesia-swa-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
    --noesia-swa-btn-bg: #181818;
    --noesia-swa-btn-border: #313131;
    --noesia-swa-btn-hover: #202020;
    --noesia-swa-pill-bg: #181818;
}

body.toplevel_page_noesia_swa_settings #adminmenumain,
body.toplevel_page_noesia_swa_settings #wpadminbar,
body.toplevel_page_noesia_swa_settings #wpfooter,
body.toplevel_page_noesia_swa_settings #screen-meta-links,
body.toplevel_page_noesia_swa_settings .notice,
body.toplevel_page_noesia_swa_settings .update-nag {
    display: none !important;
}

body.toplevel_page_noesia_swa_settings #wpcontent,
body.toplevel_page_noesia_swa_settings #wpfooter,
body.toplevel_page_noesia_swa_settings #wpbody-content {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.toplevel_page_noesia_swa_settings #wpbody-content {
    padding-bottom: 0 !important;
}

body.toplevel_page_noesia_swa_settings #wpbody {
    background: #f5f5f5;
}

.noesia-swa-admin-wrap {
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--noesia-swa-sidebar-width) minmax(0, 1fr);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.noesia-swa-admin-wrap *,
.noesia-swa-admin-wrap *::before,
.noesia-swa-admin-wrap *::after {
    box-sizing: border-box;
}

.noesia-swa-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 18px 16px 16px;
    background: var(--noesia-swa-surface);
    border-right: 1px solid var(--noesia-swa-border);
    box-shadow: inset -1px 0 0 var(--noesia-swa-border);
}

.noesia-swa-main {
    min-width: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--noesia-swa-bg);
}

.noesia-swa-admin-wrap {
    --noesia-swa-quick-dock-safe-space: 0px;
}

.noesia-swa-admin-wrap.noesia-swa-has-quick-dock-open {
    --noesia-swa-quick-dock-safe-space: clamp(88px, 10vh, 104px);
}

.noesia-swa-admin-wrap.noesia-swa-has-quick-dock-open.noesia-swa-quick-dock-autohide {
    --noesia-swa-quick-dock-safe-space: 28px;
}

.noesia-swa-admin-wrap.noesia-swa-has-quick-dock-open .noesia-swa-content {
    padding-bottom: calc(20px + var(--noesia-swa-quick-dock-safe-space));
}

.noesia-swa-admin-wrap.noesia-swa-has-quick-dock-open .noesia-swa-section-panel {
    height: calc(100vh - var(--noesia-swa-topbar-height) - 40px - var(--noesia-swa-quick-dock-safe-space));
}


.noesia-swa-sidebar-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    padding: 0;
    gap: 0;
}

.noesia-swa-sidebar-collapse,
.noesia-swa-icon-btn {
    width: 42px;
    min-width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--noesia-swa-btn-border);
    background: var(--noesia-swa-btn-bg);
    color: var(--noesia-swa-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--noesia-swa-trans), background var(--noesia-swa-trans), border-color var(--noesia-swa-trans);
    text-decoration: none;
    padding: 0;
    box-shadow: none;
}

.noesia-swa-sidebar-collapse:hover,
.noesia-swa-icon-btn:hover {
    background: var(--noesia-swa-btn-hover);
    border-color: var(--noesia-swa-accent);
}

.noesia-swa-sidebar-collapse:focus,
.noesia-swa-icon-btn:focus {
    outline: 2px solid var(--noesia-swa-blue);
    outline-offset: 2px;
}

.noesia-swa-sidebar-collapse .dashicons,
.noesia-swa-icon-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 18px;
}


.noesia-swa-brand-title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--noesia-swa-text);
}

.noesia-swa-brand-subtitle {
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-theme-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 18px;
    margin: 0;
    padding: 0;
}

.noesia-swa-theme-dot {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    flex: 0 0 16px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
    background-clip: padding-box;
    line-height: 0;
    font-size: 0;
}

.noesia-swa-theme-dot[data-noesia-swa-theme="default"] {
    background: linear-gradient(135deg, #ffffff 50%, #111111 50%);
}

.noesia-swa-theme-dot[data-noesia-swa-theme="dark"] {
    background: linear-gradient(135deg, #2a2a2a 50%, #f8f8f8 50%);
}

.noesia-swa-theme-dot[data-noesia-swa-theme="black"] {
    background: linear-gradient(135deg, #000000 50%, #ffffff 50%);
}

.noesia-swa-theme-dot[data-noesia-swa-theme="ciel"] {
    background: linear-gradient(135deg, #dfe7ff 50%, #111111 50%);
}

.noesia-swa-theme-dot[data-noesia-swa-theme="minimal"] {
    background: linear-gradient(135deg, #f5f5f5 50%, #0b0b0b 50%);
}

.noesia-swa-theme-dot.is-active {
    border-color: var(--noesia-swa-accent);
    transform: scale(1.1);
}

.noesia-swa-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow-y: auto;
    padding-right: 2px;
}

.noesia-swa-nav-card {
    min-height: 88px;
    border: 1px solid var(--noesia-swa-btn-border);
    border-radius: 18px;
    background: var(--noesia-swa-btn-bg);
    color: var(--noesia-swa-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.2;
    transition: transform var(--noesia-swa-trans), background var(--noesia-swa-trans), border-color var(--noesia-swa-trans), box-shadow var(--noesia-swa-trans);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.noesia-swa-nav-card:hover {
    background: var(--noesia-swa-btn-hover);
    border-color: var(--noesia-swa-accent);
    transform: translateY(-2px);
}

.noesia-swa-nav-card.is-active {
    border-color: var(--noesia-swa-accent);
    background: linear-gradient(180deg, var(--noesia-swa-surface-2), var(--noesia-swa-btn-bg));
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
}

.noesia-swa-nav-emoji {
    font-size: 18px;
    line-height: 1;
}

.noesia-swa-nav-title {
    font-size: 12px;
}

.noesia-swa-nav-sub {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--noesia-swa-text-muted);
    line-height: 1.25;
}

.noesia-swa-sidebar-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 8px;
}

.noesia-swa-sidebar-footer strong {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--noesia-swa-text);
}

.noesia-swa-sidebar-footer span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    min-height: var(--noesia-swa-topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    background: color-mix(in srgb, var(--noesia-swa-surface) 92%, transparent);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--noesia-swa-border);
}

.noesia-swa-topbar-left,
.noesia-swa-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.noesia-swa-section-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.noesia-swa-section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--noesia-swa-text-muted);
}

#noesia-swa-current-section {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--noesia-swa-text);
    white-space: nowrap;
}

.noesia-swa-topbar .button,
.noesia-swa-topbar a.button,
.noesia-swa-topbar .button.button-primary {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 1px solid var(--noesia-swa-btn-border) !important;
    background: var(--noesia-swa-btn-bg) !important;
    color: var(--noesia-swa-text) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: none !important;
}
.noesia-swa-topbar .button .dashicons,
.noesia-swa-topbar a.button .dashicons,
.noesia-swa-topbar .button.button-primary .dashicons,
.noesia-swa-topbar .noesia-swa-icon-btn .dashicons {
    color: currentColor !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}
.noesia-swa-topbar .button:hover,
.noesia-swa-topbar a.button:hover,
.noesia-swa-topbar .button.button-primary:hover {
    background: var(--noesia-swa-btn-hover) !important;
    border-color: var(--noesia-swa-accent) !important;
}

.noesia-swa-active-pill {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-pill-bg);
    color: var(--noesia-swa-text);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.noesia-swa-active-pill.has-active {
    border-color: rgba(44, 154, 75, 0.45);
    box-shadow: inset 0 0 0 1px rgba(44, 154, 75, 0.14);
}

.noesia-swa-bookmarks {
    position: relative;
}

.noesia-swa-bookmarks > summary {
    list-style: none;
}

.noesia-swa-bookmarks > summary::-webkit-details-marker {
    display: none;
}

.noesia-swa-bookmarks-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 70;
    width: min(520px, 80vw);
    padding: 12px;
    border-radius: 18px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
    box-shadow: var(--noesia-swa-shadow);
    display: none;
}

.noesia-swa-bookmarks[open] .noesia-swa-bookmarks-dropdown {
    display: block;
}

.noesia-swa-bookmarks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.noesia-swa-bookmark-link {
    min-height: 64px;
    border-radius: 14px;
    border: 1px solid var(--noesia-swa-btn-border);
    background: var(--noesia-swa-btn-bg);
    color: var(--noesia-swa-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    font-size: 12px;
    font-weight: 700;
}

.noesia-swa-bookmark-link:hover {
    background: var(--noesia-swa-btn-hover);
    border-color: var(--noesia-swa-accent);
}

.noesia-swa-bookmarks-empty {
    padding: 8px;
    font-size: 13px;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-form-shell {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.noesia-swa-content {
    flex: 1 1 auto;
    min-height: 0;
    padding: 20px;
    overflow: hidden;
}

.noesia-swa-sections {
    min-height: 100%;
}

.noesia-swa-section-panel {
    height: calc(100vh - var(--noesia-swa-topbar-height) - 40px);
    overflow: auto;
    padding-right: 4px;
}

.noesia-swa-section-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.noesia-swa-card,
.noesia-card {
    min-width: 0;
    padding: 18px;
    border-radius: var(--noesia-swa-card-radius);
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
    box-shadow: var(--noesia-swa-shadow);
}

.noesia-swa-card--span2,
.noesia-swa-card--full {
    grid-column: span 2;
}

.noesia-swa-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.noesia-swa-card h1,
.noesia-swa-card h2,
.noesia-swa-card h3,
.noesia-swa-card h4,
.noesia-swa-card h5,
.noesia-swa-card h6,
.noesia-card h1,
.noesia-card h2,
.noesia-card h3,
.noesia-card h4,
.noesia-card h5,
.noesia-card h6,
.noesia-swa-section-title-wrap,
.noesia-swa-brand-block,
.noesia-swa-brand-block h1,
.noesia-swa-brand-block h2,
.noesia-swa-brand-block h3,
.noesia-swa-brand-block h4,
.noesia-swa-brand-block h5,
.noesia-swa-brand-block h6 {
    margin-top: 0;
    color: var(--noesia-swa-text) !important;
}

.noesia-swa-card p,
.noesia-card p {
    color: var(--noesia-swa-text-soft);
}

.noesia-swa-muted,
.noesia-swa-card .description,
.noesia-card .description {
    color: var(--noesia-swa-text-muted) !important;
    font-size: 12px;
}

.noesia-swa-kicker {
    margin-bottom: 8px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-hero-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.noesia-swa-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.noesia-swa-mini-stats {
    display: grid;
    gap: 12px;
}

.noesia-swa-mini-stats > div,
.noesia-swa-status-box,
.noesia-swa-kpi-box,
.noesia-swa-asset-box,
.noesia-swa-note-box,
.noesia-swa-bookmark-card {
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
}

.noesia-swa-mini-stats strong,
.noesia-swa-status-box strong,
.noesia-swa-kpi-box strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: var(--noesia-swa-text-muted);
    text-transform: capitalize;
    letter-spacing: 0.01em;
}

.noesia-swa-mini-stats span,
.noesia-swa-status-box span,
.noesia-swa-kpi-value {
    color: var(--noesia-swa-text);
    font-weight: 700;
}

.noesia-swa-card .form-table,
.noesia-swa-card .form-table th,
.noesia-swa-card .form-table td,
.noesia-card .form-table,
.noesia-card .form-table th,
.noesia-card .form-table td {
    border: 0 !important;
    box-shadow: none !important;
}

.noesia-swa-form-grid {
    display: grid;
    gap: 14px;
}

.noesia-swa-form-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.noesia-swa-form-group {
    margin: 0 0 14px;
}

.noesia-swa-form-group:last-child {
    margin-bottom: 0;
}

.noesia-swa-form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--noesia-swa-text-soft);
}

.noesia-swa-form-group input[type="text"],
.noesia-swa-form-group input[type="url"],
.noesia-swa-form-group input[type="number"],
.noesia-swa-form-group select,
.noesia-swa-form-group textarea,
.noesia-swa-bookmark-card input[type="text"],
.noesia-swa-bookmark-card input[type="url"],
.noesia-swa-bookmark-card select {
    width: 100%;
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
    color: var(--noesia-swa-text);
    box-shadow: none !important;
}

.noesia-swa-form-group input[type="color"] {
    width: 64px;
    height: 40px;
    padding: 2px;
    border-radius: 12px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
}

.noesia-swa-form-group input:focus,
.noesia-swa-form-group select:focus,
.noesia-swa-form-group textarea:focus,
.noesia-swa-bookmark-card input:focus,
.noesia-swa-bookmark-card select:focus {
    border-color: var(--noesia-swa-blue);
    outline: 2px solid rgba(31, 74, 184, 0.16);
    outline-offset: 1px;
}

.noesia-swa-form-group--small {
    max-width: 180px;
}

.noesia-swa-bookmark-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.noesia-swa-inline-actions {
    margin-top: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.noesia-swa-inline-actions .button,
.noesia-swa-card .button,
.noesia-swa-card .button-primary,
.noesia-card .button,
.noesia-card .button-primary {
    min-height: 42px;
    padding: 0 14px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.noesia-swa-admin-wrap [hidden] {
    display: none !important;
}

.noesia-swa-admin-wrap a {
    color: inherit;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed {
    grid-template-columns: 104px minmax(0, 1fr);
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-subtitle,
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-footer span,
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-sub {
    display: none;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-title {
    font-size: 16px;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-grid {
    grid-template-columns: 1fr;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-card {
    min-height: 64px;
    font-size: 11px;
    padding: 10px;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar {
    padding-inline: 0px;
}

@media (max-width: 1180px) {
        .noesia-swa-admin-wrap {
        grid-template-columns: 1fr;
    }

        .noesia-swa-sidebar {
        position: relative;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--noesia-swa-border);
    }

        .noesia-swa-nav-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

        .noesia-swa-section-panel {
        height: auto;
    }
}

@media (max-width: 900px) {
        .noesia-swa-section-grid,
    .noesia-swa-bookmark-grid {
        grid-template-columns: 1fr;
    }

        .noesia-swa-card--span2,
    .noesia-swa-card--full {
        grid-column: span 1;
    }

        .noesia-swa-topbar {
        position: sticky;
        top: 0;
        z-index: 40;
        min-height: 64px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 12px 20px;
        background: color-mix(in srgb, var(--noesia-swa-surface) 92%, transparent);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid var(--noesia-swa-border);
    }

        .noesia-swa-topbar-left,
    .noesia-swa-topbar-right {
        width: 100%;
    }

        .noesia-swa-bookmarks-dropdown {
        width: min(440px, calc(100vw - 40px));
    }

        .noesia-swa-bookmarks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
        .noesia-swa-nav-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .noesia-swa-form-row {
        grid-template-columns: 1fr;
    }

        .noesia-swa-bookmarks-grid {
        grid-template-columns: 1fr;
    }
}

body.toplevel_page_noesia_swa_settings #wpbody-content,
body.toplevel_page_noesia_swa_settings #wpcontent {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.toplevel_page_noesia_swa_settings #wpbody-content > *:first-child {
    margin-top: 0 !important;
}

html.wp-toolbar {
    padding-top: 0 !important;
}

@media screen and (max-width: 782px) {
        html.wp-toolbar {
        padding-top: 0 !important;
    }
}

body.toplevel_page_noesia_swa_settings #wpbody,
body.toplevel_page_noesia_swa_settings #wpcontent,
body.toplevel_page_noesia_swa_settings #wpbody-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.noesia-swa-sidebar-head {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    gap: 0;
    padding: 0;
}


.noesia-swa-theme-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.noesia-swa-theme-dot {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 0;
    font-size: 0;
    background-image: none !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.22);
}

.noesia-swa-theme-dot[data-noesia-swa-theme="default"] {
    background: #ffffff !important;
}

.noesia-swa-theme-dot[data-noesia-swa-theme="dark"] {
    background: #2a2a2a !important;
}

.noesia-swa-theme-dot[data-noesia-swa-theme="black"] {
    background: #000000 !important;
}

.noesia-swa-theme-dot[data-noesia-swa-theme="ciel"] {
    background: #dfe7ff !important;
}

.noesia-swa-theme-dot[data-noesia-swa-theme="minimal"] {
    background: #cfcfcf !important;
}

.noesia-swa-theme-dot.is-active {
    border-color: var(--noesia-swa-accent) !important;
    transform: scale(1.12);
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-theme-dot,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-theme-dot,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-theme-dot {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed {
    grid-template-columns: 140px minmax(0, 1fr);
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-subtitle,
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-footer span {
    display: block !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-sub {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-block {
    padding: 0 42px 0 10px;
    text-align: center;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-title {
    font-size: 14px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    white-space: normal;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-subtitle {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.15;
    letter-spacing: 0.05em;
    white-space: normal;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-footer strong {
    font-size: 10px;
    line-height: 1.15;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-footer span {
    font-size: 9px;
    line-height: 1.1;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-card {
    min-height: 58px;
    padding: 8px;
}

.noesia-swa-admin-wrap.noesia-swa-theme-ciel {
    --noesia-swa-bg: #f1f6ff;
    --noesia-swa-surface: #ffffff;
    --noesia-swa-surface-2: #eaf2ff;
    --noesia-swa-border: #cfdcf6;
    --noesia-swa-text: #0f172a;
    --noesia-swa-text-soft: #334155;
    --noesia-swa-text-muted: #64748b;
    --noesia-swa-accent: #163b74;
    --noesia-swa-accent-2: #274d8a;
    --noesia-swa-shadow: 0 12px 30px rgba(22, 59, 116, 0.10);
    --noesia-swa-btn-bg: #ffffff;
    --noesia-swa-btn-border: #c7d8f7;
    --noesia-swa-btn-hover: #edf4ff;
    --noesia-swa-pill-bg: #edf4ff;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal {
    --noesia-swa-bg: #dddddd;
    --noesia-swa-surface: #f4f4f4;
    --noesia-swa-surface-2: #ebebeb;
    --noesia-swa-border: #bdbdbd;
    --noesia-swa-text: #111111;
    --noesia-swa-text-soft: #3f3f3f;
    --noesia-swa-text-muted: #666666;
    --noesia-swa-accent: #111111;
    --noesia-swa-accent-2: #2a2a2a;
    --noesia-swa-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    --noesia-swa-btn-bg: #f8f8f8;
    --noesia-swa-btn-border: #bdbdbd;
    --noesia-swa-btn-hover: #ededed;
    --noesia-swa-pill-bg: #ececec;
}

.noesia-swa-nav-style-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: -4px;
    margin-bottom: 4px;
}

.noesia-swa-nav-style-btn {
    border: 1px solid var(--noesia-swa-btn-border);
    background: var(--noesia-swa-btn-bg);
    color: var(--noesia-swa-text);
    min-height: 34px;
    padding: 0 14px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--noesia-swa-trans);
}

.noesia-swa-nav-style-btn--icon {
    width: 34px;
    min-width: 34px;
    padding: 0;
}

.noesia-swa-nav-style-btn:hover {
    background: var(--noesia-swa-btn-hover);
    border-color: var(--noesia-swa-accent);
}

.noesia-swa-nav-style-btn.is-active {
    background: color-mix(in srgb, var(--noesia-swa-btn-bg) 84%, #2563eb 16%);
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.14);
}

#noesia-swa-wrapper .noesia-swa-brand-subtitle {
    margin-top: 5px;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--noesia-swa-text-muted);
    text-align: center;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding-top: 10px;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    position: relative !important;
    min-height: 118px !important;
    border-radius: 22px !important;
    padding: 14px 12px !important;
    border: 1px solid var(--noesia-swa-border) !important;
    background: linear-gradient(
        180deg,
        var(--noesia-swa-surface) 0%,
        var(--noesia-swa-surface-2) 100%
    ) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-content: start !important;
    justify-items: start !important;
    gap: 9px !important;
    text-align: left !important;
    box-shadow: var(--noesia-swa-shadow) !important;
    transition: transform var(--noesia-swa-trans),
        border-color var(--noesia-swa-trans),
        box-shadow var(--noesia-swa-trans),
        background var(--noesia-swa-trans) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(37, 99, 235, 0.35) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active {
    background: linear-gradient(
        180deg,
        rgba(37, 99, 235, 0.14) 0%,
        rgba(37, 99, 235, 0.06) 100%
    ) !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.14),
        0 14px 28px rgba(37, 99, 235, 0.14),
        var(--noesia-swa-shadow) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active::after {
    content: "" !important;
    position: absolute !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 3px !important;
    height: 3px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 13px !important;
    display: grid !important;
    place-items: center !important;
    justify-self: start !important;
    font-size: 20px !important;
    line-height: 1 !important;
    background: rgba(37, 99, 235, 0.07) !important;
    border: 1px solid rgba(37, 99, 235, 0.14) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji {
    background: rgba(37, 99, 235, 0.14) !important;
    border-color: rgba(37, 99, 235, 0.42) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title {
    font-size: 15px !important;
    line-height: 1.22 !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    text-align: left !important;
    color: var(--noesia-swa-text) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #999 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub {
    font-size: 9px !important;
    line-height: 1.18 !important;
    text-align: left !important;
    color: var(--noesia-swa-text-muted) !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    min-height: 68px !important;
    padding: 10px !important;
    justify-items: center !important;
    text-align: center !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    justify-self: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    font-size: 16px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub {
    display: none !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card {
    min-height: 78px !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
    border: 1px solid #3f4652 !important;
    background: linear-gradient(180deg, #2f343d 0%, #262b33 100%) !important;
    display: grid !important;
    grid-template-columns: 34px minmax(0, 1fr) !important;
    grid-template-areas: "icon title"
        "icon sub" !important;
    align-items: center !important;
    justify-items: start !important;
    gap: 3px 12px !important;
    text-align: left !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06) !important;
    transition: transform var(--noesia-swa-trans),
        border-color var(--noesia-swa-trans),
        box-shadow var(--noesia-swa-trans) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card:hover {
    transform: translateX(2px) !important;
    border-color: #535c6b !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active {
    background: linear-gradient(180deg, #3a404b 0%, #2f343d 100%) !important;
    border-color: #677386 !important;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset,
        0 12px 22px rgba(0, 0, 0, 0.24) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji {
    grid-area: icon !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
    display: grid !important;
    place-items: center !important;
    align-self: center !important;
    justify-self: center !important;
    font-size: 17px !important;
    line-height: 1 !important;
    background: transparent !important;
    border: 0 !important;
    filter: none !important;
    color: #ffffff !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    grid-area: title !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.12 !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    color: #ffffff !important;
    text-align: left !important;
    align-self: end !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub {
    grid-area: sub !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.12 !important;
    color: rgba(255,255,255,0.74) !important;
    text-align: left !important;
    align-self: start !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-grid {
    grid-template-columns: 1fr !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card {
    grid-template-columns: 1fr !important;
    grid-template-areas: "icon"
        "title" !important;
    justify-items: center !important;
    text-align: center !important;
    min-height: 60px !important;
    padding: 8px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    font-size: 15px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    font-size: 12px !important;
    text-align: center !important;
    color: #ffffff !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub {
    display: none !important;
}

.noesia-swa-admin-wrap[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji .dashicons {
    font-size: 25px !important;
    width: 25px !important;
    height: 25px !important;
    line-height: 25px !important;
}

.noesia-swa-brand-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1 !important;
    font-weight: 1000 !important;
    letter-spacing: 0.20em !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.noesia-swa-brand-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    min-height: 126px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title {
    margin-top: auto !important;
    align-self: flex-end !important;
    text-align: right !important;
    font-size: 12px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
}

.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub {
    align-self: flex-end !important;
    text-align: right !important;
    line-height: 1.14 !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 64px !important;
    padding: 8px !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-title {
    margin-top: 0 !important;
    align-self: center !important;
    text-align: center !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-sub {
    display: none !important;
}

#noesia-swa-wrapper .noesia-swa-brand-title {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 27px !important;
    line-height: 1 !important;
    font-weight: 1000 !important;
    letter-spacing: 0.20em !important;
    text-transform: capitalize !important;
    text-align: center !important;
    letter-spacing: -1px !important;
    color: var(--noesia-swa-text);
}

#noesia-swa-wrapper .noesia-swa-brand-subtitle {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
    font-size: 10px !important;
    line-height: 1.12 !important;
    font-weight: 900 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    text-align: center !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    min-height: 140px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding: 14px 12px !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    align-self: flex-start !important;
    justify-self: auto !important;
    margin: 0 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title {
    margin-top: auto !important;
    width: 100% !important;
    align-self: flex-end !important;
    text-align: right !important;
    font-size: 15px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub {
    width: 100% !important;
    align-self: flex-end !important;
    text-align: right !important;
    line-height: 1.14 !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed .noesia-swa-brand-block {
    padding: 0 25px 0 22px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    z-index: 1000;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 90px !important;
    padding: 8px !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    width: 100% !important;
    margin: 0 !important;
    align-self: center !important;
    text-align: center !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-default .noesia-swa-content {
    background: #ffffff;
}

.noesia-swa-admin-wrap.noesia-swa-theme-default .noesia-swa-content {
    background: #f3f4f6;
}

.noesia-swa-theme-default .noesia-swa-sidebar {
    border-right: 1px solid #f1f6ff !important;
    box-shadow: none !important;
}

.noesia-swa-theme-default .noesia-swa-card,
.noesia-swa-theme-default .noesia-card {
    border: 1px solid #eee !important;
    box-shadow: none !important;
}

.noesia-swa-status-box {
    margin-bottom: 15px !important;
}

.noesia-swa-bookmark-editor {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.noesia-swa-bookmark-row {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,.05);
}

.noesia-swa-bookmark-row .noesia-swa-form-group {
    margin: 0;
}

.noesia-swa-theme-dark .noesia-swa-bookmark-row,
.noesia-swa-theme-black .noesia-swa-bookmark-row {
    background: rgba(255,255,255,.03);
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
}

#noesia-swa-wrapper {
    --noesia-swa-reorder-accent: #ff76aa;
    --noesia-swa-reorder-accent-soft: rgba(255, 118, 170, 0.16);
    --noesia-swa-reorder-accent-strong: rgba(255, 118, 170, 0.28);
    --noesia-swa-reorder-save: #16a34a;
    --noesia-swa-reorder-save-soft: rgba(22, 163, 74, 0.14);
}

.noesia-swa-nav-style-switcher {
    flex-wrap: wrap;
}

.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"],
.noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"] {
    position: relative;
}

.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"]:hover {
    border-color: rgba(255, 118, 170, 0.36);
}

.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"].is-active {
    color: #b4235a;
    border-color: rgba(255, 118, 170, 0.52);
    background: linear-gradient(180deg, rgba(255, 118, 170, 0.14) 0%, rgba(255, 118, 170, 0.06) 100%);
    box-shadow: 0 0 0 1px rgba(255, 118, 170, 0.12),
        0 10px 22px rgba(255, 118, 170, 0.14);
}

.noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"] {
    border-color: rgba(22, 163, 74, 0.22);
}

.noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:hover,
.noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:focus {
    border-color: rgba(22, 163, 74, 0.44);
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.10) 0%, rgba(22, 163, 74, 0.04) 100%);
    color: #166534;
}

#noesia-swa-wrapper.noesia-swa-nav-reorder-active .noesia-swa-nav-grid {
    position: relative;
}

#noesia-swa-wrapper.noesia-swa-nav-reorder-active .noesia-swa-nav-card {
    cursor: grab !important;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    transform-origin: center center;
    border-color: rgba(255, 118, 170, 0.24) !important;
}

#noesia-swa-wrapper.noesia-swa-nav-reorder-active .noesia-swa-nav-card:hover {
    border-color: rgba(255, 118, 170, 0.42) !important;
}

#noesia-swa-wrapper.noesia-swa-nav-reorder-active .noesia-swa-nav-card[aria-grabbed="true"] {
    cursor: grabbing !important;
    border-color: rgba(255, 118, 170, 0.56) !important;
    background: linear-gradient(180deg, rgba(255, 118, 170, 0.14) 0%, rgba(255, 118, 170, 0.05) 100%) !important;
}

#noesia-swa-wrapper.noesia-swa-nav-reorder-active .noesia-swa-nav-card.is-active {
    box-shadow: 0 0 0 1px rgba(255, 118, 170, 0.12),
        0 16px 34px rgba(255, 118, 170, 0.18),
        var(--noesia-swa-shadow) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"].is-active,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"].is-active,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-nav-style-btn[data-noesia-swa-action="toggleNavReorder"].is-active {
    color: #ffd1e2;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:focus,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:focus,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-nav-style-btn[data-noesia-swa-action="saveNavReorder"]:focus {
    color: #bbf7d0;
}

@media (max-width: 1280px) {
        .noesia-swa-nav-style-switcher {
        gap: 8px;
    }

        .noesia-swa-nav-style-btn {
        min-height: 32px;
        padding: 0 12px;
    }

        .noesia-swa-nav-style-btn--icon {
        width: 32px;
        min-width: 32px;
    }
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal {
    --noesia-swa-bg: #f3f5f9 !important;
    --noesia-swa-surface: #ffffff !important;
    --noesia-swa-surface-2: #f7f9fc !important;
    --noesia-swa-border: #dbe3ef !important;
    --noesia-swa-text: #111827 !important;
    --noesia-swa-text-soft: #374151 !important;
    --noesia-swa-text-muted: #6b7280 !important;
    --noesia-swa-accent: #111827 !important;
    --noesia-swa-accent-2: #1f2937 !important;
    --noesia-swa-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
    --noesia-swa-btn-bg: #ffffff !important;
    --noesia-swa-btn-border: #d7deea !important;
    --noesia-swa-btn-hover: #eef2f7 !important;
    --noesia-swa-pill-bg: #eef2f7 !important;
    color: #111827 !important;
    background: #f3f5f9 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-card,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-card,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-shell,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-sidebar,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-topbar {
    background: var(--noesia-swa-surface) !important;
    border-color: var(--noesia-swa-border) !important;
    color: var(--noesia-swa-text) !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    align-self: center !important;
    justify-self: center !important;
    margin: 0 auto !important;
}

@keyframes noesiaSwaWiggle {
        0% {
        transform: rotate(-0.8deg);
    }

        50% {
        transform: rotate(0.8deg);
    }

        100% {
        transform: rotate(-0.8deg);
    }
}

.noesia-swa-nav-reorder-active .noesia-swa-nav-card {
    animation: noesiaSwaWiggle 0.45s infinite ease-in-out;
    transform-origin: 50% 50%;
    cursor: grab !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.noesia-swa-nav-reorder-active .noesia-swa-nav-card:nth-child(even) {
    animation-duration: 0.4s;
    animation-delay: 0.05s;
}

.noesia-swa-nav-reorder-active .noesia-swa-nav-card:active {
    cursor: grabbing !important;
    transform: scale(1.05);
}

.noesia-swa-nav {
    flex: 1 1 auto;
    min-height: 0;
}

.noesia-swa-nav-grid {
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.noesia-swa-nav-grid::-webkit-scrollbar {
    display: none;
}

#noesia-swa-wrapper .noesia-swa-card-header h3 {
    font-size: 18px !important;
    line-height: 1.15 !important;
}

.noesia-swa-section-panel[data-noesia-swa-section-panel="dashboard"] {
    scrollbar-width: none;
}

.noesia-swa-section-panel[data-noesia-swa-section-panel="dashboard"]::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body.toplevel_page_noesia_swa_settings,
body.toplevel_page_noesia_swa_settings #wpbody,
body.toplevel_page_noesia_swa_settings #wpbody-content,
body.toplevel_page_noesia_swa_settings #wpcontent,
body.toplevel_page_noesia_swa_settings .noesia-swa-sidebar,
body.toplevel_page_noesia_swa_settings .noesia-swa-main,
body.toplevel_page_noesia_swa_settings .noesia-swa-content,
body.toplevel_page_noesia_swa_settings .noesia-swa-sections {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body.toplevel_page_noesia_swa_settings::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings #wpbody::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings #wpbody-content::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings #wpcontent::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings .noesia-swa-sidebar::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings .noesia-swa-main::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings .noesia-swa-content::-webkit-scrollbar,
body.toplevel_page_noesia_swa_settings .noesia-swa-sections::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

.noesia-swa-sidebar-visibility {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.noesia-swa-menu-visibility-trigger {
    min-width: 52px;
    height: 36px;
    padding: 0 12px;
    border: 1px solid color-mix(in srgb, var(--noesia-swa-border) 78%, transparent 22%);
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    color: var(--noesia-swa-text);
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--noesia-swa-trans), box-shadow var(--noesia-swa-trans), border-color var(--noesia-swa-trans), background-color var(--noesia-swa-trans);
}

.noesia-swa-menu-visibility-trigger:hover,
.noesia-swa-menu-visibility-trigger:focus {
    transform: translateY(-1px);
    border-color: rgba(255, 118, 170, 0.34);
    background: color-mix(in srgb, var(--noesia-swa-surface) 66%, transparent 34%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.noesia-swa-menu-visibility-trigger > span {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.noesia-swa-menu-visibility-manager {
    position: fixed;
    inset: 0;
    z-index: 99999;
}

.noesia-swa-menu-visibility-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
}

.noesia-swa-menu-visibility-dialog {
    position: relative;
    width: min(1320px, calc(100vw - 48px));
    max-height: calc(100vh - 48px);
    margin: 24px auto;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid var(--noesia-swa-border);
    background: linear-gradient(180deg, var(--noesia-swa-surface) 0%, var(--noesia-swa-surface-2) 100%);
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
    display: grid;
    gap: 18px;
    overflow: auto;
}

.noesia-swa-menu-visibility-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.noesia-swa-menu-visibility-column {
    min-width: 0;
    display: grid;
    gap: 12px;
}

.noesia-swa-menu-visibility-column-title {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-menu-visibility-list {
    min-height: 240px;
    padding: 14px;
    border-radius: 22px;
    border: 1px dashed var(--noesia-swa-border);
    background: color-mix(in srgb, var(--noesia-swa-surface) 88%, #f8fbff 12%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-content: start;
}

.noesia-swa-menu-visibility-card {
    position: relative;
    min-height: 92px;
}

.noesia-swa-menu-visibility-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.14);
}

.noesia-swa-menu-visibility-badge.is-remove {
    background: #dc2626;
    color: #ffffff;
}

.noesia-swa-menu-visibility-badge.is-add {
    background: #16a34a;
    color: #ffffff;
}

.noesia-swa-menu-visibility-card.is-moving {
    transform: scale(0.92);
    opacity: 0.42;
    transition: transform .18s ease, opacity .18s ease;
}

.noesia-swa-menu-visibility-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.noesia-swa-menu-manager-open .noesia-swa-nav-grid .noesia-swa-nav-card.is-shaking,
.noesia-swa-menu-manager-open .noesia-swa-menu-visibility-card.is-shaking {
    animation: noesiaSwaMenuShake .24s ease-in-out 3;
}

@keyframes noesiaSwaMenuShake {
        0% {
        transform: translateX(0);
    }

        25% {
        transform: translateX(-1px) rotate(-0.6deg);
    }

        50% {
        transform: translateX(1px) rotate(0.6deg);
    }

        100% {
        transform: translateX(0);
    }
}

@media (max-width: 1180px) {
        .noesia-swa-menu-visibility-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
        .noesia-swa-menu-visibility-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
        .noesia-swa-menu-visibility-dialog {
        width: calc(100vw - 20px);
        margin: 10px auto;
        padding: 16px;
        border-radius: 22px;
    }

        .noesia-swa-menu-visibility-list {
        grid-template-columns: 1fr;
    }
}

/* Minimal theme contrast fixes kept intentionally in the shell. */

.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-status-box,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-status-box strong,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-status-box span,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-mini-stats > div,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-mini-stats strong,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-mini-stats span,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-mini-stats .noesia-swa-muted,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] #noesia-swa-calculator-display,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-calculator-display,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal section[data-noesia-swa-section-panel="calculator"] .noesia-swa-status-box input[type="text"] {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
    opacity: 1 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse {
    color: #111827 !important;
    border-color: #dbe3ef !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-title {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-sub {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-emoji--global-pulse {
    background: #eef2f7 !important;
    border-color: #dbe3ef !important;
    box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.10) inset !important;
    color: #111827 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon {
    filter: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon path,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon line,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon polyline,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon rect,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon circle {
    stroke: #111827 !important;
    fill: #111827 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse.is-clear,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse.is-clear {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%) !important;
    border-color: #dbe3ef !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 10px 22px rgba(15, 23, 42, 0.05) !important;
}
/* Minimal Theme Fixes for Global Pulse Nav Card */
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-title,
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-sub {
    color: #111827 !important;
    -webkit-text-fill-color: #111827 !important;
}
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon {
    filter: none !important;
}
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon path,
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon line,
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon polyline,
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon rect,
.noesia-swa-theme-minimal .noesia-swa-nav-card.noesia-swa-nav-card--global-pulse .noesia-swa-nav-ecg-icon circle {
    stroke: #111827 !important;
    fill: #111827 !important;
}
/* Global Shell Badge Styling (Top Bar & Nav) - Floating Fix */
.noesia-swa-topbar .noesia-swa-icon-btn {
    position: relative !important;
}

.noesia-swa-topbar .noesia-swa-reminders-badge,
.noesia-swa-topbar .noesia-swa-active-badge,
.noesia-swa-nav-badge {
    position: absolute !important;
    top: -4px !important;
    right: -6px !important;
    background: var(--noesia-swa-red, #c53f3f) !important;
    color: #ffffff !important;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 99px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(197, 63, 63, 0.3) !important;
    z-index: 10;
}

#noesia-swa-sidebar .noesia-swa-nav-badge {
    position: static !important;
    margin-left: auto;
}


/* Force Menu Box Manager cards to look like the list-style variant, even when sidebar nav style is HUB */
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "icon title"
        "icon sub" !important;
    align-items: center !important;
    justify-items: start !important;
    gap: 4px 12px !important;
    min-height: 96px !important;
    padding: 14px 12px !important;
    text-align: left !important;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:focus,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:focus {
    background: #050505 !important;
    background-color: #050505 !important;
    border-color: #4b5563 !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-emoji,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji {
    grid-area: icon !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #333333 !important;
    box-shadow: none !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-emoji .dashicons,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji .dashicons {
    color: #e5e7eb !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-title,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-title {
    grid-area: title !important;
    margin: 0 !important;
    align-self: end !important;
    justify-self: start !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-sub,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-sub {
    grid-area: sub !important;
    margin: 0 !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #b8bec7 !important;
    opacity: 1 !important;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card.is-active::after,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card.is-active::after,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card::before,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card::before,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card::after,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card::after {
    content: none !important;
    display: none !important;
}
/* FINAL FIX: force Menu Box Manager cards to ignore HUB skin */
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
        "icon title"
        "icon sub" !important;
    align-items: center !important;
    justify-items: start !important;
    gap: 4px 12px !important;
    min-height: 96px !important;
    padding: 14px 12px !important;
    text-align: left !important;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
    border-radius: 20px !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:hover,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:hover,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:focus,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:focus,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card.is-active,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card.is-active,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card[aria-pressed="true"],
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card[aria-pressed="true"] {
    background: #050505 !important;
    background-color: #050505 !important;
    background-image: none !important;
    border-color: #4b5563 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card::before,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card::before,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card::after,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-emoji,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji {
    grid-area: icon !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: start !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 12px !important;
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
    box-shadow: none !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-emoji .dashicons,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji .dashicons {
    color: #e5e7eb !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-title,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-title,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card.is-active .noesia-swa-nav-title {
    grid-area: title !important;
    width: auto !important;
    margin: 0 !important;
    align-self: end !important;
    justify-self: start !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.22 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card .noesia-swa-nav-sub,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card .noesia-swa-nav-sub,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card.is-active .noesia-swa-nav-sub,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card.is-active .noesia-swa-nav-sub {
    grid-area: sub !important;
    width: auto !important;
    margin: 0 !important;
    align-self: start !important;
    justify-self: start !important;
    text-align: left !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: #b8bec7 !important;
    opacity: 1 !important;
}
/* FINAL REAL FIX: override HUB card variables only inside Menu Box Manager */
#noesia-swa-menu-visibility-manager,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-dialog,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list {
    --noesia-swa-surface: #000000 !important;
    --noesia-swa-surface-2: #000000 !important;
    --noesia-swa-border: #333333 !important;
    --noesia-swa-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card {
    background: linear-gradient(180deg, #000000 0%, #000000 100%) !important;
    background-color: #000000 !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card:hover,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card:hover,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card:focus,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card:focus,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card.is-active {
    background: linear-gradient(180deg, #050505 0%, #050505 100%) !important;
    background-color: #050505 !important;
    border-color: #4b5563 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-title,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card .noesia-swa-nav-title {
    color: #ffffff !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-sub,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card .noesia-swa-nav-sub {
    color: #b8bec7 !important;
    opacity: 1 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji {
    background: #000000 !important;
    border: 1px solid #333333 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji .dashicons,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card .noesia-swa-nav-emoji .dashicons {
    color: #e5e7eb !important;
}
/* Menu Box Manager — force HUB cards to dark skin */
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager {
    --noesia-swa-surface: #000000 !important;
    --noesia-swa-surface-2: #000000 !important;
    --noesia-swa-border: #333333 !important;
    --noesia-swa-text: #ffffff !important;
    --noesia-swa-text-muted: #b8bec7 !important;
    --noesia-swa-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card {
    background: #000000 !important;
    background-color: #000000 !important;
    background-image: none !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:hover,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:hover,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-nav-card:hover,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card:hover {
    background: #050505 !important;
    background-color: #050505 !important;
    background-image: none !important;
    border-color: #4b5563 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card::before,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card::after,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card::before,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-title,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-title,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #ffffff !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-sub,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-sub,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-sub,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-sub {
    color: #b8bec7 !important;
    opacity: 1 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji,
#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji {
    background: #000000 !important;
    background-color: #000000 !important;
    border: 1px solid #333333 !important;
}

#noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji .dashicons,
.noesia-swa-admin-wrap[data-noesia-swa-nav-style="hub"] #noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji .dashicons {
    color: #e5e7eb !important;
}
/* Graphite theme — sidebar only, clean HUB override */
.noesia-swa-theme-dot[data-noesia-swa-theme="graphite"] {
    background: #17191d !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar {
    --noesia-swa-surface: #000000 !important;
    --noesia-swa-surface-2: #000000 !important;
    --noesia-swa-border: #333333 !important;
    --noesia-swa-text: #ffffff !important;
    --noesia-swa-text-soft: #d7dbe1 !important;
    --noesia-swa-text-muted: #b8bec7 !important;
    --noesia-swa-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
    --noesia-swa-btn-bg: #0b0d11 !important;
    --noesia-swa-btn-border: #333333 !important;
    --noesia-swa-btn-hover: #12151a !important;

    background: #17191d !important;
    border-right-color: #272b31 !important;
    box-shadow: inset -1px 0 0 #272b31 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-brand-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-footer strong,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-collapse,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-icon-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-emoji,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-emoji .dashicons,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon {
    color: #f3f4f6 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-brand-subtitle,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-footer span,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-sub {
    color: #b8bec7 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger {
    background: #0b0d11 !important;
    border: 1px solid #333333 !important;
    box-shadow: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger:hover {
    background: #12151a !important;
    border-color: #4b5563 !important;
}

/* HUB cards in the left sidebar only */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    background: linear-gradient(180deg, #000000 0%, #000000 100%) !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card:hover {
    background: linear-gradient(180deg, #050505 0%, #050505 100%) !important;
    border-color: #4b5563 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active {
    background: linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%) !important;
    border-color: #5b6472 !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 14px 28px rgba(0, 0, 0, 0.34) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active::after {
    background: linear-gradient(90deg, #8b95a7 0%, #646d7c 100%) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    background: #000000 !important;
    border: 1px solid #333333 !important;
    color: #eceff3 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji .dashicons {
    color: #eceff3 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #eee !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-sub {
    color: #b8bec7 !important;
    opacity: 1 !important;
}
/* Compact final fix: graphite hub + manager sheet + trigger contrast */

/* Graphite theme dot */
.noesia-swa-theme-dot[data-noesia-swa-theme="graphite"] {
    background: #17191d !important;
}

/* Graphite sidebar only */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar {
    background: #17191d !important;
    border-right-color: #272b31 !important;
    box-shadow: inset -1px 0 0 #272b31 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-brand-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-footer strong,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-collapse,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-emoji,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-emoji .dashicons,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon {
    color: #f3f4f6 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-brand-subtitle,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-sidebar-footer span,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-sub {
    color: #b8bec7 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger {
    background: #0b0d11 !important;
    border: 1px solid #333333 !important;
    box-shadow: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-nav-style-btn--icon:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-menu-visibility-trigger:hover {
    background: #12151a !important;
    border-color: #4b5563 !important;
}

/* HUB boxes in sidebar */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card {
    background: linear-gradient(180deg, #000000 0%, #000000 100%) !important;
    border: 1px solid #333333 !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.28) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card:hover {
    background: linear-gradient(180deg, #050505 0%, #050505 100%) !important;
    border-color: #4b5563 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active {
    background: linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%) !important;
    border-color: #5b6472 !important;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.03) inset,
        0 14px 28px rgba(0, 0, 0, 0.34) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active::after {
    background: linear-gradient(90deg, #8b95a7 0%, #646d7c 100%) !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji {
    background: #000000 !important;
    border: 1px solid #333333 !important;
    color: #eceff3 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-emoji .dashicons {
    color: #eceff3 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-title,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #999 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-sub,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite #noesia-swa-wrapper[data-noesia-swa-nav-style="hub"] .noesia-swa-nav-card.is-active .noesia-swa-nav-sub {
    color: #b8bec7 !important;
    opacity: 1 !important;
}

/* Keep collapsed dots from touching below items */
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-theme-dots {
    padding-bottom: 12px !important;
    row-gap: 9px !important;
}

/* Bottom sheet Menu Box Manager */
.noesia-swa-menu-visibility-manager {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 24px 24px 0 !important;
}

.noesia-swa-menu-visibility-dialog {
    margin: 0 !important;
    max-height: calc(100vh - 8px) !important;
    min-height: min(860px, calc(100vh - 8px)) !important;
    border-radius: 28px 28px 0 0 !important;
    border-bottom: 0 !important;
    overflow: auto !important;
}

.noesia-swa-menu-visibility-dialog h3,
.noesia-swa-menu-visibility-column-title,
.noesia-swa-menu-visibility-dialog .noesia-swa-title {
    color: #f3f4f6 !important;
}
/* Restore collapse position + restore += contrast */

.noesia-swa-sidebar-collapse .dashicons {
    font-size: 18px !important;
    width: 18px !important;
    height: 18px !important;
    line-height: 18px !important;
    color: currentColor !important;
}

.noesia-swa-menu-visibility-trigger {
    background: #0b0d11 !important;
    border: 1px solid #333333 !important;
    color: #f3f4f6 !important;
    box-shadow: none !important;
}

.noesia-swa-menu-visibility-trigger:hover,
.noesia-swa-menu-visibility-trigger:focus {
    background: #12151a !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

.noesia-swa-menu-visibility-trigger > span {
    color: #f3f4f6 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
/* Restore original collapse + ± trigger */

.noesia-swa-menu-visibility-trigger {
    background: #0b0d11 !important;
    border: 1px solid #333333 !important;
    color: #f3f4f6 !important;
    box-shadow: none !important;
}

.noesia-swa-menu-visibility-trigger:hover,
.noesia-swa-menu-visibility-trigger:focus {
    background: #12151a !important;
    border-color: #4b5563 !important;
    color: #ffffff !important;
}

.noesia-swa-menu-visibility-trigger > span {
    color: #f3f4f6 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
/* Minimal right-side collapse + dashboard trigger + stable modal actions */

/* Collapse: small, right-side, borderless, not touching logo */
.noesia-swa-sidebar-head {
    position: relative;
    min-height: 20px;
}

.noesia-swa-sidebar-collapse {
    position: absolute !important;
    right: 6px !important;
    left: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 3 !important;

    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    border: 0 !important;
    background: transparent !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--noesia-swa-text) !important;
}

.noesia-swa-sidebar-collapse:hover,
.noesia-swa-sidebar-collapse:focus {
    background: rgba(127, 127, 127, 0.12) !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

.noesia-swa-sidebar-collapse .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
}

/* Keep logo clear from collapse control */
.noesia-swa-brand-block {
    width: 100%;
    padding: 0 16px 0 12px !important;
    text-align: center;
}

/* Menu Box Manager trigger: 4-dot dashboard icon with contrast */
.noesia-swa-menu-visibility-trigger {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    border: 1px solid #333333 !important;
    background: #0b0d11 !important;
    color: #f3f4f6 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}

.noesia-swa-menu-visibility-trigger:hover,
.noesia-swa-menu-visibility-trigger:focus {
    background: #14181e !important;
    border-color: #525a67 !important;
    color: #ffffff !important;
}

.noesia-swa-menu-visibility-trigger-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.noesia-swa-menu-visibility-trigger-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: currentColor;
    stroke: none;
}

/* Modal action buttons: fixed size, rich, no jumping on Save/Saving */
.noesia-swa-menu-visibility-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 18px !important;
}

.noesia-swa-menu-visibility-actions .button,
.noesia-swa-menu-visibility-actions .button.button-primary {
    min-width: 156px !important;
    height: 50px !important;
    padding: 0 22px !important;
    border-radius: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

.noesia-swa-menu-visibility-actions .button {
    border: 1px solid #3a4048 !important;
    background: linear-gradient(180deg, #1a1e25 0%, #11141a 100%) !important;
    color: #eef2f7 !important;
}

.noesia-swa-menu-visibility-actions .button:hover,
.noesia-swa-menu-visibility-actions .button:focus {
    border-color: #525a67 !important;
    background: linear-gradient(180deg, #222833 0%, #171b22 100%) !important;
    color: #ffffff !important;
}

.noesia-swa-menu-visibility-actions .button.button-primary {
    border: 1px solid #2f6fff !important;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 22px rgba(29, 78, 216, 0.28) !important;
}

.noesia-swa-menu-visibility-actions .button.button-primary:hover,
.noesia-swa-menu-visibility-actions .button.button-primary:focus {
    border-color: #4f8dff !important;
    background: linear-gradient(180deg, #4b91ff 0%, #255be0 100%) !important;
    color: #ffffff !important;
}

.noesia-swa-menu-visibility-actions .button[disabled],
.noesia-swa-menu-visibility-actions .button.button-primary[disabled] {
    opacity: 0.92 !important;
    cursor: wait !important;
}
/* micro-fix only: collapsed toggle, 3x2 theme dots, centered brand subtitle */

/* 1) Collapse icon: when sidebar is collapsed, move a bit right and slightly down */
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-collapse,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed .noesia-swa-sidebar-collapse {
    right: 2px !important;
    left: auto !important;
    top: 54% !important;
    transform: translateY(-10%) !important;
}

/* 2) Collapsed color dots: always 3 on top / 3 on bottom */
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-theme-dots,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed .noesia-swa-theme-dots {
    display: grid !important;
    grid-template-columns: repeat(3, 16px) !important;
    grid-auto-rows: 16px !important;
    width: 64px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    align-content: start !important;
    column-gap: 8px !important;
    row-gap: 8px !important;
    padding-bottom: 12px !important;
}

/* 3) Brand block: Smart Waiter exactly under Noesia, centered */
.noesia-swa-brand-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 2px !important;
}

.noesia-swa-brand-title,
.noesia-swa-brand-subtitle,
#noesia-swa-wrapper .noesia-swa-brand-title,
#noesia-swa-wrapper .noesia-swa-brand-subtitle {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.noesia-swa-brand-title,
#noesia-swa-wrapper .noesia-swa-brand-title {
    margin-bottom: 0 !important;
}

.noesia-swa-brand-subtitle,
#noesia-swa-wrapper .noesia-swa-brand-subtitle {
    margin-top: 2px !important;
}
/* Menu Box Manager bottom-sheet slide animation */
.noesia-swa-menu-visibility-manager {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px 24px 0 !important;
    overflow: hidden;
}

.noesia-swa-menu-visibility-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.34s ease;
}

.noesia-swa-menu-visibility-dialog {
    position: relative;
    width: min(1320px, calc(100vw - 48px));
    max-height: calc(100vh - 8px);
    min-height: min(860px, calc(100vh - 8px));
    margin: 0 !important;
    padding: 22px;
    border-radius: 28px 28px 0 0 !important;
    border-bottom: 0 !important;
    transform: translate3d(0, 56px, 0);
    opacity: 0;
    transition:
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s ease;
    will-change: transform, opacity;
}

/* Open state */
.noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-backdrop {
    opacity: 1;
}

.noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-dialog {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

/* Closing state */
.noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-backdrop {
    opacity: 0;
}

.noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-dialog {
    transform: translate3d(0, 72px, 0);
    opacity: 0;
}
#noesia-swa-menu-visibility-manager {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px 24px 0 !important;
    overflow: hidden;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.42s ease;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-dialog {
    position: relative;
    width: min(1320px, calc(100vw - 48px));
    max-height: calc(100vh - 8px);
    min-height: min(860px, calc(100vh - 8px));
    margin: 0 !important;
    padding: 22px;
    border-radius: 28px 28px 0 0 !important;
    border-bottom: 0 !important;
    transform: translate3d(0, 140px, 0);
    opacity: 0;
    transition:
        transform 2.52s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.42s ease;
    will-change: transform, opacity;
}

#noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-backdrop {
    opacity: 1;
}

#noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-dialog {
    transform: translate3d(0, 0, 0);
    opacity: 1;
}

#noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-backdrop {
    opacity: 0;
}

#noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-dialog {
    transform: translate3d(0, 160px, 0);
    opacity: 0;
}
/* Light Titan menu override for ALL Light themes */
#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%) !important;
    border-color: #d9d9d9 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card:hover,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card:hover,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card:hover {
    background: linear-gradient(180deg, #fcfcfc 0%, #f1f1f1 100%) !important;
    border-color: #c4c4c4 !important;
    transform: translateX(2px) !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active {
    background: linear-gradient(180deg, #f0f7ff 0%, #e6f0ff 100%) !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.1) inset, 0 8px 16px rgba(0, 0, 0, 0.06) !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    color: #101010 !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-sub {
    color: #666666 !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #1d4ed8 !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji {
    background: transparent !important;
    border-color: transparent !important;
    color: #101010 !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-emoji {
    background: transparent !important;
    color: #2563eb !important;
}

#noesia-swa-wrapper.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji .dashicons,
#noesia-swa-wrapper.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji .dashicons,
#noesia-swa-wrapper.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji .dashicons {
    color: currentColor !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    color: #101010 !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-default[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-ciel[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed.noesia-swa-theme-minimal[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card.is-active .noesia-swa-nav-title {
    color: #1d4ed8 !important;
}
/* Fix: Dark Header icons for Graphite (2nd theme) */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .noesia-swa-icon-btn,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .button {
    color: #101010 !important;
    background: #ffffff !important;
    border-color: #d9d9d9 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .noesia-swa-icon-btn:hover,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .button:hover {
    background: #ececec !important;
    border-color: #101010 !important;
    color: #101010 !important;
}

.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .noesia-swa-icon-btn .dashicons,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-topbar .button .dashicons {
    color: #101010 !important;
}
.noesia-swa-brand-block {
    cursor: pointer !important;
    transition: opacity 0.2s ease;
}

.noesia-swa-brand-block:hover {
    opacity: 0.8;
}
/* --- HIDE THEME DOTS & NAV STYLE SWITCHER ON COLLAPSED SIDEBAR --- */
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-theme-dots,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed .noesia-swa-theme-dots,
.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-nav-style-switcher,
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed .noesia-swa-nav-style-switcher {
    display: none !important;
}
/* --- HORIZONTAL COLLAPSED CARDS FOR LIST STYLE (TITAN) --- */
#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 44px !important; 
    height: 44px !important;
    padding: 0 12px !important;
    gap: 8px !important;
    border:none!important;
    background:none!important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-emoji {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    min-height: 24px !important;
    margin: 0 !important;
    align-self: center !important;
}

#noesia-swa-wrapper.noesia-swa-sidebar-collapsed[data-noesia-swa-nav-style="titan"] .noesia-swa-nav-title {
    flex: 1 !important;
    margin: 0 !important;
    font-size: 11px !important;
    text-align: center !important; 
    align-self: center !important;
}

.noesia-swa-shell-restore {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 90;
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--noesia-swa-border) 88%, transparent);
    background: color-mix(in srgb, var(--noesia-swa-surface) 84%, transparent);
    color: var(--noesia-swa-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    opacity: 0.18;
    transform: translateX(4px);
    transition: opacity var(--noesia-swa-trans), transform var(--noesia-swa-trans), background var(--noesia-swa-trans), border-color var(--noesia-swa-trans);
}

.noesia-swa-shell-restore:hover,
.noesia-swa-shell-restore:focus {
    opacity: 1;
    transform: translateX(0);
    background: var(--noesia-swa-btn-bg);
    border-color: var(--noesia-swa-accent);
    outline: none;
}

.noesia-swa-shell-restore .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 16px;
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive {
    grid-template-columns: minmax(0, 1fr);
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-sidebar,
.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-topbar {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-main,
.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-form-shell,
.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-content,
.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-sections {
    min-height: 100vh;
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-content {
    padding: 12px;
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive.noesia-swa-has-quick-dock-open .noesia-swa-content {
    padding-bottom: calc(12px + var(--noesia-swa-quick-dock-safe-space));
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-section-panel {
    height: calc(100vh - 24px);
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive.noesia-swa-has-quick-dock-open .noesia-swa-section-panel {
    height: calc(100vh - 24px - var(--noesia-swa-quick-dock-safe-space));
}

.noesia-swa-admin-wrap.noesia-swa-shell-immersive + .noesia-swa-shell-restore {
    display: inline-flex !important;
}

@media (max-width: 900px) {
    .noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-content {
        padding: 8px;
    }

    .noesia-swa-admin-wrap.noesia-swa-shell-immersive.noesia-swa-has-quick-dock-open .noesia-swa-content {
        padding-bottom: calc(8px + var(--noesia-swa-quick-dock-safe-space));
    }

    .noesia-swa-admin-wrap.noesia-swa-shell-immersive .noesia-swa-section-panel {
        height: calc(100vh - 16px);
    }

    .noesia-swa-shell-restore {
        top: 8px;
        right: 8px;
    }
}


/* ==========================================================
   Menu Box Manager – unified autonomous popup skin
   Keeps original shell CSS intact and overrides only popup UI.
   ========================================================== */
#noesia-swa-menu-visibility-manager[hidden] {
    display: none;
    pointer-events: none;
}

#noesia-swa-menu-visibility-manager {
    position: fixed;
    inset: 0;
    z-index: 100000;
    padding: 8px;
    align-items: stretch;
    justify-content: center;
    --noesia-swa-mbm-bg: #111111;
    --noesia-swa-mbm-panel: #111111;
    --noesia-swa-mbm-panel-2: #111111;
    --noesia-swa-mbm-panel-3: #171717;
    --noesia-swa-mbm-border: #222222;
    --noesia-swa-mbm-text: #f5f5f7;
    --noesia-swa-mbm-text-soft: #d1d1d6;
    --noesia-swa-mbm-text-muted: #9a9aa1;
    --noesia-swa-mbm-hover: #1f1f1f;
    --noesia-swa-mbm-active: #232323;
    --noesia-swa-mbm-badge-add: #1d5f39;
    --noesia-swa-mbm-badge-remove: #6a2424;
    color: var(--noesia-swa-mbm-text);
    color-scheme: dark;
}

#noesia-swa-menu-visibility-manager.is-open,
#noesia-swa-menu-visibility-manager.is-closing {
    display: flex;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.24s ease;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-dialog {
    position: relative;
    z-index: 1;
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    max-width: none;
    max-height: none;
    min-height: 0;
    margin: 0;
    border-radius: 18px;
    border: 1px solid var(--noesia-swa-mbm-border);
    background: var(--noesia-swa-mbm-bg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.26s ease, opacity 0.26s ease;
}

#noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-backdrop {
    opacity: 1;
}

#noesia-swa-menu-visibility-manager.is-open .noesia-swa-menu-visibility-dialog {
    transform: translateY(0);
    opacity: 1;
}

#noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-backdrop {
    opacity: 0;
}

#noesia-swa-menu-visibility-manager.is-closing .noesia-swa-menu-visibility-dialog {
    transform: translateY(24px);
    opacity: 0;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    background: #111111;
    border-bottom: 1px solid var(--noesia-swa-mbm-border);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-head-copy {
    min-width: 0;
}

#noesia-swa-menu-visibility-manager .noesia-swa-kicker {
    color: var(--noesia-swa-mbm-text-muted);
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#noesia-swa-menu-visibility-manager h3,
#noesia-swa-menu-visibility-manager #noesia-swa-menu-visibility-title {
    margin: 8px 0 6px;
    color: var(--noesia-swa-mbm-text);
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

#noesia-swa-menu-visibility-manager .noesia-swa-muted,
#noesia-swa-menu-visibility-manager p {
    margin: 0;
    color: var(--noesia-swa-mbm-text-soft);
    font-size: 13px;
    line-height: 1.55;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-header-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px 4px 2px;
    gap: 4px;
    border: 1px solid var(--noesia-swa-mbm-border);
    border-radius: 14px;
    background: var(--noesia-swa-mbm-panel);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--noesia-swa-mbm-text-soft);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-btn:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-btn:focus-visible {
    background: var(--noesia-swa-mbm-panel-3);
    color: var(--noesia-swa-mbm-text);
    outline: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-btn.is-active {
    background: #f5f5f7;
    color: #000000;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-columns {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
    min-height: 0;
    height: 100%;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-column {
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: var(--noesia-swa-mbm-panel);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-column + .noesia-swa-menu-visibility-column {
    border-left: 1px solid var(--noesia-swa-mbm-border);
    background: var(--noesia-swa-mbm-panel-2);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-column-title {
    padding: 12px 14px;
    border-bottom: 1px solid var(--noesia-swa-mbm-border);
    color: var(--noesia-swa-mbm-text);
    background: #111111;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding: 10px;
    background: #111111;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card {
    width: 100%;
    display: grid;
    grid-template-columns: 24px 18px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    min-height: 80px;
    margin: 0 0 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: transparent;
    color: var(--noesia-swa-mbm-text);
    text-align: left;
    box-shadow: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card:focus-visible {
    background: var(--noesia-swa-mbm-hover);
    border-color: var(--noesia-swa-mbm-border);
    outline: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-card.is-moving {
    opacity: 0.65;
    transform: scale(0.995);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-badge {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    background: var(--noesia-swa-mbm-panel-3);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-badge.is-add {
    background: var(--noesia-swa-mbm-badge-add);
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-badge.is-remove {
    background: var(--noesia-swa-mbm-badge-remove);
}

#noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji {
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--noesia-swa-mbm-text-soft);
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-nav-emoji .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
}

#noesia-swa-menu-visibility-manager .noesia-swa-nav-title {
    display: block;
    color: var(--noesia-swa-mbm-text);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.01em;
}

#noesia-swa-menu-visibility-manager .noesia-swa-nav-sub {
    display: block;
    margin-top: 3px;
    color: var(--noesia-swa-mbm-text-muted);
    font-size: 11px;
    line-height: 1.45;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 16px;
    border-top: 1px solid var(--noesia-swa-mbm-border);
    background: #111111;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button {
    min-width: 140px;
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid var(--noesia-swa-mbm-border);
    background: var(--noesia-swa-mbm-panel);
    color: var(--noesia-swa-mbm-text);
    font-size: 13px;
    font-weight: 700;
    box-shadow: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button:focus-visible {
    background: var(--noesia-swa-mbm-panel-3);
    color: var(--noesia-swa-mbm-text);
    outline: none;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button-primary {
    background: #f5f5f7;
    border-color: #f5f5f7;
    color: #000000;
}

#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button-primary:hover,
#noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button-primary:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] {
    padding: 4px 4px 2px;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-dialog {
    width: calc(100vw - 8px);
    height: calc(100vh - 8px);
    border-radius: 16px;
    background: #111111;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-header {
    padding: 14px 16px 12px;
    background: #111111;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-columns {
    grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
    min-height: 0;
    height: 100%;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-column {
    min-height: 0;
    background: #111111;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-column + .noesia-swa-menu-visibility-column {
    background: #111111;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-column-title {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.14em;
    background: #111111;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
    min-height: 0;
    height: 100%;
    overflow: auto;
    background: #111111;
    grid-template-columns: none;
    align-content: stretch;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-menu-visibility-card,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-nav-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 14px 12px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 7px 10px;
    border: 0;
    border-bottom: 1px solid var(--noesia-swa-mbm-border);
    border-radius: 0;
    background: #111111;
    box-shadow: none;
    text-align: left;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-menu-visibility-card:hover,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-menu-visibility-card:focus-visible,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-nav-card:hover,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list > .noesia-swa-nav-card:focus-visible {
    background: var(--noesia-swa-mbm-hover);
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-emoji,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-emoji .dashicons {
    width: 12px;
    height: 12px;
    min-width: 12px;
    font-size: 12px;
    line-height: 12px;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-badge {
    width: 14px;
    height: 14px;
    font-size: 10px;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-title,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-sub {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-title {
    font-size: 11px;
    line-height: 1.15;
    font-weight: 600;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-nav-sub {
    margin-top: 1px;
    font-size: 9px;
    line-height: 1.15;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-actions {
    padding: 12px 16px;
}

@media (max-width: 1100px) {
    #noesia-swa-menu-visibility-manager {
        padding: 6px;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-dialog {
        width: calc(100vw - 12px);
        height: calc(100vh - 12px);
        border-radius: 14px;
    }

    #noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-columns {
        grid-template-columns: 1fr;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-columns,
    #noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-columns {
        grid-template-columns: 1fr;
    }

    #noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list .noesia-swa-menu-visibility-card,
    #noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list .noesia-swa-nav-card {
        min-height: 48px;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-column + .noesia-swa-menu-visibility-column {
        border-left: 0;
        border-top: 1px solid var(--noesia-swa-mbm-border);
    }
}

@media (max-width: 782px) {
    #noesia-swa-menu-visibility-manager {
        padding: 8px;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-dialog {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        border-radius: 18px;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-header {
        flex-direction: column;
        align-items: stretch;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-header-tools {
        justify-content: flex-start;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-switch {
        width: 100%;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-layout-btn {
        flex: 1 1 0;
        text-align: center;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions {
        flex-direction: column-reverse;
    }

    #noesia-swa-menu-visibility-manager .noesia-swa-menu-visibility-actions .button {
        width: 100%;
    }
}


#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] .noesia-swa-menu-visibility-list,
#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] [data-noesia-swa-menu-list] {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    align-content: stretch;
}

#noesia-swa-menu-visibility-manager[data-noesia-swa-ui="finder"] [data-noesia-swa-menu-list] > * {
    width: 100%;
    max-width: none;
}


/* Gemini-style sidebar mode and topbar-only toggle */
.noesia-swa-admin-wrap.noesia-swa-topbar-hidden .noesia-swa-topbar {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-topbar-hidden .noesia-swa-section-panel {
    height: calc(100vh - 40px);
}

.noesia-swa-admin-wrap.noesia-swa-topbar-hidden .noesia-swa-content {
    padding-top: 14px;
}

.noesia-swa-admin-wrap.noesia-swa-topbar-hidden.noesia-swa-has-quick-dock-open .noesia-swa-content {
    padding-bottom: calc(20px + var(--noesia-swa-quick-dock-safe-space));
}

.noesia-swa-admin-wrap.noesia-swa-topbar-hidden.noesia-swa-has-quick-dock-open .noesia-swa-section-panel {
    height: calc(100vh - 40px - var(--noesia-swa-quick-dock-safe-space));
}

.noesia-swa-gemini-sidebar[hidden] {
    display: none !important;
}

.noesia-swa-nav-style-btn--gemini,
.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleTopbarHeader"] {
    position: relative;
}

.noesia-swa-gemini-toggle-icon,
.noesia-swa-gemini-toggle-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.noesia-swa-gemini-toggle-icon svg {
    fill: currentColor;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar {
    background: #181818;
    border-right-color: #2a2a2a;
    box-shadow: inset -1px 0 0 #242424;
    padding: 14px 12px 12px;
    gap: 0;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-sidebar-head,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-theme-dots,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-nav-style-switcher,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-nav,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-sidebar-visibility,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar > .noesia-swa-sidebar-footer {
    display: none !important;
}

.noesia-swa-gemini-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    gap: 8px;
    color: #f3f3f3;
}

.noesia-swa-gemini-sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
}

.noesia-swa-gemini-logo {
    min-width: 0;
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    padding: 6px 10px;
    border-radius: 14px;
    cursor: pointer;
}

.noesia-swa-gemini-logo img {
    display: block;
    width: auto;
    height: 52px;
    max-width: 224px;
    object-fit: contain;
}

.noesia-swa-gemini-sidebar-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.noesia-swa-gemini-head-btn,
.noesia-swa-gemini-folder-tool,
.noesia-swa-gemini-folder-toggle {
    border: 1px solid #2d2d2d;
    background: #1f1f1f;
    color: #f3f3f3;
    border-radius: 10px;
    transition: background var(--noesia-swa-trans), border-color var(--noesia-swa-trans), color var(--noesia-swa-trans);
}

.noesia-swa-gemini-head-btn {
    width: 30px;
    min-width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.noesia-swa-gemini-head-btn:hover,
.noesia-swa-gemini-folder-tool:hover,
.noesia-swa-gemini-folder-toggle:hover,
.noesia-swa-gemini-logo:hover,
.noesia-swa-gemini-link:hover {
    background: #242424;
    border-color: #393939;
    color: #ffffff;
}

.noesia-swa-gemini-head-btn.is-active,
.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleTopbarHeader"].is-active,
.noesia-swa-nav-style-btn[data-noesia-swa-action="toggleGeminiSidebarMode"].is-active {
    border-color: #5d8dff;
    color: #8fb0ff;
}

.noesia-swa-gemini-head-btn .dashicons,
.noesia-swa-gemini-folder-tool .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
}

.noesia-swa-gemini-sidebar-scroll {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
    padding: 6px 0 0;
}

.noesia-swa-gemini-folder-list,
.noesia-swa-gemini-root-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.noesia-swa-gemini-root-list {
    padding-top: 6px;
    border-top: 1px solid #242424;
}

.noesia-swa-gemini-link {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #ececec;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
}

.noesia-swa-gemini-link.is-subitem {
    min-height: 32px;
    padding-left: 32px;
    color: #d6d6d6;
    font-size: 12.5px;
}

.noesia-swa-gemini-link-icon {
    width: 14px;
    min-width: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #bfbfbf;
}

.noesia-swa-gemini-link-icon .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
}

.noesia-swa-gemini-link-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.noesia-swa-gemini-link:hover,
.noesia-swa-gemini-folder-toggle:hover,
.noesia-swa-gemini-folder-tool:hover,
.noesia-swa-gemini-head-btn:hover {
    background: #232323;
    border-color: #2b2b2b;
    color: #ffffff;
}

.noesia-swa-gemini-link--text-only {
    gap: 0;
}

.noesia-swa-gemini-link--text-only .noesia-swa-gemini-link-label {
    padding-left: 0;
}

.noesia-swa-gemini-link.is-active {
    background: #2a2a2a;
    border-color: #343434;
    color: #ffffff;
}

.noesia-swa-gemini-folder-empty {
    border: 1px dashed #303030;
    border-radius: 10px;
    justify-content: center;
    background: transparent;
}

.noesia-swa-gemini-folder-empty:hover {
    background: #202020;
    border-color: #3a3a3a;
}

.noesia-swa-gemini-link.is-dragging {
    opacity: 0.5;
}

.noesia-swa-gemini-folder {
    border-radius: 12px;
    border: 1px solid #242424;
    background: #171717;
    overflow: hidden;
}

.noesia-swa-gemini-folder.has-active-child {
    border-color: #2d3d59;
}

.noesia-swa-gemini-folder-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 2px;
}

.noesia-swa-gemini-folder-toggle {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    padding-right: 12px;
    font-size: 13px;
    cursor: pointer;
}

.noesia-swa-gemini-folder-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 600;
}

.noesia-swa-gemini-folder-icon {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    flex: 0 0 auto;
}

.noesia-swa-gemini-folder-caret {
    width: 0;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
    flex: 0 0 auto;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity 0.18s ease, width 0.18s ease, visibility 0.18s ease;
}

.noesia-swa-gemini-folder-tools {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.noesia-swa-gemini-folder-tool {
    width: 28px;
    min-width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.noesia-swa-gemini-folder-tool[disabled] {
    opacity: 0.35;
    cursor: default;
}

.noesia-swa-gemini-folder.is-tools-open .noesia-swa-gemini-folder-tools,
.noesia-swa-gemini-folder-head:focus-within .noesia-swa-gemini-folder-tools {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%);
}

@media (hover: hover) and (pointer: fine) {
    .noesia-swa-gemini-folder:hover .noesia-swa-gemini-folder-tools {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(-50%);
    }

    .noesia-swa-gemini-folder:hover .noesia-swa-gemini-folder-caret {
        width: 14px;
        opacity: 1;
        visibility: visible;
    }
}

.noesia-swa-gemini-folder.is-tools-open .noesia-swa-gemini-folder-caret,
.noesia-swa-gemini-folder-head:focus-within .noesia-swa-gemini-folder-caret {
    width: 14px;
    opacity: 1;
    visibility: visible;
}

.noesia-swa-gemini-folder-body {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px 6px;
    min-height: 34px;
}

.noesia-swa-gemini-folder.is-open .noesia-swa-gemini-folder-body {
    display: flex;
}

.noesia-swa-gemini-folder-empty,
.noesia-swa-gemini-root-empty {
    min-height: 34px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    color: #8f8f8f;
    font-size: 12px;
}

[data-noesia-swa-gemini-dropzone].is-drop-target {
    box-shadow: inset 0 0 0 1px rgba(93, 141, 255, 0.55);
}

.noesia-swa-gemini-sidebar-footer {
    margin-top: auto;
    padding: 10px 4px 0;
    border-top: 1px solid #242424;
    text-align: center;
}

.noesia-swa-gemini-sidebar-footer strong {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #9f9f9f;
    letter-spacing: 0.02em;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed {
    --noesia-swa-sidebar-width: 88px;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-sidebar-head {
    flex-direction: column;
    align-items: center;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-logo {
    justify-content: center;
    width: 100%;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-logo img {
    height: 24px;
    max-width: 44px;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-sidebar-actions {
    flex-direction: column;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-link {
    justify-content: center;
    padding: 0;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-link-label,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-folder-label,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-folder-caret,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-sidebar-footer {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-folder-head {
    justify-content: center;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-folder-toggle {
    flex: 0 0 auto;
    width: 34px;
    min-width: 34px;
    justify-content: center;
    padding: 0;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-folder-tools {
    display: none !important;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed .noesia-swa-gemini-link--text-only {
    display: none !important;
}

@media (max-width: 900px) {
    .noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode {
        --noesia-swa-sidebar-width: 244px;
    }

    .noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode.noesia-swa-gemini-collapsed {
        --noesia-swa-sidebar-width: 78px;
    }
}

@media (hover: none), (pointer: coarse) {
    .noesia-swa-gemini-folder-tools {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .noesia-swa-gemini-folder.is-tools-open .noesia-swa-gemini-folder-tools,
    .noesia-swa-gemini-folder-head:focus-within .noesia-swa-gemini-folder-tools {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.noesia-swa-gemini-folder-editor-palette-label {
    font-size: 11px;
    line-height: 1.2;
    color: #a9afbc;
}

.noesia-swa-gemini-folder-editor-palette {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.noesia-swa-gemini-folder-color-swatch {
    width: 28px;
    min-width: 28px;
    height: 28px;
    border: 1px solid #2c2c2c;
    border-radius: 999px;
    padding: 3px;
    background: #181818;
    cursor: pointer;
    box-shadow: none;
}

.noesia-swa-gemini-folder-color-swatch-chip {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
}

.noesia-swa-gemini-folder-color-swatch.is-active {
    border-color: #6f8cff;
    box-shadow: 0 0 0 1px rgba(111, 140, 255, 0.32);
}

.noesia-swa-gemini-folder-editor[hidden] {
    display: none !important;
}

.noesia-swa-gemini-folder-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 10px;
    border: 1px solid #242424;
    border-radius: 12px;
    background: #1c1c1c;
}

.noesia-swa-gemini-folder-editor-label {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9fa4b2;
}

.noesia-swa-gemini-folder-editor-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.noesia-swa-gemini-folder-editor-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    background: #151515;
    color: #f1f1f1;
    box-shadow: none;
}

.noesia-swa-gemini-folder-editor-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.24);
}

.noesia-swa-gemini-folder-editor-btn {
    height: 34px;
    padding: 0 12px;
    border: 1px solid #2b2b2b;
    border-radius: 10px;
    background: #202020;
    color: #f1f1f1;
    cursor: pointer;
}

.noesia-swa-gemini-folder-editor-btn.is-primary {
    background: #272f3e;
    border-color: #334155;
}


.noesia-swa-gemini-head-btn.is-active {
    background: #232a36;
    border-color: #2f3b4f;
}

.noesia-swa-admin-wrap.noesia-swa-gemini-all-icons .noesia-swa-gemini-link--text-only .noesia-swa-gemini-link-label {
    padding-left: 0;
}

.noesia-swa-brand-block.noesia-swa-brand-block--logo-ready {
    position: relative;
    overflow: hidden;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x;
    user-select: none;
}

.noesia-swa-brand-scroll-track {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 100%;
    text-align: center;
    transition: transform 420ms cubic-bezier(.22,.61,.36,1), opacity 260ms ease;
    will-change: transform, opacity;
}

.noesia-swa-brand-hover-logo {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(92px);
    transition: transform 420ms cubic-bezier(.22,.61,.36,1), opacity 260ms ease;
    pointer-events: none;
}

.noesia-swa-brand-hover-logo img {
    display: block;
    width: auto;
    height: 56px;
    max-width: 236px;
    object-fit: contain;
}

.noesia-swa-brand-block.noesia-swa-brand-face-logo .noesia-swa-brand-scroll-track {
    opacity: 0;
    transform: translateX(-108px);
}

.noesia-swa-brand-block.noesia-swa-brand-face-logo .noesia-swa-brand-hover-logo {
    opacity: 1;
    transform: translateX(0);
}

.noesia-swa-brand-block.noesia-swa-brand-face-text .noesia-swa-brand-scroll-track {
    opacity: 1;
    transform: translateX(0);
}

.noesia-swa-brand-block.noesia-swa-brand-face-text .noesia-swa-brand-hover-logo {
    opacity: 0;
    transform: translateX(92px);
}

.noesia-swa-brand-block.is-brand-sliding {
    cursor: ew-resize;
}

.noesia-swa-admin-wrap.noesia-swa-sidebar-collapsed .noesia-swa-brand-hover-logo,
.noesia-swa-admin-wrap.noesia-swa-sidebar-gemini-mode .noesia-swa-brand-hover-logo {
    display: none !important;
}


/* Quick dock */
.noesia-swa-topbar-dock-toggle.is-active {
    border-color: var(--noesia-swa-accent) !important;
    background: var(--noesia-swa-btn-hover) !important;
}

.noesia-swa-quick-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 14px;
    z-index: 100000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.noesia-swa-quick-dock[hidden] {
    display: none !important;
}

.noesia-swa-quick-dock-shell {
    width: auto;
    max-width: calc(100vw - 20px);
    pointer-events: none;
}

.noesia-swa-admin-wrap.noesia-swa-quick-dock-autohide .noesia-swa-quick-dock.is-open {
    transform: translateY(calc(100% - 18px));
    opacity: 0.88;
}

.noesia-swa-admin-wrap.noesia-swa-quick-dock-autohide .noesia-swa-quick-dock.is-open:hover,
.noesia-swa-admin-wrap.noesia-swa-quick-dock-autohide .noesia-swa-quick-dock.is-open:focus-within {
    transform: translateY(0);
    opacity: 1;
}

.noesia-swa-quick-dock-bar {
    --noesia-swa-quick-dock-height: 56px;
    --noesia-swa-quick-dock-item-size: 42px;
    --noesia-swa-quick-dock-icon-size: 32px;
    --noesia-swa-quick-dock-gap: 8px;
    --noesia-swa-quick-dock-viewport-width: min(420px, calc(100vw - 140px));
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: var(--noesia-swa-quick-dock-height);
    padding: 4px 12px;
    border-radius: 22px;
    pointer-events: auto;
    isolation: isolate;
}

.noesia-swa-quick-dock-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.54);
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    z-index: -1;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-quick-dock-bar::before,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-quick-dock-bar::before,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-bar::before,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-bar::before {
    background: rgba(15, 15, 18, 0.78);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="compact"] {
    --noesia-swa-quick-dock-viewport-width: min(420px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="default"] {
    --noesia-swa-quick-dock-viewport-width: min(640px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="wide"] {
    --noesia-swa-quick-dock-viewport-width: min(860px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="ultra"] {
    --noesia-swa-quick-dock-viewport-width: min(1080px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="max"] {
    --noesia-swa-quick-dock-viewport-width: min(1280px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="cinema"] {
    --noesia-swa-quick-dock-viewport-width: min(1480px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="panorama"] {
    --noesia-swa-quick-dock-viewport-width: min(1680px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-bar[data-noesia-swa-quick-dock-size="horizon"] {
    --noesia-swa-quick-dock-viewport-width: min(1880px, calc(100vw - 140px));
}

.noesia-swa-quick-dock-controls {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 30px);
    grid-auto-rows: 30px;
    gap: 6px;
    flex: 0 0 auto;
    margin-right: 6px;
}

.noesia-swa-quick-dock-control {
    width: 30px;
    min-width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    color: var(--noesia-swa-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform var(--noesia-swa-trans), background var(--noesia-swa-trans), border-color var(--noesia-swa-trans);
    box-shadow: none;
}

.noesia-swa-quick-dock-control:hover,
.noesia-swa-quick-dock-control:focus-visible {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.54);
    outline: none;
}

.noesia-swa-quick-dock-control .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
    line-height: 14px;
}

.noesia-swa-quick-dock-control--palette,
.noesia-swa-quick-dock-control--autohide {
    position: static;
}

.noesia-swa-quick-dock-control--palette .dashicons,
.noesia-swa-quick-dock-control--autohide .dashicons {
    width: 12px;
    height: 12px;
    font-size: 12px;
    line-height: 12px;
}

.noesia-swa-quick-dock-control--palette.is-active {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.34);
}

.noesia-swa-quick-dock-control--palette.is-tahoe {
    background: linear-gradient(90deg, rgba(124, 199, 255, 0.34), rgba(179, 157, 251, 0.34), rgba(255, 184, 107, 0.34));
    border-color: rgba(255, 255, 255, 0.60);
}

.noesia-swa-quick-dock-control--autohide.is-active {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.34);
}

.noesia-swa-quick-dock-viewport {
    position: relative;
    width: var(--noesia-swa-quick-dock-viewport-width);
    max-width: calc(100vw - 140px);
    padding: 8px 2px 2px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: width 0.18s ease;
}

.noesia-swa-quick-dock-viewport::-webkit-scrollbar {
    display: none;
}

.noesia-swa-quick-dock-track {
    display: flex;
    align-items: flex-end;
    gap: var(--noesia-swa-quick-dock-gap);
    min-height: calc(var(--noesia-swa-quick-dock-item-size) + 8px);
    width: max-content;
}

.noesia-swa-quick-dock-item {
    position: relative;
    width: var(--noesia-swa-quick-dock-item-size);
    min-width: var(--noesia-swa-quick-dock-item-size);
    height: var(--noesia-swa-quick-dock-item-size);
    padding: 0;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform-origin: center bottom;
    transition: transform 0.18s ease;
    outline: none;
    box-shadow: none;
}

.noesia-swa-quick-dock-item-bg {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.16));
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-quick-dock-item-bg,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-quick-dock-item-bg,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item-bg,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item-bg {
    background: linear-gradient(180deg, rgba(40, 40, 44, 0.92), rgba(18, 18, 20, 0.88));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.noesia-swa-quick-dock-icon {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--noesia-swa-quick-dock-icon-color, var(--noesia-swa-text));
}

.noesia-swa-quick-dock-item.is-colorful .noesia-swa-quick-dock-icon {
    filter: saturate(1.08);
}

.noesia-swa-quick-dock-item.is-tahoe .noesia-swa-quick-dock-icon {
    filter: saturate(1.12) brightness(1.04);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.24), 0 4px 10px rgba(0, 0, 0, 0.12);
}

.noesia-swa-quick-dock-icon .dashicons {
    width: var(--noesia-swa-quick-dock-icon-size);
    height: var(--noesia-swa-quick-dock-icon-size);
    font-size: var(--noesia-swa-quick-dock-icon-size);
    line-height: var(--noesia-swa-quick-dock-icon-size);
}

.noesia-swa-quick-dock-item:hover,
.noesia-swa-quick-dock-item:focus-visible {
    transform: translateY(-4px) scale(1.08);
}

.noesia-swa-quick-dock-item:hover .noesia-swa-quick-dock-item-bg,
.noesia-swa-quick-dock-item:focus-visible .noesia-swa-quick-dock-item-bg,
.noesia-swa-quick-dock-item.is-active .noesia-swa-quick-dock-item-bg {
    border-color: rgba(255, 255, 255, 0.62);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.noesia-swa-quick-dock-item.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.78;
}

.noesia-swa-quick-dock-item.is-dragging {
    opacity: 0.72;
}

.noesia-swa-quick-dock-item.is-drop-before::before,
.noesia-swa-quick-dock-item.is-drop-after::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 999px;
    background: var(--noesia-swa-blue);
}

.noesia-swa-quick-dock-item.is-drop-before::before {
    left: -6px;
}

.noesia-swa-quick-dock-item.is-drop-after::before {
    right: -6px;
}

.noesia-swa-quick-dock-float-tooltip {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.58);
    color: #101010;
    border: 1px solid rgba(255, 255, 255, 0.50);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.noesia-swa-quick-dock-float-tooltip::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    transform: rotate(45deg) translateY(-4px);
    background: inherit;
    border-right: 1px solid rgba(255, 255, 255, 0.40);
    border-bottom: 1px solid rgba(255, 255, 255, 0.40);
    border-radius: 3px;
}

.noesia-swa-quick-dock-float-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark .noesia-swa-quick-dock-float-tooltip,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-quick-dock-float-tooltip,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-float-tooltip,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-float-tooltip {
    background: rgba(20, 20, 24, 0.84);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 782px) {
    .noesia-swa-quick-dock {
        bottom: 10px;
    }

    .noesia-swa-quick-dock-bar {
        padding: 4px 10px;
    }

    .noesia-swa-quick-dock-viewport {
        max-width: calc(100vw - 122px);
    }
}


.noesia-swa-dock-shortcuts-card-header {
    align-items: center;
}

.noesia-swa-dock-shortcuts-helper-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.noesia-swa-dock-shortcuts-helper-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
    color: var(--noesia-swa-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.noesia-swa-dock-shortcuts-helper-text {
    font-size: 12px;
    color: var(--noesia-swa-text-muted);
}

.noesia-swa-dock-shortcuts-info-box {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--noesia-swa-border);
    background: color-mix(in srgb, var(--noesia-swa-surface-2) 88%, transparent);
}

.noesia-swa-dock-shortcuts-info-box strong {
    color: var(--noesia-swa-text);
}

.noesia-swa-dock-shortcuts-info-box p {
    margin: 8px 0 0;
}

.noesia-swa-dock-shortcuts-example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.noesia-swa-dock-shortcuts-example-pill {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
}

.noesia-swa-dock-shortcuts-example-pill strong {
    font-size: 12px;
    line-height: 1.2;
}

.noesia-swa-dock-shortcuts-example-pill code {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--noesia-swa-surface-2);
    color: var(--noesia-swa-text-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 11px;
    line-height: 1.4;
    word-break: break-all;
}

.noesia-swa-dock-shortcuts-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px dashed var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
}

.noesia-swa-dock-shortcuts-list {
    display: grid;
    gap: 12px;
}

.noesia-swa-dock-shortcuts-row {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
}

.noesia-swa-dock-shortcuts-row.is-disabled {
    opacity: 0.66;
}

.noesia-swa-dock-shortcuts-row-copy {
    min-width: 0;
}

.noesia-swa-dock-shortcuts-row-copy strong {
    display: block;
    font-size: 14px;
    color: var(--noesia-swa-text);
}

.noesia-swa-dock-shortcuts-row-copy span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: var(--noesia-swa-text-muted);
    word-break: break-word;
}

.noesia-swa-dock-shortcuts-row-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.noesia-swa-dock-shortcuts-row-actions .button {
    min-height: 34px;
    border-radius: 10px !important;
}

.noesia-swa-dock-shortcut-icon-shell {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--noesia-swa-border);
    background: var(--noesia-swa-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.noesia-swa-dock-shortcut-icon-shell.is-builtin {
    color: var(--noesia-swa-text);
}

.noesia-swa-dock-shortcut-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.noesia-swa-dock-shortcut-upload-image,
.noesia-swa-dock-shortcuts-upload-preview-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noesia-swa-dock-shortcuts-modal {
    position: fixed;
    inset: 0;
    z-index: 100002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.noesia-swa-dock-shortcuts-modal[hidden] {
    display: none !important;
}

.noesia-swa-dock-shortcuts-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(8px);
}

.noesia-swa-dock-shortcuts-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(820px, calc(100vw - 32px));
    max-height: calc(100vh - 36px);
    overflow: auto;
    padding: 22px;
    border-radius: 26px;
    border: 1px solid var(--noesia-swa-border);
    background: color-mix(in srgb, var(--noesia-swa-surface) 94%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(18px) saturate(130%);
}

.noesia-swa-dock-shortcuts-modal-header,
.noesia-swa-dock-shortcuts-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.noesia-swa-dock-shortcuts-modal-footer {
    margin-top: 18px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.noesia-swa-dock-shortcuts-modal-body {
    margin-top: 18px;
}

.noesia-swa-dock-shortcuts-icon-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.noesia-swa-dock-shortcuts-icon-mode-switch .button.is-active {
    border-color: var(--noesia-swa-blue) !important;
    color: var(--noesia-swa-blue) !important;
}

.noesia-swa-dock-shortcuts-icon-library {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
}

.noesia-swa-dock-shortcuts-icon-option {
    min-height: 88px;
    border: 1px solid var(--noesia-swa-border);
    border-radius: 18px;
    background: var(--noesia-swa-surface-2);
    color: var(--noesia-swa-text);
    display: grid;
    gap: 8px;
    align-items: center;
    justify-items: center;
    padding: 10px;
    cursor: pointer;
}

.noesia-swa-dock-shortcuts-icon-option.is-active {
    border-color: var(--noesia-swa-blue);
    box-shadow: 0 0 0 1px rgba(31, 74, 184, 0.12);
}

.noesia-swa-dock-shortcuts-icon-option-glyph .noesia-swa-dock-shortcut-icon-shell {
    width: 42px;
    height: 42px;
}

.noesia-swa-dock-shortcuts-icon-option-label {
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.noesia-swa-dock-shortcuts-upload-panel {
    display: grid;
    gap: 12px;
}

.noesia-swa-dock-shortcuts-upload-preview {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px dashed var(--noesia-swa-border);
    background: var(--noesia-swa-surface-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--noesia-swa-text-muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.noesia-swa-dock-shortcuts-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.noesia-swa-dock-shortcuts-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.noesia-swa-quick-dock-separator {
    display: inline-flex;
    width: 1px;
    align-self: stretch;
    margin: 6px 6px 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.06));
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.noesia-swa-quick-dock-separator[hidden] {
    display: none !important;
}

.noesia-swa-quick-dock-item--shortcut {
    cursor: pointer;
}

.noesia-swa-quick-dock-icon--shortcut .noesia-swa-dock-shortcut-icon-shell {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
}

.noesia-swa-quick-dock-icon--shortcut .noesia-swa-dock-shortcut-glyph {
    font-size: 11px;
    letter-spacing: 0.06em;
}

.noesia-swa-quick-dock-item.is-colorful .noesia-swa-quick-dock-icon--shortcut .noesia-swa-dock-shortcut-icon-shell.is-builtin,
.noesia-swa-quick-dock-item.is-tahoe .noesia-swa-quick-dock-icon--shortcut .noesia-swa-dock-shortcut-icon-shell.is-builtin {
    color: var(--noesia-swa-quick-dock-icon-color, var(--noesia-swa-text));
}


.noesia-swa-dock-shortcuts-card-header .noesia-swa-inline-actions {
    justify-content: flex-end;
}

.noesia-swa-dock-shortcuts-reset-note {
    margin-top: 8px;
}
/* Force contrast for custom dock shortcut icon text — Graphite + Minimal */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon *,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow:
        0 1px 0 rgba(0, 0, 0, 0.72),
        0 0 10px rgba(0, 0, 0, 0.38) !important;
}

/* Dashicons / text glyphs */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon .dashicons,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon .dashicons,
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon span,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* SVG-based custom icons */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon svg,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon svg {
    fill: #ffffff !important;
    stroke: #ffffff !important;
    filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.72)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.28));
}

/* Keep uploaded image icons unchanged */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon img,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item .noesia-swa-quick-dock-icon img {
    color: initial !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
    filter: none !important;
}

/* Stronger active dot */
.noesia-swa-admin-wrap.noesia-swa-theme-graphite .noesia-swa-quick-dock-item.is-active::after,
.noesia-swa-admin-wrap.noesia-swa-theme-minimal .noesia-swa-quick-dock-item.is-active::after {
    background: #ffffff !important;
    opacity: 0.95 !important;
}


/* Black theme hard-surface overrides. */
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-topbar,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__sidebar,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__main-head,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__notes-detail,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__split-layout,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__grid.is-cols-8,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket-card-info,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket-card-media.is-radio img,
.noesia-swa-admin-wrap.noesia-swa-theme-black.noesia-swa-sidebar-gemini-mode .noesia-swa-sidebar,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-gemini-folder,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-card,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="dashboard"] .noesia-swa-dashboard-briefing .noesia-card,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="dashboard"] .noesia-swa-dashboard-global-pulse-card,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-dashboard-news-slot .noesia-swa-dash-news-col,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-dashboard-news-slot .noesia-swa-dash-news-item,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="dashboard"] .noesia-swa-dashboard-weather #noesia-swa-weather-forecast .noesia-swa-forecast-box,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="dashboard"] .noesia-swa-dashboard-weather .noesia-swa-forecast-grid .noesia-swa-forecast-box,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-dashboard-widget[data-noesia-swa-widget="clinical-workspace-snapshot"] .noesia-swa-clinical-widget,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-dashboard-widget[data-noesia-swa-widget="clinical-workspace-snapshot"] .noesia-swa-clinical-widget--dashboard,
.noesia-swa-admin-wrap.noesia-swa-theme-black .noesia-swa-dashboard-widget[data-noesia-swa-widget="clinical-workspace-snapshot"] .noesia-swa-clinical-widget__items li,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="dashboard"] .noesia-swa-status-box,
.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="reminders"] .noesia-swa-reminders-modal__body .noesia-swa-card {
    background: #000000 !important;
    background-image: none !important;
    background-color: #000000 !important;
}
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__notes-sidebar-head,
.noesia-swa-admin-wrap.noesia-swa-theme-black #noesia-swa-smart-pocket .noesia-swa-pocket__notes-sidebar {
    background: #000000 !important;
    background-image: none !important;
    background-color: #000000 !important;
}
/* Noesia topbar: keep admin action icons vertically centered against WP core button styles. */
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar .button,
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar a.button,
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar .button.button-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar .button .dashicons,
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar a.button .dashicons,
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar .button.button-primary .dashicons,
.wp-core-ui .noesia-swa-admin-wrap .noesia-swa-topbar .noesia-swa-icon-btn .dashicons {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}