/* Dreams shell – the frame every service shares: side panel, top bar, account menu, sign-in card and
   the guest gate. Source: packages/shell/static, apps get a copy through `pnpm shell:sync`.
   Needs tokens.css before it; every class starts with sh- so app styles never collide with it. */

:root {
  --sh-side-w: 256px;
  --sh-side-narrow: 64px;
  --sh-top-h: 56px;
  --sh-on-accent: #ffffff;
}

[class^="sh-"],
[class*=" sh-"],
[class^="sh-"] *,
[class*=" sh-"] * {
  box-sizing: border-box;
}

/* A link that looks like a button never gets the underline of a text link, whatever the app says */
:is(.sh-btn, .sh-brand, .sh-nav-item, .sh-menu-item, .sh-tab, .sh-user):is(
  :link,
  :visited,
  :hover,
  :focus,
  :active
) {
  text-decoration: none;
}

.sh-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.sh-i {
  width: 1em;
  height: 1em;
  flex: none;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sh-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Buttons of the frame */
.sh-icon-btn {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-1, 8px);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}
.sh-icon-btn:hover {
  background: var(--hover-tint);
  color: var(--ink);
}
.sh-icon-btn:focus-visible,
.sh-btn:focus-visible,
.sh-nav-item:focus-visible,
.sh-user:focus-visible,
.sh-menu-item:focus-visible,
.sh-brand:focus-visible {
  outline: 2px solid var(--chip-on-ring);
  outline-offset: 1px;
}
.sh-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: var(--r-2, 10px);
  font: inherit;
  font-size: var(--fs-md, 13px);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.sh-btn .sh-i {
  font-size: 16px;
}
.sh-btn-primary {
  background: var(--g-primary);
  color: var(--sh-on-accent);
}
.sh-btn-primary:hover {
  color: var(--sh-on-accent);
  filter: brightness(1.06);
}
.sh-btn-quiet {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}
.sh-btn-quiet:hover {
  background: var(--hover-tint);
  color: var(--ink);
}
.sh-btn-wide {
  width: 100%;
  min-height: 44px;
  font-size: var(--fs-base, 14px);
}

/* Theme toggle shows the theme it switches to */
.sh-theme .sh-to-light {
  display: none;
}
:root[data-theme="dark"] .sh-theme .sh-to-light {
  display: inline-block;
}
:root[data-theme="dark"] .sh-theme .sh-to-dark {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sh-theme .sh-to-light {
    display: inline-block;
  }
  :root:not([data-theme="light"]) .sh-theme .sh-to-dark {
    display: none;
  }
}

