:root { --bg0: #09090b; --color-panel: rgba(255, 255, 255, 0.04); --color-panel-2: rgba(255, 255, 255, 0.06); --stroke: rgba(255, 255, 255, 0.08); --stroke2: rgba(255, 255, 255, 0.12); --text0: rgba(255, 255, 255, 0.92); --text1: rgba(255, 255, 255, 0.72); --text2: rgba(255, 255, 255, 0.52); --accent: #7c3aed; --accent2: #a78bfa; --accent-border: rgba(124, 58, 237, 0.55); --accent-fill-solid: rgba(124, 58, 237, 0.92); --accent-fill-soft: rgba(124, 58, 237, 0.1); --color-danger: rgba(248, 113, 113, 0.95); --radius-sm: 8px; --radius-md: 12px; --shadow: 0 24px 60px rgba(0, 0, 0, 0.55); font-family: 'Segoe UI', 'IBM Plex Sans', system-ui, sans-serif; color: var(--text0); background: var(--bg0); } * { box-sizing: border-box; } html, body, #root { margin: 0; height: 100%; } button { height: 34px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--stroke); background: var(--color-panel); color: var(--text0); cursor: pointer; } button.primary { border: 1px solid var(--accent-border); background: var(--accent-fill-solid); } button:disabled { opacity: 0.45; cursor: not-allowed; } input, select, textarea { background: var(--color-panel-2); border: 1px solid var(--stroke); border-radius: var(--radius-sm); color: var(--text0); padding: 8px 10px; width: 100%; } .appShell { display: grid; grid-template-columns: 260px 1fr; height: 100%; } .sidebar { border-right: 1px solid var(--stroke); background: #18181b; padding: 16px; display: flex; flex-direction: column; gap: 12px; } .brand { font-size: 18px; font-weight: 700; } .brand span { color: var(--accent2); } .navBtn { text-align: left; width: 100%; } .navBtn.active { border-color: var(--accent-border); background: var(--accent-fill-soft); } .statusLine { margin-top: auto; font-size: 12px; min-height: 2.5em; } .main { padding: 20px; overflow: auto; } .panel { background: var(--color-panel); border: 1px solid var(--stroke); border-radius: var(--radius-md); padding: 16px; margin-bottom: 16px; } .heroPanel { margin-bottom: 16px; } .heroPanel h1 { margin: 0 0 8px; font-size: 28px; font-weight: 700; } .row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .row.wrap { flex-wrap: wrap; } .muted { color: var(--text2); } .error { color: var(--color-danger); font-size: 13px; } .systemsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } .systemCard { border: 1px solid var(--stroke); border-radius: var(--radius-md); background: var(--color-panel-2); padding: 14px; display: flex; flex-direction: column; gap: 12px; } .nameInput { max-width: 360px; } .stickyBar { position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); } .sheetCanvas { position: relative; min-height: 720px; background: linear-gradient(var(--stroke) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, var(--stroke) 1px, transparent 1px) 0 0 / 16px 16px, #0c0c10; border: 1px solid var(--stroke2); border-radius: var(--radius-md); overflow: hidden; } .widget { position: absolute; border: 1px solid var(--stroke2); background: rgba(10, 10, 14, 0.94); border-radius: 8px; padding: 8px; overflow: hidden; touch-action: none; user-select: none; } .widget.selected { border-color: var(--accent2); box-shadow: 0 0 0 1px var(--accent-border); } .widgetChrome { font-size: 10px; color: var(--text2); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .widgetBody { pointer-events: none; } .resizeHandle { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 3px; background: var(--accent-fill-soft); border: 1px solid var(--accent-border); cursor: nwse-resize; pointer-events: auto; } .designerGrid { display: grid; grid-template-columns: 220px 1fr 240px; gap: 12px; min-height: calc(100vh - 120px); } .designerSide { max-height: calc(100vh - 120px); overflow: auto; } .sideTitle { font-weight: 700; margin: 8px 0; color: var(--text1); } .palette { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .paletteItem { width: 100%; text-align: left; } .brickList { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; } .brickRow { display: flex; justify-content: space-between; align-items: center; font-size: 12px; padding: 4px 6px; border: 1px solid var(--stroke); border-radius: 6px; } .brickRow button { height: 24px; padding: 0 8px; } .propsForm { display: flex; flex-direction: column; gap: 10px; } .propsForm label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--text1); } .designerCanvasHost { min-width: 0; }