:root {
  color-scheme: light;
  --bg: #7f82ee;
  --panel: #ffffff;
  --text: #1b1b28;
  --muted: #8b8998;
  --line: #deddec;
  --soft-line: #efedf7;
  --accent: #ff8b5f;
  --blue: #7164f1;
  --green: #38c98b;
  --orange: #ffb15c;
  --purple: #8d79f6;
  --teal: #65d2df;
  --pink: #ff6fa8;
  --danger: #ff5d62;
  --dark: #171821;
  --radius: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 184, 122, 0.52), transparent 16rem),
    radial-gradient(circle at 88% 10%, rgba(255, 111, 168, 0.35), transparent 18rem),
    linear-gradient(135deg, #7a7deb 0%, #8a80f3 52%, #9a89f5 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.app-shell {
  min-height: 100vh;
}

.login-view {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(126, 126, 235, 0.40), rgba(126, 126, 235, 0.80)),
    url("https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.login-panel {
  width: min(420px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 30px 90px rgba(48, 43, 120, 0.28);
  backdrop-filter: blur(18px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

.login-panel h1 {
  font-size: 34px;
  line-height: 1.08;
}

.login-copy {
  margin: 12px 0 24px;
  color: var(--muted);
}

.auth-form,
.memo-form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: #3a3a3c;
  font-size: 13px;
  font-weight: 650;
}

input,
textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #f5f3fb;
  color: var(--text);
  padding: 11px 12px;
  outline: none;
}

textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

input:focus,
textarea:focus {
  border-color: rgba(113, 100, 241, 0.42);
  box-shadow: 0 0 0 4px rgba(113, 100, 241, 0.14);
}

.auth-actions,
.form-actions,
.top-actions,
.week-controls,
.view-toggle,
.search-box,
.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-actions button,
.form-actions button,
.icon-text {
  min-height: 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #8f7cf8, #6f5cf2);
  color: #fff;
  padding: 0 15px;
  font-weight: 700;
}

.secondary {
  background: var(--dark) !important;
}

.ghost {
  min-height: 38px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--blue);
  padding: 0 12px;
  font-weight: 700;
}

.danger {
  background: var(--danger) !important;
}

.form-actions button {
  min-height: 46px;
  border-radius: 999px;
}

.form-actions button[type="submit"] {
  background: var(--dark);
  box-shadow: 0 12px 24px rgba(23, 24, 33, 0.18);
}

.message {
  min-height: 20px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
}

.workspace {
  width: min(1460px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.topbar {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: -18px -22px 16px;
  padding: 18px 22px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0 0 26px 26px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 50px rgba(49, 43, 129, 0.18);
  backdrop-filter: blur(18px);
}

.topbar h1 {
  font-size: 28px;
  line-height: 1.15;
}

.top-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.user-pill {
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(246, 244, 255, 0.92);
  padding: 7px 11px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

#syncStatus {
  color: var(--green);
}

.today-alerts {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(112, 93, 239, 0.96), rgba(255, 111, 168, 0.90));
  padding: 16px;
  color: #fff;
  box-shadow: 0 18px 46px rgba(63, 52, 153, 0.26);
}

.alert-empty,
.alert-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
}

.alert-head strong,
.alert-empty strong {
  color: #fff;
}

.alert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #171821;
  padding: 8px 12px;
  box-shadow: 0 8px 18px rgba(41, 35, 117, 0.14);
  text-align: left;
}

.alert-item span:not(.alert-time) {
  color: #171821;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.alert-time {
  display: inline-grid;
  min-width: 48px;
  min-height: 24px;
  place-items: center;
  border-radius: 999px;
  background: #f0edff;
  color: #5a4adb;
  font-size: 12px;
}

.memo-time {
  color: #ff7d55;
  font-weight: 800;
  white-space: nowrap;
}

.alert-time {
  font-weight: 900;
  white-space: nowrap;
}

.open-reminder {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
}

