:root {
  --ink: #332e3d;
  --ink-soft: #6f6884;
  --muted: #9a93ac;
  --paper: #fffdf9;
  --paper-deep: #fbf7ff;
  --lavender: #b9a4ff;
  --lavender-deep: #7c5cf0;
  --lavender-soft: #efe9ff;
  --pink: #ff8fa8;
  --pink-deep: #f4708f;
  --pink-soft: #ffe3ea;
  --mint: #8fe3c4;
  --mint-soft: #dcf7ec;
  --butter: #ffe08a;
  --line: rgba(90, 70, 140, 0.11);
  --shadow-soft: 0 10px 30px rgba(86, 66, 130, 0.1);
  --shadow-lift: 0 26px 60px rgba(86, 66, 130, 0.16);
  --r-xl: 34px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 13px;
  --font-display: "Baloo 2", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  background:
    radial-gradient(1100px 700px at 6% -12%, #ffe7dc 0%, transparent 55%),
    radial-gradient(950px 700px at 102% -4%, #e4d9ff 0%, transparent 55%),
    radial-gradient(900px 800px at 50% 112%, #d8f8ea 0%, transparent 58%),
    #f8f4ff;
  background-attachment: fixed;
  overscroll-behavior-y: contain;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(124, 92, 240, 0.55);
  outline-offset: 2px;
}

/* ------------------------------------------------------------- background */

.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.blob-peach {
  width: 44vw;
  height: 44vw;
  min-width: 320px;
  min-height: 320px;
  top: -12vw;
  left: -8vw;
  background: #ffc9b5;
}

.blob-mint {
  width: 38vw;
  height: 38vw;
  min-width: 280px;
  min-height: 280px;
  top: 42%;
  right: -14vw;
  background: #a9f0d4;
  animation-delay: -7s;
}

.blob-lilac {
  width: 40vw;
  height: 40vw;
  min-width: 300px;
  min-height: 300px;
  bottom: -18vw;
  left: 18vw;
  background: #cdb9ff;
  animation-delay: -13s;
}

.blob-butter {
  width: 24vw;
  height: 24vw;
  min-width: 200px;
  min-height: 200px;
  top: 18%;
  left: 38%;
  background: #ffeeb6;
  opacity: 0.4;
  animation-delay: -3s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3vw, 4vh, 0) scale(1.08);
  }
}

/* ----------------------------------------------------------------- login */

.login {
  height: 100dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 18px calc(28px + env(safe-area-inset-bottom));
}

.login-card {
  width: min(456px, 100%);
  background: rgba(255, 253, 249, 0.88);
  backdrop-filter: blur(24px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-xl);
  padding: 26px 30px 30px;
  text-align: center;
  box-shadow: var(--shadow-lift), inset 0 1px 0 #fff;
  animation: card-in 0.5s cubic-bezier(0.2, 0.9, 0.3, 1.1) both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.mascot {
  position: relative;
  width: 156px;
  margin: 0 auto 2px;
}

.mascot svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 22px rgba(255, 120, 150, 0.25));
}

.mascot-spark {
  position: absolute;
  color: #b9a4ff;
  font-size: 18px;
  animation: twinkle 2.6s ease-in-out infinite;
}

.spark-a {
  top: 12px;
  right: -6px;
}

.spark-b {
  bottom: 18px;
  left: -12px;
  font-size: 12px;
  animation-delay: -1.2s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85) rotate(-8deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(6deg);
  }
}

.login h1 {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  font-weight: 700;
}

