:root {
  --paper: #f4f1e9;
  --paper-deep: #e9e3d8;
  --card: #fffdf8;
  --ink: #1b1b19;
  --muted: #777269;
  --line: rgba(27, 27, 25, 0.13);
  --line-strong: rgba(27, 27, 25, 0.22);
  --accent: #e14a2a;
  --accent-dark: #b9341b;
  --success: #28785b;
  --danger: #b4382b;
  --shadow-soft: 0 16px 48px rgba(48, 41, 30, 0.09);
  --shadow-card: 0 8px 24px rgba(48, 41, 30, 0.1), 0 1px 2px rgba(48, 41, 30, 0.08);
  --topbar-height: 72px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}

/* Login */

.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
}

.login-page::before,
.login-page::after {
  position: fixed;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.login-page::before {
  inset: 0;
  background: rgba(244, 241, 233, 0.86);
}

.login-page::after {
  width: 440px;
  height: 440px;
  right: -190px;
  bottom: -180px;
  border: 54px solid var(--accent);
  border-radius: 50%;
  opacity: 0.88;
}

.login-shell {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 32px 20px;
}

.login-card {
  position: relative;
  width: min(100%, 520px);
  padding: 48px 50px 38px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow-soft);
}

.login-card::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 82px;
  height: 7px;
  content: "";
  background: var(--accent);
}

.login-brand {
  display: flex;
  align-items: flex-start;
  margin-bottom: 52px;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.brand-word {
  font-size: 24px;
}

.brand-infinity {
  margin: -9px 0 0 4px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.login-copy h1 {
  max-width: 410px;
  margin: 12px 0 16px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(30px, 6vw, 43px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.035em;
}

.login-copy > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.login-form {
  margin-top: 38px;
}

.login-form > label {
  display: block;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 750;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  width: 100%;
  height: 54px;
  padding: 0 76px 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.password-wrap input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(27, 27, 25, 0.08);
}

.password-wrap input::placeholder {
  color: #aaa49a;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 54px;
  padding: 0 16px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.form-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 13px;
}

.login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 54px;
  margin-top: 16px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-weight: 750;
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

.login-submit:hover {
  background: #34342f;
}

.login-submit:active {
  transform: translateY(1px);
}

.login-submit span:last-child {
  color: #ff7658;
  font-size: 20px;
}

.login-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  color: #969086;
  font-size: 11px;
}

.login-footnote span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}

/* Canvas shell */

.canvas-page {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--paper);
  overscroll-behavior: none;
}

.app-shell {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.topbar {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(260px, 560px) minmax(210px, 1fr);
  align-items: center;
  width: 100%;
  height: var(--topbar-height);
  padding: max(0px, env(safe-area-inset-top)) 22px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(18px);
}

.topbar-brand {
  display: inline-flex;
  align-items: flex-start;
  justify-self: start;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.07em;
}

.topbar-brand span {
  font-size: 20px;
}

.topbar-brand b {
  margin: -7px 0 0 3px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
}

.topbar-center {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 11px 0 13px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 140ms ease, background 140ms ease;
}

.search-box:focus-within {
  border-color: var(--line-strong);
  background: #fff;
}

.search-box svg,
.primary-action svg,
.canvas-controls svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.search-box svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #89837a;
}

.search-box input {
  width: 100%;
  height: 100%;
  padding: 0 11px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.search-box input::placeholder {
  color: #918b81;
}

.search-box kbd {
  flex: 0 0 auto;
  padding: 3px 6px;
  border: 1px solid var(--line);
  color: #9b958c;
  background: var(--paper);
  font-family: inherit;
  font-size: 10px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.sync-state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 5px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.sync-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c29a35;
  box-shadow: 0 0 0 4px rgba(194, 154, 53, 0.1);
}

.sync-state.is-online .sync-dot {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(40, 120, 91, 0.1);
}

.sync-state.is-error .sync-dot {
  background: var(--danger);
  box-shadow: 0 0 0 4px rgba(180, 56, 43, 0.1);
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.primary-action:hover {
  background: #34342f;
}

.primary-action svg {
  width: 16px;
  height: 16px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #fff;
  cursor: pointer;
}

.account-button span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-family: Georgia, serif;
  font-size: 13px;
}

.canvas-viewport {
  position: absolute;
  inset: var(--topbar-height) 0 0;
  overflow: hidden;
  outline: none;
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(74, 68, 59, 0.22) 1px, transparent 1px);
  background-position: var(--grid-x, 0px) var(--grid-y, 0px);
  background-size: var(--grid-size, 32px) var(--grid-size, 32px);
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.canvas-viewport.is-panning {
  cursor: grabbing;
}

.world {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  transform: translate3d(var(--pan-x, 0px), var(--pan-y, 0px), 0) scale(var(--zoom, 1));
  transform-origin: 0 0;
  will-change: transform;
}

.canvas-item {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) auto;
  width: var(--item-width, 300px);
  height: var(--item-height, 220px);
  overflow: visible;
  border: 1px solid rgba(27, 27, 25, 0.17);
  background: var(--card);
  box-shadow: var(--shadow-card);
  transform: translate3d(var(--item-x, 0px), var(--item-y, 0px), 0);
  transition: border-color 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
  will-change: transform;
  cursor: default;
}

