.note-selection-tools,.note-text-menu{position:fixed;z-index:9000;background:#fff;border:1px solid #e5e9f0;box-shadow:0 6px 28px #26365324;border-radius:9px;color:#34425b}.note-selection-tools[hidden],.note-text-menu[hidden],.note-shortcut-dialog[hidden],.note-shortcut-status[hidden]{display:none!important}.note-selection-tools{display:flex;align-items:center;gap:3px;padding:6px;max-width:calc(100vw - 16px)}.note-selection-tools button,.note-selection-tools select,.note-selection-tools summary{border:0;background:transparent;color:#48566f;height:32px;padding:4px 9px;border-radius:5px;cursor:pointer;font-size:17px}.note-selection-tools button:hover,.note-selection-tools summary:hover,.note-selection-tools button[aria-pressed=true]{background:#edf3ff;color:#3063ce}.note-selection-tools select{font-size:14px;min-width:100px;outline-color:#759ae5}.note-selection-tools .note-shortcut-bold{font-size:21px;font-weight:700}.note-shortcut-colors{position:relative}.note-shortcut-colors summary{list-style:none;box-sizing:border-box;border-bottom:3px solid red}.note-shortcut-colors summary::-webkit-details-marker{display:none}.note-color-palette{position:absolute;right:0;left:auto;top:39px;background:white;border:1px solid #e0e6f0;border-radius:8px;box-shadow:0 5px 18px #29334f22;padding:12px;display:grid;grid-template-columns:repeat(4,28px);gap:8px;min-width:140px}.note-color-palette button{height:26px;width:26px;padding:0;border:1px solid #d2dae7;border-radius:4px}.note-color-palette button[aria-label='清除高亮']{grid-column:1/-1;width:auto;font-size:12px;height:auto;padding:5px}.note-color-palette label{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:12px}.note-color-palette input{width:32px;height:26px;border:0;padding:0}.note-text-menu{width:190px;padding:6px}.note-text-menu button{display:block;text-align:left;width:100%;border:0;background:transparent;color:#4c5b75;padding:10px 16px;border-radius:4px;font-size:14px;cursor:pointer}.note-text-menu button:hover,.note-text-menu button:focus-visible{background:#eef2f7;outline:none}.note-text-menu hr{height:1px;background:#e8edf4;border:0;margin:4px 12px}.note-shortcut-dialog{position:fixed;inset:0;background:#19243855;display:flex;align-items:center;justify-content:center;z-index:9100}.note-shortcut-box{background:white;padding:24px;border-radius:12px;width:min(420px,calc(100vw - 40px));box-sizing:border-box;box-shadow:0 10px 40px #17213444;color:#34435b}.note-shortcut-box strong{font-size:17px}.note-shortcut-box p{font-size:14px;line-height:1.6}.note-shortcut-box textarea{box-sizing:border-box;width:100%;min-height:80px;border:1px solid #cbd5e4;border-radius:6px;padding:12px;resize:vertical}.note-shortcut-box button{border:1px solid #d6deea;border-radius:6px;padding:7px 16px;background:#fff;color:#3e506e;margin-top:14px;cursor:pointer}.note-shortcut-box dl{display:grid;grid-template-columns:1fr auto;gap:12px;font-size:14px;margin-top:22px}.note-shortcut-box dd{margin:0;font-weight:600}.note-shortcut-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#263754;color:white;border-radius:8px;padding:10px 16px;max-width:calc(100vw - 40px);z-index:9200;font-size:13px;box-shadow:0 4px 14px #26375433}.note-format-painter,.note-format-painter *{cursor:copy!important}@media(max-width:500px){.note-selection-tools{gap:0;padding:3px}.note-selection-tools button,.note-selection-tools summary{padding:4px 6px;font-size:15px}.note-selection-tools select{min-width:80px;padding:4px;font-size:12px}}
