#afterAddTags{width:min(92vw,420px);max-height:70dvh;padding:18px;border:1px solid #e3ddeb;border-radius:22px;background:#faf8ff;overflow:hidden}
#afterAddTags[open]{display:flex;flex-direction:column;gap:12px}
#afterAddTags header,#afterAddTags footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0}
#afterAddTags h2{font-size:17px;margin:0}#afterAddTags p{font-size:12px;color:#81758f;margin:0}
#afterAddTags button{min-height:34px;padding:6px 10px;border-radius:10px;background:#eee9f6;font-size:12px}
#finishAfterAddTags{background:#6958f5!important;color:#fff}
#afterAddTagChoices{display:flex;flex-wrap:wrap;gap:8px;overflow-y:auto;padding:3px 0}
#afterAddTagChoices label{display:flex;align-items:center;gap:5px;margin:0;padding:7px 10px;border:1px solid var(--tag-edge);border-radius:12px;background:var(--tag-soft);color:var(--tag-ink);font-size:12px;cursor:pointer}
#afterAddTagChoices input{width:15px;height:15px;min-height:15px;margin:0;accent-color:#6958f5}
#tagNotebook #notebookAddForm{display:flex;align-items:center;gap:8px;margin:0;padding:0 18px 10px 50px;flex-shrink:0}
#notebookNewTitle{width:100%;min-width:0;height:36px;padding:5px 6px;border:0;border-bottom:1px solid #c2cde1;border-radius:0;background:transparent;font-family:Caveat,'Kaiti SC',KaiTi,cursive;font-size:24px;color:#37334a;box-shadow:none}
#notebookAddForm button{width:36px;height:36px;min-height:36px;padding:0;flex-shrink:0;font-size:27px;border-radius:50%;background:#f0ecdf;color:#655d61}
