/* Shared reading and interaction foundation for the three primary pages. */
body.wk-core {
  --wk-content-width:480px;
  --wk-space:18px;
  -webkit-text-size-adjust:100%;
  line-height:1.6;
}
.wk-core > .wrap { max-width:var(--wk-content-width); margin-inline:auto; }
.wk-core :is(a,button,input,select,textarea,[tabindex]):focus-visible {
  outline:3px solid var(--primary,var(--pri,#6c53c9));
  outline-offset:3px;
}
.wk-core button { touch-action:manipulation; }
.wk-core[data-page="space"] .sec { margin-top:24px; }

/* A stable two-row header keeps names and language choices out of the title. */
.wk-core[data-page="reports"] .rcbk {
  display:grid; grid-template-columns:44px minmax(0,1fr) auto;
  gap:8px 12px; max-width:var(--wk-content-width); margin-inline:auto;
  padding-inline:var(--wk-space);
}
.wk-core[data-page="reports"] .rcbk > a { width:44px; height:44px; font-size:26px; }
.wk-core[data-page="reports"] .rcbk .t { white-space:nowrap; font-size:20px; font-weight:650; }
.wk-core[data-page="reports"] .rcbk .s { white-space:nowrap; }
.wk-core[data-page="reports"] .rcbk .slimbar {
  grid-column:1/-1; display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,2fr);
  margin:0; gap:10px; width:100%;
}
.wk-core[data-page="reports"] .rcbk .slimbar .sl-btn {
  min-height:44px; padding:8px 12px; font-size:14px;
}
.wk-core[data-page="reports"] .rcbk #whoName { min-width:0; }
.wk-core[data-page="reports"] > .wrap { padding:18px var(--wk-space) 44px; }
.wk-core[data-page="reports"] .chips { gap:8px; }
.wk-core[data-page="reports"] .chips button { min-height:44px; padding:8px 16px; }
.wk-core[data-page="reports"] .quick a { min-height:88px; }
html.rc-inframe .wk-core[data-page="reports"] .rcbk { display:block; }

/* Keep important actions visible and comfortably tappable. */
.wk-core[data-page="home"] .fbtn { width:44px; height:44px; color:#fff; }
.wk-core[data-page="home"] .fbtn svg { width:18px; height:18px; }
.wk-core[data-page="home"] .sky .axis { padding-top:28px; }
.wk-core[data-page="home"] #wkSwitchBtn,
.wk-core[data-page="home"] #wkSwitchBtn.vk-named { min-width:44px; height:44px; }
.wk-core[data-page="home"] .vc-mini {
  width:44px; height:44px; opacity:1; color:var(--pri,#6c53c9);
}
.wk-core[data-page="home"] .vc-mini svg { width:18px; height:18px; }
.wk-core[data-page="home"] .soulrow-idea { flex-wrap:wrap; }
.wk-core[data-page="home"] .soulrow-idea .tx { flex-basis:calc(100% - 70px); }
.wk-core[data-page="home"] .soulrow .vc-ops { padding-left:0; }

@media (prefers-reduced-motion:reduce) {
  .wk-core *, .wk-core *::before, .wk-core *::after {
    animation-duration:.01ms !important; animation-iteration-count:1 !important;
    transition-duration:.01ms !important; scroll-behavior:auto !important;
  }
}
