:root {
    --bg: #fbfbfa;
    --bg-subtle: #f7f6f3;
    --surface: #ffffff;
    --text: #37352f;
    --muted: rgba(55, 53, 47, 0.65);
    --muted-light: rgba(55, 53, 47, 0.45);
    --border: rgba(55, 53, 47, 0.09);
    --border-strong: rgba(55, 53, 47, 0.16);
    --primary: #37352f;
    --primary-hover: #2f2e2a;
    --primary-soft: rgba(55, 53, 47, 0.08);
    --accent: #2d6a4f;
    --accent-hover: #245a42;
    --accent-soft: rgba(45, 106, 79, 0.12);
    --danger: #e03e3e;
    --success: #0f7b6c;
    --warn: #d9730d;
    --warn-bg: rgba(217, 115, 13, 0.1);
    --radius: 6px;
    --radius-lg: 8px;
    --shadow: none;
    --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    font-size: 14px;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.5rem 0 3rem;
}

.main-sheet {
    padding-top: 12px;
    padding-bottom: 8px;
}

.container-wide {
    width: min(1400px, calc(100% - 2rem));
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
}

.header-shell {
    width: min(1400px, calc(100% - 2rem));
    margin: 0 auto;
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    min-height: 48px;
}

.header-start {
    display: none;
}

.header-end {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 7.5rem;
}

.header-export-btn {
    min-width: 7.25rem;
    justify-content: center;
}

.brand {
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.brand:hover {
    opacity: 0.75;
}

/* Tab segmentate (stile Notion) */
.app-tabs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 3px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 8px;
    justify-self: center;
    width: fit-content;
    min-width: 17.5rem;
    max-width: 100%;
}

