* { box-sizing: border-box; } html, body { height: 100%; } body { margin: 0; background: var(--background); color: var(--foreground); font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Inter, Roboto, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.5; display: flex; flex-direction: column; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; } .titlebar { -webkit-app-region: drag; display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; flex: none; } html[data-platform="darwin"] .titlebar { padding-left: 88px; } .titlebar-name { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-foreground); } .titlebar-quit { -webkit-app-region: no-drag; background: none; border: 0; color: var(--muted-foreground); font: inherit; font-size: 12px; cursor: pointer; padding: 4px 8px; border-radius: 6px; } .titlebar-quit:hover { color: var(--foreground); background: var(--accent); } .shell { flex: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 24px 28px 32px; display: flex; flex-direction: column; justify-content: center; } .heading { margin: 0 0 8px; font-size: 26px; font-weight: 600; letter-spacing: -0.01em; } .subheading { margin: 0 0 20px; color: var(--muted-foreground); } .choices { border: 0; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; } .choice { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: var(--card); cursor: pointer; } .choice:hover { border-color: var(--input); } .choice:has(input:checked) { border-color: var(--primary); background: var(--accent); } .choice:has(input:focus-visible) { outline: 2px solid var(--ring); outline-offset: 2px; } .choice input { margin: 0; accent-color: var(--primary); flex: none; } .choice-title { font-weight: 600; } .panel { margin-bottom: 4px; } .field-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-foreground); margin-bottom: 6px; } .field { width: 100%; padding: 10px 12px; border-radius: calc(var(--radius) - 3px); border: 1px solid var(--input); background: var(--background); color: var(--foreground); font: inherit; font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace; font-size: 13px; } .field:focus-visible { outline: 2px solid var(--ring); outline-offset: 1px; border-color: var(--ring); } .stack-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .stack-phase { margin: 0; min-height: 20px; font-size: 13px; color: var(--foreground); } .icon-button { flex: none; display: flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 6px; background: none; color: var(--muted-foreground); cursor: pointer; } .icon-button:hover, .icon-button[aria-expanded="true"] { color: var(--foreground); background: var(--accent); } .icon-button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; } .icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; } .progress { margin-top: 10px; height: 4px; border-radius: 999px; background: var(--accent); overflow: hidden; } .progress-fill { height: 100%; width: 0; border-radius: inherit; background: var(--primary); transition: width 400ms ease-out; } @media (prefers-reduced-motion: reduce) { .progress-fill { transition: none; } } .stack-detail { margin: 8px 0 0; min-height: 18px; font-size: 12px; color: var(--muted-foreground); font-variant-numeric: tabular-nums; } /* No size to report (a failure, or before the first layer): take no room. */ .stack-detail:empty { margin: 0; min-height: 0; } .stack-phase[data-tone="error"] { color: var(--destructive); } .stack-phase[data-tone="ok"] { color: var(--success); } .stack-output { margin: 10px 0 0; max-height: 160px; overflow: auto; padding: 10px 12px; border-radius: calc(var(--radius) - 3px); border: 1px solid var(--border); background: var(--background); color: var(--muted-foreground); font-family: ui-monospace, SFMono-Regular, "Cascadia Mono", Menlo, monospace; font-size: 12px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; } .stack-help { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; } .link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; } .link:hover { color: var(--foreground); } .link:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; border-radius: 3px; } .status { margin: 14px 0 0; min-height: 20px; font-size: 13px; color: var(--muted-foreground); } .status[data-tone="ok"] { color: var(--success); } .status[data-tone="error"] { color: var(--destructive); } .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; } .button { font: inherit; font-weight: 600; padding: 9px 18px; border-radius: calc(var(--radius) - 3px); cursor: pointer; border: 1px solid transparent; } .button:disabled { opacity: 0.55; cursor: default; } .button:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; } .button-primary { background: var(--primary); color: var(--primary-foreground); } .button-primary:hover:not(:disabled) { background: color-mix(in srgb, var(--primary) 88%, var(--foreground)); } .button-secondary { background: var(--secondary); color: var(--secondary-foreground); border-color: var(--input); } .button-secondary:hover:not(:disabled) { border-color: var(--muted-foreground); } /* Last so it wins over the flex layouts above at equal specificity. */ [hidden] { display: none; }