/* Immutable direct-loaded reference release. Keep this file self-contained. */
/* HTNS reference-pastel r1 — color-only overlay on the verified v302 shell.
   Reference: icy-blue page, white cards, navy copy, blue / purple / teal / rose
   category accents. No dimensions, typography, visibility or app behavior change.
   Dark mode and Songbook stage/viewer rendering are deliberately excluded. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root{
  --ref-page:#F2F8FD; --ref-page-bottom:#EDF6FC;
  --ref-white:#FFFFFF; --ref-ink:#082B63; --ref-muted:#5E7590;
  --ref-heading:#657294; --ref-line:#D8E8F5; --ref-control:#B7D4E9;
  --ref-blue:#086BB2; --ref-blue-bright:#1687C8;
  --ref-blue-soft:#E8F4FF; --ref-blue-pale:#F2F8FF;
  --ref-purple:#7C2DCE; --ref-purple-soft:#F1EBFF; --ref-purple-line:#DFD2FA;
  --ref-teal:#087F73; --ref-teal-soft:#DFF9F3; --ref-teal-line:#B9E8DF;
  --ref-rose:#CC1649; --ref-rose-soft:#FFF0F4; --ref-rose-line:#F3CCD8;
  --ref-green:#167548; --ref-green-soft:#E8F8EF;
  --ref-amber:#8F611A; --ref-amber-soft:#FFF7E8;
  --calm-page:var(--ref-page); --calm-surface:var(--ref-white);
  --calm-soft:#F7FBFE; --calm-line:var(--ref-line); --calm-control:var(--ref-control);
  --calm-ink:var(--ref-ink); --calm-muted:var(--ref-muted);
  --calm-blue:var(--ref-blue); --calm-blue-soft:var(--ref-blue-soft);
  --calm-success:var(--ref-green); --calm-success-soft:var(--ref-green-soft);
  --calm-warning:var(--ref-amber); --calm-warning-soft:var(--ref-amber-soft);
  --calm-danger:var(--ref-rose); --calm-danger-soft:var(--ref-rose-soft);
  --media:var(--ref-blue); --worship:var(--ref-purple);
  --sys-accent-hover:#075B98; --sys-accent-pale:var(--ref-blue-pale);
  --sys-button:var(--ref-blue-pale); --sys-button-hover:var(--ref-blue-soft);
  --sys-button-active:#DBEDFD; --sys-button-selected:#DBEDFD;
  --sys-button-text:var(--ref-blue); --sys-focus:var(--ref-blue);
  --flat-btn-bg:var(--ref-blue-pale); --flat-btn-bg-hover:var(--ref-blue-soft);
  --flat-btn-bg-active:#DBEDFD; --flat-btn-bg-selected:#DBEDFD;
  --flat-btn-ink:var(--ref-blue); --flat-btn-icon:var(--ref-blue);
  --flat-btn-focus:rgba(8,107,178,.24);
  --flat-btn-danger-bg:var(--ref-rose-soft); --flat-btn-danger-active:#FBE1EA;
  --flat-btn-danger-ink:var(--ref-rose); --flat-btn-danger-border:var(--ref-rose-line);
  --premium-btn-icon:var(--ref-blue); --premium-flat-icon:var(--ref-blue);
  --ref-nav:#2F7DB4; --ref-nav-muted:#71879A;
}

/* Smooth, almost-white blue background; no grain or decorative texture. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root,
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body,
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(.app,#mainApp,#gate.gate){
  background:linear-gradient(180deg,var(--ref-page),var(--ref-page-bottom)) !important;
  color:var(--ref-ink) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(.top,.tabs),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #gate :is(.panel,.name-wrap,.name-card),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(#view-home,#view-schedule,#view-events,#view-albums,#view-profile) :is(
  .card,.panel,.home-upcoming-card,.home-team-combined-card,.home-bottom-card,
  .simple-schedule-date-head,.simple-team-editor,.simple-schedule-card,
  .simple-worship-songs,.events-combined-card,.events-combined-shell,
  .event-card,.event-page-card,.resource-team-group,.resource-announcement-card,
  .resource-preach-card,.resource-preach-wrap,.resources-hero,.htns-songbook-shell,
  .me-section-card,.gold-profile-card,.me-super-album-card){
  background:linear-gradient(145deg,#FFFFFF 45%,#F8FCFF 100%) !important;
  border-color:var(--ref-line) !important;
  box-shadow:0 5px 18px rgba(29,85,128,.035) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #whoHi{
  color:var(--ref-amber) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(.home-section-title,.home-bottom-title,.events-section-title,.me-section-title){
  color:var(--ref-heading) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-date-rail b{
  color:var(--ref-blue) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-assignment-row{
  background:linear-gradient(110deg,#EDF7FF,#E1F0FF) !important;
}

/* Shared action controls, including login, dialogs and header tools. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) button:not(.htns-songbook-screen button){
  background:var(--ref-blue-pale) !important;
  color:var(--ref-blue) !important;
  border-color:var(--ref-control) !important;
  box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) button:not(.htns-songbook-screen button) svg{
  color:inherit !important;
  stroke:currentColor !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top :is(.icon-btn,#btnLang){
  background:linear-gradient(145deg,#F7FBFF,#EAF5FF) !important;
  color:var(--ref-blue) !important;
  border-color:#C5DEF2 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #btnLang{color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(.schedule-nav-btn,.schedule-date-icon){
  color:var(--ref-blue) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(.simple-team-tab.active,.media-resource-tab.active,.media-resource-tab.on){
  background:#E1F0FF !important; color:var(--ref-blue) !important; border-color:#A9CDE8 !important;
}

/* Home icon badges: shared geometry stays exactly as it was. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-upcoming-row-icon,.home-team-icon,.home-team-role-icon,.home-role-icon){
  background:var(--ref-blue-soft) !important; color:var(--ref-blue) !important;
  border-color:var(--ref-line) !important; box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-upcoming-row-icon,.home-team-icon,.home-singers-inline-icon) svg{
  color:inherit !important; stroke:currentColor !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-assignment-row .home-upcoming-row-icon{
  background:#DDEFFF !important; color:var(--ref-blue-bright) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(
  .home-upcoming-worship-row .home-upcoming-row-icon,.home-team-icon.team-worship,
  .home-singers-inline-icon,.home-team-card[data-team="worship"] .home-team-role-icon){
  background:var(--ref-purple-soft) !important; color:var(--ref-purple) !important;
  border-color:var(--ref-purple-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-event-row .home-upcoming-row-icon{
  background:var(--ref-teal-soft) !important; color:var(--ref-teal) !important;
  border-color:var(--ref-teal-line) !important;
}

/* Quick Actions: blue schedule, lavender Songbook, rose Power Down. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action{
  --quick-ink:var(--ref-blue); --quick-bg:var(--ref-blue-pale);
  background:var(--ref-white) !important; color:var(--quick-ink) !important;
  border-color:var(--ref-line) !important; box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-duo-card .home-quick-combined-action:nth-child(2){
  --quick-ink:var(--ref-purple); --quick-bg:var(--ref-purple-soft);
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action.home-quick-power-ref{
  --quick-ink:var(--ref-rose); --quick-bg:var(--ref-rose-soft);
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action .qi{
  background:var(--quick-bg) !important; color:var(--quick-ink) !important;
  border-color:var(--quick-bg) !important; box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action :is(span,svg){
  color:var(--quick-ink) !important;
}

/* Carry the category palette through Resources, Schedule and Profile. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .worship-resource-group :is(
  .resource-team-group-icon,.htns-songbook-brand-icon,.resource-section-icon),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-song-icon{
  background:var(--ref-purple-soft) !important; color:var(--ref-purple) !important;
  border-color:var(--ref-purple-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .worship-resource-group :is(
  .resource-team-group-icon,.htns-songbook-brand-icon,.resource-section-icon) svg{color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(
  .htns-songbook-tab,.htns-songbook-chip,.htns-songbook-icon-action,.htns-songbook-action,
  .song-library-filter,.song-library-add-trigger,.song-library-favorite,.resource-note-action:not(.delete)),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule :is(.simple-song-manage,.simple-worship-songs-toggle){
  background:#F8F5FF !important; color:var(--ref-purple) !important; border-color:var(--ref-purple-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(
  .htns-songbook-tab.on,.htns-songbook-chip.on,.htns-songbook-icon-action.on,.song-library-filter.on),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab:nth-child(2).active{
  background:var(--ref-purple-soft) !important; color:var(--ref-purple) !important;
  border-color:#B99AE8 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .worship-resource-group .resource-team-chevron,
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule :is(.simple-song-count,.simple-song-chevron){
  color:var(--ref-purple) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events :is(.event-page-icon,.event-icon,.events-add-btn),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-icon{
  background:var(--ref-teal-soft) !important; color:var(--ref-teal) !important;
  border-color:var(--ref-teal-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-add-btn .plus{color:var(--ref-teal) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-power-icon,.me-power-btn){
  background:var(--ref-rose-soft) !important; color:var(--ref-rose) !important;
  border-color:var(--ref-rose-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #gate :is(#htnsSongbookOfflineEntry,#btnOpenOfflineSongbook,.login-offline-songbook-btn),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal :is(.htns-songbook-offline-search-toggle,.htns-songbook-offline-tools > button){
  background:#F8F5FF !important; color:var(--ref-purple) !important; border-color:var(--ref-purple-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-offline-tools > button > svg{color:var(--ref-purple) !important;}

/* Bottom navigation retains the existing blue/slate color lock and icon-only layout. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs button{
  background:transparent !important; color:var(--ref-nav-muted) !important; border-color:transparent !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs button.on{
  background:transparent !important; color:var(--ref-nav) !important; border-color:transparent !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs button svg{color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs button.on::after,
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs .tab-active-line{background:var(--ref-blue-bright) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle{
  background:linear-gradient(145deg,#279BD0,#0875B4) !important; color:#FFFFFF !important;
  border-color:#D6EEFC !important; box-shadow:0 4px 14px rgba(8,107,178,.13) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle :is(svg,.chat-handle-arrow){color:var(--ref-blue) !important;}

/* Match labels and icons inside high-specificity legacy controls. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top :is(#btnFeedback,#btnBell,#btnGuestLogout) svg{
  color:var(--ref-blue) !important; stroke:currentColor !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(#view-home,#view-schedule,#view-events,#view-albums,#view-profile) :is(
  .home-team-title,.home-upcoming-row-title,.home-upcoming-sermon-grid strong,
  .home-upcoming-song b,.home-team-member-name,.resources-title,.simple-team-title){
  color:var(--ref-ink) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(#view-home,#view-schedule,#view-events,#view-albums,#view-profile) :is(
  .home-section-title,.home-bottom-title,.events-section-title,.me-section-title){
  color:var(--ref-heading) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-worship-row .home-upcoming-song i{
  color:var(--ref-purple) !important;
}

/* Meaningful states outrank decorative colors. Stage/viewer content is excluded. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) :is(
  .btn-no,button.danger,button.delete,button.del,button.remove,.me-availability-remove,
  .resource-preach-remove,#confirmDelBtn):not(.htns-songbook-screen *){
  background:var(--ref-rose-soft) !important; color:var(--ref-rose) !important; border-color:var(--ref-rose-line) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) :is(
  .btn-ok,.status-ok,.status-success,.htns-songbook-connection:not(.offline):not(.pending)):not(.htns-songbook-screen *){
  background:var(--ref-green-soft) !important; color:var(--ref-green) !important; border-color:#BCE4CE !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) :is(
  .status-wait,.status-warning,.htns-songbook-connection.offline):not(.htns-songbook-screen *){
  background:var(--ref-amber-soft) !important; color:var(--ref-amber) !important; border-color:#EAD6AC !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) button:disabled:not(.htns-songbook-screen button),
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(#view-home,#view-schedule,#view-events,#view-albums,#view-profile) button:disabled:not(.htns-songbook-screen button){
  background:#F3F6F9 !important; color:#7B8A9A !important; border-color:#DCE5ED !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#gate,#mainApp,#modal) :is(button,input,select,textarea,a,summary,[tabindex]):focus-visible:not(.htns-songbook-screen *){
  outline-color:var(--ref-blue) !important;
}
@media(hover:hover){
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action:hover{background:var(--quick-bg) !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top button:hover{background:#DFEFFF !important;}
}

/* HTNS reference system r12. Measurements follow the second approved 390px Home design.
   Light-mode shell only. Live content may grow; no fixed-height content clipping.
   The r1 palette remains the shared source for category and semantic colors. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root {
  --ref-unit:clamp(.9px,.25641vw,1.1px);
  --ref-radius:calc(12 * var(--ref-unit));
  --ref-shadow:0 4px 14px rgba(35,91,137,.045);
  --ref-dock-bottom:0px;
  --ref-safe-bottom:env(safe-area-inset-bottom);
  --ref-dock-inset:max(6px,calc(var(--ref-safe-bottom) - 16px));
  --ref-dock-height:calc(60 * var(--ref-unit) + var(--ref-dock-inset));
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp {
  padding-top:calc(8px + env(safe-area-inset-top)) !important;
  min-height:100% !important;
  color:var(--ref-ink) !important;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp:not(.hidden) {display:flex !important;flex-direction:column !important;padding-bottom:var(--ref-dock-height) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top {
  position:relative !important; top:auto !important;left:auto !important;right:auto !important;transform:none !important;
  flex:none !important; width:auto !important;
  margin:0 calc(10 * var(--ref-unit)) !important;
  padding:calc(6 * var(--ref-unit)) calc(12 * var(--ref-unit)) !important;
  min-height:calc(75 * var(--ref-unit)) !important; height:auto !important;
  max-height:none !important;
  display:flex !important; align-items:center !important; gap:8px !important;
  border:1px solid var(--ref-line) !important; border-radius:var(--ref-radius) !important;
  background:linear-gradient(145deg,#fff 45%,#f8fcff) !important;
  box-shadow:var(--ref-shadow) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top > div:last-child {
  gap:calc(4 * var(--ref-unit)) !important; padding:0 !important;
  align-items:center !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top > div:first-child {width:auto !important;flex:1 1 0 !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top .who {
  opacity:1 !important; width:100% !important; min-width:0 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #whoName {
  height:auto !important; margin:0 0 3px !important;
  color:var(--ref-ink) !important; font-size:calc(20 * var(--ref-unit)) !important;
  line-height:1.15 !important; font-weight:800 !important; letter-spacing:-.035em !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #whoHi {
  font-size:calc(13 * var(--ref-unit)) !important; line-height:1.25 !important;
  font-weight:400 !important; letter-spacing:0 !important; color:var(--ref-amber) !important;
  max-height:2.5em !important; text-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top :is(.icon-btn,#btnLang) {
  width:calc(36 * var(--ref-unit)) !important; min-width:0 !important;
  height:calc(36 * var(--ref-unit)) !important; min-height:0 !important;
  max-width:none !important;max-height:none !important;
  padding:0 !important; margin:0 !important; flex:none !important;
  display:grid !important; place-items:center !important;
  border:1px solid #d0e1ee !important; border-radius:calc(9 * var(--ref-unit)) !important;
  font-family:inherit !important; font-size:calc(11 * var(--ref-unit)) !important;
  font-weight:750 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top .icon-btn svg {
  width:calc(20 * var(--ref-unit)) !important; height:calc(20 * var(--ref-unit)) !important;
  stroke-width:1.8 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #btnLang {display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:center !important;white-space:nowrap !important;word-break:normal !important;line-height:1 !important;letter-spacing:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp main {
  position:relative !important;inset:auto !important;flex:1 1 0 !important;min-height:0 !important;height:auto !important;
  padding:calc(8 * var(--ref-unit)) calc(10 * var(--ref-unit)) 56px !important;
  scroll-padding-bottom:calc(var(--ref-dock-height) + 64px) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp main > [id^="view-"] {
  padding:0 !important; border:0 !important; box-shadow:none !important;
  background:transparent !important; overflow:visible !important;
}
/* One Sunday rail and four clear rows. Heights are minima, never clipping limits. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-card {
  padding:calc(8 * var(--ref-unit)) !important; margin:0 !important;
  border:1px solid var(--ref-line) !important; border-radius:var(--ref-radius) !important;
  background:linear-gradient(145deg,#fff 45%,#f8fcff) !important;
  box-shadow:var(--ref-shadow) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-layout {
  grid-template-columns:calc(44 * var(--ref-unit)) minmax(0,1fr) !important;
  gap:calc(8 * var(--ref-unit)) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-date-rail {
  flex-direction:column !important; align-items:center !important; justify-content:center !important;
  gap:5px !important; padding:0 calc(6 * var(--ref-unit)) 0 0 !important;
  border-right:1px solid #dbe5ef !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-weekday {
  color:var(--ref-muted); font-size:calc(11 * var(--ref-unit)); line-height:1; font-weight:700;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-date-rail b {
  font-size:calc(21 * var(--ref-unit)) !important; font-weight:750 !important;
  line-height:1 !important; letter-spacing:-.04em !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row {
  grid-template-columns:calc(40 * var(--ref-unit)) minmax(0,1fr) auto !important;
  gap:calc(8 * var(--ref-unit)) !important; min-height:calc(58 * var(--ref-unit)) !important;
  padding:calc(8 * var(--ref-unit)) 0 !important; position:relative !important;
  border-bottom:1px solid #e0e7ef !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row:last-child {
  border-bottom:0 !important; min-height:calc(61 * var(--ref-unit)) !important;
  padding-bottom:0 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-assignment-row {
  border:0 !important; border-radius:calc(9 * var(--ref-unit)) !important;
  min-height:calc(53 * var(--ref-unit)) !important;
  margin:0 0 calc(4 * var(--ref-unit)) !important;
  padding:calc(7 * var(--ref-unit)) calc(6 * var(--ref-unit)) calc(7 * var(--ref-unit)) 0 !important;
  background:linear-gradient(110deg,#edf7ff,#e1f0ff) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-sermon-row {
  min-height:calc(66 * var(--ref-unit)) !important;
  grid-template-columns:calc(40 * var(--ref-unit)) minmax(0,1fr) !important;
  border-top:1px solid #e0e7ef !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row-icon {
  width:calc(40 * var(--ref-unit)) !important; height:calc(40 * var(--ref-unit)) !important;
  min-width:0 !important; border:0 !important; border-radius:50% !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row-icon svg {
  width:calc(23 * var(--ref-unit)) !important; height:calc(23 * var(--ref-unit)) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row-label {
  font-size:calc(10 * var(--ref-unit)) !important; line-height:1.25 !important;
  font-weight:700 !important; letter-spacing:.025em !important; margin-bottom:3px !important;
  color:var(--ref-muted) !important; flex-wrap:wrap !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-assignment-row .home-upcoming-row-label {
  color:#2985b9 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row-date {
  font:inherit !important; color:inherit !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-upcoming-row-title,.home-upcoming-empty) {
  font-size:calc(15 * var(--ref-unit)) !important; line-height:1.2 !important;
  font-weight:750 !important; letter-spacing:-.02em !important; color:var(--ref-ink) !important;
  white-space:normal !important; overflow:visible !important; overflow-wrap:anywhere !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-sermon-grid {
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.8fr) !important;
  gap:calc(6 * var(--ref-unit)) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-sermon-grid small {
  font-size:calc(10 * var(--ref-unit)) !important; line-height:1.2 !important;
  font-weight:500 !important; margin-bottom:3px !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-sermon-grid b {
  font-size:calc(12 * var(--ref-unit)) !important; line-height:1.15 !important;
  font-weight:700 !important; white-space:normal !important;
  overflow:visible !important; overflow-wrap:anywhere !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-event-time {
  margin-top:4px !important; font-size:calc(11 * var(--ref-unit)) !important;
  line-height:1.2 !important; font-weight:600 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-song-grid {
  grid-template-columns:minmax(0,1fr) !important; gap:4px !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-upcoming-song,.home-upcoming-song > span) {
  font-size:calc(12 * var(--ref-unit)) !important; line-height:1.3 !important;
  white-space:normal !important; overflow:visible !important; overflow-wrap:anywhere !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-row[role="button"] {cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-chevron {
  width:calc(16 * var(--ref-unit)); height:calc(20 * var(--ref-unit));
  color:#4e6e86; display:grid; place-items:center;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-chevron svg {width:15px;height:18px;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-event-row:has(.home-upcoming-church-only) {grid-template-columns:calc(40 * var(--ref-unit)) minmax(0,1fr) 16px 26px !important;column-gap:4px !important;}
/* Team summaries keep their existing disclosure and assigned-person content. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-dashboard-head .home-section-title {margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-dashboard {margin:calc(16 * var(--ref-unit)) 0 0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-dashboard-head {margin:0 2px calc(7 * var(--ref-unit)) !important;padding:0 !important;min-height:0 !important;height:auto !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-section-title,.home-bottom-title) {
  font-size:calc(14 * var(--ref-unit)) !important; line-height:1.25 !important;
  font-weight:700 !important; letter-spacing:.045em !important; color:var(--ref-heading) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-combined-card {
  padding:0 calc(10 * var(--ref-unit)) !important; margin:0 !important;
  background:linear-gradient(145deg,#fff 45%,#f8fcff) !important;
  border:1px solid var(--ref-line) !important; border-radius:var(--ref-radius) !important;
  box-shadow:var(--ref-shadow) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-card {
  height:auto !important;min-height:0 !important;
  padding:0 !important; margin:0 !important; border:0 !important;
  border-radius:0 !important; background:transparent !important; box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-card + .home-team-card {border-top:1px solid #e0e7ef !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-card-head {
  height:auto !important; margin:0 !important;
  padding:calc(7 * var(--ref-unit)) 0 !important; min-height:calc(62 * var(--ref-unit)) !important;
  border:0 !important; background:transparent !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-name {gap:calc(17 * var(--ref-unit)) !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-name > div:not(.home-team-icon) {position:static !important;inset:auto !important;width:auto !important;transform:none !important;text-align:left !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home :is(.home-team-title,.home-team-count) {text-align:left !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-icon {
  width:calc(54 * var(--ref-unit)) !important; height:calc(47 * var(--ref-unit)) !important;
  min-width:calc(54 * var(--ref-unit)) !important; border-radius:calc(11 * var(--ref-unit)) !important;
  border:1px solid #e2edf7 !important; box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-icon svg {width:calc(28 * var(--ref-unit)) !important;height:calc(28 * var(--ref-unit)) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-title {
  font-size:calc(16 * var(--ref-unit)) !important;line-height:1.2 !important;font-weight:750 !important;letter-spacing:0 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-count {
  font-size:calc(12 * var(--ref-unit)) !important;line-height:1.2 !important;font-weight:500 !important;margin-top:4px !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-chevron {width:22px !important;height:24px !important;transform:rotate(-90deg) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-chevron {min-width:22px !important;flex-basis:22px !important;border:0 !important;background:transparent !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-team-card[open] .home-team-chevron {transform:rotate(0) !important;}
/* Three equal, independent white tiles with rounded pastel insets. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-bottom-title {margin:calc(12 * var(--ref-unit)) 2px calc(6 * var(--ref-unit)) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-wrap {
  display:grid !important;grid-template-columns:minmax(0,2fr) minmax(0,1fr) !important;
  gap:calc(3 * var(--ref-unit)) !important;background:transparent !important;border:0 !important;box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-duo-card {
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:calc(3 * var(--ref-unit)) !important;
  padding:0 !important;min-height:0 !important;overflow:visible !important;
  background:transparent !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action {
  --tile-bg:#edf7ff; --tile-ink:var(--ref-blue);
  position:relative !important; isolation:isolate;
  min-height:calc(81 * var(--ref-unit)) !important;height:auto !important;
  padding:calc(12 * var(--ref-unit)) 3px calc(11 * var(--ref-unit)) !important;
  gap:calc(7 * var(--ref-unit)) !important; margin:0 !important;
  border:1px solid var(--ref-line) !important;border-radius:var(--ref-radius) !important;
  background:#fff !important;color:var(--tile-ink) !important;box-shadow:var(--ref-shadow) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-duo-card .home-quick-combined-action:nth-child(2) {--tile-bg:#f5f0ff;--tile-ink:var(--ref-purple);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action.home-quick-power-ref {--tile-bg:#fdf0f4;--tile-ink:var(--ref-rose);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action::before {
  content:"";position:absolute;inset:calc(8 * var(--ref-unit));z-index:-1;
  border-radius:calc(11 * var(--ref-unit));background:var(--tile-bg);
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action .qi {
  width:calc(25 * var(--ref-unit)) !important;height:calc(25 * var(--ref-unit)) !important;min-width:0 !important;
  flex:0 0 auto !important;border:0 !important;border-radius:0 !important;
  background:transparent !important;box-shadow:none !important;transform:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action .qi svg {width:calc(24 * var(--ref-unit)) !important;height:calc(24 * var(--ref-unit)) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action :is(span,svg) {color:var(--tile-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-quick-combined-action > span:not(.qi) {
  font-size:calc(9 * var(--ref-unit)) !important;line-height:1.15 !important;font-weight:750 !important;letter-spacing:0 !important;
}
/* Labeled dock. The legacy inline color/label lock is released in light mode. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs {
  display:flex !important; position:fixed !important;left:0 !important;right:0 !important;bottom:var(--ref-dock-bottom) !important;
  width:auto !important;max-width:none !important;height:var(--ref-dock-height) !important;min-height:var(--ref-dock-height) !important;
  margin:0 !important;padding:calc(4 * var(--ref-unit)) calc(5 * var(--ref-unit)) var(--ref-dock-inset) !important;
  border:1px solid #e5edf5 !important;border-bottom:0 !important;border-radius:calc(22 * var(--ref-unit)) calc(22 * var(--ref-unit)) 0 0 !important;
  background:rgba(255,255,255,.98) !important;box-shadow:0 5px 20px rgba(35,91,137,.055) !important;
  overflow:visible !important;align-items:stretch !important;gap:0 !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button {
  position:relative !important; flex:1 1 0 !important; min-width:0 !important;
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  gap:calc(5 * var(--ref-unit)) !important;height:auto !important;min-height:calc(52 * var(--ref-unit)) !important;max-height:none !important;
  padding:3px 0 5px !important;margin:0 !important;background:transparent !important;
  border:0 !important;border-radius:0 !important;box-shadow:none !important;color:#78889a !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button > span {
  display:block !important;position:static !important;visibility:visible !important;opacity:1 !important;
  width:auto !important;height:auto !important;max-height:none !important;clip:auto !important;clip-path:none !important;
  overflow:visible !important;margin:0 !important;padding:0 !important;
  font-size:calc(10 * var(--ref-unit)) !important;line-height:1.2 !important;font-weight:500 !important;letter-spacing:0 !important;
  color:inherit !important;white-space:nowrap !important;text-transform:none !important;font-family:inherit !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button svg {
  width:calc(22 * var(--ref-unit)) !important;height:calc(22 * var(--ref-unit)) !important;min-width:0 !important;min-height:0 !important;
  margin:0 auto !important;color:inherit !important;stroke:currentColor !important;fill:none !important;filter:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button.on {color:#087fb9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button.on > span {font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button.on[data-tab="home"] svg path {fill:currentColor !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button::after {content:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button.on::after {
  content:"" !important;position:absolute !important;bottom:0 !important;left:50% !important;
  width:calc(38 * var(--ref-unit)) !important;height:3px !important;border-radius:3px !important;
  background:#1687c8 !important;transform:translateX(-50%) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs .tab-active-line {display:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button[data-tab="home"] {order:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button[data-tab="schedule"] {order:2 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button[data-tab="albums"] {order:3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button[data-tab="events"] {order:4 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .tabs.tabs button[data-tab="profile"] {order:5 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body.guest-mode #mainApp .tabs.tabs button:is([data-tab="home"],[data-tab="schedule"],[data-tab="profile"]) {display:none !important;}
/* Status is driven by the real sync result, with distinct busy and error states. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #syncStatus {
  bottom:calc(var(--ref-dock-height) + 18px) !important;right:calc(10 * var(--ref-unit)) !important;
  max-width:calc(100vw - 44px) !important;padding:7px 12px !important;
  border-radius:99px !important;font-size:calc(12 * var(--ref-unit)) !important;font-weight:600 !important;
  opacity:1 !important;box-shadow:0 3px 12px rgba(8,127,115,.07) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #syncStatus::before {content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:6px;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #syncStatus[data-kind="ok"] {color:#167548 !important;background:#e8faf3 !important;border-color:#caefe3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #syncStatus[data-kind="busy"] {color:var(--ref-amber) !important;background:var(--ref-amber-soft) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #syncStatus[data-kind="bad"] {color:var(--ref-rose) !important;background:var(--ref-rose-soft) !important;}
/* Shared card edges and focus carry the system through the other four views. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(h1,h2,h3,h4,h5,h6,button,input,select,textarea,.me-section-title,.events-section-title) {font-family:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-title {font-size:14px !important;line-height:1.25 !important;font-weight:700 !important;white-space:normal !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-time {font-size:11px !important;line-height:1.25 !important;margin-top:4px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-chip {background:var(--ref-teal-soft) !important;color:var(--ref-teal) !important;border-color:var(--ref-teal-line) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-section-title {font-size:13px !important;line-height:1.3 !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(#view-schedule,#view-albums,#view-events,#view-profile) :is(.card,.panel,.simple-schedule-date-head,.simple-team-editor,.simple-worship-songs,.resource-team-group,.resource-announcement-card,.resource-preach-wrap,.events-combined-card,.events-combined-shell,.event-page-card,.me-section-card,.gold-profile-card,.me-super-album-card) {
  border-color:var(--ref-line) !important;border-radius:var(--ref-radius) !important;box-shadow:var(--ref-shadow) !important;
  background:linear-gradient(145deg,#fff 45%,#f8fcff) !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(button,summary,[role="button"]):focus-visible {
  outline:2px solid var(--ref-blue) !important;outline-offset:3px !important;
}
@media(min-width:768px) {
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root {--ref-unit:1px;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top {margin-left:16px !important;margin-right:16px !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp main {padding-left:16px !important;padding-right:16px !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home {max-width:960px !important;margin:0 auto !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-song-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media(max-width:350px) {
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top {padding:9px !important;gap:4px !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top :is(.icon-btn,#btnLang) {width:30px !important;height:34px !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp .top #whoName {font-size:17px !important;}
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-home .home-upcoming-sermon-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important;row-gap:6px !important;}
}
@media(prefers-reduced-motion:reduce) {
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp :is(.tabs,.tabs button,.home-team-chevron) {transition:none !important;}
}

/* Fully visible compact CHAT launcher. Keep the existing gesture and session logic. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle {
  right:calc(10px + env(safe-area-inset-right)) !important;
  top:clamp(36px,var(--htns-chat-handle-top,50%),calc(100dvh - var(--ref-dock-height) - 22px)) !important;
  bottom:auto !important; width:44px !important;height:44px !important;
  min-width:44px !important;min-height:44px !important;
  padding:5px 4px !important;gap:2px !important;
  flex-direction:column !important;align-items:center !important;justify-content:center !important;
  border:1px solid #cfe2f1 !important;border-radius:13px !important;
  background:linear-gradient(145deg,#ffffff 0%,#edf7ff 65%,#e3f1fd 100%) !important;
  color:var(--ref-blue) !important;box-shadow:0 4px 14px rgba(35,91,137,.10) !important;
  transform:translate3d(0,-50%,0) !important;
  touch-action:none !important;overflow:visible !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle .chat-handle-arrow {display:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle svg {
  width:20px !important;height:20px !important;margin:0 !important;
  color:inherit !important;stroke:currentColor !important;stroke-width:1.8 !important;fill:none !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle::after {
  content:"CHAT";font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:8px;font-weight:750;line-height:1.1;letter-spacing:.035em;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle:is(:hover,.chat-handle-pressed) {background:#e5f2ff !important;border-color:#afd2ec !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle:focus-visible {outline:2px solid var(--ref-blue) !important;outline-offset:3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle.chat-handle-dragging {cursor:grabbing !important;transition:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatBadge {
  top:-4px !important;right:-4px !important;min-width:16px !important;height:16px !important;
  padding:0 4px !important;border:2px solid #fff !important;
  background:var(--ref-rose) !important;color:#fff !important;font-size:8px !important;
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body:has(#htnsChatHandle.chat-visible) #syncStatus {
  right:calc(64px + env(safe-area-inset-right)) !important;max-width:calc(100vw - 84px - env(safe-area-inset-right)) !important;
}
@media(prefers-reduced-motion:reduce) {
  html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #htnsChatHandle {animation:none !important;transition:none !important;}
}

/* Schedule reference: one aligned role list and automatic assignment saving. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-page {gap:8px !important;padding:2px 0 12px !important;max-width:760px !important;margin:0 auto !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-date-head {padding:12px !important;border:1px solid #e0ebf4 !important;border-radius:13px !important;background:linear-gradient(145deg,#fff,#f7fbff) !important;box-shadow:0 5px 18px rgba(47,91,133,.05) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-month-title {margin:0 0 12px !important;font-size:14px !important;font-weight:800 !important;letter-spacing:.055em !important;line-height:1.2 !important;text-align:center !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-nav-row.simple-date-nav {display:grid !important;grid-template-columns:42px minmax(0,1fr) 42px !important;gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-date-nav .schedule-nav-btn {width:42px !important;height:40px !important;min-width:42px !important;min-height:40px !important;border:1px solid #adc8dd !important;border-radius:11px !important;background:#fbfdff !important;color:var(--ref-ink) !important;font-size:24px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-date-nav .schedule-date-box {width:100% !important;max-width:none !important;height:40px !important;min-height:40px !important;border:1px solid #bdd4e6 !important;border-radius:11px !important;background:linear-gradient(145deg,#fbfdff,#eff7fd) !important;gap:9px !important;padding:0 8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-date-box > span {font-size:15px !important;font-weight:750 !important;letter-spacing:0 !important;color:var(--ref-ink) !important;line-height:1.1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-date-icon {width:19px !important;height:19px !important;flex:0 0 19px !important;color:var(--ref-blue) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tabs {display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:7px !important;padding:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab {height:42px !important;min-height:42px !important;display:flex !important;align-items:center !important;justify-content:center !important;gap:7px !important;padding:0 8px !important;border:1px solid #d4e4f1 !important;border-radius:11px !important;background:linear-gradient(145deg,#fff,#f8fcff) !important;color:var(--ref-ink) !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab svg {width:20px !important;height:20px !important;flex:0 0 20px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab span {font-size:12px !important;line-height:1.1 !important;font-weight:750 !important;letter-spacing:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab small {font-size:10px !important;font-weight:650 !important;opacity:.8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab.active[aria-selected="true"] {background:linear-gradient(110deg,#418bc5,#569bd7) !important;border-color:#79acd4 !important;color:#fff !important;box-shadow:0 3px 10px rgba(38,110,170,.12) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab.active :is(svg,span,small) {color:#fff !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-editor {border:1px solid #e0ebf3 !important;border-radius:13px !important;background:linear-gradient(145deg,#fff,#f8fcff) !important;box-shadow:0 5px 18px rgba(47,91,133,.05) !important;padding:0 10px 8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-editor-head {min-height:42px !important;padding:8px 0 !important;border-bottom:1px solid #d7e6f0 !important;background:transparent !important;gap:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-editor-head > div {display:flex !important;align-items:center !important;gap:12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-editor-head > div > svg {width:23px !important;height:23px !important;flex:0 0 23px !important;color:var(--ref-blue) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-editor-head h3 {font-size:15px !important;font-weight:800 !important;line-height:1.2 !important;letter-spacing:.015em !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-fill-pill {display:flex !important;align-items:center !important;justify-content:center !important;gap:5px !important;height:23px !important;min-width:58px !important;padding:0 8px !important;background:#e0f8ef !important;color:#177653 !important;border:0 !important;border-radius:999px !important;font-size:10px !important;font-weight:750 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-fill-pill svg {width:14px !important;height:14px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-list {padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-row {grid-template-columns:132px minmax(0,1fr) !important;gap:6px !important;min-height:46px !important;padding:6px 0 !important;border-bottom:1px solid #e0ebf3 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-row:last-child {border-bottom:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-role-label {display:flex !important;align-items:center !important;gap:9px !important;min-width:0 !important;font-size:12.5px !important;font-weight:700 !important;line-height:1.2 !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-role-icon {display:grid !important;place-items:center !important;width:28px !important;height:28px !important;flex:0 0 28px !important;border-radius:50% !important;background:linear-gradient(135deg,#eef8ff,#deeffb) !important;color:var(--ref-blue) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-role-icon svg {width:19px !important;height:19px !important;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-role-icon.is-coordinator {background:transparent !important;color:#c39423 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-role-icon.is-coordinator svg {fill:currentColor;stroke-width:1;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-coordinator-controls {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-select, html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-person-static {height:34px !important;min-height:34px !important;width:100% !important;max-width:100% !important;border:1px solid #c5dbea !important;border-radius:8px !important;background:#fcfeff !important;color:var(--ref-ink) !important;box-shadow:none !important;font-family:inherit !important;font-size:13px !important;font-weight:650 !important;line-height:1.2 !important;padding:0 25px 0 9px !important;text-overflow:ellipsis !important;appearance:none !important;-webkit-appearance:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-select-wrap::after {content:"";position:absolute;right:11px;top:50%;width:6px;height:6px;border-right:1.7px solid var(--ref-ink);border-bottom:1.7px solid var(--ref-ink);transform:translateY(-70%) rotate(45deg);pointer-events:none;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-select:focus-visible {outline:2px solid #6eafd9 !important;outline-offset:2px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-select-wrap.has-conflict .simple-schedule-select, html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-person-static.has-conflict {border-color:#d6b568 !important;background:#fff9ec !important;padding-right:37px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-conflict-mark {right:24px !important;font-size:10px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-row.singers-row {display:block !important;padding:10px 0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-singer-count {margin-left:37px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-singer-chip {background:#f1eafb !important;border:1px solid #e1d7f0 !important;color:#683798 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-singer-edit {color:var(--ref-blue) !important;background:#f4faff !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-worship-songs {margin:8px 0 0 !important;}
@media(max-width:350px){
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-row {grid-template-columns:118px minmax(0,1fr) !important;gap:5px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-role-label {font-size:11px !important;gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-coordinator-controls {gap:5px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-schedule-select {font-size:12px !important;padding-left:6px !important;padding-right:19px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab {gap:4px !important;padding:0 4px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab span {font-size:10px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .simple-team-tab small {font-size:9px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-schedule .schedule-date-box > span {font-size:13px !important;}
}

/* Structural icon sizes also apply to the existing dark theme. */
#view-schedule .schedule-role-icon {display:inline-grid;place-items:center;width:28px;height:28px;flex:0 0 28px;}
#view-schedule .schedule-role-icon svg {width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
#view-schedule .simple-team-tab > svg {width:20px;height:20px;flex:0 0 20px;}
#view-schedule .simple-team-editor-head > div > svg {width:23px;height:23px;flex:0 0 23px;}
#view-schedule .simple-fill-pill > svg {width:14px;height:14px;}