.open-reminder-card {
  width: min(520px, 100%);
  max-height: min(640px, 86vh);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  padding: 16px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.open-reminder-list {
  display: grid;
  gap: 8px;
}

.open-reminder-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  width: 100%;
  border-radius: 12px;
  background: #f4f4f6;
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.open-reminder-item span:not(.memo-time) {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.control-band {
  display: grid;
  grid-template-columns: auto auto minmax(220px, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.week-controls {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(54, 45, 135, 0.12);
}

.week-controls input {
  width: 155px;
  min-height: 34px;
  border: 0;
  padding: 6px 8px;
}

.view-toggle {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.32);
  padding: 3px;
}

.view-toggle button {
  min-width: 52px;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.view-toggle button.active {
  background: var(--dark);
  color: var(--text);
  color: #fff;
  box-shadow: 0 8px 18px rgba(23, 24, 33, 0.22);
}

.square {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}

.search-box {
  justify-content: flex-end;
}

.search-box input {
  max-width: 420px;
  min-height: 42px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 28px rgba(54, 45, 135, 0.10);
}

.search-box .ghost {
  border: 0;
  background: transparent;
  color: #fff;
}

.layout {
  display: block;
}

.search-results {
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
  box-shadow: 0 18px 48px rgba(41, 35, 117, 0.18);
}

.month-day-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  padding: 14px;
  box-shadow: 0 18px 48px rgba(41, 35, 117, 0.18);
}

.month-day-panel .memo-card {
  min-height: 64px;
}

.search-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--muted);
}

.search-results-head strong {
  color: var(--text);
}

.search-results-list {
  display: grid;
  gap: 8px;
}

.search-result-item {
  display: grid;
  gap: 4px;
  width: 100%;
  border-radius: 14px;
  background: #f7f4ff;
  color: var(--text);
  padding: 12px;
  text-align: left;
}

.search-result-item span:not(.memo-time),
.search-empty {
  color: var(--muted);
  font-size: 13px;
}

.admin-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  padding: 16px;
  box-shadow: 0 30px 80px rgba(41, 35, 117, 0.24);
}

.admin-user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  background: #f7f4ff;
  padding: 14px;
}

.admin-user-item div:first-child {
  display: grid;
  gap: 4px;
}

