/*
 * The console in preview (Package 83; Package 75's board 11, "While waiting:
 * the console in preview"): the banner that stays, Get ready's locked rows,
 * the preview's menu rows, and the locked destinations. Its look only:
 * signup_preview.js draws them. Colours only from the shell's roles
 * (portal_shell.css and console.css define them in both themes).
 */

/* The banner under the switcher, above every page (board 11's .swait). */
.sp-wait {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 28px 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--sunken);
  border: 1.5px solid var(--line2);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 700;
}
.sp-wait > .ico { color: var(--ink2); flex: none; }
.sp-wait .ps-words { flex: 1 1 auto; margin: 0; }
.sp-wait[hidden] { display: none; }
/* Approved with changes kept here (read 1, S5): the way on, beside the line; it wraps under it on a phone. */
.sp-wait { flex-wrap: wrap; }
.sp-wait .sp-wait-open { flex: none; }
.sp-wait .sp-wait-open[hidden] { display: none; }
/* A claim's place keeps its own (S6): one line under the steps. */
.sp-keeps { margin: 10px 0 0; }

.sp-root { display: flex; flex-direction: column; min-width: 0; }
.sp-host[hidden], .sp-root[hidden] { display: none !important; }
.sp-page .pbody { max-width: 760px; }

/* "Opens when you're approved" (board 11's .hk) and the rows under it. */
.sp-kicker {
  margin: 6px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink2);
}
.sp-locked .crow { color: var(--ink2); }
.sp-locked-name { font-weight: 500; color: var(--ink); }

/* The menu's rows: a heading on its own line; an item's name and price, its line under it. */
.sp-rows { background: var(--surface); }
.sp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.sp-row:first-child { border-top: 0; }
.sp-row-heading { background: var(--raised); }
.sp-item { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; flex: 1 1 auto; min-width: 0; }
.sp-item .sp-under { grid-column: 1 / -1; }
.sp-item:not(:has(.sp-price)) { grid-template-columns: minmax(0, 1fr); }
.sp-row input[type="text"] {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line2);
  background: var(--canvas);
  color: var(--ink);
  font: inherit;
  min-width: 0;
}
.sp-row input.sp-heading { flex: 1 1 0; width: auto; font-weight: 700; }
.sp-item input { width: 100%; box-sizing: border-box; }
.sp-row input.sp-price { text-align: right; font-variant-numeric: tabular-nums; }
.sp-row input.sp-under { font-size: 14px; color: var(--ink2); }
.sp-row input:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.sp-remove { flex: none; }
.sp-row-error { flex-basis: 100%; margin: 2px 0 0; font-size: 13.5px; font-weight: 600; color: var(--danger); }
.sp-row-error[hidden] { display: none; }
.sp-adds { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-line { margin: 0; font-size: 14px; color: var(--ink2); }
.sp-line-bad { color: var(--danger); font-weight: 600; }
.sp-line[hidden] { display: none; }
.sp-paste-text { min-height: 220px; }
.sp-card { padding: 18px; gap: 12px; display: flex; flex-direction: column; }
.sp-declined { padding: 18px; gap: 10px; display: flex; flex-direction: column; }
.sp-reason { margin: 0; font-weight: 600; }

/* Promote and Insights in preview: a lock in place of their mark (board 11's offDests). */
.pnav.off { color: var(--ink2); }
.pnav.off .ps-ico > svg:not(.ico-lock) { display: none; }
.pnav.off .sp-lockmark { display: inline-flex; }
.pnav.off .sp-lockmark .ico { width: 18px; height: 18px; }
.sp-lockmark { display: none; }

/* What has no use before approval: nothing of guests can arrive (the person menu's alerts, sound and counter view). */
body.signup-preview #pushToggle,
body.signup-preview #soundToggle,
body.signup-preview #counterView,
body.signup-preview #openOnPhone { display: none; }
body.signup-preview .ppage[data-page] { display: none !important; }

@media (max-width: 767px) {
  .sp-wait { margin: 8px 16px 0; }
  .sp-item { grid-template-columns: minmax(0, 1fr) 96px; }
}