/* Brand: the Dreams mark and the name of the service */
.sh-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: var(--r-1, 8px);
  color: var(--ink);
  text-decoration: none;
}
.sh-brand:hover {
  color: var(--ink);
}
.sh-mark {
  width: 28px;
  height: 28px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--g-brand);
  color: var(--sh-on-accent);
}
.sh-mark .sh-i {
  font-size: 16px;
  fill: currentColor;
  stroke: none;
}
.sh-mark-glyph .sh-i {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}
.sh-mark-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.sh-mark-lg .sh-i {
  font-size: 30px;
}
.sh-brand-name {
  min-width: 0;
  overflow: hidden;
  font-size: var(--fs-lg, 16px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-brand-name span {
  color: var(--ink-3);
  font-weight: 700;
}

/* Frame */
.sh-app {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: var(--sh-side-w) minmax(0, 1fr);
}
.sh-side {
  position: sticky;
  top: 0;
  z-index: var(--z-drawer, 40);
  height: 100dvh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  background: var(--card);
}
.sh-side-head {
  min-height: var(--sh-top-h);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 12px;
}
.sh-side-head .sh-brand {
  flex: 1;
}
.sh-side-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 12px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sh-side-foot {
  display: grid;
  gap: 2px;
  padding: 8px 12px 12px;
  border-top: 1px solid var(--line);
}
.sh-side-foot:empty {
  display: none;
}
.sh-collapse .sh-expand-ico {
  display: none;
}

.sh-nav {
  display: grid;
  gap: 2px;
}
.sh-nav-item {
  position: relative;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-1, 8px);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: var(--fs-md, 13px);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sh-nav-item:hover {
  background: var(--hover-tint);
  color: var(--ink);
}
.sh-nav-item[aria-current="page"],
.sh-nav-item.sh-on {
  background: var(--badge-bg);
  color: var(--badge-ink);
}
.sh-nav-ico {
  width: 16px;
  flex: none;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  color: var(--ico-soft);
}
.sh-nav-ico svg {
  width: 1em;
  height: 1em;
}
.sh-nav-item[aria-current="page"] .sh-nav-ico,
.sh-nav-item.sh-on .sh-nav-ico {
  color: currentColor;
}
.sh-nav-label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-nav-count {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  padding: 0 5px;
  border-radius: var(--r-pill, 999px);
  background: var(--bad);
  color: var(--sh-on-accent);
  font-size: var(--fs-xs, 11px);
  font-weight: 800;
}
.sh-nav-count[hidden] {
  display: none;
}
.sh-nav-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 14px 10px 6px;
  color: var(--ink-4);
  font-size: var(--fs-cap, 10px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.sh-nav-rule {
  height: 1px;
  flex: none;
  margin: 8px 4px;
  background: var(--line);
}

/* A person's face: the picture and the initials are both inside, html[data-faces] picks one */
.sh-face {
  position: relative;
  width: 32px;
  height: 32px;
  flex: none;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--sh-face, var(--face-grey));
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.sh-face-sm {
  width: 22px;
  height: 22px;
  font-size: 9px;
}
.sh-face-lg {
  width: 44px;
  height: 44px;
  font-size: 15px;
}
.sh-face-glyph {
  width: 62%;
  height: 62%;
  pointer-events: none;
  user-select: none;
}
.sh-face-glyph + .sh-face-ini {
  display: none;
}
:root[data-faces="initials"] .sh-face:not(.sh-face-bot, .sh-face-as-emoji) .sh-face-glyph {
  display: none;
}
:root[data-faces="initials"]
  .sh-face:not(.sh-face-bot, .sh-face-as-emoji)
  .sh-face-glyph
  + .sh-face-ini {
  display: inline;
}
.sh-face-c-red {
  --sh-face: var(--face-red);
}
.sh-face-c-orange {
  --sh-face: var(--face-orange);
}
.sh-face-c-amber {
  --sh-face: var(--face-amber);
}
.sh-face-c-yellow {
  --sh-face: var(--face-yellow);
}
.sh-face-c-lime {
  --sh-face: var(--face-lime);
}
.sh-face-c-green {
  --sh-face: var(--face-green);
}
.sh-face-c-teal {
  --sh-face: var(--face-teal);
}
.sh-face-c-cyan {
  --sh-face: var(--face-cyan);
}
.sh-face-c-sky {
  --sh-face: var(--face-sky);
}
.sh-face-c-blue {
  --sh-face: var(--face-blue);
}
.sh-face-c-indigo {
  --sh-face: var(--face-indigo);
}
.sh-face-c-violet {
  --sh-face: var(--face-violet);
}
.sh-face-c-purple {
  --sh-face: var(--face-purple);
}
.sh-face-c-pink {
  --sh-face: var(--face-pink);
}
.sh-face-c-rose {
  --sh-face: var(--face-rose);
}
.sh-face-c-grey {
  --sh-face: var(--face-grey);
}

/* The faces switch in the account menu */
.sh-faces {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 4px 0 10px;
  color: var(--ink-3);
  font-size: var(--fs-md, 13px);
  font-weight: 700;
}
.sh-faces span {
  flex: 1;
}
.sh-faces button {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-1, 8px);
  background: transparent;
  color: var(--ink-3);
  font: inherit;
  cursor: pointer;
}
.sh-faces button:hover {
  background: var(--hover-tint);
  color: var(--ink);
}
.sh-faces button[aria-checked="true"] {
  background: var(--badge-bg);
  color: var(--badge-ink);
}

/* A face with a name; hover or focus shows the card: name, Telegram, email */
.sh-person {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  vertical-align: middle;
  border-radius: var(--r-pill, 999px);
  outline: none;
}
.sh-person-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-person-card {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: var(--z-pop, 40);
  min-width: 220px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-3, 12px);
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: var(--fs-sm, 12px);
  font-weight: 600;
  white-space: nowrap;
}
.sh-person:hover .sh-person-card,
.sh-person:focus-within .sh-person-card {
  display: flex;
}
.sh-person-lines {
  display: grid;
  gap: 2px;
}
.sh-person-lines b {
  font-size: var(--fs-base, 14px);
}
.sh-person-lines a {
  color: var(--violet);
  text-decoration: none;
}
.sh-person-lines a:hover {
  text-decoration: underline;
}

/* Tabs of a section */
.sh-tabs {
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 4px;
  margin: 0 0 20px;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: var(--r-3, 12px);
  background: var(--none-bg);
}
.sh-tab {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-radius: var(--r-2, 10px);
  color: var(--ink-3);
  font-size: var(--fs-md, 13px);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.sh-tab:hover {
  color: var(--ink);
}
.sh-tab[aria-current="page"] {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 2px var(--line);
}
.sh-tab-count {
  color: var(--ink-4);
  font-weight: 700;
}

.sh-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Top bar: the page fills title and tools, the frame adds theme and account */
.sh-top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: var(--z-sticky, 6);
  min-height: var(--sh-top-h);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 20px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(10px);
}
.sh-top-title {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}
.sh-top-title h1 {
  margin: 0;
  overflow: hidden;
  font-size: var(--fs-xl, 20px);
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-top-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}
.sh-top-tools:empty {
  display: none;
}
.sh-account {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  padding-left: 6px;
  border-left: 1px solid var(--line);
}
.sh-burger {
  display: none;
}

/* Account */
.sh-user {
  max-width: 220px;
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px 3px 3px;
  border: 0;
  border-radius: var(--r-pill, 999px);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-md, 13px);
  font-weight: 700;
  cursor: pointer;
}
.sh-user:hover,
.sh-user[aria-expanded="true"] {
  background: var(--hover-tint);
}
.sh-user-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-user > .sh-i {
  font-size: 14px;
  color: var(--ico);
}
.sh-avatar {
  width: 32px;
  height: 32px;
  flex: none;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--t-violet);
  color: var(--sh-on-accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.sh-avatar-lg {
  width: 40px;
  height: 40px;
  font-size: 14px;
}
.sh-avatar.sh-guest {
  background: var(--none-bg);
  color: var(--ink-3);
}
.sh-avatar.sh-guest .sh-i {
  font-size: 16px;
}
.sh-guest-pill {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: var(--r-pill, 999px);
  background: var(--none-bg);
  color: var(--ink-3);
  font-size: var(--fs-sm, 12px);
  font-weight: 700;
  white-space: nowrap;
}
.sh-guest-pill .sh-i {
  font-size: 14px;
}
.sh-account .sh-btn-primary {
  min-height: 34px;
}

.sh-menu-wrap {
  position: relative;
}
.sh-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: var(--z-pop, 40);
  width: 280px;
  display: grid;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-3, 12px);
  background: var(--card);
  box-shadow: var(--shadow);
}
.sh-menu[hidden] {
  display: none;
}
.sh-menu-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px 10px;
}
.sh-menu-head div {
  min-width: 0;
  display: grid;
}
.sh-menu-head b {
  overflow: hidden;
  font-size: var(--fs-base, 14px);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-menu-head small {
  overflow: hidden;
  color: var(--ink-3);
  font-size: var(--fs-sm, 12px);
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sh-menu-rule {
  height: 1px;
  margin: 4px 0;
  background: var(--line);
}
.sh-menu form {
  margin: 0;
}
.sh-menu-item {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--r-1, 8px);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--fs-md, 13px);
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.sh-menu-item:hover {
  background: var(--hover-tint);
  color: var(--ink);
}
.sh-menu-item > .sh-i,
.sh-menu-item > .sh-menu-ico {
  font-size: 16px;
  color: var(--ico);
}
.sh-menu-ico {
  width: 16px;
  flex: none;
  display: inline-grid;
  place-items: center;
}
.sh-menu-ico svg {
  width: 1em;
  height: 1em;
}
.sh-menu-item .sh-ext {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-4);
}
.sh-menu-item.sh-danger,
.sh-menu-item.sh-danger > .sh-i {
  color: var(--bad);
}

