/* Integration-only rules. Visual rules come from reference.css. */
body { line-height: normal; }
.hero { width: auto; margin: 0; padding: 0; }
.kicker { display: revert; margin-bottom: revert; }
.brand .logo__mark { width: 44px; height: 44px; }
.brand .logo__wordmark { line-height: normal; }
.brand-name { line-height: 22px; }
.site-nav > a { line-height: 16px; }
.site-nav .lang-switch a { line-height: 14px; }
.site-footer .brand .logo__mark { width: 30px; height: 30px; }
.home-panel-wrap { padding-top: 24px; padding-bottom: 80px; }
.scope-wrap { padding-bottom: 80px; }
/* .section-pad and .section-pad-top share the same element with .wrap.
   Their padding shorthand in reference.css zeros .wrap's horizontal gutter. */
.wrap.section-pad,
.wrap.section-pad-top { padding-inline: 28px; }
.about-section { padding-top: 72px; padding-bottom: 40px; }
.contact-section { padding-top: 40px; padding-bottom: 80px; }
.article-section { padding-top: 64px; padding-bottom: 80px; }
.legal-page h2 { margin: 40px 0 14px; font-size: 22px; }
.legal-page p { font-size: 16px; line-height: 1.7; color: var(--ink-3); margin: 0 0 14px; }
.legal-page ul { margin: 0 0 16px; padding-left: 20px; font-size: 16px; line-height: 1.7; color: var(--ink-3); }
.legal-page li { margin-bottom: 6px; }
.legal-page .page-lead { margin-bottom: 24px; }
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  max-width: 620px; margin: 0 auto;
  background: var(--graphite, #141619); color: #fff;
  border-radius: 16px; padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.cookie-banner-text { margin: 0; font-size: 14px; line-height: 1.5; flex: 1 1 260px; color: #d7dade; }
.cookie-banner-title { flex: 1 0 100%; color: #fff; font-size: 15px; }
.cookie-banner-text a { color: var(--yellow, #FFC400); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.contact-email { color: #ffc400; }
.contact-email:hover { color: #ffd43b; }
.wizard-extension { border-top: 1px solid var(--line); }
.wizard-extension__inner { padding-top: 80px; padding-bottom: 80px; }
.honeypot { position: absolute; left: -10000px; }
.form-status { color: var(--on-dark-3); }
.form-status:empty { display: none; }
.article-layout { padding: 0; }
.tools-wizard { margin: 48px 0; }
.art-card[hidden], .feature-article[hidden], .norm-row[hidden] { display: none !important; }
.site-footer__inner.footer-cols { width: auto; margin: 0; padding: 0; }
.site-footer__legal.footer-bottom { width: auto; margin-top: 36px; padding: 20px 0 0; }
.footer-cookie-settings { padding: 0; border: 0; background: none; color: var(--on-dark-5); font: inherit; cursor: pointer; }
.footer-cookie-settings:hover, .footer-cookie-settings:focus-visible { color: var(--yellow); }
.sheet-paper .section-head > h2 { margin: 0; }
.section-pad-top .tool-card p.tool-desc { margin: 1em 0; }
.article-aside .toc-box, .article-aside .aside-cta { display: block; }
.article-aside > .toc-box { margin-top: 0; color: var(--ink-3); background: var(--paper); }
.article-aside .toc-box .kicker, .article-aside .toc-list a { color: var(--ink-3); }
.article-aside .toc-list { padding: 0; border-radius: 0; background: transparent; }

/* The approved wizard follows the supplied full-width header/body layout. */
.wizard-extension .wizard { max-width: 992px; margin-inline: auto; }
.wizard-page .wizard { margin-top: 40px; }
.wizard-upcoming { margin-top: 32px; }
.wizard-placeholder { display: flex; align-items: center; justify-content: center; min-height: 220px; padding: 40px; grid-template-columns: 1fr; }
.wizard-placeholder__body { max-width: 480px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wizard-placeholder__body h3 { font-size: 24px; margin: 0; color: #fff; }
.wizard-placeholder__body p { margin: 0; color: var(--on-dark-2, #b7bcc2); font-size: 15px; line-height: 1.6; }
.tool-card--button { width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); cursor: pointer; font: inherit; }
.tool-card--button.is-active { border-color: var(--yellow); box-shadow: 0 0 0 2px var(--yellow) inset; }
[data-tool-embed][hidden] { display: none !important; }
.wizard { grid-template-rows: auto 4px auto; }
.wizard__head { grid-column: 1 / -1; display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 38px 38px 24px; }
.wizard__head h2 { max-width: none; }
.wizard__progress { grid-column: 1 / -1; width: 100%; margin: 0; border-radius: 0; }
.wizard__main { grid-column: 1; grid-row: 3; min-height: 367px; padding: 18px 28px; }
.wizard__question-body { gap: 6px; }
.wizard__question-note { margin-bottom: 8px; }
.wizard__option { padding: 10px 14px; }
.wizard__back { margin-top: 12px; }
.wizard__history { grid-column: 2; grid-row: 3; padding: 20px 18px; }
.wizard__history ol { gap: 4px; }
.wizard__history li { gap: 2px; padding-bottom: 4px; }
.wizard__history-question { font-size: 10px; line-height: 1.3; }
.wizard__history li strong { font-size: 12px; line-height: 1.3; }
.wizard__limit { padding: 12px; }
.wizard__limit p { font-size: 11px; line-height: 1.4; }
.wizard__revision { margin-top: 10px; font-size: 10px; }
.wizard__main:has([data-wizard-question="1"]:not([hidden])) { min-height: 459px; }
.wizard__main:has([data-wizard-question="3"]:not([hidden])) { min-height: 414px; }
.wizard__main:has(.wizard__result:not([hidden])) { min-height: 695px; }
.wizard__result ul { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.wizard__result li { position: relative; padding: 12px 14px 12px 30px; border: 1px solid var(--color-line-outline); border-radius: 10px; color: var(--color-on-dark-3); background: var(--color-panel); }
.wizard__result li::before { position: absolute; top: 18px; left: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-signal); content: ''; }
.wizard__question[hidden], .wizard__result[hidden] { display: none !important; }
.wizard__question > legend { grid-column: 1 / -1; display: block; float: none; width: 100%; max-width: none; }

.panel-dark { align-items: center; }
.tool-card:hover .tool-arrow { transform: translate(1px,-1px); }
a.art-card { color: inherit; text-decoration: none; }
a.art-card .art-card-title { transition: color .15s ease; }
a.art-card:hover .art-card-title { color: var(--color-signal, #ffc400); }
a.start-card { color: inherit; text-decoration: none; }
a.start-card h3 { transition: color .15s ease; }
a.start-card:hover h3 { color: var(--color-signal, #ffc400); }
.kicker-lg { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink) !important; font-size: 13px; }
.tool-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 16px; border-radius: 999px; background: var(--yellow); color: var(--ink); transition: background .15s ease, transform .15s ease; }
.tool-cta .tool-arrow { width: 26px; height: 26px; background: var(--ink); color: var(--yellow); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; padding-left: 2px; }
.tool-card:hover .tool-cta { transform: translateX(2px); }

@media (min-width: 781px) and (max-width: 900px) {
  .wizard { grid-template-columns: minmax(0,1.4fr) minmax(240px,.6fr); }
  .wizard__history { border-top: 0; border-left: 1px solid var(--color-border-dark); }
}

@media (max-width: 900px) {
  .wrap.section-pad,
  .wrap.section-pad-top { padding-inline: 20px; }
  .about-section { padding-top: 72px; padding-bottom: 40px; }
  .contact-section { padding-top: 40px; padding-bottom: 80px; }
  .article-section { padding-top: 48px; padding-bottom: 56px; }
  .wizard-extension__inner { padding-top: 56px; padding-bottom: 56px; }
  /* Keep the drawer compact and anchored to the right for one-handed use. */
  .nav-shell .main-nav {
    width: min(200px, calc(100vw - 40px));
    align-items: flex-end;
  }
  .nav-shell .main-nav > a {
    width: 100%;
    text-align: right;
  }
  .nav-shell .lang-switch { align-self: flex-end; }
}

@media (max-width: 780px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard__head { padding: 26px 22px 20px; }
  .wizard__main, .wizard__history { grid-column: 1; }
  .wizard__history { grid-row: 4; }
}

.error-page__section { padding-bottom: 64px; }
.error-page__actions { margin-top: 24px; flex-wrap: wrap; gap: 12px; }
