#setupBanner { flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 12px; }
.ann-bell-btn { position: relative; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: #fff; color: #1e293b; border: 1px solid #bfdbfe; font-size: 17px; transition: transform .1s ease, background-color .15s ease; }
.ann-bell-btn:hover { background: #eff6ff; }
.ann-bell-btn:active { transform: scale(.94); }
.ann-bell-badge { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 800; line-height: 17px; text-align: center; border: 2px solid #eff6ff; }
.ann-bell-badge.hidden { display: none; }

.ann-wrap { max-width: 720px; margin: 0 auto; padding: 16px 12px 24px; }
.ann-title-row h2 { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: #1e293b; }
.ann-card { display: block; width: 100%; padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #e2e8f0; text-align: left; }
.ann-list { display: flex; flex-direction: column; gap: 10px; }
.ann-item { display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: border-color .15s ease, transform .1s ease; }
.ann-item:hover { border-color: #cbd5e1; }
.ann-item:active { transform: scale(.992); }
.ann-item.is-unread { border-left: 4px solid #f59e0b; background: #fffbeb; }
.ann-item-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.ann-item-title { font-size: 14px; font-weight: 800; color: #1e293b; overflow-wrap: anywhere; }
.ann-new { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.ann-item-preview { font-size: 12px; font-weight: 600; line-height: 1.5; color: #64748b; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-item-date { font-size: 11px; font-weight: 700; color: #94a3b8; }
.ann-empty { text-align: center; padding: 28px 16px; font-size: 13px; font-weight: 700; color: #94a3b8; }
.ann-more { display: block; width: 100%; margin-top: 12px; padding: 12px; border-radius: 14px; background: #f1f5f9; color: #334155; font-size: 12px; font-weight: 800; }
.ann-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 9px 14px; border-radius: 12px; background: #e2e8f0; color: #334155; font-size: 12px; font-weight: 800; }
.ann-article-title { margin: 0; font-size: 17px; font-weight: 800; color: #1e293b; overflow-wrap: anywhere; }
.ann-article-date { margin: 4px 0 12px; font-size: 11px; font-weight: 700; color: #94a3b8; }
.ann-rich { font-size: 14px; font-weight: 500; line-height: 1.65; color: #334155; overflow-wrap: anywhere; }
.ann-rich p { margin: 0 0 10px; }
.ann-rich h4 { margin: 12px 0 6px; font-size: 15px; font-weight: 800; color: #1e293b; }
.ann-rich ul, .ann-rich ol { margin: 0 0 10px; padding-left: 22px; }
.ann-rich ul { list-style: disc; }
.ann-rich ol { list-style: decimal; }
.ann-rich li { margin-bottom: 4px; }
.ann-rich strong { font-weight: 800; color: #0f172a; }
.ann-rich > :last-child { margin-bottom: 0; }

.ann-label { display: block; margin: 12px 0 4px; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #475569; }
.ann-input { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 16px; font-weight: 600; color: #1e293b; outline: none; resize: vertical; }
.ann-input:focus { border-color: #64748b; box-shadow: 0 0 0 3px rgba(100, 116, 139, .2); }
.ann-count { margin-top: 2px; text-align: right; font-size: 10px; font-weight: 700; color: #94a3b8; }
.ann-hint { margin: 8px 0; font-size: 11px; font-weight: 600; line-height: 1.5; color: #64748b; }
.ann-error { min-height: 16px; margin-top: 6px; font-size: 12px; font-weight: 700; color: #be123c; }
.ann-note { margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; background: #f1f5f9; font-size: 12px; font-weight: 700; line-height: 1.5; color: #334155; }
.ann-note.ok { background: #dcfce7; color: #166534; }
.ann-note.bad { background: #ffe4e6; color: #9f1239; }
.ann-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.ann-toolbar button { min-width: 40px; height: 38px; padding: 0 10px; border-radius: 10px; background: #f1f5f9; border: 1px solid #cbd5e1; font-size: 14px; font-weight: 800; color: #334155; }
.ann-toolbar button.wide { margin-left: auto; font-size: 12px; }
.ann-toolbar button.active { background: #1e293b; border-color: #1e293b; color: #fff; }
#annAdminPreview { margin: 10px 0 0; }
.ann-radios { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: #1e293b; }
.ann-radios label, .ann-check { display: flex; align-items: center; gap: 8px; }
.ann-radios input, .ann-check input { width: 18px; height: 18px; accent-color: #1e293b; }
.ann-check { margin-top: 12px; font-size: 13px; font-weight: 700; color: #1e293b; }
.ann-admin-list { display: flex; flex-direction: column; gap: 10px; }
.ann-admin-item { padding: 14px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.ann-admin-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.ann-chip { padding: 3px 9px; border-radius: 999px; background: #f1f5f9; font-size: 10px; font-weight: 800; color: #475569; }
.ann-admin-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; }
.ann-btn { min-height: 42px; padding: 0 16px; border-radius: 12px; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.ann-btn.small { min-height: 34px; padding: 0 14px; }
.ann-btn.primary { background: #1e293b; color: #fff; }
.ann-btn.ghost { background: #fff; color: #334155; border: 1px solid #e2e8f0; }
.ann-btn.danger { background: #be123c; color: #fff; }
.ann-btn:disabled { opacity: .5; }
.ann-link { font-size: 11px; font-weight: 800; color: #1d4ed8; text-decoration: underline; text-underline-offset: 2px; }
.ann-picker-search { margin-top: 6px; }
.ann-picker-actions { display: flex; gap: 14px; margin: 6px 0; }
.ann-picker-list { max-height: 240px; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.ann-picker-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid #f1f5f9; cursor: pointer; }
.ann-picker-row:last-child { border-bottom: 0; }
.ann-picker-row input { width: 18px; height: 18px; accent-color: #1e293b; flex: 0 0 auto; }
.ann-picker-name { display: flex; flex-direction: column; min-width: 0; flex: 1; font-size: 13px; color: #1e293b; }
.ann-picker-name b { font-weight: 800; overflow-wrap: anywhere; }
.ann-picker-name small { font-size: 10px; font-weight: 600; color: #94a3b8; }
.ann-picker-nopush { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: #fef3c7; font-size: 9px; font-weight: 800; color: #92400e; }
.ann-picker-empty { padding: 14px 12px; text-align: center; font-size: 12px; font-weight: 700; color: #94a3b8; }
.ann-picker-summary { margin-top: 6px; font-size: 11px; font-weight: 700; color: #475569; }
.ann-admin-footer { display: flex; justify-content: flex-end; gap: 8px; }

#announcementsBottomNav { display: none; }
@media (max-width: 640px) {
  body.apu-announcements-nav-visible #announcementsBottomNav { display: grid !important; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
  body.apu-announcements-nav-visible #announcementsPage { padding-bottom: 78px !important; }
  body.apu-ios-pwa.apu-announcements-nav-visible #announcementsBottomNav { height: 82px !important; min-height: 82px !important; padding-bottom: 18px !important; }
  body:not(.apu-pwa-standalone).apu-announcements-nav-visible #announcementsBottomNav { height: 58px; min-height: 58px; padding-bottom: 0; }
  body:not(.apu-pwa-standalone).apu-announcements-nav-visible #announcementsBottomNav .apu-pwa-nav-item { min-height: 58px; }
}
@media (min-width: 641px) { #announcementsBottomNav { display: none !important; } }

