/* /install/hub.css — the Install DreamPark hub (Oct 30 2026). Reads over /setup/setup.css and uses only its tokens and
 * components: .su-choice tiles, .sf-steps, .su-input, .su-btn. The one thing it adds is layout. */

.ih { color: var(--su-ink); font-family: var(--su-body); font-size: 18px; line-height: 1.5; text-align: left; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; min-width: 0; }
.su.ih a:not(.su-btn) { color: inherit; }

/* /download: setup's components straight on the violet page. Ink is lifted so every line clears 4.5:1 on violet. */
.ih--download {
  --su-bg: #6a40f0; --su-ink-2: rgba(255, 255, 255, 0.93); --su-ink-3: rgba(255, 255, 255, 0.88); --su-ink-4: rgba(255, 255, 255, 0.86);
  --su-fill: rgba(255, 255, 255, 0.1); --su-fill-2: rgba(255, 255, 255, 0.1); --su-fill-3: rgba(255, 255, 255, 0.16);
  --su-line: rgba(255, 255, 255, 0.18); --su-line-2: rgba(255, 255, 255, 0.1);
  width: 100%; max-width: var(--su-max); margin: 0 auto; scroll-margin-top: calc(var(--site-header-h, 72px) + 12px);
}
#ihTitle { text-align: center; }
.ih--download .ih-title + .ih-group { margin-top: 22px; }
.ih--download .ih-foot { text-align: center; }
.ih--download .su-choice.ih-tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; min-height: 64px; }
.ih-tile__chip { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; }
.ih-tile__chip .ih-tile__logo { display: block; width: 30px; height: 30px; margin: 0; object-fit: contain; }
.ih-tile__chip--glyph { background: rgba(255, 255, 255, 0.14); color: #fff; }
.ih-tile__chip--glyph svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ih-tile__words { display: block; min-width: 0; }
.ih-tile__words .su-choice__title, .ih-tile__words .su-choice__sub { display: block; }
/* a phone: one tile per row, so a name is never broken mid-word */
@media (max-width: 519px) { .ih--download .ih-grid { grid-template-columns: minmax(0, 1fr); } .ih--download .su-choice.ih-tile { min-height: 58px; } }

.ih-title { font-size: 27px; }
.ih-question { margin: 8px 0 0; }
.ih-group { margin: 16px 0 8px; font: 600 15px/1.2 var(--su-body); color: var(--su-ink-3); }
.ih-question + .ih-group, .ih-title + .ih-group { margin-top: 18px; }
.ih-screen > .ih-group:first-child { margin-top: 0; }

/* the tiles: two across, the name is the thing you recognise */
.ih-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; }
.su-choice.ih-tile { flex-direction: column; align-items: flex-start; justify-content: center; gap: 0; min-height: 62px; padding: 11px 14px; }
.ih-tile .su-choice__title { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.ih-tile .su-choice__sub { margin-top: 3px; font-size: 15px; line-height: 1.25; }
.ih-tile::after { display: none; }
.ih-tile.is-selected { padding-right: 34px; }
.ih-tile.is-selected::after { display: block; top: 8px; right: 8px; width: 20px; height: 20px; margin-top: 0; background-size: 14px; }
/* a lone tile in its row gets the whole row */
.ih-grid > .ih-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }

.ih-lead { margin: 14px 0 0; }
.ih-lead .sf-tip__title { margin-bottom: 10px; }
.ih-check { margin: 12px 0 0; font-size: 15px; }
.ih-foot { margin: 12px 0 0; font-size: 13px; line-height: 1.35; color: var(--su-ink-4); }
.ih-status { margin: 8px 0 0; font-size: 15px; color: var(--su-ink-2); }
.ih-status:empty { display: none; }
.ih-status.is-error { color: var(--su-ink); font-weight: 600; }

