@font-face{font-family:Topaz;src:url(https://cdn.jsdelivr.net/gh/rewtnull/amigafonts@master/ttf/Topaz_a500_v1.0.ttf)format("truetype");font-display:swap}:root{--blue:#05a;--white:#fff;--black:#002;--orange:#f80;--font:"Topaz", "Lucida Console", "Courier New", monospace;--fs:16px;--title-h:20px;--cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='22' height='22' shape-rendering='crispEdges'><path d='M1 1h3v1h2v1h2v1h2v1h2v1h2v1h2v1h-6v1h1v1h1v2h1v2h-3v-2h-1v-2h-1v-1h-1v2h-1v1h-2v1h-1z' fill='%23000022'/><path d='M2 2h2v1h2v1h2v1h2v1h2v1h-5v2h1v2h1v1h1v1h-1v-1h-1v-2h-1v-1h-2v2h-1v1h-1z' fill='%23ff8800'/><path d='M2 2h2v1h-1v6h-1z' fill='%23ffffff'/></svg>") 1 1, default;--busy:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='26' height='24' shape-rendering='crispEdges'><path d='M6 2h12v2h4v4h2v8h-2v4h-4v2h-12v-2h-4v-4h-2v-8h2v-4h4z' fill='%23000022'/><path d='M7 3h10v2h4v4h2v6h-2v4h-4v2h-10v-2h-4v-4h-2v-6h2v-4h4z' fill='%23ffffff'/><path d='M8 7h5v1h-1v1h-1v1h-1v1h3v1h-5v-1h1v-1h1v-1h1v-1h-3zM14 11h4v1h-1v1h-1v1h2v1h-4v-1h1v-1h1v-1h-2z' fill='%23000022'/></svg>") 12 12, wait}*{box-sizing:border-box}html,body{height:100%;margin:0;overflow:hidden}body{background:var(--blue);color:var(--white);font-family:var(--font);font-size:var(--fs);cursor:var(--cursor);-webkit-user-select:none;user-select:none;-webkit-font-smoothing:none;font-smooth:never;line-height:1}body.busy,body.busy *{cursor:var(--busy)!important}button,input,select{font-family:var(--font);font-size:var(--fs);cursor:var(--cursor)}#screen-bar{height:var(--title-h);background:var(--white);color:var(--blue);z-index:100000;white-space:nowrap;align-items:center;padding-left:4px;display:flex;position:fixed;inset:0 0 auto;overflow:hidden}#screen-bar .title{text-overflow:clip;flex:1;padding-top:2px;overflow:hidden}#screen-bar .depth{gap:2px;width:46px;height:100%;padding:2px;display:flex}#screen-bar .depth span{border:2px solid var(--blue);flex:1;position:relative}#screen-bar .depth span:after{content:"";background:var(--blue);position:absolute;inset:2px 6px 6px 2px}#screen-bar .depth span+span:after{background:var(--white);border:2px solid var(--blue)}#screen-bar.menu-mode{background:var(--white)}#screen-bar .menus{height:100%;display:none}#screen-bar.menu-mode .menus{display:flex}#screen-bar.menu-mode .title,#screen-bar.menu-mode .depth{display:none}.menus .m{height:100%;color:var(--blue);align-items:center;padding:2px 10px 0;display:flex}.menus .m.open{background:var(--blue);color:var(--white)}.menu-drop{background:var(--white);color:var(--blue);border:2px solid var(--blue);outline:2px solid var(--white);z-index:100001;min-width:230px;padding:2px 0;position:fixed}.menu-drop .it{white-space:nowrap;justify-content:space-between;gap:18px;padding:3px 10px;display:flex}.menu-drop .it.hot{background:var(--blue);color:var(--white)}.menu-drop .it.dis{color:#89b}.menu-drop .sep{background:repeating-linear-gradient(90deg, var(--blue) 0 2px, transparent 2px 4px);height:2px;margin:3px 4px}#desktop{inset:var(--title-h) 0 0 0;position:fixed}.icon{flex-direction:column;align-items:center;gap:4px;width:110px;padding:2px;display:flex;position:absolute}.icon .img{image-rendering:pixelated;display:block}.icon .lbl{color:var(--white);text-align:center;white-space:nowrap;padding:1px 2px}.icon.sel .lbl{background:var(--orange);color:var(--black)}.icon.sm{width:92px;position:static}.win{background:var(--blue);border:2px solid var(--white);flex-direction:column;min-width:180px;min-height:80px;display:flex;position:absolute}.win .tb{height:var(--title-h);flex:0 0 var(--title-h);background:var(--blue);color:var(--white);border-bottom:2px solid var(--white);align-items:stretch;display:flex}.win.active .tb{background:var(--white);color:var(--blue)}.win .tb .close{border-right:2px solid;flex:0 0 24px;width:24px;position:relative}.win .tb .close:after{content:"";border:2px solid;width:8px;height:8px;position:absolute;top:4px;left:6px}.win .tb .close:active{background:var(--orange)}.win .tb .ttl{flex:1;align-items:center;gap:6px;min-width:0;padding:2px 4px 0;display:flex}.win .tb .ttl .t{white-space:nowrap;text-overflow:ellipsis;flex:0 auto;overflow:hidden}.win .tb .ttl .stripes{flex:30px;min-width:10px;height:12px;margin-top:-2px}.win.active .tb .ttl .stripes{background:repeating-linear-gradient(180deg, var(--blue) 0 2px, transparent 2px 4px)}.win .tb .dg{border-left:2px solid;flex:0 0 26px;width:26px;position:relative}.win .tb .dg:before,.win .tb .dg:after{content:"";border:2px solid;width:10px;height:8px;position:absolute}.win .tb .dg.front:before{top:3px;left:3px}.win .tb .dg.front:after{background:currentColor;top:7px;left:9px}.win .tb .dg.back:before{background:currentColor;top:3px;left:3px}.win .tb .dg.back:after{background:var(--blue);top:7px;left:9px}.win.active .tb .dg.back:after{background:var(--white)}.win .tb .dg:active{background:var(--orange)}.win .body{flex:1;min-height:0;position:relative;overflow:auto}.win .body.pad{padding:6px 8px}.win .rs{background:var(--white);border:2px solid var(--white);z-index:2;width:18px;height:16px;position:absolute;bottom:-2px;right:-2px}.win .rs:after{content:"";background:linear-gradient(135deg, transparent 50%, var(--blue) 50%);position:absolute;inset:2px}.win:not(.active) .rs{background:var(--blue)}.win ::-webkit-scrollbar{width:16px;height:16px}.win ::-webkit-scrollbar-track{background:var(--blue);border-left:2px solid var(--white)}.win ::-webkit-scrollbar-thumb{background:var(--orange);border:3px solid var(--blue)}.win ::-webkit-scrollbar-corner{background:var(--blue)}.row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tools{border-bottom:2px solid var(--white);background:var(--blue);z-index:3;flex-wrap:wrap;align-items:center;gap:4px;padding:4px 6px;display:flex;position:sticky;top:0}.btn{background:var(--blue);color:var(--white);border:2px solid var(--white);white-space:nowrap;box-shadow:inset -2px -2px 0 var(--black), inset 2px 2px 0 var(--white);padding:3px 8px 1px;line-height:14px}.btn:active,.btn.on{background:var(--orange);color:var(--black)}.btn.cycle:before{content:"⟳ "}.btn.primary{border-color:var(--orange)}.str{background:var(--blue);color:var(--white);border:2px solid var(--orange);outline:2px solid var(--blue);width:80px;height:22px;padding:2px 4px 0}.str:focus{outline:2px solid var(--white)}.chk{align-items:center;gap:6px;display:inline-flex}.chk i{border:2px solid var(--white);width:18px;height:16px;display:inline-block;position:relative}.chk.on i:after{content:"";border:solid var(--orange);border-width:0 3px 3px 0;width:5px;height:9px;position:absolute;top:0;left:4px;transform:rotate(40deg)}.lbl-o{color:var(--orange)}.dim{color:#aac4e6}.warn{color:var(--orange)}.badge{border:2px solid var(--orange);color:var(--orange);white-space:nowrap;padding:2px 4px 0}.hash{background:var(--white);color:var(--blue);letter-spacing:1px;padding:2px 5px 0}hr.dots{background:repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 4px);border:0;height:2px;margin:8px 0}h3{font-size:var(--fs);color:var(--orange);margin:10px 0 6px;font-weight:400}table.t{border-collapse:collapse;width:max-content;min-width:100%}table.t th,table.t td{text-align:left;white-space:nowrap;border-right:2px dotted #ffffff40;padding:3px 7px 1px}table.t th{background:var(--white);color:var(--blue);z-index:1;cursor:var(--cursor);font-weight:400;position:sticky;top:0}.tools+.scroll table.t th{top:0}table.t td.n,table.t th.n{text-align:right}table.t tr:nth-child(2n) td{background:#0000001f}table.t tr.sel td{color:var(--black);background:var(--orange)!important}table.t tr:hover td{outline:1px dotted var(--white);outline-offset:-2px}table.t tr.tot td{border-top:2px solid var(--white);color:var(--orange)}.scroll{height:100%;overflow:auto}.flex-col{flex-direction:column;height:100%;display:flex}.flex-col>.grow{flex:1;min-height:0;overflow:auto}.req .body{padding:10px 12px}.req p{margin:0 0 10px;line-height:1.25}.req .row{justify-content:space-between;margin-top:12px}.view3d{position:absolute;inset:0}.view3d canvas{width:100%;height:100%;display:block}.view3d.pixel canvas{image-rendering:pixelated}.legend{pointer-events:none;text-shadow:2px 2px 0 var(--black);flex-direction:column;gap:2px;display:flex;position:absolute;bottom:6px;left:6px}.legend span i{border:1px solid var(--black);width:14px;height:10px;margin-right:6px;display:inline-block}.plan svg{background:var(--blue);width:100%;height:100%;display:block}.plan canvas{width:100%;height:100%;image-rendering:pixelated;pointer-events:none;position:absolute;inset:0}.hint{color:#aac4e6;pointer-events:none;background:var(--blue);border:2px solid #37b;max-width:calc(100% - 12px);padding:3px 5px 1px;line-height:1.15;position:absolute;bottom:6px;right:6px}.kv{grid-template-columns:max-content 1fr;gap:4px 12px;display:grid}.kv>:nth-child(odd){color:#aac4e6}.mono-wrap{word-break:break-all;-webkit-user-select:text;user-select:text}.drawer{flex-wrap:wrap;align-content:flex-start;gap:10px 4px;padding:10px 6px;display:flex}.drop-hint{border:4px dashed var(--orange);z-index:200000;background:#00002280;justify-content:center;align-items:center;font-size:32px;display:none;position:fixed;inset:40px}body.dragging .drop-hint{display:flex}.flaglist li{color:var(--orange);margin:3px 0}.bar{background:var(--orange);vertical-align:middle;height:10px;display:inline-block}.kv>span{white-space:pre-line}@keyframes ants{to{stroke-dashoffset:calc(-1 * var(--ants,1))}}@keyframes selpulse{0%,to{stroke-opacity:1}50%{stroke-opacity:.15}}.plan .sel-ants{animation:.6s linear infinite ants}.plan .sel-ring{animation:.9s steps(2,jump-none) infinite selpulse}.calc-h{color:var(--orange);margin:8px 0 2px}table.t.calc{width:100%;min-width:0}table.t.calc td{white-space:normal;vertical-align:top}table.t.calc td:first-child{width:30%}table.t.calc td.expr{color:#cfe0ff}table.t.calc td.n{white-space:nowrap;width:22%}ol.guide{margin:4px 0;padding-left:22px}ol.guide li{border:2px solid #0000;margin:0 0 8px;padding:4px 6px}ol.guide li.cur{background:#0000002e;border:2px solid #f2e}ol.guide li .btn{margin-top:3px}ol.guide.small li{margin:0 0 2px;padding:0 6px}@keyframes winflash{0%,to{box-shadow:0 0 #0000}25%,75%{box-shadow:0 0 0 5px #f2e}50%{box-shadow:0 0 0 5px #fff}}.win.flash{animation:.65s steps(2,jump-none) 4 winflash}
