.rk158fu{margin:8px 0}.rk158chips{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:2px 2px 8px;max-width:100%;box-sizing:border-box}
.rk158chips button{flex:none;scroll-snap-align:start;min-height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font-size:15px;font-weight:700;white-space:normal;max-width:100%;cursor:pointer;animation:none;transition:none}
.rk158chips button[aria-selected=true]{background:var(--team,#c8102e);color:var(--on-team,#fff);border-color:transparent;outline:2px solid var(--ink);outline-offset:2px}
.rk158tip{font-size:15px;line-height:1.4;color:var(--ink);margin:6px 0}.rk158tip input{display:block;width:100%;margin-top:4px;font-size:16px}

/* v158 Hub: every item shown expanded as stacked sections; no More accordion list */
html.rk145pre #view .rk145more{display:block!important}
html.rk145pre #view .rk145more .rk146cv,html.rk145pre #view [data-rk146all]{display:none!important}
html.rk145pre #view .rk145more .rk146r{min-height:48px;font-size:16px!important}
html.rk145pre #view .rk145m{display:block!important}
html.rk145pre #view .b7tiles.rk145m{display:grid!important}
html.rk145pre #view .rk145m[data-rk145l]::before{content:attr(data-rk145l);display:block;font:700 17px/1.3 var(--f-lab,inherit);letter-spacing:.02em;margin:0 0 8px;color:var(--ink)}
html.rk145pre #view .rk145m{font-size:max(15px,1em)}
html.rk145pre #view{max-width:100vw;min-width:0;box-sizing:border-box}
html.rk145pre #view>*{min-width:0;max-width:100%;box-sizing:border-box}
html.rk145pre #view .rk145m canvas,html.rk145pre #view .rk145m svg:not(.bci),html.rk145pre #view .rk145m img,html.rk145pre #view .rk145m table{max-width:100%!important}
html.rk145pre #view .rk145m .b7tiles,html.rk145pre #view .rk145m [class*=chart]{max-width:100%;overflow-x:auto}

.rk158chips button:last-child{flex:1 1 100%;width:100%}
/* v158b thumbnails: no background art on play cards */
.playcard,.thumb,.playcard .thumb,.libcard .thumb,.pc-art{background-image:none!important}
/* v158c: first-run setup step card shows alone; tool rows appear (fully expanded, no accordion) once the path is done/closed */
html.rk146pathon.rk146pathon #view>:not(.rk146path):not(.rk146hero){display:none!important}
/* Hub role tiles: --card is unset, so the old #fff fallback broke night mode. */
html.rk145pre #view button.rk147tile{background:var(--panel);color:var(--ink);-webkit-text-fill-color:currentColor;border:1px solid var(--line);border-radius:14px;min-height:48px;padding:10px 12px;font-size:15px;font-weight:700;animation:none;transition:none}
html.rk145pre #view button.rk147tile span{color:inherit;-webkit-text-fill-color:currentColor;font-size:15px}

/* v158 HOLD#4 (Build): header buttons 48px at every width (loads last; Sun stays larger) */
:root:not([data-sun="1"]) #top :is(.b19hb,.icon,#btnSettings,#btnFull,#rk146more){
  box-sizing:border-box !important;
  width:48px !important;
  height:48px !important;
  min-width:48px !important;
  min-height:48px !important;
  padding:0 !important;
  flex:0 0 48px !important;
}
#top{overflow-x:auto}

/* v158 HOLD#5 (Build) demo top bar */
#rk146demob{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:8px 12px}
#rk146demob .rk146dbtn{min-height:44px;font-size:15px}
/* v158 HOLD#5 install fix (not in Build text): bc146t.css gives #rk146demob height:30px, overflow:hidden, pointer-events:none, which clips and blocks Build buttons */
#rk146demob{height:auto;line-height:normal;pointer-events:auto;white-space:normal;overflow:visible}
