/* Settings module styles for Noesia Smart Waiter */

[data-noesia-swa-section-panel="settings"] {
    --noesia-swa-settings-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    --noesia-swa-settings-surface-soft: rgba(255, 255, 255, 0.82);
    --noesia-swa-settings-surface-strong: linear-gradient(135deg, rgba(240, 249, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 52%, rgba(239, 246, 255, 0.98) 100%);
    --noesia-swa-settings-border: rgba(148, 163, 184, 0.18);
    --noesia-swa-settings-border-strong: rgba(14, 165, 233, 0.22);
    --noesia-swa-settings-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
    --noesia-swa-settings-text: #0f172a;
    --noesia-swa-settings-muted: #475569;
    --noesia-swa-settings-accent: #0284c7;
    --noesia-swa-settings-accent-strong: #0369a1;
    --noesia-swa-settings-accent-soft: rgba(2, 132, 199, 0.08);
    --noesia-swa-settings-success: #15803d;
    --noesia-swa-settings-success-soft: rgba(34, 197, 94, 0.10);
    --noesia-swa-settings-input: rgba(255, 255, 255, 0.94);
    --noesia-swa-settings-chip: rgba(248, 250, 252, 0.98);
}

.noesia-swa-admin-wrap.noesia-swa-theme-dark [data-noesia-swa-section-panel="settings"] {
    --noesia-swa-settings-surface: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(11, 18, 32, 0.94) 100%);
    --noesia-swa-settings-surface-soft: rgba(15, 23, 42, 0.72);
    --noesia-swa-settings-surface-strong: linear-gradient(135deg, rgba(2, 6, 23, 0.98) 0%, rgba(11, 29, 49, 0.96) 50%, rgba(15, 23, 42, 0.96) 100%);
    --noesia-swa-settings-border: rgba(148, 163, 184, 0.16);
    --noesia-swa-settings-border-strong: rgba(56, 189, 248, 0.26);
    --noesia-swa-settings-shadow: 0 24px 50px rgba(2, 6, 23, 0.28);
    --noesia-swa-settings-text: #e5eef9;
    --noesia-swa-settings-muted: rgba(191, 219, 254, 0.78);
    --noesia-swa-settings-accent: #7dd3fc;
    --noesia-swa-settings-accent-strong: #38bdf8;
    --noesia-swa-settings-accent-soft: rgba(56, 189, 248, 0.12);
    --noesia-swa-settings-success: #4ade80;
    --noesia-swa-settings-success-soft: rgba(34, 197, 94, 0.14);
    --noesia-swa-settings-input: rgba(15, 23, 42, 0.72);
    --noesia-swa-settings-chip: rgba(8, 15, 27, 0.68);
}

