/* The public ceiling applies independently to each notes body, including archives. */
.mid-row .info-body.rich-notes{max-height:300px;overflow:hidden;overflow:clip;overflow-wrap:anywhere}
.public-rules-link[hidden],#notesLimitMessage[hidden],#publicNoteCounter[hidden]{display:none!important}
#notesPanel #notesEditorSurface{flex:0 1 auto;min-height:112px;max-height:300px;padding:14px 16px;overflow:auto;overflow-wrap:anywhere}
#notesPanel .notes-header-shell{flex-wrap:wrap}
#notesPanel .note-save-group{min-width:0;flex-wrap:wrap}
#notesPanel .note-save-status{white-space:normal}
#notesLimitMessage{margin:0;color:#ffb6b6;font-size:.85rem}
#notesPanel .notes-editor-toolbar{align-items:center;gap:6px}
#notesPanel .note-block-style{width:128px;min-width:0;padding-right:24px}
#notesPanel .note-tool{padding-right:8px;padding-left:8px}
#publicNoteCounter{display:block;flex:0 0 auto;margin-left:auto;padding:6px 10px;border:1px solid rgba(255,255,255,.22);border-radius:6px;background:#202020;color:#91dfaa;font-size:.8rem;white-space:nowrap;font-variant-numeric:tabular-nums}
#publicNoteCounter.near-limit{color:#ffd279}
#publicNoteCounter.at-limit{color:#ffadad}
.public-rules-link{color:inherit;font-size:.84rem;font-weight:900;letter-spacing:.06em;text-transform:uppercase;text-decoration:none;white-space:nowrap}
.public-rules-link:hover,.public-rules-link:focus-visible,.rules-info-link,.rules-info-link:hover,.rules-info-link:focus-visible{text-decoration:none}
.mobile-rules-link{display:none}
@media(max-width:700px){.mobile-rules-link:not([hidden]){display:block;text-align:center;padding:10px}.mid-row .info-body.rich-notes{max-height:300px}}