.canvas-item:hover,
.canvas-item.is-selected {
  border-color: rgba(27, 27, 25, 0.4);
  box-shadow: 0 14px 40px rgba(48, 41, 30, 0.15), 0 1px 2px rgba(48, 41, 30, 0.1);
}

.canvas-item.is-dragging {
  z-index: 2147480000 !important;
  transition: none;
  cursor: grabbing;
}

.canvas-item.is-filtered {
  opacity: 0.13;
  pointer-events: none;
}

.item-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 0 8px 0 10px;
  border-bottom: 1px solid var(--line);
  color: #8a847b;
  cursor: grab;
}

.drag-grip {
  color: #b6b0a7;
  font-size: 15px;
  line-height: 1;
}

.item-kind {
  overflow: hidden;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-left: auto;
  opacity: 0;
  transition: opacity 100ms ease;
}

.canvas-item:hover .item-actions,
.canvas-item.is-selected .item-actions {
  opacity: 1;
}

.item-actions button {
  width: 27px;
  height: 27px;
  padding: 0;
  border: 0;
  color: #625d55;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.item-actions button:hover {
  background: var(--paper-deep);
}

.item-preview {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e9e5dc;
}

.item-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  -webkit-user-drag: none;
  cursor: zoom-in;
}

.file-preview {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(27, 27, 25, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 27, 25, 0.045) 1px, transparent 1px),
    #efebe2;
  background-size: 18px 18px;
}

.file-sheet {
  position: relative;
  display: grid;
  place-items: center;
  width: 72px;
  height: 90px;
  border: 1px solid rgba(27, 27, 25, 0.2);
  background: #fffdf8;
  box-shadow: 7px 7px 0 rgba(27, 27, 25, 0.07);
}

.file-sheet::after {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 19px;
  height: 19px;
  content: "";
  border-bottom: 1px solid rgba(27, 27, 25, 0.18);
  border-left: 1px solid rgba(27, 27, 25, 0.18);
  background: var(--paper-deep);
}

.file-sheet span {
  max-width: 60px;
  color: var(--accent);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  word-break: break-all;
}

.item-meta {
  min-width: 0;
  padding: 11px 12px 12px;
  background: var(--card);
}

.item-meta strong,
.item-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-meta strong {
  color: #24231f;
  font-size: 12px;
  font-weight: 700;
}

.item-meta span {
  margin-top: 5px;
  color: #979086;
  font-size: 10px;
}

