.dwcb-board,.dwcb-submit{max-width:920px;margin:1rem auto;font-family:inherit}.dwcb-card{border:1px solid #ddd;border-radius:12px;padding:1rem;margin:1rem 0;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.04)}.dwcb-card h3{margin:.25rem 0}.dwcb-meta,.dwcb-edited{font-size:.9rem;color:#666}.dwcb-pinned{display:inline-block;background:#111;color:#fff;border-radius:999px;padding:.2rem .6rem;font-size:.8rem;margin-bottom:.5rem}.dwcb-content{margin:1rem 0}.dwcb-media{display:flex;flex-wrap:wrap;gap:.75rem;margin:.75rem 0}.dwcb-media img{border-radius:8px;max-width:220px;height:auto}.dwcb-file{display:inline-block;border:1px solid #ddd;border-radius:8px;padding:.5rem}.dwcb-terms{display:flex;gap:.4rem;flex-wrap:wrap;margin:.5rem 0}.dwcb-term,.dwcb-tag{border-radius:999px;background:#f1f1f1;padding:.2rem .55rem;font-size:.85rem}.dwcb-votes{display:flex;align-items:center;gap:.5rem;margin:.75rem 0}.dwcb-vote{border:1px solid #ddd;background:#fafafa;border-radius:8px;padding:.35rem .65rem;cursor:pointer}.dwcb-vote-msg{font-size:.9rem;color:#666}.dwcb-actions a{margin-right:.6rem}.dwcb-replies{border-top:1px solid #eee;margin-top:1rem;padding-top:1rem}.dwcb-reply{background:#fafafa;border-radius:8px;padding:.75rem;margin:.5rem 0}.dwcb-reply-form textarea,.dwcb-submit textarea{width:100%;min-height:120px}.dwcb-submit label{display:block;margin:1rem 0;font-weight:600}.dwcb-submit input[type=text],.dwcb-submit select,.dwcb-submit textarea{width:100%;box-sizing:border-box;border:1px solid #ccc;border-radius:8px;padding:.65rem}.dwcb-submit button,.dwcb-reply-form button{border:0;border-radius:8px;padding:.7rem 1rem;cursor:pointer}.dwcb-sort{text-align:right}.dwcb-pagination a{display:inline-block;margin:.25rem;padding:.4rem .6rem;border:1px solid #ddd;border-radius:6px}.dwcb-pagination a.active{font-weight:700;background:#f5f5f5}.dwcb-notice,.dwcb-error{border-radius:8px;padding:1rem;margin:1rem 0}.dwcb-notice{background:#f8f8f8}.dwcb-error{background:#ffecec}
.dwcb-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}

.dwcb-legal-notice {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #f6f7f7;
    font-size: 0.95rem;
}
.dwcb-legal-notice p { margin: 0 0 .5rem; }
.dwcb-legal-notice p:last-child { margin-bottom: 0; }
.dwcb-legal-consent {
    display: flex !important;
    gap: .5rem;
    align-items: flex-start;
    margin: 1rem 0;
    font-weight: 600;
}
.dwcb-legal-consent input { margin-top: .25rem; }


