/* ==========================================================================
   Portail de services en ligne (Lot 2) : compte usager, demandes, suivi, registre.
   S'appuie sur les jetons de la charte (charte.css).
   ========================================================================== */
.section--portail { padding-top: 32px; }
.container--narrow { max-width: 760px; }
.container--form { max-width: 900px; }
.muted { color: var(--aco-gris, #575756); }
.field__help { font-size: 14px; color: var(--aco-gris, #575756); margin: 6px 0 0; }
.field { margin-bottom: 18px; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.field--check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--aco-vert, #006633); }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
fieldset.field legend, .label { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line, #e2e9e5); border-radius: 999px; font-size: 15px; background: #fff; }
.choice input:focus-visible + span { outline: 3px solid rgba(0, 102, 51, .3); }
.choice input:checked + span { background: var(--aco-vert, #006633); border-color: var(--aco-vert, #006633); color: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn--sm { padding: 7px 14px; font-size: 14px; }
.btn--block { display: flex; width: 100%; justify-content: center; }
.btn-link { background: none; border: 0; padding: 0; color: var(--aco-vert, #006633); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; }
.btn-link--danger { color: #b3261e; }
.btn-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line, #e2e9e5); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--aco-gris, #575756); }
.btn-icon:hover { border-color: #b3261e; color: #b3261e; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Statuts */
.st { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.st--grey { background: #eceeed; color: #3d4540; }
.st--blue { background: #e3ecfb; color: #1c4f9c; }
.st--amber { background: #fdf0c4; color: #6a5200; }
.st--violet { background: #ece6fb; color: #4b2f9a; }
.st--green { background: #e3f1e8; color: #00562b; }
.st--red { background: #fde5e3; color: #a3140c; }

/* Connexion / inscription */
.auth { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 48px; align-items: start; }
.auth__card { background: #fff; border: 1px solid var(--line, #e2e9e5); border-radius: 16px; padding: 28px; }
.auth__card h2, .auth__side h2 { font-size: 22px; margin: 0 0 18px; }
.auth__links { margin: 16px 0 0; font-size: 15px; text-align: center; }
.auth__side { padding-top: 12px; }

/* Mon espace */
.portail-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line, #e2e9e5); margin-bottom: 28px; flex-wrap: wrap; }
.portail-tabs { display: flex; gap: 4px; }
.portail-tabs a { padding: 12px 16px; text-decoration: none; color: var(--aco-gris, #575756); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.portail-tabs a[aria-current] { color: var(--aco-vert, #006633); border-color: var(--aco-vert, #006633); }
.portail-h2 { font-size: 19px; margin: 28px 0 14px; }
.portail-new { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.portail-new a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line, #e2e9e5); border-radius: 14px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.portail-new a:hover, .portail-new a:focus-visible { border-color: var(--aco-vert, #006633); box-shadow: 0 10px 24px -14px rgba(0, 102, 51, .45); }
.portail-new i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #e6f0ea; color: var(--aco-vert, #006633); font-size: 17px; margin-bottom: 4px; }
.portail-new small { color: var(--aco-gris, #575756); font-size: 13.5px; }
.portail-table td { vertical-align: middle; }
.grid-portail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.grid-portail--wide { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

/* Formulaire de demande */
.demande__bloc { border: 1px solid var(--line, #e2e9e5); border-radius: 16px; padding: 22px 24px 8px; margin: 0 0 22px; background: #fff; min-width: 0; }
.demande__bloc legend { font-family: var(--font-titre, Montserrat, sans-serif); font-weight: 600; font-size: 18px; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.demande__bloc legend span { width: 30px; height: 30px; border-radius: 50%; background: var(--aco-vert, #006633); color: #fff; display: grid; place-items: center; font-size: 14px; }
.demande__who { background: var(--tint, #f5f7f4); padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.demarches { display: grid; gap: 10px; }
.demarche { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line, #e2e9e5); border-radius: 12px; cursor: pointer; }
.demarche:has(input:checked) { border-color: var(--aco-vert, #006633); background: #f1f7f3; }
.demarche input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--aco-vert, #006633); flex: 0 0 18px; }
.demarche strong, .demarche small { display: block; }
.demarche small { color: var(--aco-gris, #575756); font-size: 14px; }
.demarche__meta { margin-top: 4px; font-weight: 600; }
.instruments input { width: 100%; min-width: 110px; padding: 8px 10px; border: 1px solid var(--line, #e2e9e5); border-radius: 8px; font: inherit; font-size: 15px; }
.instruments td, .instruments th { padding: 6px; }
.pieces { list-style: none; margin: 12px 0 14px; padding: 0; display: grid; gap: 10px; }
.piece { padding: 14px 16px; border: 1px dashed #c9d3cd; border-radius: 12px; }
.piece.is-ok { border-style: solid; border-color: #b7d6c2; background: #f6faf7; }
.piece__label { font-weight: 600; margin-bottom: 8px; }
.piece__req { font-size: 12px; font-weight: 600; color: #a3140c; background: #fde5e3; padding: 1px 8px; border-radius: 99px; margin-left: 6px; }
.piece__file { font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.piece__file i { color: var(--aco-vert, #006633); }
.piece input[type=file] { font-size: 14px; max-width: 100%; }
.piece .form__row input { padding: 9px 12px; border: 1px solid var(--line, #e2e9e5); border-radius: 8px; font: inherit; }
.demande__actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 6px 0 16px; }

/* Suivi du dossier */
.suivi-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.suivi-head p { margin: 0; }
.suivi-head__status .st { font-size: 15px; padding: 6px 14px; margin-top: 4px; }
.suivi-head__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.frise { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: none; }
.frise li { position: relative; text-align: center; font-size: 14px; color: var(--aco-gris, #575756); padding-top: 4px; }
.frise li::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: var(--line, #e2e9e5); z-index: 0; }
.frise li:first-child::before { display: none; }
.frise li span { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: #fff; border: 2px solid var(--line, #e2e9e5); font-weight: 700; }
.frise li.is-done span, .frise li.is-current span { background: var(--aco-vert, #006633); border-color: var(--aco-vert, #006633); color: #fff; }
.frise li.is-done::before, .frise li.is-current::before { background: var(--aco-vert, #006633); }
.frise li.is-current { color: var(--ink); font-weight: 600; }
.frise li.is-current span { box-shadow: 0 0 0 5px rgba(0, 102, 51, .18); }
.frise li.is-refused span { background: #a3140c; border-color: #a3140c; }
.fil { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.fil__item { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line, #e2e9e5); max-width: 92%; }
.fil__item.is-mine { background: #f1f7f3; border-color: #cfe3d6; margin-left: auto; }
.fil__item--statut, .fil__item--decision { border-left: 4px solid var(--aco-vert, #006633); }
.fil__item p { margin: 6px 0 0; }
.fil__meta { font-size: 13.5px; color: var(--aco-gris, #575756); display: flex; gap: 10px; flex-wrap: wrap; }
.fil__form { border-top: 1px solid var(--line, #e2e9e5); padding-top: 18px; }
.side-card { border: 1px solid var(--line, #e2e9e5); border-radius: 16px; padding: 4px 20px 16px; margin-bottom: 18px; background: #fff; }
.recap { margin: 0; display: grid; gap: 2px; }
.recap dt { font-size: 13px; color: var(--aco-gris, #575756); margin-top: 10px; }
.recap dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.recap ul { margin: 4px 0 0; padding-left: 18px; font-weight: 400; }
.recap--cols { grid-template-columns: max-content 1fr; column-gap: 20px; }
.recap--cols dt, .recap--cols dd { margin-top: 8px; }
.pieces-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pieces-list a { font-weight: 600; text-decoration: none; color: var(--aco-vert, #006633); }
.pieces-list small { display: block; color: var(--aco-gris, #575756); }

/* Registre et vérification */
.verif { display: flex; gap: 20px; padding: 24px; border-radius: 16px; border: 2px solid; margin: 8px 0 28px; background: #fff; }
.verif h2 { margin: 2px 0 10px; font-size: 22px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.verif__icon { font-size: 40px; line-height: 1; }
.verif__kind { margin: 0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--aco-gris, #575756); font-weight: 600; }
.verif__msg { font-weight: 600; margin: 16px 0 6px; }
.verif--valide { border-color: #8cc4a0; background: #f4faf6; } .verif--valide .verif__icon { color: #00562b; }
.verif--suspendu { border-color: #ecd27a; background: #fffbea; } .verif--suspendu .verif__icon { color: #8a6a00; }
.verif--retire { border-color: #f0a29c; background: #fff6f5; } .verif--retire .verif__icon { color: #a3140c; }
.verif--expire, .verif--inconnu { border-color: #cfd5d1; } .verif--expire .verif__icon, .verif--inconnu .verif__icon { color: var(--aco-gris, #575756); }
.registre-listes { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.registre-listes a { display: block; padding: 16px; border: 1px solid var(--line, #e2e9e5); border-radius: 12px; text-decoration: none; color: var(--ink); background: #fff; }
.registre-listes a[aria-current] { border-color: var(--aco-vert, #006633); background: #f1f7f3; }
.registre-listes strong { display: block; font-family: var(--font-titre, Montserrat, sans-serif); font-size: 26px; color: var(--aco-vert, #006633); }

/* En-tête : accès à l'espace usager */
.nav__account { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; color: inherit; white-space: nowrap; margin-right: 4px; }
.nav__account svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.nav__account:hover { background: rgba(6, 40, 26, .08); }
.home .header:not(.is-fixed) .nav__account { color: #fff; }

@media (max-width: 900px) {
    .auth, .grid-portail, .grid-portail--wide { grid-template-columns: 1fr; gap: 28px; }
    .portail-new, .registre-listes { grid-template-columns: repeat(2, 1fr); }
    .fil__item { max-width: 100%; }
}
@media (max-width: 560px) {
    .portail-new, .registre-listes { grid-template-columns: 1fr; }
    .frise li { font-size: 0; }
    .frise li.is-current { font-size: 12px; }
    .verif { flex-direction: column; gap: 10px; padding: 18px; }
    .recap--cols { grid-template-columns: 1fr; }
    .recap--cols dd { margin-top: 0; }
    .demande__bloc { padding: 18px 14px 6px; }
}

/* Encadré d'appel sur les pages d'information des formulaires */
.cta-portail { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: 24px 28px; border-radius: 16px; background: transparent; border: 1px solid var(--line, #d7d7d5); box-shadow: none; flex-wrap: wrap; }
.cta-portail h2 { font-size: 20px; margin: 0 0 6px; color: var(--aco-vert, #006633); }
.cta-portail p { margin: 0; max-width: 560px; }
.cta-portail__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Boutique des normes et paiement (Lot 2) */
.shop__check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; padding: 0 6px; }
.shop__check input { width: 18px; height: 18px; accent-color: var(--aco-vert, #006633); }
.norm h3 a { color: inherit; text-decoration: none; }
.norm h3 a:hover { color: var(--aco-vert, #006633); text-decoration: underline; }
.norm__foot { flex-wrap: wrap; gap: 8px; }
.cart__price { font-weight: 600; color: var(--ink) !important; margin-top: 2px; }
.cart__qtyform input { width: 58px; padding: 6px 8px; border: 1px solid var(--line, #e2e9e5); border-radius: 8px; font: inherit; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 16px; font-size: 15px; }
.cart__total strong { font-family: var(--font-titre, Montserrat, sans-serif); font-size: 19px; color: var(--aco-vert, #006633); }
.demarche--icon { align-items: center; }
.demarche--icon > i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; display: grid; place-items: center; background: #e6f0ea; color: var(--aco-vert, #006633); font-size: 18px; }
.ref-paiement { font-family: ui-monospace, Consolas, monospace; font-size: 17px; letter-spacing: .04em; background: #f4f7f5; padding: 2px 8px; border-radius: 6px; }
.fiche-norme { margin-top: 18px; }
@media print { .header, .footer, .page-hero, .cookie, .demande__actions { display: none !important; } }

/* Mon espace : commandes et paiements (onglet) */
.cmd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.cmd-head .portail-h2 { margin: 0 0 4px; }
.cmd-head p { margin: 0; }
.cmd-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.cmd-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line, #e2e9e5); border-radius: 14px; }
.cmd-stat__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e6f0ea; color: var(--aco-vert, #006633); font-size: 18px; flex: 0 0 44px; }
.cmd-stat strong { display: block; font-size: 20px; line-height: 1.15; color: var(--ink, #0f1f17); }
.cmd-stat span { font-size: 13.5px; color: var(--aco-gris, #575756); }
.cmd-stat.is-warn .cmd-stat__icon { background: #fdf0c4; color: #6a5200; }
.cmd-stat.is-warn { border-color: #ecd27a; }
.cmd-stat.is-ok .cmd-stat__icon { background: #e3f1e8; color: #00562b; }

.cmd-block { background: #fff; border: 1px solid var(--line, #e2e9e5); border-radius: 16px; margin: 0 0 20px; overflow: hidden; }
.cmd-block__head { padding: 16px 20px; border-bottom: 1px solid var(--line, #e2e9e5); background: linear-gradient(180deg, #fbfcfb, #fff); }
.cmd-block__head h3 { margin: 0; font-size: 16.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; color: var(--ink, #0f1f17); }
.cmd-block__head h3 i { color: var(--aco-vert, #006633); }
.cmd-block .table-wrap { margin: 0; }
.cmd-block .table { margin: 0; border: 0; }
.cmd-table thead th { background: #f6f8f6; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--aco-gris, #575756); font-weight: 600; }
.cmd-table td, .cmd-table th { padding: 14px 16px; vertical-align: middle; }
.cmd-table tbody tr + tr td { border-top: 1px solid #edf1ee; }
.cmd-table tbody tr:hover { background: #fafcfb; }
.cmd-table tbody tr.is-due { background: #fffdf3; }
.cmd-table tbody tr.is-due:hover { background: #fff9e6; }
.cmd-ref { font-family: ui-monospace, Consolas, monospace; font-size: 14px; letter-spacing: .02em; color: var(--ink, #0f1f17); }
.cmd-amount { font-weight: 700; color: var(--ink, #0f1f17); white-space: nowrap; }
.cmd-nb { font-weight: 600; }

.cmd-empty { padding: 36px 20px; text-align: center; color: var(--aco-gris, #575756); }
.cmd-empty > i { font-size: 28px; color: #b7c6bc; margin-bottom: 10px; }
.cmd-empty p { margin: 0 0 14px; }
.cmd-empty--soft { padding: 26px 20px; }

.pay-list { list-style: none; margin: 0; padding: 0; }
.pay-item + .pay-item { border-top: 1px solid #edf1ee; }
.pay-item__link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; text-decoration: none; color: inherit; transition: background .15s; }
.pay-item__link:hover { background: #fafcfb; }
.pay-item__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fdf0c4; color: #6a5200; font-size: 16px; flex: 0 0 40px; }
.pay-item.is-ok .pay-item__icon { background: #e3f1e8; color: #00562b; }
.pay-item__main { flex: 1; min-width: 0; }
.pay-item__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-item__top > strong { color: var(--ink, #0f1f17); }
.pay-item__meta { display: block; margin-top: 3px; font-size: 13.5px; color: var(--aco-gris, #575756); }
.pay-item__meta code { font-size: 12.5px; background: #f1f4f2; padding: 1px 6px; border-radius: 5px; }
.pay-item__cta { font-size: 13.5px; font-weight: 600; color: var(--aco-vert, #006633); white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.pay-item__link:hover .pay-item__cta { text-decoration: underline; }

@media (max-width: 760px) {
    .cmd-stats { grid-template-columns: 1fr; }
    .cmd-head { flex-direction: column; }
    .pay-item__cta { display: none; }
}

/* Demande : aligner le formulaire sur la largeur du hero */
.section--portail .container--form { max-width: var(--container, 1200px); }
.demande__bloc { width: 100%; box-sizing: border-box; }


/* Fiche norme (détail produit, inspirée boutique AFNOR) */
.fn-page { padding-top: 18px; }
.fn-breadcrumb { font-size: 13.5px; color: var(--aco-gris, #575756); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 18px; }
.fn-breadcrumb a { color: var(--aco-vert, #006633); text-decoration: none; font-weight: 600; }
.fn-breadcrumb a:hover { text-decoration: underline; }
.fn-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; padding: 22px 24px; margin: 0 0 18px; background: #fff; border: 1px solid var(--line, #e2e9e5); border-radius: 14px; }
.fn-head__mark { width: 120px; min-height: 136px; border: 1px solid #d7e2dc; border-radius: 10px; background: linear-gradient(180deg,#f7faf8,#fff); display: grid; place-items: center; text-align: center; padding: 12px; }
.fn-head__mark-ref { font: 700 13px/1.25 var(--font-titre, Montserrat, sans-serif); color: var(--aco-vert, #006633); word-break: break-word; }
.fn-head__ref { margin: 0 0 4px; font: 700 14px/1.2 var(--font-titre, Montserrat, sans-serif); color: var(--aco-gris, #575756); letter-spacing: .02em; }
.fn-head__status { margin: 0 0 10px; }
.fn-head__title { margin: 0 0 10px; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; color: var(--ink, #0f1f17); }
.fn-head__lead { margin: 0; color: #3f4a45; font-size: 16px; max-width: 80ch; }
.fn-tabs { display: flex; flex-wrap: wrap; gap: 0 6px; padding: 0; margin: 0 0 22px; border-bottom: 1px solid var(--line, #e2e9e5); }
.fn-tabs [role="tab"] { display: inline-block; padding: 10px 14px 11px; margin: 0 0 -1px; font-size: 14.5px; font-weight: 600; color: var(--aco-gris, #575756); text-decoration: none; border-bottom: 3px solid transparent; border-radius: 8px 8px 0 0; cursor: pointer; }
.fn-tabs [role="tab"]:hover, .fn-tabs [role="tab"]:focus-visible { color: var(--aco-vert, #006633); background: #f3f8f5; outline: none; }
.fn-tabs [role="tab"].is-active { color: var(--aco-vert, #006633); border-bottom-color: var(--aco-vert, #006633); background: #fff; }
.fn-panel[hidden] { display: none !important; }
.fn-panel { outline: none; }
.fn-notice { margin: 0 0 18px; }
.fn-layout { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); gap: 28px; align-items: start; }
.fn-h2 { font-size: 20px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line, #e2e9e5); color: var(--ink, #0f1f17); }
.fn-block { margin: 0 0 30px; scroll-margin-top: 110px; }
.fn-prose { color: #2f3a35; font-size: 15.5px; line-height: 1.7; max-width: 78ch; }
.fn-dl { margin: 0; border: 1px solid var(--line, #e2e9e5); border-radius: 12px; overflow: hidden; background: #fff; }
.fn-dl__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 16px; border-top: 1px solid var(--line, #e2e9e5); align-items: baseline; }
.fn-dl__row:first-child { border-top: 0; }
.fn-dl dt { font-size: 13.5px; color: var(--aco-gris, #575756); margin: 0; }
.fn-dl dd { margin: 0; font-weight: 600; color: var(--ink, #0f1f17); overflow-wrap: anywhere; }
.fn-related { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line, #e2e9e5); border-radius: 12px; overflow: hidden; background: #fff; }
.fn-related li + li { border-top: 1px solid var(--line, #e2e9e5); }
.fn-related a { display: block; padding: 12px 16px; text-decoration: none; color: inherit; }
.fn-related a:hover { background: #f6faf7; }
.fn-related strong { display: block; color: var(--aco-vert, #006633); font-size: 14px; margin-bottom: 2px; }
.fn-related span { color: #3f4a45; font-size: 14.5px; }
.fn-buy { position: sticky; top: 96px; }
.fn-buy__card { background: #fff; border: 1px solid var(--line, #e2e9e5); border-top: 4px solid var(--aco-vert, #006633); border-radius: 14px; padding: 18px 20px 16px; box-shadow: 0 10px 28px -20px rgba(15,31,23,.3); }
.fn-buy__kicker { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--aco-gris, #575756); }
.fn-buy__heading { margin: 0 0 10px; font-size: 20px; color: var(--ink, #0f1f17); }
.fn-buy__price { margin: 0 0 14px; font-size: 14.5px; color: var(--aco-gris, #575756); }
.fn-buy__price strong { display: block; margin-top: 2px; font-size: 26px; line-height: 1.1; color: var(--ink, #0f1f17); }
.fn-buy__notice { margin: 0 0 14px; }
.fn-buy__details { margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line, #e2e9e5); border-radius: 10px; background: #fafcfb; }
.fn-buy__details > div { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 6px 0; align-items: baseline; }
.fn-buy__details > div + div { border-top: 1px solid #edf1ee; }
.fn-buy__details dt { margin: 0; font-size: 13.5px; color: var(--aco-gris, #575756); }
.fn-buy__details dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink, #0f1f17); text-align: right; }
.fn-buy__formats { border: 0; padding: 0; margin: 0 0 14px; }
.fn-buy__formats legend { font-size: 14px; font-weight: 700; margin: 0 0 10px; color: var(--ink, #0f1f17); }
.fn-format { display: flex; gap: 12px; align-items: flex-start; padding: 12px 13px; border: 1.5px solid var(--line, #e2e9e5); border-radius: 12px; cursor: pointer; margin: 0 0 10px; background: #fff; }
.fn-format:has(input:checked) { border-color: var(--aco-vert, #006633); background: #f3f8f5; box-shadow: 0 0 0 3px rgba(0,102,51,.08); }
.fn-format input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--aco-vert, #006633); flex: 0 0 18px; }
.fn-format__body { display: block; min-width: 0; flex: 1; }
.fn-format__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fn-format__top strong { font-size: 15px; color: var(--ink, #0f1f17); }
.fn-format__price { font-weight: 700; color: var(--aco-vert, #006633); white-space: nowrap; }
.fn-format small { display: block; margin-top: 3px; color: var(--aco-gris, #575756); font-size: 13.5px; line-height: 1.45; }
.fn-buy__cta { font-size: 16px; padding: 13px 18px; }
.fn-buy__legal { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--aco-gris, #575756); }
@media (max-width: 960px) { .fn-layout { grid-template-columns: 1fr; } .fn-buy { position: static; } }
@media (max-width: 640px) {
    .fn-head { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
    .fn-head__mark { width: 88px; min-height: 96px; }
    .fn-dl__row { grid-template-columns: 1fr; gap: 2px; }
}