/* =====================================
   SAMSUNG NOTES - 단일 메모
===================================== */
#notesApp {
  position: absolute;
  inset: 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #292929;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

#notesApp.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nt-header {
  flex: none;
  min-height: 91px;
  padding: 42px 17px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nt-header h2 {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.2;
}

.nt-back {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 4px;
  background: transparent;
  color: #272727;
  cursor: pointer;
}

.nt-back svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nt-paper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 24px 21px 46px;
  font-size: 13px;
  line-height: 1.4;
  scrollbar-width: none;
}
.nt-paper::-webkit-scrollbar { display: none; }

.nt-checklist { display: flex; flex-direction: column; gap: 9px; }

.nt-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 27px;
  cursor: pointer;
}

.nt-check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  border: 1.5px solid #555;
  border-radius: 3px;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.nt-check-row input[type="checkbox"]:checked { border-color: #a7a7a7; }
.nt-check-row input[type="checkbox"]:checked::after {
  content: '';
  width: 8px;
  height: 4px;
  border-left: 1.5px solid #a7a7a7;
  border-bottom: 1.5px solid #a7a7a7;
  transform: translateY(-1px) rotate(-45deg);
}

.nt-check-text { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.nt-check-row input[type="checkbox"]:checked + .nt-check-text {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  color: #aaa;
}

.nt-body-text { margin: 32px 0 0; white-space: normal; }

.nt-exit {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 24px;
  border: 0;
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.nt-exit span { width: 105px; height: 4px; border-radius: 8px; background: #666; }
