/* Related equipment destinations remain ordinary links on every screen size. */
.mp-equipment-submenu{display:flex;align-items:center;gap:24px;padding-block:16px;border-bottom:1px solid #d7c48230}
.mp-equipment-submenu>span{flex-shrink:0;font-size:12px;letter-spacing:.1em;color:#b9b49d}
.mp-equipment-submenu>div{display:flex;flex-wrap:wrap;gap:8px}
.mp-equipment-submenu a{display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid transparent;border-radius:6px;color:#dedbc9;text-decoration:none;font-size:14px;line-height:1.5}
.mp-equipment-submenu a:hover,.mp-equipment-submenu a[aria-current="page"]{color:#efe4ae;background:#d7c48214;border-color:#d7c48255}
.mp-equipment-submenu a:focus-visible{outline:2px solid #e3cd83;outline-offset:3px}
@media(max-width:760px){.mp-equipment-submenu{display:block;padding-block:12px}.mp-equipment-submenu>span{display:block;margin-bottom:8px}.mp-equipment-submenu>div{gap:4px}.mp-equipment-submenu a{padding:8px 10px;font-size:13px}}

/* Status colours describe the illustrated role, not real device telemetry. */
.mp-technology .ha-status-legend{display:flex;flex-wrap:wrap;gap:8px 18px;list-style:none;margin:4px 0 18px;padding:0;font-size:13px;line-height:1.6}
.ha-status-legend li{display:flex;align-items:center;gap:7px}
.ha-status-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;background:currentColor}
.ha-status-legend .ha-running{color:#9bdfaf}.ha-status-legend .ha-standby{color:#dcc684}.ha-status-legend .ha-fault{color:#f0a29a}
.mp-technology [data-ha-state="normal"] .ha-node-a rect,
.mp-technology [data-ha-state="takeover"] .ha-node-b rect,
.mp-technology [data-ha-state="recovery"] .ha-node-b rect{stroke:#85d6a0;fill:#1f3528}
.mp-technology [data-ha-state="normal"] .ha-route-a,
.mp-technology [data-ha-state="takeover"] .ha-route-b,
.mp-technology [data-ha-state="recovery"] .ha-route-b{stroke:#85d6a0}
.mp-technology [data-ha-state="normal"] .ha-node-a .ha-role-text,
.mp-technology [data-ha-state="takeover"] .ha-node-b .ha-role-text,
.mp-technology [data-ha-state="recovery"] .ha-node-b .ha-role-text{fill:#9bdfaf}
.mp-technology [data-ha-state="normal"] .ha-node-b rect,
.mp-technology [data-ha-state="recovery"] .ha-node-a rect{stroke:#dcc684;fill:#302e20}
.mp-technology [data-ha-state="normal"] .ha-route-b,
.mp-technology [data-ha-state="recovery"] .ha-route-a{stroke:#b7a36a;stroke-dasharray:4 6}
.mp-technology [data-ha-state="normal"] .ha-sync,
.mp-technology [data-ha-state="recovery"] .ha-sync{stroke:#85d6a0}
.mp-technology [data-ha-state="failure"] .ha-node-a rect,
.mp-technology [data-ha-state="takeover"] .ha-node-a rect{stroke:#f0a29a;fill:#382725}
.mp-technology [data-ha-state="failure"] .ha-route-a,
.mp-technology [data-ha-state="takeover"] .ha-route-a{stroke:#f0a29a;opacity:.65;stroke-dasharray:4 6}
.mp-technology .ha-stage-select [data-ha-step="normal"][aria-pressed="true"]{color:#b8efc8;background:#244331;border-color:#85d6a0}
.mp-technology .ha-stage-select [data-ha-step="failure"][aria-pressed="true"]{color:#f8c0b9;background:#422c2a;border-color:#f0a29a}

/* PHP2Shell scoped feature styles, 2026-11-07 */

 .php2-topic{scroll-margin-top:110px;overflow-wrap:anywhere}.php2-topic .php2-intro{padding:clamp(22px,4vw,48px);border:1px solid #807049;border-radius:18px;background:linear-gradient(125deg,#292a23,#171b19)}.php2-topic h2{font-size:clamp(27px,4vw,48px);line-height:1.22;margin:14px 0}.php2-topic p{line-height:1.8;max-width:78ch}.php2-topic .php2-stack{color:#e5d39a;font-size:clamp(16px,2vw,22px);font-weight:700}.php2-topic .php2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.php2-topic article{min-width:0;background:#232721;border:1px solid #5c614c;border-radius:14px;padding:26px}.php2-topic h3{font-size:22px;line-height:1.4;margin:12px 0}.php2-topic .php2-limit{border-top:1px solid #515849;padding-top:14px;color:#ddd9ca;font-size:15px}.php2-topic .php2-patch{border-left:4px solid #a9c8a3;padding:20px 26px;background:#202b24}.php2-topic li{line-height:1.8;margin:8px 0}.php2-topic a:not(.mp-button){color:#e5d39a;text-decoration:underline;text-underline-offset:4px}.php2-topic .php2-references{display:flex;flex-wrap:wrap;gap:12px 24px;font-size:14px}.php2-topic .php2-date{font-size:14px;color:#c7c6b9}.php2-topic a:focus-visible{outline:3px solid #e5d39a;outline-offset:5px}@media(max-width:640px){.php2-topic .php2-grid{grid-template-columns:1fr}.php2-topic article{padding:20px}.php2-topic .mp-actions{align-items:stretch}.php2-topic .mp-button{white-space:normal;text-align:center}}
 

/* Original GDMME defence map */
.php2-topic .jd-art{margin:28px 0;padding:24px;border:1px solid #6e7152;border-radius:18px;background:#171e19}.php2-topic .jd-art svg{width:100%;height:auto;font-family:Arial,"Microsoft JhengHei",sans-serif}.php2-topic .jd-art .jd-mobile{display:none}.php2-topic .jd-caption{font-size:14px;color:#c9c8b8;border-top:1px solid #465241;padding-top:16px}.php2-topic .jd-art h3{margin:12px 0}@media(max-width:700px){.php2-topic .jd-art{padding:14px}.php2-topic .jd-art .jd-desktop{display:none}.php2-topic .jd-art .jd-mobile{display:block}}
