.zero-shell-root {
  --zero-ink: #2f2730;
  --zero-muted: #6b5963;
  --zero-line: rgba(116, 91, 78, .2);
  --zero-gold: #b98f42;
  --zero-green: #3f6d62;
  --zero-paper: rgba(255, 253, 248, .96);
  position: fixed;
  inset: auto max(22px, env(safe-area-inset-right)) max(118px, calc(env(safe-area-inset-bottom) + 118px)) auto;
  z-index: 2147482600;
  color: var(--zero-ink);
  font-family: inherit;
  pointer-events: none;
}

.zero-shell-root *,
.zero-shell-root *::before,
.zero-shell-root *::after {
  box-sizing: border-box;
}

.zero-shell-root * {
  min-width: 0;
}

.zero-institute-header {
  display: grid;
  grid-template-columns: auto minmax(0, .72fr) minmax(220px, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid rgba(185, 143, 66, .2);
  border-radius: 8px;
  padding: 14px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, .96), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 247, .96), rgba(250, 244, 232, .88));
  box-shadow: 0 14px 32px rgba(94, 69, 59, .08);
  color: #3a2d35;
}

.zero-institute-header__logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(94, 69, 59, .1);
  overflow: hidden;
}

.zero-institute-header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.zero-institute-header__identity {
  display: grid;
  gap: 3px;
}

.zero-institute-header__title {
  color: #342733;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: .95;
  letter-spacing: .13em;
  font-weight: 950;
}

.zero-institute-header__subtitle {
  color: #3f6d62;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
}

.zero-institute-header__institute {
  color: #6c5560;
  font-size: .84rem;
  font-weight: 780;
}

.zero-institute-header__ack {
  display: grid;
  gap: 7px;
  border-left: 1px solid rgba(185, 143, 66, .24);
  padding-left: 14px;
}

.zero-institute-header__ack-item {
  margin: 0;
  color: #5d4652;
  font-size: .88rem;
  line-height: 1.5;
}

.zero-institute-header--shell {
  grid-template-columns: auto minmax(0, .7fr) minmax(180px, 1fr);
  gap: 12px;
  padding: 10px 12px;
  box-shadow: none;
}

.zero-institute-header--shell .zero-institute-header__logo {
  width: 54px;
  height: 54px;
}

.zero-institute-header--shell .zero-institute-header__title {
  font-size: 1.45rem;
}

.zero-institute-header--shell .zero-institute-header__ack-item {
  font-size: .78rem;
  line-height: 1.42;
}

.zero-institute-header--page {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 1040px;
  margin: 18px auto;
  text-align: center;
}

.zero-institute-header--page .zero-institute-header__logo {
  margin-inline: auto;
}

.zero-institute-header--page .zero-institute-header__identity {
  justify-items: center;
}

.zero-institute-header--page .zero-institute-header__ack {
  max-width: 860px;
  border-left: 0;
  border-top: 1px solid rgba(185, 143, 66, .24);
  padding: 12px 0 0;
}

.zero-shell-tab,
.zero-shell-panel {
  pointer-events: auto;
}

.zero-shell-tab {
  min-width: 112px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(185, 143, 66, .68);
  border-radius: 999px;
  padding: 11px 22px;
  background: linear-gradient(180deg, rgba(255, 253, 248, .98), rgba(255, 244, 224, .94));
  color: var(--zero-ink);
  box-shadow: 0 18px 36px rgba(55, 42, 40, .18), 0 0 26px rgba(185, 143, 66, .22);
  cursor: pointer;
  font: inherit;
  font-weight: 920;
  letter-spacing: .08em;
  animation: zeroShellBreath 4.8s ease-in-out infinite;
  transform-origin: center;
  will-change: transform, box-shadow;
}

.zero-shell-tab:hover {
  border-color: rgba(185, 143, 66, .82);
  background: linear-gradient(180deg, #ffffff, #ffecc8);
  box-shadow: 0 20px 40px rgba(55, 42, 40, .2), 0 0 34px rgba(185, 143, 66, .3);
}

.zero-shell-login-hint {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(230px, calc(100vw - 24px));
  pointer-events: auto;
  border: 1px solid rgba(185, 143, 66, .48);
  border-radius: 8px;
  padding: 10px 38px 10px 12px;
  background: rgba(255, 253, 247, .98);
  box-shadow: 0 16px 38px rgba(55, 42, 40, .18);
  color: #3f543f;
}

.zero-shell-login-hint[hidden],
.zero-shell-root.is-open .zero-shell-login-hint {
  display: none;
}

.zero-shell-login-hint > button {
  position: absolute;
  top: 6px;
  right: 7px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: transparent;
  color: #765633;
  cursor: pointer;
  font: 700 1rem/1 inherit;
}

.zero-shell-login-hint > button:hover,
.zero-shell-login-hint > button:focus-visible {
  background: rgba(185, 143, 66, .12);
  outline: none;
}

.zero-shell-login-hint p {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: .76rem;
  line-height: 1.35;
}

.zero-shell-login-hint strong {
  color: #614325;
  font: 700 .82rem/1.25 Georgia, "Times New Roman", serif;
}

.zero-shell-tab:focus-visible {
  outline: 3px solid rgba(185, 143, 66, .34);
  outline-offset: 4px;
}

.zero-shell-panel {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  top: max(24px, env(safe-area-inset-top));
  bottom: max(24px, calc(env(safe-area-inset-bottom) + 24px));
  width: min(720px, calc(100vw - 48px));
  height: auto;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 10px;
  overflow: hidden;
  border: 1px solid var(--zero-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 16% 4%, rgba(255,255,255,.92), transparent 30%),
    linear-gradient(160deg, var(--zero-paper), rgba(246, 241, 231, .96));
  box-shadow: 0 28px 80px rgba(47, 39, 48, .24);
}

.zero-shell-root.is-open .zero-shell-panel {
  display: grid;
}

.zero-shell-root.is-open .zero-shell-tab {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.zero-shell-header {
  min-height: 52px;
  display: grid;
  gap: 10px;
  padding: 10px 14px 8px;
  border-bottom: 1px solid var(--zero-line);
}

.zero-shell-header-close-row {
  display: flex;
  justify-content: flex-end;
}

.zero-shell-auth-pass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(185, 143, 66, .3);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(255, 250, 239, .8);
  box-shadow: 0 6px 16px rgba(94, 69, 59, .06);
}

.zero-shell-auth-pass > div:first-child {
  display: grid;
  gap: 2px;
}

.zero-shell-auth-pass-title {
  color: #4e382a;
  font: 700 .8rem/1.2 Georgia, "Times New Roman", serif;
}

.zero-shell-auth-pass p {
  margin: 0;
  color: #4d6555;
  font-size: .68rem;
  line-height: 1.3;
}

.zero-shell-auth-pass-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.zero-shell-auth-pass-actions button {
  min-height: 30px;
  border: 1px solid rgba(185, 143, 66, .34);
  border-radius: 7px;
  padding: 6px 9px;
  background: #fffdf8;
  color: #68482d;
  cursor: pointer;
  font: 750 .68rem/1.1 inherit;
}

.zero-shell-auth-pass-actions button:hover,
.zero-shell-auth-pass-actions button:focus-visible {
  border-color: rgba(122, 82, 42, .56);
  background: #fff7e8;
  outline: none;
}

.zero-human-support-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zero-human-support-identity img {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 8px 18px rgba(94, 69, 59, .1);
}

.zero-human-support-identity div {
  display: grid;
  gap: 2px;
}

.zero-human-support-identity strong {
  color: #342733;
  font-size: 1.35rem;
  font-weight: 950;
  letter-spacing: .13em;
  line-height: 1;
}

.zero-human-support-identity span {
  color: #3f6d62;
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .04em;
}

.zero-human-support-acknowledgements {
  display: block;
  margin: 0;
  padding-top: 7px;
  border-top: 1px solid rgba(185, 143, 66, .23);
}

.zero-human-support-acknowledgements summary {
  color: #79522d;
  cursor: pointer;
  font-size: .76rem;
  font-weight: 800;
}

.zero-human-support-acknowledgements[open] summary { margin-bottom: 7px; }

.zero-human-support-acknowledgement {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 8px;
  border: 1px solid rgba(185, 143, 66, .15);
  border-radius: 10px;
  background: rgba(255, 253, 248, .72);
}

.zero-human-support-acknowledgement + .zero-human-support-acknowledgement { margin-top: 7px; }

.zero-human-support-avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1d293, #d8a552);
  color: #65431d;
  font-size: .73rem;
  font-weight: 950;
  letter-spacing: .04em;
}