.app-tab {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.3;
    white-space: nowrap;
    transition: background 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.app-tab:hover {
    color: var(--text);
}

.app-tab.is-active {
    background: var(--surface);
    color: var(--text);
    box-shadow: 0 1px 2px rgba(15, 15, 15, 0.06);
}

.app-tab.is-muted {
    opacity: 0.45;
    pointer-events: auto;
}

.header-export-btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 640px) {
    .header-inner {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
    }

    .brand {
        grid-column: 1;
        grid-row: 1;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .app-tabs {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        width: 100%;
    }

    .app-tab {
        flex: 1;
        justify-content: center;
    }
}

.hero { margin-bottom: 1.5rem; }
.lead { color: var(--muted); max-width: 65ch; font-size: 1.02rem; }

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.section-card { padding: 1.5rem 1.75rem; }

.section-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.section-header.compact {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.section-desc {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.92rem;
    max-width: 70ch;
}

.section-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
}

.field-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.field-column {
    font-size: 0.78rem;
    color: var(--muted);
}

.field-column code {
    font-size: 0.78rem;
}

.field-help {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 0.25rem;
}

input[type="text"],
input[type="search"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}

input:focus, select:focus, textarea:focus {
    outline: 2px solid var(--border-strong);
    border-color: var(--border-strong);
}

textarea { resize: vertical; min-height: 120px; }

.readonly-value {
    padding: 0.7rem 0.85rem;
    background: var(--bg-subtle);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    font-family: ui-monospace, monospace;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 9px 16px;
    min-height: 38px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    font: inherit;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    line-height: 1.25;
    white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-block { width: 100%; }

.btn-sm {
    padding: 8px 14px;
    min-height: 36px;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 1px 2px rgba(45, 106, 79, 0.18);
}

.btn-primary:hover:not(:disabled):not([disabled]) {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-secondary:hover:not(:disabled):not([disabled]) {
    background: var(--bg-subtle);
    border-color: rgba(55, 53, 47, 0.22);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border-strong);
}

.btn-ghost:hover:not(:disabled):not([disabled]) {
    background: var(--bg-subtle);
    border-color: rgba(55, 53, 47, 0.22);
}

.btn-primary:disabled,
.btn-primary[disabled] {
    background: #ececea;
    border-color: #ececea;
    color: var(--muted-light);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.hint, .muted { color: var(--muted); font-size: 0.92rem; }
.page-subtitle { margin-top: 0.35rem; }
.meta-list { padding-left: 1.2rem; }

.alert {
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success { background: rgba(15, 123, 108, 0.1); color: var(--success); border: 1px solid rgba(15, 123, 108, 0.2); }
.alert-error { background: rgba(224, 62, 62, 0.08); color: var(--danger); border: 1px solid rgba(224, 62, 62, 0.2); }

.alert-warn {
    background: var(--warn-bg);
    color: var(--warn);
    border: 1px solid rgba(217, 115, 13, 0.25);
}

.hero-compact { margin-bottom: 1rem; }
.hero-compact h1 { margin-bottom: 0.25rem; }

.home-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
}

.home-hero-card h1 {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.home-hero-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.home-section {
    margin-top: 0.5rem;
}

.home-section-title {
    margin: 0 0 0.75rem;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-flow-hint {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius);
    color: var(--muted);
    font-size: 13px;
}

.import-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 960px;
}

.import-card { max-width: none; }

.import-card h2 {
    margin-top: 0;
    font-size: 1rem;
    font-weight: 600;
}

.import-card .btn-primary {
    margin-top: 0.25rem;
}

.import-notice a { font-weight: 600; }

.import-back {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.steps-short { font-size: 0.95rem; }

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    min-width: min(100%, 360px);
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.form-grid {
    display: grid;
    gap: 0 1.25rem;
}

.form-grid-1 { grid-template-columns: 1fr; }
.form-grid-2 { grid-template-columns: repeat(2, 1fr); }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }

.field-wide { grid-column: span 2; }
.field-full { grid-column: 1 / -1; }

/* Product hero */
.product-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.product-hero h1 {
    margin: 0.25rem 0 0.75rem;
    font-size: 1.75rem;
    line-height: 1.25;
}

.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.85rem;
}

.chip-ok { background: #e8f5e9; border-color: #b7dfb9; }
.chip-warn { background: #fff8e1; border-color: #f0d78c; }
.chip-info { background: #e3f2fd; border-color: #90caf9; }

.summary-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.summary-value {
    display: block;
    font-size: 1.35rem;
    margin: 0.25rem 0;
}

.summary-sub {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Product layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.25rem;
    align-items: start;
}

.product-sidebar .sticky-card {
    position: sticky;
    top: 1rem;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-panel {
    background: #f8fbf8;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.info-panel h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.encoded-preview {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.variants-table-wrap {
    overflow-x: auto;
}

.variants-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.variants-table th {
    background: #f0f5f0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 0.65rem 0.5rem;
    white-space: nowrap;
}

.variants-table td {
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.variants-table small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
    margin-top: 0.2rem;
}

.table-input {
    min-width: 80px;
    padding: 0.45rem 0.5rem;
    font-size: 0.88rem;
}

.row-num {
    color: var(--muted);
    font-weight: 600;
    width: 2rem;
}

.description-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.description-preview h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
}

.html-preview {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem;
    max-height: 420px;
    overflow: auto;
    font-size: 0.92rem;
}

.parsed-block {
    background: #f8fbf8;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
}

.parsed-block h3 {
    margin: 0 0 0.75rem;
    font-size: 0.95rem;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-sep {
    margin: 0 0.35rem;
    color: var(--muted);
}

.breadcrumb-level:last-child {
    font-weight: 600;
}

.mini-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.mini-table th, .mini-table td {
    text-align: left;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 1rem;
}

.tag {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.82rem;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.image-card {
    margin: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.image-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.image-card figcaption {
    padding: 0.4rem 0.5rem;
    font-size: 0.78rem;
    color: var(--muted);
    text-align: center;
}

.technical-section summary {
    cursor: pointer;
    list-style: none;
}

.technical-section summary::-webkit-details-marker { display: none; }

.section-header-clickable {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.technical-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.25rem;
}

.raw-block {
    white-space: pre-wrap;
    word-break: break-all;
    background: #f8faf8;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.82rem;
    border: 1px solid var(--border);
    max-height: 240px;
    overflow: auto;
}

.empty-state {
    padding: 1.5rem;
    color: var(--muted);
    text-align: center;
    background: #f8fbf8;
    border-radius: 10px;
}

.warnings-box summary { cursor: pointer; font-weight: 600; }

code {
    background: #eef5ee;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-size: 0.88em;
}

/* Catalog cards */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.product-card-media {
    position: relative;
    aspect-ratio: 16/10;
    background: #eef2ee;
}

.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.visibility-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.visibility-badge.is-visible {
    background: #d8f3dc;
    color: var(--success);
}

.visibility-badge.is-hidden {
    background: #fff8e1;
    color: var(--warn);
}

.product-card-body {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
}

.product-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.product-sku {
    font-size: 0.82rem;
}

.product-brand {
    font-size: 0.8rem;
    color: var(--muted);
}

.product-card-title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.product-card-title a {
    color: var(--text);
    text-decoration: none;
}

.product-card-title a:hover {
    color: var(--primary);
}

.product-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-card-stats dt {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--muted);
    margin: 0;
}

.product-card-stats dd {
    margin: 0.15rem 0 0;
    font-weight: 700;
    font-size: 0.92rem;
}

.product-card-variants {
    font-size: 0.9rem;
}

.variant-values-preview {
    margin: 0.35rem 0 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.product-card-note {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.product-card-categories {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.product-card-categories li {
    background: #f0f5f0;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.78rem;
}

.product-card-categories .more {
    background: transparent;
    color: var(--muted);
}

.product-card-actions {
    margin-top: auto;
    padding-top: 0.5rem;
}

@media (max-width: 1100px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar .sticky-card {
        position: static;
    }

    .product-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .form-grid-2,
    .form-grid-3,
    .description-split,
    .technical-grid,
    .summary-cards {
        grid-template-columns: 1fr;
    }

    .field-wide, .field-full {
        grid-column: auto;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
    }
}

/* —— Guida utente (pagina help) —— */

.help-page {
    max-width: 880px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.help-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 1.5rem 1.75rem;
}

.help-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.help-lead {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    max-width: 36rem;
    line-height: 1.5;
}

.help-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1rem;
}

.help-toc a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

.help-toc a:hover {
    color: var(--text);
    background: var(--bg-subtle);
}

.help-section {
    margin-bottom: 1rem;
    padding: 1.35rem 1.75rem;
}

.help-section h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.help-section h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.help-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-flow li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.help-flow-step {
    flex-shrink: 0;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.help-flow p {
    margin: 0.15rem 0 0;
    color: var(--muted);
    font-size: 13px;
}

.help-callout {
    margin-top: 1.25rem;
    margin-bottom: 0;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.help-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.help-card {
    padding: 1rem 1.1rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.help-card ul {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
}

.help-card p {
    margin: 0 0 0.65rem;
    font-size: 14px;
    line-height: 1.5;
}

.help-card p:last-child {
    margin-bottom: 0;
}

.help-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.help-tags li {
    padding: 0.2rem 0.55rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
}

.help-note {
    margin-top: 1rem;
    margin-bottom: 0;
}

.help-table-wrap {
    overflow-x: auto;
    margin-bottom: 0.5rem;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.help-table th,
.help-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.help-table th {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.help-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.help-badge-ok {
    background: rgba(15, 123, 108, 0.12);
    color: var(--success);
}

.help-badge-no {
    background: rgba(224, 62, 62, 0.1);
    color: var(--danger);
}

.help-badge-warn {
    background: var(--warn-bg);
    color: var(--warn);
}

.help-checklist {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.7;
    font-size: 14px;
}

.help-faq {
    margin: 0;
}

.help-faq > div {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.help-faq > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.help-faq dt {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0.35rem;
}

.help-faq dd {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* —— Pagina export —— */

.export-page {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 2rem;
}

.export-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 1.35rem 1.75rem;
}

.export-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.export-lead {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.export-layout {
    display: grid;
    gap: 1rem;
}

.export-panel {
    padding: 1.35rem 1.75rem;
}

.export-panel h2 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.export-panel-primary {
    border-color: rgba(45, 106, 79, 0.25);
    box-shadow: 0 0 0 1px rgba(45, 106, 79, 0.08);
}

.export-meta {
    margin: 0.75rem 0 1rem;
    font-size: 14px;
    color: var(--muted);
}

.export-form {
    margin-top: 0.5rem;
}

.export-presets {
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.export-presets legend,
.export-columns legend {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted-light);
    margin-bottom: 0.65rem;
}

.export-preset-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.export-columns {
    border: none;
    margin: 0 0 1rem;
    padding: 0;
}

.export-section {
    margin-bottom: 1rem;
}

.export-section-title {
    margin: 0 0 0.5rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.export-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.35rem 0.75rem;
}

.export-check {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 14px;
    cursor: pointer;
    padding: 0.35rem 0;
}

.export-check input {
    accent-color: var(--accent);
}

.export-check-label {
    font-weight: 500;
}

.export-check-note {
    font-size: 11px;
    color: var(--muted-light);
}

.export-seo-hint {
    margin-bottom: 1rem;
}
