* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #101820;
    color: #f2f2f2;
}
.layout { display: flex; height: 100vh; }
.panel {
    width: 310px;
    padding: 18px;
    background: #18232e;
    border-right: 1px solid #2f4152;
    overflow: auto;
}
h2 { margin-top: 0; }
p { color: #c6d2df; font-size: 14px; line-height: 1.35; }
.map-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
canvas {
    width: calc(100vw - 310px);
    height: 100vh;
    display: block;
    background: #183850;
    cursor: crosshair;
}
.buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 15px 0; }
button {
    border: 0;
    padding: 10px;
    border-radius: 6px;
    background: #2f80ed;
    color: white;
    cursor: pointer;
}
button:hover { filter: brightness(1.1); }
label { display: block; margin: 12px 0; font-size: 14px; color: #c6d2df; }
input {
    width: 100%;
    margin-top: 5px;
    padding: 9px;
    border-radius: 6px;
    border: 1px solid #40576c;
    background: #0f1720;
    color: white;
}
.status, .info {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    background: #0f1720;
    color: #d8e6f3;
    font-size: 14px;
    white-space: pre-line;
}
.status.error { background: #401d24; color: #ffb3bd; }
.status.ok { background: #143524; color: #a7f3c5; }
