/* Nepsis compact primary navigation — four clear destinations. */
:root {
  --wc-dock-clearance: calc(76px + env(safe-area-inset-bottom, 0px));
  --wc-launcher-clearance: 54px;
  --wc-end-clearance: calc(var(--wc-dock-clearance) + var(--wc-launcher-clearance));
}
.wc-dock {
  position: fixed;
  left: 50%;
  bottom: calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  width: min(460px, calc(100vw - 24px));
  padding: 7px 9px;
  box-sizing: border-box;
  background: rgba(255, 253, 248, .97);
  border: 1px solid #EADCCB;
  border-radius: 22px;
  box-shadow: 0 12px 32px -18px rgba(58, 36, 24, .38), 0 2px 8px rgba(58, 36, 24, .06);
  backdrop-filter: blur(14px);
  transition: opacity .2s ease, transform .2s ease;
}
html.wc-covered .wc-dock { opacity: 0; pointer-events: none; transform: translate(-50%, 14px); }
html.wc-dock-away .wc-dock { opacity: 1; pointer-events: auto; transform: translateX(-50%); }
body.wc-has-dock { padding-bottom: var(--wc-end-clearance); }
body.wc-has-dock :is(main, section, footer, [id]) { scroll-margin-bottom: var(--wc-end-clearance); }
.wc-app {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 2px 1px;
  color: #7A5F50;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.wc-tile {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #8A6F5E;
  background: #F6EEE4;
  border: 1px solid #EADCCB;
  border-radius: 10px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.wc-tile svg { width: 18px; height: 18px; }
.wc-label {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: inherit;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wc-run { display: none; }
.wc-app[aria-current="page"] { color: #B8501A; background: #FFF8EE; }
.wc-app[aria-current="page"] .wc-tile,
.wc-app.is-running .wc-tile {
  color: #fff;
  background: #F0702A;
  border-color: #F0702A;
}
.wc-app:focus-visible { outline: 2px solid #F0702A; outline-offset: 2px; }
.wc-app:active .wc-tile { transform: scale(.94); }
.wc-app.is-hidden { display: none; }
.wc-app[disabled] { opacity: .55; cursor: default; }
@media (min-width: 700px) {
  .wc-dock { width: min(520px, calc(100vw - 40px)); padding: 9px 12px; }
  .wc-app { min-height: 58px; }
  .wc-tile { width: 32px; height: 32px; }
  .wc-label { font-size: 11px; }
}
@media (max-width: 380px) {
  .wc-dock { width: calc(100vw - 16px); padding: 6px 6px; gap: 2px; }
  .wc-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .wc-dock, .wc-tile { transition: none !important; }
}
@media (max-width: 899px) {
  body.wc-has-dock .mobile-cta { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
html:has(body.wc-has-dock) {
  scroll-padding-top: 92px;
  scroll-padding-bottom: calc(var(--wc-end-clearance) + 16px);
}
