@font-face {
  font-family: "Samsung One";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/SamsungOne-400.woff2") format("woff2");
}
@font-face {
  font-family: "Samsung One";
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/SamsungOne-700.woff2") format("woff2");
}
@font-face {
  font-family: "Samsung One Korean";
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/SamsungOneKorean-400.woff2") format("woff2");
}
@font-face {
  font-family: "Samsung One Korean";
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/SamsungOneKorean-700.woff2") format("woff2");
}

:root {
  --canvas: #f3f5f3;
  --paper: #ffffff;
  --ink: #171a18;
  --muted: #626963;
  --line: #d7ddd8;
  --line-strong: #b9c2bb;
  --green: #17664c;
  --green-soft: #e2eee8;
  --blue: #305f97;
  --amber: #aa6519;
  --toolbar-height: 62px;
  --footer-height: 54px;
  --notes-width: 360px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

[hidden] {
  display: none !important;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Samsung One", "Samsung One Korean", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.toolbar {
  position: fixed;
  z-index: 50;
  isolation: isolate;
  transform: translateZ(0);
  inset: 0 0 auto;
  height: var(--toolbar-height);
  display: grid;
  grid-template-columns: 38px minmax(180px, 1fr) auto minmax(132px, 1fr);
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 245, 243, 0.97);
}

.progress-track {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
}

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

.brand-block {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.brand-block strong {
  color: var(--green);
  font-size: 17px;
}

.brand-block span {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
}

.toolbar-actions {
  justify-self: end;
  display: flex;
  gap: 6px;
}

.icon-button {
  width: 36px;
  height: 36px;
  flex: none;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  border-color: var(--line);
  background: var(--paper);
}

.icon-button:focus-visible,
.view-modes button:focus-visible,
.toc-item:focus-visible,
.memo-action:focus-visible,
.memo-anchor:focus-visible,
.selection-note-button:focus-visible,
.note-location-button:focus-visible,
.text-button:focus-visible,
.primary-action:focus-visible,
.search-result:focus-visible,
.search-field:focus-within,
.note-form textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.icon-button svg,
.search-field svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.8;
}

.icon-fallback {
  font-size: 23px;
  line-height: 1;
}

html.lucide-ready .icon-fallback {
  display: none;
}

.note-button {
  position: relative;
}

.note-indicator {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 7px;
  height: 7px;
  display: none;
  border: 1px solid var(--canvas);
  border-radius: 50%;
  background: var(--amber);
}

.note-button.has-note .note-indicator {
  display: block;
}

.view-modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(52px, auto));
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #e8ece9;
}

.view-modes button {
  min-height: 29px;
  padding: 3px 11px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.view-modes button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--green);
  box-shadow: 0 1px 2px rgba(23, 26, 24, 0.12);
}

#deck {
  position: fixed;
  inset: var(--toolbar-height) 0 var(--footer-height);
  transition: right 180ms ease;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  background: var(--paper);
}

.slide.active {
  display: block;
}

.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  height: 100%;
}

.paper-pane {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  background: var(--paper);
}

.paper-pane + .paper-pane {
  border-left: 1px solid var(--line-strong);
  background: #fbfcfb;
}

