* { box-sizing: border-box; } html, body, #root { height: 100%; margin: 0; } body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; color: #e2e5ea; background: #161a22; } .app { display: flex; height: 100%; } .sidebar { width: 340px; flex-shrink: 0; overflow-y: auto; padding: 20px; background: #1e2128; border-right: 1px solid #2c313a; } .sidebar h1 { margin: 0 0 4px; font-size: 20px; color: #fff; } .tagline { margin: 0 0 10px; color: #9aa1ac; font-size: 13px; line-height: 1.45; } .tagline a { color: #9b8bff; } .engine-status { margin: 0 0 16px; font-size: 12px; color: #9aa1ac; } .engine-status.loading { color: #ecc477; } .engine-status.ready { color: #8fd7ab; } .engine-status.error { color: #f2a3a3; } .sidebar section { margin-bottom: 22px; } .sidebar h2 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #7f8794; margin: 0 0 8px; } button { font: inherit; padding: 7px 12px; border-radius: 6px; border: 1px solid #3a4150; background: #2a2f39; color: #e2e5ea; cursor: pointer; } button:hover:not(:disabled) { background: #333947; } button:disabled { opacity: 0.5; cursor: default; } .primitive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; } .button-row { display: flex; gap: 8px; } .button-row button { flex: 1; } button.primary { margin-top: 10px; width: 100%; background: #6a44c8; border-color: #6a44c8; color: #fff; font-weight: 600; } button.primary:hover:not(:disabled) { background: #7a54d8; } button.subtle { margin-top: 8px; padding: 3px 8px; font-size: 12px; color: #9aa1ac; background: transparent; border-color: #2c313a; } select { font: inherit; width: 100%; padding: 7px 8px; border-radius: 6px; border: 1px solid #3a4150; background: #2a2f39; color: #e2e5ea; } .error { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(220, 70, 70, 0.12); border: 1px solid rgba(220, 70, 70, 0.45); color: #f2a3a3; font-size: 13px; white-space: pre-wrap; } .busy { margin-top: 10px; color: #ecc477; font-size: 13px; } .mesh-info { font-size: 13px; line-height: 1.55; } .mesh-info .source { color: #7f8794; font-size: 12px; margin-bottom: 4px; overflow-wrap: anywhere; } .chip { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 999px; font-size: 12px; border: 1px solid #3a4150; color: #b3b9c2; } .chip.on { color: #a8d5b8; border-color: rgba(80, 190, 120, 0.5); } .view-toolbar { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid #3a4150; border-radius: 6px; overflow: hidden; } .view-overlay { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; } .view-overlay .view-toolbar { flex-wrap: nowrap; background: rgba(30, 33, 40, 0.88); } .view-overlay .view-toolbar button { flex: 0 0 auto; white-space: nowrap; } .view-toolbar button { flex: 1 1 auto; border: none; border-radius: 0; background: transparent; padding: 6px 8px; font-size: 12px; color: #9aa1ac; } .view-toolbar button + button { border-left: 1px solid #3a4150; } .view-toolbar button.active { background: rgba(106, 68, 200, 0.4); color: #e7ddff; } .slider { display: block; margin: 12px 0 0; } .slider > span { display: block; font-size: 12.5px; color: #9aa1ac; margin-bottom: 4px; } .slider input[type='range'] { width: 100%; } .footnote { margin: 8px 0 0; color: #6b7280; font-size: 12px; line-height: 1.45; } .viewport { flex: 1; min-width: 0; position: relative; } .view-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 15px; pointer-events: none; }