body { font-family: system-ui, sans-serif; margin: 0; background: #14161a; color: #e6e6e6; }
header { display: flex; gap: 1rem; align-items: center; padding: .6rem 1rem; background: #1d2026; border-bottom: 1px solid #2c3038; }
header h1 { font-size: 1.1rem; margin: 0; flex: 1; }
main { padding: 1rem; }
.hidden { display: none !important; }
button, .button { background: #2d6cdf; color: #fff; border: 0; border-radius: 4px; padding: .35rem .8rem; cursor: pointer; text-decoration: none; font: inherit; }
button.danger { background: #c0392b; }
button.secondary { background: #3a3f48; }
nav { display: flex; gap: .4rem; margin-bottom: 1rem; align-items: center; }
nav button { background: #3a3f48; }
nav button.active { background: #2d6cdf; }
#status { margin-left: auto; color: #9aa3ad; font-size: .9rem; }
.split { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.map-box { flex: 0 0 auto; }
canvas { background: #0f1114; border: 1px solid #2c3038; cursor: grab; }
.map-tools { display: flex; gap: .5rem; align-items: center; margin: .4rem 0; color: #9aa3ad; font-size: .9rem; }
table { border-collapse: collapse; min-width: 420px; flex: 1; }
th, td { text-align: left; padding: .3rem .5rem; border-bottom: 1px solid #2c3038; font-size: .9rem; }
td.mono, pre { font-family: ui-monospace, Consolas, monospace; }
pre { background: #0f1114; border: 1px solid #2c3038; padding: .6rem; max-height: 22rem; overflow: auto; white-space: pre-wrap; font-size: .8rem; }
#console-form { display: flex; gap: .5rem; }
#command { flex: 1; background: #0f1114; color: #e6e6e6; border: 1px solid #2c3038; padding: .35rem; font-family: ui-monospace, Consolas, monospace; }
.error { color: #ff7b72; }
.ok { color: #7ee787; }
