@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=Geist+Mono:wght@400;500&display=swap');

:root {
  --bg: #000;
  --panel: #0a0a0a;
  --panel-2: #111;
  --line: #1e1e1e;
  --line-2: #2a2a2a;
  --text: #f5f5f5;
  --muted: #8b8b8b;
  --dim: #555;
  --sans: 'Geist', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px;
       -webkit-font-smoothing: antialiased; width: 1440px; height: 900px; overflow: hidden; display: flex; }

/* sidebar */
.side { width: 220px; border-right: 1px solid var(--line); padding: 20px 16px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px 26px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.brand img { width: 22px; height: 22px; image-rendering: pixelated; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted);
         text-decoration: none; font-size: 14px; margin-bottom: 2px; }
.nav a.on { background: var(--panel-2); color: var(--text); }
.nav svg { width: 14px; height: 14px; }
.side .foot { margin-top: auto; }
.handle { font-family: var(--mono); font-size: 12px; color: var(--muted); padding: 0 12px 14px; }
.built { border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.built b { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }

/* main + top bar */
.main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.top { position: relative; flex: none; height: 64px; border-bottom: 1px solid var(--line); display: flex; align-items: center; padding: 0 28px; gap: 12px; }
.search { width: 340px; height: 38px; border: 1px solid var(--line-2); border-radius: 999px; display: flex; align-items: center;
          padding: 0 16px; color: var(--dim); font-size: 13px; gap: 10px; margin: 0; flex: none; }
.wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; }
.top .btn.solid { margin-left: auto; }
.wm canvas { display: block; cursor: pointer; }
.wm:focus-visible { outline: 1px solid var(--text); outline-offset: 6px; }
.btn { height: 38px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 13px;
       font-weight: 500; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.btn.solid { background: var(--text); color: #000; border-color: var(--text); }
.btn.lg { height: 44px; padding: 0 22px; font-size: 14px; }

.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.mono { font-family: var(--mono); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.up { color: var(--text); }
a.btn { text-decoration: none; }