.admin-user-item span {
  color: var(--muted);
  font-size: 13px;
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions-wide {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(134px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(41, 35, 117, 0.24);
}

body[data-view-mode="month"] .calendar-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

body[data-view-mode="day"] .calendar-grid {
  display: block;
}

.day-column {
  min-height: 520px;
  border-right: 1px solid #f0edf8;
  border-bottom: 1px solid #f0edf8;
  background: var(--panel);
}

.day-column:nth-child(7n) {
  border-right: 0;
}

body[data-view-mode="month"] .day-column {
  min-height: 152px;
}

body[data-view-mode="day"] .day-column {
  min-height: 360px;
  border: 0;
}

.weekday-0 {
  background: #fff4f7;
}

.weekday-1 {
  background: #f6f4ff;
}

.weekday-2 {
  background: #f2f8ff;
}

.weekday-3 {
  background: #f6fff9;
}

.weekday-4 {
  background: #fff8ef;
}

.weekday-5 {
  background: #fff3fb;
}

.weekday-6 {
  background: #f2fbff;
}

.outside-month {
  background: #f7f7f9;
  color: #a1a1a6;
}

body[data-view-mode="month"] .day-column.today .day-title strong {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

body:not([data-view-mode="month"]) .day-column.today .day-title strong {
  border-radius: 999px;
  background: rgba(255, 59, 48, 0.10);
  color: var(--accent);
  padding: 4px 10px;
}

.day-column.selected {
  box-shadow: inset 0 0 0 2px rgba(113, 100, 241, 0.72);
}

.day-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--soft-line);
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  text-align: left;
}

.day-title {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  background: transparent;
  color: var(--muted);
  text-align: left;
}

.day-head strong,
.day-title strong {
  color: var(--text);
  font-size: 16px;
}

.add-memo-button {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffb15c, #ff7d55);
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}

.add-memo-button:hover {
  filter: brightness(1.04);
}

.memo-list {
  display: grid;
  gap: 6px;
  padding: 8px;
}

.memo-card,
.blank-memo {
  display: grid;
  width: 100%;
  gap: 4px;
  min-height: 58px;
  border: 0;
  border-radius: 8px;
  background: #f8f6ff;
  color: var(--text);
  padding: 8px 9px;
  text-align: left;
}

.memo-card {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: start;
}

.memo-card .memo-details {
  grid-column: 3 / 5;
}

.memo-card:hover,
.blank-memo:hover {
  filter: brightness(0.985);
}

.memo-card.done {
  background: #f1eff7;
  color: #8e8e93;
}

.memo-tone-1 {
  background: linear-gradient(135deg, rgba(113, 100, 241, 0.16), rgba(113, 100, 241, 0.07));
  border-left: 3px solid var(--blue);
}

.memo-tone-2 {
  background: linear-gradient(135deg, rgba(56, 201, 139, 0.16), rgba(56, 201, 139, 0.07));
  border-left: 3px solid var(--green);
}

.memo-tone-3 {
  background: linear-gradient(135deg, rgba(255, 177, 92, 0.26), rgba(255, 177, 92, 0.10));
  border-left: 3px solid var(--orange);
}

.memo-tone-4 {
  background: linear-gradient(135deg, rgba(141, 121, 246, 0.20), rgba(141, 121, 246, 0.08));
  border-left: 3px solid var(--purple);
}

.memo-tone-5 {
  background: linear-gradient(135deg, rgba(255, 111, 168, 0.20), rgba(255, 111, 168, 0.08));
  border-left: 3px solid var(--pink);
}

.memo-tone-6 {
  background: linear-gradient(135deg, rgba(101, 210, 223, 0.20), rgba(101, 210, 223, 0.08));
  border-left: 3px solid var(--teal);
}

.memo-card.done strong {
  text-decoration: line-through;
}

.done-toggle {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1.8px solid #c9c4df;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  margin-top: 1px;
}

.done-toggle.checked {
  border-color: var(--purple);
  background: linear-gradient(135deg, #8f7cf8, #6f5cf2);
}

.done-toggle.checked::after {
  content: "";
  width: 8px;
  height: 4px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.memo-card strong {
  overflow-wrap: anywhere;
  color: #171821;
  font-size: 13px;
  font-weight: 800;
}

.memo-card.done strong {
  color: #8e8e93;
}

.memo-preview {
  position: fixed;
  z-index: 50;
  width: min(320px, calc(100vw - 32px));
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 13px 14px;
  box-shadow: 0 20px 56px rgba(39, 33, 110, 0.26);
  pointer-events: none;
  backdrop-filter: blur(14px);
}

.memo-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  color: #5a4adb;
  font-size: 12px;
  font-weight: 900;
}

.memo-preview strong {
  display: block;
  color: #171821;
  font-size: 15px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.memo-preview p {
  margin: 8px 0 0;
  color: #4d4b5c;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.memo-delete-slot {
  display: flex;
  justify-content: flex-end;
}

.delete-inline {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 93, 98, 0.13);
  color: var(--danger);
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.delete-inline:hover {
  background: rgba(255, 93, 98, 0.24);
}

.memo-details {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blank-memo {
  place-items: center;
  border: 1px dashed #d6d0f0;
  background: transparent;
  color: #9a8ff0;
  text-align: center;
}

body[data-view-mode="month"] .blank-memo {
  min-height: 28px;
  border: 0;
  color: var(--blue);
  font-size: 18px;
}

body[data-view-mode="month"] .blank-memo::before {
  content: "+";
}

body[data-view-mode="month"] .blank-memo {
  font-size: 0;
}

.memo-modal {
  position: fixed;
  z-index: 18;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(30, 26, 75, 0.36);
  backdrop-filter: blur(10px);
}

.editor-panel {
  width: min(440px, 100%);
  max-height: min(720px, 88vh);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  padding: 16px;
  box-shadow: 0 30px 90px rgba(36, 30, 100, 0.34);
}

.panel-title {
  justify-content: space-between;
  margin-bottom: 14px;
}

.panel-title h2 {
  font-size: 20px;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-row input {
  width: 18px;
  height: 18px;
}

@media (max-width: 820px) {
  .workspace {
    padding: 12px;
  }

  .topbar {
    position: static;
    display: grid;
    margin: -12px -12px 12px;
    padding: 14px;
    border-radius: 0 0 22px 22px;
  }

  .topbar h1 {
    font-size: 24px;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 8px;
  }

  .top-actions .icon-text,
  .top-actions .ghost,
  .top-actions .user-pill {
    min-width: 0;
    min-height: 36px;
    padding: 0 11px;
    font-size: 13px;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .control-band {
    grid-template-columns: 1fr;
  }

  .week-controls,
  .view-toggle,
  .search-box {
    width: 100%;
  }

  .week-controls {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
  }

  .week-controls input {
    width: 100%;
  }

  .view-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .search-box {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .search-box input {
    max-width: none;
  }

  body[data-view-mode="week"] .calendar-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  body[data-view-mode="week"] .day-column {
    min-height: 132px;
    border-right: 0;
  }

  body[data-view-mode="month"] .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    border-radius: 22px;
  }

  body[data-view-mode="month"] .day-column {
    min-height: 82px;
  }

  body[data-view-mode="month"] .day-head {
    display: flex;
    align-items: center;
    padding: 4px 3px;
    gap: 2px;
  }

  body[data-view-mode="month"] .day-title {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 3px 1px;
  }

  body[data-view-mode="month"] .day-title span {
    display: none;
  }

  body[data-view-mode="month"] .day-title strong {
    font-size: 12px;
  }

  body[data-view-mode="month"] .add-memo-button {
    width: 18px;
    height: 18px;
    font-size: 14px;
  }

  body[data-view-mode="month"] .memo-list {
    gap: 4px;
    padding: 4px;
  }

  body[data-view-mode="month"] .memo-card {
    display: none;
  }

  body[data-view-mode="month"] .month-day-panel .memo-card {
    display: grid;
  }

  body[data-view-mode="month"] .month-day-panel .memo-list::before {
    display: none;
  }

  body[data-view-mode="month"] .memo-list[data-count]:not([data-count=""])::before {
    content: attr(data-count);
    display: grid;
    min-height: 22px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #5a4adb;
    font-size: 11px;
    font-weight: 900;
  }

  body[data-view-mode="month"] .blank-memo {
    display: none;
    min-height: 24px;
    padding: 2px;
    border: 0;
    font-size: 0;
  }

  body[data-view-mode="day"] .day-column {
    min-height: 260px;
  }

  body[data-view-mode="day"] .memo-card,
  body[data-view-mode="day"] .blank-memo {
    min-height: 78px;
    padding: 12px;
  }
}

@media (max-width: 520px) {
  .login-view {
    padding: 14px;
  }

  .login-panel {
    padding: 22px;
    border-radius: 16px;
  }

  .auth-actions,
  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .top-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-actions .icon-text,
  .top-actions .ghost,
  .top-actions .user-pill {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .top-actions .user-pill,
  .top-actions #syncStatus {
    grid-column: span 1;
    text-align: center;
  }

  .today-alerts,
  .editor-panel,
  .calendar-grid,
  .admin-panel {
    border-radius: 20px;
  }

  .admin-user-item {
    display: grid;
  }

  .admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  body[data-view-mode="month"] .day-column {
    min-height: 108px;
  }

  body[data-view-mode="month"] .day-column.today .day-title strong {
    width: 24px;
    height: 24px;
  }

  body[data-view-mode="month"] .add-memo-button {
    width: 16px;
    height: 16px;
    font-size: 12px;
  }

  .memo-card {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
  }
}
