/* /Pages/Home.razor.rz.scp.css */
.console[b-fmvi1owt8h] {
    max-width: 600px;
    margin: 0 auto;
    padding: 2.4rem 1.2rem 4rem;
}

/* ---------------- status bar ---------------- */
.statusbar[b-fmvi1owt8h] {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--dim);
    border-bottom: 1px solid var(--line);
    padding-bottom: 0.7rem;
    margin-bottom: 1.5rem;
}
.statusbar .brand[b-fmvi1owt8h] { color: var(--text); letter-spacing: 0.32em; }
.statusbar .node[b-fmvi1owt8h] { flex: 1; }
.statusbar .state[b-fmvi1owt8h] { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); }
.statusbar .dot[b-fmvi1owt8h] {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 6px var(--accent);
    animation: breathe-b-fmvi1owt8h 2.8s ease-in-out infinite;
}
@keyframes breathe-b-fmvi1owt8h { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------------- prompt ---------------- */
.prompt[b-fmvi1owt8h] {
    font-size: 1.05rem;
    color: var(--dim);
    margin-bottom: 1.6rem;
    word-break: break-word;
}
.prompt .path[b-fmvi1owt8h] { color: var(--accent-dim); }
.prompt .muted[b-fmvi1owt8h] { color: var(--accent-dim); }
.prompt .sigil[b-fmvi1owt8h] { color: var(--accent); }
.prompt .cmd[b-fmvi1owt8h] { color: var(--text); }
.caret[b-fmvi1owt8h] {
    display: inline-block;
    width: 0.55ch; height: 1.05em;
    background: var(--accent);
    margin-left: 4px;
    vertical-align: -0.18em;
    animation: caret-b-fmvi1owt8h 1.1s steps(1) infinite;
}
@keyframes caret-b-fmvi1owt8h { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }

/* ---------------- offline note ---------------- */
.note[b-fmvi1owt8h] {
    color: var(--warn);
    font-size: 0.82rem;
    border-left: 2px solid var(--warn);
    padding: 0.25rem 0 0.25rem 0.7rem;
    margin-bottom: 1.6rem;
}

/* ---------------- readouts (hairline grid) ---------------- */
.readouts[b-fmvi1owt8h] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-bottom: 1.8rem;
}
.readout[b-fmvi1owt8h] { background: var(--bg); padding: 1rem 1.1rem; }
.readout .k[b-fmvi1owt8h] {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--dim);
    margin-bottom: 0.45rem;
}
.readout .v[b-fmvi1owt8h] {
    font-size: 2rem;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}
.readout .v.accent[b-fmvi1owt8h] { color: var(--accent); }

/* ---------------- blocks ---------------- */
.block[b-fmvi1owt8h] { margin-bottom: 1.8rem; }
.legend[b-fmvi1owt8h] {
    font-size: 0.6rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--dim);
    margin: 0 0 0.8rem;
}
.legend[b-fmvi1owt8h]::before { content: "// "; color: var(--accent-dim); }

/* ---------------- ops (console rows) ---------------- */
.ops[b-fmvi1owt8h] { display: flex; flex-direction: column; }
.ops .op[b-fmvi1owt8h] { margin-bottom: -1px; } /* collapse shared 1px borders between stacked rows */
.ops .op:last-child[b-fmvi1owt8h] { margin-bottom: 0; }
.op[b-fmvi1owt8h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.92rem;
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.op .mark[b-fmvi1owt8h] {
    width: 8px; height: 8px;
    border: 1px solid var(--dim);
    flex: none;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.op .op-name[b-fmvi1owt8h] { flex: 1; letter-spacing: 0.04em; }
.op .op-dur[b-fmvi1owt8h] { color: var(--dim); font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.op:hover[b-fmvi1owt8h] { border-color: var(--accent-dim); background: rgba(126, 224, 184, 0.03); position: relative; z-index: 1; }
.op.sel[b-fmvi1owt8h] { border-color: var(--accent); position: relative; z-index: 2; }
.op.sel .mark[b-fmvi1owt8h] { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 6px var(--accent); }
.op.sel .op-dur[b-fmvi1owt8h] { color: var(--accent); }

/* ---------------- current task + progress ---------------- */
.task[b-fmvi1owt8h] { margin-top: 1.1rem; }
.task-label[b-fmvi1owt8h] {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--dim);
    margin-bottom: 0.55rem;
}
.track[b-fmvi1owt8h] { height: 2px; background: var(--line); position: relative; }
.fill[b-fmvi1owt8h] {
    height: 100%;
    background: var(--accent);
    position: relative;
    transition: width 0.1s linear;
}
.fill[b-fmvi1owt8h]::after {
    content: "";
    position: absolute;
    right: -2px; top: 50%;
    transform: translateY(-50%);
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}
.fill.snap[b-fmvi1owt8h] { transition: none; }

/* ---------------- ghost buttons ---------------- */
.ghostbtn[b-fmvi1owt8h] {
    display: block;
    width: 100%;
    margin-top: 1.1rem;
    background: transparent;
    border: 1px dashed var(--accent-dim);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.6rem;
    cursor: pointer;
    transition: border-color 0.15s, border-style 0.15s, background 0.15s, color 0.15s;
}
.ghostbtn:hover[b-fmvi1owt8h] { border-style: solid; border-color: var(--accent); background: rgba(126, 224, 184, 0.06); }
.ghostbtn.danger[b-fmvi1owt8h] { color: var(--dim); border-color: var(--line); margin-top: 1.8rem; }
.ghostbtn.danger:hover[b-fmvi1owt8h] { color: var(--danger); border-color: var(--danger); border-style: solid; background: rgba(215, 106, 120, 0.06); }

/* ---------------- key/value rows ---------------- */
.kv[b-fmvi1owt8h] {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.42rem 0;
    border-bottom: 1px solid var(--line);
}
.kv:last-child[b-fmvi1owt8h] { border-bottom: none; }
.kv-k[b-fmvi1owt8h] { text-transform: uppercase; letter-spacing: 0.05em; }
.kv-meta[b-fmvi1owt8h] { color: var(--dim); font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.empty[b-fmvi1owt8h] { color: var(--dim); font-style: italic; font-size: 0.85rem; }

.foot[b-fmvi1owt8h] {
    margin-top: 2rem;
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--dim);
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    .caret[b-fmvi1owt8h], .statusbar .dot[b-fmvi1owt8h] { animation: none !important; }
}
