/* Glass / always-on-top widget look. */ :root { --bg: rgba(18, 20, 26, 0.93); --bg-card: rgba(255, 255, 255, 0.04); --border: rgba(255, 255, 255, 0.08); --fg: #e8eaf0; --fg-dim: #9aa0aa; --accent: #b08bff; /* Anthropic-ish purple */ --opus: #b08bff; --sonnet: #6ec1ff; --haiku: #7ee0a3; --other: #d8d8d8; --warn: #ffb454; --danger: #ff6b6b; --radius: 10px; --pad: 10px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 13px; color: var(--fg); } html, body { margin: 0; padding: 0; width: 100%; height: 100%; background: transparent; /* honor Tauri transparent:true */ user-select: none; -webkit-user-select: none; } #app { width: 100vw; height: 100vh; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; /* the window itself never scrolls */ display: flex; flex-direction: column; backdrop-filter: blur(14px); } /* Each child of #app gets a sensible flex behavior so resizing reflows instead of overflowing. TitleBar and section panels are flex:0 (size to content); the BlockRing wrap is flex:1 (claims remaining space). */ /* Hide scrollbars unless content really overflows; when they do appear, make them subtle. */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: 3px; } ::-webkit-scrollbar-track { background: transparent; } button { font: inherit; color: inherit; background: transparent; border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; cursor: pointer; } button:hover { background: rgba(255, 255, 255, 0.06); } button.icon { border: none; padding: 4px; width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; color: var(--fg-dim); } button.icon:hover { color: var(--fg); } input[type="number"], input[type="text"], select { font: inherit; color: inherit; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: 6px; padding: 4px 6px; width: 100%; box-sizing: border-box; } .section { flex: 0 0 auto; padding: 6px var(--pad) 8px; border-top: 1px solid var(--border); } .section:first-child { border-top: none; } .label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--fg-dim); margin-bottom: 4px; } .row { display: flex; align-items: center; gap: 8px; } .row.spread { justify-content: space-between; } .muted { color: var(--fg-dim); font-size: 11px; }