/* Publication mechanics; the approved visual system remains in refinement.css. */

/* Source figures teach the current action; they are not decorative product art. */
.quality-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}
.quality-choice.has-samples {
  grid-template-columns: 96px minmax(0, 1fr) auto;
}
.quality-choice-copy {
  min-width: 0;
}
.quality-samples {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 96px;
  min-width: 0;
}
.quality-samples img {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}
.quality-samples img + img {
  max-width: 48%;
}
.quality-general {
  margin-top: 24px;
}
@media (max-width: 400px) {
  .quality-choice.has-samples {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }
}
.illustrated-action {
  min-width: 0;
}
.action-copy {
  min-width: 0;
}
.action-help {
  margin-block: 12px;
}
.action-help .field-help {
  margin-top: 2px;
}
.installer-recovery-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-block: 20px;
}
.installer-reasons .choice {
  min-height: 56px;
}
.entry-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0 0 12px;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.5;
}
.entry-notice p {
  margin: 0;
}
.entry-notice-dismiss {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  min-height: 44px;
  margin-block-start: -8px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #173d95;
  cursor: pointer;
}
.entry-notice-dismiss:focus-visible {
  outline: 3px solid #173d95;
  outline-offset: 3px;
}
.archive-filename,
.archive-recovery .package-name {
  overflow-wrap: anywhere;
  font-weight: 500;
}
.archive-metadata {
  margin-block: 16px 0;
}
.package-recovery-link {
  max-width: 100%;
  white-space: normal;
}
.safety-note .prerequisite-help {
  display: flex;
  width: fit-content;
  min-height: 44px;
  margin-top: 4px;
}
.installation-preparation {
  flex-direction: column;
  gap: 8px;
}
.installation-preparation p {
  margin: 0;
}
.installation-preparation .text-button {
  white-space: normal;
}
.guide-figures {
  display: grid;
  gap: 18px;
  min-width: 0;
  margin: 20px 0;
}
.guide-figure {
  min-width: 0;
  margin: 0;
}
.guide-figure-open {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 120px;
  min-width: 0;
  padding: 12px 12px 40px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  color: #173d95;
  text-decoration: none;
}
.guide-figure-open:hover {
  border-color: #173d95;
  color: #10285f;
}
.guide-figure-open:focus-visible {
  outline: 3px solid #173d95;
  outline-offset: 4px;
}
.guide-figure-open.image-unavailable {
  min-height: 44px;
  padding: 10px;
}
.guide-figure-open.image-unavailable .figure-enlarge {
  position: static;
}
.guide-figure img[hidden] {
  display: none;
}
.guide-figure img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  transform: none;
}
.figure-enlarge {
  position: absolute;
  inset: auto 14px 10px auto;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  font-size: 0.875rem;
  font-weight: 500;
}
.guide-figure figcaption {
  margin-top: 8px;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.65;
}
.figure-source {
  display: block;
  margin-top: 5px;
  color: #475467;
  font-size: 0.75rem;
}
.figure-evidence {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.75rem;
}
.figure-evidence summary {
  min-height: 44px;
  padding: 4px 0;
  cursor: pointer;
  color: #344054;
  font: inherit;
  line-height: 1.5;
}
.figure-evidence summary::marker {
  color: #173d95;
}
.figure-control-key {
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.65;
}
.figure-control-key p {
  margin: 0 0 4px;
}
.figure-control-key strong {
  color: #101828;
}
.guide-image-keys,
.guide-image-error {
  margin: 0;
  padding: 12px 20px;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.65;
}
.guide-image-error[hidden] {
  display: none;
}
.recovery-alternatives {
  margin-block: 24px;
}
.guide-figure-fallback {
  padding: 18px;
  background: #edf2fc;
  color: #173d95;
  line-height: 1.7;
}
.guide-figure-open[hidden],
.guide-figure-fallback[hidden] {
  display: none;
}
.guide-image-dialog {
  width: min(1080px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  height: min(900px, calc(100dvh - 24px));
  padding: 0;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #fff;
  color: #101828;
  font: inherit;
}
.guide-image-dialog[open] {
  display: flex;
  flex-direction: column;
}
.guide-image-dialog::backdrop {
  background: rgb(16 24 40 / 68%);
}
.guide-image-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid #e4e7ec;
}
.guide-image-toolbar h2 {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.guide-image-toolbar .button {
  min-height: 44px;
  font: inherit;
  font-size: 0.875rem;
}
.guide-image-scroll {
  min-height: 80px;
  flex: 1 1 0;
  overflow: hidden;
  padding: 12px;
  direction: ltr;
  overscroll-behavior: contain;
}
.guide-image-scroll:focus-visible {
  outline: 3px solid #173d95;
  outline-offset: -4px;
}
.guide-image-scroll img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: auto;
  transform: none;
}
.image-zoomed .guide-image-scroll img {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
}
.image-zoomed .guide-image-scroll {
  overflow: auto;
  touch-action: pan-x pan-y pinch-zoom;
}
.guide-image-zoom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 18px 0;
}
.guide-image-zoom .button {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.875rem;
}
.guide-image-zoom output {
  grid-column: 1 / -1;
  color: #344054;
  font-size: 0.875rem;
  text-align: center;
}
.instruction-recognition {
  margin-block: 12px;
  font-size: 0.875rem;
}
.instruction-recognition summary {
  min-height: 44px;
  cursor: pointer;
  align-content: center;
}
.instruction-recognition p {
  line-height: 1.7;
}
.interface-terms {
  margin-block: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.guide-image-dialog > :not(.guide-image-scroll) {
  flex-shrink: 0;
}
.guide-image-keys > summary {
  min-height: 44px;
  cursor: pointer;
  align-content: center;
}
.guide-image-caption {
  margin: 0;
  padding: 16px 20px;
  border-top: 1px solid #e4e7ec;
  color: #344054;
  font-size: 0.875rem;
  line-height: 1.65;
}
.guide-image-views {
  display: flex;
  gap: 8px;
  padding: 10px 18px 0;
}
.guide-image-views .button {
  flex: 1;
  min-height: 44px;
  font-size: 0.875rem;
}
.guide-image-views [aria-pressed='true'] {
  color: #fff;
  background: #2050b8;
  border-color: #2050b8;
}
.guide-image-views [aria-pressed='true']:hover,
.guide-image-views [aria-pressed='true']:focus-visible {
  color: #fff;
  background: #173d95;
  border-color: #173d95;
}
.guide-image-hint,
.guide-image-native-link {
  padding: 8px 18px;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.guide-image-native-link {
  min-height: 44px;
  color: #173d95;
}
.scan-library-group {
  margin-block: 12px;
}
.scan-library-group > summary {
  min-height: 48px;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
}
.scan-library-group > summary small {
  font-weight: 400;
}
@media (min-width: 1100px) {
  .illustrated-action.has-illustration {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 28px;
    margin-top: 20px;
  }
  .illustrated-action.has-illustration .verified-instruction {
    margin-top: 0;
  }
  .illustrated-action.has-illustration > .guide-figures {
    margin-top: 0;
  }
}
@media (max-width: 600px) {
  .illustrated-action {
    display: grid;
    gap: 12px;
  }
  .action-copy {
    display: contents;
  }
  .illustrated-action .verified-instruction {
    order: 1;
  }
  .illustrated-action .guide-figures {
    order: 2;
    margin: 0;
    gap: 12px;
  }
  .illustrated-action .completion-check {
    order: 3;
    margin: 0;
    padding: 10px 0 0;
  }
  .illustrated-action .step-actions {
    order: 4;
    margin: 0;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 8px;
  }
  .illustrated-action .action-help,
  .illustrated-action .quality-guidance {
    order: 3;
    margin-block: 4px 8px;
  }
  .illustrated-action .step-actions .button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    white-space: normal;
  }
  .guide-figure figcaption {
    font-size: 0.875rem;
    line-height: 1.5;
  }
  .guide-figure-open {
    padding: 8px 8px 36px;
    min-height: 0;
  }
  .guide-figure img {
    max-height: 140px;
  }
  .illustrated-action .completion-check strong {
    display: inline;
    margin-inline-end: 8px;
  }
  .model-flow .journey-main {
    padding: 18px 16px;
  }
  .model-flow .action-position {
    margin-bottom: 8px;
  }
  .model-flow .journey-main h1 {
    margin-bottom: 12px;
    font-size: 1.375rem;
    line-height: 1.4;
  }
  .model-flow .verified-instruction p {
    margin: 0;
  }
  .restore-notice {
    padding-block: 8px;
    margin-bottom: 12px;
  }
  .guide-image-toolbar {
    padding: 12px;
    gap: 8px;
  }
  .guide-image-toolbar h2 {
    flex-basis: 0;
  }
  .guide-image-toolbar .button {
    flex: 0 0 auto;
  }
  .guide-image-scroll {
    padding: 12px;
  }
  .guide-image-zoom {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding-inline: 10px;
  }
}
@media print {
  .guide-image-dialog,
  .figure-enlarge {
    display: none !important;
  }
  .complete-guide .guide-figure {
    break-inside: avoid;
    margin: 8px 0;
  }
  .complete-guide .guide-figures {
    display: block;
    margin: 8px 0;
  }
  .complete-guide .guide-figure-open {
    display: block;
    border: 0;
    padding: 0;
    min-height: 0;
  }
  .complete-guide .guide-figure-open::after {
    content: none !important;
  }
  .complete-guide .guide-figure img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 65mm;
    margin: auto;
  }
  .complete-guide .guide-figure figcaption,
  .complete-guide .figure-source {
    color: #000;
    font-size: 9pt;
  }
  .complete-guide .figure-evidence {
    display: block;
  }
  .complete-guide .figure-evidence > :not(summary) {
    display: block !important;
  }
  .complete-guide .figure-evidence summary {
    display: list-item;
    min-height: 0;
    list-style: none;
    padding: 0;
  }
}
a[data-action] {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.button.primary {
  color: #fff;
}
.main-navigation a {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  min-height: 46px;
  border-radius: 8px;
  font-size: 0.875rem;
}
.main-navigation a:hover,
.main-navigation a[aria-current] {
  background: #edf2fc;
  color: var(--blue);
}
.main-navigation a.nav-contact {
  color: var(--blue);
}
.logo-button {
  display: inline-flex;
  align-items: center;
}
.footer-phone {
  color: var(--ink);
  text-decoration: none;
}
.footer-bottom [data-consent-settings] {
  font-size: 0.875rem;
}
.complete-guide {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.complete-guide > summary {
  min-height: 48px;
  cursor: pointer;
  font-weight: 500;
}
.complete-guide .readable {
  max-width: 72ch;
  margin: 24px auto;
}
.complete-guide li {
  margin-block: 20px;
}
.complete-guide h3 {
  margin-bottom: 12px;
}
.complete-guide p + p {
  margin-top: 12px;
}
.reference-evidence {
  color: var(--muted);
  font-size: 0.875rem;
}
.reference-evidence li {
  margin-block: 6px;
  overflow-wrap: anywhere;
}
.trust-copy {
  max-width: 72ch;
  margin-inline: auto;
}
.trust-copy section {
  margin-block: 32px;
}
.trust-copy h2 {
  margin-bottom: 16px;
}
.trust-copy p + p {
  margin-top: 16px;
}
.trust-copy a {
  overflow-wrap: anywhere;
}
.error-reference section {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.development-note {
  margin-block: 24px;
  padding: 16px;
  background: #fff3d9;
}
.installation-scope {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-block: 16px;
}
.installation-scope strong {
  color: var(--ink);
}
.installation-option {
  min-width: 0;
}
.installation-option .choice small > span {
  display: block;
}
.installation-label {
  color: var(--blue-dark);
  font-weight: 500;
  margin-bottom: 4px;
}
.installation-restrictions {
  color: var(--ink);
  margin-top: 8px;
  line-height: 1.65;
}
.installation-explanation {
  margin-block: 4px 0;
}
.installation-explanation > summary {
  display: list-item;
  cursor: pointer;
  min-height: 44px;
  padding-block: 12px;
  color: var(--muted);
  font-size: 0.8125rem;
}
.installation-explanation p {
  max-width: 70ch;
  margin-block: 4px 16px;
}
.recovery-guide {
  margin-top: 20px;
}
.recovery-guide a.recovery-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  text-align: start;
  text-decoration: underline;
  text-underline-offset: 4px;
  line-height: 1.65;
  color: var(--blue-dark);
}
.recovery-guide-link .icon {
  flex-shrink: 0;
}
.recovery-guide .field-help {
  margin-top: 4px;
}
@media (max-width: 390px) {
  .platform-choices .choice {
    gap: 10px;
    padding: 16px;
  }
  .platform-choices .choice > .icon:first-child {
    display: none;
  }
}
.nested-actions > summary {
  min-height: 44px;
  padding-block: 12px;
  cursor: pointer;
}
.nested-actions .journey-stages {
  margin-block: 12px;
}
.consent-notice {
  position: fixed;
  z-index: 100;
  inset: auto auto 16px 16px;
  max-width: 440px;
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 48px #11111130;
}
.consent-notice h2 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.consent-notice p {
  font-size: 0.875rem;
  line-height: 1.65;
}
.consent-notice a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font-size: 0.875rem;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.consent-actions button {
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--paper);
  color: var(--blue);
  padding: 10px 14px;
  font-weight: 500;
}
.consent-actions button:hover {
  background: var(--blue-wash);
}
body.has-consent-notice {
  padding-bottom: 290px;
}
.enhancement-error {
  max-width: 72ch;
  margin: 24px auto;
  padding: 20px;
  background: var(--blue-wash);
}
.mobile-dock a {
  display: flex;
  flex: 1;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  font-size: 0.75rem;
}
.mobile-dock a[aria-current],
.mobile-dock a:hover {
  color: var(--blue);
}
@media (max-width: 800px) {
  .main-navigation a {
    display: flex;
    width: 100%;
    font-size: 1rem;
  }
  .consent-notice {
    inset: auto 12px 12px 12px;
    max-width: none;
    padding: 20px;
  }
  .complete-guide {
    margin-top: 28px;
  }
}
@media print {
  @page {
    margin: 12mm;
  }
  #consent-root,
  [data-consent-settings],
  [data-development-only],
  .development-note {
    display: none !important;
  }
  body.has-consent-notice {
    padding-bottom: 0;
  }
  .complete-guide {
    display: block !important;
  }
  .complete-guide > div {
    display: block !important;
  }
  /* The server-readable procedure is also the only printed procedure. */
  #main:has(> .complete-guide) > :not(.complete-guide),
  #main:has(> .complete-guide) .print-complete,
  .complete-guide > summary {
    display: none !important;
  }
  .complete-guide {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .complete-guide li {
    break-inside: avoid;
  }
  .complete-guide .readable {
    max-width: none;
    margin: 0;
  }
  .complete-guide a {
    display: inline-block;
    max-width: 100%;
    color: #000;
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: none;
  }
  .complete-guide a::after {
    content: attr(href);
    display: block;
    direction: ltr;
    unicode-bidi: isolate;
    text-align: right;
    overflow-wrap: anywhere;
  }
}

.support-loading {
  margin: 8px 0;
  padding: 8px 12px;
  color: #344054;
  background: #f2f5fa;
  font-size: 0.875rem;
}
[data-support-state='failed'] .support-loading {
  display: none;
}
.guide-image-instructions {
  margin: 0 14px 8px;
  font-size: 0.875rem;
}
.guide-image-instructions summary {
  min-height: 44px;
  align-content: center;
  cursor: pointer;
}
@media (max-width: 600px) {
  .guide-image-zoom .button {
    padding: 6px 3px;
  }
}
@media print {
  .support-loading {
    display: none !important;
  }
}