.language-mark {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  justify-content: space-between;
  height: 32px;
  margin: 0;
  padding: 9px 28px 0;
  background: linear-gradient(to bottom, var(--paper) 72%, rgba(255, 255, 255, 0));
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.ko-pane .language-mark {
  background: linear-gradient(to bottom, #fbfcfb 72%, rgba(251, 252, 251, 0));
}

.language-mark span:first-child {
  color: var(--green);
}

.paper-copy {
  width: min(100%, 820px);
  min-height: 100%;
  margin: 0 auto;
  padding: 22px 44px 72px;
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 16px;
  line-height: 1.72;
  overflow-wrap: anywhere;
}

::highlight(note-anchors) {
  background: rgba(244, 205, 116, 0.48);
  color: inherit;
}

::highlight(active-note-anchor) {
  background: rgba(238, 171, 43, 0.72);
  color: inherit;
}

body.anchor-picking .paper-copy {
  cursor: text;
}

.ko-pane .paper-copy {
  font-family: "Samsung One Korean", "Noto Serif CJK KR", serif;
  line-height: 1.82;
  word-break: keep-all;
}

.paper-copy h1,
.paper-copy h2,
.paper-copy h3,
.paper-copy h4 {
  margin: 0 0 24px;
  color: var(--ink);
  font-family: "Samsung One", "Samsung One Korean", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

.paper-copy h1 {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
  font-size: 27px;
}

.paper-copy h2 {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 23px;
}

.paper-copy h4 {
  color: var(--green);
  font-size: 20px;
}

.paper-copy header h1,
.paper-copy > h1.title,
.paper-copy #title-block-header h1 {
  border: 0;
}

.paper-copy .title {
  max-width: 720px;
  margin: 16px 0 10px;
  padding: 0;
  border: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.2;
}

.paper-copy .title span {
  display: inline-block;
  margin-top: 8px;
  color: var(--green);
  font-size: 20px;
}

.paper-copy .author,
.paper-copy .date {
  display: inline-block;
  margin: 0 12px 24px 0;
  color: var(--muted);
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 13px;
}

.abstract {
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.abstract-title {
  margin-bottom: 14px;
  color: var(--green);
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.paper-copy p {
  margin: 0 0 18px;
}

.paper-copy strong {
  font-weight: 700;
}

.paper-copy em {
  color: #38433c;
}

.paper-copy a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.paper-copy .citation {
  white-space: nowrap;
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 0.88em;
  font-weight: 700;
  text-decoration: none;
}

.paper-copy ol,
.paper-copy ul {
  margin: 0 0 22px;
  padding-left: 24px;
}

.paper-copy li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.paper-copy blockquote,
.paper-copy .theorem,
.paper-copy .proposition,
.paper-copy .lemma,
.paper-copy .proof {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--green);
  background: var(--green-soft);
}

.paper-copy .proof {
  border-left-color: var(--amber);
  background: #fbf4ea;
}

.paper-copy figure {
  margin: 24px 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}

.paper-copy figcaption,
.paper-copy caption {
  color: var(--muted);
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 13px;
  line-height: 1.6;
  text-align: left;
}

.paper-copy table {
  display: block;
  width: 100%;
  margin: 20px 0 26px;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.paper-copy th,
.paper-copy td {
  min-width: 72px;
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.paper-copy th {
  background: #edf1ee;
  font-weight: 700;
}

.paper-copy .math.display {
  display: block;
  max-width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  overflow-y: hidden;
  text-align: center;
}

.paper-copy mjx-container {
  max-width: 100%;
}

.paper-copy code {
  font-size: 0.9em;
}

.references {
  padding-left: 27px !important;
  font-family: "Samsung One", "Samsung One Korean", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}

.references li {
  margin-bottom: 13px;
  scroll-margin-top: 42px;
}

body[data-view="en"] .proof-grid,
body[data-view="ko"] .proof-grid {
  grid-template-columns: minmax(0, 1fr);
}

body[data-view="en"] .ko-pane,
body[data-view="ko"] .en-pane {
  display: none;
}

body[data-view="en"] .en-pane,
body[data-view="ko"] .ko-pane {
  border-left: 0;
}

.deck-controls {
  position: fixed;
  z-index: 30;
  inset: auto 0 0;
  height: var(--footer-height);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  padding: 0 14px max(0px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--canvas);
  transition: right 180ms ease;
}

body.notes-open #deck,
body.notes-open .deck-controls {
  right: var(--notes-width);
}

.nav-button {
  width: 40px;
  height: 40px;
}

.nav-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.slide-status {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
}

.slide-status > span:first-child {
  max-width: min(560px, 60vw);
  overflow: hidden;
  color: var(--ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slide-status b {
  color: var(--green);
}

.selection-note-button {
  position: fixed;
  z-index: 45;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid #0d4937;
  border-radius: 6px;
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(23, 26, 24, 0.24);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.selection-note-button:hover {
  background: #10543e;
}

.selection-note-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
}

.notes-panel {
  position: fixed;
  z-index: 28;
  top: var(--toolbar-height);
  right: 0;
  bottom: var(--footer-height);
  width: var(--notes-width);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-left: 1px solid var(--line-strong);
  background: #fbfcfb;
  box-shadow: -12px 0 30px rgba(23, 26, 24, 0.08);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

body.notes-open .notes-panel {
  transform: translateX(0);
}

.notes-backdrop {
  display: none;
}

.notes-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.notes-header > div {
  min-width: 0;
}

.notes-header span {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.notes-header h2 {
  max-width: 270px;
  margin: 3px 0 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notes-list {
  min-height: 0;
  overflow: auto;
}

.memo-item {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.memo-item.active {
  box-shadow: inset 3px 0 var(--amber);
}

.memo-anchor {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  margin: 0 0 11px;
  padding: 8px 9px;
  border: 1px solid #e2d5b7;
  border-radius: 5px;
  background: #fff9ea;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.memo-anchor:hover {
  border-color: #c6a96c;
  background: #fff5dc;
}

.memo-anchor-language {
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
}

.memo-anchor-quote {
  display: -webkit-box;
  overflow: hidden;
  font-family: Georgia, "Times New Roman", "Samsung One Korean", serif;
  font-size: 12px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.memo-item p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.memo-actions {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}

.memo-action,
.text-button,
.primary-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.memo-action:hover,
.text-button:hover {
  border-color: var(--line-strong);
  background: var(--canvas);
  color: var(--ink);
}

.memo-action.delete-action:hover {
  border-color: #c88383;
  color: #9b3030;
}

.memo-action svg,
.text-button svg,
.primary-action svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

.note-form {
  padding: 14px;
  border-top: 1px solid var(--line-strong);
  background: var(--paper);
}

.note-location-button {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  padding: 7px 10px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: var(--canvas);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.note-location-button.has-anchor {
  border-style: solid;
  border-color: #d6c18e;
  background: #fff9ea;
  color: var(--ink);
}

.note-location-button svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.9;
}

.note-location-language {
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
}

.note-location-quote {
  overflow: hidden;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.note-form textarea {
  width: 100%;
  min-height: 112px;
  max-height: 240px;
  display: block;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  outline: 0;
  background: #fffef9;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.55;
}

.note-form textarea:disabled {
  background: #f1f3f1;
  color: var(--muted);
  cursor: not-allowed;
}

.note-form-actions {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  padding-top: 8px;
}

#noteStatus {
  margin-right: auto;
  color: var(--muted);
  font-size: 11px;
}

.primary-action {
  border-color: var(--green);
  background: var(--green);
  color: #ffffff;
}

.primary-action:hover {
  background: #10543e;
}

.primary-action:disabled {
  border-color: var(--line-strong);
  background: #d9dedb;
  color: #7d847f;
  cursor: not-allowed;
}

.toc-item.has-note .toc-number::after {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--amber);
  vertical-align: 1px;
}

dialog {
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(23, 26, 24, 0.2);
}

dialog::backdrop {
  background: rgba(23, 26, 24, 0.38);
}

.side-dialog {
  width: min(460px, calc(100vw - 28px));
  height: min(760px, calc(100vh - 28px));
  margin: 14px auto 14px 14px;
}

.search-dialog {
  width: min(720px, calc(100vw - 28px));
  max-height: min(720px, calc(100vh - 28px));
}

.dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.dialog-header span {
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
}

.dialog-header h2 {
  margin: 2px 0 0;
  font-size: 19px;
}

.toc-list {
  padding: 8px 0 24px;
}

.toc-item {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 20px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.toc-item:hover,
.toc-item[aria-current="true"] {
  background: var(--green-soft);
}

.toc-item.level-2 {
  padding-left: 30px;
}

.toc-item.level-4 {
  padding-left: 42px;
}

.toc-number {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.toc-label {
  min-width: 0;
}

.toc-label strong,
.toc-label small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toc-label strong {
  font-size: 13px;
}

.toc-label small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.search-field {
  height: 46px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin: 18px 20px 8px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

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

.search-summary {
  padding: 4px 20px 12px;
  color: var(--muted);
  font-size: 12px;
}

.search-results {
  max-height: 520px;
  overflow: auto;
  border-top: 1px solid var(--line);
}

.search-result {
  width: 100%;
  display: block;
  padding: 13px 20px;
  border: 0;
  border-bottom: 1px solid #edf0ee;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.search-result:hover {
  background: var(--green-soft);
}

.search-result strong,
.search-result span {
  display: block;
}

.search-result strong {
  margin-bottom: 4px;
  font-size: 13px;
}

.search-result span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result mark {
  background: #f4dba8;
  color: inherit;
}

@media (max-width: 1100px) {
  body.notes-open #deck,
  body.notes-open .deck-controls {
    right: 0;
  }

  .notes-backdrop:not([hidden]) {
    position: fixed;
    z-index: 27;
    inset: var(--toolbar-height) 0 var(--footer-height);
    display: block;
    background: rgba(23, 26, 24, 0.28);
  }
}

@media (max-width: 900px) {
  :root {
    --toolbar-height: 98px;
    --footer-height: 58px;
  }

  .toolbar {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-rows: 48px 42px;
    grid-template-areas:
      "menu brand actions"
      "modes modes modes";
    gap: 0 8px;
    padding: 0 12px 7px;
  }

  .menu-button { grid-area: menu; }
  .brand-block { grid-area: brand; }
  .toolbar-actions { grid-area: actions; }
  .view-modes {
    grid-area: modes;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }

  .proof-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }

  .paper-pane + .paper-pane {
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }

  .language-mark {
    height: 27px;
    padding: 7px 15px 0;
  }

  .paper-copy {
    width: 100%;
    padding: 14px 20px 52px;
    font-size: 15px;
    line-height: 1.66;
  }

  .ko-pane .paper-copy {
    line-height: 1.74;
  }

  .paper-copy .title {
    font-size: 26px;
  }

  .paper-copy .title span {
    font-size: 18px;
  }

  .paper-copy h1 {
    font-size: 23px;
  }

  .paper-copy h2 {
    font-size: 21px;
  }

  .paper-copy h4 {
    font-size: 18px;
  }

  body[data-view="en"] .proof-grid,
  body[data-view="ko"] .proof-grid {
    grid-template-rows: minmax(0, 1fr);
  }

  .slide-status {
    gap: 9px;
  }

  .slide-status > span:first-child {
    max-width: 56vw;
  }
}

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

  .toolbar-actions {
    gap: 1px;
  }

  .paper-copy {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 15px;
  }

  .side-dialog,
  .search-dialog {
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    max-height: calc(100vh - 16px);
    margin: 8px;
  }

  .notes-panel {
    width: 100%;
    border-left: 0;
  }

  .notes-header h2 {
    max-width: calc(100vw - 100px);
  }
}

@media (max-height: 600px) {
  .notes-header {
    min-height: 54px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .notes-list {
    min-height: 54px;
  }

  .note-form {
    padding: 9px 10px;
  }

  .note-location-button {
    min-height: 32px;
    margin-bottom: 6px;
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .note-form textarea {
    min-height: 58px;
    max-height: 90px;
  }

  .note-form-actions {
    min-height: 32px;
    padding-top: 5px;
  }

  .memo-item {
    padding-top: 12px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
