/* The « Faster → Smarter » picker: the same panel as Sila-1's in /si (SiBrainPicker.tsx, SiLevelSlider.tsx). In dark mode it takes the colours of the card around it (owner, 2026-11-06); the orb and the slider stay as in /si.
   Values are those Tailwind classes in pixels. The page runs at 85% on desktops, so the panel undoes it and keeps the exact size it has in /si. */
.sl {
  box-sizing: border-box;
  inline-size: 100%;
  max-inline-size: 310px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, .8);
  border-radius: 16px;
  background: #fff;
  color: #0f172a;
  box-shadow: 0 18px 50px -16px rgba(17, 19, 68, .35);
}
.sl p { margin: 0; }
.sl-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.sl-aura { position: relative; isolation: isolate; display: inline-flex; flex: none; align-items: center; justify-content: center; inline-size: 30px; block-size: 30px; margin-block-start: 6px; }
.sl-orb { position: relative; display: inline-block; flex: none; inline-size: 30px; block-size: 30px; border-radius: 50%; box-shadow: 0 4px 11px #23286338; transition: box-shadow .6s ease; }
.sl-orb.glow { box-shadow: 0 0 14px #f0634360; }
.sl-orb canvas { position: absolute; left: -30%; top: -30%; inline-size: 48px; block-size: 48px; display: block; pointer-events: none; }
.sl-orb.flat { background: radial-gradient(circle at 32% 28%, #ffd2c4 0%, #f06343 34%, #232863 78%); }
.sl-orb.flat canvas { visibility: hidden; }
.sl-flame { position: absolute; z-index: 1; left: -10px; top: -24px; inline-size: 50px; block-size: 59px; pointer-events: none; }
.sl-title { flex: 1; min-inline-size: 0; text-align: center; }
.sl-word { color: #232863; font-size: 16px; font-weight: 700; line-height: 24px; }
.sl-word[data-tone="warm"] { color: #d97706; }
.sl-word[data-tone="hot"] { color: #ea580c; }
.sl-model { display: inline-block; margin-block-start: 2px; color: #64748b; font-size: 12px; font-weight: 600; line-height: 16px; }
.sl .sl-reset { display: flex; flex: none; align-items: center; justify-content: center; inline-size: 28px; block-size: 28px; min-inline-size: 0; min-block-size: 0; padding: 0; border: 0; border-radius: 8px; background: none; box-shadow: none; color: #94a3b8; cursor: pointer; transition: background-color .15s, color .15s; }
.sl .sl-reset svg { inline-size: 14px; block-size: 14px; }
.sl .sl-reset:hover:not(:disabled) { background: #f1f5f9; color: #334155; }
.sl .sl-reset:disabled { opacity: .3; cursor: default; }
.sl-pick { margin-block-start: 12px; }
.sl-ends { display: flex; justify-content: space-between; color: #94a3b8; font-size: 11px; font-weight: 600; line-height: 16px; }
.sl-track { position: relative; block-size: 36px; margin-block-start: 6px; overflow: hidden; border-radius: 999px; background: #f1f5f9; cursor: pointer; outline: none; touch-action: none; user-select: none; -webkit-user-select: none; }
.sl .sl-track:focus-visible { outline: none !important; box-shadow: inset 0 0 0 2px rgb(138 141 189); }
.sl.drag .sl-track { cursor: grabbing; }
.sl-fill { position: absolute; top: 0; bottom: 0; left: 0; overflow: hidden; border-radius: 999px; transition: width .3s; }
.sl-tip { position: absolute; top: 0; right: 0; inline-size: 84px; block-size: 100%; pointer-events: none; }
.sl-dot { position: absolute; top: 50%; inline-size: 6px; block-size: 6px; border-radius: 50%; background: #94a3b8; pointer-events: none; translate: -50% -50%; }
.sl-dot.on { background: rgba(255, 255, 255, .8); }
.sl-knob { position: absolute; top: 50%; inline-size: 24px; block-size: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .25), 0 0 0 1px #e2e8f0; pointer-events: none; translate: -50% -50%; transition: left .3s; }
.sl.drag .sl-knob { scale: 1.1; transition: none; }
.sl.drag .sl-fill { transition: none; }
.sl-rec { position: relative; block-size: 16px; margin-block-start: 4px; }
.sl-rec span { position: absolute; color: #94a3b8; font-size: 10.5px; font-weight: 600; line-height: 16px; white-space: nowrap; translate: -50% 0; }
.sl-hands { margin-block-start: 12px; padding: 8px 10px; border-radius: 12px; background: #f8fafc; }
.sl-hands p { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #475569; font-size: 12px; font-weight: 600; line-height: 16px; }
.sl-hands p span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-hands b { flex: none; color: #0f172a; font-variant-numeric: tabular-nums; font-weight: 700; }
.sl-hands div { display: grid; grid-template-columns: repeat(20, minmax(0, 12px)); gap: 1px; margin-block-start: 6px; }   /* one row, as in /si, even in a narrower column */
.sl-hands svg { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 1; opacity: .2; filter: grayscale(1); scale: .75; transition: opacity .2s, scale .2s, filter .2s; }
.sl-hands svg.on { opacity: 1; filter: none; scale: 1; }
.sl-warn { display: flex; align-items: flex-start; gap: 6px; margin-block-start: 8px !important; padding: 8px 10px; border-radius: 12px; background: #fffbeb; color: #92400e; font-size: 12px; line-height: 1.375; }
.sl-warn[hidden] { display: none; }
.sl-warn svg { flex: none; inline-size: 14px; block-size: 14px; margin-block-start: 2px; }
/* the word while it burns */
.sl-burn { position: relative; display: inline-grid; justify-items: center; vertical-align: top; }
.sl-layer { grid-area: 1 / 1; white-space: pre; }
.sl-base { display: inline-block; inline-size: 0; block-size: 0; vertical-align: baseline; }
.sl-burn canvas { position: absolute; pointer-events: none; }
/* the panel belongs to the card around it, in both themes: no floating sheet, one soft surface */
.sl { box-shadow: none; }
html[data-theme="light"] .sl { border-color: rgba(15, 23, 42, .08); }
html:not([data-theme="light"]) .sl { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .045); color: #fff; }
html:not([data-theme="light"]) .sl-word { color: #fff; }
html:not([data-theme="light"]) .sl-word[data-tone="warm"] { color: #fbbf24; }
html:not([data-theme="light"]) .sl-word[data-tone="hot"] { color: #ff8a5c; }
html:not([data-theme="light"]) .sl-model { color: #b0b2d4; }
html:not([data-theme="light"]) .sl .sl-reset { color: #b0b2d4; }
html:not([data-theme="light"]) .sl .sl-reset:hover:not(:disabled) { background: rgba(255, 255, 255, .1); color: #fff; }
html:not([data-theme="light"]) .sl-ends, html:not([data-theme="light"]) .sl-rec span { color: #a4a7d0; }
html:not([data-theme="light"]) .sl-track { background: rgba(255, 255, 255, .1); }   /* the empty part of the slider; the fill and the handle stay as in /si */
html:not([data-theme="light"]) .sl-hands { background: rgba(255, 255, 255, .05); }
html:not([data-theme="light"]) .sl-hands p { color: #c7cae6; }
html:not([data-theme="light"]) .sl-hands b { color: #fff; }
html:not([data-theme="light"]) .sl-hands path { stroke-width: .8; }   /* on dark a thick white edge hid the colour of each hand */
html:not([data-theme="light"]) .sl-warn { border: 1px solid rgba(240, 99, 67, .28); background: rgba(240, 99, 67, .12); color: #ffc9b8; }
@media screen and (min-width: 1024px) { .sl { zoom: 1.17647; } }
/* room for the panel at its /si width, so the 20 hands stay on one row */
@media screen and (min-width: 1101px) {
  .sw-grid { grid-template-columns: minmax(0, 1fr) 400px; }
  .sc-grid { grid-template-columns: minmax(260px, 430px) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .sl-fill, .sl-knob, .sl-hands svg, .sl-orb { transition: none; }
}

/* Sila Studio page: the picker beside the four levels, moving together */
.st-lv-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: var(--head-gap); }
.st-lv-grid .st-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
html[lang="ar"] .st-lv .nm { font-family: inherit; }
@media (max-width: 1000px) { .st-lv-grid { grid-template-columns: minmax(0, 1fr); } .st-lv-grid .sl { margin-inline: auto; } }
@media (max-width: 560px) { .st-lv-grid .st-levels { grid-template-columns: minmax(0, 1fr); } }