/* Resources reference: individual feature cards and quiet page decoration. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-page {position:relative !important;isolation:isolate !important;display:flex !important;flex-direction:column !important;gap:16px !important;padding:8px 0 48px !important;max-width:760px !important;min-height:calc(100dvh - 200px) !important;margin:0 auto !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-page::before {content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 calc(-10 * var(--ref-unit)) 0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20540%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23dcecff%22%20opacity%3D%22.45%22%20d%3D%22M0%20125C130%20142%20206%20105%20318%2056S371%2035%20390%2034V66C309%2057%20223%20161%200%20160Z%22%2F%3E%3Cpath%20fill%3D%22%23dcecff%22%20opacity%3D%22.5%22%20d%3D%22M0%20392C113%20355%20174%20502%20390%20415V467C210%20548%20111%20400%200%20439Z%22%2F%3E%3C%2Fsvg%3E") center top / 100% 100% no-repeat;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero {display:grid !important;grid-template-columns:60px minmax(0,1fr) !important;align-items:center !important;gap:12px !important;min-height:80px !important;margin:0 !important;padding:6px 3px !important;border:0 !important;border-radius:0 !important;box-shadow:none !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-icon {display:grid !important;place-items:center !important;width:60px !important;height:62px !important;min-width:60px !important;border:0 !important;border-radius:16px !important;background:linear-gradient(135deg,#e3f1ff,#e9f5fe) !important;color:#0e4b85 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-icon svg {width:31px !important;height:31px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-copy {min-width:0 !important;text-align:left !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-copy h2 {margin:0 !important;padding:0 !important;font-size:23px !important;line-height:1.15 !important;font-weight:800 !important;letter-spacing:.005em !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-copy h2::before {display:none !important;content:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-hero-copy p {margin:7px 0 0 !important;padding:0 !important;font-size:12px !important;line-height:1.3 !important;font-weight:400 !important;color:#738097 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resources-page > .resource-list-group {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:9px !important;width:100% !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details {width:100% !important;margin:0 !important;padding:0 !important;border:1px solid #edf4fb !important;border-radius:15px !important;background:linear-gradient(145deg,#fff,#fbfdff) !important;box-shadow:0 5px 16px rgba(51,104,151,.055) !important;overflow:hidden !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details > summary {display:grid !important;grid-template-columns:51px minmax(0,1fr) 14px !important;align-items:center !important;gap:12px !important;min-height:68px !important;margin:0 !important;padding:8px 10px !important;border:0 !important;background:transparent !important;list-style:none !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > .resource-announcement-card > summary {grid-template-columns:51px minmax(0,1fr) 30px 14px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details > summary::after {content:none !important;display:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-icon,.resource-preach-icon,.resource-team-group-icon) {display:grid !important;place-items:center !important;width:51px !important;height:51px !important;min-width:51px !important;padding:0 !important;border:0 !important;border-radius:12px !important;box-shadow:none !important;background:linear-gradient(135deg,#e5f3ff,#eaf5fd) !important;color:var(--ref-blue) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-icon,.resource-preach-icon,.resource-team-group-icon) svg {width:29px !important;height:29px !important;color:inherit !important;fill:none !important;stroke:currentColor !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-announcement-icon {color:#218fc4 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-preach-icon {background:linear-gradient(135deg,#e3f7f4,#e5f8f2) !important;color:#0b7368 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .worship-resource-group .resource-team-group-icon {background:linear-gradient(135deg,#f0e9ff,#f2ecfc) !important;color:#9746d5 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-title,.resource-preach-copy,.resource-team-group-copy) {display:block !important;min-width:0 !important;padding:0 !important;text-align:left !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-title b,.resource-preach-copy h3,.resource-team-group-copy b) {display:block !important;margin:0 !important;padding:0 !important;font-size:14px !important;line-height:1.17 !important;font-weight:750 !important;letter-spacing:-.015em !important;color:var(--ref-ink) !important;white-space:normal !important;overflow-wrap:normal !important;word-break:normal !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-title small,.resource-preach-copy p,.resource-team-group-copy small) {display:block !important;margin:4px 0 0 !important;padding:0 !important;font-size:12px !important;line-height:1.25 !important;font-weight:400 !important;letter-spacing:0 !important;color:#7b8798 !important;white-space:normal !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-announcement-count {display:grid !important;place-items:center !important;min-width:30px !important;height:29px !important;padding:0 4px !important;border:0 !important;border-radius:9px !important;background:#e6f3ff !important;color:var(--ref-ink) !important;font-size:12px !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-chevron,.resource-preach-chevron,.resource-team-chevron) {display:grid !important;place-items:center !important;width:14px !important;height:20px !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;color:#1677a8 !important;transform:rotate(-90deg) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-chevron,.resource-preach-chevron,.resource-team-chevron) svg {width:16px !important;height:16px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details[open] > summary :is(.resource-announcement-chevron,.resource-preach-chevron,.resource-team-chevron) {transform:rotate(0deg) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details > :is(.resource-announcement-body,.resource-preach-body,.resource-team-body) {margin:0 10px !important;padding:10px 0 !important;border-top:1px solid var(--ref-line) !important;background:transparent !important;}

#view-albums .resource-announcement-icon {display:none;}
#view-albums :is(.resource-announcement-icon,.resource-preach-icon) svg {width:29px;height:29px;}
@media(max-width:350px) {
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details > summary {gap:8px !important;grid-template-columns:42px minmax(0,1fr) 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > .resource-announcement-card > summary {grid-template-columns:42px minmax(0,1fr) 24px 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-icon,.resource-preach-icon,.resource-team-group-icon) {width:42px !important;min-width:42px !important;height:48px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-title b,.resource-preach-copy h3,.resource-team-group-copy b) {font-size:12.5px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums :is(.resource-announcement-title small,.resource-preach-copy p,.resource-team-group-copy small) {font-size:11px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-announcement-count {min-width:24px !important;}
}

html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums .resource-list-group > details > summary :is(.resource-announcement-chevron,.resource-preach-chevron,.resource-team-chevron) {color:#1677a8 !important;}

/* Events reference: separate date cards with a full upcoming-list control. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-page {position:relative !important;isolation:isolate !important;display:flex !important;flex-direction:column !important;gap:14px !important;padding:8px 2px 48px !important;max-width:760px !important;min-height:calc(100dvh - 200px) !important;margin:0 auto !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-page::before {content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 calc(-10 * var(--ref-unit)) 0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20540%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23dcecff%22%20opacity%3D%22.28%22%20d%3D%22M0%2025C113%2066%20259-35%20390%206V30C264%200%20169%2093%200%2063Z%22%2F%3E%3Cpath%20fill%3D%22%23dcecff%22%20opacity%3D%22.46%22%20d%3D%22M0%20395C135%20349%20166%20493%20390%20408V452C208%20543%20129%20404%200%20435Z%22%2F%3E%3C%2Fsvg%3E") center top / 100% 100% no-repeat;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head {display:grid !important;grid-template-columns:38px minmax(0,1fr) auto !important;align-items:center !important;gap:11px !important;min-height:54px !important;margin:0 !important;padding:2px 3px !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-icon {display:grid !important;place-items:center !important;width:38px !important;height:38px !important;border:1px solid #d8e8f7 !important;border-radius:11px !important;background:linear-gradient(135deg,#e4f1ff,#f0f7ff) !important;color:#0b68b2 !important;box-shadow:inset 0 1px 4px rgba(36,106,169,.04) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-icon svg {width:25px !important;height:25px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-copy {min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head .events-section-title {margin:0 !important;padding:0 !important;border:0 !important;text-align:left !important;font-size:17px !important;font-weight:800 !important;line-height:1.15 !important;letter-spacing:.025em !important;color:var(--ref-ink) !important;text-transform:uppercase !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-section-title::before {content:none !important;display:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-copy p {margin:3px 0 0 !important;font-size:12px !important;line-height:1.2 !important;letter-spacing:.025em !important;color:#76829a !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head .events-view-all {display:flex !important;align-items:center !important;justify-content:center !important;gap:5px !important;min-width:78px !important;min-height:36px !important;padding:0 11px !important;border:1px solid #d7e7f4 !important;border-radius:999px !important;background:linear-gradient(145deg,#fff,#f6fbff) !important;color:#106fa5 !important;font-size:11px !important;line-height:1.15 !important;font-weight:700 !important;white-space:nowrap !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-view-all svg {width:12px !important;height:12px !important;flex:0 0 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-list {display:block !important;margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell {display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:6px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card {--event-date-bg:#e5f3ff;--event-date-ink:#075c9d;--event-date-line:#dcedfa;display:grid !important;grid-template-columns:61px minmax(0,1fr) 12px !important;align-items:center !important;gap:12px !important;min-height:68px !important;height:auto !important;max-height:none !important;width:100% !important;margin:0 !important;padding:8px 10px !important;border:1px solid #eff5fb !important;border-radius:15px !important;background:linear-gradient(145deg,#fff,#fbfdff) !important;box-shadow:0 4px 15px rgba(51,104,151,.035) !important;text-align:left !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card:nth-child(4n+2) {--event-date-bg:#fff7e5;--event-date-ink:#936113;--event-date-line:#f4ecd9;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card:nth-child(4n+3) {--event-date-bg:#e6f8f0;--event-date-ink:#0e4263;--event-date-line:#ddefe8;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card:nth-child(4n+4) {--event-date-bg:#f2ecfd;--event-date-ink:#263e7b;--event-date-line:#ece5f8;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card.has-church-only {grid-template-columns:61px minmax(0,1fr) 34px 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-chip {position:relative !important;display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;width:49px !important;min-width:49px !important;min-height:50px !important;height:50px !important;gap:3px !important;margin:0 !important;padding:4px 0 !important;border:0 !important;border-radius:12px !important;background:var(--event-date-bg) !important;color:var(--event-date-ink) !important;box-shadow:none !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-chip::after {content:"";position:absolute;left:calc(100% + 10px);top:5px;bottom:5px;width:1px;background:var(--event-date-line);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-chip .mon {display:block !important;margin:0 !important;font-size:10px !important;font-weight:750 !important;line-height:1 !important;letter-spacing:0 !important;color:var(--event-date-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-chip .day {display:block !important;margin:0 !important;font-size:19px !important;font-weight:800 !important;line-height:1 !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-chip .event-date-year {font-size:8px !important;line-height:1 !important;font-weight:600 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-copy {display:flex !important;flex-direction:column !important;justify-content:center !important;align-items:flex-start !important;gap:5px !important;min-width:0 !important;height:auto !important;margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-title {margin:0 !important;padding:0 !important;font-size:14px !important;line-height:1.2 !important;font-weight:750 !important;letter-spacing:-.015em !important;color:var(--ref-ink) !important;white-space:normal !important;word-break:normal !important;overflow-wrap:anywhere !important;overflow:visible !important;text-overflow:clip !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-meta {display:block !important;margin:0 !important;padding:0 !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-time {display:flex !important;align-items:center !important;gap:7px !important;margin:0 !important;padding:0 !important;font-size:12px !important;font-weight:550 !important;line-height:1.1 !important;color:#7c8798 !important;white-space:nowrap !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-time svg {width:15px !important;height:15px !important;flex:0 0 15px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-church-only-badge {display:grid !important;place-items:center !important;align-self:center !important;width:34px !important;height:34px !important;max-width:none !important;min-height:34px !important;margin:0 !important;padding:0 !important;border:1px solid #d4e5f3 !important;border-radius:10px !important;background:linear-gradient(135deg,#f1f8ff,#fbfdff) !important;color:var(--ref-ink) !important;box-shadow:0 2px 6px rgba(30,91,144,.04) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-church-only-badge .church-only-icon {display:grid !important;place-items:center !important;width:23px !important;height:23px !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:var(--ref-ink) !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-church-only-badge svg {width:21px !important;height:21px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-arrow {display:grid !important;place-items:center !important;width:12px !important;margin:0 !important;color:#0b76a9 !important;opacity:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-arrow svg {width:14px !important;height:18px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-page .events-add-btn {display:flex !important;align-items:center !important;justify-content:center !important;gap:12px !important;width:100% !important;min-height:43px !important;height:43px !important;margin:0 !important;padding:0 16px !important;border:1px solid #7cbadb !important;border-radius:999px !important;background:linear-gradient(110deg,#e0f1ff,#e2f2ff) !important;color:#0976a9 !important;font-size:15px !important;font-weight:750 !important;letter-spacing:.025em !important;text-transform:uppercase !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-page .events-add-btn .plus {color:inherit !important;font-size:27px !important;font-weight:400 !important;line-height:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card:active {background:#f2f8ff !important;transform:none !important;}

#view-events .events-reference-head {display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;}
#view-events .events-reference-icon svg {width:25px;height:25px;}
#view-events .events-view-all svg {width:12px;height:12px;}
#view-events .event-page-time svg {width:15px;height:15px;}
#view-events .event-page-arrow svg {width:14px;height:18px;}
#view-events .events-reference-copy p {font-size:12px;}
#view-events .event-date-year {font-size:8px;}
html[data-theme="dark"] #view-events .event-page-card.has-church-only {grid-template-columns:46px minmax(0,1fr) 28px 12px !important;}
html[data-theme="dark"] #view-events .event-church-only-badge {max-width:none !important;width:28px !important;padding:0 !important;}
@media(max-width:350px) {
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head {grid-template-columns:32px minmax(0,1fr) auto !important;gap:7px !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-icon {width:32px !important;height:36px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head .events-section-title {font-size:14px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-copy p {font-size:10px !important;letter-spacing:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-reference-head .events-view-all {min-width:64px !important;padding:0 8px !important;font-size:10px !important;gap:3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card {grid-template-columns:52px minmax(0,1fr) 12px !important;gap:8px !important;padding:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card.has-church-only {grid-template-columns:52px minmax(0,1fr) 30px 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-chip {width:44px !important;min-width:44px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .event-page-chip::after {left:calc(100% + 6px) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-title {font-size:13px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-church-only-badge {width:30px !important;}
}

/* Explicit grid placement avoids native Safari button layout during redraws. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card {appearance:none !important;-webkit-appearance:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-chip {grid-column:1 !important;grid-row:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-copy {grid-column:2 !important;grid-row:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-church-only-badge {grid-column:3 !important;grid-row:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-arrow {grid-column:-2 / -1 !important;grid-row:1 !important;}

/* Keep grid layout inside the native button to prevent WebKit paint offsets. */
#view-events .event-page-card {display:block !important;}
#view-events .event-page-layout {display:grid;grid-template-columns:46px minmax(0,1fr) 12px;align-items:center;gap:10px;width:100%;}
#view-events .has-church-only .event-page-layout {grid-template-columns:46px minmax(0,1fr) 28px 12px;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-card {display:block !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-layout {display:grid !important;grid-template-columns:61px minmax(0,1fr) 12px !important;align-items:center !important;gap:12px !important;width:100% !important;min-height:50px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .has-church-only .event-page-layout {grid-template-columns:61px minmax(0,1fr) 34px 12px !important;}
@media(max-width:350px) {
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .event-page-layout {grid-template-columns:52px minmax(0,1fr) 12px !important;gap:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-events .events-combined-shell .has-church-only .event-page-layout {grid-template-columns:52px minmax(0,1fr) 30px 12px !important;}
}

/* Profile reference: compact sections and aligned preference/admin controls. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-ref-page {position:relative !important;isolation:isolate !important;display:flex !important;flex-direction:column !important;gap:8px !important;max-width:760px !important;min-height:calc(100dvh - 200px) !important;margin:0 auto !important;padding:0 2px 42px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-ref-page::before {content:"";position:absolute;z-index:-1;pointer-events:none;inset:0 calc(-10 * var(--ref-unit)) 0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20390%20640%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22%23dcecff%22%20opacity%3D%22.36%22%20d%3D%22M0%20455C128%20425%20230%20581%20390%20505V548C224%20616%20123%20475%200%20500Z%22%2F%3E%3C%2Fsvg%3E") center top / 100% 100% no-repeat;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-section-card,.me-super-album-card) {padding:7px 9px !important;margin:0 !important;border:1px solid #e5f0f8 !important;border-radius:13px !important;background:linear-gradient(145deg,#fff,#fbfdff) !important;box-shadow:0 3px 13px rgba(51,104,151,.04) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-section-head {display:grid !important;grid-template-columns:33px minmax(0,1fr) !important;align-items:center !important;gap:12px !important;min-height:36px !important;margin:0 0 6px !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.profile-section-icon,.me-pref-icon,.me-power-icon,.me-super-album-icon) {display:grid !important;place-items:center !important;width:32px !important;height:32px !important;min-width:32px !important;flex:0 0 32px !important;border:1px solid #e0edf8 !important;border-radius:10px !important;background:linear-gradient(135deg,#e5f3ff,#edf7fe) !important;color:#0870b5 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.profile-section-icon,.me-pref-icon,.me-power-icon,.me-super-album-icon) svg {width:19px !important;height:19px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-section-icon.notifications {color:#126ed1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.profile-section-icon.availability,.me-pref-icon.reminder,.me-date-icon) {background:linear-gradient(135deg,#dcf8ef,#e8fcf6) !important;color:#087c69 !important;border-color:#def5ed !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-pref-icon.event {background:linear-gradient(135deg,#f1e5fc,#f3eafd) !important;color:#8226ce !important;border-color:#eadcf9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-power-icon {background:linear-gradient(135deg,#fde5f1,#ffebf4) !important;color:#cd1452 !important;border-color:#f9dce9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-section-head .me-section-title {margin:0 !important;padding:0 !important;font-size:13.5px !important;font-weight:750 !important;line-height:1.18 !important;letter-spacing:-.015em !important;text-transform:none !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-section-title::before {display:none !important;content:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-section-sub {margin:3px 0 0 !important;padding:0 !important;font-size:10.5px !important;font-weight:400 !important;line-height:1.22 !important;color:#728399 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-pref-list {display:block !important;margin:0 !important;padding:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-item,.me-power-row) {display:grid !important;grid-template-columns:33px minmax(0,1fr) auto !important;align-items:center !important;gap:12px !important;min-height:39px !important;margin:0 !important;padding:4px 0 !important;border-top:1px solid #e4edf6 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-pref-item:first-child {border-top:1px solid #e4edf6 !important;padding-top:4px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-power-row {min-height:49px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-copy,.me-power-copy) {min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-title,.me-power-title) {display:block !important;margin:0 0 2px !important;font-size:12px !important;font-weight:750 !important;line-height:1.18 !important;letter-spacing:-.01em !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-sub,.me-power-sub) {display:block !important;margin:0 !important;font-size:10px !important;font-weight:400 !important;line-height:1.2 !important;color:#728399 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle {display:block !important;width:39px !important;min-width:39px !important;height:34px !important;margin:0 !important;transform:none !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle input {width:100% !important;height:100% !important;inset:0 !important;margin:0 !important;opacity:0 !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle-ui {inset:7px 0 7px 4px !important;height:20px !important;border:0 !important;border-radius:999px !important;background:#cbd6e2 !important;box-shadow:none !important;pointer-events:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle-ui::before {content:"" !important;width:16px !important;height:16px !important;left:2px !important;top:2px !important;background:#fff !important;border:0 !important;box-shadow:0 1px 3px rgba(21,71,111,.16) !important;transform:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle input:checked + .toggle-ui {background:linear-gradient(110deg,#368dde,#4c9be5) !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle input:checked + .toggle-ui::before {background:#fff !important;transform:translateX(15px) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #notificationsCard .toggle input:focus-visible + .toggle-ui {outline:2px solid var(--ref-blue) !important;outline-offset:3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-power-actions {display:flex !important;align-items:center !important;gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-icon-btn,.me-power-btn) {display:grid !important;place-items:center !important;width:29px !important;height:29px !important;min-width:29px !important;min-height:29px !important;padding:0 !important;border:1px solid #dceaf7 !important;border-radius:9px !important;background:#eaf5ff !important;color:#0c518a !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-power-btn {background:#ffe7f2 !important;color:#cd1452 !important;border-color:#f7d8e8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-icon-btn,.me-power-btn) svg {width:18px !important;height:18px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #availabilityCard .profile-section-head {margin-bottom:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-stack {display:grid !important;grid-template-columns:minmax(0,1fr) 126px !important;gap:7px !important;align-items:stretch !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-control {position:relative !important;display:block !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-field {display:grid !important;grid-template-columns:28px minmax(0,1fr) !important;gap:5px !important;min-height:31px !important;height:100% !important;margin:0 !important;padding:0 28px 0 4px !important;border:1px solid #b8d8e5 !important;border-radius:8px !important;background:#fff !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-field .me-date-icon {width:24px !important;height:24px !important;min-width:24px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:50% !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-icon svg {width:17px !important;height:17px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-date-label {font-size:12px !important;font-weight:750 !important;line-height:1.1 !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-date-clear {position:absolute !important;right:1px !important;top:1px !important;bottom:1px !important;width:27px !important;min-width:27px !important;min-height:29px !important;padding:0 !important;border:0 !important;border-radius:7px !important;background:transparent !important;color:#748aa0 !important;font-size:19px !important;font-weight:400 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-add {display:flex !important;align-items:center !important;justify-content:center !important;gap:6px !important;width:100% !important;min-width:0 !important;min-height:31px !important;height:auto !important;margin:0 !important;padding:4px 7px !important;border:1px solid #153967 !important;border-radius:8px !important;background:#fbfdff !important;color:var(--ref-ink) !important;font-size:10.5px !important;font-weight:700 !important;line-height:1.2 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-add .plus {font-size:18px !important;line-height:1 !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-list {grid-column:1 / -1 !important;display:grid !important;gap:6px !important;margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-availability-empty,.me-availability-item) {display:grid !important;grid-template-columns:28px minmax(0,1fr) auto !important;align-items:center !important;gap:5px !important;min-height:36px !important;padding:4px 6px !important;border:1px dashed #d6e7ec !important;border-radius:8px !important;background:#f8fcfe !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-availability-empty,.me-availability-item) .me-date-icon {width:25px !important;height:25px !important;min-width:25px !important;border:0 !important;border-radius:50% !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-empty > span {font-size:10px !important;line-height:1.2 !important;color:#788a9d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-empty b {display:block !important;font-size:10px !important;font-weight:650 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-empty small {display:block !important;margin-top:2px !important;font-size:9.5px !important;font-weight:400 !important;line-height:1.2 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-item .date-val {font-size:12px !important;line-height:1.1 !important;font-weight:700 !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-remove {width:27px !important;min-width:27px !important;height:27px !important;min-height:27px !important;padding:0 !important;font-size:18px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-reference {display:flex !important;flex-direction:column !important;gap:6px !important;margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-card {display:block !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-head {display:grid !important;grid-template-columns:32px minmax(0,1fr) auto !important;grid-template-rows:auto auto !important;column-gap:11px !important;row-gap:3px !important;align-items:center !important;margin:0 0 5px !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-icon {grid-column:1 !important;grid-row:1 / 3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-copy {display:contents !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-title {grid-column:2 !important;grid-row:1 !important;margin:0 !important;padding:0 !important;font-size:13px !important;font-weight:750 !important;line-height:1.15 !important;letter-spacing:-.01em !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-desc {grid-column:2 / -1 !important;grid-row:2 !important;min-width:0 !important;max-width:none !important;display:block !important;margin:0 !important;font-size:10px !important;font-weight:400 !important;line-height:1.2 !important;white-space:normal !important;overflow:visible !important;color:#728399 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-badge {grid-column:3 !important;grid-row:1 !important;align-self:start !important;padding:3px 7px !important;min-height:16px !important;border:1px solid #d7e8f6 !important;border-radius:999px !important;background:#e8f4ff !important;color:var(--ref-ink) !important;font-size:8px !important;font-weight:750 !important;line-height:1 !important;letter-spacing:.05em !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-controls {display:grid !important;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) !important;gap:7px !important;align-items:stretch !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-controls .me-album-link-wrap {display:grid !important;grid-template-columns:22px minmax(0,1fr) !important;grid-column:auto !important;gap:4px !important;min-width:0 !important;width:100% !important;min-height:31px !important;margin:0 !important;padding:0 6px !important;border:1px solid #c3d8e8 !important;border-radius:8px !important;background:#fff !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-link-icon svg {width:17px !important;height:17px !important;color:#234867 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-controls .me-album-link-wrap input {width:100% !important;min-width:0 !important;min-height:29px !important;height:29px !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:#23415f !important;font-size:12px !important;font-weight:550 !important;line-height:1.2 !important;box-shadow:none !important;text-overflow:ellipsis !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-controls .me-album-update {display:flex !important;align-items:center !important;justify-content:center !important;grid-column:auto !important;gap:6px !important;width:100% !important;min-width:0 !important;min-height:31px !important;height:auto !important;margin:0 !important;padding:4px 7px !important;border:1px solid #153967 !important;border-radius:8px !important;background:#fbfdff !important;color:var(--ref-ink) !important;font-size:10px !important;line-height:1.2 !important;font-weight:750 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-update svg {width:17px !important;height:17px !important;flex:0 0 17px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-update span {min-width:0 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-note {margin:5px 0 0 !important;padding:0 !important;font-size:9px !important;font-weight:550 !important;line-height:1.2 !important;color:#75869b !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack {display:flex !important;flex-direction:column !important;gap:5px !important;margin:0 !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-manager,.role-manager-dropdown) {margin:0 !important;padding:0 !important;border:1px solid #e1edf7 !important;border-radius:10px !important;background:linear-gradient(145deg,#fff,#fbfdff) !important;box-shadow:0 2px 9px rgba(51,104,151,.035) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-toggle,.role-manager-toggle) {display:grid !important;grid-template-columns:30px minmax(0,1fr) 12px !important;align-items:center !important;gap:10px !important;min-height:40px !important;height:auto !important;margin:0 !important;padding:5px 9px !important;border:0 !important;border-radius:10px !important;background:transparent !important;box-shadow:none !important;text-align:left !important;appearance:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-toggle-icon,.role-manager-icon) {display:grid !important;place-items:center !important;width:29px !important;height:29px !important;min-width:29px !important;margin:0 !important;border:1px solid #dcebf8 !important;border-radius:8px !important;background:#e7f4ff !important;color:#0870b5 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-toggle-icon,.role-manager-icon) svg {width:18px !important;height:18px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-toggle-title,.role-manager-title) {display:flex !important;align-items:center !important;justify-content:flex-start !important;gap:7px !important;min-width:0 !important;margin:0 0 2px !important;padding:0 !important;font-size:11.5px !important;font-weight:750 !important;line-height:1.15 !important;letter-spacing:-.01em !important;text-transform:none !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-toggle-sub,.role-manager-sub) {display:block !important;margin:0 !important;font-size:9.5px !important;font-weight:400 !important;line-height:1.15 !important;color:#728399 !important;text-transform:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-count,.role-manager-count) {display:inline-grid !important;place-items:center !important;min-width:24px !important;height:16px !important;padding:0 6px !important;border:1px solid #d9eaf8 !important;border-radius:999px !important;background:#e7f4ff !important;color:var(--ref-ink) !important;font-size:10px !important;font-weight:700 !important;line-height:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-chevron,.role-manager-chevron) {display:grid !important;place-items:center !important;width:12px !important;height:16px !important;margin:0 !important;border:0 !important;background:transparent !important;box-shadow:none !important;font-size:0 !important;transform:none !important;color:var(--ref-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-chevron,.role-manager-chevron) svg {display:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack :is(.roster-chevron,.role-manager-chevron)::after {content:"";width:5px;height:5px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-manager-stack .open > :is(.roster-toggle,.role-manager-toggle) :is(.roster-chevron,.role-manager-chevron)::after {transform:rotate(135deg);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-actions {display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:5px !important;margin:0 !important;padding:0 3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-actions .me-admin-action {display:flex !important;align-items:center !important;justify-content:center !important;gap:7px !important;width:100% !important;min-height:33px !important;height:auto !important;margin:0 !important;padding:5px 8px !important;border:1px solid #183966 !important;border-radius:9px !important;background:#fbfdff !important;color:var(--ref-ink) !important;font-size:11px !important;font-weight:700 !important;line-height:1.2 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-admin-action svg {width:15px !important;height:15px !important;}

#view-profile .profile-section-head {display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;}
#view-profile .profile-section-icon svg {width:19px;height:19px;}
#view-profile .profile-section-sub {font-size:11px;}
#view-profile .me-date-control {position:relative;}
#view-profile .profile-date-clear {position:absolute;right:0;top:0;bottom:0;width:30px;}
#view-profile .me-album-controls {display:grid;gap:7px;}
@media(max-width:350px) {
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-availability-stack {grid-template-columns:minmax(0,1fr) 116px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-item,.me-power-row,.profile-section-head) {gap:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-album-controls {grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-badge {font-size:7px !important;padding:3px 5px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-super-album-title {font-size:12px !important;}
}

/* Keep the four preference rows as compact as the supplied Profile reference. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .profile-section-head {margin-bottom:4px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-item,.me-power-row) {padding:3px 0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-pref-item:first-child {padding-top:3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-pref-item {min-height:38px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile :is(.me-pref-icon,.me-power-icon) {width:30px !important;height:30px !important;min-width:30px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile .me-power-row {min-height:45px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-profile #availabilityCard .profile-section-head {min-height:32px !important;margin-bottom:6px !important;}

/* Songbook: one reference visual system for the library and offline screens. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot {display:flex !important;flex-direction:column !important;gap:8px !important;padding:10px 8px 14px !important;background:#f1f8ff !important;border:0 !important;box-shadow:none !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-head {padding:10px !important;gap:8px !important;border:1px solid #e3edf7 !important;border-radius:14px !important;background:linear-gradient(135deg,#fff,#fbfdff) !important;box-shadow:0 3px 12px rgba(52,100,144,.04) !important;align-items:start !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-brand {gap:9px !important;align-items:center !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-brand-icon {width:36px !important;height:40px !important;flex:0 0 36px !important;border-radius:11px !important;border:1px solid #e6dcf8 !important;background:#f0e9fc !important;color:#7c2dce !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-brand-icon svg {width:22px !important;height:22px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-brand-copy b {font-size:15px !important;font-weight:750 !important;line-height:1.14 !important;letter-spacing:0 !important;color:#102f61 !important;white-space:normal !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-brand-copy small {font-size:10px !important;font-weight:400 !important;line-height:1.3 !important;white-space:normal !important;overflow:visible !important;color:#75869b !important;margin-top:4px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-connection {font-size:8px !important;font-weight:650 !important;letter-spacing:0 !important;text-transform:none !important;min-height:25px !important;padding:4px 7px !important;align-self:center !important;border:1px solid #cdeee0 !important;background:#e8faf3 !important;color:#167548 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-connection.offline {border-color:#eadbb9 !important;background:#fff8e9 !important;color:#916819 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-connection.pending {border-color:#edd6a9 !important;background:#fff7e6 !important;color:#93681a !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-tabs {grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:6px !important;padding:0 !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-tab {justify-content:flex-start !important;height:34px !important;min-height:34px !important;padding:0 9px !important;gap:7px !important;border:1px solid #e2e8f4 !important;border-radius:10px !important;background:#fff !important;color:#5f6f87 !important;font-size:11px !important;font-weight:650 !important;letter-spacing:0 !important;text-transform:none !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-tab svg {width:16px !important;height:16px !important;color:#8b54bd !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-tab.on {border-color:#d6c4ef !important;background:#efe7fb !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-tab-count {margin-left:auto !important;height:20px !important;min-width:22px !important;padding:0 5px !important;border:1px solid #d9e9f7 !important;border-radius:999px !important;background:#eaf5ff !important;color:#164376 !important;font-size:10px !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-tab.on .htns-songbook-tab-count {border-color:#d9cbef !important;background:#faf7ff !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-panel {background:transparent !important;border:0 !important;min-height:210px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-toolbar {padding:0 0 8px !important;gap:6px !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-toolbar.readonly {grid-template-columns:minmax(0,1fr) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-search {height:36px !important;min-height:36px !important;padding:0 9px !important;border:1px solid #cbdfef !important;border-radius:10px !important;background:#fff !important;color:#416885 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-search input {height:32px !important;min-height:0 !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:#153967 !important;font-size:12px !important;font-weight:500 !important;line-height:1.3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-search input::placeholder {color:#8a97a9 !important;opacity:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-search small {font-size:10px !important;font-weight:650 !important;color:#587a97 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-icon-action {width:36px !important;height:36px !important;min-width:36px !important;min-height:36px !important;border:1px solid #e0d4f3 !important;border-radius:10px !important;background:#f4effc !important;color:#7c2dce !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-icon-action svg {width:18px !important;height:18px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-icon-action.primary {background:#ece3fa !important;border-color:#d8c6ee !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-filterbar {padding:0 0 8px !important;gap:5px !important;border:0 !important;background:transparent !important;overscroll-behavior-x:contain !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-chip {flex:0 0 auto !important;height:29px !important;min-height:29px !important;padding:0 9px !important;border:1px solid #e0e8f1 !important;border-radius:999px !important;background:#fff !important;color:#6e7d93 !important;font-size:10.5px !important;font-weight:600 !important;letter-spacing:0 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-chip.on {background:#eee6fa !important;border-color:#d9c8ee !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-summary {min-height:40px !important;padding:4px 2px 9px !important;gap:8px !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-summary-copy {font-size:10px !important;font-weight:400 !important;line-height:1.35 !important;color:#78889b !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-summary-copy b {font-size:13px !important;font-weight:750 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot select.htns-songbook-sort {width:96px !important;min-width:0 !important;height:31px !important;min-height:31px !important;padding:0 25px 0 9px !important;border:1px solid #cbdfee !important;border-radius:9px !important;background:#fff !important;color:#21456c !important;font-size:11px !important;font-weight:650 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-list {display:grid !important;gap:6px !important;max-height:none !important;overflow:visible !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row {grid-template-columns:28px minmax(0,1fr) 58px !important;gap:8px !important;min-height:62px !important;padding:9px !important;border:1px solid #e2edf7 !important;border-radius:12px !important;background:linear-gradient(135deg,#fff,#fbfdff) !important;box-shadow:0 2px 9px rgba(52,100,144,.035) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row.no-private-prefs {grid-template-columns:minmax(0,1fr) 58px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-favorite {width:28px !important;height:28px !important;min-width:28px !important;min-height:28px !important;padding:0 !important;border:1px solid #dce7f3 !important;border-radius:9px !important;background:#f7fbff !important;color:#8193a7 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-favorite svg {width:15px !important;height:15px !important;color:inherit !important;fill:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-favorite.on {background:#efe6fa !important;border-color:#d9c4ef !important;color:#7c2dce !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-favorite.on svg {fill:#dbc4f5 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-main {display:block !important;min-height:38px !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;text-align:left !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-main b {font-size:13px !important;font-weight:750 !important;letter-spacing:-.01em !important;line-height:1.25 !important;white-space:normal !important;overflow:visible !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-main small {font-size:9.5px !important;font-weight:400 !important;line-height:1.25 !important;color:#7b8b9d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-tags {display:flex !important;flex-wrap:wrap !important;gap:3px !important;margin-top:4px !important;overflow:visible !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-tag {max-width:100% !important;padding:2px 5px !important;border:0 !important;background:#f0f6fb !important;color:#6b8398 !important;font-size:9px !important;font-weight:500 !important;line-height:1.2 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-side {min-width:0 !important;width:58px !important;min-height:40px !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;text-align:right !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-key {height:24px !important;min-width:31px !important;padding:0 7px !important;border:1px solid #c8dfef !important;border-radius:8px !important;background:#eef7ff !important;color:#214f7e !important;font-size:11px !important;font-weight:750 !important;line-height:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-side small {margin-top:4px !important;font-size:9px !important;font-weight:500 !important;line-height:1.2 !important;white-space:normal !important;color:#7e8fa3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row-side small.upcoming {color:#167548 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-usage.unscheduled {display:flex !important;align-items:center !important;justify-content:flex-end !important;gap:5px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-unscheduled {display:inline-flex !important;align-items:center !important;color:#8294a7 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-unscheduled svg {width:16px !important;height:16px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-offline-dot {width:5px !important;height:5px !important;flex:0 0 5px !important;margin:0 !important;background:#329462 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-load-more {padding:10px !important;border:1px solid #ded3f2 !important;border-radius:11px !important;background:#f3edfb !important;color:#7027b8 !important;font-size:11px !important;font-weight:650 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-section {padding:0 !important;display:grid !important;gap:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot :is(.htns-songbook-card,.htns-songbook-set-card) {padding:10px !important;border:1px solid #e0ecf6 !important;border-radius:12px !important;background:#fff !important;box-shadow:0 2px 9px rgba(52,100,144,.035) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-card-head {gap:8px !important;flex-wrap:wrap !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot :is(.htns-songbook-card-head b,.htns-songbook-card h3,.htns-songbook-set-card b) {font-size:12px !important;font-weight:750 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot :is(.htns-songbook-card-head small,.htns-songbook-set-card small) {font-size:10px !important;font-weight:400 !important;line-height:1.3 !important;color:#76899d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-mini-btn {min-height:32px !important;padding:6px 9px !important;border:1px solid #d8e4f1 !important;border-radius:9px !important;background:#f7fbff !important;color:#416786 !important;font-size:9.5px !important;font-weight:650 !important;letter-spacing:0 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-mini-btn.primary {border-color:#ddcfef !important;background:#f0e9fb !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-health-item {padding:8px !important;border:1px solid #e0edf7 !important;border-radius:10px !important;background:#f3f9ff !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-health-item small {font-size:9px !important;font-weight:500 !important;letter-spacing:0 !important;text-transform:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-health-item b {font-size:13px !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-storage-track span {background:#9970ce !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-explain {padding:8px !important;border-color:#c8e0f1 !important;background:#f1f8ff !important;color:#687e95 !important;font-size:10px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-screen {background:#f0f8ff !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-screen-head {min-height:62px !important;padding:calc(9px + env(safe-area-inset-top)) 12px 9px !important;grid-template-columns:34px minmax(0,1fr) auto !important;gap:9px !important;background:linear-gradient(135deg,#fff,#f7fbff) !important;border-bottom:1px solid #dfeaf5 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-screen-title b {font-size:14px !important;font-weight:750 !important;line-height:1.18 !important;letter-spacing:0 !important;white-space:normal !important;color:#102f61 !important;text-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-screen-title small {font-size:10px !important;font-weight:400 !important;line-height:1.3 !important;white-space:normal !important;color:#75879c !important;text-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-offline-search-toggle) {width:34px !important;height:34px !important;min-height:34px !important;padding:0 !important;border:1px solid #dce7f4 !important;border-radius:10px !important;background:#edf6ff !important;color:#176b9b !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-offline-search-toggle) svg {width:18px !important;height:18px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-connection {min-height:24px !important;padding:4px 7px !important;border:1px solid #ebdeb9 !important;border-radius:999px !important;background:#fff8e9 !important;color:#916819 !important;font-size:9px !important;font-weight:650 !important;letter-spacing:0 !important;text-transform:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-head-actions {gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-hub {width:100% !important;max-width:760px !important;padding:10px 12px calc(18px + env(safe-area-inset-bottom)) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-summary {gap:6px !important;margin:0 0 12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-summary span {min-height:37px !important;padding:5px 7px !important;border:1px solid #e2d8f5 !important;border-radius:10px !important;background:#f4effc !important;color:#817192 !important;font-size:9px !important;font-weight:500 !important;line-height:1.2 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-summary b {margin-bottom:2px !important;font-size:13px !important;line-height:1 !important;font-weight:750 !important;color:#7030aa !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-hub > h3 {margin:12px 2px 8px !important;font-size:12px !important;font-weight:700 !important;letter-spacing:0 !important;color:#6a7d97 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-catalog {gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-catalog > button {display:grid !important;grid-template-columns:minmax(0,1fr) auto !important;gap:9px !important;min-height:54px !important;padding:9px 10px !important;border:1px solid #e2edf7 !important;border-radius:12px !important;background:linear-gradient(135deg,#fff,#fbfdff) !important;box-shadow:0 2px 9px rgba(52,100,144,.035) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-catalog b {font-size:13px !important;font-weight:750 !important;line-height:1.25 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-catalog small {margin-top:4px !important;font-size:9.5px !important;font-weight:400 !important;line-height:1.25 !important;color:#7b8b9d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-catalog .htns-songbook-key {min-width:31px !important;height:24px !important;padding:0 7px !important;border:1px solid #c8dfef !important;border-radius:8px !important;background:#eef7ff !important;color:#214f7e !important;font-size:11px !important;font-weight:750 !important;line-height:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-search-panel:not([hidden]) {margin:0 0 10px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-search.offline-search {display:grid !important;grid-template-columns:17px minmax(0,1fr) auto !important;gap:7px !important;height:36px !important;min-height:36px !important;margin:0 !important;padding:0 9px !important;border:1px solid #cbdfee !important;border-radius:10px !important;background:#fff !important;color:#527894 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-search.offline-search input {width:100% !important;min-width:0 !important;height:32px !important;min-height:0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:#153967 !important;font-size:12px !important;font-weight:500 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-search.offline-search svg {width:16px !important;height:16px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-search.offline-search small {font-size:10px !important;color:#587a97 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-tools > button {min-height:54px !important;padding:10px !important;border:1px solid #e2d7f3 !important;border-radius:12px !important;background:#f4eefc !important;color:#7c2dce !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-tools b {font-size:11px !important;font-weight:700 !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-tools small {font-size:9.5px !important;color:#7f7693 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-offline-note,.htns-songbook-rights-notice) {font-size:10px !important;font-weight:400 !important;line-height:1.4 !important;color:#77899d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-form-card,.htns-songbook-utility) {border-color:#e0ebf6 !important;background:#fff !important;box-shadow:0 3px 14px rgba(52,100,144,.05) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-viewer-controls {border-color:#dfe9f4 !important;background:#f5f9ff !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-live-btn {border-color:#dbe6f2 !important;background:#fff !important;color:#57728f !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-live-btn.on {border-color:#d5c4ec !important;background:#eee6fa !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-transpose {border-color:#decef1 !important;background:#f5effd !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-transpose button {border-color:#e2d7f3 !important;background:#fff !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-chord-line,.htns-songbook-chord) {color:#0b86ce !important;-webkit-text-fill-color:#0b86ce !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-comment {border-color:#d8c7ec !important;background:#f5effc !important;color:#77548f !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-grid-chord {border-color:#dccded !important;background:#f5effc !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-section-jumps button {border-color:#e0d5f0 !important;background:#f5effc !important;color:#7027b8 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-primary-btn {border-color:#7c2dce !important;background:#7c2dce !important;color:#fff !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-secondary-btn {border-color:#d5e3f0 !important;background:#fff !important;color:#315779 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot :is(button,input,select,textarea):focus-visible {outline:2px solid #9b72c9 !important;outline-offset:2px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button:disabled {opacity:.45 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(button,input,select,textarea):focus-visible {outline:2px solid #9b72c9 !important;outline-offset:2px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) button:disabled {opacity:.45 !important;}
@media(min-width:600px){
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-tabs {grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media(max-width:350px){
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-head {grid-template-columns:minmax(0,1fr) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-connection {justify-self:start !important;margin-left:45px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot .htns-songbook-row {gap:6px !important;padding:8px !important;grid-template-columns:26px minmax(0,1fr) 50px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #mainApp #view-albums #htnsSongbookRoot button.htns-songbook-row-side {width:50px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-screen-head .htns-songbook-screen-title b {font-size:12px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-screen-head .htns-songbook-screen-title small {font-size:9px !important;}
}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-offline-song[hidden]{display:none !important;}

/* Power Down reference: readable steps, category icons and unchanged PIN flow. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-modal {display:flex !important;align-items:center !important;justify-content:center !important;padding:10px !important;background:rgba(33,66,90,.24) !important;backdrop-filter:blur(6px) !important;-webkit-backdrop-filter:blur(6px) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal :is(.power-check-sheet,.power-check-editor-sheet) {width:min(100%,560px) !important;max-width:560px !important;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;margin:0 !important;padding:14px 10px !important;border:1px solid #dfebf5 !important;border-radius:16px !important;background:linear-gradient(145deg,#fff,#f7fbff) !important;color:#102f61 !important;box-shadow:0 14px 42px rgba(26,66,95,.14) !important;overflow-y:auto !important;overscroll-behavior:contain !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-row {display:grid !important;grid-template-columns:44px minmax(0,1fr) auto !important;gap:10px !important;align-items:center !important;margin:0 6px 10px !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-brand {display:grid !important;place-items:center !important;width:44px !important;height:48px !important;border:0 !important;border-radius:12px !important;background:#ffedf3 !important;color:#cb2455 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-brand svg {width:28px !important;height:28px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-copy h3 {margin:0 0 5px !important;font-size:17px !important;font-weight:750 !important;line-height:1.18 !important;letter-spacing:-.015em !important;text-transform:none !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-copy .muted {font-size:10px !important;font-weight:400 !important;line-height:1.3 !important;color:#7b879c !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-edit-btn {min-width:64px !important;min-height:33px !important;height:auto !important;padding:7px 8px !important;gap:5px !important;border:1px solid #c7dfec !important;border-radius:9px !important;background:#edf7ff !important;color:#116eaa !important;font-size:10px !important;font-weight:700 !important;line-height:1.1 !important;letter-spacing:.025em !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-edit-btn svg {width:15px !important;height:15px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-list {display:grid !important;gap:4px !important;list-style:none !important;margin:0 !important;padding:0 !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-list li {display:block !important;list-style:none !important;margin:0 !important;padding:0 !important;border:1px solid #e1ebf5 !important;border-radius:10px !important;background:linear-gradient(120deg,#fff,#f7fbff) !important;color:#475c78 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-step-row {display:grid !important;grid-template-columns:24px 32px minmax(0,1fr) 20px !important;align-items:center !important;gap:10px !important;min-height:49px !important;margin:0 !important;padding:7px 9px !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-n {display:grid !important;place-items:center !important;width:24px !important;height:26px !important;min-width:24px !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:50% !important;background:#e7f4ff !important;color:#154e7e !important;font-size:12px !important;font-weight:750 !important;line-height:1 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon {display:grid !important;place-items:center !important;width:32px !important;height:32px !important;border:0 !important;border-radius:50% !important;background:#ebf6ff !important;color:#1576ae !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon svg {width:20px !important;height:20px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon.purple {background:#f5effd !important;color:#864bc1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon.mint {background:#e9faf5 !important;color:#148571 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon.gold {background:#fff6e5 !important;color:#eda924 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-text {display:block !important;margin:0 !important;padding:0 !important;min-width:0 !important;font-size:12.5px !important;font-weight:400 !important;line-height:1.3 !important;letter-spacing:0 !important;color:#4d617b !important;text-decoration:none !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-text strong {font-weight:750 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-box {display:block !important;position:static !important;appearance:none !important;-webkit-appearance:none !important;opacity:1 !important;width:20px !important;height:20px !important;min-width:20px !important;min-height:20px !important;margin:0 !important;padding:0 !important;align-self:center !important;border:1px solid #919baa !important;border-radius:5px !important;background:#fff !important;box-shadow:none !important;cursor:pointer !important;transform:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-box:checked {border-color:#2e8fd1 !important;background:#2e8fd1 url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22%3E%3Cpath d=%22m4 10 4 4 8-8%22 fill=%22none%22 stroke=%22white%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22/%3E%3C/svg%3E") center / 17px 17px no-repeat !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-box:focus-visible {outline:2px solid #238bd1 !important;outline-offset:3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-list li.done {background:#edf9f5 !important;border-color:#cce9de !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-list li.done .check-text {color:#6d887c !important;opacity:1 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-list li.done .check-text strong {color:#287a59 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-check-actions {display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;align-items:stretch !important;gap:8px !important;margin:14px 6px 0 !important;padding:0 !important;border:0 !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-check-actions .btn {display:flex !important;align-items:center !important;justify-content:center !important;gap:9px !important;min-height:35px !important;height:auto !important;margin:0 !important;padding:8px 10px !important;border:1px solid #c7deee !important;border-radius:10px !important;background:#eff8ff !important;color:#1172aa !important;font-size:12px !important;font-weight:700 !important;line-height:1.2 !important;letter-spacing:0 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-check-actions .power-check-power {border-color:#2e91d0 !important;background:linear-gradient(120deg,#3798df,#258ad5) !important;color:#fff !important;box-shadow:0 3px 7px rgba(38,131,196,.17) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-check-action-icon {display:grid !important;place-items:center !important;font-size:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-check-action-icon svg {width:19px !important;height:19px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-help {display:grid !important;grid-template-columns:22px minmax(0,1fr) !important;gap:9px !important;align-items:center !important;margin:11px 2px 0 !important;padding:10px 12px !important;border:1px solid #d8eaf8 !important;border-radius:10px !important;background:#edf7ff !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-help > svg {width:20px !important;height:20px !important;color:#087ab6 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-help b {display:block !important;color:#135a88 !important;font-size:10.5px !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-help p {margin:3px 0 0 !important;color:#78899f !important;font-size:9.5px !important;font-weight:400 !important;line-height:1.3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-head span {color:#6e879e !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-head h3 {color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-language-tabs {border-color:#dce9f6 !important;background:#edf6fe !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-language-tabs button {color:#70859c !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-language-tabs button.on {border-color:#c9dfef !important;background:#fff !important;color:#0877b3 !important;box-shadow:0 2px 6px rgba(20,90,140,.05) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-step {border-color:#dce9f5 !important;background:#f4f9fe !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-number {background:#e1f1ff !important;color:#135580 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal :is(.power-check-editor-steps-head button,.power-check-editor-step-actions button) {border-color:#ccdfef !important;background:#f3f9ff !important;color:#156b9f !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-step-actions button.delete {border-color:#f0dce5 !important;background:#fff1f5 !important;color:#c42c58 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal :is(.power-check-editor-field input,.power-check-editor-field textarea,.power-check-editor-step textarea) {border-color:#d1e2f0 !important;background:#fff !important;color:#234365 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-footer .btn {border:1px solid #cadfed !important;background:#f5faff !important;color:#176b9f !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-editor-footer .power-check-editor-save {border-color:#2e91d0 !important;background:#2d91d8 !important;color:#fff !important;}
@media(max-width:350px){
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-row {grid-template-columns:36px minmax(0,1fr) auto !important;gap:7px !important;margin-left:1px !important;margin-right:1px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-brand {width:36px !important;height:40px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-copy h3 {font-size:15px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-edit-btn {min-width:49px !important;font-size:8px !important;padding:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .power-step-row {grid-template-columns:22px 27px minmax(0,1fr) 20px !important;gap:6px !important;padding:7px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon {width:27px !important;height:29px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-step-icon svg {width:18px !important;height:18px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet .check-text {font-size:12px !important;}
}

html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) .htns-songbook-offline-song[hidden]{display:none !important;}

/* Light viewer text must also replace the legacy WebKit text fill. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet:not(:has(.stage-dark)) :is(.htns-songbook-screen-title b,.htns-songbook-screen-title small,.htns-songbook-section-title,.htns-songbook-chord-line,.htns-songbook-chord){-webkit-text-fill-color:currentColor !important;}

/* Keep a saved floating chat position from covering checklist controls. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body:has(#modal .power-check-modal) #htnsChatHandle {visibility:hidden !important;pointer-events:none !important;}

/* Focus the dialog itself on entry; keep keyboard focus visible on its controls. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-sheet {outline:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .power-check-title-copy {min-width:0 !important;}

/* Notifications reference: type colors, meaningful icons and full-message access. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-modal {display:flex !important;align-items:center !important;justify-content:center !important;padding:12px !important;background:rgba(33,66,90,.25) !important;backdrop-filter:blur(6px) !important;-webkit-backdrop-filter:blur(6px) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-sheet {box-sizing:border-box !important;width:min(100%,580px) !important;max-width:580px !important;max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;overflow-y:auto !important;overscroll-behavior:contain !important;margin:0 !important;padding:12px !important;border-radius:22px !important;outline:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-sheet {background:linear-gradient(140deg,#fff,#f4faff) !important;border:1px solid #d0e6f7 !important;box-shadow:0 18px 54px rgba(26,66,95,.16) !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-head {display:grid !important;grid-template-columns:minmax(0,1fr) 36px !important;align-items:start !important;gap:10px !important;margin:3px 6px 13px !important;padding:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-head-copy {min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-head h3 {margin:0 !important;font-size:20px !important;line-height:1.17 !important;font-weight:800 !important;letter-spacing:.005em !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-head h3 {color:#102f61 !important;-webkit-text-fill-color:currentColor !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-head-copy p {margin:5px 0 0 !important;font-size:12px !important;line-height:1.35 !important;font-weight:400 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-head-copy p {color:#647b97 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-close {display:grid !important;place-items:center !important;width:36px !important;height:36px !important;min-width:36px !important;padding:7px !important;margin:0 !important;border-radius:10px !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-close {background:#eff8ff !important;border:1px solid #c3def3 !important;color:#0873b9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-close svg {width:21px !important;height:21px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-list {display:grid !important;gap:7px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-card {display:grid !important;grid-template-columns:41px minmax(0,1fr) 15px !important;gap:11px !important;align-items:center !important;width:100% !important;min-width:0 !important;min-height:62px !important;margin:0 !important;padding:11px 10px !important;border-radius:12px !important;text-align:left !important;white-space:normal !important;letter-spacing:0 !important;font-family:inherit !important;box-shadow:none !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type] {--notification-bg:#f5f8fc !important;--notification-border:#dae5ef !important;--notification-icon-bg:#e8f0f8 !important;--notification-accent:#5a7796 !important;background:linear-gradient(110deg,#fff,var(--notification-bg)) !important;border:1px solid var(--notification-border) !important;color:#102f61 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="success"] {--notification-bg:#effbf7 !important;--notification-border:#bdebe2 !important;--notification-icon-bg:#ddf6ef !important;--notification-accent:#00835d !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="media"] {--notification-bg:#f0f8ff !important;--notification-border:#cfe9ff !important;--notification-icon-bg:#e0f2ff !important;--notification-accent:#0878bb !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="worship"] {--notification-bg:#f7f3fe !important;--notification-border:#e4d6f5 !important;--notification-icon-bg:#eee4fc !important;--notification-accent:#8248bd !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="event"] {--notification-bg:#effbf9 !important;--notification-border:#c1e9e1 !important;--notification-icon-bg:#ddf5ef !important;--notification-accent:#0b8a7b !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="reminder"] {--notification-bg:#fffaee !important;--notification-border:#f0dfb6 !important;--notification-icon-bg:#fff1cf !important;--notification-accent:#ae7817 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="power"] {--notification-bg:#fff4f7 !important;--notification-border:#f1d1de !important;--notification-icon-bg:#ffe5ee !important;--notification-accent:#c42e5c !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card[data-notification-type="alert"] {--notification-bg:#fff4f4 !important;--notification-border:#f3d0d5 !important;--notification-icon-bg:#fde5e9 !important;--notification-accent:#bf3452 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-feature-icon {display:grid !important;place-items:center !important;width:41px !important;height:44px !important;border-radius:11px !important;flex-shrink:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-feature-icon {background:var(--notification-icon-bg) !important;color:var(--notification-accent) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-feature-icon svg {width:27px !important;height:27px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-card-copy {display:block !important;min-width:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-card b {display:block !important;margin:0 0 4px !important;font-size:15px !important;line-height:1.22 !important;font-weight:750 !important;text-transform:none !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card b {color:#102f61 !important;-webkit-text-fill-color:currentColor !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-pop-card .muted {display:block !important;font-size:12px !important;line-height:1.38 !important;font-weight:400 !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-card .muted {color:#5a7291 !important;-webkit-text-fill-color:currentColor !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-message {white-space:pre-line !important;overflow-wrap:anywhere !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-team-line {display:flex !important;align-items:flex-start !important;gap:6px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-team-icon {display:inline-flex !important;flex:0 0 18px !important;margin-top:1px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-team-icon {color:#a475df !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-team-icon svg {width:18px !important;height:18px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-card-chevron {display:grid !important;place-items:center !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-card-chevron {color:#0873b9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-card-chevron svg {width:17px !important;height:22px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-clear-all-btn {display:flex !important;align-items:center !important;justify-content:center !important;gap:10px !important;width:100% !important;min-height:43px !important;margin:9px 0 0 !important;padding:10px !important;border-radius:13px !important;font-size:13px !important;line-height:1.2 !important;font-weight:750 !important;letter-spacing:.045em !important;box-shadow:none !important;cursor:pointer !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-clear-all-btn {background:linear-gradient(115deg,#e8f5ff,#e1f2ff) !important;border:1px solid #acd5f3 !important;color:#0873b9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-clear-all-btn svg {width:20px !important;height:21px !important;color:inherit !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-detail-sheet .notif-pop-head h3 {font-size:18px !important;letter-spacing:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-detail-card {grid-template-columns:41px minmax(0,1fr) !important;align-items:start !important;cursor:default !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal .notif-detail-back {letter-spacing:0 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-empty {min-height:84px !important;border:1px dashed #cce0ef !important;border-radius:12px !important;background:#f5faff !important;color:#687f97 !important;font-size:13px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body #modal :is(.notif-pop-card,.notif-pop-close,.notif-clear-all-btn):focus-visible {outline:2px solid #1688cb !important;outline-offset:2px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body :is(#modal .notif-clear-confirm-sheet) {background:linear-gradient(145deg,#fff,#f4faff) !important;border-color:#d0e6f7 !important;color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-clear-confirm-icon {background:#e3f3ff !important;color:#0873b9 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-clear-confirm-sheet h3 {color:#102f61 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-clear-confirm-btn {background:#278fd6 !important;color:white !important;border:1px solid #278fd6 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-clear-cancel-btn {background:#eff8ff !important;color:#0873b9 !important;border:1px solid #c3def3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"]:root body:has(#modal :is(.notif-pop-modal,.notif-clear-confirm-modal)) #htnsChatHandle {visibility:hidden !important;pointer-events:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="dark"]:root body #modal .notif-pop-card[data-notification-type] {background:#102f50 !important;border:1px solid #315777 !important;color:#eef6fd !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="dark"]:root body #modal :is(.notif-feature-icon,.notif-card-chevron,.notif-team-icon) {color:#abd9ff !important;}

/* Replace legacy header surfaces and the generic button fill in this panel. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-sheet :is(.notif-pop-head,.notif-head-copy,.notif-head-copy h3,.notif-head-copy p) {background:transparent !important;border:0 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .notif-pop-sheet .notif-clear-all-btn {background:linear-gradient(115deg,#e8f5ff,#e1f2ff) !important;border:1px solid #acd5f3 !important;color:#0873b9 !important;}

/* r21: Song reading surfaces and controls share the reference palette in both viewing modes.
   Chart metrics remain user controlled; keep old installed shells on immutable assets. */
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) {--song-page:#f7fbff;--song-surface:#ffffff;--song-title:#102f61;--song-text:#24466b;--song-muted:#647e99;--song-border:#d4e4f3;--song-blue:#0672b8;--song-blue-bg:#eaf5ff;--song-purple:#7935bb;--song-purple-bg:#f1e9fc;--song-teal:#007568;--song-teal-bg:#e3f7f3;--song-chord:#0b86ce;background:var(--song-page) !important;color:var(--song-text) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer).stage-dark {--song-page:#0b2032;--song-surface:#122d43;--song-title:#f1f7ff;--song-text:#e1edf8;--song-muted:#aac1d5;--song-border:#2c4b65;--song-blue:#90d2ff;--song-blue-bg:#1b3c57;--song-purple:#d4b5ff;--song-purple-bg:#322f51;--song-teal:#83e0ce;--song-teal-bg:#163f46;--song-chord:#90d2ff;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-viewer-stage,.htns-songbook-viewer-stage-inner,.htns-songbook-chart,.htns-songbook-section-jumps) {background:var(--song-page) !important;color:var(--song-text) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-screen-head {background:var(--song-surface) !important;background-image:none !important;border-bottom:1px solid var(--song-border) !important;box-shadow:none !important;grid-template-columns:40px minmax(0,1fr) auto !important;gap:10px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-screen-title b {font-size:16px !important;font-weight:750 !important;line-height:1.3 !important;color:var(--song-title) !important;-webkit-text-fill-color:var(--song-title) !important;text-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-screen-title small {margin-top:3px !important;font-size:11px !important;line-height:1.25 !important;color:var(--song-muted) !important;-webkit-text-fill-color:var(--song-muted) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-queue-progress {height:3px !important;background:var(--song-blue-bg) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-queue-progress > span {background:var(--song-blue) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-line,.htns-songbook-lyrics-line,.htns-songbook-token,.htns-songbook-lyric) {color:var(--song-text) !important;-webkit-text-fill-color:var(--song-text) !important;text-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-chord,.htns-songbook-chord-line) {color:var(--song-chord) !important;-webkit-text-fill-color:var(--song-chord) !important;text-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-song-meta > span {min-height:26px !important;padding:4px 10px !important;border:1px solid var(--song-border) !important;border-radius:999px !important;background:var(--song-blue-bg) !important;color:var(--song-blue) !important;-webkit-text-fill-color:var(--song-blue) !important;font-size:11px !important;font-weight:700 !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-section-jumps {gap:7px !important;padding-top:8px !important;padding-bottom:8px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button) {--control-ink:var(--song-blue);--control-bg:var(--song-blue-bg);border:1px solid var(--song-border) !important;border-radius:12px !important;background:var(--control-bg) !important;background-image:none !important;color:var(--control-ink) !important;-webkit-text-fill-color:currentColor !important;transition:none !important;box-shadow:none !important;text-shadow:none !important;filter:none !important;font-weight:700 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button) :is(svg,span,b) {color:inherit !important;-webkit-text-fill-color:currentColor !important;transition:none !important;text-shadow:none !important;filter:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button)::before {content:none !important;box-shadow:none !important;background:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button)::after {content:none !important;box-shadow:none !important;background:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action) {width:40px !important;height:40px !important;min-width:40px !important;min-height:40px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-section-jumps button {--control-ink:var(--song-purple);--control-bg:var(--song-purple-bg);min-height:36px !important;padding:7px 12px !important;font-size:12px !important;line-height:1.2 !important;white-space:nowrap !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-viewer-controls {border-top:1px solid var(--song-border) !important;background:var(--song-surface) !important;background-image:none !important;box-shadow:0 -3px 16px rgba(16,47,97,.05) !important;backdrop-filter:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-next-preview {color:var(--song-muted) !important;-webkit-text-fill-color:var(--song-muted) !important;font-size:10px !important;line-height:1.3 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-control-row {gap:4px !important;padding:2px 1px 3px !important;scroll-padding-inline:4px;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-live-btn {height:44px !important;min-height:44px !important;min-width:44px !important;padding:5px 5px !important;gap:3px !important;flex:0 0 auto !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-live-btn span {font-size:8px !important;line-height:1.1 !important;letter-spacing:.025em !important;font-weight:750 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-live-btn svg {width:18px !important;height:18px !important;stroke-width:2 !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-live-btn > b {font-size:15px !important;line-height:18px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(#htnsSongbookLyricsBtn,#htnsSongbookStageBtn,#htnsSongbookDrawBtn) {--control-ink:var(--song-purple);--control-bg:var(--song-purple-bg);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(#htnsSongbookScrollBtn,#htnsSongbookPadBtn) {--control-ink:var(--song-teal);--control-bg:var(--song-teal-bg);}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-live-btn:is(.on,[aria-pressed="true"]) {border-color:var(--control-ink) !important;box-shadow:inset 0 -3px 0 var(--control-ink) !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-key-stepper {height:44px !important;grid-template-columns:30px minmax(24px,auto) 30px !important;gap:0 !important;border:1px solid var(--song-border) !important;border-radius:12px !important;background:var(--song-blue-bg) !important;overflow:hidden !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-key-stepper button {width:30px !important;height:42px !important;min-width:30px !important;min-height:42px !important;padding:0 !important;border:0 !important;border-radius:0 !important;font-size:23px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-key-stepper > b {min-width:24px !important;padding:0 3px !important;font-size:12px !important;color:var(--song-title) !important;-webkit-text-fill-color:var(--song-title) !important;background:transparent !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button):disabled {opacity:.38 !important;box-shadow:none !important;cursor:default !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-back,.htns-songbook-head-action,.htns-songbook-section-jumps button,.htns-songbook-live-btn,.htns-songbook-key-stepper button):focus-visible {outline:2px solid var(--song-blue) !important;outline-offset:-3px !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) :is(.htns-songbook-comment,.htns-songbook-shared-note,.htns-songbook-grid-chord) {background:var(--song-purple-bg) !important;border-color:var(--song-border) !important;color:var(--song-purple) !important;-webkit-text-fill-color:var(--song-purple) !important;box-shadow:none !important;}
html.htns-theme-v234[data-htns-visual="reference-system-r24"][data-theme="light"]:root body #modal .htns-songbook-sheet :is(#htnsSongbookViewer,.htns-songbook-viewer) .htns-songbook-section-title {scroll-margin-top:60px;}
