/* Exception CAD demandée : ces règles ne ciblent aucun autre logo ni le bandeau. */
.cp-brands-grid .cp-brand-card[data-cad-logo-large]{grid-column:span 2;display:grid;grid-template-columns:minmax(240px,1.25fr) minmax(220px,1fr);gap:8px 28px;align-content:center}
.cp-brands-grid .cp-brand-card[data-cad-logo-large]>:not(.cp-brand-logo){grid-column:2}
.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{grid-column:1;grid-row:1/span 8;align-self:center;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important}
.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo img{width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important}
.cp-brands-grid .cp-brand-card[data-cad-logo-large] h2{margin:4px 0 8px}.cp-brands-grid .cp-brand-card[data-cad-logo-large] ul{margin:0 0 6px}
.home-brands-grid .home-brand-card[data-cad-logo-large]{grid-column:span 2;display:grid;grid-template-columns:minmax(180px,1.35fr) minmax(170px,1fr);gap:8px 24px;align-content:center;min-height:0}
.home-brands-grid .home-brand-card[data-cad-logo-large]>:not(.home-brand-logo):not(.home-brand-arrow){grid-column:2}
.home-brands-grid .home-brand-card[data-cad-logo-large]>.home-brand-logo{grid-column:1;grid-row:1/span 4;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:0!important;align-self:center}
.home-brands-grid .home-brand-card[data-cad-logo-large]>.home-brand-logo img{width:100%!important;height:auto!important;max-height:none!important;max-width:100%!important;object-fit:contain!important}
body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{box-sizing:border-box;width:min(790px,100%);height:auto;padding:16px 20px;margin:0 0 30px;background:#fff}
body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large] img{display:block;width:100%;height:auto;max-width:none;max-height:none;object-fit:contain}
main[data-cad-organisation] .cad-tone-1{--cad-accent:#6d58a5}main[data-cad-organisation] .cad-tone-2{--cad-accent:#079bb3}main[data-cad-organisation] .cad-tone-3{--cad-accent:#c98616}main[data-cad-organisation] .cad-tone-4{--cad-accent:#097ba0}main[data-cad-organisation] .cad-tone-5{--cad-accent:#a86a20}main[data-cad-organisation] .cad-tone-6{--cad-accent:#587b51}main[data-cad-organisation] .cad-tone-7{--cad-accent:#65697e}
main[data-cad-organisation] .cad-category-nav{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;padding-block:32px}
main[data-cad-organisation] .cad-category-link{grid-column:span 3;display:flex;flex-direction:column;gap:12px;padding:22px 20px;border:1px solid #cfdee7;border-top:6px solid var(--cad-accent);background:white;border-radius:7px;color:#173a5e;text-decoration:none}
main[data-cad-organisation] .cad-category-link:nth-child(-n+3){grid-column:span 4}
main[data-cad-organisation] .cad-category-link strong{font-size:19px;line-height:1.4}.cad-category-link .cad-category-number{font-size:13px;letter-spacing:.08em;color:#516b7e;font-weight:700}
main[data-cad-organisation] .cad-category-link>span:last-child{font-size:14px;line-height:1.6;color:#486478;margin-top:auto}
main[data-cad-organisation] .cad-category-link:hover,main[data-cad-organisation] .cad-category-link:focus-visible{outline:3px solid #0d8eac;outline-offset:3px;box-shadow:0 6px 18px #15395218}
main[data-cad-organisation] .cad-category-link-end{grid-column:1/-1;justify-self:end;color:#075d7c;font-size:14px;text-underline-offset:4px}
main[data-cad-organisation] .cad-category-chapter,main[data-cad-organisation] .cad-category-group{border-top:6px solid var(--cad-accent);margin-top:24px;scroll-margin-top:170px}
main[data-cad-organisation] .cad-category-heading{padding:40px 0 20px}main[data-cad-organisation] .cad-category-heading h2{font-size:clamp(28px,3vw,40px);line-height:1.25;margin:0 0 14px;color:#173a5e}
main[data-cad-organisation] .cad-category-heading p{max-width:920px;margin:0;color:#496578;font-size:17px;line-height:1.75}
main[data-cad-organisation] .cad-category-group>section.cp-section{padding:32px 0}main[data-cad-organisation] .cad-category-group>section.cp-section .wrap{padding-block:0}
main[data-cad-organisation] .cad-category-group h3.cad-subcategory-title{font-size:28px;line-height:1.3;margin:0 0 22px;color:#173a5e}
main[data-cad-organisation] section[id^="cad-usage-"]{scroll-margin-top:170px}.cad-traditional-bso-link{display:inline-block;margin-top:18px;font-size:14px;color:#075d7c;text-underline-offset:4px}
@media(max-width:1000px){main[data-cad-organisation] .cad-category-link,main[data-cad-organisation] .cad-category-link:nth-child(-n+3){grid-column:span 6}main[data-cad-organisation] .cad-category-link:nth-child(7){grid-column:1/-1}}
@media(max-width:760px){.cp-brands-grid .cp-brand-card[data-cad-logo-large],.home-brands-grid .home-brand-card[data-cad-logo-large]{grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:12px}.cp-brands-grid .cp-brand-card[data-cad-logo-large]>:not(.cp-brand-logo),.home-brands-grid .home-brand-card[data-cad-logo-large]>:not(.home-brand-logo):not(.home-brand-arrow){grid-column:1}.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo,.home-brands-grid .home-brand-card[data-cad-logo-large]>.home-brand-logo{grid-column:1;grid-row:auto;max-width:560px!important;justify-self:center}.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{margin-bottom:8px!important}body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{padding:10px 12px}main[data-cad-organisation] .cad-category-heading{padding:30px 0 12px}}
@media(max-width:620px){main[data-cad-organisation] .cad-category-nav{gap:12px;padding-block:24px}main[data-cad-organisation] .cad-category-link,main[data-cad-organisation] .cad-category-link:nth-child(-n+3){grid-column:1/-1;padding:18px}.cad-category-link strong{font-size:18px}main[data-cad-organisation] .cad-category-link-end{justify-self:start}main[data-cad-organisation] .cad-category-group>section.cp-section{padding-block:26px}}

/* Review requested by Daniel: compact page logo and a clear folder overview. */
body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{width:min(520px,100%);padding:12px 16px;margin-bottom:24px}
main[data-cad-organisation] .cad-folder-overview{padding-top:32px}
main[data-cad-organisation] .cad-folder-panel{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.65fr);gap:32px;background:#eef6fa;border:1px solid #c4dce8;border-left:6px solid #0a82a3;border-radius:8px;padding:32px}
main[data-cad-organisation] .cad-folder-panel .cp-eyebrow{color:#086a85;font-size:13px;line-height:1.5}
main[data-cad-organisation] .cad-folder-panel h2{font-size:clamp(26px,2.5vw,35px);line-height:1.25;color:#173a5e;margin:12px 0 0}
main[data-cad-organisation] .cad-folder-panel p{font-size:17px;line-height:1.75;color:#234a62;margin:0}
main[data-cad-organisation] .cad-folder-panel .cad-folder-guidance{font-size:16px;color:#486478;margin-top:16px}
@media(max-width:760px){body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{width:min(280px,100%);padding:10px 12px}main[data-cad-organisation] .cad-folder-panel{grid-template-columns:minmax(0,1fr);gap:22px;padding:24px}}

/* Compact CAD logos and illustrated selection examples requested after review. */
body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{width:min(380px,100%)}
.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{max-width:340px!important;justify-self:center}
.home-brands-grid .home-brand-card[data-cad-logo-large]>.home-brand-logo{max-width:260px!important;justify-self:center}
main[data-cad-organisation] .cad-folder-examples{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}
main[data-cad-organisation] .cad-folder-examples article{padding:26px;background:white;border:1px solid #c7dce7;border-radius:8px;border-top:4px solid #0b83a3}
main[data-cad-organisation] .cad-folder-examples h3{font-size:23px;line-height:1.35;color:#173a5e;margin:0 0 15px}
main[data-cad-organisation] .cad-folder-examples p{font-size:16px;line-height:1.75;color:#34576e;margin:0 0 18px}
main[data-cad-organisation] .cad-example-links{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
@media(max-width:760px){body[data-page="marque-control-access.html"] main .cp-brand-emblem.cad[data-cad-logo-large]{width:min(240px,100%)}.cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{max-width:270px!important}.home-brands-grid .home-brand-card[data-cad-logo-large]>.home-brand-logo{max-width:230px!important}main[data-cad-organisation] .cad-folder-examples{grid-template-columns:minmax(0,1fr)}main[data-cad-organisation] .cad-folder-examples article{padding:22px}}

/* Vertical globe-above-name logo selected for the CAD brand directory card. */
body[data-page="marques.html"] .cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{max-width:320px!important}
@media(max-width:760px){body[data-page="marques.html"] .cp-brands-grid .cp-brand-card[data-cad-logo-large]>.cp-brand-logo{max-width:250px!important}}
/* Illustrated Control Access selection; shared by every language version. */
.cad-selected-accessories{background:#eef5fa;border-block:1px solid #cadbe8;padding:2.5rem 0}
.cad-selected-accessories .ca-button{display:inline-flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.8rem 1.2rem;background:#087e98;color:#fff;border:2px solid #087e98;border-radius:8px;font-size:1.05rem;font-weight:700;text-decoration:none}
.cad-selected-accessories .ca-button:hover,.cad-selected-accessories .ca-button:focus-visible{background:#064d6d;border-color:#064d6d;outline:3px solid #f3b63f;outline-offset:2px}
.cad-selected-accessories .mr-members{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;margin-top:1.75rem}
.cad-selected-accessories .card{min-width:0;padding:1.25rem;background:#fff;border:1px solid #c9d8e4;border-radius:12px}
.cad-selected-accessories .card a{display:block;color:#073c6c;text-decoration:none}
.cad-selected-accessories .card a:hover,.cad-selected-accessories .card a:focus-visible{color:#00768d;text-decoration:underline}
.cad-selected-accessories .card h3{font-size:1.2rem;line-height:1.35;margin:.8rem 0}
.cad-selected-accessories .card p{font-size:1rem;line-height:1.6}
@media(max-width:1000px){.cad-selected-accessories .mr-members{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cad-selected-accessories .mr-members{grid-template-columns:minmax(0,1fr)}}