.lede {
  margin: 0 auto 22px;
  max-width: 34ch;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

.lede strong {
  color: var(--ink);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.field-label {
  display: block;
  text-align: left;
  margin: 0 4px 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.login input {
  width: 100%;
  padding: 15px 18px;
  border-radius: 16px;
  border: 2px solid #ebe3ff;
  background: #fbf8ff;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.login input::placeholder {
  color: #b7b0c8;
}

.login input:focus {
  outline: none;
  background: #fff;
  border-color: var(--lavender);
  box-shadow: 0 0 0 4px rgba(185, 164, 255, 0.2);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
  padding: 15px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffa3bb, #ff7f9d);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 22px rgba(255, 110, 145, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}

.primary-btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 13px 26px rgba(255, 110, 145, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.primary-btn:active {
  transform: translateY(1px) scale(0.995);
}

.primary-btn:disabled {
  opacity: 0.65;
  cursor: default;
}

.primary-btn.small {
  width: auto;
  margin: 0;
  padding: 11px 22px;
  font-size: 14.5px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid #ece5ff;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14.5px;
  transition: background 0.15s, transform 0.12s;
}

.ghost-btn:hover {
  background: var(--lavender-soft);
  color: var(--ink);
}

.ghost-btn:active {
  transform: translateY(1px);
}

.fineprint {
  margin: 16px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.form-error {
  margin: 12px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: #b03a5b;
  font-size: 13.5px;
  text-align: left;
}

.login-foot {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

#sentPanel h1 {
  margin-top: 0;
}

#sentPanel .ghost-btn {
  margin-top: 4px;
}

/* ------------------------------------------------------------------- app */

.app {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.topbar {
  position: relative;
  flex: none;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(1180px, calc(100% - 28px));
  margin: max(10px, env(safe-area-inset-top)) auto 0;
  padding: 9px 12px;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.84);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(86, 66, 130, 0.13);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-left: 4px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 4px 8px rgba(255, 120, 150, 0.22));
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.day-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}

.day-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
  min-width: 0;
  text-align: center;
  overflow: hidden;
}

.day-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a79fc0;
}

.day-label strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.circle-btn {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #f4efff;
  color: var(--ink);
  transition: background 0.15s, transform 0.12s, color 0.15s;
}

.circle-btn svg {
  width: 20px;
  height: 20px;
}

.circle-btn:hover {
  background: #eae2ff;
  color: var(--lavender-deep);
}

.circle-btn:active {
  transform: scale(0.94);
}

.circle-btn.small {
  width: 34px;
  height: 34px;
  font-size: 19px;
  background: var(--lavender-soft);
}

.pill-btn {
  padding: 10px 17px;
  border: none;
  border-radius: 999px;
  background: #f4efff;
  font-weight: 600;
  font-size: 13.5px;
  transition: background 0.15s, transform 0.12s;
}

.pill-btn:hover {
  background: var(--lavender-soft);
}

.pill-btn:active {
  transform: translateY(1px);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.save-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.save-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  transition: background 0.2s;
}

.save-state[data-state="saving"] .save-dot {
  background: var(--butter);
  animation: pulse 1s ease-in-out infinite;
}

.save-state[data-state="error"] .save-dot {
  background: var(--pink-deep);
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(140deg, #c8b5ff, #ffa9c0);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(140, 110, 220, 0.25);
  transition: transform 0.12s;
}

.avatar:active {
  transform: scale(0.95);
}

.menu-wrap {
  position: relative;
}

.menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 232px;
  padding: 14px;
  border-radius: 18px;
  background: #fffdf9;
  border: 1px solid rgba(120, 100, 170, 0.12);
  box-shadow: 0 20px 50px rgba(70, 50, 110, 0.2);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: menu-in 0.14s ease-out both;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.menu-email {
  margin: 0;
  padding: 2px 4px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}

.menu button {
  padding: 10px 12px;
  border: none;
  border-radius: 11px;
  background: #f7f3ff;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.menu button:hover {
  background: var(--lavender-soft);
}

/* ----------------------------------------------------------------- paper */

.stage {
  flex: 1;
  min-height: 0;
  width: min(920px, calc(100% - 24px));
  margin: 12px auto 0;
  display: flex;
}

.paper {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-xl);
  border: 1px solid rgba(120, 100, 170, 0.09);
  padding: 20px 22px 14px;
  box-shadow: var(--shadow-lift), inset 0 1px 0 #fff;
  animation: page-in 0.45s cubic-bezier(0.2, 0.9, 0.3, 1) both;
}

@keyframes page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.paper-head {
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 4px 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(120, 100, 170, 0.18);
}

.eyebrow {
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a79fc0;
}

.paper-date {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 4.4vw, 36px);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.paper-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.paper-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lavender-soft);
  color: #6f58c8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.canvas-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-image: radial-gradient(rgba(140, 120, 190, 0.3) 1.1px, transparent 1.2px);
  background-size: 26px 26px;
  background-position: 5px 5px;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.canvas-wrap.is-erasing {
  cursor: cell;
}

#inkCanvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
}

#liveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page-hint {
  position: absolute;
  top: 46%;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: #c3bad8;
  pointer-events: none;
  transition: opacity 0.35s;
}

.page-hint.is-hidden {
  opacity: 0;
}

/* --------------------------------------------------------------- toolbar */

.toolbar {
  position: relative;
  flex: none;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 5px;
  max-width: calc(100vw - 20px);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.95);
  margin: 10px auto calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 18px 44px rgba(70, 50, 110, 0.2), inset 0 1px 0 #fff;
  overflow-x: auto;
  scrollbar-width: none;
}

.toolbar::-webkit-scrollbar {
  display: none;
}

.tool-group {
  display: flex;
  align-items: center;
  gap: 5px;
}

.tool-divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: var(--line);
  flex: none;
}

.swatch {
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(90, 70, 140, 0.14);
  transition: transform 0.12s, box-shadow 0.15s;
}

.swatch[data-color="#2e2a36"] {
  --swatch: #2e2a36;
}

.swatch[data-color="#2f6fed"] {
  --swatch: #2f6fed;
}

.swatch[data-color="#e2557b"] {
  --swatch: #e2557b;
}

.swatch[data-color="#2f9e63"] {
  --swatch: #2f9e63;
}

.swatch:hover {
  transform: scale(1.07);
}