.noesia-swa-admin-wrap.noesia-swa-theme-black [data-noesia-swa-section-panel="settings"] {
    --noesia-swa-settings-surface: linear-gradient(180deg, rgba(3, 7, 18, 0.98) 0%, rgba(7, 12, 21, 0.98) 100%);
    --noesia-swa-settings-surface-soft: rgba(7, 12, 21, 0.84);
    --noesia-swa-settings-surface-strong: linear-gradient(135deg, rgba(2, 6, 23, 1) 0%, rgba(7, 19, 33, 1) 50%, rgba(5, 10, 18, 1) 100%);
    --noesia-swa-settings-border: rgba(148, 163, 184, 0.16);
    --noesia-swa-settings-border-strong: rgba(56, 189, 248, 0.28);
    --noesia-swa-settings-shadow: 0 28px 56px rgba(0, 0, 0, 0.42);
    --noesia-swa-settings-text: #f8fbff;
    --noesia-swa-settings-muted: rgba(186, 230, 253, 0.78);
    --noesia-swa-settings-accent: #67e8f9;
    --noesia-swa-settings-accent-strong: #22d3ee;
    --noesia-swa-settings-accent-soft: rgba(34, 211, 238, 0.12);
    --noesia-swa-settings-success: #4ade80;
    --noesia-swa-settings-success-soft: rgba(74, 222, 128, 0.14);
    --noesia-swa-settings-input: rgba(6, 11, 20, 0.9);
    --noesia-swa-settings-chip: rgba(4, 10, 18, 0.92);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-section-grid {
    align-items: stretch;
    gap: 18px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-section-grid > .noesia-swa-card,
[data-noesia-swa-section-panel="settings"] .noesia-swa-section-grid > .noesia-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 26px;
    background: var(--noesia-swa-settings-surface);
    box-shadow: var(--noesia-swa-settings-shadow);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-section-grid > .noesia-swa-card::before,
[data-noesia-swa-section-panel="settings"] .noesia-swa-section-grid > .noesia-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 34%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.06), transparent 22%);
    pointer-events: none;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-hero-card {
    background: var(--noesia-swa-settings-surface-strong);
    border-color: var(--noesia-swa-settings-border-strong);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-live-card {
    border-color: color-mix(in srgb, var(--noesia-swa-settings-success) 22%, var(--noesia-swa-settings-border) 78%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card-header {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--noesia-swa-settings-border) 76%, transparent 24%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card-header h3,
[data-noesia-swa-section-panel="settings"] .noesia-swa-card-header h4 {
    margin: 0;
    color: var(--noesia-swa-settings-text);
    letter-spacing: -0.03em;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card-header p,
[data-noesia-swa-section-panel="settings"] .noesia-swa-muted {
    color: var(--noesia-swa-settings-muted);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--noesia-swa-settings-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--noesia-swa-settings-accent) 88%, transparent 12%));
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-inline-actions .button-primary {
    border-radius: 999px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-grid {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    padding: 22px 24px 24px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-group.noesia-swa-card--span2 {
    grid-column: 1 / -1;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-group {
    margin-bottom: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card label {
    display: block;
    margin-bottom: 8px;
    color: var(--noesia-swa-settings-text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card input[type="text"],
[data-noesia-swa-section-panel="settings"] .noesia-swa-card input[type="email"],
[data-noesia-swa-section-panel="settings"] .noesia-swa-card input[type="url"],
[data-noesia-swa-section-panel="settings"] .noesia-swa-card input[type="number"],
[data-noesia-swa-section-panel="settings"] .noesia-swa-card select,
[data-noesia-swa-section-panel="settings"] .noesia-swa-card textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 16px;
    background: var(--noesia-swa-settings-input);
    color: var(--noesia-swa-settings-text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card textarea {
    min-height: 112px;
    resize: vertical;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card input::placeholder,
[data-noesia-swa-section-panel="settings"] .noesia-swa-card textarea::placeholder {
    color: color-mix(in srgb, var(--noesia-swa-settings-muted) 86%, transparent 14%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-card input:focus,
[data-noesia-swa-section-panel="settings"] .noesia-swa-card select:focus,
[data-noesia-swa-section-panel="settings"] .noesia-swa-card textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--noesia-swa-settings-accent) 54%, transparent 46%);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--noesia-swa-settings-accent) 14%, transparent 86%);
    transform: translateY(-1px);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-status-box {
    position: relative;
    z-index: 1;
    margin: 0 24px 24px;
    padding: 16px 18px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 18px;
    background: var(--noesia-swa-settings-surface-soft);
    color: var(--noesia-swa-settings-text);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-status-box strong {
    display: block;
    margin-bottom: 4px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-editor {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 14px;
    padding: 22px 24px 24px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 18px;
    background: color-mix(in srgb, var(--noesia-swa-settings-surface-soft) 88%, transparent 12%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--noesia-swa-settings-border-strong);
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--noesia-swa-settings-accent) 12%, transparent 88%), transparent 30%),
        linear-gradient(180deg, color-mix(in srgb, var(--noesia-swa-settings-surface) 82%, transparent 18%) 0%, color-mix(in srgb, var(--noesia-swa-settings-surface-soft) 94%, transparent 6%) 100%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-live-card .noesia-swa-settings-consent-card {
    margin: 22px 24px 24px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-copy h4 {
    margin: 0 0 8px;
    color: var(--noesia-swa-settings-text);
    font-size: clamp(22px, 1.05rem + 0.55vw, 30px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: stretch;
    padding: 16px 18px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 20px;
    background: color-mix(in srgb, var(--noesia-swa-settings-surface-soft) 88%, transparent 12%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-copy strong {
    display: block;
    color: var(--noesia-swa-settings-text);
    font-size: 15px;
    line-height: 1.5;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-copy small {
    display: block;
    margin-top: 8px;
    color: var(--noesia-swa-settings-muted);
    font-size: 12px;
    line-height: 1.65;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    min-width: 196px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, var(--noesia-swa-settings-border-strong) 82%, transparent 18%);
    border-radius: 20px;
    background: color-mix(in srgb, var(--noesia-swa-settings-surface-soft) 82%, transparent 18%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-action-label {
    color: var(--noesia-swa-settings-text);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.8;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 2px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-ui {
    position: relative;
    width: 58px;
    height: 34px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--noesia-swa-settings-muted) 52%, transparent 48%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--noesia-swa-settings-border) 88%, transparent 12%), 0 8px 20px rgba(15, 23, 42, 0.06);
    transition: background 160ms ease, box-shadow 160ms ease;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 56px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(220, 38, 38, 0.16);
    color: #dc2626;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-status-on {
    display: none;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-ui::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%);
    transition: transform 160ms ease;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle input[type="checkbox"]:checked ~ .noesia-swa-settings-consent-toggle-ui {
    background: linear-gradient(135deg, color-mix(in srgb, var(--noesia-swa-settings-success) 88%, #22c55e 12%) 0%, color-mix(in srgb, var(--noesia-swa-settings-accent-strong) 82%, #0284c7 18%) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 0 0 4px color-mix(in srgb, var(--noesia-swa-settings-accent) 12%, transparent 88%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle input[type="checkbox"]:checked ~ .noesia-swa-settings-consent-toggle-ui::after {
    transform: translate(24px, -50%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row:has(input[type="checkbox"]:checked) .noesia-swa-settings-consent-status {
    background: var(--noesia-swa-settings-success-soft);
    border-color: color-mix(in srgb, var(--noesia-swa-settings-success) 28%, transparent 72%);
    color: var(--noesia-swa-settings-success);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row:has(input[type="checkbox"]:checked) .noesia-swa-settings-consent-status-off {
    display: none;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row:has(input[type="checkbox"]:checked) .noesia-swa-settings-consent-status-on {
    display: inline;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row--enabled .noesia-swa-settings-consent-status {
    background: var(--noesia-swa-settings-success-soft);
    border-color: color-mix(in srgb, var(--noesia-swa-settings-success) 28%, transparent 72%);
    color: var(--noesia-swa-settings-success);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row--enabled .noesia-swa-settings-consent-status-off {
    display: none;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-toggle-row--enabled .noesia-swa-settings-consent-status-on {
    display: inline;
}

@media (max-width: 960px) {
    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-row {
        grid-template-columns: 1fr;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-action {
        min-width: 0;
        width: 100%;
    }
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 999px;
    background: var(--noesia-swa-settings-chip);
    color: var(--noesia-swa-settings-text);
    font-size: 12px;
    font-weight: 700;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 12px 14px 0;
    border-top: 1px solid color-mix(in srgb, var(--noesia-swa-settings-border) 76%, transparent 24%);
    color: var(--noesia-swa-settings-muted);
    font-size: 12px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-meta strong {
    color: var(--noesia-swa-settings-text);
}

@media (max-width: 1080px) {
    [data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-grid,
    [data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-row,
    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 782px) {
    [data-noesia-swa-section-panel="settings"] .noesia-swa-card-header,
    [data-noesia-swa-section-panel="settings"] .noesia-swa-card .noesia-swa-form-grid,
    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-editor {
        padding-left: 18px;
        padding-right: 18px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-status-box {
        margin-left: 18px;
        margin-right: 18px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-card {
        padding: 18px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-live-card .noesia-swa-settings-consent-card {
        margin: 18px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}


[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tabbed-layout {
    align-items: stretch;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-workspace {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-workspace::before {
    display: none;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    min-width: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-sidebar-inner {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--noesia-swa-settings-border);
    border-radius: 24px;
    background: var(--noesia-swa-settings-surface);
    box-shadow: var(--noesia-swa-settings-shadow);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 54px;
    padding: 14px 16px;
    border: 1px solid transparent;
    border-radius: 18px;
    background: transparent;
    color: var(--noesia-swa-settings-text);
    text-align: left;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab:hover {
    border-color: color-mix(in srgb, var(--noesia-swa-settings-border-strong) 66%, transparent 34%);
    background: color-mix(in srgb, var(--noesia-swa-settings-accent-soft) 60%, transparent 40%);
    transform: translateY(-1px);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab:focus-visible {
    outline: none;
    border-color: color-mix(in srgb, var(--noesia-swa-settings-accent) 66%, transparent 34%);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--noesia-swa-settings-accent) 16%, transparent 84%);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab.is-active {
    border-color: color-mix(in srgb, var(--noesia-swa-settings-accent) 36%, var(--noesia-swa-settings-border-strong) 64%);
    background: color-mix(in srgb, var(--noesia-swa-settings-accent-soft) 82%, transparent 18%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab-label {
    display: block;
    width: 100%;
    min-width: 0;
    color: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-panels,
[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-panel {
    min-width: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-panel[hidden] {
    display: none !important;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-panel > .noesia-swa-card,
[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-panel > .noesia-card {
    height: auto;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-editor,
[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row,
[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row .noesia-swa-form-group {
    min-width: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row label {
    display: block;
    width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row input[type="text"],
[data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row input[type="url"] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

@media (max-width: 980px) {
    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-workspace {
        grid-template-columns: 1fr;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-sidebar {
        position: static;
        top: auto;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-sidebar-inner {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px;
        scrollbar-width: thin;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab {
        flex: 0 0 auto;
        width: auto;
        min-width: max-content;
        white-space: nowrap;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-tab-label {
        white-space: nowrap;
    }
}

@media (max-width: 782px) {
    [data-noesia-swa-section-panel="settings"] .noesia-swa-settings-sidebar-inner {
        margin: 0;
        border-radius: 20px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-editor {
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 16px;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row .noesia-swa-form-group {
        width: 100%;
    }

    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row input[type="text"],
    [data-noesia-swa-section-panel="settings"] .noesia-swa-bookmark-row input[type="url"] {
        font-size: 16px;
    }
}
/* Bakery Elementor Notice */
[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card {
    margin-top: 30px;
    padding: 20px;
    background: var(--noesia-swa-settings-surface-soft);
    border-left: 4px solid #8e24aa;
    border-radius: 0 6px 6px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: var(--noesia-swa-settings-text);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__header {
    margin-bottom: 12px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: var(--noesia-swa-settings-text);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__body {
    margin: 0;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__text {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--noesia-swa-settings-muted);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--noesia-swa-settings-text);
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__item + .noesia-swa-settings-help-card__item {
    margin-top: 8px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card__item code {
    font-size: 12px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-help-card--builders {
    margin-bottom: 40px;
}

[data-noesia-swa-section-panel="settings"] .noesia-swa-settings-consent-card--spaced {
    margin-top: 16px;
}