.item-context {
  position: absolute;
  z-index: 8;
  top: 34px;
  right: 7px;
  width: 112px;
  padding: 5px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.item-context button {
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.item-context button:hover {
  background: var(--paper);
}

.item-context button:last-child {
  color: var(--danger);
}

.empty-state {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: min(440px, calc(100vw - 44px));
  text-align: center;
  transform: translate(-50%, -52%);
}

.empty-art {
  position: relative;
  width: 170px;
  height: 120px;
  margin: 0 auto 27px;
}

.paper {
  position: absolute;
  width: 87px;
  height: 105px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: 7px 9px 0 rgba(27, 27, 25, 0.05);
}

.paper::before,
.paper::after {
  position: absolute;
  left: 16px;
  width: 48px;
  height: 1px;
  content: "";
  background: var(--line-strong);
}

.paper::before {
  top: 33px;
  box-shadow: 0 13px 0 var(--line-strong), 0 26px 0 var(--line-strong);
}

.paper::after {
  top: 20px;
  width: 25px;
  height: 4px;
  background: var(--accent);
}

.paper-one {
  left: 19px;
  top: 11px;
  transform: rotate(-11deg);
}

.paper-two {
  left: 61px;
  top: 4px;
  transform: rotate(7deg);
}

.paper-three {
  left: 42px;
  top: 8px;
  transform: rotate(-1deg);
}

.empty-plus {
  position: absolute;
  right: 0;
  bottom: 4px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 25px;
  font-weight: 300;
}

.empty-state h1 {
  margin: 10px 0 10px;
  font-family: Georgia, "Songti SC", "STSong", serif;
  font-size: clamp(26px, 5vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.empty-state > p:not(.eyebrow) {
  max-width: 400px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.empty-upload {
  margin-top: 22px;
  padding: 11px 21px;
  border: 1px solid var(--ink);
  color: #fff;
  background: var(--ink);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.drop-overlay {
  position: absolute;
  z-index: 60;
  inset: 14px;
  display: none;
  place-items: center;
  border: 2px dashed rgba(225, 74, 42, 0.65);
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(5px);
}

.drop-overlay.is-visible {
  display: grid;
}

.drop-overlay > div {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 28px;
}

.drop-overlay strong {
  font-family: Georgia, "Songti SC", serif;
  font-size: 24px;
  font-weight: 500;
}

.drop-overlay small {
  color: var(--muted);
}

.canvas-controls {
  position: absolute;
  z-index: 70;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  height: 39px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 7px 24px rgba(48, 41, 30, 0.1);
  backdrop-filter: blur(10px);
}

.canvas-controls button {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 100%;
  padding: 0 9px;
  border: 0;
  background: transparent;
  font-size: 15px;
  cursor: pointer;
}

.canvas-controls button:hover {
  background: var(--paper-deep);
}

.canvas-controls .zoom-value {
  min-width: 55px;
  color: var(--muted);
  font-size: 10px;
}

.canvas-controls > span {
  width: 1px;
  height: 22px;
  background: var(--line);
}

.canvas-controls svg {
  width: 15px;
  height: 15px;
}

.storage-pill {
  position: absolute;
  z-index: 65;
  left: 22px;
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  color: #847e75;
  background: rgba(255, 253, 248, 0.84);
  backdrop-filter: blur(10px);
  font-size: 10px;
}

.storage-pill i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b8b1a7;
}

.account-menu {
  position: absolute;
  z-index: 150;
  top: calc(var(--topbar-height) - 10px);
  right: 22px;
  width: 230px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.menu-storage {
  margin-bottom: 5px;
  padding: 12px 10px 14px;
  border-bottom: 1px solid var(--line);
}

.menu-storage > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
}

.menu-storage strong {
  font-size: 10px;
}

.storage-track,
.upload-progress-track {
  height: 3px;
  overflow: hidden;
  background: var(--paper-deep);
}

.storage-track {
  margin-top: 10px;
}

.storage-track span,
.upload-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 180ms ease;
}

.account-menu > button,
.account-menu form button {
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.account-menu > button:hover,
.account-menu form button:hover {
  background: var(--paper);
}

.account-menu form {
  margin: 0;
}

.account-menu form button {
  color: var(--danger);
}

.upload-progress {
  position: absolute;
  z-index: 140;
  right: 22px;
  bottom: 76px;
  width: min(330px, calc(100vw - 44px));
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.upload-progress-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
  font-size: 11px;
}

.upload-progress-copy b {
  color: var(--accent);
}

.toast-region {
  position: absolute;
  z-index: 180;
  top: calc(var(--topbar-height) + 16px);
  left: 50%;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 32px));
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 7px 26px rgba(48, 41, 30, 0.13);
  font-size: 12px;
  text-align: center;
  animation: toast-in 180ms ease both;
}

.toast.is-error {
  border-color: rgba(180, 56, 43, 0.45);
  color: var(--danger);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-7px); }
  to { opacity: 1; transform: translateY(0); }
}

.lightbox {
  position: absolute;
  z-index: 220;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  justify-items: center;
  padding: 56px 26px 22px;
  background: rgba(18, 18, 16, 0.94);
  backdrop-filter: blur(14px);
}

.lightbox > button {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  background: transparent;
  font-size: 25px;
  font-weight: 200;
  cursor: pointer;
}

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-caption {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 100%;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}

.lightbox-caption span {
  overflow: hidden;
  max-width: 55vw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-caption a {
  color: #fff;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  :root {
    --topbar-height: 62px;
  }

  .login-card {
    padding: 38px 28px 31px;
  }

  .login-brand {
    margin-bottom: 38px;
  }

  .login-page::after {
    width: 280px;
    height: 280px;
    right: -150px;
    bottom: -145px;
    border-width: 38px;
  }

  .topbar {
    grid-template-columns: auto 1fr auto;
    gap: 11px;
    padding-right: 12px;
    padding-left: 14px;
  }

  .topbar-center {
    min-width: 0;
  }

  .search-box {
    height: 38px;
  }

  .search-box kbd,
  .sync-state,
  .primary-action span {
    display: none;
  }

  .primary-action {
    width: 38px;
    height: 38px;
    padding: 0;
  }

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

  .canvas-controls {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .storage-pill {
    left: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .account-menu {
    top: calc(var(--topbar-height) - 4px);
    right: 12px;
  }

  .upload-progress {
    right: 12px;
    bottom: 62px;
  }

  .item-actions {
    opacity: 1;
  }
}

@media (max-width: 460px) {
  .topbar-brand span {
    font-size: 17px;
  }

  .topbar-brand b {
    font-size: 27px;
  }

  .search-box input {
    padding-right: 2px;
    font-size: 12px;
  }

  .storage-pill span:last-child,
  .storage-pill i {
    display: none;
  }

  .canvas-controls .zoom-value {
    min-width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