.swatch.is-active {
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px #cdbaff;
}

.size {
  width: 33px;
  height: 33px;
  flex: none;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 11px;
  background: transparent;
  transition: background 0.15s;
}

.size span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
}

.size[data-size="2.2"] span {
  width: 5px;
  height: 5px;
}

.size[data-size="4"] span {
  width: 9px;
  height: 9px;
}

.size[data-size="7"] span {
  width: 14px;
  height: 14px;
}

.size:hover {
  background: #f6f1ff;
}

.size.is-active {
  background: var(--lavender-soft);
}

.tool {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  transition: background 0.15s, color 0.15s, transform 0.12s;
}

.tool svg {
  width: 22px;
  height: 22px;
}

.tool:hover {
  background: #f6f1ff;
  color: var(--ink);
}

.tool:active {
  transform: scale(0.94);
}

.tool.is-active {
  background: var(--lavender-soft);
  color: var(--lavender-deep);
}

.tool:disabled {
  opacity: 0.32;
  cursor: default;
}

/* -------------------------------------------------------------- calendar */

.calendar {
  width: min(430px, calc(100vw - 30px));
  padding: 22px 22px 18px;
  border: none;
  border-radius: 30px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(50, 35, 90, 0.32);
  animation: card-in 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.05) both;
}

.calendar::backdrop {
  background: rgba(44, 34, 70, 0.34);
  backdrop-filter: blur(5px);
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.calendar-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 13px;
  background: transparent;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.12s, color 0.12s, transform 0.1s;
}

.calendar-day:hover {
  background: #f4efff;
}

.calendar-day:active {
  transform: scale(0.94);
}

.calendar-day.is-blank {
  visibility: hidden;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--lavender);
}

.calendar-day.is-selected {
  background: var(--lavender);
  color: #fff;
  box-shadow: 0 6px 14px rgba(150, 120, 240, 0.35);
}

.calendar-day.has-ink::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--pink-deep);
}

.calendar-day.is-selected.has-ink::after {
  background: #fff;
}

.calendar-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

/* ----------------------------------------------------------------- toast */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(92px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(51, 46, 61, 0.94);
  color: #fff;
  font-size: 13.5px;
  box-shadow: 0 12px 30px rgba(40, 30, 60, 0.3);
  animation: card-in 0.2s ease-out both;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 860px) {
  .topbar {
    gap: 8px;
    padding: 8px 10px;
    border-radius: 22px;
  }

  .brand-name {
    display: none;
  }

  .brand {
    padding-left: 2px;
  }

  .day-nav {
    gap: 6px;
  }

  .day-label strong {
    font-size: 17px;
  }

  .day-label span {
    font-size: 10px;
  }

  .save-state span:last-child {
    display: none;
  }

  .save-state {
    padding: 0 2px;
  }

  .circle-btn {
    width: 38px;
    height: 38px;
  }

  .circle-btn svg {
    width: 18px;
    height: 18px;
  }

  .pill-btn {
    padding: 9px 14px;
  }

  .avatar {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 18px);
    margin-top: 8px;
  }

  .today-btn,
  #todayBtn {
    display: none;
  }

  .paper {
    padding: 14px 14px 12px;
    border-radius: 26px;
  }

  .paper-head {
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .paper-date {
    font-size: 26px;
  }

  .paper-meta {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    padding-top: 2px;
  }

  .paper-tag {
    display: none;
  }

  .stage {
    width: calc(100% - 16px);
    margin-top: 12px;
  }

  .toolbar {
    gap: 2px;
    padding: 7px 8px;
    max-width: calc(100vw - 12px);
  }

  .swatch {
    width: 28px;
    height: 28px;
  }

  .size {
    width: 29px;
  }

  .tool {
    width: 34px;
    height: 34px;
  }

  .tool svg {
    width: 20px;
    height: 20px;
  }

  .tool-divider {
    margin: 0 2px;
  }

  }

@media (max-width: 520px) {
  .brand {
    display: none;
  }

  .day-label strong {
    font-size: 16px;
  }

  .tool-group {
    gap: 3px;
  }

  .toolbar {
    gap: 2px;
    padding: 6px 7px;
  }

  .swatch {
    width: 26px;
    height: 26px;
  }

  .size {
    width: 27px;
    height: 30px;
  }

  .tool {
    width: 31px;
    height: 32px;
  }

  .tool svg {
    width: 19px;
    height: 19px;
  }

  .tool-divider {
    margin: 0 1px;
  }
}

@media (max-width: 380px) {
  .day-label span {
    display: none;
  }

  .swatch {
    width: 25px;
    height: 25px;
  }

  .size {
    width: 25px;
  }

  .tool {
    width: 29px;
  }
}

@media (max-height: 720px) {
  .paper-head {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }

  .paper-date {
    font-size: 24px;
  }

  .paper {
    padding-top: 14px;
  }

  .topbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }
}

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