.app-tools{margin-top:18px;border-top:1px solid var(--line);padding-top:10px;font-size:12px;line-height:1.6}
.app-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.app-build{display:flex;align-items:center;gap:5px;color:var(--muted);font-variant-numeric:tabular-nums}
.app-build strong{color:var(--text);font-weight:650}
.app-build i{width:6px;height:6px;border-radius:50%;background:var(--ally);box-shadow:0 0 9px #63e0c133;margin-right:3px}
.app-button{border:1px solid #3e5565;border-radius:9px;min-height:44px;padding:9px 13px;background:#162b39;color:var(--text);font:inherit;font-weight:600;cursor:pointer;touch-action:manipulation}
.app-button:hover{border-color:var(--ally)}
.app-button:active{background:#244339}
.app-primary{background:#ccecdf;color:#0a2922;border-color:#ccecdf}
.app-button:focus-visible,#mobileTools summary:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.app-status{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 8px;overflow-wrap:anywhere}
.app-status:empty{display:none}
.app-status[data-tone="attention"]{color:var(--gold)}
#mobileTools{margin-top:5px}
#mobileTools>summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;color:var(--gold);list-style:none;font-weight:600}
#mobileTools>summary::-webkit-details-marker{display:none}
#mobileTools[open]>summary span{transform:rotate(45deg)}
.app-tools-content{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:10px 0 8px}
.app-tools-content h2{margin:5px 0 8px;font-size:19px;line-height:1.35;font-weight:650;color:var(--text);text-transform:none;letter-spacing:-.4px}
.app-tools-content p{margin:8px 0}
.app-tools-content ol{padding-left:20px;margin:10px 0;color:#bacbd2}
.app-tools-content li{padding-left:2px;margin:7px 0}
.app-tools .app-fine-print{font-size:11px;line-height:1.65;color:var(--muted)}
.app-testing label{display:block;font-size:12px;color:var(--text);margin:10px 0 5px}
.app-testing label[hidden]{display:none}
.app-testing label span{font-size:11px;color:var(--muted)}
.app-testing textarea{display:block;box-sizing:border-box;width:100%;max-width:100%;background:#070f1b;border:1px solid #3e5565;border-radius:8px;color:var(--text);font:16px/1.5 system-ui,-apple-system,sans-serif;padding:10px;resize:vertical;min-height:88px;max-height:350px;user-select:text;-webkit-user-select:text;-webkit-touch-callout:default;touch-action:auto}
.app-testing textarea[hidden]{display:none}
.app-testing textarea:focus{outline:2px solid var(--ally);outline-offset:2px}
.app-testing textarea::placeholder{color:#8a9da9;opacity:1}
.app-testing #appReport{font-size:12px;min-height:160px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.app-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
@media(max-width:620px){.app-tools-content{grid-template-columns:1fr;gap:20px}.app-testing{border-top:1px solid var(--line);padding-top:18px}.app-toolbar{gap:6px}.app-button{font-size:12px}}
@media(max-height:520px){.app-tools{margin-top:10px}.app-tools-content{gap:16px}}
