.hucial-sites {
    max-width: 1180px;
    margin: 0 auto 36px;
    padding: 0 12px;
    color: #171B1D;
}

.hucial-sites__header {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px 0;
}

.hucial-sites__header--compact { align-items: center; }
.hucial-sites__header h1,
.hucial-sites__header h2 { margin-top: 0; }
.hucial-sites__primary-action { white-space: nowrap; }
.hucial-sites__quota { color: #667176; }

.hucial-sites__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.hucial-sites-card,
.hucial-sites-panel,
.hucial-sites-empty,
.hucial-sites-block,
.hucial-sites-page-row {
    background: #FFFFFF;
    border: 1px solid #DDE3E3;
    border-radius: 12px;
    padding: 18px;
}

.hucial-sites-card__topline,
.hucial-sites-page-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
}

.hucial-sites-card__topline h2,
.hucial-sites-page-row h3 { margin: 0; }
.hucial-sites-card__url { overflow-wrap: anywhere; font-weight: 600; }
.hucial-sites-panel { margin: 18px 0; }
.hucial-sites-panel > h2 { margin-top: 0; }
.hucial-sites-page-list { display: grid; gap: 12px; }
.hucial-sites-page-row { padding: 14px; }

.hucial-sites-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9em;
    background: #DDE3E3;
    color: #171B1D;
}
.hucial-sites-badge--published { background: #007C78; color: #FFFFFF; }
.hucial-sites-badge--draft { background: #DDE3E3; color: #171B1D; }

.hucial-sites-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.hucial-sites-actions form { margin: 0; }
.hucial-sites-actions--footer { margin-top: 22px; }

.hucial-sites-form fieldset {
    border: 1px solid #DDE3E3;
    border-radius: 12px;
    margin: 18px 0;
    padding: 16px;
}
.hucial-sites-form legend { font-weight: 700; padding: 0 6px; }
.hucial-sites-vanity-field { display: flex; align-items: center; gap: 6px; }
.hucial-sites-vanity-field .inputbox { max-width: 320px; }
.hucial-sites-blocks { display: grid; gap: 14px; }
.hucial-sites-block { margin: 0 0 14px; background: #F5F7F7; }
.hucial-sites-block__toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

.hucial-sites .button1,
.hucial-sites .button2,
.hucial-sites button,
.hucial-sites a:focus,
.hucial-sites input:focus,
.hucial-sites textarea:focus,
.hucial-sites select:focus {
    outline-offset: 2px;
}

@media (max-width: 700px) {
    .hucial-sites__header,
    .hucial-sites-card__topline,
    .hucial-sites-page-row {
        display: block;
    }
    .hucial-sites__primary-action { display: inline-block; margin-top: 10px; }
    .hucial-sites-actions { margin-top: 10px; }
    .hucial-sites-vanity-field { align-items: flex-start; flex-direction: column; }
}

.hucial-sites-leads { display: grid; gap: 12px; }
.hucial-sites-lead {
    border: 1px solid #DDE3E3;
    border-radius: 10px;
    padding: 14px;
    background: #F5F7F7;
}
.hucial-sites-lead h3 { margin-top: 0; }
.hucial-sites-lead__message { white-space: pre-line; }
.hucial-sites-lead__meta { color: #667176; margin-bottom: 0; }


/* HUCIAL Sites 1.0.5 — catalogue public */
.hucial-sites-public__actions {
    justify-content: flex-end;
}

.hucial-sites-public-card h3 {
    margin: 0 0 8px;
    font-size: 1.35em;
}

.hucial-sites-public-card h3 a {
    color: #007C78;
    text-decoration: none;
}

.hucial-sites-public-card h3 a:hover,
.hucial-sites-public-card h3 a:focus {
    color: #171B1D;
    text-decoration: underline;
}

.hucial-sites-public-card__tagline {
    margin: 0 0 10px;
    color: #171B1D;
    font-weight: 700;
}

.hucial-sites-public-card__meta {
    color: #667176;
    font-size: .95em;
}

@media (max-width: 700px) {
    .hucial-sites-public__actions {
        justify-content: flex-start;
        margin-top: 10px;
    }
}

.hucial-sites-tools { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 20px; }
.hucial-media-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:14px; }
.hucial-media-thumb { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:10px; border:1px solid #DDE3E3; }
.hucial-seo-preview { margin:14px 0; padding:14px; border:1px solid #DDE3E3; border-radius:10px; background:#F5F7F7; max-width:680px; }
.hucial-seo-preview strong { color:#171B1D; }
.hucial-sites-lead__status { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.hucial-sites-nav-editor { display:grid; gap:12px; }
#form-fields { display:grid; gap:12px; }
#form-fields fieldset { border:1px solid #DDE3E3; border-radius:10px; padding:14px; }


/* HUCIAL Sites 1.2.0 */
.hucial-audit-score{display:flex;align-items:center;gap:18px;padding:22px;margin:16px 0;border:2px solid #DDE3E3;background:#fff}.hucial-audit-score strong{font-size:2.2em;color:#007C78}.hucial-audit-score.is-warning{border-color:#FF6257}.hucial-audit-score.is-bad{border-color:#C9363E}.hucial-sites-note{padding:14px;border-left:4px solid #007C78;background:#F5F7F7}.hucial-sites-panel code{overflow-wrap:anywhere}.hucial-sites-form fieldset{margin-bottom:18px}


/* HUCIAL Sites 1.4.0 — accueil public */
.hucial-sites-public__hero {
    padding: 24px;
    border: 1px solid #DDE3E3;
    border-radius: 14px;
    background: #FFFFFF;
}

.hucial-sites-public__hero-copy {
    max-width: 760px;
}

.hucial-sites-public__hero h1 {
    margin-bottom: 10px;
    line-height: 1.12;
}

.hucial-sites-public__hero-copy > p {
    margin: 0;
    max-width: 68ch;
    color: #667176;
    font-size: 1.08em;
    line-height: 1.55;
}

.hucial-sites-public__directory {
    margin-top: 28px;
}

.hucial-sites-public__section-heading {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hucial-sites-public__section-heading h2 {
    margin: 0 0 6px;
}

.hucial-sites-public__section-heading > div > p,
.hucial-sites-public__section-heading .hucial-sites__quota {
    margin: 0;
}

.hucial-sites-public__section-heading > div > p {
    color: #667176;
}

.hucial-sites-public-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}


.hucial-sites-public-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 12px;
    line-height: 1.5;
}

.hucial-sites-public-card .hucial-sites-card__url {
    margin-top: auto;
    margin-bottom: 8px;
    font-size: .96em;
}

.hucial-sites-public-card__meta {
    margin: 0 0 14px;
}

.hucial-sites-public-card__action {
    margin: 0;
}

@media (max-width: 700px) {
    .hucial-sites-public__hero {
        padding: 18px;
    }

    .hucial-sites-public__section-heading {
        display: block;
    }

    .hucial-sites-public__section-heading .hucial-sites__quota {
        margin-top: 8px;
    }
}

/* HUCIAL Sites 1.6.1 — accueil public professionnel */
.hucial-sites-public {
    --hucial-sites-accent: #007C78;
    --hucial-sites-accent-strong: #006864;
    --hucial-sites-ink: #171B1D;
    --hucial-sites-muted: #667176;
    --hucial-sites-surface: #FFFFFF;
    --hucial-sites-canvas: #F5F7F7;
    --hucial-sites-border: #DDE3E3;
}

.hucial-sites-public__hero {
    position: relative;
    overflow: hidden;
    display: block;
    margin: 28px 0 0;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--hucial-sites-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 92% 10%, rgba(0, 168, 159, .11), rgba(255, 255, 255, 0) 25%),
        linear-gradient(135deg, rgba(0, 124, 120, .08), rgba(255, 255, 255, 0) 48%),
        var(--hucial-sites-surface);
    box-shadow: 0 14px 34px rgba(16, 20, 23, .07);
}

.hucial-sites-public__hero-copy {
    max-width: 820px;
}

.hucial-sites-public__eyebrow {
    margin: 0 0 10px;
    color: var(--hucial-sites-accent);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hucial-sites-public__hero h1 {
    max-width: 16ch;
    margin: 0 0 16px;
    color: var(--hucial-sites-ink);
    font-size: clamp(2.35rem, 5vw, 4.45rem);
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.hucial-sites-public__lead {
    max-width: 66ch;
    margin: 0;
    color: var(--hucial-sites-muted);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.65;
}

.hucial-sites-public__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 24px;
}

.hucial-sites-public .hucial-sites-cta {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid transparent;
    border-radius: 11px;
    padding: 11px 18px;
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.hucial-sites-public a.hucial-sites-cta--primary,
.hucial-sites-public a.hucial-sites-cta--primary:link,
.hucial-sites-public a.hucial-sites-cta--primary:visited {
    border-color: var(--hucial-sites-accent);
    background: var(--hucial-sites-accent);
    color: #FFFFFF;
    box-shadow: 0 8px 18px rgba(0, 124, 120, .18);
}

.hucial-sites-public a.hucial-sites-cta--primary:hover,
.hucial-sites-public a.hucial-sites-cta--primary:focus {
    border-color: var(--hucial-sites-accent-strong);
    background: var(--hucial-sites-accent-strong);
    color: #FFFFFF;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 104, 100, .22);
}

.hucial-sites-public a.hucial-sites-cta--secondary,
.hucial-sites-public a.hucial-sites-cta--secondary:link,
.hucial-sites-public a.hucial-sites-cta--secondary:visited,
.hucial-sites-public a.hucial-sites-cta--card,
.hucial-sites-public a.hucial-sites-cta--card:link,
.hucial-sites-public a.hucial-sites-cta--card:visited {
    border-color: var(--hucial-sites-accent);
    background: #FFFFFF;
    color: var(--hucial-sites-accent-strong);
}

.hucial-sites-public a.hucial-sites-cta--secondary:hover,
.hucial-sites-public a.hucial-sites-cta--secondary:focus,
.hucial-sites-public a.hucial-sites-cta--card:hover,
.hucial-sites-public a.hucial-sites-cta--card:focus {
    background: #F0F8F7;
    color: var(--hucial-sites-ink);
    text-decoration: none;
}

.hucial-sites-public a.hucial-sites-cta--text {
    min-height: 42px;
    padding-inline: 8px;
    color: var(--hucial-sites-accent-strong);
    box-shadow: none;
}

.hucial-sites-public a.hucial-sites-cta--text:hover,
.hucial-sites-public a.hucial-sites-cta--text:focus {
    color: var(--hucial-sites-ink);
    text-decoration: underline;
}

.hucial-sites-public__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 24px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--hucial-sites-border);
    list-style: none;
    color: var(--hucial-sites-ink);
    font-size: .96rem;
    font-weight: 700;
}

.hucial-sites-public__trust li {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.hucial-sites-public__trust-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EAF6F5;
}

.hucial-sites-public__trust-icon::after {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 5px;
    height: 9px;
    border-right: 2px solid var(--hucial-sites-accent-strong);
    border-bottom: 2px solid var(--hucial-sites-accent-strong);
    content: "";
    transform: rotate(45deg);
}

.hucial-sites-public__features,
.hucial-sites-public__benefits,
.hucial-sites-public__faq {
    margin-top: 46px;
}

.hucial-sites-public__features-heading {
    max-width: 760px;
    margin-bottom: 18px;
}

.hucial-sites-public__features-heading h2,
.hucial-sites-public__section-heading h2,
.hucial-sites-public__final-cta h2 {
    margin: 0 0 8px;
    color: var(--hucial-sites-ink);
    font-size: clamp(1.8rem, 3.4vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.hucial-sites-public__features-heading p,
.hucial-sites-public__section-heading > div > p,
.hucial-sites-public__final-cta p {
    margin: 0;
    color: var(--hucial-sites-muted);
    font-size: 1.03rem;
    line-height: 1.58;
}

.hucial-sites-public__feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hucial-sites-public__feature {
    display: flex;
    min-width: 0;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid var(--hucial-sites-border);
    border-radius: 16px;
    background: var(--hucial-sites-surface);
}

.hucial-sites-public__feature-number {
    display: inline-flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #EAF6F5;
    color: var(--hucial-sites-accent-strong);
    font-weight: 800;
}

.hucial-sites-public__feature h3,
.hucial-sites-public__benefit h3 {
    margin: 0 0 7px;
    color: var(--hucial-sites-ink);
    font-size: 1.18rem;
    line-height: 1.25;
}

.hucial-sites-public__feature p,
.hucial-sites-public__benefit p {
    margin: 0;
    color: var(--hucial-sites-muted);
    line-height: 1.55;
}

.hucial-sites-public__benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.hucial-sites-public__benefit {
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--hucial-sites-border);
    border-radius: 16px;
    background: linear-gradient(180deg, #FFFFFF, #FBFCFC);
}

.hucial-sites-public__benefit-icon {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 38px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: #EAF6F5;
}

.hucial-sites-public__benefit-icon::before,
.hucial-sites-public__benefit-icon::after {
    position: absolute;
    content: "";
}

.hucial-sites-public__benefit-icon--address::before {
    top: 9px;
    left: 10px;
    width: 16px;
    height: 18px;
    border: 2px solid var(--hucial-sites-accent-strong);
    border-radius: 4px;
}
.hucial-sites-public__benefit-icon--address::after {
    top: 14px;
    left: 14px;
    width: 8px;
    height: 2px;
    background: var(--hucial-sites-accent-strong);
    box-shadow: 0 5px 0 var(--hucial-sites-accent-strong);
}

.hucial-sites-public__benefit-icon--seo::before {
    top: 10px;
    left: 9px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--hucial-sites-accent-strong);
    border-radius: 50%;
}
.hucial-sites-public__benefit-icon--seo::after {
    top: 25px;
    left: 25px;
    width: 8px;
    height: 2px;
    background: var(--hucial-sites-accent-strong);
    transform: rotate(45deg);
    transform-origin: left center;
}

.hucial-sites-public__benefit-icon--languages::before {
    top: 9px;
    left: 8px;
    width: 22px;
    height: 20px;
    border: 2px solid var(--hucial-sites-accent-strong);
    border-radius: 50%;
}
.hucial-sites-public__benefit-icon--languages::after {
    top: 18px;
    left: 10px;
    width: 18px;
    height: 2px;
    background: var(--hucial-sites-accent-strong);
    box-shadow: 0 -5px 0 -1px var(--hucial-sites-accent-strong), 0 5px 0 -1px var(--hucial-sites-accent-strong);
}

.hucial-sites-public__benefit-icon--versions::before {
    top: 10px;
    left: 10px;
    width: 17px;
    height: 17px;
    border: 2px solid var(--hucial-sites-accent-strong);
    border-radius: 50%;
}
.hucial-sites-public__benefit-icon--versions::after {
    top: 14px;
    left: 18px;
    width: 2px;
    height: 8px;
    background: var(--hucial-sites-accent-strong);
    box-shadow: 3px 6px 0 -0.5px var(--hucial-sites-accent-strong);
    transform-origin: bottom center;
}

.hucial-sites-public__directory {
    margin-top: 50px;
    scroll-margin-top: 90px;
}

.hucial-sites-public__section-heading {
    display: flex;
    gap: 18px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
}

.hucial-sites-public__section-heading .hucial-sites__quota {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 34px;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--hucial-sites-border);
    border-radius: 999px;
    background: var(--hucial-sites-canvas);
    color: var(--hucial-sites-muted);
    font-size: .9rem;
    font-weight: 700;
}

.hucial-sites-public__grid {
    gap: 18px;
}

.hucial-sites-public-card {
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 8px 22px rgba(16, 20, 23, .045);
}

.hucial-sites-public-card h3 {
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--hucial-sites-border);
    font-size: 1.35rem;
    line-height: 1.25;
    text-transform: none;
}

.hucial-sites-public-card h3 a {
    color: var(--hucial-sites-accent);
}

.hucial-sites-public-card__tagline {
    margin-bottom: 8px;
    line-height: 1.45;
}

.hucial-sites-public-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 12px;
    color: var(--hucial-sites-ink);
    line-height: 1.55;
}

.hucial-sites-public-card .hucial-sites-card__url {
    margin-top: auto;
    margin-bottom: 8px;
    color: var(--hucial-sites-accent-strong);
    font-size: .94rem;
}

.hucial-sites-public-card__meta {
    margin: 0 0 14px;
    color: var(--hucial-sites-muted);
    font-size: .92rem;
}

.hucial-sites-public-card__action {
    margin: 2px 0 0;
}

.hucial-sites-public__faq-list {
    display: grid;
    gap: 10px;
    max-width: 900px;
}

.hucial-sites-public__faq-list details {
    overflow: hidden;
    border: 1px solid var(--hucial-sites-border);
    border-radius: 13px;
    background: var(--hucial-sites-surface);
}

.hucial-sites-public__faq-list summary {
    position: relative;
    padding: 16px 48px 16px 18px;
    color: var(--hucial-sites-ink);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    list-style: none;
}

.hucial-sites-public__faq-list summary::-webkit-details-marker {
    display: none;
}

.hucial-sites-public__faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--hucial-sites-accent-strong);
    border-bottom: 2px solid var(--hucial-sites-accent-strong);
    content: "";
    transform: translateY(-65%) rotate(45deg);
    transition: transform .16s ease;
}

.hucial-sites-public__faq-list details[open] summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.hucial-sites-public__faq-list details p {
    margin: 0;
    padding: 0 18px 18px;
    color: var(--hucial-sites-muted);
    line-height: 1.6;
}

.hucial-sites-public__final-cta {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    padding: 28px;
    border: 1px solid rgba(0, 124, 120, .28);
    border-radius: 18px;
    background: linear-gradient(135deg, #EAF6F5, #FFFFFF 72%);
}

.hucial-sites-public__final-cta > div {
    max-width: 700px;
}

.hucial-sites-public__final-cta h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
}

.hucial-sites-public .hucial-sites-cta:focus-visible,
.hucial-sites-public__faq-list summary:focus-visible {
    outline: 3px solid #101417;
    outline-offset: 3px;
}

@media (max-width: 820px) {
    .hucial-sites-public__feature-grid,
    .hucial-sites-public__benefit-grid {
        grid-template-columns: 1fr;
    }

    .hucial-sites-public__feature,
    .hucial-sites-public__benefit {
        padding: 18px;
    }

    .hucial-sites-public__final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .hucial-sites-public {
        padding-inline: 10px;
    }

    .hucial-sites-public__hero {
        margin-top: 18px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .hucial-sites-public__hero h1 {
        max-width: none;
        font-size: clamp(1.95rem, 9.4vw, 2.5rem);
        line-height: 1.05;
        letter-spacing: -.028em;
    }

    .hucial-sites-public__lead {
        font-size: 1rem;
        line-height: 1.58;
    }

    .hucial-sites-public__hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 20px;
    }

    .hucial-sites-public .hucial-sites-cta {
        width: 100%;
        min-height: 48px;
    }

    .hucial-sites-public a.hucial-sites-cta--text {
        width: auto;
        justify-self: start;
        min-height: 40px;
        padding-left: 0;
    }

    .hucial-sites-public__trust {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 12px;
        font-size: .9rem;
    }

    .hucial-sites-public__features,
    .hucial-sites-public__benefits,
    .hucial-sites-public__directory,
    .hucial-sites-public__faq {
        margin-top: 36px;
    }

    .hucial-sites-public__features-heading h2,
    .hucial-sites-public__section-heading h2 {
        font-size: clamp(1.55rem, 7.2vw, 2rem);
        line-height: 1.13;
    }

    .hucial-sites-public__feature {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    .hucial-sites-public__benefit-icon {
        margin-bottom: 10px;
    }

    .hucial-sites-public__section-heading {
        display: block;
    }

    .hucial-sites-public__section-heading .hucial-sites__quota {
        margin-top: 12px;
    }

    .hucial-sites-public-card {
        padding: 18px;
    }

    .hucial-sites-public-card h3 {
        font-size: 1.22rem;
    }

    .hucial-sites-public__faq-list summary {
        padding: 15px 44px 15px 16px;
    }

    .hucial-sites-public__faq-list details p {
        padding: 0 16px 16px;
    }

    .hucial-sites-public__final-cta {
        margin-top: 38px;
        padding: 22px 18px;
    }

    .hucial-sites-public__final-cta h2 {
        font-size: 1.65rem;
    }


}

@media (prefers-reduced-motion: reduce) {
    .hucial-sites-public .hucial-sites-cta,
    .hucial-sites-public__faq-list summary::after {
        transition: none;
    }
}

/* HUCIAL Sites 1.9.0 — assistant de création en trois étapes.
 * Mise en page uniquement : couleurs, typographie, champs et boutons restent
 * fournis par le style phpBB actif.
 */
.hucial-sites-wizard {
    max-width: 880px;
    margin: 0 auto 28px;
}

.hucial-sites-wizard__intro {
    max-width: 68ch;
    margin: 0 0 18px;
}

.hucial-sites-wizard__progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.hucial-sites-wizard__progress li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid currentColor;
    border-radius: 6px;
    opacity: .62;
}

.hucial-sites-wizard__progress li[aria-current="step"] {
    opacity: 1;
}

.hucial-sites-wizard__progress li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2em;
    width: 2em;
    height: 2em;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-weight: 700;
}

.hucial-sites-wizard__progress strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hucial-sites-wizard__step {
    margin: 0;
}

.hucial-sites-wizard__step[hidden] {
    display: none !important;
}

.hucial-sites-wizard__count {
    margin: 0 0 4px;
    font-weight: 700;
}

.hucial-sites-wizard__step h2 {
    margin-top: 0;
}

.hucial-sites-wizard__address {
    display: grid;
    gap: 4px;
    margin: 12px 0 0;
    padding: 12px;
    border: 1px solid currentColor;
    border-radius: 6px;
}

.hucial-sites-wizard__address span {
    overflow-wrap: anywhere;
    font-size: 1.12em;
    font-weight: 700;
}

.hucial-sites-wizard__address small {
    opacity: .78;
}

.hucial-sites-wizard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.hucial-sites-wizard__field {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.hucial-sites-wizard__field > span {
    opacity: .78;
}

.hucial-sites-wizard__field--wide {
    grid-column: 1 / -1;
}

.hucial-sites-wizard__field textarea {
    min-height: 7.5em;
    resize: vertical;
}

.hucial-sites-wizard__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 20px;
}

.hucial-sites-wizard__summary {
    display: grid;
    grid-template-columns: minmax(150px, .38fr) minmax(0, 1fr);
    gap: 0;
    margin: 16px 0;
    border-top: 1px solid currentColor;
}

.hucial-sites-wizard__summary dt,
.hucial-sites-wizard__summary dd {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
}

.hucial-sites-wizard__summary dt {
    padding-right: 16px;
    font-weight: 700;
}

.hucial-sites-wizard__summary dd {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.hucial-sites-wizard__later {
    margin-bottom: 0;
}

@media (max-width: 700px) {
    .hucial-sites-wizard__progress {
        gap: 6px;
    }

    .hucial-sites-wizard__progress li {
        display: grid;
        justify-items: center;
        gap: 4px;
        padding: 7px 4px;
        text-align: center;
    }

    .hucial-sites-wizard__progress strong {
        max-width: 100%;
        font-size: .92em;
    }

    .hucial-sites-wizard__grid {
        grid-template-columns: 1fr;
    }

    .hucial-sites-wizard__field--wide {
        grid-column: auto;
    }

    .hucial-sites-wizard__summary {
        grid-template-columns: 1fr;
    }

    .hucial-sites-wizard__summary dt {
        padding-bottom: 2px;
        border-bottom: 0;
    }

    .hucial-sites-wizard__summary dd {
        padding-top: 2px;
    }

    .hucial-sites-wizard__actions {
        justify-content: stretch;
    }

    .hucial-sites-wizard__actions .button1,
    .hucial-sites-wizard__actions .button2 {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Le wizard ne doit pas imposer la palette historique de HUCIAL Sites. */
.hucial-sites--create-wizard {
    color: inherit;
}

.hucial-sites-wizard .hucial-sites-form fieldset {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}

/* HUCIAL Sites 1.9.1 — finition responsive de l’assistant de création.
 * Aucun style de marque n’est imposé : ces règles empêchent uniquement les
 * débordements horizontaux et laissent le style phpBB actif gérer l’apparence.
 */
.hucial-sites--create-wizard,
.hucial-sites--create-wizard .hucial-sites-wizard,
.hucial-sites--create-wizard .hucial-sites-wizard__form,
.hucial-sites--create-wizard .hucial-sites-wizard__step,
.hucial-sites--create-wizard .hucial-sites-wizard__step > .inner,
.hucial-sites--create-wizard .hucial-sites-wizard__progress,
.hucial-sites--create-wizard .hucial-sites-wizard__field,
.hucial-sites--create-wizard .hucial-sites-wizard__address,
.hucial-sites--create-wizard .hucial-sites-wizard__summary {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}

.hucial-sites--create-wizard .hucial-sites-wizard,
.hucial-sites--create-wizard .hucial-sites-wizard__form,
.hucial-sites--create-wizard .hucial-sites-wizard__step,
.hucial-sites--create-wizard .hucial-sites-wizard__step > .inner {
    width: 100%;
}

.hucial-sites--create-wizard .hucial-sites-wizard__step p,
.hucial-sites--create-wizard .hucial-sites-wizard__step h2,
.hucial-sites--create-wizard .hucial-sites-wizard__field > span,
.hucial-sites--create-wizard .hucial-sites-wizard__summary dt,
.hucial-sites--create-wizard .hucial-sites-wizard__summary dd {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.hucial-sites--create-wizard .hucial-sites-wizard input.inputbox,
.hucial-sites--create-wizard .hucial-sites-wizard textarea.inputbox,
.hucial-sites--create-wizard .hucial-sites-wizard select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 700px) {
    .hucial-sites--create-wizard {
        padding-right: 8px;
        padding-left: 8px;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress li {
        min-width: 0;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress strong {
        white-space: normal;
        overflow-wrap: anywhere;
        text-overflow: clip;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__actions > * {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 430px) {
    .hucial-sites--create-wizard .hucial-sites-wizard__progress {
        gap: 4px;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress li {
        padding: 6px 2px;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress li > span {
        flex-basis: 1.8em;
        width: 1.8em;
        height: 1.8em;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__actions > .button1,
    .hucial-sites--create-wizard .hucial-sites-wizard__actions > .button2 {
        width: 100%;
    }
}



/* HUCIAL Sites 1.10.0 — progression explicite et médias du wizard.
 * Ces règles restent structurelles et héritent toujours du style phpBB actif.
 */
.hucial-sites-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.hucial-sites-wizard__progress li.is-current {
    opacity: 1;
    border-width: 2px;
}

.hucial-sites-wizard__progress li.is-complete {
    opacity: 1;
}

.hucial-sites-wizard__marker {
    overflow: hidden;
}

.hucial-sites-wizard__marker [data-step-check] {
    font-size: 1.2em;
    line-height: 1;
}

.hucial-sites-wizard__media-grid,
.hucial-sites-wizard__summary-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.hucial-sites-wizard__upload {
    display: grid;
    align-content: start;
    gap: 6px;
    min-width: 0;
}

.hucial-sites-wizard__upload > span,
.hucial-sites-wizard__field > small {
    opacity: .78;
}

.hucial-sites-wizard__file-preview {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    margin-top: 4px;
}

.hucial-sites-wizard__file-preview img {
    display: block;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.hucial-sites-wizard__file-preview span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.hucial-sites-wizard__summary-media figure {
    margin: 0;
}

.hucial-sites-wizard__summary-media img {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.hucial-sites-wizard__summary-media figcaption {
    margin-top: 5px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .hucial-sites-wizard__media-grid,
    .hucial-sites-wizard__summary-media {
        grid-template-columns: 1fr;
    }
}

/* HUCIAL Sites 1.10.1 — correctif responsive ciblé du wizard.
 * Le style visuel reste fourni par le style phpBB actif. Ces règles ne font
 * que garantir une géométrie fiable sur petit écran et des aperçus compacts.
 */
.hucial-sites--create-wizard {
    box-sizing: border-box;
    width: auto;
    max-width: min(1180px, calc(100vw - 16px));
    margin-right: auto;
    margin-left: auto;
}

.hucial-sites--create-wizard .hucial-sites-wizard {
    box-sizing: border-box;
    width: 100%;
    max-width: min(880px, calc(100vw - 24px));
    margin-right: auto;
    margin-left: auto;
}

.hucial-sites--create-wizard .hucial-sites-wizard__progress,
.hucial-sites--create-wizard .hucial-sites-wizard__step,
.hucial-sites--create-wizard .hucial-sites-wizard__step > .inner,
.hucial-sites--create-wizard .hucial-sites-wizard__grid,
.hucial-sites--create-wizard .hucial-sites-wizard__media-grid,
.hucial-sites--create-wizard .hucial-sites-wizard__summary-media,
.hucial-sites--create-wizard .hucial-sites-wizard__summary,
.hucial-sites--create-wizard .hucial-sites-wizard__actions {
    min-width: 0;
    max-width: 100%;
}

.hucial-sites--create-wizard input[type="file"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hucial-sites-wizard__summary-media {
    grid-template-columns: minmax(0, 160px) minmax(0, 1fr);
    align-items: start;
}

#hucial-sites-summary-logo-wrap {
    width: 100%;
    max-width: 160px;
}

#hucial-sites-summary-logo {
    width: 100%;
    max-width: 140px;
    height: 110px;
    max-height: 110px;
    margin: 0 auto;
    object-fit: contain;
}

#hucial-sites-summary-cover-wrap {
    width: 100%;
    max-width: 430px;
}

#hucial-sites-summary-cover {
    width: 100%;
    height: auto;
    max-height: 140px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

@media (max-width: 700px) {
    .hucial-sites--create-wizard {
        width: calc(100vw - 10px);
        max-width: calc(100vw - 10px);
        margin-right: 5px;
        margin-left: 5px;
        padding-right: 0;
        padding-left: 0;
        overflow-x: clip;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        overflow: hidden;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress li {
        box-sizing: border-box;
        width: auto;
        min-width: 0;
        max-width: 100%;
        padding: 6px 2px;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__progress strong {
        display: block;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
        font-size: .8em;
        line-height: 1.18;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
        text-overflow: clip;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__marker {
        box-sizing: border-box;
        flex-basis: 1.75em;
        width: 1.75em;
        height: 1.75em;
    }

    /* prosilver applique des marges négatives aux .panel sur mobile ; elles
       ne sont pas utiles dans un wizard déjà contenu dans son propre main. */
    .hucial-sites--create-wizard .hucial-sites-wizard__step.panel {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__step > .inner {
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__step p,
    .hucial-sites--create-wizard .hucial-sites-wizard__step h2,
    .hucial-sites--create-wizard .hucial-sites-wizard__upload,
    .hucial-sites--create-wizard .hucial-sites-wizard__field,
    .hucial-sites--create-wizard .hucial-sites-wizard__address {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__upload > span,
    .hucial-sites--create-wizard .hucial-sites-wizard__field > span,
    .hucial-sites--create-wizard .hucial-sites-wizard__field > small,
    .hucial-sites--create-wizard .hucial-sites-wizard__address small {
        overflow-wrap: break-word;
    }

    .hucial-sites--create-wizard input.inputbox,
    .hucial-sites--create-wizard textarea.inputbox,
    .hucial-sites--create-wizard input[type="file"] {
        box-sizing: border-box;
        inline-size: 100%;
        max-inline-size: 100%;
        min-inline-size: 0;
    }

    .hucial-sites-wizard__file-preview {
        width: 100%;
        max-width: 100%;
    }

    .hucial-sites-wizard__summary-media {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #hucial-sites-summary-logo-wrap {
        justify-self: start;
        max-width: 150px;
    }

    #hucial-sites-summary-logo {
        max-width: 130px;
        height: 96px;
        max-height: 96px;
    }

    #hucial-sites-summary-cover-wrap {
        max-width: 100%;
    }

    #hucial-sites-summary-cover {
        max-height: 120px;
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__actions {
        box-sizing: border-box;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hucial-sites--create-wizard .hucial-sites-wizard__actions > * {
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .hucial-sites--create-wizard .hucial-sites-wizard__progress strong {
        font-size: .74em;
    }
}

/* HUCIAL Sites 1.11.0 — zone de suppression complète du site. */
.hucial-sites-danger {
    margin-top: 28px;
}

.hucial-sites-delete-form {
    display: grid;
    gap: 10px;
    max-width: 720px;
}

.hucial-sites-delete-form .inputbox {
    width: 100%;
    max-width: 520px;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .hucial-sites-delete-form .button2 {
        width: 100%;
    }
}