/* screen 2 */
.ih-back { min-height: 44px; padding: 0; margin: -8px 0 8px; }
.ih-sheet__scroll { padding: calc(max(6px, env(safe-area-inset-top)) + 56px) var(--su-gutter) max(24px, env(safe-area-inset-bottom)); }
.ih-path { width: 100%; max-width: var(--su-max); margin: 0 auto; font-size: 18px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.ih-path > :first-child { margin-top: 0; }
.ih-steps { margin: 18px 0 18px; gap: 10px; }
.ih-steps > li { font-size: 17px; line-height: 1.35; }
.su-btn.ih-primary { margin: 18px 0 0; white-space: normal; text-align: center; line-height: 1.15; }
.ih-note { margin: 10px 0 0; }
.ih-skel { height: 64px; margin: 18px 0 0; }

.ih-qrwrap { display: flex; align-items: center; gap: 18px; margin: 18px 0 0; }
.ih-qr { flex: none; width: 148px; height: 148px; padding: 10px; border-radius: 14px; background: #fff; box-sizing: border-box; }
.ih-qr svg { display: block; width: 100%; height: 100%; }
.ih-qr__side { min-width: 0; }
.ih-qr__side .sf-tip__title { margin-bottom: 2px; }
.ih-qr__open { min-height: 36px; padding: 0; justify-content: flex-start; }

/* a copy field: the su-input with the copy button inside its right edge */
.su-field.ih-copy { margin: 0 0 12px; }
.ih-copy .su-field__label { margin-bottom: 6px; font-size: 15px; }
.ih-copy__row { position: relative; }
.su-input.ih-copy__input { height: 52px; padding: 0 84px 0 16px; font-size: 16px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; }
.ih-copy__btn {
  position: absolute; top: 6px; right: 6px; bottom: 6px; min-width: 68px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 12px; cursor: pointer;
  background: var(--su-fill); color: var(--su-ink); font: 600 15px/1 var(--su-body);
  transition: background 160ms;
}
.ih-copy__btn:hover { background: var(--su-fill-3); }
.ih-copy__tick.su-tick { margin: 0; width: 26px; height: 26px; }
.ih-copy__tick.su-tick svg { width: 15px; height: 15px; }

.ih-more { margin: 2px 0 8px; }
.ih-more > summary { display: inline-flex; list-style: none; cursor: pointer; padding: 0; min-height: 40px; }
.ih-more > summary::-webkit-details-marker { display: none; }
.ih-more[open] > summary { margin-bottom: 8px; }

.su-choice.ih-notify { min-height: 58px; margin: 14px 0 0; padding: 12px 58px 12px 16px; }
.ih-notify .su-choice__title { font: 600 16px/1.25 var(--su-body); }
.ih-signin { margin: 8px 0 0; padding: 0; min-height: 40px; justify-content: flex-start; text-align: left; }

.ih-version { margin: 14px 0 0; }
.ih-version .su-muted { margin: 0; }
.ih-whatsnew { font-size: 15px; color: var(--su-ink-3); }
.ih-whatsnew > summary { cursor: pointer; list-style: none; }
.ih-whatsnew > summary::-webkit-details-marker { display: none; }
.ih-whatsnew__link { color: var(--su-ink-2); font-weight: 600; text-decoration: underline; text-decoration-color: var(--su-ink-4); text-underline-offset: 3px; }
.ih-whatsnew ul { margin: 8px 0 0; padding-left: 20px; color: var(--su-ink-2); }
.ih-whatsnew li + li { margin-top: 4px; }

.ih-done { margin: 20px 0 0; }
.ih-sheet .ih-done { position: sticky; bottom: 0; padding: 18px 0 max(4px, env(safe-area-inset-bottom)); margin-top: 8px; background: linear-gradient(to top, var(--su-bg) 72%, rgba(0, 0, 0, 0)); }
.ih-sheet__scroll { padding-bottom: max(12px, env(safe-area-inset-bottom)); }

.ih-allset { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; }
.ih-allset .su-tick { margin: 0; flex: none; }
.ih-allset .sf-tip__title { margin-bottom: 2px; }
.ih-allset .sf-tip__text { margin: 0; }

/* /setup's step: the tiles fit the screen; the check tip and the footnote stay quiet */
[data-step="app"] .su-body .ih-group:first-of-type { margin-top: 2px; }
@media (max-height: 700px) {
  [data-step="app"] .su-head { margin-bottom: 6px; }
  [data-step="app"] .ih-group { margin: 10px 0 6px; }
  [data-step="app"] .su-choice.ih-tile { min-height: 50px; padding: 7px 12px; }
  [data-step="app"] .ih-tile .su-choice__title { font-size: 15px; }
  [data-step="app"] .ih-tile .su-choice__sub { margin-top: 1px; font-size: 14px; }
  [data-step="app"] .ih-check { margin-top: 8px; }
  [data-step="app"] .ih-foot { margin-top: 6px; }
}
