@charset "UTF-8";
/*
 * /setup — page-level layout only.
 *
 * Built by grunt (sass:setup) into htdocs/css/setup.css. Every surface class
 * below is layout for this page; the THEME comes from the platform — the
 * swatch block the page emits via __resolveSwatchData() + __generateSwatchCss(),
 * the same two functions _master.php uses. An earlier version of this page
 * hand-rolled a background and an accent, which was wrong twice over: it
 * duplicated a mechanism that already exists, and it lost anyway, because the
 * primary is compiled into app.css and a page-level override cannot outrank it.
 *
 * ── OLD SYNTAX ONLY, until the Sass migration lands ─────────────────────────
 * This project still compiles with libsass (node-sass). That means NO modern
 * Sass or modern CSS functions: no @use, no nesting conveniences libsass
 * never learned, and no CSS math functions it tries to evaluate — min(),
 * max(), clamp() with mixed units fail the build ("Incompatible units").
 * Where a CSS min() is wanted, wrap it in unquote() so it reaches the browser
 * untouched, as below. Migration to dart-sass is planned; until then, write
 * 2018-era Sass here and in app.scss alike.
 */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem; }

/* Wide enough for the rail + content pair. 64rem is sized for the CONFIGURE
   wizard — a step list beside a form. Every other state is a short paragraph
   and a single button; stretching those to the same width leaves one line of
   text floating across a metre of card. Narrow is the default; the wizard
   opts out. */
.setup-shell {
  width: min(30rem, 94vw); }

.setup-shell.is-wide {
  width: min(64rem, 96vw); }

/* The card resized on every step, so the whole page jumped as you moved
   through it. Reserve a height derived from the VIEWPORT rather than a fixed
   pixel value. min-height, not height: a long step still grows. */
.setup-step-body {
  min-height: min(26rem, 52vh); }

/* Finish is the exit, not the primary action — it was full width and read as
   the main button. */
#cfg .setup-finish {
  width: auto;
  min-width: 14rem; }

.setup-shell .form-label {
  font-size: .78rem;
  letter-spacing: .01em;
  opacity: .85;
  font-weight: 500; }

.setup-shell h2.section {
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
  font-weight: 600;
  margin: 0 0 .25rem; }

/* Rail left, step right — and ONE breakpoint, because the rail collapsing to
   a horizontal strip on narrow screens is the only responsive behaviour this
   layout needs. */
.setup-grid {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2rem;
  align-items: start; }

@media (max-width: 51rem) {
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem; } }

.setup-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  position: sticky;
  top: 0; }

.setup-rail li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .45rem 0; }

.setup-rail .n {
  flex: 0 0 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 600;
  border: 1px solid rgba(127, 127, 127, 0.45);
  opacity: .75; }

.setup-rail .t {
  font-size: .88rem;
  padding-top: .12rem;
  opacity: .7; }

/* Current and completed take their colour from the SWATCH, via the platform's
   own custom property — so rebranding the install rebrands the wizard. */
.setup-rail li.is-current .n {
  border-color: var(--cui-primary);
  color: var(--cui-primary);
  opacity: 1; }

.setup-rail li.is-current .t {
  opacity: 1;
  font-weight: 600; }

.setup-rail li.is-done .n {
  background: var(--cui-primary);
  border-color: var(--cui-primary);
  color: #fff;
  opacity: 1; }

.setup-rail li.is-done {
  cursor: pointer; }

.setup-rail li.is-done .t {
  opacity: .85; }

.setup-rail li.is-done:hover .t {
  opacity: 1; }

.setup-progress {
  height: 3px;
  border-radius: 3px;
  background: rgba(127, 127, 127, 0.25);
  margin-bottom: 1.25rem;
  overflow: hidden; }

.setup-progress span {
  display: block;
  height: 100%;
  background: var(--cui-primary);
  transition: width .25s ease; }

/* Logo drop tiles. The browser-default file control was the single most
   dated element on the page; the real input stays in the DOM (it is what
   uploads) and is visually replaced. */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem; }

@media (max-width: 40rem) {
  .logo-grid {
    grid-template-columns: 1fr; } }

.logo-tile {
  border: 1px dashed rgba(127, 127, 127, 0.45);
  border-radius: .6rem;
  padding: .85rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease; }

.logo-tile:hover, .logo-tile.is-over {
  border-color: var(--cui-primary);
  background: rgba(127, 127, 127, 0.08); }

.logo-tile.is-disabled {
  opacity: .5;
  cursor: not-allowed; }

.logo-tile img {
  max-height: 34px;
  max-width: 100%;
  width: auto;
  display: block;
  margin: 0 auto .5rem; }

.logo-tile .cap {
  font-size: .74rem;
  opacity: .75;
  display: block; }

.logo-tile .hint {
  font-size: .7rem;
  opacity: .55; }

/*
 * The status toast.
 *
 * Replaces the full-width `alert alert-*` card: a one-line "Saved 1 setting."
 * used to occupy an entire banner the width of the card and push the layout
 * down. The toast floats bottom-center instead — a coloured dot carries the
 * severity, the text stays one line, success fades on its own (setup.js),
 * and it never moves anything on the page. Bottom-center rather than a
 * corner because the wizard's action row is also bottom-center: the status
 * appears where the operator is already looking.
 */
.setup-toast {
  position: fixed;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .55rem 1rem;
  border-radius: 2rem;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.25;
  background: var(--cui-card-bg, #212631);
  color: var(--cui-body-color, rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(127, 127, 127, 0.35);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.35);
  max-width: min(34rem, 92vw);
  z-index: 1080;
  animation: setup-toast-in .16s ease-out; }

.setup-toast::before {
  content: '';
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  flex: 0 0 .55rem; }

.setup-toast.is-info::before {
  background: var(--cui-primary); }

.setup-toast.is-ok::before {
  background: var(--cui-success, #2eb85c); }

.setup-toast.is-err::before {
  background: var(--cui-danger, #e55353); }

@keyframes setup-toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(0.4rem); }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0); } }

/*# sourceMappingURL=setup.css.map */