/* Narrow side panel: the person folds it, the choice lives in the dreams_nav cookie */
@media (min-width: 1025px) {
  html.sh-narrow .sh-app {
    grid-template-columns: var(--sh-side-narrow) minmax(0, 1fr);
  }
  html.sh-narrow .sh-side-head {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 10px 0 6px;
  }
  html.sh-narrow .sh-side-head .sh-brand {
    flex: none;
  }
  html.sh-narrow :is(.sh-brand-name, .sh-nav-label, .sh-nav-title, .sh-wide-only) {
    display: none;
  }
  html.sh-narrow .sh-side-body,
  html.sh-narrow .sh-side-foot {
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
  }
  html.sh-narrow .sh-nav-item {
    width: 44px;
    justify-content: center;
    padding: 0;
  }
  html.sh-narrow .sh-nav-count {
    position: absolute;
    top: 5px;
    right: 6px;
    min-width: 8px;
    width: 8px;
    height: 8px;
    padding: 0;
    font-size: 0;
  }
  html.sh-narrow .sh-nav-rule {
    width: 32px;
  }
  html.sh-narrow .sh-collapse .sh-collapse-ico {
    display: none;
  }
  html.sh-narrow .sh-collapse .sh-expand-ico {
    display: inline-block;
  }
}

/* Tablet and phone: the side panel is a drawer */
@media (max-width: 1024px) {
  .sh-app {
    grid-template-columns: minmax(0, 1fr);
  }
  .sh-side {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(300px, 86vw);
    transform: translateX(-102%);
    visibility: hidden;
    transition:
      transform var(--d2, 240ms) var(--ease, ease),
      visibility 0s linear var(--d2, 240ms);
    box-shadow: var(--shadow);
  }
  html.sh-drawer .sh-side {
    transform: none;
    visibility: visible;
    transition: transform var(--d2, 240ms) var(--ease, ease);
  }
  html.sh-drawer body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-drawer, 40) - 1);
    background: var(--scrim);
  }
  .sh-burger {
    display: inline-grid;
    margin-left: -8px;
  }
  .sh-collapse {
    display: none;
  }
  .sh-top {
    padding: 8px 10px 8px 16px;
  }
}
@media (max-width: 720px) {
  .sh-top {
    gap: 6px;
    padding-left: 12px;
  }
  .sh-top-title h1 {
    font-size: var(--fs-lg, 16px);
  }
  .sh-user {
    padding-right: 3px;
  }
  .sh-user-name,
  .sh-user > .sh-i,
  .sh-guest-pill span {
    display: none;
  }
  .sh-account {
    border-left: 0;
    padding-left: 0;
    gap: 2px;
  }
}

