/* ==== PI Simulation (/simulation): the simulation package for the client's own PI server (spk-) ====
   Same look as the rest of OneStop (app.css: panels, panel-head, hint, notice, error, btn, chip, toolbar). Loaded by
   Components\App.razor for every page, after dataapi.css. Page: TTech.Platform.Client\Apps\Simulation\SimulationPage.razor.
   Colours only through the tokens of app.css, so the dark theme follows. Phones: the cards and the fields wrap. */

.spk-toolbar { margin-bottom: 10px; }
.spk-primary { background: var(--os-accent-fill); color: var(--os-on-accent-fill); border-color: var(--os-accent-fill); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.spk-primary:hover:not(:disabled) { background: var(--os-accent-fill-hover); }

/* What it is */
.spk-intro h2 { margin: 0 0 6px; }
.spk-intro p { margin: 0 0 8px; }
.spk-points { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }

/* The package */
.spk-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 12px; }
.spk-facts dt { color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; display: flex; align-items: center; gap: 4px; }
.spk-facts dd { margin: 2px 0 0; font-weight: 700; }
.spk-hash { min-width: 0; }
.spk-hash code { font-size: 0.78rem; word-break: break-all; }
.spk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.spk-why { margin: 0; }
.spk-guides { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 12px; font-size: 0.9rem; }
.spk-label { color: var(--muted); font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 4px; }
.spk-guide a { margin-left: 6px; }

/* The mines and the scope */
.spk-scopes { display: inline-flex; align-items: center; gap: 4px; }
.spk-on { background: var(--os-accent-fill); color: var(--os-on-accent-fill); border-color: var(--os-accent-fill); }
.spk-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.spk-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; transition: box-shadow 0.15s; }
.spk-card:hover { box-shadow: var(--shadow); background: var(--accent-soft); }
.spk-chosen { outline: 2px solid var(--accent); background: var(--accent-soft); }
.spk-card-title { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.spk-card-kind { color: var(--muted); font-size: 0.84rem; }
.spk-card-figures { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.86rem; }

/* The site file */
.spk-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.spk-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; color: var(--muted); font-size: 0.8rem; font-weight: 800; }
.spk-field > span { display: flex; align-items: center; gap: 4px; }
.spk-narrow { flex: 0 1 140px; }
.spk-input { padding: 7px 9px; border: 1px solid var(--border); border-radius: 8px; background: var(--field); color: var(--text); font: inherit; font-size: 0.9rem; font-weight: 400; min-width: 0; }

/* The steps */
.spk-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
