.cg-tool{max-width:980px;margin:34px auto;padding:32px;border:1px solid #e5e7ef;border-radius:20px;background:#fff;box-shadow:0 14px 45px rgba(20,25,55,.07);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#15213b}.cg-tool h2{margin:0 0 8px;font-size:32px;letter-spacing:-.02em}.cg-tool h3{margin:22px 0 10px}.cg-tool p{color:#59627a;line-height:1.6}.cg-tool-hero{margin-bottom:22px}.cg-eyebrow{display:inline-block;font-size:11px;letter-spacing:.13em;font-weight:800;color:#5b3fd4;margin-bottom:8px}.cg-search-row{display:grid;grid-template-columns:1fr auto;gap:10px}.cg-tool input,.cg-tool select,.cg-tool textarea{box-sizing:border-box;width:100%;padding:13px 14px;border:1px solid #d9dce6;border-radius:10px;background:#fff;color:#15213b}.cg-tool textarea{resize:vertical}.cg-tool label{display:block;margin:14px 0 6px;font-weight:650}.cg-tool button{padding:12px 18px;border:0;border-radius:10px;font-weight:750;cursor:pointer}.cg-primary{background:#5133d7;color:#fff}.cg-secondary{background:#f2f3f7;color:#27324a}.cg-results{margin-top:24px}.cg-result{padding:20px 0;border-top:1px solid #e8e9ef}.cg-result h3{margin:7px 0 4px;font-size:19px}.cg-result h3 a{color:#3423a8;text-decoration:none}.cg-result-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.cg-source-label{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#69728a;font-weight:800}.cg-badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#f1edff;color:#4f24d8;font-size:12px}.cg-muted{font-size:13px!important;margin:3px 0}.cg-result-actions{display:flex;gap:14px;align-items:center;margin-top:10px}.cg-secondary-link{color:#4f24d8;text-decoration:none;font-weight:700;font-size:13px}.cg-save{background:#eef0f6!important;color:#30384d!important;padding:7px 11px!important;font-size:12px}.cg-warning{padding:14px;border-left:4px solid #d99000;background:#fff8e8;color:#5d4b20;border-radius:10px;margin:18px 0}.cg-warning-text{font-size:13px!important}.cg-result-box{margin-top:18px;padding:18px;background:#f7f5ff;border-radius:12px}.cg-source{margin-top:18px}.cg-empty{padding:18px;border:1px dashed rgba(0,0,0,.15);border-radius:12px;opacity:.78}.cg-loading{padding:18px;border-radius:12px;background:#f7f7fb}.cg-evidence-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.cg-evidence-summary>div{padding:18px;border:1px solid #e7e8ee;border-radius:14px;background:#fbfbfd}.cg-evidence-summary strong{display:block;font-size:28px;color:#3423a8}.cg-evidence-summary span{font-size:12px;color:#69728a}.cg-section-title{margin-top:34px!important}.cg-evidence-note,.cg-claim-banner,.cg-navigator-result,.cg-builder-sheet{padding:16px 18px;border-radius:12px;background:#f4f7ff;border:1px solid #dfe5ff;margin:18px 0}.cg-evidence-note strong,.cg-claim-banner strong{display:block;margin-bottom:4px}.cg-filter-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cg-two-input{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cg-tracker-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.cg-tracker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.cg-tracker-grid label{display:flex;flex-direction:column;gap:7px}.cg-tracker-grid label:last-child{grid-column:1/-1}.cg-tracker-grid output{font-size:13px;opacity:.7}.cg-tracker-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.cg-tracker-status{min-height:24px;margin-top:10px;font-size:14px}.cg-tracker-history{margin-top:24px}.cg-tracker-history-head{display:flex;justify-content:space-between;align-items:center}.cg-tracker-list{display:grid;gap:10px;margin-top:10px}.cg-track-row{border:1px solid rgba(0,0,0,.1);border-radius:12px;padding:14px;background:#fff}.cg-track-row>div:first-child{display:flex;justify-content:space-between;gap:12px}.cg-track-row>div:first-child span{opacity:.65;font-size:13px}.cg-track-metrics{display:flex;flex-wrap:wrap;gap:12px;margin-top:9px;font-size:13px}.cg-track-row p{margin:10px 0 0;white-space:pre-wrap}.cg-privacy-note{font-size:12px!important;opacity:.65;margin-top:16px}.cg-community-form{margin-top:22px;padding-top:15px;border-top:1px solid #e8e9ef}.cg-community-form form{padding-top:15px}.cg-success{padding:14px;background:#edf9f0;border-left:4px solid #2f8f4e;border-radius:8px}.cg-compare-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cg-compare-grid .cg-result{border:1px solid #e8e9ef;border-radius:12px;padding:18px}.cg-builder-grid,.cg-navigator-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.cg-builder-grid select[multiple]{min-height:150px}.cg-admin .cg-version{font-size:12px;background:#f1edff;color:#4f24d8;padding:5px 8px;border-radius:99px}.cg-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.cg-admin-card{padding:20px;border:1px solid #ddd;border-radius:12px;background:#fff}.cg-admin-card h2{margin-top:0}@media(max-width:700px){.cg-search-row,.cg-filter-row,.cg-two-input,.cg-builder-grid,.cg-navigator-grid,.cg-compare-grid,.cg-admin-grid{grid-template-columns:1fr}.cg-evidence-summary{grid-template-columns:1fr}.cg-tracker-head{flex-direction:column}.cg-tracker-grid{grid-template-columns:1fr}.cg-tracker-grid label:last-child{grid-column:auto}}
/* v0.5.3 enhanced tool interfaces */
.cg-dose-heading{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.cg-dose-source-badge,.cg-tracker-badge{min-width:86px;text-align:center;padding:12px;border-radius:14px;background:#f2f0ff;color:#5133d7;font-weight:850;font-size:18px}.cg-dose-source-badge small,.cg-tracker-badge small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#69728a}.cg-dose-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:end}.cg-dose-form label{margin:0}.cg-dose-form label:first-child{grid-column:1}.cg-dose-calc-btn{min-height:48px}.cg-dose-calc-btn span{margin-left:10px}.cg-dose-summary{margin-top:20px;border:1px solid #e3e5ed;border-radius:16px;overflow:hidden;background:#fbfbfe}.cg-dose-placeholder{padding:28px;display:flex;flex-direction:column;gap:6px;color:#59627a}.cg-dose-placeholder strong{color:#15213b;font-size:18px}.cg-dose-summary-head{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#e5e7ef}.cg-dose-summary-head>div{padding:20px;background:#fff}.cg-dose-summary-head span,.cg-dose-main span,.cg-dose-details span{display:block;font-size:12px;color:#69728a;margin-bottom:5px}.cg-dose-summary-head strong{font-size:20px}.cg-dose-main{text-align:center;padding:26px;background:#f4f1ff}.cg-dose-main strong{display:block;font-size:34px;color:#3423a8;letter-spacing:-.03em}.cg-dose-main small{display:block;color:#69728a;margin-top:5px}.cg-dose-details{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#e5e7ef}.cg-dose-details>div{background:#fff;padding:18px}.cg-dose-details b{font-size:14px}.cg-dose-disclaimer{padding:16px 18px;background:#fff8e8;color:#5d4b20;border-top:1px solid #eee0bc;font-size:13px;line-height:1.55}.cg-dose-error{padding:16px;background:#fff2f2;color:#8b2020}.cg-dose-reference-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px;font-size:13px}.cg-dose-reference-links span{font-weight:800}.cg-dose-reference-links a{color:#4f24d8;text-decoration:none;font-weight:700}.cg-interaction-form{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}.cg-interaction-form label{margin:0}.cg-interaction-help{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:8px;margin-top:16px;padding:14px;border:1px solid #e8e9ef;border-radius:12px;background:#fafafd;font-size:12px;align-items:center}.cg-interaction-help span{font-weight:800;color:#343b52}.cg-interaction-help div{color:#69728a}.cg-interaction-help b{display:inline-flex;width:22px;height:22px;border-radius:50%;align-items:center;justify-content:center;background:#eeeaff;color:#5133d7;margin-right:5px}.cg-interaction-status{padding:18px;border-radius:14px;margin-top:22px;display:flex;flex-direction:column;gap:5px}.cg-status-caution{background:#fff8e8;border:1px solid #f0d58f;color:#654d19}.cg-status-clear{background:#eef9f0;border:1px solid #cce7d0;color:#275c33}.cg-interaction-next{margin-top:18px;padding:16px;border-radius:12px;background:#f4f7ff;border:1px solid #dfe5ff}.cg-interaction-next p{margin-bottom:0}.cg-tracker-badge{font-size:15px;background:#edf8f1;color:#287a43}.cg-tracker-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}.cg-tracker-overview>div{padding:16px;border:1px solid #e7e8ee;border-radius:14px;background:#fbfbfd}.cg-tracker-overview strong{display:block;font-size:23px;color:#3423a8}.cg-tracker-overview span{font-size:12px;color:#69728a}.cg-tracker-chart{margin-top:22px;padding:16px;border:1px solid #e7e8ee;border-radius:14px;background:#fff}.cg-mini-chart{height:160px;display:flex;align-items:flex-end;gap:8px;padding:15px 5px 0;border-top:1px solid #ececf2}.cg-chart-col{height:145px;flex:1;min-width:12px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.cg-chart-bar{width:100%;max-width:28px;background:#5b3fd4;border-radius:6px 6px 2px 2px;opacity:.85}.cg-chart-col small{font-size:9px;color:#7a8295}.cg-track-row-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.cg-delete-one{background:#f8eef0!important;color:#8b3d4c!important;padding:6px 9px!important;font-size:11px!important}.cg-track-row-head>div:first-child{display:flex;justify-content:space-between;gap:12px;flex:1}.cg-track-row-head>div:first-child span{opacity:.65;font-size:13px}@media(max-width:760px){.cg-dose-form,.cg-interaction-form,.cg-interaction-help{grid-template-columns:1fr}.cg-dose-form label:first-child{grid-column:auto}.cg-dose-summary-head,.cg-dose-details,.cg-tracker-overview{grid-template-columns:1fr}.cg-dose-heading,.cg-tracker-head{flex-direction:column}.cg-dose-source-badge,.cg-tracker-badge{align-self:flex-start}}

/* v0.5.5: prevent Astra/Elementor form styles from clipping native dropdown labels */
.cg-tool select, .cg-tool select:focus {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  line-height: 1.25 !important;
  padding: 0 42px 0 14px !important;
  margin: 0 !important;
  font-size: 15px !important;
  font-family: inherit !important;
  color: #15213b !important;
  background-color: #fff !important;
  border: 1px solid #d9dce6 !important;
  border-radius: 10px !important;
  vertical-align: middle !important;
  opacity: 1 !important;
}
.cg-tool select option {
  font-size: 15px !important;
  line-height: 1.35 !important;
  color: #15213b !important;
  background: #fff !important;
}
.cg-medref-form label { min-width: 0; }
.cg-medref-card { margin-top: 20px; border: 1px solid #e3e5ed; border-radius: 16px; overflow: hidden; background: #fbfbfe; }
.cg-medref-card-head { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e7ef; }
.cg-medref-card-head > div { background: #fff; padding: 18px; }
.cg-medref-card-head span, .cg-medref-main span { display:block; font-size:12px; color:#69728a; margin-bottom:5px; }
.cg-medref-card-head strong { font-size:16px; }
.cg-medref-main { padding: 24px; background:#f4f1ff; }
.cg-medref-main strong { display:block; color:#3423a8; font-size:20px; line-height:1.45; }
@media(max-width:760px){.cg-medref-card-head{grid-template-columns:1fr}.cg-tool select,.cg-tool select:focus{height:52px !important;min-height:52px !important}}

/* v0.5.6 Personalized Research Navigator result map */
.cg-navigator-result{padding:20px;border:1px solid #dfe5ff;background:#f7f5ff;border-radius:14px;margin:18px 0 24px}
.cg-navigator-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}
.cg-navigator-summary>div{background:#fff;border:1px solid #e4e6ee;border-radius:10px;padding:12px 14px}
.cg-navigator-summary span{display:block;font-size:12px;color:#69728a;margin-bottom:5px}
.cg-navigator-summary strong{display:block;color:#15213b}
.cg-nav-section{margin:24px 0;padding:18px;border:1px solid #e7e8ee;border-radius:14px;background:#fff}
.cg-nav-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.cg-nav-section-head h3{margin:0!important}
.cg-nav-section-head>span{font-size:12px;color:#69728a}
.cg-nav-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cg-nav-links a{display:block;padding:13px 14px;border:1px solid #e1e3eb;border-radius:10px;color:#3423a8;text-decoration:none;font-weight:700;background:#fbfbfd}
.cg-nav-links a:hover{background:#f4f1ff}
@media(max-width:700px){.cg-navigator-summary,.cg-nav-links{grid-template-columns:1fr}}

.cg-dose-intelligence select,.cg-dose-intelligence input[type=number]{min-height:48px!important;height:48px!important;line-height:1.35!important;padding:10px 42px 10px 14px!important;box-sizing:border-box!important}
.cg-dose-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cg-dose-grid label{font-weight:700}
.cg-dose-input-wrap{position:relative}.cg-dose-input-wrap input{width:100%}.cg-dose-input-wrap span{position:absolute;right:14px;top:14px}
.cg-dose-actions{display:flex;gap:10px;margin-top:18px}.cg-dose-result{margin-top:20px;border:1px solid #dfe3ed;border-radius:14px;background:#fbfcff}.cg-dose-placeholder{min-height:150px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;text-align:center;padding:20px}.cg-dose-result-card{padding:22px}.cg-dose-main{font-size:36px;font-weight:800;margin:8px 0 16px}.cg-dose-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cg-dose-meta div{padding:12px;border-radius:9px;background:#f4f6fa}.cg-dose-meta span{display:block;font-size:12px;margin-bottom:4px}.cg-dose-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
@media(max-width:760px){.cg-dose-grid,.cg-dose-info-grid,.cg-dose-meta{grid-template-columns:1fr}}

/* OncoHelpline 0.6.2 community + dashboard */
.cg-community-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px}
.cg-community-toolbar{display:grid;grid-template-columns:1fr 220px;gap:12px;margin:18px 0}
.cg-community-list{display:grid;gap:12px}
.cg-community-item{border:1px solid #e2e5ed;border-radius:12px;padding:16px;background:#fff}
.cg-community-item h3{margin:8px 0 5px}.cg-community-item h3 a{text-decoration:none}
.cg-community-side{border:1px solid #e2e5ed;border-radius:14px;padding:18px;background:#fafbfe}
.cg-community-form textarea,.cg-community-form input,.cg-community-form select{width:100%;box-sizing:border-box}
.cg-my-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.cg-my-grid>section{border:1px solid #e2e5ed;border-radius:12px;padding:18px;background:#fff}
@media(max-width:800px){.cg-community-layout,.cg-community-toolbar,.cg-my-grid{grid-template-columns:1fr}}

/* v0.6.3 live community */
.cg-community-auth{margin:22px 0}.cg-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cg-auth-card{border:1px solid #e2e5ed;border-radius:14px;padding:20px;background:#fff}.cg-auth-card h3{margin:7px 0 14px}.cg-auth-card label{display:block;margin:10px 0;font-weight:700}.cg-auth-card input{width:100%;box-sizing:border-box;margin-top:6px}.cg-community-memberbar{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f7f8fc;border:1px solid #e3e5ed;border-radius:10px;margin:16px 0}.cg-community-compose{border:1px solid #e2e5ed;border-radius:14px;padding:18px;background:#fff;margin:18px 0}.cg-community-compose h3{margin-top:0}.cg-community-compose input,.cg-community-compose select,.cg-community-compose textarea{width:100%;box-sizing:border-box;margin:7px 0}.cg-community-compose textarea{resize:vertical}.cg-community-compose [data-cg-community-post-status],.cg-community-comment-form [data-comment-status]{margin-left:10px;font-size:13px;color:#69728a}.cg-community-live-status{display:flex;align-items:center;gap:7px;margin:10px 0;color:#536078;font-size:13px}.cg-live-dot{width:8px;height:8px;border-radius:50%;background:#27a65b;display:inline-block}.cg-community-feed{display:grid;gap:16px}.cg-community-post{border:1px solid #e1e4eb;border-radius:15px;padding:18px;background:#fff}.cg-community-post-head{display:flex;justify-content:space-between;gap:14px}.cg-community-post-head h3{margin:8px 0 3px}.cg-community-post-head small{color:#69728a}.cg-community-post-body{margin:16px 0;line-height:1.65}.cg-community-delete{border:0;background:#fff0f0;color:#a12b2b;border-radius:8px;padding:7px 10px;height:max-content;cursor:pointer}.cg-community-comments{border-top:1px solid #eceef3;padding-top:13px}.cg-community-comments>strong{font-size:13px}.cg-community-comment{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f7f8fb}.cg-community-comment b{margin-right:8px}.cg-community-comment small{color:#69728a}.cg-community-comment div{margin-top:4px}.cg-community-comment-form{display:flex;gap:8px;margin-top:12px;align-items:center}.cg-community-comment-form input{flex:1;min-width:0}.cg-community-comment-form button{white-space:nowrap}/* Comment media upload: icon only */
.cg-community-attach{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;box-sizing:border-box;padding:0;border:1px solid #d9dde6;border-radius:8px;background:#fff;cursor:pointer;white-space:nowrap;font-size:0;color:transparent;flex:0 0 42px}
.cg-community-attach span{display:block;width:20px;height:20px;font-size:0;color:transparent;line-height:0;background:#000;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 6.5l-7.8 7.8a3.5 3.5 0 0 0 5 5l7-7a5 5 0 0 0-7.1-7.1l-7.7 7.7a6.5 6.5 0 0 0 9.2 9.2l6.8-6.8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 6.5l-7.8 7.8a3.5 3.5 0 0 0 5 5l7-7a5 5 0 0 0-7.1-7.1l-7.7 7.7a6.5 6.5 0 0 0 9.2 9.2l6.8-6.8'/%3E%3C/svg%3E") center/contain no-repeat}
.cg-community-attach input{display:none}.cg-community-attach input{display:none}.cg-community-file-name{font-size:12px;color:#69728a;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cg-community-comment-attachment{margin-top:8px}.cg-community-comment-attachment img{display:block;max-width:280px;max-height:220px;width:auto;height:auto;border-radius:9px;border:1px solid #e1e4eb}.cg-community-comment-attachment video{display:block;width:min(420px,100%);max-height:280px;border-radius:9px;background:#000}.cg-community-comment-attachment a{font-size:13px;font-weight:700;color:#1769d2}.cg-community-login-note{font-size:13px;color:#69728a;margin:12px 0 0}.cg-community-hub .cg-error{padding:11px 13px;border-radius:9px;background:#fff0f0;color:#8a2020;margin-bottom:10px}.cg-community-hub .cg-success{padding:11px 13px;border-radius:9px;background:#eef9f0;color:#276337;margin-bottom:10px}@media(max-width:760px){.cg-auth-grid{grid-template-columns:1fr}.cg-community-post-head{flex-direction:column}.cg-community-comment-form{align-items:stretch;flex-wrap:wrap}.cg-community-comment-form input{flex-basis:100%}.cg-community-memberbar{align-items:flex-start;gap:8px;flex-direction:column}}

/* v0.6.3 live community */
.cg-community-auth{margin:22px 0}.cg-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.cg-auth-card{border:1px solid #e2e5ed;border-radius:14px;padding:20px;background:#fff}.cg-auth-card h3{margin:7px 0 14px}.cg-auth-card label{display:block;margin:10px 0;font-weight:700}.cg-auth-card input{width:100%;box-sizing:border-box;margin-top:6px}.cg-community-memberbar{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#f7f8fc;border:1px solid #e3e5ed;border-radius:10px;margin:16px 0}.cg-community-compose{border:1px solid #e2e5ed;border-radius:14px;padding:18px;background:#fff;margin:18px 0}.cg-community-compose h3{margin-top:0}.cg-community-compose input,.cg-community-compose select,.cg-community-compose textarea{width:100%;box-sizing:border-box;margin:7px 0}.cg-community-compose [data-cg-community-post-status],.cg-community-comment-form [data-comment-status]{margin-left:10px;font-size:13px;color:#69728a}.cg-community-live-status{display:flex;align-items:center;gap:7px;margin:10px 0;color:#536078;font-size:13px}.cg-live-dot{width:8px;height:8px;border-radius:50%;background:#27a65b;display:inline-block}.cg-community-feed{display:grid;gap:16px}.cg-community-post{border:1px solid #e1e4eb;border-radius:15px;padding:18px;background:#fff}.cg-community-post-head{display:flex;justify-content:space-between;gap:14px}.cg-community-post-head h3{margin:8px 0 3px}.cg-community-post-head small{color:#69728a}.cg-community-post-body{margin:16px 0;line-height:1.65}.cg-community-delete{border:0;background:#fff0f0;color:#a12b2b;border-radius:8px;padding:7px 10px;height:max-content;cursor:pointer}.cg-community-comments{border-top:1px solid #eceef3;padding-top:13px}.cg-community-comments>strong{font-size:13px}.cg-community-comment{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f7f8fb}.cg-community-comment b{margin-right:8px}.cg-community-comment small{color:#69728a}.cg-community-comment div{margin-top:4px}.cg-community-comment-form{display:flex;gap:8px;margin-top:12px;align-items:center}.cg-community-comment-form input{flex:1;min-width:0}.cg-community-comment-form button{white-space:nowrap}.cg-community-attach{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border:1px solid #d9dde6;border-radius:8px;background:#fff;cursor:pointer;font-size:13px;font-weight:700;white-space:nowrap}.cg-community-attach input{display:none}.cg-community-file-name{font-size:12px;color:#69728a;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cg-community-comment-attachment{margin-top:8px}.cg-community-comment-attachment img{display:block;max-width:280px;max-height:220px;width:auto;height:auto;border-radius:9px;border:1px solid #e1e4eb}.cg-community-comment-attachment video{display:block;width:min(420px,100%);max-height:280px;border-radius:9px;background:#000}.cg-community-comment-attachment a{font-size:13px;font-weight:700;color:#1769d2}.cg-community-login-note{font-size:13px;color:#69728a;margin:12px 0 0}.cg-community-hub .cg-error{padding:11px 13px;border-radius:9px;background:#fff0f0;color:#8a2020;margin-bottom:10px}.cg-community-hub .cg-success{padding:11px 13px;border-radius:9px;background:#eef9f0;color:#276337;margin-bottom:10px}@media(max-width:760px){.cg-auth-grid{grid-template-columns:1fr}.cg-community-post-head{flex-direction:column}.cg-community-comment-form{align-items:stretch;flex-wrap:wrap}.cg-community-comment-form input{flex-basis:100%}.cg-community-memberbar{align-items:flex-start;gap:8px;flex-direction:column}}

/* Medication Dose Intelligence 0.6.4 */
.cg-dose-intelligence-v064{max-width:1100px;margin:auto}.cg-di-header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.cg-di-header h2{font-size:32px;margin:5px 0}.cg-di-icon{width:58px;height:58px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;background:#eef2ff}
.cg-di-disclaimer{border:1px solid #ead9a4;background:#fff9e9;border-radius:12px;padding:14px 16px;margin-bottom:18px}
.cg-di-panel{border:1px solid #dfe4ee;border-radius:18px;background:#fff;padding:22px;box-shadow:0 5px 18px rgba(20,30,60,.05)}
.cg-di-progress{display:flex;align-items:center;gap:8px;margin-bottom:22px;color:#69738a;font-size:12px}.cg-di-progress span{width:27px;height:27px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2ff;font-weight:800}.cg-di-progress i{height:1px;background:#dfe4ee;flex:1}
.cg-di-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cg-di-field label{display:block;font-weight:800;margin-bottom:7px}.cg-di-field em{font-weight:500;font-style:normal;color:#7a8397}.cg-di-field small{display:block;margin-top:6px;color:#7a8397;font-size:12px}
.cg-di-fields select,.cg-di-fields input{width:100%!important;box-sizing:border-box!important;min-height:50px!important;height:50px!important;line-height:1.3!important;padding:11px 14px!important;border-radius:9px!important}
.cg-di-weight{position:relative}.cg-di-weight input{padding-right:48px!important}.cg-di-weight span{position:absolute;right:14px;top:15px;font-weight:700;color:#707a90}
.cg-di-actions{display:flex;gap:10px;margin-top:20px}.cg-di-result{margin-top:20px}.cg-di-empty{min-height:130px;border:1px dashed #ccd3e2;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;color:#6c768b;padding:18px}.cg-di-empty strong{color:#25304a}.cg-di-result-card{border:1px solid #cfd7e8;border-radius:14px;overflow:hidden;background:#fbfcff}.cg-di-result-top{display:flex;justify-content:space-between;align-items:center;padding:20px 22px;background:#f4f6fc}.cg-di-result-top span{font-size:11px;letter-spacing:.08em;font-weight:800;color:#69738a}.cg-di-result-top h3{margin:5px 0 0;font-size:20px}.cg-di-result-top>strong{font-size:34px}.cg-di-equation{padding:15px 22px;font-weight:700}.cg-di-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dfe4ee}.cg-di-meta div{background:#fff;padding:14px 18px}.cg-di-meta span{display:block;font-size:11px;color:#747e93;margin-bottom:5px}.cg-di-note{margin:0;padding:15px 22px;background:#fff9e9;color:#604b1a}.cg-di-result-card>a{display:inline-block;margin:15px 22px 20px;font-weight:800}.cg-di-columns{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.cg-di-columns>div{border:1px solid #e0e4ec;border-radius:13px;padding:18px;background:#fff}.cg-di-columns h3{margin-top:0}
@media(max-width:760px){.cg-di-fields,.cg-di-columns,.cg-di-meta{grid-template-columns:1fr}.cg-di-header{align-items:flex-start}.cg-di-progress b,.cg-di-progress i{display:none}.cg-di-result-top{align-items:flex-start;gap:10px;flex-direction:column}}

/* v0.6.5 dynamic homepage Community Discussions */
.cg-home-community{border:1px solid #e2e5ed;border-radius:18px;background:#fff;padding:24px}.cg-home-community-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.cg-home-community-head h2{margin:4px 0 0;font-size:25px}.cg-home-community-view{font-size:13px;font-weight:750;color:#4f24d8;text-decoration:none}.cg-home-community-feed{display:grid;gap:4px}.cg-home-community-item{display:flex;gap:13px;padding:13px 0;border-bottom:1px solid #eceef3}.cg-home-community-item:last-child{border-bottom:0}.cg-home-community-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:50%;overflow:hidden;text-decoration:none;background:#eef2ff;display:flex;align-items:center;justify-content:center;font-weight:800;color:#4f24d8}.cg-home-community-avatar img{width:100%;height:100%;object-fit:cover}.cg-home-community-copy{min-width:0}.cg-home-community-copy h3{margin:0 0 3px;font-size:16px;line-height:1.25}.cg-home-community-copy h3 a{color:#111827;text-decoration:none}.cg-home-community-copy small{font-size:12px;color:#69728a}.cg-home-community-copy p{margin:4px 0 0;font-size:13px;line-height:1.45;color:#69728a}.cg-home-community-join{display:inline-block;margin-top:16px;padding:10px 18px;border:1px solid #cfd3df;border-radius:10px;color:#111827;text-decoration:none;font-weight:700;background:#f7f8fb}.cg-home-community-note{margin:12px 0 0!important;font-size:13px!important;color:#111827!important;font-weight:650}.cg-home-community .cg-empty{margin-top:8px}@media(max-width:700px){.cg-home-community-head{align-items:flex-start;flex-direction:column}.cg-home-community-item{gap:10px}.cg-home-community-avatar{width:42px;height:42px;flex-basis:42px}}

/* v0.6.8 Research Hub */
.cg-hub-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:28px 0 34px}.cg-hub-summary>div{border:1px solid #ddd;border-radius:14px;padding:22px;text-align:center;background:#fff}.cg-hub-summary strong{display:block;font-size:26px;line-height:1.15}.cg-hub-summary span{display:block;margin-top:7px;font-weight:600}.cg-hub-summary small{display:block;margin-top:4px;color:#777}.cg-hub-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cg-hub-columns>section{min-width:0}.cg-hub-columns>section>h3{margin:0 0 14px}.cg-hub-link{display:inline-block;margin-top:14px;text-decoration:none}.cg-hub-link.cg-primary{color:#fff}.cg-research-hub .cg-result{margin-bottom:12px}@media(max-width:900px){.cg-hub-summary,.cg-hub-columns{grid-template-columns:1fr}} 

/* v0.6.9 Explore New Research */
.cg-explore-new-research .cg-explore-results{margin-top:4px}.cg-explore-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.cg-explore-new-research .cg-result{margin-bottom:12px}@media(max-width:900px){.cg-explore-columns{grid-template-columns:1fr}}

/* v0.7.3 homepage community + research showcase */
.cg-home-showcase{width:100%;margin:0 auto}
.cg-home-showcase-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:24px;align-items:start}
.cg-home-community-wide,.cg-home-research-sidebar{border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-sizing:border-box}
.cg-home-community-wide{padding:24px}
.cg-home-community-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:18px;border-bottom:1px solid #e9edf3}
.cg-home-community-head h2{margin:5px 0 4px;font-size:28px;color:#102b50}
.cg-home-community-head p{margin:0;color:#68778d;font-size:14px}
.cg-home-community-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.cg-home-community-view{font-weight:700;text-decoration:none;color:#1769d2;white-space:nowrap}
.cg-home-community-ask{display:inline-block;padding:10px 15px;border-radius:9px;background:#1769d2;color:#fff!important;text-decoration:none;font-weight:700;white-space:nowrap}
.cg-home-community-feed{display:grid;gap:0}
.cg-home-community-item{padding:20px 0;border-bottom:1px solid #e8edf3}
.cg-home-community-item:last-child{border-bottom:0;padding-bottom:4px}
.cg-home-community-main{display:flex;gap:14px}
.cg-home-community-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:50%;overflow:hidden;text-decoration:none;background:#eef4ff;display:flex;align-items:center;justify-content:center;font-weight:800;color:#1769d2}
.cg-home-community-avatar img{width:100%;height:100%;object-fit:cover}
.cg-home-community-copy{min-width:0;flex:1}
.cg-home-community-meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:12px;color:#748198}
.cg-home-community-type{display:inline-block;padding:3px 8px;border-radius:999px;background:#f1f4f8;color:#24364e;font-weight:700}
.cg-home-community-copy h3{margin:7px 0 5px;font-size:19px;line-height:1.3}
.cg-home-community-copy h3 a{color:#102b50;text-decoration:none}
.cg-home-community-copy p{margin:0;color:#4f6075;line-height:1.5;font-size:14px}
.cg-home-community-replybar{display:flex;justify-content:space-between;gap:12px;margin-top:10px;font-size:13px;color:#65748a}
.cg-home-community-replybar a{color:#1769d2;text-decoration:none;font-weight:700}
.cg-home-community-comments{margin:14px 0 0 66px;padding:12px 15px;background:#f7f9fc;border-radius:12px}
.cg-home-community-comment{display:flex;gap:10px;padding:8px 0;border-bottom:1px solid #e5eaf1}
.cg-home-community-comment:last-of-type{border-bottom:0}
.cg-home-community-comment-avatar{width:32px;height:32px;flex:0 0 32px;border-radius:50%;overflow:hidden;background:#e5f0ff;color:#1769d2;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:800}
.cg-home-community-comment-avatar img{width:100%;height:100%;object-fit:cover}
.cg-home-community-comment strong{font-size:13px;color:#20344e}
.cg-home-community-comment small{margin-left:7px;color:#8a95a6;font-size:11px}
.cg-home-community-comment p{margin:3px 0 0;color:#5d6c80;font-size:12px;line-height:1.45}
.cg-home-community-more-replies{display:inline-block;margin-top:8px;color:#1769d2;text-decoration:none;font-weight:700;font-size:12px}
.cg-home-community-no-replies{margin:14px 0 0 66px;padding:11px 14px;background:#f7f9fc;border-radius:10px;color:#718097;font-size:12px}
.cg-home-research-sidebar{padding:20px}
.cg-home-research-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.cg-home-research-head h2{margin:0;font-size:22px;color:#102b50}
.cg-home-research-head a{font-size:13px;color:#1769d2;font-weight:700;text-decoration:none;white-space:nowrap}
.cg-home-research-feed{display:grid;gap:18px}
.cg-home-research-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px}
.cg-home-research-thumb{height:76px;border-radius:10px;overflow:hidden;background:#eef3f8;display:flex;align-items:center;justify-content:center;text-decoration:none;color:#58708d;font-size:12px;font-weight:700}
.cg-home-research-thumb img{width:100%;height:100%;object-fit:cover}
.cg-home-research-copy h3{font-size:14px;line-height:1.25;margin:0 0 5px}
.cg-home-research-copy h3 a{color:#102b50;text-decoration:none}
.cg-home-research-copy p{margin:0 0 5px;color:#6d7b8f;font-size:12px;line-height:1.35}
.cg-home-research-copy>a{color:#1769d2;text-decoration:none;font-size:12px;font-weight:700}
.cg-home-new-user{margin-top:20px;padding:16px;border-radius:14px;background:#edf6ff;border:1px solid #d5e8fb}
.cg-home-new-user h3{margin:5px 0 5px;color:#102b50;font-size:18px}
.cg-home-new-user p{margin:0 0 10px;color:#566b83;font-size:13px;line-height:1.4}
.cg-home-new-user a{color:#1769d2;text-decoration:none;font-weight:700;font-size:13px}
.cg-home-trending{display:flex;align-items:center;gap:22px;margin-top:22px;padding:17px 20px;border-radius:15px;background:#f1f6ff;border:1px solid #dce9fa}
.cg-home-trending-intro{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.cg-home-trending-icon{font-size:28px;color:#7048d8;font-weight:800}
.cg-home-trending-intro h2{margin:0;color:#102b50;font-size:20px}
.cg-home-trending-intro p{margin:2px 0 0;color:#718096;font-size:12px}
.cg-home-trending-list{display:flex;gap:8px;flex-wrap:wrap;flex:1}
.cg-home-trending-list a{padding:7px 12px;border:1px solid #cfdded;border-radius:999px;background:#fff;color:#29405e;text-decoration:none;font-size:12px;font-weight:600}
.cg-home-trending-all{white-space:nowrap;color:#1769d2;text-decoration:none;font-weight:700;font-size:13px}
@media(max-width:1000px){.cg-home-showcase-grid{grid-template-columns:1fr}.cg-home-research-sidebar{order:2}.cg-home-community-wide{order:1}.cg-home-trending{align-items:flex-start;flex-wrap:wrap}.cg-home-trending-list{flex-basis:100%}}
@media(max-width:700px){.cg-home-community-wide,.cg-home-research-sidebar{padding:16px;border-radius:14px}.cg-home-community-head{flex-direction:column}.cg-home-community-actions{width:100%;justify-content:space-between}.cg-home-community-head h2{font-size:23px}.cg-home-community-comments{margin-left:0}.cg-home-community-no-replies{margin-left:0}.cg-home-community-copy h3{font-size:17px}.cg-home-community-replybar{align-items:flex-start;flex-direction:column;gap:5px}.cg-home-research-item{grid-template-columns:82px minmax(0,1fr)}.cg-home-research-thumb{height:68px}.cg-home-trending{gap:12px;padding:14px}.cg-home-trending-intro{width:100%}.cg-home-trending-all{margin-left:auto}}

/* v0.7.15 community comment display */
.cg-home-comment-text{
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  display:block !important;
  max-width:100%;
}
.cg-community-see-more{
  display:inline-flex;
  margin-top:10px;
  border:0;
  background:transparent;
  color:#1769d2;
  font-size:13px;
  font-weight:700;
  padding:0;
  cursor:pointer;
}
.cg-community-extra-comments[hidden]{display:none !important;}
/* Community page: 3-line comment preview with a simple inline-looking See more link. */
.cg-community-comment-text{
  display:-webkit-box !important;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  line-clamp:3;
  overflow:hidden !important;
  line-height:1.65 !important;
  max-height:4.95em;
  overflow-wrap:anywhere !important;
  word-break:break-word !important;
  white-space:normal !important;
  padding-right:0 !important;
  position:relative;
}
.cg-community-comment-text p{
  margin:0 !important;
}
.cg-community-comment-text.expanded{
  display:block !important;
  -webkit-line-clamp:unset;
  line-clamp:unset;
  max-height:none;
  overflow:visible !important;
}
.cg-community-comment{
  position:relative;
}
.cg-community-comment-more[hidden]{display:none !important;}
.cg-community-comment-more{
  position:absolute;
  right:9px;
  bottom:9px;
  z-index:2;
  display:inline !important;
  margin:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f7f8fb !important;
  color:#1769d2 !important;
  font-size:13px;
  line-height:1.65;
  font-weight:600;
  padding:0 0 0 4px !important;
  cursor:pointer;
  text-decoration:none;
  box-shadow:none !important;
}
.cg-community-comment-more:hover{
  text-decoration:underline;
}
.cg-community-comment-more:hover{
  text-decoration:underline;
}
.cg-community-see-more{
  display:inline-block;
  margin-top:10px;
  border:0;
  background:transparent;
  color:#1769d2;
  font-size:13px;
  font-weight:700;
  padding:0;
  cursor:pointer;
}

/* Homepage: comment must stay on one line and end with an ellipsis. */
.cg-home-community-comment p,
.cg-home-comment-text{
  display:block;
  width:100%;
  min-width:0;
  margin:3px 0 0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  overflow-wrap:normal;
  word-break:normal;
}


/* v0.7.25 - image-only gallery icon beside Post now */
.cg-community-post-actions{display:flex;align-items:center;gap:8px;margin-top:7px}
.cg-community-post-actions .cg-community-post-attach{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;box-sizing:border-box;padding:0;border:1px solid #d9dde6;border-radius:8px;background:#fff;cursor:pointer;flex:0 0 42px}
.cg-community-post-actions .cg-community-post-attach span{display:block;width:20px;height:20px;background:#000;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 6.5l-7.8 7.8a3.5 3.5 0 0 0 5 5l7-7a5 5 0 0 0-7.1-7.1l-7.7 7.7a6.5 6.5 0 0 0 9.2 9.2l6.8-6.8'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.5 6.5l-7.8 7.8a3.5 3.5 0 0 0 5 5l7-7a5 5 0 0 0-7.1-7.1l-7.7 7.7a6.5 6.5 0 0 0 9.2 9.2l6.8-6.8'/%3E%3C/svg%3E") center/contain no-repeat}
.cg-community-post-actions .cg-community-post-attach input{display:none}
.cg-community-post-actions .cg-primary{margin:0}
.cg-community-post-attachment{margin:10px 0 4px}.cg-community-post-attachment img{display:block;max-width:min(520px,100%);max-height:420px;width:auto;height:auto;border-radius:10px;border:1px solid #e1e4eb}
@media(max-width:760px){.cg-community-post-actions{flex-wrap:wrap}}


/* v0.7.27: community profile pictures + simple View Comments link */
.cg-profile-upload-label span{font-weight:400;color:#69728a;font-size:12px}
.cg-profile-upload-label input[type=file]{padding:8px 0;background:transparent;border:0;cursor:pointer}
.cg-community-post-author{display:flex;align-items:flex-start;gap:11px}
.cg-community-post-avatar{flex:0 0 auto}
.cg-community-avatar{width:52px;height:52px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#eef1f6;color:#536078;font-weight:700;font-size:18px;vertical-align:middle}
.cg-community-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.cg-community-comment-author{display:flex;align-items:center;gap:9px;min-width:0}
.cg-community-comment-avatar{flex:0 0 auto;line-height:0}
.cg-community-comment-avatar .cg-community-avatar{width:36px;height:36px;font-size:13px}
.cg-community-comment-author b{margin-right:8px}
.cg-community-comment-author small{color:#69728a}
.cg-community-member{display:flex;align-items:center;gap:10px;min-width:0}
.cg-community-member-avatar{line-height:0}
.cg-community-member-avatar .cg-community-avatar{width:40px;height:40px;font-size:15px}
.cg-community-see-more{display:inline !important;margin:10px 0 0 !important;padding:0 !important;border:0 !important;background:transparent !important;color:#1769d2 !important;font-size:13px !important;font-weight:600 !important;line-height:1.4 !important;cursor:pointer;box-shadow:none !important;border-radius:0 !important}
.cg-community-see-more:hover{text-decoration:underline}

/* v0.7.28 Community redesign - scoped to Community only */
.cg-community-hub{max-width:1100px;margin:34px auto;padding:28px;background:#fff;border:1px solid #e5eaf0;border-radius:18px;box-shadow:none;color:#172b49}
.cg-community-intro{padding:2px 0 18px}.cg-community-intro h2{margin:2px 0 5px;font-size:30px;letter-spacing:-.025em;color:#102b50}.cg-community-intro p{margin:0;color:#617086;font-size:14px}
.cg-community-notice{border:1px solid #e1e7ef;border-radius:10px;background:#f8fafc;margin:0 0 16px}.cg-community-notice summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:9px;padding:11px 13px;font-size:13px;color:#31445e}.cg-community-notice summary::-webkit-details-marker{display:none}.cg-community-notice summary span:last-child{margin-left:auto;color:#1769d2;font-weight:700}.cg-community-notice-body{padding:0 14px 13px;color:#617086;font-size:13px;line-height:1.55}
.cg-community-memberbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0 15px;border-bottom:1px solid #edf0f4;margin-bottom:16px}.cg-community-member-actions{display:flex;align-items:center;gap:12px}.cg-community-member-actions a{font-size:13px;font-weight:700;color:#1769d2;text-decoration:none}.cg-community-logout{background:transparent!important;color:#617086!important;padding:7px 0!important;font-size:13px!important}
.cg-community-create{margin:0 0 18px;border:1px solid #dfe6ee;border-radius:12px;background:#fff}.cg-community-create>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:10px;padding:13px 15px}.cg-community-create>summary::-webkit-details-marker{display:none}.cg-create-icon{width:28px;height:28px;border-radius:8px;background:#1769d2;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:20px;line-height:1}.cg-community-create summary strong{display:block;font-size:14px;color:#18304e}.cg-community-create summary small{display:block;margin-top:2px;color:#738197;font-size:12px}.cg-community-compose{padding:18px;border-top:1px solid #edf0f4}.cg-compose-head h3{margin:0 0 3px;font-size:20px}.cg-compose-head p{margin:0 0 14px;color:#69798e;font-size:13px}.cg-community-compose label{display:block;margin:0 0 12px;font-size:12px;font-weight:700;color:#3b4c63}.cg-community-compose input,.cg-community-compose select,.cg-community-compose textarea{margin-top:6px}.cg-community-post-actions{display:flex;align-items:center;gap:9px}.cg-community-post-actions .cg-primary{background:#1769d2!important}.cg-community-post-actions [data-cg-community-post-status]{font-size:12px;color:#64748b}
.cg-community-toolbar{margin:0 0 12px}.cg-community-search{display:flex;align-items:center;gap:8px;border:1px solid #dce3eb;border-radius:10px;background:#fff;padding:0 12px}.cg-community-search span{color:#718096;font-size:20px}.cg-community-search input{border:0!important;box-shadow:none!important;padding:12px 2px!important}.cg-community-filters{display:flex;gap:7px;margin-top:10px;overflow-x:auto;padding-bottom:2px}.cg-community-filters button{white-space:nowrap;border:1px solid #dce3eb;background:#fff;color:#52647a;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700}.cg-community-filters button.is-active{background:#edf5ff;border-color:#b9d5f6;color:#1769d2}
.cg-community-live-status{font-size:12px;color:#69798e;margin:8px 0 14px}.cg-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#36a269;margin-right:6px}
.cg-community-post{border:1px solid #e0e6ed;border-radius:14px;padding:18px;margin:0 0 12px;background:#fff;box-shadow:none}.cg-community-post-head{display:flex!important;justify-content:space-between!important;gap:12px!important;align-items:flex-start!important}.cg-community-post-author{display:flex;gap:11px;min-width:0}.cg-community-post-author-copy{min-width:0}.cg-community-meta-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cg-community-meta-row small{color:#77859a;font-size:11px}.cg-community-post-author-copy h3{margin:6px 0 0;font-size:18px;line-height:1.3;color:#152e4c}.cg-community-post-menu-wrap{position:relative}.cg-community-more{border:0!important;background:transparent!important;color:#66768c!important;padding:2px 7px!important;font-size:22px!important;line-height:1}.cg-community-post-menu,.cg-community-comment-menu{position:absolute;right:0;top:30px;z-index:30;min-width:150px;padding:5px;background:#fff;border:1px solid #dce3eb;border-radius:9px;box-shadow:0 8px 24px rgba(20,40,65,.12)}.cg-community-post-menu button,.cg-community-comment-menu button{display:block;width:100%;text-align:left;border:0;background:#fff;padding:8px 10px;border-radius:6px;font-size:12px;color:#34465e}.cg-community-post-menu button:hover,.cg-community-comment-menu button:hover{background:#f4f7fa}.cg-community-post-body{color:#465970;font-size:14px;line-height:1.6;margin-top:13px}.cg-community-comments{margin-top:16px;padding-top:12px;border-top:1px solid #edf0f4}.cg-comments-heading{font-size:13px;color:#40536b;margin-bottom:10px}.cg-community-comment{position:relative;padding:10px 0 10px 0;margin-left:0}.cg-community-comment + .cg-community-comment{border-top:1px solid #f0f2f5}.cg-community-comment[data-comment-parent]:not([data-comment-parent="0"]){margin-left:38px;padding-left:12px;border-left:2px solid #edf1f5}.cg-community-comment-author{display:flex!important;align-items:center;gap:9px!important}.cg-community-comment-author b{font-size:12px;color:#334860}.cg-community-comment-author small{font-size:11px;color:#8995a5;margin-left:5px}.cg-community-comment-text{margin:7px 0 0 45px;color:#52647a;font-size:13px;line-height:1.5}.cg-community-comment-actions{margin:6px 0 0 45px;display:flex;gap:12px;align-items:center}.cg-comment-action{border:0!important;background:transparent!important;color:#1769d2!important;padding:0!important;font-size:12px!important;font-weight:700}.cg-community-comment-menu{top:62px;right:0}.cg-community-inline-reply{margin:9px 0 0 45px}.cg-inline-reply-form{display:flex!important;gap:7px;align-items:center}.cg-inline-reply-form input{flex:1;min-width:0}.cg-inline-reply-form button{white-space:nowrap}.cg-community-comment-form{display:flex;gap:8px;align-items:center;margin-top:14px}.cg-community-comment-form input[type=text]{flex:1;min-width:0;border:1px solid #dce3eb;border-radius:9px;padding:11px 12px}.cg-community-comment-form .cg-primary{background:#1769d2!important}.cg-community-comment-form .cg-secondary{padding:10px 13px!important}.cg-community-comment-form [data-comment-status]{font-size:11px;color:#66768c}.cg-community-comment-avatar .cg-community-avatar{width:36px;height:36px;font-size:13px}.cg-community-post-avatar .cg-community-avatar{width:52px;height:52px}.cg-community-post-attachment img{border-radius:10px}
.cg-profile-panel{border:1px solid #e0e6ed;border-radius:14px;padding:20px;margin:18px 0;background:#fff}.cg-profile-panel-head h3{margin:3px 0}.cg-profile-panel-head p{margin:0;color:#69798e;font-size:13px}.cg-profile-manager{display:flex;align-items:center;gap:20px;margin-top:16px}.cg-profile-current .cg-community-avatar{width:96px;height:96px;font-size:28px}.cg-profile-manager-actions{display:flex;flex-direction:column;gap:8px}.cg-profile-upload-form{display:flex;flex-wrap:wrap;align-items:center;gap:9px}.cg-profile-file-label{font-size:12px;font-weight:700;color:#3b4c63}.cg-profile-file-label input{display:block;margin-top:5px}.cg-profile-manager-actions small{color:#7a8798;font-size:11px}.cg-profile-remove-form{margin:0}.cg-profile-remove-form button{font-size:12px!important}
.cg-community-login-note{font-size:13px;color:#68778d}.cg-error,.cg-success{padding:9px 11px;border-radius:8px;font-size:13px;margin-bottom:10px}.cg-error{background:#fff4f4;color:#9b2c2c}.cg-success{background:#effaf3;color:#256b42}
@media(max-width:760px){.cg-community-hub{margin:16px auto;padding:18px;border-radius:14px}.cg-community-intro h2{font-size:25px}.cg-community-post{padding:14px}.cg-community-post-author-copy h3{font-size:16px}.cg-community-post-author .cg-community-avatar{width:44px;height:44px}.cg-community-post-head{gap:7px!important}.cg-community-comment[data-comment-parent]:not([data-comment-parent="0"]){margin-left:18px;padding-left:9px}.cg-community-comment-text,.cg-community-comment-actions,.cg-community-inline-reply{margin-left:44px}.cg-community-comment-form{flex-wrap:wrap}.cg-community-comment-form input[type=text]{flex-basis:100%}.cg-inline-reply-form{flex-wrap:wrap}.cg-inline-reply-form input{flex-basis:100%}.cg-profile-manager{align-items:flex-start;flex-direction:column}.cg-profile-upload-form{display:block}.cg-profile-upload-form>*{margin-bottom:8px}.cg-community-filters{margin-right:-2px}.cg-community-post-menu{right:0}}

.cg-inline-edit-form{display:flex;gap:7px;align-items:center}.cg-inline-edit-form input{flex:1;min-width:0;padding:9px 10px;border:1px solid #dce3eb;border-radius:8px}.cg-inline-edit-form button{padding:8px 11px!important;font-size:12px!important}.cg-inline-edit-form [data-edit-status]{font-size:11px;color:#69798e}
@media(max-width:760px){.cg-inline-edit-form{flex-wrap:wrap}.cg-inline-edit-form input{flex-basis:100%}}

/* 0.7.29 Community social UI - scoped only to Community */
html.cg-community-modal-open{overflow:hidden}
.cg-community-hub{max-width:1100px!important;margin:30px auto!important;padding:28px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;color:#14213d}
.cg-community-hub .cg-community-intro{padding:4px 0 16px;border-bottom:1px solid #edf0f5}
.cg-community-hub .cg-community-intro h2{font-size:34px;line-height:1.15;margin:0 0 7px;letter-spacing:-.035em;color:#102047}
.cg-community-hub .cg-community-intro p{margin:0;color:#5d6a82;font-size:16px}
.cg-community-notice{margin:14px 0 16px;border:1px solid #dfe6f0;border-radius:11px;background:#fbfcfe}
.cg-community-notice summary{display:flex;align-items:center;gap:9px;padding:11px 14px;cursor:pointer;list-style:none;color:#294a78;font-size:13px}
.cg-community-notice summary::-webkit-details-marker{display:none}.cg-community-notice summary span:last-child{margin-left:auto;color:#1769d2;font-weight:700}
.cg-community-notice-body{padding:0 14px 13px;color:#59667c;font-size:13px;line-height:1.55}
.cg-community-memberbar{margin:0 0 14px!important;padding:10px 13px!important;border-radius:10px!important;background:#f7f9fc!important;border:1px solid #e2e7ef!important}
.cg-community-member{display:flex;align-items:center;gap:9px;font-size:13px;color:#46536b}.cg-community-member-actions{display:flex;align-items:center;gap:14px}.cg-community-member-actions a{color:#1769d2;font-weight:700;text-decoration:none}
.cg-community-member-avatar .cg-community-avatar{width:36px;height:36px;font-size:14px}
.cg-community-create-wrap{margin:0 0 16px}.cg-community-create-trigger{width:100%;display:flex;align-items:center;gap:11px;padding:14px 16px!important;text-align:left;border:1px solid #dce4ee!important;border-radius:12px!important;background:#fff!important;color:#172544!important;box-shadow:0 2px 8px rgba(24,45,80,.03)}
.cg-community-create-trigger:hover{border-color:#a9c5e8!important;background:#fbfdff!important}.cg-community-create-trigger .cg-create-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#1769d2;color:#fff;font-size:21px;line-height:1}.cg-community-create-trigger strong{display:block;font-size:14px}.cg-community-create-trigger small{display:block;margin-top:2px;color:#718097;font-size:12px}
.cg-community-create-modal{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;padding:20px}.cg-community-create-modal[hidden]{display:none!important}.cg-community-create-backdrop{position:absolute;inset:0;background:rgba(10,23,48,.42)}
.cg-community-create-dialog{position:relative;z-index:2;width:min(680px,100%);max-height:min(88vh,800px);overflow:auto;background:#fff;border:1px solid #dfe5ee;border-radius:18px;padding:28px;box-shadow:0 24px 70px rgba(12,28,55,.2)}
.cg-create-close{position:absolute;right:14px;top:12px;width:36px;height:36px;padding:0!important;border:0!important;background:#f4f6f9!important;color:#4b5870!important;border-radius:50%!important;font-size:24px;line-height:1}.cg-community-create-dialog h3{font-size:28px;margin:0 0 5px;color:#102047}.cg-community-create-dialog>p{margin:0 0 20px;color:#637087}
.cg-post-type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:0 0 18px}.cg-post-type-option{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:92px;padding:10px!important;margin:0!important;border:1px solid #dfe5ee;border-radius:10px;background:#fff;color:#2d3b56;text-align:center;cursor:pointer}.cg-post-type-option input{position:absolute;opacity:0;pointer-events:none}.cg-post-type-option.is-active{border:2px solid #1769d2;background:#f7fbff}.cg-type-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#edf4ff;color:#1769d2;font-weight:800;font-size:18px}.cg-post-type-option strong{font-size:13px}
.cg-community-create-dialog label{font-size:13px;font-weight:700;color:#1c2a45}.cg-community-create-dialog input,.cg-community-create-dialog textarea{margin-top:7px!important;padding:13px 14px!important;border:1px solid #d8e0eb!important;border-radius:9px!important;box-shadow:none!important}.cg-community-create-dialog textarea{min-height:130px}.cg-community-post-actions{display:flex;align-items:center;gap:8px;margin-top:12px}.cg-community-post-actions .cg-primary{margin-left:auto;background:#1769d2!important}.cg-community-post-actions [data-cg-community-post-status]{font-size:12px;color:#66748b}
.cg-community-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin:0!important}.cg-community-search{height:50px!important;border:1px solid #d8e1ec!important;border-radius:11px!important;background:#fff!important}.cg-community-search input{height:100%!important;border:0!important;padding:0 14px 0 8px!important;box-shadow:none!important}.cg-community-search>span{color:#78859a}.cg-community-filters{display:flex!important;gap:8px;overflow-x:auto;scrollbar-width:none;padding:1px}.cg-community-filters::-webkit-scrollbar{display:none}.cg-community-filters button{white-space:nowrap;padding:10px 16px!important;border:1px solid #d8e0ea!important;background:#fff!important;color:#40506a!important;border-radius:999px!important;font-size:13px!important}.cg-community-filters button.is-active{background:#1769d2!important;color:#fff!important;border-color:#1769d2!important}.cg-community-live-status{margin:11px 0 14px!important;font-size:12px!important;color:#637087!important}.cg-live-dot{background:#18a861!important;width:7px!important;height:7px!important}
.cg-community-feed{display:grid!important;gap:12px!important}.cg-community-post{padding:18px 18px 15px!important;border:1px solid #dfe5ed!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}.cg-community-post:hover{border-color:#cbd7e6}.cg-community-post-head{align-items:flex-start!important}.cg-community-post-author{gap:12px!important}.cg-community-avatar{width:50px;height:50px;background:#eef4fb;color:#1769d2;font-size:17px}.cg-community-post-author-copy{min-width:0}.cg-community-meta-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.cg-community-meta-row small{font-size:11px;color:#718097}.cg-badge{padding:4px 8px!important;border-radius:999px!important;background:#edf4ff!important;color:#1769d2!important;font-size:11px!important;font-weight:700}.cg-community-post-head h3{font-size:19px!important;line-height:1.3;margin:7px 0 3px!important;color:#122143}.cg-community-post-head h3 a{color:inherit;text-decoration:none}.cg-community-post-head h3 a:hover{color:#1769d2}.cg-community-post-body{margin:8px 0 13px!important;color:#53627a!important;line-height:1.55!important;font-size:14px}.cg-community-more{width:34px;height:34px;padding:0!important;border-radius:50%!important;background:#fff!important;color:#5e6d84!important;font-size:21px!important}.cg-community-more:hover{background:#f3f6fa!important}
.cg-community-post-actions-main{border-top:1px solid #edf0f4;margin-top:2px}.cg-community-post-actions-row{display:flex;align-items:center;gap:18px;padding-top:10px}.cg-social-action{display:inline-flex!important;align-items:center;gap:6px!important;padding:5px 2px!important;border:0!important;background:transparent!important;color:#53627a!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important;cursor:pointer!important}.cg-social-action:hover,.cg-social-action.is-active{color:#1769d2!important}.cg-social-icon{font-size:19px;line-height:1;font-weight:400}.cg-social-action.is-active .cg-social-icon{font-weight:800}
.cg-community-comments{border-top:1px solid #edf0f4!important;padding-top:12px!important;margin-top:10px}.cg-comments-heading{margin-bottom:9px}.cg-comments-heading strong{font-size:13px;color:#263651}.cg-community-comment{position:relative;margin-top:8px!important;padding:12px 13px!important;border-radius:11px!important;background:#f7f9fc!important;border:1px solid #edf0f4!important}.cg-community-comment-depth-0{}.cg-community-comment-replies{margin-left:34px}.cg-community-comment-author{display:flex!important;align-items:center!important;gap:9px!important}.cg-community-comment-author .cg-community-avatar{width:36px;height:36px;font-size:13px}.cg-community-comment-author b{font-size:12px;color:#20314e}.cg-community-comment-author small{display:block;font-size:11px;color:#7a879a}.cg-community-comment-text{margin:8px 0 3px!important;color:#45546c;font-size:13px;line-height:1.5}.cg-community-comment-text p{margin:0}.cg-community-comment-actions{display:flex!important;align-items:center;gap:13px!important;margin-top:5px!important}.cg-community-comment-actions .cg-social-action{font-size:12px!important}.cg-community-comment-menu,.cg-community-post-menu{position:absolute;right:10px;top:42px;z-index:20;min-width:150px;padding:5px;background:#fff;border:1px solid #dfe5ed;border-radius:10px;box-shadow:0 10px 30px rgba(20,35,60,.12)}.cg-community-post-menu{top:42px}.cg-community-comment-menu button,.cg-community-post-menu button{display:block;width:100%;padding:9px 10px!important;text-align:left;border:0;background:#fff;color:#3d4b62;font-size:12px;border-radius:7px}.cg-community-comment-menu button:hover,.cg-community-post-menu button:hover{background:#f3f6fa}.cg-community-inline-reply{margin:8px 0 0 45px}.cg-community-inline-reply[hidden]{display:none!important}.cg-inline-reply-form{display:flex!important;gap:7px!important;align-items:center!important;margin:0!important}.cg-inline-reply-form input{flex:1;min-width:0}.cg-community-comment-form{display:flex!important;align-items:center!important;gap:8px!important;margin-top:12px!important}.cg-community-comment-form input{flex:1;min-width:0;padding:12px 13px!important;border:1px solid #d8e0ea!important;border-radius:10px!important}.cg-community-comment-form button{background:#1769d2!important;color:#fff!important;border-radius:9px!important}.cg-community-attach{display:inline-flex!important;align-items:center;justify-content:center;width:40px;height:40px;padding:0!important;border:1px solid #d8e0ea!important;border-radius:9px!important;background:#fff!important}.cg-community-file-name{font-size:11px;color:#68768c;max-width:180px}.cg-community-login-note{padding:12px;background:#f7f9fc;border-radius:9px}
.cg-community-post-attachment img{border-radius:10px!important}.cg-community-post-menu-wrap{position:relative}.cg-community-comment-menu[data-cg-comment-menu-box]{position:absolute}.cg-community-post-menu-wrap .cg-community-post-menu{right:0}
.cg-community-create-dialog .cg-community-post-attach{width:42px;height:42px;margin:0!important}.cg-community-create-dialog .cg-community-post-attach span{width:19px;height:19px}
@media(max-width:900px){.cg-community-hub{margin:15px auto!important;padding:18px!important}.cg-community-toolbar{grid-template-columns:1fr!important}.cg-community-filters{width:100%}.cg-community-post{padding:15px!important}.cg-community-post-head h3{font-size:18px!important}}
@media(max-width:600px){.cg-community-hub{padding:12px!important;margin:0 auto!important}.cg-community-hub .cg-community-intro{padding-top:2px}.cg-community-hub .cg-community-intro h2{font-size:27px}.cg-community-hub .cg-community-intro p{font-size:14px}.cg-community-memberbar{align-items:center!important;flex-direction:row!important}.cg-community-member-actions{gap:8px}.cg-community-create-trigger{padding:12px!important}.cg-community-feed{gap:10px!important}.cg-community-post{border-radius:13px!important;padding:13px!important}.cg-community-post-avatar .cg-community-avatar{width:46px;height:46px}.cg-community-meta-row small{font-size:10px}.cg-community-post-head h3{font-size:17px!important}.cg-community-post-body{font-size:13px!important}.cg-community-post-actions-row{gap:14px}.cg-social-action{font-size:12px!important}.cg-community-comment-replies{margin-left:17px}.cg-community-inline-reply{margin-left:17px}.cg-community-comment-form{flex-wrap:wrap!important}.cg-community-comment-form input{flex:1 1 calc(100% - 92px)}.cg-community-comment-form .cg-community-attach{order:2}.cg-community-comment-form button{order:3}.cg-community-create-modal{padding:0;align-items:flex-end}.cg-community-create-dialog{width:100%;max-height:94vh;border-radius:18px 18px 0 0;padding:22px 16px}.cg-post-type-grid{grid-template-columns:repeat(4,1fr);gap:6px}.cg-post-type-option{min-height:76px;padding:7px!important}.cg-post-type-option strong{font-size:11px}.cg-community-post-actions{flex-wrap:wrap}.cg-community-post-actions .cg-primary{width:100%;margin-left:0}.cg-community-create-dialog h3{font-size:24px}.cg-community-create-dialog textarea{min-height:120px}}

/* v0.7.30 — social/community interaction refresh */
.cg-community-hub{
  max-width:1120px!important;margin:28px auto!important;padding:0!important;background:#f6f8fb!important;border:0!important;border-radius:18px!important;color:#172b49!important;
}
.cg-community-intro{
  background:#fff;border:1px solid #e1e7ef;border-radius:16px;padding:22px 24px 18px!important;margin-bottom:12px;box-shadow:0 2px 8px rgba(24,44,72,.035);
}
.cg-community-intro h2{font-size:27px!important;margin:0 0 4px!important;letter-spacing:-.035em!important;color:#142b4d!important}
.cg-community-intro p{font-size:14px!important;color:#66758a!important}
.cg-community-notice{background:#fff!important;border:1px solid #e1e7ef!important;border-radius:12px!important;margin:0 0 10px!important}
.cg-community-notice summary{padding:11px 14px!important;font-size:12px!important}
.cg-community-memberbar{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:10px 14px!important;margin:0 0 10px!important}
.cg-community-create{background:#fff!important;border:1px solid #e1e7ef!important;border-radius:12px!important;margin:0 0 12px!important;box-shadow:0 2px 8px rgba(24,44,72,.025)}
.cg-community-create>summary{padding:12px 14px!important}
.cg-create-icon{width:34px!important;height:34px!important;border-radius:10px!important}
.cg-community-toolbar{background:transparent;margin:0 0 7px!important;display:flex;align-items:center;gap:10px}
.cg-community-search{flex:1;background:#fff!important;border:1px solid #dce3eb!important;border-radius:11px!important;min-width:0}
.cg-community-filters{margin-top:0!important;gap:6px!important;flex:0 0 auto;max-width:52%;}
.cg-community-filters button{background:#fff!important;border-color:#d9e1ea!important;padding:8px 13px!important;font-size:12px!important}
.cg-community-filters button.is-active{background:#eaf3ff!important;border-color:#b8d4f3!important;color:#1265c3!important}
.cg-community-live-status{margin:7px 2px 10px!important;font-size:11px!important}
.cg-community-post{background:#fff!important;border:1px solid #dfe6ee!important;border-radius:16px!important;padding:16px 18px 12px!important;margin-bottom:12px!important;box-shadow:0 2px 10px rgba(25,48,78,.035)!important}
.cg-community-post-author .cg-community-avatar{width:44px!important;height:44px!important;font-size:15px!important}
.cg-community-meta-row{gap:6px!important}
.cg-community-meta-row small{font-size:11px!important;color:#7b8797!important}
.cg-community-post-author-copy h3{font-size:17px!important;margin:5px 0 0!important}
.cg-community-post-author-copy h3 a{color:#152f51!important;text-decoration:none!important}
.cg-community-post-body{font-size:14px!important;color:#46586f!important;line-height:1.55!important;margin:12px 0 0 55px!important}
.cg-community-post-actions-main{margin:13px 0 0 55px!important;padding-top:10px;border-top:1px solid #edf0f4}
.cg-community-post-actions-row{display:flex;align-items:center;gap:4px!important}
.cg-social-action{border:0!important;background:transparent!important;color:#5d6c80!important;border-radius:8px!important;padding:7px 10px!important;font-size:12px!important;font-weight:600!important;display:inline-flex!important;align-items:center!important;gap:5px!important;cursor:pointer!important;text-decoration:none!important}
.cg-social-action:hover{background:#f2f5f8!important;color:#1769d2!important}
.cg-social-action.is-active{color:#1769d2!important;background:#edf5ff!important}
.cg-social-icon{font-size:18px;line-height:1}
.cg-comment-scroll{cursor:pointer}
.cg-community-comments{margin:11px 0 0 55px!important;padding:12px 0 0!important;border-top:1px solid #edf0f4!important}
.cg-comments-heading{font-size:13px!important;font-weight:700!important;color:#243a57!important;margin-bottom:8px!important}
.cg-community-comment-list{display:block}
.cg-community-comment{background:#f6f8fb;border:1px solid #edf0f4;border-radius:12px;padding:10px 12px!important;margin:7px 0!important}
.cg-community-comment + .cg-community-comment{border-top:1px solid #edf0f4!important}
.cg-community-comment-author{gap:8px!important}
.cg-community-comment-author .cg-community-avatar{width:32px!important;height:32px!important;font-size:12px!important}
.cg-community-comment-author b{font-size:12px!important;color:#273d59!important}
.cg-community-comment-author small{font-size:10px!important;color:#8792a2!important}
.cg-community-comment-text{margin:7px 0 0 40px!important;color:#3f536c!important;font-size:13px!important;line-height:1.5!important}
.cg-community-comment-actions{margin:5px 0 0 40px!important;gap:3px!important}
.cg-community-comment-actions .cg-social-action{padding:5px 8px!important;font-size:11px!important}
.cg-community-comment-replies{margin:5px 0 0 34px!important;padding-left:12px;border-left:2px solid #dbe7f4}
.cg-community-comment[data-comment-parent]:not([data-comment-parent="0"]){margin:7px 0!important;padding-left:12px!important;border-left:0!important;background:#fff!important}
.cg-community-comment[data-comment-parent]:not([data-comment-parent="0"]) .cg-community-comment-text{margin-left:40px!important}
.cg-community-comment[data-comment-parent]:not([data-comment-parent="0"]) .cg-community-comment-actions{margin-left:40px!important}
.cg-community-comment.has-replies{border-color:#dce6f1}
.cg-community-inline-reply{margin:7px 0 2px 40px!important}
.cg-reply-context{font-size:10px;color:#75849a;margin:0 0 5px}
.cg-reply-context strong{color:#50637b}
.cg-inline-reply-form{background:#fff;border:1px solid #dce4ed;border-radius:10px;padding:6px!important}
.cg-inline-reply-form input{border:0!important;box-shadow:none!important;padding:8px 7px!important;font-size:12px!important;background:transparent!important}
.cg-inline-reply-form .cg-primary,.cg-inline-reply-form .cg-secondary{padding:7px 10px!important;font-size:11px!important}
.cg-community-comment-form{background:#fff;border:1px solid #dce4ed;border-radius:12px;padding:6px!important;margin:11px 0 0 55px!important}
.cg-community-comment-form input[type=text]{border:0!important;box-shadow:none!important;background:transparent!important;padding:9px 8px!important}
.cg-community-comment-form .cg-primary{padding:9px 14px!important;border-radius:8px!important}
.cg-community-single-wrap{max-width:1120px;margin:28px auto;padding:0 0 40px}
.cg-community-single-shell{background:#f6f8fb;border-radius:18px;padding:18px}
.cg-community-back-link{display:inline-block;margin:0 0 12px;color:#1769d2;font-size:13px;font-weight:700;text-decoration:none}
.cg-community-single-shell .cg-community-post{margin-bottom:12px!important}
.cg-community-single-notice{background:#fff;border:1px solid #e1e7ef;border-radius:12px;padding:11px 14px;color:#69788c;font-size:12px}
.cg-community-post-menu,.cg-community-comment-menu{border-radius:10px!important;box-shadow:0 10px 28px rgba(20,40,65,.15)!important}

@media(max-width:900px){
  .cg-community-hub{margin:16px auto!important}
  .cg-community-toolbar{display:block}
  .cg-community-search{width:100%}
  .cg-community-filters{max-width:none;margin-top:8px!important;overflow-x:auto}
}
@media(max-width:700px){
  .cg-community-hub{padding:0 10px!important;margin:10px auto!important;background:#f6f8fb!important}
  .cg-community-intro{padding:17px 16px 15px!important;border-radius:14px!important}
  .cg-community-intro h2{font-size:22px!important}
  .cg-community-intro p{font-size:13px!important;line-height:1.45}
  .cg-community-memberbar{padding:9px 11px!important}
  .cg-community-member-actions{gap:8px!important}
  .cg-community-post{padding:13px 12px 10px!important;border-radius:14px!important}
  .cg-community-post-author .cg-community-avatar{width:42px!important;height:42px!important}
  .cg-community-post-author-copy h3{font-size:16px!important}
  .cg-community-post-body{margin:10px 0 0 0!important;font-size:14px!important}
  .cg-community-post-actions-main{margin:10px 0 0!important;padding-top:8px!important}
  .cg-community-comments{margin:9px 0 0!important;padding-top:10px!important}
  .cg-community-comment-list{margin:0}
  .cg-community-comment{padding:9px 10px!important;border-radius:11px!important}
  .cg-community-comment-text{margin:6px 0 0 40px!important}
  .cg-community-comment-actions{margin:4px 0 0 40px!important}
  .cg-community-comment-replies{margin:5px 0 0 22px!important;padding-left:9px!important}
  .cg-community-inline-reply{margin-left:40px!important}
  .cg-community-comment-form{margin:9px 0 0!important;display:flex!important;flex-wrap:wrap!important}
  .cg-community-comment-form input[type=text]{flex-basis:100%!important}
  .cg-community-comment-form .cg-primary{margin-left:auto}
  .cg-community-single-wrap{margin:10px auto;padding:0 10px 30px}
  .cg-community-single-shell{padding:10px;border-radius:14px}
}

/* v0.7.31 Community conversation fixes */
.cg-community-collapsible-text{overflow:hidden;max-height:7.5em;position:relative}
.cg-community-collapsible-text.is-expanded{max-height:none!important;overflow:visible}
.cg-community-see-more{border:0!important;background:transparent!important;color:#1769d2!important;padding:4px 0!important;margin:2px 0 0!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
.cg-community-post-body.cg-community-collapsible-text{max-height:8.2em!important;margin-bottom:3px!important}
.cg-community-post-body.cg-community-collapsible-text.is-expanded{max-height:none!important}
.cg-community-comment-text.cg-community-collapsible-text{max-height:6em!important}
.cg-community-comment-text.cg-community-collapsible-text.is-expanded{max-height:none!important}
.cg-community-reply-count{border:0!important;background:transparent!important;color:#1769d2!important;padding:3px 0!important;margin:3px 0 0 40px!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important}
.cg-community-comment-replies{display:block!important}
.cg-community-comment-replies[data-cg-collapsed="1"]{display:none!important}
.cg-community-comment.cg-community-reply{position:relative;margin-left:22px!important;border-left:2px solid #d7e4f2!important;border-radius:0 10px 10px 0!important;background:#fff!important;padding-left:12px!important}
.cg-community-comment.cg-community-reply:before{content:"";position:absolute;left:-2px;top:20px;width:10px;border-top:2px solid #d7e4f2}
@media(max-width:700px){
 .cg-community-post-body.cg-community-collapsible-text{max-height:7.5em!important}
 .cg-community-comment-replies{margin-left:18px!important;padding-left:9px!important}
 .cg-community-comment.cg-community-reply{margin-left:8px!important;padding-left:10px!important}
 .cg-community-reply-count{margin-left:40px!important}
}
/* v0.7.32 conversation density + progressive disclosure */
.cg-community-comment-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:2px!important}
.cg-community-comment-actions .cg-reply-count-inline{color:#1769d2!important;font-weight:700!important}
.cg-community-comment-replies[hidden]{display:none!important}
.cg-community-more-comments{display:inline-flex!important;align-items:center!important;border:0!important;background:transparent!important;color:#1769d2!important;font-weight:700!important;font-size:12px!important;padding:6px 0!important;margin:3px 0 0 40px!important;cursor:pointer!important}
.cg-community-comment-extra[hidden]{display:none!important}
.cg-community-collapsible-text{position:relative;max-height:6em!important;overflow:hidden!important}
.cg-community-collapsible-text.is-expanded{max-height:none!important;overflow:visible!important}
.cg-community-see-more{display:inline-block!important}
.cg-community-filters{display:flex!important;flex-wrap:wrap!important;gap:7px!important;overflow:visible!important}
@media(max-width:700px){
 .cg-community-filters{flex-wrap:wrap!important;overflow:visible!important}
 .cg-community-more-comments{margin-left:40px!important}
 .cg-community-post{margin-bottom:9px!important}
 .cg-community-comment{margin:5px 0!important;padding:8px 9px!important}
 .cg-community-comment-author .cg-community-avatar{width:30px!important;height:30px!important}
 .cg-community-comment-text{margin:5px 0 0 38px!important}
 .cg-community-comment-actions{margin:3px 0 0 38px!important}
 .cg-community-comment-replies{margin:4px 0 0 18px!important;padding-left:8px!important}
 .cg-community-comment-replies .cg-community-comment{margin:4px 0!important}
 .cg-community-comment-form{margin:7px 0 0!important}
 .cg-community-more-comments{margin-left:38px!important}
 .cg-community-post-menu-wrap,.cg-community-comment-menu{position:relative;z-index:20}
 .cg-community-more{width:32px!important;height:32px!important;display:flex!important;align-items:center!important;justify-content:center!important}
}

/* v0.7.33 — Community responsive polish
 * Desktop: keep all discussion filters on one clean row.
 * Mobile: keep post menu beside the author block, compact the comment composer,
 * and prevent long unbroken text from pushing/overlapping See more.
 */
@media(min-width:901px){
  .cg-community-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:12px!important;
  }
  .cg-community-filters{
    max-width:none!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
    white-space:nowrap!important;
    width:auto!important;
    margin-top:0!important;
  }
  .cg-community-filters button{
    flex:0 0 auto!important;
  }
}

/* Long text must wrap before the See more control. */
.cg-community-collapsible-text,
.cg-community-collapsible-text p{
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  min-width:0!important;
}
.cg-community-see-more{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  clear:both!important;
  margin-top:6px!important;
  line-height:1.3!important;
}

@media(max-width:700px){
  /* Keep the three-dot post menu at the top-right beside the author row. */
  .cg-community-post-head{
    flex-direction:row!important;
    align-items:flex-start!important;
    gap:8px!important;
  }
  .cg-community-post-author{
    flex:1 1 auto!important;
    min-width:0!important;
  }
  .cg-community-post-menu-wrap{
    flex:0 0 34px!important;
    width:34px!important;
    position:relative!important;
    align-self:flex-start!important;
    margin-top:-2px!important;
  }
  .cg-community-more{
    width:34px!important;
    height:34px!important;
    padding:0!important;
    margin:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:50%!important;
    font-size:20px!important;
    line-height:1!important;
  }
  .cg-community-post-menu{
    top:36px!important;
    right:0!important;
  }

  /* Compact one-line comment composer. */
  .cg-community-comment-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 38px auto!important;
    align-items:center!important;
    gap:6px!important;
    flex-wrap:nowrap!important;
    padding:5px!important;
    margin:8px 0 0!important;
    border-radius:10px!important;
  }
  .cg-community-comment-form input[type=text]{
    width:100%!important;
    min-width:0!important;
    flex-basis:auto!important;
    padding:8px 8px!important;
    font-size:13px!important;
    height:36px!important;
  }
  .cg-community-comment-form .cg-community-attach{
    order:initial!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    padding:0!important;
    margin:0!important;
    border-radius:8px!important;
  }
  .cg-community-comment-form .cg-primary{
    order:initial!important;
    margin:0!important;
    min-width:72px!important;
    height:36px!important;
    padding:7px 11px!important;
    font-size:12px!important;
    border-radius:8px!important;
  }
  .cg-community-file-name,
  .cg-community-comment-form [data-comment-status]{
    display:none!important;
  }

  /* See more must sit below the text and never overlap the next content block. */
  .cg-community-collapsible-text{
    max-width:100%!important;
  }
  .cg-community-see-more{
    margin-left:0!important;
    margin-bottom:4px!important;
    padding:4px 0!important;
  }

  /* Keep the filter chips compact while allowing two rows on narrow phones. */
  .cg-community-filters{
    width:100%!important;
    max-width:none!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    overflow:visible!important;
  }
  .cg-community-filters button{
    flex:0 0 auto!important;
    padding:7px 12px!important;
    font-size:12px!important;
  }
}


/* v0.7.34 — final responsive polish from live screenshots */

/* Desktop: keep the complete filter set on one row beside search. */
@media (min-width:901px){
  .cg-community-toolbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    width:100%!important;
    align-items:center!important;
  }
  .cg-community-search{min-width:0!important;width:100%!important;}
  .cg-community-filters{
    display:flex!important;
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    overflow:visible!important;
    max-width:none!important;
    width:max-content!important;
    gap:6px!important;
  }
}

@media (max-width:700px){
  /* Keep post menu pinned to the top-right of the post header. */
  .cg-community-post-head{
    position:relative!important;
    display:block!important;
    min-height:48px!important;
    padding-right:40px!important;
  }
  .cg-community-post-author{
    width:100%!important;
    min-width:0!important;
  }
  .cg-community-post-menu-wrap{
    position:absolute!important;
    top:0!important;
    right:0!important;
    width:34px!important;
    height:34px!important;
    margin:0!important;
    z-index:25!important;
  }
  .cg-community-more{
    width:34px!important;
    height:34px!important;
    padding:0!important;
    margin:0!important;
    font-size:20px!important;
  }
  .cg-community-post-menu{
    top:36px!important;
    right:0!important;
  }

  /* Compact comment composer: one short row on phones. */
  .cg-community-comment-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 34px 78px!important;
    align-items:center!important;
    gap:5px!important;
    width:100%!important;
    box-sizing:border-box!important;
    min-height:48px!important;
    height:48px!important;
    padding:4px!important;
    margin:8px 0 0!important;
    overflow:hidden!important;
  }
  .cg-community-comment-form input[type=text]{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    box-sizing:border-box!important;
    padding:7px 9px!important;
    margin:0!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  .cg-community-comment-form .cg-community-attach{
    display:flex!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:34px!important;
    min-height:34px!important;
    max-height:34px!important;
    margin:0!important;
    padding:0!important;
    border-radius:7px!important;
  }
  .cg-community-comment-form .cg-community-attach span{
    width:17px!important;
    height:17px!important;
  }
  .cg-community-comment-form .cg-primary{
    display:flex!important;
    width:78px!important;
    min-width:78px!important;
    max-width:78px!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    margin:0!important;
    padding:5px 7px!important;
    justify-content:center!important;
    align-items:center!important;
    font-size:11px!important;
    line-height:1!important;
    border-radius:7px!important;
  }

  /* Keep all category chips on one horizontal line; scroll only if necessary. */
  .cg-community-filters{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    white-space:nowrap!important;
    gap:6px!important;
    padding:2px 1px 5px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .cg-community-filters::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
  .cg-community-filters button{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    padding:6px 11px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }

  /* Make See more a normal block below the clipped text. */
  .cg-community-collapsible-text{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }
  .cg-community-see-more{
    position:static!important;
    display:block!important;
    width:max-content!important;
    max-width:100%!important;
    clear:both!important;
    margin:5px 0 2px!important;
    padding:2px 0!important;
    line-height:1.35!important;
  }
}

/* v0.7.35 — Community moderation permissions + final text/menu fixes */
/* Never let a long comment/post push the See more/See less control into the text. */
.cg-community-post-body.cg-community-collapsible-text,
.cg-community-comment-text.cg-community-collapsible-text{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:6!important;
  max-height:none!important;
  overflow:hidden!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.cg-community-post-body.cg-community-collapsible-text.is-expanded,
.cg-community-comment-text.cg-community-collapsible-text.is-expanded{
  display:block!important;
  -webkit-line-clamp:unset!important;
  max-height:none!important;
  overflow:visible!important;
}
.cg-community-see-more{
  display:block!important;
  position:static!important;
  clear:both!important;
  width:max-content!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:6px 0 3px!important;
  padding:2px 0!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}
.cg-community-comment,
.cg-community-comment-replies,
.cg-community-post{
  overflow:visible!important;
}

/* Menus must remain accessible on phones and stay inside their comment/post. */
.cg-community-post-head{position:relative!important;}
.cg-community-post-menu-wrap{
  position:absolute!important;
  top:0!important;
  right:0!important;
  width:34px!important;
  height:34px!important;
  z-index:80!important;
}
.cg-community-more{
  position:relative!important;
  z-index:81!important;
}
.cg-community-post-menu,
.cg-community-comment-menu{
  z-index:100!important;
}
.cg-community-comment-menu{
  position:absolute!important;
  right:8px!important;
  top:42px!important;
}

@media(max-width:700px){
  .cg-community-post-head{padding-right:42px!important;min-height:36px!important;}
  .cg-community-post-menu-wrap{top:0!important;right:0!important;}
  .cg-community-comment{overflow:visible!important;}
  .cg-community-comment-menu{right:4px!important;top:40px!important;min-width:140px!important;}
  .cg-community-comment-text.cg-community-collapsible-text{-webkit-line-clamp:5!important;}
  .cg-community-see-more{margin-top:6px!important;margin-bottom:4px!important;}
}

/* v0.7.36 — mobile conversation controls */
.cg-community-post-menu,.cg-community-comment-menu{max-width:calc(100vw - 16px)!important;}
@media(max-width:700px){
  .cg-inline-reply-form{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;}
  .cg-inline-reply-form input{flex:1 1 100%!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;}
  .cg-inline-reply-form .cg-primary,.cg-inline-reply-form .cg-secondary{flex:0 0 auto!important;width:auto!important;min-width:72px!important;}
  .cg-inline-reply-form [data-comment-status]{flex:1 1 100%!important;width:100%!important;}
  .cg-community-post-menu,.cg-community-comment-menu{min-width:140px!important;max-width:calc(100vw - 16px)!important;}
}


/* v0.7.37 — mobile menu + iOS keyboard stability
 * Keep action menus compact and anchored to their triggering post/comment.
 * Use 16px form text on iOS to prevent Safari's automatic input zoom.
 */
.cg-community-post-menu,
.cg-community-comment-menu{
  box-sizing:border-box!important;
  width:156px!important;
  min-width:156px!important;
  max-width:156px!important;
  padding:4px!important;
  background:#fff!important;
  border:1px solid #d9e1eb!important;
  border-radius:9px!important;
  box-shadow:0 8px 22px rgba(20,40,65,.14)!important;
}
.cg-community-comment-menu{width:136px!important;min-width:136px!important;max-width:136px!important;}
.cg-community-post-menu button,
.cg-community-comment-menu button{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:34px!important;
  height:34px!important;
  padding:7px 9px!important;
  margin:0!important;
  border:0!important;
  border-radius:6px!important;
  font-size:12px!important;
  line-height:20px!important;
}

@media(max-width:700px){
  .cg-community-post-menu,
  .cg-community-comment-menu{
    position:absolute!important;
    z-index:9999!important;
    top:38px!important;
    right:0!important;
    left:auto!important;
    bottom:auto!important;
    width:142px!important;
    min-width:142px!important;
    max-width:142px!important;
    padding:3px!important;
    border-radius:8px!important;
  }
  .cg-community-comment-menu{
    top:38px!important;
    right:0!important;
    width:126px!important;
    min-width:126px!important;
    max-width:126px!important;
  }
  .cg-community-post-menu button,
  .cg-community-comment-menu button{
    min-height:32px!important;
    height:32px!important;
    padding:6px 8px!important;
    font-size:12px!important;
    line-height:18px!important;
  }

  /* Never let a comment/reply/post field trigger iOS Safari's automatic zoom. */
  .cg-community-comment-form input[type=text],
  .cg-inline-reply-form input,
  .cg-inline-edit-form input,
  .cg-community-create-dialog input,
  .cg-community-create-dialog textarea{
    font-size:16px!important;
  }

  /* Compact normal comment composer while retaining the 16px iOS-safe font. */
  .cg-community-comment-form{
    min-height:46px!important;
    height:46px!important;
    padding:4px!important;
    gap:5px!important;
  }
  .cg-community-comment-form input[type=text]{
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    padding:6px 8px!important;
    line-height:22px!important;
  }
  .cg-community-comment-form .cg-community-attach{
    width:34px!important;
    min-width:34px!important;
    height:34px!important;
    min-height:34px!important;
  }
  .cg-community-comment-form .cg-primary{
    min-width:76px!important;
    width:76px!important;
    height:34px!important;
    min-height:34px!important;
    padding:5px 8px!important;
    font-size:12px!important;
  }

  /* Reply composer: keep the input + Reply + Cancel controls visible together. */
  .cg-inline-reply-form{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    align-items:center!important;
    gap:5px!important;
    padding:5px!important;
    box-sizing:border-box!important;
    width:100%!important;
    overflow:visible!important;
  }
  .cg-inline-reply-form input{
    grid-column:1!important;
    width:100%!important;
    min-width:0!important;
    height:36px!important;
    min-height:36px!important;
    box-sizing:border-box!important;
    padding:6px 9px!important;
    line-height:22px!important;
  }
  .cg-inline-reply-form .cg-primary,
  .cg-inline-reply-form .cg-secondary{
    width:auto!important;
    min-width:64px!important;
    height:32px!important;
    min-height:32px!important;
    padding:5px 10px!important;
    font-size:12px!important;
    line-height:20px!important;
  }
  .cg-inline-reply-form .cg-primary{grid-column:2!important;}
  .cg-inline-reply-form .cg-secondary{grid-column:3!important;}
  .cg-inline-reply-form [data-comment-status]{grid-column:1 / -1!important;display:none!important;}
}

/* v0.7.39 — compact mobile reply controls
 * Give the reply input more room while keeping Reply + Cancel on the same row.
 */
@media(max-width:700px){
  .cg-inline-reply-form{
    grid-template-columns:minmax(0,1fr) 56px 56px!important;
    gap:4px!important;
    padding:4px!important;
  }
  .cg-inline-reply-form input{
    height:34px!important;
    min-height:34px!important;
    padding:5px 8px!important;
  }
  .cg-inline-reply-form .cg-primary,
  .cg-inline-reply-form .cg-secondary{
    width:56px!important;
    min-width:56px!important;
    max-width:56px!important;
    height:30px!important;
    min-height:30px!important;
    padding:4px 5px!important;
    font-size:11px!important;
    line-height:18px!important;
    border-radius:7px!important;
  }
}

/* v0.7.40 — FINAL COMMUNITY REFERENCE UI
 * Scoped Community-only overrides. The supplied reference image is the visual source of truth.
 */
.onco-community-shell,
.cg-community-hub{box-sizing:border-box!important;max-width:1080px!important;margin:18px auto!important;padding:0 14px 34px!important;color:#162b4a!important;background:transparent!important;}
.cg-community-page-label{font-size:13px!important;line-height:1!important;font-weight:800!important;letter-spacing:.02em!important;color:#435a7b!important;margin:2px 0 12px!important;}
.cg-community-notice{margin:0 0 12px!important;background:#fffaf0!important;border:1px solid #eadfbd!important;border-radius:9px!important;overflow:hidden!important;}
.cg-community-notice summary{display:flex!important;align-items:center!important;gap:7px!important;min-height:38px!important;padding:7px 10px!important;list-style:none!important;cursor:pointer!important;font-size:12px!important;color:#4f5e73!important;}
.cg-community-notice summary::-webkit-details-marker{display:none!important;}
.cg-community-notice summary span:nth-child(2){flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.cg-community-notice summary span:last-child{flex:0 0 auto!important;color:#1769d2!important;font-weight:700!important;white-space:nowrap!important;}
.cg-community-notice-body{padding:0 10px 10px!important;font-size:11px!important;line-height:1.5!important;color:#68778b!important;}

.cg-community-dynamic{min-width:0!important;}
.cg-community-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;margin:0 0 8px!important;}
.cg-community-search{height:40px!important;display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important;background:#fff!important;border:1px solid #d9e2ed!important;border-radius:8px!important;padding:0 10px!important;box-sizing:border-box!important;}
.cg-community-search>span{font-size:17px!important;line-height:1!important;color:#7b8ba0!important;}
.cg-community-search input{width:100%!important;min-width:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;height:38px!important;font-size:13px!important;color:#243a59!important;}
.cg-community-create-wrap{position:relative!important;display:block!important;}
.cg-community-create-trigger{height:40px!important;min-width:132px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;border:1px solid #1769d2!important;border-radius:8px!important;background:#1769d2!important;color:#fff!important;padding:0 13px!important;cursor:pointer!important;box-shadow:none!important;}
.cg-community-create-trigger .cg-create-icon{font-size:19px!important;line-height:1!important;font-weight:400!important;}
.cg-community-create-trigger strong{font-size:13px!important;font-weight:700!important;line-height:1!important;}
.cg-community-create-trigger small{display:none!important;}
.cg-community-filters{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:6px!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;padding:1px 0 3px!important;margin:0 0 5px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;}
.cg-community-filters::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
.cg-community-filters button{flex:0 0 auto!important;height:30px!important;padding:0 12px!important;border:1px solid #d9e2ed!important;border-radius:999px!important;background:#fff!important;color:#334c6d!important;font-size:11px!important;font-weight:600!important;line-height:28px!important;cursor:pointer!important;box-shadow:none!important;}
.cg-community-filters button.is-active{border-color:#9bc6f5!important;background:#eaf4ff!important;color:#1769d2!important;}
.cg-community-live-status{display:flex!important;align-items:center!important;gap:6px!important;margin:2px 0 9px!important;font-size:11px!important;line-height:1.2!important;color:#738198!important;}
.cg-live-dot{width:7px!important;height:7px!important;flex:0 0 7px!important;background:#18aa61!important;border-radius:50%!important;}
.cg-community-feed{display:grid!important;gap:9px!important;}

.cg-community-post{position:relative!important;box-sizing:border-box!important;margin:0!important;padding:14px 15px 10px!important;border:1px solid #dfe7f0!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;overflow:visible!important;}
.cg-community-post:hover{border-color:#d1dce9!important;}
.cg-community-post-head{display:flex!important;align-items:flex-start!important;gap:10px!important;position:relative!important;padding-right:38px!important;}
.cg-community-post-author{display:flex!important;align-items:flex-start!important;gap:9px!important;min-width:0!important;flex:1 1 auto!important;}
.cg-community-post-avatar{flex:0 0 auto!important;}
.cg-community-post-avatar .cg-community-avatar{width:40px!important;height:40px!important;font-size:14px!important;}
.cg-community-post-author-copy{min-width:0!important;flex:1 1 auto!important;}
.cg-community-meta-row{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;line-height:1.2!important;}
.cg-community-meta-row small{order:2!important;color:#7d8b9e!important;font-size:10px!important;line-height:1.25!important;}
.cg-badge{order:1!important;padding:3px 7px!important;border-radius:999px!important;background:#edf5ff!important;color:#1769d2!important;font-size:10px!important;font-weight:700!important;line-height:1.1!important;}
.cg-community-post-author-copy h3{margin:5px 0 0!important;font-size:17px!important;line-height:1.24!important;font-weight:750!important;color:#162b4a!important;}
.cg-community-post-author-copy h3 a{color:inherit!important;text-decoration:none!important;}
.cg-community-post-body{margin:7px 0 8px!important;color:#52647b!important;font-size:13px!important;line-height:1.5!important;}
.cg-community-post-attachment{margin:7px 0!important;}
.cg-community-post-attachment img{max-width:100%!important;height:auto!important;border-radius:9px!important;}
.cg-community-post-menu-wrap{position:absolute!important;top:0!important;right:0!important;width:30px!important;height:30px!important;z-index:30!important;}
.cg-community-more{width:30px!important;height:30px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#6f7e91!important;font-size:19px!important;line-height:1!important;}
.cg-community-more:hover{background:#f4f7fa!important;}
.cg-community-post-actions-main{margin:7px 0 0!important;padding-top:7px!important;border-top:1px solid #edf1f5!important;}
.cg-community-post-actions-row{display:flex!important;align-items:center!important;gap:15px!important;padding:0!important;min-height:27px!important;}
.cg-social-action{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:3px 0!important;margin:0!important;border:0!important;background:transparent!important;color:#52647b!important;font-size:11px!important;font-weight:600!important;line-height:1.2!important;text-decoration:none!important;cursor:pointer!important;box-shadow:none!important;}
.cg-social-action:hover,.cg-social-action.is-active{color:#1769d2!important;background:transparent!important;}
.cg-social-icon{font-size:18px!important;line-height:1!important;font-weight:400!important;}
.cg-reply-arrow{font-size:16px!important;line-height:1!important;}

.cg-community-comments{margin:10px 0 0!important;padding:10px 0 0!important;border-top:1px solid #edf1f5!important;}
.cg-comments-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0 0 7px!important;color:#223957!important;}
.cg-comments-heading strong{font-size:13px!important;font-weight:750!important;color:#203553!important;}
.cg-community-comment-sort{font-size:10px!important;color:#5d6e84!important;white-space:nowrap!important;}
.cg-community-comment-list{min-width:0!important;}
.cg-community-comment{position:relative!important;box-sizing:border-box!important;margin:7px 0 0!important;padding:10px 11px!important;border:1px solid #e8edf3!important;border-radius:10px!important;background:#f7f9fc!important;overflow:visible!important;}
.cg-community-comment-author{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important;}
.cg-community-comment-author .cg-community-avatar{width:32px!important;height:32px!important;font-size:12px!important;flex:0 0 32px!important;}
.cg-community-comment-author b{font-size:12px!important;line-height:1.2!important;color:#1f3451!important;}
.cg-community-comment-author small{display:block!important;margin:2px 0 0!important;font-size:10px!important;line-height:1.2!important;color:#8794a5!important;}
.cg-community-comment-text{margin:7px 0 3px 40px!important;color:#4f6178!important;font-size:12px!important;line-height:1.48!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
.cg-community-comment-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:10px!important;margin:4px 0 0 40px!important;}
.cg-community-comment-actions .cg-social-action{font-size:11px!important;}
.cg-reply-count-inline{color:#1769d2!important;font-weight:700!important;}
.cg-community-comment-replies{margin:6px 0 0 20px!important;padding-left:8px!important;border-left:2px solid #dfe8f2!important;}
.cg-community-comment.cg-community-reply{margin:5px 0 0!important;padding:9px 10px!important;background:#fff!important;border:1px solid #e8edf3!important;border-radius:9px!important;}
.cg-community-comment.cg-community-reply:before{display:none!important;}
.cg-community-more-comments{display:block!important;border:0!important;background:transparent!important;color:#1769d2!important;padding:5px 0!important;margin:7px 0 0 40px!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;cursor:pointer!important;white-space:nowrap!important;}

.cg-community-collapsible-text{display:block!important;max-height:6em!important;overflow:hidden!important;overflow-wrap:anywhere!important;word-break:break-word!important;}
.cg-community-collapsible-text.is-expanded{max-height:none!important;overflow:visible!important;}
.cg-community-see-more{display:block!important;position:static!important;clear:both!important;width:max-content!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:5px 0 2px!important;padding:0!important;border:0!important;background:transparent!important;color:#1769d2!important;font-size:11px!important;font-weight:700!important;line-height:1.3!important;cursor:pointer!important;white-space:nowrap!important;}

.cg-community-comment-form{display:grid!important;grid-template-columns:30px minmax(0,1fr) 32px 34px!important;align-items:center!important;gap:6px!important;box-sizing:border-box!important;width:100%!important;margin:10px 0 0!important;padding:4px!important;border:1px solid #dbe4ee!important;border-radius:10px!important;background:#fff!important;}
.cg-community-composer-avatar{width:28px!important;height:28px!important;border-radius:50%!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#eaf3fc!important;color:#1769d2!important;font-size:11px!important;font-weight:700!important;}
.cg-community-comment-form input[type=text]{width:100%!important;min-width:0!important;height:34px!important;padding:5px 7px!important;margin:0!important;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#304761!important;font-size:13px!important;line-height:1.2!important;}
.cg-community-comment-form input[type=text]::placeholder{color:#9aa6b5!important;}
.cg-community-attach{width:32px!important;height:32px!important;min-width:32px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important;margin:0!important;border:1px solid #d6e0eb!important;border-radius:7px!important;background:#fff!important;color:#2e4059!important;cursor:pointer!important;box-sizing:border-box!important;}
.cg-community-attach span{font-size:14px!important;line-height:1!important;}
.cg-community-attach input{display:none!important;}
.cg-community-file-name,.cg-community-comment-form [data-comment-status]{display:none!important;}
.cg-community-comment-form .cg-icon-submit,.cg-icon-submit{width:34px!important;height:32px!important;min-width:34px!important;padding:0!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:8px!important;background:#1769d2!important;color:#fff!important;font-size:17px!important;line-height:1!important;cursor:pointer!important;}

.cg-reply-context{display:none!important;}
.cg-inline-reply-form{grid-template-columns:30px minmax(0,1fr) 32px 34px 30px!important;margin:5px 0 0!important;padding:4px!important;}
.cg-inline-reply-form .cg-icon-submit{grid-column:auto!important;}
.cg-inline-reply-form .cg-icon-cancel{width:30px!important;height:30px!important;min-width:30px!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#5f6f84!important;font-size:19px!important;line-height:1!important;}
.cg-inline-reply-form .cg-icon-cancel:hover{background:#f1f4f7!important;color:#243b58!important;}

.cg-community-post-menu,.cg-community-comment-menu{box-sizing:border-box!important;z-index:9999!important;width:142px!important;min-width:142px!important;max-width:calc(100vw - 20px)!important;padding:3px!important;background:#fff!important;border:1px solid #d9e2ec!important;border-radius:9px!important;box-shadow:0 8px 24px rgba(20,40,65,.14)!important;}
.cg-community-post-menu button,.cg-community-comment-menu button{width:100%!important;min-height:30px!important;height:30px!important;padding:5px 8px!important;margin:0!important;border:0!important;border-radius:6px!important;background:#fff!important;color:#334860!important;text-align:left!important;font-size:11px!important;line-height:20px!important;}
.cg-community-post-menu button:hover,.cg-community-comment-menu button:hover{background:#f3f6fa!important;}
.cg-community-comment-menu{right:4px!important;top:38px!important;width:126px!important;min-width:126px!important;}

/* Existing post modal remains functional; only its trigger is redesigned. */
.cg-community-create-modal{z-index:10000!important;}

/* Account links are kept available on desktop and mobile. */
.cg-community-account-menu-item{display:list-item!important;}

@media(max-width:700px){
  .cg-community-hub{max-width:100%!important;margin:0 auto!important;padding:0 8px 24px!important;}
  .cg-community-page-label{margin:0 0 9px!important;font-size:12px!important;}
  .cg-community-notice{margin-bottom:9px!important;}
  .cg-community-notice summary{min-height:36px!important;padding:6px 8px!important;font-size:11px!important;gap:5px!important;}
  .cg-community-notice summary span:nth-child(2){white-space:nowrap!important;}
  .cg-community-toolbar{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;margin-bottom:7px!important;}
  .cg-community-search{height:38px!important;padding:0 8px!important;border-radius:8px!important;}
  .cg-community-search input{height:36px!important;font-size:16px!important;}
  .cg-community-create-trigger{height:38px!important;min-width:116px!important;padding:0 9px!important;gap:5px!important;border-radius:8px!important;}
  .cg-community-create-trigger strong{font-size:12px!important;}
  .cg-community-create-trigger .cg-create-icon{font-size:18px!important;}
  .cg-community-filters{gap:5px!important;padding-bottom:2px!important;margin-bottom:4px!important;}
  .cg-community-filters button{height:28px!important;padding:0 10px!important;font-size:10px!important;line-height:26px!important;}
  .cg-community-live-status{margin-bottom:7px!important;font-size:10px!important;}
  .cg-community-feed{gap:7px!important;}
  .cg-community-post{padding:11px 10px 8px!important;border-radius:11px!important;}
  .cg-community-post-head{gap:8px!important;padding-right:34px!important;}
  .cg-community-post-avatar .cg-community-avatar{width:36px!important;height:36px!important;font-size:13px!important;}
  .cg-community-post-author{gap:8px!important;}
  .cg-badge{font-size:9px!important;padding:3px 6px!important;}
  .cg-community-meta-row small{font-size:9px!important;}
  .cg-community-post-author-copy h3{font-size:16px!important;margin-top:4px!important;}
  .cg-community-post-body{font-size:12px!important;line-height:1.45!important;margin:6px 0 7px!important;}
  .cg-community-more{width:28px!important;height:28px!important;font-size:18px!important;}
  .cg-community-post-menu-wrap{width:28px!important;height:28px!important;}
  .cg-community-post-actions-main{margin-top:6px!important;padding-top:6px!important;}
  .cg-community-post-actions-row{gap:13px!important;min-height:24px!important;}
  .cg-social-action{font-size:10px!important;gap:4px!important;}
  .cg-social-icon{font-size:17px!important;}
  .cg-comments-heading{margin-bottom:5px!important;}
  .cg-comments-heading strong{font-size:12px!important;}
  .cg-community-comment{padding:8px 9px!important;margin-top:6px!important;border-radius:9px!important;}
  .cg-community-comment-author .cg-community-avatar{width:30px!important;height:30px!important;flex-basis:30px!important;}
  .cg-community-comment-author b{font-size:11px!important;}
  .cg-community-comment-author small{font-size:9px!important;}
  .cg-community-comment-text{margin:6px 0 2px 37px!important;font-size:11px!important;line-height:1.45!important;}
  .cg-community-comment-actions{margin-left:37px!important;gap:8px!important;}
  .cg-community-comment-actions .cg-social-action{font-size:10px!important;}
  .cg-community-comment-replies{margin-left:13px!important;padding-left:7px!important;}
  .cg-community-more-comments{margin-left:37px!important;font-size:10px!important;}
  .cg-community-comment-form{grid-template-columns:28px minmax(0,1fr) 30px 32px!important;gap:5px!important;padding:3px!important;margin-top:8px!important;border-radius:9px!important;}
  .cg-community-composer-avatar{width:26px!important;height:26px!important;font-size:10px!important;}
  .cg-community-comment-form input[type=text]{height:32px!important;font-size:16px!important;padding:4px 6px!important;}
  .cg-community-attach{width:30px!important;height:30px!important;min-width:30px!important;border-radius:7px!important;}
  .cg-community-comment-form .cg-icon-submit{width:32px!important;height:30px!important;min-width:32px!important;border-radius:7px!important;font-size:16px!important;}
  .cg-inline-reply-form{grid-template-columns:28px minmax(0,1fr) 30px 32px 28px!important;gap:4px!important;}
  .cg-inline-reply-form .cg-icon-cancel{width:28px!important;height:28px!important;min-width:28px!important;font-size:18px!important;}
  .cg-community-collapsible-text{max-height:5.7em!important;}
  .cg-community-see-more{font-size:10px!important;margin-top:4px!important;}
  .cg-community-post-menu{top:34px!important;right:0!important;width:132px!important;min-width:132px!important;}
  .cg-community-comment-menu{top:36px!important;right:0!important;width:120px!important;min-width:120px!important;}
  .cg-community-post-menu button,.cg-community-comment-menu button{height:29px!important;min-height:29px!important;font-size:11px!important;}
  .cg-community-account-menu-item{display:list-item!important;}
}

@media(min-width:701px){
  .cg-community-account-menu-item{display:list-item!important;}
}

/* v0.7.40 — discussion detail page follows the same compact system */
.cg-community-single-wrap{max-width:1080px!important;margin:14px auto!important;padding:0 14px 30px!important;}
.cg-community-single-shell{background:transparent!important;padding:0!important;border-radius:0!important;}
.cg-community-back-link{display:inline-flex!important;align-items:center!important;gap:5px!important;margin:0 0 10px!important;color:#425d83!important;font-size:12px!important;font-weight:600!important;text-decoration:none!important;}
.cg-community-single-shell>.cg-community-post{margin-bottom:10px!important;}
.cg-community-single-notice{margin-top:10px!important;padding:9px 10px!important;border:1px solid #eadfbd!important;border-radius:9px!important;background:#fffaf0!important;color:#6b7789!important;font-size:11px!important;}
@media(max-width:700px){
 .cg-community-single-wrap{max-width:100%!important;margin:8px auto!important;padding:0 8px 22px!important;}
 .cg-community-back-link{font-size:11px!important;margin-bottom:7px!important;}
 .cg-community-single-notice{font-size:10px!important;}
}


/* v0.7.41 — final visual/interaction corrections from live screenshots */
.cg-community-hub,
.cg-community-single-wrap{
  width:calc(100vw - 40px)!important;
  max-width:1280px!important;
  margin-left:calc(50% - 50vw + 20px)!important;
  margin-right:calc(50% - 50vw + 20px)!important;
}
.cg-community-toolbar{
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:8px!important;
}
.cg-community-search{width:100%!important;}
.cg-community-create-wrap{height:40px!important;}
.cg-community-create-trigger{
  width:auto!important;
  min-width:118px!important;
  height:40px!important;
  margin:0!important;
  padding:0 11px!important;
}
.cg-community-create-trigger .cg-create-icon{flex:0 0 auto!important;}
.cg-community-notice summary{align-items:center!important;}
.cg-community-notice summary span:last-child{display:inline-flex!important;align-items:center!important;gap:2px!important;line-height:1!important;font-size:12px!important;}
.cg-community-notice .cg-notice-chevron{position:relative!important;top:0!important;font-size:12px!important;line-height:1!important;}
.cg-social-icon svg,.cg-reply-arrow svg{width:16px!important;height:16px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;}
.cg-icon-heart svg{fill:none!important;}
.cg-social-action.is-active .cg-icon-heart svg{fill:currentColor!important;}
.cg-icon-save svg{fill:none!important;}
.cg-social-icon.cg-icon-comment svg{width:15px!important;height:15px!important;}
.cg-reply-arrow{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:16px!important;height:16px!important;}
.cg-reply-arrow svg{width:15px!important;height:15px!important;}
.cg-community-comment-actions{gap:9px!important;}
.cg-community-post-actions-row{gap:17px!important;}

@media(max-width:700px){
  .cg-community-hub,
  .cg-community-single-wrap{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    margin-right:calc(50% - 50vw + 8px)!important;
    padding-left:8px!important;
    padding-right:8px!important;
  }
  .cg-community-toolbar{grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important;align-items:stretch!important;}
  .cg-community-search{height:38px!important;}
  .cg-community-create-wrap{height:38px!important;}
  .cg-community-create-trigger{height:38px!important;min-width:108px!important;padding:0 8px!important;gap:4px!important;}
  .cg-community-create-trigger strong{font-size:11px!important;}
  .cg-community-create-trigger .cg-create-icon{font-size:17px!important;}
  .cg-community-notice summary span:last-child{font-size:11px!important;}
  .cg-community-notice .cg-notice-chevron{font-size:11px!important;}
  .cg-community-post-actions-row{gap:12px!important;}
  .cg-community-comment-actions{gap:7px!important;}
}


/* v0.7.42 — final Community layout/interaction corrections from live screenshots */
/* Keep the active Community surface wide and centered on desktop instead of inheriting
 * the narrower theme content column. On mobile it returns to a normal viewport width. */
.cg-community-hub,
.cg-community-single-wrap{
  box-sizing:border-box!important;
  width:min(1100px,calc(100vw - 40px))!important;
  max-width:1100px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Compact Create Post control; no artificial empty width. */
.cg-community-create-wrap{height:40px!important;min-width:0!important;width:auto!important;}
.cg-community-create-trigger{
  width:auto!important;
  min-width:0!important;
  height:40px!important;
  padding:0 10px!important;
  gap:6px!important;
  white-space:nowrap!important;
}
.cg-community-create-trigger strong{white-space:nowrap!important;}

/* Long comments/posts: keep readable type and make See more a separate control,
 * never shrink the text to make the control fit. */
.cg-community-comment-text,
.cg-community-comment-text.cg-community-collapsible-text{
  font-size:13px!important;
  line-height:1.5!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
}
.cg-community-comment-text p{margin:0 0 6px!important;}
.cg-community-comment-text.cg-community-collapsible-text{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:6!important;
  max-height:none!important;
  overflow:hidden!important;
}
.cg-community-comment-text.cg-community-collapsible-text.is-expanded{
  display:block!important;
  -webkit-line-clamp:unset!important;
  max-height:none!important;
  overflow:visible!important;
}
.cg-community-see-more{
  display:block!important;
  position:static!important;
  clear:both!important;
  width:max-content!important;
  max-width:100%!important;
  margin:6px 0 3px!important;
  padding:0!important;
  font-size:12px!important;
  line-height:1.35!important;
  white-space:nowrap!important;
}

/* Normal comment composer: four stable columns prevent the attachment and submit
 * controls from colliding at narrow widths. */
.cg-community-comment-form{
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) 34px 36px!important;
  align-items:center!important;
  gap:6px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.cg-community-comment-form>*{min-width:0!important;box-sizing:border-box!important;}
.cg-community-comment-form input[type=text]{min-width:0!important;width:100%!important;}
.cg-community-comment-form .cg-community-attach{
  width:34px!important;min-width:34px!important;height:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
.cg-community-comment-form .cg-icon-submit{
  width:36px!important;min-width:36px!important;height:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;display:flex!important;align-items:center!important;justify-content:center!important;
}

/* Inline reply composer: hide the decorative avatar inside the form and use a simple
 * input + attachment + post + cancel row. This is the same compact component on desktop/mobile. */
.cg-inline-reply-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px 36px 30px!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.cg-inline-reply-form .cg-community-composer-avatar{display:none!important;}
.cg-inline-reply-form>*{min-width:0!important;box-sizing:border-box!important;}
.cg-inline-reply-form input[type=text]{grid-column:1!important;width:100%!important;min-width:0!important;height:32px!important;}
.cg-inline-reply-form .cg-community-attach{grid-column:2!important;width:34px!important;min-width:34px!important;height:32px!important;min-height:32px!important;}
.cg-inline-reply-form .cg-icon-submit{grid-column:3!important;width:36px!important;min-width:36px!important;height:32px!important;min-height:32px!important;}
.cg-inline-reply-form .cg-icon-cancel{grid-column:4!important;width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;margin:0!important;padding:0!important;}

/* Keep the discussion detail clean: no accidental clipping or theme-column squeeze. */
.cg-community-single-wrap{padding-left:0!important;padding-right:0!important;}
.cg-community-single-shell{width:100%!important;box-sizing:border-box!important;}

@media(max-width:700px){
  .cg-community-hub,
  .cg-community-single-wrap{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    margin-left:8px!important;
    margin-right:8px!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .cg-community-create-trigger{height:38px!important;min-width:104px!important;padding:0 8px!important;gap:4px!important;}
  .cg-community-create-trigger strong{font-size:11px!important;}
  .cg-community-create-trigger .cg-create-icon{font-size:17px!important;}
  .cg-community-comment-form{grid-template-columns:26px minmax(0,1fr) 32px 34px!important;gap:4px!important;padding:3px!important;}
  .cg-community-comment-form input[type=text]{font-size:16px!important;height:32px!important;min-height:32px!important;}
  .cg-community-comment-form .cg-community-attach{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;}
  .cg-community-comment-form .cg-icon-submit{width:34px!important;min-width:34px!important;height:30px!important;min-height:30px!important;}
  .cg-inline-reply-form{grid-template-columns:minmax(0,1fr) 32px 34px 28px!important;gap:4px!important;padding:3px!important;}
  .cg-inline-reply-form input[type=text]{font-size:16px!important;height:32px!important;min-height:32px!important;}
  .cg-inline-reply-form .cg-community-attach{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;}
  .cg-inline-reply-form .cg-icon-submit{width:34px!important;min-width:34px!important;height:30px!important;min-height:30px!important;}
  .cg-inline-reply-form .cg-icon-cancel{width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;font-size:17px!important;}
  .cg-community-comment-text,
  .cg-community-comment-text.cg-community-collapsible-text{font-size:13px!important;line-height:1.5!important;}
  .cg-community-see-more{font-size:12px!important;margin-top:5px!important;}
}


/* v0.7.43 — Community responsive width, compact controls and anchored menus */
html.cg-community-page,
body.cg-community-page{overflow-x:hidden!important;max-width:100%!important;}

/* Break out of the theme's narrow content column on desktop while staying
   inside the viewport. The mobile layout deliberately remains normal-flow. */
@media(min-width:701px){
  .cg-community-hub,
  .cg-community-single-wrap{
    width:calc(100vw - 48px)!important;
    max-width:1400px!important;
    margin-left:calc(50% - 50vw + 24px)!important;
    margin-right:calc(50% - 50vw + 24px)!important;
  }
}

/* Create Post should size to its content, not stretch to the grid column. */
.cg-community-create-wrap{justify-self:start!important;width:max-content!important;min-width:0!important;}
.cg-community-create-trigger{width:max-content!important;min-width:0!important;max-width:100%!important;justify-self:start!important;padding-left:9px!important;padding-right:9px!important;}

/* Smaller, stable composer controls. Keep the text field as the dominant area. */
.cg-community-comment-form{
  grid-template-columns:28px minmax(0,1fr) 30px 32px!important;
  gap:5px!important;
}
.cg-community-comment-form .cg-community-attach{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;}
.cg-community-comment-form .cg-icon-submit{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;font-size:15px!important;}

.cg-inline-reply-form{
  grid-template-columns:minmax(0,1fr) 30px 32px 24px!important;
  gap:4px!important;
  overflow:visible!important;
}
.cg-inline-reply-form .cg-community-attach{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;}
.cg-inline-reply-form .cg-icon-submit{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;border-radius:7px!important;font-size:15px!important;}
.cg-inline-reply-form .cg-icon-cancel{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;font-size:16px!important;}

/* Comment menus open beside the three-dot action instead of at the top of a
   long comment card. */
.cg-community-comment-menu{
  top:auto!important;
  bottom:34px!important;
  right:0!important;
}

@media(max-width:700px){
  .cg-community-hub,
  .cg-community-single-wrap{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    box-sizing:border-box!important;
  }
  .cg-community-create-trigger{height:38px!important;padding:0 7px!important;gap:3px!important;}
  .cg-community-create-trigger strong{font-size:11px!important;}
  .cg-community-create-trigger .cg-create-icon{font-size:16px!important;}
  .cg-community-comment-form{grid-template-columns:26px minmax(0,1fr) 29px 31px!important;gap:4px!important;}
  .cg-community-comment-form .cg-community-attach{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;}
  .cg-community-comment-form .cg-icon-submit{width:31px!important;min-width:31px!important;height:29px!important;min-height:29px!important;}
  .cg-inline-reply-form{grid-template-columns:minmax(0,1fr) 29px 31px 24px!important;gap:4px!important;padding:3px!important;overflow:visible!important;}
  .cg-inline-reply-form .cg-community-attach{width:29px!important;min-width:29px!important;height:29px!important;min-height:29px!important;}
  .cg-inline-reply-form .cg-icon-submit{width:31px!important;min-width:31px!important;height:29px!important;min-height:29px!important;}
  .cg-inline-reply-form .cg-icon-cancel{width:24px!important;min-width:24px!important;height:24px!important;min-height:24px!important;}
  .cg-community-comment-menu{top:auto!important;bottom:32px!important;right:0!important;}
}


/* v0.7.44 — final responsive Community geometry and anchored comment menus */
.cg-community-hub,
.cg-community-single-wrap{
  box-sizing:border-box!important;
  width:calc(100vw - 40px)!important;
  max-width:1400px!important;
  margin-left:calc(50% - 50vw + 20px)!important;
  margin-right:calc(50% - 50vw + 20px)!important;
}
.cg-community-create-wrap{width:max-content!important;min-width:0!important;max-width:100%!important;height:40px!important;}
.cg-community-create-trigger{width:auto!important;min-width:104px!important;max-width:160px!important;height:40px!important;padding:0 10px!important;gap:5px!important;}
.cg-community-create-trigger strong{font-size:12px!important;}
.cg-community-toolbar{grid-template-columns:minmax(0,1fr) max-content!important;}
.cg-community-comment-text,
.cg-community-comment-text.cg-community-collapsible-text{font-size:14px!important;line-height:1.55!important;}
.cg-community-comment-action-area{position:relative!important;display:block!important;min-height:22px!important;}
.cg-community-comment-action-area>.cg-community-comment-actions{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important;}
.cg-community-comment-action-area>.cg-community-comment-menu{position:absolute!important;top:calc(100% + 4px)!important;right:0!important;left:auto!important;width:136px!important;min-width:136px!important;max-width:calc(100vw - 24px)!important;z-index:99999!important;}
.cg-community-comment-action-area>.cg-community-comment-menu button{display:block!important;width:100%!important;}
.cg-community-comment-form,
.cg-inline-reply-form{overflow:visible!important;}

@media(max-width:700px){
  .cg-community-hub,
  .cg-community-single-wrap{
    width:calc(100vw - 16px)!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw + 8px)!important;
    margin-right:calc(50% - 50vw + 8px)!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .cg-community-toolbar{grid-template-columns:minmax(0,1fr) max-content!important;gap:6px!important;}
  .cg-community-create-wrap{height:38px!important;}
  .cg-community-create-trigger{min-width:104px!important;width:104px!important;max-width:104px!important;height:38px!important;padding:0 7px!important;gap:4px!important;}
  .cg-community-create-trigger strong{font-size:11px!important;}
  .cg-community-create-trigger .cg-create-icon{font-size:17px!important;}
  .cg-community-comment-text,
  .cg-community-comment-text.cg-community-collapsible-text{font-size:14px!important;line-height:1.5!important;}
  .cg-community-comment-form{grid-template-columns:26px minmax(0,1fr) 32px 34px!important;gap:4px!important;}
  .cg-inline-reply-form{grid-template-columns:minmax(0,1fr) 32px 34px 30px!important;gap:4px!important;}
  .cg-inline-reply-form .cg-community-attach{grid-column:2!important;width:32px!important;min-width:32px!important;height:30px!important;}
  .cg-inline-reply-form .cg-icon-submit{grid-column:3!important;width:34px!important;min-width:34px!important;height:30px!important;}
  .cg-inline-reply-form .cg-icon-cancel{grid-column:4!important;width:30px!important;min-width:30px!important;height:30px!important;}
  .cg-community-comment-action-area>.cg-community-comment-menu{right:0!important;top:calc(100% + 3px)!important;width:132px!important;min-width:132px!important;}
}


/* v0.7.45 — final Community desktop/mobile geometry correction
 * Desktop Community feed: center the existing Community surface independently
 * of the theme/Elementor content column. Discussion detail stays centered.
 * Comment action menus are anchored to the actual three-dot action, not the
 * full-width comment card. Mobile Create Post keeps the label fully visible.
 */
@media(min-width:701px){
  .cg-community-hub{
    position:relative!important;
    left:50%!important;
    transform:translateX(-50%)!important;
    width:min(1400px,calc(100vw - 40px))!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .cg-community-single-wrap{
    position:static!important;
    left:auto!important;
    transform:none!important;
    width:calc(100% - 40px)!important;
    max-width:1200px!important;
    margin:14px auto!important;
  }
}

.cg-community-comment-action-area{
  position:relative!important;
  display:inline-block!important;
  width:max-content!important;
  max-width:100%!important;
  min-height:22px!important;
  vertical-align:top!important;
}
.cg-community-comment-action-area>.cg-community-comment-actions{
  width:max-content!important;
  max-width:100%!important;
}
.cg-community-comment-action-area>.cg-community-comment-menu{
  position:absolute!important;
  top:calc(100% + 4px)!important;
  right:0!important;
  left:auto!important;
  width:136px!important;
  min-width:136px!important;
  max-width:calc(100vw - 24px)!important;
  z-index:99999!important;
}

@media(max-width:700px){
  .cg-community-create-trigger{
    width:116px!important;
    min-width:116px!important;
    max-width:116px!important;
    padding-left:7px!important;
    padding-right:7px!important;
    gap:4px!important;
  }
  .cg-community-create-trigger strong{
    font-size:11px!important;
    white-space:nowrap!important;
  }
  .cg-community-toolbar{
    grid-template-columns:minmax(0,1fr) 116px!important;
  }
  .cg-community-comment-action-area>.cg-community-comment-menu{
    width:132px!important;
    min-width:132px!important;
    top:calc(100% + 3px)!important;
    right:0!important;
  }
}

/* v0.7.46 — final reply interaction polish */
.cg-community-see-more{
  display:inline-block!important;
  margin:4px 0 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#566273!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:500!important;
  cursor:pointer!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.cg-community-see-more:hover{color:#334155!important;text-decoration:underline!important;}
.cg-community-comment-action-area{position:relative!important;display:inline-block!important;width:max-content!important;max-width:100%!important;min-height:22px!important;}
.cg-community-comment-action-area>.cg-community-comment-menu{
  position:absolute!important;
  top:calc(100% + 4px)!important;
  bottom:auto!important;
  right:0!important;
  left:auto!important;
  width:136px!important;
  min-width:136px!important;
  max-width:calc(100vw - 24px)!important;
  z-index:99999!important;
}
@media(max-width:700px){
  .cg-community-comment-action-area>.cg-community-comment-menu{
    top:calc(100% + 3px)!important;
    bottom:auto!important;
    right:0!important;
    width:132px!important;
    min-width:132px!important;
  }
}


/* v0.7.47 — Community interaction correction
 * Keep reply composers open after opening them. Window scrolling still closes
 * action menus, but must never cancel an active reply composer.
 * Keep attachment + submit controls pinned to the far right of the composer.
 */
.cg-inline-reply-form{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 30px 32px!important;
  align-items:center!important;
  gap:5px!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.cg-inline-reply-form .cg-community-composer-avatar,
.cg-inline-reply-form .cg-icon-cancel{display:none!important;}
.cg-inline-reply-form input[type=text]{
  grid-column:1!important;
  min-width:0!important;
  width:100%!important;
  height:30px!important;
  box-sizing:border-box!important;
}
.cg-inline-reply-form .cg-community-attach{
  grid-column:2!important;
  width:30px!important;
  min-width:30px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0 0 0 auto!important;
  box-sizing:border-box!important;
}
.cg-inline-reply-form .cg-icon-submit{
  grid-column:3!important;
  width:32px!important;
  min-width:32px!important;
  height:30px!important;
  min-height:30px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
.cg-inline-reply-form [data-comment-status]{display:none!important;}

/* See more: quiet inline link, not a heavy button. */
.cg-community-see-more{
  display:block!important;
  width:max-content!important;
  max-width:100%!important;
  margin:3px 0 1px 0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#64748b!important;
  font-family:inherit!important;
  font-size:10px!important;
  line-height:1.3!important;
  font-weight:400!important;
  text-align:left!important;
  box-shadow:none!important;
  border-radius:0!important;
}
.cg-community-see-more:hover{color:#475569!important;text-decoration:underline!important;}

/* Guest users still see the Create a post control; clicking it takes them to
 * the existing Sign in / Create account area instead of silently removing it. */
.cg-community-create-wrap-guest{display:block!important;}
.cg-community-create-wrap-guest .cg-community-create-trigger{cursor:pointer!important;}

/* The menu belongs to the comment action row, so it opens directly underneath
 * the three-dot control instead of being positioned from the full comment card. */
.cg-community-comment-action-area{position:relative!important;}
.cg-community-comment-action-area>.cg-community-comment-menu{
  position:absolute!important;
  top:calc(100% + 4px)!important;
  bottom:auto!important;
  right:0!important;
  left:auto!important;
  z-index:99999!important;
}

@media(max-width:700px){
  .cg-inline-reply-form{
    grid-template-columns:minmax(0,1fr) 30px 32px!important;
    gap:4px!important;
    width:100%!important;
  }
  .cg-inline-reply-form input[type=text]{font-size:16px!important;height:32px!important;min-height:32px!important;}
  .cg-inline-reply-form .cg-community-attach{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;}
  .cg-inline-reply-form .cg-icon-submit{width:32px!important;min-width:32px!important;height:30px!important;min-height:30px!important;}
  .cg-community-see-more{font-size:10px!important;font-weight:400!important;margin-top:3px!important;}
  .cg-community-comment-action-area>.cg-community-comment-menu{top:calc(100% + 3px)!important;right:0!important;}
  .cg-community-create-wrap-guest .cg-community-create-trigger,
  .cg-community-create-trigger{width:116px!important;min-width:116px!important;max-width:116px!important;}
}

/* v0.7.48 — auth-only logged-out Community view + stable reply composer */
.cg-community-auth{width:100%!important;max-width:980px!important;margin:0 auto!important;}
.cg-community-auth .cg-auth-grid{width:100%!important;}
.cg-inline-reply-form{position:relative!important;}


/* v0.7.49 — Create-post composer alignment / no internal desktop scroll
 * Keep the existing Create Post modal and form. Only correct the action row and
 * desktop dialog sizing so the attachment and submit controls stay on one line.
 */
.cg-community-create-dialog{
  max-height:none!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.cg-community-post-actions{
  display:grid!important;
  grid-template-columns:42px minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px!important;
  width:100%!important;
  box-sizing:border-box!important;
}
.cg-community-post-actions .cg-community-post-attach{
  grid-column:1!important;
  width:42px!important;
  min-width:42px!important;
  height:42px!important;
  min-height:42px!important;
  margin:0!important;
}
.cg-community-post-actions .cg-community-file-name{
  grid-column:2!important;
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.cg-community-post-actions .cg-primary{
  grid-column:3!important;
  width:auto!important;
  min-width:max-content!important;
  margin:0!important;
  white-space:nowrap!important;
}
.cg-community-post-actions [data-cg-community-post-status]{
  grid-column:3!important;
  white-space:nowrap!important;
}

@media(min-width:701px){
  .cg-community-create-dialog{
    width:min(680px,calc(100vw - 40px))!important;
    max-height:calc(100vh - 40px)!important;
    overflow:visible!important;
    padding:24px 28px!important;
  }
  .cg-community-create-dialog textarea{
    min-height:110px!important;
    max-height:150px!important;
  }
  .cg-post-type-grid{margin-bottom:14px!important;}
}

@media(max-width:700px){
  .cg-community-create-modal{
    padding:8px!important;
    align-items:center!important;
  }
  .cg-community-create-dialog{
    width:100%!important;
    max-width:100%!important;
    max-height:calc(100vh - 16px)!important;
    overflow:visible!important;
    padding:18px 16px!important;
    box-sizing:border-box!important;
  }
  .cg-community-create-dialog h3{font-size:24px!important;}
  .cg-community-create-dialog>p{margin-bottom:14px!important;}
  .cg-post-type-grid{margin-bottom:12px!important;}
  .cg-post-type-option{min-height:70px!important;}
  .cg-community-create-dialog textarea{
    min-height:110px!important;
    max-height:145px!important;
  }
  .cg-community-post-actions{
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
  }
  .cg-community-post-actions .cg-community-post-attach{
    grid-column:1!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
  }
  .cg-community-post-actions .cg-community-file-name,
  .cg-community-post-actions [data-cg-community-post-status]{
    display:none!important;
  }
  .cg-community-post-actions .cg-primary{
    grid-column:2!important;
    width:100%!important;
    min-width:0!important;
    height:42px!important;
    min-height:42px!important;
    margin:0!important;
    padding:0 14px!important;
  }
}

/* v0.7.50 — logged-out Community is authentication-only. */
html.cg-community-auth-only-page .cg-community-toolbar,
html.cg-community-auth-only-page .cg-community-filters,
html.cg-community-auth-only-page .cg-community-live-status,
html.cg-community-auth-only-page .cg-community-feed,
html.cg-community-auth-only-page .cg-community-comments,
html.cg-community-auth-only-page .cg-community-create-modal,
html.cg-community-auth-only-page .cg-home-community-shortcode,
[data-cg-guest-hidden="1"]{display:none!important;}

/* Never hide an inline reply composer because the page is being scrolled. */
.cg-community-inline-reply[data-cg-reply-open="1"]{display:block!important;}
.cg-community-inline-reply[data-cg-reply-open="1"][hidden]{display:block!important;}


/* 0.7.51: compact header profile icon */
.cg-community-account-menu-item {
  list-style: none;
  display: flex;
  align-items: center;
}
.cg-community-account-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 38px;
  height: 38px;
  padding: 1px !important;
  border-radius: 50%;
  text-decoration: none !important;
  line-height: 1;
  overflow: hidden;
  box-sizing: border-box;
}
.cg-community-account-link:hover,
.cg-community-account-link:focus-visible {
  text-decoration: none !important;
  opacity: .88;
}
.cg-community-header-avatar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  box-sizing: border-box;
}
.cg-community-header-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.cg-community-header-avatar svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.cg-community-account-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767px) {
  .cg-community-account-link { width: 34px; height: 34px; }
  .cg-community-header-avatar { width: 32px !important; height: 32px !important; min-width: 32px; min-height: 32px; }
}
\n\n/* v0.7.52: header profile icon for Elementor/custom headers */\n.cg-header-profile-icon{\n  display:inline-flex!important;\n  align-items:center!important;\n  justify-content:center!important;\n  width:38px!important;\n  height:38px!important;\n  min-width:38px!important;\n  min-height:38px!important;\n  margin-left:12px!important;\n  padding:0!important;\n  border:1px solid #dfe5ed!important;\n  border-radius:50%!important;\n  background:#fff!important;\n  color:#172b49!important;\n  text-decoration:none!important;\n  overflow:hidden!important;\n  vertical-align:middle!important;\n  box-sizing:border-box!important;\n  cursor:pointer!important;\n  transition:opacity .15s ease,transform .15s ease!important;\n}\n.cg-header-profile-icon:hover{opacity:.85!important;transform:translateY(-1px)!important;text-decoration:none!important;}\n.cg-header-profile-icon img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;border-radius:50%!important;}\n.cg-header-profile-icon .cg-header-profile-fallback{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:20px;font-weight:700;background:#eef4ff;color:#1769d2;border-radius:50%;}\n.cg-header-profile-icon svg{width:20px;height:20px;fill:currentColor;}\n@media(max-width:767px){.cg-header-profile-icon{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;margin-left:8px!important;}}\n
/* v0.7.55 account state + saved-research profile actions */
.cg-profile-account-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0;padding:11px 13px;border:1px solid #e3e7ee;border-radius:10px;background:#f7f8fc;font-size:13px;color:#69778b;}
.cg-profile-account-actions strong{color:#172b49;}
.cg-profile-account-actions .cg-logout-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  white-space:nowrap;
  padding:10px 17px;
  min-height:40px;
  border-radius:9px;
  background:#d92323;
  border:1px solid #c31d1d;
  color:#fff!important;
  font-size:14px;
  font-weight:800;
  line-height:1.2;
  box-shadow:0 4px 12px rgba(170,20,20,.22);
  transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.cg-profile-account-actions .cg-logout-link:hover{
  text-decoration:none;
  background:#a91515;
  border-color:#951010;
  color:#fff!important;
  box-shadow:0 6px 16px rgba(140,15,15,.28);
  transform:translateY(-1px);
}
.cg-profile-account-actions .cg-logout-link:focus-visible{
  outline:3px solid rgba(217,35,35,.25);
  outline-offset:2px;
}
.cg-auth-form-error{
  display:none;
  margin:0 0 12px;
  padding:10px 12px;
  border:1px solid #f0b7b7;
  border-radius:9px;
  background:#fff0f0;
  color:#8a2020;
  font-size:13px;
  font-weight:700;
  line-height:1.45;
}
.cg-auth-form-error:not(:empty){display:block;}
.cg-community-notice-toast{position:fixed;right:24px;top:86px;z-index:999999;max-width:min(360px,calc(100vw - 32px));padding:12px 16px;border:1px solid #d7e5dc;border-radius:10px;background:#effaf3;color:#256b42;box-shadow:0 10px 30px rgba(23,43,73,.14);font-size:14px;font-weight:700;opacity:0;transform:translateY(-8px);pointer-events:none;transition:opacity .18s ease,transform .18s ease;}
.cg-community-notice-toast.is-visible{opacity:1;transform:translateY(0);}
@media(max-width:760px){.cg-profile-account-actions{align-items:flex-start;flex-direction:column;}.cg-community-notice-toast{right:16px;top:70px;}}

/* v0.7.75 FINAL: See more must remain visible inside the last visible line,
   not as a separate row underneath the comment. */
.cg-community-comment-text.cg-community-collapsible-text{
  position:relative!important;
  display:block!important;
  max-height:7.5em!important;
  overflow:hidden!important;
  -webkit-line-clamp:unset!important;
  padding-right:0!important;
  box-sizing:border-box!important;
}
.cg-community-comment-text.cg-community-collapsible-text.is-expanded{
  max-height:none!important;
  overflow:visible!important;
  display:block!important;
}
.cg-community-comment-text.cg-community-collapsible-text > .cg-community-see-more,
.cg-community-see-more{
  position:absolute!important;
  right:0!important;
  bottom:0!important;
  top:auto!important;
  left:auto!important;
  display:inline-block!important;
  clear:none!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0 0 0 8px!important;
  border:0!important;
  border-radius:0!important;
  background:#f7f9fc!important;
  color:#1769d2!important;
  font-family:inherit!important;
  font-size:12px!important;
  line-height:1.45!important;
  font-weight:700!important;
  text-align:left!important;
  white-space:nowrap!important;
  box-shadow:none!important;
  cursor:pointer!important;
  z-index:5!important;
}
.cg-community-comment-text.cg-community-collapsible-text > .cg-community-see-more:hover,
.cg-community-see-more:hover{
  text-decoration:underline!important;
}