/* Sign-in card: one page for every service */
.sh-auth {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--page-glow, var(--bg));
}
.sh-auth-theme {
  position: fixed;
  top: 14px;
  right: 14px;
}
.sh-card {
  width: min(400px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-5, 18px);
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}
.sh-card-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.sh-card-brand small {
  color: var(--ink-4);
  font-size: var(--fs-cap, 10px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sh-card h1,
.sh-card h2 {
  margin: 0;
  font-size: var(--fs-2xl, 26px);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: var(--g-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sh-card p {
  margin: 0;
  color: var(--ink-3);
  font-size: var(--fs-base, 14px);
  line-height: 1.5;
}
.sh-card form {
  width: 100%;
  margin: 0;
}
.sh-card-actions {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.sh-card-or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-4);
  font-size: var(--fs-sm, 12px);
}
.sh-card-or::before,
.sh-card-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.sh-card-alert {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--r-2, 10px);
  background: var(--alert-bg);
  color: var(--alert-ink);
  font-size: var(--fs-md, 13px);
  font-weight: 700;
}
.sh-card-note {
  color: var(--ink-4);
  font-size: var(--fs-sm, 12px);
}
.sh-card-note a {
  color: var(--violet);
}

/* Guest gate: the public part shows through, the card asks once and remembers a close for 30 days */
.sh-gate {
  position: fixed;
  inset: 0;
  z-index: var(--z-sheet, 60);
  display: grid;
  place-items: center;
  padding: 16px;
  background: color-mix(in srgb, var(--bg) 38%, transparent);
  backdrop-filter: blur(1.5px);
}
html.sh-gate-off .sh-gate,
.sh-gate[hidden] {
  display: none;
}
.sh-gate .sh-card {
  position: relative;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  backdrop-filter: blur(14px);
}
.sh-gate-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

/* A phone keeps the page name readable; tools that do not fit scroll sideways */
@media (max-width: 720px) {
  .sh-top-title > h1,
  .sh-top-title > nav {
    min-width: 5.5em;
    flex: 0 1 auto;
  }
  .sh-top-tools {
    min-width: 0;
    flex: 0 1 auto;
    overflow-x: auto;
    scrollbar-width: none;
  }
}

/* Paper gets the page, not the frame */
@media print {
  .sh-side,
  .sh-top,
  .sh-gate,
  .sh-sprite {
    display: none !important;
  }
  .sh-app {
    display: block;
  }
}
