/* Outils IAP — présentation commune aux pages annexes, logique métier conservée. */
body.iap-annex.iap-tools .tool-hero,
body.iap-annex.iap-tools .audit-hero {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 46px;
  background: radial-gradient(ellipse at 85% 15%, #224d7066, transparent 48%), linear-gradient(115deg, #04152c, #103557);
  color: #e9f3fa;
}
body.iap-annex.iap-tools .tool-hero::before { content: none; }
body.iap-annex.iap-tools .tool-hero__inner,
body.iap-annex.iap-tools .audit-hero > div { max-width: 1120px; margin: 0 auto; }
body.iap-annex.iap-tools .breadcrumb {
  display: flex; flex-wrap: wrap; gap: 9px;
  margin: 0 0 29px; font-size: 13px; line-height: 1.5; color: #acc4d9;
}
body.iap-annex.iap-tools .breadcrumb a { color: #acc4d9; text-decoration-color: #6689a7; text-underline-offset: 4px; }
body.iap-annex.iap-tools .breadcrumb [aria-current] { color: #dfedf6; }
body.iap-annex.iap-tools .article-label,
body.iap-annex.iap-tools .results-label {
  margin: 0 0 14px; font-family: inherit; font-size: 12px; font-weight: 400;
  line-height: 1.4; letter-spacing: .15em; text-transform: uppercase; color: #426e8c;
}
body.iap-annex.iap-tools :is(.tool-hero, .audit-hero) .article-label { color: #94c9dc; }
body.iap-annex.iap-tools :is(.tool-hero, .audit-hero) h1 {
  max-width: 850px; margin: 0; font-family: inherit; font-size: clamp(34px, 4.2vw, 49px);
  line-height: 1.08; font-weight: 400; letter-spacing: -.035em; color: #e9f3fa;
}
body.iap-annex.iap-tools .tool-hero__inner > p:not(.article-label),
body.iap-annex.iap-tools .audit-hero > div > p:not(.article-label) {
  max-width: 770px; margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: #adc7dc;
}
body.iap-annex.iap-tools .tool-switcher { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
body.iap-annex.iap-tools .tool-switcher a {
  padding: 10px 16px; border: 1px solid #7193af66; border-radius: 999px;
  color: #b7cedf; font-size: 14px; line-height: 1.2; text-decoration: none;
  transition: background .2s, border-color .2s;
}
body.iap-annex.iap-tools .tool-switcher a[aria-current="page"] { background: #d9eaf4; border-color: #d9eaf4; color: #123752; }
body.iap-annex.iap-tools .tool-switcher a:hover { border-color: #b6d5e5; }
body.iap-annex.iap-tools .calculator-shell,
body.iap-annex.iap-tools .audit-layout {
  max-width: 1176px; padding: 48px 28px 62px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 29px; align-items: start;
}
body.iap-annex.iap-tools .calculator-form {
  min-width: 0; padding: 29px; border: 1px solid #c0d5e3; border-radius: 16px;
  background: linear-gradient(140deg, #edf4f9, #e0ebf3); box-shadow: none;
}
body.iap-annex.iap-tools .calculator-heading h2 { margin: 0 0 12px; font-size: 27px; line-height: 1.18; font-weight: 400; color: #102f50; }
body.iap-annex.iap-tools .calculator-heading > p:last-child { margin: 0 0 27px; color: #54738a; font-size: 15px; line-height: 1.6; }
body.iap-annex.iap-tools .field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 23px 18px; }
body.iap-annex.iap-tools .field-grid label { display: grid; min-width: 0; gap: 9px; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.35; color: #2c506d; }
body.iap-annex.iap-tools .field-control { min-height: 49px; border: 1px solid #abc5d8; border-radius: 9px; background: #f4f8fb; }
body.iap-annex.iap-tools .field-control:focus-within { border-color: #3f7796; box-shadow: 0 0 0 3px #528faa24; }
body.iap-annex.iap-tools .field-control input { padding: 12px 4px 12px 12px; color: #153955; font-family: inherit; font-size: 18px; font-weight: 400; line-height: 1.3; }
body.iap-annex.iap-tools .field-control small { padding: 0 10px 0 5px; font-family: inherit; font-size: 11px; font-weight: 400; color: #536f87; }
body.iap-annex.iap-tools .calculator-actions { margin-top: 25px; padding-top: 20px; gap: 14px; border-top-color: #bbd0df; }
body.iap-annex.iap-tools .calculator-actions button { flex-shrink: 0; min-height: 35px; color: #24536f; font-family: inherit; font-size: 13px; font-weight: 400; line-height: 1.4; }
body.iap-annex.iap-tools .calculator-actions span { font-size: 12px; line-height: 1.45; color: #58768b; }
body.iap-annex.iap-tools .calculator-results,
body.iap-annex.iap-tools .audit-result {
  position: sticky; top: 100px; min-width: 0; padding: 30px; border-radius: 16px;
  background: linear-gradient(135deg, #164164, #08253f); color: #e1f1fa;
  box-shadow: 0 15px 35px #08253f0c; overflow: hidden;
}
body.iap-annex.iap-tools .calculator-results::before,
body.iap-annex.iap-tools .calculator-results::after,
body.iap-annex.iap-tools .audit-result::before { content: none; }
body.iap-annex.iap-tools :is(.calculator-results, .audit-result) .results-label { color: #94c9dc; margin-bottom: 24px; }
body.iap-annex.iap-tools .result-main { padding-bottom: 25px; border-color: #6088a34d; }
body.iap-annex.iap-tools .result-main span,
body.iap-annex.iap-tools .result-grid span { font-size: 14px; line-height: 1.5; color: #b4cdde; }
body.iap-annex.iap-tools .result-main strong { margin: 10px 0 8px; font-family: inherit; font-size: clamp(36px, 3.8vw, 48px); font-weight: 400; line-height: 1.1; letter-spacing: -.035em; color: #e6f3fa; }
body.iap-annex.iap-tools .result-main small,
body.iap-annex.iap-tools .result-grid small { font-family: inherit; font-size: 12px; line-height: 1.5; color: #9bbbd0; }
body.iap-annex.iap-tools .result-grid { gap: 25px 17px; padding: 25px 0; }
body.iap-annex.iap-tools .result-grid strong { margin: 5px 0 3px; font-family: inherit; font-size: 26px; font-weight: 400; line-height: 1.15; letter-spacing: -.02em; }
body.iap-annex.iap-tools .result-meter,
body.iap-annex.iap-tools .audit-progress { height: 4px; border-radius: 4px; background: #83a9bf33; }
body.iap-annex.iap-tools .result-meter span,
body.iap-annex.iap-tools .audit-progress span { border-radius: inherit; background: #8cdae9; box-shadow: none; }
body.iap-annex.iap-tools .result-note { margin: 19px 0 21px; color: #aac5d9; font-size: 14px; line-height: 1.6; }
body.iap-annex.iap-tools .results-cta,
body.iap-annex.iap-tools .audit-result > a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 13px 20px; border-radius: 999px; background: #dcecf6; color: #103650; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.35; text-decoration: none; }
body.iap-annex.iap-tools .audit-layout { grid-template-columns: minmax(0, 1.7fr) minmax(290px, 1fr); }
body.iap-annex.iap-tools .audit-form { min-width: 0; display: grid; gap: 20px; }
body.iap-annex.iap-tools .audit-section { padding: 27px; border: 1px solid #c1d6e4; border-radius: 15px; background: #edf4f9; }
body.iap-annex.iap-tools .audit-section__head { gap: 17px; margin-bottom: 24px; }
body.iap-annex.iap-tools .audit-section__head > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 37px; border: 1px solid #bfd4e2; border-radius: 9px; background: #dceaf3; color: #3d6883; font-family: inherit; font-size: 16px; font-weight: 400; }
body.iap-annex.iap-tools .audit-section h2 { margin: 0 0 8px; font-size: 25px; font-weight: 400; line-height: 1.15; color: #102f50; }
body.iap-annex.iap-tools .audit-section__head p { margin: 0; font-size: 15px; line-height: 1.5; color: #4f6f85; }
body.iap-annex.iap-tools .audit-section fieldset { display: block; min-width: 0; margin: 0; padding: 13px 0 19px; border: 0; border-top: 1px solid #cbdde8; }
body.iap-annex.iap-tools .audit-section fieldset:last-child { padding-bottom: 0; }
body.iap-annex.iap-tools .audit-section legend { display: block; float: none; width: 100%; margin: 0; padding: 12px 0 0; color: #2c506d; font-size: 16px; line-height: 1.5; }
body.iap-annex.iap-tools .audit-section fieldset label { display: inline-flex; align-items: center; gap: 8px; margin: 0 6px 4px 0; padding: 11px 14px; border: 1px solid #c4d8e5; border-radius: 7px; background: #e0edf5; color: #3c617d; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.15; white-space: nowrap; }
body.iap-annex.iap-tools .audit-section input { margin: 0; width: 15px; height: 15px; accent-color: #1a536f; }
body.iap-annex.iap-tools .audit-section fieldset label:has(input:checked) { background: #c7dee9; border-color: #5a8ba5; color: #0c3855; }
body.iap-annex.iap-tools .audit-section fieldset label:has(input:focus-visible) { outline: 2px solid #2a6e92; outline-offset: 3px; }
body.iap-annex.iap-tools .audit-actions { flex-wrap: wrap; justify-content: flex-start; gap: 12px; }
body.iap-annex.iap-tools .audit-actions button { min-height: 44px; padding: 12px 17px; border-color: #aac5d8; background: #eaf2f7; color: #244e6a; font-family: inherit; font-size: 14px; font-weight: 400; line-height: 1.3; }
body.iap-annex.iap-tools .audit-actions button:last-child { border-color: #103752; background: #103752; color: #e5f1f8; }
body.iap-annex.iap-tools .score-ring { margin: 25px 0; gap: 11px; align-items: baseline; }
body.iap-annex.iap-tools .score-ring strong { font-family: inherit; font-size: 64px; font-weight: 400; line-height: 1; letter-spacing: -.045em; }
body.iap-annex.iap-tools .score-ring span { font-family: inherit; font-size: 18px; color: #a7c6db; }
body.iap-annex.iap-tools .audit-result h2 { margin: 0 0 13px; color: #e6f3fa; font-size: 24px; font-weight: 400; line-height: 1.2; }
body.iap-annex.iap-tools .audit-result > p:not(.results-label) { color: #aac5d9; font-size: 15px; line-height: 1.6; }
body.iap-annex.iap-tools #audit-completion { margin: 9px 0 0; font-size: 12px; }
body.iap-annex.iap-tools .audit-priority { margin: 24px 0; padding: 17px; border-color: #7da6c34d; border-radius: 10px; background: #759db00d; }
body.iap-annex.iap-tools .audit-priority span { font-size: 11px; color: #9cbfd4; }
body.iap-annex.iap-tools .audit-priority strong { margin-top: 8px; font-size: 18px; font-weight: 400; }
body.iap-annex.iap-tools .tool-method,
body.iap-annex.iap-tools .audit-method { padding: 54px 28px 65px; border-top: 1px solid #c4d5e1; background: #e2edf5; }
body.iap-annex.iap-tools .tool-method__inner,
body.iap-annex.iap-tools .audit-method > div { max-width: 1120px; margin: 0 auto; }
body.iap-annex.iap-tools :is(.tool-method, .audit-method) h2 { margin: 0 0 29px; font-size: clamp(28px, 3vw, 36px); font-weight: 400; line-height: 1.15; color: #123550; }
body.iap-annex.iap-tools .method-grid { gap: 22px; }
body.iap-annex.iap-tools .method-grid article { padding: 25px; border: 1px solid #bdcfde; border-radius: 14px; background: linear-gradient(140deg, #f0f5fa, #e3edf5); }
body.iap-annex.iap-tools .method-grid article > span { font-family: inherit; font-size: 16px; color: #4b7c99; }
body.iap-annex.iap-tools .method-grid h3 { margin: 23px 0 12px; font-size: 22px; font-weight: 400; line-height: 1.2; color: #153953; }
body.iap-annex.iap-tools .method-grid p { margin: 0; color: #496b83; font-size: 16px; line-height: 1.6; }
body.iap-annex.iap-tools .method-link { margin-top: 28px; }
body.iap-annex.iap-tools .method-link a { font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.5; color: #285a77; }
body.iap-annex.iap-tools .audit-method > div > p:not(.article-label, .method-link) { max-width: 840px; color: #496b83; font-size: 17px; line-height: 1.6; }
body.iap-annex.iap-tools .audit-levels { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin: 29px 0; }
body.iap-annex.iap-tools .audit-levels span { padding: 22px; border: 1px solid #bfd3e1; border-radius: 12px; background: #edf4f9; color: #4b6c84; font-size: 15px; line-height: 1.5; }
body.iap-annex.iap-tools .audit-levels strong { margin-bottom: 12px; color: #2e6888; font-family: inherit; font-size: 23px; font-weight: 400; }
@media (max-width: 960px) {
  body.iap-annex.iap-tools .calculator-shell { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
  body.iap-annex.iap-tools .calculator-form,
  body.iap-annex.iap-tools .calculator-results,
  body.iap-annex.iap-tools .audit-result { padding: 25px; }
  body.iap-annex.iap-tools .field-grid { grid-template-columns: 1fr; gap: 18px; }
  body.iap-annex.iap-tools .calculator-actions { flex-direction: column; align-items: flex-start; }
  body.iap-annex.iap-tools .audit-layout { grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 22px; }
  body.iap-annex.iap-tools .audit-result { grid-row: auto; }
  body.iap-annex.iap-tools .audit-section { padding: 23px; }
  body.iap-annex.iap-tools .method-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  body.iap-annex.iap-tools .method-grid article { padding: 21px; }
  body.iap-annex.iap-tools .audit-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  body.iap-annex.iap-tools .calculator-shell,
  body.iap-annex.iap-tools .audit-layout { grid-template-columns: 1fr; padding: 33px 22px 43px; }
  body.iap-annex.iap-tools .calculator-results,
  body.iap-annex.iap-tools .audit-result { position: static; }
  body.iap-annex.iap-tools .field-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.iap-annex.iap-tools .calculator-actions { flex-direction: row; }
  body.iap-annex.iap-tools .method-grid { grid-template-columns: 1fr; gap: 15px; }
  body.iap-annex.iap-tools .method-grid h3 { margin-top: 17px; }
  body.iap-annex.iap-tools .audit-actions button { width: auto; }
}
@media (max-width: 460px) {
  body.iap-annex.iap-tools .tool-hero,
  body.iap-annex.iap-tools .audit-hero { padding: 24px 20px 34px; }
  body.iap-annex.iap-tools :is(.tool-hero, .audit-hero) h1 { font-size: 34px; }
  body.iap-annex.iap-tools .breadcrumb { margin-bottom: 26px; font-size: 12px; }
  body.iap-annex.iap-tools .tool-hero__inner > p:not(.article-label),
  body.iap-annex.iap-tools .audit-hero > div > p:not(.article-label) { font-size: 17px; }
  body.iap-annex.iap-tools .tool-switcher { gap: 8px; }
  body.iap-annex.iap-tools .tool-switcher a { padding: 10px 13px; font-size: 13px; }
  body.iap-annex.iap-tools .calculator-shell,
  body.iap-annex.iap-tools .audit-layout { padding-right: 18px; padding-left: 18px; }
  body.iap-annex.iap-tools .calculator-form,
  body.iap-annex.iap-tools .calculator-results,
  body.iap-annex.iap-tools .audit-section,
  body.iap-annex.iap-tools .audit-result { padding: 23px 20px; }
  body.iap-annex.iap-tools .field-grid { grid-template-columns: 1fr; }
  body.iap-annex.iap-tools .calculator-actions { flex-direction: column; }
  body.iap-annex.iap-tools .result-grid { gap: 22px 12px; }
  body.iap-annex.iap-tools .result-grid strong { font-size: 23px; }
  body.iap-annex.iap-tools .audit-section__head { gap: 12px; }
  body.iap-annex.iap-tools .audit-section fieldset label { margin-right: 3px; padding: 10px 9px; gap: 5px; font-size: 13px; }
  body.iap-annex.iap-tools .audit-actions { flex-direction: column; }
  body.iap-annex.iap-tools .tool-method,
  body.iap-annex.iap-tools .audit-method { padding: 38px 20px 45px; }
  body.iap-annex.iap-tools .audit-levels { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.iap-annex.iap-tools .tool-switcher a,
  body.iap-annex.iap-tools .field-control,
  body.iap-annex.iap-tools .result-meter span,
  body.iap-annex.iap-tools .audit-progress span { transition: none; }
}
@media print {
  body.iap-annex.iap-tools { background: #fff !important; color: #102f50; }
  body.iap-annex.iap-tools .iap-header-slot,
  body.iap-annex.iap-tools .iap-scroll-progress,
  body.iap-annex.iap-tools .tool-hero,
  body.iap-annex.iap-tools .audit-hero,
  body.iap-annex.iap-tools .resource-footer,
  body.iap-annex.iap-tools .audit-actions,
  body.iap-annex.iap-tools .audit-result > a,
  body.iap-annex.iap-tools .audit-method { display: none !important; }
  body.iap-annex.iap-tools .audit-layout { display: block; max-width: none; padding: 0; }
  body.iap-annex.iap-tools .audit-section { margin-bottom: 14px; padding: 18px; break-inside: avoid; background: #fff; }
  body.iap-annex.iap-tools .audit-result { position: static; margin-top: 20px; padding: 22px; border: 1px solid #aac1d0; break-inside: avoid; background: #fff !important; color: #102f50; box-shadow: none; }
  body.iap-annex.iap-tools .audit-result h2,
  body.iap-annex.iap-tools .audit-result .results-label,
  body.iap-annex.iap-tools .audit-result > p:not(.results-label),
  body.iap-annex.iap-tools .score-ring strong,
  body.iap-annex.iap-tools .score-ring span,
  body.iap-annex.iap-tools .audit-priority strong,
  body.iap-annex.iap-tools .audit-priority span { color: #102f50; }
}
