.jg-cart-tab,
dialog.jg-cart-panel {
  font-family: "JG Narrow", Inter, Arial, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -.032em;
  box-sizing: border-box;
  color-scheme: light;
}
html.jg-cart-panel-enabled {
  --jg-cart-tab-width: 40px;
  --jg-cart-clearance: calc(var(--jg-cart-tab-width) + 6px + env(safe-area-inset-left, 0px));
}
button.jg-cart-tab {
  position: fixed;
  z-index: 47;
  left: 0;
  top: 57%;
  transform: translateY(-50%);
  width: calc(var(--jg-cart-tab-width) + env(safe-area-inset-left, 0px));
  min-width: 0;
  min-height: 132px;
  display: inline-grid;
  place-items: center;
  padding: 16px 0 16px env(safe-area-inset-left, 0px);
  margin: 0;
  border: 1px solid #a6a69f;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  background: #fff;
  color: #242422;
  box-shadow: none;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.jg-cart-tab__word {
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
@media (hover: hover) {
  button.jg-cart-tab:hover { background: #f3edda; border-color: #77776f; }
}
button.jg-cart-tab:focus-visible,
dialog.jg-cart-panel button:focus-visible { outline: 2px solid #85723e; outline-offset: 3px; }
button.jg-cart-tab:focus-visible { outline-offset: -3px; outline-color: #242422; }
html.jg-cart-panel-open, html.jg-cart-panel-open body { overflow: hidden !important; overscroll-behavior: none; }
html.jg-cart-scrollbar { scrollbar-gutter: stable; }
html.jg-cart-panel-open .jg-cart-tab { visibility: hidden; }
dialog.jg-cart-panel {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(100%, 460px);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  border-right: 1px solid #deded7;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  color: #242422;
  background: #fff;
  box-shadow: 12px 0 46px #1416131c;
  text-align: left;
  line-height: 1.15;
  cursor: auto;
}
dialog.jg-cart-panel:not([open]),
dialog.jg-cart-panel [hidden] { display: none !important; }
dialog.jg-cart-panel[open] { display: flex; flex-direction: column; }
dialog.jg-cart-panel::backdrop { background: rgba(25, 25, 22, .45); }
.jg-cart-panel__head {
  flex: none;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: calc(70px + env(safe-area-inset-top, 0px));
  padding: calc(12px + env(safe-area-inset-top, 0px)) max(22px, env(safe-area-inset-right, 0px)) 12px max(24px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid #e6e6e0;
}
.jg-cart-panel__head h2 {
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 32px;
  line-height: 1;
  color: inherit;
  text-transform: none;
}
dialog.jg-cart-panel button {
  appearance: none;
  font: inherit;
  color: #242422;
  cursor: pointer;
}
dialog.jg-cart-panel .jg-cart-panel__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid #e0e0d9;
  border-radius: 8px;
  background: #fff;
}
.jg-cart-panel__body { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.jg-cart-panel__frame { display: block; flex: 1 1 auto; width: 100%; height: 100%; min-height: 0; border: 0; background: #fff; }
.jg-cart-panel__status { margin: auto; padding: 20px; text-align: center; }
.jg-cart-panel__status p { margin: 0; color: #5d5e55; font-size: 20px; line-height: 1.2; }
dialog.jg-cart-panel .jg-cart-panel__retry {
  margin-top: 18px;
  padding: 9px 17px;
  min-height: 44px;
  border: 1px solid #deded7;
  border-radius: 8px;
  background: #f7f7f3;
  font-size: 18px;
}
@media (hover: hover) {
  dialog.jg-cart-panel .jg-cart-panel__close:hover, dialog.jg-cart-panel .jg-cart-panel__retry:hover { background: #f3edda; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.jg-cart-panel[open] { animation: jg-cart-enter .24s cubic-bezier(.2,.7,.25,1) both; }
  dialog.jg-cart-panel[open]::backdrop { animation: jg-cart-dim .2s ease both; }
  @keyframes jg-cart-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
  @keyframes jg-cart-dim { from { opacity: 0; } to { opacity: 1; } }
}
@media (max-width: 680px) {
  html.jg-cart-panel-enabled { --jg-cart-tab-width: 32px; }
  button.jg-cart-tab { top: 62%; min-height: 112px; padding-block: 12px; border-radius: 0 5px 5px 0; font-size: 16px; }
  .jg-cart-panel__head { min-height: calc(60px + env(safe-area-inset-top, 0px)); padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(12px, env(safe-area-inset-right, 0px)); padding-block: calc(8px + env(safe-area-inset-top, 0px)) 8px; }
  .jg-cart-panel__head h2 { font-size: 29px; }
}
@media (max-height: 420px) {
  button.jg-cart-tab { top: 60%; min-height: 0; padding-block: 9px; }
}
@media (min-width: 901px) {
  .jg-cart-panel-enabled .project-rail > .participation { margin-left: var(--jg-cart-clearance); }
  .jg-cart-panel-enabled body:has(.overture) .wrap {
    padding-left: max(var(--gutter), var(--jg-cart-clearance));
  }
}
@media (max-width: 900px) {
  .jg-cart-panel-enabled :is(.wrap, .mm-wrap, .calendar-page .project-intro, .calendar-page .calendar-workspace, .calendar-page .content-panel .sheet-scroll) {
    padding-left: max(var(--gutter, 0px), var(--jg-cart-clearance));
  }
  .jg-cart-panel-enabled .calendar-page .sheet-header { margin-left: var(--jg-cart-clearance); }
  .jg-cart-panel-enabled .calendar-page .mobile-events-bar { display: none; }
  .jg-cart-panel-enabled .calendar-page .community-shell { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .jg-cart-panel-enabled .calendar-page .content-panel { bottom: 0; }
  .jg-cart-panel-enabled .calendar-page .content-panel .sheet-scroll { padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 680px) and (min-height: 590px) {
  .jg-cart-panel-enabled .mast .wrap, .jg-cart-panel-enabled .stage .wrap:not(.stage-foot) { padding-left: var(--gutter); }
}
@media print { button.jg-cart-tab, dialog.jg-cart-panel { display: none !important; } }
