/* The cyberattack tab explains the problem and one relevant next step. */
#solutions #panel-attack.attack-choice-panel { container-name: attack-choice; container-type: inline-size; }
#solutions #panel-attack.attack-choice-panel:not([hidden]) { display: flex; flex-direction: column; }
#solutions #panel-attack.attack-choice-panel[hidden] { display: none; }
#solutions #panel-attack > h3 { order: 0; margin: 0; color: #102d47; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.55; text-wrap: pretty; }
#solutions #panel-attack > .attack-summary { order: 1; margin: 12px 0 0; color: #435366; font-size: 14px; line-height: 1.85; }
#solutions #panel-attack > .attack-guide { order: 2; margin: 18px 0 0; }
.attack-guide { min-width: 0; padding: 20px 16px 16px; background: #edf4fc; }
.attack-flow { display: grid; grid-template-columns: minmax(0, .85fr) minmax(16px, .35fr) minmax(0, 1.3fr) minmax(16px, .35fr) minmax(0, .85fr); gap: 6px; align-items: center; }
.attack-external, .attack-gateway, .attack-office { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; color: #102d47; text-align: center; }
.attack-icon { flex: none; width: 58px; height: 50px; fill: none; stroke: #174ea0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.attack-external .attack-icon { stroke: #58718a; }
.attack-icon .attack-warning { stroke: #b42b43; }
.attack-flow strong { display: block; font-size: 12px; line-height: 1.7; }
.attack-flow small { display: block; margin-top: 3px; color: #526171; font-size: 11px; line-height: 1.7; }
.attack-gateway { padding-block: 8px; }
.attack-gateway .attack-device { width: 100%; max-width: 200px; height: 76px; object-fit: contain; }
.attack-route { display: flex; flex-direction: column; gap: 20px; align-items: center; min-width: 0; }
.attack-threat-line, .attack-normal-line { display: block; position: relative; width: 100%; height: 2px; }
.attack-threat-line { background: #b42b43; }
.attack-threat-line b { position: absolute; right: -1px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #b42b43; color: #fff; font: 700 15px/1 sans-serif; }
.attack-normal-line { background: #174ea0; }
.attack-normal-line::after { content: ''; position: absolute; right: -1px; top: -3px; border-left: 6px solid #174ea0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.attack-legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #435366; font-size: 11px; line-height: 1.8; }
.attack-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.attack-legend-stop { display: grid; place-items: center; flex: none; width: 17px; height: 17px; border-radius: 50%; background: #b42b43; color: #fff; font: 700 14px/1 sans-serif; }
.attack-legend-pass { position: relative; width: 18px; height: 2px; margin-right: 2px; background: #174ea0; }
.attack-legend-pass::after { content: ''; position: absolute; right: -1px; top: -3px; border-left: 6px solid #174ea0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.attack-guide figcaption { margin-top: 12px; color: #526171; font-size: 11px; line-height: 1.8; text-align: center; }
#solutions #panel-attack > .attack-guide-link { order: 3; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; margin-top: 18px; padding: 14px 0 0; border-top: 1px solid #c9d9eb; color: #174ea0; font-size: 14px; font-weight: 700; line-height: 1.8; }
.attack-guide-link svg { flex: none; width: 18px; height: 18px; }
.attack-guide-link:focus-visible { outline: 3px solid #174ea0; outline-offset: 4px; }
.attack-guide-link:hover { text-decoration: underline; text-underline-offset: 4px; }
@container attack-choice (max-width: 460px) {
  .attack-guide { padding: 16px; }
  .attack-flow { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .attack-external, .attack-office { flex-direction: row; gap: 12px; min-height: 50px; text-align: left; }
  .attack-icon { width: 46px; height: 42px; }
  .attack-flow strong { font-size: 13px; }
  .attack-gateway { flex-direction: row; gap: 12px; min-height: 80px; padding-block: 4px; text-align: left; }
  .attack-gateway .attack-device { width: 48%; max-width: 140px; height: 66px; }
  .attack-route { flex-direction: row; gap: 18px; justify-self: center; justify-content: center; height: 20px; }
  .attack-threat-line, .attack-normal-line { width: 2px; height: 20px; }
  .attack-threat-line b { top: auto; right: auto; bottom: -1px; left: 50%; transform: translate(-50%, 50%); width: 16px; height: 16px; font-size: 13px; }
  .attack-normal-line::after { top: auto; right: auto; bottom: -1px; left: -3px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 6px solid #174ea0; border-bottom: 0; }
  .attack-legend { margin-top: 16px; }
}