/* DW Community Board polished UI */
.dwcb-board,.dwcb-submit,.dwcb-dashboard{max-width:980px;margin:1.5rem auto;font-family:inherit;color:#1f2937}.dwcb-card,.dwcb-submit,.dwcb-dashboard-section{border:1px solid #e5e7eb;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfbfc);box-shadow:0 10px 30px rgba(17,24,39,.07)}.dwcb-card{padding:1.25rem}.dwcb-card h3{font-size:1.35rem;line-height:1.25}.dwcb-meta,.dwcb-edited{color:#6b7280}.dwcb-pinned{background:#0f172a;color:#fff;letter-spacing:.02em}.dwcb-term{background:#e0f2fe;color:#075985}.dwcb-tag{background:#f3e8ff;color:#6b21a8}.dwcb-vote,.dwcb-submit button,.dwcb-reply-form button{transition:transform .12s ease,box-shadow .12s ease,background .12s ease}.dwcb-vote:hover,.dwcb-submit button:hover,.dwcb-reply-form button:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(17,24,39,.10)}.dwcb-submit{padding:1.25rem}.dwcb-submit input[type=text],.dwcb-submit input[type=url],.dwcb-submit select,.dwcb-submit textarea{border-color:#d1d5db;background:#fff}.dwcb-submit input:focus,.dwcb-submit select:focus,.dwcb-submit textarea:focus{outline:2px solid #bfdbfe;border-color:#3b82f6}.dwcb-submit button,.dwcb-reply-form button{background:#0f172a;color:#fff}.dwcb-dashboard-hero{border-radius:20px;padding:1.25rem;margin-bottom:1rem;background:#0f172a;color:#fff}.dwcb-dashboard-hero h2{margin:0 0 .25rem;font-size:1.6rem}.dwcb-dashboard-hero p{margin:0;color:#d1d5db}.dwcb-dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.dwcb-dashboard-stats div{border:1px solid #e5e7eb;border-radius:16px;padding:1rem;background:#fff;box-shadow:0 8px 20px rgba(17,24,39,.05)}.dwcb-dashboard-stats strong{display:block;font-size:1.7rem;line-height:1}.dwcb-dashboard-stats span{display:block;margin-top:.35rem;color:#6b7280}.dwcb-dashboard-section{padding:1rem;margin:1rem 0}.dwcb-dashboard-section h3{margin-top:0}.dwcb-dashboard-list{display:grid;gap:.75rem}.dwcb-dashboard-item{display:flex;justify-content:space-between;gap:1rem;border:1px solid #e5e7eb;border-radius:14px;padding:1rem;background:#fff}.dwcb-dashboard-item h4{margin:.1rem 0 .35rem}.dwcb-dashboard-item p{margin:.25rem 0;color:#4b5563}.dwcb-dashboard-actions{white-space:nowrap}.dwcb-dashboard-actions a{display:inline-block;margin-left:.4rem}@media(max-width:700px){.dwcb-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dwcb-dashboard-item{display:block}.dwcb-dashboard-actions{margin-top:.75rem}.dwcb-sort{text-align:left}}

.dwcb-media-link{display:inline-block;line-height:0;border-radius:10px;overflow:hidden;border:1px solid #e5e7eb;transition:transform .12s ease,box-shadow .12s ease}.dwcb-media-link:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(17,24,39,.12)}.dwcb-notice{border:1px solid #bbf7d0;background:#f0fdf4;color:#14532d}.dwcb-error{border:1px solid #fecaca;color:#7f1d1d}

/* DWCB 1.0.10 clean media lightbox */
.dwcb-media{align-items:flex-start}.dwcb-video-card{width:220px;max-width:100%;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:0;overflow:hidden;text-align:left;cursor:pointer;box-shadow:0 4px 14px rgba(17,24,39,.06);transition:transform .12s ease,box-shadow .12s ease}.dwcb-video-card:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(17,24,39,.14)}.dwcb-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#111827;overflow:hidden}.dwcb-video-poster{width:100%;height:100%;object-fit:cover;display:block}.dwcb-video-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;background:linear-gradient(135deg,#111827,#374151)}.dwcb-video-icon{display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-size:1.5rem}.dwcb-play-badge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:999px;background:rgba(15,23,42,.82);color:#fff;font-size:1.25rem;box-shadow:0 10px 24px rgba(0,0,0,.25)}.dwcb-video-title{display:block;padding:.6rem .7rem;font-size:.9rem;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dwcb-lightbox{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:1rem;background:rgba(0,0,0,.78)}.dwcb-lightbox.is-open{display:flex}.dwcb-lightbox-inner{width:min(920px,96vw);background:#0b1220;border-radius:16px;box-shadow:0 25px 80px rgba(0,0,0,.45);overflow:hidden}.dwcb-lightbox-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.75rem 1rem;color:#fff}.dwcb-lightbox-title{font-size:1rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dwcb-lightbox-close{border:0;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;width:36px;height:36px;font-size:1.25rem;line-height:1;cursor:pointer}.dwcb-lightbox video{display:block;width:100%;max-height:78vh;background:#000}.dwcb-lightbox-fallback{padding:.75rem 1rem;background:#111827}.dwcb-lightbox-fallback a{color:#fff;text-decoration:underline}@media(max-width:520px){.dwcb-video-card{width:100%}.dwcb-media{display:block}.dwcb-media>*{margin-bottom:.75rem}}
.dwcb-video-card{text-decoration:none;color:inherit;display:block}.dwcb-video-card:focus{outline:3px solid rgba(37,99,235,.35);outline-offset:3px}.dwcb-lightbox-video{display:block;width:100%;height:auto;max-height:78vh;background:#000}.dwcb-lightbox-fallback{display:block}.dwcb-lightbox-fallback.is-visible{display:block}.dwcb-lightbox-body{background:#000}


/* DWCB 1.0.12 board filters, reports, and mobile polish */
.dwcb-toolbar{display:grid;grid-template-columns:2fr 1.2fr 1fr 1fr auto;gap:.75rem;align-items:end;margin:0 0 1rem;padding:1rem;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 8px 22px rgba(17,24,39,.05)}
.dwcb-toolbar label{display:block;font-size:.86rem;font-weight:700;color:#374151}.dwcb-toolbar input,.dwcb-toolbar select{width:100%;box-sizing:border-box;margin-top:.25rem;border:1px solid #d1d5db;border-radius:10px;padding:.6rem;background:#fff}.dwcb-toolbar-actions{display:flex;gap:.5rem;align-items:center}.dwcb-toolbar-actions button,.dwcb-toolbar-actions a{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:10px;padding:.62rem .85rem;background:#0f172a;color:#fff;text-decoration:none;line-height:1;min-height:38px}.dwcb-toolbar-actions a{background:#f3f4f6;color:#111827}.dwcb-card{position:relative}.dwcb-card h3{padding-right:1rem}.dwcb-report-wrap{margin:.75rem 0 0;padding-top:.75rem;border-top:1px solid #f1f5f9}.dwcb-report-toggle{border:0;background:transparent;color:#6b7280;text-decoration:underline;cursor:pointer;padding:0}.dwcb-report-form{margin-top:.75rem;padding:.85rem;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.dwcb-report-form label{display:block;margin:.6rem 0;font-weight:700;color:#374151}.dwcb-report-form select,.dwcb-report-form textarea{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:.6rem;background:#fff}.dwcb-report-form textarea{min-height:90px}.dwcb-report-form button{border:0;border-radius:10px;background:#991b1b;color:#fff;padding:.65rem .9rem;cursor:pointer}.dwcb-actions a{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .6rem;background:#f3f4f6;color:#111827;text-decoration:none;font-size:.9rem}.dwcb-votes{flex-wrap:wrap}.dwcb-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,220px));gap:.75rem}.dwcb-media .dwcb-file{background:#fff;line-height:1.3}.dwcb-media img{width:100%;max-width:220px;height:auto;display:block}.dwcb-image-link{width:100%;max-width:220px;background:#f8fafc}.dwcb-empty{padding:1rem;border:1px dashed #d1d5db;border-radius:14px;background:#fff;color:#6b7280}
@media(max-width:820px){.dwcb-toolbar{grid-template-columns:1fr 1fr}.dwcb-toolbar-search,.dwcb-toolbar-actions{grid-column:1/-1}.dwcb-toolbar-actions{justify-content:flex-start}.dwcb-card{padding:1rem}.dwcb-card h3{font-size:1.2rem}.dwcb-media{grid-template-columns:repeat(2,minmax(0,1fr))}.dwcb-video-card,.dwcb-image-link{width:100%;max-width:none}.dwcb-media img{max-width:none}}
@media(max-width:520px){.dwcb-toolbar{grid-template-columns:1fr}.dwcb-toolbar-search,.dwcb-toolbar-actions{grid-column:auto}.dwcb-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.dwcb-meta,.dwcb-edited{font-size:.82rem}.dwcb-votes button{flex:1}.dwcb-media{grid-template-columns:1fr}.dwcb-card,.dwcb-submit,.dwcb-dashboard-section{border-radius:14px}.dwcb-board,.dwcb-submit,.dwcb-dashboard{margin:.75rem auto}.dwcb-dashboard-stats{grid-template-columns:1fr 1fr}}

/* DWCB 1.0.13 engagement UI */
.dwcb-reactions,.dwcb-bookmark-wrap,.dwcb-poll{margin:.75rem 0;display:flex;gap:.45rem;flex-wrap:wrap;align-items:center}.dwcb-reaction,.dwcb-bookmark,.dwcb-poll-option,.dwcb-secondary{border:1px solid #e5e7eb;border-radius:999px;background:#fff;color:#111827;padding:.45rem .7rem;cursor:pointer;text-decoration:none}.dwcb-reaction:hover,.dwcb-bookmark:hover,.dwcb-poll-option:hover{background:#f8fafc}.dwcb-reaction-msg,.dwcb-bookmark-msg,.dwcb-poll-msg{font-size:.85rem;color:#6b7280}.dwcb-poll{display:block;border:1px solid #e5e7eb;border-radius:14px;background:#f9fafb;padding:.9rem}.dwcb-poll strong{display:block;margin-bottom:.6rem}.dwcb-poll-option{display:flex;width:100%;justify-content:space-between;border-radius:10px;margin:.35rem 0;text-align:left}.dwcb-poll-option small{color:#6b7280}.dwcb-poll-builder{border:1px solid #e5e7eb;border-radius:12px;padding:.85rem;margin:1rem 0;background:#f9fafb}.dwcb-submit-actions{display:flex;gap:.6rem;flex-wrap:wrap}.dwcb-submit .dwcb-secondary{background:#fff;color:#111827}.dwcb-dashboard-tabs{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.dwcb-dashboard-tabs a{border:1px solid #e5e7eb;border-radius:999px;padding:.4rem .75rem;text-decoration:none;background:#fff;color:#111827}

/* DWCB 1.0.18 verified modern card and mobile refresh */
.dwcb-board{--dwcb-primary:#14532d;--dwcb-primary-2:#166534;--dwcb-border:#e7ece7;--dwcb-soft:#f7faf7;--dwcb-text:#17201a;--dwcb-muted:#66736a;max-width:940px}
.dwcb-card{border:1px solid var(--dwcb-border)!important;border-radius:22px!important;padding:1.35rem!important;margin:1rem 0 1.25rem!important;background:#fff!important;box-shadow:0 14px 34px rgba(20,83,45,.08)!important;overflow:hidden}
.dwcb-card h3{margin:0 0 .35rem!important;font-size:clamp(1.25rem,2.2vw,1.55rem)!important;font-weight:800!important;color:var(--dwcb-text)!important;letter-spacing:-.02em!important}
.dwcb-meta,.dwcb-edited{font-size:.86rem!important;color:var(--dwcb-muted)!important;margin:.1rem 0!important}.dwcb-content{font-size:1rem!important;line-height:1.62!important;margin:.9rem 0!important;color:#27312a!important}.dwcb-content p{margin:.55rem 0!important}
.dwcb-terms{margin:.75rem 0!important}.dwcb-term,.dwcb-tag{font-size:.78rem!important;font-weight:700!important;padding:.28rem .62rem!important;border-radius:999px!important}.dwcb-term{background:#ecfdf3!important;color:#166534!important}.dwcb-tag{background:#f2edff!important;color:#6d28d9!important}
.dwcb-media{margin:1rem 0!important;display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,220px))!important;gap:.8rem!important}.dwcb-image-link,.dwcb-video-card{border-radius:16px!important;border:1px solid var(--dwcb-border)!important;background:#f8faf8!important;box-shadow:0 8px 18px rgba(17,24,39,.05)!important;overflow:hidden!important}.dwcb-image-link img{aspect-ratio:4/3!important;object-fit:cover!important;width:100%!important;max-width:none!important}.dwcb-video-card{width:100%!important;max-width:220px!important}.dwcb-video-title{background:#fff!important;font-weight:700!important;color:#344038!important}
.dwcb-reactions{margin:1rem 0 .6rem!important;display:flex!important;gap:.5rem!important;flex-wrap:wrap!important}.dwcb-reaction{border:1px solid #d9e5dc!important;background:#f8fbf8!important;color:#14452a!important;border-radius:999px!important;padding:.5rem .72rem!important;font-size:.86rem!important;font-weight:800!important;box-shadow:none!important;line-height:1!important}.dwcb-reaction:hover,.dwcb-reaction:focus{background:#14532d!important;color:#fff!important;border-color:#14532d!important}.dwcb-reaction:first-child{background:#14532d!important;color:#fff!important;border-color:#14532d!important}.dwcb-reaction span{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:1.35rem!important;margin-left:.25rem!important;padding:.1rem .35rem!important;border-radius:999px!important;background:rgba(255,255,255,.45)!important;color:inherit!important}
.dwcb-bookmark-wrap,.dwcb-actions,.dwcb-report-wrap{margin-top:.75rem!important}.dwcb-bookmark,.dwcb-actions a,.dwcb-report-toggle{border-radius:999px!important;padding:.42rem .72rem!important;font-size:.85rem!important;font-weight:700!important;text-decoration:none!important}.dwcb-bookmark{background:#fff!important;border:1px solid #d9e5dc!important;color:#14532d!important}.dwcb-actions a{background:#f3f6f3!important;color:#334238!important}.dwcb-report-wrap{border-top:1px solid #eef2ee!important;padding-top:.8rem!important}.dwcb-report-toggle{color:#6b7280!important;background:transparent!important;border:0!important}
.dwcb-toolbar{border-radius:20px!important;border:1px solid var(--dwcb-border)!important;box-shadow:0 12px 28px rgba(20,83,45,.06)!important}.dwcb-toolbar-actions button{background:#14532d!important}.dwcb-toolbar-actions a{background:#eef3ee!important;color:#26362b!important}
@media(max-width:700px){.dwcb-board{margin:.75rem auto!important;padding:0 .25rem!important}.dwcb-card{border-radius:18px!important;padding:1rem!important;margin:.85rem 0!important}.dwcb-media{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dwcb-video-card{max-width:none!important}.dwcb-reactions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.dwcb-reaction{width:100%!important;text-align:center!important}.dwcb-toolbar{grid-template-columns:1fr!important;padding:.85rem!important}.dwcb-toolbar-field,.dwcb-toolbar-actions{grid-column:auto!important}.dwcb-toolbar-actions{display:grid!important;grid-template-columns:1fr 1fr!important}.dwcb-bookmark-wrap{display:flex!important;gap:.5rem!important;align-items:center!important;flex-wrap:wrap!important}}
@media(max-width:420px){.dwcb-media{grid-template-columns:1fr!important}.dwcb-card h3{font-size:1.22rem!important}.dwcb-meta{font-size:.8rem!important}.dwcb-reactions{grid-template-columns:1fr!important}}

/* DWCB 1.0.19 compact optional poll builder */
.dwcb-poll-builder-wrap{margin:1rem 0}
.dwcb-poll-builder-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#111827;padding:.55rem .85rem;font-weight:700;cursor:pointer;line-height:1.2}
.dwcb-poll-builder-toggle:hover{background:#f8fafc}
.dwcb-poll-builder[hidden]{display:none!important}
.dwcb-poll-builder.is-open{border:1px solid #d9e5dc;border-radius:14px;padding:1rem;margin:.75rem 0 0;background:#f8fbf8}
.dwcb-field-help{margin:.15rem 0 .75rem;color:#64748b;font-size:.9rem}
@media (max-width:640px){.dwcb-poll-builder-toggle{width:100%;min-height:44px}.dwcb-poll-builder.is-open{padding:.85rem}.dwcb-poll-builder textarea{min-height:110px}}

/* DWCB 1.0.20 dashboard modernization */
.dwcb-dashboard-modern{--dwcb-primary:#14532d;--dwcb-primary-dark:#0f3d22;--dwcb-border:#e4ebe4;--dwcb-soft:#f7faf7;--dwcb-text:#17201a;--dwcb-muted:#66736a;max-width:940px!important}
.dwcb-dashboard-modern .dwcb-dashboard-hero{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:1rem!important;background:linear-gradient(135deg,#0f172a,#14532d)!important;border-radius:22px!important;padding:1.2rem 1.35rem!important;color:#fff!important;box-shadow:0 16px 36px rgba(15,23,42,.14)!important}
.dwcb-dashboard-modern .dwcb-dashboard-hero h2{font-size:clamp(1.35rem,3vw,1.8rem)!important;margin:0 0 .25rem!important;letter-spacing:-.02em!important}.dwcb-dashboard-modern .dwcb-dashboard-hero p{margin:0!important;opacity:.86!important}.dwcb-dashboard-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;padding:.65rem .95rem!important;border-radius:999px!important;background:#fff!important;color:#14532d!important;font-weight:800!important;text-decoration:none!important;white-space:nowrap!important}
.dwcb-dashboard-modern .dwcb-dashboard-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:.8rem!important;margin:1rem 0!important}.dwcb-dashboard-modern .dwcb-dashboard-stats>div{border:1px solid var(--dwcb-border)!important;border-radius:18px!important;background:#fff!important;padding:1rem!important;box-shadow:0 10px 24px rgba(20,83,45,.06)!important}.dwcb-dashboard-modern .dwcb-dashboard-stats span{display:block!important;color:var(--dwcb-muted)!important;font-size:.82rem!important;font-weight:800!important;line-height:1.15!important}.dwcb-dashboard-modern .dwcb-dashboard-stats strong{display:block!important;color:var(--dwcb-text)!important;font-size:1.75rem!important;line-height:1!important;margin-top:.35rem!important}
.dwcb-dashboard-modern .dwcb-dashboard-section{padding:1.1rem!important;margin:1rem 0!important;border-radius:20px!important;border:1px solid var(--dwcb-border)!important;background:#fff!important;box-shadow:0 12px 30px rgba(20,83,45,.065)!important}.dwcb-dashboard-modern .dwcb-dashboard-section h3{margin:0 0 .8rem!important;font-size:1.1rem!important;color:var(--dwcb-text)!important}.dwcb-dashboard-modern .dwcb-dashboard-list{display:grid!important;gap:.75rem!important}.dwcb-dashboard-modern .dwcb-dashboard-item{display:grid!important;grid-template-columns:1fr auto!important;align-items:start!important;gap:1rem!important;border:1px solid #edf1ed!important;border-radius:16px!important;background:linear-gradient(180deg,#fff,#fbfdfb)!important;padding:.95rem!important}.dwcb-dashboard-modern .dwcb-dashboard-item h4{margin:0 0 .25rem!important;font-size:1rem!important;color:var(--dwcb-text)!important}.dwcb-dashboard-modern .dwcb-dashboard-item p{margin:.25rem 0!important;color:var(--dwcb-muted)!important;font-size:.9rem!important}.dwcb-dashboard-actions{display:flex!important;gap:.45rem!important;flex-wrap:wrap!important;justify-content:flex-end!important}.dwcb-dashboard-actions a{display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important;padding:.4rem .7rem!important;background:#edf5ed!important;color:#14532d!important;font-weight:800!important;text-decoration:none!important;font-size:.84rem!important}.dwcb-dashboard-actions a:hover{background:#14532d!important;color:#fff!important}.dwcb-dashboard-engagement{display:flex!important;gap:.35rem!important;flex-wrap:wrap!important;align-items:center!important;margin-top:.55rem!important}.dwcb-reaction-chip,.dwcb-reply-chip{display:inline-flex!important;align-items:center!important;gap:.25rem!important;border-radius:999px!important;background:#f1f7f1!important;color:#14532d!important;border:1px solid #dce9dc!important;padding:.24rem .55rem!important;font-size:.78rem!important;font-weight:800!important}.dwcb-reaction-chip-like{background:#14532d!important;color:#fff!important;border-color:#14532d!important}.dwcb-empty{display:flex!important;align-items:center!important;min-height:54px!important;border:1px dashed #d8e2d8!important;border-radius:16px!important;background:#fbfdfb!important;color:#66736a!important;padding:1rem!important}
@media(max-width:860px){.dwcb-dashboard-modern .dwcb-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dwcb-dashboard-modern .dwcb-dashboard-hero{align-items:flex-start!important;flex-direction:column!important}.dwcb-dashboard-primary{width:100%!important}}
@media(max-width:620px){.dwcb-dashboard-modern{padding:0 .35rem!important}.dwcb-dashboard-modern .dwcb-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dwcb-dashboard-modern .dwcb-dashboard-item{grid-template-columns:1fr!important}.dwcb-dashboard-actions{justify-content:flex-start!important}.dwcb-dashboard-actions a{min-height:40px!important}.dwcb-dashboard-modern .dwcb-dashboard-section{padding:.9rem!important;border-radius:16px!important}.dwcb-dashboard-modern .dwcb-dashboard-hero{border-radius:18px!important;padding:1rem!important}}

/* Discussion/reply preview improvements */
.dwcb-card-board .dwcb-replies-preview {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.dwcb-replies-preview h4,
.dwcb-replies-full h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.dwcb-replies-preview .dwcb-reply {
  padding: 0.75rem 0.85rem;
  margin: 0.55rem 0;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.dwcb-replies-preview .dwcb-reply .dwcb-content p {
  margin-top: 0;
  margin-bottom: 0.4rem;
}
.dwcb-full-discussion-link,
.dwcb-more-replies {
  margin: 0.85rem 0 0;
}
.dwcb-full-discussion-link a,
.dwcb-more-replies a,
.dwcb-discussion-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  background: #eef7ee;
  color: #17643a;
}
.dwcb-single-discussion .dwcb-card-single {
  border-width: 1px;
}
.dwcb-replies-full {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.dwcb-replies-full .dwcb-reply {
  padding: 1rem;
  margin: 0 0 0.75rem;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
}
.dwcb-login-note {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
}
.dwcb-guest-reply-fields {
  margin-bottom: 0.75rem;
}
@media (max-width: 640px) {
  .dwcb-replies-full,
  .dwcb-replies-preview .dwcb-reply,
  .dwcb-replies-full .dwcb-reply {
    padding: 0.8rem;
    border-radius: 12px;
  }
  .dwcb-full-discussion-link a,
  .dwcb-more-replies a,
  .dwcb-discussion-back a {
    width: 100%;
    justify-content: center;
  }
}

/* DWCB 1.0.24 compact feed card interaction cleanup */
.dwcb-card-board {
  padding: 1.15rem 1.25rem !important;
}
.dwcb-card-board h3 {
  margin-bottom: .25rem !important;
}
.dwcb-card-board .dwcb-media {
  margin-top: .75rem !important;
  margin-bottom: .75rem !important;
}
.dwcb-card-actions-row {
  display: flex !important;
  align-items: center !important;
  gap: .45rem !important;
  flex-wrap: wrap !important;
  margin-top: .8rem !important;
  padding-top: .72rem !important;
  border-top: 1px solid rgba(20,83,45,.08) !important;
}
.dwcb-card-actions-row .dwcb-reactions {
  display: flex !important;
  align-items: center !important;
  gap: .4rem !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
}
.dwcb-card-actions-row .dwcb-reaction,
.dwcb-card-actions-row .dwcb-action-chip,
.dwcb-card-actions-row .dwcb-more-actions > summary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #dce8dc !important;
  background: #f7fbf7 !important;
  color: #14532d !important;
  padding: .35rem .65rem !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.dwcb-card-actions-row .dwcb-reaction[data-reaction="like"] {
  background: #14532d !important;
  border-color: #14532d !important;
  color: #fff !important;
}
.dwcb-card-actions-row .dwcb-reaction span {
  min-width: 1.2rem !important;
  margin-left: .3rem !important;
  padding: .08rem .32rem !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.5) !important;
}
.dwcb-card-actions-row .dwcb-action-discussion,
.dwcb-card-actions-row .dwcb-bookmark {
  background: #fff !important;
}
.dwcb-card-actions-row .dwcb-more-actions {
  position: relative !important;
  margin: 0 !important;
}
.dwcb-card-actions-row .dwcb-more-actions > summary {
  list-style: none !important;
}
.dwcb-card-actions-row .dwcb-more-actions > summary::-webkit-details-marker {
  display: none !important;
}
.dwcb-more-actions-panel {
  position: absolute !important;
  right: 0 !important;
  top: calc(100% + .4rem) !important;
  z-index: 20 !important;
  min-width: 160px !important;
  display: grid !important;
  gap: .25rem !important;
  padding: .45rem !important;
  border: 1px solid #dce8dc !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 40px rgba(15,23,42,.16) !important;
}
.dwcb-more-actions-panel a,
.dwcb-more-actions-panel button {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #17201a !important;
  padding: .55rem .6rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.dwcb-more-actions-panel a:hover,
.dwcb-more-actions-panel button:hover {
  background: #f1f7f1 !important;
  color: #14532d !important;
}
.dwcb-report-wrap-compact {
  margin: .65rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.dwcb-report-wrap-compact .dwcb-report-form {
  margin-top: .5rem !important;
  padding: .85rem !important;
  border: 1px solid #dce8dc !important;
  border-radius: 14px !important;
  background: #fbfdfb !important;
}
.dwcb-bookmark-wrap,
.dwcb-actions,
.dwcb-card-board > .dwcb-report-wrap:not(.dwcb-report-wrap-compact) {
  display: none !important;
}
.dwcb-replies-preview {
  margin-top: .75rem !important;
  padding-top: .7rem !important;
}
.dwcb-replies-preview h4 {
  font-size: .86rem !important;
  color: #405348 !important;
  margin-bottom: .45rem !important;
}
.dwcb-replies-preview .dwcb-reply {
  padding: .58rem .7rem !important;
  margin: .4rem 0 !important;
}
.dwcb-full-discussion-link {
  margin-top: .55rem !important;
}
.dwcb-full-discussion-link a {
  background: transparent !important;
  padding: .35rem 0 !important;
  color: #14532d !important;
}
@media(max-width:700px){
  .dwcb-card-board{padding:1rem!important;border-radius:18px!important}
  .dwcb-card-actions-row{gap:.35rem!important}
  .dwcb-card-actions-row .dwcb-reactions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%!important}
  .dwcb-card-actions-row .dwcb-reaction{width:100%!important;min-height:40px!important}
  .dwcb-card-actions-row .dwcb-action-chip,
  .dwcb-card-actions-row .dwcb-more-actions>summary{min-height:40px!important;padding:.45rem .7rem!important}
  .dwcb-more-actions-panel{right:auto!important;left:0!important}
}
@media(max-width:420px){
  .dwcb-card-actions-row .dwcb-reactions{grid-template-columns:1fr 1fr!important}
  .dwcb-card-actions-row .dwcb-reaction{font-size:.78rem!important}
}


/* DWCB 1.0.25 mobile-first feed and dashboard refinements */
@media (max-width: 780px) {
  .dwcb-board,
  .dwcb-submit,
  .dwcb-dashboard,
  .dwcb-single-discussion {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: .75rem auto !important;
    padding-left: .75rem !important;
    padding-right: .75rem !important;
  }

  .dwcb-toolbar {
    grid-template-columns: 1fr !important;
    gap: .7rem !important;
    padding: .85rem !important;
    border-radius: 16px !important;
  }

  .dwcb-toolbar-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }

  .dwcb-toolbar-actions button,
  .dwcb-toolbar-actions a {
    width: 100% !important;
    min-height: 44px !important;
  }

  .dwcb-card,
  .dwcb-card-board,
  .dwcb-card-single,
  .dwcb-submit,
  .dwcb-dashboard-section {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
  }

  .dwcb-card-board h3 {
    font-size: 1.2rem !important;
    line-height: 1.25 !important;
    padding-right: 0 !important;
  }

  .dwcb-meta,
  .dwcb-edited {
    font-size: .82rem !important;
    line-height: 1.35 !important;
  }

  .dwcb-content {
    margin: .75rem 0 !important;
  }

  .dwcb-content p {
    line-height: 1.55 !important;
  }

  .dwcb-terms {
    gap: .35rem !important;
  }

  .dwcb-term,
  .dwcb-tag {
    font-size: .76rem !important;
    padding: .2rem .5rem !important;
  }

  .dwcb-media {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .75rem !important;
    width: 100% !important;
  }

  .dwcb-media img,
  .dwcb-media-link,
  .dwcb-video-card,
  .dwcb-file {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .dwcb-media img {
    height: auto !important;
    object-fit: cover !important;
  }

  .dwcb-card-actions-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .55rem !important;
    padding-top: .75rem !important;
  }

  .dwcb-card-actions-row .dwcb-reactions {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: .4rem !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: .2rem !important;
    scrollbar-width: thin !important;
  }

  .dwcb-card-actions-row .dwcb-reaction {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 42px !important;
    padding: .48rem .7rem !important;
  }

  .dwcb-card-actions-row .dwcb-action-chip,
  .dwcb-card-actions-row .dwcb-more-actions > summary {
    min-height: 42px !important;
    padding: .5rem .75rem !important;
  }

  .dwcb-card-actions-row > .dwcb-action-chip,
  .dwcb-card-actions-row > .dwcb-more-actions {
    display: inline-flex !important;
    width: auto !important;
  }

  .dwcb-card-actions-row .dwcb-more-actions {
    justify-self: start !important;
  }

  .dwcb-more-actions-panel {
    left: 0 !important;
    right: auto !important;
    min-width: min(230px, calc(100vw - 2rem)) !important;
  }

  .dwcb-replies-preview {
    margin-top: .65rem !important;
    padding-top: .65rem !important;
  }

  .dwcb-replies-preview h4 {
    display: none !important;
  }

  .dwcb-replies-preview .dwcb-reply {
    padding: .65rem !important;
    font-size: .9rem !important;
  }

  .dwcb-full-discussion-link a,
  .dwcb-more-replies a,
  .dwcb-discussion-back a {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .dwcb-dashboard-modern .dwcb-dashboard-hero {
    padding: 1rem !important;
  }

  .dwcb-dashboard-modern .dwcb-dashboard-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .65rem !important;
  }

  .dwcb-dashboard-modern .dwcb-dashboard-stats > div {
    padding: .85rem !important;
    border-radius: 16px !important;
  }

  .dwcb-dashboard-modern .dwcb-dashboard-stats strong {
    font-size: 1.45rem !important;
  }
}

@media (max-width: 480px) {
  .dwcb-board,
  .dwcb-submit,
  .dwcb-dashboard,
  .dwcb-single-discussion {
    padding-left: .55rem !important;
    padding-right: .55rem !important;
  }

  .dwcb-card-board,
  .dwcb-card-single {
    padding: .9rem !important;
  }

  .dwcb-card-actions-row .dwcb-reaction,
  .dwcb-card-actions-row .dwcb-action-chip,
  .dwcb-card-actions-row .dwcb-more-actions > summary {
    font-size: .78rem !important;
  }

  .dwcb-dashboard-modern .dwcb-dashboard-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  .dwcb-dashboard-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
  }

  .dwcb-dashboard-actions a {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* DWCB 1.0.26 mobile feed repair */
@media (max-width: 700px) {
  .dwcb-board,
  .dwcb-submit,
  .dwcb-dashboard,
  .dwcb-single-discussion {
    max-width: 100% !important;
    margin: .75rem auto !important;
    padding-left: .65rem !important;
    padding-right: .65rem !important;
    box-sizing: border-box !important;
  }

  .dwcb-card,
  .dwcb-card-board,
  .dwcb-card-single {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1rem !important;
    margin: .85rem 0 !important;
    border-radius: 22px !important;
    overflow: visible !important;
  }

  .dwcb-card h3 {
    font-size: 1.35rem !important;
    line-height: 1.2 !important;
    margin: 0 0 .2rem !important;
    padding: 0 !important;
  }

  .dwcb-meta,
  .dwcb-edited {
    font-size: .9rem !important;
    line-height: 1.35 !important;
  }

  .dwcb-content {
    margin: .8rem 0 !important;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .dwcb-media {
    display: block !important;
    width: 100% !important;
    margin: .85rem 0 !important;
  }

  .dwcb-media-link,
  .dwcb-image-link,
  .dwcb-video-card,
  .dwcb-file {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .dwcb-media img,
  .dwcb-image-link img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
  }

  .dwcb-card-actions-row {
    display: block !important;
    margin-top: .85rem !important;
    padding-top: .8rem !important;
    border-top: 1px solid rgba(20,83,45,.10) !important;
  }

  .dwcb-card-actions-row .dwcb-reactions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: .45rem !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 0 .55rem !important;
  }

  .dwcb-card-actions-row .dwcb-reaction {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: .48rem .55rem !important;
    font-size: .88rem !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .dwcb-card-actions-row .dwcb-reaction span {
    margin-left: .35rem !important;
    min-width: 1.35rem !important;
    text-align: center !important;
  }

  .dwcb-card-actions-row .dwcb-reaction[data-reaction="like"] {
    grid-column: 1 / -1 !important;
  }

  .dwcb-card-actions-row > .dwcb-action-chip,
  .dwcb-card-actions-row > .dwcb-more-actions,
  .dwcb-card-actions-row .dwcb-bookmark,
  .dwcb-card-actions-row .dwcb-action-discussion {
    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    margin: .15rem .35rem .15rem 0 !important;
    vertical-align: top !important;
  }

  .dwcb-card-actions-row .dwcb-action-chip,
  .dwcb-card-actions-row .dwcb-more-actions > summary {
    min-height: 38px !important;
    padding: .45rem .7rem !important;
    font-size: .86rem !important;
  }

  .dwcb-more-actions {
    position: relative !important;
  }

  .dwcb-more-actions[open] > summary {
    background: #14532d !important;
    color: #fff !important;
  }

  .dwcb-more-actions-panel {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: calc(100% + .35rem) !important;
    min-width: 190px !important;
    max-width: calc(100vw - 2rem) !important;
    z-index: 50 !important;
    border-radius: 14px !important;
  }

  .dwcb-more-actions-panel a,
  .dwcb-more-actions-panel button {
    font-size: .92rem !important;
    padding: .55rem .65rem !important;
  }

  .dwcb-report-wrap-compact {
    margin-top: .7rem !important;
    padding-top: .7rem !important;
  }

  .dwcb-report-form {
    padding: .85rem !important;
    border-radius: 14px !important;
  }

  .dwcb-report-form label {
    font-size: .92rem !important;
  }

  .dwcb-report-form select,
  .dwcb-report-form textarea,
  .dwcb-report-form button {
    font-size: 1rem !important;
  }

  .dwcb-replies-preview {
    margin-top: .65rem !important;
    padding-top: .65rem !important;
  }

  .dwcb-replies-preview .dwcb-empty {
    display: none !important;
  }

  .dwcb-full-discussion-link {
    margin: .75rem 0 0 !important;
  }

  .dwcb-full-discussion-link a {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #f1f7f1 !important;
    border: 1px solid #dce8dc !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
  }

  .dwcb-toolbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: .65rem !important;
    padding: .85rem !important;
    border-radius: 18px !important;
  }

  .dwcb-toolbar-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: .55rem !important;
  }

  .dwcb-toolbar-actions button,
  .dwcb-toolbar-actions a {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 390px) {
  .dwcb-card-actions-row .dwcb-reactions {
    grid-template-columns: 1fr !important;
  }

  .dwcb-card-actions-row .dwcb-reaction[data-reaction="like"] {
    grid-column: auto !important;
  }
}

/* DWCB 1.0.27 compact share + action polish */
.dwcb-share-button {
  cursor: pointer;
}
.dwcb-card-actions-row .dwcb-share-button {
  background: #f7fbf7;
  color: #14532d;
  border: 1px solid #dce8dc;
  box-shadow: none;
}
.dwcb-card-actions-row .dwcb-share-button:hover,
.dwcb-card-actions-row .dwcb-share-button:focus {
  background: #eaf5ec;
  border-color: #bcd8c3;
}
.dwcb-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 16px);
  background: #0f1a2e;
  color: #fff;
  border-radius: 999px;
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  opacity: 0;
  pointer-events: none;
  z-index: 99999;
  box-shadow: 0 14px 40px rgba(15, 26, 46, .22);
  transition: opacity .18s ease, transform .18s ease;
}
.dwcb-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.dwcb-card-actions-row {
  align-items: center;
}
.dwcb-card-actions-row .dwcb-action-chip,
.dwcb-card-actions-row .dwcb-more-actions > summary,
.dwcb-card-actions-row .dwcb-reaction {
  white-space: nowrap;
}
.dwcb-report-wrap-compact .dwcb-report-form[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .dwcb-card-actions-row {
    gap: .45rem !important;
  }
  .dwcb-card-actions-row .dwcb-action-chip,
  .dwcb-card-actions-row .dwcb-more-actions > summary {
    min-height: 36px !important;
    padding: .42rem .68rem !important;
    font-size: .86rem !important;
    border-radius: 999px !important;
  }
  .dwcb-card-actions-row .dwcb-share-button,
  .dwcb-card-actions-row .dwcb-bookmark,
  .dwcb-card-actions-row .dwcb-action-discussion {
    flex: 0 0 auto !important;
  }
  .dwcb-toast {
    bottom: 16px;
    max-width: calc(100vw - 32px);
    text-align: center;
  }
}

/* Category shortcode refinements */
.dwcb-category-board .dwcb-category-header {
    margin: 0 0 1rem;
}

.dwcb-category-board .dwcb-category-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
}

.dwcb-category-toolbar {
    margin-bottom: 1rem;
}

@media (max-width: 640px) {
    .dwcb-category-board .dwcb-category-header {
        margin-bottom: .75rem;
    }

    .dwcb-category-board .dwcb-category-header h2 {
        font-size: 1.35rem;
    }
}


/* DWCB 1.0.29 category page and mobile hardening */
.dwcb-category-header h2{margin:.25rem 0 1rem}.dwcb-category-toolbar{grid-template-columns:minmax(0,1fr) auto}.dwcb-category-toolbar .dwcb-toolbar-search{min-width:0}.dwcb-submit input[type=email],.dwcb-submit input[type=file]{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:10px;padding:.6rem;background:#fff}@media(max-width:700px){.dwcb-category-toolbar{grid-template-columns:1fr}.dwcb-toolbar-actions{flex-wrap:wrap}.dwcb-toolbar-actions button,.dwcb-toolbar-actions a{width:100%}}

/* DWCB 1.0.30 desktop action bar cleanup */
.dwcb-card,
.dwcb-card-board,
.dwcb-card-single {
  overflow: visible !important;
}
.dwcb-card-actions-row {
  position: relative !important;
  gap: .5rem !important;
}
.dwcb-reactions-compact {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: .4rem !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}
.dwcb-reaction-more {
  position: relative !important;
  margin: 0 !important;
}
.dwcb-reaction-more > summary {
  list-style: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  border-radius: 999px !important;
  border: 1px solid #dce8dc !important;
  background: #fff !important;
  color: #14532d !important;
  padding: .35rem .65rem !important;
  font-size: .8rem !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.dwcb-reaction-more > summary::-webkit-details-marker {
  display: none !important;
}
.dwcb-reaction-more[open] > summary,
.dwcb-more-actions[open] > summary {
  background: #14532d !important;
  border-color: #14532d !important;
  color: #fff !important;
}
.dwcb-reaction-panel,
.dwcb-more-actions-panel {
  position: absolute !important;
  top: calc(100% + .45rem) !important;
  z-index: 999 !important;
  min-width: 190px !important;
  max-width: min(280px, calc(100vw - 2rem)) !important;
  display: grid !important;
  gap: .28rem !important;
  padding: .5rem !important;
  border: 1px solid #dce8dc !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 18px 45px rgba(15,23,42,.18) !important;
}
.dwcb-reaction-panel {
  left: 0 !important;
}
.dwcb-more-actions-panel {
  right: 0 !important;
}
.dwcb-reaction-panel .dwcb-reaction,
.dwcb-more-actions-panel a,
.dwcb-more-actions-panel button {
  display: flex !important;
  width: 100% !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: #17201a !important;
  padding: .55rem .65rem !important;
  font-weight: 700 !important;
  font-size: .9rem !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}
.dwcb-reaction-panel .dwcb-reaction:hover,
.dwcb-reaction-panel .dwcb-reaction:focus,
.dwcb-more-actions-panel a:hover,
.dwcb-more-actions-panel a:focus,
.dwcb-more-actions-panel button:hover,
.dwcb-more-actions-panel button:focus {
  background: #f1f7f1 !important;
  color: #14532d !important;
  transform: none !important;
}
@media (min-width: 701px) {
  .dwcb-card-actions-row {
    flex-wrap: nowrap !important;
  }
  .dwcb-card-actions-row .dwcb-action-discussion::after {
    content: " Open discussion";
  }
}
@media (max-width: 700px) {
  .dwcb-reactions-compact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    gap: .45rem !important;
  }
  .dwcb-reaction-primary {
    grid-column: 1 / -1 !important;
  }
  .dwcb-reaction-more {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .dwcb-reaction-more > summary {
    width: 100% !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
  }
  .dwcb-reaction-panel,
  .dwcb-more-actions-panel {
    left: 0 !important;
    right: auto !important;
    min-width: min(240px, calc(100vw - 2rem)) !important;
  }
}

/* DWCB 1.0.31 mobile collapsible filters */
.dwcb-filter-toggle{
  display:none;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin:0 0 .75rem;
  padding:.78rem .95rem;
  border:1px solid #d9e5d9;
  border-radius:14px;
  background:#fff;
  color:#14532d;
  font-weight:800;
  line-height:1.1;
  box-shadow:0 8px 20px rgba(20,83,45,.06);
  cursor:pointer;
}
.dwcb-filter-toggle-icon{transition:transform .18s ease;font-size:1rem;line-height:1}
.dwcb-filter-toggle[aria-expanded="true"] .dwcb-filter-toggle-icon{transform:rotate(180deg)}
@media(max-width:700px){
  .dwcb-filter-toggle{display:flex!important}
  .dwcb-toolbar{display:none!important;margin-top:.75rem!important}
  .dwcb-toolbar.is-open{display:grid!important}
  .dwcb-toolbar-actions button,.dwcb-toolbar-actions a{min-height:44px!important}
}
@media(min-width:701px){
  .dwcb-toolbar{display:grid!important}
}

/* Smart Feed polish */
.dwcb-feed-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: .35rem 0 .5rem;
    padding: .25rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    background: rgba(255, 193, 7, .16);
    border: 1px solid rgba(176, 132, 0, .28);
}
.dwcb-toolbar select[name="dwcb_sort"] {
    min-width: 11rem;
}
@media (max-width: 640px) {
    .dwcb-feed-badge {
        font-size: .74rem;
    }
}

/* DWCB 1.0.37 threaded forum replies */
.dwcb-thread-list {
  display: grid;
  gap: 0.75rem;
}
.dwcb-threaded-reply {
  position: relative;
}
.dwcb-child-replies {
  margin-top: 0.75rem;
  margin-left: 1.1rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(20, 83, 45, 0.16);
  display: grid;
  gap: 0.75rem;
}
.dwcb-reply-controls {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.55rem;
}
.dwcb-thread-reply-toggle {
  border: 1px solid #dce9dc;
  border-radius: 999px;
  background: #eef7ee;
  color: #14532d;
  cursor: pointer;
  font-weight: 800;
  padding: 0.35rem 0.7rem;
}
.dwcb-thread-reply-toggle:hover {
  background: #14532d;
  color: #fff;
}
.dwcb-nested-reply-form {
  margin-top: 0.75rem;
  padding: 0.8rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}
.dwcb-reply-form-nested textarea {
  min-height: 86px;
}
.dwcb-top-reply-form {
  margin-top: 1rem;
}
@media (max-width: 640px) {
  .dwcb-child-replies {
    margin-left: 0.35rem;
    padding-left: 0.65rem;
  }
  .dwcb-reply-controls {
    align-items: stretch;
  }
  .dwcb-thread-reply-toggle {
    width: 100%;
  }
}


/* Threaded reply refinements */
.dwcb-threaded-reply{border-left:2px solid #e5e7eb;margin-left:12px;padding-left:12px}
.dwcb-reply-depth-2{margin-left:20px}
.dwcb-reply a.dwcb-reply-btn,.dwcb-reply button.dwcb-reply-btn,.dwcb-reply .dwcb-reply-action{background:transparent!important;border:none!important;box-shadow:none!important;padding:2px 6px!important;font-size:12px!important;line-height:1.2!important;color:#6b7280!important;border-radius:4px!important}
.dwcb-reply a.dwcb-reply-btn:hover,.dwcb-reply button.dwcb-reply-btn:hover,.dwcb-reply .dwcb-reply-action:hover{background:#f3f4f6!important;color:#111827!important;transform:none!important}


/* DWCB 1.0.39: compact reply action buttons and flattened deep threads */
.dwcb-reply button.dwcb-thread-reply-toggle,
.dwcb-reply .dwcb-thread-reply-toggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 2px 6px !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  color: #6b7280 !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  width: auto !important;
}
.dwcb-reply button.dwcb-thread-reply-toggle:hover,
.dwcb-reply .dwcb-thread-reply-toggle:hover {
  background: #f3f4f6 !important;
  color: #111827 !important;
  transform: none !important;
}
.dwcb-reply-depth-2 .dwcb-child-replies {
  margin-left: 0 !important;
  padding-left: 0.75rem !important;
  border-left: 2px solid rgba(20,83,45,0.12) !important;
}
@media (max-width: 640px) {
  .dwcb-reply button.dwcb-thread-reply-toggle,
  .dwcb-reply .dwcb-thread-reply-toggle {
    width: auto !important;
  }
}

/* v1.0.48 Community Guidelines consent */
.dwcb-guidelines-consent {
    display: block;
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.12);
    line-height: 1.45;
}
.dwcb-guidelines-consent input {
    margin-right: 0.45rem;
}