.zero-human-support-acknowledgement h2 {
  margin: 0 0 3px;
  color: #45312b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .86rem;
  line-height: 1.25;
}

.zero-human-support-acknowledgements p {
  margin: 0;
  color: #5d4652;
  font-size: .76rem;
  line-height: 1.45;
}

.zero-personal-passage {
  margin: 0;
  border: 1px solid rgba(185, 143, 66, .22);
  border-radius: 12px;
  background: rgba(255, 253, 248, .74);
}

.zero-personal-passage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px;
  color: #4a342d;
  cursor: pointer;
  list-style: none;
}

.zero-personal-passage summary::-webkit-details-marker { display: none; }
.zero-personal-passage summary span { font: 700 .86rem/1.2 Georgia, "Times New Roman", serif; }
.zero-personal-passage summary small { color: #79522d; font-size: .7rem; font-weight: 800; text-align: right; }
.zero-personal-passage section { display: grid; gap: 10px; padding: 0 10px 10px; border-top: 1px solid rgba(185, 143, 66, .16); }
.zero-personal-passage section > p { margin: 9px 0 0; color: #765c4d; font-size: .72rem; font-weight: 800; }
.zero-personal-choice { display: grid; gap: 6px; }
.zero-personal-choice strong { color: #5d4652; font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.zero-personal-choice > div { display: flex; flex-wrap: wrap; gap: 5px; }
.zero-personal-choice button { min-height: 28px; padding: 5px 8px; border: 1px solid rgba(185, 143, 66, .22); border-radius: 999px; color: #6a4b35; background: #fffdf8; font: 700 .7rem/1 var(--zero-sans); cursor: pointer; }
.zero-personal-choice button.is-active { color: #fffaf4; border-color: #7b2926; background: linear-gradient(135deg, #8c2e2a, #6a1e1d); }

.zero-shell-icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--zero-line);
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  color: var(--zero-ink);
  cursor: pointer;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
}

.zero-shell-thread,
.zero-shell-paths,
.zero-shell-composer,
.zero-shell-status {
  margin-inline: 14px;
}

.zero-shell-audio {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 38px;
  border: 1px solid rgba(185, 143, 66, .22);
  border-radius: 8px;
  padding: 6px 8px;
  background: linear-gradient(135deg, rgba(255, 252, 245, .96), rgba(253, 244, 225, .9));
  box-shadow: 0 10px 24px rgba(116, 91, 78, .08);
}

.zero-shell-audio-copy {
  display: grid;
  gap: 2px;
  margin-right: auto;
}

.zero-shell-audio-copy strong {
  color: #4a3a2a;
  font-size: .88rem;
}

.zero-shell-audio-copy span,
.zero-shell-audio-status {
  color: var(--zero-muted);
  font-size: .74rem;
  line-height: 1.3;
}

.zero-shell-audio-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.zero-shell-audio-status {
  flex-basis: 100%;
}

.zero-shell-audio-float {
  position: absolute;
  right: calc(100% + 12px);
  bottom: 0;
  width: min(210px, calc(100vw - 170px));
  pointer-events: auto;
}

.zero-shell-root.is-open .zero-shell-audio-float {
  position: fixed;
  right: 760px;
  bottom: max(34px, calc(env(safe-area-inset-bottom) + 34px));
}

.zero-shell-audio button,
.zero-shell-quick button,
.zero-shell-composer button {
  border: 1px solid rgba(63, 109, 98, .28);
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  color: var(--zero-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.zero-shell-audio button {
  min-height: 34px;
  padding: 7px 10px;
}

.zero-budika-button {
  min-height: 38px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  border-color: rgba(185, 143, 66, .34) !important;
  border-radius: 999px !important;
  padding: 6px 12px 6px 8px !important;
  background: linear-gradient(180deg, #fffdf7, #fff3dd) !important;
  color: #4a3a2a !important;
  box-shadow: 0 8px 18px rgba(185, 143, 66, .16);
  font-weight: 900;
}

.zero-budika-button:hover {
  border-color: rgba(185, 143, 66, .52) !important;
  background: linear-gradient(180deg, #ffffff, #ffecc8) !important;
  transform: translateY(-1px);
}

.zero-budika-button:focus-visible {
  outline: 3px solid rgba(185, 143, 66, .32);
  outline-offset: 2px;
}

.zero-budika-button img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  display: block;
}

.zero-budika-button span {
  overflow-wrap: anywhere;
}

.zero-budika-button.is-playing {
  background: linear-gradient(180deg, #fffaf1, #ffe7c2) !important;
}

.zero-budika-button:disabled {
  cursor: default;
  opacity: .46;
  transform: none;
}

.zero-shell-audio span {
  min-width: 0;
  color: var(--zero-muted);
  font-size: .8rem;
  line-height: 1.35;
}

.zero-shell-thread {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  display: grid;
  align-content: start;
  gap: 18px;
  border: 1px solid rgba(116, 91, 78, .16);
  border-radius: 8px;
  padding: clamp(16px, 2vw, 22px);
  background:
    radial-gradient(circle at 8% 0%, rgba(255,255,255,.96), transparent 28%),
    rgba(255, 254, 251, .96);
  scrollbar-color: rgba(116, 91, 78, .34) transparent;
}

.zero-shell-message {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.zero-shell-message-body {
  max-width: min(92%, 620px);
  min-width: 0;
  border: 1px solid var(--zero-line);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(55, 42, 40, .08);
}

.zero-shell-message-body p {
  margin: 0 0 .75em;
  color: #3d303b;
  font-size: clamp(1.02rem, 1.05vw, 1.12rem);
  line-height: 1.74;
  overflow-wrap: anywhere;
  word-break: normal;
}

.zero-shell-message-body span {
  overflow-wrap: anywhere;
}

.zero-shell-message-body p:last-child {
  margin-bottom: 0;
}

.zero-shell-message-body h3 {
  margin: 0 0 .55em;
  color: #5b2927;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.04rem;
  line-height: 1.3;
}

.zero-shell-message-body ol,
.zero-shell-message-body ul {
  margin: .15em 0 .3em;
  padding-left: 1.25rem;
}

.zero-shell-message-body li { margin: .34em 0; }

.zero-shell-message.is-user {
  justify-items: end;
}

.zero-shell-message.is-user .zero-shell-message-body {
  background: rgba(63, 109, 98, .1);
  border-color: rgba(63, 109, 98, .2);
}

.zero-shell-message.is-user .zero-shell-message-body p {
  color: #3f514c;
  font-size: 1rem;
}

.zero-shell-message.is-zero {
  justify-items: start;
}

.zero-shell-message.is-zero .zero-shell-message-body {
  max-width: 100%;
  background: rgba(255, 255, 255, .88);
  border-color: rgba(185, 143, 66, .18);
}

.zero-shell-message.is-typing .zero-shell-message-body::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 1.15em;
  margin-left: 3px;
  border-radius: 999px;
  background: rgba(185, 143, 66, .5);
  vertical-align: -2px;
  animation: zeroTextBreath 1.1s ease-in-out infinite;
}

.zero-shell-resources {
  max-width: 100%;
  display: grid;
  gap: 5px;
  color: #60481f;
  font-size: .72rem;
}

.zero-shell-resources div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
}

.zero-shell-resources a,
.zero-shell-quick button {
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(185, 143, 66, .26);
  border-radius: 8px;
  padding: 5px 7px;
  background: rgba(255, 250, 238, .88);
  color: #60481f;
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.12;
  text-decoration: none;
  overflow-wrap: anywhere;
  text-align: center;
}

.zero-shell-quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 0;
}

.zero-shell-quick button {
  min-width: 0;
  min-height: 32px;
  padding-inline: 6px;
  font-size: .7rem;
}

.zero-shell-paths {
  display: grid;
  gap: 0;
  border: 1px solid rgba(185, 143, 66, .18);
  border-radius: 8px;
  padding: 7px 8px;
  background: rgba(255, 250, 238, .72);
  max-height: 92px;
  overflow-y: auto;
}

.zero-shell-paths-head {
  display: none;
}

.zero-shell-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, auto);
  gap: 10px;
  align-items: end;
  border-top: 1px solid rgba(116, 91, 78, .14);
  padding-top: 12px;
  padding-bottom: 14px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, .96), rgba(255, 250, 241, .96));
}

.zero-shell-composer textarea {
  width: 100%;
  min-height: 68px;
  max-height: 180px;
  resize: none;
  border: 2px solid rgba(63, 109, 98, .42);
  border-radius: 8px;
  padding: 14px 15px;
  background: rgba(255,255,255,.98);
  color: var(--zero-ink);
  font: inherit;
  font-size: 1.08rem;
  line-height: 1.48;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(63, 109, 98, .08);
}

.zero-shell-composer textarea:focus {
  outline: 3px solid rgba(63, 109, 98, .18);
  border-color: rgba(63, 109, 98, .68);
}

.zero-shell-composer button {
  min-height: 68px;
  padding: 0 18px;
  background: var(--zero-green);
  color: #fff;
  font-size: 1.04rem;
}

.zero-shell-status {
  display: none;
}

.zero-shell-status:not(:empty) {
  display: block;
  min-height: 1.15rem;
  margin-top: -6px;
  padding-bottom: 8px;
  color: var(--zero-muted);
  font-size: .78rem;
}

@keyframes zeroShellBreath {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 18px 36px rgba(55, 42, 40, .18), 0 0 24px rgba(185, 143, 66, .2);
  }
  50% {
    transform: translateY(-2px) scale(1.035);
    box-shadow: 0 22px 42px rgba(55, 42, 40, .2), 0 0 38px rgba(185, 143, 66, .34);
  }
}

