.actions-error {color:var(--danger);line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;}
.actions-muted {color:var(--muted);font-size:14px;line-height:1.5;}
.actions-buttons,.note-actions {display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.note-actions {margin-top:10px;}.note-actions button {font-size:13px;padding:5px 8px;}
.note-deleted {color:var(--muted);font-style:italic;}.event.note .event-content>small {display:block;margin-top:8px;}
.note-editor,.staff-dialog {width:min(620px,calc(100vw - 24px));max-height:90dvh;overflow:auto;scrollbar-color:var(--line) var(--background);scrollbar-width:thin;}
.note-editor header,.staff-dialog header {display:flex;align-items:center;justify-content:space-between;gap:16px;}.note-editor h2,.staff-dialog h2 {font-size:21px;margin:0;}
.note-editor-form,.note-versions,.staff-dialog-body,.staff-challenge,.notification-list {padding:20px 24px;}
.note-editor-form label {display:grid;gap:8px;}.note-editor textarea {width:100%;min-height:160px;resize:vertical;}.note-editor footer {margin-top:16px;}.note-editor .note-versions {padding:16px 0;}.note-version {padding:12px 0;border-top:1px solid var(--line);}.note-version p {white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch;}
.staff-profile {padding:20px 25px;border-top:1px solid var(--line);}.staff-profile h3 {margin:0 0 12px;font-size:18px;}.staff-profile form {display:grid;gap:10px;}.staff-profile input {width:100%;}.staff-profile .staff-challenge {padding:16px 0;}.staff-challenge code {display:block;font-size:22px;letter-spacing:.06em;user-select:all;overflow-wrap:anywhere;}.staff-challenge a {color:var(--focus);text-underline-offset:3px;}
.staff-dialog>button,.staff-dialog>.actions-error {margin:12px 24px;}.notification-item {padding:16px 0;border-bottom:1px solid var(--line);}.notification-item.is-unread {background:var(--panel);}.notification-item h3 {margin:0 0 8px;font-size:17px;}.notification-item p {margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere;}.notification-item a {display:inline-block;margin:4px 0 12px;color:var(--focus);text-underline-offset:3px;}
#card .stage-picker-trigger {display:flex;align-items:center;gap:9px;width:100%;padding:8px 0;text-align:left;border:0;border-radius:0;background:transparent;color:var(--text);min-width:0;}
.stage-picker-swatch {display:inline-block;width:11px;height:11px;flex:0 0 11px;border:1px solid #ffffff66;border-radius:2px;}.stage-picker-name {flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal;}.stage-picker-arrow {height:7px;width:7px;flex:0 0 7px;border-right:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin:0 8px 4px;}
.stage-picker-list {position:fixed;z-index:1100;overflow:auto;padding:5px;background:var(--panel);border:1px solid var(--line);border-radius:3px;box-shadow:0 8px 24px #0005;scrollbar-width:thin;scrollbar-color:var(--line) var(--background);}
.stage-picker-list button {display:flex;align-items:center;gap:10px;width:100%;min-height:38px;text-align:left;padding:9px 10px;border:0;border-radius:0;line-height:1.4;white-space:normal;overflow-wrap:anywhere;}.stage-picker-list button[aria-selected=true] {background:#23465c;font-weight:700;}.stage-picker-list button:focus-visible {outline-offset:-2px;}
#card .compose-toolbar {flex-wrap:wrap;gap:8px;}#card #compose-action,#card #compose-channel {max-width:100%;height:28px;min-height:28px;margin:0;padding:3px 16px 3px 0;border:0;border-radius:0;background:transparent;color:var(--focus);font:400 13px/20px var(--parity-font);}#card #compose-channel {min-width:0;}#card #conversation-name {white-space:normal;}#card #compose.minimized #compose-action {grid-row:1;grid-column:1;max-width:200px;}#card #compose.minimized #conversation-name {grid-row:2;grid-column:1/-1;font-size:12px;line-height:18px;}#card #compose.is-task #text {display:none;}#card #compose.is-task .compose-actions {display:flex;}#card #compose.is-task .compose-shortcut {display:none;}
#login #telegram-login {background:transparent;border-color:var(--line);margin-top:10px;}.actions-error:empty {display:none;}
@media(max-width:650px){.note-editor-form,.note-versions,.staff-dialog-body,.notification-list {padding:16px;}.staff-profile {padding:16px;}.note-editor header,.staff-dialog header {gap:8px;}.actions-buttons {gap:8px;}.stage-picker-list {max-width:calc(100vw - 24px);}}
