dialog.yr-notebook {box-sizing:border-box; width:min(100%,48rem); max-width:100%; height:90dvh; max-height:100%; padding:0; color:#392c23; background:#fbf5e9; border:1px solid #b89c76; border-radius:1rem; box-shadow:0 .8rem 3rem #21130c55;}
.yr-notebook::backdrop {background:#20150ebd}
.yr-notebook header,.yr-notebook section {padding:1rem clamp(1rem,4vw,2rem)}
.yr-notebook header,.yr-notebook section>div {display:flex;align-items:center;justify-content:space-between;gap:1rem}
.yr-notebook header {border-bottom:1px solid #c6b798}
.yr-notebook h2,.yr-notebook h3 {font-family:Georgia,serif;margin:.5rem 0;color:inherit}
.yr-notebook button,.yr-notebook select {font:inherit;min-height:44px;color:#402d1e;background:#fffaf0;border:1px solid #b8a68c;border-radius:.5rem;padding:.5rem .85rem}
.yr-notebook section {display:grid;gap:.8rem}
.yr-notebook section>button {text-align:start}
.yr-notebook button small {display:block;color:#675440}
.yr-notebook textarea.yr-note-paper {box-sizing:border-box;width:100%;min-height:48dvh;line-height:2rem;font-size:1.125rem;color:#382b24;border:1px solid #c5b597;border-radius:.25rem;padding:1rem 1.2rem;background:repeating-linear-gradient(to bottom,#fffaf0 0 1.94rem,#d9cbb4 1.94rem 2rem) 0 1rem;resize:vertical}
@media(max-width:600px){dialog.yr-notebook{width:100%;height:100dvh;border-radius:0;margin:auto;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}}

button.yr-journal-notes {
  display:flex;
  align-items:center;
  gap:.65rem;
  box-sizing:border-box;
  width:100%;
  min-height:48px;
  margin-block-start:.65rem;
  padding:.7rem 1rem;
  border:1px solid var(--yr-line,#cbbfb0);
  border-radius:.75rem;
  background:var(--yr-card,#fbf7f0);
  color:var(--yr-ink,#362c25);
  font:inherit;
  font-weight:600;
  text-align:start;
  cursor:pointer;
}
.yr-journal-notes svg:last-child {margin-inline-start:auto}
.yr-journal-notes:focus-visible {outline:2px solid currentColor;outline-offset:2px}
