.contribute-forum-page {
    width: min(1120px, calc(100% - 32px));
    margin: 24px auto 40px;
}
.contribute-forum-main {
    min-width: 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
    background: #eef1f4;
}
.contribute-forum-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 4px solid #ffc000;
    background: #092d4d;
    color: #fff;
}
.contribute-forum-header h1 {
    margin: 0;
    font: 700 24px/1.1 'Roboto Condensed', sans-serif;
    letter-spacing: 0;
}
.contribute-forum-header p { margin: 4px 0 0; color: #d7e4ed; font-size: 12px; }
.contribute-forum-actions { display: flex; align-items: center; gap: 8px; }
.forum-notifications-button { position: relative; border: 1px solid rgba(255,255,255,.45); border-radius: 5px; padding: 8px 11px; background: transparent; color: #fff; font: 700 12px 'Open Sans',sans-serif; cursor: pointer; }
.forum-notifications-button:hover { background: rgba(255,255,255,.1); }
.contribute-notifications-panel { position: fixed; z-index: 5200; top: 0; right: 0; width: min(390px,100%); max-width: 100%; height: 100dvh; display: flex; flex-direction: column; visibility: hidden; transform: translateX(100%); background: #eef1f4; box-shadow: -16px 0 40px rgba(9,45,77,.25); transition: transform .2s ease,visibility .2s; }
.contribute-notifications-panel.visible { visibility: visible; transform: translateX(0); }
.contribute-notifications-header { min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; border-bottom: 4px solid #ffc000; background: #092d4d; color: #fff; }
.contribute-notifications-header h2 { margin: 0; font: 700 18px 'Roboto Condensed',sans-serif; letter-spacing: 0; }
.contribute-notifications-header button { border: 0; padding: 4px; background: transparent; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.contribute-notifications-panel .notifications-body { min-height: 0; flex: 1; overflow-y: auto; padding: 12px; }
.contribute-notifications-panel .notifications-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.contribute-notifications-panel .notifications-title { margin: 0; color: #092d4d; font: 700 14px 'Roboto Condensed',sans-serif; letter-spacing: 0; }
.contribute-notifications-panel .notifications-refresh { border: 0; background: transparent; color: #174f78; font-size: 12px; font-weight: 700; cursor: pointer; }
.contribute-notifications-panel .notifications-list { display: grid; gap: 8px; }
.contribute-notifications-panel .notifications-item { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 10px; border: 1px solid #cbd5e1; border-left: 4px solid #64748b; border-radius: 6px; padding: 11px; background: #fff; color: inherit; }
.contribute-notifications-panel .notifications-item.unread { border-left-color: #d12e2e; background: #fff8f8; }
.contribute-notifications-panel .notifications-item-icon { display: flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; background: #edf3f8; color: #003366; }
.contribute-notifications-panel .notifications-item h4 { margin: 1px 0 4px; color: #172b3a; font-size: 13px; }
.contribute-notifications-panel .notifications-item p { margin: 0; color: #475569; font-size: 12px; line-height: 1.4; }
.contribute-notifications-panel .notifications-item-meta { color: #64748b; font-size: 10px; }
.contribute-notifications-panel .notifications-loading,.contribute-notifications-panel .notifications-error,.contribute-notifications-panel .notifications-empty { padding: 30px 12px; text-align: center; color: #64748b; font-size: 12px; }
.contribute-forum-page .forum-panel {
    position: static;
    width: 100%;
    height: auto;
    max-height: none;
    visibility: visible;
    display: block;
    border-radius: 0;
    box-shadow: none;
    background: #eef1f4;
}
.contribute-forum-page .forum-feed-body { min-height: 520px; }
.contribute-forum-page .forum-list { padding: 12px; }
.feed-create-guidance,
.feed-create-posting-warning { padding: 11px 12px; border-radius: 5px; }
.feed-create-guidance { border: 1px solid #b9c7d4; background: #f5f8fa; }
.feed-create-posting-warning { border: 1px solid #ef9a9a; border-left: 4px solid #d12e2e; background: #fff7f7; }
.feed-create-guidance h3,
.feed-create-posting-warning h3 { margin: 0 0 4px; font: 700 14px 'Roboto Condensed', sans-serif; letter-spacing: 0; }
.feed-create-guidance h3 { color: #092d4d; }
.feed-create-posting-warning h3,
.feed-create-posting-warning strong { color: #991b1b; }
.feed-create-guidance p,
.feed-create-posting-warning p { margin: 0; color: #475569; font-size: 11px; line-height: 1.5; }
.feed-policy-warning {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 9px;
    padding: 11px;
    border: 1px solid #ef9a9a;
    border-left: 4px solid #d12e2e;
    border-radius: 5px;
    background: #fff7f7;
    color: #7f1d1d;
    font-size: 12px;
    line-height: 1.45;
}
#feed-media-policy { display: grid; gap: 10px; }
#feed-media-policy[hidden] { display: none; }
.feed-policy-warning i { margin-top: 2px; text-align: center; }
.feed-policy-ack {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #334155;
    font-size: 12px;
    line-height: 1.4;
}
.feed-policy-ack input { margin-top: 2px; }
.contribute-forum-page + .feed-create-overlay .feed-create-dialog { box-sizing: border-box; }
.contribute-forum-page + .feed-create-overlay .feed-create-form,
.contribute-forum-page + .feed-create-overlay .feed-create-field,
.contribute-forum-page + .feed-create-overlay .feed-create-autocomplete { min-width: 0; }
.contribute-forum-page + .feed-create-overlay .feed-create-form > * { min-width: 0; max-width: 100%; box-sizing: border-box; }
.contribute-forum-page + .feed-create-overlay input[type="file"] { width: 100%; min-width: 0; max-width: 100%; }
@media (max-width: 820px) {
    .contribute-forum-page { width: 100%; margin: 0; }
    .contribute-forum-main { border-inline: 0; border-radius: 0; }
    .contribute-forum-header { padding: 14px 12px; }
    .contribute-forum-header h1 { font-size: 21px; }
    .forum-notifications-button span { display: none; }
    .forum-notifications-button { width: 36px; height: 34px; padding: 0; }
    .contribute-forum-page .forum-panel { height: auto; }
    .contribute-forum-page .forum-feed-body { min-height: 460px; }
}
