/* Azione Cristiana — Public Styles */

/* ── Base ───────────────────────────────────────────────────── */
.ac-form-wrap,
.ac-reserved-area,
.ac-members-area,
.ac-notices-board,
.ac-projects-list,
.ac-financial-report {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.ac-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ac-btn--primary {
    background: #1a3c5e;
    color: #fff;
    border-color: #1a3c5e;
}

.ac-btn--primary:hover {
    background: #0d2540;
    border-color: #0d2540;
}

.ac-btn--secondary {
    background: #c8a84b;
    color: #fff;
    border-color: #c8a84b;
}

.ac-btn--secondary:hover {
    background: #a8893a;
    border-color: #a8893a;
}

.ac-btn--outline {
    background: transparent;
    color: #1a3c5e;
    border-color: #1a3c5e;
}

.ac-btn--outline:hover {
    background: #1a3c5e;
    color: #fff;
}

/* ── Forms ─────────────────────────────────────────────────── */
.ac-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ac-form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-form-row--half {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.ac-form-row--half .ac-field,
.ac-form-row--third .ac-field {
    flex: 1;
    min-width: 180px;
}

.ac-form-row--third {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.ac-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ac-field label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a3c5e;
}

.ac-field input[type="text"],
.ac-field input[type="email"],
.ac-field input[type="tel"],
.ac-field input[type="number"],
.ac-field input[type="date"],
.ac-field input[type="url"],
.ac-field select,
.ac-field textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.ac-field input:focus,
.ac-field select:focus,
.ac-field textarea:focus {
    outline: none;
    border-color: #1a3c5e;
    box-shadow: 0 0 0 2px rgba(26, 60, 94, 0.15);
}

.ac-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    cursor: pointer;
}

.ac-checkbox input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* ── Form feedback ───────────────────────────────────────────── */
.ac-form-feedback {
    display: none;
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-weight: 500;
}

.ac-form-feedback.ac-success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ac-form-feedback.ac-error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── Notices board ───────────────────────────────────────────── */
.ac-notices-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ac-notice-item {
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #c8a84b;
    border-radius: 4px;
    background: #fafafa;
}

.ac-notice-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
}

.ac-notice-title {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #1a3c5e;
}