@keyframes zeroTextBreath {
  0%, 100% {
    opacity: .32;
    transform: scaleY(.82);
  }
  50% {
    opacity: .86;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zero-shell-tab,
  .zero-shell-message.is-typing .zero-shell-message-body::after {
    animation: none;
  }
}

@media (max-width: 700px) {
  .zero-shell-root {
    inset: auto 12px max(92px, calc(env(safe-area-inset-bottom) + 92px)) auto;
  }

  .zero-shell-panel {
    position: fixed;
    inset: auto 0 0;
    width: 100vw;
    height: min(88vh, 100dvh);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(185, 143, 66, .24);
    border-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .zero-institute-header,
  .zero-institute-header--shell {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
    padding: 12px;
  }

  .zero-institute-header__logo {
    width: 62px;
    height: 62px;
  }

  .zero-institute-header--shell .zero-institute-header__logo {
    width: 50px;
    height: 50px;
  }

  .zero-institute-header__ack {
    border-left: 0;
    border-top: 1px solid rgba(185, 143, 66, .2);
    padding: 9px 0 0;
  }

  .zero-institute-header__ack-item {
    font-size: .82rem;
  }

  .zero-institute-header--page {
    justify-items: center;
    text-align: center;
  }

  .zero-institute-header--page .zero-institute-header__identity {
    justify-items: center;
  }

  .zero-shell-audio-float,
  .zero-shell-root.is-open .zero-shell-audio-float {
    right: 0;
    bottom: calc(100% + 10px);
    width: min(220px, calc(100vw - 24px));
  }

  .zero-shell-thread {
    min-height: 0;
  }

  .zero-shell-message-body {
    max-width: 96%;
  }

  .zero-shell-composer {
    grid-template-columns: minmax(0, 1fr);
  }

  .zero-shell-quick {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .zero-shell-quick button {
    min-height: 30px;
    font-size: .68rem;
  }

  .zero-shell-composer button {
    min-height: 52px;
  }
}

.zero-shell-core-cards {
  display: grid;
  gap: 8px;
  margin: 9px 0 0;
}

.zero-shell-core-card {
  padding: 10px 11px;
  border: 1px solid rgba(181, 128, 50, .24);
  border-radius: 12px 12px 20px 12px;
  background: rgba(255, 249, 233, .76);
  color: #5e3a27;
}

.zero-shell-core-card strong { color: #852f35; }
.zero-shell-core-card p { margin: 5px 0 0; }
.zero-shell-core-card a { display: inline-block; margin-top: 7px; color: #8a5520; font-weight: 700; }

.zero-shell-core-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 10px 0 0;
}

.zero-shell-core-actions button {
  border: 1px solid rgba(166, 91, 40, .33);
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff7e9;
  color: #7b3131;
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  .zero-shell-root.is-open .zero-shell-audio-float {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  }
}

@media (max-width: 700px) {
  .zero-shell-root.is-open .zero-shell-audio-float {
    top: 72px;
    right: 12px;
    bottom: auto;
    width: min(200px, calc(100vw - 24px));
  }
}

/* Single compact ZERO dock. The personal passage lives inside this shell. */
.zero-shell-root {
  inset: auto max(16px, env(safe-area-inset-right)) max(16px, calc(env(safe-area-inset-bottom) + 12px)) auto;
}
.zero-shell-tab.zero-launcher {
  min-width: 92px;
  min-height: 48px;
  gap: 7px;
  padding: 8px 12px 8px 10px;
  letter-spacing: .04em;
}
.zero-dock-infinity { color: var(--zero-gold); font: 700 2rem/.8 Georgia, "Times New Roman", serif; }
.zero-dock-label { font-size: .78rem; }
.zero-status-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  display: inline-block;
  border-radius: 50%;
  background: #c7564f;
  box-shadow: 0 0 0 3px rgba(199, 86, 79, .12);
}
.zero-status-dot.is-recognized { background: #53a66b; box-shadow: 0 0 0 3px rgba(83, 166, 107, .13); }
.zero-status-dot.is-active { background: #c99a42; box-shadow: 0 0 0 3px rgba(201, 154, 66, .15), 0 0 14px rgba(201, 154, 66, .38); }
.zero-status-dot.is-error { background: #db964f; box-shadow: 0 0 0 3px rgba(219, 150, 79, .14); }
.zero-status-dot.is-guest { animation: zeroGuestPulse 2.6s ease-in-out infinite; }
.zero-human-support-identity { align-items: flex-start; }
.zero-human-support-identity strong { max-width: 34ch; font: 700 clamp(1rem, 2vw, 1.22rem)/1.18 Georgia, "Times New Roman", serif; letter-spacing: 0; }
.zero-human-support-identity > div > span { display: block; margin-top: 3px; }
.zero-human-support-status { display: inline-flex; align-items: center; gap: 7px; margin: 7px 0 0; color: var(--zero-muted); font-size: .73rem; font-weight: 750; }
.zero-personal-passage { display: grid; gap: 0; overflow: hidden; }
.zero-personal-passage-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 10px; border-bottom: 1px solid rgba(185, 143, 66, .16); }
.zero-personal-passage-head > strong { color: #4a342d; font: 700 .88rem/1.2 Georgia, "Times New Roman", serif; }
.zero-personal-passage-head button { display: inline-flex; align-items: center; gap: 6px; min-height: 27px; border: 0; border-radius: 999px; padding: 5px 8px; color: #74502d; background: rgba(249, 238, 213, .78); font: 700 .7rem/1 inherit; cursor: pointer; }
.zero-personal-passage-head button b { color: #7c2e2a; }
.zero-personal-row { width: 100%; min-height: 38px; display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid rgba(185, 143, 66, .13); padding: 8px 10px; color: #5d4652; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.zero-personal-row span { font-size: .74rem; }
.zero-personal-row strong { color: #74502d; font-size: .76rem; }
.zero-personal-row b { color: #9b7445; font-size: 1.15rem; line-height: 1; }
.zero-personal-options { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px 10px; border-bottom: 1px solid rgba(185, 143, 66, .13); background: rgba(255, 250, 241, .72); }
.zero-personal-options button { min-height: 28px; border: 1px solid rgba(185, 143, 66, .22); border-radius: 999px; padding: 5px 8px; color: #6a4b35; background: #fffdf8; font: 700 .7rem/1 var(--zero-sans, inherit); cursor: pointer; }
.zero-personal-options button.is-active { color: #fffaf4; border-color: #7b2926; background: linear-gradient(135deg, #8c2e2a, #6a1e1d); }
.zero-personal-practice { display: block; padding: 9px 10px; color: #7b3131; font-size: .74rem; font-weight: 800; text-decoration: none; }
.zero-personal-practice:hover, .zero-personal-practice:focus-visible { color: #4f6c55; text-decoration: underline; }
html.zero-lms-reader-open .zero-shell-root:not(.is-open) { opacity: 0; visibility: hidden; pointer-events: none; }

@keyframes zeroGuestPulse {
  0%, 100% { opacity: .68; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 700px) {
  .zero-shell-root { inset: auto max(12px, env(safe-area-inset-right)) max(12px, calc(env(safe-area-inset-bottom) + 8px)) auto; }
  .zero-shell-tab.zero-launcher { min-width: 80px; min-height: 44px; padding-inline: 9px; }
  .zero-shell-login-hint {
    right: 0;
    bottom: calc(100% + 8px);
    width: min(220px, calc(100vw - 24px));
  }
  .zero-dock-infinity { font-size: 1.72rem; }
  .zero-dock-label { font-size: .72rem; }
  .zero-human-support-identity img { width: 40px; height: 40px; flex-basis: 40px; }
  .zero-human-support-identity strong { font-size: 1.02rem; }
}

/* Open acknowledgements, a collapsible personal passage, and a compact Budika control. */
.zero-human-support-meta { display: grid; gap: 8px; }
.zero-human-support-acknowledgements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; padding-top: 7px; border-top: 1px solid rgba(185, 143, 66, .23); }
.zero-human-support-acknowledgements summary { display: none; }
.zero-human-support-acknowledgement { grid-template-columns: 30px minmax(0, 1fr); gap: 7px; padding: 7px; }
.zero-human-support-avatar { width: 29px; height: 29px; font-size: .58rem; }
.zero-human-support-acknowledgement h2 { font-size: .73rem; }
.zero-human-support-acknowledgements p { font-size: .64rem; line-height: 1.36; }
.zero-personal-passage { display: block; }
.zero-personal-passage summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; color: #4a342d; cursor: pointer; list-style: none; }
.zero-personal-passage summary::-webkit-details-marker { display: none; }
.zero-personal-passage summary span { font: 700 .86rem/1.2 Georgia, "Times New Roman", serif; }
.zero-personal-passage summary small { color: #79522d; font-size: .7rem; font-weight: 800; text-align: right; }
.zero-personal-passage-body { display: grid; overflow: hidden; border-top: 1px solid rgba(185, 143, 66, .16); }
.zero-personal-passage:not([open]) .zero-personal-passage-body { display: none; }
.zero-shell-audio { justify-content: center; min-height: 86px; padding: 5px; border: 0; background: transparent; box-shadow: none; }
.zero-budika-orbit { position: relative; width: 82px; height: 82px; display: grid; place-items: center; border: 1px solid rgba(185, 143, 66, .38); border-radius: 50%; padding: 0; color: #74502d; background: radial-gradient(circle, #fffdf8 0 50%, rgba(255, 244, 224, .74) 51% 100%); box-shadow: 0 8px 18px rgba(94, 69, 59, .1); cursor: pointer; }
.zero-budika-orbit:hover, .zero-budika-orbit:focus-visible { border-color: rgba(139, 83, 38, .68); box-shadow: 0 10px 22px rgba(94, 69, 59, .16); outline: none; }
.zero-budika-orbit-core { position: relative; width: 47px; height: 47px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #fffdf8; }
.zero-budika-orbit-core img { width: 41px; height: 41px; object-fit: contain; }
.zero-budika-orbit-core [data-zero-budika-position] { position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%); min-width: max-content; color: #674831; font: 800 .54rem/1 Arial, sans-serif; text-shadow: 0 1px 0 rgba(255,255,255,.9); }
.zero-budika-orbit-word { position: absolute; left: 50%; z-index: 1; transform: translateX(-50%); color: #73502c; font: 800 .63rem/1 Georgia, "Times New Roman", serif; letter-spacing: .08em; }
.zero-budika-orbit-word.is-top { top: 7px; }
.zero-budika-orbit-word.is-bottom { bottom: 7px; }
.zero-budika-orbit.is-playing { background: radial-gradient(circle, #fffdf8 0 50%, rgba(255, 234, 205, .88) 51% 100%); }
.zero-shell-header { max-height: none; overflow: visible; padding-bottom: 6px; }
.zero-shell-thread { min-height: min(46vh, 420px); }

/* Budika belongs to the ZERO identity row.  Keeping it there makes the
   single play/stop control available immediately, above the acknowledgements. */
.zero-human-support-identity > div { min-width: 0; }
.zero-human-support-identity .zero-shell-audio--header {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.zero-human-support-identity .zero-budika-orbit { width: 66px; height: 66px; }
.zero-human-support-identity .zero-budika-orbit-core { width: 40px; height: 40px; }
.zero-human-support-identity .zero-budika-orbit-core img { width: 35px; height: 35px; }

@media (max-width: 700px) {
  .zero-shell-panel { height: min(94vh, 100dvh); }

  /* The close control must not consume a separate header row on a phone.
     That row hid the personal passage and Budika below the acknowledgements. */
  .zero-shell-header {
    position: relative;
    max-height: none;
    overflow: visible;
    gap: 6px;
    padding: 9px 10px 7px;
  }
  .zero-shell-auth-pass {
    gap: 7px;
    padding: 6px 8px;
  }
  .zero-shell-auth-pass-title { font-size: .75rem; }
  .zero-shell-auth-pass p { font-size: .63rem; }
  .zero-shell-auth-pass-actions { gap: 4px; }
  .zero-shell-auth-pass-actions button { min-height: 28px; padding: 5px 7px; font-size: .64rem; }
  .zero-shell-header-close-row {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 10px;
  }
  .zero-shell-close { width: 34px; height: 34px; }
  .zero-human-support-identity { min-height: 42px; padding-right: 40px; gap: 8px; }
  .zero-human-support-identity img { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
  .zero-human-support-identity strong { font-size: .98rem; }
  .zero-human-support-identity span { font-size: .69rem; }
  .zero-human-support-status { margin-top: 3px; font-size: .64rem; }

  .zero-human-support-identity .zero-shell-audio--header { margin-left: auto; }
  .zero-human-support-identity .zero-budika-orbit { width: 58px; height: 58px; }
  .zero-human-support-identity .zero-budika-orbit-core { width: 35px; height: 35px; }
  .zero-human-support-identity .zero-budika-orbit-core img { width: 30px; height: 30px; }

  .zero-shell-thread { min-height: 0; padding: 14px; gap: 12px; }
  .zero-human-support-acknowledgements { gap: 5px; }
  .zero-human-support-acknowledgement { grid-template-columns: 25px minmax(0, 1fr); padding: 6px; }
  .zero-human-support-avatar { width: 24px; height: 24px; font-size: .5rem; }
  .zero-human-support-acknowledgement h2 { font-size: .67rem; }
  .zero-human-support-acknowledgements p { font-size: .58rem; line-height: 1.3; }
  .zero-personal-passage summary { min-height: 34px; padding: 7px 9px; }
  .zero-shell-audio { min-height: 64px; padding: 2px; }
  .zero-budika-orbit { width: 62px; height: 62px; }
  .zero-budika-orbit-core { width: 37px; height: 37px; }
  .zero-budika-orbit-core img { width: 32px; height: 32px; }
  .zero-budika-orbit-word { font-size: .52rem; }
  .zero-budika-orbit-word.is-top { top: 5px; }
  .zero-budika-orbit-word.is-bottom { bottom: 5px; }
  .zero-budika-orbit-core [data-zero-budika-position] { bottom: 2px; font-size: .46rem; }
}

/* ZERO Human Support v24: compact shell, one menu, one resource renderer. */
.zero-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html.zero-shell-dialog-open {
  overflow: hidden;
}

.zero-shell-panel {
  width: min(860px, calc(100vw - 36px));
  top: max(18px, env(safe-area-inset-top));
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
}

.zero-shell-header {
  position: relative;
  gap: 6px;
  padding: 8px 12px 7px;
}

.zero-shell-header-close-row {
  position: absolute;
  z-index: 30;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.zero-shell-icon-button,
.zero-shell-menu-toggle {
  min-height: 40px;
  border: 1px solid rgba(116, 91, 78, .23);
  background: rgba(255, 253, 248, .96);
  color: #4f3934;
  box-shadow: 0 5px 14px rgba(55, 42, 40, .08);
}

.zero-shell-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 11px;
  font: 800 .75rem/1 inherit;
  cursor: pointer;
}

.zero-shell-menu-toggle > span:first-child {
  font-size: 1rem;
}

.zero-shell-menu-toggle:focus-visible,
.zero-shell-icon-button:focus-visible,
.zero-shell-floating-menu button:focus-visible,
.zero-shell-resource-box:focus-visible {
  outline: 3px solid rgba(63, 109, 98, .23);
  outline-offset: 2px;
}

.zero-shell-menu-wrap {
  position: relative;
}

.zero-shell-floating-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 7px);
  right: 0;
  width: min(350px, calc(100vw - 28px));
  max-height: min(72dvh, 610px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(116, 91, 78, .25);
  border-radius: 14px;
  padding: 8px;
  background: rgba(255, 253, 248, .99);
  box-shadow: 0 24px 60px rgba(47, 39, 48, .24);
}

.zero-shell-floating-menu[hidden] {
  display: none !important;
}

.zero-shell-floating-menu > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 6px 9px;
  border-bottom: 1px solid rgba(116, 91, 78, .14);
}

.zero-shell-floating-menu > header strong {
  font: 700 .95rem/1.2 Georgia, "Times New Roman", serif;
}

.zero-shell-floating-menu > header small {
  color: #79522d;
  font-size: .66rem;
  font-weight: 800;
  text-align: right;
}

.zero-shell-menu-actions {
  display: grid;
  gap: 4px;
  padding-top: 6px;
}

.zero-shell-menu-actions > button {
  width: 100%;
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  padding: 9px 10px;
  color: #4f3934;
  background: transparent;
  font: 750 .82rem/1.25 inherit;
  text-align: left;
  cursor: pointer;
}

.zero-shell-menu-actions > button:hover {
  background: rgba(249, 238, 213, .72);
}

.zero-shell-menu-actions > button small {
  color: #79522d;
  font-size: .66rem;
  font-weight: 800;
  text-align: right;
}

.zero-shell-menu-actions > .zero-shell-menu-close {
  justify-content: center;
  margin-top: 3px;
  border-top: 1px solid rgba(116, 91, 78, .14);
  color: #7b3131;
}

.zero-shell-menu-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(185, 143, 66, .17);
  border-radius: 10px;
  background: rgba(255, 250, 241, .76);
}

.zero-shell-menu-options.is-domain-list {
  max-height: 205px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.zero-shell-menu-options button {
  min-height: 42px;
  border: 1px solid rgba(185, 143, 66, .24);
  border-radius: 8px;
  padding: 7px 8px;
  color: #654a37;
  background: #fffdf8;
  font: 750 .74rem/1.2 inherit;
  cursor: pointer;
}

.zero-shell-menu-options button.is-active {
  border-color: #7b2926;
  color: #fffaf4;
  background: linear-gradient(135deg, #8c2e2a, #6a1e1d);
}

.zero-human-support-identity {
  min-height: 76px;
  padding-right: 144px;
  align-items: center;
  gap: 9px;
}

.zero-human-support-identity > img {
  width: 38px;
  height: 38px;
  flex-basis: 38px;
  border-radius: 10px;
}

.zero-human-support-identity strong {
  font-size: clamp(.95rem, 1.8vw, 1.12rem);
}

.zero-human-support-identity > div > span {
  margin-top: 1px;
  font-size: .7rem;
}

.zero-human-support-status {
  margin-top: 3px;
  font-size: .65rem;
}

.zero-human-support-identity .zero-budika-orbit,
.zero-human-support-identity .zero-shell-audio--header .zero-budika-orbit {
  width: 76px;
  height: 76px;
}

.zero-human-support-identity .zero-budika-orbit-core {
  width: 46px;
  height: 46px;
}

.zero-human-support-identity .zero-budika-orbit-core img {
  width: 41px;
  height: 41px;
}

.zero-human-support-acknowledgements {
  min-height: 36px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 27px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 7px;
  border: 1px solid rgba(185, 143, 66, .18);
  border-radius: 9px;
  background: rgba(255, 250, 241, .68);
}

.zero-human-support-acknowledgements .zero-human-support-avatar {
  width: 25px;
  height: 25px;
  font-size: .52rem;
}

.zero-human-support-acknowledgements p {
  display: grid;
  gap: 1px;
  margin: 0;
  font-size: .62rem;
  line-height: 1.22;
}

.zero-human-support-acknowledgements p strong {
  color: #4b352e;
  font-size: .67rem;
}

.zero-human-support-acknowledgements p span {
  color: #715c61;
}

.zero-shell-thread {
  min-height: 0;
  margin: 10px 12px;
  padding: clamp(12px, 1.7vw, 18px);
  gap: 14px;
}

.zero-shell-resource-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-top: 2px;
}

.zero-shell-resource-box {
  min-width: 0;
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid rgba(181, 128, 50, .26);
  border-radius: 11px;
  padding: 9px 10px;
  color: #5e3a27;
  background: linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(255, 247, 229, .9));
  box-shadow: 0 6px 14px rgba(82, 51, 33, .06);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.zero-shell-resource-box:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 83, 38, .56);
  box-shadow: 0 9px 18px rgba(82, 51, 33, .11);
}

.zero-shell-resource-box small {
  color: #4f6c55;
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.zero-shell-resource-box strong {
  color: #74332f;
  font-size: .78rem;
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.zero-shell-resource-box > span {
  display: -webkit-box;
  overflow: hidden;
  color: #6c5960;
  font-size: .64rem;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zero-shell-composer {
  grid-template-columns: minmax(0, 1fr) minmax(88px, auto);
  gap: 8px;
  margin-inline: 12px;
  padding: 9px 0 max(10px, env(safe-area-inset-bottom));
}

.zero-shell-composer textarea {
  min-height: 52px;
  padding: 11px 12px;
  font-size: 1rem;
}

.zero-shell-composer button {
  min-height: 52px;
  padding-inline: 14px;
  font-size: .95rem;
}

.zero-shell-status:not(:empty) {
  margin: 0 12px;
  padding-bottom: 7px;
}

.kng-dashboard-zero-rail .zero-shell-header-close-row {
  display: flex;
}

.kng-dashboard-zero-rail .zero-shell-header-close-row [data-zero-shell-close] {
  display: none;
}

@media (max-width: 760px) {
  .zero-shell-panel {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
  }

  .zero-shell-header {
    padding: max(7px, env(safe-area-inset-top)) 9px 6px;
  }

  .zero-shell-header-close-row {
    top: max(7px, env(safe-area-inset-top));
    right: 7px;
  }

  .zero-shell-menu-toggle {
    min-height: 38px;
    padding-inline: 9px;
  }

  .zero-shell-icon-button {
    width: 38px;
    height: 38px;
  }

  .zero-human-support-identity {
    min-height: 70px;
    padding-right: 130px;
    gap: 7px;
  }

  .zero-human-support-identity > img {
    width: 33px;
    height: 33px;
    flex-basis: 33px;
  }

  .zero-human-support-identity strong {
    font-size: .94rem;
  }

  .zero-human-support-identity .zero-budika-orbit,
  .zero-human-support-identity .zero-shell-audio--header .zero-budika-orbit {
    width: 70px;
    height: 70px;
  }

  .zero-human-support-identity .zero-budika-orbit-core {
    width: 43px;
    height: 43px;
  }

  .zero-human-support-identity .zero-budika-orbit-core img {
    width: 38px;
    height: 38px;
  }

  .zero-human-support-acknowledgements {
    grid-template-columns: 24px minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 4px;
    padding: 4px 5px;
  }

  .zero-human-support-acknowledgements .zero-human-support-avatar {
    width: 22px;
    height: 22px;
  }

  .zero-human-support-acknowledgements p span {
    display: none;
  }

  .zero-shell-thread {
    margin: 7px 8px;
    padding: 11px;
    gap: 11px;
  }

  .zero-shell-message-body {
    padding: 11px 12px;
  }

  .zero-shell-message-body p {
    font-size: .96rem;
    line-height: 1.57;
  }

  .zero-shell-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .zero-shell-resource-box {
    min-height: 60px;
    padding: 8px;
  }

  .zero-shell-composer {
    margin-inline: 8px;
    padding-top: 7px;
  }
}

@media (max-width: 430px) {
  .zero-shell-resource-grid {
    grid-template-columns: 1fr;
  }

  .zero-human-support-identity > img {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zero-shell-resource-box {
    transition: none;
  }
}

/* v25 ZERO Human Support repair: faithful gratitude, usable player and stable menus. */
.zero-shell-header {
  z-index: 20;
  isolation: isolate;
}

.zero-shell-header-close-row {
  z-index: 120;
}

.zero-shell-floating-menu {
  right: -44px;
  z-index: 200;
  width: min(350px, calc(100vw - 16px));
  max-height: min(72dvh, 610px);
}

.zero-shell-menu-options.is-language-list,
.zero-shell-menu-options.is-domain-list {
  max-height: 210px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.zero-shell-menu-options button {
  min-height: 44px;
}

.zero-human-support-meta {
  gap: 5px;
}

.zero-human-support-identity {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px minmax(160px, 1fr) minmax(210px, .82fr);
  align-items: center;
  gap: 8px;
  padding-right: 116px;
}

.zero-human-support-identity > img {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 9px;
}

.zero-human-support-copy {
  display: grid;
  gap: 1px;
}

.zero-human-support-copy > strong {
  max-width: 30ch;
  font-size: clamp(.92rem, 1.5vw, 1.06rem);
  line-height: 1.16;
}

.zero-human-support-copy > span {
  margin: 0;
  font-size: .66rem;
}

.zero-human-support-copy .zero-human-support-status {
  margin-top: 2px;
  font-size: .62rem;
}

.zero-shell-budika-player {
  min-width: 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 56px;
  border: 1px solid rgba(185, 143, 66, .28);
  border-radius: 12px;
  padding: 3px 7px 3px 3px;
  background: linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(255, 246, 226, .88));
  box-shadow: 0 6px 16px rgba(82, 51, 33, .07);
}

.zero-budika-play {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 143, 66, .38);
  border-radius: 50%;
  padding: 3px;
  background: #fffdf8;
  box-shadow: 0 5px 12px rgba(94, 69, 59, .1);
  cursor: pointer;
}

.zero-budika-play:hover,
.zero-budika-play:focus-visible {
  border-color: rgba(139, 83, 38, .68);
  outline: 3px solid rgba(63, 109, 98, .2);
  outline-offset: 2px;
}

.zero-budika-play img {
  width: 44px;
  height: 44px;
  display: block;
  object-fit: contain;
}

.zero-budika-play.is-playing {
  border-color: rgba(63, 109, 98, .52);
  background: #f5fbf6;
}

.zero-shell-budika-copy {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px 7px;
  align-items: baseline;
}

.zero-shell-budika-copy strong {
  color: #573b2b;
  font: 750 .76rem/1.2 Georgia, "Times New Roman", serif;
}

.zero-shell-budika-copy span {
  grid-column: 1 / -1;
  color: #6b5963;
  font-size: .62rem;
  line-height: 1.28;
}

.zero-shell-budika-copy small {
  grid-column: 2;
  grid-row: 1;
  color: #74502d;
  font-size: .6rem;
  font-weight: 800;
}

.zero-human-support-acknowledgements {
  display: block;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(185, 143, 66, .18);
  border-radius: 9px;
  background: rgba(255, 250, 241, .68);
  overflow: hidden;
}

.zero-human-support-acknowledgements summary {
  min-height: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  padding: 4px 7px;
  color: #4b352e;
  cursor: pointer;
  list-style: none;
}

.zero-human-support-acknowledgements summary::-webkit-details-marker {
  display: none;
}

.zero-human-support-acknowledgements summary > strong {
  color: #633c2d;
  font: 750 .72rem/1.2 Georgia, "Times New Roman", serif;
}

.zero-human-support-person {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #5d4652;
  font-size: .62rem;
  font-weight: 750;
}

.zero-human-support-person .zero-human-support-avatar {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  font-size: .5rem;
  font-style: normal;
}

.zero-gratitude-toggle {
  margin-left: auto;
  color: #79522d;
  font-size: .6rem;
  font-weight: 800;
}

.zero-gratitude-toggle .is-less {
  display: none;
}

.zero-human-support-acknowledgements[open] .zero-gratitude-toggle .is-more {
  display: none;
}

.zero-human-support-acknowledgements[open] .zero-gratitude-toggle .is-less {
  display: inline;
}

.zero-human-support-gratitude-content {
  max-height: min(26vh, 190px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  border-top: 1px solid rgba(185, 143, 66, .16);
  background: rgba(255, 253, 248, .9);
}

.zero-human-support-gratitude-content section {
  min-width: 0;
  border: 0;
  border-radius: 7px;
  padding: 6px 7px;
  background: rgba(255, 250, 241, .72);
}

.zero-human-support-gratitude-content h2 {
  margin: 0 0 3px;
  color: #4b352e;
  font: 750 .68rem/1.25 Georgia, "Times New Roman", serif;
}

.zero-human-support-gratitude-content p {
  margin: 0;
  color: #5d4652;
  font-size: .62rem;
  line-height: 1.38;
}

.zero-shell-thread {
  position: relative;
  z-index: 1;
}

@media (max-width: 760px) {
  .zero-shell-floating-menu {
    max-height: calc(100dvh - max(62px, env(safe-area-inset-top)));
  }

  .zero-shell-menu-options.is-domain-list {
    grid-template-columns: 1fr;
    touch-action: pan-y;
  }

  .zero-human-support-identity {
    min-height: 0;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 4px 7px;
    padding-right: 108px;
  }

  .zero-human-support-identity > img {
    display: block;
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .zero-human-support-copy > strong {
    font-size: .9rem;
  }

  .zero-shell-budika-player {
    grid-column: 1 / -1;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 50px;
    padding: 1px 6px 1px 1px;
  }

  .zero-budika-play {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .zero-budika-play img {
    width: 41px;
    height: 41px;
  }

  .zero-human-support-acknowledgements summary {
    min-height: 32px;
    gap: 4px 6px;
    padding: 3px 5px;
  }

  .zero-human-support-person {
    font-size: .58rem;
  }

  .zero-human-support-person .zero-human-support-avatar {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
  }

  .zero-human-support-gratitude-content {
    max-height: min(29vh, 180px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .zero-human-support-copy > span {
    display: none;
  }

  .zero-human-support-status {
    margin-top: 1px;
  }

  .zero-human-support-person > span {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.zero-shell-tab.zero-launcher{min-width:132px!important}
.zero-dock-label{display:grid;gap:1px;text-align:left;line-height:1.05}
.zero-dock-label strong{font:800 .78rem/1 system-ui,sans-serif;letter-spacing:.04em}
.zero-dock-label small{font:700 .62rem/1.05 system-ui,sans-serif;letter-spacing:.01em;white-space:nowrap}
@media(max-width:700px){.zero-shell-tab.zero-launcher{min-width:118px!important;padding-inline:9px!important}.zero-dock-label small{font-size:.58rem}}

/* v21: one centered ZERO dock and transient system notices above it */
.zero-shell-tab.zero-launcher{display:grid!important;grid-template-columns:28px minmax(0,1fr) 12px!important;align-items:center!important;column-gap:7px!important}
.zero-dock-label{display:grid!important;place-items:center!important;text-align:center!important;line-height:1.02!important}
.zero-dock-label strong,.zero-dock-label small{display:block!important;width:100%!important;text-align:center!important}
.zero-shell-system-notice{position:absolute;right:0;bottom:calc(100% + 14px);width:min(360px,calc(100vw - 24px));pointer-events:none;border:1px solid rgba(185,143,66,.48);border-radius:15px;padding:12px 14px;background:rgba(255,253,247,.98);box-shadow:0 18px 42px rgba(55,42,40,.22);color:#3f543f;opacity:1;transform:translateY(0);transition:opacity .65s ease,transform .65s ease;z-index:4}
.zero-shell-system-notice[hidden]{display:none!important}
.zero-shell-system-notice.is-leaving{opacity:0;transform:translateY(8px)}
.zero-shell-system-notice strong{display:block;margin:0 0 4px;color:#6e4c2c;font:800 .82rem/1.2 inherit}
.zero-shell-system-notice span{display:block;font-size:.82rem;line-height:1.4}
@media(max-width:700px){.zero-shell-system-notice{right:0;bottom:calc(100% + 12px);width:min(330px,calc(100vw - 18px));padding:11px 12px}.zero-shell-root{bottom:max(22px,calc(env(safe-area-inset-bottom) + 18px))!important}}


/* ZERO Human Support / Riznica: explicit, visible PLAY and STOP control. */
.zero-shell-budika-player {
  grid-template-columns: 62px minmax(0, 1fr) !important;
}
.zero-shell-budika-player .zero-budika-play {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  display: grid !important;
  grid-template-rows: 40px 12px !important;
  place-items: center !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: hidden !important;
  padding: 3px 4px 2px !important;
  color: #5c3d24 !important;
}
.zero-shell-budika-player .zero-budika-play img {
  width: 38px !important;
  height: 38px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.zero-shell-budika-player .zero-budika-play [data-zero-budika-action] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #5c3d24 !important;
  font: 950 .52rem/1 Arial, sans-serif !important;
  letter-spacing: .08em !important;
  text-align: center !important;
}
.zero-shell-budika-player .zero-budika-play.is-playing [data-zero-budika-action] {
  color: #2f6659 !important;
}
@media (max-width: 620px) {
  .zero-shell-budika-player {
    grid-template-columns: 58px minmax(0, 1fr) !important;
  }
  .zero-shell-budika-player .zero-budika-play {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    grid-template-rows: 37px 11px !important;
  }
  .zero-shell-budika-player .zero-budika-play img {
    width: 35px !important;
    height: 35px !important;
  }
}
