    body {
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    .memoAppRoot {
      width: 100%;
      height: 100%;
      display: grid;
      grid-template-columns: 290px 344px 1fr;
      background: #ececeb;
      overflow: hidden;
    }

    .memoAppSidebar,
    .memoAppListPanel,
    .memoAppEditorPanel {
      min-width: 0;
      min-height: 0;
    }

    .memoAppSidebar {
      background: #efefee;
      border-right: 1px solid rgba(60, 60, 67, 0.16);
      display: flex;
      flex-direction: column;
    }

    .memoAppListPanel {
      background: #f5f5f4;
      border-right: 1px solid rgba(60, 60, 67, 0.16);
      display: flex;
      flex-direction: column;
    }

    .memoAppEditorPanel {
      background: #fcfcfb;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .memoAppSidebarHeader,
    .memoAppListHeader,
    .memoAppEditorToolbar {
      flex-shrink: 0;
      display: flex;
      align-items: center;
    }

    .memoAppSidebarHeader, .memoAppListHeader {
        border-bottom: 1px solid rgba(60, 60, 67, 0.12);
        height: 61px;
        padding: var(--systemSpacing-0) var(--systemSpacing-16);
    }

    .memoAppEditorToolbar {
        height: fit-content;
        margin: var(--systemSpacing-8) var(--systemSpacing-0) var(--systemSpacing-8) var(--systemSpacing-0);
        border-radius: var(--systemSpacing-9999);
        padding: var(--systemSpacing-4);
    }

    .memoAppEditorToolbarDelete {
        padding: var(--systemSpacing-4);
        background-color: white;
        border-radius: var(--systemSpacing-9999);
    }

    .memoAppSidebarHeader {
      justify-content: flex-start;
    }

    .memoAppSidebarTitleWrap {
      display: flex;
      align-items: center;
      gap: var(--systemSpacing-8);
      min-width: 0;
    }

    .memoAppSidebarTitleImg img {
        display: block;
        width: var(--systemSpacing-32);
        height: var(--systemSpacing-32);
        border-radius: var(--systemSpacing-8);
    }

    .memoAppSidebarTitleText {
      min-width: 0;
    }

    .memoAppSidebarTitleText h1 {
        margin: 0;
        font-size: 16px;
        line-height: 1.0;
        font-weight: 700;
        color: var(--systemPrimary);
    }

    .memoAppSidebarTitleText p {
        font-size: 12px;
        color: var(--systemTertiary);
    }

    .memoAppIconBtn {
        width: 36px;
        height: 36px;
        border: none;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #57575b;
        flex-shrink: 0;
        position: relative;
    }

    .memoAppIconBtn:hover {
      background: #F5F5F5;
    }

    .memoAppIconBtn svg {
        display: block;
        fill: var(--systemPrimary);
    }

    .memoAppProjectMenuBtn svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .memoAppSidebarBody,
    .memoAppListBody {
      flex: 1;
      min-height: 0;
      overflow: auto;
    }

    .memoAppSidebarBody {
      padding: var(--systemSpacing-12) var(--systemSpacing-16);
    }

    .memoAppProjectCreateWrap {
      padding: 6px 4px 10px;
    }

    .memoAppProjectCreateInput {
      width: 100%;
      height: var(--systemSpacing-40);
      border: none;
      outline: none;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.7);
      padding: var(--systemSpacing-0) var(--systemSpacing-16);
      font-size: 14px;
      color: var(--systemSecondary);
      box-sizing: border-box;
    }

    .memoAppProjectCreateInput::placeholder,
    .memoAppHeadlineInput::placeholder,
    .memoAppParagraphInput::placeholder,
    .memoAppProjectTitleInput::placeholder {
      color: #a1a1a8;
    }

    .memoAppProjectGroup {
      margin-bottom: 18px;
      position: relative;
    }

    .memoAppProjectHeader {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding: 6px 2px 10px;
    }

    .memoAppProjectHeaderLeft {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
    }

    .memoAppProjectHeaderRight {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .memoAppProjectHeaderCount {
      font-size: 13px;
      color: #8a8a91;
      min-width: 14px;
      text-align: right;
    }

    .memoAppProjectChevron {
      width: 14px;
      height: 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      color: #78787d;
      flex-shrink: 0;
      transition: transform 0.16s ease;
      border: none;
      background: transparent;
      padding: 0;
      cursor: pointer;
    }

    .memoAppProjectChevron svg {
      width: 12px;
      height: 12px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .memoAppProjectTitleInput {
      margin: 0;
      padding: 0;
      width: 100%;
      min-width: 0;
      border: none;
      outline: none;
      background: transparent;
      font-size: 21px;
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #2f2f32;
    }

    .memoAppProjectMenuBtn {
      width: 28px;
      height: 28px;
      border: none;
      background: transparent;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: #7a7a81;
      opacity: 0;
      pointer-events: none;
      transition: background 0.14s ease, opacity 0.14s ease;
    }

    .memoAppProjectGroup:hover .memoAppProjectMenuBtn,
    .memoAppProjectMenuBtn.memoAppProjectMenuBtnOpen {
      opacity: 1;
      pointer-events: auto;
    }

    .memoAppProjectMenuBtn:hover {
      background: rgba(255, 255, 255, 0.62);
    }

    .memoAppProjectDropZone {
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding: 4px;
      border-radius: 12px;
      transition: background 0.16s ease, outline-color 0.16s ease;
      outline: 1px solid transparent;
    }

    .memoAppProjectDropZone.memoAppProjectDropActive {
      background: rgba(255, 209, 102, 0.18);
      outline-color: rgba(255, 179, 0, 0.4);
    }

    .memoAppProjectNoteList {
      display: flex;
      flex-direction: column;
      gap: 4px;
      padding-left: 26px;
    }

    .memoAppProjectNoteRow {
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 10px;
      padding: 8px 10px;
      text-align: left;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      color: #505057;
      transition: background 0.14s ease;
    }

    .memoAppProjectNoteRow:hover {
      background: rgba(255, 255, 255, 0.48);
    }

    .memoAppProjectNoteRow.memoAppProjectNoteRowActive {
      background: rgba(255, 255, 255, 0.92);
      color: #2f2f32;
    }

    .memoAppProjectNoteRowLeft {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .memoAppProjectNoteDot {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #b5b5bc;
      flex-shrink: 0;
    }

    .memoAppProjectNoteTitle {
      min-width: 0;
      font-size: 14px;
      font-weight: 500;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .memoAppProjectNoteCount {
      flex-shrink: 0;
      font-size: 12px;
      color: #9a9aa1;
    }

    .memoAppListHeader {
      justify-content: space-between;
      gap: 14px;
    }

    .memoAppListHeaderLeft {
      min-width: 0;
      display: flex;
      flex-direction: column;
      gap: 1px;
    }

    .memoAppListHeaderLeft h2 {
      margin: 0;
      font-size: 17px;
      font-weight: 700;
      letter-spacing: -0.02em;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .memoAppListHeaderLeft p {
      margin: 0;
      font-size: 12px;
      color: #7f7f86;
    }

    .memoAppListControls {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
    }

    .memoAppSearchWrap {
      padding: var(--systemSpacing-12) var(--systemSpacing-16);
      border-bottom: 1px solid rgba(60, 60, 67, 0.08);
      flex-shrink: 0;
    }

    .memoAppSearchBox {
      position: relative;
    }

    .memoAppSearchBox input {
      width: 100%;
      height: 36px;
      border: none;
      outline: none;
      border-radius: 12px;
      background: rgba(120, 120, 128, 0.12);
      padding: 0 14px 0 36px;
      font-size: 14px;
      color: #2f2f32;
      box-sizing: border-box;
    }

    .memoAppSearchIcon {
      position: absolute;
      top: 50%;
      left: 12px;
      transform: translateY(-50%);
      width: 16px;
      height: 16px;
      color: #7b7b82;
      pointer-events: none;
    }

    .memoAppSearchIcon svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .memoAppNoteSection {
        padding: var(--systemSpacing-12) var(--systemSpacing-16);
    }

    .memoAppNoteSectionTitle {
      margin: 0;
      padding: 0 12px 10px;
      font-size: 14px;
      font-weight: 700;
      color: #303035;
    }

    .memoAppNoteList {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .memoAppNoteCard {
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 12px;
      padding: 12px;
      text-align: left;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      gap: 4px;
      transition: background 0.16s ease, box-shadow 0.16s ease;
      position: relative;
    }

    .memoAppNoteCard:hover {
      background: rgba(255, 255, 255, 0.5);
    }

    .memoAppNoteCard.memoAppNoteCardActive {
      background: #ddddde;
      box-shadow: inset 0 0 0 1px rgba(60, 60, 67, 0.04);
    }

    .memoAppNoteCard.memoAppNoteCardPinned::after {
      content: "";
      position: absolute;
      top: 12px;
      right: 12px;
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #f4b400;
    }

    .memoAppNoteHeadline {
      margin: 0;
      padding-right: 14px;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.3;
      color: #2f2f32;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      overflow: hidden;
      word-break: break-word;
    }

    .memoAppNoteMeta {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      color: #6e6e75;
      line-height: 1.3;
    }

    .memoAppNoteParagraphPreview {
      font-size: 13px;
      line-height: 1.35;
      color: #6c6c73;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 1;
      overflow: hidden;
      word-break: break-word;
    }

    .memoAppEditorToolbar-all-wrp {
        display: flex;
        justify-content: right;
        background-color: #F5F5F4;
        border-bottom: 1px solid rgba(60, 60, 67, 0.12);
        padding-right: var(--systemSpacing-8);

        gap: var(--systemSpacing-8);
        align-items: center;
    }

    .memoAppEditorToolbar {
        display: flex;
        flex-direction: row;
        background-color: white;
    }

    .memoAppEditorArea {
      flex: 1;
      min-height: 0;
      overflow: auto;
      padding: 0 24px 32px;
    }

    .memoAppEditorMetaDate {
      text-align: center;
      font-size: 14px;
      color: #8a8a91;
      padding: 22px 0 10px;
    }

    .memoAppEditorInner {
      width: min(100%, 860px);
      margin: 0 auto;
      padding-top: 4px;
    }

    .memoAppHeadlineInput {
      width: 100%;
      border: none;
      outline: none;
      resize: none;
      background: transparent;
      padding: 0;
      margin: 0 0 12px;
      min-height: 56px;
      font-size: 40px;
      line-height: 1.08;
      font-weight: 700;
      letter-spacing: -0.045em;
      color: #2f2f2f;
      overflow: hidden;
    }

    .memoAppParagraphInput {
      width: 100%;
      min-height: 520px;
      border: none;
      outline: none;
      resize: none;
      background: transparent;
      padding: 0;
      margin: 0;
      font-size: 20px;
      line-height: 1.7;
      color: #444449;
      overflow: hidden;
    }

    .memoAppEmptyEditor {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      color: #8d8d94;
      text-align: center;
      padding: 24px;
    }

    .memoAppEmptyEditor h3 {
      margin: 0;
      font-size: 22px;
      color: #45454a;
      letter-spacing: -0.02em;
    }

    .memoAppEmptyEditor p {
      margin: 0;
      font-size: 15px;
      line-height: 1.5;
    }

    .memoAppMenu {
      position: absolute;
      z-index: 40;
      min-width: 220px;
      background: rgba(255, 255, 255, 0.94);
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      border: 1px solid rgba(255, 255, 255, 0.7);
      box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14), 0 3px 12px rgba(0, 0, 0, 0.08);
      border-radius: 24px;
      padding: 12px;
      display: none;
    }

    .memoAppMenu.memoAppMenuOpen {
      display: block;
    }

    .memoAppMenuItem {
      width: 100%;
      border: none;
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      text-align: left;
      padding: 12px 14px;
      border-radius: 16px;
      cursor: pointer;
      color: #2f2f32;
      font-size: 15px;
      transition: background 0.14s ease;
    }

    .memoAppMenuItem:hover {
      background: rgba(120, 120, 128, 0.12);
    }

    .memoAppMenuItemLeft {
      display: flex;
      align-items: center;
      gap: 8px;
      min-width: 0;
    }

    .memoAppMenuItem svg {
      width: 18px;
      height: 18px;
      stroke: currentColor;
      fill: none;
      stroke-width: 1.8;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }
    
    .memoAppHidden {
      display: none !important;
    }

    @media (max-width: 1180px) {
      .memoAppRoot {
        grid-template-columns: 260px 300px 1fr;
      }

      .memoAppHeadlineInput {
        font-size: 34px;
      }

      .memoAppParagraphInput {
        font-size: 18px;
      }
    }

    @media (max-width: 940px) {
      .memoAppRoot {
        grid-template-columns: 250px 1fr;
      }

      .memoAppListPanel {
        display: none;
      }
    }

    .memoAppProjectGroup {
  margin-bottom: 18px;
  position: relative;
}

.memoAppProjectHeaderRight {
  position: relative;
}

.memoAppProjectInlineMenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.14), 0 3px 12px rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 12px;
}

.memoAppProjectMenuBtn {
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #7a7a81;
  opacity: 0;
  pointer-events: auto;
  transition: background 0.14s ease, opacity 0.14s ease;
  position: relative;
  z-index: 2;
}

.memoAppProjectGroup:hover .memoAppProjectMenuBtn,
.memoAppProjectMenuBtn.memoAppProjectMenuBtnOpen {
  opacity: 1;
}

.memoAppConfirmOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 15, 18, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.memoAppConfirmModal {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18), 0 3px 12px rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  padding: 22px;
}

.memoAppConfirmTextWrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.memoAppConfirmTextWrap h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #202024;
  letter-spacing: -0.02em;
}

.memoAppConfirmTextWrap p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #66666d;
}

.memoAppConfirmActions {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-top: 20px;
}

.memoAppConfirmBtn {
  min-width: 92px;
  height: 40px;
  border: none;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.memoAppConfirmBtnCancel {
  background: rgba(120, 120, 128, 0.12);
  color: #2f2f32;
}

.memoAppConfirmBtnDelete {
  background: #FF345D;
  color: #ffffff;
}

.memoAppConfirmBtnCancel:hover {
  background: rgba(120, 120, 128, 0.18);
}

.memoAppConfirmBtnDelete:hover {
  filter: brightness(0.96);
}