.asm8080{--blue:#2057a6;--dark:#18263a;--line:#dce4ef;max-width:1180px;margin:0 auto 64px;color:var(--dark)}
.asm8080__lead{max-width:850px;margin:0 0 22px;color:#53657d;font-size:17px;line-height:1.6}
.asm8080__toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}
.asm8080 button,.asm8080__upload{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #b8c9de;border-radius:9px;background:#fff;color:var(--blue);font-weight:700;cursor:pointer;text-decoration:none!important}
.asm8080 button:hover,.asm8080__upload:hover{background:#f0f6ff}.asm8080 button:disabled{opacity:.45;cursor:not-allowed}
.asm8080__primary{border-color:var(--blue)!important;background:var(--blue)!important;color:#fff!important}.asm8080__run{border-color:#18733c!important;background:#21894a!important;color:#fff!important}
.asm8080__upload input{position:absolute;width:1px;height:1px;opacity:0}.asm8080__stats{margin-left:auto;color:#64758b;font-size:14px}
.asm8080__workspace{display:grid;grid-template-columns:minmax(0,1fr) 330px;min-height:610px;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 6px 24px rgba(32,61,98,.07)}
.asm8080__editor{display:grid;grid-template-columns:54px minmax(0,1fr);min-width:0;background:#17202d}
.asm8080__lines{height:610px;margin:0;padding:18px 10px;overflow:hidden;border-right:1px solid #344255;background:#111923;color:#718198;text-align:right;font:14px/1.55 Consolas,"Courier New",monospace;user-select:none}
.asm8080__source{width:100%;height:610px;padding:18px;border:0;outline:0;resize:none;background:#17202d;color:#e7edf6;caret-color:#69a7ff;tab-size:4;font:14px/1.55 Consolas,"Courier New",monospace;white-space:pre;overflow:auto}
.asm8080__side{display:flex;min-width:0;flex-direction:column;border-left:1px solid var(--line);background:#f8fafc}
.asm8080__side h3{margin:0;padding:18px 18px 10px;font-size:17px}.asm8080__help{margin:0;padding:0 24px 18px;color:#5d6c80;line-height:1.55}.asm8080__help code{color:#174a91}
.asm8080__status{margin:0 16px 14px;padding:12px 13px;border-radius:9px;background:#edf4ff;color:#174a91;line-height:1.45}.asm8080__status.is-error{background:#fff0f0;color:#a72b2b}.asm8080__status.is-success{background:#eaf8ef;color:#16703a}
.asm8080__errors{display:flex;max-height:260px;padding:0 16px 16px;overflow:auto;flex-direction:column;gap:7px}.asm8080__errors button{display:block;min-height:0;padding:9px 10px;border-color:#efc4c4;background:#fff7f7;color:#a12d2d;text-align:left;font-weight:500}
.asm8080__license{margin-top:auto;padding:14px 18px;border-top:1px solid var(--line);color:#7c899a;font-size:12px;line-height:1.5}.asm8080__license a{color:#526f98}
.asm8080__emulator{margin-top:20px;overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#111923}.asm8080__emuhead{display:flex;gap:10px;align-items:center;padding:12px 14px;background:#f7f9fc}.asm8080__emuhead strong{margin-right:auto}.asm8080__emuhead button{min-height:36px;padding:7px 11px}.asm8080__cpu{padding:8px 14px;background:#eaf0f7;color:#34465e;font:13px Consolas,monospace}.asm8080__frame{display:block;width:100%;aspect-ratio:4/3;border:0;background:#000}
@media(max-width:900px){.asm8080__workspace{grid-template-columns:1fr}.asm8080__side{border-top:1px solid var(--line);border-left:0}.asm8080__license{margin-top:10px}.asm8080__stats{width:100%;margin-left:0}.asm8080__source,.asm8080__lines{height:520px}}
@media(max-width:520px){.asm8080__toolbar>*{width:100%}.asm8080__editor{grid-template-columns:42px 1fr}.asm8080__lines{padding-right:7px}.asm8080__source{padding:14px 10px;font-size:13px}.asm8080__emuhead{align-items:stretch;flex-wrap:wrap}.asm8080__emuhead strong{width:100%}.asm8080__emuhead button{flex:1}}
