/* SPDX-License-Identifier: Apache-2.0 */
/* The Central in the tool sites' look (elffuss-ai shared/elffuss-look.css): a slow aurora behind the page, the glass
   header with the Elffuss mark and «· Central», serif headings, cards of the same slate. */
@import url("/shared/link.css");
body { position: relative; isolation: isolate; }
body::before {
  content: ""; position: fixed; inset: -25% -15%; z-index: -1; pointer-events: none; filter: blur(52px); will-change: transform;
  background:
    radial-gradient(38rem 26rem at 10% 6%, rgba(84, 220, 198, .20), transparent 70%),
    radial-gradient(42rem 28rem at 88% 4%, rgba(130, 114, 255, .30), transparent 70%),
    radial-gradient(34rem 24rem at 72% 64%, rgba(231, 121, 207, .12), transparent 70%),
    radial-gradient(40rem 26rem at 16% 80%, rgba(200, 160, 106, .18), transparent 70%);
  animation: aurora 48s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: translate3d(-2%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.06); } }
@media (prefers-reduced-motion: reduce) { body::before { animation: none; } }
.top {
  position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.5rem; flex-wrap: wrap;
  padding: .75rem 1.75rem; background: rgba(48, 55, 82, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(217, 178, 122, .35), 0 12px 30px -20px rgba(0, 0, 0, .6);
}
.brand-row { display: flex; align-items: center; gap: .6rem; }
.top .elffuss-mark { --accent: #c8a06a; }
.top a.elffuss-mark:hover { color: var(--fg); }
.brand-sep, .brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; color: var(--fg); }
.brand-sep { font-weight: 400; color: var(--muted); }
@media (max-width: 600px) { .top { padding: .6rem 1rem; position: static; } }
.me { display: flex; align-items: baseline; gap: .8em; flex-wrap: wrap; }
.me-name { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
.main { max-width: 860px; margin: 0 auto; padding: 24px 16px 72px; display: grid; gap: 16px; }
.boot { color: var(--muted); }
.card { background: rgba(57, 65, 95, .72); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .65); }
.card h2 { font-size: 1.2rem; margin: 0 0 .6em; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.card-h h2 { margin: 0; }
.card.warn { border-color: var(--gold); background: var(--warn-soft); }
.devices { list-style: none; margin: .8em 0 0; padding: 0; display: grid; gap: 10px; }
.device { display: flex; justify-content: space-between; gap: 1em; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(48, 55, 82, .55); }
.dev-name { font-family: var(--serif); font-size: 1.1rem; }
.dev-actions { display: flex; gap: .4em; flex-wrap: wrap; align-items: center; }
.empty { color: var(--muted); }
.banner { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 10px 14px; border-radius: 12px; background: var(--bg2); color: var(--ink); border: 1px solid var(--accent); }
.model { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; }
.check { display: inline-flex; gap: .4em; align-items: center; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .6em; background: var(--field); color: var(--ink); }
.try-out { white-space: pre-wrap; margin-top: .6em; min-height: 1.4em; }
.audit { margin: .6em 0 0; padding-left: 1.2em; color: var(--muted); font-size: .9em; }
.sheet { border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px 22px; width: min(480px, 94vw); background: var(--bg); color: var(--ink); box-shadow: 0 26px 36px -16px rgba(0, 0, 0, .7), 0 2px 0 rgba(0, 0, 0, .1); }
.sheet::backdrop { background: rgba(10,12,18,.55); }
.sheet.small { width: min(380px, 94vw); }
.sheet-h { display: flex; justify-content: space-between; align-items: center; }
.sheet-h h2 { margin: 0; font-size: 1.3rem; }
.step { color: var(--gold-ink); font-weight: 600; font-size: .85em; text-transform: uppercase; letter-spacing: .06em; margin: .8em 0 .2em; }
#sas-input { font-size: 1.8em; letter-spacing: .25em; text-align: center; width: 100%; padding: .3em; border: 1px solid var(--line); border-radius: 12px; margin: .4em 0; font-variant-numeric: tabular-nums; background: var(--field); color: var(--ink); }
.steps { padding-left: 1.2em; }
/* The engine's frame is a small VISIBLE badge in a corner, and must stay so: Chrome throttles cross-origin frames that
   are off-screen, empty or nearly invisible, and the engine then stalls (measured 2026-11-08 with LFM3 in the compute
   frame: 4 px at opacity .01, or off-screen, a turn with a system prompt never got its first token; at this size it
   answers at once). The frame draws its own status. */
.compute-slot { position: fixed; right: 12px; bottom: 12px; width: 190px; height: 34px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); box-shadow: 0 10px 24px -12px rgba(0,0,0,.7); z-index: 1; }
.compute-frame { border: 0; width: 190px; height: 34px; display: block; }
