/* Operator forum, scoped presentation only. Access and actions remain in ForumController. */
body.preview-platform.operator-forum-page{--primary:#137aff;--primary-dark:#075acb;--ink:#123453;--muted:#526b83}
body.preview-platform.operator-forum-page main.operator-forum-shell{max-width:1200px!important;margin:30px auto 45px!important;display:grid;gap:20px}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-hero,.forum-board-head,.forum-topic-head){background:linear-gradient(120deg,#e3f2ff,#f8fcff)!important;border:1px solid #cce3fb!important;border-radius:18px!important;padding:30px!important;min-height:0!important;box-shadow:0 8px 25px #0d5dab0a!important;margin:0!important;color:#123453!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-hero,.forum-board-head,.forum-topic-head) h1{color:#0b2c50!important;font-size:clamp(30px,3.3vw,43px)!important;line-height:1.15!important;letter-spacing:-.035em!important;margin:10px 0 14px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-hero,.forum-board-head,.forum-topic-head) p{color:#415f7c!important;font-size:16px!important;line-height:1.7!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .eyebrow{color:#075fce!important;background:#d9ecff!important;font-size:11px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-identity,.forum-mode-note,.forum-readonly){background:#fff!important;border:1px solid #c7def5!important;border-radius:12px!important;padding:16px!important;color:#234763!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-category,.forum-online-box,.forum-trending-box,.forum-community-panel,.forum-latest-five,.forum-unread-box,.forum-search,.forum-compose,.forum-search-results,.forum-empty){background:#fff!important;border:1px solid #d0e3f5!important;border-radius:14px!important;box-shadow:0 4px 18px #0d5dab09!important;color:#163858!important;overflow-wrap:anywhere}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-online-box,.forum-trending-box,.forum-community-panel,.forum-latest-five,.forum-unread-box,.forum-search,.forum-compose,.forum-search-results,.forum-empty){padding:24px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell h2{color:#123858!important;font-size:23px!important;line-height:1.25!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(p,.hint){color:#526b83!important;font-size:15px!important;line-height:1.65!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(small,time){color:#526b83!important;font-size:13px!important;line-height:1.5!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board,.forum-topic){border-color:#d7e6f5!important;background:#fff!important;color:#153957!important;padding:20px!important;gap:16px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board,.forum-topic):hover{background:#f1f8ff!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board,.forum-topic)>span>b{font-size:17px!important;line-height:1.4!important;color:#153957!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-category>header{padding:22px!important;background:#edf6ff!important;color:#123858!important;border-color:#d2e4f6!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-category>header h2{margin:0 0 7px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board-icon,.forum-avatar,.forum-trending-list>a>span,.forum-online-people i){background:#e4f2ff!important;color:#0968d7!important;border-color:#c4def8!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-new-badge{background:#137aff!important;color:#fff!important;border-color:#137aff!important;font-size:11px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-latest-five-list>a,.forum-unread-list>a,.forum-notification-list>a,.forum-trending-list>a,.forum-search-results>a){color:#163858!important;border-color:#d7e6f5!important;border-radius:9px!important;padding:13px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-latest-five-list,.forum-unread-list,.forum-notification-list,.forum-trending-list) b{font-size:15px!important;color:#163858!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(.btn,.forum-compose form>button,.forum-search button){background:linear-gradient(125deg,#168bff,#0765e5)!important;border:1px solid #137aff!important;color:#fff!important;border-radius:9px!important;min-height:44px!important;padding:11px 16px!important;font-size:14px!important;box-shadow:none!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .btn-ghost{background:#edf6ff!important;color:#075fce!important;border-color:#c4def8!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .btn-danger{background:#fff1f2!important;color:#a5273a!important;border-color:#edc0c7!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(input:not([type=hidden]):not([type=checkbox]),select,textarea){background:#fff!important;color:#163858!important;border:1px solid #bfd8f2!important;border-radius:9px!important;font-size:15px!important;line-height:1.6!important;min-height:46px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #137aff!important;outline-offset:3px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post{border:1px solid #d0e3f5!important;border-radius:14px!important;background:#fff!important;overflow:visible}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post>aside{background:#f0f8ff!important;color:#163858!important;border-color:#d0e3f5!important;padding:22px!important;border-radius:14px 0 0 14px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post>div>header{background:#f7fbff!important;color:#526b83!important;border-color:#d7e6f5!important;padding:14px 22px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post-body{font-size:16px!important;line-height:1.8!important;color:#234763!important;padding:22px!important;overflow-wrap:anywhere}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post-body :is(p,li){font-size:16px!important;line-height:1.8!important;color:#234763!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post-body :is(pre,code){white-space:pre-wrap;overflow-wrap:anywhere}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-editor-toolbar{background:#edf6ff!important;border-color:#d0e3f5!important;flex-wrap:wrap!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-editor-toolbar button{background:#fff!important;color:#164c7a!important;border:1px solid #c5dcf2!important;min-height:38px!important;padding:8px 11px!important;border-radius:7px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-edit-panel{background:#fff!important;color:#163858!important;border-color:#c7ddf3!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-image-gallery img{max-width:100%;height:auto;object-fit:contain}
.preview-platform .forum-return-nav{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;width:calc(100% - 80px);max-width:1200px;margin:20px auto 0;font-size:14px;color:#0968d7}
.preview-platform .forum-return-nav a{padding:10px 15px;min-height:44px;border:1px solid #c8dff5;border-radius:9px;background:#fff;color:#075fce}
@media(max-width:850px){
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-live-overview,.forum-community-stats){grid-template-columns:1fr!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-hero{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:20px!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-board{grid-template-columns:42px minmax(0,1fr)!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board-stats,.forum-board-last){grid-column:2!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic{grid-template-columns:32px minmax(0,1fr)!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic>time{grid-column:2!important}
}
@media(max-width:650px){
 body.preview-platform.operator-forum-page main.operator-forum-shell{width:calc(100% - 28px)!important;margin:20px auto 28px!important;gap:15px}
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-hero,.forum-board-head,.forum-topic-head,.forum-compose,.forum-search,.forum-community-panel,.forum-online-box,.forum-trending-box,.forum-latest-five,.forum-unread-box){padding:22px 18px!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-board-head,.forum-topic-head){display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:15px!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post{display:block!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post>aside{border-radius:14px 14px 0 0!important;padding:16px!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post-body{padding:18px!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(.forum-search>div,.forum-topic-head-actions){display:flex;flex-direction:column;align-items:stretch;gap:10px}
 body.preview-platform.operator-forum-page main.operator-forum-shell :is(input:not([type=hidden]):not([type=checkbox]),select,textarea){font-size:16px!important}
 .preview-platform .forum-return-nav{width:calc(100% - 28px);font-size:13px}
}


/* Topic actions and the dynamically inserted reply toggle. */
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-compose .forum-reply-head .forum-reply-toggle{background:linear-gradient(125deg,#168bff,#0765e5)!important;color:#fff!important;border:1px solid #137aff!important;border-radius:9px!important;min-height:46px!important;padding:12px 18px!important;font-size:15px!important;font-weight:700!important;box-shadow:0 4px 12px #137aff1a!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post .forum-post-actions{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;padding:15px 20px!important;background:#f7fbff!important;border-top:1px solid #d7e6f5!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post .forum-post-actions :is(button,a,summary){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:10px 13px!important;border:1px solid #c5dff8!important;border-radius:8px!important;background:#edf6ff!important;color:#075fce!important;font-size:14px!important;line-height:1.4!important;font-weight:600!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:10px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-moderation{display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:8px!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions .btn.btn-ghost{background:#fff!important;color:#075fce!important;border:1px solid #bdd8f4!important;box-shadow:none!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions .forum-topic-moderation button[name=operation][value=delete],
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post .forum-post-tools .btn.btn-danger{background:#fff1f2!important;color:#a5273a!important;border:1px solid #e9bac3!important;box-shadow:none!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions .forum-topic-moderation button[name=operation][value=delete]:hover{background:#ffe2e6!important;border-color:#d58b9a!important}
body.preview-platform.operator-forum-page main.operator-forum-shell .forum-compose .forum-reply-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;flex-wrap:wrap!important}
@media(max-width:650px){
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions{align-items:stretch!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-moderation{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-topic-head .forum-topic-head-actions form .btn{width:100%!important}
 body.preview-platform.operator-forum-page main.operator-forum-shell .forum-post .forum-post-actions{padding:14px!important;gap:8px!important}
}