/* ── Projects grid ───────────────────────────────────────────── */
.ac-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.ac-project-card {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.ac-project-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ac-project-body {
    padding: 16px;
}

.ac-project-status {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #e8f4f8;
    color: #1a3c5e;
    padding: 2px 8px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.ac-project-title {
    margin: 0 0 8px;
    color: #1a3c5e;
}

/* ── Financial report ────────────────────────────────────────── */
.ac-finance-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.ac-finance-card {
    flex: 1;
    min-width: 160px;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ac-finance-income  { background: #d4edda; }
.ac-finance-expenses { background: #f8d7da; }
.ac-finance-balance { background: #cce5ff; }

.ac-finance-label  { font-size: 0.85rem; font-weight: 600; }
.ac-finance-amount { font-size: 1.5rem; font-weight: 700; }

.ac-expenses-table {
    width: 100%;
    border-collapse: collapse;
}

.ac-expenses-table th,
.ac-expenses-table td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
}

.ac-expenses-table th {
    background: #f0f4f8;
    font-weight: 700;
    color: #1a3c5e;
}

/* ── IBAN table ──────────────────────────────────────────────── */
.ac-bank-info {
    background: #f0f7ff;
    border: 1px solid #bee3f8;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 24px;
}

.ac-iban-table {
    width: 100%;
    border-collapse: collapse;
}

.ac-iban-table th,
.ac-iban-table td {
    padding: 6px 10px;
    text-align: left;
}

.ac-iban-table th { color: #555; }

/* ── Area cards ──────────────────────────────────────────────── */
.ac-area-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.ac-area-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 20px;
}

.ac-area-card h3 {
    color: #1a3c5e;
    margin-top: 0;
}

/* ── Misc ────────────────────────────────────────────────────── */
.ac-notice {
    padding: 12px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

.ac-empty {
    color: #666;
    font-style: italic;
}

.ac-profile-info {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.ac-profile-info li {
    padding: 4px 0;
}

.ac-youtube-link {
    margin: 16px 0;
}

.ac-youtube-link a {
    color: #cc0000;
    font-weight: 700;
}

/* ══════════════════════════════════════════════════════════════
   PHASE 1A — Progetti, Notizie, Eventi, Avvisi
   ══════════════════════════════════════════════════════════════ */

/* ── Progetti — griglia card ─────────────────────────────────── */
.ac-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.ac-project-card {
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.ac-project-card:hover {
    box-shadow: 0 4px 16px rgba(26,60,94,.12);
}

.ac-project-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ac-project-body {
    padding: 18px 20px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ac-project-cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #c8a84b;
    background: #fdf9ef;
    border: 1px solid #e8d9a0;
    border-radius: 3px;
    padding: 2px 7px;
    align-self: flex-start;
}

.ac-project-status {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    border-radius: 3px;
    padding: 2px 8px;
    align-self: flex-start;
    background: #e8edf2;
    color: #1a3c5e;
}

.ac-project-status--attivo     { background: #d4edda; color: #155724; }
.ac-project-status--completato { background: #cce5ff; color: #004085; }
.ac-project-status--sospeso    { background: #fff3cd; color: #856404; }
.ac-project-status--archiviato { background: #e9ecef; color: #555; }

.ac-project-title {
    margin: 4px 0 0;
    font-size: 1.05rem;
    color: #1a3c5e;
    font-weight: 700;
    line-height: 1.35;
}

.ac-project-desc {
    font-size: .9rem;
    color: #444;
    margin: 4px 0;
    flex: 1;
}

/* Progress bar */
.ac-project-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 4px;
}

.ac-project-progress__bar {
    flex: 1;
    height: 8px;
    background: #e0d8cc;
    border-radius: 4px;
    overflow: hidden;
}

.ac-project-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #1a3c5e, #2a6099);
    border-radius: 4px;
    transition: width .4s;
}

.ac-project-progress__label {
    font-size: .78rem;
    font-weight: 700;
    color: #1a3c5e;
    white-space: nowrap;
}

/* Importi raccolta */
.ac-project-amounts {
    font-size: .85rem;
    margin: 4px 0;
}

.ac-project-amounts__raised {
    font-weight: 700;
    color: #155724;
    font-size: .95rem;
}

.ac-project-amounts__goal {
    color: #666;
}

.ac-project-dates {
    font-size: .8rem;
    color: #888;
    margin: 2px 0;
}

.ac-project-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f0ebe3;
}

.ac-project-cta {
    font-size: .85rem;
    padding: 8px 18px;
    width: 100%;
    text-align: center;
}

/* ── Notizie — griglia card ──────────────────────────────────── */
.ac-news-list {
    max-width: 960px;
    margin: 0 auto;
}

.ac-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.ac-news-card {
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}

.ac-news-card:hover {
    box-shadow: 0 4px 16px rgba(26,60,94,.12);
}

.ac-news-card--evidenza {
    border-color: #c8a84b;
    box-shadow: 0 2px 10px rgba(200,168,75,.18);
}

.ac-news-card__image-wrap {
    display: block;
    overflow: hidden;
}

.ac-news-card__image {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.ac-news-card:hover .ac-news-card__image {
    transform: scale(1.03);
}

.ac-news-card__body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ac-news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ac-news-cat {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #1a3c5e;
    background: #e8edf2;
    border-radius: 3px;
    padding: 2px 7px;
}

.ac-news-date {
    font-size: .78rem;
    color: #888;
    margin-left: auto;
}

.ac-news-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 4px 0;
    line-height: 1.35;
}

.ac-news-card__title a {
    color: inherit;
    text-decoration: none;
}

.ac-news-card__title a:hover {
    color: #c8a84b;
}

.ac-news-card__excerpt {
    font-size: .875rem;
    color: #555;
    flex: 1;
    margin: 0;
}

.ac-news-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.ac-news-card__readmore {
    font-size: .82rem;
    font-weight: 600;
    color: #1a3c5e;
    text-decoration: none;
}

.ac-news-card__readmore:hover {
    color: #c8a84b;
}

.ac-news-card__youtube {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    color: #c00;
    text-decoration: none;
}

/* ── Eventi — lista ──────────────────────────────────────────── */
.ac-events-list {
    max-width: 800px;
    margin: 0 auto;
}

.ac-events-ul {
    list-style: none;
    padding: 0;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ac-event-item {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}

.ac-event-item:hover {
    box-shadow: 0 3px 12px rgba(26,60,94,.1);
}

.ac-event-item.ac-event-concluso {
    opacity: .65;
}

.ac-event-item.ac-event-annullato {
    opacity: .5;
    border-style: dashed;
}

/* Blocco data sinistra */
.ac-event-date-block {
    min-width: 56px;
    text-align: center;
    background: #1a3c5e;
    color: #fff;
    border-radius: 6px;
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    align-self: flex-start;
}

.ac-event-date-block--tbd {
    background: #999;
    font-size: .8rem;
    font-weight: 700;
}

.ac-event-date-block__day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
}

.ac-event-date-block__month {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.ac-event-date-block__year {
    font-size: .68rem;
    opacity: .8;
}

.ac-event-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ac-event-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ac-event-stato,
.ac-event-modalita {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 3px;
    padding: 2px 7px;
}

.ac-event-stato--programmato { background: #d4edda; color: #155724; }
.ac-event-stato--in_corso    { background: #cce5ff; color: #004085; }
.ac-event-stato--concluso    { background: #e9ecef; color: #555; }
.ac-event-stato--annullato   { background: #f8d7da; color: #721c24; }

.ac-event-modalita--presenza { background: #fdf9ef; color: #856404; border: 1px solid #e8d9a0; }
.ac-event-modalita--online   { background: #f0f7ff; color: #0056b3; border: 1px solid #b8d9f5; }
.ac-event-modalita--ibrido   { background: #f5f0ff; color: #5b31a2; border: 1px solid #cdb8f0; }

.ac-event-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0;
}

.ac-event-details {
    font-size: .85rem;
    color: #555;
    margin: 0;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.ac-event-ora,
.ac-event-luogo {
    white-space: nowrap;
}

.ac-event-excerpt {
    font-size: .875rem;
    color: #666;
    margin: 0;
}

.ac-event-cta {
    font-size: .82rem;
    padding: 7px 16px;
    align-self: flex-start;
    margin-top: 4px;
}

/* ── Avvisi — livelli e scadenza ─────────────────────────────── */
.ac-notices-board {
    max-width: 800px;
    margin: 0 auto;
}

.ac-notices-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ac-notice-item {
    padding: 16px 20px;
    border-left: 4px solid #e0d8cc;
    background: #fff;
    border-radius: 0 6px 6px 0;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ac-notice-level--importante { border-left-color: #e67e00; }
.ac-notice-level--urgente    { border-left-color: #c00; background: #fff8f8; }

.ac-notice-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.ac-notice-cat {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: #e8edf2;
    color: #1a3c5e;
    border-radius: 3px;
    padding: 2px 7px;
}

.ac-notice-cat--urgente { background: #f8d7da; color: #721c24; }
.ac-notice-cat--comunicato { background: #cce5ff; color: #004085; }
.ac-notice-cat--evento { background: #d4edda; color: #155724; }

.ac-notice-level {
    font-size: .72rem;
    font-weight: 700;
}

.ac-notice-date {
    font-size: .78rem;
    color: #888;
    margin-left: auto;
}

.ac-notice-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0 0 6px;
}

.ac-notice-content {
    font-size: .9rem;
    color: #444;
}

.ac-notice-scadenza {
    margin: 6px 0 0;
    font-size: .78rem;
    color: #888;
    font-style: italic;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 640px) {
    .ac-form-row--half,
    .ac-form-row--third {
        flex-direction: column;
    }

    .ac-form-row--half .ac-field,
    .ac-form-row--third .ac-field {
        min-width: 100%;
    }

    .ac-finance-summary {
        flex-direction: column;
    }

    /* Phase 1A responsive */
    .ac-projects-grid,
    .ac-news-grid {
        grid-template-columns: 1fr;
    }

    .ac-event-item {
        flex-direction: column;
        gap: 12px;
    }

    .ac-event-date-block {
        flex-direction: row;
        gap: 6px;
        align-self: auto;
        padding: 6px 12px;
        border-radius: 4px;
    }

    .ac-event-date-block__day   { font-size: 1.1rem; }
    .ac-event-date-block__year  { display: none; }

    .ac-notice-header {
        flex-wrap: wrap;
    }

    .ac-notice-date {
        margin-left: 0;
    }
}

/* ── Home: Vita del progetto (Phase 1A) ─────────────────────── */
.ac-vita-home__block {
    margin-top: 32px;
}

.ac-vita-home__block--mt {
    margin-top: 48px;
}

.ac-vita-home__row-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}

.ac-vita-home__subtitle {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0;
}

.ac-vita-home__link {
    font-size: .85rem;
    font-weight: 600;
    color: #c8a84b;
    text-decoration: none;
}

.ac-vita-home__link:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .ac-vita-home__row-header {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}

/* ── Phase 1B: Nota prudenziale ──────────────────────────────── */
.ac-nota-prudenziale {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff8e7;
    border: 1px solid #e0c060;
    border-left: 4px solid #e0a020;
    border-radius: 6px;
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: .92rem;
    color: #5a4200;
    line-height: 1.55;
}

.ac-nota-prudenziale__icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Phase 1B: Dati manuali trasparenza ──────────────────────── */
.ac-trasparenza-manuale {
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 32px;
}

.ac-tm-aggiornato {
    font-size: .82rem;
    color: #888;
    margin: -8px 0 20px;
    font-style: italic;
}

.ac-tm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 24px;
    align-items: start;
}

.ac-tm-col-title {
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #1a3c5e;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dce8f2;
}

.ac-tm-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 5px 0;
    border-bottom: 1px solid #f0f4f8;
    font-size: .875rem;
}

.ac-tm-row--total {
    border-top: 2px solid #1a3c5e;
    border-bottom: none;
    margin-top: 6px;
    padding-top: 8px;
    font-weight: 700;
    color: #1a3c5e;
}

.ac-tm-label { color: #555; }
.ac-tm-value { font-weight: 600; white-space: nowrap; }

.ac-tm-col--saldo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #dce8f2;
    border-radius: 8px;
    padding: 20px 16px;
    text-align: center;
}

.ac-tm-saldo {
    font-size: 1.6rem;
    font-weight: 800;
    margin-top: 8px;
}

.ac-tm-saldo--pos { color: #1a7a1a; }
.ac-tm-saldo--neg { color: #b32d2e; }

.ac-tm-nota-pubblica {
    margin-top: 20px;
    padding: 12px 16px;
    background: #fff;
    border-left: 3px solid #c8a84b;
    border-radius: 0 6px 6px 0;
    font-size: .88rem;
    color: #555;
    line-height: 1.55;
}

@media (max-width: 700px) {
    .ac-tm-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Phase 1B: Documenti ufficiali ───────────────────────────── */
.ac-documents-list {
    max-width: 900px;
    margin: 0 auto;
}

.ac-documents-group {
    margin-bottom: 36px;
}

.ac-documents-category {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3c5e;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dce8f2;
}

.ac-documents-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ac-document-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    padding: 16px 20px;
    transition: box-shadow .15s;
}

.ac-document-card:hover {
    box-shadow: 0 3px 12px rgba(26,60,94,.1);
}

.ac-document-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a3c5e;
    opacity: .65;
    margin-top: 2px;
}

.ac-document-body {
    flex: 1;
    min-width: 0;
}

.ac-document-title {
    display: block;
    font-size: .95rem;
    font-weight: 700;
    color: #1a3c5e;
    margin-bottom: 4px;
}

.ac-document-desc {
    font-size: .85rem;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.5;
}

.ac-document-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ac-document-date {
    font-size: .78rem;
    color: #999;
}

.ac-document-link {
    font-size: .82rem;
    font-weight: 600;
    color: #1a3c5e;
    text-decoration: none;
    border: 1px solid #1a3c5e;
    padding: 3px 10px;
    border-radius: 4px;
    transition: background .15s, color .15s;
}

.ac-document-link:hover {
    background: #1a3c5e;
    color: #fff;
}

.ac-document-link--unavailable {
    color: #aaa;
    border-color: #ddd;
    cursor: default;
    font-size: .78rem;
    font-style: italic;
}

/* ── Phase 1B: Perché fidarsi ─────────────────────────────────── */
.ac-perche-fidarsi {
    background: linear-gradient(135deg, #1a3c5e 0%, #0d2540 100%);
    color: #fff;
    border-radius: 10px;
    padding: 36px 40px;
    margin: 40px 0;
}

.ac-pf-title {
    font-size: 1.35rem;
    font-weight: 800;
    /* Oro brillante del brand (--ac-gold-500). Scelto dopo audit di contrasto:
       sul box navy garantisce 6.10:1 (AA pieno), mentre il gold-700 (#a87318,
       colore di "Community") rendeva solo 2.77:1 ed era poco leggibile. Agg. 2026-06-03. */
    color: #e3b85f;
    margin: 0 0 14px;
}

.ac-pf-intro {
    font-size: .95rem;
    color: rgba(255,255,255,.85);
    margin: 0 0 20px;
    line-height: 1.6;
    max-width: 680px;
}

/* Override ad alta specificità (0,2,0) per battere le regole del tema
   .ac-content-box h2 / .ac-content-box p (0,1,1) quando il box "Perché fidarsi"
   è renderizzato dentro .ac-content-box (es. pagina /trasparenza/). Agg. 2026-06-03.
   - Titolo: oro brillante --ac-gold-500 (#e3b85f) — AA 6.10:1 sul box scuro.
   - Paragrafo introduttivo: bianco, ben leggibile sul box scuro. */
.ac-perche-fidarsi .ac-pf-title { color: #e3b85f; }
.ac-perche-fidarsi .ac-pf-intro { color: #ffffff; }

.ac-pf-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 24px;
}

.ac-pf-list li {
    padding-left: 22px;
    position: relative;
    font-size: .9rem;
    color: rgba(255,255,255,.9);
    line-height: 1.5;
}

.ac-pf-list li::before {
    content: '\2714';
    position: absolute;
    left: 0;
    top: 1px;
    color: #c8a84b;
    font-size: .85rem;
}

@media (max-width: 640px) {
    .ac-perche-fidarsi {
        padding: 24px 20px;
    }

    .ac-pf-list {
        grid-template-columns: 1fr;
    }

    .ac-tm-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Admin: info box ─────────────────────────────────────────── */
.ac-admin-infobox {
    background: #f0f6ff;
    border-left: 4px solid #2271b1;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}

.ac-admin-infobox p {
    margin: 0;
    font-size: .9rem;
    color: #1d2327;
}

/* Admin: badge stato documenti */
.ac-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: .78rem;
    font-weight: 600;
}

.ac-status-pubblicato { background: #e6f4ea; color: #1a7a1a; }
.ac-status-bozza      { background: #f0f4f8; color: #666; }
.ac-status-archiviato { background: #fdf4e8; color: #8a5a00; }

/* ── Phase 2 — Area Riservata dashboard ─────────────────────── */
.ac-reserved-area {
    max-width: 960px;
    margin: 0 auto;
}

.ac-ra-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8edf2;
}

.ac-ra-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0 0 8px;
}

.ac-ra-note {
    color: #666;
    font-size: .9rem;
    margin: 0;
    max-width: 680px;
}

.ac-area-sections {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ac-area-card {
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.ac-area-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eef1f4;
}

.ac-profile-info {
    list-style: none;
    padding: 0;
    margin: 0 0 4px;
}

.ac-profile-info li {
    font-size: .88rem;
    color: #444;
    margin-bottom: 5px;
}

/* ── Phase 2 — Form newsletter ───────────────────────────────── */
.ac-newsletter-wrap {
    max-width: 540px;
    margin: 0 auto;
}

.ac-newsletter-intro {
    margin-bottom: 20px;
}

.ac-newsletter-intro p {
    color: #555;
    font-size: .95rem;
    line-height: 1.6;
}

/* ── Phase 2 — Form contatti ─────────────────────────────────── */
.ac-contact-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.ac-contact-intro {
    margin-bottom: 4px;
}

/* ── Phase 2 — Responsive ────────────────────────────────────── */
@media (max-width: 600px) {
    .ac-area-sections {
        grid-template-columns: 1fr;
    }
}

.ac-row-actions { white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════
   PHASE 3 — Donazioni, Campagne, FAQ, Stato Progetto, Sponsor
   ══════════════════════════════════════════════════════════════ */

/* ── Buttons Phase 3 ─────────────────────────────────────────── */
.ac-btn--gold {
    background: #c8a84b;
    color: #fff;
    border-color: #c8a84b;
}
.ac-btn--gold:hover {
    background: #a8893a;
    border-color: #a8893a;
    color: #fff;
}
.ac-btn--ghost {
    background: transparent;
    color: #1a3c5e;
    border-color: #1a3c5e;
}
.ac-btn--ghost:hover {
    background: #1a3c5e;
    color: #fff;
}
.ac-btn--small {
    padding: 6px 14px;
    font-size: .85rem;
}

/* ── Form generic (Phase 3 forms) ────────────────────────────── */
.ac-form-label {
    display: block;
    font-weight: 600;
    font-size: .9rem;
    color: #1a3c5e;
    margin-bottom: 4px;
}
.ac-form-input,
.ac-form-textarea {
    display: block;
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: .97rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}
.ac-form-input:focus,
.ac-form-textarea:focus {
    outline: none;
    border-color: #1a3c5e;
    box-shadow: 0 0 0 2px rgba(26,60,94,.12);
}
.ac-form-textarea { resize: vertical; }
.ac-form-group { margin-bottom: 16px; }
.ac-form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .ac-form-row--2col { grid-template-columns: 1fr; }
}
.ac-form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .9rem;
}
.ac-form-check-input { flex-shrink: 0; margin-top: 3px; }
.ac-form-check-label { cursor: pointer; }
.ac-form-message {
    padding: 12px 16px;
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 16px;
}
.ac-form-message--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.ac-form-message--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ── Badges ──────────────────────────────────────────────────── */
.ac-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 2px 8px;
    border-radius: 20px;
    vertical-align: middle;
}
.ac-badge--active  { background: #d4edda; color: #155724; }
.ac-badge--pending { background: #fff3cd; color: #856404; }
.ac-badge--warning { background: #ffe0b2; color: #7a3700; }
.ac-badge--closed  { background: #e9ecef; color: #555; }
.ac-badge--done    { background: #cce5ff; color: #004085; }
.ac-badge--default { background: #f0f4f8; color: #666; }

/* ── Donation page ───────────────────────────────────────────── */
.ac-donation-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.ac-donation-hero {
    text-align: center;
    padding: 40px 20px 30px;
    background: linear-gradient(135deg, #1a3c5e 0%, #2a6099 100%);
    border-radius: 10px;
    color: #fff;
    margin-bottom: 28px;
}
.ac-donation-hero h1 { color: #fff; margin: 0 0 8px; font-size: 1.8rem; }
.ac-donation-hero p  { color: rgba(255,255,255,.88); margin: 0; font-size: 1rem; }
.ac-donation-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #c8a84b;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: .875rem;
    color: #5a4200;
    margin-bottom: 24px;
    line-height: 1.55;
}
.ac-donation-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}
.ac-donation-info-card {
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.ac-donation-info-card-icon { font-size: 1.5rem; margin-bottom: 8px; }
.ac-donation-info-card h3   { font-size: .85rem; font-weight: 700; color: #1a3c5e; margin: 0 0 4px; }
.ac-donation-info-card p    { font-size: .78rem; color: #666; margin: 0; line-height: 1.45; }
.ac-donation-status-notice {
    background: #e8f4f8;
    border: 1px solid #b8d9f5;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: .875rem;
    color: #004080;
    margin-bottom: 20px;
}
.ac-donation-form-section {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ac-donation-form-section h2 {
    font-size: 1.15rem;
    color: #1a3c5e;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8edf2;
}
.ac-amount-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 4px;
}
.ac-amount-btn {
    padding: 8px 18px;
    border: 2px solid #1a3c5e;
    border-radius: 20px;
    background: transparent;
    color: #1a3c5e;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.ac-amount-btn:hover,
.ac-amount-btn.is-active {
    background: #1a3c5e;
    color: #fff;
}
.ac-donation-bank {
    background: #f0f7ff;
    border: 1px solid #bee3f8;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
}
.ac-donation-bank h3 { color: #004080; margin: 0 0 12px; font-size: 1rem; }
.ac-donation-distinctions {
    margin-bottom: 24px;
}
.ac-donation-distinctions h3 { color: #1a3c5e; font-size: 1rem; margin: 0 0 12px; }
.ac-donation-distinctions ul {
    margin: 0;
    padding-left: 20px;
    font-size: .875rem;
    color: #555;
    line-height: 1.7;
}
.ac-donation-fiscal {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: .82rem;
    color: #5a4200;
    line-height: 1.55;
    margin-bottom: 24px;
}
.ac-donation-types {
    margin-bottom: 24px;
}
.ac-donation-types h3 { color: #1a3c5e; font-size: 1rem; margin: 0 0 12px; }
.ac-donation-type-item {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    font-size: .88rem;
    color: #444;
}
.ac-donation-type-item strong { color: #1a3c5e; min-width: 120px; }
@media (max-width: 620px) {
    .ac-donation-form-section { padding: 20px 16px; }
    .ac-donation-type-item    { flex-direction: column; gap: 4px; }
}

/* ── Campaigns list ──────────────────────────────────────────── */
.ac-campagne-wrap {
    max-width: 960px;
    margin: 0 auto;
}
.ac-campagne-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: .85rem;
    color: #5a4200;
    margin-bottom: 24px;
}
.ac-campagne-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}
.ac-campaign-card {
    background: #fff;
    border: 1px solid #e0d8cc;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0,0,0,.06);
    transition: box-shadow .2s;
}
.ac-campaign-card:hover { box-shadow: 0 4px 16px rgba(26,60,94,.12); }
.ac-campaign-card.ac-campaign-conclusa,
.ac-campaign-card.ac-campaign-rendicontata { opacity: .88; }
.ac-campaign-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.ac-campaign-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.ac-campaign-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: space-between;
}
.ac-campaign-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0;
    line-height: 1.3;
}
.ac-campaign-desc {
    font-size: .875rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}
.ac-campaign-progress-wrap { display: flex; flex-direction: column; gap: 6px; }
.ac-campaign-progress {
    width: 100%;
    height: 10px;
    background: #e8edf2;
    border-radius: 5px;
    overflow: hidden;
}
.ac-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c8a84b, #e8c870);
    border-radius: 5px;
    transition: width .5s;
    min-width: 2px;
}
.ac-campaign-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #666;
    margin: 0;
}
.ac-campaign-raised { font-size: .95rem; }
.ac-campaign-goal   { margin-left: auto; }
.ac-campaign-perc   { font-weight: 700; color: #1a3c5e; }
.ac-campaign-raised-free { font-size: .95rem; color: #155724; font-weight: 600; margin: 0; }
.ac-campaign-dates  { font-size: .8rem; color: #888; margin: 0; display: flex; gap: 8px; }
.ac-campaign-rendicontazione {
    background: #f0f7ff;
    border-left: 3px solid #0d6efd;
    padding: 8px 12px;
    font-size: .82rem;
    color: #004080;
    border-radius: 0 4px 4px 0;
}
.ac-campaign-rendicontazione-note { margin: 0; font-size: .8rem; color: #888; }
.ac-campaign-rendiconto-mini {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .82rem;
    color: #555;
}
.ac-campagne-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}
.ac-campagne-cta {
    text-align: center;
    padding: 28px 20px;
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.ac-campagne-cta p { margin: 0; color: #555; }
.ac-campagne-cta .ac-btn + .ac-btn { margin-left: 10px; }
@media (max-width: 480px) {
    .ac-campagne-grid         { grid-template-columns: 1fr; }
    .ac-campagne-cta .ac-btn  { display: block; margin: 4px 0; width: 100%; text-align: center; }
    .ac-campagne-cta .ac-btn + .ac-btn { margin-left: 0; }
}

/* ── FAQ accordion ───────────────────────────────────────────── */
.ac-faq-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.ac-faq-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}
.ac-faq-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0f4f8;
    border: 1px solid #dce8f2;
    border-radius: 20px;
    font-size: .82rem;
    font-weight: 600;
    color: #1a3c5e;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.ac-faq-nav__link:hover {
    background: #1a3c5e;
    color: #fff;
    border-color: #1a3c5e;
}
.ac-faq-nav__count {
    background: #1a3c5e;
    color: #fff;
    border-radius: 10px;
    padding: 0 6px;
    font-size: .7rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}
.ac-faq-nav__link:hover .ac-faq-nav__count {
    background: #fff;
    color: #1a3c5e;
}
.ac-faq-section { margin-bottom: 36px; }
.ac-faq-category-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8edf2;
}
.ac-faq-list { display: flex; flex-direction: column; gap: 4px; }
.ac-faq-item {
    border: 1px solid #e0e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s;
}
.ac-faq-item--open { box-shadow: 0 2px 10px rgba(26,60,94,.1); border-color: #aac8e8; }
.ac-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: .95rem;
    font-weight: 600;
    color: #1a3c5e;
    transition: background .15s;
}
.ac-faq-question:hover    { background: #f0f4f8; }
.ac-faq-item--open .ac-faq-question { background: #e8f0f8; }
.ac-faq-question-text { flex: 1; }
.ac-faq-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 400;
    color: #c8a84b;
    border: 1px solid #c8a84b;
    border-radius: 50%;
    line-height: 1;
}
.ac-faq-answer { border-top: 1px solid #e0e8f0; }
.ac-faq-answer-inner {
    padding: 16px 20px;
    font-size: .9rem;
    color: #444;
    line-height: 1.65;
}
.ac-faq-answer-inner p:last-child { margin-bottom: 0; }
.ac-faq-answer-inner a { color: #1a3c5e; }
.ac-faq-footer {
    text-align: center;
    padding: 28px 20px;
    margin-top: 8px;
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
}
.ac-faq-footer p { margin: 0 0 12px; color: #555; }
.ac-faq-empty { color: #888; font-style: italic; padding: 20px 0; }

/* ── Project status page ─────────────────────────────────────── */
.ac-project-status-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.ac-ps-section { margin-bottom: 36px; }
.ac-ps-status-hero {
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    padding: 24px 28px;
}
.ac-ps-status-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ac-ps-status-icon { font-size: 1.5rem; line-height: 1; }
.ac-ps-status-label {
    font-size: .82rem;
    color: #888;
    margin: 0 0 2px;
}
.ac-ps-status-value { font-size: 1.2rem; font-weight: 700; }
.ac-ps-public-note {
    margin-top: 14px;
    padding: 10px 16px;
    background: #fff;
    border-left: 3px solid #c8a84b;
    border-radius: 0 4px 4px 0;
    font-size: .9rem;
    color: #555;
}
.ac-ps-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3c5e;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8edf2;
}
/* Timeline */
.ac-ps-timeline { display: flex; flex-direction: column; gap: 0; }
.ac-ps-step {
    display: flex;
    gap: 18px;
    position: relative;
    padding-bottom: 24px;
}
.ac-ps-step:last-child { padding-bottom: 0; }
.ac-ps-step-dot {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin-top: 3px;
    border: 3px solid #ccc;
    background: #fff;
    position: relative;
    z-index: 1;
}
.ac-ps-step--done .ac-ps-step-dot   { border-color: #198754; background: #198754; }
.ac-ps-step--active .ac-ps-step-dot { border-color: #0d6efd; background: #e8f0ff; }
.ac-ps-step::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 21px;
    bottom: 0;
    width: 2px;
    background: #e0e8f0;
}
.ac-ps-step:last-child::before { display: none; }
.ac-ps-step-body { flex: 1; }
.ac-ps-step-body strong { font-size: .97rem; color: #1a3c5e; display: block; margin-bottom: 4px; }
.ac-ps-step-body p { font-size: .87rem; color: #555; margin: 0; line-height: 1.55; }
.ac-ps-step--done   .ac-ps-step-body strong { color: #155724; }
.ac-ps-step--active .ac-ps-step-body strong { color: #0d6efd; }
.ac-ps-step--pending .ac-ps-step-body { opacity: .75; }
/* Table */
.ac-ps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.ac-ps-table th,
.ac-ps-table td { padding: 10px 12px; border-bottom: 1px solid #e8edf2; }
.ac-ps-table th { width: 40%; font-weight: 600; color: #555; text-align: left; background: #f8fafc; }
.ac-ps-table td { color: #444; }
/* Avvertenze */
.ac-ps-avvisi { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 20px 24px; }
.ac-ps-avvisi-list {
    margin: 0;
    padding-left: 20px;
    line-height: 1.65;
    font-size: .88rem;
    color: #5a4200;
}
.ac-ps-avvisi-list li { margin-bottom: 8px; }
.ac-ps-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    padding: 24px 0 0;
}

/* ── Sponsor form section ─────────────────────────────────────── */
.ac-se-form-section {
    background: #fff;
    border: 1px solid #e0e8f0;
    border-radius: 10px;
    padding: 28px 32px;
    margin-top: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.ac-se-form-section h2 {
    font-size: 1.15rem;
    color: #1a3c5e;
    margin: 0 0 8px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8edf2;
}
.ac-se-form-intro  { font-size: .9rem; color: #555; margin-bottom: 20px; line-height: 1.6; }
.ac-se-form-note   { font-size: .8rem; color: #888; margin-top: 12px; }
@media (max-width: 620px) {
    .ac-se-form-section { padding: 20px 16px; }
}

/* ── Negozio distinzioni ─────────────────────────────────────── */
.ac-ns-distinzioni {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 24px;
}
.ac-ns-distinzioni-title { font-size: .97rem; font-weight: 700; color: #5a4200; margin: 0 0 10px; }
.ac-ns-distinzioni-list {
    margin: 0 0 10px;
    padding-left: 20px;
    font-size: .875rem;
    color: #5a4200;
    line-height: 1.65;
}
.ac-ns-distinzioni-link { font-size: .85rem; margin: 6px 0 0; }
.ac-ns-distinzioni-link a { color: #c8a84b; font-weight: 600; }

/* ── Transparency Phase 3 enhancements ───────────────────────── */
.ac-expense-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.ac-expense-cat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #f0f4f8;
    border: 1px solid #dce8f2;
    border-radius: 20px;
    font-size: .8rem;
}
.ac-expense-cat-name  { color: #555; }
.ac-expense-cat-total { font-weight: 700; color: #1a3c5e; }
.ac-expense-nota      { color: #888; font-style: italic; }
.ac-td-legal-note {
    background: #f8fafc;
    border: 1px solid #e0e8f0;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: .8rem;
    color: #888;
    line-height: 1.55;
    margin-top: 28px;
}
.ac-td-legal-note p { margin: 0; }

/* ── Trasparenza: dettaglio voci registro movimenti (Modulo Economia) ── */
.ac-eco-pub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
    margin: 18px 0 6px;
}
.ac-eco-pub-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.ac-eco-pub-label { color: #4c6174; }
.ac-eco-pub-val { font-weight: 700; white-space: nowrap; }
@media (max-width: 640px) {
    .ac-eco-pub-grid { grid-template-columns: 1fr; }
}
