/* 메모 */
#app-notes { background: #f2f2f7; }
#app-notes .app-back, #app-notes .nt-btn { color: #d6a300; }
.nt-view { display: none; flex: 1; min-height: 0; flex-direction: column; }
#app-notes[data-view="list"] .nt-list, #app-notes[data-view="edit"] .nt-edit { display: flex; }
.nt-h { font-size: 32px; font-weight: 800; letter-spacing: -.5px; margin: 2px 16px 8px; }
.nt-search { display: flex; align-items: center; gap: 7px; margin: 0 16px 12px; padding: 0 10px; height: 36px; border-radius: 10px; background: rgba(118,118,128,.12); }
.nt-search svg { width: 15px; height: 15px; stroke: #8e8e93; fill: none; stroke-width: 2.2; stroke-linecap: round; }
.nt-search input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 16px; }
.nt-sec { font-size: 19px; font-weight: 700; margin: 6px 16px 8px; }
.nt-group { margin: 0 16px 14px; background: #fff; border-radius: 12px; overflow: hidden; }
.nt-row { appearance: none; border: 0; background: none; font: inherit; color: inherit; width: 100%; text-align: left; padding: 10px 16px; display: block; cursor: pointer; position: relative; }
.nt-row + .nt-row::before { content: ""; position: absolute; left: 16px; right: 0; top: 0; border-top: .5px solid #e5e5ea; }
.nt-row:active { background: #e5e5ea; }
.nt-row b { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-row span { display: block; font-size: 14px; color: #8e8e93; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt-row span time { color: #3c3c43; margin-right: 6px; }
.nt-empty { font-size: 14px; color: #8e8e93; text-align: center; padding: 30px 0; }
.nt-bar { flex: none; display: flex; align-items: center; justify-content: center; position: relative; height: 44px; background: rgba(249,249,249,.94); border-top: .5px solid #d1d1d6; font-size: 11.5px; color: #3c3c43; }
.nt-new { appearance: none; border: 0; background: none; position: absolute; right: 12px; top: 6px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; color: #d6a300; }
.nt-new svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nt-edit { background: #fff; }
.nt-etop { display: flex; align-items: center; height: 44px; padding: 0 8px; flex: none; }
.nt-btn { appearance: none; border: 0; background: none; font: inherit; font-size: 17px; padding: 6px 8px; cursor: pointer; display: flex; align-items: center; gap: 3px; }
.nt-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nt-btn.done { font-weight: 600; }
.nt-btn.warn { color: #ff3b30 !important; font-size: 14px; }
.nt-meta { font-size: 12.5px; color: #8e8e93; text-align: center; margin: 2px 0 6px; flex: none; }
.nt-text { flex: 1; min-height: 0; width: 100%; border: 0; outline: none; resize: none; padding: 4px 18px 20px; font: inherit; font-size: 17px; line-height: 1.45; color: #000; background: none;
  touch-action: pan-y; user-select: text; -webkit-user-select: text; }
.nt-text::first-line { font-size: 26px; font-weight: 700; }
/* 잠금 메모 암호 입력 */
.nt-lock { position: absolute; inset: 0; z-index: 20; background: rgba(242,242,247,.97); display: flex; align-items: center; justify-content: center; }
.nt-lk-box { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; max-width: 320px; }
.nt-lk-ic { font-size: 40px; }
.nt-lk-box b { font-size: 18px; } .nt-lk-box small { color: #8e8e93; font-size: 14px; }
.nt-lk-dots { display: flex; gap: 16px; margin: 14px 0 22px; }
.nt-lk-dots i { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #555; }
.nt-lk-dots i.on { background: #333; }
.nt-lk-dots.err { animation: ntShake .4s; } .nt-lk-dots.err i { border-color: #ff3b30; }
@keyframes ntShake { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.nt-lk-pad { display: grid; grid-template-columns: repeat(3, 72px); gap: 14px 22px; }
.nt-lk-pad button { width: 72px; height: 72px; border-radius: 50%; border: 0; background: #fff; font: inherit; font-size: 28px; color: #111; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; }
.nt-lk-pad button:active { background: #ddd; }
.nt-lk-cancel { margin-top: 18px; border: 0; background: none; font: inherit; font-size: 16px; color: #e0a800; cursor: pointer; }
